@ckeditor/ckeditor5-merge-fields 0.0.0-nightly-20240717.0 → 0.0.0-nightly-20240718.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-merge-fields",
3
- "version": "0.0.0-nightly-20240717.0",
3
+ "version": "0.0.0-nightly-20240718.0",
4
4
  "description": "Merge fields feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,8 +12,8 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "0.0.0-nightly-20240717.0",
16
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240717.0",
15
+ "ckeditor5": "0.0.0-nightly-20240718.0",
16
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240718.0",
17
17
  "lodash-es": "4.17.21"
18
18
  },
19
19
  "license": "SEE LICENSE IN LICENSE.md",
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5963b9,_0xbe6132){var _0x3c0f7c=_0x54d5,_0x5c4d68=_0x5963b9();while(!![]){try{var _0x49e5ca=parseInt(_0x3c0f7c(0xd2))/0x1*(-parseInt(_0x3c0f7c(0xd5))/0x2)+-parseInt(_0x3c0f7c(0xdb))/0x3*(parseInt(_0x3c0f7c(0xda))/0x4)+parseInt(_0x3c0f7c(0xd9))/0x5+parseInt(_0x3c0f7c(0xd4))/0x6+parseInt(_0x3c0f7c(0xd8))/0x7+-parseInt(_0x3c0f7c(0xd6))/0x8*(-parseInt(_0x3c0f7c(0xd7))/0x9)+parseInt(_0x3c0f7c(0xd3))/0xa;if(_0x49e5ca===_0xbe6132)break;else _0x5c4d68['push'](_0x5c4d68['shift']());}catch(_0x50a429){_0x5c4d68['push'](_0x5c4d68['shift']());}}}(_0x1d45,0x469b8));export{default as MergeFields}from'./mergefields.js';export{default as MergeFieldsEditing}from'./mergefieldsediting.js';export{default as MergeFieldsUI}from'./mergefieldsui.js';function _0x54d5(_0x404d7c,_0x26cd7a){var _0x1d4528=_0x1d45();return _0x54d5=function(_0x54d5ae,_0x3ec1f6){_0x54d5ae=_0x54d5ae-0xd2;var _0x3037a3=_0x1d4528[_0x54d5ae];return _0x3037a3;},_0x54d5(_0x404d7c,_0x26cd7a);}import'./augmentation.js';function _0x1d45(){var _0x3f8701=['1149656JbWAOx','9mfuvIB','730093dlfdth','2552110SFrgmV','2348uXCocg','2811tpqmyv','599PfJCfa','1764870yuiBEL','942540yHVjdr','844OBiMKH'];_0x1d45=function(){return _0x3f8701;};return _0x1d45();}
23
+ (function(_0x14f6d0,_0x555804){var _0x507433=_0xc4e8,_0x430ecc=_0x14f6d0();while(!![]){try{var _0x5dfd65=parseInt(_0x507433(0x1f8))/0x1*(-parseInt(_0x507433(0x1f5))/0x2)+-parseInt(_0x507433(0x1f7))/0x3*(parseInt(_0x507433(0x1f0))/0x4)+parseInt(_0x507433(0x1f9))/0x5*(parseInt(_0x507433(0x1f3))/0x6)+parseInt(_0x507433(0x1ed))/0x7*(parseInt(_0x507433(0x1f6))/0x8)+-parseInt(_0x507433(0x1f4))/0x9*(-parseInt(_0x507433(0x1ef))/0xa)+parseInt(_0x507433(0x1f1))/0xb+-parseInt(_0x507433(0x1ee))/0xc*(-parseInt(_0x507433(0x1f2))/0xd);if(_0x5dfd65===_0x555804)break;else _0x430ecc['push'](_0x430ecc['shift']());}catch(_0x230d87){_0x430ecc['push'](_0x430ecc['shift']());}}}(_0x1b3d,0x9e334));export{default as MergeFields}from'./mergefields.js';function _0xc4e8(_0x31666f,_0x1e51c9){var _0x1b3daa=_0x1b3d();return _0xc4e8=function(_0xc4e85c,_0x37c195){_0xc4e85c=_0xc4e85c-0x1ed;var _0x3224d9=_0x1b3daa[_0xc4e85c];return _0x3224d9;},_0xc4e8(_0x31666f,_0x1e51c9);}function _0x1b3d(){var _0x42267a=['2570XizUkZ','12KOFCkm','4757368xrcKhS','13evgZcJ','17016mtYZUM','26073LGKLJC','942VreKjT','2790904CGYbpI','1187661bJJKiu','2571djSpRt','1515yiYUJS','14XcPKPv','3750468wAajcV'];_0x1b3d=function(){return _0x42267a;};return _0x1b3d();}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
- function _0x2cfd(_0x33ddcd,_0x4fd055){const _0x311896=_0x3118();return _0x2cfd=function(_0x2cfd8b,_0x1038af){_0x2cfd8b=_0x2cfd8b-0x1da;let _0x5ca0ee=_0x311896[_0x2cfd8b];return _0x5ca0ee;},_0x2cfd(_0x33ddcd,_0x4fd055);}const _0x419144=_0x2cfd;(function(_0x28f13f,_0x3fa1c5){const _0x1fe3b0=_0x2cfd,_0x1773a0=_0x28f13f();while(!![]){try{const _0x1dba5d=parseInt(_0x1fe3b0(0x1f0))/0x1*(-parseInt(_0x1fe3b0(0x1eb))/0x2)+-parseInt(_0x1fe3b0(0x1df))/0x3+-parseInt(_0x1fe3b0(0x1e7))/0x4+-parseInt(_0x1fe3b0(0x1dd))/0x5*(-parseInt(_0x1fe3b0(0x1e2))/0x6)+-parseInt(_0x1fe3b0(0x1ed))/0x7+parseInt(_0x1fe3b0(0x1e3))/0x8+parseInt(_0x1fe3b0(0x1e6))/0x9;if(_0x1dba5d===_0x3fa1c5)break;else _0x1773a0['push'](_0x1773a0['shift']());}catch(_0x4b4133){_0x1773a0['push'](_0x1773a0['shift']());}}}(_0x3118,0x1e411));function _0x3118(){const _0x19ca7c=['editor','refresh','102390jsurAJ','string','418719nucfLx','focus','document','54Klxjkf','1681944uOuVts','schema','change','1274859qjHOkn','592960IkMuZz','createElement','insertObject','after','242raBbrp','execute','748419kzkyAx','mergeField','model','145zswrLJ','checkChild','selection','isEnabled'];_0x3118=function(){return _0x19ca7c;};return _0x3118();}import{Command as _0x3f365c}from'ckeditor5/src/core.js';export default class r extends _0x3f365c{[_0x419144(0x1dc)](){const _0x3d52d6=_0x419144,_0x4c33da=this[_0x3d52d6(0x1db)][_0x3d52d6(0x1ef)],_0x213721=_0x4c33da[_0x3d52d6(0x1e4)][_0x3d52d6(0x1f1)](_0x4c33da[_0x3d52d6(0x1e1)][_0x3d52d6(0x1f2)][_0x3d52d6(0x1e0)],_0x3d52d6(0x1ee));this[_0x3d52d6(0x1da)]=_0x213721;}[_0x419144(0x1ec)](_0x253957){const _0x4de333=_0x419144;if(!_0x253957||_0x4de333(0x1de)!=typeof _0x253957)return;const _0x2705c8=this[_0x4de333(0x1db)][_0x4de333(0x1ef)];_0x2705c8[_0x4de333(0x1e5)](_0x152119=>{const _0x517b6f=_0x4de333,_0x2f0a3f=_0x152119[_0x517b6f(0x1e8)](_0x517b6f(0x1ee),{'id':_0x253957});_0x2705c8[_0x517b6f(0x1e9)](_0x2f0a3f,_0x2705c8[_0x517b6f(0x1e1)][_0x517b6f(0x1f2)],0x0,{'setSelection':_0x517b6f(0x1ea)});});}}
23
+ const _0x2ba621=_0x215b;function _0x215b(_0x362b1a,_0x5bca74){const _0x37a66e=_0x37a6();return _0x215b=function(_0x215bd0,_0x1e0919){_0x215bd0=_0x215bd0-0x1ba;let _0x30a43a=_0x37a66e[_0x215bd0];return _0x30a43a;},_0x215b(_0x362b1a,_0x5bca74);}function _0x37a6(){const _0x14e105=['1169LvVqcr','string','isEnabled','3664zfgsFo','26WVfopJ','checkChild','47949nxARVG','15WKzDEY','10pBNwBW','3705012JdhiCv','execute','focus','document','239024hBDUEl','refresh','6996979tsyJRC','schema','after','388156PFGfCF','change','model','editor','selection','createElement','mergeField','insertObject','2452374VnrlLU'];_0x37a6=function(){return _0x14e105;};return _0x37a6();}(function(_0x46f512,_0x55a98f){const _0x3b296e=_0x215b,_0x7b99ed=_0x46f512();while(!![]){try{const _0x2a57d7=parseInt(_0x3b296e(0x1cf))/0x1+-parseInt(_0x3b296e(0x1c1))/0x2*(parseInt(_0x3b296e(0x1c3))/0x3)+parseInt(_0x3b296e(0x1ca))/0x4*(parseInt(_0x3b296e(0x1c4))/0x5)+-parseInt(_0x3b296e(0x1bc))/0x6+-parseInt(_0x3b296e(0x1bd))/0x7*(-parseInt(_0x3b296e(0x1c0))/0x8)+-parseInt(_0x3b296e(0x1c6))/0x9*(parseInt(_0x3b296e(0x1c5))/0xa)+parseInt(_0x3b296e(0x1cc))/0xb;if(_0x2a57d7===_0x55a98f)break;else _0x7b99ed['push'](_0x7b99ed['shift']());}catch(_0x340340){_0x7b99ed['push'](_0x7b99ed['shift']());}}}(_0x37a6,0x3d7af));import{Command as _0xa11466}from'ckeditor5/src/core.js';export default class r extends _0xa11466{[_0x2ba621(0x1cb)](){const _0x242486=_0x2ba621,_0x49590b=this[_0x242486(0x1d2)][_0x242486(0x1d1)],_0x47aae7=_0x49590b[_0x242486(0x1cd)][_0x242486(0x1c2)](_0x49590b[_0x242486(0x1c9)][_0x242486(0x1d3)][_0x242486(0x1c8)],_0x242486(0x1ba));this[_0x242486(0x1bf)]=_0x47aae7;}[_0x2ba621(0x1c7)](_0xa7102f){const _0x3406ca=_0x2ba621;if(!_0xa7102f||_0x3406ca(0x1be)!=typeof _0xa7102f)return;const _0x5656e0=this[_0x3406ca(0x1d2)][_0x3406ca(0x1d1)];_0x5656e0[_0x3406ca(0x1d0)](_0x7329aa=>{const _0xc4e1d2=_0x3406ca,_0x4e81d6=_0x7329aa[_0xc4e1d2(0x1d4)](_0xc4e1d2(0x1ba),{'id':_0xa7102f});_0x5656e0[_0xc4e1d2(0x1bb)](_0x4e81d6,_0x5656e0[_0xc4e1d2(0x1c9)][_0xc4e1d2(0x1d3)],0x0,{'setSelection':_0xc4e1d2(0x1ce)});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e3d2b=_0x1bb3;(function(_0x22ec6c,_0x180e6b){const _0x41c5ec=_0x1bb3,_0x257640=_0x22ec6c();while(!![]){try{const _0x29f389=-parseInt(_0x41c5ec(0xb8))/0x1*(parseInt(_0x41c5ec(0xb1))/0x2)+parseInt(_0x41c5ec(0xb4))/0x3*(-parseInt(_0x41c5ec(0xbb))/0x4)+-parseInt(_0x41c5ec(0xc2))/0x5*(parseInt(_0x41c5ec(0xb5))/0x6)+parseInt(_0x41c5ec(0xb7))/0x7+-parseInt(_0x41c5ec(0xb6))/0x8+-parseInt(_0x41c5ec(0xbc))/0x9+parseInt(_0x41c5ec(0xc4))/0xa*(parseInt(_0x41c5ec(0xc1))/0xb);if(_0x29f389===_0x180e6b)break;else _0x257640['push'](_0x257640['shift']());}catch(_0x2a348c){_0x257640['push'](_0x257640['shift']());}}}(_0x1f5c,0x1a9bc));import{Plugin as _0x45a9bb}from'ckeditor5/src/core.js';import{Widget as _0x1220f0}from'ckeditor5/src/widget.js';import _0x2aa78d from'./mergefieldsediting.js';function _0x1bb3(_0x4fb6f2,_0x13a06e){const _0x1f5c8d=_0x1f5c();return _0x1bb3=function(_0x1bb361,_0x5529d0){_0x1bb361=_0x1bb361-0xb0;let _0x218f82=_0x1f5c8d[_0x1bb361];return _0x218f82;},_0x1bb3(_0x4fb6f2,_0x13a06e);}import _0x58fb51 from'./mergefieldsui.js';export default class l extends _0x45a9bb{static get[_0x3e3d2b(0xc0)](){const _0x131db8=_0x3e3d2b;return[_0x131db8(0xbd),_0x2aa78d,_0x58fb51,_0x1220f0];}static get[_0x3e3d2b(0xbe)](){const _0x445e18=_0x3e3d2b;return _0x445e18(0xb3);}[_0x3e3d2b(0xc3)](){const _0x4a12bb=_0x3e3d2b;return this[_0x4a12bb(0xb9)][_0x4a12bb(0xc5)][_0x4a12bb(0xc6)](_0x2aa78d)[_0x4a12bb(0xc3)]();}[_0x3e3d2b(0xba)](){const _0x271fc3=_0x3e3d2b,_0x596850=this[_0x271fc3(0xb9)][_0x271fc3(0xc5)][_0x271fc3(0xc6)](_0x2aa78d),_0x5694b7={},_0x276e03=this[_0x271fc3(0xc3)]();for(const _0x3a9719 of _0x276e03)_0x5694b7[_0x3a9719]=_0x596850[_0x271fc3(0xb2)](_0x3a9719);return _0x5694b7;}[_0x3e3d2b(0xb0)](_0x577532,_0x56f47a=!0x1){const _0x405341=_0x3e3d2b,_0x570313=this[_0x405341(0xb9)][_0x405341(0xc5)][_0x405341(0xc6)](_0x2aa78d),_0x500e4f={},_0x5827a6=this[_0x405341(0xc3)]();for(const _0x1e7dc2 of _0x5827a6){let _0xbbf42b=_0x570313[_0x405341(0xbf)](_0x1e7dc2,_0x577532);null===_0xbbf42b&&_0x56f47a&&(_0xbbf42b=_0x570313[_0x405341(0xb2)](_0x1e7dc2)),_0x500e4f[_0x1e7dc2]=_0xbbf42b;}return _0x500e4f;}}function _0x1f5c(){const _0x4e2457=['getMergeFieldDefaultValue','MergeFields','282HDCRrO','54aVQjBG','428376uQpVTq','1135974EHyWZR','3TKIubz','editor','getDefaultValues','7764bmetUh','46197uDBgtp','Mention','pluginName','getMergeFieldValue','requires','781ofLFrY','51115hnYuoD','getMergeFieldsIds','56090XBGote','plugins','get','getDataSetValues','78928zUfcDp'];_0x1f5c=function(){return _0x4e2457;};return _0x1f5c();}
23
+ const _0x3b2a1b=_0xfb67;(function(_0x267669,_0x16dfa5){const _0x5ae5dc=_0xfb67,_0x7ae6f6=_0x267669();while(!![]){try{const _0x2bbaf3=-parseInt(_0x5ae5dc(0x1a7))/0x1*(-parseInt(_0x5ae5dc(0x1a1))/0x2)+parseInt(_0x5ae5dc(0x1a2))/0x3*(parseInt(_0x5ae5dc(0x1a9))/0x4)+-parseInt(_0x5ae5dc(0x19f))/0x5*(-parseInt(_0x5ae5dc(0x19e))/0x6)+-parseInt(_0x5ae5dc(0x1ab))/0x7*(parseInt(_0x5ae5dc(0x1b3))/0x8)+-parseInt(_0x5ae5dc(0x1aa))/0x9+parseInt(_0x5ae5dc(0x1b4))/0xa*(-parseInt(_0x5ae5dc(0x1a0))/0xb)+-parseInt(_0x5ae5dc(0x19d))/0xc;if(_0x2bbaf3===_0x16dfa5)break;else _0x7ae6f6['push'](_0x7ae6f6['shift']());}catch(_0x2a33a9){_0x7ae6f6['push'](_0x7ae6f6['shift']());}}}(_0x24fb,0x65cb7));import{Plugin as _0x5edaab}from'ckeditor5/src/core.js';function _0x24fb(){const _0x1e3784=['205404OSIsWX','plugins','editor','MergeFields','get','1pMhMQq','getMergeFieldsIds','20VEpsDr','6276798cdAkHf','7CVOZpv','pluginName','getDefaultValues','getMergeFieldValue','getMergeFieldDefaultValue','Mention','requires','getDataSetValues','3735680nYdOoL','10HsKbLH','2999892OjVDKT','9942APSzwG','2480SPeJnT','1695826MkKyaM','1642556KGgixa'];_0x24fb=function(){return _0x1e3784;};return _0x24fb();}function _0xfb67(_0x47f82f,_0x12a4b9){const _0x24fbe1=_0x24fb();return _0xfb67=function(_0xfb67d7,_0x3adafe){_0xfb67d7=_0xfb67d7-0x19d;let _0x47e1d5=_0x24fbe1[_0xfb67d7];return _0x47e1d5;},_0xfb67(_0x47f82f,_0x12a4b9);}import{Widget as _0x59d1f4}from'ckeditor5/src/widget.js';import _0x5cc7c0 from'./mergefieldsediting.js';import _0x23c304 from'./mergefieldsui.js';export default class l extends _0x5edaab{static get[_0x3b2a1b(0x1b1)](){const _0x5b3c52=_0x3b2a1b;return[_0x5b3c52(0x1b0),_0x5cc7c0,_0x23c304,_0x59d1f4];}static get[_0x3b2a1b(0x1ac)](){const _0x303dbc=_0x3b2a1b;return _0x303dbc(0x1a5);}[_0x3b2a1b(0x1a8)](){const _0x5b7049=_0x3b2a1b;return this[_0x5b7049(0x1a4)][_0x5b7049(0x1a3)][_0x5b7049(0x1a6)](_0x5cc7c0)[_0x5b7049(0x1a8)]();}[_0x3b2a1b(0x1ad)](){const _0xe25c45=_0x3b2a1b,_0x8917a8=this[_0xe25c45(0x1a4)][_0xe25c45(0x1a3)][_0xe25c45(0x1a6)](_0x5cc7c0),_0x1d4c89={},_0x35a944=this[_0xe25c45(0x1a8)]();for(const _0x2ccd30 of _0x35a944)_0x1d4c89[_0x2ccd30]=_0x8917a8[_0xe25c45(0x1af)](_0x2ccd30);return _0x1d4c89;}[_0x3b2a1b(0x1b2)](_0x424091,_0x26c6bc=!0x1){const _0xd70ef1=_0x3b2a1b,_0x3994a8=this[_0xd70ef1(0x1a4)][_0xd70ef1(0x1a3)][_0xd70ef1(0x1a6)](_0x5cc7c0),_0x1873a7={},_0x1a10d8=this[_0xd70ef1(0x1a8)]();for(const _0x8bb59b of _0x1a10d8){let _0x4aee7f=_0x3994a8[_0xd70ef1(0x1ae)](_0x8bb59b,_0x424091);null===_0x4aee7f&&_0x26c6bc&&(_0x4aee7f=_0x3994a8[_0xd70ef1(0x1af)](_0x8bb59b)),_0x1873a7[_0x8bb59b]=_0x4aee7f;}return _0x1873a7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f3d34=_0x2944;(function(_0x47d42c,_0x1db788){const _0x2896d5=_0x2944,_0x210243=_0x47d42c();while(!![]){try{const _0x19e8cd=parseInt(_0x2896d5(0x126))/0x1+-parseInt(_0x2896d5(0x142))/0x2+-parseInt(_0x2896d5(0x125))/0x3*(-parseInt(_0x2896d5(0x14c))/0x4)+parseInt(_0x2896d5(0x147))/0x5+parseInt(_0x2896d5(0x10d))/0x6+-parseInt(_0x2896d5(0xca))/0x7+parseInt(_0x2896d5(0x15b))/0x8;if(_0x19e8cd===_0x1db788)break;else _0x210243['push'](_0x210243['shift']());}catch(_0x3de469){_0x210243['push'](_0x210243['shift']());}}}(_0x2337,0xb5b86));import{toWidget as _0x54bb62,viewToModelPositionOutsideModelElement as _0x26a1ae}from'ckeditor5/src/widget.js';import{Plugin as _0x21b106}from'ckeditor5/src/core.js';import{IconView as _0x404a6e}from'ckeditor5/src/ui.js';import{CKEditorError as _0x43fc26}from'ckeditor5/src/utils.js';import _0x11ce23 from'./insertmergefieldcommand.js';function _0x2337(){const _0x127121=['createRangeIn','mergeFields.definitions','position','merge-fields-invalid-preview-mode-set','_mergeFieldRegExp','editingDowncast','setCustomProperty','startsWith','_createTextualMergeField','ck-merge-field__content','groupId','has','merge-fields-invalid-license-key','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','ck-merge-field__icon','merge-fields-data-set-not-found','mergeFields.suffix','MergeFieldsEditing','split','concat','_validateConfig','getAttribute','mergeFields.previewModes','function','move','_getDefaultDefinition','reduce','2616198GkClyV','next','createUIElement','mergeFieldsLicenseKeyTrial','\x20]+','type','_mergeFieldElements','join','matchAll','document','set','_registerConversionPostFixer','value','reconvertItem','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','createContainerElement','createRange','slice','mergeFieldsLicenseKeyTrialLimit:operations','checkChild','delete','getShiftedBy','init','mapper','363iKNXcO','1310402XKfnRG','insert','createPositionAt','_validatePreviewMode','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.','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','listenTo','WARNING_MISSING_DATA','reverse','define','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','_mergeFieldPrefix','startOffset','viewToModelPosition','getChanges','commands','find','for','createPositionBefore','createElement','_getAvailablePreviewModes','nodeAfter','render','mergeFieldsLicenseKeyValid','consume','ck-merge-field','_trackAddedMergeFields','modelCursor','1571324SMTHzf','WARNING_MISSING_DEFAULT_VALUE','$labels','_refreshMergeFields','push','27560RaeRdm','name','defaultValue','ck-merge-field__affix','merge-fields-trial-license-key-reached-limit-changes','7448hPJFLw','_licenseKeyCheckInterval','dataPipeline:transparentRendering','availablePreviewModes','dataDowncast','differ','config','_getFlattenedMergeFieldDefinitions','getChildren','definitions','getMergeFieldDefaultValue','registerPostFixer','licenseKey','WARNING_MISSING_DEFINITION','register','3985072EtodWD','index','_prepareViewElementData','change:previewMode','model','merge-fields-invalid-preview-modes-configuration','schema','add','rootName','flattenedMergeFieldDefinitions','merge-fields-invalid-prefix-or-suffix','merge-fields-invalid-id','_defineSchema','includes','offsetSize','test','getItems','isLocal','path','editor','upcast','span','text','getDefinition','getLabel','mergeField','merge-fields-duplicate-data-set-id','merge-fields-prefix-and-suffix-must-differ','destroy','_defineConverters','mergeFields.initialPreviewMode','info','hasClass','merge-fields-duplicate-merge-field-id','toDomElement','from','conversion','start','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','insertObject','merge-fields-duplicate-group-id','every','values','_createMergeFieldWidget','pluginName','createPositionAfter','previewMode','6617765FYSHYT','element','$text','nextSibling','mergeFields.prefix','mergeFields.dataSets','createText','_mergeFieldSuffix','$defaultValues','innerHTML','get','length','mergeFieldsLicenseKeyInvalid','root','elementToElement','getPath','insertMergeField','forEach','getMergeFieldValue','$dataSets','getDocumentMergeFieldsIds','$graveyard','map','getMergeFieldsIds','batch','remove','mergeFieldsData','label','previewMergeFields','editing','data','change:data','ck-merge-field\x20ck-merge-field_with-value','parent','endsWith','mergeFieldStatus','appendChild','$inlineObject','bind','getAttributes'];_0x2337=function(){return _0x127121;};return _0x2337();}import _0xee60f9 from'./previewmergefieldscommand.js';function _0x2944(_0x3a7dc0,_0x5b7d3d){const _0x2337a1=_0x2337();return _0x2944=function(_0x294486,_0x59e4a7){_0x294486=_0x294486-0x9f;let _0x52d097=_0x2337a1[_0x294486];return _0x52d097;},_0x2944(_0x3a7dc0,_0x5b7d3d);}import _0x2a3924 from'../theme/icons/warning.svg';export default class o extends _0x21b106{static get[_0x3f3d34(0xc7)](){const _0x5cf4d2=_0x3f3d34;return _0x5cf4d2(0x103);}constructor(_0x3526c8){const _0x17910c=_0x3f3d34;super(_0x3526c8),this[_0x17910c(0xa4)]=[],_0x3526c8[_0x17910c(0x152)][_0x17910c(0x12f)](_0x17910c(0x108),[_0x17910c(0x144),_0x17910c(0xd2),_0x17910c(0xdd)]),_0x3526c8[_0x17910c(0x152)][_0x17910c(0x12f)](_0x17910c(0xcf),[]),_0x3526c8[_0x17910c(0x152)][_0x17910c(0x12f)](_0x17910c(0xf3),[]),_0x3526c8[_0x17910c(0x152)][_0x17910c(0x12f)](_0x17910c(0xce),'{{'),_0x3526c8[_0x17910c(0x152)][_0x17910c(0x12f)](_0x17910c(0x102),'}}'),this[_0x17910c(0x131)]=_0x3526c8[_0x17910c(0x152)][_0x17910c(0xd4)](_0x17910c(0xce)),this[_0x17910c(0xd1)]=_0x3526c8[_0x17910c(0x152)][_0x17910c(0xd4)](_0x17910c(0x102)),this[_0x17910c(0xa4)]=this[_0x17910c(0x153)](),this[_0x17910c(0x106)]();const _0x5f272e='\x5c'+this[_0x17910c(0x131)][_0x17910c(0x104)]('')[_0x17910c(0x114)]('\x5c'),_0x3daac8='\x5c'+this[_0x17910c(0xd1)][_0x17910c(0x104)]('')[_0x17910c(0x114)]('\x5c');this[_0x17910c(0xf6)]=new RegExp('('+_0x5f272e+'[^'+(_0x5f272e+_0x3daac8)+_0x17910c(0x111)+_0x3daac8+')','g'),this[_0x17910c(0x14f)]=this[_0x17910c(0x13a)]();const _0x1ad2fa=_0x3526c8[_0x17910c(0x152)][_0x17910c(0xd4)](_0x17910c(0xb9))||this[_0x17910c(0x14f)][0x0];this[_0x17910c(0x129)](_0x1ad2fa),this[_0x17910c(0x117)](_0x17910c(0xc9),_0x1ad2fa),this[_0x17910c(0x113)]=new Set(),this[_0x17910c(0x14d)]=null;}[_0x3f3d34(0x123)](){const _0xba8a71=_0x3f3d34,_0x5d41ae=this[_0xba8a71(0xae)];_0x5d41ae[_0xba8a71(0x135)][_0xba8a71(0xa2)](_0xba8a71(0xda),new _0x11ce23(_0x5d41ae)),_0x5d41ae[_0xba8a71(0x135)][_0xba8a71(0xa2)](_0xba8a71(0xe6),new _0xee60f9(_0x5d41ae)),this[_0xba8a71(0xa7)](),this[_0xba8a71(0xb8)](),this['on'](_0xba8a71(0x15e),(_0x29e19f,_0x5263f7,_0x4ab1c5)=>{const _0x15796f=_0xba8a71;this[_0x15796f(0x129)](_0x4ab1c5),this[_0x15796f(0x145)]();}),this[_0xba8a71(0x12c)](_0x5d41ae[_0xba8a71(0x9f)][_0xba8a71(0x116)],_0xba8a71(0xe9),()=>{const _0x33f328=_0xba8a71;this[_0x33f328(0x140)]();}),_0x5d41ae[_0xba8a71(0xe7)][_0xba8a71(0x124)]['on'](_0xba8a71(0x133),_0x26a1ae(_0x5d41ae[_0xba8a71(0x9f)],_0x144ba6=>_0x144ba6[_0xba8a71(0xbb)](_0xba8a71(0x13f)))),this[_0xba8a71(0x118)](),this[_0xba8a71(0x158)]=_0x5d41ae[_0xba8a71(0x152)][_0xba8a71(0xd4)](_0xba8a71(0x158));const _0x2a1c62=this[_0xba8a71(0xae)];this[_0xba8a71(0x14d)]=setInterval(()=>{const _0x1f1508=_0xba8a71;let _0x867e3c;for(const _0xae9aae in _0x2a1c62){const _0x51a3e2=_0xae9aae,_0x508c7a=_0x2a1c62[_0x51a3e2];if(_0x1f1508(0x110)===_0x508c7a||_0x1f1508(0xd6)===_0x508c7a||_0x1f1508(0x13d)===_0x508c7a||_0x1f1508(0x11f)===_0x508c7a){delete _0x2a1c62[_0x51a3e2],_0x867e3c=_0x508c7a;break;}}if(_0x1f1508(0xd6)===_0x867e3c)throw clearInterval(this[_0x1f1508(0x14d)]),new _0x43fc26(_0x1f1508(0xfe),null);if(_0x1f1508(0x110)===_0x867e3c&&console[_0x1f1508(0xba)](_0x1f1508(0x12a)),_0x1f1508(0x11f)===_0x867e3c)throw clearInterval(this[_0x1f1508(0x14d)]),new _0x43fc26(_0x1f1508(0x14b),null);_0x1f1508(0x13d)===_0x867e3c&&clearInterval(this[_0x1f1508(0x14d)]);},0x3e8);}[_0x3f3d34(0xb3)](_0x22efff){const _0x34d658=_0x3f3d34,_0x4a7add=this[_0x34d658(0xb2)](_0x22efff);return _0x4a7add[_0x34d658(0xe5)]||_0x4a7add['id'];}[_0x3f3d34(0x156)](_0x31d27b){const _0x346a43=_0x3f3d34,_0x18e7a8=this[_0x346a43(0xb2)](_0x31d27b);return void 0x0===_0x18e7a8[_0x346a43(0x149)]?null:_0x346a43(0x109)==typeof _0x18e7a8[_0x346a43(0x149)]?_0x18e7a8[_0x346a43(0x149)](this[_0x346a43(0xae)]):_0x18e7a8[_0x346a43(0x149)];}[_0x3f3d34(0xdc)](_0x5233bc,_0xc5c5cb){const _0x44fe9e=_0x3f3d34,_0x3d5917=this[_0x44fe9e(0xae)][_0x44fe9e(0x152)][_0x44fe9e(0xd4)](_0x44fe9e(0xcf))[_0x44fe9e(0x136)](_0x637984=>_0x637984['id']===_0xc5c5cb);if(!_0x3d5917)throw new _0x43fc26(_0x44fe9e(0x101),null);const _0xef966a=this[_0x44fe9e(0xb2)](_0x5233bc),_0x191aa0=_0x3d5917[_0x44fe9e(0xc5)][_0xef966a['id']];return void 0x0===_0x191aa0?null:_0x44fe9e(0x109)==typeof _0x191aa0?_0x191aa0(this[_0x44fe9e(0xae)]):_0x191aa0;}[_0x3f3d34(0xde)](){const _0x26fc96=_0x3f3d34,_0x25ff79=new Set();for(const _0x277c85 of this[_0x26fc96(0x113)])_0x26fc96(0xdf)!==_0x277c85[_0x26fc96(0xd7)][_0x26fc96(0xa3)]&&_0x25ff79[_0x26fc96(0xa2)](_0x277c85[_0x26fc96(0x107)]('id'));return Array[_0x26fc96(0xbe)](_0x25ff79);}[_0x3f3d34(0xe1)](){const _0x557168=_0x3f3d34,_0x1b1041=this[_0x557168(0xa4)][_0x557168(0xe0)](_0x44afb9=>_0x44afb9['id']),_0x266155=this[_0x557168(0xde)]();return Array[_0x557168(0xbe)](new Set([..._0x1b1041,..._0x266155]));}[_0x3f3d34(0xb2)](_0x1a24ad){const _0x12bdef=_0x3f3d34;return this[_0x12bdef(0xa4)][_0x12bdef(0x136)](_0xc27fb2=>_0xc27fb2['id']===_0x1a24ad)||this[_0x12bdef(0x10b)](_0x1a24ad);}[_0x3f3d34(0xb7)](){const _0xc8bb7e=_0x3f3d34;this[_0xc8bb7e(0x14d)]&&clearInterval(this[_0xc8bb7e(0x14d)]);}[_0x3f3d34(0x153)](){const _0xed8b2a=_0x3f3d34,_0x556f13=new Set(),_0x3495eb=this[_0xed8b2a(0xae)];return this[_0xed8b2a(0xae)][_0xed8b2a(0x152)][_0xed8b2a(0xd4)](_0xed8b2a(0xf3))[_0xed8b2a(0x10c)]((_0x1582ce,_0x15ee84)=>{const _0x283f67=_0xed8b2a;if(_0x283f67(0xfc)in _0x15ee84){if(_0x556f13[_0x283f67(0xfd)](_0x15ee84[_0x283f67(0xfc)]))throw new _0x43fc26(_0x283f67(0xc3),_0x3495eb,{'duplicateId':_0x15ee84[_0x283f67(0xfc)]});_0x556f13[_0x283f67(0xa2)](_0x15ee84[_0x283f67(0xfc)]);}return _0x283f67(0xfc)in _0x15ee84?function _0x8fea1b(_0x391ea2,_0x426116){const _0x9864f6=_0x283f67;for(const _0x217fea of _0x426116[_0x9864f6(0x155)]){if(_0x9864f6(0xfc)in _0x217fea){if(_0x556f13[_0x9864f6(0xfd)](_0x217fea[_0x9864f6(0xfc)]))throw new _0x43fc26(_0x9864f6(0xc3),_0x3495eb,{'duplicateId':_0x217fea[_0x9864f6(0xfc)]});_0x556f13[_0x9864f6(0xa2)](_0x217fea[_0x9864f6(0xfc)]);}_0x391ea2=_0x9864f6(0xfc)in _0x217fea?_0x8fea1b(_0x391ea2,_0x217fea):_0x391ea2[_0x9864f6(0x105)](_0x217fea);}return _0x391ea2;}[_0x283f67(0xf0)](_0x3495eb)(_0x1582ce,_0x15ee84):_0x1582ce[_0x283f67(0x105)](_0x15ee84);},new Array());}[_0x3f3d34(0x106)](){const _0x1d14cc=_0x3f3d34,_0x54daf7=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x54daf7[_0x1d14cc(0xaa)](this[_0x1d14cc(0x131)])||!_0x54daf7[_0x1d14cc(0xaa)](this[_0x1d14cc(0xd1)]))throw new _0x43fc26(_0x1d14cc(0xa5),this,{'prefix':this[_0x1d14cc(0x131)],'suffix':this[_0x1d14cc(0xd1)]});const _0x162424=/^[a-zA-Z0-9_.-]+$/,_0x765c11=new Set();if(this[_0x1d14cc(0xa4)][_0x1d14cc(0xe0)](_0x21efe9=>{const _0xcc440e=_0x1d14cc;if(!_0x162424[_0xcc440e(0xaa)](_0x21efe9['id']))throw new _0x43fc26(_0xcc440e(0xa6),this,{'incorrectId':_0x21efe9['id']});if(_0x765c11[_0xcc440e(0xfd)](_0x21efe9['id']))throw new _0x43fc26(_0xcc440e(0xbc),this,{'duplicateId':_0x21efe9['id']});_0x765c11[_0xcc440e(0xa2)](_0x21efe9['id']);}),this[_0x1d14cc(0x131)]===this[_0x1d14cc(0xd1)])throw new _0x43fc26(_0x1d14cc(0xb6),this);const _0x9523ca=this[_0x1d14cc(0xae)][_0x1d14cc(0x152)][_0x1d14cc(0xd4)](_0x1d14cc(0x108)),_0x27a312=[_0x1d14cc(0x144),_0x1d14cc(0xd2),_0x1d14cc(0xdd)];if(!_0x9523ca[_0x1d14cc(0xd5)]||!_0x9523ca[_0x1d14cc(0xc4)](_0x92b574=>_0x27a312[_0x1d14cc(0xa8)](_0x92b574)))throw new _0x43fc26(_0x1d14cc(0xa0),this,{'invalidConfig':_0x9523ca});const _0x31580e=new Set(),_0x9af5c=this[_0x1d14cc(0xae)][_0x1d14cc(0x152)][_0x1d14cc(0xd4)](_0x1d14cc(0xcf));for(const _0x8a88c3 of _0x9af5c){if(_0x31580e[_0x1d14cc(0xfd)](_0x8a88c3['id']))throw new _0x43fc26(_0x1d14cc(0xb5),this,{'duplicateId':_0x8a88c3['id']});_0x31580e[_0x1d14cc(0xa2)](_0x8a88c3['id']);}}[_0x3f3d34(0x13a)](){const _0x139a09=_0x3f3d34,_0x2bc225=this[_0x139a09(0xae)][_0x139a09(0x152)][_0x139a09(0xd4)](_0x139a09(0x108)),_0x4c4b35=[];if(_0x2bc225[_0x139a09(0xa8)](_0x139a09(0x144))&&_0x4c4b35[_0x139a09(0x146)](_0x139a09(0x144)),_0x2bc225[_0x139a09(0xa8)](_0x139a09(0xd2))&&_0x4c4b35[_0x139a09(0x146)](_0x139a09(0xd2)),_0x2bc225[_0x139a09(0xa8)](_0x139a09(0xdd))){const _0x5c2280=this[_0x139a09(0xae)][_0x139a09(0x152)][_0x139a09(0xd4)](_0x139a09(0xcf));_0x4c4b35[_0x139a09(0x146)](..._0x5c2280[_0x139a09(0xe0)](_0x2af30f=>_0x2af30f['id']));}return _0x4c4b35;}[_0x3f3d34(0xa7)](){const _0x7522cd=_0x3f3d34;this[_0x7522cd(0xae)][_0x7522cd(0x9f)][_0x7522cd(0xa1)][_0x7522cd(0x15a)](_0x7522cd(0xb4),{'inheritAllFrom':_0x7522cd(0xef),'allowAttributes':['id'],'allowWhere':_0x7522cd(0xcc)});}[_0x3f3d34(0xb8)](){const _0x407d4c=_0x3f3d34,_0x47b6e0=this[_0x407d4c(0xae)][_0x407d4c(0xbf)];_0x47b6e0[_0x407d4c(0x137)](_0x407d4c(0xaf))[_0x407d4c(0xa2)](_0x12db49=>{const _0x18ea8d=_0x407d4c;_0x12db49['on'](_0x18ea8d(0xb1),(_0x5a1201,_0x1726ec,_0x2cd378)=>{const _0x2612aa=_0x18ea8d,{consumable:_0x18552e,writer:_0x1eb207,safeInsert:_0x25a43e,updateConversionResult:_0x5e6ddb}=_0x2cd378,{viewItem:_0x3dfd4e}=_0x1726ec;if(!_0x18552e[_0x2612aa(0xaa)](_0x3dfd4e))return;const _0x56f149=_0x3dfd4e[_0x2612aa(0xe8)][_0x2612aa(0x104)](this[_0x2612aa(0xf6)])[_0x2612aa(0xe0)](_0x466939=>_0x1eb207[_0x2612aa(0xd0)](_0x466939));if(0x1===_0x56f149[_0x2612aa(0xd5)])return;_0x18552e[_0x2612aa(0x13e)](_0x3dfd4e);let _0x5324a2=_0x1726ec[_0x2612aa(0x141)];const _0x24d4f1=_0x1726ec[_0x2612aa(0x141)];for(const _0x590444 of _0x56f149)if(_0x590444[_0x2612aa(0xe8)][_0x2612aa(0xf9)](this[_0x2612aa(0x131)])&&_0x590444[_0x2612aa(0xe8)][_0x2612aa(0xec)](this[_0x2612aa(0xd1)])){const _0x599cde=_0x590444[_0x2612aa(0xe8)][_0x2612aa(0x11e)](this[_0x2612aa(0x131)][_0x2612aa(0xd5)],_0x590444[_0x2612aa(0xe8)][_0x2612aa(0xd5)]-this[_0x2612aa(0xd1)][_0x2612aa(0xd5)]),_0x477d08=_0x1eb207[_0x2612aa(0x139)](_0x2612aa(0xb4),{'id':_0x599cde});if(!_0x25a43e(_0x477d08,_0x5324a2))continue;if(_0x5e6ddb(_0x477d08,_0x1726ec),_0x477d08[_0x2612aa(0xd9)]()[_0x2612aa(0xd5)]>_0x5324a2[_0x2612aa(0xad)][_0x2612aa(0xd5)]){const _0x311c9e=_0x1eb207[_0x2612aa(0x11d)](_0x24d4f1,_0x5324a2);_0x1eb207[_0x2612aa(0x10a)](_0x311c9e,_0x1eb207[_0x2612aa(0x138)](_0x477d08));}_0x5324a2=_0x1eb207[_0x2612aa(0xc8)](_0x477d08);}else _0x1eb207[_0x2612aa(0x127)](_0x590444,_0x5324a2),_0x5324a2=_0x5324a2[_0x2612aa(0x122)](_0x590444[_0x2612aa(0xa9)]);});}),_0x47b6e0[_0x407d4c(0x137)](_0x407d4c(0xf7))[_0x407d4c(0xd8)]({'model':_0x407d4c(0xb4),'view':(_0x114697,{writer:_0x185ce5})=>this[_0x407d4c(0xc6)](_0x114697,_0x185ce5)}),_0x47b6e0[_0x407d4c(0x137)](_0x407d4c(0x150))[_0x407d4c(0xd8)]({'model':_0x407d4c(0xb4),'view':(_0x1f35dd,{writer:_0xc307bc,options:_0x49d17f})=>this[_0x407d4c(0xfa)](_0x1f35dd,_0xc307bc,_0x49d17f[_0x407d4c(0xe4)])});}[_0x3f3d34(0xc6)](_0x46a54b,_0x50cc1c){const _0x399b55=_0x3f3d34,{label:_0x571cab,classes:_0x4a7d9a,status:_0x45367e}=this[_0x399b55(0x15d)](_0x46a54b),_0x4c2839=this[_0x399b55(0x131)],_0xfb8666=this[_0x399b55(0xd1)];let _0xefb2a4;return _0x399b55(0x144)===this[_0x399b55(0xc9)]?_0xefb2a4=_0x50cc1c[_0x399b55(0x11c)](_0x399b55(0xb0),{'class':_0x4a7d9a},[_0x50cc1c[_0x399b55(0x10f)](_0x399b55(0xb0),{'class':_0x399b55(0x14a)},function(_0x406725){const _0x504b4f=_0x399b55,_0x227e99=this[_0x504b4f(0xbd)](_0x406725);return _0x227e99[_0x504b4f(0xd3)]=_0x4c2839,_0x227e99;}),_0x50cc1c[_0x399b55(0x11c)](_0x399b55(0xb0),{'class':_0x399b55(0xfb)},_0x50cc1c[_0x399b55(0xd0)](String(_0x571cab))),_0x50cc1c[_0x399b55(0x10f)](_0x399b55(0xb0),{'class':_0x399b55(0x14a)},function(_0x58d2ac){const _0x120af1=_0x399b55,_0x8c93ad=this[_0x120af1(0xbd)](_0x58d2ac);return _0x8c93ad[_0x120af1(0xd3)]=_0xfb8666,_0x8c93ad;})]):_0x45367e?(_0xefb2a4=_0x50cc1c[_0x399b55(0x11c)](_0x399b55(0xb0),{'class':_0x4a7d9a},[_0x50cc1c[_0x399b55(0xd0)](String(_0x571cab)),_0x50cc1c[_0x399b55(0x10f)](_0x399b55(0xb0),{'class':_0x399b55(0x100)},function(_0x19957e){const _0x5f235d=_0x399b55,_0x59ba70=this[_0x5f235d(0xbd)](_0x19957e),_0x7d83d=new _0x404a6e();return _0x7d83d[_0x5f235d(0x117)]({'content':_0x2a3924}),_0x7d83d[_0x5f235d(0x13c)](),_0x59ba70[_0x5f235d(0xee)](_0x7d83d[_0x5f235d(0xcb)]),_0x59ba70;})]),_0x50cc1c[_0x399b55(0xf8)](_0x399b55(0xed),_0x45367e,_0xefb2a4)):_0xefb2a4=_0x50cc1c[_0x399b55(0x11c)](_0x399b55(0xb0),{'class':_0x4a7d9a},[_0x50cc1c[_0x399b55(0xd0)](String(_0x571cab))]),_0x50cc1c[_0x399b55(0xf8)](_0x399b55(0xb4),!0x0,_0xefb2a4),_0x54bb62(_0xefb2a4,_0x50cc1c);}[_0x3f3d34(0x15d)](_0x46d913){const _0x47b301=_0x3f3d34,_0x21a7bb=this[_0x47b301(0xa4)][_0x47b301(0x136)](_0x579318=>_0x579318['id']===_0x46d913[_0x47b301(0x107)]('id'));if(!_0x21a7bb)return _0x47b301(0x144)===this[_0x47b301(0xc9)]?{'label':_0x46d913[_0x47b301(0x107)]('id'),'classes':_0x47b301(0x13f)}:{'label':_0x46d913[_0x47b301(0x107)]('id'),'classes':_0x47b301(0x11b),'status':_0x47b301(0x159)};const _0x59880b=this[_0x47b301(0xb3)](_0x21a7bb['id']),_0x504025=this[_0x47b301(0x156)](_0x46d913[_0x47b301(0x107)]('id'));if(_0x47b301(0x144)===this[_0x47b301(0xc9)])return{'label':_0x59880b,'classes':_0x47b301(0x13f)};if(_0x47b301(0xd2)===this[_0x47b301(0xc9)])return _0x504025?{'label':_0x504025,'classes':_0x47b301(0xea)}:{'label':_0x59880b,'classes':_0x47b301(0xff),'status':_0x47b301(0x143)};const _0x5bf486=this[_0x47b301(0xae)][_0x47b301(0x152)][_0x47b301(0xd4)](_0x47b301(0xcf))[_0x47b301(0x136)](_0x49e45b=>_0x49e45b['id']===this[_0x47b301(0xc9)])[_0x47b301(0xc5)][_0x21a7bb['id']];return _0x5bf486?{'label':_0x47b301(0x109)==typeof _0x5bf486?_0x5bf486(this[_0x47b301(0xae)]):_0x5bf486,'classes':_0x47b301(0xea)}:_0x504025?{'label':_0x504025,'classes':_0x47b301(0x12b),'status':_0x47b301(0xc1)}:{'label':_0x59880b,'classes':_0x47b301(0x130),'status':_0x47b301(0x12d)};}[_0x3f3d34(0xfa)](_0x37b9be,_0x3f7322,_0x3838b4){const _0x31bc4d=_0x3f3d34,_0x30c9ac=_0x37b9be[_0x31bc4d(0x107)]('id'),_0x513172=_0x3838b4&&_0x3838b4[_0x30c9ac]?_0x3838b4[_0x30c9ac]:this[_0x31bc4d(0x131)]+_0x30c9ac+this[_0x31bc4d(0xd1)],_0x5d1017=_0x3f7322[_0x31bc4d(0xd0)](_0x513172),_0x559802=_0x3f7322[_0x31bc4d(0x11c)](_0x31bc4d(0xb0));return _0x3f7322[_0x31bc4d(0xf8)](_0x31bc4d(0x14e),!0x0,_0x559802),_0x3f7322[_0x31bc4d(0x127)](_0x3f7322[_0x31bc4d(0x128)](_0x559802,0x0),_0x5d1017),_0x559802;}[_0x3f3d34(0x145)](){const _0x2c3857=_0x3f3d34;this[_0x2c3857(0x113)][_0x2c3857(0xdb)](_0x338d00=>{const _0x7f2830=_0x2c3857;_0x7f2830(0xdf)!==_0x338d00[_0x7f2830(0xd7)][_0x7f2830(0xa3)]&&this[_0x7f2830(0xae)][_0x7f2830(0xe7)][_0x7f2830(0x11a)](_0x338d00);});}[_0x3f3d34(0x129)](_0xadda2f){const _0x6a658f=_0x3f3d34;if(!this[_0x6a658f(0x14f)][_0x6a658f(0xa8)](_0xadda2f))throw new _0x43fc26(_0x6a658f(0xf5),this,{'availablePreviewModes':this[_0x6a658f(0x14f)],'previewMode':_0xadda2f});}[_0x3f3d34(0x140)](){const _0x2aa305=_0x3f3d34;for(const _0x13410f of this[_0x2aa305(0xae)][_0x2aa305(0x9f)][_0x2aa305(0x116)][_0x2aa305(0x151)][_0x2aa305(0x134)]({'includeChangesInGraveyard':!0x0})){if(_0x2aa305(0x127)!==_0x13410f[_0x2aa305(0x112)]||_0x2aa305(0xcc)===_0x13410f[_0x2aa305(0x148)])continue;if(_0x2aa305(0xb4)===_0x13410f[_0x2aa305(0x148)]){this[_0x2aa305(0x113)][_0x2aa305(0xa2)](_0x13410f[_0x2aa305(0xf4)][_0x2aa305(0x13b)]);continue;}const _0x68f748=this[_0x2aa305(0xae)][_0x2aa305(0x9f)][_0x2aa305(0xf2)](_0x13410f[_0x2aa305(0xf4)][_0x2aa305(0x13b)]);for(const _0x1b2629 of _0x68f748[_0x2aa305(0xab)]())_0x1b2629['is'](_0x2aa305(0xcb),_0x2aa305(0xb4))&&this[_0x2aa305(0x113)][_0x2aa305(0xa2)](_0x1b2629);}}[_0x3f3d34(0x118)](){const _0x5ecf61=_0x3f3d34,_0xbef0bc=this[_0x5ecf61(0xae)];_0xbef0bc[_0x5ecf61(0x9f)][_0x5ecf61(0x116)][_0x5ecf61(0x157)](_0x575278=>{const _0x35451a=_0x5ecf61;if(!_0x575278[_0x35451a(0xe2)][_0x35451a(0xac)])return!0x1;const _0x1b8490=[],_0x134b4d=new Set(),_0x1a558c=this[_0x35451a(0xf6)];let _0x4b0e60=!0x1;for(const _0x4756b of _0xbef0bc[_0x35451a(0x9f)][_0x35451a(0x116)][_0x35451a(0x151)][_0x35451a(0x134)]())if(_0x35451a(0x127)===_0x4756b[_0x35451a(0x112)]||_0x35451a(0xe3)===_0x4756b[_0x35451a(0x112)]){let _0x142293=_0x35451a(0xcc)==_0x4756b[_0x35451a(0x148)]?_0x4756b[_0x35451a(0xf4)][_0x35451a(0xeb)]:_0x4756b[_0x35451a(0xf4)][_0x35451a(0x13b)];if(!_0x142293)continue;_0x142293['is'](_0x35451a(0xcc))&&(_0x142293=_0x142293[_0x35451a(0xeb)]),_0x27c94f(_0x142293);}for(const _0x371bf1 of _0x1b8490[_0x35451a(0x12e)]()){const {match:_0x19c813,item:_0x967e35}=_0x371bf1,_0xd92fcf=_0x575278[_0x35451a(0x128)](_0x967e35,_0x19c813[_0x35451a(0x15c)]),_0x4dd633=_0xd92fcf[_0x35451a(0x122)](_0x19c813[0x0][_0x35451a(0xd5)]),_0x9b724b=_0x575278[_0x35451a(0x11d)](_0xd92fcf,_0x4dd633),_0x402f89=_0x19c813[0x0],_0x4574ab=_0x402f89[_0x35451a(0x11e)](this[_0x35451a(0x131)][_0x35451a(0xd5)],_0x402f89[_0x35451a(0xd5)]-this[_0x35451a(0xd1)][_0x35451a(0xd5)]),_0x57d751=_0xf30648(_0x9b724b);_0x57d751[_0x35451a(0x117)]('id',_0x4574ab);const _0x514fb4=_0x575278[_0x35451a(0x139)](_0x35451a(0xb4),_0x57d751);_0xbef0bc[_0x35451a(0x9f)][_0x35451a(0xa1)][_0x35451a(0x120)](_0x9b724b[_0x35451a(0xc0)],_0x35451a(0xb4))?_0xbef0bc[_0x35451a(0x9f)][_0x35451a(0xc2)](_0x514fb4,_0x9b724b):_0x575278[_0x35451a(0xe3)](_0x9b724b),_0x4b0e60=!0x0;}return _0x4b0e60;function _0x27c94f(_0x1a0930){const _0x5a9413=_0x35451a;let _0x54c721='',_0xd68ba6=0x0;if(!_0x134b4d[_0x5a9413(0xfd)](_0x1a0930))for(const _0x335092 of _0x1a0930[_0x5a9413(0x154)]()){const _0xb76952=_0x335092[_0x5a9413(0xcd)];if(_0x335092['is'](_0x5a9413(0xcc))&&(''===_0x54c721&&_0x335092[_0x5a9413(0x132)]&&(_0xd68ba6=_0x335092[_0x5a9413(0x132)]),_0x54c721+=_0x335092[_0x5a9413(0xe8)]),!_0xb76952||_0xb76952['is'](_0x5a9413(0xcb))){for(const _0x8c0fea of _0x54c721[_0x5a9413(0x115)](_0x1a558c))_0x8c0fea[_0x5a9413(0x15c)]=_0x8c0fea[_0x5a9413(0x15c)]+_0xd68ba6,_0x1b8490[_0x5a9413(0x146)]({'match':_0x8c0fea,'item':_0x1a0930});_0x134b4d[_0x5a9413(0xa2)](_0x1a0930),_0x54c721='';}_0x335092['is'](_0x5a9413(0xcb))&&_0x27c94f(_0x335092);}}function _0xf30648(_0x3c03ac){const _0x43bcfd=_0x35451a,_0x510c2c=_0x3c03ac[_0x43bcfd(0xab)](),_0x4bb690=_0x510c2c[_0x43bcfd(0x10e)]()[_0x43bcfd(0x119)],_0x134d5e=new Map(_0x4bb690[_0x43bcfd(0xf1)]());for(const _0x5d5c98 of _0x510c2c)for(const [_0x1f38fa,_0x2d7146]of _0x134d5e)_0x5d5c98[_0x43bcfd(0x107)](_0x1f38fa)!==_0x2d7146&&_0x134d5e[_0x43bcfd(0x121)](_0x1f38fa);return _0x134d5e;}});}[_0x3f3d34(0x10b)](_0x135c5f){return{'id':_0x135c5f};}}
23
+ const _0x213bbb=_0x3786;(function(_0x266b33,_0x113086){const _0x24c3ff=_0x3786,_0x4852cb=_0x266b33();while(!![]){try{const _0x1c32c5=-parseInt(_0x24c3ff(0x212))/0x1+-parseInt(_0x24c3ff(0x185))/0x2*(parseInt(_0x24c3ff(0x16f))/0x3)+-parseInt(_0x24c3ff(0x1b4))/0x4*(-parseInt(_0x24c3ff(0x181))/0x5)+-parseInt(_0x24c3ff(0x187))/0x6+-parseInt(_0x24c3ff(0x206))/0x7+parseInt(_0x24c3ff(0x1fd))/0x8+parseInt(_0x24c3ff(0x18d))/0x9;if(_0x1c32c5===_0x113086)break;else _0x4852cb['push'](_0x4852cb['shift']());}catch(_0x54fba6){_0x4852cb['push'](_0x4852cb['shift']());}}}(_0x4b01,0xcc8cb));import{toWidget as _0x4499ba,viewToModelPositionOutsideModelElement as _0x265b61}from'ckeditor5/src/widget.js';function _0x3786(_0x59de9b,_0x19fc56){const _0x4b013f=_0x4b01();return _0x3786=function(_0x37867d,_0x2be449){_0x37867d=_0x37867d-0x15e;let _0x3a511f=_0x4b013f[_0x37867d];return _0x3a511f;},_0x3786(_0x59de9b,_0x19fc56);}import{Plugin as _0x3d5b55}from'ckeditor5/src/core.js';import{IconView as _0x5747f7}from'ckeditor5/src/ui.js';function _0x4b01(){const _0x52ae4f=['modelCursor','createUIElement','has','merge-fields-duplicate-group-id','createPositionAfter','merge-fields-duplicate-merge-field-id','createRange','editing','name','_mergeFieldRegExp','WARNING_MISSING_DEFINITION','$inlineObject','mergeFieldsLicenseKeyTrial','merge-fields-invalid-preview-mode-set','mergeFields.definitions','WARNING_MISSING_DATA','merge-fields-invalid-prefix-or-suffix','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','185776CLuPJC','innerHTML','mapper','mergeFields.initialPreviewMode','mergeFields.previewModes','add','nextSibling','getMergeFieldValue','move','mergeFields.dataSets','availablePreviewModes','insertMergeField','mergeFields.prefix','position','pluginName','editingDowncast','toDomElement','length','appendChild','_mergeFieldPrefix','_licenseKeyCheckInterval','merge-fields-duplicate-data-set-id','find','getMergeFieldDefaultValue','groupId','_trackAddedMergeFields','slice','_getFlattenedMergeFieldDefinitions','getDocumentMergeFieldsIds','next','consume','_mergeFieldSuffix','checkChild','differ','ck-merge-field','path','licenseKey','config','value','startOffset','startsWith','defaultValue','schema','registerPostFixer','mergeFields.suffix','function','destroy','$dataSets','define','join','elementToElement','get','upcast','push','mergeFieldsData','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','index','merge-fields-invalid-preview-modes-configuration','mergeFieldsLicenseKeyValid','batch','createContainerElement','conversion','parent','$defaultValues','offsetSize','text','_refreshMergeFields','ck-merge-field__affix','_validateConfig','merge-fields-invalid-id','insertObject','change:previewMode','model','3349616NWVOek','reduce','_getDefaultDefinition','merge-fields-prefix-and-suffix-must-differ','matchAll','_createMergeFieldWidget','merge-fields-data-set-not-found','createPositionBefore','commands','9000516qCeEJP','includes','reconvertItem','values','viewToModelPosition','previewMergeFields','init','previewMode','change:data','rootName','createPositionAt','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','629282eYXOjU','span','definitions','_prepareViewElementData','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.','dataDowncast','mergeField','MergeFieldsEditing','label','root','createElement','WARNING_MISSING_DEFAULT_VALUE','for','getItems','element','$text','dataPipeline:transparentRendering','data','_validatePreviewMode','_registerConversionPostFixer','type','createText','map','delete','merge-fields-trial-license-key-reached-limit-changes','listenTo','test','getAttributes','register','mergeFieldStatus','36zTmkUa','mergeFieldsLicenseKeyInvalid','createRangeIn','hasClass','reverse','_defineConverters','info','from','getShiftedBy','forEach','ck-merge-field__icon','ck-merge-field\x20ck-merge-field_with-value','render','setCustomProperty','isLocal','split','every','getAttribute','140aRalFC','remove','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','$graveyard','122494Xeuwns','set','9871272QdLsEi','getChildren','insert','getDefinition','mergeFieldsLicenseKeyTrialLimit:operations','document','30725523iVAIGr','$labels','merge-fields-invalid-license-key','getMergeFieldsIds','bind','start','getPath','editor','nodeAfter','_getAvailablePreviewModes','getChanges','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','_mergeFieldElements','getLabel','_createTextualMergeField','endsWith','\x20]+','_defineSchema','concat','flattenedMergeFieldDefinitions','ck-merge-field__content'];_0x4b01=function(){return _0x52ae4f;};return _0x4b01();}import{CKEditorError as _0x487b5d}from'ckeditor5/src/utils.js';import _0x58fd6b from'./insertmergefieldcommand.js';import _0x522448 from'./previewmergefieldscommand.js';import _0x399341 from'../theme/icons/warning.svg';export default class o extends _0x3d5b55{static get[_0x213bbb(0x1c2)](){const _0x252774=_0x213bbb;return _0x252774(0x219);}constructor(_0x4cc83d){const _0x43942e=_0x213bbb;super(_0x4cc83d),this[_0x43942e(0x1a0)]=[],_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e4)](_0x43942e(0x1b8),[_0x43942e(0x18e),_0x43942e(0x1f3),_0x43942e(0x1e3)]),_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e4)](_0x43942e(0x1bd),[]),_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e4)](_0x43942e(0x1b0),[]),_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e4)](_0x43942e(0x1c0),'{{'),_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e4)](_0x43942e(0x1e0),'}}'),this[_0x43942e(0x1c7)]=_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e7)](_0x43942e(0x1c0)),this[_0x43942e(0x1d3)]=_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e7)](_0x43942e(0x1e0)),this[_0x43942e(0x1a0)]=this[_0x43942e(0x1cf)](),this[_0x43942e(0x1f8)]();const _0x26e493='\x5c'+this[_0x43942e(0x1c7)][_0x43942e(0x17e)]('')[_0x43942e(0x1e5)]('\x5c'),_0x575f5e='\x5c'+this[_0x43942e(0x1d3)][_0x43942e(0x17e)]('')[_0x43942e(0x1e5)]('\x5c');this[_0x43942e(0x1ab)]=new RegExp('('+_0x26e493+'[^'+(_0x26e493+_0x575f5e)+_0x43942e(0x19d)+_0x575f5e+')','g'),this[_0x43942e(0x1be)]=this[_0x43942e(0x196)]();const _0x3a0f57=_0x4cc83d[_0x43942e(0x1d9)][_0x43942e(0x1e7)](_0x43942e(0x1b7))||this[_0x43942e(0x1be)][0x0];this[_0x43942e(0x163)](_0x3a0f57),this[_0x43942e(0x186)](_0x43942e(0x20d),_0x3a0f57),this[_0x43942e(0x199)]=new Set(),this[_0x43942e(0x1c8)]=null;}[_0x213bbb(0x20c)](){const _0x725be4=_0x213bbb,_0x71ba01=this[_0x725be4(0x194)];_0x71ba01[_0x725be4(0x205)][_0x725be4(0x1b9)](_0x725be4(0x1bf),new _0x58fd6b(_0x71ba01)),_0x71ba01[_0x725be4(0x205)][_0x725be4(0x1b9)](_0x725be4(0x20b),new _0x522448(_0x71ba01)),this[_0x725be4(0x19e)](),this[_0x725be4(0x174)](),this['on'](_0x725be4(0x1fb),(_0x2705de,_0x8acc0f,_0x5d2c55)=>{const _0x201890=_0x725be4;this[_0x201890(0x163)](_0x5d2c55),this[_0x201890(0x1f6)]();}),this[_0x725be4(0x16a)](_0x71ba01[_0x725be4(0x1fc)][_0x725be4(0x18c)],_0x725be4(0x20e),()=>{const _0x5b1dd8=_0x725be4;this[_0x5b1dd8(0x1cd)]();}),_0x71ba01[_0x725be4(0x1a9)][_0x725be4(0x1b6)]['on'](_0x725be4(0x20a),_0x265b61(_0x71ba01[_0x725be4(0x1fc)],_0x5d192d=>_0x5d192d[_0x725be4(0x172)](_0x725be4(0x1d6)))),this[_0x725be4(0x164)](),this[_0x725be4(0x1d8)]=_0x71ba01[_0x725be4(0x1d9)][_0x725be4(0x1e7)](_0x725be4(0x1d8));const _0x13c945=this[_0x725be4(0x194)];this[_0x725be4(0x1c8)]=setInterval(()=>{const _0x5d2df5=_0x725be4;let _0x2d84b4;for(const _0x2d7570 in _0x13c945){const _0x130298=_0x2d7570,_0x20db5c=_0x13c945[_0x130298];if(_0x5d2df5(0x1ae)===_0x20db5c||_0x5d2df5(0x170)===_0x20db5c||_0x5d2df5(0x1ee)===_0x20db5c||_0x5d2df5(0x18b)===_0x20db5c){delete _0x13c945[_0x130298],_0x2d84b4=_0x20db5c;break;}}if(_0x5d2df5(0x170)===_0x2d84b4)throw clearInterval(this[_0x5d2df5(0x1c8)]),new _0x487b5d(_0x5d2df5(0x18f),null);if(_0x5d2df5(0x1ae)===_0x2d84b4&&console[_0x5d2df5(0x175)](_0x5d2df5(0x216)),_0x5d2df5(0x18b)===_0x2d84b4)throw clearInterval(this[_0x5d2df5(0x1c8)]),new _0x487b5d(_0x5d2df5(0x169),null);_0x5d2df5(0x1ee)===_0x2d84b4&&clearInterval(this[_0x5d2df5(0x1c8)]);},0x3e8);}[_0x213bbb(0x19a)](_0x29c68c){const _0x2e1d80=_0x213bbb,_0x5c2bae=this[_0x2e1d80(0x18a)](_0x29c68c);return _0x5c2bae[_0x2e1d80(0x21a)]||_0x5c2bae['id'];}[_0x213bbb(0x1cb)](_0x383d29){const _0xe01743=_0x213bbb,_0x126e77=this[_0xe01743(0x18a)](_0x383d29);return void 0x0===_0x126e77[_0xe01743(0x1dd)]?null:_0xe01743(0x1e1)==typeof _0x126e77[_0xe01743(0x1dd)]?_0x126e77[_0xe01743(0x1dd)](this[_0xe01743(0x194)]):_0x126e77[_0xe01743(0x1dd)];}[_0x213bbb(0x1bb)](_0x1aa858,_0x545d0b){const _0x114519=_0x213bbb,_0x50b8fc=this[_0x114519(0x194)][_0x114519(0x1d9)][_0x114519(0x1e7)](_0x114519(0x1bd))[_0x114519(0x1ca)](_0x46c886=>_0x46c886['id']===_0x545d0b);if(!_0x50b8fc)throw new _0x487b5d(_0x114519(0x203),null);const _0x17d5f1=this[_0x114519(0x18a)](_0x1aa858),_0x5560d4=_0x50b8fc[_0x114519(0x209)][_0x17d5f1['id']];return void 0x0===_0x5560d4?null:_0x114519(0x1e1)==typeof _0x5560d4?_0x5560d4(this[_0x114519(0x194)]):_0x5560d4;}[_0x213bbb(0x1d0)](){const _0x23a531=_0x213bbb,_0x26db20=new Set();for(const _0x41967b of this[_0x23a531(0x199)])_0x23a531(0x184)!==_0x41967b[_0x23a531(0x21b)][_0x23a531(0x20f)]&&_0x26db20[_0x23a531(0x1b9)](_0x41967b[_0x23a531(0x180)]('id'));return Array[_0x23a531(0x176)](_0x26db20);}[_0x213bbb(0x190)](){const _0x12315b=_0x213bbb,_0x124458=this[_0x12315b(0x1a0)][_0x12315b(0x167)](_0x58489e=>_0x58489e['id']),_0x37c515=this[_0x12315b(0x1d0)]();return Array[_0x12315b(0x176)](new Set([..._0x124458,..._0x37c515]));}[_0x213bbb(0x18a)](_0x2e09ed){const _0x15cd0c=_0x213bbb;return this[_0x15cd0c(0x1a0)][_0x15cd0c(0x1ca)](_0xd4cfbe=>_0xd4cfbe['id']===_0x2e09ed)||this[_0x15cd0c(0x1ff)](_0x2e09ed);}[_0x213bbb(0x1e2)](){const _0xea33c8=_0x213bbb;this[_0xea33c8(0x1c8)]&&clearInterval(this[_0xea33c8(0x1c8)]);}[_0x213bbb(0x1cf)](){const _0x4405ed=_0x213bbb,_0xfeb5d9=new Set(),_0x53f1eb=this[_0x4405ed(0x194)];return this[_0x4405ed(0x194)][_0x4405ed(0x1d9)][_0x4405ed(0x1e7)](_0x4405ed(0x1b0))[_0x4405ed(0x1fe)]((_0x4cdfbb,_0x4f118e)=>{const _0x49f610=_0x4405ed;if(_0x49f610(0x1cc)in _0x4f118e){if(_0xfeb5d9[_0x49f610(0x1a4)](_0x4f118e[_0x49f610(0x1cc)]))throw new _0x487b5d(_0x49f610(0x1a5),_0x53f1eb,{'duplicateId':_0x4f118e[_0x49f610(0x1cc)]});_0xfeb5d9[_0x49f610(0x1b9)](_0x4f118e[_0x49f610(0x1cc)]);}return _0x49f610(0x1cc)in _0x4f118e?function _0x550f9b(_0x4b2329,_0x742c5f){const _0x5b6733=_0x49f610;for(const _0x28eb28 of _0x742c5f[_0x5b6733(0x214)]){if(_0x5b6733(0x1cc)in _0x28eb28){if(_0xfeb5d9[_0x5b6733(0x1a4)](_0x28eb28[_0x5b6733(0x1cc)]))throw new _0x487b5d(_0x5b6733(0x1a5),_0x53f1eb,{'duplicateId':_0x28eb28[_0x5b6733(0x1cc)]});_0xfeb5d9[_0x5b6733(0x1b9)](_0x28eb28[_0x5b6733(0x1cc)]);}_0x4b2329=_0x5b6733(0x1cc)in _0x28eb28?_0x550f9b(_0x4b2329,_0x28eb28):_0x4b2329[_0x5b6733(0x19f)](_0x28eb28);}return _0x4b2329;}[_0x49f610(0x191)](_0x53f1eb)(_0x4cdfbb,_0x4f118e):_0x4cdfbb[_0x49f610(0x19f)](_0x4f118e);},new Array());}[_0x213bbb(0x1f8)](){const _0xdf5641=_0x213bbb,_0x44931b=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x44931b[_0xdf5641(0x16b)](this[_0xdf5641(0x1c7)])||!_0x44931b[_0xdf5641(0x16b)](this[_0xdf5641(0x1d3)]))throw new _0x487b5d(_0xdf5641(0x1b2),this,{'prefix':this[_0xdf5641(0x1c7)],'suffix':this[_0xdf5641(0x1d3)]});const _0x2209d8=/^[a-zA-Z0-9_.-]+$/,_0xb027d4=new Set();if(this[_0xdf5641(0x1a0)][_0xdf5641(0x167)](_0x297ec9=>{const _0x62b96c=_0xdf5641;if(!_0x2209d8[_0x62b96c(0x16b)](_0x297ec9['id']))throw new _0x487b5d(_0x62b96c(0x1f9),this,{'incorrectId':_0x297ec9['id']});if(_0xb027d4[_0x62b96c(0x1a4)](_0x297ec9['id']))throw new _0x487b5d(_0x62b96c(0x1a7),this,{'duplicateId':_0x297ec9['id']});_0xb027d4[_0x62b96c(0x1b9)](_0x297ec9['id']);}),this[_0xdf5641(0x1c7)]===this[_0xdf5641(0x1d3)])throw new _0x487b5d(_0xdf5641(0x200),this);const _0x1f4bc5=this[_0xdf5641(0x194)][_0xdf5641(0x1d9)][_0xdf5641(0x1e7)](_0xdf5641(0x1b8)),_0x1c7e92=[_0xdf5641(0x18e),_0xdf5641(0x1f3),_0xdf5641(0x1e3)];if(!_0x1f4bc5[_0xdf5641(0x1c5)]||!_0x1f4bc5[_0xdf5641(0x17f)](_0x355c2d=>_0x1c7e92[_0xdf5641(0x207)](_0x355c2d)))throw new _0x487b5d(_0xdf5641(0x1ed),this,{'invalidConfig':_0x1f4bc5});const _0x5eb939=new Set(),_0x53ade8=this[_0xdf5641(0x194)][_0xdf5641(0x1d9)][_0xdf5641(0x1e7)](_0xdf5641(0x1bd));for(const _0x58beb6 of _0x53ade8){if(_0x5eb939[_0xdf5641(0x1a4)](_0x58beb6['id']))throw new _0x487b5d(_0xdf5641(0x1c9),this,{'duplicateId':_0x58beb6['id']});_0x5eb939[_0xdf5641(0x1b9)](_0x58beb6['id']);}}[_0x213bbb(0x196)](){const _0x538fd6=_0x213bbb,_0x1a8e0e=this[_0x538fd6(0x194)][_0x538fd6(0x1d9)][_0x538fd6(0x1e7)](_0x538fd6(0x1b8)),_0x49c5c6=[];if(_0x1a8e0e[_0x538fd6(0x207)](_0x538fd6(0x18e))&&_0x49c5c6[_0x538fd6(0x1e9)](_0x538fd6(0x18e)),_0x1a8e0e[_0x538fd6(0x207)](_0x538fd6(0x1f3))&&_0x49c5c6[_0x538fd6(0x1e9)](_0x538fd6(0x1f3)),_0x1a8e0e[_0x538fd6(0x207)](_0x538fd6(0x1e3))){const _0xc69996=this[_0x538fd6(0x194)][_0x538fd6(0x1d9)][_0x538fd6(0x1e7)](_0x538fd6(0x1bd));_0x49c5c6[_0x538fd6(0x1e9)](..._0xc69996[_0x538fd6(0x167)](_0x4f0f98=>_0x4f0f98['id']));}return _0x49c5c6;}[_0x213bbb(0x19e)](){const _0x50baf4=_0x213bbb;this[_0x50baf4(0x194)][_0x50baf4(0x1fc)][_0x50baf4(0x1de)][_0x50baf4(0x16d)](_0x50baf4(0x218),{'inheritAllFrom':_0x50baf4(0x1ad),'allowAttributes':['id'],'allowWhere':_0x50baf4(0x160)});}[_0x213bbb(0x174)](){const _0x3b2e47=_0x213bbb,_0x5cd773=this[_0x3b2e47(0x194)][_0x3b2e47(0x1f1)];_0x5cd773[_0x3b2e47(0x21e)](_0x3b2e47(0x1e8))[_0x3b2e47(0x1b9)](_0x4d8dd9=>{const _0x54ed65=_0x3b2e47;_0x4d8dd9['on'](_0x54ed65(0x1f5),(_0x51c173,_0x59f90b,_0x5daab2)=>{const _0x633bec=_0x54ed65,{consumable:_0xa09225,writer:_0x2e8c32,safeInsert:_0x5baf54,updateConversionResult:_0x23e25b}=_0x5daab2,{viewItem:_0xcb6b73}=_0x59f90b;if(!_0xa09225[_0x633bec(0x16b)](_0xcb6b73))return;const _0x4ed136=_0xcb6b73[_0x633bec(0x162)][_0x633bec(0x17e)](this[_0x633bec(0x1ab)])[_0x633bec(0x167)](_0x1a8191=>_0x2e8c32[_0x633bec(0x166)](_0x1a8191));if(0x1===_0x4ed136[_0x633bec(0x1c5)])return;_0xa09225[_0x633bec(0x1d2)](_0xcb6b73);let _0x11251c=_0x59f90b[_0x633bec(0x1a2)];const _0x2f81d5=_0x59f90b[_0x633bec(0x1a2)];for(const _0x257095 of _0x4ed136)if(_0x257095[_0x633bec(0x162)][_0x633bec(0x1dc)](this[_0x633bec(0x1c7)])&&_0x257095[_0x633bec(0x162)][_0x633bec(0x19c)](this[_0x633bec(0x1d3)])){const _0x4ec1fa=_0x257095[_0x633bec(0x162)][_0x633bec(0x1ce)](this[_0x633bec(0x1c7)][_0x633bec(0x1c5)],_0x257095[_0x633bec(0x162)][_0x633bec(0x1c5)]-this[_0x633bec(0x1d3)][_0x633bec(0x1c5)]),_0x313bb9=_0x2e8c32[_0x633bec(0x21c)](_0x633bec(0x218),{'id':_0x4ec1fa});if(!_0x5baf54(_0x313bb9,_0x11251c))continue;if(_0x23e25b(_0x313bb9,_0x59f90b),_0x313bb9[_0x633bec(0x193)]()[_0x633bec(0x1c5)]>_0x11251c[_0x633bec(0x1d7)][_0x633bec(0x1c5)]){const _0x44bbb6=_0x2e8c32[_0x633bec(0x1a8)](_0x2f81d5,_0x11251c);_0x2e8c32[_0x633bec(0x1bc)](_0x44bbb6,_0x2e8c32[_0x633bec(0x204)](_0x313bb9));}_0x11251c=_0x2e8c32[_0x633bec(0x1a6)](_0x313bb9);}else _0x2e8c32[_0x633bec(0x189)](_0x257095,_0x11251c),_0x11251c=_0x11251c[_0x633bec(0x177)](_0x257095[_0x633bec(0x1f4)]);});}),_0x5cd773[_0x3b2e47(0x21e)](_0x3b2e47(0x1c3))[_0x3b2e47(0x1e6)]({'model':_0x3b2e47(0x218),'view':(_0x36af90,{writer:_0x591a45})=>this[_0x3b2e47(0x202)](_0x36af90,_0x591a45)}),_0x5cd773[_0x3b2e47(0x21e)](_0x3b2e47(0x217))[_0x3b2e47(0x1e6)]({'model':_0x3b2e47(0x218),'view':(_0x14dc1b,{writer:_0x317851,options:_0x2519c6})=>this[_0x3b2e47(0x19b)](_0x14dc1b,_0x317851,_0x2519c6[_0x3b2e47(0x1ea)])});}[_0x213bbb(0x202)](_0x58f284,_0x46698a){const _0x779e02=_0x213bbb,{label:_0x26d494,classes:_0x35931e,status:_0x3589df}=this[_0x779e02(0x215)](_0x58f284),_0x5c09bf=this[_0x779e02(0x1c7)],_0xab1df2=this[_0x779e02(0x1d3)];let _0x463a6f;return _0x779e02(0x18e)===this[_0x779e02(0x20d)]?_0x463a6f=_0x46698a[_0x779e02(0x1f0)](_0x779e02(0x213),{'class':_0x35931e},[_0x46698a[_0x779e02(0x1a3)](_0x779e02(0x213),{'class':_0x779e02(0x1f7)},function(_0x3ae564){const _0x3a6b95=_0x779e02,_0x858785=this[_0x3a6b95(0x1c4)](_0x3ae564);return _0x858785[_0x3a6b95(0x1b5)]=_0x5c09bf,_0x858785;}),_0x46698a[_0x779e02(0x1f0)](_0x779e02(0x213),{'class':_0x779e02(0x1a1)},_0x46698a[_0x779e02(0x166)](String(_0x26d494))),_0x46698a[_0x779e02(0x1a3)](_0x779e02(0x213),{'class':_0x779e02(0x1f7)},function(_0xc3e777){const _0x15e4e3=_0x779e02,_0x2c8fe3=this[_0x15e4e3(0x1c4)](_0xc3e777);return _0x2c8fe3[_0x15e4e3(0x1b5)]=_0xab1df2,_0x2c8fe3;})]):_0x3589df?(_0x463a6f=_0x46698a[_0x779e02(0x1f0)](_0x779e02(0x213),{'class':_0x35931e},[_0x46698a[_0x779e02(0x166)](String(_0x26d494)),_0x46698a[_0x779e02(0x1a3)](_0x779e02(0x213),{'class':_0x779e02(0x179)},function(_0x2854a7){const _0x4f5abc=_0x779e02,_0x410c9c=this[_0x4f5abc(0x1c4)](_0x2854a7),_0x1ebbca=new _0x5747f7();return _0x1ebbca[_0x4f5abc(0x186)]({'content':_0x399341}),_0x1ebbca[_0x4f5abc(0x17b)](),_0x410c9c[_0x4f5abc(0x1c6)](_0x1ebbca[_0x4f5abc(0x15f)]),_0x410c9c;})]),_0x46698a[_0x779e02(0x17c)](_0x779e02(0x16e),_0x3589df,_0x463a6f)):_0x463a6f=_0x46698a[_0x779e02(0x1f0)](_0x779e02(0x213),{'class':_0x35931e},[_0x46698a[_0x779e02(0x166)](String(_0x26d494))]),_0x46698a[_0x779e02(0x17c)](_0x779e02(0x218),!0x0,_0x463a6f),_0x4499ba(_0x463a6f,_0x46698a);}[_0x213bbb(0x215)](_0x3a4f1d){const _0x5c92dd=_0x213bbb,_0x37d18c=this[_0x5c92dd(0x1a0)][_0x5c92dd(0x1ca)](_0x29a33e=>_0x29a33e['id']===_0x3a4f1d[_0x5c92dd(0x180)]('id'));if(!_0x37d18c)return _0x5c92dd(0x18e)===this[_0x5c92dd(0x20d)]?{'label':_0x3a4f1d[_0x5c92dd(0x180)]('id'),'classes':_0x5c92dd(0x1d6)}:{'label':_0x3a4f1d[_0x5c92dd(0x180)]('id'),'classes':_0x5c92dd(0x1b3),'status':_0x5c92dd(0x1ac)};const _0x421e27=this[_0x5c92dd(0x19a)](_0x37d18c['id']),_0x3933c9=this[_0x5c92dd(0x1cb)](_0x3a4f1d[_0x5c92dd(0x180)]('id'));if(_0x5c92dd(0x18e)===this[_0x5c92dd(0x20d)])return{'label':_0x421e27,'classes':_0x5c92dd(0x1d6)};if(_0x5c92dd(0x1f3)===this[_0x5c92dd(0x20d)])return _0x3933c9?{'label':_0x3933c9,'classes':_0x5c92dd(0x17a)}:{'label':_0x421e27,'classes':_0x5c92dd(0x211),'status':_0x5c92dd(0x21d)};const _0x44c260=this[_0x5c92dd(0x194)][_0x5c92dd(0x1d9)][_0x5c92dd(0x1e7)](_0x5c92dd(0x1bd))[_0x5c92dd(0x1ca)](_0x2949b7=>_0x2949b7['id']===this[_0x5c92dd(0x20d)])[_0x5c92dd(0x209)][_0x37d18c['id']];return _0x44c260?{'label':_0x5c92dd(0x1e1)==typeof _0x44c260?_0x44c260(this[_0x5c92dd(0x194)]):_0x44c260,'classes':_0x5c92dd(0x17a)}:_0x3933c9?{'label':_0x3933c9,'classes':_0x5c92dd(0x183),'status':_0x5c92dd(0x1eb)}:{'label':_0x421e27,'classes':_0x5c92dd(0x198),'status':_0x5c92dd(0x1b1)};}[_0x213bbb(0x19b)](_0x2d1c73,_0x3e6b77,_0x5ef7e6){const _0x5b7091=_0x213bbb,_0x456355=_0x2d1c73[_0x5b7091(0x180)]('id'),_0x58f380=_0x5ef7e6&&_0x5ef7e6[_0x456355]?_0x5ef7e6[_0x456355]:this[_0x5b7091(0x1c7)]+_0x456355+this[_0x5b7091(0x1d3)],_0x52ab4e=_0x3e6b77[_0x5b7091(0x166)](_0x58f380),_0x4f6df4=_0x3e6b77[_0x5b7091(0x1f0)](_0x5b7091(0x213));return _0x3e6b77[_0x5b7091(0x17c)](_0x5b7091(0x161),!0x0,_0x4f6df4),_0x3e6b77[_0x5b7091(0x189)](_0x3e6b77[_0x5b7091(0x210)](_0x4f6df4,0x0),_0x52ab4e),_0x4f6df4;}[_0x213bbb(0x1f6)](){const _0x588c13=_0x213bbb;this[_0x588c13(0x199)][_0x588c13(0x178)](_0x86b7f0=>{const _0x362062=_0x588c13;_0x362062(0x184)!==_0x86b7f0[_0x362062(0x21b)][_0x362062(0x20f)]&&this[_0x362062(0x194)][_0x362062(0x1a9)][_0x362062(0x208)](_0x86b7f0);});}[_0x213bbb(0x163)](_0x39dd79){const _0xd63b08=_0x213bbb;if(!this[_0xd63b08(0x1be)][_0xd63b08(0x207)](_0x39dd79))throw new _0x487b5d(_0xd63b08(0x1af),this,{'availablePreviewModes':this[_0xd63b08(0x1be)],'previewMode':_0x39dd79});}[_0x213bbb(0x1cd)](){const _0xfba16d=_0x213bbb;for(const _0x421625 of this[_0xfba16d(0x194)][_0xfba16d(0x1fc)][_0xfba16d(0x18c)][_0xfba16d(0x1d5)][_0xfba16d(0x197)]({'includeChangesInGraveyard':!0x0})){if(_0xfba16d(0x189)!==_0x421625[_0xfba16d(0x165)]||_0xfba16d(0x160)===_0x421625[_0xfba16d(0x1aa)])continue;if(_0xfba16d(0x218)===_0x421625[_0xfba16d(0x1aa)]){this[_0xfba16d(0x199)][_0xfba16d(0x1b9)](_0x421625[_0xfba16d(0x1c1)][_0xfba16d(0x195)]);continue;}const _0x2d06f3=this[_0xfba16d(0x194)][_0xfba16d(0x1fc)][_0xfba16d(0x171)](_0x421625[_0xfba16d(0x1c1)][_0xfba16d(0x195)]);for(const _0x3b4d8f of _0x2d06f3[_0xfba16d(0x15e)]())_0x3b4d8f['is'](_0xfba16d(0x15f),_0xfba16d(0x218))&&this[_0xfba16d(0x199)][_0xfba16d(0x1b9)](_0x3b4d8f);}}[_0x213bbb(0x164)](){const _0x5a1c72=_0x213bbb,_0x4c4b18=this[_0x5a1c72(0x194)];_0x4c4b18[_0x5a1c72(0x1fc)][_0x5a1c72(0x18c)][_0x5a1c72(0x1df)](_0x27eec5=>{const _0x3602c1=_0x5a1c72;if(!_0x27eec5[_0x3602c1(0x1ef)][_0x3602c1(0x17d)])return!0x1;const _0x302bc0=[],_0x5723ac=new Set(),_0x16eeed=this[_0x3602c1(0x1ab)];let _0xe669ba=!0x1;for(const _0x204f57 of _0x4c4b18[_0x3602c1(0x1fc)][_0x3602c1(0x18c)][_0x3602c1(0x1d5)][_0x3602c1(0x197)]())if(_0x3602c1(0x189)===_0x204f57[_0x3602c1(0x165)]||_0x3602c1(0x182)===_0x204f57[_0x3602c1(0x165)]){let _0x3393a2=_0x3602c1(0x160)==_0x204f57[_0x3602c1(0x1aa)]?_0x204f57[_0x3602c1(0x1c1)][_0x3602c1(0x1f2)]:_0x204f57[_0x3602c1(0x1c1)][_0x3602c1(0x195)];if(!_0x3393a2)continue;_0x3393a2['is'](_0x3602c1(0x160))&&(_0x3393a2=_0x3393a2[_0x3602c1(0x1f2)]),_0x5d5a8b(_0x3393a2);}for(const _0x2305fc of _0x302bc0[_0x3602c1(0x173)]()){const {match:_0x3942b7,item:_0x4c3818}=_0x2305fc,_0x1511e3=_0x27eec5[_0x3602c1(0x210)](_0x4c3818,_0x3942b7[_0x3602c1(0x1ec)]),_0x1514be=_0x1511e3[_0x3602c1(0x177)](_0x3942b7[0x0][_0x3602c1(0x1c5)]),_0x1b47a8=_0x27eec5[_0x3602c1(0x1a8)](_0x1511e3,_0x1514be),_0xb4a13a=_0x3942b7[0x0],_0x2951a4=_0xb4a13a[_0x3602c1(0x1ce)](this[_0x3602c1(0x1c7)][_0x3602c1(0x1c5)],_0xb4a13a[_0x3602c1(0x1c5)]-this[_0x3602c1(0x1d3)][_0x3602c1(0x1c5)]),_0x261e49=_0x388f6b(_0x1b47a8);_0x261e49[_0x3602c1(0x186)]('id',_0x2951a4);const _0x95758d=_0x27eec5[_0x3602c1(0x21c)](_0x3602c1(0x218),_0x261e49);_0x4c4b18[_0x3602c1(0x1fc)][_0x3602c1(0x1de)][_0x3602c1(0x1d4)](_0x1b47a8[_0x3602c1(0x192)],_0x3602c1(0x218))?_0x4c4b18[_0x3602c1(0x1fc)][_0x3602c1(0x1fa)](_0x95758d,_0x1b47a8):_0x27eec5[_0x3602c1(0x182)](_0x1b47a8),_0xe669ba=!0x0;}return _0xe669ba;function _0x5d5a8b(_0x1fa585){const _0x4583fc=_0x3602c1;let _0x242302='',_0x5911a7=0x0;if(!_0x5723ac[_0x4583fc(0x1a4)](_0x1fa585))for(const _0x3e9071 of _0x1fa585[_0x4583fc(0x188)]()){const _0x10a713=_0x3e9071[_0x4583fc(0x1ba)];if(_0x3e9071['is'](_0x4583fc(0x160))&&(''===_0x242302&&_0x3e9071[_0x4583fc(0x1db)]&&(_0x5911a7=_0x3e9071[_0x4583fc(0x1db)]),_0x242302+=_0x3e9071[_0x4583fc(0x162)]),!_0x10a713||_0x10a713['is'](_0x4583fc(0x15f))){for(const _0x23149a of _0x242302[_0x4583fc(0x201)](_0x16eeed))_0x23149a[_0x4583fc(0x1ec)]=_0x23149a[_0x4583fc(0x1ec)]+_0x5911a7,_0x302bc0[_0x4583fc(0x1e9)]({'match':_0x23149a,'item':_0x1fa585});_0x5723ac[_0x4583fc(0x1b9)](_0x1fa585),_0x242302='';}_0x3e9071['is'](_0x4583fc(0x15f))&&_0x5d5a8b(_0x3e9071);}}function _0x388f6b(_0x3ce4e2){const _0x219663=_0x3602c1,_0x27d91c=_0x3ce4e2[_0x219663(0x15e)](),_0x16861e=_0x27d91c[_0x219663(0x1d1)]()[_0x219663(0x1da)],_0x5c48bc=new Map(_0x16861e[_0x219663(0x16c)]());for(const _0x3a693b of _0x27d91c)for(const [_0x1c7514,_0x3f36e3]of _0x5c48bc)_0x3a693b[_0x219663(0x180)](_0x1c7514)!==_0x3f36e3&&_0x5c48bc[_0x219663(0x168)](_0x1c7514);return _0x5c48bc;}});}[_0x213bbb(0x1ff)](_0x292c33){return{'id':_0x292c33};}}