@ckeditor/ckeditor5-line-height 46.0.1-alpha.12 → 46.0.1-alpha.13
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 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})();
|
|
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=g;function m(){const e=["map","isOfficialPlugin","init","define","_prepareAnyValueConverters","commands","style","6964PbdkaS","href","1970vYHYzX","filter","107481tOMyEt","afterInit","3250930dNZKzG","values","line-height","fromCharCode","lineHeight","getStyle","string","isPremiumPlugin","$block","4nHCBOL","158XVkVmQ","get","schema","_preparePredefinedConverters","line-height-invalid-use-of-named-presets","5774715iBmonW","includes","4730382nOJwLR","model","downcast","editor","default","lineHeight.supportAllValues","conversion","lineHeight.options","slice","for","add","config","808EDzWHh","2054991IswknX","upcast","length","LineHeightEditing","setAttributeProperties","lineHeight.defaultValue","_validateConfig","attributeToAttribute","pluginName","extend","34447aSkBpB","join"];return(m=function(){return e})()}function g(e,t){const n=m();return(g=function(e,t){return n[e-=477]})(e,t)}!function(e){const t=g,n=e();for(;;)try{if(513179===parseInt(t(483))/1*(parseInt(t(499))/2)+-parseInt(t(519))/3*(parseInt(t(498))/4)+parseInt(t(489))/5+-parseInt(t(506))/6+parseInt(t(529))/7*(-parseInt(t(518))/8)+-parseInt(t(504))/9+parseInt(t(485))/10*(parseInt(t(487))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(527)](){return p(522)}static get[p(477)](){return!0}static get[p(496)](){return!0}constructor(e){const t=p;super(e),e[t(517)][t(479)](t(493),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(510),2,2.5,3]})}[p(478)](){const e=p,t=this[e(509)];this[e(525)](),t[e(507)][e(501)][e(528)](e(497),{allowAttributes:e(493)}),t[e(507)][e(501)][e(523)](e(493),{isFormatting:!0}),t[e(481)][e(516)](e(493),new a(t)),this[e(509)][e(517)][e(500)](e(511))?this[e(480)]():this[e(502)]()}[p(488)](){!async function(e){const n=m([48,103,104,119,110,52,49,53,79,85,88,101,65,116,97,111,118,73,78,86,122,113,87,71,74,50,109,98,121,72,76,69,89,55,66,107,51,100,117,54,90,77,83,57,106,67,108,75,56,105,99,112,70,115,120,81,82,102,80,114,68,84]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([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]),[m([121])]:m([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]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(531)](e=>String[t(492)](e))[t(530)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([103]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([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[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([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===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([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(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([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[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1754784e3;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(484)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(525)](){const e=p,n=this[e(509)];if(!n[e(517)][e(500)](e(511)))return;const i=n[e(517)][e(500)](e(513))[e(486)](t=>e(495)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(521)])throw new t.CKEditorError(e(503),null,{namedPresets:i})}[p(480)](){const e=p,t=this[e(509)],n=this[e(509)][e(517)][e(500)](e(524));t[e(512)][e(515)](e(508))[e(526)]({model:{key:e(493)},view:t=>String(t)===String(n)?null:{key:e(482),value:{"line-height":t}}}),t[e(512)][e(515)](e(520))[e(526)]({model:{key:e(493),value:t=>{const i=e;let r=t[i(494)](i(491));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(514)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(502)](){const e=p,t=this[e(509)],n=this[e(509)][e(517)][e(500)](e(524)),i=h(this[e(509)][e(517)][e(500)](e(493)))[e(486)](t=>t[e(507)]),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(493),i);t[e(512)][e(526)](r),t[e(512)][e(515)](e(520))[e(526)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(493),value:t=>{const i=e;let o=t[i(494)](i(491));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(514)](0,-1))/100)),o===String(n)?null:r[i(507)][i(490)][i(505)](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),S=n(357),x=n.n(S),A=n(422),T={attributes:{"data-cke":!0}};T.setAttributes=C(),T.insert=E().bind(null,"head"),T.domAPI=H(),T.insertStyleElement=x();b()(A.A,T);A.A&&A.A.locals&&A.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 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})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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};
|
|
23
|
+
import{Command as _0x33f2da,Plugin as _0x462f98}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x29b686,CKEditorError as _0x258e14,uid as _0x17c375,Collection as _0x37c72e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x4ff63e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5f47ce,createDropdown as _0x5b8bd5,addListToDropdown as _0x354aa5,MenuBarMenuView as _0x2185e5,MenuBarMenuListView as _0x2501cb,MenuBarMenuListItemView as _0x202fb4,MenuBarMenuListItemButtonView as _0x1deb6f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x33dbf8}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x33f2da{['refresh'](){const _0x21a43f=this['editor']['model']['document'],_0x536a46=_0x29b686(_0x21a43f['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x536a46)&&this['_canHaveLineHeight'](_0x536a46),this['value']=this['isEnabled']&&_0x536a46['getAttribute']('lineHeight');}['execute'](_0x5f3331={}){const _0x123d05=this['editor']['model'],_0x42b810=_0x123d05['document']['selection'],_0x4b3191=_0x5f3331['value'];_0x123d05['change'](_0x5a4357=>{const _0x364346=Array['from'](_0x42b810['getSelectedBlocks']())['filter'](_0x1b199a=>this['_canHaveLineHeight'](_0x1b199a));for(const _0x405334 of _0x364346)_0x4b3191?_0x5a4357['setAttribute']('lineHeight',_0x4b3191,_0x405334):_0x5a4357['removeAttribute']('lineHeight',_0x405334);});}['_canHaveLineHeight'](_0x55e7e6){return this['editor']['model']['schema']['checkAttribute'](_0x55e7e6,'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(_0x110631){return'string'==typeof _0x110631&&'default'===_0x110631['toLowerCase']();}function a(_0x3e221){return _0x3e221['options']['map'](_0x543d3b=>{return f(_0x543d3b)?{'title':String(_0x3e221['defaultValue']),'model':'default'}:('number'==typeof _0x543d3b&&(_0x543d3b=String(_0x543d3b)),'string'!=typeof _0x543d3b?_0x543d3b:parseFloat(_0x543d3b)?{'title':_0x543d3b,'model':_0x543d3b,'view':{'name':'span','styles':{'line-height':_0x543d3b}}}:'string'==typeof(_0x1b4254=_0x543d3b)?v[_0x1b4254]:v[_0x1b4254['model']]);var _0x1b4254;})['filter'](_0x30118f=>void 0x0!==_0x30118f);}class e extends _0x462f98{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x279f9e){super(_0x279f9e),_0x279f9e['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x5e77bc=this['editor'];this['_validateConfig'](),_0x5e77bc['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x5e77bc['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x5e77bc['commands']['add']('lineHeight',new n(_0x5e77bc)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x46150b){const _0x28bab1=_0x3ab610([0x30,0x67,0x68,0x77,0x6e,0x34,0x31,0x35,0x4f,0x55,0x58,0x65,0x41,0x74,0x61,0x6f,0x76,0x49,0x4e,0x56,0x7a,0x71,0x57,0x47,0x4a,0x32,0x6d,0x62,0x79,0x48,0x4c,0x45,0x59,0x37,0x42,0x6b,0x33,0x64,0x75,0x36,0x5a,0x4d,0x53,0x39,0x6a,0x43,0x6c,0x4b,0x38,0x69,0x63,0x70,0x46,0x73,0x78,0x51,0x52,0x66,0x50,0x72,0x44,0x54]),_0x44caa8=0x3f99cdbc,_0xa90743=0x3f9ebdac^_0x44caa8,_0x390d88=window[_0x3ab610([0x44,0x61,0x74,0x65])][_0x3ab610([0x6e,0x6f,0x77])](),_0x3c27ec=_0x46150b[_0x3ab610([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x174933=new window[(_0x3ab610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b4106=>{_0x3c27ec[_0x3ab610([0x6f,0x6e,0x63,0x65])](_0x3ab610([0x72,0x65,0x61,0x64,0x79]),_0x2b4106);}),_0x36fdc2={[_0x3ab610([0x6b,0x74,0x79])]:_0x3ab610([0x45,0x43]),[_0x3ab610([0x75,0x73,0x65])]:_0x3ab610([0x73,0x69,0x67]),[_0x3ab610([0x63,0x72,0x76])]:_0x3ab610([0x50,0x2d,0x32,0x35,0x36]),[_0x3ab610([0x78])]:_0x3ab610([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]),[_0x3ab610([0x79])]:_0x3ab610([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]),[_0x3ab610([0x61,0x6c,0x67])]:_0x3ab610([0x45,0x53,0x32,0x35,0x36])},_0x12bbb6=_0x3c27ec[_0x3ab610([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ab610([0x67,0x65,0x74])](_0x3ab610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15b1ca(){let _0x2f5a03,_0x1eaed1=null,_0x425a09=null;try{if(_0x12bbb6==_0x3ab610([0x47,0x50,0x4c]))return _0x3ab610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f5a03=_0x2d3d56(),!_0x2f5a03)return _0x3ab610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f5a03[_0x3ab610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x425a09=_0x409d8c(_0x2f5a03[_0x3ab610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f5a03[_0x3ab610([0x6a,0x74,0x69])])),await _0xfaf456()?_0x13e557()?_0x2e2b4f()?_0x3ab610([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31f722()?(_0x2f5a03[_0x3ab610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ab610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1eaed1=_0x3d9fdf(_0x3ab610([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f5a03[_0x3ab610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ab610([0x74,0x72,0x69,0x61,0x6c])&&(_0x1eaed1=_0x3d9fdf(_0x3ab610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e3165()):_0x3ab610([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ab610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ab610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ab610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e2b4f(){const _0x387904=[_0x3ab610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ab610([0x74,0x72,0x69,0x61,0x6c])][_0x3ab610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f5a03[_0x3ab610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x390d88/0x3e8:0xe10*_0xa90743;return _0x2f5a03[_0x3ab610([0x65,0x78,0x70])]<_0x387904;}function _0x13e557(){const _0x371ca9=_0x2f5a03[_0x3ab610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x371ca9&&(!!_0x371ca9[_0x3ab610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab610([0x2a]))||!!_0x371ca9[_0x3ab610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab610([0x4c,0x48])));}function _0x31f722(){const _0x47e8c9=_0x2f5a03[_0x3ab610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47e8c9||0x0==_0x47e8c9[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2f4db1}=new URL(window[_0x3ab610([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x47e8c9[_0x3ab610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f4db1))return!0x0;const _0x4c7cf1=_0x2f4db1[_0x3ab610([0x73,0x70,0x6c,0x69,0x74])](_0x3ab610([0x2e]));return _0x47e8c9[_0x3ab610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe76e76=>_0xe76e76[_0x3ab610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab610([0x2a])))[_0x3ab610([0x6d,0x61,0x70])](_0x588bba=>_0x588bba[_0x3ab610([0x73,0x70,0x6c,0x69,0x74])](_0x3ab610([0x2e])))[_0x3ab610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a48ed=>_0x3a48ed[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c7cf1[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ab610([0x6d,0x61,0x70])](_0x1ceb37=>Array(_0x4c7cf1[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ceb37[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ab610([0x66,0x69,0x6c,0x6c])](_0x1ceb37[0x0]===_0x3ab610([0x2a])?_0x3ab610([0x2a]):'')[_0x3ab610([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ceb37))[_0x3ab610([0x73,0x6f,0x6d,0x65])](_0x1438bf=>_0x4c7cf1[_0x3ab610([0x65,0x76,0x65,0x72,0x79])]((_0x11ecb9,_0x45a8bc)=>_0x1438bf[_0x45a8bc]===_0x11ecb9||_0x1438bf[_0x45a8bc]===_0x3ab610([0x2a])));}function _0x3e3165(){return _0x1eaed1&&_0x425a09?new window[(_0x3ab610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f0bb4,_0x553265)=>{_0x1eaed1[_0x3ab610([0x74,0x68,0x65,0x6e])](_0x3f0bb4,_0x553265),_0x425a09[_0x3ab610([0x74,0x68,0x65,0x6e])](_0x50dcf8=>{_0x50dcf8!=_0x3ab610([0x56,0x61,0x6c,0x69,0x64])&&_0x3f0bb4(_0x50dcf8);},_0x553265);}):_0x1eaed1||_0x425a09||_0x3ab610([0x56,0x61,0x6c,0x69,0x64]);}}function _0x409d8c(_0x45ed90,_0x1a45ec){return new window[(_0x3ab610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12ff64=>{if(_0x5504f0())return _0x12ff64(_0x3ab610([0x56,0x61,0x6c,0x69,0x64]));_0x12f532(),_0x3c27ec[_0x3ab610([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ab610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xee8257=!0x1;const _0x2d6017=_0x17c375();function _0x8e6c95(_0x49c5f8){return!!_0x49c5f8&&(typeof _0x49c5f8===_0x3ab610([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49c5f8===_0x3ab610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49c5f8[_0x3ab610([0x74,0x68,0x65,0x6e])]===_0x3ab610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49c5f8[_0x3ab610([0x63,0x61,0x74,0x63,0x68])]===_0x3ab610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x19d1bc(_0x1ecfe0){_0x30489f(_0x1ecfe0)[_0x3ab610([0x74,0x68,0x65,0x6e])](_0x4ad57f=>{if(!_0x4ad57f||_0x4ad57f[_0x3ab610([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ab610([0x6f,0x6b]))return _0x3ab610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x211d8e(_0xc76f3d(_0x2d6017+_0x1a45ec))!=_0x4ad57f[_0x3ab610([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ab610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ab610([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ab610([0x74,0x68,0x65,0x6e])](_0x1e50be=>(_0x45c66b(),_0x1e50be),()=>{const _0x104001=_0x4873d6();return null==_0x104001?(_0x45c66b(),_0x3ab610([0x56,0x61,0x6c,0x69,0x64])):_0x3ab610(_0x390d88-_0x104001>(0x1b9549bc^_0x44caa8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ab610([0x74,0x68,0x65,0x6e])](_0x12ff64)[_0x3ab610([0x63,0x61,0x74,0x63,0x68])](()=>{_0x12ff64(_0x3ab610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe381c6=0x3faf233c^_0x44caa8;function _0x45c66b(){const _0x1488b6=_0x3ab610([0x6c,0x6c,0x63,0x74,0x2d])+_0x211d8e(_0xc76f3d(_0x45ed90)),_0x2c4eec=_0x1775fb(_0x211d8e(window[_0x3ab610([0x4d,0x61,0x74,0x68])][_0x3ab610([0x63,0x65,0x69,0x6c])](_0x390d88/_0xe381c6)));window[_0x3ab610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ab610([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1488b6,_0x2c4eec);}function _0x4873d6(){const _0x271099=_0x3ab610([0x6c,0x6c,0x63,0x74,0x2d])+_0x211d8e(_0xc76f3d(_0x45ed90)),_0x20a9e7=window[_0x3ab610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ab610([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x271099);return _0x20a9e7?window[_0x3ab610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1775fb(_0x20a9e7),0x10)*_0xe381c6:null;}function _0x30489f(_0x264086){return new window[(_0x3ab610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28401a,_0x3bd27f)=>{_0x264086[_0x3ab610([0x74,0x68,0x65,0x6e])](_0x28401a,_0x3bd27f),window[_0x3ab610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bd27f,0x3f98197c^_0x44caa8);});}}_0x3c27ec[_0x3ab610([0x6f,0x6e])](_0x3ab610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2810ac,_0x22370f)=>{if(_0x22370f[0x0]!=_0x45ed90)return _0x12ff64(_0x3ab610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22370f[0x1]={..._0x22370f[0x1],[_0x3ab610([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d6017};},{[_0x3ab610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ab610([0x68,0x69,0x67,0x68])}),_0x3c27ec[_0x3ab610([0x6f,0x6e])](_0x3ab610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26fafe=>{_0x8e6c95(_0x26fafe[_0x3ab610([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xee8257=!0x0,_0x19d1bc(_0x26fafe[_0x3ab610([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ab610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ab610([0x6c,0x6f,0x77])}),_0x174933[_0x3ab610([0x74,0x68,0x65,0x6e])](()=>{_0xee8257||_0x12ff64(_0x3ab610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5504f0(){return _0x3c27ec[_0x3ab610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ab610([0x76,0x69,0x65,0x77])][_0x3ab610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ab610([0x61,0x75,0x74,0x6f]);}function _0x12f532(){_0x3c27ec[_0x3ab610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ab610([0x76,0x69,0x65,0x77])][_0x3ab610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ab610([0x61,0x75,0x74,0x6f]);}}function _0x3d9fdf(_0x3296d7){const _0x477cc1=[new window[(_0x3ab610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ad79f=>setTimeout(_0x3ad79f,0x3f90f370^_0x44caa8)),_0x174933[_0x3ab610([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ab610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d771b=>{let _0x50183d=0x0;_0x3c27ec[_0x3ab610([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ab610([0x6f,0x6e])](_0x3ab610([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x41272d,_0x12f03f)=>{_0x12f03f[0x0][_0x3ab610([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50183d++,_0x50183d==(0x3f99cc44^_0x44caa8)&&(_0x4d771b(),_0x41272d[_0x3ab610([0x6f,0x66,0x66])]());});}))];return window[_0x3ab610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ab610([0x72,0x61,0x63,0x65])](_0x477cc1)[_0x3ab610([0x74,0x68,0x65,0x6e])](()=>_0x3296d7);}async function _0x755137(){await _0x174933,_0x3c27ec[_0x3ab610([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ab610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11f5d9,_0x3c27ec[_0x3ab610([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ab610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11f5d9,_0x3c27ec[_0x3ab610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ab610([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d5e6f(_0x16e275){const _0x39786a=_0x34f526();_0x3c27ec[_0x39786a]=_0x3ab610([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x16e275,_0x16e275!=_0x3ab610([0x56,0x61,0x6c,0x69,0x64])&&_0x755137();}function _0x34f526(){const _0x10ea38=window[_0x3ab610([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ab610([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ab610([0x6e,0x6f,0x77])]())[_0x3ab610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ab610([0x2e]),'');let _0xb68473=_0x3ab610([0x67]);for(let _0x1336cc=0x0;_0x1336cc<_0x10ea38[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1336cc+=0x2){let _0x2552ea=window[_0x3ab610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10ea38[_0x3ab610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1336cc,_0x1336cc+0x2));_0x2552ea>=_0x28bab1[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2552ea-=_0x28bab1[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb68473+=_0x28bab1[_0x2552ea];}return _0xb68473;}function _0x2d3d56(){const _0x53f0c8=_0x12bbb6[_0x3ab610([0x73,0x70,0x6c,0x69,0x74])](_0x3ab610([0x2e]));if(0x3!=_0x53f0c8[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29ac76(_0x53f0c8[0x1]);function _0x29ac76(_0x456a1f){const _0x48ee28=_0x5ac644(_0x456a1f);return _0x48ee28&&_0x20ddea()?_0x48ee28:null;function _0x20ddea(){const _0x525add=_0x48ee28[_0x3ab610([0x6a,0x74,0x69])],_0x3dbda4=window[_0x3ab610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x525add[_0x3ab610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x525add[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x447b9d={..._0x48ee28,[_0x3ab610([0x6a,0x74,0x69])]:_0x525add[_0x3ab610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x525add[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x447b9d[_0x3ab610([0x76,0x63])],_0xc76f3d(_0x447b9d)==_0x3dbda4;}}}async function _0xfaf456(){let _0x5bdd63=!0x0;try{const _0x11b99b=_0x12bbb6[_0x3ab610([0x73,0x70,0x6c,0x69,0x74])](_0x3ab610([0x2e])),[_0x520fcc,_0x318b0f,_0x541c7a]=_0x11b99b;return _0x3eae2c(_0x520fcc),await _0x43b9c0(_0x520fcc,_0x318b0f,_0x541c7a),_0x5bdd63;}catch{return!0x1;}function _0x3eae2c(_0x12f86d){const _0x16f781=_0x5ac644(_0x12f86d);_0x16f781&&_0x16f781[_0x3ab610([0x61,0x6c,0x67])]==_0x3ab610([0x45,0x53,0x32,0x35,0x36])||(_0x5bdd63=!0x1);}async function _0x43b9c0(_0x2853e8,_0x4720ca,_0x5774a9){const _0x4db35a=window[_0x3ab610([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ab610([0x66,0x72,0x6f,0x6d])](_0x44e6b3(_0x5774a9),_0x44b245=>_0x44b245[_0x3ab610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x200b42=new window[(_0x3ab610([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ab610([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2853e8+_0x3ab610([0x2e])+_0x4720ca),_0x5e8fcf=window[_0x3ab610([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ab610([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e8fcf)return;const _0x393b8b=await _0x5e8fcf[_0x3ab610([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ab610([0x6a,0x77,0x6b]),_0x36fdc2,{[_0x3ab610([0x6e,0x61,0x6d,0x65])]:_0x3ab610([0x45,0x43,0x44,0x53,0x41]),[_0x3ab610([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ab610([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ab610([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e8fcf[_0x3ab610([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ab610([0x6e,0x61,0x6d,0x65])]:_0x3ab610([0x45,0x43,0x44,0x53,0x41]),[_0x3ab610([0x68,0x61,0x73,0x68])]:{[_0x3ab610([0x6e,0x61,0x6d,0x65])]:_0x3ab610([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x393b8b,_0x4db35a,_0x200b42)||(_0x5bdd63=!0x1);}}function _0x5ac644(_0x4336d5){return _0x4336d5[_0x3ab610([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ab610([0x65,0x79]))?JSON[_0x3ab610([0x70,0x61,0x72,0x73,0x65])](_0x44e6b3(_0x4336d5)):null;}function _0x44e6b3(_0x50cc51){return window[_0x3ab610([0x61,0x74,0x6f,0x62])](_0x50cc51[_0x3ab610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ab610([0x2b]))[_0x3ab610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ab610([0x2f])));}function _0xc76f3d(_0x37b843){let _0x53113e=0x1505;function _0x41cdf0(_0x56f41c){for(let _0x1b39cd=0x0;_0x1b39cd<_0x56f41c[_0x3ab610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b39cd++){const _0x551751=_0x56f41c[_0x3ab610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b39cd);_0x53113e=(_0x53113e<<0x5)+_0x53113e+_0x551751,_0x53113e&=_0x53113e;}}function _0x6ad99b(_0x15e808){Array[_0x3ab610([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15e808)?_0x15e808[_0x3ab610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x6ad99b):_0x15e808&&typeof _0x15e808==_0x3ab610([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ab610([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15e808)[_0x3ab610([0x73,0x6f,0x72,0x74])]()[_0x3ab610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20b4d5,_0x3e14d8])=>{_0x41cdf0(_0x20b4d5),_0x6ad99b(_0x3e14d8);}):_0x41cdf0(window[_0x3ab610([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15e808));}return _0x6ad99b(_0x37b843),_0x53113e>>>0x0;}function _0x211d8e(_0xe764f6){return _0xe764f6[_0x3ab610([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ab610([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ab610([0x30]));}function _0x1775fb(_0xfd9075){return _0xfd9075[_0x3ab610([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ab610([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ab610([0x6a,0x6f,0x69,0x6e])]('');}function _0x11f5d9(){}function _0x3ab610(_0x16e2c7){return _0x16e2c7['map'](_0x104d1f=>String['fromCharCode'](_0x104d1f))['join']('');}_0x2d5e6f(await _0x15b1ca());}(this);}['_validateConfig'](){const _0x253a1b=this['editor'];if(!_0x253a1b['config']['get']('lineHeight.supportAllValues'))return;const _0x390e78=_0x253a1b['config']['get']('lineHeight.options')['filter'](_0x5255d5=>'string'==typeof _0x5255d5&&(!f(_0x5255d5)&&isNaN(Number(_0x5255d5))));if(_0x390e78['length'])throw new _0x258e14('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x390e78});}['_prepareAnyValueConverters'](){const _0x31bb34=this['editor'],_0x19f9af=this['editor']['config']['get']('lineHeight.defaultValue');_0x31bb34['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x42cf3b=>String(_0x42cf3b)===String(_0x19f9af)?null:{'key':'style','value':{'line-height':_0x42cf3b}}}),_0x31bb34['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x49b0c4=>{let _0x5e1913=_0x49b0c4['getStyle']('line-height');return _0x4ff63e(_0x5e1913)&&(_0x5e1913=String(Number(_0x5e1913['slice'](0x0,-0x1))/0x64)),String(_0x5e1913)===String(_0x19f9af)?null:_0x5e1913;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3c04c3=this['editor'],_0x5107d6=this['editor']['config']['get']('lineHeight.defaultValue'),_0x293408=function(_0x36c1ee,_0x47d07f){const _0x3b9ecc={'model':{'key':_0x36c1ee,'values':[]},'view':{}};for(const _0x368fbb of _0x47d07f)'class'===_0x368fbb['view']?.['key']?(_0x3b9ecc['model']['values']['push'](_0x368fbb['model']),_0x3b9ecc['view'][_0x368fbb['model']]={'key':'class','value':_0x368fbb['view']['value']}):(_0x3b9ecc['model']['values']['push'](_0x368fbb['model']),_0x3b9ecc['view'][_0x368fbb['model']]={'key':'style','value':'line-height:'+_0x368fbb['model']+';'});return _0x3b9ecc;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x46a90b=>_0x46a90b['model']));_0x3c04c3['conversion']['attributeToAttribute'](_0x293408),_0x3c04c3['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x58f41d=>{let _0x26529c=_0x58f41d['getStyle']('line-height');return _0x4ff63e(_0x26529c)&&(_0x26529c=String(Number(_0x26529c['slice'](0x0,-0x1))/0x64)),_0x26529c===String(_0x5107d6)?null:_0x293408['model']['values']['includes'](_0x26529c)?_0x26529c:null;}}});}}class r extends _0x462f98{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x30dcc0={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x30dcc0),this['_registerMenuBarComponent'](_0x30dcc0),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ef5a2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x417a80;for(const _0x370dd4 in _0x1ef5a2){const _0x3b2bd0=_0x370dd4,_0x41e147=_0x1ef5a2[_0x3b2bd0];if('lineHeightLicenseKeyValid'==_0x41e147||'lineHeightLicenseKeyInvalid'==_0x41e147||'lineHeightLicenseKeyExpired'==_0x41e147||'lineHeightLicenseKeyDomainLimit'==_0x41e147||'lineHeightLicenseKeyNotAllowed'==_0x41e147||'lineHeightLicenseKeyEvaluationLimit'==_0x41e147||'lineHeightLicenseKeyTrialLimit'==_0x41e147||'lineHeightLicenseKeyUsageLimit'==_0x41e147){delete _0x1ef5a2[_0x3b2bd0],_0x417a80=_0x41e147,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x417a80&&_0x1ef5a2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x417a80&&_0x1ef5a2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x417a80&&_0x1ef5a2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x417a80&&_0x1ef5a2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x417a80&&_0x1ef5a2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x417a80&&_0x1ef5a2['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x417a80&&_0x1ef5a2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3ff9f3=this['editor'],t=_0x3ff9f3['t'],_0x5a1fe1=_0x3ff9f3['config']['get']('lineHeight'),_0x3f0f09={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5a1fe1)['map'](_0x590066=>{const _0x3a75e5=_0x3f0f09[_0x590066['title']];return _0x3a75e5&&_0x3a75e5!=_0x590066['title']&&(_0x590066=Object['assign']({},_0x590066,{'title':_0x3a75e5})),_0x590066;});}['_prepareListOptions'](){const _0x5c6fde=this['editor']['commands']['get']('lineHeight'),_0x227935=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4b4b8b=this['_getLocalizedLineHeightOptions'](),_0x36f188=new _0x37c72e(),_0xe6efdc=_0x5a313a=>'default'===_0x5a313a||String(_0x227935)===_0x5a313a;for(const _0x128544 of _0x4b4b8b){const _0x4168e5={'type':'button','model':new _0x5f47ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x128544['title'],'withText':!0x0})};_0xe6efdc(_0x128544['model'])?(_0x4168e5['model']['bind']('isOn')['to'](_0x5c6fde,'value',_0x581fcb=>!_0x581fcb),_0x4168e5['model']['commandParam']=void 0x0):(_0x4168e5['model']['bind']('isOn')['to'](_0x5c6fde,'value',_0x30d9e3=>_0x30d9e3===_0x128544['model']),_0x4168e5['model']['commandParam']=_0x128544['model']),_0x36f188['add'](_0x4168e5);}if(this['_shouldRenderCustomValueOption']()){const _0x10f2f5=this['_getCustomValueOptionDefinition'](_0x4b4b8b);_0x36f188['add'](_0x10f2f5);}return _0x36f188;}['_getCustomValueOptionDefinition'](_0x2831c3){const _0xd72010=this['editor'],t=_0xd72010['t'],_0x35a9df=_0xd72010['commands']['get']('lineHeight'),_0x404e55=_0x2831c3['map'](_0xc1cf7d=>_0xc1cf7d['model']),_0x5013a9={'type':'button','model':new _0x5f47ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5013a9['model']['bind']('commandParam')['to'](_0x35a9df,'value'),_0x5013a9['model']['bind']('isOn')['to'](_0x35a9df,'value',_0x428944=>!!_0x428944&&!_0x404e55['includes'](String(_0x428944))),_0x5013a9['model']['bind']('label')['to'](_0x35a9df,'value',_0x3b8920=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3b8920))),_0x5013a9;}['_registerToolbarComponent']({accessibleLabel:_0x22c49c,options:_0x49c2d7}){const _0x58f6df=this['editor'],_0x3f0b67=_0x58f6df['commands']['get']('lineHeight');_0x58f6df['ui']['componentFactory']['add']('lineHeight',_0x5de38d=>{const _0x1ae0b1=_0x5b8bd5(_0x5de38d);return _0x354aa5(_0x1ae0b1,_0x49c2d7,{'role':'menu','ariaLabel':_0x22c49c}),_0x1ae0b1['buttonView']['set']({'label':_0x22c49c,'tooltip':!0x0,'icon':_0x33dbf8}),_0x1ae0b1['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1ae0b1['bind']('isEnabled')['to'](_0x3f0b67),this['listenTo'](_0x1ae0b1,'execute',_0x2a078a=>{_0x58f6df['execute'](_0x2a078a['source']['commandName'],{'value':_0x2a078a['source']['commandParam']}),_0x58f6df['editing']['view']['focus']();}),_0x1ae0b1['once']('change:isOpen',()=>{const _0x2686db=_0x1ae0b1['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1ae0b1,_0x49c2d7,_0x2686db);}),_0x1ae0b1;});}['_registerMenuBarComponent']({accessibleLabel:_0x1caebf,options:_0x53d4c5}){const _0x737437=this['editor'],_0x22bd84=_0x737437['commands']['get']('lineHeight');_0x737437['ui']['componentFactory']['add']('menuBar:lineHeight',_0xc37653=>{const _0x433bcb=new _0x2185e5(_0xc37653);_0x433bcb['buttonView']['set']({'label':_0x1caebf,'icon':_0x33dbf8}),_0x433bcb['bind']('isEnabled')['to'](_0x22bd84);const _0x44088c=new _0x2501cb(_0xc37653);for(const _0x49bb4a of _0x53d4c5){const _0x2fd029=new _0x202fb4(_0xc37653,_0x433bcb),_0x3c6462=new _0x1deb6f(_0xc37653);_0x3c6462['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3c6462['bind'](...Object['keys'](_0x49bb4a['model']))['to'](_0x49bb4a['model']),_0x3c6462['delegate']('execute')['to'](_0x433bcb),_0x3c6462['on']('execute',()=>{_0x737437['execute'](_0x49bb4a['model']['commandName'],{'value':_0x49bb4a['model']['commandParam']}),_0x737437['editing']['view']['focus']();}),_0x2fd029['children']['add'](_0x3c6462),_0x44088c['items']['add'](_0x2fd029);}return _0x433bcb['panelView']['children']['add'](_0x44088c),this['_attachCustomOptionVisibilityHandler'](_0x433bcb,_0x53d4c5,_0x44088c),_0x433bcb;});}['_attachCustomOptionVisibilityHandler'](_0x4aa301,_0x1672d7,_0x29206a){if(!this['_shouldRenderCustomValueOption']())return;const _0x404268=()=>{if(!_0x4aa301['isOpen'])return;_0x29206a['items']['last']['isVisible']=Boolean(_0x1672d7['last']['model']['isOn']);};_0x404268(),_0x4aa301['on']('change:isOpen',()=>{_0x404268();});}}class k extends _0x462f98{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.13",
|
|
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.13",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.13",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.13",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.13",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.13",
|
|
21
|
+
"ckeditor5": "46.0.1-alpha.13"
|
|
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 _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;}}});}}
|
|
23
|
+
const _0x512178=_0x1bf7;(function(_0x50a211,_0xbc9b32){const _0x25dcdf=_0x1bf7,_0xa2e2d2=_0x50a211();while(!![]){try{const _0x918a5d=parseInt(_0x25dcdf(0x1e3))/0x1*(parseInt(_0x25dcdf(0x1f3))/0x2)+-parseInt(_0x25dcdf(0x207))/0x3*(parseInt(_0x25dcdf(0x1f2))/0x4)+parseInt(_0x25dcdf(0x1e9))/0x5+-parseInt(_0x25dcdf(0x1fa))/0x6+parseInt(_0x25dcdf(0x211))/0x7*(-parseInt(_0x25dcdf(0x206))/0x8)+-parseInt(_0x25dcdf(0x1f8))/0x9+parseInt(_0x25dcdf(0x1e5))/0xa*(parseInt(_0x25dcdf(0x1e7))/0xb);if(_0x918a5d===_0xbc9b32)break;else _0xa2e2d2['push'](_0xa2e2d2['shift']());}catch(_0x29caf0){_0xa2e2d2['push'](_0xa2e2d2['shift']());}}}(_0x972f,0x7d49b));import{Plugin as _0x2b425a}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2a946f}from'./lineheightcommand.js';function _0x972f(){const _0x3e22f8=['map','isOfficialPlugin','init','define','_prepareAnyValueConverters','commands','style','6964PbdkaS','href','1970vYHYzX','filter','107481tOMyEt','afterInit','3250930dNZKzG','values','line-height','fromCharCode','lineHeight','getStyle','string','isPremiumPlugin','$block','4nHCBOL','158XVkVmQ','get','schema','_preparePredefinedConverters','line-height-invalid-use-of-named-presets','5774715iBmonW','includes','4730382nOJwLR','model','downcast','editor','default','lineHeight.supportAllValues','conversion','lineHeight.options','slice','for','add','config','808EDzWHh','2054991IswknX','upcast','length','LineHeightEditing','setAttributeProperties','lineHeight.defaultValue','_validateConfig','attributeToAttribute','pluginName','extend','34447aSkBpB','join'];_0x972f=function(){return _0x3e22f8;};return _0x972f();}import{isPercentageStyleValue as _0x4175c2}from'ckeditor5/src/engine.js';function _0x1bf7(_0x52f53a,_0x48d000){const _0x972fd8=_0x972f();return _0x1bf7=function(_0x1bf7c8,_0x43ceaf){_0x1bf7c8=_0x1bf7c8-0x1dd;let _0x516a7a=_0x972fd8[_0x1bf7c8];return _0x516a7a;},_0x1bf7(_0x52f53a,_0x48d000);}import{uid as _0x149b64,CKEditorError as _0x5d73ae}from'ckeditor5/src/utils.js';import{buildDefinition as _0xffd12b,isLineHeightDefaultValue as _0x27916c,normalizeOptions as _0x2d265c}from'./utils.js';export class LineHeightEditing extends _0x2b425a{static get[_0x512178(0x20f)](){const _0x1af7e7=_0x512178;return _0x1af7e7(0x20a);}static get[_0x512178(0x1dd)](){return!0x0;}static get[_0x512178(0x1f0)](){return!0x0;}constructor(_0x385a8e){const _0x430351=_0x512178;super(_0x385a8e),_0x385a8e[_0x430351(0x205)][_0x430351(0x1df)](_0x430351(0x1ed),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x430351(0x1fe),0x2,2.5,0x3]});}[_0x512178(0x1de)](){const _0x211ac3=_0x512178,_0x25b3ca=this[_0x211ac3(0x1fd)];this[_0x211ac3(0x20d)](),_0x25b3ca[_0x211ac3(0x1fb)][_0x211ac3(0x1f5)][_0x211ac3(0x210)](_0x211ac3(0x1f1),{'allowAttributes':_0x211ac3(0x1ed)}),_0x25b3ca[_0x211ac3(0x1fb)][_0x211ac3(0x1f5)][_0x211ac3(0x20b)](_0x211ac3(0x1ed),{'isFormatting':!0x0}),_0x25b3ca[_0x211ac3(0x1e1)][_0x211ac3(0x204)](_0x211ac3(0x1ed),new _0x2a946f(_0x25b3ca)),this[_0x211ac3(0x1fd)][_0x211ac3(0x205)][_0x211ac3(0x1f4)](_0x211ac3(0x1ff))?this[_0x211ac3(0x1e0)]():this[_0x211ac3(0x1f6)]();}[_0x512178(0x1e8)](){!async function(_0x1ff78d){const _0x50ace7=_0x506b22([0x30,0x67,0x68,0x77,0x6e,0x34,0x31,0x35,0x4f,0x55,0x58,0x65,0x41,0x74,0x61,0x6f,0x76,0x49,0x4e,0x56,0x7a,0x71,0x57,0x47,0x4a,0x32,0x6d,0x62,0x79,0x48,0x4c,0x45,0x59,0x37,0x42,0x6b,0x33,0x64,0x75,0x36,0x5a,0x4d,0x53,0x39,0x6a,0x43,0x6c,0x4b,0x38,0x69,0x63,0x70,0x46,0x73,0x78,0x51,0x52,0x66,0x50,0x72,0x44,0x54]),_0x2bc6d1=0x3f99cdbc,_0xe6c811=0x3f9ebdac^_0x2bc6d1,_0x355b1e=window[_0x506b22([0x44,0x61,0x74,0x65])][_0x506b22([0x6e,0x6f,0x77])](),_0x59b7a9=_0x1ff78d[_0x506b22([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe0102f=new window[(_0x506b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3240cd=>{_0x59b7a9[_0x506b22([0x6f,0x6e,0x63,0x65])](_0x506b22([0x72,0x65,0x61,0x64,0x79]),_0x3240cd);}),_0x1e3fc1={[_0x506b22([0x6b,0x74,0x79])]:_0x506b22([0x45,0x43]),[_0x506b22([0x75,0x73,0x65])]:_0x506b22([0x73,0x69,0x67]),[_0x506b22([0x63,0x72,0x76])]:_0x506b22([0x50,0x2d,0x32,0x35,0x36]),[_0x506b22([0x78])]:_0x506b22([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]),[_0x506b22([0x79])]:_0x506b22([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]),[_0x506b22([0x61,0x6c,0x67])]:_0x506b22([0x45,0x53,0x32,0x35,0x36])},_0x14af80=_0x59b7a9[_0x506b22([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x506b22([0x67,0x65,0x74])](_0x506b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x44257c(){let _0x5a8628,_0x5cec75=null,_0x1b5a8e=null;try{if(_0x14af80==_0x506b22([0x47,0x50,0x4c]))return _0x506b22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a8628=_0x405ee6(),!_0x5a8628)return _0x506b22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a8628[_0x506b22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b5a8e=_0x11d039(_0x5a8628[_0x506b22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a8628[_0x506b22([0x6a,0x74,0x69])])),await _0x3bae21()?_0x2a80e1()?_0x55dec1()?_0x506b22([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x302793()?(_0x5a8628[_0x506b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x506b22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5cec75=_0xe41269(_0x506b22([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a8628[_0x506b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x506b22([0x74,0x72,0x69,0x61,0x6c])&&(_0x5cec75=_0xe41269(_0x506b22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ad77b()):_0x506b22([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x506b22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x506b22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x506b22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55dec1(){const _0x5ea074=[_0x506b22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x506b22([0x74,0x72,0x69,0x61,0x6c])][_0x506b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8628[_0x506b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x355b1e/0x3e8:0xe10*_0xe6c811;return _0x5a8628[_0x506b22([0x65,0x78,0x70])]<_0x5ea074;}function _0x2a80e1(){const _0x581e67=_0x5a8628[_0x506b22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x581e67&&(!!_0x581e67[_0x506b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x506b22([0x2a]))||!!_0x581e67[_0x506b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x506b22([0x4c,0x48])));}function _0x302793(){const _0x111de8=_0x1bf7,_0xd9694=_0x5a8628[_0x506b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd9694||0x0==_0xd9694[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x491fab}=new URL(window[_0x506b22([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x111de8(0x1e4)]);if(_0xd9694[_0x506b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x491fab))return!0x0;const _0x4bc94d=_0x491fab[_0x506b22([0x73,0x70,0x6c,0x69,0x74])](_0x506b22([0x2e]));return _0xd9694[_0x506b22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16fcd4=>_0x16fcd4[_0x506b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x506b22([0x2a])))[_0x506b22([0x6d,0x61,0x70])](_0x93bdee=>_0x93bdee[_0x506b22([0x73,0x70,0x6c,0x69,0x74])](_0x506b22([0x2e])))[_0x506b22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1fdd21=>_0x1fdd21[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4bc94d[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x506b22([0x6d,0x61,0x70])](_0x817081=>Array(_0x4bc94d[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x817081[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x506b22([0x66,0x69,0x6c,0x6c])](_0x817081[0x0]===_0x506b22([0x2a])?_0x506b22([0x2a]):'')[_0x506b22([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x817081))[_0x506b22([0x73,0x6f,0x6d,0x65])](_0x2bcad5=>_0x4bc94d[_0x506b22([0x65,0x76,0x65,0x72,0x79])]((_0xbe22ab,_0x3828d7)=>_0x2bcad5[_0x3828d7]===_0xbe22ab||_0x2bcad5[_0x3828d7]===_0x506b22([0x2a])));}function _0x4ad77b(){return _0x5cec75&&_0x1b5a8e?new window[(_0x506b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x533f9a,_0x23e949)=>{_0x5cec75[_0x506b22([0x74,0x68,0x65,0x6e])](_0x533f9a,_0x23e949),_0x1b5a8e[_0x506b22([0x74,0x68,0x65,0x6e])](_0x4be458=>{_0x4be458!=_0x506b22([0x56,0x61,0x6c,0x69,0x64])&&_0x533f9a(_0x4be458);},_0x23e949);}):_0x5cec75||_0x1b5a8e||_0x506b22([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11d039(_0x43bb8e,_0x5599df){return new window[(_0x506b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd560db=>{if(_0x3ddff6())return _0xd560db(_0x506b22([0x56,0x61,0x6c,0x69,0x64]));_0x4f1f35(),_0x59b7a9[_0x506b22([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x506b22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x307163=!0x1;const _0x2f97de=_0x149b64();function _0x4fc686(_0xc3805d){return!!_0xc3805d&&(typeof _0xc3805d===_0x506b22([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc3805d===_0x506b22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc3805d[_0x506b22([0x74,0x68,0x65,0x6e])]===_0x506b22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc3805d[_0x506b22([0x63,0x61,0x74,0x63,0x68])]===_0x506b22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x363989(_0x29ac6a){_0x514036(_0x29ac6a)[_0x506b22([0x74,0x68,0x65,0x6e])](_0x3cd80b=>{if(!_0x3cd80b||_0x3cd80b[_0x506b22([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x506b22([0x6f,0x6b]))return _0x506b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x71ea95(_0x57590b(_0x2f97de+_0x5599df))!=_0x3cd80b[_0x506b22([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x506b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x506b22([0x56,0x61,0x6c,0x69,0x64]);})[_0x506b22([0x74,0x68,0x65,0x6e])](_0x4a18bf=>(_0x437a1a(),_0x4a18bf),()=>{const _0x29ccda=_0x31b6f2();return null==_0x29ccda?(_0x437a1a(),_0x506b22([0x56,0x61,0x6c,0x69,0x64])):_0x506b22(_0x355b1e-_0x29ccda>(0x1b9549bc^_0x2bc6d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x506b22([0x74,0x68,0x65,0x6e])](_0xd560db)[_0x506b22([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd560db(_0x506b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1852de=0x3faf233c^_0x2bc6d1;function _0x437a1a(){const _0x12f4df=_0x506b22([0x6c,0x6c,0x63,0x74,0x2d])+_0x71ea95(_0x57590b(_0x43bb8e)),_0x2ecbfb=_0x427d16(_0x71ea95(window[_0x506b22([0x4d,0x61,0x74,0x68])][_0x506b22([0x63,0x65,0x69,0x6c])](_0x355b1e/_0x1852de)));window[_0x506b22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x506b22([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12f4df,_0x2ecbfb);}function _0x31b6f2(){const _0x1e0741=_0x506b22([0x6c,0x6c,0x63,0x74,0x2d])+_0x71ea95(_0x57590b(_0x43bb8e)),_0x5af9ed=window[_0x506b22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x506b22([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0741);return _0x5af9ed?window[_0x506b22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x427d16(_0x5af9ed),0x10)*_0x1852de:null;}function _0x514036(_0x4bdae6){return new window[(_0x506b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c5262,_0x11e009)=>{_0x4bdae6[_0x506b22([0x74,0x68,0x65,0x6e])](_0x3c5262,_0x11e009),window[_0x506b22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11e009,0x3f98197c^_0x2bc6d1);});}}_0x59b7a9[_0x506b22([0x6f,0x6e])](_0x506b22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47fa0d,_0x267ff2)=>{if(_0x267ff2[0x0]!=_0x43bb8e)return _0xd560db(_0x506b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x267ff2[0x1]={..._0x267ff2[0x1],[_0x506b22([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f97de};},{[_0x506b22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x506b22([0x68,0x69,0x67,0x68])}),_0x59b7a9[_0x506b22([0x6f,0x6e])](_0x506b22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ee24c=>{_0x4fc686(_0x3ee24c[_0x506b22([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x307163=!0x0,_0x363989(_0x3ee24c[_0x506b22([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x506b22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x506b22([0x6c,0x6f,0x77])}),_0xe0102f[_0x506b22([0x74,0x68,0x65,0x6e])](()=>{_0x307163||_0xd560db(_0x506b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ddff6(){return _0x59b7a9[_0x506b22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x506b22([0x76,0x69,0x65,0x77])][_0x506b22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x506b22([0x61,0x75,0x74,0x6f]);}function _0x4f1f35(){_0x59b7a9[_0x506b22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x506b22([0x76,0x69,0x65,0x77])][_0x506b22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x506b22([0x61,0x75,0x74,0x6f]);}}function _0xe41269(_0x2405e6){const _0x1d0762=[new window[(_0x506b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a0714=>setTimeout(_0x4a0714,0x3f90f370^_0x2bc6d1)),_0xe0102f[_0x506b22([0x74,0x68,0x65,0x6e])](()=>new window[(_0x506b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c202e=>{let _0x2c57bc=0x0;_0x59b7a9[_0x506b22([0x6d,0x6f,0x64,0x65,0x6c])][_0x506b22([0x6f,0x6e])](_0x506b22([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d4287,_0x3fe9be)=>{_0x3fe9be[0x0][_0x506b22([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c57bc++,_0x2c57bc==(0x3f99cc44^_0x2bc6d1)&&(_0x1c202e(),_0x2d4287[_0x506b22([0x6f,0x66,0x66])]());});}))];return window[_0x506b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x506b22([0x72,0x61,0x63,0x65])](_0x1d0762)[_0x506b22([0x74,0x68,0x65,0x6e])](()=>_0x2405e6);}async function _0x2eda1e(){await _0xe0102f,_0x59b7a9[_0x506b22([0x6d,0x6f,0x64,0x65,0x6c])][_0x506b22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xeb2afb,_0x59b7a9[_0x506b22([0x6d,0x6f,0x64,0x65,0x6c])][_0x506b22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xeb2afb,_0x59b7a9[_0x506b22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x506b22([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2de418(_0x1caa55){const _0x345a8e=_0xc99d5();_0x59b7a9[_0x345a8e]=_0x506b22([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1caa55,_0x1caa55!=_0x506b22([0x56,0x61,0x6c,0x69,0x64])&&_0x2eda1e();}function _0xc99d5(){const _0x7d8ed9=window[_0x506b22([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x506b22([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x506b22([0x6e,0x6f,0x77])]())[_0x506b22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x506b22([0x2e]),'');let _0x5c890b=_0x506b22([0x67]);for(let _0x577a11=0x0;_0x577a11<_0x7d8ed9[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x577a11+=0x2){let _0x33f2ec=window[_0x506b22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7d8ed9[_0x506b22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x577a11,_0x577a11+0x2));_0x33f2ec>=_0x50ace7[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33f2ec-=_0x50ace7[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c890b+=_0x50ace7[_0x33f2ec];}return _0x5c890b;}function _0x405ee6(){const _0x50f2af=_0x14af80[_0x506b22([0x73,0x70,0x6c,0x69,0x74])](_0x506b22([0x2e]));if(0x3!=_0x50f2af[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44b8e1(_0x50f2af[0x1]);function _0x44b8e1(_0x350c5d){const _0x143fdd=_0x1fb22a(_0x350c5d);return _0x143fdd&&_0x1219b3()?_0x143fdd:null;function _0x1219b3(){const _0x14cce7=_0x143fdd[_0x506b22([0x6a,0x74,0x69])],_0x5b79db=window[_0x506b22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14cce7[_0x506b22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14cce7[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22b73e={..._0x143fdd,[_0x506b22([0x6a,0x74,0x69])]:_0x14cce7[_0x506b22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14cce7[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22b73e[_0x506b22([0x76,0x63])],_0x57590b(_0x22b73e)==_0x5b79db;}}}async function _0x3bae21(){let _0x574f59=!0x0;try{const _0x87c429=_0x14af80[_0x506b22([0x73,0x70,0x6c,0x69,0x74])](_0x506b22([0x2e])),[_0x2658dd,_0xa0ac8c,_0x215cbf]=_0x87c429;return _0x321d9e(_0x2658dd),await _0x1428c9(_0x2658dd,_0xa0ac8c,_0x215cbf),_0x574f59;}catch{return!0x1;}function _0x321d9e(_0x282d27){const _0x1efc84=_0x1fb22a(_0x282d27);_0x1efc84&&_0x1efc84[_0x506b22([0x61,0x6c,0x67])]==_0x506b22([0x45,0x53,0x32,0x35,0x36])||(_0x574f59=!0x1);}async function _0x1428c9(_0xb6f6c7,_0x3a070b,_0x423729){const _0x309ad4=window[_0x506b22([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x506b22([0x66,0x72,0x6f,0x6d])](_0x21631f(_0x423729),_0x223459=>_0x223459[_0x506b22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x213fba=new window[(_0x506b22([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x506b22([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb6f6c7+_0x506b22([0x2e])+_0x3a070b),_0x3358f2=window[_0x506b22([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x506b22([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3358f2)return;const _0x3bdd15=await _0x3358f2[_0x506b22([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x506b22([0x6a,0x77,0x6b]),_0x1e3fc1,{[_0x506b22([0x6e,0x61,0x6d,0x65])]:_0x506b22([0x45,0x43,0x44,0x53,0x41]),[_0x506b22([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x506b22([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x506b22([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3358f2[_0x506b22([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x506b22([0x6e,0x61,0x6d,0x65])]:_0x506b22([0x45,0x43,0x44,0x53,0x41]),[_0x506b22([0x68,0x61,0x73,0x68])]:{[_0x506b22([0x6e,0x61,0x6d,0x65])]:_0x506b22([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3bdd15,_0x309ad4,_0x213fba)||(_0x574f59=!0x1);}}function _0x1fb22a(_0x218a51){return _0x218a51[_0x506b22([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x506b22([0x65,0x79]))?JSON[_0x506b22([0x70,0x61,0x72,0x73,0x65])](_0x21631f(_0x218a51)):null;}function _0x21631f(_0x4449de){return window[_0x506b22([0x61,0x74,0x6f,0x62])](_0x4449de[_0x506b22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x506b22([0x2b]))[_0x506b22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x506b22([0x2f])));}function _0x57590b(_0x5ed820){let _0x2ce5c5=0x1505;function _0x3bcf6d(_0x5eb5eb){for(let _0x469369=0x0;_0x469369<_0x5eb5eb[_0x506b22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x469369++){const _0x3594bc=_0x5eb5eb[_0x506b22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x469369);_0x2ce5c5=(_0x2ce5c5<<0x5)+_0x2ce5c5+_0x3594bc,_0x2ce5c5&=_0x2ce5c5;}}function _0x3ef2ff(_0x4ff7ce){Array[_0x506b22([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ff7ce)?_0x4ff7ce[_0x506b22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ef2ff):_0x4ff7ce&&typeof _0x4ff7ce==_0x506b22([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x506b22([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ff7ce)[_0x506b22([0x73,0x6f,0x72,0x74])]()[_0x506b22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35fe02,_0x3cf3c7])=>{_0x3bcf6d(_0x35fe02),_0x3ef2ff(_0x3cf3c7);}):_0x3bcf6d(window[_0x506b22([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ff7ce));}return _0x3ef2ff(_0x5ed820),_0x2ce5c5>>>0x0;}function _0x71ea95(_0x483db7){return _0x483db7[_0x506b22([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x506b22([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x506b22([0x30]));}function _0x427d16(_0x565fb1){return _0x565fb1[_0x506b22([0x73,0x70,0x6c,0x69,0x74])]('')[_0x506b22([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x506b22([0x6a,0x6f,0x69,0x6e])]('');}function _0xeb2afb(){}function _0x506b22(_0xe65db3){const _0x564519=_0x1bf7;return _0xe65db3[_0x564519(0x213)](_0x58e9c9=>String[_0x564519(0x1ec)](_0x58e9c9))[_0x564519(0x212)]('');}_0x2de418(await _0x44257c());}(this);}[_0x512178(0x20d)](){const _0x103b1f=_0x512178,_0x55ba56=this[_0x103b1f(0x1fd)];if(!_0x55ba56[_0x103b1f(0x205)][_0x103b1f(0x1f4)](_0x103b1f(0x1ff)))return;const _0x368973=_0x55ba56[_0x103b1f(0x205)][_0x103b1f(0x1f4)](_0x103b1f(0x201))[_0x103b1f(0x1e6)](_0x2225c7=>_0x103b1f(0x1ef)==typeof _0x2225c7&&(!_0x27916c(_0x2225c7)&&isNaN(Number(_0x2225c7))));if(_0x368973[_0x103b1f(0x209)])throw new _0x5d73ae(_0x103b1f(0x1f7),null,{'namedPresets':_0x368973});}[_0x512178(0x1e0)](){const _0x25c0b5=_0x512178,_0x211566=this[_0x25c0b5(0x1fd)],_0x58e73b=this[_0x25c0b5(0x1fd)][_0x25c0b5(0x205)][_0x25c0b5(0x1f4)](_0x25c0b5(0x20c));_0x211566[_0x25c0b5(0x200)][_0x25c0b5(0x203)](_0x25c0b5(0x1fc))[_0x25c0b5(0x20e)]({'model':{'key':_0x25c0b5(0x1ed)},'view':_0x4cfaac=>String(_0x4cfaac)===String(_0x58e73b)?null:{'key':_0x25c0b5(0x1e2),'value':{'line-height':_0x4cfaac}}}),_0x211566[_0x25c0b5(0x200)][_0x25c0b5(0x203)](_0x25c0b5(0x208))[_0x25c0b5(0x20e)]({'model':{'key':_0x25c0b5(0x1ed),'value':_0x3de470=>{const _0x48d1f6=_0x25c0b5;let _0x5da6ae=_0x3de470[_0x48d1f6(0x1ee)](_0x48d1f6(0x1eb));return _0x4175c2(_0x5da6ae)&&(_0x5da6ae=String(Number(_0x5da6ae[_0x48d1f6(0x202)](0x0,-0x1))/0x64)),String(_0x5da6ae)===String(_0x58e73b)?null:_0x5da6ae;}},'view':{'styles':{'line-height':/.*/}}});}[_0x512178(0x1f6)](){const _0x4f4dc5=_0x512178,_0x205737=this[_0x4f4dc5(0x1fd)],_0x2d8a6f=this[_0x4f4dc5(0x1fd)][_0x4f4dc5(0x205)][_0x4f4dc5(0x1f4)](_0x4f4dc5(0x20c)),_0x11c6f1=_0x2d265c(this[_0x4f4dc5(0x1fd)][_0x4f4dc5(0x205)][_0x4f4dc5(0x1f4)](_0x4f4dc5(0x1ed)))[_0x4f4dc5(0x1e6)](_0x52803d=>_0x52803d[_0x4f4dc5(0x1fb)]),_0x38607c=_0xffd12b(_0x4f4dc5(0x1ed),_0x11c6f1);_0x205737[_0x4f4dc5(0x200)][_0x4f4dc5(0x20e)](_0x38607c),_0x205737[_0x4f4dc5(0x200)][_0x4f4dc5(0x203)](_0x4f4dc5(0x208))[_0x4f4dc5(0x20e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4f4dc5(0x1ed),'value':_0xda294c=>{const _0x6e4678=_0x4f4dc5;let _0x5dba64=_0xda294c[_0x6e4678(0x1ee)](_0x6e4678(0x1eb));return _0x4175c2(_0x5dba64)&&(_0x5dba64=String(Number(_0x5dba64[_0x6e4678(0x202)](0x0,-0x1))/0x64)),_0x5dba64===String(_0x2d8a6f)?null:_0x38607c[_0x6e4678(0x1fb)][_0x6e4678(0x1ea)][_0x6e4678(0x1f9)](_0x5dba64)?_0x5dba64:null;}}});}}
|