@ckeditor/ckeditor5-merge-fields 0.0.0-nightly-20240801.0 → 43.0.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.
- package/build/merge-fields.js +2 -1
- package/dist/index.js +1 -1
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/lang/translations/en.po +66 -0
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/insertmergefieldcommand.js +1 -1
- package/src/mergefields.js +1 -1
- package/src/mergefieldsediting.js +1 -1
- package/src/mergefieldsui.js +1 -1
- package/src/previewmergefieldscommand.js +1 -1
- package/src/ui/mergefieldslistview.js +1 -1
- package/src/ui/mergefieldspanelview.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export default{'en':{'dictionary':{'Insert\x20merge\x20field':'Insert\x20merge\x20field','Merge\x20field':'Merge\x20field','Search\x20merge\x20field':'Search\x20merge\x20field','No\x20merge\x20fields\x20found':'No\x20merge\x20fields\x20found','No\x20merge\x20fields\x20available':'No\x20merge\x20fields\x20available','Merge\x20fields\x20preview':'Merge\x20fields\x20preview','Labels':'Labels','Default\x20values':'Default\x20values','WARNING_MISSING_DATA':'Value\x20not\x20found.','WARNING_MISSING_DEFAULT_VALUE':'Default\x20value\x20not\x20found.','WARNING_MISSING_DATA_USED_DEFAULT_VALUE':'Data\x20set\x20value\x20not\x20found.\x20Displaying\x20default\x20value\x20instead.','WARNING_MISSING_DEFINITION':'Merge\x20field\x20not\x20configured.'},'getPluralForm':null}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x284381=>{const {en:{dictionary:_0x1408f9,getPluralForm:_0x5606c2}}={'en':{'dictionary':{'Insert\x20merge\x20field':'Insert\x20merge\x20field','Merge\x20field':'Merge\x20field','Search\x20merge\x20field':'Search\x20merge\x20field','No\x20merge\x20fields\x20found':'No\x20merge\x20fields\x20found','No\x20merge\x20fields\x20available':'No\x20merge\x20fields\x20available','Merge\x20fields\x20preview':'Merge\x20fields\x20preview','Labels':'Labels','Default\x20values':'Default\x20values','WARNING_MISSING_DATA':'Value\x20not\x20found.','WARNING_MISSING_DEFAULT_VALUE':'Default\x20value\x20not\x20found.','WARNING_MISSING_DATA_USED_DEFAULT_VALUE':'Data\x20set\x20value\x20not\x20found.\x20Displaying\x20default\x20value\x20instead.','WARNING_MISSING_DEFINITION':'Merge\x20field\x20not\x20configured.'},'getPluralForm':null}};_0x284381['en']||={'dictionary':{},'getPluralForm':null},_0x284381['en']['dictionary']=Object['assign'](_0x284381['en']['dictionary'],_0x1408f9),_0x284381['en']['getPluralForm']=_0x5606c2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language: \n"
|
|
16
|
+
"Language-Team: \n"
|
|
17
|
+
"Plural-Forms: \n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "A toolbar button tooltip for the merge fields feature."
|
|
21
|
+
msgid "Insert merge field"
|
|
22
|
+
msgstr "Insert merge field"
|
|
23
|
+
|
|
24
|
+
msgctxt "A menu bar button label in the 'Insert' menu for inserting the merge field."
|
|
25
|
+
msgid "Merge field"
|
|
26
|
+
msgstr "Merge field"
|
|
27
|
+
|
|
28
|
+
msgctxt "The placeholder for the search input to filter the merge fields."
|
|
29
|
+
msgid "Search merge field"
|
|
30
|
+
msgstr "Search merge field"
|
|
31
|
+
|
|
32
|
+
msgctxt "The message displayed when the merge field search input does not match any merge fields."
|
|
33
|
+
msgid "No merge fields found"
|
|
34
|
+
msgstr "No merge fields found"
|
|
35
|
+
|
|
36
|
+
msgctxt "The message displayed when there are no merge fields available in the insert merge field dropdown."
|
|
37
|
+
msgid "No merge fields available"
|
|
38
|
+
msgstr "No merge fields available"
|
|
39
|
+
|
|
40
|
+
msgctxt "The title of the panel containing the available merge fields preview modes."
|
|
41
|
+
msgid "Merge fields preview"
|
|
42
|
+
msgstr "Merge fields preview"
|
|
43
|
+
|
|
44
|
+
msgctxt "A name for the merge fields preview option showing the merge fields labels."
|
|
45
|
+
msgid "Labels"
|
|
46
|
+
msgstr "Labels"
|
|
47
|
+
|
|
48
|
+
msgctxt "A name for the merge fields preview option showing the merge fields default values."
|
|
49
|
+
msgid "Default values"
|
|
50
|
+
msgstr "Default values"
|
|
51
|
+
|
|
52
|
+
msgctxt "A warning message displayed when the merge field data is missing."
|
|
53
|
+
msgid "WARNING_MISSING_DATA"
|
|
54
|
+
msgstr "Value not found."
|
|
55
|
+
|
|
56
|
+
msgctxt "A warning message displayed when the default value for a merge field is missing."
|
|
57
|
+
msgid "WARNING_MISSING_DEFAULT_VALUE"
|
|
58
|
+
msgstr "Default value not found."
|
|
59
|
+
|
|
60
|
+
msgctxt "A warning message displayed when the merge field data is missing and the default value is used."
|
|
61
|
+
msgid "WARNING_MISSING_DATA_USED_DEFAULT_VALUE"
|
|
62
|
+
msgstr "Data set value not found. Displaying default value instead."
|
|
63
|
+
|
|
64
|
+
msgctxt "A warning message displayed when the merge field definition is missing."
|
|
65
|
+
msgid "WARNING_MISSING_DEFINITION"
|
|
66
|
+
msgstr "Merge field not configured."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-merge-fields",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "43.0.0-alpha.0",
|
|
4
4
|
"description": "Merge fields feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "
|
|
16
|
-
"@ckeditor/ckeditor5-core": "
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "
|
|
15
|
+
"ckeditor5": "43.0.0-alpha.0",
|
|
16
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "43.0.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "43.0.0-alpha.0",
|
|
21
21
|
"lodash-es": "4.17.21"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26d4f3,_0x28e84f){var _0xef74cc=_0x19a5,_0x535541=_0x26d4f3();while(!![]){try{var _0x455b5d=parseInt(_0xef74cc(0xd5))/0x1+parseInt(_0xef74cc(0xce))/0x2*(-parseInt(_0xef74cc(0xd8))/0x3)+parseInt(_0xef74cc(0xcf))/0x4*(parseInt(_0xef74cc(0xd2))/0x5)+parseInt(_0xef74cc(0xd0))/0x6*(parseInt(_0xef74cc(0xd4))/0x7)+parseInt(_0xef74cc(0xd9))/0x8*(-parseInt(_0xef74cc(0xd7))/0x9)+parseInt(_0xef74cc(0xd6))/0xa+parseInt(_0xef74cc(0xd1))/0xb*(-parseInt(_0xef74cc(0xd3))/0xc);if(_0x455b5d===_0x28e84f)break;else _0x535541['push'](_0x535541['shift']());}catch(_0x3550ae){_0x535541['push'](_0x535541['shift']());}}}(_0x1708,0x48d42));export{default as MergeFields}from'./mergefields.js';function _0x19a5(_0x316776,_0x3db525){var _0x1708a5=_0x1708();return _0x19a5=function(_0x19a506,_0x52604c){_0x19a506=_0x19a506-0xce;var _0x520b34=_0x1708a5[_0x19a506];return _0x520b34;},_0x19a5(_0x316776,_0x3db525);}function _0x1708(){var _0x17de9c=['990rBtZqw','115341FIEOKn','23488qXsAwe','30yTJigW','183772GhEzFS','35868fUeTBn','11tbfOuw','55KeiekJ','5264796QfHQsq','427XfKhNK','179351sUorTE','5873220NSskEh'];_0x1708=function(){return _0x17de9c;};return _0x1708();}export{default as MergeFieldsEditing}from'./mergefieldsediting.js';export{default as MergeFieldsUI}from'./mergefieldsui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31b972=_0x5cb6;function _0x49eb(){const _0x1e80f4=['12320dxAdOa','change','execute','selection','5989145iFlEBa','getAttributes','283526QwRBfA','editor','isEnabled','refresh','model','createElement','checkAttribute','781592zoTyfM','document','deleteContent','mergeField','focus','schema','setAttribute','1251507KypSPi','8gcgEmo','string','insertContent','checkChild','226374tPkFSw','after','2934CeuqIs','189jnospq','564892KkwuXw'];_0x49eb=function(){return _0x1e80f4;};return _0x49eb();}(function(_0x427052,_0x200dd1){const _0x2077f9=_0x5cb6,_0x5615b4=_0x427052();while(!![]){try{const _0x986cb9=-parseInt(_0x2077f9(0xb4))/0x1+parseInt(_0x2077f9(0x9d))/0x2+-parseInt(_0x2077f9(0xab))/0x3*(parseInt(_0x2077f9(0xac))/0x4)+parseInt(_0x2077f9(0x9b))/0x5+-parseInt(_0x2077f9(0xb0))/0x6*(-parseInt(_0x2077f9(0xb3))/0x7)+parseInt(_0x2077f9(0xa4))/0x8+parseInt(_0x2077f9(0xb2))/0x9*(-parseInt(_0x2077f9(0xb5))/0xa);if(_0x986cb9===_0x200dd1)break;else _0x5615b4['push'](_0x5615b4['shift']());}catch(_0x4eebab){_0x5615b4['push'](_0x5615b4['shift']());}}}(_0x49eb,0x9ff08));function _0x5cb6(_0x5d5eda,_0x1232ed){const _0x49eb39=_0x49eb();return _0x5cb6=function(_0x5cb6c8,_0x2ec899){_0x5cb6c8=_0x5cb6c8-0x9b;let _0x1027f6=_0x49eb39[_0x5cb6c8];return _0x1027f6;},_0x5cb6(_0x5d5eda,_0x1232ed);}import{Command as _0x4c7b49}from'ckeditor5/src/core.js';export default class r extends _0x4c7b49{[_0x31b972(0xa0)](){const _0x20a57d=_0x31b972,_0x56f0ac=this[_0x20a57d(0x9e)][_0x20a57d(0xa1)],_0x5263a1=_0x56f0ac[_0x20a57d(0xa9)][_0x20a57d(0xaf)](_0x56f0ac[_0x20a57d(0xa5)][_0x20a57d(0xb8)][_0x20a57d(0xa8)],_0x20a57d(0xa7));this[_0x20a57d(0x9f)]=_0x5263a1;}[_0x31b972(0xb7)](_0x257997){const _0x9d5a19=_0x31b972;if(!_0x257997||_0x9d5a19(0xad)!=typeof _0x257997)return;const _0x27cb0e=this[_0x9d5a19(0x9e)][_0x9d5a19(0xa1)];_0x27cb0e[_0x9d5a19(0xb6)](_0x3199ff=>{const _0x5e9304=_0x9d5a19;_0x27cb0e[_0x5e9304(0xa6)](_0x27cb0e[_0x5e9304(0xa5)][_0x5e9304(0xb8)]);const _0x3773a=_0x3199ff[_0x5e9304(0xa2)](_0x5e9304(0xa7),{'id':_0x257997});for(const [_0x263074,_0x3644eb]of _0x27cb0e[_0x5e9304(0xa5)][_0x5e9304(0xb8)][_0x5e9304(0x9c)]())_0x27cb0e[_0x5e9304(0xa9)][_0x5e9304(0xa3)](_0x3773a,_0x263074)&&_0x3199ff[_0x5e9304(0xaa)](_0x263074,_0x3644eb,_0x3773a);_0x27cb0e[_0x5e9304(0xae)](_0x3773a,_0x27cb0e[_0x5e9304(0xa5)][_0x5e9304(0xb8)],0x0,{'setSelection':_0x5e9304(0xb1)});});}}
|
package/src/mergefields.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50e92d=_0x371c;(function(_0x3c3c0c,_0x411dc7){const _0x20f1d9=_0x371c,_0x4ad684=_0x3c3c0c();while(!![]){try{const _0x18d012=-parseInt(_0x20f1d9(0x1a3))/0x1*(-parseInt(_0x20f1d9(0x1a1))/0x2)+parseInt(_0x20f1d9(0x1a6))/0x3*(-parseInt(_0x20f1d9(0x1aa))/0x4)+-parseInt(_0x20f1d9(0x199))/0x5*(-parseInt(_0x20f1d9(0x1a5))/0x6)+parseInt(_0x20f1d9(0x19f))/0x7*(parseInt(_0x20f1d9(0x1a0))/0x8)+-parseInt(_0x20f1d9(0x194))/0x9+parseInt(_0x20f1d9(0x19c))/0xa*(parseInt(_0x20f1d9(0x19b))/0xb)+-parseInt(_0x20f1d9(0x19a))/0xc;if(_0x18d012===_0x411dc7)break;else _0x4ad684['push'](_0x4ad684['shift']());}catch(_0x2cdb9e){_0x4ad684['push'](_0x4ad684['shift']());}}}(_0x5f31,0x76c45));import{Plugin as _0x44f645}from'ckeditor5/src/core.js';import{Widget as _0x3726a0}from'ckeditor5/src/widget.js';function _0x5f31(){const _0x27fac5=['328LlaKgo','Mention','5521KWGKWE','getDataSetValues','12aoOxda','3rxmvBt','getMergeFieldValue','get','editor','2332720AWtcHL','plugins','2148795JknQSb','MergeFields','requires','getMergeFieldDefaultValue','pluginName','1647005XUxOKN','12725004ivoMIw','11JHEqLf','162490dLIiPp','getDefaultValues','getMergeFieldsIds','98QyCQVk','450472OfLkCi'];_0x5f31=function(){return _0x27fac5;};return _0x5f31();}import _0x40ceb from'./mergefieldsediting.js';import _0x2a2381 from'./mergefieldsui.js';function _0x371c(_0x4b38c1,_0x3c7181){const _0x5f31c7=_0x5f31();return _0x371c=function(_0x371cad,_0x2903c6){_0x371cad=_0x371cad-0x194;let _0x48bbde=_0x5f31c7[_0x371cad];return _0x48bbde;},_0x371c(_0x4b38c1,_0x3c7181);}export default class l extends _0x44f645{static get[_0x50e92d(0x196)](){const _0xc606c8=_0x50e92d;return[_0xc606c8(0x1a2),_0x40ceb,_0x2a2381,_0x3726a0];}static get[_0x50e92d(0x198)](){const _0x529315=_0x50e92d;return _0x529315(0x195);}[_0x50e92d(0x19e)](){const _0x13e078=_0x50e92d;return this[_0x13e078(0x1a9)][_0x13e078(0x1ab)][_0x13e078(0x1a8)](_0x40ceb)[_0x13e078(0x19e)]();}[_0x50e92d(0x19d)](){const _0x29e0c2=_0x50e92d,_0x56c781=this[_0x29e0c2(0x1a9)][_0x29e0c2(0x1ab)][_0x29e0c2(0x1a8)](_0x40ceb),_0x343791={},_0x14861f=this[_0x29e0c2(0x19e)]();for(const _0x16af5e of _0x14861f)_0x343791[_0x16af5e]=_0x56c781[_0x29e0c2(0x197)](_0x16af5e);return _0x343791;}[_0x50e92d(0x1a4)](_0x54d594,_0xb9138=!0x1){const _0x1058e9=_0x50e92d,_0x5e3b11=this[_0x1058e9(0x1a9)][_0x1058e9(0x1ab)][_0x1058e9(0x1a8)](_0x40ceb),_0x15733c={},_0x98fda=this[_0x1058e9(0x19e)]();for(const _0x2e52d0 of _0x98fda){let _0x179fa3=_0x5e3b11[_0x1058e9(0x1a7)](_0x2e52d0,_0x54d594);null===_0x179fa3&&_0xb9138&&(_0x179fa3=_0x5e3b11[_0x1058e9(0x197)](_0x2e52d0)),_0x15733c[_0x2e52d0]=_0x179fa3;}return _0x15733c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x65f55=_0x391a;(function(_0x32d401,_0x1f91f1){const _0x4c8d5a=_0x391a,_0x1f4a60=_0x32d401();while(!![]){try{const _0x40d111=-parseInt(_0x4c8d5a(0x103))/0x1*(parseInt(_0x4c8d5a(0xed))/0x2)+-parseInt(_0x4c8d5a(0x145))/0x3*(-parseInt(_0x4c8d5a(0x123))/0x4)+parseInt(_0x4c8d5a(0x105))/0x5+parseInt(_0x4c8d5a(0xc1))/0x6*(-parseInt(_0x4c8d5a(0x117))/0x7)+-parseInt(_0x4c8d5a(0x14c))/0x8*(parseInt(_0x4c8d5a(0x124))/0x9)+parseInt(_0x4c8d5a(0xb1))/0xa*(parseInt(_0x4c8d5a(0x11d))/0xb)+parseInt(_0x4c8d5a(0x15d))/0xc;if(_0x40d111===_0x1f91f1)break;else _0x1f4a60['push'](_0x1f4a60['shift']());}catch(_0xfbd17e){_0x1f4a60['push'](_0x1f4a60['shift']());}}}(_0x27ca,0xee153));import{toWidget as _0x18c3af,viewToModelPositionOutsideModelElement as _0x3fa356}from'ckeditor5/src/widget.js';function _0x391a(_0x2efc0d,_0x820730){const _0x27ca06=_0x27ca();return _0x391a=function(_0x391a9e,_0xbc7bc2){_0x391a9e=_0x391a9e-0xac;let _0x497ddf=_0x27ca06[_0x391a9e];return _0x497ddf;},_0x391a(_0x2efc0d,_0x820730);}import{Plugin as _0x408bc3}from'ckeditor5/src/core.js';import{IconView as _0x599648}from'ckeditor5/src/ui.js';import{isParagraphable as _0x3c4dc2,wrapInParagraph as _0x3fc3ec}from'ckeditor5/src/engine.js';import{CKEditorError as _0x19e5d5}from'ckeditor5/src/utils.js';import _0xb0859b from'./insertmergefieldcommand.js';function _0x27ca(){const _0x53f8c4=['push','schema','ck-merge-field','merge-fields-prefix-and-suffix-must-differ','add','label','render','$inlineObject','from','function','306271RxzcFZ','mergeFieldsData','4660980cUumUJ','concat','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','every','register','merge-fields-invalid-prefix-or-suffix','defaultValue','merge-fields-trial-license-key-reached-limit-changes','_validateConfig','_mergeFieldElements','model','rootName','_defineSchema','mergeFields.dataSets','conversion','type','differ','_defineConverters','1231013zHluHQ','_licenseKeyCheckInterval','mergeFields.definitions','modelRange','definitions','ck-merge-field\x20ck-merge-field_with-value','3674SeBysn','commands','change:previewMode','position','createElement','reduce','4GLvvHj','4392haIGmw','value','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','mergeFields.prefix','_validatePreviewMode','insert','init','previewMode','name','MergeFieldsEditing','delete','root','_mergeFieldPrefix','$graveyard','createUIElement','info','mergeFieldsLicenseKeyTrialLimit:operations','modelCursor','ck-merge-field__affix','$dataSets','parent','_refreshMergeFields','mergeFields.suffix','_getAvailablePreviewModes','merge-fields-invalid-id','editingDowncast','viewToModelPosition','availablePreviewModes','start','innerHTML','remove','has','\x20]+','655233bBXBao','batch','registerPostFixer','offsetSize','getShiftedBy','getDocumentMergeFieldsIds','destroy','23096tcavgr','view','_trackAddedMergeFields','merge-fields-invalid-license-key','upcast','bind','getAttributes','getItems','merge-fields-duplicate-merge-field-id','getAttribute','mergeFieldsLicenseKeyTrial','mergeFieldsLicenseKeyValid','elementToElement','nextSibling','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','merge-fields-duplicate-group-id','find','26586876fmlSaf','split','mergeField','editor','$defaultValues','for','data','_mergeFieldSuffix','startOffset','nodeAfter','next','filter','map','get','WARNING_MISSING_DATA','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','appendChild','setCustomProperty','ck-merge-field__icon','_prepareViewElementData','includes','createPositionAt','flattenedMergeFieldDefinitions','4730IwdDpn','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','matchAll','createRange','merge-fields-duplicate-data-set-id','getLabel','reverse','checkChild','WARNING_MISSING_DEFAULT_VALUE','change:data','forEach','slice','pluginName','dataDowncast','match','getChanges','18AVxhcF','mergeFields.initialPreviewMode','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.','mapper','createText','previewMergeFields','WARNING_MISSING_DEFINITION','define','set','hasClass','insertMergeField','_getDefaultDefinition','registerInlineObjectMatcher','getMergeFieldDefaultValue','dataPipeline:transparentRendering','text','listenTo','document','toDomElement','isLocal','mergeFieldsLicenseKeyInvalid','merge-fields-data-set-not-found','mergeFieldStatus','_getFlattenedMergeFieldDefinitions','span','licenseKey','getMergeFieldsIds','mergeFields.previewModes','join','_registerConversionPostFixer','createRangeIn','ck-merge-field__content','getMergeFieldValue','merge-fields-invalid-preview-mode-set','getDefinition','length','index','editing','_mergeFieldRegExp','insertObject','_createTextualMergeField','$labels','domConverter','values','4rIpGNb','groupId','merge-fields-invalid-preview-modes-configuration','createContainerElement','_createMergeFieldWidget','test','config','element','$text','reconvertItem','getChildren','consume'];_0x27ca=function(){return _0x53f8c4;};return _0x27ca();}import _0x2070e3 from'./previewmergefieldscommand.js';import _0x544cca from'../theme/icons/warning.svg';export default class o extends _0x408bc3{static get[_0x65f55(0xbd)](){const _0x5c8cb1=_0x65f55;return _0x5c8cb1(0x12d);}constructor(_0x38a87f){const _0x51655d=_0x65f55;super(_0x38a87f),this[_0x51655d(0xb0)]=[],_0x38a87f[_0x51655d(0xf3)][_0x51655d(0xc8)](_0x51655d(0xdc),[_0x51655d(0xea),_0x51655d(0x161),_0x51655d(0x137)]),_0x38a87f[_0x51655d(0xf3)][_0x51655d(0xc8)](_0x51655d(0x112),[]),_0x38a87f[_0x51655d(0xf3)][_0x51655d(0xc8)](_0x51655d(0x119),[]),_0x38a87f[_0x51655d(0xf3)][_0x51655d(0xc8)](_0x51655d(0x127),'{{'),_0x38a87f[_0x51655d(0xf3)][_0x51655d(0xc8)](_0x51655d(0x13a),'}}'),this[_0x51655d(0x130)]=_0x38a87f[_0x51655d(0xf3)][_0x51655d(0x16a)](_0x51655d(0x127)),this[_0x51655d(0x164)]=_0x38a87f[_0x51655d(0xf3)][_0x51655d(0x16a)](_0x51655d(0x13a)),this[_0x51655d(0xb0)]=this[_0x51655d(0xd8)](),this[_0x51655d(0x10d)]();const _0x5991e8='\x5c'+this[_0x51655d(0x130)][_0x51655d(0x15e)]('')[_0x51655d(0xdd)]('\x5c'),_0x379cbd='\x5c'+this[_0x51655d(0x164)][_0x51655d(0x15e)]('')[_0x51655d(0xdd)]('\x5c');this[_0x51655d(0xe7)]=new RegExp('('+_0x5991e8+'[^'+(_0x5991e8+_0x379cbd)+_0x51655d(0x144)+_0x379cbd+')','g'),this[_0x51655d(0x13f)]=this[_0x51655d(0x13b)]();const _0x2b4dfa=_0x38a87f[_0x51655d(0xf3)][_0x51655d(0x16a)](_0x51655d(0xc2))||this[_0x51655d(0x13f)][0x0];this[_0x51655d(0x128)](_0x2b4dfa),this[_0x51655d(0xc9)](_0x51655d(0x12b),_0x2b4dfa),this[_0x51655d(0x10e)]=new Set(),this[_0x51655d(0x118)]=null;}[_0x65f55(0x12a)](){const _0x4e72ee=_0x65f55,_0x5353d8=this[_0x4e72ee(0x160)];_0x5353d8[_0x4e72ee(0x11e)][_0x4e72ee(0xfd)](_0x4e72ee(0xcb),new _0xb0859b(_0x5353d8)),_0x5353d8[_0x4e72ee(0x11e)][_0x4e72ee(0xfd)](_0x4e72ee(0xc6),new _0x2070e3(_0x5353d8)),this[_0x4e72ee(0x111)](),this[_0x4e72ee(0x116)](),this['on'](_0x4e72ee(0x11f),(_0x4ee1c1,_0x194fd7,_0x314a1d)=>{const _0x1a35d4=_0x4e72ee;this[_0x1a35d4(0x128)](_0x314a1d),this[_0x1a35d4(0x139)]();}),this[_0x4e72ee(0xd1)](_0x5353d8[_0x4e72ee(0x10f)][_0x4e72ee(0xd2)],_0x4e72ee(0xba),()=>{const _0xce36e0=_0x4e72ee;this[_0xce36e0(0x14e)]();}),_0x5353d8[_0x4e72ee(0xe6)][_0x4e72ee(0xc4)]['on'](_0x4e72ee(0x13e),_0x3fa356(_0x5353d8[_0x4e72ee(0x10f)],_0x493f47=>_0x493f47[_0x4e72ee(0xca)](_0x4e72ee(0xfb)))),this[_0x4e72ee(0xde)](),_0x5353d8[_0x4e72ee(0xe6)][_0x4e72ee(0x14d)][_0x4e72ee(0xeb)][_0x4e72ee(0xcd)]({'name':_0x4e72ee(0xd9),'classes':[_0x4e72ee(0xfb)]}),this[_0x4e72ee(0xda)]=_0x5353d8[_0x4e72ee(0xf3)][_0x4e72ee(0x16a)](_0x4e72ee(0xda));const _0x3e661e=this[_0x4e72ee(0x160)];this[_0x4e72ee(0x118)]=setInterval(()=>{const _0x578f87=_0x4e72ee;let _0x2e94e7;for(const _0x55015c in _0x3e661e){const _0x53201e=_0x55015c,_0x1090f9=_0x3e661e[_0x53201e];if(_0x578f87(0x156)===_0x1090f9||_0x578f87(0xd5)===_0x1090f9||_0x578f87(0x157)===_0x1090f9||_0x578f87(0x134)===_0x1090f9){delete _0x3e661e[_0x53201e],_0x2e94e7=_0x1090f9;break;}}if(_0x578f87(0xd5)===_0x2e94e7)throw clearInterval(this[_0x578f87(0x118)]),new _0x19e5d5(_0x578f87(0x14f),null);if(_0x578f87(0x156)===_0x2e94e7&&console[_0x578f87(0x133)](_0x578f87(0xc3)),_0x578f87(0x134)===_0x2e94e7)throw clearInterval(this[_0x578f87(0x118)]),new _0x19e5d5(_0x578f87(0x10c),null);_0x578f87(0x157)===_0x2e94e7&&clearInterval(this[_0x578f87(0x118)]);},0x3e8);}[_0x65f55(0xb6)](_0x4cf5dd){const _0x36c1ab=_0x65f55,_0x575ce3=this[_0x36c1ab(0xe3)](_0x4cf5dd);return _0x575ce3[_0x36c1ab(0xfe)]||_0x575ce3['id'];}[_0x65f55(0xce)](_0x3ced54){const _0x1f1c0a=_0x65f55,_0x293a70=this[_0x1f1c0a(0xe3)](_0x3ced54);return void 0x0===_0x293a70[_0x1f1c0a(0x10b)]?null:_0x1f1c0a(0x102)==typeof _0x293a70[_0x1f1c0a(0x10b)]?_0x293a70[_0x1f1c0a(0x10b)](this[_0x1f1c0a(0x160)]):_0x293a70[_0x1f1c0a(0x10b)];}[_0x65f55(0xe1)](_0x1d36ee,_0xd449a6){const _0x4b28cf=_0x65f55,_0xfe7135=this[_0x4b28cf(0x160)][_0x4b28cf(0xf3)][_0x4b28cf(0x16a)](_0x4b28cf(0x112))[_0x4b28cf(0x15c)](_0x728452=>_0x728452['id']===_0xd449a6);if(!_0xfe7135)throw new _0x19e5d5(_0x4b28cf(0xd6),null);const _0x4598fe=this[_0x4b28cf(0xe3)](_0x1d36ee),_0x1580f0=_0xfe7135[_0x4b28cf(0xec)][_0x4598fe['id']];return void 0x0===_0x1580f0?null:_0x4b28cf(0x102)==typeof _0x1580f0?_0x1580f0(this[_0x4b28cf(0x160)]):_0x1580f0;}[_0x65f55(0x14a)](){const _0x26130c=_0x65f55,_0x31b189=new Set();for(const _0x3c2234 of this[_0x26130c(0x10e)])_0x26130c(0x131)!==_0x3c2234[_0x26130c(0x12f)][_0x26130c(0x110)]&&_0x31b189[_0x26130c(0xfd)](_0x3c2234[_0x26130c(0x155)]('id'));return Array[_0x26130c(0x101)](_0x31b189);}[_0x65f55(0xdb)](){const _0x52157e=_0x65f55,_0x5c9ab0=this[_0x52157e(0xb0)][_0x52157e(0x169)](_0xcb8b83=>_0xcb8b83['id']),_0x15b652=this[_0x52157e(0x14a)]();return Array[_0x52157e(0x101)](new Set([..._0x5c9ab0,..._0x15b652]));}[_0x65f55(0xe3)](_0x2ca9e4){const _0x25787e=_0x65f55;return this[_0x25787e(0xb0)][_0x25787e(0x15c)](_0x30f976=>_0x30f976['id']===_0x2ca9e4)||this[_0x25787e(0xcc)](_0x2ca9e4);}[_0x65f55(0x14b)](){const _0x391091=_0x65f55;this[_0x391091(0x118)]&&clearInterval(this[_0x391091(0x118)]);}[_0x65f55(0xd8)](){const _0x3b0a02=_0x65f55,_0x245392=new Set(),_0x1d5a4a=this[_0x3b0a02(0x160)];return _0x1d5a4a[_0x3b0a02(0xf3)][_0x3b0a02(0x16a)](_0x3b0a02(0x119))[_0x3b0a02(0x122)]((_0x41f8b0,_0x494030)=>{const _0x3d862a=_0x3b0a02;if(_0x3d862a(0xee)in _0x494030){if(_0x245392[_0x3d862a(0x143)](_0x494030[_0x3d862a(0xee)]))throw new _0x19e5d5(_0x3d862a(0x15b),_0x1d5a4a,{'duplicateId':_0x494030[_0x3d862a(0xee)]});_0x245392[_0x3d862a(0xfd)](_0x494030[_0x3d862a(0xee)]);}return _0x3d862a(0xee)in _0x494030?function(_0x29eb23,_0x3f4849){const _0x1e28a4=_0x3d862a;for(const _0x5acbb7 of _0x3f4849[_0x1e28a4(0x11b)])_0x29eb23=_0x29eb23[_0x1e28a4(0x106)](_0x5acbb7);return _0x29eb23;}[_0x3d862a(0x151)](_0x1d5a4a)(_0x41f8b0,_0x494030):_0x41f8b0[_0x3d862a(0x106)](_0x494030);},new Array());}[_0x65f55(0x10d)](){const _0x2ec784=_0x65f55,_0x346c0d=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x346c0d[_0x2ec784(0xf2)](this[_0x2ec784(0x130)])||!_0x346c0d[_0x2ec784(0xf2)](this[_0x2ec784(0x164)]))throw new _0x19e5d5(_0x2ec784(0x10a),this,{'prefix':this[_0x2ec784(0x130)],'suffix':this[_0x2ec784(0x164)]});const _0x39490a=/^[a-zA-Z0-9_.-]+$/,_0x1f554c=new Set();if(this[_0x2ec784(0xb0)][_0x2ec784(0x169)](_0x5af6f7=>{const _0x6e1782=_0x2ec784;if(!_0x39490a[_0x6e1782(0xf2)](_0x5af6f7['id']))throw new _0x19e5d5(_0x6e1782(0x13c),this,{'incorrectId':_0x5af6f7['id']});if(_0x1f554c[_0x6e1782(0x143)](_0x5af6f7['id']))throw new _0x19e5d5(_0x6e1782(0x154),this,{'duplicateId':_0x5af6f7['id']});_0x1f554c[_0x6e1782(0xfd)](_0x5af6f7['id']);}),this[_0x2ec784(0x130)]===this[_0x2ec784(0x164)])throw new _0x19e5d5(_0x2ec784(0xfc),this);const _0x1b4a23=this[_0x2ec784(0x160)][_0x2ec784(0xf3)][_0x2ec784(0x16a)](_0x2ec784(0xdc)),_0x4d4afd=[_0x2ec784(0xea),_0x2ec784(0x161),_0x2ec784(0x137)];if(!_0x1b4a23[_0x2ec784(0xe4)]||!_0x1b4a23[_0x2ec784(0x108)](_0x589bf3=>_0x4d4afd[_0x2ec784(0xae)](_0x589bf3)))throw new _0x19e5d5(_0x2ec784(0xef),this,{'invalidConfig':_0x1b4a23});const _0xfb82bb=new Set(),_0x2b5252=this[_0x2ec784(0x160)][_0x2ec784(0xf3)][_0x2ec784(0x16a)](_0x2ec784(0x112));for(const _0x39b8f2 of _0x2b5252){if(_0xfb82bb[_0x2ec784(0x143)](_0x39b8f2['id']))throw new _0x19e5d5(_0x2ec784(0xb5),this,{'duplicateId':_0x39b8f2['id']});_0xfb82bb[_0x2ec784(0xfd)](_0x39b8f2['id']);}}[_0x65f55(0x13b)](){const _0x26a7e5=_0x65f55,_0x2ae172=this[_0x26a7e5(0x160)][_0x26a7e5(0xf3)][_0x26a7e5(0x16a)](_0x26a7e5(0xdc)),_0xfb30f7=[];if(_0x2ae172[_0x26a7e5(0xae)](_0x26a7e5(0xea))&&_0xfb30f7[_0x26a7e5(0xf9)](_0x26a7e5(0xea)),_0x2ae172[_0x26a7e5(0xae)](_0x26a7e5(0x161))&&_0xfb30f7[_0x26a7e5(0xf9)](_0x26a7e5(0x161)),_0x2ae172[_0x26a7e5(0xae)](_0x26a7e5(0x137))){const _0x407f2e=this[_0x26a7e5(0x160)][_0x26a7e5(0xf3)][_0x26a7e5(0x16a)](_0x26a7e5(0x112));_0xfb30f7[_0x26a7e5(0xf9)](..._0x407f2e[_0x26a7e5(0x169)](_0x10f370=>_0x10f370['id']));}return _0xfb30f7;}[_0x65f55(0x111)](){const _0x30c9f2=_0x65f55;this[_0x30c9f2(0x160)][_0x30c9f2(0x10f)][_0x30c9f2(0xfa)][_0x30c9f2(0x109)](_0x30c9f2(0x15f),{'inheritAllFrom':_0x30c9f2(0x100),'allowAttributes':['id'],'allowWhere':_0x30c9f2(0xf5)});}[_0x65f55(0x116)](){const _0x25eaf9=_0x65f55,_0x179f5d=this[_0x25eaf9(0x160)][_0x25eaf9(0x113)];_0x179f5d[_0x25eaf9(0x162)](_0x25eaf9(0x150))[_0x25eaf9(0xfd)](_0x3d2d71=>{const _0x2b94d7=_0x25eaf9;_0x3d2d71['on'](_0x2b94d7(0xd0),(_0x4f1eed,_0x26ba3c,_0x4a2fda)=>{const _0x3fd41f=_0x2b94d7,{consumable:_0x1f53e9,writer:_0x4f0064,schema:_0x38e735}=_0x4a2fda,{viewItem:_0x3e6861}=_0x26ba3c;if(!_0x1f53e9[_0x3fd41f(0xf2)](_0x3e6861))return;const _0x1245bd=_0x3e6861[_0x3fd41f(0x163)][_0x3fd41f(0x15e)](this[_0x3fd41f(0xe7)])[_0x3fd41f(0x168)](_0x3324e5=>_0x3324e5);if(0x1!==_0x1245bd[_0x3fd41f(0xe4)]||_0x1245bd[0x0][_0x3fd41f(0xbf)](this[_0x3fd41f(0xe7)])){if(!_0x38e735[_0x3fd41f(0xb8)](_0x26ba3c[_0x3fd41f(0x135)],_0x3fd41f(0xf5))){if(!_0x3c4dc2(_0x26ba3c[_0x3fd41f(0x135)],_0x3fd41f(0xf5),_0x38e735))return;_0x26ba3c[_0x3fd41f(0x135)]=_0x3fc3ec(_0x26ba3c[_0x3fd41f(0x135)],_0x4f0064);}_0x1f53e9[_0x3fd41f(0xf8)](_0x3e6861);for(const _0x3de3c9 of _0x1245bd){const _0x4ac600=_0x26ba3c[_0x3fd41f(0x135)];let _0x3be7ed;if(_0x3de3c9[_0x3fd41f(0xbf)](this[_0x3fd41f(0xe7)])){const _0x279c43=_0x3de3c9[_0x3fd41f(0xbc)](this[_0x3fd41f(0x130)][_0x3fd41f(0xe4)],_0x3de3c9[_0x3fd41f(0xe4)]-this[_0x3fd41f(0x164)][_0x3fd41f(0xe4)]);_0x3be7ed=_0x4f0064[_0x3fd41f(0x121)](_0x3fd41f(0x15f),{'id':_0x279c43});}else _0x3be7ed=_0x4f0064[_0x3fd41f(0xc5)](_0x3de3c9);_0x4f0064[_0x3fd41f(0x129)](_0x3be7ed,_0x4ac600),_0x26ba3c[_0x3fd41f(0x135)]=_0x4ac600[_0x3fd41f(0x149)](_0x3be7ed[_0x3fd41f(0x148)]),_0x26ba3c[_0x3fd41f(0x11a)]=_0x4f0064[_0x3fd41f(0xb4)](_0x26ba3c[_0x3fd41f(0x11a)]?_0x26ba3c[_0x3fd41f(0x11a)][_0x3fd41f(0x140)]:_0x4ac600,_0x26ba3c[_0x3fd41f(0x135)]);}}});}),_0x179f5d[_0x25eaf9(0x162)](_0x25eaf9(0x13d))[_0x25eaf9(0x158)]({'model':_0x25eaf9(0x15f),'view':(_0x2252b2,{writer:_0xb52f75})=>this[_0x25eaf9(0xf1)](_0x2252b2,_0xb52f75)}),_0x179f5d[_0x25eaf9(0x162)](_0x25eaf9(0xbe))[_0x25eaf9(0x158)]({'model':_0x25eaf9(0x15f),'view':(_0x46300e,{writer:_0x2cbee4,options:_0x3e457e})=>this[_0x25eaf9(0xe9)](_0x46300e,_0x2cbee4,_0x3e457e[_0x25eaf9(0x104)])});}[_0x65f55(0xf1)](_0x44bf62,_0x19cf69){const _0xb4600e=_0x65f55,{label:_0x591a2f,classes:_0x5469aa,status:_0x3de0b0}=this[_0xb4600e(0xad)](_0x44bf62),_0x37f4b4=this[_0xb4600e(0x130)],_0x136d62=this[_0xb4600e(0x164)];let _0x4c8e2f;return _0xb4600e(0xea)===this[_0xb4600e(0x12b)]?_0x4c8e2f=_0x19cf69[_0xb4600e(0xf0)](_0xb4600e(0xd9),{'class':_0x5469aa},[_0x19cf69[_0xb4600e(0x132)](_0xb4600e(0xd9),{'class':_0xb4600e(0x136)},function(_0x1b2e47){const _0x1594cc=_0xb4600e,_0x241602=this[_0x1594cc(0xd3)](_0x1b2e47);return _0x241602[_0x1594cc(0x141)]=_0x37f4b4,_0x241602;}),_0x19cf69[_0xb4600e(0xf0)](_0xb4600e(0xd9),{'class':_0xb4600e(0xe0)},_0x19cf69[_0xb4600e(0xc5)](String(_0x591a2f))),_0x19cf69[_0xb4600e(0x132)](_0xb4600e(0xd9),{'class':_0xb4600e(0x136)},function(_0x45fdd1){const _0x25bcb9=_0xb4600e,_0x53324a=this[_0x25bcb9(0xd3)](_0x45fdd1);return _0x53324a[_0x25bcb9(0x141)]=_0x136d62,_0x53324a;})]):_0x3de0b0?(_0x4c8e2f=_0x19cf69[_0xb4600e(0xf0)](_0xb4600e(0xd9),{'class':_0x5469aa},[_0x19cf69[_0xb4600e(0xc5)](String(_0x591a2f)),_0x19cf69[_0xb4600e(0x132)](_0xb4600e(0xd9),{'class':_0xb4600e(0xac)},function(_0x325eba){const _0x14ef1f=_0xb4600e,_0x3c9dc8=this[_0x14ef1f(0xd3)](_0x325eba),_0x290559=new _0x599648();return _0x290559[_0x14ef1f(0xc9)]({'content':_0x544cca}),_0x290559[_0x14ef1f(0xff)](),_0x3c9dc8[_0x14ef1f(0x16d)](_0x290559[_0x14ef1f(0xf4)]),_0x3c9dc8;})]),_0x19cf69[_0xb4600e(0x16e)](_0xb4600e(0xd7),_0x3de0b0,_0x4c8e2f)):_0x4c8e2f=_0x19cf69[_0xb4600e(0xf0)](_0xb4600e(0xd9),{'class':_0x5469aa},[_0x19cf69[_0xb4600e(0xc5)](String(_0x591a2f))]),_0x19cf69[_0xb4600e(0x16e)](_0xb4600e(0x15f),!0x0,_0x4c8e2f),_0x18c3af(_0x4c8e2f,_0x19cf69);}[_0x65f55(0xad)](_0x5133cc){const _0xbe1a6e=_0x65f55,_0x4c2f4e=this[_0xbe1a6e(0xb0)][_0xbe1a6e(0x15c)](_0x4fbfcc=>_0x4fbfcc['id']===_0x5133cc[_0xbe1a6e(0x155)]('id'));if(!_0x4c2f4e)return _0xbe1a6e(0xea)===this[_0xbe1a6e(0x12b)]?{'label':_0x5133cc[_0xbe1a6e(0x155)]('id'),'classes':_0xbe1a6e(0xfb)}:{'label':_0x5133cc[_0xbe1a6e(0x155)]('id'),'classes':_0xbe1a6e(0x15a),'status':_0xbe1a6e(0xc7)};const _0x494caa=this[_0xbe1a6e(0xb6)](_0x4c2f4e['id']),_0x8ba074=this[_0xbe1a6e(0xce)](_0x5133cc[_0xbe1a6e(0x155)]('id'));if(_0xbe1a6e(0xea)===this[_0xbe1a6e(0x12b)])return{'label':_0x494caa,'classes':_0xbe1a6e(0xfb)};if(_0xbe1a6e(0x161)===this[_0xbe1a6e(0x12b)])return _0x8ba074?{'label':_0x8ba074,'classes':_0xbe1a6e(0x11c)}:{'label':_0x494caa,'classes':_0xbe1a6e(0xb2),'status':_0xbe1a6e(0xb9)};const _0xd31632=this[_0xbe1a6e(0x160)][_0xbe1a6e(0xf3)][_0xbe1a6e(0x16a)](_0xbe1a6e(0x112))[_0xbe1a6e(0x15c)](_0x3ab673=>_0x3ab673['id']===this[_0xbe1a6e(0x12b)])[_0xbe1a6e(0xec)][_0x4c2f4e['id']];return _0xd31632?{'label':_0xbe1a6e(0x102)==typeof _0xd31632?_0xd31632(this[_0xbe1a6e(0x160)]):_0xd31632,'classes':_0xbe1a6e(0x11c)}:_0x8ba074?{'label':_0x8ba074,'classes':_0xbe1a6e(0x107),'status':_0xbe1a6e(0x16c)}:{'label':_0x494caa,'classes':_0xbe1a6e(0x126),'status':_0xbe1a6e(0x16b)};}[_0x65f55(0xe9)](_0x42f3c4,_0x1e6782,_0x8de36f){const _0x1387f7=_0x65f55,_0x5cb5a0=_0x42f3c4[_0x1387f7(0x155)]('id'),_0x3ee117=_0x8de36f&&_0x8de36f[_0x5cb5a0]?_0x8de36f[_0x5cb5a0]:this[_0x1387f7(0x130)]+_0x5cb5a0+this[_0x1387f7(0x164)],_0x511599=_0x1e6782[_0x1387f7(0xc5)](_0x3ee117),_0x5fbe0b=_0x1e6782[_0x1387f7(0xf0)](_0x1387f7(0xd9));return _0x1e6782[_0x1387f7(0x16e)](_0x1387f7(0xcf),!0x0,_0x5fbe0b),_0x1e6782[_0x1387f7(0x129)](_0x1e6782[_0x1387f7(0xaf)](_0x5fbe0b,0x0),_0x511599),_0x5fbe0b;}[_0x65f55(0x139)](){const _0x5e9ecf=_0x65f55;this[_0x5e9ecf(0x10e)][_0x5e9ecf(0xbb)](_0xe0cfe3=>{const _0x4b68e2=_0x5e9ecf;_0x4b68e2(0x131)!==_0xe0cfe3[_0x4b68e2(0x12f)][_0x4b68e2(0x110)]&&this[_0x4b68e2(0x160)][_0x4b68e2(0xe6)][_0x4b68e2(0xf6)](_0xe0cfe3);});}[_0x65f55(0x128)](_0x290e49){const _0x5d7598=_0x65f55;if(!this[_0x5d7598(0x13f)][_0x5d7598(0xae)](_0x290e49))throw new _0x19e5d5(_0x5d7598(0xe2),this,{'availablePreviewModes':this[_0x5d7598(0x13f)],'previewMode':_0x290e49});}[_0x65f55(0x14e)](){const _0x4805f7=_0x65f55;for(const _0x218887 of this[_0x4805f7(0x160)][_0x4805f7(0x10f)][_0x4805f7(0xd2)][_0x4805f7(0x115)][_0x4805f7(0xc0)]({'includeChangesInGraveyard':!0x0})){if(_0x4805f7(0x129)!==_0x218887[_0x4805f7(0x114)]||_0x4805f7(0xf5)===_0x218887[_0x4805f7(0x12c)])continue;if(_0x4805f7(0x15f)===_0x218887[_0x4805f7(0x12c)]){this[_0x4805f7(0x10e)][_0x4805f7(0xfd)](_0x218887[_0x4805f7(0x120)][_0x4805f7(0x166)]);continue;}const _0x5d3fcb=this[_0x4805f7(0x160)][_0x4805f7(0x10f)][_0x4805f7(0xdf)](_0x218887[_0x4805f7(0x120)][_0x4805f7(0x166)]);for(const _0xec54ed of _0x5d3fcb[_0x4805f7(0x153)]())_0xec54ed['is'](_0x4805f7(0xf4),_0x4805f7(0x15f))&&this[_0x4805f7(0x10e)][_0x4805f7(0xfd)](_0xec54ed);}}[_0x65f55(0xde)](){const _0x2c915a=_0x65f55,_0x579bc6=this[_0x2c915a(0x160)];_0x579bc6[_0x2c915a(0x10f)][_0x2c915a(0xd2)][_0x2c915a(0x147)](_0x181d1d=>{const _0x24c6c4=_0x2c915a;if(!_0x181d1d[_0x24c6c4(0x146)][_0x24c6c4(0xd4)])return!0x1;const _0x352fae=[],_0x286773=new Set(),_0x4d1ba4=this[_0x24c6c4(0xe7)];let _0x23cdd1=!0x1;for(const _0x313844 of _0x579bc6[_0x24c6c4(0x10f)][_0x24c6c4(0xd2)][_0x24c6c4(0x115)][_0x24c6c4(0xc0)]())if(_0x24c6c4(0x129)===_0x313844[_0x24c6c4(0x114)]||_0x24c6c4(0x142)===_0x313844[_0x24c6c4(0x114)]){let _0x31f80a=_0x24c6c4(0xf5)==_0x313844[_0x24c6c4(0x12c)]?_0x313844[_0x24c6c4(0x120)][_0x24c6c4(0x138)]:_0x313844[_0x24c6c4(0x120)][_0x24c6c4(0x166)];if(!_0x31f80a)continue;_0x31f80a['is'](_0x24c6c4(0xf5))&&(_0x31f80a=_0x31f80a[_0x24c6c4(0x138)]),_0x12d6ff(_0x31f80a);}for(const _0x2e58b5 of _0x352fae[_0x24c6c4(0xb7)]()){const {match:_0x895bec,item:_0x290944}=_0x2e58b5,_0x30b8fd=_0x181d1d[_0x24c6c4(0xaf)](_0x290944,_0x895bec[_0x24c6c4(0xe5)]),_0x5a6fe2=_0x30b8fd[_0x24c6c4(0x149)](_0x895bec[0x0][_0x24c6c4(0xe4)]),_0x53b4bb=_0x181d1d[_0x24c6c4(0xb4)](_0x30b8fd,_0x5a6fe2),_0x4f7b8e=_0x895bec[0x0],_0x239460=_0x4f7b8e[_0x24c6c4(0xbc)](this[_0x24c6c4(0x130)][_0x24c6c4(0xe4)],_0x4f7b8e[_0x24c6c4(0xe4)]-this[_0x24c6c4(0x164)][_0x24c6c4(0xe4)]),_0x4cc145=_0x7c57f8(_0x53b4bb);_0x4cc145[_0x24c6c4(0xc9)]('id',_0x239460);const _0x529421=_0x181d1d[_0x24c6c4(0x121)](_0x24c6c4(0x15f),_0x4cc145);_0x579bc6[_0x24c6c4(0x10f)][_0x24c6c4(0xfa)][_0x24c6c4(0xb8)](_0x53b4bb[_0x24c6c4(0x140)],_0x24c6c4(0x15f))?_0x579bc6[_0x24c6c4(0x10f)][_0x24c6c4(0xe8)](_0x529421,_0x53b4bb):_0x181d1d[_0x24c6c4(0x142)](_0x53b4bb),_0x23cdd1=!0x0;}return _0x23cdd1;function _0x12d6ff(_0x2ee3bb){const _0x48d0e1=_0x24c6c4;let _0x4fec43='',_0x2cf348=0x0;if(!_0x286773[_0x48d0e1(0x143)](_0x2ee3bb))for(const _0x20da5a of _0x2ee3bb[_0x48d0e1(0xf7)]()){const _0x17b5e6=_0x20da5a[_0x48d0e1(0x159)];if(_0x20da5a['is'](_0x48d0e1(0xf5))&&(''===_0x4fec43&&_0x20da5a[_0x48d0e1(0x165)]&&(_0x2cf348=_0x20da5a[_0x48d0e1(0x165)]),_0x4fec43+=_0x20da5a[_0x48d0e1(0x163)]),!_0x17b5e6||_0x17b5e6['is'](_0x48d0e1(0xf4))){for(const _0x1c4585 of _0x4fec43[_0x48d0e1(0xb3)](_0x4d1ba4))_0x1c4585[_0x48d0e1(0xe5)]=_0x1c4585[_0x48d0e1(0xe5)]+_0x2cf348,_0x352fae[_0x48d0e1(0xf9)]({'match':_0x1c4585,'item':_0x2ee3bb});_0x286773[_0x48d0e1(0xfd)](_0x2ee3bb),_0x4fec43='';}_0x20da5a['is'](_0x48d0e1(0xf4))&&_0x12d6ff(_0x20da5a);}}function _0x7c57f8(_0x30e554){const _0x1ac26c=_0x24c6c4,_0x49cab5=_0x30e554[_0x1ac26c(0x153)](),_0x29471d=_0x49cab5[_0x1ac26c(0x167)]()[_0x1ac26c(0x125)],_0x21d15c=new Map(_0x29471d[_0x1ac26c(0x152)]());for(const _0x33240d of _0x49cab5)for(const [_0x1778e9,_0x12fd96]of _0x21d15c)_0x33240d[_0x1ac26c(0x155)](_0x1778e9)!==_0x12fd96&&_0x21d15c[_0x1ac26c(0x12e)](_0x1778e9);return _0x21d15c;}});}[_0x65f55(0xcc)](_0x2606e0){return{'id':_0x2606e0};}}
|
|
23
|
+
const _0x31fa99=_0x4e99;function _0x3ac7(){const _0x469bd2=['defaultValue','availablePreviewModes','ck-merge-field__icon','mergeFieldsLicenseKeyTrialLimit:operations','innerHTML','merge-fields-invalid-license-key','upcast','764SSzkhr','createUIElement','dataDowncast','value','_registerConversionPostFixer','from','_getDefaultDefinition','element','length','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','mergeFields.definitions','editing','startOffset','change:data','render','definitions','merge-fields-duplicate-data-set-id','getDocumentMergeFieldsIds','mergeFieldStatus','_validateConfig','has','mergeFields.prefix','start','appendChild','type','6laTHbe','reconvertItem','WARNING_MISSING_DEFINITION','every','2319219DHzEZS','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','_createTextualMergeField','checkChild','insert','\x20]+','reverse','$labels','mergeFields.initialPreviewMode','set','ck-merge-field\x20ck-merge-field_with-value','position','index','function','merge-fields-invalid-id','_defineConverters','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','2422432NIOMWz','merge-fields-invalid-preview-modes-configuration','_trackAddedMergeFields','domConverter','createPositionAt','previewMode','getChanges','getShiftedBy','mergeFields.previewModes','_mergeFieldPrefix','document','push','offsetSize','schema','mapper','mergeFields.dataSets','_getAvailablePreviewModes','_mergeFieldElements','groupId','getAttribute','createContainerElement','merge-fields-duplicate-group-id','_refreshMergeFields','getChildren','createElement','_mergeFieldSuffix','flattenedMergeFieldDefinitions','data','createRange','merge-fields-data-set-not-found','test','parent','toDomElement','for','getMergeFieldValue','createText','modelCursor','mergeFieldsData','ck-merge-field__content','forEach','insertMergeField','$dataSets','getMergeFieldsIds','4LQrocr','remove','_licenseKeyCheckInterval','3683743DwWXmg','merge-fields-prefix-and-suffix-must-differ','includes','listenTo','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','define','335029WacFxR','nextSibling','values','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','merge-fields-invalid-prefix-or-suffix','_getFlattenedMergeFieldDefinitions','view','mergeFieldsLicenseKeyInvalid','label','_mergeFieldRegExp','WARNING_MISSING_DATA','change:previewMode','merge-fields-duplicate-merge-field-id','text','get','next','map','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.','bind','getMergeFieldDefaultValue','mergeFieldsLicenseKeyValid','mergeFields.suffix','span','conversion','213UwGmdY','65395nvHrqb','merge-fields-trial-license-key-reached-limit-changes','getAttributes','WARNING_MISSING_DEFAULT_VALUE','mergeFieldsLicenseKeyTrial','_validatePreviewMode','commands','match','_prepareViewElementData','isLocal','init','matchAll','concat','delete','mergeField','insertObject','viewToModelPosition','add','_createMergeFieldWidget','$text','differ','getDefinition','destroy','setCustomProperty','hasClass','$defaultValues','createRangeIn','pluginName','consume','licenseKey','split','registerPostFixer','elementToElement','model','$inlineObject','dataPipeline:transparentRendering','find','10683970uzNJKc','previewMergeFields','rootName','slice','ck-merge-field','reduce','register','join','name','22giDnJA','registerInlineObjectMatcher','batch','getLabel','config','_defineSchema','info','editor','filter','root','editingDowncast','MergeFieldsEditing','modelRange','ck-merge-field__affix','getItems','$graveyard','nodeAfter','merge-fields-invalid-preview-mode-set'];_0x3ac7=function(){return _0x469bd2;};return _0x3ac7();}(function(_0x2c16f1,_0x3675ee){const _0x457897=_0x4e99,_0x298df0=_0x2c16f1();while(!![]){try{const _0x1ff019=parseInt(_0x457897(0x1f8))/0x1*(-parseInt(_0x457897(0x1ef))/0x2)+-parseInt(_0x457897(0x210))/0x3*(-parseInt(_0x457897(0x258))/0x4)+-parseInt(_0x457897(0x211))/0x5+parseInt(_0x457897(0x271))/0x6*(-parseInt(_0x457897(0x1f2))/0x7)+-parseInt(_0x457897(0x286))/0x8+-parseInt(_0x457897(0x275))/0x9+-parseInt(_0x457897(0x236))/0xa*(-parseInt(_0x457897(0x23f))/0xb);if(_0x1ff019===_0x3675ee)break;else _0x298df0['push'](_0x298df0['shift']());}catch(_0x33290b){_0x298df0['push'](_0x298df0['shift']());}}}(_0x3ac7,0x5ce3a));import{toWidget as _0x3ba111,viewToModelPositionOutsideModelElement as _0x3efa52}from'ckeditor5/src/widget.js';import{Plugin as _0x3e546a}from'ckeditor5/src/core.js';import{IconView as _0x5e0b57}from'ckeditor5/src/ui.js';import{isParagraphable as _0x2cb83e,wrapInParagraph as _0x4231a5}from'ckeditor5/src/engine.js';import{CKEditorError as _0x23cd23}from'ckeditor5/src/utils.js';import _0x3d7cdb from'./insertmergefieldcommand.js';function _0x4e99(_0x2744b7,_0xbe9e00){const _0x3ac76d=_0x3ac7();return _0x4e99=function(_0x4e991f,_0x19bd99){_0x4e991f=_0x4e991f-0x1d1;let _0x5c0da8=_0x3ac76d[_0x4e991f];return _0x5c0da8;},_0x4e99(_0x2744b7,_0xbe9e00);}import _0x4722a1 from'./previewmergefieldscommand.js';import _0x2a1d10 from'../theme/icons/warning.svg';export default class o extends _0x3e546a{static get[_0x31fa99(0x22c)](){const _0x14c735=_0x31fa99;return _0x14c735(0x24a);}constructor(_0x256de7){const _0x241c6e=_0x31fa99;super(_0x256de7),this[_0x241c6e(0x1de)]=[],_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x1f7)](_0x241c6e(0x28e),[_0x241c6e(0x27c),_0x241c6e(0x22a),_0x241c6e(0x1ed)]),_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x1f7)](_0x241c6e(0x1d3),[]),_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x1f7)](_0x241c6e(0x262),[]),_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x1f7)](_0x241c6e(0x26d),'{{'),_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x1f7)](_0x241c6e(0x20d),'}}'),this[_0x241c6e(0x28f)]=_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x206)](_0x241c6e(0x26d)),this[_0x241c6e(0x1dd)]=_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x206)](_0x241c6e(0x20d)),this[_0x241c6e(0x1de)]=this[_0x241c6e(0x1fd)](),this[_0x241c6e(0x26b)]();const _0x277ad1='\x5c'+this[_0x241c6e(0x28f)][_0x241c6e(0x22f)]('')[_0x241c6e(0x23d)]('\x5c'),_0x542851='\x5c'+this[_0x241c6e(0x1dd)][_0x241c6e(0x22f)]('')[_0x241c6e(0x23d)]('\x5c');this[_0x241c6e(0x201)]=new RegExp('('+_0x277ad1+'[^'+(_0x277ad1+_0x542851)+_0x241c6e(0x27a)+_0x542851+')','g'),this[_0x241c6e(0x252)]=this[_0x241c6e(0x1d4)]();const _0x4a0a22=_0x256de7[_0x241c6e(0x243)][_0x241c6e(0x206)](_0x241c6e(0x27d))||this[_0x241c6e(0x252)][0x0];this[_0x241c6e(0x216)](_0x4a0a22),this[_0x241c6e(0x27e)](_0x241c6e(0x28b),_0x4a0a22),this[_0x241c6e(0x1d5)]=new Set(),this[_0x241c6e(0x1f1)]=null;}[_0x31fa99(0x21b)](){const _0x2617ca=_0x31fa99,_0x23ab7c=this[_0x2617ca(0x246)];_0x23ab7c[_0x2617ca(0x217)][_0x2617ca(0x222)](_0x2617ca(0x1ec),new _0x3d7cdb(_0x23ab7c)),_0x23ab7c[_0x2617ca(0x217)][_0x2617ca(0x222)](_0x2617ca(0x237),new _0x4722a1(_0x23ab7c)),this[_0x2617ca(0x244)](),this[_0x2617ca(0x284)](),this['on'](_0x2617ca(0x203),(_0xd97721,_0x58f199,_0x4ef6aa)=>{const _0x5696ea=_0x2617ca;this[_0x5696ea(0x216)](_0x4ef6aa),this[_0x5696ea(0x1da)]();}),this[_0x2617ca(0x1f5)](_0x23ab7c[_0x2617ca(0x232)][_0x2617ca(0x290)],_0x2617ca(0x265),()=>{const _0x450181=_0x2617ca;this[_0x450181(0x288)]();}),_0x23ab7c[_0x2617ca(0x263)][_0x2617ca(0x1d2)]['on'](_0x2617ca(0x221),_0x3efa52(_0x23ab7c[_0x2617ca(0x232)],_0x508b8b=>_0x508b8b[_0x2617ca(0x229)](_0x2617ca(0x23a)))),this[_0x2617ca(0x25c)](),_0x23ab7c[_0x2617ca(0x263)][_0x2617ca(0x1fe)][_0x2617ca(0x289)][_0x2617ca(0x240)]({'name':_0x2617ca(0x20e),'classes':[_0x2617ca(0x23a)]}),this[_0x2617ca(0x22e)]=_0x23ab7c[_0x2617ca(0x243)][_0x2617ca(0x206)](_0x2617ca(0x22e));const _0x4dce60=this[_0x2617ca(0x246)];this[_0x2617ca(0x1f1)]=setInterval(()=>{const _0x2d6492=_0x2617ca;let _0x28669c;for(const _0x28561e in _0x4dce60){const _0x184cfe=_0x28561e,_0x52efa2=_0x4dce60[_0x184cfe];if(_0x2d6492(0x215)===_0x52efa2||_0x2d6492(0x1ff)===_0x52efa2||_0x2d6492(0x20c)===_0x52efa2||_0x2d6492(0x254)===_0x52efa2){delete _0x4dce60[_0x184cfe],_0x28669c=_0x52efa2;break;}}if(_0x2d6492(0x1ff)===_0x28669c)throw clearInterval(this[_0x2d6492(0x1f1)]),new _0x23cd23(_0x2d6492(0x256),null);if(_0x2d6492(0x215)===_0x28669c&&console[_0x2d6492(0x245)](_0x2d6492(0x209)),_0x2d6492(0x254)===_0x28669c)throw clearInterval(this[_0x2d6492(0x1f1)]),new _0x23cd23(_0x2d6492(0x212),null);_0x2d6492(0x20c)===_0x28669c&&clearInterval(this[_0x2d6492(0x1f1)]);},0x3e8);}[_0x31fa99(0x242)](_0x32a3d7){const _0x3d2fc6=_0x31fa99,_0x9113c=this[_0x3d2fc6(0x226)](_0x32a3d7);return _0x9113c[_0x3d2fc6(0x200)]||_0x9113c['id'];}[_0x31fa99(0x20b)](_0x875854){const _0x547c1d=_0x31fa99,_0x91186d=this[_0x547c1d(0x226)](_0x875854);return void 0x0===_0x91186d[_0x547c1d(0x251)]?null:_0x547c1d(0x282)==typeof _0x91186d[_0x547c1d(0x251)]?_0x91186d[_0x547c1d(0x251)](this[_0x547c1d(0x246)]):_0x91186d[_0x547c1d(0x251)];}[_0x31fa99(0x1e6)](_0x298438,_0x44b0f2){const _0x1d7836=_0x31fa99,_0x37755e=this[_0x1d7836(0x246)][_0x1d7836(0x243)][_0x1d7836(0x206)](_0x1d7836(0x1d3))[_0x1d7836(0x235)](_0x1700e3=>_0x1700e3['id']===_0x44b0f2);if(!_0x37755e)throw new _0x23cd23(_0x1d7836(0x1e1),null);const _0xdf95c4=this[_0x1d7836(0x226)](_0x298438),_0x99d9fc=_0x37755e[_0x1d7836(0x1fa)][_0xdf95c4['id']];return void 0x0===_0x99d9fc?null:_0x1d7836(0x282)==typeof _0x99d9fc?_0x99d9fc(this[_0x1d7836(0x246)]):_0x99d9fc;}[_0x31fa99(0x269)](){const _0xea50bc=_0x31fa99,_0x19479f=new Set();for(const _0x4310ef of this[_0xea50bc(0x1d5)])_0xea50bc(0x24e)!==_0x4310ef[_0xea50bc(0x248)][_0xea50bc(0x238)]&&_0x19479f[_0xea50bc(0x222)](_0x4310ef[_0xea50bc(0x1d7)]('id'));return Array[_0xea50bc(0x25d)](_0x19479f);}[_0x31fa99(0x1ee)](){const _0x5edc1c=_0x31fa99,_0x36ed52=this[_0x5edc1c(0x1de)][_0x5edc1c(0x208)](_0x314f93=>_0x314f93['id']),_0x37a8dd=this[_0x5edc1c(0x269)]();return Array[_0x5edc1c(0x25d)](new Set([..._0x36ed52,..._0x37a8dd]));}[_0x31fa99(0x226)](_0x144409){const _0x120723=_0x31fa99;return this[_0x120723(0x1de)][_0x120723(0x235)](_0x18ad14=>_0x18ad14['id']===_0x144409)||this[_0x120723(0x25e)](_0x144409);}[_0x31fa99(0x227)](){const _0x33568f=_0x31fa99;this[_0x33568f(0x1f1)]&&clearInterval(this[_0x33568f(0x1f1)]);}[_0x31fa99(0x1fd)](){const _0x3d786a=_0x31fa99,_0x3b26c3=new Set(),_0x457b14=this[_0x3d786a(0x246)];return _0x457b14[_0x3d786a(0x243)][_0x3d786a(0x206)](_0x3d786a(0x262))[_0x3d786a(0x23b)]((_0x514e70,_0x5ad495)=>{const _0x34456e=_0x3d786a;if(_0x34456e(0x1d6)in _0x5ad495){if(_0x3b26c3[_0x34456e(0x26c)](_0x5ad495[_0x34456e(0x1d6)]))throw new _0x23cd23(_0x34456e(0x1d9),_0x457b14,{'duplicateId':_0x5ad495[_0x34456e(0x1d6)]});_0x3b26c3[_0x34456e(0x222)](_0x5ad495[_0x34456e(0x1d6)]);}return _0x34456e(0x1d6)in _0x5ad495?function(_0x15566f,_0x2760e0){const _0x57fd41=_0x34456e;for(const _0x5bfaa6 of _0x2760e0[_0x57fd41(0x267)])_0x15566f=_0x15566f[_0x57fd41(0x21d)](_0x5bfaa6);return _0x15566f;}[_0x34456e(0x20a)](_0x457b14)(_0x514e70,_0x5ad495):_0x514e70[_0x34456e(0x21d)](_0x5ad495);},new Array());}[_0x31fa99(0x26b)](){const _0x577b5c=_0x31fa99,_0x470557=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x470557[_0x577b5c(0x1e2)](this[_0x577b5c(0x28f)])||!_0x470557[_0x577b5c(0x1e2)](this[_0x577b5c(0x1dd)]))throw new _0x23cd23(_0x577b5c(0x1fc),this,{'prefix':this[_0x577b5c(0x28f)],'suffix':this[_0x577b5c(0x1dd)]});const _0x13dbf2=/^[a-zA-Z0-9_.-]+$/,_0x475426=new Set();if(this[_0x577b5c(0x1de)][_0x577b5c(0x208)](_0x3d3073=>{const _0x174f1f=_0x577b5c;if(!_0x13dbf2[_0x174f1f(0x1e2)](_0x3d3073['id']))throw new _0x23cd23(_0x174f1f(0x283),this,{'incorrectId':_0x3d3073['id']});if(_0x475426[_0x174f1f(0x26c)](_0x3d3073['id']))throw new _0x23cd23(_0x174f1f(0x204),this,{'duplicateId':_0x3d3073['id']});_0x475426[_0x174f1f(0x222)](_0x3d3073['id']);}),this[_0x577b5c(0x28f)]===this[_0x577b5c(0x1dd)])throw new _0x23cd23(_0x577b5c(0x1f3),this);const _0x4a958c=this[_0x577b5c(0x246)][_0x577b5c(0x243)][_0x577b5c(0x206)](_0x577b5c(0x28e)),_0x5a683f=[_0x577b5c(0x27c),_0x577b5c(0x22a),_0x577b5c(0x1ed)];if(!_0x4a958c[_0x577b5c(0x260)]||!_0x4a958c[_0x577b5c(0x274)](_0xa4c626=>_0x5a683f[_0x577b5c(0x1f4)](_0xa4c626)))throw new _0x23cd23(_0x577b5c(0x287),this,{'invalidConfig':_0x4a958c});const _0x46d6a0=new Set(),_0x213e19=this[_0x577b5c(0x246)][_0x577b5c(0x243)][_0x577b5c(0x206)](_0x577b5c(0x1d3));for(const _0x1ab3c1 of _0x213e19){if(_0x46d6a0[_0x577b5c(0x26c)](_0x1ab3c1['id']))throw new _0x23cd23(_0x577b5c(0x268),this,{'duplicateId':_0x1ab3c1['id']});_0x46d6a0[_0x577b5c(0x222)](_0x1ab3c1['id']);}}[_0x31fa99(0x1d4)](){const _0x2f092e=_0x31fa99,_0x4b240d=this[_0x2f092e(0x246)][_0x2f092e(0x243)][_0x2f092e(0x206)](_0x2f092e(0x28e)),_0x4389fc=[];if(_0x4b240d[_0x2f092e(0x1f4)](_0x2f092e(0x27c))&&_0x4389fc[_0x2f092e(0x291)](_0x2f092e(0x27c)),_0x4b240d[_0x2f092e(0x1f4)](_0x2f092e(0x22a))&&_0x4389fc[_0x2f092e(0x291)](_0x2f092e(0x22a)),_0x4b240d[_0x2f092e(0x1f4)](_0x2f092e(0x1ed))){const _0x5f304f=this[_0x2f092e(0x246)][_0x2f092e(0x243)][_0x2f092e(0x206)](_0x2f092e(0x1d3));_0x4389fc[_0x2f092e(0x291)](..._0x5f304f[_0x2f092e(0x208)](_0x1b297d=>_0x1b297d['id']));}return _0x4389fc;}[_0x31fa99(0x244)](){const _0x58e369=_0x31fa99;this[_0x58e369(0x246)][_0x58e369(0x232)][_0x58e369(0x1d1)][_0x58e369(0x23c)](_0x58e369(0x21f),{'inheritAllFrom':_0x58e369(0x233),'allowAttributes':['id'],'allowWhere':_0x58e369(0x224)});}[_0x31fa99(0x284)](){const _0x3c175f=_0x31fa99,_0x187efa=this[_0x3c175f(0x246)][_0x3c175f(0x20f)];_0x187efa[_0x3c175f(0x1e5)](_0x3c175f(0x257))[_0x3c175f(0x222)](_0x4f7541=>{const _0x196bd=_0x3c175f;_0x4f7541['on'](_0x196bd(0x205),(_0x8f0c3,_0x3c1e67,_0xb2130f)=>{const _0x1951e2=_0x196bd,{consumable:_0x4ef90e,writer:_0x1b5538,schema:_0x32cb18}=_0xb2130f,{viewItem:_0x3ad424}=_0x3c1e67;if(!_0x4ef90e[_0x1951e2(0x1e2)](_0x3ad424))return;const _0x86e6f9=_0x3ad424[_0x1951e2(0x1df)][_0x1951e2(0x22f)](this[_0x1951e2(0x201)])[_0x1951e2(0x247)](_0x3ab6ba=>_0x3ab6ba);if(0x1!==_0x86e6f9[_0x1951e2(0x260)]||_0x86e6f9[0x0][_0x1951e2(0x218)](this[_0x1951e2(0x201)])){if(!_0x32cb18[_0x1951e2(0x278)](_0x3c1e67[_0x1951e2(0x1e8)],_0x1951e2(0x224))){if(!_0x2cb83e(_0x3c1e67[_0x1951e2(0x1e8)],_0x1951e2(0x224),_0x32cb18))return;_0x3c1e67[_0x1951e2(0x1e8)]=_0x4231a5(_0x3c1e67[_0x1951e2(0x1e8)],_0x1b5538);}_0x4ef90e[_0x1951e2(0x22d)](_0x3ad424);for(const _0x37f116 of _0x86e6f9){const _0x46da6f=_0x3c1e67[_0x1951e2(0x1e8)];let _0x212735;if(_0x37f116[_0x1951e2(0x218)](this[_0x1951e2(0x201)])){const _0xc03dc4=_0x37f116[_0x1951e2(0x239)](this[_0x1951e2(0x28f)][_0x1951e2(0x260)],_0x37f116[_0x1951e2(0x260)]-this[_0x1951e2(0x1dd)][_0x1951e2(0x260)]);_0x212735=_0x1b5538[_0x1951e2(0x1dc)](_0x1951e2(0x21f),{'id':_0xc03dc4});}else _0x212735=_0x1b5538[_0x1951e2(0x1e7)](_0x37f116);_0x1b5538[_0x1951e2(0x279)](_0x212735,_0x46da6f),_0x3c1e67[_0x1951e2(0x1e8)]=_0x46da6f[_0x1951e2(0x28d)](_0x212735[_0x1951e2(0x292)]),_0x3c1e67[_0x1951e2(0x24b)]=_0x1b5538[_0x1951e2(0x1e0)](_0x3c1e67[_0x1951e2(0x24b)]?_0x3c1e67[_0x1951e2(0x24b)][_0x1951e2(0x26e)]:_0x46da6f,_0x3c1e67[_0x1951e2(0x1e8)]);}}});}),_0x187efa[_0x3c175f(0x1e5)](_0x3c175f(0x249))[_0x3c175f(0x231)]({'model':_0x3c175f(0x21f),'view':(_0x282562,{writer:_0x557518})=>this[_0x3c175f(0x223)](_0x282562,_0x557518)}),_0x187efa[_0x3c175f(0x1e5)](_0x3c175f(0x25a))[_0x3c175f(0x231)]({'model':_0x3c175f(0x21f),'view':(_0x30b5c3,{writer:_0x44972b,options:_0x4c6fa7})=>this[_0x3c175f(0x277)](_0x30b5c3,_0x44972b,_0x4c6fa7[_0x3c175f(0x1e9)])});}[_0x31fa99(0x223)](_0x405300,_0x222071){const _0x1bc939=_0x31fa99,{label:_0x284558,classes:_0x353136,status:_0x589fbc}=this[_0x1bc939(0x219)](_0x405300),_0x292889=this[_0x1bc939(0x28f)],_0x4adc59=this[_0x1bc939(0x1dd)];let _0x5ce83a;return _0x1bc939(0x27c)===this[_0x1bc939(0x28b)]?_0x5ce83a=_0x222071[_0x1bc939(0x1d8)](_0x1bc939(0x20e),{'class':_0x353136},[_0x222071[_0x1bc939(0x259)](_0x1bc939(0x20e),{'class':_0x1bc939(0x24c)},function(_0x2bc13b){const _0x208431=_0x1bc939,_0x4e0945=this[_0x208431(0x1e4)](_0x2bc13b);return _0x4e0945[_0x208431(0x255)]=_0x292889,_0x4e0945;}),_0x222071[_0x1bc939(0x1d8)](_0x1bc939(0x20e),{'class':_0x1bc939(0x1ea)},_0x222071[_0x1bc939(0x1e7)](String(_0x284558))),_0x222071[_0x1bc939(0x259)](_0x1bc939(0x20e),{'class':_0x1bc939(0x24c)},function(_0x20950b){const _0x359dee=_0x1bc939,_0x21d61c=this[_0x359dee(0x1e4)](_0x20950b);return _0x21d61c[_0x359dee(0x255)]=_0x4adc59,_0x21d61c;})]):_0x589fbc?(_0x5ce83a=_0x222071[_0x1bc939(0x1d8)](_0x1bc939(0x20e),{'class':_0x353136},[_0x222071[_0x1bc939(0x1e7)](String(_0x284558)),_0x222071[_0x1bc939(0x259)](_0x1bc939(0x20e),{'class':_0x1bc939(0x253)},function(_0x1d4f73){const _0x5e6c40=_0x1bc939,_0x2c01b8=this[_0x5e6c40(0x1e4)](_0x1d4f73),_0x5c9697=new _0x5e0b57();return _0x5c9697[_0x5e6c40(0x27e)]({'content':_0x2a1d10}),_0x5c9697[_0x5e6c40(0x266)](),_0x2c01b8[_0x5e6c40(0x26f)](_0x5c9697[_0x5e6c40(0x25f)]),_0x2c01b8;})]),_0x222071[_0x1bc939(0x228)](_0x1bc939(0x26a),_0x589fbc,_0x5ce83a)):_0x5ce83a=_0x222071[_0x1bc939(0x1d8)](_0x1bc939(0x20e),{'class':_0x353136},[_0x222071[_0x1bc939(0x1e7)](String(_0x284558))]),_0x222071[_0x1bc939(0x228)](_0x1bc939(0x21f),!0x0,_0x5ce83a),_0x3ba111(_0x5ce83a,_0x222071);}[_0x31fa99(0x219)](_0x555a5a){const _0x55c66c=_0x31fa99,_0x18f2f4=this[_0x55c66c(0x1de)][_0x55c66c(0x235)](_0x13261a=>_0x13261a['id']===_0x555a5a[_0x55c66c(0x1d7)]('id'));if(!_0x18f2f4)return _0x55c66c(0x27c)===this[_0x55c66c(0x28b)]?{'label':_0x555a5a[_0x55c66c(0x1d7)]('id'),'classes':_0x55c66c(0x23a)}:{'label':_0x555a5a[_0x55c66c(0x1d7)]('id'),'classes':_0x55c66c(0x285),'status':_0x55c66c(0x273)};const _0x31d800=this[_0x55c66c(0x242)](_0x18f2f4['id']),_0x30fe63=this[_0x55c66c(0x20b)](_0x555a5a[_0x55c66c(0x1d7)]('id'));if(_0x55c66c(0x27c)===this[_0x55c66c(0x28b)])return{'label':_0x31d800,'classes':_0x55c66c(0x23a)};if(_0x55c66c(0x22a)===this[_0x55c66c(0x28b)])return _0x30fe63?{'label':_0x30fe63,'classes':_0x55c66c(0x27f)}:{'label':_0x31d800,'classes':_0x55c66c(0x261),'status':_0x55c66c(0x214)};const _0x185108=this[_0x55c66c(0x246)][_0x55c66c(0x243)][_0x55c66c(0x206)](_0x55c66c(0x1d3))[_0x55c66c(0x235)](_0xaf3a15=>_0xaf3a15['id']===this[_0x55c66c(0x28b)])[_0x55c66c(0x1fa)][_0x18f2f4['id']];return _0x185108?{'label':_0x55c66c(0x282)==typeof _0x185108?_0x185108(this[_0x55c66c(0x246)]):_0x185108,'classes':_0x55c66c(0x27f)}:_0x30fe63?{'label':_0x30fe63,'classes':_0x55c66c(0x1fb),'status':_0x55c66c(0x276)}:{'label':_0x31d800,'classes':_0x55c66c(0x1f6),'status':_0x55c66c(0x202)};}[_0x31fa99(0x277)](_0x480894,_0x27fd33,_0x21ac76){const _0x4bf676=_0x31fa99,_0x5b715e=_0x480894[_0x4bf676(0x1d7)]('id'),_0x2144e8=_0x21ac76&&_0x21ac76[_0x5b715e]?_0x21ac76[_0x5b715e]:this[_0x4bf676(0x28f)]+_0x5b715e+this[_0x4bf676(0x1dd)],_0x123f1d=_0x27fd33[_0x4bf676(0x1e7)](_0x2144e8),_0x517ec2=_0x27fd33[_0x4bf676(0x1d8)](_0x4bf676(0x20e));return _0x27fd33[_0x4bf676(0x228)](_0x4bf676(0x234),!0x0,_0x517ec2),_0x27fd33[_0x4bf676(0x279)](_0x27fd33[_0x4bf676(0x28a)](_0x517ec2,0x0),_0x123f1d),_0x517ec2;}[_0x31fa99(0x1da)](){const _0xcf6235=_0x31fa99;this[_0xcf6235(0x1d5)][_0xcf6235(0x1eb)](_0x3662d8=>{const _0x54072b=_0xcf6235;_0x54072b(0x24e)!==_0x3662d8[_0x54072b(0x248)][_0x54072b(0x238)]&&this[_0x54072b(0x246)][_0x54072b(0x263)][_0x54072b(0x272)](_0x3662d8);});}[_0x31fa99(0x216)](_0x1557fc){const _0x2e4718=_0x31fa99;if(!this[_0x2e4718(0x252)][_0x2e4718(0x1f4)](_0x1557fc))throw new _0x23cd23(_0x2e4718(0x250),this,{'availablePreviewModes':this[_0x2e4718(0x252)],'previewMode':_0x1557fc});}[_0x31fa99(0x288)](){const _0x136273=_0x31fa99;for(const _0xcba7ab of this[_0x136273(0x246)][_0x136273(0x232)][_0x136273(0x290)][_0x136273(0x225)][_0x136273(0x28c)]({'includeChangesInGraveyard':!0x0})){if(_0x136273(0x279)!==_0xcba7ab[_0x136273(0x270)]||_0x136273(0x224)===_0xcba7ab[_0x136273(0x23e)])continue;if(_0x136273(0x21f)===_0xcba7ab[_0x136273(0x23e)]){this[_0x136273(0x1d5)][_0x136273(0x222)](_0xcba7ab[_0x136273(0x280)][_0x136273(0x24f)]);continue;}const _0x4cb216=this[_0x136273(0x246)][_0x136273(0x232)][_0x136273(0x22b)](_0xcba7ab[_0x136273(0x280)][_0x136273(0x24f)]);for(const _0x3cae6a of _0x4cb216[_0x136273(0x24d)]())_0x3cae6a['is'](_0x136273(0x25f),_0x136273(0x21f))&&this[_0x136273(0x1d5)][_0x136273(0x222)](_0x3cae6a);}}[_0x31fa99(0x25c)](){const _0x29fb7e=_0x31fa99,_0x5473f5=this[_0x29fb7e(0x246)];_0x5473f5[_0x29fb7e(0x232)][_0x29fb7e(0x290)][_0x29fb7e(0x230)](_0x2f33ba=>{const _0x3d3d0d=_0x29fb7e;if(!_0x2f33ba[_0x3d3d0d(0x241)][_0x3d3d0d(0x21a)])return!0x1;const _0x29bd8a=[],_0x2ac2b0=new Set(),_0x35b96c=this[_0x3d3d0d(0x201)];let _0x4b8896=!0x1;for(const _0x23f452 of _0x5473f5[_0x3d3d0d(0x232)][_0x3d3d0d(0x290)][_0x3d3d0d(0x225)][_0x3d3d0d(0x28c)]())if(_0x3d3d0d(0x279)===_0x23f452[_0x3d3d0d(0x270)]||_0x3d3d0d(0x1f0)===_0x23f452[_0x3d3d0d(0x270)]){let _0xc80803=_0x3d3d0d(0x224)==_0x23f452[_0x3d3d0d(0x23e)]?_0x23f452[_0x3d3d0d(0x280)][_0x3d3d0d(0x1e3)]:_0x23f452[_0x3d3d0d(0x280)][_0x3d3d0d(0x24f)];if(!_0xc80803)continue;_0xc80803['is'](_0x3d3d0d(0x224))&&(_0xc80803=_0xc80803[_0x3d3d0d(0x1e3)]),_0x3438e2(_0xc80803);}for(const _0x5f2dc4 of _0x29bd8a[_0x3d3d0d(0x27b)]()){const {match:_0x459c7f,item:_0x5ebb88}=_0x5f2dc4,_0x1763e0=_0x2f33ba[_0x3d3d0d(0x28a)](_0x5ebb88,_0x459c7f[_0x3d3d0d(0x281)]),_0x35726c=_0x1763e0[_0x3d3d0d(0x28d)](_0x459c7f[0x0][_0x3d3d0d(0x260)]),_0x58d096=_0x2f33ba[_0x3d3d0d(0x1e0)](_0x1763e0,_0x35726c),_0x3fe9fe=_0x459c7f[0x0],_0x4b7120=_0x3fe9fe[_0x3d3d0d(0x239)](this[_0x3d3d0d(0x28f)][_0x3d3d0d(0x260)],_0x3fe9fe[_0x3d3d0d(0x260)]-this[_0x3d3d0d(0x1dd)][_0x3d3d0d(0x260)]),_0x272dbb=_0x3bcb75(_0x58d096);_0x272dbb[_0x3d3d0d(0x27e)]('id',_0x4b7120);const _0x11ff84=_0x2f33ba[_0x3d3d0d(0x1dc)](_0x3d3d0d(0x21f),_0x272dbb);_0x5473f5[_0x3d3d0d(0x232)][_0x3d3d0d(0x1d1)][_0x3d3d0d(0x278)](_0x58d096[_0x3d3d0d(0x26e)],_0x3d3d0d(0x21f))?_0x5473f5[_0x3d3d0d(0x232)][_0x3d3d0d(0x220)](_0x11ff84,_0x58d096):_0x2f33ba[_0x3d3d0d(0x1f0)](_0x58d096),_0x4b8896=!0x0;}return _0x4b8896;function _0x3438e2(_0x4c8fc0){const _0x4c272a=_0x3d3d0d;let _0x2186e1='',_0x20088e=0x0;if(!_0x2ac2b0[_0x4c272a(0x26c)](_0x4c8fc0))for(const _0x241df7 of _0x4c8fc0[_0x4c272a(0x1db)]()){const _0x184388=_0x241df7[_0x4c272a(0x1f9)];if(_0x241df7['is'](_0x4c272a(0x224))&&(''===_0x2186e1&&_0x241df7[_0x4c272a(0x264)]&&(_0x20088e=_0x241df7[_0x4c272a(0x264)]),_0x2186e1+=_0x241df7[_0x4c272a(0x1df)]),!_0x184388||_0x184388['is'](_0x4c272a(0x25f))){for(const _0x4b2756 of _0x2186e1[_0x4c272a(0x21c)](_0x35b96c))_0x4b2756[_0x4c272a(0x281)]=_0x4b2756[_0x4c272a(0x281)]+_0x20088e,_0x29bd8a[_0x4c272a(0x291)]({'match':_0x4b2756,'item':_0x4c8fc0});_0x2ac2b0[_0x4c272a(0x222)](_0x4c8fc0),_0x2186e1='';}_0x241df7['is'](_0x4c272a(0x25f))&&_0x3438e2(_0x241df7);}}function _0x3bcb75(_0x53560e){const _0x3724e3=_0x3d3d0d,_0x2d5af6=_0x53560e[_0x3724e3(0x24d)](),_0x34daea=_0x2d5af6[_0x3724e3(0x207)]()[_0x3724e3(0x25b)],_0x14758b=new Map(_0x34daea[_0x3724e3(0x213)]());for(const _0x4c7ddc of _0x2d5af6)for(const [_0x4e58e2,_0x283651]of _0x14758b)_0x4c7ddc[_0x3724e3(0x1d7)](_0x4e58e2)!==_0x283651&&_0x14758b[_0x3724e3(0x21e)](_0x4e58e2);return _0x14758b;}});}[_0x31fa99(0x25e)](_0x4c3390){return{'id':_0x4c3390};}}
|