@ckeditor/ckeditor5-line-height 46.0.1-alpha.10 → 46.0.1-alpha.12
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 +7 -7
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262: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)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),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},433: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}},545: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)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},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:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>T});var e=n(782),t=n(584);const r=s;function o(){const e=["3619590qemRNi","selection","isEnabled","model","checkAttribute","3538190CVpTIg","filter","removeAttribute","refresh","change","746508OsFZjf","282PVaZHG","editor","value","from","schema","16KWrJFQ","4jmevgu","_canHaveLineHeight","setAttribute","37282hwWcUe","execute","lineHeight","getSelectedBlocks","document","1247187fNRhsa","getAttribute","2645154kfcCXh","657043MxVJCT"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=332]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(707707===parseInt(t(334))/1+-parseInt(t(345))/2+parseInt(t(360))/3+-parseInt(t(352))/4*(-parseInt(t(340))/5)+-parseInt(t(346))/6*(-parseInt(t(355))/7)+parseInt(t(351))/8*(-parseInt(t(333))/9)+-parseInt(t(335))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(343)](){const e=r,n=this[e(347)][e(338)][e(359)],i=(0,t.first)(n[e(336)][e(358)]());this[e(337)]=Boolean(i)&&this[e(353)](i),this[e(348)]=this[e(337)]&&i[e(332)](e(357))}[r(356)](e={}){const t=r,n=this[t(347)][t(338)],i=n[t(359)][t(336)],o=e[t(348)];n[t(344)](e=>{const n=t,r=Array[n(349)](i[n(358)]())[n(341)](e=>this[n(353)](e));for(const t of r)o?e[n(354)](n(357),o,t):e[n(342)](n(357),t)})}[r(353)](e){const t=r;return this[t(347)][t(338)][t(350)][t(339)](e,t(357))}}var c=n(783);!function(e){const t=u,n=e();for(;;)try{if(470382===-parseInt(t(221))/1*(-parseInt(t(232))/2)+-parseInt(t(238))/3*(parseInt(t(230))/4)+-parseInt(t(246))/5*(parseInt(t(250))/6)+parseInt(t(247))/7+parseInt(t(236))/8*(-parseInt(t(244))/9)+-parseInt(t(226))/10*(-parseInt(t(231))/11)+parseInt(t(220))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(f);const l={get single(){const e=u;return{title:e(248),model:e(227),view:{key:e(241),value:e(243)}}},get double(){const e=u;return{title:e(253),model:e(240),view:{key:e(241),value:e(225)}}}};function u(e,t){const n=f();return(u=function(e,t){return n[e-=218]})(e,t)}function d(e){const t=u;return t(222)==typeof e&&t(249)===e[t(239)]()}function h(e){const t=u;return e[t(233)][t(228)](n=>d(n)?{title:String(e[t(229)]),model:t(249)}:(t(223)==typeof n&&(n=String(n)),t(222)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(245),styles:{"line-height":n}}}:function(e){const t=u;return t(222)==typeof e?l[e]:l[e[t(218)]]}(n)))[t(224)](e=>void 0!==e)}function f(){const e=["759912oqgvwB","77715zuhjqt","4CaEfrv","options","values","style","96kvoZEE","key","9ulCMzL","toLowerCase","double","class","push","line-height-single","3411EQmUhd","span","1162445mrrWFS","4724881KFEqPR","Single","default","18BbbNUJ","line-height:","value","Double","model","view","8921268yApOcX","123097ZyJkqm","string","number","filter","line-height-double","110UxEifN","single","map","defaultValue"];return(f=function(){return e})()}const p=m;function g(){const e=["init","upcast","3158220cwfHKK","line-height-invalid-use-of-named-presets","for","245dAwYlI","lineHeight.supportAllValues","extend","get","2035287lMCNRt","conversion","lineHeight.defaultValue","$block","lineHeight","string","afterInit","slice","56120SblqJf","21VZuwsB","attributeToAttribute","setAttributeProperties","length","includes","schema","map","define","49890dLJNQE","isOfficialPlugin","default","downcast","filter","pluginName","editor","_prepareAnyValueConverters","values","model","_validateConfig","68829zEgAWQ","_preparePredefinedConverters","join","isPremiumPlugin","lineHeight.options","LineHeightEditing","526304zyxQNC","28rZDnoH","style","add","line-height","getStyle","fromCharCode","config","href","15858yIpnrA","commands"];return(g=function(){return e})()}function m(e,t){const n=g();return(m=function(e,t){return n[e-=141]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(154698===parseInt(t(152))/1+parseInt(t(158))/2+parseInt(t(141))/3*(-parseInt(t(159))/4)+-parseInt(t(174))/5*(parseInt(t(167))/6)+-parseInt(t(187))/7*(parseInt(t(186))/8)+-parseInt(t(178))/9+parseInt(t(171))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(146)](){return p(157)}static get[p(142)](){return!0}static get[p(155)](){return!0}constructor(e){const t=p;super(e),e[t(165)][t(194)](t(182),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(143),2,2.5,3]})}[p(169)](){const e=p,t=this[e(147)];this[e(151)](),t[e(150)][e(192)][e(176)](e(181),{allowAttributes:e(182)}),t[e(150)][e(192)][e(189)](e(182),{isFormatting:!0}),t[e(168)][e(161)](e(182),new a(t)),this[e(147)][e(165)][e(177)](e(175))?this[e(148)]():this[e(153)]()}[p(184)](){!async function(e){const n=g([86,78,109,73,72,80,106,112,50,118,104,66,56,110,108,57,82,122,68,90,102,114,116,48,119,101,113,52,105,67,89,74,85,54,76,51,103,117,81,107,75,120,71,79,99,84,55,88,77,65,87,121,49,115,111,70,100,97,69,98,53,83]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(193)](e=>String[t(164)](e))[t(154)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([86]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1754524800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(166)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[p(151)](){const e=p,n=this[e(147)];if(!n[e(165)][e(177)](e(175)))return;const i=n[e(165)][e(177)](e(156))[e(145)](t=>e(183)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(190)])throw new t.CKEditorError(e(172),null,{namedPresets:i})}[p(148)](){const e=p,t=this[e(147)],n=this[e(147)][e(165)][e(177)](e(180));t[e(179)][e(173)](e(144))[e(188)]({model:{key:e(182)},view:t=>String(t)===String(n)?null:{key:e(160),value:{"line-height":t}}}),t[e(179)][e(173)](e(170))[e(188)]({model:{key:e(182),value:t=>{const i=e;let r=t[i(163)](i(162));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(185)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(153)](){const e=p,t=this[e(147)],n=this[e(147)][e(165)][e(177)](e(180)),i=h(this[e(147)][e(165)][e(177)](e(182)))[e(145)](t=>t[e(150)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(241)===e[n(219)]?.[n(237)]?(i[n(218)][n(234)][n(242)](e[n(218)]),i[n(219)][e[n(218)]]={key:n(241),value:e[n(219)][n(252)]}):(i[n(218)][n(234)][n(242)](e[n(218)]),i[n(219)][e[n(218)]]={key:n(235),value:n(251)+e[n(218)]+";"});return i}(e(182),i);t[e(179)][e(188)](r),t[e(179)][e(173)](e(170))[e(188)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(182),value:t=>{const i=e;let o=t[i(163)](i(162));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(185)](0,-1))/100)),o===String(n)?null:r[i(150)][i(149)][i(191)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),E=n.n(_),O=n(667),C=n.n(O),A=n(357),x=n.n(A),S=n(422),N={attributes:{"data-cke":!0}};N.setAttributes=C(),N.insert=E().bind(null,"head"),N.domAPI=H(),N.insertStyleElement=x();b()(S.A,N);S.A&&S.A.locals&&S.A.locals;class T extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return h(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 v.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 v.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,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.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 v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.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 k(){var e=["181919AqzAIV","105JoFxct","72zFALOG","LineHeight","147230iwjerr","88laFtfx","36PmHQsq","isPremiumPlugin","12315237RCnqHm","6kZhqjQ","23051002TExbbt","29010wcrqrT","pluginName","225712TRxcYq","12ppxKgo","86120ebFXxa","requires","isOfficialPlugin"];return(k=function(){return e})()}var P=K;function K(e,t){var n=k();return(K=function(e,t){return n[e-=126]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(671174===parseInt(t(136))/1*(parseInt(t(127))/2)+-parseInt(t(129))/3*(parseInt(t(141))/4)+parseInt(t(140))/5*(parseInt(t(142))/6)+-parseInt(t(137))/7*(parseInt(t(131))/8)+parseInt(t(138))/9*(-parseInt(t(133))/10)+-parseInt(t(126))/11+-parseInt(t(132))/12*(-parseInt(t(128))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(k);class V extends e.Plugin{static get[P(134)](){return[w,T]}static get[P(130)](){return P(139)}static get[P(135)](){return!0}static get[P(143)](){return!0}}function B(){var e=["1255778oBshoi","55682QAGThe","35598sUKjeS","200fQPqQC","11270SzAmbz","8715049FxmsvS","6703692vCEwfN","6udWlIH","604467UldIGw","104ciAcvG","190386JXANhF"];return(B=function(){return e})()}function M(e,t){var n=B();return(M=function(e,t){return n[e-=326]})(e,t)}!function(e){for(var t=M,n=e();;)try{if(886017===-parseInt(t(330))/1+-parseInt(t(333))/2*(parseInt(t(329))/3)+-parseInt(t(328))/4+parseInt(t(336))/5*(parseInt(t(335))/6)+-parseInt(t(327))/7+parseInt(t(331))/8*(-parseInt(t(332))/9)+-parseInt(t(326))/10*(-parseInt(t(334))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262: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)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),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},433: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 u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545: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)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673: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],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},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:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>N});var e=n(782),t=n(584);const r=s;function o(){const e=["3619590qemRNi","selection","isEnabled","model","checkAttribute","3538190CVpTIg","filter","removeAttribute","refresh","change","746508OsFZjf","282PVaZHG","editor","value","from","schema","16KWrJFQ","4jmevgu","_canHaveLineHeight","setAttribute","37282hwWcUe","execute","lineHeight","getSelectedBlocks","document","1247187fNRhsa","getAttribute","2645154kfcCXh","657043MxVJCT"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=332]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(707707===parseInt(t(334))/1+-parseInt(t(345))/2+parseInt(t(360))/3+-parseInt(t(352))/4*(-parseInt(t(340))/5)+-parseInt(t(346))/6*(-parseInt(t(355))/7)+parseInt(t(351))/8*(-parseInt(t(333))/9)+-parseInt(t(335))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(343)](){const e=r,n=this[e(347)][e(338)][e(359)],i=(0,t.first)(n[e(336)][e(358)]());this[e(337)]=Boolean(i)&&this[e(353)](i),this[e(348)]=this[e(337)]&&i[e(332)](e(357))}[r(356)](e={}){const t=r,n=this[t(347)][t(338)],i=n[t(359)][t(336)],o=e[t(348)];n[t(344)](e=>{const n=t,r=Array[n(349)](i[n(358)]())[n(341)](e=>this[n(353)](e));for(const t of r)o?e[n(354)](n(357),o,t):e[n(342)](n(357),t)})}[r(353)](e){const t=r;return this[t(347)][t(338)][t(350)][t(339)](e,t(357))}}var c=n(783);!function(e){const t=l,n=e();for(;;)try{if(470382===-parseInt(t(221))/1*(-parseInt(t(232))/2)+-parseInt(t(238))/3*(parseInt(t(230))/4)+-parseInt(t(246))/5*(parseInt(t(250))/6)+parseInt(t(247))/7+parseInt(t(236))/8*(-parseInt(t(244))/9)+-parseInt(t(226))/10*(-parseInt(t(231))/11)+parseInt(t(220))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(f);const u={get single(){const e=l;return{title:e(248),model:e(227),view:{key:e(241),value:e(243)}}},get double(){const e=l;return{title:e(253),model:e(240),view:{key:e(241),value:e(225)}}}};function l(e,t){const n=f();return(l=function(e,t){return n[e-=218]})(e,t)}function d(e){const t=l;return t(222)==typeof e&&t(249)===e[t(239)]()}function h(e){const t=l;return e[t(233)][t(228)](n=>d(n)?{title:String(e[t(229)]),model:t(249)}:(t(223)==typeof n&&(n=String(n)),t(222)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(245),styles:{"line-height":n}}}:function(e){const t=l;return t(222)==typeof e?u[e]:u[e[t(218)]]}(n)))[t(224)](e=>void 0!==e)}function f(){const e=["759912oqgvwB","77715zuhjqt","4CaEfrv","options","values","style","96kvoZEE","key","9ulCMzL","toLowerCase","double","class","push","line-height-single","3411EQmUhd","span","1162445mrrWFS","4724881KFEqPR","Single","default","18BbbNUJ","line-height:","value","Double","model","view","8921268yApOcX","123097ZyJkqm","string","number","filter","line-height-double","110UxEifN","single","map","defaultValue"];return(f=function(){return e})()}const p=m;function g(){const e=["$block","288WVOUkA","string","isOfficialPlugin","includes","slice","add","1265896IrtWSB","lineHeight.options","extend","lineHeight.supportAllValues","style","for","6QbQqDT","filter","length","_prepareAnyValueConverters","editor","lineHeight.defaultValue","24trjZda","lineHeight","define","downcast","setAttributeProperties","conversion","map","isPremiumPlugin","line-height-invalid-use-of-named-presets","_validateConfig","schema","config","model","href","init","default","fromCharCode","_preparePredefinedConverters","2603644spebRz","afterInit","LineHeightEditing","10104348RrIozP","getStyle","commands","values","280831IjyGAK","get","join","3152338sITmzT","pluginName","243170tCyLBI","1070065sEdrFh","upcast","line-height","attributeToAttribute"];return(g=function(){return e})()}function m(e,t){const n=g();return(m=function(e,t){return n[e-=213]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(872425===parseInt(t(222))/1+-parseInt(t(239))/2*(-parseInt(t(245))/3)+parseInt(t(215))/4+-parseInt(t(228))/5+-parseInt(t(218))/6+parseInt(t(225))/7*(parseInt(t(251))/8)+parseInt(t(233))/9*(-parseInt(t(227))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(226)](){return p(217)}static get[p(235)](){return!0}static get[p(258)](){return!0}constructor(e){const t=p;super(e),e[t(262)][t(253)](t(252),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(266),2,2.5,3]})}[p(265)](){const e=p,t=this[e(249)];this[e(260)](),t[e(263)][e(261)][e(241)](e(232),{allowAttributes:e(252)}),t[e(263)][e(261)][e(255)](e(252),{isFormatting:!0}),t[e(220)][e(238)](e(252),new a(t)),this[e(249)][e(262)][e(223)](e(242))?this[e(248)]():this[e(214)]()}[p(216)](){!async function(e){const n=g([105,116,57,69,84,97,50,90,106,119,112,52,81,122,98,121,87,107,83,111,54,72,65,99,120,118,109,79,67,68,74,88,82,103,49,102,113,110,70,114,71,100,48,104,77,66,56,76,101,86,78,75,73,85,51,80,117,53,89,55,108,115]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function u(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(e)):null}function l(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(257)](e=>String[t(213)](e))[t(224)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([105]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(l+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(u=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1754697600;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(264)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[p(260)](){const e=p,n=this[e(249)];if(!n[e(262)][e(223)](e(242)))return;const i=n[e(262)][e(223)](e(240))[e(246)](t=>e(234)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(247)])throw new t.CKEditorError(e(259),null,{namedPresets:i})}[p(248)](){const e=p,t=this[e(249)],n=this[e(249)][e(262)][e(223)](e(250));t[e(256)][e(244)](e(254))[e(231)]({model:{key:e(252)},view:t=>String(t)===String(n)?null:{key:e(243),value:{"line-height":t}}}),t[e(256)][e(244)](e(229))[e(231)]({model:{key:e(252),value:t=>{const i=e;let r=t[i(219)](i(230));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(237)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(214)](){const e=p,t=this[e(249)],n=this[e(249)][e(262)][e(223)](e(250)),i=h(this[e(249)][e(262)][e(223)](e(252)))[e(246)](t=>t[e(263)]),r=function(e,t){const n=l,i={model:{key:e,values:[]},view:{}};for(const e of t)n(241)===e[n(219)]?.[n(237)]?(i[n(218)][n(234)][n(242)](e[n(218)]),i[n(219)][e[n(218)]]={key:n(241),value:e[n(219)][n(252)]}):(i[n(218)][n(234)][n(242)](e[n(218)]),i[n(219)][e[n(218)]]={key:n(235),value:n(251)+e[n(218)]+";"});return i}(e(252),i);t[e(256)][e(231)](r),t[e(256)][e(244)](e(229))[e(231)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(252),value:t=>{const i=e;let o=t[i(219)](i(230));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(237)](0,-1))/100)),o===String(n)?null:r[i(263)][i(221)][i(236)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),E=n.n(_),O=n(667),C=n.n(O),T=n(357),A=n.n(T),S=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=C(),x.insert=E().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=A();b()(S.A,x);S.A&&S.A.locals&&S.A.locals;class N extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return h(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 v.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 v.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,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.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 v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.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 k(){var e=["181919AqzAIV","105JoFxct","72zFALOG","LineHeight","147230iwjerr","88laFtfx","36PmHQsq","isPremiumPlugin","12315237RCnqHm","6kZhqjQ","23051002TExbbt","29010wcrqrT","pluginName","225712TRxcYq","12ppxKgo","86120ebFXxa","requires","isOfficialPlugin"];return(k=function(){return e})()}var P=K;function K(e,t){var n=k();return(K=function(e,t){return n[e-=126]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(671174===parseInt(t(136))/1*(parseInt(t(127))/2)+-parseInt(t(129))/3*(parseInt(t(141))/4)+parseInt(t(140))/5*(parseInt(t(142))/6)+-parseInt(t(137))/7*(parseInt(t(131))/8)+parseInt(t(138))/9*(-parseInt(t(133))/10)+-parseInt(t(126))/11+-parseInt(t(132))/12*(-parseInt(t(128))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(k);class V extends e.Plugin{static get[P(134)](){return[w,N]}static get[P(130)](){return P(139)}static get[P(135)](){return!0}static get[P(143)](){return!0}}function B(){var e=["1255778oBshoi","55682QAGThe","35598sUKjeS","200fQPqQC","11270SzAmbz","8715049FxmsvS","6703692vCEwfN","6udWlIH","604467UldIGw","104ciAcvG","190386JXANhF"];return(B=function(){return e})()}function j(e,t){var n=B();return(j=function(e,t){return n[e-=326]})(e,t)}!function(e){for(var t=j,n=e();;)try{if(886017===-parseInt(t(330))/1+-parseInt(t(333))/2*(parseInt(t(329))/3)+-parseInt(t(328))/4+parseInt(t(336))/5*(parseInt(t(335))/6)+-parseInt(t(327))/7+parseInt(t(331))/8*(-parseInt(t(332))/9)+-parseInt(t(326))/10*(-parseInt(t(334))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(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 _0xfb380f,Plugin as _0x51e30e}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0xe3a9bf,CKEditorError as _0x2b8aba,uid as _0x48c2c9,Collection as _0x30e42f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1bf4d2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x49b438,createDropdown as _0x2fb53f,addListToDropdown as _0xafdbe,MenuBarMenuView as _0x4045e1,MenuBarMenuListView as _0x3d502b,MenuBarMenuListItemView as _0xed421c,MenuBarMenuListItemButtonView as _0x58d2d4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3dc735}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xfb380f{['refresh'](){const _0x158c62=this['editor']['model']['document'],_0x4730bd=_0xe3a9bf(_0x158c62['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x4730bd)&&this['_canHaveLineHeight'](_0x4730bd),this['value']=this['isEnabled']&&_0x4730bd['getAttribute']('lineHeight');}['execute'](_0x10165c={}){const _0x40e981=this['editor']['model'],_0x5ecf81=_0x40e981['document']['selection'],_0x1ef534=_0x10165c['value'];_0x40e981['change'](_0x2ed3c9=>{const _0x27fa65=Array['from'](_0x5ecf81['getSelectedBlocks']())['filter'](_0x1cc7ec=>this['_canHaveLineHeight'](_0x1cc7ec));for(const _0x523f96 of _0x27fa65)_0x1ef534?_0x2ed3c9['setAttribute']('lineHeight',_0x1ef534,_0x523f96):_0x2ed3c9['removeAttribute']('lineHeight',_0x523f96);});}['_canHaveLineHeight'](_0x3f6cd1){return this['editor']['model']['schema']['checkAttribute'](_0x3f6cd1,'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(_0x264151){return'string'==typeof _0x264151&&'default'===_0x264151['toLowerCase']();}function a(_0x5ec1d4){return _0x5ec1d4['options']['map'](_0x4e8e2e=>{return f(_0x4e8e2e)?{'title':String(_0x5ec1d4['defaultValue']),'model':'default'}:('number'==typeof _0x4e8e2e&&(_0x4e8e2e=String(_0x4e8e2e)),'string'!=typeof _0x4e8e2e?_0x4e8e2e:parseFloat(_0x4e8e2e)?{'title':_0x4e8e2e,'model':_0x4e8e2e,'view':{'name':'span','styles':{'line-height':_0x4e8e2e}}}:'string'==typeof(_0x1bf4ed=_0x4e8e2e)?v[_0x1bf4ed]:v[_0x1bf4ed['model']]);var _0x1bf4ed;})['filter'](_0x24c7dd=>void 0x0!==_0x24c7dd);}class e extends _0x51e30e{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47da8e){super(_0x47da8e),_0x47da8e['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x294b6f=this['editor'];this['_validateConfig'](),_0x294b6f['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x294b6f['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x294b6f['commands']['add']('lineHeight',new n(_0x294b6f)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x264461){const _0x4edc28=_0x56835b([0x56,0x4e,0x6d,0x49,0x48,0x50,0x6a,0x70,0x32,0x76,0x68,0x42,0x38,0x6e,0x6c,0x39,0x52,0x7a,0x44,0x5a,0x66,0x72,0x74,0x30,0x77,0x65,0x71,0x34,0x69,0x43,0x59,0x4a,0x55,0x36,0x4c,0x33,0x67,0x75,0x51,0x6b,0x4b,0x78,0x47,0x4f,0x63,0x54,0x37,0x58,0x4d,0x41,0x57,0x79,0x31,0x73,0x6f,0x46,0x64,0x61,0x45,0x62,0x35,0x53]),_0x143614=0x5277007b,_0x4c0249=0x52706fb3^_0x143614,_0x2b4a01=window[_0x56835b([0x44,0x61,0x74,0x65])][_0x56835b([0x6e,0x6f,0x77])](),_0x1f22b9=_0x264461[_0x56835b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2787f9=new window[(_0x56835b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13578a=>{_0x1f22b9[_0x56835b([0x6f,0x6e,0x63,0x65])](_0x56835b([0x72,0x65,0x61,0x64,0x79]),_0x13578a);}),_0x518663={[_0x56835b([0x6b,0x74,0x79])]:_0x56835b([0x45,0x43]),[_0x56835b([0x75,0x73,0x65])]:_0x56835b([0x73,0x69,0x67]),[_0x56835b([0x63,0x72,0x76])]:_0x56835b([0x50,0x2d,0x32,0x35,0x36]),[_0x56835b([0x78])]:_0x56835b([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]),[_0x56835b([0x79])]:_0x56835b([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]),[_0x56835b([0x61,0x6c,0x67])]:_0x56835b([0x45,0x53,0x32,0x35,0x36])},_0x93b6a8=_0x1f22b9[_0x56835b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56835b([0x67,0x65,0x74])](_0x56835b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe452c7(){let _0xd82f87,_0x253e06=null,_0x53a94c=null;try{if(_0x93b6a8==_0x56835b([0x47,0x50,0x4c]))return _0x56835b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd82f87=_0x12b618(),!_0xd82f87)return _0x56835b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd82f87[_0x56835b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53a94c=_0x8d3924(_0xd82f87[_0x56835b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd82f87[_0x56835b([0x6a,0x74,0x69])])),await _0x4b4320()?_0x3f07dd()?_0x55dbc9()?_0x56835b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x489c6c()?(_0xd82f87[_0x56835b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56835b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x253e06=_0x21d812(_0x56835b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd82f87[_0x56835b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56835b([0x74,0x72,0x69,0x61,0x6c])&&(_0x253e06=_0x21d812(_0x56835b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x554ac3()):_0x56835b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56835b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56835b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56835b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55dbc9(){const _0x12bc06=[_0x56835b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56835b([0x74,0x72,0x69,0x61,0x6c])][_0x56835b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd82f87[_0x56835b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b4a01/0x3e8:0xe10*_0x4c0249;return _0xd82f87[_0x56835b([0x65,0x78,0x70])]<_0x12bc06;}function _0x3f07dd(){const _0x55e226=_0xd82f87[_0x56835b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55e226&&(!!_0x55e226[_0x56835b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56835b([0x2a]))||!!_0x55e226[_0x56835b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56835b([0x4c,0x48])));}function _0x489c6c(){const _0xbca21d=_0xd82f87[_0x56835b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbca21d||0x0==_0xbca21d[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x48e0e7}=new URL(window[_0x56835b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xbca21d[_0x56835b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48e0e7))return!0x0;const _0x547c2d=_0x48e0e7[_0x56835b([0x73,0x70,0x6c,0x69,0x74])](_0x56835b([0x2e]));return _0xbca21d[_0x56835b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b0873=>_0x5b0873[_0x56835b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56835b([0x2a])))[_0x56835b([0x6d,0x61,0x70])](_0x189826=>_0x189826[_0x56835b([0x73,0x70,0x6c,0x69,0x74])](_0x56835b([0x2e])))[_0x56835b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c120a=>_0x3c120a[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x547c2d[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56835b([0x6d,0x61,0x70])](_0xf9a40b=>Array(_0x547c2d[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf9a40b[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56835b([0x66,0x69,0x6c,0x6c])](_0xf9a40b[0x0]===_0x56835b([0x2a])?_0x56835b([0x2a]):'')[_0x56835b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf9a40b))[_0x56835b([0x73,0x6f,0x6d,0x65])](_0x3b1057=>_0x547c2d[_0x56835b([0x65,0x76,0x65,0x72,0x79])]((_0x2cb8c9,_0x53b764)=>_0x3b1057[_0x53b764]===_0x2cb8c9||_0x3b1057[_0x53b764]===_0x56835b([0x2a])));}function _0x554ac3(){return _0x253e06&&_0x53a94c?new window[(_0x56835b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22929b,_0x5699ee)=>{_0x253e06[_0x56835b([0x74,0x68,0x65,0x6e])](_0x22929b,_0x5699ee),_0x53a94c[_0x56835b([0x74,0x68,0x65,0x6e])](_0x46519a=>{_0x46519a!=_0x56835b([0x56,0x61,0x6c,0x69,0x64])&&_0x22929b(_0x46519a);},_0x5699ee);}):_0x253e06||_0x53a94c||_0x56835b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8d3924(_0x43c31c,_0x2e24c0){return new window[(_0x56835b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1952b4=>{if(_0x3020e3())return _0x1952b4(_0x56835b([0x56,0x61,0x6c,0x69,0x64]));_0x457142(),_0x1f22b9[_0x56835b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56835b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b19e0=!0x1;const _0x46eeae=_0x48c2c9();function _0x5e594b(_0x2fb1f9){return!!_0x2fb1f9&&(typeof _0x2fb1f9===_0x56835b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fb1f9===_0x56835b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fb1f9[_0x56835b([0x74,0x68,0x65,0x6e])]===_0x56835b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fb1f9[_0x56835b([0x63,0x61,0x74,0x63,0x68])]===_0x56835b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31a5fc(_0x492aa0){_0x5674f0(_0x492aa0)[_0x56835b([0x74,0x68,0x65,0x6e])](_0x506f56=>{if(!_0x506f56||_0x506f56[_0x56835b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56835b([0x6f,0x6b]))return _0x56835b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35b6ac(_0x2dc2ec(_0x46eeae+_0x2e24c0))!=_0x506f56[_0x56835b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56835b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56835b([0x56,0x61,0x6c,0x69,0x64]);})[_0x56835b([0x74,0x68,0x65,0x6e])](_0x4ce2af=>(_0x13efd1(),_0x4ce2af),()=>{const _0x265f72=_0x48a201();return null==_0x265f72?(_0x13efd1(),_0x56835b([0x56,0x61,0x6c,0x69,0x64])):_0x56835b(_0x2b4a01-_0x265f72>(0x767b847b^_0x143614)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56835b([0x74,0x68,0x65,0x6e])](_0x1952b4)[_0x56835b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1952b4(_0x56835b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6e4934=0x5241eefb^_0x143614;function _0x13efd1(){const _0x53d208=_0x56835b([0x6c,0x6c,0x63,0x74,0x2d])+_0x35b6ac(_0x2dc2ec(_0x43c31c)),_0x2afce3=_0x41e939(_0x35b6ac(window[_0x56835b([0x4d,0x61,0x74,0x68])][_0x56835b([0x63,0x65,0x69,0x6c])](_0x2b4a01/_0x6e4934)));window[_0x56835b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56835b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53d208,_0x2afce3);}function _0x48a201(){const _0x556371=_0x56835b([0x6c,0x6c,0x63,0x74,0x2d])+_0x35b6ac(_0x2dc2ec(_0x43c31c)),_0x405c45=window[_0x56835b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56835b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x556371);return _0x405c45?window[_0x56835b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41e939(_0x405c45),0x10)*_0x6e4934:null;}function _0x5674f0(_0x4a8db0){return new window[(_0x56835b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e362b,_0x45efe3)=>{_0x4a8db0[_0x56835b([0x74,0x68,0x65,0x6e])](_0x4e362b,_0x45efe3),window[_0x56835b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45efe3,0x5276d4bb^_0x143614);});}}_0x1f22b9[_0x56835b([0x6f,0x6e])](_0x56835b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16df68,_0x252197)=>{if(_0x252197[0x0]!=_0x43c31c)return _0x1952b4(_0x56835b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x252197[0x1]={..._0x252197[0x1],[_0x56835b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46eeae};},{[_0x56835b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56835b([0x68,0x69,0x67,0x68])}),_0x1f22b9[_0x56835b([0x6f,0x6e])](_0x56835b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13a524=>{_0x5e594b(_0x13a524[_0x56835b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b19e0=!0x0,_0x31a5fc(_0x13a524[_0x56835b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56835b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56835b([0x6c,0x6f,0x77])}),_0x2787f9[_0x56835b([0x74,0x68,0x65,0x6e])](()=>{_0x3b19e0||_0x1952b4(_0x56835b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3020e3(){return _0x1f22b9[_0x56835b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56835b([0x76,0x69,0x65,0x77])][_0x56835b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56835b([0x61,0x75,0x74,0x6f]);}function _0x457142(){_0x1f22b9[_0x56835b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56835b([0x76,0x69,0x65,0x77])][_0x56835b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56835b([0x61,0x75,0x74,0x6f]);}}function _0x21d812(_0x3e63e5){const _0x459d79=[new window[(_0x56835b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23cf53=>setTimeout(_0x23cf53,0x527e3eb7^_0x143614)),_0x2787f9[_0x56835b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56835b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xae0544=>{let _0x5dbcb6=0x0;_0x1f22b9[_0x56835b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56835b([0x6f,0x6e])](_0x56835b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a1aa3,_0x3e27fc)=>{_0x3e27fc[0x0][_0x56835b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5dbcb6++,_0x5dbcb6==(0x52770183^_0x143614)&&(_0xae0544(),_0x3a1aa3[_0x56835b([0x6f,0x66,0x66])]());});}))];return window[_0x56835b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56835b([0x72,0x61,0x63,0x65])](_0x459d79)[_0x56835b([0x74,0x68,0x65,0x6e])](()=>_0x3e63e5);}async function _0x12ffcb(){await _0x2787f9,_0x1f22b9[_0x56835b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56835b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53fe7a,_0x1f22b9[_0x56835b([0x6d,0x6f,0x64,0x65,0x6c])][_0x56835b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53fe7a,_0x1f22b9[_0x56835b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56835b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x121868(_0x39745a){const _0xea629b=_0x7e2f1b();_0x1f22b9[_0xea629b]=_0x56835b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39745a,_0x39745a!=_0x56835b([0x56,0x61,0x6c,0x69,0x64])&&_0x12ffcb();}function _0x7e2f1b(){const _0x5a5fcd=window[_0x56835b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56835b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56835b([0x6e,0x6f,0x77])]())[_0x56835b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56835b([0x2e]),'');let _0x2f0060=_0x56835b([0x56]);for(let _0x57a941=0x0;_0x57a941<_0x5a5fcd[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57a941+=0x2){let _0x4cbee3=window[_0x56835b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5fcd[_0x56835b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57a941,_0x57a941+0x2));_0x4cbee3>=_0x4edc28[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cbee3-=_0x4edc28[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f0060+=_0x4edc28[_0x4cbee3];}return _0x2f0060;}function _0x12b618(){const _0x68f1cc=_0x93b6a8[_0x56835b([0x73,0x70,0x6c,0x69,0x74])](_0x56835b([0x2e]));if(0x3!=_0x68f1cc[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54d2f4(_0x68f1cc[0x1]);function _0x54d2f4(_0x3f6935){const _0x456b52=_0x2e673c(_0x3f6935);return _0x456b52&&_0x8d2744()?_0x456b52:null;function _0x8d2744(){const _0x232fdb=_0x456b52[_0x56835b([0x6a,0x74,0x69])],_0x3d57f0=window[_0x56835b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x232fdb[_0x56835b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x232fdb[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x223a10={..._0x456b52,[_0x56835b([0x6a,0x74,0x69])]:_0x232fdb[_0x56835b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x232fdb[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x223a10[_0x56835b([0x76,0x63])],_0x2dc2ec(_0x223a10)==_0x3d57f0;}}}async function _0x4b4320(){let _0x28bd30=!0x0;try{const _0x1146d9=_0x93b6a8[_0x56835b([0x73,0x70,0x6c,0x69,0x74])](_0x56835b([0x2e])),[_0x351441,_0x3ad65c,_0x223680]=_0x1146d9;return _0x2e9b92(_0x351441),await _0x23a2df(_0x351441,_0x3ad65c,_0x223680),_0x28bd30;}catch{return!0x1;}function _0x2e9b92(_0x33ea65){const _0x380887=_0x2e673c(_0x33ea65);_0x380887&&_0x380887[_0x56835b([0x61,0x6c,0x67])]==_0x56835b([0x45,0x53,0x32,0x35,0x36])||(_0x28bd30=!0x1);}async function _0x23a2df(_0x15793d,_0x2ed22d,_0x4acbaa){const _0x55f8bf=window[_0x56835b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56835b([0x66,0x72,0x6f,0x6d])](_0x3d6a76(_0x4acbaa),_0x40ca0f=>_0x40ca0f[_0x56835b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f1f65=new window[(_0x56835b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56835b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15793d+_0x56835b([0x2e])+_0x2ed22d),_0x3b5b73=window[_0x56835b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56835b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b5b73)return;const _0x4e2b4a=await _0x3b5b73[_0x56835b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56835b([0x6a,0x77,0x6b]),_0x518663,{[_0x56835b([0x6e,0x61,0x6d,0x65])]:_0x56835b([0x45,0x43,0x44,0x53,0x41]),[_0x56835b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56835b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56835b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b5b73[_0x56835b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56835b([0x6e,0x61,0x6d,0x65])]:_0x56835b([0x45,0x43,0x44,0x53,0x41]),[_0x56835b([0x68,0x61,0x73,0x68])]:{[_0x56835b([0x6e,0x61,0x6d,0x65])]:_0x56835b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e2b4a,_0x55f8bf,_0x3f1f65)||(_0x28bd30=!0x1);}}function _0x2e673c(_0x552e4d){return _0x552e4d[_0x56835b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56835b([0x65,0x79]))?JSON[_0x56835b([0x70,0x61,0x72,0x73,0x65])](_0x3d6a76(_0x552e4d)):null;}function _0x3d6a76(_0x52e015){return window[_0x56835b([0x61,0x74,0x6f,0x62])](_0x52e015[_0x56835b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56835b([0x2b]))[_0x56835b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56835b([0x2f])));}function _0x2dc2ec(_0x1fc8ff){let _0xa92634=0x1505;function _0x2cde58(_0x5bf9d6){for(let _0x4b47f1=0x0;_0x4b47f1<_0x5bf9d6[_0x56835b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b47f1++){const _0x543d07=_0x5bf9d6[_0x56835b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b47f1);_0xa92634=(_0xa92634<<0x5)+_0xa92634+_0x543d07,_0xa92634&=_0xa92634;}}function _0x5c18ed(_0x69cfcf){Array[_0x56835b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x69cfcf)?_0x69cfcf[_0x56835b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c18ed):_0x69cfcf&&typeof _0x69cfcf==_0x56835b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56835b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x69cfcf)[_0x56835b([0x73,0x6f,0x72,0x74])]()[_0x56835b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e5ba4,_0x3e4c52])=>{_0x2cde58(_0x3e5ba4),_0x5c18ed(_0x3e4c52);}):_0x2cde58(window[_0x56835b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x69cfcf));}return _0x5c18ed(_0x1fc8ff),_0xa92634>>>0x0;}function _0x35b6ac(_0x4dcba7){return _0x4dcba7[_0x56835b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56835b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56835b([0x30]));}function _0x41e939(_0x394b73){return _0x394b73[_0x56835b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56835b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56835b([0x6a,0x6f,0x69,0x6e])]('');}function _0x53fe7a(){}function _0x56835b(_0x2a7905){return _0x2a7905['map'](_0x14b001=>String['fromCharCode'](_0x14b001))['join']('');}_0x121868(await _0xe452c7());}(this);}['_validateConfig'](){const _0x36e7d0=this['editor'];if(!_0x36e7d0['config']['get']('lineHeight.supportAllValues'))return;const _0x499e70=_0x36e7d0['config']['get']('lineHeight.options')['filter'](_0x2ca60e=>'string'==typeof _0x2ca60e&&(!f(_0x2ca60e)&&isNaN(Number(_0x2ca60e))));if(_0x499e70['length'])throw new _0x2b8aba('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x499e70});}['_prepareAnyValueConverters'](){const _0x3af35c=this['editor'],_0x214740=this['editor']['config']['get']('lineHeight.defaultValue');_0x3af35c['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2f67e4=>String(_0x2f67e4)===String(_0x214740)?null:{'key':'style','value':{'line-height':_0x2f67e4}}}),_0x3af35c['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x669e92=>{let _0x24fbd3=_0x669e92['getStyle']('line-height');return _0x1bf4d2(_0x24fbd3)&&(_0x24fbd3=String(Number(_0x24fbd3['slice'](0x0,-0x1))/0x64)),String(_0x24fbd3)===String(_0x214740)?null:_0x24fbd3;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x4fb318=this['editor'],_0x173904=this['editor']['config']['get']('lineHeight.defaultValue'),_0x10b43e=function(_0x50bf10,_0x1b2e39){const _0x4fe835={'model':{'key':_0x50bf10,'values':[]},'view':{}};for(const _0x3b7f66 of _0x1b2e39)'class'===_0x3b7f66['view']?.['key']?(_0x4fe835['model']['values']['push'](_0x3b7f66['model']),_0x4fe835['view'][_0x3b7f66['model']]={'key':'class','value':_0x3b7f66['view']['value']}):(_0x4fe835['model']['values']['push'](_0x3b7f66['model']),_0x4fe835['view'][_0x3b7f66['model']]={'key':'style','value':'line-height:'+_0x3b7f66['model']+';'});return _0x4fe835;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1d8437=>_0x1d8437['model']));_0x4fb318['conversion']['attributeToAttribute'](_0x10b43e),_0x4fb318['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x93152b=>{let _0x58981f=_0x93152b['getStyle']('line-height');return _0x1bf4d2(_0x58981f)&&(_0x58981f=String(Number(_0x58981f['slice'](0x0,-0x1))/0x64)),_0x58981f===String(_0x173904)?null:_0x10b43e['model']['values']['includes'](_0x58981f)?_0x58981f:null;}}});}}class r extends _0x51e30e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe77d39={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xe77d39),this['_registerMenuBarComponent'](_0xe77d39),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x159329=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45b381;for(const _0x947efb in _0x159329){const _0x42ed60=_0x947efb,_0x14ebdf=_0x159329[_0x42ed60];if('lineHeightLicenseKeyValid'==_0x14ebdf||'lineHeightLicenseKeyInvalid'==_0x14ebdf||'lineHeightLicenseKeyExpired'==_0x14ebdf||'lineHeightLicenseKeyDomainLimit'==_0x14ebdf||'lineHeightLicenseKeyNotAllowed'==_0x14ebdf||'lineHeightLicenseKeyEvaluationLimit'==_0x14ebdf||'lineHeightLicenseKeyTrialLimit'==_0x14ebdf||'lineHeightLicenseKeyUsageLimit'==_0x14ebdf){delete _0x159329[_0x42ed60],_0x45b381=_0x14ebdf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x45b381&&_0x159329['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x45b381&&_0x159329['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x45b381&&_0x159329['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x45b381&&_0x159329['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x45b381&&_0x159329['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x45b381&&_0x159329['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x45b381&&_0x159329['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x332e03=this['editor'],t=_0x332e03['t'],_0x462d8f=_0x332e03['config']['get']('lineHeight'),_0x112208={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x462d8f)['map'](_0x53bfc6=>{const _0x2ced00=_0x112208[_0x53bfc6['title']];return _0x2ced00&&_0x2ced00!=_0x53bfc6['title']&&(_0x53bfc6=Object['assign']({},_0x53bfc6,{'title':_0x2ced00})),_0x53bfc6;});}['_prepareListOptions'](){const _0x4e11ea=this['editor']['commands']['get']('lineHeight'),_0x3ba22f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1bd8f4=this['_getLocalizedLineHeightOptions'](),_0x1e9fee=new _0x30e42f(),_0x286856=_0x588e83=>'default'===_0x588e83||String(_0x3ba22f)===_0x588e83;for(const _0xb8509c of _0x1bd8f4){const _0x57e3b9={'type':'button','model':new _0x49b438({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xb8509c['title'],'withText':!0x0})};_0x286856(_0xb8509c['model'])?(_0x57e3b9['model']['bind']('isOn')['to'](_0x4e11ea,'value',_0x4fa45e=>!_0x4fa45e),_0x57e3b9['model']['commandParam']=void 0x0):(_0x57e3b9['model']['bind']('isOn')['to'](_0x4e11ea,'value',_0x197ac8=>_0x197ac8===_0xb8509c['model']),_0x57e3b9['model']['commandParam']=_0xb8509c['model']),_0x1e9fee['add'](_0x57e3b9);}if(this['_shouldRenderCustomValueOption']()){const _0x29e46c=this['_getCustomValueOptionDefinition'](_0x1bd8f4);_0x1e9fee['add'](_0x29e46c);}return _0x1e9fee;}['_getCustomValueOptionDefinition'](_0x1512fc){const _0x2896aa=this['editor'],t=_0x2896aa['t'],_0xd976fd=_0x2896aa['commands']['get']('lineHeight'),_0x895fe5=_0x1512fc['map'](_0x468846=>_0x468846['model']),_0x5aef09={'type':'button','model':new _0x49b438({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5aef09['model']['bind']('commandParam')['to'](_0xd976fd,'value'),_0x5aef09['model']['bind']('isOn')['to'](_0xd976fd,'value',_0x190a74=>!!_0x190a74&&!_0x895fe5['includes'](String(_0x190a74))),_0x5aef09['model']['bind']('label')['to'](_0xd976fd,'value',_0x425669=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x425669))),_0x5aef09;}['_registerToolbarComponent']({accessibleLabel:_0x41096d,options:_0x32cb20}){const _0xd74d58=this['editor'],_0x44d37c=_0xd74d58['commands']['get']('lineHeight');_0xd74d58['ui']['componentFactory']['add']('lineHeight',_0x134c44=>{const _0x3ebb60=_0x2fb53f(_0x134c44);return _0xafdbe(_0x3ebb60,_0x32cb20,{'role':'menu','ariaLabel':_0x41096d}),_0x3ebb60['buttonView']['set']({'label':_0x41096d,'tooltip':!0x0,'icon':_0x3dc735}),_0x3ebb60['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3ebb60['bind']('isEnabled')['to'](_0x44d37c),this['listenTo'](_0x3ebb60,'execute',_0x361fe2=>{_0xd74d58['execute'](_0x361fe2['source']['commandName'],{'value':_0x361fe2['source']['commandParam']}),_0xd74d58['editing']['view']['focus']();}),_0x3ebb60['once']('change:isOpen',()=>{const _0x28ef3f=_0x3ebb60['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3ebb60,_0x32cb20,_0x28ef3f);}),_0x3ebb60;});}['_registerMenuBarComponent']({accessibleLabel:_0x49bb2d,options:_0x103f7e}){const _0x1d6d23=this['editor'],_0x536e90=_0x1d6d23['commands']['get']('lineHeight');_0x1d6d23['ui']['componentFactory']['add']('menuBar:lineHeight',_0x398ce9=>{const _0x1859c0=new _0x4045e1(_0x398ce9);_0x1859c0['buttonView']['set']({'label':_0x49bb2d,'icon':_0x3dc735}),_0x1859c0['bind']('isEnabled')['to'](_0x536e90);const _0x23fc0a=new _0x3d502b(_0x398ce9);for(const _0x240cb9 of _0x103f7e){const _0x47303d=new _0xed421c(_0x398ce9,_0x1859c0),_0x1b9abd=new _0x58d2d4(_0x398ce9);_0x1b9abd['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1b9abd['bind'](...Object['keys'](_0x240cb9['model']))['to'](_0x240cb9['model']),_0x1b9abd['delegate']('execute')['to'](_0x1859c0),_0x1b9abd['on']('execute',()=>{_0x1d6d23['execute'](_0x240cb9['model']['commandName'],{'value':_0x240cb9['model']['commandParam']}),_0x1d6d23['editing']['view']['focus']();}),_0x47303d['children']['add'](_0x1b9abd),_0x23fc0a['items']['add'](_0x47303d);}return _0x1859c0['panelView']['children']['add'](_0x23fc0a),this['_attachCustomOptionVisibilityHandler'](_0x1859c0,_0x103f7e,_0x23fc0a),_0x1859c0;});}['_attachCustomOptionVisibilityHandler'](_0xc51bad,_0x1eb709,_0x451f00){if(!this['_shouldRenderCustomValueOption']())return;const _0x34cdc4=()=>{if(!_0xc51bad['isOpen'])return;_0x451f00['items']['last']['isVisible']=Boolean(_0x1eb709['last']['model']['isOn']);};_0x34cdc4(),_0xc51bad['on']('change:isOpen',()=>{_0x34cdc4();});}}class k extends _0x51e30e{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
|
23
|
+
import{Command as _0x44c157,Plugin as _0xe5b445}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x477301,CKEditorError as _0x288585,uid as _0x30ecf0,Collection as _0x528030}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x12ac2f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x137c07,createDropdown as _0xfb94a5,addListToDropdown as _0x37df0e,MenuBarMenuView as _0x5b5e07,MenuBarMenuListView as _0xf9c53e,MenuBarMenuListItemView as _0x405c89,MenuBarMenuListItemButtonView as _0x53da08}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x44bf1c}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x44c157{['refresh'](){const _0x3ebeea=this['editor']['model']['document'],_0x34ddb0=_0x477301(_0x3ebeea['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x34ddb0)&&this['_canHaveLineHeight'](_0x34ddb0),this['value']=this['isEnabled']&&_0x34ddb0['getAttribute']('lineHeight');}['execute'](_0x5a3e5c={}){const _0x3401ee=this['editor']['model'],_0xd3853b=_0x3401ee['document']['selection'],_0x3e753d=_0x5a3e5c['value'];_0x3401ee['change'](_0x279ade=>{const _0x29b953=Array['from'](_0xd3853b['getSelectedBlocks']())['filter'](_0x50f340=>this['_canHaveLineHeight'](_0x50f340));for(const _0x181c70 of _0x29b953)_0x3e753d?_0x279ade['setAttribute']('lineHeight',_0x3e753d,_0x181c70):_0x279ade['removeAttribute']('lineHeight',_0x181c70);});}['_canHaveLineHeight'](_0x438d3d){return this['editor']['model']['schema']['checkAttribute'](_0x438d3d,'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(_0x57c45c){return'string'==typeof _0x57c45c&&'default'===_0x57c45c['toLowerCase']();}function a(_0x5c3b57){return _0x5c3b57['options']['map'](_0x1f774e=>{return f(_0x1f774e)?{'title':String(_0x5c3b57['defaultValue']),'model':'default'}:('number'==typeof _0x1f774e&&(_0x1f774e=String(_0x1f774e)),'string'!=typeof _0x1f774e?_0x1f774e:parseFloat(_0x1f774e)?{'title':_0x1f774e,'model':_0x1f774e,'view':{'name':'span','styles':{'line-height':_0x1f774e}}}:'string'==typeof(_0x4b5251=_0x1f774e)?v[_0x4b5251]:v[_0x4b5251['model']]);var _0x4b5251;})['filter'](_0x35f99b=>void 0x0!==_0x35f99b);}class e extends _0xe5b445{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1961c6){super(_0x1961c6),_0x1961c6['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3a7fa8=this['editor'];this['_validateConfig'](),_0x3a7fa8['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3a7fa8['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3a7fa8['commands']['add']('lineHeight',new n(_0x3a7fa8)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x479de2){const _0x10dcc6=_0xd59bec([0x69,0x74,0x39,0x45,0x54,0x61,0x32,0x5a,0x6a,0x77,0x70,0x34,0x51,0x7a,0x62,0x79,0x57,0x6b,0x53,0x6f,0x36,0x48,0x41,0x63,0x78,0x76,0x6d,0x4f,0x43,0x44,0x4a,0x58,0x52,0x67,0x31,0x66,0x71,0x6e,0x46,0x72,0x47,0x64,0x30,0x68,0x4d,0x42,0x38,0x4c,0x65,0x56,0x4e,0x4b,0x49,0x55,0x33,0x50,0x75,0x35,0x59,0x37,0x6c,0x73]),_0x2318a5=0x9feef9d,_0x2e44d5=0x9f98065^_0x2318a5,_0x41811d=window[_0xd59bec([0x44,0x61,0x74,0x65])][_0xd59bec([0x6e,0x6f,0x77])](),_0x5353b1=_0x479de2[_0xd59bec([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xae7d0b=new window[(_0xd59bec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1cfb=>{_0x5353b1[_0xd59bec([0x6f,0x6e,0x63,0x65])](_0xd59bec([0x72,0x65,0x61,0x64,0x79]),_0x5e1cfb);}),_0x54cbf0={[_0xd59bec([0x6b,0x74,0x79])]:_0xd59bec([0x45,0x43]),[_0xd59bec([0x75,0x73,0x65])]:_0xd59bec([0x73,0x69,0x67]),[_0xd59bec([0x63,0x72,0x76])]:_0xd59bec([0x50,0x2d,0x32,0x35,0x36]),[_0xd59bec([0x78])]:_0xd59bec([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]),[_0xd59bec([0x79])]:_0xd59bec([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]),[_0xd59bec([0x61,0x6c,0x67])]:_0xd59bec([0x45,0x53,0x32,0x35,0x36])},_0x51f780=_0x5353b1[_0xd59bec([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd59bec([0x67,0x65,0x74])](_0xd59bec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x331478(){let _0xe9c1da,_0xdcd219=null,_0x39ffde=null;try{if(_0x51f780==_0xd59bec([0x47,0x50,0x4c]))return _0xd59bec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe9c1da=_0x3cc9f1(),!_0xe9c1da)return _0xd59bec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe9c1da[_0xd59bec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39ffde=_0x588cce(_0xe9c1da[_0xd59bec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe9c1da[_0xd59bec([0x6a,0x74,0x69])])),await _0x29277f()?_0x446ad4()?_0x5f0a8f()?_0xd59bec([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c4844()?(_0xe9c1da[_0xd59bec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd59bec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xdcd219=_0x461eed(_0xd59bec([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe9c1da[_0xd59bec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd59bec([0x74,0x72,0x69,0x61,0x6c])&&(_0xdcd219=_0x461eed(_0xd59bec([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xaee294()):_0xd59bec([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd59bec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd59bec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd59bec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f0a8f(){const _0x7bf072=[_0xd59bec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd59bec([0x74,0x72,0x69,0x61,0x6c])][_0xd59bec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe9c1da[_0xd59bec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41811d/0x3e8:0xe10*_0x2e44d5;return _0xe9c1da[_0xd59bec([0x65,0x78,0x70])]<_0x7bf072;}function _0x446ad4(){const _0x243736=_0xe9c1da[_0xd59bec([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x243736&&(!!_0x243736[_0xd59bec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd59bec([0x2a]))||!!_0x243736[_0xd59bec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd59bec([0x4c,0x48])));}function _0x2c4844(){const _0x2b4163=_0xe9c1da[_0xd59bec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b4163||0x0==_0x2b4163[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e61b5}=new URL(window[_0xd59bec([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b4163[_0xd59bec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e61b5))return!0x0;const _0xfe239a=_0x1e61b5[_0xd59bec([0x73,0x70,0x6c,0x69,0x74])](_0xd59bec([0x2e]));return _0x2b4163[_0xd59bec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26bdf7=>_0x26bdf7[_0xd59bec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd59bec([0x2a])))[_0xd59bec([0x6d,0x61,0x70])](_0xed4a87=>_0xed4a87[_0xd59bec([0x73,0x70,0x6c,0x69,0x74])](_0xd59bec([0x2e])))[_0xd59bec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcc890=>_0xcc890[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xfe239a[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd59bec([0x6d,0x61,0x70])](_0x33f22a=>Array(_0xfe239a[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33f22a[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd59bec([0x66,0x69,0x6c,0x6c])](_0x33f22a[0x0]===_0xd59bec([0x2a])?_0xd59bec([0x2a]):'')[_0xd59bec([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33f22a))[_0xd59bec([0x73,0x6f,0x6d,0x65])](_0x508d1c=>_0xfe239a[_0xd59bec([0x65,0x76,0x65,0x72,0x79])]((_0x4cc1aa,_0xaac02f)=>_0x508d1c[_0xaac02f]===_0x4cc1aa||_0x508d1c[_0xaac02f]===_0xd59bec([0x2a])));}function _0xaee294(){return _0xdcd219&&_0x39ffde?new window[(_0xd59bec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e7b6a,_0xee5293)=>{_0xdcd219[_0xd59bec([0x74,0x68,0x65,0x6e])](_0x1e7b6a,_0xee5293),_0x39ffde[_0xd59bec([0x74,0x68,0x65,0x6e])](_0x4ebdfa=>{_0x4ebdfa!=_0xd59bec([0x56,0x61,0x6c,0x69,0x64])&&_0x1e7b6a(_0x4ebdfa);},_0xee5293);}):_0xdcd219||_0x39ffde||_0xd59bec([0x56,0x61,0x6c,0x69,0x64]);}}function _0x588cce(_0x53e7f4,_0x29ac07){return new window[(_0xd59bec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14f01b=>{if(_0xc6fcf5())return _0x14f01b(_0xd59bec([0x56,0x61,0x6c,0x69,0x64]));_0x16bf75(),_0x5353b1[_0xd59bec([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd59bec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x237618=!0x1;const _0x42a478=_0x30ecf0();function _0x551d80(_0x44fcd3){return!!_0x44fcd3&&(typeof _0x44fcd3===_0xd59bec([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44fcd3===_0xd59bec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44fcd3[_0xd59bec([0x74,0x68,0x65,0x6e])]===_0xd59bec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44fcd3[_0xd59bec([0x63,0x61,0x74,0x63,0x68])]===_0xd59bec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x144e57(_0x3f3d7c){_0x128bf0(_0x3f3d7c)[_0xd59bec([0x74,0x68,0x65,0x6e])](_0x2395b8=>{if(!_0x2395b8||_0x2395b8[_0xd59bec([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd59bec([0x6f,0x6b]))return _0xd59bec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9fbc0a(_0x317631(_0x42a478+_0x29ac07))!=_0x2395b8[_0xd59bec([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd59bec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd59bec([0x56,0x61,0x6c,0x69,0x64]);})[_0xd59bec([0x74,0x68,0x65,0x6e])](_0x199580=>(_0x5c699e(),_0x199580),()=>{const _0x5182a5=_0x2386a0();return null==_0x5182a5?(_0x5c699e(),_0xd59bec([0x56,0x61,0x6c,0x69,0x64])):_0xd59bec(_0x41811d-_0x5182a5>(0x2df26b9d^_0x2318a5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd59bec([0x74,0x68,0x65,0x6e])](_0x14f01b)[_0xd59bec([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14f01b(_0xd59bec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e354d=0x9c8011d^_0x2318a5;function _0x5c699e(){const _0x7fb272=_0xd59bec([0x6c,0x6c,0x63,0x74,0x2d])+_0x9fbc0a(_0x317631(_0x53e7f4)),_0x5aa440=_0x3e1f5b(_0x9fbc0a(window[_0xd59bec([0x4d,0x61,0x74,0x68])][_0xd59bec([0x63,0x65,0x69,0x6c])](_0x41811d/_0x3e354d)));window[_0xd59bec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd59bec([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7fb272,_0x5aa440);}function _0x2386a0(){const _0x475652=_0xd59bec([0x6c,0x6c,0x63,0x74,0x2d])+_0x9fbc0a(_0x317631(_0x53e7f4)),_0x41c5ba=window[_0xd59bec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd59bec([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x475652);return _0x41c5ba?window[_0xd59bec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e1f5b(_0x41c5ba),0x10)*_0x3e354d:null;}function _0x128bf0(_0x29f602){return new window[(_0xd59bec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fcf5c,_0xb25c89)=>{_0x29f602[_0xd59bec([0x74,0x68,0x65,0x6e])](_0x3fcf5c,_0xb25c89),window[_0xd59bec([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb25c89,0x9ff3b5d^_0x2318a5);});}}_0x5353b1[_0xd59bec([0x6f,0x6e])](_0xd59bec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xbf9a0e,_0x2726c0)=>{if(_0x2726c0[0x0]!=_0x53e7f4)return _0x14f01b(_0xd59bec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2726c0[0x1]={..._0x2726c0[0x1],[_0xd59bec([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42a478};},{[_0xd59bec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd59bec([0x68,0x69,0x67,0x68])}),_0x5353b1[_0xd59bec([0x6f,0x6e])](_0xd59bec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e8085=>{_0x551d80(_0x4e8085[_0xd59bec([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x237618=!0x0,_0x144e57(_0x4e8085[_0xd59bec([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd59bec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd59bec([0x6c,0x6f,0x77])}),_0xae7d0b[_0xd59bec([0x74,0x68,0x65,0x6e])](()=>{_0x237618||_0x14f01b(_0xd59bec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc6fcf5(){return _0x5353b1[_0xd59bec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd59bec([0x76,0x69,0x65,0x77])][_0xd59bec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd59bec([0x61,0x75,0x74,0x6f]);}function _0x16bf75(){_0x5353b1[_0xd59bec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd59bec([0x76,0x69,0x65,0x77])][_0xd59bec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd59bec([0x61,0x75,0x74,0x6f]);}}function _0x461eed(_0x2af689){const _0xc1b728=[new window[(_0xd59bec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12875b=>setTimeout(_0x12875b,0x9f7d151^_0x2318a5)),_0xae7d0b[_0xd59bec([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd59bec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fad75=>{let _0xa8890c=0x0;_0x5353b1[_0xd59bec([0x6d,0x6f,0x64,0x65,0x6c])][_0xd59bec([0x6f,0x6e])](_0xd59bec([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a8a9c,_0x5666a1)=>{_0x5666a1[0x0][_0xd59bec([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa8890c++,_0xa8890c==(0x9feee65^_0x2318a5)&&(_0x1fad75(),_0x4a8a9c[_0xd59bec([0x6f,0x66,0x66])]());});}))];return window[_0xd59bec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd59bec([0x72,0x61,0x63,0x65])](_0xc1b728)[_0xd59bec([0x74,0x68,0x65,0x6e])](()=>_0x2af689);}async function _0x13c07f(){await _0xae7d0b,_0x5353b1[_0xd59bec([0x6d,0x6f,0x64,0x65,0x6c])][_0xd59bec([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x243f27,_0x5353b1[_0xd59bec([0x6d,0x6f,0x64,0x65,0x6c])][_0xd59bec([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x243f27,_0x5353b1[_0xd59bec([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd59bec([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b724a(_0x476df8){const _0x4fbb35=_0x283f3e();_0x5353b1[_0x4fbb35]=_0xd59bec([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x476df8,_0x476df8!=_0xd59bec([0x56,0x61,0x6c,0x69,0x64])&&_0x13c07f();}function _0x283f3e(){const _0x70c3ec=window[_0xd59bec([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd59bec([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd59bec([0x6e,0x6f,0x77])]())[_0xd59bec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd59bec([0x2e]),'');let _0x13244b=_0xd59bec([0x69]);for(let _0x2ff7d5=0x0;_0x2ff7d5<_0x70c3ec[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ff7d5+=0x2){let _0x4164e3=window[_0xd59bec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x70c3ec[_0xd59bec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ff7d5,_0x2ff7d5+0x2));_0x4164e3>=_0x10dcc6[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4164e3-=_0x10dcc6[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13244b+=_0x10dcc6[_0x4164e3];}return _0x13244b;}function _0x3cc9f1(){const _0xe12d38=_0x51f780[_0xd59bec([0x73,0x70,0x6c,0x69,0x74])](_0xd59bec([0x2e]));if(0x3!=_0xe12d38[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56ba85(_0xe12d38[0x1]);function _0x56ba85(_0x119f24){const _0xdd4c97=_0x196484(_0x119f24);return _0xdd4c97&&_0x1dcd8b()?_0xdd4c97:null;function _0x1dcd8b(){const _0x4172cd=_0xdd4c97[_0xd59bec([0x6a,0x74,0x69])],_0x3cabd3=window[_0xd59bec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4172cd[_0xd59bec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4172cd[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d582b={..._0xdd4c97,[_0xd59bec([0x6a,0x74,0x69])]:_0x4172cd[_0xd59bec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4172cd[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d582b[_0xd59bec([0x76,0x63])],_0x317631(_0x2d582b)==_0x3cabd3;}}}async function _0x29277f(){let _0x34ba6f=!0x0;try{const _0x3eb8a2=_0x51f780[_0xd59bec([0x73,0x70,0x6c,0x69,0x74])](_0xd59bec([0x2e])),[_0x1cdaea,_0x54169c,_0x189e1d]=_0x3eb8a2;return _0x303b95(_0x1cdaea),await _0x431bf9(_0x1cdaea,_0x54169c,_0x189e1d),_0x34ba6f;}catch{return!0x1;}function _0x303b95(_0x328421){const _0x1595af=_0x196484(_0x328421);_0x1595af&&_0x1595af[_0xd59bec([0x61,0x6c,0x67])]==_0xd59bec([0x45,0x53,0x32,0x35,0x36])||(_0x34ba6f=!0x1);}async function _0x431bf9(_0x207d4f,_0x434460,_0x56b5ac){const _0x5185b6=window[_0xd59bec([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd59bec([0x66,0x72,0x6f,0x6d])](_0x384a04(_0x56b5ac),_0x49db4e=>_0x49db4e[_0xd59bec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x28d208=new window[(_0xd59bec([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd59bec([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x207d4f+_0xd59bec([0x2e])+_0x434460),_0x1d6fe0=window[_0xd59bec([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd59bec([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d6fe0)return;const _0x50de7c=await _0x1d6fe0[_0xd59bec([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd59bec([0x6a,0x77,0x6b]),_0x54cbf0,{[_0xd59bec([0x6e,0x61,0x6d,0x65])]:_0xd59bec([0x45,0x43,0x44,0x53,0x41]),[_0xd59bec([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd59bec([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd59bec([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d6fe0[_0xd59bec([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd59bec([0x6e,0x61,0x6d,0x65])]:_0xd59bec([0x45,0x43,0x44,0x53,0x41]),[_0xd59bec([0x68,0x61,0x73,0x68])]:{[_0xd59bec([0x6e,0x61,0x6d,0x65])]:_0xd59bec([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50de7c,_0x5185b6,_0x28d208)||(_0x34ba6f=!0x1);}}function _0x196484(_0x3a192a){return _0x3a192a[_0xd59bec([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd59bec([0x65,0x79]))?JSON[_0xd59bec([0x70,0x61,0x72,0x73,0x65])](_0x384a04(_0x3a192a)):null;}function _0x384a04(_0x39c392){return window[_0xd59bec([0x61,0x74,0x6f,0x62])](_0x39c392[_0xd59bec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd59bec([0x2b]))[_0xd59bec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd59bec([0x2f])));}function _0x317631(_0x952e1d){let _0x5ee884=0x1505;function _0x3b3e50(_0x4eca5e){for(let _0x4bff9c=0x0;_0x4bff9c<_0x4eca5e[_0xd59bec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bff9c++){const _0x29f54e=_0x4eca5e[_0xd59bec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bff9c);_0x5ee884=(_0x5ee884<<0x5)+_0x5ee884+_0x29f54e,_0x5ee884&=_0x5ee884;}}function _0x2a023a(_0xa2475a){Array[_0xd59bec([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa2475a)?_0xa2475a[_0xd59bec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a023a):_0xa2475a&&typeof _0xa2475a==_0xd59bec([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd59bec([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa2475a)[_0xd59bec([0x73,0x6f,0x72,0x74])]()[_0xd59bec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d0c5f,_0x10f31f])=>{_0x3b3e50(_0x4d0c5f),_0x2a023a(_0x10f31f);}):_0x3b3e50(window[_0xd59bec([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa2475a));}return _0x2a023a(_0x952e1d),_0x5ee884>>>0x0;}function _0x9fbc0a(_0x20f88f){return _0x20f88f[_0xd59bec([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd59bec([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd59bec([0x30]));}function _0x3e1f5b(_0x57c160){return _0x57c160[_0xd59bec([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd59bec([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd59bec([0x6a,0x6f,0x69,0x6e])]('');}function _0x243f27(){}function _0xd59bec(_0x2c60e0){return _0x2c60e0['map'](_0x128021=>String['fromCharCode'](_0x128021))['join']('');}_0x3b724a(await _0x331478());}(this);}['_validateConfig'](){const _0x808255=this['editor'];if(!_0x808255['config']['get']('lineHeight.supportAllValues'))return;const _0x45787f=_0x808255['config']['get']('lineHeight.options')['filter'](_0x34b459=>'string'==typeof _0x34b459&&(!f(_0x34b459)&&isNaN(Number(_0x34b459))));if(_0x45787f['length'])throw new _0x288585('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x45787f});}['_prepareAnyValueConverters'](){const _0x5ee734=this['editor'],_0x3d1126=this['editor']['config']['get']('lineHeight.defaultValue');_0x5ee734['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x32057e=>String(_0x32057e)===String(_0x3d1126)?null:{'key':'style','value':{'line-height':_0x32057e}}}),_0x5ee734['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x27b11a=>{let _0x2ae9c7=_0x27b11a['getStyle']('line-height');return _0x12ac2f(_0x2ae9c7)&&(_0x2ae9c7=String(Number(_0x2ae9c7['slice'](0x0,-0x1))/0x64)),String(_0x2ae9c7)===String(_0x3d1126)?null:_0x2ae9c7;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3e262d=this['editor'],_0xd45d8a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5cc54f=function(_0xf7cfa9,_0x297ff1){const _0x23d2ed={'model':{'key':_0xf7cfa9,'values':[]},'view':{}};for(const _0x3c1562 of _0x297ff1)'class'===_0x3c1562['view']?.['key']?(_0x23d2ed['model']['values']['push'](_0x3c1562['model']),_0x23d2ed['view'][_0x3c1562['model']]={'key':'class','value':_0x3c1562['view']['value']}):(_0x23d2ed['model']['values']['push'](_0x3c1562['model']),_0x23d2ed['view'][_0x3c1562['model']]={'key':'style','value':'line-height:'+_0x3c1562['model']+';'});return _0x23d2ed;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4d8912=>_0x4d8912['model']));_0x3e262d['conversion']['attributeToAttribute'](_0x5cc54f),_0x3e262d['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x291127=>{let _0x2cec31=_0x291127['getStyle']('line-height');return _0x12ac2f(_0x2cec31)&&(_0x2cec31=String(Number(_0x2cec31['slice'](0x0,-0x1))/0x64)),_0x2cec31===String(_0xd45d8a)?null:_0x5cc54f['model']['values']['includes'](_0x2cec31)?_0x2cec31:null;}}});}}class r extends _0xe5b445{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x14d9d1={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x14d9d1),this['_registerMenuBarComponent'](_0x14d9d1),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xea90ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2d90de;for(const _0x1de098 in _0xea90ab){const _0x8080f7=_0x1de098,_0x40eded=_0xea90ab[_0x8080f7];if('lineHeightLicenseKeyValid'==_0x40eded||'lineHeightLicenseKeyInvalid'==_0x40eded||'lineHeightLicenseKeyExpired'==_0x40eded||'lineHeightLicenseKeyDomainLimit'==_0x40eded||'lineHeightLicenseKeyNotAllowed'==_0x40eded||'lineHeightLicenseKeyEvaluationLimit'==_0x40eded||'lineHeightLicenseKeyTrialLimit'==_0x40eded||'lineHeightLicenseKeyUsageLimit'==_0x40eded){delete _0xea90ab[_0x8080f7],_0x2d90de=_0x40eded,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2d90de&&_0xea90ab['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2d90de&&_0xea90ab['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2d90de&&_0xea90ab['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2d90de&&_0xea90ab['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2d90de&&_0xea90ab['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2d90de&&_0xea90ab['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2d90de&&_0xea90ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5affeb=this['editor'],t=_0x5affeb['t'],_0x2ecf9a=_0x5affeb['config']['get']('lineHeight'),_0xf30d30={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2ecf9a)['map'](_0x44f58d=>{const _0x210b7b=_0xf30d30[_0x44f58d['title']];return _0x210b7b&&_0x210b7b!=_0x44f58d['title']&&(_0x44f58d=Object['assign']({},_0x44f58d,{'title':_0x210b7b})),_0x44f58d;});}['_prepareListOptions'](){const _0x41100c=this['editor']['commands']['get']('lineHeight'),_0x25e761=this['editor']['config']['get']('lineHeight.defaultValue'),_0x121087=this['_getLocalizedLineHeightOptions'](),_0x43f5e5=new _0x528030(),_0x52da04=_0x4de542=>'default'===_0x4de542||String(_0x25e761)===_0x4de542;for(const _0x118284 of _0x121087){const _0x4557e3={'type':'button','model':new _0x137c07({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x118284['title'],'withText':!0x0})};_0x52da04(_0x118284['model'])?(_0x4557e3['model']['bind']('isOn')['to'](_0x41100c,'value',_0x358422=>!_0x358422),_0x4557e3['model']['commandParam']=void 0x0):(_0x4557e3['model']['bind']('isOn')['to'](_0x41100c,'value',_0x542107=>_0x542107===_0x118284['model']),_0x4557e3['model']['commandParam']=_0x118284['model']),_0x43f5e5['add'](_0x4557e3);}if(this['_shouldRenderCustomValueOption']()){const _0x410ea6=this['_getCustomValueOptionDefinition'](_0x121087);_0x43f5e5['add'](_0x410ea6);}return _0x43f5e5;}['_getCustomValueOptionDefinition'](_0x3c4132){const _0x2e8efc=this['editor'],t=_0x2e8efc['t'],_0x1d4545=_0x2e8efc['commands']['get']('lineHeight'),_0x1d60f1=_0x3c4132['map'](_0x53d415=>_0x53d415['model']),_0x29d3ef={'type':'button','model':new _0x137c07({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x29d3ef['model']['bind']('commandParam')['to'](_0x1d4545,'value'),_0x29d3ef['model']['bind']('isOn')['to'](_0x1d4545,'value',_0x3f337e=>!!_0x3f337e&&!_0x1d60f1['includes'](String(_0x3f337e))),_0x29d3ef['model']['bind']('label')['to'](_0x1d4545,'value',_0x1a9315=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1a9315))),_0x29d3ef;}['_registerToolbarComponent']({accessibleLabel:_0x48bc04,options:_0x3ec659}){const _0x2cbabd=this['editor'],_0x36e21d=_0x2cbabd['commands']['get']('lineHeight');_0x2cbabd['ui']['componentFactory']['add']('lineHeight',_0x16f9cb=>{const _0x3b420d=_0xfb94a5(_0x16f9cb);return _0x37df0e(_0x3b420d,_0x3ec659,{'role':'menu','ariaLabel':_0x48bc04}),_0x3b420d['buttonView']['set']({'label':_0x48bc04,'tooltip':!0x0,'icon':_0x44bf1c}),_0x3b420d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3b420d['bind']('isEnabled')['to'](_0x36e21d),this['listenTo'](_0x3b420d,'execute',_0x4dc43f=>{_0x2cbabd['execute'](_0x4dc43f['source']['commandName'],{'value':_0x4dc43f['source']['commandParam']}),_0x2cbabd['editing']['view']['focus']();}),_0x3b420d['once']('change:isOpen',()=>{const _0x10994f=_0x3b420d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3b420d,_0x3ec659,_0x10994f);}),_0x3b420d;});}['_registerMenuBarComponent']({accessibleLabel:_0x2da5dc,options:_0x4b6bfe}){const _0x34ae47=this['editor'],_0x4aa041=_0x34ae47['commands']['get']('lineHeight');_0x34ae47['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1b7374=>{const _0x494939=new _0x5b5e07(_0x1b7374);_0x494939['buttonView']['set']({'label':_0x2da5dc,'icon':_0x44bf1c}),_0x494939['bind']('isEnabled')['to'](_0x4aa041);const _0x404887=new _0xf9c53e(_0x1b7374);for(const _0x3dbc87 of _0x4b6bfe){const _0x106b63=new _0x405c89(_0x1b7374,_0x494939),_0x38062d=new _0x53da08(_0x1b7374);_0x38062d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x38062d['bind'](...Object['keys'](_0x3dbc87['model']))['to'](_0x3dbc87['model']),_0x38062d['delegate']('execute')['to'](_0x494939),_0x38062d['on']('execute',()=>{_0x34ae47['execute'](_0x3dbc87['model']['commandName'],{'value':_0x3dbc87['model']['commandParam']}),_0x34ae47['editing']['view']['focus']();}),_0x106b63['children']['add'](_0x38062d),_0x404887['items']['add'](_0x106b63);}return _0x494939['panelView']['children']['add'](_0x404887),this['_attachCustomOptionVisibilityHandler'](_0x494939,_0x4b6bfe,_0x404887),_0x494939;});}['_attachCustomOptionVisibilityHandler'](_0x46c07c,_0x3cdf06,_0x5edfc0){if(!this['_shouldRenderCustomValueOption']())return;const _0x5bbdba=()=>{if(!_0x46c07c['isOpen'])return;_0x5edfc0['items']['last']['isVisible']=Boolean(_0x3cdf06['last']['model']['isOn']);};_0x5bbdba(),_0x46c07c['on']('change:isOpen',()=>{_0x5bbdba();});}}class k extends _0xe5b445{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.12",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
21
|
-
"ckeditor5": "46.0.1-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.12",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.12",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.12",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.12",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.12",
|
|
21
|
+
"ckeditor5": "46.0.1-alpha.12"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2725da=_0x233b;(function(_0x5b341e,_0x165898){const _0x284a32=_0x233b,_0x5a0fec=_0x5b341e();while(!![]){try{const _0x4d1fcf=parseInt(_0x284a32(0x98))/0x1+parseInt(_0x284a32(0x9e))/0x2+parseInt(_0x284a32(0x8d))/0x3*(-parseInt(_0x284a32(0x9f))/0x4)+-parseInt(_0x284a32(0xae))/0x5*(parseInt(_0x284a32(0xa7))/0x6)+-parseInt(_0x284a32(0xbb))/0x7*(parseInt(_0x284a32(0xba))/0x8)+-parseInt(_0x284a32(0xb2))/0x9+parseInt(_0x284a32(0xab))/0xa;if(_0x4d1fcf===_0x165898)break;else _0x5a0fec['push'](_0x5a0fec['shift']());}catch(_0x118b95){_0x5a0fec['push'](_0x5a0fec['shift']());}}}(_0xa3ea,0x25c4a));import{Plugin as _0x2f74c8}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x9904f0}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xc8876f}from'ckeditor5/src/engine.js';function _0xa3ea(){const _0x341752=['init','upcast','3158220cwfHKK','line-height-invalid-use-of-named-presets','for','245dAwYlI','lineHeight.supportAllValues','extend','get','2035287lMCNRt','conversion','lineHeight.defaultValue','$block','lineHeight','string','afterInit','slice','56120SblqJf','21VZuwsB','attributeToAttribute','setAttributeProperties','length','includes','schema','map','define','49890dLJNQE','isOfficialPlugin','default','downcast','filter','pluginName','editor','_prepareAnyValueConverters','values','model','_validateConfig','68829zEgAWQ','_preparePredefinedConverters','join','isPremiumPlugin','lineHeight.options','LineHeightEditing','526304zyxQNC','28rZDnoH','style','add','line-height','getStyle','fromCharCode','config','href','15858yIpnrA','commands'];_0xa3ea=function(){return _0x341752;};return _0xa3ea();}import{uid as _0x430cfd,CKEditorError as _0x3567c8}from'ckeditor5/src/utils.js';function _0x233b(_0x4e7efc,_0x4a364d){const _0xa3ea19=_0xa3ea();return _0x233b=function(_0x233ba2,_0x68f318){_0x233ba2=_0x233ba2-0x8d;let _0x72901a=_0xa3ea19[_0x233ba2];return _0x72901a;},_0x233b(_0x4e7efc,_0x4a364d);}import{buildDefinition as _0xc58c1e,isLineHeightDefaultValue as _0x11ea11,normalizeOptions as _0x208a82}from'./utils.js';export class LineHeightEditing extends _0x2f74c8{static get[_0x2725da(0x92)](){const _0x384e93=_0x2725da;return _0x384e93(0x9d);}static get[_0x2725da(0x8e)](){return!0x0;}static get[_0x2725da(0x9b)](){return!0x0;}constructor(_0x276b41){const _0x4bd872=_0x2725da;super(_0x276b41),_0x276b41[_0x4bd872(0xa5)][_0x4bd872(0xc2)](_0x4bd872(0xb6),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4bd872(0x8f),0x2,2.5,0x3]});}[_0x2725da(0xa9)](){const _0x3a4133=_0x2725da,_0x4b26e8=this[_0x3a4133(0x93)];this[_0x3a4133(0x97)](),_0x4b26e8[_0x3a4133(0x96)][_0x3a4133(0xc0)][_0x3a4133(0xb0)](_0x3a4133(0xb5),{'allowAttributes':_0x3a4133(0xb6)}),_0x4b26e8[_0x3a4133(0x96)][_0x3a4133(0xc0)][_0x3a4133(0xbd)](_0x3a4133(0xb6),{'isFormatting':!0x0}),_0x4b26e8[_0x3a4133(0xa8)][_0x3a4133(0xa1)](_0x3a4133(0xb6),new _0x9904f0(_0x4b26e8)),this[_0x3a4133(0x93)][_0x3a4133(0xa5)][_0x3a4133(0xb1)](_0x3a4133(0xaf))?this[_0x3a4133(0x94)]():this[_0x3a4133(0x99)]();}[_0x2725da(0xb8)](){!async function(_0x416d58){const _0xa8b70e=_0x2e43([0x56,0x4e,0x6d,0x49,0x48,0x50,0x6a,0x70,0x32,0x76,0x68,0x42,0x38,0x6e,0x6c,0x39,0x52,0x7a,0x44,0x5a,0x66,0x72,0x74,0x30,0x77,0x65,0x71,0x34,0x69,0x43,0x59,0x4a,0x55,0x36,0x4c,0x33,0x67,0x75,0x51,0x6b,0x4b,0x78,0x47,0x4f,0x63,0x54,0x37,0x58,0x4d,0x41,0x57,0x79,0x31,0x73,0x6f,0x46,0x64,0x61,0x45,0x62,0x35,0x53]),_0x5b69f9=0x5277007b,_0x3bd315=0x52706fb3^_0x5b69f9,_0x12bd55=window[_0x2e43([0x44,0x61,0x74,0x65])][_0x2e43([0x6e,0x6f,0x77])](),_0x33ef2d=_0x416d58[_0x2e43([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x643443=new window[(_0x2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13bac9=>{_0x33ef2d[_0x2e43([0x6f,0x6e,0x63,0x65])](_0x2e43([0x72,0x65,0x61,0x64,0x79]),_0x13bac9);}),_0x27a984={[_0x2e43([0x6b,0x74,0x79])]:_0x2e43([0x45,0x43]),[_0x2e43([0x75,0x73,0x65])]:_0x2e43([0x73,0x69,0x67]),[_0x2e43([0x63,0x72,0x76])]:_0x2e43([0x50,0x2d,0x32,0x35,0x36]),[_0x2e43([0x78])]:_0x2e43([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]),[_0x2e43([0x79])]:_0x2e43([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]),[_0x2e43([0x61,0x6c,0x67])]:_0x2e43([0x45,0x53,0x32,0x35,0x36])},_0x550fcf=_0x33ef2d[_0x2e43([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e43([0x67,0x65,0x74])](_0x2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1154b7(){let _0x2ab504,_0x238323=null,_0x32a4fb=null;try{if(_0x550fcf==_0x2e43([0x47,0x50,0x4c]))return _0x2e43([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ab504=_0x5dbb50(),!_0x2ab504)return _0x2e43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ab504[_0x2e43([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32a4fb=_0x2216e7(_0x2ab504[_0x2e43([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ab504[_0x2e43([0x6a,0x74,0x69])])),await _0x2dd50e()?_0x5cbf6d()?_0x2681c3()?_0x2e43([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bc080()?(_0x2ab504[_0x2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e43([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x238323=_0x1d0033(_0x2e43([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ab504[_0x2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e43([0x74,0x72,0x69,0x61,0x6c])&&(_0x238323=_0x1d0033(_0x2e43([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x97a99()):_0x2e43([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e43([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2681c3(){const _0x123131=[_0x2e43([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e43([0x74,0x72,0x69,0x61,0x6c])][_0x2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ab504[_0x2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12bd55/0x3e8:0xe10*_0x3bd315;return _0x2ab504[_0x2e43([0x65,0x78,0x70])]<_0x123131;}function _0x5cbf6d(){const _0x3634d2=_0x2ab504[_0x2e43([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3634d2&&(!!_0x3634d2[_0x2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e43([0x2a]))||!!_0x3634d2[_0x2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e43([0x4c,0x48])));}function _0x2bc080(){const _0x3500af=_0x233b,_0x51779e=_0x2ab504[_0x2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51779e||0x0==_0x51779e[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20a3ae}=new URL(window[_0x2e43([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3500af(0xa6)]);if(_0x51779e[_0x2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a3ae))return!0x0;const _0x3cb851=_0x20a3ae[_0x2e43([0x73,0x70,0x6c,0x69,0x74])](_0x2e43([0x2e]));return _0x51779e[_0x2e43([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x578371=>_0x578371[_0x2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e43([0x2a])))[_0x2e43([0x6d,0x61,0x70])](_0x5ef3c8=>_0x5ef3c8[_0x2e43([0x73,0x70,0x6c,0x69,0x74])](_0x2e43([0x2e])))[_0x2e43([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fb4cd=>_0x3fb4cd[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3cb851[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e43([0x6d,0x61,0x70])](_0x17f485=>Array(_0x3cb851[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17f485[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e43([0x66,0x69,0x6c,0x6c])](_0x17f485[0x0]===_0x2e43([0x2a])?_0x2e43([0x2a]):'')[_0x2e43([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17f485))[_0x2e43([0x73,0x6f,0x6d,0x65])](_0x54862e=>_0x3cb851[_0x2e43([0x65,0x76,0x65,0x72,0x79])]((_0x2949e4,_0x57fdd5)=>_0x54862e[_0x57fdd5]===_0x2949e4||_0x54862e[_0x57fdd5]===_0x2e43([0x2a])));}function _0x97a99(){return _0x238323&&_0x32a4fb?new window[(_0x2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10076d,_0x3198ad)=>{_0x238323[_0x2e43([0x74,0x68,0x65,0x6e])](_0x10076d,_0x3198ad),_0x32a4fb[_0x2e43([0x74,0x68,0x65,0x6e])](_0x3f276a=>{_0x3f276a!=_0x2e43([0x56,0x61,0x6c,0x69,0x64])&&_0x10076d(_0x3f276a);},_0x3198ad);}):_0x238323||_0x32a4fb||_0x2e43([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2216e7(_0x3cd43c,_0x4ffa88){return new window[(_0x2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58f327=>{if(_0x3498a0())return _0x58f327(_0x2e43([0x56,0x61,0x6c,0x69,0x64]));_0x58a526(),_0x33ef2d[_0x2e43([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8c010=!0x1;const _0x48b04c=_0x430cfd();function _0x5ac0bc(_0x1ae5fb){return!!_0x1ae5fb&&(typeof _0x1ae5fb===_0x2e43([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ae5fb===_0x2e43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ae5fb[_0x2e43([0x74,0x68,0x65,0x6e])]===_0x2e43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ae5fb[_0x2e43([0x63,0x61,0x74,0x63,0x68])]===_0x2e43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe07d3d(_0x96df6b){_0x2e6740(_0x96df6b)[_0x2e43([0x74,0x68,0x65,0x6e])](_0x5612bf=>{if(!_0x5612bf||_0x5612bf[_0x2e43([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e43([0x6f,0x6b]))return _0x2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8e3559(_0x313c0e(_0x48b04c+_0x4ffa88))!=_0x5612bf[_0x2e43([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e43([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e43([0x74,0x68,0x65,0x6e])](_0x42d68f=>(_0xc9b81f(),_0x42d68f),()=>{const _0x3dd2b0=_0x4d5c26();return null==_0x3dd2b0?(_0xc9b81f(),_0x2e43([0x56,0x61,0x6c,0x69,0x64])):_0x2e43(_0x12bd55-_0x3dd2b0>(0x767b847b^_0x5b69f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e43([0x74,0x68,0x65,0x6e])](_0x58f327)[_0x2e43([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58f327(_0x2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1803a3=0x5241eefb^_0x5b69f9;function _0xc9b81f(){const _0x4fe654=_0x2e43([0x6c,0x6c,0x63,0x74,0x2d])+_0x8e3559(_0x313c0e(_0x3cd43c)),_0x108e6a=_0x5b9aa7(_0x8e3559(window[_0x2e43([0x4d,0x61,0x74,0x68])][_0x2e43([0x63,0x65,0x69,0x6c])](_0x12bd55/_0x1803a3)));window[_0x2e43([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e43([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fe654,_0x108e6a);}function _0x4d5c26(){const _0x242551=_0x2e43([0x6c,0x6c,0x63,0x74,0x2d])+_0x8e3559(_0x313c0e(_0x3cd43c)),_0x4ac0db=window[_0x2e43([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e43([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x242551);return _0x4ac0db?window[_0x2e43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b9aa7(_0x4ac0db),0x10)*_0x1803a3:null;}function _0x2e6740(_0x408b42){return new window[(_0x2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6ac76f,_0x11f79a)=>{_0x408b42[_0x2e43([0x74,0x68,0x65,0x6e])](_0x6ac76f,_0x11f79a),window[_0x2e43([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11f79a,0x5276d4bb^_0x5b69f9);});}}_0x33ef2d[_0x2e43([0x6f,0x6e])](_0x2e43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x281942,_0x30bf7f)=>{if(_0x30bf7f[0x0]!=_0x3cd43c)return _0x58f327(_0x2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30bf7f[0x1]={..._0x30bf7f[0x1],[_0x2e43([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48b04c};},{[_0x2e43([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e43([0x68,0x69,0x67,0x68])}),_0x33ef2d[_0x2e43([0x6f,0x6e])](_0x2e43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11f009=>{_0x5ac0bc(_0x11f009[_0x2e43([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8c010=!0x0,_0xe07d3d(_0x11f009[_0x2e43([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e43([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e43([0x6c,0x6f,0x77])}),_0x643443[_0x2e43([0x74,0x68,0x65,0x6e])](()=>{_0x8c010||_0x58f327(_0x2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3498a0(){return _0x33ef2d[_0x2e43([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e43([0x76,0x69,0x65,0x77])][_0x2e43([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e43([0x61,0x75,0x74,0x6f]);}function _0x58a526(){_0x33ef2d[_0x2e43([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e43([0x76,0x69,0x65,0x77])][_0x2e43([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e43([0x61,0x75,0x74,0x6f]);}}function _0x1d0033(_0x1cb2fd){const _0x304f86=[new window[(_0x2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2032b0=>setTimeout(_0x2032b0,0x527e3eb7^_0x5b69f9)),_0x643443[_0x2e43([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fc97f=>{let _0x1f8a07=0x0;_0x33ef2d[_0x2e43([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e43([0x6f,0x6e])](_0x2e43([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9857aa,_0x26261d)=>{_0x26261d[0x0][_0x2e43([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f8a07++,_0x1f8a07==(0x52770183^_0x5b69f9)&&(_0x3fc97f(),_0x9857aa[_0x2e43([0x6f,0x66,0x66])]());});}))];return window[_0x2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e43([0x72,0x61,0x63,0x65])](_0x304f86)[_0x2e43([0x74,0x68,0x65,0x6e])](()=>_0x1cb2fd);}async function _0x49d718(){await _0x643443,_0x33ef2d[_0x2e43([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e43([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fa6c6,_0x33ef2d[_0x2e43([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e43([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fa6c6,_0x33ef2d[_0x2e43([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e43([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x159994(_0x3e5577){const _0x56d75f=_0x1c2abd();_0x33ef2d[_0x56d75f]=_0x2e43([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e5577,_0x3e5577!=_0x2e43([0x56,0x61,0x6c,0x69,0x64])&&_0x49d718();}function _0x1c2abd(){const _0x1792c5=window[_0x2e43([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e43([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e43([0x6e,0x6f,0x77])]())[_0x2e43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e43([0x2e]),'');let _0xd0a32b=_0x2e43([0x56]);for(let _0x36df7c=0x0;_0x36df7c<_0x1792c5[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36df7c+=0x2){let _0x2d0b35=window[_0x2e43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1792c5[_0x2e43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36df7c,_0x36df7c+0x2));_0x2d0b35>=_0xa8b70e[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d0b35-=_0xa8b70e[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd0a32b+=_0xa8b70e[_0x2d0b35];}return _0xd0a32b;}function _0x5dbb50(){const _0x315b43=_0x550fcf[_0x2e43([0x73,0x70,0x6c,0x69,0x74])](_0x2e43([0x2e]));if(0x3!=_0x315b43[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37992e(_0x315b43[0x1]);function _0x37992e(_0x4f5977){const _0x4cb2f2=_0x30998d(_0x4f5977);return _0x4cb2f2&&_0x33e74b()?_0x4cb2f2:null;function _0x33e74b(){const _0xa5604b=_0x4cb2f2[_0x2e43([0x6a,0x74,0x69])],_0x513a66=window[_0x2e43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa5604b[_0x2e43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa5604b[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26af7e={..._0x4cb2f2,[_0x2e43([0x6a,0x74,0x69])]:_0xa5604b[_0x2e43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa5604b[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26af7e[_0x2e43([0x76,0x63])],_0x313c0e(_0x26af7e)==_0x513a66;}}}async function _0x2dd50e(){let _0xefdad2=!0x0;try{const _0x45cb52=_0x550fcf[_0x2e43([0x73,0x70,0x6c,0x69,0x74])](_0x2e43([0x2e])),[_0x5a92b5,_0x5cc29f,_0x206771]=_0x45cb52;return _0x2fcec1(_0x5a92b5),await _0x432ad7(_0x5a92b5,_0x5cc29f,_0x206771),_0xefdad2;}catch{return!0x1;}function _0x2fcec1(_0x59c6f5){const _0x327421=_0x30998d(_0x59c6f5);_0x327421&&_0x327421[_0x2e43([0x61,0x6c,0x67])]==_0x2e43([0x45,0x53,0x32,0x35,0x36])||(_0xefdad2=!0x1);}async function _0x432ad7(_0x18995a,_0x4da93e,_0xdd4e6){const _0x5bcd9d=window[_0x2e43([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e43([0x66,0x72,0x6f,0x6d])](_0xbb5f6b(_0xdd4e6),_0x4632e8=>_0x4632e8[_0x2e43([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x197645=new window[(_0x2e43([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e43([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18995a+_0x2e43([0x2e])+_0x4da93e),_0x49e3a0=window[_0x2e43([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e43([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49e3a0)return;const _0x581dd2=await _0x49e3a0[_0x2e43([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e43([0x6a,0x77,0x6b]),_0x27a984,{[_0x2e43([0x6e,0x61,0x6d,0x65])]:_0x2e43([0x45,0x43,0x44,0x53,0x41]),[_0x2e43([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e43([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e43([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49e3a0[_0x2e43([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e43([0x6e,0x61,0x6d,0x65])]:_0x2e43([0x45,0x43,0x44,0x53,0x41]),[_0x2e43([0x68,0x61,0x73,0x68])]:{[_0x2e43([0x6e,0x61,0x6d,0x65])]:_0x2e43([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x581dd2,_0x5bcd9d,_0x197645)||(_0xefdad2=!0x1);}}function _0x30998d(_0x293bc7){return _0x293bc7[_0x2e43([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e43([0x65,0x79]))?JSON[_0x2e43([0x70,0x61,0x72,0x73,0x65])](_0xbb5f6b(_0x293bc7)):null;}function _0xbb5f6b(_0xc36ceb){return window[_0x2e43([0x61,0x74,0x6f,0x62])](_0xc36ceb[_0x2e43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e43([0x2b]))[_0x2e43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e43([0x2f])));}function _0x313c0e(_0x574f3f){let _0x1fb64e=0x1505;function _0x468e16(_0x2d4daa){for(let _0x577eb2=0x0;_0x577eb2<_0x2d4daa[_0x2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x577eb2++){const _0x440834=_0x2d4daa[_0x2e43([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x577eb2);_0x1fb64e=(_0x1fb64e<<0x5)+_0x1fb64e+_0x440834,_0x1fb64e&=_0x1fb64e;}}function _0x246f6b(_0x437fdb){Array[_0x2e43([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x437fdb)?_0x437fdb[_0x2e43([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x246f6b):_0x437fdb&&typeof _0x437fdb==_0x2e43([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e43([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x437fdb)[_0x2e43([0x73,0x6f,0x72,0x74])]()[_0x2e43([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4bde5a,_0x551afd])=>{_0x468e16(_0x4bde5a),_0x246f6b(_0x551afd);}):_0x468e16(window[_0x2e43([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x437fdb));}return _0x246f6b(_0x574f3f),_0x1fb64e>>>0x0;}function _0x8e3559(_0x3b1dac){return _0x3b1dac[_0x2e43([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e43([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e43([0x30]));}function _0x5b9aa7(_0x5e4fe4){return _0x5e4fe4[_0x2e43([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e43([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e43([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fa6c6(){}function _0x2e43(_0x2ccc16){const _0xc50bf1=_0x233b;return _0x2ccc16[_0xc50bf1(0xc1)](_0x366653=>String[_0xc50bf1(0xa4)](_0x366653))[_0xc50bf1(0x9a)]('');}_0x159994(await _0x1154b7());}(this);}[_0x2725da(0x97)](){const _0x533484=_0x2725da,_0x1bd11d=this[_0x533484(0x93)];if(!_0x1bd11d[_0x533484(0xa5)][_0x533484(0xb1)](_0x533484(0xaf)))return;const _0x5c6ea8=_0x1bd11d[_0x533484(0xa5)][_0x533484(0xb1)](_0x533484(0x9c))[_0x533484(0x91)](_0x5b74ae=>_0x533484(0xb7)==typeof _0x5b74ae&&(!_0x11ea11(_0x5b74ae)&&isNaN(Number(_0x5b74ae))));if(_0x5c6ea8[_0x533484(0xbe)])throw new _0x3567c8(_0x533484(0xac),null,{'namedPresets':_0x5c6ea8});}[_0x2725da(0x94)](){const _0x5fa93b=_0x2725da,_0xb347ac=this[_0x5fa93b(0x93)],_0x3a1035=this[_0x5fa93b(0x93)][_0x5fa93b(0xa5)][_0x5fa93b(0xb1)](_0x5fa93b(0xb4));_0xb347ac[_0x5fa93b(0xb3)][_0x5fa93b(0xad)](_0x5fa93b(0x90))[_0x5fa93b(0xbc)]({'model':{'key':_0x5fa93b(0xb6)},'view':_0x1769c2=>String(_0x1769c2)===String(_0x3a1035)?null:{'key':_0x5fa93b(0xa0),'value':{'line-height':_0x1769c2}}}),_0xb347ac[_0x5fa93b(0xb3)][_0x5fa93b(0xad)](_0x5fa93b(0xaa))[_0x5fa93b(0xbc)]({'model':{'key':_0x5fa93b(0xb6),'value':_0x47e045=>{const _0x26825e=_0x5fa93b;let _0xac3480=_0x47e045[_0x26825e(0xa3)](_0x26825e(0xa2));return _0xc8876f(_0xac3480)&&(_0xac3480=String(Number(_0xac3480[_0x26825e(0xb9)](0x0,-0x1))/0x64)),String(_0xac3480)===String(_0x3a1035)?null:_0xac3480;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2725da(0x99)](){const _0x1e711c=_0x2725da,_0x10714e=this[_0x1e711c(0x93)],_0x4a383f=this[_0x1e711c(0x93)][_0x1e711c(0xa5)][_0x1e711c(0xb1)](_0x1e711c(0xb4)),_0xb4f5af=_0x208a82(this[_0x1e711c(0x93)][_0x1e711c(0xa5)][_0x1e711c(0xb1)](_0x1e711c(0xb6)))[_0x1e711c(0x91)](_0x68424c=>_0x68424c[_0x1e711c(0x96)]),_0x391fc0=_0xc58c1e(_0x1e711c(0xb6),_0xb4f5af);_0x10714e[_0x1e711c(0xb3)][_0x1e711c(0xbc)](_0x391fc0),_0x10714e[_0x1e711c(0xb3)][_0x1e711c(0xad)](_0x1e711c(0xaa))[_0x1e711c(0xbc)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1e711c(0xb6),'value':_0x2e5eef=>{const _0x4932ef=_0x1e711c;let _0x363882=_0x2e5eef[_0x4932ef(0xa3)](_0x4932ef(0xa2));return _0xc8876f(_0x363882)&&(_0x363882=String(Number(_0x363882[_0x4932ef(0xb9)](0x0,-0x1))/0x64)),_0x363882===String(_0x4a383f)?null:_0x391fc0[_0x4932ef(0x96)][_0x4932ef(0x95)][_0x4932ef(0xbf)](_0x363882)?_0x363882:null;}}});}}
|
|
23
|
+
const _0x3f1c2d=_0x5480;(function(_0x2925c3,_0x16d883){const _0xf73e63=_0x5480,_0x2cfc7d=_0x2925c3();while(!![]){try{const _0x4de61f=parseInt(_0xf73e63(0xde))/0x1+-parseInt(_0xf73e63(0xef))/0x2*(-parseInt(_0xf73e63(0xf5))/0x3)+parseInt(_0xf73e63(0xd7))/0x4+-parseInt(_0xf73e63(0xe4))/0x5+-parseInt(_0xf73e63(0xda))/0x6+parseInt(_0xf73e63(0xe1))/0x7*(parseInt(_0xf73e63(0xfb))/0x8)+parseInt(_0xf73e63(0xe9))/0x9*(-parseInt(_0xf73e63(0xe3))/0xa);if(_0x4de61f===_0x16d883)break;else _0x2cfc7d['push'](_0x2cfc7d['shift']());}catch(_0x3176f3){_0x2cfc7d['push'](_0x2cfc7d['shift']());}}}(_0x3fdb,0xd4fe9));import{Plugin as _0x553db6}from'ckeditor5/src/core.js';function _0x3fdb(){const _0x55a836=['$block','288WVOUkA','string','isOfficialPlugin','includes','slice','add','1265896IrtWSB','lineHeight.options','extend','lineHeight.supportAllValues','style','for','6QbQqDT','filter','length','_prepareAnyValueConverters','editor','lineHeight.defaultValue','24trjZda','lineHeight','define','downcast','setAttributeProperties','conversion','map','isPremiumPlugin','line-height-invalid-use-of-named-presets','_validateConfig','schema','config','model','href','init','default','fromCharCode','_preparePredefinedConverters','2603644spebRz','afterInit','LineHeightEditing','10104348RrIozP','getStyle','commands','values','280831IjyGAK','get','join','3152338sITmzT','pluginName','243170tCyLBI','1070065sEdrFh','upcast','line-height','attributeToAttribute'];_0x3fdb=function(){return _0x55a836;};return _0x3fdb();}import{LineHeightCommand as _0x42d551}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x6330e0}from'ckeditor5/src/engine.js';import{uid as _0x377df1,CKEditorError as _0x3fe72f}from'ckeditor5/src/utils.js';function _0x5480(_0x295a7f,_0x71e3f7){const _0x3fdb0e=_0x3fdb();return _0x5480=function(_0x5480ee,_0x3d72ef){_0x5480ee=_0x5480ee-0xd5;let _0x2660f2=_0x3fdb0e[_0x5480ee];return _0x2660f2;},_0x5480(_0x295a7f,_0x71e3f7);}import{buildDefinition as _0x3bba60,isLineHeightDefaultValue as _0x5d669b,normalizeOptions as _0x2f1c05}from'./utils.js';export class LineHeightEditing extends _0x553db6{static get[_0x3f1c2d(0xe2)](){const _0x30bdd6=_0x3f1c2d;return _0x30bdd6(0xd9);}static get[_0x3f1c2d(0xeb)](){return!0x0;}static get[_0x3f1c2d(0x102)](){return!0x0;}constructor(_0x2a12b5){const _0x31c340=_0x3f1c2d;super(_0x2a12b5),_0x2a12b5[_0x31c340(0x106)][_0x31c340(0xfd)](_0x31c340(0xfc),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x31c340(0x10a),0x2,2.5,0x3]});}[_0x3f1c2d(0x109)](){const _0x38071e=_0x3f1c2d,_0x404a07=this[_0x38071e(0xf9)];this[_0x38071e(0x104)](),_0x404a07[_0x38071e(0x107)][_0x38071e(0x105)][_0x38071e(0xf1)](_0x38071e(0xe8),{'allowAttributes':_0x38071e(0xfc)}),_0x404a07[_0x38071e(0x107)][_0x38071e(0x105)][_0x38071e(0xff)](_0x38071e(0xfc),{'isFormatting':!0x0}),_0x404a07[_0x38071e(0xdc)][_0x38071e(0xee)](_0x38071e(0xfc),new _0x42d551(_0x404a07)),this[_0x38071e(0xf9)][_0x38071e(0x106)][_0x38071e(0xdf)](_0x38071e(0xf2))?this[_0x38071e(0xf8)]():this[_0x38071e(0xd6)]();}[_0x3f1c2d(0xd8)](){!async function(_0x41aef7){const _0x414d0f=_0x4b61bf([0x69,0x74,0x39,0x45,0x54,0x61,0x32,0x5a,0x6a,0x77,0x70,0x34,0x51,0x7a,0x62,0x79,0x57,0x6b,0x53,0x6f,0x36,0x48,0x41,0x63,0x78,0x76,0x6d,0x4f,0x43,0x44,0x4a,0x58,0x52,0x67,0x31,0x66,0x71,0x6e,0x46,0x72,0x47,0x64,0x30,0x68,0x4d,0x42,0x38,0x4c,0x65,0x56,0x4e,0x4b,0x49,0x55,0x33,0x50,0x75,0x35,0x59,0x37,0x6c,0x73]),_0x49909e=0x9feef9d,_0x4edefb=0x9f98065^_0x49909e,_0x1565fb=window[_0x4b61bf([0x44,0x61,0x74,0x65])][_0x4b61bf([0x6e,0x6f,0x77])](),_0x186bd6=_0x41aef7[_0x4b61bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a5e6a=new window[(_0x4b61bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a103a=>{_0x186bd6[_0x4b61bf([0x6f,0x6e,0x63,0x65])](_0x4b61bf([0x72,0x65,0x61,0x64,0x79]),_0x4a103a);}),_0x50bb94={[_0x4b61bf([0x6b,0x74,0x79])]:_0x4b61bf([0x45,0x43]),[_0x4b61bf([0x75,0x73,0x65])]:_0x4b61bf([0x73,0x69,0x67]),[_0x4b61bf([0x63,0x72,0x76])]:_0x4b61bf([0x50,0x2d,0x32,0x35,0x36]),[_0x4b61bf([0x78])]:_0x4b61bf([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]),[_0x4b61bf([0x79])]:_0x4b61bf([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]),[_0x4b61bf([0x61,0x6c,0x67])]:_0x4b61bf([0x45,0x53,0x32,0x35,0x36])},_0x46183d=_0x186bd6[_0x4b61bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b61bf([0x67,0x65,0x74])](_0x4b61bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59b767(){let _0x13798b,_0x5b2efe=null,_0x2d528e=null;try{if(_0x46183d==_0x4b61bf([0x47,0x50,0x4c]))return _0x4b61bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13798b=_0x19d767(),!_0x13798b)return _0x4b61bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13798b[_0x4b61bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d528e=_0x4256b8(_0x13798b[_0x4b61bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13798b[_0x4b61bf([0x6a,0x74,0x69])])),await _0x1c891b()?_0x406389()?_0x368ad3()?_0x4b61bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5711e6()?(_0x13798b[_0x4b61bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b61bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b2efe=_0x49918a(_0x4b61bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13798b[_0x4b61bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b61bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b2efe=_0x49918a(_0x4b61bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d1377()):_0x4b61bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b61bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b61bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b61bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x368ad3(){const _0x2a05ce=[_0x4b61bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b61bf([0x74,0x72,0x69,0x61,0x6c])][_0x4b61bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13798b[_0x4b61bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1565fb/0x3e8:0xe10*_0x4edefb;return _0x13798b[_0x4b61bf([0x65,0x78,0x70])]<_0x2a05ce;}function _0x406389(){const _0xa021ba=_0x13798b[_0x4b61bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa021ba&&(!!_0xa021ba[_0x4b61bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b61bf([0x2a]))||!!_0xa021ba[_0x4b61bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b61bf([0x4c,0x48])));}function _0x5711e6(){const _0x5d68d0=_0x5480,_0x473687=_0x13798b[_0x4b61bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x473687||0x0==_0x473687[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x583fd8}=new URL(window[_0x4b61bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5d68d0(0x108)]);if(_0x473687[_0x4b61bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x583fd8))return!0x0;const _0x1511f4=_0x583fd8[_0x4b61bf([0x73,0x70,0x6c,0x69,0x74])](_0x4b61bf([0x2e]));return _0x473687[_0x4b61bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39b8fc=>_0x39b8fc[_0x4b61bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b61bf([0x2a])))[_0x4b61bf([0x6d,0x61,0x70])](_0x32ef2c=>_0x32ef2c[_0x4b61bf([0x73,0x70,0x6c,0x69,0x74])](_0x4b61bf([0x2e])))[_0x4b61bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52eeb1=>_0x52eeb1[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1511f4[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b61bf([0x6d,0x61,0x70])](_0x570c63=>Array(_0x1511f4[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x570c63[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b61bf([0x66,0x69,0x6c,0x6c])](_0x570c63[0x0]===_0x4b61bf([0x2a])?_0x4b61bf([0x2a]):'')[_0x4b61bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x570c63))[_0x4b61bf([0x73,0x6f,0x6d,0x65])](_0xd7ecb7=>_0x1511f4[_0x4b61bf([0x65,0x76,0x65,0x72,0x79])]((_0x4b4857,_0x2443a3)=>_0xd7ecb7[_0x2443a3]===_0x4b4857||_0xd7ecb7[_0x2443a3]===_0x4b61bf([0x2a])));}function _0x2d1377(){return _0x5b2efe&&_0x2d528e?new window[(_0x4b61bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd4cc76,_0x1625c0)=>{_0x5b2efe[_0x4b61bf([0x74,0x68,0x65,0x6e])](_0xd4cc76,_0x1625c0),_0x2d528e[_0x4b61bf([0x74,0x68,0x65,0x6e])](_0x48595d=>{_0x48595d!=_0x4b61bf([0x56,0x61,0x6c,0x69,0x64])&&_0xd4cc76(_0x48595d);},_0x1625c0);}):_0x5b2efe||_0x2d528e||_0x4b61bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4256b8(_0x2c6efc,_0x5b45db){return new window[(_0x4b61bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c2ff4=>{if(_0x28087c())return _0x5c2ff4(_0x4b61bf([0x56,0x61,0x6c,0x69,0x64]));_0x427848(),_0x186bd6[_0x4b61bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b61bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a6c17=!0x1;const _0x418018=_0x377df1();function _0x2b3be4(_0x2a8ba5){return!!_0x2a8ba5&&(typeof _0x2a8ba5===_0x4b61bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a8ba5===_0x4b61bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a8ba5[_0x4b61bf([0x74,0x68,0x65,0x6e])]===_0x4b61bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a8ba5[_0x4b61bf([0x63,0x61,0x74,0x63,0x68])]===_0x4b61bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x466f81(_0xda5730){_0x30a5b4(_0xda5730)[_0x4b61bf([0x74,0x68,0x65,0x6e])](_0x18b122=>{if(!_0x18b122||_0x18b122[_0x4b61bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b61bf([0x6f,0x6b]))return _0x4b61bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b2e69(_0x5a5144(_0x418018+_0x5b45db))!=_0x18b122[_0x4b61bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b61bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b61bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b61bf([0x74,0x68,0x65,0x6e])](_0x3ba619=>(_0x315751(),_0x3ba619),()=>{const _0x3bf196=_0x2cb56e();return null==_0x3bf196?(_0x315751(),_0x4b61bf([0x56,0x61,0x6c,0x69,0x64])):_0x4b61bf(_0x1565fb-_0x3bf196>(0x2df26b9d^_0x49909e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b61bf([0x74,0x68,0x65,0x6e])](_0x5c2ff4)[_0x4b61bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c2ff4(_0x4b61bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53d973=0x9c8011d^_0x49909e;function _0x315751(){const _0x5bb771=_0x4b61bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2e69(_0x5a5144(_0x2c6efc)),_0x4d421b=_0x4279d1(_0x3b2e69(window[_0x4b61bf([0x4d,0x61,0x74,0x68])][_0x4b61bf([0x63,0x65,0x69,0x6c])](_0x1565fb/_0x53d973)));window[_0x4b61bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b61bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bb771,_0x4d421b);}function _0x2cb56e(){const _0x42f190=_0x4b61bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2e69(_0x5a5144(_0x2c6efc)),_0x505e2f=window[_0x4b61bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b61bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42f190);return _0x505e2f?window[_0x4b61bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4279d1(_0x505e2f),0x10)*_0x53d973:null;}function _0x30a5b4(_0x5323dd){return new window[(_0x4b61bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x501a65,_0x3456ad)=>{_0x5323dd[_0x4b61bf([0x74,0x68,0x65,0x6e])](_0x501a65,_0x3456ad),window[_0x4b61bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3456ad,0x9ff3b5d^_0x49909e);});}}_0x186bd6[_0x4b61bf([0x6f,0x6e])](_0x4b61bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x165291,_0x190fa3)=>{if(_0x190fa3[0x0]!=_0x2c6efc)return _0x5c2ff4(_0x4b61bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x190fa3[0x1]={..._0x190fa3[0x1],[_0x4b61bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x418018};},{[_0x4b61bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b61bf([0x68,0x69,0x67,0x68])}),_0x186bd6[_0x4b61bf([0x6f,0x6e])](_0x4b61bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20e716=>{_0x2b3be4(_0x20e716[_0x4b61bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a6c17=!0x0,_0x466f81(_0x20e716[_0x4b61bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b61bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b61bf([0x6c,0x6f,0x77])}),_0x5a5e6a[_0x4b61bf([0x74,0x68,0x65,0x6e])](()=>{_0x3a6c17||_0x5c2ff4(_0x4b61bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x28087c(){return _0x186bd6[_0x4b61bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b61bf([0x76,0x69,0x65,0x77])][_0x4b61bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b61bf([0x61,0x75,0x74,0x6f]);}function _0x427848(){_0x186bd6[_0x4b61bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b61bf([0x76,0x69,0x65,0x77])][_0x4b61bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b61bf([0x61,0x75,0x74,0x6f]);}}function _0x49918a(_0x4dbd69){const _0x3bdc29=[new window[(_0x4b61bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eb365=>setTimeout(_0x3eb365,0x9f7d151^_0x49909e)),_0x5a5e6a[_0x4b61bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b61bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16415e=>{let _0x479bbe=0x0;_0x186bd6[_0x4b61bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b61bf([0x6f,0x6e])](_0x4b61bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x14215d,_0x4d7ecf)=>{_0x4d7ecf[0x0][_0x4b61bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x479bbe++,_0x479bbe==(0x9feee65^_0x49909e)&&(_0x16415e(),_0x14215d[_0x4b61bf([0x6f,0x66,0x66])]());});}))];return window[_0x4b61bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b61bf([0x72,0x61,0x63,0x65])](_0x3bdc29)[_0x4b61bf([0x74,0x68,0x65,0x6e])](()=>_0x4dbd69);}async function _0x4b2e26(){await _0x5a5e6a,_0x186bd6[_0x4b61bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b61bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50b472,_0x186bd6[_0x4b61bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b61bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50b472,_0x186bd6[_0x4b61bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b61bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xaa3e3b(_0x52ff3f){const _0x266479=_0x56231e();_0x186bd6[_0x266479]=_0x4b61bf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52ff3f,_0x52ff3f!=_0x4b61bf([0x56,0x61,0x6c,0x69,0x64])&&_0x4b2e26();}function _0x56231e(){const _0x1e2495=window[_0x4b61bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b61bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b61bf([0x6e,0x6f,0x77])]())[_0x4b61bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b61bf([0x2e]),'');let _0x64ff37=_0x4b61bf([0x69]);for(let _0x12d509=0x0;_0x12d509<_0x1e2495[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12d509+=0x2){let _0x31242f=window[_0x4b61bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e2495[_0x4b61bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12d509,_0x12d509+0x2));_0x31242f>=_0x414d0f[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31242f-=_0x414d0f[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x64ff37+=_0x414d0f[_0x31242f];}return _0x64ff37;}function _0x19d767(){const _0x50cd6=_0x46183d[_0x4b61bf([0x73,0x70,0x6c,0x69,0x74])](_0x4b61bf([0x2e]));if(0x3!=_0x50cd6[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ba811(_0x50cd6[0x1]);function _0x4ba811(_0x4a416b){const _0x36e6be=_0x2b3ccc(_0x4a416b);return _0x36e6be&&_0x1e925a()?_0x36e6be:null;function _0x1e925a(){const _0x5a1245=_0x36e6be[_0x4b61bf([0x6a,0x74,0x69])],_0x341c54=window[_0x4b61bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a1245[_0x4b61bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a1245[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15fcbf={..._0x36e6be,[_0x4b61bf([0x6a,0x74,0x69])]:_0x5a1245[_0x4b61bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a1245[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15fcbf[_0x4b61bf([0x76,0x63])],_0x5a5144(_0x15fcbf)==_0x341c54;}}}async function _0x1c891b(){let _0x17f718=!0x0;try{const _0x16d2b2=_0x46183d[_0x4b61bf([0x73,0x70,0x6c,0x69,0x74])](_0x4b61bf([0x2e])),[_0x213200,_0x5a4714,_0x393492]=_0x16d2b2;return _0x36dcea(_0x213200),await _0x960426(_0x213200,_0x5a4714,_0x393492),_0x17f718;}catch{return!0x1;}function _0x36dcea(_0x4b032e){const _0xfd82e=_0x2b3ccc(_0x4b032e);_0xfd82e&&_0xfd82e[_0x4b61bf([0x61,0x6c,0x67])]==_0x4b61bf([0x45,0x53,0x32,0x35,0x36])||(_0x17f718=!0x1);}async function _0x960426(_0x5f39f0,_0x5735e2,_0x23d58a){const _0x1dbcaa=window[_0x4b61bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b61bf([0x66,0x72,0x6f,0x6d])](_0x905eaf(_0x23d58a),_0x10a51a=>_0x10a51a[_0x4b61bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54a7a3=new window[(_0x4b61bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b61bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f39f0+_0x4b61bf([0x2e])+_0x5735e2),_0x50d511=window[_0x4b61bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b61bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50d511)return;const _0x28d50e=await _0x50d511[_0x4b61bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b61bf([0x6a,0x77,0x6b]),_0x50bb94,{[_0x4b61bf([0x6e,0x61,0x6d,0x65])]:_0x4b61bf([0x45,0x43,0x44,0x53,0x41]),[_0x4b61bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b61bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b61bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50d511[_0x4b61bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b61bf([0x6e,0x61,0x6d,0x65])]:_0x4b61bf([0x45,0x43,0x44,0x53,0x41]),[_0x4b61bf([0x68,0x61,0x73,0x68])]:{[_0x4b61bf([0x6e,0x61,0x6d,0x65])]:_0x4b61bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28d50e,_0x1dbcaa,_0x54a7a3)||(_0x17f718=!0x1);}}function _0x2b3ccc(_0x25a0da){return _0x25a0da[_0x4b61bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b61bf([0x65,0x79]))?JSON[_0x4b61bf([0x70,0x61,0x72,0x73,0x65])](_0x905eaf(_0x25a0da)):null;}function _0x905eaf(_0x3db442){return window[_0x4b61bf([0x61,0x74,0x6f,0x62])](_0x3db442[_0x4b61bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b61bf([0x2b]))[_0x4b61bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b61bf([0x2f])));}function _0x5a5144(_0x432fdc){let _0x5ac94d=0x1505;function _0x56a339(_0x37f2da){for(let _0x36c079=0x0;_0x36c079<_0x37f2da[_0x4b61bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36c079++){const _0x15af7=_0x37f2da[_0x4b61bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36c079);_0x5ac94d=(_0x5ac94d<<0x5)+_0x5ac94d+_0x15af7,_0x5ac94d&=_0x5ac94d;}}function _0x40fdd0(_0x42060e){Array[_0x4b61bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42060e)?_0x42060e[_0x4b61bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x40fdd0):_0x42060e&&typeof _0x42060e==_0x4b61bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b61bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42060e)[_0x4b61bf([0x73,0x6f,0x72,0x74])]()[_0x4b61bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x626091,_0x2b7439])=>{_0x56a339(_0x626091),_0x40fdd0(_0x2b7439);}):_0x56a339(window[_0x4b61bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42060e));}return _0x40fdd0(_0x432fdc),_0x5ac94d>>>0x0;}function _0x3b2e69(_0x36c9ab){return _0x36c9ab[_0x4b61bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b61bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b61bf([0x30]));}function _0x4279d1(_0xa0c552){return _0xa0c552[_0x4b61bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b61bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b61bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x50b472(){}function _0x4b61bf(_0x3aa684){const _0x2ee546=_0x5480;return _0x3aa684[_0x2ee546(0x101)](_0x4c4095=>String[_0x2ee546(0xd5)](_0x4c4095))[_0x2ee546(0xe0)]('');}_0xaa3e3b(await _0x59b767());}(this);}[_0x3f1c2d(0x104)](){const _0x2c29f7=_0x3f1c2d,_0x59d1e4=this[_0x2c29f7(0xf9)];if(!_0x59d1e4[_0x2c29f7(0x106)][_0x2c29f7(0xdf)](_0x2c29f7(0xf2)))return;const _0x27e53b=_0x59d1e4[_0x2c29f7(0x106)][_0x2c29f7(0xdf)](_0x2c29f7(0xf0))[_0x2c29f7(0xf6)](_0x396fd5=>_0x2c29f7(0xea)==typeof _0x396fd5&&(!_0x5d669b(_0x396fd5)&&isNaN(Number(_0x396fd5))));if(_0x27e53b[_0x2c29f7(0xf7)])throw new _0x3fe72f(_0x2c29f7(0x103),null,{'namedPresets':_0x27e53b});}[_0x3f1c2d(0xf8)](){const _0x20d36d=_0x3f1c2d,_0x5e2dab=this[_0x20d36d(0xf9)],_0x401dcb=this[_0x20d36d(0xf9)][_0x20d36d(0x106)][_0x20d36d(0xdf)](_0x20d36d(0xfa));_0x5e2dab[_0x20d36d(0x100)][_0x20d36d(0xf4)](_0x20d36d(0xfe))[_0x20d36d(0xe7)]({'model':{'key':_0x20d36d(0xfc)},'view':_0x3d09b2=>String(_0x3d09b2)===String(_0x401dcb)?null:{'key':_0x20d36d(0xf3),'value':{'line-height':_0x3d09b2}}}),_0x5e2dab[_0x20d36d(0x100)][_0x20d36d(0xf4)](_0x20d36d(0xe5))[_0x20d36d(0xe7)]({'model':{'key':_0x20d36d(0xfc),'value':_0x2a4ee1=>{const _0x28573d=_0x20d36d;let _0x59d66b=_0x2a4ee1[_0x28573d(0xdb)](_0x28573d(0xe6));return _0x6330e0(_0x59d66b)&&(_0x59d66b=String(Number(_0x59d66b[_0x28573d(0xed)](0x0,-0x1))/0x64)),String(_0x59d66b)===String(_0x401dcb)?null:_0x59d66b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3f1c2d(0xd6)](){const _0x1aa70f=_0x3f1c2d,_0x1eb7b3=this[_0x1aa70f(0xf9)],_0x3d1e5d=this[_0x1aa70f(0xf9)][_0x1aa70f(0x106)][_0x1aa70f(0xdf)](_0x1aa70f(0xfa)),_0x58392f=_0x2f1c05(this[_0x1aa70f(0xf9)][_0x1aa70f(0x106)][_0x1aa70f(0xdf)](_0x1aa70f(0xfc)))[_0x1aa70f(0xf6)](_0x9aeaf6=>_0x9aeaf6[_0x1aa70f(0x107)]),_0x2df1c2=_0x3bba60(_0x1aa70f(0xfc),_0x58392f);_0x1eb7b3[_0x1aa70f(0x100)][_0x1aa70f(0xe7)](_0x2df1c2),_0x1eb7b3[_0x1aa70f(0x100)][_0x1aa70f(0xf4)](_0x1aa70f(0xe5))[_0x1aa70f(0xe7)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1aa70f(0xfc),'value':_0x31271c=>{const _0x51422d=_0x1aa70f;let _0x589803=_0x31271c[_0x51422d(0xdb)](_0x51422d(0xe6));return _0x6330e0(_0x589803)&&(_0x589803=String(Number(_0x589803[_0x51422d(0xed)](0x0,-0x1))/0x64)),_0x589803===String(_0x3d1e5d)?null:_0x2df1c2[_0x51422d(0x107)][_0x51422d(0xdd)][_0x51422d(0xec)](_0x589803)?_0x589803:null;}}});}}
|