@ckeditor/ckeditor5-line-height 0.0.0-nightly-20260101.0 → 0.0.0-nightly-20260102.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-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>U,LineHeightCommand:()=>s,LineHeightEditing:()=>T,LineHeightTodoListIntegration:()=>A,LineHeightUI:()=>j});var e=n(782),t=n(584);const r=o;function o(e,t){const n=a();return(o=function(e,t){return n[e-=331]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(108510===parseInt(t(343))/1+-parseInt(t(334))/2*(-parseInt(t(357))/3)+-parseInt(t(355))/4+-parseInt(t(341))/5+parseInt(t(356))/6+-parseInt(t(349))/7*(-parseInt(t(358))/8)+-parseInt(t(335))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[r(352)](){const e=r,n=this[e(336)][e(348)][e(347)],i=(0,t.first)(n[e(337)][e(331)]());this[e(353)]=Boolean(i)&&this[e(340)](i),this[e(332)]=this[e(353)]&&i[e(350)](e(339))}[r(354)](e={}){const t=r,n=this[t(336)][t(348)],i=n[t(347)][t(337)],o=e[t(332)];n[t(345)](e=>{const n=t,r=Array[n(346)](i[n(331)]())[n(342)](e=>this[n(340)](e));for(const t of r)o?e[n(344)](n(339),o,t):e[n(338)](n(339),t)})}[r(340)](e){const t=r;return this[t(336)][t(348)][t(333)][t(351)](e,t(339))}}function a(){const e=["execute","232564APtlVx","885510DDvSax","51okjCKD","24IjAOvi","getSelectedBlocks","value","schema","24994fUaUah","2764035mboEgb","editor","selection","removeAttribute","lineHeight","_canHaveLineHeight","872435jTpEWu","filter","110514smeUdn","setAttribute","change","from","document","model","414645lHERSi","getAttribute","checkAttribute","refresh","isEnabled"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","toLowerCase","default","style","map","Double","push","single","line-height-single","199684bezSZp","1882020HfywVr","value","line-height-double","key","string","47188KoDoMb","defaultValue","values","Single","2287791STsRGy","double","number","model","48RYxJgp","span","line-height:","view","4fSiSIY","1114024wGEjJY","options","class","2792190PqYXUQ","21LSDrWB","7360RCRtrP"];return(l=function(){return e})()}function u(e,t){const n=l();return(u=function(e,t){return n[e-=436]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(411502===parseInt(t(450))/1*(parseInt(t(466))/2)+parseInt(t(446))/3*(-parseInt(t(438))/4)+parseInt(t(454))/5+parseInt(t(467))/6+-parseInt(t(455))/7*(parseInt(t(451))/8)+-parseInt(t(442))/9+parseInt(t(456))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const d={get single(){const e=u;return{title:e(441),model:e(464),view:{key:e(453),value:e(465)}}},get double(){const e=u;return{title:e(462),model:e(443),view:{key:e(453),value:e(469)}}}};function h(e){const t=u;return t(437)==typeof e&&t(459)===e[t(458)]()}function p(e){const t=u;return e[t(452)][t(461)](n=>h(n)?{title:String(e[t(439)]),model:t(459)}:(t(444)==typeof n&&(n=String(n)),t(437)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(447),styles:{"line-height":n}}}:function(e){const t=u;return t(437)==typeof e?d[e]:d[e[t(445)]]}(n)))[t(457)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const E=O;function O(e,t){const n=S();return(O=function(e,t){return n[e-=372]})(e,t)}function S(){const e=["element:li","span","144370irBwRV","getAttribute","consumable","editor","setStyle","143mmphgR","238599syILyp","97054dCvXlL","addClass","add","has","9FhzGFM","lineHeight","paragraph","pluginName","todo","todo-list__label__description","17PFtpfQ","init","match","for","name","1321680ziDVoQ","43436ETOtGY","registerDowncastStrategy","ListEditing","ck-list-marker-line-height","consume","item","elementToElement","listType","--ck-content-list-marker-line-height","LineHeightTodoListIntegration","viewItem","get","3860048CrOXVe","12dzshMH","high","isOfficialPlugin","upcast","TodoListEditing","isPremiumPlugin","185cPANAX","978089hZIcgQ"];return(S=function(){return e})()}!function(e){const t=O,n=e();for(;;)try{if(462912===-parseInt(t(408))/1*(-parseInt(t(398))/2)+-parseInt(t(397))/3+-parseInt(t(414))/4*(-parseInt(t(387))/5)+-parseInt(t(381))/6*(-parseInt(t(388))/7)+parseInt(t(380))/8+parseInt(t(402))/9*(-parseInt(t(391))/10)+-parseInt(t(396))/11*(parseInt(t(413))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(S);class A extends e.Plugin{static get[E(405)](){return E(377)}static get[E(383)](){return!0}static get[E(386)](){return!0}[E(409)](){const e=E,{plugins:t,conversion:n}=this[e(394)];t[e(401)](e(416))&&t[e(401)](e(385))&&(t[e(379)](e(416))[e(415)]({scope:e(373),attributeName:e(403),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(406)==o[s(392)](s(375))&&n&&(t[s(399)](s(417),i),t[s(395)](s(376),n,i))}}),n[e(411)](e(384))[e(374)]({view:{name:e(390),classes:e(407)},model:e(404),converterPriority:e(382)}),n[e(411)](e(384))[e(400)](t=>{const n=e;t.on(n(389),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(410)](n[r(378)]);if(!o)return;const s=o[r(410)];s[r(412)]=!1,i[r(393)][r(372)](n[r(378)],s)}}({name:"li",classes:n(417),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const C=x;function P(){const e=["line-height","config","4olgVyj","line-height-invalid-use-of-named-presets","upcast","requires","editor","attributeToAttribute","href","170ZuHDEn","3422964AWpAzK","lineHeight.supportAllValues","schema","define","includes","afterInit","get","fromCharCode","_preparePredefinedConverters","_validateConfig","length","join","pluginName","model","lineHeight.defaultValue","conversion","style","1607624IVSVpN","1680424SryODl","getStyle","14bHmygR","downcast","762945XnnAiW","isPremiumPlugin","14562hCngej","_prepareAnyValueConverters","slice","5224510AEvIRg","extend","1860483fJxOiU","LineHeightEditing","setAttributeProperties","$block","init","filter","map","commands","values","isOfficialPlugin","string","add","default","for","lineHeight","lineHeight.options"];return(P=function(){return e})()}function x(e,t){const n=P();return(x=function(e,t){return n[e-=186]})(e,t)}!function(e){const t=x,n=e();for(;;)try{if(561768===parseInt(t(237))/1+-parseInt(t(232))/2+parseInt(t(189))/3*(-parseInt(t(207))/4)+parseInt(t(187))/5+parseInt(t(215))/6+parseInt(t(235))/7*(-parseInt(t(233))/8)+-parseInt(t(239))/9*(-parseInt(t(214))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class T extends e.Plugin{static get[C(227)](){return C(190)}static get[C(210)](){return[A]}static get[C(198)](){return!0}static get[C(238)](){return!0}constructor(e){const t=C;super(e),e[t(206)][t(218)](t(203),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(201),2,2.5,3]})}[C(193)](){const e=C,t=this[e(211)];this[e(224)](),t[e(228)][e(217)][e(188)](e(192),{allowAttributes:e(203)}),t[e(228)][e(217)][e(191)](e(203),{isFormatting:!0}),t[e(196)][e(200)](e(203),new s(t)),this[e(211)][e(206)][e(221)](e(216))?this[e(240)]():this[e(223)]()}[C(220)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=x;return e[t(195)](e=>String[t(222)](e))[t(226)]("")}!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:1767225600;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=x,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(213)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[C(224)](){const e=C,n=this[e(211)];if(!n[e(206)][e(221)](e(216)))return;const i=n[e(206)][e(221)](e(204))[e(194)](t=>e(199)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(225)])throw new t.CKEditorError(e(208),null,{namedPresets:i})}[C(240)](){const e=C,t=this[e(211)],n=this[e(211)][e(206)][e(221)](e(229));t[e(230)][e(202)](e(236))[e(212)]({model:{key:e(203)},view:t=>String(t)===String(n)?null:{key:e(231),value:{"line-height":t}}}),t[e(230)][e(202)](e(209))[e(212)]({model:{key:e(203),value:t=>{const i=e;let r=t[i(234)](i(205));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(186)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[C(223)](){const e=C,t=this[e(211)],n=this[e(211)][e(206)][e(221)](e(229)),i=p(this[e(211)][e(206)][e(221)](e(203)))[e(194)](t=>t[e(228)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(453)===e[n(449)]?.[n(436)]?(i[n(445)][n(440)][n(463)](e[n(445)]),i[n(449)][e[n(445)]]={key:n(453),value:e[n(449)][n(468)]}):(i[n(445)][n(440)][n(463)](e[n(445)]),i[n(449)][e[n(445)]]={key:n(460),value:n(448)+e[n(445)]+";"});return i}(e(203),i);t[e(230)][e(212)](r),t[e(230)][e(202)](e(209))[e(212)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(203),value:t=>{const i=e;let o=t[i(234)](i(205));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(186)](0,-1))/100)),o===String(n)?null:r[i(228)][i(197)][i(219)](o)?o:null}}})}}var N=n(311),V=n(355),K=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=b(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(K.A,M);K.A&&K.A.locals&&K.A.locals;class j extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new 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:V.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:V.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var B=D;function D(e,t){var n=R();return(D=function(e,t){return n[e-=160]})(e,t)}function R(){var e=["isOfficialPlugin","242392wxgULP","requires","90Xmdrke","6bOEVSz","2191275nupPsx","1aQfqnq","12yEttNL","2365174lpeZlO","isPremiumPlugin","pluginName","10508971Mlvdjk","592062QgzKyJ","6OhbMfC","340532JmjyMv","94090AXHqIj","LineHeight"];return(R=function(){return e})()}!function(e){for(var t=D,n=e();;)try{if(241198===parseInt(t(166))/1*(parseInt(t(172))/2)+-parseInt(t(173))/3*(parseInt(t(174))/4)+-parseInt(t(165))/5*(parseInt(t(164))/6)+-parseInt(t(168))/7+parseInt(t(161))/8+parseInt(t(163))/9*(-parseInt(t(175))/10)+-parseInt(t(171))/11*(-parseInt(t(167))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R);class U extends e.Plugin{static get[B(162)](){return[T,j]}static get[B(170)](){return B(176)}static get[B(160)](){return!0}static get[B(169)](){return!0}}function G(e,t){var n=q();return(G=function(e,t){return n[e-=376]})(e,t)}function q(){var e=["1407904CalPjk","304680vgtLPG","36488obYMSn","18TSqivx","2949294eBqwxj","1978548qXKQDn","356301JBwgBd","1438297EBJtDf","59gHaemZ","190xcImrz"];return(q=function(){return e})()}!function(e){for(var t=G,n=e();;)try{if(567209===parseInt(t(378))/1*(parseInt(t(382))/2)+-parseInt(t(384))/3+parseInt(t(385))/4+-parseInt(t(381))/5+-parseInt(t(383))/6*(-parseInt(t(377))/7)+parseInt(t(380))/8+parseInt(t(376))/9*(-parseInt(t(379))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(q)})(),(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:()=>R,LineHeightCommand:()=>s,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>j});var e=n(782),t=n(584);const r=o;function o(e,t){const n=a();return(o=function(e,t){return n[e-=331]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(108510===parseInt(t(343))/1+-parseInt(t(334))/2*(-parseInt(t(357))/3)+-parseInt(t(355))/4+-parseInt(t(341))/5+parseInt(t(356))/6+-parseInt(t(349))/7*(-parseInt(t(358))/8)+-parseInt(t(335))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[r(352)](){const e=r,n=this[e(336)][e(348)][e(347)],i=(0,t.first)(n[e(337)][e(331)]());this[e(353)]=Boolean(i)&&this[e(340)](i),this[e(332)]=this[e(353)]&&i[e(350)](e(339))}[r(354)](e={}){const t=r,n=this[t(336)][t(348)],i=n[t(347)][t(337)],o=e[t(332)];n[t(345)](e=>{const n=t,r=Array[n(346)](i[n(331)]())[n(342)](e=>this[n(340)](e));for(const t of r)o?e[n(344)](n(339),o,t):e[n(338)](n(339),t)})}[r(340)](e){const t=r;return this[t(336)][t(348)][t(333)][t(351)](e,t(339))}}function a(){const e=["execute","232564APtlVx","885510DDvSax","51okjCKD","24IjAOvi","getSelectedBlocks","value","schema","24994fUaUah","2764035mboEgb","editor","selection","removeAttribute","lineHeight","_canHaveLineHeight","872435jTpEWu","filter","110514smeUdn","setAttribute","change","from","document","model","414645lHERSi","getAttribute","checkAttribute","refresh","isEnabled"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","toLowerCase","default","style","map","Double","push","single","line-height-single","199684bezSZp","1882020HfywVr","value","line-height-double","key","string","47188KoDoMb","defaultValue","values","Single","2287791STsRGy","double","number","model","48RYxJgp","span","line-height:","view","4fSiSIY","1114024wGEjJY","options","class","2792190PqYXUQ","21LSDrWB","7360RCRtrP"];return(l=function(){return e})()}function u(e,t){const n=l();return(u=function(e,t){return n[e-=436]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(411502===parseInt(t(450))/1*(parseInt(t(466))/2)+parseInt(t(446))/3*(-parseInt(t(438))/4)+parseInt(t(454))/5+parseInt(t(467))/6+-parseInt(t(455))/7*(parseInt(t(451))/8)+-parseInt(t(442))/9+parseInt(t(456))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const d={get single(){const e=u;return{title:e(441),model:e(464),view:{key:e(453),value:e(465)}}},get double(){const e=u;return{title:e(462),model:e(443),view:{key:e(453),value:e(469)}}}};function h(e){const t=u;return t(437)==typeof e&&t(459)===e[t(458)]()}function p(e){const t=u;return e[t(452)][t(461)](n=>h(n)?{title:String(e[t(439)]),model:t(459)}:(t(444)==typeof n&&(n=String(n)),t(437)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(447),styles:{"line-height":n}}}:function(e){const t=u;return t(437)==typeof e?d[e]:d[e[t(445)]]}(n)))[t(457)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=S();return(E=function(e,t){return n[e-=372]})(e,t)}function S(){const e=["element:li","span","144370irBwRV","getAttribute","consumable","editor","setStyle","143mmphgR","238599syILyp","97054dCvXlL","addClass","add","has","9FhzGFM","lineHeight","paragraph","pluginName","todo","todo-list__label__description","17PFtpfQ","init","match","for","name","1321680ziDVoQ","43436ETOtGY","registerDowncastStrategy","ListEditing","ck-list-marker-line-height","consume","item","elementToElement","listType","--ck-content-list-marker-line-height","LineHeightTodoListIntegration","viewItem","get","3860048CrOXVe","12dzshMH","high","isOfficialPlugin","upcast","TodoListEditing","isPremiumPlugin","185cPANAX","978089hZIcgQ"];return(S=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(462912===-parseInt(t(408))/1*(-parseInt(t(398))/2)+-parseInt(t(397))/3+-parseInt(t(414))/4*(-parseInt(t(387))/5)+-parseInt(t(381))/6*(-parseInt(t(388))/7)+parseInt(t(380))/8+parseInt(t(402))/9*(-parseInt(t(391))/10)+-parseInt(t(396))/11*(parseInt(t(413))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(S);class C extends e.Plugin{static get[O(405)](){return O(377)}static get[O(383)](){return!0}static get[O(386)](){return!0}[O(409)](){const e=O,{plugins:t,conversion:n}=this[e(394)];t[e(401)](e(416))&&t[e(401)](e(385))&&(t[e(379)](e(416))[e(415)]({scope:e(373),attributeName:e(403),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(406)==o[s(392)](s(375))&&n&&(t[s(399)](s(417),i),t[s(395)](s(376),n,i))}}),n[e(411)](e(384))[e(374)]({view:{name:e(390),classes:e(407)},model:e(404),converterPriority:e(382)}),n[e(411)](e(384))[e(400)](t=>{const n=e;t.on(n(389),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(410)](n[r(378)]);if(!o)return;const s=o[r(410)];s[r(412)]=!1,i[r(393)][r(372)](n[r(378)],s)}}({name:"li",classes:n(417),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const A=T;function T(e,t){const n=P();return(T=function(e,t){return n[e-=473]})(e,t)}function P(){const e=["isPremiumPlugin","lineHeight.options","430gnayIW","define","values","length","includes","fromCharCode","lineHeight.defaultValue","line-height-invalid-use-of-named-presets","add","line-height","config","pluginName","isOfficialPlugin","join","47352TUOCeW","_validateConfig","conversion","setAttributeProperties","395546vmdCuF","for","href","extend","getStyle","_prepareAnyValueConverters","filter","init","string","lineHeight","_preparePredefinedConverters","requires","model","LineHeightEditing","$block","slice","2010SkjRiO","downcast","666799XNRdoi","attributeToAttribute","215464DTzSMs","1IUjCnS","3948615gvLHZF","map","3OjqcuD","style","schema","2905mGSZIO","afterInit","editor","upcast","default","lineHeight.supportAllValues","commands","get","37899vXSUpl"];return(P=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(100868===parseInt(t(511))/1*(parseInt(t(490))/2)+parseInt(t(514))/3*(-parseInt(t(486))/4)+-parseInt(t(517))/5*(parseInt(t(506))/6)+-parseInt(t(508))/7+parseInt(t(510))/8+parseInt(t(525))/9*(-parseInt(t(528))/10)+parseInt(t(512))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class x extends e.Plugin{static get[A(483)](){return A(503)}static get[A(501)](){return[C]}static get[A(484)](){return!0}static get[A(526)](){return!0}constructor(e){const t=A;super(e),e[t(482)][t(473)](t(499),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(521),2,2.5,3]})}[A(497)](){const e=A,t=this[e(519)];this[e(487)](),t[e(502)][e(516)][e(493)](e(504),{allowAttributes:e(499)}),t[e(502)][e(516)][e(489)](e(499),{isFormatting:!0}),t[e(523)][e(480)](e(499),new s(t)),this[e(519)][e(482)][e(524)](e(522))?this[e(495)]():this[e(500)]()}[A(518)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=T;return e[t(513)](e=>String[t(477)](e))[t(485)]("")}!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:1767312e3;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(492)]);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)}[A(487)](){const e=A,n=this[e(519)];if(!n[e(482)][e(524)](e(522)))return;const i=n[e(482)][e(524)](e(527))[e(496)](t=>e(498)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(475)])throw new t.CKEditorError(e(479),null,{namedPresets:i})}[A(495)](){const e=A,t=this[e(519)],n=this[e(519)][e(482)][e(524)](e(478));t[e(488)][e(491)](e(507))[e(509)]({model:{key:e(499)},view:t=>String(t)===String(n)?null:{key:e(515),value:{"line-height":t}}}),t[e(488)][e(491)](e(520))[e(509)]({model:{key:e(499),value:t=>{const i=e;let r=t[i(494)](i(481));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(505)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[A(500)](){const e=A,t=this[e(519)],n=this[e(519)][e(482)][e(524)](e(478)),i=p(this[e(519)][e(482)][e(524)](e(499)))[e(496)](t=>t[e(502)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(453)===e[n(449)]?.[n(436)]?(i[n(445)][n(440)][n(463)](e[n(445)]),i[n(449)][e[n(445)]]={key:n(453),value:e[n(449)][n(468)]}):(i[n(445)][n(440)][n(463)](e[n(445)]),i[n(449)][e[n(445)]]={key:n(460),value:n(448)+e[n(445)]+";"});return i}(e(499),i);t[e(488)][e(509)](r),t[e(488)][e(491)](e(520))[e(509)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(499),value:t=>{const i=e;let o=t[i(494)](i(481));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(505)](0,-1))/100)),o===String(n)?null:r[i(502)][i(474)][i(476)](o)?o:null}}})}}var N=n(311),K=n(355),V=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=b(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(V.A,M);V.A&&V.A.locals&&V.A.locals;class j extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,N.createDropdown)(r);return(0,N.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var B=D;function D(e,t){var n=U();return(D=function(e,t){return n[e-=160]})(e,t)}function U(){var e=["isOfficialPlugin","242392wxgULP","requires","90Xmdrke","6bOEVSz","2191275nupPsx","1aQfqnq","12yEttNL","2365174lpeZlO","isPremiumPlugin","pluginName","10508971Mlvdjk","592062QgzKyJ","6OhbMfC","340532JmjyMv","94090AXHqIj","LineHeight"];return(U=function(){return e})()}!function(e){for(var t=D,n=e();;)try{if(241198===parseInt(t(166))/1*(parseInt(t(172))/2)+-parseInt(t(173))/3*(parseInt(t(174))/4)+-parseInt(t(165))/5*(parseInt(t(164))/6)+-parseInt(t(168))/7+parseInt(t(161))/8+parseInt(t(163))/9*(-parseInt(t(175))/10)+-parseInt(t(171))/11*(-parseInt(t(167))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class R extends e.Plugin{static get[B(162)](){return[x,j]}static get[B(170)](){return B(176)}static get[B(160)](){return!0}static get[B(169)](){return!0}}function G(e,t){var n=q();return(G=function(e,t){return n[e-=376]})(e,t)}function q(){var e=["1407904CalPjk","304680vgtLPG","36488obYMSn","18TSqivx","2949294eBqwxj","1978548qXKQDn","356301JBwgBd","1438297EBJtDf","59gHaemZ","190xcImrz"];return(q=function(){return e})()}!function(e){for(var t=G,n=e();;)try{if(567209===parseInt(t(378))/1*(parseInt(t(382))/2)+-parseInt(t(384))/3+parseInt(t(385))/4+-parseInt(t(381))/5+-parseInt(t(383))/6*(-parseInt(t(377))/7)+parseInt(t(380))/8+parseInt(t(376))/9*(-parseInt(t(379))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(q)})(),(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 _0x4d9039,Plugin as _0x4e5b83}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x88fa72,CKEditorError as _0x1f4a8c,uid as _0x3baaec,Collection as _0x512b8e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x1084e1,isPercentageStyleValue as _0x55095b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x58be9c,createDropdown as _0x10a67c,addListToDropdown as _0x42318c,MenuBarMenuView as _0x236b34,MenuBarMenuListView as _0x4bdb52,MenuBarMenuListItemView as _0x438130,MenuBarMenuListItemButtonView as _0x205f52}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x15bfc1}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4d9039{['refresh'](){const _0x1eadf6=this['editor']['model']['document'],_0x21e5dc=_0x88fa72(_0x1eadf6['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x21e5dc)&&this['_canHaveLineHeight'](_0x21e5dc),this['value']=this['isEnabled']&&_0x21e5dc['getAttribute']('lineHeight');}['execute'](_0x35154e={}){const _0xae153=this['editor']['model'],_0x37bee7=_0xae153['document']['selection'],_0x2a071a=_0x35154e['value'];_0xae153['change'](_0x53568d=>{const _0x263c40=Array['from'](_0x37bee7['getSelectedBlocks']())['filter'](_0x3ab898=>this['_canHaveLineHeight'](_0x3ab898));for(const _0x582fa4 of _0x263c40)_0x2a071a?_0x53568d['setAttribute']('lineHeight',_0x2a071a,_0x582fa4):_0x53568d['removeAttribute']('lineHeight',_0x582fa4);});}['_canHaveLineHeight'](_0x1a75d4){return this['editor']['model']['schema']['checkAttribute'](_0x1a75d4,'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(_0x4b2827){return'string'==typeof _0x4b2827&&'default'===_0x4b2827['toLowerCase']();}function a(_0xfeb703){return _0xfeb703['options']['map'](_0x2fdb8c=>{return f(_0x2fdb8c)?{'title':String(_0xfeb703['defaultValue']),'model':'default'}:('number'==typeof _0x2fdb8c&&(_0x2fdb8c=String(_0x2fdb8c)),'string'!=typeof _0x2fdb8c?_0x2fdb8c:parseFloat(_0x2fdb8c)?{'title':_0x2fdb8c,'model':_0x2fdb8c,'view':{'name':'span','styles':{'line-height':_0x2fdb8c}}}:'string'==typeof(_0x561588=_0x2fdb8c)?v[_0x561588]:v[_0x561588['model']]);var _0x561588;})['filter'](_0x293a29=>void 0x0!==_0x293a29);}class g extends _0x4e5b83{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x14cdcb,conversion:_0xc09d48}=this['editor'];if(!_0x14cdcb['has']('ListEditing')||!_0x14cdcb['has']('TodoListEditing'))return;_0x14cdcb['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x573196,_0x462304,_0x15139e,_0x1a1a1c,_0x12d094){'todo'==_0x12d094['getAttribute']('listType')&&_0x462304&&(_0x573196['addClass']('ck-list-marker-line-height',_0x15139e),_0x573196['setStyle']('--ck-content-list-marker-line-height',_0x462304,_0x15139e));}}),_0xc09d48['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0xc09d48['for']('upcast')['add'](_0xbacee2=>{_0xbacee2['on']('element:li',function(_0x4443e0){const _0x125ec3=new _0x1084e1(_0x4443e0);return(_0x3f1b94,_0xe0f0bf,_0x282017)=>{const _0x3640c6=_0x125ec3['match'](_0xe0f0bf['viewItem']);if(!_0x3640c6)return;const _0x48c1fb=_0x3640c6['match'];_0x48c1fb['name']=!0x1,_0x282017['consumable']['consume'](_0xe0f0bf['viewItem'],_0x48c1fb);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x4e5b83{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x498eae){super(_0x498eae),_0x498eae['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x39291f=this['editor'];this['_validateConfig'](),_0x39291f['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x39291f['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x39291f['commands']['add']('lineHeight',new n(_0x39291f)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3b8730){const _0xfc2078=_0x20939e([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]),_0x2c3dc1=0x45ddd215,_0x4b0583=0x45daaf85^_0x2c3dc1,_0x273802=window[_0x20939e([0x44,0x61,0x74,0x65])][_0x20939e([0x6e,0x6f,0x77])](),_0x56e23e=_0x3b8730[_0x20939e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x389e6a=new window[(_0x20939e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58b495=>{_0x56e23e[_0x20939e([0x6f,0x6e,0x63,0x65])](_0x20939e([0x72,0x65,0x61,0x64,0x79]),_0x58b495);}),_0x142cc3={[_0x20939e([0x6b,0x74,0x79])]:_0x20939e([0x45,0x43]),[_0x20939e([0x75,0x73,0x65])]:_0x20939e([0x73,0x69,0x67]),[_0x20939e([0x63,0x72,0x76])]:_0x20939e([0x50,0x2d,0x32,0x35,0x36]),[_0x20939e([0x78])]:_0x20939e([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]),[_0x20939e([0x79])]:_0x20939e([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]),[_0x20939e([0x61,0x6c,0x67])]:_0x20939e([0x45,0x53,0x32,0x35,0x36])},_0x552695=_0x56e23e[_0x20939e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20939e([0x67,0x65,0x74])](_0x20939e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35cf42(){let _0x55cfc9,_0x613e0d=null,_0x1e5a4d=null;try{if(_0x552695==_0x20939e([0x47,0x50,0x4c]))return _0x20939e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55cfc9=_0x15ddae(),!_0x55cfc9)return _0x20939e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55cfc9[_0x20939e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e5a4d=_0x25f64c(_0x55cfc9[_0x20939e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55cfc9[_0x20939e([0x6a,0x74,0x69])])),await _0x51100e()?_0x3a7152()?_0x4656be()?_0x20939e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x216120()?(_0x55cfc9[_0x20939e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20939e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x613e0d=_0x8f8ed6(_0x20939e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55cfc9[_0x20939e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20939e([0x74,0x72,0x69,0x61,0x6c])&&(_0x613e0d=_0x8f8ed6(_0x20939e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa530f4()):_0x20939e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20939e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20939e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20939e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4656be(){const _0x20a172=[_0x20939e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20939e([0x74,0x72,0x69,0x61,0x6c])][_0x20939e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55cfc9[_0x20939e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x273802/0x3e8:0xe10*_0x4b0583;return _0x55cfc9[_0x20939e([0x65,0x78,0x70])]<_0x20a172;}function _0x3a7152(){const _0x1c7bd3=_0x55cfc9[_0x20939e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c7bd3&&(!!_0x1c7bd3[_0x20939e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20939e([0x2a]))||!!_0x1c7bd3[_0x20939e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20939e([0x4c,0x48])));}function _0x216120(){const _0x42f45f=_0x55cfc9[_0x20939e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42f45f||0x0==_0x42f45f[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x98683c}=new URL(window[_0x20939e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42f45f[_0x20939e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x98683c))return!0x0;const _0x5516af=_0x98683c[_0x20939e([0x73,0x70,0x6c,0x69,0x74])](_0x20939e([0x2e]));return _0x42f45f[_0x20939e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x109cb3=>_0x109cb3[_0x20939e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20939e([0x2a])))[_0x20939e([0x6d,0x61,0x70])](_0xa3ce16=>_0xa3ce16[_0x20939e([0x73,0x70,0x6c,0x69,0x74])](_0x20939e([0x2e])))[_0x20939e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43df09=>_0x43df09[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5516af[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20939e([0x6d,0x61,0x70])](_0x666f80=>Array(_0x5516af[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x666f80[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20939e([0x66,0x69,0x6c,0x6c])](_0x666f80[0x0]===_0x20939e([0x2a])?_0x20939e([0x2a]):'')[_0x20939e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x666f80))[_0x20939e([0x73,0x6f,0x6d,0x65])](_0x188281=>_0x5516af[_0x20939e([0x65,0x76,0x65,0x72,0x79])]((_0x5776a7,_0x12cc58)=>_0x188281[_0x12cc58]===_0x5776a7||_0x188281[_0x12cc58]===_0x20939e([0x2a])));}function _0xa530f4(){return _0x613e0d&&_0x1e5a4d?new window[(_0x20939e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x937b5b,_0x31c9fa)=>{_0x613e0d[_0x20939e([0x74,0x68,0x65,0x6e])](_0x937b5b,_0x31c9fa),_0x1e5a4d[_0x20939e([0x74,0x68,0x65,0x6e])](_0x2047f1=>{_0x2047f1!=_0x20939e([0x56,0x61,0x6c,0x69,0x64])&&_0x937b5b(_0x2047f1);},_0x31c9fa);}):_0x613e0d||_0x1e5a4d||_0x20939e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25f64c(_0x31ac33,_0x17f47b){return new window[(_0x20939e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52e9ec=>{if(_0x2a6b7c())return _0x52e9ec(_0x20939e([0x56,0x61,0x6c,0x69,0x64]));_0x389198(),_0x56e23e[_0x20939e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20939e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35b074=!0x1;const _0x544b76=_0x3baaec();function _0x5d1eea(_0x2f9256){return!!_0x2f9256&&(typeof _0x2f9256===_0x20939e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f9256===_0x20939e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f9256[_0x20939e([0x74,0x68,0x65,0x6e])]===_0x20939e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f9256[_0x20939e([0x63,0x61,0x74,0x63,0x68])]===_0x20939e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c7a31(_0x32b577){_0x43abcb(_0x32b577)[_0x20939e([0x74,0x68,0x65,0x6e])](_0x184ef8=>{if(!_0x184ef8||_0x184ef8[_0x20939e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20939e([0x6f,0x6b]))return _0x20939e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e65f0(_0x33d280(_0x544b76+_0x17f47b))!=_0x184ef8[_0x20939e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20939e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20939e([0x56,0x61,0x6c,0x69,0x64]);})[_0x20939e([0x74,0x68,0x65,0x6e])](_0x5da368=>(_0x449a04(),_0x5da368),()=>{const _0x365b66=_0x34691e();return null==_0x365b66?(_0x449a04(),_0x20939e([0x56,0x61,0x6c,0x69,0x64])):_0x20939e(_0x273802-_0x365b66>(0x61d15615^_0x2c3dc1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20939e([0x74,0x68,0x65,0x6e])](_0x52e9ec)[_0x20939e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52e9ec(_0x20939e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4161be=0x45eb3c95^_0x2c3dc1;function _0x449a04(){const _0x460ea0=_0x20939e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e65f0(_0x33d280(_0x31ac33)),_0x204af4=_0x1ed72b(_0x3e65f0(window[_0x20939e([0x4d,0x61,0x74,0x68])][_0x20939e([0x63,0x65,0x69,0x6c])](_0x273802/_0x4161be)));window[_0x20939e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20939e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x460ea0,_0x204af4);}function _0x34691e(){const _0x1adf9f=_0x20939e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e65f0(_0x33d280(_0x31ac33)),_0x43b7de=window[_0x20939e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20939e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1adf9f);return _0x43b7de?window[_0x20939e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ed72b(_0x43b7de),0x10)*_0x4161be:null;}function _0x43abcb(_0x5107db){return new window[(_0x20939e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14056b,_0x357bc6)=>{_0x5107db[_0x20939e([0x74,0x68,0x65,0x6e])](_0x14056b,_0x357bc6),window[_0x20939e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x357bc6,0x45dc06d5^_0x2c3dc1);});}}_0x56e23e[_0x20939e([0x6f,0x6e])](_0x20939e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x92710c,_0x52ea4a)=>{if(_0x52ea4a[0x0]!=_0x31ac33)return _0x52e9ec(_0x20939e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52ea4a[0x1]={..._0x52ea4a[0x1],[_0x20939e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x544b76};},{[_0x20939e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20939e([0x68,0x69,0x67,0x68])}),_0x56e23e[_0x20939e([0x6f,0x6e])](_0x20939e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x466fed=>{_0x5d1eea(_0x466fed[_0x20939e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35b074=!0x0,_0x5c7a31(_0x466fed[_0x20939e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20939e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20939e([0x6c,0x6f,0x77])}),_0x389e6a[_0x20939e([0x74,0x68,0x65,0x6e])](()=>{_0x35b074||_0x52e9ec(_0x20939e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a6b7c(){return _0x56e23e[_0x20939e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20939e([0x76,0x69,0x65,0x77])][_0x20939e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20939e([0x61,0x75,0x74,0x6f]);}function _0x389198(){_0x56e23e[_0x20939e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20939e([0x76,0x69,0x65,0x77])][_0x20939e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20939e([0x61,0x75,0x74,0x6f]);}}function _0x8f8ed6(_0x2973ef){const _0x581369=[new window[(_0x20939e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3048b5=>setTimeout(_0x3048b5,0x45d4ecd9^_0x2c3dc1)),_0x389e6a[_0x20939e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20939e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xed53ba=>{let _0x479008=0x0;_0x56e23e[_0x20939e([0x6d,0x6f,0x64,0x65,0x6c])][_0x20939e([0x6f,0x6e])](_0x20939e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x272bc6,_0x96449b)=>{_0x96449b[0x0][_0x20939e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x479008++,_0x479008==(0x45ddd7fd^_0x2c3dc1)&&(_0xed53ba(),_0x272bc6[_0x20939e([0x6f,0x66,0x66])]());});}))];return window[_0x20939e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20939e([0x72,0x61,0x63,0x65])](_0x581369)[_0x20939e([0x74,0x68,0x65,0x6e])](()=>_0x2973ef);}async function _0x16daa1(){await _0x389e6a,_0x56e23e[_0x20939e([0x6d,0x6f,0x64,0x65,0x6c])][_0x20939e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47212e,_0x56e23e[_0x20939e([0x6d,0x6f,0x64,0x65,0x6c])][_0x20939e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47212e,_0x56e23e[_0x20939e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20939e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x434f16(_0x24056e){const _0x54c6f4=_0x5b29cd();_0x56e23e[_0x54c6f4]=_0x20939e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24056e,_0x24056e!=_0x20939e([0x56,0x61,0x6c,0x69,0x64])&&_0x16daa1();}function _0x5b29cd(){const _0x332bd4=window[_0x20939e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20939e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20939e([0x6e,0x6f,0x77])]())[_0x20939e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20939e([0x2e]),'');let _0x5f58e0=_0x20939e([0x50]);for(let _0x5391dc=0x0;_0x5391dc<_0x332bd4[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5391dc+=0x2){let _0xa0b2ee=window[_0x20939e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x332bd4[_0x20939e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5391dc,_0x5391dc+0x2));_0xa0b2ee>=_0xfc2078[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa0b2ee-=_0xfc2078[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f58e0+=_0xfc2078[_0xa0b2ee];}return _0x5f58e0;}function _0x15ddae(){const _0x7f946f=_0x552695[_0x20939e([0x73,0x70,0x6c,0x69,0x74])](_0x20939e([0x2e]));if(0x3!=_0x7f946f[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48214e(_0x7f946f[0x1]);function _0x48214e(_0x47f80e){const _0x43eb67=_0x314dd0(_0x47f80e);return _0x43eb67&&_0x327205()?_0x43eb67:null;function _0x327205(){const _0x201db2=_0x43eb67[_0x20939e([0x6a,0x74,0x69])],_0x4e65cd=window[_0x20939e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x201db2[_0x20939e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201db2[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x196a33={..._0x43eb67,[_0x20939e([0x6a,0x74,0x69])]:_0x201db2[_0x20939e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x201db2[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x196a33[_0x20939e([0x76,0x63])],_0x33d280(_0x196a33)==_0x4e65cd;}}}async function _0x51100e(){let _0x5562e4=!0x0;try{const _0x1ae471=_0x552695[_0x20939e([0x73,0x70,0x6c,0x69,0x74])](_0x20939e([0x2e])),[_0x2001e3,_0x565209,_0x47241c]=_0x1ae471;return _0x135bde(_0x2001e3),await _0x1f70da(_0x2001e3,_0x565209,_0x47241c),_0x5562e4;}catch{return!0x1;}function _0x135bde(_0x1a9267){const _0x27f0a0=_0x314dd0(_0x1a9267);_0x27f0a0&&_0x27f0a0[_0x20939e([0x61,0x6c,0x67])]==_0x20939e([0x45,0x53,0x32,0x35,0x36])||(_0x5562e4=!0x1);}async function _0x1f70da(_0x2dbfa7,_0x873f42,_0x498180){const _0x1477ac=window[_0x20939e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20939e([0x66,0x72,0x6f,0x6d])](_0xe2b072(_0x498180),_0x547cec=>_0x547cec[_0x20939e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5152e0=new window[(_0x20939e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20939e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dbfa7+_0x20939e([0x2e])+_0x873f42),_0x33c2e2=window[_0x20939e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20939e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33c2e2)return;const _0x30e747=await _0x33c2e2[_0x20939e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20939e([0x6a,0x77,0x6b]),_0x142cc3,{[_0x20939e([0x6e,0x61,0x6d,0x65])]:_0x20939e([0x45,0x43,0x44,0x53,0x41]),[_0x20939e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20939e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20939e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33c2e2[_0x20939e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20939e([0x6e,0x61,0x6d,0x65])]:_0x20939e([0x45,0x43,0x44,0x53,0x41]),[_0x20939e([0x68,0x61,0x73,0x68])]:{[_0x20939e([0x6e,0x61,0x6d,0x65])]:_0x20939e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30e747,_0x1477ac,_0x5152e0)||(_0x5562e4=!0x1);}}function _0x314dd0(_0x1d852d){return _0x1d852d[_0x20939e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20939e([0x65,0x79]))?JSON[_0x20939e([0x70,0x61,0x72,0x73,0x65])](_0xe2b072(_0x1d852d)):null;}function _0xe2b072(_0x77fef1){return window[_0x20939e([0x61,0x74,0x6f,0x62])](_0x77fef1[_0x20939e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20939e([0x2b]))[_0x20939e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20939e([0x2f])));}function _0x33d280(_0x5183ed){let _0x45fb60=0x1505;function _0x20c25b(_0x334e52){for(let _0x212268=0x0;_0x212268<_0x334e52[_0x20939e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x212268++){const _0x12e468=_0x334e52[_0x20939e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x212268);_0x45fb60=(_0x45fb60<<0x5)+_0x45fb60+_0x12e468,_0x45fb60&=_0x45fb60;}}function _0x58a977(_0x47ac61){Array[_0x20939e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47ac61)?_0x47ac61[_0x20939e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58a977):_0x47ac61&&typeof _0x47ac61==_0x20939e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20939e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47ac61)[_0x20939e([0x73,0x6f,0x72,0x74])]()[_0x20939e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x390411,_0x39e64f])=>{_0x20c25b(_0x390411),_0x58a977(_0x39e64f);}):_0x20c25b(window[_0x20939e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47ac61));}return _0x58a977(_0x5183ed),_0x45fb60>>>0x0;}function _0x3e65f0(_0x345eff){return _0x345eff[_0x20939e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20939e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20939e([0x30]));}function _0x1ed72b(_0x502425){return _0x502425[_0x20939e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20939e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20939e([0x6a,0x6f,0x69,0x6e])]('');}function _0x47212e(){}function _0x20939e(_0x4a649a){return _0x4a649a['map'](_0x53388f=>String['fromCharCode'](_0x53388f))['join']('');}_0x434f16(await _0x35cf42());}(this);}['_validateConfig'](){const _0x5d2057=this['editor'];if(!_0x5d2057['config']['get']('lineHeight.supportAllValues'))return;const _0x3c27b1=_0x5d2057['config']['get']('lineHeight.options')['filter'](_0x7ce80d=>'string'==typeof _0x7ce80d&&(!f(_0x7ce80d)&&isNaN(Number(_0x7ce80d))));if(_0x3c27b1['length'])throw new _0x1f4a8c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x3c27b1});}['_prepareAnyValueConverters'](){const _0x458725=this['editor'],_0x316108=this['editor']['config']['get']('lineHeight.defaultValue');_0x458725['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xb154fe=>String(_0xb154fe)===String(_0x316108)?null:{'key':'style','value':{'line-height':_0xb154fe}}}),_0x458725['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x50c0f5=>{let _0x10ff56=_0x50c0f5['getStyle']('line-height');return _0x55095b(_0x10ff56)&&(_0x10ff56=String(Number(_0x10ff56['slice'](0x0,-0x1))/0x64)),String(_0x10ff56)===String(_0x316108)?null:_0x10ff56;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x4c3686=this['editor'],_0x20294a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x341518=function(_0x2277da,_0x1a3304){const _0x22d0e1={'model':{'key':_0x2277da,'values':[]},'view':{}};for(const _0x419ce3 of _0x1a3304)'class'===_0x419ce3['view']?.['key']?(_0x22d0e1['model']['values']['push'](_0x419ce3['model']),_0x22d0e1['view'][_0x419ce3['model']]={'key':'class','value':_0x419ce3['view']['value']}):(_0x22d0e1['model']['values']['push'](_0x419ce3['model']),_0x22d0e1['view'][_0x419ce3['model']]={'key':'style','value':'line-height:'+_0x419ce3['model']+';'});return _0x22d0e1;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5589ff=>_0x5589ff['model']));_0x4c3686['conversion']['attributeToAttribute'](_0x341518),_0x4c3686['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x4f71ee=>{let _0x51689f=_0x4f71ee['getStyle']('line-height');return _0x55095b(_0x51689f)&&(_0x51689f=String(Number(_0x51689f['slice'](0x0,-0x1))/0x64)),_0x51689f===String(_0x20294a)?null:_0x341518['model']['values']['includes'](_0x51689f)?_0x51689f:null;}}});}}class r extends _0x4e5b83{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x372e59={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x372e59),this['_registerMenuBarComponent'](_0x372e59),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1bbd51=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf9899e;for(const _0x450a52 in _0x1bbd51){const _0x2d758d=_0x450a52,_0x3f4375=_0x1bbd51[_0x2d758d];if('lineHeightLicenseKeyValid'==_0x3f4375||'lineHeightLicenseKeyInvalid'==_0x3f4375||'lineHeightLicenseKeyExpired'==_0x3f4375||'lineHeightLicenseKeyDomainLimit'==_0x3f4375||'lineHeightLicenseKeyNotAllowed'==_0x3f4375||'lineHeightLicenseKeyEvaluationLimit'==_0x3f4375||'lineHeightLicenseKeyTrialLimit'==_0x3f4375||'lineHeightLicenseKeyUsageLimit'==_0x3f4375){delete _0x1bbd51[_0x2d758d],_0xf9899e=_0x3f4375,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xf9899e&&_0x1bbd51['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xf9899e&&_0x1bbd51['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xf9899e&&_0x1bbd51['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xf9899e&&_0x1bbd51['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xf9899e&&_0x1bbd51['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xf9899e&&_0x1bbd51['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xf9899e&&_0x1bbd51['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3d9efb=this['editor'],t=_0x3d9efb['t'],_0x754deb=_0x3d9efb['config']['get']('lineHeight'),_0x9fdad9={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x754deb)['map'](_0xcfd14d=>{const _0x26fa8f=_0x9fdad9[_0xcfd14d['title']];return _0x26fa8f&&_0x26fa8f!=_0xcfd14d['title']&&(_0xcfd14d=Object['assign']({},_0xcfd14d,{'title':_0x26fa8f})),_0xcfd14d;});}['_prepareListOptions'](){const _0x348282=this['editor']['commands']['get']('lineHeight'),_0x46b19d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2cf53f=this['_getLocalizedLineHeightOptions'](),_0x2d6f41=new _0x512b8e(),_0x560d77=_0x543fa8=>'default'===_0x543fa8||String(_0x46b19d)===_0x543fa8;for(const _0x4e1431 of _0x2cf53f){const _0x5cb3f7={'type':'button','model':new _0x58be9c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4e1431['title'],'withText':!0x0})};_0x560d77(_0x4e1431['model'])?(_0x5cb3f7['model']['bind']('isOn')['to'](_0x348282,'value',_0x577cc6=>!_0x577cc6),_0x5cb3f7['model']['commandParam']=void 0x0):(_0x5cb3f7['model']['bind']('isOn')['to'](_0x348282,'value',_0x347c8f=>_0x347c8f===_0x4e1431['model']),_0x5cb3f7['model']['commandParam']=_0x4e1431['model']),_0x2d6f41['add'](_0x5cb3f7);}if(this['_shouldRenderCustomValueOption']()){const _0x3bb1b8=this['_getCustomValueOptionDefinition'](_0x2cf53f);_0x2d6f41['add'](_0x3bb1b8);}return _0x2d6f41;}['_getCustomValueOptionDefinition'](_0x194e6b){const _0x1cc5a4=this['editor'],t=_0x1cc5a4['t'],_0x2a4e05=_0x1cc5a4['commands']['get']('lineHeight'),_0x3efb1b=_0x194e6b['map'](_0x25fd28=>_0x25fd28['model']),_0x23cdf1={'type':'button','model':new _0x58be9c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x23cdf1['model']['bind']('commandParam')['to'](_0x2a4e05,'value'),_0x23cdf1['model']['bind']('isOn')['to'](_0x2a4e05,'value',_0x5c2162=>!!_0x5c2162&&!_0x3efb1b['includes'](String(_0x5c2162))),_0x23cdf1['model']['bind']('label')['to'](_0x2a4e05,'value',_0x549f7c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x549f7c))),_0x23cdf1;}['_registerToolbarComponent']({accessibleLabel:_0x886aea,options:_0x5da964}){const _0x209d25=this['editor'],_0x2b6f9d=_0x209d25['commands']['get']('lineHeight');_0x209d25['ui']['componentFactory']['add']('lineHeight',_0x4486ab=>{const _0x191e63=_0x10a67c(_0x4486ab);return _0x42318c(_0x191e63,_0x5da964,{'role':'menu','ariaLabel':_0x886aea}),_0x191e63['buttonView']['set']({'label':_0x886aea,'tooltip':!0x0,'icon':_0x15bfc1}),_0x191e63['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x191e63['bind']('isEnabled')['to'](_0x2b6f9d),this['listenTo'](_0x191e63,'execute',_0x4027ae=>{_0x209d25['execute'](_0x4027ae['source']['commandName'],{'value':_0x4027ae['source']['commandParam']}),_0x209d25['editing']['view']['focus']();}),_0x191e63['once']('change:isOpen',()=>{const _0x2796bf=_0x191e63['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x191e63,_0x5da964,_0x2796bf);}),_0x191e63;});}['_registerMenuBarComponent']({accessibleLabel:_0x24be49,options:_0x4633c0}){const _0x28bebc=this['editor'],_0x16c9d4=_0x28bebc['commands']['get']('lineHeight');_0x28bebc['ui']['componentFactory']['add']('menuBar:lineHeight',_0x415d81=>{const _0x43a8a8=new _0x236b34(_0x415d81);_0x43a8a8['buttonView']['set']({'label':_0x24be49,'icon':_0x15bfc1}),_0x43a8a8['bind']('isEnabled')['to'](_0x16c9d4);const _0x2d2c56=new _0x4bdb52(_0x415d81);for(const _0x2847ba of _0x4633c0){const _0x29fdce=new _0x438130(_0x415d81,_0x43a8a8),_0x355e05=new _0x205f52(_0x415d81);_0x355e05['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x355e05['bind'](...Object['keys'](_0x2847ba['model']))['to'](_0x2847ba['model']),_0x355e05['delegate']('execute')['to'](_0x43a8a8),_0x355e05['on']('execute',()=>{_0x28bebc['execute'](_0x2847ba['model']['commandName'],{'value':_0x2847ba['model']['commandParam']}),_0x28bebc['editing']['view']['focus']();}),_0x29fdce['children']['add'](_0x355e05),_0x2d2c56['items']['add'](_0x29fdce);}return _0x43a8a8['panelView']['children']['add'](_0x2d2c56),this['_attachCustomOptionVisibilityHandler'](_0x43a8a8,_0x4633c0,_0x2d2c56),_0x43a8a8;});}['_attachCustomOptionVisibilityHandler'](_0x9e78fa,_0x377253,_0x384158){if(!this['_shouldRenderCustomValueOption']())return;const _0x26c46b=()=>{if(!_0x9e78fa['isOpen'])return;_0x384158['items']['last']['isVisible']=Boolean(_0x377253['last']['model']['isOn']);};_0x26c46b(),_0x9e78fa['on']('change:isOpen',()=>{_0x26c46b();});}}class _ extends _0x4e5b83{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 _0x26b785,Plugin as _0x556ecc}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x32914f,CKEditorError as _0x541056,uid as _0x2ed246,Collection as _0xbf91cb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x2ab42c,isPercentageStyleValue as _0x3f3c26}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x54e4c7,createDropdown as _0x1f6939,addListToDropdown as _0x4e9106,MenuBarMenuView as _0x1d0338,MenuBarMenuListView as _0x1dd7c4,MenuBarMenuListItemView as _0x3d67c5,MenuBarMenuListItemButtonView as _0x2a1c1e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x26d8f9}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x26b785{['refresh'](){const _0x3d0ccb=this['editor']['model']['document'],_0x47214f=_0x32914f(_0x3d0ccb['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x47214f)&&this['_canHaveLineHeight'](_0x47214f),this['value']=this['isEnabled']&&_0x47214f['getAttribute']('lineHeight');}['execute'](_0x5346c6={}){const _0x131350=this['editor']['model'],_0x3c79f9=_0x131350['document']['selection'],_0x229282=_0x5346c6['value'];_0x131350['change'](_0x415450=>{const _0x56bb30=Array['from'](_0x3c79f9['getSelectedBlocks']())['filter'](_0x13dff2=>this['_canHaveLineHeight'](_0x13dff2));for(const _0x468803 of _0x56bb30)_0x229282?_0x415450['setAttribute']('lineHeight',_0x229282,_0x468803):_0x415450['removeAttribute']('lineHeight',_0x468803);});}['_canHaveLineHeight'](_0x30c2dd){return this['editor']['model']['schema']['checkAttribute'](_0x30c2dd,'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(_0x304871){return'string'==typeof _0x304871&&'default'===_0x304871['toLowerCase']();}function a(_0x392bcf){return _0x392bcf['options']['map'](_0x4bb3ee=>{return f(_0x4bb3ee)?{'title':String(_0x392bcf['defaultValue']),'model':'default'}:('number'==typeof _0x4bb3ee&&(_0x4bb3ee=String(_0x4bb3ee)),'string'!=typeof _0x4bb3ee?_0x4bb3ee:parseFloat(_0x4bb3ee)?{'title':_0x4bb3ee,'model':_0x4bb3ee,'view':{'name':'span','styles':{'line-height':_0x4bb3ee}}}:'string'==typeof(_0x7ecdb4=_0x4bb3ee)?v[_0x7ecdb4]:v[_0x7ecdb4['model']]);var _0x7ecdb4;})['filter'](_0x3881ff=>void 0x0!==_0x3881ff);}class g extends _0x556ecc{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0xd93e74,conversion:_0x426851}=this['editor'];if(!_0xd93e74['has']('ListEditing')||!_0xd93e74['has']('TodoListEditing'))return;_0xd93e74['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x521b97,_0x32cdea,_0x393bb5,_0x39bc28,_0x34e1d1){'todo'==_0x34e1d1['getAttribute']('listType')&&_0x32cdea&&(_0x521b97['addClass']('ck-list-marker-line-height',_0x393bb5),_0x521b97['setStyle']('--ck-content-list-marker-line-height',_0x32cdea,_0x393bb5));}}),_0x426851['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x426851['for']('upcast')['add'](_0x4d6a34=>{_0x4d6a34['on']('element:li',function(_0x24f9b5){const _0x45425f=new _0x2ab42c(_0x24f9b5);return(_0x2adca3,_0x30f863,_0x58cc5f)=>{const _0x510d8c=_0x45425f['match'](_0x30f863['viewItem']);if(!_0x510d8c)return;const _0x565a51=_0x510d8c['match'];_0x565a51['name']=!0x1,_0x58cc5f['consumable']['consume'](_0x30f863['viewItem'],_0x565a51);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x556ecc{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xdd5ecc){super(_0xdd5ecc),_0xdd5ecc['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x287494=this['editor'];this['_validateConfig'](),_0x287494['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x287494['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x287494['commands']['add']('lineHeight',new n(_0x287494)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3f650b){const _0x40f15f=_0x3a7387([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]),_0x2a5309=0x45ddd215,_0x4a9ea6=0x45daafbd^_0x2a5309,_0x5d7d5c=window[_0x3a7387([0x44,0x61,0x74,0x65])][_0x3a7387([0x6e,0x6f,0x77])](),_0x45ccef=_0x3f650b[_0x3a7387([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x126171=new window[(_0x3a7387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c7199=>{_0x45ccef[_0x3a7387([0x6f,0x6e,0x63,0x65])](_0x3a7387([0x72,0x65,0x61,0x64,0x79]),_0x4c7199);}),_0x41fc36={[_0x3a7387([0x6b,0x74,0x79])]:_0x3a7387([0x45,0x43]),[_0x3a7387([0x75,0x73,0x65])]:_0x3a7387([0x73,0x69,0x67]),[_0x3a7387([0x63,0x72,0x76])]:_0x3a7387([0x50,0x2d,0x32,0x35,0x36]),[_0x3a7387([0x78])]:_0x3a7387([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]),[_0x3a7387([0x79])]:_0x3a7387([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]),[_0x3a7387([0x61,0x6c,0x67])]:_0x3a7387([0x45,0x53,0x32,0x35,0x36])},_0x5ebd8d=_0x45ccef[_0x3a7387([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a7387([0x67,0x65,0x74])](_0x3a7387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x710a1e(){let _0x27ee4f,_0x49e97f=null,_0x3e7443=null;try{if(_0x5ebd8d==_0x3a7387([0x47,0x50,0x4c]))return _0x3a7387([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27ee4f=_0x158d07(),!_0x27ee4f)return _0x3a7387([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27ee4f[_0x3a7387([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e7443=_0xbfb922(_0x27ee4f[_0x3a7387([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27ee4f[_0x3a7387([0x6a,0x74,0x69])])),await _0x51c837()?_0x5bffe1()?_0x31ee42()?_0x3a7387([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4645c6()?(_0x27ee4f[_0x3a7387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a7387([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49e97f=_0x31bd82(_0x3a7387([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27ee4f[_0x3a7387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a7387([0x74,0x72,0x69,0x61,0x6c])&&(_0x49e97f=_0x31bd82(_0x3a7387([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d11ab()):_0x3a7387([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a7387([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a7387([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a7387([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31ee42(){const _0x1f24e1=[_0x3a7387([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a7387([0x74,0x72,0x69,0x61,0x6c])][_0x3a7387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ee4f[_0x3a7387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d7d5c/0x3e8:0xe10*_0x4a9ea6;return _0x27ee4f[_0x3a7387([0x65,0x78,0x70])]<_0x1f24e1;}function _0x5bffe1(){const _0x5afac0=_0x27ee4f[_0x3a7387([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5afac0&&(!!_0x5afac0[_0x3a7387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a7387([0x2a]))||!!_0x5afac0[_0x3a7387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a7387([0x4c,0x48])));}function _0x4645c6(){const _0x1125f5=_0x27ee4f[_0x3a7387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1125f5||0x0==_0x1125f5[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5290e7}=new URL(window[_0x3a7387([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1125f5[_0x3a7387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5290e7))return!0x0;const _0x187231=_0x5290e7[_0x3a7387([0x73,0x70,0x6c,0x69,0x74])](_0x3a7387([0x2e]));return _0x1125f5[_0x3a7387([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x421bc5=>_0x421bc5[_0x3a7387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a7387([0x2a])))[_0x3a7387([0x6d,0x61,0x70])](_0x22bec0=>_0x22bec0[_0x3a7387([0x73,0x70,0x6c,0x69,0x74])](_0x3a7387([0x2e])))[_0x3a7387([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d9483=>_0x4d9483[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x187231[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a7387([0x6d,0x61,0x70])](_0x37d375=>Array(_0x187231[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37d375[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a7387([0x66,0x69,0x6c,0x6c])](_0x37d375[0x0]===_0x3a7387([0x2a])?_0x3a7387([0x2a]):'')[_0x3a7387([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37d375))[_0x3a7387([0x73,0x6f,0x6d,0x65])](_0x2abe79=>_0x187231[_0x3a7387([0x65,0x76,0x65,0x72,0x79])]((_0x2cdc9b,_0x230b20)=>_0x2abe79[_0x230b20]===_0x2cdc9b||_0x2abe79[_0x230b20]===_0x3a7387([0x2a])));}function _0x4d11ab(){return _0x49e97f&&_0x3e7443?new window[(_0x3a7387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2443bb,_0x4dd283)=>{_0x49e97f[_0x3a7387([0x74,0x68,0x65,0x6e])](_0x2443bb,_0x4dd283),_0x3e7443[_0x3a7387([0x74,0x68,0x65,0x6e])](_0xe97ec8=>{_0xe97ec8!=_0x3a7387([0x56,0x61,0x6c,0x69,0x64])&&_0x2443bb(_0xe97ec8);},_0x4dd283);}):_0x49e97f||_0x3e7443||_0x3a7387([0x56,0x61,0x6c,0x69,0x64]);}}function _0xbfb922(_0x57044b,_0xfc42a6){return new window[(_0x3a7387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dd0a1=>{if(_0x4aee61())return _0x1dd0a1(_0x3a7387([0x56,0x61,0x6c,0x69,0x64]));_0x505929(),_0x45ccef[_0x3a7387([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a7387([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45f42d=!0x1;const _0x251c9b=_0x2ed246();function _0x1fd1c6(_0xf2f750){return!!_0xf2f750&&(typeof _0xf2f750===_0x3a7387([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf2f750===_0x3a7387([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf2f750[_0x3a7387([0x74,0x68,0x65,0x6e])]===_0x3a7387([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf2f750[_0x3a7387([0x63,0x61,0x74,0x63,0x68])]===_0x3a7387([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b4b9d(_0x31d863){_0x3eba81(_0x31d863)[_0x3a7387([0x74,0x68,0x65,0x6e])](_0x5ebce2=>{if(!_0x5ebce2||_0x5ebce2[_0x3a7387([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a7387([0x6f,0x6b]))return _0x3a7387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x152062(_0x4f58d1(_0x251c9b+_0xfc42a6))!=_0x5ebce2[_0x3a7387([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a7387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a7387([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a7387([0x74,0x68,0x65,0x6e])](_0x48ebb6=>(_0x2d2aa1(),_0x48ebb6),()=>{const _0x392ef1=_0x11aed1();return null==_0x392ef1?(_0x2d2aa1(),_0x3a7387([0x56,0x61,0x6c,0x69,0x64])):_0x3a7387(_0x5d7d5c-_0x392ef1>(0x61d15615^_0x2a5309)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a7387([0x74,0x68,0x65,0x6e])](_0x1dd0a1)[_0x3a7387([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1dd0a1(_0x3a7387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3dc588=0x45eb3c95^_0x2a5309;function _0x2d2aa1(){const _0x481ec0=_0x3a7387([0x6c,0x6c,0x63,0x74,0x2d])+_0x152062(_0x4f58d1(_0x57044b)),_0x59ef04=_0xce75ff(_0x152062(window[_0x3a7387([0x4d,0x61,0x74,0x68])][_0x3a7387([0x63,0x65,0x69,0x6c])](_0x5d7d5c/_0x3dc588)));window[_0x3a7387([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a7387([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481ec0,_0x59ef04);}function _0x11aed1(){const _0x1b8ec3=_0x3a7387([0x6c,0x6c,0x63,0x74,0x2d])+_0x152062(_0x4f58d1(_0x57044b)),_0x34b88a=window[_0x3a7387([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a7387([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b8ec3);return _0x34b88a?window[_0x3a7387([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xce75ff(_0x34b88a),0x10)*_0x3dc588:null;}function _0x3eba81(_0x87b8f4){return new window[(_0x3a7387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34815e,_0xe13b4c)=>{_0x87b8f4[_0x3a7387([0x74,0x68,0x65,0x6e])](_0x34815e,_0xe13b4c),window[_0x3a7387([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe13b4c,0x45dc06d5^_0x2a5309);});}}_0x45ccef[_0x3a7387([0x6f,0x6e])](_0x3a7387([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32fb29,_0x196a62)=>{if(_0x196a62[0x0]!=_0x57044b)return _0x1dd0a1(_0x3a7387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x196a62[0x1]={..._0x196a62[0x1],[_0x3a7387([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x251c9b};},{[_0x3a7387([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a7387([0x68,0x69,0x67,0x68])}),_0x45ccef[_0x3a7387([0x6f,0x6e])](_0x3a7387([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31e0a1=>{_0x1fd1c6(_0x31e0a1[_0x3a7387([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45f42d=!0x0,_0x3b4b9d(_0x31e0a1[_0x3a7387([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a7387([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a7387([0x6c,0x6f,0x77])}),_0x126171[_0x3a7387([0x74,0x68,0x65,0x6e])](()=>{_0x45f42d||_0x1dd0a1(_0x3a7387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4aee61(){return _0x45ccef[_0x3a7387([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a7387([0x76,0x69,0x65,0x77])][_0x3a7387([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a7387([0x61,0x75,0x74,0x6f]);}function _0x505929(){_0x45ccef[_0x3a7387([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a7387([0x76,0x69,0x65,0x77])][_0x3a7387([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a7387([0x61,0x75,0x74,0x6f]);}}function _0x31bd82(_0x5b120d){const _0x1f1212=[new window[(_0x3a7387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c05bd=>setTimeout(_0x3c05bd,0x45d4ecd9^_0x2a5309)),_0x126171[_0x3a7387([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a7387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32a91b=>{let _0x2b2a95=0x0;_0x45ccef[_0x3a7387([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a7387([0x6f,0x6e])](_0x3a7387([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x218cb9,_0x7a3b)=>{_0x7a3b[0x0][_0x3a7387([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b2a95++,_0x2b2a95==(0x45ddd7fd^_0x2a5309)&&(_0x32a91b(),_0x218cb9[_0x3a7387([0x6f,0x66,0x66])]());});}))];return window[_0x3a7387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a7387([0x72,0x61,0x63,0x65])](_0x1f1212)[_0x3a7387([0x74,0x68,0x65,0x6e])](()=>_0x5b120d);}async function _0x4498f5(){await _0x126171,_0x45ccef[_0x3a7387([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a7387([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51f8de,_0x45ccef[_0x3a7387([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a7387([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51f8de,_0x45ccef[_0x3a7387([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a7387([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59da40(_0xec9917){const _0xece2e4=_0x6bc6cc();_0x45ccef[_0xece2e4]=_0x3a7387([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xec9917,_0xec9917!=_0x3a7387([0x56,0x61,0x6c,0x69,0x64])&&_0x4498f5();}function _0x6bc6cc(){const _0x37d08e=window[_0x3a7387([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a7387([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a7387([0x6e,0x6f,0x77])]())[_0x3a7387([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a7387([0x2e]),'');let _0x3b77c2=_0x3a7387([0x50]);for(let _0x33ed5c=0x0;_0x33ed5c<_0x37d08e[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33ed5c+=0x2){let _0x24abf8=window[_0x3a7387([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37d08e[_0x3a7387([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33ed5c,_0x33ed5c+0x2));_0x24abf8>=_0x40f15f[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24abf8-=_0x40f15f[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b77c2+=_0x40f15f[_0x24abf8];}return _0x3b77c2;}function _0x158d07(){const _0x253b81=_0x5ebd8d[_0x3a7387([0x73,0x70,0x6c,0x69,0x74])](_0x3a7387([0x2e]));if(0x3!=_0x253b81[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2a92c4(_0x253b81[0x1]);function _0x2a92c4(_0x3c1399){const _0x3abf60=_0x3b3c20(_0x3c1399);return _0x3abf60&&_0x42c2f4()?_0x3abf60:null;function _0x42c2f4(){const _0x11d6d7=_0x3abf60[_0x3a7387([0x6a,0x74,0x69])],_0x4b1081=window[_0x3a7387([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11d6d7[_0x3a7387([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11d6d7[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c7472={..._0x3abf60,[_0x3a7387([0x6a,0x74,0x69])]:_0x11d6d7[_0x3a7387([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11d6d7[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c7472[_0x3a7387([0x76,0x63])],_0x4f58d1(_0x4c7472)==_0x4b1081;}}}async function _0x51c837(){let _0x56c936=!0x0;try{const _0x5bd373=_0x5ebd8d[_0x3a7387([0x73,0x70,0x6c,0x69,0x74])](_0x3a7387([0x2e])),[_0x537b63,_0x4a4c65,_0x19c6a7]=_0x5bd373;return _0x1a8858(_0x537b63),await _0x1497f2(_0x537b63,_0x4a4c65,_0x19c6a7),_0x56c936;}catch{return!0x1;}function _0x1a8858(_0x56ea1e){const _0x34cff3=_0x3b3c20(_0x56ea1e);_0x34cff3&&_0x34cff3[_0x3a7387([0x61,0x6c,0x67])]==_0x3a7387([0x45,0x53,0x32,0x35,0x36])||(_0x56c936=!0x1);}async function _0x1497f2(_0x3c0891,_0x5cefbe,_0x598f7a){const _0x5541b5=window[_0x3a7387([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a7387([0x66,0x72,0x6f,0x6d])](_0x1dc61d(_0x598f7a),_0x321c41=>_0x321c41[_0x3a7387([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40bc32=new window[(_0x3a7387([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a7387([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c0891+_0x3a7387([0x2e])+_0x5cefbe),_0x552671=window[_0x3a7387([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a7387([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x552671)return;const _0x59cfb4=await _0x552671[_0x3a7387([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a7387([0x6a,0x77,0x6b]),_0x41fc36,{[_0x3a7387([0x6e,0x61,0x6d,0x65])]:_0x3a7387([0x45,0x43,0x44,0x53,0x41]),[_0x3a7387([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a7387([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a7387([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x552671[_0x3a7387([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a7387([0x6e,0x61,0x6d,0x65])]:_0x3a7387([0x45,0x43,0x44,0x53,0x41]),[_0x3a7387([0x68,0x61,0x73,0x68])]:{[_0x3a7387([0x6e,0x61,0x6d,0x65])]:_0x3a7387([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59cfb4,_0x5541b5,_0x40bc32)||(_0x56c936=!0x1);}}function _0x3b3c20(_0x172062){return _0x172062[_0x3a7387([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a7387([0x65,0x79]))?JSON[_0x3a7387([0x70,0x61,0x72,0x73,0x65])](_0x1dc61d(_0x172062)):null;}function _0x1dc61d(_0x3b7fb6){return window[_0x3a7387([0x61,0x74,0x6f,0x62])](_0x3b7fb6[_0x3a7387([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a7387([0x2b]))[_0x3a7387([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a7387([0x2f])));}function _0x4f58d1(_0x273ecf){let _0x43690f=0x1505;function _0xada871(_0x2d7ec3){for(let _0x1a10c9=0x0;_0x1a10c9<_0x2d7ec3[_0x3a7387([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a10c9++){const _0x345791=_0x2d7ec3[_0x3a7387([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a10c9);_0x43690f=(_0x43690f<<0x5)+_0x43690f+_0x345791,_0x43690f&=_0x43690f;}}function _0x3a246e(_0x365bc7){Array[_0x3a7387([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x365bc7)?_0x365bc7[_0x3a7387([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a246e):_0x365bc7&&typeof _0x365bc7==_0x3a7387([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a7387([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x365bc7)[_0x3a7387([0x73,0x6f,0x72,0x74])]()[_0x3a7387([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x496749,_0x17b497])=>{_0xada871(_0x496749),_0x3a246e(_0x17b497);}):_0xada871(window[_0x3a7387([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x365bc7));}return _0x3a246e(_0x273ecf),_0x43690f>>>0x0;}function _0x152062(_0x416ac8){return _0x416ac8[_0x3a7387([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a7387([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a7387([0x30]));}function _0xce75ff(_0xf3ec4){return _0xf3ec4[_0x3a7387([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a7387([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a7387([0x6a,0x6f,0x69,0x6e])]('');}function _0x51f8de(){}function _0x3a7387(_0x347aed){return _0x347aed['map'](_0x22b7f3=>String['fromCharCode'](_0x22b7f3))['join']('');}_0x59da40(await _0x710a1e());}(this);}['_validateConfig'](){const _0x186249=this['editor'];if(!_0x186249['config']['get']('lineHeight.supportAllValues'))return;const _0x3b961e=_0x186249['config']['get']('lineHeight.options')['filter'](_0x57ee55=>'string'==typeof _0x57ee55&&(!f(_0x57ee55)&&isNaN(Number(_0x57ee55))));if(_0x3b961e['length'])throw new _0x541056('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x3b961e});}['_prepareAnyValueConverters'](){const _0x1696ff=this['editor'],_0x9332da=this['editor']['config']['get']('lineHeight.defaultValue');_0x1696ff['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x51958e=>String(_0x51958e)===String(_0x9332da)?null:{'key':'style','value':{'line-height':_0x51958e}}}),_0x1696ff['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x6e0e3a=>{let _0x1df461=_0x6e0e3a['getStyle']('line-height');return _0x3f3c26(_0x1df461)&&(_0x1df461=String(Number(_0x1df461['slice'](0x0,-0x1))/0x64)),String(_0x1df461)===String(_0x9332da)?null:_0x1df461;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x597c6e=this['editor'],_0x40a11e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c2608=function(_0x4e8ec4,_0x4f4cc0){const _0x4ee22e={'model':{'key':_0x4e8ec4,'values':[]},'view':{}};for(const _0x501833 of _0x4f4cc0)'class'===_0x501833['view']?.['key']?(_0x4ee22e['model']['values']['push'](_0x501833['model']),_0x4ee22e['view'][_0x501833['model']]={'key':'class','value':_0x501833['view']['value']}):(_0x4ee22e['model']['values']['push'](_0x501833['model']),_0x4ee22e['view'][_0x501833['model']]={'key':'style','value':'line-height:'+_0x501833['model']+';'});return _0x4ee22e;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x2936cd=>_0x2936cd['model']));_0x597c6e['conversion']['attributeToAttribute'](_0x2c2608),_0x597c6e['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x315328=>{let _0x398a4c=_0x315328['getStyle']('line-height');return _0x3f3c26(_0x398a4c)&&(_0x398a4c=String(Number(_0x398a4c['slice'](0x0,-0x1))/0x64)),_0x398a4c===String(_0x40a11e)?null:_0x2c2608['model']['values']['includes'](_0x398a4c)?_0x398a4c:null;}}});}}class r extends _0x556ecc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5d94e1={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5d94e1),this['_registerMenuBarComponent'](_0x5d94e1),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xf3f3dc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x57fe85;for(const _0x5ecb84 in _0xf3f3dc){const _0x15bbb4=_0x5ecb84,_0x317963=_0xf3f3dc[_0x15bbb4];if('lineHeightLicenseKeyValid'==_0x317963||'lineHeightLicenseKeyInvalid'==_0x317963||'lineHeightLicenseKeyExpired'==_0x317963||'lineHeightLicenseKeyDomainLimit'==_0x317963||'lineHeightLicenseKeyNotAllowed'==_0x317963||'lineHeightLicenseKeyEvaluationLimit'==_0x317963||'lineHeightLicenseKeyTrialLimit'==_0x317963||'lineHeightLicenseKeyUsageLimit'==_0x317963){delete _0xf3f3dc[_0x15bbb4],_0x57fe85=_0x317963,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x57fe85&&_0xf3f3dc['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x57fe85&&_0xf3f3dc['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x57fe85&&_0xf3f3dc['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x57fe85&&_0xf3f3dc['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x57fe85&&_0xf3f3dc['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x57fe85&&_0xf3f3dc['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x57fe85&&_0xf3f3dc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4ae99f=this['editor'],t=_0x4ae99f['t'],_0x134ff0=_0x4ae99f['config']['get']('lineHeight'),_0x50eec5={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x134ff0)['map'](_0x5468f6=>{const _0x3ec2c2=_0x50eec5[_0x5468f6['title']];return _0x3ec2c2&&_0x3ec2c2!=_0x5468f6['title']&&(_0x5468f6=Object['assign']({},_0x5468f6,{'title':_0x3ec2c2})),_0x5468f6;});}['_prepareListOptions'](){const _0xec1b39=this['editor']['commands']['get']('lineHeight'),_0x420c6f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x73ba0b=this['_getLocalizedLineHeightOptions'](),_0x2c39ac=new _0xbf91cb(),_0x7532b4=_0x53f499=>'default'===_0x53f499||String(_0x420c6f)===_0x53f499;for(const _0x4f9bf8 of _0x73ba0b){const _0x295814={'type':'button','model':new _0x54e4c7({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4f9bf8['title'],'withText':!0x0})};_0x7532b4(_0x4f9bf8['model'])?(_0x295814['model']['bind']('isOn')['to'](_0xec1b39,'value',_0x4615c9=>!_0x4615c9),_0x295814['model']['commandParam']=void 0x0):(_0x295814['model']['bind']('isOn')['to'](_0xec1b39,'value',_0x1c6a5b=>_0x1c6a5b===_0x4f9bf8['model']),_0x295814['model']['commandParam']=_0x4f9bf8['model']),_0x2c39ac['add'](_0x295814);}if(this['_shouldRenderCustomValueOption']()){const _0x11a99d=this['_getCustomValueOptionDefinition'](_0x73ba0b);_0x2c39ac['add'](_0x11a99d);}return _0x2c39ac;}['_getCustomValueOptionDefinition'](_0x57bd27){const _0x5505ba=this['editor'],t=_0x5505ba['t'],_0x253090=_0x5505ba['commands']['get']('lineHeight'),_0x442d68=_0x57bd27['map'](_0x48a123=>_0x48a123['model']),_0x556621={'type':'button','model':new _0x54e4c7({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x556621['model']['bind']('commandParam')['to'](_0x253090,'value'),_0x556621['model']['bind']('isOn')['to'](_0x253090,'value',_0x31f36f=>!!_0x31f36f&&!_0x442d68['includes'](String(_0x31f36f))),_0x556621['model']['bind']('label')['to'](_0x253090,'value',_0x7913c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x7913c))),_0x556621;}['_registerToolbarComponent']({accessibleLabel:_0x19017d,options:_0x2a2427}){const _0x2f86a1=this['editor'],_0x1afa1c=_0x2f86a1['commands']['get']('lineHeight');_0x2f86a1['ui']['componentFactory']['add']('lineHeight',_0x55f9cf=>{const _0xe10d9e=_0x1f6939(_0x55f9cf);return _0x4e9106(_0xe10d9e,_0x2a2427,{'role':'menu','ariaLabel':_0x19017d}),_0xe10d9e['buttonView']['set']({'label':_0x19017d,'tooltip':!0x0,'icon':_0x26d8f9}),_0xe10d9e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xe10d9e['bind']('isEnabled')['to'](_0x1afa1c),this['listenTo'](_0xe10d9e,'execute',_0x21fb7f=>{_0x2f86a1['execute'](_0x21fb7f['source']['commandName'],{'value':_0x21fb7f['source']['commandParam']}),_0x2f86a1['editing']['view']['focus']();}),_0xe10d9e['once']('change:isOpen',()=>{const _0x9167ff=_0xe10d9e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xe10d9e,_0x2a2427,_0x9167ff);}),_0xe10d9e;});}['_registerMenuBarComponent']({accessibleLabel:_0x2923a0,options:_0x687ba7}){const _0x41c352=this['editor'],_0x582053=_0x41c352['commands']['get']('lineHeight');_0x41c352['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5d3027=>{const _0x5d8ec6=new _0x1d0338(_0x5d3027);_0x5d8ec6['buttonView']['set']({'label':_0x2923a0,'icon':_0x26d8f9}),_0x5d8ec6['bind']('isEnabled')['to'](_0x582053);const _0x5d3461=new _0x1dd7c4(_0x5d3027);for(const _0x4a119e of _0x687ba7){const _0x50f92a=new _0x3d67c5(_0x5d3027,_0x5d8ec6),_0x1c79d7=new _0x2a1c1e(_0x5d3027);_0x1c79d7['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1c79d7['bind'](...Object['keys'](_0x4a119e['model']))['to'](_0x4a119e['model']),_0x1c79d7['delegate']('execute')['to'](_0x5d8ec6),_0x1c79d7['on']('execute',()=>{_0x41c352['execute'](_0x4a119e['model']['commandName'],{'value':_0x4a119e['model']['commandParam']}),_0x41c352['editing']['view']['focus']();}),_0x50f92a['children']['add'](_0x1c79d7),_0x5d3461['items']['add'](_0x50f92a);}return _0x5d8ec6['panelView']['children']['add'](_0x5d3461),this['_attachCustomOptionVisibilityHandler'](_0x5d8ec6,_0x687ba7,_0x5d3461),_0x5d8ec6;});}['_attachCustomOptionVisibilityHandler'](_0x7967b1,_0x575153,_0x4bdc92){if(!this['_shouldRenderCustomValueOption']())return;const _0x409e10=()=>{if(!_0x7967b1['isOpen'])return;_0x4bdc92['items']['last']['isVisible']=Boolean(_0x575153['last']['model']['isOn']);};_0x409e10(),_0x7967b1['on']('change:isOpen',()=>{_0x409e10();});}}class _ extends _0x556ecc{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20260102.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20260102.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260102.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260102.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260102.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260102.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-20260102.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-20260102.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 _0x164780=_0x5374;(function(_0x4a6787,_0x295115){const _0x3c9613=_0x5374,_0x59abe0=_0x4a6787();while(!![]){try{const _0x14a9de=parseInt(_0x3c9613(0xed))/0x1+-parseInt(_0x3c9613(0xe8))/0x2+parseInt(_0x3c9613(0xbd))/0x3*(-parseInt(_0x3c9613(0xcf))/0x4)+parseInt(_0x3c9613(0xbb))/0x5+parseInt(_0x3c9613(0xd7))/0x6+parseInt(_0x3c9613(0xeb))/0x7*(-parseInt(_0x3c9613(0xe9))/0x8)+-parseInt(_0x3c9613(0xef))/0x9*(-parseInt(_0x3c9613(0xd6))/0xa);if(_0x14a9de===_0x295115)break;else _0x59abe0['push'](_0x59abe0['shift']());}catch(_0x1c305b){_0x59abe0['push'](_0x59abe0['shift']());}}}(_0x4e1e,0x89268));function _0x4e1e(){const _0x1fd551=['line-height','config','4olgVyj','line-height-invalid-use-of-named-presets','upcast','requires','editor','attributeToAttribute','href','170ZuHDEn','3422964AWpAzK','lineHeight.supportAllValues','schema','define','includes','afterInit','get','fromCharCode','_preparePredefinedConverters','_validateConfig','length','join','pluginName','model','lineHeight.defaultValue','conversion','style','1607624IVSVpN','1680424SryODl','getStyle','14bHmygR','downcast','762945XnnAiW','isPremiumPlugin','14562hCngej','_prepareAnyValueConverters','slice','5224510AEvIRg','extend','1860483fJxOiU','LineHeightEditing','setAttributeProperties','$block','init','filter','map','commands','values','isOfficialPlugin','string','add','default','for','lineHeight','lineHeight.options'];_0x4e1e=function(){return _0x1fd551;};return _0x4e1e();}import{Plugin as _0x1b9b7e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4542eb}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x40baf7}from'ckeditor5/src/engine.js';import{uid as _0x16c791,CKEditorError as _0x41a9dc}from'ckeditor5/src/utils.js';import{buildDefinition as _0x46843c,isLineHeightDefaultValue as _0x57610d,normalizeOptions as _0x228136}from'./utils.js';import{LineHeightTodoListIntegration as _0xdd9cd3}from'./integrations/todolist.js';function _0x5374(_0x1aa51a,_0xfd7280){const _0x4e1ee1=_0x4e1e();return _0x5374=function(_0x53743d,_0x179d79){_0x53743d=_0x53743d-0xba;let _0x39cd85=_0x4e1ee1[_0x53743d];return _0x39cd85;},_0x5374(_0x1aa51a,_0xfd7280);}export class LineHeightEditing extends _0x1b9b7e{static get[_0x164780(0xe3)](){const _0x28957f=_0x164780;return _0x28957f(0xbe);}static get[_0x164780(0xd2)](){return[_0xdd9cd3];}static get[_0x164780(0xc6)](){return!0x0;}static get[_0x164780(0xee)](){return!0x0;}constructor(_0x5be6fa){const _0x41e897=_0x164780;super(_0x5be6fa),_0x5be6fa[_0x41e897(0xce)][_0x41e897(0xda)](_0x41e897(0xcb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x41e897(0xc9),0x2,2.5,0x3]});}[_0x164780(0xc1)](){const _0x4144d4=_0x164780,_0x2e9d61=this[_0x4144d4(0xd3)];this[_0x4144d4(0xe0)](),_0x2e9d61[_0x4144d4(0xe4)][_0x4144d4(0xd9)][_0x4144d4(0xbc)](_0x4144d4(0xc0),{'allowAttributes':_0x4144d4(0xcb)}),_0x2e9d61[_0x4144d4(0xe4)][_0x4144d4(0xd9)][_0x4144d4(0xbf)](_0x4144d4(0xcb),{'isFormatting':!0x0}),_0x2e9d61[_0x4144d4(0xc4)][_0x4144d4(0xc8)](_0x4144d4(0xcb),new _0x4542eb(_0x2e9d61)),this[_0x4144d4(0xd3)][_0x4144d4(0xce)][_0x4144d4(0xdd)](_0x4144d4(0xd8))?this[_0x4144d4(0xf0)]():this[_0x4144d4(0xdf)]();}[_0x164780(0xdc)](){!async function(_0x3a53f7){const _0xecaf21=_0xdf347c([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]),_0x8f2688=0x45ddd215,_0x1cf7e3=0x45daaf85^_0x8f2688,_0x401c26=window[_0xdf347c([0x44,0x61,0x74,0x65])][_0xdf347c([0x6e,0x6f,0x77])](),_0x440d77=_0x3a53f7[_0xdf347c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22fdc7=new window[(_0xdf347c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x194176=>{_0x440d77[_0xdf347c([0x6f,0x6e,0x63,0x65])](_0xdf347c([0x72,0x65,0x61,0x64,0x79]),_0x194176);}),_0x1f13bf={[_0xdf347c([0x6b,0x74,0x79])]:_0xdf347c([0x45,0x43]),[_0xdf347c([0x75,0x73,0x65])]:_0xdf347c([0x73,0x69,0x67]),[_0xdf347c([0x63,0x72,0x76])]:_0xdf347c([0x50,0x2d,0x32,0x35,0x36]),[_0xdf347c([0x78])]:_0xdf347c([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]),[_0xdf347c([0x79])]:_0xdf347c([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]),[_0xdf347c([0x61,0x6c,0x67])]:_0xdf347c([0x45,0x53,0x32,0x35,0x36])},_0x409851=_0x440d77[_0xdf347c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdf347c([0x67,0x65,0x74])](_0xdf347c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36a6a4(){let _0xd6170f,_0xb8c2de=null,_0x3f560d=null;try{if(_0x409851==_0xdf347c([0x47,0x50,0x4c]))return _0xdf347c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd6170f=_0x3cd2fa(),!_0xd6170f)return _0xdf347c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd6170f[_0xdf347c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f560d=_0x4dfecc(_0xd6170f[_0xdf347c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd6170f[_0xdf347c([0x6a,0x74,0x69])])),await _0x2d0411()?_0x378e4a()?_0x126af5()?_0xdf347c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51fb76()?(_0xd6170f[_0xdf347c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdf347c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb8c2de=_0x269696(_0xdf347c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd6170f[_0xdf347c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdf347c([0x74,0x72,0x69,0x61,0x6c])&&(_0xb8c2de=_0x269696(_0xdf347c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdb86fa()):_0xdf347c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdf347c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdf347c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xdf347c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x126af5(){const _0x202482=[_0xdf347c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdf347c([0x74,0x72,0x69,0x61,0x6c])][_0xdf347c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6170f[_0xdf347c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x401c26/0x3e8:0xe10*_0x1cf7e3;return _0xd6170f[_0xdf347c([0x65,0x78,0x70])]<_0x202482;}function _0x378e4a(){const _0x198620=_0xd6170f[_0xdf347c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x198620&&(!!_0x198620[_0xdf347c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf347c([0x2a]))||!!_0x198620[_0xdf347c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf347c([0x4c,0x48])));}function _0x51fb76(){const _0x4b0ac0=_0x5374,_0x413148=_0xd6170f[_0xdf347c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x413148||0x0==_0x413148[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x269dde}=new URL(window[_0xdf347c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b0ac0(0xd5)]);if(_0x413148[_0xdf347c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x269dde))return!0x0;const _0x1502a7=_0x269dde[_0xdf347c([0x73,0x70,0x6c,0x69,0x74])](_0xdf347c([0x2e]));return _0x413148[_0xdf347c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f2650=>_0x1f2650[_0xdf347c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf347c([0x2a])))[_0xdf347c([0x6d,0x61,0x70])](_0x4d1d19=>_0x4d1d19[_0xdf347c([0x73,0x70,0x6c,0x69,0x74])](_0xdf347c([0x2e])))[_0xdf347c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x266148=>_0x266148[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1502a7[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf347c([0x6d,0x61,0x70])](_0x571dc3=>Array(_0x1502a7[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x571dc3[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf347c([0x66,0x69,0x6c,0x6c])](_0x571dc3[0x0]===_0xdf347c([0x2a])?_0xdf347c([0x2a]):'')[_0xdf347c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x571dc3))[_0xdf347c([0x73,0x6f,0x6d,0x65])](_0x1610e7=>_0x1502a7[_0xdf347c([0x65,0x76,0x65,0x72,0x79])]((_0x3eb5a6,_0x211be4)=>_0x1610e7[_0x211be4]===_0x3eb5a6||_0x1610e7[_0x211be4]===_0xdf347c([0x2a])));}function _0xdb86fa(){return _0xb8c2de&&_0x3f560d?new window[(_0xdf347c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4825d9,_0x3bb1ce)=>{_0xb8c2de[_0xdf347c([0x74,0x68,0x65,0x6e])](_0x4825d9,_0x3bb1ce),_0x3f560d[_0xdf347c([0x74,0x68,0x65,0x6e])](_0x19122e=>{_0x19122e!=_0xdf347c([0x56,0x61,0x6c,0x69,0x64])&&_0x4825d9(_0x19122e);},_0x3bb1ce);}):_0xb8c2de||_0x3f560d||_0xdf347c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4dfecc(_0x191d89,_0x243558){return new window[(_0xdf347c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10cfe5=>{if(_0x5bae58())return _0x10cfe5(_0xdf347c([0x56,0x61,0x6c,0x69,0x64]));_0x23b359(),_0x440d77[_0xdf347c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdf347c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x466cf7=!0x1;const _0x4da221=_0x16c791();function _0x2a146e(_0x39bd87){return!!_0x39bd87&&(typeof _0x39bd87===_0xdf347c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39bd87===_0xdf347c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39bd87[_0xdf347c([0x74,0x68,0x65,0x6e])]===_0xdf347c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39bd87[_0xdf347c([0x63,0x61,0x74,0x63,0x68])]===_0xdf347c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bb6b9(_0x26dc50){_0x1b944b(_0x26dc50)[_0xdf347c([0x74,0x68,0x65,0x6e])](_0x39302b=>{if(!_0x39302b||_0x39302b[_0xdf347c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdf347c([0x6f,0x6b]))return _0xdf347c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d7276(_0x20d041(_0x4da221+_0x243558))!=_0x39302b[_0xdf347c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdf347c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdf347c([0x56,0x61,0x6c,0x69,0x64]);})[_0xdf347c([0x74,0x68,0x65,0x6e])](_0x5555a2=>(_0x553633(),_0x5555a2),()=>{const _0x18c64c=_0x4a4793();return null==_0x18c64c?(_0x553633(),_0xdf347c([0x56,0x61,0x6c,0x69,0x64])):_0xdf347c(_0x401c26-_0x18c64c>(0x61d15615^_0x8f2688)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdf347c([0x74,0x68,0x65,0x6e])](_0x10cfe5)[_0xdf347c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10cfe5(_0xdf347c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2af17b=0x45eb3c95^_0x8f2688;function _0x553633(){const _0x543df7=_0xdf347c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d7276(_0x20d041(_0x191d89)),_0x2c3afe=_0xde82e5(_0x1d7276(window[_0xdf347c([0x4d,0x61,0x74,0x68])][_0xdf347c([0x63,0x65,0x69,0x6c])](_0x401c26/_0x2af17b)));window[_0xdf347c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf347c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x543df7,_0x2c3afe);}function _0x4a4793(){const _0x33efbd=_0xdf347c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d7276(_0x20d041(_0x191d89)),_0x4d3519=window[_0xdf347c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf347c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33efbd);return _0x4d3519?window[_0xdf347c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xde82e5(_0x4d3519),0x10)*_0x2af17b:null;}function _0x1b944b(_0xc6b034){return new window[(_0xdf347c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x565013,_0x3ac16d)=>{_0xc6b034[_0xdf347c([0x74,0x68,0x65,0x6e])](_0x565013,_0x3ac16d),window[_0xdf347c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ac16d,0x45dc06d5^_0x8f2688);});}}_0x440d77[_0xdf347c([0x6f,0x6e])](_0xdf347c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x149f98,_0x1e69b9)=>{if(_0x1e69b9[0x0]!=_0x191d89)return _0x10cfe5(_0xdf347c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e69b9[0x1]={..._0x1e69b9[0x1],[_0xdf347c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4da221};},{[_0xdf347c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf347c([0x68,0x69,0x67,0x68])}),_0x440d77[_0xdf347c([0x6f,0x6e])](_0xdf347c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52a254=>{_0x2a146e(_0x52a254[_0xdf347c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x466cf7=!0x0,_0x1bb6b9(_0x52a254[_0xdf347c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdf347c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf347c([0x6c,0x6f,0x77])}),_0x22fdc7[_0xdf347c([0x74,0x68,0x65,0x6e])](()=>{_0x466cf7||_0x10cfe5(_0xdf347c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bae58(){return _0x440d77[_0xdf347c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf347c([0x76,0x69,0x65,0x77])][_0xdf347c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdf347c([0x61,0x75,0x74,0x6f]);}function _0x23b359(){_0x440d77[_0xdf347c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf347c([0x76,0x69,0x65,0x77])][_0xdf347c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdf347c([0x61,0x75,0x74,0x6f]);}}function _0x269696(_0x1f0fe5){const _0x311ef3=[new window[(_0xdf347c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f527b=>setTimeout(_0x1f527b,0x45d4ecd9^_0x8f2688)),_0x22fdc7[_0xdf347c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdf347c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a90bf=>{let _0x101324=0x0;_0x440d77[_0xdf347c([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf347c([0x6f,0x6e])](_0xdf347c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18b809,_0x59538e)=>{_0x59538e[0x0][_0xdf347c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x101324++,_0x101324==(0x45ddd7fd^_0x8f2688)&&(_0x1a90bf(),_0x18b809[_0xdf347c([0x6f,0x66,0x66])]());});}))];return window[_0xdf347c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdf347c([0x72,0x61,0x63,0x65])](_0x311ef3)[_0xdf347c([0x74,0x68,0x65,0x6e])](()=>_0x1f0fe5);}async function _0xe2894e(){await _0x22fdc7,_0x440d77[_0xdf347c([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf347c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21e6af,_0x440d77[_0xdf347c([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf347c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21e6af,_0x440d77[_0xdf347c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdf347c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x495385(_0x1336e2){const _0x586516=_0xee9d19();_0x440d77[_0x586516]=_0xdf347c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1336e2,_0x1336e2!=_0xdf347c([0x56,0x61,0x6c,0x69,0x64])&&_0xe2894e();}function _0xee9d19(){const _0x38aaba=window[_0xdf347c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdf347c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdf347c([0x6e,0x6f,0x77])]())[_0xdf347c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdf347c([0x2e]),'');let _0x1218e7=_0xdf347c([0x50]);for(let _0x2c03d8=0x0;_0x2c03d8<_0x38aaba[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c03d8+=0x2){let _0x7daf29=window[_0xdf347c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38aaba[_0xdf347c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c03d8,_0x2c03d8+0x2));_0x7daf29>=_0xecaf21[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7daf29-=_0xecaf21[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1218e7+=_0xecaf21[_0x7daf29];}return _0x1218e7;}function _0x3cd2fa(){const _0x68b378=_0x409851[_0xdf347c([0x73,0x70,0x6c,0x69,0x74])](_0xdf347c([0x2e]));if(0x3!=_0x68b378[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e19bb(_0x68b378[0x1]);function _0x1e19bb(_0x5a3673){const _0x1b0122=_0x5713a8(_0x5a3673);return _0x1b0122&&_0x577682()?_0x1b0122:null;function _0x577682(){const _0x3b14e3=_0x1b0122[_0xdf347c([0x6a,0x74,0x69])],_0x4c4555=window[_0xdf347c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b14e3[_0xdf347c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b14e3[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3513b8={..._0x1b0122,[_0xdf347c([0x6a,0x74,0x69])]:_0x3b14e3[_0xdf347c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b14e3[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3513b8[_0xdf347c([0x76,0x63])],_0x20d041(_0x3513b8)==_0x4c4555;}}}async function _0x2d0411(){let _0x2e5a80=!0x0;try{const _0x38c6b9=_0x409851[_0xdf347c([0x73,0x70,0x6c,0x69,0x74])](_0xdf347c([0x2e])),[_0x4c2bf7,_0x30129f,_0x5446e0]=_0x38c6b9;return _0x418889(_0x4c2bf7),await _0x5e76ef(_0x4c2bf7,_0x30129f,_0x5446e0),_0x2e5a80;}catch{return!0x1;}function _0x418889(_0xd1fd31){const _0x3cc736=_0x5713a8(_0xd1fd31);_0x3cc736&&_0x3cc736[_0xdf347c([0x61,0x6c,0x67])]==_0xdf347c([0x45,0x53,0x32,0x35,0x36])||(_0x2e5a80=!0x1);}async function _0x5e76ef(_0x50f2ab,_0x1954fa,_0x56145f){const _0x4e2dfb=window[_0xdf347c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdf347c([0x66,0x72,0x6f,0x6d])](_0x152ce4(_0x56145f),_0x3318c5=>_0x3318c5[_0xdf347c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39f83c=new window[(_0xdf347c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdf347c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50f2ab+_0xdf347c([0x2e])+_0x1954fa),_0x2f5e84=window[_0xdf347c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdf347c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f5e84)return;const _0x33e715=await _0x2f5e84[_0xdf347c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdf347c([0x6a,0x77,0x6b]),_0x1f13bf,{[_0xdf347c([0x6e,0x61,0x6d,0x65])]:_0xdf347c([0x45,0x43,0x44,0x53,0x41]),[_0xdf347c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdf347c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdf347c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f5e84[_0xdf347c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdf347c([0x6e,0x61,0x6d,0x65])]:_0xdf347c([0x45,0x43,0x44,0x53,0x41]),[_0xdf347c([0x68,0x61,0x73,0x68])]:{[_0xdf347c([0x6e,0x61,0x6d,0x65])]:_0xdf347c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33e715,_0x4e2dfb,_0x39f83c)||(_0x2e5a80=!0x1);}}function _0x5713a8(_0x5acfe1){return _0x5acfe1[_0xdf347c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdf347c([0x65,0x79]))?JSON[_0xdf347c([0x70,0x61,0x72,0x73,0x65])](_0x152ce4(_0x5acfe1)):null;}function _0x152ce4(_0x1f4141){return window[_0xdf347c([0x61,0x74,0x6f,0x62])](_0x1f4141[_0xdf347c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdf347c([0x2b]))[_0xdf347c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdf347c([0x2f])));}function _0x20d041(_0x1b2210){let _0x47341c=0x1505;function _0x1e6219(_0x3291c8){for(let _0x3fe9fe=0x0;_0x3fe9fe<_0x3291c8[_0xdf347c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fe9fe++){const _0x1c6c03=_0x3291c8[_0xdf347c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fe9fe);_0x47341c=(_0x47341c<<0x5)+_0x47341c+_0x1c6c03,_0x47341c&=_0x47341c;}}function _0x1ca3d9(_0x34d026){Array[_0xdf347c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34d026)?_0x34d026[_0xdf347c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ca3d9):_0x34d026&&typeof _0x34d026==_0xdf347c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdf347c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34d026)[_0xdf347c([0x73,0x6f,0x72,0x74])]()[_0xdf347c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35b139,_0x447d46])=>{_0x1e6219(_0x35b139),_0x1ca3d9(_0x447d46);}):_0x1e6219(window[_0xdf347c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34d026));}return _0x1ca3d9(_0x1b2210),_0x47341c>>>0x0;}function _0x1d7276(_0x44296f){return _0x44296f[_0xdf347c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdf347c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdf347c([0x30]));}function _0xde82e5(_0x266fb2){return _0x266fb2[_0xdf347c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdf347c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdf347c([0x6a,0x6f,0x69,0x6e])]('');}function _0x21e6af(){}function _0xdf347c(_0x2464c1){const _0x4d08fc=_0x5374;return _0x2464c1[_0x4d08fc(0xc3)](_0x344a75=>String[_0x4d08fc(0xde)](_0x344a75))[_0x4d08fc(0xe2)]('');}_0x495385(await _0x36a6a4());}(this);}[_0x164780(0xe0)](){const _0x51c417=_0x164780,_0x36ebfa=this[_0x51c417(0xd3)];if(!_0x36ebfa[_0x51c417(0xce)][_0x51c417(0xdd)](_0x51c417(0xd8)))return;const _0x17c0c3=_0x36ebfa[_0x51c417(0xce)][_0x51c417(0xdd)](_0x51c417(0xcc))[_0x51c417(0xc2)](_0x3c331e=>_0x51c417(0xc7)==typeof _0x3c331e&&(!_0x57610d(_0x3c331e)&&isNaN(Number(_0x3c331e))));if(_0x17c0c3[_0x51c417(0xe1)])throw new _0x41a9dc(_0x51c417(0xd0),null,{'namedPresets':_0x17c0c3});}[_0x164780(0xf0)](){const _0x2714d2=_0x164780,_0x22165b=this[_0x2714d2(0xd3)],_0xc2e946=this[_0x2714d2(0xd3)][_0x2714d2(0xce)][_0x2714d2(0xdd)](_0x2714d2(0xe5));_0x22165b[_0x2714d2(0xe6)][_0x2714d2(0xca)](_0x2714d2(0xec))[_0x2714d2(0xd4)]({'model':{'key':_0x2714d2(0xcb)},'view':_0x3e8cef=>String(_0x3e8cef)===String(_0xc2e946)?null:{'key':_0x2714d2(0xe7),'value':{'line-height':_0x3e8cef}}}),_0x22165b[_0x2714d2(0xe6)][_0x2714d2(0xca)](_0x2714d2(0xd1))[_0x2714d2(0xd4)]({'model':{'key':_0x2714d2(0xcb),'value':_0x3a637f=>{const _0x418eb0=_0x2714d2;let _0x5d99f6=_0x3a637f[_0x418eb0(0xea)](_0x418eb0(0xcd));return _0x40baf7(_0x5d99f6)&&(_0x5d99f6=String(Number(_0x5d99f6[_0x418eb0(0xba)](0x0,-0x1))/0x64)),String(_0x5d99f6)===String(_0xc2e946)?null:_0x5d99f6;}},'view':{'styles':{'line-height':/.*/}}});}[_0x164780(0xdf)](){const _0x402808=_0x164780,_0x1761bd=this[_0x402808(0xd3)],_0x2e1e77=this[_0x402808(0xd3)][_0x402808(0xce)][_0x402808(0xdd)](_0x402808(0xe5)),_0x3ad9fd=_0x228136(this[_0x402808(0xd3)][_0x402808(0xce)][_0x402808(0xdd)](_0x402808(0xcb)))[_0x402808(0xc2)](_0x135b65=>_0x135b65[_0x402808(0xe4)]),_0x576293=_0x46843c(_0x402808(0xcb),_0x3ad9fd);_0x1761bd[_0x402808(0xe6)][_0x402808(0xd4)](_0x576293),_0x1761bd[_0x402808(0xe6)][_0x402808(0xca)](_0x402808(0xd1))[_0x402808(0xd4)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x402808(0xcb),'value':_0x15117f=>{const _0xc31d90=_0x402808;let _0x4ef997=_0x15117f[_0xc31d90(0xea)](_0xc31d90(0xcd));return _0x40baf7(_0x4ef997)&&(_0x4ef997=String(Number(_0x4ef997[_0xc31d90(0xba)](0x0,-0x1))/0x64)),_0x4ef997===String(_0x2e1e77)?null:_0x576293[_0xc31d90(0xe4)][_0xc31d90(0xc5)][_0xc31d90(0xdb)](_0x4ef997)?_0x4ef997:null;}}});}}
|
|
23
|
+
const _0x1c5605=_0x1c1d;function _0x1c1d(_0x13c7fe,_0x43c213){const _0x3b6d4a=_0x3b6d();return _0x1c1d=function(_0x1c1de5,_0xb7865){_0x1c1de5=_0x1c1de5-0x1d9;let _0x1dabea=_0x3b6d4a[_0x1c1de5];return _0x1dabea;},_0x1c1d(_0x13c7fe,_0x43c213);}(function(_0xb4db0,_0x54ac6f){const _0x36931a=_0x1c1d,_0x2a6101=_0xb4db0();while(!![]){try{const _0x253521=parseInt(_0x36931a(0x1ff))/0x1*(parseInt(_0x36931a(0x1ea))/0x2)+parseInt(_0x36931a(0x202))/0x3*(-parseInt(_0x36931a(0x1e6))/0x4)+-parseInt(_0x36931a(0x205))/0x5*(parseInt(_0x36931a(0x1fa))/0x6)+-parseInt(_0x36931a(0x1fc))/0x7+parseInt(_0x36931a(0x1fe))/0x8+parseInt(_0x36931a(0x20d))/0x9*(-parseInt(_0x36931a(0x210))/0xa)+parseInt(_0x36931a(0x200))/0xb;if(_0x253521===_0x54ac6f)break;else _0x2a6101['push'](_0x2a6101['shift']());}catch(_0x136ba5){_0x2a6101['push'](_0x2a6101['shift']());}}}(_0x3b6d,0x18a04));function _0x3b6d(){const _0x52a87b=['isPremiumPlugin','lineHeight.options','430gnayIW','define','values','length','includes','fromCharCode','lineHeight.defaultValue','line-height-invalid-use-of-named-presets','add','line-height','config','pluginName','isOfficialPlugin','join','47352TUOCeW','_validateConfig','conversion','setAttributeProperties','395546vmdCuF','for','href','extend','getStyle','_prepareAnyValueConverters','filter','init','string','lineHeight','_preparePredefinedConverters','requires','model','LineHeightEditing','$block','slice','2010SkjRiO','downcast','666799XNRdoi','attributeToAttribute','215464DTzSMs','1IUjCnS','3948615gvLHZF','map','3OjqcuD','style','schema','2905mGSZIO','afterInit','editor','upcast','default','lineHeight.supportAllValues','commands','get','37899vXSUpl'];_0x3b6d=function(){return _0x52a87b;};return _0x3b6d();}import{Plugin as _0xe2afbd}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x29ea2e}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x25cbf5}from'ckeditor5/src/engine.js';import{uid as _0x162827,CKEditorError as _0x388263}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1bef4c,isLineHeightDefaultValue as _0x2ef2b8,normalizeOptions as _0x226ca6}from'./utils.js';import{LineHeightTodoListIntegration as _0x41b589}from'./integrations/todolist.js';export class LineHeightEditing extends _0xe2afbd{static get[_0x1c5605(0x1e3)](){const _0x5d01f0=_0x1c5605;return _0x5d01f0(0x1f7);}static get[_0x1c5605(0x1f5)](){return[_0x41b589];}static get[_0x1c5605(0x1e4)](){return!0x0;}static get[_0x1c5605(0x20e)](){return!0x0;}constructor(_0xf67e52){const _0x489e9a=_0x1c5605;super(_0xf67e52),_0xf67e52[_0x489e9a(0x1e2)][_0x489e9a(0x1d9)](_0x489e9a(0x1f3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x489e9a(0x209),0x2,2.5,0x3]});}[_0x1c5605(0x1f1)](){const _0x51946d=_0x1c5605,_0x314cee=this[_0x51946d(0x207)];this[_0x51946d(0x1e7)](),_0x314cee[_0x51946d(0x1f6)][_0x51946d(0x204)][_0x51946d(0x1ed)](_0x51946d(0x1f8),{'allowAttributes':_0x51946d(0x1f3)}),_0x314cee[_0x51946d(0x1f6)][_0x51946d(0x204)][_0x51946d(0x1e9)](_0x51946d(0x1f3),{'isFormatting':!0x0}),_0x314cee[_0x51946d(0x20b)][_0x51946d(0x1e0)](_0x51946d(0x1f3),new _0x29ea2e(_0x314cee)),this[_0x51946d(0x207)][_0x51946d(0x1e2)][_0x51946d(0x20c)](_0x51946d(0x20a))?this[_0x51946d(0x1ef)]():this[_0x51946d(0x1f4)]();}[_0x1c5605(0x206)](){!async function(_0x5ea34c){const _0x327009=_0x22bf11([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]),_0x46adc7=0x45ddd215,_0x150c3e=0x45daafbd^_0x46adc7,_0x359472=window[_0x22bf11([0x44,0x61,0x74,0x65])][_0x22bf11([0x6e,0x6f,0x77])](),_0x52b5aa=_0x5ea34c[_0x22bf11([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x278807=new window[(_0x22bf11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d95a7=>{_0x52b5aa[_0x22bf11([0x6f,0x6e,0x63,0x65])](_0x22bf11([0x72,0x65,0x61,0x64,0x79]),_0x1d95a7);}),_0x448103={[_0x22bf11([0x6b,0x74,0x79])]:_0x22bf11([0x45,0x43]),[_0x22bf11([0x75,0x73,0x65])]:_0x22bf11([0x73,0x69,0x67]),[_0x22bf11([0x63,0x72,0x76])]:_0x22bf11([0x50,0x2d,0x32,0x35,0x36]),[_0x22bf11([0x78])]:_0x22bf11([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]),[_0x22bf11([0x79])]:_0x22bf11([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]),[_0x22bf11([0x61,0x6c,0x67])]:_0x22bf11([0x45,0x53,0x32,0x35,0x36])},_0x3a8a18=_0x52b5aa[_0x22bf11([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22bf11([0x67,0x65,0x74])](_0x22bf11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x529bf5(){let _0x243ce9,_0x6938e7=null,_0x1c48a9=null;try{if(_0x3a8a18==_0x22bf11([0x47,0x50,0x4c]))return _0x22bf11([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x243ce9=_0x4d7826(),!_0x243ce9)return _0x22bf11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x243ce9[_0x22bf11([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c48a9=_0x25f2da(_0x243ce9[_0x22bf11([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x243ce9[_0x22bf11([0x6a,0x74,0x69])])),await _0x117f6e()?_0x579ea6()?_0x31e2c7()?_0x22bf11([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x156a0e()?(_0x243ce9[_0x22bf11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22bf11([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6938e7=_0x5ac233(_0x22bf11([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x243ce9[_0x22bf11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22bf11([0x74,0x72,0x69,0x61,0x6c])&&(_0x6938e7=_0x5ac233(_0x22bf11([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39cba8()):_0x22bf11([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22bf11([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22bf11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22bf11([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31e2c7(){const _0x44b0cb=[_0x22bf11([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22bf11([0x74,0x72,0x69,0x61,0x6c])][_0x22bf11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243ce9[_0x22bf11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x359472/0x3e8:0xe10*_0x150c3e;return _0x243ce9[_0x22bf11([0x65,0x78,0x70])]<_0x44b0cb;}function _0x579ea6(){const _0x3467f6=_0x243ce9[_0x22bf11([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3467f6&&(!!_0x3467f6[_0x22bf11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22bf11([0x2a]))||!!_0x3467f6[_0x22bf11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22bf11([0x4c,0x48])));}function _0x156a0e(){const _0x25067d=_0x1c1d,_0x2d9b96=_0x243ce9[_0x22bf11([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d9b96||0x0==_0x2d9b96[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54dfa5}=new URL(window[_0x22bf11([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25067d(0x1ec)]);if(_0x2d9b96[_0x22bf11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54dfa5))return!0x0;const _0x2343f5=_0x54dfa5[_0x22bf11([0x73,0x70,0x6c,0x69,0x74])](_0x22bf11([0x2e]));return _0x2d9b96[_0x22bf11([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23d719=>_0x23d719[_0x22bf11([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22bf11([0x2a])))[_0x22bf11([0x6d,0x61,0x70])](_0x345170=>_0x345170[_0x22bf11([0x73,0x70,0x6c,0x69,0x74])](_0x22bf11([0x2e])))[_0x22bf11([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a01e1=>_0x1a01e1[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2343f5[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22bf11([0x6d,0x61,0x70])](_0x4356ae=>Array(_0x2343f5[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4356ae[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22bf11([0x66,0x69,0x6c,0x6c])](_0x4356ae[0x0]===_0x22bf11([0x2a])?_0x22bf11([0x2a]):'')[_0x22bf11([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4356ae))[_0x22bf11([0x73,0x6f,0x6d,0x65])](_0x357f58=>_0x2343f5[_0x22bf11([0x65,0x76,0x65,0x72,0x79])]((_0x167cea,_0x3cd1de)=>_0x357f58[_0x3cd1de]===_0x167cea||_0x357f58[_0x3cd1de]===_0x22bf11([0x2a])));}function _0x39cba8(){return _0x6938e7&&_0x1c48a9?new window[(_0x22bf11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d5d19,_0x67f2bc)=>{_0x6938e7[_0x22bf11([0x74,0x68,0x65,0x6e])](_0x3d5d19,_0x67f2bc),_0x1c48a9[_0x22bf11([0x74,0x68,0x65,0x6e])](_0x24c26d=>{_0x24c26d!=_0x22bf11([0x56,0x61,0x6c,0x69,0x64])&&_0x3d5d19(_0x24c26d);},_0x67f2bc);}):_0x6938e7||_0x1c48a9||_0x22bf11([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25f2da(_0x125c26,_0x1ae87b){return new window[(_0x22bf11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32b220=>{if(_0xd1cf0c())return _0x32b220(_0x22bf11([0x56,0x61,0x6c,0x69,0x64]));_0xa205df(),_0x52b5aa[_0x22bf11([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22bf11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23b12c=!0x1;const _0x740778=_0x162827();function _0x38c5e2(_0x11f7a4){return!!_0x11f7a4&&(typeof _0x11f7a4===_0x22bf11([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11f7a4===_0x22bf11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11f7a4[_0x22bf11([0x74,0x68,0x65,0x6e])]===_0x22bf11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11f7a4[_0x22bf11([0x63,0x61,0x74,0x63,0x68])]===_0x22bf11([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32cadb(_0x3ccb52){_0x27d314(_0x3ccb52)[_0x22bf11([0x74,0x68,0x65,0x6e])](_0x58e9dc=>{if(!_0x58e9dc||_0x58e9dc[_0x22bf11([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22bf11([0x6f,0x6b]))return _0x22bf11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x829724(_0x19bb00(_0x740778+_0x1ae87b))!=_0x58e9dc[_0x22bf11([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22bf11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22bf11([0x56,0x61,0x6c,0x69,0x64]);})[_0x22bf11([0x74,0x68,0x65,0x6e])](_0x487b62=>(_0x1a628f(),_0x487b62),()=>{const _0x3b1879=_0x294a36();return null==_0x3b1879?(_0x1a628f(),_0x22bf11([0x56,0x61,0x6c,0x69,0x64])):_0x22bf11(_0x359472-_0x3b1879>(0x61d15615^_0x46adc7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22bf11([0x74,0x68,0x65,0x6e])](_0x32b220)[_0x22bf11([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32b220(_0x22bf11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x77f5bd=0x45eb3c95^_0x46adc7;function _0x1a628f(){const _0x3de774=_0x22bf11([0x6c,0x6c,0x63,0x74,0x2d])+_0x829724(_0x19bb00(_0x125c26)),_0x5ac5c2=_0x19d6be(_0x829724(window[_0x22bf11([0x4d,0x61,0x74,0x68])][_0x22bf11([0x63,0x65,0x69,0x6c])](_0x359472/_0x77f5bd)));window[_0x22bf11([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22bf11([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3de774,_0x5ac5c2);}function _0x294a36(){const _0x54bd37=_0x22bf11([0x6c,0x6c,0x63,0x74,0x2d])+_0x829724(_0x19bb00(_0x125c26)),_0x3cbe56=window[_0x22bf11([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22bf11([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54bd37);return _0x3cbe56?window[_0x22bf11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19d6be(_0x3cbe56),0x10)*_0x77f5bd:null;}function _0x27d314(_0x48a7ab){return new window[(_0x22bf11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x231eca,_0x1d266a)=>{_0x48a7ab[_0x22bf11([0x74,0x68,0x65,0x6e])](_0x231eca,_0x1d266a),window[_0x22bf11([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d266a,0x45dc06d5^_0x46adc7);});}}_0x52b5aa[_0x22bf11([0x6f,0x6e])](_0x22bf11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b8e76,_0x3e9b71)=>{if(_0x3e9b71[0x0]!=_0x125c26)return _0x32b220(_0x22bf11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e9b71[0x1]={..._0x3e9b71[0x1],[_0x22bf11([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x740778};},{[_0x22bf11([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22bf11([0x68,0x69,0x67,0x68])}),_0x52b5aa[_0x22bf11([0x6f,0x6e])](_0x22bf11([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57a046=>{_0x38c5e2(_0x57a046[_0x22bf11([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23b12c=!0x0,_0x32cadb(_0x57a046[_0x22bf11([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22bf11([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22bf11([0x6c,0x6f,0x77])}),_0x278807[_0x22bf11([0x74,0x68,0x65,0x6e])](()=>{_0x23b12c||_0x32b220(_0x22bf11([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd1cf0c(){return _0x52b5aa[_0x22bf11([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22bf11([0x76,0x69,0x65,0x77])][_0x22bf11([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22bf11([0x61,0x75,0x74,0x6f]);}function _0xa205df(){_0x52b5aa[_0x22bf11([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22bf11([0x76,0x69,0x65,0x77])][_0x22bf11([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22bf11([0x61,0x75,0x74,0x6f]);}}function _0x5ac233(_0x5c6316){const _0x108f20=[new window[(_0x22bf11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x380bcd=>setTimeout(_0x380bcd,0x45d4ecd9^_0x46adc7)),_0x278807[_0x22bf11([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22bf11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cd7ad=>{let _0xc7bacd=0x0;_0x52b5aa[_0x22bf11([0x6d,0x6f,0x64,0x65,0x6c])][_0x22bf11([0x6f,0x6e])](_0x22bf11([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3cbefb,_0x41e258)=>{_0x41e258[0x0][_0x22bf11([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc7bacd++,_0xc7bacd==(0x45ddd7fd^_0x46adc7)&&(_0x1cd7ad(),_0x3cbefb[_0x22bf11([0x6f,0x66,0x66])]());});}))];return window[_0x22bf11([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22bf11([0x72,0x61,0x63,0x65])](_0x108f20)[_0x22bf11([0x74,0x68,0x65,0x6e])](()=>_0x5c6316);}async function _0x3f9aa6(){await _0x278807,_0x52b5aa[_0x22bf11([0x6d,0x6f,0x64,0x65,0x6c])][_0x22bf11([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57464b,_0x52b5aa[_0x22bf11([0x6d,0x6f,0x64,0x65,0x6c])][_0x22bf11([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57464b,_0x52b5aa[_0x22bf11([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22bf11([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15dc65(_0x57cebf){const _0x44bf8c=_0x36df4e();_0x52b5aa[_0x44bf8c]=_0x22bf11([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57cebf,_0x57cebf!=_0x22bf11([0x56,0x61,0x6c,0x69,0x64])&&_0x3f9aa6();}function _0x36df4e(){const _0x39e275=window[_0x22bf11([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22bf11([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22bf11([0x6e,0x6f,0x77])]())[_0x22bf11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22bf11([0x2e]),'');let _0x1c3ab8=_0x22bf11([0x50]);for(let _0x214e6a=0x0;_0x214e6a<_0x39e275[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x214e6a+=0x2){let _0xd91ab5=window[_0x22bf11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39e275[_0x22bf11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x214e6a,_0x214e6a+0x2));_0xd91ab5>=_0x327009[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd91ab5-=_0x327009[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c3ab8+=_0x327009[_0xd91ab5];}return _0x1c3ab8;}function _0x4d7826(){const _0xda4ce2=_0x3a8a18[_0x22bf11([0x73,0x70,0x6c,0x69,0x74])](_0x22bf11([0x2e]));if(0x3!=_0xda4ce2[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4454ae(_0xda4ce2[0x1]);function _0x4454ae(_0x3ea40e){const _0x2cecdd=_0x580740(_0x3ea40e);return _0x2cecdd&&_0x3bab16()?_0x2cecdd:null;function _0x3bab16(){const _0x5695d4=_0x2cecdd[_0x22bf11([0x6a,0x74,0x69])],_0x3c8914=window[_0x22bf11([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5695d4[_0x22bf11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5695d4[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x274001={..._0x2cecdd,[_0x22bf11([0x6a,0x74,0x69])]:_0x5695d4[_0x22bf11([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5695d4[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x274001[_0x22bf11([0x76,0x63])],_0x19bb00(_0x274001)==_0x3c8914;}}}async function _0x117f6e(){let _0x26b339=!0x0;try{const _0x4843dc=_0x3a8a18[_0x22bf11([0x73,0x70,0x6c,0x69,0x74])](_0x22bf11([0x2e])),[_0x534b5b,_0x517246,_0x36b9d5]=_0x4843dc;return _0x1f7082(_0x534b5b),await _0x160567(_0x534b5b,_0x517246,_0x36b9d5),_0x26b339;}catch{return!0x1;}function _0x1f7082(_0x3d6de3){const _0x59089a=_0x580740(_0x3d6de3);_0x59089a&&_0x59089a[_0x22bf11([0x61,0x6c,0x67])]==_0x22bf11([0x45,0x53,0x32,0x35,0x36])||(_0x26b339=!0x1);}async function _0x160567(_0x1cb146,_0x395934,_0x112eb4){const _0x18f634=window[_0x22bf11([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22bf11([0x66,0x72,0x6f,0x6d])](_0x51d9ed(_0x112eb4),_0xc90b5e=>_0xc90b5e[_0x22bf11([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d8066=new window[(_0x22bf11([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22bf11([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1cb146+_0x22bf11([0x2e])+_0x395934),_0x3b5a08=window[_0x22bf11([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22bf11([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b5a08)return;const _0x159658=await _0x3b5a08[_0x22bf11([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22bf11([0x6a,0x77,0x6b]),_0x448103,{[_0x22bf11([0x6e,0x61,0x6d,0x65])]:_0x22bf11([0x45,0x43,0x44,0x53,0x41]),[_0x22bf11([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22bf11([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22bf11([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b5a08[_0x22bf11([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22bf11([0x6e,0x61,0x6d,0x65])]:_0x22bf11([0x45,0x43,0x44,0x53,0x41]),[_0x22bf11([0x68,0x61,0x73,0x68])]:{[_0x22bf11([0x6e,0x61,0x6d,0x65])]:_0x22bf11([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x159658,_0x18f634,_0x5d8066)||(_0x26b339=!0x1);}}function _0x580740(_0xd7c46a){return _0xd7c46a[_0x22bf11([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22bf11([0x65,0x79]))?JSON[_0x22bf11([0x70,0x61,0x72,0x73,0x65])](_0x51d9ed(_0xd7c46a)):null;}function _0x51d9ed(_0xaea932){return window[_0x22bf11([0x61,0x74,0x6f,0x62])](_0xaea932[_0x22bf11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22bf11([0x2b]))[_0x22bf11([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22bf11([0x2f])));}function _0x19bb00(_0x5e8811){let _0x16ece4=0x1505;function _0x4973a4(_0x540e4f){for(let _0x1a9bda=0x0;_0x1a9bda<_0x540e4f[_0x22bf11([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a9bda++){const _0x21469a=_0x540e4f[_0x22bf11([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a9bda);_0x16ece4=(_0x16ece4<<0x5)+_0x16ece4+_0x21469a,_0x16ece4&=_0x16ece4;}}function _0x579dd3(_0x9026ed){Array[_0x22bf11([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9026ed)?_0x9026ed[_0x22bf11([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x579dd3):_0x9026ed&&typeof _0x9026ed==_0x22bf11([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22bf11([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9026ed)[_0x22bf11([0x73,0x6f,0x72,0x74])]()[_0x22bf11([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e5f73,_0x20ce43])=>{_0x4973a4(_0x4e5f73),_0x579dd3(_0x20ce43);}):_0x4973a4(window[_0x22bf11([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9026ed));}return _0x579dd3(_0x5e8811),_0x16ece4>>>0x0;}function _0x829724(_0x2625a4){return _0x2625a4[_0x22bf11([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22bf11([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22bf11([0x30]));}function _0x19d6be(_0x4cee02){return _0x4cee02[_0x22bf11([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22bf11([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22bf11([0x6a,0x6f,0x69,0x6e])]('');}function _0x57464b(){}function _0x22bf11(_0x49862c){const _0x552819=_0x1c1d;return _0x49862c[_0x552819(0x201)](_0x3fa933=>String[_0x552819(0x1dd)](_0x3fa933))[_0x552819(0x1e5)]('');}_0x15dc65(await _0x529bf5());}(this);}[_0x1c5605(0x1e7)](){const _0x4f45b0=_0x1c5605,_0x47c153=this[_0x4f45b0(0x207)];if(!_0x47c153[_0x4f45b0(0x1e2)][_0x4f45b0(0x20c)](_0x4f45b0(0x20a)))return;const _0x42553f=_0x47c153[_0x4f45b0(0x1e2)][_0x4f45b0(0x20c)](_0x4f45b0(0x20f))[_0x4f45b0(0x1f0)](_0x4f60db=>_0x4f45b0(0x1f2)==typeof _0x4f60db&&(!_0x2ef2b8(_0x4f60db)&&isNaN(Number(_0x4f60db))));if(_0x42553f[_0x4f45b0(0x1db)])throw new _0x388263(_0x4f45b0(0x1df),null,{'namedPresets':_0x42553f});}[_0x1c5605(0x1ef)](){const _0x221652=_0x1c5605,_0x425edc=this[_0x221652(0x207)],_0x379345=this[_0x221652(0x207)][_0x221652(0x1e2)][_0x221652(0x20c)](_0x221652(0x1de));_0x425edc[_0x221652(0x1e8)][_0x221652(0x1eb)](_0x221652(0x1fb))[_0x221652(0x1fd)]({'model':{'key':_0x221652(0x1f3)},'view':_0xd90cd6=>String(_0xd90cd6)===String(_0x379345)?null:{'key':_0x221652(0x203),'value':{'line-height':_0xd90cd6}}}),_0x425edc[_0x221652(0x1e8)][_0x221652(0x1eb)](_0x221652(0x208))[_0x221652(0x1fd)]({'model':{'key':_0x221652(0x1f3),'value':_0x566269=>{const _0x5cd819=_0x221652;let _0x511b55=_0x566269[_0x5cd819(0x1ee)](_0x5cd819(0x1e1));return _0x25cbf5(_0x511b55)&&(_0x511b55=String(Number(_0x511b55[_0x5cd819(0x1f9)](0x0,-0x1))/0x64)),String(_0x511b55)===String(_0x379345)?null:_0x511b55;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1c5605(0x1f4)](){const _0x13d36e=_0x1c5605,_0x206538=this[_0x13d36e(0x207)],_0x59b953=this[_0x13d36e(0x207)][_0x13d36e(0x1e2)][_0x13d36e(0x20c)](_0x13d36e(0x1de)),_0x2f0491=_0x226ca6(this[_0x13d36e(0x207)][_0x13d36e(0x1e2)][_0x13d36e(0x20c)](_0x13d36e(0x1f3)))[_0x13d36e(0x1f0)](_0x4efae7=>_0x4efae7[_0x13d36e(0x1f6)]),_0x49417b=_0x1bef4c(_0x13d36e(0x1f3),_0x2f0491);_0x206538[_0x13d36e(0x1e8)][_0x13d36e(0x1fd)](_0x49417b),_0x206538[_0x13d36e(0x1e8)][_0x13d36e(0x1eb)](_0x13d36e(0x208))[_0x13d36e(0x1fd)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x13d36e(0x1f3),'value':_0x282ab9=>{const _0x695f2d=_0x13d36e;let _0x573b54=_0x282ab9[_0x695f2d(0x1ee)](_0x695f2d(0x1e1));return _0x25cbf5(_0x573b54)&&(_0x573b54=String(Number(_0x573b54[_0x695f2d(0x1f9)](0x0,-0x1))/0x64)),_0x573b54===String(_0x59b953)?null:_0x49417b[_0x695f2d(0x1f6)][_0x695f2d(0x1da)][_0x695f2d(0x1dc)](_0x573b54)?_0x573b54:null;}}});}}
|