@ckeditor/ckeditor5-template
Version:
Template feature for CKEditor 5.
23 lines • 4.66 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
function _0x21ee(_0x4f28b1,_0x47e755){const _0x9d9cb3=_0x9d9c();return _0x21ee=function(_0x21ee48,_0x1307c3){_0x21ee48=_0x21ee48-0x166;let _0x2617d7=_0x9d9cb3[_0x21ee48];return _0x2617d7;},_0x21ee(_0x4f28b1,_0x47e755);}const _0x8fd427=_0x21ee;(function(_0x2aff45,_0x3bba59){const _0x781b24=_0x21ee,_0x4dc0b1=_0x2aff45();while(!![]){try{const _0x4f501e=-parseInt(_0x781b24(0x18a))/0x1*(-parseInt(_0x781b24(0x171))/0x2)+-parseInt(_0x781b24(0x181))/0x3+-parseInt(_0x781b24(0x176))/0x4+parseInt(_0x781b24(0x182))/0x5*(parseInt(_0x781b24(0x166))/0x6)+-parseInt(_0x781b24(0x16b))/0x7*(parseInt(_0x781b24(0x172))/0x8)+parseInt(_0x781b24(0x16e))/0x9+parseInt(_0x781b24(0x17e))/0xa;if(_0x4f501e===_0x3bba59)break;else _0x4dc0b1['push'](_0x4dc0b1['shift']());}catch(_0x4abbd0){_0x4dc0b1['push'](_0x4dc0b1['shift']());}}}(_0x9d9c,0x89085));function _0x9d9c(){const _0x530d74=['TemplateEditing','expired','evaluationLimit','6ceFGvK','templateLicenseKeyInvalid','trialLimit','commands','isOfficialPlugin','206213TSqBYC','templateLicenseKeyUsageLimit','invalid','9810873ADATYh','get','destroy','1012aFtVJQ','152slHiUn','editor','templateLicenseKeyExpired','templateLicenseKeyTrialLimit','4329544ejGUZO','isPremiumPlugin','insertTemplate','templateLicenseKeyEvaluationLimit','_licenseKeyCheckInterval','templateLicenseKeyDomainLimit','init','usageLimit','1575230dMigMw','pluginName','config','926952mrZGAO','4347850efWVsc','Template','templateLicenseKeyNotAllowed','licenseKey','_showLicenseError','featureNotAllowed','add','domainLimit','781afibKF','templateLicenseKeyValid'];_0x9d9c=function(){return _0x530d74;};return _0x9d9c();}import{Plugin as _0x58a1d5}from'ckeditor5/src/core.js';import _0x412019 from'./templatecommand.js';export default class i extends _0x58a1d5{[_0x8fd427(0x185)];[_0x8fd427(0x17a)];static get[_0x8fd427(0x17f)](){const _0x27ca9d=_0x8fd427;return _0x27ca9d(0x18c);}static get[_0x8fd427(0x16a)](){return!0x0;}static get[_0x8fd427(0x177)](){return!0x0;}[_0x8fd427(0x17c)](){const _0x22e946=_0x8fd427,{editor:_0x15b38e}=this;_0x15b38e[_0x22e946(0x169)][_0x22e946(0x188)](_0x22e946(0x178),new _0x412019(_0x15b38e)),this[_0x22e946(0x185)]=this[_0x22e946(0x173)][_0x22e946(0x180)][_0x22e946(0x16f)](_0x22e946(0x185));const _0x3271f0=this[_0x22e946(0x173)];this[_0x22e946(0x17a)]=setInterval(()=>{const _0x5029d8=_0x22e946;let _0xd7b2d7;for(const _0x395337 in _0x3271f0){const _0x499a86=_0x395337,_0x5a36aa=_0x3271f0[_0x499a86];if(_0x5029d8(0x18b)==_0x5a36aa||_0x5029d8(0x167)==_0x5a36aa||_0x5029d8(0x174)==_0x5a36aa||_0x5029d8(0x17b)==_0x5a36aa||_0x5029d8(0x184)==_0x5a36aa||_0x5029d8(0x179)==_0x5a36aa||_0x5029d8(0x175)==_0x5a36aa||_0x5029d8(0x16c)==_0x5a36aa){delete _0x3271f0[_0x499a86],_0xd7b2d7=_0x5a36aa,clearInterval(this[_0x5029d8(0x17a)]),this[_0x5029d8(0x17a)]=void 0x0;break;}}_0x5029d8(0x167)==_0xd7b2d7&&_0x3271f0[_0x5029d8(0x186)](_0x5029d8(0x16d)),_0x5029d8(0x174)==_0xd7b2d7&&_0x3271f0[_0x5029d8(0x186)](_0x5029d8(0x18d)),_0x5029d8(0x17b)==_0xd7b2d7&&_0x3271f0[_0x5029d8(0x186)](_0x5029d8(0x189)),_0x5029d8(0x184)==_0xd7b2d7&&_0x3271f0[_0x5029d8(0x186)](_0x5029d8(0x187),_0x5029d8(0x183)),_0x5029d8(0x179)==_0xd7b2d7&&_0x3271f0[_0x5029d8(0x186)](_0x5029d8(0x18e)),_0x5029d8(0x175)==_0xd7b2d7&&_0x3271f0[_0x5029d8(0x186)](_0x5029d8(0x168)),_0x5029d8(0x16c)==_0xd7b2d7&&_0x3271f0[_0x5029d8(0x186)](_0x5029d8(0x17d));},0x3e8);}[_0x8fd427(0x170)](){const _0x32dd9e=_0x8fd427;super[_0x32dd9e(0x170)](),this[_0x32dd9e(0x17a)]&&clearInterval(this[_0x32dd9e(0x17a)]);}}