@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251214.0 → 0.0.0-nightly-next-20251215.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>G,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>M});var e=n(782),t=n(584);function r(e,t){const n=o();return(r=function(e,t){return n[e-=180]})(e,t)}function o(){const e=["798295fqEefe","execute","232109USrtVK","18hCkwyd","26016AGtRpx","2NeIRzw","document","614416pwgVqF","isEnabled","getAttribute","lineHeight","653946wpjxeB","from","462hYpfaM","getSelectedBlocks","checkAttribute","selection","editor","schema","_canHaveLineHeight","model","change","refresh","30360MZYsBF","filter","19978fshWGb","100ZKsxAs","setAttribute","value","removeAttribute"];return(o=function(){return e})()}const s=r;!function(e){const t=r,n=e();for(;;)try{if(179176===-parseInt(t(203))/1*(-parseInt(t(206))/2)+-parseInt(t(182))/3+-parseInt(t(194))/4+-parseInt(t(201))/5+parseInt(t(184))/6*(-parseInt(t(196))/7)+parseInt(t(205))/8*(-parseInt(t(204))/9)+parseInt(t(197))/10*(parseInt(t(208))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[s(193)](){const e=s,n=this[e(188)][e(191)][e(207)],i=(0,t.first)(n[e(187)][e(185)]());this[e(209)]=Boolean(i)&&this[e(190)](i),this[e(199)]=this[e(209)]&&i[e(180)](e(181))}[s(202)](e={}){const t=s,n=this[t(188)][t(191)],i=n[t(207)][t(187)],r=e[t(199)];n[t(192)](e=>{const n=t,o=Array[n(183)](i[n(185)]())[n(195)](e=>this[n(190)](e));for(const t of o)r?e[n(198)](n(181),r,t):e[n(200)](n(181),t)})}[s(190)](e){const t=s;return this[t(188)][t(191)][t(189)][t(186)](e,t(181))}}var c=n(783);function l(e,t){const n=p();return(l=function(e,t){return n[e-=351]})(e,t)}!function(e){const t=l,n=e();for(;;)try{if(738704===-parseInt(t(373))/1+-parseInt(t(375))/2*(-parseInt(t(360))/3)+parseInt(t(359))/4+-parseInt(t(365))/5+-parseInt(t(352))/6*(-parseInt(t(380))/7)+parseInt(t(368))/8*(-parseInt(t(354))/9)+parseInt(t(371))/10*(-parseInt(t(364))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const u={get single(){const e=l;return{title:e(355),model:e(384),view:{key:e(378),value:e(351)}}},get double(){const e=l;return{title:e(385),model:e(370),view:{key:e(378),value:e(357)}}}};function d(e){const t=l;return t(362)==typeof e&&t(379)===e[t(363)]()}function h(e){const t=l;return e[t(372)][t(383)](n=>d(n)?{title:String(e[t(369)]),model:t(379)}:(t(374)==typeof n&&(n=String(n)),t(362)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(356),styles:{"line-height":n}}}:function(e){const t=l;return t(362)==typeof e?u[e]:u[e[t(361)]]}(n)))[t(376)](e=>void 0!==e)}function p(){const e=["840310deoyyZ","number","1553738bCxRFc","filter","value","class","default","3097892tOpluB","values","view","map","single","Double","line-height-single","18PSfLko","key","2313qvdNXa","Single","span","line-height-double","line-height:","4775500TWkQtE","3PZHPFo","model","string","toLowerCase","1119701iNovhM","20855YPRcQX","push","style","9032sLTxBv","defaultValue","double","140DuRyoj","options"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const E=O;function O(e,t){const n=A();return(O=function(e,t){return n[e-=145]})(e,t)}!function(e){const t=O,n=e();for(;;)try{if(421578===parseInt(t(146))/1*(-parseInt(t(167))/2)+-parseInt(t(145))/3+parseInt(t(163))/4*(-parseInt(t(176))/5)+-parseInt(t(160))/6*(parseInt(t(154))/7)+parseInt(t(180))/8*(-parseInt(t(178))/9)+-parseInt(t(189))/10+-parseInt(t(151))/11*(-parseInt(t(190))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[E(161)](){return E(171)}static get[E(169)](){return!0}static get[E(188)](){return!0}[E(162)](){const e=E,{plugins:t,conversion:n}=this[e(182)];t[e(186)](e(173))&&t[e(186)](e(170))&&(t[e(187)](e(173))[e(168)]({scope:e(184),attributeName:e(152),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(156)==o[s(149)](s(165))&&n&&(t[s(166)](s(179),i),t[s(181)](s(185),n,i))}}),n[e(174)](e(147))[e(183)]({view:{name:e(153),classes:e(157)},model:e(177),converterPriority:e(175)}),n[e(174)](e(147))[e(155)](t=>{const n=e;t.on(n(172),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(164)](n[r(148)]);if(!o)return;const s=o[r(164)];s[r(158)]=!1,i[r(159)][r(150)](n[r(148)],s)}}({name:"li",classes:n(179),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function A(){const e=["getAttribute","consume","33VjpqbV","lineHeight","span","8106SnClZe","add","todo","todo-list__label__description","name","consumable","3354FXfemu","pluginName","init","5532jAGUTc","match","listType","addClass","697394HDPKcK","registerDowncastStrategy","isOfficialPlugin","TodoListEditing","LineHeightTodoListIntegration","element:li","ListEditing","for","high","15QbnCwO","paragraph","36idBuzk","ck-list-marker-line-height","1061272AZhhAo","setStyle","editor","elementToElement","item","--ck-content-list-marker-line-height","has","get","isPremiumPlugin","267170ralLuo","9596424AUBtYb","213930WIKKkk","2YxjnHk","upcast","viewItem"];return(A=function(){return e})()}const S=T;function T(e,t){const n=P();return(T=function(e,t){return n[e-=436]})(e,t)}function P(){const e=["220410DEYDAO","default","_preparePredefinedConverters","lineHeight.options","12bcmtpP","getStyle","12820LcGFby","lineHeight","LineHeightEditing","requires","length","define","upcast","afterInit","lineHeight.defaultValue","for","$block","style","add","162BSJdmy","_validateConfig","704pvSjYf","2943400aLerwW","href","model","setAttributeProperties","config","string","get","_prepareAnyValueConverters","filter","includes","extend","565696wUQlOk","isOfficialPlugin","join","attributeToAttribute","line-height-invalid-use-of-named-presets","631425sXxCpE","isPremiumPlugin","commands","slice","editor","69680oWlaJm","fromCharCode","values","init","conversion","line-height","lineHeight.supportAllValues","1514387Pzzbrx","pluginName","downcast","map","schema"];return(P=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(242560===-parseInt(t(448))/1+parseInt(t(481))/2+-parseInt(t(486))/3+parseInt(t(469))/4*(parseInt(t(454))/5)+-parseInt(t(452))/6*(-parseInt(t(443))/7)+-parseInt(t(470))/8+-parseInt(t(467))/9*(parseInt(t(436))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class x extends e.Plugin{static get[S(444)](){return S(456)}static get[S(457)](){return[C]}static get[S(482)](){return!0}static get[S(487)](){return!0}constructor(e){const t=S;super(e),e[t(474)][t(459)](t(455),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(449),2,2.5,3]})}[S(439)](){const e=S,t=this[e(490)];this[e(468)](),t[e(472)][e(447)][e(480)](e(464),{allowAttributes:e(455)}),t[e(472)][e(447)][e(473)](e(455),{isFormatting:!0}),t[e(488)][e(466)](e(455),new a(t)),this[e(490)][e(474)][e(476)](e(442))?this[e(477)]():this[e(450)]()}[S(461)](){!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=T;return e[t(446)](e=>String[t(437)](e))[t(483)]("")}!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:1765670400;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=T,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(471)]);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(468)](){const e=S,n=this[e(490)];if(!n[e(474)][e(476)](e(442)))return;const i=n[e(474)][e(476)](e(451))[e(478)](t=>e(475)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(458)])throw new t.CKEditorError(e(485),null,{namedPresets:i})}[S(477)](){const e=S,t=this[e(490)],n=this[e(490)][e(474)][e(476)](e(462));t[e(440)][e(463)](e(445))[e(484)]({model:{key:e(455)},view:t=>String(t)===String(n)?null:{key:e(465),value:{"line-height":t}}}),t[e(440)][e(463)](e(460))[e(484)]({model:{key:e(455),value:t=>{const i=e;let r=t[i(453)](i(441));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(489)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(450)](){const e=S,t=this[e(490)],n=this[e(490)][e(474)][e(476)](e(462)),i=h(this[e(490)][e(474)][e(476)](e(455)))[e(478)](t=>t[e(472)]),r=function(e,t){const n=l,i={model:{key:e,values:[]},view:{}};for(const e of t)n(378)===e[n(382)]?.[n(353)]?(i[n(361)][n(381)][n(366)](e[n(361)]),i[n(382)][e[n(361)]]={key:n(378),value:e[n(382)][n(377)]}):(i[n(361)][n(381)][n(366)](e[n(361)]),i[n(382)][e[n(361)]]={key:n(367),value:n(358)+e[n(361)]+";"});return i}(e(455),i);t[e(440)][e(484)](r),t[e(440)][e(463)](e(460))[e(484)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(455),value:t=>{const i=e;let o=t[i(453)](i(441));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(489)](0,-1))/100)),o===String(n)?null:r[i(472)][i(438)][i(479)](o)?o:null}}})}}var N=n(311),K=n(355),B=n(784),V={attributes:{"data-cke":!0}};V.setAttributes=b(),V.insert=y().bind(null,"head"),V.domAPI=w(),V.insertStyleElement=_();g()(B.A,V);B.A&&B.A.locals&&B.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return h(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,N.createDropdown)(r);return(0,N.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function j(e,t){var n=R();return(j=function(e,t){return n[e-=219]})(e,t)}var D=j;function R(){var e=["requires","13052286DzKmWw","LineHeight","672443ImhSnK","2294685CoGihe","1679792pBHBQk","1225252CMdmfa","404GnuMaC","isOfficialPlugin","1094440lzDOnv","isPremiumPlugin","22015BYuTbZ","pluginName","18eAIdCK"];return(R=function(){return e})()}!function(e){for(var t=j,n=e();;)try{if(759210===-parseInt(t(221))/1+-parseInt(t(223))/2+parseInt(t(222))/3+parseInt(t(225))/4*(parseInt(t(229))/5)+-parseInt(t(231))/6*(parseInt(t(224))/7)+parseInt(t(227))/8+parseInt(t(219))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R);class G extends e.Plugin{static get[D(232)](){return[x,M]}static get[D(230)](){return D(220)}static get[D(226)](){return!0}static get[D(228)](){return!0}}function U(){var e=["5729808nwRFRN","4GRTkEt","3oEbFfB","443804zZHMPq","1658738sYyCvp","8360015HwkkgH","153870OyRhoR","635418WmNHaC","36KMKnNv","8196190McaldZ"];return(U=function(){return e})()}function F(e,t){var n=U();return(F=function(e,t){return n[e-=142]})(e,t)}!function(e){for(var t=F,n=e();;)try{if(933107===-parseInt(t(148))/1+-parseInt(t(149))/2*(parseInt(t(147))/3)+parseInt(t(146))/4*(-parseInt(t(150))/5)+-parseInt(t(151))/6+-parseInt(t(142))/7+parseInt(t(145))/8+-parseInt(t(143))/9*(-parseInt(t(144))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>G,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>A,LineHeightUI:()=>M});var e=n(782),t=n(584);function r(e,t){const n=o();return(r=function(e,t){return n[e-=180]})(e,t)}function o(){const e=["798295fqEefe","execute","232109USrtVK","18hCkwyd","26016AGtRpx","2NeIRzw","document","614416pwgVqF","isEnabled","getAttribute","lineHeight","653946wpjxeB","from","462hYpfaM","getSelectedBlocks","checkAttribute","selection","editor","schema","_canHaveLineHeight","model","change","refresh","30360MZYsBF","filter","19978fshWGb","100ZKsxAs","setAttribute","value","removeAttribute"];return(o=function(){return e})()}const s=r;!function(e){const t=r,n=e();for(;;)try{if(179176===-parseInt(t(203))/1*(-parseInt(t(206))/2)+-parseInt(t(182))/3+-parseInt(t(194))/4+-parseInt(t(201))/5+parseInt(t(184))/6*(-parseInt(t(196))/7)+parseInt(t(205))/8*(-parseInt(t(204))/9)+parseInt(t(197))/10*(parseInt(t(208))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[s(193)](){const e=s,n=this[e(188)][e(191)][e(207)],i=(0,t.first)(n[e(187)][e(185)]());this[e(209)]=Boolean(i)&&this[e(190)](i),this[e(199)]=this[e(209)]&&i[e(180)](e(181))}[s(202)](e={}){const t=s,n=this[t(188)][t(191)],i=n[t(207)][t(187)],r=e[t(199)];n[t(192)](e=>{const n=t,o=Array[n(183)](i[n(185)]())[n(195)](e=>this[n(190)](e));for(const t of o)r?e[n(198)](n(181),r,t):e[n(200)](n(181),t)})}[s(190)](e){const t=s;return this[t(188)][t(191)][t(189)][t(186)](e,t(181))}}var c=n(783);function l(e,t){const n=p();return(l=function(e,t){return n[e-=351]})(e,t)}!function(e){const t=l,n=e();for(;;)try{if(738704===-parseInt(t(373))/1+-parseInt(t(375))/2*(-parseInt(t(360))/3)+parseInt(t(359))/4+-parseInt(t(365))/5+-parseInt(t(352))/6*(-parseInt(t(380))/7)+parseInt(t(368))/8*(-parseInt(t(354))/9)+parseInt(t(371))/10*(-parseInt(t(364))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const u={get single(){const e=l;return{title:e(355),model:e(384),view:{key:e(378),value:e(351)}}},get double(){const e=l;return{title:e(385),model:e(370),view:{key:e(378),value:e(357)}}}};function d(e){const t=l;return t(362)==typeof e&&t(379)===e[t(363)]()}function h(e){const t=l;return e[t(372)][t(383)](n=>d(n)?{title:String(e[t(369)]),model:t(379)}:(t(374)==typeof n&&(n=String(n)),t(362)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(356),styles:{"line-height":n}}}:function(e){const t=l;return t(362)==typeof e?u[e]:u[e[t(361)]]}(n)))[t(376)](e=>void 0!==e)}function p(){const e=["840310deoyyZ","number","1553738bCxRFc","filter","value","class","default","3097892tOpluB","values","view","map","single","Double","line-height-single","18PSfLko","key","2313qvdNXa","Single","span","line-height-double","line-height:","4775500TWkQtE","3PZHPFo","model","string","toLowerCase","1119701iNovhM","20855YPRcQX","push","style","9032sLTxBv","defaultValue","double","140DuRyoj","options"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const E=O;function O(e,t){const n=C();return(O=function(e,t){return n[e-=145]})(e,t)}!function(e){const t=O,n=e();for(;;)try{if(421578===parseInt(t(146))/1*(-parseInt(t(167))/2)+-parseInt(t(145))/3+parseInt(t(163))/4*(-parseInt(t(176))/5)+-parseInt(t(160))/6*(parseInt(t(154))/7)+parseInt(t(180))/8*(-parseInt(t(178))/9)+-parseInt(t(189))/10+-parseInt(t(151))/11*(-parseInt(t(190))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class A extends e.Plugin{static get[E(161)](){return E(171)}static get[E(169)](){return!0}static get[E(188)](){return!0}[E(162)](){const e=E,{plugins:t,conversion:n}=this[e(182)];t[e(186)](e(173))&&t[e(186)](e(170))&&(t[e(187)](e(173))[e(168)]({scope:e(184),attributeName:e(152),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(156)==o[s(149)](s(165))&&n&&(t[s(166)](s(179),i),t[s(181)](s(185),n,i))}}),n[e(174)](e(147))[e(183)]({view:{name:e(153),classes:e(157)},model:e(177),converterPriority:e(175)}),n[e(174)](e(147))[e(155)](t=>{const n=e;t.on(n(172),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(164)](n[r(148)]);if(!o)return;const s=o[r(164)];s[r(158)]=!1,i[r(159)][r(150)](n[r(148)],s)}}({name:"li",classes:n(179),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function C(){const e=["getAttribute","consume","33VjpqbV","lineHeight","span","8106SnClZe","add","todo","todo-list__label__description","name","consumable","3354FXfemu","pluginName","init","5532jAGUTc","match","listType","addClass","697394HDPKcK","registerDowncastStrategy","isOfficialPlugin","TodoListEditing","LineHeightTodoListIntegration","element:li","ListEditing","for","high","15QbnCwO","paragraph","36idBuzk","ck-list-marker-line-height","1061272AZhhAo","setStyle","editor","elementToElement","item","--ck-content-list-marker-line-height","has","get","isPremiumPlugin","267170ralLuo","9596424AUBtYb","213930WIKKkk","2YxjnHk","upcast","viewItem"];return(C=function(){return e})()}const S=T;function T(e,t){const n=P();return(T=function(e,t){return n[e-=217]})(e,t)}function P(){const e=["1neIHWP","lineHeight.options","9594AOKQBf","lineHeight","href","_validateConfig","editor","lineHeight.defaultValue","upcast","config","$block","values","862326zthKQb","extend","for","conversion","getStyle","model","length","_prepareAnyValueConverters","slice","_preparePredefinedConverters","define","filter","line-height-invalid-use-of-named-presets","lineHeight.supportAllValues","default","schema","style","1481810dpCJYu","downcast","12kIueVY","get","line-height","join","requires","includes","setAttributeProperties","pluginName","commands","698560wwujPl","afterInit","853083XMmkZt","2336787wGBAjr","attributeToAttribute","isOfficialPlugin","isPremiumPlugin","fromCharCode","add","string","122192bBdUSy","8eAYiRt","LineHeightEditing","init","map"];return(P=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(133387===-parseInt(t(252))/1*(-parseInt(t(254))/2)+-parseInt(t(228))/3*(-parseInt(t(247))/4)+parseInt(t(237))/5+-parseInt(t(264))/6+parseInt(t(239))/7+-parseInt(t(248))/8*(parseInt(t(240))/9)+parseInt(t(226))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class x extends e.Plugin{static get[S(235)](){return S(249)}static get[S(232)](){return[A]}static get[S(242)](){return!0}static get[S(243)](){return!0}constructor(e){const t=S;super(e),e[t(261)][t(219)](t(255),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(223),2,2.5,3]})}[S(250)](){const e=S,t=this[e(258)];this[e(257)](),t[e(269)][e(224)][e(265)](e(262),{allowAttributes:e(255)}),t[e(269)][e(224)][e(234)](e(255),{isFormatting:!0}),t[e(236)][e(245)](e(255),new a(t)),this[e(258)][e(261)][e(229)](e(222))?this[e(271)]():this[e(218)]()}[S(238)](){!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=T;return e[t(251)](e=>String[t(244)](e))[t(231)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function f(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=p(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1765756800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=T,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(256)]);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(257)](){const e=S,n=this[e(258)];if(!n[e(261)][e(229)](e(222)))return;const i=n[e(261)][e(229)](e(253))[e(220)](t=>e(246)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(270)])throw new t.CKEditorError(e(221),null,{namedPresets:i})}[S(271)](){const e=S,t=this[e(258)],n=this[e(258)][e(261)][e(229)](e(259));t[e(267)][e(266)](e(227))[e(241)]({model:{key:e(255)},view:t=>String(t)===String(n)?null:{key:e(225),value:{"line-height":t}}}),t[e(267)][e(266)](e(260))[e(241)]({model:{key:e(255),value:t=>{const i=e;let r=t[i(268)](i(230));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(217)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(218)](){const e=S,t=this[e(258)],n=this[e(258)][e(261)][e(229)](e(259)),i=h(this[e(258)][e(261)][e(229)](e(255)))[e(220)](t=>t[e(269)]),r=function(e,t){const n=l,i={model:{key:e,values:[]},view:{}};for(const e of t)n(378)===e[n(382)]?.[n(353)]?(i[n(361)][n(381)][n(366)](e[n(361)]),i[n(382)][e[n(361)]]={key:n(378),value:e[n(382)][n(377)]}):(i[n(361)][n(381)][n(366)](e[n(361)]),i[n(382)][e[n(361)]]={key:n(367),value:n(358)+e[n(361)]+";"});return i}(e(255),i);t[e(267)][e(241)](r),t[e(267)][e(266)](e(260))[e(241)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(255),value:t=>{const i=e;let o=t[i(268)](i(230));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(217)](0,-1))/100)),o===String(n)?null:r[i(269)][i(263)][i(233)](o)?o:null}}})}}var N=n(311),K=n(355),B=n(784),V={attributes:{"data-cke":!0}};V.setAttributes=b(),V.insert=y().bind(null,"head"),V.domAPI=w(),V.insertStyleElement=_();g()(B.A,V);B.A&&B.A.locals&&B.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return h(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,N.createDropdown)(r);return(0,N.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function j(e,t){var n=R();return(j=function(e,t){return n[e-=219]})(e,t)}var D=j;function R(){var e=["requires","13052286DzKmWw","LineHeight","672443ImhSnK","2294685CoGihe","1679792pBHBQk","1225252CMdmfa","404GnuMaC","isOfficialPlugin","1094440lzDOnv","isPremiumPlugin","22015BYuTbZ","pluginName","18eAIdCK"];return(R=function(){return e})()}!function(e){for(var t=j,n=e();;)try{if(759210===-parseInt(t(221))/1+-parseInt(t(223))/2+parseInt(t(222))/3+parseInt(t(225))/4*(parseInt(t(229))/5)+-parseInt(t(231))/6*(parseInt(t(224))/7)+parseInt(t(227))/8+parseInt(t(219))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R);class G extends e.Plugin{static get[D(232)](){return[x,M]}static get[D(230)](){return D(220)}static get[D(226)](){return!0}static get[D(228)](){return!0}}function U(){var e=["5729808nwRFRN","4GRTkEt","3oEbFfB","443804zZHMPq","1658738sYyCvp","8360015HwkkgH","153870OyRhoR","635418WmNHaC","36KMKnNv","8196190McaldZ"];return(U=function(){return e})()}function F(e,t){var n=U();return(F=function(e,t){return n[e-=142]})(e,t)}!function(e){for(var t=F,n=e();;)try{if(933107===-parseInt(t(148))/1+-parseInt(t(149))/2*(parseInt(t(147))/3)+parseInt(t(146))/4*(-parseInt(t(150))/5)+-parseInt(t(151))/6+-parseInt(t(142))/7+parseInt(t(145))/8+-parseInt(t(143))/9*(-parseInt(t(144))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U)})(),(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 _0x1b2a5a,Plugin as _0x2d7354}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x297015,CKEditorError as _0x45e6a4,uid as _0x4e7b64,Collection as _0x1854e9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x1ff501,isPercentageStyleValue as _0x6c7dec}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5e880c,createDropdown as _0x48f6a3,addListToDropdown as _0x5b8ba6,MenuBarMenuView as _0x450688,MenuBarMenuListView as _0x4b8bb5,MenuBarMenuListItemView as _0xa340f6,MenuBarMenuListItemButtonView as _0xe1d6fc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x118e61}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1b2a5a{['refresh'](){const _0x2f2695=this['editor']['model']['document'],_0x1a0fc6=_0x297015(_0x2f2695['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x1a0fc6)&&this['_canHaveLineHeight'](_0x1a0fc6),this['value']=this['isEnabled']&&_0x1a0fc6['getAttribute']('lineHeight');}['execute'](_0x2c14fa={}){const _0xf515a9=this['editor']['model'],_0xff0c49=_0xf515a9['document']['selection'],_0x124d49=_0x2c14fa['value'];_0xf515a9['change'](_0x313eee=>{const _0x25d80a=Array['from'](_0xff0c49['getSelectedBlocks']())['filter'](_0x33acc0=>this['_canHaveLineHeight'](_0x33acc0));for(const _0x3fe126 of _0x25d80a)_0x124d49?_0x313eee['setAttribute']('lineHeight',_0x124d49,_0x3fe126):_0x313eee['removeAttribute']('lineHeight',_0x3fe126);});}['_canHaveLineHeight'](_0x11ef29){return this['editor']['model']['schema']['checkAttribute'](_0x11ef29,'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(_0x8af7c1){return'string'==typeof _0x8af7c1&&'default'===_0x8af7c1['toLowerCase']();}function a(_0x1677b6){return _0x1677b6['options']['map'](_0x21baa6=>{return f(_0x21baa6)?{'title':String(_0x1677b6['defaultValue']),'model':'default'}:('number'==typeof _0x21baa6&&(_0x21baa6=String(_0x21baa6)),'string'!=typeof _0x21baa6?_0x21baa6:parseFloat(_0x21baa6)?{'title':_0x21baa6,'model':_0x21baa6,'view':{'name':'span','styles':{'line-height':_0x21baa6}}}:'string'==typeof(_0x50c575=_0x21baa6)?v[_0x50c575]:v[_0x50c575['model']]);var _0x50c575;})['filter'](_0x18cb81=>void 0x0!==_0x18cb81);}class g extends _0x2d7354{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4971dd,conversion:_0x1a5a35}=this['editor'];if(!_0x4971dd['has']('ListEditing')||!_0x4971dd['has']('TodoListEditing'))return;_0x4971dd['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x4e6128,_0x4eaa64,_0x13caa7,_0x582ad9,_0x25405d){'todo'==_0x25405d['getAttribute']('listType')&&_0x4eaa64&&(_0x4e6128['addClass']('ck-list-marker-line-height',_0x13caa7),_0x4e6128['setStyle']('--ck-content-list-marker-line-height',_0x4eaa64,_0x13caa7));}}),_0x1a5a35['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x1a5a35['for']('upcast')['add'](_0x2e5998=>{_0x2e5998['on']('element:li',function(_0x24576f){const _0x4d0f4d=new _0x1ff501(_0x24576f);return(_0x41bd2f,_0x4a60ea,_0x1ead55)=>{const _0x3e183c=_0x4d0f4d['match'](_0x4a60ea['viewItem']);if(!_0x3e183c)return;const _0x502ce5=_0x3e183c['match'];_0x502ce5['name']=!0x1,_0x1ead55['consumable']['consume'](_0x4a60ea['viewItem'],_0x502ce5);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x2d7354{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5305e4){super(_0x5305e4),_0x5305e4['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1be7e5=this['editor'];this['_validateConfig'](),_0x1be7e5['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1be7e5['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1be7e5['commands']['add']('lineHeight',new n(_0x1be7e5)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x25236f){const _0x52a818=_0x1bbcd1([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]),_0x591474=0x45ddd215,_0xc39e04=0x45daa9f5^_0x591474,_0x1412a1=window[_0x1bbcd1([0x44,0x61,0x74,0x65])][_0x1bbcd1([0x6e,0x6f,0x77])](),_0x5d6c9e=_0x25236f[_0x1bbcd1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24dc79=new window[(_0x1bbcd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x209842=>{_0x5d6c9e[_0x1bbcd1([0x6f,0x6e,0x63,0x65])](_0x1bbcd1([0x72,0x65,0x61,0x64,0x79]),_0x209842);}),_0x5d97f3={[_0x1bbcd1([0x6b,0x74,0x79])]:_0x1bbcd1([0x45,0x43]),[_0x1bbcd1([0x75,0x73,0x65])]:_0x1bbcd1([0x73,0x69,0x67]),[_0x1bbcd1([0x63,0x72,0x76])]:_0x1bbcd1([0x50,0x2d,0x32,0x35,0x36]),[_0x1bbcd1([0x78])]:_0x1bbcd1([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]),[_0x1bbcd1([0x79])]:_0x1bbcd1([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]),[_0x1bbcd1([0x61,0x6c,0x67])]:_0x1bbcd1([0x45,0x53,0x32,0x35,0x36])},_0x54a942=_0x5d6c9e[_0x1bbcd1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1bbcd1([0x67,0x65,0x74])](_0x1bbcd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d5191(){let _0x3c388a,_0x4c4055=null,_0x53031b=null;try{if(_0x54a942==_0x1bbcd1([0x47,0x50,0x4c]))return _0x1bbcd1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c388a=_0x308742(),!_0x3c388a)return _0x1bbcd1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c388a[_0x1bbcd1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53031b=_0xd00513(_0x3c388a[_0x1bbcd1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c388a[_0x1bbcd1([0x6a,0x74,0x69])])),await _0x9248c5()?_0x3db77b()?_0x5360e6()?_0x1bbcd1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24f44e()?(_0x3c388a[_0x1bbcd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1bbcd1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c4055=_0x556684(_0x1bbcd1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3c388a[_0x1bbcd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1bbcd1([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c4055=_0x556684(_0x1bbcd1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f4a74()):_0x1bbcd1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1bbcd1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1bbcd1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1bbcd1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5360e6(){const _0xfb8a08=[_0x1bbcd1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1bbcd1([0x74,0x72,0x69,0x61,0x6c])][_0x1bbcd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c388a[_0x1bbcd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1412a1/0x3e8:0xe10*_0xc39e04;return _0x3c388a[_0x1bbcd1([0x65,0x78,0x70])]<_0xfb8a08;}function _0x3db77b(){const _0x2b3b5c=_0x3c388a[_0x1bbcd1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b3b5c&&(!!_0x2b3b5c[_0x1bbcd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bbcd1([0x2a]))||!!_0x2b3b5c[_0x1bbcd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bbcd1([0x4c,0x48])));}function _0x24f44e(){const _0xf96d0b=_0x3c388a[_0x1bbcd1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf96d0b||0x0==_0xf96d0b[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e23bf}=new URL(window[_0x1bbcd1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf96d0b[_0x1bbcd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e23bf))return!0x0;const _0x536416=_0x5e23bf[_0x1bbcd1([0x73,0x70,0x6c,0x69,0x74])](_0x1bbcd1([0x2e]));return _0xf96d0b[_0x1bbcd1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c2f98=>_0x5c2f98[_0x1bbcd1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bbcd1([0x2a])))[_0x1bbcd1([0x6d,0x61,0x70])](_0x16e588=>_0x16e588[_0x1bbcd1([0x73,0x70,0x6c,0x69,0x74])](_0x1bbcd1([0x2e])))[_0x1bbcd1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x214d76=>_0x214d76[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x536416[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1bbcd1([0x6d,0x61,0x70])](_0x5dcba1=>Array(_0x536416[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5dcba1[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1bbcd1([0x66,0x69,0x6c,0x6c])](_0x5dcba1[0x0]===_0x1bbcd1([0x2a])?_0x1bbcd1([0x2a]):'')[_0x1bbcd1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5dcba1))[_0x1bbcd1([0x73,0x6f,0x6d,0x65])](_0x5db28e=>_0x536416[_0x1bbcd1([0x65,0x76,0x65,0x72,0x79])]((_0xa091f8,_0x21756a)=>_0x5db28e[_0x21756a]===_0xa091f8||_0x5db28e[_0x21756a]===_0x1bbcd1([0x2a])));}function _0x5f4a74(){return _0x4c4055&&_0x53031b?new window[(_0x1bbcd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4df46e,_0x42be8f)=>{_0x4c4055[_0x1bbcd1([0x74,0x68,0x65,0x6e])](_0x4df46e,_0x42be8f),_0x53031b[_0x1bbcd1([0x74,0x68,0x65,0x6e])](_0x28c9f6=>{_0x28c9f6!=_0x1bbcd1([0x56,0x61,0x6c,0x69,0x64])&&_0x4df46e(_0x28c9f6);},_0x42be8f);}):_0x4c4055||_0x53031b||_0x1bbcd1([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd00513(_0x1e874e,_0x1e2c2b){return new window[(_0x1bbcd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x528bb9=>{if(_0x294716())return _0x528bb9(_0x1bbcd1([0x56,0x61,0x6c,0x69,0x64]));_0x4f08f9(),_0x5d6c9e[_0x1bbcd1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1bbcd1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ac7ce=!0x1;const _0x2b6d7f=_0x4e7b64();function _0x5f516e(_0x1dc27b){return!!_0x1dc27b&&(typeof _0x1dc27b===_0x1bbcd1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1dc27b===_0x1bbcd1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1dc27b[_0x1bbcd1([0x74,0x68,0x65,0x6e])]===_0x1bbcd1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1dc27b[_0x1bbcd1([0x63,0x61,0x74,0x63,0x68])]===_0x1bbcd1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x452425(_0x4d099e){_0x3a368a(_0x4d099e)[_0x1bbcd1([0x74,0x68,0x65,0x6e])](_0x490201=>{if(!_0x490201||_0x490201[_0x1bbcd1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1bbcd1([0x6f,0x6b]))return _0x1bbcd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42f86a(_0x2cd589(_0x2b6d7f+_0x1e2c2b))!=_0x490201[_0x1bbcd1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1bbcd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1bbcd1([0x56,0x61,0x6c,0x69,0x64]);})[_0x1bbcd1([0x74,0x68,0x65,0x6e])](_0x445610=>(_0x3d5a30(),_0x445610),()=>{const _0x95428b=_0x54067a();return null==_0x95428b?(_0x3d5a30(),_0x1bbcd1([0x56,0x61,0x6c,0x69,0x64])):_0x1bbcd1(_0x1412a1-_0x95428b>(0x61d15615^_0x591474)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1bbcd1([0x74,0x68,0x65,0x6e])](_0x528bb9)[_0x1bbcd1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x528bb9(_0x1bbcd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5eef92=0x45eb3c95^_0x591474;function _0x3d5a30(){const _0x184fbb=_0x1bbcd1([0x6c,0x6c,0x63,0x74,0x2d])+_0x42f86a(_0x2cd589(_0x1e874e)),_0x2bbd3b=_0x2d66c4(_0x42f86a(window[_0x1bbcd1([0x4d,0x61,0x74,0x68])][_0x1bbcd1([0x63,0x65,0x69,0x6c])](_0x1412a1/_0x5eef92)));window[_0x1bbcd1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1bbcd1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x184fbb,_0x2bbd3b);}function _0x54067a(){const _0x158252=_0x1bbcd1([0x6c,0x6c,0x63,0x74,0x2d])+_0x42f86a(_0x2cd589(_0x1e874e)),_0x33e6c4=window[_0x1bbcd1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1bbcd1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x158252);return _0x33e6c4?window[_0x1bbcd1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d66c4(_0x33e6c4),0x10)*_0x5eef92:null;}function _0x3a368a(_0x20830f){return new window[(_0x1bbcd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19d5eb,_0x1d8c77)=>{_0x20830f[_0x1bbcd1([0x74,0x68,0x65,0x6e])](_0x19d5eb,_0x1d8c77),window[_0x1bbcd1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d8c77,0x45dc06d5^_0x591474);});}}_0x5d6c9e[_0x1bbcd1([0x6f,0x6e])](_0x1bbcd1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49a114,_0x28ba2a)=>{if(_0x28ba2a[0x0]!=_0x1e874e)return _0x528bb9(_0x1bbcd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28ba2a[0x1]={..._0x28ba2a[0x1],[_0x1bbcd1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b6d7f};},{[_0x1bbcd1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1bbcd1([0x68,0x69,0x67,0x68])}),_0x5d6c9e[_0x1bbcd1([0x6f,0x6e])](_0x1bbcd1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b0b98=>{_0x5f516e(_0x5b0b98[_0x1bbcd1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ac7ce=!0x0,_0x452425(_0x5b0b98[_0x1bbcd1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1bbcd1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1bbcd1([0x6c,0x6f,0x77])}),_0x24dc79[_0x1bbcd1([0x74,0x68,0x65,0x6e])](()=>{_0x1ac7ce||_0x528bb9(_0x1bbcd1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x294716(){return _0x5d6c9e[_0x1bbcd1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1bbcd1([0x76,0x69,0x65,0x77])][_0x1bbcd1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1bbcd1([0x61,0x75,0x74,0x6f]);}function _0x4f08f9(){_0x5d6c9e[_0x1bbcd1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1bbcd1([0x76,0x69,0x65,0x77])][_0x1bbcd1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1bbcd1([0x61,0x75,0x74,0x6f]);}}function _0x556684(_0x3fc635){const _0x39548e=[new window[(_0x1bbcd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fee86=>setTimeout(_0x3fee86,0x45d4ecd9^_0x591474)),_0x24dc79[_0x1bbcd1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1bbcd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22d1c0=>{let _0x40061a=0x0;_0x5d6c9e[_0x1bbcd1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bbcd1([0x6f,0x6e])](_0x1bbcd1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bbaa3,_0x55acdc)=>{_0x55acdc[0x0][_0x1bbcd1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40061a++,_0x40061a==(0x45ddd3ed^_0x591474)&&(_0x22d1c0(),_0x3bbaa3[_0x1bbcd1([0x6f,0x66,0x66])]());});}))];return window[_0x1bbcd1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1bbcd1([0x72,0x61,0x63,0x65])](_0x39548e)[_0x1bbcd1([0x74,0x68,0x65,0x6e])](()=>_0x3fc635);}async function _0x30b96c(){await _0x24dc79,_0x5d6c9e[_0x1bbcd1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bbcd1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa3493f,_0x5d6c9e[_0x1bbcd1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bbcd1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa3493f,_0x5d6c9e[_0x1bbcd1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1bbcd1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5929b9(_0x4c43bc){const _0x2d0946=_0x130a3a();_0x5d6c9e[_0x2d0946]=_0x1bbcd1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c43bc,_0x4c43bc!=_0x1bbcd1([0x56,0x61,0x6c,0x69,0x64])&&_0x30b96c();}function _0x130a3a(){const _0x42d737=window[_0x1bbcd1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1bbcd1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1bbcd1([0x6e,0x6f,0x77])]())[_0x1bbcd1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1bbcd1([0x2e]),'');let _0x57f948=_0x1bbcd1([0x50]);for(let _0x45055d=0x0;_0x45055d<_0x42d737[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45055d+=0x2){let _0x558730=window[_0x1bbcd1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42d737[_0x1bbcd1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45055d,_0x45055d+0x2));_0x558730>=_0x52a818[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x558730-=_0x52a818[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57f948+=_0x52a818[_0x558730];}return _0x57f948;}function _0x308742(){const _0xb652d4=_0x54a942[_0x1bbcd1([0x73,0x70,0x6c,0x69,0x74])](_0x1bbcd1([0x2e]));if(0x3!=_0xb652d4[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5dd2c3(_0xb652d4[0x1]);function _0x5dd2c3(_0x4d7e1b){const _0x134a96=_0x41ef86(_0x4d7e1b);return _0x134a96&&_0x1295b1()?_0x134a96:null;function _0x1295b1(){const _0x1a23b7=_0x134a96[_0x1bbcd1([0x6a,0x74,0x69])],_0x169f53=window[_0x1bbcd1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a23b7[_0x1bbcd1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a23b7[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4efc23={..._0x134a96,[_0x1bbcd1([0x6a,0x74,0x69])]:_0x1a23b7[_0x1bbcd1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a23b7[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4efc23[_0x1bbcd1([0x76,0x63])],_0x2cd589(_0x4efc23)==_0x169f53;}}}async function _0x9248c5(){let _0x2d3628=!0x0;try{const _0x3b469b=_0x54a942[_0x1bbcd1([0x73,0x70,0x6c,0x69,0x74])](_0x1bbcd1([0x2e])),[_0x2f38c8,_0x3bfc40,_0x13f4b0]=_0x3b469b;return _0x4804f5(_0x2f38c8),await _0x5e1183(_0x2f38c8,_0x3bfc40,_0x13f4b0),_0x2d3628;}catch{return!0x1;}function _0x4804f5(_0x1f180d){const _0x311490=_0x41ef86(_0x1f180d);_0x311490&&_0x311490[_0x1bbcd1([0x61,0x6c,0x67])]==_0x1bbcd1([0x45,0x53,0x32,0x35,0x36])||(_0x2d3628=!0x1);}async function _0x5e1183(_0x1b369b,_0x1ee6b2,_0x1ecd60){const _0x3e21fb=window[_0x1bbcd1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1bbcd1([0x66,0x72,0x6f,0x6d])](_0x1d58f1(_0x1ecd60),_0x329c43=>_0x329c43[_0x1bbcd1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10769e=new window[(_0x1bbcd1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1bbcd1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b369b+_0x1bbcd1([0x2e])+_0x1ee6b2),_0x1d7264=window[_0x1bbcd1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1bbcd1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d7264)return;const _0x5a06b5=await _0x1d7264[_0x1bbcd1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1bbcd1([0x6a,0x77,0x6b]),_0x5d97f3,{[_0x1bbcd1([0x6e,0x61,0x6d,0x65])]:_0x1bbcd1([0x45,0x43,0x44,0x53,0x41]),[_0x1bbcd1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1bbcd1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1bbcd1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d7264[_0x1bbcd1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1bbcd1([0x6e,0x61,0x6d,0x65])]:_0x1bbcd1([0x45,0x43,0x44,0x53,0x41]),[_0x1bbcd1([0x68,0x61,0x73,0x68])]:{[_0x1bbcd1([0x6e,0x61,0x6d,0x65])]:_0x1bbcd1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a06b5,_0x3e21fb,_0x10769e)||(_0x2d3628=!0x1);}}function _0x41ef86(_0x23fed3){return _0x23fed3[_0x1bbcd1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1bbcd1([0x65,0x79]))?JSON[_0x1bbcd1([0x70,0x61,0x72,0x73,0x65])](_0x1d58f1(_0x23fed3)):null;}function _0x1d58f1(_0x1220cc){return window[_0x1bbcd1([0x61,0x74,0x6f,0x62])](_0x1220cc[_0x1bbcd1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1bbcd1([0x2b]))[_0x1bbcd1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1bbcd1([0x2f])));}function _0x2cd589(_0x53c336){let _0x36e644=0x1505;function _0x59f024(_0x46e244){for(let _0x477be1=0x0;_0x477be1<_0x46e244[_0x1bbcd1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x477be1++){const _0x558f14=_0x46e244[_0x1bbcd1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x477be1);_0x36e644=(_0x36e644<<0x5)+_0x36e644+_0x558f14,_0x36e644&=_0x36e644;}}function _0x32f8b5(_0x33fc1f){Array[_0x1bbcd1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33fc1f)?_0x33fc1f[_0x1bbcd1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32f8b5):_0x33fc1f&&typeof _0x33fc1f==_0x1bbcd1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1bbcd1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33fc1f)[_0x1bbcd1([0x73,0x6f,0x72,0x74])]()[_0x1bbcd1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24e431,_0x5f120a])=>{_0x59f024(_0x24e431),_0x32f8b5(_0x5f120a);}):_0x59f024(window[_0x1bbcd1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33fc1f));}return _0x32f8b5(_0x53c336),_0x36e644>>>0x0;}function _0x42f86a(_0x3faaac){return _0x3faaac[_0x1bbcd1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1bbcd1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1bbcd1([0x30]));}function _0x2d66c4(_0x5f10e9){return _0x5f10e9[_0x1bbcd1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1bbcd1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1bbcd1([0x6a,0x6f,0x69,0x6e])]('');}function _0xa3493f(){}function _0x1bbcd1(_0x40830a){return _0x40830a['map'](_0x3a40cd=>String['fromCharCode'](_0x3a40cd))['join']('');}_0x5929b9(await _0x3d5191());}(this);}['_validateConfig'](){const _0x4a607=this['editor'];if(!_0x4a607['config']['get']('lineHeight.supportAllValues'))return;const _0x11b6ad=_0x4a607['config']['get']('lineHeight.options')['filter'](_0x2fe310=>'string'==typeof _0x2fe310&&(!f(_0x2fe310)&&isNaN(Number(_0x2fe310))));if(_0x11b6ad['length'])throw new _0x45e6a4('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x11b6ad});}['_prepareAnyValueConverters'](){const _0x1fc736=this['editor'],_0x55073a=this['editor']['config']['get']('lineHeight.defaultValue');_0x1fc736['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2fa547=>String(_0x2fa547)===String(_0x55073a)?null:{'key':'style','value':{'line-height':_0x2fa547}}}),_0x1fc736['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x34e3a4=>{let _0x58ab22=_0x34e3a4['getStyle']('line-height');return _0x6c7dec(_0x58ab22)&&(_0x58ab22=String(Number(_0x58ab22['slice'](0x0,-0x1))/0x64)),String(_0x58ab22)===String(_0x55073a)?null:_0x58ab22;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x212b85=this['editor'],_0x54cc87=this['editor']['config']['get']('lineHeight.defaultValue'),_0x45db6a=function(_0x12653f,_0x506ca8){const _0x58a66d={'model':{'key':_0x12653f,'values':[]},'view':{}};for(const _0x1769b of _0x506ca8)'class'===_0x1769b['view']?.['key']?(_0x58a66d['model']['values']['push'](_0x1769b['model']),_0x58a66d['view'][_0x1769b['model']]={'key':'class','value':_0x1769b['view']['value']}):(_0x58a66d['model']['values']['push'](_0x1769b['model']),_0x58a66d['view'][_0x1769b['model']]={'key':'style','value':'line-height:'+_0x1769b['model']+';'});return _0x58a66d;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x47cb1e=>_0x47cb1e['model']));_0x212b85['conversion']['attributeToAttribute'](_0x45db6a),_0x212b85['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x25258e=>{let _0x5f42dc=_0x25258e['getStyle']('line-height');return _0x6c7dec(_0x5f42dc)&&(_0x5f42dc=String(Number(_0x5f42dc['slice'](0x0,-0x1))/0x64)),_0x5f42dc===String(_0x54cc87)?null:_0x45db6a['model']['values']['includes'](_0x5f42dc)?_0x5f42dc:null;}}});}}class r extends _0x2d7354{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x372a99={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x372a99),this['_registerMenuBarComponent'](_0x372a99),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x488e2a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x19a17d;for(const _0x243cfd in _0x488e2a){const _0x29fc42=_0x243cfd,_0x58295b=_0x488e2a[_0x29fc42];if('lineHeightLicenseKeyValid'==_0x58295b||'lineHeightLicenseKeyInvalid'==_0x58295b||'lineHeightLicenseKeyExpired'==_0x58295b||'lineHeightLicenseKeyDomainLimit'==_0x58295b||'lineHeightLicenseKeyNotAllowed'==_0x58295b||'lineHeightLicenseKeyEvaluationLimit'==_0x58295b||'lineHeightLicenseKeyTrialLimit'==_0x58295b||'lineHeightLicenseKeyUsageLimit'==_0x58295b){delete _0x488e2a[_0x29fc42],_0x19a17d=_0x58295b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x19a17d&&_0x488e2a['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x19a17d&&_0x488e2a['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x19a17d&&_0x488e2a['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x19a17d&&_0x488e2a['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x19a17d&&_0x488e2a['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x19a17d&&_0x488e2a['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x19a17d&&_0x488e2a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x25841f=this['editor'],t=_0x25841f['t'],_0x4fb083=_0x25841f['config']['get']('lineHeight'),_0x61accc={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x4fb083)['map'](_0x5a7c19=>{const _0x46456c=_0x61accc[_0x5a7c19['title']];return _0x46456c&&_0x46456c!=_0x5a7c19['title']&&(_0x5a7c19=Object['assign']({},_0x5a7c19,{'title':_0x46456c})),_0x5a7c19;});}['_prepareListOptions'](){const _0x577b16=this['editor']['commands']['get']('lineHeight'),_0x94a853=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4e3d0c=this['_getLocalizedLineHeightOptions'](),_0x30df2e=new _0x1854e9(),_0x43a03a=_0x3c88eb=>'default'===_0x3c88eb||String(_0x94a853)===_0x3c88eb;for(const _0x50d240 of _0x4e3d0c){const _0x10d997={'type':'button','model':new _0x5e880c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x50d240['title'],'withText':!0x0})};_0x43a03a(_0x50d240['model'])?(_0x10d997['model']['bind']('isOn')['to'](_0x577b16,'value',_0xea0180=>!_0xea0180),_0x10d997['model']['commandParam']=void 0x0):(_0x10d997['model']['bind']('isOn')['to'](_0x577b16,'value',_0x2b0f5c=>_0x2b0f5c===_0x50d240['model']),_0x10d997['model']['commandParam']=_0x50d240['model']),_0x30df2e['add'](_0x10d997);}if(this['_shouldRenderCustomValueOption']()){const _0x4a1f35=this['_getCustomValueOptionDefinition'](_0x4e3d0c);_0x30df2e['add'](_0x4a1f35);}return _0x30df2e;}['_getCustomValueOptionDefinition'](_0x4f797c){const _0x2a085e=this['editor'],t=_0x2a085e['t'],_0x556e6a=_0x2a085e['commands']['get']('lineHeight'),_0x5d1c7e=_0x4f797c['map'](_0x1c97e4=>_0x1c97e4['model']),_0xc2775c={'type':'button','model':new _0x5e880c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xc2775c['model']['bind']('commandParam')['to'](_0x556e6a,'value'),_0xc2775c['model']['bind']('isOn')['to'](_0x556e6a,'value',_0xfd547d=>!!_0xfd547d&&!_0x5d1c7e['includes'](String(_0xfd547d))),_0xc2775c['model']['bind']('label')['to'](_0x556e6a,'value',_0x23a173=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x23a173))),_0xc2775c;}['_registerToolbarComponent']({accessibleLabel:_0x5003d5,options:_0x5aa45c}){const _0x29b1ca=this['editor'],_0x292d0d=_0x29b1ca['commands']['get']('lineHeight');_0x29b1ca['ui']['componentFactory']['add']('lineHeight',_0x183c06=>{const _0x113785=_0x48f6a3(_0x183c06);return _0x5b8ba6(_0x113785,_0x5aa45c,{'role':'menu','ariaLabel':_0x5003d5}),_0x113785['buttonView']['set']({'label':_0x5003d5,'tooltip':!0x0,'icon':_0x118e61}),_0x113785['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x113785['bind']('isEnabled')['to'](_0x292d0d),this['listenTo'](_0x113785,'execute',_0x4abd73=>{_0x29b1ca['execute'](_0x4abd73['source']['commandName'],{'value':_0x4abd73['source']['commandParam']}),_0x29b1ca['editing']['view']['focus']();}),_0x113785['once']('change:isOpen',()=>{const _0x2491a3=_0x113785['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x113785,_0x5aa45c,_0x2491a3);}),_0x113785;});}['_registerMenuBarComponent']({accessibleLabel:_0x124f84,options:_0x11b188}){const _0x4127f0=this['editor'],_0x146ff7=_0x4127f0['commands']['get']('lineHeight');_0x4127f0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x15201e=>{const _0x332ef3=new _0x450688(_0x15201e);_0x332ef3['buttonView']['set']({'label':_0x124f84,'icon':_0x118e61}),_0x332ef3['bind']('isEnabled')['to'](_0x146ff7);const _0xca690c=new _0x4b8bb5(_0x15201e);for(const _0x2db5f6 of _0x11b188){const _0x2a8754=new _0xa340f6(_0x15201e,_0x332ef3),_0x113dc7=new _0xe1d6fc(_0x15201e);_0x113dc7['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x113dc7['bind'](...Object['keys'](_0x2db5f6['model']))['to'](_0x2db5f6['model']),_0x113dc7['delegate']('execute')['to'](_0x332ef3),_0x113dc7['on']('execute',()=>{_0x4127f0['execute'](_0x2db5f6['model']['commandName'],{'value':_0x2db5f6['model']['commandParam']}),_0x4127f0['editing']['view']['focus']();}),_0x2a8754['children']['add'](_0x113dc7),_0xca690c['items']['add'](_0x2a8754);}return _0x332ef3['panelView']['children']['add'](_0xca690c),this['_attachCustomOptionVisibilityHandler'](_0x332ef3,_0x11b188,_0xca690c),_0x332ef3;});}['_attachCustomOptionVisibilityHandler'](_0x3a3e0c,_0x5aaf76,_0x41ff30){if(!this['_shouldRenderCustomValueOption']())return;const _0x5a4702=()=>{if(!_0x3a3e0c['isOpen'])return;_0x41ff30['items']['last']['isVisible']=Boolean(_0x5aaf76['last']['model']['isOn']);};_0x5a4702(),_0x3a3e0c['on']('change:isOpen',()=>{_0x5a4702();});}}class _ extends _0x2d7354{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 _0x3a23da,Plugin as _0x1d678a}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x356b5a,CKEditorError as _0x4e5b34,uid as _0x3d9c28,Collection as _0x4a1811}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x48ad41,isPercentageStyleValue as _0x39391f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3cce98,createDropdown as _0x539fb4,addListToDropdown as _0x19d405,MenuBarMenuView as _0x1f4f92,MenuBarMenuListView as _0xe87fdb,MenuBarMenuListItemView as _0x4baaf7,MenuBarMenuListItemButtonView as _0x3f6814}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x6d7f61}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3a23da{['refresh'](){const _0x4b5c43=this['editor']['model']['document'],_0x3fe3d5=_0x356b5a(_0x4b5c43['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3fe3d5)&&this['_canHaveLineHeight'](_0x3fe3d5),this['value']=this['isEnabled']&&_0x3fe3d5['getAttribute']('lineHeight');}['execute'](_0x4914a4={}){const _0x25827d=this['editor']['model'],_0x142c9c=_0x25827d['document']['selection'],_0x31421a=_0x4914a4['value'];_0x25827d['change'](_0x2018d4=>{const _0x17321c=Array['from'](_0x142c9c['getSelectedBlocks']())['filter'](_0x108489=>this['_canHaveLineHeight'](_0x108489));for(const _0x3a4f3d of _0x17321c)_0x31421a?_0x2018d4['setAttribute']('lineHeight',_0x31421a,_0x3a4f3d):_0x2018d4['removeAttribute']('lineHeight',_0x3a4f3d);});}['_canHaveLineHeight'](_0x14ef9d){return this['editor']['model']['schema']['checkAttribute'](_0x14ef9d,'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(_0x474c38){return'string'==typeof _0x474c38&&'default'===_0x474c38['toLowerCase']();}function a(_0xc492f5){return _0xc492f5['options']['map'](_0x290194=>{return f(_0x290194)?{'title':String(_0xc492f5['defaultValue']),'model':'default'}:('number'==typeof _0x290194&&(_0x290194=String(_0x290194)),'string'!=typeof _0x290194?_0x290194:parseFloat(_0x290194)?{'title':_0x290194,'model':_0x290194,'view':{'name':'span','styles':{'line-height':_0x290194}}}:'string'==typeof(_0x4f95db=_0x290194)?v[_0x4f95db]:v[_0x4f95db['model']]);var _0x4f95db;})['filter'](_0xe4ac0=>void 0x0!==_0xe4ac0);}class g extends _0x1d678a{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x51ca75,conversion:_0x306411}=this['editor'];if(!_0x51ca75['has']('ListEditing')||!_0x51ca75['has']('TodoListEditing'))return;_0x51ca75['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x5b9f9b,_0x8ee1d1,_0x3cec73,_0x25fa5c,_0x3425af){'todo'==_0x3425af['getAttribute']('listType')&&_0x8ee1d1&&(_0x5b9f9b['addClass']('ck-list-marker-line-height',_0x3cec73),_0x5b9f9b['setStyle']('--ck-content-list-marker-line-height',_0x8ee1d1,_0x3cec73));}}),_0x306411['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x306411['for']('upcast')['add'](_0x3da6de=>{_0x3da6de['on']('element:li',function(_0x56f6bf){const _0x2fd5b8=new _0x48ad41(_0x56f6bf);return(_0x203011,_0x457513,_0x38e6c5)=>{const _0x2ac3f5=_0x2fd5b8['match'](_0x457513['viewItem']);if(!_0x2ac3f5)return;const _0xd27448=_0x2ac3f5['match'];_0xd27448['name']=!0x1,_0x38e6c5['consumable']['consume'](_0x457513['viewItem'],_0xd27448);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x1d678a{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2484f7){super(_0x2484f7),_0x2484f7['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3b1b83=this['editor'];this['_validateConfig'](),_0x3b1b83['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3b1b83['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3b1b83['commands']['add']('lineHeight',new n(_0x3b1b83)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2a613a){const _0x297173=_0xbf0901([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]),_0x294793=0x45ddd215,_0x34cf0c=0x45daa9ed^_0x294793,_0x2f7f10=window[_0xbf0901([0x44,0x61,0x74,0x65])][_0xbf0901([0x6e,0x6f,0x77])](),_0xa319a6=_0x2a613a[_0xbf0901([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x219d45=new window[(_0xbf0901([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bc858=>{_0xa319a6[_0xbf0901([0x6f,0x6e,0x63,0x65])](_0xbf0901([0x72,0x65,0x61,0x64,0x79]),_0x1bc858);}),_0x1013a7={[_0xbf0901([0x6b,0x74,0x79])]:_0xbf0901([0x45,0x43]),[_0xbf0901([0x75,0x73,0x65])]:_0xbf0901([0x73,0x69,0x67]),[_0xbf0901([0x63,0x72,0x76])]:_0xbf0901([0x50,0x2d,0x32,0x35,0x36]),[_0xbf0901([0x78])]:_0xbf0901([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]),[_0xbf0901([0x79])]:_0xbf0901([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]),[_0xbf0901([0x61,0x6c,0x67])]:_0xbf0901([0x45,0x53,0x32,0x35,0x36])},_0x5a5263=_0xa319a6[_0xbf0901([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbf0901([0x67,0x65,0x74])](_0xbf0901([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2240f9(){let _0x294a08,_0x4f48cc=null,_0x1adbbc=null;try{if(_0x5a5263==_0xbf0901([0x47,0x50,0x4c]))return _0xbf0901([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x294a08=_0x3e0bb1(),!_0x294a08)return _0xbf0901([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x294a08[_0xbf0901([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1adbbc=_0x536482(_0x294a08[_0xbf0901([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x294a08[_0xbf0901([0x6a,0x74,0x69])])),await _0x58064a()?_0x4566ad()?_0x790e6()?_0xbf0901([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ceb45()?(_0x294a08[_0xbf0901([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbf0901([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f48cc=_0x42ece2(_0xbf0901([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x294a08[_0xbf0901([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbf0901([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f48cc=_0x42ece2(_0xbf0901([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fc415()):_0xbf0901([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbf0901([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbf0901([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbf0901([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x790e6(){const _0x188135=[_0xbf0901([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbf0901([0x74,0x72,0x69,0x61,0x6c])][_0xbf0901([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x294a08[_0xbf0901([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f7f10/0x3e8:0xe10*_0x34cf0c;return _0x294a08[_0xbf0901([0x65,0x78,0x70])]<_0x188135;}function _0x4566ad(){const _0x3b64fc=_0x294a08[_0xbf0901([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b64fc&&(!!_0x3b64fc[_0xbf0901([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf0901([0x2a]))||!!_0x3b64fc[_0xbf0901([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf0901([0x4c,0x48])));}function _0x4ceb45(){const _0x147c25=_0x294a08[_0xbf0901([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x147c25||0x0==_0x147c25[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37f577}=new URL(window[_0xbf0901([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x147c25[_0xbf0901([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37f577))return!0x0;const _0x334c59=_0x37f577[_0xbf0901([0x73,0x70,0x6c,0x69,0x74])](_0xbf0901([0x2e]));return _0x147c25[_0xbf0901([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb1d8c6=>_0xb1d8c6[_0xbf0901([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbf0901([0x2a])))[_0xbf0901([0x6d,0x61,0x70])](_0x1d6739=>_0x1d6739[_0xbf0901([0x73,0x70,0x6c,0x69,0x74])](_0xbf0901([0x2e])))[_0xbf0901([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1127d6=>_0x1127d6[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x334c59[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbf0901([0x6d,0x61,0x70])](_0x23810f=>Array(_0x334c59[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23810f[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbf0901([0x66,0x69,0x6c,0x6c])](_0x23810f[0x0]===_0xbf0901([0x2a])?_0xbf0901([0x2a]):'')[_0xbf0901([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23810f))[_0xbf0901([0x73,0x6f,0x6d,0x65])](_0x45f358=>_0x334c59[_0xbf0901([0x65,0x76,0x65,0x72,0x79])]((_0x81115a,_0x432d9a)=>_0x45f358[_0x432d9a]===_0x81115a||_0x45f358[_0x432d9a]===_0xbf0901([0x2a])));}function _0x2fc415(){return _0x4f48cc&&_0x1adbbc?new window[(_0xbf0901([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x398730,_0x3f4572)=>{_0x4f48cc[_0xbf0901([0x74,0x68,0x65,0x6e])](_0x398730,_0x3f4572),_0x1adbbc[_0xbf0901([0x74,0x68,0x65,0x6e])](_0x595a28=>{_0x595a28!=_0xbf0901([0x56,0x61,0x6c,0x69,0x64])&&_0x398730(_0x595a28);},_0x3f4572);}):_0x4f48cc||_0x1adbbc||_0xbf0901([0x56,0x61,0x6c,0x69,0x64]);}}function _0x536482(_0x1150cc,_0x187fe0){return new window[(_0xbf0901([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e15ea=>{if(_0x50400e())return _0x5e15ea(_0xbf0901([0x56,0x61,0x6c,0x69,0x64]));_0x4a2669(),_0xa319a6[_0xbf0901([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbf0901([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe744a4=!0x1;const _0x562ff4=_0x3d9c28();function _0x4754f2(_0x1a287e){return!!_0x1a287e&&(typeof _0x1a287e===_0xbf0901([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a287e===_0xbf0901([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a287e[_0xbf0901([0x74,0x68,0x65,0x6e])]===_0xbf0901([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a287e[_0xbf0901([0x63,0x61,0x74,0x63,0x68])]===_0xbf0901([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c4427(_0x3ae7e8){_0x4f87c7(_0x3ae7e8)[_0xbf0901([0x74,0x68,0x65,0x6e])](_0x3a63eb=>{if(!_0x3a63eb||_0x3a63eb[_0xbf0901([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbf0901([0x6f,0x6b]))return _0xbf0901([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38d85a(_0x38219f(_0x562ff4+_0x187fe0))!=_0x3a63eb[_0xbf0901([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbf0901([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbf0901([0x56,0x61,0x6c,0x69,0x64]);})[_0xbf0901([0x74,0x68,0x65,0x6e])](_0x3f2db7=>(_0x44ebb7(),_0x3f2db7),()=>{const _0x178d13=_0xf1b174();return null==_0x178d13?(_0x44ebb7(),_0xbf0901([0x56,0x61,0x6c,0x69,0x64])):_0xbf0901(_0x2f7f10-_0x178d13>(0x61d15615^_0x294793)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbf0901([0x74,0x68,0x65,0x6e])](_0x5e15ea)[_0xbf0901([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e15ea(_0xbf0901([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13d599=0x45eb3c95^_0x294793;function _0x44ebb7(){const _0x3cf85a=_0xbf0901([0x6c,0x6c,0x63,0x74,0x2d])+_0x38d85a(_0x38219f(_0x1150cc)),_0xe4d864=_0x1159bb(_0x38d85a(window[_0xbf0901([0x4d,0x61,0x74,0x68])][_0xbf0901([0x63,0x65,0x69,0x6c])](_0x2f7f10/_0x13d599)));window[_0xbf0901([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbf0901([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cf85a,_0xe4d864);}function _0xf1b174(){const _0x34d9a4=_0xbf0901([0x6c,0x6c,0x63,0x74,0x2d])+_0x38d85a(_0x38219f(_0x1150cc)),_0x3ba130=window[_0xbf0901([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbf0901([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34d9a4);return _0x3ba130?window[_0xbf0901([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1159bb(_0x3ba130),0x10)*_0x13d599:null;}function _0x4f87c7(_0x1c06b9){return new window[(_0xbf0901([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdb287e,_0x536c48)=>{_0x1c06b9[_0xbf0901([0x74,0x68,0x65,0x6e])](_0xdb287e,_0x536c48),window[_0xbf0901([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x536c48,0x45dc06d5^_0x294793);});}}_0xa319a6[_0xbf0901([0x6f,0x6e])](_0xbf0901([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3664f6,_0x3ee079)=>{if(_0x3ee079[0x0]!=_0x1150cc)return _0x5e15ea(_0xbf0901([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ee079[0x1]={..._0x3ee079[0x1],[_0xbf0901([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x562ff4};},{[_0xbf0901([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbf0901([0x68,0x69,0x67,0x68])}),_0xa319a6[_0xbf0901([0x6f,0x6e])](_0xbf0901([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19b7f5=>{_0x4754f2(_0x19b7f5[_0xbf0901([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe744a4=!0x0,_0x4c4427(_0x19b7f5[_0xbf0901([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbf0901([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbf0901([0x6c,0x6f,0x77])}),_0x219d45[_0xbf0901([0x74,0x68,0x65,0x6e])](()=>{_0xe744a4||_0x5e15ea(_0xbf0901([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50400e(){return _0xa319a6[_0xbf0901([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbf0901([0x76,0x69,0x65,0x77])][_0xbf0901([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbf0901([0x61,0x75,0x74,0x6f]);}function _0x4a2669(){_0xa319a6[_0xbf0901([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbf0901([0x76,0x69,0x65,0x77])][_0xbf0901([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbf0901([0x61,0x75,0x74,0x6f]);}}function _0x42ece2(_0x5bea19){const _0x56bfd2=[new window[(_0xbf0901([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c4e4c=>setTimeout(_0x5c4e4c,0x45d4ecd9^_0x294793)),_0x219d45[_0xbf0901([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbf0901([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3544=>{let _0x5a2dd0=0x0;_0xa319a6[_0xbf0901([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf0901([0x6f,0x6e])](_0xbf0901([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8501a8,_0x40e11f)=>{_0x40e11f[0x0][_0xbf0901([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a2dd0++,_0x5a2dd0==(0x45ddd3ed^_0x294793)&&(_0x2f3544(),_0x8501a8[_0xbf0901([0x6f,0x66,0x66])]());});}))];return window[_0xbf0901([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbf0901([0x72,0x61,0x63,0x65])](_0x56bfd2)[_0xbf0901([0x74,0x68,0x65,0x6e])](()=>_0x5bea19);}async function _0x248faf(){await _0x219d45,_0xa319a6[_0xbf0901([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf0901([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c027f,_0xa319a6[_0xbf0901([0x6d,0x6f,0x64,0x65,0x6c])][_0xbf0901([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c027f,_0xa319a6[_0xbf0901([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbf0901([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x200add(_0x9ecf45){const _0x3e717f=_0x28b65e();_0xa319a6[_0x3e717f]=_0xbf0901([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x9ecf45,_0x9ecf45!=_0xbf0901([0x56,0x61,0x6c,0x69,0x64])&&_0x248faf();}function _0x28b65e(){const _0x121a6e=window[_0xbf0901([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbf0901([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbf0901([0x6e,0x6f,0x77])]())[_0xbf0901([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbf0901([0x2e]),'');let _0x100d2b=_0xbf0901([0x50]);for(let _0x147fb3=0x0;_0x147fb3<_0x121a6e[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x147fb3+=0x2){let _0x30d772=window[_0xbf0901([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x121a6e[_0xbf0901([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x147fb3,_0x147fb3+0x2));_0x30d772>=_0x297173[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30d772-=_0x297173[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x100d2b+=_0x297173[_0x30d772];}return _0x100d2b;}function _0x3e0bb1(){const _0x314616=_0x5a5263[_0xbf0901([0x73,0x70,0x6c,0x69,0x74])](_0xbf0901([0x2e]));if(0x3!=_0x314616[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x36c15c(_0x314616[0x1]);function _0x36c15c(_0x85d294){const _0x529c6d=_0x28a67f(_0x85d294);return _0x529c6d&&_0x2bcc4e()?_0x529c6d:null;function _0x2bcc4e(){const _0x5e8599=_0x529c6d[_0xbf0901([0x6a,0x74,0x69])],_0x5d25fa=window[_0xbf0901([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e8599[_0xbf0901([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e8599[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2759cf={..._0x529c6d,[_0xbf0901([0x6a,0x74,0x69])]:_0x5e8599[_0xbf0901([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e8599[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2759cf[_0xbf0901([0x76,0x63])],_0x38219f(_0x2759cf)==_0x5d25fa;}}}async function _0x58064a(){let _0x2737ff=!0x0;try{const _0x2d23c3=_0x5a5263[_0xbf0901([0x73,0x70,0x6c,0x69,0x74])](_0xbf0901([0x2e])),[_0x3a59d5,_0x4f5498,_0x50a4cc]=_0x2d23c3;return _0x1b5157(_0x3a59d5),await _0x8dab26(_0x3a59d5,_0x4f5498,_0x50a4cc),_0x2737ff;}catch{return!0x1;}function _0x1b5157(_0x4d6bcf){const _0x1b1b58=_0x28a67f(_0x4d6bcf);_0x1b1b58&&_0x1b1b58[_0xbf0901([0x61,0x6c,0x67])]==_0xbf0901([0x45,0x53,0x32,0x35,0x36])||(_0x2737ff=!0x1);}async function _0x8dab26(_0x24ebe9,_0x359b70,_0x284304){const _0x3549c7=window[_0xbf0901([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbf0901([0x66,0x72,0x6f,0x6d])](_0x238958(_0x284304),_0x341627=>_0x341627[_0xbf0901([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x348920=new window[(_0xbf0901([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbf0901([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24ebe9+_0xbf0901([0x2e])+_0x359b70),_0x267d56=window[_0xbf0901([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbf0901([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x267d56)return;const _0x58a7f2=await _0x267d56[_0xbf0901([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbf0901([0x6a,0x77,0x6b]),_0x1013a7,{[_0xbf0901([0x6e,0x61,0x6d,0x65])]:_0xbf0901([0x45,0x43,0x44,0x53,0x41]),[_0xbf0901([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbf0901([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbf0901([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x267d56[_0xbf0901([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbf0901([0x6e,0x61,0x6d,0x65])]:_0xbf0901([0x45,0x43,0x44,0x53,0x41]),[_0xbf0901([0x68,0x61,0x73,0x68])]:{[_0xbf0901([0x6e,0x61,0x6d,0x65])]:_0xbf0901([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58a7f2,_0x3549c7,_0x348920)||(_0x2737ff=!0x1);}}function _0x28a67f(_0x22d18a){return _0x22d18a[_0xbf0901([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbf0901([0x65,0x79]))?JSON[_0xbf0901([0x70,0x61,0x72,0x73,0x65])](_0x238958(_0x22d18a)):null;}function _0x238958(_0x557020){return window[_0xbf0901([0x61,0x74,0x6f,0x62])](_0x557020[_0xbf0901([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbf0901([0x2b]))[_0xbf0901([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbf0901([0x2f])));}function _0x38219f(_0x453931){let _0xa7fc01=0x1505;function _0x47dd7c(_0x21d96f){for(let _0x126a0b=0x0;_0x126a0b<_0x21d96f[_0xbf0901([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x126a0b++){const _0x21b1bd=_0x21d96f[_0xbf0901([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x126a0b);_0xa7fc01=(_0xa7fc01<<0x5)+_0xa7fc01+_0x21b1bd,_0xa7fc01&=_0xa7fc01;}}function _0x2eeff7(_0x30049f){Array[_0xbf0901([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x30049f)?_0x30049f[_0xbf0901([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2eeff7):_0x30049f&&typeof _0x30049f==_0xbf0901([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbf0901([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x30049f)[_0xbf0901([0x73,0x6f,0x72,0x74])]()[_0xbf0901([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x96b6d9,_0x20b226])=>{_0x47dd7c(_0x96b6d9),_0x2eeff7(_0x20b226);}):_0x47dd7c(window[_0xbf0901([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x30049f));}return _0x2eeff7(_0x453931),_0xa7fc01>>>0x0;}function _0x38d85a(_0x489b05){return _0x489b05[_0xbf0901([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbf0901([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbf0901([0x30]));}function _0x1159bb(_0x173acb){return _0x173acb[_0xbf0901([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbf0901([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbf0901([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c027f(){}function _0xbf0901(_0x5ec28f){return _0x5ec28f['map'](_0x59455c=>String['fromCharCode'](_0x59455c))['join']('');}_0x200add(await _0x2240f9());}(this);}['_validateConfig'](){const _0x5d4fe2=this['editor'];if(!_0x5d4fe2['config']['get']('lineHeight.supportAllValues'))return;const _0x33cea2=_0x5d4fe2['config']['get']('lineHeight.options')['filter'](_0xf1604c=>'string'==typeof _0xf1604c&&(!f(_0xf1604c)&&isNaN(Number(_0xf1604c))));if(_0x33cea2['length'])throw new _0x4e5b34('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x33cea2});}['_prepareAnyValueConverters'](){const _0x4fab16=this['editor'],_0x34699d=this['editor']['config']['get']('lineHeight.defaultValue');_0x4fab16['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4d9fc0=>String(_0x4d9fc0)===String(_0x34699d)?null:{'key':'style','value':{'line-height':_0x4d9fc0}}}),_0x4fab16['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x277aeb=>{let _0x4abf53=_0x277aeb['getStyle']('line-height');return _0x39391f(_0x4abf53)&&(_0x4abf53=String(Number(_0x4abf53['slice'](0x0,-0x1))/0x64)),String(_0x4abf53)===String(_0x34699d)?null:_0x4abf53;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1a0d5c=this['editor'],_0x31a5e1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x275c5c=function(_0x1abd47,_0x22b2f0){const _0x4cca8c={'model':{'key':_0x1abd47,'values':[]},'view':{}};for(const _0x1a49b6 of _0x22b2f0)'class'===_0x1a49b6['view']?.['key']?(_0x4cca8c['model']['values']['push'](_0x1a49b6['model']),_0x4cca8c['view'][_0x1a49b6['model']]={'key':'class','value':_0x1a49b6['view']['value']}):(_0x4cca8c['model']['values']['push'](_0x1a49b6['model']),_0x4cca8c['view'][_0x1a49b6['model']]={'key':'style','value':'line-height:'+_0x1a49b6['model']+';'});return _0x4cca8c;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0xdcbcee=>_0xdcbcee['model']));_0x1a0d5c['conversion']['attributeToAttribute'](_0x275c5c),_0x1a0d5c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x111a95=>{let _0x1d3bf8=_0x111a95['getStyle']('line-height');return _0x39391f(_0x1d3bf8)&&(_0x1d3bf8=String(Number(_0x1d3bf8['slice'](0x0,-0x1))/0x64)),_0x1d3bf8===String(_0x31a5e1)?null:_0x275c5c['model']['values']['includes'](_0x1d3bf8)?_0x1d3bf8:null;}}});}}class r extends _0x1d678a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x346115={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x346115),this['_registerMenuBarComponent'](_0x346115),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x39857e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14bfad;for(const _0x2267fb in _0x39857e){const _0x25001f=_0x2267fb,_0x3b88fc=_0x39857e[_0x25001f];if('lineHeightLicenseKeyValid'==_0x3b88fc||'lineHeightLicenseKeyInvalid'==_0x3b88fc||'lineHeightLicenseKeyExpired'==_0x3b88fc||'lineHeightLicenseKeyDomainLimit'==_0x3b88fc||'lineHeightLicenseKeyNotAllowed'==_0x3b88fc||'lineHeightLicenseKeyEvaluationLimit'==_0x3b88fc||'lineHeightLicenseKeyTrialLimit'==_0x3b88fc||'lineHeightLicenseKeyUsageLimit'==_0x3b88fc){delete _0x39857e[_0x25001f],_0x14bfad=_0x3b88fc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x14bfad&&_0x39857e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x14bfad&&_0x39857e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x14bfad&&_0x39857e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x14bfad&&_0x39857e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x14bfad&&_0x39857e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x14bfad&&_0x39857e['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x14bfad&&_0x39857e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2a2fb9=this['editor'],t=_0x2a2fb9['t'],_0x561166=_0x2a2fb9['config']['get']('lineHeight'),_0x3f75c2={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x561166)['map'](_0x11a651=>{const _0x1a28d8=_0x3f75c2[_0x11a651['title']];return _0x1a28d8&&_0x1a28d8!=_0x11a651['title']&&(_0x11a651=Object['assign']({},_0x11a651,{'title':_0x1a28d8})),_0x11a651;});}['_prepareListOptions'](){const _0x1ed10b=this['editor']['commands']['get']('lineHeight'),_0x9ed1da=this['editor']['config']['get']('lineHeight.defaultValue'),_0x21921d=this['_getLocalizedLineHeightOptions'](),_0x213a26=new _0x4a1811(),_0xfb54bd=_0x243066=>'default'===_0x243066||String(_0x9ed1da)===_0x243066;for(const _0x2c23ac of _0x21921d){const _0x1f2a83={'type':'button','model':new _0x3cce98({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2c23ac['title'],'withText':!0x0})};_0xfb54bd(_0x2c23ac['model'])?(_0x1f2a83['model']['bind']('isOn')['to'](_0x1ed10b,'value',_0x171177=>!_0x171177),_0x1f2a83['model']['commandParam']=void 0x0):(_0x1f2a83['model']['bind']('isOn')['to'](_0x1ed10b,'value',_0x1b20bd=>_0x1b20bd===_0x2c23ac['model']),_0x1f2a83['model']['commandParam']=_0x2c23ac['model']),_0x213a26['add'](_0x1f2a83);}if(this['_shouldRenderCustomValueOption']()){const _0x3c94c4=this['_getCustomValueOptionDefinition'](_0x21921d);_0x213a26['add'](_0x3c94c4);}return _0x213a26;}['_getCustomValueOptionDefinition'](_0x578bff){const _0x46895a=this['editor'],t=_0x46895a['t'],_0x10c161=_0x46895a['commands']['get']('lineHeight'),_0x559814=_0x578bff['map'](_0x4a4ab0=>_0x4a4ab0['model']),_0x5694ed={'type':'button','model':new _0x3cce98({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5694ed['model']['bind']('commandParam')['to'](_0x10c161,'value'),_0x5694ed['model']['bind']('isOn')['to'](_0x10c161,'value',_0x1a3c15=>!!_0x1a3c15&&!_0x559814['includes'](String(_0x1a3c15))),_0x5694ed['model']['bind']('label')['to'](_0x10c161,'value',_0x18ca33=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x18ca33))),_0x5694ed;}['_registerToolbarComponent']({accessibleLabel:_0x27b01d,options:_0x2f456d}){const _0x56eb82=this['editor'],_0x13be62=_0x56eb82['commands']['get']('lineHeight');_0x56eb82['ui']['componentFactory']['add']('lineHeight',_0x599b9d=>{const _0x4ca304=_0x539fb4(_0x599b9d);return _0x19d405(_0x4ca304,_0x2f456d,{'role':'menu','ariaLabel':_0x27b01d}),_0x4ca304['buttonView']['set']({'label':_0x27b01d,'tooltip':!0x0,'icon':_0x6d7f61}),_0x4ca304['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4ca304['bind']('isEnabled')['to'](_0x13be62),this['listenTo'](_0x4ca304,'execute',_0xda63af=>{_0x56eb82['execute'](_0xda63af['source']['commandName'],{'value':_0xda63af['source']['commandParam']}),_0x56eb82['editing']['view']['focus']();}),_0x4ca304['once']('change:isOpen',()=>{const _0x40c2b7=_0x4ca304['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4ca304,_0x2f456d,_0x40c2b7);}),_0x4ca304;});}['_registerMenuBarComponent']({accessibleLabel:_0x857e2f,options:_0x6cc442}){const _0x48f102=this['editor'],_0x3eedb9=_0x48f102['commands']['get']('lineHeight');_0x48f102['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5dcb27=>{const _0x389643=new _0x1f4f92(_0x5dcb27);_0x389643['buttonView']['set']({'label':_0x857e2f,'icon':_0x6d7f61}),_0x389643['bind']('isEnabled')['to'](_0x3eedb9);const _0x561ad4=new _0xe87fdb(_0x5dcb27);for(const _0x3c56d1 of _0x6cc442){const _0x553ac8=new _0x4baaf7(_0x5dcb27,_0x389643),_0x35327d=new _0x3f6814(_0x5dcb27);_0x35327d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x35327d['bind'](...Object['keys'](_0x3c56d1['model']))['to'](_0x3c56d1['model']),_0x35327d['delegate']('execute')['to'](_0x389643),_0x35327d['on']('execute',()=>{_0x48f102['execute'](_0x3c56d1['model']['commandName'],{'value':_0x3c56d1['model']['commandParam']}),_0x48f102['editing']['view']['focus']();}),_0x553ac8['children']['add'](_0x35327d),_0x561ad4['items']['add'](_0x553ac8);}return _0x389643['panelView']['children']['add'](_0x561ad4),this['_attachCustomOptionVisibilityHandler'](_0x389643,_0x6cc442,_0x561ad4),_0x389643;});}['_attachCustomOptionVisibilityHandler'](_0x25e8cd,_0x90fc33,_0x27b54b){if(!this['_shouldRenderCustomValueOption']())return;const _0x27d718=()=>{if(!_0x25e8cd['isOpen'])return;_0x27b54b['items']['last']['isVisible']=Boolean(_0x90fc33['last']['model']['isOn']);};_0x27d718(),_0x25e8cd['on']('change:isOpen',()=>{_0x27d718();});}}class _ extends _0x1d678a{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-next-
|
|
3
|
+
"version": "0.0.0-nightly-next-20251215.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-next-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20251215.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20251215.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20251215.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20251215.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20251215.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-20251215.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-next-20251215.0"
|
|
23
23
|
},
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x15cb95=_0x1956;(function(_0x11744d,_0x463694){const _0x2cf15b=_0x1956,_0x583a51=_0x11744d();while(!![]){try{const _0x185e3c=-parseInt(_0x2cf15b(0x1c0))/0x1+parseInt(_0x2cf15b(0x1e1))/0x2+-parseInt(_0x2cf15b(0x1e6))/0x3+parseInt(_0x2cf15b(0x1d5))/0x4*(parseInt(_0x2cf15b(0x1c6))/0x5)+-parseInt(_0x2cf15b(0x1c4))/0x6*(-parseInt(_0x2cf15b(0x1bb))/0x7)+-parseInt(_0x2cf15b(0x1d6))/0x8+-parseInt(_0x2cf15b(0x1d3))/0x9*(parseInt(_0x2cf15b(0x1b4))/0xa);if(_0x185e3c===_0x463694)break;else _0x583a51['push'](_0x583a51['shift']());}catch(_0x160a83){_0x583a51['push'](_0x583a51['shift']());}}}(_0x5494,0x3b380));import{Plugin as _0x3549c2}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x92fb77}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1b0bdc}from'ckeditor5/src/engine.js';import{uid as _0x1e6b1a,CKEditorError as _0x9b3147}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4c534c,isLineHeightDefaultValue as _0x3021d0,normalizeOptions as _0x4a8c41}from'./utils.js';import{LineHeightTodoListIntegration as _0x1c7157}from'./integrations/todolist.js';function _0x1956(_0xafcccb,_0x596a4f){const _0x5494e1=_0x5494();return _0x1956=function(_0x195669,_0x15ba76){_0x195669=_0x195669-0x1b4;let _0xb9ff75=_0x5494e1[_0x195669];return _0xb9ff75;},_0x1956(_0xafcccb,_0x596a4f);}function _0x5494(){const _0x1c69ef=['220410DEYDAO','default','_preparePredefinedConverters','lineHeight.options','12bcmtpP','getStyle','12820LcGFby','lineHeight','LineHeightEditing','requires','length','define','upcast','afterInit','lineHeight.defaultValue','for','$block','style','add','162BSJdmy','_validateConfig','704pvSjYf','2943400aLerwW','href','model','setAttributeProperties','config','string','get','_prepareAnyValueConverters','filter','includes','extend','565696wUQlOk','isOfficialPlugin','join','attributeToAttribute','line-height-invalid-use-of-named-presets','631425sXxCpE','isPremiumPlugin','commands','slice','editor','69680oWlaJm','fromCharCode','values','init','conversion','line-height','lineHeight.supportAllValues','1514387Pzzbrx','pluginName','downcast','map','schema'];_0x5494=function(){return _0x1c69ef;};return _0x5494();}export class LineHeightEditing extends _0x3549c2{static get[_0x15cb95(0x1bc)](){const _0x33ae3c=_0x15cb95;return _0x33ae3c(0x1c8);}static get[_0x15cb95(0x1c9)](){return[_0x1c7157];}static get[_0x15cb95(0x1e2)](){return!0x0;}static get[_0x15cb95(0x1e7)](){return!0x0;}constructor(_0x4a8319){const _0x5b14d7=_0x15cb95;super(_0x4a8319),_0x4a8319[_0x5b14d7(0x1da)][_0x5b14d7(0x1cb)](_0x5b14d7(0x1c7),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5b14d7(0x1c1),0x2,2.5,0x3]});}[_0x15cb95(0x1b7)](){const _0x3261b9=_0x15cb95,_0x366048=this[_0x3261b9(0x1ea)];this[_0x3261b9(0x1d4)](),_0x366048[_0x3261b9(0x1d8)][_0x3261b9(0x1bf)][_0x3261b9(0x1e0)](_0x3261b9(0x1d0),{'allowAttributes':_0x3261b9(0x1c7)}),_0x366048[_0x3261b9(0x1d8)][_0x3261b9(0x1bf)][_0x3261b9(0x1d9)](_0x3261b9(0x1c7),{'isFormatting':!0x0}),_0x366048[_0x3261b9(0x1e8)][_0x3261b9(0x1d2)](_0x3261b9(0x1c7),new _0x92fb77(_0x366048)),this[_0x3261b9(0x1ea)][_0x3261b9(0x1da)][_0x3261b9(0x1dc)](_0x3261b9(0x1ba))?this[_0x3261b9(0x1dd)]():this[_0x3261b9(0x1c2)]();}[_0x15cb95(0x1cd)](){!async function(_0xf11c6c){const _0x414530=_0x46e2f4([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]),_0x54cca5=0x45ddd215,_0x2d05b3=0x45daa9f5^_0x54cca5,_0x3cdda4=window[_0x46e2f4([0x44,0x61,0x74,0x65])][_0x46e2f4([0x6e,0x6f,0x77])](),_0x41f13f=_0xf11c6c[_0x46e2f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e0b49=new window[(_0x46e2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x394bf3=>{_0x41f13f[_0x46e2f4([0x6f,0x6e,0x63,0x65])](_0x46e2f4([0x72,0x65,0x61,0x64,0x79]),_0x394bf3);}),_0x3b2baa={[_0x46e2f4([0x6b,0x74,0x79])]:_0x46e2f4([0x45,0x43]),[_0x46e2f4([0x75,0x73,0x65])]:_0x46e2f4([0x73,0x69,0x67]),[_0x46e2f4([0x63,0x72,0x76])]:_0x46e2f4([0x50,0x2d,0x32,0x35,0x36]),[_0x46e2f4([0x78])]:_0x46e2f4([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]),[_0x46e2f4([0x79])]:_0x46e2f4([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]),[_0x46e2f4([0x61,0x6c,0x67])]:_0x46e2f4([0x45,0x53,0x32,0x35,0x36])},_0x488c9e=_0x41f13f[_0x46e2f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46e2f4([0x67,0x65,0x74])](_0x46e2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x269516(){let _0x30d2ec,_0x3507e6=null,_0x13923c=null;try{if(_0x488c9e==_0x46e2f4([0x47,0x50,0x4c]))return _0x46e2f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30d2ec=_0x2262b2(),!_0x30d2ec)return _0x46e2f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30d2ec[_0x46e2f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13923c=_0x28e657(_0x30d2ec[_0x46e2f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30d2ec[_0x46e2f4([0x6a,0x74,0x69])])),await _0x371a20()?_0xf341ac()?_0x55016b()?_0x46e2f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a3239()?(_0x30d2ec[_0x46e2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e2f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3507e6=_0x11ef61(_0x46e2f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30d2ec[_0x46e2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e2f4([0x74,0x72,0x69,0x61,0x6c])&&(_0x3507e6=_0x11ef61(_0x46e2f4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23d987()):_0x46e2f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46e2f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46e2f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46e2f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55016b(){const _0x47b60c=[_0x46e2f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46e2f4([0x74,0x72,0x69,0x61,0x6c])][_0x46e2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30d2ec[_0x46e2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cdda4/0x3e8:0xe10*_0x2d05b3;return _0x30d2ec[_0x46e2f4([0x65,0x78,0x70])]<_0x47b60c;}function _0xf341ac(){const _0x508b33=_0x30d2ec[_0x46e2f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x508b33&&(!!_0x508b33[_0x46e2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e2f4([0x2a]))||!!_0x508b33[_0x46e2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e2f4([0x4c,0x48])));}function _0x3a3239(){const _0x4297b9=_0x1956,_0x328b87=_0x30d2ec[_0x46e2f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x328b87||0x0==_0x328b87[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58eeac}=new URL(window[_0x46e2f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4297b9(0x1d7)]);if(_0x328b87[_0x46e2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58eeac))return!0x0;const _0x50328f=_0x58eeac[_0x46e2f4([0x73,0x70,0x6c,0x69,0x74])](_0x46e2f4([0x2e]));return _0x328b87[_0x46e2f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d3f1a=>_0x3d3f1a[_0x46e2f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e2f4([0x2a])))[_0x46e2f4([0x6d,0x61,0x70])](_0x5d21f4=>_0x5d21f4[_0x46e2f4([0x73,0x70,0x6c,0x69,0x74])](_0x46e2f4([0x2e])))[_0x46e2f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52d732=>_0x52d732[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50328f[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e2f4([0x6d,0x61,0x70])](_0x5021f2=>Array(_0x50328f[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5021f2[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e2f4([0x66,0x69,0x6c,0x6c])](_0x5021f2[0x0]===_0x46e2f4([0x2a])?_0x46e2f4([0x2a]):'')[_0x46e2f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5021f2))[_0x46e2f4([0x73,0x6f,0x6d,0x65])](_0x52815f=>_0x50328f[_0x46e2f4([0x65,0x76,0x65,0x72,0x79])]((_0x3f85f5,_0x5aa69d)=>_0x52815f[_0x5aa69d]===_0x3f85f5||_0x52815f[_0x5aa69d]===_0x46e2f4([0x2a])));}function _0x23d987(){return _0x3507e6&&_0x13923c?new window[(_0x46e2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4db0f6,_0x4f84aa)=>{_0x3507e6[_0x46e2f4([0x74,0x68,0x65,0x6e])](_0x4db0f6,_0x4f84aa),_0x13923c[_0x46e2f4([0x74,0x68,0x65,0x6e])](_0x357d65=>{_0x357d65!=_0x46e2f4([0x56,0x61,0x6c,0x69,0x64])&&_0x4db0f6(_0x357d65);},_0x4f84aa);}):_0x3507e6||_0x13923c||_0x46e2f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28e657(_0x3ea898,_0x4523be){return new window[(_0x46e2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1efdf9=>{if(_0x207a64())return _0x1efdf9(_0x46e2f4([0x56,0x61,0x6c,0x69,0x64]));_0x1047ab(),_0x41f13f[_0x46e2f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46e2f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c0140=!0x1;const _0x205a84=_0x1e6b1a();function _0x262efd(_0x1809ed){return!!_0x1809ed&&(typeof _0x1809ed===_0x46e2f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1809ed===_0x46e2f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1809ed[_0x46e2f4([0x74,0x68,0x65,0x6e])]===_0x46e2f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1809ed[_0x46e2f4([0x63,0x61,0x74,0x63,0x68])]===_0x46e2f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39d01a(_0x4db9c5){_0x1f8566(_0x4db9c5)[_0x46e2f4([0x74,0x68,0x65,0x6e])](_0x1c90de=>{if(!_0x1c90de||_0x1c90de[_0x46e2f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46e2f4([0x6f,0x6b]))return _0x46e2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x270a75(_0x2ca168(_0x205a84+_0x4523be))!=_0x1c90de[_0x46e2f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46e2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46e2f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x46e2f4([0x74,0x68,0x65,0x6e])](_0x412f22=>(_0x301d34(),_0x412f22),()=>{const _0x4c904f=_0x4f6549();return null==_0x4c904f?(_0x301d34(),_0x46e2f4([0x56,0x61,0x6c,0x69,0x64])):_0x46e2f4(_0x3cdda4-_0x4c904f>(0x61d15615^_0x54cca5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46e2f4([0x74,0x68,0x65,0x6e])](_0x1efdf9)[_0x46e2f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1efdf9(_0x46e2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20f09d=0x45eb3c95^_0x54cca5;function _0x301d34(){const _0xeffe7a=_0x46e2f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x270a75(_0x2ca168(_0x3ea898)),_0x198337=_0x24c62f(_0x270a75(window[_0x46e2f4([0x4d,0x61,0x74,0x68])][_0x46e2f4([0x63,0x65,0x69,0x6c])](_0x3cdda4/_0x20f09d)));window[_0x46e2f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e2f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xeffe7a,_0x198337);}function _0x4f6549(){const _0xf06f8=_0x46e2f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x270a75(_0x2ca168(_0x3ea898)),_0x24afd4=window[_0x46e2f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e2f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf06f8);return _0x24afd4?window[_0x46e2f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24c62f(_0x24afd4),0x10)*_0x20f09d:null;}function _0x1f8566(_0x5433cd){return new window[(_0x46e2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a1561,_0x34aabf)=>{_0x5433cd[_0x46e2f4([0x74,0x68,0x65,0x6e])](_0x2a1561,_0x34aabf),window[_0x46e2f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x34aabf,0x45dc06d5^_0x54cca5);});}}_0x41f13f[_0x46e2f4([0x6f,0x6e])](_0x46e2f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x519e39,_0x3048dd)=>{if(_0x3048dd[0x0]!=_0x3ea898)return _0x1efdf9(_0x46e2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3048dd[0x1]={..._0x3048dd[0x1],[_0x46e2f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x205a84};},{[_0x46e2f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e2f4([0x68,0x69,0x67,0x68])}),_0x41f13f[_0x46e2f4([0x6f,0x6e])](_0x46e2f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53c304=>{_0x262efd(_0x53c304[_0x46e2f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c0140=!0x0,_0x39d01a(_0x53c304[_0x46e2f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46e2f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e2f4([0x6c,0x6f,0x77])}),_0x5e0b49[_0x46e2f4([0x74,0x68,0x65,0x6e])](()=>{_0x4c0140||_0x1efdf9(_0x46e2f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x207a64(){return _0x41f13f[_0x46e2f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e2f4([0x76,0x69,0x65,0x77])][_0x46e2f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46e2f4([0x61,0x75,0x74,0x6f]);}function _0x1047ab(){_0x41f13f[_0x46e2f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e2f4([0x76,0x69,0x65,0x77])][_0x46e2f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46e2f4([0x61,0x75,0x74,0x6f]);}}function _0x11ef61(_0x55544e){const _0x4351ca=[new window[(_0x46e2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa118a2=>setTimeout(_0xa118a2,0x45d4ecd9^_0x54cca5)),_0x5e0b49[_0x46e2f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46e2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24cf22=>{let _0x46cfc8=0x0;_0x41f13f[_0x46e2f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e2f4([0x6f,0x6e])](_0x46e2f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5028cf,_0x7f03e4)=>{_0x7f03e4[0x0][_0x46e2f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46cfc8++,_0x46cfc8==(0x45ddd3ed^_0x54cca5)&&(_0x24cf22(),_0x5028cf[_0x46e2f4([0x6f,0x66,0x66])]());});}))];return window[_0x46e2f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46e2f4([0x72,0x61,0x63,0x65])](_0x4351ca)[_0x46e2f4([0x74,0x68,0x65,0x6e])](()=>_0x55544e);}async function _0x5a2275(){await _0x5e0b49,_0x41f13f[_0x46e2f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e2f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9f1c89,_0x41f13f[_0x46e2f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e2f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9f1c89,_0x41f13f[_0x46e2f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46e2f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1373fd(_0x216c9b){const _0x548e4b=_0x1a16f6();_0x41f13f[_0x548e4b]=_0x46e2f4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x216c9b,_0x216c9b!=_0x46e2f4([0x56,0x61,0x6c,0x69,0x64])&&_0x5a2275();}function _0x1a16f6(){const _0x2f42e2=window[_0x46e2f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46e2f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46e2f4([0x6e,0x6f,0x77])]())[_0x46e2f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46e2f4([0x2e]),'');let _0x114135=_0x46e2f4([0x50]);for(let _0x259fd4=0x0;_0x259fd4<_0x2f42e2[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x259fd4+=0x2){let _0x4c6a10=window[_0x46e2f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f42e2[_0x46e2f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x259fd4,_0x259fd4+0x2));_0x4c6a10>=_0x414530[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c6a10-=_0x414530[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x114135+=_0x414530[_0x4c6a10];}return _0x114135;}function _0x2262b2(){const _0x55a306=_0x488c9e[_0x46e2f4([0x73,0x70,0x6c,0x69,0x74])](_0x46e2f4([0x2e]));if(0x3!=_0x55a306[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x484fec(_0x55a306[0x1]);function _0x484fec(_0x144765){const _0x32f25e=_0x5e6a50(_0x144765);return _0x32f25e&&_0x1afff8()?_0x32f25e:null;function _0x1afff8(){const _0x22132e=_0x32f25e[_0x46e2f4([0x6a,0x74,0x69])],_0x4475b7=window[_0x46e2f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22132e[_0x46e2f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22132e[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d866e={..._0x32f25e,[_0x46e2f4([0x6a,0x74,0x69])]:_0x22132e[_0x46e2f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22132e[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d866e[_0x46e2f4([0x76,0x63])],_0x2ca168(_0x3d866e)==_0x4475b7;}}}async function _0x371a20(){let _0x915e80=!0x0;try{const _0x2cb36f=_0x488c9e[_0x46e2f4([0x73,0x70,0x6c,0x69,0x74])](_0x46e2f4([0x2e])),[_0x2a27a1,_0x4bd1c7,_0x5cebe1]=_0x2cb36f;return _0x408b67(_0x2a27a1),await _0x17722d(_0x2a27a1,_0x4bd1c7,_0x5cebe1),_0x915e80;}catch{return!0x1;}function _0x408b67(_0x1ba9a3){const _0x44c017=_0x5e6a50(_0x1ba9a3);_0x44c017&&_0x44c017[_0x46e2f4([0x61,0x6c,0x67])]==_0x46e2f4([0x45,0x53,0x32,0x35,0x36])||(_0x915e80=!0x1);}async function _0x17722d(_0x2cf555,_0x5087ae,_0x564bb8){const _0x1527d7=window[_0x46e2f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46e2f4([0x66,0x72,0x6f,0x6d])](_0x423a6e(_0x564bb8),_0x3f0abe=>_0x3f0abe[_0x46e2f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a191d=new window[(_0x46e2f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46e2f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2cf555+_0x46e2f4([0x2e])+_0x5087ae),_0x510c03=window[_0x46e2f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46e2f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x510c03)return;const _0x5cb002=await _0x510c03[_0x46e2f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46e2f4([0x6a,0x77,0x6b]),_0x3b2baa,{[_0x46e2f4([0x6e,0x61,0x6d,0x65])]:_0x46e2f4([0x45,0x43,0x44,0x53,0x41]),[_0x46e2f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46e2f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46e2f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x510c03[_0x46e2f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46e2f4([0x6e,0x61,0x6d,0x65])]:_0x46e2f4([0x45,0x43,0x44,0x53,0x41]),[_0x46e2f4([0x68,0x61,0x73,0x68])]:{[_0x46e2f4([0x6e,0x61,0x6d,0x65])]:_0x46e2f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cb002,_0x1527d7,_0x1a191d)||(_0x915e80=!0x1);}}function _0x5e6a50(_0x52e0e0){return _0x52e0e0[_0x46e2f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46e2f4([0x65,0x79]))?JSON[_0x46e2f4([0x70,0x61,0x72,0x73,0x65])](_0x423a6e(_0x52e0e0)):null;}function _0x423a6e(_0x4e7114){return window[_0x46e2f4([0x61,0x74,0x6f,0x62])](_0x4e7114[_0x46e2f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46e2f4([0x2b]))[_0x46e2f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46e2f4([0x2f])));}function _0x2ca168(_0x10c4f7){let _0x546cef=0x1505;function _0x2073e3(_0x1bdcc6){for(let _0x3496b7=0x0;_0x3496b7<_0x1bdcc6[_0x46e2f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3496b7++){const _0x231f66=_0x1bdcc6[_0x46e2f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3496b7);_0x546cef=(_0x546cef<<0x5)+_0x546cef+_0x231f66,_0x546cef&=_0x546cef;}}function _0x5e4b12(_0x42558e){Array[_0x46e2f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42558e)?_0x42558e[_0x46e2f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e4b12):_0x42558e&&typeof _0x42558e==_0x46e2f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46e2f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42558e)[_0x46e2f4([0x73,0x6f,0x72,0x74])]()[_0x46e2f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23fd6a,_0x5a781d])=>{_0x2073e3(_0x23fd6a),_0x5e4b12(_0x5a781d);}):_0x2073e3(window[_0x46e2f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42558e));}return _0x5e4b12(_0x10c4f7),_0x546cef>>>0x0;}function _0x270a75(_0x3a05bd){return _0x3a05bd[_0x46e2f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46e2f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46e2f4([0x30]));}function _0x24c62f(_0x44bfca){return _0x44bfca[_0x46e2f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46e2f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46e2f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x9f1c89(){}function _0x46e2f4(_0x29a8e0){const _0x5a3c14=_0x1956;return _0x29a8e0[_0x5a3c14(0x1be)](_0x5eec0c=>String[_0x5a3c14(0x1b5)](_0x5eec0c))[_0x5a3c14(0x1e3)]('');}_0x1373fd(await _0x269516());}(this);}[_0x15cb95(0x1d4)](){const _0x29607c=_0x15cb95,_0x2e50a4=this[_0x29607c(0x1ea)];if(!_0x2e50a4[_0x29607c(0x1da)][_0x29607c(0x1dc)](_0x29607c(0x1ba)))return;const _0xc2d933=_0x2e50a4[_0x29607c(0x1da)][_0x29607c(0x1dc)](_0x29607c(0x1c3))[_0x29607c(0x1de)](_0x18521f=>_0x29607c(0x1db)==typeof _0x18521f&&(!_0x3021d0(_0x18521f)&&isNaN(Number(_0x18521f))));if(_0xc2d933[_0x29607c(0x1ca)])throw new _0x9b3147(_0x29607c(0x1e5),null,{'namedPresets':_0xc2d933});}[_0x15cb95(0x1dd)](){const _0x2a8dfb=_0x15cb95,_0x516e85=this[_0x2a8dfb(0x1ea)],_0x1ad5a7=this[_0x2a8dfb(0x1ea)][_0x2a8dfb(0x1da)][_0x2a8dfb(0x1dc)](_0x2a8dfb(0x1ce));_0x516e85[_0x2a8dfb(0x1b8)][_0x2a8dfb(0x1cf)](_0x2a8dfb(0x1bd))[_0x2a8dfb(0x1e4)]({'model':{'key':_0x2a8dfb(0x1c7)},'view':_0x13cb29=>String(_0x13cb29)===String(_0x1ad5a7)?null:{'key':_0x2a8dfb(0x1d1),'value':{'line-height':_0x13cb29}}}),_0x516e85[_0x2a8dfb(0x1b8)][_0x2a8dfb(0x1cf)](_0x2a8dfb(0x1cc))[_0x2a8dfb(0x1e4)]({'model':{'key':_0x2a8dfb(0x1c7),'value':_0x418915=>{const _0x279403=_0x2a8dfb;let _0x5cd2ac=_0x418915[_0x279403(0x1c5)](_0x279403(0x1b9));return _0x1b0bdc(_0x5cd2ac)&&(_0x5cd2ac=String(Number(_0x5cd2ac[_0x279403(0x1e9)](0x0,-0x1))/0x64)),String(_0x5cd2ac)===String(_0x1ad5a7)?null:_0x5cd2ac;}},'view':{'styles':{'line-height':/.*/}}});}[_0x15cb95(0x1c2)](){const _0x39e4c5=_0x15cb95,_0x5a1204=this[_0x39e4c5(0x1ea)],_0x57d3cb=this[_0x39e4c5(0x1ea)][_0x39e4c5(0x1da)][_0x39e4c5(0x1dc)](_0x39e4c5(0x1ce)),_0x8488e8=_0x4a8c41(this[_0x39e4c5(0x1ea)][_0x39e4c5(0x1da)][_0x39e4c5(0x1dc)](_0x39e4c5(0x1c7)))[_0x39e4c5(0x1de)](_0x1e3312=>_0x1e3312[_0x39e4c5(0x1d8)]),_0x396813=_0x4c534c(_0x39e4c5(0x1c7),_0x8488e8);_0x5a1204[_0x39e4c5(0x1b8)][_0x39e4c5(0x1e4)](_0x396813),_0x5a1204[_0x39e4c5(0x1b8)][_0x39e4c5(0x1cf)](_0x39e4c5(0x1cc))[_0x39e4c5(0x1e4)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x39e4c5(0x1c7),'value':_0x29f086=>{const _0x47c746=_0x39e4c5;let _0x44d453=_0x29f086[_0x47c746(0x1c5)](_0x47c746(0x1b9));return _0x1b0bdc(_0x44d453)&&(_0x44d453=String(Number(_0x44d453[_0x47c746(0x1e9)](0x0,-0x1))/0x64)),_0x44d453===String(_0x57d3cb)?null:_0x396813[_0x47c746(0x1d8)][_0x47c746(0x1b6)][_0x47c746(0x1df)](_0x44d453)?_0x44d453:null;}}});}}
|
|
23
|
+
const _0x5cb660=_0x403f;(function(_0x543ae6,_0x259f93){const _0x32995d=_0x403f,_0x5d08e3=_0x543ae6();while(!![]){try{const _0x16a806=-parseInt(_0x32995d(0xfc))/0x1*(-parseInt(_0x32995d(0xfe))/0x2)+-parseInt(_0x32995d(0xe4))/0x3*(-parseInt(_0x32995d(0xf7))/0x4)+parseInt(_0x32995d(0xed))/0x5+-parseInt(_0x32995d(0x108))/0x6+parseInt(_0x32995d(0xef))/0x7+-parseInt(_0x32995d(0xf8))/0x8*(parseInt(_0x32995d(0xf0))/0x9)+parseInt(_0x32995d(0xe2))/0xa;if(_0x16a806===_0x259f93)break;else _0x5d08e3['push'](_0x5d08e3['shift']());}catch(_0xcd6f33){_0x5d08e3['push'](_0x5d08e3['shift']());}}}(_0x4a47,0x2090b));import{Plugin as _0x182c32}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x23d1e5}from'./lineheightcommand.js';function _0x403f(_0x1bd7cc,_0x2c85fc){const _0x4a47f2=_0x4a47();return _0x403f=function(_0x403f0d,_0x4230f8){_0x403f0d=_0x403f0d-0xd9;let _0x16946a=_0x4a47f2[_0x403f0d];return _0x16946a;},_0x403f(_0x1bd7cc,_0x2c85fc);}function _0x4a47(){const _0x286001=['1neIHWP','lineHeight.options','9594AOKQBf','lineHeight','href','_validateConfig','editor','lineHeight.defaultValue','upcast','config','$block','values','862326zthKQb','extend','for','conversion','getStyle','model','length','_prepareAnyValueConverters','slice','_preparePredefinedConverters','define','filter','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','default','schema','style','1481810dpCJYu','downcast','12kIueVY','get','line-height','join','requires','includes','setAttributeProperties','pluginName','commands','698560wwujPl','afterInit','853083XMmkZt','2336787wGBAjr','attributeToAttribute','isOfficialPlugin','isPremiumPlugin','fromCharCode','add','string','122192bBdUSy','8eAYiRt','LineHeightEditing','init','map'];_0x4a47=function(){return _0x286001;};return _0x4a47();}import{isPercentageStyleValue as _0x2a48a2}from'ckeditor5/src/engine.js';import{uid as _0x217e83,CKEditorError as _0x48851a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2e48ea,isLineHeightDefaultValue as _0x1549cc,normalizeOptions as _0xcf0d7f}from'./utils.js';import{LineHeightTodoListIntegration as _0x11fa87}from'./integrations/todolist.js';export class LineHeightEditing extends _0x182c32{static get[_0x5cb660(0xeb)](){const _0x242d94=_0x5cb660;return _0x242d94(0xf9);}static get[_0x5cb660(0xe8)](){return[_0x11fa87];}static get[_0x5cb660(0xf2)](){return!0x0;}static get[_0x5cb660(0xf3)](){return!0x0;}constructor(_0x15548d){const _0x5a7ff3=_0x5cb660;super(_0x15548d),_0x15548d[_0x5a7ff3(0x105)][_0x5a7ff3(0xdb)](_0x5a7ff3(0xff),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5a7ff3(0xdf),0x2,2.5,0x3]});}[_0x5cb660(0xfa)](){const _0x1a5466=_0x5cb660,_0x38f28d=this[_0x1a5466(0x102)];this[_0x1a5466(0x101)](),_0x38f28d[_0x1a5466(0x10d)][_0x1a5466(0xe0)][_0x1a5466(0x109)](_0x1a5466(0x106),{'allowAttributes':_0x1a5466(0xff)}),_0x38f28d[_0x1a5466(0x10d)][_0x1a5466(0xe0)][_0x1a5466(0xea)](_0x1a5466(0xff),{'isFormatting':!0x0}),_0x38f28d[_0x1a5466(0xec)][_0x1a5466(0xf5)](_0x1a5466(0xff),new _0x23d1e5(_0x38f28d)),this[_0x1a5466(0x102)][_0x1a5466(0x105)][_0x1a5466(0xe5)](_0x1a5466(0xde))?this[_0x1a5466(0x10f)]():this[_0x1a5466(0xda)]();}[_0x5cb660(0xee)](){!async function(_0x5dbdcf){const _0x39add8=_0xcdf145([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]),_0x4bef71=0x45ddd215,_0x4ac95e=0x45daa9ed^_0x4bef71,_0x3f3477=window[_0xcdf145([0x44,0x61,0x74,0x65])][_0xcdf145([0x6e,0x6f,0x77])](),_0x5e99b2=_0x5dbdcf[_0xcdf145([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1105ea=new window[(_0xcdf145([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b298d=>{_0x5e99b2[_0xcdf145([0x6f,0x6e,0x63,0x65])](_0xcdf145([0x72,0x65,0x61,0x64,0x79]),_0x3b298d);}),_0x4a0e90={[_0xcdf145([0x6b,0x74,0x79])]:_0xcdf145([0x45,0x43]),[_0xcdf145([0x75,0x73,0x65])]:_0xcdf145([0x73,0x69,0x67]),[_0xcdf145([0x63,0x72,0x76])]:_0xcdf145([0x50,0x2d,0x32,0x35,0x36]),[_0xcdf145([0x78])]:_0xcdf145([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]),[_0xcdf145([0x79])]:_0xcdf145([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]),[_0xcdf145([0x61,0x6c,0x67])]:_0xcdf145([0x45,0x53,0x32,0x35,0x36])},_0x43195e=_0x5e99b2[_0xcdf145([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xcdf145([0x67,0x65,0x74])](_0xcdf145([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53d131(){let _0x14c3c0,_0x38eaff=null,_0x5b83da=null;try{if(_0x43195e==_0xcdf145([0x47,0x50,0x4c]))return _0xcdf145([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14c3c0=_0x1e7ec1(),!_0x14c3c0)return _0xcdf145([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14c3c0[_0xcdf145([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b83da=_0x190aef(_0x14c3c0[_0xcdf145([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14c3c0[_0xcdf145([0x6a,0x74,0x69])])),await _0x300feb()?_0x16ffda()?_0x7e39aa()?_0xcdf145([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x201398()?(_0x14c3c0[_0xcdf145([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcdf145([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38eaff=_0x2e0b70(_0xcdf145([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x14c3c0[_0xcdf145([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcdf145([0x74,0x72,0x69,0x61,0x6c])&&(_0x38eaff=_0x2e0b70(_0xcdf145([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d55e5()):_0xcdf145([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xcdf145([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xcdf145([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xcdf145([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7e39aa(){const _0x2e8305=[_0xcdf145([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xcdf145([0x74,0x72,0x69,0x61,0x6c])][_0xcdf145([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14c3c0[_0xcdf145([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f3477/0x3e8:0xe10*_0x4ac95e;return _0x14c3c0[_0xcdf145([0x65,0x78,0x70])]<_0x2e8305;}function _0x16ffda(){const _0x1f92cd=_0x14c3c0[_0xcdf145([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f92cd&&(!!_0x1f92cd[_0xcdf145([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcdf145([0x2a]))||!!_0x1f92cd[_0xcdf145([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcdf145([0x4c,0x48])));}function _0x201398(){const _0x31fc70=_0x403f,_0xcd10fd=_0x14c3c0[_0xcdf145([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcd10fd||0x0==_0xcd10fd[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbe16}=new URL(window[_0xcdf145([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x31fc70(0x100)]);if(_0xcd10fd[_0xcdf145([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe16))return!0x0;const _0x299203=_0xbe16[_0xcdf145([0x73,0x70,0x6c,0x69,0x74])](_0xcdf145([0x2e]));return _0xcd10fd[_0xcdf145([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x369b65=>_0x369b65[_0xcdf145([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcdf145([0x2a])))[_0xcdf145([0x6d,0x61,0x70])](_0x1389cc=>_0x1389cc[_0xcdf145([0x73,0x70,0x6c,0x69,0x74])](_0xcdf145([0x2e])))[_0xcdf145([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x446549=>_0x446549[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x299203[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcdf145([0x6d,0x61,0x70])](_0x1de88d=>Array(_0x299203[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1de88d[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcdf145([0x66,0x69,0x6c,0x6c])](_0x1de88d[0x0]===_0xcdf145([0x2a])?_0xcdf145([0x2a]):'')[_0xcdf145([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1de88d))[_0xcdf145([0x73,0x6f,0x6d,0x65])](_0x281e10=>_0x299203[_0xcdf145([0x65,0x76,0x65,0x72,0x79])]((_0x38a513,_0x15c1d3)=>_0x281e10[_0x15c1d3]===_0x38a513||_0x281e10[_0x15c1d3]===_0xcdf145([0x2a])));}function _0x3d55e5(){return _0x38eaff&&_0x5b83da?new window[(_0xcdf145([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38d959,_0x2f7a19)=>{_0x38eaff[_0xcdf145([0x74,0x68,0x65,0x6e])](_0x38d959,_0x2f7a19),_0x5b83da[_0xcdf145([0x74,0x68,0x65,0x6e])](_0x15710e=>{_0x15710e!=_0xcdf145([0x56,0x61,0x6c,0x69,0x64])&&_0x38d959(_0x15710e);},_0x2f7a19);}):_0x38eaff||_0x5b83da||_0xcdf145([0x56,0x61,0x6c,0x69,0x64]);}}function _0x190aef(_0x252c12,_0x4a584b){return new window[(_0xcdf145([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3088bf=>{if(_0x4e7f3())return _0x3088bf(_0xcdf145([0x56,0x61,0x6c,0x69,0x64]));_0x56291f(),_0x5e99b2[_0xcdf145([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xcdf145([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bf85e=!0x1;const _0x1db8de=_0x217e83();function _0x2acf83(_0x5e1b8a){return!!_0x5e1b8a&&(typeof _0x5e1b8a===_0xcdf145([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e1b8a===_0xcdf145([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e1b8a[_0xcdf145([0x74,0x68,0x65,0x6e])]===_0xcdf145([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e1b8a[_0xcdf145([0x63,0x61,0x74,0x63,0x68])]===_0xcdf145([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d1d36(_0x248767){_0x3674b1(_0x248767)[_0xcdf145([0x74,0x68,0x65,0x6e])](_0x495fa9=>{if(!_0x495fa9||_0x495fa9[_0xcdf145([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xcdf145([0x6f,0x6b]))return _0xcdf145([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17074e(_0x2284bf(_0x1db8de+_0x4a584b))!=_0x495fa9[_0xcdf145([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xcdf145([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xcdf145([0x56,0x61,0x6c,0x69,0x64]);})[_0xcdf145([0x74,0x68,0x65,0x6e])](_0x4e124d=>(_0x17935a(),_0x4e124d),()=>{const _0xcb3810=_0x2ff49e();return null==_0xcb3810?(_0x17935a(),_0xcdf145([0x56,0x61,0x6c,0x69,0x64])):_0xcdf145(_0x3f3477-_0xcb3810>(0x61d15615^_0x4bef71)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xcdf145([0x74,0x68,0x65,0x6e])](_0x3088bf)[_0xcdf145([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3088bf(_0xcdf145([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f890f=0x45eb3c95^_0x4bef71;function _0x17935a(){const _0x55f40d=_0xcdf145([0x6c,0x6c,0x63,0x74,0x2d])+_0x17074e(_0x2284bf(_0x252c12)),_0x95f04d=_0x1f7c40(_0x17074e(window[_0xcdf145([0x4d,0x61,0x74,0x68])][_0xcdf145([0x63,0x65,0x69,0x6c])](_0x3f3477/_0x1f890f)));window[_0xcdf145([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcdf145([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55f40d,_0x95f04d);}function _0x2ff49e(){const _0x4ac2d3=_0xcdf145([0x6c,0x6c,0x63,0x74,0x2d])+_0x17074e(_0x2284bf(_0x252c12)),_0x4b0c40=window[_0xcdf145([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcdf145([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ac2d3);return _0x4b0c40?window[_0xcdf145([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f7c40(_0x4b0c40),0x10)*_0x1f890f:null;}function _0x3674b1(_0x23e878){return new window[(_0xcdf145([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fb443,_0x19fd79)=>{_0x23e878[_0xcdf145([0x74,0x68,0x65,0x6e])](_0x1fb443,_0x19fd79),window[_0xcdf145([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19fd79,0x45dc06d5^_0x4bef71);});}}_0x5e99b2[_0xcdf145([0x6f,0x6e])](_0xcdf145([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b0880,_0x29f6ea)=>{if(_0x29f6ea[0x0]!=_0x252c12)return _0x3088bf(_0xcdf145([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29f6ea[0x1]={..._0x29f6ea[0x1],[_0xcdf145([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1db8de};},{[_0xcdf145([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcdf145([0x68,0x69,0x67,0x68])}),_0x5e99b2[_0xcdf145([0x6f,0x6e])](_0xcdf145([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e4288=>{_0x2acf83(_0x5e4288[_0xcdf145([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bf85e=!0x0,_0x4d1d36(_0x5e4288[_0xcdf145([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xcdf145([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcdf145([0x6c,0x6f,0x77])}),_0x1105ea[_0xcdf145([0x74,0x68,0x65,0x6e])](()=>{_0x4bf85e||_0x3088bf(_0xcdf145([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e7f3(){return _0x5e99b2[_0xcdf145([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcdf145([0x76,0x69,0x65,0x77])][_0xcdf145([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xcdf145([0x61,0x75,0x74,0x6f]);}function _0x56291f(){_0x5e99b2[_0xcdf145([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcdf145([0x76,0x69,0x65,0x77])][_0xcdf145([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xcdf145([0x61,0x75,0x74,0x6f]);}}function _0x2e0b70(_0x15f52c){const _0x2e520e=[new window[(_0xcdf145([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30cc89=>setTimeout(_0x30cc89,0x45d4ecd9^_0x4bef71)),_0x1105ea[_0xcdf145([0x74,0x68,0x65,0x6e])](()=>new window[(_0xcdf145([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x244f29=>{let _0x15fe7c=0x0;_0x5e99b2[_0xcdf145([0x6d,0x6f,0x64,0x65,0x6c])][_0xcdf145([0x6f,0x6e])](_0xcdf145([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41e152,_0xdce67d)=>{_0xdce67d[0x0][_0xcdf145([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15fe7c++,_0x15fe7c==(0x45ddd3ed^_0x4bef71)&&(_0x244f29(),_0x41e152[_0xcdf145([0x6f,0x66,0x66])]());});}))];return window[_0xcdf145([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xcdf145([0x72,0x61,0x63,0x65])](_0x2e520e)[_0xcdf145([0x74,0x68,0x65,0x6e])](()=>_0x15f52c);}async function _0x3ce95f(){await _0x1105ea,_0x5e99b2[_0xcdf145([0x6d,0x6f,0x64,0x65,0x6c])][_0xcdf145([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x103f3f,_0x5e99b2[_0xcdf145([0x6d,0x6f,0x64,0x65,0x6c])][_0xcdf145([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x103f3f,_0x5e99b2[_0xcdf145([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xcdf145([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1aaa65(_0x10fe2f){const _0x52cc2a=_0x52f0d2();_0x5e99b2[_0x52cc2a]=_0xcdf145([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10fe2f,_0x10fe2f!=_0xcdf145([0x56,0x61,0x6c,0x69,0x64])&&_0x3ce95f();}function _0x52f0d2(){const _0x37dcff=window[_0xcdf145([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xcdf145([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xcdf145([0x6e,0x6f,0x77])]())[_0xcdf145([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xcdf145([0x2e]),'');let _0x3c101d=_0xcdf145([0x50]);for(let _0x3485ca=0x0;_0x3485ca<_0x37dcff[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3485ca+=0x2){let _0x393cb5=window[_0xcdf145([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37dcff[_0xcdf145([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3485ca,_0x3485ca+0x2));_0x393cb5>=_0x39add8[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x393cb5-=_0x39add8[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c101d+=_0x39add8[_0x393cb5];}return _0x3c101d;}function _0x1e7ec1(){const _0x3dc432=_0x43195e[_0xcdf145([0x73,0x70,0x6c,0x69,0x74])](_0xcdf145([0x2e]));if(0x3!=_0x3dc432[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf97fdb(_0x3dc432[0x1]);function _0xf97fdb(_0x3800ba){const _0x39c70d=_0x502e46(_0x3800ba);return _0x39c70d&&_0x97aa64()?_0x39c70d:null;function _0x97aa64(){const _0x2d5fb0=_0x39c70d[_0xcdf145([0x6a,0x74,0x69])],_0x1ff4ea=window[_0xcdf145([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d5fb0[_0xcdf145([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d5fb0[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b4108={..._0x39c70d,[_0xcdf145([0x6a,0x74,0x69])]:_0x2d5fb0[_0xcdf145([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d5fb0[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b4108[_0xcdf145([0x76,0x63])],_0x2284bf(_0x3b4108)==_0x1ff4ea;}}}async function _0x300feb(){let _0x511d13=!0x0;try{const _0xfc17a3=_0x43195e[_0xcdf145([0x73,0x70,0x6c,0x69,0x74])](_0xcdf145([0x2e])),[_0x55f6dd,_0x40439a,_0x29059d]=_0xfc17a3;return _0x5217f5(_0x55f6dd),await _0x1360ed(_0x55f6dd,_0x40439a,_0x29059d),_0x511d13;}catch{return!0x1;}function _0x5217f5(_0x3fba13){const _0x4bf19c=_0x502e46(_0x3fba13);_0x4bf19c&&_0x4bf19c[_0xcdf145([0x61,0x6c,0x67])]==_0xcdf145([0x45,0x53,0x32,0x35,0x36])||(_0x511d13=!0x1);}async function _0x1360ed(_0xdd6b14,_0x316795,_0x3fcd72){const _0x2084de=window[_0xcdf145([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xcdf145([0x66,0x72,0x6f,0x6d])](_0x34d6e5(_0x3fcd72),_0x3d7284=>_0x3d7284[_0xcdf145([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b44b5=new window[(_0xcdf145([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xcdf145([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xdd6b14+_0xcdf145([0x2e])+_0x316795),_0x3428f8=window[_0xcdf145([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xcdf145([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3428f8)return;const _0x36195d=await _0x3428f8[_0xcdf145([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xcdf145([0x6a,0x77,0x6b]),_0x4a0e90,{[_0xcdf145([0x6e,0x61,0x6d,0x65])]:_0xcdf145([0x45,0x43,0x44,0x53,0x41]),[_0xcdf145([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xcdf145([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xcdf145([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3428f8[_0xcdf145([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xcdf145([0x6e,0x61,0x6d,0x65])]:_0xcdf145([0x45,0x43,0x44,0x53,0x41]),[_0xcdf145([0x68,0x61,0x73,0x68])]:{[_0xcdf145([0x6e,0x61,0x6d,0x65])]:_0xcdf145([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36195d,_0x2084de,_0x1b44b5)||(_0x511d13=!0x1);}}function _0x502e46(_0x485824){return _0x485824[_0xcdf145([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xcdf145([0x65,0x79]))?JSON[_0xcdf145([0x70,0x61,0x72,0x73,0x65])](_0x34d6e5(_0x485824)):null;}function _0x34d6e5(_0x1396e9){return window[_0xcdf145([0x61,0x74,0x6f,0x62])](_0x1396e9[_0xcdf145([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xcdf145([0x2b]))[_0xcdf145([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xcdf145([0x2f])));}function _0x2284bf(_0x318445){let _0x3ed0f3=0x1505;function _0x5651d9(_0xacee4a){for(let _0x442d68=0x0;_0x442d68<_0xacee4a[_0xcdf145([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x442d68++){const _0x5dd888=_0xacee4a[_0xcdf145([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x442d68);_0x3ed0f3=(_0x3ed0f3<<0x5)+_0x3ed0f3+_0x5dd888,_0x3ed0f3&=_0x3ed0f3;}}function _0x3574a0(_0x20f86c){Array[_0xcdf145([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20f86c)?_0x20f86c[_0xcdf145([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3574a0):_0x20f86c&&typeof _0x20f86c==_0xcdf145([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xcdf145([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20f86c)[_0xcdf145([0x73,0x6f,0x72,0x74])]()[_0xcdf145([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x427447,_0x1a0164])=>{_0x5651d9(_0x427447),_0x3574a0(_0x1a0164);}):_0x5651d9(window[_0xcdf145([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20f86c));}return _0x3574a0(_0x318445),_0x3ed0f3>>>0x0;}function _0x17074e(_0x58703b){return _0x58703b[_0xcdf145([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xcdf145([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xcdf145([0x30]));}function _0x1f7c40(_0x393031){return _0x393031[_0xcdf145([0x73,0x70,0x6c,0x69,0x74])]('')[_0xcdf145([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xcdf145([0x6a,0x6f,0x69,0x6e])]('');}function _0x103f3f(){}function _0xcdf145(_0x5252db){const _0x40a819=_0x403f;return _0x5252db[_0x40a819(0xfb)](_0x3612b7=>String[_0x40a819(0xf4)](_0x3612b7))[_0x40a819(0xe7)]('');}_0x1aaa65(await _0x53d131());}(this);}[_0x5cb660(0x101)](){const _0xaa908f=_0x5cb660,_0x1b32ca=this[_0xaa908f(0x102)];if(!_0x1b32ca[_0xaa908f(0x105)][_0xaa908f(0xe5)](_0xaa908f(0xde)))return;const _0x2ef20c=_0x1b32ca[_0xaa908f(0x105)][_0xaa908f(0xe5)](_0xaa908f(0xfd))[_0xaa908f(0xdc)](_0x59ec4c=>_0xaa908f(0xf6)==typeof _0x59ec4c&&(!_0x1549cc(_0x59ec4c)&&isNaN(Number(_0x59ec4c))));if(_0x2ef20c[_0xaa908f(0x10e)])throw new _0x48851a(_0xaa908f(0xdd),null,{'namedPresets':_0x2ef20c});}[_0x5cb660(0x10f)](){const _0x44b4b0=_0x5cb660,_0x31326c=this[_0x44b4b0(0x102)],_0x4ac1ef=this[_0x44b4b0(0x102)][_0x44b4b0(0x105)][_0x44b4b0(0xe5)](_0x44b4b0(0x103));_0x31326c[_0x44b4b0(0x10b)][_0x44b4b0(0x10a)](_0x44b4b0(0xe3))[_0x44b4b0(0xf1)]({'model':{'key':_0x44b4b0(0xff)},'view':_0xff4e90=>String(_0xff4e90)===String(_0x4ac1ef)?null:{'key':_0x44b4b0(0xe1),'value':{'line-height':_0xff4e90}}}),_0x31326c[_0x44b4b0(0x10b)][_0x44b4b0(0x10a)](_0x44b4b0(0x104))[_0x44b4b0(0xf1)]({'model':{'key':_0x44b4b0(0xff),'value':_0x49e812=>{const _0x57eaf5=_0x44b4b0;let _0xa3d348=_0x49e812[_0x57eaf5(0x10c)](_0x57eaf5(0xe6));return _0x2a48a2(_0xa3d348)&&(_0xa3d348=String(Number(_0xa3d348[_0x57eaf5(0xd9)](0x0,-0x1))/0x64)),String(_0xa3d348)===String(_0x4ac1ef)?null:_0xa3d348;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5cb660(0xda)](){const _0x5aa487=_0x5cb660,_0x74246=this[_0x5aa487(0x102)],_0x2e1d0a=this[_0x5aa487(0x102)][_0x5aa487(0x105)][_0x5aa487(0xe5)](_0x5aa487(0x103)),_0x57a2ee=_0xcf0d7f(this[_0x5aa487(0x102)][_0x5aa487(0x105)][_0x5aa487(0xe5)](_0x5aa487(0xff)))[_0x5aa487(0xdc)](_0x433acd=>_0x433acd[_0x5aa487(0x10d)]),_0x363646=_0x2e48ea(_0x5aa487(0xff),_0x57a2ee);_0x74246[_0x5aa487(0x10b)][_0x5aa487(0xf1)](_0x363646),_0x74246[_0x5aa487(0x10b)][_0x5aa487(0x10a)](_0x5aa487(0x104))[_0x5aa487(0xf1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5aa487(0xff),'value':_0x38de3c=>{const _0x29f471=_0x5aa487;let _0x177489=_0x38de3c[_0x29f471(0x10c)](_0x29f471(0xe6));return _0x2a48a2(_0x177489)&&(_0x177489=String(Number(_0x177489[_0x29f471(0xd9)](0x0,-0x1))/0x64)),_0x177489===String(_0x2e1d0a)?null:_0x363646[_0x29f471(0x10d)][_0x29f471(0x107)][_0x29f471(0xe9)](_0x177489)?_0x177489:null;}}});}}
|