@ckeditor/ckeditor5-format-painter 41.3.1 → 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.1",
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.1",
16
- "ckeditor5-collaboration": "41.3.1"
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 _0x56b6b8=_0x3eee;(function(_0x25b97d,_0x3dd204){const _0x5bccc4=_0x3eee,_0x2f9947=_0x25b97d();while(!![]){try{const _0x261371=-parseInt(_0x5bccc4(0x7e))/0x1+parseInt(_0x5bccc4(0x6c))/0x2*(-parseInt(_0x5bccc4(0x83))/0x3)+-parseInt(_0x5bccc4(0x6b))/0x4+-parseInt(_0x5bccc4(0x6f))/0x5*(parseInt(_0x5bccc4(0x70))/0x6)+parseInt(_0x5bccc4(0x7a))/0x7+parseInt(_0x5bccc4(0x75))/0x8+parseInt(_0x5bccc4(0x79))/0x9;if(_0x261371===_0x3dd204)break;else _0x2f9947['push'](_0x2f9947['shift']());}catch(_0x36f08c){_0x2f9947['push'](_0x2f9947['shift']());}}}(_0x487a,0xaa601));import{Command as _0x1bec42}from'ckeditor5/src/core.js';import{PASTE_FORMAT_COMMAND_NAME as _0x2d8174}from'./utils.js';function _0x487a(){const _0x1fdbc2=['4GgiiFK','change:isEnabled','refresh','60BLAqJG','11796bljIoG','_getFormattingAttributes','fromEntries','getAttributes','getAttributeProperties','1183656qNHrJX','model','from','reset','6439365RnAfAB','6346655QLuWCq','isFormatting','schema','execute','693632mGnbXc','value','document','change:value','get','496365NuzFfk','filter','selection','editor','commands','96464UUhvqy'];_0x487a=function(){return _0x1fdbc2;};return _0x487a();}function _0x3eee(_0x15f1d9,_0x6f4873){const _0x487ab8=_0x487a();return _0x3eee=function(_0x3eee04,_0x5a693b){_0x3eee04=_0x3eee04-0x6b;let _0x28fb75=_0x487ab8[_0x3eee04];return _0x28fb75;},_0x3eee(_0x15f1d9,_0x6f4873);}export default class r extends _0x1bec42{constructor(_0x45bfaa){const _0xb4ed28=_0x3eee;super(_0x45bfaa),this[_0xb4ed28(0x7f)]=void 0x0,this['on'](_0xb4ed28(0x6d),(_0x26f2cf,_0x4ae7e8,_0x2475f2)=>{const _0x519304=_0xb4ed28;_0x2475f2||this[_0x519304(0x78)]();}),this['on'](_0xb4ed28(0x81),()=>_0x45bfaa[_0xb4ed28(0x87)][_0xb4ed28(0x82)](_0x2d8174)[_0xb4ed28(0x6e)]());}[_0x56b6b8(0x7d)](){const _0x1b42ef=_0x56b6b8;this[_0x1b42ef(0x7f)]=this[_0x1b42ef(0x71)]();}[_0x56b6b8(0x78)](){const _0x1bc818=_0x56b6b8;this[_0x1bc818(0x7f)]=void 0x0;}[_0x56b6b8(0x71)](){const _0x40b369=_0x56b6b8,_0x2ca07a=this[_0x40b369(0x86)][_0x40b369(0x76)],_0x5e9a80=_0x2ca07a[_0x40b369(0x80)][_0x40b369(0x85)];return Object[_0x40b369(0x72)](Array[_0x40b369(0x77)](_0x5e9a80[_0x40b369(0x73)]())[_0x40b369(0x84)](([_0x131593])=>_0x2ca07a[_0x40b369(0x7c)][_0x40b369(0x74)](_0x131593)[_0x40b369(0x7b)]));}}
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 _0x214473=_0x4d88;(function(_0x4787e2,_0x338698){var _0x1557bd=_0x4d88,_0x21a960=_0x4787e2();while(!![]){try{var _0x4bade7=-parseInt(_0x1557bd(0x194))/0x1+parseInt(_0x1557bd(0x196))/0x2*(-parseInt(_0x1557bd(0x199))/0x3)+parseInt(_0x1557bd(0x195))/0x4*(parseInt(_0x1557bd(0x18d))/0x5)+-parseInt(_0x1557bd(0x18f))/0x6*(-parseInt(_0x1557bd(0x198))/0x7)+-parseInt(_0x1557bd(0x18c))/0x8*(-parseInt(_0x1557bd(0x190))/0x9)+-parseInt(_0x1557bd(0x197))/0xa+-parseInt(_0x1557bd(0x191))/0xb*(-parseInt(_0x1557bd(0x18e))/0xc);if(_0x4bade7===_0x338698)break;else _0x21a960['push'](_0x21a960['shift']());}catch(_0x5160dc){_0x21a960['push'](_0x21a960['shift']());}}}(_0x4123,0x99b7a));import{Plugin as _0x5020a1}from'ckeditor5/src/core.js';function _0x4d88(_0x7aa95c,_0x157d28){var _0x41233d=_0x4123();return _0x4d88=function(_0x4d8821,_0x1edfb5){_0x4d8821=_0x4d8821-0x18c;var _0x519e26=_0x41233d[_0x4d8821];return _0x519e26;},_0x4d88(_0x7aa95c,_0x157d28);}import _0x1d105f from'./formatpainterediting.js';import _0x3ee567 from'./formatpainterui.js';export default class m extends _0x5020a1{static get[_0x214473(0x19a)](){return[_0x1d105f,_0x3ee567];}static get[_0x214473(0x193)](){var _0x34fe38=_0x214473;return _0x34fe38(0x192);}}function _0x4123(){var _0x2e0b74=['992324bRbwdH','8QBlksv','60yGWYLA','11902350DBADjJ','7231LRITcL','112719APsdNF','requires','744232OexaRw','1277110AyBsjD','2753964TJHcQT','3054CpKyjx','81tkzSaS','99cxmFWm','FormatPainter','pluginName'];_0x4123=function(){return _0x2e0b74;};return _0x4123();}
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
- const _0x3e2f51=_0x5beb;function _0x3c97(){const _0x360b18=['destroy','licenseKey','config','formatPainterLicenseKeyInvalid','formatPainterLicenseKeyTrial','5076148NuMyQC','pluginName','FormatPainterEditing','_licenseKeyCheckInterval','3aNgrnA','664FzTVDa','1846oSgkEU','3635695AWxMoI','7001664NnvEhJ','info','editor','format-painter-invalid-license-key','formatPainterLicenseKeyTrialLimit:operations','get','add','commands','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.','2800992xsdnJp','17347167FwTYJA','993104gyMzyo','format-painter-trial-license-key-reached-limit-changes','init','formatPainterLicenseKeyValid'];_0x3c97=function(){return _0x360b18;};return _0x3c97();}(function(_0x37f4a5,_0x5ee522){const _0x441c20=_0x5beb,_0x1157ba=_0x37f4a5();while(!![]){try{const _0x3784cd=-parseInt(_0x441c20(0x18c))/0x1*(parseInt(_0x441c20(0x18b))/0x2)+-parseInt(_0x441c20(0x18a))/0x3*(parseInt(_0x441c20(0x186))/0x4)+-parseInt(_0x441c20(0x18d))/0x5+parseInt(_0x441c20(0x197))/0x6+parseInt(_0x441c20(0x199))/0x7+parseInt(_0x441c20(0x18e))/0x8+parseInt(_0x441c20(0x198))/0x9;if(_0x3784cd===_0x5ee522)break;else _0x1157ba['push'](_0x1157ba['shift']());}catch(_0x12734e){_0x1157ba['push'](_0x1157ba['shift']());}}}(_0x3c97,0xc3e17));import{Plugin as _0x24d143}from'ckeditor5/src/core.js';import{CKEditorError as _0xe68ee0}from'ckeditor5/src/utils.js';import _0x36c3a8 from'./copyformatcommand.js';import _0x5e5301 from'./pasteformatcommand.js';import{COPY_FORMAT_COMMAND_NAME as _0x52537b,PASTE_FORMAT_COMMAND_NAME as _0x5c387e}from'./utils.js';function _0x5beb(_0x32b5dd,_0x56df6f){const _0x3c971a=_0x3c97();return _0x5beb=function(_0x5beb2c,_0x2ccc28){_0x5beb2c=_0x5beb2c-0x183;let _0x175346=_0x3c971a[_0x5beb2c];return _0x175346;},_0x5beb(_0x32b5dd,_0x56df6f);}export default class o extends _0x24d143{static get[_0x3e2f51(0x187)](){const _0x18f511=_0x3e2f51;return _0x18f511(0x188);}constructor(_0x62deff){const _0x47e104=_0x3e2f51;super(_0x62deff),this[_0x47e104(0x189)]=null;}[_0x3e2f51(0x19b)](){const _0x4c998c=_0x3e2f51,_0x281fce=this[_0x4c998c(0x190)];_0x281fce[_0x4c998c(0x195)][_0x4c998c(0x194)](_0x52537b,new _0x36c3a8(_0x281fce)),_0x281fce[_0x4c998c(0x195)][_0x4c998c(0x194)](_0x5c387e,new _0x5e5301(_0x281fce)),this[_0x4c998c(0x19e)]=_0x281fce[_0x4c998c(0x183)][_0x4c998c(0x193)](_0x4c998c(0x19e));const _0x1db308=this[_0x4c998c(0x190)];this[_0x4c998c(0x189)]=setInterval(()=>{const _0x65218e=_0x4c998c;let _0x596bc8;for(const _0x45e819 in _0x1db308){const _0x24412e=_0x45e819,_0x3b0571=_0x1db308[_0x24412e];if(_0x65218e(0x185)===_0x3b0571||_0x65218e(0x184)===_0x3b0571||_0x65218e(0x19c)===_0x3b0571||_0x65218e(0x192)===_0x3b0571){delete _0x1db308[_0x24412e],_0x596bc8=_0x3b0571;break;}}if(_0x65218e(0x184)===_0x596bc8)throw clearInterval(this[_0x65218e(0x189)]),new _0xe68ee0(_0x65218e(0x191),null);if(_0x65218e(0x185)===_0x596bc8&&console[_0x65218e(0x18f)](_0x65218e(0x196)),_0x65218e(0x192)===_0x596bc8)throw clearInterval(this[_0x65218e(0x189)]),new _0xe68ee0(_0x65218e(0x19a),null);_0x65218e(0x19c)===_0x596bc8&&clearInterval(this[_0x65218e(0x189)]);},0x3e8);}[_0x3e2f51(0x19d)](){const _0xd36c1=_0x3e2f51;this[_0xd36c1(0x189)]&&clearInterval(this[_0xd36c1(0x189)]);}}
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)]);}}