@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251227.0 → 0.0.0-nightly-next-20251228.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>D,LineHeightCommand:()=>a,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>S,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=148]})(e,t)}const o=r;function s(){const e=["removeAttribute","filter","1514625TqXSgg","selection","_canHaveLineHeight","value","model","37935800GyGMwM","getSelectedBlocks","5871600dOiUYA","isEnabled","7212708CqdslT","schema","getAttribute","editor","setAttribute","343646nrsrdN","from","document","lineHeight","change","6065430cGpPPK","128173LJGaiG","checkAttribute","refresh","execute","15PlAEKR"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(777450===parseInt(t(158))/1+-parseInt(t(152))/2*(parseInt(t(162))/3)+-parseInt(t(172))/4+parseInt(t(165))/5+-parseInt(t(174))/6+-parseInt(t(157))/7+parseInt(t(170))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(160)](){const e=o,n=this[e(150)][e(169)][e(154)],i=(0,t.first)(n[e(166)][e(171)]());this[e(173)]=Boolean(i)&&this[e(167)](i),this[e(168)]=this[e(173)]&&i[e(149)](e(155))}[o(161)](e={}){const t=o,n=this[t(150)][t(169)],i=n[t(154)][t(166)],r=e[t(168)];n[t(156)](e=>{const n=t,o=Array[n(153)](i[n(171)]())[n(164)](e=>this[n(167)](e));for(const t of o)r?e[n(151)](n(155),r,t):e[n(163)](n(155),t)})}[o(167)](e){const t=o;return this[t(150)][t(169)][t(148)][t(159)](e,t(155))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(433458===-parseInt(t(142))/1*(parseInt(t(138))/2)+parseInt(t(136))/3*(-parseInt(t(168))/4)+-parseInt(t(166))/5*(parseInt(t(161))/6)+-parseInt(t(150))/7*(parseInt(t(141))/8)+-parseInt(t(149))/9+parseInt(t(153))/10+-parseInt(t(139))/11*(-parseInt(t(167))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=h;return{title:e(164),model:e(152),view:{key:e(140),value:e(135)}}},get double(){const e=h;return{title:e(169),model:e(156),view:{key:e(140),value:e(151)}}}};function u(e){const t=h;return t(162)==typeof e&&t(154)===e[t(158)]()}function d(e){const t=h;return e[t(160)][t(146)](n=>u(n)?{title:String(e[t(144)]),model:t(154)}:(t(148)==typeof n&&(n=String(n)),t(162)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(155),styles:{"line-height":n}}}:function(e){const t=h;return t(162)==typeof e?l[e]:l[e[t(143)]]}(n)))[t(159)](e=>void 0!==e)}function h(e,t){const n=p();return(h=function(e,t){return n[e-=134]})(e,t)}function p(){const e=["single","4786780SGePor","default","span","double","push","toLowerCase","filter","options","3336792xelQnO","string","values","Single","view","5tCztAY","19120812HDZeAO","9956eJzDMk","Double","line-height:","line-height-single","21COImsu","style","146fsHGyY","11NTIaKt","class","4652792vKFbcs","3207pMGhmw","model","defaultValue","key","map","value","number","2244204JGtksy","7aedgtr","line-height-double"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;function O(){const e=["144TiSQLh","--ck-content-list-marker-line-height","item","ListEditing","add","elementToElement","high","for","ck-list-marker-line-height","has","getAttribute","listType","isPremiumPlugin","upcast","TodoListEditing","492878zjGfQJ","element:li","todo-list__label__description","19615905QvarKe","1DmyBEh","3576960PbRBtV","addClass","isOfficialPlugin","viewItem","editor","consume","consumable","lineHeight","33676UeMXHr","todo","span","name","init","paragraph","get","registerDowncastStrategy","pluginName","LineHeightTodoListIntegration","683305tmXgii","setStyle","match","2484336obIeSv","715025hXzkpQ"];return(O=function(){return e})()}const E=A;function A(e,t){const n=O();return(A=function(e,t){return n[e-=264]})(e,t)}!function(e){const t=A,n=e();for(;;)try{if(381672===-parseInt(t(265))/1*(parseInt(t(304))/2)+-parseInt(t(289))/3*(parseInt(t(274))/4)+-parseInt(t(288))/5+-parseInt(t(266))/6+-parseInt(t(284))/7+-parseInt(t(287))/8+parseInt(t(264))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(O);class S extends e.Plugin{static get[E(282)](){return E(283)}static get[E(268)](){return!0}static get[E(301)](){return!0}[E(278)](){const e=E,{plugins:t,conversion:n}=this[e(270)];t[e(298)](e(292))&&t[e(298)](e(303))&&(t[e(280)](e(292))[e(281)]({scope:e(291),attributeName:e(273),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(275)==o[s(299)](s(300))&&n&&(t[s(267)](s(297),i),t[s(285)](s(290),n,i))}}),n[e(296)](e(302))[e(294)]({view:{name:e(276),classes:e(306)},model:e(279),converterPriority:e(295)}),n[e(296)](e(302))[e(293)](t=>{const n=e;t.on(n(305),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=A,o=t[r(286)](n[r(269)]);if(!o)return;const s=o[r(286)];s[r(277)]=!1,i[r(272)][r(271)](n[r(269)],s)}}({name:"li",classes:n(297),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const C=T;function T(e,t){const n=N();return(T=function(e,t){return n[e-=370]})(e,t)}!function(e){const t=T,n=e();for(;;)try{if(437981===parseInt(t(400))/1*(-parseInt(t(406))/2)+parseInt(t(383))/3+parseInt(t(424))/4+-parseInt(t(411))/5+-parseInt(t(382))/6*(-parseInt(t(387))/7)+-parseInt(t(409))/8+parseInt(t(393))/9*(parseInt(t(401))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N);class P extends e.Plugin{static get[C(418)](){return C(384)}static get[C(405)](){return[S]}static get[C(386)](){return!0}static get[C(402)](){return!0}constructor(e){const t=C;super(e),e[t(419)][t(397)](t(390),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(375),2,2.5,3]})}[C(380)](){const e=C,t=this[e(410)];this[e(371)](),t[e(399)][e(374)][e(416)](e(389),{allowAttributes:e(390)}),t[e(399)][e(374)][e(421)](e(390),{isFormatting:!0}),t[e(415)][e(423)](e(390),new a(t)),this[e(410)][e(419)][e(407)](e(408))?this[e(392)]():this[e(378)]()}[C(372)](){!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(391)](e=>String[t(404)](e))[t(394)]("")}!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:1766793600;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(373)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[C(371)](){const e=C,n=this[e(410)];if(!n[e(419)][e(407)](e(408)))return;const i=n[e(419)][e(407)](e(385))[e(403)](t=>e(413)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(379)])throw new t.CKEditorError(e(412),null,{namedPresets:i})}[C(392)](){const e=C,t=this[e(410)],n=this[e(410)][e(419)][e(407)](e(398));t[e(376)][e(377)](e(417))[e(414)]({model:{key:e(390)},view:t=>String(t)===String(n)?null:{key:e(395),value:{"line-height":t}}}),t[e(376)][e(377)](e(388))[e(414)]({model:{key:e(390),value:t=>{const i=e;let r=t[i(422)](i(396));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(420)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[C(378)](){const e=C,t=this[e(410)],n=this[e(410)][e(419)][e(407)](e(398)),i=d(this[e(410)][e(419)][e(407)](e(390)))[e(403)](t=>t[e(399)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(140)===e[n(165)]?.[n(145)]?(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(140),value:e[n(165)][n(147)]}):(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(137),value:n(134)+e[n(143)]+";"});return i}(e(390),i);t[e(376)][e(414)](r),t[e(376)][e(377)](e(388))[e(414)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(390),value:t=>{const i=e;let o=t[i(422)](i(396));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(420)](0,-1))/100)),o===String(n)?null:r[i(399)][i(381)][i(370)](o)?o:null}}})}}function N(){const e=["isOfficialPlugin","690641UwGzuZ","upcast","$block","lineHeight","map","_prepareAnyValueConverters","2414385boqZQZ","join","style","line-height","define","lineHeight.defaultValue","model","1ogSkYp","10dDCcaI","isPremiumPlugin","filter","fromCharCode","requires","400006GkhWGU","get","lineHeight.supportAllValues","2297096VjngfC","editor","3303780VqoaNL","line-height-invalid-use-of-named-presets","string","attributeToAttribute","commands","extend","downcast","pluginName","config","slice","setAttributeProperties","getStyle","add","1280944FjBmXE","includes","_validateConfig","afterInit","href","schema","default","conversion","for","_preparePredefinedConverters","length","init","values","30JLFbzP","1512183QMmSFP","LineHeightEditing","lineHeight.options"];return(N=function(){return e})()}var x=n(311),K=n(355),V=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=b(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(V.A,M);V.A&&V.A.locals&&V.A.locals;class B extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new x.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var G=j;!function(e){for(var t=j,n=e();;)try{if(555188===parseInt(t(245))/1*(-parseInt(t(256))/2)+-parseInt(t(247))/3+parseInt(t(249))/4+parseInt(t(255))/5+-parseInt(t(254))/6*(-parseInt(t(248))/7)+-parseInt(t(258))/8+parseInt(t(253))/9*(parseInt(t(251))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class D extends e.Plugin{static get[G(250)](){return[P,B]}static get[G(257)](){return G(244)}static get[G(252)](){return!0}static get[G(246)](){return!0}}function j(e,t){var n=U();return(j=function(e,t){return n[e-=244]})(e,t)}function U(){var e=["131XuLBzx","isPremiumPlugin","2574924rJWRtL","7174013cWYFvG","485068oKDuTO","requires","10kSSima","isOfficialPlugin","3496302Mqxeax","6XiszCb","1107050tXAbEC","1182TJGJno","pluginName","2120776cOwdDw","LineHeight"];return(U=function(){return e})()}function z(e,t){var n=F();return(z=function(e,t){return n[e-=343]})(e,t)}function F(){var e=["55684QcNbnV","4076220ndmzJj","2522vzKNsk","184Ntyzbp","426951sVAxoO","42VvHYAg","191312SNGoWQ","1591986CDAeed","3476538NkgGIO","115IsMUAP"];return(F=function(){return e})()}!function(e){for(var t=z,n=e();;)try{if(197345===-parseInt(t(343))/1*(-parseInt(t(344))/2)+parseInt(t(345))/3+-parseInt(t(351))/4*(parseInt(t(350))/5)+parseInt(t(348))/6+parseInt(t(346))/7*(-parseInt(t(347))/8)+-parseInt(t(349))/9+parseInt(t(352))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(F)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>G,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>S,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=148]})(e,t)}const o=r;function s(){const e=["removeAttribute","filter","1514625TqXSgg","selection","_canHaveLineHeight","value","model","37935800GyGMwM","getSelectedBlocks","5871600dOiUYA","isEnabled","7212708CqdslT","schema","getAttribute","editor","setAttribute","343646nrsrdN","from","document","lineHeight","change","6065430cGpPPK","128173LJGaiG","checkAttribute","refresh","execute","15PlAEKR"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(777450===parseInt(t(158))/1+-parseInt(t(152))/2*(parseInt(t(162))/3)+-parseInt(t(172))/4+parseInt(t(165))/5+-parseInt(t(174))/6+-parseInt(t(157))/7+parseInt(t(170))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(160)](){const e=o,n=this[e(150)][e(169)][e(154)],i=(0,t.first)(n[e(166)][e(171)]());this[e(173)]=Boolean(i)&&this[e(167)](i),this[e(168)]=this[e(173)]&&i[e(149)](e(155))}[o(161)](e={}){const t=o,n=this[t(150)][t(169)],i=n[t(154)][t(166)],r=e[t(168)];n[t(156)](e=>{const n=t,o=Array[n(153)](i[n(171)]())[n(164)](e=>this[n(167)](e));for(const t of o)r?e[n(151)](n(155),r,t):e[n(163)](n(155),t)})}[o(167)](e){const t=o;return this[t(150)][t(169)][t(148)][t(159)](e,t(155))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(433458===-parseInt(t(142))/1*(parseInt(t(138))/2)+parseInt(t(136))/3*(-parseInt(t(168))/4)+-parseInt(t(166))/5*(parseInt(t(161))/6)+-parseInt(t(150))/7*(parseInt(t(141))/8)+-parseInt(t(149))/9+parseInt(t(153))/10+-parseInt(t(139))/11*(-parseInt(t(167))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=h;return{title:e(164),model:e(152),view:{key:e(140),value:e(135)}}},get double(){const e=h;return{title:e(169),model:e(156),view:{key:e(140),value:e(151)}}}};function u(e){const t=h;return t(162)==typeof e&&t(154)===e[t(158)]()}function d(e){const t=h;return e[t(160)][t(146)](n=>u(n)?{title:String(e[t(144)]),model:t(154)}:(t(148)==typeof n&&(n=String(n)),t(162)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(155),styles:{"line-height":n}}}:function(e){const t=h;return t(162)==typeof e?l[e]:l[e[t(143)]]}(n)))[t(159)](e=>void 0!==e)}function h(e,t){const n=p();return(h=function(e,t){return n[e-=134]})(e,t)}function p(){const e=["single","4786780SGePor","default","span","double","push","toLowerCase","filter","options","3336792xelQnO","string","values","Single","view","5tCztAY","19120812HDZeAO","9956eJzDMk","Double","line-height:","line-height-single","21COImsu","style","146fsHGyY","11NTIaKt","class","4652792vKFbcs","3207pMGhmw","model","defaultValue","key","map","value","number","2244204JGtksy","7aedgtr","line-height-double"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),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;function O(){const e=["144TiSQLh","--ck-content-list-marker-line-height","item","ListEditing","add","elementToElement","high","for","ck-list-marker-line-height","has","getAttribute","listType","isPremiumPlugin","upcast","TodoListEditing","492878zjGfQJ","element:li","todo-list__label__description","19615905QvarKe","1DmyBEh","3576960PbRBtV","addClass","isOfficialPlugin","viewItem","editor","consume","consumable","lineHeight","33676UeMXHr","todo","span","name","init","paragraph","get","registerDowncastStrategy","pluginName","LineHeightTodoListIntegration","683305tmXgii","setStyle","match","2484336obIeSv","715025hXzkpQ"];return(O=function(){return e})()}const E=A;function A(e,t){const n=O();return(A=function(e,t){return n[e-=264]})(e,t)}!function(e){const t=A,n=e();for(;;)try{if(381672===-parseInt(t(265))/1*(parseInt(t(304))/2)+-parseInt(t(289))/3*(parseInt(t(274))/4)+-parseInt(t(288))/5+-parseInt(t(266))/6+-parseInt(t(284))/7+-parseInt(t(287))/8+parseInt(t(264))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(O);class S extends e.Plugin{static get[E(282)](){return E(283)}static get[E(268)](){return!0}static get[E(301)](){return!0}[E(278)](){const e=E,{plugins:t,conversion:n}=this[e(270)];t[e(298)](e(292))&&t[e(298)](e(303))&&(t[e(280)](e(292))[e(281)]({scope:e(291),attributeName:e(273),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(275)==o[s(299)](s(300))&&n&&(t[s(267)](s(297),i),t[s(285)](s(290),n,i))}}),n[e(296)](e(302))[e(294)]({view:{name:e(276),classes:e(306)},model:e(279),converterPriority:e(295)}),n[e(296)](e(302))[e(293)](t=>{const n=e;t.on(n(305),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=A,o=t[r(286)](n[r(269)]);if(!o)return;const s=o[r(286)];s[r(277)]=!1,i[r(272)][r(271)](n[r(269)],s)}}({name:"li",classes:n(297),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const T=C;function C(e,t){const n=P();return(C=function(e,t){return n[e-=280]})(e,t)}function P(){const e=["string","$block","3283055eMZJVL","558151cVreRK","extend","add","_prepareAnyValueConverters","filter","downcast","LineHeightEditing","conversion","requires","36970ORPIqz","1990ZjcOlE","1539129uomYzA","line-height","for","isOfficialPlugin","_preparePredefinedConverters","lineHeight.supportAllValues","length","588YExeiS","default","pluginName","lineHeight.options","37FqeFET","fromCharCode","35514CvnTeO","style","12IZRYxW","slice","model","lineHeight.defaultValue","getStyle","lineHeight","upcast","join","map","line-height-invalid-use-of-named-presets","8KfuqpN","10399256RnjlcH","schema","includes","values","afterInit","setAttributeProperties","init","4429172HwJUWF","attributeToAttribute","get","_validateConfig","config","commands","isPremiumPlugin","editor","define","href"];return(P=function(){return e})()}!function(e){const t=C,n=e();for(;;)try{if(794896===-parseInt(t(314))/1*(parseInt(t(301))/2)+-parseInt(t(303))/3+-parseInt(t(336))/4+-parseInt(t(291))/5*(-parseInt(t(318))/6)+parseInt(t(329))/7*(-parseInt(t(328))/8)+-parseInt(t(316))/9*(-parseInt(t(302))/10)+-parseInt(t(292))/11*(-parseInt(t(310))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class x extends e.Plugin{static get[T(312)](){return T(298)}static get[T(300)](){return[S]}static get[T(306)](){return!0}static get[T(285)](){return!0}constructor(e){const t=T;super(e),e[t(283)][t(287)](t(323),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(311),2,2.5,3]})}[T(335)](){const e=T,t=this[e(286)];this[e(282)](),t[e(320)][e(330)][e(293)](e(290),{allowAttributes:e(323)}),t[e(320)][e(330)][e(334)](e(323),{isFormatting:!0}),t[e(284)][e(294)](e(323),new a(t)),this[e(286)][e(283)][e(281)](e(308))?this[e(295)]():this[e(307)]()}[T(333)](){!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=C;return e[t(326)](e=>String[t(315)](e))[t(325)]("")}!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:176688e4;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=C,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(288)]);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(282)](){const e=T,n=this[e(286)];if(!n[e(283)][e(281)](e(308)))return;const i=n[e(283)][e(281)](e(313))[e(296)](t=>e(289)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(309)])throw new t.CKEditorError(e(327),null,{namedPresets:i})}[T(295)](){const e=T,t=this[e(286)],n=this[e(286)][e(283)][e(281)](e(321));t[e(299)][e(305)](e(297))[e(280)]({model:{key:e(323)},view:t=>String(t)===String(n)?null:{key:e(317),value:{"line-height":t}}}),t[e(299)][e(305)](e(324))[e(280)]({model:{key:e(323),value:t=>{const i=e;let r=t[i(322)](i(304));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(319)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[T(307)](){const e=T,t=this[e(286)],n=this[e(286)][e(283)][e(281)](e(321)),i=d(this[e(286)][e(283)][e(281)](e(323)))[e(296)](t=>t[e(320)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(140)===e[n(165)]?.[n(145)]?(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(140),value:e[n(165)][n(147)]}):(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(137),value:n(134)+e[n(143)]+";"});return i}(e(323),i);t[e(299)][e(280)](r),t[e(299)][e(305)](e(324))[e(280)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(323),value:t=>{const i=e;let o=t[i(322)](i(304));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(319)](0,-1))/100)),o===String(n)?null:r[i(320)][i(332)][i(331)](o)?o:null}}})}}var N=n(311),K=n(355),V=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=b(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(V.A,M);V.A&&V.A.locals&&V.A.locals;class B extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new N.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,N.createDropdown)(r);return(0,N.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var D=j;!function(e){for(var t=j,n=e();;)try{if(555188===parseInt(t(245))/1*(-parseInt(t(256))/2)+-parseInt(t(247))/3+parseInt(t(249))/4+parseInt(t(255))/5+-parseInt(t(254))/6*(-parseInt(t(248))/7)+-parseInt(t(258))/8+parseInt(t(253))/9*(parseInt(t(251))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R);class G extends e.Plugin{static get[D(250)](){return[x,B]}static get[D(257)](){return D(244)}static get[D(252)](){return!0}static get[D(246)](){return!0}}function j(e,t){var n=R();return(j=function(e,t){return n[e-=244]})(e,t)}function R(){var e=["131XuLBzx","isPremiumPlugin","2574924rJWRtL","7174013cWYFvG","485068oKDuTO","requires","10kSSima","isOfficialPlugin","3496302Mqxeax","6XiszCb","1107050tXAbEC","1182TJGJno","pluginName","2120776cOwdDw","LineHeight"];return(R=function(){return e})()}function U(e,t){var n=z();return(U=function(e,t){return n[e-=343]})(e,t)}function z(){var e=["55684QcNbnV","4076220ndmzJj","2522vzKNsk","184Ntyzbp","426951sVAxoO","42VvHYAg","191312SNGoWQ","1591986CDAeed","3476538NkgGIO","115IsMUAP"];return(z=function(){return e})()}!function(e){for(var t=U,n=e();;)try{if(197345===-parseInt(t(343))/1*(-parseInt(t(344))/2)+parseInt(t(345))/3+-parseInt(t(351))/4*(parseInt(t(350))/5)+parseInt(t(348))/6+parseInt(t(346))/7*(-parseInt(t(347))/8)+-parseInt(t(349))/9+parseInt(t(352))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(z)})(),(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 _0x4ff553,Plugin as _0x3c6e49}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3cdfa3,CKEditorError as _0x4a109b,uid as _0x5514c6,Collection as _0x354eb6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x4b1390,isPercentageStyleValue as _0x263a1a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3d755b,createDropdown as _0x45f1ce,addListToDropdown as _0x52b0bf,MenuBarMenuView as _0x11771a,MenuBarMenuListView as _0x10d8f9,MenuBarMenuListItemView as _0x5e8b85,MenuBarMenuListItemButtonView as _0x328933}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x597ae9}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4ff553{['refresh'](){const _0x5e833a=this['editor']['model']['document'],_0x17deaa=_0x3cdfa3(_0x5e833a['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x17deaa)&&this['_canHaveLineHeight'](_0x17deaa),this['value']=this['isEnabled']&&_0x17deaa['getAttribute']('lineHeight');}['execute'](_0x5088a3={}){const _0x3cfe22=this['editor']['model'],_0x314f4f=_0x3cfe22['document']['selection'],_0x33551c=_0x5088a3['value'];_0x3cfe22['change'](_0x10f421=>{const _0x11bb47=Array['from'](_0x314f4f['getSelectedBlocks']())['filter'](_0x2c5063=>this['_canHaveLineHeight'](_0x2c5063));for(const _0xa431db of _0x11bb47)_0x33551c?_0x10f421['setAttribute']('lineHeight',_0x33551c,_0xa431db):_0x10f421['removeAttribute']('lineHeight',_0xa431db);});}['_canHaveLineHeight'](_0xe7a36b){return this['editor']['model']['schema']['checkAttribute'](_0xe7a36b,'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(_0x27fbf6){return'string'==typeof _0x27fbf6&&'default'===_0x27fbf6['toLowerCase']();}function a(_0x3faf96){return _0x3faf96['options']['map'](_0x341ae3=>{return f(_0x341ae3)?{'title':String(_0x3faf96['defaultValue']),'model':'default'}:('number'==typeof _0x341ae3&&(_0x341ae3=String(_0x341ae3)),'string'!=typeof _0x341ae3?_0x341ae3:parseFloat(_0x341ae3)?{'title':_0x341ae3,'model':_0x341ae3,'view':{'name':'span','styles':{'line-height':_0x341ae3}}}:'string'==typeof(_0x2b28b5=_0x341ae3)?v[_0x2b28b5]:v[_0x2b28b5['model']]);var _0x2b28b5;})['filter'](_0x10a340=>void 0x0!==_0x10a340);}class g extends _0x3c6e49{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2a77cf,conversion:_0x4fc824}=this['editor'];if(!_0x2a77cf['has']('ListEditing')||!_0x2a77cf['has']('TodoListEditing'))return;_0x2a77cf['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xb5940f,_0x241996,_0x5dd61d,_0x41a402,_0x1b25c4){'todo'==_0x1b25c4['getAttribute']('listType')&&_0x241996&&(_0xb5940f['addClass']('ck-list-marker-line-height',_0x5dd61d),_0xb5940f['setStyle']('--ck-content-list-marker-line-height',_0x241996,_0x5dd61d));}}),_0x4fc824['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x4fc824['for']('upcast')['add'](_0x364afb=>{_0x364afb['on']('element:li',function(_0x3d09b1){const _0x4117fd=new _0x4b1390(_0x3d09b1);return(_0x5bcae9,_0x105c53,_0x3ba763)=>{const _0x169465=_0x4117fd['match'](_0x105c53['viewItem']);if(!_0x169465)return;const _0x14beb6=_0x169465['match'];_0x14beb6['name']=!0x1,_0x3ba763['consumable']['consume'](_0x105c53['viewItem'],_0x14beb6);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x3c6e49{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58209c){super(_0x58209c),_0x58209c['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x19de01=this['editor'];this['_validateConfig'](),_0x19de01['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x19de01['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x19de01['commands']['add']('lineHeight',new n(_0x19de01)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4cb847){const _0x26cea3=_0x5f5f95([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]),_0x36e8fd=0x45ddd215,_0x19bdcb=0x45daaf0d^_0x36e8fd,_0x5b6696=window[_0x5f5f95([0x44,0x61,0x74,0x65])][_0x5f5f95([0x6e,0x6f,0x77])](),_0x3ea60b=_0x4cb847[_0x5f5f95([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x386196=new window[(_0x5f5f95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f50e=>{_0x3ea60b[_0x5f5f95([0x6f,0x6e,0x63,0x65])](_0x5f5f95([0x72,0x65,0x61,0x64,0x79]),_0x41f50e);}),_0x418ae5={[_0x5f5f95([0x6b,0x74,0x79])]:_0x5f5f95([0x45,0x43]),[_0x5f5f95([0x75,0x73,0x65])]:_0x5f5f95([0x73,0x69,0x67]),[_0x5f5f95([0x63,0x72,0x76])]:_0x5f5f95([0x50,0x2d,0x32,0x35,0x36]),[_0x5f5f95([0x78])]:_0x5f5f95([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]),[_0x5f5f95([0x79])]:_0x5f5f95([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]),[_0x5f5f95([0x61,0x6c,0x67])]:_0x5f5f95([0x45,0x53,0x32,0x35,0x36])},_0x3d72e7=_0x3ea60b[_0x5f5f95([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f5f95([0x67,0x65,0x74])](_0x5f5f95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x426232(){let _0x4a7116,_0x2e66ef=null,_0x1b759c=null;try{if(_0x3d72e7==_0x5f5f95([0x47,0x50,0x4c]))return _0x5f5f95([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a7116=_0x3f1d23(),!_0x4a7116)return _0x5f5f95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a7116[_0x5f5f95([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b759c=_0xe20001(_0x4a7116[_0x5f5f95([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a7116[_0x5f5f95([0x6a,0x74,0x69])])),await _0x4ba068()?_0x39c5b5()?_0xd5b70d()?_0x5f5f95([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ae6ee()?(_0x4a7116[_0x5f5f95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f5f95([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e66ef=_0x409419(_0x5f5f95([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a7116[_0x5f5f95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f5f95([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e66ef=_0x409419(_0x5f5f95([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59301f()):_0x5f5f95([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f5f95([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f5f95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f5f95([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd5b70d(){const _0x287fb1=[_0x5f5f95([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f5f95([0x74,0x72,0x69,0x61,0x6c])][_0x5f5f95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7116[_0x5f5f95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5b6696/0x3e8:0xe10*_0x19bdcb;return _0x4a7116[_0x5f5f95([0x65,0x78,0x70])]<_0x287fb1;}function _0x39c5b5(){const _0x2d5c67=_0x4a7116[_0x5f5f95([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d5c67&&(!!_0x2d5c67[_0x5f5f95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5f95([0x2a]))||!!_0x2d5c67[_0x5f5f95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5f95([0x4c,0x48])));}function _0x3ae6ee(){const _0x206714=_0x4a7116[_0x5f5f95([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x206714||0x0==_0x206714[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bd3ce}=new URL(window[_0x5f5f95([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x206714[_0x5f5f95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bd3ce))return!0x0;const _0x22a66e=_0x2bd3ce[_0x5f5f95([0x73,0x70,0x6c,0x69,0x74])](_0x5f5f95([0x2e]));return _0x206714[_0x5f5f95([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17479e=>_0x17479e[_0x5f5f95([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5f95([0x2a])))[_0x5f5f95([0x6d,0x61,0x70])](_0x456603=>_0x456603[_0x5f5f95([0x73,0x70,0x6c,0x69,0x74])](_0x5f5f95([0x2e])))[_0x5f5f95([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3968c2=>_0x3968c2[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22a66e[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f5f95([0x6d,0x61,0x70])](_0xceb0c7=>Array(_0x22a66e[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xceb0c7[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f5f95([0x66,0x69,0x6c,0x6c])](_0xceb0c7[0x0]===_0x5f5f95([0x2a])?_0x5f5f95([0x2a]):'')[_0x5f5f95([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xceb0c7))[_0x5f5f95([0x73,0x6f,0x6d,0x65])](_0x320ecf=>_0x22a66e[_0x5f5f95([0x65,0x76,0x65,0x72,0x79])]((_0x52edff,_0x2c538e)=>_0x320ecf[_0x2c538e]===_0x52edff||_0x320ecf[_0x2c538e]===_0x5f5f95([0x2a])));}function _0x59301f(){return _0x2e66ef&&_0x1b759c?new window[(_0x5f5f95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x365dd8,_0x3e951b)=>{_0x2e66ef[_0x5f5f95([0x74,0x68,0x65,0x6e])](_0x365dd8,_0x3e951b),_0x1b759c[_0x5f5f95([0x74,0x68,0x65,0x6e])](_0x277afc=>{_0x277afc!=_0x5f5f95([0x56,0x61,0x6c,0x69,0x64])&&_0x365dd8(_0x277afc);},_0x3e951b);}):_0x2e66ef||_0x1b759c||_0x5f5f95([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe20001(_0x2ea06b,_0x17c963){return new window[(_0x5f5f95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ece4a=>{if(_0x5236f0())return _0x3ece4a(_0x5f5f95([0x56,0x61,0x6c,0x69,0x64]));_0x24d1de(),_0x3ea60b[_0x5f5f95([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f5f95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dd8bc=!0x1;const _0x1b9f1a=_0x5514c6();function _0x5053c6(_0x61d23d){return!!_0x61d23d&&(typeof _0x61d23d===_0x5f5f95([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x61d23d===_0x5f5f95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x61d23d[_0x5f5f95([0x74,0x68,0x65,0x6e])]===_0x5f5f95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x61d23d[_0x5f5f95([0x63,0x61,0x74,0x63,0x68])]===_0x5f5f95([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6d53c4(_0x2d773b){_0x2c09db(_0x2d773b)[_0x5f5f95([0x74,0x68,0x65,0x6e])](_0x3b54f1=>{if(!_0x3b54f1||_0x3b54f1[_0x5f5f95([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f5f95([0x6f,0x6b]))return _0x5f5f95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a7bf6(_0xdf423e(_0x1b9f1a+_0x17c963))!=_0x3b54f1[_0x5f5f95([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f5f95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f5f95([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f5f95([0x74,0x68,0x65,0x6e])](_0x16c6fa=>(_0x54ad7b(),_0x16c6fa),()=>{const _0x246bac=_0x43b796();return null==_0x246bac?(_0x54ad7b(),_0x5f5f95([0x56,0x61,0x6c,0x69,0x64])):_0x5f5f95(_0x5b6696-_0x246bac>(0x61d15615^_0x36e8fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f5f95([0x74,0x68,0x65,0x6e])](_0x3ece4a)[_0x5f5f95([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ece4a(_0x5f5f95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe0463=0x45eb3c95^_0x36e8fd;function _0x54ad7b(){const _0x510e71=_0x5f5f95([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7bf6(_0xdf423e(_0x2ea06b)),_0x59b45b=_0x31b6a8(_0x1a7bf6(window[_0x5f5f95([0x4d,0x61,0x74,0x68])][_0x5f5f95([0x63,0x65,0x69,0x6c])](_0x5b6696/_0xe0463)));window[_0x5f5f95([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f5f95([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x510e71,_0x59b45b);}function _0x43b796(){const _0xf7e2ea=_0x5f5f95([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7bf6(_0xdf423e(_0x2ea06b)),_0x4eca04=window[_0x5f5f95([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f5f95([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf7e2ea);return _0x4eca04?window[_0x5f5f95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31b6a8(_0x4eca04),0x10)*_0xe0463:null;}function _0x2c09db(_0x364743){return new window[(_0x5f5f95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b0979,_0x4be24e)=>{_0x364743[_0x5f5f95([0x74,0x68,0x65,0x6e])](_0x1b0979,_0x4be24e),window[_0x5f5f95([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4be24e,0x45dc06d5^_0x36e8fd);});}}_0x3ea60b[_0x5f5f95([0x6f,0x6e])](_0x5f5f95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x35b71f,_0x2475e8)=>{if(_0x2475e8[0x0]!=_0x2ea06b)return _0x3ece4a(_0x5f5f95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2475e8[0x1]={..._0x2475e8[0x1],[_0x5f5f95([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b9f1a};},{[_0x5f5f95([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f5f95([0x68,0x69,0x67,0x68])}),_0x3ea60b[_0x5f5f95([0x6f,0x6e])](_0x5f5f95([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x215306=>{_0x5053c6(_0x215306[_0x5f5f95([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dd8bc=!0x0,_0x6d53c4(_0x215306[_0x5f5f95([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f5f95([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f5f95([0x6c,0x6f,0x77])}),_0x386196[_0x5f5f95([0x74,0x68,0x65,0x6e])](()=>{_0x4dd8bc||_0x3ece4a(_0x5f5f95([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5236f0(){return _0x3ea60b[_0x5f5f95([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f5f95([0x76,0x69,0x65,0x77])][_0x5f5f95([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f5f95([0x61,0x75,0x74,0x6f]);}function _0x24d1de(){_0x3ea60b[_0x5f5f95([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f5f95([0x76,0x69,0x65,0x77])][_0x5f5f95([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f5f95([0x61,0x75,0x74,0x6f]);}}function _0x409419(_0x1d10ad){const _0x1e09e0=[new window[(_0x5f5f95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c6e10=>setTimeout(_0x4c6e10,0x45d4ecd9^_0x36e8fd)),_0x386196[_0x5f5f95([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f5f95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32df32=>{let _0x250b3a=0x0;_0x3ea60b[_0x5f5f95([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5f95([0x6f,0x6e])](_0x5f5f95([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5030a4,_0x589ddc)=>{_0x589ddc[0x0][_0x5f5f95([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x250b3a++,_0x250b3a==(0x45ddd7fd^_0x36e8fd)&&(_0x32df32(),_0x5030a4[_0x5f5f95([0x6f,0x66,0x66])]());});}))];return window[_0x5f5f95([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f5f95([0x72,0x61,0x63,0x65])](_0x1e09e0)[_0x5f5f95([0x74,0x68,0x65,0x6e])](()=>_0x1d10ad);}async function _0x231510(){await _0x386196,_0x3ea60b[_0x5f5f95([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5f95([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51664c,_0x3ea60b[_0x5f5f95([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5f95([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51664c,_0x3ea60b[_0x5f5f95([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f5f95([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b108b(_0x5331ca){const _0x87266e=_0x5d2673();_0x3ea60b[_0x87266e]=_0x5f5f95([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5331ca,_0x5331ca!=_0x5f5f95([0x56,0x61,0x6c,0x69,0x64])&&_0x231510();}function _0x5d2673(){const _0x48b73c=window[_0x5f5f95([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f5f95([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f5f95([0x6e,0x6f,0x77])]())[_0x5f5f95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f5f95([0x2e]),'');let _0x1e27b8=_0x5f5f95([0x50]);for(let _0x38b747=0x0;_0x38b747<_0x48b73c[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38b747+=0x2){let _0x4cdfab=window[_0x5f5f95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48b73c[_0x5f5f95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38b747,_0x38b747+0x2));_0x4cdfab>=_0x26cea3[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cdfab-=_0x26cea3[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e27b8+=_0x26cea3[_0x4cdfab];}return _0x1e27b8;}function _0x3f1d23(){const _0x41b4f9=_0x3d72e7[_0x5f5f95([0x73,0x70,0x6c,0x69,0x74])](_0x5f5f95([0x2e]));if(0x3!=_0x41b4f9[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4812a4(_0x41b4f9[0x1]);function _0x4812a4(_0x5e2b62){const _0x30cf55=_0x177722(_0x5e2b62);return _0x30cf55&&_0x58da8c()?_0x30cf55:null;function _0x58da8c(){const _0x2f9195=_0x30cf55[_0x5f5f95([0x6a,0x74,0x69])],_0x60315c=window[_0x5f5f95([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f9195[_0x5f5f95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f9195[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42ae20={..._0x30cf55,[_0x5f5f95([0x6a,0x74,0x69])]:_0x2f9195[_0x5f5f95([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f9195[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42ae20[_0x5f5f95([0x76,0x63])],_0xdf423e(_0x42ae20)==_0x60315c;}}}async function _0x4ba068(){let _0x2ff3b0=!0x0;try{const _0xdb279c=_0x3d72e7[_0x5f5f95([0x73,0x70,0x6c,0x69,0x74])](_0x5f5f95([0x2e])),[_0x521fcc,_0x11d7d4,_0x137e0b]=_0xdb279c;return _0x11b713(_0x521fcc),await _0x1c3a07(_0x521fcc,_0x11d7d4,_0x137e0b),_0x2ff3b0;}catch{return!0x1;}function _0x11b713(_0x494c2c){const _0x456994=_0x177722(_0x494c2c);_0x456994&&_0x456994[_0x5f5f95([0x61,0x6c,0x67])]==_0x5f5f95([0x45,0x53,0x32,0x35,0x36])||(_0x2ff3b0=!0x1);}async function _0x1c3a07(_0x2dd30b,_0x3b78d1,_0x1d7a31){const _0x12e582=window[_0x5f5f95([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f5f95([0x66,0x72,0x6f,0x6d])](_0x520592(_0x1d7a31),_0x448a53=>_0x448a53[_0x5f5f95([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ca8af=new window[(_0x5f5f95([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f5f95([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dd30b+_0x5f5f95([0x2e])+_0x3b78d1),_0xb54ebb=window[_0x5f5f95([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f5f95([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb54ebb)return;const _0x28dc74=await _0xb54ebb[_0x5f5f95([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f5f95([0x6a,0x77,0x6b]),_0x418ae5,{[_0x5f5f95([0x6e,0x61,0x6d,0x65])]:_0x5f5f95([0x45,0x43,0x44,0x53,0x41]),[_0x5f5f95([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f5f95([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f5f95([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb54ebb[_0x5f5f95([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f5f95([0x6e,0x61,0x6d,0x65])]:_0x5f5f95([0x45,0x43,0x44,0x53,0x41]),[_0x5f5f95([0x68,0x61,0x73,0x68])]:{[_0x5f5f95([0x6e,0x61,0x6d,0x65])]:_0x5f5f95([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28dc74,_0x12e582,_0x1ca8af)||(_0x2ff3b0=!0x1);}}function _0x177722(_0x4e28b0){return _0x4e28b0[_0x5f5f95([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f5f95([0x65,0x79]))?JSON[_0x5f5f95([0x70,0x61,0x72,0x73,0x65])](_0x520592(_0x4e28b0)):null;}function _0x520592(_0x1224f8){return window[_0x5f5f95([0x61,0x74,0x6f,0x62])](_0x1224f8[_0x5f5f95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f5f95([0x2b]))[_0x5f5f95([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f5f95([0x2f])));}function _0xdf423e(_0x475596){let _0x3b4227=0x1505;function _0x24e444(_0x331b11){for(let _0x2bd4bf=0x0;_0x2bd4bf<_0x331b11[_0x5f5f95([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bd4bf++){const _0x591cca=_0x331b11[_0x5f5f95([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bd4bf);_0x3b4227=(_0x3b4227<<0x5)+_0x3b4227+_0x591cca,_0x3b4227&=_0x3b4227;}}function _0x4e71bc(_0x33d37a){Array[_0x5f5f95([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33d37a)?_0x33d37a[_0x5f5f95([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e71bc):_0x33d37a&&typeof _0x33d37a==_0x5f5f95([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f5f95([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33d37a)[_0x5f5f95([0x73,0x6f,0x72,0x74])]()[_0x5f5f95([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x23d145,_0x3e7241])=>{_0x24e444(_0x23d145),_0x4e71bc(_0x3e7241);}):_0x24e444(window[_0x5f5f95([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33d37a));}return _0x4e71bc(_0x475596),_0x3b4227>>>0x0;}function _0x1a7bf6(_0x3aa683){return _0x3aa683[_0x5f5f95([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f5f95([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f5f95([0x30]));}function _0x31b6a8(_0x3f38be){return _0x3f38be[_0x5f5f95([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f5f95([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f5f95([0x6a,0x6f,0x69,0x6e])]('');}function _0x51664c(){}function _0x5f5f95(_0x83672a){return _0x83672a['map'](_0xdf1baf=>String['fromCharCode'](_0xdf1baf))['join']('');}_0x3b108b(await _0x426232());}(this);}['_validateConfig'](){const _0x25e7e6=this['editor'];if(!_0x25e7e6['config']['get']('lineHeight.supportAllValues'))return;const _0x29e59b=_0x25e7e6['config']['get']('lineHeight.options')['filter'](_0x1c517a=>'string'==typeof _0x1c517a&&(!f(_0x1c517a)&&isNaN(Number(_0x1c517a))));if(_0x29e59b['length'])throw new _0x4a109b('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x29e59b});}['_prepareAnyValueConverters'](){const _0x2fa185=this['editor'],_0x153721=this['editor']['config']['get']('lineHeight.defaultValue');_0x2fa185['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4a75a6=>String(_0x4a75a6)===String(_0x153721)?null:{'key':'style','value':{'line-height':_0x4a75a6}}}),_0x2fa185['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xebe37d=>{let _0x2a3524=_0xebe37d['getStyle']('line-height');return _0x263a1a(_0x2a3524)&&(_0x2a3524=String(Number(_0x2a3524['slice'](0x0,-0x1))/0x64)),String(_0x2a3524)===String(_0x153721)?null:_0x2a3524;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x318859=this['editor'],_0x5bb96d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x23ffd9=function(_0x555f9f,_0x5f0a7f){const _0x2f4da6={'model':{'key':_0x555f9f,'values':[]},'view':{}};for(const _0x4d66ef of _0x5f0a7f)'class'===_0x4d66ef['view']?.['key']?(_0x2f4da6['model']['values']['push'](_0x4d66ef['model']),_0x2f4da6['view'][_0x4d66ef['model']]={'key':'class','value':_0x4d66ef['view']['value']}):(_0x2f4da6['model']['values']['push'](_0x4d66ef['model']),_0x2f4da6['view'][_0x4d66ef['model']]={'key':'style','value':'line-height:'+_0x4d66ef['model']+';'});return _0x2f4da6;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x544b97=>_0x544b97['model']));_0x318859['conversion']['attributeToAttribute'](_0x23ffd9),_0x318859['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x5909a4=>{let _0x1f1a67=_0x5909a4['getStyle']('line-height');return _0x263a1a(_0x1f1a67)&&(_0x1f1a67=String(Number(_0x1f1a67['slice'](0x0,-0x1))/0x64)),_0x1f1a67===String(_0x5bb96d)?null:_0x23ffd9['model']['values']['includes'](_0x1f1a67)?_0x1f1a67:null;}}});}}class r extends _0x3c6e49{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x27eac5={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x27eac5),this['_registerMenuBarComponent'](_0x27eac5),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3344e8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4780b1;for(const _0xb73085 in _0x3344e8){const _0x2c8585=_0xb73085,_0x28bff6=_0x3344e8[_0x2c8585];if('lineHeightLicenseKeyValid'==_0x28bff6||'lineHeightLicenseKeyInvalid'==_0x28bff6||'lineHeightLicenseKeyExpired'==_0x28bff6||'lineHeightLicenseKeyDomainLimit'==_0x28bff6||'lineHeightLicenseKeyNotAllowed'==_0x28bff6||'lineHeightLicenseKeyEvaluationLimit'==_0x28bff6||'lineHeightLicenseKeyTrialLimit'==_0x28bff6||'lineHeightLicenseKeyUsageLimit'==_0x28bff6){delete _0x3344e8[_0x2c8585],_0x4780b1=_0x28bff6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4780b1&&_0x3344e8['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4780b1&&_0x3344e8['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4780b1&&_0x3344e8['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4780b1&&_0x3344e8['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4780b1&&_0x3344e8['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4780b1&&_0x3344e8['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4780b1&&_0x3344e8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x162c31=this['editor'],t=_0x162c31['t'],_0x554629=_0x162c31['config']['get']('lineHeight'),_0x4123d4={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x554629)['map'](_0x13379b=>{const _0x57ade4=_0x4123d4[_0x13379b['title']];return _0x57ade4&&_0x57ade4!=_0x13379b['title']&&(_0x13379b=Object['assign']({},_0x13379b,{'title':_0x57ade4})),_0x13379b;});}['_prepareListOptions'](){const _0x3862c1=this['editor']['commands']['get']('lineHeight'),_0x4ba98d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x280800=this['_getLocalizedLineHeightOptions'](),_0x12bab9=new _0x354eb6(),_0x2b3e9a=_0x288765=>'default'===_0x288765||String(_0x4ba98d)===_0x288765;for(const _0x249e7d of _0x280800){const _0x2d3b78={'type':'button','model':new _0x3d755b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x249e7d['title'],'withText':!0x0})};_0x2b3e9a(_0x249e7d['model'])?(_0x2d3b78['model']['bind']('isOn')['to'](_0x3862c1,'value',_0x5e9b63=>!_0x5e9b63),_0x2d3b78['model']['commandParam']=void 0x0):(_0x2d3b78['model']['bind']('isOn')['to'](_0x3862c1,'value',_0x245439=>_0x245439===_0x249e7d['model']),_0x2d3b78['model']['commandParam']=_0x249e7d['model']),_0x12bab9['add'](_0x2d3b78);}if(this['_shouldRenderCustomValueOption']()){const _0x50047f=this['_getCustomValueOptionDefinition'](_0x280800);_0x12bab9['add'](_0x50047f);}return _0x12bab9;}['_getCustomValueOptionDefinition'](_0x547793){const _0x35d2f1=this['editor'],t=_0x35d2f1['t'],_0x5cd0ac=_0x35d2f1['commands']['get']('lineHeight'),_0x456a12=_0x547793['map'](_0x238690=>_0x238690['model']),_0x3cc6f7={'type':'button','model':new _0x3d755b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3cc6f7['model']['bind']('commandParam')['to'](_0x5cd0ac,'value'),_0x3cc6f7['model']['bind']('isOn')['to'](_0x5cd0ac,'value',_0x3495f8=>!!_0x3495f8&&!_0x456a12['includes'](String(_0x3495f8))),_0x3cc6f7['model']['bind']('label')['to'](_0x5cd0ac,'value',_0x1a962f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1a962f))),_0x3cc6f7;}['_registerToolbarComponent']({accessibleLabel:_0x415744,options:_0x4e0c0f}){const _0x3a1846=this['editor'],_0x3a98da=_0x3a1846['commands']['get']('lineHeight');_0x3a1846['ui']['componentFactory']['add']('lineHeight',_0x5cf9f4=>{const _0x4bb9cc=_0x45f1ce(_0x5cf9f4);return _0x52b0bf(_0x4bb9cc,_0x4e0c0f,{'role':'menu','ariaLabel':_0x415744}),_0x4bb9cc['buttonView']['set']({'label':_0x415744,'tooltip':!0x0,'icon':_0x597ae9}),_0x4bb9cc['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4bb9cc['bind']('isEnabled')['to'](_0x3a98da),this['listenTo'](_0x4bb9cc,'execute',_0x4e46a8=>{_0x3a1846['execute'](_0x4e46a8['source']['commandName'],{'value':_0x4e46a8['source']['commandParam']}),_0x3a1846['editing']['view']['focus']();}),_0x4bb9cc['once']('change:isOpen',()=>{const _0x177f66=_0x4bb9cc['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4bb9cc,_0x4e0c0f,_0x177f66);}),_0x4bb9cc;});}['_registerMenuBarComponent']({accessibleLabel:_0x4820e6,options:_0x3f5f73}){const _0x11b215=this['editor'],_0x31201c=_0x11b215['commands']['get']('lineHeight');_0x11b215['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4abf7d=>{const _0x22d390=new _0x11771a(_0x4abf7d);_0x22d390['buttonView']['set']({'label':_0x4820e6,'icon':_0x597ae9}),_0x22d390['bind']('isEnabled')['to'](_0x31201c);const _0x3d3ce9=new _0x10d8f9(_0x4abf7d);for(const _0x4f86ef of _0x3f5f73){const _0x4cfe93=new _0x5e8b85(_0x4abf7d,_0x22d390),_0xfb8552=new _0x328933(_0x4abf7d);_0xfb8552['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xfb8552['bind'](...Object['keys'](_0x4f86ef['model']))['to'](_0x4f86ef['model']),_0xfb8552['delegate']('execute')['to'](_0x22d390),_0xfb8552['on']('execute',()=>{_0x11b215['execute'](_0x4f86ef['model']['commandName'],{'value':_0x4f86ef['model']['commandParam']}),_0x11b215['editing']['view']['focus']();}),_0x4cfe93['children']['add'](_0xfb8552),_0x3d3ce9['items']['add'](_0x4cfe93);}return _0x22d390['panelView']['children']['add'](_0x3d3ce9),this['_attachCustomOptionVisibilityHandler'](_0x22d390,_0x3f5f73,_0x3d3ce9),_0x22d390;});}['_attachCustomOptionVisibilityHandler'](_0x54792d,_0x2e90c0,_0x59b8da){if(!this['_shouldRenderCustomValueOption']())return;const _0x7e1004=()=>{if(!_0x54792d['isOpen'])return;_0x59b8da['items']['last']['isVisible']=Boolean(_0x2e90c0['last']['model']['isOn']);};_0x7e1004(),_0x54792d['on']('change:isOpen',()=>{_0x7e1004();});}}class _ extends _0x3c6e49{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 _0x580af9,Plugin as _0x57b11b}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x22930a,CKEditorError as _0x273671,uid as _0x102746,Collection as _0x4d7f00}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x58d90c,isPercentageStyleValue as _0x3800f8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x6313b6,createDropdown as _0x55ea40,addListToDropdown as _0x1019ed,MenuBarMenuView as _0x5cae16,MenuBarMenuListView as _0x4ac308,MenuBarMenuListItemView as _0x21945a,MenuBarMenuListItemButtonView as _0x1830d7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3beea8}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x580af9{['refresh'](){const _0xc468be=this['editor']['model']['document'],_0x5c5317=_0x22930a(_0xc468be['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x5c5317)&&this['_canHaveLineHeight'](_0x5c5317),this['value']=this['isEnabled']&&_0x5c5317['getAttribute']('lineHeight');}['execute'](_0x1652a4={}){const _0x17bf26=this['editor']['model'],_0x560034=_0x17bf26['document']['selection'],_0x1538d4=_0x1652a4['value'];_0x17bf26['change'](_0x5a97e4=>{const _0x55c77d=Array['from'](_0x560034['getSelectedBlocks']())['filter'](_0x13ea21=>this['_canHaveLineHeight'](_0x13ea21));for(const _0x291789 of _0x55c77d)_0x1538d4?_0x5a97e4['setAttribute']('lineHeight',_0x1538d4,_0x291789):_0x5a97e4['removeAttribute']('lineHeight',_0x291789);});}['_canHaveLineHeight'](_0x3f4498){return this['editor']['model']['schema']['checkAttribute'](_0x3f4498,'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(_0x32ad62){return'string'==typeof _0x32ad62&&'default'===_0x32ad62['toLowerCase']();}function a(_0x4d49db){return _0x4d49db['options']['map'](_0x382fe6=>{return f(_0x382fe6)?{'title':String(_0x4d49db['defaultValue']),'model':'default'}:('number'==typeof _0x382fe6&&(_0x382fe6=String(_0x382fe6)),'string'!=typeof _0x382fe6?_0x382fe6:parseFloat(_0x382fe6)?{'title':_0x382fe6,'model':_0x382fe6,'view':{'name':'span','styles':{'line-height':_0x382fe6}}}:'string'==typeof(_0x2f0712=_0x382fe6)?v[_0x2f0712]:v[_0x2f0712['model']]);var _0x2f0712;})['filter'](_0x3025d9=>void 0x0!==_0x3025d9);}class g extends _0x57b11b{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x281a12,conversion:_0x605b04}=this['editor'];if(!_0x281a12['has']('ListEditing')||!_0x281a12['has']('TodoListEditing'))return;_0x281a12['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x1ba778,_0x2af122,_0x252cc9,_0xd6805b,_0x4836e6){'todo'==_0x4836e6['getAttribute']('listType')&&_0x2af122&&(_0x1ba778['addClass']('ck-list-marker-line-height',_0x252cc9),_0x1ba778['setStyle']('--ck-content-list-marker-line-height',_0x2af122,_0x252cc9));}}),_0x605b04['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x605b04['for']('upcast')['add'](_0x1394c2=>{_0x1394c2['on']('element:li',function(_0x441cbd){const _0x308652=new _0x58d90c(_0x441cbd);return(_0x455b52,_0x34990e,_0x18433d)=>{const _0x395142=_0x308652['match'](_0x34990e['viewItem']);if(!_0x395142)return;const _0x167e31=_0x395142['match'];_0x167e31['name']=!0x1,_0x18433d['consumable']['consume'](_0x34990e['viewItem'],_0x167e31);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x57b11b{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d9560){super(_0x2d9560),_0x2d9560['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x59f4a2=this['editor'];this['_validateConfig'](),_0x59f4a2['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x59f4a2['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x59f4a2['commands']['add']('lineHeight',new n(_0x59f4a2)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0xff0e7a){const _0x17a67e=_0x165f46([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]),_0xaee9fc=0x45ddd215,_0x4e1c00=0x45daaf25^_0xaee9fc,_0xf00c63=window[_0x165f46([0x44,0x61,0x74,0x65])][_0x165f46([0x6e,0x6f,0x77])](),_0x35841f=_0xff0e7a[_0x165f46([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bf287=new window[(_0x165f46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b8774=>{_0x35841f[_0x165f46([0x6f,0x6e,0x63,0x65])](_0x165f46([0x72,0x65,0x61,0x64,0x79]),_0x2b8774);}),_0xe6855f={[_0x165f46([0x6b,0x74,0x79])]:_0x165f46([0x45,0x43]),[_0x165f46([0x75,0x73,0x65])]:_0x165f46([0x73,0x69,0x67]),[_0x165f46([0x63,0x72,0x76])]:_0x165f46([0x50,0x2d,0x32,0x35,0x36]),[_0x165f46([0x78])]:_0x165f46([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]),[_0x165f46([0x79])]:_0x165f46([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]),[_0x165f46([0x61,0x6c,0x67])]:_0x165f46([0x45,0x53,0x32,0x35,0x36])},_0x48f4ab=_0x35841f[_0x165f46([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x165f46([0x67,0x65,0x74])](_0x165f46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f406f(){let _0xdaafd,_0x4e940b=null,_0x20139c=null;try{if(_0x48f4ab==_0x165f46([0x47,0x50,0x4c]))return _0x165f46([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xdaafd=_0x2d1f7f(),!_0xdaafd)return _0x165f46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xdaafd[_0x165f46([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20139c=_0x1fa6f6(_0xdaafd[_0x165f46([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xdaafd[_0x165f46([0x6a,0x74,0x69])])),await _0x5e0db6()?_0xd71b7d()?_0x41e046()?_0x165f46([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f9d21()?(_0xdaafd[_0x165f46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x165f46([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e940b=_0xf4935c(_0x165f46([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xdaafd[_0x165f46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x165f46([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e940b=_0xf4935c(_0x165f46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x261a9f()):_0x165f46([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x165f46([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x165f46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x165f46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x41e046(){const _0x18f6b3=[_0x165f46([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x165f46([0x74,0x72,0x69,0x61,0x6c])][_0x165f46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdaafd[_0x165f46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf00c63/0x3e8:0xe10*_0x4e1c00;return _0xdaafd[_0x165f46([0x65,0x78,0x70])]<_0x18f6b3;}function _0xd71b7d(){const _0x4c43b5=_0xdaafd[_0x165f46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c43b5&&(!!_0x4c43b5[_0x165f46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165f46([0x2a]))||!!_0x4c43b5[_0x165f46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165f46([0x4c,0x48])));}function _0x1f9d21(){const _0x3e935d=_0xdaafd[_0x165f46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e935d||0x0==_0x3e935d[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3dbcf2}=new URL(window[_0x165f46([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e935d[_0x165f46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dbcf2))return!0x0;const _0x4f57c9=_0x3dbcf2[_0x165f46([0x73,0x70,0x6c,0x69,0x74])](_0x165f46([0x2e]));return _0x3e935d[_0x165f46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d56cf=>_0x4d56cf[_0x165f46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165f46([0x2a])))[_0x165f46([0x6d,0x61,0x70])](_0x4bfd38=>_0x4bfd38[_0x165f46([0x73,0x70,0x6c,0x69,0x74])](_0x165f46([0x2e])))[_0x165f46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38d319=>_0x38d319[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f57c9[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x165f46([0x6d,0x61,0x70])](_0x1984fe=>Array(_0x4f57c9[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1984fe[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x165f46([0x66,0x69,0x6c,0x6c])](_0x1984fe[0x0]===_0x165f46([0x2a])?_0x165f46([0x2a]):'')[_0x165f46([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1984fe))[_0x165f46([0x73,0x6f,0x6d,0x65])](_0x4139fe=>_0x4f57c9[_0x165f46([0x65,0x76,0x65,0x72,0x79])]((_0x5a0139,_0x4e11a9)=>_0x4139fe[_0x4e11a9]===_0x5a0139||_0x4139fe[_0x4e11a9]===_0x165f46([0x2a])));}function _0x261a9f(){return _0x4e940b&&_0x20139c?new window[(_0x165f46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x209dc1,_0x409c40)=>{_0x4e940b[_0x165f46([0x74,0x68,0x65,0x6e])](_0x209dc1,_0x409c40),_0x20139c[_0x165f46([0x74,0x68,0x65,0x6e])](_0x1903e3=>{_0x1903e3!=_0x165f46([0x56,0x61,0x6c,0x69,0x64])&&_0x209dc1(_0x1903e3);},_0x409c40);}):_0x4e940b||_0x20139c||_0x165f46([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fa6f6(_0x2b48b9,_0x2d8c8c){return new window[(_0x165f46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5137b7=>{if(_0x3f55fd())return _0x5137b7(_0x165f46([0x56,0x61,0x6c,0x69,0x64]));_0xed39ab(),_0x35841f[_0x165f46([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x165f46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34ef6a=!0x1;const _0x430979=_0x102746();function _0x1dd8c3(_0x781a66){return!!_0x781a66&&(typeof _0x781a66===_0x165f46([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x781a66===_0x165f46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x781a66[_0x165f46([0x74,0x68,0x65,0x6e])]===_0x165f46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x781a66[_0x165f46([0x63,0x61,0x74,0x63,0x68])]===_0x165f46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a1a61(_0x31ee57){_0x2ca1a2(_0x31ee57)[_0x165f46([0x74,0x68,0x65,0x6e])](_0x538ec8=>{if(!_0x538ec8||_0x538ec8[_0x165f46([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x165f46([0x6f,0x6b]))return _0x165f46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2eec03(_0x1ecdac(_0x430979+_0x2d8c8c))!=_0x538ec8[_0x165f46([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x165f46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x165f46([0x56,0x61,0x6c,0x69,0x64]);})[_0x165f46([0x74,0x68,0x65,0x6e])](_0x5a564c=>(_0x372b6d(),_0x5a564c),()=>{const _0x18fead=_0x3b2fe4();return null==_0x18fead?(_0x372b6d(),_0x165f46([0x56,0x61,0x6c,0x69,0x64])):_0x165f46(_0xf00c63-_0x18fead>(0x61d15615^_0xaee9fc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x165f46([0x74,0x68,0x65,0x6e])](_0x5137b7)[_0x165f46([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5137b7(_0x165f46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x528453=0x45eb3c95^_0xaee9fc;function _0x372b6d(){const _0x16aad5=_0x165f46([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eec03(_0x1ecdac(_0x2b48b9)),_0xa7f6df=_0x5079a9(_0x2eec03(window[_0x165f46([0x4d,0x61,0x74,0x68])][_0x165f46([0x63,0x65,0x69,0x6c])](_0xf00c63/_0x528453)));window[_0x165f46([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x165f46([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16aad5,_0xa7f6df);}function _0x3b2fe4(){const _0x27a655=_0x165f46([0x6c,0x6c,0x63,0x74,0x2d])+_0x2eec03(_0x1ecdac(_0x2b48b9)),_0x470655=window[_0x165f46([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x165f46([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27a655);return _0x470655?window[_0x165f46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5079a9(_0x470655),0x10)*_0x528453:null;}function _0x2ca1a2(_0x500400){return new window[(_0x165f46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8c444a,_0xcce756)=>{_0x500400[_0x165f46([0x74,0x68,0x65,0x6e])](_0x8c444a,_0xcce756),window[_0x165f46([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xcce756,0x45dc06d5^_0xaee9fc);});}}_0x35841f[_0x165f46([0x6f,0x6e])](_0x165f46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2aa55d,_0x23e707)=>{if(_0x23e707[0x0]!=_0x2b48b9)return _0x5137b7(_0x165f46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23e707[0x1]={..._0x23e707[0x1],[_0x165f46([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x430979};},{[_0x165f46([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x165f46([0x68,0x69,0x67,0x68])}),_0x35841f[_0x165f46([0x6f,0x6e])](_0x165f46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8b9fa=>{_0x1dd8c3(_0x8b9fa[_0x165f46([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34ef6a=!0x0,_0x4a1a61(_0x8b9fa[_0x165f46([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x165f46([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x165f46([0x6c,0x6f,0x77])}),_0x2bf287[_0x165f46([0x74,0x68,0x65,0x6e])](()=>{_0x34ef6a||_0x5137b7(_0x165f46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f55fd(){return _0x35841f[_0x165f46([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x165f46([0x76,0x69,0x65,0x77])][_0x165f46([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x165f46([0x61,0x75,0x74,0x6f]);}function _0xed39ab(){_0x35841f[_0x165f46([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x165f46([0x76,0x69,0x65,0x77])][_0x165f46([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x165f46([0x61,0x75,0x74,0x6f]);}}function _0xf4935c(_0x3b0316){const _0x5e746e=[new window[(_0x165f46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17814d=>setTimeout(_0x17814d,0x45d4ecd9^_0xaee9fc)),_0x2bf287[_0x165f46([0x74,0x68,0x65,0x6e])](()=>new window[(_0x165f46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd4dc22=>{let _0x478658=0x0;_0x35841f[_0x165f46([0x6d,0x6f,0x64,0x65,0x6c])][_0x165f46([0x6f,0x6e])](_0x165f46([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c9429,_0xdb92ce)=>{_0xdb92ce[0x0][_0x165f46([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x478658++,_0x478658==(0x45ddd7fd^_0xaee9fc)&&(_0xd4dc22(),_0x1c9429[_0x165f46([0x6f,0x66,0x66])]());});}))];return window[_0x165f46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x165f46([0x72,0x61,0x63,0x65])](_0x5e746e)[_0x165f46([0x74,0x68,0x65,0x6e])](()=>_0x3b0316);}async function _0x7558c0(){await _0x2bf287,_0x35841f[_0x165f46([0x6d,0x6f,0x64,0x65,0x6c])][_0x165f46([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fb236,_0x35841f[_0x165f46([0x6d,0x6f,0x64,0x65,0x6c])][_0x165f46([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fb236,_0x35841f[_0x165f46([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x165f46([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x810632(_0x26e4d9){const _0x2b6d89=_0x5bf636();_0x35841f[_0x2b6d89]=_0x165f46([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26e4d9,_0x26e4d9!=_0x165f46([0x56,0x61,0x6c,0x69,0x64])&&_0x7558c0();}function _0x5bf636(){const _0x4e9389=window[_0x165f46([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x165f46([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x165f46([0x6e,0x6f,0x77])]())[_0x165f46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x165f46([0x2e]),'');let _0x491d01=_0x165f46([0x50]);for(let _0x222434=0x0;_0x222434<_0x4e9389[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x222434+=0x2){let _0x38971a=window[_0x165f46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e9389[_0x165f46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x222434,_0x222434+0x2));_0x38971a>=_0x17a67e[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38971a-=_0x17a67e[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x491d01+=_0x17a67e[_0x38971a];}return _0x491d01;}function _0x2d1f7f(){const _0x45f000=_0x48f4ab[_0x165f46([0x73,0x70,0x6c,0x69,0x74])](_0x165f46([0x2e]));if(0x3!=_0x45f000[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4181af(_0x45f000[0x1]);function _0x4181af(_0x2ff077){const _0x5dc1e4=_0x20bf98(_0x2ff077);return _0x5dc1e4&&_0xa1c422()?_0x5dc1e4:null;function _0xa1c422(){const _0x4f5dd9=_0x5dc1e4[_0x165f46([0x6a,0x74,0x69])],_0x3d146b=window[_0x165f46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f5dd9[_0x165f46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f5dd9[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a5ee8={..._0x5dc1e4,[_0x165f46([0x6a,0x74,0x69])]:_0x4f5dd9[_0x165f46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4f5dd9[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a5ee8[_0x165f46([0x76,0x63])],_0x1ecdac(_0x4a5ee8)==_0x3d146b;}}}async function _0x5e0db6(){let _0x3a7425=!0x0;try{const _0x41891d=_0x48f4ab[_0x165f46([0x73,0x70,0x6c,0x69,0x74])](_0x165f46([0x2e])),[_0x4f889e,_0x1db8fb,_0x594347]=_0x41891d;return _0x712ffa(_0x4f889e),await _0x4292f1(_0x4f889e,_0x1db8fb,_0x594347),_0x3a7425;}catch{return!0x1;}function _0x712ffa(_0x23a0f7){const _0x204fc8=_0x20bf98(_0x23a0f7);_0x204fc8&&_0x204fc8[_0x165f46([0x61,0x6c,0x67])]==_0x165f46([0x45,0x53,0x32,0x35,0x36])||(_0x3a7425=!0x1);}async function _0x4292f1(_0x1d1bc5,_0x1ef088,_0x428cfe){const _0x6dc1e7=window[_0x165f46([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x165f46([0x66,0x72,0x6f,0x6d])](_0x77ddaf(_0x428cfe),_0x25164e=>_0x25164e[_0x165f46([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b93b3=new window[(_0x165f46([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x165f46([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d1bc5+_0x165f46([0x2e])+_0x1ef088),_0x2c632a=window[_0x165f46([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x165f46([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c632a)return;const _0xbdb5e9=await _0x2c632a[_0x165f46([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x165f46([0x6a,0x77,0x6b]),_0xe6855f,{[_0x165f46([0x6e,0x61,0x6d,0x65])]:_0x165f46([0x45,0x43,0x44,0x53,0x41]),[_0x165f46([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x165f46([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x165f46([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c632a[_0x165f46([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x165f46([0x6e,0x61,0x6d,0x65])]:_0x165f46([0x45,0x43,0x44,0x53,0x41]),[_0x165f46([0x68,0x61,0x73,0x68])]:{[_0x165f46([0x6e,0x61,0x6d,0x65])]:_0x165f46([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbdb5e9,_0x6dc1e7,_0x1b93b3)||(_0x3a7425=!0x1);}}function _0x20bf98(_0x2b7d3f){return _0x2b7d3f[_0x165f46([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x165f46([0x65,0x79]))?JSON[_0x165f46([0x70,0x61,0x72,0x73,0x65])](_0x77ddaf(_0x2b7d3f)):null;}function _0x77ddaf(_0x68799d){return window[_0x165f46([0x61,0x74,0x6f,0x62])](_0x68799d[_0x165f46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x165f46([0x2b]))[_0x165f46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x165f46([0x2f])));}function _0x1ecdac(_0xf828dc){let _0x7baf64=0x1505;function _0x29dbc7(_0x42a857){for(let _0x44fe50=0x0;_0x44fe50<_0x42a857[_0x165f46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44fe50++){const _0x2591ab=_0x42a857[_0x165f46([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44fe50);_0x7baf64=(_0x7baf64<<0x5)+_0x7baf64+_0x2591ab,_0x7baf64&=_0x7baf64;}}function _0x2e7329(_0x2f6152){Array[_0x165f46([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f6152)?_0x2f6152[_0x165f46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e7329):_0x2f6152&&typeof _0x2f6152==_0x165f46([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x165f46([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f6152)[_0x165f46([0x73,0x6f,0x72,0x74])]()[_0x165f46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x377625,_0x50492c])=>{_0x29dbc7(_0x377625),_0x2e7329(_0x50492c);}):_0x29dbc7(window[_0x165f46([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f6152));}return _0x2e7329(_0xf828dc),_0x7baf64>>>0x0;}function _0x2eec03(_0x1e5b9a){return _0x1e5b9a[_0x165f46([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x165f46([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x165f46([0x30]));}function _0x5079a9(_0x555840){return _0x555840[_0x165f46([0x73,0x70,0x6c,0x69,0x74])]('')[_0x165f46([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x165f46([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fb236(){}function _0x165f46(_0x519c83){return _0x519c83['map'](_0xc0f818=>String['fromCharCode'](_0xc0f818))['join']('');}_0x810632(await _0x4f406f());}(this);}['_validateConfig'](){const _0x5e3c1d=this['editor'];if(!_0x5e3c1d['config']['get']('lineHeight.supportAllValues'))return;const _0x2b8bdf=_0x5e3c1d['config']['get']('lineHeight.options')['filter'](_0x760d92=>'string'==typeof _0x760d92&&(!f(_0x760d92)&&isNaN(Number(_0x760d92))));if(_0x2b8bdf['length'])throw new _0x273671('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2b8bdf});}['_prepareAnyValueConverters'](){const _0x4834b5=this['editor'],_0x531078=this['editor']['config']['get']('lineHeight.defaultValue');_0x4834b5['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x22aace=>String(_0x22aace)===String(_0x531078)?null:{'key':'style','value':{'line-height':_0x22aace}}}),_0x4834b5['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x451c41=>{let _0x69a95c=_0x451c41['getStyle']('line-height');return _0x3800f8(_0x69a95c)&&(_0x69a95c=String(Number(_0x69a95c['slice'](0x0,-0x1))/0x64)),String(_0x69a95c)===String(_0x531078)?null:_0x69a95c;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3990d6=this['editor'],_0x2dee6f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x59702b=function(_0x1b485f,_0x1eef05){const _0x545c54={'model':{'key':_0x1b485f,'values':[]},'view':{}};for(const _0xf0f1dd of _0x1eef05)'class'===_0xf0f1dd['view']?.['key']?(_0x545c54['model']['values']['push'](_0xf0f1dd['model']),_0x545c54['view'][_0xf0f1dd['model']]={'key':'class','value':_0xf0f1dd['view']['value']}):(_0x545c54['model']['values']['push'](_0xf0f1dd['model']),_0x545c54['view'][_0xf0f1dd['model']]={'key':'style','value':'line-height:'+_0xf0f1dd['model']+';'});return _0x545c54;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x47d436=>_0x47d436['model']));_0x3990d6['conversion']['attributeToAttribute'](_0x59702b),_0x3990d6['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3bac6f=>{let _0x3597f4=_0x3bac6f['getStyle']('line-height');return _0x3800f8(_0x3597f4)&&(_0x3597f4=String(Number(_0x3597f4['slice'](0x0,-0x1))/0x64)),_0x3597f4===String(_0x2dee6f)?null:_0x59702b['model']['values']['includes'](_0x3597f4)?_0x3597f4:null;}}});}}class r extends _0x57b11b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4bb02e={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4bb02e),this['_registerMenuBarComponent'](_0x4bb02e),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ded3d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3fa58f;for(const _0x33da3d in _0x4ded3d){const _0x4dad4e=_0x33da3d,_0x4d4e16=_0x4ded3d[_0x4dad4e];if('lineHeightLicenseKeyValid'==_0x4d4e16||'lineHeightLicenseKeyInvalid'==_0x4d4e16||'lineHeightLicenseKeyExpired'==_0x4d4e16||'lineHeightLicenseKeyDomainLimit'==_0x4d4e16||'lineHeightLicenseKeyNotAllowed'==_0x4d4e16||'lineHeightLicenseKeyEvaluationLimit'==_0x4d4e16||'lineHeightLicenseKeyTrialLimit'==_0x4d4e16||'lineHeightLicenseKeyUsageLimit'==_0x4d4e16){delete _0x4ded3d[_0x4dad4e],_0x3fa58f=_0x4d4e16,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3fa58f&&_0x4ded3d['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3fa58f&&_0x4ded3d['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3fa58f&&_0x4ded3d['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3fa58f&&_0x4ded3d['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3fa58f&&_0x4ded3d['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3fa58f&&_0x4ded3d['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3fa58f&&_0x4ded3d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x50b102=this['editor'],t=_0x50b102['t'],_0x576d88=_0x50b102['config']['get']('lineHeight'),_0x5f492e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x576d88)['map'](_0x1313f6=>{const _0x13792c=_0x5f492e[_0x1313f6['title']];return _0x13792c&&_0x13792c!=_0x1313f6['title']&&(_0x1313f6=Object['assign']({},_0x1313f6,{'title':_0x13792c})),_0x1313f6;});}['_prepareListOptions'](){const _0x843540=this['editor']['commands']['get']('lineHeight'),_0x27923f=this['editor']['config']['get']('lineHeight.defaultValue'),_0xb2120d=this['_getLocalizedLineHeightOptions'](),_0x21562a=new _0x4d7f00(),_0x217552=_0x533726=>'default'===_0x533726||String(_0x27923f)===_0x533726;for(const _0x10e260 of _0xb2120d){const _0x57fc03={'type':'button','model':new _0x6313b6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x10e260['title'],'withText':!0x0})};_0x217552(_0x10e260['model'])?(_0x57fc03['model']['bind']('isOn')['to'](_0x843540,'value',_0x2edf37=>!_0x2edf37),_0x57fc03['model']['commandParam']=void 0x0):(_0x57fc03['model']['bind']('isOn')['to'](_0x843540,'value',_0x2c7371=>_0x2c7371===_0x10e260['model']),_0x57fc03['model']['commandParam']=_0x10e260['model']),_0x21562a['add'](_0x57fc03);}if(this['_shouldRenderCustomValueOption']()){const _0x16913e=this['_getCustomValueOptionDefinition'](_0xb2120d);_0x21562a['add'](_0x16913e);}return _0x21562a;}['_getCustomValueOptionDefinition'](_0x20a168){const _0x29c829=this['editor'],t=_0x29c829['t'],_0x1b90c0=_0x29c829['commands']['get']('lineHeight'),_0x35965d=_0x20a168['map'](_0x5e12dd=>_0x5e12dd['model']),_0x541382={'type':'button','model':new _0x6313b6({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x541382['model']['bind']('commandParam')['to'](_0x1b90c0,'value'),_0x541382['model']['bind']('isOn')['to'](_0x1b90c0,'value',_0x27aea9=>!!_0x27aea9&&!_0x35965d['includes'](String(_0x27aea9))),_0x541382['model']['bind']('label')['to'](_0x1b90c0,'value',_0x2d9244=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2d9244))),_0x541382;}['_registerToolbarComponent']({accessibleLabel:_0x772481,options:_0x15204f}){const _0x2dc1fc=this['editor'],_0x284b39=_0x2dc1fc['commands']['get']('lineHeight');_0x2dc1fc['ui']['componentFactory']['add']('lineHeight',_0x2fd264=>{const _0x2699b7=_0x55ea40(_0x2fd264);return _0x1019ed(_0x2699b7,_0x15204f,{'role':'menu','ariaLabel':_0x772481}),_0x2699b7['buttonView']['set']({'label':_0x772481,'tooltip':!0x0,'icon':_0x3beea8}),_0x2699b7['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2699b7['bind']('isEnabled')['to'](_0x284b39),this['listenTo'](_0x2699b7,'execute',_0x4794b1=>{_0x2dc1fc['execute'](_0x4794b1['source']['commandName'],{'value':_0x4794b1['source']['commandParam']}),_0x2dc1fc['editing']['view']['focus']();}),_0x2699b7['once']('change:isOpen',()=>{const _0x93d8d7=_0x2699b7['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2699b7,_0x15204f,_0x93d8d7);}),_0x2699b7;});}['_registerMenuBarComponent']({accessibleLabel:_0xef5a79,options:_0x2b95c4}){const _0x4d8ffe=this['editor'],_0x55bf5e=_0x4d8ffe['commands']['get']('lineHeight');_0x4d8ffe['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2bbe47=>{const _0xd0c2d=new _0x5cae16(_0x2bbe47);_0xd0c2d['buttonView']['set']({'label':_0xef5a79,'icon':_0x3beea8}),_0xd0c2d['bind']('isEnabled')['to'](_0x55bf5e);const _0x28fb3d=new _0x4ac308(_0x2bbe47);for(const _0x1f61b1 of _0x2b95c4){const _0x1fb545=new _0x21945a(_0x2bbe47,_0xd0c2d),_0x2e7b79=new _0x1830d7(_0x2bbe47);_0x2e7b79['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2e7b79['bind'](...Object['keys'](_0x1f61b1['model']))['to'](_0x1f61b1['model']),_0x2e7b79['delegate']('execute')['to'](_0xd0c2d),_0x2e7b79['on']('execute',()=>{_0x4d8ffe['execute'](_0x1f61b1['model']['commandName'],{'value':_0x1f61b1['model']['commandParam']}),_0x4d8ffe['editing']['view']['focus']();}),_0x1fb545['children']['add'](_0x2e7b79),_0x28fb3d['items']['add'](_0x1fb545);}return _0xd0c2d['panelView']['children']['add'](_0x28fb3d),this['_attachCustomOptionVisibilityHandler'](_0xd0c2d,_0x2b95c4,_0x28fb3d),_0xd0c2d;});}['_attachCustomOptionVisibilityHandler'](_0x371a49,_0x10efd2,_0x307e54){if(!this['_shouldRenderCustomValueOption']())return;const _0x38068b=()=>{if(!_0x371a49['isOpen'])return;_0x307e54['items']['last']['isVisible']=Boolean(_0x10efd2['last']['model']['isOn']);};_0x38068b(),_0x371a49['on']('change:isOpen',()=>{_0x38068b();});}}class _ extends _0x57b11b{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-20251228.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-20251228.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20251228.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20251228.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20251228.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20251228.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-20251228.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-next-20251228.0"
|
|
23
23
|
},
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5699c9=_0x4de4;(function(_0x22fe93,_0x2c3762){const _0x5be46b=_0x4de4,_0x1ccf3e=_0x22fe93();while(!![]){try{const _0x732b3a=parseInt(_0x5be46b(0x190))/0x1*(-parseInt(_0x5be46b(0x196))/0x2)+parseInt(_0x5be46b(0x17f))/0x3+parseInt(_0x5be46b(0x1a8))/0x4+-parseInt(_0x5be46b(0x19b))/0x5+-parseInt(_0x5be46b(0x17e))/0x6*(-parseInt(_0x5be46b(0x183))/0x7)+-parseInt(_0x5be46b(0x199))/0x8+parseInt(_0x5be46b(0x189))/0x9*(parseInt(_0x5be46b(0x191))/0xa);if(_0x732b3a===_0x2c3762)break;else _0x1ccf3e['push'](_0x1ccf3e['shift']());}catch(_0x5175fe){_0x1ccf3e['push'](_0x1ccf3e['shift']());}}}(_0xe561,0x6aedd));import{Plugin as _0x287127}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x16abac}from'./lineheightcommand.js';function _0x4de4(_0x2b4a21,_0x2b1ed5){const _0xe56197=_0xe561();return _0x4de4=function(_0x4de45f,_0x5bd92f){_0x4de45f=_0x4de45f-0x172;let _0x126a8b=_0xe56197[_0x4de45f];return _0x126a8b;},_0x4de4(_0x2b4a21,_0x2b1ed5);}import{isPercentageStyleValue as _0x504c59}from'ckeditor5/src/engine.js';import{uid as _0x221bf6,CKEditorError as _0x675e86}from'ckeditor5/src/utils.js';import{buildDefinition as _0x58e826,isLineHeightDefaultValue as _0x5b967a,normalizeOptions as _0x57458e}from'./utils.js';import{LineHeightTodoListIntegration as _0x2e8022}from'./integrations/todolist.js';export class LineHeightEditing extends _0x287127{static get[_0x5699c9(0x1a2)](){const _0x5ac8d1=_0x5699c9;return _0x5ac8d1(0x180);}static get[_0x5699c9(0x195)](){return[_0x2e8022];}static get[_0x5699c9(0x182)](){return!0x0;}static get[_0x5699c9(0x192)](){return!0x0;}constructor(_0xb322ab){const _0xa1f158=_0x5699c9;super(_0xb322ab),_0xb322ab[_0xa1f158(0x1a3)][_0xa1f158(0x18d)](_0xa1f158(0x186),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0xa1f158(0x177),0x2,2.5,0x3]});}[_0x5699c9(0x17c)](){const _0x24f7bf=_0x5699c9,_0x5c85c2=this[_0x24f7bf(0x19a)];this[_0x24f7bf(0x173)](),_0x5c85c2[_0x24f7bf(0x18f)][_0x24f7bf(0x176)][_0x24f7bf(0x1a0)](_0x24f7bf(0x185),{'allowAttributes':_0x24f7bf(0x186)}),_0x5c85c2[_0x24f7bf(0x18f)][_0x24f7bf(0x176)][_0x24f7bf(0x1a5)](_0x24f7bf(0x186),{'isFormatting':!0x0}),_0x5c85c2[_0x24f7bf(0x19f)][_0x24f7bf(0x1a7)](_0x24f7bf(0x186),new _0x16abac(_0x5c85c2)),this[_0x24f7bf(0x19a)][_0x24f7bf(0x1a3)][_0x24f7bf(0x197)](_0x24f7bf(0x198))?this[_0x24f7bf(0x188)]():this[_0x24f7bf(0x17a)]();}[_0x5699c9(0x174)](){!async function(_0xd17fe0){const _0x3d6533=_0x39e43a([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]),_0x5035f4=0x45ddd215,_0x5132e2=0x45daaf0d^_0x5035f4,_0x1ccd42=window[_0x39e43a([0x44,0x61,0x74,0x65])][_0x39e43a([0x6e,0x6f,0x77])](),_0x568fcc=_0xd17fe0[_0x39e43a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ef02a=new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x455023=>{_0x568fcc[_0x39e43a([0x6f,0x6e,0x63,0x65])](_0x39e43a([0x72,0x65,0x61,0x64,0x79]),_0x455023);}),_0x438521={[_0x39e43a([0x6b,0x74,0x79])]:_0x39e43a([0x45,0x43]),[_0x39e43a([0x75,0x73,0x65])]:_0x39e43a([0x73,0x69,0x67]),[_0x39e43a([0x63,0x72,0x76])]:_0x39e43a([0x50,0x2d,0x32,0x35,0x36]),[_0x39e43a([0x78])]:_0x39e43a([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]),[_0x39e43a([0x79])]:_0x39e43a([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]),[_0x39e43a([0x61,0x6c,0x67])]:_0x39e43a([0x45,0x53,0x32,0x35,0x36])},_0x599561=_0x568fcc[_0x39e43a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x39e43a([0x67,0x65,0x74])](_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8db26(){let _0x5dbe58,_0x4c746e=null,_0x3c49d6=null;try{if(_0x599561==_0x39e43a([0x47,0x50,0x4c]))return _0x39e43a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dbe58=_0x1717f4(),!_0x5dbe58)return _0x39e43a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dbe58[_0x39e43a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c49d6=_0x42292f(_0x5dbe58[_0x39e43a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dbe58[_0x39e43a([0x6a,0x74,0x69])])),await _0x3240ad()?_0x4466b1()?_0x40b67e()?_0x39e43a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cecfe()?(_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39e43a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c746e=_0xe09a75(_0x39e43a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x39e43a([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c746e=_0xe09a75(_0x39e43a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ee6d8()):_0x39e43a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x39e43a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x39e43a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x39e43a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40b67e(){const _0x3fef60=[_0x39e43a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x39e43a([0x74,0x72,0x69,0x61,0x6c])][_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ccd42/0x3e8:0xe10*_0x5132e2;return _0x5dbe58[_0x39e43a([0x65,0x78,0x70])]<_0x3fef60;}function _0x4466b1(){const _0x35f486=_0x5dbe58[_0x39e43a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35f486&&(!!_0x35f486[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e43a([0x2a]))||!!_0x35f486[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e43a([0x4c,0x48])));}function _0x4cecfe(){const _0x2823d6=_0x4de4,_0x15454c=_0x5dbe58[_0x39e43a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15454c||0x0==_0x15454c[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38094c}=new URL(window[_0x39e43a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2823d6(0x175)]);if(_0x15454c[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38094c))return!0x0;const _0x750661=_0x38094c[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e]));return _0x15454c[_0x39e43a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ae317=>_0x4ae317[_0x39e43a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e43a([0x2a])))[_0x39e43a([0x6d,0x61,0x70])](_0x2d39d0=>_0x2d39d0[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e])))[_0x39e43a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d7c45=>_0x5d7c45[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x750661[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39e43a([0x6d,0x61,0x70])](_0x586729=>Array(_0x750661[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x586729[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x39e43a([0x66,0x69,0x6c,0x6c])](_0x586729[0x0]===_0x39e43a([0x2a])?_0x39e43a([0x2a]):'')[_0x39e43a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x586729))[_0x39e43a([0x73,0x6f,0x6d,0x65])](_0x1ca9dc=>_0x750661[_0x39e43a([0x65,0x76,0x65,0x72,0x79])]((_0x462e5d,_0x20f6be)=>_0x1ca9dc[_0x20f6be]===_0x462e5d||_0x1ca9dc[_0x20f6be]===_0x39e43a([0x2a])));}function _0x3ee6d8(){return _0x4c746e&&_0x3c49d6?new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12f6bd,_0x2f6222)=>{_0x4c746e[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x12f6bd,_0x2f6222),_0x3c49d6[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x38f0b0=>{_0x38f0b0!=_0x39e43a([0x56,0x61,0x6c,0x69,0x64])&&_0x12f6bd(_0x38f0b0);},_0x2f6222);}):_0x4c746e||_0x3c49d6||_0x39e43a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42292f(_0x3c98ee,_0x24e0bc){return new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x80e226=>{if(_0xe53088())return _0x80e226(_0x39e43a([0x56,0x61,0x6c,0x69,0x64]));_0xc5a757(),_0x568fcc[_0x39e43a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x39e43a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46e55b=!0x1;const _0x42d6a5=_0x221bf6();function _0x4093d1(_0x1ee966){return!!_0x1ee966&&(typeof _0x1ee966===_0x39e43a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ee966===_0x39e43a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ee966[_0x39e43a([0x74,0x68,0x65,0x6e])]===_0x39e43a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ee966[_0x39e43a([0x63,0x61,0x74,0x63,0x68])]===_0x39e43a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c1f91(_0x420811){_0x1c5dd5(_0x420811)[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x407214=>{if(!_0x407214||_0x407214[_0x39e43a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x39e43a([0x6f,0x6b]))return _0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32931c(_0x3acc83(_0x42d6a5+_0x24e0bc))!=_0x407214[_0x39e43a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x39e43a([0x56,0x61,0x6c,0x69,0x64]);})[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x30aa5b=>(_0x257483(),_0x30aa5b),()=>{const _0x398be3=_0x203ce6();return null==_0x398be3?(_0x257483(),_0x39e43a([0x56,0x61,0x6c,0x69,0x64])):_0x39e43a(_0x1ccd42-_0x398be3>(0x61d15615^_0x5035f4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x80e226)[_0x39e43a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x80e226(_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3448a4=0x45eb3c95^_0x5035f4;function _0x257483(){const _0x1af3d7=_0x39e43a([0x6c,0x6c,0x63,0x74,0x2d])+_0x32931c(_0x3acc83(_0x3c98ee)),_0x15d981=_0x4b066c(_0x32931c(window[_0x39e43a([0x4d,0x61,0x74,0x68])][_0x39e43a([0x63,0x65,0x69,0x6c])](_0x1ccd42/_0x3448a4)));window[_0x39e43a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39e43a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1af3d7,_0x15d981);}function _0x203ce6(){const _0x3f7f09=_0x39e43a([0x6c,0x6c,0x63,0x74,0x2d])+_0x32931c(_0x3acc83(_0x3c98ee)),_0x361827=window[_0x39e43a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x39e43a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f7f09);return _0x361827?window[_0x39e43a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b066c(_0x361827),0x10)*_0x3448a4:null;}function _0x1c5dd5(_0x57f09f){return new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10c87a,_0x35e505)=>{_0x57f09f[_0x39e43a([0x74,0x68,0x65,0x6e])](_0x10c87a,_0x35e505),window[_0x39e43a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35e505,0x45dc06d5^_0x5035f4);});}}_0x568fcc[_0x39e43a([0x6f,0x6e])](_0x39e43a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a15bb,_0xecbea5)=>{if(_0xecbea5[0x0]!=_0x3c98ee)return _0x80e226(_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xecbea5[0x1]={..._0xecbea5[0x1],[_0x39e43a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42d6a5};},{[_0x39e43a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39e43a([0x68,0x69,0x67,0x68])}),_0x568fcc[_0x39e43a([0x6f,0x6e])](_0x39e43a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59bae6=>{_0x4093d1(_0x59bae6[_0x39e43a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46e55b=!0x0,_0x2c1f91(_0x59bae6[_0x39e43a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x39e43a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x39e43a([0x6c,0x6f,0x77])}),_0x1ef02a[_0x39e43a([0x74,0x68,0x65,0x6e])](()=>{_0x46e55b||_0x80e226(_0x39e43a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe53088(){return _0x568fcc[_0x39e43a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39e43a([0x76,0x69,0x65,0x77])][_0x39e43a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x39e43a([0x61,0x75,0x74,0x6f]);}function _0xc5a757(){_0x568fcc[_0x39e43a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x39e43a([0x76,0x69,0x65,0x77])][_0x39e43a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x39e43a([0x61,0x75,0x74,0x6f]);}}function _0xe09a75(_0x538ea1){const _0x3e4bca=[new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25f206=>setTimeout(_0x25f206,0x45d4ecd9^_0x5035f4)),_0x1ef02a[_0x39e43a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x518c23=>{let _0x4e5688=0x0;_0x568fcc[_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e43a([0x6f,0x6e])](_0x39e43a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52567d,_0x29c47f)=>{_0x29c47f[0x0][_0x39e43a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e5688++,_0x4e5688==(0x45ddd7fd^_0x5035f4)&&(_0x518c23(),_0x52567d[_0x39e43a([0x6f,0x66,0x66])]());});}))];return window[_0x39e43a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x39e43a([0x72,0x61,0x63,0x65])](_0x3e4bca)[_0x39e43a([0x74,0x68,0x65,0x6e])](()=>_0x538ea1);}async function _0x304563(){await _0x1ef02a,_0x568fcc[_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e43a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27227f,_0x568fcc[_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e43a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27227f,_0x568fcc[_0x39e43a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39e43a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b61af(_0x1413e9){const _0xc8a561=_0x40eabe();_0x568fcc[_0xc8a561]=_0x39e43a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1413e9,_0x1413e9!=_0x39e43a([0x56,0x61,0x6c,0x69,0x64])&&_0x304563();}function _0x40eabe(){const _0x58ca2d=window[_0x39e43a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x39e43a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39e43a([0x6e,0x6f,0x77])]())[_0x39e43a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39e43a([0x2e]),'');let _0x1150e4=_0x39e43a([0x50]);for(let _0x2c9fea=0x0;_0x2c9fea<_0x58ca2d[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c9fea+=0x2){let _0x19eb79=window[_0x39e43a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58ca2d[_0x39e43a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c9fea,_0x2c9fea+0x2));_0x19eb79>=_0x3d6533[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19eb79-=_0x3d6533[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1150e4+=_0x3d6533[_0x19eb79];}return _0x1150e4;}function _0x1717f4(){const _0x3a8717=_0x599561[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e]));if(0x3!=_0x3a8717[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b443b(_0x3a8717[0x1]);function _0x1b443b(_0x39133d){const _0x185216=_0x30e8ea(_0x39133d);return _0x185216&&_0x237f6a()?_0x185216:null;function _0x237f6a(){const _0x3539ea=_0x185216[_0x39e43a([0x6a,0x74,0x69])],_0x2de698=window[_0x39e43a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3539ea[_0x39e43a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3539ea[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ae473={..._0x185216,[_0x39e43a([0x6a,0x74,0x69])]:_0x3539ea[_0x39e43a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3539ea[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ae473[_0x39e43a([0x76,0x63])],_0x3acc83(_0x4ae473)==_0x2de698;}}}async function _0x3240ad(){let _0x179f75=!0x0;try{const _0x4fa801=_0x599561[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])](_0x39e43a([0x2e])),[_0x1e7f3b,_0xd28358,_0x4d08e0]=_0x4fa801;return _0x24b105(_0x1e7f3b),await _0x44697d(_0x1e7f3b,_0xd28358,_0x4d08e0),_0x179f75;}catch{return!0x1;}function _0x24b105(_0x3ac63c){const _0x20076e=_0x30e8ea(_0x3ac63c);_0x20076e&&_0x20076e[_0x39e43a([0x61,0x6c,0x67])]==_0x39e43a([0x45,0x53,0x32,0x35,0x36])||(_0x179f75=!0x1);}async function _0x44697d(_0x4941b5,_0x9f4200,_0x243271){const _0x13dcd8=window[_0x39e43a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x39e43a([0x66,0x72,0x6f,0x6d])](_0x5ba097(_0x243271),_0x1d3771=>_0x1d3771[_0x39e43a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10492b=new window[(_0x39e43a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x39e43a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4941b5+_0x39e43a([0x2e])+_0x9f4200),_0x3067e2=window[_0x39e43a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x39e43a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3067e2)return;const _0x3c00e1=await _0x3067e2[_0x39e43a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x39e43a([0x6a,0x77,0x6b]),_0x438521,{[_0x39e43a([0x6e,0x61,0x6d,0x65])]:_0x39e43a([0x45,0x43,0x44,0x53,0x41]),[_0x39e43a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x39e43a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x39e43a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3067e2[_0x39e43a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x39e43a([0x6e,0x61,0x6d,0x65])]:_0x39e43a([0x45,0x43,0x44,0x53,0x41]),[_0x39e43a([0x68,0x61,0x73,0x68])]:{[_0x39e43a([0x6e,0x61,0x6d,0x65])]:_0x39e43a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c00e1,_0x13dcd8,_0x10492b)||(_0x179f75=!0x1);}}function _0x30e8ea(_0x475356){return _0x475356[_0x39e43a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x39e43a([0x65,0x79]))?JSON[_0x39e43a([0x70,0x61,0x72,0x73,0x65])](_0x5ba097(_0x475356)):null;}function _0x5ba097(_0xda5eb1){return window[_0x39e43a([0x61,0x74,0x6f,0x62])](_0xda5eb1[_0x39e43a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x39e43a([0x2b]))[_0x39e43a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x39e43a([0x2f])));}function _0x3acc83(_0x3bc242){let _0x4d5ceb=0x1505;function _0x161f56(_0x2d3091){for(let _0x4a9386=0x0;_0x4a9386<_0x2d3091[_0x39e43a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a9386++){const _0x136352=_0x2d3091[_0x39e43a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a9386);_0x4d5ceb=(_0x4d5ceb<<0x5)+_0x4d5ceb+_0x136352,_0x4d5ceb&=_0x4d5ceb;}}function _0x3beca5(_0xed8533){Array[_0x39e43a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xed8533)?_0xed8533[_0x39e43a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3beca5):_0xed8533&&typeof _0xed8533==_0x39e43a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x39e43a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xed8533)[_0x39e43a([0x73,0x6f,0x72,0x74])]()[_0x39e43a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d2f19,_0x12046f])=>{_0x161f56(_0x5d2f19),_0x3beca5(_0x12046f);}):_0x161f56(window[_0x39e43a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xed8533));}return _0x3beca5(_0x3bc242),_0x4d5ceb>>>0x0;}function _0x32931c(_0x2d8d55){return _0x2d8d55[_0x39e43a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x39e43a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x39e43a([0x30]));}function _0x4b066c(_0x32c568){return _0x32c568[_0x39e43a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x39e43a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x39e43a([0x6a,0x6f,0x69,0x6e])]('');}function _0x27227f(){}function _0x39e43a(_0xeb077d){const _0x204cf9=_0x4de4;return _0xeb077d[_0x204cf9(0x187)](_0x52d50b=>String[_0x204cf9(0x194)](_0x52d50b))[_0x204cf9(0x18a)]('');}_0x5b61af(await _0x8db26());}(this);}[_0x5699c9(0x173)](){const _0x1da98f=_0x5699c9,_0x1b29ac=this[_0x1da98f(0x19a)];if(!_0x1b29ac[_0x1da98f(0x1a3)][_0x1da98f(0x197)](_0x1da98f(0x198)))return;const _0x46bbad=_0x1b29ac[_0x1da98f(0x1a3)][_0x1da98f(0x197)](_0x1da98f(0x181))[_0x1da98f(0x193)](_0x29fb53=>_0x1da98f(0x19d)==typeof _0x29fb53&&(!_0x5b967a(_0x29fb53)&&isNaN(Number(_0x29fb53))));if(_0x46bbad[_0x1da98f(0x17b)])throw new _0x675e86(_0x1da98f(0x19c),null,{'namedPresets':_0x46bbad});}[_0x5699c9(0x188)](){const _0x1c8f19=_0x5699c9,_0x2da9e3=this[_0x1c8f19(0x19a)],_0x548c54=this[_0x1c8f19(0x19a)][_0x1c8f19(0x1a3)][_0x1c8f19(0x197)](_0x1c8f19(0x18e));_0x2da9e3[_0x1c8f19(0x178)][_0x1c8f19(0x179)](_0x1c8f19(0x1a1))[_0x1c8f19(0x19e)]({'model':{'key':_0x1c8f19(0x186)},'view':_0xc09603=>String(_0xc09603)===String(_0x548c54)?null:{'key':_0x1c8f19(0x18b),'value':{'line-height':_0xc09603}}}),_0x2da9e3[_0x1c8f19(0x178)][_0x1c8f19(0x179)](_0x1c8f19(0x184))[_0x1c8f19(0x19e)]({'model':{'key':_0x1c8f19(0x186),'value':_0x436d32=>{const _0x17dc24=_0x1c8f19;let _0x2db91e=_0x436d32[_0x17dc24(0x1a6)](_0x17dc24(0x18c));return _0x504c59(_0x2db91e)&&(_0x2db91e=String(Number(_0x2db91e[_0x17dc24(0x1a4)](0x0,-0x1))/0x64)),String(_0x2db91e)===String(_0x548c54)?null:_0x2db91e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5699c9(0x17a)](){const _0x1df06d=_0x5699c9,_0x3300ab=this[_0x1df06d(0x19a)],_0x5d68b6=this[_0x1df06d(0x19a)][_0x1df06d(0x1a3)][_0x1df06d(0x197)](_0x1df06d(0x18e)),_0x48302d=_0x57458e(this[_0x1df06d(0x19a)][_0x1df06d(0x1a3)][_0x1df06d(0x197)](_0x1df06d(0x186)))[_0x1df06d(0x193)](_0x28f5c2=>_0x28f5c2[_0x1df06d(0x18f)]),_0x5ea130=_0x58e826(_0x1df06d(0x186),_0x48302d);_0x3300ab[_0x1df06d(0x178)][_0x1df06d(0x19e)](_0x5ea130),_0x3300ab[_0x1df06d(0x178)][_0x1df06d(0x179)](_0x1df06d(0x184))[_0x1df06d(0x19e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1df06d(0x186),'value':_0x2b08bf=>{const _0x1ea440=_0x1df06d;let _0x1d3410=_0x2b08bf[_0x1ea440(0x1a6)](_0x1ea440(0x18c));return _0x504c59(_0x1d3410)&&(_0x1d3410=String(Number(_0x1d3410[_0x1ea440(0x1a4)](0x0,-0x1))/0x64)),_0x1d3410===String(_0x5d68b6)?null:_0x5ea130[_0x1ea440(0x18f)][_0x1ea440(0x17d)][_0x1ea440(0x172)](_0x1d3410)?_0x1d3410:null;}}});}}function _0xe561(){const _0x3f36dc=['isOfficialPlugin','690641UwGzuZ','upcast','$block','lineHeight','map','_prepareAnyValueConverters','2414385boqZQZ','join','style','line-height','define','lineHeight.defaultValue','model','1ogSkYp','10dDCcaI','isPremiumPlugin','filter','fromCharCode','requires','400006GkhWGU','get','lineHeight.supportAllValues','2297096VjngfC','editor','3303780VqoaNL','line-height-invalid-use-of-named-presets','string','attributeToAttribute','commands','extend','downcast','pluginName','config','slice','setAttributeProperties','getStyle','add','1280944FjBmXE','includes','_validateConfig','afterInit','href','schema','default','conversion','for','_preparePredefinedConverters','length','init','values','30JLFbzP','1512183QMmSFP','LineHeightEditing','lineHeight.options'];_0xe561=function(){return _0x3f36dc;};return _0xe561();}
|
|
23
|
+
const _0x5271b1=_0x1a83;(function(_0x2731f3,_0x5dfa67){const _0x187b61=_0x1a83,_0x3bcb21=_0x2731f3();while(!![]){try{const _0x54eb97=-parseInt(_0x187b61(0x13a))/0x1*(parseInt(_0x187b61(0x12d))/0x2)+-parseInt(_0x187b61(0x12f))/0x3+-parseInt(_0x187b61(0x150))/0x4+-parseInt(_0x187b61(0x123))/0x5*(-parseInt(_0x187b61(0x13e))/0x6)+parseInt(_0x187b61(0x149))/0x7*(-parseInt(_0x187b61(0x148))/0x8)+-parseInt(_0x187b61(0x13c))/0x9*(-parseInt(_0x187b61(0x12e))/0xa)+-parseInt(_0x187b61(0x124))/0xb*(-parseInt(_0x187b61(0x136))/0xc);if(_0x54eb97===_0x5dfa67)break;else _0x3bcb21['push'](_0x3bcb21['shift']());}catch(_0x56a37c){_0x3bcb21['push'](_0x3bcb21['shift']());}}}(_0x2cc8,0xc2110));import{Plugin as _0x56e90b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x452913}from'./lineheightcommand.js';function _0x1a83(_0x4474b1,_0x3b97d7){const _0x2cc844=_0x2cc8();return _0x1a83=function(_0x1a83e1,_0x526984){_0x1a83e1=_0x1a83e1-0x118;let _0xb4cfe2=_0x2cc844[_0x1a83e1];return _0xb4cfe2;},_0x1a83(_0x4474b1,_0x3b97d7);}import{isPercentageStyleValue as _0x4af153}from'ckeditor5/src/engine.js';import{uid as _0x46166e,CKEditorError as _0xf61d0c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1707b3,isLineHeightDefaultValue as _0x26f4b9,normalizeOptions as _0x15cde8}from'./utils.js';function _0x2cc8(){const _0x1a4209=['string','$block','3283055eMZJVL','558151cVreRK','extend','add','_prepareAnyValueConverters','filter','downcast','LineHeightEditing','conversion','requires','36970ORPIqz','1990ZjcOlE','1539129uomYzA','line-height','for','isOfficialPlugin','_preparePredefinedConverters','lineHeight.supportAllValues','length','588YExeiS','default','pluginName','lineHeight.options','37FqeFET','fromCharCode','35514CvnTeO','style','12IZRYxW','slice','model','lineHeight.defaultValue','getStyle','lineHeight','upcast','join','map','line-height-invalid-use-of-named-presets','8KfuqpN','10399256RnjlcH','schema','includes','values','afterInit','setAttributeProperties','init','4429172HwJUWF','attributeToAttribute','get','_validateConfig','config','commands','isPremiumPlugin','editor','define','href'];_0x2cc8=function(){return _0x1a4209;};return _0x2cc8();}import{LineHeightTodoListIntegration as _0x4b6b9f}from'./integrations/todolist.js';export class LineHeightEditing extends _0x56e90b{static get[_0x5271b1(0x138)](){const _0x3d5c2c=_0x5271b1;return _0x3d5c2c(0x12a);}static get[_0x5271b1(0x12c)](){return[_0x4b6b9f];}static get[_0x5271b1(0x132)](){return!0x0;}static get[_0x5271b1(0x11d)](){return!0x0;}constructor(_0x21ba7b){const _0x269c8a=_0x5271b1;super(_0x21ba7b),_0x21ba7b[_0x269c8a(0x11b)][_0x269c8a(0x11f)](_0x269c8a(0x143),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x269c8a(0x137),0x2,2.5,0x3]});}[_0x5271b1(0x14f)](){const _0x130634=_0x5271b1,_0x53d5f5=this[_0x130634(0x11e)];this[_0x130634(0x11a)](),_0x53d5f5[_0x130634(0x140)][_0x130634(0x14a)][_0x130634(0x125)](_0x130634(0x122),{'allowAttributes':_0x130634(0x143)}),_0x53d5f5[_0x130634(0x140)][_0x130634(0x14a)][_0x130634(0x14e)](_0x130634(0x143),{'isFormatting':!0x0}),_0x53d5f5[_0x130634(0x11c)][_0x130634(0x126)](_0x130634(0x143),new _0x452913(_0x53d5f5)),this[_0x130634(0x11e)][_0x130634(0x11b)][_0x130634(0x119)](_0x130634(0x134))?this[_0x130634(0x127)]():this[_0x130634(0x133)]();}[_0x5271b1(0x14d)](){!async function(_0x2e5677){const _0x19c988=_0x5c5338([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]),_0x53ef14=0x45ddd215,_0x5195d1=0x45daaf25^_0x53ef14,_0x27e91b=window[_0x5c5338([0x44,0x61,0x74,0x65])][_0x5c5338([0x6e,0x6f,0x77])](),_0x4c6ad5=_0x2e5677[_0x5c5338([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a6808=new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22de1b=>{_0x4c6ad5[_0x5c5338([0x6f,0x6e,0x63,0x65])](_0x5c5338([0x72,0x65,0x61,0x64,0x79]),_0x22de1b);}),_0x3bd1fb={[_0x5c5338([0x6b,0x74,0x79])]:_0x5c5338([0x45,0x43]),[_0x5c5338([0x75,0x73,0x65])]:_0x5c5338([0x73,0x69,0x67]),[_0x5c5338([0x63,0x72,0x76])]:_0x5c5338([0x50,0x2d,0x32,0x35,0x36]),[_0x5c5338([0x78])]:_0x5c5338([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]),[_0x5c5338([0x79])]:_0x5c5338([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]),[_0x5c5338([0x61,0x6c,0x67])]:_0x5c5338([0x45,0x53,0x32,0x35,0x36])},_0x2d54d8=_0x4c6ad5[_0x5c5338([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c5338([0x67,0x65,0x74])](_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x158da8(){let _0x318e90,_0x36ead7=null,_0x59c21f=null;try{if(_0x2d54d8==_0x5c5338([0x47,0x50,0x4c]))return _0x5c5338([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x318e90=_0x1cc134(),!_0x318e90)return _0x5c5338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x318e90[_0x5c5338([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59c21f=_0x32bf0a(_0x318e90[_0x5c5338([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x318e90[_0x5c5338([0x6a,0x74,0x69])])),await _0x4d08af()?_0x10fbf4()?_0xca431b()?_0x5c5338([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x551afe()?(_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c5338([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36ead7=_0x547152(_0x5c5338([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c5338([0x74,0x72,0x69,0x61,0x6c])&&(_0x36ead7=_0x547152(_0x5c5338([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c19d1()):_0x5c5338([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c5338([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c5338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c5338([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xca431b(){const _0x19cdf3=[_0x5c5338([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c5338([0x74,0x72,0x69,0x61,0x6c])][_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27e91b/0x3e8:0xe10*_0x5195d1;return _0x318e90[_0x5c5338([0x65,0x78,0x70])]<_0x19cdf3;}function _0x10fbf4(){const _0x44c3d6=_0x318e90[_0x5c5338([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44c3d6&&(!!_0x44c3d6[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5338([0x2a]))||!!_0x44c3d6[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5338([0x4c,0x48])));}function _0x551afe(){const _0x41e9a4=_0x1a83,_0x229acb=_0x318e90[_0x5c5338([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x229acb||0x0==_0x229acb[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x132e55}=new URL(window[_0x5c5338([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x41e9a4(0x120)]);if(_0x229acb[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x132e55))return!0x0;const _0x413245=_0x132e55[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e]));return _0x229acb[_0x5c5338([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a026f=>_0x5a026f[_0x5c5338([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c5338([0x2a])))[_0x5c5338([0x6d,0x61,0x70])](_0x36b37c=>_0x36b37c[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e])))[_0x5c5338([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e0794=>_0x2e0794[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x413245[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c5338([0x6d,0x61,0x70])](_0x300f04=>Array(_0x413245[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x300f04[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c5338([0x66,0x69,0x6c,0x6c])](_0x300f04[0x0]===_0x5c5338([0x2a])?_0x5c5338([0x2a]):'')[_0x5c5338([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x300f04))[_0x5c5338([0x73,0x6f,0x6d,0x65])](_0x37b61e=>_0x413245[_0x5c5338([0x65,0x76,0x65,0x72,0x79])]((_0x5eadb6,_0x3c689f)=>_0x37b61e[_0x3c689f]===_0x5eadb6||_0x37b61e[_0x3c689f]===_0x5c5338([0x2a])));}function _0x5c19d1(){return _0x36ead7&&_0x59c21f?new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d6588,_0x5c0261)=>{_0x36ead7[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x3d6588,_0x5c0261),_0x59c21f[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x5ea372=>{_0x5ea372!=_0x5c5338([0x56,0x61,0x6c,0x69,0x64])&&_0x3d6588(_0x5ea372);},_0x5c0261);}):_0x36ead7||_0x59c21f||_0x5c5338([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32bf0a(_0x3cf777,_0xe972cd){return new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45230d=>{if(_0x21fad9())return _0x45230d(_0x5c5338([0x56,0x61,0x6c,0x69,0x64]));_0x12f1a1(),_0x4c6ad5[_0x5c5338([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c5338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2059ce=!0x1;const _0xa37ee=_0x46166e();function _0x282cd5(_0x2e3e74){return!!_0x2e3e74&&(typeof _0x2e3e74===_0x5c5338([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e3e74===_0x5c5338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e3e74[_0x5c5338([0x74,0x68,0x65,0x6e])]===_0x5c5338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e3e74[_0x5c5338([0x63,0x61,0x74,0x63,0x68])]===_0x5c5338([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ee23e(_0x3e9118){_0x529a3f(_0x3e9118)[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x1c49c8=>{if(!_0x1c49c8||_0x1c49c8[_0x5c5338([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c5338([0x6f,0x6b]))return _0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13ce71(_0x57c166(_0xa37ee+_0xe972cd))!=_0x1c49c8[_0x5c5338([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c5338([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x3c11bd=>(_0x5ab6f8(),_0x3c11bd),()=>{const _0x12c910=_0x8bf74f();return null==_0x12c910?(_0x5ab6f8(),_0x5c5338([0x56,0x61,0x6c,0x69,0x64])):_0x5c5338(_0x27e91b-_0x12c910>(0x61d15615^_0x53ef14)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x45230d)[_0x5c5338([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45230d(_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4515a7=0x45eb3c95^_0x53ef14;function _0x5ab6f8(){const _0x4193b7=_0x5c5338([0x6c,0x6c,0x63,0x74,0x2d])+_0x13ce71(_0x57c166(_0x3cf777)),_0x355f7b=_0x3d2936(_0x13ce71(window[_0x5c5338([0x4d,0x61,0x74,0x68])][_0x5c5338([0x63,0x65,0x69,0x6c])](_0x27e91b/_0x4515a7)));window[_0x5c5338([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c5338([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4193b7,_0x355f7b);}function _0x8bf74f(){const _0xe14f93=_0x5c5338([0x6c,0x6c,0x63,0x74,0x2d])+_0x13ce71(_0x57c166(_0x3cf777)),_0x310632=window[_0x5c5338([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c5338([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe14f93);return _0x310632?window[_0x5c5338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d2936(_0x310632),0x10)*_0x4515a7:null;}function _0x529a3f(_0x1cd506){return new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f82e8,_0x5fddee)=>{_0x1cd506[_0x5c5338([0x74,0x68,0x65,0x6e])](_0x4f82e8,_0x5fddee),window[_0x5c5338([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5fddee,0x45dc06d5^_0x53ef14);});}}_0x4c6ad5[_0x5c5338([0x6f,0x6e])](_0x5c5338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xfc05a3,_0x14761c)=>{if(_0x14761c[0x0]!=_0x3cf777)return _0x45230d(_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14761c[0x1]={..._0x14761c[0x1],[_0x5c5338([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa37ee};},{[_0x5c5338([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c5338([0x68,0x69,0x67,0x68])}),_0x4c6ad5[_0x5c5338([0x6f,0x6e])](_0x5c5338([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c07ef=>{_0x282cd5(_0x5c07ef[_0x5c5338([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2059ce=!0x0,_0x2ee23e(_0x5c07ef[_0x5c5338([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c5338([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c5338([0x6c,0x6f,0x77])}),_0x2a6808[_0x5c5338([0x74,0x68,0x65,0x6e])](()=>{_0x2059ce||_0x45230d(_0x5c5338([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21fad9(){return _0x4c6ad5[_0x5c5338([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c5338([0x76,0x69,0x65,0x77])][_0x5c5338([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c5338([0x61,0x75,0x74,0x6f]);}function _0x12f1a1(){_0x4c6ad5[_0x5c5338([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c5338([0x76,0x69,0x65,0x77])][_0x5c5338([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c5338([0x61,0x75,0x74,0x6f]);}}function _0x547152(_0x47a425){const _0x149493=[new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b70b9=>setTimeout(_0x1b70b9,0x45d4ecd9^_0x53ef14)),_0x2a6808[_0x5c5338([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52e48c=>{let _0x480034=0x0;_0x4c6ad5[_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5338([0x6f,0x6e])](_0x5c5338([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x95cde3,_0x5dcde3)=>{_0x5dcde3[0x0][_0x5c5338([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x480034++,_0x480034==(0x45ddd7fd^_0x53ef14)&&(_0x52e48c(),_0x95cde3[_0x5c5338([0x6f,0x66,0x66])]());});}))];return window[_0x5c5338([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c5338([0x72,0x61,0x63,0x65])](_0x149493)[_0x5c5338([0x74,0x68,0x65,0x6e])](()=>_0x47a425);}async function _0x3fcb94(){await _0x2a6808,_0x4c6ad5[_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5338([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x252bb5,_0x4c6ad5[_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c5338([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x252bb5,_0x4c6ad5[_0x5c5338([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c5338([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19d147(_0x1ecd21){const _0x2be34d=_0x113c63();_0x4c6ad5[_0x2be34d]=_0x5c5338([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ecd21,_0x1ecd21!=_0x5c5338([0x56,0x61,0x6c,0x69,0x64])&&_0x3fcb94();}function _0x113c63(){const _0x328652=window[_0x5c5338([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c5338([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c5338([0x6e,0x6f,0x77])]())[_0x5c5338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c5338([0x2e]),'');let _0x4e1ffc=_0x5c5338([0x50]);for(let _0x4e3d91=0x0;_0x4e3d91<_0x328652[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e3d91+=0x2){let _0x24ab41=window[_0x5c5338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x328652[_0x5c5338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e3d91,_0x4e3d91+0x2));_0x24ab41>=_0x19c988[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24ab41-=_0x19c988[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e1ffc+=_0x19c988[_0x24ab41];}return _0x4e1ffc;}function _0x1cc134(){const _0x5d0961=_0x2d54d8[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e]));if(0x3!=_0x5d0961[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b90fb(_0x5d0961[0x1]);function _0x2b90fb(_0x2d798c){const _0xbb8695=_0x1228f1(_0x2d798c);return _0xbb8695&&_0x575ab3()?_0xbb8695:null;function _0x575ab3(){const _0x54c8be=_0xbb8695[_0x5c5338([0x6a,0x74,0x69])],_0x11c660=window[_0x5c5338([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54c8be[_0x5c5338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54c8be[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41ca54={..._0xbb8695,[_0x5c5338([0x6a,0x74,0x69])]:_0x54c8be[_0x5c5338([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54c8be[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41ca54[_0x5c5338([0x76,0x63])],_0x57c166(_0x41ca54)==_0x11c660;}}}async function _0x4d08af(){let _0x7ef8d7=!0x0;try{const _0x50a200=_0x2d54d8[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])](_0x5c5338([0x2e])),[_0x24ccec,_0x398152,_0x43b1cb]=_0x50a200;return _0x1e2ad7(_0x24ccec),await _0x1e028b(_0x24ccec,_0x398152,_0x43b1cb),_0x7ef8d7;}catch{return!0x1;}function _0x1e2ad7(_0x2d062a){const _0x543d99=_0x1228f1(_0x2d062a);_0x543d99&&_0x543d99[_0x5c5338([0x61,0x6c,0x67])]==_0x5c5338([0x45,0x53,0x32,0x35,0x36])||(_0x7ef8d7=!0x1);}async function _0x1e028b(_0x1df380,_0x34fa83,_0x505dc2){const _0x5c1ce5=window[_0x5c5338([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c5338([0x66,0x72,0x6f,0x6d])](_0x33c7f8(_0x505dc2),_0x27ed27=>_0x27ed27[_0x5c5338([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b1ac0=new window[(_0x5c5338([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c5338([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1df380+_0x5c5338([0x2e])+_0x34fa83),_0x44b2f4=window[_0x5c5338([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c5338([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44b2f4)return;const _0x14404b=await _0x44b2f4[_0x5c5338([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c5338([0x6a,0x77,0x6b]),_0x3bd1fb,{[_0x5c5338([0x6e,0x61,0x6d,0x65])]:_0x5c5338([0x45,0x43,0x44,0x53,0x41]),[_0x5c5338([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c5338([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c5338([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44b2f4[_0x5c5338([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c5338([0x6e,0x61,0x6d,0x65])]:_0x5c5338([0x45,0x43,0x44,0x53,0x41]),[_0x5c5338([0x68,0x61,0x73,0x68])]:{[_0x5c5338([0x6e,0x61,0x6d,0x65])]:_0x5c5338([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14404b,_0x5c1ce5,_0x2b1ac0)||(_0x7ef8d7=!0x1);}}function _0x1228f1(_0x53aef1){return _0x53aef1[_0x5c5338([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c5338([0x65,0x79]))?JSON[_0x5c5338([0x70,0x61,0x72,0x73,0x65])](_0x33c7f8(_0x53aef1)):null;}function _0x33c7f8(_0x174135){return window[_0x5c5338([0x61,0x74,0x6f,0x62])](_0x174135[_0x5c5338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c5338([0x2b]))[_0x5c5338([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c5338([0x2f])));}function _0x57c166(_0x35f095){let _0x3583ed=0x1505;function _0x16a66f(_0x368a40){for(let _0x545ab1=0x0;_0x545ab1<_0x368a40[_0x5c5338([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x545ab1++){const _0x3cdd2c=_0x368a40[_0x5c5338([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x545ab1);_0x3583ed=(_0x3583ed<<0x5)+_0x3583ed+_0x3cdd2c,_0x3583ed&=_0x3583ed;}}function _0x2abf58(_0xf7d71d){Array[_0x5c5338([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf7d71d)?_0xf7d71d[_0x5c5338([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2abf58):_0xf7d71d&&typeof _0xf7d71d==_0x5c5338([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c5338([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf7d71d)[_0x5c5338([0x73,0x6f,0x72,0x74])]()[_0x5c5338([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29a8ae,_0x48f7c1])=>{_0x16a66f(_0x29a8ae),_0x2abf58(_0x48f7c1);}):_0x16a66f(window[_0x5c5338([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf7d71d));}return _0x2abf58(_0x35f095),_0x3583ed>>>0x0;}function _0x13ce71(_0x1ca2a0){return _0x1ca2a0[_0x5c5338([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c5338([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c5338([0x30]));}function _0x3d2936(_0x44b824){return _0x44b824[_0x5c5338([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c5338([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c5338([0x6a,0x6f,0x69,0x6e])]('');}function _0x252bb5(){}function _0x5c5338(_0x233668){const _0x28412e=_0x1a83;return _0x233668[_0x28412e(0x146)](_0x1ef626=>String[_0x28412e(0x13b)](_0x1ef626))[_0x28412e(0x145)]('');}_0x19d147(await _0x158da8());}(this);}[_0x5271b1(0x11a)](){const _0xa965c5=_0x5271b1,_0x2d0acd=this[_0xa965c5(0x11e)];if(!_0x2d0acd[_0xa965c5(0x11b)][_0xa965c5(0x119)](_0xa965c5(0x134)))return;const _0x563528=_0x2d0acd[_0xa965c5(0x11b)][_0xa965c5(0x119)](_0xa965c5(0x139))[_0xa965c5(0x128)](_0x1453e0=>_0xa965c5(0x121)==typeof _0x1453e0&&(!_0x26f4b9(_0x1453e0)&&isNaN(Number(_0x1453e0))));if(_0x563528[_0xa965c5(0x135)])throw new _0xf61d0c(_0xa965c5(0x147),null,{'namedPresets':_0x563528});}[_0x5271b1(0x127)](){const _0x37571b=_0x5271b1,_0x2117fb=this[_0x37571b(0x11e)],_0x5466bd=this[_0x37571b(0x11e)][_0x37571b(0x11b)][_0x37571b(0x119)](_0x37571b(0x141));_0x2117fb[_0x37571b(0x12b)][_0x37571b(0x131)](_0x37571b(0x129))[_0x37571b(0x118)]({'model':{'key':_0x37571b(0x143)},'view':_0x48edd7=>String(_0x48edd7)===String(_0x5466bd)?null:{'key':_0x37571b(0x13d),'value':{'line-height':_0x48edd7}}}),_0x2117fb[_0x37571b(0x12b)][_0x37571b(0x131)](_0x37571b(0x144))[_0x37571b(0x118)]({'model':{'key':_0x37571b(0x143),'value':_0x41a953=>{const _0x52a6b8=_0x37571b;let _0x4b42de=_0x41a953[_0x52a6b8(0x142)](_0x52a6b8(0x130));return _0x4af153(_0x4b42de)&&(_0x4b42de=String(Number(_0x4b42de[_0x52a6b8(0x13f)](0x0,-0x1))/0x64)),String(_0x4b42de)===String(_0x5466bd)?null:_0x4b42de;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5271b1(0x133)](){const _0x1d5786=_0x5271b1,_0x52ecdf=this[_0x1d5786(0x11e)],_0x309240=this[_0x1d5786(0x11e)][_0x1d5786(0x11b)][_0x1d5786(0x119)](_0x1d5786(0x141)),_0x319a4f=_0x15cde8(this[_0x1d5786(0x11e)][_0x1d5786(0x11b)][_0x1d5786(0x119)](_0x1d5786(0x143)))[_0x1d5786(0x128)](_0x21d47b=>_0x21d47b[_0x1d5786(0x140)]),_0x495894=_0x1707b3(_0x1d5786(0x143),_0x319a4f);_0x52ecdf[_0x1d5786(0x12b)][_0x1d5786(0x118)](_0x495894),_0x52ecdf[_0x1d5786(0x12b)][_0x1d5786(0x131)](_0x1d5786(0x144))[_0x1d5786(0x118)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1d5786(0x143),'value':_0x3b999a=>{const _0x3f935d=_0x1d5786;let _0x135a17=_0x3b999a[_0x3f935d(0x142)](_0x3f935d(0x130));return _0x4af153(_0x135a17)&&(_0x135a17=String(Number(_0x135a17[_0x3f935d(0x13f)](0x0,-0x1))/0x64)),_0x135a17===String(_0x309240)?null:_0x495894[_0x3f935d(0x140)][_0x3f935d(0x14c)][_0x3f935d(0x14b)](_0x135a17)?_0x135a17:null;}}});}}
|