@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251128.0 → 0.0.0-nightly-20251129.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),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,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:()=>Y,LineHeightCommand:()=>s,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=a();return(r=function(e,t){return n[e-=419]})(e,t)}const o=r;!function(e){const t=r,n=e();for(;;)try{if(829476===parseInt(t(430))/1*(parseInt(t(425))/2)+-parseInt(t(422))/3*(-parseInt(t(426))/4)+parseInt(t(427))/5+-parseInt(t(447))/6+-parseInt(t(432))/7+parseInt(t(445))/8*(parseInt(t(436))/9)+-parseInt(t(434))/10*(-parseInt(t(439))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[o(431)](){const e=o,n=this[e(429)][e(444)][e(446)],i=(0,t.first)(n[e(421)][e(437)]());this[e(428)]=Boolean(i)&&this[e(441)](i),this[e(442)]=this[e(428)]&&i[e(435)](e(440))}[o(438)](e={}){const t=o,n=this[t(429)][t(444)],i=n[t(446)][t(421)],r=e[t(442)];n[t(433)](e=>{const n=t,o=Array[n(420)](i[n(437)]())[n(419)](e=>this[n(441)](e));for(const t of o)r?e[n(424)](n(440),r,t):e[n(423)](n(440),t)})}[o(441)](e){const t=o;return this[t(429)][t(444)][t(443)][t(448)](e,t(440))}}function a(){const e=["getAttribute","9XbYNvC","getSelectedBlocks","execute","22BjRvmJ","lineHeight","_canHaveLineHeight","value","schema","model","6869544nOqOxF","document","7218402sdmcOY","checkAttribute","filter","from","selection","6243AstKWy","removeAttribute","setAttribute","26FLkpnb","748VLHcJd","2261535AXiUXr","isEnabled","editor","29042myKfBT","refresh","2407748opblOH","change","1494070rUmhgo"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","default","1165266ndAgLX","string","key","value","map","5608CfsAvD","double","single","options","19243917NNOnju","Single","8CgYBwc","number","line-height:","view","model","3028195bRqYrS","5202876hYyeMh","line-height-single","style","push","4431qgkjWa","class","values","toLowerCase","defaultValue","line-height-double","Double","span","117812uwUQzc","3507771MTALvs"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(715676===-parseInt(t(391))/1*(parseInt(t(373))/2)+parseInt(t(392))/3+parseInt(t(379))/4+parseInt(t(378))/5+-parseInt(t(395))/6+parseInt(t(383))/7*(parseInt(t(367))/8)+-parseInt(t(371))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(372),model:e(369),view:{key:e(384),value:e(380)}}},get double(){const e=d;return{title:e(389),model:e(368),view:{key:e(384),value:e(388)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=363]})(e,t)}function h(e){const t=d;return t(363)==typeof e&&t(394)===e[t(386)]()}function f(e){const t=d;return e[t(370)][t(366)](n=>h(n)?{title:String(e[t(387)]),model:t(394)}:(t(374)==typeof n&&(n=String(n)),t(363)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(390),styles:{"line-height":n}}}:function(e){const t=d;return t(363)==typeof e?u[e]:u[e[t(377)]]}(n)))[t(393)](e=>void 0!==e)}var p=n(929),g=n.n(p),m=n(297),w=n.n(m),v=n(102),y=n.n(v),b=n(123),I=n.n(b),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=I(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=344]})(e,t)}function A(){const e=["listType","pluginName","span","elementToElement","isPremiumPlugin","item","isOfficialPlugin","ListEditing","267885ZjXyBv","paragraph","consumable","5031592irEjrA","--ck-content-list-marker-line-height","4625730XrqesX","high","registerDowncastStrategy","has","editor","lineHeight","element:li","806290MNAIYB","match","viewItem","upcast","get","add","for","consume","addClass","TodoListEditing","826230pnhqgf","getAttribute","ck-list-marker-line-height","name","3790680NomjlG","LineHeightTodoListIntegration","init","30330335hcAUsN","setStyle","todo","todo-list__label__description"];return(A=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(960461===parseInt(t(381))/1+-parseInt(t(354))/2+-parseInt(t(369))/3+-parseInt(t(372))/4+-parseInt(t(350))/5+-parseInt(t(374))/6+parseInt(t(357))/7)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[O(362)](){return O(355)}static get[O(367)](){return!0}static get[O(365)](){return!0}[O(356)](){const e=O,{plugins:t,conversion:n}=this[e(378)];t[e(377)](e(368))&&t[e(377)](e(349))&&(t[e(344)](e(368))[e(376)]({scope:e(366),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(359)==o[s(351)](s(361))&&n&&(t[s(348)](s(352),i),t[s(358)](s(373),n,i))}}),n[e(346)](e(384))[e(364)]({view:{name:e(363),classes:e(360)},model:e(370),converterPriority:e(375)}),n[e(346)](e(384))[e(345)](t=>{const n=e;t.on(n(380),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(382)](n[r(383)]);if(!o)return;const s=o[r(382)];s[r(353)]=!1,i[r(371)][r(347)](n[r(383)],s)}}({name:"li",classes:n(352),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=N;function T(){const e=["8sOaPAE","requires","4FYBBgx","map","lineHeight","upcast","href","lineHeight.defaultValue","_preparePredefinedConverters","extend","attributeToAttribute","length","afterInit","conversion","editor","commands","_validateConfig","init","schema","line-height-invalid-use-of-named-presets","isOfficialPlugin","define","469185VajABg","isPremiumPlugin","model","add","setAttributeProperties","filter","config","default","_prepareAnyValueConverters","includes","lineHeight.supportAllValues","lineHeight.options","join","string","1354255xYYldv","fromCharCode","values","slice","$block","getStyle","downcast","for","127392bMcOYZ","line-height","LineHeightEditing","90480ZUkzLj","get","1033964WfqEYA","pluginName","style","98136hVyPZX","278201bzMidg"];return(T=function(){return e})()}function N(e,t){const n=T();return(N=function(e,t){return n[e-=376]})(e,t)}!function(e){const t=N,n=e();for(;;)try{if(190446===parseInt(t(406))/1+-parseInt(t(409))/2*(parseInt(t(397))/3)+parseInt(t(402))/4+-parseInt(t(429))/5+parseInt(t(400))/6+-parseInt(t(389))/7*(parseInt(t(407))/8)+parseInt(t(405))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class P extends e.Plugin{static get[S(403)](){return S(399)}static get[S(408)](){return[C]}static get[S(427)](){return!0}static get[S(376)](){return!0}constructor(e){const t=S;super(e),e[t(381)][t(428)](t(411),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(382),2,2.5,3]})}[S(424)](){const e=S,t=this[e(421)];this[e(423)](),t[e(377)][e(425)][e(416)](e(393),{allowAttributes:e(411)}),t[e(377)][e(425)][e(379)](e(411),{isFormatting:!0}),t[e(422)][e(378)](e(411),new s(t)),this[e(421)][e(381)][e(401)](e(385))?this[e(383)]():this[e(415)]()}[S(419)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=N;return e[t(410)](e=>String[t(390)](e))[t(387)]("")}!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])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,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,p=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])]&&(p=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 p(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=f(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])](f(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=>{p(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:1764288e3;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=N,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(413)]);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&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[S(423)](){const e=S,n=this[e(421)];if(!n[e(381)][e(401)](e(385)))return;const i=n[e(381)][e(401)](e(386))[e(380)](t=>e(388)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(418)])throw new t.CKEditorError(e(426),null,{namedPresets:i})}[S(383)](){const e=S,t=this[e(421)],n=this[e(421)][e(381)][e(401)](e(414));t[e(420)][e(396)](e(395))[e(417)]({model:{key:e(411)},view:t=>String(t)===String(n)?null:{key:e(404),value:{"line-height":t}}}),t[e(420)][e(396)](e(412))[e(417)]({model:{key:e(411),value:t=>{const i=e;let r=t[i(394)](i(398));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(392)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(415)](){const e=S,t=this[e(421)],n=this[e(421)][e(381)][e(401)](e(414)),i=f(this[e(421)][e(381)][e(401)](e(411)))[e(380)](t=>t[e(377)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(384)===e[n(376)]?.[n(364)]?(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(384),value:e[n(376)][n(365)]}):(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(381),value:n(375)+e[n(377)]+";"});return i}(e(411),i);t[e(420)][e(417)](r),t[e(420)][e(396)](e(412))[e(417)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(411),value:t=>{const i=e;let o=t[i(394)](i(398));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(392)](0,-1))/100)),o===String(n)?null:r[i(377)][i(391)][i(384)](o)?o:null}}})}}var x=n(311),V=n(355),K=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=I(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(K.A,M);K.A&&K.A.locals&&K.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 f(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:V.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:V.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var j=U;function D(){var e=["18426490HXilpj","4fEOyGP","isPremiumPlugin","6416649YSJGCs","LineHeight","5727576OjXLHK","2152706tVBSaV","pluginName","6028145gssDjx","7wMVTFK","2450454CILgYf","3MPEmfG","isOfficialPlugin","requires","626816RNBNoL"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=175]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(681134===-parseInt(t(188))/1+parseInt(t(180))/2*(parseInt(t(185))/3)+-parseInt(t(175))/4*(parseInt(t(182))/5)+-parseInt(t(184))/6+-parseInt(t(183))/7*(-parseInt(t(179))/8)+-parseInt(t(177))/9+parseInt(t(189))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class Y extends e.Plugin{static get[j(187)](){return[P,B]}static get[j(181)](){return j(178)}static get[j(186)](){return!0}static get[j(176)](){return!0}}function G(e,t){var n=X();return(G=function(e,t){return n[e-=350]})(e,t)}function X(){var e=["36HvLLrx","140PXIjvg","1535823mMecVM","28rQklTM","1418286XOGpMf","10399660qKEMhx","1077OlipmS","7498848kydAQP","168679flddhZ","1215790drVChY"];return(X=function(){return e})()}!function(e){for(var t=G,n=e();;)try{if(852971===parseInt(t(357))/1+-parseInt(t(354))/2*(-parseInt(t(359))/3)+parseInt(t(356))/4*(parseInt(t(352))/5)+parseInt(t(353))/6*(-parseInt(t(351))/7)+-parseInt(t(350))/8+-parseInt(t(355))/9+-parseInt(t(358))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(X)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>G,LineHeightCommand:()=>s,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>j});var e=n(782),t=n(584);function r(e,t){const n=a();return(r=function(e,t){return n[e-=419]})(e,t)}const o=r;!function(e){const t=r,n=e();for(;;)try{if(829476===parseInt(t(430))/1*(parseInt(t(425))/2)+-parseInt(t(422))/3*(-parseInt(t(426))/4)+parseInt(t(427))/5+-parseInt(t(447))/6+-parseInt(t(432))/7+parseInt(t(445))/8*(parseInt(t(436))/9)+-parseInt(t(434))/10*(-parseInt(t(439))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[o(431)](){const e=o,n=this[e(429)][e(444)][e(446)],i=(0,t.first)(n[e(421)][e(437)]());this[e(428)]=Boolean(i)&&this[e(441)](i),this[e(442)]=this[e(428)]&&i[e(435)](e(440))}[o(438)](e={}){const t=o,n=this[t(429)][t(444)],i=n[t(446)][t(421)],r=e[t(442)];n[t(433)](e=>{const n=t,o=Array[n(420)](i[n(437)]())[n(419)](e=>this[n(441)](e));for(const t of o)r?e[n(424)](n(440),r,t):e[n(423)](n(440),t)})}[o(441)](e){const t=o;return this[t(429)][t(444)][t(443)][t(448)](e,t(440))}}function a(){const e=["getAttribute","9XbYNvC","getSelectedBlocks","execute","22BjRvmJ","lineHeight","_canHaveLineHeight","value","schema","model","6869544nOqOxF","document","7218402sdmcOY","checkAttribute","filter","from","selection","6243AstKWy","removeAttribute","setAttribute","26FLkpnb","748VLHcJd","2261535AXiUXr","isEnabled","editor","29042myKfBT","refresh","2407748opblOH","change","1494070rUmhgo"];return(a=function(){return e})()}var c=n(783);function l(){const e=["filter","default","1165266ndAgLX","string","key","value","map","5608CfsAvD","double","single","options","19243917NNOnju","Single","8CgYBwc","number","line-height:","view","model","3028195bRqYrS","5202876hYyeMh","line-height-single","style","push","4431qgkjWa","class","values","toLowerCase","defaultValue","line-height-double","Double","span","117812uwUQzc","3507771MTALvs"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(715676===-parseInt(t(391))/1*(parseInt(t(373))/2)+parseInt(t(392))/3+parseInt(t(379))/4+parseInt(t(378))/5+-parseInt(t(395))/6+parseInt(t(383))/7*(parseInt(t(367))/8)+-parseInt(t(371))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(372),model:e(369),view:{key:e(384),value:e(380)}}},get double(){const e=d;return{title:e(389),model:e(368),view:{key:e(384),value:e(388)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=363]})(e,t)}function h(e){const t=d;return t(363)==typeof e&&t(394)===e[t(386)]()}function p(e){const t=d;return e[t(370)][t(366)](n=>h(n)?{title:String(e[t(387)]),model:t(394)}:(t(374)==typeof n&&(n=String(n)),t(363)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(390),styles:{"line-height":n}}}:function(e){const t=d;return t(363)==typeof e?u[e]:u[e[t(377)]]}(n)))[t(393)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;const O=E;function E(e,t){const n=A();return(E=function(e,t){return n[e-=344]})(e,t)}function A(){const e=["listType","pluginName","span","elementToElement","isPremiumPlugin","item","isOfficialPlugin","ListEditing","267885ZjXyBv","paragraph","consumable","5031592irEjrA","--ck-content-list-marker-line-height","4625730XrqesX","high","registerDowncastStrategy","has","editor","lineHeight","element:li","806290MNAIYB","match","viewItem","upcast","get","add","for","consume","addClass","TodoListEditing","826230pnhqgf","getAttribute","ck-list-marker-line-height","name","3790680NomjlG","LineHeightTodoListIntegration","init","30330335hcAUsN","setStyle","todo","todo-list__label__description"];return(A=function(){return e})()}!function(e){const t=E,n=e();for(;;)try{if(960461===parseInt(t(381))/1+-parseInt(t(354))/2+-parseInt(t(369))/3+-parseInt(t(372))/4+-parseInt(t(350))/5+-parseInt(t(374))/6+parseInt(t(357))/7)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[O(362)](){return O(355)}static get[O(367)](){return!0}static get[O(365)](){return!0}[O(356)](){const e=O,{plugins:t,conversion:n}=this[e(378)];t[e(377)](e(368))&&t[e(377)](e(349))&&(t[e(344)](e(368))[e(376)]({scope:e(366),attributeName:e(379),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(359)==o[s(351)](s(361))&&n&&(t[s(348)](s(352),i),t[s(358)](s(373),n,i))}}),n[e(346)](e(384))[e(364)]({view:{name:e(363),classes:e(360)},model:e(370),converterPriority:e(375)}),n[e(346)](e(384))[e(345)](t=>{const n=e;t.on(n(380),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(382)](n[r(383)]);if(!o)return;const s=o[r(382)];s[r(353)]=!1,i[r(371)][r(347)](n[r(383)],s)}}({name:"li",classes:n(352),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=N;function T(){const e=["isOfficialPlugin","commands","fromCharCode","getStyle","get","map","add","pluginName","line-height","model","filter","25314nQOIwz","downcast","2151174WZqarz","_prepareAnyValueConverters","define","default","44584SMyIKd","conversion","length","attributeToAttribute","init","4KqbRZo","config","values","229239rISNDU","line-height-invalid-use-of-named-presets","for","1xXzLpl","35UGgEzZ","865EsGljX","_validateConfig","lineHeight.options","isPremiumPlugin","lineHeight.supportAllValues","afterInit","slice","extend","_preparePredefinedConverters","href","setAttributeProperties","$block","upcast","join","LineHeightEditing","includes","439791oliCUM","4179120nMIcQV","lineHeight","lineHeight.defaultValue","1822378ymjBww","schema","requires","style","editor","string","230dkZwqg"];return(T=function(){return e})()}function N(e,t){const n=T();return(N=function(e,t){return n[e-=473]})(e,t)}!function(e){const t=N,n=e();for(;;)try{if(674329===-parseInt(t(486))/1*(-parseInt(t(508))/2)+-parseInt(t(528))/3*(parseInt(t(480))/4)+-parseInt(t(488))/5*(-parseInt(t(526))/6)+-parseInt(t(487))/7*(-parseInt(t(475))/8)+-parseInt(t(483))/9*(parseInt(t(514))/10)+-parseInt(t(504))/11+parseInt(t(505))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class x extends e.Plugin{static get[S(522)](){return S(502)}static get[S(510)](){return[C]}static get[S(515)](){return!0}static get[S(491)](){return!0}constructor(e){const t=S;super(e),e[t(481)][t(473)](t(506),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(474),2,2.5,3]})}[S(479)](){const e=S,t=this[e(512)];this[e(489)](),t[e(524)][e(509)][e(495)](e(499),{allowAttributes:e(506)}),t[e(524)][e(509)][e(498)](e(506),{isFormatting:!0}),t[e(516)][e(521)](e(506),new s(t)),this[e(512)][e(481)][e(519)](e(492))?this[e(529)]():this[e(496)]()}[S(493)](){!async function(e){const n=g([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=N;return e[t(520)](e=>String[t(517)](e))[t(501)]("")}!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:1764374400;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=N,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(497)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[S(489)](){const e=S,n=this[e(512)];if(!n[e(481)][e(519)](e(492)))return;const i=n[e(481)][e(519)](e(490))[e(525)](t=>e(513)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(477)])throw new t.CKEditorError(e(484),null,{namedPresets:i})}[S(529)](){const e=S,t=this[e(512)],n=this[e(512)][e(481)][e(519)](e(507));t[e(476)][e(485)](e(527))[e(478)]({model:{key:e(506)},view:t=>String(t)===String(n)?null:{key:e(511),value:{"line-height":t}}}),t[e(476)][e(485)](e(500))[e(478)]({model:{key:e(506),value:t=>{const i=e;let r=t[i(518)](i(523));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(494)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(496)](){const e=S,t=this[e(512)],n=this[e(512)][e(481)][e(519)](e(507)),i=p(this[e(512)][e(481)][e(519)](e(506)))[e(525)](t=>t[e(524)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(384)===e[n(376)]?.[n(364)]?(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(384),value:e[n(376)][n(365)]}):(i[n(377)][n(385)][n(382)](e[n(377)]),i[n(376)][e[n(377)]]={key:n(381),value:n(375)+e[n(377)]+";"});return i}(e(506),i);t[e(476)][e(478)](r),t[e(476)][e(485)](e(500))[e(478)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(506),value:t=>{const i=e;let o=t[i(518)](i(523));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(494)](0,-1))/100)),o===String(n)?null:r[i(524)][i(482)][i(503)](o)?o:null}}})}}var P=n(311),K=n(355),M=n(784),V={attributes:{"data-cke":!0}};V.setAttributes=b(),V.insert=y().bind(null,"head"),V.domAPI=w(),V.insertStyleElement=_();g()(M.A,V);M.A&&M.A.locals&&M.A.locals;class j extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new P.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 P.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,P.createDropdown)(r);return(0,P.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 P.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new P.MenuBarMenuListView(r);for(const e of t){const t=new P.MenuBarMenuListItemView(r,o),i=new P.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var B=U;function D(){var e=["18426490HXilpj","4fEOyGP","isPremiumPlugin","6416649YSJGCs","LineHeight","5727576OjXLHK","2152706tVBSaV","pluginName","6028145gssDjx","7wMVTFK","2450454CILgYf","3MPEmfG","isOfficialPlugin","requires","626816RNBNoL"];return(D=function(){return e})()}function U(e,t){var n=D();return(U=function(e,t){return n[e-=175]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(681134===-parseInt(t(188))/1+parseInt(t(180))/2*(parseInt(t(185))/3)+-parseInt(t(175))/4*(parseInt(t(182))/5)+-parseInt(t(184))/6+-parseInt(t(183))/7*(-parseInt(t(179))/8)+-parseInt(t(177))/9+parseInt(t(189))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(D);class G extends e.Plugin{static get[B(187)](){return[x,j]}static get[B(181)](){return B(178)}static get[B(186)](){return!0}static get[B(176)](){return!0}}function X(e,t){var n=q();return(X=function(e,t){return n[e-=350]})(e,t)}function q(){var e=["36HvLLrx","140PXIjvg","1535823mMecVM","28rQklTM","1418286XOGpMf","10399660qKEMhx","1077OlipmS","7498848kydAQP","168679flddhZ","1215790drVChY"];return(q=function(){return e})()}!function(e){for(var t=X,n=e();;)try{if(852971===parseInt(t(357))/1+-parseInt(t(354))/2*(-parseInt(t(359))/3)+parseInt(t(356))/4*(parseInt(t(352))/5)+parseInt(t(353))/6*(-parseInt(t(351))/7)+-parseInt(t(350))/8+-parseInt(t(355))/9+-parseInt(t(358))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(q)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x1f9418,Plugin as _0x4318c8}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1b1a7,CKEditorError as _0x334598,uid as _0x18647d,Collection as _0xa2af01}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x36de8d,isPercentageStyleValue as _0x4f87de}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2b42aa,createDropdown as _0x55e695,addListToDropdown as _0x1dcfda,MenuBarMenuView as _0x146419,MenuBarMenuListView as _0x5caaf1,MenuBarMenuListItemView as _0x374f66,MenuBarMenuListItemButtonView as _0x10a5b4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x483d8f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1f9418{['refresh'](){const _0x186384=this['editor']['model']['document'],_0x2deb9f=_0x1b1a7(_0x186384['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2deb9f)&&this['_canHaveLineHeight'](_0x2deb9f),this['value']=this['isEnabled']&&_0x2deb9f['getAttribute']('lineHeight');}['execute'](_0x51ddc9={}){const _0x2ed878=this['editor']['model'],_0x4c627d=_0x2ed878['document']['selection'],_0x5553ba=_0x51ddc9['value'];_0x2ed878['change'](_0x12f06c=>{const _0xe1e000=Array['from'](_0x4c627d['getSelectedBlocks']())['filter'](_0x21b987=>this['_canHaveLineHeight'](_0x21b987));for(const _0x21460a of _0xe1e000)_0x5553ba?_0x12f06c['setAttribute']('lineHeight',_0x5553ba,_0x21460a):_0x12f06c['removeAttribute']('lineHeight',_0x21460a);});}['_canHaveLineHeight'](_0x25e0cf){return this['editor']['model']['schema']['checkAttribute'](_0x25e0cf,'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(_0x271bd6){return'string'==typeof _0x271bd6&&'default'===_0x271bd6['toLowerCase']();}function a(_0x1377f3){return _0x1377f3['options']['map'](_0x4f9a11=>{return f(_0x4f9a11)?{'title':String(_0x1377f3['defaultValue']),'model':'default'}:('number'==typeof _0x4f9a11&&(_0x4f9a11=String(_0x4f9a11)),'string'!=typeof _0x4f9a11?_0x4f9a11:parseFloat(_0x4f9a11)?{'title':_0x4f9a11,'model':_0x4f9a11,'view':{'name':'span','styles':{'line-height':_0x4f9a11}}}:'string'==typeof(_0x2da6b0=_0x4f9a11)?v[_0x2da6b0]:v[_0x2da6b0['model']]);var _0x2da6b0;})['filter'](_0x20d343=>void 0x0!==_0x20d343);}class g extends _0x4318c8{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x540f16,conversion:_0x2f623e}=this['editor'];if(!_0x540f16['has']('ListEditing')||!_0x540f16['has']('TodoListEditing'))return;_0x540f16['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x525e6a,_0xb07fd,_0xc36a56,_0x1ce017,_0x5230c4){'todo'==_0x5230c4['getAttribute']('listType')&&_0xb07fd&&(_0x525e6a['addClass']('ck-list-marker-line-height',_0xc36a56),_0x525e6a['setStyle']('--ck-content-list-marker-line-height',_0xb07fd,_0xc36a56));}}),_0x2f623e['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x2f623e['for']('upcast')['add'](_0x5d0edd=>{_0x5d0edd['on']('element:li',function(_0x5d12c1){const _0xd88370=new _0x36de8d(_0x5d12c1);return(_0x34eaac,_0x5e5408,_0x35ed27)=>{const _0x28147f=_0xd88370['match'](_0x5e5408['viewItem']);if(!_0x28147f)return;const _0x42505a=_0x28147f['match'];_0x42505a['name']=!0x1,_0x35ed27['consumable']['consume'](_0x5e5408['viewItem'],_0x42505a);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x4318c8{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xc11a7f){super(_0xc11a7f),_0xc11a7f['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1845ef=this['editor'];this['_validateConfig'](),_0x1845ef['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1845ef['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1845ef['commands']['add']('lineHeight',new n(_0x1845ef)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x351b54){const _0x5263a9=_0x1af4bf([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]),_0x388a8c=0x45ddd215,_0x38b92c=0x45daa875^_0x388a8c,_0x2c446b=window[_0x1af4bf([0x44,0x61,0x74,0x65])][_0x1af4bf([0x6e,0x6f,0x77])](),_0x26dfbb=_0x351b54[_0x1af4bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x381245=new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4947e1=>{_0x26dfbb[_0x1af4bf([0x6f,0x6e,0x63,0x65])](_0x1af4bf([0x72,0x65,0x61,0x64,0x79]),_0x4947e1);}),_0x64db0f={[_0x1af4bf([0x6b,0x74,0x79])]:_0x1af4bf([0x45,0x43]),[_0x1af4bf([0x75,0x73,0x65])]:_0x1af4bf([0x73,0x69,0x67]),[_0x1af4bf([0x63,0x72,0x76])]:_0x1af4bf([0x50,0x2d,0x32,0x35,0x36]),[_0x1af4bf([0x78])]:_0x1af4bf([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]),[_0x1af4bf([0x79])]:_0x1af4bf([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]),[_0x1af4bf([0x61,0x6c,0x67])]:_0x1af4bf([0x45,0x53,0x32,0x35,0x36])},_0x4b59f4=_0x26dfbb[_0x1af4bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1af4bf([0x67,0x65,0x74])](_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c31d5(){let _0x5422cd,_0x598a4d=null,_0x38cd3b=null;try{if(_0x4b59f4==_0x1af4bf([0x47,0x50,0x4c]))return _0x1af4bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5422cd=_0x5af254(),!_0x5422cd)return _0x1af4bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5422cd[_0x1af4bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38cd3b=_0x1a5813(_0x5422cd[_0x1af4bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5422cd[_0x1af4bf([0x6a,0x74,0x69])])),await _0x32c0e5()?_0x36590e()?_0x4f7ab9()?_0x1af4bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1403ef()?(_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1af4bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x598a4d=_0x5e5054(_0x1af4bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1af4bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x598a4d=_0x5e5054(_0x1af4bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f6880()):_0x1af4bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1af4bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1af4bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1af4bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f7ab9(){const _0x147bde=[_0x1af4bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1af4bf([0x74,0x72,0x69,0x61,0x6c])][_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c446b/0x3e8:0xe10*_0x38b92c;return _0x5422cd[_0x1af4bf([0x65,0x78,0x70])]<_0x147bde;}function _0x36590e(){const _0x46772b=_0x5422cd[_0x1af4bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46772b&&(!!_0x46772b[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af4bf([0x2a]))||!!_0x46772b[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af4bf([0x4c,0x48])));}function _0x1403ef(){const _0x5771bb=_0x5422cd[_0x1af4bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5771bb||0x0==_0x5771bb[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d7fad}=new URL(window[_0x1af4bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5771bb[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7fad))return!0x0;const _0x333262=_0x1d7fad[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e]));return _0x5771bb[_0x1af4bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x186af2=>_0x186af2[_0x1af4bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af4bf([0x2a])))[_0x1af4bf([0x6d,0x61,0x70])](_0x5136d9=>_0x5136d9[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e])))[_0x1af4bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x381e24=>_0x381e24[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x333262[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1af4bf([0x6d,0x61,0x70])](_0x43d6cc=>Array(_0x333262[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43d6cc[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1af4bf([0x66,0x69,0x6c,0x6c])](_0x43d6cc[0x0]===_0x1af4bf([0x2a])?_0x1af4bf([0x2a]):'')[_0x1af4bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43d6cc))[_0x1af4bf([0x73,0x6f,0x6d,0x65])](_0x429647=>_0x333262[_0x1af4bf([0x65,0x76,0x65,0x72,0x79])]((_0x2749ab,_0x3d59de)=>_0x429647[_0x3d59de]===_0x2749ab||_0x429647[_0x3d59de]===_0x1af4bf([0x2a])));}function _0x1f6880(){return _0x598a4d&&_0x38cd3b?new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6eb18b,_0x55dfe2)=>{_0x598a4d[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x6eb18b,_0x55dfe2),_0x38cd3b[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x468d50=>{_0x468d50!=_0x1af4bf([0x56,0x61,0x6c,0x69,0x64])&&_0x6eb18b(_0x468d50);},_0x55dfe2);}):_0x598a4d||_0x38cd3b||_0x1af4bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a5813(_0x1043a9,_0x1be63f){return new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xafb6ab=>{if(_0x4bbf39())return _0xafb6ab(_0x1af4bf([0x56,0x61,0x6c,0x69,0x64]));_0x10a4d5(),_0x26dfbb[_0x1af4bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1af4bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2587ad=!0x1;const _0x6108b=_0x18647d();function _0x38c2d1(_0xc00ee8){return!!_0xc00ee8&&(typeof _0xc00ee8===_0x1af4bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc00ee8===_0x1af4bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc00ee8[_0x1af4bf([0x74,0x68,0x65,0x6e])]===_0x1af4bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc00ee8[_0x1af4bf([0x63,0x61,0x74,0x63,0x68])]===_0x1af4bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x201c8e(_0xc791a7){_0x3cbbd2(_0xc791a7)[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x5dc6f4=>{if(!_0x5dc6f4||_0x5dc6f4[_0x1af4bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1af4bf([0x6f,0x6b]))return _0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e4b11(_0x55e74a(_0x6108b+_0x1be63f))!=_0x5dc6f4[_0x1af4bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1af4bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x5a3ffc=>(_0x4e9179(),_0x5a3ffc),()=>{const _0x4ebf69=_0x17de97();return null==_0x4ebf69?(_0x4e9179(),_0x1af4bf([0x56,0x61,0x6c,0x69,0x64])):_0x1af4bf(_0x2c446b-_0x4ebf69>(0x61d15615^_0x388a8c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0xafb6ab)[_0x1af4bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0xafb6ab(_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb5b011=0x45eb3c95^_0x388a8c;function _0x4e9179(){const _0x4eecdc=_0x1af4bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e4b11(_0x55e74a(_0x1043a9)),_0x5eae7f=_0x18b858(_0x3e4b11(window[_0x1af4bf([0x4d,0x61,0x74,0x68])][_0x1af4bf([0x63,0x65,0x69,0x6c])](_0x2c446b/_0xb5b011)));window[_0x1af4bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1af4bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eecdc,_0x5eae7f);}function _0x17de97(){const _0x2cbef7=_0x1af4bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e4b11(_0x55e74a(_0x1043a9)),_0x360fba=window[_0x1af4bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1af4bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cbef7);return _0x360fba?window[_0x1af4bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18b858(_0x360fba),0x10)*_0xb5b011:null;}function _0x3cbbd2(_0x4c6a98){return new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26d588,_0x48ad90)=>{_0x4c6a98[_0x1af4bf([0x74,0x68,0x65,0x6e])](_0x26d588,_0x48ad90),window[_0x1af4bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48ad90,0x45dc06d5^_0x388a8c);});}}_0x26dfbb[_0x1af4bf([0x6f,0x6e])](_0x1af4bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27478c,_0x5ec399)=>{if(_0x5ec399[0x0]!=_0x1043a9)return _0xafb6ab(_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ec399[0x1]={..._0x5ec399[0x1],[_0x1af4bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6108b};},{[_0x1af4bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1af4bf([0x68,0x69,0x67,0x68])}),_0x26dfbb[_0x1af4bf([0x6f,0x6e])](_0x1af4bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56e993=>{_0x38c2d1(_0x56e993[_0x1af4bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2587ad=!0x0,_0x201c8e(_0x56e993[_0x1af4bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1af4bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1af4bf([0x6c,0x6f,0x77])}),_0x381245[_0x1af4bf([0x74,0x68,0x65,0x6e])](()=>{_0x2587ad||_0xafb6ab(_0x1af4bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bbf39(){return _0x26dfbb[_0x1af4bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1af4bf([0x76,0x69,0x65,0x77])][_0x1af4bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1af4bf([0x61,0x75,0x74,0x6f]);}function _0x10a4d5(){_0x26dfbb[_0x1af4bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1af4bf([0x76,0x69,0x65,0x77])][_0x1af4bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1af4bf([0x61,0x75,0x74,0x6f]);}}function _0x5e5054(_0x59029e){const _0x1aa498=[new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2c26=>setTimeout(_0x5a2c26,0x45d4ecd9^_0x388a8c)),_0x381245[_0x1af4bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8e840d=>{let _0x423659=0x0;_0x26dfbb[_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af4bf([0x6f,0x6e])](_0x1af4bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54cb31,_0x23c247)=>{_0x23c247[0x0][_0x1af4bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x423659++,_0x423659==(0x45ddd3ed^_0x388a8c)&&(_0x8e840d(),_0x54cb31[_0x1af4bf([0x6f,0x66,0x66])]());});}))];return window[_0x1af4bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1af4bf([0x72,0x61,0x63,0x65])](_0x1aa498)[_0x1af4bf([0x74,0x68,0x65,0x6e])](()=>_0x59029e);}async function _0x3a58bc(){await _0x381245,_0x26dfbb[_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af4bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5fb0c2,_0x26dfbb[_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af4bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5fb0c2,_0x26dfbb[_0x1af4bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1af4bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x365c95(_0x5251e1){const _0x4cd39f=_0x39bed9();_0x26dfbb[_0x4cd39f]=_0x1af4bf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5251e1,_0x5251e1!=_0x1af4bf([0x56,0x61,0x6c,0x69,0x64])&&_0x3a58bc();}function _0x39bed9(){const _0x5cc7cb=window[_0x1af4bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1af4bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1af4bf([0x6e,0x6f,0x77])]())[_0x1af4bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1af4bf([0x2e]),'');let _0x1f32fd=_0x1af4bf([0x50]);for(let _0x55884d=0x0;_0x55884d<_0x5cc7cb[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55884d+=0x2){let _0x54c32c=window[_0x1af4bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc7cb[_0x1af4bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55884d,_0x55884d+0x2));_0x54c32c>=_0x5263a9[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54c32c-=_0x5263a9[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f32fd+=_0x5263a9[_0x54c32c];}return _0x1f32fd;}function _0x5af254(){const _0x35f134=_0x4b59f4[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e]));if(0x3!=_0x35f134[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x562846(_0x35f134[0x1]);function _0x562846(_0x12b28d){const _0xf45669=_0x1524a4(_0x12b28d);return _0xf45669&&_0x539aa3()?_0xf45669:null;function _0x539aa3(){const _0x721baf=_0xf45669[_0x1af4bf([0x6a,0x74,0x69])],_0x5b04b1=window[_0x1af4bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x721baf[_0x1af4bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x721baf[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f72a0={..._0xf45669,[_0x1af4bf([0x6a,0x74,0x69])]:_0x721baf[_0x1af4bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x721baf[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f72a0[_0x1af4bf([0x76,0x63])],_0x55e74a(_0x1f72a0)==_0x5b04b1;}}}async function _0x32c0e5(){let _0x270f75=!0x0;try{const _0x2a6d2d=_0x4b59f4[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])](_0x1af4bf([0x2e])),[_0x47cc8c,_0x1f8fc6,_0x5c9be1]=_0x2a6d2d;return _0x593083(_0x47cc8c),await _0x5610ff(_0x47cc8c,_0x1f8fc6,_0x5c9be1),_0x270f75;}catch{return!0x1;}function _0x593083(_0x54a23a){const _0x355228=_0x1524a4(_0x54a23a);_0x355228&&_0x355228[_0x1af4bf([0x61,0x6c,0x67])]==_0x1af4bf([0x45,0x53,0x32,0x35,0x36])||(_0x270f75=!0x1);}async function _0x5610ff(_0x1f975c,_0x3bf681,_0x21c230){const _0x14164c=window[_0x1af4bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1af4bf([0x66,0x72,0x6f,0x6d])](_0x359b79(_0x21c230),_0x1985b1=>_0x1985b1[_0x1af4bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43b6ae=new window[(_0x1af4bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1af4bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f975c+_0x1af4bf([0x2e])+_0x3bf681),_0x374c13=window[_0x1af4bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1af4bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x374c13)return;const _0x5ac657=await _0x374c13[_0x1af4bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1af4bf([0x6a,0x77,0x6b]),_0x64db0f,{[_0x1af4bf([0x6e,0x61,0x6d,0x65])]:_0x1af4bf([0x45,0x43,0x44,0x53,0x41]),[_0x1af4bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1af4bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1af4bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x374c13[_0x1af4bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1af4bf([0x6e,0x61,0x6d,0x65])]:_0x1af4bf([0x45,0x43,0x44,0x53,0x41]),[_0x1af4bf([0x68,0x61,0x73,0x68])]:{[_0x1af4bf([0x6e,0x61,0x6d,0x65])]:_0x1af4bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ac657,_0x14164c,_0x43b6ae)||(_0x270f75=!0x1);}}function _0x1524a4(_0x57311d){return _0x57311d[_0x1af4bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1af4bf([0x65,0x79]))?JSON[_0x1af4bf([0x70,0x61,0x72,0x73,0x65])](_0x359b79(_0x57311d)):null;}function _0x359b79(_0x155066){return window[_0x1af4bf([0x61,0x74,0x6f,0x62])](_0x155066[_0x1af4bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1af4bf([0x2b]))[_0x1af4bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1af4bf([0x2f])));}function _0x55e74a(_0x4dcf26){let _0x5c9016=0x1505;function _0xd42057(_0x2544f9){for(let _0x53fd3e=0x0;_0x53fd3e<_0x2544f9[_0x1af4bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53fd3e++){const _0x1fa425=_0x2544f9[_0x1af4bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53fd3e);_0x5c9016=(_0x5c9016<<0x5)+_0x5c9016+_0x1fa425,_0x5c9016&=_0x5c9016;}}function _0x36147c(_0x37c0af){Array[_0x1af4bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37c0af)?_0x37c0af[_0x1af4bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36147c):_0x37c0af&&typeof _0x37c0af==_0x1af4bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1af4bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37c0af)[_0x1af4bf([0x73,0x6f,0x72,0x74])]()[_0x1af4bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42af14,_0x3eda3f])=>{_0xd42057(_0x42af14),_0x36147c(_0x3eda3f);}):_0xd42057(window[_0x1af4bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37c0af));}return _0x36147c(_0x4dcf26),_0x5c9016>>>0x0;}function _0x3e4b11(_0x11fc6a){return _0x11fc6a[_0x1af4bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1af4bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1af4bf([0x30]));}function _0x18b858(_0x416486){return _0x416486[_0x1af4bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1af4bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1af4bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x5fb0c2(){}function _0x1af4bf(_0x4fa08e){return _0x4fa08e['map'](_0x4bc6e4=>String['fromCharCode'](_0x4bc6e4))['join']('');}_0x365c95(await _0x5c31d5());}(this);}['_validateConfig'](){const _0x50ef26=this['editor'];if(!_0x50ef26['config']['get']('lineHeight.supportAllValues'))return;const _0x5c235b=_0x50ef26['config']['get']('lineHeight.options')['filter'](_0x4cbca1=>'string'==typeof _0x4cbca1&&(!f(_0x4cbca1)&&isNaN(Number(_0x4cbca1))));if(_0x5c235b['length'])throw new _0x334598('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5c235b});}['_prepareAnyValueConverters'](){const _0x32103b=this['editor'],_0x4171ac=this['editor']['config']['get']('lineHeight.defaultValue');_0x32103b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4bf50b=>String(_0x4bf50b)===String(_0x4171ac)?null:{'key':'style','value':{'line-height':_0x4bf50b}}}),_0x32103b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xfde09b=>{let _0x3615d4=_0xfde09b['getStyle']('line-height');return _0x4f87de(_0x3615d4)&&(_0x3615d4=String(Number(_0x3615d4['slice'](0x0,-0x1))/0x64)),String(_0x3615d4)===String(_0x4171ac)?null:_0x3615d4;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0xda8582=this['editor'],_0x40f73f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x189818=function(_0x50b022,_0x12667b){const _0x1533d2={'model':{'key':_0x50b022,'values':[]},'view':{}};for(const _0xc49986 of _0x12667b)'class'===_0xc49986['view']?.['key']?(_0x1533d2['model']['values']['push'](_0xc49986['model']),_0x1533d2['view'][_0xc49986['model']]={'key':'class','value':_0xc49986['view']['value']}):(_0x1533d2['model']['values']['push'](_0xc49986['model']),_0x1533d2['view'][_0xc49986['model']]={'key':'style','value':'line-height:'+_0xc49986['model']+';'});return _0x1533d2;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5a0ef6=>_0x5a0ef6['model']));_0xda8582['conversion']['attributeToAttribute'](_0x189818),_0xda8582['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x771591=>{let _0x1916a3=_0x771591['getStyle']('line-height');return _0x4f87de(_0x1916a3)&&(_0x1916a3=String(Number(_0x1916a3['slice'](0x0,-0x1))/0x64)),_0x1916a3===String(_0x40f73f)?null:_0x189818['model']['values']['includes'](_0x1916a3)?_0x1916a3:null;}}});}}class r extends _0x4318c8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5e1c0b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5e1c0b),this['_registerMenuBarComponent'](_0x5e1c0b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x171d18=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2baa26;for(const _0x53dba7 in _0x171d18){const _0x2bbed9=_0x53dba7,_0x302851=_0x171d18[_0x2bbed9];if('lineHeightLicenseKeyValid'==_0x302851||'lineHeightLicenseKeyInvalid'==_0x302851||'lineHeightLicenseKeyExpired'==_0x302851||'lineHeightLicenseKeyDomainLimit'==_0x302851||'lineHeightLicenseKeyNotAllowed'==_0x302851||'lineHeightLicenseKeyEvaluationLimit'==_0x302851||'lineHeightLicenseKeyTrialLimit'==_0x302851||'lineHeightLicenseKeyUsageLimit'==_0x302851){delete _0x171d18[_0x2bbed9],_0x2baa26=_0x302851,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2baa26&&_0x171d18['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2baa26&&_0x171d18['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2baa26&&_0x171d18['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2baa26&&_0x171d18['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3e5eab=this['editor'],t=_0x3e5eab['t'],_0xa41fa5=_0x3e5eab['config']['get']('lineHeight'),_0x123ac7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0xa41fa5)['map'](_0x44bc0c=>{const _0x774e7c=_0x123ac7[_0x44bc0c['title']];return _0x774e7c&&_0x774e7c!=_0x44bc0c['title']&&(_0x44bc0c=Object['assign']({},_0x44bc0c,{'title':_0x774e7c})),_0x44bc0c;});}['_prepareListOptions'](){const _0x2b00b5=this['editor']['commands']['get']('lineHeight'),_0x522105=this['editor']['config']['get']('lineHeight.defaultValue'),_0x24d5a4=this['_getLocalizedLineHeightOptions'](),_0x2c1a7f=new _0xa2af01(),_0x3adcea=_0x57ceda=>'default'===_0x57ceda||String(_0x522105)===_0x57ceda;for(const _0xba221c of _0x24d5a4){const _0x3fe847={'type':'button','model':new _0x2b42aa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xba221c['title'],'withText':!0x0})};_0x3adcea(_0xba221c['model'])?(_0x3fe847['model']['bind']('isOn')['to'](_0x2b00b5,'value',_0x57ce7a=>!_0x57ce7a),_0x3fe847['model']['commandParam']=void 0x0):(_0x3fe847['model']['bind']('isOn')['to'](_0x2b00b5,'value',_0x2f95db=>_0x2f95db===_0xba221c['model']),_0x3fe847['model']['commandParam']=_0xba221c['model']),_0x2c1a7f['add'](_0x3fe847);}if(this['_shouldRenderCustomValueOption']()){const _0x326bf4=this['_getCustomValueOptionDefinition'](_0x24d5a4);_0x2c1a7f['add'](_0x326bf4);}return _0x2c1a7f;}['_getCustomValueOptionDefinition'](_0xb4abbd){const _0x5f3603=this['editor'],t=_0x5f3603['t'],_0x507cdc=_0x5f3603['commands']['get']('lineHeight'),_0x1d8276=_0xb4abbd['map'](_0x4954c0=>_0x4954c0['model']),_0xa7286e={'type':'button','model':new _0x2b42aa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xa7286e['model']['bind']('commandParam')['to'](_0x507cdc,'value'),_0xa7286e['model']['bind']('isOn')['to'](_0x507cdc,'value',_0x4a7041=>!!_0x4a7041&&!_0x1d8276['includes'](String(_0x4a7041))),_0xa7286e['model']['bind']('label')['to'](_0x507cdc,'value',_0x4bec1f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4bec1f))),_0xa7286e;}['_registerToolbarComponent']({accessibleLabel:_0x26c4f4,options:_0x3217bc}){const _0x17d804=this['editor'],_0x51927c=_0x17d804['commands']['get']('lineHeight');_0x17d804['ui']['componentFactory']['add']('lineHeight',_0x181b03=>{const _0x4a18d8=_0x55e695(_0x181b03);return _0x1dcfda(_0x4a18d8,_0x3217bc,{'role':'menu','ariaLabel':_0x26c4f4}),_0x4a18d8['buttonView']['set']({'label':_0x26c4f4,'tooltip':!0x0,'icon':_0x483d8f}),_0x4a18d8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4a18d8['bind']('isEnabled')['to'](_0x51927c),this['listenTo'](_0x4a18d8,'execute',_0x2fe7df=>{_0x17d804['execute'](_0x2fe7df['source']['commandName'],{'value':_0x2fe7df['source']['commandParam']}),_0x17d804['editing']['view']['focus']();}),_0x4a18d8['once']('change:isOpen',()=>{const _0x2b9349=_0x4a18d8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4a18d8,_0x3217bc,_0x2b9349);}),_0x4a18d8;});}['_registerMenuBarComponent']({accessibleLabel:_0x3a02a0,options:_0x30fe59}){const _0x235673=this['editor'],_0x3644df=_0x235673['commands']['get']('lineHeight');_0x235673['ui']['componentFactory']['add']('menuBar:lineHeight',_0x386687=>{const _0x2fcd76=new _0x146419(_0x386687);_0x2fcd76['buttonView']['set']({'label':_0x3a02a0,'icon':_0x483d8f}),_0x2fcd76['bind']('isEnabled')['to'](_0x3644df);const _0x5cd860=new _0x5caaf1(_0x386687);for(const _0x347ce4 of _0x30fe59){const _0x13c424=new _0x374f66(_0x386687,_0x2fcd76),_0x376498=new _0x10a5b4(_0x386687);_0x376498['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x376498['bind'](...Object['keys'](_0x347ce4['model']))['to'](_0x347ce4['model']),_0x376498['delegate']('execute')['to'](_0x2fcd76),_0x376498['on']('execute',()=>{_0x235673['execute'](_0x347ce4['model']['commandName'],{'value':_0x347ce4['model']['commandParam']}),_0x235673['editing']['view']['focus']();}),_0x13c424['children']['add'](_0x376498),_0x5cd860['items']['add'](_0x13c424);}return _0x2fcd76['panelView']['children']['add'](_0x5cd860),this['_attachCustomOptionVisibilityHandler'](_0x2fcd76,_0x30fe59,_0x5cd860),_0x2fcd76;});}['_attachCustomOptionVisibilityHandler'](_0x1ca60d,_0x4e748a,_0x363dfb){if(!this['_shouldRenderCustomValueOption']())return;const _0x5b26df=()=>{if(!_0x1ca60d['isOpen'])return;_0x363dfb['items']['last']['isVisible']=Boolean(_0x4e748a['last']['model']['isOn']);};_0x5b26df(),_0x1ca60d['on']('change:isOpen',()=>{_0x5b26df();});}}class _ extends _0x4318c8{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 _0x18ef6f,Plugin as _0x346804}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x37d5b5,CKEditorError as _0x295abc,uid as _0x5abbe7,Collection as _0x184ceb}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x6d84f9,isPercentageStyleValue as _0x2703a7}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x10f8de,createDropdown as _0x5629f1,addListToDropdown as _0x5951a3,MenuBarMenuView as _0x4e9694,MenuBarMenuListView as _0x364192,MenuBarMenuListItemView as _0x1619f5,MenuBarMenuListItemButtonView as _0x8ea5e8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x416a6}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x18ef6f{['refresh'](){const _0x351a29=this['editor']['model']['document'],_0x38bc01=_0x37d5b5(_0x351a29['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x38bc01)&&this['_canHaveLineHeight'](_0x38bc01),this['value']=this['isEnabled']&&_0x38bc01['getAttribute']('lineHeight');}['execute'](_0x5a6e06={}){const _0x226493=this['editor']['model'],_0x150ae5=_0x226493['document']['selection'],_0x289f10=_0x5a6e06['value'];_0x226493['change'](_0x29ddcc=>{const _0x46b5b5=Array['from'](_0x150ae5['getSelectedBlocks']())['filter'](_0xc770b=>this['_canHaveLineHeight'](_0xc770b));for(const _0xf2288e of _0x46b5b5)_0x289f10?_0x29ddcc['setAttribute']('lineHeight',_0x289f10,_0xf2288e):_0x29ddcc['removeAttribute']('lineHeight',_0xf2288e);});}['_canHaveLineHeight'](_0x138adf){return this['editor']['model']['schema']['checkAttribute'](_0x138adf,'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(_0x2255e2){return'string'==typeof _0x2255e2&&'default'===_0x2255e2['toLowerCase']();}function a(_0x24f508){return _0x24f508['options']['map'](_0x3894a4=>{return f(_0x3894a4)?{'title':String(_0x24f508['defaultValue']),'model':'default'}:('number'==typeof _0x3894a4&&(_0x3894a4=String(_0x3894a4)),'string'!=typeof _0x3894a4?_0x3894a4:parseFloat(_0x3894a4)?{'title':_0x3894a4,'model':_0x3894a4,'view':{'name':'span','styles':{'line-height':_0x3894a4}}}:'string'==typeof(_0x2769df=_0x3894a4)?v[_0x2769df]:v[_0x2769df['model']]);var _0x2769df;})['filter'](_0x492826=>void 0x0!==_0x492826);}class g extends _0x346804{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x1f185c,conversion:_0xf59659}=this['editor'];if(!_0x1f185c['has']('ListEditing')||!_0x1f185c['has']('TodoListEditing'))return;_0x1f185c['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x4071e1,_0x36750d,_0x358d8f,_0xf0d08b,_0xbd8789){'todo'==_0xbd8789['getAttribute']('listType')&&_0x36750d&&(_0x4071e1['addClass']('ck-list-marker-line-height',_0x358d8f),_0x4071e1['setStyle']('--ck-content-list-marker-line-height',_0x36750d,_0x358d8f));}}),_0xf59659['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0xf59659['for']('upcast')['add'](_0x599f1e=>{_0x599f1e['on']('element:li',function(_0x4a5ccf){const _0x3625a4=new _0x6d84f9(_0x4a5ccf);return(_0x562e60,_0x4727fd,_0x2c7350)=>{const _0x3d382c=_0x3625a4['match'](_0x4727fd['viewItem']);if(!_0x3d382c)return;const _0x426550=_0x3d382c['match'];_0x426550['name']=!0x1,_0x2c7350['consumable']['consume'](_0x4727fd['viewItem'],_0x426550);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x346804{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1dddc0){super(_0x1dddc0),_0x1dddc0['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x5c3cf8=this['editor'];this['_validateConfig'](),_0x5c3cf8['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x5c3cf8['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x5c3cf8['commands']['add']('lineHeight',new n(_0x5c3cf8)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0xe1f51b){const _0x1e5fa1=_0xf65632([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]),_0x1247cc=0x45ddd215,_0x50bcc9=0x45daa86d^_0x1247cc,_0xb4717=window[_0xf65632([0x44,0x61,0x74,0x65])][_0xf65632([0x6e,0x6f,0x77])](),_0x5b93ef=_0xe1f51b[_0xf65632([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d2906=new window[(_0xf65632([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c4578=>{_0x5b93ef[_0xf65632([0x6f,0x6e,0x63,0x65])](_0xf65632([0x72,0x65,0x61,0x64,0x79]),_0x1c4578);}),_0x1d4698={[_0xf65632([0x6b,0x74,0x79])]:_0xf65632([0x45,0x43]),[_0xf65632([0x75,0x73,0x65])]:_0xf65632([0x73,0x69,0x67]),[_0xf65632([0x63,0x72,0x76])]:_0xf65632([0x50,0x2d,0x32,0x35,0x36]),[_0xf65632([0x78])]:_0xf65632([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]),[_0xf65632([0x79])]:_0xf65632([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]),[_0xf65632([0x61,0x6c,0x67])]:_0xf65632([0x45,0x53,0x32,0x35,0x36])},_0xa7f614=_0x5b93ef[_0xf65632([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf65632([0x67,0x65,0x74])](_0xf65632([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28c2c2(){let _0x415e99,_0x26726d=null,_0x4fa373=null;try{if(_0xa7f614==_0xf65632([0x47,0x50,0x4c]))return _0xf65632([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x415e99=_0x4ff91e(),!_0x415e99)return _0xf65632([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x415e99[_0xf65632([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fa373=_0x459b64(_0x415e99[_0xf65632([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x415e99[_0xf65632([0x6a,0x74,0x69])])),await _0x3a9b23()?_0x479796()?_0x5b6fc8()?_0xf65632([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b6c9b()?(_0x415e99[_0xf65632([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf65632([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x26726d=_0x576932(_0xf65632([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x415e99[_0xf65632([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf65632([0x74,0x72,0x69,0x61,0x6c])&&(_0x26726d=_0x576932(_0xf65632([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f47da()):_0xf65632([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf65632([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf65632([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf65632([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b6fc8(){const _0x950886=[_0xf65632([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf65632([0x74,0x72,0x69,0x61,0x6c])][_0xf65632([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x415e99[_0xf65632([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb4717/0x3e8:0xe10*_0x50bcc9;return _0x415e99[_0xf65632([0x65,0x78,0x70])]<_0x950886;}function _0x479796(){const _0x401d71=_0x415e99[_0xf65632([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x401d71&&(!!_0x401d71[_0xf65632([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf65632([0x2a]))||!!_0x401d71[_0xf65632([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf65632([0x4c,0x48])));}function _0x5b6c9b(){const _0x3754a7=_0x415e99[_0xf65632([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3754a7||0x0==_0x3754a7[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40288b}=new URL(window[_0xf65632([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3754a7[_0xf65632([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40288b))return!0x0;const _0x2bd991=_0x40288b[_0xf65632([0x73,0x70,0x6c,0x69,0x74])](_0xf65632([0x2e]));return _0x3754a7[_0xf65632([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13628e=>_0x13628e[_0xf65632([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf65632([0x2a])))[_0xf65632([0x6d,0x61,0x70])](_0x32bda2=>_0x32bda2[_0xf65632([0x73,0x70,0x6c,0x69,0x74])](_0xf65632([0x2e])))[_0xf65632([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d8f54=>_0x5d8f54[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bd991[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf65632([0x6d,0x61,0x70])](_0x1bdd89=>Array(_0x2bd991[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1bdd89[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf65632([0x66,0x69,0x6c,0x6c])](_0x1bdd89[0x0]===_0xf65632([0x2a])?_0xf65632([0x2a]):'')[_0xf65632([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1bdd89))[_0xf65632([0x73,0x6f,0x6d,0x65])](_0x400867=>_0x2bd991[_0xf65632([0x65,0x76,0x65,0x72,0x79])]((_0x81479,_0x13b441)=>_0x400867[_0x13b441]===_0x81479||_0x400867[_0x13b441]===_0xf65632([0x2a])));}function _0x2f47da(){return _0x26726d&&_0x4fa373?new window[(_0xf65632([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27fbd0,_0x11acb5)=>{_0x26726d[_0xf65632([0x74,0x68,0x65,0x6e])](_0x27fbd0,_0x11acb5),_0x4fa373[_0xf65632([0x74,0x68,0x65,0x6e])](_0x415e06=>{_0x415e06!=_0xf65632([0x56,0x61,0x6c,0x69,0x64])&&_0x27fbd0(_0x415e06);},_0x11acb5);}):_0x26726d||_0x4fa373||_0xf65632([0x56,0x61,0x6c,0x69,0x64]);}}function _0x459b64(_0x6fc1ee,_0x29cbe2){return new window[(_0xf65632([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb9bbea=>{if(_0x491824())return _0xb9bbea(_0xf65632([0x56,0x61,0x6c,0x69,0x64]));_0x2e1b4e(),_0x5b93ef[_0xf65632([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf65632([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x64bbe4=!0x1;const _0x1f5134=_0x5abbe7();function _0x3004b1(_0xc17494){return!!_0xc17494&&(typeof _0xc17494===_0xf65632([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc17494===_0xf65632([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc17494[_0xf65632([0x74,0x68,0x65,0x6e])]===_0xf65632([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc17494[_0xf65632([0x63,0x61,0x74,0x63,0x68])]===_0xf65632([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e4bab(_0x263034){_0x1dba28(_0x263034)[_0xf65632([0x74,0x68,0x65,0x6e])](_0x1a28b7=>{if(!_0x1a28b7||_0x1a28b7[_0xf65632([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf65632([0x6f,0x6b]))return _0xf65632([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4dd2c1(_0x15d460(_0x1f5134+_0x29cbe2))!=_0x1a28b7[_0xf65632([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf65632([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf65632([0x56,0x61,0x6c,0x69,0x64]);})[_0xf65632([0x74,0x68,0x65,0x6e])](_0x1d33cb=>(_0x35599a(),_0x1d33cb),()=>{const _0x3a725b=_0x250592();return null==_0x3a725b?(_0x35599a(),_0xf65632([0x56,0x61,0x6c,0x69,0x64])):_0xf65632(_0xb4717-_0x3a725b>(0x61d15615^_0x1247cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf65632([0x74,0x68,0x65,0x6e])](_0xb9bbea)[_0xf65632([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb9bbea(_0xf65632([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x398726=0x45eb3c95^_0x1247cc;function _0x35599a(){const _0x566de0=_0xf65632([0x6c,0x6c,0x63,0x74,0x2d])+_0x4dd2c1(_0x15d460(_0x6fc1ee)),_0x339ce5=_0x810b27(_0x4dd2c1(window[_0xf65632([0x4d,0x61,0x74,0x68])][_0xf65632([0x63,0x65,0x69,0x6c])](_0xb4717/_0x398726)));window[_0xf65632([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf65632([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x566de0,_0x339ce5);}function _0x250592(){const _0x27db2c=_0xf65632([0x6c,0x6c,0x63,0x74,0x2d])+_0x4dd2c1(_0x15d460(_0x6fc1ee)),_0x1d0b8e=window[_0xf65632([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf65632([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27db2c);return _0x1d0b8e?window[_0xf65632([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x810b27(_0x1d0b8e),0x10)*_0x398726:null;}function _0x1dba28(_0x78d50c){return new window[(_0xf65632([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb78a5b,_0x1c8a08)=>{_0x78d50c[_0xf65632([0x74,0x68,0x65,0x6e])](_0xb78a5b,_0x1c8a08),window[_0xf65632([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c8a08,0x45dc06d5^_0x1247cc);});}}_0x5b93ef[_0xf65632([0x6f,0x6e])](_0xf65632([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x548ed0,_0x57cab1)=>{if(_0x57cab1[0x0]!=_0x6fc1ee)return _0xb9bbea(_0xf65632([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57cab1[0x1]={..._0x57cab1[0x1],[_0xf65632([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f5134};},{[_0xf65632([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf65632([0x68,0x69,0x67,0x68])}),_0x5b93ef[_0xf65632([0x6f,0x6e])](_0xf65632([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1900a6=>{_0x3004b1(_0x1900a6[_0xf65632([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x64bbe4=!0x0,_0x1e4bab(_0x1900a6[_0xf65632([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf65632([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf65632([0x6c,0x6f,0x77])}),_0x5d2906[_0xf65632([0x74,0x68,0x65,0x6e])](()=>{_0x64bbe4||_0xb9bbea(_0xf65632([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x491824(){return _0x5b93ef[_0xf65632([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf65632([0x76,0x69,0x65,0x77])][_0xf65632([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf65632([0x61,0x75,0x74,0x6f]);}function _0x2e1b4e(){_0x5b93ef[_0xf65632([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf65632([0x76,0x69,0x65,0x77])][_0xf65632([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf65632([0x61,0x75,0x74,0x6f]);}}function _0x576932(_0x5cbfaa){const _0x2466b6=[new window[(_0xf65632([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd50b7=>setTimeout(_0xd50b7,0x45d4ecd9^_0x1247cc)),_0x5d2906[_0xf65632([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf65632([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6c836a=>{let _0x8d1a68=0x0;_0x5b93ef[_0xf65632([0x6d,0x6f,0x64,0x65,0x6c])][_0xf65632([0x6f,0x6e])](_0xf65632([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xbab45b,_0x291077)=>{_0x291077[0x0][_0xf65632([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8d1a68++,_0x8d1a68==(0x45ddd3ed^_0x1247cc)&&(_0x6c836a(),_0xbab45b[_0xf65632([0x6f,0x66,0x66])]());});}))];return window[_0xf65632([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf65632([0x72,0x61,0x63,0x65])](_0x2466b6)[_0xf65632([0x74,0x68,0x65,0x6e])](()=>_0x5cbfaa);}async function _0xa4fd83(){await _0x5d2906,_0x5b93ef[_0xf65632([0x6d,0x6f,0x64,0x65,0x6c])][_0xf65632([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x51c89b,_0x5b93ef[_0xf65632([0x6d,0x6f,0x64,0x65,0x6c])][_0xf65632([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x51c89b,_0x5b93ef[_0xf65632([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf65632([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55b21b(_0x2b43bb){const _0x1103b2=_0x156365();_0x5b93ef[_0x1103b2]=_0xf65632([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b43bb,_0x2b43bb!=_0xf65632([0x56,0x61,0x6c,0x69,0x64])&&_0xa4fd83();}function _0x156365(){const _0x44feab=window[_0xf65632([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf65632([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf65632([0x6e,0x6f,0x77])]())[_0xf65632([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf65632([0x2e]),'');let _0x32fbf5=_0xf65632([0x50]);for(let _0xc344f1=0x0;_0xc344f1<_0x44feab[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc344f1+=0x2){let _0x3e6bbc=window[_0xf65632([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44feab[_0xf65632([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc344f1,_0xc344f1+0x2));_0x3e6bbc>=_0x1e5fa1[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e6bbc-=_0x1e5fa1[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32fbf5+=_0x1e5fa1[_0x3e6bbc];}return _0x32fbf5;}function _0x4ff91e(){const _0x1b8d33=_0xa7f614[_0xf65632([0x73,0x70,0x6c,0x69,0x74])](_0xf65632([0x2e]));if(0x3!=_0x1b8d33[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45037f(_0x1b8d33[0x1]);function _0x45037f(_0x3cfb07){const _0x5d8ad4=_0xe1d1e0(_0x3cfb07);return _0x5d8ad4&&_0x56a164()?_0x5d8ad4:null;function _0x56a164(){const _0x15177d=_0x5d8ad4[_0xf65632([0x6a,0x74,0x69])],_0x37a970=window[_0xf65632([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15177d[_0xf65632([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15177d[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3aaf7f={..._0x5d8ad4,[_0xf65632([0x6a,0x74,0x69])]:_0x15177d[_0xf65632([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15177d[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3aaf7f[_0xf65632([0x76,0x63])],_0x15d460(_0x3aaf7f)==_0x37a970;}}}async function _0x3a9b23(){let _0x2c7e95=!0x0;try{const _0x2d880d=_0xa7f614[_0xf65632([0x73,0x70,0x6c,0x69,0x74])](_0xf65632([0x2e])),[_0x3caf17,_0x552a1c,_0xe02999]=_0x2d880d;return _0x977ce7(_0x3caf17),await _0x53b4ed(_0x3caf17,_0x552a1c,_0xe02999),_0x2c7e95;}catch{return!0x1;}function _0x977ce7(_0x440823){const _0x2a8b04=_0xe1d1e0(_0x440823);_0x2a8b04&&_0x2a8b04[_0xf65632([0x61,0x6c,0x67])]==_0xf65632([0x45,0x53,0x32,0x35,0x36])||(_0x2c7e95=!0x1);}async function _0x53b4ed(_0x1521cb,_0x264858,_0x3f0154){const _0x417215=window[_0xf65632([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf65632([0x66,0x72,0x6f,0x6d])](_0x2f69bf(_0x3f0154),_0x229118=>_0x229118[_0xf65632([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23c6dd=new window[(_0xf65632([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf65632([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1521cb+_0xf65632([0x2e])+_0x264858),_0x3b51dd=window[_0xf65632([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf65632([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b51dd)return;const _0x53f80e=await _0x3b51dd[_0xf65632([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf65632([0x6a,0x77,0x6b]),_0x1d4698,{[_0xf65632([0x6e,0x61,0x6d,0x65])]:_0xf65632([0x45,0x43,0x44,0x53,0x41]),[_0xf65632([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf65632([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf65632([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b51dd[_0xf65632([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf65632([0x6e,0x61,0x6d,0x65])]:_0xf65632([0x45,0x43,0x44,0x53,0x41]),[_0xf65632([0x68,0x61,0x73,0x68])]:{[_0xf65632([0x6e,0x61,0x6d,0x65])]:_0xf65632([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53f80e,_0x417215,_0x23c6dd)||(_0x2c7e95=!0x1);}}function _0xe1d1e0(_0x1880dd){return _0x1880dd[_0xf65632([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf65632([0x65,0x79]))?JSON[_0xf65632([0x70,0x61,0x72,0x73,0x65])](_0x2f69bf(_0x1880dd)):null;}function _0x2f69bf(_0x22df23){return window[_0xf65632([0x61,0x74,0x6f,0x62])](_0x22df23[_0xf65632([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf65632([0x2b]))[_0xf65632([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf65632([0x2f])));}function _0x15d460(_0x24710c){let _0x3a579f=0x1505;function _0x19846f(_0x45bbd2){for(let _0x544742=0x0;_0x544742<_0x45bbd2[_0xf65632([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x544742++){const _0x388254=_0x45bbd2[_0xf65632([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x544742);_0x3a579f=(_0x3a579f<<0x5)+_0x3a579f+_0x388254,_0x3a579f&=_0x3a579f;}}function _0x50b506(_0x11054c){Array[_0xf65632([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11054c)?_0x11054c[_0xf65632([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x50b506):_0x11054c&&typeof _0x11054c==_0xf65632([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf65632([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11054c)[_0xf65632([0x73,0x6f,0x72,0x74])]()[_0xf65632([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e2351,_0x30df6e])=>{_0x19846f(_0x3e2351),_0x50b506(_0x30df6e);}):_0x19846f(window[_0xf65632([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11054c));}return _0x50b506(_0x24710c),_0x3a579f>>>0x0;}function _0x4dd2c1(_0xd2b51b){return _0xd2b51b[_0xf65632([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf65632([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf65632([0x30]));}function _0x810b27(_0x3b391){return _0x3b391[_0xf65632([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf65632([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf65632([0x6a,0x6f,0x69,0x6e])]('');}function _0x51c89b(){}function _0xf65632(_0x56050c){return _0x56050c['map'](_0x53e1e6=>String['fromCharCode'](_0x53e1e6))['join']('');}_0x55b21b(await _0x28c2c2());}(this);}['_validateConfig'](){const _0x391989=this['editor'];if(!_0x391989['config']['get']('lineHeight.supportAllValues'))return;const _0x2a8843=_0x391989['config']['get']('lineHeight.options')['filter'](_0x6bf2b4=>'string'==typeof _0x6bf2b4&&(!f(_0x6bf2b4)&&isNaN(Number(_0x6bf2b4))));if(_0x2a8843['length'])throw new _0x295abc('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2a8843});}['_prepareAnyValueConverters'](){const _0x357664=this['editor'],_0x58afa5=this['editor']['config']['get']('lineHeight.defaultValue');_0x357664['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x274cb3=>String(_0x274cb3)===String(_0x58afa5)?null:{'key':'style','value':{'line-height':_0x274cb3}}}),_0x357664['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1e5be0=>{let _0x4e3547=_0x1e5be0['getStyle']('line-height');return _0x2703a7(_0x4e3547)&&(_0x4e3547=String(Number(_0x4e3547['slice'](0x0,-0x1))/0x64)),String(_0x4e3547)===String(_0x58afa5)?null:_0x4e3547;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x405b49=this['editor'],_0x3785c8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x38b733=function(_0xa060f4,_0x3ccba8){const _0x15d604={'model':{'key':_0xa060f4,'values':[]},'view':{}};for(const _0x537ece of _0x3ccba8)'class'===_0x537ece['view']?.['key']?(_0x15d604['model']['values']['push'](_0x537ece['model']),_0x15d604['view'][_0x537ece['model']]={'key':'class','value':_0x537ece['view']['value']}):(_0x15d604['model']['values']['push'](_0x537ece['model']),_0x15d604['view'][_0x537ece['model']]={'key':'style','value':'line-height:'+_0x537ece['model']+';'});return _0x15d604;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4d1b92=>_0x4d1b92['model']));_0x405b49['conversion']['attributeToAttribute'](_0x38b733),_0x405b49['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2a8c56=>{let _0x49352b=_0x2a8c56['getStyle']('line-height');return _0x2703a7(_0x49352b)&&(_0x49352b=String(Number(_0x49352b['slice'](0x0,-0x1))/0x64)),_0x49352b===String(_0x3785c8)?null:_0x38b733['model']['values']['includes'](_0x49352b)?_0x49352b:null;}}});}}class r extends _0x346804{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4afd7e={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4afd7e),this['_registerMenuBarComponent'](_0x4afd7e),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b3f69=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4454ea;for(const _0x354bdf in _0x5b3f69){const _0x42c9cd=_0x354bdf,_0x4c2d93=_0x5b3f69[_0x42c9cd];if('lineHeightLicenseKeyValid'==_0x4c2d93||'lineHeightLicenseKeyInvalid'==_0x4c2d93||'lineHeightLicenseKeyExpired'==_0x4c2d93||'lineHeightLicenseKeyDomainLimit'==_0x4c2d93||'lineHeightLicenseKeyNotAllowed'==_0x4c2d93||'lineHeightLicenseKeyEvaluationLimit'==_0x4c2d93||'lineHeightLicenseKeyTrialLimit'==_0x4c2d93||'lineHeightLicenseKeyUsageLimit'==_0x4c2d93){delete _0x5b3f69[_0x42c9cd],_0x4454ea=_0x4c2d93,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4454ea&&_0x5b3f69['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4454ea&&_0x5b3f69['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4454ea&&_0x5b3f69['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4454ea&&_0x5b3f69['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4454ea&&_0x5b3f69['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4454ea&&_0x5b3f69['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4454ea&&_0x5b3f69['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x45a53d=this['editor'],t=_0x45a53d['t'],_0x354b86=_0x45a53d['config']['get']('lineHeight'),_0x3108aa={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x354b86)['map'](_0x366160=>{const _0x195bc0=_0x3108aa[_0x366160['title']];return _0x195bc0&&_0x195bc0!=_0x366160['title']&&(_0x366160=Object['assign']({},_0x366160,{'title':_0x195bc0})),_0x366160;});}['_prepareListOptions'](){const _0x20d4b4=this['editor']['commands']['get']('lineHeight'),_0x417437=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3ef6db=this['_getLocalizedLineHeightOptions'](),_0x19ee7a=new _0x184ceb(),_0x5b3c6d=_0x2d0a09=>'default'===_0x2d0a09||String(_0x417437)===_0x2d0a09;for(const _0x43187f of _0x3ef6db){const _0x54822d={'type':'button','model':new _0x10f8de({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x43187f['title'],'withText':!0x0})};_0x5b3c6d(_0x43187f['model'])?(_0x54822d['model']['bind']('isOn')['to'](_0x20d4b4,'value',_0x100ae1=>!_0x100ae1),_0x54822d['model']['commandParam']=void 0x0):(_0x54822d['model']['bind']('isOn')['to'](_0x20d4b4,'value',_0x4bcac2=>_0x4bcac2===_0x43187f['model']),_0x54822d['model']['commandParam']=_0x43187f['model']),_0x19ee7a['add'](_0x54822d);}if(this['_shouldRenderCustomValueOption']()){const _0x586f9c=this['_getCustomValueOptionDefinition'](_0x3ef6db);_0x19ee7a['add'](_0x586f9c);}return _0x19ee7a;}['_getCustomValueOptionDefinition'](_0x38ce59){const _0x81d955=this['editor'],t=_0x81d955['t'],_0x4c77c4=_0x81d955['commands']['get']('lineHeight'),_0xfb1b23=_0x38ce59['map'](_0x199705=>_0x199705['model']),_0x2b4fc8={'type':'button','model':new _0x10f8de({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2b4fc8['model']['bind']('commandParam')['to'](_0x4c77c4,'value'),_0x2b4fc8['model']['bind']('isOn')['to'](_0x4c77c4,'value',_0x8f8859=>!!_0x8f8859&&!_0xfb1b23['includes'](String(_0x8f8859))),_0x2b4fc8['model']['bind']('label')['to'](_0x4c77c4,'value',_0x493adc=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x493adc))),_0x2b4fc8;}['_registerToolbarComponent']({accessibleLabel:_0x2108d5,options:_0x550961}){const _0x5803a3=this['editor'],_0x7c8648=_0x5803a3['commands']['get']('lineHeight');_0x5803a3['ui']['componentFactory']['add']('lineHeight',_0x5191bd=>{const _0x5bfdce=_0x5629f1(_0x5191bd);return _0x5951a3(_0x5bfdce,_0x550961,{'role':'menu','ariaLabel':_0x2108d5}),_0x5bfdce['buttonView']['set']({'label':_0x2108d5,'tooltip':!0x0,'icon':_0x416a6}),_0x5bfdce['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5bfdce['bind']('isEnabled')['to'](_0x7c8648),this['listenTo'](_0x5bfdce,'execute',_0xce5ae3=>{_0x5803a3['execute'](_0xce5ae3['source']['commandName'],{'value':_0xce5ae3['source']['commandParam']}),_0x5803a3['editing']['view']['focus']();}),_0x5bfdce['once']('change:isOpen',()=>{const _0x3fc95=_0x5bfdce['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5bfdce,_0x550961,_0x3fc95);}),_0x5bfdce;});}['_registerMenuBarComponent']({accessibleLabel:_0x2d1644,options:_0xaf7312}){const _0x51bc16=this['editor'],_0xe3ca19=_0x51bc16['commands']['get']('lineHeight');_0x51bc16['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1b5193=>{const _0x494fb8=new _0x4e9694(_0x1b5193);_0x494fb8['buttonView']['set']({'label':_0x2d1644,'icon':_0x416a6}),_0x494fb8['bind']('isEnabled')['to'](_0xe3ca19);const _0x26da19=new _0x364192(_0x1b5193);for(const _0x347f95 of _0xaf7312){const _0x472eab=new _0x1619f5(_0x1b5193,_0x494fb8),_0x4a315f=new _0x8ea5e8(_0x1b5193);_0x4a315f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4a315f['bind'](...Object['keys'](_0x347f95['model']))['to'](_0x347f95['model']),_0x4a315f['delegate']('execute')['to'](_0x494fb8),_0x4a315f['on']('execute',()=>{_0x51bc16['execute'](_0x347f95['model']['commandName'],{'value':_0x347f95['model']['commandParam']}),_0x51bc16['editing']['view']['focus']();}),_0x472eab['children']['add'](_0x4a315f),_0x26da19['items']['add'](_0x472eab);}return _0x494fb8['panelView']['children']['add'](_0x26da19),this['_attachCustomOptionVisibilityHandler'](_0x494fb8,_0xaf7312,_0x26da19),_0x494fb8;});}['_attachCustomOptionVisibilityHandler'](_0x2f2984,_0x1409b6,_0x2bcbe4){if(!this['_shouldRenderCustomValueOption']())return;const _0x35cb1f=()=>{if(!_0x2f2984['isOpen'])return;_0x2bcbe4['items']['last']['isVisible']=Boolean(_0x1409b6['last']['model']['isOn']);};_0x35cb1f(),_0x2f2984['on']('change:isOpen',()=>{_0x35cb1f();});}}class _ extends _0x346804{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251129.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251129.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20251129.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251129.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251129.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251129.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-20251129.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-20251129.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 _0x55f8a8=_0x3d1b;(function(_0x473106,_0x2f7138){const _0x299c91=_0x3d1b,_0x2ee245=_0x473106();while(!![]){try{const _0xe80317=parseInt(_0x299c91(0x196))/0x1+-parseInt(_0x299c91(0x199))/0x2*(parseInt(_0x299c91(0x18d))/0x3)+parseInt(_0x299c91(0x192))/0x4+-parseInt(_0x299c91(0x1ad))/0x5+parseInt(_0x299c91(0x190))/0x6+-parseInt(_0x299c91(0x185))/0x7*(parseInt(_0x299c91(0x197))/0x8)+parseInt(_0x299c91(0x195))/0x9;if(_0xe80317===_0x2f7138)break;else _0x2ee245['push'](_0x2ee245['shift']());}catch(_0x298c00){_0x2ee245['push'](_0x2ee245['shift']());}}}(_0x252a,0x2e7ee));import{Plugin as _0x7cdc2b}from'ckeditor5/src/core.js';function _0x252a(){const _0x141e47=['8sOaPAE','requires','4FYBBgx','map','lineHeight','upcast','href','lineHeight.defaultValue','_preparePredefinedConverters','extend','attributeToAttribute','length','afterInit','conversion','editor','commands','_validateConfig','init','schema','line-height-invalid-use-of-named-presets','isOfficialPlugin','define','469185VajABg','isPremiumPlugin','model','add','setAttributeProperties','filter','config','default','_prepareAnyValueConverters','includes','lineHeight.supportAllValues','lineHeight.options','join','string','1354255xYYldv','fromCharCode','values','slice','$block','getStyle','downcast','for','127392bMcOYZ','line-height','LineHeightEditing','90480ZUkzLj','get','1033964WfqEYA','pluginName','style','98136hVyPZX','278201bzMidg'];_0x252a=function(){return _0x141e47;};return _0x252a();}import{LineHeightCommand as _0x587638}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1689ba}from'ckeditor5/src/engine.js';import{uid as _0x13c9e7,CKEditorError as _0x2bef72}from'ckeditor5/src/utils.js';function _0x3d1b(_0x50abcd,_0x2dd537){const _0x252a71=_0x252a();return _0x3d1b=function(_0x3d1bf3,_0x2e44df){_0x3d1bf3=_0x3d1bf3-0x178;let _0x6a4c3a=_0x252a71[_0x3d1bf3];return _0x6a4c3a;},_0x3d1b(_0x50abcd,_0x2dd537);}import{buildDefinition as _0x522a4b,isLineHeightDefaultValue as _0x3e8e4f,normalizeOptions as _0x5a2997}from'./utils.js';import{LineHeightTodoListIntegration as _0x33ede0}from'./integrations/todolist.js';export class LineHeightEditing extends _0x7cdc2b{static get[_0x55f8a8(0x193)](){const _0x2de21b=_0x55f8a8;return _0x2de21b(0x18f);}static get[_0x55f8a8(0x198)](){return[_0x33ede0];}static get[_0x55f8a8(0x1ab)](){return!0x0;}static get[_0x55f8a8(0x178)](){return!0x0;}constructor(_0x6a108){const _0x452f27=_0x55f8a8;super(_0x6a108),_0x6a108[_0x452f27(0x17d)][_0x452f27(0x1ac)](_0x452f27(0x19b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x452f27(0x17e),0x2,2.5,0x3]});}[_0x55f8a8(0x1a8)](){const _0x333e02=_0x55f8a8,_0xc05760=this[_0x333e02(0x1a5)];this[_0x333e02(0x1a7)](),_0xc05760[_0x333e02(0x179)][_0x333e02(0x1a9)][_0x333e02(0x1a0)](_0x333e02(0x189),{'allowAttributes':_0x333e02(0x19b)}),_0xc05760[_0x333e02(0x179)][_0x333e02(0x1a9)][_0x333e02(0x17b)](_0x333e02(0x19b),{'isFormatting':!0x0}),_0xc05760[_0x333e02(0x1a6)][_0x333e02(0x17a)](_0x333e02(0x19b),new _0x587638(_0xc05760)),this[_0x333e02(0x1a5)][_0x333e02(0x17d)][_0x333e02(0x191)](_0x333e02(0x181))?this[_0x333e02(0x17f)]():this[_0x333e02(0x19f)]();}[_0x55f8a8(0x1a3)](){!async function(_0x82ad5d){const _0x2c9dbf=_0x2c9cb4([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]),_0x35ad3e=0x45ddd215,_0x32797a=0x45daa875^_0x35ad3e,_0x16be41=window[_0x2c9cb4([0x44,0x61,0x74,0x65])][_0x2c9cb4([0x6e,0x6f,0x77])](),_0x469c31=_0x82ad5d[_0x2c9cb4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f2a90=new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x384f8c=>{_0x469c31[_0x2c9cb4([0x6f,0x6e,0x63,0x65])](_0x2c9cb4([0x72,0x65,0x61,0x64,0x79]),_0x384f8c);}),_0x42c1d2={[_0x2c9cb4([0x6b,0x74,0x79])]:_0x2c9cb4([0x45,0x43]),[_0x2c9cb4([0x75,0x73,0x65])]:_0x2c9cb4([0x73,0x69,0x67]),[_0x2c9cb4([0x63,0x72,0x76])]:_0x2c9cb4([0x50,0x2d,0x32,0x35,0x36]),[_0x2c9cb4([0x78])]:_0x2c9cb4([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]),[_0x2c9cb4([0x79])]:_0x2c9cb4([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]),[_0x2c9cb4([0x61,0x6c,0x67])]:_0x2c9cb4([0x45,0x53,0x32,0x35,0x36])},_0x5b4bdb=_0x469c31[_0x2c9cb4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c9cb4([0x67,0x65,0x74])](_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15d334(){let _0x4e55ad,_0x4baac8=null,_0x5f37a6=null;try{if(_0x5b4bdb==_0x2c9cb4([0x47,0x50,0x4c]))return _0x2c9cb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e55ad=_0x4fd7d6(),!_0x4e55ad)return _0x2c9cb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e55ad[_0x2c9cb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f37a6=_0x166110(_0x4e55ad[_0x2c9cb4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e55ad[_0x2c9cb4([0x6a,0x74,0x69])])),await _0x2cb495()?_0x290b54()?_0x22f380()?_0x2c9cb4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x526690()?(_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c9cb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4baac8=_0x4be6f0(_0x2c9cb4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c9cb4([0x74,0x72,0x69,0x61,0x6c])&&(_0x4baac8=_0x4be6f0(_0x2c9cb4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46d636()):_0x2c9cb4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c9cb4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c9cb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c9cb4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22f380(){const _0x46dcf5=[_0x2c9cb4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c9cb4([0x74,0x72,0x69,0x61,0x6c])][_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16be41/0x3e8:0xe10*_0x32797a;return _0x4e55ad[_0x2c9cb4([0x65,0x78,0x70])]<_0x46dcf5;}function _0x290b54(){const _0x1918d2=_0x4e55ad[_0x2c9cb4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1918d2&&(!!_0x1918d2[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9cb4([0x2a]))||!!_0x1918d2[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9cb4([0x4c,0x48])));}function _0x526690(){const _0x1da854=_0x3d1b,_0x3a52fc=_0x4e55ad[_0x2c9cb4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a52fc||0x0==_0x3a52fc[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x201c3c}=new URL(window[_0x2c9cb4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1da854(0x19d)]);if(_0x3a52fc[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x201c3c))return!0x0;const _0x4b9095=_0x201c3c[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e]));return _0x3a52fc[_0x2c9cb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cf865=>_0x2cf865[_0x2c9cb4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9cb4([0x2a])))[_0x2c9cb4([0x6d,0x61,0x70])](_0x5b78f7=>_0x5b78f7[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e])))[_0x2c9cb4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4efe80=>_0x4efe80[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b9095[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c9cb4([0x6d,0x61,0x70])](_0x130a8b=>Array(_0x4b9095[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x130a8b[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c9cb4([0x66,0x69,0x6c,0x6c])](_0x130a8b[0x0]===_0x2c9cb4([0x2a])?_0x2c9cb4([0x2a]):'')[_0x2c9cb4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x130a8b))[_0x2c9cb4([0x73,0x6f,0x6d,0x65])](_0x37aa10=>_0x4b9095[_0x2c9cb4([0x65,0x76,0x65,0x72,0x79])]((_0x198398,_0x3e0f2c)=>_0x37aa10[_0x3e0f2c]===_0x198398||_0x37aa10[_0x3e0f2c]===_0x2c9cb4([0x2a])));}function _0x46d636(){return _0x4baac8&&_0x5f37a6?new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x126f0a,_0x1ea4f2)=>{_0x4baac8[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x126f0a,_0x1ea4f2),_0x5f37a6[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x48a8ed=>{_0x48a8ed!=_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64])&&_0x126f0a(_0x48a8ed);},_0x1ea4f2);}):_0x4baac8||_0x5f37a6||_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x166110(_0x5b10d2,_0x1eb2ad){return new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32bbd1=>{if(_0x1a38f9())return _0x32bbd1(_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64]));_0xc28be5(),_0x469c31[_0x2c9cb4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c9cb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32f9bd=!0x1;const _0x44bed1=_0x13c9e7();function _0x5ee8b5(_0x3f59d2){return!!_0x3f59d2&&(typeof _0x3f59d2===_0x2c9cb4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f59d2===_0x2c9cb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f59d2[_0x2c9cb4([0x74,0x68,0x65,0x6e])]===_0x2c9cb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f59d2[_0x2c9cb4([0x63,0x61,0x74,0x63,0x68])]===_0x2c9cb4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x19ebd0(_0x3415b2){_0x2cb938(_0x3415b2)[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x5c33ff=>{if(!_0x5c33ff||_0x5c33ff[_0x2c9cb4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c9cb4([0x6f,0x6b]))return _0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x347261(_0x41e56b(_0x44bed1+_0x1eb2ad))!=_0x5c33ff[_0x2c9cb4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x4336f2=>(_0x3f75da(),_0x4336f2),()=>{const _0x4be9d7=_0x30b160();return null==_0x4be9d7?(_0x3f75da(),_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64])):_0x2c9cb4(_0x16be41-_0x4be9d7>(0x61d15615^_0x35ad3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x32bbd1)[_0x2c9cb4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32bbd1(_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x464e7d=0x45eb3c95^_0x35ad3e;function _0x3f75da(){const _0x3ebcd2=_0x2c9cb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x347261(_0x41e56b(_0x5b10d2)),_0x422df4=_0xea7a13(_0x347261(window[_0x2c9cb4([0x4d,0x61,0x74,0x68])][_0x2c9cb4([0x63,0x65,0x69,0x6c])](_0x16be41/_0x464e7d)));window[_0x2c9cb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c9cb4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ebcd2,_0x422df4);}function _0x30b160(){const _0x2a05ee=_0x2c9cb4([0x6c,0x6c,0x63,0x74,0x2d])+_0x347261(_0x41e56b(_0x5b10d2)),_0x24a32d=window[_0x2c9cb4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c9cb4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a05ee);return _0x24a32d?window[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea7a13(_0x24a32d),0x10)*_0x464e7d:null;}function _0x2cb938(_0x2e336a){return new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44abaf,_0x40a3dc)=>{_0x2e336a[_0x2c9cb4([0x74,0x68,0x65,0x6e])](_0x44abaf,_0x40a3dc),window[_0x2c9cb4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40a3dc,0x45dc06d5^_0x35ad3e);});}}_0x469c31[_0x2c9cb4([0x6f,0x6e])](_0x2c9cb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x160abb,_0x52a766)=>{if(_0x52a766[0x0]!=_0x5b10d2)return _0x32bbd1(_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52a766[0x1]={..._0x52a766[0x1],[_0x2c9cb4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44bed1};},{[_0x2c9cb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c9cb4([0x68,0x69,0x67,0x68])}),_0x469c31[_0x2c9cb4([0x6f,0x6e])](_0x2c9cb4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4321a6=>{_0x5ee8b5(_0x4321a6[_0x2c9cb4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32f9bd=!0x0,_0x19ebd0(_0x4321a6[_0x2c9cb4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c9cb4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c9cb4([0x6c,0x6f,0x77])}),_0x1f2a90[_0x2c9cb4([0x74,0x68,0x65,0x6e])](()=>{_0x32f9bd||_0x32bbd1(_0x2c9cb4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a38f9(){return _0x469c31[_0x2c9cb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c9cb4([0x76,0x69,0x65,0x77])][_0x2c9cb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c9cb4([0x61,0x75,0x74,0x6f]);}function _0xc28be5(){_0x469c31[_0x2c9cb4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c9cb4([0x76,0x69,0x65,0x77])][_0x2c9cb4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c9cb4([0x61,0x75,0x74,0x6f]);}}function _0x4be6f0(_0x42f210){const _0x3c06d0=[new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56aac7=>setTimeout(_0x56aac7,0x45d4ecd9^_0x35ad3e)),_0x1f2a90[_0x2c9cb4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x109955=>{let _0x4aac89=0x0;_0x469c31[_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9cb4([0x6f,0x6e])](_0x2c9cb4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b5396,_0x2b7a18)=>{_0x2b7a18[0x0][_0x2c9cb4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4aac89++,_0x4aac89==(0x45ddd3ed^_0x35ad3e)&&(_0x109955(),_0x5b5396[_0x2c9cb4([0x6f,0x66,0x66])]());});}))];return window[_0x2c9cb4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c9cb4([0x72,0x61,0x63,0x65])](_0x3c06d0)[_0x2c9cb4([0x74,0x68,0x65,0x6e])](()=>_0x42f210);}async function _0xe2695c(){await _0x1f2a90,_0x469c31[_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9cb4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27b21a,_0x469c31[_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9cb4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27b21a,_0x469c31[_0x2c9cb4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c9cb4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x49909d(_0x3f2270){const _0x1494b9=_0x55108d();_0x469c31[_0x1494b9]=_0x2c9cb4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f2270,_0x3f2270!=_0x2c9cb4([0x56,0x61,0x6c,0x69,0x64])&&_0xe2695c();}function _0x55108d(){const _0x5d64dd=window[_0x2c9cb4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c9cb4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c9cb4([0x6e,0x6f,0x77])]())[_0x2c9cb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c9cb4([0x2e]),'');let _0x4dd8bf=_0x2c9cb4([0x50]);for(let _0x2eaded=0x0;_0x2eaded<_0x5d64dd[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2eaded+=0x2){let _0x31182d=window[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d64dd[_0x2c9cb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2eaded,_0x2eaded+0x2));_0x31182d>=_0x2c9dbf[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31182d-=_0x2c9dbf[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4dd8bf+=_0x2c9dbf[_0x31182d];}return _0x4dd8bf;}function _0x4fd7d6(){const _0x11c783=_0x5b4bdb[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e]));if(0x3!=_0x11c783[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31449a(_0x11c783[0x1]);function _0x31449a(_0x3bc585){const _0x3e2e0f=_0x15095f(_0x3bc585);return _0x3e2e0f&&_0x3a6156()?_0x3e2e0f:null;function _0x3a6156(){const _0x47eac7=_0x3e2e0f[_0x2c9cb4([0x6a,0x74,0x69])],_0x2cd9ca=window[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47eac7[_0x2c9cb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47eac7[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e7825={..._0x3e2e0f,[_0x2c9cb4([0x6a,0x74,0x69])]:_0x47eac7[_0x2c9cb4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47eac7[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e7825[_0x2c9cb4([0x76,0x63])],_0x41e56b(_0x5e7825)==_0x2cd9ca;}}}async function _0x2cb495(){let _0x4897ba=!0x0;try{const _0x31e5a5=_0x5b4bdb[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])](_0x2c9cb4([0x2e])),[_0x1f97d3,_0x5b469d,_0x1c1c17]=_0x31e5a5;return _0x26b821(_0x1f97d3),await _0x4cd0ee(_0x1f97d3,_0x5b469d,_0x1c1c17),_0x4897ba;}catch{return!0x1;}function _0x26b821(_0x23e2bb){const _0xfa1667=_0x15095f(_0x23e2bb);_0xfa1667&&_0xfa1667[_0x2c9cb4([0x61,0x6c,0x67])]==_0x2c9cb4([0x45,0x53,0x32,0x35,0x36])||(_0x4897ba=!0x1);}async function _0x4cd0ee(_0x2da2e1,_0x1b5e0f,_0x5f0ba3){const _0x2b5b2e=window[_0x2c9cb4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c9cb4([0x66,0x72,0x6f,0x6d])](_0x1fdcf3(_0x5f0ba3),_0x342835=>_0x342835[_0x2c9cb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14de17=new window[(_0x2c9cb4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c9cb4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2da2e1+_0x2c9cb4([0x2e])+_0x1b5e0f),_0x27eed8=window[_0x2c9cb4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c9cb4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27eed8)return;const _0x5bc0f1=await _0x27eed8[_0x2c9cb4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c9cb4([0x6a,0x77,0x6b]),_0x42c1d2,{[_0x2c9cb4([0x6e,0x61,0x6d,0x65])]:_0x2c9cb4([0x45,0x43,0x44,0x53,0x41]),[_0x2c9cb4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c9cb4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c9cb4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27eed8[_0x2c9cb4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c9cb4([0x6e,0x61,0x6d,0x65])]:_0x2c9cb4([0x45,0x43,0x44,0x53,0x41]),[_0x2c9cb4([0x68,0x61,0x73,0x68])]:{[_0x2c9cb4([0x6e,0x61,0x6d,0x65])]:_0x2c9cb4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bc0f1,_0x2b5b2e,_0x14de17)||(_0x4897ba=!0x1);}}function _0x15095f(_0x2ed1ee){return _0x2ed1ee[_0x2c9cb4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c9cb4([0x65,0x79]))?JSON[_0x2c9cb4([0x70,0x61,0x72,0x73,0x65])](_0x1fdcf3(_0x2ed1ee)):null;}function _0x1fdcf3(_0x27a903){return window[_0x2c9cb4([0x61,0x74,0x6f,0x62])](_0x27a903[_0x2c9cb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c9cb4([0x2b]))[_0x2c9cb4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c9cb4([0x2f])));}function _0x41e56b(_0x2ffd86){let _0x4411a8=0x1505;function _0x564c86(_0x1a6605){for(let _0x57199c=0x0;_0x57199c<_0x1a6605[_0x2c9cb4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57199c++){const _0x57ddde=_0x1a6605[_0x2c9cb4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57199c);_0x4411a8=(_0x4411a8<<0x5)+_0x4411a8+_0x57ddde,_0x4411a8&=_0x4411a8;}}function _0xf53a20(_0x252515){Array[_0x2c9cb4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x252515)?_0x252515[_0x2c9cb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf53a20):_0x252515&&typeof _0x252515==_0x2c9cb4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c9cb4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x252515)[_0x2c9cb4([0x73,0x6f,0x72,0x74])]()[_0x2c9cb4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb978fd,_0x33766e])=>{_0x564c86(_0xb978fd),_0xf53a20(_0x33766e);}):_0x564c86(window[_0x2c9cb4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x252515));}return _0xf53a20(_0x2ffd86),_0x4411a8>>>0x0;}function _0x347261(_0x171a4a){return _0x171a4a[_0x2c9cb4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c9cb4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c9cb4([0x30]));}function _0xea7a13(_0x4c734a){return _0x4c734a[_0x2c9cb4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c9cb4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c9cb4([0x6a,0x6f,0x69,0x6e])]('');}function _0x27b21a(){}function _0x2c9cb4(_0x3fe67b){const _0x48d6fa=_0x3d1b;return _0x3fe67b[_0x48d6fa(0x19a)](_0x48dd0a=>String[_0x48d6fa(0x186)](_0x48dd0a))[_0x48d6fa(0x183)]('');}_0x49909d(await _0x15d334());}(this);}[_0x55f8a8(0x1a7)](){const _0x3f9b1a=_0x55f8a8,_0x29899a=this[_0x3f9b1a(0x1a5)];if(!_0x29899a[_0x3f9b1a(0x17d)][_0x3f9b1a(0x191)](_0x3f9b1a(0x181)))return;const _0x3b11c2=_0x29899a[_0x3f9b1a(0x17d)][_0x3f9b1a(0x191)](_0x3f9b1a(0x182))[_0x3f9b1a(0x17c)](_0x215815=>_0x3f9b1a(0x184)==typeof _0x215815&&(!_0x3e8e4f(_0x215815)&&isNaN(Number(_0x215815))));if(_0x3b11c2[_0x3f9b1a(0x1a2)])throw new _0x2bef72(_0x3f9b1a(0x1aa),null,{'namedPresets':_0x3b11c2});}[_0x55f8a8(0x17f)](){const _0x35a638=_0x55f8a8,_0x49a867=this[_0x35a638(0x1a5)],_0x21a95a=this[_0x35a638(0x1a5)][_0x35a638(0x17d)][_0x35a638(0x191)](_0x35a638(0x19e));_0x49a867[_0x35a638(0x1a4)][_0x35a638(0x18c)](_0x35a638(0x18b))[_0x35a638(0x1a1)]({'model':{'key':_0x35a638(0x19b)},'view':_0xfa1f3c=>String(_0xfa1f3c)===String(_0x21a95a)?null:{'key':_0x35a638(0x194),'value':{'line-height':_0xfa1f3c}}}),_0x49a867[_0x35a638(0x1a4)][_0x35a638(0x18c)](_0x35a638(0x19c))[_0x35a638(0x1a1)]({'model':{'key':_0x35a638(0x19b),'value':_0x43d40f=>{const _0xba005e=_0x35a638;let _0x218e6e=_0x43d40f[_0xba005e(0x18a)](_0xba005e(0x18e));return _0x1689ba(_0x218e6e)&&(_0x218e6e=String(Number(_0x218e6e[_0xba005e(0x188)](0x0,-0x1))/0x64)),String(_0x218e6e)===String(_0x21a95a)?null:_0x218e6e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x55f8a8(0x19f)](){const _0x77d1f2=_0x55f8a8,_0x13f998=this[_0x77d1f2(0x1a5)],_0x59374f=this[_0x77d1f2(0x1a5)][_0x77d1f2(0x17d)][_0x77d1f2(0x191)](_0x77d1f2(0x19e)),_0x34356a=_0x5a2997(this[_0x77d1f2(0x1a5)][_0x77d1f2(0x17d)][_0x77d1f2(0x191)](_0x77d1f2(0x19b)))[_0x77d1f2(0x17c)](_0x131904=>_0x131904[_0x77d1f2(0x179)]),_0x327bbf=_0x522a4b(_0x77d1f2(0x19b),_0x34356a);_0x13f998[_0x77d1f2(0x1a4)][_0x77d1f2(0x1a1)](_0x327bbf),_0x13f998[_0x77d1f2(0x1a4)][_0x77d1f2(0x18c)](_0x77d1f2(0x19c))[_0x77d1f2(0x1a1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x77d1f2(0x19b),'value':_0x219575=>{const _0x5b50d7=_0x77d1f2;let _0x3e88db=_0x219575[_0x5b50d7(0x18a)](_0x5b50d7(0x18e));return _0x1689ba(_0x3e88db)&&(_0x3e88db=String(Number(_0x3e88db[_0x5b50d7(0x188)](0x0,-0x1))/0x64)),_0x3e88db===String(_0x59374f)?null:_0x327bbf[_0x5b50d7(0x179)][_0x5b50d7(0x187)][_0x5b50d7(0x180)](_0x3e88db)?_0x3e88db:null;}}});}}
|
|
23
|
+
const _0x4193a2=_0x598e;(function(_0x291d97,_0x2cb516){const _0x4334eb=_0x598e,_0x132694=_0x291d97();while(!![]){try{const _0x2e1671=-parseInt(_0x4334eb(0x1e6))/0x1*(-parseInt(_0x4334eb(0x1fc))/0x2)+-parseInt(_0x4334eb(0x210))/0x3*(parseInt(_0x4334eb(0x1e0))/0x4)+-parseInt(_0x4334eb(0x1e8))/0x5*(-parseInt(_0x4334eb(0x20e))/0x6)+-parseInt(_0x4334eb(0x1e7))/0x7*(-parseInt(_0x4334eb(0x1db))/0x8)+-parseInt(_0x4334eb(0x1e3))/0x9*(parseInt(_0x4334eb(0x202))/0xa)+-parseInt(_0x4334eb(0x1f8))/0xb+parseInt(_0x4334eb(0x1f9))/0xc;if(_0x2e1671===_0x2cb516)break;else _0x132694['push'](_0x132694['shift']());}catch(_0x1fc74f){_0x132694['push'](_0x132694['shift']());}}}(_0x69ba,0xa4a19));function _0x69ba(){const _0x25880f=['isOfficialPlugin','commands','fromCharCode','getStyle','get','map','add','pluginName','line-height','model','filter','25314nQOIwz','downcast','2151174WZqarz','_prepareAnyValueConverters','define','default','44584SMyIKd','conversion','length','attributeToAttribute','init','4KqbRZo','config','values','229239rISNDU','line-height-invalid-use-of-named-presets','for','1xXzLpl','35UGgEzZ','865EsGljX','_validateConfig','lineHeight.options','isPremiumPlugin','lineHeight.supportAllValues','afterInit','slice','extend','_preparePredefinedConverters','href','setAttributeProperties','$block','upcast','join','LineHeightEditing','includes','439791oliCUM','4179120nMIcQV','lineHeight','lineHeight.defaultValue','1822378ymjBww','schema','requires','style','editor','string','230dkZwqg'];_0x69ba=function(){return _0x25880f;};return _0x69ba();}import{Plugin as _0x242349}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4eef90}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x260bce}from'ckeditor5/src/engine.js';import{uid as _0x2b15a3,CKEditorError as _0x2489b9}from'ckeditor5/src/utils.js';import{buildDefinition as _0x56b669,isLineHeightDefaultValue as _0x1ad352,normalizeOptions as _0x2e417c}from'./utils.js';import{LineHeightTodoListIntegration as _0x5e7e48}from'./integrations/todolist.js';function _0x598e(_0x20d5e8,_0x22eb3a){const _0x69bae5=_0x69ba();return _0x598e=function(_0x598e82,_0x52c90c){_0x598e82=_0x598e82-0x1d9;let _0x226175=_0x69bae5[_0x598e82];return _0x226175;},_0x598e(_0x20d5e8,_0x22eb3a);}export class LineHeightEditing extends _0x242349{static get[_0x4193a2(0x20a)](){const _0x23bd2a=_0x4193a2;return _0x23bd2a(0x1f6);}static get[_0x4193a2(0x1fe)](){return[_0x5e7e48];}static get[_0x4193a2(0x203)](){return!0x0;}static get[_0x4193a2(0x1eb)](){return!0x0;}constructor(_0x2a00ca){const _0x52e7ee=_0x4193a2;super(_0x2a00ca),_0x2a00ca[_0x52e7ee(0x1e1)][_0x52e7ee(0x1d9)](_0x52e7ee(0x1fa),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x52e7ee(0x1da),0x2,2.5,0x3]});}[_0x4193a2(0x1df)](){const _0x5bee3b=_0x4193a2,_0x440ef8=this[_0x5bee3b(0x200)];this[_0x5bee3b(0x1e9)](),_0x440ef8[_0x5bee3b(0x20c)][_0x5bee3b(0x1fd)][_0x5bee3b(0x1ef)](_0x5bee3b(0x1f3),{'allowAttributes':_0x5bee3b(0x1fa)}),_0x440ef8[_0x5bee3b(0x20c)][_0x5bee3b(0x1fd)][_0x5bee3b(0x1f2)](_0x5bee3b(0x1fa),{'isFormatting':!0x0}),_0x440ef8[_0x5bee3b(0x204)][_0x5bee3b(0x209)](_0x5bee3b(0x1fa),new _0x4eef90(_0x440ef8)),this[_0x5bee3b(0x200)][_0x5bee3b(0x1e1)][_0x5bee3b(0x207)](_0x5bee3b(0x1ec))?this[_0x5bee3b(0x211)]():this[_0x5bee3b(0x1f0)]();}[_0x4193a2(0x1ed)](){!async function(_0x317a26){const _0x2801d8=_0x4a960f([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]),_0x44388e=0x45ddd215,_0x31881a=0x45daa86d^_0x44388e,_0x39f6e2=window[_0x4a960f([0x44,0x61,0x74,0x65])][_0x4a960f([0x6e,0x6f,0x77])](),_0x332812=_0x317a26[_0x4a960f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a97f=new window[(_0x4a960f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b0c9f=>{_0x332812[_0x4a960f([0x6f,0x6e,0x63,0x65])](_0x4a960f([0x72,0x65,0x61,0x64,0x79]),_0x1b0c9f);}),_0x5bcab3={[_0x4a960f([0x6b,0x74,0x79])]:_0x4a960f([0x45,0x43]),[_0x4a960f([0x75,0x73,0x65])]:_0x4a960f([0x73,0x69,0x67]),[_0x4a960f([0x63,0x72,0x76])]:_0x4a960f([0x50,0x2d,0x32,0x35,0x36]),[_0x4a960f([0x78])]:_0x4a960f([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]),[_0x4a960f([0x79])]:_0x4a960f([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]),[_0x4a960f([0x61,0x6c,0x67])]:_0x4a960f([0x45,0x53,0x32,0x35,0x36])},_0x465ebf=_0x332812[_0x4a960f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a960f([0x67,0x65,0x74])](_0x4a960f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x43a4de(){let _0x21fc9d,_0x558d85=null,_0x28de2e=null;try{if(_0x465ebf==_0x4a960f([0x47,0x50,0x4c]))return _0x4a960f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21fc9d=_0x3a8b1f(),!_0x21fc9d)return _0x4a960f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21fc9d[_0x4a960f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28de2e=_0x4fd3df(_0x21fc9d[_0x4a960f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21fc9d[_0x4a960f([0x6a,0x74,0x69])])),await _0x5ad66a()?_0x33c0fc()?_0x255e3b()?_0x4a960f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x14ab6b()?(_0x21fc9d[_0x4a960f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a960f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x558d85=_0x4c1dc7(_0x4a960f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21fc9d[_0x4a960f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a960f([0x74,0x72,0x69,0x61,0x6c])&&(_0x558d85=_0x4c1dc7(_0x4a960f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15b10e()):_0x4a960f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a960f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a960f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a960f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x255e3b(){const _0x2396e1=[_0x4a960f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a960f([0x74,0x72,0x69,0x61,0x6c])][_0x4a960f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21fc9d[_0x4a960f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39f6e2/0x3e8:0xe10*_0x31881a;return _0x21fc9d[_0x4a960f([0x65,0x78,0x70])]<_0x2396e1;}function _0x33c0fc(){const _0x21dac5=_0x21fc9d[_0x4a960f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21dac5&&(!!_0x21dac5[_0x4a960f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a960f([0x2a]))||!!_0x21dac5[_0x4a960f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a960f([0x4c,0x48])));}function _0x14ab6b(){const _0x40c151=_0x598e,_0x55321c=_0x21fc9d[_0x4a960f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55321c||0x0==_0x55321c[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x460a2c}=new URL(window[_0x4a960f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x40c151(0x1f1)]);if(_0x55321c[_0x4a960f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460a2c))return!0x0;const _0x2ebe8e=_0x460a2c[_0x4a960f([0x73,0x70,0x6c,0x69,0x74])](_0x4a960f([0x2e]));return _0x55321c[_0x4a960f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x407378=>_0x407378[_0x4a960f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a960f([0x2a])))[_0x4a960f([0x6d,0x61,0x70])](_0x2d6570=>_0x2d6570[_0x4a960f([0x73,0x70,0x6c,0x69,0x74])](_0x4a960f([0x2e])))[_0x4a960f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a0c0b=>_0x2a0c0b[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ebe8e[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a960f([0x6d,0x61,0x70])](_0x132326=>Array(_0x2ebe8e[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x132326[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a960f([0x66,0x69,0x6c,0x6c])](_0x132326[0x0]===_0x4a960f([0x2a])?_0x4a960f([0x2a]):'')[_0x4a960f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x132326))[_0x4a960f([0x73,0x6f,0x6d,0x65])](_0x5df404=>_0x2ebe8e[_0x4a960f([0x65,0x76,0x65,0x72,0x79])]((_0x4e1607,_0x21c581)=>_0x5df404[_0x21c581]===_0x4e1607||_0x5df404[_0x21c581]===_0x4a960f([0x2a])));}function _0x15b10e(){return _0x558d85&&_0x28de2e?new window[(_0x4a960f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x409882,_0x32c18b)=>{_0x558d85[_0x4a960f([0x74,0x68,0x65,0x6e])](_0x409882,_0x32c18b),_0x28de2e[_0x4a960f([0x74,0x68,0x65,0x6e])](_0x8f36a2=>{_0x8f36a2!=_0x4a960f([0x56,0x61,0x6c,0x69,0x64])&&_0x409882(_0x8f36a2);},_0x32c18b);}):_0x558d85||_0x28de2e||_0x4a960f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fd3df(_0x58cd29,_0x5ac2a9){return new window[(_0x4a960f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30be61=>{if(_0x3a6d4c())return _0x30be61(_0x4a960f([0x56,0x61,0x6c,0x69,0x64]));_0x1d14c0(),_0x332812[_0x4a960f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a960f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2aeda9=!0x1;const _0xef5cce=_0x2b15a3();function _0x17a9c4(_0x1a3651){return!!_0x1a3651&&(typeof _0x1a3651===_0x4a960f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a3651===_0x4a960f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a3651[_0x4a960f([0x74,0x68,0x65,0x6e])]===_0x4a960f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a3651[_0x4a960f([0x63,0x61,0x74,0x63,0x68])]===_0x4a960f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x287f34(_0x77bdd3){_0x3271aa(_0x77bdd3)[_0x4a960f([0x74,0x68,0x65,0x6e])](_0x3312ba=>{if(!_0x3312ba||_0x3312ba[_0x4a960f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a960f([0x6f,0x6b]))return _0x4a960f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5dfb54(_0xb27c7c(_0xef5cce+_0x5ac2a9))!=_0x3312ba[_0x4a960f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a960f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a960f([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a960f([0x74,0x68,0x65,0x6e])](_0x114294=>(_0x428c60(),_0x114294),()=>{const _0x48c0d5=_0x5b72d6();return null==_0x48c0d5?(_0x428c60(),_0x4a960f([0x56,0x61,0x6c,0x69,0x64])):_0x4a960f(_0x39f6e2-_0x48c0d5>(0x61d15615^_0x44388e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a960f([0x74,0x68,0x65,0x6e])](_0x30be61)[_0x4a960f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30be61(_0x4a960f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x84fe74=0x45eb3c95^_0x44388e;function _0x428c60(){const _0x2cea7f=_0x4a960f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dfb54(_0xb27c7c(_0x58cd29)),_0x3d0644=_0x4bbae8(_0x5dfb54(window[_0x4a960f([0x4d,0x61,0x74,0x68])][_0x4a960f([0x63,0x65,0x69,0x6c])](_0x39f6e2/_0x84fe74)));window[_0x4a960f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a960f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cea7f,_0x3d0644);}function _0x5b72d6(){const _0x5ea6c0=_0x4a960f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5dfb54(_0xb27c7c(_0x58cd29)),_0x2e5160=window[_0x4a960f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a960f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ea6c0);return _0x2e5160?window[_0x4a960f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bbae8(_0x2e5160),0x10)*_0x84fe74:null;}function _0x3271aa(_0x48b5ff){return new window[(_0x4a960f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x476066,_0x3f26df)=>{_0x48b5ff[_0x4a960f([0x74,0x68,0x65,0x6e])](_0x476066,_0x3f26df),window[_0x4a960f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f26df,0x45dc06d5^_0x44388e);});}}_0x332812[_0x4a960f([0x6f,0x6e])](_0x4a960f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fa3d5,_0x351312)=>{if(_0x351312[0x0]!=_0x58cd29)return _0x30be61(_0x4a960f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x351312[0x1]={..._0x351312[0x1],[_0x4a960f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xef5cce};},{[_0x4a960f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a960f([0x68,0x69,0x67,0x68])}),_0x332812[_0x4a960f([0x6f,0x6e])](_0x4a960f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x98fd8e=>{_0x17a9c4(_0x98fd8e[_0x4a960f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2aeda9=!0x0,_0x287f34(_0x98fd8e[_0x4a960f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a960f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a960f([0x6c,0x6f,0x77])}),_0x3a97f[_0x4a960f([0x74,0x68,0x65,0x6e])](()=>{_0x2aeda9||_0x30be61(_0x4a960f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a6d4c(){return _0x332812[_0x4a960f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a960f([0x76,0x69,0x65,0x77])][_0x4a960f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a960f([0x61,0x75,0x74,0x6f]);}function _0x1d14c0(){_0x332812[_0x4a960f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a960f([0x76,0x69,0x65,0x77])][_0x4a960f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a960f([0x61,0x75,0x74,0x6f]);}}function _0x4c1dc7(_0x89318f){const _0x34f164=[new window[(_0x4a960f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0ab6=>setTimeout(_0x2d0ab6,0x45d4ecd9^_0x44388e)),_0x3a97f[_0x4a960f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a960f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bcca3=>{let _0x4f70f3=0x0;_0x332812[_0x4a960f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a960f([0x6f,0x6e])](_0x4a960f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45315f,_0x1972aa)=>{_0x1972aa[0x0][_0x4a960f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f70f3++,_0x4f70f3==(0x45ddd3ed^_0x44388e)&&(_0x3bcca3(),_0x45315f[_0x4a960f([0x6f,0x66,0x66])]());});}))];return window[_0x4a960f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a960f([0x72,0x61,0x63,0x65])](_0x34f164)[_0x4a960f([0x74,0x68,0x65,0x6e])](()=>_0x89318f);}async function _0x479b72(){await _0x3a97f,_0x332812[_0x4a960f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a960f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d3826,_0x332812[_0x4a960f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a960f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d3826,_0x332812[_0x4a960f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a960f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d0038(_0x47cb42){const _0x3d35f4=_0x55b6de();_0x332812[_0x3d35f4]=_0x4a960f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47cb42,_0x47cb42!=_0x4a960f([0x56,0x61,0x6c,0x69,0x64])&&_0x479b72();}function _0x55b6de(){const _0x17e731=window[_0x4a960f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a960f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a960f([0x6e,0x6f,0x77])]())[_0x4a960f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a960f([0x2e]),'');let _0x2adba0=_0x4a960f([0x50]);for(let _0x209386=0x0;_0x209386<_0x17e731[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x209386+=0x2){let _0x4cb40c=window[_0x4a960f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17e731[_0x4a960f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x209386,_0x209386+0x2));_0x4cb40c>=_0x2801d8[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cb40c-=_0x2801d8[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2adba0+=_0x2801d8[_0x4cb40c];}return _0x2adba0;}function _0x3a8b1f(){const _0x42c059=_0x465ebf[_0x4a960f([0x73,0x70,0x6c,0x69,0x74])](_0x4a960f([0x2e]));if(0x3!=_0x42c059[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x131160(_0x42c059[0x1]);function _0x131160(_0x2290b6){const _0x1a6381=_0x144ec3(_0x2290b6);return _0x1a6381&&_0x4901b3()?_0x1a6381:null;function _0x4901b3(){const _0x5abe4e=_0x1a6381[_0x4a960f([0x6a,0x74,0x69])],_0x1eadbe=window[_0x4a960f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5abe4e[_0x4a960f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5abe4e[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x419e00={..._0x1a6381,[_0x4a960f([0x6a,0x74,0x69])]:_0x5abe4e[_0x4a960f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5abe4e[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x419e00[_0x4a960f([0x76,0x63])],_0xb27c7c(_0x419e00)==_0x1eadbe;}}}async function _0x5ad66a(){let _0x188c80=!0x0;try{const _0x427328=_0x465ebf[_0x4a960f([0x73,0x70,0x6c,0x69,0x74])](_0x4a960f([0x2e])),[_0x3c21ae,_0x4f2c97,_0x2f03b9]=_0x427328;return _0x1e778d(_0x3c21ae),await _0x28ff85(_0x3c21ae,_0x4f2c97,_0x2f03b9),_0x188c80;}catch{return!0x1;}function _0x1e778d(_0x190da3){const _0x3a5dc6=_0x144ec3(_0x190da3);_0x3a5dc6&&_0x3a5dc6[_0x4a960f([0x61,0x6c,0x67])]==_0x4a960f([0x45,0x53,0x32,0x35,0x36])||(_0x188c80=!0x1);}async function _0x28ff85(_0x4c56ec,_0x2018aa,_0x2959be){const _0x337ede=window[_0x4a960f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a960f([0x66,0x72,0x6f,0x6d])](_0x405595(_0x2959be),_0x401eb4=>_0x401eb4[_0x4a960f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cac9d=new window[(_0x4a960f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a960f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c56ec+_0x4a960f([0x2e])+_0x2018aa),_0x55c4a7=window[_0x4a960f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a960f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55c4a7)return;const _0x4952b3=await _0x55c4a7[_0x4a960f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a960f([0x6a,0x77,0x6b]),_0x5bcab3,{[_0x4a960f([0x6e,0x61,0x6d,0x65])]:_0x4a960f([0x45,0x43,0x44,0x53,0x41]),[_0x4a960f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a960f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a960f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55c4a7[_0x4a960f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a960f([0x6e,0x61,0x6d,0x65])]:_0x4a960f([0x45,0x43,0x44,0x53,0x41]),[_0x4a960f([0x68,0x61,0x73,0x68])]:{[_0x4a960f([0x6e,0x61,0x6d,0x65])]:_0x4a960f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4952b3,_0x337ede,_0x3cac9d)||(_0x188c80=!0x1);}}function _0x144ec3(_0x29534b){return _0x29534b[_0x4a960f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a960f([0x65,0x79]))?JSON[_0x4a960f([0x70,0x61,0x72,0x73,0x65])](_0x405595(_0x29534b)):null;}function _0x405595(_0x231a2b){return window[_0x4a960f([0x61,0x74,0x6f,0x62])](_0x231a2b[_0x4a960f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a960f([0x2b]))[_0x4a960f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a960f([0x2f])));}function _0xb27c7c(_0x3b23d8){let _0x4ab748=0x1505;function _0x169de1(_0xd98baa){for(let _0x24e570=0x0;_0x24e570<_0xd98baa[_0x4a960f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24e570++){const _0x21129c=_0xd98baa[_0x4a960f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24e570);_0x4ab748=(_0x4ab748<<0x5)+_0x4ab748+_0x21129c,_0x4ab748&=_0x4ab748;}}function _0x68eaa9(_0x465a8a){Array[_0x4a960f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x465a8a)?_0x465a8a[_0x4a960f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x68eaa9):_0x465a8a&&typeof _0x465a8a==_0x4a960f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a960f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x465a8a)[_0x4a960f([0x73,0x6f,0x72,0x74])]()[_0x4a960f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e0574,_0x39dde0])=>{_0x169de1(_0x3e0574),_0x68eaa9(_0x39dde0);}):_0x169de1(window[_0x4a960f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x465a8a));}return _0x68eaa9(_0x3b23d8),_0x4ab748>>>0x0;}function _0x5dfb54(_0x45cd1f){return _0x45cd1f[_0x4a960f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a960f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a960f([0x30]));}function _0x4bbae8(_0x3cf133){return _0x3cf133[_0x4a960f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a960f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a960f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d3826(){}function _0x4a960f(_0x595a9d){const _0xd45b9e=_0x598e;return _0x595a9d[_0xd45b9e(0x208)](_0x34b2a4=>String[_0xd45b9e(0x205)](_0x34b2a4))[_0xd45b9e(0x1f5)]('');}_0x5d0038(await _0x43a4de());}(this);}[_0x4193a2(0x1e9)](){const _0x24aa7f=_0x4193a2,_0x467fe1=this[_0x24aa7f(0x200)];if(!_0x467fe1[_0x24aa7f(0x1e1)][_0x24aa7f(0x207)](_0x24aa7f(0x1ec)))return;const _0xb99ead=_0x467fe1[_0x24aa7f(0x1e1)][_0x24aa7f(0x207)](_0x24aa7f(0x1ea))[_0x24aa7f(0x20d)](_0x4b0d2d=>_0x24aa7f(0x201)==typeof _0x4b0d2d&&(!_0x1ad352(_0x4b0d2d)&&isNaN(Number(_0x4b0d2d))));if(_0xb99ead[_0x24aa7f(0x1dd)])throw new _0x2489b9(_0x24aa7f(0x1e4),null,{'namedPresets':_0xb99ead});}[_0x4193a2(0x211)](){const _0x1a3fc6=_0x4193a2,_0x10916e=this[_0x1a3fc6(0x200)],_0x6a59cc=this[_0x1a3fc6(0x200)][_0x1a3fc6(0x1e1)][_0x1a3fc6(0x207)](_0x1a3fc6(0x1fb));_0x10916e[_0x1a3fc6(0x1dc)][_0x1a3fc6(0x1e5)](_0x1a3fc6(0x20f))[_0x1a3fc6(0x1de)]({'model':{'key':_0x1a3fc6(0x1fa)},'view':_0x3a0f94=>String(_0x3a0f94)===String(_0x6a59cc)?null:{'key':_0x1a3fc6(0x1ff),'value':{'line-height':_0x3a0f94}}}),_0x10916e[_0x1a3fc6(0x1dc)][_0x1a3fc6(0x1e5)](_0x1a3fc6(0x1f4))[_0x1a3fc6(0x1de)]({'model':{'key':_0x1a3fc6(0x1fa),'value':_0x32296b=>{const _0xa33746=_0x1a3fc6;let _0x73249e=_0x32296b[_0xa33746(0x206)](_0xa33746(0x20b));return _0x260bce(_0x73249e)&&(_0x73249e=String(Number(_0x73249e[_0xa33746(0x1ee)](0x0,-0x1))/0x64)),String(_0x73249e)===String(_0x6a59cc)?null:_0x73249e;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4193a2(0x1f0)](){const _0x40abe2=_0x4193a2,_0x52bd4e=this[_0x40abe2(0x200)],_0x43512c=this[_0x40abe2(0x200)][_0x40abe2(0x1e1)][_0x40abe2(0x207)](_0x40abe2(0x1fb)),_0x4a30f4=_0x2e417c(this[_0x40abe2(0x200)][_0x40abe2(0x1e1)][_0x40abe2(0x207)](_0x40abe2(0x1fa)))[_0x40abe2(0x20d)](_0x4b8388=>_0x4b8388[_0x40abe2(0x20c)]),_0xb8c9bb=_0x56b669(_0x40abe2(0x1fa),_0x4a30f4);_0x52bd4e[_0x40abe2(0x1dc)][_0x40abe2(0x1de)](_0xb8c9bb),_0x52bd4e[_0x40abe2(0x1dc)][_0x40abe2(0x1e5)](_0x40abe2(0x1f4))[_0x40abe2(0x1de)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x40abe2(0x1fa),'value':_0x33e3c3=>{const _0x2054d3=_0x40abe2;let _0x157924=_0x33e3c3[_0x2054d3(0x206)](_0x2054d3(0x20b));return _0x260bce(_0x157924)&&(_0x157924=String(Number(_0x157924[_0x2054d3(0x1ee)](0x0,-0x1))/0x64)),_0x157924===String(_0x43512c)?null:_0xb8c9bb[_0x2054d3(0x20c)][_0x2054d3(0x1e2)][_0x2054d3(0x1f7)](_0x157924)?_0x157924:null;}}});}}
|