@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251126.0 → 0.0.0-nightly-20251127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>G,LineHeightCommand:()=>s,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=a();return(r=function(e,t){return n[e-=419]})(e,t)}const o=r;!function(e){const t=r,n=e();for(;;)try{if(829476===parseInt(t(430))/1*(parseInt(t(425))/2)+-parseInt(t(422))/3*(-parseInt(t(426))/4)+parseInt(t(427))/5+-parseInt(t(447))/6+-parseInt(t(432))/7+parseInt(t(445))/8*(parseInt(t(436))/9)+-parseInt(t(434))/10*(-parseInt(t(439))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[o(431)](){const e=o,n=this[e(429)][e(444)][e(446)],i=(0,t.first)(n[e(421)][e(437)]());this[e(428)]=Boolean(i)&&this[e(441)](i),this[e(442)]=this[e(428)]&&i[e(435)](e(440))}[o(438)](e={}){const t=o,n=this[t(429)][t(444)],i=n[t(446)][t(421)],r=e[t(442)];n[t(433)](e=>{const n=t,o=Array[n(420)](i[n(437)]())[n(419)](e=>this[n(441)](e));for(const t of o)r?e[n(424)](n(440),r,t):e[n(423)](n(440),t)})}[o(441)](e){const t=o;return this[t(429)][t(444)][t(443)][t(448)](e,t(440))}}function a(){const e=["getAttribute","9XbYNvC","getSelectedBlocks","execute","22BjRvmJ","lineHeight","_canHaveLineHeight","value","schema","model","6869544nOqOxF","document","7218402sdmcOY","checkAttribute","filter","from","selection","6243AstKWy","removeAttribute","setAttribute","26FLkpnb","748VLHcJd","2261535AXiUXr","isEnabled","editor","29042myKfBT","refresh","2407748opblOH","change","1494070rUmhgo"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","default","1165266ndAgLX","string","key","value","map","5608CfsAvD","double","single","options","19243917NNOnju","Single","8CgYBwc","number","line-height:","view","model","3028195bRqYrS","5202876hYyeMh","line-height-single","style","push","4431qgkjWa","class","values","toLowerCase","defaultValue","line-height-double","Double","span","117812uwUQzc","3507771MTALvs"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(715676===-parseInt(t(391))/1*(parseInt(t(373))/2)+parseInt(t(392))/3+parseInt(t(379))/4+parseInt(t(378))/5+-parseInt(t(395))/6+parseInt(t(383))/7*(parseInt(t(367))/8)+-parseInt(t(371))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(372),model:e(369),view:{key:e(384),value:e(380)}}},get double(){const e=d;return{title:e(389),model:e(368),view:{key:e(384),value:e(388)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=363]})(e,t)}function h(e){const t=d;return t(363)==typeof e&&t(394)===e[t(386)]()}function p(e){const t=d;return e[t(370)][t(366)](n=>h(n)?{title:String(e[t(387)]),model:t(394)}:(t(374)==typeof n&&(n=String(n)),t(363)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(390),styles:{"line-height":n}}}:function(e){const t=d;return t(363)==typeof e?u[e]:u[e[t(377)]]}(n)))[t(393)](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 O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=344]})(e,t)}function A(){const e=["listType","pluginName","span","elementToElement","isPremiumPlugin","item","isOfficialPlugin","ListEditing","267885ZjXyBv","paragraph","consumable","5031592irEjrA","--ck-content-list-marker-line-height","4625730XrqesX","high","registerDowncastStrategy","has","editor","lineHeight","element:li","806290MNAIYB","match","viewItem","upcast","get","add","for","consume","addClass","TodoListEditing","826230pnhqgf","getAttribute","ck-list-marker-line-height","name","3790680NomjlG","LineHeightTodoListIntegration","init","30330335hcAUsN","setStyle","todo","todo-list__label__description"];return(A=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(960461===parseInt(t(381))/1+-parseInt(t(354))/2+-parseInt(t(369))/3+-parseInt(t(372))/4+-parseInt(t(350))/5+-parseInt(t(374))/6+parseInt(t(357))/7)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[O(362)](){return O(355)}static get[O(367)](){return!0}static get[O(365)](){return!0}[O(356)](){const e=O,{plugins:t,conversion:n}=this[e(378)];t[e(377)](e(368))&&t[e(377)](e(349))&&(t[e(344)](e(368))[e(376)]({scope:e(366),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(359)==o[s(351)](s(361))&&n&&(t[s(348)](s(352),i),t[s(358)](s(373),n,i))}}),n[e(346)](e(384))[e(364)]({view:{name:e(363),classes:e(360)},model:e(370),converterPriority:e(375)}),n[e(346)](e(384))[e(345)](t=>{const n=e;t.on(n(380),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(382)](n[r(383)]);if(!o)return;const s=o[r(382)];s[r(353)]=!1,i[r(371)][r(347)](n[r(383)],s)}}({name:"li",classes:n(352),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function S(e,t){const n=N();return(S=function(e,t){return n[e-=325]})(e,t)}const T=S;function N(){const e=["filter","_preparePredefinedConverters","upcast","2323986DrQYWa","model","requires","1174928DzNoah","extend","$block","map","lineHeight","3693GKAihh","define","201dNEZzg","editor","21810AkADoV","join","fromCharCode","get","string","slice","isOfficialPlugin","config","pluginName","style","attributeToAttribute","afterInit","getStyle","add","for","_prepareAnyValueConverters","conversion","default","length","lineHeight.options","14128BSUCgU","values","includes","5324472alFeMc","line-height","commands","line-height-invalid-use-of-named-presets","lineHeight.supportAllValues","isPremiumPlugin","_validateConfig","setAttributeProperties","2259PsDoLS","28HJhenZ","1488872juBgrg","downcast","schema","init","406aggEhx","href","lineHeight.defaultValue","LineHeightEditing","5KykTKG"];return(N=function(){return e})()}!function(e){const t=S,n=e();for(;;)try{if(551979===-parseInt(t(337))/1*(-parseInt(t(378))/2)+parseInt(t(339))/3*(-parseInt(t(361))/4)+-parseInt(t(325))/5*(-parseInt(t(329))/6)+-parseInt(t(373))/7*(parseInt(t(332))/8)+-parseInt(t(372))/9*(-parseInt(t(341))/10)+parseInt(t(374))/11+-parseInt(t(364))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N);class P extends e.Plugin{static get[T(349)](){return T(381)}static get[T(331)](){return[C]}static get[T(347)](){return!0}static get[T(369)](){return!0}constructor(e){const t=T;super(e),e[t(348)][t(338)](t(336),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(358),2,2.5,3]})}[T(377)](){const e=T,t=this[e(340)];this[e(370)](),t[e(330)][e(376)][e(333)](e(334),{allowAttributes:e(336)}),t[e(330)][e(376)][e(371)](e(336),{isFormatting:!0}),t[e(366)][e(354)](e(336),new s(t)),this[e(340)][e(348)][e(344)](e(368))?this[e(356)]():this[e(327)]()}[T(352)](){!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(335)](e=>String[t(343)](e))[t(342)]("")}!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:1764115200;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(379)]);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(370)](){const e=T,n=this[e(340)];if(!n[e(348)][e(344)](e(368)))return;const i=n[e(348)][e(344)](e(360))[e(326)](t=>e(345)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(359)])throw new t.CKEditorError(e(367),null,{namedPresets:i})}[T(356)](){const e=T,t=this[e(340)],n=this[e(340)][e(348)][e(344)](e(380));t[e(357)][e(355)](e(375))[e(351)]({model:{key:e(336)},view:t=>String(t)===String(n)?null:{key:e(350),value:{"line-height":t}}}),t[e(357)][e(355)](e(328))[e(351)]({model:{key:e(336),value:t=>{const i=e;let r=t[i(353)](i(365));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(346)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[T(327)](){const e=T,t=this[e(340)],n=this[e(340)][e(348)][e(344)](e(380)),i=p(this[e(340)][e(348)][e(344)](e(336)))[e(326)](t=>t[e(330)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(384)===e[n(376)]?.[n(364)]?(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(384),value:e[n(376)][n(365)]}):(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(381),value:n(375)+e[n(377)]+";"});return i}(e(336),i);t[e(357)][e(351)](r),t[e(357)][e(355)](e(328))[e(351)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(336),value:t=>{const i=e;let o=t[i(353)](i(365));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(346)](0,-1))/100)),o===String(n)?null:r[i(330)][i(362)][i(363)](o)?o:null}}})}}var x=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 x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["18426490HXilpj","4fEOyGP","isPremiumPlugin","6416649YSJGCs","LineHeight","5727576OjXLHK","2152706tVBSaV","pluginName","6028145gssDjx","7wMVTFK","2450454CILgYf","3MPEmfG","isOfficialPlugin","requires","626816RNBNoL"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=175]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(681134===-parseInt(t(188))/1+parseInt(t(180))/2*(parseInt(t(185))/3)+-parseInt(t(175))/4*(parseInt(t(182))/5)+-parseInt(t(184))/6+-parseInt(t(183))/7*(-parseInt(t(179))/8)+-parseInt(t(177))/9+parseInt(t(189))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class G extends e.Plugin{static get[j(187)](){return[P,B]}static get[j(181)](){return j(178)}static get[j(186)](){return!0}static get[j(176)](){return!0}}function R(e,t){var n=X();return(R=function(e,t){return n[e-=350]})(e,t)}function X(){var e=["36HvLLrx","140PXIjvg","1535823mMecVM","28rQklTM","1418286XOGpMf","10399660qKEMhx","1077OlipmS","7498848kydAQP","168679flddhZ","1215790drVChY"];return(X=function(){return e})()}!function(e){for(var t=R,n=e();;)try{if(852971===parseInt(t(357))/1+-parseInt(t(354))/2*(-parseInt(t(359))/3)+parseInt(t(356))/4*(parseInt(t(352))/5)+parseInt(t(353))/6*(-parseInt(t(351))/7)+-parseInt(t(350))/8+-parseInt(t(355))/9+-parseInt(t(358))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(X)})(),(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:()=>s,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>j});var e=n(782),t=n(584);function r(e,t){const n=a();return(r=function(e,t){return n[e-=419]})(e,t)}const o=r;!function(e){const t=r,n=e();for(;;)try{if(829476===parseInt(t(430))/1*(parseInt(t(425))/2)+-parseInt(t(422))/3*(-parseInt(t(426))/4)+parseInt(t(427))/5+-parseInt(t(447))/6+-parseInt(t(432))/7+parseInt(t(445))/8*(parseInt(t(436))/9)+-parseInt(t(434))/10*(-parseInt(t(439))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[o(431)](){const e=o,n=this[e(429)][e(444)][e(446)],i=(0,t.first)(n[e(421)][e(437)]());this[e(428)]=Boolean(i)&&this[e(441)](i),this[e(442)]=this[e(428)]&&i[e(435)](e(440))}[o(438)](e={}){const t=o,n=this[t(429)][t(444)],i=n[t(446)][t(421)],r=e[t(442)];n[t(433)](e=>{const n=t,o=Array[n(420)](i[n(437)]())[n(419)](e=>this[n(441)](e));for(const t of o)r?e[n(424)](n(440),r,t):e[n(423)](n(440),t)})}[o(441)](e){const t=o;return this[t(429)][t(444)][t(443)][t(448)](e,t(440))}}function a(){const e=["getAttribute","9XbYNvC","getSelectedBlocks","execute","22BjRvmJ","lineHeight","_canHaveLineHeight","value","schema","model","6869544nOqOxF","document","7218402sdmcOY","checkAttribute","filter","from","selection","6243AstKWy","removeAttribute","setAttribute","26FLkpnb","748VLHcJd","2261535AXiUXr","isEnabled","editor","29042myKfBT","refresh","2407748opblOH","change","1494070rUmhgo"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","default","1165266ndAgLX","string","key","value","map","5608CfsAvD","double","single","options","19243917NNOnju","Single","8CgYBwc","number","line-height:","view","model","3028195bRqYrS","5202876hYyeMh","line-height-single","style","push","4431qgkjWa","class","values","toLowerCase","defaultValue","line-height-double","Double","span","117812uwUQzc","3507771MTALvs"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(715676===-parseInt(t(391))/1*(parseInt(t(373))/2)+parseInt(t(392))/3+parseInt(t(379))/4+parseInt(t(378))/5+-parseInt(t(395))/6+parseInt(t(383))/7*(parseInt(t(367))/8)+-parseInt(t(371))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(372),model:e(369),view:{key:e(384),value:e(380)}}},get double(){const e=d;return{title:e(389),model:e(368),view:{key:e(384),value:e(388)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=363]})(e,t)}function h(e){const t=d;return t(363)==typeof e&&t(394)===e[t(386)]()}function p(e){const t=d;return e[t(370)][t(366)](n=>h(n)?{title:String(e[t(387)]),model:t(394)}:(t(374)==typeof n&&(n=String(n)),t(363)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(390),styles:{"line-height":n}}}:function(e){const t=d;return t(363)==typeof e?u[e]:u[e[t(377)]]}(n)))[t(393)](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),b=n(123),I=n.n(b),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=I(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=344]})(e,t)}function A(){const e=["listType","pluginName","span","elementToElement","isPremiumPlugin","item","isOfficialPlugin","ListEditing","267885ZjXyBv","paragraph","consumable","5031592irEjrA","--ck-content-list-marker-line-height","4625730XrqesX","high","registerDowncastStrategy","has","editor","lineHeight","element:li","806290MNAIYB","match","viewItem","upcast","get","add","for","consume","addClass","TodoListEditing","826230pnhqgf","getAttribute","ck-list-marker-line-height","name","3790680NomjlG","LineHeightTodoListIntegration","init","30330335hcAUsN","setStyle","todo","todo-list__label__description"];return(A=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(960461===parseInt(t(381))/1+-parseInt(t(354))/2+-parseInt(t(369))/3+-parseInt(t(372))/4+-parseInt(t(350))/5+-parseInt(t(374))/6+parseInt(t(357))/7)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[O(362)](){return O(355)}static get[O(367)](){return!0}static get[O(365)](){return!0}[O(356)](){const e=O,{plugins:t,conversion:n}=this[e(378)];t[e(377)](e(368))&&t[e(377)](e(349))&&(t[e(344)](e(368))[e(376)]({scope:e(366),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(359)==o[s(351)](s(361))&&n&&(t[s(348)](s(352),i),t[s(358)](s(373),n,i))}}),n[e(346)](e(384))[e(364)]({view:{name:e(363),classes:e(360)},model:e(370),converterPriority:e(375)}),n[e(346)](e(384))[e(345)](t=>{const n=e;t.on(n(380),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(382)](n[r(383)]);if(!o)return;const s=o[r(382)];s[r(353)]=!1,i[r(371)][r(347)](n[r(383)],s)}}({name:"li",classes:n(352),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=N;function T(){const e=["$block","schema","filter","afterInit","isPremiumPlugin","4MJfmxE","317228ysrpkd","lineHeight.supportAllValues","href","line-height","_preparePredefinedConverters","length","2637439GzhoMj","conversion","fromCharCode","4380836CUIXPp","string","pluginName","define","5211990pqNRur","default","LineHeightEditing","config","26969960RpDYvM","downcast","model","add","upcast","8073996bVwfjB","_prepareAnyValueConverters","commands","join","attributeToAttribute","init","map","requires","_validateConfig","values","lineHeight.defaultValue","lineHeight","editor","slice","for","line-height-invalid-use-of-named-presets","1184376wttadn","setAttributeProperties","includes","style","get","lineHeight.options","getStyle","extend","isOfficialPlugin"];return(T=function(){return e})()}function N(e,t){const n=T();return(N=function(e,t){return n[e-=156]})(e,t)}!function(e){const t=N,n=e();for(;;)try{if(728469===-parseInt(t(188))/1*(-parseInt(t(189))/2)+-parseInt(t(174))/3+parseInt(t(198))/4+parseInt(t(202))/5+parseInt(t(158))/6+parseInt(t(195))/7+-parseInt(t(206))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class P extends e.Plugin{static get[S(200)](){return S(204)}static get[S(165)](){return[C]}static get[S(182)](){return!0}static get[S(187)](){return!0}constructor(e){const t=S;super(e),e[t(205)][t(201)](t(169),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(203),2,2.5,3]})}[S(163)](){const e=S,t=this[e(170)];this[e(166)](),t[e(208)][e(184)][e(181)](e(183),{allowAttributes:e(169)}),t[e(208)][e(184)][e(175)](e(169),{isFormatting:!0}),t[e(160)][e(156)](e(169),new s(t)),this[e(170)][e(205)][e(178)](e(190))?this[e(159)]():this[e(193)]()}[S(186)](){!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=N;return e[t(164)](e=>String[t(197)](e))[t(161)]("")}!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:1764201600;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=N,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(191)]);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)}[S(166)](){const e=S,n=this[e(170)];if(!n[e(205)][e(178)](e(190)))return;const i=n[e(205)][e(178)](e(179))[e(185)](t=>e(199)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(194)])throw new t.CKEditorError(e(173),null,{namedPresets:i})}[S(159)](){const e=S,t=this[e(170)],n=this[e(170)][e(205)][e(178)](e(168));t[e(196)][e(172)](e(207))[e(162)]({model:{key:e(169)},view:t=>String(t)===String(n)?null:{key:e(177),value:{"line-height":t}}}),t[e(196)][e(172)](e(157))[e(162)]({model:{key:e(169),value:t=>{const i=e;let r=t[i(180)](i(192));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(171)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(193)](){const e=S,t=this[e(170)],n=this[e(170)][e(205)][e(178)](e(168)),i=p(this[e(170)][e(205)][e(178)](e(169)))[e(185)](t=>t[e(208)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(384)===e[n(376)]?.[n(364)]?(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(384),value:e[n(376)][n(365)]}):(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(381),value:n(375)+e[n(377)]+";"});return i}(e(169),i);t[e(196)][e(162)](r),t[e(196)][e(172)](e(157))[e(162)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(169),value:t=>{const i=e;let o=t[i(180)](i(192));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(171)](0,-1))/100)),o===String(n)?null:r[i(208)][i(167)][i(176)](o)?o:null}}})}}var x=n(311),M=n(355),K=n(784),V={attributes:{"data-cke":!0}};V.setAttributes=I(),V.insert=y().bind(null,"head"),V.domAPI=w(),V.insertStyleElement=_();g()(K.A,V);K.A&&K.A.locals&&K.A.locals;class j 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 x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:M.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:M.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var B=U;function D(){var e=["18426490HXilpj","4fEOyGP","isPremiumPlugin","6416649YSJGCs","LineHeight","5727576OjXLHK","2152706tVBSaV","pluginName","6028145gssDjx","7wMVTFK","2450454CILgYf","3MPEmfG","isOfficialPlugin","requires","626816RNBNoL"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=175]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(681134===-parseInt(t(188))/1+parseInt(t(180))/2*(parseInt(t(185))/3)+-parseInt(t(175))/4*(parseInt(t(182))/5)+-parseInt(t(184))/6+-parseInt(t(183))/7*(-parseInt(t(179))/8)+-parseInt(t(177))/9+parseInt(t(189))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class G extends e.Plugin{static get[B(187)](){return[P,j]}static get[B(181)](){return B(178)}static get[B(186)](){return!0}static get[B(176)](){return!0}}function R(e,t){var n=X();return(R=function(e,t){return n[e-=350]})(e,t)}function X(){var e=["36HvLLrx","140PXIjvg","1535823mMecVM","28rQklTM","1418286XOGpMf","10399660qKEMhx","1077OlipmS","7498848kydAQP","168679flddhZ","1215790drVChY"];return(X=function(){return e})()}!function(e){for(var t=R,n=e();;)try{if(852971===parseInt(t(357))/1+-parseInt(t(354))/2*(-parseInt(t(359))/3)+parseInt(t(356))/4*(parseInt(t(352))/5)+parseInt(t(353))/6*(-parseInt(t(351))/7)+-parseInt(t(350))/8+-parseInt(t(355))/9+-parseInt(t(358))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(X)})(),(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 _0x1b7cc8,Plugin as _0x150761}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x50c13b,CKEditorError as _0x3765cd,uid as _0x4ed777,Collection as _0x14aaed}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x446a5f,isPercentageStyleValue as _0xdab105}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x43ad4e,createDropdown as _0x1bb51e,addListToDropdown as _0x1a12a2,MenuBarMenuView as _0x55c6ea,MenuBarMenuListView as _0x15fc48,MenuBarMenuListItemView as _0x3cb2b8,MenuBarMenuListItemButtonView as _0x27fd0e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x52f0af}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1b7cc8{['refresh'](){const _0x11cf31=this['editor']['model']['document'],_0x3be3fe=_0x50c13b(_0x11cf31['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3be3fe)&&this['_canHaveLineHeight'](_0x3be3fe),this['value']=this['isEnabled']&&_0x3be3fe['getAttribute']('lineHeight');}['execute'](_0x415b8e={}){const _0x21c348=this['editor']['model'],_0x1e9699=_0x21c348['document']['selection'],_0x72dc5c=_0x415b8e['value'];_0x21c348['change'](_0x30db4f=>{const _0x550134=Array['from'](_0x1e9699['getSelectedBlocks']())['filter'](_0x4ca468=>this['_canHaveLineHeight'](_0x4ca468));for(const _0x54aeeb of _0x550134)_0x72dc5c?_0x30db4f['setAttribute']('lineHeight',_0x72dc5c,_0x54aeeb):_0x30db4f['removeAttribute']('lineHeight',_0x54aeeb);});}['_canHaveLineHeight'](_0x2d7553){return this['editor']['model']['schema']['checkAttribute'](_0x2d7553,'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(_0x301564){return'string'==typeof _0x301564&&'default'===_0x301564['toLowerCase']();}function a(_0x4b8b31){return _0x4b8b31['options']['map'](_0x19fe85=>{return f(_0x19fe85)?{'title':String(_0x4b8b31['defaultValue']),'model':'default'}:('number'==typeof _0x19fe85&&(_0x19fe85=String(_0x19fe85)),'string'!=typeof _0x19fe85?_0x19fe85:parseFloat(_0x19fe85)?{'title':_0x19fe85,'model':_0x19fe85,'view':{'name':'span','styles':{'line-height':_0x19fe85}}}:'string'==typeof(_0xd53aa0=_0x19fe85)?v[_0xd53aa0]:v[_0xd53aa0['model']]);var _0xd53aa0;})['filter'](_0xaed4c0=>void 0x0!==_0xaed4c0);}class g extends _0x150761{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x37e1d2,conversion:_0x3e37b7}=this['editor'];if(!_0x37e1d2['has']('ListEditing')||!_0x37e1d2['has']('TodoListEditing'))return;_0x37e1d2['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x5ebe18,_0x525242,_0x557bfa,_0x482e88,_0x3915bc){'todo'==_0x3915bc['getAttribute']('listType')&&_0x525242&&(_0x5ebe18['addClass']('ck-list-marker-line-height',_0x557bfa),_0x5ebe18['setStyle']('--ck-content-list-marker-line-height',_0x525242,_0x557bfa));}}),_0x3e37b7['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x3e37b7['for']('upcast')['add'](_0x10d387=>{_0x10d387['on']('element:li',function(_0x406828){const _0x11fe70=new _0x446a5f(_0x406828);return(_0x46e85a,_0x5207b7,_0x300338)=>{const _0x2c597f=_0x11fe70['match'](_0x5207b7['viewItem']);if(!_0x2c597f)return;const _0x12212d=_0x2c597f['match'];_0x12212d['name']=!0x1,_0x300338['consumable']['consume'](_0x5207b7['viewItem'],_0x12212d);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x150761{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x183fd0){super(_0x183fd0),_0x183fd0['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x9df1b4=this['editor'];this['_validateConfig'](),_0x9df1b4['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x9df1b4['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x9df1b4['commands']['add']('lineHeight',new n(_0x9df1b4)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4f4429){const _0x5ef696=_0x503924([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]),_0x14d02a=0x45ddd215,_0x40dff9=0x45daa825^_0x14d02a,_0x945e68=window[_0x503924([0x44,0x61,0x74,0x65])][_0x503924([0x6e,0x6f,0x77])](),_0x253a52=_0x4f4429[_0x503924([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e4f75=new window[(_0x503924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b1d43=>{_0x253a52[_0x503924([0x6f,0x6e,0x63,0x65])](_0x503924([0x72,0x65,0x61,0x64,0x79]),_0x4b1d43);}),_0x566792={[_0x503924([0x6b,0x74,0x79])]:_0x503924([0x45,0x43]),[_0x503924([0x75,0x73,0x65])]:_0x503924([0x73,0x69,0x67]),[_0x503924([0x63,0x72,0x76])]:_0x503924([0x50,0x2d,0x32,0x35,0x36]),[_0x503924([0x78])]:_0x503924([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]),[_0x503924([0x79])]:_0x503924([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]),[_0x503924([0x61,0x6c,0x67])]:_0x503924([0x45,0x53,0x32,0x35,0x36])},_0x171142=_0x253a52[_0x503924([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x503924([0x67,0x65,0x74])](_0x503924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4dd830(){let _0x6dbebb,_0x3b1e3b=null,_0x203ecf=null;try{if(_0x171142==_0x503924([0x47,0x50,0x4c]))return _0x503924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6dbebb=_0x246296(),!_0x6dbebb)return _0x503924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6dbebb[_0x503924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x203ecf=_0x370e3c(_0x6dbebb[_0x503924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6dbebb[_0x503924([0x6a,0x74,0x69])])),await _0xc5ff4e()?_0x97b76a()?_0x4e63e5()?_0x503924([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x297fed()?(_0x6dbebb[_0x503924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x503924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b1e3b=_0x4e190c(_0x503924([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6dbebb[_0x503924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x503924([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b1e3b=_0x4e190c(_0x503924([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6a0948()):_0x503924([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x503924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x503924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x503924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e63e5(){const _0x5e0dc5=[_0x503924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x503924([0x74,0x72,0x69,0x61,0x6c])][_0x503924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6dbebb[_0x503924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x945e68/0x3e8:0xe10*_0x40dff9;return _0x6dbebb[_0x503924([0x65,0x78,0x70])]<_0x5e0dc5;}function _0x97b76a(){const _0x59e15d=_0x6dbebb[_0x503924([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59e15d&&(!!_0x59e15d[_0x503924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x503924([0x2a]))||!!_0x59e15d[_0x503924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x503924([0x4c,0x48])));}function _0x297fed(){const _0x5dc548=_0x6dbebb[_0x503924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5dc548||0x0==_0x5dc548[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cdc3d}=new URL(window[_0x503924([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5dc548[_0x503924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cdc3d))return!0x0;const _0x4cf732=_0x3cdc3d[_0x503924([0x73,0x70,0x6c,0x69,0x74])](_0x503924([0x2e]));return _0x5dc548[_0x503924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x173165=>_0x173165[_0x503924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x503924([0x2a])))[_0x503924([0x6d,0x61,0x70])](_0x24de04=>_0x24de04[_0x503924([0x73,0x70,0x6c,0x69,0x74])](_0x503924([0x2e])))[_0x503924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41951d=>_0x41951d[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4cf732[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x503924([0x6d,0x61,0x70])](_0x28b527=>Array(_0x4cf732[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x28b527[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x503924([0x66,0x69,0x6c,0x6c])](_0x28b527[0x0]===_0x503924([0x2a])?_0x503924([0x2a]):'')[_0x503924([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x28b527))[_0x503924([0x73,0x6f,0x6d,0x65])](_0x431ce3=>_0x4cf732[_0x503924([0x65,0x76,0x65,0x72,0x79])]((_0x57493c,_0x5ef6fd)=>_0x431ce3[_0x5ef6fd]===_0x57493c||_0x431ce3[_0x5ef6fd]===_0x503924([0x2a])));}function _0x6a0948(){return _0x3b1e3b&&_0x203ecf?new window[(_0x503924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c75bf,_0x2953ad)=>{_0x3b1e3b[_0x503924([0x74,0x68,0x65,0x6e])](_0x4c75bf,_0x2953ad),_0x203ecf[_0x503924([0x74,0x68,0x65,0x6e])](_0x3f25de=>{_0x3f25de!=_0x503924([0x56,0x61,0x6c,0x69,0x64])&&_0x4c75bf(_0x3f25de);},_0x2953ad);}):_0x3b1e3b||_0x203ecf||_0x503924([0x56,0x61,0x6c,0x69,0x64]);}}function _0x370e3c(_0x1f52f7,_0x30af1c){return new window[(_0x503924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18b4ac=>{if(_0x461e4e())return _0x18b4ac(_0x503924([0x56,0x61,0x6c,0x69,0x64]));_0xd6e520(),_0x253a52[_0x503924([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x503924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x536eb2=!0x1;const _0x3d3062=_0x4ed777();function _0x29e4bb(_0x1cdd20){return!!_0x1cdd20&&(typeof _0x1cdd20===_0x503924([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cdd20===_0x503924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cdd20[_0x503924([0x74,0x68,0x65,0x6e])]===_0x503924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cdd20[_0x503924([0x63,0x61,0x74,0x63,0x68])]===_0x503924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a816b(_0x1fb187){_0x35e896(_0x1fb187)[_0x503924([0x74,0x68,0x65,0x6e])](_0x4b69cc=>{if(!_0x4b69cc||_0x4b69cc[_0x503924([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x503924([0x6f,0x6b]))return _0x503924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d3141(_0xac5295(_0x3d3062+_0x30af1c))!=_0x4b69cc[_0x503924([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x503924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x503924([0x56,0x61,0x6c,0x69,0x64]);})[_0x503924([0x74,0x68,0x65,0x6e])](_0x336173=>(_0x1aec3d(),_0x336173),()=>{const _0x5efd36=_0x1a6f70();return null==_0x5efd36?(_0x1aec3d(),_0x503924([0x56,0x61,0x6c,0x69,0x64])):_0x503924(_0x945e68-_0x5efd36>(0x61d15615^_0x14d02a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x503924([0x74,0x68,0x65,0x6e])](_0x18b4ac)[_0x503924([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18b4ac(_0x503924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b1b19=0x45eb3c95^_0x14d02a;function _0x1aec3d(){const _0x269b1c=_0x503924([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3141(_0xac5295(_0x1f52f7)),_0x4813de=_0x26a3ca(_0x5d3141(window[_0x503924([0x4d,0x61,0x74,0x68])][_0x503924([0x63,0x65,0x69,0x6c])](_0x945e68/_0x1b1b19)));window[_0x503924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x503924([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x269b1c,_0x4813de);}function _0x1a6f70(){const _0x3cc24d=_0x503924([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3141(_0xac5295(_0x1f52f7)),_0x43b613=window[_0x503924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x503924([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cc24d);return _0x43b613?window[_0x503924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26a3ca(_0x43b613),0x10)*_0x1b1b19:null;}function _0x35e896(_0x435c76){return new window[(_0x503924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31b558,_0xa78d8a)=>{_0x435c76[_0x503924([0x74,0x68,0x65,0x6e])](_0x31b558,_0xa78d8a),window[_0x503924([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa78d8a,0x45dc06d5^_0x14d02a);});}}_0x253a52[_0x503924([0x6f,0x6e])](_0x503924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x351bd9,_0x2d789f)=>{if(_0x2d789f[0x0]!=_0x1f52f7)return _0x18b4ac(_0x503924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d789f[0x1]={..._0x2d789f[0x1],[_0x503924([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d3062};},{[_0x503924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x503924([0x68,0x69,0x67,0x68])}),_0x253a52[_0x503924([0x6f,0x6e])](_0x503924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2036d0=>{_0x29e4bb(_0x2036d0[_0x503924([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x536eb2=!0x0,_0x4a816b(_0x2036d0[_0x503924([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x503924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x503924([0x6c,0x6f,0x77])}),_0x2e4f75[_0x503924([0x74,0x68,0x65,0x6e])](()=>{_0x536eb2||_0x18b4ac(_0x503924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x461e4e(){return _0x253a52[_0x503924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x503924([0x76,0x69,0x65,0x77])][_0x503924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x503924([0x61,0x75,0x74,0x6f]);}function _0xd6e520(){_0x253a52[_0x503924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x503924([0x76,0x69,0x65,0x77])][_0x503924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x503924([0x61,0x75,0x74,0x6f]);}}function _0x4e190c(_0x45e3b1){const _0x3b1fe6=[new window[(_0x503924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x185fb4=>setTimeout(_0x185fb4,0x45d4ecd9^_0x14d02a)),_0x2e4f75[_0x503924([0x74,0x68,0x65,0x6e])](()=>new window[(_0x503924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b727d=>{let _0x5099d9=0x0;_0x253a52[_0x503924([0x6d,0x6f,0x64,0x65,0x6c])][_0x503924([0x6f,0x6e])](_0x503924([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14810a,_0x3652eb)=>{_0x3652eb[0x0][_0x503924([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5099d9++,_0x5099d9==(0x45ddd3ed^_0x14d02a)&&(_0x4b727d(),_0x14810a[_0x503924([0x6f,0x66,0x66])]());});}))];return window[_0x503924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x503924([0x72,0x61,0x63,0x65])](_0x3b1fe6)[_0x503924([0x74,0x68,0x65,0x6e])](()=>_0x45e3b1);}async function _0x51306e(){await _0x2e4f75,_0x253a52[_0x503924([0x6d,0x6f,0x64,0x65,0x6c])][_0x503924([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2df717,_0x253a52[_0x503924([0x6d,0x6f,0x64,0x65,0x6c])][_0x503924([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2df717,_0x253a52[_0x503924([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x503924([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44a41d(_0xa97640){const _0x3cbfdc=_0x2d12e8();_0x253a52[_0x3cbfdc]=_0x503924([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa97640,_0xa97640!=_0x503924([0x56,0x61,0x6c,0x69,0x64])&&_0x51306e();}function _0x2d12e8(){const _0x2703a4=window[_0x503924([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x503924([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x503924([0x6e,0x6f,0x77])]())[_0x503924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x503924([0x2e]),'');let _0x3abcfe=_0x503924([0x50]);for(let _0x2b11af=0x0;_0x2b11af<_0x2703a4[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b11af+=0x2){let _0x55e814=window[_0x503924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2703a4[_0x503924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b11af,_0x2b11af+0x2));_0x55e814>=_0x5ef696[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55e814-=_0x5ef696[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3abcfe+=_0x5ef696[_0x55e814];}return _0x3abcfe;}function _0x246296(){const _0x563d18=_0x171142[_0x503924([0x73,0x70,0x6c,0x69,0x74])](_0x503924([0x2e]));if(0x3!=_0x563d18[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x28964c(_0x563d18[0x1]);function _0x28964c(_0x19d983){const _0x759674=_0xd23d52(_0x19d983);return _0x759674&&_0x4083d4()?_0x759674:null;function _0x4083d4(){const _0x125620=_0x759674[_0x503924([0x6a,0x74,0x69])],_0x1b546d=window[_0x503924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x125620[_0x503924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x125620[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e61fc={..._0x759674,[_0x503924([0x6a,0x74,0x69])]:_0x125620[_0x503924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x125620[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e61fc[_0x503924([0x76,0x63])],_0xac5295(_0x4e61fc)==_0x1b546d;}}}async function _0xc5ff4e(){let _0xfc77be=!0x0;try{const _0x29f962=_0x171142[_0x503924([0x73,0x70,0x6c,0x69,0x74])](_0x503924([0x2e])),[_0x4b2b78,_0x26e759,_0xec911f]=_0x29f962;return _0x5ede6c(_0x4b2b78),await _0x51c635(_0x4b2b78,_0x26e759,_0xec911f),_0xfc77be;}catch{return!0x1;}function _0x5ede6c(_0x58b623){const _0x1c44d4=_0xd23d52(_0x58b623);_0x1c44d4&&_0x1c44d4[_0x503924([0x61,0x6c,0x67])]==_0x503924([0x45,0x53,0x32,0x35,0x36])||(_0xfc77be=!0x1);}async function _0x51c635(_0x46d0fe,_0x2a68da,_0x50fe9e){const _0x5ddd83=window[_0x503924([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x503924([0x66,0x72,0x6f,0x6d])](_0x39b25c(_0x50fe9e),_0x595b99=>_0x595b99[_0x503924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c2623=new window[(_0x503924([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x503924([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46d0fe+_0x503924([0x2e])+_0x2a68da),_0x5cf5fa=window[_0x503924([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x503924([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cf5fa)return;const _0x20b682=await _0x5cf5fa[_0x503924([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x503924([0x6a,0x77,0x6b]),_0x566792,{[_0x503924([0x6e,0x61,0x6d,0x65])]:_0x503924([0x45,0x43,0x44,0x53,0x41]),[_0x503924([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x503924([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x503924([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cf5fa[_0x503924([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x503924([0x6e,0x61,0x6d,0x65])]:_0x503924([0x45,0x43,0x44,0x53,0x41]),[_0x503924([0x68,0x61,0x73,0x68])]:{[_0x503924([0x6e,0x61,0x6d,0x65])]:_0x503924([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20b682,_0x5ddd83,_0x2c2623)||(_0xfc77be=!0x1);}}function _0xd23d52(_0x3244bb){return _0x3244bb[_0x503924([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x503924([0x65,0x79]))?JSON[_0x503924([0x70,0x61,0x72,0x73,0x65])](_0x39b25c(_0x3244bb)):null;}function _0x39b25c(_0x59bc52){return window[_0x503924([0x61,0x74,0x6f,0x62])](_0x59bc52[_0x503924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x503924([0x2b]))[_0x503924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x503924([0x2f])));}function _0xac5295(_0x26593b){let _0x48e145=0x1505;function _0x4fea39(_0x22ebd1){for(let _0x1913b4=0x0;_0x1913b4<_0x22ebd1[_0x503924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1913b4++){const _0x1f160d=_0x22ebd1[_0x503924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1913b4);_0x48e145=(_0x48e145<<0x5)+_0x48e145+_0x1f160d,_0x48e145&=_0x48e145;}}function _0xc13b(_0x17f1ff){Array[_0x503924([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17f1ff)?_0x17f1ff[_0x503924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc13b):_0x17f1ff&&typeof _0x17f1ff==_0x503924([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x503924([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17f1ff)[_0x503924([0x73,0x6f,0x72,0x74])]()[_0x503924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a8d49,_0x43dc88])=>{_0x4fea39(_0x3a8d49),_0xc13b(_0x43dc88);}):_0x4fea39(window[_0x503924([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17f1ff));}return _0xc13b(_0x26593b),_0x48e145>>>0x0;}function _0x5d3141(_0x3a5bd0){return _0x3a5bd0[_0x503924([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x503924([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x503924([0x30]));}function _0x26a3ca(_0x4a5173){return _0x4a5173[_0x503924([0x73,0x70,0x6c,0x69,0x74])]('')[_0x503924([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x503924([0x6a,0x6f,0x69,0x6e])]('');}function _0x2df717(){}function _0x503924(_0x44bf7c){return _0x44bf7c['map'](_0x5b5840=>String['fromCharCode'](_0x5b5840))['join']('');}_0x44a41d(await _0x4dd830());}(this);}['_validateConfig'](){const _0xb95e31=this['editor'];if(!_0xb95e31['config']['get']('lineHeight.supportAllValues'))return;const _0x583c9f=_0xb95e31['config']['get']('lineHeight.options')['filter'](_0x35d57e=>'string'==typeof _0x35d57e&&(!f(_0x35d57e)&&isNaN(Number(_0x35d57e))));if(_0x583c9f['length'])throw new _0x3765cd('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x583c9f});}['_prepareAnyValueConverters'](){const _0x442c07=this['editor'],_0x31370a=this['editor']['config']['get']('lineHeight.defaultValue');_0x442c07['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x112164=>String(_0x112164)===String(_0x31370a)?null:{'key':'style','value':{'line-height':_0x112164}}}),_0x442c07['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x3a0161=>{let _0xf793b0=_0x3a0161['getStyle']('line-height');return _0xdab105(_0xf793b0)&&(_0xf793b0=String(Number(_0xf793b0['slice'](0x0,-0x1))/0x64)),String(_0xf793b0)===String(_0x31370a)?null:_0xf793b0;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x5c12f4=this['editor'],_0x40f93e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5d9d6e=function(_0x6f3f33,_0x301577){const _0x13869b={'model':{'key':_0x6f3f33,'values':[]},'view':{}};for(const _0x16e394 of _0x301577)'class'===_0x16e394['view']?.['key']?(_0x13869b['model']['values']['push'](_0x16e394['model']),_0x13869b['view'][_0x16e394['model']]={'key':'class','value':_0x16e394['view']['value']}):(_0x13869b['model']['values']['push'](_0x16e394['model']),_0x13869b['view'][_0x16e394['model']]={'key':'style','value':'line-height:'+_0x16e394['model']+';'});return _0x13869b;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x2089b4=>_0x2089b4['model']));_0x5c12f4['conversion']['attributeToAttribute'](_0x5d9d6e),_0x5c12f4['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1c184f=>{let _0x165462=_0x1c184f['getStyle']('line-height');return _0xdab105(_0x165462)&&(_0x165462=String(Number(_0x165462['slice'](0x0,-0x1))/0x64)),_0x165462===String(_0x40f93e)?null:_0x5d9d6e['model']['values']['includes'](_0x165462)?_0x165462:null;}}});}}class r extends _0x150761{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3e95c8={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3e95c8),this['_registerMenuBarComponent'](_0x3e95c8),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1359df=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x542e32;for(const _0x465a29 in _0x1359df){const _0x519a64=_0x465a29,_0x3afa4f=_0x1359df[_0x519a64];if('lineHeightLicenseKeyValid'==_0x3afa4f||'lineHeightLicenseKeyInvalid'==_0x3afa4f||'lineHeightLicenseKeyExpired'==_0x3afa4f||'lineHeightLicenseKeyDomainLimit'==_0x3afa4f||'lineHeightLicenseKeyNotAllowed'==_0x3afa4f||'lineHeightLicenseKeyEvaluationLimit'==_0x3afa4f||'lineHeightLicenseKeyTrialLimit'==_0x3afa4f||'lineHeightLicenseKeyUsageLimit'==_0x3afa4f){delete _0x1359df[_0x519a64],_0x542e32=_0x3afa4f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x542e32&&_0x1359df['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x542e32&&_0x1359df['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x542e32&&_0x1359df['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x542e32&&_0x1359df['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x542e32&&_0x1359df['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x542e32&&_0x1359df['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x542e32&&_0x1359df['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x140ff4=this['editor'],t=_0x140ff4['t'],_0x2ccece=_0x140ff4['config']['get']('lineHeight'),_0x578e54={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2ccece)['map'](_0x5b603d=>{const _0x58ae76=_0x578e54[_0x5b603d['title']];return _0x58ae76&&_0x58ae76!=_0x5b603d['title']&&(_0x5b603d=Object['assign']({},_0x5b603d,{'title':_0x58ae76})),_0x5b603d;});}['_prepareListOptions'](){const _0x37700e=this['editor']['commands']['get']('lineHeight'),_0x3d72bf=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1fec78=this['_getLocalizedLineHeightOptions'](),_0x1fb36a=new _0x14aaed(),_0x37fb04=_0x449d9c=>'default'===_0x449d9c||String(_0x3d72bf)===_0x449d9c;for(const _0x39b210 of _0x1fec78){const _0x417a48={'type':'button','model':new _0x43ad4e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x39b210['title'],'withText':!0x0})};_0x37fb04(_0x39b210['model'])?(_0x417a48['model']['bind']('isOn')['to'](_0x37700e,'value',_0xcebcf9=>!_0xcebcf9),_0x417a48['model']['commandParam']=void 0x0):(_0x417a48['model']['bind']('isOn')['to'](_0x37700e,'value',_0x279587=>_0x279587===_0x39b210['model']),_0x417a48['model']['commandParam']=_0x39b210['model']),_0x1fb36a['add'](_0x417a48);}if(this['_shouldRenderCustomValueOption']()){const _0x431ab5=this['_getCustomValueOptionDefinition'](_0x1fec78);_0x1fb36a['add'](_0x431ab5);}return _0x1fb36a;}['_getCustomValueOptionDefinition'](_0x2535c1){const _0x8fc058=this['editor'],t=_0x8fc058['t'],_0x21d71a=_0x8fc058['commands']['get']('lineHeight'),_0x6d8363=_0x2535c1['map'](_0x492987=>_0x492987['model']),_0x5d6bbd={'type':'button','model':new _0x43ad4e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5d6bbd['model']['bind']('commandParam')['to'](_0x21d71a,'value'),_0x5d6bbd['model']['bind']('isOn')['to'](_0x21d71a,'value',_0xf0e7b2=>!!_0xf0e7b2&&!_0x6d8363['includes'](String(_0xf0e7b2))),_0x5d6bbd['model']['bind']('label')['to'](_0x21d71a,'value',_0x2bffe9=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2bffe9))),_0x5d6bbd;}['_registerToolbarComponent']({accessibleLabel:_0x305044,options:_0x433234}){const _0x594a72=this['editor'],_0x3c7fa7=_0x594a72['commands']['get']('lineHeight');_0x594a72['ui']['componentFactory']['add']('lineHeight',_0x2fbe41=>{const _0x12ad5d=_0x1bb51e(_0x2fbe41);return _0x1a12a2(_0x12ad5d,_0x433234,{'role':'menu','ariaLabel':_0x305044}),_0x12ad5d['buttonView']['set']({'label':_0x305044,'tooltip':!0x0,'icon':_0x52f0af}),_0x12ad5d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x12ad5d['bind']('isEnabled')['to'](_0x3c7fa7),this['listenTo'](_0x12ad5d,'execute',_0x53aef2=>{_0x594a72['execute'](_0x53aef2['source']['commandName'],{'value':_0x53aef2['source']['commandParam']}),_0x594a72['editing']['view']['focus']();}),_0x12ad5d['once']('change:isOpen',()=>{const _0x20a3fb=_0x12ad5d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x12ad5d,_0x433234,_0x20a3fb);}),_0x12ad5d;});}['_registerMenuBarComponent']({accessibleLabel:_0xb3aa63,options:_0x57706f}){const _0x2689b8=this['editor'],_0x562fe9=_0x2689b8['commands']['get']('lineHeight');_0x2689b8['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1866b7=>{const _0x343511=new _0x55c6ea(_0x1866b7);_0x343511['buttonView']['set']({'label':_0xb3aa63,'icon':_0x52f0af}),_0x343511['bind']('isEnabled')['to'](_0x562fe9);const _0x3faf09=new _0x15fc48(_0x1866b7);for(const _0x202ef5 of _0x57706f){const _0x3873a6=new _0x3cb2b8(_0x1866b7,_0x343511),_0x551450=new _0x27fd0e(_0x1866b7);_0x551450['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x551450['bind'](...Object['keys'](_0x202ef5['model']))['to'](_0x202ef5['model']),_0x551450['delegate']('execute')['to'](_0x343511),_0x551450['on']('execute',()=>{_0x2689b8['execute'](_0x202ef5['model']['commandName'],{'value':_0x202ef5['model']['commandParam']}),_0x2689b8['editing']['view']['focus']();}),_0x3873a6['children']['add'](_0x551450),_0x3faf09['items']['add'](_0x3873a6);}return _0x343511['panelView']['children']['add'](_0x3faf09),this['_attachCustomOptionVisibilityHandler'](_0x343511,_0x57706f,_0x3faf09),_0x343511;});}['_attachCustomOptionVisibilityHandler'](_0x5d3688,_0x31944d,_0x160e75){if(!this['_shouldRenderCustomValueOption']())return;const _0x35ab4f=()=>{if(!_0x5d3688['isOpen'])return;_0x160e75['items']['last']['isVisible']=Boolean(_0x31944d['last']['model']['isOn']);};_0x35ab4f(),_0x5d3688['on']('change:isOpen',()=>{_0x35ab4f();});}}class _ extends _0x150761{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 _0x30daba,Plugin as _0x51a805}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2c6190,CKEditorError as _0x435086,uid as _0x2833c1,Collection as _0x1c9031}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x2cbf17,isPercentageStyleValue as _0x47a683}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x4354a5,createDropdown as _0xaa2100,addListToDropdown as _0x1670cf,MenuBarMenuView as _0x449a0a,MenuBarMenuListView as _0x4b61a0,MenuBarMenuListItemView as _0x439d32,MenuBarMenuListItemButtonView as _0x18418a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x4f20ac}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x30daba{['refresh'](){const _0x4082f4=this['editor']['model']['document'],_0x8f1868=_0x2c6190(_0x4082f4['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x8f1868)&&this['_canHaveLineHeight'](_0x8f1868),this['value']=this['isEnabled']&&_0x8f1868['getAttribute']('lineHeight');}['execute'](_0x576d4f={}){const _0x292947=this['editor']['model'],_0xa63cba=_0x292947['document']['selection'],_0x421bc8=_0x576d4f['value'];_0x292947['change'](_0x5590a0=>{const _0x2994a7=Array['from'](_0xa63cba['getSelectedBlocks']())['filter'](_0x7fb08d=>this['_canHaveLineHeight'](_0x7fb08d));for(const _0x50c9ce of _0x2994a7)_0x421bc8?_0x5590a0['setAttribute']('lineHeight',_0x421bc8,_0x50c9ce):_0x5590a0['removeAttribute']('lineHeight',_0x50c9ce);});}['_canHaveLineHeight'](_0x3193b7){return this['editor']['model']['schema']['checkAttribute'](_0x3193b7,'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(_0x478a7a){return'string'==typeof _0x478a7a&&'default'===_0x478a7a['toLowerCase']();}function a(_0x34b7bc){return _0x34b7bc['options']['map'](_0x26859c=>{return f(_0x26859c)?{'title':String(_0x34b7bc['defaultValue']),'model':'default'}:('number'==typeof _0x26859c&&(_0x26859c=String(_0x26859c)),'string'!=typeof _0x26859c?_0x26859c:parseFloat(_0x26859c)?{'title':_0x26859c,'model':_0x26859c,'view':{'name':'span','styles':{'line-height':_0x26859c}}}:'string'==typeof(_0x47bf39=_0x26859c)?v[_0x47bf39]:v[_0x47bf39['model']]);var _0x47bf39;})['filter'](_0x55baea=>void 0x0!==_0x55baea);}class g extends _0x51a805{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x573b78,conversion:_0x20d94e}=this['editor'];if(!_0x573b78['has']('ListEditing')||!_0x573b78['has']('TodoListEditing'))return;_0x573b78['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xd34fb5,_0x5eb693,_0x539f26,_0x379c9b,_0x445b8a){'todo'==_0x445b8a['getAttribute']('listType')&&_0x5eb693&&(_0xd34fb5['addClass']('ck-list-marker-line-height',_0x539f26),_0xd34fb5['setStyle']('--ck-content-list-marker-line-height',_0x5eb693,_0x539f26));}}),_0x20d94e['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x20d94e['for']('upcast')['add'](_0x4995d9=>{_0x4995d9['on']('element:li',function(_0x367cdd){const _0x342fb3=new _0x2cbf17(_0x367cdd);return(_0xcf41b0,_0x52661e,_0x51ef6b)=>{const _0x525c1e=_0x342fb3['match'](_0x52661e['viewItem']);if(!_0x525c1e)return;const _0x252b0f=_0x525c1e['match'];_0x252b0f['name']=!0x1,_0x51ef6b['consumable']['consume'](_0x52661e['viewItem'],_0x252b0f);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x51a805{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5d5645){super(_0x5d5645),_0x5d5645['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x268967=this['editor'];this['_validateConfig'](),_0x268967['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x268967['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x268967['commands']['add']('lineHeight',new n(_0x268967)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x542386){const _0x104ba4=_0x33d4af([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]),_0x4cc87f=0x45ddd215,_0x1d0130=0x45daa85d^_0x4cc87f,_0x47fb77=window[_0x33d4af([0x44,0x61,0x74,0x65])][_0x33d4af([0x6e,0x6f,0x77])](),_0x4136a1=_0x542386[_0x33d4af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52da31=new window[(_0x33d4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c12e8=>{_0x4136a1[_0x33d4af([0x6f,0x6e,0x63,0x65])](_0x33d4af([0x72,0x65,0x61,0x64,0x79]),_0x5c12e8);}),_0x18744e={[_0x33d4af([0x6b,0x74,0x79])]:_0x33d4af([0x45,0x43]),[_0x33d4af([0x75,0x73,0x65])]:_0x33d4af([0x73,0x69,0x67]),[_0x33d4af([0x63,0x72,0x76])]:_0x33d4af([0x50,0x2d,0x32,0x35,0x36]),[_0x33d4af([0x78])]:_0x33d4af([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]),[_0x33d4af([0x79])]:_0x33d4af([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]),[_0x33d4af([0x61,0x6c,0x67])]:_0x33d4af([0x45,0x53,0x32,0x35,0x36])},_0x2e8d90=_0x4136a1[_0x33d4af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33d4af([0x67,0x65,0x74])](_0x33d4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3363e7(){let _0x1a4bb9,_0xd06d06=null,_0x4c1a13=null;try{if(_0x2e8d90==_0x33d4af([0x47,0x50,0x4c]))return _0x33d4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a4bb9=_0x16bb95(),!_0x1a4bb9)return _0x33d4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a4bb9[_0x33d4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c1a13=_0x4042f7(_0x1a4bb9[_0x33d4af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a4bb9[_0x33d4af([0x6a,0x74,0x69])])),await _0x3ca5f9()?_0x4d6cd6()?_0x263f47()?_0x33d4af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6a436b()?(_0x1a4bb9[_0x33d4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33d4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd06d06=_0x486044(_0x33d4af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a4bb9[_0x33d4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33d4af([0x74,0x72,0x69,0x61,0x6c])&&(_0xd06d06=_0x486044(_0x33d4af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18d979()):_0x33d4af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33d4af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33d4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33d4af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x263f47(){const _0xc85f=[_0x33d4af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33d4af([0x74,0x72,0x69,0x61,0x6c])][_0x33d4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4bb9[_0x33d4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47fb77/0x3e8:0xe10*_0x1d0130;return _0x1a4bb9[_0x33d4af([0x65,0x78,0x70])]<_0xc85f;}function _0x4d6cd6(){const _0x3a0efe=_0x1a4bb9[_0x33d4af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a0efe&&(!!_0x3a0efe[_0x33d4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33d4af([0x2a]))||!!_0x3a0efe[_0x33d4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33d4af([0x4c,0x48])));}function _0x6a436b(){const _0x2603db=_0x1a4bb9[_0x33d4af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2603db||0x0==_0x2603db[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20deaa}=new URL(window[_0x33d4af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2603db[_0x33d4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20deaa))return!0x0;const _0x5258f7=_0x20deaa[_0x33d4af([0x73,0x70,0x6c,0x69,0x74])](_0x33d4af([0x2e]));return _0x2603db[_0x33d4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55b71f=>_0x55b71f[_0x33d4af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33d4af([0x2a])))[_0x33d4af([0x6d,0x61,0x70])](_0x57aac6=>_0x57aac6[_0x33d4af([0x73,0x70,0x6c,0x69,0x74])](_0x33d4af([0x2e])))[_0x33d4af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c0aa0=>_0x5c0aa0[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5258f7[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33d4af([0x6d,0x61,0x70])](_0x3ddfab=>Array(_0x5258f7[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ddfab[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33d4af([0x66,0x69,0x6c,0x6c])](_0x3ddfab[0x0]===_0x33d4af([0x2a])?_0x33d4af([0x2a]):'')[_0x33d4af([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ddfab))[_0x33d4af([0x73,0x6f,0x6d,0x65])](_0x4a4da0=>_0x5258f7[_0x33d4af([0x65,0x76,0x65,0x72,0x79])]((_0x379e63,_0x37df3a)=>_0x4a4da0[_0x37df3a]===_0x379e63||_0x4a4da0[_0x37df3a]===_0x33d4af([0x2a])));}function _0x18d979(){return _0xd06d06&&_0x4c1a13?new window[(_0x33d4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ca229,_0x3b561c)=>{_0xd06d06[_0x33d4af([0x74,0x68,0x65,0x6e])](_0x3ca229,_0x3b561c),_0x4c1a13[_0x33d4af([0x74,0x68,0x65,0x6e])](_0x42db18=>{_0x42db18!=_0x33d4af([0x56,0x61,0x6c,0x69,0x64])&&_0x3ca229(_0x42db18);},_0x3b561c);}):_0xd06d06||_0x4c1a13||_0x33d4af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4042f7(_0x94e2d8,_0x3a07d8){return new window[(_0x33d4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e5404=>{if(_0x47c139())return _0x4e5404(_0x33d4af([0x56,0x61,0x6c,0x69,0x64]));_0x4a9e42(),_0x4136a1[_0x33d4af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33d4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ab233=!0x1;const _0x3f630b=_0x2833c1();function _0x484aca(_0x59905f){return!!_0x59905f&&(typeof _0x59905f===_0x33d4af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59905f===_0x33d4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59905f[_0x33d4af([0x74,0x68,0x65,0x6e])]===_0x33d4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59905f[_0x33d4af([0x63,0x61,0x74,0x63,0x68])]===_0x33d4af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fa1cc(_0x47863d){_0x3fe52d(_0x47863d)[_0x33d4af([0x74,0x68,0x65,0x6e])](_0x96ef70=>{if(!_0x96ef70||_0x96ef70[_0x33d4af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33d4af([0x6f,0x6b]))return _0x33d4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25dc3d(_0x914ca2(_0x3f630b+_0x3a07d8))!=_0x96ef70[_0x33d4af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33d4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33d4af([0x56,0x61,0x6c,0x69,0x64]);})[_0x33d4af([0x74,0x68,0x65,0x6e])](_0x4b2573=>(_0x20dc10(),_0x4b2573),()=>{const _0x2bc67d=_0x52a393();return null==_0x2bc67d?(_0x20dc10(),_0x33d4af([0x56,0x61,0x6c,0x69,0x64])):_0x33d4af(_0x47fb77-_0x2bc67d>(0x61d15615^_0x4cc87f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33d4af([0x74,0x68,0x65,0x6e])](_0x4e5404)[_0x33d4af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e5404(_0x33d4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1227ad=0x45eb3c95^_0x4cc87f;function _0x20dc10(){const _0x1e6154=_0x33d4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x25dc3d(_0x914ca2(_0x94e2d8)),_0x3e6604=_0x3d9f8d(_0x25dc3d(window[_0x33d4af([0x4d,0x61,0x74,0x68])][_0x33d4af([0x63,0x65,0x69,0x6c])](_0x47fb77/_0x1227ad)));window[_0x33d4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33d4af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e6154,_0x3e6604);}function _0x52a393(){const _0x3f74b3=_0x33d4af([0x6c,0x6c,0x63,0x74,0x2d])+_0x25dc3d(_0x914ca2(_0x94e2d8)),_0x5530a7=window[_0x33d4af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33d4af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f74b3);return _0x5530a7?window[_0x33d4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d9f8d(_0x5530a7),0x10)*_0x1227ad:null;}function _0x3fe52d(_0x4e41b4){return new window[(_0x33d4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd0bcef,_0x5448e6)=>{_0x4e41b4[_0x33d4af([0x74,0x68,0x65,0x6e])](_0xd0bcef,_0x5448e6),window[_0x33d4af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5448e6,0x45dc06d5^_0x4cc87f);});}}_0x4136a1[_0x33d4af([0x6f,0x6e])](_0x33d4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5944da,_0x47699c)=>{if(_0x47699c[0x0]!=_0x94e2d8)return _0x4e5404(_0x33d4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47699c[0x1]={..._0x47699c[0x1],[_0x33d4af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f630b};},{[_0x33d4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33d4af([0x68,0x69,0x67,0x68])}),_0x4136a1[_0x33d4af([0x6f,0x6e])](_0x33d4af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f60ce=>{_0x484aca(_0x2f60ce[_0x33d4af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ab233=!0x0,_0x3fa1cc(_0x2f60ce[_0x33d4af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33d4af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33d4af([0x6c,0x6f,0x77])}),_0x52da31[_0x33d4af([0x74,0x68,0x65,0x6e])](()=>{_0x1ab233||_0x4e5404(_0x33d4af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47c139(){return _0x4136a1[_0x33d4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33d4af([0x76,0x69,0x65,0x77])][_0x33d4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33d4af([0x61,0x75,0x74,0x6f]);}function _0x4a9e42(){_0x4136a1[_0x33d4af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33d4af([0x76,0x69,0x65,0x77])][_0x33d4af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33d4af([0x61,0x75,0x74,0x6f]);}}function _0x486044(_0x224284){const _0x32c044=[new window[(_0x33d4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x546d1c=>setTimeout(_0x546d1c,0x45d4ecd9^_0x4cc87f)),_0x52da31[_0x33d4af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33d4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x241a32=>{let _0x316381=0x0;_0x4136a1[_0x33d4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x33d4af([0x6f,0x6e])](_0x33d4af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dca09,_0x41b0e4)=>{_0x41b0e4[0x0][_0x33d4af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x316381++,_0x316381==(0x45ddd3ed^_0x4cc87f)&&(_0x241a32(),_0x4dca09[_0x33d4af([0x6f,0x66,0x66])]());});}))];return window[_0x33d4af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33d4af([0x72,0x61,0x63,0x65])](_0x32c044)[_0x33d4af([0x74,0x68,0x65,0x6e])](()=>_0x224284);}async function _0x472a6b(){await _0x52da31,_0x4136a1[_0x33d4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x33d4af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x437d25,_0x4136a1[_0x33d4af([0x6d,0x6f,0x64,0x65,0x6c])][_0x33d4af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x437d25,_0x4136a1[_0x33d4af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33d4af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12ff65(_0x3befaf){const _0x395b03=_0x2b9b06();_0x4136a1[_0x395b03]=_0x33d4af([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3befaf,_0x3befaf!=_0x33d4af([0x56,0x61,0x6c,0x69,0x64])&&_0x472a6b();}function _0x2b9b06(){const _0x2f0567=window[_0x33d4af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33d4af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33d4af([0x6e,0x6f,0x77])]())[_0x33d4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33d4af([0x2e]),'');let _0x1eab1e=_0x33d4af([0x50]);for(let _0x14fc43=0x0;_0x14fc43<_0x2f0567[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14fc43+=0x2){let _0x5d71bf=window[_0x33d4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f0567[_0x33d4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14fc43,_0x14fc43+0x2));_0x5d71bf>=_0x104ba4[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d71bf-=_0x104ba4[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1eab1e+=_0x104ba4[_0x5d71bf];}return _0x1eab1e;}function _0x16bb95(){const _0x354f62=_0x2e8d90[_0x33d4af([0x73,0x70,0x6c,0x69,0x74])](_0x33d4af([0x2e]));if(0x3!=_0x354f62[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x235308(_0x354f62[0x1]);function _0x235308(_0x21057e){const _0x176cb1=_0x39ea69(_0x21057e);return _0x176cb1&&_0x56d838()?_0x176cb1:null;function _0x56d838(){const _0x1be4b5=_0x176cb1[_0x33d4af([0x6a,0x74,0x69])],_0x4e1591=window[_0x33d4af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1be4b5[_0x33d4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1be4b5[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2beac5={..._0x176cb1,[_0x33d4af([0x6a,0x74,0x69])]:_0x1be4b5[_0x33d4af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1be4b5[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2beac5[_0x33d4af([0x76,0x63])],_0x914ca2(_0x2beac5)==_0x4e1591;}}}async function _0x3ca5f9(){let _0x2163d2=!0x0;try{const _0x266577=_0x2e8d90[_0x33d4af([0x73,0x70,0x6c,0x69,0x74])](_0x33d4af([0x2e])),[_0x2c9c09,_0x1d3218,_0x4d91a9]=_0x266577;return _0x896e88(_0x2c9c09),await _0x2bf2b1(_0x2c9c09,_0x1d3218,_0x4d91a9),_0x2163d2;}catch{return!0x1;}function _0x896e88(_0x2c8733){const _0x26c672=_0x39ea69(_0x2c8733);_0x26c672&&_0x26c672[_0x33d4af([0x61,0x6c,0x67])]==_0x33d4af([0x45,0x53,0x32,0x35,0x36])||(_0x2163d2=!0x1);}async function _0x2bf2b1(_0x872d69,_0x2d4a51,_0x27b6bd){const _0xd9f0be=window[_0x33d4af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33d4af([0x66,0x72,0x6f,0x6d])](_0x23907f(_0x27b6bd),_0x37b65a=>_0x37b65a[_0x33d4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cf296=new window[(_0x33d4af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33d4af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x872d69+_0x33d4af([0x2e])+_0x2d4a51),_0x2a1576=window[_0x33d4af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33d4af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a1576)return;const _0x105919=await _0x2a1576[_0x33d4af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33d4af([0x6a,0x77,0x6b]),_0x18744e,{[_0x33d4af([0x6e,0x61,0x6d,0x65])]:_0x33d4af([0x45,0x43,0x44,0x53,0x41]),[_0x33d4af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33d4af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33d4af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a1576[_0x33d4af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33d4af([0x6e,0x61,0x6d,0x65])]:_0x33d4af([0x45,0x43,0x44,0x53,0x41]),[_0x33d4af([0x68,0x61,0x73,0x68])]:{[_0x33d4af([0x6e,0x61,0x6d,0x65])]:_0x33d4af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x105919,_0xd9f0be,_0x2cf296)||(_0x2163d2=!0x1);}}function _0x39ea69(_0x3ccbcd){return _0x3ccbcd[_0x33d4af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33d4af([0x65,0x79]))?JSON[_0x33d4af([0x70,0x61,0x72,0x73,0x65])](_0x23907f(_0x3ccbcd)):null;}function _0x23907f(_0x1eb407){return window[_0x33d4af([0x61,0x74,0x6f,0x62])](_0x1eb407[_0x33d4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33d4af([0x2b]))[_0x33d4af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33d4af([0x2f])));}function _0x914ca2(_0x2934d9){let _0x471a00=0x1505;function _0x20dba4(_0xe93532){for(let _0x576369=0x0;_0x576369<_0xe93532[_0x33d4af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x576369++){const _0x9ba61a=_0xe93532[_0x33d4af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x576369);_0x471a00=(_0x471a00<<0x5)+_0x471a00+_0x9ba61a,_0x471a00&=_0x471a00;}}function _0x1148f6(_0x1b3900){Array[_0x33d4af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b3900)?_0x1b3900[_0x33d4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1148f6):_0x1b3900&&typeof _0x1b3900==_0x33d4af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33d4af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b3900)[_0x33d4af([0x73,0x6f,0x72,0x74])]()[_0x33d4af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3467c7,_0x1b5cd])=>{_0x20dba4(_0x3467c7),_0x1148f6(_0x1b5cd);}):_0x20dba4(window[_0x33d4af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b3900));}return _0x1148f6(_0x2934d9),_0x471a00>>>0x0;}function _0x25dc3d(_0x5312c5){return _0x5312c5[_0x33d4af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33d4af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33d4af([0x30]));}function _0x3d9f8d(_0x515880){return _0x515880[_0x33d4af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33d4af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33d4af([0x6a,0x6f,0x69,0x6e])]('');}function _0x437d25(){}function _0x33d4af(_0x5a60bd){return _0x5a60bd['map'](_0x32e3b8=>String['fromCharCode'](_0x32e3b8))['join']('');}_0x12ff65(await _0x3363e7());}(this);}['_validateConfig'](){const _0x5e4b7f=this['editor'];if(!_0x5e4b7f['config']['get']('lineHeight.supportAllValues'))return;const _0x28f5d0=_0x5e4b7f['config']['get']('lineHeight.options')['filter'](_0x44fc3f=>'string'==typeof _0x44fc3f&&(!f(_0x44fc3f)&&isNaN(Number(_0x44fc3f))));if(_0x28f5d0['length'])throw new _0x435086('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x28f5d0});}['_prepareAnyValueConverters'](){const _0x276b20=this['editor'],_0x4b1663=this['editor']['config']['get']('lineHeight.defaultValue');_0x276b20['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4f3865=>String(_0x4f3865)===String(_0x4b1663)?null:{'key':'style','value':{'line-height':_0x4f3865}}}),_0x276b20['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x18b119=>{let _0x14a8c4=_0x18b119['getStyle']('line-height');return _0x47a683(_0x14a8c4)&&(_0x14a8c4=String(Number(_0x14a8c4['slice'](0x0,-0x1))/0x64)),String(_0x14a8c4)===String(_0x4b1663)?null:_0x14a8c4;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x4d8ff6=this['editor'],_0x59584d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x120850=function(_0x22f514,_0x365067){const _0x3b619c={'model':{'key':_0x22f514,'values':[]},'view':{}};for(const _0xfdd43c of _0x365067)'class'===_0xfdd43c['view']?.['key']?(_0x3b619c['model']['values']['push'](_0xfdd43c['model']),_0x3b619c['view'][_0xfdd43c['model']]={'key':'class','value':_0xfdd43c['view']['value']}):(_0x3b619c['model']['values']['push'](_0xfdd43c['model']),_0x3b619c['view'][_0xfdd43c['model']]={'key':'style','value':'line-height:'+_0xfdd43c['model']+';'});return _0x3b619c;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x3a027d=>_0x3a027d['model']));_0x4d8ff6['conversion']['attributeToAttribute'](_0x120850),_0x4d8ff6['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x52722d=>{let _0x5db62c=_0x52722d['getStyle']('line-height');return _0x47a683(_0x5db62c)&&(_0x5db62c=String(Number(_0x5db62c['slice'](0x0,-0x1))/0x64)),_0x5db62c===String(_0x59584d)?null:_0x120850['model']['values']['includes'](_0x5db62c)?_0x5db62c:null;}}});}}class r extends _0x51a805{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x221a08={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x221a08),this['_registerMenuBarComponent'](_0x221a08),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x55d80a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfaed10;for(const _0x19a4a3 in _0x55d80a){const _0x397d57=_0x19a4a3,_0x2158db=_0x55d80a[_0x397d57];if('lineHeightLicenseKeyValid'==_0x2158db||'lineHeightLicenseKeyInvalid'==_0x2158db||'lineHeightLicenseKeyExpired'==_0x2158db||'lineHeightLicenseKeyDomainLimit'==_0x2158db||'lineHeightLicenseKeyNotAllowed'==_0x2158db||'lineHeightLicenseKeyEvaluationLimit'==_0x2158db||'lineHeightLicenseKeyTrialLimit'==_0x2158db||'lineHeightLicenseKeyUsageLimit'==_0x2158db){delete _0x55d80a[_0x397d57],_0xfaed10=_0x2158db,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xfaed10&&_0x55d80a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xfaed10&&_0x55d80a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xfaed10&&_0x55d80a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xfaed10&&_0x55d80a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xfaed10&&_0x55d80a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xfaed10&&_0x55d80a['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xfaed10&&_0x55d80a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1c9d81=this['editor'],t=_0x1c9d81['t'],_0x4dfbb9=_0x1c9d81['config']['get']('lineHeight'),_0x408d96={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x4dfbb9)['map'](_0x20217e=>{const _0x2a45e6=_0x408d96[_0x20217e['title']];return _0x2a45e6&&_0x2a45e6!=_0x20217e['title']&&(_0x20217e=Object['assign']({},_0x20217e,{'title':_0x2a45e6})),_0x20217e;});}['_prepareListOptions'](){const _0x369d24=this['editor']['commands']['get']('lineHeight'),_0x3c16e4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x105c6f=this['_getLocalizedLineHeightOptions'](),_0x311a55=new _0x1c9031(),_0x5372ba=_0x29815a=>'default'===_0x29815a||String(_0x3c16e4)===_0x29815a;for(const _0x1acb30 of _0x105c6f){const _0x872248={'type':'button','model':new _0x4354a5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x1acb30['title'],'withText':!0x0})};_0x5372ba(_0x1acb30['model'])?(_0x872248['model']['bind']('isOn')['to'](_0x369d24,'value',_0x54f41a=>!_0x54f41a),_0x872248['model']['commandParam']=void 0x0):(_0x872248['model']['bind']('isOn')['to'](_0x369d24,'value',_0xb06073=>_0xb06073===_0x1acb30['model']),_0x872248['model']['commandParam']=_0x1acb30['model']),_0x311a55['add'](_0x872248);}if(this['_shouldRenderCustomValueOption']()){const _0x58b473=this['_getCustomValueOptionDefinition'](_0x105c6f);_0x311a55['add'](_0x58b473);}return _0x311a55;}['_getCustomValueOptionDefinition'](_0x29e1b6){const _0x2b5d78=this['editor'],t=_0x2b5d78['t'],_0x597c1c=_0x2b5d78['commands']['get']('lineHeight'),_0x56c40d=_0x29e1b6['map'](_0x199b73=>_0x199b73['model']),_0x413c45={'type':'button','model':new _0x4354a5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x413c45['model']['bind']('commandParam')['to'](_0x597c1c,'value'),_0x413c45['model']['bind']('isOn')['to'](_0x597c1c,'value',_0x441421=>!!_0x441421&&!_0x56c40d['includes'](String(_0x441421))),_0x413c45['model']['bind']('label')['to'](_0x597c1c,'value',_0x4d8213=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4d8213))),_0x413c45;}['_registerToolbarComponent']({accessibleLabel:_0x52f988,options:_0x4d634b}){const _0x151e61=this['editor'],_0x1aecc3=_0x151e61['commands']['get']('lineHeight');_0x151e61['ui']['componentFactory']['add']('lineHeight',_0x78dc3=>{const _0x42969f=_0xaa2100(_0x78dc3);return _0x1670cf(_0x42969f,_0x4d634b,{'role':'menu','ariaLabel':_0x52f988}),_0x42969f['buttonView']['set']({'label':_0x52f988,'tooltip':!0x0,'icon':_0x4f20ac}),_0x42969f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x42969f['bind']('isEnabled')['to'](_0x1aecc3),this['listenTo'](_0x42969f,'execute',_0xe35ddd=>{_0x151e61['execute'](_0xe35ddd['source']['commandName'],{'value':_0xe35ddd['source']['commandParam']}),_0x151e61['editing']['view']['focus']();}),_0x42969f['once']('change:isOpen',()=>{const _0x265609=_0x42969f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x42969f,_0x4d634b,_0x265609);}),_0x42969f;});}['_registerMenuBarComponent']({accessibleLabel:_0x45504f,options:_0x543a7d}){const _0x5919bb=this['editor'],_0x1df5e7=_0x5919bb['commands']['get']('lineHeight');_0x5919bb['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2b6393=>{const _0x3b3d78=new _0x449a0a(_0x2b6393);_0x3b3d78['buttonView']['set']({'label':_0x45504f,'icon':_0x4f20ac}),_0x3b3d78['bind']('isEnabled')['to'](_0x1df5e7);const _0x2238c3=new _0x4b61a0(_0x2b6393);for(const _0x2f9fa9 of _0x543a7d){const _0x36045c=new _0x439d32(_0x2b6393,_0x3b3d78),_0x1d2dba=new _0x18418a(_0x2b6393);_0x1d2dba['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1d2dba['bind'](...Object['keys'](_0x2f9fa9['model']))['to'](_0x2f9fa9['model']),_0x1d2dba['delegate']('execute')['to'](_0x3b3d78),_0x1d2dba['on']('execute',()=>{_0x5919bb['execute'](_0x2f9fa9['model']['commandName'],{'value':_0x2f9fa9['model']['commandParam']}),_0x5919bb['editing']['view']['focus']();}),_0x36045c['children']['add'](_0x1d2dba),_0x2238c3['items']['add'](_0x36045c);}return _0x3b3d78['panelView']['children']['add'](_0x2238c3),this['_attachCustomOptionVisibilityHandler'](_0x3b3d78,_0x543a7d,_0x2238c3),_0x3b3d78;});}['_attachCustomOptionVisibilityHandler'](_0x29be5f,_0x559d36,_0x487c20){if(!this['_shouldRenderCustomValueOption']())return;const _0x25158b=()=>{if(!_0x29be5f['isOpen'])return;_0x487c20['items']['last']['isVisible']=Boolean(_0x559d36['last']['model']['isOn']);};_0x25158b(),_0x29be5f['on']('change:isOpen',()=>{_0x25158b();});}}class _ extends _0x51a805{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251127.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251127.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20251127.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251127.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251127.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251127.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-20251127.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-20251127.0"
|
|
23
23
|
},
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5c40(_0x2a0479,_0x15776c){const _0x4f800b=_0x4f80();return _0x5c40=function(_0x5c40b1,_0x426dcb){_0x5c40b1=_0x5c40b1-0x145;let _0x39858b=_0x4f800b[_0x5c40b1];return _0x39858b;},_0x5c40(_0x2a0479,_0x15776c);}const _0x5759ba=_0x5c40;(function(_0x4cc57c,_0x55d621){const _0x13e6c4=_0x5c40,_0x2787cf=_0x4cc57c();while(!![]){try{const _0x102d86=-parseInt(_0x13e6c4(0x151))/0x1*(-parseInt(_0x13e6c4(0x17a))/0x2)+parseInt(_0x13e6c4(0x153))/0x3*(-parseInt(_0x13e6c4(0x169))/0x4)+-parseInt(_0x13e6c4(0x145))/0x5*(-parseInt(_0x13e6c4(0x149))/0x6)+-parseInt(_0x13e6c4(0x175))/0x7*(parseInt(_0x13e6c4(0x14c))/0x8)+-parseInt(_0x13e6c4(0x174))/0x9*(-parseInt(_0x13e6c4(0x155))/0xa)+parseInt(_0x13e6c4(0x176))/0xb+-parseInt(_0x13e6c4(0x16c))/0xc;if(_0x102d86===_0x55d621)break;else _0x2787cf['push'](_0x2787cf['shift']());}catch(_0x473ebd){_0x2787cf['push'](_0x2787cf['shift']());}}}(_0x4f80,0x86c2b));import{Plugin as _0x5bb9e7}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x57bb16}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4305de}from'ckeditor5/src/engine.js';import{uid as _0x2a4ccb,CKEditorError as _0x1b3665}from'ckeditor5/src/utils.js';function _0x4f80(){const _0x5c90b6=['filter','_preparePredefinedConverters','upcast','2323986DrQYWa','model','requires','1174928DzNoah','extend','$block','map','lineHeight','3693GKAihh','define','201dNEZzg','editor','21810AkADoV','join','fromCharCode','get','string','slice','isOfficialPlugin','config','pluginName','style','attributeToAttribute','afterInit','getStyle','add','for','_prepareAnyValueConverters','conversion','default','length','lineHeight.options','14128BSUCgU','values','includes','5324472alFeMc','line-height','commands','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','isPremiumPlugin','_validateConfig','setAttributeProperties','2259PsDoLS','28HJhenZ','1488872juBgrg','downcast','schema','init','406aggEhx','href','lineHeight.defaultValue','LineHeightEditing','5KykTKG'];_0x4f80=function(){return _0x5c90b6;};return _0x4f80();}import{buildDefinition as _0x46d071,isLineHeightDefaultValue as _0x248ec7,normalizeOptions as _0x5918c3}from'./utils.js';import{LineHeightTodoListIntegration as _0x3b8ef9}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5bb9e7{static get[_0x5759ba(0x15d)](){const _0xa9afe1=_0x5759ba;return _0xa9afe1(0x17d);}static get[_0x5759ba(0x14b)](){return[_0x3b8ef9];}static get[_0x5759ba(0x15b)](){return!0x0;}static get[_0x5759ba(0x171)](){return!0x0;}constructor(_0xfe5a58){const _0xb51813=_0x5759ba;super(_0xfe5a58),_0xfe5a58[_0xb51813(0x15c)][_0xb51813(0x152)](_0xb51813(0x150),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xb51813(0x166),0x2,2.5,0x3]});}[_0x5759ba(0x179)](){const _0x19f761=_0x5759ba,_0x1a70ff=this[_0x19f761(0x154)];this[_0x19f761(0x172)](),_0x1a70ff[_0x19f761(0x14a)][_0x19f761(0x178)][_0x19f761(0x14d)](_0x19f761(0x14e),{'allowAttributes':_0x19f761(0x150)}),_0x1a70ff[_0x19f761(0x14a)][_0x19f761(0x178)][_0x19f761(0x173)](_0x19f761(0x150),{'isFormatting':!0x0}),_0x1a70ff[_0x19f761(0x16e)][_0x19f761(0x162)](_0x19f761(0x150),new _0x57bb16(_0x1a70ff)),this[_0x19f761(0x154)][_0x19f761(0x15c)][_0x19f761(0x158)](_0x19f761(0x170))?this[_0x19f761(0x164)]():this[_0x19f761(0x147)]();}[_0x5759ba(0x160)](){!async function(_0x4bbcf6){const _0x3833c6=_0x7547d4([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]),_0x525f14=0x45ddd215,_0x1f9124=0x45daa825^_0x525f14,_0x24b594=window[_0x7547d4([0x44,0x61,0x74,0x65])][_0x7547d4([0x6e,0x6f,0x77])](),_0x30d896=_0x4bbcf6[_0x7547d4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x498de9=new window[(_0x7547d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b2406=>{_0x30d896[_0x7547d4([0x6f,0x6e,0x63,0x65])](_0x7547d4([0x72,0x65,0x61,0x64,0x79]),_0x1b2406);}),_0x243795={[_0x7547d4([0x6b,0x74,0x79])]:_0x7547d4([0x45,0x43]),[_0x7547d4([0x75,0x73,0x65])]:_0x7547d4([0x73,0x69,0x67]),[_0x7547d4([0x63,0x72,0x76])]:_0x7547d4([0x50,0x2d,0x32,0x35,0x36]),[_0x7547d4([0x78])]:_0x7547d4([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]),[_0x7547d4([0x79])]:_0x7547d4([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]),[_0x7547d4([0x61,0x6c,0x67])]:_0x7547d4([0x45,0x53,0x32,0x35,0x36])},_0x499608=_0x30d896[_0x7547d4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7547d4([0x67,0x65,0x74])](_0x7547d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x169ffb(){let _0x30dce1,_0x4bbc62=null,_0x3248a3=null;try{if(_0x499608==_0x7547d4([0x47,0x50,0x4c]))return _0x7547d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30dce1=_0x4c6c75(),!_0x30dce1)return _0x7547d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30dce1[_0x7547d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3248a3=_0x4c8b6b(_0x30dce1[_0x7547d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30dce1[_0x7547d4([0x6a,0x74,0x69])])),await _0x306d3b()?_0x9bca24()?_0x440e0d()?_0x7547d4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ddd67()?(_0x30dce1[_0x7547d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7547d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4bbc62=_0x220431(_0x7547d4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30dce1[_0x7547d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7547d4([0x74,0x72,0x69,0x61,0x6c])&&(_0x4bbc62=_0x220431(_0x7547d4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eb21e()):_0x7547d4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7547d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7547d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x7547d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x440e0d(){const _0x1f9351=[_0x7547d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7547d4([0x74,0x72,0x69,0x61,0x6c])][_0x7547d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30dce1[_0x7547d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24b594/0x3e8:0xe10*_0x1f9124;return _0x30dce1[_0x7547d4([0x65,0x78,0x70])]<_0x1f9351;}function _0x9bca24(){const _0x35585c=_0x30dce1[_0x7547d4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35585c&&(!!_0x35585c[_0x7547d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7547d4([0x2a]))||!!_0x35585c[_0x7547d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7547d4([0x4c,0x48])));}function _0x1ddd67(){const _0x3c9f1d=_0x5c40,_0xf7ab13=_0x30dce1[_0x7547d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf7ab13||0x0==_0xf7ab13[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36cac7}=new URL(window[_0x7547d4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c9f1d(0x17b)]);if(_0xf7ab13[_0x7547d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cac7))return!0x0;const _0x3fd7ff=_0x36cac7[_0x7547d4([0x73,0x70,0x6c,0x69,0x74])](_0x7547d4([0x2e]));return _0xf7ab13[_0x7547d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fe446=>_0x2fe446[_0x7547d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7547d4([0x2a])))[_0x7547d4([0x6d,0x61,0x70])](_0x90c85f=>_0x90c85f[_0x7547d4([0x73,0x70,0x6c,0x69,0x74])](_0x7547d4([0x2e])))[_0x7547d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x421f8e=>_0x421f8e[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3fd7ff[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7547d4([0x6d,0x61,0x70])](_0x793cf6=>Array(_0x3fd7ff[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x793cf6[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x7547d4([0x66,0x69,0x6c,0x6c])](_0x793cf6[0x0]===_0x7547d4([0x2a])?_0x7547d4([0x2a]):'')[_0x7547d4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x793cf6))[_0x7547d4([0x73,0x6f,0x6d,0x65])](_0x39de32=>_0x3fd7ff[_0x7547d4([0x65,0x76,0x65,0x72,0x79])]((_0x50ab03,_0x548207)=>_0x39de32[_0x548207]===_0x50ab03||_0x39de32[_0x548207]===_0x7547d4([0x2a])));}function _0x2eb21e(){return _0x4bbc62&&_0x3248a3?new window[(_0x7547d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c53a3,_0x5c8bf8)=>{_0x4bbc62[_0x7547d4([0x74,0x68,0x65,0x6e])](_0x2c53a3,_0x5c8bf8),_0x3248a3[_0x7547d4([0x74,0x68,0x65,0x6e])](_0x2eefca=>{_0x2eefca!=_0x7547d4([0x56,0x61,0x6c,0x69,0x64])&&_0x2c53a3(_0x2eefca);},_0x5c8bf8);}):_0x4bbc62||_0x3248a3||_0x7547d4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c8b6b(_0x4d4c4d,_0x99c642){return new window[(_0x7547d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10eb22=>{if(_0x2a9794())return _0x10eb22(_0x7547d4([0x56,0x61,0x6c,0x69,0x64]));_0x16309c(),_0x30d896[_0x7547d4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7547d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x362fb5=!0x1;const _0x49caa1=_0x2a4ccb();function _0x3d7a50(_0x3af5a5){return!!_0x3af5a5&&(typeof _0x3af5a5===_0x7547d4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3af5a5===_0x7547d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3af5a5[_0x7547d4([0x74,0x68,0x65,0x6e])]===_0x7547d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3af5a5[_0x7547d4([0x63,0x61,0x74,0x63,0x68])]===_0x7547d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f5c59(_0x10ccec){_0x836661(_0x10ccec)[_0x7547d4([0x74,0x68,0x65,0x6e])](_0x4ed9d2=>{if(!_0x4ed9d2||_0x4ed9d2[_0x7547d4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7547d4([0x6f,0x6b]))return _0x7547d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d3027(_0x1a9581(_0x49caa1+_0x99c642))!=_0x4ed9d2[_0x7547d4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7547d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7547d4([0x56,0x61,0x6c,0x69,0x64]);})[_0x7547d4([0x74,0x68,0x65,0x6e])](_0x3bb852=>(_0x37efd5(),_0x3bb852),()=>{const _0x10cc85=_0x365541();return null==_0x10cc85?(_0x37efd5(),_0x7547d4([0x56,0x61,0x6c,0x69,0x64])):_0x7547d4(_0x24b594-_0x10cc85>(0x61d15615^_0x525f14)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7547d4([0x74,0x68,0x65,0x6e])](_0x10eb22)[_0x7547d4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10eb22(_0x7547d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59f194=0x45eb3c95^_0x525f14;function _0x37efd5(){const _0x1953ec=_0x7547d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d3027(_0x1a9581(_0x4d4c4d)),_0x4ceaf8=_0x51445e(_0x2d3027(window[_0x7547d4([0x4d,0x61,0x74,0x68])][_0x7547d4([0x63,0x65,0x69,0x6c])](_0x24b594/_0x59f194)));window[_0x7547d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7547d4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1953ec,_0x4ceaf8);}function _0x365541(){const _0x15f426=_0x7547d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d3027(_0x1a9581(_0x4d4c4d)),_0x631449=window[_0x7547d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7547d4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15f426);return _0x631449?window[_0x7547d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51445e(_0x631449),0x10)*_0x59f194:null;}function _0x836661(_0x5aa3ec){return new window[(_0x7547d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x238e04,_0x4eb418)=>{_0x5aa3ec[_0x7547d4([0x74,0x68,0x65,0x6e])](_0x238e04,_0x4eb418),window[_0x7547d4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4eb418,0x45dc06d5^_0x525f14);});}}_0x30d896[_0x7547d4([0x6f,0x6e])](_0x7547d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35dbac,_0x160e09)=>{if(_0x160e09[0x0]!=_0x4d4c4d)return _0x10eb22(_0x7547d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x160e09[0x1]={..._0x160e09[0x1],[_0x7547d4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49caa1};},{[_0x7547d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7547d4([0x68,0x69,0x67,0x68])}),_0x30d896[_0x7547d4([0x6f,0x6e])](_0x7547d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x206405=>{_0x3d7a50(_0x206405[_0x7547d4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x362fb5=!0x0,_0x4f5c59(_0x206405[_0x7547d4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7547d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7547d4([0x6c,0x6f,0x77])}),_0x498de9[_0x7547d4([0x74,0x68,0x65,0x6e])](()=>{_0x362fb5||_0x10eb22(_0x7547d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a9794(){return _0x30d896[_0x7547d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7547d4([0x76,0x69,0x65,0x77])][_0x7547d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7547d4([0x61,0x75,0x74,0x6f]);}function _0x16309c(){_0x30d896[_0x7547d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7547d4([0x76,0x69,0x65,0x77])][_0x7547d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7547d4([0x61,0x75,0x74,0x6f]);}}function _0x220431(_0x12cbb4){const _0x283131=[new window[(_0x7547d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12ad64=>setTimeout(_0x12ad64,0x45d4ecd9^_0x525f14)),_0x498de9[_0x7547d4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7547d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10b810=>{let _0x439386=0x0;_0x30d896[_0x7547d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x7547d4([0x6f,0x6e])](_0x7547d4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x63adcd,_0x23daf9)=>{_0x23daf9[0x0][_0x7547d4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x439386++,_0x439386==(0x45ddd3ed^_0x525f14)&&(_0x10b810(),_0x63adcd[_0x7547d4([0x6f,0x66,0x66])]());});}))];return window[_0x7547d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7547d4([0x72,0x61,0x63,0x65])](_0x283131)[_0x7547d4([0x74,0x68,0x65,0x6e])](()=>_0x12cbb4);}async function _0x277654(){await _0x498de9,_0x30d896[_0x7547d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x7547d4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf91c66,_0x30d896[_0x7547d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x7547d4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf91c66,_0x30d896[_0x7547d4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7547d4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22190f(_0x58b060){const _0x40671e=_0x49e3d8();_0x30d896[_0x40671e]=_0x7547d4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58b060,_0x58b060!=_0x7547d4([0x56,0x61,0x6c,0x69,0x64])&&_0x277654();}function _0x49e3d8(){const _0x20c2d6=window[_0x7547d4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7547d4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7547d4([0x6e,0x6f,0x77])]())[_0x7547d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7547d4([0x2e]),'');let _0x314468=_0x7547d4([0x50]);for(let _0x4a0a3a=0x0;_0x4a0a3a<_0x20c2d6[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a0a3a+=0x2){let _0x87cf66=window[_0x7547d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20c2d6[_0x7547d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a0a3a,_0x4a0a3a+0x2));_0x87cf66>=_0x3833c6[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x87cf66-=_0x3833c6[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x314468+=_0x3833c6[_0x87cf66];}return _0x314468;}function _0x4c6c75(){const _0x22b396=_0x499608[_0x7547d4([0x73,0x70,0x6c,0x69,0x74])](_0x7547d4([0x2e]));if(0x3!=_0x22b396[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2cc671(_0x22b396[0x1]);function _0x2cc671(_0x339abf){const _0xaaf6b0=_0x1a67bb(_0x339abf);return _0xaaf6b0&&_0x1d6019()?_0xaaf6b0:null;function _0x1d6019(){const _0x124067=_0xaaf6b0[_0x7547d4([0x6a,0x74,0x69])],_0x2dccee=window[_0x7547d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x124067[_0x7547d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x124067[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27fd7f={..._0xaaf6b0,[_0x7547d4([0x6a,0x74,0x69])]:_0x124067[_0x7547d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x124067[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27fd7f[_0x7547d4([0x76,0x63])],_0x1a9581(_0x27fd7f)==_0x2dccee;}}}async function _0x306d3b(){let _0x27ef47=!0x0;try{const _0x374418=_0x499608[_0x7547d4([0x73,0x70,0x6c,0x69,0x74])](_0x7547d4([0x2e])),[_0x57d2cb,_0x49d6f4,_0x5a9e00]=_0x374418;return _0x18434e(_0x57d2cb),await _0x1b3de0(_0x57d2cb,_0x49d6f4,_0x5a9e00),_0x27ef47;}catch{return!0x1;}function _0x18434e(_0x2959a1){const _0x41f07c=_0x1a67bb(_0x2959a1);_0x41f07c&&_0x41f07c[_0x7547d4([0x61,0x6c,0x67])]==_0x7547d4([0x45,0x53,0x32,0x35,0x36])||(_0x27ef47=!0x1);}async function _0x1b3de0(_0x1381e4,_0xb030f8,_0x80fdd1){const _0x1da24f=window[_0x7547d4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7547d4([0x66,0x72,0x6f,0x6d])](_0x53c212(_0x80fdd1),_0x3a6bb0=>_0x3a6bb0[_0x7547d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b8883=new window[(_0x7547d4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7547d4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1381e4+_0x7547d4([0x2e])+_0xb030f8),_0x3f2ea3=window[_0x7547d4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7547d4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f2ea3)return;const _0x43f088=await _0x3f2ea3[_0x7547d4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7547d4([0x6a,0x77,0x6b]),_0x243795,{[_0x7547d4([0x6e,0x61,0x6d,0x65])]:_0x7547d4([0x45,0x43,0x44,0x53,0x41]),[_0x7547d4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7547d4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7547d4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f2ea3[_0x7547d4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7547d4([0x6e,0x61,0x6d,0x65])]:_0x7547d4([0x45,0x43,0x44,0x53,0x41]),[_0x7547d4([0x68,0x61,0x73,0x68])]:{[_0x7547d4([0x6e,0x61,0x6d,0x65])]:_0x7547d4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43f088,_0x1da24f,_0x4b8883)||(_0x27ef47=!0x1);}}function _0x1a67bb(_0x5c2864){return _0x5c2864[_0x7547d4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7547d4([0x65,0x79]))?JSON[_0x7547d4([0x70,0x61,0x72,0x73,0x65])](_0x53c212(_0x5c2864)):null;}function _0x53c212(_0x3d180){return window[_0x7547d4([0x61,0x74,0x6f,0x62])](_0x3d180[_0x7547d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7547d4([0x2b]))[_0x7547d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7547d4([0x2f])));}function _0x1a9581(_0x84a527){let _0x3b7e73=0x1505;function _0x2fc207(_0x13d17e){for(let _0x273e33=0x0;_0x273e33<_0x13d17e[_0x7547d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x273e33++){const _0x38988c=_0x13d17e[_0x7547d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x273e33);_0x3b7e73=(_0x3b7e73<<0x5)+_0x3b7e73+_0x38988c,_0x3b7e73&=_0x3b7e73;}}function _0x2d9647(_0x5bb78c){Array[_0x7547d4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bb78c)?_0x5bb78c[_0x7547d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d9647):_0x5bb78c&&typeof _0x5bb78c==_0x7547d4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7547d4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bb78c)[_0x7547d4([0x73,0x6f,0x72,0x74])]()[_0x7547d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x34813f,_0x32481e])=>{_0x2fc207(_0x34813f),_0x2d9647(_0x32481e);}):_0x2fc207(window[_0x7547d4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bb78c));}return _0x2d9647(_0x84a527),_0x3b7e73>>>0x0;}function _0x2d3027(_0x266820){return _0x266820[_0x7547d4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7547d4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7547d4([0x30]));}function _0x51445e(_0x4d1d88){return _0x4d1d88[_0x7547d4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7547d4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7547d4([0x6a,0x6f,0x69,0x6e])]('');}function _0xf91c66(){}function _0x7547d4(_0x42f0b1){const _0x1b0319=_0x5c40;return _0x42f0b1[_0x1b0319(0x14f)](_0x267882=>String[_0x1b0319(0x157)](_0x267882))[_0x1b0319(0x156)]('');}_0x22190f(await _0x169ffb());}(this);}[_0x5759ba(0x172)](){const _0x3285b8=_0x5759ba,_0x532ae5=this[_0x3285b8(0x154)];if(!_0x532ae5[_0x3285b8(0x15c)][_0x3285b8(0x158)](_0x3285b8(0x170)))return;const _0x1a0178=_0x532ae5[_0x3285b8(0x15c)][_0x3285b8(0x158)](_0x3285b8(0x168))[_0x3285b8(0x146)](_0x52b634=>_0x3285b8(0x159)==typeof _0x52b634&&(!_0x248ec7(_0x52b634)&&isNaN(Number(_0x52b634))));if(_0x1a0178[_0x3285b8(0x167)])throw new _0x1b3665(_0x3285b8(0x16f),null,{'namedPresets':_0x1a0178});}[_0x5759ba(0x164)](){const _0x512638=_0x5759ba,_0x5761ba=this[_0x512638(0x154)],_0x46c744=this[_0x512638(0x154)][_0x512638(0x15c)][_0x512638(0x158)](_0x512638(0x17c));_0x5761ba[_0x512638(0x165)][_0x512638(0x163)](_0x512638(0x177))[_0x512638(0x15f)]({'model':{'key':_0x512638(0x150)},'view':_0x2b606d=>String(_0x2b606d)===String(_0x46c744)?null:{'key':_0x512638(0x15e),'value':{'line-height':_0x2b606d}}}),_0x5761ba[_0x512638(0x165)][_0x512638(0x163)](_0x512638(0x148))[_0x512638(0x15f)]({'model':{'key':_0x512638(0x150),'value':_0x328582=>{const _0x1e10e7=_0x512638;let _0x5500aa=_0x328582[_0x1e10e7(0x161)](_0x1e10e7(0x16d));return _0x4305de(_0x5500aa)&&(_0x5500aa=String(Number(_0x5500aa[_0x1e10e7(0x15a)](0x0,-0x1))/0x64)),String(_0x5500aa)===String(_0x46c744)?null:_0x5500aa;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5759ba(0x147)](){const _0x1e3662=_0x5759ba,_0x2a5c4d=this[_0x1e3662(0x154)],_0x39e706=this[_0x1e3662(0x154)][_0x1e3662(0x15c)][_0x1e3662(0x158)](_0x1e3662(0x17c)),_0xef066=_0x5918c3(this[_0x1e3662(0x154)][_0x1e3662(0x15c)][_0x1e3662(0x158)](_0x1e3662(0x150)))[_0x1e3662(0x146)](_0x591789=>_0x591789[_0x1e3662(0x14a)]),_0x37d2d6=_0x46d071(_0x1e3662(0x150),_0xef066);_0x2a5c4d[_0x1e3662(0x165)][_0x1e3662(0x15f)](_0x37d2d6),_0x2a5c4d[_0x1e3662(0x165)][_0x1e3662(0x163)](_0x1e3662(0x148))[_0x1e3662(0x15f)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1e3662(0x150),'value':_0x9f714=>{const _0x2e53fe=_0x1e3662;let _0x43271f=_0x9f714[_0x2e53fe(0x161)](_0x2e53fe(0x16d));return _0x4305de(_0x43271f)&&(_0x43271f=String(Number(_0x43271f[_0x2e53fe(0x15a)](0x0,-0x1))/0x64)),_0x43271f===String(_0x39e706)?null:_0x37d2d6[_0x2e53fe(0x14a)][_0x2e53fe(0x16a)][_0x2e53fe(0x16b)](_0x43271f)?_0x43271f:null;}}});}}
|
|
23
|
+
const _0x244480=_0x2a02;function _0xbdf6(){const _0x5a42c3=['$block','schema','filter','afterInit','isPremiumPlugin','4MJfmxE','317228ysrpkd','lineHeight.supportAllValues','href','line-height','_preparePredefinedConverters','length','2637439GzhoMj','conversion','fromCharCode','4380836CUIXPp','string','pluginName','define','5211990pqNRur','default','LineHeightEditing','config','26969960RpDYvM','downcast','model','add','upcast','8073996bVwfjB','_prepareAnyValueConverters','commands','join','attributeToAttribute','init','map','requires','_validateConfig','values','lineHeight.defaultValue','lineHeight','editor','slice','for','line-height-invalid-use-of-named-presets','1184376wttadn','setAttributeProperties','includes','style','get','lineHeight.options','getStyle','extend','isOfficialPlugin'];_0xbdf6=function(){return _0x5a42c3;};return _0xbdf6();}(function(_0x70e9b9,_0x4f02ba){const _0xc9651e=_0x2a02,_0x56e653=_0x70e9b9();while(!![]){try{const _0x7fa1a3=-parseInt(_0xc9651e(0xbc))/0x1*(-parseInt(_0xc9651e(0xbd))/0x2)+-parseInt(_0xc9651e(0xae))/0x3+parseInt(_0xc9651e(0xc6))/0x4+parseInt(_0xc9651e(0xca))/0x5+parseInt(_0xc9651e(0x9e))/0x6+parseInt(_0xc9651e(0xc3))/0x7+-parseInt(_0xc9651e(0xce))/0x8;if(_0x7fa1a3===_0x4f02ba)break;else _0x56e653['push'](_0x56e653['shift']());}catch(_0x1df4e4){_0x56e653['push'](_0x56e653['shift']());}}}(_0xbdf6,0xb1d95));import{Plugin as _0x5e6bdd}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x13e27a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x515a25}from'ckeditor5/src/engine.js';import{uid as _0x24f54f,CKEditorError as _0x28ff16}from'ckeditor5/src/utils.js';import{buildDefinition as _0x213440,isLineHeightDefaultValue as _0x1c8a02,normalizeOptions as _0x68193f}from'./utils.js';import{LineHeightTodoListIntegration as _0x5d9a8a}from'./integrations/todolist.js';function _0x2a02(_0x52f55b,_0x15d661){const _0xbdf635=_0xbdf6();return _0x2a02=function(_0x2a0294,_0x49af40){_0x2a0294=_0x2a0294-0x9c;let _0x1863aa=_0xbdf635[_0x2a0294];return _0x1863aa;},_0x2a02(_0x52f55b,_0x15d661);}export class LineHeightEditing extends _0x5e6bdd{static get[_0x244480(0xc8)](){const _0x3c54f3=_0x244480;return _0x3c54f3(0xcc);}static get[_0x244480(0xa5)](){return[_0x5d9a8a];}static get[_0x244480(0xb6)](){return!0x0;}static get[_0x244480(0xbb)](){return!0x0;}constructor(_0x12ad30){const _0x378d34=_0x244480;super(_0x12ad30),_0x12ad30[_0x378d34(0xcd)][_0x378d34(0xc9)](_0x378d34(0xa9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x378d34(0xcb),0x2,2.5,0x3]});}[_0x244480(0xa3)](){const _0x346a7c=_0x244480,_0x1c5a3c=this[_0x346a7c(0xaa)];this[_0x346a7c(0xa6)](),_0x1c5a3c[_0x346a7c(0xd0)][_0x346a7c(0xb8)][_0x346a7c(0xb5)](_0x346a7c(0xb7),{'allowAttributes':_0x346a7c(0xa9)}),_0x1c5a3c[_0x346a7c(0xd0)][_0x346a7c(0xb8)][_0x346a7c(0xaf)](_0x346a7c(0xa9),{'isFormatting':!0x0}),_0x1c5a3c[_0x346a7c(0xa0)][_0x346a7c(0x9c)](_0x346a7c(0xa9),new _0x13e27a(_0x1c5a3c)),this[_0x346a7c(0xaa)][_0x346a7c(0xcd)][_0x346a7c(0xb2)](_0x346a7c(0xbe))?this[_0x346a7c(0x9f)]():this[_0x346a7c(0xc1)]();}[_0x244480(0xba)](){!async function(_0x58aeb8){const _0x5cb4c7=_0x29453e([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]),_0x5303e7=0x45ddd215,_0x464b77=0x45daa85d^_0x5303e7,_0x40837a=window[_0x29453e([0x44,0x61,0x74,0x65])][_0x29453e([0x6e,0x6f,0x77])](),_0x2e0cfb=_0x58aeb8[_0x29453e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x189eef=new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44875e=>{_0x2e0cfb[_0x29453e([0x6f,0x6e,0x63,0x65])](_0x29453e([0x72,0x65,0x61,0x64,0x79]),_0x44875e);}),_0xd8ae90={[_0x29453e([0x6b,0x74,0x79])]:_0x29453e([0x45,0x43]),[_0x29453e([0x75,0x73,0x65])]:_0x29453e([0x73,0x69,0x67]),[_0x29453e([0x63,0x72,0x76])]:_0x29453e([0x50,0x2d,0x32,0x35,0x36]),[_0x29453e([0x78])]:_0x29453e([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]),[_0x29453e([0x79])]:_0x29453e([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]),[_0x29453e([0x61,0x6c,0x67])]:_0x29453e([0x45,0x53,0x32,0x35,0x36])},_0x4c1956=_0x2e0cfb[_0x29453e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29453e([0x67,0x65,0x74])](_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29d99c(){let _0x1d70da,_0x5072c0=null,_0x5c3a43=null;try{if(_0x4c1956==_0x29453e([0x47,0x50,0x4c]))return _0x29453e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d70da=_0x5de24c(),!_0x1d70da)return _0x29453e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d70da[_0x29453e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c3a43=_0x1437be(_0x1d70da[_0x29453e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d70da[_0x29453e([0x6a,0x74,0x69])])),await _0x510417()?_0x1cb2cc()?_0x2427f2()?_0x29453e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20082a()?(_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29453e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5072c0=_0x342580(_0x29453e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29453e([0x74,0x72,0x69,0x61,0x6c])&&(_0x5072c0=_0x342580(_0x29453e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4852f8()):_0x29453e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29453e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29453e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29453e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2427f2(){const _0x39ead6=[_0x29453e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29453e([0x74,0x72,0x69,0x61,0x6c])][_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40837a/0x3e8:0xe10*_0x464b77;return _0x1d70da[_0x29453e([0x65,0x78,0x70])]<_0x39ead6;}function _0x1cb2cc(){const _0x57615c=_0x1d70da[_0x29453e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57615c&&(!!_0x57615c[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29453e([0x2a]))||!!_0x57615c[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29453e([0x4c,0x48])));}function _0x20082a(){const _0x351dfb=_0x2a02,_0x31182c=_0x1d70da[_0x29453e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31182c||0x0==_0x31182c[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15385e}=new URL(window[_0x29453e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x351dfb(0xbf)]);if(_0x31182c[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15385e))return!0x0;const _0x5f21a0=_0x15385e[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e]));return _0x31182c[_0x29453e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bd696=>_0x3bd696[_0x29453e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29453e([0x2a])))[_0x29453e([0x6d,0x61,0x70])](_0x13413f=>_0x13413f[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e])))[_0x29453e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fdc03=>_0x3fdc03[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f21a0[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29453e([0x6d,0x61,0x70])](_0x5b84e5=>Array(_0x5f21a0[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b84e5[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29453e([0x66,0x69,0x6c,0x6c])](_0x5b84e5[0x0]===_0x29453e([0x2a])?_0x29453e([0x2a]):'')[_0x29453e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b84e5))[_0x29453e([0x73,0x6f,0x6d,0x65])](_0x3d2390=>_0x5f21a0[_0x29453e([0x65,0x76,0x65,0x72,0x79])]((_0xe88f7e,_0x385716)=>_0x3d2390[_0x385716]===_0xe88f7e||_0x3d2390[_0x385716]===_0x29453e([0x2a])));}function _0x4852f8(){return _0x5072c0&&_0x5c3a43?new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x125a7d,_0x11841e)=>{_0x5072c0[_0x29453e([0x74,0x68,0x65,0x6e])](_0x125a7d,_0x11841e),_0x5c3a43[_0x29453e([0x74,0x68,0x65,0x6e])](_0x581219=>{_0x581219!=_0x29453e([0x56,0x61,0x6c,0x69,0x64])&&_0x125a7d(_0x581219);},_0x11841e);}):_0x5072c0||_0x5c3a43||_0x29453e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1437be(_0x3637f1,_0x2e3e7b){return new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x390a56=>{if(_0x153b53())return _0x390a56(_0x29453e([0x56,0x61,0x6c,0x69,0x64]));_0x592bff(),_0x2e0cfb[_0x29453e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29453e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d1313=!0x1;const _0x9c6d90=_0x24f54f();function _0xbc0557(_0x2bf864){return!!_0x2bf864&&(typeof _0x2bf864===_0x29453e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bf864===_0x29453e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bf864[_0x29453e([0x74,0x68,0x65,0x6e])]===_0x29453e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bf864[_0x29453e([0x63,0x61,0x74,0x63,0x68])]===_0x29453e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bbc10(_0x1dafda){_0x3faf81(_0x1dafda)[_0x29453e([0x74,0x68,0x65,0x6e])](_0x1ca49a=>{if(!_0x1ca49a||_0x1ca49a[_0x29453e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29453e([0x6f,0x6b]))return _0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x169caa(_0xbf86ee(_0x9c6d90+_0x2e3e7b))!=_0x1ca49a[_0x29453e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29453e([0x56,0x61,0x6c,0x69,0x64]);})[_0x29453e([0x74,0x68,0x65,0x6e])](_0x48a2ff=>(_0xab81e5(),_0x48a2ff),()=>{const _0x4e1d9e=_0x48a2af();return null==_0x4e1d9e?(_0xab81e5(),_0x29453e([0x56,0x61,0x6c,0x69,0x64])):_0x29453e(_0x40837a-_0x4e1d9e>(0x61d15615^_0x5303e7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29453e([0x74,0x68,0x65,0x6e])](_0x390a56)[_0x29453e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x390a56(_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c77cb=0x45eb3c95^_0x5303e7;function _0xab81e5(){const _0x562a7f=_0x29453e([0x6c,0x6c,0x63,0x74,0x2d])+_0x169caa(_0xbf86ee(_0x3637f1)),_0x443ed0=_0x37202b(_0x169caa(window[_0x29453e([0x4d,0x61,0x74,0x68])][_0x29453e([0x63,0x65,0x69,0x6c])](_0x40837a/_0x3c77cb)));window[_0x29453e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29453e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x562a7f,_0x443ed0);}function _0x48a2af(){const _0x503f49=_0x29453e([0x6c,0x6c,0x63,0x74,0x2d])+_0x169caa(_0xbf86ee(_0x3637f1)),_0x4a6fc6=window[_0x29453e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29453e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x503f49);return _0x4a6fc6?window[_0x29453e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37202b(_0x4a6fc6),0x10)*_0x3c77cb:null;}function _0x3faf81(_0x6f4bd3){return new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x122056,_0x2a6f86)=>{_0x6f4bd3[_0x29453e([0x74,0x68,0x65,0x6e])](_0x122056,_0x2a6f86),window[_0x29453e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a6f86,0x45dc06d5^_0x5303e7);});}}_0x2e0cfb[_0x29453e([0x6f,0x6e])](_0x29453e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2282b2,_0x537333)=>{if(_0x537333[0x0]!=_0x3637f1)return _0x390a56(_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x537333[0x1]={..._0x537333[0x1],[_0x29453e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9c6d90};},{[_0x29453e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29453e([0x68,0x69,0x67,0x68])}),_0x2e0cfb[_0x29453e([0x6f,0x6e])](_0x29453e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f1393=>{_0xbc0557(_0x2f1393[_0x29453e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d1313=!0x0,_0x4bbc10(_0x2f1393[_0x29453e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29453e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29453e([0x6c,0x6f,0x77])}),_0x189eef[_0x29453e([0x74,0x68,0x65,0x6e])](()=>{_0x3d1313||_0x390a56(_0x29453e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x153b53(){return _0x2e0cfb[_0x29453e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29453e([0x76,0x69,0x65,0x77])][_0x29453e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29453e([0x61,0x75,0x74,0x6f]);}function _0x592bff(){_0x2e0cfb[_0x29453e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29453e([0x76,0x69,0x65,0x77])][_0x29453e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29453e([0x61,0x75,0x74,0x6f]);}}function _0x342580(_0x6ab55d){const _0x501fd2=[new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf7d74=>setTimeout(_0xaf7d74,0x45d4ecd9^_0x5303e7)),_0x189eef[_0x29453e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x696cb5=>{let _0x4dcbc9=0x0;_0x2e0cfb[_0x29453e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29453e([0x6f,0x6e])](_0x29453e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf2799b,_0x4e8010)=>{_0x4e8010[0x0][_0x29453e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4dcbc9++,_0x4dcbc9==(0x45ddd3ed^_0x5303e7)&&(_0x696cb5(),_0xf2799b[_0x29453e([0x6f,0x66,0x66])]());});}))];return window[_0x29453e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29453e([0x72,0x61,0x63,0x65])](_0x501fd2)[_0x29453e([0x74,0x68,0x65,0x6e])](()=>_0x6ab55d);}async function _0x45dac5(){await _0x189eef,_0x2e0cfb[_0x29453e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29453e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56c5af,_0x2e0cfb[_0x29453e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29453e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56c5af,_0x2e0cfb[_0x29453e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29453e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x478293(_0x515eba){const _0x48c133=_0x2745c9();_0x2e0cfb[_0x48c133]=_0x29453e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x515eba,_0x515eba!=_0x29453e([0x56,0x61,0x6c,0x69,0x64])&&_0x45dac5();}function _0x2745c9(){const _0x2b8bf2=window[_0x29453e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29453e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29453e([0x6e,0x6f,0x77])]())[_0x29453e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29453e([0x2e]),'');let _0x5ab498=_0x29453e([0x50]);for(let _0xbffbf6=0x0;_0xbffbf6<_0x2b8bf2[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbffbf6+=0x2){let _0x5d8f1c=window[_0x29453e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b8bf2[_0x29453e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbffbf6,_0xbffbf6+0x2));_0x5d8f1c>=_0x5cb4c7[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d8f1c-=_0x5cb4c7[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ab498+=_0x5cb4c7[_0x5d8f1c];}return _0x5ab498;}function _0x5de24c(){const _0x41a8a9=_0x4c1956[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e]));if(0x3!=_0x41a8a9[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x502202(_0x41a8a9[0x1]);function _0x502202(_0x2dfa3d){const _0x5b67f7=_0x4a337f(_0x2dfa3d);return _0x5b67f7&&_0x41536b()?_0x5b67f7:null;function _0x41536b(){const _0x5768f3=_0x5b67f7[_0x29453e([0x6a,0x74,0x69])],_0x3cd463=window[_0x29453e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5768f3[_0x29453e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5768f3[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33e7f1={..._0x5b67f7,[_0x29453e([0x6a,0x74,0x69])]:_0x5768f3[_0x29453e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5768f3[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33e7f1[_0x29453e([0x76,0x63])],_0xbf86ee(_0x33e7f1)==_0x3cd463;}}}async function _0x510417(){let _0xd1012b=!0x0;try{const _0x21f6b4=_0x4c1956[_0x29453e([0x73,0x70,0x6c,0x69,0x74])](_0x29453e([0x2e])),[_0x35c695,_0x255370,_0x7ed93]=_0x21f6b4;return _0x1367a8(_0x35c695),await _0x41331d(_0x35c695,_0x255370,_0x7ed93),_0xd1012b;}catch{return!0x1;}function _0x1367a8(_0x345ac6){const _0x43e4c6=_0x4a337f(_0x345ac6);_0x43e4c6&&_0x43e4c6[_0x29453e([0x61,0x6c,0x67])]==_0x29453e([0x45,0x53,0x32,0x35,0x36])||(_0xd1012b=!0x1);}async function _0x41331d(_0xfbc5cb,_0x2c6c87,_0x5919d8){const _0x55eb5c=window[_0x29453e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29453e([0x66,0x72,0x6f,0x6d])](_0x1e96ed(_0x5919d8),_0x527b59=>_0x527b59[_0x29453e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3d2453=new window[(_0x29453e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29453e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfbc5cb+_0x29453e([0x2e])+_0x2c6c87),_0x204716=window[_0x29453e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29453e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x204716)return;const _0x23be68=await _0x204716[_0x29453e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29453e([0x6a,0x77,0x6b]),_0xd8ae90,{[_0x29453e([0x6e,0x61,0x6d,0x65])]:_0x29453e([0x45,0x43,0x44,0x53,0x41]),[_0x29453e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29453e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29453e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x204716[_0x29453e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29453e([0x6e,0x61,0x6d,0x65])]:_0x29453e([0x45,0x43,0x44,0x53,0x41]),[_0x29453e([0x68,0x61,0x73,0x68])]:{[_0x29453e([0x6e,0x61,0x6d,0x65])]:_0x29453e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23be68,_0x55eb5c,_0x3d2453)||(_0xd1012b=!0x1);}}function _0x4a337f(_0x593e86){return _0x593e86[_0x29453e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29453e([0x65,0x79]))?JSON[_0x29453e([0x70,0x61,0x72,0x73,0x65])](_0x1e96ed(_0x593e86)):null;}function _0x1e96ed(_0x520494){return window[_0x29453e([0x61,0x74,0x6f,0x62])](_0x520494[_0x29453e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29453e([0x2b]))[_0x29453e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29453e([0x2f])));}function _0xbf86ee(_0x3da6ec){let _0x3ef0fe=0x1505;function _0x4199b7(_0x32dbcf){for(let _0xbefc45=0x0;_0xbefc45<_0x32dbcf[_0x29453e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbefc45++){const _0x1829da=_0x32dbcf[_0x29453e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xbefc45);_0x3ef0fe=(_0x3ef0fe<<0x5)+_0x3ef0fe+_0x1829da,_0x3ef0fe&=_0x3ef0fe;}}function _0x33727d(_0x439448){Array[_0x29453e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x439448)?_0x439448[_0x29453e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33727d):_0x439448&&typeof _0x439448==_0x29453e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29453e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x439448)[_0x29453e([0x73,0x6f,0x72,0x74])]()[_0x29453e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57071e,_0x2a47d2])=>{_0x4199b7(_0x57071e),_0x33727d(_0x2a47d2);}):_0x4199b7(window[_0x29453e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x439448));}return _0x33727d(_0x3da6ec),_0x3ef0fe>>>0x0;}function _0x169caa(_0x4fa00d){return _0x4fa00d[_0x29453e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29453e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29453e([0x30]));}function _0x37202b(_0x1deb05){return _0x1deb05[_0x29453e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29453e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29453e([0x6a,0x6f,0x69,0x6e])]('');}function _0x56c5af(){}function _0x29453e(_0x40ad6c){const _0x21a8c4=_0x2a02;return _0x40ad6c[_0x21a8c4(0xa4)](_0x12e983=>String[_0x21a8c4(0xc5)](_0x12e983))[_0x21a8c4(0xa1)]('');}_0x478293(await _0x29d99c());}(this);}[_0x244480(0xa6)](){const _0x290d08=_0x244480,_0x454290=this[_0x290d08(0xaa)];if(!_0x454290[_0x290d08(0xcd)][_0x290d08(0xb2)](_0x290d08(0xbe)))return;const _0x83d56f=_0x454290[_0x290d08(0xcd)][_0x290d08(0xb2)](_0x290d08(0xb3))[_0x290d08(0xb9)](_0x330f06=>_0x290d08(0xc7)==typeof _0x330f06&&(!_0x1c8a02(_0x330f06)&&isNaN(Number(_0x330f06))));if(_0x83d56f[_0x290d08(0xc2)])throw new _0x28ff16(_0x290d08(0xad),null,{'namedPresets':_0x83d56f});}[_0x244480(0x9f)](){const _0x437321=_0x244480,_0x13fe6a=this[_0x437321(0xaa)],_0x34bf7c=this[_0x437321(0xaa)][_0x437321(0xcd)][_0x437321(0xb2)](_0x437321(0xa8));_0x13fe6a[_0x437321(0xc4)][_0x437321(0xac)](_0x437321(0xcf))[_0x437321(0xa2)]({'model':{'key':_0x437321(0xa9)},'view':_0x533eb2=>String(_0x533eb2)===String(_0x34bf7c)?null:{'key':_0x437321(0xb1),'value':{'line-height':_0x533eb2}}}),_0x13fe6a[_0x437321(0xc4)][_0x437321(0xac)](_0x437321(0x9d))[_0x437321(0xa2)]({'model':{'key':_0x437321(0xa9),'value':_0x2d68f3=>{const _0xf5e753=_0x437321;let _0x2252f8=_0x2d68f3[_0xf5e753(0xb4)](_0xf5e753(0xc0));return _0x515a25(_0x2252f8)&&(_0x2252f8=String(Number(_0x2252f8[_0xf5e753(0xab)](0x0,-0x1))/0x64)),String(_0x2252f8)===String(_0x34bf7c)?null:_0x2252f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x244480(0xc1)](){const _0x409767=_0x244480,_0x3b6e60=this[_0x409767(0xaa)],_0x43d337=this[_0x409767(0xaa)][_0x409767(0xcd)][_0x409767(0xb2)](_0x409767(0xa8)),_0x32d3cb=_0x68193f(this[_0x409767(0xaa)][_0x409767(0xcd)][_0x409767(0xb2)](_0x409767(0xa9)))[_0x409767(0xb9)](_0xbc3d1a=>_0xbc3d1a[_0x409767(0xd0)]),_0x4bf58d=_0x213440(_0x409767(0xa9),_0x32d3cb);_0x3b6e60[_0x409767(0xc4)][_0x409767(0xa2)](_0x4bf58d),_0x3b6e60[_0x409767(0xc4)][_0x409767(0xac)](_0x409767(0x9d))[_0x409767(0xa2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x409767(0xa9),'value':_0x41a406=>{const _0x1acc91=_0x409767;let _0x3071df=_0x41a406[_0x1acc91(0xb4)](_0x1acc91(0xc0));return _0x515a25(_0x3071df)&&(_0x3071df=String(Number(_0x3071df[_0x1acc91(0xab)](0x0,-0x1))/0x64)),_0x3071df===String(_0x43d337)?null:_0x4bf58d[_0x1acc91(0xd0)][_0x1acc91(0xa7)][_0x1acc91(0xb0)](_0x3071df)?_0x3071df:null;}}});}}
|