@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260104.0 → 0.0.0-nightly-next-20260105.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:()=>G,LineHeightCommand:()=>a,LineHeightEditing:()=>N,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>M});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=373]})(e,t)}function s(){const e=["getAttribute","408511OeWvoz","model","_canHaveLineHeight","isEnabled","value","setAttribute","8jAtZPg","document","from","24skKYXH","79228SKuKNY","1693370fexsQe","filter","editor","609095wZBlly","getSelectedBlocks","removeAttribute","selection","431508uYxmOs","refresh","change","165320NFQlKL","lineHeight","schema","744507RSJwHH","checkAttribute","execute"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(305202===parseInt(t(381))/1+parseInt(t(391))/2+parseInt(t(399))/3+parseInt(t(374))/4+parseInt(t(395))/5*(-parseInt(t(390))/6)+parseInt(t(392))/7+parseInt(t(387))/8*(-parseInt(t(377))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(400)](){const e=r,n=this[e(394)][e(382)][e(388)],i=(0,t.first)(n[e(398)][e(396)]());this[e(384)]=Boolean(i)&&this[e(383)](i),this[e(385)]=this[e(384)]&&i[e(380)](e(375))}[r(379)](e={}){const t=r,n=this[t(394)][t(382)],i=n[t(388)][t(398)],o=e[t(385)];n[t(373)](e=>{const n=t,r=Array[n(389)](i[n(396)]())[n(393)](e=>this[n(383)](e));for(const t of r)o?e[n(386)](n(375),o,t):e[n(397)](n(375),t)})}[r(383)](e){const t=r;return this[t(394)][t(382)][t(376)][t(378)](e,t(375))}}var c=n(783);function l(){const e=["line-height:","toLowerCase","520933jZpfSf","600762pHnCvT","Single","class","value","number","1824560INACCE","default","view","map","line-height-single","6cRGuAR","string","1122892HKKFaI","line-height-double","options","3275618QnBEmB","16UsxQeI","key","values","Double","model","3511710qAJvTn","double","defaultValue","filter","span","style","single","push","4598622BOPDLX"];return(l=function(){return e})()}!function(e){const t=h,n=e();for(;;)try{if(874232===-parseInt(t(391))/1+parseInt(t(406))/2+-parseInt(t(412))/3+parseInt(t(403))/4+-parseInt(t(396))/5*(-parseInt(t(401))/6)+parseInt(t(390))/7*(-parseInt(t(407))/8)+parseInt(t(387))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=h;return{title:e(392),model:e(385),view:{key:e(393),value:e(400)}}},get double(){const e=h;return{title:e(410),model:e(413),view:{key:e(393),value:e(404)}}}};function d(e){const t=h;return t(402)==typeof e&&t(397)===e[t(389)]()}function h(e,t){const n=l();return(h=function(e,t){return n[e-=383]})(e,t)}function p(e){const t=h;return e[t(405)][t(399)](n=>d(n)?{title:String(e[t(414)]),model:t(397)}:(t(395)==typeof n&&(n=String(n)),t(402)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(383),styles:{"line-height":n}}}:function(e){const t=h;return t(402)==typeof e?u[e]:u[e[t(411)]]}(n)))[t(415)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const E=O;function O(e,t){const n=A();return(O=function(e,t){return n[e-=155]})(e,t)}function A(){const e=["--ck-content-list-marker-line-height","add","todo-list__label__description","lineHeight","getAttribute","init","TodoListEditing","paragraph","7234oksNWD","editor","1354232epFKac","10424788wmYKsX","79HOWScy","addClass","854OCRNUE","todo","pluginName","440955UCqIHM","item","3ZLoFNL","upcast","6558rULRoT","registerDowncastStrategy","isPremiumPlugin","listType","viewItem","1498604XGEpGJ","name","setStyle","get","element:li","consume","match","2571890VxJIxv","for","18tIwmHt","span","elementToElement","ck-list-marker-line-height","consumable","ListEditing","high","has","LineHeightTodoListIntegration","isOfficialPlugin"];return(A=function(){return e})()}!function(e){const t=O,n=e();for(;;)try{if(217898===parseInt(t(179))/1*(parseInt(t(175))/2)+-parseInt(t(186))/3*(parseInt(t(193))/4)+parseInt(t(184))/5+-parseInt(t(188))/6*(parseInt(t(181))/7)+-parseInt(t(177))/8*(parseInt(t(157))/9)+-parseInt(t(155))/10+parseInt(t(178))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[E(183)](){return E(165)}static get[E(166)](){return!0}static get[E(190)](){return!0}[E(172)](){const e=E,{plugins:t,conversion:n}=this[e(176)];t[e(164)](e(162))&&t[e(164)](e(173))&&(t[e(196)](e(162))[e(189)]({scope:e(185),attributeName:e(170),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(182)==o[s(171)](s(191))&&n&&(t[s(180)](s(160),i),t[s(195)](s(167),n,i))}}),n[e(156)](e(187))[e(159)]({view:{name:e(158),classes:e(169)},model:e(174),converterPriority:e(163)}),n[e(156)](e(187))[e(168)](t=>{const n=e;t.on(n(197),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(199)](n[r(192)]);if(!o)return;const s=o[r(199)];s[r(194)]=!1,i[r(161)][r(198)](n[r(192)],s)}}({name:"li",classes:n(160),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function S(e,t){const n=K();return(S=function(e,t){return n[e-=249]})(e,t)}const T=S;function K(){const e=["lineHeight","lineHeight.defaultValue","setAttributeProperties","slice","24484194IKKfsQ","define","filter","style","extend","default","editor","map","fromCharCode","afterInit","_validateConfig","commands","1190648SfEnBg","isOfficialPlugin","line-height-invalid-use-of-named-presets","1892800cRFuIM","3930878IPINWa","pluginName","LineHeightEditing","_preparePredefinedConverters","line-height","values","getStyle","_prepareAnyValueConverters","77856tbScPx","1711668MViDzP","model","conversion","16XmABtL","config","join","add","lineHeight.options","445dWyHAN","get","isPremiumPlugin","for","295434hwfKKa","init","schema","downcast","$block","string","lineHeight.supportAllValues","length","includes","attributeToAttribute","requires","upcast","href"];return(K=function(){return e})()}!function(e){const t=S,n=e();for(;;)try{if(665535===-parseInt(t(301))/1+parseInt(t(272))/2+-parseInt(t(260))/3+-parseInt(t(250))/4+parseInt(t(268))/5*(parseInt(t(259))/6)+-parseInt(t(251))/7*(parseInt(t(263))/8)+parseInt(t(289))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class N extends e.Plugin{static get[T(252)](){return T(253)}static get[T(282)](){return[C]}static get[T(302)](){return!0}static get[T(270)](){return!0}constructor(e){const t=T;super(e),e[t(264)][t(290)](t(285),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(294),2,2.5,3]})}[T(273)](){const e=T,t=this[e(295)];this[e(299)](),t[e(261)][e(274)][e(293)](e(276),{allowAttributes:e(285)}),t[e(261)][e(274)][e(287)](e(285),{isFormatting:!0}),t[e(300)][e(266)](e(285),new a(t)),this[e(295)][e(264)][e(269)](e(278))?this[e(258)]():this[e(254)]()}[T(298)](){!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=S;return e[t(296)](e=>String[t(297)](e))[t(265)]("")}!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:1767484800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=S,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(284)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[T(299)](){const e=T,n=this[e(295)];if(!n[e(264)][e(269)](e(278)))return;const i=n[e(264)][e(269)](e(267))[e(291)](t=>e(277)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(279)])throw new t.CKEditorError(e(249),null,{namedPresets:i})}[T(258)](){const e=T,t=this[e(295)],n=this[e(295)][e(264)][e(269)](e(286));t[e(262)][e(271)](e(275))[e(281)]({model:{key:e(285)},view:t=>String(t)===String(n)?null:{key:e(292),value:{"line-height":t}}}),t[e(262)][e(271)](e(283))[e(281)]({model:{key:e(285),value:t=>{const i=e;let r=t[i(257)](i(255));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(288)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[T(254)](){const e=T,t=this[e(295)],n=this[e(295)][e(264)][e(269)](e(286)),i=p(this[e(295)][e(264)][e(269)](e(285)))[e(291)](t=>t[e(261)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(393)===e[n(398)]?.[n(408)]?(i[n(411)][n(409)][n(386)](e[n(411)]),i[n(398)][e[n(411)]]={key:n(393),value:e[n(398)][n(394)]}):(i[n(411)][n(409)][n(386)](e[n(411)]),i[n(398)][e[n(411)]]={key:n(384),value:n(388)+e[n(411)]+";"});return i}(e(285),i);t[e(262)][e(281)](r),t[e(262)][e(271)](e(283))[e(281)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(285),value:t=>{const i=e;let o=t[i(257)](i(255));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(288)](0,-1))/100)),o===String(n)?null:r[i(261)][i(256)][i(280)](o)?o:null}}})}}var x=n(311),P=n(355),V=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=w(),B.insertStyleElement=_();g()(V.A,B);V.A&&V.A.locals&&V.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:P.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:P.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["LineHeight","3408kHKCEu","7371atTYIB","368822ZCyFJp","109084PXUetO","requires","1961157nmGcaL","6630DJGNam","pluginName","2929120oAzkjm","7150qrOIfj","isOfficialPlugin","7WzgKdZ","isPremiumPlugin","202997WwehuR","114wWehjU"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=227]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(560616===-parseInt(t(227))/1+parseInt(t(232))/2+-parseInt(t(228))/3*(-parseInt(t(233))/4)+parseInt(t(239))/5*(-parseInt(t(230))/6)+-parseInt(t(241))/7*(parseInt(t(238))/8)+parseInt(t(231))/9*(parseInt(t(236))/10)+parseInt(t(235))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class G extends e.Plugin{static get[j(234)](){return[N,M]}static get[j(237)](){return j(229)}static get[j(240)](){return!0}static get[j(242)](){return!0}}function R(){var e=["5350pimdgQ","570BhFveK","198222vpqHAi","1474047UhdEdj","3719576GQfxdT","3152104tjOWiV","30210kXzzkX","30XKBKdm","600gkQELD","11276uMGJpY"];return(R=function(){return e})()}function F(e,t){var n=R();return(F=function(e,t){return n[e-=120]})(e,t)}!function(e){for(var t=F,n=e();;)try{if(359217===-parseInt(t(126))/1+-parseInt(t(124))/2+-parseInt(t(125))/3*(-parseInt(t(123))/4)+parseInt(t(122))/5*(-parseInt(t(120))/6)+parseInt(t(128))/7+-parseInt(t(129))/8+parseInt(t(127))/9*(parseInt(t(121))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>G,LineHeightCommand:()=>a,LineHeightEditing:()=>N,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>M});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=373]})(e,t)}function s(){const e=["getAttribute","408511OeWvoz","model","_canHaveLineHeight","isEnabled","value","setAttribute","8jAtZPg","document","from","24skKYXH","79228SKuKNY","1693370fexsQe","filter","editor","609095wZBlly","getSelectedBlocks","removeAttribute","selection","431508uYxmOs","refresh","change","165320NFQlKL","lineHeight","schema","744507RSJwHH","checkAttribute","execute"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(305202===parseInt(t(381))/1+parseInt(t(391))/2+parseInt(t(399))/3+parseInt(t(374))/4+parseInt(t(395))/5*(-parseInt(t(390))/6)+parseInt(t(392))/7+parseInt(t(387))/8*(-parseInt(t(377))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(400)](){const e=r,n=this[e(394)][e(382)][e(388)],i=(0,t.first)(n[e(398)][e(396)]());this[e(384)]=Boolean(i)&&this[e(383)](i),this[e(385)]=this[e(384)]&&i[e(380)](e(375))}[r(379)](e={}){const t=r,n=this[t(394)][t(382)],i=n[t(388)][t(398)],o=e[t(385)];n[t(373)](e=>{const n=t,r=Array[n(389)](i[n(396)]())[n(393)](e=>this[n(383)](e));for(const t of r)o?e[n(386)](n(375),o,t):e[n(397)](n(375),t)})}[r(383)](e){const t=r;return this[t(394)][t(382)][t(376)][t(378)](e,t(375))}}var c=n(783);function l(){const e=["line-height:","toLowerCase","520933jZpfSf","600762pHnCvT","Single","class","value","number","1824560INACCE","default","view","map","line-height-single","6cRGuAR","string","1122892HKKFaI","line-height-double","options","3275618QnBEmB","16UsxQeI","key","values","Double","model","3511710qAJvTn","double","defaultValue","filter","span","style","single","push","4598622BOPDLX"];return(l=function(){return e})()}!function(e){const t=h,n=e();for(;;)try{if(874232===-parseInt(t(391))/1+parseInt(t(406))/2+-parseInt(t(412))/3+parseInt(t(403))/4+-parseInt(t(396))/5*(-parseInt(t(401))/6)+parseInt(t(390))/7*(-parseInt(t(407))/8)+parseInt(t(387))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=h;return{title:e(392),model:e(385),view:{key:e(393),value:e(400)}}},get double(){const e=h;return{title:e(410),model:e(413),view:{key:e(393),value:e(404)}}}};function d(e){const t=h;return t(402)==typeof e&&t(397)===e[t(389)]()}function h(e,t){const n=l();return(h=function(e,t){return n[e-=383]})(e,t)}function p(e){const t=h;return e[t(405)][t(399)](n=>d(n)?{title:String(e[t(414)]),model:t(397)}:(t(395)==typeof n&&(n=String(n)),t(402)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(383),styles:{"line-height":n}}}:function(e){const t=h;return t(402)==typeof e?u[e]:u[e[t(411)]]}(n)))[t(415)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=155]})(e,t)}function A(){const e=["--ck-content-list-marker-line-height","add","todo-list__label__description","lineHeight","getAttribute","init","TodoListEditing","paragraph","7234oksNWD","editor","1354232epFKac","10424788wmYKsX","79HOWScy","addClass","854OCRNUE","todo","pluginName","440955UCqIHM","item","3ZLoFNL","upcast","6558rULRoT","registerDowncastStrategy","isPremiumPlugin","listType","viewItem","1498604XGEpGJ","name","setStyle","get","element:li","consume","match","2571890VxJIxv","for","18tIwmHt","span","elementToElement","ck-list-marker-line-height","consumable","ListEditing","high","has","LineHeightTodoListIntegration","isOfficialPlugin"];return(A=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(217898===parseInt(t(179))/1*(parseInt(t(175))/2)+-parseInt(t(186))/3*(parseInt(t(193))/4)+parseInt(t(184))/5+-parseInt(t(188))/6*(parseInt(t(181))/7)+-parseInt(t(177))/8*(parseInt(t(157))/9)+-parseInt(t(155))/10+parseInt(t(178))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[O(183)](){return O(165)}static get[O(166)](){return!0}static get[O(190)](){return!0}[O(172)](){const e=O,{plugins:t,conversion:n}=this[e(176)];t[e(164)](e(162))&&t[e(164)](e(173))&&(t[e(196)](e(162))[e(189)]({scope:e(185),attributeName:e(170),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(182)==o[s(171)](s(191))&&n&&(t[s(180)](s(160),i),t[s(195)](s(167),n,i))}}),n[e(156)](e(187))[e(159)]({view:{name:e(158),classes:e(169)},model:e(174),converterPriority:e(163)}),n[e(156)](e(187))[e(168)](t=>{const n=e;t.on(n(197),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(199)](n[r(192)]);if(!o)return;const s=o[r(199)];s[r(194)]=!1,i[r(161)][r(198)](n[r(192)],s)}}({name:"li",classes:n(160),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=T;function T(e,t){const n=x();return(T=function(e,t){return n[e-=462]})(e,t)}function x(){const e=["lineHeight.supportAllValues","805345sJAdDs","isPremiumPlugin","lineHeight.defaultValue","length","add","for","requires","join","style","commands","fromCharCode","upcast","afterInit","editor","lineHeight","51680630nOKNgF","config","line-height-invalid-use-of-named-presets","default","href","init","getStyle","270707czYQML","setAttributeProperties","line-height","535857bArldx","attributeToAttribute","filter","get","387uLcwbj","7fHfCGk","pluginName","string","44fFSrly","slice","$block","256568SrxqJX","_validateConfig","_prepareAnyValueConverters","define","schema","map","3856714JlAMWs","lineHeight.options","3773334ctkyaP","model","downcast","includes","LineHeightEditing","isOfficialPlugin","conversion","_preparePredefinedConverters","values","extend"];return(x=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(989321===parseInt(t(512))/1+parseInt(t(477))/2+parseInt(t(515))/3+-parseInt(t(468))/4*(-parseInt(t(490))/5)+-parseInt(t(479))/6*(-parseInt(t(465))/7)+-parseInt(t(471))/8*(-parseInt(t(464))/9)+-parseInt(t(505))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(x);class N extends e.Plugin{static get[S(466)](){return S(483)}static get[S(496)](){return[C]}static get[S(484)](){return!0}static get[S(491)](){return!0}constructor(e){const t=S;super(e),e[t(506)][t(474)](t(504),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(508),2,2.5,3]})}[S(510)](){const e=S,t=this[e(503)];this[e(472)](),t[e(480)][e(475)][e(488)](e(470),{allowAttributes:e(504)}),t[e(480)][e(475)][e(513)](e(504),{isFormatting:!0}),t[e(499)][e(494)](e(504),new a(t)),this[e(503)][e(506)][e(463)](e(489))?this[e(473)]():this[e(486)]()}[S(502)](){!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(476)](e=>String[t(500)](e))[t(497)]("")}!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:1767571200;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(509)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[S(472)](){const e=S,n=this[e(503)];if(!n[e(506)][e(463)](e(489)))return;const i=n[e(506)][e(463)](e(478))[e(462)](t=>e(467)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(493)])throw new t.CKEditorError(e(507),null,{namedPresets:i})}[S(473)](){const e=S,t=this[e(503)],n=this[e(503)][e(506)][e(463)](e(492));t[e(485)][e(495)](e(481))[e(516)]({model:{key:e(504)},view:t=>String(t)===String(n)?null:{key:e(498),value:{"line-height":t}}}),t[e(485)][e(495)](e(501))[e(516)]({model:{key:e(504),value:t=>{const i=e;let r=t[i(511)](i(514));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(469)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(486)](){const e=S,t=this[e(503)],n=this[e(503)][e(506)][e(463)](e(492)),i=p(this[e(503)][e(506)][e(463)](e(504)))[e(462)](t=>t[e(480)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(393)===e[n(398)]?.[n(408)]?(i[n(411)][n(409)][n(386)](e[n(411)]),i[n(398)][e[n(411)]]={key:n(393),value:e[n(398)][n(394)]}):(i[n(411)][n(409)][n(386)](e[n(411)]),i[n(398)][e[n(411)]]={key:n(384),value:n(388)+e[n(411)]+";"});return i}(e(504),i);t[e(485)][e(516)](r),t[e(485)][e(495)](e(501))[e(516)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(504),value:t=>{const i=e;let o=t[i(511)](i(514));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(469)](0,-1))/100)),o===String(n)?null:r[i(480)][i(487)][i(482)](o)?o:null}}})}}var K=n(311),P=n(355),V=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=w(),B.insertStyleElement=_();g()(V.A,B);V.A&&V.A.locals&&V.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new K.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 K.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,K.createDropdown)(r);return(0,K.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:P.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 K.MenuBarMenuView(r);o.buttonView.set({label:e,icon:P.IconLineHeight}),o.bind("isEnabled").to(i);const s=new K.MenuBarMenuListView(r);for(const e of t){const t=new K.MenuBarMenuListItemView(r,o),i=new K.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["LineHeight","3408kHKCEu","7371atTYIB","368822ZCyFJp","109084PXUetO","requires","1961157nmGcaL","6630DJGNam","pluginName","2929120oAzkjm","7150qrOIfj","isOfficialPlugin","7WzgKdZ","isPremiumPlugin","202997WwehuR","114wWehjU"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=227]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(560616===-parseInt(t(227))/1+parseInt(t(232))/2+-parseInt(t(228))/3*(-parseInt(t(233))/4)+parseInt(t(239))/5*(-parseInt(t(230))/6)+-parseInt(t(241))/7*(parseInt(t(238))/8)+parseInt(t(231))/9*(parseInt(t(236))/10)+parseInt(t(235))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class G extends e.Plugin{static get[j(234)](){return[N,M]}static get[j(237)](){return j(229)}static get[j(240)](){return!0}static get[j(242)](){return!0}}function F(){var e=["5350pimdgQ","570BhFveK","198222vpqHAi","1474047UhdEdj","3719576GQfxdT","3152104tjOWiV","30210kXzzkX","30XKBKdm","600gkQELD","11276uMGJpY"];return(F=function(){return e})()}function R(e,t){var n=F();return(R=function(e,t){return n[e-=120]})(e,t)}!function(e){for(var t=R,n=e();;)try{if(359217===-parseInt(t(126))/1+-parseInt(t(124))/2+-parseInt(t(125))/3*(-parseInt(t(123))/4)+parseInt(t(122))/5*(-parseInt(t(120))/6)+parseInt(t(128))/7+-parseInt(t(129))/8+parseInt(t(127))/9*(parseInt(t(121))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(F)})(),(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 _0x14f939,Plugin as _0x1b5cf6}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x250e09,CKEditorError as _0x3e6966,uid as _0x118d0e,Collection as _0x424658}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x3d9d91,isPercentageStyleValue as _0x1e68e4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x50cb86,createDropdown as _0x3aba08,addListToDropdown as _0x5854b4,MenuBarMenuView as _0x51c1d9,MenuBarMenuListView as _0x40ced6,MenuBarMenuListItemView as _0xa45f1a,MenuBarMenuListItemButtonView as _0x2657e1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x294906}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x14f939{['refresh'](){const _0x36c1d5=this['editor']['model']['document'],_0x983d14=_0x250e09(_0x36c1d5['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x983d14)&&this['_canHaveLineHeight'](_0x983d14),this['value']=this['isEnabled']&&_0x983d14['getAttribute']('lineHeight');}['execute'](_0x4edc42={}){const _0x4c89a8=this['editor']['model'],_0x374b55=_0x4c89a8['document']['selection'],_0x2966a0=_0x4edc42['value'];_0x4c89a8['change'](_0x46e2e8=>{const _0x223959=Array['from'](_0x374b55['getSelectedBlocks']())['filter'](_0x3e8841=>this['_canHaveLineHeight'](_0x3e8841));for(const _0x199aad of _0x223959)_0x2966a0?_0x46e2e8['setAttribute']('lineHeight',_0x2966a0,_0x199aad):_0x46e2e8['removeAttribute']('lineHeight',_0x199aad);});}['_canHaveLineHeight'](_0x514b0a){return this['editor']['model']['schema']['checkAttribute'](_0x514b0a,'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(_0x5709f6){return'string'==typeof _0x5709f6&&'default'===_0x5709f6['toLowerCase']();}function a(_0x3ee594){return _0x3ee594['options']['map'](_0x5ef922=>{return f(_0x5ef922)?{'title':String(_0x3ee594['defaultValue']),'model':'default'}:('number'==typeof _0x5ef922&&(_0x5ef922=String(_0x5ef922)),'string'!=typeof _0x5ef922?_0x5ef922:parseFloat(_0x5ef922)?{'title':_0x5ef922,'model':_0x5ef922,'view':{'name':'span','styles':{'line-height':_0x5ef922}}}:'string'==typeof(_0x6d1ea6=_0x5ef922)?v[_0x6d1ea6]:v[_0x6d1ea6['model']]);var _0x6d1ea6;})['filter'](_0x3249f8=>void 0x0!==_0x3249f8);}class g extends _0x1b5cf6{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x38dc1d,conversion:_0x3b0d4f}=this['editor'];if(!_0x38dc1d['has']('ListEditing')||!_0x38dc1d['has']('TodoListEditing'))return;_0x38dc1d['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xab6219,_0x1570af,_0x26b984,_0x2eba3f,_0x395faf){'todo'==_0x395faf['getAttribute']('listType')&&_0x1570af&&(_0xab6219['addClass']('ck-list-marker-line-height',_0x26b984),_0xab6219['setStyle']('--ck-content-list-marker-line-height',_0x1570af,_0x26b984));}}),_0x3b0d4f['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x3b0d4f['for']('upcast')['add'](_0x43bbb2=>{_0x43bbb2['on']('element:li',function(_0x20a687){const _0x2ecf47=new _0x3d9d91(_0x20a687);return(_0xea6eec,_0x2954de,_0x2128ab)=>{const _0x77c51a=_0x2ecf47['match'](_0x2954de['viewItem']);if(!_0x77c51a)return;const _0x566a9a=_0x77c51a['match'];_0x566a9a['name']=!0x1,_0x2128ab['consumable']['consume'](_0x2954de['viewItem'],_0x566a9a);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x1b5cf6{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10d0f8){super(_0x10d0f8),_0x10d0f8['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0xa6606d=this['editor'];this['_validateConfig'](),_0xa6606d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0xa6606d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0xa6606d['commands']['add']('lineHeight',new n(_0xa6606d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x159ebd){const _0x50ad74=_0x29717f([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]),_0xc3169d=0x45ddd215,_0x213399=0x45daafcd^_0xc3169d,_0x519370=window[_0x29717f([0x44,0x61,0x74,0x65])][_0x29717f([0x6e,0x6f,0x77])](),_0x302f29=_0x159ebd[_0x29717f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e4b17=new window[(_0x29717f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37e672=>{_0x302f29[_0x29717f([0x6f,0x6e,0x63,0x65])](_0x29717f([0x72,0x65,0x61,0x64,0x79]),_0x37e672);}),_0x1af575={[_0x29717f([0x6b,0x74,0x79])]:_0x29717f([0x45,0x43]),[_0x29717f([0x75,0x73,0x65])]:_0x29717f([0x73,0x69,0x67]),[_0x29717f([0x63,0x72,0x76])]:_0x29717f([0x50,0x2d,0x32,0x35,0x36]),[_0x29717f([0x78])]:_0x29717f([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]),[_0x29717f([0x79])]:_0x29717f([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]),[_0x29717f([0x61,0x6c,0x67])]:_0x29717f([0x45,0x53,0x32,0x35,0x36])},_0x5e1ae9=_0x302f29[_0x29717f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29717f([0x67,0x65,0x74])](_0x29717f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36861f(){let _0x4ea835,_0xc57093=null,_0x4b9135=null;try{if(_0x5e1ae9==_0x29717f([0x47,0x50,0x4c]))return _0x29717f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ea835=_0x2cea20(),!_0x4ea835)return _0x29717f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ea835[_0x29717f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b9135=_0x4037e1(_0x4ea835[_0x29717f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ea835[_0x29717f([0x6a,0x74,0x69])])),await _0x14a095()?_0x3e5356()?_0x2d7884()?_0x29717f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3568c2()?(_0x4ea835[_0x29717f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29717f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xc57093=_0x223944(_0x29717f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ea835[_0x29717f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29717f([0x74,0x72,0x69,0x61,0x6c])&&(_0xc57093=_0x223944(_0x29717f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c4ad0()):_0x29717f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29717f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29717f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29717f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d7884(){const _0xedd52=[_0x29717f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29717f([0x74,0x72,0x69,0x61,0x6c])][_0x29717f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ea835[_0x29717f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x519370/0x3e8:0xe10*_0x213399;return _0x4ea835[_0x29717f([0x65,0x78,0x70])]<_0xedd52;}function _0x3e5356(){const _0x4f0b9e=_0x4ea835[_0x29717f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f0b9e&&(!!_0x4f0b9e[_0x29717f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29717f([0x2a]))||!!_0x4f0b9e[_0x29717f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29717f([0x4c,0x48])));}function _0x3568c2(){const _0x521222=_0x4ea835[_0x29717f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x521222||0x0==_0x521222[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fbd21}=new URL(window[_0x29717f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x521222[_0x29717f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fbd21))return!0x0;const _0x2dfd23=_0x1fbd21[_0x29717f([0x73,0x70,0x6c,0x69,0x74])](_0x29717f([0x2e]));return _0x521222[_0x29717f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38d75=>_0x38d75[_0x29717f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29717f([0x2a])))[_0x29717f([0x6d,0x61,0x70])](_0x35c202=>_0x35c202[_0x29717f([0x73,0x70,0x6c,0x69,0x74])](_0x29717f([0x2e])))[_0x29717f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3147f0=>_0x3147f0[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2dfd23[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29717f([0x6d,0x61,0x70])](_0x363797=>Array(_0x2dfd23[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x363797[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29717f([0x66,0x69,0x6c,0x6c])](_0x363797[0x0]===_0x29717f([0x2a])?_0x29717f([0x2a]):'')[_0x29717f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x363797))[_0x29717f([0x73,0x6f,0x6d,0x65])](_0x1e165c=>_0x2dfd23[_0x29717f([0x65,0x76,0x65,0x72,0x79])]((_0x407d8b,_0xbc250b)=>_0x1e165c[_0xbc250b]===_0x407d8b||_0x1e165c[_0xbc250b]===_0x29717f([0x2a])));}function _0x2c4ad0(){return _0xc57093&&_0x4b9135?new window[(_0x29717f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47c5c9,_0x2e02eb)=>{_0xc57093[_0x29717f([0x74,0x68,0x65,0x6e])](_0x47c5c9,_0x2e02eb),_0x4b9135[_0x29717f([0x74,0x68,0x65,0x6e])](_0x3530f7=>{_0x3530f7!=_0x29717f([0x56,0x61,0x6c,0x69,0x64])&&_0x47c5c9(_0x3530f7);},_0x2e02eb);}):_0xc57093||_0x4b9135||_0x29717f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4037e1(_0x2cc035,_0xd5a164){return new window[(_0x29717f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fc2ec=>{if(_0x541653())return _0x4fc2ec(_0x29717f([0x56,0x61,0x6c,0x69,0x64]));_0x1f3764(),_0x302f29[_0x29717f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29717f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36f7f2=!0x1;const _0x24cfac=_0x118d0e();function _0x4ff298(_0x31870b){return!!_0x31870b&&(typeof _0x31870b===_0x29717f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31870b===_0x29717f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31870b[_0x29717f([0x74,0x68,0x65,0x6e])]===_0x29717f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31870b[_0x29717f([0x63,0x61,0x74,0x63,0x68])]===_0x29717f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5bf4f2(_0x252879){_0xae90a6(_0x252879)[_0x29717f([0x74,0x68,0x65,0x6e])](_0x46fb27=>{if(!_0x46fb27||_0x46fb27[_0x29717f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29717f([0x6f,0x6b]))return _0x29717f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4395ed(_0x43fdd5(_0x24cfac+_0xd5a164))!=_0x46fb27[_0x29717f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29717f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29717f([0x56,0x61,0x6c,0x69,0x64]);})[_0x29717f([0x74,0x68,0x65,0x6e])](_0x9d9786=>(_0x29495a(),_0x9d9786),()=>{const _0x4f4115=_0x4300d7();return null==_0x4f4115?(_0x29495a(),_0x29717f([0x56,0x61,0x6c,0x69,0x64])):_0x29717f(_0x519370-_0x4f4115>(0x61d15615^_0xc3169d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29717f([0x74,0x68,0x65,0x6e])](_0x4fc2ec)[_0x29717f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fc2ec(_0x29717f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18978b=0x45eb3c95^_0xc3169d;function _0x29495a(){const _0x9731eb=_0x29717f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4395ed(_0x43fdd5(_0x2cc035)),_0x3dc6d8=_0x159105(_0x4395ed(window[_0x29717f([0x4d,0x61,0x74,0x68])][_0x29717f([0x63,0x65,0x69,0x6c])](_0x519370/_0x18978b)));window[_0x29717f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29717f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9731eb,_0x3dc6d8);}function _0x4300d7(){const _0x1bc550=_0x29717f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4395ed(_0x43fdd5(_0x2cc035)),_0x568722=window[_0x29717f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29717f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bc550);return _0x568722?window[_0x29717f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159105(_0x568722),0x10)*_0x18978b:null;}function _0xae90a6(_0x1f5a06){return new window[(_0x29717f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x315d68,_0x515651)=>{_0x1f5a06[_0x29717f([0x74,0x68,0x65,0x6e])](_0x315d68,_0x515651),window[_0x29717f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x515651,0x45dc06d5^_0xc3169d);});}}_0x302f29[_0x29717f([0x6f,0x6e])](_0x29717f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17a97c,_0x42e726)=>{if(_0x42e726[0x0]!=_0x2cc035)return _0x4fc2ec(_0x29717f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42e726[0x1]={..._0x42e726[0x1],[_0x29717f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24cfac};},{[_0x29717f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29717f([0x68,0x69,0x67,0x68])}),_0x302f29[_0x29717f([0x6f,0x6e])](_0x29717f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bf3c7=>{_0x4ff298(_0x3bf3c7[_0x29717f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36f7f2=!0x0,_0x5bf4f2(_0x3bf3c7[_0x29717f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29717f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29717f([0x6c,0x6f,0x77])}),_0x4e4b17[_0x29717f([0x74,0x68,0x65,0x6e])](()=>{_0x36f7f2||_0x4fc2ec(_0x29717f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x541653(){return _0x302f29[_0x29717f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29717f([0x76,0x69,0x65,0x77])][_0x29717f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29717f([0x61,0x75,0x74,0x6f]);}function _0x1f3764(){_0x302f29[_0x29717f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29717f([0x76,0x69,0x65,0x77])][_0x29717f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29717f([0x61,0x75,0x74,0x6f]);}}function _0x223944(_0x466738){const _0x21a120=[new window[(_0x29717f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49cf78=>setTimeout(_0x49cf78,0x45d4ecd9^_0xc3169d)),_0x4e4b17[_0x29717f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29717f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24af8d=>{let _0x18918d=0x0;_0x302f29[_0x29717f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29717f([0x6f,0x6e])](_0x29717f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x521269,_0x29496b)=>{_0x29496b[0x0][_0x29717f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18918d++,_0x18918d==(0x45ddd7fd^_0xc3169d)&&(_0x24af8d(),_0x521269[_0x29717f([0x6f,0x66,0x66])]());});}))];return window[_0x29717f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29717f([0x72,0x61,0x63,0x65])](_0x21a120)[_0x29717f([0x74,0x68,0x65,0x6e])](()=>_0x466738);}async function _0x2c011e(){await _0x4e4b17,_0x302f29[_0x29717f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29717f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x415ef6,_0x302f29[_0x29717f([0x6d,0x6f,0x64,0x65,0x6c])][_0x29717f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x415ef6,_0x302f29[_0x29717f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29717f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a3829(_0x13dc2d){const _0x1a3223=_0x540b08();_0x302f29[_0x1a3223]=_0x29717f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x13dc2d,_0x13dc2d!=_0x29717f([0x56,0x61,0x6c,0x69,0x64])&&_0x2c011e();}function _0x540b08(){const _0x5273ee=window[_0x29717f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29717f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29717f([0x6e,0x6f,0x77])]())[_0x29717f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29717f([0x2e]),'');let _0x5a3e10=_0x29717f([0x50]);for(let _0x1ee259=0x0;_0x1ee259<_0x5273ee[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ee259+=0x2){let _0x4f65f3=window[_0x29717f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5273ee[_0x29717f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ee259,_0x1ee259+0x2));_0x4f65f3>=_0x50ad74[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f65f3-=_0x50ad74[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a3e10+=_0x50ad74[_0x4f65f3];}return _0x5a3e10;}function _0x2cea20(){const _0x1342f2=_0x5e1ae9[_0x29717f([0x73,0x70,0x6c,0x69,0x74])](_0x29717f([0x2e]));if(0x3!=_0x1342f2[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x517f6a(_0x1342f2[0x1]);function _0x517f6a(_0x1a5401){const _0x1d0b43=_0x55cd4c(_0x1a5401);return _0x1d0b43&&_0x57cbf0()?_0x1d0b43:null;function _0x57cbf0(){const _0x313782=_0x1d0b43[_0x29717f([0x6a,0x74,0x69])],_0x22dd60=window[_0x29717f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x313782[_0x29717f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x313782[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d7ef0={..._0x1d0b43,[_0x29717f([0x6a,0x74,0x69])]:_0x313782[_0x29717f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x313782[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d7ef0[_0x29717f([0x76,0x63])],_0x43fdd5(_0x3d7ef0)==_0x22dd60;}}}async function _0x14a095(){let _0x1caa21=!0x0;try{const _0x3154ac=_0x5e1ae9[_0x29717f([0x73,0x70,0x6c,0x69,0x74])](_0x29717f([0x2e])),[_0x587b55,_0x36e655,_0x4aa6cd]=_0x3154ac;return _0x42de5c(_0x587b55),await _0x1ad3d6(_0x587b55,_0x36e655,_0x4aa6cd),_0x1caa21;}catch{return!0x1;}function _0x42de5c(_0x9d3545){const _0x2c3726=_0x55cd4c(_0x9d3545);_0x2c3726&&_0x2c3726[_0x29717f([0x61,0x6c,0x67])]==_0x29717f([0x45,0x53,0x32,0x35,0x36])||(_0x1caa21=!0x1);}async function _0x1ad3d6(_0x57d1b8,_0x31cd03,_0x22014b){const _0x5315a1=window[_0x29717f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29717f([0x66,0x72,0x6f,0x6d])](_0x48ec98(_0x22014b),_0x59fb02=>_0x59fb02[_0x29717f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a0d93=new window[(_0x29717f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29717f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57d1b8+_0x29717f([0x2e])+_0x31cd03),_0x5d2a12=window[_0x29717f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29717f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d2a12)return;const _0x46512d=await _0x5d2a12[_0x29717f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29717f([0x6a,0x77,0x6b]),_0x1af575,{[_0x29717f([0x6e,0x61,0x6d,0x65])]:_0x29717f([0x45,0x43,0x44,0x53,0x41]),[_0x29717f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29717f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29717f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d2a12[_0x29717f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29717f([0x6e,0x61,0x6d,0x65])]:_0x29717f([0x45,0x43,0x44,0x53,0x41]),[_0x29717f([0x68,0x61,0x73,0x68])]:{[_0x29717f([0x6e,0x61,0x6d,0x65])]:_0x29717f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46512d,_0x5315a1,_0x3a0d93)||(_0x1caa21=!0x1);}}function _0x55cd4c(_0x12b225){return _0x12b225[_0x29717f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29717f([0x65,0x79]))?JSON[_0x29717f([0x70,0x61,0x72,0x73,0x65])](_0x48ec98(_0x12b225)):null;}function _0x48ec98(_0x1a9362){return window[_0x29717f([0x61,0x74,0x6f,0x62])](_0x1a9362[_0x29717f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29717f([0x2b]))[_0x29717f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29717f([0x2f])));}function _0x43fdd5(_0x155df7){let _0x39c95b=0x1505;function _0x21604f(_0x1de8a1){for(let _0x25d96b=0x0;_0x25d96b<_0x1de8a1[_0x29717f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25d96b++){const _0x476e1a=_0x1de8a1[_0x29717f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25d96b);_0x39c95b=(_0x39c95b<<0x5)+_0x39c95b+_0x476e1a,_0x39c95b&=_0x39c95b;}}function _0x411712(_0x9afad5){Array[_0x29717f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9afad5)?_0x9afad5[_0x29717f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x411712):_0x9afad5&&typeof _0x9afad5==_0x29717f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29717f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9afad5)[_0x29717f([0x73,0x6f,0x72,0x74])]()[_0x29717f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c1bc4,_0x1a9ea7])=>{_0x21604f(_0x1c1bc4),_0x411712(_0x1a9ea7);}):_0x21604f(window[_0x29717f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9afad5));}return _0x411712(_0x155df7),_0x39c95b>>>0x0;}function _0x4395ed(_0x43a3eb){return _0x43a3eb[_0x29717f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29717f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29717f([0x30]));}function _0x159105(_0x707ad6){return _0x707ad6[_0x29717f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29717f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29717f([0x6a,0x6f,0x69,0x6e])]('');}function _0x415ef6(){}function _0x29717f(_0x1d2f3b){return _0x1d2f3b['map'](_0x595ab7=>String['fromCharCode'](_0x595ab7))['join']('');}_0x1a3829(await _0x36861f());}(this);}['_validateConfig'](){const _0x2c2379=this['editor'];if(!_0x2c2379['config']['get']('lineHeight.supportAllValues'))return;const _0x4855a3=_0x2c2379['config']['get']('lineHeight.options')['filter'](_0x3b3980=>'string'==typeof _0x3b3980&&(!f(_0x3b3980)&&isNaN(Number(_0x3b3980))));if(_0x4855a3['length'])throw new _0x3e6966('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4855a3});}['_prepareAnyValueConverters'](){const _0x4d30ae=this['editor'],_0x57e849=this['editor']['config']['get']('lineHeight.defaultValue');_0x4d30ae['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x17a16c=>String(_0x17a16c)===String(_0x57e849)?null:{'key':'style','value':{'line-height':_0x17a16c}}}),_0x4d30ae['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x12e77d=>{let _0x4ba8d2=_0x12e77d['getStyle']('line-height');return _0x1e68e4(_0x4ba8d2)&&(_0x4ba8d2=String(Number(_0x4ba8d2['slice'](0x0,-0x1))/0x64)),String(_0x4ba8d2)===String(_0x57e849)?null:_0x4ba8d2;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3b6a53=this['editor'],_0x296979=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2175e=function(_0xa080c0,_0x2dd07f){const _0x11258d={'model':{'key':_0xa080c0,'values':[]},'view':{}};for(const _0x4fdc88 of _0x2dd07f)'class'===_0x4fdc88['view']?.['key']?(_0x11258d['model']['values']['push'](_0x4fdc88['model']),_0x11258d['view'][_0x4fdc88['model']]={'key':'class','value':_0x4fdc88['view']['value']}):(_0x11258d['model']['values']['push'](_0x4fdc88['model']),_0x11258d['view'][_0x4fdc88['model']]={'key':'style','value':'line-height:'+_0x4fdc88['model']+';'});return _0x11258d;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0xcd5f8b=>_0xcd5f8b['model']));_0x3b6a53['conversion']['attributeToAttribute'](_0x2175e),_0x3b6a53['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2ebb2c=>{let _0x7d040c=_0x2ebb2c['getStyle']('line-height');return _0x1e68e4(_0x7d040c)&&(_0x7d040c=String(Number(_0x7d040c['slice'](0x0,-0x1))/0x64)),_0x7d040c===String(_0x296979)?null:_0x2175e['model']['values']['includes'](_0x7d040c)?_0x7d040c:null;}}});}}class r extends _0x1b5cf6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4b3c41={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4b3c41),this['_registerMenuBarComponent'](_0x4b3c41),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xdb1ee=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5387e4;for(const _0x383884 in _0xdb1ee){const _0x532860=_0x383884,_0x362f18=_0xdb1ee[_0x532860];if('lineHeightLicenseKeyValid'==_0x362f18||'lineHeightLicenseKeyInvalid'==_0x362f18||'lineHeightLicenseKeyExpired'==_0x362f18||'lineHeightLicenseKeyDomainLimit'==_0x362f18||'lineHeightLicenseKeyNotAllowed'==_0x362f18||'lineHeightLicenseKeyEvaluationLimit'==_0x362f18||'lineHeightLicenseKeyTrialLimit'==_0x362f18||'lineHeightLicenseKeyUsageLimit'==_0x362f18){delete _0xdb1ee[_0x532860],_0x5387e4=_0x362f18,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5387e4&&_0xdb1ee['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5387e4&&_0xdb1ee['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5387e4&&_0xdb1ee['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5387e4&&_0xdb1ee['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5387e4&&_0xdb1ee['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5387e4&&_0xdb1ee['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5387e4&&_0xdb1ee['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x12d042=this['editor'],t=_0x12d042['t'],_0x12062e=_0x12d042['config']['get']('lineHeight'),_0x3122da={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x12062e)['map'](_0x3470c7=>{const _0x4bfd84=_0x3122da[_0x3470c7['title']];return _0x4bfd84&&_0x4bfd84!=_0x3470c7['title']&&(_0x3470c7=Object['assign']({},_0x3470c7,{'title':_0x4bfd84})),_0x3470c7;});}['_prepareListOptions'](){const _0x3671d9=this['editor']['commands']['get']('lineHeight'),_0xfefaad=this['editor']['config']['get']('lineHeight.defaultValue'),_0x399769=this['_getLocalizedLineHeightOptions'](),_0xf4d746=new _0x424658(),_0x95d681=_0x5389a1=>'default'===_0x5389a1||String(_0xfefaad)===_0x5389a1;for(const _0x1a43ed of _0x399769){const _0x5be5a7={'type':'button','model':new _0x50cb86({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x1a43ed['title'],'withText':!0x0})};_0x95d681(_0x1a43ed['model'])?(_0x5be5a7['model']['bind']('isOn')['to'](_0x3671d9,'value',_0x3ef561=>!_0x3ef561),_0x5be5a7['model']['commandParam']=void 0x0):(_0x5be5a7['model']['bind']('isOn')['to'](_0x3671d9,'value',_0x1a60ba=>_0x1a60ba===_0x1a43ed['model']),_0x5be5a7['model']['commandParam']=_0x1a43ed['model']),_0xf4d746['add'](_0x5be5a7);}if(this['_shouldRenderCustomValueOption']()){const _0x5426c0=this['_getCustomValueOptionDefinition'](_0x399769);_0xf4d746['add'](_0x5426c0);}return _0xf4d746;}['_getCustomValueOptionDefinition'](_0x1d0d35){const _0x1bf85b=this['editor'],t=_0x1bf85b['t'],_0x2a6351=_0x1bf85b['commands']['get']('lineHeight'),_0x32e4ea=_0x1d0d35['map'](_0x44c0ac=>_0x44c0ac['model']),_0x1fa5d7={'type':'button','model':new _0x50cb86({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1fa5d7['model']['bind']('commandParam')['to'](_0x2a6351,'value'),_0x1fa5d7['model']['bind']('isOn')['to'](_0x2a6351,'value',_0x3ff245=>!!_0x3ff245&&!_0x32e4ea['includes'](String(_0x3ff245))),_0x1fa5d7['model']['bind']('label')['to'](_0x2a6351,'value',_0x3f9bfc=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3f9bfc))),_0x1fa5d7;}['_registerToolbarComponent']({accessibleLabel:_0x24f6c2,options:_0x1de1a5}){const _0x2c4d99=this['editor'],_0x4f1adb=_0x2c4d99['commands']['get']('lineHeight');_0x2c4d99['ui']['componentFactory']['add']('lineHeight',_0x10548a=>{const _0x212288=_0x3aba08(_0x10548a);return _0x5854b4(_0x212288,_0x1de1a5,{'role':'menu','ariaLabel':_0x24f6c2}),_0x212288['buttonView']['set']({'label':_0x24f6c2,'tooltip':!0x0,'icon':_0x294906}),_0x212288['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x212288['bind']('isEnabled')['to'](_0x4f1adb),this['listenTo'](_0x212288,'execute',_0x46aefb=>{_0x2c4d99['execute'](_0x46aefb['source']['commandName'],{'value':_0x46aefb['source']['commandParam']}),_0x2c4d99['editing']['view']['focus']();}),_0x212288['once']('change:isOpen',()=>{const _0x2891bb=_0x212288['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x212288,_0x1de1a5,_0x2891bb);}),_0x212288;});}['_registerMenuBarComponent']({accessibleLabel:_0xaacd3e,options:_0x30dc82}){const _0x54f6a5=this['editor'],_0x4b4fb7=_0x54f6a5['commands']['get']('lineHeight');_0x54f6a5['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4892d4=>{const _0x575cbf=new _0x51c1d9(_0x4892d4);_0x575cbf['buttonView']['set']({'label':_0xaacd3e,'icon':_0x294906}),_0x575cbf['bind']('isEnabled')['to'](_0x4b4fb7);const _0x44a683=new _0x40ced6(_0x4892d4);for(const _0x2556bb of _0x30dc82){const _0x3ff0b9=new _0xa45f1a(_0x4892d4,_0x575cbf),_0x842346=new _0x2657e1(_0x4892d4);_0x842346['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x842346['bind'](...Object['keys'](_0x2556bb['model']))['to'](_0x2556bb['model']),_0x842346['delegate']('execute')['to'](_0x575cbf),_0x842346['on']('execute',()=>{_0x54f6a5['execute'](_0x2556bb['model']['commandName'],{'value':_0x2556bb['model']['commandParam']}),_0x54f6a5['editing']['view']['focus']();}),_0x3ff0b9['children']['add'](_0x842346),_0x44a683['items']['add'](_0x3ff0b9);}return _0x575cbf['panelView']['children']['add'](_0x44a683),this['_attachCustomOptionVisibilityHandler'](_0x575cbf,_0x30dc82,_0x44a683),_0x575cbf;});}['_attachCustomOptionVisibilityHandler'](_0x3dfefc,_0x383a37,_0x4ae267){if(!this['_shouldRenderCustomValueOption']())return;const _0x36dfb2=()=>{if(!_0x3dfefc['isOpen'])return;_0x4ae267['items']['last']['isVisible']=Boolean(_0x383a37['last']['model']['isOn']);};_0x36dfb2(),_0x3dfefc['on']('change:isOpen',()=>{_0x36dfb2();});}}class _ extends _0x1b5cf6{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 _0xe4dd60,Plugin as _0x3c6461}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x57da96,CKEditorError as _0x345ad2,uid as _0x461f8a,Collection as _0x2f760e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x10f1ad,isPercentageStyleValue as _0x29cc50}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x4cadb6,createDropdown as _0x35c15b,addListToDropdown as _0x112a20,MenuBarMenuView as _0x5ae210,MenuBarMenuListView as _0x4384c8,MenuBarMenuListItemView as _0x3e6f85,MenuBarMenuListItemButtonView as _0x24b0ae}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x468d3f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xe4dd60{['refresh'](){const _0x3719ce=this['editor']['model']['document'],_0x42998f=_0x57da96(_0x3719ce['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x42998f)&&this['_canHaveLineHeight'](_0x42998f),this['value']=this['isEnabled']&&_0x42998f['getAttribute']('lineHeight');}['execute'](_0x1a5f21={}){const _0x246025=this['editor']['model'],_0x37ac13=_0x246025['document']['selection'],_0xfc6c09=_0x1a5f21['value'];_0x246025['change'](_0x307ec5=>{const _0x3c2953=Array['from'](_0x37ac13['getSelectedBlocks']())['filter'](_0xe13c3e=>this['_canHaveLineHeight'](_0xe13c3e));for(const _0x11d211 of _0x3c2953)_0xfc6c09?_0x307ec5['setAttribute']('lineHeight',_0xfc6c09,_0x11d211):_0x307ec5['removeAttribute']('lineHeight',_0x11d211);});}['_canHaveLineHeight'](_0x2ef9e6){return this['editor']['model']['schema']['checkAttribute'](_0x2ef9e6,'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(_0x3ef71f){return'string'==typeof _0x3ef71f&&'default'===_0x3ef71f['toLowerCase']();}function a(_0x5df80e){return _0x5df80e['options']['map'](_0x1ca4df=>{return f(_0x1ca4df)?{'title':String(_0x5df80e['defaultValue']),'model':'default'}:('number'==typeof _0x1ca4df&&(_0x1ca4df=String(_0x1ca4df)),'string'!=typeof _0x1ca4df?_0x1ca4df:parseFloat(_0x1ca4df)?{'title':_0x1ca4df,'model':_0x1ca4df,'view':{'name':'span','styles':{'line-height':_0x1ca4df}}}:'string'==typeof(_0x3973fe=_0x1ca4df)?v[_0x3973fe]:v[_0x3973fe['model']]);var _0x3973fe;})['filter'](_0x5c7df5=>void 0x0!==_0x5c7df5);}class g extends _0x3c6461{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4d4e79,conversion:_0x4b3cc4}=this['editor'];if(!_0x4d4e79['has']('ListEditing')||!_0x4d4e79['has']('TodoListEditing'))return;_0x4d4e79['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x2c669d,_0x5a5723,_0x55d9b5,_0x22afc7,_0x1468e6){'todo'==_0x1468e6['getAttribute']('listType')&&_0x5a5723&&(_0x2c669d['addClass']('ck-list-marker-line-height',_0x55d9b5),_0x2c669d['setStyle']('--ck-content-list-marker-line-height',_0x5a5723,_0x55d9b5));}}),_0x4b3cc4['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x4b3cc4['for']('upcast')['add'](_0x36a9b2=>{_0x36a9b2['on']('element:li',function(_0x507136){const _0x336451=new _0x10f1ad(_0x507136);return(_0x1efb9c,_0x4d3fda,_0x1d6cf3)=>{const _0x3fe0e7=_0x336451['match'](_0x4d3fda['viewItem']);if(!_0x3fe0e7)return;const _0x302776=_0x3fe0e7['match'];_0x302776['name']=!0x1,_0x1d6cf3['consumable']['consume'](_0x4d3fda['viewItem'],_0x302776);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x3c6461{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x69ca21){super(_0x69ca21),_0x69ca21['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x424b3c=this['editor'];this['_validateConfig'](),_0x424b3c['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x424b3c['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x424b3c['commands']['add']('lineHeight',new n(_0x424b3c)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0xbdd369){const _0x51ab1f=_0x36ea61([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]),_0x2cf67b=0x45ddd215,_0x2e2c88=0x45daafe5^_0x2cf67b,_0x34aad=window[_0x36ea61([0x44,0x61,0x74,0x65])][_0x36ea61([0x6e,0x6f,0x77])](),_0xef1b32=_0xbdd369[_0x36ea61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ed458=new window[(_0x36ea61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4780a9=>{_0xef1b32[_0x36ea61([0x6f,0x6e,0x63,0x65])](_0x36ea61([0x72,0x65,0x61,0x64,0x79]),_0x4780a9);}),_0xfcd6d2={[_0x36ea61([0x6b,0x74,0x79])]:_0x36ea61([0x45,0x43]),[_0x36ea61([0x75,0x73,0x65])]:_0x36ea61([0x73,0x69,0x67]),[_0x36ea61([0x63,0x72,0x76])]:_0x36ea61([0x50,0x2d,0x32,0x35,0x36]),[_0x36ea61([0x78])]:_0x36ea61([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]),[_0x36ea61([0x79])]:_0x36ea61([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]),[_0x36ea61([0x61,0x6c,0x67])]:_0x36ea61([0x45,0x53,0x32,0x35,0x36])},_0x4b79ae=_0xef1b32[_0x36ea61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36ea61([0x67,0x65,0x74])](_0x36ea61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d4748(){let _0x1082d8,_0x54d007=null,_0x343824=null;try{if(_0x4b79ae==_0x36ea61([0x47,0x50,0x4c]))return _0x36ea61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1082d8=_0x10a1b9(),!_0x1082d8)return _0x36ea61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1082d8[_0x36ea61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x343824=_0x2c314f(_0x1082d8[_0x36ea61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1082d8[_0x36ea61([0x6a,0x74,0x69])])),await _0x3bb88b()?_0x727dd1()?_0x4bedc8()?_0x36ea61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a2ed1()?(_0x1082d8[_0x36ea61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36ea61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54d007=_0x216c2c(_0x36ea61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1082d8[_0x36ea61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36ea61([0x74,0x72,0x69,0x61,0x6c])&&(_0x54d007=_0x216c2c(_0x36ea61([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x270a33()):_0x36ea61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36ea61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36ea61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36ea61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4bedc8(){const _0x586e05=[_0x36ea61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36ea61([0x74,0x72,0x69,0x61,0x6c])][_0x36ea61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1082d8[_0x36ea61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34aad/0x3e8:0xe10*_0x2e2c88;return _0x1082d8[_0x36ea61([0x65,0x78,0x70])]<_0x586e05;}function _0x727dd1(){const _0x23c17c=_0x1082d8[_0x36ea61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23c17c&&(!!_0x23c17c[_0x36ea61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36ea61([0x2a]))||!!_0x23c17c[_0x36ea61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36ea61([0x4c,0x48])));}function _0x4a2ed1(){const _0x3e1ce2=_0x1082d8[_0x36ea61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e1ce2||0x0==_0x3e1ce2[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfed83b}=new URL(window[_0x36ea61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e1ce2[_0x36ea61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfed83b))return!0x0;const _0xec2c4c=_0xfed83b[_0x36ea61([0x73,0x70,0x6c,0x69,0x74])](_0x36ea61([0x2e]));return _0x3e1ce2[_0x36ea61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11667c=>_0x11667c[_0x36ea61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36ea61([0x2a])))[_0x36ea61([0x6d,0x61,0x70])](_0x34bc59=>_0x34bc59[_0x36ea61([0x73,0x70,0x6c,0x69,0x74])](_0x36ea61([0x2e])))[_0x36ea61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x414942=>_0x414942[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xec2c4c[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36ea61([0x6d,0x61,0x70])](_0x4cd41b=>Array(_0xec2c4c[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4cd41b[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36ea61([0x66,0x69,0x6c,0x6c])](_0x4cd41b[0x0]===_0x36ea61([0x2a])?_0x36ea61([0x2a]):'')[_0x36ea61([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4cd41b))[_0x36ea61([0x73,0x6f,0x6d,0x65])](_0x40c8c1=>_0xec2c4c[_0x36ea61([0x65,0x76,0x65,0x72,0x79])]((_0x52c38f,_0x4ce259)=>_0x40c8c1[_0x4ce259]===_0x52c38f||_0x40c8c1[_0x4ce259]===_0x36ea61([0x2a])));}function _0x270a33(){return _0x54d007&&_0x343824?new window[(_0x36ea61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7ad8e6,_0x3507c7)=>{_0x54d007[_0x36ea61([0x74,0x68,0x65,0x6e])](_0x7ad8e6,_0x3507c7),_0x343824[_0x36ea61([0x74,0x68,0x65,0x6e])](_0x2801eb=>{_0x2801eb!=_0x36ea61([0x56,0x61,0x6c,0x69,0x64])&&_0x7ad8e6(_0x2801eb);},_0x3507c7);}):_0x54d007||_0x343824||_0x36ea61([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c314f(_0xcba44d,_0x109c97){return new window[(_0x36ea61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fe41f=>{if(_0x1a20c7())return _0x2fe41f(_0x36ea61([0x56,0x61,0x6c,0x69,0x64]));_0x302d45(),_0xef1b32[_0x36ea61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36ea61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x292c87=!0x1;const _0x790cd2=_0x461f8a();function _0x2c6ee3(_0x5be5cf){return!!_0x5be5cf&&(typeof _0x5be5cf===_0x36ea61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5be5cf===_0x36ea61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5be5cf[_0x36ea61([0x74,0x68,0x65,0x6e])]===_0x36ea61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5be5cf[_0x36ea61([0x63,0x61,0x74,0x63,0x68])]===_0x36ea61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4367d0(_0x2b8ee5){_0x3b7004(_0x2b8ee5)[_0x36ea61([0x74,0x68,0x65,0x6e])](_0x449e03=>{if(!_0x449e03||_0x449e03[_0x36ea61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36ea61([0x6f,0x6b]))return _0x36ea61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45cea8(_0x550982(_0x790cd2+_0x109c97))!=_0x449e03[_0x36ea61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36ea61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36ea61([0x56,0x61,0x6c,0x69,0x64]);})[_0x36ea61([0x74,0x68,0x65,0x6e])](_0x5b3f69=>(_0x1ca377(),_0x5b3f69),()=>{const _0x4e4866=_0x2c997f();return null==_0x4e4866?(_0x1ca377(),_0x36ea61([0x56,0x61,0x6c,0x69,0x64])):_0x36ea61(_0x34aad-_0x4e4866>(0x61d15615^_0x2cf67b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36ea61([0x74,0x68,0x65,0x6e])](_0x2fe41f)[_0x36ea61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2fe41f(_0x36ea61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40d5f8=0x45eb3c95^_0x2cf67b;function _0x1ca377(){const _0x280839=_0x36ea61([0x6c,0x6c,0x63,0x74,0x2d])+_0x45cea8(_0x550982(_0xcba44d)),_0x260212=_0x52980f(_0x45cea8(window[_0x36ea61([0x4d,0x61,0x74,0x68])][_0x36ea61([0x63,0x65,0x69,0x6c])](_0x34aad/_0x40d5f8)));window[_0x36ea61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36ea61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x280839,_0x260212);}function _0x2c997f(){const _0x139f0d=_0x36ea61([0x6c,0x6c,0x63,0x74,0x2d])+_0x45cea8(_0x550982(_0xcba44d)),_0x545222=window[_0x36ea61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36ea61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x139f0d);return _0x545222?window[_0x36ea61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52980f(_0x545222),0x10)*_0x40d5f8:null;}function _0x3b7004(_0x317b32){return new window[(_0x36ea61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32b13f,_0x283bd5)=>{_0x317b32[_0x36ea61([0x74,0x68,0x65,0x6e])](_0x32b13f,_0x283bd5),window[_0x36ea61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x283bd5,0x45dc06d5^_0x2cf67b);});}}_0xef1b32[_0x36ea61([0x6f,0x6e])](_0x36ea61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x305a13,_0x34a7cb)=>{if(_0x34a7cb[0x0]!=_0xcba44d)return _0x2fe41f(_0x36ea61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34a7cb[0x1]={..._0x34a7cb[0x1],[_0x36ea61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x790cd2};},{[_0x36ea61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36ea61([0x68,0x69,0x67,0x68])}),_0xef1b32[_0x36ea61([0x6f,0x6e])](_0x36ea61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5337c4=>{_0x2c6ee3(_0x5337c4[_0x36ea61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x292c87=!0x0,_0x4367d0(_0x5337c4[_0x36ea61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36ea61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36ea61([0x6c,0x6f,0x77])}),_0x3ed458[_0x36ea61([0x74,0x68,0x65,0x6e])](()=>{_0x292c87||_0x2fe41f(_0x36ea61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a20c7(){return _0xef1b32[_0x36ea61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36ea61([0x76,0x69,0x65,0x77])][_0x36ea61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36ea61([0x61,0x75,0x74,0x6f]);}function _0x302d45(){_0xef1b32[_0x36ea61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36ea61([0x76,0x69,0x65,0x77])][_0x36ea61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36ea61([0x61,0x75,0x74,0x6f]);}}function _0x216c2c(_0x43859f){const _0x602b3e=[new window[(_0x36ea61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x645b5f=>setTimeout(_0x645b5f,0x45d4ecd9^_0x2cf67b)),_0x3ed458[_0x36ea61([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36ea61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x232c97=>{let _0x406118=0x0;_0xef1b32[_0x36ea61([0x6d,0x6f,0x64,0x65,0x6c])][_0x36ea61([0x6f,0x6e])](_0x36ea61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x308668,_0x33a227)=>{_0x33a227[0x0][_0x36ea61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x406118++,_0x406118==(0x45ddd7fd^_0x2cf67b)&&(_0x232c97(),_0x308668[_0x36ea61([0x6f,0x66,0x66])]());});}))];return window[_0x36ea61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36ea61([0x72,0x61,0x63,0x65])](_0x602b3e)[_0x36ea61([0x74,0x68,0x65,0x6e])](()=>_0x43859f);}async function _0x2e414f(){await _0x3ed458,_0xef1b32[_0x36ea61([0x6d,0x6f,0x64,0x65,0x6c])][_0x36ea61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x481e1e,_0xef1b32[_0x36ea61([0x6d,0x6f,0x64,0x65,0x6c])][_0x36ea61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x481e1e,_0xef1b32[_0x36ea61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36ea61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x737b34(_0x428558){const _0x9c1749=_0x8220b2();_0xef1b32[_0x9c1749]=_0x36ea61([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x428558,_0x428558!=_0x36ea61([0x56,0x61,0x6c,0x69,0x64])&&_0x2e414f();}function _0x8220b2(){const _0x46a3a1=window[_0x36ea61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36ea61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36ea61([0x6e,0x6f,0x77])]())[_0x36ea61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36ea61([0x2e]),'');let _0x40fcc3=_0x36ea61([0x50]);for(let _0x4b314f=0x0;_0x4b314f<_0x46a3a1[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b314f+=0x2){let _0x5409b3=window[_0x36ea61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46a3a1[_0x36ea61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b314f,_0x4b314f+0x2));_0x5409b3>=_0x51ab1f[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5409b3-=_0x51ab1f[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40fcc3+=_0x51ab1f[_0x5409b3];}return _0x40fcc3;}function _0x10a1b9(){const _0x46b7d8=_0x4b79ae[_0x36ea61([0x73,0x70,0x6c,0x69,0x74])](_0x36ea61([0x2e]));if(0x3!=_0x46b7d8[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2858ba(_0x46b7d8[0x1]);function _0x2858ba(_0xcc259b){const _0x2e34ee=_0x5076f0(_0xcc259b);return _0x2e34ee&&_0x423026()?_0x2e34ee:null;function _0x423026(){const _0x2b4af7=_0x2e34ee[_0x36ea61([0x6a,0x74,0x69])],_0x5ed32c=window[_0x36ea61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b4af7[_0x36ea61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b4af7[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3828f5={..._0x2e34ee,[_0x36ea61([0x6a,0x74,0x69])]:_0x2b4af7[_0x36ea61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b4af7[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3828f5[_0x36ea61([0x76,0x63])],_0x550982(_0x3828f5)==_0x5ed32c;}}}async function _0x3bb88b(){let _0x53dddc=!0x0;try{const _0x259bba=_0x4b79ae[_0x36ea61([0x73,0x70,0x6c,0x69,0x74])](_0x36ea61([0x2e])),[_0x36ecef,_0x4a7771,_0x54e575]=_0x259bba;return _0x592f8f(_0x36ecef),await _0x3827c1(_0x36ecef,_0x4a7771,_0x54e575),_0x53dddc;}catch{return!0x1;}function _0x592f8f(_0xefd360){const _0x21b06d=_0x5076f0(_0xefd360);_0x21b06d&&_0x21b06d[_0x36ea61([0x61,0x6c,0x67])]==_0x36ea61([0x45,0x53,0x32,0x35,0x36])||(_0x53dddc=!0x1);}async function _0x3827c1(_0x2f5e91,_0x598656,_0x4abd8b){const _0x1e30aa=window[_0x36ea61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36ea61([0x66,0x72,0x6f,0x6d])](_0x3b4801(_0x4abd8b),_0x4a64ce=>_0x4a64ce[_0x36ea61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x363e2d=new window[(_0x36ea61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36ea61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f5e91+_0x36ea61([0x2e])+_0x598656),_0x12f435=window[_0x36ea61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36ea61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12f435)return;const _0x165fc3=await _0x12f435[_0x36ea61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36ea61([0x6a,0x77,0x6b]),_0xfcd6d2,{[_0x36ea61([0x6e,0x61,0x6d,0x65])]:_0x36ea61([0x45,0x43,0x44,0x53,0x41]),[_0x36ea61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36ea61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36ea61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12f435[_0x36ea61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36ea61([0x6e,0x61,0x6d,0x65])]:_0x36ea61([0x45,0x43,0x44,0x53,0x41]),[_0x36ea61([0x68,0x61,0x73,0x68])]:{[_0x36ea61([0x6e,0x61,0x6d,0x65])]:_0x36ea61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x165fc3,_0x1e30aa,_0x363e2d)||(_0x53dddc=!0x1);}}function _0x5076f0(_0x6e37e){return _0x6e37e[_0x36ea61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36ea61([0x65,0x79]))?JSON[_0x36ea61([0x70,0x61,0x72,0x73,0x65])](_0x3b4801(_0x6e37e)):null;}function _0x3b4801(_0x275853){return window[_0x36ea61([0x61,0x74,0x6f,0x62])](_0x275853[_0x36ea61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36ea61([0x2b]))[_0x36ea61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36ea61([0x2f])));}function _0x550982(_0x429849){let _0x3fc8e7=0x1505;function _0x2def6a(_0x422692){for(let _0x42a9b6=0x0;_0x42a9b6<_0x422692[_0x36ea61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42a9b6++){const _0x95ce8a=_0x422692[_0x36ea61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42a9b6);_0x3fc8e7=(_0x3fc8e7<<0x5)+_0x3fc8e7+_0x95ce8a,_0x3fc8e7&=_0x3fc8e7;}}function _0x25c3c3(_0xb7945c){Array[_0x36ea61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb7945c)?_0xb7945c[_0x36ea61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25c3c3):_0xb7945c&&typeof _0xb7945c==_0x36ea61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36ea61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb7945c)[_0x36ea61([0x73,0x6f,0x72,0x74])]()[_0x36ea61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ccd8c,_0x4e3cdd])=>{_0x2def6a(_0x5ccd8c),_0x25c3c3(_0x4e3cdd);}):_0x2def6a(window[_0x36ea61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb7945c));}return _0x25c3c3(_0x429849),_0x3fc8e7>>>0x0;}function _0x45cea8(_0x166f9c){return _0x166f9c[_0x36ea61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36ea61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36ea61([0x30]));}function _0x52980f(_0x2b584a){return _0x2b584a[_0x36ea61([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36ea61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36ea61([0x6a,0x6f,0x69,0x6e])]('');}function _0x481e1e(){}function _0x36ea61(_0x8974fc){return _0x8974fc['map'](_0x3d63fb=>String['fromCharCode'](_0x3d63fb))['join']('');}_0x737b34(await _0x5d4748());}(this);}['_validateConfig'](){const _0x45ad7f=this['editor'];if(!_0x45ad7f['config']['get']('lineHeight.supportAllValues'))return;const _0x3daea9=_0x45ad7f['config']['get']('lineHeight.options')['filter'](_0x15535e=>'string'==typeof _0x15535e&&(!f(_0x15535e)&&isNaN(Number(_0x15535e))));if(_0x3daea9['length'])throw new _0x345ad2('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x3daea9});}['_prepareAnyValueConverters'](){const _0x5d48df=this['editor'],_0x213ce2=this['editor']['config']['get']('lineHeight.defaultValue');_0x5d48df['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x43b9ae=>String(_0x43b9ae)===String(_0x213ce2)?null:{'key':'style','value':{'line-height':_0x43b9ae}}}),_0x5d48df['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x3e2ad4=>{let _0x12797d=_0x3e2ad4['getStyle']('line-height');return _0x29cc50(_0x12797d)&&(_0x12797d=String(Number(_0x12797d['slice'](0x0,-0x1))/0x64)),String(_0x12797d)===String(_0x213ce2)?null:_0x12797d;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3a233c=this['editor'],_0x1aa952=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3ee486=function(_0x2f650,_0xb2da4e){const _0x3a0615={'model':{'key':_0x2f650,'values':[]},'view':{}};for(const _0x4599be of _0xb2da4e)'class'===_0x4599be['view']?.['key']?(_0x3a0615['model']['values']['push'](_0x4599be['model']),_0x3a0615['view'][_0x4599be['model']]={'key':'class','value':_0x4599be['view']['value']}):(_0x3a0615['model']['values']['push'](_0x4599be['model']),_0x3a0615['view'][_0x4599be['model']]={'key':'style','value':'line-height:'+_0x4599be['model']+';'});return _0x3a0615;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x577365=>_0x577365['model']));_0x3a233c['conversion']['attributeToAttribute'](_0x3ee486),_0x3a233c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x23de0d=>{let _0x5b7f78=_0x23de0d['getStyle']('line-height');return _0x29cc50(_0x5b7f78)&&(_0x5b7f78=String(Number(_0x5b7f78['slice'](0x0,-0x1))/0x64)),_0x5b7f78===String(_0x1aa952)?null:_0x3ee486['model']['values']['includes'](_0x5b7f78)?_0x5b7f78:null;}}});}}class r extends _0x3c6461{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3337fa={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3337fa),this['_registerMenuBarComponent'](_0x3337fa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x114214=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2bf051;for(const _0x4397f7 in _0x114214){const _0x1f7597=_0x4397f7,_0xe6c25a=_0x114214[_0x1f7597];if('lineHeightLicenseKeyValid'==_0xe6c25a||'lineHeightLicenseKeyInvalid'==_0xe6c25a||'lineHeightLicenseKeyExpired'==_0xe6c25a||'lineHeightLicenseKeyDomainLimit'==_0xe6c25a||'lineHeightLicenseKeyNotAllowed'==_0xe6c25a||'lineHeightLicenseKeyEvaluationLimit'==_0xe6c25a||'lineHeightLicenseKeyTrialLimit'==_0xe6c25a||'lineHeightLicenseKeyUsageLimit'==_0xe6c25a){delete _0x114214[_0x1f7597],_0x2bf051=_0xe6c25a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2bf051&&_0x114214['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2bf051&&_0x114214['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2bf051&&_0x114214['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2bf051&&_0x114214['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2bf051&&_0x114214['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2bf051&&_0x114214['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2bf051&&_0x114214['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x23acf2=this['editor'],t=_0x23acf2['t'],_0x29eac0=_0x23acf2['config']['get']('lineHeight'),_0xff4ebb={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x29eac0)['map'](_0x5c111e=>{const _0x314f17=_0xff4ebb[_0x5c111e['title']];return _0x314f17&&_0x314f17!=_0x5c111e['title']&&(_0x5c111e=Object['assign']({},_0x5c111e,{'title':_0x314f17})),_0x5c111e;});}['_prepareListOptions'](){const _0x46f05a=this['editor']['commands']['get']('lineHeight'),_0x4eaa35=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1d82e2=this['_getLocalizedLineHeightOptions'](),_0x41e357=new _0x2f760e(),_0xd93fdf=_0x2c9d47=>'default'===_0x2c9d47||String(_0x4eaa35)===_0x2c9d47;for(const _0x523e51 of _0x1d82e2){const _0x32b54b={'type':'button','model':new _0x4cadb6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x523e51['title'],'withText':!0x0})};_0xd93fdf(_0x523e51['model'])?(_0x32b54b['model']['bind']('isOn')['to'](_0x46f05a,'value',_0x5bc7d1=>!_0x5bc7d1),_0x32b54b['model']['commandParam']=void 0x0):(_0x32b54b['model']['bind']('isOn')['to'](_0x46f05a,'value',_0x58e71c=>_0x58e71c===_0x523e51['model']),_0x32b54b['model']['commandParam']=_0x523e51['model']),_0x41e357['add'](_0x32b54b);}if(this['_shouldRenderCustomValueOption']()){const _0x538851=this['_getCustomValueOptionDefinition'](_0x1d82e2);_0x41e357['add'](_0x538851);}return _0x41e357;}['_getCustomValueOptionDefinition'](_0x15cd6e){const _0x3d1025=this['editor'],t=_0x3d1025['t'],_0x3f8e3c=_0x3d1025['commands']['get']('lineHeight'),_0x192636=_0x15cd6e['map'](_0x28bd9f=>_0x28bd9f['model']),_0x3044f0={'type':'button','model':new _0x4cadb6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3044f0['model']['bind']('commandParam')['to'](_0x3f8e3c,'value'),_0x3044f0['model']['bind']('isOn')['to'](_0x3f8e3c,'value',_0x1039d1=>!!_0x1039d1&&!_0x192636['includes'](String(_0x1039d1))),_0x3044f0['model']['bind']('label')['to'](_0x3f8e3c,'value',_0x359e2f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x359e2f))),_0x3044f0;}['_registerToolbarComponent']({accessibleLabel:_0x45c387,options:_0x317895}){const _0x1759c6=this['editor'],_0x40890e=_0x1759c6['commands']['get']('lineHeight');_0x1759c6['ui']['componentFactory']['add']('lineHeight',_0x4a8957=>{const _0x1c0c13=_0x35c15b(_0x4a8957);return _0x112a20(_0x1c0c13,_0x317895,{'role':'menu','ariaLabel':_0x45c387}),_0x1c0c13['buttonView']['set']({'label':_0x45c387,'tooltip':!0x0,'icon':_0x468d3f}),_0x1c0c13['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1c0c13['bind']('isEnabled')['to'](_0x40890e),this['listenTo'](_0x1c0c13,'execute',_0x2eeaf7=>{_0x1759c6['execute'](_0x2eeaf7['source']['commandName'],{'value':_0x2eeaf7['source']['commandParam']}),_0x1759c6['editing']['view']['focus']();}),_0x1c0c13['once']('change:isOpen',()=>{const _0x570491=_0x1c0c13['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1c0c13,_0x317895,_0x570491);}),_0x1c0c13;});}['_registerMenuBarComponent']({accessibleLabel:_0x11140a,options:_0x198089}){const _0x547ab0=this['editor'],_0x30b29d=_0x547ab0['commands']['get']('lineHeight');_0x547ab0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5bb8ff=>{const _0x4fe7e7=new _0x5ae210(_0x5bb8ff);_0x4fe7e7['buttonView']['set']({'label':_0x11140a,'icon':_0x468d3f}),_0x4fe7e7['bind']('isEnabled')['to'](_0x30b29d);const _0x37801f=new _0x4384c8(_0x5bb8ff);for(const _0x415783 of _0x198089){const _0x417682=new _0x3e6f85(_0x5bb8ff,_0x4fe7e7),_0x1339aa=new _0x24b0ae(_0x5bb8ff);_0x1339aa['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1339aa['bind'](...Object['keys'](_0x415783['model']))['to'](_0x415783['model']),_0x1339aa['delegate']('execute')['to'](_0x4fe7e7),_0x1339aa['on']('execute',()=>{_0x547ab0['execute'](_0x415783['model']['commandName'],{'value':_0x415783['model']['commandParam']}),_0x547ab0['editing']['view']['focus']();}),_0x417682['children']['add'](_0x1339aa),_0x37801f['items']['add'](_0x417682);}return _0x4fe7e7['panelView']['children']['add'](_0x37801f),this['_attachCustomOptionVisibilityHandler'](_0x4fe7e7,_0x198089,_0x37801f),_0x4fe7e7;});}['_attachCustomOptionVisibilityHandler'](_0x474d3a,_0x1aa190,_0x50ba51){if(!this['_shouldRenderCustomValueOption']())return;const _0x27b198=()=>{if(!_0x474d3a['isOpen'])return;_0x50ba51['items']['last']['isVisible']=Boolean(_0x1aa190['last']['model']['isOn']);};_0x27b198(),_0x474d3a['on']('change:isOpen',()=>{_0x27b198();});}}class _ extends _0x3c6461{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-next-
|
|
3
|
+
"version": "0.0.0-nightly-next-20260105.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-next-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20260105.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20260105.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20260105.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20260105.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20260105.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-20260105.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-next-20260105.0"
|
|
23
23
|
},
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xac5b(_0x28de81,_0x5c9e52){const _0x23164a=_0x2316();return _0xac5b=function(_0xac5b76,_0x1d5f60){_0xac5b76=_0xac5b76-0xf9;let _0x3597f7=_0x23164a[_0xac5b76];return _0x3597f7;},_0xac5b(_0x28de81,_0x5c9e52);}const _0x355ee4=_0xac5b;(function(_0x2c5cbe,_0x13a72d){const _0x2adcd3=_0xac5b,_0x2db85e=_0x2c5cbe();while(!![]){try{const _0x49a56b=-parseInt(_0x2adcd3(0x12d))/0x1+parseInt(_0x2adcd3(0x110))/0x2+-parseInt(_0x2adcd3(0x104))/0x3+-parseInt(_0x2adcd3(0xfa))/0x4+parseInt(_0x2adcd3(0x10c))/0x5*(parseInt(_0x2adcd3(0x103))/0x6)+-parseInt(_0x2adcd3(0xfb))/0x7*(parseInt(_0x2adcd3(0x107))/0x8)+parseInt(_0x2adcd3(0x121))/0x9;if(_0x49a56b===_0x13a72d)break;else _0x2db85e['push'](_0x2db85e['shift']());}catch(_0x7342bf){_0x2db85e['push'](_0x2db85e['shift']());}}}(_0x2316,0xa27bf));function _0x2316(){const _0x12ee45=['lineHeight','lineHeight.defaultValue','setAttributeProperties','slice','24484194IKKfsQ','define','filter','style','extend','default','editor','map','fromCharCode','afterInit','_validateConfig','commands','1190648SfEnBg','isOfficialPlugin','line-height-invalid-use-of-named-presets','1892800cRFuIM','3930878IPINWa','pluginName','LineHeightEditing','_preparePredefinedConverters','line-height','values','getStyle','_prepareAnyValueConverters','77856tbScPx','1711668MViDzP','model','conversion','16XmABtL','config','join','add','lineHeight.options','445dWyHAN','get','isPremiumPlugin','for','295434hwfKKa','init','schema','downcast','$block','string','lineHeight.supportAllValues','length','includes','attributeToAttribute','requires','upcast','href'];_0x2316=function(){return _0x12ee45;};return _0x2316();}import{Plugin as _0x1934ec}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x311650}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x3ebf04}from'ckeditor5/src/engine.js';import{uid as _0x5a1234,CKEditorError as _0x5c1295}from'ckeditor5/src/utils.js';import{buildDefinition as _0x421700,isLineHeightDefaultValue as _0x220226,normalizeOptions as _0x518061}from'./utils.js';import{LineHeightTodoListIntegration as _0x181043}from'./integrations/todolist.js';export class LineHeightEditing extends _0x1934ec{static get[_0x355ee4(0xfc)](){const _0x5d049f=_0x355ee4;return _0x5d049f(0xfd);}static get[_0x355ee4(0x11a)](){return[_0x181043];}static get[_0x355ee4(0x12e)](){return!0x0;}static get[_0x355ee4(0x10e)](){return!0x0;}constructor(_0x24a2b8){const _0x37fe34=_0x355ee4;super(_0x24a2b8),_0x24a2b8[_0x37fe34(0x108)][_0x37fe34(0x122)](_0x37fe34(0x11d),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x37fe34(0x126),0x2,2.5,0x3]});}[_0x355ee4(0x111)](){const _0x1712a0=_0x355ee4,_0x1992db=this[_0x1712a0(0x127)];this[_0x1712a0(0x12b)](),_0x1992db[_0x1712a0(0x105)][_0x1712a0(0x112)][_0x1712a0(0x125)](_0x1712a0(0x114),{'allowAttributes':_0x1712a0(0x11d)}),_0x1992db[_0x1712a0(0x105)][_0x1712a0(0x112)][_0x1712a0(0x11f)](_0x1712a0(0x11d),{'isFormatting':!0x0}),_0x1992db[_0x1712a0(0x12c)][_0x1712a0(0x10a)](_0x1712a0(0x11d),new _0x311650(_0x1992db)),this[_0x1712a0(0x127)][_0x1712a0(0x108)][_0x1712a0(0x10d)](_0x1712a0(0x116))?this[_0x1712a0(0x102)]():this[_0x1712a0(0xfe)]();}[_0x355ee4(0x12a)](){!async function(_0x92eed9){const _0xaa578c=_0x2d4c58([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]),_0x302195=0x45ddd215,_0x13c039=0x45daafcd^_0x302195,_0x5a84d7=window[_0x2d4c58([0x44,0x61,0x74,0x65])][_0x2d4c58([0x6e,0x6f,0x77])](),_0x392ce7=_0x92eed9[_0x2d4c58([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bb663=new window[(_0x2d4c58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a15f0=>{_0x392ce7[_0x2d4c58([0x6f,0x6e,0x63,0x65])](_0x2d4c58([0x72,0x65,0x61,0x64,0x79]),_0x1a15f0);}),_0x4227c2={[_0x2d4c58([0x6b,0x74,0x79])]:_0x2d4c58([0x45,0x43]),[_0x2d4c58([0x75,0x73,0x65])]:_0x2d4c58([0x73,0x69,0x67]),[_0x2d4c58([0x63,0x72,0x76])]:_0x2d4c58([0x50,0x2d,0x32,0x35,0x36]),[_0x2d4c58([0x78])]:_0x2d4c58([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]),[_0x2d4c58([0x79])]:_0x2d4c58([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]),[_0x2d4c58([0x61,0x6c,0x67])]:_0x2d4c58([0x45,0x53,0x32,0x35,0x36])},_0x4d1241=_0x392ce7[_0x2d4c58([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d4c58([0x67,0x65,0x74])](_0x2d4c58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x399c8e(){let _0x517339,_0x41df6f=null,_0x1e8ab0=null;try{if(_0x4d1241==_0x2d4c58([0x47,0x50,0x4c]))return _0x2d4c58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x517339=_0x405a37(),!_0x517339)return _0x2d4c58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x517339[_0x2d4c58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e8ab0=_0x267bee(_0x517339[_0x2d4c58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x517339[_0x2d4c58([0x6a,0x74,0x69])])),await _0x48cd66()?_0x32dc69()?_0x3c6b7e()?_0x2d4c58([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30aa6e()?(_0x517339[_0x2d4c58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d4c58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41df6f=_0xbd4aee(_0x2d4c58([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x517339[_0x2d4c58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d4c58([0x74,0x72,0x69,0x61,0x6c])&&(_0x41df6f=_0xbd4aee(_0x2d4c58([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52ff28()):_0x2d4c58([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d4c58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d4c58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d4c58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c6b7e(){const _0x58d245=[_0x2d4c58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d4c58([0x74,0x72,0x69,0x61,0x6c])][_0x2d4c58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x517339[_0x2d4c58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5a84d7/0x3e8:0xe10*_0x13c039;return _0x517339[_0x2d4c58([0x65,0x78,0x70])]<_0x58d245;}function _0x32dc69(){const _0x14568c=_0x517339[_0x2d4c58([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14568c&&(!!_0x14568c[_0x2d4c58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d4c58([0x2a]))||!!_0x14568c[_0x2d4c58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d4c58([0x4c,0x48])));}function _0x30aa6e(){const _0x2debcd=_0xac5b,_0x35da30=_0x517339[_0x2d4c58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35da30||0x0==_0x35da30[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5dadd5}=new URL(window[_0x2d4c58([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2debcd(0x11c)]);if(_0x35da30[_0x2d4c58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dadd5))return!0x0;const _0x2bd03b=_0x5dadd5[_0x2d4c58([0x73,0x70,0x6c,0x69,0x74])](_0x2d4c58([0x2e]));return _0x35da30[_0x2d4c58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e500f=>_0x5e500f[_0x2d4c58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d4c58([0x2a])))[_0x2d4c58([0x6d,0x61,0x70])](_0x35bfe7=>_0x35bfe7[_0x2d4c58([0x73,0x70,0x6c,0x69,0x74])](_0x2d4c58([0x2e])))[_0x2d4c58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f8dc5=>_0x2f8dc5[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bd03b[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d4c58([0x6d,0x61,0x70])](_0x13523=>Array(_0x2bd03b[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13523[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d4c58([0x66,0x69,0x6c,0x6c])](_0x13523[0x0]===_0x2d4c58([0x2a])?_0x2d4c58([0x2a]):'')[_0x2d4c58([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13523))[_0x2d4c58([0x73,0x6f,0x6d,0x65])](_0x120c70=>_0x2bd03b[_0x2d4c58([0x65,0x76,0x65,0x72,0x79])]((_0x26cd3c,_0x4548c9)=>_0x120c70[_0x4548c9]===_0x26cd3c||_0x120c70[_0x4548c9]===_0x2d4c58([0x2a])));}function _0x52ff28(){return _0x41df6f&&_0x1e8ab0?new window[(_0x2d4c58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41aed2,_0x3383e0)=>{_0x41df6f[_0x2d4c58([0x74,0x68,0x65,0x6e])](_0x41aed2,_0x3383e0),_0x1e8ab0[_0x2d4c58([0x74,0x68,0x65,0x6e])](_0x4f03ba=>{_0x4f03ba!=_0x2d4c58([0x56,0x61,0x6c,0x69,0x64])&&_0x41aed2(_0x4f03ba);},_0x3383e0);}):_0x41df6f||_0x1e8ab0||_0x2d4c58([0x56,0x61,0x6c,0x69,0x64]);}}function _0x267bee(_0x32fb47,_0x52f776){return new window[(_0x2d4c58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4316e0=>{if(_0x6b87b3())return _0x4316e0(_0x2d4c58([0x56,0x61,0x6c,0x69,0x64]));_0x2440b0(),_0x392ce7[_0x2d4c58([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d4c58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43e6a4=!0x1;const _0x2b1159=_0x5a1234();function _0x498364(_0x2d22d9){return!!_0x2d22d9&&(typeof _0x2d22d9===_0x2d4c58([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d22d9===_0x2d4c58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d22d9[_0x2d4c58([0x74,0x68,0x65,0x6e])]===_0x2d4c58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d22d9[_0x2d4c58([0x63,0x61,0x74,0x63,0x68])]===_0x2d4c58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16034c(_0x47d2a6){_0x1b61b4(_0x47d2a6)[_0x2d4c58([0x74,0x68,0x65,0x6e])](_0x49669c=>{if(!_0x49669c||_0x49669c[_0x2d4c58([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d4c58([0x6f,0x6b]))return _0x2d4c58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2295c3(_0x217840(_0x2b1159+_0x52f776))!=_0x49669c[_0x2d4c58([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d4c58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d4c58([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d4c58([0x74,0x68,0x65,0x6e])](_0x30424e=>(_0x2252cb(),_0x30424e),()=>{const _0x3f1dbb=_0x1f5351();return null==_0x3f1dbb?(_0x2252cb(),_0x2d4c58([0x56,0x61,0x6c,0x69,0x64])):_0x2d4c58(_0x5a84d7-_0x3f1dbb>(0x61d15615^_0x302195)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d4c58([0x74,0x68,0x65,0x6e])](_0x4316e0)[_0x2d4c58([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4316e0(_0x2d4c58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ddda0=0x45eb3c95^_0x302195;function _0x2252cb(){const _0x211efd=_0x2d4c58([0x6c,0x6c,0x63,0x74,0x2d])+_0x2295c3(_0x217840(_0x32fb47)),_0x4470cf=_0x3f0d47(_0x2295c3(window[_0x2d4c58([0x4d,0x61,0x74,0x68])][_0x2d4c58([0x63,0x65,0x69,0x6c])](_0x5a84d7/_0x2ddda0)));window[_0x2d4c58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d4c58([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x211efd,_0x4470cf);}function _0x1f5351(){const _0x1a3613=_0x2d4c58([0x6c,0x6c,0x63,0x74,0x2d])+_0x2295c3(_0x217840(_0x32fb47)),_0x53f987=window[_0x2d4c58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d4c58([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a3613);return _0x53f987?window[_0x2d4c58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0d47(_0x53f987),0x10)*_0x2ddda0:null;}function _0x1b61b4(_0x598209){return new window[(_0x2d4c58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x152d1d,_0xa10dab)=>{_0x598209[_0x2d4c58([0x74,0x68,0x65,0x6e])](_0x152d1d,_0xa10dab),window[_0x2d4c58([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa10dab,0x45dc06d5^_0x302195);});}}_0x392ce7[_0x2d4c58([0x6f,0x6e])](_0x2d4c58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xaecec1,_0x2d768e)=>{if(_0x2d768e[0x0]!=_0x32fb47)return _0x4316e0(_0x2d4c58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d768e[0x1]={..._0x2d768e[0x1],[_0x2d4c58([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b1159};},{[_0x2d4c58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d4c58([0x68,0x69,0x67,0x68])}),_0x392ce7[_0x2d4c58([0x6f,0x6e])](_0x2d4c58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36c5ef=>{_0x498364(_0x36c5ef[_0x2d4c58([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43e6a4=!0x0,_0x16034c(_0x36c5ef[_0x2d4c58([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d4c58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d4c58([0x6c,0x6f,0x77])}),_0x4bb663[_0x2d4c58([0x74,0x68,0x65,0x6e])](()=>{_0x43e6a4||_0x4316e0(_0x2d4c58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6b87b3(){return _0x392ce7[_0x2d4c58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d4c58([0x76,0x69,0x65,0x77])][_0x2d4c58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d4c58([0x61,0x75,0x74,0x6f]);}function _0x2440b0(){_0x392ce7[_0x2d4c58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d4c58([0x76,0x69,0x65,0x77])][_0x2d4c58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d4c58([0x61,0x75,0x74,0x6f]);}}function _0xbd4aee(_0x3c2a8f){const _0x135183=[new window[(_0x2d4c58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21126b=>setTimeout(_0x21126b,0x45d4ecd9^_0x302195)),_0x4bb663[_0x2d4c58([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d4c58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc515=>{let _0x101282=0x0;_0x392ce7[_0x2d4c58([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d4c58([0x6f,0x6e])](_0x2d4c58([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x503ea7,_0x241755)=>{_0x241755[0x0][_0x2d4c58([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x101282++,_0x101282==(0x45ddd7fd^_0x302195)&&(_0x3bc515(),_0x503ea7[_0x2d4c58([0x6f,0x66,0x66])]());});}))];return window[_0x2d4c58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d4c58([0x72,0x61,0x63,0x65])](_0x135183)[_0x2d4c58([0x74,0x68,0x65,0x6e])](()=>_0x3c2a8f);}async function _0x37e00b(){await _0x4bb663,_0x392ce7[_0x2d4c58([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d4c58([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1cfdf1,_0x392ce7[_0x2d4c58([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d4c58([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1cfdf1,_0x392ce7[_0x2d4c58([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d4c58([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c8aea(_0x6d40b7){const _0x261165=_0x440c7f();_0x392ce7[_0x261165]=_0x2d4c58([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6d40b7,_0x6d40b7!=_0x2d4c58([0x56,0x61,0x6c,0x69,0x64])&&_0x37e00b();}function _0x440c7f(){const _0xd0cb10=window[_0x2d4c58([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d4c58([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d4c58([0x6e,0x6f,0x77])]())[_0x2d4c58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d4c58([0x2e]),'');let _0x4bd5ac=_0x2d4c58([0x50]);for(let _0x47ec6e=0x0;_0x47ec6e<_0xd0cb10[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47ec6e+=0x2){let _0x53ede5=window[_0x2d4c58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd0cb10[_0x2d4c58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47ec6e,_0x47ec6e+0x2));_0x53ede5>=_0xaa578c[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53ede5-=_0xaa578c[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4bd5ac+=_0xaa578c[_0x53ede5];}return _0x4bd5ac;}function _0x405a37(){const _0x25a59b=_0x4d1241[_0x2d4c58([0x73,0x70,0x6c,0x69,0x74])](_0x2d4c58([0x2e]));if(0x3!=_0x25a59b[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6a4675(_0x25a59b[0x1]);function _0x6a4675(_0x3cd30a){const _0x19cd20=_0x58b567(_0x3cd30a);return _0x19cd20&&_0x52e118()?_0x19cd20:null;function _0x52e118(){const _0x39a1dc=_0x19cd20[_0x2d4c58([0x6a,0x74,0x69])],_0x524353=window[_0x2d4c58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39a1dc[_0x2d4c58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39a1dc[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x565065={..._0x19cd20,[_0x2d4c58([0x6a,0x74,0x69])]:_0x39a1dc[_0x2d4c58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39a1dc[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x565065[_0x2d4c58([0x76,0x63])],_0x217840(_0x565065)==_0x524353;}}}async function _0x48cd66(){let _0x28db30=!0x0;try{const _0x255b0c=_0x4d1241[_0x2d4c58([0x73,0x70,0x6c,0x69,0x74])](_0x2d4c58([0x2e])),[_0xd28079,_0x28eb5d,_0x4d8ed4]=_0x255b0c;return _0x2a1dd3(_0xd28079),await _0x5503a1(_0xd28079,_0x28eb5d,_0x4d8ed4),_0x28db30;}catch{return!0x1;}function _0x2a1dd3(_0x4f7f96){const _0x51e2b5=_0x58b567(_0x4f7f96);_0x51e2b5&&_0x51e2b5[_0x2d4c58([0x61,0x6c,0x67])]==_0x2d4c58([0x45,0x53,0x32,0x35,0x36])||(_0x28db30=!0x1);}async function _0x5503a1(_0x15068f,_0x9d8511,_0x474de5){const _0x4ba6a8=window[_0x2d4c58([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d4c58([0x66,0x72,0x6f,0x6d])](_0x1e233d(_0x474de5),_0x4a4d10=>_0x4a4d10[_0x2d4c58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5797f6=new window[(_0x2d4c58([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d4c58([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15068f+_0x2d4c58([0x2e])+_0x9d8511),_0x562988=window[_0x2d4c58([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d4c58([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x562988)return;const _0x5a2d25=await _0x562988[_0x2d4c58([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d4c58([0x6a,0x77,0x6b]),_0x4227c2,{[_0x2d4c58([0x6e,0x61,0x6d,0x65])]:_0x2d4c58([0x45,0x43,0x44,0x53,0x41]),[_0x2d4c58([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d4c58([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d4c58([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x562988[_0x2d4c58([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d4c58([0x6e,0x61,0x6d,0x65])]:_0x2d4c58([0x45,0x43,0x44,0x53,0x41]),[_0x2d4c58([0x68,0x61,0x73,0x68])]:{[_0x2d4c58([0x6e,0x61,0x6d,0x65])]:_0x2d4c58([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a2d25,_0x4ba6a8,_0x5797f6)||(_0x28db30=!0x1);}}function _0x58b567(_0x3d3633){return _0x3d3633[_0x2d4c58([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d4c58([0x65,0x79]))?JSON[_0x2d4c58([0x70,0x61,0x72,0x73,0x65])](_0x1e233d(_0x3d3633)):null;}function _0x1e233d(_0x45be40){return window[_0x2d4c58([0x61,0x74,0x6f,0x62])](_0x45be40[_0x2d4c58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d4c58([0x2b]))[_0x2d4c58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d4c58([0x2f])));}function _0x217840(_0x45db89){let _0x5be08=0x1505;function _0x307613(_0x2161ac){for(let _0x3d2c06=0x0;_0x3d2c06<_0x2161ac[_0x2d4c58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d2c06++){const _0x4687b9=_0x2161ac[_0x2d4c58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d2c06);_0x5be08=(_0x5be08<<0x5)+_0x5be08+_0x4687b9,_0x5be08&=_0x5be08;}}function _0x59cbcf(_0x193590){Array[_0x2d4c58([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x193590)?_0x193590[_0x2d4c58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59cbcf):_0x193590&&typeof _0x193590==_0x2d4c58([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d4c58([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x193590)[_0x2d4c58([0x73,0x6f,0x72,0x74])]()[_0x2d4c58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25533e,_0x326305])=>{_0x307613(_0x25533e),_0x59cbcf(_0x326305);}):_0x307613(window[_0x2d4c58([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x193590));}return _0x59cbcf(_0x45db89),_0x5be08>>>0x0;}function _0x2295c3(_0x1fd1fd){return _0x1fd1fd[_0x2d4c58([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d4c58([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d4c58([0x30]));}function _0x3f0d47(_0x47cc64){return _0x47cc64[_0x2d4c58([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d4c58([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d4c58([0x6a,0x6f,0x69,0x6e])]('');}function _0x1cfdf1(){}function _0x2d4c58(_0x3164e1){const _0x908400=_0xac5b;return _0x3164e1[_0x908400(0x128)](_0x576310=>String[_0x908400(0x129)](_0x576310))[_0x908400(0x109)]('');}_0x4c8aea(await _0x399c8e());}(this);}[_0x355ee4(0x12b)](){const _0x56acac=_0x355ee4,_0x143384=this[_0x56acac(0x127)];if(!_0x143384[_0x56acac(0x108)][_0x56acac(0x10d)](_0x56acac(0x116)))return;const _0x401196=_0x143384[_0x56acac(0x108)][_0x56acac(0x10d)](_0x56acac(0x10b))[_0x56acac(0x123)](_0x33d6dc=>_0x56acac(0x115)==typeof _0x33d6dc&&(!_0x220226(_0x33d6dc)&&isNaN(Number(_0x33d6dc))));if(_0x401196[_0x56acac(0x117)])throw new _0x5c1295(_0x56acac(0xf9),null,{'namedPresets':_0x401196});}[_0x355ee4(0x102)](){const _0x472eb9=_0x355ee4,_0x1a7a2b=this[_0x472eb9(0x127)],_0x3954b4=this[_0x472eb9(0x127)][_0x472eb9(0x108)][_0x472eb9(0x10d)](_0x472eb9(0x11e));_0x1a7a2b[_0x472eb9(0x106)][_0x472eb9(0x10f)](_0x472eb9(0x113))[_0x472eb9(0x119)]({'model':{'key':_0x472eb9(0x11d)},'view':_0x12c396=>String(_0x12c396)===String(_0x3954b4)?null:{'key':_0x472eb9(0x124),'value':{'line-height':_0x12c396}}}),_0x1a7a2b[_0x472eb9(0x106)][_0x472eb9(0x10f)](_0x472eb9(0x11b))[_0x472eb9(0x119)]({'model':{'key':_0x472eb9(0x11d),'value':_0x18482a=>{const _0x261ce0=_0x472eb9;let _0x83ac64=_0x18482a[_0x261ce0(0x101)](_0x261ce0(0xff));return _0x3ebf04(_0x83ac64)&&(_0x83ac64=String(Number(_0x83ac64[_0x261ce0(0x120)](0x0,-0x1))/0x64)),String(_0x83ac64)===String(_0x3954b4)?null:_0x83ac64;}},'view':{'styles':{'line-height':/.*/}}});}[_0x355ee4(0xfe)](){const _0x51322c=_0x355ee4,_0x5193e0=this[_0x51322c(0x127)],_0x44ce10=this[_0x51322c(0x127)][_0x51322c(0x108)][_0x51322c(0x10d)](_0x51322c(0x11e)),_0x2d7d52=_0x518061(this[_0x51322c(0x127)][_0x51322c(0x108)][_0x51322c(0x10d)](_0x51322c(0x11d)))[_0x51322c(0x123)](_0xf6582d=>_0xf6582d[_0x51322c(0x105)]),_0x566f5e=_0x421700(_0x51322c(0x11d),_0x2d7d52);_0x5193e0[_0x51322c(0x106)][_0x51322c(0x119)](_0x566f5e),_0x5193e0[_0x51322c(0x106)][_0x51322c(0x10f)](_0x51322c(0x11b))[_0x51322c(0x119)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x51322c(0x11d),'value':_0x51a5bf=>{const _0x12e94b=_0x51322c;let _0x1835fe=_0x51a5bf[_0x12e94b(0x101)](_0x12e94b(0xff));return _0x3ebf04(_0x1835fe)&&(_0x1835fe=String(Number(_0x1835fe[_0x12e94b(0x120)](0x0,-0x1))/0x64)),_0x1835fe===String(_0x44ce10)?null:_0x566f5e[_0x12e94b(0x105)][_0x12e94b(0x100)][_0x12e94b(0x118)](_0x1835fe)?_0x1835fe:null;}}});}}
|
|
23
|
+
const _0x1b38b7=_0x2c9a;(function(_0x3b4e34,_0x367023){const _0x323002=_0x2c9a,_0x239617=_0x3b4e34();while(!![]){try{const _0x4b1b40=parseInt(_0x323002(0x200))/0x1+parseInt(_0x323002(0x1dd))/0x2+parseInt(_0x323002(0x203))/0x3+-parseInt(_0x323002(0x1d4))/0x4*(-parseInt(_0x323002(0x1ea))/0x5)+-parseInt(_0x323002(0x1df))/0x6*(-parseInt(_0x323002(0x1d1))/0x7)+-parseInt(_0x323002(0x1d7))/0x8*(-parseInt(_0x323002(0x1d0))/0x9)+-parseInt(_0x323002(0x1f9))/0xa;if(_0x4b1b40===_0x367023)break;else _0x239617['push'](_0x239617['shift']());}catch(_0x769cec){_0x239617['push'](_0x239617['shift']());}}}(_0x5553,0xf1889));import{Plugin as _0x48afb3}from'ckeditor5/src/core.js';function _0x2c9a(_0x5cc81a,_0x1d70ee){const _0x5553ec=_0x5553();return _0x2c9a=function(_0x2c9a45,_0x22662d){_0x2c9a45=_0x2c9a45-0x1ce;let _0x5d9d78=_0x5553ec[_0x2c9a45];return _0x5d9d78;},_0x2c9a(_0x5cc81a,_0x1d70ee);}function _0x5553(){const _0x586da2=['lineHeight.supportAllValues','805345sJAdDs','isPremiumPlugin','lineHeight.defaultValue','length','add','for','requires','join','style','commands','fromCharCode','upcast','afterInit','editor','lineHeight','51680630nOKNgF','config','line-height-invalid-use-of-named-presets','default','href','init','getStyle','270707czYQML','setAttributeProperties','line-height','535857bArldx','attributeToAttribute','filter','get','387uLcwbj','7fHfCGk','pluginName','string','44fFSrly','slice','$block','256568SrxqJX','_validateConfig','_prepareAnyValueConverters','define','schema','map','3856714JlAMWs','lineHeight.options','3773334ctkyaP','model','downcast','includes','LineHeightEditing','isOfficialPlugin','conversion','_preparePredefinedConverters','values','extend'];_0x5553=function(){return _0x586da2;};return _0x5553();}import{LineHeightCommand as _0x3053dd}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x380267}from'ckeditor5/src/engine.js';import{uid as _0x913e90,CKEditorError as _0x5d97c9}from'ckeditor5/src/utils.js';import{buildDefinition as _0x48e448,isLineHeightDefaultValue as _0x18fe18,normalizeOptions as _0x4f9b22}from'./utils.js';import{LineHeightTodoListIntegration as _0x5dbb4c}from'./integrations/todolist.js';export class LineHeightEditing extends _0x48afb3{static get[_0x1b38b7(0x1d2)](){const _0x54d56b=_0x1b38b7;return _0x54d56b(0x1e3);}static get[_0x1b38b7(0x1f0)](){return[_0x5dbb4c];}static get[_0x1b38b7(0x1e4)](){return!0x0;}static get[_0x1b38b7(0x1eb)](){return!0x0;}constructor(_0x395812){const _0x3397a2=_0x1b38b7;super(_0x395812),_0x395812[_0x3397a2(0x1fa)][_0x3397a2(0x1da)](_0x3397a2(0x1f8),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3397a2(0x1fc),0x2,2.5,0x3]});}[_0x1b38b7(0x1fe)](){const _0x2d3965=_0x1b38b7,_0x191a05=this[_0x2d3965(0x1f7)];this[_0x2d3965(0x1d8)](),_0x191a05[_0x2d3965(0x1e0)][_0x2d3965(0x1db)][_0x2d3965(0x1e8)](_0x2d3965(0x1d6),{'allowAttributes':_0x2d3965(0x1f8)}),_0x191a05[_0x2d3965(0x1e0)][_0x2d3965(0x1db)][_0x2d3965(0x201)](_0x2d3965(0x1f8),{'isFormatting':!0x0}),_0x191a05[_0x2d3965(0x1f3)][_0x2d3965(0x1ee)](_0x2d3965(0x1f8),new _0x3053dd(_0x191a05)),this[_0x2d3965(0x1f7)][_0x2d3965(0x1fa)][_0x2d3965(0x1cf)](_0x2d3965(0x1e9))?this[_0x2d3965(0x1d9)]():this[_0x2d3965(0x1e6)]();}[_0x1b38b7(0x1f6)](){!async function(_0x371d1f){const _0x5ac1d9=_0xddf54c([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]),_0x280f18=0x45ddd215,_0x13aaa8=0x45daafe5^_0x280f18,_0x3d04ba=window[_0xddf54c([0x44,0x61,0x74,0x65])][_0xddf54c([0x6e,0x6f,0x77])](),_0x4a6de5=_0x371d1f[_0xddf54c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x299c91=new window[(_0xddf54c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x185113=>{_0x4a6de5[_0xddf54c([0x6f,0x6e,0x63,0x65])](_0xddf54c([0x72,0x65,0x61,0x64,0x79]),_0x185113);}),_0x1382bc={[_0xddf54c([0x6b,0x74,0x79])]:_0xddf54c([0x45,0x43]),[_0xddf54c([0x75,0x73,0x65])]:_0xddf54c([0x73,0x69,0x67]),[_0xddf54c([0x63,0x72,0x76])]:_0xddf54c([0x50,0x2d,0x32,0x35,0x36]),[_0xddf54c([0x78])]:_0xddf54c([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]),[_0xddf54c([0x79])]:_0xddf54c([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]),[_0xddf54c([0x61,0x6c,0x67])]:_0xddf54c([0x45,0x53,0x32,0x35,0x36])},_0x311ed9=_0x4a6de5[_0xddf54c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xddf54c([0x67,0x65,0x74])](_0xddf54c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a3a73(){let _0x263866,_0x55b788=null,_0x21ad98=null;try{if(_0x311ed9==_0xddf54c([0x47,0x50,0x4c]))return _0xddf54c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x263866=_0x466e6e(),!_0x263866)return _0xddf54c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x263866[_0xddf54c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21ad98=_0x5b00c3(_0x263866[_0xddf54c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x263866[_0xddf54c([0x6a,0x74,0x69])])),await _0x43fd6c()?_0x5e4d11()?_0x2ebf42()?_0xddf54c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5cc250()?(_0x263866[_0xddf54c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xddf54c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55b788=_0x173a67(_0xddf54c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x263866[_0xddf54c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xddf54c([0x74,0x72,0x69,0x61,0x6c])&&(_0x55b788=_0x173a67(_0xddf54c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c6f3c()):_0xddf54c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xddf54c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xddf54c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xddf54c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ebf42(){const _0xda88f8=[_0xddf54c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xddf54c([0x74,0x72,0x69,0x61,0x6c])][_0xddf54c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x263866[_0xddf54c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d04ba/0x3e8:0xe10*_0x13aaa8;return _0x263866[_0xddf54c([0x65,0x78,0x70])]<_0xda88f8;}function _0x5e4d11(){const _0x2b0aaf=_0x263866[_0xddf54c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b0aaf&&(!!_0x2b0aaf[_0xddf54c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xddf54c([0x2a]))||!!_0x2b0aaf[_0xddf54c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xddf54c([0x4c,0x48])));}function _0x5cc250(){const _0x177b80=_0x2c9a,_0x29ac7b=_0x263866[_0xddf54c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29ac7b||0x0==_0x29ac7b[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x213f3c}=new URL(window[_0xddf54c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x177b80(0x1fd)]);if(_0x29ac7b[_0xddf54c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x213f3c))return!0x0;const _0x4841d9=_0x213f3c[_0xddf54c([0x73,0x70,0x6c,0x69,0x74])](_0xddf54c([0x2e]));return _0x29ac7b[_0xddf54c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c4dcc=>_0x1c4dcc[_0xddf54c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xddf54c([0x2a])))[_0xddf54c([0x6d,0x61,0x70])](_0x15d9d2=>_0x15d9d2[_0xddf54c([0x73,0x70,0x6c,0x69,0x74])](_0xddf54c([0x2e])))[_0xddf54c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f5363=>_0x1f5363[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4841d9[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xddf54c([0x6d,0x61,0x70])](_0x31a13b=>Array(_0x4841d9[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31a13b[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xddf54c([0x66,0x69,0x6c,0x6c])](_0x31a13b[0x0]===_0xddf54c([0x2a])?_0xddf54c([0x2a]):'')[_0xddf54c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31a13b))[_0xddf54c([0x73,0x6f,0x6d,0x65])](_0x3865bb=>_0x4841d9[_0xddf54c([0x65,0x76,0x65,0x72,0x79])]((_0xbb1283,_0x2486f6)=>_0x3865bb[_0x2486f6]===_0xbb1283||_0x3865bb[_0x2486f6]===_0xddf54c([0x2a])));}function _0x2c6f3c(){return _0x55b788&&_0x21ad98?new window[(_0xddf54c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ba966,_0x3ef04f)=>{_0x55b788[_0xddf54c([0x74,0x68,0x65,0x6e])](_0x2ba966,_0x3ef04f),_0x21ad98[_0xddf54c([0x74,0x68,0x65,0x6e])](_0x44ec7e=>{_0x44ec7e!=_0xddf54c([0x56,0x61,0x6c,0x69,0x64])&&_0x2ba966(_0x44ec7e);},_0x3ef04f);}):_0x55b788||_0x21ad98||_0xddf54c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b00c3(_0x3cef25,_0x541106){return new window[(_0xddf54c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x513815=>{if(_0x1b4169())return _0x513815(_0xddf54c([0x56,0x61,0x6c,0x69,0x64]));_0xaeca40(),_0x4a6de5[_0xddf54c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xddf54c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bc67e=!0x1;const _0x3d1ad9=_0x913e90();function _0x2e33fb(_0x406bdf){return!!_0x406bdf&&(typeof _0x406bdf===_0xddf54c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x406bdf===_0xddf54c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x406bdf[_0xddf54c([0x74,0x68,0x65,0x6e])]===_0xddf54c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x406bdf[_0xddf54c([0x63,0x61,0x74,0x63,0x68])]===_0xddf54c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f1a08(_0x43c168){_0x5f2fa8(_0x43c168)[_0xddf54c([0x74,0x68,0x65,0x6e])](_0x344a96=>{if(!_0x344a96||_0x344a96[_0xddf54c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xddf54c([0x6f,0x6b]))return _0xddf54c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f125d(_0x33e3d2(_0x3d1ad9+_0x541106))!=_0x344a96[_0xddf54c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xddf54c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xddf54c([0x56,0x61,0x6c,0x69,0x64]);})[_0xddf54c([0x74,0x68,0x65,0x6e])](_0x269a69=>(_0x59563c(),_0x269a69),()=>{const _0x236bf2=_0x3f031f();return null==_0x236bf2?(_0x59563c(),_0xddf54c([0x56,0x61,0x6c,0x69,0x64])):_0xddf54c(_0x3d04ba-_0x236bf2>(0x61d15615^_0x280f18)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xddf54c([0x74,0x68,0x65,0x6e])](_0x513815)[_0xddf54c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x513815(_0xddf54c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a76bc=0x45eb3c95^_0x280f18;function _0x59563c(){const _0x2a9c16=_0xddf54c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f125d(_0x33e3d2(_0x3cef25)),_0x4dc64d=_0x79a80d(_0x2f125d(window[_0xddf54c([0x4d,0x61,0x74,0x68])][_0xddf54c([0x63,0x65,0x69,0x6c])](_0x3d04ba/_0x4a76bc)));window[_0xddf54c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xddf54c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a9c16,_0x4dc64d);}function _0x3f031f(){const _0x236510=_0xddf54c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f125d(_0x33e3d2(_0x3cef25)),_0x4d3564=window[_0xddf54c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xddf54c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x236510);return _0x4d3564?window[_0xddf54c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x79a80d(_0x4d3564),0x10)*_0x4a76bc:null;}function _0x5f2fa8(_0x3cdfc7){return new window[(_0xddf54c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27d225,_0x2fd5ac)=>{_0x3cdfc7[_0xddf54c([0x74,0x68,0x65,0x6e])](_0x27d225,_0x2fd5ac),window[_0xddf54c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fd5ac,0x45dc06d5^_0x280f18);});}}_0x4a6de5[_0xddf54c([0x6f,0x6e])](_0xddf54c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x422dfd,_0x2c6b3a)=>{if(_0x2c6b3a[0x0]!=_0x3cef25)return _0x513815(_0xddf54c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c6b3a[0x1]={..._0x2c6b3a[0x1],[_0xddf54c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d1ad9};},{[_0xddf54c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xddf54c([0x68,0x69,0x67,0x68])}),_0x4a6de5[_0xddf54c([0x6f,0x6e])](_0xddf54c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ac0b0=>{_0x2e33fb(_0x4ac0b0[_0xddf54c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bc67e=!0x0,_0x2f1a08(_0x4ac0b0[_0xddf54c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xddf54c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xddf54c([0x6c,0x6f,0x77])}),_0x299c91[_0xddf54c([0x74,0x68,0x65,0x6e])](()=>{_0x3bc67e||_0x513815(_0xddf54c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b4169(){return _0x4a6de5[_0xddf54c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xddf54c([0x76,0x69,0x65,0x77])][_0xddf54c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xddf54c([0x61,0x75,0x74,0x6f]);}function _0xaeca40(){_0x4a6de5[_0xddf54c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xddf54c([0x76,0x69,0x65,0x77])][_0xddf54c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xddf54c([0x61,0x75,0x74,0x6f]);}}function _0x173a67(_0x3b751b){const _0x1b246e=[new window[(_0xddf54c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21435=>setTimeout(_0x21435,0x45d4ecd9^_0x280f18)),_0x299c91[_0xddf54c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xddf54c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4076db=>{let _0x21e44c=0x0;_0x4a6de5[_0xddf54c([0x6d,0x6f,0x64,0x65,0x6c])][_0xddf54c([0x6f,0x6e])](_0xddf54c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1250a0,_0xa36fd0)=>{_0xa36fd0[0x0][_0xddf54c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21e44c++,_0x21e44c==(0x45ddd7fd^_0x280f18)&&(_0x4076db(),_0x1250a0[_0xddf54c([0x6f,0x66,0x66])]());});}))];return window[_0xddf54c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xddf54c([0x72,0x61,0x63,0x65])](_0x1b246e)[_0xddf54c([0x74,0x68,0x65,0x6e])](()=>_0x3b751b);}async function _0x3b81fe(){await _0x299c91,_0x4a6de5[_0xddf54c([0x6d,0x6f,0x64,0x65,0x6c])][_0xddf54c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x402464,_0x4a6de5[_0xddf54c([0x6d,0x6f,0x64,0x65,0x6c])][_0xddf54c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x402464,_0x4a6de5[_0xddf54c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xddf54c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d425c(_0x566e5d){const _0x4bb550=_0x9054e7();_0x4a6de5[_0x4bb550]=_0xddf54c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x566e5d,_0x566e5d!=_0xddf54c([0x56,0x61,0x6c,0x69,0x64])&&_0x3b81fe();}function _0x9054e7(){const _0x473a54=window[_0xddf54c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xddf54c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xddf54c([0x6e,0x6f,0x77])]())[_0xddf54c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xddf54c([0x2e]),'');let _0x544846=_0xddf54c([0x50]);for(let _0x391d24=0x0;_0x391d24<_0x473a54[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x391d24+=0x2){let _0x2428c0=window[_0xddf54c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x473a54[_0xddf54c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x391d24,_0x391d24+0x2));_0x2428c0>=_0x5ac1d9[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2428c0-=_0x5ac1d9[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x544846+=_0x5ac1d9[_0x2428c0];}return _0x544846;}function _0x466e6e(){const _0x4255b0=_0x311ed9[_0xddf54c([0x73,0x70,0x6c,0x69,0x74])](_0xddf54c([0x2e]));if(0x3!=_0x4255b0[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3580f1(_0x4255b0[0x1]);function _0x3580f1(_0x3f2263){const _0xd7522a=_0x20b7c9(_0x3f2263);return _0xd7522a&&_0x13fa77()?_0xd7522a:null;function _0x13fa77(){const _0x57dcf8=_0xd7522a[_0xddf54c([0x6a,0x74,0x69])],_0x595e6c=window[_0xddf54c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57dcf8[_0xddf54c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57dcf8[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb4f840={..._0xd7522a,[_0xddf54c([0x6a,0x74,0x69])]:_0x57dcf8[_0xddf54c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57dcf8[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb4f840[_0xddf54c([0x76,0x63])],_0x33e3d2(_0xb4f840)==_0x595e6c;}}}async function _0x43fd6c(){let _0x1631f9=!0x0;try{const _0xdc3cb1=_0x311ed9[_0xddf54c([0x73,0x70,0x6c,0x69,0x74])](_0xddf54c([0x2e])),[_0xde163d,_0x23bf0e,_0x2f3b0c]=_0xdc3cb1;return _0x50e97c(_0xde163d),await _0x56700b(_0xde163d,_0x23bf0e,_0x2f3b0c),_0x1631f9;}catch{return!0x1;}function _0x50e97c(_0x3b1c0e){const _0x267560=_0x20b7c9(_0x3b1c0e);_0x267560&&_0x267560[_0xddf54c([0x61,0x6c,0x67])]==_0xddf54c([0x45,0x53,0x32,0x35,0x36])||(_0x1631f9=!0x1);}async function _0x56700b(_0x8c0561,_0x1418ce,_0x4d7a04){const _0x4f050a=window[_0xddf54c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xddf54c([0x66,0x72,0x6f,0x6d])](_0x16ac55(_0x4d7a04),_0x145b2d=>_0x145b2d[_0xddf54c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f7da8=new window[(_0xddf54c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xddf54c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8c0561+_0xddf54c([0x2e])+_0x1418ce),_0x24c525=window[_0xddf54c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xddf54c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24c525)return;const _0x45c341=await _0x24c525[_0xddf54c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xddf54c([0x6a,0x77,0x6b]),_0x1382bc,{[_0xddf54c([0x6e,0x61,0x6d,0x65])]:_0xddf54c([0x45,0x43,0x44,0x53,0x41]),[_0xddf54c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xddf54c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xddf54c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24c525[_0xddf54c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xddf54c([0x6e,0x61,0x6d,0x65])]:_0xddf54c([0x45,0x43,0x44,0x53,0x41]),[_0xddf54c([0x68,0x61,0x73,0x68])]:{[_0xddf54c([0x6e,0x61,0x6d,0x65])]:_0xddf54c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45c341,_0x4f050a,_0x4f7da8)||(_0x1631f9=!0x1);}}function _0x20b7c9(_0x419c89){return _0x419c89[_0xddf54c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xddf54c([0x65,0x79]))?JSON[_0xddf54c([0x70,0x61,0x72,0x73,0x65])](_0x16ac55(_0x419c89)):null;}function _0x16ac55(_0x185137){return window[_0xddf54c([0x61,0x74,0x6f,0x62])](_0x185137[_0xddf54c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xddf54c([0x2b]))[_0xddf54c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xddf54c([0x2f])));}function _0x33e3d2(_0x48dd44){let _0x2c6db6=0x1505;function _0x14027a(_0x24ee9a){for(let _0x4ea718=0x0;_0x4ea718<_0x24ee9a[_0xddf54c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ea718++){const _0x3cb58e=_0x24ee9a[_0xddf54c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ea718);_0x2c6db6=(_0x2c6db6<<0x5)+_0x2c6db6+_0x3cb58e,_0x2c6db6&=_0x2c6db6;}}function _0x23a4cd(_0x5a2ad2){Array[_0xddf54c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a2ad2)?_0x5a2ad2[_0xddf54c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23a4cd):_0x5a2ad2&&typeof _0x5a2ad2==_0xddf54c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xddf54c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a2ad2)[_0xddf54c([0x73,0x6f,0x72,0x74])]()[_0xddf54c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24ab10,_0x44f439])=>{_0x14027a(_0x24ab10),_0x23a4cd(_0x44f439);}):_0x14027a(window[_0xddf54c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a2ad2));}return _0x23a4cd(_0x48dd44),_0x2c6db6>>>0x0;}function _0x2f125d(_0x518907){return _0x518907[_0xddf54c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xddf54c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xddf54c([0x30]));}function _0x79a80d(_0x2f34cb){return _0x2f34cb[_0xddf54c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xddf54c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xddf54c([0x6a,0x6f,0x69,0x6e])]('');}function _0x402464(){}function _0xddf54c(_0x29fcf7){const _0x42a9d9=_0x2c9a;return _0x29fcf7[_0x42a9d9(0x1dc)](_0x2ee8d9=>String[_0x42a9d9(0x1f4)](_0x2ee8d9))[_0x42a9d9(0x1f1)]('');}_0x1d425c(await _0x2a3a73());}(this);}[_0x1b38b7(0x1d8)](){const _0x3c90a3=_0x1b38b7,_0x312890=this[_0x3c90a3(0x1f7)];if(!_0x312890[_0x3c90a3(0x1fa)][_0x3c90a3(0x1cf)](_0x3c90a3(0x1e9)))return;const _0x736031=_0x312890[_0x3c90a3(0x1fa)][_0x3c90a3(0x1cf)](_0x3c90a3(0x1de))[_0x3c90a3(0x1ce)](_0x4ea365=>_0x3c90a3(0x1d3)==typeof _0x4ea365&&(!_0x18fe18(_0x4ea365)&&isNaN(Number(_0x4ea365))));if(_0x736031[_0x3c90a3(0x1ed)])throw new _0x5d97c9(_0x3c90a3(0x1fb),null,{'namedPresets':_0x736031});}[_0x1b38b7(0x1d9)](){const _0x2b6c7c=_0x1b38b7,_0x19ccd1=this[_0x2b6c7c(0x1f7)],_0x3afb0e=this[_0x2b6c7c(0x1f7)][_0x2b6c7c(0x1fa)][_0x2b6c7c(0x1cf)](_0x2b6c7c(0x1ec));_0x19ccd1[_0x2b6c7c(0x1e5)][_0x2b6c7c(0x1ef)](_0x2b6c7c(0x1e1))[_0x2b6c7c(0x204)]({'model':{'key':_0x2b6c7c(0x1f8)},'view':_0x4fb6a4=>String(_0x4fb6a4)===String(_0x3afb0e)?null:{'key':_0x2b6c7c(0x1f2),'value':{'line-height':_0x4fb6a4}}}),_0x19ccd1[_0x2b6c7c(0x1e5)][_0x2b6c7c(0x1ef)](_0x2b6c7c(0x1f5))[_0x2b6c7c(0x204)]({'model':{'key':_0x2b6c7c(0x1f8),'value':_0xeb34b4=>{const _0xe86425=_0x2b6c7c;let _0xaa9de9=_0xeb34b4[_0xe86425(0x1ff)](_0xe86425(0x202));return _0x380267(_0xaa9de9)&&(_0xaa9de9=String(Number(_0xaa9de9[_0xe86425(0x1d5)](0x0,-0x1))/0x64)),String(_0xaa9de9)===String(_0x3afb0e)?null:_0xaa9de9;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1b38b7(0x1e6)](){const _0x34d82f=_0x1b38b7,_0x11a3df=this[_0x34d82f(0x1f7)],_0x5aee9e=this[_0x34d82f(0x1f7)][_0x34d82f(0x1fa)][_0x34d82f(0x1cf)](_0x34d82f(0x1ec)),_0x155e3a=_0x4f9b22(this[_0x34d82f(0x1f7)][_0x34d82f(0x1fa)][_0x34d82f(0x1cf)](_0x34d82f(0x1f8)))[_0x34d82f(0x1ce)](_0x20a226=>_0x20a226[_0x34d82f(0x1e0)]),_0x5a6ff4=_0x48e448(_0x34d82f(0x1f8),_0x155e3a);_0x11a3df[_0x34d82f(0x1e5)][_0x34d82f(0x204)](_0x5a6ff4),_0x11a3df[_0x34d82f(0x1e5)][_0x34d82f(0x1ef)](_0x34d82f(0x1f5))[_0x34d82f(0x204)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x34d82f(0x1f8),'value':_0x538404=>{const _0x19806c=_0x34d82f;let _0x44096f=_0x538404[_0x19806c(0x1ff)](_0x19806c(0x202));return _0x380267(_0x44096f)&&(_0x44096f=String(Number(_0x44096f[_0x19806c(0x1d5)](0x0,-0x1))/0x64)),_0x44096f===String(_0x5aee9e)?null:_0x5a6ff4[_0x19806c(0x1e0)][_0x19806c(0x1e7)][_0x19806c(0x1e2)](_0x44096f)?_0x44096f:null;}}});}}
|