@ckeditor/ckeditor5-merge-fields 43.1.0-alpha.6 → 43.1.0-alpha.8
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 +1 -1
- package/dist/index-editor.css +23 -14
- package/dist/index.css +28 -15
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +0 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/insertmergefieldblockcommand.js +1 -1
- package/src/insertmergefieldcommand.js +1 -1
- package/src/mergefields.js +1 -1
- package/src/mergefieldsconfig.d.ts +65 -8
- 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
- package/theme/mergefields.css +29 -12
|
@@ -82,17 +82,74 @@ export interface MergeFieldsConfig {
|
|
|
82
82
|
*/
|
|
83
83
|
initialPreviewMode?: string;
|
|
84
84
|
/**
|
|
85
|
-
* A flag indicating whether the feature
|
|
86
|
-
* {@link ~DataSetDefinition#values data set values} and {@link ~MergeFieldDefinition#defaultValue default values}
|
|
85
|
+
* A flag indicating whether the feature preview mode should interpret merge fields
|
|
86
|
+
* {@link ~DataSetDefinition#values data set values} and {@link ~MergeFieldDefinition#defaultValue default values} as HTML strings and
|
|
87
|
+
* render them as HTML.
|
|
87
88
|
*
|
|
88
|
-
* When set to `true`, the
|
|
89
|
+
* When set to `true`, the merge field value will be interpreted and rendered as HTML. For example, `'<img src="image.jpg" />'` merge
|
|
90
|
+
* field value will be previewed as the image located at given `src`.
|
|
89
91
|
*
|
|
90
|
-
* When set to `false`, merge
|
|
92
|
+
* When set to `false`, the merge field value will be interpreted as a regular text. For example, `'<img src="image.jpg" />'` will be
|
|
93
|
+
* displayed exactly as defined, meaning that text `<img src="image.jpg" />` will be displayed instead of an image.
|
|
91
94
|
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
95
|
+
* By default, it is set to `false`.
|
|
96
|
+
*
|
|
97
|
+
* Read more about the security of previewing merge fields HTML values in the
|
|
98
|
+
* {@glink features/merge-fields#using-html-tags-in-merge-fields-values Merge fields feature} documentation.
|
|
99
|
+
*
|
|
100
|
+
* @default false
|
|
94
101
|
*/
|
|
95
102
|
previewHtmlValues?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Callback used to sanitize the HTML used in merge fields values when they are previewed inside the editor.
|
|
105
|
+
*
|
|
106
|
+
* We strongly recommend overwriting the default function to avoid XSS vulnerabilities.
|
|
107
|
+
*
|
|
108
|
+
* Read more about the security aspect of this feature in {@glink features/merge-fields#using-html-tags-in-merge-fields-values Merge
|
|
109
|
+
* fields feature} documentation.
|
|
110
|
+
*
|
|
111
|
+
* The function receives the input HTML (as a string), and should return an object
|
|
112
|
+
* that matches the {@link module:merge-fields/mergefieldsconfig~MergeFieldsSanitizeOutput} interface.
|
|
113
|
+
*
|
|
114
|
+
* ```ts
|
|
115
|
+
* ClassicEditor
|
|
116
|
+
* .create( editorElement, {
|
|
117
|
+
* mergeFields: {
|
|
118
|
+
* previewHtmlValues: true,
|
|
119
|
+
* sanitizeHtml( inputHtml ) {
|
|
120
|
+
* // Strip unsafe elements and attributes, e.g.:
|
|
121
|
+
* // the `<script>` elements and `on*` attributes.
|
|
122
|
+
* const outputHtml = sanitize( inputHtml );
|
|
123
|
+
*
|
|
124
|
+
* return {
|
|
125
|
+
* html: outputHtml,
|
|
126
|
+
* // true or false depending on whether the sanitizer stripped anything.
|
|
127
|
+
* hasChanged: ...
|
|
128
|
+
* };
|
|
129
|
+
* },
|
|
130
|
+
* }
|
|
131
|
+
* } )
|
|
132
|
+
* .then( ... )
|
|
133
|
+
* .catch( ... );
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* **Note:** The function is used only when the feature
|
|
137
|
+
* {@link module:merge-fields/mergefieldsconfig~MergeFieldsConfig#previewHtmlValues is configured to render previews}.
|
|
138
|
+
*/
|
|
139
|
+
sanitizeHtml?: (html: string) => MergeFieldsSanitizeOutput;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* An object returned by the {@link module:merge-fields/mergefieldsconfig~MergeFieldsConfig#sanitizeHtml} function.
|
|
143
|
+
*/
|
|
144
|
+
export interface MergeFieldsSanitizeOutput {
|
|
145
|
+
/**
|
|
146
|
+
* An output (safe) HTML that will be inserted into the {@glink framework/architecture/editing-engine editing view}.
|
|
147
|
+
*/
|
|
148
|
+
html: string;
|
|
149
|
+
/**
|
|
150
|
+
* A flag that indicates whether the output HTML is different than the input value.
|
|
151
|
+
*/
|
|
152
|
+
hasChanged: boolean;
|
|
96
153
|
}
|
|
97
154
|
export type GroupDefinition = {
|
|
98
155
|
/**
|
|
@@ -146,7 +203,7 @@ export type MergeFieldDefinition = {
|
|
|
146
203
|
/**
|
|
147
204
|
* Default value of the merge field.
|
|
148
205
|
*
|
|
149
|
-
* It is used if a value for given merge field has not been provided in a data set.
|
|
206
|
+
* It is used if a value for given merge field has not been provided in a data set and in the default values preview mode.
|
|
150
207
|
*/
|
|
151
208
|
defaultValue?: MergeFieldDataSetValue;
|
|
152
209
|
};
|
|
@@ -158,7 +215,7 @@ export type DataSetDefinition = {
|
|
|
158
215
|
/**
|
|
159
216
|
* A human-readable label of the data set.
|
|
160
217
|
*/
|
|
161
|
-
label
|
|
218
|
+
label?: string;
|
|
162
219
|
/**
|
|
163
220
|
* The data to be displayed in the editor in place of merge fields when the data set is previewed.
|
|
164
221
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2c729c=_0x3ebb;(function(_0xa266cb,_0x3e94bd){const _0x2b315d=_0x3ebb,_0x1c1d27=_0xa266cb();while(!![]){try{const _0x808dd6=-parseInt(_0x2b315d(0x170))/0x1+-parseInt(_0x2b315d(0x1ac))/0x2*(parseInt(_0x2b315d(0x1a8))/0x3)+parseInt(_0x2b315d(0x16b))/0x4+parseInt(_0x2b315d(0x1c1))/0x5+-parseInt(_0x2b315d(0x176))/0x6+-parseInt(_0x2b315d(0x1ff))/0x7*(parseInt(_0x2b315d(0x14e))/0x8)+-parseInt(_0x2b315d(0x21c))/0x9*(-parseInt(_0x2b315d(0x189))/0xa);if(_0x808dd6===_0x3e94bd)break;else _0x1c1d27['push'](_0x1c1d27['shift']());}catch(_0x20ded2){_0x1c1d27['push'](_0x1c1d27['shift']());}}}(_0x5d39,0x71349));function _0x3ebb(_0x59f705,_0x12200){const _0x5d39a3=_0x5d39();return _0x3ebb=function(_0x3ebb47,_0x3d8054){_0x3ebb47=_0x3ebb47-0x146;let _0x1e5b60=_0x5d39a3[_0x3ebb47];return _0x1e5b60;},_0x3ebb(_0x59f705,_0x12200);}import{toWidget as _0xdd366,viewToModelPositionOutsideModelElement as _0x921405}from'ckeditor5/src/widget.js';import{Plugin as _0x57f841}from'ckeditor5/src/core.js';import{IconView as _0x3a0678}from'ckeditor5/src/ui.js';import{isParagraphable as _0x32a912,wrapInParagraph as _0x152fed}from'ckeditor5/src/engine.js';import{CKEditorError as _0x334ceb,logWarning as _0x38592d}from'ckeditor5/src/utils.js';import _0x497b39 from'./insertmergefieldcommand.js';import _0x4da76f from'./insertmergefieldblockcommand.js';import _0x22b3b7 from'./previewmergefieldscommand.js';import{getTranslation as _0x5c1d0a}from'./utils/common-translations.js';import _0x265351 from'../theme/icons/warning.svg';export default class m extends _0x57f841{static get[_0x2c729c(0x1ab)](){const _0x43be72=_0x2c729c;return _0x43be72(0x212);}constructor(_0x370fa3){const _0x3314d5=_0x2c729c;super(_0x370fa3),this[_0x3314d5(0x158)]=[],_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x156)](_0x3314d5(0x150),[_0x3314d5(0x203),_0x3314d5(0x157),_0x3314d5(0x19a)]),_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x156)](_0x3314d5(0x16a),[]),_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x156)](_0x3314d5(0x1aa),[]),_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x156)](_0x3314d5(0x16f),'{{'),_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x156)](_0x3314d5(0x20e),'}}'),_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x156)](_0x3314d5(0x1d5),!0x1),_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x156)](_0x3314d5(0x153),_0x474096=>(_0x38592d(_0x3314d5(0x20c)),{'html':_0x474096,'hasChanged':!0x1})),this[_0x3314d5(0x1c9)]=_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x15c)](_0x3314d5(0x16f)),this[_0x3314d5(0x1a4)]=_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x15c)](_0x3314d5(0x20e)),this[_0x3314d5(0x17c)]=_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x15c)](_0x3314d5(0x1d5)),this[_0x3314d5(0x158)]=this[_0x3314d5(0x14d)](),this[_0x3314d5(0x1f4)]();const _0x367a15='\x5c'+this[_0x3314d5(0x1c9)][_0x3314d5(0x1b2)]('')[_0x3314d5(0x222)]('\x5c'),_0x49f820='\x5c'+this[_0x3314d5(0x1a4)][_0x3314d5(0x1b2)]('')[_0x3314d5(0x222)]('\x5c');this[_0x3314d5(0x18c)]=new RegExp('('+_0x367a15+'[^'+(_0x367a15+_0x49f820)+_0x3314d5(0x163)+_0x49f820+')','g'),this[_0x3314d5(0x207)]=this[_0x3314d5(0x1ca)]();const _0x47f266=_0x370fa3[_0x3314d5(0x182)][_0x3314d5(0x15c)](_0x3314d5(0x191))||this[_0x3314d5(0x207)][0x0];this[_0x3314d5(0x1fa)](_0x47f266),this[_0x3314d5(0x20d)](_0x3314d5(0x21b),_0x47f266),this[_0x3314d5(0x187)]=new Set(),this[_0x3314d5(0x21d)]=null;}[_0x2c729c(0x20b)](){const _0x5384a0=_0x2c729c,_0x223ec9=this[_0x5384a0(0x221)];_0x223ec9[_0x5384a0(0x183)][_0x5384a0(0x216)](_0x5384a0(0x172),new _0x497b39(_0x223ec9)),_0x223ec9[_0x5384a0(0x183)][_0x5384a0(0x216)](_0x5384a0(0x20a),new _0x4da76f(_0x223ec9)),_0x223ec9[_0x5384a0(0x183)][_0x5384a0(0x216)](_0x5384a0(0x177),new _0x22b3b7(_0x223ec9)),this[_0x5384a0(0x206)](),this[_0x5384a0(0x1c6)](),this['on'](_0x5384a0(0x178),(_0x417b6f,_0x37c3cb,_0x28346d)=>{const _0x29aefd=_0x5384a0;this[_0x29aefd(0x1fa)](_0x28346d),this[_0x29aefd(0x14f)]();}),this[_0x5384a0(0x196)](_0x223ec9[_0x5384a0(0x166)][_0x5384a0(0x18e)],_0x5384a0(0x1b1),()=>{const _0x6ebd1d=_0x5384a0;this[_0x6ebd1d(0x1ce)]();}),_0x223ec9[_0x5384a0(0x17d)][_0x5384a0(0x1db)]['on'](_0x5384a0(0x16d),_0x921405(_0x223ec9[_0x5384a0(0x166)],_0x35b990=>_0x35b990[_0x5384a0(0x168)](_0x5384a0(0x21f)))),this[_0x5384a0(0x169)](),_0x223ec9[_0x5384a0(0x17d)][_0x5384a0(0x220)][_0x5384a0(0x215)][_0x5384a0(0x1d7)]({'name':_0x5384a0(0x17f),'classes':[_0x5384a0(0x21f)]}),this[_0x5384a0(0x175)]=_0x223ec9[_0x5384a0(0x182)][_0x5384a0(0x15c)](_0x5384a0(0x175));const _0x2ecc58=this[_0x5384a0(0x221)];this[_0x5384a0(0x21d)]=setInterval(()=>{const _0x56fe16=_0x5384a0;let _0xa90866;for(const _0x1acc49 in _0x2ecc58){const _0x36b684=_0x1acc49,_0x1259dc=_0x2ecc58[_0x36b684];if(_0x56fe16(0x1dd)===_0x1259dc||_0x56fe16(0x1a9)===_0x1259dc||_0x56fe16(0x15d)===_0x1259dc||_0x56fe16(0x16e)===_0x1259dc){delete _0x2ecc58[_0x36b684],_0xa90866=_0x1259dc;break;}}if(_0x56fe16(0x1a9)===_0xa90866)throw clearInterval(this[_0x56fe16(0x21d)]),new _0x334ceb(_0x56fe16(0x188),null);if(_0x56fe16(0x1dd)===_0xa90866&&console[_0x56fe16(0x210)](_0x56fe16(0x1e8)),_0x56fe16(0x16e)===_0xa90866)throw clearInterval(this[_0x56fe16(0x21d)]),new _0x334ceb(_0x56fe16(0x164),null);_0x56fe16(0x15d)===_0xa90866&&clearInterval(this[_0x56fe16(0x21d)]);},0x3e8);}[_0x2c729c(0x162)](){const _0x1a7a73=_0x2c729c,_0xbbfac4={},_0x1df3b4=this[_0x1a7a73(0x1c5)]();for(const _0x49f057 of _0x1df3b4)_0xbbfac4[_0x49f057]=this[_0x1a7a73(0x1bd)](_0x49f057);return _0xbbfac4;}[_0x2c729c(0x154)](_0x373247,_0x1c8ff5=!0x1){const _0x52c1e3=_0x2c729c,_0x4b4cc6={},_0x2f68f8=this[_0x52c1e3(0x1c5)]();for(const _0x52e175 of _0x2f68f8){let _0x20967c=this[_0x52c1e3(0x1ea)](_0x52e175,_0x373247);null===_0x20967c&&_0x1c8ff5&&(_0x20967c=this[_0x52c1e3(0x1bd)](_0x52e175)),_0x4b4cc6[_0x52e175]=_0x20967c;}return _0x4b4cc6;}[_0x2c729c(0x1a6)](_0x37119f){const _0x5807bd=_0x2c729c,_0x35123f=this[_0x5807bd(0x1a2)](_0x37119f);return _0x35123f&&_0x35123f[_0x5807bd(0x192)]?_0x35123f[_0x5807bd(0x192)]:_0x37119f;}[_0x2c729c(0x1bd)](_0x4873a3){const _0x2d1889=_0x2c729c,_0x57dfd1=this[_0x2d1889(0x1a2)](_0x4873a3);if(!_0x57dfd1||void 0x0===_0x57dfd1[_0x2d1889(0x197)])return null;const _0x11775b=_0x2d1889(0x1f9)==typeof _0x57dfd1[_0x2d1889(0x197)]?_0x57dfd1[_0x2d1889(0x197)](this[_0x2d1889(0x221)]):_0x57dfd1[_0x2d1889(0x197)];return String(_0x11775b);}[_0x2c729c(0x1ea)](_0x3a9fc7,_0x53baec){const _0x50a64c=_0x2c729c,_0x1526b6=this[_0x50a64c(0x221)][_0x50a64c(0x182)][_0x50a64c(0x15c)](_0x50a64c(0x16a))[_0x50a64c(0x190)](_0x50eeb7=>_0x50eeb7['id']===_0x53baec);if(!_0x1526b6)throw new _0x334ceb(_0x50a64c(0x1e2),null);const _0x4d78f3=_0x1526b6[_0x50a64c(0x1a7)][_0x3a9fc7];if(void 0x0===_0x4d78f3)return null;const _0xbf5ec1=_0x50a64c(0x1f9)==typeof _0x4d78f3?_0x4d78f3(this[_0x50a64c(0x221)]):_0x4d78f3;return String(_0xbf5ec1);}[_0x2c729c(0x1f0)](_0x1e2d86){const _0x13995a=_0x2c729c,_0x2f721e=this[_0x13995a(0x1a2)](_0x1e2d86);return _0x2f721e&&_0x2f721e[_0x13995a(0x205)]?_0x2f721e[_0x13995a(0x205)]:_0x13995a(0x1fd);}[_0x2c729c(0x214)](){const _0x230711=_0x2c729c,_0x5ace54=new Set();for(const _0x2a1465 of this[_0x230711(0x187)])_0x230711(0x1d4)!==_0x2a1465[_0x230711(0x1b5)][_0x230711(0x19e)]&&_0x5ace54[_0x230711(0x216)](_0x2a1465[_0x230711(0x1e1)]('id'));return Array[_0x230711(0x1de)](_0x5ace54);}[_0x2c729c(0x1c5)](){const _0x19e49c=_0x2c729c,_0x35ec16=this[_0x19e49c(0x158)][_0x19e49c(0x147)](_0x1c13cd=>_0x1c13cd['id']),_0x30c970=this[_0x19e49c(0x214)]();return Array[_0x19e49c(0x1de)](new Set([..._0x35ec16,..._0x30c970]));}[_0x2c729c(0x1a2)](_0x2746a9){const _0x2fc50a=_0x2c729c;return this[_0x2fc50a(0x158)][_0x2fc50a(0x190)](_0x4717c1=>_0x4717c1['id']===_0x2746a9)||null;}[_0x2c729c(0x1d1)](){const _0x3b9065=_0x2c729c;this[_0x3b9065(0x21d)]&&clearInterval(this[_0x3b9065(0x21d)]);}[_0x2c729c(0x14d)](){const _0x25ff29=_0x2c729c,_0x20ae88=new Set(),_0x585b5f=this[_0x25ff29(0x221)];return _0x585b5f[_0x25ff29(0x182)][_0x25ff29(0x15c)](_0x25ff29(0x1aa))[_0x25ff29(0x185)]((_0x20d8fe,_0x571738)=>{const _0x42b886=_0x25ff29;if(_0x42b886(0x1b9)in _0x571738){if(_0x20ae88[_0x42b886(0x1d3)](_0x571738[_0x42b886(0x1b9)]))throw new _0x334ceb(_0x42b886(0x1cb),_0x585b5f,{'duplicateId':_0x571738[_0x42b886(0x1b9)]});_0x20ae88[_0x42b886(0x216)](_0x571738[_0x42b886(0x1b9)]);}return _0x42b886(0x1b9)in _0x571738?function(_0x250fea,_0x2c9d0e){const _0x513449=_0x42b886;for(const _0x213f73 of _0x2c9d0e[_0x513449(0x1f5)])_0x250fea=_0x250fea[_0x513449(0x1bf)](_0x213f73);return _0x250fea;}[_0x42b886(0x1d0)](_0x585b5f)(_0x20d8fe,_0x571738):_0x20d8fe[_0x42b886(0x1bf)](_0x571738);},new Array());}[_0x2c729c(0x1f4)](){const _0x3306e3=_0x2c729c,_0x2950d5=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x2950d5[_0x3306e3(0x1fb)](this[_0x3306e3(0x1c9)])||!_0x2950d5[_0x3306e3(0x1fb)](this[_0x3306e3(0x1a4)]))throw new _0x334ceb(_0x3306e3(0x202),this,{'prefix':this[_0x3306e3(0x1c9)],'suffix':this[_0x3306e3(0x1a4)]});if(this[_0x3306e3(0x1c9)][_0x3306e3(0x213)]>0x8||this[_0x3306e3(0x1a4)][_0x3306e3(0x213)]>0x8)throw new _0x334ceb(_0x3306e3(0x1c0),this,{'prefix':this[_0x3306e3(0x1c9)],'suffix':this[_0x3306e3(0x1a4)],'limit':0x8});const _0x49cff2=/^[a-zA-Z0-9_.-]+$/,_0x26496e=new Set();if(this[_0x3306e3(0x158)][_0x3306e3(0x147)](_0x3c994e=>{const _0x37dd08=_0x3306e3;if(!_0x49cff2[_0x37dd08(0x1fb)](_0x3c994e['id']))throw new _0x334ceb(_0x37dd08(0x223),this,{'incorrectId':_0x3c994e['id']});if(_0x26496e[_0x37dd08(0x1d3)](_0x3c994e['id']))throw new _0x334ceb(_0x37dd08(0x17a),this,{'duplicateId':_0x3c994e['id']});_0x26496e[_0x37dd08(0x216)](_0x3c994e['id']);}),this[_0x3306e3(0x1c9)]===this[_0x3306e3(0x1a4)])throw new _0x334ceb(_0x3306e3(0x1a1),this);const _0x3279ed=this[_0x3306e3(0x221)][_0x3306e3(0x182)][_0x3306e3(0x15c)](_0x3306e3(0x150)),_0x2352f0=[_0x3306e3(0x203),_0x3306e3(0x157),_0x3306e3(0x19a)];if(!_0x3279ed[_0x3306e3(0x213)]||!_0x3279ed[_0x3306e3(0x1fe)](_0x51724f=>_0x2352f0[_0x3306e3(0x21e)](_0x51724f)))throw new _0x334ceb(_0x3306e3(0x148),this,{'invalidConfig':_0x3279ed});const _0x347aaf=new Set(),_0x2c63e0=this[_0x3306e3(0x221)][_0x3306e3(0x182)][_0x3306e3(0x15c)](_0x3306e3(0x16a));for(const _0x46bad6 of _0x2c63e0){if(_0x347aaf[_0x3306e3(0x1d3)](_0x46bad6['id']))throw new _0x334ceb(_0x3306e3(0x146),this,{'duplicateId':_0x46bad6['id']});_0x347aaf[_0x3306e3(0x216)](_0x46bad6['id']);}}[_0x2c729c(0x1ca)](){const _0x576b2e=_0x2c729c,_0x456da8=this[_0x576b2e(0x221)][_0x576b2e(0x182)][_0x576b2e(0x15c)](_0x576b2e(0x150)),_0x18201c=[];if(_0x456da8[_0x576b2e(0x21e)](_0x576b2e(0x203))&&_0x18201c[_0x576b2e(0x218)](_0x576b2e(0x203)),_0x456da8[_0x576b2e(0x21e)](_0x576b2e(0x157))&&_0x18201c[_0x576b2e(0x218)](_0x576b2e(0x157)),_0x456da8[_0x576b2e(0x21e)](_0x576b2e(0x19a))){const _0x35a157=this[_0x576b2e(0x221)][_0x576b2e(0x182)][_0x576b2e(0x15c)](_0x576b2e(0x16a));_0x18201c[_0x576b2e(0x218)](..._0x35a157[_0x576b2e(0x147)](_0x3fdec7=>_0x3fdec7['id']));}return _0x18201c;}[_0x2c729c(0x206)](){const _0x543b6e=_0x2c729c,_0x645fa0=this[_0x543b6e(0x221)][_0x543b6e(0x166)][_0x543b6e(0x193)];_0x645fa0[_0x543b6e(0x14c)](_0x543b6e(0x1a5),{'inheritAllFrom':_0x543b6e(0x171),'allowAttributes':['id'],'allowWhere':_0x543b6e(0x1ed)}),_0x645fa0[_0x543b6e(0x14c)](_0x543b6e(0x1fc),{'inheritAllFrom':_0x543b6e(0x1b7),'allowAttributes':['id']});}[_0x2c729c(0x1c6)](){const _0x224d6a=_0x2c729c,_0x3aec55=this[_0x224d6a(0x221)][_0x224d6a(0x160)];_0x3aec55[_0x224d6a(0x14b)](_0x224d6a(0x1d9))[_0x224d6a(0x216)](_0x5ae517=>{const _0x44d62b=_0x224d6a;_0x5ae517['on'](_0x44d62b(0x1fd),(_0x920587,_0x26d148,_0x35062f)=>{const _0x39bc8b=_0x44d62b,{consumable:_0x4a7386,writer:_0x19e0f7,schema:_0x53ec4d}=_0x35062f,{viewItem:_0x40bfad}=_0x26d148;if(!_0x4a7386[_0x39bc8b(0x1fb)](_0x40bfad))return;const _0xda0005=_0x40bfad[_0x39bc8b(0x15b)][_0x39bc8b(0x1b2)](this[_0x39bc8b(0x18c)])[_0x39bc8b(0x15e)](_0x2d9866=>_0x2d9866);if(0x1===_0xda0005[_0x39bc8b(0x213)]&&!_0xda0005[0x0][_0x39bc8b(0x219)](this[_0x39bc8b(0x18c)]))return;let _0x18c2a=!0x0;for(const _0x213856 of _0xda0005){if(!_0x213856[_0x39bc8b(0x219)](this[_0x39bc8b(0x18c)])){_0x18c2a=!0x1;break;}const _0x1691ba=_0x213856[_0x39bc8b(0x1e0)](this[_0x39bc8b(0x1c9)][_0x39bc8b(0x213)],_0x213856[_0x39bc8b(0x213)]-this[_0x39bc8b(0x1a4)][_0x39bc8b(0x213)]);if(_0x39bc8b(0x1fd)===this[_0x39bc8b(0x1f0)](_0x1691ba)){_0x18c2a=!0x1;break;}}if(_0x18c2a){_0x4a7386[_0x39bc8b(0x16c)](_0x40bfad);for(const _0x33b9e3 of _0xda0005){const _0x22da2a=_0x33b9e3[_0x39bc8b(0x1e0)](this[_0x39bc8b(0x1c9)][_0x39bc8b(0x213)],_0x33b9e3[_0x39bc8b(0x213)]-this[_0x39bc8b(0x1a4)][_0x39bc8b(0x213)]),_0x4486cb=_0x26d148[_0x39bc8b(0x19b)],_0x23bf76=_0x19e0f7[_0x39bc8b(0x186)](_0x39bc8b(0x1fc),{'id':_0x22da2a});_0x19e0f7[_0x39bc8b(0x14a)](_0x23bf76,_0x4486cb),_0x26d148[_0x39bc8b(0x19b)]=_0x4486cb[_0x39bc8b(0x1b0)](0x1),_0x26d148[_0x39bc8b(0x1ad)]=_0x19e0f7[_0x39bc8b(0x194)](_0x26d148[_0x39bc8b(0x1ad)]?_0x26d148[_0x39bc8b(0x1ad)][_0x39bc8b(0x18b)]:_0x4486cb,_0x26d148[_0x39bc8b(0x19b)]);}}else{if(!_0x53ec4d[_0x39bc8b(0x1b6)](_0x26d148[_0x39bc8b(0x19b)],_0x39bc8b(0x1ed))){if(!_0x32a912(_0x26d148[_0x39bc8b(0x19b)],_0x39bc8b(0x1ed),_0x53ec4d))return;_0x26d148[_0x39bc8b(0x19b)]=_0x152fed(_0x26d148[_0x39bc8b(0x19b)],_0x19e0f7);}_0x4a7386[_0x39bc8b(0x16c)](_0x40bfad);for(const _0x2c95a3 of _0xda0005){const _0x19454d=_0x26d148[_0x39bc8b(0x19b)];let _0x451b61;if(_0x2c95a3[_0x39bc8b(0x219)](this[_0x39bc8b(0x18c)])){const _0x356fd8=_0x2c95a3[_0x39bc8b(0x1e0)](this[_0x39bc8b(0x1c9)][_0x39bc8b(0x213)],_0x2c95a3[_0x39bc8b(0x213)]-this[_0x39bc8b(0x1a4)][_0x39bc8b(0x213)]);_0x451b61=_0x19e0f7[_0x39bc8b(0x186)](_0x39bc8b(0x1a5),{'id':_0x356fd8});}else _0x451b61=_0x19e0f7[_0x39bc8b(0x18f)](_0x2c95a3);_0x19e0f7[_0x39bc8b(0x14a)](_0x451b61,_0x19454d),_0x26d148[_0x39bc8b(0x19b)]=_0x19454d[_0x39bc8b(0x1b0)](_0x451b61[_0x39bc8b(0x1c8)]),_0x26d148[_0x39bc8b(0x1ad)]=_0x19e0f7[_0x39bc8b(0x194)](_0x26d148[_0x39bc8b(0x1ad)]?_0x26d148[_0x39bc8b(0x1ad)][_0x39bc8b(0x18b)]:_0x19454d,_0x26d148[_0x39bc8b(0x19b)]);}}});}),_0x3aec55[_0x224d6a(0x14b)](_0x224d6a(0x1ee))[_0x224d6a(0x20f)]({'model':_0x224d6a(0x1a5),'view':(_0x146581,{writer:_0x4b6c74})=>this[_0x224d6a(0x165)](_0x146581,_0x4b6c74,_0x224d6a(0x1fd))}),_0x3aec55[_0x224d6a(0x14b)](_0x224d6a(0x1d6))[_0x224d6a(0x20f)]({'model':_0x224d6a(0x1a5),'view':(_0x4cf3db,{writer:_0x68393,options:_0x5927de})=>this[_0x224d6a(0x181)](_0x4cf3db,_0x68393,_0x5927de[_0x224d6a(0x195)])}),_0x3aec55[_0x224d6a(0x14b)](_0x224d6a(0x1ee))[_0x224d6a(0x20f)]({'model':_0x224d6a(0x1fc),'view':(_0x3e1dde,{writer:_0x1808c2})=>this[_0x224d6a(0x165)](_0x3e1dde,_0x1808c2,_0x224d6a(0x167))}),_0x3aec55[_0x224d6a(0x14b)](_0x224d6a(0x1d6))[_0x224d6a(0x20f)]({'model':_0x224d6a(0x1fc),'view':(_0x171ab9,{writer:_0x13aeb9,options:_0x39f9cd})=>this[_0x224d6a(0x181)](_0x171ab9,_0x13aeb9,_0x39f9cd[_0x224d6a(0x195)])});}[_0x2c729c(0x165)](_0x203dea,_0x308ac4,_0x20c673){const _0x4acbcf=_0x2c729c,{label:_0x58860e,classes:_0x25f9a2,status:_0x557400,height:_0x280256}=this[_0x4acbcf(0x19f)](_0x203dea),_0x2fc1d7=this[_0x4acbcf(0x1c9)],_0x4b4a8e=this[_0x4acbcf(0x1a4)],_0x45ca95=this[_0x4acbcf(0x221)][_0x4acbcf(0x182)][_0x4acbcf(0x15c)](_0x4acbcf(0x153)),_0x512c15=_0x4acbcf(0x1fd)===_0x20c673?_0x4acbcf(0x17f):_0x4acbcf(0x1ec);let _0x4192cf;if(_0x4acbcf(0x203)===this[_0x4acbcf(0x21b)])_0x4192cf=_0x308ac4[_0x4acbcf(0x19d)](_0x512c15,{'class':_0x25f9a2},[_0x308ac4[_0x4acbcf(0x200)](_0x4acbcf(0x17f),{'class':_0x4acbcf(0x1f6)},function(_0x30d97d){const _0xf6112f=_0x4acbcf,_0x2cd9f7=this[_0xf6112f(0x21a)](_0x30d97d);return _0x2cd9f7[_0xf6112f(0x1c3)]=_0x2fc1d7,_0x2cd9f7;}),_0x308ac4[_0x4acbcf(0x19d)](_0x4acbcf(0x17f),{'class':_0x4acbcf(0x15a)},_0x308ac4[_0x4acbcf(0x18f)](String(_0x58860e))),_0x308ac4[_0x4acbcf(0x200)](_0x4acbcf(0x17f),{'class':_0x4acbcf(0x1f6)},function(_0x2daef0){const _0x1d352c=_0x4acbcf,_0xc0690f=this[_0x1d352c(0x21a)](_0x2daef0);return _0xc0690f[_0x1d352c(0x1c3)]=_0x4b4a8e,_0xc0690f;})]);else{if(_0x557400){let _0x3ae524;if(_0x3ae524=_0x4acbcf(0x1fd)!==_0x20c673&&[_0x4acbcf(0x184),_0x4acbcf(0x1df)][_0x4acbcf(0x21e)](_0x557400)?_0x308ac4[_0x4acbcf(0x18f)](_0x5c1d0a(this[_0x4acbcf(0x221)][_0x4acbcf(0x1c7)],_0x4acbcf(0x1c4))):this[_0x4acbcf(0x17c)]?_0x308ac4[_0x4acbcf(0x1ef)](_0x512c15,{},function(_0x47ce54,_0x553828){const _0x26667b=_0x4acbcf;_0x553828[_0x26667b(0x18a)](_0x47ce54,_0x45ca95(_0x58860e)[_0x26667b(0x1e4)]);}):_0x308ac4[_0x4acbcf(0x18f)](_0x58860e),_0x4192cf=_0x308ac4[_0x4acbcf(0x19d)](_0x512c15,{'class':_0x25f9a2},[_0x3ae524]),_0x4acbcf(0x1fd)===_0x20c673){const _0x2e72f9=_0x308ac4[_0x4acbcf(0x200)](_0x4acbcf(0x17f),{'class':_0x4acbcf(0x1eb)},function(_0x35026e){const _0x382b2b=_0x4acbcf,_0x24368d=this[_0x382b2b(0x21a)](_0x35026e),_0x61e6f0=new _0x3a0678();return _0x61e6f0[_0x382b2b(0x20d)]({'content':_0x265351}),_0x61e6f0[_0x382b2b(0x1bc)](),_0x24368d[_0x382b2b(0x1f8)](_0x61e6f0[_0x382b2b(0x1b4)]),_0x24368d;});_0x308ac4[_0x4acbcf(0x14a)](_0x308ac4[_0x4acbcf(0x17e)](_0x4192cf,_0x4acbcf(0x17b)),_0x2e72f9);}_0x308ac4[_0x4acbcf(0x1cd)](_0x4acbcf(0x217),_0x557400,_0x4192cf);}else{const _0x19a073=this[_0x4acbcf(0x17c)]?_0x308ac4[_0x4acbcf(0x1ef)](_0x512c15,{},function(_0x56591b,_0x5aa5b3){const _0xf75ec3=_0x4acbcf;_0x5aa5b3[_0xf75ec3(0x18a)](_0x56591b,_0x45ca95(_0x58860e)[_0xf75ec3(0x1e4)]);}):_0x308ac4[_0x4acbcf(0x18f)](_0x58860e);_0x4192cf=_0x308ac4[_0x4acbcf(0x19d)](_0x512c15,{'class':_0x25f9a2},_0x19a073);}}if(_0x4acbcf(0x167)===_0x20c673){const _0x3576c9=_0x308ac4[_0x4acbcf(0x19d)](_0x4acbcf(0x1ec),{'class':_0x4acbcf(0x1a3)},[_0x4192cf]);if((_0x4acbcf(0x203)===this[_0x4acbcf(0x21b)]||_0x557400&&[_0x4acbcf(0x184),_0x4acbcf(0x1df)][_0x4acbcf(0x21e)](_0x557400))&&_0x308ac4[_0x4acbcf(0x15f)](_0x4acbcf(0x1f1),_0x4acbcf(0x19c)+_0x280256+'px',_0x3576c9),_0x4192cf[_0x4acbcf(0x168)](_0x4acbcf(0x1e5)))_0x308ac4[_0x4acbcf(0x1d8)](_0x4acbcf(0x1ba),_0x3576c9),_0x308ac4[_0x4acbcf(0x15f)](_0x4acbcf(0x1dc),this[_0x4acbcf(0x1a6)](_0x203dea[_0x4acbcf(0x1e1)]('id')),_0x3576c9);else{if(_0x4192cf[_0x4acbcf(0x168)](_0x4acbcf(0x1b8))){for(const _0x43e410 of _0x4192cf[_0x4acbcf(0x1e6)]())if(_0x4acbcf(0x21f)!==_0x43e410){const _0x5c6042=_0x43e410[_0x4acbcf(0x1a0)](_0x4acbcf(0x21f),_0x4acbcf(0x1a3));_0x308ac4[_0x4acbcf(0x1d8)](_0x5c6042,_0x3576c9);}_0x308ac4[_0x4acbcf(0x15f)](_0x4acbcf(0x1dc),this[_0x4acbcf(0x1a6)](_0x203dea[_0x4acbcf(0x1e1)]('id')),_0x3576c9),_0x308ac4[_0x4acbcf(0x1cd)](_0x4acbcf(0x217),_0x557400,_0x3576c9);}}return _0x308ac4[_0x4acbcf(0x1cd)](_0x4acbcf(0x1fc),!0x0,_0x3576c9),_0xdd366(_0x3576c9,_0x308ac4,{'hasSelectionHandle':!0x0});}return _0x308ac4[_0x4acbcf(0x1cd)](_0x4acbcf(0x1a5),!0x0,_0x4192cf),_0xdd366(_0x4192cf,_0x308ac4);}[_0x2c729c(0x19f)](_0x3d64a8){const _0x309fa1=_0x2c729c,_0x3fb2b6=this[_0x309fa1(0x1a2)](_0x3d64a8[_0x309fa1(0x1e1)]('id'));if(!_0x3fb2b6)return _0x309fa1(0x203)===this[_0x309fa1(0x21b)]?{'label':_0x3d64a8[_0x309fa1(0x1e1)]('id'),'classes':_0x309fa1(0x21f)}:{'label':_0x3d64a8[_0x309fa1(0x1e1)]('id'),'classes':_0x309fa1(0x173),'status':_0x309fa1(0x1df)};const _0x168aca=this[_0x309fa1(0x1a6)](_0x3fb2b6['id']),_0x36fe44=this[_0x309fa1(0x1f0)](_0x3fb2b6['id']),_0x371981=this[_0x309fa1(0x1bd)](_0x3d64a8[_0x309fa1(0x1e1)]('id')),_0x2ddc11=_0x309fa1(0x1fd)!==_0x36fe44?_0x3fb2b6[_0x309fa1(0x1be)]||0x78:void 0x0;if(_0x309fa1(0x203)===this[_0x309fa1(0x21b)])return{'label':_0x168aca,'height':_0x2ddc11,'classes':_0x309fa1(0x21f)};if(_0x309fa1(0x157)===this[_0x309fa1(0x21b)])return _0x371981?{'label':_0x371981,'height':_0x2ddc11,'classes':_0x309fa1(0x208)}:{'label':_0x168aca,'height':_0x2ddc11,'classes':_0x309fa1(0x174),'status':_0x309fa1(0x184)};const _0x279c54=this[_0x309fa1(0x1ea)](_0x3fb2b6['id'],this[_0x309fa1(0x21b)]);return _0x279c54?{'label':_0x279c54,'height':_0x2ddc11,'classes':_0x309fa1(0x208)}:_0x371981?{'label':_0x371981,'height':_0x2ddc11,'classes':_0x309fa1(0x209),'status':_0x309fa1(0x201)}:{'label':_0x168aca,'height':_0x2ddc11,'classes':_0x309fa1(0x1af),'status':_0x309fa1(0x1df)};}[_0x2c729c(0x181)](_0x200c24,_0x4b4b97,_0x49f698){const _0x1ca92f=_0x2c729c,_0x101e7e=_0x200c24[_0x1ca92f(0x1e1)]('id'),_0x15945a=_0x49f698&&_0x49f698[_0x101e7e]?_0x49f698[_0x101e7e]:this[_0x1ca92f(0x1c9)]+_0x101e7e+this[_0x1ca92f(0x1a4)];let _0x369add;if(_0x49f698)_0x369add=_0x4b4b97[_0x1ca92f(0x1ef)](_0x1ca92f(0x17f),{},function(_0xe264dc,_0x1437be){const _0x3a25ec=_0x1ca92f;_0x1437be[_0x3a25ec(0x18a)](_0xe264dc,String(_0x15945a));});else{_0x369add=_0x4b4b97[_0x1ca92f(0x19d)](_0x1ca92f(0x17f));const _0x4fed97=_0x4b4b97[_0x1ca92f(0x18f)](_0x15945a);_0x4b4b97[_0x1ca92f(0x14a)](_0x4b4b97[_0x1ca92f(0x17e)](_0x369add,_0x1ca92f(0x17b)),_0x4fed97);}return _0x4b4b97[_0x1ca92f(0x1cd)](_0x1ca92f(0x1f3),!0x0,_0x369add),_0x369add;}[_0x2c729c(0x14f)](){const _0x4a85e8=_0x2c729c;this[_0x4a85e8(0x187)][_0x4a85e8(0x1c2)](_0x297bb8=>{const _0x344a7b=_0x4a85e8;_0x344a7b(0x1d4)!==_0x297bb8[_0x344a7b(0x1b5)][_0x344a7b(0x19e)]&&this[_0x344a7b(0x221)][_0x344a7b(0x17d)][_0x344a7b(0x1e7)](_0x297bb8);});}[_0x2c729c(0x1fa)](_0x54a41e){const _0x2ba2c0=_0x2c729c;if(!this[_0x2ba2c0(0x207)][_0x2ba2c0(0x21e)](_0x54a41e))throw new _0x334ceb(_0x2ba2c0(0x1cc),this,{'availablePreviewModes':this[_0x2ba2c0(0x207)],'previewMode':_0x54a41e});}[_0x2c729c(0x1ce)](){const _0x4ae704=_0x2c729c;for(const _0x5159ca of this[_0x4ae704(0x221)][_0x4ae704(0x166)][_0x4ae704(0x18e)][_0x4ae704(0x1f7)][_0x4ae704(0x1ae)]({'includeChangesInGraveyard':!0x0})){if(_0x4ae704(0x14a)!==_0x5159ca[_0x4ae704(0x205)]||_0x4ae704(0x1ed)===_0x5159ca[_0x4ae704(0x151)])continue;if(_0x4ae704(0x1a5)===_0x5159ca[_0x4ae704(0x151)]||_0x4ae704(0x1fc)===_0x5159ca[_0x4ae704(0x151)]){this[_0x4ae704(0x187)][_0x4ae704(0x216)](_0x5159ca[_0x4ae704(0x18d)][_0x4ae704(0x1e3)]);continue;}const _0x5ec418=this[_0x4ae704(0x221)][_0x4ae704(0x166)][_0x4ae704(0x1b3)](_0x5159ca[_0x4ae704(0x18d)][_0x4ae704(0x1e3)]);for(const _0x23a290 of _0x5ec418[_0x4ae704(0x179)]())_0x23a290['is'](_0x4ae704(0x1b4),_0x4ae704(0x1a5))&&this[_0x4ae704(0x187)][_0x4ae704(0x216)](_0x23a290);}}[_0x2c729c(0x169)](){const _0x2b12cf=_0x2c729c,_0x1155e9=this[_0x2b12cf(0x221)];_0x1155e9[_0x2b12cf(0x166)][_0x2b12cf(0x18e)][_0x2b12cf(0x1f2)](_0x3451f4=>{const _0x37bbc6=_0x2b12cf;if(!_0x3451f4[_0x37bbc6(0x198)][_0x37bbc6(0x1bb)])return!0x1;const _0x3a6350=[],_0x1139c5=new Set(),_0x37d38c=this[_0x37bbc6(0x18c)];let _0x19fa29=!0x1;for(const _0x9f3cc8 of _0x1155e9[_0x37bbc6(0x166)][_0x37bbc6(0x18e)][_0x37bbc6(0x1f7)][_0x37bbc6(0x1ae)]())if(_0x37bbc6(0x14a)===_0x9f3cc8[_0x37bbc6(0x205)]||_0x37bbc6(0x1e9)===_0x9f3cc8[_0x37bbc6(0x205)]){let _0x5381af=_0x37bbc6(0x1ed)==_0x9f3cc8[_0x37bbc6(0x151)]?_0x9f3cc8[_0x37bbc6(0x18d)][_0x37bbc6(0x152)]:_0x9f3cc8[_0x37bbc6(0x18d)][_0x37bbc6(0x1e3)];if(!_0x5381af)continue;_0x5381af['is'](_0x37bbc6(0x1ed))&&(_0x5381af=_0x5381af[_0x37bbc6(0x152)]),_0x19f64f(_0x5381af);}for(const _0x12ff93 of _0x3a6350[_0x37bbc6(0x149)]()){const {match:_0xb4f25b,item:_0x5ddf01}=_0x12ff93,_0xda9f2a=_0x3451f4[_0x37bbc6(0x17e)](_0x5ddf01,_0xb4f25b[_0x37bbc6(0x1d2)]),_0x336771=_0xda9f2a[_0x37bbc6(0x1b0)](_0xb4f25b[0x0][_0x37bbc6(0x213)]),_0x34fc14=_0x3451f4[_0x37bbc6(0x194)](_0xda9f2a,_0x336771),_0x248d79=_0xb4f25b[0x0],_0x1c3bb0=_0x248d79[_0x37bbc6(0x1e0)](this[_0x37bbc6(0x1c9)][_0x37bbc6(0x213)],_0x248d79[_0x37bbc6(0x213)]-this[_0x37bbc6(0x1a4)][_0x37bbc6(0x213)]),_0x504a46=_0x5b11d3(_0x34fc14);if(_0x504a46[_0x37bbc6(0x20d)]('id',_0x1c3bb0),_0x37bbc6(0x167)===this[_0x37bbc6(0x1f0)](_0x1c3bb0)){const _0x5eaf4b=_0x3451f4[_0x37bbc6(0x186)](_0x37bbc6(0x1fc),{'id':_0x1c3bb0});_0x3451f4[_0x37bbc6(0x1e9)](_0x34fc14),_0x1155e9[_0x37bbc6(0x166)][_0x37bbc6(0x155)](_0x5eaf4b,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x5c8225=_0x3451f4[_0x37bbc6(0x186)](_0x37bbc6(0x1a5),_0x504a46);_0x1155e9[_0x37bbc6(0x166)][_0x37bbc6(0x193)][_0x37bbc6(0x1b6)](_0x34fc14[_0x37bbc6(0x18b)],_0x37bbc6(0x1a5))?_0x1155e9[_0x37bbc6(0x166)][_0x37bbc6(0x155)](_0x5c8225,_0x34fc14):_0x3451f4[_0x37bbc6(0x1e9)](_0x34fc14);}_0x19fa29=!0x0;}return _0x19fa29;function _0x19f64f(_0x3037fd){const _0x4be325=_0x37bbc6;let _0x12bf61='',_0x197728=0x0;if(!_0x1139c5[_0x4be325(0x1d3)](_0x3037fd))for(const _0x4e80a0 of _0x3037fd[_0x4be325(0x1cf)]()){const _0x211a61=_0x4e80a0[_0x4be325(0x204)];if(_0x4e80a0['is'](_0x4be325(0x1ed))&&(''===_0x12bf61&&_0x4e80a0[_0x4be325(0x161)]&&(_0x197728=_0x4e80a0[_0x4be325(0x161)]),_0x12bf61+=_0x4e80a0[_0x4be325(0x15b)]),!_0x211a61||_0x211a61['is'](_0x4be325(0x1b4))){for(const _0x30ea9f of _0x12bf61[_0x4be325(0x211)](_0x37d38c))_0x30ea9f[_0x4be325(0x1d2)]=_0x30ea9f[_0x4be325(0x1d2)]+_0x197728,_0x3a6350[_0x4be325(0x218)]({'match':_0x30ea9f,'item':_0x3037fd});_0x1139c5[_0x4be325(0x216)](_0x3037fd),_0x12bf61='';}_0x4e80a0['is'](_0x4be325(0x1b4))&&_0x19f64f(_0x4e80a0);}}function _0x5b11d3(_0x10321a){const _0x168db0=_0x37bbc6,_0x2e2a82=_0x10321a[_0x168db0(0x179)](),_0x37cfaf=_0x2e2a82[_0x168db0(0x199)]()[_0x168db0(0x159)],_0x3f2b1a=new Map(_0x37cfaf[_0x168db0(0x1da)]());for(const _0x3112a6 of _0x2e2a82)for(const [_0x17d655,_0x393f0e]of _0x3f2b1a)_0x3112a6[_0x168db0(0x1e1)](_0x17d655)!==_0x393f0e&&_0x3f2b1a[_0x168db0(0x180)](_0x17d655);return _0x3f2b1a;}});}}function _0x5d39(){const _0x24fde1=['_refreshMergeFields','mergeFields.previewModes','name','parent','sanitizeHtml','getDataSetValues','insertObject','define','$defaultValues','flattenedMergeFieldDefinitions','value','ck-merge-field__content','data','get','mergeFieldsLicenseKeyValid','filter','setAttribute','conversion','startOffset','getDefaultValues','\x20]+','merge-fields-trial-license-key-reached-limit-changes','_createMergeFieldWidget','model','block','hasClass','_registerConversionPostFixer','mergeFields.dataSets','2394048fqmJZw','consume','viewToModelPosition','mergeFieldsLicenseKeyTrialLimit:operations','mergeFields.prefix','542448DHBzSu','$inlineObject','insertMergeField','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','licenseKey','4742136TMhciJ','previewMergeFields','change:previewMode','getItems','merge-fields-duplicate-merge-field-id','end','_shouldPreviewHtmlValues','editing','createPositionAt','span','delete','_createTextualMergeField','config','commands','WARNING_MISSING_DEFAULT_VALUE','reduce','createElement','_mergeFieldElements','merge-fields-invalid-license-key','10420sDekyE','setContentOf','start','_mergeFieldRegExp','position','document','createText','find','mergeFields.initialPreviewMode','label','schema','createRange','mergeFieldsData','listenTo','defaultValue','batch','next','$dataSets','modelCursor','height:\x20','createContainerElement','rootName','_prepareViewElementData','replace','merge-fields-prefix-and-suffix-must-differ','getDefinition','ck-merge-field-block','_mergeFieldSuffix','mergeField','getLabel','values','138783ePPqzB','mergeFieldsLicenseKeyInvalid','mergeFields.definitions','pluginName','34ArnBMo','modelRange','getChanges','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','getShiftedBy','change:data','split','createRangeIn','element','root','checkChild','$blockObject','ck-merge-field_with-warning','groupId','ck-merge-field-block_with-value','isLocal','render','getMergeFieldDefaultValue','height','concat','merge-fields-prefix-or-suffix-too-long','3279845pcPDtZ','forEach','innerHTML','No\x20data\x20available','getMergeFieldsIds','_defineConverters','locale','offsetSize','_mergeFieldPrefix','_getAvailablePreviewModes','merge-fields-duplicate-group-id','merge-fields-invalid-preview-mode-set','setCustomProperty','_trackAddedMergeFields','getChildren','bind','destroy','index','has','$graveyard','mergeFields.previewHtmlValues','dataDowncast','registerInlineObjectMatcher','addClass','upcast','getAttributes','mapper','data-merge-field-block-label','mergeFieldsLicenseKeyTrial','from','WARNING_MISSING_DATA','slice','getAttribute','merge-fields-data-set-not-found','nodeAfter','html','ck-merge-field_with-value','getClassNames','reconvertItem','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.','remove','getMergeFieldValue','ck-merge-field__icon','div','$text','editingDowncast','createRawElement','getMergeFieldType','style','registerPostFixer','dataPipeline:transparentRendering','_validateConfig','definitions','ck-merge-field__affix','differ','appendChild','function','_validatePreviewMode','test','mergeFieldBlock','text','every','889GcpsDP','createUIElement','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','merge-fields-invalid-prefix-or-suffix','$labels','nextSibling','type','_defineSchema','availablePreviewModes','ck-merge-field\x20ck-merge-field_with-value','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','insertMergeFieldBlock','init','merge-fields-provide-sanitize-function','set','mergeFields.suffix','elementToElement','info','matchAll','MergeFieldsEditing','length','getDocumentMergeFieldsIds','domConverter','add','mergeFieldStatus','push','match','toDomElement','previewMode','16056WmCnqP','_licenseKeyCheckInterval','includes','ck-merge-field','view','editor','join','merge-fields-invalid-id','merge-fields-duplicate-data-set-id','map','merge-fields-invalid-preview-modes-configuration','reverse','insert','for','register','_getFlattenedMergeFieldDefinitions','33416CXeKzw'];_0x5d39=function(){return _0x24fde1;};return _0x5d39();}
|
|
23
|
+
const _0x10ac72=_0x61d2;(function(_0x599212,_0x2d1bac){const _0xa96890=_0x61d2,_0x5d5dd=_0x599212();while(!![]){try{const _0x55aa15=parseInt(_0xa96890(0xfb))/0x1*(parseInt(_0xa96890(0xc3))/0x2)+-parseInt(_0xa96890(0x146))/0x3+-parseInt(_0xa96890(0x171))/0x4*(-parseInt(_0xa96890(0x143))/0x5)+-parseInt(_0xa96890(0x142))/0x6*(parseInt(_0xa96890(0x108))/0x7)+-parseInt(_0xa96890(0x141))/0x8+-parseInt(_0xa96890(0xbb))/0x9*(-parseInt(_0xa96890(0xd4))/0xa)+parseInt(_0xa96890(0x150))/0xb*(-parseInt(_0xa96890(0x131))/0xc);if(_0x55aa15===_0x2d1bac)break;else _0x5d5dd['push'](_0x5d5dd['shift']());}catch(_0x4944a1){_0x5d5dd['push'](_0x5d5dd['shift']());}}}(_0x10a1,0xf37c4));function _0x61d2(_0x18b85b,_0x58f9fa){const _0x10a1ca=_0x10a1();return _0x61d2=function(_0x61d28c,_0x456bb2){_0x61d28c=_0x61d28c-0xb8;let _0x35327a=_0x10a1ca[_0x61d28c];return _0x35327a;},_0x61d2(_0x18b85b,_0x58f9fa);}import{toWidget as _0x2f233c,viewToModelPositionOutsideModelElement as _0x4e3b94}from'ckeditor5/src/widget.js';import{Plugin as _0x3b23f1}from'ckeditor5/src/core.js';import{IconView as _0x20997e}from'ckeditor5/src/ui.js';import{isParagraphable as _0x556e18,wrapInParagraph as _0x33b969}from'ckeditor5/src/engine.js';import{CKEditorError as _0x1596e7,logWarning as _0x4a67cd}from'ckeditor5/src/utils.js';import _0x38a2c2 from'./insertmergefieldcommand.js';function _0x10a1(){const _0x23f5a1=['WARNING_MISSING_DATA','$dataSets','index','_createMergeFieldWidget','change:data','height:\x20','registerPostFixer','licenseKey','8235664VpSKNx','408ULuoeg','3410ScUoSl','_validateConfig','remove','1136130owPwuw','merge-fields-invalid-preview-modes-configuration','forEach','getClassNames','push','mergeFieldsLicenseKeyValid','editingDowncast','merge-fields-provide-sanitize-function','createRangeIn','data','160512AsAdOK','filter','insert','\x20]+','ck-merge-field__affix','_mergeFieldPrefix','find','html','_registerConversionPostFixer','mergeFields.previewHtmlValues','modelRange','ck-merge-field-block_with-value','merge-fields-invalid-preview-mode-set','every','test','dataPipeline:transparentRendering','_shouldPreviewHtmlValues','getChanges','modelCursor','getMergeFieldType','insertMergeField','height','_mergeFieldElements','reverse','change:previewMode','function','split','availablePreviewModes','_mergeFieldRegExp','_prepareViewElementData','destroy','ck-merge-field_with-warning','getDataSetValues','2708evCktA','mergeFieldsLicenseKeyInvalid','init','setCustomProperty','upcast','merge-fields-invalid-id','offsetSize','getAttributes','from','values','info','defaultValue','next','length','getDocumentMergeFieldsIds','getMergeFieldDefaultValue','WARNING_MISSING_DEFAULT_VALUE','value','ck-merge-field-block','setContentOf','map','previewMode','getDefaultValues','getLabel','hasClass','span','merge-fields-prefix-or-suffix-too-long','_trackAddedMergeFields','end','mergeFields.previewModes','merge-fields-prefix-and-suffix-must-differ','mergeFields.initialPreviewMode','_refreshMergeFields','mergeField','getChildren','matchAll','mergeFields.dataSets','getMergeFieldsIds','editor','$blockObject','5776479qIVeLE','element','_licenseKeyCheckInterval','name','getDefinition','ck-merge-field__icon','mergeFieldStatus','createContainerElement','9014rrBtlt','start','bind','div','domConverter','MergeFieldsEditing','_mergeFieldSuffix','mergeFields.prefix','editing','mergeFieldsLicenseKeyTrialLimit:operations','_defineSchema','mergeFieldsData','createText','has','view','$inlineObject','groupId','30CCNxGe','replace','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','text','match','$text','define','delete','pluginName','reconvertItem','innerHTML','differ','schema','batch','get','dataDowncast','flattenedMergeFieldDefinitions','insertObject','ck-merge-field_with-value','add','set','commands','parent','concat','_validatePreviewMode','elementToElement','createRawElement','merge-fields-invalid-prefix-or-suffix','model','createElement','getShiftedBy','slice','setAttribute','createUIElement','checkChild','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','getAttribute','type','getMergeFieldValue','215ozObxM','toDomElement','mergeFields.sanitizeHtml','conversion','insertMergeFieldBlock','label','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','position','ck-merge-field__content','_defineConverters','listenTo','createRange','$graveyard','58814DxdpAT','rootName','$labels','_getFlattenedMergeFieldDefinitions','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','merge-fields-data-set-not-found','ck-merge-field\x20ck-merge-field_with-value','style','nextSibling','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','includes','mapper','definitions','viewToModelPosition','data-merge-field-block-label','document','createPositionAt','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.','startOffset','config','previewMergeFields','_getAvailablePreviewModes','$defaultValues','for','mergeFields.definitions','registerInlineObjectMatcher','merge-fields-duplicate-group-id','root','register','merge-fields-trial-license-key-reached-limit-changes','nodeAfter','addClass','consume','join','render','merge-fields-duplicate-merge-field-id','merge-fields-invalid-license-key','_createTextualMergeField','reduce','getItems','ck-merge-field','312EmLpxj','appendChild','mergeFieldsLicenseKeyTrial','mergeFieldBlock','mergeFields.suffix','isLocal','merge-fields-duplicate-data-set-id','block'];_0x10a1=function(){return _0x23f5a1;};return _0x10a1();}import _0x343f25 from'./insertmergefieldblockcommand.js';import _0x51bbd0 from'./previewmergefieldscommand.js';import _0x4fbcc7 from'../theme/icons/warning.svg';export default class m extends _0x3b23f1{static get[_0x10ac72(0xdc)](){const _0x7edd19=_0x10ac72;return _0x7edd19(0xc8);}constructor(_0x2b76d9){const _0x1c4e54=_0x10ac72;super(_0x2b76d9),this[_0x1c4e54(0xe4)]=[],_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xda)](_0x1c4e54(0x18e),[_0x1c4e54(0x10a),_0x1c4e54(0x11e),_0x1c4e54(0x13a)]),_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xda)](_0x1c4e54(0x195),[]),_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xda)](_0x1c4e54(0x120),[]),_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xda)](_0x1c4e54(0xca),'{{'),_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xda)](_0x1c4e54(0x135),'}}'),_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xda)](_0x1c4e54(0x159),!0x1),_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xda)](_0x1c4e54(0xfd),_0x4bf75d=>(_0x4a67cd(_0x1c4e54(0x14d)),{'html':_0x4bf75d,'hasChanged':!0x1})),this[_0x1c4e54(0x155)]=_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xe2)](_0x1c4e54(0xca)),this[_0x1c4e54(0xc9)]=_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xe2)](_0x1c4e54(0x135)),this[_0x1c4e54(0x160)]=_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xe2)](_0x1c4e54(0x159)),this[_0x1c4e54(0xe4)]=this[_0x1c4e54(0x10b)](),this[_0x1c4e54(0x144)]();const _0x254589='\x5c'+this[_0x1c4e54(0x155)][_0x1c4e54(0x16a)]('')[_0x1c4e54(0x129)]('\x5c'),_0x1c85d0='\x5c'+this[_0x1c4e54(0xc9)][_0x1c4e54(0x16a)]('')[_0x1c4e54(0x129)]('\x5c');this[_0x1c4e54(0x16c)]=new RegExp('('+_0x254589+'[^'+(_0x254589+_0x1c85d0)+_0x1c4e54(0x153)+_0x1c85d0+')','g'),this[_0x1c4e54(0x16b)]=this[_0x1c4e54(0x11d)]();const _0x3158de=_0x2b76d9[_0x1c4e54(0x11b)][_0x1c4e54(0xe2)](_0x1c4e54(0x190))||this[_0x1c4e54(0x16b)][0x0];this[_0x1c4e54(0xec)](_0x3158de),this[_0x1c4e54(0xe8)](_0x1c4e54(0x186),_0x3158de),this[_0x1c4e54(0x166)]=new Set(),this[_0x1c4e54(0xbd)]=null;}[_0x10ac72(0x173)](){const _0x1d330a=_0x10ac72,_0x5dd945=this[_0x1d330a(0xb9)];_0x5dd945[_0x1d330a(0xe9)][_0x1d330a(0xe7)](_0x1d330a(0x164),new _0x38a2c2(_0x5dd945)),_0x5dd945[_0x1d330a(0xe9)][_0x1d330a(0xe7)](_0x1d330a(0xff),new _0x343f25(_0x5dd945)),_0x5dd945[_0x1d330a(0xe9)][_0x1d330a(0xe7)](_0x1d330a(0x11c),new _0x51bbd0(_0x5dd945)),this[_0x1d330a(0xcd)](),this[_0x1d330a(0x104)](),this['on'](_0x1d330a(0x168),(_0x4816ed,_0x34c117,_0x1456b1)=>{const _0x392604=_0x1d330a;this[_0x392604(0xec)](_0x1456b1),this[_0x392604(0x191)]();}),this[_0x1d330a(0x105)](_0x5dd945[_0x1d330a(0xf0)][_0x1d330a(0x117)],_0x1d330a(0x13d),()=>{const _0x52a2b3=_0x1d330a;this[_0x52a2b3(0x18c)]();}),_0x5dd945[_0x1d330a(0xcb)][_0x1d330a(0x113)]['on'](_0x1d330a(0x115),_0x4e3b94(_0x5dd945[_0x1d330a(0xf0)],_0x256923=>_0x256923[_0x1d330a(0x189)](_0x1d330a(0x130)))),_0x5dd945[_0x1d330a(0xcb)][_0x1d330a(0x113)]['on'](_0x1d330a(0x115),_0x4e3b94(_0x5dd945[_0x1d330a(0xf0)],_0x705d2b=>_0x705d2b[_0x1d330a(0x189)](_0x1d330a(0x183)))),this[_0x1d330a(0x158)](),_0x5dd945[_0x1d330a(0xcb)][_0x1d330a(0xd1)][_0x1d330a(0xc7)][_0x1d330a(0x121)]({'name':_0x1d330a(0x18a),'classes':[_0x1d330a(0x130)]}),this[_0x1d330a(0x140)]=_0x5dd945[_0x1d330a(0x11b)][_0x1d330a(0xe2)](_0x1d330a(0x140));const _0x4f5d0a=this[_0x1d330a(0xb9)];this[_0x1d330a(0xbd)]=setInterval(()=>{const _0x3b4721=_0x1d330a;let _0x3a0e26;for(const _0x1fa06f in _0x4f5d0a){const _0x38000d=_0x1fa06f,_0x7a7b8e=_0x4f5d0a[_0x38000d];if(_0x3b4721(0x133)===_0x7a7b8e||_0x3b4721(0x172)===_0x7a7b8e||_0x3b4721(0x14b)===_0x7a7b8e||_0x3b4721(0xcc)===_0x7a7b8e){delete _0x4f5d0a[_0x38000d],_0x3a0e26=_0x7a7b8e;break;}}if(_0x3b4721(0x172)===_0x3a0e26)throw clearInterval(this[_0x3b4721(0xbd)]),new _0x1596e7(_0x3b4721(0x12c),null);if(_0x3b4721(0x133)===_0x3a0e26&&console[_0x3b4721(0x17b)](_0x3b4721(0x119)),_0x3b4721(0xcc)===_0x3a0e26)throw clearInterval(this[_0x3b4721(0xbd)]),new _0x1596e7(_0x3b4721(0x125),null);_0x3b4721(0x14b)===_0x3a0e26&&clearInterval(this[_0x3b4721(0xbd)]);},0x3e8);}[_0x10ac72(0x187)](){const _0x179bc2=_0x10ac72,_0x36aac5={},_0x54b717=this[_0x179bc2(0xb8)]();for(const _0xe0742c of _0x54b717)_0x36aac5[_0xe0742c]=this[_0x179bc2(0x180)](_0xe0742c);return _0x36aac5;}[_0x10ac72(0x170)](_0x3273fc,_0x2ebbdf=!0x1){const _0x22d9ec=_0x10ac72,_0x24c257={},_0x5855ee=this[_0x22d9ec(0xb8)]();for(const _0x34c7e1 of _0x5855ee){let _0xe590e1=this[_0x22d9ec(0xfa)](_0x34c7e1,_0x3273fc);null===_0xe590e1&&_0x2ebbdf&&(_0xe590e1=this[_0x22d9ec(0x180)](_0x34c7e1)),_0x24c257[_0x34c7e1]=_0xe590e1;}return _0x24c257;}[_0x10ac72(0x188)](_0x1381e4){const _0x5c21e2=_0x10ac72,_0x226129=this[_0x5c21e2(0xbf)](_0x1381e4);return _0x226129&&_0x226129[_0x5c21e2(0x100)]?_0x226129[_0x5c21e2(0x100)]:_0x1381e4;}[_0x10ac72(0x180)](_0x251f98){const _0x33f41c=_0x10ac72,_0x3101d9=this[_0x33f41c(0xbf)](_0x251f98);if(!_0x3101d9||void 0x0===_0x3101d9[_0x33f41c(0x17c)])return null;const _0x348129=_0x33f41c(0x169)==typeof _0x3101d9[_0x33f41c(0x17c)]?_0x3101d9[_0x33f41c(0x17c)](this[_0x33f41c(0xb9)]):_0x3101d9[_0x33f41c(0x17c)];return String(_0x348129);}[_0x10ac72(0xfa)](_0x1bddf7,_0x531a6c){const _0x2f053c=_0x10ac72,_0x1bdd61=this[_0x2f053c(0xb9)][_0x2f053c(0x11b)][_0x2f053c(0xe2)](_0x2f053c(0x195))[_0x2f053c(0x156)](_0x51dc2d=>_0x51dc2d['id']===_0x531a6c);if(!_0x1bdd61)throw new _0x1596e7(_0x2f053c(0x10d),null);const _0x4d5224=_0x1bdd61[_0x2f053c(0x17a)][_0x1bddf7];if(void 0x0===_0x4d5224)return null;const _0x5a2d17=_0x2f053c(0x169)==typeof _0x4d5224?_0x4d5224(this[_0x2f053c(0xb9)]):_0x4d5224;return String(_0x5a2d17);}[_0x10ac72(0x163)](_0xb62748){const _0xa2183c=_0x10ac72,_0x472283=this[_0xa2183c(0xbf)](_0xb62748);return _0x472283&&_0x472283[_0xa2183c(0xf9)]?_0x472283[_0xa2183c(0xf9)]:_0xa2183c(0xd7);}[_0x10ac72(0x17f)](){const _0xf27087=_0x10ac72,_0x3f4b5b=new Set();for(const _0x3b0951 of this[_0xf27087(0x166)])_0xf27087(0x107)!==_0x3b0951[_0xf27087(0x123)][_0xf27087(0x109)]&&_0x3f4b5b[_0xf27087(0xe7)](_0x3b0951[_0xf27087(0xf8)]('id'));return Array[_0xf27087(0x179)](_0x3f4b5b);}[_0x10ac72(0xb8)](){const _0x3366b8=_0x10ac72,_0x1612a9=this[_0x3366b8(0xe4)][_0x3366b8(0x185)](_0x2225f2=>_0x2225f2['id']),_0x52aff8=this[_0x3366b8(0x17f)]();return Array[_0x3366b8(0x179)](new Set([..._0x1612a9,..._0x52aff8]));}[_0x10ac72(0xbf)](_0x4a95a0){const _0x155ede=_0x10ac72;return this[_0x155ede(0xe4)][_0x155ede(0x156)](_0x2227e6=>_0x2227e6['id']===_0x4a95a0)||null;}[_0x10ac72(0x16e)](){const _0x5b5c42=_0x10ac72;this[_0x5b5c42(0xbd)]&&clearInterval(this[_0x5b5c42(0xbd)]);}[_0x10ac72(0x10b)](){const _0x410fb1=_0x10ac72,_0x59cfb8=new Set(),_0x5a4d7a=this[_0x410fb1(0xb9)];return _0x5a4d7a[_0x410fb1(0x11b)][_0x410fb1(0xe2)](_0x410fb1(0x120))[_0x410fb1(0x12e)]((_0x51803e,_0x3ee419)=>{const _0xa26d65=_0x410fb1;if(_0xa26d65(0xd3)in _0x3ee419){if(_0x59cfb8[_0xa26d65(0xd0)](_0x3ee419[_0xa26d65(0xd3)]))throw new _0x1596e7(_0xa26d65(0x122),_0x5a4d7a,{'duplicateId':_0x3ee419[_0xa26d65(0xd3)]});_0x59cfb8[_0xa26d65(0xe7)](_0x3ee419[_0xa26d65(0xd3)]);}return _0xa26d65(0xd3)in _0x3ee419?function(_0x4a1f58,_0x47cbdd){const _0x546e0e=_0xa26d65;for(const _0x10bfa4 of _0x47cbdd[_0x546e0e(0x114)])_0x4a1f58=_0x4a1f58[_0x546e0e(0xeb)](_0x10bfa4);return _0x4a1f58;}[_0xa26d65(0xc5)](_0x5a4d7a)(_0x51803e,_0x3ee419):_0x51803e[_0xa26d65(0xeb)](_0x3ee419);},new Array());}[_0x10ac72(0x144)](){const _0x419a1d=_0x10ac72,_0xd2a6b6=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0xd2a6b6[_0x419a1d(0x15e)](this[_0x419a1d(0x155)])||!_0xd2a6b6[_0x419a1d(0x15e)](this[_0x419a1d(0xc9)]))throw new _0x1596e7(_0x419a1d(0xef),this,{'prefix':this[_0x419a1d(0x155)],'suffix':this[_0x419a1d(0xc9)]});if(this[_0x419a1d(0x155)][_0x419a1d(0x17e)]>0x8||this[_0x419a1d(0xc9)][_0x419a1d(0x17e)]>0x8)throw new _0x1596e7(_0x419a1d(0x18b),this,{'prefix':this[_0x419a1d(0x155)],'suffix':this[_0x419a1d(0xc9)],'limit':0x8});const _0x376cdf=/^[a-zA-Z0-9_.-]+$/,_0x3a18c3=new Set();if(this[_0x419a1d(0xe4)][_0x419a1d(0x185)](_0x4bab96=>{const _0x18b10e=_0x419a1d;if(!_0x376cdf[_0x18b10e(0x15e)](_0x4bab96['id']))throw new _0x1596e7(_0x18b10e(0x176),this,{'incorrectId':_0x4bab96['id']});if(_0x3a18c3[_0x18b10e(0xd0)](_0x4bab96['id']))throw new _0x1596e7(_0x18b10e(0x12b),this,{'duplicateId':_0x4bab96['id']});_0x3a18c3[_0x18b10e(0xe7)](_0x4bab96['id']);}),this[_0x419a1d(0x155)]===this[_0x419a1d(0xc9)])throw new _0x1596e7(_0x419a1d(0x18f),this);const _0xcfa3ce=this[_0x419a1d(0xb9)][_0x419a1d(0x11b)][_0x419a1d(0xe2)](_0x419a1d(0x18e)),_0xd6761f=[_0x419a1d(0x10a),_0x419a1d(0x11e),_0x419a1d(0x13a)];if(!_0xcfa3ce[_0x419a1d(0x17e)]||!_0xcfa3ce[_0x419a1d(0x15d)](_0x40e8f9=>_0xd6761f[_0x419a1d(0x112)](_0x40e8f9)))throw new _0x1596e7(_0x419a1d(0x147),this,{'invalidConfig':_0xcfa3ce});const _0x4b9ef2=new Set(),_0x3fbc54=this[_0x419a1d(0xb9)][_0x419a1d(0x11b)][_0x419a1d(0xe2)](_0x419a1d(0x195));for(const _0x2593bf of _0x3fbc54){if(_0x4b9ef2[_0x419a1d(0xd0)](_0x2593bf['id']))throw new _0x1596e7(_0x419a1d(0x137),this,{'duplicateId':_0x2593bf['id']});_0x4b9ef2[_0x419a1d(0xe7)](_0x2593bf['id']);}}[_0x10ac72(0x11d)](){const _0x5190f9=_0x10ac72,_0x502337=this[_0x5190f9(0xb9)][_0x5190f9(0x11b)][_0x5190f9(0xe2)](_0x5190f9(0x18e)),_0x2ce0f8=[];if(_0x502337[_0x5190f9(0x112)](_0x5190f9(0x10a))&&_0x2ce0f8[_0x5190f9(0x14a)](_0x5190f9(0x10a)),_0x502337[_0x5190f9(0x112)](_0x5190f9(0x11e))&&_0x2ce0f8[_0x5190f9(0x14a)](_0x5190f9(0x11e)),_0x502337[_0x5190f9(0x112)](_0x5190f9(0x13a))){const _0x2f47ad=this[_0x5190f9(0xb9)][_0x5190f9(0x11b)][_0x5190f9(0xe2)](_0x5190f9(0x195));_0x2ce0f8[_0x5190f9(0x14a)](..._0x2f47ad[_0x5190f9(0x185)](_0x4f2993=>_0x4f2993['id']));}return _0x2ce0f8;}[_0x10ac72(0xcd)](){const _0x5d7762=_0x10ac72,_0x18bd2d=this[_0x5d7762(0xb9)][_0x5d7762(0xf0)][_0x5d7762(0xe0)];_0x18bd2d[_0x5d7762(0x124)](_0x5d7762(0x192),{'inheritAllFrom':_0x5d7762(0xd2),'allowAttributes':['id'],'allowWhere':_0x5d7762(0xd9)}),_0x18bd2d[_0x5d7762(0x124)](_0x5d7762(0x134),{'inheritAllFrom':_0x5d7762(0xba),'allowAttributes':['id']});}[_0x10ac72(0x104)](){const _0x53b16a=_0x10ac72,_0x317c35=this[_0x53b16a(0xb9)][_0x53b16a(0xfe)];_0x317c35[_0x53b16a(0x11f)](_0x53b16a(0x175))[_0x53b16a(0xe7)](_0x263c9a=>{const _0x586352=_0x53b16a;_0x263c9a['on'](_0x586352(0xd7),(_0x235c6e,_0x567999,_0x22b30c)=>{const _0x35d1f8=_0x586352,{consumable:_0x513652,writer:_0x4af718,schema:_0x2db101}=_0x22b30c,{viewItem:_0x56e47e}=_0x567999;if(!_0x513652[_0x35d1f8(0x15e)](_0x56e47e))return;const _0x48d57c=_0x56e47e[_0x35d1f8(0x14f)][_0x35d1f8(0x16a)](this[_0x35d1f8(0x16c)])[_0x35d1f8(0x151)](_0x36e20a=>_0x36e20a);if(0x1===_0x48d57c[_0x35d1f8(0x17e)]&&!_0x48d57c[0x0][_0x35d1f8(0xd8)](this[_0x35d1f8(0x16c)]))return;let _0x5861eb=!0x0;for(const _0x137620 of _0x48d57c){if(!_0x137620[_0x35d1f8(0xd8)](this[_0x35d1f8(0x16c)])){_0x5861eb=!0x1;break;}const _0x4b6ffa=_0x137620[_0x35d1f8(0xf3)](this[_0x35d1f8(0x155)][_0x35d1f8(0x17e)],_0x137620[_0x35d1f8(0x17e)]-this[_0x35d1f8(0xc9)][_0x35d1f8(0x17e)]);if(_0x35d1f8(0xd7)===this[_0x35d1f8(0x163)](_0x4b6ffa)){_0x5861eb=!0x1;break;}}if(_0x5861eb){_0x513652[_0x35d1f8(0x128)](_0x56e47e);for(const _0x436665 of _0x48d57c){const _0x3fc491=_0x436665[_0x35d1f8(0xf3)](this[_0x35d1f8(0x155)][_0x35d1f8(0x17e)],_0x436665[_0x35d1f8(0x17e)]-this[_0x35d1f8(0xc9)][_0x35d1f8(0x17e)]),_0x47d8c9=_0x567999[_0x35d1f8(0x162)],_0x3e1db1=_0x4af718[_0x35d1f8(0xf1)](_0x35d1f8(0x134),{'id':_0x3fc491});_0x4af718[_0x35d1f8(0x152)](_0x3e1db1,_0x47d8c9),_0x567999[_0x35d1f8(0x162)]=_0x47d8c9[_0x35d1f8(0xf2)](0x1),_0x567999[_0x35d1f8(0x15a)]=_0x4af718[_0x35d1f8(0x106)](_0x567999[_0x35d1f8(0x15a)]?_0x567999[_0x35d1f8(0x15a)][_0x35d1f8(0xc4)]:_0x47d8c9,_0x567999[_0x35d1f8(0x162)]);}}else{if(!_0x2db101[_0x35d1f8(0xf6)](_0x567999[_0x35d1f8(0x162)],_0x35d1f8(0xd9))){if(!_0x556e18(_0x567999[_0x35d1f8(0x162)],_0x35d1f8(0xd9),_0x2db101))return;_0x567999[_0x35d1f8(0x162)]=_0x33b969(_0x567999[_0x35d1f8(0x162)],_0x4af718);}_0x513652[_0x35d1f8(0x128)](_0x56e47e);for(const _0x4e8ac9 of _0x48d57c){const _0x186c4c=_0x567999[_0x35d1f8(0x162)];let _0x45783e;if(_0x4e8ac9[_0x35d1f8(0xd8)](this[_0x35d1f8(0x16c)])){const _0x5a05cd=_0x4e8ac9[_0x35d1f8(0xf3)](this[_0x35d1f8(0x155)][_0x35d1f8(0x17e)],_0x4e8ac9[_0x35d1f8(0x17e)]-this[_0x35d1f8(0xc9)][_0x35d1f8(0x17e)]);_0x45783e=_0x4af718[_0x35d1f8(0xf1)](_0x35d1f8(0x192),{'id':_0x5a05cd});}else _0x45783e=_0x4af718[_0x35d1f8(0xcf)](_0x4e8ac9);_0x4af718[_0x35d1f8(0x152)](_0x45783e,_0x186c4c),_0x567999[_0x35d1f8(0x162)]=_0x186c4c[_0x35d1f8(0xf2)](_0x45783e[_0x35d1f8(0x177)]),_0x567999[_0x35d1f8(0x15a)]=_0x4af718[_0x35d1f8(0x106)](_0x567999[_0x35d1f8(0x15a)]?_0x567999[_0x35d1f8(0x15a)][_0x35d1f8(0xc4)]:_0x186c4c,_0x567999[_0x35d1f8(0x162)]);}}});}),_0x317c35[_0x53b16a(0x11f)](_0x53b16a(0x14c))[_0x53b16a(0xed)]({'model':_0x53b16a(0x192),'view':(_0x352b6d,{writer:_0x4eb753})=>this[_0x53b16a(0x13c)](_0x352b6d,_0x4eb753,_0x53b16a(0xd7))}),_0x317c35[_0x53b16a(0x11f)](_0x53b16a(0xe3))[_0x53b16a(0xed)]({'model':_0x53b16a(0x192),'view':(_0x6ebf82,{writer:_0xc2e1ef,options:_0x4c9200})=>this[_0x53b16a(0x12d)](_0x6ebf82,_0xc2e1ef,_0x4c9200[_0x53b16a(0xce)])}),_0x317c35[_0x53b16a(0x11f)](_0x53b16a(0x14c))[_0x53b16a(0xed)]({'model':_0x53b16a(0x134),'view':(_0x45a289,{writer:_0x64f200})=>this[_0x53b16a(0x13c)](_0x45a289,_0x64f200,_0x53b16a(0x138))}),_0x317c35[_0x53b16a(0x11f)](_0x53b16a(0xe3))[_0x53b16a(0xed)]({'model':_0x53b16a(0x134),'view':(_0x2210f9,{writer:_0x22d7da,options:_0x1e4dbd})=>this[_0x53b16a(0x12d)](_0x2210f9,_0x22d7da,_0x1e4dbd[_0x53b16a(0xce)])});}[_0x10ac72(0x13c)](_0x439910,_0x24fd45,_0x5bcca9){const _0x226fba=_0x10ac72,{label:_0xfff940,classes:_0x5adc8b,status:_0x3e4fa3,height:_0x449474}=this[_0x226fba(0x16d)](_0x439910),_0x2bcbc2=this[_0x226fba(0x155)],_0x5e1810=this[_0x226fba(0xc9)],_0x41508e=this[_0x226fba(0xb9)][_0x226fba(0x11b)][_0x226fba(0xe2)](_0x226fba(0xfd)),_0xa88e70=_0x226fba(0xd7)===_0x5bcca9?_0x226fba(0x18a):_0x226fba(0xc6);let _0x43392d;if(_0x226fba(0x10a)===this[_0x226fba(0x186)])_0x43392d=_0x24fd45[_0x226fba(0xc2)](_0xa88e70,{'class':_0x5adc8b},[_0x24fd45[_0x226fba(0xf5)](_0x226fba(0x18a),{'class':_0x226fba(0x154)},function(_0x3c4286){const _0x26b41a=_0x226fba,_0x57c76f=this[_0x26b41a(0xfc)](_0x3c4286);return _0x57c76f[_0x26b41a(0xde)]=_0x2bcbc2,_0x57c76f;}),_0x24fd45[_0x226fba(0xc2)](_0x226fba(0x18a),{'class':_0x226fba(0x103)},_0x24fd45[_0x226fba(0xcf)](String(_0xfff940))),_0x24fd45[_0x226fba(0xf5)](_0x226fba(0x18a),{'class':_0x226fba(0x154)},function(_0x1724ee){const _0x55a896=_0x226fba,_0xccfb90=this[_0x55a896(0xfc)](_0x1724ee);return _0xccfb90[_0x55a896(0xde)]=_0x5e1810,_0xccfb90;})]);else{if(_0x3e4fa3){const _0x227cf3=this[_0x226fba(0x160)]?_0x24fd45[_0x226fba(0xee)](_0x226fba(0x18a),{},function(_0x2e504c,_0x510090){const _0x2d5eeb=_0x226fba;_0x510090[_0x2d5eeb(0x184)](_0x2e504c,_0x41508e(_0xfff940)[_0x2d5eeb(0x157)]);}):_0x24fd45[_0x226fba(0xcf)](_0xfff940);if(_0x43392d=_0x24fd45[_0x226fba(0xc2)](_0xa88e70,{'class':_0x5adc8b},[_0x227cf3]),_0x226fba(0xd7)===_0x5bcca9||[_0x226fba(0x181),_0x226fba(0x139)][_0x226fba(0x112)](_0x3e4fa3)){const _0x1b5081=_0x24fd45[_0x226fba(0xf5)](_0x226fba(0x18a),{'class':_0x226fba(0xc0)},function(_0xd5b980){const _0x2f46e3=_0x226fba,_0x93378b=this[_0x2f46e3(0xfc)](_0xd5b980),_0x32d292=new _0x20997e();return _0x32d292[_0x2f46e3(0xe8)]({'content':_0x4fbcc7}),_0x32d292[_0x2f46e3(0x12a)](),_0x93378b[_0x2f46e3(0x132)](_0x32d292[_0x2f46e3(0xbc)]),_0x93378b;});_0x24fd45[_0x226fba(0x152)](_0x24fd45[_0x226fba(0x118)](_0x43392d,_0x226fba(0x18d)),_0x1b5081);}_0x24fd45[_0x226fba(0x174)](_0x226fba(0xc1),_0x3e4fa3,_0x43392d);}else{const _0xbcff17=this[_0x226fba(0x160)]?_0x24fd45[_0x226fba(0xee)](_0xa88e70,{},function(_0x1e4984,_0x2b5dc5){const _0x30cc6d=_0x226fba;_0x2b5dc5[_0x30cc6d(0x184)](_0x1e4984,_0x41508e(_0xfff940)[_0x30cc6d(0x157)]);}):_0x24fd45[_0x226fba(0xcf)](_0xfff940);_0x43392d=_0x24fd45[_0x226fba(0xc2)](_0xa88e70,{'class':_0x5adc8b},_0xbcff17);}}if(_0x226fba(0x138)===_0x5bcca9){const _0x568b23=_0x24fd45[_0x226fba(0xc2)](_0x226fba(0xc6),{'class':_0x226fba(0x183)},[_0x43392d]);if((_0x226fba(0x10a)===this[_0x226fba(0x186)]||_0x3e4fa3&&[_0x226fba(0x181),_0x226fba(0x139)][_0x226fba(0x112)](_0x3e4fa3))&&_0x24fd45[_0x226fba(0xf4)](_0x226fba(0x10f),_0x226fba(0x13e)+_0x449474+'px',_0x568b23),_0x43392d[_0x226fba(0x189)](_0x226fba(0xe6)))_0x24fd45[_0x226fba(0x127)](_0x226fba(0x15b),_0x568b23);else{if(_0x43392d[_0x226fba(0x189)](_0x226fba(0x16f))){for(const _0x494a42 of _0x43392d[_0x226fba(0x149)]())if(_0x226fba(0x130)!==_0x494a42){const _0xbc751b=_0x494a42[_0x226fba(0xd5)](_0x226fba(0x130),_0x226fba(0x183));_0x24fd45[_0x226fba(0x127)](_0xbc751b,_0x568b23);}_0x24fd45[_0x226fba(0xf4)](_0x226fba(0x116),this[_0x226fba(0x188)](_0x439910[_0x226fba(0xf8)]('id')),_0x568b23),_0x24fd45[_0x226fba(0x174)](_0x226fba(0xc1),_0x3e4fa3,_0x568b23);}}return _0x24fd45[_0x226fba(0x174)](_0x226fba(0x134),!0x0,_0x568b23),_0x2f233c(_0x568b23,_0x24fd45,{'hasSelectionHandle':!0x0});}return _0x24fd45[_0x226fba(0x174)](_0x226fba(0x192),!0x0,_0x43392d),_0x2f233c(_0x43392d,_0x24fd45);}[_0x10ac72(0x16d)](_0x3399ea){const _0x165ca1=_0x10ac72,_0x2594a3=this[_0x165ca1(0xbf)](_0x3399ea[_0x165ca1(0xf8)]('id'));if(!_0x2594a3)return _0x165ca1(0x10a)===this[_0x165ca1(0x186)]?{'label':_0x3399ea[_0x165ca1(0xf8)]('id'),'classes':_0x165ca1(0x130)}:{'label':_0x3399ea[_0x165ca1(0xf8)]('id'),'classes':_0x165ca1(0xf7),'status':_0x165ca1(0x139)};const _0x6df049=this[_0x165ca1(0x188)](_0x2594a3['id']),_0x180bb=this[_0x165ca1(0x163)](_0x2594a3['id']),_0x17dd59=this[_0x165ca1(0x180)](_0x3399ea[_0x165ca1(0xf8)]('id')),_0x1a4658=_0x165ca1(0xd7)!==_0x180bb?_0x2594a3[_0x165ca1(0x165)]||0x78:void 0x0;if(_0x165ca1(0x10a)===this[_0x165ca1(0x186)])return{'label':_0x6df049,'height':_0x1a4658,'classes':_0x165ca1(0x130)};if(_0x165ca1(0x11e)===this[_0x165ca1(0x186)])return _0x17dd59?{'label':_0x17dd59,'height':_0x1a4658,'classes':_0x165ca1(0x10e)}:{'label':_0x6df049,'height':_0x1a4658,'classes':_0x165ca1(0xd6),'status':_0x165ca1(0x181)};const _0x272a3c=this[_0x165ca1(0xfa)](_0x2594a3['id'],this[_0x165ca1(0x186)]);return _0x272a3c?{'label':_0x272a3c,'height':_0x1a4658,'classes':_0x165ca1(0x10e)}:_0x17dd59?{'label':_0x17dd59,'height':_0x1a4658,'classes':_0x165ca1(0x111),'status':_0x165ca1(0x10c)}:{'label':_0x6df049,'height':_0x1a4658,'classes':_0x165ca1(0x101),'status':_0x165ca1(0x139)};}[_0x10ac72(0x12d)](_0xe32914,_0x5432d7,_0x17e1a9){const _0x25d2cb=_0x10ac72,_0x359c50=_0xe32914[_0x25d2cb(0xf8)]('id'),_0xee795c=_0x17e1a9&&_0x17e1a9[_0x359c50]?_0x17e1a9[_0x359c50]:this[_0x25d2cb(0x155)]+_0x359c50+this[_0x25d2cb(0xc9)];let _0x1f6959;if(_0x17e1a9)_0x1f6959=_0x5432d7[_0x25d2cb(0xee)](_0x25d2cb(0x18a),{},function(_0x25e9c6,_0x2620d0){const _0x49d2ac=_0x25d2cb;_0x2620d0[_0x49d2ac(0x184)](_0x25e9c6,String(_0xee795c));});else{_0x1f6959=_0x5432d7[_0x25d2cb(0xc2)](_0x25d2cb(0x18a));const _0x3e09a1=_0x5432d7[_0x25d2cb(0xcf)](_0xee795c);_0x5432d7[_0x25d2cb(0x152)](_0x5432d7[_0x25d2cb(0x118)](_0x1f6959,_0x25d2cb(0x18d)),_0x3e09a1);}return _0x5432d7[_0x25d2cb(0x174)](_0x25d2cb(0x15f),!0x0,_0x1f6959),_0x1f6959;}[_0x10ac72(0x191)](){const _0x31c535=_0x10ac72;this[_0x31c535(0x166)][_0x31c535(0x148)](_0x22cacb=>{const _0x3e33c0=_0x31c535;_0x3e33c0(0x107)!==_0x22cacb[_0x3e33c0(0x123)][_0x3e33c0(0x109)]&&this[_0x3e33c0(0xb9)][_0x3e33c0(0xcb)][_0x3e33c0(0xdd)](_0x22cacb);});}[_0x10ac72(0xec)](_0x28b380){const _0x3f586a=_0x10ac72;if(!this[_0x3f586a(0x16b)][_0x3f586a(0x112)](_0x28b380))throw new _0x1596e7(_0x3f586a(0x15c),this,{'availablePreviewModes':this[_0x3f586a(0x16b)],'previewMode':_0x28b380});}[_0x10ac72(0x18c)](){const _0x5895fe=_0x10ac72;for(const _0x174330 of this[_0x5895fe(0xb9)][_0x5895fe(0xf0)][_0x5895fe(0x117)][_0x5895fe(0xdf)][_0x5895fe(0x161)]({'includeChangesInGraveyard':!0x0})){if(_0x5895fe(0x152)!==_0x174330[_0x5895fe(0xf9)]||_0x5895fe(0xd9)===_0x174330[_0x5895fe(0xbe)])continue;if(_0x5895fe(0x192)===_0x174330[_0x5895fe(0xbe)]||_0x5895fe(0x134)===_0x174330[_0x5895fe(0xbe)]){this[_0x5895fe(0x166)][_0x5895fe(0xe7)](_0x174330[_0x5895fe(0x102)][_0x5895fe(0x126)]);continue;}const _0x27f69d=this[_0x5895fe(0xb9)][_0x5895fe(0xf0)][_0x5895fe(0x14e)](_0x174330[_0x5895fe(0x102)][_0x5895fe(0x126)]);for(const _0x5eb1ba of _0x27f69d[_0x5895fe(0x12f)]())_0x5eb1ba['is'](_0x5895fe(0xbc),_0x5895fe(0x192))&&this[_0x5895fe(0x166)][_0x5895fe(0xe7)](_0x5eb1ba);}}[_0x10ac72(0x158)](){const _0x3aadf5=_0x10ac72,_0x8d8528=this[_0x3aadf5(0xb9)];_0x8d8528[_0x3aadf5(0xf0)][_0x3aadf5(0x117)][_0x3aadf5(0x13f)](_0x2eb6bf=>{const _0x5e6fd0=_0x3aadf5;if(!_0x2eb6bf[_0x5e6fd0(0xe1)][_0x5e6fd0(0x136)])return!0x1;const _0x3dbd26=[],_0x5ed88a=new Set(),_0x1d2662=this[_0x5e6fd0(0x16c)];let _0x2bb303=!0x1;for(const _0x204a3b of _0x8d8528[_0x5e6fd0(0xf0)][_0x5e6fd0(0x117)][_0x5e6fd0(0xdf)][_0x5e6fd0(0x161)]())if(_0x5e6fd0(0x152)===_0x204a3b[_0x5e6fd0(0xf9)]||_0x5e6fd0(0x145)===_0x204a3b[_0x5e6fd0(0xf9)]){let _0x12ac90=_0x5e6fd0(0xd9)==_0x204a3b[_0x5e6fd0(0xbe)]?_0x204a3b[_0x5e6fd0(0x102)][_0x5e6fd0(0xea)]:_0x204a3b[_0x5e6fd0(0x102)][_0x5e6fd0(0x126)];if(!_0x12ac90)continue;_0x12ac90['is'](_0x5e6fd0(0xd9))&&(_0x12ac90=_0x12ac90[_0x5e6fd0(0xea)]),_0x4730cf(_0x12ac90);}for(const _0x561d66 of _0x3dbd26[_0x5e6fd0(0x167)]()){const {match:_0x2992be,item:_0x568227}=_0x561d66,_0x1714e6=_0x2eb6bf[_0x5e6fd0(0x118)](_0x568227,_0x2992be[_0x5e6fd0(0x13b)]),_0x3fc7d0=_0x1714e6[_0x5e6fd0(0xf2)](_0x2992be[0x0][_0x5e6fd0(0x17e)]),_0x2ca74d=_0x2eb6bf[_0x5e6fd0(0x106)](_0x1714e6,_0x3fc7d0),_0x418b62=_0x2992be[0x0],_0x1697f2=_0x418b62[_0x5e6fd0(0xf3)](this[_0x5e6fd0(0x155)][_0x5e6fd0(0x17e)],_0x418b62[_0x5e6fd0(0x17e)]-this[_0x5e6fd0(0xc9)][_0x5e6fd0(0x17e)]),_0x41fb5b=_0x165c8a(_0x2ca74d);if(_0x41fb5b[_0x5e6fd0(0xe8)]('id',_0x1697f2),_0x5e6fd0(0x138)===this[_0x5e6fd0(0x163)](_0x1697f2)){const _0x4675ab=_0x2eb6bf[_0x5e6fd0(0xf1)](_0x5e6fd0(0x134),{'id':_0x1697f2});_0x2eb6bf[_0x5e6fd0(0x145)](_0x2ca74d),_0x8d8528[_0x5e6fd0(0xf0)][_0x5e6fd0(0xe5)](_0x4675ab,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x57f849=_0x2eb6bf[_0x5e6fd0(0xf1)](_0x5e6fd0(0x192),_0x41fb5b);_0x8d8528[_0x5e6fd0(0xf0)][_0x5e6fd0(0xe0)][_0x5e6fd0(0xf6)](_0x2ca74d[_0x5e6fd0(0xc4)],_0x5e6fd0(0x192))?_0x8d8528[_0x5e6fd0(0xf0)][_0x5e6fd0(0xe5)](_0x57f849,_0x2ca74d):_0x2eb6bf[_0x5e6fd0(0x145)](_0x2ca74d);}_0x2bb303=!0x0;}return _0x2bb303;function _0x4730cf(_0x1890ca){const _0x3ab2ce=_0x5e6fd0;let _0x34e394='',_0x79d529=0x0;if(!_0x5ed88a[_0x3ab2ce(0xd0)](_0x1890ca))for(const _0x4f74c8 of _0x1890ca[_0x3ab2ce(0x193)]()){const _0x56e84f=_0x4f74c8[_0x3ab2ce(0x110)];if(_0x4f74c8['is'](_0x3ab2ce(0xd9))&&(''===_0x34e394&&_0x4f74c8[_0x3ab2ce(0x11a)]&&(_0x79d529=_0x4f74c8[_0x3ab2ce(0x11a)]),_0x34e394+=_0x4f74c8[_0x3ab2ce(0x14f)]),!_0x56e84f||_0x56e84f['is'](_0x3ab2ce(0xbc))){for(const _0x3553df of _0x34e394[_0x3ab2ce(0x194)](_0x1d2662))_0x3553df[_0x3ab2ce(0x13b)]=_0x3553df[_0x3ab2ce(0x13b)]+_0x79d529,_0x3dbd26[_0x3ab2ce(0x14a)]({'match':_0x3553df,'item':_0x1890ca});_0x5ed88a[_0x3ab2ce(0xe7)](_0x1890ca),_0x34e394='';}_0x4f74c8['is'](_0x3ab2ce(0xbc))&&_0x4730cf(_0x4f74c8);}}function _0x165c8a(_0x36dc56){const _0x25587e=_0x5e6fd0,_0x503394=_0x36dc56[_0x25587e(0x12f)](),_0x2d2484=_0x503394[_0x25587e(0x17d)]()[_0x25587e(0x182)],_0x350cef=new Map(_0x2d2484[_0x25587e(0x178)]());for(const _0x1d1817 of _0x503394)for(const [_0x51b151,_0x2b84f5]of _0x350cef)_0x1d1817[_0x25587e(0xf8)](_0x51b151)!==_0x2b84f5&&_0x350cef[_0x25587e(0xdb)](_0x51b151);return _0x350cef;}});}}
|