@ckeditor/ckeditor5-export-pdf
Version:
Export to PDF feature for CKEditor 5.
23 lines • 3.59 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 _0x4dd9(_0x1fb730,_0x4434d0){const _0x487d3a=_0x487d();return _0x4dd9=function(_0x4dd992,_0x2864fb){_0x4dd992=_0x4dd992-0x14d;let _0x31095a=_0x487d3a[_0x4dd992];return _0x31095a;},_0x4dd9(_0x1fb730,_0x4434d0);}const _0x44c40d=_0x4dd9;(function(_0x19cd23,_0x470a4d){const _0x3785e=_0x4dd9,_0x557f7f=_0x19cd23();while(!![]){try{const _0xa4a3d=-parseInt(_0x3785e(0x15f))/0x1*(parseInt(_0x3785e(0x14e))/0x2)+parseInt(_0x3785e(0x155))/0x3+parseInt(_0x3785e(0x154))/0x4+parseInt(_0x3785e(0x150))/0x5+-parseInt(_0x3785e(0x15b))/0x6*(-parseInt(_0x3785e(0x169))/0x7)+-parseInt(_0x3785e(0x15e))/0x8+parseInt(_0x3785e(0x163))/0x9*(-parseInt(_0x3785e(0x168))/0xa);if(_0xa4a3d===_0x470a4d)break;else _0x557f7f['push'](_0x557f7f['shift']());}catch(_0x2d2641){_0x557f7f['push'](_0x557f7f['shift']());}}}(_0x487d,0x26988));function _0x487d(){const _0x30dc90=['tokenUrl','requires','1273530DnNbNh','10115lBVvTA','init','244124neomvv','get','269760abmWRF','commands','token','registerTokenUrl','207108bsYWFd','691629bqJATf','ExportPdf','then','isPremiumPlugin','isOfficialPlugin','config','954cLDBPl','editor','exportPdf','1268192uNraSV','1CKuIMf','add','plugins','_token','9lqkzEd','pluginName','CloudServices'];_0x487d=function(){return _0x30dc90;};return _0x487d();}import{Plugin as _0x3768a4}from'ckeditor5/src/core.js';import{Notification as _0x1848d1}from'ckeditor5/src/ui.js';import _0x4b1efc from'./exportpdfcommand.js';import _0x33a4e4 from'./exportpdfui.js';export default class o extends _0x3768a4{[_0x44c40d(0x162)];static get[_0x44c40d(0x164)](){const _0x392fd2=_0x44c40d;return _0x392fd2(0x156);}static get[_0x44c40d(0x159)](){return!0x0;}static get[_0x44c40d(0x158)](){return!0x0;}static get[_0x44c40d(0x167)](){const _0x585000=_0x44c40d;return[_0x585000(0x165),_0x1848d1,_0x33a4e4];}[_0x44c40d(0x14d)](){const _0x45d045=_0x44c40d,_0x104fe2=this[_0x45d045(0x15c)],_0x5c57da=_0x104fe2[_0x45d045(0x15a)][_0x45d045(0x14f)](_0x45d045(0x15d))||{};_0x104fe2[_0x45d045(0x151)][_0x45d045(0x160)](_0x45d045(0x15d),new _0x4b1efc(_0x104fe2));const _0x3cb2dc=_0x104fe2[_0x45d045(0x161)][_0x45d045(0x14f)](_0x45d045(0x165));!0x1===_0x5c57da[_0x45d045(0x166)]?this[_0x45d045(0x162)]=null:_0x5c57da[_0x45d045(0x166)]?_0x3cb2dc[_0x45d045(0x153)](_0x5c57da[_0x45d045(0x166)])[_0x45d045(0x157)](_0x4a1698=>{const _0x244994=_0x45d045;this[_0x244994(0x162)]=_0x4a1698;}):this[_0x45d045(0x162)]=_0x3cb2dc[_0x45d045(0x152)];}}