@ckeditor/ckeditor5-format-painter 41.3.0 → 41.4.0-alpha.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.
Files changed (111) hide show
  1. package/build/format-painter.js +1 -1
  2. package/build/format-painter.js.map +1 -0
  3. package/dist/index-content.css +4 -0
  4. package/dist/index-editor.css +7 -0
  5. package/dist/index.css +32 -0
  6. package/dist/index.js +23 -0
  7. package/dist/translations/ar.d.ts +8 -0
  8. package/dist/translations/ar.js +23 -0
  9. package/dist/translations/bg.d.ts +8 -0
  10. package/dist/translations/bg.js +23 -0
  11. package/dist/translations/bn.d.ts +8 -0
  12. package/dist/translations/bn.js +23 -0
  13. package/dist/translations/ca.d.ts +8 -0
  14. package/dist/translations/ca.js +23 -0
  15. package/dist/translations/cs.d.ts +8 -0
  16. package/dist/translations/cs.js +23 -0
  17. package/dist/translations/da.d.ts +8 -0
  18. package/dist/translations/da.js +23 -0
  19. package/dist/translations/de.d.ts +8 -0
  20. package/dist/translations/de.js +23 -0
  21. package/dist/translations/el.d.ts +8 -0
  22. package/dist/translations/el.js +23 -0
  23. package/dist/translations/en-au.d.ts +8 -0
  24. package/dist/translations/en-au.js +23 -0
  25. package/dist/translations/en.d.ts +8 -0
  26. package/dist/translations/en.js +23 -0
  27. package/dist/translations/es.d.ts +8 -0
  28. package/dist/translations/es.js +23 -0
  29. package/dist/translations/et.d.ts +8 -0
  30. package/dist/translations/et.js +23 -0
  31. package/dist/translations/fi.d.ts +8 -0
  32. package/dist/translations/fi.js +23 -0
  33. package/dist/translations/fr.d.ts +8 -0
  34. package/dist/translations/fr.js +23 -0
  35. package/dist/translations/gl.d.ts +8 -0
  36. package/dist/translations/gl.js +23 -0
  37. package/dist/translations/he.d.ts +8 -0
  38. package/dist/translations/he.js +23 -0
  39. package/dist/translations/hi.d.ts +8 -0
  40. package/dist/translations/hi.js +23 -0
  41. package/dist/translations/hr.d.ts +8 -0
  42. package/dist/translations/hr.js +23 -0
  43. package/dist/translations/hu.d.ts +8 -0
  44. package/dist/translations/hu.js +23 -0
  45. package/dist/translations/id.d.ts +8 -0
  46. package/dist/translations/id.js +23 -0
  47. package/dist/translations/it.d.ts +8 -0
  48. package/dist/translations/it.js +23 -0
  49. package/dist/translations/ja.d.ts +8 -0
  50. package/dist/translations/ja.js +23 -0
  51. package/dist/translations/ko.d.ts +8 -0
  52. package/dist/translations/ko.js +23 -0
  53. package/dist/translations/lt.d.ts +8 -0
  54. package/dist/translations/lt.js +23 -0
  55. package/dist/translations/lv.d.ts +8 -0
  56. package/dist/translations/lv.js +23 -0
  57. package/dist/translations/ms.d.ts +8 -0
  58. package/dist/translations/ms.js +23 -0
  59. package/dist/translations/nl.d.ts +8 -0
  60. package/dist/translations/nl.js +23 -0
  61. package/dist/translations/no.d.ts +8 -0
  62. package/dist/translations/no.js +23 -0
  63. package/dist/translations/pl.d.ts +8 -0
  64. package/dist/translations/pl.js +23 -0
  65. package/dist/translations/pt-br.d.ts +8 -0
  66. package/dist/translations/pt-br.js +23 -0
  67. package/dist/translations/pt.d.ts +8 -0
  68. package/dist/translations/pt.js +23 -0
  69. package/dist/translations/ro.d.ts +8 -0
  70. package/dist/translations/ro.js +23 -0
  71. package/dist/translations/ru.d.ts +8 -0
  72. package/dist/translations/ru.js +23 -0
  73. package/dist/translations/sk.d.ts +8 -0
  74. package/dist/translations/sk.js +23 -0
  75. package/dist/translations/sr-latn.d.ts +8 -0
  76. package/dist/translations/sr-latn.js +23 -0
  77. package/dist/translations/sr.d.ts +8 -0
  78. package/dist/translations/sr.js +23 -0
  79. package/dist/translations/sv.d.ts +8 -0
  80. package/dist/translations/sv.js +23 -0
  81. package/dist/translations/th.d.ts +8 -0
  82. package/dist/translations/th.js +23 -0
  83. package/dist/translations/tr.d.ts +8 -0
  84. package/dist/translations/tr.js +23 -0
  85. package/dist/translations/ug.d.ts +8 -0
  86. package/dist/translations/ug.js +23 -0
  87. package/dist/translations/uk.d.ts +8 -0
  88. package/dist/translations/uk.js +23 -0
  89. package/dist/translations/vi.d.ts +8 -0
  90. package/dist/translations/vi.js +23 -0
  91. package/dist/translations/zh-cn.d.ts +8 -0
  92. package/dist/translations/zh-cn.js +23 -0
  93. package/dist/translations/zh.d.ts +8 -0
  94. package/dist/translations/zh.js +23 -0
  95. package/dist/types/augmentation.d.ts +20 -0
  96. package/dist/types/copyformatcommand.d.ts +41 -0
  97. package/dist/types/formatpainter.d.ts +32 -0
  98. package/dist/types/formatpainterediting.d.ts +40 -0
  99. package/dist/types/formatpainterui.d.ts +36 -0
  100. package/dist/types/index.d.ts +18 -0
  101. package/dist/types/pasteformatcommand.d.ts +27 -0
  102. package/dist/types/utils.d.ts +29 -0
  103. package/lang/contexts.json +2 -0
  104. package/package.json +4 -3
  105. package/src/copyformatcommand.js +1 -1
  106. package/src/formatpainter.js +1 -1
  107. package/src/formatpainterediting.js +1 -1
  108. package/src/formatpainterui.js +1 -1
  109. package/src/index.js +1 -1
  110. package/src/pasteformatcommand.js +1 -1
  111. package/src/utils.js +1 -1
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module format-painter/formatpainter
11
+ * @publicApi
12
+ */
13
+ import { Plugin } from 'ckeditor5/src/core.js';
14
+ import FormatPainterEditing from './formatpainterediting.js';
15
+ import FormatPainterUI from './formatpainterui.js';
16
+ /**
17
+ * The format painter feature.
18
+ *
19
+ * For a detailed overview, check the {@glink features/format-painter Format painter} feature documentation.
20
+ *
21
+ * @extends module:core/plugin~Plugin
22
+ */
23
+ export default class FormatPainter extends Plugin {
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get requires(): readonly [typeof FormatPainterEditing, typeof FormatPainterUI];
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get pluginName(): "FormatPainter";
32
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module format-painter/formatpainterediting
11
+ */
12
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The format painter editing feature. It introduces two commands: `copyFormat` and `pasteFormat`.
15
+ */
16
+ export default class FormatPainterEditing extends Plugin {
17
+ licenseKey: string;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "FormatPainterEditing";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ constructor(editor: Editor);
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ destroy(): void;
34
+ }
35
+ /**
36
+ * An object with key-value pairs describing formatting model attributes and their values.
37
+ */
38
+ export type FormattingAttributesValues = {
39
+ [k: string]: unknown;
40
+ };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module format-painter/formatpainterui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import '../theme/formatpainter.css';
14
+ declare const FormatPainterUI_base: import("ckeditor5/src/utils.js").Mixed<typeof Plugin, import("ckeditor5/src/utils.js").DomEmitter>;
15
+ /**
16
+ * The format painter UI feature. It introduces the `formatPainter` dropdown with a "Continuous painting"
17
+ * switch button.
18
+ *
19
+ * The first click on the dropdown button copies the formatting of the selected text.
20
+ * Then the next click in the editor editable pastes the formatting.
21
+ */
22
+ export default class FormatPainterUI extends FormatPainterUI_base {
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get pluginName(): "FormatPainterUI";
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ init(): void;
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ afterInit(): void;
35
+ }
36
+ export {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module format-painter
11
+ */
12
+ export { type COPY_FORMAT_COMMAND_NAME, type PASTE_FORMAT_COMMAND_NAME } from './utils.js';
13
+ export { default as FormatPainter } from './formatpainter.js';
14
+ export { default as FormatPainterEditing, type FormattingAttributesValues } from './formatpainterediting.js';
15
+ export { default as FormatPainterUI } from './formatpainterui.js';
16
+ export { default as PasteFormatCommand } from './pasteformatcommand.js';
17
+ export { default as CopyFormatCommand } from './copyformatcommand.js';
18
+ import './augmentation.js';
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import type { FormattingAttributesValues } from './formatpainterediting.js';
11
+ /**
12
+ * The command allows to paste the formatting onto the current {@link module:engine/model/selection~Selection model selection}.
13
+ *
14
+ * @extends module:core/command~Command
15
+ */
16
+ export default class PasteFormatCommand extends Command {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ constructor(editor: Editor);
21
+ /**
22
+ * Executes the command.
23
+ *
24
+ * @fires execute
25
+ */
26
+ execute(formattingToSet?: FormattingAttributesValues | undefined): void;
27
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module format-painter/utils
11
+ */
12
+ /**
13
+ * The name of the {@link module:format-painter/copyformatcommand~CopyFormatCommand} registered in the editor's command collection.
14
+ *
15
+ * @protected
16
+ */
17
+ export declare const COPY_FORMAT_COMMAND_NAME = "copyFormat";
18
+ /**
19
+ * The name of the {@link module:format-painter/pasteformatcommand~PasteFormatCommand} registered in the editor's command collection.
20
+ *
21
+ * @protected
22
+ */
23
+ export declare const PASTE_FORMAT_COMMAND_NAME = "pasteFormat";
24
+ /**
25
+ * The CSS class set on the editing roots during format painting by the {@link module:format-painter/formatpainterui~FormatPainterUI}.
26
+ *
27
+ * @protected
28
+ */
29
+ export declare const CURSOR_ACTIVE_CSS_CLASS = "ck-format-painter-active";
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "Paint formatting": "A toolbar button tooltip for the format painter feature.",
3
+ "Copy text formatting": "Keystroke description for assistive technologies: keystroke for copying text formatting. Example: 'Copy text formatting'.",
4
+ "Paste text formatting": "Keystroke description for assistive technologies: keystroke for paste text formatting. Example: 'Paste text formatting'.",
3
5
  "Continuous painting": "The label for the continuous painting checkbox in the format painter dropdown.",
4
6
  "Keeps the painter on after setting the formatting.": "The tooltip displayed for the continuous painting button explaining what it does.",
5
7
  "Formatting copied.": "A message read out by assistive technologies the moment the formatting is copied by the user.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-format-painter",
3
- "version": "41.3.0",
3
+ "version": "41.4.0-alpha.0",
4
4
  "description": "Format painter feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,14 +12,15 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "41.3.0",
16
- "ckeditor5-collaboration": "41.3.0"
15
+ "ckeditor5": "41.4.0-alpha.0",
16
+ "ckeditor5-collaboration": "41.4.0-alpha.0"
17
17
  },
18
18
  "license": "SEE LICENSE IN LICENSE.md",
19
19
  "author": "CKSource (http://cksource.com/)",
20
20
  "homepage": "https://ckeditor.com/ckeditor-5",
21
21
  "bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
22
22
  "files": [
23
+ "dist",
23
24
  "lang",
24
25
  "src/**/*.js",
25
26
  "src/**/*.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2de62b=_0x39a5;(function(_0x914a7,_0x343b94){const _0x2ee0d2=_0x39a5,_0x46664a=_0x914a7();while(!![]){try{const _0x2ec681=parseInt(_0x2ee0d2(0x168))/0x1+-parseInt(_0x2ee0d2(0x162))/0x2*(parseInt(_0x2ee0d2(0x172))/0x3)+parseInt(_0x2ee0d2(0x16f))/0x4+-parseInt(_0x2ee0d2(0x163))/0x5+parseInt(_0x2ee0d2(0x16a))/0x6*(parseInt(_0x2ee0d2(0x160))/0x7)+-parseInt(_0x2ee0d2(0x164))/0x8*(-parseInt(_0x2ee0d2(0x15f))/0x9)+-parseInt(_0x2ee0d2(0x166))/0xa;if(_0x2ec681===_0x343b94)break;else _0x46664a['push'](_0x46664a['shift']());}catch(_0x3e71ff){_0x46664a['push'](_0x46664a['shift']());}}}(_0x4538,0xdc082));function _0x39a5(_0x5ccd31,_0xac087c){const _0x453883=_0x4538();return _0x39a5=function(_0x39a552,_0x14c7c4){_0x39a552=_0x39a552-0x155;let _0x3f09a9=_0x453883[_0x39a552];return _0x3f09a9;},_0x39a5(_0x5ccd31,_0xac087c);}import{Command as _0x24ca14}from'ckeditor5/src/core.js';function _0x4538(){const _0x580f80=['change:value','2330712FjBPHB','schema','reset','3hbouBB','model','fromEntries','getAttributeProperties','value','refresh','getAttributes','get','editor','filter','_getFormattingAttributes','2115KGnmko','3047597mpdULe','document','2118692OkYbxd','8081125sqvNxm','5064dxlVoS','from','1012860UVkazn','isFormatting','1640561XezFCf','execute','18NrMorw','change:isEnabled','commands','selection'];_0x4538=function(){return _0x580f80;};return _0x4538();}import{PASTE_FORMAT_COMMAND_NAME as _0x1567ce}from'./utils.js';export default class r extends _0x24ca14{constructor(_0x217837){const _0x463aa4=_0x39a5;super(_0x217837),this[_0x463aa4(0x158)]=void 0x0,this['on'](_0x463aa4(0x16b),(_0x589555,_0x15d1f8,_0x56a7be)=>{const _0x252882=_0x463aa4;_0x56a7be||this[_0x252882(0x171)]();}),this['on'](_0x463aa4(0x16e),()=>_0x217837[_0x463aa4(0x16c)][_0x463aa4(0x15b)](_0x1567ce)[_0x463aa4(0x159)]());}[_0x2de62b(0x169)](){const _0x25da17=_0x2de62b;this[_0x25da17(0x158)]=this[_0x25da17(0x15e)]();}[_0x2de62b(0x171)](){const _0x1ae902=_0x2de62b;this[_0x1ae902(0x158)]=void 0x0;}[_0x2de62b(0x15e)](){const _0x4cdfc3=_0x2de62b,_0x9c6043=this[_0x4cdfc3(0x15c)][_0x4cdfc3(0x155)],_0x1f4428=_0x9c6043[_0x4cdfc3(0x161)][_0x4cdfc3(0x16d)];return Object[_0x4cdfc3(0x156)](Array[_0x4cdfc3(0x165)](_0x1f4428[_0x4cdfc3(0x15a)]())[_0x4cdfc3(0x15d)](([_0xdfbd1])=>_0x9c6043[_0x4cdfc3(0x170)][_0x4cdfc3(0x157)](_0xdfbd1)[_0x4cdfc3(0x167)]));}}
23
+ const _0x4578d0=_0x249c;(function(_0x5470d1,_0x12b797){const _0x55913d=_0x249c,_0x3c80bf=_0x5470d1();while(!![]){try{const _0xbbfdfc=-parseInt(_0x55913d(0x90))/0x1*(parseInt(_0x55913d(0x94))/0x2)+-parseInt(_0x55913d(0x87))/0x3*(-parseInt(_0x55913d(0x98))/0x4)+parseInt(_0x55913d(0x8b))/0x5*(-parseInt(_0x55913d(0x86))/0x6)+parseInt(_0x55913d(0x84))/0x7+parseInt(_0x55913d(0x99))/0x8*(-parseInt(_0x55913d(0x81))/0x9)+parseInt(_0x55913d(0x89))/0xa+parseInt(_0x55913d(0x8a))/0xb;if(_0xbbfdfc===_0x12b797)break;else _0x3c80bf['push'](_0x3c80bf['shift']());}catch(_0x1fbf1b){_0x3c80bf['push'](_0x3c80bf['shift']());}}}(_0x5c59,0x5be3a));function _0x5c59(){const _0x14f4d8=['5xZLwRu','fromEntries','reset','change:isEnabled','from','1TtaOAM','document','schema','filter','1445546cpSTOy','editor','get','value','696PJlzyu','48sOgHLD','isFormatting','getAttributes','getAttributeProperties','commands','model','refresh','300033ERYFpj','_getFormattingAttributes','selection','3424393mCcHdp','change:value','1148088qXsTIe','5937KfStRl','execute','4539140JoqVQG','2233682uPPamh'];_0x5c59=function(){return _0x14f4d8;};return _0x5c59();}import{Command as _0x2d699e}from'ckeditor5/src/core.js';function _0x249c(_0x52c5dd,_0x1f6f48){const _0x5c59f1=_0x5c59();return _0x249c=function(_0x249cce,_0x41c911){_0x249cce=_0x249cce-0x7f;let _0x116347=_0x5c59f1[_0x249cce];return _0x116347;},_0x249c(_0x52c5dd,_0x1f6f48);}import{PASTE_FORMAT_COMMAND_NAME as _0x46f1aa}from'./utils.js';export default class r extends _0x2d699e{constructor(_0x41e565){const _0x455d39=_0x249c;super(_0x41e565),this[_0x455d39(0x97)]=void 0x0,this['on'](_0x455d39(0x8e),(_0x238e0c,_0x2fc325,_0x50a067)=>{const _0x2f230c=_0x455d39;_0x50a067||this[_0x2f230c(0x8d)]();}),this['on'](_0x455d39(0x85),()=>_0x41e565[_0x455d39(0x9d)][_0x455d39(0x96)](_0x46f1aa)[_0x455d39(0x80)]());}[_0x4578d0(0x88)](){const _0x1bc47d=_0x4578d0;this[_0x1bc47d(0x97)]=this[_0x1bc47d(0x82)]();}[_0x4578d0(0x8d)](){const _0x457658=_0x4578d0;this[_0x457658(0x97)]=void 0x0;}[_0x4578d0(0x82)](){const _0x1cbff0=_0x4578d0,_0x314828=this[_0x1cbff0(0x95)][_0x1cbff0(0x7f)],_0x3c5406=_0x314828[_0x1cbff0(0x91)][_0x1cbff0(0x83)];return Object[_0x1cbff0(0x8c)](Array[_0x1cbff0(0x8f)](_0x3c5406[_0x1cbff0(0x9b)]())[_0x1cbff0(0x93)](([_0x1b2c15])=>_0x314828[_0x1cbff0(0x92)][_0x1cbff0(0x9c)](_0x1b2c15)[_0x1cbff0(0x9a)]));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3096b4=_0x4107;function _0x4107(_0x2c67c1,_0x1c7c9f){var _0x38f80e=_0x38f8();return _0x4107=function(_0x410724,_0x59c6f2){_0x410724=_0x410724-0x157;var _0xde8cd3=_0x38f80e[_0x410724];return _0xde8cd3;},_0x4107(_0x2c67c1,_0x1c7c9f);}function _0x38f8(){var _0x3af47e=['91lFaxuq','pluginName','1421735LitWGz','requires','810018tpCwIr','723WrlPFc','310654rHWphu','4159152qlKOtf','502424FLOOzz','852786QzyNPH','FormatPainter','160qiswqr','11236CIjria'];_0x38f8=function(){return _0x3af47e;};return _0x38f8();}(function(_0x435aa7,_0x12f4a6){var _0x5f768b=_0x4107,_0x3f6b3a=_0x435aa7();while(!![]){try{var _0x7eb5fe=parseInt(_0x5f768b(0x15c))/0x1+parseInt(_0x5f768b(0x15f))/0x2+parseInt(_0x5f768b(0x15b))/0x3*(-parseInt(_0x5f768b(0x162))/0x4)+parseInt(_0x5f768b(0x158))/0x5+parseInt(_0x5f768b(0x15d))/0x6+parseInt(_0x5f768b(0x163))/0x7*(parseInt(_0x5f768b(0x15e))/0x8)+parseInt(_0x5f768b(0x15a))/0x9*(-parseInt(_0x5f768b(0x161))/0xa);if(_0x7eb5fe===_0x12f4a6)break;else _0x3f6b3a['push'](_0x3f6b3a['shift']());}catch(_0x4d9878){_0x3f6b3a['push'](_0x3f6b3a['shift']());}}}(_0x38f8,0x65148));import{Plugin as _0x1f5b42}from'ckeditor5/src/core.js';import _0xeba7b0 from'./formatpainterediting.js';import _0x7cf4be from'./formatpainterui.js';export default class m extends _0x1f5b42{static get[_0x3096b4(0x159)](){return[_0xeba7b0,_0x7cf4be];}static get[_0x3096b4(0x157)](){var _0x53aa04=_0x3096b4;return _0x53aa04(0x160);}}
23
+ var _0x18db78=_0x17dd;function _0x17dd(_0x24c8fb,_0x2016ca){var _0x424fac=_0x424f();return _0x17dd=function(_0x17dde0,_0x2caa92){_0x17dde0=_0x17dde0-0x1bf;var _0x265de5=_0x424fac[_0x17dde0];return _0x265de5;},_0x17dd(_0x24c8fb,_0x2016ca);}(function(_0x4d39bf,_0x352665){var _0x6310df=_0x17dd,_0x59bcdb=_0x4d39bf();while(!![]){try{var _0x1e95cd=-parseInt(_0x6310df(0x1c4))/0x1+parseInt(_0x6310df(0x1c3))/0x2*(parseInt(_0x6310df(0x1cb))/0x3)+parseInt(_0x6310df(0x1c1))/0x4+-parseInt(_0x6310df(0x1c6))/0x5*(-parseInt(_0x6310df(0x1c0))/0x6)+parseInt(_0x6310df(0x1cc))/0x7*(-parseInt(_0x6310df(0x1bf))/0x8)+parseInt(_0x6310df(0x1ca))/0x9*(-parseInt(_0x6310df(0x1c2))/0xa)+-parseInt(_0x6310df(0x1c8))/0xb*(-parseInt(_0x6310df(0x1c7))/0xc);if(_0x1e95cd===_0x352665)break;else _0x59bcdb['push'](_0x59bcdb['shift']());}catch(_0x23f141){_0x59bcdb['push'](_0x59bcdb['shift']());}}}(_0x424f,0x2f344));import{Plugin as _0x16cded}from'ckeditor5/src/core.js';import _0x15d91c from'./formatpainterediting.js';import _0x337167 from'./formatpainterui.js';function _0x424f(){var _0x1eedb6=['FormatPainter','40KeCIbU','6gdssCL','1518988niWaBG','50tStEcR','604612WhywJK','243314GfXKBl','requires','720145nuSMXh','310740ASsNcs','88HrrkRo','pluginName','432369qyBKuA','3BFYsfs','498925sinZit'];_0x424f=function(){return _0x1eedb6;};return _0x424f();}export default class m extends _0x16cded{static get[_0x18db78(0x1c5)](){return[_0x15d91c,_0x337167];}static get[_0x18db78(0x1c9)](){var _0x26d945=_0x18db78;return _0x26d945(0x1cd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36f8(){const _0x58b0b2=['4503036CfwMKS','81lgEvgO','format-painter-invalid-license-key','editor','5lGbNDi','125032LJrDES','1462272jKiLLZ','11bTrWVn','pluginName','add','format-painter-trial-license-key-reached-limit-changes','info','FormatPainterEditing','get','commands','licenseKey','formatPainterLicenseKeyInvalid','_licenseKeyCheckInterval','formatPainterLicenseKeyValid','90DjIBLv','1343199AcBOCl','formatPainterLicenseKeyTrial','config','301IMGRaY','formatPainterLicenseKeyTrialLimit:operations','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20format\x20painter\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','158913IbBsve','5854qUqKeA','init','destroy','4233870VAwXwx'];_0x36f8=function(){return _0x58b0b2;};return _0x36f8();}const _0x6ca4e4=_0x20a8;(function(_0x1c1662,_0x49419f){const _0xc9ae5e=_0x20a8,_0xd39e3f=_0x1c1662();while(!![]){try{const _0x4fdb4e=parseInt(_0xc9ae5e(0x108))/0x1*(parseInt(_0xc9ae5e(0x103))/0x2)+-parseInt(_0xc9ae5e(0x11b))/0x3+-parseInt(_0xc9ae5e(0x10d))/0x4+parseInt(_0xc9ae5e(0x10b))/0x5*(parseInt(_0xc9ae5e(0x106))/0x6)+-parseInt(_0xc9ae5e(0xff))/0x7*(-parseInt(_0xc9ae5e(0x10c))/0x8)+-parseInt(_0xc9ae5e(0x102))/0x9*(-parseInt(_0xc9ae5e(0x11a))/0xa)+parseInt(_0xc9ae5e(0x10e))/0xb*(-parseInt(_0xc9ae5e(0x107))/0xc);if(_0x4fdb4e===_0x49419f)break;else _0xd39e3f['push'](_0xd39e3f['shift']());}catch(_0x101d5d){_0xd39e3f['push'](_0xd39e3f['shift']());}}}(_0x36f8,0x8edb2));import{Plugin as _0x59490c}from'ckeditor5/src/core.js';import{CKEditorError as _0x432a64}from'ckeditor5/src/utils.js';function _0x20a8(_0x2bb90b,_0x2e83d7){const _0x36f8c4=_0x36f8();return _0x20a8=function(_0x20a8e4,_0x37abd8){_0x20a8e4=_0x20a8e4-0xfe;let _0x308b58=_0x36f8c4[_0x20a8e4];return _0x308b58;},_0x20a8(_0x2bb90b,_0x2e83d7);}import _0x90e387 from'./copyformatcommand.js';import _0xd8e061 from'./pasteformatcommand.js';import{COPY_FORMAT_COMMAND_NAME as _0x40ac69,PASTE_FORMAT_COMMAND_NAME as _0x41693f}from'./utils.js';export default class o extends _0x59490c{static get[_0x6ca4e4(0x10f)](){const _0x45090d=_0x6ca4e4;return _0x45090d(0x113);}constructor(_0x12ee16){const _0x3d65a4=_0x6ca4e4;super(_0x12ee16),this[_0x3d65a4(0x118)]=null;}[_0x6ca4e4(0x104)](){const _0x42c039=_0x6ca4e4,_0x2786cd=this[_0x42c039(0x10a)];_0x2786cd[_0x42c039(0x115)][_0x42c039(0x110)](_0x40ac69,new _0x90e387(_0x2786cd)),_0x2786cd[_0x42c039(0x115)][_0x42c039(0x110)](_0x41693f,new _0xd8e061(_0x2786cd)),this[_0x42c039(0x116)]=_0x2786cd[_0x42c039(0xfe)][_0x42c039(0x114)](_0x42c039(0x116));const _0x32f74a=this[_0x42c039(0x10a)];this[_0x42c039(0x118)]=setInterval(()=>{const _0x2b45bb=_0x42c039;let _0x1341c9;for(const _0x93125e in _0x32f74a){const _0xfb620b=_0x93125e,_0x41f00e=_0x32f74a[_0xfb620b];if(_0x2b45bb(0x11c)===_0x41f00e||_0x2b45bb(0x117)===_0x41f00e||_0x2b45bb(0x119)===_0x41f00e||_0x2b45bb(0x100)===_0x41f00e){delete _0x32f74a[_0xfb620b],_0x1341c9=_0x41f00e;break;}}if(_0x2b45bb(0x117)===_0x1341c9)throw clearInterval(this[_0x2b45bb(0x118)]),new _0x432a64(_0x2b45bb(0x109),null);if(_0x2b45bb(0x11c)===_0x1341c9&&console[_0x2b45bb(0x112)](_0x2b45bb(0x101)),_0x2b45bb(0x100)===_0x1341c9)throw clearInterval(this[_0x2b45bb(0x118)]),new _0x432a64(_0x2b45bb(0x111),null);_0x2b45bb(0x119)===_0x1341c9&&clearInterval(this[_0x2b45bb(0x118)]);},0x3e8);}[_0x6ca4e4(0x105)](){const _0x4b06f5=_0x6ca4e4;this[_0x4b06f5(0x118)]&&clearInterval(this[_0x4b06f5(0x118)]);}}
23
+ const _0x48d4bd=_0x3860;(function(_0x65e2e5,_0x1bea4d){const _0xce7335=_0x3860,_0x36f194=_0x65e2e5();while(!![]){try{const _0x4cb0ba=parseInt(_0xce7335(0x143))/0x1*(parseInt(_0xce7335(0x147))/0x2)+parseInt(_0xce7335(0x157))/0x3*(-parseInt(_0xce7335(0x153))/0x4)+-parseInt(_0xce7335(0x15a))/0x5*(-parseInt(_0xce7335(0x14b))/0x6)+parseInt(_0xce7335(0x141))/0x7*(-parseInt(_0xce7335(0x152))/0x8)+parseInt(_0xce7335(0x148))/0x9+parseInt(_0xce7335(0x156))/0xa+-parseInt(_0xce7335(0x13c))/0xb*(parseInt(_0xce7335(0x14e))/0xc);if(_0x4cb0ba===_0x1bea4d)break;else _0x36f194['push'](_0x36f194['shift']());}catch(_0x4ba268){_0x36f194['push'](_0x36f194['shift']());}}}(_0x38bc,0xa6e48));import{Plugin as _0x52fea9}from'ckeditor5/src/core.js';import{CKEditorError as _0x315274}from'ckeditor5/src/utils.js';import _0x55d32b from'./copyformatcommand.js';import _0x1bccf from'./pasteformatcommand.js';function _0x3860(_0x57f5f2,_0x41c204){const _0x38bc6a=_0x38bc();return _0x3860=function(_0x3860f9,_0x49d30b){_0x3860f9=_0x3860f9-0x13c;let _0x29381f=_0x38bc6a[_0x3860f9];return _0x29381f;},_0x3860(_0x57f5f2,_0x41c204);}import{COPY_FORMAT_COMMAND_NAME as _0x3fea06,PASTE_FORMAT_COMMAND_NAME as _0xffc308}from'./utils.js';function _0x38bc(){const _0x5bf55c=['3071724hTXuSh','_licenseKeyCheckInterval','destroy','config','8eCsoTW','4HjMRmt','editor','format-painter-invalid-license-key','13282370WgBXfD','1973883zSxKrY','commands','formatPainterLicenseKeyTrialLimit:operations','2989295ISHFmS','77pApebw','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20format\x20painter\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','add','get','licenseKey','4899244xnVlil','formatPainterLicenseKeyValid','1012229QtrtJu','init','info','format-painter-trial-license-key-reached-limit-changes','2mdbJwK','8054631YVFmmx','FormatPainterEditing','formatPainterLicenseKeyInvalid','6BoKQrP','pluginName','formatPainterLicenseKeyTrial'];_0x38bc=function(){return _0x5bf55c;};return _0x38bc();}export default class o extends _0x52fea9{static get[_0x48d4bd(0x14c)](){const _0xd1b2b5=_0x48d4bd;return _0xd1b2b5(0x149);}constructor(_0x5ce64d){const _0x37e059=_0x48d4bd;super(_0x5ce64d),this[_0x37e059(0x14f)]=null;}[_0x48d4bd(0x144)](){const _0x36c3f4=_0x48d4bd,_0x2665e2=this[_0x36c3f4(0x154)];_0x2665e2[_0x36c3f4(0x158)][_0x36c3f4(0x13e)](_0x3fea06,new _0x55d32b(_0x2665e2)),_0x2665e2[_0x36c3f4(0x158)][_0x36c3f4(0x13e)](_0xffc308,new _0x1bccf(_0x2665e2)),this[_0x36c3f4(0x140)]=_0x2665e2[_0x36c3f4(0x151)][_0x36c3f4(0x13f)](_0x36c3f4(0x140));const _0x2033d3=this[_0x36c3f4(0x154)];this[_0x36c3f4(0x14f)]=setInterval(()=>{const _0x3c1b58=_0x36c3f4;let _0x236c0c;for(const _0x3b3162 in _0x2033d3){const _0x324041=_0x3b3162,_0x526373=_0x2033d3[_0x324041];if(_0x3c1b58(0x14d)===_0x526373||_0x3c1b58(0x14a)===_0x526373||_0x3c1b58(0x142)===_0x526373||_0x3c1b58(0x159)===_0x526373){delete _0x2033d3[_0x324041],_0x236c0c=_0x526373;break;}}if(_0x3c1b58(0x14a)===_0x236c0c)throw clearInterval(this[_0x3c1b58(0x14f)]),new _0x315274(_0x3c1b58(0x155),null);if(_0x3c1b58(0x14d)===_0x236c0c&&console[_0x3c1b58(0x145)](_0x3c1b58(0x13d)),_0x3c1b58(0x159)===_0x236c0c)throw clearInterval(this[_0x3c1b58(0x14f)]),new _0x315274(_0x3c1b58(0x146),null);_0x3c1b58(0x142)===_0x236c0c&&clearInterval(this[_0x3c1b58(0x14f)]);},0x3e8);}[_0x48d4bd(0x150)](){const _0x25e4eb=_0x48d4bd;this[_0x25e4eb(0x14f)]&&clearInterval(this[_0x25e4eb(0x14f)]);}}