@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250815.0 → 0.0.0-nightly-20250816.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +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:()=>k,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>N});var e=n(782),t=n(584);const r=s;function o(){const e=["12shnTbD","execute","removeAttribute","1529305QaQTVZ","1975250bkcpVV","schema","15592819LUxvXq","1025008cQiMVv","document","2LjvBMf","refresh","lineHeight","_canHaveLineHeight","editor","310924wHMnmV","checkAttribute","1771371KFdMFW","setAttribute","6ywecYR","change","getSelectedBlocks","isEnabled","from","4JaDUTz","getAttribute","selection","value","model","27avdBZi","filter","919257jyvSHW"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=155]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(271091===parseInt(t(170))/1*(-parseInt(t(165))/2)+-parseInt(t(155))/3*(parseInt(t(179))/4)+-parseInt(t(159))/5*(-parseInt(t(174))/6)+-parseInt(t(172))/7+-parseInt(t(163))/8*(parseInt(t(184))/9)+-parseInt(t(160))/10+-parseInt(t(162))/11*(-parseInt(t(156))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(166)](){const e=r,n=this[e(169)][e(183)][e(164)],i=(0,t.first)(n[e(181)][e(176)]());this[e(177)]=Boolean(i)&&this[e(168)](i),this[e(182)]=this[e(177)]&&i[e(180)](e(167))}[r(157)](e={}){const t=r,n=this[t(169)][t(183)],i=n[t(164)][t(181)],o=e[t(182)];n[t(175)](e=>{const n=t,r=Array[n(178)](i[n(176)]())[n(185)](e=>this[n(168)](e));for(const t of r)o?e[n(173)](n(167),o,t):e[n(158)](n(167),t)})}[r(168)](e){const t=r;return this[t(169)][t(183)][t(161)][t(171)](e,t(167))}}var c=n(783);function u(){const e=["toLowerCase","push","8JhYnsy","key","filter","value","12MRPGtZ","Single","double","1178316Oghjpa","options","22569360xlKECf","view","3JhsSKQ","number","single","values","model","1jnsrnw","2353116FPCbuS","20DlbQZf","style","10124514sIUEhH","line-height-single","5151476AYaOsW","5409270ZOKZnS","line-height:","default","defaultValue","span","1495613jupEsg","class","line-height-double","string","map","Double"];return(u=function(){return e})()}!function(e){const t=f,n=e();for(;;)try{if(703699===-parseInt(t(340))/1*(-parseInt(t(331))/2)+parseInt(t(335))/3*(parseInt(t(341))/4)+-parseInt(t(311))/5+parseInt(t(328))/6*(parseInt(t(316))/7)+-parseInt(t(324))/8*(-parseInt(t(308))/9)+parseInt(t(342))/10*(parseInt(t(310))/11)+-parseInt(t(333))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const l={get single(){const e=f;return{title:e(329),model:e(337),view:{key:e(317),value:e(309)}}},get double(){const e=f;return{title:e(321),model:e(330),view:{key:e(317),value:e(318)}}}};function d(e){const t=f;return t(319)==typeof e&&t(313)===e[t(322)]()}function h(e){const t=f;return e[t(332)][t(320)](n=>d(n)?{title:String(e[t(314)]),model:t(313)}:(t(336)==typeof n&&(n=String(n)),t(319)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(315),styles:{"line-height":n}}}:function(e){const t=f;return t(319)==typeof e?l[e]:l[e[t(339)]]}(n)))[t(326)](e=>void 0!==e)}function f(e,t){const n=u();return(f=function(e,t){return n[e-=308]})(e,t)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=212]})(e,t)}function m(){const e=["includes","afterInit","values","392bJBVuK","36AVYOvS","34919880DTjvaB","pluginName","5326698DAYgwe","29613OmKTPb","style","fromCharCode","_validateConfig","93408hyyvLW","setAttributeProperties","attributeToAttribute","define","commands","for","6vYnlgT","config","getStyle","editor","slice","lineHeight.options","string","_prepareAnyValueConverters","lineHeight.supportAllValues","line-height-invalid-use-of-named-presets","schema","downcast","LineHeightEditing","2323174VJVCLn","upcast","filter","join","_preparePredefinedConverters","11oorsTC","lineHeight.defaultValue","extend","5370rbismr","map","add","model","lineHeight","$block","line-height","isOfficialPlugin","isPremiumPlugin","href","get","default","init","262620apMrXv","length","conversion"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(890540===-parseInt(t(216))/1*(-parseInt(t(226))/2)+-parseInt(t(220))/3+-parseInt(t(212))/4*(parseInt(t(247))/5)+-parseInt(t(215))/6+-parseInt(t(239))/7+-parseInt(t(266))/8*(parseInt(t(260))/9)+parseInt(t(213))/10*(parseInt(t(244))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(214)](){return p(238)}static get[p(254)](){return!0}static get[p(255)](){return!0}constructor(e){const t=p;super(e),e[t(227)][t(223)](t(251),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(258),2,2.5,3]})}[p(259)](){const e=p,t=this[e(229)];this[e(219)](),t[e(250)][e(236)][e(246)](e(252),{allowAttributes:e(251)}),t[e(250)][e(236)][e(221)](e(251),{isFormatting:!0}),t[e(224)][e(249)](e(251),new a(t)),this[e(229)][e(227)][e(257)](e(234))?this[e(233)]():this[e(243)]()}[p(264)](){!async function(e){const n=m([73,49,65,81,71,80,104,48,121,87,76,118,90,86,100,110,117,55,99,68,103,113,115,106,85,116,112,102,82,98,56,78,111,53,108,74,57,88,119,67,97,51,70,105,101,50,69,109,77,83,89,122,66,84,79,52,120,72,75,107,114,54]),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(248)](e=>String[t(218)](e))[t(242)]("")}!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([73]);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:1755216e3;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(256)]);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(219)](){const e=p,n=this[e(229)];if(!n[e(227)][e(257)](e(234)))return;const i=n[e(227)][e(257)](e(231))[e(241)](t=>e(232)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(261)])throw new t.CKEditorError(e(235),null,{namedPresets:i})}[p(233)](){const e=p,t=this[e(229)],n=this[e(229)][e(227)][e(257)](e(245));t[e(262)][e(225)](e(237))[e(222)]({model:{key:e(251)},view:t=>String(t)===String(n)?null:{key:e(217),value:{"line-height":t}}}),t[e(262)][e(225)](e(240))[e(222)]({model:{key:e(251),value:t=>{const i=e;let r=t[i(228)](i(253));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(230)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(243)](){const e=p,t=this[e(229)],n=this[e(229)][e(227)][e(257)](e(245)),i=h(this[e(229)][e(227)][e(257)](e(251)))[e(241)](t=>t[e(250)]),r=function(e,t){const n=f,i={model:{key:e,values:[]},view:{}};for(const e of t)n(317)===e[n(334)]?.[n(325)]?(i[n(339)][n(338)][n(323)](e[n(339)]),i[n(334)][e[n(339)]]={key:n(317),value:e[n(334)][n(327)]}):(i[n(339)][n(338)][n(323)](e[n(339)]),i[n(334)][e[n(339)]]={key:n(343),value:n(312)+e[n(339)]+";"});return i}(e(251),i);t[e(262)][e(222)](r),t[e(262)][e(225)](e(240))[e(222)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(251),value:t=>{const i=e;let o=t[i(228)](i(253));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(230)](0,-1))/100)),o===String(n)?null:r[i(250)][i(265)][i(263)](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),O=n.n(_),E=n(667),C=n.n(E),S=n(357),T=n.n(S),x=n(422),A={attributes:{"data-cke":!0}};A.setAttributes=C(),A.insert=O().bind(null,"head"),A.domAPI=H(),A.insertStyleElement=T();b()(x.A,A);x.A&&x.A.locals&&x.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=["LineHeight","23242520jxZWNQ","isOfficialPlugin","532734ASOfQF","7iUQxKE","isPremiumPlugin","1758898ltMMNj","1813842aDexbf","16ftKEUh","requires","5309015UwgyYH","984724PldCWX","1iyHNzX","pluginName","1713198VtNzni"];return(K=function(){return e})()}var V=P;function P(e,t){var n=K();return(P=function(e,t){return n[e-=311]})(e,t)}!function(e){for(var t=P,n=e();;)try{if(689216===-parseInt(t(320))/1*(parseInt(t(314))/2)+parseInt(t(311))/3+parseInt(t(319))/4+-parseInt(t(318))/5+-parseInt(t(322))/6*(-parseInt(t(312))/7)+-parseInt(t(316))/8*(parseInt(t(315))/9)+parseInt(t(324))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class k extends e.Plugin{static get[V(317)](){return[w,N]}static get[V(321)](){return V(323)}static get[V(325)](){return!0}static get[V(313)](){return!0}}function M(e,t){var n=j();return(M=function(e,t){return n[e-=457]})(e,t)}function j(){var e=["151270nJEauR","2217970sfUlqX","18GTBaIm","170242qLqKSd","1381470mJDCMv","2669877HNJegO","649AbVogt","4fcKugC","3077664RcsQUq","6DdDFbr","677131jLGycO"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(314291===-parseInt(t(457))/1*(parseInt(t(463))/2)+parseInt(t(458))/3*(parseInt(t(461))/4)+parseInt(t(466))/5+parseInt(t(467))/6*(-parseInt(t(464))/7)+-parseInt(t(462))/8+-parseInt(t(459))/9+-parseInt(t(465))/10*(-parseInt(t(460))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(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 l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>k,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=s;function o(){const e=["12shnTbD","execute","removeAttribute","1529305QaQTVZ","1975250bkcpVV","schema","15592819LUxvXq","1025008cQiMVv","document","2LjvBMf","refresh","lineHeight","_canHaveLineHeight","editor","310924wHMnmV","checkAttribute","1771371KFdMFW","setAttribute","6ywecYR","change","getSelectedBlocks","isEnabled","from","4JaDUTz","getAttribute","selection","value","model","27avdBZi","filter","919257jyvSHW"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=155]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(271091===parseInt(t(170))/1*(-parseInt(t(165))/2)+-parseInt(t(155))/3*(parseInt(t(179))/4)+-parseInt(t(159))/5*(-parseInt(t(174))/6)+-parseInt(t(172))/7+-parseInt(t(163))/8*(parseInt(t(184))/9)+-parseInt(t(160))/10+-parseInt(t(162))/11*(-parseInt(t(156))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(166)](){const e=r,n=this[e(169)][e(183)][e(164)],i=(0,t.first)(n[e(181)][e(176)]());this[e(177)]=Boolean(i)&&this[e(168)](i),this[e(182)]=this[e(177)]&&i[e(180)](e(167))}[r(157)](e={}){const t=r,n=this[t(169)][t(183)],i=n[t(164)][t(181)],o=e[t(182)];n[t(175)](e=>{const n=t,r=Array[n(178)](i[n(176)]())[n(185)](e=>this[n(168)](e));for(const t of r)o?e[n(173)](n(167),o,t):e[n(158)](n(167),t)})}[r(168)](e){const t=r;return this[t(169)][t(183)][t(161)][t(171)](e,t(167))}}var c=n(783);function l(){const e=["toLowerCase","push","8JhYnsy","key","filter","value","12MRPGtZ","Single","double","1178316Oghjpa","options","22569360xlKECf","view","3JhsSKQ","number","single","values","model","1jnsrnw","2353116FPCbuS","20DlbQZf","style","10124514sIUEhH","line-height-single","5151476AYaOsW","5409270ZOKZnS","line-height:","default","defaultValue","span","1495613jupEsg","class","line-height-double","string","map","Double"];return(l=function(){return e})()}!function(e){const t=f,n=e();for(;;)try{if(703699===-parseInt(t(340))/1*(-parseInt(t(331))/2)+parseInt(t(335))/3*(parseInt(t(341))/4)+-parseInt(t(311))/5+parseInt(t(328))/6*(parseInt(t(316))/7)+-parseInt(t(324))/8*(-parseInt(t(308))/9)+parseInt(t(342))/10*(parseInt(t(310))/11)+-parseInt(t(333))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=f;return{title:e(329),model:e(337),view:{key:e(317),value:e(309)}}},get double(){const e=f;return{title:e(321),model:e(330),view:{key:e(317),value:e(318)}}}};function d(e){const t=f;return t(319)==typeof e&&t(313)===e[t(322)]()}function h(e){const t=f;return e[t(332)][t(320)](n=>d(n)?{title:String(e[t(314)]),model:t(313)}:(t(336)==typeof n&&(n=String(n)),t(319)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(315),styles:{"line-height":n}}}:function(e){const t=f;return t(319)==typeof e?u[e]:u[e[t(339)]]}(n)))[t(326)](e=>void 0!==e)}function f(e,t){const n=l();return(f=function(e,t){return n[e-=308]})(e,t)}function p(){const e=["define","model","line-height","get","49rFhgcs","LineHeightEditing","map","commands","lineHeight.supportAllValues","1366492gFBFDv","init","_prepareAnyValueConverters","conversion","filter","isPremiumPlugin","getStyle","schema","1968byQQrC","config","line-height-invalid-use-of-named-presets","setAttributeProperties","afterInit","pluginName","lineHeight.defaultValue","string","join","281558rFIpjK","isOfficialPlugin","default","for","attributeToAttribute","includes","style","122394ZEFSyI","slice","157479QTaHZG","_preparePredefinedConverters","2898455tMCwKs","editor","lineHeight.options","9FVluYN","$block","fromCharCode","_validateConfig","10377590TQlVhJ","values","extend","href","add","lineHeight","length","upcast","downcast","5058cwlNZv"];return(p=function(){return e})()}const g=m;function m(e,t){const n=p();return(m=function(e,t){return n[e-=175]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(415216===parseInt(t(214))/1+-parseInt(t(205))/2*(-parseInt(t(219))/3)+-parseInt(t(188))/4+-parseInt(t(216))/5+-parseInt(t(212))/6*(parseInt(t(183))/7)+parseInt(t(196))/8*(-parseInt(t(178))/9)+parseInt(t(223))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);class w extends e.Plugin{static get[g(201)](){return g(184)}static get[g(206)](){return!0}static get[g(193)](){return!0}constructor(e){const t=g;super(e),e[t(197)][t(179)](t(228),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(207),2,2.5,3]})}[g(189)](){const e=g,t=this[e(217)];this[e(222)](),t[e(180)][e(195)][e(225)](e(220),{allowAttributes:e(228)}),t[e(180)][e(195)][e(199)](e(228),{isFormatting:!0}),t[e(186)][e(227)](e(228),new a(t)),this[e(217)][e(197)][e(182)](e(187))?this[e(190)]():this[e(215)]()}[g(200)](){!async function(e){const n=g([79,50,78,68,102,73,77,80,114,115,81,66,87,74,89,56,112,85,122,72,103,105,82,51,83,113,69,98,84,97,110,53,75,65,108,120,119,55,99,70,106,57,121,109,48,101,117,52,49,67,90,107,100,86,88,118,71,104,76,116,111,54]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(185)](e=>String[t(221)](e))[t(204)]("")}!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([79]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1755302400;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(226)]);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)}[g(222)](){const e=g,n=this[e(217)];if(!n[e(197)][e(182)](e(187)))return;const i=n[e(197)][e(182)](e(218))[e(192)](t=>e(203)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(175)])throw new t.CKEditorError(e(198),null,{namedPresets:i})}[g(190)](){const e=g,t=this[e(217)],n=this[e(217)][e(197)][e(182)](e(202));t[e(191)][e(208)](e(177))[e(209)]({model:{key:e(228)},view:t=>String(t)===String(n)?null:{key:e(211),value:{"line-height":t}}}),t[e(191)][e(208)](e(176))[e(209)]({model:{key:e(228),value:t=>{const i=e;let r=t[i(194)](i(181));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(213)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[g(215)](){const e=g,t=this[e(217)],n=this[e(217)][e(197)][e(182)](e(202)),i=h(this[e(217)][e(197)][e(182)](e(228)))[e(192)](t=>t[e(180)]),r=function(e,t){const n=f,i={model:{key:e,values:[]},view:{}};for(const e of t)n(317)===e[n(334)]?.[n(325)]?(i[n(339)][n(338)][n(323)](e[n(339)]),i[n(334)][e[n(339)]]={key:n(317),value:e[n(334)][n(327)]}):(i[n(339)][n(338)][n(323)](e[n(339)]),i[n(334)][e[n(339)]]={key:n(343),value:n(312)+e[n(339)]+";"});return i}(e(228),i);t[e(191)][e(209)](r),t[e(191)][e(208)](e(176))[e(209)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(228),value:t=>{const i=e;let o=t[i(194)](i(181));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(213)](0,-1))/100)),o===String(n)?null:r[i(180)][i(224)][i(210)](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),T=n.n(S),N=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=C(),x.insert=E().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=T();b()(N.A,x);N.A&&N.A.locals&&N.A.locals;class A 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=["LineHeight","23242520jxZWNQ","isOfficialPlugin","532734ASOfQF","7iUQxKE","isPremiumPlugin","1758898ltMMNj","1813842aDexbf","16ftKEUh","requires","5309015UwgyYH","984724PldCWX","1iyHNzX","pluginName","1713198VtNzni"];return(K=function(){return e})()}var P=V;function V(e,t){var n=K();return(V=function(e,t){return n[e-=311]})(e,t)}!function(e){for(var t=V,n=e();;)try{if(689216===-parseInt(t(320))/1*(parseInt(t(314))/2)+parseInt(t(311))/3+parseInt(t(319))/4+-parseInt(t(318))/5+-parseInt(t(322))/6*(-parseInt(t(312))/7)+-parseInt(t(316))/8*(parseInt(t(315))/9)+parseInt(t(324))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class k extends e.Plugin{static get[P(317)](){return[w,A]}static get[P(321)](){return P(323)}static get[P(325)](){return!0}static get[P(313)](){return!0}}function M(e,t){var n=j();return(M=function(e,t){return n[e-=457]})(e,t)}function j(){var e=["151270nJEauR","2217970sfUlqX","18GTBaIm","170242qLqKSd","1381470mJDCMv","2669877HNJegO","649AbVogt","4fcKugC","3077664RcsQUq","6DdDFbr","677131jLGycO"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(314291===-parseInt(t(457))/1*(parseInt(t(463))/2)+parseInt(t(458))/3*(parseInt(t(461))/4)+parseInt(t(466))/5+parseInt(t(467))/6*(-parseInt(t(464))/7)+-parseInt(t(462))/8+-parseInt(t(459))/9+-parseInt(t(465))/10*(-parseInt(t(460))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(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 _0x27644a,Plugin as _0x57145b}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0xa0dcda,CKEditorError as _0x2e9392,uid as _0x2d8817,Collection as _0x4c1a6f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x47c77a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x339525,createDropdown as _0x4deb07,addListToDropdown as _0x403811,MenuBarMenuView as _0x5b106e,MenuBarMenuListView as _0x25bc65,MenuBarMenuListItemView as _0x125159,MenuBarMenuListItemButtonView as _0x4cb26e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x15f272}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x27644a{['refresh'](){const _0xdd4ab6=this['editor']['model']['document'],_0x23e02a=_0xa0dcda(_0xdd4ab6['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x23e02a)&&this['_canHaveLineHeight'](_0x23e02a),this['value']=this['isEnabled']&&_0x23e02a['getAttribute']('lineHeight');}['execute'](_0x441b8d={}){const _0x3d0d83=this['editor']['model'],_0x5e1c3d=_0x3d0d83['document']['selection'],_0x438bf4=_0x441b8d['value'];_0x3d0d83['change'](_0x188e90=>{const _0x5f47cd=Array['from'](_0x5e1c3d['getSelectedBlocks']())['filter'](_0x4f442b=>this['_canHaveLineHeight'](_0x4f442b));for(const _0xa7be34 of _0x5f47cd)_0x438bf4?_0x188e90['setAttribute']('lineHeight',_0x438bf4,_0xa7be34):_0x188e90['removeAttribute']('lineHeight',_0xa7be34);});}['_canHaveLineHeight'](_0x2ffd9f){return this['editor']['model']['schema']['checkAttribute'](_0x2ffd9f,'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(_0x4c53c8){return'string'==typeof _0x4c53c8&&'default'===_0x4c53c8['toLowerCase']();}function a(_0x49fef1){return _0x49fef1['options']['map'](_0x5d8a25=>{return f(_0x5d8a25)?{'title':String(_0x49fef1['defaultValue']),'model':'default'}:('number'==typeof _0x5d8a25&&(_0x5d8a25=String(_0x5d8a25)),'string'!=typeof _0x5d8a25?_0x5d8a25:parseFloat(_0x5d8a25)?{'title':_0x5d8a25,'model':_0x5d8a25,'view':{'name':'span','styles':{'line-height':_0x5d8a25}}}:'string'==typeof(_0x3c31a0=_0x5d8a25)?v[_0x3c31a0]:v[_0x3c31a0['model']]);var _0x3c31a0;})['filter'](_0x564933=>void 0x0!==_0x564933);}class e extends _0x57145b{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x485764){super(_0x485764),_0x485764['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x33c026=this['editor'];this['_validateConfig'](),_0x33c026['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x33c026['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x33c026['commands']['add']('lineHeight',new n(_0x33c026)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3c11c3){const _0xf2f212=_0x1822c8([0x49,0x31,0x41,0x51,0x47,0x50,0x68,0x30,0x79,0x57,0x4c,0x76,0x5a,0x56,0x64,0x6e,0x75,0x37,0x63,0x44,0x67,0x71,0x73,0x6a,0x55,0x74,0x70,0x66,0x52,0x62,0x38,0x4e,0x6f,0x35,0x6c,0x4a,0x39,0x58,0x77,0x43,0x61,0x33,0x46,0x69,0x65,0x32,0x45,0x6d,0x4d,0x53,0x59,0x7a,0x42,0x54,0x4f,0x34,0x78,0x48,0x4b,0x6b,0x72,0x36]),_0xcd3804=0x2dddd5f7,_0x5dcfc7=0x2ddaa57f^_0xcd3804,_0x387576=window[_0x1822c8([0x44,0x61,0x74,0x65])][_0x1822c8([0x6e,0x6f,0x77])](),_0x1223e4=_0x3c11c3[_0x1822c8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c193e=new window[(_0x1822c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x424a1f=>{_0x1223e4[_0x1822c8([0x6f,0x6e,0x63,0x65])](_0x1822c8([0x72,0x65,0x61,0x64,0x79]),_0x424a1f);}),_0x39183b={[_0x1822c8([0x6b,0x74,0x79])]:_0x1822c8([0x45,0x43]),[_0x1822c8([0x75,0x73,0x65])]:_0x1822c8([0x73,0x69,0x67]),[_0x1822c8([0x63,0x72,0x76])]:_0x1822c8([0x50,0x2d,0x32,0x35,0x36]),[_0x1822c8([0x78])]:_0x1822c8([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]),[_0x1822c8([0x79])]:_0x1822c8([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]),[_0x1822c8([0x61,0x6c,0x67])]:_0x1822c8([0x45,0x53,0x32,0x35,0x36])},_0x96fd98=_0x1223e4[_0x1822c8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1822c8([0x67,0x65,0x74])](_0x1822c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb7c569(){let _0x1a4837,_0x1a3d19=null,_0x5b17fd=null;try{if(_0x96fd98==_0x1822c8([0x47,0x50,0x4c]))return _0x1822c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a4837=_0x4f3516(),!_0x1a4837)return _0x1822c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a4837[_0x1822c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b17fd=_0x1f1768(_0x1a4837[_0x1822c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a4837[_0x1822c8([0x6a,0x74,0x69])])),await _0x344236()?_0x154cf5()?_0x9ada32()?_0x1822c8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56bbdf()?(_0x1a4837[_0x1822c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1822c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a3d19=_0x18abcb(_0x1822c8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a4837[_0x1822c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1822c8([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a3d19=_0x18abcb(_0x1822c8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10295e()):_0x1822c8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1822c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1822c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1822c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x9ada32(){const _0x3e9f95=[_0x1822c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1822c8([0x74,0x72,0x69,0x61,0x6c])][_0x1822c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4837[_0x1822c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x387576/0x3e8:0xe10*_0x5dcfc7;return _0x1a4837[_0x1822c8([0x65,0x78,0x70])]<_0x3e9f95;}function _0x154cf5(){const _0x430614=_0x1a4837[_0x1822c8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x430614&&(!!_0x430614[_0x1822c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1822c8([0x2a]))||!!_0x430614[_0x1822c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1822c8([0x4c,0x48])));}function _0x56bbdf(){const _0x3c9252=_0x1a4837[_0x1822c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c9252||0x0==_0x3c9252[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2766ed}=new URL(window[_0x1822c8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c9252[_0x1822c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2766ed))return!0x0;const _0x35b2df=_0x2766ed[_0x1822c8([0x73,0x70,0x6c,0x69,0x74])](_0x1822c8([0x2e]));return _0x3c9252[_0x1822c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52c57a=>_0x52c57a[_0x1822c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1822c8([0x2a])))[_0x1822c8([0x6d,0x61,0x70])](_0x4c2073=>_0x4c2073[_0x1822c8([0x73,0x70,0x6c,0x69,0x74])](_0x1822c8([0x2e])))[_0x1822c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6a6d00=>_0x6a6d00[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35b2df[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1822c8([0x6d,0x61,0x70])](_0x457e44=>Array(_0x35b2df[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x457e44[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1822c8([0x66,0x69,0x6c,0x6c])](_0x457e44[0x0]===_0x1822c8([0x2a])?_0x1822c8([0x2a]):'')[_0x1822c8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x457e44))[_0x1822c8([0x73,0x6f,0x6d,0x65])](_0x444a7e=>_0x35b2df[_0x1822c8([0x65,0x76,0x65,0x72,0x79])]((_0xea066b,_0x5c1612)=>_0x444a7e[_0x5c1612]===_0xea066b||_0x444a7e[_0x5c1612]===_0x1822c8([0x2a])));}function _0x10295e(){return _0x1a3d19&&_0x5b17fd?new window[(_0x1822c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x135276,_0x408a5b)=>{_0x1a3d19[_0x1822c8([0x74,0x68,0x65,0x6e])](_0x135276,_0x408a5b),_0x5b17fd[_0x1822c8([0x74,0x68,0x65,0x6e])](_0x2a6dcc=>{_0x2a6dcc!=_0x1822c8([0x56,0x61,0x6c,0x69,0x64])&&_0x135276(_0x2a6dcc);},_0x408a5b);}):_0x1a3d19||_0x5b17fd||_0x1822c8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f1768(_0x1b9266,_0x279832){return new window[(_0x1822c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3406ad=>{if(_0x3b46f4())return _0x3406ad(_0x1822c8([0x56,0x61,0x6c,0x69,0x64]));_0x1e12fa(),_0x1223e4[_0x1822c8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1822c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x144700=!0x1;const _0xdc8c8d=_0x2d8817();function _0x1f7702(_0xb1fd8f){return!!_0xb1fd8f&&(typeof _0xb1fd8f===_0x1822c8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb1fd8f===_0x1822c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb1fd8f[_0x1822c8([0x74,0x68,0x65,0x6e])]===_0x1822c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb1fd8f[_0x1822c8([0x63,0x61,0x74,0x63,0x68])]===_0x1822c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x856365(_0x41f7fb){_0x563276(_0x41f7fb)[_0x1822c8([0x74,0x68,0x65,0x6e])](_0x5f59f8=>{if(!_0x5f59f8||_0x5f59f8[_0x1822c8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1822c8([0x6f,0x6b]))return _0x1822c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x227006(_0x580cb9(_0xdc8c8d+_0x279832))!=_0x5f59f8[_0x1822c8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1822c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1822c8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1822c8([0x74,0x68,0x65,0x6e])](_0x43bd46=>(_0x16d73f(),_0x43bd46),()=>{const _0x2300b7=_0x5f4822();return null==_0x2300b7?(_0x16d73f(),_0x1822c8([0x56,0x61,0x6c,0x69,0x64])):_0x1822c8(_0x387576-_0x2300b7>(0x9d151f7^_0xcd3804)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1822c8([0x74,0x68,0x65,0x6e])](_0x3406ad)[_0x1822c8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3406ad(_0x1822c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x70d621=0x2deb3b77^_0xcd3804;function _0x16d73f(){const _0x40a370=_0x1822c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x227006(_0x580cb9(_0x1b9266)),_0x30f305=_0x421389(_0x227006(window[_0x1822c8([0x4d,0x61,0x74,0x68])][_0x1822c8([0x63,0x65,0x69,0x6c])](_0x387576/_0x70d621)));window[_0x1822c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1822c8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40a370,_0x30f305);}function _0x5f4822(){const _0x2a9984=_0x1822c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x227006(_0x580cb9(_0x1b9266)),_0x1cd47b=window[_0x1822c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1822c8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a9984);return _0x1cd47b?window[_0x1822c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x421389(_0x1cd47b),0x10)*_0x70d621:null;}function _0x563276(_0x536557){return new window[(_0x1822c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e3cc8,_0x2a86b1)=>{_0x536557[_0x1822c8([0x74,0x68,0x65,0x6e])](_0x4e3cc8,_0x2a86b1),window[_0x1822c8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a86b1,0x2ddc0137^_0xcd3804);});}}_0x1223e4[_0x1822c8([0x6f,0x6e])](_0x1822c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x214ab6,_0x5295aa)=>{if(_0x5295aa[0x0]!=_0x1b9266)return _0x3406ad(_0x1822c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5295aa[0x1]={..._0x5295aa[0x1],[_0x1822c8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdc8c8d};},{[_0x1822c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1822c8([0x68,0x69,0x67,0x68])}),_0x1223e4[_0x1822c8([0x6f,0x6e])](_0x1822c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e6d24=>{_0x1f7702(_0x2e6d24[_0x1822c8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x144700=!0x0,_0x856365(_0x2e6d24[_0x1822c8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1822c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1822c8([0x6c,0x6f,0x77])}),_0x5c193e[_0x1822c8([0x74,0x68,0x65,0x6e])](()=>{_0x144700||_0x3406ad(_0x1822c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b46f4(){return _0x1223e4[_0x1822c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1822c8([0x76,0x69,0x65,0x77])][_0x1822c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1822c8([0x61,0x75,0x74,0x6f]);}function _0x1e12fa(){_0x1223e4[_0x1822c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1822c8([0x76,0x69,0x65,0x77])][_0x1822c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1822c8([0x61,0x75,0x74,0x6f]);}}function _0x18abcb(_0x363735){const _0x3ad367=[new window[(_0x1822c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x286e8d=>setTimeout(_0x286e8d,0x2dd4eb3b^_0xcd3804)),_0x5c193e[_0x1822c8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1822c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1faa2c=>{let _0x2b9318=0x0;_0x1223e4[_0x1822c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1822c8([0x6f,0x6e])](_0x1822c8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e8704,_0x5cd2a3)=>{_0x5cd2a3[0x0][_0x1822c8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b9318++,_0x2b9318==(0x2dddd40f^_0xcd3804)&&(_0x1faa2c(),_0x5e8704[_0x1822c8([0x6f,0x66,0x66])]());});}))];return window[_0x1822c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1822c8([0x72,0x61,0x63,0x65])](_0x3ad367)[_0x1822c8([0x74,0x68,0x65,0x6e])](()=>_0x363735);}async function _0xe311f1(){await _0x5c193e,_0x1223e4[_0x1822c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1822c8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4282dc,_0x1223e4[_0x1822c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1822c8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4282dc,_0x1223e4[_0x1822c8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1822c8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46ead3(_0xeed386){const _0x3cd8a3=_0x24b5e5();_0x1223e4[_0x3cd8a3]=_0x1822c8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xeed386,_0xeed386!=_0x1822c8([0x56,0x61,0x6c,0x69,0x64])&&_0xe311f1();}function _0x24b5e5(){const _0x181fbd=window[_0x1822c8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1822c8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1822c8([0x6e,0x6f,0x77])]())[_0x1822c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1822c8([0x2e]),'');let _0x270d92=_0x1822c8([0x49]);for(let _0x1601ad=0x0;_0x1601ad<_0x181fbd[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1601ad+=0x2){let _0x3c7ae4=window[_0x1822c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x181fbd[_0x1822c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1601ad,_0x1601ad+0x2));_0x3c7ae4>=_0xf2f212[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c7ae4-=_0xf2f212[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x270d92+=_0xf2f212[_0x3c7ae4];}return _0x270d92;}function _0x4f3516(){const _0x1557e7=_0x96fd98[_0x1822c8([0x73,0x70,0x6c,0x69,0x74])](_0x1822c8([0x2e]));if(0x3!=_0x1557e7[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10642d(_0x1557e7[0x1]);function _0x10642d(_0x47827c){const _0x3fcd6b=_0x256bfc(_0x47827c);return _0x3fcd6b&&_0x32703b()?_0x3fcd6b:null;function _0x32703b(){const _0xdffc87=_0x3fcd6b[_0x1822c8([0x6a,0x74,0x69])],_0x5b8a82=window[_0x1822c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdffc87[_0x1822c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdffc87[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a678c={..._0x3fcd6b,[_0x1822c8([0x6a,0x74,0x69])]:_0xdffc87[_0x1822c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xdffc87[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a678c[_0x1822c8([0x76,0x63])],_0x580cb9(_0x3a678c)==_0x5b8a82;}}}async function _0x344236(){let _0x4b186d=!0x0;try{const _0x253b92=_0x96fd98[_0x1822c8([0x73,0x70,0x6c,0x69,0x74])](_0x1822c8([0x2e])),[_0x21f495,_0x42b2a2,_0x9447b9]=_0x253b92;return _0x464fd2(_0x21f495),await _0x5f541a(_0x21f495,_0x42b2a2,_0x9447b9),_0x4b186d;}catch{return!0x1;}function _0x464fd2(_0x4b8fe7){const _0x4ec54f=_0x256bfc(_0x4b8fe7);_0x4ec54f&&_0x4ec54f[_0x1822c8([0x61,0x6c,0x67])]==_0x1822c8([0x45,0x53,0x32,0x35,0x36])||(_0x4b186d=!0x1);}async function _0x5f541a(_0x583eaf,_0x2a96eb,_0x1f8a6c){const _0x4455bc=window[_0x1822c8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1822c8([0x66,0x72,0x6f,0x6d])](_0x290d3a(_0x1f8a6c),_0x46b6c6=>_0x46b6c6[_0x1822c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4cc8b4=new window[(_0x1822c8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1822c8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x583eaf+_0x1822c8([0x2e])+_0x2a96eb),_0x515f2d=window[_0x1822c8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1822c8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x515f2d)return;const _0x15a1bb=await _0x515f2d[_0x1822c8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1822c8([0x6a,0x77,0x6b]),_0x39183b,{[_0x1822c8([0x6e,0x61,0x6d,0x65])]:_0x1822c8([0x45,0x43,0x44,0x53,0x41]),[_0x1822c8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1822c8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1822c8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x515f2d[_0x1822c8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1822c8([0x6e,0x61,0x6d,0x65])]:_0x1822c8([0x45,0x43,0x44,0x53,0x41]),[_0x1822c8([0x68,0x61,0x73,0x68])]:{[_0x1822c8([0x6e,0x61,0x6d,0x65])]:_0x1822c8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15a1bb,_0x4455bc,_0x4cc8b4)||(_0x4b186d=!0x1);}}function _0x256bfc(_0x5b4d7b){return _0x5b4d7b[_0x1822c8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1822c8([0x65,0x79]))?JSON[_0x1822c8([0x70,0x61,0x72,0x73,0x65])](_0x290d3a(_0x5b4d7b)):null;}function _0x290d3a(_0x10b3a9){return window[_0x1822c8([0x61,0x74,0x6f,0x62])](_0x10b3a9[_0x1822c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1822c8([0x2b]))[_0x1822c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1822c8([0x2f])));}function _0x580cb9(_0x2b5377){let _0x4e55a5=0x1505;function _0x132cd7(_0x5410c8){for(let _0x1e1f22=0x0;_0x1e1f22<_0x5410c8[_0x1822c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e1f22++){const _0x6fcc2d=_0x5410c8[_0x1822c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e1f22);_0x4e55a5=(_0x4e55a5<<0x5)+_0x4e55a5+_0x6fcc2d,_0x4e55a5&=_0x4e55a5;}}function _0x3f0ad9(_0x57394f){Array[_0x1822c8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57394f)?_0x57394f[_0x1822c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f0ad9):_0x57394f&&typeof _0x57394f==_0x1822c8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1822c8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57394f)[_0x1822c8([0x73,0x6f,0x72,0x74])]()[_0x1822c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b80ce,_0x1e5094])=>{_0x132cd7(_0x5b80ce),_0x3f0ad9(_0x1e5094);}):_0x132cd7(window[_0x1822c8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57394f));}return _0x3f0ad9(_0x2b5377),_0x4e55a5>>>0x0;}function _0x227006(_0x43499d){return _0x43499d[_0x1822c8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1822c8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1822c8([0x30]));}function _0x421389(_0x3d83db){return _0x3d83db[_0x1822c8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1822c8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1822c8([0x6a,0x6f,0x69,0x6e])]('');}function _0x4282dc(){}function _0x1822c8(_0x20a7dc){return _0x20a7dc['map'](_0x42646f=>String['fromCharCode'](_0x42646f))['join']('');}_0x46ead3(await _0xb7c569());}(this);}['_validateConfig'](){const _0x2862a0=this['editor'];if(!_0x2862a0['config']['get']('lineHeight.supportAllValues'))return;const _0x5251a7=_0x2862a0['config']['get']('lineHeight.options')['filter'](_0x104f23=>'string'==typeof _0x104f23&&(!f(_0x104f23)&&isNaN(Number(_0x104f23))));if(_0x5251a7['length'])throw new _0x2e9392('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5251a7});}['_prepareAnyValueConverters'](){const _0x1c52ac=this['editor'],_0x20a35a=this['editor']['config']['get']('lineHeight.defaultValue');_0x1c52ac['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x14d6af=>String(_0x14d6af)===String(_0x20a35a)?null:{'key':'style','value':{'line-height':_0x14d6af}}}),_0x1c52ac['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x3382de=>{let _0x63f07a=_0x3382de['getStyle']('line-height');return _0x47c77a(_0x63f07a)&&(_0x63f07a=String(Number(_0x63f07a['slice'](0x0,-0x1))/0x64)),String(_0x63f07a)===String(_0x20a35a)?null:_0x63f07a;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x425db2=this['editor'],_0xc549be=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2d2166=function(_0x53387b,_0xabc021){const _0x2e1bbe={'model':{'key':_0x53387b,'values':[]},'view':{}};for(const _0x4f440c of _0xabc021)'class'===_0x4f440c['view']?.['key']?(_0x2e1bbe['model']['values']['push'](_0x4f440c['model']),_0x2e1bbe['view'][_0x4f440c['model']]={'key':'class','value':_0x4f440c['view']['value']}):(_0x2e1bbe['model']['values']['push'](_0x4f440c['model']),_0x2e1bbe['view'][_0x4f440c['model']]={'key':'style','value':'line-height:'+_0x4f440c['model']+';'});return _0x2e1bbe;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4c6028=>_0x4c6028['model']));_0x425db2['conversion']['attributeToAttribute'](_0x2d2166),_0x425db2['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3deb5e=>{let _0x604fb1=_0x3deb5e['getStyle']('line-height');return _0x47c77a(_0x604fb1)&&(_0x604fb1=String(Number(_0x604fb1['slice'](0x0,-0x1))/0x64)),_0x604fb1===String(_0xc549be)?null:_0x2d2166['model']['values']['includes'](_0x604fb1)?_0x604fb1:null;}}});}}class r extends _0x57145b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x384052={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x384052),this['_registerMenuBarComponent'](_0x384052),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e7b55=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26419b;for(const _0x2b4557 in _0x1e7b55){const _0xb6671e=_0x2b4557,_0x383c7f=_0x1e7b55[_0xb6671e];if('lineHeightLicenseKeyValid'==_0x383c7f||'lineHeightLicenseKeyInvalid'==_0x383c7f||'lineHeightLicenseKeyExpired'==_0x383c7f||'lineHeightLicenseKeyDomainLimit'==_0x383c7f||'lineHeightLicenseKeyNotAllowed'==_0x383c7f||'lineHeightLicenseKeyEvaluationLimit'==_0x383c7f||'lineHeightLicenseKeyTrialLimit'==_0x383c7f||'lineHeightLicenseKeyUsageLimit'==_0x383c7f){delete _0x1e7b55[_0xb6671e],_0x26419b=_0x383c7f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x26419b&&_0x1e7b55['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x26419b&&_0x1e7b55['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x26419b&&_0x1e7b55['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x26419b&&_0x1e7b55['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x26419b&&_0x1e7b55['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x26419b&&_0x1e7b55['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x26419b&&_0x1e7b55['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x472c39=this['editor'],t=_0x472c39['t'],_0xe258cf=_0x472c39['config']['get']('lineHeight'),_0x568c13={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0xe258cf)['map'](_0x19dff1=>{const _0x5df9d8=_0x568c13[_0x19dff1['title']];return _0x5df9d8&&_0x5df9d8!=_0x19dff1['title']&&(_0x19dff1=Object['assign']({},_0x19dff1,{'title':_0x5df9d8})),_0x19dff1;});}['_prepareListOptions'](){const _0x2cf7b9=this['editor']['commands']['get']('lineHeight'),_0x16373c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x13ca85=this['_getLocalizedLineHeightOptions'](),_0x321875=new _0x4c1a6f(),_0xbdb805=_0x34df26=>'default'===_0x34df26||String(_0x16373c)===_0x34df26;for(const _0x619c2e of _0x13ca85){const _0x5749e7={'type':'button','model':new _0x339525({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x619c2e['title'],'withText':!0x0})};_0xbdb805(_0x619c2e['model'])?(_0x5749e7['model']['bind']('isOn')['to'](_0x2cf7b9,'value',_0x325b98=>!_0x325b98),_0x5749e7['model']['commandParam']=void 0x0):(_0x5749e7['model']['bind']('isOn')['to'](_0x2cf7b9,'value',_0x53151b=>_0x53151b===_0x619c2e['model']),_0x5749e7['model']['commandParam']=_0x619c2e['model']),_0x321875['add'](_0x5749e7);}if(this['_shouldRenderCustomValueOption']()){const _0x1b6875=this['_getCustomValueOptionDefinition'](_0x13ca85);_0x321875['add'](_0x1b6875);}return _0x321875;}['_getCustomValueOptionDefinition'](_0x2cfb53){const _0x3b8128=this['editor'],t=_0x3b8128['t'],_0x33af31=_0x3b8128['commands']['get']('lineHeight'),_0x56f05d=_0x2cfb53['map'](_0x9a3a85=>_0x9a3a85['model']),_0x32f820={'type':'button','model':new _0x339525({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x32f820['model']['bind']('commandParam')['to'](_0x33af31,'value'),_0x32f820['model']['bind']('isOn')['to'](_0x33af31,'value',_0xded765=>!!_0xded765&&!_0x56f05d['includes'](String(_0xded765))),_0x32f820['model']['bind']('label')['to'](_0x33af31,'value',_0x5e22e2=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5e22e2))),_0x32f820;}['_registerToolbarComponent']({accessibleLabel:_0x497def,options:_0x3e45e0}){const _0xd465db=this['editor'],_0x207f76=_0xd465db['commands']['get']('lineHeight');_0xd465db['ui']['componentFactory']['add']('lineHeight',_0x4cd1bd=>{const _0x8aa3d2=_0x4deb07(_0x4cd1bd);return _0x403811(_0x8aa3d2,_0x3e45e0,{'role':'menu','ariaLabel':_0x497def}),_0x8aa3d2['buttonView']['set']({'label':_0x497def,'tooltip':!0x0,'icon':_0x15f272}),_0x8aa3d2['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x8aa3d2['bind']('isEnabled')['to'](_0x207f76),this['listenTo'](_0x8aa3d2,'execute',_0x514276=>{_0xd465db['execute'](_0x514276['source']['commandName'],{'value':_0x514276['source']['commandParam']}),_0xd465db['editing']['view']['focus']();}),_0x8aa3d2['once']('change:isOpen',()=>{const _0x187d91=_0x8aa3d2['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x8aa3d2,_0x3e45e0,_0x187d91);}),_0x8aa3d2;});}['_registerMenuBarComponent']({accessibleLabel:_0x15958a,options:_0x548579}){const _0x49d892=this['editor'],_0x18c970=_0x49d892['commands']['get']('lineHeight');_0x49d892['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2c34ec=>{const _0x5ca7c1=new _0x5b106e(_0x2c34ec);_0x5ca7c1['buttonView']['set']({'label':_0x15958a,'icon':_0x15f272}),_0x5ca7c1['bind']('isEnabled')['to'](_0x18c970);const _0x29d4d3=new _0x25bc65(_0x2c34ec);for(const _0xf80ff3 of _0x548579){const _0x1d34c0=new _0x125159(_0x2c34ec,_0x5ca7c1),_0x2874df=new _0x4cb26e(_0x2c34ec);_0x2874df['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2874df['bind'](...Object['keys'](_0xf80ff3['model']))['to'](_0xf80ff3['model']),_0x2874df['delegate']('execute')['to'](_0x5ca7c1),_0x2874df['on']('execute',()=>{_0x49d892['execute'](_0xf80ff3['model']['commandName'],{'value':_0xf80ff3['model']['commandParam']}),_0x49d892['editing']['view']['focus']();}),_0x1d34c0['children']['add'](_0x2874df),_0x29d4d3['items']['add'](_0x1d34c0);}return _0x5ca7c1['panelView']['children']['add'](_0x29d4d3),this['_attachCustomOptionVisibilityHandler'](_0x5ca7c1,_0x548579,_0x29d4d3),_0x5ca7c1;});}['_attachCustomOptionVisibilityHandler'](_0x11997c,_0xe811cd,_0x50c4da){if(!this['_shouldRenderCustomValueOption']())return;const _0x5dc0a7=()=>{if(!_0x11997c['isOpen'])return;_0x50c4da['items']['last']['isVisible']=Boolean(_0xe811cd['last']['model']['isOn']);};_0x5dc0a7(),_0x11997c['on']('change:isOpen',()=>{_0x5dc0a7();});}}class k extends _0x57145b{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 _0x475340,Plugin as _0x5981d6}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x46755c,CKEditorError as _0x375721,uid as _0x7a2176,Collection as _0x458a18}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x3c90ed}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x838094,createDropdown as _0x54c11b,addListToDropdown as _0x3959dd,MenuBarMenuView as _0x1d6fbc,MenuBarMenuListView as _0x473cb1,MenuBarMenuListItemView as _0xf36036,MenuBarMenuListItemButtonView as _0x264b2c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3597d3}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x475340{['refresh'](){const _0x55e14f=this['editor']['model']['document'],_0x5f1aaf=_0x46755c(_0x55e14f['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x5f1aaf)&&this['_canHaveLineHeight'](_0x5f1aaf),this['value']=this['isEnabled']&&_0x5f1aaf['getAttribute']('lineHeight');}['execute'](_0x525c76={}){const _0x35faed=this['editor']['model'],_0x335cb6=_0x35faed['document']['selection'],_0x1f9e40=_0x525c76['value'];_0x35faed['change'](_0x518d4e=>{const _0x5cde9a=Array['from'](_0x335cb6['getSelectedBlocks']())['filter'](_0x37b9dd=>this['_canHaveLineHeight'](_0x37b9dd));for(const _0x5d976b of _0x5cde9a)_0x1f9e40?_0x518d4e['setAttribute']('lineHeight',_0x1f9e40,_0x5d976b):_0x518d4e['removeAttribute']('lineHeight',_0x5d976b);});}['_canHaveLineHeight'](_0x4bc0b2){return this['editor']['model']['schema']['checkAttribute'](_0x4bc0b2,'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(_0x2d946b){return'string'==typeof _0x2d946b&&'default'===_0x2d946b['toLowerCase']();}function a(_0x552cc6){return _0x552cc6['options']['map'](_0x4f6457=>{return f(_0x4f6457)?{'title':String(_0x552cc6['defaultValue']),'model':'default'}:('number'==typeof _0x4f6457&&(_0x4f6457=String(_0x4f6457)),'string'!=typeof _0x4f6457?_0x4f6457:parseFloat(_0x4f6457)?{'title':_0x4f6457,'model':_0x4f6457,'view':{'name':'span','styles':{'line-height':_0x4f6457}}}:'string'==typeof(_0x3081a6=_0x4f6457)?v[_0x3081a6]:v[_0x3081a6['model']]);var _0x3081a6;})['filter'](_0xa3e5f7=>void 0x0!==_0xa3e5f7);}class e extends _0x5981d6{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b1956){super(_0x1b1956),_0x1b1956['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2dba03=this['editor'];this['_validateConfig'](),_0x2dba03['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2dba03['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2dba03['commands']['add']('lineHeight',new n(_0x2dba03)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x58fa7c){const _0x3582cb=_0x575bfb([0x4f,0x32,0x4e,0x44,0x66,0x49,0x4d,0x50,0x72,0x73,0x51,0x42,0x57,0x4a,0x59,0x38,0x70,0x55,0x7a,0x48,0x67,0x69,0x52,0x33,0x53,0x71,0x45,0x62,0x54,0x61,0x6e,0x35,0x4b,0x41,0x6c,0x78,0x77,0x37,0x63,0x46,0x6a,0x39,0x79,0x6d,0x30,0x65,0x75,0x34,0x31,0x43,0x5a,0x6b,0x64,0x56,0x58,0x76,0x47,0x68,0x4c,0x74,0x6f,0x36]),_0x4c053c=0x44244648,_0x51e25d=0x442336e8^_0x4c053c,_0x4d9c9e=window[_0x575bfb([0x44,0x61,0x74,0x65])][_0x575bfb([0x6e,0x6f,0x77])](),_0x1be088=_0x58fa7c[_0x575bfb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x454059=new window[(_0x575bfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x110b36=>{_0x1be088[_0x575bfb([0x6f,0x6e,0x63,0x65])](_0x575bfb([0x72,0x65,0x61,0x64,0x79]),_0x110b36);}),_0x118b89={[_0x575bfb([0x6b,0x74,0x79])]:_0x575bfb([0x45,0x43]),[_0x575bfb([0x75,0x73,0x65])]:_0x575bfb([0x73,0x69,0x67]),[_0x575bfb([0x63,0x72,0x76])]:_0x575bfb([0x50,0x2d,0x32,0x35,0x36]),[_0x575bfb([0x78])]:_0x575bfb([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]),[_0x575bfb([0x79])]:_0x575bfb([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]),[_0x575bfb([0x61,0x6c,0x67])]:_0x575bfb([0x45,0x53,0x32,0x35,0x36])},_0x404f1e=_0x1be088[_0x575bfb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x575bfb([0x67,0x65,0x74])](_0x575bfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b8287(){let _0x496796,_0x367619=null,_0x38660c=null;try{if(_0x404f1e==_0x575bfb([0x47,0x50,0x4c]))return _0x575bfb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x496796=_0x5044e5(),!_0x496796)return _0x575bfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x496796[_0x575bfb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38660c=_0x5615db(_0x496796[_0x575bfb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x496796[_0x575bfb([0x6a,0x74,0x69])])),await _0x149f48()?_0x35f74a()?_0x26b7b7()?_0x575bfb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d3027()?(_0x496796[_0x575bfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x575bfb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x367619=_0x37a0a5(_0x575bfb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x496796[_0x575bfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x575bfb([0x74,0x72,0x69,0x61,0x6c])&&(_0x367619=_0x37a0a5(_0x575bfb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e9636()):_0x575bfb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x575bfb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x575bfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x575bfb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26b7b7(){const _0x167ce9=[_0x575bfb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x575bfb([0x74,0x72,0x69,0x61,0x6c])][_0x575bfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x496796[_0x575bfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d9c9e/0x3e8:0xe10*_0x51e25d;return _0x496796[_0x575bfb([0x65,0x78,0x70])]<_0x167ce9;}function _0x35f74a(){const _0x30951d=_0x496796[_0x575bfb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30951d&&(!!_0x30951d[_0x575bfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575bfb([0x2a]))||!!_0x30951d[_0x575bfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575bfb([0x4c,0x48])));}function _0x2d3027(){const _0x2a4c20=_0x496796[_0x575bfb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a4c20||0x0==_0x2a4c20[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a7c08}=new URL(window[_0x575bfb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2a4c20[_0x575bfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a7c08))return!0x0;const _0x3f98c1=_0x2a7c08[_0x575bfb([0x73,0x70,0x6c,0x69,0x74])](_0x575bfb([0x2e]));return _0x2a4c20[_0x575bfb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bb85e=>_0x3bb85e[_0x575bfb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575bfb([0x2a])))[_0x575bfb([0x6d,0x61,0x70])](_0x24e5cd=>_0x24e5cd[_0x575bfb([0x73,0x70,0x6c,0x69,0x74])](_0x575bfb([0x2e])))[_0x575bfb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6aa4f6=>_0x6aa4f6[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f98c1[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x575bfb([0x6d,0x61,0x70])](_0x460529=>Array(_0x3f98c1[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x460529[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x575bfb([0x66,0x69,0x6c,0x6c])](_0x460529[0x0]===_0x575bfb([0x2a])?_0x575bfb([0x2a]):'')[_0x575bfb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x460529))[_0x575bfb([0x73,0x6f,0x6d,0x65])](_0x469587=>_0x3f98c1[_0x575bfb([0x65,0x76,0x65,0x72,0x79])]((_0x2ca5a6,_0x337e6a)=>_0x469587[_0x337e6a]===_0x2ca5a6||_0x469587[_0x337e6a]===_0x575bfb([0x2a])));}function _0x1e9636(){return _0x367619&&_0x38660c?new window[(_0x575bfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433821,_0x2ce589)=>{_0x367619[_0x575bfb([0x74,0x68,0x65,0x6e])](_0x433821,_0x2ce589),_0x38660c[_0x575bfb([0x74,0x68,0x65,0x6e])](_0x2a27dc=>{_0x2a27dc!=_0x575bfb([0x56,0x61,0x6c,0x69,0x64])&&_0x433821(_0x2a27dc);},_0x2ce589);}):_0x367619||_0x38660c||_0x575bfb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5615db(_0x115f86,_0x186f7a){return new window[(_0x575bfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189047=>{if(_0x498cb7())return _0x189047(_0x575bfb([0x56,0x61,0x6c,0x69,0x64]));_0x55c2e8(),_0x1be088[_0x575bfb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x575bfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x477155=!0x1;const _0x23668a=_0x7a2176();function _0x3023f9(_0x368fd3){return!!_0x368fd3&&(typeof _0x368fd3===_0x575bfb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x368fd3===_0x575bfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x368fd3[_0x575bfb([0x74,0x68,0x65,0x6e])]===_0x575bfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x368fd3[_0x575bfb([0x63,0x61,0x74,0x63,0x68])]===_0x575bfb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf1f9ef(_0x4bd848){_0x50fb85(_0x4bd848)[_0x575bfb([0x74,0x68,0x65,0x6e])](_0x4325b3=>{if(!_0x4325b3||_0x4325b3[_0x575bfb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x575bfb([0x6f,0x6b]))return _0x575bfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x929a8(_0x267106(_0x23668a+_0x186f7a))!=_0x4325b3[_0x575bfb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x575bfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x575bfb([0x56,0x61,0x6c,0x69,0x64]);})[_0x575bfb([0x74,0x68,0x65,0x6e])](_0x113b25=>(_0x226b09(),_0x113b25),()=>{const _0x2b262a=_0x41cfc3();return null==_0x2b262a?(_0x226b09(),_0x575bfb([0x56,0x61,0x6c,0x69,0x64])):_0x575bfb(_0x4d9c9e-_0x2b262a>(0x6028c248^_0x4c053c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x575bfb([0x74,0x68,0x65,0x6e])](_0x189047)[_0x575bfb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x189047(_0x575bfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1919ac=0x4412a8c8^_0x4c053c;function _0x226b09(){const _0x317aa6=_0x575bfb([0x6c,0x6c,0x63,0x74,0x2d])+_0x929a8(_0x267106(_0x115f86)),_0x4939a8=_0x8164a9(_0x929a8(window[_0x575bfb([0x4d,0x61,0x74,0x68])][_0x575bfb([0x63,0x65,0x69,0x6c])](_0x4d9c9e/_0x1919ac)));window[_0x575bfb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x575bfb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x317aa6,_0x4939a8);}function _0x41cfc3(){const _0xc3baff=_0x575bfb([0x6c,0x6c,0x63,0x74,0x2d])+_0x929a8(_0x267106(_0x115f86)),_0x1a36df=window[_0x575bfb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x575bfb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc3baff);return _0x1a36df?window[_0x575bfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8164a9(_0x1a36df),0x10)*_0x1919ac:null;}function _0x50fb85(_0x41f187){return new window[(_0x575bfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23a522,_0x32cb47)=>{_0x41f187[_0x575bfb([0x74,0x68,0x65,0x6e])](_0x23a522,_0x32cb47),window[_0x575bfb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32cb47,0x44259288^_0x4c053c);});}}_0x1be088[_0x575bfb([0x6f,0x6e])](_0x575bfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3924ff,_0x3c0de2)=>{if(_0x3c0de2[0x0]!=_0x115f86)return _0x189047(_0x575bfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c0de2[0x1]={..._0x3c0de2[0x1],[_0x575bfb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23668a};},{[_0x575bfb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x575bfb([0x68,0x69,0x67,0x68])}),_0x1be088[_0x575bfb([0x6f,0x6e])](_0x575bfb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7abd45=>{_0x3023f9(_0x7abd45[_0x575bfb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x477155=!0x0,_0xf1f9ef(_0x7abd45[_0x575bfb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x575bfb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x575bfb([0x6c,0x6f,0x77])}),_0x454059[_0x575bfb([0x74,0x68,0x65,0x6e])](()=>{_0x477155||_0x189047(_0x575bfb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x498cb7(){return _0x1be088[_0x575bfb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x575bfb([0x76,0x69,0x65,0x77])][_0x575bfb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x575bfb([0x61,0x75,0x74,0x6f]);}function _0x55c2e8(){_0x1be088[_0x575bfb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x575bfb([0x76,0x69,0x65,0x77])][_0x575bfb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x575bfb([0x61,0x75,0x74,0x6f]);}}function _0x37a0a5(_0x5690d9){const _0x10832e=[new window[(_0x575bfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c43e=>setTimeout(_0x51c43e,0x442d7884^_0x4c053c)),_0x454059[_0x575bfb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x575bfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ff697=>{let _0x2ef6a0=0x0;_0x1be088[_0x575bfb([0x6d,0x6f,0x64,0x65,0x6c])][_0x575bfb([0x6f,0x6e])](_0x575bfb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28d256,_0x69c45d)=>{_0x69c45d[0x0][_0x575bfb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ef6a0++,_0x2ef6a0==(0x442447b0^_0x4c053c)&&(_0x2ff697(),_0x28d256[_0x575bfb([0x6f,0x66,0x66])]());});}))];return window[_0x575bfb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x575bfb([0x72,0x61,0x63,0x65])](_0x10832e)[_0x575bfb([0x74,0x68,0x65,0x6e])](()=>_0x5690d9);}async function _0x22e8b7(){await _0x454059,_0x1be088[_0x575bfb([0x6d,0x6f,0x64,0x65,0x6c])][_0x575bfb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x392649,_0x1be088[_0x575bfb([0x6d,0x6f,0x64,0x65,0x6c])][_0x575bfb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x392649,_0x1be088[_0x575bfb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x575bfb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x40a29b(_0x1666bf){const _0xbd4b7c=_0x249467();_0x1be088[_0xbd4b7c]=_0x575bfb([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1666bf,_0x1666bf!=_0x575bfb([0x56,0x61,0x6c,0x69,0x64])&&_0x22e8b7();}function _0x249467(){const _0x8be0c8=window[_0x575bfb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x575bfb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x575bfb([0x6e,0x6f,0x77])]())[_0x575bfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x575bfb([0x2e]),'');let _0x4b8d36=_0x575bfb([0x4f]);for(let _0x27f710=0x0;_0x27f710<_0x8be0c8[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27f710+=0x2){let _0x24e894=window[_0x575bfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8be0c8[_0x575bfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27f710,_0x27f710+0x2));_0x24e894>=_0x3582cb[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24e894-=_0x3582cb[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b8d36+=_0x3582cb[_0x24e894];}return _0x4b8d36;}function _0x5044e5(){const _0x18c696=_0x404f1e[_0x575bfb([0x73,0x70,0x6c,0x69,0x74])](_0x575bfb([0x2e]));if(0x3!=_0x18c696[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f587a(_0x18c696[0x1]);function _0x1f587a(_0x5aec82){const _0x235c16=_0x6ce606(_0x5aec82);return _0x235c16&&_0x2f901d()?_0x235c16:null;function _0x2f901d(){const _0x475bb6=_0x235c16[_0x575bfb([0x6a,0x74,0x69])],_0x2aafd9=window[_0x575bfb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x475bb6[_0x575bfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x475bb6[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cbf05={..._0x235c16,[_0x575bfb([0x6a,0x74,0x69])]:_0x475bb6[_0x575bfb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x475bb6[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cbf05[_0x575bfb([0x76,0x63])],_0x267106(_0x1cbf05)==_0x2aafd9;}}}async function _0x149f48(){let _0x530658=!0x0;try{const _0x2fb325=_0x404f1e[_0x575bfb([0x73,0x70,0x6c,0x69,0x74])](_0x575bfb([0x2e])),[_0x4c817b,_0x277920,_0x402db5]=_0x2fb325;return _0x3c1756(_0x4c817b),await _0x304461(_0x4c817b,_0x277920,_0x402db5),_0x530658;}catch{return!0x1;}function _0x3c1756(_0x30c758){const _0x4d7706=_0x6ce606(_0x30c758);_0x4d7706&&_0x4d7706[_0x575bfb([0x61,0x6c,0x67])]==_0x575bfb([0x45,0x53,0x32,0x35,0x36])||(_0x530658=!0x1);}async function _0x304461(_0x366f5a,_0x5773b1,_0x2f16b7){const _0x41ca50=window[_0x575bfb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x575bfb([0x66,0x72,0x6f,0x6d])](_0x3079ab(_0x2f16b7),_0x36c76c=>_0x36c76c[_0x575bfb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x18e29d=new window[(_0x575bfb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x575bfb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x366f5a+_0x575bfb([0x2e])+_0x5773b1),_0x5cfeae=window[_0x575bfb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x575bfb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cfeae)return;const _0x334b5d=await _0x5cfeae[_0x575bfb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x575bfb([0x6a,0x77,0x6b]),_0x118b89,{[_0x575bfb([0x6e,0x61,0x6d,0x65])]:_0x575bfb([0x45,0x43,0x44,0x53,0x41]),[_0x575bfb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x575bfb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x575bfb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cfeae[_0x575bfb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x575bfb([0x6e,0x61,0x6d,0x65])]:_0x575bfb([0x45,0x43,0x44,0x53,0x41]),[_0x575bfb([0x68,0x61,0x73,0x68])]:{[_0x575bfb([0x6e,0x61,0x6d,0x65])]:_0x575bfb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x334b5d,_0x41ca50,_0x18e29d)||(_0x530658=!0x1);}}function _0x6ce606(_0x3cfc5b){return _0x3cfc5b[_0x575bfb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x575bfb([0x65,0x79]))?JSON[_0x575bfb([0x70,0x61,0x72,0x73,0x65])](_0x3079ab(_0x3cfc5b)):null;}function _0x3079ab(_0x5c96ee){return window[_0x575bfb([0x61,0x74,0x6f,0x62])](_0x5c96ee[_0x575bfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x575bfb([0x2b]))[_0x575bfb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x575bfb([0x2f])));}function _0x267106(_0x2ab4c7){let _0xb8b2a5=0x1505;function _0xeda27a(_0x5c3370){for(let _0x54bd4b=0x0;_0x54bd4b<_0x5c3370[_0x575bfb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54bd4b++){const _0x514133=_0x5c3370[_0x575bfb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54bd4b);_0xb8b2a5=(_0xb8b2a5<<0x5)+_0xb8b2a5+_0x514133,_0xb8b2a5&=_0xb8b2a5;}}function _0xd27329(_0x4c50ab){Array[_0x575bfb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c50ab)?_0x4c50ab[_0x575bfb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd27329):_0x4c50ab&&typeof _0x4c50ab==_0x575bfb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x575bfb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c50ab)[_0x575bfb([0x73,0x6f,0x72,0x74])]()[_0x575bfb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ab486,_0x323ad5])=>{_0xeda27a(_0x4ab486),_0xd27329(_0x323ad5);}):_0xeda27a(window[_0x575bfb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c50ab));}return _0xd27329(_0x2ab4c7),_0xb8b2a5>>>0x0;}function _0x929a8(_0x243a89){return _0x243a89[_0x575bfb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x575bfb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x575bfb([0x30]));}function _0x8164a9(_0x3fc76d){return _0x3fc76d[_0x575bfb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x575bfb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x575bfb([0x6a,0x6f,0x69,0x6e])]('');}function _0x392649(){}function _0x575bfb(_0x57ee50){return _0x57ee50['map'](_0x336a71=>String['fromCharCode'](_0x336a71))['join']('');}_0x40a29b(await _0x1b8287());}(this);}['_validateConfig'](){const _0x56d443=this['editor'];if(!_0x56d443['config']['get']('lineHeight.supportAllValues'))return;const _0xd735d4=_0x56d443['config']['get']('lineHeight.options')['filter'](_0x5f1c53=>'string'==typeof _0x5f1c53&&(!f(_0x5f1c53)&&isNaN(Number(_0x5f1c53))));if(_0xd735d4['length'])throw new _0x375721('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0xd735d4});}['_prepareAnyValueConverters'](){const _0x28f993=this['editor'],_0x2d5fbc=this['editor']['config']['get']('lineHeight.defaultValue');_0x28f993['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xd6b363=>String(_0xd6b363)===String(_0x2d5fbc)?null:{'key':'style','value':{'line-height':_0xd6b363}}}),_0x28f993['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x49353a=>{let _0x1b8aaf=_0x49353a['getStyle']('line-height');return _0x3c90ed(_0x1b8aaf)&&(_0x1b8aaf=String(Number(_0x1b8aaf['slice'](0x0,-0x1))/0x64)),String(_0x1b8aaf)===String(_0x2d5fbc)?null:_0x1b8aaf;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x40a1f0=this['editor'],_0x512cb5=this['editor']['config']['get']('lineHeight.defaultValue'),_0x47b68a=function(_0x8675ef,_0x17c455){const _0x50313a={'model':{'key':_0x8675ef,'values':[]},'view':{}};for(const _0x1fd631 of _0x17c455)'class'===_0x1fd631['view']?.['key']?(_0x50313a['model']['values']['push'](_0x1fd631['model']),_0x50313a['view'][_0x1fd631['model']]={'key':'class','value':_0x1fd631['view']['value']}):(_0x50313a['model']['values']['push'](_0x1fd631['model']),_0x50313a['view'][_0x1fd631['model']]={'key':'style','value':'line-height:'+_0x1fd631['model']+';'});return _0x50313a;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x16fa16=>_0x16fa16['model']));_0x40a1f0['conversion']['attributeToAttribute'](_0x47b68a),_0x40a1f0['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x4dcbee=>{let _0x3310cc=_0x4dcbee['getStyle']('line-height');return _0x3c90ed(_0x3310cc)&&(_0x3310cc=String(Number(_0x3310cc['slice'](0x0,-0x1))/0x64)),_0x3310cc===String(_0x512cb5)?null:_0x47b68a['model']['values']['includes'](_0x3310cc)?_0x3310cc:null;}}});}}class r extends _0x5981d6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x798b2a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x798b2a),this['_registerMenuBarComponent'](_0x798b2a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x211d8c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x41cb4b;for(const _0x28631a in _0x211d8c){const _0x228bee=_0x28631a,_0x18031c=_0x211d8c[_0x228bee];if('lineHeightLicenseKeyValid'==_0x18031c||'lineHeightLicenseKeyInvalid'==_0x18031c||'lineHeightLicenseKeyExpired'==_0x18031c||'lineHeightLicenseKeyDomainLimit'==_0x18031c||'lineHeightLicenseKeyNotAllowed'==_0x18031c||'lineHeightLicenseKeyEvaluationLimit'==_0x18031c||'lineHeightLicenseKeyTrialLimit'==_0x18031c||'lineHeightLicenseKeyUsageLimit'==_0x18031c){delete _0x211d8c[_0x228bee],_0x41cb4b=_0x18031c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x41cb4b&&_0x211d8c['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x41cb4b&&_0x211d8c['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x41cb4b&&_0x211d8c['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x41cb4b&&_0x211d8c['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x41cb4b&&_0x211d8c['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x41cb4b&&_0x211d8c['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x41cb4b&&_0x211d8c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x35c311=this['editor'],t=_0x35c311['t'],_0x2d47da=_0x35c311['config']['get']('lineHeight'),_0x26ea65={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2d47da)['map'](_0x4557c8=>{const _0x1ba149=_0x26ea65[_0x4557c8['title']];return _0x1ba149&&_0x1ba149!=_0x4557c8['title']&&(_0x4557c8=Object['assign']({},_0x4557c8,{'title':_0x1ba149})),_0x4557c8;});}['_prepareListOptions'](){const _0x58b35d=this['editor']['commands']['get']('lineHeight'),_0x22d2bc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2704db=this['_getLocalizedLineHeightOptions'](),_0x2bc6b0=new _0x458a18(),_0x24ca7a=_0x588583=>'default'===_0x588583||String(_0x22d2bc)===_0x588583;for(const _0x1edb9a of _0x2704db){const _0x69b330={'type':'button','model':new _0x838094({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x1edb9a['title'],'withText':!0x0})};_0x24ca7a(_0x1edb9a['model'])?(_0x69b330['model']['bind']('isOn')['to'](_0x58b35d,'value',_0x1e3e29=>!_0x1e3e29),_0x69b330['model']['commandParam']=void 0x0):(_0x69b330['model']['bind']('isOn')['to'](_0x58b35d,'value',_0x495ae8=>_0x495ae8===_0x1edb9a['model']),_0x69b330['model']['commandParam']=_0x1edb9a['model']),_0x2bc6b0['add'](_0x69b330);}if(this['_shouldRenderCustomValueOption']()){const _0x14fabd=this['_getCustomValueOptionDefinition'](_0x2704db);_0x2bc6b0['add'](_0x14fabd);}return _0x2bc6b0;}['_getCustomValueOptionDefinition'](_0x3a6023){const _0x414034=this['editor'],t=_0x414034['t'],_0x1752d8=_0x414034['commands']['get']('lineHeight'),_0x4795ae=_0x3a6023['map'](_0x320678=>_0x320678['model']),_0x158c22={'type':'button','model':new _0x838094({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x158c22['model']['bind']('commandParam')['to'](_0x1752d8,'value'),_0x158c22['model']['bind']('isOn')['to'](_0x1752d8,'value',_0x14111b=>!!_0x14111b&&!_0x4795ae['includes'](String(_0x14111b))),_0x158c22['model']['bind']('label')['to'](_0x1752d8,'value',_0x597f04=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x597f04))),_0x158c22;}['_registerToolbarComponent']({accessibleLabel:_0x565e95,options:_0x4f7680}){const _0x16deb2=this['editor'],_0x2da919=_0x16deb2['commands']['get']('lineHeight');_0x16deb2['ui']['componentFactory']['add']('lineHeight',_0x53c4ba=>{const _0x2145c3=_0x54c11b(_0x53c4ba);return _0x3959dd(_0x2145c3,_0x4f7680,{'role':'menu','ariaLabel':_0x565e95}),_0x2145c3['buttonView']['set']({'label':_0x565e95,'tooltip':!0x0,'icon':_0x3597d3}),_0x2145c3['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2145c3['bind']('isEnabled')['to'](_0x2da919),this['listenTo'](_0x2145c3,'execute',_0x15ce02=>{_0x16deb2['execute'](_0x15ce02['source']['commandName'],{'value':_0x15ce02['source']['commandParam']}),_0x16deb2['editing']['view']['focus']();}),_0x2145c3['once']('change:isOpen',()=>{const _0x4f9463=_0x2145c3['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2145c3,_0x4f7680,_0x4f9463);}),_0x2145c3;});}['_registerMenuBarComponent']({accessibleLabel:_0x2a11b0,options:_0x562340}){const _0x1166a6=this['editor'],_0x908062=_0x1166a6['commands']['get']('lineHeight');_0x1166a6['ui']['componentFactory']['add']('menuBar:lineHeight',_0xfa451a=>{const _0x30a653=new _0x1d6fbc(_0xfa451a);_0x30a653['buttonView']['set']({'label':_0x2a11b0,'icon':_0x3597d3}),_0x30a653['bind']('isEnabled')['to'](_0x908062);const _0x1a8e6d=new _0x473cb1(_0xfa451a);for(const _0x11d4a7 of _0x562340){const _0xa0a180=new _0xf36036(_0xfa451a,_0x30a653),_0x3ca1e7=new _0x264b2c(_0xfa451a);_0x3ca1e7['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3ca1e7['bind'](...Object['keys'](_0x11d4a7['model']))['to'](_0x11d4a7['model']),_0x3ca1e7['delegate']('execute')['to'](_0x30a653),_0x3ca1e7['on']('execute',()=>{_0x1166a6['execute'](_0x11d4a7['model']['commandName'],{'value':_0x11d4a7['model']['commandParam']}),_0x1166a6['editing']['view']['focus']();}),_0xa0a180['children']['add'](_0x3ca1e7),_0x1a8e6d['items']['add'](_0xa0a180);}return _0x30a653['panelView']['children']['add'](_0x1a8e6d),this['_attachCustomOptionVisibilityHandler'](_0x30a653,_0x562340,_0x1a8e6d),_0x30a653;});}['_attachCustomOptionVisibilityHandler'](_0x387460,_0x1fd316,_0xeb4a03){if(!this['_shouldRenderCustomValueOption']())return;const _0x59f8de=()=>{if(!_0x387460['isOpen'])return;_0xeb4a03['items']['last']['isVisible']=Boolean(_0x1fd316['last']['model']['isOn']);};_0x59f8de(),_0x387460['on']('change:isOpen',()=>{_0x59f8de();});}}class k extends _0x5981d6{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": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250816.0",
|
|
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": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250816.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250816.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250816.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250816.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250816.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250816.0"
|
|
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 _0x29d18b=_0x32ad;function _0x32ad(_0x875b4f,_0x2a245d){const _0x26243f=_0x2624();return _0x32ad=function(_0x32ade0,_0x3dc0ca){_0x32ade0=_0x32ade0-0xd4;let _0x20c738=_0x26243f[_0x32ade0];return _0x20c738;},_0x32ad(_0x875b4f,_0x2a245d);}(function(_0x540e73,_0x1bbf78){const _0x50275d=_0x32ad,_0x5bd229=_0x540e73();while(!![]){try{const _0x3a54f9=-parseInt(_0x50275d(0xd8))/0x1*(-parseInt(_0x50275d(0xe2))/0x2)+-parseInt(_0x50275d(0xdc))/0x3+-parseInt(_0x50275d(0xd4))/0x4*(parseInt(_0x50275d(0xf7))/0x5)+-parseInt(_0x50275d(0xd7))/0x6+-parseInt(_0x50275d(0xef))/0x7+-parseInt(_0x50275d(0x10a))/0x8*(parseInt(_0x50275d(0x104))/0x9)+parseInt(_0x50275d(0xd5))/0xa*(parseInt(_0x50275d(0xf4))/0xb);if(_0x3a54f9===_0x1bbf78)break;else _0x5bd229['push'](_0x5bd229['shift']());}catch(_0x8a5fef){_0x5bd229['push'](_0x5bd229['shift']());}}}(_0x2624,0xd96ac));import{Plugin as _0x46d4c6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3ef3d1}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5cf62b}from'ckeditor5/src/engine.js';import{uid as _0x5302b0,CKEditorError as _0x5ebc88}from'ckeditor5/src/utils.js';function _0x2624(){const _0x57d97e=['includes','afterInit','values','392bJBVuK','36AVYOvS','34919880DTjvaB','pluginName','5326698DAYgwe','29613OmKTPb','style','fromCharCode','_validateConfig','93408hyyvLW','setAttributeProperties','attributeToAttribute','define','commands','for','6vYnlgT','config','getStyle','editor','slice','lineHeight.options','string','_prepareAnyValueConverters','lineHeight.supportAllValues','line-height-invalid-use-of-named-presets','schema','downcast','LineHeightEditing','2323174VJVCLn','upcast','filter','join','_preparePredefinedConverters','11oorsTC','lineHeight.defaultValue','extend','5370rbismr','map','add','model','lineHeight','$block','line-height','isOfficialPlugin','isPremiumPlugin','href','get','default','init','262620apMrXv','length','conversion'];_0x2624=function(){return _0x57d97e;};return _0x2624();}import{buildDefinition as _0x335dfc,isLineHeightDefaultValue as _0xf7cd78,normalizeOptions as _0x51ecc2}from'./utils.js';export class LineHeightEditing extends _0x46d4c6{static get[_0x29d18b(0xd6)](){const _0x39ab21=_0x29d18b;return _0x39ab21(0xee);}static get[_0x29d18b(0xfe)](){return!0x0;}static get[_0x29d18b(0xff)](){return!0x0;}constructor(_0x3da6d5){const _0x477a2e=_0x29d18b;super(_0x3da6d5),_0x3da6d5[_0x477a2e(0xe3)][_0x477a2e(0xdf)](_0x477a2e(0xfb),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x477a2e(0x102),0x2,2.5,0x3]});}[_0x29d18b(0x103)](){const _0x1a97ba=_0x29d18b,_0x5468ec=this[_0x1a97ba(0xe5)];this[_0x1a97ba(0xdb)](),_0x5468ec[_0x1a97ba(0xfa)][_0x1a97ba(0xec)][_0x1a97ba(0xf6)](_0x1a97ba(0xfc),{'allowAttributes':_0x1a97ba(0xfb)}),_0x5468ec[_0x1a97ba(0xfa)][_0x1a97ba(0xec)][_0x1a97ba(0xdd)](_0x1a97ba(0xfb),{'isFormatting':!0x0}),_0x5468ec[_0x1a97ba(0xe0)][_0x1a97ba(0xf9)](_0x1a97ba(0xfb),new _0x3ef3d1(_0x5468ec)),this[_0x1a97ba(0xe5)][_0x1a97ba(0xe3)][_0x1a97ba(0x101)](_0x1a97ba(0xea))?this[_0x1a97ba(0xe9)]():this[_0x1a97ba(0xf3)]();}[_0x29d18b(0x108)](){!async function(_0x37db3c){const _0x2e0a04=_0x5f3cef([0x49,0x31,0x41,0x51,0x47,0x50,0x68,0x30,0x79,0x57,0x4c,0x76,0x5a,0x56,0x64,0x6e,0x75,0x37,0x63,0x44,0x67,0x71,0x73,0x6a,0x55,0x74,0x70,0x66,0x52,0x62,0x38,0x4e,0x6f,0x35,0x6c,0x4a,0x39,0x58,0x77,0x43,0x61,0x33,0x46,0x69,0x65,0x32,0x45,0x6d,0x4d,0x53,0x59,0x7a,0x42,0x54,0x4f,0x34,0x78,0x48,0x4b,0x6b,0x72,0x36]),_0x4afc00=0x2dddd5f7,_0x3b968c=0x2ddaa57f^_0x4afc00,_0x79ad7c=window[_0x5f3cef([0x44,0x61,0x74,0x65])][_0x5f3cef([0x6e,0x6f,0x77])](),_0x4941c5=_0x37db3c[_0x5f3cef([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa74e83=new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0f58=>{_0x4941c5[_0x5f3cef([0x6f,0x6e,0x63,0x65])](_0x5f3cef([0x72,0x65,0x61,0x64,0x79]),_0x2f0f58);}),_0x3c563d={[_0x5f3cef([0x6b,0x74,0x79])]:_0x5f3cef([0x45,0x43]),[_0x5f3cef([0x75,0x73,0x65])]:_0x5f3cef([0x73,0x69,0x67]),[_0x5f3cef([0x63,0x72,0x76])]:_0x5f3cef([0x50,0x2d,0x32,0x35,0x36]),[_0x5f3cef([0x78])]:_0x5f3cef([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]),[_0x5f3cef([0x79])]:_0x5f3cef([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]),[_0x5f3cef([0x61,0x6c,0x67])]:_0x5f3cef([0x45,0x53,0x32,0x35,0x36])},_0x4af168=_0x4941c5[_0x5f3cef([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f3cef([0x67,0x65,0x74])](_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a8b03(){let _0x216521,_0x1c6f0d=null,_0x464d0a=null;try{if(_0x4af168==_0x5f3cef([0x47,0x50,0x4c]))return _0x5f3cef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x216521=_0x372a3a(),!_0x216521)return _0x5f3cef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x216521[_0x5f3cef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x464d0a=_0x5c5c1f(_0x216521[_0x5f3cef([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x216521[_0x5f3cef([0x6a,0x74,0x69])])),await _0x28224a()?_0x320548()?_0x5cf0d9()?_0x5f3cef([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37553c()?(_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3cef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c6f0d=_0x5b082d(_0x5f3cef([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3cef([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c6f0d=_0x5b082d(_0x5f3cef([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d19d3()):_0x5f3cef([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3cef([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f3cef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f3cef([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5cf0d9(){const _0x17f156=[_0x5f3cef([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f3cef([0x74,0x72,0x69,0x61,0x6c])][_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x79ad7c/0x3e8:0xe10*_0x3b968c;return _0x216521[_0x5f3cef([0x65,0x78,0x70])]<_0x17f156;}function _0x320548(){const _0x2d0e7f=_0x216521[_0x5f3cef([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d0e7f&&(!!_0x2d0e7f[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3cef([0x2a]))||!!_0x2d0e7f[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3cef([0x4c,0x48])));}function _0x37553c(){const _0x3c8a20=_0x32ad,_0x381245=_0x216521[_0x5f3cef([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x381245||0x0==_0x381245[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fbb4f}=new URL(window[_0x5f3cef([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c8a20(0x100)]);if(_0x381245[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fbb4f))return!0x0;const _0x4b5648=_0x1fbb4f[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e]));return _0x381245[_0x5f3cef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xee095f=>_0xee095f[_0x5f3cef([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3cef([0x2a])))[_0x5f3cef([0x6d,0x61,0x70])](_0x3f241a=>_0x3f241a[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e])))[_0x5f3cef([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f16a3=>_0x3f16a3[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b5648[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3cef([0x6d,0x61,0x70])](_0x304ff5=>Array(_0x4b5648[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x304ff5[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3cef([0x66,0x69,0x6c,0x6c])](_0x304ff5[0x0]===_0x5f3cef([0x2a])?_0x5f3cef([0x2a]):'')[_0x5f3cef([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x304ff5))[_0x5f3cef([0x73,0x6f,0x6d,0x65])](_0x361d49=>_0x4b5648[_0x5f3cef([0x65,0x76,0x65,0x72,0x79])]((_0x23542c,_0x4e6e8b)=>_0x361d49[_0x4e6e8b]===_0x23542c||_0x361d49[_0x4e6e8b]===_0x5f3cef([0x2a])));}function _0x3d19d3(){return _0x1c6f0d&&_0x464d0a?new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30fcb1,_0xc6347e)=>{_0x1c6f0d[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x30fcb1,_0xc6347e),_0x464d0a[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x3b9ad3=>{_0x3b9ad3!=_0x5f3cef([0x56,0x61,0x6c,0x69,0x64])&&_0x30fcb1(_0x3b9ad3);},_0xc6347e);}):_0x1c6f0d||_0x464d0a||_0x5f3cef([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c5c1f(_0x14a85f,_0x526645){return new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56dd29=>{if(_0x5a6da3())return _0x56dd29(_0x5f3cef([0x56,0x61,0x6c,0x69,0x64]));_0x45bf46(),_0x4941c5[_0x5f3cef([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f3cef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x122ceb=!0x1;const _0x16981e=_0x5302b0();function _0x45b9fe(_0x315aa7){return!!_0x315aa7&&(typeof _0x315aa7===_0x5f3cef([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x315aa7===_0x5f3cef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x315aa7[_0x5f3cef([0x74,0x68,0x65,0x6e])]===_0x5f3cef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x315aa7[_0x5f3cef([0x63,0x61,0x74,0x63,0x68])]===_0x5f3cef([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13cf1f(_0x596e84){_0x366a6d(_0x596e84)[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x590077=>{if(!_0x590077||_0x590077[_0x5f3cef([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f3cef([0x6f,0x6b]))return _0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a4a87(_0x425cc4(_0x16981e+_0x526645))!=_0x590077[_0x5f3cef([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3cef([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x865ace=>(_0x1fac7f(),_0x865ace),()=>{const _0x4dc0f4=_0xea35bf();return null==_0x4dc0f4?(_0x1fac7f(),_0x5f3cef([0x56,0x61,0x6c,0x69,0x64])):_0x5f3cef(_0x79ad7c-_0x4dc0f4>(0x9d151f7^_0x4afc00)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0x56dd29)[_0x5f3cef([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56dd29(_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d2fb5=0x2deb3b77^_0x4afc00;function _0x1fac7f(){const _0x1976cf=_0x5f3cef([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a4a87(_0x425cc4(_0x14a85f)),_0x573abe=_0x35b8a3(_0x2a4a87(window[_0x5f3cef([0x4d,0x61,0x74,0x68])][_0x5f3cef([0x63,0x65,0x69,0x6c])](_0x79ad7c/_0x5d2fb5)));window[_0x5f3cef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3cef([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1976cf,_0x573abe);}function _0xea35bf(){const _0x18d449=_0x5f3cef([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a4a87(_0x425cc4(_0x14a85f)),_0x592623=window[_0x5f3cef([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3cef([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18d449);return _0x592623?window[_0x5f3cef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35b8a3(_0x592623),0x10)*_0x5d2fb5:null;}function _0x366a6d(_0x3f9ebb){return new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd9d7,_0xd345aa)=>{_0x3f9ebb[_0x5f3cef([0x74,0x68,0x65,0x6e])](_0xd9d7,_0xd345aa),window[_0x5f3cef([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd345aa,0x2ddc0137^_0x4afc00);});}}_0x4941c5[_0x5f3cef([0x6f,0x6e])](_0x5f3cef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f15da,_0x2a2adb)=>{if(_0x2a2adb[0x0]!=_0x14a85f)return _0x56dd29(_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a2adb[0x1]={..._0x2a2adb[0x1],[_0x5f3cef([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16981e};},{[_0x5f3cef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3cef([0x68,0x69,0x67,0x68])}),_0x4941c5[_0x5f3cef([0x6f,0x6e])](_0x5f3cef([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b702b=>{_0x45b9fe(_0x2b702b[_0x5f3cef([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x122ceb=!0x0,_0x13cf1f(_0x2b702b[_0x5f3cef([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f3cef([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3cef([0x6c,0x6f,0x77])}),_0xa74e83[_0x5f3cef([0x74,0x68,0x65,0x6e])](()=>{_0x122ceb||_0x56dd29(_0x5f3cef([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a6da3(){return _0x4941c5[_0x5f3cef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3cef([0x76,0x69,0x65,0x77])][_0x5f3cef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f3cef([0x61,0x75,0x74,0x6f]);}function _0x45bf46(){_0x4941c5[_0x5f3cef([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3cef([0x76,0x69,0x65,0x77])][_0x5f3cef([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f3cef([0x61,0x75,0x74,0x6f]);}}function _0x5b082d(_0x479e6b){const _0x5740ac=[new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ef973=>setTimeout(_0x3ef973,0x2dd4eb3b^_0x4afc00)),_0xa74e83[_0x5f3cef([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x479a6a=>{let _0x10a858=0x0;_0x4941c5[_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3cef([0x6f,0x6e])](_0x5f3cef([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ed988,_0x225d73)=>{_0x225d73[0x0][_0x5f3cef([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10a858++,_0x10a858==(0x2dddd40f^_0x4afc00)&&(_0x479a6a(),_0x4ed988[_0x5f3cef([0x6f,0x66,0x66])]());});}))];return window[_0x5f3cef([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f3cef([0x72,0x61,0x63,0x65])](_0x5740ac)[_0x5f3cef([0x74,0x68,0x65,0x6e])](()=>_0x479e6b);}async function _0x298d8a(){await _0xa74e83,_0x4941c5[_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3cef([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xecbcf,_0x4941c5[_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3cef([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xecbcf,_0x4941c5[_0x5f3cef([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f3cef([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b65ae(_0x520a9c){const _0x47b635=_0x602cdb();_0x4941c5[_0x47b635]=_0x5f3cef([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x520a9c,_0x520a9c!=_0x5f3cef([0x56,0x61,0x6c,0x69,0x64])&&_0x298d8a();}function _0x602cdb(){const _0x36f419=window[_0x5f3cef([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f3cef([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f3cef([0x6e,0x6f,0x77])]())[_0x5f3cef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f3cef([0x2e]),'');let _0x11c7e7=_0x5f3cef([0x49]);for(let _0x1dcadf=0x0;_0x1dcadf<_0x36f419[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dcadf+=0x2){let _0x18e4b0=window[_0x5f3cef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36f419[_0x5f3cef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dcadf,_0x1dcadf+0x2));_0x18e4b0>=_0x2e0a04[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18e4b0-=_0x2e0a04[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11c7e7+=_0x2e0a04[_0x18e4b0];}return _0x11c7e7;}function _0x372a3a(){const _0x52ae93=_0x4af168[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e]));if(0x3!=_0x52ae93[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c281c(_0x52ae93[0x1]);function _0x3c281c(_0xba9992){const _0x5b4e05=_0x3d48b7(_0xba9992);return _0x5b4e05&&_0x545cc0()?_0x5b4e05:null;function _0x545cc0(){const _0x2aba46=_0x5b4e05[_0x5f3cef([0x6a,0x74,0x69])],_0x1a4d1a=window[_0x5f3cef([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2aba46[_0x5f3cef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2aba46[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x149aba={..._0x5b4e05,[_0x5f3cef([0x6a,0x74,0x69])]:_0x2aba46[_0x5f3cef([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2aba46[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x149aba[_0x5f3cef([0x76,0x63])],_0x425cc4(_0x149aba)==_0x1a4d1a;}}}async function _0x28224a(){let _0x35ce48=!0x0;try{const _0x2c659e=_0x4af168[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])](_0x5f3cef([0x2e])),[_0x22642e,_0x2623b0,_0x49d961]=_0x2c659e;return _0x435409(_0x22642e),await _0x1686fe(_0x22642e,_0x2623b0,_0x49d961),_0x35ce48;}catch{return!0x1;}function _0x435409(_0x22333f){const _0x565251=_0x3d48b7(_0x22333f);_0x565251&&_0x565251[_0x5f3cef([0x61,0x6c,0x67])]==_0x5f3cef([0x45,0x53,0x32,0x35,0x36])||(_0x35ce48=!0x1);}async function _0x1686fe(_0x5ab7e4,_0x417aa1,_0x5ccc50){const _0xb18b9c=window[_0x5f3cef([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f3cef([0x66,0x72,0x6f,0x6d])](_0x4bb4b8(_0x5ccc50),_0x57d86b=>_0x57d86b[_0x5f3cef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f31d5=new window[(_0x5f3cef([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f3cef([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ab7e4+_0x5f3cef([0x2e])+_0x417aa1),_0x3e5b05=window[_0x5f3cef([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f3cef([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e5b05)return;const _0x9d8446=await _0x3e5b05[_0x5f3cef([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f3cef([0x6a,0x77,0x6b]),_0x3c563d,{[_0x5f3cef([0x6e,0x61,0x6d,0x65])]:_0x5f3cef([0x45,0x43,0x44,0x53,0x41]),[_0x5f3cef([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f3cef([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f3cef([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e5b05[_0x5f3cef([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f3cef([0x6e,0x61,0x6d,0x65])]:_0x5f3cef([0x45,0x43,0x44,0x53,0x41]),[_0x5f3cef([0x68,0x61,0x73,0x68])]:{[_0x5f3cef([0x6e,0x61,0x6d,0x65])]:_0x5f3cef([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9d8446,_0xb18b9c,_0x2f31d5)||(_0x35ce48=!0x1);}}function _0x3d48b7(_0x73aa0d){return _0x73aa0d[_0x5f3cef([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f3cef([0x65,0x79]))?JSON[_0x5f3cef([0x70,0x61,0x72,0x73,0x65])](_0x4bb4b8(_0x73aa0d)):null;}function _0x4bb4b8(_0x414d41){return window[_0x5f3cef([0x61,0x74,0x6f,0x62])](_0x414d41[_0x5f3cef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f3cef([0x2b]))[_0x5f3cef([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f3cef([0x2f])));}function _0x425cc4(_0x22d3ef){let _0x51f233=0x1505;function _0x309e5e(_0x3b3ff6){for(let _0x588f0f=0x0;_0x588f0f<_0x3b3ff6[_0x5f3cef([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x588f0f++){const _0x2908d1=_0x3b3ff6[_0x5f3cef([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x588f0f);_0x51f233=(_0x51f233<<0x5)+_0x51f233+_0x2908d1,_0x51f233&=_0x51f233;}}function _0x156fa5(_0x5cdd73){Array[_0x5f3cef([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cdd73)?_0x5cdd73[_0x5f3cef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x156fa5):_0x5cdd73&&typeof _0x5cdd73==_0x5f3cef([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f3cef([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cdd73)[_0x5f3cef([0x73,0x6f,0x72,0x74])]()[_0x5f3cef([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xab7ae5,_0x519d32])=>{_0x309e5e(_0xab7ae5),_0x156fa5(_0x519d32);}):_0x309e5e(window[_0x5f3cef([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cdd73));}return _0x156fa5(_0x22d3ef),_0x51f233>>>0x0;}function _0x2a4a87(_0x37783c){return _0x37783c[_0x5f3cef([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f3cef([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f3cef([0x30]));}function _0x35b8a3(_0x119527){return _0x119527[_0x5f3cef([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f3cef([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f3cef([0x6a,0x6f,0x69,0x6e])]('');}function _0xecbcf(){}function _0x5f3cef(_0x56029e){const _0x24a603=_0x32ad;return _0x56029e[_0x24a603(0xf8)](_0x22f4ad=>String[_0x24a603(0xda)](_0x22f4ad))[_0x24a603(0xf2)]('');}_0x3b65ae(await _0x1a8b03());}(this);}[_0x29d18b(0xdb)](){const _0x50b32f=_0x29d18b,_0x1ea63d=this[_0x50b32f(0xe5)];if(!_0x1ea63d[_0x50b32f(0xe3)][_0x50b32f(0x101)](_0x50b32f(0xea)))return;const _0x5c4206=_0x1ea63d[_0x50b32f(0xe3)][_0x50b32f(0x101)](_0x50b32f(0xe7))[_0x50b32f(0xf1)](_0x1e4bb0=>_0x50b32f(0xe8)==typeof _0x1e4bb0&&(!_0xf7cd78(_0x1e4bb0)&&isNaN(Number(_0x1e4bb0))));if(_0x5c4206[_0x50b32f(0x105)])throw new _0x5ebc88(_0x50b32f(0xeb),null,{'namedPresets':_0x5c4206});}[_0x29d18b(0xe9)](){const _0x3af21b=_0x29d18b,_0x29ed3d=this[_0x3af21b(0xe5)],_0x23619c=this[_0x3af21b(0xe5)][_0x3af21b(0xe3)][_0x3af21b(0x101)](_0x3af21b(0xf5));_0x29ed3d[_0x3af21b(0x106)][_0x3af21b(0xe1)](_0x3af21b(0xed))[_0x3af21b(0xde)]({'model':{'key':_0x3af21b(0xfb)},'view':_0x447fc9=>String(_0x447fc9)===String(_0x23619c)?null:{'key':_0x3af21b(0xd9),'value':{'line-height':_0x447fc9}}}),_0x29ed3d[_0x3af21b(0x106)][_0x3af21b(0xe1)](_0x3af21b(0xf0))[_0x3af21b(0xde)]({'model':{'key':_0x3af21b(0xfb),'value':_0x8657c2=>{const _0x46d906=_0x3af21b;let _0x245723=_0x8657c2[_0x46d906(0xe4)](_0x46d906(0xfd));return _0x5cf62b(_0x245723)&&(_0x245723=String(Number(_0x245723[_0x46d906(0xe6)](0x0,-0x1))/0x64)),String(_0x245723)===String(_0x23619c)?null:_0x245723;}},'view':{'styles':{'line-height':/.*/}}});}[_0x29d18b(0xf3)](){const _0x1644c2=_0x29d18b,_0x173768=this[_0x1644c2(0xe5)],_0x252300=this[_0x1644c2(0xe5)][_0x1644c2(0xe3)][_0x1644c2(0x101)](_0x1644c2(0xf5)),_0x4c65e2=_0x51ecc2(this[_0x1644c2(0xe5)][_0x1644c2(0xe3)][_0x1644c2(0x101)](_0x1644c2(0xfb)))[_0x1644c2(0xf1)](_0x6401c0=>_0x6401c0[_0x1644c2(0xfa)]),_0x1c9501=_0x335dfc(_0x1644c2(0xfb),_0x4c65e2);_0x173768[_0x1644c2(0x106)][_0x1644c2(0xde)](_0x1c9501),_0x173768[_0x1644c2(0x106)][_0x1644c2(0xe1)](_0x1644c2(0xf0))[_0x1644c2(0xde)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1644c2(0xfb),'value':_0x3166da=>{const _0xdacf52=_0x1644c2;let _0x3e88ec=_0x3166da[_0xdacf52(0xe4)](_0xdacf52(0xfd));return _0x5cf62b(_0x3e88ec)&&(_0x3e88ec=String(Number(_0x3e88ec[_0xdacf52(0xe6)](0x0,-0x1))/0x64)),_0x3e88ec===String(_0x252300)?null:_0x1c9501[_0xdacf52(0xfa)][_0xdacf52(0x109)][_0xdacf52(0x107)](_0x3e88ec)?_0x3e88ec:null;}}});}}
|
|
23
|
+
function _0x573f(){const _0x5daf23=['define','model','line-height','get','49rFhgcs','LineHeightEditing','map','commands','lineHeight.supportAllValues','1366492gFBFDv','init','_prepareAnyValueConverters','conversion','filter','isPremiumPlugin','getStyle','schema','1968byQQrC','config','line-height-invalid-use-of-named-presets','setAttributeProperties','afterInit','pluginName','lineHeight.defaultValue','string','join','281558rFIpjK','isOfficialPlugin','default','for','attributeToAttribute','includes','style','122394ZEFSyI','slice','157479QTaHZG','_preparePredefinedConverters','2898455tMCwKs','editor','lineHeight.options','9FVluYN','$block','fromCharCode','_validateConfig','10377590TQlVhJ','values','extend','href','add','lineHeight','length','upcast','downcast','5058cwlNZv'];_0x573f=function(){return _0x5daf23;};return _0x573f();}const _0x5e0341=_0x1e28;(function(_0x471a85,_0x23b096){const _0x344fb7=_0x1e28,_0x19f2fe=_0x471a85();while(!![]){try{const _0x15501a=parseInt(_0x344fb7(0xd6))/0x1+-parseInt(_0x344fb7(0xcd))/0x2*(-parseInt(_0x344fb7(0xdb))/0x3)+-parseInt(_0x344fb7(0xbc))/0x4+-parseInt(_0x344fb7(0xd8))/0x5+-parseInt(_0x344fb7(0xd4))/0x6*(parseInt(_0x344fb7(0xb7))/0x7)+parseInt(_0x344fb7(0xc4))/0x8*(-parseInt(_0x344fb7(0xb2))/0x9)+parseInt(_0x344fb7(0xdf))/0xa;if(_0x15501a===_0x23b096)break;else _0x19f2fe['push'](_0x19f2fe['shift']());}catch(_0x2969a9){_0x19f2fe['push'](_0x19f2fe['shift']());}}}(_0x573f,0x655f0));function _0x1e28(_0x2b3387,_0x3bfbef){const _0x573f56=_0x573f();return _0x1e28=function(_0x1e282f,_0x438a9f){_0x1e282f=_0x1e282f-0xaf;let _0x447e72=_0x573f56[_0x1e282f];return _0x447e72;},_0x1e28(_0x2b3387,_0x3bfbef);}import{Plugin as _0x1d24c6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x449beb}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1f92d2}from'ckeditor5/src/engine.js';import{uid as _0x33dfff,CKEditorError as _0x4eac5c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x20dc5c,isLineHeightDefaultValue as _0x43d95f,normalizeOptions as _0x40e52d}from'./utils.js';export class LineHeightEditing extends _0x1d24c6{static get[_0x5e0341(0xc9)](){const _0x21e9e2=_0x5e0341;return _0x21e9e2(0xb8);}static get[_0x5e0341(0xce)](){return!0x0;}static get[_0x5e0341(0xc1)](){return!0x0;}constructor(_0xb08d0a){const _0x298ad5=_0x5e0341;super(_0xb08d0a),_0xb08d0a[_0x298ad5(0xc5)][_0x298ad5(0xb3)](_0x298ad5(0xe4),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x298ad5(0xcf),0x2,2.5,0x3]});}[_0x5e0341(0xbd)](){const _0x1a535d=_0x5e0341,_0x4755cb=this[_0x1a535d(0xd9)];this[_0x1a535d(0xde)](),_0x4755cb[_0x1a535d(0xb4)][_0x1a535d(0xc3)][_0x1a535d(0xe1)](_0x1a535d(0xdc),{'allowAttributes':_0x1a535d(0xe4)}),_0x4755cb[_0x1a535d(0xb4)][_0x1a535d(0xc3)][_0x1a535d(0xc7)](_0x1a535d(0xe4),{'isFormatting':!0x0}),_0x4755cb[_0x1a535d(0xba)][_0x1a535d(0xe3)](_0x1a535d(0xe4),new _0x449beb(_0x4755cb)),this[_0x1a535d(0xd9)][_0x1a535d(0xc5)][_0x1a535d(0xb6)](_0x1a535d(0xbb))?this[_0x1a535d(0xbe)]():this[_0x1a535d(0xd7)]();}[_0x5e0341(0xc8)](){!async function(_0x2b0075){const _0x599fde=_0x47478a([0x4f,0x32,0x4e,0x44,0x66,0x49,0x4d,0x50,0x72,0x73,0x51,0x42,0x57,0x4a,0x59,0x38,0x70,0x55,0x7a,0x48,0x67,0x69,0x52,0x33,0x53,0x71,0x45,0x62,0x54,0x61,0x6e,0x35,0x4b,0x41,0x6c,0x78,0x77,0x37,0x63,0x46,0x6a,0x39,0x79,0x6d,0x30,0x65,0x75,0x34,0x31,0x43,0x5a,0x6b,0x64,0x56,0x58,0x76,0x47,0x68,0x4c,0x74,0x6f,0x36]),_0x47a90d=0x44244648,_0xc0af33=0x442336e8^_0x47a90d,_0x583673=window[_0x47478a([0x44,0x61,0x74,0x65])][_0x47478a([0x6e,0x6f,0x77])](),_0x167d85=_0x2b0075[_0x47478a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b8f5e=new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x195466=>{_0x167d85[_0x47478a([0x6f,0x6e,0x63,0x65])](_0x47478a([0x72,0x65,0x61,0x64,0x79]),_0x195466);}),_0x533056={[_0x47478a([0x6b,0x74,0x79])]:_0x47478a([0x45,0x43]),[_0x47478a([0x75,0x73,0x65])]:_0x47478a([0x73,0x69,0x67]),[_0x47478a([0x63,0x72,0x76])]:_0x47478a([0x50,0x2d,0x32,0x35,0x36]),[_0x47478a([0x78])]:_0x47478a([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]),[_0x47478a([0x79])]:_0x47478a([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]),[_0x47478a([0x61,0x6c,0x67])]:_0x47478a([0x45,0x53,0x32,0x35,0x36])},_0x59c980=_0x167d85[_0x47478a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x47478a([0x67,0x65,0x74])](_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ce08c(){let _0x355f15,_0x5576f7=null,_0xc779d6=null;try{if(_0x59c980==_0x47478a([0x47,0x50,0x4c]))return _0x47478a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x355f15=_0x76ba54(),!_0x355f15)return _0x47478a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x355f15[_0x47478a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc779d6=_0x269b16(_0x355f15[_0x47478a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x355f15[_0x47478a([0x6a,0x74,0x69])])),await _0x5a9982()?_0x1c688c()?_0x34419e()?_0x47478a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10f2ab()?(_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47478a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5576f7=_0x45d008(_0x47478a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47478a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5576f7=_0x45d008(_0x47478a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27cd51()):_0x47478a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x47478a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x47478a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x47478a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x34419e(){const _0x20650e=[_0x47478a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x47478a([0x74,0x72,0x69,0x61,0x6c])][_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x583673/0x3e8:0xe10*_0xc0af33;return _0x355f15[_0x47478a([0x65,0x78,0x70])]<_0x20650e;}function _0x1c688c(){const _0x217d0d=_0x355f15[_0x47478a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x217d0d&&(!!_0x217d0d[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47478a([0x2a]))||!!_0x217d0d[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47478a([0x4c,0x48])));}function _0x10f2ab(){const _0x5e595b=_0x1e28,_0x1ebc8f=_0x355f15[_0x47478a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ebc8f||0x0==_0x1ebc8f[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x366694}=new URL(window[_0x47478a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e595b(0xe2)]);if(_0x1ebc8f[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366694))return!0x0;const _0x21188e=_0x366694[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e]));return _0x1ebc8f[_0x47478a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25923e=>_0x25923e[_0x47478a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47478a([0x2a])))[_0x47478a([0x6d,0x61,0x70])](_0x48ca06=>_0x48ca06[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e])))[_0x47478a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x442aaa=>_0x442aaa[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21188e[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x47478a([0x6d,0x61,0x70])](_0x748f26=>Array(_0x21188e[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x748f26[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x47478a([0x66,0x69,0x6c,0x6c])](_0x748f26[0x0]===_0x47478a([0x2a])?_0x47478a([0x2a]):'')[_0x47478a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x748f26))[_0x47478a([0x73,0x6f,0x6d,0x65])](_0x5c25dd=>_0x21188e[_0x47478a([0x65,0x76,0x65,0x72,0x79])]((_0x560a9c,_0x40e25e)=>_0x5c25dd[_0x40e25e]===_0x560a9c||_0x5c25dd[_0x40e25e]===_0x47478a([0x2a])));}function _0x27cd51(){return _0x5576f7&&_0xc779d6?new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41c548,_0x10fc03)=>{_0x5576f7[_0x47478a([0x74,0x68,0x65,0x6e])](_0x41c548,_0x10fc03),_0xc779d6[_0x47478a([0x74,0x68,0x65,0x6e])](_0x4656e3=>{_0x4656e3!=_0x47478a([0x56,0x61,0x6c,0x69,0x64])&&_0x41c548(_0x4656e3);},_0x10fc03);}):_0x5576f7||_0xc779d6||_0x47478a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x269b16(_0x3b1635,_0x2bede9){return new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d5464=>{if(_0x1619a4())return _0x3d5464(_0x47478a([0x56,0x61,0x6c,0x69,0x64]));_0x14d1d4(),_0x167d85[_0x47478a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x47478a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x327f3b=!0x1;const _0x1ceaea=_0x33dfff();function _0x109694(_0x3b37ed){return!!_0x3b37ed&&(typeof _0x3b37ed===_0x47478a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b37ed===_0x47478a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b37ed[_0x47478a([0x74,0x68,0x65,0x6e])]===_0x47478a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b37ed[_0x47478a([0x63,0x61,0x74,0x63,0x68])]===_0x47478a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x19e9db(_0x55891a){_0x2a3728(_0x55891a)[_0x47478a([0x74,0x68,0x65,0x6e])](_0x2a9a4e=>{if(!_0x2a9a4e||_0x2a9a4e[_0x47478a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x47478a([0x6f,0x6b]))return _0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1585a7(_0xa81fa5(_0x1ceaea+_0x2bede9))!=_0x2a9a4e[_0x47478a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x47478a([0x56,0x61,0x6c,0x69,0x64]);})[_0x47478a([0x74,0x68,0x65,0x6e])](_0x2b0970=>(_0x2acce5(),_0x2b0970),()=>{const _0x1be4b2=_0x23aab0();return null==_0x1be4b2?(_0x2acce5(),_0x47478a([0x56,0x61,0x6c,0x69,0x64])):_0x47478a(_0x583673-_0x1be4b2>(0x6028c248^_0x47a90d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x47478a([0x74,0x68,0x65,0x6e])](_0x3d5464)[_0x47478a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d5464(_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d4161=0x4412a8c8^_0x47a90d;function _0x2acce5(){const _0x4b7674=_0x47478a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1585a7(_0xa81fa5(_0x3b1635)),_0x454ae9=_0x568719(_0x1585a7(window[_0x47478a([0x4d,0x61,0x74,0x68])][_0x47478a([0x63,0x65,0x69,0x6c])](_0x583673/_0x5d4161)));window[_0x47478a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47478a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b7674,_0x454ae9);}function _0x23aab0(){const _0x10bbf0=_0x47478a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1585a7(_0xa81fa5(_0x3b1635)),_0x367df8=window[_0x47478a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47478a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10bbf0);return _0x367df8?window[_0x47478a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x568719(_0x367df8),0x10)*_0x5d4161:null;}function _0x2a3728(_0x18ffa1){return new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd80839,_0x275f21)=>{_0x18ffa1[_0x47478a([0x74,0x68,0x65,0x6e])](_0xd80839,_0x275f21),window[_0x47478a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x275f21,0x44259288^_0x47a90d);});}}_0x167d85[_0x47478a([0x6f,0x6e])](_0x47478a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x27dcfc,_0x418fb4)=>{if(_0x418fb4[0x0]!=_0x3b1635)return _0x3d5464(_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x418fb4[0x1]={..._0x418fb4[0x1],[_0x47478a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ceaea};},{[_0x47478a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47478a([0x68,0x69,0x67,0x68])}),_0x167d85[_0x47478a([0x6f,0x6e])](_0x47478a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30fdcf=>{_0x109694(_0x30fdcf[_0x47478a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x327f3b=!0x0,_0x19e9db(_0x30fdcf[_0x47478a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x47478a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47478a([0x6c,0x6f,0x77])}),_0x1b8f5e[_0x47478a([0x74,0x68,0x65,0x6e])](()=>{_0x327f3b||_0x3d5464(_0x47478a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1619a4(){return _0x167d85[_0x47478a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47478a([0x76,0x69,0x65,0x77])][_0x47478a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x47478a([0x61,0x75,0x74,0x6f]);}function _0x14d1d4(){_0x167d85[_0x47478a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47478a([0x76,0x69,0x65,0x77])][_0x47478a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x47478a([0x61,0x75,0x74,0x6f]);}}function _0x45d008(_0x80dd79){const _0x84f6a2=[new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e58c3=>setTimeout(_0x1e58c3,0x442d7884^_0x47a90d)),_0x1b8f5e[_0x47478a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x464cca=>{let _0x3020d9=0x0;_0x167d85[_0x47478a([0x6d,0x6f,0x64,0x65,0x6c])][_0x47478a([0x6f,0x6e])](_0x47478a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36ee03,_0x149b31)=>{_0x149b31[0x0][_0x47478a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3020d9++,_0x3020d9==(0x442447b0^_0x47a90d)&&(_0x464cca(),_0x36ee03[_0x47478a([0x6f,0x66,0x66])]());});}))];return window[_0x47478a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x47478a([0x72,0x61,0x63,0x65])](_0x84f6a2)[_0x47478a([0x74,0x68,0x65,0x6e])](()=>_0x80dd79);}async function _0x9e20fa(){await _0x1b8f5e,_0x167d85[_0x47478a([0x6d,0x6f,0x64,0x65,0x6c])][_0x47478a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18d312,_0x167d85[_0x47478a([0x6d,0x6f,0x64,0x65,0x6c])][_0x47478a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18d312,_0x167d85[_0x47478a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x47478a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cd34c(_0x1b0a88){const _0x446046=_0x33387d();_0x167d85[_0x446046]=_0x47478a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b0a88,_0x1b0a88!=_0x47478a([0x56,0x61,0x6c,0x69,0x64])&&_0x9e20fa();}function _0x33387d(){const _0x3518ed=window[_0x47478a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x47478a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x47478a([0x6e,0x6f,0x77])]())[_0x47478a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x47478a([0x2e]),'');let _0x23f6d8=_0x47478a([0x4f]);for(let _0x429a96=0x0;_0x429a96<_0x3518ed[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x429a96+=0x2){let _0x392b8a=window[_0x47478a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3518ed[_0x47478a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x429a96,_0x429a96+0x2));_0x392b8a>=_0x599fde[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x392b8a-=_0x599fde[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23f6d8+=_0x599fde[_0x392b8a];}return _0x23f6d8;}function _0x76ba54(){const _0x35c0c4=_0x59c980[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e]));if(0x3!=_0x35c0c4[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e9003(_0x35c0c4[0x1]);function _0x3e9003(_0x523f8b){const _0x5f3e45=_0x218f81(_0x523f8b);return _0x5f3e45&&_0x15e76c()?_0x5f3e45:null;function _0x15e76c(){const _0xa288bb=_0x5f3e45[_0x47478a([0x6a,0x74,0x69])],_0xc4651e=window[_0x47478a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa288bb[_0x47478a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa288bb[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3424f7={..._0x5f3e45,[_0x47478a([0x6a,0x74,0x69])]:_0xa288bb[_0x47478a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa288bb[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3424f7[_0x47478a([0x76,0x63])],_0xa81fa5(_0x3424f7)==_0xc4651e;}}}async function _0x5a9982(){let _0x9ba833=!0x0;try{const _0x89cb79=_0x59c980[_0x47478a([0x73,0x70,0x6c,0x69,0x74])](_0x47478a([0x2e])),[_0x352b4a,_0x28f7bd,_0x5ef74b]=_0x89cb79;return _0x103b00(_0x352b4a),await _0x405386(_0x352b4a,_0x28f7bd,_0x5ef74b),_0x9ba833;}catch{return!0x1;}function _0x103b00(_0xde9e12){const _0x52fc54=_0x218f81(_0xde9e12);_0x52fc54&&_0x52fc54[_0x47478a([0x61,0x6c,0x67])]==_0x47478a([0x45,0x53,0x32,0x35,0x36])||(_0x9ba833=!0x1);}async function _0x405386(_0x652100,_0x31b1d3,_0x8ff8e7){const _0x4f377f=window[_0x47478a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x47478a([0x66,0x72,0x6f,0x6d])](_0x2ae009(_0x8ff8e7),_0x31c72e=>_0x31c72e[_0x47478a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x388b4a=new window[(_0x47478a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x47478a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x652100+_0x47478a([0x2e])+_0x31b1d3),_0x44a53a=window[_0x47478a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x47478a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44a53a)return;const _0xe19d23=await _0x44a53a[_0x47478a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x47478a([0x6a,0x77,0x6b]),_0x533056,{[_0x47478a([0x6e,0x61,0x6d,0x65])]:_0x47478a([0x45,0x43,0x44,0x53,0x41]),[_0x47478a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x47478a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x47478a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44a53a[_0x47478a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x47478a([0x6e,0x61,0x6d,0x65])]:_0x47478a([0x45,0x43,0x44,0x53,0x41]),[_0x47478a([0x68,0x61,0x73,0x68])]:{[_0x47478a([0x6e,0x61,0x6d,0x65])]:_0x47478a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe19d23,_0x4f377f,_0x388b4a)||(_0x9ba833=!0x1);}}function _0x218f81(_0x5c9992){return _0x5c9992[_0x47478a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x47478a([0x65,0x79]))?JSON[_0x47478a([0x70,0x61,0x72,0x73,0x65])](_0x2ae009(_0x5c9992)):null;}function _0x2ae009(_0x49179a){return window[_0x47478a([0x61,0x74,0x6f,0x62])](_0x49179a[_0x47478a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x47478a([0x2b]))[_0x47478a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x47478a([0x2f])));}function _0xa81fa5(_0x420fd3){let _0x245e49=0x1505;function _0x400cbf(_0x5b6915){for(let _0x23032d=0x0;_0x23032d<_0x5b6915[_0x47478a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23032d++){const _0x158426=_0x5b6915[_0x47478a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23032d);_0x245e49=(_0x245e49<<0x5)+_0x245e49+_0x158426,_0x245e49&=_0x245e49;}}function _0x471ef2(_0x5a00a1){Array[_0x47478a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a00a1)?_0x5a00a1[_0x47478a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x471ef2):_0x5a00a1&&typeof _0x5a00a1==_0x47478a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x47478a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a00a1)[_0x47478a([0x73,0x6f,0x72,0x74])]()[_0x47478a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a61fa,_0x519928])=>{_0x400cbf(_0x4a61fa),_0x471ef2(_0x519928);}):_0x400cbf(window[_0x47478a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a00a1));}return _0x471ef2(_0x420fd3),_0x245e49>>>0x0;}function _0x1585a7(_0x2004c5){return _0x2004c5[_0x47478a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x47478a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x47478a([0x30]));}function _0x568719(_0x4bc9b8){return _0x4bc9b8[_0x47478a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x47478a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x47478a([0x6a,0x6f,0x69,0x6e])]('');}function _0x18d312(){}function _0x47478a(_0x5a7ede){const _0x3ede20=_0x1e28;return _0x5a7ede[_0x3ede20(0xb9)](_0x3b40fc=>String[_0x3ede20(0xdd)](_0x3b40fc))[_0x3ede20(0xcc)]('');}_0x2cd34c(await _0x3ce08c());}(this);}[_0x5e0341(0xde)](){const _0x499aa7=_0x5e0341,_0x3594ec=this[_0x499aa7(0xd9)];if(!_0x3594ec[_0x499aa7(0xc5)][_0x499aa7(0xb6)](_0x499aa7(0xbb)))return;const _0x133be0=_0x3594ec[_0x499aa7(0xc5)][_0x499aa7(0xb6)](_0x499aa7(0xda))[_0x499aa7(0xc0)](_0x26399d=>_0x499aa7(0xcb)==typeof _0x26399d&&(!_0x43d95f(_0x26399d)&&isNaN(Number(_0x26399d))));if(_0x133be0[_0x499aa7(0xaf)])throw new _0x4eac5c(_0x499aa7(0xc6),null,{'namedPresets':_0x133be0});}[_0x5e0341(0xbe)](){const _0x5f5a6e=_0x5e0341,_0x5658fb=this[_0x5f5a6e(0xd9)],_0x3c9157=this[_0x5f5a6e(0xd9)][_0x5f5a6e(0xc5)][_0x5f5a6e(0xb6)](_0x5f5a6e(0xca));_0x5658fb[_0x5f5a6e(0xbf)][_0x5f5a6e(0xd0)](_0x5f5a6e(0xb1))[_0x5f5a6e(0xd1)]({'model':{'key':_0x5f5a6e(0xe4)},'view':_0x489ccc=>String(_0x489ccc)===String(_0x3c9157)?null:{'key':_0x5f5a6e(0xd3),'value':{'line-height':_0x489ccc}}}),_0x5658fb[_0x5f5a6e(0xbf)][_0x5f5a6e(0xd0)](_0x5f5a6e(0xb0))[_0x5f5a6e(0xd1)]({'model':{'key':_0x5f5a6e(0xe4),'value':_0x44aa6b=>{const _0x29c246=_0x5f5a6e;let _0x331922=_0x44aa6b[_0x29c246(0xc2)](_0x29c246(0xb5));return _0x1f92d2(_0x331922)&&(_0x331922=String(Number(_0x331922[_0x29c246(0xd5)](0x0,-0x1))/0x64)),String(_0x331922)===String(_0x3c9157)?null:_0x331922;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5e0341(0xd7)](){const _0x15de7a=_0x5e0341,_0x2a8e0e=this[_0x15de7a(0xd9)],_0x2073f5=this[_0x15de7a(0xd9)][_0x15de7a(0xc5)][_0x15de7a(0xb6)](_0x15de7a(0xca)),_0x6ca7ad=_0x40e52d(this[_0x15de7a(0xd9)][_0x15de7a(0xc5)][_0x15de7a(0xb6)](_0x15de7a(0xe4)))[_0x15de7a(0xc0)](_0x3f56f4=>_0x3f56f4[_0x15de7a(0xb4)]),_0x312a83=_0x20dc5c(_0x15de7a(0xe4),_0x6ca7ad);_0x2a8e0e[_0x15de7a(0xbf)][_0x15de7a(0xd1)](_0x312a83),_0x2a8e0e[_0x15de7a(0xbf)][_0x15de7a(0xd0)](_0x15de7a(0xb0))[_0x15de7a(0xd1)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x15de7a(0xe4),'value':_0x10b52d=>{const _0x1d994f=_0x15de7a;let _0x354455=_0x10b52d[_0x1d994f(0xc2)](_0x1d994f(0xb5));return _0x1f92d2(_0x354455)&&(_0x354455=String(Number(_0x354455[_0x1d994f(0xd5)](0x0,-0x1))/0x64)),_0x354455===String(_0x2073f5)?null:_0x312a83[_0x1d994f(0xb4)][_0x1d994f(0xe0)][_0x1d994f(0xd2)](_0x354455)?_0x354455:null;}}});}}
|