@ckeditor/ckeditor5-line-height 0.0.0-internal-20251210.0 → 0.0.0-internal-20251211.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/index.js +1 -1
- package/src/integrations/todolist.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x125936=_0x3ec3;(function(_0x176d7e,_0x30c70c){const _0x2b711f=_0x3ec3,_0x2a690d=_0x176d7e();while(!![]){try{const _0x5a41a1=-parseInt(_0x2b711f(0x197))/0x1+-parseInt(_0x2b711f(0x1bc))/0x2*(parseInt(_0x2b711f(0x1af))/0x3)+parseInt(_0x2b711f(0x1ae))/0x4*(parseInt(_0x2b711f(0x1bf))/0x5)+parseInt(_0x2b711f(0x1ba))/0x6+-parseInt(_0x2b711f(0x1b6))/0x7+-parseInt(_0x2b711f(0x1a2))/0x8*(parseInt(_0x2b711f(0x19d))/0x9)+parseInt(_0x2b711f(0x19c))/0xa*(parseInt(_0x2b711f(0x1ab))/0xb);if(_0x5a41a1===_0x30c70c)break;else _0x2a690d['push'](_0x2a690d['shift']());}catch(_0x32f73e){_0x2a690d['push'](_0x2a690d['shift']());}}}(_0x5c6e,0x6b4ad));import{Plugin as _0x411249}from'ckeditor5/src/core.js';import{Matcher as _0x57e883}from'ckeditor5/src/engine.js';function _0x3ec3(_0x3239dc,_0x198ef8){const _0x5c6ee1=_0x5c6e();return _0x3ec3=function(_0x3ec368,_0x4e2423){_0x3ec368=_0x3ec368-0x197;let _0x3dd92c=_0x5c6ee1[_0x3ec368];return _0x3dd92c;},_0x3ec3(_0x3239dc,_0x198ef8);}import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x411249{static get[_0x125936(0x199)](){const _0x426f93=_0x125936;return _0x426f93(0x1bd);}static get[_0x125936(0x1aa)](){return!0x0;}static get[_0x125936(0x198)](){return!0x0;}[_0x125936(0x19f)](){const _0x4db132=_0x125936,{plugins:_0x3d763d,conversion:_0x4bca4a}=this[_0x4db132(0x1be)];if(!_0x3d763d[_0x4db132(0x19a)](_0x4db132(0x1a7))||!_0x3d763d[_0x4db132(0x19a)](_0x4db132(0x1c2)))return;_0x3d763d[_0x4db132(0x1a3)](_0x4db132(0x1a7))[_0x4db132(0x19e)]({'scope':_0x4db132(0x1b1),'attributeName':_0x4db132(0x1b4),'consume':!0x1,'setAttributeOnDowncast'(_0x2db4e2,_0x154795,_0x392677,_0x45d81e,_0x17b42a){const _0x397485=_0x4db132;_0x397485(0x1c3)==_0x17b42a[_0x397485(0x1ad)](_0x397485(0x1a4))&&_0x154795&&(_0x2db4e2[_0x397485(0x1bb)](_0x397485(0x1a6),_0x392677),_0x2db4e2[_0x397485(0x1b9)](_0x397485(0x1a1),_0x154795,_0x392677));}}),_0x4bca4a[_0x4db132(0x19b)](_0x4db132(0x1a8))[_0x4db132(0x1a9)]({'view':{'name':_0x4db132(0x1b3),'classes':_0x4db132(0x1a5)},'model':_0x4db132(0x1a0),'converterPriority':_0x4db132(0x1b0)}),_0x4bca4a[_0x4db132(0x19b)](_0x4db132(0x1a8))[_0x4db132(0x1b2)](_0x2bc4b5=>{const _0x3f334c=_0x4db132;_0x2bc4b5['on'](_0x3f334c(0x1c1),function(_0x4d6f6f){const _0x4725a0=new _0x57e883(_0x4d6f6f);return(_0x1cb123,_0x166576,_0x42dcd5)=>{const _0x123ed5=_0x3ec3,_0xca8699=_0x4725a0[_0x123ed5(0x1c0)](_0x166576[_0x123ed5(0x1ac)]);if(!_0xca8699)return;const _0xd1127e=_0xca8699[_0x123ed5(0x1c0)];_0xd1127e[_0x123ed5(0x1b7)]=!0x1,_0x42dcd5[_0x123ed5(0x1b8)][_0x123ed5(0x1b5)](_0x166576[_0x123ed5(0x1ac)],_0xd1127e);};}({'name':'li','classes':_0x3f334c(0x1a6),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}function _0x5c6e(){const _0x273e8f=['pluginName','has','for','2578070gUrJdr','923922cPAgUH','registerDowncastStrategy','init','paragraph','--ck-content-list-marker-line-height','8aOQySy','get','listType','todo-list__label__description','ck-list-marker-line-height','ListEditing','upcast','elementToElement','isOfficialPlugin','33hSfZQu','viewItem','getAttribute','27364iMFvyV','1051854YBtdDj','high','item','add','span','lineHeight','consume','1730029cnkxST','name','consumable','setStyle','2567574rBYrbU','addClass','2Pkfcoz','LineHeightTodoListIntegration','editor','230FOTzAj','match','element:li','TodoListEditing','todo','376144TwpsLX','isPremiumPlugin'];_0x5c6e=function(){return _0x273e8f;};return _0x5c6e();}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5132(_0x37e63f,_0xbf1ef7){var _0x23b3ca=_0x23b3();return _0x5132=function(_0x513238,_0x258007){_0x513238=_0x513238-0x1a7;var _0x52f000=_0x23b3ca[_0x513238];return _0x52f000;},_0x5132(_0x37e63f,_0xbf1ef7);}var _0x3e7b11=_0x5132;(function(_0x3e8e41,_0x345c91){var _0x110f51=_0x5132,_0x4d743a=_0x3e8e41();while(!![]){try{var _0x5b19a9=-parseInt(_0x110f51(0x1aa))/0x1+parseInt(_0x110f51(0x1a9))/0x2*(-parseInt(_0x110f51(0x1ab))/0x3)+-parseInt(_0x110f51(0x1a7))/0x4+-parseInt(_0x110f51(0x1b3))/0x5*(parseInt(_0x110f51(0x1ad))/0x6)+-parseInt(_0x110f51(0x1b0))/0x7+-parseInt(_0x110f51(0x1b4))/0x8+parseInt(_0x110f51(0x1ae))/0x9;if(_0x5b19a9===_0x345c91)break;else _0x4d743a['push'](_0x4d743a['shift']());}catch(_0x590c3f){_0x4d743a['push'](_0x4d743a['shift']());}}}(_0x23b3,0x44214));function _0x23b3(){var _0x543473=['18592227AjDnBx','pluginName','1638777nnZCCd','LineHeight','requires','2647220FKtWkl','1294760WJxniA','1786324ZkBJgw','isPremiumPlugin','266954lLOMSh','14331DBaDuS','9GpvLuw','isOfficialPlugin','6ZHYtOQ'];_0x23b3=function(){return _0x543473;};return _0x23b3();}import{Plugin as _0x4f97ad}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x54fab5}from'./lineheightediting.js';import{LineHeightUI as _0xf99d7e}from'./lineheightui.js';export class LineHeight extends _0x4f97ad{static get[_0x3e7b11(0x1b2)](){return[_0x54fab5,_0xf99d7e];}static get[_0x3e7b11(0x1af)](){var _0x21bd67=_0x3e7b11;return _0x21bd67(0x1b1);}static get[_0x3e7b11(0x1ac)](){return!0x0;}static get[_0x3e7b11(0x1a8)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2d0b(_0x40105,_0x5ca1ac){const _0x3ecb26=_0x3ecb();return _0x2d0b=function(_0x2d0b08,_0x2f1430){_0x2d0b08=_0x2d0b08-0x18b;let _0x46c305=_0x3ecb26[_0x2d0b08];return _0x46c305;},_0x2d0b(_0x40105,_0x5ca1ac);}const _0x2f0d69=_0x2d0b;(function(_0x343f51,_0x541bdc){const _0x5b5e10=_0x2d0b,_0x31662d=_0x343f51();while(!![]){try{const _0x1611c2=-parseInt(_0x5b5e10(0x196))/0x1+parseInt(_0x5b5e10(0x19d))/0x2*(parseInt(_0x5b5e10(0x199))/0x3)+parseInt(_0x5b5e10(0x19a))/0x4+parseInt(_0x5b5e10(0x18b))/0x5+parseInt(_0x5b5e10(0x1a3))/0x6+-parseInt(_0x5b5e10(0x18e))/0x7+-parseInt(_0x5b5e10(0x198))/0x8;if(_0x1611c2===_0x541bdc)break;else _0x31662d['push'](_0x31662d['shift']());}catch(_0x4b9289){_0x31662d['push'](_0x31662d['shift']());}}}(_0x3ecb,0xe3115));import{Command as _0x10271e}from'ckeditor5/src/core.js';function _0x3ecb(){const _0x284064=['8171052QlrgGx','setAttribute','refresh','8365895vpsWBt','value','getSelectedBlocks','12814067TZlUWp','change','selection','document','lineHeight','removeAttribute','model','getAttribute','1253832NCBmRE','checkAttribute','11355336VYGaCn','5188119hbjDrq','2678020idtGJU','isEnabled','filter','2CuHdbZ','_canHaveLineHeight','execute','from','schema','editor'];_0x3ecb=function(){return _0x284064;};return _0x3ecb();}import{first as _0x237959}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x10271e{[_0x2f0d69(0x1a5)](){const _0x4b5d8c=_0x2f0d69,_0x3ae106=this[_0x4b5d8c(0x1a2)][_0x4b5d8c(0x194)][_0x4b5d8c(0x191)],_0x34fb72=_0x237959(_0x3ae106[_0x4b5d8c(0x190)][_0x4b5d8c(0x18d)]());this[_0x4b5d8c(0x19b)]=Boolean(_0x34fb72)&&this[_0x4b5d8c(0x19e)](_0x34fb72),this[_0x4b5d8c(0x18c)]=this[_0x4b5d8c(0x19b)]&&_0x34fb72[_0x4b5d8c(0x195)](_0x4b5d8c(0x192));}[_0x2f0d69(0x19f)](_0x12bda5={}){const _0x32495a=_0x2f0d69,_0x46e0c6=this[_0x32495a(0x1a2)][_0x32495a(0x194)],_0x1f5618=_0x46e0c6[_0x32495a(0x191)][_0x32495a(0x190)],_0x30a795=_0x12bda5[_0x32495a(0x18c)];_0x46e0c6[_0x32495a(0x18f)](_0x47cc9a=>{const _0x4fa10d=_0x32495a,_0x42c399=Array[_0x4fa10d(0x1a0)](_0x1f5618[_0x4fa10d(0x18d)]())[_0x4fa10d(0x19c)](_0x3ff457=>this[_0x4fa10d(0x19e)](_0x3ff457));for(const _0x4e15d7 of _0x42c399)_0x30a795?_0x47cc9a[_0x4fa10d(0x1a4)](_0x4fa10d(0x192),_0x30a795,_0x4e15d7):_0x47cc9a[_0x4fa10d(0x193)](_0x4fa10d(0x192),_0x4e15d7);});}[_0x2f0d69(0x19e)](_0x4a411c){const _0x5e7ed7=_0x2f0d69;return this[_0x5e7ed7(0x1a2)][_0x5e7ed7(0x194)][_0x5e7ed7(0x1a1)][_0x5e7ed7(0x197)](_0x4a411c,_0x5e7ed7(0x192));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d7d04=_0x4ef8;function _0x4ef8(_0x5a8da4,_0x4a1f05){const _0x62a46b=_0x62a4();return _0x4ef8=function(_0x4ef8d4,_0xfab8c8){_0x4ef8d4=_0x4ef8d4-0x1c3;let _0x148aeb=_0x62a46b[_0x4ef8d4];return _0x148aeb;},_0x4ef8(_0x5a8da4,_0x4a1f05);}(function(_0x476181,_0x3c447a){const _0x14fd76=_0x4ef8,_0x4e1df9=_0x476181();while(!![]){try{const _0x3d5e90=parseInt(_0x14fd76(0x1ed))/0x1+-parseInt(_0x14fd76(0x1dc))/0x2+parseInt(_0x14fd76(0x1de))/0x3*(-parseInt(_0x14fd76(0x1ef))/0x4)+-parseInt(_0x14fd76(0x1e2))/0x5*(-parseInt(_0x14fd76(0x1d6))/0x6)+parseInt(_0x14fd76(0x1da))/0x7*(-parseInt(_0x14fd76(0x1d5))/0x8)+parseInt(_0x14fd76(0x1e4))/0x9*(-parseInt(_0x14fd76(0x1d4))/0xa)+parseInt(_0x14fd76(0x1d2))/0xb*(parseInt(_0x14fd76(0x1e5))/0xc);if(_0x3d5e90===_0x3c447a)break;else _0x4e1df9['push'](_0x4e1df9['shift']());}catch(_0x52589a){_0x4e1df9['push'](_0x4e1df9['shift']());}}}(_0x62a4,0xa71e2));import{Plugin as _0x552bec}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4ac168}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xd51104}from'ckeditor5/src/engine.js';import{uid as _0x57e367,CKEditorError as _0x18ca51}from'ckeditor5/src/utils.js';import{buildDefinition as _0x741612,isLineHeightDefaultValue as _0xdfdac9,normalizeOptions as _0x4f8a71}from'./utils.js';function _0x62a4(){const _0x1eae99=['includes','isOfficialPlugin','$block','LineHeightEditing','_validateConfig','slice','href','33wCISvj','afterInit','20HxFdmS','16ECvknL','6jFGFPU','isPremiumPlugin','string','model','4390106CbDVJq','for','1192082hATHrz','style','3881061YiOdlQ','config','line-height','commands','3298285PWVGBa','upcast','3040245ZOjwnr','15374532zzDSyD','values','join','getStyle','lineHeight.defaultValue','extend','get','setAttributeProperties','878dzSoXC','length','4qICVJb','conversion','_prepareAnyValueConverters','_preparePredefinedConverters','lineHeight.options','schema','default','init','downcast','map','editor','define','lineHeight.supportAllValues','lineHeight','filter','line-height-invalid-use-of-named-presets','add','requires','fromCharCode','attributeToAttribute','pluginName'];_0x62a4=function(){return _0x1eae99;};return _0x62a4();}import{LineHeightTodoListIntegration as _0x5b7006}from'./integrations/todolist.js';export class LineHeightEditing extends _0x552bec{static get[_0x2d7d04(0x1ca)](){const _0x197d07=_0x2d7d04;return _0x197d07(0x1ce);}static get[_0x2d7d04(0x1c7)](){return[_0x5b7006];}static get[_0x2d7d04(0x1cc)](){return!0x0;}static get[_0x2d7d04(0x1d7)](){return!0x0;}constructor(_0x177eea){const _0x421534=_0x2d7d04;super(_0x177eea),_0x177eea[_0x421534(0x1df)][_0x421534(0x1fa)](_0x421534(0x1c3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x421534(0x1f5),0x2,2.5,0x3]});}[_0x2d7d04(0x1f6)](){const _0x5127f4=_0x2d7d04,_0x3ecd83=this[_0x5127f4(0x1f9)];this[_0x5127f4(0x1cf)](),_0x3ecd83[_0x5127f4(0x1d9)][_0x5127f4(0x1f4)][_0x5127f4(0x1ea)](_0x5127f4(0x1cd),{'allowAttributes':_0x5127f4(0x1c3)}),_0x3ecd83[_0x5127f4(0x1d9)][_0x5127f4(0x1f4)][_0x5127f4(0x1ec)](_0x5127f4(0x1c3),{'isFormatting':!0x0}),_0x3ecd83[_0x5127f4(0x1e1)][_0x5127f4(0x1c6)](_0x5127f4(0x1c3),new _0x4ac168(_0x3ecd83)),this[_0x5127f4(0x1f9)][_0x5127f4(0x1df)][_0x5127f4(0x1eb)](_0x5127f4(0x1fb))?this[_0x5127f4(0x1f1)]():this[_0x5127f4(0x1f2)]();}[_0x2d7d04(0x1d3)](){!async function(_0x34d53c){const _0x58fbfa=_0x53d606([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x2d1a7b=0x45ddd215,_0x4c1c5b=0x45daa995^_0x2d1a7b,_0x4528ae=window[_0x53d606([0x44,0x61,0x74,0x65])][_0x53d606([0x6e,0x6f,0x77])](),_0x5c0a75=_0x34d53c[_0x53d606([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x85b76f=new window[(_0x53d606([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x548851=>{_0x5c0a75[_0x53d606([0x6f,0x6e,0x63,0x65])](_0x53d606([0x72,0x65,0x61,0x64,0x79]),_0x548851);}),_0x5448d6={[_0x53d606([0x6b,0x74,0x79])]:_0x53d606([0x45,0x43]),[_0x53d606([0x75,0x73,0x65])]:_0x53d606([0x73,0x69,0x67]),[_0x53d606([0x63,0x72,0x76])]:_0x53d606([0x50,0x2d,0x32,0x35,0x36]),[_0x53d606([0x78])]:_0x53d606([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]),[_0x53d606([0x79])]:_0x53d606([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]),[_0x53d606([0x61,0x6c,0x67])]:_0x53d606([0x45,0x53,0x32,0x35,0x36])},_0x2f0ade=_0x5c0a75[_0x53d606([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53d606([0x67,0x65,0x74])](_0x53d606([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10af5d(){let _0x406558,_0x52d570=null,_0x6e2bcc=null;try{if(_0x2f0ade==_0x53d606([0x47,0x50,0x4c]))return _0x53d606([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x406558=_0x4ee287(),!_0x406558)return _0x53d606([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x406558[_0x53d606([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6e2bcc=_0x1e1240(_0x406558[_0x53d606([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x406558[_0x53d606([0x6a,0x74,0x69])])),await _0x18c519()?_0x430d5e()?_0x28b639()?_0x53d606([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd40d5f()?(_0x406558[_0x53d606([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53d606([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52d570=_0x504dff(_0x53d606([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x406558[_0x53d606([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53d606([0x74,0x72,0x69,0x61,0x6c])&&(_0x52d570=_0x504dff(_0x53d606([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48cac4()):_0x53d606([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53d606([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53d606([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53d606([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28b639(){const _0x3c509e=[_0x53d606([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53d606([0x74,0x72,0x69,0x61,0x6c])][_0x53d606([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x406558[_0x53d606([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4528ae/0x3e8:0xe10*_0x4c1c5b;return _0x406558[_0x53d606([0x65,0x78,0x70])]<_0x3c509e;}function _0x430d5e(){const _0x45fc3e=_0x406558[_0x53d606([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45fc3e&&(!!_0x45fc3e[_0x53d606([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d606([0x2a]))||!!_0x45fc3e[_0x53d606([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d606([0x4c,0x48])));}function _0xd40d5f(){const _0x12f2e8=_0x4ef8,_0x4d1b70=_0x406558[_0x53d606([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d1b70||0x0==_0x4d1b70[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x572492}=new URL(window[_0x53d606([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x12f2e8(0x1d1)]);if(_0x4d1b70[_0x53d606([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572492))return!0x0;const _0x4869d6=_0x572492[_0x53d606([0x73,0x70,0x6c,0x69,0x74])](_0x53d606([0x2e]));return _0x4d1b70[_0x53d606([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a2434=>_0x3a2434[_0x53d606([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53d606([0x2a])))[_0x53d606([0x6d,0x61,0x70])](_0x3cc8e4=>_0x3cc8e4[_0x53d606([0x73,0x70,0x6c,0x69,0x74])](_0x53d606([0x2e])))[_0x53d606([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b7861=>_0x2b7861[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4869d6[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53d606([0x6d,0x61,0x70])](_0x3bff6e=>Array(_0x4869d6[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3bff6e[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53d606([0x66,0x69,0x6c,0x6c])](_0x3bff6e[0x0]===_0x53d606([0x2a])?_0x53d606([0x2a]):'')[_0x53d606([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3bff6e))[_0x53d606([0x73,0x6f,0x6d,0x65])](_0x537ccd=>_0x4869d6[_0x53d606([0x65,0x76,0x65,0x72,0x79])]((_0x528dc3,_0xc8db02)=>_0x537ccd[_0xc8db02]===_0x528dc3||_0x537ccd[_0xc8db02]===_0x53d606([0x2a])));}function _0x48cac4(){return _0x52d570&&_0x6e2bcc?new window[(_0x53d606([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d3b45,_0xf2ea47)=>{_0x52d570[_0x53d606([0x74,0x68,0x65,0x6e])](_0x5d3b45,_0xf2ea47),_0x6e2bcc[_0x53d606([0x74,0x68,0x65,0x6e])](_0x13c71b=>{_0x13c71b!=_0x53d606([0x56,0x61,0x6c,0x69,0x64])&&_0x5d3b45(_0x13c71b);},_0xf2ea47);}):_0x52d570||_0x6e2bcc||_0x53d606([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e1240(_0x1fe830,_0x70f4e8){return new window[(_0x53d606([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cd204=>{if(_0x3c2c4d())return _0x4cd204(_0x53d606([0x56,0x61,0x6c,0x69,0x64]));_0x1714a6(),_0x5c0a75[_0x53d606([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53d606([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x269fbb=!0x1;const _0x3816db=_0x57e367();function _0x47a648(_0x198b2a){return!!_0x198b2a&&(typeof _0x198b2a===_0x53d606([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x198b2a===_0x53d606([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x198b2a[_0x53d606([0x74,0x68,0x65,0x6e])]===_0x53d606([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x198b2a[_0x53d606([0x63,0x61,0x74,0x63,0x68])]===_0x53d606([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2115d0(_0xc68182){_0x12104a(_0xc68182)[_0x53d606([0x74,0x68,0x65,0x6e])](_0x571b64=>{if(!_0x571b64||_0x571b64[_0x53d606([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53d606([0x6f,0x6b]))return _0x53d606([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34507d(_0x266685(_0x3816db+_0x70f4e8))!=_0x571b64[_0x53d606([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53d606([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53d606([0x56,0x61,0x6c,0x69,0x64]);})[_0x53d606([0x74,0x68,0x65,0x6e])](_0x3a0b36=>(_0x500802(),_0x3a0b36),()=>{const _0xc2d1cc=_0x329463();return null==_0xc2d1cc?(_0x500802(),_0x53d606([0x56,0x61,0x6c,0x69,0x64])):_0x53d606(_0x4528ae-_0xc2d1cc>(0x61d15615^_0x2d1a7b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53d606([0x74,0x68,0x65,0x6e])](_0x4cd204)[_0x53d606([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4cd204(_0x53d606([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd97e3c=0x45eb3c95^_0x2d1a7b;function _0x500802(){const _0x7061b4=_0x53d606([0x6c,0x6c,0x63,0x74,0x2d])+_0x34507d(_0x266685(_0x1fe830)),_0x62b84a=_0x68fe15(_0x34507d(window[_0x53d606([0x4d,0x61,0x74,0x68])][_0x53d606([0x63,0x65,0x69,0x6c])](_0x4528ae/_0xd97e3c)));window[_0x53d606([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53d606([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7061b4,_0x62b84a);}function _0x329463(){const _0x24aeb5=_0x53d606([0x6c,0x6c,0x63,0x74,0x2d])+_0x34507d(_0x266685(_0x1fe830)),_0x4475d4=window[_0x53d606([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53d606([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24aeb5);return _0x4475d4?window[_0x53d606([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x68fe15(_0x4475d4),0x10)*_0xd97e3c:null;}function _0x12104a(_0x602981){return new window[(_0x53d606([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x563cfc,_0x4f51e)=>{_0x602981[_0x53d606([0x74,0x68,0x65,0x6e])](_0x563cfc,_0x4f51e),window[_0x53d606([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f51e,0x45dc06d5^_0x2d1a7b);});}}_0x5c0a75[_0x53d606([0x6f,0x6e])](_0x53d606([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ec3a7,_0x5e221f)=>{if(_0x5e221f[0x0]!=_0x1fe830)return _0x4cd204(_0x53d606([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e221f[0x1]={..._0x5e221f[0x1],[_0x53d606([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3816db};},{[_0x53d606([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53d606([0x68,0x69,0x67,0x68])}),_0x5c0a75[_0x53d606([0x6f,0x6e])](_0x53d606([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12cb66=>{_0x47a648(_0x12cb66[_0x53d606([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x269fbb=!0x0,_0x2115d0(_0x12cb66[_0x53d606([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53d606([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53d606([0x6c,0x6f,0x77])}),_0x85b76f[_0x53d606([0x74,0x68,0x65,0x6e])](()=>{_0x269fbb||_0x4cd204(_0x53d606([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c2c4d(){return _0x5c0a75[_0x53d606([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53d606([0x76,0x69,0x65,0x77])][_0x53d606([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53d606([0x61,0x75,0x74,0x6f]);}function _0x1714a6(){_0x5c0a75[_0x53d606([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53d606([0x76,0x69,0x65,0x77])][_0x53d606([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53d606([0x61,0x75,0x74,0x6f]);}}function _0x504dff(_0x33ba59){const _0x481724=[new window[(_0x53d606([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd67773=>setTimeout(_0xd67773,0x45d4ecd9^_0x2d1a7b)),_0x85b76f[_0x53d606([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53d606([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b5f3e=>{let _0x690131=0x0;_0x5c0a75[_0x53d606([0x6d,0x6f,0x64,0x65,0x6c])][_0x53d606([0x6f,0x6e])](_0x53d606([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bf632,_0x5a8846)=>{_0x5a8846[0x0][_0x53d606([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x690131++,_0x690131==(0x45ddd3ed^_0x2d1a7b)&&(_0x3b5f3e(),_0x3bf632[_0x53d606([0x6f,0x66,0x66])]());});}))];return window[_0x53d606([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53d606([0x72,0x61,0x63,0x65])](_0x481724)[_0x53d606([0x74,0x68,0x65,0x6e])](()=>_0x33ba59);}async function _0xc88ce2(){await _0x85b76f,_0x5c0a75[_0x53d606([0x6d,0x6f,0x64,0x65,0x6c])][_0x53d606([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34765a,_0x5c0a75[_0x53d606([0x6d,0x6f,0x64,0x65,0x6c])][_0x53d606([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34765a,_0x5c0a75[_0x53d606([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53d606([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18c095(_0x2e910f){const _0x33eb6a=_0x15aed9();_0x5c0a75[_0x33eb6a]=_0x53d606([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e910f,_0x2e910f!=_0x53d606([0x56,0x61,0x6c,0x69,0x64])&&_0xc88ce2();}function _0x15aed9(){const _0x1d1c94=window[_0x53d606([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53d606([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53d606([0x6e,0x6f,0x77])]())[_0x53d606([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53d606([0x2e]),'');let _0x40d6ae=_0x53d606([0x50]);for(let _0x44db2c=0x0;_0x44db2c<_0x1d1c94[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44db2c+=0x2){let _0x566963=window[_0x53d606([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d1c94[_0x53d606([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44db2c,_0x44db2c+0x2));_0x566963>=_0x58fbfa[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x566963-=_0x58fbfa[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40d6ae+=_0x58fbfa[_0x566963];}return _0x40d6ae;}function _0x4ee287(){const _0x48ebde=_0x2f0ade[_0x53d606([0x73,0x70,0x6c,0x69,0x74])](_0x53d606([0x2e]));if(0x3!=_0x48ebde[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ad37d(_0x48ebde[0x1]);function _0x5ad37d(_0x55c2ea){const _0x71abd=_0x19f1aa(_0x55c2ea);return _0x71abd&&_0x252bf7()?_0x71abd:null;function _0x252bf7(){const _0x580980=_0x71abd[_0x53d606([0x6a,0x74,0x69])],_0x96d7e1=window[_0x53d606([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580980[_0x53d606([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580980[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d99c5={..._0x71abd,[_0x53d606([0x6a,0x74,0x69])]:_0x580980[_0x53d606([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x580980[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d99c5[_0x53d606([0x76,0x63])],_0x266685(_0x2d99c5)==_0x96d7e1;}}}async function _0x18c519(){let _0x2c324c=!0x0;try{const _0x114ef7=_0x2f0ade[_0x53d606([0x73,0x70,0x6c,0x69,0x74])](_0x53d606([0x2e])),[_0x2f71a6,_0x18ae5b,_0x546b34]=_0x114ef7;return _0x47ab23(_0x2f71a6),await _0xc6dc4b(_0x2f71a6,_0x18ae5b,_0x546b34),_0x2c324c;}catch{return!0x1;}function _0x47ab23(_0x2cc468){const _0x4d8136=_0x19f1aa(_0x2cc468);_0x4d8136&&_0x4d8136[_0x53d606([0x61,0x6c,0x67])]==_0x53d606([0x45,0x53,0x32,0x35,0x36])||(_0x2c324c=!0x1);}async function _0xc6dc4b(_0x4800e0,_0x4268bb,_0x3730d3){const _0x39c9cf=window[_0x53d606([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53d606([0x66,0x72,0x6f,0x6d])](_0xd77893(_0x3730d3),_0x5cdeb3=>_0x5cdeb3[_0x53d606([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23f5b8=new window[(_0x53d606([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53d606([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4800e0+_0x53d606([0x2e])+_0x4268bb),_0x1932e2=window[_0x53d606([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53d606([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1932e2)return;const _0x2e2cae=await _0x1932e2[_0x53d606([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53d606([0x6a,0x77,0x6b]),_0x5448d6,{[_0x53d606([0x6e,0x61,0x6d,0x65])]:_0x53d606([0x45,0x43,0x44,0x53,0x41]),[_0x53d606([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53d606([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53d606([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1932e2[_0x53d606([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53d606([0x6e,0x61,0x6d,0x65])]:_0x53d606([0x45,0x43,0x44,0x53,0x41]),[_0x53d606([0x68,0x61,0x73,0x68])]:{[_0x53d606([0x6e,0x61,0x6d,0x65])]:_0x53d606([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e2cae,_0x39c9cf,_0x23f5b8)||(_0x2c324c=!0x1);}}function _0x19f1aa(_0x67a661){return _0x67a661[_0x53d606([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53d606([0x65,0x79]))?JSON[_0x53d606([0x70,0x61,0x72,0x73,0x65])](_0xd77893(_0x67a661)):null;}function _0xd77893(_0x354aa4){return window[_0x53d606([0x61,0x74,0x6f,0x62])](_0x354aa4[_0x53d606([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53d606([0x2b]))[_0x53d606([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53d606([0x2f])));}function _0x266685(_0xd2ff41){let _0x252e51=0x1505;function _0x501ff2(_0x2db2cd){for(let _0x1ac614=0x0;_0x1ac614<_0x2db2cd[_0x53d606([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ac614++){const _0x25ed73=_0x2db2cd[_0x53d606([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ac614);_0x252e51=(_0x252e51<<0x5)+_0x252e51+_0x25ed73,_0x252e51&=_0x252e51;}}function _0x11fece(_0x4ae29c){Array[_0x53d606([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ae29c)?_0x4ae29c[_0x53d606([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11fece):_0x4ae29c&&typeof _0x4ae29c==_0x53d606([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53d606([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ae29c)[_0x53d606([0x73,0x6f,0x72,0x74])]()[_0x53d606([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4d852d,_0x33971d])=>{_0x501ff2(_0x4d852d),_0x11fece(_0x33971d);}):_0x501ff2(window[_0x53d606([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ae29c));}return _0x11fece(_0xd2ff41),_0x252e51>>>0x0;}function _0x34507d(_0x3c11ac){return _0x3c11ac[_0x53d606([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53d606([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53d606([0x30]));}function _0x68fe15(_0x188a99){return _0x188a99[_0x53d606([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53d606([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53d606([0x6a,0x6f,0x69,0x6e])]('');}function _0x34765a(){}function _0x53d606(_0x4269d4){const _0x558638=_0x4ef8;return _0x4269d4[_0x558638(0x1f8)](_0x579a11=>String[_0x558638(0x1c8)](_0x579a11))[_0x558638(0x1e7)]('');}_0x18c095(await _0x10af5d());}(this);}[_0x2d7d04(0x1cf)](){const _0x1046e9=_0x2d7d04,_0x362267=this[_0x1046e9(0x1f9)];if(!_0x362267[_0x1046e9(0x1df)][_0x1046e9(0x1eb)](_0x1046e9(0x1fb)))return;const _0x4fd77d=_0x362267[_0x1046e9(0x1df)][_0x1046e9(0x1eb)](_0x1046e9(0x1f3))[_0x1046e9(0x1c4)](_0x243316=>_0x1046e9(0x1d8)==typeof _0x243316&&(!_0xdfdac9(_0x243316)&&isNaN(Number(_0x243316))));if(_0x4fd77d[_0x1046e9(0x1ee)])throw new _0x18ca51(_0x1046e9(0x1c5),null,{'namedPresets':_0x4fd77d});}[_0x2d7d04(0x1f1)](){const _0x3488e4=_0x2d7d04,_0x1f1884=this[_0x3488e4(0x1f9)],_0x1f8bee=this[_0x3488e4(0x1f9)][_0x3488e4(0x1df)][_0x3488e4(0x1eb)](_0x3488e4(0x1e9));_0x1f1884[_0x3488e4(0x1f0)][_0x3488e4(0x1db)](_0x3488e4(0x1f7))[_0x3488e4(0x1c9)]({'model':{'key':_0x3488e4(0x1c3)},'view':_0x394f0f=>String(_0x394f0f)===String(_0x1f8bee)?null:{'key':_0x3488e4(0x1dd),'value':{'line-height':_0x394f0f}}}),_0x1f1884[_0x3488e4(0x1f0)][_0x3488e4(0x1db)](_0x3488e4(0x1e3))[_0x3488e4(0x1c9)]({'model':{'key':_0x3488e4(0x1c3),'value':_0x22be72=>{const _0x52fad8=_0x3488e4;let _0x578baf=_0x22be72[_0x52fad8(0x1e8)](_0x52fad8(0x1e0));return _0xd51104(_0x578baf)&&(_0x578baf=String(Number(_0x578baf[_0x52fad8(0x1d0)](0x0,-0x1))/0x64)),String(_0x578baf)===String(_0x1f8bee)?null:_0x578baf;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2d7d04(0x1f2)](){const _0x2c20ea=_0x2d7d04,_0x59c664=this[_0x2c20ea(0x1f9)],_0x27b7e6=this[_0x2c20ea(0x1f9)][_0x2c20ea(0x1df)][_0x2c20ea(0x1eb)](_0x2c20ea(0x1e9)),_0x4f6c0e=_0x4f8a71(this[_0x2c20ea(0x1f9)][_0x2c20ea(0x1df)][_0x2c20ea(0x1eb)](_0x2c20ea(0x1c3)))[_0x2c20ea(0x1c4)](_0xee8142=>_0xee8142[_0x2c20ea(0x1d9)]),_0x3fadda=_0x741612(_0x2c20ea(0x1c3),_0x4f6c0e);_0x59c664[_0x2c20ea(0x1f0)][_0x2c20ea(0x1c9)](_0x3fadda),_0x59c664[_0x2c20ea(0x1f0)][_0x2c20ea(0x1db)](_0x2c20ea(0x1e3))[_0x2c20ea(0x1c9)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2c20ea(0x1c3),'value':_0x40318c=>{const _0x312d69=_0x2c20ea;let _0x31a2b2=_0x40318c[_0x312d69(0x1e8)](_0x312d69(0x1e0));return _0xd51104(_0x31a2b2)&&(_0x31a2b2=String(Number(_0x31a2b2[_0x312d69(0x1d0)](0x0,-0x1))/0x64)),_0x31a2b2===String(_0x27b7e6)?null:_0x3fadda[_0x312d69(0x1d9)][_0x312d69(0x1e6)][_0x312d69(0x1cb)](_0x31a2b2)?_0x31a2b2:null;}}});}}
|
|
23
|
+
function _0x452d(_0x360305,_0x473f99){const _0x24fc90=_0x24fc();return _0x452d=function(_0x452d74,_0x988f1c){_0x452d74=_0x452d74-0x69;let _0x67a313=_0x24fc90[_0x452d74];return _0x67a313;},_0x452d(_0x360305,_0x473f99);}const _0x5bc3c1=_0x452d;(function(_0x4aa77c,_0x3fc79d){const _0x176c98=_0x452d,_0x5902a6=_0x4aa77c();while(!![]){try{const _0x58a6af=-parseInt(_0x176c98(0x77))/0x1+parseInt(_0x176c98(0x9b))/0x2+-parseInt(_0x176c98(0x6b))/0x3+parseInt(_0x176c98(0x91))/0x4*(-parseInt(_0x176c98(0x8d))/0x5)+-parseInt(_0x176c98(0x85))/0x6+parseInt(_0x176c98(0x92))/0x7+parseInt(_0x176c98(0x8a))/0x8*(parseInt(_0x176c98(0x96))/0x9);if(_0x58a6af===_0x3fc79d)break;else _0x5902a6['push'](_0x5902a6['shift']());}catch(_0x33074f){_0x5902a6['push'](_0x5902a6['shift']());}}}(_0x24fc,0x7cad9));import{Plugin as _0x2b25bd}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3590fe}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x50c1b9}from'ckeditor5/src/engine.js';import{uid as _0x2ca404,CKEditorError as _0x3c8086}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2c4e08,isLineHeightDefaultValue as _0x2bc6f4,normalizeOptions as _0x4575de}from'./utils.js';import{LineHeightTodoListIntegration as _0x5966ba}from'./integrations/todolist.js';function _0x24fc(){const _0x5f1c51=['upcast','requires','schema','get','afterInit','619344WDNsIe','add','editor','map','lineHeight.supportAllValues','lineHeight.defaultValue','lineHeight','style','_validateConfig','isPremiumPlugin','line-height','setAttributeProperties','attributeToAttribute','_prepareAnyValueConverters','777408JLfbXU','default','for','_preparePredefinedConverters','fromCharCode','24fwdnUI','values','model','5056615GOHdMw','length','LineHeightEditing','includes','4Gtcaaq','6606019rHfDjd','conversion','getStyle','lineHeight.options','2792475SwnyiM','$block','filter','line-height-invalid-use-of-named-presets','pluginName','1966178yaqNII','config','downcast','init','commands','extend','1760145LjiCnD','slice','string','join','isOfficialPlugin','define','href'];_0x24fc=function(){return _0x5f1c51;};return _0x24fc();}export class LineHeightEditing extends _0x2b25bd{static get[_0x5bc3c1(0x9a)](){const _0x4e7d60=_0x5bc3c1;return _0x4e7d60(0x8f);}static get[_0x5bc3c1(0x73)](){return[_0x5966ba];}static get[_0x5bc3c1(0x6f)](){return!0x0;}static get[_0x5bc3c1(0x80)](){return!0x0;}constructor(_0x21e70d){const _0x4e79fe=_0x5bc3c1;super(_0x21e70d),_0x21e70d[_0x4e79fe(0x9c)][_0x4e79fe(0x70)](_0x4e79fe(0x7d),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4e79fe(0x86),0x2,2.5,0x3]});}[_0x5bc3c1(0x9e)](){const _0x4b0988=_0x5bc3c1,_0x5f04ce=this[_0x4b0988(0x79)];this[_0x4b0988(0x7f)](),_0x5f04ce[_0x4b0988(0x8c)][_0x4b0988(0x74)][_0x4b0988(0x6a)](_0x4b0988(0x97),{'allowAttributes':_0x4b0988(0x7d)}),_0x5f04ce[_0x4b0988(0x8c)][_0x4b0988(0x74)][_0x4b0988(0x82)](_0x4b0988(0x7d),{'isFormatting':!0x0}),_0x5f04ce[_0x4b0988(0x69)][_0x4b0988(0x78)](_0x4b0988(0x7d),new _0x3590fe(_0x5f04ce)),this[_0x4b0988(0x79)][_0x4b0988(0x9c)][_0x4b0988(0x75)](_0x4b0988(0x7b))?this[_0x4b0988(0x84)]():this[_0x4b0988(0x88)]();}[_0x5bc3c1(0x76)](){!async function(_0x1a3a1f){const _0x5ea0c3=_0x128baa([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x481752=0x45ddd215,_0x237d7e=0x45daa98d^_0x481752,_0xd4aae6=window[_0x128baa([0x44,0x61,0x74,0x65])][_0x128baa([0x6e,0x6f,0x77])](),_0x26603a=_0x1a3a1f[_0x128baa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d6bbe=new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8e56=>{_0x26603a[_0x128baa([0x6f,0x6e,0x63,0x65])](_0x128baa([0x72,0x65,0x61,0x64,0x79]),_0x1c8e56);}),_0x1e70ff={[_0x128baa([0x6b,0x74,0x79])]:_0x128baa([0x45,0x43]),[_0x128baa([0x75,0x73,0x65])]:_0x128baa([0x73,0x69,0x67]),[_0x128baa([0x63,0x72,0x76])]:_0x128baa([0x50,0x2d,0x32,0x35,0x36]),[_0x128baa([0x78])]:_0x128baa([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]),[_0x128baa([0x79])]:_0x128baa([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]),[_0x128baa([0x61,0x6c,0x67])]:_0x128baa([0x45,0x53,0x32,0x35,0x36])},_0x5723d1=_0x26603a[_0x128baa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x128baa([0x67,0x65,0x74])](_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x231fe3(){let _0xc5cbec,_0x891b07=null,_0x12102a=null;try{if(_0x5723d1==_0x128baa([0x47,0x50,0x4c]))return _0x128baa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc5cbec=_0x1eb483(),!_0xc5cbec)return _0x128baa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc5cbec[_0x128baa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12102a=_0xbf838(_0xc5cbec[_0x128baa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc5cbec[_0x128baa([0x6a,0x74,0x69])])),await _0xbee3d3()?_0x17b68b()?_0x5b1dd1()?_0x128baa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xffb392()?(_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x128baa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x891b07=_0x55c407(_0x128baa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x128baa([0x74,0x72,0x69,0x61,0x6c])&&(_0x891b07=_0x55c407(_0x128baa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52e1f5()):_0x128baa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x128baa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x128baa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x128baa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b1dd1(){const _0x5c3017=[_0x128baa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x128baa([0x74,0x72,0x69,0x61,0x6c])][_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd4aae6/0x3e8:0xe10*_0x237d7e;return _0xc5cbec[_0x128baa([0x65,0x78,0x70])]<_0x5c3017;}function _0x17b68b(){const _0xbca299=_0xc5cbec[_0x128baa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbca299&&(!!_0xbca299[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128baa([0x2a]))||!!_0xbca299[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128baa([0x4c,0x48])));}function _0xffb392(){const _0x39dbbc=_0x452d,_0x2b3b34=_0xc5cbec[_0x128baa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b3b34||0x0==_0x2b3b34[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ad049}=new URL(window[_0x128baa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39dbbc(0x71)]);if(_0x2b3b34[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad049))return!0x0;const _0x343625=_0x5ad049[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e]));return _0x2b3b34[_0x128baa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dc349=>_0x1dc349[_0x128baa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x128baa([0x2a])))[_0x128baa([0x6d,0x61,0x70])](_0x48851d=>_0x48851d[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e])))[_0x128baa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x488131=>_0x488131[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x343625[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x128baa([0x6d,0x61,0x70])](_0x3a8066=>Array(_0x343625[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a8066[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x128baa([0x66,0x69,0x6c,0x6c])](_0x3a8066[0x0]===_0x128baa([0x2a])?_0x128baa([0x2a]):'')[_0x128baa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a8066))[_0x128baa([0x73,0x6f,0x6d,0x65])](_0x198eca=>_0x343625[_0x128baa([0x65,0x76,0x65,0x72,0x79])]((_0x1ccef3,_0x24f949)=>_0x198eca[_0x24f949]===_0x1ccef3||_0x198eca[_0x24f949]===_0x128baa([0x2a])));}function _0x52e1f5(){return _0x891b07&&_0x12102a?new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fb048,_0x202178)=>{_0x891b07[_0x128baa([0x74,0x68,0x65,0x6e])](_0x3fb048,_0x202178),_0x12102a[_0x128baa([0x74,0x68,0x65,0x6e])](_0xbb6ce0=>{_0xbb6ce0!=_0x128baa([0x56,0x61,0x6c,0x69,0x64])&&_0x3fb048(_0xbb6ce0);},_0x202178);}):_0x891b07||_0x12102a||_0x128baa([0x56,0x61,0x6c,0x69,0x64]);}}function _0xbf838(_0x3d42de,_0x2a8b00){return new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d1c0=>{if(_0xdad70a())return _0x38d1c0(_0x128baa([0x56,0x61,0x6c,0x69,0x64]));_0x3f3086(),_0x26603a[_0x128baa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x128baa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37ee82=!0x1;const _0x35a177=_0x2ca404();function _0x141c5b(_0x1da6c9){return!!_0x1da6c9&&(typeof _0x1da6c9===_0x128baa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1da6c9===_0x128baa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1da6c9[_0x128baa([0x74,0x68,0x65,0x6e])]===_0x128baa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1da6c9[_0x128baa([0x63,0x61,0x74,0x63,0x68])]===_0x128baa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x380506(_0x392981){_0xa37929(_0x392981)[_0x128baa([0x74,0x68,0x65,0x6e])](_0x5cf3b1=>{if(!_0x5cf3b1||_0x5cf3b1[_0x128baa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x128baa([0x6f,0x6b]))return _0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31fac9(_0xe67916(_0x35a177+_0x2a8b00))!=_0x5cf3b1[_0x128baa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x128baa([0x56,0x61,0x6c,0x69,0x64]);})[_0x128baa([0x74,0x68,0x65,0x6e])](_0x46219=>(_0x4f9864(),_0x46219),()=>{const _0x49d4d3=_0x53f248();return null==_0x49d4d3?(_0x4f9864(),_0x128baa([0x56,0x61,0x6c,0x69,0x64])):_0x128baa(_0xd4aae6-_0x49d4d3>(0x61d15615^_0x481752)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x128baa([0x74,0x68,0x65,0x6e])](_0x38d1c0)[_0x128baa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38d1c0(_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44f6ed=0x45eb3c95^_0x481752;function _0x4f9864(){const _0x5e1ec3=_0x128baa([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fac9(_0xe67916(_0x3d42de)),_0x30ca08=_0x2fc751(_0x31fac9(window[_0x128baa([0x4d,0x61,0x74,0x68])][_0x128baa([0x63,0x65,0x69,0x6c])](_0xd4aae6/_0x44f6ed)));window[_0x128baa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x128baa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1ec3,_0x30ca08);}function _0x53f248(){const _0x593370=_0x128baa([0x6c,0x6c,0x63,0x74,0x2d])+_0x31fac9(_0xe67916(_0x3d42de)),_0x3b9280=window[_0x128baa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x128baa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x593370);return _0x3b9280?window[_0x128baa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc751(_0x3b9280),0x10)*_0x44f6ed:null;}function _0xa37929(_0x525c91){return new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4dc988,_0xdadfb3)=>{_0x525c91[_0x128baa([0x74,0x68,0x65,0x6e])](_0x4dc988,_0xdadfb3),window[_0x128baa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xdadfb3,0x45dc06d5^_0x481752);});}}_0x26603a[_0x128baa([0x6f,0x6e])](_0x128baa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22b4de,_0xaa7e48)=>{if(_0xaa7e48[0x0]!=_0x3d42de)return _0x38d1c0(_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xaa7e48[0x1]={..._0xaa7e48[0x1],[_0x128baa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x35a177};},{[_0x128baa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x128baa([0x68,0x69,0x67,0x68])}),_0x26603a[_0x128baa([0x6f,0x6e])](_0x128baa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x582155=>{_0x141c5b(_0x582155[_0x128baa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37ee82=!0x0,_0x380506(_0x582155[_0x128baa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x128baa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x128baa([0x6c,0x6f,0x77])}),_0x1d6bbe[_0x128baa([0x74,0x68,0x65,0x6e])](()=>{_0x37ee82||_0x38d1c0(_0x128baa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xdad70a(){return _0x26603a[_0x128baa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x128baa([0x76,0x69,0x65,0x77])][_0x128baa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x128baa([0x61,0x75,0x74,0x6f]);}function _0x3f3086(){_0x26603a[_0x128baa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x128baa([0x76,0x69,0x65,0x77])][_0x128baa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x128baa([0x61,0x75,0x74,0x6f]);}}function _0x55c407(_0x282195){const _0x22e323=[new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3992b3=>setTimeout(_0x3992b3,0x45d4ecd9^_0x481752)),_0x1d6bbe[_0x128baa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11f411=>{let _0x225105=0x0;_0x26603a[_0x128baa([0x6d,0x6f,0x64,0x65,0x6c])][_0x128baa([0x6f,0x6e])](_0x128baa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x486e24,_0x289132)=>{_0x289132[0x0][_0x128baa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x225105++,_0x225105==(0x45ddd3ed^_0x481752)&&(_0x11f411(),_0x486e24[_0x128baa([0x6f,0x66,0x66])]());});}))];return window[_0x128baa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x128baa([0x72,0x61,0x63,0x65])](_0x22e323)[_0x128baa([0x74,0x68,0x65,0x6e])](()=>_0x282195);}async function _0x1028db(){await _0x1d6bbe,_0x26603a[_0x128baa([0x6d,0x6f,0x64,0x65,0x6c])][_0x128baa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ed5fc,_0x26603a[_0x128baa([0x6d,0x6f,0x64,0x65,0x6c])][_0x128baa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ed5fc,_0x26603a[_0x128baa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x128baa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20ba2b(_0xd9c354){const _0x3109e9=_0x4f968d();_0x26603a[_0x3109e9]=_0x128baa([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd9c354,_0xd9c354!=_0x128baa([0x56,0x61,0x6c,0x69,0x64])&&_0x1028db();}function _0x4f968d(){const _0x1fb383=window[_0x128baa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x128baa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x128baa([0x6e,0x6f,0x77])]())[_0x128baa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x128baa([0x2e]),'');let _0x4c9830=_0x128baa([0x50]);for(let _0x543321=0x0;_0x543321<_0x1fb383[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x543321+=0x2){let _0x181139=window[_0x128baa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fb383[_0x128baa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x543321,_0x543321+0x2));_0x181139>=_0x5ea0c3[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x181139-=_0x5ea0c3[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c9830+=_0x5ea0c3[_0x181139];}return _0x4c9830;}function _0x1eb483(){const _0x4eb264=_0x5723d1[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e]));if(0x3!=_0x4eb264[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x488c98(_0x4eb264[0x1]);function _0x488c98(_0x11898e){const _0x3f892f=_0x34067c(_0x11898e);return _0x3f892f&&_0x5b8b00()?_0x3f892f:null;function _0x5b8b00(){const _0x264082=_0x3f892f[_0x128baa([0x6a,0x74,0x69])],_0x21648c=window[_0x128baa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x264082[_0x128baa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x264082[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b7046={..._0x3f892f,[_0x128baa([0x6a,0x74,0x69])]:_0x264082[_0x128baa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x264082[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b7046[_0x128baa([0x76,0x63])],_0xe67916(_0x1b7046)==_0x21648c;}}}async function _0xbee3d3(){let _0x9d0dd7=!0x0;try{const _0xb0d7f7=_0x5723d1[_0x128baa([0x73,0x70,0x6c,0x69,0x74])](_0x128baa([0x2e])),[_0x1bddbb,_0x13f12f,_0x22b85b]=_0xb0d7f7;return _0x4e7f04(_0x1bddbb),await _0x1f31d0(_0x1bddbb,_0x13f12f,_0x22b85b),_0x9d0dd7;}catch{return!0x1;}function _0x4e7f04(_0x248e85){const _0x238537=_0x34067c(_0x248e85);_0x238537&&_0x238537[_0x128baa([0x61,0x6c,0x67])]==_0x128baa([0x45,0x53,0x32,0x35,0x36])||(_0x9d0dd7=!0x1);}async function _0x1f31d0(_0x6f5c58,_0x14fbed,_0xb48def){const _0x124ac1=window[_0x128baa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x128baa([0x66,0x72,0x6f,0x6d])](_0x4ce868(_0xb48def),_0x1e7a98=>_0x1e7a98[_0x128baa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bdca2=new window[(_0x128baa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x128baa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6f5c58+_0x128baa([0x2e])+_0x14fbed),_0x2ccd20=window[_0x128baa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x128baa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ccd20)return;const _0x558628=await _0x2ccd20[_0x128baa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x128baa([0x6a,0x77,0x6b]),_0x1e70ff,{[_0x128baa([0x6e,0x61,0x6d,0x65])]:_0x128baa([0x45,0x43,0x44,0x53,0x41]),[_0x128baa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x128baa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x128baa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ccd20[_0x128baa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x128baa([0x6e,0x61,0x6d,0x65])]:_0x128baa([0x45,0x43,0x44,0x53,0x41]),[_0x128baa([0x68,0x61,0x73,0x68])]:{[_0x128baa([0x6e,0x61,0x6d,0x65])]:_0x128baa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x558628,_0x124ac1,_0x3bdca2)||(_0x9d0dd7=!0x1);}}function _0x34067c(_0x132f60){return _0x132f60[_0x128baa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x128baa([0x65,0x79]))?JSON[_0x128baa([0x70,0x61,0x72,0x73,0x65])](_0x4ce868(_0x132f60)):null;}function _0x4ce868(_0x54d2c1){return window[_0x128baa([0x61,0x74,0x6f,0x62])](_0x54d2c1[_0x128baa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x128baa([0x2b]))[_0x128baa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x128baa([0x2f])));}function _0xe67916(_0x42439){let _0x3bcac3=0x1505;function _0x61ac12(_0x19c31e){for(let _0x5d0397=0x0;_0x5d0397<_0x19c31e[_0x128baa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d0397++){const _0x15b069=_0x19c31e[_0x128baa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d0397);_0x3bcac3=(_0x3bcac3<<0x5)+_0x3bcac3+_0x15b069,_0x3bcac3&=_0x3bcac3;}}function _0x61265e(_0x4e36a3){Array[_0x128baa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e36a3)?_0x4e36a3[_0x128baa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x61265e):_0x4e36a3&&typeof _0x4e36a3==_0x128baa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x128baa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e36a3)[_0x128baa([0x73,0x6f,0x72,0x74])]()[_0x128baa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bbfae,_0x2614d0])=>{_0x61ac12(_0x5bbfae),_0x61265e(_0x2614d0);}):_0x61ac12(window[_0x128baa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e36a3));}return _0x61265e(_0x42439),_0x3bcac3>>>0x0;}function _0x31fac9(_0x29ad13){return _0x29ad13[_0x128baa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x128baa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x128baa([0x30]));}function _0x2fc751(_0x19a098){return _0x19a098[_0x128baa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x128baa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x128baa([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ed5fc(){}function _0x128baa(_0x2309d6){const _0xf449ff=_0x452d;return _0x2309d6[_0xf449ff(0x7a)](_0xfaa7f7=>String[_0xf449ff(0x89)](_0xfaa7f7))[_0xf449ff(0x6e)]('');}_0x20ba2b(await _0x231fe3());}(this);}[_0x5bc3c1(0x7f)](){const _0x14608b=_0x5bc3c1,_0x20787c=this[_0x14608b(0x79)];if(!_0x20787c[_0x14608b(0x9c)][_0x14608b(0x75)](_0x14608b(0x7b)))return;const _0x2508d8=_0x20787c[_0x14608b(0x9c)][_0x14608b(0x75)](_0x14608b(0x95))[_0x14608b(0x98)](_0x410063=>_0x14608b(0x6d)==typeof _0x410063&&(!_0x2bc6f4(_0x410063)&&isNaN(Number(_0x410063))));if(_0x2508d8[_0x14608b(0x8e)])throw new _0x3c8086(_0x14608b(0x99),null,{'namedPresets':_0x2508d8});}[_0x5bc3c1(0x84)](){const _0x4f37ef=_0x5bc3c1,_0x2a5af7=this[_0x4f37ef(0x79)],_0x3b54d7=this[_0x4f37ef(0x79)][_0x4f37ef(0x9c)][_0x4f37ef(0x75)](_0x4f37ef(0x7c));_0x2a5af7[_0x4f37ef(0x93)][_0x4f37ef(0x87)](_0x4f37ef(0x9d))[_0x4f37ef(0x83)]({'model':{'key':_0x4f37ef(0x7d)},'view':_0x21d791=>String(_0x21d791)===String(_0x3b54d7)?null:{'key':_0x4f37ef(0x7e),'value':{'line-height':_0x21d791}}}),_0x2a5af7[_0x4f37ef(0x93)][_0x4f37ef(0x87)](_0x4f37ef(0x72))[_0x4f37ef(0x83)]({'model':{'key':_0x4f37ef(0x7d),'value':_0x1ebc52=>{const _0x3d3aae=_0x4f37ef;let _0x21e4cb=_0x1ebc52[_0x3d3aae(0x94)](_0x3d3aae(0x81));return _0x50c1b9(_0x21e4cb)&&(_0x21e4cb=String(Number(_0x21e4cb[_0x3d3aae(0x6c)](0x0,-0x1))/0x64)),String(_0x21e4cb)===String(_0x3b54d7)?null:_0x21e4cb;}},'view':{'styles':{'line-height':/.*/}}});}[_0x5bc3c1(0x88)](){const _0x301106=_0x5bc3c1,_0xd2e0a2=this[_0x301106(0x79)],_0x38bd22=this[_0x301106(0x79)][_0x301106(0x9c)][_0x301106(0x75)](_0x301106(0x7c)),_0x5a07eb=_0x4575de(this[_0x301106(0x79)][_0x301106(0x9c)][_0x301106(0x75)](_0x301106(0x7d)))[_0x301106(0x98)](_0x4b0161=>_0x4b0161[_0x301106(0x8c)]),_0x168484=_0x2c4e08(_0x301106(0x7d),_0x5a07eb);_0xd2e0a2[_0x301106(0x93)][_0x301106(0x83)](_0x168484),_0xd2e0a2[_0x301106(0x93)][_0x301106(0x87)](_0x301106(0x72))[_0x301106(0x83)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x301106(0x7d),'value':_0x1beaf3=>{const _0x2ca34c=_0x301106;let _0x698e2e=_0x1beaf3[_0x2ca34c(0x94)](_0x2ca34c(0x81));return _0x50c1b9(_0x698e2e)&&(_0x698e2e=String(Number(_0x698e2e[_0x2ca34c(0x6c)](0x0,-0x1))/0x64)),_0x698e2e===String(_0x38bd22)?null:_0x168484[_0x2ca34c(0x8c)][_0x2ca34c(0x8b)][_0x2ca34c(0x90)](_0x698e2e)?_0x698e2e:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2a2465}from'ckeditor5/src/core.js';import{addListToDropdown as _0x519eca,createDropdown as _0x1e9825,MenuBarMenuListItemButtonView as _0x309321,MenuBarMenuListItemView as _0x3007a3,MenuBarMenuListView as _0xc8d39,MenuBarMenuView as _0x46df43,UIModel as _0x3d0c6b}from'ckeditor5/src/ui.js';import{Collection as _0x17cec9}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x27ff15}from'ckeditor5/src/icons.js';import{normalizeOptions as _0xe93fa3}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2a2465{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x58153d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x58153d),this['_registerMenuBarComponent'](_0x58153d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2b8ee0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11c0a2;for(const _0x41b056 in _0x2b8ee0){const _0x58e6f1=_0x41b056,_0xa4a43=_0x2b8ee0[_0x58e6f1];if('lineHeightLicenseKeyValid'==_0xa4a43||'lineHeightLicenseKeyInvalid'==_0xa4a43||'lineHeightLicenseKeyExpired'==_0xa4a43||'lineHeightLicenseKeyDomainLimit'==_0xa4a43||'lineHeightLicenseKeyNotAllowed'==_0xa4a43||'lineHeightLicenseKeyEvaluationLimit'==_0xa4a43||'lineHeightLicenseKeyTrialLimit'==_0xa4a43||'lineHeightLicenseKeyUsageLimit'==_0xa4a43){delete _0x2b8ee0[_0x58e6f1],_0x11c0a2=_0xa4a43,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x11c0a2&&_0x2b8ee0['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x11c0a2&&_0x2b8ee0['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x11c0a2&&_0x2b8ee0['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x11c0a2&&_0x2b8ee0['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x11c0a2&&_0x2b8ee0['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x11c0a2&&_0x2b8ee0['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x11c0a2&&_0x2b8ee0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x34699a=this['editor'],t=_0x34699a['t'],_0x5dbd0e=_0x34699a['config']['get']('lineHeight'),_0x2246ed={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0xe93fa3(_0x5dbd0e)['map'](_0x16992c=>{const _0x266d4b=_0x2246ed[_0x16992c['title']];return _0x266d4b&&_0x266d4b!=_0x16992c['title']&&(_0x16992c=Object['assign']({},_0x16992c,{'title':_0x266d4b})),_0x16992c;});}['_prepareListOptions'](){const _0x554c6a=this['editor']['commands']['get']('lineHeight'),_0x15296c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x58d1f3=this['_getLocalizedLineHeightOptions'](),_0x1bbda8=new _0x17cec9(),_0x5c9838=_0x5f067=>'default'===_0x5f067||String(_0x15296c)===_0x5f067;for(const _0x41e652 of _0x58d1f3){const _0xe355a5={'type':'button','model':new _0x3d0c6b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x41e652['title'],'withText':!0x0})};_0x5c9838(_0x41e652['model'])?(_0xe355a5['model']['bind']('isOn')['to'](_0x554c6a,'value',_0x8fc291=>!_0x8fc291),_0xe355a5['model']['commandParam']=void 0x0):(_0xe355a5['model']['bind']('isOn')['to'](_0x554c6a,'value',_0x3b0d28=>_0x3b0d28===_0x41e652['model']),_0xe355a5['model']['commandParam']=_0x41e652['model']),_0x1bbda8['add'](_0xe355a5);}if(this['_shouldRenderCustomValueOption']()){const _0x4d21fe=this['_getCustomValueOptionDefinition'](_0x58d1f3);_0x1bbda8['add'](_0x4d21fe);}return _0x1bbda8;}['_getCustomValueOptionDefinition'](_0x571d20){const _0x1074b4=this['editor'],t=_0x1074b4['t'],_0x4a2836=_0x1074b4['commands']['get']('lineHeight'),_0x2b7999=_0x571d20['map'](_0x19c266=>_0x19c266['model']),_0x3c7056={'type':'button','model':new _0x3d0c6b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3c7056['model']['bind']('commandParam')['to'](_0x4a2836,'value'),_0x3c7056['model']['bind']('isOn')['to'](_0x4a2836,'value',_0xebe586=>!!_0xebe586&&!_0x2b7999['includes'](String(_0xebe586))),_0x3c7056['model']['bind']('label')['to'](_0x4a2836,'value',_0x47bd97=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x47bd97))),_0x3c7056;}['_registerToolbarComponent']({accessibleLabel:_0x4b6822,options:_0x4284a4}){const _0x44d54d=this['editor'],_0x2c891a=_0x44d54d['commands']['get']('lineHeight');_0x44d54d['ui']['componentFactory']['add']('lineHeight',_0x4711d6=>{const _0x4eb58b=_0x1e9825(_0x4711d6);return _0x519eca(_0x4eb58b,_0x4284a4,{'role':'menu','ariaLabel':_0x4b6822}),_0x4eb58b['buttonView']['set']({'label':_0x4b6822,'tooltip':!0x0,'icon':_0x27ff15}),_0x4eb58b['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4eb58b['bind']('isEnabled')['to'](_0x2c891a),this['listenTo'](_0x4eb58b,'execute',_0x182bfb=>{_0x44d54d['execute'](_0x182bfb['source']['commandName'],{'value':_0x182bfb['source']['commandParam']}),_0x44d54d['editing']['view']['focus']();}),_0x4eb58b['once']('change:isOpen',()=>{const _0x45bbad=_0x4eb58b['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4eb58b,_0x4284a4,_0x45bbad);}),_0x4eb58b;});}['_registerMenuBarComponent']({accessibleLabel:_0xbf25c6,options:_0xfe64ec}){const _0x386c7f=this['editor'],_0x2af38e=_0x386c7f['commands']['get']('lineHeight');_0x386c7f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2ffaca=>{const _0x5edee3=new _0x46df43(_0x2ffaca);_0x5edee3['buttonView']['set']({'label':_0xbf25c6,'icon':_0x27ff15}),_0x5edee3['bind']('isEnabled')['to'](_0x2af38e);const _0x49a4e6=new _0xc8d39(_0x2ffaca);for(const _0x232499 of _0xfe64ec){const _0x3d7edc=new _0x3007a3(_0x2ffaca,_0x5edee3),_0x571943=new _0x309321(_0x2ffaca);_0x571943['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x571943['bind'](...Object['keys'](_0x232499['model']))['to'](_0x232499['model']),_0x571943['delegate']('execute')['to'](_0x5edee3),_0x571943['on']('execute',()=>{_0x386c7f['execute'](_0x232499['model']['commandName'],{'value':_0x232499['model']['commandParam']}),_0x386c7f['editing']['view']['focus']();}),_0x3d7edc['children']['add'](_0x571943),_0x49a4e6['items']['add'](_0x3d7edc);}return _0x5edee3['panelView']['children']['add'](_0x49a4e6),this['_attachCustomOptionVisibilityHandler'](_0x5edee3,_0xfe64ec,_0x49a4e6),_0x5edee3;});}['_attachCustomOptionVisibilityHandler'](_0x5c8b78,_0x276c6b,_0x514c02){if(!this['_shouldRenderCustomValueOption']())return;const _0x127737=()=>{if(!_0x5c8b78['isOpen'])return;_0x514c02['items']['last']['isVisible']=Boolean(_0x276c6b['last']['model']['isOn']);};_0x127737(),_0x5c8b78['on']('change:isOpen',()=>{_0x127737();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x43d5ef,_0x240e90){const _0x1761a7=_0x3b54,_0x59a709=_0x43d5ef();while(!![]){try{const _0x1ed558=-parseInt(_0x1761a7(0x140))/0x1+-parseInt(_0x1761a7(0x157))/0x2+-parseInt(_0x1761a7(0x138))/0x3+-parseInt(_0x1761a7(0x155))/0x4+-parseInt(_0x1761a7(0x13d))/0x5*(-parseInt(_0x1761a7(0x14e))/0x6)+-parseInt(_0x1761a7(0x141))/0x7*(parseInt(_0x1761a7(0x146))/0x8)+parseInt(_0x1761a7(0x142))/0x9*(parseInt(_0x1761a7(0x153))/0xa);if(_0x1ed558===_0x240e90)break;else _0x59a709['push'](_0x59a709['shift']());}catch(_0x4527f8){_0x59a709['push'](_0x59a709['shift']());}}}(_0x3c3b,0xa5296));const v={get 'single'(){const _0x5183d7=_0x3b54;return{'title':_0x5183d7(0x13b),'model':_0x5183d7(0x150),'view':{'key':_0x5183d7(0x13a),'value':_0x5183d7(0x151)}};},get 'double'(){const _0x2edcee=_0x3b54;return{'title':_0x2edcee(0x13e),'model':_0x2edcee(0x149),'view':{'key':_0x2edcee(0x13a),'value':_0x2edcee(0x156)}};}};export function isLineHeightDefaultValue(_0x5b97a9){const _0x89d492=_0x3b54;return _0x89d492(0x148)==typeof _0x5b97a9&&_0x89d492(0x154)===_0x5b97a9[_0x89d492(0x137)]();}export function normalizeOptions(_0x51bb30){const _0x117d21=_0x3b54;return _0x51bb30[_0x117d21(0x144)][_0x117d21(0x147)](_0x42de8c=>isLineHeightDefaultValue(_0x42de8c)?{'title':String(_0x51bb30[_0x117d21(0x145)]),'model':_0x117d21(0x154)}:(_0x117d21(0x152)==typeof _0x42de8c&&(_0x42de8c=String(_0x42de8c)),_0x117d21(0x148)!=typeof _0x42de8c?_0x42de8c:parseFloat(_0x42de8c)?{'title':_0x42de8c,'model':_0x42de8c,'view':{'name':_0x117d21(0x14d),'styles':{'line-height':_0x42de8c}}}:findPreset(_0x42de8c)))[_0x117d21(0x158)](_0x7416ab=>void 0x0!==_0x7416ab);}export function findPreset(_0x561139){const _0x21ede8=_0x3b54;return _0x21ede8(0x148)==typeof _0x561139?v[_0x561139]:v[_0x561139[_0x21ede8(0x143)]];}function _0x3b54(_0x34924c,_0x392f4d){const _0x3c3be6=_0x3c3b();return _0x3b54=function(_0x3b5437,_0x348ee6){_0x3b5437=_0x3b5437-0x137;let _0x1be50b=_0x3c3be6[_0x3b5437];return _0x1be50b;},_0x3b54(_0x34924c,_0x392f4d);}function _0x3c3b(){const _0x268ced=['Double','view','1051320WJSOSz','7fbhUoe','9lHkrZF','model','options','defaultValue','8385880JuSgPc','map','string','double','push','style','line-height:','span','282ONwpFc','key','single','line-height-single','number','47216270nEZNxf','default','3217744Zdryxo','line-height-double','1801626ksHVhH','filter','toLowerCase','3247542hPkUKy','values','class','Single','value','89595oarULV'];_0x3c3b=function(){return _0x268ced;};return _0x3c3b();}export function buildDefinition(_0x377f30,_0x16955d){const _0x12f193=_0x3b54,_0x510f0c={'model':{'key':_0x377f30,'values':[]},'view':{}};for(const _0x2cdf00 of _0x16955d)_0x12f193(0x13a)===_0x2cdf00[_0x12f193(0x13f)]?.[_0x12f193(0x14f)]?(_0x510f0c[_0x12f193(0x143)][_0x12f193(0x139)][_0x12f193(0x14a)](_0x2cdf00[_0x12f193(0x143)]),_0x510f0c[_0x12f193(0x13f)][_0x2cdf00[_0x12f193(0x143)]]={'key':_0x12f193(0x13a),'value':_0x2cdf00[_0x12f193(0x13f)][_0x12f193(0x13c)]}):(_0x510f0c[_0x12f193(0x143)][_0x12f193(0x139)][_0x12f193(0x14a)](_0x2cdf00[_0x12f193(0x143)]),_0x510f0c[_0x12f193(0x13f)][_0x2cdf00[_0x12f193(0x143)]]={'key':_0x12f193(0x14b),'value':_0x12f193(0x14c)+_0x2cdf00[_0x12f193(0x143)]+';'});return _0x510f0c;}
|