@ckeditor/ckeditor5-line-height 47.5.0-alpha.6 → 47.5.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={102:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},929:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>U,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>A,LineHeightUI:()=>M});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=345]})(e,t)}const o=r;function s(){const e=["8244790YlMBFn","model","isEnabled","refresh","1009RrBkAE","getAttribute","1528854CBqaEL","2765030dtxaRb","schema","selection","editor","setAttribute","from","value","filter","_canHaveLineHeight","removeAttribute","change","166537kNQjVW","152KYVBfa","5294457nFmKlK","286xRcmiJ","getSelectedBlocks","document","1461QAiDUd","lineHeight","execute","2804orjJzS","checkAttribute"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(316680===-parseInt(t(372))/1*(parseInt(t(360))/2)+parseInt(t(363))/3*(parseInt(t(366))/4)+parseInt(t(346))/5+parseInt(t(345))/6+parseInt(t(357))/7*(-parseInt(t(358))/8)+parseInt(t(359))/9+-parseInt(t(368))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(371)](){const e=o,n=this[e(349)][e(369)][e(362)],i=(0,t.first)(n[e(348)][e(361)]());this[e(370)]=Boolean(i)&&this[e(354)](i),this[e(352)]=this[e(370)]&&i[e(373)](e(364))}[o(365)](e={}){const t=o,n=this[t(349)][t(369)],i=n[t(362)][t(348)],r=e[t(352)];n[t(356)](e=>{const n=t,o=Array[n(351)](i[n(361)]())[n(353)](e=>this[n(354)](e));for(const t of o)r?e[n(350)](n(364),r,t):e[n(355)](n(364),t)})}[o(354)](e){const t=o;return this[t(349)][t(369)][t(347)][t(367)](e,t(364))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(841343===parseInt(t(512))/1*(-parseInt(t(517))/2)+-parseInt(t(506))/3*(-parseInt(t(509))/4)+parseInt(t(494))/5*(-parseInt(t(498))/6)+parseInt(t(507))/7*(parseInt(t(501))/8)+-parseInt(t(522))/9+-parseInt(t(496))/10+parseInt(t(514))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=h;return{title:e(515),model:e(504),view:{key:e(516),value:e(497)}}},get double(){const e=h;return{title:e(519),model:e(493),view:{key:e(516),value:e(521)}}}};function u(e){const t=h;return t(511)==typeof e&&t(499)===e[t(508)]()}function d(e){const t=h;return e[t(523)][t(495)](n=>u(n)?{title:String(e[t(525)]),model:t(499)}:(t(502)==typeof n&&(n=String(n)),t(511)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(513),styles:{"line-height":n}}}:function(e){const t=h;return t(511)==typeof e?l[e]:l[e[t(527)]]}(n)))[t(500)](e=>void 0!==e)}function h(e,t){const n=p();return(h=function(e,t){return n[e-=493]})(e,t)}function p(){const e=["207752hLOBNa","number","line-height:","single","value","1900959MWaqQL","175beRbtj","toLowerCase","4mXWqDg","view","string","4681FzMePP","span","35201375MvVndl","Single","class","62MfeoWR","style","Double","push","line-height-double","13881132CXZSzW","options","values","defaultValue","key","model","double","1789120WiFqeB","map","5229050VxuqXX","line-height-single","24NDmNes","default","filter"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const E=O;function O(e,t){const n=C();return(O=function(e,t){return n[e-=203]})(e,t)}function C(){const e=["init","add","3JCDDxM","LineHeightTodoListIntegration","get","2874096FcxlCg","--ck-content-list-marker-line-height","registerDowncastStrategy","isOfficialPlugin","for","match","span","26CqmYBJ","element:li","item","setStyle","consumable","9793420guWGjm","elementToElement","high","name","isPremiumPlugin","editor","48139jjcgJb","48815lWEruZ","1688520YJfdZJ","addClass","paragraph","TodoListEditing","listType","todo-list__label__description","523388uFqoDt","3037615PKKNJX","getAttribute","upcast","lineHeight","11UDBZoo","todo","has","ListEditing","viewItem","pluginName","336VTgvww","ck-list-marker-line-height","consume"];return(C=function(){return e})()}!function(e){const t=O,n=e();for(;;)try{if(385350===parseInt(t(227))/1*(parseInt(t(216))/2)+parseInt(t(206))/3*(-parseInt(t(235))/4)+-parseInt(t(228))/5*(parseInt(t(246))/6)+-parseInt(t(236))/7+parseInt(t(229))/8+-parseInt(t(209))/9+-parseInt(t(221))/10*(-parseInt(t(240))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class A extends e.Plugin{static get[E(245)](){return E(207)}static get[E(212)](){return!0}static get[E(225)](){return!0}[E(204)](){const e=E,{plugins:t,conversion:n}=this[e(226)];t[e(242)](e(243))&&t[e(242)](e(232))&&(t[e(208)](e(243))[e(211)]({scope:e(218),attributeName:e(239),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(241)==o[s(237)](s(233))&&n&&(t[s(230)](s(247),i),t[s(219)](s(210),n,i))}}),n[e(213)](e(238))[e(222)]({view:{name:e(215),classes:e(234)},model:e(231),converterPriority:e(223)}),n[e(213)](e(238))[e(205)](t=>{const n=e;t.on(n(217),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(214)](n[r(244)]);if(!o)return;const s=o[r(214)];s[r(224)]=!1,i[r(220)][r(203)](n[r(244)],s)}}({name:"li",classes:n(247),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=N;function N(e,t){const n=T();return(N=function(e,t){return n[e-=452]})(e,t)}function T(){const e=["lineHeight.supportAllValues","1838965jFaUIK","550846xoCtwV","init","define","1smvKAO","1308152NEpowG","schema","attributeToAttribute","for","upcast","filter","6ogXxHM","lineHeight.defaultValue","get","132808UbCWYQ","values","default","_preparePredefinedConverters","9BmCMRJ","add","conversion","commands","line-height","$block","_prepareAnyValueConverters","isPremiumPlugin","getStyle","1759752mSOOpA","LineHeightEditing","isOfficialPlugin","3948RDDNEb","21yiejco","requires","string","5437650ezjFoO","slice","extend","_validateConfig","line-height-invalid-use-of-named-presets","lineHeight.options","lineHeight","config","setAttributeProperties","join","editor","fromCharCode","href","map","length","afterInit","308uZUmkc","model","style","pluginName","downcast","includes"];return(T=function(){return e})()}!function(e){const t=N,n=e();for(;;)try{if(410502===-parseInt(t(469))/1*(-parseInt(t(466))/2)+-parseInt(t(483))/3*(parseInt(t(479))/4)+-parseInt(t(465))/5*(-parseInt(t(476))/6)+parseInt(t(496))/7*(-parseInt(t(470))/8)+-parseInt(t(492))/9+parseInt(t(499))/10+parseInt(t(458))/11*(parseInt(t(495))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class x extends e.Plugin{static get[S(461)](){return S(493)}static get[S(497)](){return[A]}static get[S(494)](){return!0}static get[S(490)](){return!0}constructor(e){const t=S;super(e),e[t(506)][t(468)](t(505),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(481),2,2.5,3]})}[S(467)](){const e=S,t=this[e(452)];this[e(502)](),t[e(459)][e(471)][e(501)](e(488),{allowAttributes:e(505)}),t[e(459)][e(471)][e(507)](e(505),{isFormatting:!0}),t[e(486)][e(484)](e(505),new a(t)),this[e(452)][e(506)][e(478)](e(464))?this[e(489)]():this[e(482)]()}[S(457)](){!async function(e){const n=f([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[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([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]),[f([121])]:f([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]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=N;return e[t(455)](e=>String[t(453)](e))[t(508)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([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(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1770595200;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=N,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(454)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[S(502)](){const e=S,n=this[e(452)];if(!n[e(506)][e(478)](e(464)))return;const i=n[e(506)][e(478)](e(504))[e(475)](t=>e(498)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(456)])throw new t.CKEditorError(e(503),null,{namedPresets:i})}[S(489)](){const e=S,t=this[e(452)],n=this[e(452)][e(506)][e(478)](e(477));t[e(485)][e(473)](e(462))[e(472)]({model:{key:e(505)},view:t=>String(t)===String(n)?null:{key:e(460),value:{"line-height":t}}}),t[e(485)][e(473)](e(474))[e(472)]({model:{key:e(505),value:t=>{const i=e;let r=t[i(491)](i(487));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(500)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(482)](){const e=S,t=this[e(452)],n=this[e(452)][e(506)][e(478)](e(477)),i=d(this[e(452)][e(506)][e(478)](e(505)))[e(475)](t=>t[e(459)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(516)===e[n(510)]?.[n(526)]?(i[n(527)][n(524)][n(520)](e[n(527)]),i[n(510)][e[n(527)]]={key:n(516),value:e[n(510)][n(505)]}):(i[n(527)][n(524)][n(520)](e[n(527)]),i[n(510)][e[n(527)]]={key:n(518),value:n(503)+e[n(527)]+";"});return i}(e(505),i);t[e(485)][e(472)](r),t[e(485)][e(473)](e(474))[e(472)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(505),value:t=>{const i=e;let o=t[i(491)](i(487));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(500)](0,-1))/100)),o===String(n)?null:r[i(459)][i(480)][i(463)](o)?o:null}}})}}var P=n(311),K=n(355),V=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=w(),B.insertStyleElement=_();g()(V.A,B);V.A&&V.A.locals&&V.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"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"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new 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()})}}function j(e,t){var n=R();return(j=function(e,t){return n[e-=422]})(e,t)}var D=j;function R(){var e=["isOfficialPlugin","3031740zTuRxn","5118JCcpwb","859486wFCEuj","pluginName","3479CsRCyZ","2894416fTZBzw","1EMpLTA","requires","isPremiumPlugin","LineHeight","1637000LGcuIV","451888CdFCqY","1563546JZefOW"];return(R=function(){return e})()}!function(e){for(var t=j,n=e();;)try{if(287614===parseInt(t(429))/1*(parseInt(t(425))/2)+parseInt(t(435))/3+parseInt(t(434))/4+-parseInt(t(433))/5+-parseInt(t(424))/6*(parseInt(t(427))/7)+-parseInt(t(428))/8+parseInt(t(423))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R);class U extends e.Plugin{static get[D(430)](){return[x,M]}static get[D(426)](){return D(432)}static get[D(422)](){return!0}static get[D(431)](){return!0}}function F(e,t){var n=J();return(F=function(e,t){return n[e-=316]})(e,t)}function J(){var e=["12KAcRPB","50455ujcvKT","7754QjHJNW","230QGfSXk","9021280zLkSdN","378484TgVABk","133bvApYB","24VhlSgU","1676475HgQMjb","393272mjbUfv","12750199vRNNhj","66EsRfQP"];return(J=function(){return e})()}!function(e){for(var t=F,n=e();;)try{if(718855===-parseInt(t(327))/1*(parseInt(t(326))/2)+-parseInt(t(324))/3*(parseInt(t(317))/4)+-parseInt(t(325))/5*(parseInt(t(323))/6)+parseInt(t(318))/7*(-parseInt(t(321))/8)+-parseInt(t(320))/9+parseInt(t(316))/10+-parseInt(t(322))/11*(-parseInt(t(319))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(J)})(),(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:()=>U,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>A,LineHeightUI:()=>M});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=345]})(e,t)}const o=r;function s(){const e=["8244790YlMBFn","model","isEnabled","refresh","1009RrBkAE","getAttribute","1528854CBqaEL","2765030dtxaRb","schema","selection","editor","setAttribute","from","value","filter","_canHaveLineHeight","removeAttribute","change","166537kNQjVW","152KYVBfa","5294457nFmKlK","286xRcmiJ","getSelectedBlocks","document","1461QAiDUd","lineHeight","execute","2804orjJzS","checkAttribute"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(316680===-parseInt(t(372))/1*(parseInt(t(360))/2)+parseInt(t(363))/3*(parseInt(t(366))/4)+parseInt(t(346))/5+parseInt(t(345))/6+parseInt(t(357))/7*(-parseInt(t(358))/8)+parseInt(t(359))/9+-parseInt(t(368))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(371)](){const e=o,n=this[e(349)][e(369)][e(362)],i=(0,t.first)(n[e(348)][e(361)]());this[e(370)]=Boolean(i)&&this[e(354)](i),this[e(352)]=this[e(370)]&&i[e(373)](e(364))}[o(365)](e={}){const t=o,n=this[t(349)][t(369)],i=n[t(362)][t(348)],r=e[t(352)];n[t(356)](e=>{const n=t,o=Array[n(351)](i[n(361)]())[n(353)](e=>this[n(354)](e));for(const t of o)r?e[n(350)](n(364),r,t):e[n(355)](n(364),t)})}[o(354)](e){const t=o;return this[t(349)][t(369)][t(347)][t(367)](e,t(364))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(841343===parseInt(t(512))/1*(-parseInt(t(517))/2)+-parseInt(t(506))/3*(-parseInt(t(509))/4)+parseInt(t(494))/5*(-parseInt(t(498))/6)+parseInt(t(507))/7*(parseInt(t(501))/8)+-parseInt(t(522))/9+-parseInt(t(496))/10+parseInt(t(514))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=h;return{title:e(515),model:e(504),view:{key:e(516),value:e(497)}}},get double(){const e=h;return{title:e(519),model:e(493),view:{key:e(516),value:e(521)}}}};function u(e){const t=h;return t(511)==typeof e&&t(499)===e[t(508)]()}function d(e){const t=h;return e[t(523)][t(495)](n=>u(n)?{title:String(e[t(525)]),model:t(499)}:(t(502)==typeof n&&(n=String(n)),t(511)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(513),styles:{"line-height":n}}}:function(e){const t=h;return t(511)==typeof e?l[e]:l[e[t(527)]]}(n)))[t(500)](e=>void 0!==e)}function h(e,t){const n=p();return(h=function(e,t){return n[e-=493]})(e,t)}function p(){const e=["207752hLOBNa","number","line-height:","single","value","1900959MWaqQL","175beRbtj","toLowerCase","4mXWqDg","view","string","4681FzMePP","span","35201375MvVndl","Single","class","62MfeoWR","style","Double","push","line-height-double","13881132CXZSzW","options","values","defaultValue","key","model","double","1789120WiFqeB","map","5229050VxuqXX","line-height-single","24NDmNes","default","filter"];return(p=function(){return e})()}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const E=O;function O(e,t){const n=C();return(O=function(e,t){return n[e-=203]})(e,t)}function C(){const e=["init","add","3JCDDxM","LineHeightTodoListIntegration","get","2874096FcxlCg","--ck-content-list-marker-line-height","registerDowncastStrategy","isOfficialPlugin","for","match","span","26CqmYBJ","element:li","item","setStyle","consumable","9793420guWGjm","elementToElement","high","name","isPremiumPlugin","editor","48139jjcgJb","48815lWEruZ","1688520YJfdZJ","addClass","paragraph","TodoListEditing","listType","todo-list__label__description","523388uFqoDt","3037615PKKNJX","getAttribute","upcast","lineHeight","11UDBZoo","todo","has","ListEditing","viewItem","pluginName","336VTgvww","ck-list-marker-line-height","consume"];return(C=function(){return e})()}!function(e){const t=O,n=e();for(;;)try{if(385350===parseInt(t(227))/1*(parseInt(t(216))/2)+parseInt(t(206))/3*(-parseInt(t(235))/4)+-parseInt(t(228))/5*(parseInt(t(246))/6)+-parseInt(t(236))/7+parseInt(t(229))/8+-parseInt(t(209))/9+-parseInt(t(221))/10*(-parseInt(t(240))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class A extends e.Plugin{static get[E(245)](){return E(207)}static get[E(212)](){return!0}static get[E(225)](){return!0}[E(204)](){const e=E,{plugins:t,conversion:n}=this[e(226)];t[e(242)](e(243))&&t[e(242)](e(232))&&(t[e(208)](e(243))[e(211)]({scope:e(218),attributeName:e(239),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(241)==o[s(237)](s(233))&&n&&(t[s(230)](s(247),i),t[s(219)](s(210),n,i))}}),n[e(213)](e(238))[e(222)]({view:{name:e(215),classes:e(234)},model:e(231),converterPriority:e(223)}),n[e(213)](e(238))[e(205)](t=>{const n=e;t.on(n(217),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(214)](n[r(244)]);if(!o)return;const s=o[r(214)];s[r(224)]=!1,i[r(220)][r(203)](n[r(244)],s)}}({name:"li",classes:n(247),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const S=N;function N(e,t){const n=T();return(N=function(e,t){return n[e-=384]})(e,t)}function T(){const e=["9805523MLixoV","style","lineHeight.options","string","_prepareAnyValueConverters","setAttributeProperties","add","56gVOVNr","getStyle","pluginName","lineHeight.defaultValue","isPremiumPlugin","commands","href","get","requires","editor","init","join","4NyGIRC","define","1090068xWqvWd","afterInit","attributeToAttribute","upcast","filter","line-height","lineHeight.supportAllValues","6684786NSathU","map","$block","isOfficialPlugin","for","_preparePredefinedConverters","default","LineHeightEditing","extend","fromCharCode","slice","333634WtcOdK","4651587iGCfaU","downcast","lineHeight","line-height-invalid-use-of-named-presets","4644060XGxkfA","_validateConfig","length","includes","values","conversion","config","model","7553095hTrFIX","schema"];return(T=function(){return e})()}!function(e){const t=N,n=e();for(;;)try{if(886582===parseInt(t(423))/1+-parseInt(t(387))/2+-parseInt(t(388))/3+-parseInt(t(421))/4*(parseInt(t(400))/5)+-parseInt(t(392))/6+-parseInt(t(402))/7+-parseInt(t(409))/8*(-parseInt(t(430))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class x extends e.Plugin{static get[S(411)](){return S(437)}static get[S(417)](){return[A]}static get[S(433)](){return!0}static get[S(413)](){return!0}constructor(e){const t=S;super(e),e[t(398)][t(422)](t(390),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(436),2,2.5,3]})}[S(419)](){const e=S,t=this[e(418)];this[e(393)](),t[e(399)][e(401)][e(384)](e(432),{allowAttributes:e(390)}),t[e(399)][e(401)][e(407)](e(390),{isFormatting:!0}),t[e(414)][e(408)](e(390),new a(t)),this[e(418)][e(398)][e(416)](e(429))?this[e(406)]():this[e(435)]()}[S(424)](){!async function(e){const n=f([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[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([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]),[f([121])]:f([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]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=N;return e[t(431)](e=>String[t(385)](e))[t(420)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([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(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1770681600;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=N,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(415)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[S(393)](){const e=S,n=this[e(418)];if(!n[e(398)][e(416)](e(429)))return;const i=n[e(398)][e(416)](e(404))[e(427)](t=>e(405)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(394)])throw new t.CKEditorError(e(391),null,{namedPresets:i})}[S(406)](){const e=S,t=this[e(418)],n=this[e(418)][e(398)][e(416)](e(412));t[e(397)][e(434)](e(389))[e(425)]({model:{key:e(390)},view:t=>String(t)===String(n)?null:{key:e(403),value:{"line-height":t}}}),t[e(397)][e(434)](e(426))[e(425)]({model:{key:e(390),value:t=>{const i=e;let r=t[i(410)](i(428));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(386)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[S(435)](){const e=S,t=this[e(418)],n=this[e(418)][e(398)][e(416)](e(412)),i=d(this[e(418)][e(398)][e(416)](e(390)))[e(427)](t=>t[e(399)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(516)===e[n(510)]?.[n(526)]?(i[n(527)][n(524)][n(520)](e[n(527)]),i[n(510)][e[n(527)]]={key:n(516),value:e[n(510)][n(505)]}):(i[n(527)][n(524)][n(520)](e[n(527)]),i[n(510)][e[n(527)]]={key:n(518),value:n(503)+e[n(527)]+";"});return i}(e(390),i);t[e(397)][e(425)](r),t[e(397)][e(434)](e(426))[e(425)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(390),value:t=>{const i=e;let o=t[i(410)](i(428));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(386)](0,-1))/100)),o===String(n)?null:r[i(399)][i(396)][i(395)](o)?o:null}}})}}var P=n(311),V=n(355),K=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=w(),B.insertStyleElement=_();g()(K.A,B);K.A&&K.A.locals&&K.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"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"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new 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: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 P.MenuBarMenuView(r);o.buttonView.set({label:e,icon:V.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()})}}function j(e,t){var n=R();return(j=function(e,t){return n[e-=422]})(e,t)}var D=j;function R(){var e=["isOfficialPlugin","3031740zTuRxn","5118JCcpwb","859486wFCEuj","pluginName","3479CsRCyZ","2894416fTZBzw","1EMpLTA","requires","isPremiumPlugin","LineHeight","1637000LGcuIV","451888CdFCqY","1563546JZefOW"];return(R=function(){return e})()}!function(e){for(var t=j,n=e();;)try{if(287614===parseInt(t(429))/1*(parseInt(t(425))/2)+parseInt(t(435))/3+parseInt(t(434))/4+-parseInt(t(433))/5+-parseInt(t(424))/6*(parseInt(t(427))/7)+-parseInt(t(428))/8+parseInt(t(423))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R);class U extends e.Plugin{static get[D(430)](){return[x,M]}static get[D(426)](){return D(432)}static get[D(422)](){return!0}static get[D(431)](){return!0}}function F(e,t){var n=G();return(F=function(e,t){return n[e-=316]})(e,t)}function G(){var e=["12KAcRPB","50455ujcvKT","7754QjHJNW","230QGfSXk","9021280zLkSdN","378484TgVABk","133bvApYB","24VhlSgU","1676475HgQMjb","393272mjbUfv","12750199vRNNhj","66EsRfQP"];return(G=function(){return e})()}!function(e){for(var t=F,n=e();;)try{if(718855===-parseInt(t(327))/1*(parseInt(t(326))/2)+-parseInt(t(324))/3*(parseInt(t(317))/4)+-parseInt(t(325))/5*(parseInt(t(323))/6)+parseInt(t(318))/7*(-parseInt(t(321))/8)+-parseInt(t(320))/9+parseInt(t(316))/10+-parseInt(t(322))/11*(-parseInt(t(319))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(G)})(),(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 _0x1f6d87,Plugin as _0x220911}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x4431c1,CKEditorError as _0x7dc65,uid as _0x4b95db,Collection as _0x5194df}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x352eb0,isPercentageStyleValue as _0x50b288}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5e6f6b,createDropdown as _0x4896d3,addListToDropdown as _0x19e9ee,MenuBarMenuView as _0x756dcc,MenuBarMenuListView as _0x2fd6e3,MenuBarMenuListItemView as _0x26cc26,MenuBarMenuListItemButtonView as _0x53ed28}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x925f4d}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1f6d87{['refresh'](){const _0x49d67c=this['editor']['model']['document'],_0x327fea=_0x4431c1(_0x49d67c['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x327fea)&&this['_canHaveLineHeight'](_0x327fea),this['value']=this['isEnabled']&&_0x327fea['getAttribute']('lineHeight');}['execute'](_0x61aedd={}){const _0x1db2d2=this['editor']['model'],_0x4abf1d=_0x1db2d2['document']['selection'],_0x3f680d=_0x61aedd['value'];_0x1db2d2['change'](_0x36ecfd=>{const _0x1458b2=Array['from'](_0x4abf1d['getSelectedBlocks']())['filter'](_0x1bca8e=>this['_canHaveLineHeight'](_0x1bca8e));for(const _0x53634a of _0x1458b2)_0x3f680d?_0x36ecfd['setAttribute']('lineHeight',_0x3f680d,_0x53634a):_0x36ecfd['removeAttribute']('lineHeight',_0x53634a);});}['_canHaveLineHeight'](_0x21a65b){return this['editor']['model']['schema']['checkAttribute'](_0x21a65b,'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(_0x396396){return'string'==typeof _0x396396&&'default'===_0x396396['toLowerCase']();}function a(_0x3a2d8d){return _0x3a2d8d['options']['map'](_0x4cac5f=>{return f(_0x4cac5f)?{'title':String(_0x3a2d8d['defaultValue']),'model':'default'}:('number'==typeof _0x4cac5f&&(_0x4cac5f=String(_0x4cac5f)),'string'!=typeof _0x4cac5f?_0x4cac5f:parseFloat(_0x4cac5f)?{'title':_0x4cac5f,'model':_0x4cac5f,'view':{'name':'span','styles':{'line-height':_0x4cac5f}}}:'string'==typeof(_0x65f873=_0x4cac5f)?v[_0x65f873]:v[_0x65f873['model']]);var _0x65f873;})['filter'](_0x34ac0f=>void 0x0!==_0x34ac0f);}class g extends _0x220911{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2f587e,conversion:_0x3bd5ef}=this['editor'];if(!_0x2f587e['has']('ListEditing')||!_0x2f587e['has']('TodoListEditing'))return;_0x2f587e['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x3eaa1b,_0xb80ab2,_0x4524f8,_0x1059fb,_0x4504fe){'todo'==_0x4504fe['getAttribute']('listType')&&_0xb80ab2&&(_0x3eaa1b['addClass']('ck-list-marker-line-height',_0x4524f8),_0x3eaa1b['setStyle']('--ck-content-list-marker-line-height',_0xb80ab2,_0x4524f8));}}),_0x3bd5ef['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x3bd5ef['for']('upcast')['add'](_0x55c9ce=>{_0x55c9ce['on']('element:li',function(_0x366556){const _0x346301=new _0x352eb0(_0x366556);return(_0x255df9,_0x275a29,_0x1fbecd)=>{const _0x27e221=_0x346301['match'](_0x275a29['viewItem']);if(!_0x27e221)return;const _0x338067=_0x27e221['match'];_0x338067['name']=!0x1,_0x1fbecd['consumable']['consume'](_0x275a29['viewItem'],_0x338067);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x220911{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5004bc){super(_0x5004bc),_0x5004bc['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3e3805=this['editor'];this['_validateConfig'](),_0x3e3805['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3e3805['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3e3805['commands']['add']('lineHeight',new n(_0x3e3805)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0xb0200c){const _0x36cc0a=_0x379841([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]),_0x11b30f=0x45ddd215,_0x255e40=0x45da532d^_0x11b30f,_0x2be986=window[_0x379841([0x44,0x61,0x74,0x65])][_0x379841([0x6e,0x6f,0x77])](),_0x35c48f=_0xb0200c[_0x379841([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f72ba=new window[(_0x379841([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x139f37=>{_0x35c48f[_0x379841([0x6f,0x6e,0x63,0x65])](_0x379841([0x72,0x65,0x61,0x64,0x79]),_0x139f37);}),_0xc7ab10={[_0x379841([0x6b,0x74,0x79])]:_0x379841([0x45,0x43]),[_0x379841([0x75,0x73,0x65])]:_0x379841([0x73,0x69,0x67]),[_0x379841([0x63,0x72,0x76])]:_0x379841([0x50,0x2d,0x32,0x35,0x36]),[_0x379841([0x78])]:_0x379841([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]),[_0x379841([0x79])]:_0x379841([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]),[_0x379841([0x61,0x6c,0x67])]:_0x379841([0x45,0x53,0x32,0x35,0x36])},_0x374f87=_0x35c48f[_0x379841([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x379841([0x67,0x65,0x74])](_0x379841([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42a915(){let _0x56dcc5,_0x3d1c05=null,_0xaa811=null;try{if(_0x374f87==_0x379841([0x47,0x50,0x4c]))return _0x379841([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56dcc5=_0x5362f0(),!_0x56dcc5)return _0x379841([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56dcc5[_0x379841([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xaa811=_0x3b0bde(_0x56dcc5[_0x379841([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56dcc5[_0x379841([0x6a,0x74,0x69])])),await _0xd4744()?_0x133e80()?_0x429752()?_0x379841([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe33e18()?(_0x56dcc5[_0x379841([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x379841([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d1c05=_0x4bfe40(_0x379841([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4cc7d0()):_0x379841([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x379841([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x379841([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x379841([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x429752(){const _0x300e51=[_0x379841([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x379841([0x74,0x72,0x69,0x61,0x6c])][_0x379841([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56dcc5[_0x379841([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2be986/0x3e8:0xe10*_0x255e40;return _0x56dcc5[_0x379841([0x65,0x78,0x70])]<_0x300e51;}function _0x133e80(){const _0x275fab=_0x56dcc5[_0x379841([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x275fab&&(!!_0x275fab[_0x379841([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379841([0x2a]))||!!_0x275fab[_0x379841([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379841([0x4c,0x48])));}function _0xe33e18(){const _0x46e974=_0x56dcc5[_0x379841([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46e974||0x0==_0x46e974[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4db4b8}=new URL(window[_0x379841([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x46e974[_0x379841([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4db4b8))return!0x0;const _0x33e777=_0x4db4b8[_0x379841([0x73,0x70,0x6c,0x69,0x74])](_0x379841([0x2e]));return _0x46e974[_0x379841([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20aa5e=>_0x20aa5e[_0x379841([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379841([0x2a])))[_0x379841([0x6d,0x61,0x70])](_0x5b6b60=>_0x5b6b60[_0x379841([0x73,0x70,0x6c,0x69,0x74])](_0x379841([0x2e])))[_0x379841([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e747f=>_0x4e747f[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33e777[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x379841([0x6d,0x61,0x70])](_0x50d84b=>Array(_0x33e777[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50d84b[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x379841([0x66,0x69,0x6c,0x6c])](_0x50d84b[0x0]===_0x379841([0x2a])?_0x379841([0x2a]):'')[_0x379841([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50d84b))[_0x379841([0x73,0x6f,0x6d,0x65])](_0x507f81=>_0x33e777[_0x379841([0x65,0x76,0x65,0x72,0x79])]((_0x11b32c,_0x47850b)=>_0x507f81[_0x47850b]===_0x11b32c||_0x507f81[_0x47850b]===_0x379841([0x2a])));}function _0x4cc7d0(){return _0x3d1c05&&_0xaa811?new window[(_0x379841([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3067fe,_0x390bd8)=>{_0x3d1c05[_0x379841([0x74,0x68,0x65,0x6e])](_0x3067fe,_0x390bd8),_0xaa811[_0x379841([0x74,0x68,0x65,0x6e])](_0x137dc0=>{_0x137dc0!=_0x379841([0x56,0x61,0x6c,0x69,0x64])&&_0x3067fe(_0x137dc0);},_0x390bd8);}):_0x3d1c05||_0xaa811||_0x379841([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b0bde(_0x7c37d5,_0xf52150){return new window[(_0x379841([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed23e=>{if(_0x5bf02b())return _0x1ed23e(_0x379841([0x56,0x61,0x6c,0x69,0x64]));_0x5a8bb9(),_0x35c48f[_0x379841([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x379841([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a8c90=!0x1;const _0x19a9cc=_0x4b95db();function _0x44231f(_0x103aa9){return!!_0x103aa9&&(typeof _0x103aa9===_0x379841([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x103aa9===_0x379841([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x103aa9[_0x379841([0x74,0x68,0x65,0x6e])]===_0x379841([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x103aa9[_0x379841([0x63,0x61,0x74,0x63,0x68])]===_0x379841([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38e7a8(_0x1e3d71){_0x501dc0(_0x1e3d71)[_0x379841([0x74,0x68,0x65,0x6e])](_0xaafe7a=>{if(!_0xaafe7a||_0xaafe7a[_0x379841([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x379841([0x6f,0x6b]))return _0x379841([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a604b(_0x50e119(_0x19a9cc+_0xf52150))!=_0xaafe7a[_0x379841([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x379841([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x379841([0x56,0x61,0x6c,0x69,0x64]);})[_0x379841([0x74,0x68,0x65,0x6e])](_0x2c4cf1=>(_0x5148f7(),_0x2c4cf1),()=>{const _0x1ebb2c=_0x4c6d08();return null==_0x1ebb2c?(_0x5148f7(),_0x379841([0x56,0x61,0x6c,0x69,0x64])):_0x379841(_0x2be986-_0x1ebb2c>(0x61d15615^_0x11b30f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x379841([0x74,0x68,0x65,0x6e])](_0x1ed23e)[_0x379841([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ed23e(_0x379841([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d91d7=0x45eb3c95^_0x11b30f;function _0x5148f7(){const _0x390bb7=_0x379841([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a604b(_0x50e119(_0x7c37d5)),_0x364d93=_0x450eb2(_0x2a604b(window[_0x379841([0x4d,0x61,0x74,0x68])][_0x379841([0x63,0x65,0x69,0x6c])](_0x2be986/_0x1d91d7)));window[_0x379841([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x379841([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x390bb7,_0x364d93);}function _0x4c6d08(){const _0xb71f60=_0x379841([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a604b(_0x50e119(_0x7c37d5)),_0x39513d=window[_0x379841([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x379841([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb71f60);return _0x39513d?window[_0x379841([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x450eb2(_0x39513d),0x10)*_0x1d91d7:null;}function _0x501dc0(_0x1adad8){return new window[(_0x379841([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1531f4,_0x12fd72)=>{_0x1adad8[_0x379841([0x74,0x68,0x65,0x6e])](_0x1531f4,_0x12fd72),window[_0x379841([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12fd72,0x45dc06d5^_0x11b30f);});}}_0x35c48f[_0x379841([0x6f,0x6e])](_0x379841([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f517f,_0x58cab8)=>{if(_0x58cab8[0x0]!=_0x7c37d5)return _0x1ed23e(_0x379841([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58cab8[0x1]={..._0x58cab8[0x1],[_0x379841([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x19a9cc};},{[_0x379841([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x379841([0x68,0x69,0x67,0x68])}),_0x35c48f[_0x379841([0x6f,0x6e])](_0x379841([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5637f0=>{_0x44231f(_0x5637f0[_0x379841([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a8c90=!0x0,_0x38e7a8(_0x5637f0[_0x379841([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x379841([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x379841([0x6c,0x6f,0x77])}),_0x3f72ba[_0x379841([0x74,0x68,0x65,0x6e])](()=>{_0x4a8c90||_0x1ed23e(_0x379841([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bf02b(){return _0x35c48f[_0x379841([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x379841([0x76,0x69,0x65,0x77])][_0x379841([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x379841([0x61,0x75,0x74,0x6f]);}function _0x5a8bb9(){_0x35c48f[_0x379841([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x379841([0x76,0x69,0x65,0x77])][_0x379841([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x379841([0x61,0x75,0x74,0x6f]);}}function _0x4bfe40(_0xe67ea2){const _0x1d5b61=[new window[(_0x379841([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7667=>setTimeout(_0x4e7667,0x45d4ecd9^_0x11b30f)),_0x3f72ba[_0x379841([0x74,0x68,0x65,0x6e])](()=>new window[(_0x379841([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dacaa=>{let _0x233f9d=0x0;_0x35c48f[_0x379841([0x6d,0x6f,0x64,0x65,0x6c])][_0x379841([0x6f,0x6e])](_0x379841([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x213e88,_0x71290b)=>{_0x71290b[0x0][_0x379841([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x233f9d++,_0x233f9d==(0x45ddd7fd^_0x11b30f)&&(_0x3dacaa(),_0x213e88[_0x379841([0x6f,0x66,0x66])]());});}))];return window[_0x379841([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x379841([0x72,0x61,0x63,0x65])](_0x1d5b61)[_0x379841([0x74,0x68,0x65,0x6e])](()=>_0xe67ea2);}async function _0x2affa5(){await _0x3f72ba,_0x35c48f[_0x379841([0x6d,0x6f,0x64,0x65,0x6c])][_0x379841([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3badaa,_0x35c48f[_0x379841([0x6d,0x6f,0x64,0x65,0x6c])][_0x379841([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3badaa,_0x35c48f[_0x379841([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x379841([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3658c2(_0x226a83){const _0x529db2=_0x1b6912();_0x35c48f[_0x529db2]=_0x379841([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x226a83,_0x226a83!=_0x379841([0x56,0x61,0x6c,0x69,0x64])&&_0x2affa5();}function _0x1b6912(){const _0x116331=window[_0x379841([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x379841([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x379841([0x6e,0x6f,0x77])]())[_0x379841([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x379841([0x2e]),'');let _0x4ee94b=_0x379841([0x50]);for(let _0x456ed8=0x0;_0x456ed8<_0x116331[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x456ed8+=0x2){let _0x37f6eb=window[_0x379841([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x116331[_0x379841([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x456ed8,_0x456ed8+0x2));_0x37f6eb>=_0x36cc0a[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37f6eb-=_0x36cc0a[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ee94b+=_0x36cc0a[_0x37f6eb];}return _0x4ee94b;}function _0x5362f0(){const _0x484239=_0x374f87[_0x379841([0x73,0x70,0x6c,0x69,0x74])](_0x379841([0x2e]));if(0x3!=_0x484239[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e5d45(_0x484239[0x1]);function _0x3e5d45(_0x5a5ce7){const _0x37fb37=_0x322a24(_0x5a5ce7);return _0x37fb37&&_0x154f33()?_0x37fb37:null;function _0x154f33(){const _0x51d505=_0x37fb37[_0x379841([0x6a,0x74,0x69])],_0x3d6ab0=window[_0x379841([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d505[_0x379841([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51d505[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x385172={..._0x37fb37,[_0x379841([0x6a,0x74,0x69])]:_0x51d505[_0x379841([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51d505[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x385172[_0x379841([0x76,0x63])],_0x50e119(_0x385172)==_0x3d6ab0;}}}async function _0xd4744(){let _0x13d4da=!0x0;try{const _0x3f08e3=_0x374f87[_0x379841([0x73,0x70,0x6c,0x69,0x74])](_0x379841([0x2e])),[_0x3ac0be,_0x43e40e,_0xc534c0]=_0x3f08e3;return _0x328a66(_0x3ac0be),await _0x18f272(_0x3ac0be,_0x43e40e,_0xc534c0),_0x13d4da;}catch{return!0x1;}function _0x328a66(_0x411c9e){const _0xb9f73e=_0x322a24(_0x411c9e);_0xb9f73e&&_0xb9f73e[_0x379841([0x61,0x6c,0x67])]==_0x379841([0x45,0x53,0x32,0x35,0x36])||(_0x13d4da=!0x1);}async function _0x18f272(_0x1bdc8b,_0xe5a6af,_0x1aa884){const _0x1a0ab1=window[_0x379841([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x379841([0x66,0x72,0x6f,0x6d])](_0x530d81(_0x1aa884),_0x19ce43=>_0x19ce43[_0x379841([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x854383=new window[(_0x379841([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x379841([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bdc8b+_0x379841([0x2e])+_0xe5a6af),_0xfaefc7=window[_0x379841([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x379841([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfaefc7)return;const _0x16cac2=await _0xfaefc7[_0x379841([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x379841([0x6a,0x77,0x6b]),_0xc7ab10,{[_0x379841([0x6e,0x61,0x6d,0x65])]:_0x379841([0x45,0x43,0x44,0x53,0x41]),[_0x379841([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x379841([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x379841([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfaefc7[_0x379841([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x379841([0x6e,0x61,0x6d,0x65])]:_0x379841([0x45,0x43,0x44,0x53,0x41]),[_0x379841([0x68,0x61,0x73,0x68])]:{[_0x379841([0x6e,0x61,0x6d,0x65])]:_0x379841([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16cac2,_0x1a0ab1,_0x854383)||(_0x13d4da=!0x1);}}function _0x322a24(_0x157038){return _0x157038[_0x379841([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x379841([0x65,0x79]))?JSON[_0x379841([0x70,0x61,0x72,0x73,0x65])](_0x530d81(_0x157038)):null;}function _0x530d81(_0xc2625e){return window[_0x379841([0x61,0x74,0x6f,0x62])](_0xc2625e[_0x379841([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x379841([0x2b]))[_0x379841([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x379841([0x2f])));}function _0x50e119(_0x3b0d5a){let _0x302920=0x1505;function _0x4be764(_0x579d06){for(let _0x413129=0x0;_0x413129<_0x579d06[_0x379841([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x413129++){const _0x35d137=_0x579d06[_0x379841([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x413129);_0x302920=(_0x302920<<0x5)+_0x302920+_0x35d137,_0x302920&=_0x302920;}}function _0x229433(_0x28f655){Array[_0x379841([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28f655)?_0x28f655[_0x379841([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x229433):_0x28f655&&typeof _0x28f655==_0x379841([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x379841([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28f655)[_0x379841([0x73,0x6f,0x72,0x74])]()[_0x379841([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fccd3,_0x24ad57])=>{_0x4be764(_0x4fccd3),_0x229433(_0x24ad57);}):_0x4be764(window[_0x379841([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28f655));}return _0x229433(_0x3b0d5a),_0x302920>>>0x0;}function _0x2a604b(_0x291775){return _0x291775[_0x379841([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x379841([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x379841([0x30]));}function _0x450eb2(_0x52a39b){return _0x52a39b[_0x379841([0x73,0x70,0x6c,0x69,0x74])]('')[_0x379841([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x379841([0x6a,0x6f,0x69,0x6e])]('');}function _0x3badaa(){}function _0x379841(_0x49b847){return _0x49b847['map'](_0x594b7b=>String['fromCharCode'](_0x594b7b))['join']('');}_0x3658c2(await _0x42a915());}(this);}['_validateConfig'](){const _0x89b0a0=this['editor'];if(!_0x89b0a0['config']['get']('lineHeight.supportAllValues'))return;const _0x291292=_0x89b0a0['config']['get']('lineHeight.options')['filter'](_0x107a78=>'string'==typeof _0x107a78&&(!f(_0x107a78)&&isNaN(Number(_0x107a78))));if(_0x291292['length'])throw new _0x7dc65('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x291292});}['_prepareAnyValueConverters'](){const _0x13408b=this['editor'],_0x21608b=this['editor']['config']['get']('lineHeight.defaultValue');_0x13408b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xc90165=>String(_0xc90165)===String(_0x21608b)?null:{'key':'style','value':{'line-height':_0xc90165}}}),_0x13408b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x46cfe7=>{let _0x4a9816=_0x46cfe7['getStyle']('line-height');return _0x50b288(_0x4a9816)&&(_0x4a9816=String(Number(_0x4a9816['slice'](0x0,-0x1))/0x64)),String(_0x4a9816)===String(_0x21608b)?null:_0x4a9816;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x34e1cc=this['editor'],_0x446d19=this['editor']['config']['get']('lineHeight.defaultValue'),_0xd001=function(_0x1bb86f,_0x43d174){const _0x3ff1e6={'model':{'key':_0x1bb86f,'values':[]},'view':{}};for(const _0xdbe617 of _0x43d174)'class'===_0xdbe617['view']?.['key']?(_0x3ff1e6['model']['values']['push'](_0xdbe617['model']),_0x3ff1e6['view'][_0xdbe617['model']]={'key':'class','value':_0xdbe617['view']['value']}):(_0x3ff1e6['model']['values']['push'](_0xdbe617['model']),_0x3ff1e6['view'][_0xdbe617['model']]={'key':'style','value':'line-height:'+_0xdbe617['model']+';'});return _0x3ff1e6;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x3ea6d0=>_0x3ea6d0['model']));_0x34e1cc['conversion']['attributeToAttribute'](_0xd001),_0x34e1cc['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x390c80=>{let _0x64f42e=_0x390c80['getStyle']('line-height');return _0x50b288(_0x64f42e)&&(_0x64f42e=String(Number(_0x64f42e['slice'](0x0,-0x1))/0x64)),_0x64f42e===String(_0x446d19)?null:_0xd001['model']['values']['includes'](_0x64f42e)?_0x64f42e:null;}}});}}class r extends _0x220911{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2ea594={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2ea594),this['_registerMenuBarComponent'](_0x2ea594),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5f4359=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x925ead;for(const _0x2b5a6d in _0x5f4359){const _0x2a558f=_0x2b5a6d,_0x2dc0cc=_0x5f4359[_0x2a558f];if('lineHeightLicenseKeyValid'==_0x2dc0cc||'lineHeightLicenseKeyInvalid'==_0x2dc0cc||'lineHeightLicenseKeyExpired'==_0x2dc0cc||'lineHeightLicenseKeyDomainLimit'==_0x2dc0cc||'lineHeightLicenseKeyNotAllowed'==_0x2dc0cc||'lineHeightLicenseKeyEvaluationLimit'==_0x2dc0cc||'lineHeightLicenseKeyUsageLimit'==_0x2dc0cc){delete _0x5f4359[_0x2a558f],_0x925ead=_0x2dc0cc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x925ead&&_0x5f4359['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x925ead&&_0x5f4359['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x925ead&&_0x5f4359['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x925ead&&_0x5f4359['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x925ead&&_0x5f4359['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x925ead&&_0x5f4359['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1ec67f=this['editor'],t=_0x1ec67f['t'],_0x37b7e6=_0x1ec67f['config']['get']('lineHeight'),_0x3e0c78={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x37b7e6)['map'](_0x27c2c1=>{const _0x4852a=_0x3e0c78[_0x27c2c1['title']];return _0x4852a&&_0x4852a!=_0x27c2c1['title']&&(_0x27c2c1=Object['assign']({},_0x27c2c1,{'title':_0x4852a})),_0x27c2c1;});}['_prepareListOptions'](){const _0x351110=this['editor']['commands']['get']('lineHeight'),_0xf78388=this['editor']['config']['get']('lineHeight.defaultValue'),_0x41b1e0=this['_getLocalizedLineHeightOptions'](),_0x41c387=new _0x5194df(),_0x4e293b=_0x44d335=>'default'===_0x44d335||String(_0xf78388)===_0x44d335;for(const _0x2f2b7d of _0x41b1e0){const _0x420b13={'type':'button','model':new _0x5e6f6b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2f2b7d['title'],'withText':!0x0})};_0x4e293b(_0x2f2b7d['model'])?(_0x420b13['model']['bind']('isOn')['to'](_0x351110,'value',_0x49a85e=>!_0x49a85e),_0x420b13['model']['commandParam']=void 0x0):(_0x420b13['model']['bind']('isOn')['to'](_0x351110,'value',_0x535773=>_0x535773===_0x2f2b7d['model']),_0x420b13['model']['commandParam']=_0x2f2b7d['model']),_0x41c387['add'](_0x420b13);}if(this['_shouldRenderCustomValueOption']()){const _0x306107=this['_getCustomValueOptionDefinition'](_0x41b1e0);_0x41c387['add'](_0x306107);}return _0x41c387;}['_getCustomValueOptionDefinition'](_0x4ffdbb){const _0x2e6457=this['editor'],t=_0x2e6457['t'],_0xdee51d=_0x2e6457['commands']['get']('lineHeight'),_0x263e17=_0x4ffdbb['map'](_0x37cb42=>_0x37cb42['model']),_0x2011bc={'type':'button','model':new _0x5e6f6b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2011bc['model']['bind']('commandParam')['to'](_0xdee51d,'value'),_0x2011bc['model']['bind']('isOn')['to'](_0xdee51d,'value',_0x3909f8=>!!_0x3909f8&&!_0x263e17['includes'](String(_0x3909f8))),_0x2011bc['model']['bind']('label')['to'](_0xdee51d,'value',_0x174d33=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x174d33))),_0x2011bc;}['_registerToolbarComponent']({accessibleLabel:_0x487e34,options:_0x5c71ed}){const _0x2f7fca=this['editor'],_0xed2c74=_0x2f7fca['commands']['get']('lineHeight');_0x2f7fca['ui']['componentFactory']['add']('lineHeight',_0x3f8587=>{const _0x3a142b=_0x4896d3(_0x3f8587);return _0x19e9ee(_0x3a142b,_0x5c71ed,{'role':'menu','ariaLabel':_0x487e34}),_0x3a142b['buttonView']['set']({'label':_0x487e34,'tooltip':!0x0,'icon':_0x925f4d}),_0x3a142b['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3a142b['bind']('isEnabled')['to'](_0xed2c74),this['listenTo'](_0x3a142b,'execute',_0x531736=>{_0x2f7fca['execute'](_0x531736['source']['commandName'],{'value':_0x531736['source']['commandParam']}),_0x2f7fca['editing']['view']['focus']();}),_0x3a142b['once']('change:isOpen',()=>{const _0xc23b97=_0x3a142b['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3a142b,_0x5c71ed,_0xc23b97);}),_0x3a142b;});}['_registerMenuBarComponent']({accessibleLabel:_0x3229cd,options:_0x26974b}){const _0x3d58a3=this['editor'],_0x28b9a7=_0x3d58a3['commands']['get']('lineHeight');_0x3d58a3['ui']['componentFactory']['add']('menuBar:lineHeight',_0x32582d=>{const _0x1d4369=new _0x756dcc(_0x32582d);_0x1d4369['buttonView']['set']({'label':_0x3229cd,'icon':_0x925f4d}),_0x1d4369['bind']('isEnabled')['to'](_0x28b9a7);const _0x6d31bf=new _0x2fd6e3(_0x32582d);for(const _0x3f3541 of _0x26974b){const _0x20330f=new _0x26cc26(_0x32582d,_0x1d4369),_0x31d4b6=new _0x53ed28(_0x32582d);_0x31d4b6['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x31d4b6['bind'](...Object['keys'](_0x3f3541['model']))['to'](_0x3f3541['model']),_0x31d4b6['delegate']('execute')['to'](_0x1d4369),_0x31d4b6['on']('execute',()=>{_0x3d58a3['execute'](_0x3f3541['model']['commandName'],{'value':_0x3f3541['model']['commandParam']}),_0x3d58a3['editing']['view']['focus']();}),_0x20330f['children']['add'](_0x31d4b6),_0x6d31bf['items']['add'](_0x20330f);}return _0x1d4369['panelView']['children']['add'](_0x6d31bf),this['_attachCustomOptionVisibilityHandler'](_0x1d4369,_0x26974b,_0x6d31bf),_0x1d4369;});}['_attachCustomOptionVisibilityHandler'](_0x3168b4,_0x388f7a,_0x5a09a3){if(!this['_shouldRenderCustomValueOption']())return;const _0x256657=()=>{if(!_0x3168b4['isOpen'])return;_0x5a09a3['items']['last']['isVisible']=Boolean(_0x388f7a['last']['model']['isOn']);};_0x256657(),_0x3168b4['on']('change:isOpen',()=>{_0x256657();});}}class _ extends _0x220911{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 _0xbf275d,Plugin as _0x58c8e1}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x51bc2a,CKEditorError as _0x40b153,uid as _0x1a52e7,Collection as _0x14d71d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x6c9e1d,isPercentageStyleValue as _0x4d223e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x247b5c,createDropdown as _0x4e43ad,addListToDropdown as _0xd3ba05,MenuBarMenuView as _0x216cd7,MenuBarMenuListView as _0x54b1bd,MenuBarMenuListItemView as _0xecc790,MenuBarMenuListItemButtonView as _0x1be269}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x42f606}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xbf275d{['refresh'](){const _0x54afc7=this['editor']['model']['document'],_0x57a58f=_0x51bc2a(_0x54afc7['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x57a58f)&&this['_canHaveLineHeight'](_0x57a58f),this['value']=this['isEnabled']&&_0x57a58f['getAttribute']('lineHeight');}['execute'](_0x5bf4fa={}){const _0x23cdb5=this['editor']['model'],_0x2f224f=_0x23cdb5['document']['selection'],_0x318979=_0x5bf4fa['value'];_0x23cdb5['change'](_0x194524=>{const _0xcfac21=Array['from'](_0x2f224f['getSelectedBlocks']())['filter'](_0x34bf45=>this['_canHaveLineHeight'](_0x34bf45));for(const _0x46a71c of _0xcfac21)_0x318979?_0x194524['setAttribute']('lineHeight',_0x318979,_0x46a71c):_0x194524['removeAttribute']('lineHeight',_0x46a71c);});}['_canHaveLineHeight'](_0x580255){return this['editor']['model']['schema']['checkAttribute'](_0x580255,'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(_0x4c7e56){return'string'==typeof _0x4c7e56&&'default'===_0x4c7e56['toLowerCase']();}function a(_0x15bbbd){return _0x15bbbd['options']['map'](_0x30b9cc=>{return f(_0x30b9cc)?{'title':String(_0x15bbbd['defaultValue']),'model':'default'}:('number'==typeof _0x30b9cc&&(_0x30b9cc=String(_0x30b9cc)),'string'!=typeof _0x30b9cc?_0x30b9cc:parseFloat(_0x30b9cc)?{'title':_0x30b9cc,'model':_0x30b9cc,'view':{'name':'span','styles':{'line-height':_0x30b9cc}}}:'string'==typeof(_0x593fe2=_0x30b9cc)?v[_0x593fe2]:v[_0x593fe2['model']]);var _0x593fe2;})['filter'](_0x5994cf=>void 0x0!==_0x5994cf);}class g extends _0x58c8e1{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2153ef,conversion:_0x5dd123}=this['editor'];if(!_0x2153ef['has']('ListEditing')||!_0x2153ef['has']('TodoListEditing'))return;_0x2153ef['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x375ba0,_0x599bc5,_0xa1ff1,_0x497fca,_0x40b6fd){'todo'==_0x40b6fd['getAttribute']('listType')&&_0x599bc5&&(_0x375ba0['addClass']('ck-list-marker-line-height',_0xa1ff1),_0x375ba0['setStyle']('--ck-content-list-marker-line-height',_0x599bc5,_0xa1ff1));}}),_0x5dd123['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x5dd123['for']('upcast')['add'](_0x465eac=>{_0x465eac['on']('element:li',function(_0x17be36){const _0x299e9b=new _0x6c9e1d(_0x17be36);return(_0x21e9d3,_0x5cdc01,_0x36b5f8)=>{const _0x238991=_0x299e9b['match'](_0x5cdc01['viewItem']);if(!_0x238991)return;const _0x328a50=_0x238991['match'];_0x328a50['name']=!0x1,_0x36b5f8['consumable']['consume'](_0x5cdc01['viewItem'],_0x328a50);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x58c8e1{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8adfb0){super(_0x8adfb0),_0x8adfb0['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x17bbd6=this['editor'];this['_validateConfig'](),_0x17bbd6['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x17bbd6['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x17bbd6['commands']['add']('lineHeight',new n(_0x17bbd6)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0xe77c6c){const _0xed5bd3=_0x55fe9f([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]),_0x30651d=0x45ddd215,_0x5029b5=0x45da5345^_0x30651d,_0x1c3eff=window[_0x55fe9f([0x44,0x61,0x74,0x65])][_0x55fe9f([0x6e,0x6f,0x77])](),_0x502700=_0xe77c6c[_0x55fe9f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50ad09=new window[(_0x55fe9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27b0d2=>{_0x502700[_0x55fe9f([0x6f,0x6e,0x63,0x65])](_0x55fe9f([0x72,0x65,0x61,0x64,0x79]),_0x27b0d2);}),_0x464595={[_0x55fe9f([0x6b,0x74,0x79])]:_0x55fe9f([0x45,0x43]),[_0x55fe9f([0x75,0x73,0x65])]:_0x55fe9f([0x73,0x69,0x67]),[_0x55fe9f([0x63,0x72,0x76])]:_0x55fe9f([0x50,0x2d,0x32,0x35,0x36]),[_0x55fe9f([0x78])]:_0x55fe9f([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]),[_0x55fe9f([0x79])]:_0x55fe9f([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]),[_0x55fe9f([0x61,0x6c,0x67])]:_0x55fe9f([0x45,0x53,0x32,0x35,0x36])},_0x526df5=_0x502700[_0x55fe9f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55fe9f([0x67,0x65,0x74])](_0x55fe9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a7759(){let _0x3908d6,_0x451b02=null,_0x3c28dd=null;try{if(_0x526df5==_0x55fe9f([0x47,0x50,0x4c]))return _0x55fe9f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3908d6=_0x19c05a(),!_0x3908d6)return _0x55fe9f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3908d6[_0x55fe9f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c28dd=_0x39b18f(_0x3908d6[_0x55fe9f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3908d6[_0x55fe9f([0x6a,0x74,0x69])])),await _0x4bdcf6()?_0x48c2b6()?_0x574e61()?_0x55fe9f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x533b9a()?(_0x3908d6[_0x55fe9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55fe9f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x451b02=_0x1c340d(_0x55fe9f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b34d8()):_0x55fe9f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55fe9f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55fe9f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55fe9f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x574e61(){const _0x3c9e0e=[_0x55fe9f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55fe9f([0x74,0x72,0x69,0x61,0x6c])][_0x55fe9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3908d6[_0x55fe9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c3eff/0x3e8:0xe10*_0x5029b5;return _0x3908d6[_0x55fe9f([0x65,0x78,0x70])]<_0x3c9e0e;}function _0x48c2b6(){const _0x1055c1=_0x3908d6[_0x55fe9f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1055c1&&(!!_0x1055c1[_0x55fe9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55fe9f([0x2a]))||!!_0x1055c1[_0x55fe9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55fe9f([0x4c,0x48])));}function _0x533b9a(){const _0x42af44=_0x3908d6[_0x55fe9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42af44||0x0==_0x42af44[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16cd51}=new URL(window[_0x55fe9f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42af44[_0x55fe9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16cd51))return!0x0;const _0x5f4e59=_0x16cd51[_0x55fe9f([0x73,0x70,0x6c,0x69,0x74])](_0x55fe9f([0x2e]));return _0x42af44[_0x55fe9f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54ec9c=>_0x54ec9c[_0x55fe9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55fe9f([0x2a])))[_0x55fe9f([0x6d,0x61,0x70])](_0x48c6a1=>_0x48c6a1[_0x55fe9f([0x73,0x70,0x6c,0x69,0x74])](_0x55fe9f([0x2e])))[_0x55fe9f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40f721=>_0x40f721[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f4e59[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55fe9f([0x6d,0x61,0x70])](_0x110e2c=>Array(_0x5f4e59[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x110e2c[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55fe9f([0x66,0x69,0x6c,0x6c])](_0x110e2c[0x0]===_0x55fe9f([0x2a])?_0x55fe9f([0x2a]):'')[_0x55fe9f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x110e2c))[_0x55fe9f([0x73,0x6f,0x6d,0x65])](_0x4e8289=>_0x5f4e59[_0x55fe9f([0x65,0x76,0x65,0x72,0x79])]((_0xd1f127,_0x5e3796)=>_0x4e8289[_0x5e3796]===_0xd1f127||_0x4e8289[_0x5e3796]===_0x55fe9f([0x2a])));}function _0x2b34d8(){return _0x451b02&&_0x3c28dd?new window[(_0x55fe9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28d5fa,_0x4af1aa)=>{_0x451b02[_0x55fe9f([0x74,0x68,0x65,0x6e])](_0x28d5fa,_0x4af1aa),_0x3c28dd[_0x55fe9f([0x74,0x68,0x65,0x6e])](_0x4873fb=>{_0x4873fb!=_0x55fe9f([0x56,0x61,0x6c,0x69,0x64])&&_0x28d5fa(_0x4873fb);},_0x4af1aa);}):_0x451b02||_0x3c28dd||_0x55fe9f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x39b18f(_0x56a881,_0x17eafe){return new window[(_0x55fe9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x328995=>{if(_0x16f1e1())return _0x328995(_0x55fe9f([0x56,0x61,0x6c,0x69,0x64]));_0x57a24b(),_0x502700[_0x55fe9f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55fe9f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52b0a6=!0x1;const _0x531c4d=_0x1a52e7();function _0x560edf(_0x4e1f30){return!!_0x4e1f30&&(typeof _0x4e1f30===_0x55fe9f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e1f30===_0x55fe9f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e1f30[_0x55fe9f([0x74,0x68,0x65,0x6e])]===_0x55fe9f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e1f30[_0x55fe9f([0x63,0x61,0x74,0x63,0x68])]===_0x55fe9f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cc3ce(_0x193383){_0x5cbf8f(_0x193383)[_0x55fe9f([0x74,0x68,0x65,0x6e])](_0x50e9cc=>{if(!_0x50e9cc||_0x50e9cc[_0x55fe9f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55fe9f([0x6f,0x6b]))return _0x55fe9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f1ce2(_0x1022ef(_0x531c4d+_0x17eafe))!=_0x50e9cc[_0x55fe9f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55fe9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55fe9f([0x56,0x61,0x6c,0x69,0x64]);})[_0x55fe9f([0x74,0x68,0x65,0x6e])](_0x74d200=>(_0x12e560(),_0x74d200),()=>{const _0x5b676d=_0x4cb32b();return null==_0x5b676d?(_0x12e560(),_0x55fe9f([0x56,0x61,0x6c,0x69,0x64])):_0x55fe9f(_0x1c3eff-_0x5b676d>(0x61d15615^_0x30651d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55fe9f([0x74,0x68,0x65,0x6e])](_0x328995)[_0x55fe9f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x328995(_0x55fe9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42cbfd=0x45eb3c95^_0x30651d;function _0x12e560(){const _0x1ef498=_0x55fe9f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f1ce2(_0x1022ef(_0x56a881)),_0x25e181=_0x1232d1(_0x2f1ce2(window[_0x55fe9f([0x4d,0x61,0x74,0x68])][_0x55fe9f([0x63,0x65,0x69,0x6c])](_0x1c3eff/_0x42cbfd)));window[_0x55fe9f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55fe9f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ef498,_0x25e181);}function _0x4cb32b(){const _0x32b44d=_0x55fe9f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f1ce2(_0x1022ef(_0x56a881)),_0x504466=window[_0x55fe9f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55fe9f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32b44d);return _0x504466?window[_0x55fe9f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1232d1(_0x504466),0x10)*_0x42cbfd:null;}function _0x5cbf8f(_0x1c2eda){return new window[(_0x55fe9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cc949,_0x41bb0c)=>{_0x1c2eda[_0x55fe9f([0x74,0x68,0x65,0x6e])](_0x4cc949,_0x41bb0c),window[_0x55fe9f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41bb0c,0x45dc06d5^_0x30651d);});}}_0x502700[_0x55fe9f([0x6f,0x6e])](_0x55fe9f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x299e7a,_0x157e08)=>{if(_0x157e08[0x0]!=_0x56a881)return _0x328995(_0x55fe9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x157e08[0x1]={..._0x157e08[0x1],[_0x55fe9f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x531c4d};},{[_0x55fe9f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55fe9f([0x68,0x69,0x67,0x68])}),_0x502700[_0x55fe9f([0x6f,0x6e])](_0x55fe9f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x222ea1=>{_0x560edf(_0x222ea1[_0x55fe9f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52b0a6=!0x0,_0x1cc3ce(_0x222ea1[_0x55fe9f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55fe9f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55fe9f([0x6c,0x6f,0x77])}),_0x50ad09[_0x55fe9f([0x74,0x68,0x65,0x6e])](()=>{_0x52b0a6||_0x328995(_0x55fe9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x16f1e1(){return _0x502700[_0x55fe9f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55fe9f([0x76,0x69,0x65,0x77])][_0x55fe9f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55fe9f([0x61,0x75,0x74,0x6f]);}function _0x57a24b(){_0x502700[_0x55fe9f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55fe9f([0x76,0x69,0x65,0x77])][_0x55fe9f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55fe9f([0x61,0x75,0x74,0x6f]);}}function _0x1c340d(_0x49c5bc){const _0x4a67c4=[new window[(_0x55fe9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a10f=>setTimeout(_0x47a10f,0x45d4ecd9^_0x30651d)),_0x50ad09[_0x55fe9f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55fe9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fff9d=>{let _0x30dcb0=0x0;_0x502700[_0x55fe9f([0x6d,0x6f,0x64,0x65,0x6c])][_0x55fe9f([0x6f,0x6e])](_0x55fe9f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x116d5c,_0x28c1c2)=>{_0x28c1c2[0x0][_0x55fe9f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30dcb0++,_0x30dcb0==(0x45ddd7fd^_0x30651d)&&(_0x4fff9d(),_0x116d5c[_0x55fe9f([0x6f,0x66,0x66])]());});}))];return window[_0x55fe9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55fe9f([0x72,0x61,0x63,0x65])](_0x4a67c4)[_0x55fe9f([0x74,0x68,0x65,0x6e])](()=>_0x49c5bc);}async function _0x30b449(){await _0x50ad09,_0x502700[_0x55fe9f([0x6d,0x6f,0x64,0x65,0x6c])][_0x55fe9f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1528d0,_0x502700[_0x55fe9f([0x6d,0x6f,0x64,0x65,0x6c])][_0x55fe9f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1528d0,_0x502700[_0x55fe9f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55fe9f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d0d2c(_0x3a9b83){const _0x532618=_0x416c8b();_0x502700[_0x532618]=_0x55fe9f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a9b83,_0x3a9b83!=_0x55fe9f([0x56,0x61,0x6c,0x69,0x64])&&_0x30b449();}function _0x416c8b(){const _0x180783=window[_0x55fe9f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55fe9f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55fe9f([0x6e,0x6f,0x77])]())[_0x55fe9f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55fe9f([0x2e]),'');let _0x349715=_0x55fe9f([0x50]);for(let _0x51964e=0x0;_0x51964e<_0x180783[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51964e+=0x2){let _0x36c86d=window[_0x55fe9f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180783[_0x55fe9f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51964e,_0x51964e+0x2));_0x36c86d>=_0xed5bd3[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36c86d-=_0xed5bd3[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x349715+=_0xed5bd3[_0x36c86d];}return _0x349715;}function _0x19c05a(){const _0x558710=_0x526df5[_0x55fe9f([0x73,0x70,0x6c,0x69,0x74])](_0x55fe9f([0x2e]));if(0x3!=_0x558710[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x514367(_0x558710[0x1]);function _0x514367(_0x33a027){const _0x2ebf8b=_0x4605ae(_0x33a027);return _0x2ebf8b&&_0x3b1ffb()?_0x2ebf8b:null;function _0x3b1ffb(){const _0x137d16=_0x2ebf8b[_0x55fe9f([0x6a,0x74,0x69])],_0x4c01f2=window[_0x55fe9f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x137d16[_0x55fe9f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x137d16[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x186371={..._0x2ebf8b,[_0x55fe9f([0x6a,0x74,0x69])]:_0x137d16[_0x55fe9f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x137d16[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x186371[_0x55fe9f([0x76,0x63])],_0x1022ef(_0x186371)==_0x4c01f2;}}}async function _0x4bdcf6(){let _0x1166c2=!0x0;try{const _0x40fd0e=_0x526df5[_0x55fe9f([0x73,0x70,0x6c,0x69,0x74])](_0x55fe9f([0x2e])),[_0x477d12,_0x181266,_0x25dc11]=_0x40fd0e;return _0x5e23c5(_0x477d12),await _0x492b36(_0x477d12,_0x181266,_0x25dc11),_0x1166c2;}catch{return!0x1;}function _0x5e23c5(_0x5baf22){const _0xa1c3d7=_0x4605ae(_0x5baf22);_0xa1c3d7&&_0xa1c3d7[_0x55fe9f([0x61,0x6c,0x67])]==_0x55fe9f([0x45,0x53,0x32,0x35,0x36])||(_0x1166c2=!0x1);}async function _0x492b36(_0x1cd12a,_0x37a55c,_0xa35e8b){const _0x253275=window[_0x55fe9f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55fe9f([0x66,0x72,0x6f,0x6d])](_0x164d9c(_0xa35e8b),_0x29823f=>_0x29823f[_0x55fe9f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x456673=new window[(_0x55fe9f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55fe9f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1cd12a+_0x55fe9f([0x2e])+_0x37a55c),_0x31d88f=window[_0x55fe9f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55fe9f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31d88f)return;const _0x11c85b=await _0x31d88f[_0x55fe9f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55fe9f([0x6a,0x77,0x6b]),_0x464595,{[_0x55fe9f([0x6e,0x61,0x6d,0x65])]:_0x55fe9f([0x45,0x43,0x44,0x53,0x41]),[_0x55fe9f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55fe9f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55fe9f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31d88f[_0x55fe9f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55fe9f([0x6e,0x61,0x6d,0x65])]:_0x55fe9f([0x45,0x43,0x44,0x53,0x41]),[_0x55fe9f([0x68,0x61,0x73,0x68])]:{[_0x55fe9f([0x6e,0x61,0x6d,0x65])]:_0x55fe9f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11c85b,_0x253275,_0x456673)||(_0x1166c2=!0x1);}}function _0x4605ae(_0x583030){return _0x583030[_0x55fe9f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55fe9f([0x65,0x79]))?JSON[_0x55fe9f([0x70,0x61,0x72,0x73,0x65])](_0x164d9c(_0x583030)):null;}function _0x164d9c(_0x1d2cba){return window[_0x55fe9f([0x61,0x74,0x6f,0x62])](_0x1d2cba[_0x55fe9f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55fe9f([0x2b]))[_0x55fe9f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55fe9f([0x2f])));}function _0x1022ef(_0x50faa7){let _0x47d60f=0x1505;function _0x3ed5c4(_0x3de461){for(let _0x19ef7f=0x0;_0x19ef7f<_0x3de461[_0x55fe9f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19ef7f++){const _0xebc353=_0x3de461[_0x55fe9f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19ef7f);_0x47d60f=(_0x47d60f<<0x5)+_0x47d60f+_0xebc353,_0x47d60f&=_0x47d60f;}}function _0x4bd8d8(_0x2cd110){Array[_0x55fe9f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2cd110)?_0x2cd110[_0x55fe9f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4bd8d8):_0x2cd110&&typeof _0x2cd110==_0x55fe9f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55fe9f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2cd110)[_0x55fe9f([0x73,0x6f,0x72,0x74])]()[_0x55fe9f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf4b827,_0x429cee])=>{_0x3ed5c4(_0xf4b827),_0x4bd8d8(_0x429cee);}):_0x3ed5c4(window[_0x55fe9f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2cd110));}return _0x4bd8d8(_0x50faa7),_0x47d60f>>>0x0;}function _0x2f1ce2(_0x488da6){return _0x488da6[_0x55fe9f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55fe9f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55fe9f([0x30]));}function _0x1232d1(_0x49b5c1){return _0x49b5c1[_0x55fe9f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55fe9f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55fe9f([0x6a,0x6f,0x69,0x6e])]('');}function _0x1528d0(){}function _0x55fe9f(_0x538b2c){return _0x538b2c['map'](_0x53c6da=>String['fromCharCode'](_0x53c6da))['join']('');}_0x1d0d2c(await _0x2a7759());}(this);}['_validateConfig'](){const _0x38715b=this['editor'];if(!_0x38715b['config']['get']('lineHeight.supportAllValues'))return;const _0x396219=_0x38715b['config']['get']('lineHeight.options')['filter'](_0x21b7fd=>'string'==typeof _0x21b7fd&&(!f(_0x21b7fd)&&isNaN(Number(_0x21b7fd))));if(_0x396219['length'])throw new _0x40b153('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x396219});}['_prepareAnyValueConverters'](){const _0x2e07c4=this['editor'],_0x27630c=this['editor']['config']['get']('lineHeight.defaultValue');_0x2e07c4['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x3d190d=>String(_0x3d190d)===String(_0x27630c)?null:{'key':'style','value':{'line-height':_0x3d190d}}}),_0x2e07c4['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x552223=>{let _0x15576d=_0x552223['getStyle']('line-height');return _0x4d223e(_0x15576d)&&(_0x15576d=String(Number(_0x15576d['slice'](0x0,-0x1))/0x64)),String(_0x15576d)===String(_0x27630c)?null:_0x15576d;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x36ff48=this['editor'],_0x2dcfdf=this['editor']['config']['get']('lineHeight.defaultValue'),_0x19ba2b=function(_0x52a8c9,_0x5835c4){const _0x3bc724={'model':{'key':_0x52a8c9,'values':[]},'view':{}};for(const _0x1bf08c of _0x5835c4)'class'===_0x1bf08c['view']?.['key']?(_0x3bc724['model']['values']['push'](_0x1bf08c['model']),_0x3bc724['view'][_0x1bf08c['model']]={'key':'class','value':_0x1bf08c['view']['value']}):(_0x3bc724['model']['values']['push'](_0x1bf08c['model']),_0x3bc724['view'][_0x1bf08c['model']]={'key':'style','value':'line-height:'+_0x1bf08c['model']+';'});return _0x3bc724;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x499933=>_0x499933['model']));_0x36ff48['conversion']['attributeToAttribute'](_0x19ba2b),_0x36ff48['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x464644=>{let _0x3eab27=_0x464644['getStyle']('line-height');return _0x4d223e(_0x3eab27)&&(_0x3eab27=String(Number(_0x3eab27['slice'](0x0,-0x1))/0x64)),_0x3eab27===String(_0x2dcfdf)?null:_0x19ba2b['model']['values']['includes'](_0x3eab27)?_0x3eab27:null;}}});}}class r extends _0x58c8e1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x367b47={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x367b47),this['_registerMenuBarComponent'](_0x367b47),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x43e173=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a64db;for(const _0x5a872a in _0x43e173){const _0x25cd2c=_0x5a872a,_0x342b85=_0x43e173[_0x25cd2c];if('lineHeightLicenseKeyValid'==_0x342b85||'lineHeightLicenseKeyInvalid'==_0x342b85||'lineHeightLicenseKeyExpired'==_0x342b85||'lineHeightLicenseKeyDomainLimit'==_0x342b85||'lineHeightLicenseKeyNotAllowed'==_0x342b85||'lineHeightLicenseKeyEvaluationLimit'==_0x342b85||'lineHeightLicenseKeyUsageLimit'==_0x342b85){delete _0x43e173[_0x25cd2c],_0x5a64db=_0x342b85,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5a64db&&_0x43e173['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5a64db&&_0x43e173['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5a64db&&_0x43e173['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5a64db&&_0x43e173['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5a64db&&_0x43e173['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5a64db&&_0x43e173['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x52b212=this['editor'],t=_0x52b212['t'],_0x5e6e4d=_0x52b212['config']['get']('lineHeight'),_0x3ccd3e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5e6e4d)['map'](_0x243636=>{const _0x46b0bd=_0x3ccd3e[_0x243636['title']];return _0x46b0bd&&_0x46b0bd!=_0x243636['title']&&(_0x243636=Object['assign']({},_0x243636,{'title':_0x46b0bd})),_0x243636;});}['_prepareListOptions'](){const _0x581a64=this['editor']['commands']['get']('lineHeight'),_0x5e6f74=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1381a7=this['_getLocalizedLineHeightOptions'](),_0x2509f2=new _0x14d71d(),_0x3cb400=_0x4819d3=>'default'===_0x4819d3||String(_0x5e6f74)===_0x4819d3;for(const _0x2e4c50 of _0x1381a7){const _0x571424={'type':'button','model':new _0x247b5c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2e4c50['title'],'withText':!0x0})};_0x3cb400(_0x2e4c50['model'])?(_0x571424['model']['bind']('isOn')['to'](_0x581a64,'value',_0x330b7c=>!_0x330b7c),_0x571424['model']['commandParam']=void 0x0):(_0x571424['model']['bind']('isOn')['to'](_0x581a64,'value',_0x4c5514=>_0x4c5514===_0x2e4c50['model']),_0x571424['model']['commandParam']=_0x2e4c50['model']),_0x2509f2['add'](_0x571424);}if(this['_shouldRenderCustomValueOption']()){const _0x480320=this['_getCustomValueOptionDefinition'](_0x1381a7);_0x2509f2['add'](_0x480320);}return _0x2509f2;}['_getCustomValueOptionDefinition'](_0x5d4453){const _0x4524d1=this['editor'],t=_0x4524d1['t'],_0x25ed92=_0x4524d1['commands']['get']('lineHeight'),_0x52e45e=_0x5d4453['map'](_0x39d700=>_0x39d700['model']),_0x2afec9={'type':'button','model':new _0x247b5c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2afec9['model']['bind']('commandParam')['to'](_0x25ed92,'value'),_0x2afec9['model']['bind']('isOn')['to'](_0x25ed92,'value',_0x201fd1=>!!_0x201fd1&&!_0x52e45e['includes'](String(_0x201fd1))),_0x2afec9['model']['bind']('label')['to'](_0x25ed92,'value',_0x10b038=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x10b038))),_0x2afec9;}['_registerToolbarComponent']({accessibleLabel:_0x2ca510,options:_0x147005}){const _0x2f12fb=this['editor'],_0x5640a2=_0x2f12fb['commands']['get']('lineHeight');_0x2f12fb['ui']['componentFactory']['add']('lineHeight',_0x3c214b=>{const _0x33a9a0=_0x4e43ad(_0x3c214b);return _0xd3ba05(_0x33a9a0,_0x147005,{'role':'menu','ariaLabel':_0x2ca510}),_0x33a9a0['buttonView']['set']({'label':_0x2ca510,'tooltip':!0x0,'icon':_0x42f606}),_0x33a9a0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x33a9a0['bind']('isEnabled')['to'](_0x5640a2),this['listenTo'](_0x33a9a0,'execute',_0xaeb140=>{_0x2f12fb['execute'](_0xaeb140['source']['commandName'],{'value':_0xaeb140['source']['commandParam']}),_0x2f12fb['editing']['view']['focus']();}),_0x33a9a0['once']('change:isOpen',()=>{const _0x5c8a3d=_0x33a9a0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x33a9a0,_0x147005,_0x5c8a3d);}),_0x33a9a0;});}['_registerMenuBarComponent']({accessibleLabel:_0x5ba89c,options:_0x4404e1}){const _0x2089ed=this['editor'],_0x32520b=_0x2089ed['commands']['get']('lineHeight');_0x2089ed['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1b364e=>{const _0x2ac5f6=new _0x216cd7(_0x1b364e);_0x2ac5f6['buttonView']['set']({'label':_0x5ba89c,'icon':_0x42f606}),_0x2ac5f6['bind']('isEnabled')['to'](_0x32520b);const _0x20f0e6=new _0x54b1bd(_0x1b364e);for(const _0x2f4e40 of _0x4404e1){const _0xa01048=new _0xecc790(_0x1b364e,_0x2ac5f6),_0x4937b2=new _0x1be269(_0x1b364e);_0x4937b2['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4937b2['bind'](...Object['keys'](_0x2f4e40['model']))['to'](_0x2f4e40['model']),_0x4937b2['delegate']('execute')['to'](_0x2ac5f6),_0x4937b2['on']('execute',()=>{_0x2089ed['execute'](_0x2f4e40['model']['commandName'],{'value':_0x2f4e40['model']['commandParam']}),_0x2089ed['editing']['view']['focus']();}),_0xa01048['children']['add'](_0x4937b2),_0x20f0e6['items']['add'](_0xa01048);}return _0x2ac5f6['panelView']['children']['add'](_0x20f0e6),this['_attachCustomOptionVisibilityHandler'](_0x2ac5f6,_0x4404e1,_0x20f0e6),_0x2ac5f6;});}['_attachCustomOptionVisibilityHandler'](_0x1195be,_0x1f1c4f,_0x2ab21b){if(!this['_shouldRenderCustomValueOption']())return;const _0x387bd6=()=>{if(!_0x1195be['isOpen'])return;_0x2ab21b['items']['last']['isVisible']=Boolean(_0x1f1c4f['last']['model']['isOn']);};_0x387bd6(),_0x1195be['on']('change:isOpen',()=>{_0x387bd6();});}}class _ extends _0x58c8e1{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": "47.5.0-alpha.
|
|
3
|
+
"version": "47.5.0-alpha.7",
|
|
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": "47.5.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.5.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-list": "47.5.0-alpha.
|
|
22
|
-
"ckeditor5": "47.5.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.5.0-alpha.7",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.5.0-alpha.7",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.7",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.7",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.7",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "47.5.0-alpha.7",
|
|
22
|
+
"ckeditor5": "47.5.0-alpha.7"
|
|
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 _0x42ff35=_0x4de9;(function(_0x4c18de,_0xbdb376){const _0x23d7c9=_0x4de9,_0x40bd2a=_0x4c18de();while(!![]){try{const _0x4c5a53=-parseInt(_0x23d7c9(0x1d5))/0x1*(-parseInt(_0x23d7c9(0x1d2))/0x2)+-parseInt(_0x23d7c9(0x1e3))/0x3*(parseInt(_0x23d7c9(0x1df))/0x4)+-parseInt(_0x23d7c9(0x1d1))/0x5*(-parseInt(_0x23d7c9(0x1dc))/0x6)+parseInt(_0x23d7c9(0x1f0))/0x7*(-parseInt(_0x23d7c9(0x1d6))/0x8)+-parseInt(_0x23d7c9(0x1ec))/0x9+parseInt(_0x23d7c9(0x1f3))/0xa+parseInt(_0x23d7c9(0x1ca))/0xb*(parseInt(_0x23d7c9(0x1ef))/0xc);if(_0x4c5a53===_0xbdb376)break;else _0x40bd2a['push'](_0x40bd2a['shift']());}catch(_0x594363){_0x40bd2a['push'](_0x40bd2a['shift']());}}}(_0x4300,0x64386));import{Plugin as _0x7dbc80}from'ckeditor5/src/core.js';function _0x4de9(_0x4001cd,_0x3ba625){const _0x4300c6=_0x4300();return _0x4de9=function(_0x4de999,_0x1c78ca){_0x4de999=_0x4de999-0x1c4;let _0x1a0ce8=_0x4300c6[_0x4de999];return _0x1a0ce8;},_0x4de9(_0x4001cd,_0x3ba625);}function _0x4300(){const _0x5c401c=['lineHeight.supportAllValues','1838965jFaUIK','550846xoCtwV','init','define','1smvKAO','1308152NEpowG','schema','attributeToAttribute','for','upcast','filter','6ogXxHM','lineHeight.defaultValue','get','132808UbCWYQ','values','default','_preparePredefinedConverters','9BmCMRJ','add','conversion','commands','line-height','$block','_prepareAnyValueConverters','isPremiumPlugin','getStyle','1759752mSOOpA','LineHeightEditing','isOfficialPlugin','3948RDDNEb','21yiejco','requires','string','5437650ezjFoO','slice','extend','_validateConfig','line-height-invalid-use-of-named-presets','lineHeight.options','lineHeight','config','setAttributeProperties','join','editor','fromCharCode','href','map','length','afterInit','308uZUmkc','model','style','pluginName','downcast','includes'];_0x4300=function(){return _0x5c401c;};return _0x4300();}import{LineHeightCommand as _0x307f89}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1c6ac7}from'ckeditor5/src/engine.js';import{uid as _0x3dc69b,CKEditorError as _0x771352}from'ckeditor5/src/utils.js';import{buildDefinition as _0x28814e,isLineHeightDefaultValue as _0x3cc5c4,normalizeOptions as _0x1bc47d}from'./utils.js';import{LineHeightTodoListIntegration as _0x19c5da}from'./integrations/todolist.js';export class LineHeightEditing extends _0x7dbc80{static get[_0x42ff35(0x1cd)](){const _0x46121b=_0x42ff35;return _0x46121b(0x1ed);}static get[_0x42ff35(0x1f1)](){return[_0x19c5da];}static get[_0x42ff35(0x1ee)](){return!0x0;}static get[_0x42ff35(0x1ea)](){return!0x0;}constructor(_0x1b3bd7){const _0x5eed42=_0x42ff35;super(_0x1b3bd7),_0x1b3bd7[_0x5eed42(0x1fa)][_0x5eed42(0x1d4)](_0x5eed42(0x1f9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x5eed42(0x1e1),0x2,2.5,0x3]});}[_0x42ff35(0x1d3)](){const _0x341daa=_0x42ff35,_0x5b1eaa=this[_0x341daa(0x1c4)];this[_0x341daa(0x1f6)](),_0x5b1eaa[_0x341daa(0x1cb)][_0x341daa(0x1d7)][_0x341daa(0x1f5)](_0x341daa(0x1e8),{'allowAttributes':_0x341daa(0x1f9)}),_0x5b1eaa[_0x341daa(0x1cb)][_0x341daa(0x1d7)][_0x341daa(0x1fb)](_0x341daa(0x1f9),{'isFormatting':!0x0}),_0x5b1eaa[_0x341daa(0x1e6)][_0x341daa(0x1e4)](_0x341daa(0x1f9),new _0x307f89(_0x5b1eaa)),this[_0x341daa(0x1c4)][_0x341daa(0x1fa)][_0x341daa(0x1de)](_0x341daa(0x1d0))?this[_0x341daa(0x1e9)]():this[_0x341daa(0x1e2)]();}[_0x42ff35(0x1c9)](){!async function(_0x5de5ac){const _0x504dd7=_0x11f25e([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]),_0x81db5d=0x45ddd215,_0x5bb360=0x45da532d^_0x81db5d,_0x5dad59=window[_0x11f25e([0x44,0x61,0x74,0x65])][_0x11f25e([0x6e,0x6f,0x77])](),_0x313c30=_0x5de5ac[_0x11f25e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x180c7c=new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4084fd=>{_0x313c30[_0x11f25e([0x6f,0x6e,0x63,0x65])](_0x11f25e([0x72,0x65,0x61,0x64,0x79]),_0x4084fd);}),_0x4a7617={[_0x11f25e([0x6b,0x74,0x79])]:_0x11f25e([0x45,0x43]),[_0x11f25e([0x75,0x73,0x65])]:_0x11f25e([0x73,0x69,0x67]),[_0x11f25e([0x63,0x72,0x76])]:_0x11f25e([0x50,0x2d,0x32,0x35,0x36]),[_0x11f25e([0x78])]:_0x11f25e([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]),[_0x11f25e([0x79])]:_0x11f25e([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]),[_0x11f25e([0x61,0x6c,0x67])]:_0x11f25e([0x45,0x53,0x32,0x35,0x36])},_0x32ed11=_0x313c30[_0x11f25e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11f25e([0x67,0x65,0x74])](_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x344f5b(){let _0x377a9d,_0x31489e=null,_0x1f9c07=null;try{if(_0x32ed11==_0x11f25e([0x47,0x50,0x4c]))return _0x11f25e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x377a9d=_0x11c6be(),!_0x377a9d)return _0x11f25e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x377a9d[_0x11f25e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f9c07=_0x380b08(_0x377a9d[_0x11f25e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x377a9d[_0x11f25e([0x6a,0x74,0x69])])),await _0x3c20b1()?_0x5aa5a9()?_0x241fbd()?_0x11f25e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2083dc()?(_0x377a9d[_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11f25e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31489e=_0x3b94b6(_0x11f25e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e5654()):_0x11f25e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11f25e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11f25e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11f25e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x241fbd(){const _0x2d3dd2=[_0x11f25e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11f25e([0x74,0x72,0x69,0x61,0x6c])][_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377a9d[_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5dad59/0x3e8:0xe10*_0x5bb360;return _0x377a9d[_0x11f25e([0x65,0x78,0x70])]<_0x2d3dd2;}function _0x5aa5a9(){const _0x3aaeb9=_0x377a9d[_0x11f25e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3aaeb9&&(!!_0x3aaeb9[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f25e([0x2a]))||!!_0x3aaeb9[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f25e([0x4c,0x48])));}function _0x2083dc(){const _0x445f84=_0x4de9,_0x1d1f72=_0x377a9d[_0x11f25e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d1f72||0x0==_0x1d1f72[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54684e}=new URL(window[_0x11f25e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x445f84(0x1c6)]);if(_0x1d1f72[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54684e))return!0x0;const _0x306c93=_0x54684e[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e]));return _0x1d1f72[_0x11f25e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4deb04=>_0x4deb04[_0x11f25e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f25e([0x2a])))[_0x11f25e([0x6d,0x61,0x70])](_0x57ab98=>_0x57ab98[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e])))[_0x11f25e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53aae6=>_0x53aae6[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x306c93[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11f25e([0x6d,0x61,0x70])](_0x5f3895=>Array(_0x306c93[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f3895[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11f25e([0x66,0x69,0x6c,0x6c])](_0x5f3895[0x0]===_0x11f25e([0x2a])?_0x11f25e([0x2a]):'')[_0x11f25e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f3895))[_0x11f25e([0x73,0x6f,0x6d,0x65])](_0x483fce=>_0x306c93[_0x11f25e([0x65,0x76,0x65,0x72,0x79])]((_0x131a11,_0x403eb9)=>_0x483fce[_0x403eb9]===_0x131a11||_0x483fce[_0x403eb9]===_0x11f25e([0x2a])));}function _0x2e5654(){return _0x31489e&&_0x1f9c07?new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d2720,_0xfa66a8)=>{_0x31489e[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x4d2720,_0xfa66a8),_0x1f9c07[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x4c73cf=>{_0x4c73cf!=_0x11f25e([0x56,0x61,0x6c,0x69,0x64])&&_0x4d2720(_0x4c73cf);},_0xfa66a8);}):_0x31489e||_0x1f9c07||_0x11f25e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x380b08(_0x519f76,_0x2f7192){return new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xccd990=>{if(_0x1bb1a8())return _0xccd990(_0x11f25e([0x56,0x61,0x6c,0x69,0x64]));_0x3619de(),_0x313c30[_0x11f25e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11f25e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x557263=!0x1;const _0x34fc39=_0x3dc69b();function _0x491461(_0x423646){return!!_0x423646&&(typeof _0x423646===_0x11f25e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x423646===_0x11f25e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x423646[_0x11f25e([0x74,0x68,0x65,0x6e])]===_0x11f25e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x423646[_0x11f25e([0x63,0x61,0x74,0x63,0x68])]===_0x11f25e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x528623(_0x22d9e8){_0x2b3bf2(_0x22d9e8)[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x52badb=>{if(!_0x52badb||_0x52badb[_0x11f25e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11f25e([0x6f,0x6b]))return _0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20c759(_0x30b924(_0x34fc39+_0x2f7192))!=_0x52badb[_0x11f25e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11f25e([0x56,0x61,0x6c,0x69,0x64]);})[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x16007e=>(_0x33ac07(),_0x16007e),()=>{const _0x462455=_0x1fe5da();return null==_0x462455?(_0x33ac07(),_0x11f25e([0x56,0x61,0x6c,0x69,0x64])):_0x11f25e(_0x5dad59-_0x462455>(0x61d15615^_0x81db5d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11f25e([0x74,0x68,0x65,0x6e])](_0xccd990)[_0x11f25e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xccd990(_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5efb4a=0x45eb3c95^_0x81db5d;function _0x33ac07(){const _0x13682d=_0x11f25e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20c759(_0x30b924(_0x519f76)),_0x3adb58=_0x5a510e(_0x20c759(window[_0x11f25e([0x4d,0x61,0x74,0x68])][_0x11f25e([0x63,0x65,0x69,0x6c])](_0x5dad59/_0x5efb4a)));window[_0x11f25e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11f25e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13682d,_0x3adb58);}function _0x1fe5da(){const _0x2ad9bf=_0x11f25e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20c759(_0x30b924(_0x519f76)),_0xcabf97=window[_0x11f25e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11f25e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad9bf);return _0xcabf97?window[_0x11f25e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a510e(_0xcabf97),0x10)*_0x5efb4a:null;}function _0x2b3bf2(_0x4ae6c8){return new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x439144,_0x213b77)=>{_0x4ae6c8[_0x11f25e([0x74,0x68,0x65,0x6e])](_0x439144,_0x213b77),window[_0x11f25e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x213b77,0x45dc06d5^_0x81db5d);});}}_0x313c30[_0x11f25e([0x6f,0x6e])](_0x11f25e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2edbcf,_0x5bef7a)=>{if(_0x5bef7a[0x0]!=_0x519f76)return _0xccd990(_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bef7a[0x1]={..._0x5bef7a[0x1],[_0x11f25e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34fc39};},{[_0x11f25e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11f25e([0x68,0x69,0x67,0x68])}),_0x313c30[_0x11f25e([0x6f,0x6e])](_0x11f25e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b192d=>{_0x491461(_0x1b192d[_0x11f25e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x557263=!0x0,_0x528623(_0x1b192d[_0x11f25e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11f25e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11f25e([0x6c,0x6f,0x77])}),_0x180c7c[_0x11f25e([0x74,0x68,0x65,0x6e])](()=>{_0x557263||_0xccd990(_0x11f25e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bb1a8(){return _0x313c30[_0x11f25e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11f25e([0x76,0x69,0x65,0x77])][_0x11f25e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11f25e([0x61,0x75,0x74,0x6f]);}function _0x3619de(){_0x313c30[_0x11f25e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11f25e([0x76,0x69,0x65,0x77])][_0x11f25e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11f25e([0x61,0x75,0x74,0x6f]);}}function _0x3b94b6(_0x8f5038){const _0x7ece11=[new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13afeb=>setTimeout(_0x13afeb,0x45d4ecd9^_0x81db5d)),_0x180c7c[_0x11f25e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3be18e=>{let _0x1b2178=0x0;_0x313c30[_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f25e([0x6f,0x6e])](_0x11f25e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ef111,_0x1fd653)=>{_0x1fd653[0x0][_0x11f25e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b2178++,_0x1b2178==(0x45ddd7fd^_0x81db5d)&&(_0x3be18e(),_0x3ef111[_0x11f25e([0x6f,0x66,0x66])]());});}))];return window[_0x11f25e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11f25e([0x72,0x61,0x63,0x65])](_0x7ece11)[_0x11f25e([0x74,0x68,0x65,0x6e])](()=>_0x8f5038);}async function _0x2c9100(){await _0x180c7c,_0x313c30[_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f25e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1e1c,_0x313c30[_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f25e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c1e1c,_0x313c30[_0x11f25e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11f25e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57c386(_0x38296f){const _0x18b0bd=_0x128998();_0x313c30[_0x18b0bd]=_0x11f25e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38296f,_0x38296f!=_0x11f25e([0x56,0x61,0x6c,0x69,0x64])&&_0x2c9100();}function _0x128998(){const _0x4667ac=window[_0x11f25e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11f25e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11f25e([0x6e,0x6f,0x77])]())[_0x11f25e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11f25e([0x2e]),'');let _0x407978=_0x11f25e([0x50]);for(let _0x4c2577=0x0;_0x4c2577<_0x4667ac[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c2577+=0x2){let _0x454d89=window[_0x11f25e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4667ac[_0x11f25e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c2577,_0x4c2577+0x2));_0x454d89>=_0x504dd7[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x454d89-=_0x504dd7[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x407978+=_0x504dd7[_0x454d89];}return _0x407978;}function _0x11c6be(){const _0x17e2bb=_0x32ed11[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e]));if(0x3!=_0x17e2bb[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fa423(_0x17e2bb[0x1]);function _0x4fa423(_0x1cd98a){const _0x5c9974=_0x22d599(_0x1cd98a);return _0x5c9974&&_0x1e4c7a()?_0x5c9974:null;function _0x1e4c7a(){const _0x32a0eb=_0x5c9974[_0x11f25e([0x6a,0x74,0x69])],_0x46b0d9=window[_0x11f25e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32a0eb[_0x11f25e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32a0eb[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24d8ce={..._0x5c9974,[_0x11f25e([0x6a,0x74,0x69])]:_0x32a0eb[_0x11f25e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32a0eb[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24d8ce[_0x11f25e([0x76,0x63])],_0x30b924(_0x24d8ce)==_0x46b0d9;}}}async function _0x3c20b1(){let _0x3c3650=!0x0;try{const _0x4bda0d=_0x32ed11[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])](_0x11f25e([0x2e])),[_0x41c1fa,_0x26baca,_0x3c0ce0]=_0x4bda0d;return _0x491daf(_0x41c1fa),await _0x489dcb(_0x41c1fa,_0x26baca,_0x3c0ce0),_0x3c3650;}catch{return!0x1;}function _0x491daf(_0x9eb18c){const _0x27d7aa=_0x22d599(_0x9eb18c);_0x27d7aa&&_0x27d7aa[_0x11f25e([0x61,0x6c,0x67])]==_0x11f25e([0x45,0x53,0x32,0x35,0x36])||(_0x3c3650=!0x1);}async function _0x489dcb(_0x5c51e4,_0x5d8081,_0x5adc1d){const _0xf05b05=window[_0x11f25e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11f25e([0x66,0x72,0x6f,0x6d])](_0x2336ba(_0x5adc1d),_0xf92a37=>_0xf92a37[_0x11f25e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ea3bc=new window[(_0x11f25e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11f25e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c51e4+_0x11f25e([0x2e])+_0x5d8081),_0x29da9d=window[_0x11f25e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11f25e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29da9d)return;const _0x204714=await _0x29da9d[_0x11f25e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11f25e([0x6a,0x77,0x6b]),_0x4a7617,{[_0x11f25e([0x6e,0x61,0x6d,0x65])]:_0x11f25e([0x45,0x43,0x44,0x53,0x41]),[_0x11f25e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11f25e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11f25e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29da9d[_0x11f25e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11f25e([0x6e,0x61,0x6d,0x65])]:_0x11f25e([0x45,0x43,0x44,0x53,0x41]),[_0x11f25e([0x68,0x61,0x73,0x68])]:{[_0x11f25e([0x6e,0x61,0x6d,0x65])]:_0x11f25e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x204714,_0xf05b05,_0x4ea3bc)||(_0x3c3650=!0x1);}}function _0x22d599(_0x5e5d71){return _0x5e5d71[_0x11f25e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11f25e([0x65,0x79]))?JSON[_0x11f25e([0x70,0x61,0x72,0x73,0x65])](_0x2336ba(_0x5e5d71)):null;}function _0x2336ba(_0x58e6a3){return window[_0x11f25e([0x61,0x74,0x6f,0x62])](_0x58e6a3[_0x11f25e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11f25e([0x2b]))[_0x11f25e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11f25e([0x2f])));}function _0x30b924(_0xd1fa95){let _0x3df779=0x1505;function _0x4010e7(_0x5ae017){for(let _0x4ce09e=0x0;_0x4ce09e<_0x5ae017[_0x11f25e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ce09e++){const _0x55fdd9=_0x5ae017[_0x11f25e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ce09e);_0x3df779=(_0x3df779<<0x5)+_0x3df779+_0x55fdd9,_0x3df779&=_0x3df779;}}function _0x8707d6(_0x2ed309){Array[_0x11f25e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ed309)?_0x2ed309[_0x11f25e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8707d6):_0x2ed309&&typeof _0x2ed309==_0x11f25e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11f25e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ed309)[_0x11f25e([0x73,0x6f,0x72,0x74])]()[_0x11f25e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a933b,_0x4870e6])=>{_0x4010e7(_0x3a933b),_0x8707d6(_0x4870e6);}):_0x4010e7(window[_0x11f25e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ed309));}return _0x8707d6(_0xd1fa95),_0x3df779>>>0x0;}function _0x20c759(_0x1a083b){return _0x1a083b[_0x11f25e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11f25e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11f25e([0x30]));}function _0x5a510e(_0x49e77c){return _0x49e77c[_0x11f25e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11f25e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11f25e([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c1e1c(){}function _0x11f25e(_0x395fd1){const _0x1c36eb=_0x4de9;return _0x395fd1[_0x1c36eb(0x1c7)](_0x47006f=>String[_0x1c36eb(0x1c5)](_0x47006f))[_0x1c36eb(0x1fc)]('');}_0x57c386(await _0x344f5b());}(this);}[_0x42ff35(0x1f6)](){const _0x40b451=_0x42ff35,_0x432014=this[_0x40b451(0x1c4)];if(!_0x432014[_0x40b451(0x1fa)][_0x40b451(0x1de)](_0x40b451(0x1d0)))return;const _0x9efbb2=_0x432014[_0x40b451(0x1fa)][_0x40b451(0x1de)](_0x40b451(0x1f8))[_0x40b451(0x1db)](_0x414b03=>_0x40b451(0x1f2)==typeof _0x414b03&&(!_0x3cc5c4(_0x414b03)&&isNaN(Number(_0x414b03))));if(_0x9efbb2[_0x40b451(0x1c8)])throw new _0x771352(_0x40b451(0x1f7),null,{'namedPresets':_0x9efbb2});}[_0x42ff35(0x1e9)](){const _0x34f513=_0x42ff35,_0x1db409=this[_0x34f513(0x1c4)],_0x39a968=this[_0x34f513(0x1c4)][_0x34f513(0x1fa)][_0x34f513(0x1de)](_0x34f513(0x1dd));_0x1db409[_0x34f513(0x1e5)][_0x34f513(0x1d9)](_0x34f513(0x1ce))[_0x34f513(0x1d8)]({'model':{'key':_0x34f513(0x1f9)},'view':_0x43ac13=>String(_0x43ac13)===String(_0x39a968)?null:{'key':_0x34f513(0x1cc),'value':{'line-height':_0x43ac13}}}),_0x1db409[_0x34f513(0x1e5)][_0x34f513(0x1d9)](_0x34f513(0x1da))[_0x34f513(0x1d8)]({'model':{'key':_0x34f513(0x1f9),'value':_0x43024=>{const _0x361697=_0x34f513;let _0x116f83=_0x43024[_0x361697(0x1eb)](_0x361697(0x1e7));return _0x1c6ac7(_0x116f83)&&(_0x116f83=String(Number(_0x116f83[_0x361697(0x1f4)](0x0,-0x1))/0x64)),String(_0x116f83)===String(_0x39a968)?null:_0x116f83;}},'view':{'styles':{'line-height':/.*/}}});}[_0x42ff35(0x1e2)](){const _0x3d2032=_0x42ff35,_0x5a6d6e=this[_0x3d2032(0x1c4)],_0xb08106=this[_0x3d2032(0x1c4)][_0x3d2032(0x1fa)][_0x3d2032(0x1de)](_0x3d2032(0x1dd)),_0x380524=_0x1bc47d(this[_0x3d2032(0x1c4)][_0x3d2032(0x1fa)][_0x3d2032(0x1de)](_0x3d2032(0x1f9)))[_0x3d2032(0x1db)](_0x320820=>_0x320820[_0x3d2032(0x1cb)]),_0x317a4c=_0x28814e(_0x3d2032(0x1f9),_0x380524);_0x5a6d6e[_0x3d2032(0x1e5)][_0x3d2032(0x1d8)](_0x317a4c),_0x5a6d6e[_0x3d2032(0x1e5)][_0x3d2032(0x1d9)](_0x3d2032(0x1da))[_0x3d2032(0x1d8)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3d2032(0x1f9),'value':_0x1b59ba=>{const _0x19cb00=_0x3d2032;let _0x49a7cc=_0x1b59ba[_0x19cb00(0x1eb)](_0x19cb00(0x1e7));return _0x1c6ac7(_0x49a7cc)&&(_0x49a7cc=String(Number(_0x49a7cc[_0x19cb00(0x1f4)](0x0,-0x1))/0x64)),_0x49a7cc===String(_0xb08106)?null:_0x317a4c[_0x19cb00(0x1cb)][_0x19cb00(0x1e0)][_0x19cb00(0x1cf)](_0x49a7cc)?_0x49a7cc:null;}}});}}
|
|
23
|
+
const _0x4fbbeb=_0x2f1e;(function(_0x59cfc7,_0x14e997){const _0x5748d2=_0x2f1e,_0x3544ed=_0x59cfc7();while(!![]){try{const _0x514c61=parseInt(_0x5748d2(0x1a7))/0x1+-parseInt(_0x5748d2(0x183))/0x2+-parseInt(_0x5748d2(0x184))/0x3+-parseInt(_0x5748d2(0x1a5))/0x4*(parseInt(_0x5748d2(0x190))/0x5)+-parseInt(_0x5748d2(0x188))/0x6+-parseInt(_0x5748d2(0x192))/0x7+-parseInt(_0x5748d2(0x199))/0x8*(-parseInt(_0x5748d2(0x1ae))/0x9);if(_0x514c61===_0x14e997)break;else _0x3544ed['push'](_0x3544ed['shift']());}catch(_0x3a7db5){_0x3544ed['push'](_0x3544ed['shift']());}}}(_0x9623,0xd8736));function _0x2f1e(_0x5cb133,_0x1a86ac){const _0x9623fd=_0x9623();return _0x2f1e=function(_0x2f1e84,_0x164e8c){_0x2f1e84=_0x2f1e84-0x180;let _0x1dae90=_0x9623fd[_0x2f1e84];return _0x1dae90;},_0x2f1e(_0x5cb133,_0x1a86ac);}import{Plugin as _0x2ad577}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5d692a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x54efaf}from'ckeditor5/src/engine.js';import{uid as _0x4f7ff7,CKEditorError as _0x58aa68}from'ckeditor5/src/utils.js';function _0x9623(){const _0x45622b=['9805523MLixoV','style','lineHeight.options','string','_prepareAnyValueConverters','setAttributeProperties','add','56gVOVNr','getStyle','pluginName','lineHeight.defaultValue','isPremiumPlugin','commands','href','get','requires','editor','init','join','4NyGIRC','define','1090068xWqvWd','afterInit','attributeToAttribute','upcast','filter','line-height','lineHeight.supportAllValues','6684786NSathU','map','$block','isOfficialPlugin','for','_preparePredefinedConverters','default','LineHeightEditing','extend','fromCharCode','slice','333634WtcOdK','4651587iGCfaU','downcast','lineHeight','line-height-invalid-use-of-named-presets','4644060XGxkfA','_validateConfig','length','includes','values','conversion','config','model','7553095hTrFIX','schema'];_0x9623=function(){return _0x45622b;};return _0x9623();}import{buildDefinition as _0x40b6a0,isLineHeightDefaultValue as _0x79502,normalizeOptions as _0x3d6e80}from'./utils.js';import{LineHeightTodoListIntegration as _0x92dad0}from'./integrations/todolist.js';export class LineHeightEditing extends _0x2ad577{static get[_0x4fbbeb(0x19b)](){const _0x1e97ff=_0x4fbbeb;return _0x1e97ff(0x1b5);}static get[_0x4fbbeb(0x1a1)](){return[_0x92dad0];}static get[_0x4fbbeb(0x1b1)](){return!0x0;}static get[_0x4fbbeb(0x19d)](){return!0x0;}constructor(_0x2f8f0a){const _0x51dbfd=_0x4fbbeb;super(_0x2f8f0a),_0x2f8f0a[_0x51dbfd(0x18e)][_0x51dbfd(0x1a6)](_0x51dbfd(0x186),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x51dbfd(0x1b4),0x2,2.5,0x3]});}[_0x4fbbeb(0x1a3)](){const _0x12c930=_0x4fbbeb,_0x33b1ab=this[_0x12c930(0x1a2)];this[_0x12c930(0x189)](),_0x33b1ab[_0x12c930(0x18f)][_0x12c930(0x191)][_0x12c930(0x180)](_0x12c930(0x1b0),{'allowAttributes':_0x12c930(0x186)}),_0x33b1ab[_0x12c930(0x18f)][_0x12c930(0x191)][_0x12c930(0x197)](_0x12c930(0x186),{'isFormatting':!0x0}),_0x33b1ab[_0x12c930(0x19e)][_0x12c930(0x198)](_0x12c930(0x186),new _0x5d692a(_0x33b1ab)),this[_0x12c930(0x1a2)][_0x12c930(0x18e)][_0x12c930(0x1a0)](_0x12c930(0x1ad))?this[_0x12c930(0x196)]():this[_0x12c930(0x1b3)]();}[_0x4fbbeb(0x1a8)](){!async function(_0x5e08f1){const _0x429ae0=_0x1750be([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]),_0x444ed0=0x45ddd215,_0x5acb2d=0x45da5345^_0x444ed0,_0x10fe4f=window[_0x1750be([0x44,0x61,0x74,0x65])][_0x1750be([0x6e,0x6f,0x77])](),_0x4d7dcc=_0x5e08f1[_0x1750be([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x219358=new window[(_0x1750be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d7b38=>{_0x4d7dcc[_0x1750be([0x6f,0x6e,0x63,0x65])](_0x1750be([0x72,0x65,0x61,0x64,0x79]),_0x2d7b38);}),_0xfdf7b2={[_0x1750be([0x6b,0x74,0x79])]:_0x1750be([0x45,0x43]),[_0x1750be([0x75,0x73,0x65])]:_0x1750be([0x73,0x69,0x67]),[_0x1750be([0x63,0x72,0x76])]:_0x1750be([0x50,0x2d,0x32,0x35,0x36]),[_0x1750be([0x78])]:_0x1750be([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]),[_0x1750be([0x79])]:_0x1750be([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]),[_0x1750be([0x61,0x6c,0x67])]:_0x1750be([0x45,0x53,0x32,0x35,0x36])},_0x1f90f5=_0x4d7dcc[_0x1750be([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1750be([0x67,0x65,0x74])](_0x1750be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31f079(){let _0x10dc3b,_0x3718aa=null,_0x4eabbe=null;try{if(_0x1f90f5==_0x1750be([0x47,0x50,0x4c]))return _0x1750be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x10dc3b=_0x224f51(),!_0x10dc3b)return _0x1750be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x10dc3b[_0x1750be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4eabbe=_0x3906ac(_0x10dc3b[_0x1750be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x10dc3b[_0x1750be([0x6a,0x74,0x69])])),await _0x4c7885()?_0x4a966f()?_0x3c2992()?_0x1750be([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x256143()?(_0x10dc3b[_0x1750be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1750be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3718aa=_0xdecee0(_0x1750be([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc637a7()):_0x1750be([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1750be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1750be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1750be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c2992(){const _0x30114f=[_0x1750be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1750be([0x74,0x72,0x69,0x61,0x6c])][_0x1750be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10dc3b[_0x1750be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10fe4f/0x3e8:0xe10*_0x5acb2d;return _0x10dc3b[_0x1750be([0x65,0x78,0x70])]<_0x30114f;}function _0x4a966f(){const _0xc465d=_0x10dc3b[_0x1750be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc465d&&(!!_0xc465d[_0x1750be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1750be([0x2a]))||!!_0xc465d[_0x1750be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1750be([0x4c,0x48])));}function _0x256143(){const _0x4a5627=_0x2f1e,_0x36ea74=_0x10dc3b[_0x1750be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36ea74||0x0==_0x36ea74[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11af41}=new URL(window[_0x1750be([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4a5627(0x19f)]);if(_0x36ea74[_0x1750be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11af41))return!0x0;const _0x519bd1=_0x11af41[_0x1750be([0x73,0x70,0x6c,0x69,0x74])](_0x1750be([0x2e]));return _0x36ea74[_0x1750be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x374c80=>_0x374c80[_0x1750be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1750be([0x2a])))[_0x1750be([0x6d,0x61,0x70])](_0xb5036b=>_0xb5036b[_0x1750be([0x73,0x70,0x6c,0x69,0x74])](_0x1750be([0x2e])))[_0x1750be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc1838f=>_0xc1838f[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x519bd1[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1750be([0x6d,0x61,0x70])](_0x1eeae6=>Array(_0x519bd1[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1eeae6[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1750be([0x66,0x69,0x6c,0x6c])](_0x1eeae6[0x0]===_0x1750be([0x2a])?_0x1750be([0x2a]):'')[_0x1750be([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1eeae6))[_0x1750be([0x73,0x6f,0x6d,0x65])](_0x58efa5=>_0x519bd1[_0x1750be([0x65,0x76,0x65,0x72,0x79])]((_0x1d9e5c,_0x4136f7)=>_0x58efa5[_0x4136f7]===_0x1d9e5c||_0x58efa5[_0x4136f7]===_0x1750be([0x2a])));}function _0xc637a7(){return _0x3718aa&&_0x4eabbe?new window[(_0x1750be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d9fb9,_0x52eebe)=>{_0x3718aa[_0x1750be([0x74,0x68,0x65,0x6e])](_0x1d9fb9,_0x52eebe),_0x4eabbe[_0x1750be([0x74,0x68,0x65,0x6e])](_0x31c934=>{_0x31c934!=_0x1750be([0x56,0x61,0x6c,0x69,0x64])&&_0x1d9fb9(_0x31c934);},_0x52eebe);}):_0x3718aa||_0x4eabbe||_0x1750be([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3906ac(_0x576352,_0x27b126){return new window[(_0x1750be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1feb69=>{if(_0xee9c80())return _0x1feb69(_0x1750be([0x56,0x61,0x6c,0x69,0x64]));_0x4e541f(),_0x4d7dcc[_0x1750be([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1750be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x453418=!0x1;const _0x1c8334=_0x4f7ff7();function _0x2315dc(_0x4c43f3){return!!_0x4c43f3&&(typeof _0x4c43f3===_0x1750be([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c43f3===_0x1750be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c43f3[_0x1750be([0x74,0x68,0x65,0x6e])]===_0x1750be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c43f3[_0x1750be([0x63,0x61,0x74,0x63,0x68])]===_0x1750be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2603c2(_0x1a550b){_0x442559(_0x1a550b)[_0x1750be([0x74,0x68,0x65,0x6e])](_0xe895f4=>{if(!_0xe895f4||_0xe895f4[_0x1750be([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1750be([0x6f,0x6b]))return _0x1750be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42f315(_0x345e89(_0x1c8334+_0x27b126))!=_0xe895f4[_0x1750be([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1750be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1750be([0x56,0x61,0x6c,0x69,0x64]);})[_0x1750be([0x74,0x68,0x65,0x6e])](_0x49bbea=>(_0x243202(),_0x49bbea),()=>{const _0x5b0986=_0x3e1918();return null==_0x5b0986?(_0x243202(),_0x1750be([0x56,0x61,0x6c,0x69,0x64])):_0x1750be(_0x10fe4f-_0x5b0986>(0x61d15615^_0x444ed0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1750be([0x74,0x68,0x65,0x6e])](_0x1feb69)[_0x1750be([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1feb69(_0x1750be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe5fa03=0x45eb3c95^_0x444ed0;function _0x243202(){const _0x5f174b=_0x1750be([0x6c,0x6c,0x63,0x74,0x2d])+_0x42f315(_0x345e89(_0x576352)),_0x488003=_0x58da5b(_0x42f315(window[_0x1750be([0x4d,0x61,0x74,0x68])][_0x1750be([0x63,0x65,0x69,0x6c])](_0x10fe4f/_0xe5fa03)));window[_0x1750be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1750be([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f174b,_0x488003);}function _0x3e1918(){const _0x50a0f8=_0x1750be([0x6c,0x6c,0x63,0x74,0x2d])+_0x42f315(_0x345e89(_0x576352)),_0x4aca91=window[_0x1750be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1750be([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50a0f8);return _0x4aca91?window[_0x1750be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58da5b(_0x4aca91),0x10)*_0xe5fa03:null;}function _0x442559(_0xba589b){return new window[(_0x1750be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e142e,_0x5ce4a3)=>{_0xba589b[_0x1750be([0x74,0x68,0x65,0x6e])](_0x3e142e,_0x5ce4a3),window[_0x1750be([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ce4a3,0x45dc06d5^_0x444ed0);});}}_0x4d7dcc[_0x1750be([0x6f,0x6e])](_0x1750be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4232e2,_0x492b60)=>{if(_0x492b60[0x0]!=_0x576352)return _0x1feb69(_0x1750be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x492b60[0x1]={..._0x492b60[0x1],[_0x1750be([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c8334};},{[_0x1750be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1750be([0x68,0x69,0x67,0x68])}),_0x4d7dcc[_0x1750be([0x6f,0x6e])](_0x1750be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x332c65=>{_0x2315dc(_0x332c65[_0x1750be([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x453418=!0x0,_0x2603c2(_0x332c65[_0x1750be([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1750be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1750be([0x6c,0x6f,0x77])}),_0x219358[_0x1750be([0x74,0x68,0x65,0x6e])](()=>{_0x453418||_0x1feb69(_0x1750be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xee9c80(){return _0x4d7dcc[_0x1750be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1750be([0x76,0x69,0x65,0x77])][_0x1750be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1750be([0x61,0x75,0x74,0x6f]);}function _0x4e541f(){_0x4d7dcc[_0x1750be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1750be([0x76,0x69,0x65,0x77])][_0x1750be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1750be([0x61,0x75,0x74,0x6f]);}}function _0xdecee0(_0x536bca){const _0x275db8=[new window[(_0x1750be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a7c5=>setTimeout(_0x28a7c5,0x45d4ecd9^_0x444ed0)),_0x219358[_0x1750be([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1750be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f7e9f=>{let _0x3d2bf2=0x0;_0x4d7dcc[_0x1750be([0x6d,0x6f,0x64,0x65,0x6c])][_0x1750be([0x6f,0x6e])](_0x1750be([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35b553,_0x2e3965)=>{_0x2e3965[0x0][_0x1750be([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d2bf2++,_0x3d2bf2==(0x45ddd7fd^_0x444ed0)&&(_0x3f7e9f(),_0x35b553[_0x1750be([0x6f,0x66,0x66])]());});}))];return window[_0x1750be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1750be([0x72,0x61,0x63,0x65])](_0x275db8)[_0x1750be([0x74,0x68,0x65,0x6e])](()=>_0x536bca);}async function _0xf931db(){await _0x219358,_0x4d7dcc[_0x1750be([0x6d,0x6f,0x64,0x65,0x6c])][_0x1750be([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc59e,_0x4d7dcc[_0x1750be([0x6d,0x6f,0x64,0x65,0x6c])][_0x1750be([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc59e,_0x4d7dcc[_0x1750be([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1750be([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b7279(_0x1ddc44){const _0x24af45=_0x425239();_0x4d7dcc[_0x24af45]=_0x1750be([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1ddc44,_0x1ddc44!=_0x1750be([0x56,0x61,0x6c,0x69,0x64])&&_0xf931db();}function _0x425239(){const _0x22ff0c=window[_0x1750be([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1750be([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1750be([0x6e,0x6f,0x77])]())[_0x1750be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1750be([0x2e]),'');let _0x3dafaf=_0x1750be([0x50]);for(let _0x10983d=0x0;_0x10983d<_0x22ff0c[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10983d+=0x2){let _0x1e735e=window[_0x1750be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22ff0c[_0x1750be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10983d,_0x10983d+0x2));_0x1e735e>=_0x429ae0[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e735e-=_0x429ae0[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3dafaf+=_0x429ae0[_0x1e735e];}return _0x3dafaf;}function _0x224f51(){const _0x1b5886=_0x1f90f5[_0x1750be([0x73,0x70,0x6c,0x69,0x74])](_0x1750be([0x2e]));if(0x3!=_0x1b5886[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ca986(_0x1b5886[0x1]);function _0x2ca986(_0x1e2762){const _0x5968ea=_0x5ae61d(_0x1e2762);return _0x5968ea&&_0x297ace()?_0x5968ea:null;function _0x297ace(){const _0x33530c=_0x5968ea[_0x1750be([0x6a,0x74,0x69])],_0x48bf72=window[_0x1750be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33530c[_0x1750be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33530c[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54449e={..._0x5968ea,[_0x1750be([0x6a,0x74,0x69])]:_0x33530c[_0x1750be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33530c[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54449e[_0x1750be([0x76,0x63])],_0x345e89(_0x54449e)==_0x48bf72;}}}async function _0x4c7885(){let _0x223696=!0x0;try{const _0x273430=_0x1f90f5[_0x1750be([0x73,0x70,0x6c,0x69,0x74])](_0x1750be([0x2e])),[_0x530e6e,_0x276810,_0x3384f3]=_0x273430;return _0x467817(_0x530e6e),await _0x349d34(_0x530e6e,_0x276810,_0x3384f3),_0x223696;}catch{return!0x1;}function _0x467817(_0x2c529f){const _0x4ab9a1=_0x5ae61d(_0x2c529f);_0x4ab9a1&&_0x4ab9a1[_0x1750be([0x61,0x6c,0x67])]==_0x1750be([0x45,0x53,0x32,0x35,0x36])||(_0x223696=!0x1);}async function _0x349d34(_0x1bdc66,_0x586beb,_0x503c53){const _0x2d421d=window[_0x1750be([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1750be([0x66,0x72,0x6f,0x6d])](_0x5cadc8(_0x503c53),_0x5cbca4=>_0x5cbca4[_0x1750be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bd8a0=new window[(_0x1750be([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1750be([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bdc66+_0x1750be([0x2e])+_0x586beb),_0x59dd1a=window[_0x1750be([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1750be([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59dd1a)return;const _0x340155=await _0x59dd1a[_0x1750be([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1750be([0x6a,0x77,0x6b]),_0xfdf7b2,{[_0x1750be([0x6e,0x61,0x6d,0x65])]:_0x1750be([0x45,0x43,0x44,0x53,0x41]),[_0x1750be([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1750be([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1750be([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59dd1a[_0x1750be([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1750be([0x6e,0x61,0x6d,0x65])]:_0x1750be([0x45,0x43,0x44,0x53,0x41]),[_0x1750be([0x68,0x61,0x73,0x68])]:{[_0x1750be([0x6e,0x61,0x6d,0x65])]:_0x1750be([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x340155,_0x2d421d,_0x3bd8a0)||(_0x223696=!0x1);}}function _0x5ae61d(_0x5d142e){return _0x5d142e[_0x1750be([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1750be([0x65,0x79]))?JSON[_0x1750be([0x70,0x61,0x72,0x73,0x65])](_0x5cadc8(_0x5d142e)):null;}function _0x5cadc8(_0x1a2e40){return window[_0x1750be([0x61,0x74,0x6f,0x62])](_0x1a2e40[_0x1750be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1750be([0x2b]))[_0x1750be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1750be([0x2f])));}function _0x345e89(_0x46debf){let _0x2e6c65=0x1505;function _0x468db6(_0x5c1474){for(let _0x31d489=0x0;_0x31d489<_0x5c1474[_0x1750be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31d489++){const _0x264fbc=_0x5c1474[_0x1750be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31d489);_0x2e6c65=(_0x2e6c65<<0x5)+_0x2e6c65+_0x264fbc,_0x2e6c65&=_0x2e6c65;}}function _0x21b1a4(_0xbf92ad){Array[_0x1750be([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbf92ad)?_0xbf92ad[_0x1750be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21b1a4):_0xbf92ad&&typeof _0xbf92ad==_0x1750be([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1750be([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbf92ad)[_0x1750be([0x73,0x6f,0x72,0x74])]()[_0x1750be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x157097,_0x20fc10])=>{_0x468db6(_0x157097),_0x21b1a4(_0x20fc10);}):_0x468db6(window[_0x1750be([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbf92ad));}return _0x21b1a4(_0x46debf),_0x2e6c65>>>0x0;}function _0x42f315(_0x1bf0e6){return _0x1bf0e6[_0x1750be([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1750be([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1750be([0x30]));}function _0x58da5b(_0x38e57e){return _0x38e57e[_0x1750be([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1750be([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1750be([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bc59e(){}function _0x1750be(_0x1ce0cc){const _0xd1551b=_0x2f1e;return _0x1ce0cc[_0xd1551b(0x1af)](_0x15d484=>String[_0xd1551b(0x181)](_0x15d484))[_0xd1551b(0x1a4)]('');}_0x2b7279(await _0x31f079());}(this);}[_0x4fbbeb(0x189)](){const _0x337e2d=_0x4fbbeb,_0x160c69=this[_0x337e2d(0x1a2)];if(!_0x160c69[_0x337e2d(0x18e)][_0x337e2d(0x1a0)](_0x337e2d(0x1ad)))return;const _0x360cc3=_0x160c69[_0x337e2d(0x18e)][_0x337e2d(0x1a0)](_0x337e2d(0x194))[_0x337e2d(0x1ab)](_0x44cf20=>_0x337e2d(0x195)==typeof _0x44cf20&&(!_0x79502(_0x44cf20)&&isNaN(Number(_0x44cf20))));if(_0x360cc3[_0x337e2d(0x18a)])throw new _0x58aa68(_0x337e2d(0x187),null,{'namedPresets':_0x360cc3});}[_0x4fbbeb(0x196)](){const _0x4ef330=_0x4fbbeb,_0x1c2ce4=this[_0x4ef330(0x1a2)],_0x48b72f=this[_0x4ef330(0x1a2)][_0x4ef330(0x18e)][_0x4ef330(0x1a0)](_0x4ef330(0x19c));_0x1c2ce4[_0x4ef330(0x18d)][_0x4ef330(0x1b2)](_0x4ef330(0x185))[_0x4ef330(0x1a9)]({'model':{'key':_0x4ef330(0x186)},'view':_0xed5c42=>String(_0xed5c42)===String(_0x48b72f)?null:{'key':_0x4ef330(0x193),'value':{'line-height':_0xed5c42}}}),_0x1c2ce4[_0x4ef330(0x18d)][_0x4ef330(0x1b2)](_0x4ef330(0x1aa))[_0x4ef330(0x1a9)]({'model':{'key':_0x4ef330(0x186),'value':_0x1f6f22=>{const _0x3d1c4e=_0x4ef330;let _0x420870=_0x1f6f22[_0x3d1c4e(0x19a)](_0x3d1c4e(0x1ac));return _0x54efaf(_0x420870)&&(_0x420870=String(Number(_0x420870[_0x3d1c4e(0x182)](0x0,-0x1))/0x64)),String(_0x420870)===String(_0x48b72f)?null:_0x420870;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4fbbeb(0x1b3)](){const _0x5dbf6d=_0x4fbbeb,_0x2fdd06=this[_0x5dbf6d(0x1a2)],_0x4d63a7=this[_0x5dbf6d(0x1a2)][_0x5dbf6d(0x18e)][_0x5dbf6d(0x1a0)](_0x5dbf6d(0x19c)),_0x79b4a8=_0x3d6e80(this[_0x5dbf6d(0x1a2)][_0x5dbf6d(0x18e)][_0x5dbf6d(0x1a0)](_0x5dbf6d(0x186)))[_0x5dbf6d(0x1ab)](_0x1daa12=>_0x1daa12[_0x5dbf6d(0x18f)]),_0x4df1bc=_0x40b6a0(_0x5dbf6d(0x186),_0x79b4a8);_0x2fdd06[_0x5dbf6d(0x18d)][_0x5dbf6d(0x1a9)](_0x4df1bc),_0x2fdd06[_0x5dbf6d(0x18d)][_0x5dbf6d(0x1b2)](_0x5dbf6d(0x1aa))[_0x5dbf6d(0x1a9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5dbf6d(0x186),'value':_0x4bcba7=>{const _0x246b02=_0x5dbf6d;let _0x1e2660=_0x4bcba7[_0x246b02(0x19a)](_0x246b02(0x1ac));return _0x54efaf(_0x1e2660)&&(_0x1e2660=String(Number(_0x1e2660[_0x246b02(0x182)](0x0,-0x1))/0x64)),_0x1e2660===String(_0x4d63a7)?null:_0x4df1bc[_0x246b02(0x18f)][_0x246b02(0x18c)][_0x246b02(0x18b)](_0x1e2660)?_0x1e2660:null;}}});}}
|