@univerjs-pro/collaboration-client 0.6.0-nightly.202501311606 → 0.6.0-nightly.202502021605
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0xebfca7=_0x1328;(function(_0x4a1759,_0xcca9){var _0x4128d2=_0x1328,_0x42ba5b=_0x4a1759();while(!![]){try{var _0x51bb35=parseInt(_0x4128d2(0x1a5))/0x1+-parseInt(_0x4128d2(0xc7))/0x2*(parseInt(_0x4128d2(0x33c))/0x3)+-parseInt(_0x4128d2(0x2fd))/0x4*(parseInt(_0x4128d2(0x16a))/0x5)+parseInt(_0x4128d2(0x226))/0x6+-parseInt(_0x4128d2(0x1c2))/0x7*(parseInt(_0x4128d2(0x1e7))/0x8)+parseInt(_0x4128d2(0x16e))/0x9+parseInt(_0x4128d2(0x13d))/0xa;if(_0x51bb35===_0xcca9)break;else _0x42ba5b['push'](_0x42ba5b['shift']());}catch(_0x265c59){_0x42ba5b['push'](_0x42ba5b['shift']());}}}(_0x2110,0x1ed21));var Li=Object['defineProperty'],Mi=(_0x524dd8,_0x3808af,_0x5ba1a1)=>_0x3808af in _0x524dd8?Li(_0x524dd8,_0x3808af,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ba1a1}):_0x524dd8[_0x3808af]=_0x5ba1a1,N=(_0x522ab4,_0x309489,_0x5135b0)=>Mi(_0x522ab4,typeof _0x309489!=_0xebfca7(0x1ff)?_0x309489+'':_0x309489,_0x5135b0);import{createIdentifier as _0x413e5f,Inject as _0x350f87,Injector as _0x3e288c,Disposable as _0x10bb52,DisposableCollection as _0xf9dbad,toDisposable as _0x20bee6,IConfigService as _0x3e9aa3,ILogService as _0x39281b,UserManagerService as _0x2bb914,UniverInstanceType as _0x47927c,IUniverInstanceService as _0x47607b,LocaleService as _0x1a7de2,Optional as _0x461ea6,RxDisposable as _0x42ad43,Tools as _0x4ce8aa,Rectangle as _0x18715e,ICommandService as _0x5f3828,JSONX as _0x2196a1,CommandType as _0x20e9e2,IPermissionService as _0x35f2aa,IUndoRedoService as _0x4f45a5,sequenceExecute as _0xeae2cc,Workbook as _0x502351,MentionType as _0x377f04,IAuthzIoService as _0x5ac997,isInternalEditorID as _0x506283,LocalUndoRedoService as _0x3d3125,IContextService as _0x2b56cd,DependentOn as _0xa5ea51,Plugin as _0x348bbd,merge as _0x357d4d,mergeOverrideWithDependencies as _0x161d02,IMentionIOService as _0x2698d8,registerDependencies as _0x18b4b6,Quantity as _0x78d10c,touchDependencies as _0x1307fc}from'@univerjs/core';import{Subject as _0x34e3bd,merge as _0x1345a8,of as _0x51b4a4,BehaviorSubject as _0x4a19f3,takeUntil as _0x399539,ReplaySubject as _0x25d760,take as _0x12ef5d,map as _0x2491bb,shareReplay as _0x2a502,firstValueFrom as _0x469aa3,concatMap as _0x548b42}from'rxjs';import{map as _0x5522f1,take as _0x530efe,filter as _0x57ecda,delay as _0x382d2f,takeUntil as _0x22c703}from'rxjs/operators';import{HTTPService as _0x2db2ac,ISocketService as _0x1e1599,MergeInterceptorFactory as _0x2a9a62,HTTPRequest as _0x4e5eb7,UniverNetworkPlugin as _0x22e9e5,ThresholdInterceptorFactory as _0x49965e}from'@univerjs/network';import{CollaborationEvent as _0x3aa22a,parseChangesetToProtocol as _0xea540,ISnapshotServerService as _0x5dd680,isTransformMutationsWithChangesetSuccess as _0x27b7b3,ITransformService as _0x248c0d,mapDocumentTypeToUniverType as _0x5aa935,RevisionService as _0x1f62a4,isTransformChangesetsSuccess as _0x544e79,CompressMutationService as _0x30c848,parseProtocolChangeset as _0x5d9825,SnapshotService as _0x45cdcb,textEncoder as _0x4437b3,b64DecodeUnicode as _0x307b45,isTransformMutationsWithChangesetFailure as _0x165260,UniverCollaborationPlugin as _0x4ee596}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x427769}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4b16a2}from'@univerjs/docs';import{SheetsSelectionsService as _0x4c18a8,SetSelectionsOperation as _0x5b7620,InsertSheetMutation as _0x1abf14,EmptyMutation as _0x50309e,WorkbookEditablePermission as _0x1a2393,SheetPermissionInitController as _0x18e5b3,UniverSheetsPlugin as _0x1d22ed}from'@univerjs/sheets';import{ImageSourceType as _0x1489cc,ImageUploadStatusType as _0x282861,IImageIoService as _0x38607d}from'@univerjs/drawing';import{getGlobalObject as _0x291c9f}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0xebfca7(0x225),Tn='SNAPSHOT_URL_KEY',eo=_0xebfca7(0x182),Cn=0x7d0,Rn=_0xebfca7(0x192),bn=_0xebfca7(0x35b),On=_0xebfca7(0x143),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0xebfca7(0xed),Ei=0x4e20,Dn=0x4e20,Pn=_0xebfca7(0x125),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0xebfca7(0x1b4),An=_0xebfca7(0x162),xn=_0xebfca7(0x188),Ln=_0xebfca7(0x276),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0xebfca7(0x15e);var Ii=(_0x49c9e8=>(_0x49c9e8[_0x49c9e8[_0xebfca7(0x2c3)]=0x0]=_0xebfca7(0x2c3),_0x49c9e8[_0x49c9e8['OK']=0x1]='OK',_0x49c9e8[_0x49c9e8[_0xebfca7(0x332)]=0x2]=_0xebfca7(0x332),_0x49c9e8[_0x49c9e8[_0xebfca7(0x1e8)]=0x3]=_0xebfca7(0x1e8),_0x49c9e8[_0x49c9e8[_0xebfca7(0xe2)]=0x4]=_0xebfca7(0xe2),_0x49c9e8[_0x49c9e8[_0xebfca7(0x210)]=0x5]='UNAUTHENTICATED',_0x49c9e8[_0x49c9e8[_0xebfca7(0x10a)]=0x6]=_0xebfca7(0x10a),_0x49c9e8[_0x49c9e8['INVALID_ARGUMENT']=0x7]=_0xebfca7(0x1bd),_0x49c9e8[_0x49c9e8[_0xebfca7(0x235)]=0x8]=_0xebfca7(0x235),_0x49c9e8[_0x49c9e8[_0xebfca7(0x245)]=0x9]=_0xebfca7(0x245),_0x49c9e8[_0x49c9e8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xebfca7(0x368),_0x49c9e8[_0x49c9e8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x49c9e8[_0x49c9e8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x49c9e8[_0x49c9e8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xebfca7(0x1c4),_0x49c9e8[_0x49c9e8[_0xebfca7(0x15c)]=0x1b59]=_0xebfca7(0x15c),_0x49c9e8[_0x49c9e8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xebfca7(0x380),_0x49c9e8[_0x49c9e8[_0xebfca7(0x251)]=0x1b5b]=_0xebfca7(0x251),_0x49c9e8[_0x49c9e8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xebfca7(0x170),_0x49c9e8[_0x49c9e8[_0xebfca7(0xa9)]=0x1b5d]=_0xebfca7(0xa9),_0x49c9e8[_0x49c9e8[_0xebfca7(0x265)]=0x1f41]=_0xebfca7(0x265),_0x49c9e8[_0x49c9e8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x49c9e8[_0x49c9e8[_0xebfca7(0x1d6)]=0x232a]=_0xebfca7(0x1d6),_0x49c9e8[_0x49c9e8[_0xebfca7(0x23c)]=0x232b]=_0xebfca7(0x23c),_0x49c9e8[_0x49c9e8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x49c9e8[_0x49c9e8[_0xebfca7(0x220)]=0x232d]=_0xebfca7(0x220),_0x49c9e8[_0x49c9e8[_0xebfca7(0x346)]=0x2711]=_0xebfca7(0x346),_0x49c9e8[_0x49c9e8[_0xebfca7(0x134)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x49c9e8[_0x49c9e8[_0xebfca7(0x1b5)]=0x2713]=_0xebfca7(0x1b5),_0x49c9e8[_0x49c9e8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xebfca7(0x1df),_0x49c9e8[_0x49c9e8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x49c9e8[_0x49c9e8[_0xebfca7(0x282)]=-0x1]=_0xebfca7(0x282),_0x49c9e8))(Ii||{}),Q=(_0x51399f=>(_0x51399f[_0x51399f['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x51399f[_0x51399f['UNIVER_DOC']=0x1]=_0xebfca7(0x22d),_0x51399f[_0x51399f[_0xebfca7(0x18a)]=0x2]='UNIVER_SHEET',_0x51399f[_0x51399f[_0xebfca7(0x135)]=0x3]=_0xebfca7(0x135),_0x51399f[_0x51399f[_0xebfca7(0x289)]=0x4]=_0xebfca7(0x289),_0x51399f[_0x51399f[_0xebfca7(0x282)]=-0x1]='UNRECOGNIZED',_0x51399f))(Q||{}),F=(_0x2c0bb1=>(_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x37f)]=0x0]=_0xebfca7(0x37f),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x1cc)]=0x1]=_0xebfca7(0x1cc),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x2b1)]=0x2]=_0xebfca7(0x2b1),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x2e5)]=0x3]=_0xebfca7(0x2e5),_0x2c0bb1[_0x2c0bb1['INGEST']=0x4]=_0xebfca7(0x10f),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x20d)]=0x5]=_0xebfca7(0x20d),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x2da)]=0x6]=_0xebfca7(0x2da),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x282)]=-0x1]=_0xebfca7(0x282),_0x2c0bb1))(F||{}),Ee=(_0x571be7=>(_0x571be7[_0x571be7[_0xebfca7(0x35e)]=0x0]=_0xebfca7(0x35e),_0x571be7[_0x571be7['OK']=0x1]='OK',_0x571be7[_0x571be7['FAIL']=0x2]=_0xebfca7(0x1d9),_0x571be7[_0x571be7[_0xebfca7(0x190)]=0x3e9]=_0xebfca7(0x190),_0x571be7[_0x571be7[_0xebfca7(0x14c)]=0x3ea]=_0xebfca7(0x14c),_0x571be7[_0x571be7[_0xebfca7(0x1fc)]=0x3eb]=_0xebfca7(0x1fc),_0x571be7[_0x571be7['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xebfca7(0x2d6),_0x571be7[_0x571be7[_0xebfca7(0x282)]=-0x1]='UNRECOGNIZED',_0x571be7))(Ee||{}),Ti=(_0xfb38b2=>(_0xfb38b2[_0xfb38b2[_0xebfca7(0x291)]=0x0]='Undefined',_0xfb38b2[_0xfb38b2['HttpImport']=0x1]=_0xebfca7(0x2a3),_0xfb38b2[_0xfb38b2[_0xebfca7(0x223)]=0x2]='HttpExport',_0xfb38b2[_0xfb38b2[_0xebfca7(0x29c)]=0x3]=_0xebfca7(0x29c),_0xfb38b2[_0xfb38b2[_0xebfca7(0x365)]=0x4]=_0xebfca7(0x365),_0xfb38b2[_0xfb38b2[_0xebfca7(0x282)]=-0x1]=_0xebfca7(0x282),_0xfb38b2))(Ti||{});const q=_0xebfca7(0x156),Wt={};var se=(_0x40ae46=>(_0x40ae46['OTHER_CLIENT_EDITING']=_0xebfca7(0x283),_0x40ae46[_0xebfca7(0x1e8)]=_0xebfca7(0x1e8),_0x40ae46['CONFLICT']=_0xebfca7(0x27b),_0x40ae46[_0xebfca7(0x175)]=_0xebfca7(0x175),_0x40ae46[_0xebfca7(0x151)]=_0xebfca7(0x151),_0x40ae46[_0xebfca7(0x1b8)]=_0xebfca7(0x1b8),_0x40ae46[_0xebfca7(0x338)]=_0xebfca7(0x338),_0x40ae46[_0xebfca7(0x199)]=_0xebfca7(0x199),_0x40ae46))(se||{});class pe{constructor(){var _0x12953a=_0xebfca7;N(this,'_event$',new _0x34e3bd()),N(this,_0x12953a(0x2c1),this[_0x12953a(0x169)][_0x12953a(0x152)]());}['emitEvent'](_0x69bfe4){var _0x209754=_0xebfca7;this['_event$'][_0x209754(0x257)](_0x69bfe4);}}const Mn=_0x413e5f(_0xebfca7(0x295));function $n(_0x5eb4bc){var _0x286ee0=_0xebfca7,_0x2c6093,_0x5b23a6,_0x189078,_0x3d4bcb,_0x154016;const _0x1e19b3=_0x5eb4bc['data'],_0x35aab1=JSON[_0x286ee0(0x23d)](_0x1e19b3);switch(_0x35aab1['cmd']){case F[_0x286ee0(0x20d)]:case F['HELLO']:{const _0x4a3f8b=_0x35aab1[_0x286ee0(0x326)];return{..._0x35aab1,'data':_0x4a3f8b,'cmd':_0x35aab1[_0x286ee0(0x24f)]};}case F['JOIN']:{const _0x3b43dc=_0x35aab1['joinRsp'];return{..._0x35aab1,'data':_0x3b43dc,'cmd':_0x35aab1['cmd']};}case F[_0x286ee0(0x2da)]:{const _0x411831=_0x35aab1['collaMsg'];switch(_0x411831[_0x286ee0(0x2dc)]){case _0x3aa22a[_0x286ee0(0x9e)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x2c6093=_0x411831['permissionRejEvent'])==null?void 0x0:_0x2c6093['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x26c)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x5b23a6=_0x411831[_0x286ee0(0xc9)])==null?void 0x0:_0x5b23a6['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x288)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x189078=_0x411831[_0x286ee0(0x2f6)])==null?void 0x0:_0x189078['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x15a)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x3d4bcb=_0x411831[_0x286ee0(0x19c)])==null?void 0x0:_0x3d4bcb['cs']},'cmd':_0x35aab1['cmd']};case _0x3aa22a[_0x286ee0(0x362)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x154016=_0x411831[_0x286ee0(0x1a0)])==null?void 0x0:_0x154016['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x195)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['updateCursorEvent']},'cmd':_0x35aab1['cmd']};case _0x3aa22a['USERS_ENTER']:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x1a9)]},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x1e0)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x1bb)]},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x1e6)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x29f)]},'cmd':_0x35aab1['cmd']};case _0x3aa22a['LIVESHARE_FETCH_OPERATIONS']:case _0x3aa22a['LIVESHARE_OPERATION']:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['liveShareOperation']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x126)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['liveShareNewHost']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0xd6)]:return{..._0x35aab1,'data':_0x411831,'cmd':_0x35aab1['cmd']};case _0x3aa22a[_0x286ee0(0x1a7)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x307)]},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x30c)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['updatePermissionObjEvent']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x270)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['shouldCloseConn']},'cmd':_0x35aab1['cmd']};case _0x3aa22a[_0x286ee0(0x18c)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['uniscriptRunEvent']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};default:return _0x35aab1;}}default:return _0x35aab1;}}function Hn(_0xe05dc5){var _0x3dfe60=_0xebfca7;switch(_0xe05dc5[_0x3dfe60(0x24f)]){case F[_0x3dfe60(0x20d)]:case F[_0x3dfe60(0x1cc)]:return JSON[_0x3dfe60(0x357)]({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)]});case F[_0x3dfe60(0x10f)]:{let _0x446280;switch(_0xe05dc5['data'][_0x3dfe60(0x2dc)]){case _0x3aa22a['UPDATE_CURSOR']:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x195)],'updateCursorEvent':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a['USERS_LEAVE']:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x1e0)],'leaveEvent':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a[_0x3dfe60(0x351)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x351)],'joinEvent':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a['LIVESHARE_NEW_HOST']:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x1e6)],'liveShareNewHost':_0xe05dc5[_0x3dfe60(0xc2)]['data']};break;}case _0x3aa22a['LIVESHARE_OPERATION']:{_0x446280={'eventID':_0x3aa22a['LIVESHARE_OPERATION'],'liveShareOperation':_0xe05dc5[_0x3dfe60(0xc2)]['data']};break;}case _0x3aa22a[_0x3dfe60(0x126)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x126)],'liveShareTerminate':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a[_0x3dfe60(0x13f)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x13f)],'liveShareRequestHost':_0xe05dc5['data']['data']};break;}case _0x3aa22a[_0x3dfe60(0x17f)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x17f)]};break;}default:_0x446280={'eventID':_0xe05dc5['data'][_0x3dfe60(0x2dc)]};}return JSON['stringify']({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)],'collaMsg':_0x446280});}case F[_0x3dfe60(0x2b1)]:return JSON[_0x3dfe60(0x357)]({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)],'joinReq':_0xe05dc5['data']});case F[_0x3dfe60(0x2e5)]:return JSON['stringify']({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)],'leaveReq':_0xe05dc5['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0xebfca7(0xda)],jn=Object[_0xebfca7(0x298)],Bn=(_0x3838e1,_0x547cba,_0x1a20d6,_0x374314)=>{var _0xdc2397=_0xebfca7;for(var _0x2f0ce4=_0x374314>0x1?void 0x0:_0x374314?jn(_0x547cba,_0x1a20d6):_0x547cba,_0x547f65=_0x3838e1[_0xdc2397(0x124)]-0x1,_0x1d3aab;_0x547f65>=0x0;_0x547f65--)(_0x1d3aab=_0x3838e1[_0x547f65])&&(_0x2f0ce4=(_0x374314?_0x1d3aab(_0x547cba,_0x1a20d6,_0x2f0ce4):_0x1d3aab(_0x2f0ce4))||_0x2f0ce4);return _0x374314&&_0x2f0ce4&&kn(_0x547cba,_0x1a20d6,_0x2f0ce4),_0x2f0ce4;},Ue=(_0x570587,_0x3bb6f3)=>(_0x581ffc,_0x236b7c)=>_0x3bb6f3(_0x581ffc,_0x236b7c,_0x570587);const Ci=_0x413e5f('univer-pro.collaboration-client-socket-service');function Fn(_0x16ae06,_0x32324c,_0x2901cd){var _0x21a691=_0xebfca7;return _0x16ae06+'/'+_0x32324c+_0x21a691(0x237)+_0x2901cd+'/new_changes';}let Et=class extends _0x10bb52{constructor(_0xf308dd,_0x3c6929,_0x374d70,_0x4580de,_0x517034){var _0x59e35f=_0xebfca7;super(),this['_injector']=_0xf308dd,this[_0x59e35f(0x8c)]=_0x3c6929,this['_configService']=_0x374d70,this[_0x59e35f(0x240)]=_0x4580de,this[_0x59e35f(0x1a8)]=_0x517034;}['createSocket'](_0x1fc51e){var _0x405f48=_0xebfca7;const _0x4288ba=this[_0x405f48(0x1c6)][_0x405f48(0x308)](_0x1e1599);if(!_0x4288ba)throw new Error(_0x405f48(0x2ac));const _0x1c2936=_0x4288ba[_0x405f48(0x159)](_0x1fc51e);if(!_0x1c2936)throw new Error(_0x405f48(0x213));const _0x5bc247=new _0xf9dbad(),_0x398fa6=new _0x34e3bd();_0x5bc247[_0x405f48(0x2bb)](_0x1c2936[_0x405f48(0x87)][_0x405f48(0x154)](_0x3c8722=>_0x398fa6[_0x405f48(0x257)](_0x3c8722))),_0x5bc247['add'](_0x20bee6(()=>_0x398fa6[_0x405f48(0x1dc)]()));const _0x5a65ae=new _0x34e3bd();_0x5bc247['add'](_0x1c2936[_0x405f48(0x2db)][_0x405f48(0x154)](_0x2be39a=>_0x5a65ae[_0x405f48(0x257)](_0x2be39a))),_0x5bc247['add'](_0x20bee6(()=>_0x5a65ae[_0x405f48(0x1dc)]()));const _0x26365f=new _0x34e3bd();_0x5bc247[_0x405f48(0x2bb)](_0x1c2936['message$']['subscribe'](_0x373724=>{var _0x3b7334=_0x405f48;const _0x3abec1=$n(_0x373724);_0x26365f[_0x3b7334(0x257)](_0x3abec1);})),_0x5bc247[_0x405f48(0x2bb)](_0x20bee6(()=>_0x26365f[_0x405f48(0x1dc)]()));let _0x839405;const _0x631598=()=>{var _0x10d07b=_0x405f48;_0x5a65ae['next'](new Event(_0x10d07b(0x1e3))),_0x398fa6['next'](new CloseEvent(_0x10d07b(0x1e3))),_0x839405['close']();};return _0x839405={'memberID':'','close$':_0x398fa6[_0x405f48(0x152)](),'error$':_0x5a65ae[_0x405f48(0x152)](),'open$':_0x1c2936[_0x405f48(0x30a)],'message$':_0x26365f[_0x405f48(0x152)](),'send':_0x20cf55=>{var _0x2eec14=_0x405f48;if(_0x20cf55[_0x2eec14(0x24f)]===F[_0x2eec14(0x10f)]){if(_0x20cf55[_0x2eec14(0xc2)][_0x2eec14(0x2dc)]===_0x3aa22a[_0x2eec14(0x231)]){this[_0x2eec14(0x344)](_0x839405,_0x20cf55[_0x2eec14(0xc2)])[_0x2eec14(0x24b)](_0xd8ff16=>{var _0x10c787=_0x2eec14;this[_0x10c787(0x240)][_0x10c787(0x2f8)](_0xd8ff16),_0x631598();});return;}if(_0x20cf55[_0x2eec14(0xc2)][_0x2eec14(0x2dc)]===_0x3aa22a['FETCH_MISSING']){const _0x4d4fe0=_0x20cf55[_0x2eec14(0xc2)];this[_0x2eec14(0x2a1)](_0x4d4fe0)[_0x2eec14(0x2f7)](_0xdd4c9=>{var _0x56b419=_0x2eec14;_0x26365f[_0x56b419(0x257)]({'cmd':F[_0x56b419(0x2da)],'code':Ee['OK'],'routeKey':_0x4d4fe0[_0x56b419(0xc2)]['unitID'],'routeType':'','data':{'eventID':_0x3aa22a[_0x56b419(0x34a)],'data':{'changesets':_0xdd4c9}}});})[_0x2eec14(0x24b)](_0x4ce2cc=>{var _0x2cf05f=_0x2eec14;this[_0x2cf05f(0x240)][_0x2cf05f(0x2f8)](_0x4ce2cc),_0x631598();});return;}}_0x1c2936[_0x2eec14(0x86)](Hn(_0x20cf55));},'close':()=>{var _0x199023=_0x405f48;_0x1c2936['close'](),_0x5bc247[_0x199023(0x1a4)]();}},_0x839405;}async[_0xebfca7(0x344)](_0x32f463,_0x479040){var _0x5cbbc1=_0xebfca7,_0x59a87d,_0x5315dd;const {unitType:_0x5c7c2c,unitID:_0x4019ea,changeset:_0x9f3012}=_0x479040['data'],_0x2252c2={'unitID':_0x4019ea,'memberID':_0x32f463[_0x5cbbc1(0x18e)],'type':_0x5c7c2c,'changeset':_0xea540(_0x9f3012)},_0x4ec427=this[_0x5cbbc1(0x234)][_0x5cbbc1(0x1d5)](Un),_0x3dd9af=this[_0x5cbbc1(0x234)][_0x5cbbc1(0x1d5)](q),_0x389038=Fn((_0x5315dd=(_0x59a87d=_0x3dd9af==null?void 0x0:_0x3dd9af['collabSubmitChangesetUrl'])!=null?_0x59a87d:_0x4ec427)!=null?_0x5315dd:An,_0x5c7c2c,_0x4019ea);try{await this[_0x5cbbc1(0x8c)][_0x5cbbc1(0xe4)](_0x389038,{'body':_0x2252c2});}catch(_0x265007){throw this['_logService'][_0x5cbbc1(0x2f8)](_0x5cbbc1(0x168),'submit\x20changeset\x20error!'),_0x265007;}}async[_0xebfca7(0x2a1)](_0xf70cf2){var _0xee0185=_0xebfca7;const {unitID:_0x1754be,from:_0x271125,to:_0x2447f6,unitType:_0x284170}=_0xf70cf2[_0xee0185(0xc2)];return(await this[_0xee0185(0x1a8)][_0xee0185(0x1e9)]({'metadata':void 0x0},{'unitID':_0x1754be,'type':_0x284170,'from':_0x271125,'to':_0x2447f6}))['changesets'];}};Et=Bn([Ue(0x0,_0x350f87(_0x3e288c)),Ue(0x1,_0x350f87(_0x2db2ac)),Ue(0x2,_0x3e9aa3),Ue(0x3,_0x39281b),Ue(0x4,_0x5dd680)],Et);const Vn=_0xebfca7(0x218);function Gn(_0x4b9dec){var _0xa1b45d=_0xebfca7;return JSON[_0xa1b45d(0x357)](_0x4b9dec)[_0xa1b45d(0x124)];}class Ri{constructor(){var _0xb41a5=_0xebfca7;N(this,'_commentUpdate$',new _0x34e3bd()),N(this,_0xb41a5(0xc1),this['_commentUpdate$'][_0xb41a5(0x152)]());}[_0xebfca7(0x2e7)](_0x6bd427){var _0xc779c3=_0xebfca7;this['_commentUpdate$'][_0xc779c3(0x257)](_0x6bd427);}}var Wn=Object[_0xebfca7(0xda)],Kn=Object[_0xebfca7(0x298)],Yn=(_0x4f9285,_0x1d375f,_0xfea343,_0x4e8e73)=>{var _0x420d4e=_0xebfca7;for(var _0x4ad1be=_0x4e8e73>0x1?void 0x0:_0x4e8e73?Kn(_0x1d375f,_0xfea343):_0x1d375f,_0x4487be=_0x4f9285[_0x420d4e(0x124)]-0x1,_0x1e6cc3;_0x4487be>=0x0;_0x4487be--)(_0x1e6cc3=_0x4f9285[_0x4487be])&&(_0x4ad1be=(_0x4e8e73?_0x1e6cc3(_0x1d375f,_0xfea343,_0x4ad1be):_0x1e6cc3(_0x4ad1be))||_0x4ad1be);return _0x4e8e73&&_0x4ad1be&&Wn(_0x1d375f,_0xfea343,_0x4ad1be),_0x4ad1be;},Kt=(_0x449e37,_0x316306)=>(_0x51b59d,_0x583cac)=>_0x316306(_0x51b59d,_0x583cac,_0x449e37);let xe=class extends _0x10bb52{constructor(_0xd8c7ff,_0x312855){var _0x332af2=_0xebfca7;super(),N(this,_0x332af2(0x100),new Map()),N(this,_0x332af2(0x35a),new _0x34e3bd()),(this[_0x332af2(0x173)]=_0xd8c7ff,this[_0x332af2(0x212)]=_0x312855,this['disposeWithMe'](_0x1345a8(this[_0x332af2(0x173)][_0x332af2(0x248)](_0x47927c[_0x332af2(0x18a)])['pipe'](_0x5522f1(_0x18d75f=>_0x18d75f['getUnitId']())),this[_0x332af2(0x173)][_0x332af2(0x248)](_0x47927c[_0x332af2(0x22d)])[_0x332af2(0x324)](_0x5522f1(_0x3a4b45=>_0x3a4b45[_0x332af2(0x266)]())),this['_univerInstanceService'][_0x332af2(0x248)](_0x47927c[_0x332af2(0x135)])[_0x332af2(0x324)](_0x5522f1(_0x52955d=>_0x52955d[_0x332af2(0x266)]())))[_0x332af2(0x154)](_0x2d5e4e=>this[_0x332af2(0x17b)](_0x2d5e4e))));}['waitForRoom$'](_0x236514){var _0x23fc9e=_0xebfca7;return this['_roomMembers'][_0x23fc9e(0x26a)](_0x236514)?_0x51b4a4(this[_0x23fc9e(0x100)][_0x23fc9e(0x308)](_0x236514)):this['_roomCreated$'][_0x23fc9e(0x324)](_0x5522f1(_0x47070a=>{var _0x58b916=_0x23fc9e;if(_0x47070a===_0x236514)return this[_0x58b916(0x100)][_0x58b916(0x308)](_0x47070a);}));}['setCurrentUser'](_0x183c17){var _0x48dfe0=_0xebfca7;this[_0x48dfe0(0x212)][_0x48dfe0(0xa3)](_0x183c17);}['getCurrentUser'](){var _0x34403f=_0xebfca7;return this[_0x34403f(0x212)][_0x34403f(0xba)]();}[_0xebfca7(0x348)](_0xa83a20,_0x99df00){var _0x4775ac=_0xebfca7;let _0x5f4120=this[_0x4775ac(0x100)][_0x4775ac(0x308)](_0xa83a20);_0x5f4120||(_0x5f4120=new qn(),this[_0x4775ac(0x100)][_0x4775ac(0x180)](_0xa83a20,_0x5f4120),this[_0x4775ac(0x35a)][_0x4775ac(0x257)](_0xa83a20)),_0x5f4120['updateMember'](_0x99df00);}[_0xebfca7(0x22b)](_0x3c89da,_0x445df2){var _0x3a31f3=_0xebfca7;const _0x5743d7=this[_0x3a31f3(0x100)][_0x3a31f3(0x308)](_0x3c89da);_0x5743d7&&_0x5743d7[_0x3a31f3(0x22b)](_0x445df2);}[_0xebfca7(0x249)](_0x4e83dc){var _0x50c350=_0xebfca7;return this[_0x50c350(0x100)][_0x50c350(0x308)](_0x4e83dc);}[_0xebfca7(0x191)](_0x55a52e,_0x37b37d){var _0x4402e8=_0xebfca7;const _0x14a1ae=this[_0x4402e8(0x100)][_0x4402e8(0x308)](_0x55a52e);if(_0x14a1ae)return _0x14a1ae[_0x4402e8(0x191)](_0x37b37d);}[_0xebfca7(0x17b)](_0x13a1b9){var _0x3eeed4=_0xebfca7;const _0x5b10d9=this[_0x3eeed4(0x100)][_0x3eeed4(0x308)](_0x13a1b9);_0x5b10d9&&(_0x5b10d9[_0x3eeed4(0x1a4)](),this[_0x3eeed4(0x100)]['delete'](_0x13a1b9));}[_0xebfca7(0x1a4)](){var _0x2a6163=_0xebfca7;this[_0x2a6163(0x100)][_0x2a6163(0x2df)](_0x1a38aa=>_0x1a38aa[_0x2a6163(0x1a4)]()),this['_roomMembers'][_0x2a6163(0x11c)](),this[_0x2a6163(0x35a)][_0x2a6163(0x1dc)]();}};xe=Yn([Kt(0x0,_0x47607b),Kt(0x1,_0x350f87(_0x2bb914))],xe);class qn extends _0x10bb52{constructor(){var _0x1919fa=_0xebfca7;super(...arguments),N(this,'_members',new Map()),N(this,_0x1919fa(0x21f),new _0x4a19f3(this['_members'])),N(this,_0x1919fa(0x145),this[_0x1919fa(0x21f)][_0x1919fa(0x152)]());}[_0xebfca7(0x1a4)](){var _0x281ed5=_0xebfca7;this[_0x281ed5(0x14d)][_0x281ed5(0x11c)]();}['updateMember'](_0x2bf0e7){var _0x266a24=_0xebfca7;this[_0x266a24(0x14d)][_0x266a24(0x180)](_0x2bf0e7[_0x266a24(0x18e)],_0x2bf0e7),this[_0x266a24(0x360)]();}['removeMember'](_0x26995d){var _0x151a81=_0xebfca7;this[_0x151a81(0x14d)][_0x151a81(0x2bd)](_0x26995d);}['getMember'](_0x599195){var _0x32b36c=_0xebfca7;return this[_0x32b36c(0x14d)]['get'](_0x599195);}[_0xebfca7(0x14b)](){var _0x40c67d=_0xebfca7;return Array['from'](this[_0x40c67d(0x14d)][_0x40c67d(0x20e)]());}[_0xebfca7(0x360)](){var _0x311b42=_0xebfca7;this['_members$']['next'](this[_0x311b42(0x14d)]);}}var zn=Object[_0xebfca7(0xda)],Jn=Object[_0xebfca7(0x298)],Xn=(_0x184388,_0x4600bf,_0x1356ba,_0x274e8a)=>{var _0x167e6f=_0xebfca7;for(var _0x3ef178=_0x274e8a>0x1?void 0x0:_0x274e8a?Jn(_0x4600bf,_0x1356ba):_0x4600bf,_0x4ba1cd=_0x184388[_0x167e6f(0x124)]-0x1,_0x19e22d;_0x4ba1cd>=0x0;_0x4ba1cd--)(_0x19e22d=_0x184388[_0x4ba1cd])&&(_0x3ef178=(_0x274e8a?_0x19e22d(_0x4600bf,_0x1356ba,_0x3ef178):_0x19e22d(_0x3ef178))||_0x3ef178);return _0x274e8a&&_0x3ef178&&zn(_0x4600bf,_0x1356ba,_0x3ef178),_0x3ef178;},me=(_0x5aa9ef,_0x3fd778)=>(_0x1421a5,_0x17d568)=>_0x3fd778(_0x1421a5,_0x17d568,_0x5aa9ef),Te=(_0x8dffc0=>(_0x8dffc0[_0x8dffc0[_0xebfca7(0x1ca)]=0x0]=_0xebfca7(0x1ca),_0x8dffc0[_0x8dffc0[_0xebfca7(0xef)]=0x1]='JOINING',_0x8dffc0[_0x8dffc0[_0xebfca7(0x349)]=0x2]=_0xebfca7(0x349),_0x8dffc0[_0x8dffc0['ONLINE']=0x3]='ONLINE',_0x8dffc0))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee['JOIN_ROOM_FULL']]:_0xebfca7(0x31e),[Ee[_0xebfca7(0x14c)]]:_0xebfca7(0x260),[Ee[_0xebfca7(0x1fc)]]:_0xebfca7(0x330),[Ee[_0xebfca7(0x2d6)]]:_0xebfca7(0x1d8)};let It=class extends _0x42ad43{constructor(_0x1135e6,_0x423f3b,_0x4a00ec,_0x23f648,_0x52ff51,_0xaedf3e,_0x191b1d,_0x4221e7,_0x22078f){var _0x559279=_0xebfca7;super(),N(this,_0x559279(0x316),new _0x4a19f3(0x0)),N(this,_0x559279(0x184),this[_0x559279(0x316)][_0x559279(0x152)]()),N(this,'_event$',new _0x34e3bd()),N(this,_0x559279(0x2c1),this[_0x559279(0x169)][_0x559279(0x152)]()),N(this,_0x559279(0x132)),N(this,_0x559279(0x278)),N(this,_0x559279(0x303)),N(this,_0x559279(0x1d3),!0x1),N(this,'_telemetryInfo',null),(this[_0x559279(0x9f)]=_0x1135e6,this[_0x559279(0x240)]=_0x4a00ec,this[_0x559279(0x234)]=_0x23f648,this['_localeService']=_0x52ff51,this['_memberService']=_0xaedf3e,this[_0x559279(0x2f9)]=_0x191b1d,this['_collaborationUIEventService']=_0x4221e7,this['_telemetryService']=_0x22078f,this[_0x559279(0x1d3)]=!!this[_0x559279(0xb2)],_0x423f3b[_0x559279(0x324)](_0x399539(this[_0x559279(0x299)]))[_0x559279(0x154)](_0x3d8293=>{var _0x5c550e=_0x559279,_0x3273af;typeof _0x3d8293>'u'||(this[_0x5c550e(0x132)]=_0x3d8293,_0x3d8293?(this[_0x5c550e(0x290)](_0x3d8293),this[_0x5c550e(0x278)]=_0x3d8293['message$'][_0x5c550e(0x154)](_0x17542b=>{var _0x350343=_0x5c550e;_0x17542b[_0x350343(0x9c)]===this[_0x350343(0x9f)]&&this[_0x350343(0xd3)](_0x17542b);})):(this[_0x5c550e(0x14f)](),this[_0x5c550e(0x316)][_0x5c550e(0x257)](0x2),(_0x3273af=this[_0x5c550e(0x278)])==null||_0x3273af[_0x5c550e(0x347)](),this[_0x5c550e(0x278)]=null));}));}get[_0xebfca7(0xa6)](){var _0xf354a=_0xebfca7;return this[_0xf354a(0x316)][_0xf354a(0x201)]();}[_0xebfca7(0x142)](){var _0x5bbc0a=_0xebfca7,_0x2539b2,_0x553b77;return(_0x553b77=(_0x2539b2=this[_0x5bbc0a(0x132)])==null?void 0x0:_0x2539b2[_0x5bbc0a(0x18e)])!=null?_0x553b77:null;}['dispose'](){var _0x1e02dc=_0xebfca7;super[_0x1e02dc(0x1a4)](),this[_0x1e02dc(0x299)]['next'](),this['dispose$'][_0x1e02dc(0x1dc)]();}[_0xebfca7(0x1e4)](){var _0x17b9b6=_0xebfca7,_0x1f193c,_0xe6fc4c;this[_0x17b9b6(0x14f)](),(_0x1f193c=this[_0x17b9b6(0x132)])==null||_0x1f193c['send']({'cmd':F[_0x17b9b6(0x2e5)],'data':{'roomID':this['_unitID']}}),(_0xe6fc4c=this[_0x17b9b6(0x132)])==null||_0xe6fc4c[_0x17b9b6(0x1e4)](),this['_event$'][_0x17b9b6(0x1dc)](),this[_0x17b9b6(0x316)]['complete'](),this[_0x17b9b6(0x1a4)]();}['_onCombEvent'](_0x2e15d3){var _0x1a8650=_0xebfca7;_0x2e15d3[_0x1a8650(0x24f)]===F[_0x1a8650(0x2b1)]?this[_0x1a8650(0x272)](_0x2e15d3):_0x2e15d3[_0x1a8650(0x24f)]===F['RECV']&&this[_0x1a8650(0x23a)](_0x2e15d3);}[_0xebfca7(0x290)](_0x4cf9a3){var _0x4916b7=_0xebfca7;this['_sessionStatus$']['next'](0x1),_0x4cf9a3[_0x4916b7(0x86)]({'cmd':F[_0x4916b7(0x2b1)],'routeKey':this[_0x4916b7(0x9f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4916b7(0x9f)]}]}});}[_0xebfca7(0x272)](_0x22cbc0){var _0x2262a0=_0xebfca7,_0x1b8210;if(_0x22cbc0[_0x2262a0(0xd1)]in Yt){this[_0x2262a0(0x16d)]['emitEvent']({'id':se[_0x2262a0(0x151)],'data':Yt[_0x22cbc0['code']]}),this['_sessionStatus$'][_0x2262a0(0x257)](0x2);return;}this[_0x2262a0(0x316)]['next'](0x3);const _0x299a7a=(_0x1b8210=_0x22cbc0['data'][_0x2262a0(0x8f)][this[_0x2262a0(0x9f)]])==null?void 0x0:_0x1b8210['members'];_0x299a7a&&_0x299a7a[_0x2262a0(0x2df)](_0x5a2ab4=>this[_0x2262a0(0x373)][_0x2262a0(0x348)](this[_0x2262a0(0x9f)],_0x5a2ab4));}[_0xebfca7(0x23a)](_0x3e007c){var _0x13f2d9=_0xebfca7;try{const _0x2c2861=_0x3e007c[_0x13f2d9(0xc2)];switch(_0x2c2861['eventID']){case _0x3aa22a[_0x13f2d9(0x351)]:this[_0x13f2d9(0x18f)](_0x2c2861),this[_0x13f2d9(0x169)][_0x13f2d9(0x257)](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0x1e0)]:this[_0x13f2d9(0x2ee)](_0x2c2861),this[_0x13f2d9(0x169)]['next'](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0x26c)]:case _0x3aa22a['CHANGESET_SHOULD_RETRY']:this[_0x13f2d9(0x196)](),this[_0x13f2d9(0xee)](),this[_0x13f2d9(0x169)][_0x13f2d9(0x257)](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0xd6)]:this['_logService'][_0x13f2d9(0x2f8)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x2c2861)),this['_event$'][_0x13f2d9(0x257)](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0x1a7)]:this[_0x13f2d9(0x2f9)][_0x13f2d9(0x2e7)](_0x2c2861[_0x13f2d9(0xc2)]),this['_event$']['next'](_0x2c2861);break;default:this[_0x13f2d9(0x169)][_0x13f2d9(0x257)](_0x2c2861);}}catch(_0x5dd2ea){this['_logService']['error'](_0x5dd2ea,_0x3e007c);}}[_0xebfca7(0x18f)](_0x438c01){var _0x35f000=_0xebfca7;this[_0x35f000(0x373)][_0x35f000(0x348)](this['_unitID'],_0x438c01[_0x35f000(0xc2)]);}[_0xebfca7(0x2ee)](_0x556ab2){var _0x3d6ca3=_0xebfca7;this['_memberService']['removeMember'](this[_0x3d6ca3(0x9f)],_0x556ab2[_0x3d6ca3(0xc2)]['memberID']);}async[_0xebfca7(0x86)](_0x15ce12,_0x30caeb){var _0x14f19e=_0xebfca7;if(this[_0x14f19e(0xa6)]!==0x3||!this[_0x14f19e(0x132)])throw new Error(_0x14f19e(0x14a));try{_0x15ce12[_0x14f19e(0x2dc)]===_0x3aa22a[_0x14f19e(0x231)]&&(this[_0x14f19e(0x15b)](),this[_0x14f19e(0x1b9)](_0x15ce12)),this['_socket'][_0x14f19e(0x86)]({'cmd':F['INGEST'],'routeKey':_0x30caeb,'routeType':'','data':_0x15ce12});}catch(_0xaf938d){this[_0x14f19e(0x240)][_0x14f19e(0x2f8)](_0xaf938d);}}[_0xebfca7(0x15b)](){var _0x179a72=_0xebfca7,_0x51048c;this[_0x179a72(0x303)]=setTimeout(()=>{var _0x3e3fe3=_0x179a72;this[_0x3e3fe3(0x303)]=null,this['_collaborationUIEventService']['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x51048c=this[_0x179a72(0x234)][_0x179a72(0x1d5)](Si))!=null?_0x51048c:Ei);}[_0xebfca7(0xee)](){var _0x584760=_0xebfca7;this[_0x584760(0x303)]&&(clearTimeout(this[_0x584760(0x303)]),this['_collaborationTimeoutTimer']=null);}[_0xebfca7(0x1b9)](_0x1ea4ef){var _0x1a8797=_0xebfca7;if(!this['_shouldReportTelemetry'])return;const {data:_0x52471c}=_0x1ea4ef,{unitID:_0x7fc11d,changeset:_0x278f78}=_0x52471c,{mutations:_0x19df0f,type:_0x411bd0}=_0x278f78;this[_0x1a8797(0x229)]={'unitId':_0x7fc11d,'type':_0x411bd0,'startTime':performance[_0x1a8797(0x2ba)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x19df0f)};}[_0xebfca7(0x196)](){var _0x16d4e1=_0xebfca7;if(this['_shouldReportTelemetry']){if(!this[_0x16d4e1(0x229)]){this[_0x16d4e1(0x240)]['error'](_0x16d4e1(0x168),_0x16d4e1(0x172));return;}this[_0x16d4e1(0x229)]['stopTime']=performance[_0x16d4e1(0x2ba)](),this[_0x16d4e1(0x229)][_0x16d4e1(0x259)]=this[_0x16d4e1(0x229)][_0x16d4e1(0x32b)]-this[_0x16d4e1(0x229)][_0x16d4e1(0x243)],this[_0x16d4e1(0xb2)][_0x16d4e1(0x2a0)](Vn,this[_0x16d4e1(0x229)]),this['_telemetryInfo']=null;}}[_0xebfca7(0x14f)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x39281b),me(0x3,_0x3e9aa3),me(0x4,_0x350f87(_0x1a7de2)),me(0x5,_0x350f87(xe)),me(0x6,_0x350f87(Ri)),me(0x7,_0x350f87(pe)),me(0x8,_0x461ea6(_0x427769))],It);var Zn=Object['defineProperty'],Qn=Object[_0xebfca7(0x298)],er=(_0x3fb2ae,_0x15ebbb,_0x520999,_0x144b3e)=>{var _0x2f2781=_0xebfca7;for(var _0x3e4bf6=_0x144b3e>0x1?void 0x0:_0x144b3e?Qn(_0x15ebbb,_0x520999):_0x15ebbb,_0x4814d6=_0x3fb2ae[_0x2f2781(0x124)]-0x1,_0x753f45;_0x4814d6>=0x0;_0x4814d6--)(_0x753f45=_0x3fb2ae[_0x4814d6])&&(_0x3e4bf6=(_0x144b3e?_0x753f45(_0x15ebbb,_0x520999,_0x3e4bf6):_0x753f45(_0x3e4bf6))||_0x3e4bf6);return _0x144b3e&&_0x3e4bf6&&Zn(_0x15ebbb,_0x520999,_0x3e4bf6),_0x3e4bf6;},ge=(_0x2c4e03,_0x1fed4c)=>(_0x39de7e,_0x54c5dc)=>_0x1fed4c(_0x39de7e,_0x54c5dc,_0x2c4e03);let Le=class extends _0x10bb52{constructor(_0xc46525,_0x59e3cc,_0x4291fa,_0x17eee1,_0x316ad6,_0x2412f5,_0x155d07){var _0x8ecfe9=_0xebfca7;super(),N(this,_0x8ecfe9(0xa5),new _0x4a19f3(void 0x0)),N(this,'socket$',this['_socket$'][_0x8ecfe9(0x152)]()),N(this,_0x8ecfe9(0x336),null),N(this,'_sessions',new Map()),N(this,_0x8ecfe9(0x302),new _0x4a19f3(Te[_0x8ecfe9(0x1ca)])),N(this,_0x8ecfe9(0xe1),this[_0x8ecfe9(0x302)][_0x8ecfe9(0x152)]()),N(this,_0x8ecfe9(0x144),!0x1),N(this,_0x8ecfe9(0x312)),N(this,'_retryCount',0x0),N(this,_0x8ecfe9(0x2d3)),N(this,'_timeoutTimer'),(this[_0x8ecfe9(0x1c6)]=_0xc46525,this[_0x8ecfe9(0x240)]=_0x59e3cc,this['_configService']=_0x4291fa,this['_socketService']=_0x17eee1,this[_0x8ecfe9(0x236)]=_0x316ad6,this[_0x8ecfe9(0x16d)]=_0x2412f5,this[_0x8ecfe9(0x89)]=_0x155d07,this[_0x8ecfe9(0x181)]());}get['_socket'](){var _0x5344b4=_0xebfca7;return this[_0x5344b4(0xa5)][_0x5344b4(0x201)]();}[_0xebfca7(0x181)](){var _0x16283e=_0xebfca7;this[_0x16283e(0x89)]&&this['disposeWithMe'](this[_0x16283e(0x89)]['online$']['subscribe'](_0x295878=>{var _0x1c8249=_0x16283e;_0x295878&&!this['_socket']&&this[_0x1c8249(0x37b)](),_0x295878||this[_0x1c8249(0x1f6)]();}));}[_0xebfca7(0x1a4)](){var _0xed5d3a=_0xebfca7;super[_0xed5d3a(0x1a4)](),this[_0xed5d3a(0xea)][_0xed5d3a(0x2df)](_0x569b3e=>_0x569b3e['dispose']()),this['_sessions'][_0xed5d3a(0x11c)](),this[_0xed5d3a(0x302)]['complete']();}async[_0xebfca7(0x98)](_0x495e98){var _0x219751=_0xebfca7;if(this[_0x219751(0xea)][_0x219751(0x26a)](_0x495e98))return this['_sessions']['get'](_0x495e98);this[_0x219751(0x1aa)]();const _0x4d79ed=this[_0x219751(0x1c6)][_0x219751(0x28a)](It,_0x495e98,this[_0x219751(0xa5)]['asObservable']());return this[_0x219751(0xea)][_0x219751(0x180)](_0x495e98,_0x4d79ed),_0x4d79ed;}[_0xebfca7(0x35f)](_0x44ef87){var _0x49b947=_0xebfca7,_0x5aec0d;const _0x51334a=this[_0x49b947(0xea)][_0x49b947(0x308)](_0x44ef87);_0x51334a&&(this['_sessions'][_0x49b947(0x2bd)](_0x44ef87),_0x51334a[_0x49b947(0x1e4)]()),this[_0x49b947(0xea)][_0x49b947(0x35d)]||(_0x5aec0d=this[_0x49b947(0x132)])==null||_0x5aec0d[_0x49b947(0x1e4)]();}[_0xebfca7(0x37b)](){var _0x4c7372=_0xebfca7;this[_0x4c7372(0x2e2)]=0x0,this[_0x4c7372(0x312)]!=null&&(clearTimeout(this[_0x4c7372(0x312)]),this[_0x4c7372(0x312)]=null),this[_0x4c7372(0x345)]();}async[_0xebfca7(0x2ea)](){var _0x3e07d8=_0xebfca7,_0x465f60,_0x3b3875,_0xfd0033;const _0x4f8649=this[_0x3e07d8(0x234)][_0x3e07d8(0x1d5)](q),_0x11097e=(_0x465f60=_0x4f8649==null?void 0x0:_0x4f8649[_0x3e07d8(0x1bc)])!=null?_0x465f60:On;return(_0xfd0033=(_0x3b3875=(await this[_0x3e07d8(0x236)][_0x3e07d8(0x308)](_0x11097e,{'headers':{'Content-Type':'application/json'}}))[_0x3e07d8(0x310)])==null?void 0x0:_0x3b3875[_0x3e07d8(0x157)])!=null?_0xfd0033:'';}['_createSocketURL'](_0x274eb5){var _0x7dd477=_0xebfca7,_0x5adb9e,_0x30d45e;const _0x24c9d8=this['_configService'][_0x7dd477(0x1d5)](Rn),_0x5a72c4=this[_0x7dd477(0x234)][_0x7dd477(0x1d5)](q),_0x19981e=(_0x30d45e=(_0x5adb9e=_0x5a72c4==null?void 0x0:_0x5a72c4[_0x7dd477(0x244)])!=null?_0x5adb9e:_0x24c9d8)!=null?_0x30d45e:bn,_0x774e1b=typeof window>'u'?new URL(_0x19981e):new URL(_0x19981e,window['location']['origin']);_0x774e1b['searchParams'][_0x7dd477(0x180)]('sessionTicket',_0x274eb5);const _0xbc15d0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7dd477(0x30b)][_0x7dd477(0xbc)]);return _0xbc15d0['get']('runId')&&_0x774e1b['searchParams']['set']('runId',_0xbc15d0[_0x7dd477(0x308)]('runId')),_0x774e1b[_0x7dd477(0x153)]();}async[_0xebfca7(0x17e)](){var _0x26c35b=_0xebfca7;const _0x4401b1=await this[_0x26c35b(0x2ea)](),_0x363db1=this[_0x26c35b(0x19b)](_0x4401b1),_0x33ed22=this[_0x26c35b(0x166)][_0x26c35b(0x159)](_0x363db1);return this[_0x26c35b(0x336)]=_0x33ed22,_0x33ed22;}async['_tryEnsureSocket'](){var _0x57daf9=_0xebfca7,_0x4217f7,_0xce216e;try{const _0x307efa=(_0xce216e=(_0x4217f7=this[_0x57daf9(0x132)])!=null?_0x4217f7:this['_candidateSocket'])!=null?_0xce216e:await this['_createSocket']();if(_0x307efa){const _0x37ac4d=_0x307efa['send'];_0x307efa[_0x57daf9(0x86)]=_0x302549=>(this[_0x57daf9(0x293)](),_0x37ac4d[_0x57daf9(0xff)](_0x307efa,[_0x302549])),_0x307efa['message$'][_0x57daf9(0x154)](_0x491d9f=>this[_0x57daf9(0xc0)](_0x307efa,_0x491d9f)),_0x307efa[_0x57daf9(0x2db)]['pipe'](_0x530efe(0x1))['subscribe'](_0x5d3497=>this[_0x57daf9(0x240)]['error'](_0x57daf9(0x20f),_0x5d3497)),_0x307efa[_0x57daf9(0x30a)][_0x57daf9(0x324)](_0x530efe(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x307efa);}),_0x307efa[_0x57daf9(0x87)][_0x57daf9(0x324)](_0x530efe(0x1))['subscribe'](_0x32d48f=>{var _0x53cb1b=_0x57daf9;this[_0x53cb1b(0x240)][_0x53cb1b(0x10b)](_0x53cb1b(0x149),_0x53cb1b(0x2a5),_0x32d48f),this[_0x53cb1b(0x350)]();});}}catch(_0x4621c2){this[_0x57daf9(0x240)][_0x57daf9(0x2f8)](_0x4621c2),this[_0x57daf9(0x350)]();}}[_0xebfca7(0x256)](_0x13a0c8){var _0x34fef8=_0xebfca7;this[_0x34fef8(0x240)][_0x34fef8(0x10b)](_0x34fef8(0x149),_0x34fef8(0x10e)),_0x13a0c8[_0x34fef8(0x86)]({'cmd':F[_0x34fef8(0x1cc)]}),this[_0x34fef8(0x293)]();}[_0xebfca7(0x1f6)](){var _0xebf0b2=_0xebfca7;this[_0xebf0b2(0x144)]=!0x1,this[_0xebf0b2(0x336)]=null,this[_0xebf0b2(0x302)][_0xebf0b2(0x257)](Te[_0xebf0b2(0x349)]),this[_0xebf0b2(0xa5)][_0xebf0b2(0x257)](null),this[_0xebf0b2(0x1ec)](),this['_clearHeartbeatTimer']();}[_0xebfca7(0x350)](){var _0x489ce3=_0xebfca7,_0x2da09c;this[_0x489ce3(0x1f6)](),this['_retryCount']<((_0x2da09c=this['_configService'][_0x489ce3(0x1d5)](Pn))!=null?_0x2da09c:wn)?(this[_0x489ce3(0x16d)]['emitEvent']({'id':se[_0x489ce3(0x1b8)]}),this['_tryReconnect']()):this[_0x489ce3(0x16d)]['emitEvent']({'id':se['SOCKET_FAILED']});}[_0xebfca7(0x345)](){var _0xeb9227=_0xebfca7,_0x4dfd5c;const _0x403697=this[_0xeb9227(0x2e2)],_0x1f4631=this[_0xeb9227(0x234)]['getConfig'](q),_0x5c169a=_0x403697===0x0?0x0:((_0x4dfd5c=_0x1f4631==null?void 0x0:_0x1f4631[_0xeb9227(0x335)])!=null?_0x4dfd5c:Dn)*0x2**_0x403697;this[_0xeb9227(0x312)]=setTimeout(()=>{var _0x1b3752=_0xeb9227;clearTimeout(this[_0x1b3752(0x312)]),this[_0x1b3752(0x312)]=null,this[_0x1b3752(0x1aa)]();},_0x5c169a),this['_retryCount']+=0x1;}['_onMessage'](_0x260ad9,_0x19e2bd){var _0x146c7d=_0xebfca7;const {cmd:_0x1492ea}=_0x19e2bd;_0x1492ea===F[_0x146c7d(0x1cc)]&&!this[_0x146c7d(0x144)]&&(_0x260ad9['memberID']=_0x19e2bd['data']['memberID'],this[_0x146c7d(0xa5)][_0x146c7d(0x257)](_0x260ad9),this[_0x146c7d(0x302)]['next'](Te[_0x146c7d(0x1f8)]),this[_0x146c7d(0x144)]=!0x0,this[_0x146c7d(0x336)]=null),_0x1492ea===F[_0x146c7d(0x20d)]&&this[_0x146c7d(0x1ec)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0xed4552=_0xebfca7,_0x5f591;this[_0xed4552(0x183)](),this[_0xed4552(0x2d3)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5f591=this[_0xed4552(0x234)][_0xed4552(0x1d5)](yn))!=null?_0x5f591:Nn);}[_0xebfca7(0x286)](){var _0x1263c0=_0xebfca7;this[_0x1263c0(0x132)][_0x1263c0(0x86)]({'cmd':F[_0x1263c0(0x20d)]}),this[_0x1263c0(0x12e)]();}[_0xebfca7(0x12e)](){var _0x4946e8=_0xebfca7,_0x282ced;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x282ced=this[_0x4946e8(0x234)][_0x4946e8(0x1d5)](Si))!=null?_0x282ced:Ei);}['_clearHeartbeatTimer'](){var _0x320686=_0xebfca7;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x320686(0x2d3)]),this['_sendHeartbeatTimer']=null);}[_0xebfca7(0x1ec)](){var _0x5d3734=_0xebfca7;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5d3734(0x12f)]),this['_timeoutTimer']=null);}};function _0x1328(_0x3e6408,_0xb15ffc){var _0x21100f=_0x2110();return _0x1328=function(_0x132875,_0xa254f8){_0x132875=_0x132875-0x86;var _0x1c3649=_0x21100f[_0x132875];return _0x1c3649;},_0x1328(_0x3e6408,_0xb15ffc);}Le=er([ge(0x0,_0x350f87(_0x3e288c)),ge(0x1,_0x39281b),ge(0x2,_0x3e9aa3),ge(0x3,Ci),ge(0x4,_0x350f87(_0x2db2ac)),ge(0x5,_0x350f87(pe)),ge(0x6,_0x461ea6(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x222f91,_0x21f2e1=0x0){var _0x5a12d0=_0xebfca7;return(V[_0x222f91[_0x21f2e1+0x0]]+V[_0x222f91[_0x21f2e1+0x1]]+V[_0x222f91[_0x21f2e1+0x2]]+V[_0x222f91[_0x21f2e1+0x3]]+'-'+V[_0x222f91[_0x21f2e1+0x4]]+V[_0x222f91[_0x21f2e1+0x5]]+'-'+V[_0x222f91[_0x21f2e1+0x6]]+V[_0x222f91[_0x21f2e1+0x7]]+'-'+V[_0x222f91[_0x21f2e1+0x8]]+V[_0x222f91[_0x21f2e1+0x9]]+'-'+V[_0x222f91[_0x21f2e1+0xa]]+V[_0x222f91[_0x21f2e1+0xb]]+V[_0x222f91[_0x21f2e1+0xc]]+V[_0x222f91[_0x21f2e1+0xd]]+V[_0x222f91[_0x21f2e1+0xe]]+V[_0x222f91[_0x21f2e1+0xf]])[_0x5a12d0(0x369)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x560e2a=_0xebfca7;if(!ut){if(typeof crypto>'u'||!crypto[_0x560e2a(0xcf)])throw new Error(_0x560e2a(0x367));ut=crypto[_0x560e2a(0xcf)]['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0xebfca7(0xf6)]&&crypto['randomUUID'][_0xebfca7(0x33a)](crypto),qt={'randomUUID':rr};function sr(_0x4103d5,_0x1972c4,_0x73c962){var _0x58fe45=_0xebfca7,_0x5e8383,_0x5bc507,_0xa9a9e1;if(qt['randomUUID']&&!_0x4103d5)return qt['randomUUID']();_0x4103d5=_0x4103d5||{};const _0x344644=(_0xa9a9e1=(_0x5bc507=_0x4103d5['random'])!=null?_0x5bc507:(_0x5e8383=_0x4103d5['rng'])==null?void 0x0:_0x5e8383[_0x58fe45(0x1da)](_0x4103d5))!=null?_0xa9a9e1:nr();if(_0x344644[_0x58fe45(0x124)]<0x10)throw new Error(_0x58fe45(0x309));return _0x344644[0x6]=_0x344644[0x6]&0xf|0x40,_0x344644[0x8]=_0x344644[0x8]&0x3f|0x80,tr(_0x344644);}const J=_0x413e5f(_0xebfca7(0x24c));function so(_0x15821c){var _0x57c548=_0xebfca7;return _0x57c548(0x2fb)+_0x15821c;}var or=Object[_0xebfca7(0xda)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x30d8e6,_0x1658dd,_0x4d300f,_0x466e4e)=>{for(var _0x1c549a=_0x466e4e>0x1?void 0x0:_0x466e4e?ar(_0x1658dd,_0x4d300f):_0x1658dd,_0x2e8489=_0x30d8e6['length']-0x1,_0x26db78;_0x2e8489>=0x0;_0x2e8489--)(_0x26db78=_0x30d8e6[_0x2e8489])&&(_0x1c549a=(_0x466e4e?_0x26db78(_0x1658dd,_0x4d300f,_0x1c549a):_0x26db78(_0x1c549a))||_0x1c549a);return _0x466e4e&&_0x1c549a&&or(_0x1658dd,_0x4d300f,_0x1c549a),_0x1c549a;},dt=(_0x2c70ba,_0x1315ff)=>(_0x4f14e2,_0x348969)=>_0x1315ff(_0x4f14e2,_0x348969,_0x2c70ba);function hr(_0x566bcd){var _0x19f054=_0xebfca7;const {unitID:_0x19af99,mutations:_0x3db87d}=_0x566bcd;return{'unitId':_0x19af99,'subUnitId':_0x3db87d[0x0][_0x19f054(0x17a)]['subUnitId']};}let it=class{constructor(_0x511bd9,_0x1eb7f2,_0x5874de){var _0x42a609=_0xebfca7;this[_0x42a609(0x1c6)]=_0x511bd9,this[_0x42a609(0x111)]=_0x1eb7f2,this['_instanceService']=_0x5874de;}[_0xebfca7(0x24a)](_0x529070){var _0xa03a64=_0xebfca7,_0x27b2f8,_0x731ba5,_0x35c168,_0x42d4c1;const _0x2ba01c=this['_injector'][_0xa03a64(0x308)](_0x4c18a8),{unitId:_0x11a30a,subUnitId:_0x34d327}=hr(_0x529070),_0x2e18a9=_0x2ba01c==null?void 0x0:_0x2ba01c[_0xa03a64(0xde)](_0x11a30a)[_0xa03a64(0x206)](),_0x49574a=(_0x731ba5=(_0x27b2f8=this[_0xa03a64(0x202)][_0xa03a64(0x20b)](_0x11a30a))==null?void 0x0:_0x27b2f8[_0xa03a64(0x246)]())==null?void 0x0:_0x731ba5[_0xa03a64(0xf3)]();if(_0x2e18a9[_0xa03a64(0x124)]===0x0||!_0x11a30a||!_0x34d327)return;const _0x5c88ee=[{'id':_0x5b7620['id'],'params':{'unitId':_0x11a30a,'subUnitId':_0x49574a,'selections':_0x4ce8aa[_0xa03a64(0x25d)](_0x2e18a9)}}],_0x3c24a8=this[_0xa03a64(0x111)][_0xa03a64(0x128)](_0x529070,_0x5c88ee);if(!_0x27b7b3(_0x3c24a8))throw _0x3c24a8[_0xa03a64(0x2f8)];const _0x2e1805=(_0x42d4c1=(_0x35c168=_0x3c24a8[_0xa03a64(0x343)][0x0])==null?void 0x0:_0x35c168[_0xa03a64(0x17a)])==null?void 0x0:_0x42d4c1[_0xa03a64(0x1a1)];if(Array[_0xa03a64(0x1db)](_0x2e1805)&&_0x2e1805['length']){if(_0x2e1805['length']===_0x5c88ee[0x0][_0xa03a64(0x17a)]['selections'][_0xa03a64(0x124)]&&_0x2e1805[_0xa03a64(0x366)]((_0x1080f9,_0x502bec)=>_0x18715e[_0xa03a64(0x13e)](_0x1080f9[_0xa03a64(0x1b1)],_0x5c88ee[0x0][_0xa03a64(0x17a)][_0xa03a64(0x1a1)][_0x502bec][_0xa03a64(0x1b1)])))return;this[_0xa03a64(0x1c6)][_0xa03a64(0x308)](_0x5f3828)[_0xa03a64(0x114)](_0x5b7620['id'],{'unitId':_0x11a30a,'subUnitId':_0x49574a,'selections':_0x2e1805});}}};it=cr([dt(0x0,_0x350f87(_0x3e288c)),dt(0x1,_0x248c0d),dt(0x2,_0x47607b)],it);const ht=_0x413e5f(_0xebfca7(0x90));var bi=(_0x5a07bb=>(_0x5a07bb[_0x5a07bb[_0xebfca7(0x2e8)]=0x0]=_0xebfca7(0x2e8),_0x5a07bb[_0x5a07bb[_0xebfca7(0xdd)]=0x1]=_0xebfca7(0xdd),_0x5a07bb))(bi||{});const _r=new Set([_0x1abf14['id']]);function zt(_0xe6bd55,_0x484bb6,_0x5e38af,_0x3d175a,_0x462c8f){var _0x34d3eb=_0xebfca7,_0x13f57c,_0x506a15,_0x26f086,_0x2f4b05;const _0x461495=[];for(const _0x486f20 of _0xe6bd55)if(_r[_0x34d3eb(0x26a)](_0x486f20['id'])){if(_0x461495['length']>0x0)break;_0x461495[_0x34d3eb(0xca)](_0x486f20);break;}else _0x461495[_0x34d3eb(0xca)](_0x486f20);const _0x43765a=(_0x506a15=(_0x13f57c=_0x462c8f[_0x34d3eb(0xba)]())==null?void 0x0:_0x13f57c[_0x34d3eb(0x28e)])!=null?_0x506a15:_0x34d3eb(0x1ef),_0xb6b75a=(_0x2f4b05=(_0x26f086=_0x462c8f[_0x34d3eb(0xba)]())==null?void 0x0:_0x26f086['memberID'])!=null?_0x2f4b05:_0x34d3eb(0x1ef);return{'changeset':{'unitID':_0x484bb6,'type':_0x5aa935(_0x5e38af[_0x34d3eb(0x1d2)](_0x484bb6)),'baseRev':_0x3d175a[_0x34d3eb(0x254)](_0x484bb6),'revision':0x0,'userID':_0x43765a,'memberID':_0xb6b75a,'mutations':_0x461495},'pendingMutations':_0xe6bd55[_0x34d3eb(0x164)](_0x461495[_0x34d3eb(0x124)])};}function lr(_0x1e1ad1,_0x158061,_0x396497,_0x4358f1,_0x55d957){var _0x529392=_0xebfca7,_0x2ede2b,_0x4b9716,_0x38e782,_0x405f8c;const _0xd8582c=[_0x1e1ad1[_0x529392(0x130)]((_0x2d49a3,_0x24076f)=>{var _0x26af3b=_0x529392,_0x14e9e3;const {id:_0x4d99fd}=_0x2d49a3,{id:_0x75697e,type:_0x521b9d}=_0x24076f,_0x2b4307=(_0x14e9e3=_0x2d49a3[_0x26af3b(0x17a)])!=null?_0x14e9e3:{'actions':null},_0x1e5a8d=_0x24076f['params'];if(_0x4d99fd&&_0x4d99fd!==_0x75697e)throw new Error(_0x26af3b(0x376)+_0x4d99fd+_0x26af3b(0x228)+_0x75697e+'.');return{..._0x2d49a3,'id':_0x75697e,'type':_0x521b9d,'params':{'unitId':_0x1e5a8d[_0x26af3b(0x34d)],'textRanges':_0x1e5a8d[_0x26af3b(0x2cb)],'actions':_0x2196a1[_0x26af3b(0x2c4)](_0x2b4307[_0x26af3b(0x27a)],_0x1e5a8d['actions'])}};},{})],_0x2ca357=(_0x4b9716=(_0x2ede2b=_0x55d957['getCurrentUser']())==null?void 0x0:_0x2ede2b['userID'])!=null?_0x4b9716:'unknown',_0x18b2c5=(_0x405f8c=(_0x38e782=_0x55d957[_0x529392(0xba)]())==null?void 0x0:_0x38e782[_0x529392(0x18e)])!=null?_0x405f8c:'unknown';return{'changeset':{'unitID':_0x158061,'type':_0x5aa935(_0x396497[_0x529392(0x1d2)](_0x158061)),'baseRev':_0x4358f1[_0x529392(0x254)](_0x158061),'revision':0x0,'userID':_0x2ca357,'memberID':_0x18b2c5,'mutations':_0xd8582c},'pendingMutations':[]};}function Oi(_0x39af8d,_0x500e11){var _0x5e2649=_0xebfca7;const _0x54cf8f=new _0x25d760(0x1);return setTimeout(()=>_0x54cf8f[_0x5e2649(0x257)](_0x500e11),_0x39af8d),_0x54cf8f['asObservable']()[_0x5e2649(0x324)](_0x12ef5d(0x1));}const ur={'id':_0x50309e['id'],'type':_0x20e9e2[_0xebfca7(0x2dd)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0xebfca7(0x298)],Re=(_0xf62df5,_0x249d80,_0x29b613,_0x3ddd92)=>{var _0x46fa52=_0xebfca7;for(var _0x20d490=_0x3ddd92>0x1?void 0x0:_0x3ddd92?fr(_0x249d80,_0x29b613):_0x249d80,_0x2fb09b=_0xf62df5[_0x46fa52(0x124)]-0x1,_0x1c0b2c;_0x2fb09b>=0x0;_0x2fb09b--)(_0x1c0b2c=_0xf62df5[_0x2fb09b])&&(_0x20d490=(_0x3ddd92?_0x1c0b2c(_0x249d80,_0x29b613,_0x20d490):_0x1c0b2c(_0x20d490))||_0x20d490);return _0x3ddd92&&_0x20d490&&dr(_0x249d80,_0x29b613,_0x20d490),_0x20d490;},A=(_0x1171d4,_0x1a7b4e)=>(_0x19c02a,_0x1ffbbf)=>_0x1a7b4e(_0x19c02a,_0x1ffbbf,_0x1171d4),yi=(_0x2cfd09=>(_0x2cfd09[_0xebfca7(0x292)]=_0xebfca7(0x222),_0x2cfd09[_0xebfca7(0x163)]='synced',_0x2cfd09[_0xebfca7(0x36d)]='pending',_0x2cfd09[_0xebfca7(0x127)]=_0xebfca7(0xb0),_0x2cfd09['AWAITING_WITH_PENDING']=_0xebfca7(0x269),_0x2cfd09[_0xebfca7(0x342)]=_0xebfca7(0x274),_0x2cfd09[_0xebfca7(0x27b)]=_0xebfca7(0x139),_0x2cfd09[_0xebfca7(0x349)]=_0xebfca7(0x304),_0x2cfd09))(yi||{});const Ni=0xea60;class be{constructor(_0xcea0f5,_0x51aa84,_0x814854,_0x11dae4,_0x12f2e4,_0x28787f,_0x4e58fe,_0x313556,_0x3fc219){var _0x2936bf=_0xebfca7;N(this,_0x2936bf(0x1e2),null),N(this,_0x2936bf(0x271),[]),(this[_0x2936bf(0x37e)]=_0xcea0f5,this[_0x2936bf(0xdb)]=_0x51aa84,this['_handler']=_0x12f2e4,this[_0x2936bf(0x314)]=_0x28787f,this[_0x2936bf(0xfc)]=_0x4e58fe,this[_0x2936bf(0x205)]=_0x313556,this['_localCacheService']=_0x3fc219,this['_awaitingChangeset']=_0x814854,this[_0x2936bf(0x271)]=_0x11dae4);}['_checkMissing'](_0x5528f7){var _0x3abcb7=_0xebfca7;const _0x42cf1d=this['_revisionService'][_0x3abcb7(0x254)](this[_0x3abcb7(0x37e)]);return _0x5528f7['revision']>_0x42cf1d+0x1?(this[_0x3abcb7(0x2e4)][_0x3abcb7(0x112)]({'from':_0x42cf1d,'to':_0x5528f7[_0x3abcb7(0x193)]-0x1}),!0x0):!0x1;}[_0xebfca7(0xb5)](_0x2ceaf1){var _0x428309=_0xebfca7;this['_undoRedoService'][_0x428309(0x2af)](this[_0x428309(0x37e)],_0x2ceaf1);}[_0xebfca7(0xa1)](_0x526087){var _0x41ba83=_0xebfca7,_0x1d4dbb,_0x148df1;(_0x148df1=(_0x1d4dbb=this[_0x41ba83(0x2e4)])[_0x41ba83(0x1d1)])==null||_0x148df1['call'](_0x1d4dbb,_0x526087);}[_0xebfca7(0x281)](_0x3f61fd){var _0x37c707=_0xebfca7,_0x1b8738,_0x4c1507;return(_0x4c1507=(_0x1b8738=this[_0x37c707(0x2e4)])[_0x37c707(0x2d1)])==null?void 0x0:_0x4c1507[_0x37c707(0x1da)](_0x1b8738,_0x3f61fd);}[_0xebfca7(0xaf)](_0x2cd353){var _0x34e40f=_0xebfca7,_0x3e2809,_0x252d1d;return(_0x252d1d=(_0x3e2809=this[_0x34e40f(0x2e4)])['onTransformState'])==null?void 0x0:_0x252d1d[_0x34e40f(0x1da)](_0x3e2809,_0x2cd353);}[_0xebfca7(0xc5)](_0x24343d){var _0xc8c3fb=_0xebfca7,_0x1c2c71,_0x3d6337,_0x51cb21;return(_0x51cb21=(_0x3d6337=(_0x1c2c71=this['_handler'])[_0xc8c3fb(0x2b2)])==null?void 0x0:_0x3d6337[_0xc8c3fb(0x1da)](_0x1c2c71,_0x24343d))!=null?_0x51cb21:_0x24343d;}['_transformRemoteChangesetByStateCache'](_0x2c6cca){var _0x57d6d5=_0xebfca7,_0x281d33,_0x2ab448,_0x526906;return(_0x526906=(_0x2ab448=(_0x281d33=this[_0x57d6d5(0x2e4)])[_0x57d6d5(0x2e9)])==null?void 0x0:_0x2ab448[_0x57d6d5(0x1da)](_0x281d33,_0x2c6cca))!=null?_0x526906:_0x2c6cca;}[_0xebfca7(0x352)](_0x94e252){var _0xdd7f25=_0xebfca7,_0x34a664,_0x21720a;if(this[_0xdd7f25(0xdb)]===Q[_0xdd7f25(0x22d)]){const {unitID:_0x8d1f38,mutations:_0x2312c8,memberID:_0x315a57}=_0x94e252,_0x4835c9=_0x2312c8[0x0][_0xdd7f25(0x17a)][_0xdd7f25(0x2cb)];Array[_0xdd7f25(0x1db)](_0x4835c9)&&_0x4835c9[_0xdd7f25(0x124)]>0x0&&((_0x21720a=(_0x34a664=this[_0xdd7f25(0x2e4)])[_0xdd7f25(0x2b6)])==null||_0x21720a[_0xdd7f25(0x1da)](_0x34a664,{'unitID':_0x8d1f38,'memberID':_0x315a57,'textRanges':_0x4835c9}));}}[_0xebfca7(0xe3)](){var _0x3cab8b=_0xebfca7,_0x2f6103;(_0x2f6103=this['_localCacheService'])==null||_0x2f6103[_0x3cab8b(0xd5)](this[_0x3cab8b(0x37e)],this[_0x3cab8b(0xdb)],this[_0x3cab8b(0x1e2)],this[_0x3cab8b(0x271)]);}[_0xebfca7(0x1c7)](){var _0x1da251=_0xebfca7;return this['_revisionService'][_0x1da251(0x254)](this['unitID']);}[_0xebfca7(0x2de)](){var _0x5b43bd=_0xebfca7;this[_0x5b43bd(0x205)][_0x5b43bd(0x174)](this[_0x5b43bd(0x37e)]);}[_0xebfca7(0x323)](_0x2e77ca){var _0x5f5bfe=_0xebfca7,_0xec6e8b;let _0x26c0b9=this[_0x5f5bfe(0xc5)](_0x2e77ca);_0x26c0b9=this[_0x5f5bfe(0x253)](_0x26c0b9);const _0x47cfa7=_0xeae2cc(_0x26c0b9[_0x5f5bfe(0x148)],this[_0x5f5bfe(0x314)],{'fromCollab':!0x0});if(!_0x47cfa7[_0x5f5bfe(0x2aa)])throw _0x47cfa7[_0x5f5bfe(0x2f8)]instanceof Error?_0x47cfa7[_0x5f5bfe(0x2f8)]:new Error((_0xec6e8b=_0x47cfa7[_0x5f5bfe(0x2f8)])!=null?_0xec6e8b:_0x5f5bfe(0x2fc));this[_0x5f5bfe(0x281)](_0x26c0b9),this[_0x5f5bfe(0xaf)](_0x26c0b9),this[_0x5f5bfe(0xb5)](_0x2e77ca),this[_0x5f5bfe(0xa1)](_0x26c0b9),this[_0x5f5bfe(0x352)](_0x26c0b9),this[_0x5f5bfe(0x2de)]();}}let De=class extends be{constructor(_0x32a7b5,_0x51aafe,_0x5e0726,_0x4d0c13,_0x519df6,_0x4c31ae,_0xdd3bac,_0x40719e,_0xc459ed,_0x4d8ed9){var _0x2bbf9d=_0xebfca7;super(_0x32a7b5,_0x51aafe,null,[],_0x5e0726,_0xdd3bac,_0x4c31ae,_0x4d0c13,_0x4d8ed9),N(this,_0x2bbf9d(0x129),_0x2bbf9d(0x29e)),(this[_0x2bbf9d(0x1c6)]=_0x519df6,this['_logService']=_0x40719e,this[_0x2bbf9d(0x111)]=_0xc459ed,this[_0x2bbf9d(0x284)]=_0x4d8ed9);}['appendMutation'](_0xe62c3f){var _0x273cf5=_0xebfca7;const _0x3f280d=this['_injector'][_0x273cf5(0x28a)](oe,this[_0x273cf5(0x37e)],this[_0x273cf5(0xdb)],[_0xe62c3f],this[_0x273cf5(0x2e4)]);return _0x3f280d[_0x273cf5(0xf4)](),_0x3f280d[_0x273cf5(0xe3)](),_0x3f280d;}[_0xebfca7(0x2cc)](_0x1df37d){var _0x260d67=_0xebfca7;if(this[_0x260d67(0x1d7)](_0x1df37d))return this[_0x260d67(0x1c6)][_0x260d67(0x28a)](te,this[_0x260d67(0x37e)],this[_0x260d67(0xdb)],null,[],null,[_0x1df37d],this['_handler']);try{const _0x294e4b=this[_0x260d67(0x111)]['transformMutationsWithChangeset'](_0x1df37d,[ur]);if(_0x27b7b3(_0x294e4b)){const {c1Prime:_0x526038}=_0x294e4b;return this['_executeRemoteChangeset'](_0x526038),this;}throw _0x294e4b['error'];}catch(_0x179592){return this[_0x260d67(0x240)][_0x260d67(0x2f8)](_0x179592),this[_0x260d67(0x167)](!0x1);}}[_0xebfca7(0x167)](_0x36649e){var _0x27871d=_0xebfca7;return this[_0x27871d(0x1c6)][_0x27871d(0x28a)](de,this[_0x27871d(0x37e)],this[_0x27871d(0xdb)],null,[],this[_0x27871d(0x2e4)],_0x36649e);}[_0xebfca7(0x1c9)](){var _0x4f13a5=_0xebfca7;throw new Error(_0x4f13a5(0x178));}[_0xebfca7(0x138)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x327899=_0xebfca7;return this['_injector'][_0x327899(0x28a)](fe,this['unitID'],this['type'],null,[],this[_0x327899(0x2e4)]);}[_0xebfca7(0x285)](){return this;}[_0xebfca7(0x337)](){var _0x367630=_0xebfca7;throw new Error(_0x367630(0x261));}[_0xebfca7(0x2f1)](){var _0x699b52=_0xebfca7;const _0x306b3e=this[_0x699b52(0x205)]['getCurrentRevOfUnit'](this[_0x699b52(0x37e)]);return this[_0x699b52(0x2e4)]['onMissingChangesets']({'from':_0x306b3e,'to':0x0}),this['_injector']['createInstance'](te,this[_0x699b52(0x37e)],this[_0x699b52(0xdb)],null,[],null,[],this[_0x699b52(0x2e4)]);}};De=Re([A(0x3,_0x350f87(_0x1f62a4)),A(0x4,_0x350f87(_0x3e288c)),A(0x5,_0x4f45a5),A(0x6,_0x5f3828),A(0x7,_0x39281b),A(0x8,_0x248c0d),A(0x9,_0x461ea6(J))],De);let oe=class extends be{constructor(_0x40256b,_0x8a4fdd,_0x180097,_0x212861,_0x45a508,_0x12a65a,_0x2579a0,_0x43d882,_0x4458f1,_0x49826f,_0x44ec84,_0x2acdda,_0x4f82d8,_0x2ce165){var _0x4bef87=_0xebfca7;super(_0x40256b,_0x8a4fdd,null,_0x180097,_0x212861,_0x4458f1,_0x4f82d8,_0x12a65a,_0x2ce165),N(this,_0x4bef87(0x129),_0x4bef87(0x331)),N(this,_0x4bef87(0x119),null),N(this,_0x4bef87(0x258),null),(this[_0x4bef87(0x1c6)]=_0x45a508,this[_0x4bef87(0x373)]=_0x2579a0,this[_0x4bef87(0x240)]=_0x43d882,this[_0x4bef87(0x234)]=_0x49826f,this[_0x4bef87(0x111)]=_0x44ec84,this[_0x4bef87(0x173)]=_0x2acdda);}[_0xebfca7(0x214)](_0x40079a){var _0x4676b7=_0xebfca7;return this[_0x4676b7(0x271)][_0x4676b7(0xca)](_0x40079a),this[_0x4676b7(0xe3)](),this;}[_0xebfca7(0x2cc)](_0x3eefa0){var _0x3add4e=_0xebfca7;if(this[_0x3add4e(0x1d7)](_0x3eefa0))return this[_0x3add4e(0x25a)](),this[_0x3add4e(0x1c6)][_0x3add4e(0x28a)](te,this[_0x3add4e(0x37e)],this[_0x3add4e(0xdb)],null,this['_pendingMutations'],null,[_0x3eefa0],this[_0x3add4e(0x2e4)]);try{const _0x35ffa8=this[_0x3add4e(0x111)][_0x3add4e(0x128)](_0x3eefa0,this[_0x3add4e(0x271)]);if(_0x27b7b3(_0x35ffa8)){const {c1Prime:_0x420f0d,m2Prime:_0x132f2f}=_0x35ffa8;this[_0x3add4e(0x323)](_0x420f0d);const _0x3d842f=this[_0x3add4e(0x1c6)][_0x3add4e(0x28a)](oe,this['unitID'],this[_0x3add4e(0xdb)],_0x132f2f,this[_0x3add4e(0x2e4)]);this[_0x3add4e(0x25a)]();const _0xd3cf3d=new Date()[_0x3add4e(0x355)](),_0x23102d=this[_0x3add4e(0x119)]?Math[_0x3add4e(0x320)](this[_0x3add4e(0x119)]-_0xd3cf3d,0x0):this[_0x3add4e(0x354)]();return _0x3d842f[_0x3add4e(0xf4)](_0x23102d),_0x3d842f;}throw _0x35ffa8[_0x3add4e(0x2f8)];}catch(_0x4cef37){return this[_0x3add4e(0x240)]['error'](_0x4cef37),this['_onConflict'](!0x1);}}[_0xebfca7(0x1c9)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xebfca7(0x138)](){var _0x523fb3=_0xebfca7;throw new Error(_0x523fb3(0x131));}[_0xebfca7(0x1dd)](){return this;}[_0xebfca7(0x1eb)](){var _0x42ceda=_0xebfca7;return this[_0x42ceda(0x25a)](),this[_0x42ceda(0x1c6)][_0x42ceda(0x28a)](fe,this[_0x42ceda(0x37e)],this[_0x42ceda(0xdb)],null,this[_0x42ceda(0x271)],this[_0x42ceda(0x2e4)]);}[_0xebfca7(0x285)](){return this;}['_schedule'](_0x3de733){var _0x3b4c7e=_0xebfca7;const _0x3751ce=_0x3de733!=null?_0x3de733:this['_getSendChangesetTimeout']();this[_0x3b4c7e(0x119)]=new Date()[_0x3b4c7e(0x355)]()+_0x3751ce,this[_0x3b4c7e(0x258)]=setTimeout(()=>{var _0x1e21f5=_0x3b4c7e;this[_0x1e21f5(0x25a)]();let _0x3dbf05=null;switch(this['type']){case Q[_0x1e21f5(0x18a)]:{_0x3dbf05=zt(this[_0x1e21f5(0x271)],this[_0x1e21f5(0x37e)],this[_0x1e21f5(0x173)],this[_0x1e21f5(0x205)],this[_0x1e21f5(0x373)]);break;}case Q[_0x1e21f5(0x22d)]:{this[_0x1e21f5(0x271)]['every'](_0x4789d9=>_0x4789d9['id']===_0x4b16a2['id'])?_0x3dbf05=lr(this[_0x1e21f5(0x271)],this[_0x1e21f5(0x37e)],this['_univerInstanceService'],this[_0x1e21f5(0x205)],this['_memberService']):_0x3dbf05=zt(this[_0x1e21f5(0x271)],this[_0x1e21f5(0x37e)],this['_univerInstanceService'],this[_0x1e21f5(0x205)],this['_memberService']);break;}default:throw new Error(_0x1e21f5(0x12c)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1dec7b,pendingMutations:_0x3e9338}=_0x3dbf05;this[_0x1e21f5(0x2e4)][_0x1e21f5(0x36b)](_0x1dec7b);const _0x49771a=_0x3e9338[_0x1e21f5(0x124)]?this[_0x1e21f5(0x1c6)][_0x1e21f5(0x28a)](ae,this[_0x1e21f5(0x37e)],this[_0x1e21f5(0xdb)],_0x1dec7b,_0x3e9338,this['_handler'],void 0x0):this[_0x1e21f5(0x1c6)]['createInstance'](ue,this[_0x1e21f5(0x37e)],this[_0x1e21f5(0xdb)],_0x1dec7b,this[_0x1e21f5(0x2e4)]);_0x49771a['_updateLocalCache'](),this[_0x1e21f5(0x2e4)][_0x1e21f5(0x33e)](this,_0x49771a);},_0x3751ce);}[_0xebfca7(0x354)](){var _0x2262d8=_0xebfca7,_0x224444;const _0x5a52d9=this[_0x2262d8(0x234)][_0x2262d8(0x1d5)](q);return(_0x224444=_0x5a52d9==null?void 0x0:_0x5a52d9[_0x2262d8(0x2c0)])!=null?_0x224444:Cn;}[_0xebfca7(0x337)](){var _0x350c2a=_0xebfca7;throw new Error(_0x350c2a(0x263));}[_0xebfca7(0x25a)](){var _0x4722b8=_0xebfca7;this[_0x4722b8(0x258)]!=null&&(clearTimeout(this[_0x4722b8(0x258)]),this[_0x4722b8(0x258)]=null);}[_0xebfca7(0x167)](_0x258057){var _0x259e7f=_0xebfca7;return this[_0x259e7f(0x25a)](),this['_injector']['createInstance'](de,this[_0x259e7f(0x37e)],this[_0x259e7f(0xdb)],null,this['_pendingMutations'],this[_0x259e7f(0x2e4)],_0x258057);}};oe=Re([A(0x4,_0x350f87(_0x3e288c)),A(0x5,_0x350f87(_0x1f62a4)),A(0x6,_0x350f87(xe)),A(0x7,_0x39281b),A(0x8,_0x5f3828),A(0x9,_0x3e9aa3),A(0xa,_0x248c0d),A(0xb,_0x47607b),A(0xc,_0x4f45a5),A(0xd,_0x461ea6(J))],oe);let ue=class extends be{constructor(_0x243c6b,_0x93fa64,_0x5c7ebf,_0x33036a,_0x1620b0,_0x484eef,_0x341248,_0x1b3049,_0x21a144,_0x204ccd,_0x2ee495){var _0x4681df=_0xebfca7;super(_0x243c6b,_0x93fa64,_0x5c7ebf,[],_0x33036a,_0x341248,_0x204ccd,_0x484eef,_0x2ee495),N(this,_0x4681df(0x129),_0x4681df(0xb0)),N(this,_0x4681df(0x341),0x0),N(this,_0x4681df(0x1ee)),N(this,_0x4681df(0x37a)),(this[_0x4681df(0x1c6)]=_0x1620b0,this[_0x4681df(0x240)]=_0x1b3049,this[_0x4681df(0x111)]=_0x21a144);}[_0xebfca7(0x214)](_0x30c1a6){var _0x34d0d8=_0xebfca7;this[_0x34d0d8(0x25a)]();const _0x2e280b=this[_0x34d0d8(0x1c6)][_0x34d0d8(0x28a)](ae,this[_0x34d0d8(0x37e)],this[_0x34d0d8(0xdb)],this[_0x34d0d8(0x1e2)],[_0x30c1a6],this[_0x34d0d8(0x2e4)],this[_0x34d0d8(0x1ee)]);return _0x2e280b[_0x34d0d8(0xe3)](),_0x2e280b;}['onRemoteChangeset'](_0x308415){var _0x1439de=_0xebfca7;if(this[_0x1439de(0x1d7)](_0x308415))return this[_0x1439de(0x25a)](),this['_injector']['createInstance'](te,this[_0x1439de(0x37e)],this[_0x1439de(0xdb)],this[_0x1439de(0x1e2)],[],null,[_0x308415],this[_0x1439de(0x2e4)]);try{const _0x59f4db=this[_0x1439de(0x111)][_0x1439de(0x31c)]([_0x308415],[this[_0x1439de(0x1e2)]],!0x1);if(_0x544e79(_0x59f4db)){const {c1Prime:_0x52cda7,c2Prime:_0x246d3f}=_0x59f4db;this['_executeRemoteChangeset'](_0x52cda7[0x0]),_0x246d3f[0x0][_0x1439de(0x1b6)]=this[_0x1439de(0x1c7)](),this['_clearScheduledTask']();const _0x5e37cc=this[_0x1439de(0x1c6)][_0x1439de(0x28a)](ue,this[_0x1439de(0x37e)],this[_0x1439de(0xdb)],_0x246d3f[0x0],this['_handler']);return _0x5e37cc[_0x1439de(0xe3)](),_0x5e37cc;}return this['_onConflict'](!0x1);}catch(_0x49d649){return this[_0x1439de(0x240)]['error'](_0x49d649),this['_onConflict'](!0x1);}}[_0xebfca7(0x1c9)](_0x53143e){var _0x3b9b74=_0xebfca7;this[_0x3b9b74(0x25a)]();const _0x247a17=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3b9b74(0x37e)]);if(_0x53143e[_0x3b9b74(0x193)]<_0x247a17-0x1)return this;if(this[_0x3b9b74(0x1d7)](_0x53143e))return this['_injector'][_0x3b9b74(0x28a)](te,this[_0x3b9b74(0x37e)],this[_0x3b9b74(0xdb)],null,[],this[_0x3b9b74(0x1e2)],[],this[_0x3b9b74(0x2e4)]);this[_0x3b9b74(0x2de)]();const _0x7d12bb=this[_0x3b9b74(0x1c6)][_0x3b9b74(0x28a)](De,this[_0x3b9b74(0x37e)],this[_0x3b9b74(0xdb)],this['_handler']);return _0x7d12bb[_0x3b9b74(0xe3)](),_0x7d12bb;}[_0xebfca7(0x138)](_0x2fbf0a){var _0x12450f=_0xebfca7;return this[_0x12450f(0x167)](!!(_0x2fbf0a!=null&&_0x2fbf0a[_0x12450f(0x19f)]));}['onRemoteRetry'](_0x593e57){var _0x1cb3ec=_0xebfca7;return this[_0x1cb3ec(0x341)]>Ni?this[_0x1cb3ec(0x1eb)]():(this[_0x1cb3ec(0x1ee)]=Oi(this[_0x1cb3ec(0x341)],{'timeout':this[_0x1cb3ec(0x341)],'reqId':_0x593e57['reqId']}),this[_0x1cb3ec(0x37a)]=this['_resendTimer'][_0x1cb3ec(0x154)](({reqId:_0x20678f,timeout:_0x255086})=>{var _0x5cec23=_0x1cb3ec;this[_0x5cec23(0x208)](_0x20678f,_0x255086);}),this);}[_0xebfca7(0x1eb)](){var _0x9df9c8=_0xebfca7;return this[_0x9df9c8(0x25a)](),this[_0x9df9c8(0x1c6)][_0x9df9c8(0x28a)](fe,this[_0x9df9c8(0x37e)],this[_0x9df9c8(0xdb)],this[_0x9df9c8(0x1e2)],[],this[_0x9df9c8(0x2e4)]);}['toggleOnline'](){return this;}['resend'](){var _0x17ce27=_0xebfca7;this['_handler'][_0x17ce27(0x36b)](this['_awaitingChangeset']);}[_0xebfca7(0x167)](_0x2effe8){var _0x37dd54=_0xebfca7;return this[_0x37dd54(0x25a)](),this['_injector'][_0x37dd54(0x28a)](de,this[_0x37dd54(0x37e)],this[_0x37dd54(0xdb)],this[_0x37dd54(0x1e2)],[],this[_0x37dd54(0x2e4)],_0x2effe8);}[_0xebfca7(0x208)](_0x4d0143,_0x4290f2){var _0xb8817=_0xebfca7,_0x24d745;_0x4d0143===((_0x24d745=this['_awaitingChangeset'])==null?void 0x0:_0x24d745[_0xb8817(0x353)])&&(this[_0xb8817(0x337)](),this['_resendTimeout']=_0x4290f2===0x0?0x3e8:_0x4290f2*0x2);}[_0xebfca7(0x25a)](){var _0x2c0f1c=_0xebfca7,_0x45bdc7;(_0x45bdc7=this[_0x2c0f1c(0x37a)])==null||_0x45bdc7[_0x2c0f1c(0x347)](),this[_0x2c0f1c(0x341)]=0x0;}};ue=Re([A(0x4,_0x350f87(_0x3e288c)),A(0x5,_0x350f87(_0x1f62a4)),A(0x6,_0x5f3828),A(0x7,_0x39281b),A(0x8,_0x248c0d),A(0x9,_0x4f45a5),A(0xa,_0x461ea6(J))],ue);let ae=class extends be{constructor(_0x511252,_0x320829,_0xe0c6fd,_0xf5a06,_0x5b226a,_0x1b3d52,_0x297eaa,_0x26b8e2,_0x4ae43e,_0x3f4b38,_0xf23d21,_0xef637e,_0x54cff2){var _0x68397d=_0xebfca7;super(_0x511252,_0x320829,_0xe0c6fd,_0xf5a06,_0x5b226a,_0x4ae43e,_0xef637e,_0x26b8e2,_0x54cff2),N(this,_0x68397d(0x129),_0x68397d(0x269)),N(this,'_resendTimeout',0x0),N(this,_0x68397d(0x1ee)),N(this,_0x68397d(0x37a)),(this[_0x68397d(0x1c6)]=_0x297eaa,this[_0x68397d(0x240)]=_0x3f4b38,this[_0x68397d(0x111)]=_0xf23d21,this[_0x68397d(0x284)]=_0x54cff2,_0x1b3d52&&(this['_resendTimer']=_0x1b3d52,this[_0x68397d(0x37a)]=this[_0x68397d(0x1ee)][_0x68397d(0x154)](({reqId:_0x35d521,timeout:_0x214b4e})=>{var _0xb833a6=_0x68397d;this[_0xb833a6(0x208)](_0x35d521,_0x214b4e);})));}['appendMutation'](_0x3becb3){var _0x169f87=_0xebfca7;return this[_0x169f87(0x271)]['push'](_0x3becb3),this;}[_0xebfca7(0x2cc)](_0x53609b){var _0x4fa274=_0xebfca7;if(this[_0x4fa274(0x1d7)](_0x53609b))return this[_0x4fa274(0x25a)](),this[_0x4fa274(0x1c6)]['createInstance'](te,this[_0x4fa274(0x37e)],this[_0x4fa274(0xdb)],this[_0x4fa274(0x1e2)],this[_0x4fa274(0x271)],null,[_0x53609b],this[_0x4fa274(0x2e4)]);try{const _0x1f41ae=this[_0x4fa274(0x111)][_0x4fa274(0x31c)]([_0x53609b],[this[_0x4fa274(0x1e2)]],!0x1);if(_0x544e79(_0x1f41ae)){const {c1Prime:_0x218686,c2Prime:_0x51bedb}=_0x1f41ae,_0x45a59c=this[_0x4fa274(0x111)][_0x4fa274(0x128)](_0x218686[0x0],this[_0x4fa274(0x271)]);if(_0x27b7b3(_0x45a59c)){const {c1Prime:_0x5c7ec4,m2Prime:_0x3dfb93}=_0x45a59c;return this[_0x4fa274(0x323)](_0x5c7ec4),_0x51bedb[0x0]['baseRev']=this[_0x4fa274(0x1c7)](),this[_0x4fa274(0x25a)](),this[_0x4fa274(0x1c6)][_0x4fa274(0x28a)](ae,this[_0x4fa274(0x37e)],this[_0x4fa274(0xdb)],_0x51bedb[0x0],_0x3dfb93,this[_0x4fa274(0x2e4)],void 0x0);}throw _0x45a59c[_0x4fa274(0x2f8)];}throw _0x1f41ae['error'];}catch(_0x3c4725){return this['_logService']['error'](_0x3c4725),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4a31a0){var _0xa2fc4a=_0xebfca7;if(this[_0xa2fc4a(0x25a)](),this['_checkMissing'](_0x4a31a0))return this[_0xa2fc4a(0x1c6)][_0xa2fc4a(0x28a)](te,this[_0xa2fc4a(0x37e)],this[_0xa2fc4a(0xdb)],null,this[_0xa2fc4a(0x271)],this['_awaitingChangeset'],[],this[_0xa2fc4a(0x2e4)]);this[_0xa2fc4a(0x2de)]();const _0x179274=this['_injector'][_0xa2fc4a(0x28a)](oe,this['unitID'],this[_0xa2fc4a(0xdb)],this['_pendingMutations'],this[_0xa2fc4a(0x2e4)]);return _0x179274['_schedule'](),_0x179274[_0xa2fc4a(0xe3)](),_0x179274;}[_0xebfca7(0x138)](_0x3de661){var _0x3562ad=_0xebfca7;return this['_onConflict'](!!(_0x3de661!=null&&_0x3de661[_0x3562ad(0x19f)]));}['onRemoteRetry'](_0xf5ab82){var _0x38e714=_0xebfca7;return this[_0x38e714(0x341)]>Ni?this[_0x38e714(0x1eb)]():(this[_0x38e714(0x1ee)]=Oi(this[_0x38e714(0x341)],{'timeout':this[_0x38e714(0x341)],'reqId':_0xf5ab82[_0x38e714(0x353)]}),this[_0x38e714(0x37a)]=this[_0x38e714(0x1ee)][_0x38e714(0x154)](({reqId:_0x1dcfcc,timeout:_0x5675c5})=>{var _0x358452=_0x38e714;this[_0x358452(0x208)](_0x1dcfcc,_0x5675c5);}),this);}[_0xebfca7(0x1eb)](){var _0x48c9dd=_0xebfca7;return this[_0x48c9dd(0x25a)](),this['_injector'][_0x48c9dd(0x28a)](fe,this[_0x48c9dd(0x37e)],this[_0x48c9dd(0xdb)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x48c9dd(0x2e4)]);}[_0xebfca7(0x285)](){return this;}[_0xebfca7(0x337)](){var _0x3c9f33=_0xebfca7;this[_0x3c9f33(0x2e4)][_0x3c9f33(0x36b)](this[_0x3c9f33(0x1e2)]);}[_0xebfca7(0x167)](_0x378d2d){var _0x3fad65=_0xebfca7;return this[_0x3fad65(0x25a)](),this[_0x3fad65(0x1c6)]['createInstance'](de,this[_0x3fad65(0x37e)],this[_0x3fad65(0xdb)],null,this[_0x3fad65(0x271)],this[_0x3fad65(0x2e4)],_0x378d2d);}['_resendWithTimeout'](_0x29415f,_0x296b81){var _0x1a3f42=_0xebfca7,_0x2517b9;_0x29415f===((_0x2517b9=this[_0x1a3f42(0x1e2)])==null?void 0x0:_0x2517b9[_0x1a3f42(0x353)])&&(this['resend'](),this[_0x1a3f42(0x341)]=_0x296b81===0x0?0x3e8:_0x296b81*0x2);}[_0xebfca7(0x25a)](){var _0x4ce02b=_0xebfca7,_0x4b9886;(_0x4b9886=this[_0x4ce02b(0x37a)])==null||_0x4b9886[_0x4ce02b(0x347)](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x350f87(_0x3e288c)),A(0x7,_0x350f87(_0x1f62a4)),A(0x8,_0x5f3828),A(0x9,_0x39281b),A(0xa,_0x248c0d),A(0xb,_0x4f45a5),A(0xc,_0x461ea6(J))],ae);let de=class extends be{constructor(_0x2c4e5d,_0x442c1f,_0x207090,_0x11c0b7,_0xe44bcd,_0x27bda1=!0x1,_0x2c168b,_0x50b95a,_0x3aaffa,_0x520a00,_0x59e964,_0x2341f9,_0x727dd1){var _0x4219f8=_0xebfca7;super(_0x2c4e5d,_0x442c1f,_0x207090,_0x11c0b7,_0xe44bcd,_0x50b95a,_0x3aaffa,_0x520a00,_0x727dd1),N(this,'status',_0x4219f8(0x139)),(this[_0x4219f8(0x359)]=_0x27bda1,this[_0x4219f8(0x230)]=_0x2c168b,this[_0x4219f8(0x306)]=_0x59e964,this[_0x4219f8(0x16d)]=_0x2341f9,this[_0x4219f8(0x284)]=_0x727dd1,this[_0x4219f8(0x275)](),this[_0x4219f8(0x27f)](),this[_0x4219f8(0x305)]());}['appendMutation'](){return this;}[_0xebfca7(0x2cc)](){return this;}['onRemoteAck'](){return this;}[_0xebfca7(0x138)](){return this;}[_0xebfca7(0x1dd)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xebfca7(0x337)](){var _0x2a7354=_0xebfca7;throw new Error(_0x2a7354(0xb7));}[_0xebfca7(0x27f)](){var _0x46de87=_0xebfca7,_0x423473;(_0x423473=this['_localCacheService'])==null||_0x423473['updateOfflineData'](this[_0x46de87(0x37e)],this[_0x46de87(0xdb)],null,[]);}['_showConflictNotification'](){var _0x2b8d0d=_0xebfca7;this['_isPermissionRej']?this[_0x2b8d0d(0x16d)]['emitEvent']({'id':se[_0x2b8d0d(0x1e8)]}):this[_0x2b8d0d(0x16d)]['emitEvent']({'id':se[_0x2b8d0d(0x27b)]});}[_0xebfca7(0x305)](){var _0x417b46=_0xebfca7;this['_permissionService'][_0x417b46(0x23e)](new _0x1a2393(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x350f87(_0x35f2aa)),A(0x7,_0x5f3828),A(0x8,_0x4f45a5),A(0x9,_0x350f87(_0x1f62a4)),A(0xa,_0x350f87(_0x1a7de2)),A(0xb,_0x350f87(pe)),A(0xc,_0x461ea6(J))],de);let fe=class extends be{constructor(_0x34d8e7,_0x411bcd,_0x31ae1d,_0xcc899a,_0x3eadc9,_0x598b4f,_0x25e780,_0x2a8d8c,_0x519246,_0x2b0b6a){var _0x236b81=_0xebfca7;super(_0x34d8e7,_0x411bcd,_0x31ae1d,_0xcc899a,_0x3eadc9,_0x2a8d8c,_0x519246,_0x25e780,_0x2b0b6a),N(this,'status',_0x236b81(0x304)),this[_0x236b81(0x1c6)]=_0x598b4f;}[_0xebfca7(0x214)](_0x40d628){var _0x5f8f89=_0xebfca7;return this[_0x5f8f89(0x271)][_0x5f8f89(0xca)](_0x40d628),this[_0x5f8f89(0xe3)](),this;}[_0xebfca7(0x2cc)](_0x535918){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xebfca7(0x1c9)](){var _0x527cbf=_0xebfca7;throw new Error(_0x527cbf(0x19a));}[_0xebfca7(0x138)](){var _0x44f659=_0xebfca7;throw new Error(_0x44f659(0xb4));}[_0xebfca7(0x1dd)](){return this;}[_0xebfca7(0x1eb)](){return this;}[_0xebfca7(0x285)](){var _0x284720=_0xebfca7;const {_injector:_0x3d80bb,_pendingMutations:_0x578d06,_awaitingChangeset:_0x38b86a,unitID:_0x58ddfb,_handler:_0x25a4d9,type:_0x432e86}=this,_0x287241=Di(_0x3d80bb,_0x58ddfb,_0x432e86,_0x38b86a,_0x578d06,_0x25a4d9);return _0x287241 instanceof oe?_0x287241[_0x284720(0xf4)]():(_0x287241 instanceof ae||_0x287241 instanceof ue)&&_0x287241[_0x284720(0x337)](),_0x287241;}['resend'](){var _0x2edef5=_0xebfca7;throw new Error(_0x2edef5(0x146));}};fe=Re([A(0x5,_0x350f87(_0x3e288c)),A(0x6,_0x350f87(_0x1f62a4)),A(0x7,_0x5f3828),A(0x8,_0x4f45a5),A(0x9,_0x461ea6(J))],fe);let te=class extends be{constructor(_0x1304bd,_0x436b2d,_0x33b9b8,_0x461189,_0x28efea,_0x30991a,_0x1a5fcc,_0x2bf0e9,_0x18fa6c,_0x5ce000,_0x5c048c,_0x2be650,_0x38f9d9,_0x3e72b9){var _0x31bb71=_0xebfca7;super(_0x1304bd,_0x436b2d,_0x33b9b8,_0x461189,_0x1a5fcc,_0x5c048c,_0x2be650,_0x18fa6c,_0x3e72b9),N(this,'status',_0x31bb71(0x274)),(this['_acknowledgedAwaitingChangeset']=_0x28efea,this[_0x31bb71(0x379)]=_0x30991a,this[_0x31bb71(0x1c6)]=_0x2bf0e9,this[_0x31bb71(0x240)]=_0x5ce000,this['_transformService']=_0x38f9d9,this[_0x31bb71(0x284)]=_0x3e72b9);}[_0xebfca7(0x333)](_0x1bb819){var _0x3995a6=_0xebfca7;try{const _0x4c090e=[..._0x1bb819,...this[_0x3995a6(0x379)]],_0xa11d80=[this[_0x3995a6(0x1e2)]||this[_0x3995a6(0x1fd)]][_0x3995a6(0x372)](_0x399828=>!!_0x399828);let _0x3123c9,_0x43dc73;if(_0xa11d80[_0x3995a6(0x124)]){const _0x4d7122=this[_0x3995a6(0x111)][_0x3995a6(0x31c)](_0x4c090e,_0xa11d80,!0x1);if(!_0x544e79(_0x4d7122))throw _0x4d7122[_0x3995a6(0x2f8)];_0x3123c9=_0x4d7122[_0x3995a6(0xe6)],_0x43dc73=_0x4d7122['c2Prime'];}else _0x3123c9=_0x4c090e,_0x43dc73=[];let _0x11f1c2=this[_0x3995a6(0x271)];_0x3123c9[_0x3995a6(0x2df)](_0x4a1c15=>{var _0x508d33=_0x3995a6;let _0x3a7faa;if(_0x11f1c2[_0x508d33(0x124)]){const _0x2b8d3a=this[_0x508d33(0x111)]['transformMutationsWithChangeset'](_0x4a1c15,_0x11f1c2);if(!_0x27b7b3(_0x2b8d3a))throw _0x2b8d3a[_0x508d33(0x2f8)];_0x3a7faa=_0x2b8d3a[_0x508d33(0xe6)],_0x11f1c2=_0x2b8d3a[_0x508d33(0x343)];}else _0x3a7faa=_0x4a1c15;this[_0x508d33(0x323)](_0x3a7faa);}),this[_0x3995a6(0x1fd)]&&this['_incrementRevisionNumber'](),this[_0x3995a6(0x1e2)]&&_0x43dc73['length']&&(_0x43dc73[0x0][_0x3995a6(0x1b6)]=this[_0x3995a6(0x1c7)]());let _0x24a0c3;if(this['_awaitingChangeset']&&_0x11f1c2[_0x3995a6(0x124)]!==0x0)_0x24a0c3=this[_0x3995a6(0x1c6)][_0x3995a6(0x28a)](ae,this[_0x3995a6(0x37e)],this[_0x3995a6(0xdb)],_0x43dc73[0x0],_0x11f1c2,this[_0x3995a6(0x2e4)],void 0x0);else{if(this[_0x3995a6(0x1e2)]&&_0x11f1c2[_0x3995a6(0x124)]===0x0)_0x43dc73[0x0][_0x3995a6(0x1b6)]=this[_0x3995a6(0x1c7)](),_0x24a0c3=this['_injector']['createInstance'](ue,this[_0x3995a6(0x37e)],this['type'],_0x43dc73[0x0],this[_0x3995a6(0x2e4)]);else{if(_0x11f1c2[_0x3995a6(0x124)]!==0x0){const _0x25c7e8=this[_0x3995a6(0x1c6)][_0x3995a6(0x28a)](oe,this[_0x3995a6(0x37e)],this[_0x3995a6(0xdb)],_0x11f1c2,this[_0x3995a6(0x2e4)]);_0x25c7e8['_schedule'](),_0x24a0c3=_0x25c7e8;}else _0x24a0c3=this[_0x3995a6(0x1c6)][_0x3995a6(0x28a)](De,this[_0x3995a6(0x37e)],this[_0x3995a6(0xdb)],this[_0x3995a6(0x2e4)]);}}return _0x24a0c3[_0x3995a6(0xe3)](),_0x24a0c3;}catch(_0x1189a0){return this[_0x3995a6(0x240)][_0x3995a6(0x2f8)](_0x3995a6(0x32f),_0x3995a6(0xb9),_0x1189a0),this[_0x3995a6(0x1c6)]['createInstance'](de,this[_0x3995a6(0x37e)],this['type'],this[_0x3995a6(0x1e2)],this[_0x3995a6(0x271)],this[_0x3995a6(0x2e4)],!0x1);}}[_0xebfca7(0x337)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xebfca7(0x214)](_0xe5ccf4){var _0x33d185=_0xebfca7;return this[_0x33d185(0x271)][_0x33d185(0xca)](_0xe5ccf4),this;}[_0xebfca7(0x2cc)](_0x390d1e){var _0x5cbae0=_0xebfca7;return this[_0x5cbae0(0x379)][_0x5cbae0(0xca)](_0x390d1e),this;}[_0xebfca7(0x1c9)](_0x184fe2){var _0x53126d=_0xebfca7;if(this[_0x53126d(0x1e2)])return this[_0x53126d(0x1fd)]=this[_0x53126d(0x1e2)],this[_0x53126d(0x1e2)]=null,this;throw new Error(_0x53126d(0x176));}[_0xebfca7(0x138)](_0x4b683e){var _0x33db60=_0xebfca7;return this['_onConflict'](!!(_0x4b683e!=null&&_0x4b683e[_0x33db60(0x19f)]));}[_0xebfca7(0x1dd)](){return this;}[_0xebfca7(0x1eb)](){var _0x5da43a=_0xebfca7;return this[_0x5da43a(0x1c6)][_0x5da43a(0x28a)](fe,this[_0x5da43a(0x37e)],this[_0x5da43a(0xdb)],this[_0x5da43a(0x1e2)],this[_0x5da43a(0x271)],this[_0x5da43a(0x2e4)]);}[_0xebfca7(0x285)](){return this;}['_onConflict'](_0x568213){var _0x1d7fd0=_0xebfca7;return this[_0x1d7fd0(0x1c6)][_0x1d7fd0(0x28a)](de,this[_0x1d7fd0(0x37e)],this[_0x1d7fd0(0xdb)],this[_0x1d7fd0(0x1e2)],this[_0x1d7fd0(0x271)],this[_0x1d7fd0(0x2e4)],_0x568213);}};te=Re([A(0x7,_0x350f87(_0x3e288c)),A(0x8,_0x350f87(_0x1f62a4)),A(0x9,_0x39281b),A(0xa,_0x5f3828),A(0xb,_0x4f45a5),A(0xc,_0x248c0d),A(0xd,_0x461ea6(J))],te);function Di(_0x332254,_0x5ed9e7,_0x3bfeb4,_0x4712a2,_0x129dcc,_0x2719da){var _0x434105=_0xebfca7;return _0x4712a2&&_0x129dcc['length']?_0x332254[_0x434105(0x28a)](ae,_0x5ed9e7,_0x3bfeb4,_0x4712a2,_0x129dcc,_0x2719da,void 0x0):_0x4712a2?_0x332254[_0x434105(0x28a)](ue,_0x5ed9e7,_0x3bfeb4,_0x4712a2,_0x2719da):_0x129dcc[_0x434105(0x124)]?_0x332254['createInstance'](oe,_0x5ed9e7,_0x3bfeb4,_0x129dcc,_0x2719da):_0x332254[_0x434105(0x28a)](De,_0x5ed9e7,_0x3bfeb4,_0x2719da);}var vr=Object[_0xebfca7(0xda)],pr=Object[_0xebfca7(0x298)],Lt=(_0x124b42,_0xe13e86,_0x445298,_0xba4264)=>{var _0x15ad25=_0xebfca7;for(var _0x13a65c=_0xba4264>0x1?void 0x0:_0xba4264?pr(_0xe13e86,_0x445298):_0xe13e86,_0x72aa81=_0x124b42[_0x15ad25(0x124)]-0x1,_0x1a671e;_0x72aa81>=0x0;_0x72aa81--)(_0x1a671e=_0x124b42[_0x72aa81])&&(_0x13a65c=(_0xba4264?_0x1a671e(_0xe13e86,_0x445298,_0x13a65c):_0x1a671e(_0x13a65c))||_0x13a65c);return _0xba4264&&_0x13a65c&&vr(_0xe13e86,_0x445298,_0x13a65c),_0x13a65c;},k=(_0x4ebcfd,_0x71b683)=>(_0x469032,_0x2ea6d9)=>_0x71b683(_0x469032,_0x2ea6d9,_0x4ebcfd);let nt=class extends _0x42ad43{constructor(_0x1bd230,_0x1ab36e,_0x32f0e8,_0x5d9b8c,_0x2cb1e7,_0x103ae5,_0x42e3d2,_0x42196b,_0xad5417,_0x2b6dc2,_0x580a82,_0x44b9ce,_0x3efa65){var _0x3731a0=_0xebfca7;super(),N(this,_0x3731a0(0x1ab),new _0x4a19f3(null)),N(this,'state$',this[_0x3731a0(0x1ab)]['asObservable']()),N(this,_0x3731a0(0x264)),N(this,_0x3731a0(0x177),!0x1),N(this,'_changesetSessionId',''),N(this,_0x3731a0(0x11b),0x0),N(this,_0x3731a0(0xe1),this[_0x3731a0(0x1be)][_0x3731a0(0x324)](_0x2491bb(_0x2381d4=>_0x2381d4?_0x2381d4[_0x3731a0(0x129)]:yi['OFFLINE']),_0x2a502(0x1))),N(this,_0x3731a0(0x2d0),!0x1),N(this,_0x3731a0(0x2c9),[]),(this[_0x3731a0(0x37e)]=_0x1bd230,this[_0x3731a0(0x31d)]=_0x1ab36e,this[_0x3731a0(0x198)]=_0x32f0e8,this['_injector']=_0x5d9b8c,this['_compressMutationService']=_0x2cb1e7,this['_localeService']=_0x103ae5,this[_0x3731a0(0x205)]=_0x42e3d2,this[_0x3731a0(0x140)]=_0x42196b,this['_logService']=_0xad5417,this[_0x3731a0(0x314)]=_0x2b6dc2,this[_0x3731a0(0x230)]=_0x580a82,this[_0x3731a0(0x2fe)]=_0x44b9ce,this[_0x3731a0(0x118)]=_0x3efa65);}get['state'](){var _0x5758ef=_0xebfca7;return this[_0x5758ef(0x264)];}async[_0xebfca7(0x121)](){var _0x24ec00=_0xebfca7;if(this[_0x24ec00(0x311)])throw new Error(_0x24ec00(0x363));await this[_0x24ec00(0xe5)]();}[_0xebfca7(0xad)](){return this['_collaborationPaused']=!0x0,_0x20bee6(()=>{var _0x16abc1=_0x1328;this[_0x16abc1(0x177)]=!0x1,this[_0x16abc1(0x194)]();});}['onLocalMutation'](_0x3c7c0d){var _0x4262a6=_0xebfca7;this[_0x4262a6(0x2ae)](_0x3c7c0d);}['_updateState'](_0x45d5b1){var _0x34b7d6=_0xebfca7;this[_0x34b7d6(0x264)]=_0x45d5b1,this[_0x34b7d6(0x1ab)][_0x34b7d6(0x257)](_0x45d5b1);}async[_0xebfca7(0xe5)](){var _0x4236d9=_0xebfca7,_0x28e577;this['_updateState'](await this[_0x4236d9(0x23f)]()),this[_0x4236d9(0x2fe)]&&((_0x28e577=this[_0x4236d9(0x2fe)])==null||_0x28e577[_0x4236d9(0x12d)](this[_0x4236d9(0x37e)]),this[_0x4236d9(0x22a)](this[_0x4236d9(0x2fe)][_0x4236d9(0x1c8)](this['unitID'])[_0x4236d9(0x154)](_0x468d37=>{var _0xaba265=_0x4236d9;this[_0xaba265(0x240)][_0xaba265(0x10b)](_0xaba265(0x34c),'editing\x20status\x20changed\x20to',_0x468d37),_0x468d37===bi[_0xaba265(0xdd)]?(this[_0xaba265(0x140)][_0xaba265(0x36a)]({'id':se[_0xaba265(0x283)]}),this[_0xaba265(0x230)][_0xaba265(0x23e)](new _0x1a2393(this[_0xaba265(0x37e)])['id'],!0x1),this[_0xaba265(0x230)][_0xaba265(0xc6)](!0x1)):(this[_0xaba265(0x230)]['updatePermissionPoint'](new _0x1a2393(this[_0xaba265(0x37e)])['id'],!0x0),this['_permissionService'][_0xaba265(0xc6)](!0x0));})));let _0x37b65a=!0x1;return this[_0x4236d9(0x22a)](this[_0x4236d9(0x31d)][_0x4236d9(0x184)]['subscribe'](_0x489b57=>{var _0x52539e=_0x4236d9;_0x489b57===Te[_0x52539e(0x1f8)]?this[_0x52539e(0x356)](_0x37b65a):_0x489b57===Te[_0x52539e(0x349)]&&(_0x37b65a=!0x0,this[_0x52539e(0x96)]());})),this[_0x4236d9(0x22a)](this['session'][_0x4236d9(0x2c1)][_0x4236d9(0x154)](_0x5ba6d6=>{var _0x1da210=_0x4236d9;try{switch(_0x5ba6d6['eventID']){case _0x3aa22a['NEW_CHANGESETS']:{this[_0x1da210(0x31a)](_0x5d9825(_0x5ba6d6[_0x1da210(0xc2)]));break;}case _0x3aa22a[_0x1da210(0x26c)]:{this[_0x1da210(0x185)](_0x5ba6d6[_0x1da210(0xc2)]);break;}case _0x3aa22a[_0x1da210(0x15a)]:{this['_onRemoteRejected']();break;}case _0x3aa22a['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5ba6d6[_0x1da210(0xc2)]);break;}case _0x3aa22a[_0x1da210(0x34a)]:{this['_onFetchMissResult'](_0x5ba6d6[_0x1da210(0xc2)][_0x1da210(0x374)][_0x1da210(0x147)](_0x22b3eb=>_0x5d9825(_0x22b3eb)));break;}case _0x3aa22a[_0x1da210(0x9e)]:{this[_0x1da210(0x273)]({'isPermissionRej':!0x0});break;}case _0x3aa22a['UNISCRIPT_RUN']:break;}}catch(_0x1dfef6){throw console['error'](_0x1da210(0x186),_0x1dfef6),_0x1dfef6;}})),this[_0x4236d9(0x264)];}[_0xebfca7(0x321)](){var _0x519ab9=_0xebfca7;this[_0x519ab9(0x2d0)]=!0x1;}['_lockTransition'](){var _0x1dca7c=_0xebfca7;if(this[_0x1dca7c(0x2d0)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x1945dc){var _0x2044d3=_0xebfca7;this[_0x2044d3(0x99)](),this[_0x2044d3(0x382)](this[_0x2044d3(0x264)][_0x2044d3(0x214)](_0x1945dc)),this[_0x2044d3(0x321)]();}[_0xebfca7(0x31a)](_0x2f4144){var _0x56c315=_0xebfca7;if(!(_0x2f4144[_0x56c315(0x193)]<=this[_0x56c315(0x205)]['getCurrentRevOfUnit'](this[_0x56c315(0x37e)]))){if(this[_0x56c315(0x177)]){this[_0x56c315(0x2c9)][_0x56c315(0xca)](_0x2f4144);return;}this['_applyRemoteChangeset'](_0x2f4144);}}[_0xebfca7(0x194)](){var _0x5d30d5=_0xebfca7;this[_0x5d30d5(0x2c9)][_0x5d30d5(0x2df)](_0x5b2722=>this['_applyRemoteChangeset'](_0x5b2722)),this['_remoteChangesetQueue']=[];}[_0xebfca7(0x204)](_0x2e9f1b){var _0x11562e=_0xebfca7;const _0x5d19df=this['_compressMutationService'][_0x11562e(0xcd)][_0x11562e(0x33f)](this[_0x11562e(0x19e)][_0x11562e(0xcd)][_0x11562e(0x26e)]()[_0x11562e(0x2fa)])(_0x2e9f1b['mutations'],null)||_0x2e9f1b['mutations'],_0x15f93f={..._0x2e9f1b,'mutations':_0x5d19df};this[_0x11562e(0x99)](),this['_updateState'](this[_0x11562e(0x264)][_0x11562e(0x2cc)](_0x15f93f)),this['_unlockTransition']();}['_onRemoteACK'](_0x14ecbf){var _0x173bb4=_0xebfca7;this[_0x173bb4(0x99)](),this['_updateState'](this['_state'][_0x173bb4(0x1c9)](_0x14ecbf)),this['_unlockTransition']();}['_onRemoteRejected'](_0x3f539c){var _0x5b770e=_0xebfca7;this[_0x5b770e(0x99)](),this[_0x5b770e(0x382)](this[_0x5b770e(0x264)][_0x5b770e(0x138)](_0x3f539c)),this['_unlockTransition']();}[_0xebfca7(0x22e)](_0x48ad5f){var _0x434499=_0xebfca7;this[_0x434499(0x99)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x48ad5f)),this[_0x434499(0x321)]();}[_0xebfca7(0x2f0)](_0x5013f8){var _0x98614f=_0xebfca7;if(!(this['_state']instanceof te))throw new TypeError(_0x98614f(0x30e));const _0x57ce42=_0x5013f8[_0x98614f(0x147)](_0x877571=>{var _0xe5e9a1=_0x98614f;const _0x5665d6=this[_0xe5e9a1(0x19e)][_0xe5e9a1(0xcd)][_0xe5e9a1(0x33f)](this[_0xe5e9a1(0x19e)][_0xe5e9a1(0xcd)][_0xe5e9a1(0x26e)]()[_0xe5e9a1(0x2fa)])(_0x877571[_0xe5e9a1(0x148)],null)||_0x877571['mutations'];return{..._0x877571,'mutations':_0x5665d6};});this[_0x98614f(0x99)](),this[_0x98614f(0x382)](this['_state'][_0x98614f(0x333)](_0x57ce42)),this[_0x98614f(0x321)]();}[_0xebfca7(0x96)](){var _0x18d1ec=_0xebfca7;this[_0x18d1ec(0x99)](),this['_updateState'](this[_0x18d1ec(0x264)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x5eda34=!0x1){var _0x3518a4=_0xebfca7;this['_lockTransition'](),this[_0x3518a4(0x382)](this[_0x3518a4(0x264)][_0x3518a4(0x285)]()),this[_0x3518a4(0x321)]();const _0x305a54=this['_state'];_0x5eda34&&_0x305a54 instanceof De&&(this[_0x3518a4(0x99)](),this[_0x3518a4(0x382)](_0x305a54[_0x3518a4(0x2f1)]()),this[_0x3518a4(0x321)]());}async[_0xebfca7(0x23f)](){return new Promise(_0x338623=>{var _0xa0367c=_0x1328;this[_0xa0367c(0x31d)][_0xa0367c(0x184)][_0xa0367c(0x324)](_0x12ef5d(0x1))[_0xa0367c(0x154)](async _0x3ba1e4=>{var _0x430054=_0xa0367c;_0x338623(await this[_0x430054(0x2b4)](_0x3ba1e4===Te[_0x430054(0x1f8)]));});});}[_0xebfca7(0x317)](){var _0x2debad=_0xebfca7;const _0x41a8b9=this[_0x2debad(0x37e)];return{'onStateChange':(_0xe4ea91,_0x32c0c8)=>{var _0x4e67a3=_0x2debad;if(_0xe4ea91!==this['_state'])throw new Error(_0x4e67a3(0x36f)+_0xe4ea91['status']+_0x4e67a3(0x29a)+_0x32c0c8[_0x4e67a3(0x129)]+_0x4e67a3(0xfd)+this[_0x4e67a3(0x264)][_0x4e67a3(0x129)]);this['_updateState'](_0x32c0c8);},'onSendChangeset':_0x54d0bb=>{var _0x2e040a=_0x2debad;_0x54d0bb[_0x2e040a(0x16b)]||(_0x54d0bb[_0x2e040a(0x16b)]=this[_0x2e040a(0x361)],_0x54d0bb[_0x2e040a(0x353)]=++this[_0x2e040a(0x11b)]);const _0x5ec1df={'eventID':_0x3aa22a[_0x2e040a(0x231)],'data':{'unitID':_0x54d0bb['unitID'],'unitType':this[_0x2e040a(0x198)],'changeset':_0x54d0bb,'memberID':this[_0x2e040a(0x31d)]['getMemberID']()}};this['session']['send'](_0x5ec1df,this[_0x2e040a(0x37e)]);},'onMissingChangesets':({from:_0x3640c5,to:_0x37ce04})=>{var _0x172b29=_0x2debad;this[_0x172b29(0x240)][_0x172b29(0x10b)](_0x172b29(0x34c),_0x172b29(0x334)+_0x3640c5+_0x172b29(0x10c)+_0x37ce04);const _0x7bce53={'eventID':_0x3aa22a[_0x172b29(0xc8)],'data':{'unitID':_0x41a8b9,'unitType':this[_0x172b29(0x198)],'from':_0x3640c5,'to':_0x37ce04}};this[_0x172b29(0x31d)][_0x172b29(0x86)](_0x7bce53,this[_0x172b29(0x37e)]);}};}async[_0xebfca7(0x2b4)](_0xb971b6){var _0x4aaf92=_0xebfca7,_0x2f8e14,_0x16e160,_0x415d00;const _0x2698e5=await((_0x2f8e14=this['_localCacheService'])==null?void 0x0:_0x2f8e14[_0x4aaf92(0x9a)](this[_0x4aaf92(0x37e)])),_0x15c9bb=(_0x16e160=_0x2698e5==null?void 0x0:_0x2698e5[_0x4aaf92(0x148)])!=null?_0x16e160:[],_0x2faf0e=(_0x415d00=_0x2698e5==null?void 0x0:_0x2698e5[_0x4aaf92(0x8a)])!=null?_0x415d00:null,_0x1f133c=!!(_0x2faf0e!=null&&_0x2faf0e[_0x4aaf92(0x16b)])&&!!(_0x2faf0e!=null&&_0x2faf0e[_0x4aaf92(0x353)]);this[_0x4aaf92(0x361)]=_0x1f133c?_0x2faf0e[_0x4aaf92(0x16b)]:sr(),this['_changesetReqId']=_0x1f133c?_0x2faf0e[_0x4aaf92(0x353)]:0x0;const _0x31db96=this['unitID'];try{this['_replayCachedMutations'](_0x2faf0e,_0x15c9bb);}catch(_0x202fb6){this[_0x4aaf92(0x240)][_0x4aaf92(0x2f8)](_0x202fb6);}const _0x134475=this[_0x4aaf92(0x317)]();if(_0xb971b6){const _0x1ca51e=Di(this[_0x4aaf92(0x1c6)],_0x31db96,this[_0x4aaf92(0x198)],_0x2faf0e,_0x15c9bb,_0x134475);return _0x1ca51e instanceof oe?_0x1ca51e['_schedule']():(_0x1ca51e instanceof ae||_0x1ca51e instanceof ue)&&_0x1ca51e[_0x4aaf92(0x337)](),_0x1ca51e;}return this[_0x4aaf92(0x1c6)]['createInstance'](fe,_0x31db96,this['_type'],_0x2faf0e,_0x15c9bb,_0x134475);}['_replayCachedMutations'](_0x5b5018,_0xddfc1a){var _0x2af071=_0xebfca7,_0x114505,_0x16d840;const _0x2e2197=this[_0x2af071(0x19e)]['interceptor'][_0x2af071(0x33f)](this[_0x2af071(0x19e)][_0x2af071(0xcd)][_0x2af071(0x26e)]()[_0x2af071(0x2fa)]);(_0x114505=_0x2e2197((_0x5b5018==null?void 0x0:_0x5b5018['mutations'])||[],null))==null||_0x114505[_0x2af071(0x2df)](_0x1241ff=>this['_commandService']['executeCommand'](_0x1241ff['id'],_0x1241ff[_0x2af071(0x17a)])),(_0x16d840=_0x2e2197(_0xddfc1a||[],null))==null||_0x16d840[_0x2af071(0x2df)](_0x431904=>this[_0x2af071(0x314)][_0x2af071(0x114)](_0x431904['id'],_0x431904[_0x2af071(0x17a)]));}};nt=Lt([k(0x3,_0x350f87(_0x3e288c)),k(0x4,_0x350f87(_0x30c848)),k(0x5,_0x350f87(_0x1a7de2)),k(0x6,_0x350f87(_0x1f62a4)),k(0x7,_0x350f87(pe)),k(0x8,_0x39281b),k(0x9,_0x5f3828),k(0xa,_0x35f2aa),k(0xb,_0x461ea6(ht)),k(0xc,_0x461ea6(J))],nt);let Tt=class extends nt{constructor(_0x169a02,_0x24c25b,_0x14e254,_0x2a73aa,_0x434f0c,_0x41b2ae,_0x3f03c6,_0x3b1b0b,_0x257790,_0x5c2db4,_0x48bbd0,_0xa3a589,_0x3b7f0e){var _0x385e6a=_0xebfca7;super(_0x169a02,_0x14e254,_0x24c25b,_0x2a73aa,_0x434f0c,_0x41b2ae,_0x3f03c6,_0x3b1b0b,_0x257790,_0x5c2db4,_0x48bbd0,_0xa3a589,_0x3b7f0e),N(this,_0x385e6a(0x8e),null),(this['unitID']=_0x169a02,this['type']=_0x24c25b);}[_0xebfca7(0x2a9)](_0xc4be32){var _0xcdf101=_0xebfca7;this[_0xcdf101(0x8e)]=_0xc4be32;}['dispose'](){var _0x2715ff=_0xebfca7;this[_0x2715ff(0x8e)]=null,super[_0x2715ff(0x1a4)]();}[_0xebfca7(0x317)](){var _0x52a7f8=_0xebfca7;const _0x2e747c=super['_createHandler']();return _0x2e747c[_0x52a7f8(0x2d1)]=_0x3ec303=>{var _0x4932fc=_0x52a7f8,_0x3c2dab,_0x391ba6;return(_0x391ba6=(_0x3c2dab=this[_0x4932fc(0x8e)])==null?void 0x0:_0x3c2dab[_0x4932fc(0x2d1)])==null?void 0x0:_0x391ba6[_0x4932fc(0x1da)](_0x3c2dab,_0x3ec303);},_0x2e747c[_0x52a7f8(0x242)]=_0x2621c6=>{var _0x48d92a=_0x52a7f8,_0x1f80ce,_0x4cc2f8;return(_0x4cc2f8=(_0x1f80ce=this[_0x48d92a(0x8e)])==null?void 0x0:_0x1f80ce[_0x48d92a(0x242)])==null?void 0x0:_0x4cc2f8[_0x48d92a(0x1da)](_0x1f80ce,_0x2621c6);},_0x2e747c[_0x52a7f8(0x1d1)]=_0x581c0c=>{var _0x1bb20c=_0x52a7f8,_0x5835be,_0x10e018;return(_0x10e018=(_0x5835be=this[_0x1bb20c(0x8e)])==null?void 0x0:_0x5835be[_0x1bb20c(0x1d1)])==null?void 0x0:_0x10e018['call'](_0x5835be,_0x581c0c);},_0x2e747c[_0x52a7f8(0x2b6)]=_0x9b3b5b=>{var _0x2c3d9e=_0x52a7f8,_0x27ba03,_0x1ff585;return(_0x1ff585=(_0x27ba03=this[_0x2c3d9e(0x8e)])==null?void 0x0:_0x27ba03[_0x2c3d9e(0x2b6)])==null?void 0x0:_0x1ff585[_0x2c3d9e(0x1da)](_0x27ba03,_0x9b3b5b);},_0x2e747c['onTransformRemoteChangesetByIMECache']=_0x1da1f9=>{var _0x5cbc44=_0x52a7f8,_0x4b7d6c,_0x887fdd,_0xa7f63b;if(!((_0x4b7d6c=this[_0x5cbc44(0x8e)])!=null&&_0x4b7d6c[_0x5cbc44(0x2b2)]))throw new Error(_0x5cbc44(0x26f));return(_0xa7f63b=(_0x887fdd=this[_0x5cbc44(0x8e)])==null?void 0x0:_0x887fdd[_0x5cbc44(0x2b2)])==null?void 0x0:_0xa7f63b[_0x5cbc44(0x1da)](_0x887fdd,_0x1da1f9);},_0x2e747c[_0x52a7f8(0x2e9)]=_0x1ce845=>{var _0x17476d=_0x52a7f8,_0xfe12bb,_0x54b9a5,_0x1780f5;if(!((_0xfe12bb=this[_0x17476d(0x8e)])!=null&&_0xfe12bb[_0x17476d(0x2e9)]))throw new Error(_0x17476d(0x160));return(_0x1780f5=(_0x54b9a5=this[_0x17476d(0x8e)])==null?void 0x0:_0x54b9a5['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1780f5[_0x17476d(0x1da)](_0x54b9a5,_0x1ce845);},_0x2e747c;}async[_0xebfca7(0xe5)](){var _0x330019=_0xebfca7;const _0x3011e0=await super['_init']();return this[_0x330019(0x22a)](this[_0x330019(0x314)][_0x330019(0x1af)]((_0x30e122,_0x20ca2b)=>{var _0x1eba9b=_0x330019;if(_0x30e122[_0x1eba9b(0xdb)]!==_0x20e9e2[_0x1eba9b(0x2dd)]||_0x20ca2b!=null&&_0x20ca2b[_0x1eba9b(0x36c)]||_0x20ca2b!=null&&_0x20ca2b['onlyLocal']||_0x30e122['id']===_0x4b16a2['id'])return;const _0x128dea=_0x30e122[_0x1eba9b(0x17a)];if((_0x128dea==null?void 0x0:_0x128dea[_0x1eba9b(0x34d)])!==this[_0x1eba9b(0x37e)])return;const _0x37824e=_0x30e122,_0x34f64f=this[_0x1eba9b(0x19e)][_0x1eba9b(0xcd)][_0x1eba9b(0x33f)](this[_0x1eba9b(0x19e)]['interceptor'][_0x1eba9b(0x26e)]()[_0x1eba9b(0x107)])([_0x37824e],null)||[_0x37824e];this[_0x1eba9b(0x2ae)](_0x34f64f[0x0]);})),_0x3011e0;}};Tt=Lt([k(0x3,_0x350f87(_0x3e288c)),k(0x4,_0x350f87(_0x30c848)),k(0x5,_0x350f87(_0x1a7de2)),k(0x6,_0x350f87(_0x1f62a4)),k(0x7,_0x350f87(pe)),k(0x8,_0x39281b),k(0x9,_0x5f3828),k(0xa,_0x35f2aa),k(0xb,_0x461ea6(ht)),k(0xc,_0x461ea6(J))],Tt);let Ct=class extends nt{constructor(_0x30730b,_0x2bcecd,_0x1777a7,_0x2d82be,_0x400462,_0x1392d2,_0x4743c4,_0x2b77bf,_0x2c0f84,_0x3b307b,_0xdd093f,_0x20009f,_0x341445,_0x27bf3a){var _0x87d0c1=_0xebfca7;super(_0x30730b,_0x1777a7,_0x2bcecd,_0x2d82be,_0x400462,_0x1392d2,_0x4743c4,_0x2c0f84,_0x3b307b,_0xdd093f,_0x20009f,_0x341445,_0x27bf3a),this[_0x87d0c1(0x37e)]=_0x30730b,this[_0x87d0c1(0xdb)]=_0x2bcecd,this[_0x87d0c1(0xfb)]=_0x2b77bf;}[_0xebfca7(0x317)](){var _0x49795b=_0xebfca7;const _0x25083b=super['_createHandler']();return _0x25083b[_0x49795b(0x1d1)]=_0x151d90=>this[_0x49795b(0xfb)][_0x49795b(0x24a)](_0x151d90),_0x25083b;}async[_0xebfca7(0xe5)](){var _0x5284f0=_0xebfca7;const _0x49f96a=await super[_0x5284f0(0xe5)]();return this[_0x5284f0(0x22a)](this[_0x5284f0(0x314)]['onCommandExecuted']((_0xd0909a,_0xa044cc)=>{var _0x504b28=_0x5284f0;if(_0xd0909a[_0x504b28(0xdb)]!==_0x20e9e2[_0x504b28(0x2dd)]||_0xa044cc!=null&&_0xa044cc[_0x504b28(0x36c)]||_0xa044cc!=null&&_0xa044cc[_0x504b28(0x2d7)])return;const _0x80d485=_0xd0909a[_0x504b28(0x17a)];if((_0x80d485==null?void 0x0:_0x80d485[_0x504b28(0x34d)])!==this[_0x504b28(0x37e)])return;const _0x28caad=_0xd0909a,_0x4c35b9=this[_0x504b28(0x19e)][_0x504b28(0xcd)][_0x504b28(0x33f)](this['_compressMutationService'][_0x504b28(0xcd)][_0x504b28(0x26e)]()[_0x504b28(0x107)])([_0x28caad],null)||[_0x28caad];this[_0x504b28(0x2ae)](_0x4c35b9[0x0]);})),_0x49f96a;}};Ct=Lt([k(0x3,_0x350f87(_0x3e288c)),k(0x4,_0x350f87(_0x30c848)),k(0x5,_0x350f87(_0x1a7de2)),k(0x6,_0x350f87(_0x1f62a4)),k(0x7,_0x350f87(it)),k(0x8,_0x350f87(pe)),k(0x9,_0x39281b),k(0xa,_0x5f3828),k(0xb,_0x35f2aa),k(0xc,_0x461ea6(ht)),k(0xd,_0x461ea6(J))],Ct);var mr=Object[_0xebfca7(0xda)],gr=Object[_0xebfca7(0x298)],Sr=(_0x277207,_0x522b9c,_0x38b6a3,_0x593051)=>{var _0x4c2fe1=_0xebfca7;for(var _0x4b0273=_0x593051>0x1?void 0x0:_0x593051?gr(_0x522b9c,_0x38b6a3):_0x522b9c,_0x37bdd4=_0x277207[_0x4c2fe1(0x124)]-0x1,_0x42fe15;_0x37bdd4>=0x0;_0x37bdd4--)(_0x42fe15=_0x277207[_0x37bdd4])&&(_0x4b0273=(_0x593051?_0x42fe15(_0x522b9c,_0x38b6a3,_0x4b0273):_0x42fe15(_0x4b0273))||_0x4b0273);return _0x593051&&_0x4b0273&&mr(_0x522b9c,_0x38b6a3,_0x4b0273),_0x4b0273;},ft=(_0x47b6ec,_0x92d5dd)=>(_0x1a5137,_0x3115e8)=>_0x92d5dd(_0x1a5137,_0x3115e8,_0x47b6ec);let rt=class extends _0x42ad43{constructor(_0x4044fe,_0x5e8a17,_0xce48ac){var _0x22c495=_0xebfca7;super(),N(this,_0x22c495(0x13b),new Map()),N(this,'_entityInit$',new _0x34e3bd()),N(this,_0x22c495(0x2c2),this[_0x22c495(0x241)][_0x22c495(0x152)]()),(this[_0x22c495(0x1c6)]=_0x4044fe,this[_0x22c495(0x18d)]=_0x5e8a17,this['_univerInstanceService']=_0xce48ac,this[_0x22c495(0xe5)]());}['dispose'](){var _0x3de217=_0xebfca7;super[_0x3de217(0x1a4)](),this[_0x3de217(0x13b)][_0x3de217(0x2df)](_0x4fdc74=>_0x4fdc74[_0x3de217(0x1a4)]()),this[_0x3de217(0x13b)][_0x3de217(0x11c)]();}[_0xebfca7(0xbe)](_0x4a494b){var _0x3d6eb3=_0xebfca7,_0x544eee;return(_0x544eee=this['_entities'][_0x3d6eb3(0x308)](_0x4a494b))!=null?_0x544eee:null;}[_0xebfca7(0x322)](_0x4f231c){var _0x2c7b6e=_0xebfca7;const _0x2b6ea3=this[_0x2c7b6e(0xbe)](_0x4f231c);return _0x2b6ea3?_0x51b4a4(_0x2b6ea3):this['_entityInit$'][_0x2c7b6e(0x324)](_0x57ecda(_0x1f6e65=>_0x1f6e65['unitID']===_0x4f231c));}[_0xebfca7(0x2a2)](_0x96329e){var _0x3f8b59=_0xebfca7;return _0x469aa3(this['getCollabEntity$'](_0x96329e)[_0x3f8b59(0x324)](_0x5522f1(()=>{})));}['_init'](){var _0x3aac78=_0xebfca7;this[_0x3aac78(0x173)][_0x3aac78(0x2f5)](_0x47927c[_0x3aac78(0x18a)])[_0x3aac78(0x324)](_0x399539(this[_0x3aac78(0x299)]),_0x382d2f(0x10))['subscribe'](async _0x56c7d7=>{var _0x983afa=_0x3aac78;const _0x218371=_0x56c7d7[_0x983afa(0x266)](),_0x309e31=await this['_startCollaboration'](_0x218371,Q[_0x983afa(0x18a)]);this[_0x983afa(0x13b)]['set'](_0x218371,_0x309e31);}),this['_univerInstanceService'][_0x3aac78(0x2f5)](_0x47927c['UNIVER_DOC'])['pipe'](_0x399539(this[_0x3aac78(0x299)]),_0x382d2f(0x10))['pipe'](_0x57ecda(_0x5c7e7b=>!_0x5c7e7b[_0x3aac78(0x266)]()[_0x3aac78(0x161)]('__')))[_0x3aac78(0x154)](async _0x9032e5=>{var _0x3b3208=_0x3aac78;const _0xbaeec8=_0x9032e5[_0x3b3208(0x266)](),_0x505cd2=await this['_startCollaboration'](_0xbaeec8,Q[_0x3b3208(0x22d)]);this[_0x3b3208(0x13b)][_0x3b3208(0x180)](_0xbaeec8,_0x505cd2);}),_0x1345a8(this['_univerInstanceService'][_0x3aac78(0x248)](_0x47927c[_0x3aac78(0x18a)]),this['_univerInstanceService'][_0x3aac78(0x248)](_0x47927c['UNIVER_DOC']))['pipe'](_0x399539(this['dispose$']))[_0x3aac78(0x154)](_0xc04feb=>{var _0x39ab9f=_0x3aac78;const _0xd9141e=_0xc04feb[_0x39ab9f(0x266)](),_0x4fcb89=this[_0x39ab9f(0x13b)]['get'](_0xd9141e);_0x4fcb89&&(_0x4fcb89[_0x39ab9f(0x1a4)](),this[_0x39ab9f(0x13b)]['delete'](_0xd9141e));});}async[_0xebfca7(0xa0)](_0x399eb5,_0x588853){var _0xc4d67f=_0xebfca7;const _0x53ed22=await this[_0xc4d67f(0x18d)]['requireSession'](_0x399eb5),_0x741c78=this[_0xc4d67f(0x1c6)][_0xc4d67f(0x28a)](this[_0xc4d67f(0x2ad)](_0x588853),_0x399eb5,_0x588853,_0x53ed22);return await _0x741c78[_0xc4d67f(0x121)](),this['_entityInit$'][_0xc4d67f(0x257)](_0x741c78),_0x741c78;}[_0xebfca7(0x2ad)](_0x53b84e){var _0x46abc2=_0xebfca7;switch(_0x53b84e){case Q[_0x46abc2(0x22d)]:return Tt;case Q[_0x46abc2(0x18a)]:return Ct;default:throw new Error(_0x46abc2(0xbf)+_0x53b84e);}}};rt=Sr([ft(0x0,_0x350f87(_0x3e288c)),ft(0x1,_0x350f87(Le)),ft(0x2,_0x47607b)],rt);var Er=Object[_0xebfca7(0xda)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0xd7d883,_0x1b8ddb,_0x249039,_0x3ede25)=>{var _0x2bdab8=_0xebfca7;for(var _0x59c68c=_0x3ede25>0x1?void 0x0:_0x3ede25?Ir(_0x1b8ddb,_0x249039):_0x1b8ddb,_0x23b439=_0xd7d883[_0x2bdab8(0x124)]-0x1,_0x3bc71b;_0x23b439>=0x0;_0x23b439--)(_0x3bc71b=_0xd7d883[_0x23b439])&&(_0x59c68c=(_0x3ede25?_0x3bc71b(_0x1b8ddb,_0x249039,_0x59c68c):_0x3bc71b(_0x59c68c))||_0x59c68c);return _0x3ede25&&_0x59c68c&&Er(_0x1b8ddb,_0x249039,_0x59c68c),_0x59c68c;},Jt=(_0x23a269,_0x118e59)=>(_0x41af2d,_0xd6f711)=>_0x118e59(_0x41af2d,_0xd6f711,_0x23a269);const Cr=_0xebfca7(0x1bf),Rr=_0xebfca7(0x1ac);let Rt=class extends _0x10bb52{constructor(_0x483995,_0x12d639){super(),this['_univerInstanceService']=_0x483995,this['_configService']=_0x12d639,this['_init']();}[_0xebfca7(0xe5)](){var _0xd88236=_0xebfca7;this[_0xd88236(0x22a)](this[_0xd88236(0x173)][_0xd88236(0x25f)][_0xd88236(0x154)](()=>{var _0x98b923=_0xd88236,_0x280fc1;const _0x2fd11f=this[_0x98b923(0x173)][_0x98b923(0x31f)]();let _0x5350c1=(_0x280fc1=this[_0x98b923(0x234)][_0x98b923(0x1d5)](Cr))!=null?_0x280fc1:Rr;_0x2fd11f instanceof _0x502351&&(_0x5350c1=_0x2fd11f[_0x98b923(0x2b8)]),document['title']=_0x5350c1;}));}};Rt=Tr([Jt(0x0,_0x47607b),Jt(0x1,_0x3e9aa3)],Rt);var br=Object[_0xebfca7(0xda)],Or=Object[_0xebfca7(0x298)],yr=(_0x2a6b8d,_0x52668c,_0x5d263d,_0x26271c)=>{var _0x50db57=_0xebfca7;for(var _0x57f82c=_0x26271c>0x1?void 0x0:_0x26271c?Or(_0x52668c,_0x5d263d):_0x52668c,_0x19f008=_0x2a6b8d[_0x50db57(0x124)]-0x1,_0x4df11b;_0x19f008>=0x0;_0x19f008--)(_0x4df11b=_0x2a6b8d[_0x19f008])&&(_0x57f82c=(_0x26271c?_0x4df11b(_0x52668c,_0x5d263d,_0x57f82c):_0x4df11b(_0x57f82c))||_0x57f82c);return _0x26271c&&_0x57f82c&&br(_0x52668c,_0x5d263d,_0x57f82c),_0x57f82c;},vt=(_0x13264f,_0x1d537c)=>(_0x36797f,_0x18c178)=>_0x1d537c(_0x36797f,_0x18c178,_0x13264f);let st=class{constructor(_0x222497,_0x3007e0,_0x15bbc9){var _0x5426ee=_0xebfca7;this[_0x5426ee(0x234)]=_0x222497,this[_0x5426ee(0x236)]=_0x3007e0,this['localeService']=_0x15bbc9,this[_0x5426ee(0x121)]();}[_0xebfca7(0x121)](){var _0x1ed098=_0xebfca7;this['_httpService'][_0x1ed098(0x1f5)]({'priority':0x1,'interceptor':(_0x3d2d9e,_0x247fc6)=>_0x247fc6(_0x3d2d9e)[_0x1ed098(0x324)](_0x548b42(async _0x36a6a7=>{var _0x10a96b=_0x1ed098;const _0x3060d7=_0x36a6a7;if(_0x3060d7[_0x10a96b(0x129)]===0x191){if(typeof window>'u')throw new Error(_0x10a96b(0x29d));if(window[_0x10a96b(0x2ec)](this['localeService']['t'](_0x10a96b(0x2b3)))){const _0x25b816=window[_0x10a96b(0x301)](window[_0x10a96b(0x30b)][_0x10a96b(0x297)]);window[_0x10a96b(0x30b)][_0x10a96b(0x297)]=this['_getLoginPath']()+'?url='+_0x25b816;}}return _0x3060d7;}))});}[_0xebfca7(0x14e)](){var _0x8dc468=_0xebfca7,_0x852ca3,_0x36194d;const _0x38e727=this[_0x8dc468(0x234)][_0x8dc468(0x1d5)](xn),_0x31b4c2=this[_0x8dc468(0x234)][_0x8dc468(0x1d5)](q);return(_0x36194d=(_0x852ca3=_0x31b4c2==null?void 0x0:_0x31b4c2[_0x8dc468(0xec)])!=null?_0x852ca3:_0x38e727)!=null?_0x36194d:Ln;}};st=yr([vt(0x0,_0x3e9aa3),vt(0x1,_0x350f87(_0x2db2ac)),vt(0x2,_0x350f87(_0x1a7de2))],st);var Nr=Object[_0xebfca7(0xda)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x28eb7d,_0x4706e6,_0x2e2c2e,_0x2db2fe)=>{var _0xfa55e2=_0xebfca7;for(var _0x35cc75=_0x2db2fe>0x1?void 0x0:_0x2db2fe?Dr(_0x4706e6,_0x2e2c2e):_0x4706e6,_0x18526c=_0x28eb7d[_0xfa55e2(0x124)]-0x1,_0x596b0f;_0x18526c>=0x0;_0x18526c--)(_0x596b0f=_0x28eb7d[_0x18526c])&&(_0x35cc75=(_0x2db2fe?_0x596b0f(_0x4706e6,_0x2e2c2e,_0x35cc75):_0x596b0f(_0x35cc75))||_0x35cc75);return _0x2db2fe&&_0x35cc75&&Nr(_0x4706e6,_0x2e2c2e,_0x35cc75),_0x35cc75;},Xt=(_0x124889,_0x41c9b9)=>(_0x487b36,_0x110e14)=>_0x41c9b9(_0x487b36,_0x110e14,_0x124889);const Pi=_0xebfca7(0xc4),wr=_0xebfca7(0x2eb);let bt=class extends _0x10bb52{constructor(_0x3683d1,_0x3fd686){var _0x357c08=_0xebfca7;super(),this['_HTTPService']=_0x3683d1,this[_0x357c08(0x234)]=_0x3fd686,this[_0x357c08(0xce)]();}[_0xebfca7(0xce)](){var _0x5da03c=_0xebfca7;const _0x6fabc9=this;this['disposeWithMe'](this[_0x5da03c(0x94)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2a9a62({'isMatch'(_0x56451c){var _0x413da5=_0x5da03c,_0x2ced65;if(_0x56451c[_0x413da5(0x1f9)]===_0x413da5(0x32a)&&((_0x2ced65=_0x56451c[_0x413da5(0xeb)])!=null&&_0x2ced65['body'])){const {objectID:_0x58c01e,objectType:_0x473020}=_0x56451c[_0x413da5(0xeb)][_0x413da5(0x310)]||{};if(!_0x58c01e||_0x473020===void 0x0)return!0x1;const _0x386f70=_0x6fabc9['_getAPIPrefixPath']()+'/'+_0x473020+_0x413da5(0x11e)+_0x58c01e+_0x413da5(0x9d);if(_0x56451c['url']===_0x386f70)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bfd27){var _0x5ec118=_0x5da03c,_0x52f324;return(_0x52f324=_0x1bfd27[_0x5ec118(0xeb)])==null?void 0x0:_0x52f324['body'];},'mergeParamsToRequest'(_0x22a1b4,_0x59c345){var _0x435e2a=_0x5da03c;const _0x40c03c=_0x6fabc9[_0x435e2a(0x28f)]()+_0x435e2a(0x12b),_0x541e66=_0x22a1b4[_0x435e2a(0x130)]((_0x366c75,_0x5639a4)=>{var _0x58ad99=_0x435e2a;const {unitID:_0x3df469,objectID:_0x44fb42,objectType:_0x191ea8,actions:_0x5bdc5c}=_0x5639a4;return _0x366c75[_0x3df469]||(_0x366c75[_0x3df469]={}),_0x366c75[_0x3df469][_0x44fb42]||(_0x366c75[_0x3df469][_0x44fb42]={'objectID':_0x44fb42,'objectType':_0x191ea8,'actions':[]}),_0x366c75[_0x3df469][_0x44fb42][_0x58ad99(0x27a)][_0x58ad99(0xca)](..._0x5bdc5c),_0x366c75;},{}),_0x4da528=[];for(const _0x323435 in _0x541e66)for(const _0x3e10e7 in _0x541e66[_0x323435]){const {actions:_0x2e20f9,objectType:_0x2aaa51}=_0x541e66[_0x323435][_0x3e10e7],_0x3b5296=[...new Set(_0x2e20f9)];_0x4da528[_0x435e2a(0xca)]({'unitID':_0x323435,'objectID':_0x3e10e7,'objectType':_0x2aaa51,'actions':_0x3b5296});}return new _0x4e5eb7(_0x435e2a(0x32a),_0x40c03c,{'headers':_0x59c345[_0x435e2a(0x340)],'withCredentials':_0x59c345[_0x435e2a(0xb8)],'responseType':_0x59c345[_0x435e2a(0x250)],'body':{'requests':_0x4da528}});}},{'distributeResult'(_0x3e8c86,_0x2ed739){var _0x310271=_0x5da03c;const {objectActions:_0x25f661}=_0x3e8c86;return _0x2ed739[_0x310271(0x147)](_0x368893=>{var _0x4aa028=_0x310271;const {unitID:_0x38fe44,objectID:_0x489553,actions:_0x2552a5}=_0x368893,_0x5ce39a=_0x25f661['find'](_0x47f759=>_0x47f759[_0x4aa028(0x37e)]===_0x38fe44&&_0x47f759[_0x4aa028(0x227)]===_0x489553),_0x5f358e=_0x2552a5[_0x4aa028(0x147)](_0xb6f429=>_0x5ce39a==null?void 0x0:_0x5ce39a[_0x4aa028(0x27a)][_0x4aa028(0x18b)](_0x483072=>_0x483072[_0x4aa028(0x22c)]===_0xb6f429))[_0x4aa028(0x372)](_0x139634=>!!_0x139634);return{'config':_0x368893,'result':{'actions':_0x5f358e,'error':_0x3e8c86[_0x4aa028(0x2f8)]}};});}})}));}[_0xebfca7(0x28f)](){var _0x5ab06f=_0xebfca7,_0x2a482e,_0x24fa8f;const _0x472e3e=this[_0x5ab06f(0x234)][_0x5ab06f(0x1d5)](Pi),_0x5d0db4=this['_configService']['getConfig'](q);return(_0x24fa8f=(_0x2a482e=_0x5d0db4==null?void 0x0:_0x5d0db4[_0x5ab06f(0x329)])!=null?_0x2a482e:_0x472e3e)!=null?_0x24fa8f:wr;}async[_0xebfca7(0x26b)](_0x3d6100){var _0x1f9940=_0xebfca7;const _0x25be61=this[_0x1f9940(0x28f)]()+'/'+_0x3d6100['objectType']+'/object';return(await this[_0x1f9940(0x94)][_0x1f9940(0xe4)](_0x25be61,{'body':_0x3d6100}))[_0x1f9940(0x310)][_0x1f9940(0x227)]||'';}async[_0xebfca7(0x216)](_0x5b060a){var _0x4ad2e5=_0xebfca7;const _0x2b3e7d=this[_0x4ad2e5(0x28f)]()+_0x4ad2e5(0x287);return(await this[_0x4ad2e5(0x94)][_0x4ad2e5(0xe4)](_0x2b3e7d,{'body':_0x5b060a}))['body'][_0x4ad2e5(0xe7)];}async[_0xebfca7(0x215)](_0x403eae){var _0x2ecea7=_0xebfca7;const _0xf2f6f1=this[_0x2ecea7(0x28f)]()+'/'+_0x403eae[_0x2ecea7(0x101)]+_0x2ecea7(0x11e)+_0x403eae[_0x2ecea7(0x227)];await this['_HTTPService']['put'](_0xf2f6f1,{'body':_0x403eae});}async[_0xebfca7(0x104)](_0x43a51e){var _0x50f1aa=_0xebfca7;const _0x1026f4=this[_0x50f1aa(0x28f)]()+'/'+_0x43a51e[_0x50f1aa(0x101)]+'/object/'+_0x43a51e['objectID']+_0x50f1aa(0x9d);return(await this['_HTTPService'][_0x50f1aa(0xe4)](_0x1026f4,{'body':_0x43a51e}))[_0x50f1aa(0x310)][_0x50f1aa(0x27a)];}async[_0xebfca7(0x2b0)](_0x6db31d){var _0x453786=_0xebfca7;const _0x1e4788=this['_getAPIPrefixPath']()+_0x453786(0x12b);return(await this['_HTTPService'][_0x453786(0xe4)](_0x1e4788,{'body':{'requests':_0x6db31d}}))[_0x453786(0x310)][_0x453786(0x12a)];}async[_0xebfca7(0x158)](_0x588d6c){var _0x358f1e=_0xebfca7;const _0x4b5b18=this[_0x358f1e(0x28f)]()+'/'+_0x588d6c[_0x358f1e(0x101)]+'/role',_0xf3b290=await this[_0x358f1e(0x94)]['post'](_0x4b5b18,{'body':_0x588d6c});return{'roles':_0xf3b290[_0x358f1e(0x310)]['roles'],'actions':_0xf3b290[_0x358f1e(0x310)]['actions']};}async[_0xebfca7(0x9b)](_0x15daef){var _0x2aacf2=_0xebfca7;const _0x5080c8=this[_0x2aacf2(0x28f)]()+_0x2aacf2(0x2e1);await this['_HTTPService'][_0x2aacf2(0x2bd)](_0x5080c8,{'params':{'collaboratorID':_0x15daef[_0x2aacf2(0x13c)],'objectID':_0x15daef[_0x2aacf2(0x227)],'unitID':_0x15daef[_0x2aacf2(0x37e)]}});}async[_0xebfca7(0x262)](_0x45815b){var _0x2c9f28=_0xebfca7;const _0x351726=this[_0x2c9f28(0x28f)]()+_0x2c9f28(0x2e1);await this[_0x2c9f28(0x94)][_0x2c9f28(0x2ed)](_0x351726,{'body':_0x45815b});}async['createCollaborator'](_0x4bfeda){var _0x2e855b=_0xebfca7;const _0x5d0bf5=this[_0x2e855b(0x28f)]()+_0x2e855b(0x2e1);await this['_HTTPService']['post'](_0x5d0bf5,{'body':_0x4bfeda});}async[_0xebfca7(0x221)](_0x3dfe3a){var _0x454403=_0xebfca7;const _0xc289ee=this[_0x454403(0x28f)]()+_0x454403(0x2e1);return(await this[_0x454403(0x94)][_0x454403(0x308)](_0xc289ee,{'params':{'objectID':_0x3dfe3a[_0x454403(0x227)],'unitID':_0x3dfe3a[_0x454403(0x37e)]}}))[_0x454403(0x310)][_0x454403(0x217)];}async['putCollaborators'](_0x2602b4){var _0x21bbae=_0xebfca7;const _0x2ae9bf=this[_0x21bbae(0x28f)]()+_0x21bbae(0x2e1);await this['_HTTPService'][_0x21bbae(0x171)](_0x2ae9bf,{'body':_0x2602b4});}};bt=Pr([Xt(0x0,_0x350f87(_0x2db2ac)),Xt(0x1,_0x350f87(_0x3e9aa3))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x1b024e){var _0x1683d4=_0xebfca7;return _0x1b024e&&_0x1b024e[_0x1683d4(0x16c)]&&Object[_0x1683d4(0x1cd)][_0x1683d4(0xa8)][_0x1683d4(0x1da)](_0x1b024e,_0x1683d4(0x21d))?_0x1b024e[_0x1683d4(0x21d)]:_0x1b024e;}var Ve={'exports':{}};function Ur(_0x221f65){var _0x1a8bc4=_0xebfca7;throw new Error(_0x1a8bc4(0xbd)+_0x221f65+_0x1a8bc4(0x133));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){var _0x54036f=_0xebfca7;return Zt||(Zt=0x1,function(_0x45a15c,_0x4f8d75){(function(_0x135e60,_0x3b64da){var _0x1ea2ac=_0x1328;_0x45a15c[_0x1ea2ac(0x123)]=_0x3b64da();}(Ar,function(){var _0x3d8eb9=_0x3d8eb9||function(_0x4bcefb,_0x43839e){var _0x436080=_0x1328,_0x4ce933;if(typeof window<'u'&&window['crypto']&&(_0x4ce933=window[_0x436080(0x93)]),typeof self<'u'&&self[_0x436080(0x93)]&&(_0x4ce933=self[_0x436080(0x93)]),typeof globalThis<'u'&&globalThis[_0x436080(0x93)]&&(_0x4ce933=globalThis[_0x436080(0x93)]),!_0x4ce933&&typeof window<'u'&&window[_0x436080(0x2ca)]&&(_0x4ce933=window[_0x436080(0x2ca)]),!_0x4ce933&&typeof pt<'u'&&pt[_0x436080(0x93)]&&(_0x4ce933=pt[_0x436080(0x93)]),!_0x4ce933&&typeof Ur=='function')try{_0x4ce933=require(_0x436080(0x93));}catch{}var _0x194686=function(){var _0x41a653=_0x436080;if(_0x4ce933){if(typeof _0x4ce933[_0x41a653(0xcf)]==_0x41a653(0x2ff))try{return _0x4ce933[_0x41a653(0xcf)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ce933[_0x41a653(0x1ae)]==_0x41a653(0x2ff))try{return _0x4ce933['randomBytes'](0x4)[_0x41a653(0xa7)]();}catch{}}throw new Error(_0x41a653(0x1b0));},_0x4e5867=Object['create']||(function(){function _0x3f128d(){}return function(_0x3c722b){var _0x182640=_0x1328,_0x90296c;return _0x3f128d[_0x182640(0x1cd)]=_0x3c722b,_0x90296c=new _0x3f128d(),_0x3f128d[_0x182640(0x1cd)]=null,_0x90296c;};}()),_0x15d50e={},_0x25ac1d=_0x15d50e[_0x436080(0x20c)]={},_0x1bd705=_0x25ac1d[_0x436080(0x318)]=(function(){return{'extend':function(_0x294a03){var _0x132847=_0x1328,_0xc36e38=_0x4e5867(this);return _0x294a03&&_0xc36e38[_0x132847(0x17c)](_0x294a03),(!_0xc36e38['hasOwnProperty'](_0x132847(0x121))||this[_0x132847(0x121)]===_0xc36e38[_0x132847(0x121)])&&(_0xc36e38[_0x132847(0x121)]=function(){var _0x190448=_0x132847;_0xc36e38[_0x190448(0x2e0)][_0x190448(0x121)][_0x190448(0xff)](this,arguments);}),_0xc36e38[_0x132847(0x121)][_0x132847(0x1cd)]=_0xc36e38,_0xc36e38[_0x132847(0x2e0)]=this,_0xc36e38;},'create':function(){var _0xc1ef46=_0x1328,_0x5a2fae=this[_0xc1ef46(0xd2)]();return _0x5a2fae[_0xc1ef46(0x121)][_0xc1ef46(0xff)](_0x5a2fae,arguments),_0x5a2fae;},'init':function(){},'mixIn':function(_0x2a9127){var _0x24646c=_0x1328;for(var _0x439934 in _0x2a9127)_0x2a9127[_0x24646c(0xa8)](_0x439934)&&(this[_0x439934]=_0x2a9127[_0x439934]);_0x2a9127[_0x24646c(0xa8)](_0x24646c(0x153))&&(this[_0x24646c(0x153)]=_0x2a9127[_0x24646c(0x153)]);},'clone':function(){var _0x5d7449=_0x1328;return this[_0x5d7449(0x121)][_0x5d7449(0x1cd)][_0x5d7449(0xd2)](this);}};}()),_0x1eddcb=_0x25ac1d[_0x436080(0x15d)]=_0x1bd705[_0x436080(0xd2)]({'init':function(_0x144fdd,_0x2e4a19){var _0x5a3301=_0x436080;_0x144fdd=this[_0x5a3301(0x207)]=_0x144fdd||[],_0x2e4a19!=_0x43839e?this[_0x5a3301(0x11a)]=_0x2e4a19:this[_0x5a3301(0x11a)]=_0x144fdd[_0x5a3301(0x124)]*0x4;},'toString':function(_0x49e777){var _0x5e5abb=_0x436080;return(_0x49e777||_0x376ebd)[_0x5e5abb(0x357)](this);},'concat':function(_0x3498de){var _0x223d02=_0x436080,_0x55583c=this[_0x223d02(0x207)],_0x551cf9=_0x3498de[_0x223d02(0x207)],_0x3f6ffd=this[_0x223d02(0x11a)],_0x3e10c9=_0x3498de['sigBytes'];if(this[_0x223d02(0x16f)](),_0x3f6ffd%0x4)for(var _0x4f02ce=0x0;_0x4f02ce<_0x3e10c9;_0x4f02ce++){var _0x433c3d=_0x551cf9[_0x4f02ce>>>0x2]>>>0x18-_0x4f02ce%0x4*0x8&0xff;_0x55583c[_0x3f6ffd+_0x4f02ce>>>0x2]|=_0x433c3d<<0x18-(_0x3f6ffd+_0x4f02ce)%0x4*0x8;}else{for(var _0xee4bfa=0x0;_0xee4bfa<_0x3e10c9;_0xee4bfa+=0x4)_0x55583c[_0x3f6ffd+_0xee4bfa>>>0x2]=_0x551cf9[_0xee4bfa>>>0x2];}return this[_0x223d02(0x11a)]+=_0x3e10c9,this;},'clamp':function(){var _0x2c5a13=_0x436080,_0x581c7a=this[_0x2c5a13(0x207)],_0x48e122=this[_0x2c5a13(0x11a)];_0x581c7a[_0x48e122>>>0x2]&=0xffffffff<<0x20-_0x48e122%0x4*0x8,_0x581c7a['length']=_0x4bcefb['ceil'](_0x48e122/0x4);},'clone':function(){var _0xb8f0a7=_0x436080,_0x1d9965=_0x1bd705[_0xb8f0a7(0x103)][_0xb8f0a7(0x1da)](this);return _0x1d9965[_0xb8f0a7(0x207)]=this[_0xb8f0a7(0x207)][_0xb8f0a7(0x164)](0x0),_0x1d9965;},'random':function(_0x4bea14){var _0x141425=_0x436080;for(var _0x10c0f6=[],_0x56f3b3=0x0;_0x56f3b3<_0x4bea14;_0x56f3b3+=0x4)_0x10c0f6[_0x141425(0xca)](_0x194686());return new _0x1eddcb[(_0x141425(0x121))](_0x10c0f6,_0x4bea14);}}),_0x5c49d0=_0x15d50e['enc']={},_0x376ebd=_0x5c49d0[_0x436080(0x35c)]={'stringify':function(_0x5278a8){var _0x47bd55=_0x436080;for(var _0x40977d=_0x5278a8['words'],_0xa2c459=_0x5278a8[_0x47bd55(0x11a)],_0x32113c=[],_0x1b5516=0x0;_0x1b5516<_0xa2c459;_0x1b5516++){var _0x70f012=_0x40977d[_0x1b5516>>>0x2]>>>0x18-_0x1b5516%0x4*0x8&0xff;_0x32113c[_0x47bd55(0xca)]((_0x70f012>>>0x4)[_0x47bd55(0x153)](0x10)),_0x32113c['push']((_0x70f012&0xf)['toString'](0x10));}return _0x32113c[_0x47bd55(0x247)]('');},'parse':function(_0x4c7e75){var _0x43071c=_0x436080;for(var _0x33a7cc=_0x4c7e75['length'],_0x3710e6=[],_0x4ecf97=0x0;_0x4ecf97<_0x33a7cc;_0x4ecf97+=0x2)_0x3710e6[_0x4ecf97>>>0x3]|=parseInt(_0x4c7e75[_0x43071c(0x268)](_0x4ecf97,0x2),0x10)<<0x18-_0x4ecf97%0x8*0x4;return new _0x1eddcb[(_0x43071c(0x121))](_0x3710e6,_0x33a7cc/0x2);}},_0x57fc3e=_0x5c49d0[_0x436080(0x11d)]={'stringify':function(_0x1c3a4e){var _0x1db79d=_0x436080;for(var _0x1b1d9c=_0x1c3a4e[_0x1db79d(0x207)],_0xfb3e2a=_0x1c3a4e[_0x1db79d(0x11a)],_0x52fc43=[],_0x260925=0x0;_0x260925<_0xfb3e2a;_0x260925++){var _0x5139c7=_0x1b1d9c[_0x260925>>>0x2]>>>0x18-_0x260925%0x4*0x8&0xff;_0x52fc43[_0x1db79d(0xca)](String[_0x1db79d(0x1fb)](_0x5139c7));}return _0x52fc43[_0x1db79d(0x247)]('');},'parse':function(_0x414b12){var _0x2c07ec=_0x436080;for(var _0x145654=_0x414b12['length'],_0x3b4332=[],_0x3927f3=0x0;_0x3927f3<_0x145654;_0x3927f3++)_0x3b4332[_0x3927f3>>>0x2]|=(_0x414b12[_0x2c07ec(0x1f4)](_0x3927f3)&0xff)<<0x18-_0x3927f3%0x4*0x8;return new _0x1eddcb[(_0x2c07ec(0x121))](_0x3b4332,_0x145654);}},_0x3980f7=_0x5c49d0['Utf8']={'stringify':function(_0x50c258){var _0x557cef=_0x436080;try{return decodeURIComponent(escape(_0x57fc3e[_0x557cef(0x357)](_0x50c258)));}catch{throw new Error(_0x557cef(0x1ea));}},'parse':function(_0x5706d4){return _0x57fc3e['parse'](unescape(encodeURIComponent(_0x5706d4)));}},_0x32a739=_0x25ac1d[_0x436080(0x15f)]=_0x1bd705['extend']({'reset':function(){var _0xe9ec94=_0x436080;this[_0xe9ec94(0x277)]=new _0x1eddcb[(_0xe9ec94(0x121))](),this[_0xe9ec94(0x165)]=0x0;},'_append':function(_0x41df99){var _0x4ddff8=_0x436080;typeof _0x41df99==_0x4ddff8(0x370)&&(_0x41df99=_0x3980f7[_0x4ddff8(0x23d)](_0x41df99)),this[_0x4ddff8(0x277)]['concat'](_0x41df99),this[_0x4ddff8(0x165)]+=_0x41df99[_0x4ddff8(0x11a)];},'_process':function(_0x5bf30d){var _0x12fc44=_0x436080,_0x19e911,_0x35106b=this[_0x12fc44(0x277)],_0x1ac029=_0x35106b[_0x12fc44(0x207)],_0x1a0ff8=_0x35106b[_0x12fc44(0x11a)],_0x26f454=this[_0x12fc44(0x2cd)],_0x1e7865=_0x26f454*0x4,_0x253b49=_0x1a0ff8/_0x1e7865;_0x5bf30d?_0x253b49=_0x4bcefb['ceil'](_0x253b49):_0x253b49=_0x4bcefb['max']((_0x253b49|0x0)-this[_0x12fc44(0x197)],0x0);var _0xd4479f=_0x253b49*_0x26f454,_0x5ef9ce=_0x4bcefb[_0x12fc44(0x2bc)](_0xd4479f*0x4,_0x1a0ff8);if(_0xd4479f){for(var _0x2fa6a6=0x0;_0x2fa6a6<_0xd4479f;_0x2fa6a6+=_0x26f454)this[_0x12fc44(0x364)](_0x1ac029,_0x2fa6a6);_0x19e911=_0x1ac029['splice'](0x0,_0xd4479f),_0x35106b['sigBytes']-=_0x5ef9ce;}return new _0x1eddcb[(_0x12fc44(0x121))](_0x19e911,_0x5ef9ce);},'clone':function(){var _0x1b21f0=_0x436080,_0x365f9f=_0x1bd705[_0x1b21f0(0x103)][_0x1b21f0(0x1da)](this);return _0x365f9f['_data']=this[_0x1b21f0(0x277)]['clone'](),_0x365f9f;},'_minBufferSize':0x0});_0x25ac1d[_0x436080(0x10d)]=_0x32a739['extend']({'cfg':_0x1bd705['extend'](),'init':function(_0x4ec31c){var _0x15e7e8=_0x436080;this[_0x15e7e8(0x27d)]=this[_0x15e7e8(0x27d)][_0x15e7e8(0xd2)](_0x4ec31c),this[_0x15e7e8(0x91)]();},'reset':function(){var _0x44402e=_0x436080;_0x32a739[_0x44402e(0x91)]['call'](this),this[_0x44402e(0xcc)]();},'update':function(_0x392e94){var _0x244cb6=_0x436080;return this['_append'](_0x392e94),this[_0x244cb6(0x187)](),this;},'finalize':function(_0x59aac8){var _0x4b50c9=_0x436080;_0x59aac8&&this['_append'](_0x59aac8);var _0x8297=this[_0x4b50c9(0x33b)]();return _0x8297;},'blockSize':0x10,'_createHelper':function(_0x41a0d1){return function(_0x3731cb,_0x4f8d58){var _0x117095=_0x1328;return new _0x41a0d1['init'](_0x4f8d58)[_0x117095(0x203)](_0x3731cb);};},'_createHmacHelper':function(_0x1efa65){return function(_0x1d4357,_0x184d39){var _0x32d08b=_0x1328;return new _0x9f8071[(_0x32d08b(0x116))][(_0x32d08b(0x121))](_0x1efa65,_0x184d39)[_0x32d08b(0x203)](_0x1d4357);};}});var _0x9f8071=_0x15d50e[_0x436080(0x377)]={};return _0x15d50e;}(Math);return _0x3d8eb9;}));}(Ge)),Ge[_0x54036f(0x123)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){return Qt||(Qt=0x1,function(_0x29f898,_0x3fbb07){(function(_0x43caa6,_0x244be0){var _0x543f6b=_0x1328;_0x29f898[_0x543f6b(0x123)]=_0x244be0(ne());}(xr,function(_0x302d1c){var _0x3b86ad=_0x1328;return(function(){var _0x4ceebe=_0x1328,_0x49b2fe=_0x302d1c,_0xbe1eb0=_0x49b2fe[_0x4ceebe(0x20c)],_0xe9a467=_0xbe1eb0['WordArray'],_0x1bfe42=_0x49b2fe[_0x4ceebe(0x136)];_0x1bfe42[_0x4ceebe(0x327)]={'stringify':function(_0x2463ab){var _0x435485=_0x4ceebe,_0x5b0d90=_0x2463ab[_0x435485(0x207)],_0x51f0c1=_0x2463ab[_0x435485(0x11a)],_0x5e1ee0=this[_0x435485(0x1c1)];_0x2463ab[_0x435485(0x16f)]();for(var _0x3b183f=[],_0x389f3f=0x0;_0x389f3f<_0x51f0c1;_0x389f3f+=0x3)for(var _0x31ef11=_0x5b0d90[_0x389f3f>>>0x2]>>>0x18-_0x389f3f%0x4*0x8&0xff,_0x4f6113=_0x5b0d90[_0x389f3f+0x1>>>0x2]>>>0x18-(_0x389f3f+0x1)%0x4*0x8&0xff,_0x314e7d=_0x5b0d90[_0x389f3f+0x2>>>0x2]>>>0x18-(_0x389f3f+0x2)%0x4*0x8&0xff,_0x5336e9=_0x31ef11<<0x10|_0x4f6113<<0x8|_0x314e7d,_0x585a08=0x0;_0x585a08<0x4&&_0x389f3f+_0x585a08*0.75<_0x51f0c1;_0x585a08++)_0x3b183f['push'](_0x5e1ee0['charAt'](_0x5336e9>>>0x6*(0x3-_0x585a08)&0x3f));var _0x3dfbfd=_0x5e1ee0['charAt'](0x40);if(_0x3dfbfd){for(;_0x3b183f['length']%0x4;)_0x3b183f['push'](_0x3dfbfd);}return _0x3b183f[_0x435485(0x247)]('');},'parse':function(_0x50a298){var _0x18ccc5=_0x4ceebe,_0x5f3b8d=_0x50a298['length'],_0x4fa917=this[_0x18ccc5(0x1c1)],_0x3198d2=this[_0x18ccc5(0x219)];if(!_0x3198d2){_0x3198d2=this[_0x18ccc5(0x219)]=[];for(var _0x147c64=0x0;_0x147c64<_0x4fa917[_0x18ccc5(0x124)];_0x147c64++)_0x3198d2[_0x4fa917['charCodeAt'](_0x147c64)]=_0x147c64;}var _0x8ad7d6=_0x4fa917[_0x18ccc5(0x279)](0x40);if(_0x8ad7d6){var _0x1012d1=_0x50a298['indexOf'](_0x8ad7d6);_0x1012d1!==-0x1&&(_0x5f3b8d=_0x1012d1);}return _0x83d21(_0x50a298,_0x5f3b8d,_0x3198d2);},'_map':_0x4ceebe(0x1c3)};function _0x83d21(_0x1a2858,_0x3157c0,_0x43e330){var _0xc67de6=_0x4ceebe;for(var _0x3bee9c=[],_0x2be3de=0x0,_0x220af8=0x0;_0x220af8<_0x3157c0;_0x220af8++)if(_0x220af8%0x4){var _0x13c605=_0x43e330[_0x1a2858[_0xc67de6(0x1f4)](_0x220af8-0x1)]<<_0x220af8%0x4*0x2,_0x496903=_0x43e330[_0x1a2858[_0xc67de6(0x1f4)](_0x220af8)]>>>0x6-_0x220af8%0x4*0x2,_0x5c3e1e=_0x13c605|_0x496903;_0x3bee9c[_0x2be3de>>>0x2]|=_0x5c3e1e<<0x18-_0x2be3de%0x4*0x8,_0x2be3de++;}return _0xe9a467[_0xc67de6(0x26b)](_0x3bee9c,_0x2be3de);}}()),_0x302d1c[_0x3b86ad(0x136)][_0x3b86ad(0x327)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0xebfca7(0x123)],ei;function Mr(){var _0x58de64=_0xebfca7;return ei||(ei=0x1,function(_0x317171,_0x427e75){(function(_0x4ca69d,_0x3225e9){_0x317171['exports']=_0x3225e9(ne());}(Lr,function(_0x53e918){var _0x1811d7=_0x1328;return function(_0x34b2be){var _0x4182f4=_0x1328,_0x33c93a=_0x53e918,_0x2840a7=_0x33c93a[_0x4182f4(0x20c)],_0x4f5a7e=_0x2840a7['WordArray'],_0x1d0f14=_0x2840a7[_0x4182f4(0x10d)],_0x6391fa=_0x33c93a[_0x4182f4(0x377)],_0xc26ee3=[];(function(){var _0x3c426e=_0x4182f4;for(var _0xd92fb9=0x0;_0xd92fb9<0x40;_0xd92fb9++)_0xc26ee3[_0xd92fb9]=_0x34b2be[_0x3c426e(0x2f4)](_0x34b2be['sin'](_0xd92fb9+0x1))*0x100000000|0x0;}());var _0x55041c=_0x6391fa[_0x4182f4(0xf2)]=_0x1d0f14[_0x4182f4(0xd2)]({'_doReset':function(){var _0x542995=_0x4182f4;this[_0x542995(0xd4)]=new _0x4f5a7e[(_0x542995(0x121))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x43f71a,_0x3b0940){var _0x5a6bbb=_0x4182f4;for(var _0x43692c=0x0;_0x43692c<0x10;_0x43692c++){var _0x290845=_0x3b0940+_0x43692c,_0x32a429=_0x43f71a[_0x290845];_0x43f71a[_0x290845]=(_0x32a429<<0x8|_0x32a429>>>0x18)&0xff00ff|(_0x32a429<<0x18|_0x32a429>>>0x8)&0xff00ff00;}var _0x2dd274=this[_0x5a6bbb(0xd4)][_0x5a6bbb(0x207)],_0x1952c3=_0x43f71a[_0x3b0940+0x0],_0x2bfa40=_0x43f71a[_0x3b0940+0x1],_0x23757b=_0x43f71a[_0x3b0940+0x2],_0x2a327a=_0x43f71a[_0x3b0940+0x3],_0x2ac6bc=_0x43f71a[_0x3b0940+0x4],_0x2ed457=_0x43f71a[_0x3b0940+0x5],_0x11f765=_0x43f71a[_0x3b0940+0x6],_0x4e4da9=_0x43f71a[_0x3b0940+0x7],_0xf905a3=_0x43f71a[_0x3b0940+0x8],_0xe55b30=_0x43f71a[_0x3b0940+0x9],_0x37d1a1=_0x43f71a[_0x3b0940+0xa],_0x2d3269=_0x43f71a[_0x3b0940+0xb],_0x890058=_0x43f71a[_0x3b0940+0xc],_0x229096=_0x43f71a[_0x3b0940+0xd],_0x4af187=_0x43f71a[_0x3b0940+0xe],_0x18de4a=_0x43f71a[_0x3b0940+0xf],_0x2533fe=_0x2dd274[0x0],_0x207eb7=_0x2dd274[0x1],_0x260edb=_0x2dd274[0x2],_0xcfd261=_0x2dd274[0x3];_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x1952c3,0x7,_0xc26ee3[0x0]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2bfa40,0xc,_0xc26ee3[0x1]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x23757b,0x11,_0xc26ee3[0x2]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2a327a,0x16,_0xc26ee3[0x3]),_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ac6bc,0x7,_0xc26ee3[0x4]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2ed457,0xc,_0xc26ee3[0x5]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x11f765,0x11,_0xc26ee3[0x6]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x4e4da9,0x16,_0xc26ee3[0x7]),_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xf905a3,0x7,_0xc26ee3[0x8]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0xe55b30,0xc,_0xc26ee3[0x9]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x37d1a1,0x11,_0xc26ee3[0xa]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2d3269,0x16,_0xc26ee3[0xb]),_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x890058,0x7,_0xc26ee3[0xc]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x229096,0xc,_0xc26ee3[0xd]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4af187,0x11,_0xc26ee3[0xe]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x18de4a,0x16,_0xc26ee3[0xf]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2bfa40,0x5,_0xc26ee3[0x10]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x11f765,0x9,_0xc26ee3[0x11]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2d3269,0xe,_0xc26ee3[0x12]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x1952c3,0x14,_0xc26ee3[0x13]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ed457,0x5,_0xc26ee3[0x14]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x37d1a1,0x9,_0xc26ee3[0x15]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x18de4a,0xe,_0xc26ee3[0x16]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2ac6bc,0x14,_0xc26ee3[0x17]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xe55b30,0x5,_0xc26ee3[0x18]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x4af187,0x9,_0xc26ee3[0x19]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2a327a,0xe,_0xc26ee3[0x1a]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0xf905a3,0x14,_0xc26ee3[0x1b]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x229096,0x5,_0xc26ee3[0x1c]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x23757b,0x9,_0xc26ee3[0x1d]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4e4da9,0xe,_0xc26ee3[0x1e]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x890058,0x14,_0xc26ee3[0x1f]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ed457,0x4,_0xc26ee3[0x20]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0xf905a3,0xb,_0xc26ee3[0x21]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2d3269,0x10,_0xc26ee3[0x22]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x4af187,0x17,_0xc26ee3[0x23]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2bfa40,0x4,_0xc26ee3[0x24]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2ac6bc,0xb,_0xc26ee3[0x25]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4e4da9,0x10,_0xc26ee3[0x26]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x37d1a1,0x17,_0xc26ee3[0x27]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x229096,0x4,_0xc26ee3[0x28]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x1952c3,0xb,_0xc26ee3[0x29]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2a327a,0x10,_0xc26ee3[0x2a]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x11f765,0x17,_0xc26ee3[0x2b]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xe55b30,0x4,_0xc26ee3[0x2c]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x890058,0xb,_0xc26ee3[0x2d]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x18de4a,0x10,_0xc26ee3[0x2e]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x23757b,0x17,_0xc26ee3[0x2f]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x1952c3,0x6,_0xc26ee3[0x30]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x4e4da9,0xa,_0xc26ee3[0x31]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4af187,0xf,_0xc26ee3[0x32]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2ed457,0x15,_0xc26ee3[0x33]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x890058,0x6,_0xc26ee3[0x34]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2a327a,0xa,_0xc26ee3[0x35]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x37d1a1,0xf,_0xc26ee3[0x36]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2bfa40,0x15,_0xc26ee3[0x37]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xf905a3,0x6,_0xc26ee3[0x38]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x18de4a,0xa,_0xc26ee3[0x39]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x11f765,0xf,_0xc26ee3[0x3a]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x229096,0x15,_0xc26ee3[0x3b]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ac6bc,0x6,_0xc26ee3[0x3c]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2d3269,0xa,_0xc26ee3[0x3d]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x23757b,0xf,_0xc26ee3[0x3e]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0xe55b30,0x15,_0xc26ee3[0x3f]),_0x2dd274[0x0]=_0x2dd274[0x0]+_0x2533fe|0x0,_0x2dd274[0x1]=_0x2dd274[0x1]+_0x207eb7|0x0,_0x2dd274[0x2]=_0x2dd274[0x2]+_0x260edb|0x0,_0x2dd274[0x3]=_0x2dd274[0x3]+_0xcfd261|0x0;},'_doFinalize':function(){var _0x3e9408=_0x4182f4,_0x2bba2c=this[_0x3e9408(0x277)],_0x3c40fe=_0x2bba2c[_0x3e9408(0x207)],_0x5180bf=this[_0x3e9408(0x165)]*0x8,_0x4f6b03=_0x2bba2c[_0x3e9408(0x11a)]*0x8;_0x3c40fe[_0x4f6b03>>>0x5]|=0x80<<0x18-_0x4f6b03%0x20;var _0x2fd6ef=_0x34b2be[_0x3e9408(0xdc)](_0x5180bf/0x100000000),_0xae2f8b=_0x5180bf;_0x3c40fe[(_0x4f6b03+0x40>>>0x9<<0x4)+0xf]=(_0x2fd6ef<<0x8|_0x2fd6ef>>>0x18)&0xff00ff|(_0x2fd6ef<<0x18|_0x2fd6ef>>>0x8)&0xff00ff00,_0x3c40fe[(_0x4f6b03+0x40>>>0x9<<0x4)+0xe]=(_0xae2f8b<<0x8|_0xae2f8b>>>0x18)&0xff00ff|(_0xae2f8b<<0x18|_0xae2f8b>>>0x8)&0xff00ff00,_0x2bba2c['sigBytes']=(_0x3c40fe[_0x3e9408(0x124)]+0x1)*0x4,this['_process']();for(var _0x502a54=this[_0x3e9408(0xd4)],_0x2b25c6=_0x502a54[_0x3e9408(0x207)],_0x2f18e6=0x0;_0x2f18e6<0x4;_0x2f18e6++){var _0x400b92=_0x2b25c6[_0x2f18e6];_0x2b25c6[_0x2f18e6]=(_0x400b92<<0x8|_0x400b92>>>0x18)&0xff00ff|(_0x400b92<<0x18|_0x400b92>>>0x8)&0xff00ff00;}return _0x502a54;},'clone':function(){var _0x2b340c=_0x4182f4,_0x44e23f=_0x1d0f14[_0x2b340c(0x103)][_0x2b340c(0x1da)](this);return _0x44e23f['_hash']=this[_0x2b340c(0xd4)][_0x2b340c(0x103)](),_0x44e23f;}});function _0x3185be(_0x2a7ce7,_0x555e17,_0x4c293b,_0x4fec96,_0xe79ce7,_0x4df16b,_0x2916e2){var _0x2abae8=_0x2a7ce7+(_0x555e17&_0x4c293b|~_0x555e17&_0x4fec96)+_0xe79ce7+_0x2916e2;return(_0x2abae8<<_0x4df16b|_0x2abae8>>>0x20-_0x4df16b)+_0x555e17;}function _0x539661(_0x4f27f4,_0x4e2717,_0x41de74,_0xfc3e5,_0x465a8f,_0x4a9e19,_0x212711){var _0x2d903f=_0x4f27f4+(_0x4e2717&_0xfc3e5|_0x41de74&~_0xfc3e5)+_0x465a8f+_0x212711;return(_0x2d903f<<_0x4a9e19|_0x2d903f>>>0x20-_0x4a9e19)+_0x4e2717;}function _0x48a0f9(_0x1b1c30,_0xcf86b8,_0x3bf836,_0x447fb6,_0x4dfd8d,_0x120216,_0x523c23){var _0x5d60d4=_0x1b1c30+(_0xcf86b8^_0x3bf836^_0x447fb6)+_0x4dfd8d+_0x523c23;return(_0x5d60d4<<_0x120216|_0x5d60d4>>>0x20-_0x120216)+_0xcf86b8;}function _0xce0a4f(_0x2376d6,_0x37eab3,_0xe5f323,_0x3b4e56,_0x4c70e4,_0x493afe,_0x4e2764){var _0x453695=_0x2376d6+(_0xe5f323^(_0x37eab3|~_0x3b4e56))+_0x4c70e4+_0x4e2764;return(_0x453695<<_0x493afe|_0x453695>>>0x20-_0x493afe)+_0x37eab3;}_0x33c93a['MD5']=_0x1d0f14[_0x4182f4(0x2b5)](_0x55041c),_0x33c93a['HmacMD5']=_0x1d0f14[_0x4182f4(0x2d5)](_0x55041c);}(Math),_0x53e918[_0x1811d7(0xf2)];}));}(Ke)),Ke[_0x58de64(0x123)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x589503=_0xebfca7;return ti||(ti=0x1,function(_0x3ba374,_0x175345){(function(_0x4d19be,_0x1f0311){var _0x5d8a71=_0x1328;_0x3ba374[_0x5d8a71(0x123)]=_0x1f0311(ne());}($r,function(_0x31b2f6){return(function(){var _0x2f02c8=_0x1328,_0x28f96b=_0x31b2f6,_0x1e86fe=_0x28f96b[_0x2f02c8(0x20c)],_0x49ac3c=_0x1e86fe[_0x2f02c8(0x15d)],_0x39d9c5=_0x1e86fe['Hasher'],_0x2f7a00=_0x28f96b['algo'],_0x186a27=[],_0x263dd9=_0x2f7a00['SHA1']=_0x39d9c5[_0x2f02c8(0xd2)]({'_doReset':function(){var _0xb4e325=_0x2f02c8;this['_hash']=new _0x49ac3c[(_0xb4e325(0x121))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x33db0b,_0x15c8be){var _0x445637=_0x2f02c8;for(var _0x2741a4=this[_0x445637(0xd4)]['words'],_0x51e640=_0x2741a4[0x0],_0x1bf549=_0x2741a4[0x1],_0x46f5ba=_0x2741a4[0x2],_0x1b2b9a=_0x2741a4[0x3],_0x2ef854=_0x2741a4[0x4],_0x4f4ee0=0x0;_0x4f4ee0<0x50;_0x4f4ee0++){if(_0x4f4ee0<0x10)_0x186a27[_0x4f4ee0]=_0x33db0b[_0x15c8be+_0x4f4ee0]|0x0;else{var _0x4b3853=_0x186a27[_0x4f4ee0-0x3]^_0x186a27[_0x4f4ee0-0x8]^_0x186a27[_0x4f4ee0-0xe]^_0x186a27[_0x4f4ee0-0x10];_0x186a27[_0x4f4ee0]=_0x4b3853<<0x1|_0x4b3853>>>0x1f;}var _0x493a3b=(_0x51e640<<0x5|_0x51e640>>>0x1b)+_0x2ef854+_0x186a27[_0x4f4ee0];_0x4f4ee0<0x14?_0x493a3b+=(_0x1bf549&_0x46f5ba|~_0x1bf549&_0x1b2b9a)+0x5a827999:_0x4f4ee0<0x28?_0x493a3b+=(_0x1bf549^_0x46f5ba^_0x1b2b9a)+0x6ed9eba1:_0x4f4ee0<0x3c?_0x493a3b+=(_0x1bf549&_0x46f5ba|_0x1bf549&_0x1b2b9a|_0x46f5ba&_0x1b2b9a)-0x70e44324:_0x493a3b+=(_0x1bf549^_0x46f5ba^_0x1b2b9a)-0x359d3e2a,_0x2ef854=_0x1b2b9a,_0x1b2b9a=_0x46f5ba,_0x46f5ba=_0x1bf549<<0x1e|_0x1bf549>>>0x2,_0x1bf549=_0x51e640,_0x51e640=_0x493a3b;}_0x2741a4[0x0]=_0x2741a4[0x0]+_0x51e640|0x0,_0x2741a4[0x1]=_0x2741a4[0x1]+_0x1bf549|0x0,_0x2741a4[0x2]=_0x2741a4[0x2]+_0x46f5ba|0x0,_0x2741a4[0x3]=_0x2741a4[0x3]+_0x1b2b9a|0x0,_0x2741a4[0x4]=_0x2741a4[0x4]+_0x2ef854|0x0;},'_doFinalize':function(){var _0x6c5d65=_0x2f02c8,_0x10bf31=this['_data'],_0x4ba7b9=_0x10bf31['words'],_0x39921d=this['_nDataBytes']*0x8,_0xb73f3f=_0x10bf31[_0x6c5d65(0x11a)]*0x8;return _0x4ba7b9[_0xb73f3f>>>0x5]|=0x80<<0x18-_0xb73f3f%0x20,_0x4ba7b9[(_0xb73f3f+0x40>>>0x9<<0x4)+0xe]=Math[_0x6c5d65(0xdc)](_0x39921d/0x100000000),_0x4ba7b9[(_0xb73f3f+0x40>>>0x9<<0x4)+0xf]=_0x39921d,_0x10bf31[_0x6c5d65(0x11a)]=_0x4ba7b9[_0x6c5d65(0x124)]*0x4,this[_0x6c5d65(0x187)](),this['_hash'];},'clone':function(){var _0x1d97fa=_0x2f02c8,_0x5c2ba9=_0x39d9c5[_0x1d97fa(0x103)][_0x1d97fa(0x1da)](this);return _0x5c2ba9['_hash']=this['_hash'][_0x1d97fa(0x103)](),_0x5c2ba9;}});_0x28f96b[_0x2f02c8(0xa4)]=_0x39d9c5[_0x2f02c8(0x2b5)](_0x263dd9),_0x28f96b['HmacSHA1']=_0x39d9c5[_0x2f02c8(0x2d5)](_0x263dd9);}()),_0x31b2f6['SHA1'];}));}(qe)),qe[_0x589503(0x123)];}var ze={'exports':{}},kr=ze[_0xebfca7(0x123)],ii;function jr(){return ii||(ii=0x1,function(_0x2a46f0,_0x55a7ff){(function(_0x25cc99,_0x4a822a){var _0x4502f2=_0x1328;_0x2a46f0[_0x4502f2(0x123)]=_0x4a822a(ne());}(kr,function(_0x156430){(function(){var _0x3cadfb=_0x1328,_0x52909f=_0x156430,_0x5d58ea=_0x52909f[_0x3cadfb(0x20c)],_0x54d7e4=_0x5d58ea['Base'],_0x1870b6=_0x52909f['enc'],_0x4468a0=_0x1870b6[_0x3cadfb(0xb3)],_0xde7325=_0x52909f['algo'];_0xde7325[_0x3cadfb(0x116)]=_0x54d7e4['extend']({'init':function(_0x116ae0,_0x3e5a7c){var _0x56fa00=_0x3cadfb;_0x116ae0=this['_hasher']=new _0x116ae0[(_0x56fa00(0x121))](),typeof _0x3e5a7c==_0x56fa00(0x370)&&(_0x3e5a7c=_0x4468a0[_0x56fa00(0x23d)](_0x3e5a7c));var _0x36a4b0=_0x116ae0[_0x56fa00(0x2cd)],_0x5204cd=_0x36a4b0*0x4;_0x3e5a7c[_0x56fa00(0x11a)]>_0x5204cd&&(_0x3e5a7c=_0x116ae0[_0x56fa00(0x203)](_0x3e5a7c)),_0x3e5a7c[_0x56fa00(0x16f)]();for(var _0x4a23f4=this[_0x56fa00(0x28b)]=_0x3e5a7c[_0x56fa00(0x103)](),_0x10333d=this[_0x56fa00(0x1ed)]=_0x3e5a7c[_0x56fa00(0x103)](),_0xe56e9a=_0x4a23f4[_0x56fa00(0x207)],_0x1c186f=_0x10333d['words'],_0x25190d=0x0;_0x25190d<_0x36a4b0;_0x25190d++)_0xe56e9a[_0x25190d]^=0x5c5c5c5c,_0x1c186f[_0x25190d]^=0x36363636;_0x4a23f4[_0x56fa00(0x11a)]=_0x10333d[_0x56fa00(0x11a)]=_0x5204cd,this[_0x56fa00(0x91)]();},'reset':function(){var _0x513b63=_0x3cadfb,_0x205eee=this[_0x513b63(0x1ad)];_0x205eee['reset'](),_0x205eee[_0x513b63(0x215)](this['_iKey']);},'update':function(_0x3ab2c0){var _0x72d80f=_0x3cadfb;return this[_0x72d80f(0x1ad)][_0x72d80f(0x215)](_0x3ab2c0),this;},'finalize':function(_0x3b2326){var _0x5b827b=_0x3cadfb,_0x46a9ec=this[_0x5b827b(0x1ad)],_0x11460f=_0x46a9ec[_0x5b827b(0x203)](_0x3b2326);_0x46a9ec[_0x5b827b(0x91)]();var _0x6f14bd=_0x46a9ec[_0x5b827b(0x203)](this[_0x5b827b(0x28b)][_0x5b827b(0x103)]()[_0x5b827b(0x267)](_0x11460f));return _0x6f14bd;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0xebfca7(0x123)],ni;function Ui(){var _0x15dfc3=_0xebfca7;return ni||(ni=0x1,function(_0x12185a,_0x59081c){(function(_0x391099,_0x5987c6,_0x1ef1b9){var _0x5e17a7=_0x1328;_0x12185a[_0x5e17a7(0x123)]=_0x5987c6(ne(),Hr(),jr());}(Br,function(_0x3bbbd1){var _0x1b446d=_0x1328;return(function(){var _0xcab867=_0x1328,_0x92c519=_0x3bbbd1,_0xe4d776=_0x92c519[_0xcab867(0x20c)],_0x6504e=_0xe4d776[_0xcab867(0x318)],_0x18426e=_0xe4d776['WordArray'],_0x5d02f9=_0x92c519[_0xcab867(0x377)],_0x36c0e5=_0x5d02f9['MD5'],_0x238714=_0x5d02f9[_0xcab867(0x25b)]=_0x6504e['extend']({'cfg':_0x6504e[_0xcab867(0xd2)]({'keySize':0x80/0x20,'hasher':_0x36c0e5,'iterations':0x1}),'init':function(_0x52e7d6){var _0x212667=_0xcab867;this[_0x212667(0x27d)]=this['cfg'][_0x212667(0xd2)](_0x52e7d6);},'compute':function(_0xef292d,_0x3789e0){var _0x3e3e90=_0xcab867;for(var _0x4ca618,_0x331650=this[_0x3e3e90(0x27d)],_0x2f6f7f=_0x331650['hasher'][_0x3e3e90(0x26b)](),_0x3317dc=_0x18426e[_0x3e3e90(0x26b)](),_0x31bd23=_0x3317dc[_0x3e3e90(0x207)],_0x32d7e4=_0x331650['keySize'],_0x3c655f=_0x331650[_0x3e3e90(0x224)];_0x31bd23[_0x3e3e90(0x124)]<_0x32d7e4;){_0x4ca618&&_0x2f6f7f['update'](_0x4ca618),_0x4ca618=_0x2f6f7f['update'](_0xef292d)[_0x3e3e90(0x203)](_0x3789e0),_0x2f6f7f[_0x3e3e90(0x91)]();for(var _0x172563=0x1;_0x172563<_0x3c655f;_0x172563++)_0x4ca618=_0x2f6f7f[_0x3e3e90(0x203)](_0x4ca618),_0x2f6f7f[_0x3e3e90(0x91)]();_0x3317dc[_0x3e3e90(0x267)](_0x4ca618);}return _0x3317dc[_0x3e3e90(0x11a)]=_0x32d7e4*0x4,_0x3317dc;}});_0x92c519[_0xcab867(0x25b)]=function(_0x3b3e73,_0x32c38f,_0xd6f239){var _0x16a053=_0xcab867;return _0x238714['create'](_0xd6f239)[_0x16a053(0x239)](_0x3b3e73,_0x32c38f);};}()),_0x3bbbd1[_0x1b446d(0x25b)];}));}(Ye)),Ye[_0x15dfc3(0x123)];}var Je={'exports':{}},Fr=Je[_0xebfca7(0x123)],ri;function Ai(){var _0x37a9eb=_0xebfca7;return ri||(ri=0x1,function(_0x3483df,_0x3b2a2e){(function(_0x5868d2,_0x320cff,_0x4a4686){_0x3483df['exports']=_0x320cff(ne(),Ui());}(Fr,function(_0x389bbf){var _0x31fd3e=_0x1328;_0x389bbf['lib'][_0x31fd3e(0x11f)]||function(_0x13b807){var _0x4d01ae=_0x31fd3e,_0x2cdf22=_0x389bbf,_0xa05f3d=_0x2cdf22[_0x4d01ae(0x20c)],_0x1b71ca=_0xa05f3d[_0x4d01ae(0x318)],_0x4cb0eb=_0xa05f3d[_0x4d01ae(0x15d)],_0x13a90a=_0xa05f3d[_0x4d01ae(0x15f)],_0x3c5444=_0x2cdf22['enc'];_0x3c5444[_0x4d01ae(0xb3)];var _0x2be640=_0x3c5444[_0x4d01ae(0x327)],_0x2d3365=_0x2cdf22[_0x4d01ae(0x377)],_0x31af46=_0x2d3365[_0x4d01ae(0x25b)],_0x252808=_0xa05f3d[_0x4d01ae(0x11f)]=_0x13a90a[_0x4d01ae(0xd2)]({'cfg':_0x1b71ca[_0x4d01ae(0xd2)](),'createEncryptor':function(_0x3e8749,_0x234507){var _0x160f1=_0x4d01ae;return this[_0x160f1(0x26b)](this[_0x160f1(0x1f7)],_0x3e8749,_0x234507);},'createDecryptor':function(_0x8035dd,_0x1e6f9d){var _0xc5b035=_0x4d01ae;return this[_0xc5b035(0x26b)](this[_0xc5b035(0x1cf)],_0x8035dd,_0x1e6f9d);},'init':function(_0x4a1f9f,_0x5d865e,_0x5900ea){var _0x4c89a5=_0x4d01ae;this[_0x4c89a5(0x27d)]=this['cfg']['extend'](_0x5900ea),this[_0x4c89a5(0x280)]=_0x4a1f9f,this[_0x4c89a5(0xb6)]=_0x5d865e,this[_0x4c89a5(0x91)]();},'reset':function(){var _0x1e1e59=_0x4d01ae;_0x13a90a[_0x1e1e59(0x91)][_0x1e1e59(0x1da)](this),this[_0x1e1e59(0xcc)]();},'process':function(_0x3a3f46){var _0x7a2b94=_0x4d01ae;return this[_0x7a2b94(0x328)](_0x3a3f46),this['_process']();},'finalize':function(_0x106550){var _0x163c09=_0x4d01ae;_0x106550&&this['_append'](_0x106550);var _0x5f30c6=this[_0x163c09(0x33b)]();return _0x5f30c6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4625ef(_0xbf4762){var _0x1dc148=_0x1328;return typeof _0xbf4762==_0x1dc148(0x370)?_0xc11b6d:_0x3968f8;}return function(_0x2a9ae2){return{'encrypt':function(_0x11e4ab,_0x2cdcd3,_0x3b15f4){var _0x423ef5=_0x1328;return _0x4625ef(_0x2cdcd3)[_0x423ef5(0x102)](_0x2a9ae2,_0x11e4ab,_0x2cdcd3,_0x3b15f4);},'decrypt':function(_0x4da1a9,_0x3d6dcc,_0x31f93d){var _0x96f160=_0x1328;return _0x4625ef(_0x3d6dcc)[_0x96f160(0x88)](_0x2a9ae2,_0x4da1a9,_0x3d6dcc,_0x31f93d);}};};}())});_0xa05f3d[_0x4d01ae(0x120)]=_0x252808['extend']({'_doFinalize':function(){var _0x1c8ef1=_0x4d01ae,_0x3ecf5b=this[_0x1c8ef1(0x187)](!0x0);return _0x3ecf5b;},'blockSize':0x1});var _0x475e87=_0x2cdf22[_0x4d01ae(0xf9)]={},_0x3ac701=_0xa05f3d[_0x4d01ae(0x378)]=_0x1b71ca[_0x4d01ae(0xd2)]({'createEncryptor':function(_0x36ae2f,_0xdfcb95){var _0x2bae6b=_0x4d01ae;return this['Encryptor'][_0x2bae6b(0x26b)](_0x36ae2f,_0xdfcb95);},'createDecryptor':function(_0x118054,_0x1f77c3){var _0xa932a9=_0x4d01ae;return this[_0xa932a9(0x24e)]['create'](_0x118054,_0x1f77c3);},'init':function(_0x146de4,_0x4736eb){var _0x42bcc2=_0x4d01ae;this[_0x42bcc2(0x2bf)]=_0x146de4,this[_0x42bcc2(0x21c)]=_0x4736eb;}}),_0x2e5bd9=_0x475e87[_0x4d01ae(0x2f2)]=(function(){var _0x561f06=_0x4d01ae,_0x3bc4c3=_0x3ac701[_0x561f06(0xd2)]();_0x3bc4c3[_0x561f06(0x8d)]=_0x3bc4c3['extend']({'processBlock':function(_0x2ab7d0,_0x520e38){var _0x34048a=_0x561f06,_0x5910c2=this[_0x34048a(0x2bf)],_0x323ef5=_0x5910c2[_0x34048a(0x2cd)];_0xcb39d1[_0x34048a(0x1da)](this,_0x2ab7d0,_0x520e38,_0x323ef5),_0x5910c2[_0x34048a(0x1fa)](_0x2ab7d0,_0x520e38),this[_0x34048a(0x1b2)]=_0x2ab7d0['slice'](_0x520e38,_0x520e38+_0x323ef5);}}),_0x3bc4c3[_0x561f06(0x24e)]=_0x3bc4c3['extend']({'processBlock':function(_0x57b966,_0x140d11){var _0x2b368d=_0x561f06,_0x5c190a=this[_0x2b368d(0x2bf)],_0x544965=_0x5c190a[_0x2b368d(0x2cd)],_0x11bc1a=_0x57b966[_0x2b368d(0x164)](_0x140d11,_0x140d11+_0x544965);_0x5c190a['decryptBlock'](_0x57b966,_0x140d11),_0xcb39d1[_0x2b368d(0x1da)](this,_0x57b966,_0x140d11,_0x544965),this[_0x2b368d(0x1b2)]=_0x11bc1a;}});function _0xcb39d1(_0xc01df5,_0x1cdd42,_0x40e55c){var _0x46150d=_0x561f06,_0x22fec5,_0x50dce4=this[_0x46150d(0x21c)];_0x50dce4?(_0x22fec5=_0x50dce4,this[_0x46150d(0x21c)]=_0x13b807):_0x22fec5=this[_0x46150d(0x1b2)];for(var _0x563830=0x0;_0x563830<_0x40e55c;_0x563830++)_0xc01df5[_0x1cdd42+_0x563830]^=_0x22fec5[_0x563830];}return _0x3bc4c3;}()),_0x250f55=_0x2cdf22[_0x4d01ae(0xf7)]={},_0x52bcf3=_0x250f55['Pkcs7']={'pad':function(_0x3175ef,_0x433233){var _0x12cd35=_0x4d01ae;for(var _0x32e4bc=_0x433233*0x4,_0x164a26=_0x32e4bc-_0x3175ef[_0x12cd35(0x11a)]%_0x32e4bc,_0x367c1c=_0x164a26<<0x18|_0x164a26<<0x10|_0x164a26<<0x8|_0x164a26,_0x4e5bc5=[],_0x322af3=0x0;_0x322af3<_0x164a26;_0x322af3+=0x4)_0x4e5bc5[_0x12cd35(0xca)](_0x367c1c);var _0x371c4b=_0x4cb0eb[_0x12cd35(0x26b)](_0x4e5bc5,_0x164a26);_0x3175ef[_0x12cd35(0x267)](_0x371c4b);},'unpad':function(_0x3a40ba){var _0x45b64c=_0x4d01ae,_0xe0709f=_0x3a40ba[_0x45b64c(0x207)][_0x3a40ba[_0x45b64c(0x11a)]-0x1>>>0x2]&0xff;_0x3a40ba[_0x45b64c(0x11a)]-=_0xe0709f;}};_0xa05f3d['BlockCipher']=_0x252808[_0x4d01ae(0xd2)]({'cfg':_0x252808[_0x4d01ae(0x27d)][_0x4d01ae(0xd2)]({'mode':_0x2e5bd9,'padding':_0x52bcf3}),'reset':function(){var _0x3dac2f=_0x4d01ae,_0x37fcdc;_0x252808[_0x3dac2f(0x91)]['call'](this);var _0x332f74=this[_0x3dac2f(0x27d)],_0x401419=_0x332f74['iv'],_0x38dfd2=_0x332f74[_0x3dac2f(0xf9)];this[_0x3dac2f(0x280)]==this[_0x3dac2f(0x1f7)]?_0x37fcdc=_0x38dfd2[_0x3dac2f(0x22f)]:(_0x37fcdc=_0x38dfd2[_0x3dac2f(0x108)],this['_minBufferSize']=0x1),this[_0x3dac2f(0x1ba)]&&this['_mode'][_0x3dac2f(0x1e5)]==_0x37fcdc?this[_0x3dac2f(0x1ba)][_0x3dac2f(0x121)](this,_0x401419&&_0x401419[_0x3dac2f(0x207)]):(this['_mode']=_0x37fcdc[_0x3dac2f(0x1da)](_0x38dfd2,this,_0x401419&&_0x401419[_0x3dac2f(0x207)]),this['_mode'][_0x3dac2f(0x1e5)]=_0x37fcdc);},'_doProcessBlock':function(_0x3a9154,_0xbbad9a){var _0x54bf1c=_0x4d01ae;this[_0x54bf1c(0x1ba)][_0x54bf1c(0x25c)](_0x3a9154,_0xbbad9a);},'_doFinalize':function(){var _0x2d8cbc=_0x4d01ae,_0x22db46,_0x4feea8=this[_0x2d8cbc(0x27d)][_0x2d8cbc(0x37c)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4feea8[_0x2d8cbc(0xf7)](this[_0x2d8cbc(0x277)],this[_0x2d8cbc(0x2cd)]),_0x22db46=this['_process'](!0x0)):(_0x22db46=this['_process'](!0x0),_0x4feea8['unpad'](_0x22db46)),_0x22db46;},'blockSize':0x80/0x20});var _0x4914a1=_0xa05f3d[_0x4d01ae(0x1a6)]=_0x1b71ca[_0x4d01ae(0xd2)]({'init':function(_0x2fd4b5){var _0x129cfa=_0x4d01ae;this[_0x129cfa(0x17c)](_0x2fd4b5);},'toString':function(_0x28ac02){var _0x29a98e=_0x4d01ae;return(_0x28ac02||this[_0x29a98e(0x296)])[_0x29a98e(0x357)](this);}}),_0x43dac1=_0x2cdf22[_0x4d01ae(0xa2)]={},_0xcc67ac=_0x43dac1[_0x4d01ae(0x2a7)]={'stringify':function(_0x4ac219){var _0x1f42ec=_0x4d01ae,_0x445e6e,_0x2bc7a2=_0x4ac219['ciphertext'],_0x36126a=_0x4ac219[_0x1f42ec(0xac)];return _0x36126a?_0x445e6e=_0x4cb0eb['create']([0x53616c74,0x65645f5f])['concat'](_0x36126a)[_0x1f42ec(0x267)](_0x2bc7a2):_0x445e6e=_0x2bc7a2,_0x445e6e[_0x1f42ec(0x153)](_0x2be640);},'parse':function(_0x2f2f2f){var _0x390f63=_0x4d01ae,_0x6b40cd,_0x3e5cd5=_0x2be640[_0x390f63(0x23d)](_0x2f2f2f),_0x51b2ae=_0x3e5cd5[_0x390f63(0x207)];return _0x51b2ae[0x0]==0x53616c74&&_0x51b2ae[0x1]==0x65645f5f&&(_0x6b40cd=_0x4cb0eb['create'](_0x51b2ae[_0x390f63(0x164)](0x2,0x4)),_0x51b2ae['splice'](0x0,0x4),_0x3e5cd5[_0x390f63(0x11a)]-=0x10),_0x4914a1[_0x390f63(0x26b)]({'ciphertext':_0x3e5cd5,'salt':_0x6b40cd});}},_0x3968f8=_0xa05f3d[_0x4d01ae(0x200)]=_0x1b71ca['extend']({'cfg':_0x1b71ca['extend']({'format':_0xcc67ac}),'encrypt':function(_0x1faeb0,_0xce4a61,_0x14611d,_0x428656){var _0xc01ae1=_0x4d01ae;_0x428656=this[_0xc01ae1(0x27d)][_0xc01ae1(0xd2)](_0x428656);var _0x373401=_0x1faeb0['createEncryptor'](_0x14611d,_0x428656),_0x475486=_0x373401['finalize'](_0xce4a61),_0x4bb589=_0x373401[_0xc01ae1(0x27d)];return _0x4914a1['create']({'ciphertext':_0x475486,'key':_0x14611d,'iv':_0x4bb589['iv'],'algorithm':_0x1faeb0,'mode':_0x4bb589[_0xc01ae1(0xf9)],'padding':_0x4bb589[_0xc01ae1(0x37c)],'blockSize':_0x1faeb0['blockSize'],'formatter':_0x428656[_0xc01ae1(0xa2)]});},'decrypt':function(_0x2dd29a,_0x28bbe0,_0x4c8b87,_0x382b0b){var _0x4d6210=_0x4d01ae;_0x382b0b=this[_0x4d6210(0x27d)]['extend'](_0x382b0b),_0x28bbe0=this[_0x4d6210(0x1b7)](_0x28bbe0,_0x382b0b[_0x4d6210(0xa2)]);var _0x7fd1c6=_0x2dd29a[_0x4d6210(0x108)](_0x4c8b87,_0x382b0b)[_0x4d6210(0x203)](_0x28bbe0[_0x4d6210(0x27c)]);return _0x7fd1c6;},'_parse':function(_0x517717,_0x4f72cd){var _0x36c03f=_0x4d01ae;return typeof _0x517717=='string'?_0x4f72cd[_0x36c03f(0x23d)](_0x517717,this):_0x517717;}}),_0x318749=_0x2cdf22['kdf']={},_0x17b9d5=_0x318749['OpenSSL']={'execute':function(_0x43158d,_0x360212,_0x90df09,_0x469c19,_0x1b6bd6){var _0x270cc1=_0x4d01ae;if(_0x469c19||(_0x469c19=_0x4cb0eb[_0x270cc1(0x20a)](0x40/0x8)),_0x1b6bd6)var _0xc62a8c=_0x31af46[_0x270cc1(0x26b)]({'keySize':_0x360212+_0x90df09,'hasher':_0x1b6bd6})[_0x270cc1(0x239)](_0x43158d,_0x469c19);else var _0xc62a8c=_0x31af46['create']({'keySize':_0x360212+_0x90df09})[_0x270cc1(0x239)](_0x43158d,_0x469c19);var _0x3e1d55=_0x4cb0eb[_0x270cc1(0x26b)](_0xc62a8c[_0x270cc1(0x207)][_0x270cc1(0x164)](_0x360212),_0x90df09*0x4);return _0xc62a8c['sigBytes']=_0x360212*0x4,_0x4914a1['create']({'key':_0xc62a8c,'iv':_0x3e1d55,'salt':_0x469c19});}},_0xc11b6d=_0xa05f3d[_0x4d01ae(0x2d9)]=_0x3968f8[_0x4d01ae(0xd2)]({'cfg':_0x3968f8[_0x4d01ae(0x27d)][_0x4d01ae(0xd2)]({'kdf':_0x17b9d5}),'encrypt':function(_0x1b1b80,_0x2fcc34,_0x4619d3,_0x15ada4){var _0x10830c=_0x4d01ae;_0x15ada4=this['cfg'][_0x10830c(0xd2)](_0x15ada4);var _0x3ff9e5=_0x15ada4[_0x10830c(0x19d)]['execute'](_0x4619d3,_0x1b1b80[_0x10830c(0xab)],_0x1b1b80[_0x10830c(0x371)],_0x15ada4[_0x10830c(0xac)],_0x15ada4['hasher']);_0x15ada4['iv']=_0x3ff9e5['iv'];var _0x462685=_0x3968f8[_0x10830c(0x102)]['call'](this,_0x1b1b80,_0x2fcc34,_0x3ff9e5['key'],_0x15ada4);return _0x462685[_0x10830c(0x17c)](_0x3ff9e5),_0x462685;},'decrypt':function(_0x211bc4,_0x4827b9,_0x4f43b5,_0x5c85c6){var _0x505c21=_0x4d01ae;_0x5c85c6=this['cfg'][_0x505c21(0xd2)](_0x5c85c6),_0x4827b9=this[_0x505c21(0x1b7)](_0x4827b9,_0x5c85c6['format']);var _0xdbbfad=_0x5c85c6[_0x505c21(0x19d)][_0x505c21(0xcb)](_0x4f43b5,_0x211bc4[_0x505c21(0xab)],_0x211bc4[_0x505c21(0x371)],_0x4827b9['salt'],_0x5c85c6['hasher']);_0x5c85c6['iv']=_0xdbbfad['iv'];var _0x3164d6=_0x3968f8[_0x505c21(0x88)][_0x505c21(0x1da)](this,_0x211bc4,_0x4827b9,_0xdbbfad['key'],_0x5c85c6);return _0x3164d6;}});}();}));}(Je)),Je[_0x37a9eb(0x123)];}var Vr=Ve[_0xebfca7(0x123)],si;function Gr(){var _0x1f2a8d=_0xebfca7;return si||(si=0x1,function(_0x1baae3,_0x4944d4){(function(_0x3a8ec1,_0x442bd0,_0x235e8d){_0x1baae3['exports']=_0x442bd0(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x531be5){var _0x116167=_0x1328;return(function(){var _0x361d4f=_0x1328,_0x3447a0=_0x531be5,_0x4f54c4=_0x3447a0[_0x361d4f(0x20c)],_0x465222=_0x4f54c4[_0x361d4f(0x1d0)],_0x397d86=_0x3447a0[_0x361d4f(0x377)],_0x19f83f=[],_0x6b3cf=[],_0x50e7d1=[],_0x14bfaa=[],_0x39bfa4=[],_0x489abc=[],_0x2ff986=[],_0x79ca15=[],_0x22e495=[],_0x52cd8e=[];(function(){for(var _0x378517=[],_0x169864=0x0;_0x169864<0x100;_0x169864++)_0x169864<0x80?_0x378517[_0x169864]=_0x169864<<0x1:_0x378517[_0x169864]=_0x169864<<0x1^0x11b;for(var _0x5cdd34=0x0,_0x54b281=0x0,_0x169864=0x0;_0x169864<0x100;_0x169864++){var _0x155d3f=_0x54b281^_0x54b281<<0x1^_0x54b281<<0x2^_0x54b281<<0x3^_0x54b281<<0x4;_0x155d3f=_0x155d3f>>>0x8^_0x155d3f&0xff^0x63,_0x19f83f[_0x5cdd34]=_0x155d3f,_0x6b3cf[_0x155d3f]=_0x5cdd34;var _0x5f1564=_0x378517[_0x5cdd34],_0x56f8b1=_0x378517[_0x5f1564],_0x1944f1=_0x378517[_0x56f8b1],_0x4fdf3e=_0x378517[_0x155d3f]*0x101^_0x155d3f*0x1010100;_0x50e7d1[_0x5cdd34]=_0x4fdf3e<<0x18|_0x4fdf3e>>>0x8,_0x14bfaa[_0x5cdd34]=_0x4fdf3e<<0x10|_0x4fdf3e>>>0x10,_0x39bfa4[_0x5cdd34]=_0x4fdf3e<<0x8|_0x4fdf3e>>>0x18,_0x489abc[_0x5cdd34]=_0x4fdf3e;var _0x4fdf3e=_0x1944f1*0x1010101^_0x56f8b1*0x10001^_0x5f1564*0x101^_0x5cdd34*0x1010100;_0x2ff986[_0x155d3f]=_0x4fdf3e<<0x18|_0x4fdf3e>>>0x8,_0x79ca15[_0x155d3f]=_0x4fdf3e<<0x10|_0x4fdf3e>>>0x10,_0x22e495[_0x155d3f]=_0x4fdf3e<<0x8|_0x4fdf3e>>>0x18,_0x52cd8e[_0x155d3f]=_0x4fdf3e,_0x5cdd34?(_0x5cdd34=_0x5f1564^_0x378517[_0x378517[_0x378517[_0x1944f1^_0x5f1564]]],_0x54b281^=_0x378517[_0x378517[_0x54b281]]):_0x5cdd34=_0x54b281=0x1;}}());var _0x14e069=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x13f409=_0x397d86[_0x361d4f(0x339)]=_0x465222[_0x361d4f(0xd2)]({'_doReset':function(){var _0x524925=_0x361d4f,_0xd2bd8c;if(!(this['_nRounds']&&this[_0x524925(0x27e)]===this['_key'])){for(var _0x5e87a2=this[_0x524925(0x27e)]=this[_0x524925(0xb6)],_0x169151=_0x5e87a2['words'],_0x5a0f92=_0x5e87a2[_0x524925(0x11a)]/0x4,_0x642026=this[_0x524925(0x95)]=_0x5a0f92+0x6,_0x3a740f=(_0x642026+0x1)*0x4,_0x56746e=this['_keySchedule']=[],_0x3068ca=0x0;_0x3068ca<_0x3a740f;_0x3068ca++)_0x3068ca<_0x5a0f92?_0x56746e[_0x3068ca]=_0x169151[_0x3068ca]:(_0xd2bd8c=_0x56746e[_0x3068ca-0x1],_0x3068ca%_0x5a0f92?_0x5a0f92>0x6&&_0x3068ca%_0x5a0f92==0x4&&(_0xd2bd8c=_0x19f83f[_0xd2bd8c>>>0x18]<<0x18|_0x19f83f[_0xd2bd8c>>>0x10&0xff]<<0x10|_0x19f83f[_0xd2bd8c>>>0x8&0xff]<<0x8|_0x19f83f[_0xd2bd8c&0xff]):(_0xd2bd8c=_0xd2bd8c<<0x8|_0xd2bd8c>>>0x18,_0xd2bd8c=_0x19f83f[_0xd2bd8c>>>0x18]<<0x18|_0x19f83f[_0xd2bd8c>>>0x10&0xff]<<0x10|_0x19f83f[_0xd2bd8c>>>0x8&0xff]<<0x8|_0x19f83f[_0xd2bd8c&0xff],_0xd2bd8c^=_0x14e069[_0x3068ca/_0x5a0f92|0x0]<<0x18),_0x56746e[_0x3068ca]=_0x56746e[_0x3068ca-_0x5a0f92]^_0xd2bd8c);for(var _0x707cd2=this[_0x524925(0x2ab)]=[],_0xcf6e9d=0x0;_0xcf6e9d<_0x3a740f;_0xcf6e9d++){var _0x3068ca=_0x3a740f-_0xcf6e9d;if(_0xcf6e9d%0x4)var _0xd2bd8c=_0x56746e[_0x3068ca];else var _0xd2bd8c=_0x56746e[_0x3068ca-0x4];_0xcf6e9d<0x4||_0x3068ca<=0x4?_0x707cd2[_0xcf6e9d]=_0xd2bd8c:_0x707cd2[_0xcf6e9d]=_0x2ff986[_0x19f83f[_0xd2bd8c>>>0x18]]^_0x79ca15[_0x19f83f[_0xd2bd8c>>>0x10&0xff]]^_0x22e495[_0x19f83f[_0xd2bd8c>>>0x8&0xff]]^_0x52cd8e[_0x19f83f[_0xd2bd8c&0xff]];}}},'encryptBlock':function(_0x3b5f81,_0x295778){var _0x1201f7=_0x361d4f;this[_0x1201f7(0x2a6)](_0x3b5f81,_0x295778,this[_0x1201f7(0x32e)],_0x50e7d1,_0x14bfaa,_0x39bfa4,_0x489abc,_0x19f83f);},'decryptBlock':function(_0x3d5d45,_0x4af691){var _0x598438=_0x361d4f,_0x550d93=_0x3d5d45[_0x4af691+0x1];_0x3d5d45[_0x4af691+0x1]=_0x3d5d45[_0x4af691+0x3],_0x3d5d45[_0x4af691+0x3]=_0x550d93,this[_0x598438(0x2a6)](_0x3d5d45,_0x4af691,this[_0x598438(0x2ab)],_0x2ff986,_0x79ca15,_0x22e495,_0x52cd8e,_0x6b3cf);var _0x550d93=_0x3d5d45[_0x4af691+0x1];_0x3d5d45[_0x4af691+0x1]=_0x3d5d45[_0x4af691+0x3],_0x3d5d45[_0x4af691+0x3]=_0x550d93;},'_doCryptBlock':function(_0x502a74,_0x14a419,_0x280fcd,_0x258635,_0x49a44b,_0x146296,_0x1f29bd,_0x3fb0c9){for(var _0x8a1e8e=this['_nRounds'],_0x49f829=_0x502a74[_0x14a419]^_0x280fcd[0x0],_0x465f04=_0x502a74[_0x14a419+0x1]^_0x280fcd[0x1],_0xf15d4b=_0x502a74[_0x14a419+0x2]^_0x280fcd[0x2],_0x5c65bc=_0x502a74[_0x14a419+0x3]^_0x280fcd[0x3],_0x264463=0x4,_0x16e6c4=0x1;_0x16e6c4<_0x8a1e8e;_0x16e6c4++){var _0x5c2975=_0x258635[_0x49f829>>>0x18]^_0x49a44b[_0x465f04>>>0x10&0xff]^_0x146296[_0xf15d4b>>>0x8&0xff]^_0x1f29bd[_0x5c65bc&0xff]^_0x280fcd[_0x264463++],_0x1fb84d=_0x258635[_0x465f04>>>0x18]^_0x49a44b[_0xf15d4b>>>0x10&0xff]^_0x146296[_0x5c65bc>>>0x8&0xff]^_0x1f29bd[_0x49f829&0xff]^_0x280fcd[_0x264463++],_0x154b0b=_0x258635[_0xf15d4b>>>0x18]^_0x49a44b[_0x5c65bc>>>0x10&0xff]^_0x146296[_0x49f829>>>0x8&0xff]^_0x1f29bd[_0x465f04&0xff]^_0x280fcd[_0x264463++],_0x551268=_0x258635[_0x5c65bc>>>0x18]^_0x49a44b[_0x49f829>>>0x10&0xff]^_0x146296[_0x465f04>>>0x8&0xff]^_0x1f29bd[_0xf15d4b&0xff]^_0x280fcd[_0x264463++];_0x49f829=_0x5c2975,_0x465f04=_0x1fb84d,_0xf15d4b=_0x154b0b,_0x5c65bc=_0x551268;}var _0x5c2975=(_0x3fb0c9[_0x49f829>>>0x18]<<0x18|_0x3fb0c9[_0x465f04>>>0x10&0xff]<<0x10|_0x3fb0c9[_0xf15d4b>>>0x8&0xff]<<0x8|_0x3fb0c9[_0x5c65bc&0xff])^_0x280fcd[_0x264463++],_0x1fb84d=(_0x3fb0c9[_0x465f04>>>0x18]<<0x18|_0x3fb0c9[_0xf15d4b>>>0x10&0xff]<<0x10|_0x3fb0c9[_0x5c65bc>>>0x8&0xff]<<0x8|_0x3fb0c9[_0x49f829&0xff])^_0x280fcd[_0x264463++],_0x154b0b=(_0x3fb0c9[_0xf15d4b>>>0x18]<<0x18|_0x3fb0c9[_0x5c65bc>>>0x10&0xff]<<0x10|_0x3fb0c9[_0x49f829>>>0x8&0xff]<<0x8|_0x3fb0c9[_0x465f04&0xff])^_0x280fcd[_0x264463++],_0x551268=(_0x3fb0c9[_0x5c65bc>>>0x18]<<0x18|_0x3fb0c9[_0x49f829>>>0x10&0xff]<<0x10|_0x3fb0c9[_0x465f04>>>0x8&0xff]<<0x8|_0x3fb0c9[_0xf15d4b&0xff])^_0x280fcd[_0x264463++];_0x502a74[_0x14a419]=_0x5c2975,_0x502a74[_0x14a419+0x1]=_0x1fb84d,_0x502a74[_0x14a419+0x2]=_0x154b0b,_0x502a74[_0x14a419+0x3]=_0x551268;},'keySize':0x100/0x20});_0x3447a0[_0x361d4f(0x339)]=_0x465222['_createHelper'](_0x13f409);}()),_0x531be5[_0x116167(0x339)];}));}(Ve)),Ve[_0x1f2a8d(0x123)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0xebfca7(0x123)],ai;function zr(){var _0x34bc5b=_0xebfca7;return ai||(ai=0x1,function(_0x3acb1b,_0x3492bd){(function(_0x243947,_0x346c84){_0x3acb1b['exports']=_0x346c84(ne());}(qr,function(_0x4c6e6e){var _0x245670=_0x1328;return _0x4c6e6e[_0x245670(0x136)][_0x245670(0xb3)];}));}(Xe)),Xe[_0x34bc5b(0x123)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0xebfca7(0x123)],ci;function Qr(){var _0x3e7275=_0xebfca7;return ci||(ci=0x1,function(_0x54eaa2,_0x1e3cd8){(function(_0x11da2e,_0x528760){var _0x393f33=_0x1328;_0x54eaa2[_0x393f33(0x123)]=_0x528760(ne());}(Zr,function(_0x485738){var _0xceb1a7=_0x1328;return(function(){var _0x3fe8ed=_0x1328;if(typeof ArrayBuffer=='function'){var _0x401cd5=_0x485738,_0x48d657=_0x401cd5[_0x3fe8ed(0x20c)],_0x423a06=_0x48d657[_0x3fe8ed(0x15d)],_0x550478=_0x423a06[_0x3fe8ed(0x121)],_0x58e756=_0x423a06[_0x3fe8ed(0x121)]=function(_0x4b9336){var _0x4c3e6a=_0x3fe8ed;if(_0x4b9336 instanceof ArrayBuffer&&(_0x4b9336=new Uint8Array(_0x4b9336)),(_0x4b9336 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4b9336 instanceof Uint8ClampedArray||_0x4b9336 instanceof Int16Array||_0x4b9336 instanceof Uint16Array||_0x4b9336 instanceof Int32Array||_0x4b9336 instanceof Uint32Array||_0x4b9336 instanceof Float32Array||_0x4b9336 instanceof Float64Array)&&(_0x4b9336=new Uint8Array(_0x4b9336['buffer'],_0x4b9336[_0x4c3e6a(0x325)],_0x4b9336['byteLength'])),_0x4b9336 instanceof Uint8Array){for(var _0x9ca921=_0x4b9336[_0x4c3e6a(0x1e1)],_0x21e3ef=[],_0x4d9b93=0x0;_0x4d9b93<_0x9ca921;_0x4d9b93++)_0x21e3ef[_0x4d9b93>>>0x2]|=_0x4b9336[_0x4d9b93]<<0x18-_0x4d9b93%0x4*0x8;_0x550478[_0x4c3e6a(0x1da)](this,_0x21e3ef,_0x9ca921);}else _0x550478[_0x4c3e6a(0xff)](this,arguments);};_0x58e756[_0x3fe8ed(0x1cd)]=_0x423a06;}}()),_0x485738['lib'][_0xceb1a7(0x15d)];}));}(Ze)),Ze[_0x3e7275(0x123)];}var es=Qr();const ts=ke(es);function _0x2110(){var _0x14c38b=['getUnitId','concat','substr','awaiting_with_pending','has','create','CHANGESET_ACK','/universer-api/file/{fileID}/sign-url','getInterceptPoints','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SHOULD_CLOSE_CONN','_pendingMutations','_onJoinRoomEvent','_onRemoteRejected','fetch_missing','_showConflictNotification','/universer-api/oidc/authpage','_data','_socketMessageSubscription','charAt','actions','CONFLICT','ciphertext','cfg','_keyPriorReset','_clearLocalCache','_xformMode','_transformIMECache','UNRECOGNIZED','OTHER_CLIENT_EDITING','localCacheService','toggleOnline','_sendHeartbeat','/-/object/list','NEW_CHANGESETS','UNIVER_PROJECT','createInstance','_oKey','_getUndoStack','image/png','userID','_getAPIPrefixPath','_joinRoom','Undefined','NOT_COLLAB','_rescheduleHeartbeat','_snapshotService','univer-pro.collaboration-client.network-condition.service','formatter','href','getOwnPropertyDescriptor','dispose$','\x0aAfter:\x20','&assign=','UnitEmbedded','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','synced','liveShareNewHost','capture','_fetchMissChangesets','readyForCollab','HttpImport','/resources','socket\x20close','_doCryptBlock','OpenSSL','_initDependencies','addHandlerCallback','result','_invKeySchedule','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getCtorByUniverType','_onLocalMutation','transformUndoRedo','batchAllowed','JOIN','onTransformRemoteChangesetByIMECache','auth.needGotoLoginAlert','_createInitialStateImpl','_createHelper','onSyncEditingCollabCursor','?size=','name','_waitCount','now','add','min','delete','rev','_cipher','sendChangesetTimeout','event$','entityInit$','UNDEFINED','compose','ERROR_IMAGE','&to=','UNIVER_COLLABORATION_CLIENT_PLUGIN','_getRedoStack','_remoteChangesetQueue','msCrypto','textRanges','onRemoteChangeset','blockSize','addImageSourceCache','_registerDependencies','_transitionLocked','onTransformIME','BASE64','_sendHeartbeatTimer','[UniverCollaborationClientPlugin]','_createHmacHelper','GLOBAL_ROOMS_CNT_EXCEEDS','onlyLocal','getSheetBlock','PasswordBasedCipher','RECV','error$','eventID','MUTATION','_incrementRevisionNumber','forEach','$super','/collaborator','_retryCount','splice','_handler','LEAVE','originalMeta','onCommentUpdate','NO_OTHER_CLIENTS_EDITING','onTransformRemoteChangesetByStateCache','_getSessionTicket','/universer-api/authz','confirm','patch','_onUserLeave','append','_onFetchMissResult','fetchMiss','CBC','FileId','abs','getTypeOfUnitAdded$','newCsEvent','then','error','_commentService','COMPRESS_MUTATION_APPLY','unit-cache-','[CollaborationState]:\x20apply\x20error!','52egwytM','_singleActiveUnitService','function','getLatestCsReqIdBySid','encodeURIComponent','_status$','_collaborationTimeoutTimer','offline','_disableEditing','_localeService','commentUpdateEvent','get','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','open$','location','UPDATE_PERMISSION_OBJ','saveChangeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','body','state','_retryConnectingTimer','getDeserializedSheetBlock','_commandService','OPTIONAL','_sessionStatus$','_createHandler','Base','url','_onRemoteChangeset','repeat','transformChangesets','session','session.room-full','getFocusedUnit','max','_unlockTransition','getCollabEntity$','_executeRemoteChangeset','pipe','byteOffset','infoRsp','Base64','_append','authzUrl','POST','stopTime','_clearRedo','_transformStack','_keySchedule','[FetchMissState]','session.room-permission-denied','pending','INTERNAL_ERROR','onMissedChangesetFetched','fetching\x20missing\x20changesets\x20from\x20','retryConnectingInterval','_candidateSocket','resend','SOCKET_FAILED','AES','bind','_doFinalize','461355rWzMtb','encode','onStateChange','fetchThroughInterceptors','headers','_resendTimeout','FETCH_MISS','m2Prime','_submitChangeset','_tryReconnect','YUUMI_UNABLE_LOAD_URL','unsubscribe','updateMember','OFFLINE','PSEUDO_FETCH_MISSING_RESULT','{fileID}','[CollaborationEntity]','unitId','image/gif','pluginName','_onConnectionFailed','USERS_ENTER','_syncEditingCollabCursor','reqId','_getSendChangesetTimeout','getTime','_toggleOnline','stringify','_collaborationSessionService','_isPermissionRej','_roomCreated$','ws://127.0.0.1:8000/universer-api/comb/connect','Hex','size','UNKNOWN_CODE','closeSession','_emitMembers','_changesetSessionId','CHANGESET_SHOULD_RETRY','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_doProcessBlock','UnitSnapshot','every','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','CHANGESET_REVISION_CONFILICT','toLowerCase','emitEvent','onSendChangeset','fromCollab','PENDING','/fetchmissing?from=','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','string','ivSize','filter','_memberService','changesets','/rev/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','algo','BlockCipherMode','_queuedRemoteChangesets','_sender','reconnect','padding','NoPadding','unitID','UNKNOWN_CMD','APPLY_NON_SEQUENTIAL_REVISION','_decreaseWaiting','_updateState','send','close$','decrypt','_networkConditionService','awaitingChangeset','_substituteUndoStack','_http','Encryptor','_handlerCallback','roomInfos','univer-pro.collaboration-client.single-active-unit-service','reset','/block/','crypto','_HTTPService','_nRounds','_toggleOffline','SUCCUSS','requireSession','_lockTransition','loadOfflineData','deleteCollaborator','routeKey','/allowed','PERMISSION_REJ','_unitID','_startCollaboration','_transformSelections','format','setCurrentUser','SHA1','_socket$','sessionStatus','readInt32LE','hasOwnProperty','APPLY_DUPLICATED','saveSnapshot','keySize','salt','pauseCollaboration','_initUnitPermissionChange','_transformStateCache','awaiting','_redoStacks','_telemetryService','Utf8','[OfflineState]:\x20received\x20rejection.','_transformUndoredo','_key','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','withCredentials','failed\x20to\x20apply\x20missed\x20changesets!','getCurrentUser','unitInfo$','search','Could\x20not\x20dynamically\x20require\x20\x22','getCollabEntity','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onMessage','commentUpdate$','data','override','AUTHZ_URL_KEY','_transformRemoteChangesetByIMECache','setShowComponents','2wuxGGx','FETCH_MISSING','csAckEvent','push','execute','_doReset','interceptor','_initMergeInterceptor','getRandomValues','origin','code','extend','_onCombEvent','_hash','updateOfflineData','MSG_FOR_ERROR','_loadSheet','UUID','_getDownloadEndpointURL','defineProperty','type','floor','OTHER_CLIENTS_EDITING','getWorkbookSelections','reverse','_getUploadFileURL','status$','NOT_FOUND','_updateLocalCache','post','_init','c1Prime','objects','_config','subject','_sessions','requestParams','loginUrlKey','HEARTBEAT_TIMEOUT','_clearCollaborationTimeoutTimer','JOINING','generateRandomId','ERROR_EXCEED_SIZE','MD5','getSheetId','_schedule','src','randomUUID','pad','onload','mode','includes','_sheetTransformSelectionsService','_undoRedoService','\x0aCurrent:\x20','getImageSourceCache','apply','_roomMembers','objectType','encrypt','clone','allowed','image/bmp','_updateStatus','COMPRESS_MUTATION_SEND','createDecryptor','__Key__','ALREADY_EXISTS','debug','\x20to\x20','Hasher','socket\x20open.','INGEST','/universer-api/stream/file/upload','_transformService','onMissingChangesets','setWaitCount','executeCommand','saveImage','HMAC','getSnapshotAPIPath','_localCacheService','_scheduleCompleteTimestamp','sigBytes','_changesetReqId','clear','Latin1','/object/','Cipher','StreamCipher','init','_loadDoc','exports','length','RETRY_CONNECTING_MAX_COUNT','LIVESHARE_TERMINATE','AWAITING','transformMutationsWithChangeset','status','objectActions','/-/object/-/batch_allowed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','editingUnit','_waitForHeartbeatResponse','_timeoutTimer','reduce','[PendingState]:\x20received\x20rejection.','_socket','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_SLIDE','enc','findIndex','onRemoteRej','conflict','downloadEndpointUrl','_entities','collaboratorID','793300qxspIu','equals','LIVESHARE_REQUEST_HOST','_eventService','getResourcesRequest','getMemberID','/universer-api/user/session-ticket','_socketReady','members$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','map','mutations','[CollaborationSessionService]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getAllMembers','JOIN_ROOM_NOT_EXISTS','_members','_getLoginPath','_throwTelemetryCollaborationNewChangeset','_initRequestHeader','JOIN_ROOM_FAILED','asObservable','toString','subscribe','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collaboration-client.config','ticket','listRoles','createSocket','CHANGESET_REJ','_scheduleCollaborationTimeoutTimer','APPLY_REJECT','WordArray','/universer-api/uniscript','BufferedBlockAlgorithm','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','startsWith','/universer-api/comb','SYNCED','slice','_nDataBytes','_socketService','_onConflict','[CollaborationSession]','_event$','22430vFnnBi','sid','__esModule','_collaborationUIEventService','1524501daRuaf','clamp','APPLY_PERMISSION_DENIED','put','telemetry\x20info\x20is\x20not\x20initialized','_univerInstanceService','incrementRevOfUnit','CLOSE_ROOM','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_collaborationPaused','[SyncedState]:\x20received\x20acknowledgement.','enableAuthServer','params','_removeRoom','mixIn','&source=','_createSocket','LIVESHARE_FETCH_OPERATIONS','set','_listenToNetworkCondition','SEND_CHANGESET_TIMEOUT','_clearHeartbeatTimer','sessionStatus$','_onRemoteACK','Error\x20on\x20receiving\x20event','_process','LOGIN_URL_KEY','_imageSourceCache','UNIVER_SHEET','find','UNISCRIPT_RUN','_collabSessionService','memberID','_onUserJoin','JOIN_ROOM_FULL','getMember','COLLAB_WEB_SOCKET_URL','revision','_exhaustRemoteChangesetQueue','UPDATE_CURSOR','_stopTelemetryCollaborationNewChangeset','_minBufferSize','_type','SUBMIT_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20acknowledgement.','_createSocketURL','csRejEvent','kdf','_compressMutationService','isPermissionRej','csShouldRetryEvent','selections','_substituteRedoStack','setConfig','dispose','79683CEYXuI','CipherParams','COMMENT_UPDATE','_snapshotServerService','joinEvent','_tryEnsureSocket','_state$','Univer','_hasher','randomBytes','onCommandExecuted','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','range','_prevBlock','[DataLoaderService]','COLLAB_SUBMIT_CHANGESET_URL','YUUMI_RATE_OVER_LIMIT','baseRev','_parse','SOCKET_FAILED_RETRY','_startTelemetryCollaborationNewChangeset','_mode','leaveEvent','wsSessionTicketUrl','INVALID_ARGUMENT','state$','DEFAULT_FILE_NAME','entries','_map','21LrrHPg','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ENSURE_SNAPSHOT_EXECUTION','ERROR_IMAGE_TYPE','_injector','_getCurrentRevision','getUnitStatus$','onRemoteAck','IDLE','loadDoc','HELLO','prototype','_getSignURL','_DEC_XFORM_MODE','BlockCipher','onTransformSelections','getUnitType','_shouldReportTelemetry','reject','getConfig','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_checkMissing','session.room-cnt-exceeds','FAIL','call','isArray','complete','onRemoteRetry','People','YUUMI_SUBSCRIPTION_NOT_FOUND','USERS_LEAVE','byteLength','_awaitingChangeset','connection\x20error','close','__creator','LIVESHARE_NEW_HOST','103112PYwkKF','PERMISSION_DENIED','fetchMissingChangesets','Malformed\x20UTF-8\x20data','toggleOffline','_clearTimeoutTimer','_iKey','_resendTimer','unknown','workbook','image/jpeg','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_change$','charCodeAt','registerHTTPInterceptor','_onOffline','_ENC_XFORM_MODE','ONLINE','method','encryptBlock','fromCharCode','JOIN_ROOM_PERMISSION_DENIED','_acknowledgedAwaitingChangeset','refreshPermission','symbol','SerializableCipher','getValue','_instanceService','finalize','_applyRemoteChangeset','_revisionService','getCurrentSelections','words','_resendWithTimeout','_unitInfo$','random','getUnit','lib','HEARTBEAT','values','[CollaborationSessionService]:\x20socket\x20error','UNAUTHENTICATED','onStarting','_userManagerService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','appendMutation','update','list','collaborators','collaboration_new_changeset','_reverseMap','sheets','_clearUndo','_iv','default','resourceIDs','_members$','LICENSE_DISTRO_REJECTED','listCollaborators','not_collab','HttpExport','iterations','/universer-api/snapshot','291654nMpHTk','objectID','\x20-\x20','_telemetryInfo','disposeWithMe','removeMember','action','UNIVER_DOC','_onRemoteRetry','createEncryptor','_permissionService','SUBMIT_CHANGESET','_getAPIPrefix','enableSingleActiveInstanceLock','_configService','TOO_MANY_REQUESTS','_httpService','/unit/','x-univer-host','compute','_onRecvEvent','change$','LICENSE_IMPORT_SIZE_EXCEEDED','parse','updatePermissionPoint','_createInitialState','_logService','_entityInit$','onTransformState','startTime','collabWebSocketUrl','COMPLETION_FINISHED','getActiveSheet','join','getTypeOfUnitDisposed$','getRoom','transformSelections','catch','collaboration-client.local-cache-service','uploadFileServerUrl','Decryptor','cmd','responseType','APPLY_REVISION_CONFILICT','snapshotServerUrl','_transformRemoteChangesetByStateCache','getCurrentRevOfUnit','unitId\x20is\x20not\x20found','_onConnectionOpen','next','_sendingTimer','duration','_clearScheduledTask','EvpKDF','processBlock','deepClone','[CollaborationUndoRedoService]','focused$','session.room-not-exists','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','CONNECTOR_DATA_TOO_LARGE'];_0x2110=function(){return _0x14c38b;};return _0x2110();}var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x4f6d7b=_0xebfca7;return hi||(hi=0x1,function(_0x3bcdd8,_0x4907fb){(function(_0x3e6aad,_0xeb4b02,_0x23b036){var _0x422a8d=_0x1328;_0x3bcdd8[_0x422a8d(0x123)]=_0xeb4b02(ne(),Ai());}(is,function(_0x25208e){var _0x316397=_0x1328;return _0x25208e[_0x316397(0xf7)][_0x316397(0x37d)]={'pad':function(){},'unpad':function(){}},_0x25208e[_0x316397(0xf7)][_0x316397(0x37d)];}));}(Qe)),Qe[_0x4f6d7b(0x123)];}var rs=ns();const ss=ke(rs);function os(_0xf39aeb,_0x666557){var _0x187af5=_0xebfca7;const _0x2db698=_0x666557-_0xf39aeb[_0x187af5(0x124)]%_0x666557,_0x156a7b=String['fromCharCode'](_0x2db698)[_0x187af5(0x31b)](_0x2db698);return _0xf39aeb+_0x156a7b;}function as(_0x2a8162,_0x12999a){var _0x13ed73=_0xebfca7;const _0x470ebc=ts['random'](0x10),_0x3deb3b=os(_0x2a8162,0x10),_0x118056=Kr[_0x13ed73(0x102)](Xr[_0x13ed73(0x23d)](_0x3deb3b),oi['parse'](_0x12999a),{'iv':_0x470ebc,'padding':ss});return _0x470ebc[_0x13ed73(0x267)](_0x118056[_0x13ed73(0x27c)])[_0x13ed73(0x153)](oi);}function cs(){var _0x44cb57=_0xebfca7;const _0x4d52e6=_0x291c9f()[_0x44cb57(0x109)];if(_0x4d52e6){const _0x87ba8a={'time':Math[_0x44cb57(0xdc)](Date['now']()/0x3e8),'domain':location['hostname']};return as(JSON[_0x44cb57(0x357)](_0x87ba8a),_0x4d52e6);}}var hs=Object['defineProperty'],_s=Object[_0xebfca7(0x298)],ls=(_0x2bb30d,_0x3550a5,_0x3fed0b,_0x4fec33)=>{var _0x2de111=_0xebfca7;for(var _0x100e6c=_0x4fec33>0x1?void 0x0:_0x4fec33?_s(_0x3550a5,_0x3fed0b):_0x3550a5,_0x158b22=_0x2bb30d[_0x2de111(0x124)]-0x1,_0x433c1b;_0x158b22>=0x0;_0x158b22--)(_0x433c1b=_0x2bb30d[_0x158b22])&&(_0x100e6c=(_0x4fec33?_0x433c1b(_0x3550a5,_0x3fed0b,_0x100e6c):_0x433c1b(_0x100e6c))||_0x100e6c);return _0x4fec33&&_0x100e6c&&hs(_0x3550a5,_0x3fed0b,_0x100e6c),_0x100e6c;},us=(_0xc3a0c3,_0x5b1880)=>(_0x411e79,_0x1508da)=>_0x5b1880(_0x411e79,_0x1508da,_0xc3a0c3);let ot=class{constructor(_0x326330){var _0x14f9fe=_0xebfca7;this['_httpService']=_0x326330,this[_0x14f9fe(0x150)]();}['_initRequestHeader'](){var _0x21432c=_0xebfca7;this[_0x21432c(0x236)]['registerHTTPInterceptor']({'interceptor':(_0xaa542e,_0x4b859c)=>{var _0x5b75b4=_0x21432c;const _0x46223b=_0xaa542e[_0x5b75b4(0x340)],_0x5d1040=cs();return _0x5d1040&&_0x46223b['set'](_0x5b75b4(0x238),_0x5d1040),_0x4b859c(_0xaa542e);}});}};ot=ls([us(0x0,_0x350f87(_0x2db2ac))],ot);var ds=Object['defineProperty'],fs=Object[_0xebfca7(0x298)],vs=(_0x223e5d,_0x2bba83,_0x5c4787,_0x18abfc)=>{var _0x5cef93=_0xebfca7;for(var _0x4400a8=_0x18abfc>0x1?void 0x0:_0x18abfc?fs(_0x2bba83,_0x5c4787):_0x2bba83,_0x11672b=_0x223e5d[_0x5cef93(0x124)]-0x1,_0x52755d;_0x11672b>=0x0;_0x11672b--)(_0x52755d=_0x223e5d[_0x11672b])&&(_0x4400a8=(_0x18abfc?_0x52755d(_0x2bba83,_0x5c4787,_0x4400a8):_0x52755d(_0x4400a8))||_0x4400a8);return _0x18abfc&&_0x4400a8&&ds(_0x2bba83,_0x5c4787,_0x4400a8),_0x4400a8;},mt=(_0x497c88,_0x5348b0)=>(_0xab172e,_0x333acc)=>_0x5348b0(_0xab172e,_0x333acc,_0x497c88);let Ot=class extends _0x42ad43{constructor(_0x12b203,_0x597c8d,_0x25a62e){var _0xebccc9=_0xebfca7;super(),N(this,_0xebccc9(0x209),new _0x4a19f3(null)),N(this,_0xebccc9(0xbb),this['_unitInfo$'][_0xebccc9(0x152)]()),(this[_0xebccc9(0x240)]=_0x12b203,this[_0xebccc9(0x294)]=_0x597c8d,this[_0xebccc9(0x118)]=_0x25a62e);}async['loadUnit'](_0x6e7368,_0x4e731f,_0x39f425){var _0x266d32=_0xebfca7;this[_0x266d32(0x209)][_0x266d32(0x257)]({'unitId':_0x6e7368,'type':_0x4e731f,'subUnitId':_0x39f425});let _0x501106=null;switch(_0x4e731f){case Q[_0x266d32(0x18a)]:{_0x501106=await this[_0x266d32(0xd7)](_0x6e7368);break;}case Q[_0x266d32(0x22d)]:{_0x501106=await this[_0x266d32(0x122)](_0x6e7368);break;}default:{this['_logService'][_0x266d32(0x2f8)](_0x266d32(0x1b3),_0x266d32(0x155));break;}}return _0x501106;}async[_0xebfca7(0xd7)](_0x57994e){var _0x373747=_0xebfca7,_0x1f4493;let _0x53ade6=0x0;const _0x1d2d8c=await((_0x1f4493=this['_localCacheService'])==null?void 0x0:_0x1f4493[_0x373747(0x9a)](_0x57994e));return _0x1d2d8c&&(_0x1d2d8c['awaitingChangeset']||_0x1d2d8c[_0x373747(0x148)][_0x373747(0x124)]!==0x0)&&(_0x53ade6=_0x1d2d8c[_0x373747(0x2be)]),_0x53ade6===0x0&&this['_logService'][_0x373747(0x10b)](_0x373747(0x1b3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x373747(0x294)]['loadSheet'](_0x57994e,_0x53ade6);}async[_0xebfca7(0x122)](_0x134d53){var _0x37bffd=_0xebfca7,_0x480fa8;let _0x27b1bd=0x0;const _0x3dc0ae=await((_0x480fa8=this[_0x37bffd(0x118)])==null?void 0x0:_0x480fa8[_0x37bffd(0x9a)](_0x134d53));return _0x3dc0ae&&(_0x3dc0ae[_0x37bffd(0x8a)]||_0x3dc0ae[_0x37bffd(0x148)]['length']!==0x0)&&(_0x27b1bd=_0x3dc0ae['rev']),_0x27b1bd===0x0&&this[_0x37bffd(0x240)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x37bffd(0x294)][_0x37bffd(0x1cb)](_0x134d53,_0x27b1bd);}};Ot=vs([mt(0x0,_0x39281b),mt(0x1,_0x350f87(_0x45cdcb)),mt(0x2,_0x461ea6(J))],Ot);var ps=Object[_0xebfca7(0xda)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x3edc66,_0x294a14,_0x21d45e,_0x283429)=>{var _0x141a91=_0xebfca7;for(var _0x73e8bb=_0x283429>0x1?void 0x0:_0x283429?ms(_0x294a14,_0x21d45e):_0x294a14,_0x20325d=_0x3edc66[_0x141a91(0x124)]-0x1,_0x5642cf;_0x20325d>=0x0;_0x20325d--)(_0x5642cf=_0x3edc66[_0x20325d])&&(_0x73e8bb=(_0x283429?_0x5642cf(_0x294a14,_0x21d45e,_0x73e8bb):_0x5642cf(_0x73e8bb))||_0x73e8bb);return _0x283429&&_0x73e8bb&&ps(_0x294a14,_0x21d45e,_0x73e8bb),_0x73e8bb;},gt=(_0x7e7dc7,_0x40b905)=>(_0x5ae9a5,_0x417f8e)=>_0x40b905(_0x5ae9a5,_0x417f8e,_0x7e7dc7);const Ss=[_0xebfca7(0x28d),_0xebfca7(0x1f1),'image/jpg',_0xebfca7(0x34e),_0xebfca7(0x105)],Es=0x5*0x400*0x400,Is=_0xebfca7(0x1f2),Ts=_0xebfca7(0x110),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0xebfca7(0x26d);let yt=class{constructor(_0x3578fe,_0xb9bbf6,_0x4607e1){var _0x3bbe54=_0xebfca7;N(this,_0x3bbe54(0x2b9),0x0),N(this,_0x3bbe54(0x1f3),new _0x34e3bd()),N(this,_0x3bbe54(0x23b),this[_0x3bbe54(0x1f3)]),N(this,_0x3bbe54(0x189),new Map()),(this[_0x3bbe54(0x236)]=_0x3578fe,this[_0x3bbe54(0x234)]=_0xb9bbf6,this[_0x3bbe54(0x173)]=_0x4607e1);}[_0xebfca7(0x113)](_0x1282e4){var _0x594888=_0xebfca7;this[_0x594888(0x2b9)]=_0x1282e4,this[_0x594888(0x1f3)][_0x594888(0x257)](_0x1282e4);}[_0xebfca7(0xfe)](_0x8f39ce,_0x2313ae){var _0x3fd0dc=_0xebfca7;if(_0x2313ae===_0x1489cc['BASE64']){const _0x2afaa7=new Image();return _0x2afaa7[_0x3fd0dc(0xf5)]=_0x8f39ce,_0x2afaa7;}return this[_0x3fd0dc(0x189)][_0x3fd0dc(0x308)](_0x8f39ce);}[_0xebfca7(0x2ce)](_0x4a632b,_0x4271c2,_0x29d1e6){var _0xb6974f=_0xebfca7;_0x4271c2===_0x1489cc[_0xb6974f(0x2d2)]||_0x29d1e6==null||this[_0xb6974f(0x189)][_0xb6974f(0x180)](_0x4a632b,_0x29d1e6);}async['getImage'](_0x2fbc02){var _0x55e669=_0xebfca7;try{const _0x42d825=this['_replaceFileID'](this[_0x55e669(0x1ce)](),''+_0x2fbc02),_0x331f9c=(await this[_0x55e669(0x236)][_0x55e669(0x308)](_0x42d825))['body'];if(_0x331f9c['error']&&_0x331f9c[_0x55e669(0x2f8)][_0x55e669(0xd1)]===Ii['OK']){const _0x1c4aef=new URL(_0x331f9c[_0x55e669(0x319)],this[_0x55e669(0xd9)]())[_0x55e669(0x153)]();return Promise['resolve'](_0x1c4aef);}return Promise[_0x55e669(0x1d4)](_0x331f9c[_0x55e669(0x2f8)]);}catch(_0xaa0b3a){return Promise[_0x55e669(0x1d4)](_0xaa0b3a);}}async[_0xebfca7(0x115)](_0x71fa4b){var _0x4edcbd=_0xebfca7;let _0x5ac812='';if(!Ss[_0x4edcbd(0xfa)](_0x71fa4b['type']))return this[_0x4edcbd(0x381)](),Promise['reject'](new Error(_0x282861[_0x4edcbd(0x1c5)]));if(_0x71fa4b[_0x4edcbd(0x35d)]>Es)return this[_0x4edcbd(0x381)](),Promise['reject'](new Error(_0x282861[_0x4edcbd(0xf1)]));try{const _0x129323=new FormData();_0x129323[_0x4edcbd(0x2ef)]('file',_0x71fa4b);const _0x372fa4=this['_univerInstanceService'][_0x4edcbd(0x31f)](),_0x118175=_0x372fa4==null?void 0x0:_0x372fa4['getUnitId']();if(!_0x118175)throw new Error(_0x4edcbd(0x255));const _0x12a32a=this[_0x4edcbd(0xe0)]()+_0x4edcbd(0x2b7)+_0x71fa4b[_0x4edcbd(0x35d)][_0x4edcbd(0x153)]()+_0x4edcbd(0x17d)+Ti[_0x4edcbd(0x29c)]+_0x4edcbd(0x29b)+encodeURIComponent(_0x118175),_0x380b3d=await(await fetch(_0x12a32a,{'method':_0x4edcbd(0x32a),'body':_0x129323}))['json']();if(typeof _0x380b3d[_0x4edcbd(0x2f3)]!=_0x4edcbd(0x370))return this[_0x4edcbd(0x381)](),Promise[_0x4edcbd(0x1d4)](new Error(_0x282861[_0x4edcbd(0x2c5)]));_0x5ac812=_0x380b3d[_0x4edcbd(0x2f3)];}catch{return this[_0x4edcbd(0x381)](),Promise['reject'](new Error(_0x282861[_0x4edcbd(0x2c5)]));}return new Promise((_0x9c3f1f,_0x414da8)=>{var _0x356cb8=_0x4edcbd;const _0x2fdccd=new FileReader();_0x2fdccd['readAsDataURL'](_0x71fa4b),_0x2fdccd[_0x356cb8(0xf8)]=_0x31664f=>{var _0x3e737e=_0x356cb8,_0x4a6775;const _0x480dca=(_0x4a6775=_0x31664f['target'])==null?void 0x0:_0x4a6775[_0x3e737e(0x2aa)];if(_0x480dca==null){this[_0x3e737e(0x381)](),_0x414da8(new Error(_0x282861['ERROR_IMAGE']));return;}const _0x2b700f=_0x4ce8aa[_0x3e737e(0xf0)](0x6);_0x9c3f1f({'imageId':_0x2b700f,'imageSourceType':_0x1489cc[_0x3e737e(0xd8)],'source':_0x5ac812,'base64Cache':_0x480dca,'status':_0x282861[_0x3e737e(0x97)]}),this[_0x3e737e(0x381)]();};});}['_getUploadFileURL'](){var _0x5ce3e5=_0xebfca7,_0x37080e,_0x2b3528;const _0x31b05a=this[_0x5ce3e5(0x234)][_0x5ce3e5(0x1d5)](Is),_0x48f80c=this[_0x5ce3e5(0x234)]['getConfig'](q);return(_0x2b3528=(_0x37080e=_0x48f80c==null?void 0x0:_0x48f80c[_0x5ce3e5(0x24d)])!=null?_0x37080e:_0x31b05a)!=null?_0x2b3528:Ts;}[_0xebfca7(0x1ce)](){var _0x25c2b2=_0xebfca7,_0x1c3485,_0x421c01;const _0x54298e=this[_0x25c2b2(0x234)][_0x25c2b2(0x1d5)](Cs),_0x14ea10=this[_0x25c2b2(0x234)]['getConfig'](q);return(_0x421c01=(_0x1c3485=_0x14ea10==null?void 0x0:_0x14ea10['signUrlServerUrl'])!=null?_0x1c3485:_0x54298e)!=null?_0x421c01:Rs;}[_0xebfca7(0xd9)](){var _0x9d31e2=_0xebfca7,_0xe0a314;const _0x5a6045=this[_0x9d31e2(0x234)][_0x9d31e2(0x1d5)](q);return(_0xe0a314=_0x5a6045==null?void 0x0:_0x5a6045[_0x9d31e2(0x13a)])!=null?_0xe0a314:location[_0x9d31e2(0xd0)];}['_replaceFileID'](_0x367d32,_0x16d6a9){var _0x13ac4e=_0xebfca7;return _0x367d32['replace'](_0x13ac4e(0x34b),_0x16d6a9);}['_decreaseWaiting'](){var _0x21030d=_0xebfca7;this['_waitCount']-=0x1,this['_change$'][_0x21030d(0x257)](this[_0x21030d(0x2b9)]);}};yt=gs([gt(0x0,_0x350f87(_0x2db2ac)),gt(0x1,_0x3e9aa3),gt(0x2,_0x350f87(_0x47607b))],yt);var bs=Object[_0xebfca7(0xda)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x2bb822,_0x1f6653,_0x330296,_0x3d49d5)=>{for(var _0x355492=_0x3d49d5>0x1?void 0x0:_0x3d49d5?Os(_0x1f6653,_0x330296):_0x1f6653,_0x42ae78=_0x2bb822['length']-0x1,_0x545e12;_0x42ae78>=0x0;_0x42ae78--)(_0x545e12=_0x2bb822[_0x42ae78])&&(_0x355492=(_0x3d49d5?_0x545e12(_0x1f6653,_0x330296,_0x355492):_0x545e12(_0x355492))||_0x355492);return _0x3d49d5&&_0x355492&&bs(_0x1f6653,_0x330296,_0x355492),_0x355492;},_i=(_0x3cf5ca,_0x5a1b89)=>(_0x806ab3,_0x39fffd)=>_0x5a1b89(_0x806ab3,_0x39fffd,_0x3cf5ca);const Ns=_0xebfca7(0x2eb);let Nt=class{constructor(_0x4200c8,_0x18947d){var _0xb50280=_0xebfca7;this[_0xb50280(0x234)]=_0x4200c8,this[_0xb50280(0x94)]=_0x18947d;}[_0xebfca7(0x28f)](){var _0x3541b7=_0xebfca7,_0x4c5a36,_0x495a48;const _0x1f7850=this['_configService']['getConfig'](Pi),_0xa7acf9=this[_0x3541b7(0x234)]['getConfig'](q);return(_0x495a48=(_0x4c5a36=_0xa7acf9==null?void 0x0:_0xa7acf9['authzUrl'])!=null?_0x4c5a36:_0x1f7850)!=null?_0x495a48:Ns;}async['list'](_0x19671e){var _0x256839=_0xebfca7;const _0x30ee22=this['_getAPIPrefixPath']()+_0x256839(0x2e1);return{'list':[{'title':_0x256839(0x1de),'mentions':(await this[_0x256839(0x94)][_0x256839(0x308)](_0x30ee22,{'params':{'objectID':_0x19671e[_0x256839(0x34d)],'unitID':_0x19671e[_0x256839(0x34d)]}}))[_0x256839(0x310)][_0x256839(0x217)]['map'](_0x5df5c6=>({'objectId':_0x5df5c6['id'],'name':_0x5df5c6[_0x256839(0xe9)][_0x256839(0x2b8)],'metadata':{'icon':_0x5df5c6[_0x256839(0xe9)]['avatar']},'label':_0x5df5c6[_0x256839(0xe9)][_0x256839(0x2b8)],'objectType':_0x377f04['PERSON']})),'metadata':{},'type':_0x377f04['PERSON']}]};}};Nt=ys([_i(0x0,_0x350f87(_0x3e9aa3)),_i(0x1,_0x350f87(_0x2db2ac))],Nt);var Ds=Object[_0xebfca7(0xda)],Ps=Object[_0xebfca7(0x298)],ws=(_0x10dffd,_0x2c3fbc,_0x47fd2c,_0x5ad4fa)=>{for(var _0x4657ca=_0x5ad4fa>0x1?void 0x0:_0x5ad4fa?Ps(_0x2c3fbc,_0x47fd2c):_0x2c3fbc,_0x3c5e88=_0x10dffd['length']-0x1,_0x4a6746;_0x3c5e88>=0x0;_0x3c5e88--)(_0x4a6746=_0x10dffd[_0x3c5e88])&&(_0x4657ca=(_0x5ad4fa?_0x4a6746(_0x2c3fbc,_0x47fd2c,_0x4657ca):_0x4a6746(_0x4657ca))||_0x4657ca);return _0x5ad4fa&&_0x4657ca&&Ds(_0x2c3fbc,_0x47fd2c,_0x4657ca),_0x4657ca;},Se=(_0x56dbdf,_0x1c793d)=>(_0x51b6c4,_0x57fd44)=>_0x1c793d(_0x51b6c4,_0x57fd44,_0x56dbdf);let at=class extends _0x42ad43{constructor(_0x3c844f,_0x1e2eb6,_0x2db216,_0xb2d5b3,_0x4aa5ac,_0x117d9c,_0x4b514a){var _0x4219df=_0xebfca7;super(),this[_0x4219df(0x1c6)]=_0x3c844f,this[_0x4219df(0x173)]=_0x1e2eb6,this[_0x4219df(0x230)]=_0x2db216,this['_collaborationSessionService']=_0xb2d5b3,this['_collaborationUIEventService']=_0x4aa5ac,this['_authzIoService']=_0x117d9c,this[_0x4219df(0xfc)]=_0x4b514a,this[_0x4219df(0xae)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x389857=_0xebfca7;const _0x589b2d=async _0x30f08f=>{var _0x3be37f=_0x1328;(await this[_0x3be37f(0x358)]['requireSession'](_0x30f08f))['event$'][_0x3be37f(0x324)](_0x57ecda(_0x4ba9d2=>_0x4ba9d2['eventID']===_0x3aa22a[_0x3be37f(0x270)]),_0x22c703(this[_0x3be37f(0x299)]))[_0x3be37f(0x154)](_0x40c8ee=>{var _0x70c880=_0x3be37f;const _0x2f6ea9=_0x40c8ee,{reason:_0x34cf78}=_0x2f6ea9['data'];this['_collaborationUIEventService'][_0x70c880(0x36a)]({'id':se[_0x70c880(0x175)],'data':_0x34cf78}),this[_0x70c880(0x230)][_0x70c880(0x23e)](new _0x1a2393(_0x30f08f)['id'],!0x1),this[_0x70c880(0x358)][_0x70c880(0x35f)](_0x30f08f);});};_0x1345a8(this[_0x389857(0x173)][_0x389857(0x2f5)](_0x47927c[_0x389857(0x18a)]),this[_0x389857(0x173)]['getTypeOfUnitAdded$'](_0x47927c[_0x389857(0x22d)]))[_0x389857(0x324)](_0x5522f1(_0x301d7e=>_0x301d7e['getUnitId']()),_0x57ecda(_0x5acb12=>!_0x506283(_0x5acb12)),_0x22c703(this[_0x389857(0x299)]))[_0x389857(0x154)](_0xd4f02c=>{_0x589b2d(_0xd4f02c);});}[_0xebfca7(0xae)](){var _0x44caf0=_0xebfca7;const _0x339660=async _0x118b1f=>{var _0x44720e=_0x1328;const _0xf8fba0=await this[_0x44720e(0x358)][_0x44720e(0x98)](_0x118b1f),_0x306401=this[_0x44720e(0x1c6)][_0x44720e(0x308)](_0x18e5b3);_0xf8fba0[_0x44720e(0x2c1)][_0x44720e(0x324)](_0x57ecda(_0x28af82=>_0x28af82[_0x44720e(0x2dc)]===_0x3aa22a[_0x44720e(0x30c)]),_0x22c703(this['dispose$']))[_0x44720e(0x154)](_0x1951eb=>{var _0x15a330=_0x44720e;const _0x30e9f4=_0x1951eb,{objectId:_0x404061}=_0x30e9f4[_0x15a330(0xc2)];_0x404061===_0x118b1f?_0x306401['initWorkbookPermissionChange'](_0x118b1f):_0x306401[_0x15a330(0x1fe)](_0x118b1f,_0x404061);});};_0x1345a8(this[_0x44caf0(0x173)][_0x44caf0(0x2f5)](_0x47927c['UNIVER_SHEET']),this[_0x44caf0(0x173)]['getTypeOfUnitAdded$'](_0x47927c['UNIVER_DOC']))[_0x44caf0(0x324)](_0x5522f1(_0x252bb9=>_0x252bb9[_0x44caf0(0x266)]()),_0x57ecda(_0x18106c=>!_0x506283(_0x18106c)),_0x22c703(this[_0x44caf0(0x299)]))[_0x44caf0(0x154)](_0x1e1bc0=>{_0x339660(_0x1e1bc0);});}};at=ws([Se(0x0,_0x350f87(_0x3e288c)),Se(0x1,_0x47607b),Se(0x2,_0x35f2aa),Se(0x3,_0x350f87(Le)),Se(0x4,_0x350f87(pe)),Se(0x5,_0x5ac997),Se(0x6,_0x4f45a5)],at);var Us=Object[_0xebfca7(0xda)],As=Object[_0xebfca7(0x298)],xs=(_0x1b7b9d,_0x4e5171,_0x2be2e8,_0x471163)=>{for(var _0x4169aa=_0x471163>0x1?void 0x0:_0x471163?As(_0x4e5171,_0x2be2e8):_0x4e5171,_0x4af377=_0x1b7b9d['length']-0x1,_0x5ba87a;_0x4af377>=0x0;_0x4af377--)(_0x5ba87a=_0x1b7b9d[_0x4af377])&&(_0x4169aa=(_0x471163?_0x5ba87a(_0x4e5171,_0x2be2e8,_0x4169aa):_0x5ba87a(_0x4169aa))||_0x4169aa);return _0x471163&&_0x4169aa&&Us(_0x4e5171,_0x2be2e8,_0x4169aa),_0x4169aa;},li=(_0x10019c,_0x44f170)=>(_0x25c136,_0x384c78)=>_0x44f170(_0x25c136,_0x384c78,_0x10019c);let Dt=class{constructor(_0x5d7056,_0x53d7de){this['_configService']=_0x5d7056,this['_httpService']=_0x53d7de;}async['getUnitOnRev'](_0x1195a4,_0x3354e5){var _0x194f1a=_0xebfca7,_0x3a4582;const {unitID:_0x4fe6df,type:_0x374a7e,revision:_0x25b02c=0x0}=_0x3354e5,_0x374db2=this[_0x194f1a(0x117)]()+'/'+_0x374a7e+_0x194f1a(0x237)+_0x4fe6df+_0x194f1a(0x375)+_0x25b02c,_0x465ff3=(await this['_httpService'][_0x194f1a(0x308)](_0x374db2))[_0x194f1a(0x310)],_0x4e260f=(_0x3a4582=_0x465ff3['snapshot'])==null?void 0x0:_0x3a4582[_0x194f1a(0x1f0)];if(_0x4e260f){const _0x388299=_0x4e260f==null?void 0x0:_0x4e260f[_0x194f1a(0x2e6)],_0x27695e=_0x4437b3[_0x194f1a(0x33d)](_0x307b45(_0x388299));_0x4e260f[_0x194f1a(0x2e6)]=_0x27695e,Object[_0x194f1a(0x1c0)](_0x4e260f[_0x194f1a(0x21a)])[_0x194f1a(0x2df)](([,_0xc062e9])=>{var _0x5506b6=_0x194f1a;const _0x347700=_0xc062e9['originalMeta'],_0xf92afa=_0x4437b3[_0x5506b6(0x33d)](_0x307b45(_0x347700));_0xc062e9[_0x5506b6(0x2e6)]=_0xf92afa;});}return _0x465ff3;}async[_0xebfca7(0x2d8)](_0x2d7dd7,_0x1ff072){var _0x2127c2=_0xebfca7;const {unitID:_0x107933,type:_0x192dec,blockID:_0x4a06da}=_0x1ff072,_0x54516f=this[_0x2127c2(0x232)]()+'/'+_0x192dec+_0x2127c2(0x237)+_0x107933+_0x2127c2(0x92)+_0x4a06da;return(await this[_0x2127c2(0x236)][_0x2127c2(0x308)](_0x54516f))[_0x2127c2(0x310)];}async[_0xebfca7(0x313)](_0x50e5c6,_0x4920c4){var _0x2bfde0=_0xebfca7;const {unitID:_0x569096,type:_0x5b44e8,blockID:_0xa4bbc6}=_0x4920c4,_0x290fb9=this[_0x2bfde0(0x232)]()+'/block/'+_0x5b44e8+_0x2bfde0(0x237)+_0x569096+_0x2bfde0(0x92)+_0xa4bbc6;return(await this[_0x2bfde0(0x236)]['get'](_0x290fb9))['body'];}async[_0xebfca7(0x1e9)](_0x7b7356,_0x437476){var _0x52afc8=_0xebfca7;const {unitID:_0x570459,type:_0x3cc141,from:_0x3caf42,to:_0x562bcc}=_0x437476,_0x505877=this['_getAPIPrefix']()+'/'+_0x3cc141+_0x52afc8(0x237)+_0x570459+_0x52afc8(0x36e)+_0x3caf42+_0x52afc8(0x2c6)+_0x562bcc;return(await this['_httpService'][_0x52afc8(0x308)](_0x505877))['body'];}[_0xebfca7(0x117)](){var _0x524f61=_0xebfca7,_0x4f3f42;return(_0x4f3f42=this[_0x524f61(0x234)][_0x524f61(0x1d5)](Tn))!=null?_0x4f3f42:this[_0x524f61(0x232)]();}['_getAPIPrefix'](){var _0x4acedb=_0xebfca7,_0x2b1c68,_0x5a87fe;const _0x4be0b0=this['_configService'][_0x4acedb(0x1d5)](En),_0x5a14d0=this[_0x4acedb(0x234)][_0x4acedb(0x1d5)](q);return(_0x5a87fe=(_0x2b1c68=_0x5a14d0==null?void 0x0:_0x5a14d0[_0x4acedb(0x252)])!=null?_0x2b1c68:_0x4be0b0)!=null?_0x5a87fe:In;}async[_0xebfca7(0x141)](_0x2e82e3,_0x1681b8){var _0x815c89=_0xebfca7;const _0x30be26='/universer-api/snapshot/'+_0x1681b8['type']+'/unit/'+_0x1681b8[_0x815c89(0x37e)]+_0x815c89(0x2a4);return(await this[_0x815c89(0x236)][_0x815c89(0x308)](_0x30be26,{'params':{'resourceId':JSON[_0x815c89(0x357)](_0x1681b8[_0x815c89(0x21e)])}}))[_0x815c89(0x310)];}[_0xebfca7(0xaa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x3b0071=_0xebfca7;throw new Error(_0x3b0071(0x30f));}[_0xebfca7(0x30d)](){var _0x5e9d10=_0xebfca7;throw new Error(_0x5e9d10(0x30f));}['copyFileMeta'](){var _0x137380=_0xebfca7;throw new Error(_0x137380(0x30f));}[_0xebfca7(0x300)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x3e9aa3),li(0x1,_0x350f87(_0x2db2ac))],Dt);var Ls=Object[_0xebfca7(0xda)],Ms=Object[_0xebfca7(0x298)],$s=(_0x45cdea,_0xf6b642,_0x26c1f1,_0x525b41)=>{for(var _0x44720b=_0x525b41>0x1?void 0x0:_0x525b41?Ms(_0xf6b642,_0x26c1f1):_0xf6b642,_0x12f174=_0x45cdea['length']-0x1,_0xce033c;_0x12f174>=0x0;_0x12f174--)(_0xce033c=_0x45cdea[_0x12f174])&&(_0x44720b=(_0x525b41?_0xce033c(_0xf6b642,_0x26c1f1,_0x44720b):_0xce033c(_0x44720b))||_0x44720b);return _0x525b41&&_0x44720b&&Ls(_0xf6b642,_0x26c1f1,_0x44720b),_0x44720b;},Ae=(_0x26abd4,_0x475af8)=>(_0x59300d,_0x4e0a2e)=>_0x475af8(_0x59300d,_0x4e0a2e,_0x26abd4);let Pt=class extends _0x3d3125{constructor(_0x38c3d0,_0x13ae3e,_0x1f35c5,_0x5a2a51,_0x386096){var _0x4194c9=_0xebfca7;super(_0x38c3d0,_0x13ae3e,_0x1f35c5),this[_0x4194c9(0x111)]=_0x5a2a51,this[_0x4194c9(0x240)]=_0x386096;}[_0xebfca7(0x2af)](_0xa0b795,_0x20bb37){var _0x517725=_0xebfca7;const _0x881a93=this[_0x517725(0x28c)](_0xa0b795);if(_0x881a93)try{const _0x478212=this['_transformStack'](_0x881a93,_0x20bb37);this[_0x517725(0x8b)](_0xa0b795,_0x478212);}catch(_0x189580){this[_0x517725(0x240)][_0x517725(0x2f8)]('[CollaborationUndoRedoService]',_0x189580),this[_0x517725(0x21b)](_0xa0b795);}const _0xb1b79d=this[_0x517725(0x2c8)](_0xa0b795);if(_0xb1b79d)try{const _0xa3ea49=this[_0x517725(0x32d)](_0xb1b79d,_0x20bb37);this[_0x517725(0x1a2)](_0xa0b795,_0xa3ea49);}catch(_0x5253f0){this[_0x517725(0x240)][_0x517725(0x2f8)](_0x5253f0),this[_0x517725(0x32c)](_0xa0b795);}}[_0xebfca7(0x21b)](_0x1163c1){var _0x45796e=_0xebfca7;const _0x47564b=this[_0x45796e(0x28c)](_0x1163c1);_0x47564b&&(_0x47564b[_0x45796e(0x124)]=0x0,this['_updateStatus']());}[_0xebfca7(0x32c)](_0x5c1dbf){var _0x498914=_0xebfca7;const _0x5174b2=this[_0x498914(0x2c8)](_0x5c1dbf);_0x5174b2&&(_0x5174b2[_0x498914(0x124)]=0x0,this[_0x498914(0x106)]());}[_0xebfca7(0x8b)](_0x2d4787,_0x323b0a){var _0x356bd0=_0xebfca7;this['_undoStacks'][_0x356bd0(0x180)](_0x2d4787,_0x323b0a),this['_updateStatus']();}[_0xebfca7(0x1a2)](_0x5b1f7f,_0x48783c){var _0x2916fd=_0xebfca7;this[_0x2916fd(0xb1)][_0x2916fd(0x180)](_0x5b1f7f,_0x48783c),this[_0x2916fd(0x106)]();}[_0xebfca7(0x32d)](_0x24dd2e,_0xa93e55){var _0x36d6fb=_0xebfca7;const _0x2b2f88=[];let _0x7e5c57=_0xa93e55,_0x1a8b40=_0xa93e55;for(let _0x4d71f0=_0x24dd2e[_0x36d6fb(0x124)]-0x1;_0x4d71f0>=0x0;_0x4d71f0--){const {unitID:_0x19e6aa,undoMutations:_0x270131,redoMutations:_0x1e3813}=_0x24dd2e[_0x4d71f0],_0x4cb4b1=this['_transformService'][_0x36d6fb(0x128)](_0x7e5c57,_0x270131),_0x3f6a36=this[_0x36d6fb(0x111)][_0x36d6fb(0x128)](_0x1a8b40,_0x1e3813);if(_0x165260(_0x4cb4b1)||_0x165260(_0x3f6a36)){this[_0x36d6fb(0x240)][_0x36d6fb(0x2f8)](_0x36d6fb(0x25e),'transformStack\x20failed!',_0x4cb4b1,_0x3f6a36);break;}_0x7e5c57=_0x4cb4b1[_0x36d6fb(0xe6)],_0x1a8b40=_0x3f6a36[_0x36d6fb(0xe6)],_0x2b2f88[_0x36d6fb(0xca)]({'unitID':_0x19e6aa,'undoMutations':_0x4cb4b1[_0x36d6fb(0x343)],'redoMutations':_0x3f6a36['m2Prime']});}return _0x2b2f88[_0x36d6fb(0xdf)]();}};Pt=$s([Ae(0x0,_0x47607b),Ae(0x1,_0x5f3828),Ae(0x2,_0x2b56cd),Ae(0x3,_0x248c0d),Ae(0x4,_0x39281b)],Pt);var xi=Object[_0xebfca7(0xda)],Hs=Object[_0xebfca7(0x298)],ks=(_0x117ca2,_0x18689d,_0x501741)=>_0x18689d in _0x117ca2?xi(_0x117ca2,_0x18689d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x501741}):_0x117ca2[_0x18689d]=_0x501741,js=(_0x2276e3,_0x39c20f,_0x5ddf8b,_0x5effb1)=>{var _0x523833=_0xebfca7;for(var _0x15c498=_0x5effb1>0x1?void 0x0:_0x5effb1?Hs(_0x39c20f,_0x5ddf8b):_0x39c20f,_0x3a13e1=_0x2276e3[_0x523833(0x124)]-0x1,_0x13b732;_0x3a13e1>=0x0;_0x3a13e1--)(_0x13b732=_0x2276e3[_0x3a13e1])&&(_0x15c498=(_0x5effb1?_0x13b732(_0x39c20f,_0x5ddf8b,_0x15c498):_0x13b732(_0x15c498))||_0x15c498);return _0x5effb1&&_0x15c498&&xi(_0x39c20f,_0x5ddf8b,_0x15c498),_0x15c498;},St=(_0x2c5d14,_0x440232)=>(_0x5098cc,_0x14651b)=>_0x440232(_0x5098cc,_0x14651b,_0x2c5d14),Bs=(_0x3f8fb1,_0xb882c1,_0x593238)=>ks(_0x3f8fb1,_0xb882c1+'',_0x593238);const Fs=_0xebfca7(0x2c7);let wt=class extends _0x348bbd{constructor(_0x41ffdd=Wt,_0x5baf59,_0x28f1b3,_0x20718d){var _0xac209a=_0xebfca7;super(),this['_config']=_0x41ffdd,this[_0xac209a(0x240)]=_0x5baf59,this[_0xac209a(0x1c6)]=_0x28f1b3,this[_0xac209a(0x234)]=_0x20718d;const {..._0x57e0b0}=_0x357d4d({},Wt,this[_0xac209a(0xe8)]);this[_0xac209a(0x234)][_0xac209a(0x1a3)](q,_0x57e0b0);}[_0xebfca7(0x211)](){var _0x576e94=_0xebfca7;this[_0x576e94(0x2cf)](),this[_0x576e94(0x2a8)]();}['_registerDependencies'](){var _0x4ae0d0=_0xebfca7,_0x3d2530,_0x378d48,_0x12d4c6,_0x1b7509;this[_0x4ae0d0(0x1c6)][_0x4ae0d0(0x26a)](_0x4f45a5)&&this[_0x4ae0d0(0x240)][_0x4ae0d0(0x2f8)](_0x4ae0d0(0x2d4),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x438910=_0x161d02([[_0x4f45a5,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x378d48=(_0x3d2530=this[_0x4ae0d0(0xe8)])==null?void 0x0:_0x3d2530['socketService'])!=null?_0x378d48:Et}],[_0x5dd680,{'useClass':Dt}],[_0x5ac997,{'useClass':bt}],[_0x38607d,{'useClass':yt}],[_0x2698d8,{'useClass':Nt}],[rt],[Rt]],(_0x12d4c6=this[_0x4ae0d0(0xe8)])==null?void 0x0:_0x12d4c6[_0x4ae0d0(0xc3)]);if(!((_0x1b7509=this[_0x4ae0d0(0xe8)])!=null&&_0x1b7509[_0x4ae0d0(0x233)])){const _0x25b401=_0x438910[_0x4ae0d0(0x137)](([_0x2e7fe7])=>_0x2e7fe7===ht);_0x25b401!==-0x1&&_0x438910[_0x4ae0d0(0x2e3)](_0x25b401,0x1);}_0x18b4b6(this[_0x4ae0d0(0x1c6)],_0x438910);}[_0xebfca7(0x2a8)](){var _0x5d92f8=_0xebfca7,_0x53a0dd,_0xb2e47f,_0x5e982e;this[_0x5d92f8(0x1c6)][_0x5d92f8(0x308)](_0x2db2ac)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x49965e({'maxParallel':0x6})}),(_0x53a0dd=this[_0x5d92f8(0xe8)])!=null&&_0x53a0dd['enableOfflineEditing']||(_0xb2e47f=this['_injector']['get'](J,_0x78d10c[_0x5d92f8(0x315)]))==null||_0xb2e47f['disableLocalCache'](),(_0x5e982e=this[_0x5d92f8(0xe8)])!=null&&_0x5e982e[_0x5d92f8(0x179)]&&_0x1307fc(this[_0x5d92f8(0x1c6)],[[st]]),_0x1307fc(this[_0x5d92f8(0x1c6)],[[ot],[rt],[at]]);}};Bs(wt,_0xebfca7(0x34f),Fs),wt=js([_0xa5ea51(_0x4ee596,_0x1d22ed,_0x22e9e5),St(0x1,_0x39281b),St(0x2,_0x350f87(_0x3e288c)),St(0x3,_0x3e9aa3)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x51303a=_0x1f09;(function(_0x4c6d51,_0xe6a3aa){var _0x46cf86=_0x1f09,_0x2ceaff=_0x4c6d51();while(!![]){try{var _0x2bd2d0=parseInt(_0x46cf86(0x218))/0x1+-parseInt(_0x46cf86(0x184))/0x2*(parseInt(_0x46cf86(0x2cc))/0x3)+parseInt(_0x46cf86(0x1a6))/0x4*(-parseInt(_0x46cf86(0x22c))/0x5)+-parseInt(_0x46cf86(0x1bb))/0x6*(parseInt(_0x46cf86(0x1ce))/0x7)+-parseInt(_0x46cf86(0x26d))/0x8+-parseInt(_0x46cf86(0x2cb))/0x9*(-parseInt(_0x46cf86(0x44a))/0xa)+parseInt(_0x46cf86(0x200))/0xb;if(_0x2bd2d0===_0xe6a3aa)break;else _0x2ceaff['push'](_0x2ceaff['shift']());}catch(_0x5d670f){_0x2ceaff['push'](_0x2ceaff['shift']());}}}(_0x1f79,0x45e40));var Li=Object[_0x51303a(0x281)],Mi=(_0x3c156c,_0x27c99d,_0x2d93f2)=>_0x27c99d in _0x3c156c?Li(_0x3c156c,_0x27c99d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d93f2}):_0x3c156c[_0x27c99d]=_0x2d93f2,N=(_0x40d421,_0x2cd257,_0x1f41c3)=>Mi(_0x40d421,typeof _0x2cd257!=_0x51303a(0x2c6)?_0x2cd257+'':_0x2cd257,_0x1f41c3);import{createIdentifier as _0x32ae6a,Inject as _0x2a2c27,Injector as _0x2ac98c,Disposable as _0x47cec6,DisposableCollection as _0x53658a,toDisposable as _0x24575e,IConfigService as _0x197b9e,ILogService as _0x7c7e3b,UserManagerService as _0x1dee39,UniverInstanceType as _0x500bf2,IUniverInstanceService as _0xd9ad76,LocaleService as _0x414916,Optional as _0x1a8278,RxDisposable as _0x2127fb,Tools as _0x299834,Rectangle as _0x81784f,ICommandService as _0x5c01af,JSONX as _0x8c9ea0,CommandType as _0x42bf5d,IPermissionService as _0xc50f2c,IUndoRedoService as _0x277f73,sequenceExecute as _0x26a0b3,Workbook as _0x14e09d,MentionType as _0x370726,IAuthzIoService as _0x289d4b,isInternalEditorID as _0x2f272e,LocalUndoRedoService as _0x3122ca,IContextService as _0x1f9cf4,DependentOn as _0x1b343a,Plugin as _0x2faba4,merge as _0x123239,mergeOverrideWithDependencies as _0x596fab,IMentionIOService as _0x5b09c9,registerDependencies as _0x55b7fd,Quantity as _0x5a06dd,touchDependencies as _0x351b51}from'@univerjs/core';import{Subject as _0x4973d7,merge as _0x204d3a,of as _0x56aeb4,BehaviorSubject as _0x5e258f,takeUntil as _0x2fe2c4,ReplaySubject as _0x5d8dc9,take as _0x81314e,map as _0x29778d,shareReplay as _0x3e88b4,firstValueFrom as _0x31a3a6,concatMap as _0x536272}from'rxjs';import{map as _0x21067b,take as _0x1a04c9,filter as _0x3cf649,delay as _0x506462,takeUntil as _0x26b065}from'rxjs/operators';import{HTTPService as _0x43259a,ISocketService as _0x2f9d08,MergeInterceptorFactory as _0x2d7c72,HTTPRequest as _0x24cdfb,UniverNetworkPlugin as _0x3f6290,ThresholdInterceptorFactory as _0x3d1b06}from'@univerjs/network';import{CollaborationEvent as _0x247b59,parseChangesetToProtocol as _0x4c01ce,ISnapshotServerService as _0x22279b,isTransformMutationsWithChangesetSuccess as _0x122f14,ITransformService as _0x1aa332,mapDocumentTypeToUniverType as _0x24f5bb,RevisionService as _0x408fec,isTransformChangesetsSuccess as _0x4d0c02,CompressMutationService as _0x3f7f69,parseProtocolChangeset as _0xf0555b,SnapshotService as _0x101ed4,textEncoder as _0x1eecf7,b64DecodeUnicode as _0x142033,isTransformMutationsWithChangesetFailure as _0x5c45d7,UniverCollaborationPlugin as _0x12509d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x27e094}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4e9af9}from'@univerjs/docs';import{SheetsSelectionsService as _0x112b24,SetSelectionsOperation as _0xf5e32b,InsertSheetMutation as _0x2ce3d3,EmptyMutation as _0x8ec12b,WorkbookEditablePermission as _0x8a0fbb,SheetPermissionInitController as _0x4e37fd,UniverSheetsPlugin as _0x511a9f}from'@univerjs/sheets';import{ImageSourceType as _0x5948a6,ImageUploadStatusType as _0xb9841d,IImageIoService as _0x2dfdfa}from'@univerjs/drawing';import{getGlobalObject as _0x581218}from'@univerjs-pro/license';const En=_0x51303a(0x3f5),In=_0x51303a(0x33a),Tn=_0x51303a(0x261),eo=_0x51303a(0x378),Cn=0x7d0,Rn=_0x51303a(0x2f3),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On=_0x51303a(0x221),yn=_0x51303a(0x396),Nn=0x7530,Si=_0x51303a(0x256),Ei=0x4e20,Dn=0x4e20,Pn=_0x51303a(0x1b3),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x51303a(0x228),An=_0x51303a(0x2e2),xn=_0x51303a(0x23e),Ln=_0x51303a(0x2d7),no=_0x51303a(0x317),ro=_0x51303a(0x23f);var Ii=(_0x179980=>(_0x179980[_0x179980['UNDEFINED']=0x0]=_0x51303a(0x15e),_0x179980[_0x179980['OK']=0x1]='OK',_0x179980[_0x179980['INTERNAL_ERROR']=0x2]=_0x51303a(0x213),_0x179980[_0x179980[_0x51303a(0x309)]=0x3]=_0x51303a(0x309),_0x179980[_0x179980['NOT_FOUND']=0x4]=_0x51303a(0x211),_0x179980[_0x179980[_0x51303a(0x428)]=0x5]=_0x51303a(0x428),_0x179980[_0x179980[_0x51303a(0x1f4)]=0x6]=_0x51303a(0x1f4),_0x179980[_0x179980[_0x51303a(0x37b)]=0x7]=_0x51303a(0x37b),_0x179980[_0x179980[_0x51303a(0x1e5)]=0x8]=_0x51303a(0x1e5),_0x179980[_0x179980['COMPLETION_FINISHED']=0x9]=_0x51303a(0x1f9),_0x179980[_0x179980[_0x51303a(0x39a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x179980[_0x179980[_0x51303a(0x23d)]=0x1771]=_0x51303a(0x23d),_0x179980[_0x179980['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x51303a(0x3fb),_0x179980[_0x179980[_0x51303a(0x230)]=0x1773]=_0x51303a(0x230),_0x179980[_0x179980[_0x51303a(0x31b)]=0x1b59]='APPLY_REJECT',_0x179980[_0x179980[_0x51303a(0x290)]=0x1b5a]=_0x51303a(0x290),_0x179980[_0x179980['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x179980[_0x179980[_0x51303a(0x185)]=0x1b5c]=_0x51303a(0x185),_0x179980[_0x179980[_0x51303a(0x232)]=0x1b5d]=_0x51303a(0x232),_0x179980[_0x179980['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x179980[_0x179980[_0x51303a(0x447)]=0x2329]=_0x51303a(0x447),_0x179980[_0x179980[_0x51303a(0x265)]=0x232a]=_0x51303a(0x265),_0x179980[_0x179980[_0x51303a(0x367)]=0x232b]=_0x51303a(0x367),_0x179980[_0x179980['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x51303a(0x26e),_0x179980[_0x179980[_0x51303a(0x3a9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x179980[_0x179980[_0x51303a(0x282)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x179980[_0x179980[_0x51303a(0x3ed)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x179980[_0x179980[_0x51303a(0x1f6)]=0x2713]=_0x51303a(0x1f6),_0x179980[_0x179980[_0x51303a(0x1ed)]=0x2714]=_0x51303a(0x1ed),_0x179980[_0x179980[_0x51303a(0x25a)]=0x2af9]=_0x51303a(0x25a),_0x179980[_0x179980[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x179980))(Ii||{}),Q=(_0x2caaac=>(_0x2caaac[_0x2caaac[_0x51303a(0x369)]=0x0]=_0x51303a(0x369),_0x2caaac[_0x2caaac[_0x51303a(0x31f)]=0x1]=_0x51303a(0x31f),_0x2caaac[_0x2caaac[_0x51303a(0x43d)]=0x2]=_0x51303a(0x43d),_0x2caaac[_0x2caaac['UNIVER_SLIDE']=0x3]=_0x51303a(0x231),_0x2caaac[_0x2caaac[_0x51303a(0x366)]=0x4]='UNIVER_PROJECT',_0x2caaac[_0x2caaac[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x2caaac))(Q||{}),F=(_0x2e64aa=>(_0x2e64aa[_0x2e64aa[_0x51303a(0x406)]=0x0]='UNKNOWN_CMD',_0x2e64aa[_0x2e64aa[_0x51303a(0x204)]=0x1]=_0x51303a(0x204),_0x2e64aa[_0x2e64aa['JOIN']=0x2]=_0x51303a(0x3a3),_0x2e64aa[_0x2e64aa[_0x51303a(0x195)]=0x3]='LEAVE',_0x2e64aa[_0x2e64aa[_0x51303a(0x263)]=0x4]=_0x51303a(0x263),_0x2e64aa[_0x2e64aa[_0x51303a(0x342)]=0x5]=_0x51303a(0x342),_0x2e64aa[_0x2e64aa[_0x51303a(0x3d8)]=0x6]=_0x51303a(0x3d8),_0x2e64aa[_0x2e64aa[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x2e64aa))(F||{}),Ee=(_0x503bf0=>(_0x503bf0[_0x503bf0[_0x51303a(0x386)]=0x0]=_0x51303a(0x386),_0x503bf0[_0x503bf0['OK']=0x1]='OK',_0x503bf0[_0x503bf0[_0x51303a(0x3ac)]=0x2]=_0x51303a(0x3ac),_0x503bf0[_0x503bf0['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x503bf0[_0x503bf0[_0x51303a(0x3fd)]=0x3ea]=_0x51303a(0x3fd),_0x503bf0[_0x503bf0['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x51303a(0x327),_0x503bf0[_0x503bf0[_0x51303a(0x2fb)]=0x3ec]=_0x51303a(0x2fb),_0x503bf0[_0x503bf0[_0x51303a(0x1dc)]=-0x1]=_0x51303a(0x1dc),_0x503bf0))(Ee||{}),Ti=(_0x25a52f=>(_0x25a52f[_0x25a52f['Undefined']=0x0]='Undefined',_0x25a52f[_0x25a52f[_0x51303a(0x166)]=0x1]='HttpImport',_0x25a52f[_0x25a52f[_0x51303a(0x187)]=0x2]=_0x51303a(0x187),_0x25a52f[_0x25a52f[_0x51303a(0x28b)]=0x3]=_0x51303a(0x28b),_0x25a52f[_0x25a52f['UnitSnapshot']=0x4]=_0x51303a(0x41e),_0x25a52f[_0x25a52f[_0x51303a(0x1dc)]=-0x1]='UNRECOGNIZED',_0x25a52f))(Ti||{});const q=_0x51303a(0x27e),Wt={};var se=(_0x2f303c=>(_0x2f303c[_0x51303a(0x1ef)]=_0x51303a(0x1ef),_0x2f303c[_0x51303a(0x309)]=_0x51303a(0x309),_0x2f303c[_0x51303a(0x30e)]=_0x51303a(0x30e),_0x2f303c['CLOSE_ROOM']=_0x51303a(0x149),_0x2f303c['JOIN_ROOM_FAILED']=_0x51303a(0x387),_0x2f303c['SOCKET_FAILED_RETRY']=_0x51303a(0x3ba),_0x2f303c[_0x51303a(0x1e6)]=_0x51303a(0x1e6),_0x2f303c[_0x51303a(0x435)]=_0x51303a(0x435),_0x2f303c))(se||{});class pe{constructor(){var _0x117d0e=_0x51303a;N(this,_0x117d0e(0x3f3),new _0x4973d7()),N(this,_0x117d0e(0x3d0),this['_event$'][_0x117d0e(0x212)]());}[_0x51303a(0x313)](_0x454e7f){var _0x22e54a=_0x51303a;this[_0x22e54a(0x3f3)]['next'](_0x454e7f);}}const Mn=_0x32ae6a(_0x51303a(0x34d));function $n(_0x3876c9){var _0x57cca2=_0x51303a,_0x437194,_0x3c4707,_0x391d77,_0x28c609,_0x3e6dd1;const _0x5ab1a9=_0x3876c9[_0x57cca2(0x1cd)],_0xbad663=JSON[_0x57cca2(0x354)](_0x5ab1a9);switch(_0xbad663[_0x57cca2(0x1e8)]){case F['HEARTBEAT']:case F[_0x57cca2(0x204)]:{const _0x2806ef=_0xbad663[_0x57cca2(0x3b3)];return{..._0xbad663,'data':_0x2806ef,'cmd':_0xbad663[_0x57cca2(0x1e8)]};}case F[_0x57cca2(0x3a3)]:{const _0x26d33f=_0xbad663[_0x57cca2(0x16b)];return{..._0xbad663,'data':_0x26d33f,'cmd':_0xbad663['cmd']};}case F[_0x57cca2(0x3d8)]:{const _0x206595=_0xbad663['collaMsg'];switch(_0x206595[_0x57cca2(0x262)]){case _0x247b59[_0x57cca2(0x42f)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x437194=_0x206595['permissionRejEvent'])==null?void 0x0:_0x437194['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59['CHANGESET_ACK']:return{..._0xbad663,'data':{..._0x206595,'data':(_0x3c4707=_0x206595[_0x57cca2(0x2d6)])==null?void 0x0:_0x3c4707['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2df)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x391d77=_0x206595[_0x57cca2(0x359)])==null?void 0x0:_0x391d77['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x1d4)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x28c609=_0x206595['csRejEvent'])==null?void 0x0:_0x28c609['cs']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x446)]:return{..._0xbad663,'data':{..._0x206595,'data':(_0x3e6dd1=_0x206595[_0x57cca2(0x188)])==null?void 0x0:_0x3e6dd1['cs']},'cmd':_0xbad663['cmd']};case _0x247b59['UPDATE_CURSOR']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x1d2)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59['USERS_ENTER']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x419)]},'cmd':_0xbad663['cmd']};case _0x247b59[_0x57cca2(0x3a7)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x3c5)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2bc)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x280)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x35d)]:case _0x247b59['LIVESHARE_OPERATION']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x160)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2de)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x280)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x3c3)]:return{..._0xbad663,'data':_0x206595,'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x268)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x423)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x425)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x279)]},'cmd':_0xbad663['cmd']};case _0x247b59['SHOULD_CLOSE_CONN']:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595[_0x57cca2(0x2a6)]},'cmd':_0xbad663[_0x57cca2(0x1e8)]};case _0x247b59[_0x57cca2(0x2a3)]:return{..._0xbad663,'data':{..._0x206595,'data':_0x206595['uniscriptRunEvent']},'cmd':_0xbad663[_0x57cca2(0x1e8)]};default:return _0xbad663;}}default:return _0xbad663;}}function Hn(_0x4fcdbc){var _0x4ebaf3=_0x51303a;switch(_0x4fcdbc[_0x4ebaf3(0x1e8)]){case F[_0x4ebaf3(0x342)]:case F['HELLO']:return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc['cmd'],'routeKey':_0x4fcdbc['routeKey']});case F[_0x4ebaf3(0x263)]:{let _0x1e6805;switch(_0x4fcdbc[_0x4ebaf3(0x1cd)]['eventID']){case _0x247b59[_0x4ebaf3(0x21b)]:{_0x1e6805={'eventID':_0x247b59['UPDATE_CURSOR'],'updateCursorEvent':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x3a7)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x3a7)],'leaveEvent':_0x4fcdbc['data']['data']};break;}case _0x247b59[_0x4ebaf3(0x29c)]:{_0x1e6805={'eventID':_0x247b59['USERS_ENTER'],'joinEvent':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x2bc)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x2bc)],'liveShareNewHost':_0x4fcdbc[_0x4ebaf3(0x1cd)]['data']};break;}case _0x247b59[_0x4ebaf3(0x296)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x296)],'liveShareOperation':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59['LIVESHARE_TERMINATE']:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x2de)],'liveShareTerminate':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x1b4)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x1b4)],'liveShareRequestHost':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x1cd)]};break;}case _0x247b59[_0x4ebaf3(0x35d)]:{_0x1e6805={'eventID':_0x247b59[_0x4ebaf3(0x35d)]};break;}default:_0x1e6805={'eventID':_0x4fcdbc[_0x4ebaf3(0x1cd)][_0x4ebaf3(0x262)]};}return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc[_0x4ebaf3(0x1e3)],'collaMsg':_0x1e6805});}case F[_0x4ebaf3(0x3a3)]:return JSON[_0x4ebaf3(0x235)]({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc[_0x4ebaf3(0x1e3)],'joinReq':_0x4fcdbc[_0x4ebaf3(0x1cd)]});case F[_0x4ebaf3(0x195)]:return JSON['stringify']({'cmd':_0x4fcdbc[_0x4ebaf3(0x1e8)],'routeKey':_0x4fcdbc['routeKey'],'leaveReq':_0x4fcdbc[_0x4ebaf3(0x1cd)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x51303a(0x281)],jn=Object[_0x51303a(0x150)],Bn=(_0x6e21fb,_0x4f2f2c,_0x113962,_0x820666)=>{for(var _0x1ce108=_0x820666>0x1?void 0x0:_0x820666?jn(_0x4f2f2c,_0x113962):_0x4f2f2c,_0x14b691=_0x6e21fb['length']-0x1,_0x3736ac;_0x14b691>=0x0;_0x14b691--)(_0x3736ac=_0x6e21fb[_0x14b691])&&(_0x1ce108=(_0x820666?_0x3736ac(_0x4f2f2c,_0x113962,_0x1ce108):_0x3736ac(_0x1ce108))||_0x1ce108);return _0x820666&&_0x1ce108&&kn(_0x4f2f2c,_0x113962,_0x1ce108),_0x1ce108;},Ue=(_0xca64ec,_0x5825eb)=>(_0x5896da,_0x282c6e)=>_0x5825eb(_0x5896da,_0x282c6e,_0xca64ec);const Ci=_0x32ae6a('univer-pro.collaboration-client-socket-service');function Fn(_0x302d11,_0xa49ba4,_0x17e8a3){var _0x141d3b=_0x51303a;return _0x302d11+'/'+_0xa49ba4+_0x141d3b(0x38d)+_0x17e8a3+'/new_changes';}let Et=class extends _0x47cec6{constructor(_0xc420b9,_0x581222,_0x476321,_0x3e6e36,_0x2feb29){var _0x100490=_0x51303a;super(),this['_injector']=_0xc420b9,this[_0x100490(0x224)]=_0x581222,this[_0x100490(0x2c0)]=_0x476321,this[_0x100490(0x257)]=_0x3e6e36,this[_0x100490(0x20f)]=_0x2feb29;}[_0x51303a(0x2b0)](_0x340e5e){var _0x4bf3e3=_0x51303a;const _0x184cb7=this['_injector'][_0x4bf3e3(0x227)](_0x2f9d08);if(!_0x184cb7)throw new Error(_0x4bf3e3(0x18e));const _0x53ddb7=_0x184cb7[_0x4bf3e3(0x2b0)](_0x340e5e);if(!_0x53ddb7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5274f9=new _0x53658a(),_0x2f01bd=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7[_0x4bf3e3(0x27d)][_0x4bf3e3(0x315)](_0x4c4082=>_0x2f01bd[_0x4bf3e3(0x334)](_0x4c4082))),_0x5274f9[_0x4bf3e3(0x2db)](_0x24575e(()=>_0x2f01bd[_0x4bf3e3(0x147)]()));const _0x4c33d5=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7['error$']['subscribe'](_0x37c39c=>_0x4c33d5['next'](_0x37c39c))),_0x5274f9['add'](_0x24575e(()=>_0x4c33d5[_0x4bf3e3(0x147)]()));const _0x4ea49b=new _0x4973d7();_0x5274f9[_0x4bf3e3(0x2db)](_0x53ddb7[_0x4bf3e3(0x179)][_0x4bf3e3(0x315)](_0x2d3bc1=>{var _0x15b670=_0x4bf3e3;const _0x30f40c=$n(_0x2d3bc1);_0x4ea49b[_0x15b670(0x334)](_0x30f40c);})),_0x5274f9[_0x4bf3e3(0x2db)](_0x24575e(()=>_0x4ea49b['complete']()));let _0x8e2f5;const _0x70328a=()=>{var _0x4afb76=_0x4bf3e3;_0x4c33d5[_0x4afb76(0x334)](new Event(_0x4afb76(0x395))),_0x2f01bd['next'](new CloseEvent(_0x4afb76(0x395))),_0x8e2f5[_0x4afb76(0x3cc)]();};return _0x8e2f5={'memberID':'','close$':_0x2f01bd[_0x4bf3e3(0x212)](),'error$':_0x4c33d5['asObservable'](),'open$':_0x53ddb7[_0x4bf3e3(0x16c)],'message$':_0x4ea49b[_0x4bf3e3(0x212)](),'send':_0x174496=>{var _0x1cc345=_0x4bf3e3;if(_0x174496[_0x1cc345(0x1e8)]===F['INGEST']){if(_0x174496['data'][_0x1cc345(0x262)]===_0x247b59[_0x1cc345(0x28d)]){this[_0x1cc345(0x22d)](_0x8e2f5,_0x174496[_0x1cc345(0x1cd)])[_0x1cc345(0x3b5)](_0xb6ff83=>{var _0x31ba1c=_0x1cc345;this[_0x31ba1c(0x257)][_0x31ba1c(0x16e)](_0xb6ff83),_0x70328a();});return;}if(_0x174496[_0x1cc345(0x1cd)][_0x1cc345(0x262)]===_0x247b59[_0x1cc345(0x2ca)]){const _0x20667f=_0x174496[_0x1cc345(0x1cd)];this[_0x1cc345(0x415)](_0x20667f)['then'](_0x59475e=>{var _0x54d9fb=_0x1cc345;_0x4ea49b[_0x54d9fb(0x334)]({'cmd':F[_0x54d9fb(0x3d8)],'code':Ee['OK'],'routeKey':_0x20667f['data'][_0x54d9fb(0x40d)],'routeType':'','data':{'eventID':_0x247b59[_0x54d9fb(0x3b1)],'data':{'changesets':_0x59475e}}});})[_0x1cc345(0x3b5)](_0x3e9153=>{var _0x50ca43=_0x1cc345;this[_0x50ca43(0x257)][_0x50ca43(0x16e)](_0x3e9153),_0x70328a();});return;}}_0x53ddb7[_0x1cc345(0x229)](Hn(_0x174496));},'close':()=>{var _0x3f919e=_0x4bf3e3;_0x53ddb7[_0x3f919e(0x3cc)](),_0x5274f9[_0x3f919e(0x421)]();}},_0x8e2f5;}async[_0x51303a(0x22d)](_0x5834a7,_0x4947d3){var _0x4a2788=_0x51303a,_0x1ab4c0,_0x1ecc57;const {unitType:_0x191802,unitID:_0x3d2de4,changeset:_0x573e2e}=_0x4947d3[_0x4a2788(0x1cd)],_0x1499e8={'unitID':_0x3d2de4,'memberID':_0x5834a7[_0x4a2788(0x2e5)],'type':_0x191802,'changeset':_0x4c01ce(_0x573e2e)},_0x1724de=this[_0x4a2788(0x2c0)][_0x4a2788(0x2ec)](Un),_0x25a861=this[_0x4a2788(0x2c0)][_0x4a2788(0x2ec)](q),_0x12a818=Fn((_0x1ecc57=(_0x1ab4c0=_0x25a861==null?void 0x0:_0x25a861[_0x4a2788(0x3c8)])!=null?_0x1ab4c0:_0x1724de)!=null?_0x1ecc57:An,_0x191802,_0x3d2de4);try{await this[_0x4a2788(0x224)][_0x4a2788(0x40b)](_0x12a818,{'body':_0x1499e8});}catch(_0x290f9f){throw this[_0x4a2788(0x257)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x290f9f;}}async[_0x51303a(0x415)](_0x4d51aa){var _0x5509bf=_0x51303a;const {unitID:_0x268d20,from:_0x497b06,to:_0x4d96d2,unitType:_0x321373}=_0x4d51aa[_0x5509bf(0x1cd)];return(await this[_0x5509bf(0x20f)][_0x5509bf(0x20b)]({'metadata':void 0x0},{'unitID':_0x268d20,'type':_0x321373,'from':_0x497b06,'to':_0x4d96d2}))['changesets'];}};Et=Bn([Ue(0x0,_0x2a2c27(_0x2ac98c)),Ue(0x1,_0x2a2c27(_0x43259a)),Ue(0x2,_0x197b9e),Ue(0x3,_0x7c7e3b),Ue(0x4,_0x22279b)],Et);const Vn='collaboration_new_changeset';function Gn(_0x1c0490){var _0xffddb1=_0x51303a;return JSON[_0xffddb1(0x235)](_0x1c0490)['length'];}class Ri{constructor(){var _0x51156f=_0x51303a;N(this,_0x51156f(0x2ba),new _0x4973d7()),N(this,'commentUpdate$',this[_0x51156f(0x2ba)][_0x51156f(0x212)]());}[_0x51303a(0x22e)](_0x5001d5){var _0x15272e=_0x51303a;this[_0x15272e(0x2ba)][_0x15272e(0x334)](_0x5001d5);}}var Wn=Object[_0x51303a(0x281)],Kn=Object[_0x51303a(0x150)],Yn=(_0x1c04fc,_0xe5978f,_0x20d123,_0x3ebe26)=>{var _0x5081a6=_0x51303a;for(var _0x5aef21=_0x3ebe26>0x1?void 0x0:_0x3ebe26?Kn(_0xe5978f,_0x20d123):_0xe5978f,_0x55a995=_0x1c04fc[_0x5081a6(0x2b9)]-0x1,_0x2044d7;_0x55a995>=0x0;_0x55a995--)(_0x2044d7=_0x1c04fc[_0x55a995])&&(_0x5aef21=(_0x3ebe26?_0x2044d7(_0xe5978f,_0x20d123,_0x5aef21):_0x2044d7(_0x5aef21))||_0x5aef21);return _0x3ebe26&&_0x5aef21&&Wn(_0xe5978f,_0x20d123,_0x5aef21),_0x5aef21;},Kt=(_0x1c6b93,_0x4bcb04)=>(_0x4fc9db,_0x542fe9)=>_0x4bcb04(_0x4fc9db,_0x542fe9,_0x1c6b93);let xe=class extends _0x47cec6{constructor(_0x256a58,_0x12986e){var _0x4b4a2c=_0x51303a;super(),N(this,_0x4b4a2c(0x2bf),new Map()),N(this,_0x4b4a2c(0x17a),new _0x4973d7()),(this[_0x4b4a2c(0x365)]=_0x256a58,this[_0x4b4a2c(0x253)]=_0x12986e,this['disposeWithMe'](_0x204d3a(this[_0x4b4a2c(0x365)]['getTypeOfUnitDisposed$'](_0x500bf2[_0x4b4a2c(0x43d)])[_0x4b4a2c(0x380)](_0x21067b(_0x2a5650=>_0x2a5650[_0x4b4a2c(0x438)]())),this[_0x4b4a2c(0x365)][_0x4b4a2c(0x43b)](_0x500bf2[_0x4b4a2c(0x31f)])['pipe'](_0x21067b(_0x2198aa=>_0x2198aa['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x4b4a2c(0x231)])[_0x4b4a2c(0x380)](_0x21067b(_0x3ee3df=>_0x3ee3df[_0x4b4a2c(0x438)]())))[_0x4b4a2c(0x315)](_0x115c6d=>this[_0x4b4a2c(0x1a8)](_0x115c6d))));}['waitForRoom$'](_0xc5cc89){var _0x19bfd2=_0x51303a;return this[_0x19bfd2(0x2bf)][_0x19bfd2(0x371)](_0xc5cc89)?_0x56aeb4(this[_0x19bfd2(0x2bf)]['get'](_0xc5cc89)):this['_roomCreated$'][_0x19bfd2(0x380)](_0x21067b(_0x53fb06=>{var _0x487c93=_0x19bfd2;if(_0x53fb06===_0xc5cc89)return this['_roomMembers'][_0x487c93(0x227)](_0x53fb06);}));}['setCurrentUser'](_0xd4be76){var _0x354f2c=_0x51303a;this['_userManagerService'][_0x354f2c(0x2a8)](_0xd4be76);}['getCurrentUser'](){var _0x3ed5db=_0x51303a;return this[_0x3ed5db(0x253)]['getCurrentUser']();}[_0x51303a(0x245)](_0x19cdc7,_0x5b8f36){var _0x5b60a5=_0x51303a;let _0x2678e1=this['_roomMembers'][_0x5b60a5(0x227)](_0x19cdc7);_0x2678e1||(_0x2678e1=new qn(),this[_0x5b60a5(0x2bf)][_0x5b60a5(0x34c)](_0x19cdc7,_0x2678e1),this[_0x5b60a5(0x17a)][_0x5b60a5(0x334)](_0x19cdc7)),_0x2678e1[_0x5b60a5(0x245)](_0x5b8f36);}[_0x51303a(0x3c9)](_0x4d1336,_0x5c3331){var _0x3c91c3=_0x51303a;const _0x144787=this[_0x3c91c3(0x2bf)][_0x3c91c3(0x227)](_0x4d1336);_0x144787&&_0x144787[_0x3c91c3(0x3c9)](_0x5c3331);}[_0x51303a(0x32d)](_0x1deb4f){var _0x48c25b=_0x51303a;return this[_0x48c25b(0x2bf)][_0x48c25b(0x227)](_0x1deb4f);}[_0x51303a(0x3da)](_0x532cb8,_0x205eed){var _0x2d04d2=_0x51303a;const _0x71fcf0=this['_roomMembers'][_0x2d04d2(0x227)](_0x532cb8);if(_0x71fcf0)return _0x71fcf0[_0x2d04d2(0x3da)](_0x205eed);}[_0x51303a(0x1a8)](_0x5bab2a){var _0x4f0c5c=_0x51303a;const _0x148c0f=this[_0x4f0c5c(0x2bf)][_0x4f0c5c(0x227)](_0x5bab2a);_0x148c0f&&(_0x148c0f['dispose'](),this[_0x4f0c5c(0x2bf)]['delete'](_0x5bab2a));}['dispose'](){var _0xcd234c=_0x51303a;this[_0xcd234c(0x2bf)][_0xcd234c(0x2ed)](_0x15556b=>_0x15556b[_0xcd234c(0x421)]()),this[_0xcd234c(0x2bf)][_0xcd234c(0x346)](),this[_0xcd234c(0x17a)][_0xcd234c(0x147)]();}};xe=Yn([Kt(0x0,_0xd9ad76),Kt(0x1,_0x2a2c27(_0x1dee39))],xe);class qn extends _0x47cec6{constructor(){var _0x5aa001=_0x51303a;super(...arguments),N(this,_0x5aa001(0x178),new Map()),N(this,_0x5aa001(0x153),new _0x5e258f(this[_0x5aa001(0x178)])),N(this,_0x5aa001(0x2e9),this['_members$']['asObservable']());}['dispose'](){var _0x478a4a=_0x51303a;this[_0x478a4a(0x178)][_0x478a4a(0x346)]();}[_0x51303a(0x245)](_0x5c4ce9){var _0x3cc236=_0x51303a;this[_0x3cc236(0x178)][_0x3cc236(0x34c)](_0x5c4ce9[_0x3cc236(0x2e5)],_0x5c4ce9),this[_0x3cc236(0x15a)]();}['removeMember'](_0x682450){var _0x58daff=_0x51303a;this[_0x58daff(0x178)][_0x58daff(0x182)](_0x682450);}[_0x51303a(0x3da)](_0x39b994){var _0x1d1af0=_0x51303a;return this[_0x1d1af0(0x178)][_0x1d1af0(0x227)](_0x39b994);}[_0x51303a(0x35a)](){var _0x114823=_0x51303a;return Array[_0x114823(0x19d)](this[_0x114823(0x178)][_0x114823(0x413)]());}[_0x51303a(0x15a)](){var _0xb5f13a=_0x51303a;this[_0xb5f13a(0x153)][_0xb5f13a(0x334)](this[_0xb5f13a(0x178)]);}}var zn=Object[_0x51303a(0x281)],Jn=Object[_0x51303a(0x150)],Xn=(_0x135e9d,_0x1e75ed,_0x1fca79,_0x2540a4)=>{var _0x1d4f4e=_0x51303a;for(var _0x4935af=_0x2540a4>0x1?void 0x0:_0x2540a4?Jn(_0x1e75ed,_0x1fca79):_0x1e75ed,_0x31f11e=_0x135e9d[_0x1d4f4e(0x2b9)]-0x1,_0x165385;_0x31f11e>=0x0;_0x31f11e--)(_0x165385=_0x135e9d[_0x31f11e])&&(_0x4935af=(_0x2540a4?_0x165385(_0x1e75ed,_0x1fca79,_0x4935af):_0x165385(_0x4935af))||_0x4935af);return _0x2540a4&&_0x4935af&&zn(_0x1e75ed,_0x1fca79,_0x4935af),_0x4935af;},me=(_0x59e438,_0x2d5ebb)=>(_0x23141e,_0x1177c0)=>_0x2d5ebb(_0x23141e,_0x1177c0,_0x59e438),Te=(_0x483651=>(_0x483651[_0x483651['IDLE']=0x0]=_0x51303a(0x15f),_0x483651[_0x483651[_0x51303a(0x2b5)]=0x1]=_0x51303a(0x2b5),_0x483651[_0x483651[_0x51303a(0x2dd)]=0x2]='OFFLINE',_0x483651[_0x483651['ONLINE']=0x3]=_0x51303a(0x3e9),_0x483651))(Te||{});const Yt={[Ee['FAIL']]:_0x51303a(0x19f),[Ee[_0x51303a(0x1a5)]]:'session.room-full',[Ee[_0x51303a(0x3fd)]]:'session.room-not-exists',[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x51303a(0x410),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x51303a(0x27c)};let It=class extends _0x2127fb{constructor(_0x5248da,_0x31e3d2,_0x47e775,_0x30bf14,_0x407294,_0x19f4dc,_0x1c1650,_0x5602f9,_0x19b03c){var _0x42edcf=_0x51303a;super(),N(this,_0x42edcf(0x148),new _0x5e258f(0x0)),N(this,_0x42edcf(0x314),this[_0x42edcf(0x148)]['asObservable']()),N(this,_0x42edcf(0x3f3),new _0x4973d7()),N(this,'event$',this[_0x42edcf(0x3f3)]['asObservable']()),N(this,_0x42edcf(0x247)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x42edcf(0x418),!0x1),N(this,'_telemetryInfo',null),(this[_0x42edcf(0x2f9)]=_0x5248da,this[_0x42edcf(0x257)]=_0x47e775,this['_configService']=_0x30bf14,this[_0x42edcf(0x3fc)]=_0x407294,this[_0x42edcf(0x3b9)]=_0x19f4dc,this['_commentService']=_0x1c1650,this['_collaborationUIEventService']=_0x5602f9,this[_0x42edcf(0x28f)]=_0x19b03c,this[_0x42edcf(0x418)]=!!this[_0x42edcf(0x28f)],_0x31e3d2[_0x42edcf(0x380)](_0x2fe2c4(this['dispose$']))['subscribe'](_0x12d505=>{var _0x216c81=_0x42edcf,_0x2049da;typeof _0x12d505>'u'||(this[_0x216c81(0x247)]=_0x12d505,_0x12d505?(this[_0x216c81(0x1f0)](_0x12d505),this[_0x216c81(0x43a)]=_0x12d505['message$'][_0x216c81(0x315)](_0x149985=>{var _0x4ae5df=_0x216c81;_0x149985[_0x4ae5df(0x1e3)]===this[_0x4ae5df(0x2f9)]&&this[_0x4ae5df(0x3d5)](_0x149985);})):(this[_0x216c81(0x1f3)](),this[_0x216c81(0x148)][_0x216c81(0x334)](0x2),(_0x2049da=this['_socketMessageSubscription'])==null||_0x2049da[_0x216c81(0x29d)](),this[_0x216c81(0x43a)]=null));}));}get['sessionStatus'](){var _0x20e130=_0x51303a;return this['_sessionStatus$'][_0x20e130(0x173)]();}[_0x51303a(0x297)](){var _0xcde786,_0x45d34f;return(_0x45d34f=(_0xcde786=this['_socket'])==null?void 0x0:_0xcde786['memberID'])!=null?_0x45d34f:null;}[_0x51303a(0x421)](){var _0x453c03=_0x51303a;super[_0x453c03(0x421)](),this[_0x453c03(0x402)][_0x453c03(0x334)](),this[_0x453c03(0x402)][_0x453c03(0x147)]();}[_0x51303a(0x3cc)](){var _0x4fa7b0=_0x51303a,_0x3c991e,_0xc46651;this[_0x4fa7b0(0x1f3)](),(_0x3c991e=this['_socket'])==null||_0x3c991e['send']({'cmd':F[_0x4fa7b0(0x195)],'data':{'roomID':this[_0x4fa7b0(0x2f9)]}}),(_0xc46651=this[_0x4fa7b0(0x247)])==null||_0xc46651[_0x4fa7b0(0x3cc)](),this[_0x4fa7b0(0x3f3)][_0x4fa7b0(0x147)](),this[_0x4fa7b0(0x148)]['complete'](),this[_0x4fa7b0(0x421)]();}[_0x51303a(0x3d5)](_0x707611){var _0x4ff1fb=_0x51303a;_0x707611[_0x4ff1fb(0x1e8)]===F[_0x4ff1fb(0x3a3)]?this[_0x4ff1fb(0x1cb)](_0x707611):_0x707611[_0x4ff1fb(0x1e8)]===F[_0x4ff1fb(0x3d8)]&&this[_0x4ff1fb(0x370)](_0x707611);}['_joinRoom'](_0x4f2a0d){var _0x37bbc6=_0x51303a;this['_sessionStatus$'][_0x37bbc6(0x334)](0x1),_0x4f2a0d['send']({'cmd':F[_0x37bbc6(0x3a3)],'routeKey':this[_0x37bbc6(0x2f9)],'routeType':'','data':{'rooms':[{'roomID':this[_0x37bbc6(0x2f9)]}]}});}['_onJoinRoomEvent'](_0x55b51e){var _0x48dcc3=_0x51303a,_0x158023;if(_0x55b51e[_0x48dcc3(0x175)]in Yt){this[_0x48dcc3(0x31e)]['emitEvent']({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x55b51e[_0x48dcc3(0x175)]]}),this[_0x48dcc3(0x148)][_0x48dcc3(0x334)](0x2);return;}this[_0x48dcc3(0x148)]['next'](0x3);const _0x176c06=(_0x158023=_0x55b51e[_0x48dcc3(0x1cd)][_0x48dcc3(0x375)][this[_0x48dcc3(0x2f9)]])==null?void 0x0:_0x158023['members'];_0x176c06&&_0x176c06[_0x48dcc3(0x2ed)](_0x4ec68f=>this[_0x48dcc3(0x3b9)][_0x48dcc3(0x245)](this['_unitID'],_0x4ec68f));}[_0x51303a(0x370)](_0x5d05af){var _0x3244c7=_0x51303a;try{const _0x2d60b8=_0x5d05af['data'];switch(_0x2d60b8[_0x3244c7(0x262)]){case _0x247b59[_0x3244c7(0x29c)]:this[_0x3244c7(0x316)](_0x2d60b8),this[_0x3244c7(0x3f3)][_0x3244c7(0x334)](_0x2d60b8);break;case _0x247b59['USERS_LEAVE']:this[_0x3244c7(0x157)](_0x2d60b8),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x2cd)]:case _0x247b59[_0x3244c7(0x446)]:this[_0x3244c7(0x17c)](),this[_0x3244c7(0x307)](),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x3c3)]:this[_0x3244c7(0x257)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x3244c7(0x235)](_0x2d60b8)),this['_event$'][_0x3244c7(0x334)](_0x2d60b8);break;case _0x247b59[_0x3244c7(0x268)]:this[_0x3244c7(0x3e8)]['onCommentUpdate'](_0x2d60b8[_0x3244c7(0x1cd)]),this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);break;default:this[_0x3244c7(0x3f3)]['next'](_0x2d60b8);}}catch(_0x4cf954){this[_0x3244c7(0x257)][_0x3244c7(0x16e)](_0x4cf954,_0x5d05af);}}[_0x51303a(0x316)](_0x1a8712){var _0x55084a=_0x51303a;this[_0x55084a(0x3b9)][_0x55084a(0x245)](this['_unitID'],_0x1a8712[_0x55084a(0x1cd)]);}[_0x51303a(0x157)](_0x3ded1e){var _0x30a334=_0x51303a;this[_0x30a334(0x3b9)][_0x30a334(0x3c9)](this[_0x30a334(0x2f9)],_0x3ded1e[_0x30a334(0x1cd)]['memberID']);}async[_0x51303a(0x229)](_0x286b00,_0x3e787b){var _0x2ca876=_0x51303a;if(this[_0x2ca876(0x2e7)]!==0x3||!this[_0x2ca876(0x247)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x286b00[_0x2ca876(0x262)]===_0x247b59['SUBMIT_CHANGESET']&&(this[_0x2ca876(0x17f)](),this[_0x2ca876(0x2af)](_0x286b00)),this[_0x2ca876(0x247)][_0x2ca876(0x229)]({'cmd':F[_0x2ca876(0x263)],'routeKey':_0x3e787b,'routeType':'','data':_0x286b00});}catch(_0x14f436){this['_logService']['error'](_0x14f436);}}[_0x51303a(0x17f)](){var _0x5ec6be=_0x51303a,_0x13642c;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x338aa1=_0x1f09;this[_0x338aa1(0x1d5)]=null,this[_0x338aa1(0x31e)][_0x338aa1(0x313)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x13642c=this[_0x5ec6be(0x2c0)][_0x5ec6be(0x2ec)](Si))!=null?_0x13642c:Ei);}[_0x51303a(0x307)](){var _0x164909=_0x51303a;this[_0x164909(0x1d5)]&&(clearTimeout(this[_0x164909(0x1d5)]),this[_0x164909(0x1d5)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x53380e){var _0x59756b=_0x51303a;if(!this[_0x59756b(0x418)])return;const {data:_0x13dc65}=_0x53380e,{unitID:_0x710e46,changeset:_0x10f098}=_0x13dc65,{mutations:_0x4235a2,type:_0x2febab}=_0x10f098;this[_0x59756b(0x39f)]={'unitId':_0x710e46,'type':_0x2febab,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4235a2)};}[_0x51303a(0x17c)](){var _0x44a36e=_0x51303a;if(this['_shouldReportTelemetry']){if(!this[_0x44a36e(0x39f)]){this[_0x44a36e(0x257)][_0x44a36e(0x16e)](_0x44a36e(0x162),_0x44a36e(0x37d));return;}this[_0x44a36e(0x39f)]['stopTime']=performance[_0x44a36e(0x35f)](),this[_0x44a36e(0x39f)][_0x44a36e(0x411)]=this[_0x44a36e(0x39f)][_0x44a36e(0x164)]-this[_0x44a36e(0x39f)][_0x44a36e(0x368)],this[_0x44a36e(0x28f)][_0x44a36e(0x42b)](Vn,this[_0x44a36e(0x39f)]),this[_0x44a36e(0x39f)]=null;}}[_0x51303a(0x1f3)](){var _0x99e134=_0x51303a;this[_0x99e134(0x39f)]=null;}};It=Xn([me(0x2,_0x7c7e3b),me(0x3,_0x197b9e),me(0x4,_0x2a2c27(_0x414916)),me(0x5,_0x2a2c27(xe)),me(0x6,_0x2a2c27(Ri)),me(0x7,_0x2a2c27(pe)),me(0x8,_0x1a8278(_0x27e094))],It);var Zn=Object[_0x51303a(0x281)],Qn=Object[_0x51303a(0x150)],er=(_0x13253b,_0x44ff2e,_0xc135c8,_0x41d4bf)=>{var _0x438b22=_0x51303a;for(var _0xcdbb27=_0x41d4bf>0x1?void 0x0:_0x41d4bf?Qn(_0x44ff2e,_0xc135c8):_0x44ff2e,_0x1d3c98=_0x13253b[_0x438b22(0x2b9)]-0x1,_0x13f99f;_0x1d3c98>=0x0;_0x1d3c98--)(_0x13f99f=_0x13253b[_0x1d3c98])&&(_0xcdbb27=(_0x41d4bf?_0x13f99f(_0x44ff2e,_0xc135c8,_0xcdbb27):_0x13f99f(_0xcdbb27))||_0xcdbb27);return _0x41d4bf&&_0xcdbb27&&Zn(_0x44ff2e,_0xc135c8,_0xcdbb27),_0xcdbb27;},ge=(_0x12c7ec,_0x44639f)=>(_0x5e75fc,_0x4523bf)=>_0x44639f(_0x5e75fc,_0x4523bf,_0x12c7ec);let Le=class extends _0x47cec6{constructor(_0x516698,_0x27958f,_0x230c4f,_0x309ed2,_0x3caa34,_0x1df7ea,_0x565776){var _0x225ab3=_0x51303a;super(),N(this,'_socket$',new _0x5e258f(void 0x0)),N(this,'socket$',this[_0x225ab3(0x272)][_0x225ab3(0x212)]()),N(this,'_candidateSocket',null),N(this,_0x225ab3(0x39d),new Map()),N(this,'_status$',new _0x5e258f(Te[_0x225ab3(0x15f)])),N(this,_0x225ab3(0x3a4),this[_0x225ab3(0x176)][_0x225ab3(0x212)]()),N(this,'_socketReady',!0x1),N(this,_0x225ab3(0x168)),N(this,'_retryCount',0x0),N(this,_0x225ab3(0x18b)),N(this,_0x225ab3(0x2a7)),(this[_0x225ab3(0x1ff)]=_0x516698,this[_0x225ab3(0x257)]=_0x27958f,this['_configService']=_0x230c4f,this['_socketService']=_0x309ed2,this[_0x225ab3(0x42c)]=_0x3caa34,this[_0x225ab3(0x31e)]=_0x1df7ea,this['_networkConditionService']=_0x565776,this[_0x225ab3(0x20c)]());}get[_0x51303a(0x247)](){var _0x318529=_0x51303a;return this[_0x318529(0x272)]['getValue']();}[_0x51303a(0x20c)](){var _0x4b5d16=_0x51303a;this[_0x4b5d16(0x26f)]&&this[_0x4b5d16(0x434)](this[_0x4b5d16(0x26f)]['online$'][_0x4b5d16(0x315)](_0xb9932=>{var _0x3271ab=_0x4b5d16;_0xb9932&&!this[_0x3271ab(0x247)]&&this['reconnect'](),_0xb9932||this['_onOffline']();}));}[_0x51303a(0x421)](){var _0xe0687d=_0x51303a;super[_0xe0687d(0x421)](),this[_0xe0687d(0x39d)][_0xe0687d(0x2ed)](_0x3ae367=>_0x3ae367[_0xe0687d(0x421)]()),this[_0xe0687d(0x39d)][_0xe0687d(0x346)](),this['_status$'][_0xe0687d(0x147)]();}async[_0x51303a(0x193)](_0x43ac7a){var _0x5f1915=_0x51303a;if(this[_0x5f1915(0x39d)][_0x5f1915(0x371)](_0x43ac7a))return this['_sessions']['get'](_0x43ac7a);this[_0x5f1915(0x3eb)]();const _0x5cf153=this[_0x5f1915(0x1ff)][_0x5f1915(0x372)](It,_0x43ac7a,this[_0x5f1915(0x272)][_0x5f1915(0x212)]());return this['_sessions'][_0x5f1915(0x34c)](_0x43ac7a,_0x5cf153),_0x5cf153;}[_0x51303a(0x407)](_0x4a5879){var _0x140312=_0x51303a,_0x1c5b29;const _0x4de70b=this[_0x140312(0x39d)][_0x140312(0x227)](_0x4a5879);_0x4de70b&&(this[_0x140312(0x39d)]['delete'](_0x4a5879),_0x4de70b[_0x140312(0x3cc)]()),this[_0x140312(0x39d)][_0x140312(0x1ad)]||(_0x1c5b29=this[_0x140312(0x247)])==null||_0x1c5b29['close']();}[_0x51303a(0x31a)](){var _0x21f6b8=_0x51303a;this[_0x21f6b8(0x2d5)]=0x0,this[_0x21f6b8(0x168)]!=null&&(clearTimeout(this[_0x21f6b8(0x168)]),this[_0x21f6b8(0x168)]=null),this[_0x21f6b8(0x3d7)]();}async[_0x51303a(0x3f1)](){var _0x4f645b=_0x51303a,_0x3a9135,_0xc3b876,_0x241302;const _0x4afcdd=this['_configService'][_0x4f645b(0x2ec)](q),_0xb1496b=(_0x3a9135=_0x4afcdd==null?void 0x0:_0x4afcdd[_0x4f645b(0x2c3)])!=null?_0x3a9135:On;return(_0x241302=(_0xc3b876=(await this[_0x4f645b(0x42c)][_0x4f645b(0x227)](_0xb1496b,{'headers':{'Content-Type':_0x4f645b(0x437)}}))[_0x4f645b(0x1df)])==null?void 0x0:_0xc3b876[_0x4f645b(0x3e4)])!=null?_0x241302:'';}[_0x51303a(0x217)](_0x413b42){var _0x1b6144=_0x51303a,_0x143efc,_0x333595;const _0x41956b=this[_0x1b6144(0x2c0)][_0x1b6144(0x2ec)](Rn),_0x333725=this['_configService'][_0x1b6144(0x2ec)](q),_0x3fa79b=(_0x333595=(_0x143efc=_0x333725==null?void 0x0:_0x333725[_0x1b6144(0x2ce)])!=null?_0x143efc:_0x41956b)!=null?_0x333595:bn,_0x527294=typeof window>'u'?new URL(_0x3fa79b):new URL(_0x3fa79b,window[_0x1b6144(0x215)][_0x1b6144(0x37f)]);_0x527294[_0x1b6144(0x3ee)][_0x1b6144(0x34c)](_0x1b6144(0x1f2),_0x413b42);const _0x230088=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1b6144(0x215)]['search']);return _0x230088[_0x1b6144(0x227)]('runId')&&_0x527294[_0x1b6144(0x3ee)][_0x1b6144(0x34c)]('runId',_0x230088['get']('runId')),_0x527294[_0x1b6144(0x1d9)]();}async[_0x51303a(0x177)](){var _0x1c6dbc=_0x51303a;const _0x4dff5c=await this[_0x1c6dbc(0x3f1)](),_0x4d5ccd=this[_0x1c6dbc(0x217)](_0x4dff5c),_0x5036d3=this['_socketService']['createSocket'](_0x4d5ccd);return this[_0x1c6dbc(0x2eb)]=_0x5036d3,_0x5036d3;}async['_tryEnsureSocket'](){var _0x1f8fab=_0x51303a,_0x3af82d,_0x19bcb0;try{const _0xe98d7b=(_0x19bcb0=(_0x3af82d=this[_0x1f8fab(0x247)])!=null?_0x3af82d:this[_0x1f8fab(0x2eb)])!=null?_0x19bcb0:await this[_0x1f8fab(0x177)]();if(_0xe98d7b){const _0x42e2ac=_0xe98d7b['send'];_0xe98d7b['send']=_0x3a65b5=>(this[_0x1f8fab(0x449)](),_0x42e2ac[_0x1f8fab(0x277)](_0xe98d7b,[_0x3a65b5])),_0xe98d7b[_0x1f8fab(0x179)]['subscribe'](_0x3f46e5=>this['_onMessage'](_0xe98d7b,_0x3f46e5)),_0xe98d7b[_0x1f8fab(0x344)]['pipe'](_0x1a04c9(0x1))[_0x1f8fab(0x315)](_0x5944af=>this['_logService'][_0x1f8fab(0x16e)](_0x1f8fab(0x15d),_0x5944af)),_0xe98d7b[_0x1f8fab(0x16c)]['pipe'](_0x1a04c9(0x1))[_0x1f8fab(0x315)](()=>{var _0x326730=_0x1f8fab;this[_0x326730(0x2d9)](_0xe98d7b);}),_0xe98d7b[_0x1f8fab(0x27d)][_0x1f8fab(0x380)](_0x1a04c9(0x1))[_0x1f8fab(0x315)](_0x2177d5=>{var _0x59e6f6=_0x1f8fab;this['_logService'][_0x59e6f6(0x1cf)](_0x59e6f6(0x1be),'socket\x20close',_0x2177d5),this[_0x59e6f6(0x381)]();});}}catch(_0x3e0ccf){this[_0x1f8fab(0x257)]['error'](_0x3e0ccf),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x3eda72){var _0x329bd5=_0x51303a;this['_logService'][_0x329bd5(0x1cf)](_0x329bd5(0x1be),_0x329bd5(0x181)),_0x3eda72[_0x329bd5(0x229)]({'cmd':F['HELLO']}),this[_0x329bd5(0x449)]();}['_onOffline'](){var _0xb2cd1b=_0x51303a;this[_0xb2cd1b(0x27f)]=!0x1,this[_0xb2cd1b(0x2eb)]=null,this['_status$']['next'](Te[_0xb2cd1b(0x2dd)]),this['_socket$'][_0xb2cd1b(0x334)](null),this[_0xb2cd1b(0x22a)](),this[_0xb2cd1b(0x308)]();}[_0x51303a(0x381)](){var _0x19f764=_0x51303a,_0x4bf6bd;this['_onOffline'](),this['_retryCount']<((_0x4bf6bd=this[_0x19f764(0x2c0)][_0x19f764(0x2ec)](Pn))!=null?_0x4bf6bd:wn)?(this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x19f764(0x3d7)]()):this[_0x19f764(0x31e)][_0x19f764(0x313)]({'id':se['SOCKET_FAILED']});}[_0x51303a(0x3d7)](){var _0x1e1282=_0x51303a,_0x578f5e;const _0x27d549=this[_0x1e1282(0x2d5)],_0x4a57ca=this[_0x1e1282(0x2c0)][_0x1e1282(0x2ec)](q),_0x13b060=_0x27d549===0x0?0x0:((_0x578f5e=_0x4a57ca==null?void 0x0:_0x4a57ca[_0x1e1282(0x1a1)])!=null?_0x578f5e:Dn)*0x2**_0x27d549;this[_0x1e1282(0x168)]=setTimeout(()=>{var _0x5d8a00=_0x1e1282;clearTimeout(this[_0x5d8a00(0x168)]),this[_0x5d8a00(0x168)]=null,this[_0x5d8a00(0x3eb)]();},_0x13b060),this[_0x1e1282(0x2d5)]+=0x1;}['_onMessage'](_0x425e96,_0xcb53e2){var _0x1dceba=_0x51303a;const {cmd:_0x51b8e9}=_0xcb53e2;_0x51b8e9===F[_0x1dceba(0x204)]&&!this[_0x1dceba(0x27f)]&&(_0x425e96['memberID']=_0xcb53e2[_0x1dceba(0x1cd)][_0x1dceba(0x2e5)],this[_0x1dceba(0x272)][_0x1dceba(0x334)](_0x425e96),this['_status$'][_0x1dceba(0x334)](Te[_0x1dceba(0x3e9)]),this['_socketReady']=!0x0,this[_0x1dceba(0x2eb)]=null),_0x51b8e9===F[_0x1dceba(0x342)]&&this['_clearTimeoutTimer'](),this[_0x1dceba(0x449)]();}[_0x51303a(0x449)](){var _0x31369b=_0x51303a,_0x5ed4b9;this['_clearHeartbeatTimer'](),this[_0x31369b(0x18b)]=setTimeout(()=>this[_0x31369b(0x29f)](),(_0x5ed4b9=this['_configService'][_0x31369b(0x2ec)](yn))!=null?_0x5ed4b9:Nn);}['_sendHeartbeat'](){var _0x25b451=_0x51303a;this[_0x25b451(0x247)][_0x25b451(0x229)]({'cmd':F[_0x25b451(0x342)]}),this[_0x25b451(0x3ea)]();}[_0x51303a(0x3ea)](){var _0x48d717=_0x51303a,_0x5defe8;this['_timeoutTimer']=setTimeout(()=>this[_0x48d717(0x381)](),(_0x5defe8=this['_configService'][_0x48d717(0x2ec)](Si))!=null?_0x5defe8:Ei);}[_0x51303a(0x308)](){var _0x3a10c5=_0x51303a;this[_0x3a10c5(0x18b)]!=null&&(clearTimeout(this[_0x3a10c5(0x18b)]),this[_0x3a10c5(0x18b)]=null);}['_clearTimeoutTimer'](){var _0x3355cf=_0x51303a;this[_0x3355cf(0x2a7)]!=null&&(clearTimeout(this[_0x3355cf(0x2a7)]),this[_0x3355cf(0x2a7)]=null);}};Le=er([ge(0x0,_0x2a2c27(_0x2ac98c)),ge(0x1,_0x7c7e3b),ge(0x2,_0x197b9e),ge(0x3,Ci),ge(0x4,_0x2a2c27(_0x43259a)),ge(0x5,_0x2a2c27(pe)),ge(0x6,_0x1a8278(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x51303a(0x1d9)](0x10)[_0x51303a(0x172)](0x1));function tr(_0x56569e,_0x46407=0x0){var _0x2c05a9=_0x51303a;return(V[_0x56569e[_0x46407+0x0]]+V[_0x56569e[_0x46407+0x1]]+V[_0x56569e[_0x46407+0x2]]+V[_0x56569e[_0x46407+0x3]]+'-'+V[_0x56569e[_0x46407+0x4]]+V[_0x56569e[_0x46407+0x5]]+'-'+V[_0x56569e[_0x46407+0x6]]+V[_0x56569e[_0x46407+0x7]]+'-'+V[_0x56569e[_0x46407+0x8]]+V[_0x56569e[_0x46407+0x9]]+'-'+V[_0x56569e[_0x46407+0xa]]+V[_0x56569e[_0x46407+0xb]]+V[_0x56569e[_0x46407+0xc]]+V[_0x56569e[_0x46407+0xd]]+V[_0x56569e[_0x46407+0xe]]+V[_0x56569e[_0x46407+0xf]])[_0x2c05a9(0x2c4)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x31bb9c=_0x51303a;if(!ut){if(typeof crypto>'u'||!crypto[_0x31bb9c(0x1dd)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x31bb9c(0x1dd)][_0x31bb9c(0x1af)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x51303a(0x2d2)]&&crypto[_0x51303a(0x2d2)][_0x51303a(0x1af)](crypto),qt={'randomUUID':rr};function sr(_0x44f6c2,_0x28ddb6,_0x563757){var _0x4b57aa=_0x51303a,_0x3b3813,_0x5ab98a,_0x50a85a;if(qt[_0x4b57aa(0x2d2)]&&!_0x44f6c2)return qt[_0x4b57aa(0x2d2)]();_0x44f6c2=_0x44f6c2||{};const _0x43e4af=(_0x50a85a=(_0x5ab98a=_0x44f6c2['random'])!=null?_0x5ab98a:(_0x3b3813=_0x44f6c2['rng'])==null?void 0x0:_0x3b3813[_0x4b57aa(0x270)](_0x44f6c2))!=null?_0x50a85a:nr();if(_0x43e4af[_0x4b57aa(0x2b9)]<0x10)throw new Error(_0x4b57aa(0x226));return _0x43e4af[0x6]=_0x43e4af[0x6]&0xf|0x40,_0x43e4af[0x8]=_0x43e4af[0x8]&0x3f|0x80,tr(_0x43e4af);}const J=_0x32ae6a(_0x51303a(0x255));function so(_0x4f549d){var _0x2eda7b=_0x51303a;return _0x2eda7b(0x1fd)+_0x4f549d;}var or=Object[_0x51303a(0x281)],ar=Object[_0x51303a(0x150)],cr=(_0x415712,_0x36cda9,_0x4d29a2,_0x4459c6)=>{for(var _0x3743d7=_0x4459c6>0x1?void 0x0:_0x4459c6?ar(_0x36cda9,_0x4d29a2):_0x36cda9,_0xfa2918=_0x415712['length']-0x1,_0x510d80;_0xfa2918>=0x0;_0xfa2918--)(_0x510d80=_0x415712[_0xfa2918])&&(_0x3743d7=(_0x4459c6?_0x510d80(_0x36cda9,_0x4d29a2,_0x3743d7):_0x510d80(_0x3743d7))||_0x3743d7);return _0x4459c6&&_0x3743d7&&or(_0x36cda9,_0x4d29a2,_0x3743d7),_0x3743d7;},dt=(_0x4fb969,_0xf529bb)=>(_0x272c67,_0x5d7894)=>_0xf529bb(_0x272c67,_0x5d7894,_0x4fb969);function hr(_0x5e9b62){var _0x24811a=_0x51303a;const {unitID:_0x501c8d,mutations:_0x3d5ffb}=_0x5e9b62;return{'unitId':_0x501c8d,'subUnitId':_0x3d5ffb[0x0]['params'][_0x24811a(0x3d4)]};}let it=class{constructor(_0x1478fc,_0x566759,_0xcccdbb){var _0x40a5e5=_0x51303a;this[_0x40a5e5(0x1ff)]=_0x1478fc,this[_0x40a5e5(0x223)]=_0x566759,this['_instanceService']=_0xcccdbb;}[_0x51303a(0x24f)](_0x238104){var _0x23a15a=_0x51303a,_0xd5b635,_0x44775d,_0x566d98,_0x27236a;const _0x22d23c=this[_0x23a15a(0x1ff)][_0x23a15a(0x227)](_0x112b24),{unitId:_0x265b78,subUnitId:_0x3c3cc2}=hr(_0x238104),_0x4f6152=_0x22d23c==null?void 0x0:_0x22d23c[_0x23a15a(0x3dc)](_0x265b78)[_0x23a15a(0x431)](),_0x52b145=(_0x44775d=(_0xd5b635=this[_0x23a15a(0x43f)]['getUnit'](_0x265b78))==null?void 0x0:_0xd5b635[_0x23a15a(0x420)]())==null?void 0x0:_0x44775d[_0x23a15a(0x324)]();if(_0x4f6152['length']===0x0||!_0x265b78||!_0x3c3cc2)return;const _0xa42453=[{'id':_0xf5e32b['id'],'params':{'unitId':_0x265b78,'subUnitId':_0x52b145,'selections':_0x299834[_0x23a15a(0x35b)](_0x4f6152)}}],_0x570aae=this['_transformService'][_0x23a15a(0x405)](_0x238104,_0xa42453);if(!_0x122f14(_0x570aae))throw _0x570aae[_0x23a15a(0x16e)];const _0x1640f8=(_0x27236a=(_0x566d98=_0x570aae['m2Prime'][0x0])==null?void 0x0:_0x566d98[_0x23a15a(0x1b5)])==null?void 0x0:_0x27236a[_0x23a15a(0x362)];if(Array[_0x23a15a(0x3e6)](_0x1640f8)&&_0x1640f8[_0x23a15a(0x2b9)]){if(_0x1640f8[_0x23a15a(0x2b9)]===_0xa42453[0x0][_0x23a15a(0x1b5)][_0x23a15a(0x362)][_0x23a15a(0x2b9)]&&_0x1640f8['every']((_0x10d5ee,_0x365877)=>_0x81784f['equals'](_0x10d5ee[_0x23a15a(0x3d9)],_0xa42453[0x0]['params'][_0x23a15a(0x362)][_0x365877][_0x23a15a(0x3d9)])))return;this[_0x23a15a(0x1ff)][_0x23a15a(0x227)](_0x5c01af)[_0x23a15a(0x252)](_0xf5e32b['id'],{'unitId':_0x265b78,'subUnitId':_0x52b145,'selections':_0x1640f8});}}};it=cr([dt(0x0,_0x2a2c27(_0x2ac98c)),dt(0x1,_0x1aa332),dt(0x2,_0xd9ad76)],it);const ht=_0x32ae6a(_0x51303a(0x25f));var bi=(_0x4766b5=>(_0x4766b5[_0x4766b5[_0x51303a(0x2c9)]=0x0]=_0x51303a(0x2c9),_0x4766b5[_0x4766b5[_0x51303a(0x151)]=0x1]='OTHER_CLIENTS_EDITING',_0x4766b5))(bi||{});const _r=new Set([_0x2ce3d3['id']]);function zt(_0x966489,_0x4a7023,_0x24daa4,_0x358e1f,_0x36f52d){var _0x5518ba=_0x51303a,_0x51b7df,_0x5acab8,_0x15978c,_0x467244;const _0x29a3b7=[];for(const _0x1bb17d of _0x966489)if(_r[_0x5518ba(0x371)](_0x1bb17d['id'])){if(_0x29a3b7[_0x5518ba(0x2b9)]>0x0)break;_0x29a3b7[_0x5518ba(0x1c9)](_0x1bb17d);break;}else _0x29a3b7[_0x5518ba(0x1c9)](_0x1bb17d);const _0x19dc50=(_0x5acab8=(_0x51b7df=_0x36f52d[_0x5518ba(0x432)]())==null?void 0x0:_0x51b7df['userID'])!=null?_0x5acab8:_0x5518ba(0x326),_0xeda030=(_0x467244=(_0x15978c=_0x36f52d[_0x5518ba(0x432)]())==null?void 0x0:_0x15978c[_0x5518ba(0x2e5)])!=null?_0x467244:_0x5518ba(0x326);return{'changeset':{'unitID':_0x4a7023,'type':_0x24f5bb(_0x24daa4[_0x5518ba(0x291)](_0x4a7023)),'baseRev':_0x358e1f['getCurrentRevOfUnit'](_0x4a7023),'revision':0x0,'userID':_0x19dc50,'memberID':_0xeda030,'mutations':_0x29a3b7},'pendingMutations':_0x966489[_0x5518ba(0x172)](_0x29a3b7[_0x5518ba(0x2b9)])};}function lr(_0x4fac70,_0x109b19,_0x11a001,_0x276c24,_0x387b8d){var _0x33af34=_0x51303a,_0x456cce,_0x49496d,_0x4b9bad,_0x4de248;const _0x2a85d5=[_0x4fac70['reduce']((_0x21bf4d,_0x48d41b)=>{var _0x55e860=_0x1f09,_0x26ae55;const {id:_0x4156f6}=_0x21bf4d,{id:_0x116d76,type:_0x583fe4}=_0x48d41b,_0x6f1fcc=(_0x26ae55=_0x21bf4d[_0x55e860(0x1b5)])!=null?_0x26ae55:{'actions':null},_0xb30497=_0x48d41b[_0x55e860(0x1b5)];if(_0x4156f6&&_0x4156f6!==_0x116d76)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4156f6+_0x55e860(0x304)+_0x116d76+'.');return{..._0x21bf4d,'id':_0x116d76,'type':_0x583fe4,'params':{'unitId':_0xb30497['unitId'],'textRanges':_0xb30497['textRanges'],'actions':_0x8c9ea0[_0x55e860(0x15b)](_0x6f1fcc[_0x55e860(0x398)],_0xb30497[_0x55e860(0x398)])}};},{})],_0x56dba8=(_0x49496d=(_0x456cce=_0x387b8d['getCurrentUser']())==null?void 0x0:_0x456cce[_0x33af34(0x433)])!=null?_0x49496d:_0x33af34(0x326),_0x22ee91=(_0x4de248=(_0x4b9bad=_0x387b8d[_0x33af34(0x432)]())==null?void 0x0:_0x4b9bad[_0x33af34(0x2e5)])!=null?_0x4de248:_0x33af34(0x326);return{'changeset':{'unitID':_0x109b19,'type':_0x24f5bb(_0x11a001['getUnitType'](_0x109b19)),'baseRev':_0x276c24[_0x33af34(0x1de)](_0x109b19),'revision':0x0,'userID':_0x56dba8,'memberID':_0x22ee91,'mutations':_0x2a85d5},'pendingMutations':[]};}function Oi(_0x544383,_0x3114dc){var _0x1a1a8c=_0x51303a;const _0x3b25ed=new _0x5d8dc9(0x1);return setTimeout(()=>_0x3b25ed['next'](_0x3114dc),_0x544383),_0x3b25ed[_0x1a1a8c(0x212)]()[_0x1a1a8c(0x380)](_0x81314e(0x1));}const ur={'id':_0x8ec12b['id'],'type':_0x42bf5d[_0x51303a(0x1fb)],'params':{}};var dr=Object[_0x51303a(0x281)],fr=Object[_0x51303a(0x150)],Re=(_0x1e248d,_0x10d496,_0x212998,_0x30081a)=>{var _0x4dbc65=_0x51303a;for(var _0x13b5ce=_0x30081a>0x1?void 0x0:_0x30081a?fr(_0x10d496,_0x212998):_0x10d496,_0x11bfe5=_0x1e248d[_0x4dbc65(0x2b9)]-0x1,_0x3de7b8;_0x11bfe5>=0x0;_0x11bfe5--)(_0x3de7b8=_0x1e248d[_0x11bfe5])&&(_0x13b5ce=(_0x30081a?_0x3de7b8(_0x10d496,_0x212998,_0x13b5ce):_0x3de7b8(_0x13b5ce))||_0x13b5ce);return _0x30081a&&_0x13b5ce&&dr(_0x10d496,_0x212998,_0x13b5ce),_0x13b5ce;},A=(_0x3b0330,_0x75b90a)=>(_0x195dcb,_0xcda67c)=>_0x75b90a(_0x195dcb,_0xcda67c,_0x3b0330),yi=(_0x58a0d4=>(_0x58a0d4[_0x51303a(0x329)]='not_collab',_0x58a0d4[_0x51303a(0x39c)]=_0x51303a(0x20e),_0x58a0d4['PENDING']=_0x51303a(0x15c),_0x58a0d4['AWAITING']='awaiting',_0x58a0d4[_0x51303a(0x41d)]=_0x51303a(0x1fe),_0x58a0d4[_0x51303a(0x343)]=_0x51303a(0x206),_0x58a0d4[_0x51303a(0x30e)]=_0x51303a(0x210),_0x58a0d4[_0x51303a(0x2dd)]=_0x51303a(0x3f2),_0x58a0d4))(yi||{});const Ni=0xea60;class be{constructor(_0x35b943,_0xa195cd,_0x5d34ef,_0x4eb19c,_0x3cfc91,_0x47435e,_0x198810,_0x27693e,_0x3b7da9){var _0x4da3a2=_0x51303a;N(this,_0x4da3a2(0x3cf),null),N(this,_0x4da3a2(0x1ea),[]),(this[_0x4da3a2(0x40d)]=_0x35b943,this[_0x4da3a2(0x390)]=_0xa195cd,this['_handler']=_0x3cfc91,this[_0x4da3a2(0x321)]=_0x47435e,this[_0x4da3a2(0x448)]=_0x198810,this['_revisionService']=_0x27693e,this[_0x4da3a2(0x303)]=_0x3b7da9,this['_awaitingChangeset']=_0x5d34ef,this[_0x4da3a2(0x1ea)]=_0x4eb19c);}['_checkMissing'](_0x15ee1a){var _0x499a12=_0x51303a;const _0x7f790d=this['_revisionService'][_0x499a12(0x1de)](this[_0x499a12(0x40d)]);return _0x15ee1a['revision']>_0x7f790d+0x1?(this[_0x499a12(0x392)][_0x499a12(0x3f4)]({'from':_0x7f790d,'to':_0x15ee1a[_0x499a12(0x1db)]-0x1}),!0x0):!0x1;}[_0x51303a(0x2e4)](_0x5dd6e0){var _0x376d92=_0x51303a;this[_0x376d92(0x448)][_0x376d92(0x2ad)](this[_0x376d92(0x40d)],_0x5dd6e0);}[_0x51303a(0x2d3)](_0x6af358){var _0x24242b=_0x51303a,_0x4b816a,_0x1863ca;(_0x1863ca=(_0x4b816a=this[_0x24242b(0x392)])[_0x24242b(0x1d7)])==null||_0x1863ca[_0x24242b(0x270)](_0x4b816a,_0x6af358);}[_0x51303a(0x2ab)](_0x1e5c74){var _0x2316a6=_0x51303a,_0x2c458b,_0x419bd5;return(_0x419bd5=(_0x2c458b=this[_0x2316a6(0x392)])[_0x2316a6(0x32c)])==null?void 0x0:_0x419bd5[_0x2316a6(0x270)](_0x2c458b,_0x1e5c74);}[_0x51303a(0x21d)](_0x5562fa){var _0x54249d=_0x51303a,_0x3379e4,_0x35e556;return(_0x35e556=(_0x3379e4=this[_0x54249d(0x392)])[_0x54249d(0x3a0)])==null?void 0x0:_0x35e556[_0x54249d(0x270)](_0x3379e4,_0x5562fa);}[_0x51303a(0x286)](_0x4c532c){var _0xcc1a74=_0x51303a,_0x1ff344,_0x496682,_0x594387;return(_0x594387=(_0x496682=(_0x1ff344=this['_handler'])[_0xcc1a74(0x1e2)])==null?void 0x0:_0x496682[_0xcc1a74(0x270)](_0x1ff344,_0x4c532c))!=null?_0x594387:_0x4c532c;}[_0x51303a(0x191)](_0x15d1ba){var _0x2fa108=_0x51303a,_0x19e02e,_0x517f2e,_0x287b1d;return(_0x287b1d=(_0x517f2e=(_0x19e02e=this[_0x2fa108(0x392)])[_0x2fa108(0x36a)])==null?void 0x0:_0x517f2e[_0x2fa108(0x270)](_0x19e02e,_0x15d1ba))!=null?_0x287b1d:_0x15d1ba;}[_0x51303a(0x2d0)](_0x5cbf04){var _0x5107d3=_0x51303a,_0x4d8686,_0x4d2d8f;if(this[_0x5107d3(0x390)]===Q['UNIVER_DOC']){const {unitID:_0x27293c,mutations:_0x3bddab,memberID:_0x3ac773}=_0x5cbf04,_0x5c285f=_0x3bddab[0x0][_0x5107d3(0x1b5)][_0x5107d3(0x336)];Array['isArray'](_0x5c285f)&&_0x5c285f[_0x5107d3(0x2b9)]>0x0&&((_0x4d2d8f=(_0x4d8686=this[_0x5107d3(0x392)])[_0x5107d3(0x161)])==null||_0x4d2d8f[_0x5107d3(0x270)](_0x4d8686,{'unitID':_0x27293c,'memberID':_0x3ac773,'textRanges':_0x5c285f}));}}[_0x51303a(0x3d2)](){var _0x25417a=_0x51303a,_0x394cb1;(_0x394cb1=this[_0x25417a(0x303)])==null||_0x394cb1['updateOfflineData'](this[_0x25417a(0x40d)],this[_0x25417a(0x390)],this[_0x25417a(0x3cf)],this[_0x25417a(0x1ea)]);}[_0x51303a(0x2f5)](){var _0x33ff9e=_0x51303a;return this[_0x33ff9e(0x3e1)][_0x33ff9e(0x1de)](this['unitID']);}[_0x51303a(0x3a2)](){var _0x1d1cfe=_0x51303a;this['_revisionService'][_0x1d1cfe(0x2ff)](this[_0x1d1cfe(0x40d)]);}[_0x51303a(0x1a3)](_0x2ec1e1){var _0x5af713=_0x51303a,_0x4144ce;let _0x2105ea=this[_0x5af713(0x286)](_0x2ec1e1);_0x2105ea=this['_transformRemoteChangesetByStateCache'](_0x2105ea);const _0x518a12=_0x26a0b3(_0x2105ea[_0x5af713(0x325)],this[_0x5af713(0x321)],{'fromCollab':!0x0});if(!_0x518a12[_0x5af713(0x2cf)])throw _0x518a12[_0x5af713(0x16e)]instanceof Error?_0x518a12[_0x5af713(0x16e)]:new Error((_0x4144ce=_0x518a12['error'])!=null?_0x4144ce:_0x5af713(0x1eb));this[_0x5af713(0x2ab)](_0x2105ea),this[_0x5af713(0x21d)](_0x2105ea),this[_0x5af713(0x2e4)](_0x2ec1e1),this['_transformSelections'](_0x2105ea),this['_syncEditingCollabCursor'](_0x2105ea),this[_0x5af713(0x3a2)]();}}let De=class extends be{constructor(_0x4f0fe4,_0x19b554,_0x19f71e,_0x34c565,_0x1d096a,_0x5df649,_0xc2e9e3,_0x2c3c9d,_0x3598c2,_0x796c47){var _0xc5aabf=_0x51303a;super(_0x4f0fe4,_0x19b554,null,[],_0x19f71e,_0xc2e9e3,_0x5df649,_0x34c565,_0x796c47),N(this,_0xc5aabf(0x3c2),'synced'),(this[_0xc5aabf(0x1ff)]=_0x1d096a,this[_0xc5aabf(0x257)]=_0x2c3c9d,this[_0xc5aabf(0x223)]=_0x3598c2,this[_0xc5aabf(0x19c)]=_0x796c47);}['appendMutation'](_0x203d32){var _0x4486d2=_0x51303a;const _0x44db0d=this[_0x4486d2(0x1ff)]['createInstance'](oe,this[_0x4486d2(0x40d)],this['type'],[_0x203d32],this['_handler']);return _0x44db0d[_0x4486d2(0x1d0)](),_0x44db0d['_updateLocalCache'](),_0x44db0d;}['onRemoteChangeset'](_0x1fae49){var _0x4e4b4e=_0x51303a;if(this[_0x4e4b4e(0x38f)](_0x1fae49))return this[_0x4e4b4e(0x1ff)][_0x4e4b4e(0x372)](te,this[_0x4e4b4e(0x40d)],this[_0x4e4b4e(0x390)],null,[],null,[_0x1fae49],this[_0x4e4b4e(0x392)]);try{const _0x32db3b=this[_0x4e4b4e(0x223)][_0x4e4b4e(0x405)](_0x1fae49,[ur]);if(_0x122f14(_0x32db3b)){const {c1Prime:_0x7ff38}=_0x32db3b;return this['_executeRemoteChangeset'](_0x7ff38),this;}throw _0x32db3b[_0x4e4b4e(0x16e)];}catch(_0x30df32){return this[_0x4e4b4e(0x257)]['error'](_0x30df32),this['_onConflict'](!0x1);}}['_onConflict'](_0x57ecda){var _0x300ee8=_0x51303a;return this[_0x300ee8(0x1ff)][_0x300ee8(0x372)](de,this[_0x300ee8(0x40d)],this[_0x300ee8(0x390)],null,[],this[_0x300ee8(0x392)],_0x57ecda);}[_0x51303a(0x3bd)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5d461f=_0x51303a;throw new Error(_0x5d461f(0x1ba));}['onRemoteRetry'](){return this;}[_0x51303a(0x37a)](){var _0x2e45c6=_0x51303a;return this['_injector']['createInstance'](fe,this[_0x2e45c6(0x40d)],this[_0x2e45c6(0x390)],null,[],this[_0x2e45c6(0x392)]);}[_0x51303a(0x267)](){return this;}['resend'](){var _0x132dcb=_0x51303a;throw new Error(_0x132dcb(0x29e));}['fetchMiss'](){var _0x2c5fcf=_0x51303a;const _0x5682b0=this['_revisionService'][_0x2c5fcf(0x1de)](this[_0x2c5fcf(0x40d)]);return this['_handler'][_0x2c5fcf(0x3f4)]({'from':_0x5682b0,'to':0x0}),this[_0x2c5fcf(0x1ff)][_0x2c5fcf(0x372)](te,this[_0x2c5fcf(0x40d)],this[_0x2c5fcf(0x390)],null,[],null,[],this[_0x2c5fcf(0x392)]);}};De=Re([A(0x3,_0x2a2c27(_0x408fec)),A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x277f73),A(0x6,_0x5c01af),A(0x7,_0x7c7e3b),A(0x8,_0x1aa332),A(0x9,_0x1a8278(J))],De);let oe=class extends be{constructor(_0x4929d6,_0x59169d,_0x34322a,_0x2961ba,_0x346726,_0x1e35ee,_0x4f02d3,_0x274e94,_0x4b837f,_0x381057,_0x16a804,_0x2e56a5,_0x36f275,_0x5ccc39){var _0xe747a=_0x51303a;super(_0x4929d6,_0x59169d,null,_0x34322a,_0x2961ba,_0x4b837f,_0x36f275,_0x1e35ee,_0x5ccc39),N(this,_0xe747a(0x3c2),_0xe747a(0x15c)),N(this,_0xe747a(0x3a1),null),N(this,_0xe747a(0x361),null),(this[_0xe747a(0x1ff)]=_0x346726,this['_memberService']=_0x4f02d3,this[_0xe747a(0x257)]=_0x274e94,this['_configService']=_0x381057,this[_0xe747a(0x223)]=_0x16a804,this[_0xe747a(0x365)]=_0x2e56a5);}['appendMutation'](_0x1eb7fd){var _0x34c7ac=_0x51303a;return this['_pendingMutations']['push'](_0x1eb7fd),this[_0x34c7ac(0x3d2)](),this;}[_0x51303a(0x33d)](_0x774b4b){var _0x392f28=_0x51303a;if(this['_checkMissing'](_0x774b4b))return this[_0x392f28(0x26a)](),this['_injector']['createInstance'](te,this[_0x392f28(0x40d)],this[_0x392f28(0x390)],null,this[_0x392f28(0x1ea)],null,[_0x774b4b],this[_0x392f28(0x392)]);try{const _0x1e0534=this[_0x392f28(0x223)]['transformMutationsWithChangeset'](_0x774b4b,this['_pendingMutations']);if(_0x122f14(_0x1e0534)){const {c1Prime:_0x281fa3,m2Prime:_0x1dc4d2}=_0x1e0534;this[_0x392f28(0x1a3)](_0x281fa3);const _0x14a32c=this['_injector'][_0x392f28(0x372)](oe,this[_0x392f28(0x40d)],this[_0x392f28(0x390)],_0x1dc4d2,this[_0x392f28(0x392)]);this[_0x392f28(0x26a)]();const _0x59021c=new Date()[_0x392f28(0x198)](),_0x22368c=this[_0x392f28(0x3a1)]?Math[_0x392f28(0x298)](this[_0x392f28(0x3a1)]-_0x59021c,0x0):this[_0x392f28(0x248)]();return _0x14a32c[_0x392f28(0x1d0)](_0x22368c),_0x14a32c;}throw _0x1e0534[_0x392f28(0x16e)];}catch(_0x47b35a){return this[_0x392f28(0x257)]['error'](_0x47b35a),this[_0x392f28(0x14c)](!0x1);}}['onRemoteAck'](){var _0x25abcf=_0x51303a;throw new Error(_0x25abcf(0x39b));}[_0x51303a(0x216)](){var _0x9e647e=_0x51303a;throw new Error(_0x9e647e(0x1c6));}[_0x51303a(0x18d)](){return this;}[_0x51303a(0x37a)](){var _0x2cfe0c=_0x51303a;return this['_clearScheduledTask'](),this['_injector']['createInstance'](fe,this[_0x2cfe0c(0x40d)],this[_0x2cfe0c(0x390)],null,this[_0x2cfe0c(0x1ea)],this[_0x2cfe0c(0x392)]);}['toggleOnline'](){return this;}[_0x51303a(0x1d0)](_0x4a5c3a){var _0x4ac5ad=_0x51303a;const _0x9c4e25=_0x4a5c3a!=null?_0x4a5c3a:this[_0x4ac5ad(0x248)]();this['_scheduleCompleteTimestamp']=new Date()[_0x4ac5ad(0x198)]()+_0x9c4e25,this['_sendingTimer']=setTimeout(()=>{var _0x346adf=_0x4ac5ad;this[_0x346adf(0x26a)]();let _0x4cb6e3=null;switch(this[_0x346adf(0x390)]){case Q[_0x346adf(0x43d)]:{_0x4cb6e3=zt(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this[_0x346adf(0x365)],this[_0x346adf(0x3e1)],this[_0x346adf(0x3b9)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x346adf(0x351)](_0x22e488=>_0x22e488['id']===_0x4e9af9['id'])?_0x4cb6e3=lr(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this['_univerInstanceService'],this[_0x346adf(0x3e1)],this['_memberService']):_0x4cb6e3=zt(this[_0x346adf(0x1ea)],this[_0x346adf(0x40d)],this['_univerInstanceService'],this[_0x346adf(0x3e1)],this[_0x346adf(0x3b9)]);break;}default:throw new Error(_0x346adf(0x331)+this[_0x346adf(0x390)]+_0x346adf(0x1ac));}const {changeset:_0x4fa4aa,pendingMutations:_0x755937}=_0x4cb6e3;this['_handler'][_0x346adf(0x3f7)](_0x4fa4aa);const _0x297c0e=_0x755937[_0x346adf(0x2b9)]?this[_0x346adf(0x1ff)][_0x346adf(0x372)](ae,this[_0x346adf(0x40d)],this[_0x346adf(0x390)],_0x4fa4aa,_0x755937,this[_0x346adf(0x392)],void 0x0):this[_0x346adf(0x1ff)][_0x346adf(0x372)](ue,this[_0x346adf(0x40d)],this[_0x346adf(0x390)],_0x4fa4aa,this['_handler']);_0x297c0e['_updateLocalCache'](),this[_0x346adf(0x392)][_0x346adf(0x30f)](this,_0x297c0e);},_0x9c4e25);}[_0x51303a(0x248)](){var _0x3f69a7=_0x51303a,_0x353088;const _0x9c1233=this[_0x3f69a7(0x2c0)]['getConfig'](q);return(_0x353088=_0x9c1233==null?void 0x0:_0x9c1233[_0x3f69a7(0x350)])!=null?_0x353088:Cn;}[_0x51303a(0x39e)](){var _0x37469d=_0x51303a;throw new Error(_0x37469d(0x2c5));}[_0x51303a(0x26a)](){var _0x3af469=_0x51303a;this[_0x3af469(0x361)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3af469(0x361)]=null);}['_onConflict'](_0x591ef1){var _0x2e696e=_0x51303a;return this[_0x2e696e(0x26a)](),this[_0x2e696e(0x1ff)][_0x2e696e(0x372)](de,this[_0x2e696e(0x40d)],this[_0x2e696e(0x390)],null,this[_0x2e696e(0x1ea)],this['_handler'],_0x591ef1);}};oe=Re([A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x2a2c27(_0x408fec)),A(0x6,_0x2a2c27(xe)),A(0x7,_0x7c7e3b),A(0x8,_0x5c01af),A(0x9,_0x197b9e),A(0xa,_0x1aa332),A(0xb,_0xd9ad76),A(0xc,_0x277f73),A(0xd,_0x1a8278(J))],oe);let ue=class extends be{constructor(_0x67f95f,_0x45e468,_0x24fde8,_0x34900b,_0x3d8e1b,_0x5d2f37,_0x30072e,_0x4215ca,_0xcd4fc0,_0x1403e1,_0x476fbc){var _0x3e49fe=_0x51303a;super(_0x67f95f,_0x45e468,_0x24fde8,[],_0x34900b,_0x30072e,_0x1403e1,_0x5d2f37,_0x476fbc),N(this,_0x3e49fe(0x3c2),_0x3e49fe(0x312)),N(this,_0x3e49fe(0x275),0x0),N(this,_0x3e49fe(0x155)),N(this,_0x3e49fe(0x28a)),(this[_0x3e49fe(0x1ff)]=_0x3d8e1b,this['_logService']=_0x4215ca,this[_0x3e49fe(0x223)]=_0xcd4fc0);}['appendMutation'](_0x102dd4){var _0x2bdad5=_0x51303a;this[_0x2bdad5(0x26a)]();const _0x370b7d=this[_0x2bdad5(0x1ff)][_0x2bdad5(0x372)](ae,this[_0x2bdad5(0x40d)],this[_0x2bdad5(0x390)],this[_0x2bdad5(0x3cf)],[_0x102dd4],this['_handler'],this['_resendTimer']);return _0x370b7d['_updateLocalCache'](),_0x370b7d;}[_0x51303a(0x33d)](_0x3f31ee){var _0x3af78a=_0x51303a;if(this[_0x3af78a(0x38f)](_0x3f31ee))return this[_0x3af78a(0x26a)](),this[_0x3af78a(0x1ff)][_0x3af78a(0x372)](te,this[_0x3af78a(0x40d)],this[_0x3af78a(0x390)],this[_0x3af78a(0x3cf)],[],null,[_0x3f31ee],this[_0x3af78a(0x392)]);try{const _0x5e80be=this[_0x3af78a(0x223)][_0x3af78a(0x335)]([_0x3f31ee],[this[_0x3af78a(0x3cf)]],!0x1);if(_0x4d0c02(_0x5e80be)){const {c1Prime:_0x46694e,c2Prime:_0x583391}=_0x5e80be;this['_executeRemoteChangeset'](_0x46694e[0x0]),_0x583391[0x0][_0x3af78a(0x2fc)]=this['_getCurrentRevision'](),this[_0x3af78a(0x26a)]();const _0x55be63=this[_0x3af78a(0x1ff)][_0x3af78a(0x372)](ue,this[_0x3af78a(0x40d)],this[_0x3af78a(0x390)],_0x583391[0x0],this[_0x3af78a(0x392)]);return _0x55be63[_0x3af78a(0x3d2)](),_0x55be63;}return this['_onConflict'](!0x1);}catch(_0x3edfbe){return this[_0x3af78a(0x257)][_0x3af78a(0x16e)](_0x3edfbe),this[_0x3af78a(0x14c)](!0x1);}}['onRemoteAck'](_0x5d77a4){var _0x2f3188=_0x51303a;this[_0x2f3188(0x26a)]();const _0x110b0f=this[_0x2f3188(0x3e1)][_0x2f3188(0x1de)](this[_0x2f3188(0x40d)]);if(_0x5d77a4[_0x2f3188(0x1db)]<_0x110b0f-0x1)return this;if(this[_0x2f3188(0x38f)](_0x5d77a4))return this[_0x2f3188(0x1ff)][_0x2f3188(0x372)](te,this[_0x2f3188(0x40d)],this[_0x2f3188(0x390)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x2f3188(0x3a2)]();const _0x5e5b25=this[_0x2f3188(0x1ff)][_0x2f3188(0x372)](De,this[_0x2f3188(0x40d)],this['type'],this[_0x2f3188(0x392)]);return _0x5e5b25[_0x2f3188(0x3d2)](),_0x5e5b25;}[_0x51303a(0x216)](_0x50fb2b){var _0x54ae03=_0x51303a;return this[_0x54ae03(0x14c)](!!(_0x50fb2b!=null&&_0x50fb2b[_0x54ae03(0x18a)]));}['onRemoteRetry'](_0x1e1028){var _0x26d5f2=_0x51303a;return this[_0x26d5f2(0x275)]>Ni?this[_0x26d5f2(0x37a)]():(this[_0x26d5f2(0x155)]=Oi(this[_0x26d5f2(0x275)],{'timeout':this['_resendTimeout'],'reqId':_0x1e1028[_0x26d5f2(0x24c)]}),this['_sender']=this[_0x26d5f2(0x155)][_0x26d5f2(0x315)](({reqId:_0x467dcd,timeout:_0x1b0605})=>{var _0x29162c=_0x26d5f2;this[_0x29162c(0x2f6)](_0x467dcd,_0x1b0605);}),this);}[_0x51303a(0x37a)](){var _0x2e69cd=_0x51303a;return this[_0x2e69cd(0x26a)](),this[_0x2e69cd(0x1ff)][_0x2e69cd(0x372)](fe,this['unitID'],this[_0x2e69cd(0x390)],this[_0x2e69cd(0x3cf)],[],this[_0x2e69cd(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x2ecc53=_0x51303a;this['_handler'][_0x2ecc53(0x3f7)](this[_0x2ecc53(0x3cf)]);}['_onConflict'](_0x306b8c){var _0x3ed88a=_0x51303a;return this['_clearScheduledTask'](),this[_0x3ed88a(0x1ff)]['createInstance'](de,this[_0x3ed88a(0x40d)],this[_0x3ed88a(0x390)],this['_awaitingChangeset'],[],this[_0x3ed88a(0x392)],_0x306b8c);}['_resendWithTimeout'](_0x5552cd,_0x5c8635){var _0x322889=_0x51303a,_0x3cdaa9;_0x5552cd===((_0x3cdaa9=this[_0x322889(0x3cf)])==null?void 0x0:_0x3cdaa9[_0x322889(0x24c)])&&(this[_0x322889(0x39e)](),this['_resendTimeout']=_0x5c8635===0x0?0x3e8:_0x5c8635*0x2);}[_0x51303a(0x26a)](){var _0x136315=_0x51303a,_0x468895;(_0x468895=this[_0x136315(0x28a)])==null||_0x468895[_0x136315(0x29d)](),this[_0x136315(0x275)]=0x0;}};ue=Re([A(0x4,_0x2a2c27(_0x2ac98c)),A(0x5,_0x2a2c27(_0x408fec)),A(0x6,_0x5c01af),A(0x7,_0x7c7e3b),A(0x8,_0x1aa332),A(0x9,_0x277f73),A(0xa,_0x1a8278(J))],ue);let ae=class extends be{constructor(_0x5d8e6a,_0x405566,_0x219605,_0x3eefe2,_0xc58151,_0x2feab4,_0x1ccc38,_0x5bfb8d,_0x474c4c,_0x3fb970,_0x596eea,_0xeaaf7c,_0x591746){var _0x2d7b10=_0x51303a;super(_0x5d8e6a,_0x405566,_0x219605,_0x3eefe2,_0xc58151,_0x474c4c,_0xeaaf7c,_0x5bfb8d,_0x591746),N(this,'status',_0x2d7b10(0x1fe)),N(this,_0x2d7b10(0x275),0x0),N(this,'_resendTimer'),N(this,_0x2d7b10(0x28a)),(this[_0x2d7b10(0x1ff)]=_0x1ccc38,this[_0x2d7b10(0x257)]=_0x3fb970,this[_0x2d7b10(0x223)]=_0x596eea,this['localCacheService']=_0x591746,_0x2feab4&&(this[_0x2d7b10(0x155)]=_0x2feab4,this[_0x2d7b10(0x28a)]=this['_resendTimer'][_0x2d7b10(0x315)](({reqId:_0x3510ed,timeout:_0x4026d9})=>{this['_resendWithTimeout'](_0x3510ed,_0x4026d9);})));}[_0x51303a(0x3e7)](_0x139d55){return this['_pendingMutations']['push'](_0x139d55),this;}[_0x51303a(0x33d)](_0x5c1a7){var _0x2e381a=_0x51303a;if(this[_0x2e381a(0x38f)](_0x5c1a7))return this[_0x2e381a(0x26a)](),this['_injector']['createInstance'](te,this['unitID'],this['type'],this[_0x2e381a(0x3cf)],this[_0x2e381a(0x1ea)],null,[_0x5c1a7],this[_0x2e381a(0x392)]);try{const _0x23bf99=this[_0x2e381a(0x223)]['transformChangesets']([_0x5c1a7],[this['_awaitingChangeset']],!0x1);if(_0x4d0c02(_0x23bf99)){const {c1Prime:_0x4f04bd,c2Prime:_0xf39a}=_0x23bf99,_0x10b2f9=this['_transformService'][_0x2e381a(0x405)](_0x4f04bd[0x0],this[_0x2e381a(0x1ea)]);if(_0x122f14(_0x10b2f9)){const {c1Prime:_0x567a7c,m2Prime:_0xa2622}=_0x10b2f9;return this[_0x2e381a(0x1a3)](_0x567a7c),_0xf39a[0x0][_0x2e381a(0x2fc)]=this[_0x2e381a(0x2f5)](),this['_clearScheduledTask'](),this[_0x2e381a(0x1ff)][_0x2e381a(0x372)](ae,this[_0x2e381a(0x40d)],this['type'],_0xf39a[0x0],_0xa2622,this[_0x2e381a(0x392)],void 0x0);}throw _0x10b2f9[_0x2e381a(0x16e)];}throw _0x23bf99[_0x2e381a(0x16e)];}catch(_0x4954cc){return this[_0x2e381a(0x257)][_0x2e381a(0x16e)](_0x4954cc),this[_0x2e381a(0x14c)](!0x1);}}['onRemoteAck'](_0xd9eeca){var _0x191b2a=_0x51303a;if(this[_0x191b2a(0x26a)](),this[_0x191b2a(0x38f)](_0xd9eeca))return this[_0x191b2a(0x1ff)][_0x191b2a(0x372)](te,this[_0x191b2a(0x40d)],this[_0x191b2a(0x390)],null,this[_0x191b2a(0x1ea)],this[_0x191b2a(0x3cf)],[],this[_0x191b2a(0x392)]);this[_0x191b2a(0x3a2)]();const _0x166adb=this['_injector']['createInstance'](oe,this[_0x191b2a(0x40d)],this[_0x191b2a(0x390)],this[_0x191b2a(0x1ea)],this[_0x191b2a(0x392)]);return _0x166adb[_0x191b2a(0x1d0)](),_0x166adb[_0x191b2a(0x3d2)](),_0x166adb;}[_0x51303a(0x216)](_0x42fcb9){var _0x27560e=_0x51303a;return this['_onConflict'](!!(_0x42fcb9!=null&&_0x42fcb9[_0x27560e(0x18a)]));}['onRemoteRetry'](_0x4c1cc4){var _0x1dc7a5=_0x51303a;return this[_0x1dc7a5(0x275)]>Ni?this[_0x1dc7a5(0x37a)]():(this[_0x1dc7a5(0x155)]=Oi(this[_0x1dc7a5(0x275)],{'timeout':this['_resendTimeout'],'reqId':_0x4c1cc4[_0x1dc7a5(0x24c)]}),this[_0x1dc7a5(0x28a)]=this['_resendTimer'][_0x1dc7a5(0x315)](({reqId:_0x524724,timeout:_0x21c8b9})=>{this['_resendWithTimeout'](_0x524724,_0x21c8b9);}),this);}[_0x51303a(0x37a)](){var _0x549152=_0x51303a;return this[_0x549152(0x26a)](),this[_0x549152(0x1ff)]['createInstance'](fe,this['unitID'],this[_0x549152(0x390)],this[_0x549152(0x3cf)],this['_pendingMutations'],this[_0x549152(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x106811=_0x51303a;this['_handler']['onSendChangeset'](this[_0x106811(0x3cf)]);}[_0x51303a(0x14c)](_0x295d52){var _0x2a03cf=_0x51303a;return this[_0x2a03cf(0x26a)](),this[_0x2a03cf(0x1ff)][_0x2a03cf(0x372)](de,this['unitID'],this[_0x2a03cf(0x390)],null,this[_0x2a03cf(0x1ea)],this[_0x2a03cf(0x392)],_0x295d52);}[_0x51303a(0x2f6)](_0x2a0ef5,_0x1d3f4b){var _0x5760fc=_0x51303a,_0x113bea;_0x2a0ef5===((_0x113bea=this['_awaitingChangeset'])==null?void 0x0:_0x113bea['reqId'])&&(this[_0x5760fc(0x39e)](),this[_0x5760fc(0x275)]=_0x1d3f4b===0x0?0x3e8:_0x1d3f4b*0x2);}['_clearScheduledTask'](){var _0x37cd49=_0x51303a,_0x3ff36c;(_0x3ff36c=this[_0x37cd49(0x28a)])==null||_0x3ff36c['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x2a2c27(_0x2ac98c)),A(0x7,_0x2a2c27(_0x408fec)),A(0x8,_0x5c01af),A(0x9,_0x7c7e3b),A(0xa,_0x1aa332),A(0xb,_0x277f73),A(0xc,_0x1a8278(J))],ae);let de=class extends be{constructor(_0x235ff3,_0x492883,_0x176b6c,_0x5d6be6,_0x2fba13,_0x73f786=!0x1,_0x3d35c3,_0x39ec6d,_0x5d3ef3,_0x19422f,_0xeb0357,_0x27003c,_0x4da2a2){var _0x3a35d0=_0x51303a;super(_0x235ff3,_0x492883,_0x176b6c,_0x5d6be6,_0x2fba13,_0x39ec6d,_0x5d3ef3,_0x19422f,_0x4da2a2),N(this,_0x3a35d0(0x3c2),_0x3a35d0(0x210)),(this['_isPermissionRej']=_0x73f786,this[_0x3a35d0(0x2e0)]=_0x3d35c3,this[_0x3a35d0(0x3fc)]=_0xeb0357,this[_0x3a35d0(0x31e)]=_0x27003c,this[_0x3a35d0(0x19c)]=_0x4da2a2,this[_0x3a35d0(0x299)](),this[_0x3a35d0(0x34b)](),this[_0x3a35d0(0x163)]());}['appendMutation'](){return this;}[_0x51303a(0x33d)](){return this;}[_0x51303a(0x3bd)](){return this;}[_0x51303a(0x216)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x51303a(0x267)](){return this;}[_0x51303a(0x39e)](){var _0x110f25=_0x51303a;throw new Error(_0x110f25(0x358));}['_clearLocalCache'](){var _0x56586a=_0x51303a,_0x5d4f5a;(_0x5d4f5a=this['_localCacheService'])==null||_0x5d4f5a[_0x56586a(0x34e)](this[_0x56586a(0x40d)],this[_0x56586a(0x390)],null,[]);}['_showConflictNotification'](){var _0x5ea764=_0x51303a;this['_isPermissionRej']?this[_0x5ea764(0x31e)][_0x5ea764(0x313)]({'id':se[_0x5ea764(0x309)]}):this['_collaborationUIEventService'][_0x5ea764(0x313)]({'id':se[_0x5ea764(0x30e)]});}['_disableEditing'](){var _0x1fa412=_0x51303a;this[_0x1fa412(0x2e0)][_0x1fa412(0x238)](new _0x8a0fbb(this[_0x1fa412(0x40d)])['id'],!0x1);}};de=Re([A(0x6,_0x2a2c27(_0xc50f2c)),A(0x7,_0x5c01af),A(0x8,_0x277f73),A(0x9,_0x2a2c27(_0x408fec)),A(0xa,_0x2a2c27(_0x414916)),A(0xb,_0x2a2c27(pe)),A(0xc,_0x1a8278(J))],de);let fe=class extends be{constructor(_0x261ad1,_0xdaa3ec,_0x5490bd,_0x32fe01,_0x47659b,_0x2be899,_0xe7e160,_0x4cae95,_0x1dfb83,_0x4cf1d4){super(_0x261ad1,_0xdaa3ec,_0x5490bd,_0x32fe01,_0x47659b,_0x4cae95,_0x1dfb83,_0xe7e160,_0x4cf1d4),N(this,'status','offline'),this['_injector']=_0x2be899;}[_0x51303a(0x3e7)](_0x168049){var _0x358147=_0x51303a;return this[_0x358147(0x1ea)][_0x358147(0x1c9)](_0x168049),this['_updateLocalCache'](),this;}[_0x51303a(0x33d)](_0x23aed2){var _0x2f4c12=_0x51303a;throw new Error(_0x2f4c12(0x21f));}[_0x51303a(0x3bd)](){var _0x22ca6b=_0x51303a;throw new Error(_0x22ca6b(0x25e));}[_0x51303a(0x216)](){var _0x44ad67=_0x51303a;throw new Error(_0x44ad67(0x21e));}[_0x51303a(0x18d)](){return this;}['toggleOffline'](){return this;}[_0x51303a(0x267)](){const {_injector:_0x3a8d99,_pendingMutations:_0x50b444,_awaitingChangeset:_0x805c3,unitID:_0x5de058,_handler:_0x5be689,type:_0x17456e}=this,_0x2e8af6=Di(_0x3a8d99,_0x5de058,_0x17456e,_0x805c3,_0x50b444,_0x5be689);return _0x2e8af6 instanceof oe?_0x2e8af6['_schedule']():(_0x2e8af6 instanceof ae||_0x2e8af6 instanceof ue)&&_0x2e8af6['resend'](),_0x2e8af6;}[_0x51303a(0x39e)](){var _0x22418b=_0x51303a;throw new Error(_0x22418b(0x2b8));}};fe=Re([A(0x5,_0x2a2c27(_0x2ac98c)),A(0x6,_0x2a2c27(_0x408fec)),A(0x7,_0x5c01af),A(0x8,_0x277f73),A(0x9,_0x1a8278(J))],fe);let te=class extends be{constructor(_0x390fc6,_0x41aafd,_0x26a554,_0x1d827e,_0x46844b,_0x28a417,_0x5219e7,_0x4508b4,_0x2a53b4,_0x2557c1,_0x1fdbe2,_0x1366ef,_0xa9ccea,_0xddb39f){var _0x50b5d9=_0x51303a;super(_0x390fc6,_0x41aafd,_0x26a554,_0x1d827e,_0x5219e7,_0x1fdbe2,_0x1366ef,_0x2a53b4,_0xddb39f),N(this,'status',_0x50b5d9(0x206)),(this[_0x50b5d9(0x2e6)]=_0x46844b,this[_0x50b5d9(0x266)]=_0x28a417,this[_0x50b5d9(0x1ff)]=_0x4508b4,this[_0x50b5d9(0x257)]=_0x2557c1,this[_0x50b5d9(0x223)]=_0xa9ccea,this[_0x50b5d9(0x19c)]=_0xddb39f);}[_0x51303a(0x1ae)](_0x3ee865){var _0x17b13b=_0x51303a;try{const _0x2cf06f=[..._0x3ee865,...this[_0x17b13b(0x266)]],_0x29a16c=[this['_awaitingChangeset']||this[_0x17b13b(0x2e6)]][_0x17b13b(0x1bc)](_0x3d5daa=>!!_0x3d5daa);let _0x3bc448,_0x4b55bd;if(_0x29a16c['length']){const _0x9ffccb=this['_transformService'][_0x17b13b(0x335)](_0x2cf06f,_0x29a16c,!0x1);if(!_0x4d0c02(_0x9ffccb))throw _0x9ffccb['error'];_0x3bc448=_0x9ffccb[_0x17b13b(0x1c1)],_0x4b55bd=_0x9ffccb[_0x17b13b(0x203)];}else _0x3bc448=_0x2cf06f,_0x4b55bd=[];let _0x52d135=this[_0x17b13b(0x1ea)];_0x3bc448[_0x17b13b(0x2ed)](_0x449825=>{var _0x4d2e04=_0x17b13b;let _0x5d49e6;if(_0x52d135[_0x4d2e04(0x2b9)]){const _0x465076=this[_0x4d2e04(0x223)]['transformMutationsWithChangeset'](_0x449825,_0x52d135);if(!_0x122f14(_0x465076))throw _0x465076['error'];_0x5d49e6=_0x465076[_0x4d2e04(0x1c1)],_0x52d135=_0x465076['m2Prime'];}else _0x5d49e6=_0x449825;this[_0x4d2e04(0x1a3)](_0x5d49e6);}),this[_0x17b13b(0x2e6)]&&this[_0x17b13b(0x3a2)](),this[_0x17b13b(0x3cf)]&&_0x4b55bd['length']&&(_0x4b55bd[0x0][_0x17b13b(0x2fc)]=this[_0x17b13b(0x2f5)]());let _0x324d0d;if(this[_0x17b13b(0x3cf)]&&_0x52d135['length']!==0x0)_0x324d0d=this['_injector']['createInstance'](ae,this[_0x17b13b(0x40d)],this['type'],_0x4b55bd[0x0],_0x52d135,this[_0x17b13b(0x392)],void 0x0);else{if(this['_awaitingChangeset']&&_0x52d135[_0x17b13b(0x2b9)]===0x0)_0x4b55bd[0x0][_0x17b13b(0x2fc)]=this[_0x17b13b(0x2f5)](),_0x324d0d=this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](ue,this[_0x17b13b(0x40d)],this[_0x17b13b(0x390)],_0x4b55bd[0x0],this[_0x17b13b(0x392)]);else{if(_0x52d135[_0x17b13b(0x2b9)]!==0x0){const _0x3ee1ce=this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](oe,this[_0x17b13b(0x40d)],this[_0x17b13b(0x390)],_0x52d135,this[_0x17b13b(0x392)]);_0x3ee1ce['_schedule'](),_0x324d0d=_0x3ee1ce;}else _0x324d0d=this['_injector'][_0x17b13b(0x372)](De,this[_0x17b13b(0x40d)],this['type'],this[_0x17b13b(0x392)]);}}return _0x324d0d[_0x17b13b(0x3d2)](),_0x324d0d;}catch(_0x4ae3b0){return this[_0x17b13b(0x257)][_0x17b13b(0x16e)](_0x17b13b(0x205),_0x17b13b(0x443),_0x4ae3b0),this[_0x17b13b(0x1ff)][_0x17b13b(0x372)](de,this[_0x17b13b(0x40d)],this['type'],this['_awaitingChangeset'],this[_0x17b13b(0x1ea)],this[_0x17b13b(0x392)],!0x1);}}['resend'](){var _0x4f948c=_0x51303a;throw new Error(_0x4f948c(0x33b));}[_0x51303a(0x3e7)](_0x33ba7f){var _0x3fe1f8=_0x51303a;return this[_0x3fe1f8(0x1ea)][_0x3fe1f8(0x1c9)](_0x33ba7f),this;}[_0x51303a(0x33d)](_0x4c7698){var _0x342761=_0x51303a;return this[_0x342761(0x266)][_0x342761(0x1c9)](_0x4c7698),this;}[_0x51303a(0x3bd)](_0x5dcc53){var _0x417bc9=_0x51303a;if(this[_0x417bc9(0x3cf)])return this[_0x417bc9(0x2e6)]=this[_0x417bc9(0x3cf)],this['_awaitingChangeset']=null,this;throw new Error(_0x417bc9(0x3c7));}[_0x51303a(0x216)](_0x5ca8d2){var _0x4e8bd7=_0x51303a;return this[_0x4e8bd7(0x14c)](!!(_0x5ca8d2!=null&&_0x5ca8d2['isPermissionRej']));}[_0x51303a(0x18d)](){return this;}['toggleOffline'](){var _0x30a942=_0x51303a;return this[_0x30a942(0x1ff)][_0x30a942(0x372)](fe,this[_0x30a942(0x40d)],this[_0x30a942(0x390)],this[_0x30a942(0x3cf)],this['_pendingMutations'],this[_0x30a942(0x392)]);}[_0x51303a(0x267)](){return this;}[_0x51303a(0x14c)](_0x40909b){var _0x427177=_0x51303a;return this['_injector'][_0x427177(0x372)](de,this[_0x427177(0x40d)],this[_0x427177(0x390)],this[_0x427177(0x3cf)],this[_0x427177(0x1ea)],this[_0x427177(0x392)],_0x40909b);}};te=Re([A(0x7,_0x2a2c27(_0x2ac98c)),A(0x8,_0x2a2c27(_0x408fec)),A(0x9,_0x7c7e3b),A(0xa,_0x5c01af),A(0xb,_0x277f73),A(0xc,_0x1aa332),A(0xd,_0x1a8278(J))],te);function Di(_0x154613,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x16eaa2,_0x19195e){var _0x5d6a63=_0x51303a;return _0x2b13b1&&_0x16eaa2[_0x5d6a63(0x2b9)]?_0x154613[_0x5d6a63(0x372)](ae,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x16eaa2,_0x19195e,void 0x0):_0x2b13b1?_0x154613[_0x5d6a63(0x372)](ue,_0x3b8fe8,_0x59dfcc,_0x2b13b1,_0x19195e):_0x16eaa2[_0x5d6a63(0x2b9)]?_0x154613[_0x5d6a63(0x372)](oe,_0x3b8fe8,_0x59dfcc,_0x16eaa2,_0x19195e):_0x154613[_0x5d6a63(0x372)](De,_0x3b8fe8,_0x59dfcc,_0x19195e);}var vr=Object['defineProperty'],pr=Object[_0x51303a(0x150)],Lt=(_0x6453a1,_0x160323,_0x457439,_0x111517)=>{var _0x5aea91=_0x51303a;for(var _0x36cf09=_0x111517>0x1?void 0x0:_0x111517?pr(_0x160323,_0x457439):_0x160323,_0x1f32dd=_0x6453a1[_0x5aea91(0x2b9)]-0x1,_0x3997db;_0x1f32dd>=0x0;_0x1f32dd--)(_0x3997db=_0x6453a1[_0x1f32dd])&&(_0x36cf09=(_0x111517?_0x3997db(_0x160323,_0x457439,_0x36cf09):_0x3997db(_0x36cf09))||_0x36cf09);return _0x111517&&_0x36cf09&&vr(_0x160323,_0x457439,_0x36cf09),_0x36cf09;},k=(_0x50b364,_0x18bd2e)=>(_0x1a449c,_0x3fa54a)=>_0x18bd2e(_0x1a449c,_0x3fa54a,_0x50b364);let nt=class extends _0x2127fb{constructor(_0x483d28,_0x3ef293,_0x5afed4,_0x1b66be,_0x5b8d12,_0xa34cf5,_0x23ffa4,_0x352fe2,_0x580645,_0x51e118,_0x4c3e25,_0x12a027,_0xf90251){var _0x32885a=_0x51303a;super(),N(this,'_state$',new _0x5e258f(null)),N(this,'state$',this[_0x32885a(0x33c)]['asObservable']()),N(this,_0x32885a(0x17d)),N(this,_0x32885a(0x3ce),!0x1),N(this,'_changesetSessionId',''),N(this,_0x32885a(0x1c3),0x0),N(this,'status$',this[_0x32885a(0x360)][_0x32885a(0x380)](_0x29778d(_0x2a5721=>_0x2a5721?_0x2a5721[_0x32885a(0x3c2)]:yi[_0x32885a(0x2dd)]),_0x3e88b4(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x32885a(0x408),[]),(this[_0x32885a(0x40d)]=_0x483d28,this[_0x32885a(0x306)]=_0x3ef293,this[_0x32885a(0x353)]=_0x5afed4,this[_0x32885a(0x1ff)]=_0x1b66be,this['_compressMutationService']=_0x5b8d12,this[_0x32885a(0x3fc)]=_0xa34cf5,this['_revisionService']=_0x23ffa4,this['_eventService']=_0x352fe2,this[_0x32885a(0x257)]=_0x580645,this[_0x32885a(0x321)]=_0x51e118,this[_0x32885a(0x2e0)]=_0x4c3e25,this[_0x32885a(0x374)]=_0x12a027,this[_0x32885a(0x303)]=_0xf90251);}get[_0x51303a(0x348)](){return this['_state'];}async[_0x51303a(0x239)](){var _0x56e53e=_0x51303a;if(this['state'])throw new Error(_0x56e53e(0x152));await this[_0x56e53e(0x25b)]();}[_0x51303a(0x349)](){var _0x40d704=_0x51303a;return this[_0x40d704(0x3ce)]=!0x0,_0x24575e(()=>{var _0x4abc45=_0x40d704;this[_0x4abc45(0x3ce)]=!0x1,this[_0x4abc45(0x300)]();});}['onLocalMutation'](_0x19be18){this['_onLocalMutation'](_0x19be18);}[_0x51303a(0x383)](_0x24b5be){var _0x5442cd=_0x51303a;this['_state']=_0x24b5be,this[_0x5442cd(0x33c)][_0x5442cd(0x334)](_0x24b5be);}async['_init'](){var _0x2f33ec=_0x51303a,_0x512aad;this[_0x2f33ec(0x383)](await this['_createInitialState']()),this[_0x2f33ec(0x374)]&&((_0x512aad=this[_0x2f33ec(0x374)])==null||_0x512aad[_0x2f33ec(0x2a2)](this[_0x2f33ec(0x40d)]),this[_0x2f33ec(0x434)](this[_0x2f33ec(0x374)][_0x2f33ec(0x328)](this[_0x2f33ec(0x40d)])[_0x2f33ec(0x315)](_0x3621bb=>{var _0x2e994a=_0x2f33ec;this[_0x2e994a(0x257)][_0x2e994a(0x1cf)]('[CollaborationEntity]',_0x2e994a(0x341),_0x3621bb),_0x3621bb===bi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x2e994a(0x313)]({'id':se[_0x2e994a(0x1ef)]}),this[_0x2e994a(0x2e0)][_0x2e994a(0x238)](new _0x8a0fbb(this[_0x2e994a(0x40d)])['id'],!0x1),this[_0x2e994a(0x2e0)][_0x2e994a(0x32e)](!0x1)):(this[_0x2e994a(0x2e0)][_0x2e994a(0x238)](new _0x8a0fbb(this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5ccd44=!0x1;return this['disposeWithMe'](this[_0x2f33ec(0x306)][_0x2f33ec(0x314)][_0x2f33ec(0x315)](_0x4dabad=>{var _0x630591=_0x2f33ec;_0x4dabad===Te[_0x630591(0x3e9)]?this['_toggleOnline'](_0x5ccd44):_0x4dabad===Te[_0x630591(0x2dd)]&&(_0x5ccd44=!0x0,this[_0x630591(0x2ac)]());})),this[_0x2f33ec(0x434)](this[_0x2f33ec(0x306)][_0x2f33ec(0x3d0)][_0x2f33ec(0x315)](_0x324916=>{var _0x1af8f3=_0x2f33ec;try{switch(_0x324916[_0x1af8f3(0x262)]){case _0x247b59[_0x1af8f3(0x2df)]:{this['_onRemoteChangeset'](_0xf0555b(_0x324916[_0x1af8f3(0x1cd)]));break;}case _0x247b59['CHANGESET_ACK']:{this[_0x1af8f3(0x1c7)](_0x324916['data']);break;}case _0x247b59['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x247b59[_0x1af8f3(0x446)]:{this[_0x1af8f3(0x42a)](_0x324916['data']);break;}case _0x247b59[_0x1af8f3(0x3b1)]:{this[_0x1af8f3(0x412)](_0x324916[_0x1af8f3(0x1cd)]['changesets'][_0x1af8f3(0x2ea)](_0x324017=>_0xf0555b(_0x324017)));break;}case _0x247b59[_0x1af8f3(0x42f)]:{this[_0x1af8f3(0x302)]({'isPermissionRej':!0x0});break;}case _0x247b59['UNISCRIPT_RUN']:break;}}catch(_0x561a9f){throw console[_0x1af8f3(0x16e)](_0x1af8f3(0x1b1),_0x561a9f),_0x561a9f;}})),this['_state'];}[_0x51303a(0x3a6)](){var _0x437814=_0x51303a;this[_0x437814(0x339)]=!0x1;}[_0x51303a(0x26b)](){var _0x41d8fc=_0x51303a;if(this[_0x41d8fc(0x339)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x4d38e2){var _0x439c9f=_0x51303a;this[_0x439c9f(0x26b)](),this[_0x439c9f(0x383)](this[_0x439c9f(0x17d)][_0x439c9f(0x3e7)](_0x4d38e2)),this[_0x439c9f(0x3a6)]();}[_0x51303a(0x426)](_0x1c2b48){var _0x4de17d=_0x51303a;if(!(_0x1c2b48[_0x4de17d(0x1db)]<=this[_0x4de17d(0x3e1)][_0x4de17d(0x1de)](this['unitID']))){if(this[_0x4de17d(0x3ce)]){this[_0x4de17d(0x408)][_0x4de17d(0x1c9)](_0x1c2b48);return;}this[_0x4de17d(0x3ca)](_0x1c2b48);}}[_0x51303a(0x300)](){var _0x583e8b=_0x51303a;this[_0x583e8b(0x408)][_0x583e8b(0x2ed)](_0x44e648=>this[_0x583e8b(0x3ca)](_0x44e648)),this[_0x583e8b(0x408)]=[];}[_0x51303a(0x3ca)](_0x14277b){var _0x2188d6=_0x51303a;const _0x4fb28f=this[_0x2188d6(0x3b2)]['interceptor'][_0x2188d6(0x400)](this[_0x2188d6(0x3b2)][_0x2188d6(0x2f8)]['getInterceptPoints']()[_0x2188d6(0x382)])(_0x14277b[_0x2188d6(0x325)],null)||_0x14277b[_0x2188d6(0x325)],_0x1263b7={..._0x14277b,'mutations':_0x4fb28f};this[_0x2188d6(0x26b)](),this[_0x2188d6(0x383)](this[_0x2188d6(0x17d)]['onRemoteChangeset'](_0x1263b7)),this['_unlockTransition']();}['_onRemoteACK'](_0x4d7027){var _0x3569ef=_0x51303a;this[_0x3569ef(0x26b)](),this['_updateState'](this['_state'][_0x3569ef(0x3bd)](_0x4d7027)),this[_0x3569ef(0x3a6)]();}['_onRemoteRejected'](_0x3db391){var _0x1aecc3=_0x51303a;this[_0x1aecc3(0x26b)](),this[_0x1aecc3(0x383)](this[_0x1aecc3(0x17d)][_0x1aecc3(0x216)](_0x3db391)),this['_unlockTransition']();}[_0x51303a(0x42a)](_0x37e58a){var _0x20ff41=_0x51303a;this[_0x20ff41(0x26b)](),this[_0x20ff41(0x383)](this[_0x20ff41(0x17d)][_0x20ff41(0x18d)](_0x37e58a)),this[_0x20ff41(0x3a6)]();}[_0x51303a(0x412)](_0x1dde53){var _0x3349df=_0x51303a;if(!(this[_0x3349df(0x17d)]instanceof te))throw new TypeError(_0x3349df(0x3dd));const _0x40e263=_0x1dde53[_0x3349df(0x2ea)](_0x386701=>{var _0x45f0e2=_0x3349df;const _0xf61d29=this[_0x45f0e2(0x3b2)][_0x45f0e2(0x2f8)][_0x45f0e2(0x400)](this['_compressMutationService'][_0x45f0e2(0x2f8)][_0x45f0e2(0x2b2)]()[_0x45f0e2(0x382)])(_0x386701['mutations'],null)||_0x386701[_0x45f0e2(0x325)];return{..._0x386701,'mutations':_0xf61d29};});this[_0x3349df(0x26b)](),this[_0x3349df(0x383)](this[_0x3349df(0x17d)][_0x3349df(0x1ae)](_0x40e263)),this['_unlockTransition']();}[_0x51303a(0x2ac)](){var _0xf0d343=_0x51303a;this[_0xf0d343(0x26b)](),this['_updateState'](this[_0xf0d343(0x17d)][_0xf0d343(0x37a)]()),this[_0xf0d343(0x3a6)]();}[_0x51303a(0x436)](_0x4e3ef1=!0x1){var _0x42414c=_0x51303a;this[_0x42414c(0x26b)](),this[_0x42414c(0x383)](this[_0x42414c(0x17d)][_0x42414c(0x267)]()),this[_0x42414c(0x3a6)]();const _0x3a126e=this[_0x42414c(0x17d)];_0x4e3ef1&&_0x3a126e instanceof De&&(this[_0x42414c(0x26b)](),this['_updateState'](_0x3a126e[_0x42414c(0x260)]()),this[_0x42414c(0x3a6)]());}async[_0x51303a(0x169)](){return new Promise(_0x3d2de0=>{var _0x1e4079=_0x1f09;this['session'][_0x1e4079(0x314)][_0x1e4079(0x380)](_0x81314e(0x1))[_0x1e4079(0x315)](async _0x20e540=>{var _0x84a329=_0x1e4079;_0x3d2de0(await this[_0x84a329(0x36e)](_0x20e540===Te['ONLINE']));});});}[_0x51303a(0x41c)](){const _0x16b09e=this['unitID'];return{'onStateChange':(_0x8d5161,_0x153a00)=>{var _0x41f585=_0x1f09;if(_0x8d5161!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x8d5161[_0x41f585(0x3c2)]+'\x0aAfter:\x20'+_0x153a00[_0x41f585(0x3c2)]+'\x0aCurrent:\x20'+this[_0x41f585(0x17d)][_0x41f585(0x3c2)]);this['_updateState'](_0x153a00);},'onSendChangeset':_0x395603=>{var _0x5ecef3=_0x1f09;_0x395603[_0x5ecef3(0x3d6)]||(_0x395603[_0x5ecef3(0x3d6)]=this[_0x5ecef3(0x401)],_0x395603[_0x5ecef3(0x24c)]=++this[_0x5ecef3(0x1c3)]);const _0x20bffd={'eventID':_0x247b59[_0x5ecef3(0x28d)],'data':{'unitID':_0x395603[_0x5ecef3(0x40d)],'unitType':this[_0x5ecef3(0x353)],'changeset':_0x395603,'memberID':this[_0x5ecef3(0x306)][_0x5ecef3(0x297)]()}};this['session'][_0x5ecef3(0x229)](_0x20bffd,this['unitID']);},'onMissingChangesets':({from:_0x2adc22,to:_0x58f3ce})=>{var _0x1042e2=_0x1f09;this['_logService'][_0x1042e2(0x1cf)](_0x1042e2(0x237),_0x1042e2(0x1e1)+_0x2adc22+_0x1042e2(0x23a)+_0x58f3ce);const _0x360766={'eventID':_0x247b59[_0x1042e2(0x2ca)],'data':{'unitID':_0x16b09e,'unitType':this['_type'],'from':_0x2adc22,'to':_0x58f3ce}};this[_0x1042e2(0x306)][_0x1042e2(0x229)](_0x360766,this[_0x1042e2(0x40d)]);}};}async[_0x51303a(0x36e)](_0x31a92c){var _0x1dbc8c=_0x51303a,_0x4b6fcb,_0x507c7a,_0x3303a4;const _0x56556f=await((_0x4b6fcb=this['_localCacheService'])==null?void 0x0:_0x4b6fcb['loadOfflineData'](this[_0x1dbc8c(0x40d)])),_0x260701=(_0x507c7a=_0x56556f==null?void 0x0:_0x56556f[_0x1dbc8c(0x325)])!=null?_0x507c7a:[],_0x4701bd=(_0x3303a4=_0x56556f==null?void 0x0:_0x56556f[_0x1dbc8c(0x3ec)])!=null?_0x3303a4:null,_0x49dfb1=!!(_0x4701bd!=null&&_0x4701bd[_0x1dbc8c(0x3d6)])&&!!(_0x4701bd!=null&&_0x4701bd[_0x1dbc8c(0x24c)]);this[_0x1dbc8c(0x401)]=_0x49dfb1?_0x4701bd[_0x1dbc8c(0x3d6)]:sr(),this['_changesetReqId']=_0x49dfb1?_0x4701bd[_0x1dbc8c(0x24c)]:0x0;const _0x5c054c=this['unitID'];try{this['_replayCachedMutations'](_0x4701bd,_0x260701);}catch(_0x47bf26){this[_0x1dbc8c(0x257)][_0x1dbc8c(0x16e)](_0x47bf26);}const _0x2f951e=this[_0x1dbc8c(0x41c)]();if(_0x31a92c){const _0xebdcf4=Di(this['_injector'],_0x5c054c,this[_0x1dbc8c(0x353)],_0x4701bd,_0x260701,_0x2f951e);return _0xebdcf4 instanceof oe?_0xebdcf4[_0x1dbc8c(0x1d0)]():(_0xebdcf4 instanceof ae||_0xebdcf4 instanceof ue)&&_0xebdcf4[_0x1dbc8c(0x39e)](),_0xebdcf4;}return this[_0x1dbc8c(0x1ff)][_0x1dbc8c(0x372)](fe,_0x5c054c,this[_0x1dbc8c(0x353)],_0x4701bd,_0x260701,_0x2f951e);}[_0x51303a(0x1d8)](_0x204df4,_0xa6727b){var _0x3473cc=_0x51303a,_0x159f4b,_0x56f91b;const _0x478f6=this['_compressMutationService'][_0x3473cc(0x2f8)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x3473cc(0x2b2)]()['COMPRESS_MUTATION_APPLY']);(_0x159f4b=_0x478f6((_0x204df4==null?void 0x0:_0x204df4[_0x3473cc(0x325)])||[],null))==null||_0x159f4b[_0x3473cc(0x2ed)](_0x41dbad=>this[_0x3473cc(0x321)][_0x3473cc(0x252)](_0x41dbad['id'],_0x41dbad['params'])),(_0x56f91b=_0x478f6(_0xa6727b||[],null))==null||_0x56f91b[_0x3473cc(0x2ed)](_0x2619b0=>this['_commandService'][_0x3473cc(0x252)](_0x2619b0['id'],_0x2619b0[_0x3473cc(0x1b5)]));}};nt=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(pe)),k(0x8,_0x7c7e3b),k(0x9,_0x5c01af),k(0xa,_0xc50f2c),k(0xb,_0x1a8278(ht)),k(0xc,_0x1a8278(J))],nt);let Tt=class extends nt{constructor(_0x4b7345,_0x5e9371,_0x4d6817,_0x444e89,_0x5bc01c,_0x1cb10,_0x585655,_0x206598,_0x4628fd,_0x5903d7,_0x52a7fd,_0x5c01e0,_0x2a1185){var _0x32e0d6=_0x51303a;super(_0x4b7345,_0x4d6817,_0x5e9371,_0x444e89,_0x5bc01c,_0x1cb10,_0x585655,_0x206598,_0x4628fd,_0x5903d7,_0x52a7fd,_0x5c01e0,_0x2a1185),N(this,_0x32e0d6(0x2a1),null),(this[_0x32e0d6(0x40d)]=_0x4b7345,this[_0x32e0d6(0x390)]=_0x5e9371);}[_0x51303a(0x1b8)](_0x16e686){var _0x5e81d4=_0x51303a;this[_0x5e81d4(0x2a1)]=_0x16e686;}[_0x51303a(0x421)](){var _0xdf4ef7=_0x51303a;this['_handlerCallback']=null,super[_0xdf4ef7(0x421)]();}['_createHandler'](){var _0x57c7cc=_0x51303a;const _0x3a49b3=super[_0x57c7cc(0x41c)]();return _0x3a49b3[_0x57c7cc(0x32c)]=_0x11161b=>{var _0x58fc7e=_0x57c7cc,_0x824ae6,_0x4b1dd3;return(_0x4b1dd3=(_0x824ae6=this[_0x58fc7e(0x2a1)])==null?void 0x0:_0x824ae6[_0x58fc7e(0x32c)])==null?void 0x0:_0x4b1dd3[_0x58fc7e(0x270)](_0x824ae6,_0x11161b);},_0x3a49b3[_0x57c7cc(0x3a0)]=_0x2c2a0b=>{var _0x3bf3e9=_0x57c7cc,_0x10fc16,_0x3701b0;return(_0x3701b0=(_0x10fc16=this[_0x3bf3e9(0x2a1)])==null?void 0x0:_0x10fc16[_0x3bf3e9(0x3a0)])==null?void 0x0:_0x3701b0['call'](_0x10fc16,_0x2c2a0b);},_0x3a49b3[_0x57c7cc(0x1d7)]=_0x196ada=>{var _0x4e3578=_0x57c7cc,_0xff3e5e,_0x15e13c;return(_0x15e13c=(_0xff3e5e=this['_handlerCallback'])==null?void 0x0:_0xff3e5e[_0x4e3578(0x1d7)])==null?void 0x0:_0x15e13c[_0x4e3578(0x270)](_0xff3e5e,_0x196ada);},_0x3a49b3['onSyncEditingCollabCursor']=_0x4ad5a8=>{var _0x3e57f3=_0x57c7cc,_0x372f79,_0xeab5d0;return(_0xeab5d0=(_0x372f79=this[_0x3e57f3(0x2a1)])==null?void 0x0:_0x372f79[_0x3e57f3(0x161)])==null?void 0x0:_0xeab5d0[_0x3e57f3(0x270)](_0x372f79,_0x4ad5a8);},_0x3a49b3[_0x57c7cc(0x1e2)]=_0x69555a=>{var _0x3e858c=_0x57c7cc,_0x50f7d2,_0x248577,_0x259cb0;if(!((_0x50f7d2=this['_handlerCallback'])!=null&&_0x50f7d2[_0x3e858c(0x1e2)]))throw new Error(_0x3e858c(0x29b));return(_0x259cb0=(_0x248577=this[_0x3e858c(0x2a1)])==null?void 0x0:_0x248577[_0x3e858c(0x1e2)])==null?void 0x0:_0x259cb0[_0x3e858c(0x270)](_0x248577,_0x69555a);},_0x3a49b3['onTransformRemoteChangesetByStateCache']=_0xdfd2d6=>{var _0x16836d=_0x57c7cc,_0x294e51,_0x574caf,_0x3a0b54;if(!((_0x294e51=this[_0x16836d(0x2a1)])!=null&&_0x294e51[_0x16836d(0x36a)]))throw new Error(_0x16836d(0x43c));return(_0x3a0b54=(_0x574caf=this[_0x16836d(0x2a1)])==null?void 0x0:_0x574caf[_0x16836d(0x36a)])==null?void 0x0:_0x3a0b54[_0x16836d(0x270)](_0x574caf,_0xdfd2d6);},_0x3a49b3;}async['_init'](){var _0x5b1fc7=_0x51303a;const _0x3fd713=await super[_0x5b1fc7(0x25b)]();return this[_0x5b1fc7(0x434)](this[_0x5b1fc7(0x321)][_0x5b1fc7(0x23b)]((_0x2221bc,_0x49002b)=>{var _0x5e16d4=_0x5b1fc7;if(_0x2221bc[_0x5e16d4(0x390)]!==_0x42bf5d[_0x5e16d4(0x1fb)]||_0x49002b!=null&&_0x49002b[_0x5e16d4(0x40f)]||_0x49002b!=null&&_0x49002b[_0x5e16d4(0x258)]||_0x2221bc['id']===_0x4e9af9['id'])return;const _0x4e0764=_0x2221bc['params'];if((_0x4e0764==null?void 0x0:_0x4e0764[_0x5e16d4(0x2f4)])!==this['unitID'])return;const _0x2bc390=_0x2221bc,_0x35983c=this[_0x5e16d4(0x3b2)][_0x5e16d4(0x2f8)][_0x5e16d4(0x400)](this[_0x5e16d4(0x3b2)][_0x5e16d4(0x2f8)][_0x5e16d4(0x2b2)]()[_0x5e16d4(0x37c)])([_0x2bc390],null)||[_0x2bc390];this[_0x5e16d4(0x202)](_0x35983c[0x0]);})),_0x3fd713;}};Tt=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(pe)),k(0x8,_0x7c7e3b),k(0x9,_0x5c01af),k(0xa,_0xc50f2c),k(0xb,_0x1a8278(ht)),k(0xc,_0x1a8278(J))],Tt);let Ct=class extends nt{constructor(_0xb72fec,_0x2254d3,_0x4f454e,_0xe3200b,_0x1d359c,_0x4c2e8e,_0x5304ac,_0x3dd5ed,_0x46ccff,_0xb79f35,_0x2f22ea,_0x150ad6,_0x1a773d,_0x1923e2){var _0x4009c0=_0x51303a;super(_0xb72fec,_0x4f454e,_0x2254d3,_0xe3200b,_0x1d359c,_0x4c2e8e,_0x5304ac,_0x46ccff,_0xb79f35,_0x2f22ea,_0x150ad6,_0x1a773d,_0x1923e2),this['unitID']=_0xb72fec,this['type']=_0x2254d3,this[_0x4009c0(0x251)]=_0x3dd5ed;}['_createHandler'](){var _0x5530b9=_0x51303a;const _0x180cfc=super['_createHandler']();return _0x180cfc[_0x5530b9(0x1d7)]=_0x26e457=>this['_sheetTransformSelectionsService'][_0x5530b9(0x24f)](_0x26e457),_0x180cfc;}async[_0x51303a(0x25b)](){var _0x42af4b=_0x51303a;const _0xb6f085=await super['_init']();return this[_0x42af4b(0x434)](this['_commandService'][_0x42af4b(0x23b)]((_0x58aa08,_0xef1803)=>{var _0x13595a=_0x42af4b;if(_0x58aa08[_0x13595a(0x390)]!==_0x42bf5d['MUTATION']||_0xef1803!=null&&_0xef1803[_0x13595a(0x40f)]||_0xef1803!=null&&_0xef1803[_0x13595a(0x258)])return;const _0x6c4931=_0x58aa08[_0x13595a(0x1b5)];if((_0x6c4931==null?void 0x0:_0x6c4931[_0x13595a(0x2f4)])!==this[_0x13595a(0x40d)])return;const _0x3dcd1f=_0x58aa08,_0x248f56=this[_0x13595a(0x3b2)][_0x13595a(0x2f8)][_0x13595a(0x400)](this[_0x13595a(0x3b2)]['interceptor'][_0x13595a(0x2b2)]()['COMPRESS_MUTATION_SEND'])([_0x3dcd1f],null)||[_0x3dcd1f];this[_0x13595a(0x202)](_0x248f56[0x0]);})),_0xb6f085;}};Ct=Lt([k(0x3,_0x2a2c27(_0x2ac98c)),k(0x4,_0x2a2c27(_0x3f7f69)),k(0x5,_0x2a2c27(_0x414916)),k(0x6,_0x2a2c27(_0x408fec)),k(0x7,_0x2a2c27(it)),k(0x8,_0x2a2c27(pe)),k(0x9,_0x7c7e3b),k(0xa,_0x5c01af),k(0xb,_0xc50f2c),k(0xc,_0x1a8278(ht)),k(0xd,_0x1a8278(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x51303a(0x150)],Sr=(_0x1dfa0f,_0x193074,_0x5541c8,_0x40d2ce)=>{var _0x5ad141=_0x51303a;for(var _0x5705aa=_0x40d2ce>0x1?void 0x0:_0x40d2ce?gr(_0x193074,_0x5541c8):_0x193074,_0x2ef516=_0x1dfa0f[_0x5ad141(0x2b9)]-0x1,_0xebceaa;_0x2ef516>=0x0;_0x2ef516--)(_0xebceaa=_0x1dfa0f[_0x2ef516])&&(_0x5705aa=(_0x40d2ce?_0xebceaa(_0x193074,_0x5541c8,_0x5705aa):_0xebceaa(_0x5705aa))||_0x5705aa);return _0x40d2ce&&_0x5705aa&&mr(_0x193074,_0x5541c8,_0x5705aa),_0x5705aa;},ft=(_0x2a54bb,_0x42ca6f)=>(_0xb6f3aa,_0x15ea8b)=>_0x42ca6f(_0xb6f3aa,_0x15ea8b,_0x2a54bb);let rt=class extends _0x2127fb{constructor(_0x26cb82,_0x3b90a3,_0x18dd6){var _0x27e67f=_0x51303a;super(),N(this,_0x27e67f(0x33f),new Map()),N(this,'_entityInit$',new _0x4973d7()),N(this,_0x27e67f(0x2a4),this[_0x27e67f(0x1f1)][_0x27e67f(0x212)]()),(this[_0x27e67f(0x1ff)]=_0x26cb82,this['_collabSessionService']=_0x3b90a3,this[_0x27e67f(0x365)]=_0x18dd6,this[_0x27e67f(0x25b)]());}[_0x51303a(0x421)](){var _0x51a1f2=_0x51303a;super[_0x51a1f2(0x421)](),this['_entities'][_0x51a1f2(0x2ed)](_0x5dc6ac=>_0x5dc6ac[_0x51a1f2(0x421)]()),this['_entities'][_0x51a1f2(0x346)]();}['getCollabEntity'](_0x56a5a3){var _0x5b0939=_0x51303a,_0xe3c0cc;return(_0xe3c0cc=this[_0x5b0939(0x33f)][_0x5b0939(0x227)](_0x56a5a3))!=null?_0xe3c0cc:null;}['getCollabEntity$'](_0x51c34b){var _0x173474=_0x51303a;const _0x124a50=this[_0x173474(0x3bf)](_0x51c34b);return _0x124a50?_0x56aeb4(_0x124a50):this[_0x173474(0x1f1)][_0x173474(0x380)](_0x3cf649(_0x2fad2d=>_0x2fad2d[_0x173474(0x40d)]===_0x51c34b));}[_0x51303a(0x384)](_0x19051c){var _0x5001c1=_0x51303a;return _0x31a3a6(this['getCollabEntity$'](_0x19051c)[_0x5001c1(0x380)](_0x21067b(()=>{})));}['_init'](){var _0x2580c0=_0x51303a;this[_0x2580c0(0x365)][_0x2580c0(0x18f)](_0x500bf2[_0x2580c0(0x43d)])[_0x2580c0(0x380)](_0x2fe2c4(this[_0x2580c0(0x402)]),_0x506462(0x10))[_0x2580c0(0x315)](async _0x14c6cd=>{var _0x4bedbd=_0x2580c0;const _0xa49ee8=_0x14c6cd[_0x4bedbd(0x438)](),_0x245171=await this[_0x4bedbd(0x285)](_0xa49ee8,Q[_0x4bedbd(0x43d)]);this[_0x4bedbd(0x33f)]['set'](_0xa49ee8,_0x245171);}),this['_univerInstanceService'][_0x2580c0(0x18f)](_0x500bf2['UNIVER_DOC'])[_0x2580c0(0x380)](_0x2fe2c4(this[_0x2580c0(0x402)]),_0x506462(0x10))[_0x2580c0(0x380)](_0x3cf649(_0x96d6f9=>!_0x96d6f9[_0x2580c0(0x438)]()[_0x2580c0(0x1f5)]('__')))[_0x2580c0(0x315)](async _0x2882a4=>{var _0x558d90=_0x2580c0;const _0x1f478e=_0x2882a4[_0x558d90(0x438)](),_0x26335a=await this[_0x558d90(0x285)](_0x1f478e,Q[_0x558d90(0x31f)]);this[_0x558d90(0x33f)][_0x558d90(0x34c)](_0x1f478e,_0x26335a);}),_0x204d3a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x2580c0(0x43d)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x500bf2[_0x2580c0(0x31f)]))['pipe'](_0x2fe2c4(this['dispose$']))['subscribe'](_0x90879=>{var _0x26567b=_0x2580c0;const _0x1eaff0=_0x90879[_0x26567b(0x438)](),_0x5aeede=this['_entities'][_0x26567b(0x227)](_0x1eaff0);_0x5aeede&&(_0x5aeede[_0x26567b(0x421)](),this[_0x26567b(0x33f)]['delete'](_0x1eaff0));});}async['_startCollaboration'](_0x9dfc4d,_0x3e532d){var _0x588484=_0x51303a;const _0x562465=await this[_0x588484(0x42e)][_0x588484(0x193)](_0x9dfc4d),_0x49064f=this[_0x588484(0x1ff)][_0x588484(0x372)](this['_getCtorByUniverType'](_0x3e532d),_0x9dfc4d,_0x3e532d,_0x562465);return await _0x49064f['init'](),this[_0x588484(0x1f1)][_0x588484(0x334)](_0x49064f),_0x49064f;}[_0x51303a(0x414)](_0x56129c){var _0x4db960=_0x51303a;switch(_0x56129c){case Q[_0x4db960(0x31f)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x4db960(0x154)+_0x56129c);}}};rt=Sr([ft(0x0,_0x2a2c27(_0x2ac98c)),ft(0x1,_0x2a2c27(Le)),ft(0x2,_0xd9ad76)],rt);var Er=Object['defineProperty'],Ir=Object[_0x51303a(0x150)],Tr=(_0x3e4560,_0x45fff6,_0x51adee,_0x5ea791)=>{var _0x48a454=_0x51303a;for(var _0x356ac6=_0x5ea791>0x1?void 0x0:_0x5ea791?Ir(_0x45fff6,_0x51adee):_0x45fff6,_0x129610=_0x3e4560[_0x48a454(0x2b9)]-0x1,_0x17c42e;_0x129610>=0x0;_0x129610--)(_0x17c42e=_0x3e4560[_0x129610])&&(_0x356ac6=(_0x5ea791?_0x17c42e(_0x45fff6,_0x51adee,_0x356ac6):_0x17c42e(_0x356ac6))||_0x356ac6);return _0x5ea791&&_0x356ac6&&Er(_0x45fff6,_0x51adee,_0x356ac6),_0x356ac6;},Jt=(_0x2fa1b4,_0x446a0f)=>(_0x42f0ad,_0xb402b)=>_0x446a0f(_0x42f0ad,_0xb402b,_0x2fa1b4);const Cr=_0x51303a(0x2d1),Rr=_0x51303a(0x37e);let Rt=class extends _0x47cec6{constructor(_0x5671a7,_0x2935d6){var _0x2fa6bc=_0x51303a;super(),this[_0x2fa6bc(0x365)]=_0x5671a7,this['_configService']=_0x2935d6,this[_0x2fa6bc(0x25b)]();}[_0x51303a(0x25b)](){var _0x3277d7=_0x51303a;this[_0x3277d7(0x434)](this[_0x3277d7(0x365)][_0x3277d7(0x2c2)][_0x3277d7(0x315)](()=>{var _0x39cde1=_0x3277d7,_0x2b7496;const _0x6a32ad=this[_0x39cde1(0x365)][_0x39cde1(0x422)]();let _0x15ce36=(_0x2b7496=this[_0x39cde1(0x2c0)]['getConfig'](Cr))!=null?_0x2b7496:Rr;_0x6a32ad instanceof _0x14e09d&&(_0x15ce36=_0x6a32ad['name']),document[_0x39cde1(0x32a)]=_0x15ce36;}));}};Rt=Tr([Jt(0x0,_0xd9ad76),Jt(0x1,_0x197b9e)],Rt);var br=Object[_0x51303a(0x281)],Or=Object[_0x51303a(0x150)],yr=(_0x2f4119,_0x21f919,_0x431075,_0x507287)=>{var _0x20d57d=_0x51303a;for(var _0x332416=_0x507287>0x1?void 0x0:_0x507287?Or(_0x21f919,_0x431075):_0x21f919,_0x1e117d=_0x2f4119[_0x20d57d(0x2b9)]-0x1,_0x2a07ee;_0x1e117d>=0x0;_0x1e117d--)(_0x2a07ee=_0x2f4119[_0x1e117d])&&(_0x332416=(_0x507287?_0x2a07ee(_0x21f919,_0x431075,_0x332416):_0x2a07ee(_0x332416))||_0x332416);return _0x507287&&_0x332416&&br(_0x21f919,_0x431075,_0x332416),_0x332416;},vt=(_0x49483c,_0x8a32c4)=>(_0x3c1c1a,_0x31369f)=>_0x8a32c4(_0x3c1c1a,_0x31369f,_0x49483c);let st=class{constructor(_0x124b5a,_0x2c4404,_0x29b889){var _0x52207d=_0x51303a;this[_0x52207d(0x2c0)]=_0x124b5a,this['_httpService']=_0x2c4404,this[_0x52207d(0x236)]=_0x29b889,this['init']();}[_0x51303a(0x239)](){var _0x569ed3=_0x51303a;this[_0x569ed3(0x42c)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x30b566,_0x311e73)=>_0x311e73(_0x30b566)['pipe'](_0x536272(async _0x16aae3=>{var _0x1a5221=_0x569ed3;const _0x18d534=_0x16aae3;if(_0x18d534[_0x1a5221(0x3c2)]===0x191){if(typeof window>'u')throw new Error(_0x1a5221(0x264));if(window[_0x1a5221(0x2a9)](this[_0x1a5221(0x236)]['t']('auth.needGotoLoginAlert'))){const _0x3907c4=window['encodeURIComponent'](window[_0x1a5221(0x215)][_0x1a5221(0x2a0)]);window[_0x1a5221(0x215)]['href']=this[_0x1a5221(0x30d)]()+_0x1a5221(0x40c)+_0x3907c4;}}return _0x18d534;}))});}[_0x51303a(0x30d)](){var _0x1e3d52=_0x51303a,_0x3cd97b,_0x584acc;const _0x360f28=this['_configService'][_0x1e3d52(0x2ec)](xn),_0x51965a=this[_0x1e3d52(0x2c0)]['getConfig'](q);return(_0x584acc=(_0x3cd97b=_0x51965a==null?void 0x0:_0x51965a[_0x1e3d52(0x246)])!=null?_0x3cd97b:_0x360f28)!=null?_0x584acc:Ln;}};st=yr([vt(0x0,_0x197b9e),vt(0x1,_0x2a2c27(_0x43259a)),vt(0x2,_0x2a2c27(_0x414916))],st);var Nr=Object[_0x51303a(0x281)],Dr=Object[_0x51303a(0x150)],Pr=(_0x35043a,_0x4d4422,_0x371555,_0x272caa)=>{var _0x245f23=_0x51303a;for(var _0x3d6edd=_0x272caa>0x1?void 0x0:_0x272caa?Dr(_0x4d4422,_0x371555):_0x4d4422,_0x1baa0d=_0x35043a[_0x245f23(0x2b9)]-0x1,_0x3dfa3a;_0x1baa0d>=0x0;_0x1baa0d--)(_0x3dfa3a=_0x35043a[_0x1baa0d])&&(_0x3d6edd=(_0x272caa?_0x3dfa3a(_0x4d4422,_0x371555,_0x3d6edd):_0x3dfa3a(_0x3d6edd))||_0x3d6edd);return _0x272caa&&_0x3d6edd&&Nr(_0x4d4422,_0x371555,_0x3d6edd),_0x3d6edd;},Xt=(_0x319e70,_0x21a82d)=>(_0x3fc119,_0xb09af5)=>_0x21a82d(_0x3fc119,_0xb09af5,_0x319e70);const Pi='AUTHZ_URL_KEY',wr='/universer-api/authz';let bt=class extends _0x47cec6{constructor(_0x4a5d4d,_0x398668){var _0x1d964c=_0x51303a;super(),this[_0x1d964c(0x36f)]=_0x4a5d4d,this[_0x1d964c(0x2c0)]=_0x398668,this['_initMergeInterceptor']();}[_0x51303a(0x293)](){var _0x484791=_0x51303a;const _0x2209b7=this;this[_0x484791(0x434)](this[_0x484791(0x36f)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2d7c72({'isMatch'(_0x50a7f6){var _0x15abb2=_0x484791,_0x1aac98;if(_0x50a7f6[_0x15abb2(0x219)]==='POST'&&((_0x1aac98=_0x50a7f6['requestParams'])!=null&&_0x1aac98[_0x15abb2(0x1df)])){const {objectID:_0x34a562,objectType:_0x176f2a}=_0x50a7f6[_0x15abb2(0x201)][_0x15abb2(0x1df)]||{};if(!_0x34a562||_0x176f2a===void 0x0)return!0x1;const _0x2caec8=_0x2209b7[_0x15abb2(0x1b2)]()+'/'+_0x176f2a+_0x15abb2(0x180)+_0x34a562+'/allowed';if(_0x50a7f6[_0x15abb2(0x3fe)]===_0x2caec8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2506f0){var _0x16ff39=_0x484791,_0x176c36;return(_0x176c36=_0x2506f0[_0x16ff39(0x201)])==null?void 0x0:_0x176c36[_0x16ff39(0x1df)];},'mergeParamsToRequest'(_0x48b8a7,_0x44fdcd){var _0x203633=_0x484791;const _0x3584b6=_0x2209b7[_0x203633(0x1b2)]()+'/-/object/-/batch_allowed',_0x51e9f4=_0x48b8a7[_0x203633(0x20a)]((_0x218e8f,_0xdfefd3)=>{var _0x257225=_0x203633;const {unitID:_0x75b785,objectID:_0x3eb97c,objectType:_0x4fda02,actions:_0x1460bf}=_0xdfefd3;return _0x218e8f[_0x75b785]||(_0x218e8f[_0x75b785]={}),_0x218e8f[_0x75b785][_0x3eb97c]||(_0x218e8f[_0x75b785][_0x3eb97c]={'objectID':_0x3eb97c,'objectType':_0x4fda02,'actions':[]}),_0x218e8f[_0x75b785][_0x3eb97c][_0x257225(0x398)][_0x257225(0x1c9)](..._0x1460bf),_0x218e8f;},{}),_0x15b864=[];for(const _0x2d5a91 in _0x51e9f4)for(const _0x3d220e in _0x51e9f4[_0x2d5a91]){const {actions:_0x28b302,objectType:_0x360161}=_0x51e9f4[_0x2d5a91][_0x3d220e],_0x3e7a01=[...new Set(_0x28b302)];_0x15b864[_0x203633(0x1c9)]({'unitID':_0x2d5a91,'objectID':_0x3d220e,'objectType':_0x360161,'actions':_0x3e7a01});}return new _0x24cdfb(_0x203633(0x36d),_0x3584b6,{'headers':_0x44fdcd['headers'],'withCredentials':_0x44fdcd['withCredentials'],'responseType':_0x44fdcd[_0x203633(0x14b)],'body':{'requests':_0x15b864}});}},{'distributeResult'(_0x46146a,_0x51699a){var _0x1cdc04=_0x484791;const {objectActions:_0x33e14c}=_0x46146a;return _0x51699a[_0x1cdc04(0x2ea)](_0x3a1444=>{var _0x42b1ca=_0x1cdc04;const {unitID:_0x130b81,objectID:_0x3f98c3,actions:_0x4cefcf}=_0x3a1444,_0x1df230=_0x33e14c[_0x42b1ca(0x269)](_0x3737bc=>_0x3737bc[_0x42b1ca(0x40d)]===_0x130b81&&_0x3737bc['objectID']===_0x3f98c3),_0x3ca2bb=_0x4cefcf[_0x42b1ca(0x2ea)](_0x434bb1=>_0x1df230==null?void 0x0:_0x1df230[_0x42b1ca(0x398)][_0x42b1ca(0x269)](_0x451fff=>_0x451fff[_0x42b1ca(0x389)]===_0x434bb1))[_0x42b1ca(0x1bc)](_0x57aebf=>!!_0x57aebf);return{'config':_0x3a1444,'result':{'actions':_0x3ca2bb,'error':_0x46146a[_0x42b1ca(0x16e)]}};});}})}));}['_getAPIPrefixPath'](){var _0x50e8f2=_0x51303a,_0x1e86ac,_0x55e4f6;const _0x23e7a3=this[_0x50e8f2(0x2c0)][_0x50e8f2(0x2ec)](Pi),_0x412d8a=this['_configService']['getConfig'](q);return(_0x55e4f6=(_0x1e86ac=_0x412d8a==null?void 0x0:_0x412d8a[_0x50e8f2(0x22f)])!=null?_0x1e86ac:_0x23e7a3)!=null?_0x55e4f6:wr;}async['create'](_0x1215db){var _0x48f91d=_0x51303a;const _0x5725f6=this[_0x48f91d(0x1b2)]()+'/'+_0x1215db[_0x48f91d(0x167)]+_0x48f91d(0x3fa);return(await this[_0x48f91d(0x36f)][_0x48f91d(0x40b)](_0x5725f6,{'body':_0x1215db}))[_0x48f91d(0x1df)]['objectID']||'';}async[_0x51303a(0x3f0)](_0x500294){var _0x4bfaa5=_0x51303a;const _0x550bd6=this[_0x4bfaa5(0x1b2)]()+_0x4bfaa5(0x1e9);return(await this[_0x4bfaa5(0x36f)]['post'](_0x550bd6,{'body':_0x500294}))[_0x4bfaa5(0x1df)][_0x4bfaa5(0x399)];}async['update'](_0x5cec73){var _0x2c3c09=_0x51303a;const _0x321f2a=this[_0x2c3c09(0x1b2)]()+'/'+_0x5cec73[_0x2c3c09(0x167)]+_0x2c3c09(0x180)+_0x5cec73['objectID'];await this[_0x2c3c09(0x36f)][_0x2c3c09(0x393)](_0x321f2a,{'body':_0x5cec73});}async[_0x51303a(0x294)](_0x4ced85){var _0x1e3205=_0x51303a;const _0x35ad07=this['_getAPIPrefixPath']()+'/'+_0x4ced85[_0x1e3205(0x167)]+_0x1e3205(0x180)+_0x4ced85[_0x1e3205(0x2f1)]+_0x1e3205(0x241);return(await this[_0x1e3205(0x36f)][_0x1e3205(0x40b)](_0x35ad07,{'body':_0x4ced85}))['body'][_0x1e3205(0x398)];}async[_0x51303a(0x3be)](_0x324a0d){var _0x2a799a=_0x51303a;const _0x465d05=this[_0x2a799a(0x1b2)]()+_0x2a799a(0x250);return(await this['_HTTPService']['post'](_0x465d05,{'body':{'requests':_0x324a0d}}))[_0x2a799a(0x1df)]['objectActions'];}async[_0x51303a(0x35e)](_0x44d592){var _0x488eef=_0x51303a;const _0xde2055=this['_getAPIPrefixPath']()+'/'+_0x44d592['objectType']+_0x488eef(0x1a9),_0x22f034=await this[_0x488eef(0x36f)][_0x488eef(0x40b)](_0xde2055,{'body':_0x44d592});return{'roles':_0x22f034[_0x488eef(0x1df)][_0x488eef(0x340)],'actions':_0x22f034[_0x488eef(0x1df)][_0x488eef(0x398)]};}async[_0x51303a(0x417)](_0x583af1){var _0x219585=_0x51303a;const _0x7053f6=this[_0x219585(0x1b2)]()+'/collaborator';await this[_0x219585(0x36f)][_0x219585(0x182)](_0x7053f6,{'params':{'collaboratorID':_0x583af1[_0x219585(0x1e0)],'objectID':_0x583af1[_0x219585(0x2f1)],'unitID':_0x583af1[_0x219585(0x40d)]}});}async[_0x51303a(0x2ae)](_0x5cf9db){var _0x1465f2=_0x51303a;const _0x1416dc=this[_0x1465f2(0x1b2)]()+_0x1465f2(0x1bf);await this[_0x1465f2(0x36f)][_0x1465f2(0x3b8)](_0x1416dc,{'body':_0x5cf9db});}async[_0x51303a(0x3e0)](_0x1ad251){var _0x276eb4=_0x51303a;const _0x41d98c=this[_0x276eb4(0x1b2)]()+_0x276eb4(0x1bf);await this[_0x276eb4(0x36f)][_0x276eb4(0x40b)](_0x41d98c,{'body':_0x1ad251});}async[_0x51303a(0x2be)](_0x97f7e7){var _0x39d239=_0x51303a;const _0x4d2569=this[_0x39d239(0x1b2)]()+_0x39d239(0x1bf);return(await this[_0x39d239(0x36f)][_0x39d239(0x227)](_0x4d2569,{'params':{'objectID':_0x97f7e7[_0x39d239(0x2f1)],'unitID':_0x97f7e7[_0x39d239(0x40d)]}}))[_0x39d239(0x1df)][_0x39d239(0x409)];}async[_0x51303a(0x3af)](_0x4cdab0){var _0x34b723=_0x51303a;const _0x5d2f3b=this[_0x34b723(0x1b2)]()+_0x34b723(0x1bf);await this['_HTTPService']['put'](_0x5d2f3b,{'body':_0x4cdab0});}};bt=Pr([Xt(0x0,_0x2a2c27(_0x43259a)),Xt(0x1,_0x2a2c27(_0x197b9e))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x5bd351){var _0x3b349d=_0x51303a;return _0x5bd351&&_0x5bd351[_0x3b349d(0x2c8)]&&Object[_0x3b349d(0x445)]['hasOwnProperty'][_0x3b349d(0x270)](_0x5bd351,'default')?_0x5bd351['default']:_0x5bd351;}var Ve={'exports':{}};function Ur(_0x2c4fe4){var _0x5395fd=_0x51303a;throw new Error(_0x5395fd(0x174)+_0x2c4fe4+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x51303a(0x34f)],Zt;function ne(){var _0x4a179d=_0x51303a;return Zt||(Zt=0x1,function(_0x26242c,_0x1c4b57){(function(_0x491710,_0x3f8909){_0x26242c['exports']=_0x3f8909();}(Ar,function(){var _0x388384=_0x388384||function(_0x38f389,_0x4c69c5){var _0x3c34de=_0x1f09,_0x1d82f7;if(typeof window<'u'&&window[_0x3c34de(0x2dc)]&&(_0x1d82f7=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1d82f7=self[_0x3c34de(0x2dc)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1d82f7=globalThis[_0x3c34de(0x2dc)]),!_0x1d82f7&&typeof window<'u'&&window['msCrypto']&&(_0x1d82f7=window['msCrypto']),!_0x1d82f7&&typeof pt<'u'&&pt['crypto']&&(_0x1d82f7=pt[_0x3c34de(0x2dc)]),!_0x1d82f7&&typeof Ur==_0x3c34de(0x3bb))try{_0x1d82f7=require(_0x3c34de(0x2dc));}catch{}var _0x480fec=function(){var _0xafdf4f=_0x3c34de;if(_0x1d82f7){if(typeof _0x1d82f7[_0xafdf4f(0x1dd)]==_0xafdf4f(0x3bb))try{return _0x1d82f7[_0xafdf4f(0x1dd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d82f7[_0xafdf4f(0x1a2)]==_0xafdf4f(0x3bb))try{return _0x1d82f7[_0xafdf4f(0x1a2)](0x4)[_0xafdf4f(0x3ef)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3cb9d8=Object[_0x3c34de(0x16d)]||(function(){function _0x5a71d5(){}return function(_0x5f25d7){var _0x2154b9=_0x1f09,_0x300980;return _0x5a71d5[_0x2154b9(0x445)]=_0x5f25d7,_0x300980=new _0x5a71d5(),_0x5a71d5['prototype']=null,_0x300980;};}()),_0x517f34={},_0x3621ed=_0x517f34[_0x3c34de(0x186)]={},_0x318742=_0x3621ed[_0x3c34de(0x338)]=(function(){return{'extend':function(_0x2dc0c4){var _0x24d75b=_0x1f09,_0xae1d85=_0x3cb9d8(this);return _0x2dc0c4&&_0xae1d85['mixIn'](_0x2dc0c4),(!_0xae1d85['hasOwnProperty'](_0x24d75b(0x239))||this[_0x24d75b(0x239)]===_0xae1d85[_0x24d75b(0x239)])&&(_0xae1d85[_0x24d75b(0x239)]=function(){var _0x54f90b=_0x24d75b;_0xae1d85[_0x54f90b(0x3e2)][_0x54f90b(0x239)][_0x54f90b(0x277)](this,arguments);}),_0xae1d85['init'][_0x24d75b(0x445)]=_0xae1d85,_0xae1d85[_0x24d75b(0x3e2)]=this,_0xae1d85;},'create':function(){var _0x563ba6=_0x1f09,_0x3457e8=this['extend']();return _0x3457e8[_0x563ba6(0x239)]['apply'](_0x3457e8,arguments),_0x3457e8;},'init':function(){},'mixIn':function(_0xefb22d){var _0x5acbd8=_0x1f09;for(var _0x1706e8 in _0xefb22d)_0xefb22d[_0x5acbd8(0x3c1)](_0x1706e8)&&(this[_0x1706e8]=_0xefb22d[_0x1706e8]);_0xefb22d[_0x5acbd8(0x3c1)](_0x5acbd8(0x1d9))&&(this[_0x5acbd8(0x1d9)]=_0xefb22d[_0x5acbd8(0x1d9)]);},'clone':function(){var _0x55d286=_0x1f09;return this[_0x55d286(0x239)][_0x55d286(0x445)][_0x55d286(0x305)](this);}};}()),_0x31f7f3=_0x3621ed['WordArray']=_0x318742[_0x3c34de(0x305)]({'init':function(_0x7f8214,_0x39d91f){var _0x2d2c45=_0x3c34de;_0x7f8214=this['words']=_0x7f8214||[],_0x39d91f!=_0x4c69c5?this[_0x2d2c45(0x36c)]=_0x39d91f:this['sigBytes']=_0x7f8214[_0x2d2c45(0x2b9)]*0x4;},'toString':function(_0x5a20f4){var _0x172a20=_0x3c34de;return(_0x5a20f4||_0x223721)[_0x172a20(0x235)](this);},'concat':function(_0x2a055a){var _0x532d44=_0x3c34de,_0x28c0a9=this['words'],_0x4c808d=_0x2a055a[_0x532d44(0x3ff)],_0xbcdb70=this[_0x532d44(0x36c)],_0x6a4303=_0x2a055a[_0x532d44(0x36c)];if(this['clamp'](),_0xbcdb70%0x4)for(var _0x47d84e=0x0;_0x47d84e<_0x6a4303;_0x47d84e++){var _0x270b3f=_0x4c808d[_0x47d84e>>>0x2]>>>0x18-_0x47d84e%0x4*0x8&0xff;_0x28c0a9[_0xbcdb70+_0x47d84e>>>0x2]|=_0x270b3f<<0x18-(_0xbcdb70+_0x47d84e)%0x4*0x8;}else{for(var _0x2c1d0a=0x0;_0x2c1d0a<_0x6a4303;_0x2c1d0a+=0x4)_0x28c0a9[_0xbcdb70+_0x2c1d0a>>>0x2]=_0x4c808d[_0x2c1d0a>>>0x2];}return this[_0x532d44(0x36c)]+=_0x6a4303,this;},'clamp':function(){var _0x276ef4=_0x3c34de,_0x43765c=this[_0x276ef4(0x3ff)],_0x13f112=this[_0x276ef4(0x36c)];_0x43765c[_0x13f112>>>0x2]&=0xffffffff<<0x20-_0x13f112%0x4*0x8,_0x43765c[_0x276ef4(0x2b9)]=_0x38f389[_0x276ef4(0x190)](_0x13f112/0x4);},'clone':function(){var _0x4a45f8=_0x3c34de,_0x118dcd=_0x318742[_0x4a45f8(0x352)][_0x4a45f8(0x270)](this);return _0x118dcd['words']=this[_0x4a45f8(0x3ff)]['slice'](0x0),_0x118dcd;},'random':function(_0x3957e2){var _0x46f4bc=_0x3c34de;for(var _0x501334=[],_0x572142=0x0;_0x572142<_0x3957e2;_0x572142+=0x4)_0x501334[_0x46f4bc(0x1c9)](_0x480fec());return new _0x31f7f3[(_0x46f4bc(0x239))](_0x501334,_0x3957e2);}}),_0x13a01b=_0x517f34[_0x3c34de(0x364)]={},_0x223721=_0x13a01b['Hex']={'stringify':function(_0x5369f3){var _0x2b6faf=_0x3c34de;for(var _0x46d5d5=_0x5369f3['words'],_0x236dc5=_0x5369f3[_0x2b6faf(0x36c)],_0x3e913d=[],_0x5c97f5=0x0;_0x5c97f5<_0x236dc5;_0x5c97f5++){var _0x4445d4=_0x46d5d5[_0x5c97f5>>>0x2]>>>0x18-_0x5c97f5%0x4*0x8&0xff;_0x3e913d[_0x2b6faf(0x1c9)]((_0x4445d4>>>0x4)[_0x2b6faf(0x1d9)](0x10)),_0x3e913d[_0x2b6faf(0x1c9)]((_0x4445d4&0xf)[_0x2b6faf(0x1d9)](0x10));}return _0x3e913d[_0x2b6faf(0x1b7)]('');},'parse':function(_0x4e1da3){var _0x350dd4=_0x3c34de;for(var _0x206b8a=_0x4e1da3['length'],_0x556c37=[],_0x7f96bf=0x0;_0x7f96bf<_0x206b8a;_0x7f96bf+=0x2)_0x556c37[_0x7f96bf>>>0x3]|=parseInt(_0x4e1da3[_0x350dd4(0x41b)](_0x7f96bf,0x2),0x10)<<0x18-_0x7f96bf%0x8*0x4;return new _0x31f7f3[(_0x350dd4(0x239))](_0x556c37,_0x206b8a/0x2);}},_0x1fc8d5=_0x13a01b[_0x3c34de(0x363)]={'stringify':function(_0x185795){var _0x2e6039=_0x3c34de;for(var _0x317bd7=_0x185795[_0x2e6039(0x3ff)],_0x2a4920=_0x185795['sigBytes'],_0x2109f9=[],_0x45d954=0x0;_0x45d954<_0x2a4920;_0x45d954++){var _0x2adb48=_0x317bd7[_0x45d954>>>0x2]>>>0x18-_0x45d954%0x4*0x8&0xff;_0x2109f9[_0x2e6039(0x1c9)](String[_0x2e6039(0x34a)](_0x2adb48));}return _0x2109f9[_0x2e6039(0x1b7)]('');},'parse':function(_0x21464c){var _0x428262=_0x3c34de;for(var _0x20c8c0=_0x21464c[_0x428262(0x2b9)],_0xee43e7=[],_0x1f3408=0x0;_0x1f3408<_0x20c8c0;_0x1f3408++)_0xee43e7[_0x1f3408>>>0x2]|=(_0x21464c[_0x428262(0x28e)](_0x1f3408)&0xff)<<0x18-_0x1f3408%0x4*0x8;return new _0x31f7f3['init'](_0xee43e7,_0x20c8c0);}},_0x3eab57=_0x13a01b[_0x3c34de(0x3b0)]={'stringify':function(_0x229c31){var _0x5e9efd=_0x3c34de;try{return decodeURIComponent(escape(_0x1fc8d5[_0x5e9efd(0x235)](_0x229c31)));}catch{throw new Error(_0x5e9efd(0x429));}},'parse':function(_0x427d7e){return _0x1fc8d5['parse'](unescape(encodeURIComponent(_0x427d7e)));}},_0x1cf724=_0x3621ed[_0x3c34de(0x3c4)]=_0x318742[_0x3c34de(0x305)]({'reset':function(){var _0x53b074=_0x3c34de;this[_0x53b074(0x2d4)]=new _0x31f7f3['init'](),this[_0x53b074(0x170)]=0x0;},'_append':function(_0x597346){var _0x417b39=_0x3c34de;typeof _0x597346==_0x417b39(0x1a0)&&(_0x597346=_0x3eab57[_0x417b39(0x354)](_0x597346)),this[_0x417b39(0x2d4)]['concat'](_0x597346),this[_0x417b39(0x170)]+=_0x597346['sigBytes'];},'_process':function(_0x4f542c){var _0x46ea02=_0x3c34de,_0x5688c7,_0x5bd8ce=this[_0x46ea02(0x2d4)],_0x3cc874=_0x5bd8ce[_0x46ea02(0x3ff)],_0x37c97c=_0x5bd8ce['sigBytes'],_0x49f0b6=this[_0x46ea02(0x31d)],_0x1b1362=_0x49f0b6*0x4,_0x1be403=_0x37c97c/_0x1b1362;_0x4f542c?_0x1be403=_0x38f389[_0x46ea02(0x190)](_0x1be403):_0x1be403=_0x38f389[_0x46ea02(0x298)]((_0x1be403|0x0)-this[_0x46ea02(0x439)],0x0);var _0x3fa6c1=_0x1be403*_0x49f0b6,_0x18df06=_0x38f389['min'](_0x3fa6c1*0x4,_0x37c97c);if(_0x3fa6c1){for(var _0x5960c1=0x0;_0x5960c1<_0x3fa6c1;_0x5960c1+=_0x49f0b6)this[_0x46ea02(0x19a)](_0x3cc874,_0x5960c1);_0x5688c7=_0x3cc874['splice'](0x0,_0x3fa6c1),_0x5bd8ce[_0x46ea02(0x36c)]-=_0x18df06;}return new _0x31f7f3[(_0x46ea02(0x239))](_0x5688c7,_0x18df06);},'clone':function(){var _0xe77a15=_0x3c34de,_0x16a390=_0x318742[_0xe77a15(0x352)][_0xe77a15(0x270)](this);return _0x16a390['_data']=this[_0xe77a15(0x2d4)][_0xe77a15(0x352)](),_0x16a390;},'_minBufferSize':0x0});_0x3621ed[_0x3c34de(0x3d3)]=_0x1cf724['extend']({'cfg':_0x318742[_0x3c34de(0x305)](),'init':function(_0x456bd1){var _0x423735=_0x3c34de;this['cfg']=this[_0x423735(0x21a)][_0x423735(0x305)](_0x456bd1),this[_0x423735(0x1bd)]();},'reset':function(){var _0x1d73f4=_0x3c34de;_0x1cf724['reset'][_0x1d73f4(0x270)](this),this['_doReset']();},'update':function(_0x2438e5){var _0x160cac=_0x3c34de;return this[_0x160cac(0x289)](_0x2438e5),this[_0x160cac(0x276)](),this;},'finalize':function(_0x21d7b6){var _0x537134=_0x3c34de;_0x21d7b6&&this[_0x537134(0x289)](_0x21d7b6);var _0x4893a1=this['_doFinalize']();return _0x4893a1;},'blockSize':0x10,'_createHelper':function(_0x514412){return function(_0x21bd32,_0x4205e3){var _0xb646e2=_0x1f09;return new _0x514412[(_0xb646e2(0x239))](_0x4205e3)[_0xb646e2(0x441)](_0x21bd32);};},'_createHmacHelper':function(_0x4f228e){return function(_0x14369e,_0x1685a5){var _0x5d5f4c=_0x1f09;return new _0x455b16[(_0x5d5f4c(0x28c))][(_0x5d5f4c(0x239))](_0x4f228e,_0x1685a5)[_0x5d5f4c(0x441)](_0x14369e);};}});var _0x455b16=_0x517f34[_0x3c34de(0x301)]={};return _0x517f34;}(Math);return _0x388384;}));}(Ge)),Ge[_0x4a179d(0x34f)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x59f1ae=_0x51303a;return Qt||(Qt=0x1,function(_0x3c11cb,_0x3684d8){(function(_0x2878d0,_0x31ff06){var _0x839608=_0x1f09;_0x3c11cb[_0x839608(0x34f)]=_0x31ff06(ne());}(xr,function(_0x119f6c){var _0x43832b=_0x1f09;return(function(){var _0x22ebc9=_0x1f09,_0x5ae909=_0x119f6c,_0xd3a42b=_0x5ae909['lib'],_0x59b532=_0xd3a42b[_0x22ebc9(0x274)],_0x3559b1=_0x5ae909[_0x22ebc9(0x364)];_0x3559b1[_0x22ebc9(0x2c7)]={'stringify':function(_0x532fe1){var _0x4fd887=_0x22ebc9,_0x4aea9e=_0x532fe1[_0x4fd887(0x3ff)],_0x546bbb=_0x532fe1['sigBytes'],_0x237b6d=this[_0x4fd887(0x1c2)];_0x532fe1[_0x4fd887(0x21c)]();for(var _0x54c2e3=[],_0x437b62=0x0;_0x437b62<_0x546bbb;_0x437b62+=0x3)for(var _0x18824a=_0x4aea9e[_0x437b62>>>0x2]>>>0x18-_0x437b62%0x4*0x8&0xff,_0x9bbadd=_0x4aea9e[_0x437b62+0x1>>>0x2]>>>0x18-(_0x437b62+0x1)%0x4*0x8&0xff,_0x3c1eda=_0x4aea9e[_0x437b62+0x2>>>0x2]>>>0x18-(_0x437b62+0x2)%0x4*0x8&0xff,_0x2fa648=_0x18824a<<0x10|_0x9bbadd<<0x8|_0x3c1eda,_0x298a1f=0x0;_0x298a1f<0x4&&_0x437b62+_0x298a1f*0.75<_0x546bbb;_0x298a1f++)_0x54c2e3['push'](_0x237b6d[_0x4fd887(0x38a)](_0x2fa648>>>0x6*(0x3-_0x298a1f)&0x3f));var _0x3f8d6b=_0x237b6d[_0x4fd887(0x38a)](0x40);if(_0x3f8d6b){for(;_0x54c2e3['length']%0x4;)_0x54c2e3[_0x4fd887(0x1c9)](_0x3f8d6b);}return _0x54c2e3[_0x4fd887(0x1b7)]('');},'parse':function(_0x12cea2){var _0x2e7932=_0x22ebc9,_0x1920b8=_0x12cea2['length'],_0x580b45=this['_map'],_0x1fb60b=this[_0x2e7932(0x2b3)];if(!_0x1fb60b){_0x1fb60b=this['_reverseMap']=[];for(var _0x3e8da7=0x0;_0x3e8da7<_0x580b45[_0x2e7932(0x2b9)];_0x3e8da7++)_0x1fb60b[_0x580b45[_0x2e7932(0x28e)](_0x3e8da7)]=_0x3e8da7;}var _0x47c86a=_0x580b45['charAt'](0x40);if(_0x47c86a){var _0x34472f=_0x12cea2[_0x2e7932(0x16a)](_0x47c86a);_0x34472f!==-0x1&&(_0x1920b8=_0x34472f);}return _0x47acc7(_0x12cea2,_0x1920b8,_0x1fb60b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x47acc7(_0x2793d1,_0x45a33a,_0x3941af){var _0x337c1b=_0x22ebc9;for(var _0x47829f=[],_0x446755=0x0,_0x3bac8=0x0;_0x3bac8<_0x45a33a;_0x3bac8++)if(_0x3bac8%0x4){var _0x55820e=_0x3941af[_0x2793d1[_0x337c1b(0x28e)](_0x3bac8-0x1)]<<_0x3bac8%0x4*0x2,_0x574b79=_0x3941af[_0x2793d1['charCodeAt'](_0x3bac8)]>>>0x6-_0x3bac8%0x4*0x2,_0x272b57=_0x55820e|_0x574b79;_0x47829f[_0x446755>>>0x2]|=_0x272b57<<0x18-_0x446755%0x4*0x8,_0x446755++;}return _0x59b532[_0x337c1b(0x16d)](_0x47829f,_0x446755);}}()),_0x119f6c[_0x43832b(0x364)][_0x43832b(0x2c7)];}));}(We)),We[_0x59f1ae(0x34f)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function _0x1f09(_0x4d222f,_0xd197aa){var _0x1f79d3=_0x1f79();return _0x1f09=function(_0x1f09bc,_0x386cb3){_0x1f09bc=_0x1f09bc-0x147;var _0x4d1af2=_0x1f79d3[_0x1f09bc];return _0x4d1af2;},_0x1f09(_0x4d222f,_0xd197aa);}function Mr(){var _0x157476=_0x51303a;return ei||(ei=0x1,function(_0x5c1402,_0xd9dfa8){(function(_0x177135,_0x3a4da2){var _0x9d4263=_0x1f09;_0x5c1402[_0x9d4263(0x34f)]=_0x3a4da2(ne());}(Lr,function(_0x1981f0){return function(_0x323e64){var _0x35aaa1=_0x1f09,_0x90ac7d=_0x1981f0,_0x117792=_0x90ac7d[_0x35aaa1(0x186)],_0x207e8c=_0x117792[_0x35aaa1(0x274)],_0x3f9f52=_0x117792['Hasher'],_0xfc3e8d=_0x90ac7d[_0x35aaa1(0x301)],_0x4a972=[];(function(){var _0x493935=_0x35aaa1;for(var _0x4ff178=0x0;_0x4ff178<0x40;_0x4ff178++)_0x4a972[_0x4ff178]=_0x323e64[_0x493935(0x377)](_0x323e64['sin'](_0x4ff178+0x1))*0x100000000|0x0;}());var _0xe7d460=_0xfc3e8d[_0x35aaa1(0x373)]=_0x3f9f52[_0x35aaa1(0x305)]({'_doReset':function(){var _0x11db31=_0x35aaa1;this[_0x11db31(0x27a)]=new _0x207e8c[(_0x11db31(0x239))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x408717,_0xee065f){for(var _0x27a0ab=0x0;_0x27a0ab<0x10;_0x27a0ab++){var _0x41b4c8=_0xee065f+_0x27a0ab,_0x1bd740=_0x408717[_0x41b4c8];_0x408717[_0x41b4c8]=(_0x1bd740<<0x8|_0x1bd740>>>0x18)&0xff00ff|(_0x1bd740<<0x18|_0x1bd740>>>0x8)&0xff00ff00;}var _0x439c18=this['_hash']['words'],_0x2ff794=_0x408717[_0xee065f+0x0],_0x99bacc=_0x408717[_0xee065f+0x1],_0x2e64fd=_0x408717[_0xee065f+0x2],_0x537823=_0x408717[_0xee065f+0x3],_0x3e3a59=_0x408717[_0xee065f+0x4],_0xe168d3=_0x408717[_0xee065f+0x5],_0x12806c=_0x408717[_0xee065f+0x6],_0x45e62c=_0x408717[_0xee065f+0x7],_0x3cbcf8=_0x408717[_0xee065f+0x8],_0x358e5e=_0x408717[_0xee065f+0x9],_0x492476=_0x408717[_0xee065f+0xa],_0x2c7d7b=_0x408717[_0xee065f+0xb],_0x214d86=_0x408717[_0xee065f+0xc],_0x4bad60=_0x408717[_0xee065f+0xd],_0x5cc588=_0x408717[_0xee065f+0xe],_0x3104b6=_0x408717[_0xee065f+0xf],_0x591883=_0x439c18[0x0],_0x43df94=_0x439c18[0x1],_0x4e7bc3=_0x439c18[0x2],_0x391fe5=_0x439c18[0x3];_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x2ff794,0x7,_0x4a972[0x0]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x99bacc,0xc,_0x4a972[0x1]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2e64fd,0x11,_0x4a972[0x2]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x537823,0x16,_0x4a972[0x3]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3e3a59,0x7,_0x4a972[0x4]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0xe168d3,0xc,_0x4a972[0x5]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x12806c,0x11,_0x4a972[0x6]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x45e62c,0x16,_0x4a972[0x7]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3cbcf8,0x7,_0x4a972[0x8]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x358e5e,0xc,_0x4a972[0x9]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x492476,0x11,_0x4a972[0xa]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2c7d7b,0x16,_0x4a972[0xb]),_0x591883=_0x1bcd73(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x214d86,0x7,_0x4a972[0xc]),_0x391fe5=_0x1bcd73(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x4bad60,0xc,_0x4a972[0xd]),_0x4e7bc3=_0x1bcd73(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x5cc588,0x11,_0x4a972[0xe]),_0x43df94=_0x1bcd73(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3104b6,0x16,_0x4a972[0xf]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x99bacc,0x5,_0x4a972[0x10]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x12806c,0x9,_0x4a972[0x11]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2c7d7b,0xe,_0x4a972[0x12]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2ff794,0x14,_0x4a972[0x13]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0xe168d3,0x5,_0x4a972[0x14]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x492476,0x9,_0x4a972[0x15]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x3104b6,0xe,_0x4a972[0x16]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3e3a59,0x14,_0x4a972[0x17]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x358e5e,0x5,_0x4a972[0x18]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x5cc588,0x9,_0x4a972[0x19]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x537823,0xe,_0x4a972[0x1a]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x3cbcf8,0x14,_0x4a972[0x1b]),_0x591883=_0x1d492d(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x4bad60,0x5,_0x4a972[0x1c]),_0x391fe5=_0x1d492d(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2e64fd,0x9,_0x4a972[0x1d]),_0x4e7bc3=_0x1d492d(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x45e62c,0xe,_0x4a972[0x1e]),_0x43df94=_0x1d492d(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x214d86,0x14,_0x4a972[0x1f]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0xe168d3,0x4,_0x4a972[0x20]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3cbcf8,0xb,_0x4a972[0x21]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2c7d7b,0x10,_0x4a972[0x22]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x5cc588,0x17,_0x4a972[0x23]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x99bacc,0x4,_0x4a972[0x24]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3e3a59,0xb,_0x4a972[0x25]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x45e62c,0x10,_0x4a972[0x26]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x492476,0x17,_0x4a972[0x27]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x4bad60,0x4,_0x4a972[0x28]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2ff794,0xb,_0x4a972[0x29]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x537823,0x10,_0x4a972[0x2a]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x12806c,0x17,_0x4a972[0x2b]),_0x591883=_0x3915a8(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x358e5e,0x4,_0x4a972[0x2c]),_0x391fe5=_0x3915a8(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x214d86,0xb,_0x4a972[0x2d]),_0x4e7bc3=_0x3915a8(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x3104b6,0x10,_0x4a972[0x2e]),_0x43df94=_0x3915a8(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x2e64fd,0x17,_0x4a972[0x2f]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x2ff794,0x6,_0x4a972[0x30]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x45e62c,0xa,_0x4a972[0x31]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x5cc588,0xf,_0x4a972[0x32]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0xe168d3,0x15,_0x4a972[0x33]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x214d86,0x6,_0x4a972[0x34]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x537823,0xa,_0x4a972[0x35]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x492476,0xf,_0x4a972[0x36]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x99bacc,0x15,_0x4a972[0x37]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3cbcf8,0x6,_0x4a972[0x38]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x3104b6,0xa,_0x4a972[0x39]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x12806c,0xf,_0x4a972[0x3a]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x4bad60,0x15,_0x4a972[0x3b]),_0x591883=_0xfaade(_0x591883,_0x43df94,_0x4e7bc3,_0x391fe5,_0x3e3a59,0x6,_0x4a972[0x3c]),_0x391fe5=_0xfaade(_0x391fe5,_0x591883,_0x43df94,_0x4e7bc3,_0x2c7d7b,0xa,_0x4a972[0x3d]),_0x4e7bc3=_0xfaade(_0x4e7bc3,_0x391fe5,_0x591883,_0x43df94,_0x2e64fd,0xf,_0x4a972[0x3e]),_0x43df94=_0xfaade(_0x43df94,_0x4e7bc3,_0x391fe5,_0x591883,_0x358e5e,0x15,_0x4a972[0x3f]),_0x439c18[0x0]=_0x439c18[0x0]+_0x591883|0x0,_0x439c18[0x1]=_0x439c18[0x1]+_0x43df94|0x0,_0x439c18[0x2]=_0x439c18[0x2]+_0x4e7bc3|0x0,_0x439c18[0x3]=_0x439c18[0x3]+_0x391fe5|0x0;},'_doFinalize':function(){var _0x2c3055=_0x35aaa1,_0x5963a4=this[_0x2c3055(0x2d4)],_0x38f472=_0x5963a4[_0x2c3055(0x3ff)],_0x29f8fd=this['_nDataBytes']*0x8,_0x115137=_0x5963a4[_0x2c3055(0x36c)]*0x8;_0x38f472[_0x115137>>>0x5]|=0x80<<0x18-_0x115137%0x20;var _0x5eeef0=_0x323e64[_0x2c3055(0x20d)](_0x29f8fd/0x100000000),_0x36e157=_0x29f8fd;_0x38f472[(_0x115137+0x40>>>0x9<<0x4)+0xf]=(_0x5eeef0<<0x8|_0x5eeef0>>>0x18)&0xff00ff|(_0x5eeef0<<0x18|_0x5eeef0>>>0x8)&0xff00ff00,_0x38f472[(_0x115137+0x40>>>0x9<<0x4)+0xe]=(_0x36e157<<0x8|_0x36e157>>>0x18)&0xff00ff|(_0x36e157<<0x18|_0x36e157>>>0x8)&0xff00ff00,_0x5963a4[_0x2c3055(0x36c)]=(_0x38f472[_0x2c3055(0x2b9)]+0x1)*0x4,this[_0x2c3055(0x276)]();for(var _0x57d897=this[_0x2c3055(0x27a)],_0x11d94c=_0x57d897[_0x2c3055(0x3ff)],_0x59f001=0x0;_0x59f001<0x4;_0x59f001++){var _0x26a16=_0x11d94c[_0x59f001];_0x11d94c[_0x59f001]=(_0x26a16<<0x8|_0x26a16>>>0x18)&0xff00ff|(_0x26a16<<0x18|_0x26a16>>>0x8)&0xff00ff00;}return _0x57d897;},'clone':function(){var _0x193fc1=_0x35aaa1,_0x5957b2=_0x3f9f52['clone'][_0x193fc1(0x270)](this);return _0x5957b2['_hash']=this[_0x193fc1(0x27a)][_0x193fc1(0x352)](),_0x5957b2;}});function _0x1bcd73(_0x5ead1a,_0x98b3b8,_0x1d81f3,_0x43b034,_0xe65fa3,_0x5f247e,_0x2e37d0){var _0x1ad43c=_0x5ead1a+(_0x98b3b8&_0x1d81f3|~_0x98b3b8&_0x43b034)+_0xe65fa3+_0x2e37d0;return(_0x1ad43c<<_0x5f247e|_0x1ad43c>>>0x20-_0x5f247e)+_0x98b3b8;}function _0x1d492d(_0x5bdf05,_0x19b8f4,_0x971e0f,_0x22cc93,_0x781769,_0x91eb52,_0x3d27b2){var _0x1e75ee=_0x5bdf05+(_0x19b8f4&_0x22cc93|_0x971e0f&~_0x22cc93)+_0x781769+_0x3d27b2;return(_0x1e75ee<<_0x91eb52|_0x1e75ee>>>0x20-_0x91eb52)+_0x19b8f4;}function _0x3915a8(_0x3f121e,_0x2ab77e,_0x39d85b,_0x144d8d,_0x47ec02,_0x451862,_0xd9b001){var _0x54d4e3=_0x3f121e+(_0x2ab77e^_0x39d85b^_0x144d8d)+_0x47ec02+_0xd9b001;return(_0x54d4e3<<_0x451862|_0x54d4e3>>>0x20-_0x451862)+_0x2ab77e;}function _0xfaade(_0x287187,_0x264df6,_0x4c1a78,_0x1451c5,_0x343b24,_0x2b34ce,_0x11cd82){var _0x27d969=_0x287187+(_0x4c1a78^(_0x264df6|~_0x1451c5))+_0x343b24+_0x11cd82;return(_0x27d969<<_0x2b34ce|_0x27d969>>>0x20-_0x2b34ce)+_0x264df6;}_0x90ac7d[_0x35aaa1(0x373)]=_0x3f9f52[_0x35aaa1(0x332)](_0xe7d460),_0x90ac7d[_0x35aaa1(0x254)]=_0x3f9f52[_0x35aaa1(0x32b)](_0xe7d460);}(Math),_0x1981f0['MD5'];}));}(Ke)),Ke[_0x157476(0x34f)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x1e0bb4=_0x51303a;return ti||(ti=0x1,function(_0x2cc3d7,_0xdd02aa){(function(_0x98320c,_0x430f82){var _0x4b661b=_0x1f09;_0x2cc3d7[_0x4b661b(0x34f)]=_0x430f82(ne());}($r,function(_0x1a5e27){var _0x1a4673=_0x1f09;return(function(){var _0x44d6d2=_0x1f09,_0x498502=_0x1a5e27,_0x3f82cd=_0x498502['lib'],_0x3391ea=_0x3f82cd[_0x44d6d2(0x274)],_0x2d2793=_0x3f82cd[_0x44d6d2(0x3d3)],_0x46f08f=_0x498502[_0x44d6d2(0x301)],_0x24cc14=[],_0x411b19=_0x46f08f[_0x44d6d2(0x1b0)]=_0x2d2793[_0x44d6d2(0x305)]({'_doReset':function(){var _0x359830=_0x44d6d2;this[_0x359830(0x27a)]=new _0x3391ea[(_0x359830(0x239))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1481d3,_0xbfca34){var _0x3ae58a=_0x44d6d2;for(var _0x2d750b=this[_0x3ae58a(0x27a)][_0x3ae58a(0x3ff)],_0x54241b=_0x2d750b[0x0],_0x1f0716=_0x2d750b[0x1],_0x255c10=_0x2d750b[0x2],_0x481113=_0x2d750b[0x3],_0x361c5f=_0x2d750b[0x4],_0x236e38=0x0;_0x236e38<0x50;_0x236e38++){if(_0x236e38<0x10)_0x24cc14[_0x236e38]=_0x1481d3[_0xbfca34+_0x236e38]|0x0;else{var _0x27b0c5=_0x24cc14[_0x236e38-0x3]^_0x24cc14[_0x236e38-0x8]^_0x24cc14[_0x236e38-0xe]^_0x24cc14[_0x236e38-0x10];_0x24cc14[_0x236e38]=_0x27b0c5<<0x1|_0x27b0c5>>>0x1f;}var _0x77e714=(_0x54241b<<0x5|_0x54241b>>>0x1b)+_0x361c5f+_0x24cc14[_0x236e38];_0x236e38<0x14?_0x77e714+=(_0x1f0716&_0x255c10|~_0x1f0716&_0x481113)+0x5a827999:_0x236e38<0x28?_0x77e714+=(_0x1f0716^_0x255c10^_0x481113)+0x6ed9eba1:_0x236e38<0x3c?_0x77e714+=(_0x1f0716&_0x255c10|_0x1f0716&_0x481113|_0x255c10&_0x481113)-0x70e44324:_0x77e714+=(_0x1f0716^_0x255c10^_0x481113)-0x359d3e2a,_0x361c5f=_0x481113,_0x481113=_0x255c10,_0x255c10=_0x1f0716<<0x1e|_0x1f0716>>>0x2,_0x1f0716=_0x54241b,_0x54241b=_0x77e714;}_0x2d750b[0x0]=_0x2d750b[0x0]+_0x54241b|0x0,_0x2d750b[0x1]=_0x2d750b[0x1]+_0x1f0716|0x0,_0x2d750b[0x2]=_0x2d750b[0x2]+_0x255c10|0x0,_0x2d750b[0x3]=_0x2d750b[0x3]+_0x481113|0x0,_0x2d750b[0x4]=_0x2d750b[0x4]+_0x361c5f|0x0;},'_doFinalize':function(){var _0x4943ba=_0x44d6d2,_0x256d4a=this[_0x4943ba(0x2d4)],_0x58edf2=_0x256d4a[_0x4943ba(0x3ff)],_0x22fe80=this[_0x4943ba(0x170)]*0x8,_0x419ffa=_0x256d4a['sigBytes']*0x8;return _0x58edf2[_0x419ffa>>>0x5]|=0x80<<0x18-_0x419ffa%0x20,_0x58edf2[(_0x419ffa+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x22fe80/0x100000000),_0x58edf2[(_0x419ffa+0x40>>>0x9<<0x4)+0xf]=_0x22fe80,_0x256d4a[_0x4943ba(0x36c)]=_0x58edf2[_0x4943ba(0x2b9)]*0x4,this[_0x4943ba(0x276)](),this['_hash'];},'clone':function(){var _0x53f3d6=_0x44d6d2,_0x420a63=_0x2d2793['clone'][_0x53f3d6(0x270)](this);return _0x420a63[_0x53f3d6(0x27a)]=this[_0x53f3d6(0x27a)][_0x53f3d6(0x352)](),_0x420a63;}});_0x498502[_0x44d6d2(0x1b0)]=_0x2d2793[_0x44d6d2(0x332)](_0x411b19),_0x498502[_0x44d6d2(0x2bd)]=_0x2d2793[_0x44d6d2(0x32b)](_0x411b19);}()),_0x1a5e27[_0x1a4673(0x1b0)];}));}(qe)),qe[_0x1e0bb4(0x34f)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0x45a5e6,_0x5cb9f4){(function(_0x323a8a,_0xd4874c){var _0x40fbf3=_0x1f09;_0x45a5e6[_0x40fbf3(0x34f)]=_0xd4874c(ne());}(kr,function(_0x392f0b){(function(){var _0x552a6c=_0x1f09,_0x57ecd3=_0x392f0b,_0x43c12a=_0x57ecd3[_0x552a6c(0x186)],_0x4b5d2d=_0x43c12a[_0x552a6c(0x338)],_0x1bf9f1=_0x57ecd3[_0x552a6c(0x364)],_0x591286=_0x1bf9f1[_0x552a6c(0x3b0)],_0x18d37e=_0x57ecd3['algo'];_0x18d37e[_0x552a6c(0x28c)]=_0x4b5d2d['extend']({'init':function(_0x1ff434,_0xa3dace){var _0x2b33b5=_0x552a6c;_0x1ff434=this[_0x2b33b5(0x1b9)]=new _0x1ff434[(_0x2b33b5(0x239))](),typeof _0xa3dace==_0x2b33b5(0x1a0)&&(_0xa3dace=_0x591286[_0x2b33b5(0x354)](_0xa3dace));var _0x55f4c0=_0x1ff434[_0x2b33b5(0x31d)],_0x2a5fc4=_0x55f4c0*0x4;_0xa3dace['sigBytes']>_0x2a5fc4&&(_0xa3dace=_0x1ff434[_0x2b33b5(0x441)](_0xa3dace)),_0xa3dace['clamp']();for(var _0x227794=this['_oKey']=_0xa3dace[_0x2b33b5(0x352)](),_0x1491de=this[_0x2b33b5(0x209)]=_0xa3dace[_0x2b33b5(0x352)](),_0x5b7e5e=_0x227794[_0x2b33b5(0x3ff)],_0x268914=_0x1491de[_0x2b33b5(0x3ff)],_0x2e34b8=0x0;_0x2e34b8<_0x55f4c0;_0x2e34b8++)_0x5b7e5e[_0x2e34b8]^=0x5c5c5c5c,_0x268914[_0x2e34b8]^=0x36363636;_0x227794[_0x2b33b5(0x36c)]=_0x1491de[_0x2b33b5(0x36c)]=_0x2a5fc4,this[_0x2b33b5(0x1bd)]();},'reset':function(){var _0x5c9e89=_0x552a6c,_0x35b9f1=this[_0x5c9e89(0x1b9)];_0x35b9f1[_0x5c9e89(0x1bd)](),_0x35b9f1['update'](this['_iKey']);},'update':function(_0x313877){var _0x260636=_0x552a6c;return this[_0x260636(0x1b9)][_0x260636(0x1e4)](_0x313877),this;},'finalize':function(_0x5b46c2){var _0xdd0946=_0x552a6c,_0x3bf425=this[_0xdd0946(0x1b9)],_0x28e36c=_0x3bf425[_0xdd0946(0x441)](_0x5b46c2);_0x3bf425['reset']();var _0x56b1df=_0x3bf425[_0xdd0946(0x441)](this[_0xdd0946(0x3f9)]['clone']()[_0xdd0946(0x249)](_0x28e36c));return _0x56b1df;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x51303a(0x34f)],ni;function Ui(){var _0x5be32e=_0x51303a;return ni||(ni=0x1,function(_0x134454,_0x1da539){(function(_0x5f05c2,_0x5ed828,_0x58c0e0){_0x134454['exports']=_0x5ed828(ne(),Hr(),jr());}(Br,function(_0x2f472c){var _0x28a511=_0x1f09;return(function(){var _0x26f9c3=_0x1f09,_0xd8e50e=_0x2f472c,_0x19e64b=_0xd8e50e[_0x26f9c3(0x186)],_0x309f53=_0x19e64b[_0x26f9c3(0x338)],_0x28067e=_0x19e64b['WordArray'],_0x2b8573=_0xd8e50e[_0x26f9c3(0x301)],_0x154600=_0x2b8573[_0x26f9c3(0x373)],_0x3c52bf=_0x2b8573[_0x26f9c3(0x192)]=_0x309f53[_0x26f9c3(0x305)]({'cfg':_0x309f53[_0x26f9c3(0x305)]({'keySize':0x80/0x20,'hasher':_0x154600,'iterations':0x1}),'init':function(_0x1b1d9b){var _0x5099a1=_0x26f9c3;this[_0x5099a1(0x21a)]=this[_0x5099a1(0x21a)]['extend'](_0x1b1d9b);},'compute':function(_0x490faa,_0x556c07){var _0x5d3268=_0x26f9c3;for(var _0x55af69,_0x1e0514=this[_0x5d3268(0x21a)],_0x198d57=_0x1e0514[_0x5d3268(0x3bc)][_0x5d3268(0x16d)](),_0x16a965=_0x28067e[_0x5d3268(0x16d)](),_0x24d905=_0x16a965[_0x5d3268(0x3ff)],_0x371470=_0x1e0514[_0x5d3268(0x2a5)],_0x3051d8=_0x1e0514[_0x5d3268(0x43e)];_0x24d905[_0x5d3268(0x2b9)]<_0x371470;){_0x55af69&&_0x198d57[_0x5d3268(0x1e4)](_0x55af69),_0x55af69=_0x198d57[_0x5d3268(0x1e4)](_0x490faa)['finalize'](_0x556c07),_0x198d57[_0x5d3268(0x1bd)]();for(var _0x3e16cf=0x1;_0x3e16cf<_0x3051d8;_0x3e16cf++)_0x55af69=_0x198d57['finalize'](_0x55af69),_0x198d57[_0x5d3268(0x1bd)]();_0x16a965[_0x5d3268(0x249)](_0x55af69);}return _0x16a965['sigBytes']=_0x371470*0x4,_0x16a965;}});_0xd8e50e[_0x26f9c3(0x192)]=function(_0x57831e,_0x4f9576,_0xdac66b){return _0x3c52bf['create'](_0xdac66b)['compute'](_0x57831e,_0x4f9576);};}()),_0x2f472c[_0x28a511(0x192)];}));}(Ye)),Ye[_0x5be32e(0x34f)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0xc803cc=_0x51303a;return ri||(ri=0x1,function(_0x44ccf9,_0x2ba8cf){(function(_0x478cca,_0x16fac6,_0x3c2965){var _0x450c3c=_0x1f09;_0x44ccf9[_0x450c3c(0x34f)]=_0x16fac6(ne(),Ui());}(Fr,function(_0x5db707){var _0x3233fc=_0x1f09;_0x5db707['lib'][_0x3233fc(0x189)]||function(_0x1e183c){var _0x1df056=_0x3233fc,_0xe370ac=_0x5db707,_0x229c59=_0xe370ac[_0x1df056(0x186)],_0x2b5e7e=_0x229c59['Base'],_0x271a26=_0x229c59[_0x1df056(0x274)],_0x4a6c05=_0x229c59[_0x1df056(0x3c4)],_0x4b11b4=_0xe370ac['enc'];_0x4b11b4['Utf8'];var _0x18ea9f=_0x4b11b4['Base64'],_0x2bd379=_0xe370ac[_0x1df056(0x301)],_0x356192=_0x2bd379['EvpKDF'],_0x27ec9d=_0x229c59['Cipher']=_0x4a6c05[_0x1df056(0x305)]({'cfg':_0x2b5e7e[_0x1df056(0x305)](),'createEncryptor':function(_0x3f3d3c,_0x53c17e){var _0x58b04d=_0x1df056;return this[_0x58b04d(0x16d)](this[_0x58b04d(0x222)],_0x3f3d3c,_0x53c17e);},'createDecryptor':function(_0x5af0b8,_0xdea671){var _0x34b43e=_0x1df056;return this['create'](this[_0x34b43e(0x1aa)],_0x5af0b8,_0xdea671);},'init':function(_0x492d7a,_0x117f49,_0x743911){var _0x5aa810=_0x1df056;this[_0x5aa810(0x21a)]=this[_0x5aa810(0x21a)][_0x5aa810(0x305)](_0x743911),this[_0x5aa810(0x14d)]=_0x492d7a,this[_0x5aa810(0x159)]=_0x117f49,this['reset']();},'reset':function(){var _0x418dce=_0x1df056;_0x4a6c05[_0x418dce(0x1bd)][_0x418dce(0x270)](this),this[_0x418dce(0x2b1)]();},'process':function(_0x5ceb68){var _0x453c28=_0x1df056;return this[_0x453c28(0x289)](_0x5ceb68),this[_0x453c28(0x276)]();},'finalize':function(_0x232c15){var _0x4bafb7=_0x1df056;_0x232c15&&this[_0x4bafb7(0x289)](_0x232c15);var _0x224063=this[_0x4bafb7(0x376)]();return _0x224063;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x23425b(_0x5ecdf6){var _0x27c5f9=_0x1f09;return typeof _0x5ecdf6==_0x27c5f9(0x1a0)?_0x541eaa:_0x2a06ee;}return function(_0x4b3afd){return{'encrypt':function(_0xf2ea7e,_0x3db551,_0x3df183){var _0x30533c=_0x1f09;return _0x23425b(_0x3db551)[_0x30533c(0x295)](_0x4b3afd,_0xf2ea7e,_0x3db551,_0x3df183);},'decrypt':function(_0x35d589,_0xc880cf,_0x582e4a){return _0x23425b(_0xc880cf)['decrypt'](_0x4b3afd,_0x35d589,_0xc880cf,_0x582e4a);}};};}())});_0x229c59[_0x1df056(0x356)]=_0x27ec9d['extend']({'_doFinalize':function(){var _0x27ea2f=this['_process'](!0x0);return _0x27ea2f;},'blockSize':0x1});var _0x15dfe6=_0xe370ac[_0x1df056(0x244)]={},_0x5ae2aa=_0x229c59[_0x1df056(0x1a7)]=_0x2b5e7e[_0x1df056(0x305)]({'createEncryptor':function(_0x1d4bac,_0x12eb83){var _0xb1dda2=_0x1df056;return this[_0xb1dda2(0x278)]['create'](_0x1d4bac,_0x12eb83);},'createDecryptor':function(_0x193abc,_0xcabdaf){var _0x18be5c=_0x1df056;return this[_0x18be5c(0x1cc)][_0x18be5c(0x16d)](_0x193abc,_0xcabdaf);},'init':function(_0x5720f7,_0x2fded0){var _0x36fb11=_0x1df056;this[_0x36fb11(0x1c4)]=_0x5720f7,this[_0x36fb11(0x30b)]=_0x2fded0;}}),_0x47e23d=_0x15dfe6[_0x1df056(0x38e)]=(function(){var _0x2e9d94=_0x1df056,_0x3b8e65=_0x5ae2aa[_0x2e9d94(0x305)]();_0x3b8e65[_0x2e9d94(0x278)]=_0x3b8e65[_0x2e9d94(0x305)]({'processBlock':function(_0x3f334e,_0x4421df){var _0x4db0ab=_0x2e9d94,_0x3a2be8=this[_0x4db0ab(0x1c4)],_0x5610a7=_0x3a2be8[_0x4db0ab(0x31d)];_0x2f4716['call'](this,_0x3f334e,_0x4421df,_0x5610a7),_0x3a2be8[_0x4db0ab(0x427)](_0x3f334e,_0x4421df),this[_0x4db0ab(0x3de)]=_0x3f334e[_0x4db0ab(0x172)](_0x4421df,_0x4421df+_0x5610a7);}}),_0x3b8e65[_0x2e9d94(0x1cc)]=_0x3b8e65['extend']({'processBlock':function(_0x92becb,_0x590bac){var _0x20314d=_0x2e9d94,_0x3db968=this[_0x20314d(0x1c4)],_0x18f187=_0x3db968[_0x20314d(0x31d)],_0x3113b3=_0x92becb[_0x20314d(0x172)](_0x590bac,_0x590bac+_0x18f187);_0x3db968[_0x20314d(0x14e)](_0x92becb,_0x590bac),_0x2f4716[_0x20314d(0x270)](this,_0x92becb,_0x590bac,_0x18f187),this[_0x20314d(0x3de)]=_0x3113b3;}});function _0x2f4716(_0x566cf9,_0x2a4ea6,_0x3baf73){var _0x270e60=_0x2e9d94,_0x446fec,_0x2904a0=this[_0x270e60(0x30b)];_0x2904a0?(_0x446fec=_0x2904a0,this[_0x270e60(0x30b)]=_0x1e183c):_0x446fec=this[_0x270e60(0x3de)];for(var _0x5532df=0x0;_0x5532df<_0x3baf73;_0x5532df++)_0x566cf9[_0x2a4ea6+_0x5532df]^=_0x446fec[_0x5532df];}return _0x3b8e65;}()),_0x2bf88e=_0xe370ac[_0x1df056(0x442)]={},_0x30bb23=_0x2bf88e['Pkcs7']={'pad':function(_0x4cefd5,_0x2e7250){var _0x3f4c27=_0x1df056;for(var _0x1203a0=_0x2e7250*0x4,_0x5d7c42=_0x1203a0-_0x4cefd5['sigBytes']%_0x1203a0,_0x5e6112=_0x5d7c42<<0x18|_0x5d7c42<<0x10|_0x5d7c42<<0x8|_0x5d7c42,_0x9367a1=[],_0x467684=0x0;_0x467684<_0x5d7c42;_0x467684+=0x4)_0x9367a1[_0x3f4c27(0x1c9)](_0x5e6112);var _0x505b93=_0x271a26[_0x3f4c27(0x16d)](_0x9367a1,_0x5d7c42);_0x4cefd5['concat'](_0x505b93);},'unpad':function(_0x35676e){var _0x3ffb23=_0x1df056,_0x172062=_0x35676e[_0x3ffb23(0x3ff)][_0x35676e[_0x3ffb23(0x36c)]-0x1>>>0x2]&0xff;_0x35676e[_0x3ffb23(0x36c)]-=_0x172062;}};_0x229c59[_0x1df056(0x19e)]=_0x27ec9d[_0x1df056(0x305)]({'cfg':_0x27ec9d[_0x1df056(0x21a)][_0x1df056(0x305)]({'mode':_0x47e23d,'padding':_0x30bb23}),'reset':function(){var _0x7156e=_0x1df056,_0x63b90f;_0x27ec9d[_0x7156e(0x1bd)][_0x7156e(0x270)](this);var _0x4237da=this[_0x7156e(0x21a)],_0x59f6dd=_0x4237da['iv'],_0xdf8839=_0x4237da[_0x7156e(0x244)];this[_0x7156e(0x14d)]==this[_0x7156e(0x222)]?_0x63b90f=_0xdf8839[_0x7156e(0x1e7)]:(_0x63b90f=_0xdf8839[_0x7156e(0x1d6)],this['_minBufferSize']=0x1),this[_0x7156e(0x318)]&&this[_0x7156e(0x318)][_0x7156e(0x31c)]==_0x63b90f?this[_0x7156e(0x318)]['init'](this,_0x59f6dd&&_0x59f6dd[_0x7156e(0x3ff)]):(this[_0x7156e(0x318)]=_0x63b90f[_0x7156e(0x270)](_0xdf8839,this,_0x59f6dd&&_0x59f6dd[_0x7156e(0x3ff)]),this['_mode'][_0x7156e(0x31c)]=_0x63b90f);},'_doProcessBlock':function(_0x4ac300,_0x1b75b6){var _0x2e8882=_0x1df056;this[_0x2e8882(0x318)][_0x2e8882(0x208)](_0x4ac300,_0x1b75b6);},'_doFinalize':function(){var _0x3ccc24=_0x1df056,_0x5192ad,_0x14dcdd=this['cfg'][_0x3ccc24(0x355)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x14dcdd[_0x3ccc24(0x442)](this[_0x3ccc24(0x2d4)],this['blockSize']),_0x5192ad=this[_0x3ccc24(0x276)](!0x0)):(_0x5192ad=this['_process'](!0x0),_0x14dcdd[_0x3ccc24(0x330)](_0x5192ad)),_0x5192ad;},'blockSize':0x80/0x20});var _0x133e78=_0x229c59[_0x1df056(0x2ee)]=_0x2b5e7e[_0x1df056(0x305)]({'init':function(_0x473f90){this['mixIn'](_0x473f90);},'toString':function(_0x4f049f){var _0x4d7ed7=_0x1df056;return(_0x4f049f||this[_0x4d7ed7(0x197)])[_0x4d7ed7(0x235)](this);}}),_0x3980e5=_0xe370ac[_0x1df056(0x32f)]={},_0x1cb33b=_0x3980e5['OpenSSL']={'stringify':function(_0x41db7c){var _0x1aa81d=_0x1df056,_0x5a6662,_0x1ed8a1=_0x41db7c[_0x1aa81d(0x430)],_0x55a4a4=_0x41db7c[_0x1aa81d(0x3df)];return _0x55a4a4?_0x5a6662=_0x271a26[_0x1aa81d(0x16d)]([0x53616c74,0x65645f5f])['concat'](_0x55a4a4)[_0x1aa81d(0x249)](_0x1ed8a1):_0x5a6662=_0x1ed8a1,_0x5a6662[_0x1aa81d(0x1d9)](_0x18ea9f);},'parse':function(_0x57ccf3){var _0x32633a=_0x1df056,_0x151a21,_0x4214ae=_0x18ea9f[_0x32633a(0x354)](_0x57ccf3),_0x3ba2ed=_0x4214ae[_0x32633a(0x3ff)];return _0x3ba2ed[0x0]==0x53616c74&&_0x3ba2ed[0x1]==0x65645f5f&&(_0x151a21=_0x271a26[_0x32633a(0x16d)](_0x3ba2ed[_0x32633a(0x172)](0x2,0x4)),_0x3ba2ed[_0x32633a(0x271)](0x0,0x4),_0x4214ae[_0x32633a(0x36c)]-=0x10),_0x133e78[_0x32633a(0x16d)]({'ciphertext':_0x4214ae,'salt':_0x151a21});}},_0x2a06ee=_0x229c59[_0x1df056(0x2aa)]=_0x2b5e7e[_0x1df056(0x305)]({'cfg':_0x2b5e7e[_0x1df056(0x305)]({'format':_0x1cb33b}),'encrypt':function(_0x24c025,_0x15d861,_0x45a984,_0x5f165a){var _0x4ece15=_0x1df056;_0x5f165a=this[_0x4ece15(0x21a)][_0x4ece15(0x305)](_0x5f165a);var _0x20835f=_0x24c025['createEncryptor'](_0x45a984,_0x5f165a),_0x5b700c=_0x20835f[_0x4ece15(0x441)](_0x15d861),_0x12cf6d=_0x20835f['cfg'];return _0x133e78[_0x4ece15(0x16d)]({'ciphertext':_0x5b700c,'key':_0x45a984,'iv':_0x12cf6d['iv'],'algorithm':_0x24c025,'mode':_0x12cf6d[_0x4ece15(0x244)],'padding':_0x12cf6d[_0x4ece15(0x355)],'blockSize':_0x24c025['blockSize'],'formatter':_0x5f165a[_0x4ece15(0x32f)]});},'decrypt':function(_0x32f832,_0x5a14b2,_0xd3b053,_0x439677){var _0x3dd757=_0x1df056;_0x439677=this[_0x3dd757(0x21a)]['extend'](_0x439677),_0x5a14b2=this[_0x3dd757(0x337)](_0x5a14b2,_0x439677[_0x3dd757(0x32f)]);var _0x50dd8a=_0x32f832[_0x3dd757(0x1d6)](_0xd3b053,_0x439677)['finalize'](_0x5a14b2[_0x3dd757(0x430)]);return _0x50dd8a;},'_parse':function(_0x5becb7,_0x50562a){var _0x5b6adf=_0x1df056;return typeof _0x5becb7==_0x5b6adf(0x1a0)?_0x50562a[_0x5b6adf(0x354)](_0x5becb7,this):_0x5becb7;}}),_0x5bdee8=_0xe370ac[_0x1df056(0x323)]={},_0x3f19ca=_0x5bdee8[_0x1df056(0x357)]={'execute':function(_0xd0b322,_0x4f1a4c,_0x179b96,_0x472e78,_0x1e807f){var _0x3ea7bb=_0x1df056;if(_0x472e78||(_0x472e78=_0x271a26[_0x3ea7bb(0x24a)](0x40/0x8)),_0x1e807f)var _0x5958c0=_0x356192['create']({'keySize':_0x4f1a4c+_0x179b96,'hasher':_0x1e807f})[_0x3ea7bb(0x24b)](_0xd0b322,_0x472e78);else var _0x5958c0=_0x356192[_0x3ea7bb(0x16d)]({'keySize':_0x4f1a4c+_0x179b96})[_0x3ea7bb(0x24b)](_0xd0b322,_0x472e78);var _0x1bf52a=_0x271a26[_0x3ea7bb(0x16d)](_0x5958c0[_0x3ea7bb(0x3ff)][_0x3ea7bb(0x172)](_0x4f1a4c),_0x179b96*0x4);return _0x5958c0[_0x3ea7bb(0x36c)]=_0x4f1a4c*0x4,_0x133e78[_0x3ea7bb(0x16d)]({'key':_0x5958c0,'iv':_0x1bf52a,'salt':_0x472e78});}},_0x541eaa=_0x229c59[_0x1df056(0x333)]=_0x2a06ee['extend']({'cfg':_0x2a06ee[_0x1df056(0x21a)][_0x1df056(0x305)]({'kdf':_0x3f19ca}),'encrypt':function(_0x99f2af,_0x1d7694,_0x4c82e2,_0x881b0d){var _0x582f87=_0x1df056;_0x881b0d=this[_0x582f87(0x21a)]['extend'](_0x881b0d);var _0x175241=_0x881b0d['kdf'][_0x582f87(0x17b)](_0x4c82e2,_0x99f2af[_0x582f87(0x2a5)],_0x99f2af['ivSize'],_0x881b0d[_0x582f87(0x3df)],_0x881b0d['hasher']);_0x881b0d['iv']=_0x175241['iv'];var _0x57e012=_0x2a06ee[_0x582f87(0x295)][_0x582f87(0x270)](this,_0x99f2af,_0x1d7694,_0x175241[_0x582f87(0x404)],_0x881b0d);return _0x57e012[_0x582f87(0x40a)](_0x175241),_0x57e012;},'decrypt':function(_0xb247f7,_0x1cdef0,_0x2ed157,_0x5dec92){var _0x1f5fc2=_0x1df056;_0x5dec92=this['cfg'][_0x1f5fc2(0x305)](_0x5dec92),_0x1cdef0=this[_0x1f5fc2(0x337)](_0x1cdef0,_0x5dec92[_0x1f5fc2(0x32f)]);var _0x282169=_0x5dec92[_0x1f5fc2(0x323)][_0x1f5fc2(0x17b)](_0x2ed157,_0xb247f7['keySize'],_0xb247f7[_0x1f5fc2(0x288)],_0x1cdef0['salt'],_0x5dec92[_0x1f5fc2(0x3bc)]);_0x5dec92['iv']=_0x282169['iv'];var _0x38f214=_0x2a06ee[_0x1f5fc2(0x41a)]['call'](this,_0xb247f7,_0x1cdef0,_0x282169[_0x1f5fc2(0x404)],_0x5dec92);return _0x38f214;}});}();}));}(Je)),Je[_0xc803cc(0x34f)];}var Vr=Ve[_0x51303a(0x34f)],si;function Gr(){var _0x5ecc9c=_0x51303a;return si||(si=0x1,function(_0x3e0bc8,_0x305bb4){(function(_0x13fd30,_0x3a69a6,_0x3d7323){_0x3e0bc8['exports']=_0x3a69a6(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x12dc8a){var _0x4bcde1=_0x1f09;return(function(){var _0x546082=_0x1f09,_0x5e4a68=_0x12dc8a,_0x54a9aa=_0x5e4a68[_0x546082(0x186)],_0x29b178=_0x54a9aa[_0x546082(0x19e)],_0x23229d=_0x5e4a68[_0x546082(0x301)],_0x5670d8=[],_0x20439f=[],_0x885976=[],_0x24d021=[],_0x2f7a17=[],_0x4c952d=[],_0xb6cfbd=[],_0x5f153a=[],_0x55c807=[],_0x3dd6dd=[];(function(){for(var _0x3138dc=[],_0x210f15=0x0;_0x210f15<0x100;_0x210f15++)_0x210f15<0x80?_0x3138dc[_0x210f15]=_0x210f15<<0x1:_0x3138dc[_0x210f15]=_0x210f15<<0x1^0x11b;for(var _0x2199e2=0x0,_0xbc28ee=0x0,_0x210f15=0x0;_0x210f15<0x100;_0x210f15++){var _0x344107=_0xbc28ee^_0xbc28ee<<0x1^_0xbc28ee<<0x2^_0xbc28ee<<0x3^_0xbc28ee<<0x4;_0x344107=_0x344107>>>0x8^_0x344107&0xff^0x63,_0x5670d8[_0x2199e2]=_0x344107,_0x20439f[_0x344107]=_0x2199e2;var _0x43efb2=_0x3138dc[_0x2199e2],_0x54dc8e=_0x3138dc[_0x43efb2],_0x3e3ac8=_0x3138dc[_0x54dc8e],_0x1b5aeb=_0x3138dc[_0x344107]*0x101^_0x344107*0x1010100;_0x885976[_0x2199e2]=_0x1b5aeb<<0x18|_0x1b5aeb>>>0x8,_0x24d021[_0x2199e2]=_0x1b5aeb<<0x10|_0x1b5aeb>>>0x10,_0x2f7a17[_0x2199e2]=_0x1b5aeb<<0x8|_0x1b5aeb>>>0x18,_0x4c952d[_0x2199e2]=_0x1b5aeb;var _0x1b5aeb=_0x3e3ac8*0x1010101^_0x54dc8e*0x10001^_0x43efb2*0x101^_0x2199e2*0x1010100;_0xb6cfbd[_0x344107]=_0x1b5aeb<<0x18|_0x1b5aeb>>>0x8,_0x5f153a[_0x344107]=_0x1b5aeb<<0x10|_0x1b5aeb>>>0x10,_0x55c807[_0x344107]=_0x1b5aeb<<0x8|_0x1b5aeb>>>0x18,_0x3dd6dd[_0x344107]=_0x1b5aeb,_0x2199e2?(_0x2199e2=_0x43efb2^_0x3138dc[_0x3138dc[_0x3138dc[_0x3e3ac8^_0x43efb2]]],_0xbc28ee^=_0x3138dc[_0x3138dc[_0xbc28ee]]):_0x2199e2=_0xbc28ee=0x1;}}());var _0x2c3dcd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x465b19=_0x23229d[_0x546082(0x3a8)]=_0x29b178['extend']({'_doReset':function(){var _0x367333=_0x546082,_0x46379f;if(!(this[_0x367333(0x2e3)]&&this['_keyPriorReset']===this['_key'])){for(var _0x1ca371=this[_0x367333(0x319)]=this[_0x367333(0x159)],_0x3ee31b=_0x1ca371[_0x367333(0x3ff)],_0x3c5276=_0x1ca371[_0x367333(0x36c)]/0x4,_0x5db419=this[_0x367333(0x2e3)]=_0x3c5276+0x6,_0x31fffc=(_0x5db419+0x1)*0x4,_0x1d41ba=this[_0x367333(0x16f)]=[],_0x1a323f=0x0;_0x1a323f<_0x31fffc;_0x1a323f++)_0x1a323f<_0x3c5276?_0x1d41ba[_0x1a323f]=_0x3ee31b[_0x1a323f]:(_0x46379f=_0x1d41ba[_0x1a323f-0x1],_0x1a323f%_0x3c5276?_0x3c5276>0x6&&_0x1a323f%_0x3c5276==0x4&&(_0x46379f=_0x5670d8[_0x46379f>>>0x18]<<0x18|_0x5670d8[_0x46379f>>>0x10&0xff]<<0x10|_0x5670d8[_0x46379f>>>0x8&0xff]<<0x8|_0x5670d8[_0x46379f&0xff]):(_0x46379f=_0x46379f<<0x8|_0x46379f>>>0x18,_0x46379f=_0x5670d8[_0x46379f>>>0x18]<<0x18|_0x5670d8[_0x46379f>>>0x10&0xff]<<0x10|_0x5670d8[_0x46379f>>>0x8&0xff]<<0x8|_0x5670d8[_0x46379f&0xff],_0x46379f^=_0x2c3dcd[_0x1a323f/_0x3c5276|0x0]<<0x18),_0x1d41ba[_0x1a323f]=_0x1d41ba[_0x1a323f-_0x3c5276]^_0x46379f);for(var _0x5aab06=this[_0x367333(0x214)]=[],_0xbc662=0x0;_0xbc662<_0x31fffc;_0xbc662++){var _0x1a323f=_0x31fffc-_0xbc662;if(_0xbc662%0x4)var _0x46379f=_0x1d41ba[_0x1a323f];else var _0x46379f=_0x1d41ba[_0x1a323f-0x4];_0xbc662<0x4||_0x1a323f<=0x4?_0x5aab06[_0xbc662]=_0x46379f:_0x5aab06[_0xbc662]=_0xb6cfbd[_0x5670d8[_0x46379f>>>0x18]]^_0x5f153a[_0x5670d8[_0x46379f>>>0x10&0xff]]^_0x55c807[_0x5670d8[_0x46379f>>>0x8&0xff]]^_0x3dd6dd[_0x5670d8[_0x46379f&0xff]];}}},'encryptBlock':function(_0x5d653c,_0x116a75){var _0x429775=_0x546082;this['_doCryptBlock'](_0x5d653c,_0x116a75,this[_0x429775(0x16f)],_0x885976,_0x24d021,_0x2f7a17,_0x4c952d,_0x5670d8);},'decryptBlock':function(_0x3b9e2e,_0x287cc6){var _0x31cf0a=_0x546082,_0x3d0fdd=_0x3b9e2e[_0x287cc6+0x1];_0x3b9e2e[_0x287cc6+0x1]=_0x3b9e2e[_0x287cc6+0x3],_0x3b9e2e[_0x287cc6+0x3]=_0x3d0fdd,this[_0x31cf0a(0x2e8)](_0x3b9e2e,_0x287cc6,this['_invKeySchedule'],_0xb6cfbd,_0x5f153a,_0x55c807,_0x3dd6dd,_0x20439f);var _0x3d0fdd=_0x3b9e2e[_0x287cc6+0x1];_0x3b9e2e[_0x287cc6+0x1]=_0x3b9e2e[_0x287cc6+0x3],_0x3b9e2e[_0x287cc6+0x3]=_0x3d0fdd;},'_doCryptBlock':function(_0x151995,_0x3e703d,_0x57524b,_0x4d49cd,_0x35cb93,_0x31726b,_0x181f76,_0x28fdeb){var _0x4c5c6a=_0x546082;for(var _0x14f4bd=this[_0x4c5c6a(0x2e3)],_0x384169=_0x151995[_0x3e703d]^_0x57524b[0x0],_0x40ed71=_0x151995[_0x3e703d+0x1]^_0x57524b[0x1],_0x2e3f5c=_0x151995[_0x3e703d+0x2]^_0x57524b[0x2],_0x1c10bc=_0x151995[_0x3e703d+0x3]^_0x57524b[0x3],_0x40555e=0x4,_0x406adf=0x1;_0x406adf<_0x14f4bd;_0x406adf++){var _0x26ff8e=_0x4d49cd[_0x384169>>>0x18]^_0x35cb93[_0x40ed71>>>0x10&0xff]^_0x31726b[_0x2e3f5c>>>0x8&0xff]^_0x181f76[_0x1c10bc&0xff]^_0x57524b[_0x40555e++],_0x31779a=_0x4d49cd[_0x40ed71>>>0x18]^_0x35cb93[_0x2e3f5c>>>0x10&0xff]^_0x31726b[_0x1c10bc>>>0x8&0xff]^_0x181f76[_0x384169&0xff]^_0x57524b[_0x40555e++],_0x4c6b02=_0x4d49cd[_0x2e3f5c>>>0x18]^_0x35cb93[_0x1c10bc>>>0x10&0xff]^_0x31726b[_0x384169>>>0x8&0xff]^_0x181f76[_0x40ed71&0xff]^_0x57524b[_0x40555e++],_0x236b14=_0x4d49cd[_0x1c10bc>>>0x18]^_0x35cb93[_0x384169>>>0x10&0xff]^_0x31726b[_0x40ed71>>>0x8&0xff]^_0x181f76[_0x2e3f5c&0xff]^_0x57524b[_0x40555e++];_0x384169=_0x26ff8e,_0x40ed71=_0x31779a,_0x2e3f5c=_0x4c6b02,_0x1c10bc=_0x236b14;}var _0x26ff8e=(_0x28fdeb[_0x384169>>>0x18]<<0x18|_0x28fdeb[_0x40ed71>>>0x10&0xff]<<0x10|_0x28fdeb[_0x2e3f5c>>>0x8&0xff]<<0x8|_0x28fdeb[_0x1c10bc&0xff])^_0x57524b[_0x40555e++],_0x31779a=(_0x28fdeb[_0x40ed71>>>0x18]<<0x18|_0x28fdeb[_0x2e3f5c>>>0x10&0xff]<<0x10|_0x28fdeb[_0x1c10bc>>>0x8&0xff]<<0x8|_0x28fdeb[_0x384169&0xff])^_0x57524b[_0x40555e++],_0x4c6b02=(_0x28fdeb[_0x2e3f5c>>>0x18]<<0x18|_0x28fdeb[_0x1c10bc>>>0x10&0xff]<<0x10|_0x28fdeb[_0x384169>>>0x8&0xff]<<0x8|_0x28fdeb[_0x40ed71&0xff])^_0x57524b[_0x40555e++],_0x236b14=(_0x28fdeb[_0x1c10bc>>>0x18]<<0x18|_0x28fdeb[_0x384169>>>0x10&0xff]<<0x10|_0x28fdeb[_0x40ed71>>>0x8&0xff]<<0x8|_0x28fdeb[_0x2e3f5c&0xff])^_0x57524b[_0x40555e++];_0x151995[_0x3e703d]=_0x26ff8e,_0x151995[_0x3e703d+0x1]=_0x31779a,_0x151995[_0x3e703d+0x2]=_0x4c6b02,_0x151995[_0x3e703d+0x3]=_0x236b14;},'keySize':0x100/0x20});_0x5e4a68['AES']=_0x29b178[_0x546082(0x332)](_0x465b19);}()),_0x12dc8a[_0x4bcde1(0x3a8)];}));}(Ve)),Ve[_0x5ecc9c(0x34f)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x51303a(0x34f)],ai;function zr(){var _0x5a9375=_0x51303a;return ai||(ai=0x1,function(_0x5c3d06,_0xefbdf1){(function(_0x5a8809,_0x3f6624){var _0x43a546=_0x1f09;_0x5c3d06[_0x43a546(0x34f)]=_0x3f6624(ne());}(qr,function(_0x147817){var _0x270a32=_0x1f09;return _0x147817[_0x270a32(0x364)]['Utf8'];}));}(Xe)),Xe[_0x5a9375(0x34f)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x51303a(0x34f)],ci;function Qr(){var _0x23efbb=_0x51303a;return ci||(ci=0x1,function(_0x2598f1,_0x3e9175){(function(_0x3eb816,_0x4dbe1c){var _0x15ce0a=_0x1f09;_0x2598f1[_0x15ce0a(0x34f)]=_0x4dbe1c(ne());}(Zr,function(_0x1018da){var _0x3b8091=_0x1f09;return(function(){var _0xfa6b7c=_0x1f09;if(typeof ArrayBuffer==_0xfa6b7c(0x3bb)){var _0x3b0edb=_0x1018da,_0x4f9c42=_0x3b0edb[_0xfa6b7c(0x186)],_0x58eeb7=_0x4f9c42[_0xfa6b7c(0x274)],_0x51b17e=_0x58eeb7[_0xfa6b7c(0x239)],_0x39c6ff=_0x58eeb7[_0xfa6b7c(0x239)]=function(_0x78c5b3){var _0x3e95b4=_0xfa6b7c;if(_0x78c5b3 instanceof ArrayBuffer&&(_0x78c5b3=new Uint8Array(_0x78c5b3)),(_0x78c5b3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x78c5b3 instanceof Uint8ClampedArray||_0x78c5b3 instanceof Int16Array||_0x78c5b3 instanceof Uint16Array||_0x78c5b3 instanceof Int32Array||_0x78c5b3 instanceof Uint32Array||_0x78c5b3 instanceof Float32Array||_0x78c5b3 instanceof Float64Array)&&(_0x78c5b3=new Uint8Array(_0x78c5b3[_0x3e95b4(0x242)],_0x78c5b3[_0x3e95b4(0x403)],_0x78c5b3[_0x3e95b4(0x1c0)])),_0x78c5b3 instanceof Uint8Array){for(var _0x4540eb=_0x78c5b3[_0x3e95b4(0x1c0)],_0x177cb3=[],_0x11a6a8=0x0;_0x11a6a8<_0x4540eb;_0x11a6a8++)_0x177cb3[_0x11a6a8>>>0x2]|=_0x78c5b3[_0x11a6a8]<<0x18-_0x11a6a8%0x4*0x8;_0x51b17e[_0x3e95b4(0x270)](this,_0x177cb3,_0x4540eb);}else _0x51b17e[_0x3e95b4(0x277)](this,arguments);};_0x39c6ff['prototype']=_0x58eeb7;}}()),_0x1018da['lib'][_0x3b8091(0x274)];}));}(Ze)),Ze[_0x23efbb(0x34f)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x384e65=_0x51303a;return hi||(hi=0x1,function(_0x11adb6,_0x29f918){(function(_0x4d0260,_0xe1ec03,_0x401616){_0x11adb6['exports']=_0xe1ec03(ne(),Ai());}(is,function(_0x287916){var _0x2df35b=_0x1f09;return _0x287916['pad'][_0x2df35b(0x2d8)]={'pad':function(){},'unpad':function(){}},_0x287916[_0x2df35b(0x442)][_0x2df35b(0x2d8)];}));}(Qe)),Qe[_0x384e65(0x34f)];}var rs=ns();const ss=ke(rs);function os(_0x28b43b,_0x1fbf3b){var _0x457500=_0x51303a;const _0x496b32=_0x1fbf3b-_0x28b43b[_0x457500(0x2b9)]%_0x1fbf3b,_0x5f464a=String[_0x457500(0x34a)](_0x496b32)[_0x457500(0x36b)](_0x496b32);return _0x28b43b+_0x5f464a;}function as(_0x13dd78,_0x24cbab){var _0x12abab=_0x51303a;const _0x14f2de=ts[_0x12abab(0x24a)](0x10),_0x5c077a=os(_0x13dd78,0x10),_0x2da29f=Kr[_0x12abab(0x295)](Xr[_0x12abab(0x354)](_0x5c077a),oi[_0x12abab(0x354)](_0x24cbab),{'iv':_0x14f2de,'padding':ss});return _0x14f2de[_0x12abab(0x249)](_0x2da29f[_0x12abab(0x430)])['toString'](oi);}function cs(){var _0x56bf86=_0x51303a;const _0x397764=_0x581218()[_0x56bf86(0x42d)];if(_0x397764){const _0x3ea6d9={'time':Math[_0x56bf86(0x20d)](Date[_0x56bf86(0x35f)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x56bf86(0x235)](_0x3ea6d9),_0x397764);}}var hs=Object[_0x51303a(0x281)],_s=Object[_0x51303a(0x150)],ls=(_0x11d05f,_0x425966,_0x326ff7,_0x2103df)=>{var _0x35251e=_0x51303a;for(var _0x20e23a=_0x2103df>0x1?void 0x0:_0x2103df?_s(_0x425966,_0x326ff7):_0x425966,_0x278ec2=_0x11d05f[_0x35251e(0x2b9)]-0x1,_0x13b05e;_0x278ec2>=0x0;_0x278ec2--)(_0x13b05e=_0x11d05f[_0x278ec2])&&(_0x20e23a=(_0x2103df?_0x13b05e(_0x425966,_0x326ff7,_0x20e23a):_0x13b05e(_0x20e23a))||_0x20e23a);return _0x2103df&&_0x20e23a&&hs(_0x425966,_0x326ff7,_0x20e23a),_0x20e23a;},us=(_0xec1f3b,_0x16e85f)=>(_0x43b46e,_0x556c72)=>_0x16e85f(_0x43b46e,_0x556c72,_0xec1f3b);let ot=class{constructor(_0x149648){var _0x1ed6d5=_0x51303a;this[_0x1ed6d5(0x42c)]=_0x149648,this[_0x1ed6d5(0x38c)]();}[_0x51303a(0x38c)](){var _0x533665=_0x51303a;this['_httpService'][_0x533665(0x14f)]({'interceptor':(_0x1ebce8,_0x35448e)=>{var _0x40795c=_0x533665;const _0x59d527=_0x1ebce8[_0x40795c(0x27b)],_0xa6b5a1=cs();return _0xa6b5a1&&_0x59d527['set'](_0x40795c(0x171),_0xa6b5a1),_0x35448e(_0x1ebce8);}});}};ot=ls([us(0x0,_0x2a2c27(_0x43259a))],ot);var ds=Object[_0x51303a(0x281)],fs=Object[_0x51303a(0x150)],vs=(_0x4ac732,_0x554a02,_0x46ab39,_0x3dc448)=>{var _0x56eb31=_0x51303a;for(var _0x193dbd=_0x3dc448>0x1?void 0x0:_0x3dc448?fs(_0x554a02,_0x46ab39):_0x554a02,_0xa8cfa=_0x4ac732[_0x56eb31(0x2b9)]-0x1,_0x2b19f6;_0xa8cfa>=0x0;_0xa8cfa--)(_0x2b19f6=_0x4ac732[_0xa8cfa])&&(_0x193dbd=(_0x3dc448?_0x2b19f6(_0x554a02,_0x46ab39,_0x193dbd):_0x2b19f6(_0x193dbd))||_0x193dbd);return _0x3dc448&&_0x193dbd&&ds(_0x554a02,_0x46ab39,_0x193dbd),_0x193dbd;},mt=(_0x2163d7,_0x1f9155)=>(_0x321be0,_0x40d15c)=>_0x1f9155(_0x321be0,_0x40d15c,_0x2163d7);let Ot=class extends _0x2127fb{constructor(_0x38a10f,_0x9087eb,_0x7a38fa){var _0x577c1b=_0x51303a;super(),N(this,_0x577c1b(0x207),new _0x5e258f(null)),N(this,_0x577c1b(0x322),this[_0x577c1b(0x207)][_0x577c1b(0x212)]()),(this['_logService']=_0x38a10f,this[_0x577c1b(0x284)]=_0x9087eb,this[_0x577c1b(0x303)]=_0x7a38fa);}async[_0x51303a(0x3b6)](_0x473515,_0x157b16,_0x377bdb){var _0x31ea1b=_0x51303a;this[_0x31ea1b(0x207)][_0x31ea1b(0x334)]({'unitId':_0x473515,'type':_0x157b16,'subUnitId':_0x377bdb});let _0x38cf25=null;switch(_0x157b16){case Q['UNIVER_SHEET']:{_0x38cf25=await this[_0x31ea1b(0x3b4)](_0x473515);break;}case Q[_0x31ea1b(0x31f)]:{_0x38cf25=await this[_0x31ea1b(0x1ca)](_0x473515);break;}default:{this[_0x31ea1b(0x257)][_0x31ea1b(0x16e)](_0x31ea1b(0x3cd),_0x31ea1b(0x3c6));break;}}return _0x38cf25;}async['_loadSheet'](_0x299857){var _0x5d1d8e=_0x51303a,_0x3c203a;let _0x1c1d67=0x0;const _0x35be77=await((_0x3c203a=this[_0x5d1d8e(0x303)])==null?void 0x0:_0x3c203a[_0x5d1d8e(0x2f7)](_0x299857));return _0x35be77&&(_0x35be77[_0x5d1d8e(0x3ec)]||_0x35be77['mutations']['length']!==0x0)&&(_0x1c1d67=_0x35be77[_0x5d1d8e(0x26c)]),_0x1c1d67===0x0&&this[_0x5d1d8e(0x257)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5d1d8e(0x284)][_0x5d1d8e(0x2fa)](_0x299857,_0x1c1d67);}async['_loadDoc'](_0x390298){var _0x5225e0=_0x51303a,_0x4458ab;let _0x333bb7=0x0;const _0x25e8fb=await((_0x4458ab=this[_0x5225e0(0x303)])==null?void 0x0:_0x4458ab['loadOfflineData'](_0x390298));return _0x25e8fb&&(_0x25e8fb[_0x5225e0(0x3ec)]||_0x25e8fb[_0x5225e0(0x325)][_0x5225e0(0x2b9)]!==0x0)&&(_0x333bb7=_0x25e8fb[_0x5225e0(0x26c)]),_0x333bb7===0x0&&this[_0x5225e0(0x257)][_0x5225e0(0x1cf)](_0x5225e0(0x3cd),_0x5225e0(0x243)),this['_snapshotService'][_0x5225e0(0x30a)](_0x390298,_0x333bb7);}};Ot=vs([mt(0x0,_0x7c7e3b),mt(0x1,_0x2a2c27(_0x101ed4)),mt(0x2,_0x1a8278(J))],Ot);var ps=Object[_0x51303a(0x281)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x1075e3,_0x42d540,_0x3e08d2,_0x19128d)=>{var _0x2d26d2=_0x51303a;for(var _0x3a0962=_0x19128d>0x1?void 0x0:_0x19128d?ms(_0x42d540,_0x3e08d2):_0x42d540,_0x2d22ce=_0x1075e3[_0x2d26d2(0x2b9)]-0x1,_0x13628d;_0x2d22ce>=0x0;_0x2d22ce--)(_0x13628d=_0x1075e3[_0x2d22ce])&&(_0x3a0962=(_0x19128d?_0x13628d(_0x42d540,_0x3e08d2,_0x3a0962):_0x13628d(_0x3a0962))||_0x3a0962);return _0x19128d&&_0x3a0962&&ps(_0x42d540,_0x3e08d2,_0x3a0962),_0x3a0962;},gt=(_0x513ea0,_0xd658f2)=>(_0x38ea80,_0x2c0599)=>_0xd658f2(_0x38ea80,_0x2c0599,_0x513ea0);const Ss=[_0x51303a(0x194),_0x51303a(0x165),'image/jpg',_0x51303a(0x3e3),_0x51303a(0x1c5)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x51303a(0x41f),Cs=_0x51303a(0x29a),Rs=_0x51303a(0x2f0);let yt=class{constructor(_0x323e86,_0x3ba1d4,_0x30c04d){var _0x5dcc37=_0x51303a;N(this,_0x5dcc37(0x1fc),0x0),N(this,'_change$',new _0x4973d7()),N(this,_0x5dcc37(0x220),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x5dcc37(0x42c)]=_0x323e86,this[_0x5dcc37(0x2c0)]=_0x3ba1d4,this[_0x5dcc37(0x365)]=_0x30c04d);}[_0x51303a(0x183)](_0x256ea6){var _0x3036dc=_0x51303a;this[_0x3036dc(0x1fc)]=_0x256ea6,this[_0x3036dc(0x240)]['next'](_0x256ea6);}[_0x51303a(0x3ad)](_0x313958,_0x496bd6){var _0x5d9076=_0x51303a;if(_0x496bd6===_0x5948a6[_0x5d9076(0x2b4)]){const _0x58066d=new Image();return _0x58066d[_0x5d9076(0x385)]=_0x313958,_0x58066d;}return this[_0x5d9076(0x2e1)][_0x5d9076(0x227)](_0x313958);}[_0x51303a(0x30c)](_0x338f40,_0x38ebc2,_0x3e0e8a){var _0x54aacb=_0x51303a;_0x38ebc2===_0x5948a6[_0x54aacb(0x2b4)]||_0x3e0e8a==null||this[_0x54aacb(0x2e1)][_0x54aacb(0x34c)](_0x338f40,_0x3e0e8a);}async[_0x51303a(0x416)](_0xdf1149){var _0x3edd6a=_0x51303a;try{const _0x5c4f01=this['_replaceFileID'](this[_0x3edd6a(0x2ef)](),''+_0xdf1149),_0xac9150=(await this[_0x3edd6a(0x42c)][_0x3edd6a(0x227)](_0x5c4f01))[_0x3edd6a(0x1df)];if(_0xac9150[_0x3edd6a(0x16e)]&&_0xac9150[_0x3edd6a(0x16e)][_0x3edd6a(0x175)]===Ii['OK']){const _0x5adc79=new URL(_0xac9150[_0x3edd6a(0x3fe)],this[_0x3edd6a(0x2f2)]())[_0x3edd6a(0x1d9)]();return Promise['resolve'](_0x5adc79);}return Promise[_0x3edd6a(0x158)](_0xac9150[_0x3edd6a(0x16e)]);}catch(_0x4e6107){return Promise['reject'](_0x4e6107);}}async[_0x51303a(0x345)](_0x5a8bf9){var _0x9d5a95=_0x51303a;let _0x401abf='';if(!Ss['includes'](_0x5a8bf9['type']))return this[_0x9d5a95(0x199)](),Promise['reject'](new Error(_0xb9841d[_0x9d5a95(0x1f8)]));if(_0x5a8bf9['size']>Es)return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d['ERROR_EXCEED_SIZE']));try{const _0x42efc7=new FormData();_0x42efc7['append'](_0x9d5a95(0x40e),_0x5a8bf9);const _0x2592dc=this['_univerInstanceService'][_0x9d5a95(0x422)](),_0x50be6e=_0x2592dc==null?void 0x0:_0x2592dc[_0x9d5a95(0x438)]();if(!_0x50be6e)throw new Error(_0x9d5a95(0x3a5));const _0x3744aa=this[_0x9d5a95(0x35c)]()+_0x9d5a95(0x2b7)+_0x5a8bf9[_0x9d5a95(0x1ad)][_0x9d5a95(0x1d9)]()+_0x9d5a95(0x379)+Ti[_0x9d5a95(0x28b)]+'&assign='+encodeURIComponent(_0x50be6e),_0x2b0d2c=await(await fetch(_0x3744aa,{'method':_0x9d5a95(0x36d),'body':_0x42efc7}))[_0x9d5a95(0x1f7)]();if(typeof _0x2b0d2c[_0x9d5a95(0x394)]!=_0x9d5a95(0x1a0))return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d[_0x9d5a95(0x1d3)]));_0x401abf=_0x2b0d2c['FileId'];}catch{return this[_0x9d5a95(0x199)](),Promise[_0x9d5a95(0x158)](new Error(_0xb9841d['ERROR_IMAGE']));}return new Promise((_0x196dfc,_0x5f240b)=>{const _0x29b26d=new FileReader();_0x29b26d['readAsDataURL'](_0x5a8bf9),_0x29b26d['onload']=_0x448b82=>{var _0x5d0cf1=_0x1f09,_0x382dec;const _0xd40f21=(_0x382dec=_0x448b82['target'])==null?void 0x0:_0x382dec[_0x5d0cf1(0x2cf)];if(_0xd40f21==null){this[_0x5d0cf1(0x199)](),_0x5f240b(new Error(_0xb9841d[_0x5d0cf1(0x1d3)]));return;}const _0x8531ec=_0x299834['generateRandomId'](0x6);_0x196dfc({'imageId':_0x8531ec,'imageSourceType':_0x5948a6['UUID'],'source':_0x401abf,'base64Cache':_0xd40f21,'status':_0xb9841d[_0x5d0cf1(0x156)]}),this[_0x5d0cf1(0x199)]();};});}['_getUploadFileURL'](){var _0x586255=_0x51303a,_0x543ccb,_0x27fae2;const _0x26ee35=this[_0x586255(0x2c0)][_0x586255(0x2ec)](Is),_0x17a872=this[_0x586255(0x2c0)]['getConfig'](q);return(_0x27fae2=(_0x543ccb=_0x17a872==null?void 0x0:_0x17a872[_0x586255(0x3f6)])!=null?_0x543ccb:_0x26ee35)!=null?_0x27fae2:Ts;}[_0x51303a(0x2ef)](){var _0x2c3916=_0x51303a,_0x5cf2e0,_0x770a52;const _0x47264b=this[_0x2c3916(0x2c0)][_0x2c3916(0x2ec)](Cs),_0x5bce9d=this['_configService'][_0x2c3916(0x2ec)](q);return(_0x770a52=(_0x5cf2e0=_0x5bce9d==null?void 0x0:_0x5bce9d[_0x2c3916(0x196)])!=null?_0x5cf2e0:_0x47264b)!=null?_0x770a52:Rs;}[_0x51303a(0x2f2)](){var _0x304d27=_0x51303a,_0x1dd083;const _0x23abb8=this[_0x304d27(0x2c0)][_0x304d27(0x2ec)](q);return(_0x1dd083=_0x23abb8==null?void 0x0:_0x23abb8['downloadEndpointUrl'])!=null?_0x1dd083:location['origin'];}['_replaceFileID'](_0x1f1b91,_0x2195a3){var _0x91f340=_0x51303a;return _0x1f1b91[_0x91f340(0x33e)]('{fileID}',_0x2195a3);}[_0x51303a(0x199)](){var _0x77526c=_0x51303a;this['_waitCount']-=0x1,this[_0x77526c(0x240)][_0x77526c(0x334)](this[_0x77526c(0x1fc)]);}};yt=gs([gt(0x0,_0x2a2c27(_0x43259a)),gt(0x1,_0x197b9e),gt(0x2,_0x2a2c27(_0xd9ad76))],yt);var bs=Object[_0x51303a(0x281)],Os=Object[_0x51303a(0x150)],ys=(_0x559ee1,_0x4cbf93,_0x37b312,_0x170975)=>{for(var _0xe25bf=_0x170975>0x1?void 0x0:_0x170975?Os(_0x4cbf93,_0x37b312):_0x4cbf93,_0x357463=_0x559ee1['length']-0x1,_0xffaa70;_0x357463>=0x0;_0x357463--)(_0xffaa70=_0x559ee1[_0x357463])&&(_0xe25bf=(_0x170975?_0xffaa70(_0x4cbf93,_0x37b312,_0xe25bf):_0xffaa70(_0xe25bf))||_0xe25bf);return _0x170975&&_0xe25bf&&bs(_0x4cbf93,_0x37b312,_0xe25bf),_0xe25bf;},_i=(_0x287d99,_0x63890d)=>(_0x1bd64e,_0x2d0932)=>_0x63890d(_0x1bd64e,_0x2d0932,_0x287d99);const Ns=_0x51303a(0x1b6);let Nt=class{constructor(_0x454e5c,_0x5af666){var _0x5d817c=_0x51303a;this[_0x5d817c(0x2c0)]=_0x454e5c,this[_0x5d817c(0x36f)]=_0x5af666;}[_0x51303a(0x1b2)](){var _0x5a55fe=_0x51303a,_0x156940,_0x163b20;const _0x585b70=this[_0x5a55fe(0x2c0)][_0x5a55fe(0x2ec)](Pi),_0x2a13d8=this[_0x5a55fe(0x2c0)][_0x5a55fe(0x2ec)](q);return(_0x163b20=(_0x156940=_0x2a13d8==null?void 0x0:_0x2a13d8[_0x5a55fe(0x22f)])!=null?_0x156940:_0x585b70)!=null?_0x163b20:Ns;}async[_0x51303a(0x3f0)](_0x2a3d65){var _0xac1380=_0x51303a;const _0x23924b=this[_0xac1380(0x1b2)]()+_0xac1380(0x1bf);return{'list':[{'title':'People','mentions':(await this[_0xac1380(0x36f)][_0xac1380(0x227)](_0x23924b,{'params':{'objectID':_0x2a3d65[_0xac1380(0x2f4)],'unitID':_0x2a3d65[_0xac1380(0x2f4)]}}))[_0xac1380(0x1df)][_0xac1380(0x409)][_0xac1380(0x2ea)](_0x2d6544=>({'objectId':_0x2d6544['id'],'name':_0x2d6544[_0xac1380(0x388)]['name'],'metadata':{'icon':_0x2d6544[_0xac1380(0x388)][_0xac1380(0x391)]},'label':_0x2d6544[_0xac1380(0x388)][_0xac1380(0x292)],'objectType':_0x370726[_0xac1380(0x17e)]})),'metadata':{},'type':_0x370726[_0xac1380(0x17e)]}]};}};Nt=ys([_i(0x0,_0x2a2c27(_0x197b9e)),_i(0x1,_0x2a2c27(_0x43259a))],Nt);var Ds=Object[_0x51303a(0x281)],Ps=Object[_0x51303a(0x150)],ws=(_0x46ccc6,_0x3042fd,_0x586e93,_0x3c7733)=>{var _0x1915bd=_0x51303a;for(var _0x5a1eca=_0x3c7733>0x1?void 0x0:_0x3c7733?Ps(_0x3042fd,_0x586e93):_0x3042fd,_0x4da9eb=_0x46ccc6[_0x1915bd(0x2b9)]-0x1,_0x302a2c;_0x4da9eb>=0x0;_0x4da9eb--)(_0x302a2c=_0x46ccc6[_0x4da9eb])&&(_0x5a1eca=(_0x3c7733?_0x302a2c(_0x3042fd,_0x586e93,_0x5a1eca):_0x302a2c(_0x5a1eca))||_0x5a1eca);return _0x3c7733&&_0x5a1eca&&Ds(_0x3042fd,_0x586e93,_0x5a1eca),_0x5a1eca;},Se=(_0x5b0441,_0x4ef802)=>(_0x1d8b55,_0x2b90ba)=>_0x4ef802(_0x1d8b55,_0x2b90ba,_0x5b0441);let at=class extends _0x2127fb{constructor(_0x3a37e5,_0x381b86,_0x959a17,_0x384fbe,_0x382b00,_0x28feb1,_0x536a90){var _0x34d56f=_0x51303a;super(),this[_0x34d56f(0x1ff)]=_0x3a37e5,this[_0x34d56f(0x365)]=_0x381b86,this['_permissionService']=_0x959a17,this[_0x34d56f(0x233)]=_0x384fbe,this[_0x34d56f(0x31e)]=_0x382b00,this[_0x34d56f(0x3b7)]=_0x28feb1,this[_0x34d56f(0x448)]=_0x536a90,this[_0x34d56f(0x23c)](),this['_initCloseConn']();}[_0x51303a(0x1ab)](){var _0x48c921=_0x51303a;const _0x7574f6=async _0x21a71b=>{var _0x194d9c=_0x1f09;(await this[_0x194d9c(0x233)][_0x194d9c(0x193)](_0x21a71b))[_0x194d9c(0x3d0)][_0x194d9c(0x380)](_0x3cf649(_0x5ab885=>_0x5ab885[_0x194d9c(0x262)]===_0x247b59['SHOULD_CLOSE_CONN']),_0x26b065(this['dispose$']))[_0x194d9c(0x315)](_0x39ab7d=>{var _0x59f465=_0x194d9c;const _0x49d315=_0x39ab7d,{reason:_0x152843}=_0x49d315[_0x59f465(0x1cd)];this['_collaborationUIEventService'][_0x59f465(0x313)]({'id':se[_0x59f465(0x149)],'data':_0x152843}),this[_0x59f465(0x2e0)]['updatePermissionPoint'](new _0x8a0fbb(_0x21a71b)['id'],!0x1),this[_0x59f465(0x233)][_0x59f465(0x407)](_0x21a71b);});};_0x204d3a(this[_0x48c921(0x365)][_0x48c921(0x18f)](_0x500bf2[_0x48c921(0x43d)]),this['_univerInstanceService'][_0x48c921(0x18f)](_0x500bf2[_0x48c921(0x31f)]))[_0x48c921(0x380)](_0x21067b(_0x700866=>_0x700866[_0x48c921(0x438)]()),_0x3cf649(_0x2c4ad6=>!_0x2f272e(_0x2c4ad6)),_0x26b065(this['dispose$']))[_0x48c921(0x315)](_0x133d57=>{_0x7574f6(_0x133d57);});}[_0x51303a(0x23c)](){var _0x4db972=_0x51303a;const _0x399932=async _0x2a0e23=>{var _0x5b88f3=_0x1f09;const _0x8e7867=await this['_collaborationSessionService'][_0x5b88f3(0x193)](_0x2a0e23),_0x525b8e=this['_injector'][_0x5b88f3(0x227)](_0x4e37fd);_0x8e7867[_0x5b88f3(0x3d0)][_0x5b88f3(0x380)](_0x3cf649(_0x5db196=>_0x5db196[_0x5b88f3(0x262)]===_0x247b59[_0x5b88f3(0x425)]),_0x26b065(this[_0x5b88f3(0x402)]))[_0x5b88f3(0x315)](_0x3423c7=>{var _0x2a645b=_0x5b88f3;const _0x5006af=_0x3423c7,{objectId:_0x301954}=_0x5006af[_0x2a645b(0x1cd)];_0x301954===_0x2a0e23?_0x525b8e[_0x2a645b(0x3db)](_0x2a0e23):_0x525b8e[_0x2a645b(0x2b6)](_0x2a0e23,_0x301954);});};_0x204d3a(this[_0x4db972(0x365)][_0x4db972(0x18f)](_0x500bf2[_0x4db972(0x43d)]),this[_0x4db972(0x365)][_0x4db972(0x18f)](_0x500bf2['UNIVER_DOC']))['pipe'](_0x21067b(_0x5822ac=>_0x5822ac[_0x4db972(0x438)]()),_0x3cf649(_0x18e690=>!_0x2f272e(_0x18e690)),_0x26b065(this[_0x4db972(0x402)]))['subscribe'](_0x39a6ad=>{_0x399932(_0x39a6ad);});}};at=ws([Se(0x0,_0x2a2c27(_0x2ac98c)),Se(0x1,_0xd9ad76),Se(0x2,_0xc50f2c),Se(0x3,_0x2a2c27(Le)),Se(0x4,_0x2a2c27(pe)),Se(0x5,_0x289d4b),Se(0x6,_0x277f73)],at);var Us=Object[_0x51303a(0x281)],As=Object[_0x51303a(0x150)],xs=(_0x29ef76,_0x35c732,_0x1476e8,_0x31d2de)=>{for(var _0x1b95b2=_0x31d2de>0x1?void 0x0:_0x31d2de?As(_0x35c732,_0x1476e8):_0x35c732,_0x5765f2=_0x29ef76['length']-0x1,_0x50d294;_0x5765f2>=0x0;_0x5765f2--)(_0x50d294=_0x29ef76[_0x5765f2])&&(_0x1b95b2=(_0x31d2de?_0x50d294(_0x35c732,_0x1476e8,_0x1b95b2):_0x50d294(_0x1b95b2))||_0x1b95b2);return _0x31d2de&&_0x1b95b2&&Us(_0x35c732,_0x1476e8,_0x1b95b2),_0x1b95b2;},li=(_0x2ea886,_0x39f3c3)=>(_0x226398,_0x34da4d)=>_0x39f3c3(_0x226398,_0x34da4d,_0x2ea886);function _0x1f79(){var _0x3e9024=['interceptor','_unitID','loadSheet','GLOBAL_ROOMS_CNT_EXCEEDS','baseRev','pluginName','copyFileMeta','incrementRevOfUnit','_exhaustRemoteChangesetQueue','algo','_onRemoteRejected','_localCacheService','\x20-\x20','extend','session','_clearCollaborationTimeoutTimer','_clearHeartbeatTimer','PERMISSION_DENIED','loadDoc','_iv','addImageSourceCache','_getLoginPath','CONFLICT','onStateChange','resourceIDs','enableOfflineEditing','awaiting','emitEvent','sessionStatus$','subscribe','_onUserJoin','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_mode','_keyPriorReset','reconnect','APPLY_REJECT','__creator','blockSize','_collaborationUIEventService','UNIVER_DOC','_undoStacks','_commandService','unitInfo$','kdf','getSheetId','mutations','unknown','JOIN_ROOM_PERMISSION_DENIED','getUnitStatus$','NOT_COLLAB','title','_createHmacHelper','onTransformIME','getRoom','setShowComponents','format','unpad','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_createHelper','PasswordBasedCipher','next','transformChangesets','textRanges','_parse','Base','_transitionLocked','/universer-api/snapshot','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','onRemoteChangeset','replace','_entities','roles','editing\x20status\x20changed\x20to','HEARTBEAT','FETCH_MISS','error$','saveImage','clear','_clearUndo','state','pauseCollaboration','fromCharCode','_clearLocalCache','set','univer-pro.collaboration-client.network-condition.service','updateOfflineData','exports','sendChangesetTimeout','every','clone','_type','parse','padding','StreamCipher','OpenSSL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','newCsEvent','getAllMembers','deepClone','_getUploadFileURL','LIVESHARE_FETCH_OPERATIONS','listRoles','now','state$','_sendingTimer','selections','Latin1','enc','_univerInstanceService','UNIVER_PROJECT','LICENSE_IMPORT_SIZE_EXCEEDED','startTime','UNIVER_UNKNOWN','onTransformRemoteChangesetByStateCache','repeat','sigBytes','POST','_createInitialStateImpl','_HTTPService','_onRecvEvent','has','createInstance','MD5','_singleActiveUnitService','roomInfos','_doFinalize','abs','SEND_CHANGESET_TIMEOUT','&source=','toggleOffline','INVALID_ARGUMENT','COMPRESS_MUTATION_SEND','telemetry\x20info\x20is\x20not\x20initialized','Univer','origin','pipe','_onConnectionFailed','COMPRESS_MUTATION_APPLY','_updateState','readyForCollab','src','UNKNOWN_CODE','JOIN_ROOM_FAILED','subject','action','charAt','m2Prime','_initRequestHeader','/unit/','CBC','_checkMissing','type','avatar','_handler','put','FileId','connection\x20error','HEARTBEAT_INTERVAL','originalMeta','actions','objects','CHANGESET_REVISION_CONFILICT','[PendingState]:\x20received\x20acknowledgement.','SYNCED','_sessions','resend','_telemetryInfo','onTransformState','_scheduleCompleteTimestamp','_incrementRevisionNumber','JOIN','status$','unitId\x20is\x20not\x20found','_unlockTransition','USERS_LEAVE','AES','LICENSE_DISTRO_REJECTED','_getUndoStack','transformStack\x20failed!','FAIL','getImageSourceCache','sheets','putCollaborators','Utf8','PSEUDO_FETCH_MISSING_RESULT','_compressMutationService','infoRsp','_loadSheet','catch','loadUnit','_authzIoService','patch','_memberService','SOCKET_FAILED_RETRY','function','hasher','onRemoteAck','batchAllowed','getCollabEntity','_config','hasOwnProperty','status','MSG_FOR_ERROR','BufferedBlockAlgorithm','leaveEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collabSubmitChangesetUrl','removeMember','_applyRemoteChangeset','encode','close','[DataLoaderService]','_collaborationPaused','_awaitingChangeset','event$','findIndex','_updateLocalCache','Hasher','subUnitId','_onCombEvent','sid','_tryReconnect','RECV','range','getMember','initWorkbookPermissionChange','getWorkbookSelections','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_prevBlock','salt','createCollaborator','_revisionService','$super','image/gif','ticket','_updateStatus','isArray','appendMutation','_commentService','ONLINE','_waitForHeartbeatResponse','_tryEnsureSocket','awaitingChangeset','YUUMI_URL_COL_OUT_OF_RANGE','searchParams','readInt32LE','list','_getSessionTicket','offline','_event$','onMissingChangesets','SNAPSHOT_SERVER_URL_KEY','uploadFileServerUrl','onSendChangeset','_substituteRedoStack','_oKey','/object','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','JOIN_ROOM_NOT_EXISTS','url','words','fetchThroughInterceptors','_changesetSessionId','dispose$','byteOffset','key','transformMutationsWithChangeset','UNKNOWN_CMD','closeSession','_remoteChangesetQueue','collaborators','mixIn','post','?url=','unitID','file','fromCollab','session.room-permission-denied','duration','_onFetchMissResult','values','_getCtorByUniverType','_fetchMissChangesets','getImage','deleteCollaborator','_shouldReportTelemetry','joinEvent','decrypt','substr','_createHandler','AWAITING_WITH_PENDING','UnitSnapshot','/universer-api/stream/file/upload','getActiveSheet','dispose','getFocusedUnit','commentUpdateEvent','/fetchmissing?from=','UPDATE_PERMISSION_OBJ','_onRemoteChangeset','encryptBlock','UNAUTHENTICATED','Malformed\x20UTF-8\x20data','_onRemoteRetry','capture','_httpService','__Key__','_collabSessionService','PERMISSION_REJ','ciphertext','getCurrentSelections','getCurrentUser','userID','disposeWithMe','SUBMIT_CHANGESET_TIMEOUT','_toggleOnline','application/json','getUnitId','_minBufferSize','_socketMessageSubscription','getTypeOfUnitDisposed$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNIVER_SHEET','iterations','_instanceService','_initDependencies','finalize','pad','failed\x20to\x20apply\x20missed\x20changesets!','override','prototype','CHANGESET_SHOULD_RETRY','LICENSE_MAX_UNITS_EXCEEDED','_undoRedoService','_rescheduleHeartbeat','110UibBRK','complete','_sessionStatus$','CLOSE_ROOM','[UniverCollaborationClientPlugin]','responseType','_onConflict','_xformMode','decryptBlock','registerHTTPInterceptor','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_members$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_resendTimer','SUCCUSS','_onUserLeave','reject','_key','_emitMembers','compose','pending','[CollaborationSessionService]:\x20socket\x20error','UNDEFINED','IDLE','liveShareOperation','onSyncEditingCollabCursor','[CollaborationSession]','_disableEditing','stopTime','image/jpeg','HttpImport','objectType','_retryConnectingTimer','_createInitialState','indexOf','joinRsp','open$','create','error','_keySchedule','_nDataBytes','x-univer-host','slice','getValue','Could\x20not\x20dynamically\x20require\x20\x22','code','_status$','_createSocket','_members','message$','_roomCreated$','execute','_stopTelemetryCollaborationNewChangeset','_state','PERSON','_scheduleCollaborationTimeoutTimer','/object/','socket\x20open.','delete','setWaitCount','1962EblsVT','APPLY_PERMISSION_DENIED','lib','HttpExport','csShouldRetryEvent','Cipher','isPermissionRej','_sendHeartbeatTimer','&to=','onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getTypeOfUnitAdded$','ceil','_transformRemoteChangesetByStateCache','EvpKDF','requireSession','image/png','LEAVE','signUrlServerUrl','formatter','getTime','_decreaseWaiting','_doProcessBlock','/universer-api/snapshot/','localCacheService','from','BlockCipher','session.join-failed','string','retryConnectingInterval','randomBytes','_executeRemoteChangeset','getLatestCsReqIdBySid','JOIN_ROOM_FULL','904VtpeZw','BlockCipherMode','_removeRoom','/role','_DEC_XFORM_MODE','_initCloseConn','\x20in\x20_schedule.','size','onMissedChangesetFetched','bind','SHA1','Error\x20on\x20receiving\x20event','_getAPIPrefixPath','RETRY_CONNECTING_MAX_COUNT','LIVESHARE_REQUEST_HOST','params','/universer-api/authz','join','addHandlerCallback','_hasher','[SyncedState]:\x20received\x20rejection.','1673832GodlJt','filter','reset','[CollaborationSessionService]','/collaborator','byteLength','c1Prime','_map','_changesetReqId','_cipher','image/bmp','[PendingState]:\x20received\x20rejection.','_onRemoteACK','_redoStacks','push','_loadDoc','_onJoinRoomEvent','Decryptor','data','7JgPUJO','debug','_schedule','getSnapshotAPIPath','updateCursorEvent','ERROR_IMAGE','CHANGESET_REJ','_collaborationTimeoutTimer','createDecryptor','onTransformSelections','_replayCachedMutations','toString','UNIVER_COLLABORATION_CLIENT_PLUGIN','revision','UNRECOGNIZED','getRandomValues','getCurrentRevOfUnit','body','collaboratorID','fetching\x20missing\x20changesets\x20from\x20','onTransformRemoteChangesetByIMECache','routeKey','update','TOO_MANY_REQUESTS','SOCKET_FAILED','createEncryptor','cmd','/-/object/list','_pendingMutations','[CollaborationState]:\x20apply\x20error!','enableSingleActiveInstanceLock','YUUMI_SUBSCRIPTION_NOT_FOUND','getUnitOnRev','OTHER_CLIENT_EDITING','_joinRoom','_entityInit$','sessionTicket','_throwTelemetryCollaborationNewChangeset','ALREADY_EXISTS','startsWith','YUUMI_RATE_OVER_LIMIT','json','ERROR_IMAGE_TYPE','COMPLETION_FINISHED','workbook','MUTATION','_waitCount','unit-cache-','awaiting_with_pending','_injector','8513197RpJDFX','requestParams','_onLocalMutation','c2Prime','HELLO','[FetchMissState]','fetch_missing','_unitInfo$','processBlock','_iKey','reduce','fetchMissingChangesets','_listenToNetworkCondition','floor','synced','_snapshotServerService','conflict','NOT_FOUND','asObservable','INTERNAL_ERROR','_invKeySchedule','location','onRemoteRej','_createSocketURL','79128OIVDrk','method','cfg','UPDATE_CURSOR','clamp','_transformStateCache','[OfflineState]:\x20received\x20rejection.','[OfflineState]:\x20received\x20changeset.','change$','/universer-api/user/session-ticket','_ENC_XFORM_MODE','_transformService','_http','socketService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','get','COLLAB_SUBMIT_CHANGESET_URL','send','_clearTimeoutTimer','entries','7745Cirogn','_submitChangeset','onCommentUpdate','authzUrl','ENSURE_SNAPSHOT_EXECUTION','UNIVER_SLIDE','APPLY_DUPLICATED','_collaborationSessionService','getResourcesRequest','stringify','localeService','[CollaborationEntity]','updatePermissionPoint','init','\x20to\x20','onCommandExecuted','_initUnitPermissionChange','SNAPSHOT_INVALID_SNAPSHOT','LOGIN_URL_KEY','/universer-api/uniscript','_change$','/allowed','buffer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','mode','updateMember','loginUrlKey','_socket','_getSendChangesetTimeout','concat','random','compute','reqId','_getAPIPrefix','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformSelections','/-/object/-/batch_allowed','_sheetTransformSelectionsService','executeCommand','_userManagerService','HmacMD5','collaboration-client.local-cache-service','HEARTBEAT_TIMEOUT','_logService','onlyLocal','_registerDependencies','PY_RUNTIME_SCRIPT_ERROR','_init','/resources','_transformStack','[OfflineState]:\x20received\x20acknowledgement.','univer-pro.collaboration-client.single-active-unit-service','fetchMiss','SNAPSHOT_URL_KEY','eventID','INGEST','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_queuedRemoteChangesets','toggleOnline','COMMENT_UPDATE','find','_clearScheduledTask','_lockTransition','rev','333024sLrmEu','LICENSE_EXPORT_SIZE_EXCEEDED','_networkConditionService','call','splice','_socket$','getDeserializedSheetBlock','WordArray','_resendTimeout','_process','apply','Encryptor','updatePermissionObjEvent','_hash','headers','session.room-cnt-exceeds','close$','collaboration-client.config','_socketReady','liveShareNewHost','defineProperty','YUUMI_UNABLE_LOAD_URL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_snapshotService','_startCollaboration','_transformRemoteChangesetByIMECache','_clearRedo','ivSize','_append','_sender','UnitEmbedded','HMAC','SUBMIT_CHANGESET','charCodeAt','_telemetryService','APPLY_NON_SEQUENTIAL_REVISION','getUnitType','name','_initMergeInterceptor','allowed','encrypt','LIVESHARE_OPERATION','getMemberID','max','_showConflictNotification','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','USERS_ENTER','unsubscribe','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendHeartbeat','href','_handlerCallback','editingUnit','UNISCRIPT_RUN','entityInit$','keySize','shouldCloseConn','_timeoutTimer','setCurrentUser','confirm','SerializableCipher','_transformIMECache','_toggleOffline','transformUndoRedo','updateCollaborator','_startTelemetryCollaborationNewChangeset','createSocket','_doReset','getInterceptPoints','_reverseMap','BASE64','JOINING','refreshPermission','?size=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','length','_commentUpdate$','_substituteUndoStack','LIVESHARE_NEW_HOST','HmacSHA1','listCollaborators','_roomMembers','_configService','/block/','focused$','wsSessionTicketUrl','toLowerCase','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','symbol','Base64','__esModule','NO_OTHER_CLIENTS_EDITING','FETCH_MISSING','174897JhKcoN','336TyGthH','CHANGESET_ACK','collabWebSocketUrl','result','_syncEditingCollabCursor','DEFAULT_FILE_NAME','randomUUID','_transformSelections','_data','_retryCount','csAckEvent','/universer-api/oidc/authpage','NoPadding','_onConnectionOpen','saveSheetBlock','add','crypto','OFFLINE','LIVESHARE_TERMINATE','NEW_CHANGESETS','_permissionService','_imageSourceCache','/universer-api/comb','_nRounds','_transformUndoredo','memberID','_acknowledgedAwaitingChangeset','sessionStatus','_doCryptBlock','members$','map','_candidateSocket','getConfig','forEach','CipherParams','_getSignURL','/universer-api/file/{fileID}/sign-url','objectID','_getDownloadEndpointURL','COLLAB_WEB_SOCKET_URL','unitId','_getCurrentRevision','_resendWithTimeout','loadOfflineData'];_0x1f79=function(){return _0x3e9024;};return _0x1f79();}let Dt=class{constructor(_0x474842,_0x18f1da){var _0x92d3d3=_0x51303a;this[_0x92d3d3(0x2c0)]=_0x474842,this[_0x92d3d3(0x42c)]=_0x18f1da;}async[_0x51303a(0x1ee)](_0x2cbca3,_0x3ee937){var _0x502e31=_0x51303a,_0x30e554;const {unitID:_0x4cc55b,type:_0x59b7c7,revision:_0xbcb43c=0x0}=_0x3ee937,_0x167a7e=this[_0x502e31(0x1d1)]()+'/'+_0x59b7c7+_0x502e31(0x38d)+_0x4cc55b+'/rev/'+_0xbcb43c,_0x22e548=(await this[_0x502e31(0x42c)][_0x502e31(0x227)](_0x167a7e))[_0x502e31(0x1df)],_0x21a2ee=(_0x30e554=_0x22e548['snapshot'])==null?void 0x0:_0x30e554[_0x502e31(0x1fa)];if(_0x21a2ee){const _0x143e96=_0x21a2ee==null?void 0x0:_0x21a2ee[_0x502e31(0x397)],_0x636810=_0x1eecf7[_0x502e31(0x3cb)](_0x142033(_0x143e96));_0x21a2ee[_0x502e31(0x397)]=_0x636810,Object[_0x502e31(0x22b)](_0x21a2ee[_0x502e31(0x3ae)])[_0x502e31(0x2ed)](([,_0x3f6e6f])=>{var _0x2a4d60=_0x502e31;const _0x1d5e33=_0x3f6e6f[_0x2a4d60(0x397)],_0x2da8ca=_0x1eecf7[_0x2a4d60(0x3cb)](_0x142033(_0x1d5e33));_0x3f6e6f[_0x2a4d60(0x397)]=_0x2da8ca;});}return _0x22e548;}async['getSheetBlock'](_0xf28e3e,_0x1c8d97){var _0x7f7ec8=_0x51303a;const {unitID:_0x115be1,type:_0x5c114f,blockID:_0x4f44d6}=_0x1c8d97,_0x33397e=this[_0x7f7ec8(0x24d)]()+'/'+_0x5c114f+_0x7f7ec8(0x38d)+_0x115be1+_0x7f7ec8(0x2c1)+_0x4f44d6;return(await this[_0x7f7ec8(0x42c)][_0x7f7ec8(0x227)](_0x33397e))[_0x7f7ec8(0x1df)];}async[_0x51303a(0x273)](_0x179fbb,_0x5353ae){var _0x44297e=_0x51303a;const {unitID:_0x5449ee,type:_0x516f5b,blockID:_0x34fe95}=_0x5353ae,_0x20ba4d=this[_0x44297e(0x24d)]()+_0x44297e(0x2c1)+_0x516f5b+_0x44297e(0x38d)+_0x5449ee+_0x44297e(0x2c1)+_0x34fe95;return(await this[_0x44297e(0x42c)][_0x44297e(0x227)](_0x20ba4d))[_0x44297e(0x1df)];}async[_0x51303a(0x20b)](_0x3f6ef6,_0x354a3f){var _0x4d967d=_0x51303a;const {unitID:_0x4024d6,type:_0x388821,from:_0x309857,to:_0x1ca88d}=_0x354a3f,_0x1c91f9=this[_0x4d967d(0x24d)]()+'/'+_0x388821+_0x4d967d(0x38d)+_0x4024d6+_0x4d967d(0x424)+_0x309857+_0x4d967d(0x18c)+_0x1ca88d;return(await this[_0x4d967d(0x42c)]['get'](_0x1c91f9))[_0x4d967d(0x1df)];}[_0x51303a(0x1d1)](){var _0x54ea3e=_0x51303a,_0x71c10f;return(_0x71c10f=this[_0x54ea3e(0x2c0)][_0x54ea3e(0x2ec)](Tn))!=null?_0x71c10f:this['_getAPIPrefix']();}[_0x51303a(0x24d)](){var _0x4b337b=_0x51303a,_0x197f60,_0x2bc25a;const _0x29781c=this[_0x4b337b(0x2c0)][_0x4b337b(0x2ec)](En),_0x5d01fa=this[_0x4b337b(0x2c0)][_0x4b337b(0x2ec)](q);return(_0x2bc25a=(_0x197f60=_0x5d01fa==null?void 0x0:_0x5d01fa['snapshotServerUrl'])!=null?_0x197f60:_0x29781c)!=null?_0x2bc25a:In;}async[_0x51303a(0x234)](_0x1f8987,_0x2bb40b){var _0x17fe03=_0x51303a;const _0x13333b=_0x17fe03(0x19b)+_0x2bb40b['type']+_0x17fe03(0x38d)+_0x2bb40b[_0x17fe03(0x40d)]+_0x17fe03(0x25c);return(await this[_0x17fe03(0x42c)][_0x17fe03(0x227)](_0x13333b,{'params':{'resourceId':JSON[_0x17fe03(0x235)](_0x2bb40b[_0x17fe03(0x310)])}}))[_0x17fe03(0x1df)];}['saveSnapshot'](){var _0x4b9002=_0x51303a;throw new Error(_0x4b9002(0x24e));}[_0x51303a(0x2da)](){var _0x5b9783=_0x51303a;throw new Error(_0x5b9783(0x24e));}['saveChangeset'](){var _0x135d67=_0x51303a;throw new Error(_0x135d67(0x24e));}[_0x51303a(0x2fe)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x51303a(0x1a4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x197b9e),li(0x1,_0x2a2c27(_0x43259a))],Dt);var Ls=Object[_0x51303a(0x281)],Ms=Object[_0x51303a(0x150)],$s=(_0x4c8d97,_0x1d5263,_0x29cba3,_0x556df3)=>{for(var _0x11598f=_0x556df3>0x1?void 0x0:_0x556df3?Ms(_0x1d5263,_0x29cba3):_0x1d5263,_0x47c887=_0x4c8d97['length']-0x1,_0x367da8;_0x47c887>=0x0;_0x47c887--)(_0x367da8=_0x4c8d97[_0x47c887])&&(_0x11598f=(_0x556df3?_0x367da8(_0x1d5263,_0x29cba3,_0x11598f):_0x367da8(_0x11598f))||_0x11598f);return _0x556df3&&_0x11598f&&Ls(_0x1d5263,_0x29cba3,_0x11598f),_0x11598f;},Ae=(_0x1bb24c,_0x546506)=>(_0x2128d5,_0x3ce6c1)=>_0x546506(_0x2128d5,_0x3ce6c1,_0x1bb24c);let Pt=class extends _0x3122ca{constructor(_0x14278c,_0x2bc16f,_0x58630f,_0x33a099,_0x27bd0d){var _0x3808a3=_0x51303a;super(_0x14278c,_0x2bc16f,_0x58630f),this[_0x3808a3(0x223)]=_0x33a099,this[_0x3808a3(0x257)]=_0x27bd0d;}[_0x51303a(0x2ad)](_0x4b6c26,_0x3e1341){var _0xd8ba69=_0x51303a;const _0x383d1b=this['_getUndoStack'](_0x4b6c26);if(_0x383d1b)try{const _0x5d31c8=this['_transformStack'](_0x383d1b,_0x3e1341);this[_0xd8ba69(0x2bb)](_0x4b6c26,_0x5d31c8);}catch(_0x45d655){this[_0xd8ba69(0x257)][_0xd8ba69(0x16e)]('[CollaborationUndoRedoService]',_0x45d655),this[_0xd8ba69(0x347)](_0x4b6c26);}const _0x5bbf35=this['_getRedoStack'](_0x4b6c26);if(_0x5bbf35)try{const _0x59bc18=this[_0xd8ba69(0x25d)](_0x5bbf35,_0x3e1341);this[_0xd8ba69(0x3f8)](_0x4b6c26,_0x59bc18);}catch(_0x42d437){this['_logService']['error'](_0x42d437),this['_clearRedo'](_0x4b6c26);}}[_0x51303a(0x347)](_0x698dd7){var _0x2b35a9=_0x51303a;const _0x3e1b1f=this[_0x2b35a9(0x3aa)](_0x698dd7);_0x3e1b1f&&(_0x3e1b1f['length']=0x0,this[_0x2b35a9(0x3e5)]());}[_0x51303a(0x287)](_0x56b782){var _0x233378=_0x51303a;const _0x196659=this['_getRedoStack'](_0x56b782);_0x196659&&(_0x196659[_0x233378(0x2b9)]=0x0,this[_0x233378(0x3e5)]());}['_substituteUndoStack'](_0x5318f1,_0x58bf6e){var _0x136e06=_0x51303a;this[_0x136e06(0x320)]['set'](_0x5318f1,_0x58bf6e),this[_0x136e06(0x3e5)]();}[_0x51303a(0x3f8)](_0x3b8472,_0x148198){var _0x705d91=_0x51303a;this[_0x705d91(0x1c8)]['set'](_0x3b8472,_0x148198),this['_updateStatus']();}[_0x51303a(0x25d)](_0x18951d,_0x6d7861){var _0x2090db=_0x51303a;const _0x184623=[];let _0xda6e4c=_0x6d7861,_0x156064=_0x6d7861;for(let _0x433097=_0x18951d[_0x2090db(0x2b9)]-0x1;_0x433097>=0x0;_0x433097--){const {unitID:_0x192b81,undoMutations:_0x399ed1,redoMutations:_0x1f6692}=_0x18951d[_0x433097],_0x1a37ed=this[_0x2090db(0x223)][_0x2090db(0x405)](_0xda6e4c,_0x399ed1),_0x4add18=this[_0x2090db(0x223)][_0x2090db(0x405)](_0x156064,_0x1f6692);if(_0x5c45d7(_0x1a37ed)||_0x5c45d7(_0x4add18)){this[_0x2090db(0x257)]['error']('[CollaborationUndoRedoService]',_0x2090db(0x3ab),_0x1a37ed,_0x4add18);break;}_0xda6e4c=_0x1a37ed[_0x2090db(0x1c1)],_0x156064=_0x4add18[_0x2090db(0x1c1)],_0x184623[_0x2090db(0x1c9)]({'unitID':_0x192b81,'undoMutations':_0x1a37ed[_0x2090db(0x38b)],'redoMutations':_0x4add18[_0x2090db(0x38b)]});}return _0x184623['reverse']();}};Pt=$s([Ae(0x0,_0xd9ad76),Ae(0x1,_0x5c01af),Ae(0x2,_0x1f9cf4),Ae(0x3,_0x1aa332),Ae(0x4,_0x7c7e3b)],Pt);var xi=Object[_0x51303a(0x281)],Hs=Object[_0x51303a(0x150)],ks=(_0x36f5ee,_0x4045f3,_0x1be19a)=>_0x4045f3 in _0x36f5ee?xi(_0x36f5ee,_0x4045f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1be19a}):_0x36f5ee[_0x4045f3]=_0x1be19a,js=(_0x518661,_0xcf6f83,_0x4c4735,_0x2bc85a)=>{var _0x5007bd=_0x51303a;for(var _0x47ce60=_0x2bc85a>0x1?void 0x0:_0x2bc85a?Hs(_0xcf6f83,_0x4c4735):_0xcf6f83,_0x925819=_0x518661[_0x5007bd(0x2b9)]-0x1,_0x4c8198;_0x925819>=0x0;_0x925819--)(_0x4c8198=_0x518661[_0x925819])&&(_0x47ce60=(_0x2bc85a?_0x4c8198(_0xcf6f83,_0x4c4735,_0x47ce60):_0x4c8198(_0x47ce60))||_0x47ce60);return _0x2bc85a&&_0x47ce60&&xi(_0xcf6f83,_0x4c4735,_0x47ce60),_0x47ce60;},St=(_0xe0d378,_0x10fe46)=>(_0x55286a,_0x3913c3)=>_0x10fe46(_0x55286a,_0x3913c3,_0xe0d378),Bs=(_0xbf2531,_0x5cff12,_0x53ee20)=>ks(_0xbf2531,_0x5cff12+'',_0x53ee20);const Fs=_0x51303a(0x1da);let wt=class extends _0x2faba4{constructor(_0x310f9a=Wt,_0x27e6a0,_0x31fea0,_0x27abd5){var _0x3635b8=_0x51303a;super(),this[_0x3635b8(0x3c0)]=_0x310f9a,this['_logService']=_0x27e6a0,this[_0x3635b8(0x1ff)]=_0x31fea0,this['_configService']=_0x27abd5;const {..._0x242d61}=_0x123239({},Wt,this[_0x3635b8(0x3c0)]);this[_0x3635b8(0x2c0)]['setConfig'](q,_0x242d61);}['onStarting'](){var _0x50bcc0=_0x51303a;this['_registerDependencies'](),this[_0x50bcc0(0x440)]();}[_0x51303a(0x259)](){var _0xf1a83a=_0x51303a,_0x1fa8d5,_0x5bbb81,_0x1b4ff1,_0x3a270d;this[_0xf1a83a(0x1ff)][_0xf1a83a(0x371)](_0x277f73)&&this[_0xf1a83a(0x257)][_0xf1a83a(0x16e)](_0xf1a83a(0x14a),_0xf1a83a(0x283));const _0x23384=_0x596fab([[_0x277f73,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5bbb81=(_0x1fa8d5=this[_0xf1a83a(0x3c0)])==null?void 0x0:_0x1fa8d5[_0xf1a83a(0x225)])!=null?_0x5bbb81:Et}],[_0x22279b,{'useClass':Dt}],[_0x289d4b,{'useClass':bt}],[_0x2dfdfa,{'useClass':yt}],[_0x5b09c9,{'useClass':Nt}],[rt],[Rt]],(_0x1b4ff1=this[_0xf1a83a(0x3c0)])==null?void 0x0:_0x1b4ff1[_0xf1a83a(0x444)]);if(!((_0x3a270d=this[_0xf1a83a(0x3c0)])!=null&&_0x3a270d[_0xf1a83a(0x1ec)])){const _0x5b0d8c=_0x23384[_0xf1a83a(0x3d1)](([_0x4f76b1])=>_0x4f76b1===ht);_0x5b0d8c!==-0x1&&_0x23384[_0xf1a83a(0x271)](_0x5b0d8c,0x1);}_0x55b7fd(this[_0xf1a83a(0x1ff)],_0x23384);}[_0x51303a(0x440)](){var _0x459b3c=_0x51303a,_0x2f74b3,_0x439e3d,_0x2438ab;this['_injector'][_0x459b3c(0x227)](_0x43259a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3d1b06({'maxParallel':0x6})}),(_0x2f74b3=this[_0x459b3c(0x3c0)])!=null&&_0x2f74b3[_0x459b3c(0x311)]||(_0x439e3d=this[_0x459b3c(0x1ff)][_0x459b3c(0x227)](J,_0x5a06dd['OPTIONAL']))==null||_0x439e3d['disableLocalCache'](),(_0x2438ab=this[_0x459b3c(0x3c0)])!=null&&_0x2438ab['enableAuthServer']&&_0x351b51(this[_0x459b3c(0x1ff)],[[st]]),_0x351b51(this[_0x459b3c(0x1ff)],[[ot],[rt],[at]]);}};Bs(wt,_0x51303a(0x2fd),Fs),wt=js([_0x1b343a(_0x12509d,_0x511a9f,_0x3f6290),St(0x1,_0x7c7e3b),St(0x2,_0x2a2c27(_0x2ac98c)),St(0x3,_0x197b9e)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|