@ckeditor/ckeditor5-line-height 46.0.1-alpha.8 → 46.0.1-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>k});var e=n(782),t=n(584);const r=s;function o(){const e=["getAttribute","5rtELvV","change","12106312ZmeQGK","model","_canHaveLineHeight","2266980uvDfNW","lineHeight","isEnabled","removeAttribute","7273326FSOEWo","execute","value","1142292DhfIlS","document","9lCUpZu","checkAttribute","1558480RyZenR","getSelectedBlocks","from","38cDlwnF","editor","setAttribute","4716334mAheup","83894GjRvTQ","refresh","schema","filter","selection"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=439]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(808204===-parseInt(t(439))/1*(parseInt(t(443))/2)+-parseInt(t(461))/3+-parseInt(t(465))/4+-parseInt(t(449))/5*(-parseInt(t(458))/6)+parseInt(t(442))/7+-parseInt(t(451))/8*(-parseInt(t(463))/9)+-parseInt(t(454))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(444)](){const e=r,n=this[e(440)][e(452)][e(462)],i=(0,t.first)(n[e(447)][e(466)]());this[e(456)]=Boolean(i)&&this[e(453)](i),this[e(460)]=this[e(456)]&&i[e(448)](e(455))}[r(459)](e={}){const t=r,n=this[t(440)][t(452)],i=n[t(462)][t(447)],o=e[t(460)];n[t(450)](e=>{const n=t,r=Array[n(467)](i[n(466)]())[n(446)](e=>this[n(453)](e));for(const t of r)o?e[n(441)](n(455),o,t):e[n(457)](n(455),t)})}[r(453)](e){const t=r;return this[t(440)][t(452)][t(445)][t(464)](e,t(455))}}var c=n(783);function u(e,t){const n=f();return(u=function(e,t){return n[e-=201]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(317314===parseInt(t(204))/1+parseInt(t(228))/2*(-parseInt(t(223))/3)+-parseInt(t(230))/4*(-parseInt(t(214))/5)+parseInt(t(236))/6*(-parseInt(t(212))/7)+-parseInt(t(216))/8*(parseInt(t(202))/9)+parseInt(t(207))/10+-parseInt(t(203))/11*(parseInt(t(225))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(f);const l={get single(){const e=u;return{title:e(211),model:e(201),view:{key:e(229),value:e(209)}}},get double(){const e=u;return{title:e(234),model:e(220),view:{key:e(229),value:e(227)}}}};function d(e){const t=u;return t(217)==typeof e&&t(206)===e[t(205)]()}function h(e){const t=u;return e[t(210)][t(222)](n=>d(n)?{title:String(e[t(219)]),model:t(206)}:(t(226)==typeof n&&(n=String(n)),t(217)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(231),styles:{"line-height":n}}}:function(e){const t=u;return t(217)==typeof e?l[e]:l[e[t(232)]]}(n)))[t(235)](e=>void 0!==e)}function f(){const e=["72QTOMWI","number","line-height-double","218660RfZaNO","class","1028tepCAt","span","model","value","Double","filter","114uIpbLm","single","12708kFnyLs","248567PzhsEY","572302jMHXGj","toLowerCase","default","5428400jVWqWd","style","line-height-single","options","Single","19831eKBeaq","values","4885cfpnGV","push","2392MLizuo","string","key","defaultValue","double","view","map","12GSCmyk","line-height:"];return(f=function(){return e})()}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=421]})(e,t)}function m(){const e=["lineHeight","init","model","setAttributeProperties","45005VCTRMK","1351670OChMEh","define","afterInit","conversion","isOfficialPlugin","string","length","line-height","slice","_validateConfig","lineHeight.defaultValue","lineHeight.supportAllValues","10oZLUrO","88352DPvLlQ","for","href","default","line-height-invalid-use-of-named-presets","add","getStyle","style","get","config","105192yBXbZj","88gQlwtd","isPremiumPlugin","_prepareAnyValueConverters","upcast","join","extend","1437527sExaul","lineHeight.options","map","editor","LineHeightEditing","values","attributeToAttribute","filter","456cgSFwZ","fromCharCode","$block","27OORJMO","14534289tHqlAz","608040kRHKGx","pluginName","downcast","schema","includes","_preparePredefinedConverters","commands"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(398328===-parseInt(t(424))/1*(parseInt(t(423))/2)+parseInt(t(434))/3*(parseInt(t(435))/4)+parseInt(t(465))/5*(-parseInt(t(449))/6)+-parseInt(t(441))/7+-parseInt(t(454))/8*(parseInt(t(452))/9)+-parseInt(t(466))/10+parseInt(t(453))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(455)](){return p(445)}static get[p(470)](){return!0}static get[p(436)](){return!0}constructor(e){const t=p;super(e),e[t(433)][t(467)](t(461),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(427),2,2.5,3]})}[p(462)](){const e=p,t=this[e(444)];this[e(475)](),t[e(463)][e(457)][e(440)](e(451),{allowAttributes:e(461)}),t[e(463)][e(457)][e(464)](e(461),{isFormatting:!0}),t[e(460)][e(429)](e(461),new a(t)),this[e(444)][e(433)][e(432)](e(422))?this[e(437)]():this[e(459)]()}[p(468)](){!async function(e){const n=m([79,69,113,116,66,65,99,74,70,80,82,50,98,121,108,75,102,48,90,77,89,119,117,87,118,83,72,68,81,85,109,112,106,67,51,52,103,56,88,107,100,49,76,54,101,57,122,55,110,114,71,97,120,53,84,78,111,104,73,86,115,105]),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(443)](e=>String[t(450)](e))[t(439)]("")}!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([79]);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:1754438400;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(426)]);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(475)](){const e=p,n=this[e(444)];if(!n[e(433)][e(432)](e(422)))return;const i=n[e(433)][e(432)](e(442))[e(448)](t=>e(471)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(472)])throw new t.CKEditorError(e(428),null,{namedPresets:i})}[p(437)](){const e=p,t=this[e(444)],n=this[e(444)][e(433)][e(432)](e(421));t[e(469)][e(425)](e(456))[e(447)]({model:{key:e(461)},view:t=>String(t)===String(n)?null:{key:e(431),value:{"line-height":t}}}),t[e(469)][e(425)](e(438))[e(447)]({model:{key:e(461),value:t=>{const i=e;let r=t[i(430)](i(473));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(474)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(459)](){const e=p,t=this[e(444)],n=this[e(444)][e(433)][e(432)](e(421)),i=h(this[e(444)][e(433)][e(432)](e(461)))[e(448)](t=>t[e(463)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(229)===e[n(221)]?.[n(218)]?(i[n(232)][n(213)][n(215)](e[n(232)]),i[n(221)][e[n(232)]]={key:n(229),value:e[n(221)][n(233)]}):(i[n(232)][n(213)][n(215)](e[n(232)]),i[n(221)][e[n(232)]]={key:n(208),value:n(224)+e[n(232)]+";"});return i}(e(461),i);t[e(469)][e(447)](r),t[e(469)][e(425)](e(438))[e(447)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(461),value:t=>{const i=e;let o=t[i(430)](i(473));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(474)](0,-1))/100)),o===String(n)?null:r[i(463)][i(446)][i(458)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=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();L()(x.A,A);x.A&&x.A.locals&&x.A.locals;class k 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()})}}var N=K;function K(e,t){var n=P();return(K=function(e,t){return n[e-=255]})(e,t)}function P(){var e=["LineHeight","2942031GLCGhf","6dQDmse","658136govkTE","2gUHdrK","1335438FNmctJ","requires","599405tgpIah","isPremiumPlugin","pluginName","35mYGqJy","320628QnrtBP","58684bAlORd","19322590nQdImm","isOfficialPlugin"];return(P=function(){return e})()}!function(e){for(var t=K,n=e();;)try{if(955813===-parseInt(t(267))/1*(parseInt(t(260))/2)+-parseInt(t(264))/3+-parseInt(t(259))/4+parseInt(t(255))/5*(-parseInt(t(265))/6)+parseInt(t(258))/7*(parseInt(t(266))/8)+-parseInt(t(268))/9+parseInt(t(261))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class V extends e.Plugin{static get[N(269)](){return[w,k]}static get[N(257)](){return N(263)}static get[N(262)](){return!0}static get[N(256)](){return!0}}function M(e,t){var n=B();return(M=function(e,t){return n[e-=252]})(e,t)}function B(){var e=["13744870pbfnmu","15zGQzib","2ajaxgs","1463798cfLgaZ","5266968UpuMff","9TGaxpW","536500TJLwiH","1988833KVKWeG","6FDXTxm","4519174fRKyym","2544235kEvBXQ","12HbdktS"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(737127===parseInt(t(257))/1*(parseInt(t(258))/2)+parseInt(t(256))/3*(parseInt(t(261))/4)+parseInt(t(253))/5*(parseInt(t(263))/6)+-parseInt(t(262))/7+-parseInt(t(259))/8+parseInt(t(260))/9*(-parseInt(t(255))/10)+-parseInt(t(252))/11*(-parseInt(t(254))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>k});var e=n(782),t=n(584);const r=s;function o(){const e=["getAttribute","5rtELvV","change","12106312ZmeQGK","model","_canHaveLineHeight","2266980uvDfNW","lineHeight","isEnabled","removeAttribute","7273326FSOEWo","execute","value","1142292DhfIlS","document","9lCUpZu","checkAttribute","1558480RyZenR","getSelectedBlocks","from","38cDlwnF","editor","setAttribute","4716334mAheup","83894GjRvTQ","refresh","schema","filter","selection"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=439]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(808204===-parseInt(t(439))/1*(parseInt(t(443))/2)+-parseInt(t(461))/3+-parseInt(t(465))/4+-parseInt(t(449))/5*(-parseInt(t(458))/6)+parseInt(t(442))/7+-parseInt(t(451))/8*(-parseInt(t(463))/9)+-parseInt(t(454))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(444)](){const e=r,n=this[e(440)][e(452)][e(462)],i=(0,t.first)(n[e(447)][e(466)]());this[e(456)]=Boolean(i)&&this[e(453)](i),this[e(460)]=this[e(456)]&&i[e(448)](e(455))}[r(459)](e={}){const t=r,n=this[t(440)][t(452)],i=n[t(462)][t(447)],o=e[t(460)];n[t(450)](e=>{const n=t,r=Array[n(467)](i[n(466)]())[n(446)](e=>this[n(453)](e));for(const t of r)o?e[n(441)](n(455),o,t):e[n(457)](n(455),t)})}[r(453)](e){const t=r;return this[t(440)][t(452)][t(445)][t(464)](e,t(455))}}var c=n(783);function u(e,t){const n=f();return(u=function(e,t){return n[e-=201]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(317314===parseInt(t(204))/1+parseInt(t(228))/2*(-parseInt(t(223))/3)+-parseInt(t(230))/4*(-parseInt(t(214))/5)+parseInt(t(236))/6*(-parseInt(t(212))/7)+-parseInt(t(216))/8*(parseInt(t(202))/9)+parseInt(t(207))/10+-parseInt(t(203))/11*(parseInt(t(225))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(f);const l={get single(){const e=u;return{title:e(211),model:e(201),view:{key:e(229),value:e(209)}}},get double(){const e=u;return{title:e(234),model:e(220),view:{key:e(229),value:e(227)}}}};function d(e){const t=u;return t(217)==typeof e&&t(206)===e[t(205)]()}function h(e){const t=u;return e[t(210)][t(222)](n=>d(n)?{title:String(e[t(219)]),model:t(206)}:(t(226)==typeof n&&(n=String(n)),t(217)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(231),styles:{"line-height":n}}}:function(e){const t=u;return t(217)==typeof e?l[e]:l[e[t(232)]]}(n)))[t(235)](e=>void 0!==e)}function f(){const e=["72QTOMWI","number","line-height-double","218660RfZaNO","class","1028tepCAt","span","model","value","Double","filter","114uIpbLm","single","12708kFnyLs","248567PzhsEY","572302jMHXGj","toLowerCase","default","5428400jVWqWd","style","line-height-single","options","Single","19831eKBeaq","values","4885cfpnGV","push","2392MLizuo","string","key","defaultValue","double","view","map","12GSCmyk","line-height:"];return(f=function(){return e})()}const p=m;function m(e,t){const n=g();return(m=function(e,t){return n[e-=297]})(e,t)}function g(){const e=["setAttributeProperties","style","values","_prepareAnyValueConverters","pluginName","join","3104718TArAqF","upcast","5631332mYShwT","href","for","lineHeight.supportAllValues","string","model","length","conversion","$block","config","lineHeight.defaultValue","schema","2176830cIKtKn","afterInit","get","line-height","slice","attributeToAttribute","isPremiumPlugin","isOfficialPlugin","add","_validateConfig","1090034YwuQGV","init","lineHeight","line-height-invalid-use-of-named-presets","6568700tOdSwz","1XPLTJS","editor","LineHeightEditing","2007244IWAMHj","533880nlBvMs","lineHeight.options","_preparePredefinedConverters","default","162SineuK","getStyle","define","filter","includes","downcast","10XJspHd","commands","map","fromCharCode","extend"];return(g=function(){return e})()}!function(e){const t=m,n=e();for(;;)try{if(612618===parseInt(t(330))/1*(parseInt(t(325))/2)+parseInt(t(301))/3+-parseInt(t(333))/4+parseInt(t(344))/5*(-parseInt(t(315))/6)+parseInt(t(303))/7+parseInt(t(334))/8*(-parseInt(t(338))/9)+parseInt(t(329))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(299)](){return p(332)}static get[p(322)](){return!0}static get[p(321)](){return!0}constructor(e){const t=p;super(e),e[t(312)][t(340)](t(327),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(337),2,2.5,3]})}[p(326)](){const e=p,t=this[e(331)];this[e(324)](),t[e(308)][e(314)][e(348)](e(311),{allowAttributes:e(327)}),t[e(308)][e(314)][e(349)](e(327),{isFormatting:!0}),t[e(345)][e(323)](e(327),new a(t)),this[e(331)][e(312)][e(317)](e(306))?this[e(298)]():this[e(336)]()}[p(316)](){!async function(e){const n=g([66,104,90,54,110,107,115,78,50,118,86,57,51,100,105,113,117,67,121,72,70,112,68,108,65,122,49,71,56,53,83,99,114,111,109,82,116,52,89,76,98,69,77,81,55,103,74,102,106,101,80,120,73,119,88,79,85,84,75,48,87,97]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function u(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(e)):null}function l(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(346)](e=>String[t(347)](e))[t(300)]("")}!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([66]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(l+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(u=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1754524800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(304)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[p(324)](){const e=p,n=this[e(331)];if(!n[e(312)][e(317)](e(306)))return;const i=n[e(312)][e(317)](e(335))[e(341)](t=>e(307)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(309)])throw new t.CKEditorError(e(328),null,{namedPresets:i})}[p(298)](){const e=p,t=this[e(331)],n=this[e(331)][e(312)][e(317)](e(313));t[e(310)][e(305)](e(343))[e(320)]({model:{key:e(327)},view:t=>String(t)===String(n)?null:{key:e(350),value:{"line-height":t}}}),t[e(310)][e(305)](e(302))[e(320)]({model:{key:e(327),value:t=>{const i=e;let r=t[i(339)](i(318));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(319)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(336)](){const e=p,t=this[e(331)],n=this[e(331)][e(312)][e(317)](e(313)),i=h(this[e(331)][e(312)][e(317)](e(327)))[e(341)](t=>t[e(308)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(229)===e[n(221)]?.[n(218)]?(i[n(232)][n(213)][n(215)](e[n(232)]),i[n(221)][e[n(232)]]={key:n(229),value:e[n(221)][n(233)]}):(i[n(232)][n(213)][n(215)](e[n(232)]),i[n(221)][e[n(232)]]={key:n(208),value:n(224)+e[n(232)]+";"});return i}(e(327),i);t[e(310)][e(320)](r),t[e(310)][e(305)](e(302))[e(320)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(327),value:t=>{const i=e;let o=t[i(339)](i(318));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(319)](0,-1))/100)),o===String(n)?null:r[i(308)][i(297)][i(342)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=n(262),O=n.n(_),E=n(667),S=n.n(E),T=n(357),C=n.n(T),A=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=S(),x.insert=O().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=C();L()(A.A,x);A.A&&A.A.locals&&A.A.locals;class k 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()})}}var K=N;function N(e,t){var n=P();return(N=function(e,t){return n[e-=255]})(e,t)}function P(){var e=["LineHeight","2942031GLCGhf","6dQDmse","658136govkTE","2gUHdrK","1335438FNmctJ","requires","599405tgpIah","isPremiumPlugin","pluginName","35mYGqJy","320628QnrtBP","58684bAlORd","19322590nQdImm","isOfficialPlugin"];return(P=function(){return e})()}!function(e){for(var t=N,n=e();;)try{if(955813===-parseInt(t(267))/1*(parseInt(t(260))/2)+-parseInt(t(264))/3+-parseInt(t(259))/4+parseInt(t(255))/5*(-parseInt(t(265))/6)+parseInt(t(258))/7*(parseInt(t(266))/8)+-parseInt(t(268))/9+parseInt(t(261))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class V extends e.Plugin{static get[K(269)](){return[w,k]}static get[K(257)](){return K(263)}static get[K(262)](){return!0}static get[K(256)](){return!0}}function M(e,t){var n=B();return(M=function(e,t){return n[e-=252]})(e,t)}function B(){var e=["13744870pbfnmu","15zGQzib","2ajaxgs","1463798cfLgaZ","5266968UpuMff","9TGaxpW","536500TJLwiH","1988833KVKWeG","6FDXTxm","4519174fRKyym","2544235kEvBXQ","12HbdktS"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(737127===parseInt(t(257))/1*(parseInt(t(258))/2)+parseInt(t(256))/3*(parseInt(t(261))/4)+parseInt(t(253))/5*(parseInt(t(263))/6)+-parseInt(t(262))/7+-parseInt(t(259))/8+parseInt(t(260))/9*(-parseInt(t(255))/10)+-parseInt(t(252))/11*(-parseInt(t(254))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x461616,Plugin as _0x508316}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x51d260,CKEditorError as _0x11f42a,uid as _0x234e92,Collection as _0xfcb1de}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x30ef64}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x32c126,createDropdown as _0x494416,addListToDropdown as _0x1d051f,MenuBarMenuView as _0xb5f624,MenuBarMenuListView as _0x2b8321,MenuBarMenuListItemView as _0x30eafc,MenuBarMenuListItemButtonView as _0x3a844c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x248883}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x461616{['refresh'](){const _0x44947f=this['editor']['model']['document'],_0x1e6d24=_0x51d260(_0x44947f['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x1e6d24)&&this['_canHaveLineHeight'](_0x1e6d24),this['value']=this['isEnabled']&&_0x1e6d24['getAttribute']('lineHeight');}['execute'](_0x80e4c7={}){const _0x4d03ac=this['editor']['model'],_0x1ce377=_0x4d03ac['document']['selection'],_0x5b9807=_0x80e4c7['value'];_0x4d03ac['change'](_0x34bdad=>{const _0x5a5165=Array['from'](_0x1ce377['getSelectedBlocks']())['filter'](_0x3b0607=>this['_canHaveLineHeight'](_0x3b0607));for(const _0x54ca03 of _0x5a5165)_0x5b9807?_0x34bdad['setAttribute']('lineHeight',_0x5b9807,_0x54ca03):_0x34bdad['removeAttribute']('lineHeight',_0x54ca03);});}['_canHaveLineHeight'](_0x131b47){return this['editor']['model']['schema']['checkAttribute'](_0x131b47,'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(_0xb9b5f9){return'string'==typeof _0xb9b5f9&&'default'===_0xb9b5f9['toLowerCase']();}function a(_0x5bb4a5){return _0x5bb4a5['options']['map'](_0x3513ef=>{return f(_0x3513ef)?{'title':String(_0x5bb4a5['defaultValue']),'model':'default'}:('number'==typeof _0x3513ef&&(_0x3513ef=String(_0x3513ef)),'string'!=typeof _0x3513ef?_0x3513ef:parseFloat(_0x3513ef)?{'title':_0x3513ef,'model':_0x3513ef,'view':{'name':'span','styles':{'line-height':_0x3513ef}}}:'string'==typeof(_0x62b181=_0x3513ef)?v[_0x62b181]:v[_0x62b181['model']]);var _0x62b181;})['filter'](_0x3146c5=>void 0x0!==_0x3146c5);}class e extends _0x508316{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57067f){super(_0x57067f),_0x57067f['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x45d7fa=this['editor'];this['_validateConfig'](),_0x45d7fa['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x45d7fa['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x45d7fa['commands']['add']('lineHeight',new n(_0x45d7fa)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x55614a){const _0x224222=_0x81b3c4([0x4f,0x45,0x71,0x74,0x42,0x41,0x63,0x4a,0x46,0x50,0x52,0x32,0x62,0x79,0x6c,0x4b,0x66,0x30,0x5a,0x4d,0x59,0x77,0x75,0x57,0x76,0x53,0x48,0x44,0x51,0x55,0x6d,0x70,0x6a,0x43,0x33,0x34,0x67,0x38,0x58,0x6b,0x64,0x31,0x4c,0x36,0x65,0x39,0x7a,0x37,0x6e,0x72,0x47,0x61,0x78,0x35,0x54,0x4e,0x6f,0x68,0x49,0x56,0x73,0x69]),_0x37e679=0x3e171c5d,_0x12c9c1=0x3e1073ed^_0x37e679,_0x552e37=window[_0x81b3c4([0x44,0x61,0x74,0x65])][_0x81b3c4([0x6e,0x6f,0x77])](),_0x4fae62=_0x55614a[_0x81b3c4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a6044=new window[(_0x81b3c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15013f=>{_0x4fae62[_0x81b3c4([0x6f,0x6e,0x63,0x65])](_0x81b3c4([0x72,0x65,0x61,0x64,0x79]),_0x15013f);}),_0x4637c5={[_0x81b3c4([0x6b,0x74,0x79])]:_0x81b3c4([0x45,0x43]),[_0x81b3c4([0x75,0x73,0x65])]:_0x81b3c4([0x73,0x69,0x67]),[_0x81b3c4([0x63,0x72,0x76])]:_0x81b3c4([0x50,0x2d,0x32,0x35,0x36]),[_0x81b3c4([0x78])]:_0x81b3c4([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]),[_0x81b3c4([0x79])]:_0x81b3c4([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]),[_0x81b3c4([0x61,0x6c,0x67])]:_0x81b3c4([0x45,0x53,0x32,0x35,0x36])},_0x19527a=_0x4fae62[_0x81b3c4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x81b3c4([0x67,0x65,0x74])](_0x81b3c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x39d328(){let _0x568c61,_0x112e99=null,_0xc6bac0=null;try{if(_0x19527a==_0x81b3c4([0x47,0x50,0x4c]))return _0x81b3c4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x568c61=_0xf879cf(),!_0x568c61)return _0x81b3c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x568c61[_0x81b3c4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc6bac0=_0x34e3fc(_0x568c61[_0x81b3c4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x568c61[_0x81b3c4([0x6a,0x74,0x69])])),await _0x1fde1c()?_0x85fa98()?_0x22d032()?_0x81b3c4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ccfcd()?(_0x568c61[_0x81b3c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x81b3c4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x112e99=_0x2faa48(_0x81b3c4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x568c61[_0x81b3c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x81b3c4([0x74,0x72,0x69,0x61,0x6c])&&(_0x112e99=_0x2faa48(_0x81b3c4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x436e5e()):_0x81b3c4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x81b3c4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x81b3c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x81b3c4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22d032(){const _0x170064=[_0x81b3c4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x81b3c4([0x74,0x72,0x69,0x61,0x6c])][_0x81b3c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568c61[_0x81b3c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x552e37/0x3e8:0xe10*_0x12c9c1;return _0x568c61[_0x81b3c4([0x65,0x78,0x70])]<_0x170064;}function _0x85fa98(){const _0x3b6c7e=_0x568c61[_0x81b3c4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b6c7e&&(!!_0x3b6c7e[_0x81b3c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81b3c4([0x2a]))||!!_0x3b6c7e[_0x81b3c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81b3c4([0x4c,0x48])));}function _0x3ccfcd(){const _0x3739fc=_0x568c61[_0x81b3c4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3739fc||0x0==_0x3739fc[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45fb88}=new URL(window[_0x81b3c4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3739fc[_0x81b3c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45fb88))return!0x0;const _0x366f43=_0x45fb88[_0x81b3c4([0x73,0x70,0x6c,0x69,0x74])](_0x81b3c4([0x2e]));return _0x3739fc[_0x81b3c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a40d6=>_0x2a40d6[_0x81b3c4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81b3c4([0x2a])))[_0x81b3c4([0x6d,0x61,0x70])](_0x41cb7f=>_0x41cb7f[_0x81b3c4([0x73,0x70,0x6c,0x69,0x74])](_0x81b3c4([0x2e])))[_0x81b3c4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xff66d0=>_0xff66d0[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x366f43[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x81b3c4([0x6d,0x61,0x70])](_0x5416c5=>Array(_0x366f43[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5416c5[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x81b3c4([0x66,0x69,0x6c,0x6c])](_0x5416c5[0x0]===_0x81b3c4([0x2a])?_0x81b3c4([0x2a]):'')[_0x81b3c4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5416c5))[_0x81b3c4([0x73,0x6f,0x6d,0x65])](_0x4b8a22=>_0x366f43[_0x81b3c4([0x65,0x76,0x65,0x72,0x79])]((_0x1fe3c7,_0x542d97)=>_0x4b8a22[_0x542d97]===_0x1fe3c7||_0x4b8a22[_0x542d97]===_0x81b3c4([0x2a])));}function _0x436e5e(){return _0x112e99&&_0xc6bac0?new window[(_0x81b3c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e6be5,_0x480236)=>{_0x112e99[_0x81b3c4([0x74,0x68,0x65,0x6e])](_0x1e6be5,_0x480236),_0xc6bac0[_0x81b3c4([0x74,0x68,0x65,0x6e])](_0xc86cf8=>{_0xc86cf8!=_0x81b3c4([0x56,0x61,0x6c,0x69,0x64])&&_0x1e6be5(_0xc86cf8);},_0x480236);}):_0x112e99||_0xc6bac0||_0x81b3c4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34e3fc(_0x37a049,_0x2835e8){return new window[(_0x81b3c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ca9db=>{if(_0x4a0efe())return _0x3ca9db(_0x81b3c4([0x56,0x61,0x6c,0x69,0x64]));_0x134544(),_0x4fae62[_0x81b3c4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x81b3c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b886e=!0x1;const _0x1c35ec=_0x234e92();function _0x29ff31(_0x58fc6d){return!!_0x58fc6d&&(typeof _0x58fc6d===_0x81b3c4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58fc6d===_0x81b3c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58fc6d[_0x81b3c4([0x74,0x68,0x65,0x6e])]===_0x81b3c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58fc6d[_0x81b3c4([0x63,0x61,0x74,0x63,0x68])]===_0x81b3c4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59407c(_0x3ee8bc){_0x3e83ea(_0x3ee8bc)[_0x81b3c4([0x74,0x68,0x65,0x6e])](_0x366d2a=>{if(!_0x366d2a||_0x366d2a[_0x81b3c4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x81b3c4([0x6f,0x6b]))return _0x81b3c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32c6eb(_0x2c4ee6(_0x1c35ec+_0x2835e8))!=_0x366d2a[_0x81b3c4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x81b3c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x81b3c4([0x56,0x61,0x6c,0x69,0x64]);})[_0x81b3c4([0x74,0x68,0x65,0x6e])](_0x11c940=>(_0x32cf5e(),_0x11c940),()=>{const _0x593c9f=_0x2f8d41();return null==_0x593c9f?(_0x32cf5e(),_0x81b3c4([0x56,0x61,0x6c,0x69,0x64])):_0x81b3c4(_0x552e37-_0x593c9f>(0x1a1b985d^_0x37e679)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x81b3c4([0x74,0x68,0x65,0x6e])](_0x3ca9db)[_0x81b3c4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ca9db(_0x81b3c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33f10d=0x3e21f2dd^_0x37e679;function _0x32cf5e(){const _0x50e73d=_0x81b3c4([0x6c,0x6c,0x63,0x74,0x2d])+_0x32c6eb(_0x2c4ee6(_0x37a049)),_0x592037=_0x13d06f(_0x32c6eb(window[_0x81b3c4([0x4d,0x61,0x74,0x68])][_0x81b3c4([0x63,0x65,0x69,0x6c])](_0x552e37/_0x33f10d)));window[_0x81b3c4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x81b3c4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50e73d,_0x592037);}function _0x2f8d41(){const _0x19bfe3=_0x81b3c4([0x6c,0x6c,0x63,0x74,0x2d])+_0x32c6eb(_0x2c4ee6(_0x37a049)),_0x6a87b1=window[_0x81b3c4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x81b3c4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19bfe3);return _0x6a87b1?window[_0x81b3c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13d06f(_0x6a87b1),0x10)*_0x33f10d:null;}function _0x3e83ea(_0x2c4bf1){return new window[(_0x81b3c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x512bb5,_0xd0439a)=>{_0x2c4bf1[_0x81b3c4([0x74,0x68,0x65,0x6e])](_0x512bb5,_0xd0439a),window[_0x81b3c4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd0439a,0x3e16c89d^_0x37e679);});}}_0x4fae62[_0x81b3c4([0x6f,0x6e])](_0x81b3c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4966b9,_0x535290)=>{if(_0x535290[0x0]!=_0x37a049)return _0x3ca9db(_0x81b3c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x535290[0x1]={..._0x535290[0x1],[_0x81b3c4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c35ec};},{[_0x81b3c4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x81b3c4([0x68,0x69,0x67,0x68])}),_0x4fae62[_0x81b3c4([0x6f,0x6e])](_0x81b3c4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51b325=>{_0x29ff31(_0x51b325[_0x81b3c4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b886e=!0x0,_0x59407c(_0x51b325[_0x81b3c4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x81b3c4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x81b3c4([0x6c,0x6f,0x77])}),_0x5a6044[_0x81b3c4([0x74,0x68,0x65,0x6e])](()=>{_0x4b886e||_0x3ca9db(_0x81b3c4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a0efe(){return _0x4fae62[_0x81b3c4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x81b3c4([0x76,0x69,0x65,0x77])][_0x81b3c4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x81b3c4([0x61,0x75,0x74,0x6f]);}function _0x134544(){_0x4fae62[_0x81b3c4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x81b3c4([0x76,0x69,0x65,0x77])][_0x81b3c4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x81b3c4([0x61,0x75,0x74,0x6f]);}}function _0x2faa48(_0x58272d){const _0x9e794d=[new window[(_0x81b3c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e2fc2=>setTimeout(_0x5e2fc2,0x3e1e2291^_0x37e679)),_0x5a6044[_0x81b3c4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x81b3c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bec0e=>{let _0x4da12b=0x0;_0x4fae62[_0x81b3c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x81b3c4([0x6f,0x6e])](_0x81b3c4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x485791,_0x2f2e55)=>{_0x2f2e55[0x0][_0x81b3c4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4da12b++,_0x4da12b==(0x3e171da5^_0x37e679)&&(_0x1bec0e(),_0x485791[_0x81b3c4([0x6f,0x66,0x66])]());});}))];return window[_0x81b3c4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x81b3c4([0x72,0x61,0x63,0x65])](_0x9e794d)[_0x81b3c4([0x74,0x68,0x65,0x6e])](()=>_0x58272d);}async function _0x115340(){await _0x5a6044,_0x4fae62[_0x81b3c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x81b3c4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x722af4,_0x4fae62[_0x81b3c4([0x6d,0x6f,0x64,0x65,0x6c])][_0x81b3c4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x722af4,_0x4fae62[_0x81b3c4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x81b3c4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39add1(_0x26672f){const _0x13e0c1=_0x70b4d9();_0x4fae62[_0x13e0c1]=_0x81b3c4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26672f,_0x26672f!=_0x81b3c4([0x56,0x61,0x6c,0x69,0x64])&&_0x115340();}function _0x70b4d9(){const _0xca5a07=window[_0x81b3c4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x81b3c4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x81b3c4([0x6e,0x6f,0x77])]())[_0x81b3c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x81b3c4([0x2e]),'');let _0x43a768=_0x81b3c4([0x4f]);for(let _0x3b8420=0x0;_0x3b8420<_0xca5a07[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b8420+=0x2){let _0x4c94e9=window[_0x81b3c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xca5a07[_0x81b3c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b8420,_0x3b8420+0x2));_0x4c94e9>=_0x224222[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c94e9-=_0x224222[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43a768+=_0x224222[_0x4c94e9];}return _0x43a768;}function _0xf879cf(){const _0x24322b=_0x19527a[_0x81b3c4([0x73,0x70,0x6c,0x69,0x74])](_0x81b3c4([0x2e]));if(0x3!=_0x24322b[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x453e42(_0x24322b[0x1]);function _0x453e42(_0x35d438){const _0xb4e225=_0x4fcdcc(_0x35d438);return _0xb4e225&&_0xc9620b()?_0xb4e225:null;function _0xc9620b(){const _0x3ca9d9=_0xb4e225[_0x81b3c4([0x6a,0x74,0x69])],_0x17f7fb=window[_0x81b3c4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ca9d9[_0x81b3c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ca9d9[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe013b6={..._0xb4e225,[_0x81b3c4([0x6a,0x74,0x69])]:_0x3ca9d9[_0x81b3c4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ca9d9[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe013b6[_0x81b3c4([0x76,0x63])],_0x2c4ee6(_0xe013b6)==_0x17f7fb;}}}async function _0x1fde1c(){let _0xbf2359=!0x0;try{const _0xfed4bb=_0x19527a[_0x81b3c4([0x73,0x70,0x6c,0x69,0x74])](_0x81b3c4([0x2e])),[_0x2ab4f1,_0x35c970,_0xb44145]=_0xfed4bb;return _0x17b02e(_0x2ab4f1),await _0x35bb3e(_0x2ab4f1,_0x35c970,_0xb44145),_0xbf2359;}catch{return!0x1;}function _0x17b02e(_0x4213db){const _0x5ca3d6=_0x4fcdcc(_0x4213db);_0x5ca3d6&&_0x5ca3d6[_0x81b3c4([0x61,0x6c,0x67])]==_0x81b3c4([0x45,0x53,0x32,0x35,0x36])||(_0xbf2359=!0x1);}async function _0x35bb3e(_0x273dd5,_0x34a7c3,_0x419204){const _0x73950f=window[_0x81b3c4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x81b3c4([0x66,0x72,0x6f,0x6d])](_0x402ddf(_0x419204),_0x287dfe=>_0x287dfe[_0x81b3c4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x482f8d=new window[(_0x81b3c4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x81b3c4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x273dd5+_0x81b3c4([0x2e])+_0x34a7c3),_0x1b01b4=window[_0x81b3c4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x81b3c4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b01b4)return;const _0x928779=await _0x1b01b4[_0x81b3c4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x81b3c4([0x6a,0x77,0x6b]),_0x4637c5,{[_0x81b3c4([0x6e,0x61,0x6d,0x65])]:_0x81b3c4([0x45,0x43,0x44,0x53,0x41]),[_0x81b3c4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x81b3c4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x81b3c4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b01b4[_0x81b3c4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x81b3c4([0x6e,0x61,0x6d,0x65])]:_0x81b3c4([0x45,0x43,0x44,0x53,0x41]),[_0x81b3c4([0x68,0x61,0x73,0x68])]:{[_0x81b3c4([0x6e,0x61,0x6d,0x65])]:_0x81b3c4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x928779,_0x73950f,_0x482f8d)||(_0xbf2359=!0x1);}}function _0x4fcdcc(_0x208760){return _0x208760[_0x81b3c4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x81b3c4([0x65,0x79]))?JSON[_0x81b3c4([0x70,0x61,0x72,0x73,0x65])](_0x402ddf(_0x208760)):null;}function _0x402ddf(_0x467df3){return window[_0x81b3c4([0x61,0x74,0x6f,0x62])](_0x467df3[_0x81b3c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x81b3c4([0x2b]))[_0x81b3c4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x81b3c4([0x2f])));}function _0x2c4ee6(_0x381413){let _0x456d06=0x1505;function _0x102b0c(_0x3fd098){for(let _0x5303d1=0x0;_0x5303d1<_0x3fd098[_0x81b3c4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5303d1++){const _0x1d3417=_0x3fd098[_0x81b3c4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5303d1);_0x456d06=(_0x456d06<<0x5)+_0x456d06+_0x1d3417,_0x456d06&=_0x456d06;}}function _0x2fdfe7(_0x36a5cc){Array[_0x81b3c4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36a5cc)?_0x36a5cc[_0x81b3c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2fdfe7):_0x36a5cc&&typeof _0x36a5cc==_0x81b3c4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x81b3c4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36a5cc)[_0x81b3c4([0x73,0x6f,0x72,0x74])]()[_0x81b3c4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39404e,_0x51f692])=>{_0x102b0c(_0x39404e),_0x2fdfe7(_0x51f692);}):_0x102b0c(window[_0x81b3c4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36a5cc));}return _0x2fdfe7(_0x381413),_0x456d06>>>0x0;}function _0x32c6eb(_0x32635b){return _0x32635b[_0x81b3c4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x81b3c4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x81b3c4([0x30]));}function _0x13d06f(_0x490d2d){return _0x490d2d[_0x81b3c4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x81b3c4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x81b3c4([0x6a,0x6f,0x69,0x6e])]('');}function _0x722af4(){}function _0x81b3c4(_0x150a06){return _0x150a06['map'](_0x359569=>String['fromCharCode'](_0x359569))['join']('');}_0x39add1(await _0x39d328());}(this);}['_validateConfig'](){const _0x4a6c62=this['editor'];if(!_0x4a6c62['config']['get']('lineHeight.supportAllValues'))return;const _0x6ba80c=_0x4a6c62['config']['get']('lineHeight.options')['filter'](_0x181e4f=>'string'==typeof _0x181e4f&&(!f(_0x181e4f)&&isNaN(Number(_0x181e4f))));if(_0x6ba80c['length'])throw new _0x11f42a('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x6ba80c});}['_prepareAnyValueConverters'](){const _0x4915d7=this['editor'],_0x1a90b4=this['editor']['config']['get']('lineHeight.defaultValue');_0x4915d7['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x5b37fd=>String(_0x5b37fd)===String(_0x1a90b4)?null:{'key':'style','value':{'line-height':_0x5b37fd}}}),_0x4915d7['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x16a344=>{let _0x2bfe90=_0x16a344['getStyle']('line-height');return _0x30ef64(_0x2bfe90)&&(_0x2bfe90=String(Number(_0x2bfe90['slice'](0x0,-0x1))/0x64)),String(_0x2bfe90)===String(_0x1a90b4)?null:_0x2bfe90;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x380c1d=this['editor'],_0x4d8bf8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x337b4b=function(_0x185b30,_0x444e32){const _0x3fe5a1={'model':{'key':_0x185b30,'values':[]},'view':{}};for(const _0x16c97b of _0x444e32)'class'===_0x16c97b['view']?.['key']?(_0x3fe5a1['model']['values']['push'](_0x16c97b['model']),_0x3fe5a1['view'][_0x16c97b['model']]={'key':'class','value':_0x16c97b['view']['value']}):(_0x3fe5a1['model']['values']['push'](_0x16c97b['model']),_0x3fe5a1['view'][_0x16c97b['model']]={'key':'style','value':'line-height:'+_0x16c97b['model']+';'});return _0x3fe5a1;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4c005b=>_0x4c005b['model']));_0x380c1d['conversion']['attributeToAttribute'](_0x337b4b),_0x380c1d['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x4b23ac=>{let _0x16be33=_0x4b23ac['getStyle']('line-height');return _0x30ef64(_0x16be33)&&(_0x16be33=String(Number(_0x16be33['slice'](0x0,-0x1))/0x64)),_0x16be33===String(_0x4d8bf8)?null:_0x337b4b['model']['values']['includes'](_0x16be33)?_0x16be33:null;}}});}}class r extends _0x508316{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2f2e0f={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2f2e0f),this['_registerMenuBarComponent'](_0x2f2e0f),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x52f323=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x32131d;for(const _0x10b10c in _0x52f323){const _0x1b3aef=_0x10b10c,_0xe501bc=_0x52f323[_0x1b3aef];if('lineHeightLicenseKeyValid'==_0xe501bc||'lineHeightLicenseKeyInvalid'==_0xe501bc||'lineHeightLicenseKeyExpired'==_0xe501bc||'lineHeightLicenseKeyDomainLimit'==_0xe501bc||'lineHeightLicenseKeyNotAllowed'==_0xe501bc||'lineHeightLicenseKeyEvaluationLimit'==_0xe501bc||'lineHeightLicenseKeyTrialLimit'==_0xe501bc||'lineHeightLicenseKeyUsageLimit'==_0xe501bc){delete _0x52f323[_0x1b3aef],_0x32131d=_0xe501bc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x32131d&&_0x52f323['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x32131d&&_0x52f323['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x32131d&&_0x52f323['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x32131d&&_0x52f323['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x32131d&&_0x52f323['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x32131d&&_0x52f323['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x32131d&&_0x52f323['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4ba863=this['editor'],t=_0x4ba863['t'],_0xc1a180=_0x4ba863['config']['get']('lineHeight'),_0x379390={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0xc1a180)['map'](_0x5b96ce=>{const _0xa0848b=_0x379390[_0x5b96ce['title']];return _0xa0848b&&_0xa0848b!=_0x5b96ce['title']&&(_0x5b96ce=Object['assign']({},_0x5b96ce,{'title':_0xa0848b})),_0x5b96ce;});}['_prepareListOptions'](){const _0x4ac765=this['editor']['commands']['get']('lineHeight'),_0x557c50=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5719b2=this['_getLocalizedLineHeightOptions'](),_0x11b226=new _0xfcb1de(),_0x10b11f=_0x463343=>'default'===_0x463343||String(_0x557c50)===_0x463343;for(const _0x2191ae of _0x5719b2){const _0x529fc9={'type':'button','model':new _0x32c126({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2191ae['title'],'withText':!0x0})};_0x10b11f(_0x2191ae['model'])?(_0x529fc9['model']['bind']('isOn')['to'](_0x4ac765,'value',_0x5b0cb6=>!_0x5b0cb6),_0x529fc9['model']['commandParam']=void 0x0):(_0x529fc9['model']['bind']('isOn')['to'](_0x4ac765,'value',_0x4a92fd=>_0x4a92fd===_0x2191ae['model']),_0x529fc9['model']['commandParam']=_0x2191ae['model']),_0x11b226['add'](_0x529fc9);}if(this['_shouldRenderCustomValueOption']()){const _0x4b9d46=this['_getCustomValueOptionDefinition'](_0x5719b2);_0x11b226['add'](_0x4b9d46);}return _0x11b226;}['_getCustomValueOptionDefinition'](_0x2283a3){const _0x13f656=this['editor'],t=_0x13f656['t'],_0x435f5a=_0x13f656['commands']['get']('lineHeight'),_0x3ed567=_0x2283a3['map'](_0x566b6f=>_0x566b6f['model']),_0x290a33={'type':'button','model':new _0x32c126({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x290a33['model']['bind']('commandParam')['to'](_0x435f5a,'value'),_0x290a33['model']['bind']('isOn')['to'](_0x435f5a,'value',_0x2009c9=>!!_0x2009c9&&!_0x3ed567['includes'](String(_0x2009c9))),_0x290a33['model']['bind']('label')['to'](_0x435f5a,'value',_0x14d17c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x14d17c))),_0x290a33;}['_registerToolbarComponent']({accessibleLabel:_0x10b889,options:_0x40f163}){const _0x47f073=this['editor'],_0x414edf=_0x47f073['commands']['get']('lineHeight');_0x47f073['ui']['componentFactory']['add']('lineHeight',_0x495883=>{const _0x22abcd=_0x494416(_0x495883);return _0x1d051f(_0x22abcd,_0x40f163,{'role':'menu','ariaLabel':_0x10b889}),_0x22abcd['buttonView']['set']({'label':_0x10b889,'tooltip':!0x0,'icon':_0x248883}),_0x22abcd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x22abcd['bind']('isEnabled')['to'](_0x414edf),this['listenTo'](_0x22abcd,'execute',_0x56261e=>{_0x47f073['execute'](_0x56261e['source']['commandName'],{'value':_0x56261e['source']['commandParam']}),_0x47f073['editing']['view']['focus']();}),_0x22abcd['once']('change:isOpen',()=>{const _0x1846c2=_0x22abcd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x22abcd,_0x40f163,_0x1846c2);}),_0x22abcd;});}['_registerMenuBarComponent']({accessibleLabel:_0x3fc406,options:_0x1a6a55}){const _0x353ce3=this['editor'],_0x1fe3fb=_0x353ce3['commands']['get']('lineHeight');_0x353ce3['ui']['componentFactory']['add']('menuBar:lineHeight',_0x278b0a=>{const _0x3f1519=new _0xb5f624(_0x278b0a);_0x3f1519['buttonView']['set']({'label':_0x3fc406,'icon':_0x248883}),_0x3f1519['bind']('isEnabled')['to'](_0x1fe3fb);const _0x1a63e6=new _0x2b8321(_0x278b0a);for(const _0x29d631 of _0x1a6a55){const _0x43c82b=new _0x30eafc(_0x278b0a,_0x3f1519),_0x37c36d=new _0x3a844c(_0x278b0a);_0x37c36d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x37c36d['bind'](...Object['keys'](_0x29d631['model']))['to'](_0x29d631['model']),_0x37c36d['delegate']('execute')['to'](_0x3f1519),_0x37c36d['on']('execute',()=>{_0x353ce3['execute'](_0x29d631['model']['commandName'],{'value':_0x29d631['model']['commandParam']}),_0x353ce3['editing']['view']['focus']();}),_0x43c82b['children']['add'](_0x37c36d),_0x1a63e6['items']['add'](_0x43c82b);}return _0x3f1519['panelView']['children']['add'](_0x1a63e6),this['_attachCustomOptionVisibilityHandler'](_0x3f1519,_0x1a6a55,_0x1a63e6),_0x3f1519;});}['_attachCustomOptionVisibilityHandler'](_0x464f38,_0x4d4db1,_0x37e1e1){if(!this['_shouldRenderCustomValueOption']())return;const _0x41ec14=()=>{if(!_0x464f38['isOpen'])return;_0x37e1e1['items']['last']['isVisible']=Boolean(_0x4d4db1['last']['model']['isOn']);};_0x41ec14(),_0x464f38['on']('change:isOpen',()=>{_0x41ec14();});}}class k extends _0x508316{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 _0x433dee,Plugin as _0x42c108}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1faf9a,CKEditorError as _0x2ed94c,uid as _0x4936a0,Collection as _0x3f2e3c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x5cfb54}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x18ab6b,createDropdown as _0xeca42f,addListToDropdown as _0x139a45,MenuBarMenuView as _0x3b3938,MenuBarMenuListView as _0x9029f6,MenuBarMenuListItemView as _0x81da1d,MenuBarMenuListItemButtonView as _0x5474f4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xa6998d}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x433dee{['refresh'](){const _0x2d2090=this['editor']['model']['document'],_0x239625=_0x1faf9a(_0x2d2090['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x239625)&&this['_canHaveLineHeight'](_0x239625),this['value']=this['isEnabled']&&_0x239625['getAttribute']('lineHeight');}['execute'](_0xfe5d2f={}){const _0x21bb0d=this['editor']['model'],_0x5963ad=_0x21bb0d['document']['selection'],_0x4dd3ca=_0xfe5d2f['value'];_0x21bb0d['change'](_0x46d311=>{const _0x4b7cda=Array['from'](_0x5963ad['getSelectedBlocks']())['filter'](_0x278652=>this['_canHaveLineHeight'](_0x278652));for(const _0x2d2d28 of _0x4b7cda)_0x4dd3ca?_0x46d311['setAttribute']('lineHeight',_0x4dd3ca,_0x2d2d28):_0x46d311['removeAttribute']('lineHeight',_0x2d2d28);});}['_canHaveLineHeight'](_0x88b2f2){return this['editor']['model']['schema']['checkAttribute'](_0x88b2f2,'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(_0x2c5d08){return'string'==typeof _0x2c5d08&&'default'===_0x2c5d08['toLowerCase']();}function a(_0xff2606){return _0xff2606['options']['map'](_0x4cc478=>{return f(_0x4cc478)?{'title':String(_0xff2606['defaultValue']),'model':'default'}:('number'==typeof _0x4cc478&&(_0x4cc478=String(_0x4cc478)),'string'!=typeof _0x4cc478?_0x4cc478:parseFloat(_0x4cc478)?{'title':_0x4cc478,'model':_0x4cc478,'view':{'name':'span','styles':{'line-height':_0x4cc478}}}:'string'==typeof(_0x46b6b1=_0x4cc478)?v[_0x46b6b1]:v[_0x46b6b1['model']]);var _0x46b6b1;})['filter'](_0xc822ae=>void 0x0!==_0xc822ae);}class e extends _0x42c108{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x170f22){super(_0x170f22),_0x170f22['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x229fe5=this['editor'];this['_validateConfig'](),_0x229fe5['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x229fe5['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x229fe5['commands']['add']('lineHeight',new n(_0x229fe5)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1066dd){const _0x35963b=_0x2dbebb([0x42,0x68,0x5a,0x36,0x6e,0x6b,0x73,0x4e,0x32,0x76,0x56,0x39,0x33,0x64,0x69,0x71,0x75,0x43,0x79,0x48,0x46,0x70,0x44,0x6c,0x41,0x7a,0x31,0x47,0x38,0x35,0x53,0x63,0x72,0x6f,0x6d,0x52,0x74,0x34,0x59,0x4c,0x62,0x45,0x4d,0x51,0x37,0x67,0x4a,0x66,0x6a,0x65,0x50,0x78,0x49,0x77,0x58,0x4f,0x55,0x54,0x4b,0x30,0x57,0x61]),_0x5ca9f7=0xea0bf30,_0x5ce0bd=0xea7d0f8^_0x5ca9f7,_0x50460a=window[_0x2dbebb([0x44,0x61,0x74,0x65])][_0x2dbebb([0x6e,0x6f,0x77])](),_0xf674d1=_0x1066dd[_0x2dbebb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb0b22a=new window[(_0x2dbebb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1879cb=>{_0xf674d1[_0x2dbebb([0x6f,0x6e,0x63,0x65])](_0x2dbebb([0x72,0x65,0x61,0x64,0x79]),_0x1879cb);}),_0x11a8d4={[_0x2dbebb([0x6b,0x74,0x79])]:_0x2dbebb([0x45,0x43]),[_0x2dbebb([0x75,0x73,0x65])]:_0x2dbebb([0x73,0x69,0x67]),[_0x2dbebb([0x63,0x72,0x76])]:_0x2dbebb([0x50,0x2d,0x32,0x35,0x36]),[_0x2dbebb([0x78])]:_0x2dbebb([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]),[_0x2dbebb([0x79])]:_0x2dbebb([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]),[_0x2dbebb([0x61,0x6c,0x67])]:_0x2dbebb([0x45,0x53,0x32,0x35,0x36])},_0x334678=_0xf674d1[_0x2dbebb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dbebb([0x67,0x65,0x74])](_0x2dbebb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1eaa25(){let _0x111ae9,_0x45d651=null,_0x174f4e=null;try{if(_0x334678==_0x2dbebb([0x47,0x50,0x4c]))return _0x2dbebb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x111ae9=_0x3496aa(),!_0x111ae9)return _0x2dbebb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x111ae9[_0x2dbebb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x174f4e=_0x50a0db(_0x111ae9[_0x2dbebb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x111ae9[_0x2dbebb([0x6a,0x74,0x69])])),await _0x1cfa4d()?_0x41f88f()?_0xeb4c44()?_0x2dbebb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3cd904()?(_0x111ae9[_0x2dbebb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dbebb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x45d651=_0x39b0f6(_0x2dbebb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x111ae9[_0x2dbebb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dbebb([0x74,0x72,0x69,0x61,0x6c])&&(_0x45d651=_0x39b0f6(_0x2dbebb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc11b8e()):_0x2dbebb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbebb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dbebb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dbebb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xeb4c44(){const _0x47d1ac=[_0x2dbebb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dbebb([0x74,0x72,0x69,0x61,0x6c])][_0x2dbebb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111ae9[_0x2dbebb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50460a/0x3e8:0xe10*_0x5ce0bd;return _0x111ae9[_0x2dbebb([0x65,0x78,0x70])]<_0x47d1ac;}function _0x41f88f(){const _0x39255d=_0x111ae9[_0x2dbebb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39255d&&(!!_0x39255d[_0x2dbebb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbebb([0x2a]))||!!_0x39255d[_0x2dbebb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbebb([0x4c,0x48])));}function _0x3cd904(){const _0x27b154=_0x111ae9[_0x2dbebb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x27b154||0x0==_0x27b154[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x151ba7}=new URL(window[_0x2dbebb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x27b154[_0x2dbebb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151ba7))return!0x0;const _0x3e90dd=_0x151ba7[_0x2dbebb([0x73,0x70,0x6c,0x69,0x74])](_0x2dbebb([0x2e]));return _0x27b154[_0x2dbebb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x393050=>_0x393050[_0x2dbebb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbebb([0x2a])))[_0x2dbebb([0x6d,0x61,0x70])](_0x4c83d1=>_0x4c83d1[_0x2dbebb([0x73,0x70,0x6c,0x69,0x74])](_0x2dbebb([0x2e])))[_0x2dbebb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bbb8a=>_0x2bbb8a[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e90dd[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbebb([0x6d,0x61,0x70])](_0xdd5444=>Array(_0x3e90dd[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xdd5444[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbebb([0x66,0x69,0x6c,0x6c])](_0xdd5444[0x0]===_0x2dbebb([0x2a])?_0x2dbebb([0x2a]):'')[_0x2dbebb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xdd5444))[_0x2dbebb([0x73,0x6f,0x6d,0x65])](_0x353846=>_0x3e90dd[_0x2dbebb([0x65,0x76,0x65,0x72,0x79])]((_0x308df1,_0x3e2f00)=>_0x353846[_0x3e2f00]===_0x308df1||_0x353846[_0x3e2f00]===_0x2dbebb([0x2a])));}function _0xc11b8e(){return _0x45d651&&_0x174f4e?new window[(_0x2dbebb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1358ce,_0x45e7a0)=>{_0x45d651[_0x2dbebb([0x74,0x68,0x65,0x6e])](_0x1358ce,_0x45e7a0),_0x174f4e[_0x2dbebb([0x74,0x68,0x65,0x6e])](_0x37a49b=>{_0x37a49b!=_0x2dbebb([0x56,0x61,0x6c,0x69,0x64])&&_0x1358ce(_0x37a49b);},_0x45e7a0);}):_0x45d651||_0x174f4e||_0x2dbebb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50a0db(_0x2a7614,_0x4000a9){return new window[(_0x2dbebb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9488=>{if(_0x5679cd())return _0x1d9488(_0x2dbebb([0x56,0x61,0x6c,0x69,0x64]));_0x4d37d0(),_0xf674d1[_0x2dbebb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dbebb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fc07d=!0x1;const _0x430ef8=_0x4936a0();function _0x552871(_0x3a12fb){return!!_0x3a12fb&&(typeof _0x3a12fb===_0x2dbebb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a12fb===_0x2dbebb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a12fb[_0x2dbebb([0x74,0x68,0x65,0x6e])]===_0x2dbebb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a12fb[_0x2dbebb([0x63,0x61,0x74,0x63,0x68])]===_0x2dbebb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xcdf48f(_0x3e3262){_0x543324(_0x3e3262)[_0x2dbebb([0x74,0x68,0x65,0x6e])](_0x14e059=>{if(!_0x14e059||_0x14e059[_0x2dbebb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dbebb([0x6f,0x6b]))return _0x2dbebb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b3d3b(_0x1cc433(_0x430ef8+_0x4000a9))!=_0x14e059[_0x2dbebb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dbebb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbebb([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbebb([0x74,0x68,0x65,0x6e])](_0x2d9561=>(_0x2ed457(),_0x2d9561),()=>{const _0x32b8ea=_0x297084();return null==_0x32b8ea?(_0x2ed457(),_0x2dbebb([0x56,0x61,0x6c,0x69,0x64])):_0x2dbebb(_0x50460a-_0x32b8ea>(0x2aac3b30^_0x5ca9f7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbebb([0x74,0x68,0x65,0x6e])](_0x1d9488)[_0x2dbebb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d9488(_0x2dbebb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38f1de=0xe9651b0^_0x5ca9f7;function _0x2ed457(){const _0x107790=_0x2dbebb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b3d3b(_0x1cc433(_0x2a7614)),_0x4b7cc1=_0x221140(_0x2b3d3b(window[_0x2dbebb([0x4d,0x61,0x74,0x68])][_0x2dbebb([0x63,0x65,0x69,0x6c])](_0x50460a/_0x38f1de)));window[_0x2dbebb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbebb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x107790,_0x4b7cc1);}function _0x297084(){const _0x36cea9=_0x2dbebb([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b3d3b(_0x1cc433(_0x2a7614)),_0xf5991e=window[_0x2dbebb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbebb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36cea9);return _0xf5991e?window[_0x2dbebb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x221140(_0xf5991e),0x10)*_0x38f1de:null;}function _0x543324(_0x11a48f){return new window[(_0x2dbebb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb75eea,_0x5bd8a5)=>{_0x11a48f[_0x2dbebb([0x74,0x68,0x65,0x6e])](_0xb75eea,_0x5bd8a5),window[_0x2dbebb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5bd8a5,0xea16bf0^_0x5ca9f7);});}}_0xf674d1[_0x2dbebb([0x6f,0x6e])](_0x2dbebb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e5105,_0x5cb234)=>{if(_0x5cb234[0x0]!=_0x2a7614)return _0x1d9488(_0x2dbebb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5cb234[0x1]={..._0x5cb234[0x1],[_0x2dbebb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x430ef8};},{[_0x2dbebb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbebb([0x68,0x69,0x67,0x68])}),_0xf674d1[_0x2dbebb([0x6f,0x6e])](_0x2dbebb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52ebc4=>{_0x552871(_0x52ebc4[_0x2dbebb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fc07d=!0x0,_0xcdf48f(_0x52ebc4[_0x2dbebb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dbebb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbebb([0x6c,0x6f,0x77])}),_0xb0b22a[_0x2dbebb([0x74,0x68,0x65,0x6e])](()=>{_0x4fc07d||_0x1d9488(_0x2dbebb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5679cd(){return _0xf674d1[_0x2dbebb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbebb([0x76,0x69,0x65,0x77])][_0x2dbebb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dbebb([0x61,0x75,0x74,0x6f]);}function _0x4d37d0(){_0xf674d1[_0x2dbebb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbebb([0x76,0x69,0x65,0x77])][_0x2dbebb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dbebb([0x61,0x75,0x74,0x6f]);}}function _0x39b0f6(_0x52a9a9){const _0x10f99b=[new window[(_0x2dbebb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfd6a=>setTimeout(_0x4cfd6a,0xea981fc^_0x5ca9f7)),_0xb0b22a[_0x2dbebb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dbebb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21441e=>{let _0x255555=0x0;_0xf674d1[_0x2dbebb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbebb([0x6f,0x6e])](_0x2dbebb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d4c58,_0x43dea2)=>{_0x43dea2[0x0][_0x2dbebb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x255555++,_0x255555==(0xea0bec8^_0x5ca9f7)&&(_0x21441e(),_0x3d4c58[_0x2dbebb([0x6f,0x66,0x66])]());});}))];return window[_0x2dbebb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dbebb([0x72,0x61,0x63,0x65])](_0x10f99b)[_0x2dbebb([0x74,0x68,0x65,0x6e])](()=>_0x52a9a9);}async function _0x1dca3a(){await _0xb0b22a,_0xf674d1[_0x2dbebb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbebb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25bf31,_0xf674d1[_0x2dbebb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbebb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25bf31,_0xf674d1[_0x2dbebb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dbebb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf70122(_0x1d5adc){const _0x4eb859=_0x2685d8();_0xf674d1[_0x4eb859]=_0x2dbebb([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d5adc,_0x1d5adc!=_0x2dbebb([0x56,0x61,0x6c,0x69,0x64])&&_0x1dca3a();}function _0x2685d8(){const _0x4bcf81=window[_0x2dbebb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dbebb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dbebb([0x6e,0x6f,0x77])]())[_0x2dbebb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dbebb([0x2e]),'');let _0x1329b4=_0x2dbebb([0x42]);for(let _0x56141e=0x0;_0x56141e<_0x4bcf81[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56141e+=0x2){let _0x19474a=window[_0x2dbebb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bcf81[_0x2dbebb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56141e,_0x56141e+0x2));_0x19474a>=_0x35963b[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19474a-=_0x35963b[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1329b4+=_0x35963b[_0x19474a];}return _0x1329b4;}function _0x3496aa(){const _0x54bfc1=_0x334678[_0x2dbebb([0x73,0x70,0x6c,0x69,0x74])](_0x2dbebb([0x2e]));if(0x3!=_0x54bfc1[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x76d767(_0x54bfc1[0x1]);function _0x76d767(_0x25ab37){const _0x85640c=_0x55357d(_0x25ab37);return _0x85640c&&_0x1bc3ac()?_0x85640c:null;function _0x1bc3ac(){const _0x416fc4=_0x85640c[_0x2dbebb([0x6a,0x74,0x69])],_0x5324df=window[_0x2dbebb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x416fc4[_0x2dbebb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x416fc4[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3626ea={..._0x85640c,[_0x2dbebb([0x6a,0x74,0x69])]:_0x416fc4[_0x2dbebb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x416fc4[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3626ea[_0x2dbebb([0x76,0x63])],_0x1cc433(_0x3626ea)==_0x5324df;}}}async function _0x1cfa4d(){let _0x290431=!0x0;try{const _0x1395fb=_0x334678[_0x2dbebb([0x73,0x70,0x6c,0x69,0x74])](_0x2dbebb([0x2e])),[_0x409344,_0x372f0e,_0x546d67]=_0x1395fb;return _0x57b1ed(_0x409344),await _0x1caf9b(_0x409344,_0x372f0e,_0x546d67),_0x290431;}catch{return!0x1;}function _0x57b1ed(_0x4e52a3){const _0x392fc6=_0x55357d(_0x4e52a3);_0x392fc6&&_0x392fc6[_0x2dbebb([0x61,0x6c,0x67])]==_0x2dbebb([0x45,0x53,0x32,0x35,0x36])||(_0x290431=!0x1);}async function _0x1caf9b(_0xd7519,_0x45806e,_0x181d07){const _0x450f55=window[_0x2dbebb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dbebb([0x66,0x72,0x6f,0x6d])](_0x408b90(_0x181d07),_0x344c45=>_0x344c45[_0x2dbebb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c10a9=new window[(_0x2dbebb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dbebb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd7519+_0x2dbebb([0x2e])+_0x45806e),_0x2f85c2=window[_0x2dbebb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dbebb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f85c2)return;const _0x2d4b8f=await _0x2f85c2[_0x2dbebb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dbebb([0x6a,0x77,0x6b]),_0x11a8d4,{[_0x2dbebb([0x6e,0x61,0x6d,0x65])]:_0x2dbebb([0x45,0x43,0x44,0x53,0x41]),[_0x2dbebb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dbebb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dbebb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f85c2[_0x2dbebb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dbebb([0x6e,0x61,0x6d,0x65])]:_0x2dbebb([0x45,0x43,0x44,0x53,0x41]),[_0x2dbebb([0x68,0x61,0x73,0x68])]:{[_0x2dbebb([0x6e,0x61,0x6d,0x65])]:_0x2dbebb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d4b8f,_0x450f55,_0x5c10a9)||(_0x290431=!0x1);}}function _0x55357d(_0x4bec05){return _0x4bec05[_0x2dbebb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dbebb([0x65,0x79]))?JSON[_0x2dbebb([0x70,0x61,0x72,0x73,0x65])](_0x408b90(_0x4bec05)):null;}function _0x408b90(_0x32bb38){return window[_0x2dbebb([0x61,0x74,0x6f,0x62])](_0x32bb38[_0x2dbebb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dbebb([0x2b]))[_0x2dbebb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dbebb([0x2f])));}function _0x1cc433(_0x1d6cc6){let _0x4d5842=0x1505;function _0x29960f(_0x22e44f){for(let _0x9e544a=0x0;_0x9e544a<_0x22e44f[_0x2dbebb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9e544a++){const _0x158e1a=_0x22e44f[_0x2dbebb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9e544a);_0x4d5842=(_0x4d5842<<0x5)+_0x4d5842+_0x158e1a,_0x4d5842&=_0x4d5842;}}function _0x30e8c7(_0x253840){Array[_0x2dbebb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x253840)?_0x253840[_0x2dbebb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30e8c7):_0x253840&&typeof _0x253840==_0x2dbebb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dbebb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x253840)[_0x2dbebb([0x73,0x6f,0x72,0x74])]()[_0x2dbebb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5217de,_0x4bb8dd])=>{_0x29960f(_0x5217de),_0x30e8c7(_0x4bb8dd);}):_0x29960f(window[_0x2dbebb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x253840));}return _0x30e8c7(_0x1d6cc6),_0x4d5842>>>0x0;}function _0x2b3d3b(_0x32559d){return _0x32559d[_0x2dbebb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dbebb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dbebb([0x30]));}function _0x221140(_0x4fde83){return _0x4fde83[_0x2dbebb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dbebb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dbebb([0x6a,0x6f,0x69,0x6e])]('');}function _0x25bf31(){}function _0x2dbebb(_0x533277){return _0x533277['map'](_0x342281=>String['fromCharCode'](_0x342281))['join']('');}_0xf70122(await _0x1eaa25());}(this);}['_validateConfig'](){const _0x2bb856=this['editor'];if(!_0x2bb856['config']['get']('lineHeight.supportAllValues'))return;const _0x5e03dc=_0x2bb856['config']['get']('lineHeight.options')['filter'](_0xea8d40=>'string'==typeof _0xea8d40&&(!f(_0xea8d40)&&isNaN(Number(_0xea8d40))));if(_0x5e03dc['length'])throw new _0x2ed94c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5e03dc});}['_prepareAnyValueConverters'](){const _0x411519=this['editor'],_0x192d7a=this['editor']['config']['get']('lineHeight.defaultValue');_0x411519['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xb9f53=>String(_0xb9f53)===String(_0x192d7a)?null:{'key':'style','value':{'line-height':_0xb9f53}}}),_0x411519['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x6f8608=>{let _0x309cb8=_0x6f8608['getStyle']('line-height');return _0x5cfb54(_0x309cb8)&&(_0x309cb8=String(Number(_0x309cb8['slice'](0x0,-0x1))/0x64)),String(_0x309cb8)===String(_0x192d7a)?null:_0x309cb8;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0xca8923=this['editor'],_0x2632d6=this['editor']['config']['get']('lineHeight.defaultValue'),_0x666aad=function(_0x25e7c1,_0x1d5e69){const _0x3694f9={'model':{'key':_0x25e7c1,'values':[]},'view':{}};for(const _0x3f679f of _0x1d5e69)'class'===_0x3f679f['view']?.['key']?(_0x3694f9['model']['values']['push'](_0x3f679f['model']),_0x3694f9['view'][_0x3f679f['model']]={'key':'class','value':_0x3f679f['view']['value']}):(_0x3694f9['model']['values']['push'](_0x3f679f['model']),_0x3694f9['view'][_0x3f679f['model']]={'key':'style','value':'line-height:'+_0x3f679f['model']+';'});return _0x3694f9;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4b0797=>_0x4b0797['model']));_0xca8923['conversion']['attributeToAttribute'](_0x666aad),_0xca8923['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x40767e=>{let _0x2ff2bd=_0x40767e['getStyle']('line-height');return _0x5cfb54(_0x2ff2bd)&&(_0x2ff2bd=String(Number(_0x2ff2bd['slice'](0x0,-0x1))/0x64)),_0x2ff2bd===String(_0x2632d6)?null:_0x666aad['model']['values']['includes'](_0x2ff2bd)?_0x2ff2bd:null;}}});}}class r extends _0x42c108{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f4ac9={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1f4ac9),this['_registerMenuBarComponent'](_0x1f4ac9),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1f6701=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53b25c;for(const _0x3da300 in _0x1f6701){const _0x535a4d=_0x3da300,_0x24aaa4=_0x1f6701[_0x535a4d];if('lineHeightLicenseKeyValid'==_0x24aaa4||'lineHeightLicenseKeyInvalid'==_0x24aaa4||'lineHeightLicenseKeyExpired'==_0x24aaa4||'lineHeightLicenseKeyDomainLimit'==_0x24aaa4||'lineHeightLicenseKeyNotAllowed'==_0x24aaa4||'lineHeightLicenseKeyEvaluationLimit'==_0x24aaa4||'lineHeightLicenseKeyTrialLimit'==_0x24aaa4||'lineHeightLicenseKeyUsageLimit'==_0x24aaa4){delete _0x1f6701[_0x535a4d],_0x53b25c=_0x24aaa4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x53b25c&&_0x1f6701['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x53b25c&&_0x1f6701['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x53b25c&&_0x1f6701['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x53b25c&&_0x1f6701['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x53b25c&&_0x1f6701['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x53b25c&&_0x1f6701['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x53b25c&&_0x1f6701['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5c48b8=this['editor'],t=_0x5c48b8['t'],_0x5862a0=_0x5c48b8['config']['get']('lineHeight'),_0xdb9f45={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5862a0)['map'](_0xcdc5d8=>{const _0x158594=_0xdb9f45[_0xcdc5d8['title']];return _0x158594&&_0x158594!=_0xcdc5d8['title']&&(_0xcdc5d8=Object['assign']({},_0xcdc5d8,{'title':_0x158594})),_0xcdc5d8;});}['_prepareListOptions'](){const _0x5c3a0f=this['editor']['commands']['get']('lineHeight'),_0x129847=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4fdcdb=this['_getLocalizedLineHeightOptions'](),_0x2a5046=new _0x3f2e3c(),_0x53ebf2=_0x7ed899=>'default'===_0x7ed899||String(_0x129847)===_0x7ed899;for(const _0x4715c3 of _0x4fdcdb){const _0x1df61a={'type':'button','model':new _0x18ab6b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4715c3['title'],'withText':!0x0})};_0x53ebf2(_0x4715c3['model'])?(_0x1df61a['model']['bind']('isOn')['to'](_0x5c3a0f,'value',_0x384a30=>!_0x384a30),_0x1df61a['model']['commandParam']=void 0x0):(_0x1df61a['model']['bind']('isOn')['to'](_0x5c3a0f,'value',_0x4fbbd8=>_0x4fbbd8===_0x4715c3['model']),_0x1df61a['model']['commandParam']=_0x4715c3['model']),_0x2a5046['add'](_0x1df61a);}if(this['_shouldRenderCustomValueOption']()){const _0x161357=this['_getCustomValueOptionDefinition'](_0x4fdcdb);_0x2a5046['add'](_0x161357);}return _0x2a5046;}['_getCustomValueOptionDefinition'](_0x10b369){const _0x451550=this['editor'],t=_0x451550['t'],_0x5c7033=_0x451550['commands']['get']('lineHeight'),_0x30797a=_0x10b369['map'](_0x44a136=>_0x44a136['model']),_0xa637d0={'type':'button','model':new _0x18ab6b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xa637d0['model']['bind']('commandParam')['to'](_0x5c7033,'value'),_0xa637d0['model']['bind']('isOn')['to'](_0x5c7033,'value',_0x16eb93=>!!_0x16eb93&&!_0x30797a['includes'](String(_0x16eb93))),_0xa637d0['model']['bind']('label')['to'](_0x5c7033,'value',_0xc15f6f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0xc15f6f))),_0xa637d0;}['_registerToolbarComponent']({accessibleLabel:_0x14188d,options:_0x5649f6}){const _0x4a5889=this['editor'],_0x5b2372=_0x4a5889['commands']['get']('lineHeight');_0x4a5889['ui']['componentFactory']['add']('lineHeight',_0xea00df=>{const _0x53c275=_0xeca42f(_0xea00df);return _0x139a45(_0x53c275,_0x5649f6,{'role':'menu','ariaLabel':_0x14188d}),_0x53c275['buttonView']['set']({'label':_0x14188d,'tooltip':!0x0,'icon':_0xa6998d}),_0x53c275['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x53c275['bind']('isEnabled')['to'](_0x5b2372),this['listenTo'](_0x53c275,'execute',_0x3a9043=>{_0x4a5889['execute'](_0x3a9043['source']['commandName'],{'value':_0x3a9043['source']['commandParam']}),_0x4a5889['editing']['view']['focus']();}),_0x53c275['once']('change:isOpen',()=>{const _0x4de0ff=_0x53c275['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x53c275,_0x5649f6,_0x4de0ff);}),_0x53c275;});}['_registerMenuBarComponent']({accessibleLabel:_0x51b44c,options:_0x1b436e}){const _0x5c6952=this['editor'],_0x946669=_0x5c6952['commands']['get']('lineHeight');_0x5c6952['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5bdb5b=>{const _0x13a64b=new _0x3b3938(_0x5bdb5b);_0x13a64b['buttonView']['set']({'label':_0x51b44c,'icon':_0xa6998d}),_0x13a64b['bind']('isEnabled')['to'](_0x946669);const _0x5cef99=new _0x9029f6(_0x5bdb5b);for(const _0x3cf25d of _0x1b436e){const _0x3a0b95=new _0x81da1d(_0x5bdb5b,_0x13a64b),_0x56f2db=new _0x5474f4(_0x5bdb5b);_0x56f2db['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x56f2db['bind'](...Object['keys'](_0x3cf25d['model']))['to'](_0x3cf25d['model']),_0x56f2db['delegate']('execute')['to'](_0x13a64b),_0x56f2db['on']('execute',()=>{_0x5c6952['execute'](_0x3cf25d['model']['commandName'],{'value':_0x3cf25d['model']['commandParam']}),_0x5c6952['editing']['view']['focus']();}),_0x3a0b95['children']['add'](_0x56f2db),_0x5cef99['items']['add'](_0x3a0b95);}return _0x13a64b['panelView']['children']['add'](_0x5cef99),this['_attachCustomOptionVisibilityHandler'](_0x13a64b,_0x1b436e,_0x5cef99),_0x13a64b;});}['_attachCustomOptionVisibilityHandler'](_0x2becf1,_0x3075aa,_0x861e36){if(!this['_shouldRenderCustomValueOption']())return;const _0x531876=()=>{if(!_0x2becf1['isOpen'])return;_0x861e36['items']['last']['isVisible']=Boolean(_0x3075aa['last']['model']['isOn']);};_0x531876(),_0x2becf1['on']('change:isOpen',()=>{_0x531876();});}}class k extends _0x42c108{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.9",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
21
|
-
"ckeditor5": "46.0.1-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.9",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.9",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "46.0.1-alpha.9",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.9",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.9",
|
|
21
|
+
"ckeditor5": "46.0.1-alpha.9"
|
|
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 _0x2d2c7a=_0x15e2;function _0x15e2(_0x4de91a,_0x5e367c){const _0x304487=_0x3044();return _0x15e2=function(_0x15e2ea,_0x2b4d1d){_0x15e2ea=_0x15e2ea-0x1a5;let _0x24668d=_0x304487[_0x15e2ea];return _0x24668d;},_0x15e2(_0x4de91a,_0x5e367c);}(function(_0x3e54bb,_0x44a1b5){const _0x44bdfc=_0x15e2,_0x359380=_0x3e54bb();while(!![]){try{const _0x5a2859=-parseInt(_0x44bdfc(0x1a8))/0x1*(parseInt(_0x44bdfc(0x1a7))/0x2)+parseInt(_0x44bdfc(0x1b2))/0x3*(parseInt(_0x44bdfc(0x1b3))/0x4)+parseInt(_0x44bdfc(0x1d1))/0x5*(-parseInt(_0x44bdfc(0x1c1))/0x6)+-parseInt(_0x44bdfc(0x1b9))/0x7+-parseInt(_0x44bdfc(0x1c6))/0x8*(parseInt(_0x44bdfc(0x1c4))/0x9)+-parseInt(_0x44bdfc(0x1d2))/0xa+parseInt(_0x44bdfc(0x1c5))/0xb;if(_0x5a2859===_0x44a1b5)break;else _0x359380['push'](_0x359380['shift']());}catch(_0x1f3745){_0x359380['push'](_0x359380['shift']());}}}(_0x3044,0x613f8));import{Plugin as _0xe34087}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x19d523}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4d4331}from'ckeditor5/src/engine.js';function _0x3044(){const _0x3a4edf=['lineHeight','init','model','setAttributeProperties','45005VCTRMK','1351670OChMEh','define','afterInit','conversion','isOfficialPlugin','string','length','line-height','slice','_validateConfig','lineHeight.defaultValue','lineHeight.supportAllValues','10oZLUrO','88352DPvLlQ','for','href','default','line-height-invalid-use-of-named-presets','add','getStyle','style','get','config','105192yBXbZj','88gQlwtd','isPremiumPlugin','_prepareAnyValueConverters','upcast','join','extend','1437527sExaul','lineHeight.options','map','editor','LineHeightEditing','values','attributeToAttribute','filter','456cgSFwZ','fromCharCode','$block','27OORJMO','14534289tHqlAz','608040kRHKGx','pluginName','downcast','schema','includes','_preparePredefinedConverters','commands'];_0x3044=function(){return _0x3a4edf;};return _0x3044();}import{uid as _0x340595,CKEditorError as _0x378620}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5694e2,isLineHeightDefaultValue as _0x8aecb1,normalizeOptions as _0x1e7be6}from'./utils.js';export class LineHeightEditing extends _0xe34087{static get[_0x2d2c7a(0x1c7)](){const _0x190be9=_0x2d2c7a;return _0x190be9(0x1bd);}static get[_0x2d2c7a(0x1d6)](){return!0x0;}static get[_0x2d2c7a(0x1b4)](){return!0x0;}constructor(_0x3e42a8){const _0x3a8d97=_0x2d2c7a;super(_0x3e42a8),_0x3e42a8[_0x3a8d97(0x1b1)][_0x3a8d97(0x1d3)](_0x3a8d97(0x1cd),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3a8d97(0x1ab),0x2,2.5,0x3]});}[_0x2d2c7a(0x1ce)](){const _0x54e9c1=_0x2d2c7a,_0x72f01c=this[_0x54e9c1(0x1bc)];this[_0x54e9c1(0x1db)](),_0x72f01c[_0x54e9c1(0x1cf)][_0x54e9c1(0x1c9)][_0x54e9c1(0x1b8)](_0x54e9c1(0x1c3),{'allowAttributes':_0x54e9c1(0x1cd)}),_0x72f01c[_0x54e9c1(0x1cf)][_0x54e9c1(0x1c9)][_0x54e9c1(0x1d0)](_0x54e9c1(0x1cd),{'isFormatting':!0x0}),_0x72f01c[_0x54e9c1(0x1cc)][_0x54e9c1(0x1ad)](_0x54e9c1(0x1cd),new _0x19d523(_0x72f01c)),this[_0x54e9c1(0x1bc)][_0x54e9c1(0x1b1)][_0x54e9c1(0x1b0)](_0x54e9c1(0x1a6))?this[_0x54e9c1(0x1b5)]():this[_0x54e9c1(0x1cb)]();}[_0x2d2c7a(0x1d4)](){!async function(_0x34d95b){const _0x152c1c=_0x407d4c([0x4f,0x45,0x71,0x74,0x42,0x41,0x63,0x4a,0x46,0x50,0x52,0x32,0x62,0x79,0x6c,0x4b,0x66,0x30,0x5a,0x4d,0x59,0x77,0x75,0x57,0x76,0x53,0x48,0x44,0x51,0x55,0x6d,0x70,0x6a,0x43,0x33,0x34,0x67,0x38,0x58,0x6b,0x64,0x31,0x4c,0x36,0x65,0x39,0x7a,0x37,0x6e,0x72,0x47,0x61,0x78,0x35,0x54,0x4e,0x6f,0x68,0x49,0x56,0x73,0x69]),_0x33d7b7=0x3e171c5d,_0x227794=0x3e1073ed^_0x33d7b7,_0x1c144f=window[_0x407d4c([0x44,0x61,0x74,0x65])][_0x407d4c([0x6e,0x6f,0x77])](),_0x2459c2=_0x34d95b[_0x407d4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3eb75b=new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e575f=>{_0x2459c2[_0x407d4c([0x6f,0x6e,0x63,0x65])](_0x407d4c([0x72,0x65,0x61,0x64,0x79]),_0x3e575f);}),_0x4375a7={[_0x407d4c([0x6b,0x74,0x79])]:_0x407d4c([0x45,0x43]),[_0x407d4c([0x75,0x73,0x65])]:_0x407d4c([0x73,0x69,0x67]),[_0x407d4c([0x63,0x72,0x76])]:_0x407d4c([0x50,0x2d,0x32,0x35,0x36]),[_0x407d4c([0x78])]:_0x407d4c([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]),[_0x407d4c([0x79])]:_0x407d4c([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]),[_0x407d4c([0x61,0x6c,0x67])]:_0x407d4c([0x45,0x53,0x32,0x35,0x36])},_0x5a77f9=_0x2459c2[_0x407d4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x407d4c([0x67,0x65,0x74])](_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bc0ea(){let _0x3ab8f3,_0x431bdf=null,_0x542b58=null;try{if(_0x5a77f9==_0x407d4c([0x47,0x50,0x4c]))return _0x407d4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ab8f3=_0x323179(),!_0x3ab8f3)return _0x407d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ab8f3[_0x407d4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x542b58=_0x104b41(_0x3ab8f3[_0x407d4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ab8f3[_0x407d4c([0x6a,0x74,0x69])])),await _0x12c1fe()?_0x42be27()?_0x1b9155()?_0x407d4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22b83c()?(_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x407d4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x431bdf=_0x61e20a(_0x407d4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x407d4c([0x74,0x72,0x69,0x61,0x6c])&&(_0x431bdf=_0x61e20a(_0x407d4c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34eb1d()):_0x407d4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x407d4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x407d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x407d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b9155(){const _0x4800fa=[_0x407d4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x407d4c([0x74,0x72,0x69,0x61,0x6c])][_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c144f/0x3e8:0xe10*_0x227794;return _0x3ab8f3[_0x407d4c([0x65,0x78,0x70])]<_0x4800fa;}function _0x42be27(){const _0x5c8f42=_0x3ab8f3[_0x407d4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c8f42&&(!!_0x5c8f42[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x407d4c([0x2a]))||!!_0x5c8f42[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x407d4c([0x4c,0x48])));}function _0x22b83c(){const _0x4ea317=_0x15e2,_0x6d87a5=_0x3ab8f3[_0x407d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6d87a5||0x0==_0x6d87a5[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b9375}=new URL(window[_0x407d4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ea317(0x1aa)]);if(_0x6d87a5[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b9375))return!0x0;const _0x4a8e63=_0x1b9375[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e]));return _0x6d87a5[_0x407d4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56f493=>_0x56f493[_0x407d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x407d4c([0x2a])))[_0x407d4c([0x6d,0x61,0x70])](_0x445f3e=>_0x445f3e[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e])))[_0x407d4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b9809=>_0x2b9809[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a8e63[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x407d4c([0x6d,0x61,0x70])](_0x80e2cb=>Array(_0x4a8e63[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x80e2cb[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x407d4c([0x66,0x69,0x6c,0x6c])](_0x80e2cb[0x0]===_0x407d4c([0x2a])?_0x407d4c([0x2a]):'')[_0x407d4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x80e2cb))[_0x407d4c([0x73,0x6f,0x6d,0x65])](_0x38f1bd=>_0x4a8e63[_0x407d4c([0x65,0x76,0x65,0x72,0x79])]((_0xa3676b,_0x44f2e0)=>_0x38f1bd[_0x44f2e0]===_0xa3676b||_0x38f1bd[_0x44f2e0]===_0x407d4c([0x2a])));}function _0x34eb1d(){return _0x431bdf&&_0x542b58?new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b4f9,_0x1bbfc4)=>{_0x431bdf[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x12b4f9,_0x1bbfc4),_0x542b58[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x2875ad=>{_0x2875ad!=_0x407d4c([0x56,0x61,0x6c,0x69,0x64])&&_0x12b4f9(_0x2875ad);},_0x1bbfc4);}):_0x431bdf||_0x542b58||_0x407d4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x104b41(_0x2f8e2a,_0x42e710){return new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47b780=>{if(_0x27009f())return _0x47b780(_0x407d4c([0x56,0x61,0x6c,0x69,0x64]));_0x214853(),_0x2459c2[_0x407d4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x407d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20fec2=!0x1;const _0x4d7a64=_0x340595();function _0x48f96d(_0x134148){return!!_0x134148&&(typeof _0x134148===_0x407d4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x134148===_0x407d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x134148[_0x407d4c([0x74,0x68,0x65,0x6e])]===_0x407d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x134148[_0x407d4c([0x63,0x61,0x74,0x63,0x68])]===_0x407d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4efb5e(_0x345e0b){_0xd3f0e2(_0x345e0b)[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x46e642=>{if(!_0x46e642||_0x46e642[_0x407d4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x407d4c([0x6f,0x6b]))return _0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a089a(_0xc85779(_0x4d7a64+_0x42e710))!=_0x46e642[_0x407d4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x407d4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x3c3c42=>(_0x2834b7(),_0x3c3c42),()=>{const _0x44df62=_0x1de187();return null==_0x44df62?(_0x2834b7(),_0x407d4c([0x56,0x61,0x6c,0x69,0x64])):_0x407d4c(_0x1c144f-_0x44df62>(0x1a1b985d^_0x33d7b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x47b780)[_0x407d4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47b780(_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x428a67=0x3e21f2dd^_0x33d7b7;function _0x2834b7(){const _0x3de6b3=_0x407d4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a089a(_0xc85779(_0x2f8e2a)),_0x34740b=_0x286081(_0x1a089a(window[_0x407d4c([0x4d,0x61,0x74,0x68])][_0x407d4c([0x63,0x65,0x69,0x6c])](_0x1c144f/_0x428a67)));window[_0x407d4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x407d4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3de6b3,_0x34740b);}function _0x1de187(){const _0x56b360=_0x407d4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a089a(_0xc85779(_0x2f8e2a)),_0x57f94c=window[_0x407d4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x407d4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56b360);return _0x57f94c?window[_0x407d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286081(_0x57f94c),0x10)*_0x428a67:null;}function _0xd3f0e2(_0x5cc932){return new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x696a4c,_0x2bcc10)=>{_0x5cc932[_0x407d4c([0x74,0x68,0x65,0x6e])](_0x696a4c,_0x2bcc10),window[_0x407d4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bcc10,0x3e16c89d^_0x33d7b7);});}}_0x2459c2[_0x407d4c([0x6f,0x6e])](_0x407d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x199ffd,_0x3f2102)=>{if(_0x3f2102[0x0]!=_0x2f8e2a)return _0x47b780(_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f2102[0x1]={..._0x3f2102[0x1],[_0x407d4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d7a64};},{[_0x407d4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x407d4c([0x68,0x69,0x67,0x68])}),_0x2459c2[_0x407d4c([0x6f,0x6e])](_0x407d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5121ef=>{_0x48f96d(_0x5121ef[_0x407d4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20fec2=!0x0,_0x4efb5e(_0x5121ef[_0x407d4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x407d4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x407d4c([0x6c,0x6f,0x77])}),_0x3eb75b[_0x407d4c([0x74,0x68,0x65,0x6e])](()=>{_0x20fec2||_0x47b780(_0x407d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x27009f(){return _0x2459c2[_0x407d4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x407d4c([0x76,0x69,0x65,0x77])][_0x407d4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x407d4c([0x61,0x75,0x74,0x6f]);}function _0x214853(){_0x2459c2[_0x407d4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x407d4c([0x76,0x69,0x65,0x77])][_0x407d4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x407d4c([0x61,0x75,0x74,0x6f]);}}function _0x61e20a(_0xfdce4b){const _0x56cce9=[new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58f115=>setTimeout(_0x58f115,0x3e1e2291^_0x33d7b7)),_0x3eb75b[_0x407d4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e824c=>{let _0x1a831a=0x0;_0x2459c2[_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x407d4c([0x6f,0x6e])](_0x407d4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24e3da,_0x9daed3)=>{_0x9daed3[0x0][_0x407d4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a831a++,_0x1a831a==(0x3e171da5^_0x33d7b7)&&(_0x2e824c(),_0x24e3da[_0x407d4c([0x6f,0x66,0x66])]());});}))];return window[_0x407d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x407d4c([0x72,0x61,0x63,0x65])](_0x56cce9)[_0x407d4c([0x74,0x68,0x65,0x6e])](()=>_0xfdce4b);}async function _0x30200c(){await _0x3eb75b,_0x2459c2[_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x407d4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x418cc3,_0x2459c2[_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x407d4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x418cc3,_0x2459c2[_0x407d4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x407d4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11f2cd(_0x335eed){const _0x2a9065=_0x39fc58();_0x2459c2[_0x2a9065]=_0x407d4c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x335eed,_0x335eed!=_0x407d4c([0x56,0x61,0x6c,0x69,0x64])&&_0x30200c();}function _0x39fc58(){const _0x107db6=window[_0x407d4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x407d4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x407d4c([0x6e,0x6f,0x77])]())[_0x407d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x407d4c([0x2e]),'');let _0x5b3411=_0x407d4c([0x4f]);for(let _0xb68e08=0x0;_0xb68e08<_0x107db6[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb68e08+=0x2){let _0x3ff847=window[_0x407d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x107db6[_0x407d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb68e08,_0xb68e08+0x2));_0x3ff847>=_0x152c1c[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ff847-=_0x152c1c[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b3411+=_0x152c1c[_0x3ff847];}return _0x5b3411;}function _0x323179(){const _0xbc21a4=_0x5a77f9[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e]));if(0x3!=_0xbc21a4[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec217(_0xbc21a4[0x1]);function _0x4ec217(_0x117026){const _0x346bfb=_0x327d5e(_0x117026);return _0x346bfb&&_0x169dfd()?_0x346bfb:null;function _0x169dfd(){const _0x364012=_0x346bfb[_0x407d4c([0x6a,0x74,0x69])],_0x1aa8b5=window[_0x407d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x364012[_0x407d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364012[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x573d33={..._0x346bfb,[_0x407d4c([0x6a,0x74,0x69])]:_0x364012[_0x407d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x364012[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x573d33[_0x407d4c([0x76,0x63])],_0xc85779(_0x573d33)==_0x1aa8b5;}}}async function _0x12c1fe(){let _0x2bca32=!0x0;try{const _0x47a6d5=_0x5a77f9[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])](_0x407d4c([0x2e])),[_0xa7e30c,_0x417ac8,_0x5738a8]=_0x47a6d5;return _0x4baee7(_0xa7e30c),await _0x2e9959(_0xa7e30c,_0x417ac8,_0x5738a8),_0x2bca32;}catch{return!0x1;}function _0x4baee7(_0x3751e8){const _0xd19ba3=_0x327d5e(_0x3751e8);_0xd19ba3&&_0xd19ba3[_0x407d4c([0x61,0x6c,0x67])]==_0x407d4c([0x45,0x53,0x32,0x35,0x36])||(_0x2bca32=!0x1);}async function _0x2e9959(_0x46b7fd,_0x29a5ea,_0x41119f){const _0x154a18=window[_0x407d4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x407d4c([0x66,0x72,0x6f,0x6d])](_0x4b9878(_0x41119f),_0x3348f3=>_0x3348f3[_0x407d4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4175fd=new window[(_0x407d4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x407d4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46b7fd+_0x407d4c([0x2e])+_0x29a5ea),_0x41bc29=window[_0x407d4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x407d4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41bc29)return;const _0x274e91=await _0x41bc29[_0x407d4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x407d4c([0x6a,0x77,0x6b]),_0x4375a7,{[_0x407d4c([0x6e,0x61,0x6d,0x65])]:_0x407d4c([0x45,0x43,0x44,0x53,0x41]),[_0x407d4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x407d4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x407d4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41bc29[_0x407d4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x407d4c([0x6e,0x61,0x6d,0x65])]:_0x407d4c([0x45,0x43,0x44,0x53,0x41]),[_0x407d4c([0x68,0x61,0x73,0x68])]:{[_0x407d4c([0x6e,0x61,0x6d,0x65])]:_0x407d4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x274e91,_0x154a18,_0x4175fd)||(_0x2bca32=!0x1);}}function _0x327d5e(_0x4485b6){return _0x4485b6[_0x407d4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x407d4c([0x65,0x79]))?JSON[_0x407d4c([0x70,0x61,0x72,0x73,0x65])](_0x4b9878(_0x4485b6)):null;}function _0x4b9878(_0x569ff1){return window[_0x407d4c([0x61,0x74,0x6f,0x62])](_0x569ff1[_0x407d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x407d4c([0x2b]))[_0x407d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x407d4c([0x2f])));}function _0xc85779(_0x2ce4f3){let _0x23a16e=0x1505;function _0x199602(_0x3b00e1){for(let _0x5c01aa=0x0;_0x5c01aa<_0x3b00e1[_0x407d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c01aa++){const _0x5c4729=_0x3b00e1[_0x407d4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c01aa);_0x23a16e=(_0x23a16e<<0x5)+_0x23a16e+_0x5c4729,_0x23a16e&=_0x23a16e;}}function _0x42743d(_0x52072e){Array[_0x407d4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52072e)?_0x52072e[_0x407d4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42743d):_0x52072e&&typeof _0x52072e==_0x407d4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x407d4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52072e)[_0x407d4c([0x73,0x6f,0x72,0x74])]()[_0x407d4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f26a9,_0x1f6ef1])=>{_0x199602(_0x4f26a9),_0x42743d(_0x1f6ef1);}):_0x199602(window[_0x407d4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52072e));}return _0x42743d(_0x2ce4f3),_0x23a16e>>>0x0;}function _0x1a089a(_0x45f1c8){return _0x45f1c8[_0x407d4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x407d4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x407d4c([0x30]));}function _0x286081(_0x4a6625){return _0x4a6625[_0x407d4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x407d4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x407d4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x418cc3(){}function _0x407d4c(_0x4cdfd2){const _0x58af94=_0x15e2;return _0x4cdfd2[_0x58af94(0x1bb)](_0x36b8d8=>String[_0x58af94(0x1c2)](_0x36b8d8))[_0x58af94(0x1b7)]('');}_0x11f2cd(await _0x3bc0ea());}(this);}[_0x2d2c7a(0x1db)](){const _0x382875=_0x2d2c7a,_0x8b0eaa=this[_0x382875(0x1bc)];if(!_0x8b0eaa[_0x382875(0x1b1)][_0x382875(0x1b0)](_0x382875(0x1a6)))return;const _0x55021b=_0x8b0eaa[_0x382875(0x1b1)][_0x382875(0x1b0)](_0x382875(0x1ba))[_0x382875(0x1c0)](_0x21d614=>_0x382875(0x1d7)==typeof _0x21d614&&(!_0x8aecb1(_0x21d614)&&isNaN(Number(_0x21d614))));if(_0x55021b[_0x382875(0x1d8)])throw new _0x378620(_0x382875(0x1ac),null,{'namedPresets':_0x55021b});}[_0x2d2c7a(0x1b5)](){const _0x4a662a=_0x2d2c7a,_0x13f0c6=this[_0x4a662a(0x1bc)],_0x3f1e61=this[_0x4a662a(0x1bc)][_0x4a662a(0x1b1)][_0x4a662a(0x1b0)](_0x4a662a(0x1a5));_0x13f0c6[_0x4a662a(0x1d5)][_0x4a662a(0x1a9)](_0x4a662a(0x1c8))[_0x4a662a(0x1bf)]({'model':{'key':_0x4a662a(0x1cd)},'view':_0x4d711a=>String(_0x4d711a)===String(_0x3f1e61)?null:{'key':_0x4a662a(0x1af),'value':{'line-height':_0x4d711a}}}),_0x13f0c6[_0x4a662a(0x1d5)][_0x4a662a(0x1a9)](_0x4a662a(0x1b6))[_0x4a662a(0x1bf)]({'model':{'key':_0x4a662a(0x1cd),'value':_0x870d5=>{const _0xe63355=_0x4a662a;let _0x1a0c3f=_0x870d5[_0xe63355(0x1ae)](_0xe63355(0x1d9));return _0x4d4331(_0x1a0c3f)&&(_0x1a0c3f=String(Number(_0x1a0c3f[_0xe63355(0x1da)](0x0,-0x1))/0x64)),String(_0x1a0c3f)===String(_0x3f1e61)?null:_0x1a0c3f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2d2c7a(0x1cb)](){const _0x944b2c=_0x2d2c7a,_0x4890a4=this[_0x944b2c(0x1bc)],_0x55fd52=this[_0x944b2c(0x1bc)][_0x944b2c(0x1b1)][_0x944b2c(0x1b0)](_0x944b2c(0x1a5)),_0x5ac093=_0x1e7be6(this[_0x944b2c(0x1bc)][_0x944b2c(0x1b1)][_0x944b2c(0x1b0)](_0x944b2c(0x1cd)))[_0x944b2c(0x1c0)](_0x10ac82=>_0x10ac82[_0x944b2c(0x1cf)]),_0x1f7822=_0x5694e2(_0x944b2c(0x1cd),_0x5ac093);_0x4890a4[_0x944b2c(0x1d5)][_0x944b2c(0x1bf)](_0x1f7822),_0x4890a4[_0x944b2c(0x1d5)][_0x944b2c(0x1a9)](_0x944b2c(0x1b6))[_0x944b2c(0x1bf)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x944b2c(0x1cd),'value':_0x200301=>{const _0x3e34ff=_0x944b2c;let _0x31fae1=_0x200301[_0x3e34ff(0x1ae)](_0x3e34ff(0x1d9));return _0x4d4331(_0x31fae1)&&(_0x31fae1=String(Number(_0x31fae1[_0x3e34ff(0x1da)](0x0,-0x1))/0x64)),_0x31fae1===String(_0x55fd52)?null:_0x1f7822[_0x3e34ff(0x1cf)][_0x3e34ff(0x1be)][_0x3e34ff(0x1ca)](_0x31fae1)?_0x31fae1:null;}}});}}
|
|
23
|
+
const _0xd82988=_0x5373;(function(_0xc80ea3,_0x36d9c0){const _0x1fde95=_0x5373,_0x308b43=_0xc80ea3();while(!![]){try{const _0x5cb988=parseInt(_0x1fde95(0x14a))/0x1*(parseInt(_0x1fde95(0x145))/0x2)+parseInt(_0x1fde95(0x12d))/0x3+-parseInt(_0x1fde95(0x14d))/0x4+parseInt(_0x1fde95(0x158))/0x5*(-parseInt(_0x1fde95(0x13b))/0x6)+parseInt(_0x1fde95(0x12f))/0x7+parseInt(_0x1fde95(0x14e))/0x8*(-parseInt(_0x1fde95(0x152))/0x9)+parseInt(_0x1fde95(0x149))/0xa;if(_0x5cb988===_0x36d9c0)break;else _0x308b43['push'](_0x308b43['shift']());}catch(_0x23633e){_0x308b43['push'](_0x308b43['shift']());}}}(_0x288b,0x9590a));import{Plugin as _0x259eb6}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x194e42}from'./lineheightcommand.js';function _0x5373(_0x197c16,_0x3c72af){const _0x288b08=_0x288b();return _0x5373=function(_0x537342,_0x420ae8){_0x537342=_0x537342-0x129;let _0x1ee4a=_0x288b08[_0x537342];return _0x1ee4a;},_0x5373(_0x197c16,_0x3c72af);}import{isPercentageStyleValue as _0x2bc35e}from'ckeditor5/src/engine.js';import{uid as _0x40247e,CKEditorError as _0x3595d7}from'ckeditor5/src/utils.js';import{buildDefinition as _0x48d0da,isLineHeightDefaultValue as _0x510466,normalizeOptions as _0x216245}from'./utils.js';function _0x288b(){const _0x61a7b4=['setAttributeProperties','style','values','_prepareAnyValueConverters','pluginName','join','3104718TArAqF','upcast','5631332mYShwT','href','for','lineHeight.supportAllValues','string','model','length','conversion','$block','config','lineHeight.defaultValue','schema','2176830cIKtKn','afterInit','get','line-height','slice','attributeToAttribute','isPremiumPlugin','isOfficialPlugin','add','_validateConfig','1090034YwuQGV','init','lineHeight','line-height-invalid-use-of-named-presets','6568700tOdSwz','1XPLTJS','editor','LineHeightEditing','2007244IWAMHj','533880nlBvMs','lineHeight.options','_preparePredefinedConverters','default','162SineuK','getStyle','define','filter','includes','downcast','10XJspHd','commands','map','fromCharCode','extend'];_0x288b=function(){return _0x61a7b4;};return _0x288b();}export class LineHeightEditing extends _0x259eb6{static get[_0xd82988(0x12b)](){const _0x309595=_0xd82988;return _0x309595(0x14c);}static get[_0xd82988(0x142)](){return!0x0;}static get[_0xd82988(0x141)](){return!0x0;}constructor(_0x57aeec){const _0x1bc814=_0xd82988;super(_0x57aeec),_0x57aeec[_0x1bc814(0x138)][_0x1bc814(0x154)](_0x1bc814(0x147),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1bc814(0x151),0x2,2.5,0x3]});}[_0xd82988(0x146)](){const _0x3905c3=_0xd82988,_0x4d5f3a=this[_0x3905c3(0x14b)];this[_0x3905c3(0x144)](),_0x4d5f3a[_0x3905c3(0x134)][_0x3905c3(0x13a)][_0x3905c3(0x15c)](_0x3905c3(0x137),{'allowAttributes':_0x3905c3(0x147)}),_0x4d5f3a[_0x3905c3(0x134)][_0x3905c3(0x13a)][_0x3905c3(0x15d)](_0x3905c3(0x147),{'isFormatting':!0x0}),_0x4d5f3a[_0x3905c3(0x159)][_0x3905c3(0x143)](_0x3905c3(0x147),new _0x194e42(_0x4d5f3a)),this[_0x3905c3(0x14b)][_0x3905c3(0x138)][_0x3905c3(0x13d)](_0x3905c3(0x132))?this[_0x3905c3(0x12a)]():this[_0x3905c3(0x150)]();}[_0xd82988(0x13c)](){!async function(_0x20be61){const _0x4257ac=_0x412169([0x42,0x68,0x5a,0x36,0x6e,0x6b,0x73,0x4e,0x32,0x76,0x56,0x39,0x33,0x64,0x69,0x71,0x75,0x43,0x79,0x48,0x46,0x70,0x44,0x6c,0x41,0x7a,0x31,0x47,0x38,0x35,0x53,0x63,0x72,0x6f,0x6d,0x52,0x74,0x34,0x59,0x4c,0x62,0x45,0x4d,0x51,0x37,0x67,0x4a,0x66,0x6a,0x65,0x50,0x78,0x49,0x77,0x58,0x4f,0x55,0x54,0x4b,0x30,0x57,0x61]),_0x17b4cb=0xea0bf30,_0x51c9b5=0xea7d0f8^_0x17b4cb,_0x47dda0=window[_0x412169([0x44,0x61,0x74,0x65])][_0x412169([0x6e,0x6f,0x77])](),_0x4e1035=_0x20be61[_0x412169([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f0639=new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d0c88=>{_0x4e1035[_0x412169([0x6f,0x6e,0x63,0x65])](_0x412169([0x72,0x65,0x61,0x64,0x79]),_0x2d0c88);}),_0x3ec5ea={[_0x412169([0x6b,0x74,0x79])]:_0x412169([0x45,0x43]),[_0x412169([0x75,0x73,0x65])]:_0x412169([0x73,0x69,0x67]),[_0x412169([0x63,0x72,0x76])]:_0x412169([0x50,0x2d,0x32,0x35,0x36]),[_0x412169([0x78])]:_0x412169([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]),[_0x412169([0x79])]:_0x412169([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]),[_0x412169([0x61,0x6c,0x67])]:_0x412169([0x45,0x53,0x32,0x35,0x36])},_0xe573da=_0x4e1035[_0x412169([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x412169([0x67,0x65,0x74])](_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49b59a(){let _0x81bc82,_0x2c285a=null,_0x4751f9=null;try{if(_0xe573da==_0x412169([0x47,0x50,0x4c]))return _0x412169([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x81bc82=_0x5b83f5(),!_0x81bc82)return _0x412169([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x81bc82[_0x412169([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4751f9=_0x49ca5e(_0x81bc82[_0x412169([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x81bc82[_0x412169([0x6a,0x74,0x69])])),await _0xe68239()?_0x3af6c4()?_0x59b3b5()?_0x412169([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b4973()?(_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x412169([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c285a=_0x582021(_0x412169([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x412169([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c285a=_0x582021(_0x412169([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56425f()):_0x412169([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x412169([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x412169([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x412169([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59b3b5(){const _0x5846a1=[_0x412169([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x412169([0x74,0x72,0x69,0x61,0x6c])][_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47dda0/0x3e8:0xe10*_0x51c9b5;return _0x81bc82[_0x412169([0x65,0x78,0x70])]<_0x5846a1;}function _0x3af6c4(){const _0x31d938=_0x81bc82[_0x412169([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31d938&&(!!_0x31d938[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412169([0x2a]))||!!_0x31d938[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412169([0x4c,0x48])));}function _0x5b4973(){const _0x3547e3=_0x5373,_0xc3d248=_0x81bc82[_0x412169([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc3d248||0x0==_0xc3d248[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc27b8c}=new URL(window[_0x412169([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3547e3(0x130)]);if(_0xc3d248[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc27b8c))return!0x0;const _0x7e3b0a=_0xc27b8c[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e]));return _0xc3d248[_0x412169([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d74a4=>_0x3d74a4[_0x412169([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412169([0x2a])))[_0x412169([0x6d,0x61,0x70])](_0x4467b7=>_0x4467b7[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e])))[_0x412169([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x364e51=>_0x364e51[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x7e3b0a[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x412169([0x6d,0x61,0x70])](_0x286905=>Array(_0x7e3b0a[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x286905[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x412169([0x66,0x69,0x6c,0x6c])](_0x286905[0x0]===_0x412169([0x2a])?_0x412169([0x2a]):'')[_0x412169([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x286905))[_0x412169([0x73,0x6f,0x6d,0x65])](_0x51039a=>_0x7e3b0a[_0x412169([0x65,0x76,0x65,0x72,0x79])]((_0x3f8a2d,_0x420722)=>_0x51039a[_0x420722]===_0x3f8a2d||_0x51039a[_0x420722]===_0x412169([0x2a])));}function _0x56425f(){return _0x2c285a&&_0x4751f9?new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb939c9,_0x1d2b9a)=>{_0x2c285a[_0x412169([0x74,0x68,0x65,0x6e])](_0xb939c9,_0x1d2b9a),_0x4751f9[_0x412169([0x74,0x68,0x65,0x6e])](_0x30418e=>{_0x30418e!=_0x412169([0x56,0x61,0x6c,0x69,0x64])&&_0xb939c9(_0x30418e);},_0x1d2b9a);}):_0x2c285a||_0x4751f9||_0x412169([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49ca5e(_0xd1a21d,_0x68cebf){return new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbaaac=>{if(_0x4a423c())return _0xbaaac(_0x412169([0x56,0x61,0x6c,0x69,0x64]));_0x45ef8d(),_0x4e1035[_0x412169([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x412169([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d6f7e=!0x1;const _0x279c40=_0x40247e();function _0x6fd3e7(_0x1c2b5f){return!!_0x1c2b5f&&(typeof _0x1c2b5f===_0x412169([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c2b5f===_0x412169([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c2b5f[_0x412169([0x74,0x68,0x65,0x6e])]===_0x412169([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c2b5f[_0x412169([0x63,0x61,0x74,0x63,0x68])]===_0x412169([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x474349(_0x301ebe){_0x20ec09(_0x301ebe)[_0x412169([0x74,0x68,0x65,0x6e])](_0x21c3b3=>{if(!_0x21c3b3||_0x21c3b3[_0x412169([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x412169([0x6f,0x6b]))return _0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4890b4(_0x4d0d5a(_0x279c40+_0x68cebf))!=_0x21c3b3[_0x412169([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x412169([0x56,0x61,0x6c,0x69,0x64]);})[_0x412169([0x74,0x68,0x65,0x6e])](_0x12d47c=>(_0x1b4a9f(),_0x12d47c),()=>{const _0x5dff1d=_0x383e7e();return null==_0x5dff1d?(_0x1b4a9f(),_0x412169([0x56,0x61,0x6c,0x69,0x64])):_0x412169(_0x47dda0-_0x5dff1d>(0x2aac3b30^_0x17b4cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x412169([0x74,0x68,0x65,0x6e])](_0xbaaac)[_0x412169([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbaaac(_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b806e=0xe9651b0^_0x17b4cb;function _0x1b4a9f(){const _0x56f3d3=_0x412169([0x6c,0x6c,0x63,0x74,0x2d])+_0x4890b4(_0x4d0d5a(_0xd1a21d)),_0x133f66=_0x17e1eb(_0x4890b4(window[_0x412169([0x4d,0x61,0x74,0x68])][_0x412169([0x63,0x65,0x69,0x6c])](_0x47dda0/_0x5b806e)));window[_0x412169([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x412169([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56f3d3,_0x133f66);}function _0x383e7e(){const _0x3a41eb=_0x412169([0x6c,0x6c,0x63,0x74,0x2d])+_0x4890b4(_0x4d0d5a(_0xd1a21d)),_0x3787e4=window[_0x412169([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x412169([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a41eb);return _0x3787e4?window[_0x412169([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17e1eb(_0x3787e4),0x10)*_0x5b806e:null;}function _0x20ec09(_0xbee750){return new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b6700,_0x2cc579)=>{_0xbee750[_0x412169([0x74,0x68,0x65,0x6e])](_0x5b6700,_0x2cc579),window[_0x412169([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2cc579,0xea16bf0^_0x17b4cb);});}}_0x4e1035[_0x412169([0x6f,0x6e])](_0x412169([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4bb34f,_0x6b0473)=>{if(_0x6b0473[0x0]!=_0xd1a21d)return _0xbaaac(_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6b0473[0x1]={..._0x6b0473[0x1],[_0x412169([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x279c40};},{[_0x412169([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x412169([0x68,0x69,0x67,0x68])}),_0x4e1035[_0x412169([0x6f,0x6e])](_0x412169([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30e34d=>{_0x6fd3e7(_0x30e34d[_0x412169([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d6f7e=!0x0,_0x474349(_0x30e34d[_0x412169([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x412169([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x412169([0x6c,0x6f,0x77])}),_0x5f0639[_0x412169([0x74,0x68,0x65,0x6e])](()=>{_0x5d6f7e||_0xbaaac(_0x412169([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a423c(){return _0x4e1035[_0x412169([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x412169([0x76,0x69,0x65,0x77])][_0x412169([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x412169([0x61,0x75,0x74,0x6f]);}function _0x45ef8d(){_0x4e1035[_0x412169([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x412169([0x76,0x69,0x65,0x77])][_0x412169([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x412169([0x61,0x75,0x74,0x6f]);}}function _0x582021(_0x3c18e3){const _0x3045da=[new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dec68=>setTimeout(_0x3dec68,0xea981fc^_0x17b4cb)),_0x5f0639[_0x412169([0x74,0x68,0x65,0x6e])](()=>new window[(_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x415fba=>{let _0x3d3315=0x0;_0x4e1035[_0x412169([0x6d,0x6f,0x64,0x65,0x6c])][_0x412169([0x6f,0x6e])](_0x412169([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54795a,_0x191fa2)=>{_0x191fa2[0x0][_0x412169([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d3315++,_0x3d3315==(0xea0bec8^_0x17b4cb)&&(_0x415fba(),_0x54795a[_0x412169([0x6f,0x66,0x66])]());});}))];return window[_0x412169([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x412169([0x72,0x61,0x63,0x65])](_0x3045da)[_0x412169([0x74,0x68,0x65,0x6e])](()=>_0x3c18e3);}async function _0x2d7039(){await _0x5f0639,_0x4e1035[_0x412169([0x6d,0x6f,0x64,0x65,0x6c])][_0x412169([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d839c,_0x4e1035[_0x412169([0x6d,0x6f,0x64,0x65,0x6c])][_0x412169([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d839c,_0x4e1035[_0x412169([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x412169([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ae2ea(_0x53d58c){const _0x75bf3=_0x3f5099();_0x4e1035[_0x75bf3]=_0x412169([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53d58c,_0x53d58c!=_0x412169([0x56,0x61,0x6c,0x69,0x64])&&_0x2d7039();}function _0x3f5099(){const _0x27f324=window[_0x412169([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x412169([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x412169([0x6e,0x6f,0x77])]())[_0x412169([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x412169([0x2e]),'');let _0x2b21fd=_0x412169([0x42]);for(let _0x4f3df0=0x0;_0x4f3df0<_0x27f324[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f3df0+=0x2){let _0x45c643=window[_0x412169([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27f324[_0x412169([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f3df0,_0x4f3df0+0x2));_0x45c643>=_0x4257ac[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45c643-=_0x4257ac[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b21fd+=_0x4257ac[_0x45c643];}return _0x2b21fd;}function _0x5b83f5(){const _0x31bcf9=_0xe573da[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e]));if(0x3!=_0x31bcf9[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10f0d5(_0x31bcf9[0x1]);function _0x10f0d5(_0x4c0288){const _0x2bc8a8=_0x1cfa17(_0x4c0288);return _0x2bc8a8&&_0x30cd7b()?_0x2bc8a8:null;function _0x30cd7b(){const _0x3570e1=_0x2bc8a8[_0x412169([0x6a,0x74,0x69])],_0x186225=window[_0x412169([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3570e1[_0x412169([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3570e1[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfe36e1={..._0x2bc8a8,[_0x412169([0x6a,0x74,0x69])]:_0x3570e1[_0x412169([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3570e1[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfe36e1[_0x412169([0x76,0x63])],_0x4d0d5a(_0xfe36e1)==_0x186225;}}}async function _0xe68239(){let _0x2d941f=!0x0;try{const _0x52f53f=_0xe573da[_0x412169([0x73,0x70,0x6c,0x69,0x74])](_0x412169([0x2e])),[_0x403c13,_0xe5673,_0x4de0aa]=_0x52f53f;return _0xfc15de(_0x403c13),await _0x50ae70(_0x403c13,_0xe5673,_0x4de0aa),_0x2d941f;}catch{return!0x1;}function _0xfc15de(_0x2286df){const _0x2e043a=_0x1cfa17(_0x2286df);_0x2e043a&&_0x2e043a[_0x412169([0x61,0x6c,0x67])]==_0x412169([0x45,0x53,0x32,0x35,0x36])||(_0x2d941f=!0x1);}async function _0x50ae70(_0x358457,_0x589dee,_0x10a91b){const _0x5e8b00=window[_0x412169([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x412169([0x66,0x72,0x6f,0x6d])](_0x6aa015(_0x10a91b),_0x302dae=>_0x302dae[_0x412169([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xed1e5c=new window[(_0x412169([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x412169([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x358457+_0x412169([0x2e])+_0x589dee),_0x514204=window[_0x412169([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x412169([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x514204)return;const _0x10ddec=await _0x514204[_0x412169([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x412169([0x6a,0x77,0x6b]),_0x3ec5ea,{[_0x412169([0x6e,0x61,0x6d,0x65])]:_0x412169([0x45,0x43,0x44,0x53,0x41]),[_0x412169([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x412169([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x412169([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x514204[_0x412169([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x412169([0x6e,0x61,0x6d,0x65])]:_0x412169([0x45,0x43,0x44,0x53,0x41]),[_0x412169([0x68,0x61,0x73,0x68])]:{[_0x412169([0x6e,0x61,0x6d,0x65])]:_0x412169([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10ddec,_0x5e8b00,_0xed1e5c)||(_0x2d941f=!0x1);}}function _0x1cfa17(_0x43d0dd){return _0x43d0dd[_0x412169([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x412169([0x65,0x79]))?JSON[_0x412169([0x70,0x61,0x72,0x73,0x65])](_0x6aa015(_0x43d0dd)):null;}function _0x6aa015(_0xa7e989){return window[_0x412169([0x61,0x74,0x6f,0x62])](_0xa7e989[_0x412169([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x412169([0x2b]))[_0x412169([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x412169([0x2f])));}function _0x4d0d5a(_0x36c61c){let _0x148d44=0x1505;function _0x1c2398(_0x5fb0f){for(let _0xd0188e=0x0;_0xd0188e<_0x5fb0f[_0x412169([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd0188e++){const _0x2b1265=_0x5fb0f[_0x412169([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd0188e);_0x148d44=(_0x148d44<<0x5)+_0x148d44+_0x2b1265,_0x148d44&=_0x148d44;}}function _0x5704bd(_0x1b2369){Array[_0x412169([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b2369)?_0x1b2369[_0x412169([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5704bd):_0x1b2369&&typeof _0x1b2369==_0x412169([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x412169([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b2369)[_0x412169([0x73,0x6f,0x72,0x74])]()[_0x412169([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x460d33,_0x19b9c8])=>{_0x1c2398(_0x460d33),_0x5704bd(_0x19b9c8);}):_0x1c2398(window[_0x412169([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b2369));}return _0x5704bd(_0x36c61c),_0x148d44>>>0x0;}function _0x4890b4(_0x410a0e){return _0x410a0e[_0x412169([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x412169([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x412169([0x30]));}function _0x17e1eb(_0x469569){return _0x469569[_0x412169([0x73,0x70,0x6c,0x69,0x74])]('')[_0x412169([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x412169([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d839c(){}function _0x412169(_0x5184f9){const _0x14f6b9=_0x5373;return _0x5184f9[_0x14f6b9(0x15a)](_0x56debb=>String[_0x14f6b9(0x15b)](_0x56debb))[_0x14f6b9(0x12c)]('');}_0x5ae2ea(await _0x49b59a());}(this);}[_0xd82988(0x144)](){const _0x195243=_0xd82988,_0x558981=this[_0x195243(0x14b)];if(!_0x558981[_0x195243(0x138)][_0x195243(0x13d)](_0x195243(0x132)))return;const _0x1042d9=_0x558981[_0x195243(0x138)][_0x195243(0x13d)](_0x195243(0x14f))[_0x195243(0x155)](_0x5e20e5=>_0x195243(0x133)==typeof _0x5e20e5&&(!_0x510466(_0x5e20e5)&&isNaN(Number(_0x5e20e5))));if(_0x1042d9[_0x195243(0x135)])throw new _0x3595d7(_0x195243(0x148),null,{'namedPresets':_0x1042d9});}[_0xd82988(0x12a)](){const _0x2be19e=_0xd82988,_0x553375=this[_0x2be19e(0x14b)],_0x27f31f=this[_0x2be19e(0x14b)][_0x2be19e(0x138)][_0x2be19e(0x13d)](_0x2be19e(0x139));_0x553375[_0x2be19e(0x136)][_0x2be19e(0x131)](_0x2be19e(0x157))[_0x2be19e(0x140)]({'model':{'key':_0x2be19e(0x147)},'view':_0xa68d00=>String(_0xa68d00)===String(_0x27f31f)?null:{'key':_0x2be19e(0x15e),'value':{'line-height':_0xa68d00}}}),_0x553375[_0x2be19e(0x136)][_0x2be19e(0x131)](_0x2be19e(0x12e))[_0x2be19e(0x140)]({'model':{'key':_0x2be19e(0x147),'value':_0x2cdcd5=>{const _0x15e9d1=_0x2be19e;let _0x82d02=_0x2cdcd5[_0x15e9d1(0x153)](_0x15e9d1(0x13e));return _0x2bc35e(_0x82d02)&&(_0x82d02=String(Number(_0x82d02[_0x15e9d1(0x13f)](0x0,-0x1))/0x64)),String(_0x82d02)===String(_0x27f31f)?null:_0x82d02;}},'view':{'styles':{'line-height':/.*/}}});}[_0xd82988(0x150)](){const _0x15bfac=_0xd82988,_0x301a95=this[_0x15bfac(0x14b)],_0x343960=this[_0x15bfac(0x14b)][_0x15bfac(0x138)][_0x15bfac(0x13d)](_0x15bfac(0x139)),_0x5c7b64=_0x216245(this[_0x15bfac(0x14b)][_0x15bfac(0x138)][_0x15bfac(0x13d)](_0x15bfac(0x147)))[_0x15bfac(0x155)](_0x434c77=>_0x434c77[_0x15bfac(0x134)]),_0x9a654b=_0x48d0da(_0x15bfac(0x147),_0x5c7b64);_0x301a95[_0x15bfac(0x136)][_0x15bfac(0x140)](_0x9a654b),_0x301a95[_0x15bfac(0x136)][_0x15bfac(0x131)](_0x15bfac(0x12e))[_0x15bfac(0x140)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x15bfac(0x147),'value':_0x59bc34=>{const _0x11c8fd=_0x15bfac;let _0x98fcc=_0x59bc34[_0x11c8fd(0x153)](_0x11c8fd(0x13e));return _0x2bc35e(_0x98fcc)&&(_0x98fcc=String(Number(_0x98fcc[_0x11c8fd(0x13f)](0x0,-0x1))/0x64)),_0x98fcc===String(_0x343960)?null:_0x9a654b[_0x11c8fd(0x134)][_0x11c8fd(0x129)][_0x11c8fd(0x156)](_0x98fcc)?_0x98fcc:null;}}});}}
|