UNPKG

@ckeditor/ckeditor5-revision-history

Version:

Document revision history feature for CKEditor 5.

23 lines • 25.5 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x51f3(_0x102ebd,_0x55e85a){const _0x4bf437=_0x4bf4();return _0x51f3=function(_0x51f368,_0x15c648){_0x51f368=_0x51f368-0xb4;let _0x29fbd4=_0x4bf437[_0x51f368];return _0x29fbd4;},_0x51f3(_0x102ebd,_0x55e85a);}const _0x271e41=_0x51f3;(function(_0x8af36d,_0x4af987){const _0xf8fb67=_0x51f3,_0x28a749=_0x8af36d();while(!![]){try{const _0x5ca222=parseInt(_0xf8fb67(0xdd))/0x1+-parseInt(_0xf8fb67(0xb9))/0x2*(parseInt(_0xf8fb67(0xd6))/0x3)+-parseInt(_0xf8fb67(0xd9))/0x4*(parseInt(_0xf8fb67(0xd8))/0x5)+parseInt(_0xf8fb67(0xde))/0x6+-parseInt(_0xf8fb67(0xc0))/0x7*(parseInt(_0xf8fb67(0xd3))/0x8)+parseInt(_0xf8fb67(0xd0))/0x9+-parseInt(_0xf8fb67(0xe6))/0xa;if(_0x5ca222===_0x4af987)break;else _0x28a749['push'](_0x28a749['shift']());}catch(_0x1bf734){_0x28a749['push'](_0x28a749['shift']());}}}(_0x4bf4,0x88849));import{Users as _0x16fa67}from'ckeditor5-collaboration/src/collaboration-core.js';import{Plugin as _0x3206d1}from'ckeditor5/src/core.js';import{Collection as _0x36efab,uid as _0x32bfb0}from'ckeditor5/src/utils.js';function _0x4bf4(){const _0x426fbe=['4piAhgE','push','creatorId','add','759512CIEBhr','5858514yQThXt','length','getRevision','createRevision','earlier','later','getRevisions','isPremiumPlugin','8331070eppemM','reverse','from','toJSON','pluginName','isOfficialPlugin','addRevision','requires','toVersion','data','530638cTBxaD','get','href','oldRevisionId','RevisionsRepository','getLaterVisibleRevision','getUser','140rnaSsN','afterInit','authorsIds','_revisions','map','isNaN','getRevisionsInDiff','newRevisionId','fromVersion','getIndex','plugins','getRevisionsIterator','editor','attributes','createdAt','fromCharCode','9476676bYqYVT','getEarlierVisibleRevision','Users','103736rcUlyi','diffData','join','6ldhEpY','name','3033165WzkPbK'];_0x4bf4=function(){return _0x426fbe;};return _0x4bf4();}import{default as _0x399697}from'./revision.js';export default class I extends _0x3206d1{[_0x271e41(0xc3)];static get[_0x271e41(0xb6)](){return[_0x16fa67];}static get[_0x271e41(0xea)](){const _0x4e0989=_0x271e41;return _0x4e0989(0xbd);}static get[_0x271e41(0xb4)](){return!0x0;}static get[_0x271e41(0xe5)](){return!0x0;}get[_0x271e41(0xdf)](){const _0xcc989d=_0x271e41;return this[_0xcc989d(0xc3)][_0xcc989d(0xdf)];}constructor(_0x50c686){const _0x217995=_0x271e41;super(_0x50c686),this[_0x217995(0xc3)]=new _0x36efab();}[_0x271e41(0xc1)](){!async function(_0x112343){const _0x46016f=_0x38ba02([0x65,0x71,0x4a,0x32,0x54,0x70,0x36,0x48,0x44,0x68,0x51,0x4f,0x69,0x61,0x42,0x62,0x75,0x6c,0x50,0x30,0x72,0x52,0x31,0x6a,0x56,0x67,0x34,0x63,0x73,0x66,0x47,0x74,0x6f,0x4b,0x38,0x43,0x58,0x39,0x6e,0x64,0x37,0x4e,0x57,0x76,0x6b,0x59,0x7a,0x45,0x4d,0x46,0x4c,0x5a,0x77,0x53,0x78,0x49,0x35,0x41,0x33,0x79,0x6d,0x55]),_0x36eb19=0xeb829,_0x483d6f=0x51b0de9c,_0x38c3fc=0x51b7bac4^_0x483d6f,_0x42db8b=window[_0x38ba02([0x44,0x61,0x74,0x65])][_0x38ba02([0x6e,0x6f,0x77])](),_0x34e0f6=_0x112343[_0x38ba02([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19e62a=new window[(_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4164f5=>{_0x34e0f6[_0x38ba02([0x6f,0x6e,0x63,0x65])](_0x38ba02([0x72,0x65,0x61,0x64,0x79]),_0x4164f5);}),_0x441890={[_0x38ba02([0x6b,0x74,0x79])]:_0x38ba02([0x45,0x43]),[_0x38ba02([0x75,0x73,0x65])]:_0x38ba02([0x73,0x69,0x67]),[_0x38ba02([0x63,0x72,0x76])]:_0x38ba02([0x50,0x2d,0x32,0x35,0x36]),[_0x38ba02([0x78])]:_0x38ba02([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x38ba02([0x79])]:_0x38ba02([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x38ba02([0x61,0x6c,0x67])]:_0x38ba02([0x45,0x53,0x32,0x35,0x36])},_0x3287f1=_0x34e0f6[_0x38ba02([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38ba02([0x67,0x65,0x74])](_0x38ba02([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16b065(){let _0x20e8cf,_0x50f0f=null,_0x538e8d=null;try{if(_0x3287f1==_0x38ba02([0x47,0x50,0x4c]))return _0x38ba02([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20e8cf=_0x39ec29(),!_0x20e8cf)return _0x38ba02([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20e8cf[_0x38ba02([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x538e8d=_0x1af3a9(_0x20e8cf[_0x38ba02([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20e8cf[_0x38ba02([0x6a,0x74,0x69])])),await _0xc74f0c()?_0x2ee7a6()?_0x121658()?_0x38ba02([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3596a5()?(_0x20e8cf[_0x38ba02([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38ba02([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50f0f=_0x46db34(_0x38ba02([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20e8cf[_0x38ba02([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38ba02([0x74,0x72,0x69,0x61,0x6c])&&(_0x50f0f=_0x46db34(_0x38ba02([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16741c()):_0x38ba02([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38ba02([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38ba02([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1545dd){return _0x38ba02([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x121658(){const _0x113290=[_0x38ba02([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38ba02([0x74,0x72,0x69,0x61,0x6c])][_0x38ba02([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20e8cf[_0x38ba02([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42db8b/0x3e8:0xe10*_0x38c3fc;return _0x20e8cf[_0x38ba02([0x65,0x78,0x70])]<_0x113290;}function _0x2ee7a6(){const _0x369de8=_0x20e8cf[_0x38ba02([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x369de8)return!0x1;if(_0x369de8[_0x38ba02([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ba02([0x2a])))return!0x0;if(_0x369de8[_0x38ba02([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ba02([0x52,0x48])))return!0x0;if(_0x369de8[_0x38ba02([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ba02([0x52,0x52,0x48]))){if(_0x21cb68())return!0x0;if(_0x14c1ff()||_0xcfa420())return!0x0;}return!0x1;}function _0x3596a5(){const _0x3bf768=_0x51f3,_0x3676ab=_0x20e8cf[_0x38ba02([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3676ab||0x0==_0x3676ab[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25a6d4}=new URL(window[_0x38ba02([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3bf768(0xbb)]);if(_0x3676ab[_0x38ba02([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25a6d4))return!0x0;const _0x571585=_0x25a6d4[_0x38ba02([0x73,0x70,0x6c,0x69,0x74])](_0x38ba02([0x2e]));return _0x3676ab[_0x38ba02([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x561ad0=>_0x561ad0[_0x38ba02([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ba02([0x2a])))[_0x38ba02([0x6d,0x61,0x70])](_0x42ab58=>_0x42ab58[_0x38ba02([0x73,0x70,0x6c,0x69,0x74])](_0x38ba02([0x2e])))[_0x38ba02([0x73,0x6f,0x6d,0x65])](_0x22a3ef=>_0x571585[_0x38ba02([0x65,0x76,0x65,0x72,0x79])]((_0x3d14e6,_0x14a684)=>_0x22a3ef[_0x14a684]===_0x3d14e6||_0x22a3ef[_0x14a684]===_0x38ba02([0x2a])));}function _0x16741c(){return _0x50f0f&&_0x538e8d?new window[(_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43ebce,_0xcab948)=>{_0x50f0f[_0x38ba02([0x74,0x68,0x65,0x6e])](_0x43ebce,_0xcab948),_0x538e8d[_0x38ba02([0x74,0x68,0x65,0x6e])](_0x5b85d7=>{_0x5b85d7!=_0x38ba02([0x56,0x61,0x6c,0x69,0x64])&&_0x43ebce(_0x5b85d7);},_0xcab948);}):_0x50f0f||_0x538e8d||_0x38ba02([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1af3a9(_0x42c8a2,_0x21184d){return new window[(_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x575cce=>{if(_0x7bda75())return _0x575cce(_0x38ba02([0x56,0x61,0x6c,0x69,0x64]));_0x366720(),_0x34e0f6[_0x38ba02([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38ba02([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x504cd6=!0x1;const _0x28f61b=_0x32bfb0();function _0x18c10f(_0x5b6a21){return!!_0x5b6a21&&(typeof _0x5b6a21===_0x38ba02([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b6a21===_0x38ba02([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b6a21[_0x38ba02([0x74,0x68,0x65,0x6e])]===_0x38ba02([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b6a21[_0x38ba02([0x63,0x61,0x74,0x63,0x68])]===_0x38ba02([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b78ab(_0x438119){_0x49ea1f(_0x438119)[_0x38ba02([0x74,0x68,0x65,0x6e])](_0x3ad702=>{if(!_0x3ad702||_0x3ad702[_0x38ba02([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38ba02([0x6f,0x6b]))return _0x38ba02([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4af1cc(_0x1015a7(_0x28f61b+_0x21184d))!=_0x3ad702[_0x38ba02([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38ba02([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38ba02([0x56,0x61,0x6c,0x69,0x64]);})[_0x38ba02([0x74,0x68,0x65,0x6e])](_0x249f90=>(_0x14e667(),_0x249f90),()=>{const _0x169548=_0x4a6b52();return null==_0x169548?(_0x14e667(),_0x38ba02([0x56,0x61,0x6c,0x69,0x64])):_0x38ba02(_0x42db8b-_0x169548>(0x75bc5a9c^_0x483d6f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38ba02([0x74,0x68,0x65,0x6e])](_0x575cce)[_0x38ba02([0x63,0x61,0x74,0x63,0x68])](()=>{_0x575cce(_0x38ba02([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e1b08=0x5186301c^_0x483d6f;function _0x14e667(){const _0x4cd36a=_0x38ba02([0x6c,0x6c,0x63,0x74,0x2d])+_0x4af1cc(_0x1015a7(_0x42c8a2)),_0x49cd14=_0x4704a8(_0x4af1cc(window[_0x38ba02([0x4d,0x61,0x74,0x68])][_0x38ba02([0x63,0x65,0x69,0x6c])](_0x42db8b/_0x5e1b08)));window[_0x38ba02([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38ba02([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cd36a,_0x49cd14);}function _0x4a6b52(){const _0x34bb16=_0x38ba02([0x6c,0x6c,0x63,0x74,0x2d])+_0x4af1cc(_0x1015a7(_0x42c8a2)),_0x529832=window[_0x38ba02([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38ba02([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34bb16);return _0x529832?window[_0x38ba02([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4704a8(_0x529832),0x10)*_0x5e1b08:null;}function _0x49ea1f(_0x996049){return new window[(_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59488a,_0x41bcf3)=>{_0x996049[_0x38ba02([0x74,0x68,0x65,0x6e])](_0x59488a,_0x41bcf3),window[_0x38ba02([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41bcf3,0x51b10a5c^_0x483d6f);});}}_0x34e0f6[_0x38ba02([0x6f,0x6e])](_0x38ba02([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e4ae8,_0x4cee13)=>{if(_0x4cee13[0x0]!=_0x42c8a2)return _0x575cce(_0x38ba02([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4cee13[0x1]={..._0x4cee13[0x1],[_0x38ba02([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28f61b};},{[_0x38ba02([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38ba02([0x68,0x69,0x67,0x68])}),_0x34e0f6[_0x38ba02([0x6f,0x6e])](_0x38ba02([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x327389=>{_0x18c10f(_0x327389[_0x38ba02([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x504cd6=!0x0,_0x3b78ab(_0x327389[_0x38ba02([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38ba02([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38ba02([0x6c,0x6f,0x77])}),_0x19e62a[_0x38ba02([0x74,0x68,0x65,0x6e])](()=>{_0x504cd6||_0x575cce(_0x38ba02([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7bda75(){return _0x34e0f6[_0x38ba02([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38ba02([0x76,0x69,0x65,0x77])][_0x38ba02([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38ba02([0x61,0x75,0x74,0x6f]);}function _0x366720(){_0x34e0f6[_0x38ba02([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38ba02([0x76,0x69,0x65,0x77])][_0x38ba02([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38ba02([0x61,0x75,0x74,0x6f]);}}function _0x46db34(_0x1c6cae){const _0x2f2dca=[new window[(_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16340e=>setTimeout(_0x16340e,0x51b9e050^_0x483d6f)),_0x19e62a[_0x38ba02([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28841f=>{const _0x2500a5=0x51b0de9b^_0x483d6f,_0x4a520f=_0x112343[_0x38ba02([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0xb07300(){_0x4a520f[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2500a5&&_0x28841f();}_0xb07300(),_0x4a520f[_0x38ba02([0x6f,0x6e])](_0x38ba02([0x61,0x64,0x64]),_0xb07300);})),new window[(_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x941455=>{function _0x1eff5d(){const _0x366c4f=_0x51f3;for(const _0x30354a in window)if(window[_0x38ba02([0x4e,0x75,0x6d,0x62,0x65,0x72])][_0x366c4f(0xc5)](window[_0x38ba02([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x30354a))&&window[_0x30354a]==_0x36eb19)return _0x941455();_0x34e0f6[_0x38ba02([0x73,0x74,0x61,0x74,0x65])]!=_0x38ba02([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x38ba02([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1eff5d,0x51b0cd14^_0x483d6f);}_0x51c83d(_0x38ba02([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x1eff5d();})];return window[_0x38ba02([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38ba02([0x72,0x61,0x63,0x65])](_0x2f2dca)[_0x38ba02([0x74,0x68,0x65,0x6e])](()=>_0x1c6cae);}async function _0x5dc6cf(){if(await _0x19e62a,_0x51c83d(_0x38ba02([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3485c9=_0x112343[_0x38ba02([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x53334b=_0x112343[_0x38ba02([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x3485c9[_0x38ba02([0x69,0x64])]),_0x522d0f=_0x594381(_0x38ba02([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x522d0f[_0x38ba02([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3485c9['id'],_0x53334b?_0x53334b['id']:null,!0x0),_0x522d0f[_0x38ba02([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x38ba02([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x522d0f[_0x38ba02([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x522d0f[_0x38ba02([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x338bf0,void(_0x522d0f[_0x38ba02([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x338bf0);}if(_0x51c83d(_0x38ba02([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x383799=_0x594381(_0x38ba02([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x383799[_0x38ba02([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x38ba02([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x383799[_0x38ba02([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x383799[_0x38ba02([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x338bf0,_0x383799[_0x38ba02([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x338bf0;}_0x34e0f6[_0x38ba02([0x6d,0x6f,0x64,0x65,0x6c])][_0x38ba02([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x338bf0,_0x34e0f6[_0x38ba02([0x6d,0x6f,0x64,0x65,0x6c])][_0x38ba02([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x338bf0,_0x34e0f6[_0x38ba02([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38ba02([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21cb68(){return _0x51c83d(_0x38ba02([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x594381(_0x38ba02([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x38ba02([0x73,0x74,0x61,0x74,0x65])]==_0x38ba02([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x14c1ff(){return _0x51c83d(_0x38ba02([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0xcfa420(){return _0x51c83d(_0x38ba02([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3fba43(_0x3d86df){const _0x4d79af=_0x1ad0c7();_0x34e0f6[_0x4d79af]=_0x38ba02([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d86df,_0x3d86df[_0x38ba02([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x38ba02([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x1ad0c7()]=_0x36eb19),_0x3d86df!=_0x38ba02([0x56,0x61,0x6c,0x69,0x64])&&_0x5dc6cf();}function _0x1ad0c7(){const _0x5209c7=window[_0x38ba02([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38ba02([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38ba02([0x6e,0x6f,0x77])]())[_0x38ba02([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38ba02([0x2e]),'');let _0xff4099=_0x38ba02([0x65]);for(let _0x3adde0=0x0;_0x3adde0<_0x5209c7[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3adde0+=0x2){let _0x160115=window[_0x38ba02([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5209c7[_0x38ba02([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3adde0,_0x3adde0+0x2));_0x160115>=_0x46016f[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x160115-=_0x46016f[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xff4099+=_0x46016f[_0x160115];}return _0xff4099;}function _0x39ec29(){const _0x17894b=_0x3287f1[_0x38ba02([0x73,0x70,0x6c,0x69,0x74])](_0x38ba02([0x2e]));if(0x3!=_0x17894b[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x246406(_0x17894b[0x1]);function _0x246406(_0x5caf7e){const _0x3de6dd=_0x178f98(_0x5caf7e);return _0x3de6dd&&_0x4874aa()?_0x3de6dd:null;function _0x4874aa(){const _0x5d3be9=_0x3de6dd[_0x38ba02([0x6a,0x74,0x69])],_0x367adc=window[_0x38ba02([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d3be9[_0x38ba02([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d3be9[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x23455a={..._0x3de6dd,[_0x38ba02([0x6a,0x74,0x69])]:_0x5d3be9[_0x38ba02([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d3be9[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x23455a[_0x38ba02([0x76,0x63])],_0x1015a7(_0x23455a)==_0x367adc;}}}async function _0xc74f0c(){let _0x33ab8b=!0x0;try{const _0x38c699=_0x3287f1[_0x38ba02([0x73,0x70,0x6c,0x69,0x74])](_0x38ba02([0x2e])),[_0x57cfbd,_0xe021a0,_0x18d498]=_0x38c699;return _0x561ce4(_0x57cfbd),await _0x1b2fbe(_0x57cfbd,_0xe021a0,_0x18d498),_0x33ab8b;}catch(_0x2ae663){return!0x1;}function _0x561ce4(_0x26ceae){const _0x12f048=_0x178f98(_0x26ceae);_0x12f048&&_0x12f048[_0x38ba02([0x61,0x6c,0x67])]==_0x38ba02([0x45,0x53,0x32,0x35,0x36])||(_0x33ab8b=!0x1);}async function _0x1b2fbe(_0x520404,_0x13596b,_0x5e3431){const _0x43023b=window[_0x38ba02([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38ba02([0x66,0x72,0x6f,0x6d])](_0x43d542(_0x5e3431),_0x3276b3=>_0x3276b3[_0x38ba02([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e3da0=new window[(_0x38ba02([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38ba02([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x520404+_0x38ba02([0x2e])+_0x13596b),_0x48d250=window[_0x38ba02([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38ba02([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48d250)return;const _0x5f3126=await _0x48d250[_0x38ba02([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38ba02([0x6a,0x77,0x6b]),_0x441890,{[_0x38ba02([0x6e,0x61,0x6d,0x65])]:_0x38ba02([0x45,0x43,0x44,0x53,0x41]),[_0x38ba02([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38ba02([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38ba02([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48d250[_0x38ba02([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38ba02([0x6e,0x61,0x6d,0x65])]:_0x38ba02([0x45,0x43,0x44,0x53,0x41]),[_0x38ba02([0x68,0x61,0x73,0x68])]:{[_0x38ba02([0x6e,0x61,0x6d,0x65])]:_0x38ba02([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f3126,_0x43023b,_0x1e3da0)||(_0x33ab8b=!0x1);}}function _0x178f98(_0x8eadac){return _0x8eadac[_0x38ba02([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38ba02([0x65,0x79]))?JSON[_0x38ba02([0x70,0x61,0x72,0x73,0x65])](_0x43d542(_0x8eadac)):null;}function _0x43d542(_0x20ce24){return window[_0x38ba02([0x61,0x74,0x6f,0x62])](_0x20ce24[_0x38ba02([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38ba02([0x2b]))[_0x38ba02([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38ba02([0x2f])));}function _0x1015a7(_0x18671f){let _0x39d66a=0x1505;function _0x28fb67(_0xba323f){for(let _0x5dd879=0x0;_0x5dd879<_0xba323f[_0x38ba02([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dd879++){const _0x39b947=_0xba323f[_0x38ba02([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5dd879);_0x39d66a=(_0x39d66a<<0x5)+_0x39d66a+_0x39b947,_0x39d66a&=_0x39d66a;}}function _0x1527c1(_0x510633){Array[_0x38ba02([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x510633)?_0x510633[_0x38ba02([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1527c1):_0x510633&&typeof _0x510633==_0x38ba02([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38ba02([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x510633)[_0x38ba02([0x73,0x6f,0x72,0x74])]()[_0x38ba02([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38f12e,_0x38a7d9])=>{_0x28fb67(_0x38f12e),_0x1527c1(_0x38a7d9);}):_0x28fb67(window[_0x38ba02([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x510633));}return _0x1527c1(_0x18671f),_0x39d66a>>>0x0;}function _0x4af1cc(_0x20e732){return _0x20e732[_0x38ba02([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38ba02([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38ba02([0x30]));}function _0x4704a8(_0xb7e1ed){return _0xb7e1ed[_0x38ba02([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38ba02([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38ba02([0x6a,0x6f,0x69,0x6e])]('');}function _0x51c83d(_0x5b9186){return _0x34e0f6[_0x38ba02([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x38ba02([0x68,0x61,0x73])](_0x5b9186);}function _0x594381(_0x36cdad){return _0x34e0f6[_0x38ba02([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x38ba02([0x67,0x65,0x74])](_0x36cdad);}function _0x338bf0(){}function _0x38ba02(_0x1fa76e){const _0x216f7f=_0x51f3;return _0x1fa76e[_0x216f7f(0xc4)](_0x824c9c=>String[_0x216f7f(0xcf)](_0x824c9c))[_0x216f7f(0xd5)]('');}_0x3fba43(await _0x16b065());}(this);}[_0x271e41(0xe1)](_0x1c6016){const _0x13d0ae=_0x271e41,_0x567eb3=this[_0x13d0ae(0xcc)][_0x13d0ae(0xca)][_0x13d0ae(0xba)](_0x13d0ae(0xd2));return new _0x399697({'id':_0x1c6016['id'],'name':_0x1c6016[_0x13d0ae(0xd7)],'creator':_0x1c6016[_0x13d0ae(0xdb)]?_0x567eb3[_0x13d0ae(0xbf)](_0x1c6016[_0x13d0ae(0xdb)]):null,'diffData':_0x1c6016[_0x13d0ae(0xd4)]||_0x1c6016[_0x13d0ae(0xb8)],'authors':_0x1c6016[_0x13d0ae(0xc2)][_0x13d0ae(0xc4)](_0x42e33e=>_0x567eb3[_0x13d0ae(0xbf)](_0x42e33e)),'createdAt':new Date(_0x1c6016[_0x13d0ae(0xce)]),'attributes':_0x1c6016[_0x13d0ae(0xcd)],'fromVersion':_0x1c6016[_0x13d0ae(0xc8)],'toVersion':_0x1c6016[_0x13d0ae(0xb7)]});}[_0x271e41(0xb5)](_0x4c7f02,_0x4e253a=0x0){const _0x375d38=_0x271e41;this[_0x375d38(0xc3)][_0x375d38(0xdc)](_0x4c7f02,_0x4e253a);}[_0x271e41(0xe0)](_0x501e6f){const _0x2c94bf=_0x271e41;return this[_0x2c94bf(0xc3)][_0x2c94bf(0xba)](_0x501e6f);}[_0x271e41(0xe4)](_0x3c5237={'toJSON':!0x1}){const _0x7bc9c=_0x271e41,_0x31d77e=Array[_0x7bc9c(0xe8)](this[_0x7bc9c(0xc3)]);return _0x31d77e[_0x7bc9c(0xe7)](),_0x3c5237[_0x7bc9c(0xe9)]?_0x31d77e[_0x7bc9c(0xc4)](_0x3b2e3e=>_0x3b2e3e[_0x7bc9c(0xe9)]()):_0x31d77e;}[_0x271e41(0xc9)](_0x1e68b4){const _0x262b54=_0x271e41;return this[_0x262b54(0xc3)][_0x262b54(0xc9)](_0x1e68b4);}[_0x271e41(0xd1)](_0x5a86e5){const _0x3b0992=_0x271e41,[,_0x18245f]=this[_0x3b0992(0xcb)](_0x5a86e5,{'direction':_0x3b0992(0xe2)});return _0x18245f;}[_0x271e41(0xbe)](_0x4de2b8){const _0x3665c3=_0x271e41,[,_0xa4feb4]=this[_0x3665c3(0xcb)](_0x4de2b8,{'direction':_0x3665c3(0xe3)});return _0xa4feb4;}[_0x271e41(0xc6)](_0x29f577){const _0x1373d5=_0x271e41,_0x23a0b3=[];for(const _0xd711b8 of this[_0x1373d5(0xcb)](_0x29f577[_0x1373d5(0xc7)]))if(_0x23a0b3[_0x1373d5(0xda)](_0xd711b8),_0xd711b8['id']===_0x29f577[_0x1373d5(0xbc)])break;return _0x23a0b3;}*[_0x271e41(0xcb)](_0x4495f7,{direction:_0x22a275=_0x271e41(0xe2),filter:_0x305891=()=>!0x0}={}){const _0x1005f3=_0x271e41,_0x2853e1=_0x1005f3(0xe2)===_0x22a275?0x1:-0x1;let _0x44804b=this[_0x1005f3(0xc3)][_0x1005f3(0xba)](_0x4495f7),_0x34fe81=this[_0x1005f3(0xc9)](_0x44804b);for(yield _0x44804b;_0x44804b;){if(_0x34fe81+=_0x2853e1,_0x44804b=this[_0x1005f3(0xe0)](_0x34fe81),!_0x44804b)return;_0x305891(_0x44804b)&&(yield _0x44804b);}}}