@univerjs-pro/collaboration-client 0.6.10 → 0.7.0-nightly.202504291607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x32e2f2=_0x36d8;(function(_0x21e750,_0x66def){var _0x412d0d=_0x36d8,_0x4fdb04=_0x21e750();while(!![]){try{var _0x1391f3=parseInt(_0x412d0d(0x169))/0x1*(-parseInt(_0x412d0d(0x315))/0x2)+-parseInt(_0x412d0d(0x252))/0x3*(-parseInt(_0x412d0d(0x26e))/0x4)+parseInt(_0x412d0d(0x326))/0x5+-parseInt(_0x412d0d(0x213))/0x6*(-parseInt(_0x412d0d(0x35b))/0x7)+parseInt(_0x412d0d(0x30b))/0x8+-parseInt(_0x412d0d(0x149))/0x9*(-parseInt(_0x412d0d(0x1c3))/0xa)+-parseInt(_0x412d0d(0x1e3))/0xb;if(_0x1391f3===_0x66def)break;else _0x4fdb04['push'](_0x4fdb04['shift']());}catch(_0x208b76){_0x4fdb04['push'](_0x4fdb04['shift']());}}}(_0x1a3d,0x838ee));var wi=Object[_0x32e2f2(0x249)],Pi=(_0x238f02,_0x444149,_0x10259a)=>_0x444149 in _0x238f02?wi(_0x238f02,_0x444149,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10259a}):_0x238f02[_0x444149]=_0x10259a,N=(_0x155252,_0x325b32,_0x14787f)=>Pi(_0x155252,typeof _0x325b32!='symbol'?_0x325b32+'':_0x325b32,_0x14787f);import{createIdentifier as _0x1badd5,Inject as _0xf49784,Injector as _0x3f2818,IConfigService as _0x24f34c,ILogService as _0x21b260,Disposable as _0x9c2164,DisposableCollection as _0x4981e2,toDisposable as _0x479b0d,IUniverInstanceService as _0x457f20,UserManagerService as _0x68341c,UniverInstanceType as _0x271272,LocaleService as _0x4d5bfe,Optional as _0x263250,RxDisposable as _0x1005e4,Tools as _0x28db43,Rectangle as _0x1b1edb,ICommandService as _0x10f8e6,JSONX as _0xa77bd7,CommandType as _0x338b90,IUndoRedoService as _0x355d2f,IPermissionService as _0x2d9700,sequenceExecute as _0x16c90c,Workbook as _0x100352,MentionType as _0x38737e,isInternalEditorID as _0x27f8c4,LocalUndoRedoService as _0x178c3f,IContextService as _0x422e79,DependentOn as _0x20cec5,Plugin as _0x388c42,merge as _0x186f09,mergeOverrideWithDependencies as _0x5c06b9,IAuthzIoService as _0x17e153,IMentionIOService as _0x23d1dd,registerDependencies as _0x55519b,Quantity as _0x4e8d27,touchDependencies as _0x1d64a6}from'@univerjs/core';import{Subject as _0x2fe298,merge as _0x308043,of as _0x2615a9,BehaviorSubject as _0x17ac9d,takeUntil as _0x5522e4,ReplaySubject as _0x10ef41,take as _0x2cc397,map as _0xafc756,shareReplay as _0x50c3a4,firstValueFrom as _0x1706ec,concatMap as _0x2f5012}from'rxjs';import{map as _0x289343,take as _0x510b59,filter as _0x347c08,delay as _0x542f82,takeUntil as _0x6f7b19}from'rxjs/operators';import{CollaborationEvent as _0x5dd443,ISnapshotServerService as _0x2c5951,parseChangesetToProtocol as _0x5f3ae2,ITransformService as _0x1ec7ed,isTransformMutationsWithChangesetSuccess as _0x34c343,mapDocumentTypeToUniverType as _0x17f303,RevisionService as _0x4f92e0,isTransformChangesetsSuccess as _0x5aa359,CompressMutationService as _0x3561da,parseProtocolChangeset as _0x2327a5,SnapshotService as _0x475991,textEncoder as _0x35d1ea,b64DecodeUnicode as _0x280a66,isTransformMutationsWithChangesetFailure as _0x37a63f,UniverCollaborationPlugin as _0xf6d1b1}from'@univerjs-pro/collaboration';import{HTTPService as _0x18ded5,ISocketService as _0x4e45e6,MergeInterceptorFactory as _0x493a89,HTTPRequest as _0x5a611,UniverNetworkPlugin as _0xbc0294,ThresholdInterceptorFactory as _0xdf57fb}from'@univerjs/network';import{ITelemetryService as _0x4e6af2}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x12068d}from'@univerjs/docs';import{SheetsSelectionsService as _0x4e7f04,SetSelectionsOperation as _0x37d256,InsertSheetMutation as _0x516a7d,EmptyMutation as _0x128bca,WorkbookEditablePermission as _0x4aa924,SheetPermissionInitController as _0x4c7ddb}from'@univerjs/sheets';import{ImageSourceType as _0xf15305,ImageUploadStatusType as _0x2915f3,IImageIoService as _0x11349a}from'@univerjs/drawing';import{getGlobalObject as _0x3bde72}from'@univerjs-pro/license';const mn=_0x32e2f2(0x26b),gn=_0x32e2f2(0x1ca),Sn=_0x32e2f2(0xe7),Lr=_0x32e2f2(0x1ee),En=0x7d0,In=_0x32e2f2(0x2cd),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr='/universer-api/user/session-ticket',Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x32e2f2(0x7d),gi=0x4e20,bn=0x4e20,On=_0x32e2f2(0x36a),yn=0x3,Mr=_0x32e2f2(0x25c),kr=0x3e8,Nn=_0x32e2f2(0x131),Dn=_0x32e2f2(0x25e),Un='LOGIN_URL_KEY',An=_0x32e2f2(0x2c0),$r=_0x32e2f2(0x20c),Hr=_0x32e2f2(0x323);var Si=(_0x36f62f=>(_0x36f62f[_0x36f62f['UNDEFINED']=0x0]=_0x32e2f2(0xb6),_0x36f62f[_0x36f62f['OK']=0x1]='OK',_0x36f62f[_0x36f62f[_0x32e2f2(0x25d)]=0x2]=_0x32e2f2(0x25d),_0x36f62f[_0x36f62f[_0x32e2f2(0x37c)]=0x3]='PERMISSION_DENIED',_0x36f62f[_0x36f62f[_0x32e2f2(0x29e)]=0x4]='NOT_FOUND',_0x36f62f[_0x36f62f[_0x32e2f2(0x23b)]=0x5]='UNAUTHENTICATED',_0x36f62f[_0x36f62f[_0x32e2f2(0x390)]=0x6]=_0x32e2f2(0x390),_0x36f62f[_0x36f62f['INVALID_ARGUMENT']=0x7]=_0x32e2f2(0x191),_0x36f62f[_0x36f62f[_0x32e2f2(0x136)]=0x8]=_0x32e2f2(0x136),_0x36f62f[_0x36f62f[_0x32e2f2(0x135)]=0x9]='COMPLETION_FINISHED',_0x36f62f[_0x36f62f[_0x32e2f2(0x130)]=0xa]='LOGIN_FAILED',_0x36f62f[_0x36f62f[_0x32e2f2(0x38b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x36f62f[_0x36f62f[_0x32e2f2(0x13f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x36f62f[_0x36f62f[_0x32e2f2(0x165)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x36f62f[_0x36f62f[_0x32e2f2(0x1d9)]=0x1773]=_0x32e2f2(0x1d9),_0x36f62f[_0x36f62f['APPLY_REJECT']=0x1b59]=_0x32e2f2(0x289),_0x36f62f[_0x36f62f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x32e2f2(0x98),_0x36f62f[_0x36f62f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x32e2f2(0xe9),_0x36f62f[_0x36f62f[_0x32e2f2(0x355)]=0x1b5c]=_0x32e2f2(0x355),_0x36f62f[_0x36f62f[_0x32e2f2(0xb2)]=0x1b5d]='APPLY_DUPLICATED',_0x36f62f[_0x36f62f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x32e2f2(0x1c9),_0x36f62f[_0x36f62f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x32e2f2(0x314),_0x36f62f[_0x36f62f[_0x32e2f2(0x2f6)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x36f62f[_0x36f62f[_0x32e2f2(0x37f)]=0x232b]=_0x32e2f2(0x37f),_0x36f62f[_0x36f62f[_0x32e2f2(0x13e)]=0x232c]=_0x32e2f2(0x13e),_0x36f62f[_0x36f62f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x32e2f2(0x386),_0x36f62f[_0x36f62f[_0x32e2f2(0x174)]=0x2711]=_0x32e2f2(0x174),_0x36f62f[_0x36f62f[_0x32e2f2(0x26c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x36f62f[_0x36f62f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x32e2f2(0x2b7),_0x36f62f[_0x36f62f[_0x32e2f2(0x305)]=0x2714]=_0x32e2f2(0x305),_0x36f62f[_0x36f62f[_0x32e2f2(0x2bf)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x36f62f[_0x36f62f[_0x32e2f2(0x93)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x36f62f[_0x36f62f[_0x32e2f2(0x37d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x36f62f[_0x36f62f[_0x32e2f2(0x85)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x36f62f[_0x36f62f[_0x32e2f2(0xf5)]=0x2ee2]='INVALID_INVITE_CODE',_0x36f62f[_0x36f62f[_0x32e2f2(0x271)]=0x2ee3]=_0x32e2f2(0x271),_0x36f62f[_0x36f62f[_0x32e2f2(0xfe)]=0x2ee4]=_0x32e2f2(0xfe),_0x36f62f[_0x36f62f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x32e2f2(0x258),_0x36f62f[_0x36f62f[_0x32e2f2(0x1fa)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x36f62f[_0x36f62f[_0x32e2f2(0x107)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x36f62f[_0x36f62f[_0x32e2f2(0x32a)]=0x32cb]=_0x32e2f2(0x32a),_0x36f62f[_0x36f62f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x36f62f))(Si||{}),Q=(_0x98a354=>(_0x98a354[_0x98a354[_0x32e2f2(0x119)]=0x0]=_0x32e2f2(0x119),_0x98a354[_0x98a354[_0x32e2f2(0x1ef)]=0x1]='UNIVER_DOC',_0x98a354[_0x98a354[_0x32e2f2(0x118)]=0x2]=_0x32e2f2(0x118),_0x98a354[_0x98a354[_0x32e2f2(0x230)]=0x3]=_0x32e2f2(0x230),_0x98a354[_0x98a354[_0x32e2f2(0x18d)]=0x4]=_0x32e2f2(0x18d),_0x98a354[_0x98a354['UNRECOGNIZED']=-0x1]=_0x32e2f2(0x388),_0x98a354))(Q||{}),F=(_0x5614a8=>(_0x5614a8[_0x5614a8[_0x32e2f2(0x233)]=0x0]=_0x32e2f2(0x233),_0x5614a8[_0x5614a8[_0x32e2f2(0x99)]=0x1]=_0x32e2f2(0x99),_0x5614a8[_0x5614a8[_0x32e2f2(0x188)]=0x2]='JOIN',_0x5614a8[_0x5614a8['LEAVE']=0x3]=_0x32e2f2(0x28c),_0x5614a8[_0x5614a8['INGEST']=0x4]=_0x32e2f2(0x1ff),_0x5614a8[_0x5614a8[_0x32e2f2(0xb8)]=0x5]=_0x32e2f2(0xb8),_0x5614a8[_0x5614a8[_0x32e2f2(0xd5)]=0x6]=_0x32e2f2(0xd5),_0x5614a8[_0x5614a8[_0x32e2f2(0x388)]=-0x1]='UNRECOGNIZED',_0x5614a8))(F||{}),ge=(_0x3be39b=>(_0x3be39b[_0x3be39b[_0x32e2f2(0x286)]=0x0]=_0x32e2f2(0x286),_0x3be39b[_0x3be39b['OK']=0x1]='OK',_0x3be39b[_0x3be39b[_0x32e2f2(0x273)]=0x2]=_0x32e2f2(0x273),_0x3be39b[_0x3be39b[_0x32e2f2(0x387)]=0x3e9]='JOIN_ROOM_FULL',_0x3be39b[_0x3be39b[_0x32e2f2(0x19e)]=0x3ea]=_0x32e2f2(0x19e),_0x3be39b[_0x3be39b[_0x32e2f2(0x184)]=0x3eb]=_0x32e2f2(0x184),_0x3be39b[_0x3be39b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x32e2f2(0x2af),_0x3be39b[_0x3be39b[_0x32e2f2(0x388)]=-0x1]=_0x32e2f2(0x388),_0x3be39b))(ge||{}),Ei=(_0xcc2c06=>(_0xcc2c06[_0xcc2c06[_0x32e2f2(0x104)]=0x0]='Undefined',_0xcc2c06[_0xcc2c06['HttpImport']=0x1]=_0x32e2f2(0x1cf),_0xcc2c06[_0xcc2c06[_0x32e2f2(0x106)]=0x2]=_0x32e2f2(0x106),_0xcc2c06[_0xcc2c06['UnitEmbedded']=0x3]='UnitEmbedded',_0xcc2c06[_0xcc2c06[_0x32e2f2(0x298)]=0x4]=_0x32e2f2(0x298),_0xcc2c06[_0xcc2c06[_0x32e2f2(0x1e7)]=0x5]=_0x32e2f2(0x1e7),_0xcc2c06[_0xcc2c06[_0x32e2f2(0x388)]=-0x1]=_0x32e2f2(0x388),_0xcc2c06))(Ei||{});const q=_0x32e2f2(0x37e),wn={};var re=(_0x560b68=>(_0x560b68['OTHER_CLIENT_EDITING']=_0x32e2f2(0x12e),_0x560b68[_0x32e2f2(0x37c)]='PERMISSION_DENIED',_0x560b68[_0x32e2f2(0x2ff)]=_0x32e2f2(0x2ff),_0x560b68['CLOSE_ROOM']=_0x32e2f2(0x300),_0x560b68[_0x32e2f2(0x37b)]=_0x32e2f2(0x37b),_0x560b68[_0x32e2f2(0x31a)]=_0x32e2f2(0x31a),_0x560b68['SOCKET_FAILED']=_0x32e2f2(0x339),_0x560b68['SUBMIT_CHANGESET_TIMEOUT']=_0x32e2f2(0x35a),_0x560b68))(re||{});class pe{constructor(){var _0x5f37bf=_0x32e2f2;N(this,_0x5f37bf(0xbf),new _0x2fe298()),N(this,'event$',this['_event$'][_0x5f37bf(0x2ed)]());}[_0x32e2f2(0x1be)](_0x3ed878){var _0x25ec7f=_0x32e2f2;this[_0x25ec7f(0xbf)][_0x25ec7f(0x364)](_0x3ed878);}}const Pn=_0x1badd5('univer-pro.collaboration-client.network-condition.service');function Ln(_0x1b82a3){var _0x58c7ab=_0x32e2f2,_0x357f08,_0x373377,_0x39af38,_0x17ff30,_0x307b55;const _0x23d14c=_0x1b82a3[_0x58c7ab(0x113)],_0x3d5b98=JSON[_0x58c7ab(0xcc)](_0x23d14c);switch(_0x3d5b98[_0x58c7ab(0xb3)]){case F[_0x58c7ab(0xb8)]:case F[_0x58c7ab(0x99)]:{const _0x14b3fe=_0x3d5b98[_0x58c7ab(0x35c)];return{..._0x3d5b98,'data':_0x14b3fe,'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};}case F[_0x58c7ab(0x188)]:{const _0x37bf5e=_0x3d5b98[_0x58c7ab(0x2e0)];return{..._0x3d5b98,'data':_0x37bf5e,'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};}case F['RECV']:{const _0x44b37e=_0x3d5b98['collaMsg'];switch(_0x44b37e[_0x58c7ab(0x100)]){case _0x5dd443[_0x58c7ab(0x80)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x357f08=_0x44b37e['permissionRejEvent'])==null?void 0x0:_0x357f08['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x368)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x373377=_0x44b37e[_0x58c7ab(0x161)])==null?void 0x0:_0x373377['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x1e1)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x39af38=_0x44b37e['newCsEvent'])==null?void 0x0:_0x39af38['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x292)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x17ff30=_0x44b37e[_0x58c7ab(0x163)])==null?void 0x0:_0x17ff30['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443['CHANGESET_SHOULD_RETRY']:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x307b55=_0x44b37e[_0x58c7ab(0xa5)])==null?void 0x0:_0x307b55['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x96)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2c7)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x14b)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['joinEvent']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x345)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x34b)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0xaf)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2fa)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x2f0)]:case _0x5dd443[_0x58c7ab(0x303)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2b5)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x94)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2fa)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x2f2)]:return{..._0x3d5b98,'data':_0x44b37e,'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x229)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['commentUpdateEvent']},'cmd':_0x3d5b98['cmd']};case _0x5dd443['UPDATE_PERMISSION_OBJ']:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2c2)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x17d)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['shouldCloseConn']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x2ea)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['uniscriptRunEvent']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};default:return _0x3d5b98;}}default:return _0x3d5b98;}}function xn(_0x539539){var _0x3e6b8a=_0x32e2f2;switch(_0x539539[_0x3e6b8a(0xb3)]){case F['HEARTBEAT']:case F[_0x3e6b8a(0x99)]:return JSON['stringify']({'cmd':_0x539539[_0x3e6b8a(0xb3)],'routeKey':_0x539539[_0x3e6b8a(0x1df)]});case F['INGEST']:{let _0x25b154;switch(_0x539539[_0x3e6b8a(0x113)]['eventID']){case _0x5dd443[_0x3e6b8a(0x96)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x96)],'updateCursorEvent':_0x539539['data']['data']};break;}case _0x5dd443[_0x3e6b8a(0x345)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x345)],'leaveEvent':_0x539539[_0x3e6b8a(0x113)]['data']};break;}case _0x5dd443[_0x3e6b8a(0x14b)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x14b)],'joinEvent':_0x539539['data'][_0x3e6b8a(0x113)]};break;}case _0x5dd443[_0x3e6b8a(0xaf)]:{_0x25b154={'eventID':_0x5dd443['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x539539[_0x3e6b8a(0x113)][_0x3e6b8a(0x113)]};break;}case _0x5dd443[_0x3e6b8a(0x303)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x303)],'liveShareOperation':_0x539539[_0x3e6b8a(0x113)][_0x3e6b8a(0x113)]};break;}case _0x5dd443[_0x3e6b8a(0x94)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x94)],'liveShareTerminate':_0x539539['data'][_0x3e6b8a(0x113)]};break;}case _0x5dd443['LIVESHARE_REQUEST_HOST']:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x180)],'liveShareRequestHost':_0x539539[_0x3e6b8a(0x113)]['data']};break;}case _0x5dd443[_0x3e6b8a(0x2f0)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x2f0)]};break;}default:_0x25b154={'eventID':_0x539539['data'][_0x3e6b8a(0x100)]};}return JSON[_0x3e6b8a(0x105)]({'cmd':_0x539539['cmd'],'routeKey':_0x539539['routeKey'],'collaMsg':_0x25b154});}case F['JOIN']:return JSON['stringify']({'cmd':_0x539539[_0x3e6b8a(0xb3)],'routeKey':_0x539539[_0x3e6b8a(0x1df)],'joinReq':_0x539539[_0x3e6b8a(0x113)]});case F[_0x3e6b8a(0x28c)]:return JSON[_0x3e6b8a(0x105)]({'cmd':_0x539539[_0x3e6b8a(0xb3)],'routeKey':_0x539539[_0x3e6b8a(0x1df)],'leaveReq':_0x539539[_0x3e6b8a(0x113)]});default:throw new Error(_0x3e6b8a(0x192));}}var Mn=Object[_0x32e2f2(0x266)],kn=(_0x55d0d7,_0x1b2694,_0x1930c2,_0x37c95d)=>{var _0x25c9c0=_0x32e2f2;for(var _0x3d3dff=_0x37c95d>0x1?void 0x0:_0x37c95d?Mn(_0x1b2694,_0x1930c2):_0x1b2694,_0x2f10f0=_0x55d0d7[_0x25c9c0(0x2e2)]-0x1,_0x15fad3;_0x2f10f0>=0x0;_0x2f10f0--)(_0x15fad3=_0x55d0d7[_0x2f10f0])&&(_0x3d3dff=_0x15fad3(_0x3d3dff)||_0x3d3dff);return _0x3d3dff;},Ae=(_0x1deded,_0x31d3f0)=>(_0x4b553c,_0x29700f)=>_0x31d3f0(_0x4b553c,_0x29700f,_0x1deded);const Ii=_0x1badd5('univer-pro.collaboration-client-socket-service');function $n(_0x5454e2,_0x177d42,_0x2b4129){var _0x26cc0c=_0x32e2f2;return _0x5454e2+'/'+_0x177d42+_0x26cc0c(0xe0)+_0x2b4129+_0x26cc0c(0x274);}let Gt=class extends _0x9c2164{constructor(_0x50b97b,_0x338e51,_0x50c4fd,_0x2715bb,_0x490cf3){var _0x238688=_0x32e2f2;super(),this[_0x238688(0x327)]=_0x50b97b,this[_0x238688(0x2b9)]=_0x338e51,this[_0x238688(0xae)]=_0x50c4fd,this['_logService']=_0x2715bb,this['_snapshotServerService']=_0x490cf3;}['_doCreateSocket'](_0xe813bf){var _0x595254=_0x32e2f2;const _0x10688b=this[_0x595254(0x327)][_0x595254(0x281)](_0x4e45e6);if(!_0x10688b)throw new Error(_0x595254(0x1f3));const _0x4c8736=_0x10688b[_0x595254(0x145)](_0xe813bf);if(!_0x4c8736)throw new Error(_0x595254(0x248));const _0x41d224=new _0x4981e2(),_0x42a822=new _0x2fe298();_0x41d224[_0x595254(0x171)](_0x4c8736['close$'][_0x595254(0x115)](_0x465e18=>_0x42a822[_0x595254(0x364)](_0x465e18))),_0x41d224[_0x595254(0x171)](_0x479b0d(()=>_0x42a822[_0x595254(0x23e)]()));const _0x1960f7=new _0x2fe298();_0x41d224[_0x595254(0x171)](_0x4c8736['error$'][_0x595254(0x115)](_0x3a4568=>_0x1960f7[_0x595254(0x364)](_0x3a4568))),_0x41d224['add'](_0x479b0d(()=>_0x1960f7[_0x595254(0x23e)]()));const _0x2ce33c=new _0x2fe298();_0x41d224[_0x595254(0x171)](_0x4c8736[_0x595254(0x284)][_0x595254(0x115)](_0x36e55d=>{var _0x443a6d=_0x595254;const _0x6a8e32=Ln(_0x36e55d);_0x2ce33c[_0x443a6d(0x364)](_0x6a8e32);})),_0x41d224['add'](_0x479b0d(()=>_0x2ce33c[_0x595254(0x23e)]()));let _0x53a062;const _0xb82b84=()=>{var _0x6baf1c=_0x595254;_0x1960f7['next'](new Event(_0x6baf1c(0x1bf))),_0x42a822[_0x6baf1c(0x364)](new Event(_0x6baf1c(0x1bf))),_0x53a062['close']();};return _0x53a062={'memberID':'','close$':_0x42a822[_0x595254(0x2ed)](),'error$':_0x1960f7[_0x595254(0x2ed)](),'open$':_0x4c8736[_0x595254(0x2f7)],'message$':_0x2ce33c[_0x595254(0x2ed)](),'send':_0x2359fa=>{var _0x3a1ff1=_0x595254;if(_0x2359fa[_0x3a1ff1(0xb3)]===F[_0x3a1ff1(0x1ff)]){if(_0x2359fa[_0x3a1ff1(0x113)][_0x3a1ff1(0x100)]===_0x5dd443[_0x3a1ff1(0x297)]){this['_submitChangeset'](_0x53a062,_0x2359fa[_0x3a1ff1(0x113)])[_0x3a1ff1(0x2ad)](_0x2a4118=>{var _0x4c97db=_0x3a1ff1;this[_0x4c97db(0xc3)][_0x4c97db(0xee)](_0x2a4118),_0xb82b84();});return;}if(_0x2359fa[_0x3a1ff1(0x113)]['eventID']===_0x5dd443[_0x3a1ff1(0x29d)]){const _0x455f26=_0x2359fa[_0x3a1ff1(0x113)];this[_0x3a1ff1(0x168)](_0x455f26)['then'](_0x3cff02=>{var _0x2ec6b9=_0x3a1ff1;_0x2ce33c[_0x2ec6b9(0x364)]({'cmd':F[_0x2ec6b9(0xd5)],'code':ge['OK'],'routeKey':_0x455f26['data'][_0x2ec6b9(0x10f)],'routeType':'','data':{'eventID':_0x5dd443[_0x2ec6b9(0x185)],'data':{'changesets':_0x3cff02}}});})['catch'](_0xd6ec37=>{var _0x150f2a=_0x3a1ff1;this['_logService'][_0x150f2a(0xee)](_0xd6ec37),_0xb82b84();});return;}}_0x4c8736[_0x3a1ff1(0x1cb)](xn(_0x2359fa));},'close':()=>{var _0x44b25d=_0x595254;_0x4c8736[_0x44b25d(0x1ad)](),_0x41d224[_0x44b25d(0x1e0)]();}},_0x53a062;}async[_0x32e2f2(0x35d)](_0x4f2d76,_0x423ba0){var _0x46f75c=_0x32e2f2,_0x5a5296,_0x306035;const {unitType:_0x9410bb,unitID:_0x305442,changeset:_0x5a2c8a}=_0x423ba0[_0x46f75c(0x113)],_0x32b035={'unitID':_0x305442,'memberID':_0x4f2d76[_0x46f75c(0x11d)],'type':_0x9410bb,'changeset':_0x5f3ae2(_0x5a2c8a)},_0x31588c=this[_0x46f75c(0xae)][_0x46f75c(0x8c)](Nn),_0x411463=this[_0x46f75c(0xae)][_0x46f75c(0x8c)](q),_0x55e03b=$n((_0x306035=(_0x5a5296=_0x411463==null?void 0x0:_0x411463[_0x46f75c(0x334)])!=null?_0x5a5296:_0x31588c)!=null?_0x306035:Dn,_0x9410bb,_0x305442);try{await this[_0x46f75c(0x2b9)][_0x46f75c(0x282)](_0x55e03b,{'body':_0x32b035});}catch(_0x46b4db){throw this['_logService'][_0x46f75c(0xee)]('[CollaborationSession]',_0x46f75c(0x10e)),_0x46b4db;}}async[_0x32e2f2(0x168)](_0x456506){var _0x24418b=_0x32e2f2;const {unitID:_0x4efa10,from:_0x5957ea,to:_0x3ec123,unitType:_0x3f648c}=_0x456506[_0x24418b(0x113)];return(await this[_0x24418b(0x14c)][_0x24418b(0x30d)]({'metadata':void 0x0},{'unitID':_0x4efa10,'type':_0x3f648c,'from':_0x5957ea,'to':_0x3ec123}))[_0x24418b(0xf8)];}};Gt=kn([Ae(0x0,_0xf49784(_0x3f2818)),Ae(0x1,_0xf49784(_0x18ded5)),Ae(0x2,_0x24f34c),Ae(0x3,_0x21b260),Ae(0x4,_0x2c5951)],Gt);const Hn=_0x32e2f2(0x1d3);function Bn(_0x3d58e2){var _0x3cf97b=_0x32e2f2;return JSON[_0x3cf97b(0x105)](_0x3d58e2)[_0x3cf97b(0x2e2)];}class Ti{constructor(){var _0x5898f6=_0x32e2f2;N(this,_0x5898f6(0x15f),new _0x2fe298()),N(this,_0x5898f6(0x19d),this[_0x5898f6(0x15f)][_0x5898f6(0x2ed)]());}[_0x32e2f2(0x247)](_0x22d811){var _0x522999=_0x32e2f2;this['_commentUpdate$'][_0x522999(0x364)](_0x22d811);}}var jn=Object[_0x32e2f2(0x266)],Fn=(_0x3799ad,_0x5f1d87,_0x7ec57b,_0xe3c287)=>{for(var _0xc18f48=_0xe3c287>0x1?void 0x0:_0xe3c287?jn(_0x5f1d87,_0x7ec57b):_0x5f1d87,_0x4a38fa=_0x3799ad['length']-0x1,_0x1907a0;_0x4a38fa>=0x0;_0x4a38fa--)(_0x1907a0=_0x3799ad[_0x4a38fa])&&(_0xc18f48=_0x1907a0(_0xc18f48)||_0xc18f48);return _0xc18f48;},Wt=(_0x3395a5,_0x4106b1)=>(_0x25a4fc,_0x512638)=>_0x4106b1(_0x25a4fc,_0x512638,_0x3395a5);let Le=class extends _0x9c2164{constructor(_0x5d3076,_0x5df925){var _0x25b76b=_0x32e2f2;super(),N(this,_0x25b76b(0x304),new Map()),N(this,_0x25b76b(0x2ef),new _0x2fe298()),(this[_0x25b76b(0x2d5)]=_0x5d3076,this[_0x25b76b(0x2a7)]=_0x5df925,this[_0x25b76b(0x172)](_0x308043(this['_univerInstanceService'][_0x25b76b(0x2c6)](_0x271272[_0x25b76b(0x118)])[_0x25b76b(0x173)](_0x289343(_0x20d2c2=>_0x20d2c2[_0x25b76b(0x22e)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x271272['UNIVER_DOC'])[_0x25b76b(0x173)](_0x289343(_0x253265=>_0x253265[_0x25b76b(0x22e)]())),this[_0x25b76b(0x2d5)][_0x25b76b(0x2c6)](_0x271272['UNIVER_SLIDE'])[_0x25b76b(0x173)](_0x289343(_0xf5542b=>_0xf5542b[_0x25b76b(0x22e)]())))[_0x25b76b(0x115)](_0x3fb580=>this[_0x25b76b(0x182)](_0x3fb580))));}[_0x32e2f2(0xf6)](_0x2516f7){var _0x22366e=_0x32e2f2;return this[_0x22366e(0x304)][_0x22366e(0xd9)](_0x2516f7)?_0x2615a9(this['_roomMembers'][_0x22366e(0x281)](_0x2516f7)):this[_0x22366e(0x2ef)][_0x22366e(0x173)](_0x289343(_0x11a45e=>{var _0x2a9b60=_0x22366e;if(_0x11a45e===_0x2516f7)return this['_roomMembers'][_0x2a9b60(0x281)](_0x11a45e);}));}[_0x32e2f2(0x1e2)](_0x4de78d){var _0x5da377=_0x32e2f2;this[_0x5da377(0x2a7)]['setCurrentUser'](_0x4de78d);}['getCurrentUser'](){var _0x18791a=_0x32e2f2;return this[_0x18791a(0x2a7)][_0x18791a(0x2d1)]();}[_0x32e2f2(0x371)](_0x9993fb,_0x648bb2){var _0x45f8c5=_0x32e2f2;let _0x16bd0a=this[_0x45f8c5(0x304)][_0x45f8c5(0x281)](_0x9993fb);_0x16bd0a||(_0x16bd0a=new Vn(),this['_roomMembers']['set'](_0x9993fb,_0x16bd0a),this[_0x45f8c5(0x2ef)][_0x45f8c5(0x364)](_0x9993fb)),_0x16bd0a[_0x45f8c5(0x371)](_0x648bb2);}['removeMember'](_0x25569,_0x1205fe){var _0x131b42=_0x32e2f2;const _0x4e02d4=this[_0x131b42(0x304)]['get'](_0x25569);_0x4e02d4&&_0x4e02d4[_0x131b42(0x262)](_0x1205fe);}[_0x32e2f2(0x218)](_0x488158){var _0x386ebb=_0x32e2f2;return this[_0x386ebb(0x304)]['get'](_0x488158);}[_0x32e2f2(0x142)](_0x3d3f0a,_0xb6408f){var _0x4b58e9=_0x32e2f2;const _0x1821f7=this[_0x4b58e9(0x304)]['get'](_0x3d3f0a);if(_0x1821f7)return _0x1821f7[_0x4b58e9(0x142)](_0xb6408f);}[_0x32e2f2(0x182)](_0x4c6cfd){var _0x5ba226=_0x32e2f2;const _0x205ca4=this[_0x5ba226(0x304)][_0x5ba226(0x281)](_0x4c6cfd);_0x205ca4&&(_0x205ca4[_0x5ba226(0x1e0)](),this[_0x5ba226(0x304)]['delete'](_0x4c6cfd));}[_0x32e2f2(0x1e0)](){var _0x142a0e=_0x32e2f2;this['_roomMembers']['forEach'](_0xba80a8=>_0xba80a8['dispose']()),this[_0x142a0e(0x304)]['clear'](),this[_0x142a0e(0x2ef)][_0x142a0e(0x23e)]();}};Le=Fn([Wt(0x0,_0x457f20),Wt(0x1,_0xf49784(_0x68341c))],Le);class Vn extends _0x9c2164{constructor(){var _0x3c0a7a=_0x32e2f2;super(...arguments),N(this,_0x3c0a7a(0xc8),new Map()),N(this,_0x3c0a7a(0xa6),new _0x17ac9d(this[_0x3c0a7a(0xc8)])),N(this,_0x3c0a7a(0xf7),this[_0x3c0a7a(0xa6)][_0x3c0a7a(0x2ed)]());}[_0x32e2f2(0x1e0)](){var _0x57c164=_0x32e2f2;this[_0x57c164(0xc8)][_0x57c164(0x24f)]();}[_0x32e2f2(0x371)](_0x295ede){var _0x580f18=_0x32e2f2;this[_0x580f18(0xc8)][_0x580f18(0x333)](_0x295ede[_0x580f18(0x11d)],_0x295ede),this['_emitMembers']();}[_0x32e2f2(0x262)](_0x41284c){var _0x24ad1b=_0x32e2f2;this['_members'][_0x24ad1b(0x203)](_0x41284c);}['getMember'](_0x2c47d1){var _0x37b024=_0x32e2f2;return this[_0x37b024(0xc8)]['get'](_0x2c47d1);}[_0x32e2f2(0x35f)](){var _0x4424b9=_0x32e2f2;return Array['from'](this[_0x4424b9(0xc8)][_0x4424b9(0x340)]());}['_emitMembers'](){var _0x3bfd13=_0x32e2f2;this[_0x3bfd13(0xa6)][_0x3bfd13(0x364)](this[_0x3bfd13(0xc8)]);}}var Gn=Object[_0x32e2f2(0x266)],Wn=(_0x2277bb,_0x55dd1c,_0x273c47,_0x5d995f)=>{var _0x3263d3=_0x32e2f2;for(var _0x2ec03d=_0x5d995f>0x1?void 0x0:_0x5d995f?Gn(_0x55dd1c,_0x273c47):_0x55dd1c,_0x519d73=_0x2277bb[_0x3263d3(0x2e2)]-0x1,_0x561a87;_0x519d73>=0x0;_0x519d73--)(_0x561a87=_0x2277bb[_0x519d73])&&(_0x2ec03d=_0x561a87(_0x2ec03d)||_0x2ec03d);return _0x2ec03d;},me=(_0x5349ad,_0x417658)=>(_0x5a0dcc,_0x4920c8)=>_0x417658(_0x5a0dcc,_0x4920c8,_0x5349ad),Ee=(_0x25d8f7=>(_0x25d8f7[_0x25d8f7[_0x32e2f2(0x307)]=0x0]=_0x32e2f2(0x307),_0x25d8f7[_0x25d8f7[_0x32e2f2(0x1ea)]=0x1]=_0x32e2f2(0x1ea),_0x25d8f7[_0x25d8f7[_0x32e2f2(0x33c)]=0x2]='OFFLINE',_0x25d8f7[_0x25d8f7[_0x32e2f2(0x9c)]=0x3]='ONLINE',_0x25d8f7))(Ee||{});const Kt={[ge[_0x32e2f2(0x273)]]:_0x32e2f2(0xdb),[ge['JOIN_ROOM_FULL']]:_0x32e2f2(0x2cb),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x32e2f2(0x379),[ge[_0x32e2f2(0x184)]]:_0x32e2f2(0x238),[ge[_0x32e2f2(0x2af)]]:_0x32e2f2(0x178)};let Et=class extends _0x1005e4{constructor(_0x2f9980,_0x54d73e,_0x840b1c,_0x17c34c,_0x2ce1cd,_0x298519,_0x36aca3,_0x4449ab,_0x15ab7a){var _0x478e56=_0x32e2f2;super(),N(this,_0x478e56(0x2d8),new _0x17ac9d(0x0)),N(this,_0x478e56(0x16b),this[_0x478e56(0x2d8)]['asObservable']()),N(this,_0x478e56(0xbf),new _0x2fe298()),N(this,_0x478e56(0x90),this[_0x478e56(0xbf)][_0x478e56(0x2ed)]()),N(this,_0x478e56(0x34f)),N(this,_0x478e56(0x11a)),N(this,_0x478e56(0x2a9)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x478e56(0x1e8),null),(this[_0x478e56(0x310)]=_0x2f9980,this[_0x478e56(0xc3)]=_0x840b1c,this[_0x478e56(0xae)]=_0x17c34c,this[_0x478e56(0x2f5)]=_0x2ce1cd,this[_0x478e56(0x2ec)]=_0x298519,this[_0x478e56(0x1b3)]=_0x36aca3,this[_0x478e56(0x114)]=_0x4449ab,this['_telemetryService']=_0x15ab7a,this['_shouldReportTelemetry']=!!this[_0x478e56(0x36b)],_0x54d73e['pipe'](_0x5522e4(this[_0x478e56(0x187)]))['subscribe'](_0x5c8f14=>{var _0x352c3b=_0x478e56,_0x2f4aa9;typeof _0x5c8f14>'u'||(this[_0x352c3b(0x34f)]=_0x5c8f14,_0x5c8f14?(this[_0x352c3b(0x189)](_0x5c8f14),this[_0x352c3b(0x11a)]=_0x5c8f14[_0x352c3b(0x284)][_0x352c3b(0x115)](_0x579605=>{var _0xb7ab04=_0x352c3b;_0x579605[_0xb7ab04(0x1df)]===this[_0xb7ab04(0x310)]&&this['_onCombEvent'](_0x579605);})):(this[_0x352c3b(0xef)](),this[_0x352c3b(0x2d8)][_0x352c3b(0x364)](0x2),(_0x2f4aa9=this['_socketMessageSubscription'])==null||_0x2f4aa9[_0x352c3b(0x159)](),this[_0x352c3b(0x11a)]=null));}));}get['sessionStatus'](){var _0x3988d2=_0x32e2f2;return this['_sessionStatus$'][_0x3988d2(0x28a)]();}[_0x32e2f2(0x22c)](){var _0x3663ce=_0x32e2f2,_0x207af7,_0x445e7a;return(_0x445e7a=(_0x207af7=this[_0x3663ce(0x34f)])==null?void 0x0:_0x207af7[_0x3663ce(0x11d)])!=null?_0x445e7a:null;}['dispose'](){var _0x2387a8=_0x32e2f2;super[_0x2387a8(0x1e0)](),this[_0x2387a8(0x187)]['next'](),this['dispose$'][_0x2387a8(0x23e)]();}['close'](){var _0x1251e1=_0x32e2f2,_0x416ac4,_0x33075d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x416ac4=this[_0x1251e1(0x34f)])==null||_0x416ac4[_0x1251e1(0x1cb)]({'cmd':F[_0x1251e1(0x28c)],'data':{'roomID':this[_0x1251e1(0x310)]}}),(_0x33075d=this['_socket'])==null||_0x33075d[_0x1251e1(0x1ad)](),this[_0x1251e1(0xbf)][_0x1251e1(0x23e)](),this[_0x1251e1(0x2d8)][_0x1251e1(0x23e)](),this[_0x1251e1(0x1e0)]();}['_onCombEvent'](_0x3a84e5){var _0x1cc038=_0x32e2f2;_0x3a84e5[_0x1cc038(0xb3)]===F[_0x1cc038(0x188)]?this['_onJoinRoomEvent'](_0x3a84e5):_0x3a84e5[_0x1cc038(0xb3)]===F[_0x1cc038(0xd5)]&&this['_onRecvEvent'](_0x3a84e5);}['_joinRoom'](_0x1120d7){var _0x383ccf=_0x32e2f2;this['_sessionStatus$'][_0x383ccf(0x364)](0x1),_0x1120d7[_0x383ccf(0x1cb)]({'cmd':F['JOIN'],'routeKey':this[_0x383ccf(0x310)],'routeType':'','data':{'rooms':[{'roomID':this[_0x383ccf(0x310)]}]}});}[_0x32e2f2(0x12b)](_0x375cda){var _0x2e29da=_0x32e2f2,_0x34a077;if(_0x375cda[_0x2e29da(0x223)]in Kt){this[_0x2e29da(0x114)]['emitEvent']({'id':re[_0x2e29da(0x37b)],'data':Kt[_0x375cda['code']]}),this[_0x2e29da(0x2d8)][_0x2e29da(0x364)](0x2);return;}this[_0x2e29da(0x2d8)][_0x2e29da(0x364)](0x3);const _0xeea04a=(_0x34a077=_0x375cda['data'][_0x2e29da(0x359)][this[_0x2e29da(0x310)]])==null?void 0x0:_0x34a077[_0x2e29da(0x1b5)];_0xeea04a&&_0xeea04a['forEach'](_0x132402=>this['_memberService'][_0x2e29da(0x371)](this[_0x2e29da(0x310)],_0x132402));}[_0x32e2f2(0x108)](_0x1ee1ac){var _0x5d02dc=_0x32e2f2;try{const _0x3faa7f=_0x1ee1ac[_0x5d02dc(0x113)];switch(_0x3faa7f[_0x5d02dc(0x100)]){case _0x5dd443[_0x5d02dc(0x14b)]:this[_0x5d02dc(0x1cd)](_0x3faa7f),this[_0x5d02dc(0xbf)][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443[_0x5d02dc(0x345)]:this[_0x5d02dc(0x1a8)](_0x3faa7f),this['_event$'][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443[_0x5d02dc(0x368)]:case _0x5dd443['CHANGESET_SHOULD_RETRY']:this[_0x5d02dc(0x1c8)](),this[_0x5d02dc(0x14f)](),this[_0x5d02dc(0xbf)][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443['MSG_FOR_ERROR']:this[_0x5d02dc(0xc3)]['error'](_0x5d02dc(0x33d)+JSON['stringify'](_0x3faa7f)),this['_event$'][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443[_0x5d02dc(0x229)]:this[_0x5d02dc(0x1b3)]['onCommentUpdate'](_0x3faa7f[_0x5d02dc(0x113)]),this[_0x5d02dc(0xbf)]['next'](_0x3faa7f);break;default:this[_0x5d02dc(0xbf)][_0x5d02dc(0x364)](_0x3faa7f);}}catch(_0x1e10fa){this['_logService'][_0x5d02dc(0xee)](_0x1e10fa,_0x1ee1ac);}}[_0x32e2f2(0x1cd)](_0x3b22c1){var _0xeebdb0=_0x32e2f2;this[_0xeebdb0(0x2ec)][_0xeebdb0(0x371)](this['_unitID'],_0x3b22c1['data']);}[_0x32e2f2(0x1a8)](_0x51d484){var _0x58ed26=_0x32e2f2;this[_0x58ed26(0x2ec)]['removeMember'](this['_unitID'],_0x51d484[_0x58ed26(0x113)][_0x58ed26(0x11d)]);}async[_0x32e2f2(0x1cb)](_0x47b212,_0x20cef9){var _0x2a2df2=_0x32e2f2;if(this[_0x2a2df2(0x21c)]!==0x3||!this[_0x2a2df2(0x34f)])throw new Error(_0x2a2df2(0x2bc));try{_0x47b212[_0x2a2df2(0x100)]===_0x5dd443[_0x2a2df2(0x297)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2a2df2(0x122)](_0x47b212)),this[_0x2a2df2(0x34f)]['send']({'cmd':F[_0x2a2df2(0x1ff)],'routeKey':_0x20cef9,'routeType':'','data':_0x47b212});}catch(_0x15091e){this[_0x2a2df2(0xc3)]['error'](_0x15091e);}}[_0x32e2f2(0x2b2)](){var _0x4cf31e=_0x32e2f2,_0x134bc3;this[_0x4cf31e(0x2a9)]=setTimeout(()=>{var _0x416639=_0x4cf31e;this['_collaborationTimeoutTimer']=null,this[_0x416639(0x114)][_0x416639(0x1be)]({'id':re[_0x416639(0x35a)]});},(_0x134bc3=this[_0x4cf31e(0xae)][_0x4cf31e(0x8c)](mi))!=null?_0x134bc3:gi);}[_0x32e2f2(0x14f)](){var _0x34eb74=_0x32e2f2;this[_0x34eb74(0x2a9)]&&(clearTimeout(this[_0x34eb74(0x2a9)]),this[_0x34eb74(0x2a9)]=null);}[_0x32e2f2(0x122)](_0x42c0ae){var _0x1bc9cd=_0x32e2f2;if(!this[_0x1bc9cd(0x7e)])return;const {data:_0x9ae24e}=_0x42c0ae,{unitID:_0x528d1c,changeset:_0x55d862}=_0x9ae24e,{mutations:_0x35bc8e,type:_0x324e54}=_0x55d862;this[_0x1bc9cd(0x1e8)]={'unitId':_0x528d1c,'type':_0x324e54,'startTime':performance[_0x1bc9cd(0x302)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x35bc8e)};}[_0x32e2f2(0x1c8)](){var _0x168d5c=_0x32e2f2;if(this['_shouldReportTelemetry']){if(!this[_0x168d5c(0x1e8)]){this[_0x168d5c(0xc3)][_0x168d5c(0xee)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x168d5c(0x1e8)][_0x168d5c(0x208)]=performance['now'](),this[_0x168d5c(0x1e8)][_0x168d5c(0x2b8)]=this[_0x168d5c(0x1e8)][_0x168d5c(0x208)]-this[_0x168d5c(0x1e8)][_0x168d5c(0x14d)],this[_0x168d5c(0x36b)][_0x168d5c(0x23f)](Hn,this[_0x168d5c(0x1e8)]),this[_0x168d5c(0x1e8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1b2912=_0x32e2f2;this[_0x1b2912(0x1e8)]=null;}};Et=Wn([me(0x2,_0x21b260),me(0x3,_0x24f34c),me(0x4,_0xf49784(_0x4d5bfe)),me(0x5,_0xf49784(Le)),me(0x6,_0xf49784(Ti)),me(0x7,_0xf49784(pe)),me(0x8,_0x263250(_0x4e6af2))],Et);var Kn=Object[_0x32e2f2(0x266)],Yn=(_0x1a0738,_0x155f98,_0x4a3fed,_0x35ab26)=>{var _0x2fc817=_0x32e2f2;for(var _0x30d348=_0x35ab26>0x1?void 0x0:_0x35ab26?Kn(_0x155f98,_0x4a3fed):_0x155f98,_0x8d49eb=_0x1a0738[_0x2fc817(0x2e2)]-0x1,_0x51eb98;_0x8d49eb>=0x0;_0x8d49eb--)(_0x51eb98=_0x1a0738[_0x8d49eb])&&(_0x30d348=_0x51eb98(_0x30d348)||_0x30d348);return _0x30d348;},be=(_0x31ed38,_0x333bcc)=>(_0x234ef7,_0x2afe8d)=>_0x333bcc(_0x234ef7,_0x2afe8d,_0x31ed38);let xe=class extends _0x9c2164{constructor(_0x113a4c,_0x57fcf7,_0x5e1218,_0x11475c,_0x5351bd,_0x1bbeb4){var _0x5e0fea=_0x32e2f2;super(),N(this,'_socket$',new _0x17ac9d(void 0x0)),N(this,_0x5e0fea(0x211),this['_socket$']['asObservable']()),N(this,_0x5e0fea(0x349),null),N(this,_0x5e0fea(0x366),new Map()),N(this,_0x5e0fea(0xdc),new _0x17ac9d(Ee[_0x5e0fea(0x307)])),N(this,_0x5e0fea(0x175),this[_0x5e0fea(0xdc)][_0x5e0fea(0x2ed)]()),N(this,_0x5e0fea(0x32d),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x5e0fea(0x137),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5e0fea(0x87)),(this[_0x5e0fea(0x327)]=_0x113a4c,this['_logService']=_0x57fcf7,this[_0x5e0fea(0xae)]=_0x5e1218,this[_0x5e0fea(0x306)]=_0x11475c,this[_0x5e0fea(0x114)]=_0x5351bd,this['_networkConditionService']=_0x1bbeb4,this[_0x5e0fea(0x263)]());}get[_0x32e2f2(0x34f)](){var _0x14c8a7=_0x32e2f2;return this[_0x14c8a7(0x2ce)]['getValue']();}[_0x32e2f2(0x263)](){var _0x41ffa0=_0x32e2f2;this['_networkConditionService']&&this[_0x41ffa0(0x172)](this['_networkConditionService'][_0x41ffa0(0x30e)][_0x41ffa0(0x115)](_0x4cc622=>{var _0x355548=_0x41ffa0;_0x4cc622&&!this[_0x355548(0x34f)]&&this[_0x355548(0x384)](),_0x4cc622||this[_0x355548(0x30a)]();}));}[_0x32e2f2(0x1e0)](){var _0x1d17cb=_0x32e2f2;super[_0x1d17cb(0x1e0)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x1d17cb(0x2c9)](),this[_0x1d17cb(0x366)]['forEach'](_0x58c6a5=>_0x58c6a5[_0x1d17cb(0x1e0)]()),this[_0x1d17cb(0x366)][_0x1d17cb(0x24f)](),this['_status$']['complete']();}async[_0x32e2f2(0x1b0)](_0x3e752b){var _0x31cf3f=_0x32e2f2;if(this[_0x31cf3f(0x366)][_0x31cf3f(0xd9)](_0x3e752b))return this['_sessions']['get'](_0x3e752b);this[_0x31cf3f(0x33f)]();const _0x1abf08=this['_injector'][_0x31cf3f(0x22a)](Et,_0x3e752b,this[_0x31cf3f(0x2ce)][_0x31cf3f(0x2ed)]());return this[_0x31cf3f(0x366)]['set'](_0x3e752b,_0x1abf08),_0x1abf08;}['closeSession'](_0x5b579b){var _0x41895e=_0x32e2f2,_0x5b8027;const _0x3a968f=this[_0x41895e(0x366)]['get'](_0x5b579b);_0x3a968f&&(this['_sessions'][_0x41895e(0x203)](_0x5b579b),_0x3a968f[_0x41895e(0x1ad)]()),this[_0x41895e(0x366)][_0x41895e(0x2bd)]||(_0x5b8027=this['_socket'])==null||_0x5b8027[_0x41895e(0x1ad)]();}[_0x32e2f2(0x384)](){var _0x3946b8=_0x32e2f2;this[_0x3946b8(0x137)]=0x0,this[_0x3946b8(0x268)](),this[_0x3946b8(0x13d)]();}[_0x32e2f2(0x268)](){var _0x1892fb=_0x32e2f2;this[_0x1892fb(0x225)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1892fb(0x225)]=null);}async[_0x32e2f2(0x1ce)](){var _0x4f26e5=_0x32e2f2,_0xde178c,_0x3f2db1;const _0x4f80bd=this[_0x4f26e5(0xae)]['getConfig'](In),_0x5df154=this[_0x4f26e5(0xae)][_0x4f26e5(0x8c)](q),_0x1695b1=(_0x3f2db1=(_0xde178c=_0x5df154==null?void 0x0:_0x5df154[_0x4f26e5(0x17c)])!=null?_0xde178c:_0x4f80bd)!=null?_0x3f2db1:Tn,_0x50ef34=await this['_socketService'][_0x4f26e5(0x145)](_0x1695b1);return this[_0x4f26e5(0x349)]=_0x50ef34,_0x50ef34;}async[_0x32e2f2(0x33f)](){var _0x3872c6=_0x32e2f2,_0x19918f,_0xac7475;try{const _0x5c98b3=(_0xac7475=(_0x19918f=this['_socket'])!=null?_0x19918f:this['_candidateSocket'])!=null?_0xac7475:await this[_0x3872c6(0x1ce)]();if(_0x5c98b3){const _0x464237=_0x5c98b3[_0x3872c6(0x1cb)];_0x5c98b3[_0x3872c6(0x1cb)]=_0x20796d=>(this[_0x3872c6(0x291)](),_0x464237[_0x3872c6(0x1c7)](_0x5c98b3,[_0x20796d])),_0x5c98b3['message$'][_0x3872c6(0x115)](_0x4212cf=>this['_onMessage'](_0x5c98b3,_0x4212cf)),_0x5c98b3['error$'][_0x3872c6(0x173)](_0x510b59(0x1))[_0x3872c6(0x115)](_0x57d964=>this['_logService'][_0x3872c6(0xee)](_0x3872c6(0x2d3),_0x57d964)),_0x5c98b3[_0x3872c6(0x2f7)][_0x3872c6(0x173)](_0x510b59(0x1))[_0x3872c6(0x115)](()=>{this['_onConnectionOpen'](_0x5c98b3);}),_0x5c98b3[_0x3872c6(0x1cc)][_0x3872c6(0x173)](_0x510b59(0x1))[_0x3872c6(0x115)](_0x548339=>{var _0xfbd4e5=_0x3872c6;this[_0xfbd4e5(0xc3)][_0xfbd4e5(0x313)](_0xfbd4e5(0x150),_0xfbd4e5(0x27f),_0x548339),this['_onConnectionFailed']();});}}catch(_0x54288b){this[_0x3872c6(0xc3)][_0x3872c6(0xee)](_0x54288b),this['_onConnectionFailed']();}}[_0x32e2f2(0x2d7)](_0x109008){var _0x3f4e03=_0x32e2f2;this['_logService'][_0x3f4e03(0x313)](_0x3f4e03(0x150),'socket\x20open.'),_0x109008['send']({'cmd':F[_0x3f4e03(0x99)]}),this[_0x3f4e03(0x291)]();}[_0x32e2f2(0x30a)](){var _0x48e4cb=_0x32e2f2;this[_0x48e4cb(0x32d)]=!0x1,this['_candidateSocket']=null,this[_0x48e4cb(0xdc)][_0x48e4cb(0x364)](Ee[_0x48e4cb(0x33c)]),this['_socket$']['next'](null),this[_0x48e4cb(0x241)](),this['_clearHeartbeatTimer']();}[_0x32e2f2(0x1dc)](){var _0x4477b0=_0x32e2f2,_0x3757ce;this[_0x4477b0(0x30a)](),this[_0x4477b0(0x137)]<((_0x3757ce=this['_configService'][_0x4477b0(0x8c)](On))!=null?_0x3757ce:yn)?(this[_0x4477b0(0x114)][_0x4477b0(0x1be)]({'id':re[_0x4477b0(0x31a)]}),this[_0x4477b0(0x13d)]()):this['_collaborationUIEventService'][_0x4477b0(0x1be)]({'id':re[_0x4477b0(0x339)]});}[_0x32e2f2(0x13d)](){var _0x48c74f=_0x32e2f2,_0x5951ee;const _0x38a4af=this[_0x48c74f(0x137)],_0x2015dd=this['_configService'][_0x48c74f(0x8c)](q),_0x86e9c3=_0x38a4af===0x0?0x0:((_0x5951ee=_0x2015dd==null?void 0x0:_0x2015dd[_0x48c74f(0x21e)])!=null?_0x5951ee:bn)*0x2**_0x38a4af;this[_0x48c74f(0x225)]=setTimeout(()=>{var _0x51a172=_0x48c74f;clearTimeout(this[_0x51a172(0x225)]),this['_retryConnectingTimer']=null,this[_0x51a172(0x33f)]();},_0x86e9c3),this[_0x48c74f(0x137)]+=0x1;}[_0x32e2f2(0x363)](_0x27f274,_0x5e7e4c){var _0x4a9506=_0x32e2f2;const {cmd:_0x22b00d}=_0x5e7e4c;_0x22b00d===F['HELLO']&&!this[_0x4a9506(0x32d)]&&(_0x27f274[_0x4a9506(0x11d)]=_0x5e7e4c[_0x4a9506(0x113)][_0x4a9506(0x11d)],this[_0x4a9506(0x2ce)][_0x4a9506(0x364)](_0x27f274),this[_0x4a9506(0xdc)][_0x4a9506(0x364)](Ee['ONLINE']),this[_0x4a9506(0x32d)]=!0x0,this[_0x4a9506(0x349)]=null),_0x22b00d===F[_0x4a9506(0xb8)]&&this[_0x4a9506(0x241)](),this[_0x4a9506(0x291)]();}[_0x32e2f2(0x291)](){var _0x87e8dc=_0x32e2f2,_0xaf385f;this[_0x87e8dc(0x2c9)](),this[_0x87e8dc(0x157)]=setTimeout(()=>this['_sendHeartbeat'](),(_0xaf385f=this['_configService'][_0x87e8dc(0x8c)](Cn))!=null?_0xaf385f:Rn);}[_0x32e2f2(0x316)](){var _0xd98fc3=_0x32e2f2;this[_0xd98fc3(0x34f)]['send']({'cmd':F[_0xd98fc3(0xb8)]}),this['_waitForHeartbeatResponse']();}[_0x32e2f2(0x32f)](){var _0x445b56=_0x32e2f2,_0x1e2871;this[_0x445b56(0x87)]=setTimeout(()=>this[_0x445b56(0x1dc)](),(_0x1e2871=this[_0x445b56(0xae)]['getConfig'](mi))!=null?_0x1e2871:gi);}[_0x32e2f2(0x2c9)](){var _0x479bfe=_0x32e2f2;this[_0x479bfe(0x157)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x479bfe(0x157)]=null);}['_clearTimeoutTimer'](){var _0x26f82d=_0x32e2f2;this[_0x26f82d(0x87)]!=null&&(clearTimeout(this[_0x26f82d(0x87)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0xf49784(_0x3f2818)),be(0x1,_0x21b260),be(0x2,_0x24f34c),be(0x3,Ii),be(0x4,_0xf49784(pe)),be(0x5,_0x263250(Pn))],xe);const V=[];function _0x36d8(_0x54c1ea,_0x415ea6){var _0x1a3dd5=_0x1a3d();return _0x36d8=function(_0x36d879,_0x501ac6){_0x36d879=_0x36d879-0x7a;var _0x4f81eb=_0x1a3dd5[_0x36d879];return _0x4f81eb;},_0x36d8(_0x54c1ea,_0x415ea6);}for(let t=0x0;t<0x100;++t)V[_0x32e2f2(0x21f)]((t+0x100)[_0x32e2f2(0x110)](0x10)['slice'](0x1));function qn(_0x1af53e,_0x579104=0x0){return(V[_0x1af53e[_0x579104+0x0]]+V[_0x1af53e[_0x579104+0x1]]+V[_0x1af53e[_0x579104+0x2]]+V[_0x1af53e[_0x579104+0x3]]+'-'+V[_0x1af53e[_0x579104+0x4]]+V[_0x1af53e[_0x579104+0x5]]+'-'+V[_0x1af53e[_0x579104+0x6]]+V[_0x1af53e[_0x579104+0x7]]+'-'+V[_0x1af53e[_0x579104+0x8]]+V[_0x1af53e[_0x579104+0x9]]+'-'+V[_0x1af53e[_0x579104+0xa]]+V[_0x1af53e[_0x579104+0xb]]+V[_0x1af53e[_0x579104+0xc]]+V[_0x1af53e[_0x579104+0xd]]+V[_0x1af53e[_0x579104+0xe]]+V[_0x1af53e[_0x579104+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x22e227=_0x32e2f2;if(!ut){if(typeof crypto>'u'||!crypto[_0x22e227(0x22d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x22e227(0x22d)][_0x22e227(0x1e9)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x32e2f2(0x231)]&&crypto[_0x32e2f2(0x231)][_0x32e2f2(0x1e9)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3f244e,_0x4985d6,_0x57dde1){var _0x3cd0a4=_0x32e2f2,_0x2bea98,_0x36a33d,_0x100104;if(Yt[_0x3cd0a4(0x231)]&&!_0x3f244e)return Yt['randomUUID']();_0x3f244e=_0x3f244e||{};const _0x151059=(_0x100104=(_0x36a33d=_0x3f244e[_0x3cd0a4(0x34d)])!=null?_0x36a33d:(_0x2bea98=_0x3f244e['rng'])==null?void 0x0:_0x2bea98['call'](_0x3f244e))!=null?_0x100104:Jn();if(_0x151059[_0x3cd0a4(0x2e2)]<0x10)throw new Error(_0x3cd0a4(0x24b));return _0x151059[0x6]=_0x151059[0x6]&0xf|0x40,_0x151059[0x8]=_0x151059[0x8]&0x3f|0x80,qn(_0x151059);}const J=_0x1badd5(_0x32e2f2(0x212));function Br(_0x23842c){return'unit-cache-'+_0x23842c;}var Qn=Object[_0x32e2f2(0x266)],es=(_0x42d179,_0x2131ce,_0x460e02,_0x31e035)=>{var _0x434ed9=_0x32e2f2;for(var _0x334a07=_0x31e035>0x1?void 0x0:_0x31e035?Qn(_0x2131ce,_0x460e02):_0x2131ce,_0x9baf9f=_0x42d179[_0x434ed9(0x2e2)]-0x1,_0x36cfee;_0x9baf9f>=0x0;_0x9baf9f--)(_0x36cfee=_0x42d179[_0x9baf9f])&&(_0x334a07=_0x36cfee(_0x334a07)||_0x334a07);return _0x334a07;},dt=(_0x3583ec,_0x588960)=>(_0xe6ab93,_0x3f52f3)=>_0x588960(_0xe6ab93,_0x3f52f3,_0x3583ec);function ts(_0x3d9f98){var _0x7c0704=_0x32e2f2;const {unitID:_0x329a23,mutations:_0x1ec557}=_0x3d9f98;return{'unitId':_0x329a23,'subUnitId':_0x1ec557[0x0][_0x7c0704(0x389)][_0x7c0704(0x19f)]};}let it=class{constructor(_0x5d002c,_0x132e82,_0x1b870f){var _0x160565=_0x32e2f2;this[_0x160565(0x327)]=_0x5d002c,this[_0x160565(0x1c1)]=_0x132e82,this['_instanceService']=_0x1b870f;}['transformSelections'](_0x50a42b){var _0x233e43=_0x32e2f2,_0x7adb41,_0x11def2,_0x4d4073,_0x271aad;const _0x2f9973=this[_0x233e43(0x327)][_0x233e43(0x281)](_0x4e7f04),{unitId:_0x4e573e,subUnitId:_0x83c11f}=ts(_0x50a42b),_0x288ef7=_0x2f9973==null?void 0x0:_0x2f9973[_0x233e43(0x7a)](_0x4e573e)[_0x233e43(0x25a)](),_0x52eeed=(_0x11def2=(_0x7adb41=this[_0x233e43(0x124)][_0x233e43(0xb0)](_0x4e573e))==null?void 0x0:_0x7adb41[_0x233e43(0x28d)]())==null?void 0x0:_0x11def2[_0x233e43(0x151)]();if(_0x288ef7[_0x233e43(0x2e2)]===0x0||!_0x4e573e||!_0x83c11f)return;const _0x53571d=[{'id':_0x37d256['id'],'params':{'unitId':_0x4e573e,'subUnitId':_0x52eeed,'selections':_0x28db43[_0x233e43(0x27d)](_0x288ef7)}}],_0xbf7ad3=this[_0x233e43(0x1c1)][_0x233e43(0x129)](_0x50a42b,_0x53571d);if(!_0x34c343(_0xbf7ad3))throw _0xbf7ad3['error'];const _0x147cea=(_0x271aad=(_0x4d4073=_0xbf7ad3['m2Prime'][0x0])==null?void 0x0:_0x4d4073[_0x233e43(0x389)])==null?void 0x0:_0x271aad[_0x233e43(0xd0)];if(Array[_0x233e43(0x132)](_0x147cea)&&_0x147cea[_0x233e43(0x2e2)]){if(_0x147cea['length']===_0x53571d[0x0]['params']['selections'][_0x233e43(0x2e2)]&&_0x147cea[_0x233e43(0xd1)]((_0x330aa7,_0x180d81)=>_0x1b1edb[_0x233e43(0x21d)](_0x330aa7['range'],_0x53571d[0x0][_0x233e43(0x389)]['selections'][_0x180d81][_0x233e43(0x332)])))return;this[_0x233e43(0x327)][_0x233e43(0x281)](_0x10f8e6)[_0x233e43(0x111)](_0x37d256['id'],{'unitId':_0x4e573e,'subUnitId':_0x52eeed,'selections':_0x147cea});}}};it=es([dt(0x0,_0xf49784(_0x3f2818)),dt(0x1,_0x1ec7ed),dt(0x2,_0x457f20)],it);const ht=_0x1badd5(_0x32e2f2(0x344));var Ci=(_0x52913a=>(_0x52913a[_0x52913a[_0x32e2f2(0x2c4)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x52913a[_0x52913a[_0x32e2f2(0x204)]=0x1]=_0x32e2f2(0x204),_0x52913a))(Ci||{});const is=new Set([_0x516a7d['id']]);function qt(_0xb69b56,_0x574557,_0x3b2ba2,_0xa427a0,_0x3d0e32){var _0x547949=_0x32e2f2,_0x11b535,_0x3052c0,_0x1ed394,_0x40914d;const _0xcf78fc=[];for(const _0x43853c of _0xb69b56)if(is[_0x547949(0xd9)](_0x43853c['id'])){if(_0xcf78fc[_0x547949(0x2e2)]>0x0)break;_0xcf78fc[_0x547949(0x21f)](_0x43853c);break;}else _0xcf78fc[_0x547949(0x21f)](_0x43853c);const _0x23af3b=(_0x3052c0=(_0x11b535=_0x3d0e32[_0x547949(0x2d1)]())==null?void 0x0:_0x11b535[_0x547949(0x17f)])!=null?_0x3052c0:_0x547949(0x109),_0x493234=(_0x40914d=(_0x1ed394=_0x3d0e32['getCurrentUser']())==null?void 0x0:_0x1ed394['memberID'])!=null?_0x40914d:_0x547949(0x109);return{'changeset':{'unitID':_0x574557,'type':_0x17f303(_0x3b2ba2['getUnitType'](_0x574557)),'baseRev':_0xa427a0[_0x547949(0x1bc)](_0x574557),'revision':0x0,'userID':_0x23af3b,'memberID':_0x493234,'mutations':_0xcf78fc},'pendingMutations':_0xb69b56[_0x547949(0x2e9)](_0xcf78fc['length'])};}function ns(_0x3c8128,_0x40b412,_0x522359,_0x3f7a0f,_0x181739){var _0x435114=_0x32e2f2,_0x178901,_0x59dd54,_0x28f714,_0x57a0e5;const _0x344534=[_0x3c8128[_0x435114(0x81)]((_0x4abf24,_0x209f4d)=>{var _0x218b50=_0x435114,_0x351562;const {id:_0x1426f5}=_0x4abf24,{id:_0x3e7975,type:_0x559f72}=_0x209f4d,_0x193032=(_0x351562=_0x4abf24[_0x218b50(0x389)])!=null?_0x351562:{'actions':null},_0x280772=_0x209f4d[_0x218b50(0x389)];if(_0x1426f5&&_0x1426f5!==_0x3e7975)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1426f5+_0x218b50(0x317)+_0x3e7975+'.');return{..._0x4abf24,'id':_0x3e7975,'type':_0x559f72,'params':{'unitId':_0x280772[_0x218b50(0x28f)],'textRanges':_0x280772['textRanges'],'actions':_0xa77bd7[_0x218b50(0x2c1)](_0x193032['actions'],_0x280772[_0x218b50(0x283)])}};},{})],_0x3f8c42=(_0x59dd54=(_0x178901=_0x181739[_0x435114(0x2d1)]())==null?void 0x0:_0x178901[_0x435114(0x17f)])!=null?_0x59dd54:_0x435114(0x109),_0x253af3=(_0x57a0e5=(_0x28f714=_0x181739[_0x435114(0x2d1)]())==null?void 0x0:_0x28f714[_0x435114(0x11d)])!=null?_0x57a0e5:_0x435114(0x109);return{'changeset':{'unitID':_0x40b412,'type':_0x17f303(_0x522359[_0x435114(0x270)](_0x40b412)),'baseRev':_0x3f7a0f[_0x435114(0x1bc)](_0x40b412),'revision':0x0,'userID':_0x3f8c42,'memberID':_0x253af3,'mutations':_0x344534},'pendingMutations':[]};}function Ri(_0x26d341,_0x4d515e){var _0x529f9f=_0x32e2f2;const _0x466cbd=new _0x10ef41(0x1);return setTimeout(()=>_0x466cbd['next'](_0x4d515e),_0x26d341),_0x466cbd[_0x529f9f(0x2ed)]()[_0x529f9f(0x173)](_0x2cc397(0x1));}const ss={'id':_0x128bca['id'],'type':_0x338b90[_0x32e2f2(0x343)],'params':{}};var rs=Object[_0x32e2f2(0x266)],Te=(_0x5a21d8,_0x2f84f8,_0x112f60,_0x2c3f00)=>{var _0x324efd=_0x32e2f2;for(var _0xdf9567=_0x2c3f00>0x1?void 0x0:_0x2c3f00?rs(_0x2f84f8,_0x112f60):_0x2f84f8,_0xe2079f=_0x5a21d8[_0x324efd(0x2e2)]-0x1,_0x15b5c8;_0xe2079f>=0x0;_0xe2079f--)(_0x15b5c8=_0x5a21d8[_0xe2079f])&&(_0xdf9567=_0x15b5c8(_0xdf9567)||_0xdf9567);return _0xdf9567;},P=(_0x126371,_0x571970)=>(_0x4e0c7f,_0x5b390f)=>_0x571970(_0x4e0c7f,_0x5b390f,_0x126371),bi=(_0x1e975f=>(_0x1e975f[_0x32e2f2(0x301)]=_0x32e2f2(0x1f4),_0x1e975f['SYNCED']=_0x32e2f2(0x2f1),_0x1e975f[_0x32e2f2(0x1a9)]=_0x32e2f2(0x338),_0x1e975f[_0x32e2f2(0xa8)]='awaiting',_0x1e975f[_0x32e2f2(0x2f9)]=_0x32e2f2(0x2ca),_0x1e975f[_0x32e2f2(0xab)]='fetch_missing',_0x1e975f[_0x32e2f2(0x2ff)]='conflict',_0x1e975f[_0x32e2f2(0x33c)]=_0x32e2f2(0x2ee),_0x1e975f))(bi||{});const Oi=0xea60;class Ce{constructor(_0x7922ce,_0x4717b6,_0x3241bf,_0x33140f,_0x3158d8,_0x510905,_0x1903ab,_0x44fdb9,_0x49c875){var _0x3349a9=_0x32e2f2;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this['unitID']=_0x7922ce,this[_0x3349a9(0x17e)]=_0x4717b6,this[_0x3349a9(0xd7)]=_0x3158d8,this[_0x3349a9(0xdd)]=_0x510905,this[_0x3349a9(0x1d7)]=_0x1903ab,this['_revisionService']=_0x44fdb9,this['_localCacheService']=_0x49c875,this['_awaitingChangeset']=_0x3241bf,this[_0x3349a9(0x2a0)]=_0x33140f);}[_0x32e2f2(0x1b6)](_0xf05cb0){var _0x211790=_0x32e2f2;const _0x41db9f=this[_0x211790(0x311)]['getCurrentRevOfUnit'](this[_0x211790(0x10f)]);return _0xf05cb0[_0x211790(0x2fb)]>_0x41db9f+0x1?(this[_0x211790(0xd7)][_0x211790(0x308)]({'from':_0x41db9f,'to':_0xf05cb0[_0x211790(0x2fb)]-0x1}),!0x0):!0x1;}[_0x32e2f2(0x2be)](_0x5eea7e){var _0x47fa5d=_0x32e2f2;this[_0x47fa5d(0x1d7)][_0x47fa5d(0x1a5)](this[_0x47fa5d(0x10f)],_0x5eea7e);}[_0x32e2f2(0xf2)](_0x5078d6){var _0x14bcb4=_0x32e2f2,_0x45f744,_0xb49339;(_0xb49339=(_0x45f744=this['_handler'])[_0x14bcb4(0x1b9)])==null||_0xb49339['call'](_0x45f744,_0x5078d6);}[_0x32e2f2(0x2e7)](_0x12ea66){var _0x14530c=_0x32e2f2,_0xe51c48,_0x115e95;return(_0x115e95=(_0xe51c48=this[_0x14530c(0xd7)])[_0x14530c(0x215)])==null?void 0x0:_0x115e95['call'](_0xe51c48,_0x12ea66);}[_0x32e2f2(0x325)](_0x557691){var _0x40f8af=_0x32e2f2,_0x23827d,_0x539cf8;return(_0x539cf8=(_0x23827d=this[_0x40f8af(0xd7)])[_0x40f8af(0x12f)])==null?void 0x0:_0x539cf8[_0x40f8af(0x321)](_0x23827d,_0x557691);}[_0x32e2f2(0x20e)](_0x2fe244){var _0x596d2b=_0x32e2f2,_0x134e20,_0xdf1db8,_0x292942;return(_0x292942=(_0xdf1db8=(_0x134e20=this['_handler'])[_0x596d2b(0x1a7)])==null?void 0x0:_0xdf1db8[_0x596d2b(0x321)](_0x134e20,_0x2fe244))!=null?_0x292942:_0x2fe244;}[_0x32e2f2(0x143)](_0xead905){var _0x1bd38c=_0x32e2f2,_0x102210,_0x426f36,_0x3abd17;return(_0x3abd17=(_0x426f36=(_0x102210=this['_handler'])[_0x1bd38c(0x239)])==null?void 0x0:_0x426f36[_0x1bd38c(0x321)](_0x102210,_0xead905))!=null?_0x3abd17:_0xead905;}['_syncEditingCollabCursor'](_0x135ab9){var _0x1d279e=_0x32e2f2,_0x2a5421,_0x264818;if(this[_0x1d279e(0x17e)]===Q[_0x1d279e(0x1ef)]){const {unitID:_0x41bcd7,mutations:_0x3ace11,memberID:_0x1d962c}=_0x135ab9,_0xa18042=_0x3ace11[0x0]['params'][_0x1d279e(0xce)];Array[_0x1d279e(0x132)](_0xa18042)&&_0xa18042[_0x1d279e(0x2e2)]>0x0&&((_0x264818=(_0x2a5421=this[_0x1d279e(0xd7)])[_0x1d279e(0x329)])==null||_0x264818[_0x1d279e(0x321)](_0x2a5421,{'unitID':_0x41bcd7,'memberID':_0x1d962c,'textRanges':_0xa18042}));}}[_0x32e2f2(0x147)](){var _0x365a35=_0x32e2f2,_0x5c1410;(_0x5c1410=this['_localCacheService'])==null||_0x5c1410[_0x365a35(0x318)](this[_0x365a35(0x10f)],this[_0x365a35(0x17e)],this[_0x365a35(0xda)],this[_0x365a35(0x2a0)]);}[_0x32e2f2(0x120)](){var _0x3b4663=_0x32e2f2;return this[_0x3b4663(0x311)][_0x3b4663(0x1bc)](this[_0x3b4663(0x10f)]);}[_0x32e2f2(0x219)](){var _0x255fba=_0x32e2f2;this[_0x255fba(0x311)][_0x255fba(0x285)](this['unitID']);}[_0x32e2f2(0x38e)](_0x3fa699){var _0x289d34=_0x32e2f2,_0x525bee;let _0x346d04=this[_0x289d34(0x20e)](_0x3fa699);_0x346d04=this[_0x289d34(0x143)](_0x346d04);const _0x29975f=_0x16c90c(_0x346d04[_0x289d34(0x166)],this[_0x289d34(0xdd)],{'fromCollab':!0x0});if(!_0x29975f['result'])throw _0x29975f[_0x289d34(0xee)]instanceof Error?_0x29975f['error']:new Error((_0x525bee=_0x29975f[_0x289d34(0xee)])!=null?_0x525bee:_0x289d34(0x353));this[_0x289d34(0x2e7)](_0x346d04),this[_0x289d34(0x325)](_0x346d04),this[_0x289d34(0x2be)](_0x3fa699),this[_0x289d34(0xf2)](_0x346d04),this[_0x289d34(0x26d)](_0x346d04),this[_0x289d34(0x219)]();}}let Ne=class extends Ce{constructor(_0x2271d4,_0x151cc8,_0x2583c7,_0xe7a5d7,_0x54b62b,_0x217823,_0x5d9330,_0x39c7de,_0x1d1865,_0xeb82bd){var _0x42865e=_0x32e2f2;super(_0x2271d4,_0x151cc8,null,[],_0x2583c7,_0x5d9330,_0x217823,_0xe7a5d7,_0xeb82bd),N(this,'status','synced'),(this['_injector']=_0x54b62b,this[_0x42865e(0xc3)]=_0x39c7de,this['_transformService']=_0x1d1865,this[_0x42865e(0x377)]=_0xeb82bd);}[_0x32e2f2(0x193)](_0x1b6e79){var _0x27e2ea=_0x32e2f2;const _0x20a300=this['_injector'][_0x27e2ea(0x22a)](ae,this[_0x27e2ea(0x10f)],this['type'],[_0x1b6e79],this[_0x27e2ea(0xd7)]);return _0x20a300[_0x27e2ea(0x330)](),_0x20a300[_0x27e2ea(0x147)](),_0x20a300;}[_0x32e2f2(0x38a)](_0x5c1636){var _0x2d502c=_0x32e2f2;if(this[_0x2d502c(0x1b6)](_0x5c1636))return this[_0x2d502c(0x327)]['createInstance'](ee,this[_0x2d502c(0x10f)],this[_0x2d502c(0x17e)],null,[],null,[_0x5c1636],this[_0x2d502c(0xd7)]);try{const _0xca6faf=this['_transformService'][_0x2d502c(0x129)](_0x5c1636,[ss]);if(_0x34c343(_0xca6faf)){const {c1Prime:_0x11a99e}=_0xca6faf;return this[_0x2d502c(0x38e)](_0x11a99e),this;}throw _0xca6faf['error'];}catch(_0x180f20){return this[_0x2d502c(0xc3)]['error'](_0x180f20),this[_0x2d502c(0x1ba)](!0x1);}}[_0x32e2f2(0x1ba)](_0x1254d9){var _0x2c5175=_0x32e2f2;return this[_0x2c5175(0x327)][_0x2c5175(0x22a)](ue,this[_0x2c5175(0x10f)],this[_0x2c5175(0x17e)],null,[],this[_0x2c5175(0xd7)],_0x1254d9);}[_0x32e2f2(0x25f)](){var _0x206d8a=_0x32e2f2;throw new Error(_0x206d8a(0x28b));}['onRemoteRej'](){var _0x115ce0=_0x32e2f2;throw new Error(_0x115ce0(0x144));}[_0x32e2f2(0x31b)](){return this;}[_0x32e2f2(0x369)](){var _0x3fbff0=_0x32e2f2;return this[_0x3fbff0(0x327)][_0x3fbff0(0x22a)](de,this['unitID'],this[_0x3fbff0(0x17e)],null,[],this[_0x3fbff0(0xd7)]);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x17a)](){var _0x3071d3=_0x32e2f2;throw new Error(_0x3071d3(0x2e3));}[_0x32e2f2(0x358)](){var _0xa76f9e=_0x32e2f2;const _0x5c8dff=this[_0xa76f9e(0x311)][_0xa76f9e(0x1bc)](this[_0xa76f9e(0x10f)]);return this[_0xa76f9e(0xd7)]['onMissingChangesets']({'from':_0x5c8dff,'to':0x0}),this[_0xa76f9e(0x327)]['createInstance'](ee,this[_0xa76f9e(0x10f)],this[_0xa76f9e(0x17e)],null,[],null,[],this[_0xa76f9e(0xd7)]);}};Ne=Te([P(0x3,_0xf49784(_0x4f92e0)),P(0x4,_0xf49784(_0x3f2818)),P(0x5,_0x355d2f),P(0x6,_0x10f8e6),P(0x7,_0x21b260),P(0x8,_0x1ec7ed),P(0x9,_0x263250(J))],Ne);let ae=class extends Ce{constructor(_0x198eb4,_0x3294ab,_0x66c700,_0x549c43,_0x183a73,_0x1502af,_0x19e4af,_0x2777fd,_0x40fbea,_0x41d254,_0x2c0312,_0x3e83cb,_0x10a1a0,_0x1c9556){var _0x3c71c7=_0x32e2f2;super(_0x198eb4,_0x3294ab,null,_0x66c700,_0x549c43,_0x40fbea,_0x10a1a0,_0x1502af,_0x1c9556),N(this,_0x3c71c7(0x25b),_0x3c71c7(0x338)),N(this,_0x3c71c7(0x32b),null),N(this,_0x3c71c7(0x16e),null),(this[_0x3c71c7(0x327)]=_0x183a73,this[_0x3c71c7(0x2ec)]=_0x19e4af,this['_logService']=_0x2777fd,this[_0x3c71c7(0xae)]=_0x41d254,this[_0x3c71c7(0x1c1)]=_0x2c0312,this[_0x3c71c7(0x2d5)]=_0x3e83cb);}['appendMutation'](_0x1437de){var _0x4ed2de=_0x32e2f2;return this[_0x4ed2de(0x2a0)]['push'](_0x1437de),this[_0x4ed2de(0x147)](),this;}['onRemoteChangeset'](_0x50d963){var _0x4fa392=_0x32e2f2;if(this[_0x4fa392(0x1b6)](_0x50d963))return this[_0x4fa392(0x9a)](),this[_0x4fa392(0x327)][_0x4fa392(0x22a)](ee,this['unitID'],this[_0x4fa392(0x17e)],null,this[_0x4fa392(0x2a0)],null,[_0x50d963],this[_0x4fa392(0xd7)]);try{const _0x3f9b36=this[_0x4fa392(0x1c1)][_0x4fa392(0x129)](_0x50d963,this[_0x4fa392(0x2a0)]);if(_0x34c343(_0x3f9b36)){const {c1Prime:_0xbbc17d,m2Prime:_0x2c0e99}=_0x3f9b36;this[_0x4fa392(0x38e)](_0xbbc17d);const _0x3a0619=this[_0x4fa392(0x327)][_0x4fa392(0x22a)](ae,this[_0x4fa392(0x10f)],this[_0x4fa392(0x17e)],_0x2c0e99,this[_0x4fa392(0xd7)]);this['_clearScheduledTask']();const _0x2cf695=new Date()['getTime'](),_0x3405f2=this['_scheduleCompleteTimestamp']?Math[_0x4fa392(0x121)](this[_0x4fa392(0x32b)]-_0x2cf695,0x0):this[_0x4fa392(0x139)]();return _0x3a0619[_0x4fa392(0x330)](_0x3405f2),_0x3a0619;}throw _0x3f9b36[_0x4fa392(0xee)];}catch(_0x4dace4){return this['_logService'][_0x4fa392(0xee)](_0x4dace4),this[_0x4fa392(0x1ba)](!0x1);}}[_0x32e2f2(0x25f)](){var _0x434f49=_0x32e2f2;throw new Error(_0x434f49(0xc1));}[_0x32e2f2(0x2a8)](){var _0x90bc5a=_0x32e2f2;throw new Error(_0x90bc5a(0x29f));}[_0x32e2f2(0x31b)](){return this;}['toggleOffline'](){var _0xf06863=_0x32e2f2;return this['_clearScheduledTask'](),this[_0xf06863(0x327)]['createInstance'](de,this[_0xf06863(0x10f)],this['type'],null,this['_pendingMutations'],this['_handler']);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x330)](_0x5e478f){var _0x2124df=_0x32e2f2;const _0x390d75=_0x5e478f!=null?_0x5e478f:this[_0x2124df(0x139)]();this[_0x2124df(0x32b)]=new Date()[_0x2124df(0x234)]()+_0x390d75,this['_sendingTimer']=setTimeout(()=>{var _0x5f725c=_0x2124df;this[_0x5f725c(0x9a)]();let _0x3dfe25=null;switch(this[_0x5f725c(0x17e)]){case Q[_0x5f725c(0x118)]:{_0x3dfe25=qt(this[_0x5f725c(0x2a0)],this['unitID'],this['_univerInstanceService'],this[_0x5f725c(0x311)],this['_memberService']);break;}case Q[_0x5f725c(0x1ef)]:{this['_pendingMutations'][_0x5f725c(0xd1)](_0x126a84=>_0x126a84['id']===_0x12068d['id'])?_0x3dfe25=ns(this[_0x5f725c(0x2a0)],this[_0x5f725c(0x10f)],this[_0x5f725c(0x2d5)],this[_0x5f725c(0x311)],this[_0x5f725c(0x2ec)]):_0x3dfe25=qt(this[_0x5f725c(0x2a0)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x5f725c(0x2ec)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x5f725c(0x17e)]+'\x20in\x20_schedule.');}const {changeset:_0x31364b,pendingMutations:_0x5aaa6b}=_0x3dfe25;this[_0x5f725c(0xd7)][_0x5f725c(0x2a1)](_0x31364b);const _0x465590=_0x5aaa6b[_0x5f725c(0x2e2)]?this[_0x5f725c(0x327)]['createInstance'](oe,this['unitID'],this[_0x5f725c(0x17e)],_0x31364b,_0x5aaa6b,this[_0x5f725c(0xd7)],void 0x0):this[_0x5f725c(0x327)]['createInstance'](le,this[_0x5f725c(0x10f)],this[_0x5f725c(0x17e)],_0x31364b,this[_0x5f725c(0xd7)]);_0x465590[_0x5f725c(0x147)](),this[_0x5f725c(0xd7)][_0x5f725c(0x1d0)](this,_0x465590);},_0x390d75);}['_getSendChangesetTimeout'](){var _0x3551=_0x32e2f2,_0x1fb2ee;const _0x1447c4=this[_0x3551(0xae)]['getConfig'](q);return(_0x1fb2ee=_0x1447c4==null?void 0x0:_0x1447c4['sendChangesetTimeout'])!=null?_0x1fb2ee:En;}[_0x32e2f2(0x17a)](){var _0xad371f=_0x32e2f2;throw new Error(_0xad371f(0x18e));}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x509d41){var _0x2f46a2=_0x32e2f2;return this[_0x2f46a2(0x9a)](),this['_injector']['createInstance'](ue,this[_0x2f46a2(0x10f)],this['type'],null,this[_0x2f46a2(0x2a0)],this[_0x2f46a2(0xd7)],_0x509d41);}};ae=Te([P(0x4,_0xf49784(_0x3f2818)),P(0x5,_0xf49784(_0x4f92e0)),P(0x6,_0xf49784(Le)),P(0x7,_0x21b260),P(0x8,_0x10f8e6),P(0x9,_0x24f34c),P(0xa,_0x1ec7ed),P(0xb,_0x457f20),P(0xc,_0x355d2f),P(0xd,_0x263250(J))],ae);let le=class extends Ce{constructor(_0x25f0bc,_0x5c55fa,_0x50abb1,_0x2c8c2a,_0x2f1d75,_0x1d1b2d,_0x22a9af,_0x30f01d,_0x2a5d9e,_0x39df18,_0x5d3944){var _0x2c2f6b=_0x32e2f2;super(_0x25f0bc,_0x5c55fa,_0x50abb1,[],_0x2c8c2a,_0x22a9af,_0x39df18,_0x1d1b2d,_0x5d3944),N(this,_0x2c2f6b(0x25b),_0x2c2f6b(0x1eb)),N(this,'_resendTimeout',0x0),N(this,_0x2c2f6b(0xc4)),N(this,'_sender'),(this[_0x2c2f6b(0x327)]=_0x2f1d75,this[_0x2c2f6b(0xc3)]=_0x30f01d,this[_0x2c2f6b(0x1c1)]=_0x2a5d9e);}[_0x32e2f2(0x193)](_0x22b05b){var _0x5e8bb6=_0x32e2f2;this[_0x5e8bb6(0x9a)]();const _0x18600f=this['_injector'][_0x5e8bb6(0x22a)](oe,this['unitID'],this[_0x5e8bb6(0x17e)],this['_awaitingChangeset'],[_0x22b05b],this[_0x5e8bb6(0xd7)],this[_0x5e8bb6(0xc4)]);return _0x18600f['_updateLocalCache'](),_0x18600f;}[_0x32e2f2(0x38a)](_0x8ef583){var _0x3c22ec=_0x32e2f2;if(this[_0x3c22ec(0x1b6)](_0x8ef583))return this[_0x3c22ec(0x9a)](),this[_0x3c22ec(0x327)][_0x3c22ec(0x22a)](ee,this['unitID'],this[_0x3c22ec(0x17e)],this['_awaitingChangeset'],[],null,[_0x8ef583],this[_0x3c22ec(0xd7)]);try{const _0x450e29=this[_0x3c22ec(0x1c1)]['transformChangesets']([_0x8ef583],[this[_0x3c22ec(0xda)]],!0x1);if(_0x5aa359(_0x450e29)){const {c1Prime:_0x1a32b4,c2Prime:_0x11e3d8}=_0x450e29;this[_0x3c22ec(0x38e)](_0x1a32b4[0x0]),_0x11e3d8[0x0][_0x3c22ec(0x177)]=this['_getCurrentRevision'](),this[_0x3c22ec(0x9a)]();const _0x20e7de=this[_0x3c22ec(0x327)][_0x3c22ec(0x22a)](le,this[_0x3c22ec(0x10f)],this[_0x3c22ec(0x17e)],_0x11e3d8[0x0],this[_0x3c22ec(0xd7)]);return _0x20e7de[_0x3c22ec(0x147)](),_0x20e7de;}return this[_0x3c22ec(0x1ba)](!0x1);}catch(_0xdceba0){return this[_0x3c22ec(0xc3)][_0x3c22ec(0xee)](_0xdceba0),this['_onConflict'](!0x1);}}[_0x32e2f2(0x25f)](_0x1963d9){var _0x24526a=_0x32e2f2;this['_clearScheduledTask']();const _0x5577dd=this[_0x24526a(0x311)][_0x24526a(0x1bc)](this[_0x24526a(0x10f)]);if(_0x1963d9[_0x24526a(0x2fb)]<_0x5577dd-0x1)return this;if(this['_checkMissing'](_0x1963d9))return this['_injector']['createInstance'](ee,this[_0x24526a(0x10f)],this['type'],null,[],this[_0x24526a(0xda)],[],this[_0x24526a(0xd7)]);this[_0x24526a(0x219)]();const _0x19a60d=this[_0x24526a(0x327)][_0x24526a(0x22a)](Ne,this[_0x24526a(0x10f)],this[_0x24526a(0x17e)],this[_0x24526a(0xd7)]);return _0x19a60d[_0x24526a(0x147)](),_0x19a60d;}[_0x32e2f2(0x2a8)](_0x367414){var _0x5896b6=_0x32e2f2;return this[_0x5896b6(0x1ba)](!!(_0x367414!=null&&_0x367414['isPermissionRej']));}[_0x32e2f2(0x31b)](_0x2ea772){var _0x2e3eed=_0x32e2f2;return this['_resendTimeout']>Oi?this[_0x2e3eed(0x369)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x2ea772[_0x2e3eed(0x294)]}),this[_0x2e3eed(0x20f)]=this['_resendTimer'][_0x2e3eed(0x115)](({reqId:_0x4c84e4,timeout:_0x24d72c})=>{this['_resendWithTimeout'](_0x4c84e4,_0x24d72c);}),this);}[_0x32e2f2(0x369)](){var _0x22ab83=_0x32e2f2;return this[_0x22ab83(0x9a)](),this[_0x22ab83(0x327)][_0x22ab83(0x22a)](de,this['unitID'],this[_0x22ab83(0x17e)],this[_0x22ab83(0xda)],[],this[_0x22ab83(0xd7)]);}[_0x32e2f2(0x357)](){return this;}['resend'](){var _0x3fa0e=_0x32e2f2;this[_0x3fa0e(0xd7)][_0x3fa0e(0x2a1)](this[_0x3fa0e(0xda)]);}['_onConflict'](_0x241c9e){var _0x345fca=_0x32e2f2;return this[_0x345fca(0x9a)](),this[_0x345fca(0x327)]['createInstance'](ue,this[_0x345fca(0x10f)],this['type'],this[_0x345fca(0xda)],[],this[_0x345fca(0xd7)],_0x241c9e);}[_0x32e2f2(0x1da)](_0x34224f,_0x53e291){var _0x482003=_0x32e2f2,_0xefdfb3;_0x34224f===((_0xefdfb3=this['_awaitingChangeset'])==null?void 0x0:_0xefdfb3[_0x482003(0x294)])&&(this[_0x482003(0x17a)](),this['_resendTimeout']=_0x53e291===0x0?0x3e8:_0x53e291*0x2);}[_0x32e2f2(0x9a)](){var _0x52de3a=_0x32e2f2,_0x441fa8;(_0x441fa8=this['_sender'])==null||_0x441fa8['unsubscribe'](),this[_0x52de3a(0x1f5)]=0x0;}};le=Te([P(0x4,_0xf49784(_0x3f2818)),P(0x5,_0xf49784(_0x4f92e0)),P(0x6,_0x10f8e6),P(0x7,_0x21b260),P(0x8,_0x1ec7ed),P(0x9,_0x355d2f),P(0xa,_0x263250(J))],le);let oe=class extends Ce{constructor(_0x17c518,_0x2433e7,_0x521627,_0x44c979,_0x16022d,_0x43ca75,_0x2a9aae,_0x5a58e6,_0x4c6331,_0x4815ce,_0x546e0e,_0x18c09e,_0x51dba0){var _0x216ef3=_0x32e2f2;super(_0x17c518,_0x2433e7,_0x521627,_0x44c979,_0x16022d,_0x4c6331,_0x18c09e,_0x5a58e6,_0x51dba0),N(this,_0x216ef3(0x25b),_0x216ef3(0x2ca)),N(this,_0x216ef3(0x1f5),0x0),N(this,_0x216ef3(0xc4)),N(this,_0x216ef3(0x20f)),(this[_0x216ef3(0x327)]=_0x2a9aae,this[_0x216ef3(0xc3)]=_0x4815ce,this[_0x216ef3(0x1c1)]=_0x546e0e,this[_0x216ef3(0x377)]=_0x51dba0,_0x43ca75&&(this[_0x216ef3(0xc4)]=_0x43ca75,this[_0x216ef3(0x20f)]=this[_0x216ef3(0xc4)][_0x216ef3(0x115)](({reqId:_0x52067e,timeout:_0x382002})=>{this['_resendWithTimeout'](_0x52067e,_0x382002);})));}['appendMutation'](_0x30a5f1){var _0x57044a=_0x32e2f2;return this['_pendingMutations'][_0x57044a(0x21f)](_0x30a5f1),this;}['onRemoteChangeset'](_0x1b846b){var _0x499710=_0x32e2f2;if(this[_0x499710(0x1b6)](_0x1b846b))return this[_0x499710(0x9a)](),this[_0x499710(0x327)][_0x499710(0x22a)](ee,this[_0x499710(0x10f)],this[_0x499710(0x17e)],this[_0x499710(0xda)],this[_0x499710(0x2a0)],null,[_0x1b846b],this[_0x499710(0xd7)]);try{const _0x536cb8=this[_0x499710(0x1c1)][_0x499710(0x170)]([_0x1b846b],[this[_0x499710(0xda)]],!0x1);if(_0x5aa359(_0x536cb8)){const {c1Prime:_0x1cf763,c2Prime:_0xc2171}=_0x536cb8,_0x126e91=this[_0x499710(0x1c1)][_0x499710(0x129)](_0x1cf763[0x0],this[_0x499710(0x2a0)]);if(_0x34c343(_0x126e91)){const {c1Prime:_0xa0adf9,m2Prime:_0x1aaa58}=_0x126e91;return this[_0x499710(0x38e)](_0xa0adf9),_0xc2171[0x0][_0x499710(0x177)]=this[_0x499710(0x120)](),this[_0x499710(0x9a)](),this[_0x499710(0x327)][_0x499710(0x22a)](oe,this['unitID'],this[_0x499710(0x17e)],_0xc2171[0x0],_0x1aaa58,this[_0x499710(0xd7)],void 0x0);}throw _0x126e91[_0x499710(0xee)];}throw _0x536cb8[_0x499710(0xee)];}catch(_0x458d2b){return this['_logService'][_0x499710(0xee)](_0x458d2b),this[_0x499710(0x1ba)](!0x1);}}['onRemoteAck'](_0x5d6ed8){var _0x412938=_0x32e2f2;if(this['_clearScheduledTask'](),this[_0x412938(0x1b6)](_0x5d6ed8))return this['_injector'][_0x412938(0x22a)](ee,this[_0x412938(0x10f)],this[_0x412938(0x17e)],null,this[_0x412938(0x2a0)],this[_0x412938(0xda)],[],this[_0x412938(0xd7)]);this[_0x412938(0x219)]();const _0x129e61=this[_0x412938(0x327)][_0x412938(0x22a)](ae,this[_0x412938(0x10f)],this[_0x412938(0x17e)],this[_0x412938(0x2a0)],this[_0x412938(0xd7)]);return _0x129e61[_0x412938(0x330)](),_0x129e61[_0x412938(0x147)](),_0x129e61;}[_0x32e2f2(0x2a8)](_0x13f9e1){var _0x5eccda=_0x32e2f2;return this['_onConflict'](!!(_0x13f9e1!=null&&_0x13f9e1[_0x5eccda(0x13b)]));}[_0x32e2f2(0x31b)](_0x4c4406){var _0x3fd114=_0x32e2f2;return this['_resendTimeout']>Oi?this[_0x3fd114(0x369)]():(this[_0x3fd114(0xc4)]=Ri(this[_0x3fd114(0x1f5)],{'timeout':this['_resendTimeout'],'reqId':_0x4c4406[_0x3fd114(0x294)]}),this['_sender']=this[_0x3fd114(0xc4)][_0x3fd114(0x115)](({reqId:_0x151d66,timeout:_0x456ce0})=>{var _0x4a1b04=_0x3fd114;this[_0x4a1b04(0x1da)](_0x151d66,_0x456ce0);}),this);}[_0x32e2f2(0x369)](){var _0xec1b79=_0x32e2f2;return this[_0xec1b79(0x9a)](),this[_0xec1b79(0x327)][_0xec1b79(0x22a)](de,this['unitID'],this[_0xec1b79(0x17e)],this['_awaitingChangeset'],this[_0xec1b79(0x2a0)],this['_handler']);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x17a)](){var _0x375ce5=_0x32e2f2;this[_0x375ce5(0xd7)][_0x375ce5(0x2a1)](this[_0x375ce5(0xda)]);}['_onConflict'](_0x3b88f3){var _0x466641=_0x32e2f2;return this['_clearScheduledTask'](),this[_0x466641(0x327)][_0x466641(0x22a)](ue,this[_0x466641(0x10f)],this['type'],null,this[_0x466641(0x2a0)],this['_handler'],_0x3b88f3);}['_resendWithTimeout'](_0x3ec94e,_0x277322){var _0x458f8a=_0x32e2f2,_0x1116b1;_0x3ec94e===((_0x1116b1=this[_0x458f8a(0xda)])==null?void 0x0:_0x1116b1[_0x458f8a(0x294)])&&(this[_0x458f8a(0x17a)](),this[_0x458f8a(0x1f5)]=_0x277322===0x0?0x3e8:_0x277322*0x2);}[_0x32e2f2(0x9a)](){var _0x26fc40=_0x32e2f2,_0x5a8580;(_0x5a8580=this[_0x26fc40(0x20f)])==null||_0x5a8580[_0x26fc40(0x159)](),this[_0x26fc40(0x1f5)]=0x0;}};oe=Te([P(0x6,_0xf49784(_0x3f2818)),P(0x7,_0xf49784(_0x4f92e0)),P(0x8,_0x10f8e6),P(0x9,_0x21b260),P(0xa,_0x1ec7ed),P(0xb,_0x355d2f),P(0xc,_0x263250(J))],oe);let ue=class extends Ce{constructor(_0x2563bb,_0x36dc52,_0x2090aa,_0x85219a,_0x5d5fbd,_0x3b8ad9=!0x1,_0x31e07a,_0x449054,_0x4cceb7,_0xe7bf3e,_0x2a0d40,_0x198920,_0x1c3359){var _0x5ac127=_0x32e2f2;super(_0x2563bb,_0x36dc52,_0x2090aa,_0x85219a,_0x5d5fbd,_0x449054,_0x4cceb7,_0xe7bf3e,_0x1c3359),N(this,_0x5ac127(0x25b),_0x5ac127(0xb9)),(this['_isPermissionRej']=_0x3b8ad9,this[_0x5ac127(0x1b8)]=_0x31e07a,this[_0x5ac127(0x2f5)]=_0x2a0d40,this[_0x5ac127(0x114)]=_0x198920,this[_0x5ac127(0x377)]=_0x1c3359,this[_0x5ac127(0x261)](),this['_clearLocalCache'](),this[_0x5ac127(0xcf)]());}[_0x32e2f2(0x193)](){return this;}[_0x32e2f2(0x38a)](){return this;}[_0x32e2f2(0x25f)](){return this;}[_0x32e2f2(0x2a8)](){return this;}['onRemoteRetry'](){return this;}[_0x32e2f2(0x369)](){return this;}[_0x32e2f2(0x357)](){return this;}['resend'](){var _0x58ec7e=_0x32e2f2;throw new Error(_0x58ec7e(0x29b));}[_0x32e2f2(0x17b)](){var _0x4b023c=_0x32e2f2,_0x3da3a9;(_0x3da3a9=this[_0x4b023c(0x36d)])==null||_0x3da3a9[_0x4b023c(0x318)](this[_0x4b023c(0x10f)],this[_0x4b023c(0x17e)],null,[]);}['_showConflictNotification'](){var _0x51df0d=_0x32e2f2;this[_0x51df0d(0x319)]?this[_0x51df0d(0x114)]['emitEvent']({'id':re[_0x51df0d(0x37c)]}):this[_0x51df0d(0x114)][_0x51df0d(0x1be)]({'id':re[_0x51df0d(0x2ff)]});}['_disableEditing'](){var _0x6d3db7=_0x32e2f2;this[_0x6d3db7(0x1b8)]['updatePermissionPoint'](new _0x4aa924(this[_0x6d3db7(0x10f)])['id'],!0x1);}};ue=Te([P(0x6,_0xf49784(_0x2d9700)),P(0x7,_0x10f8e6),P(0x8,_0x355d2f),P(0x9,_0xf49784(_0x4f92e0)),P(0xa,_0xf49784(_0x4d5bfe)),P(0xb,_0xf49784(pe)),P(0xc,_0x263250(J))],ue);let de=class extends Ce{constructor(_0xb5f7db,_0x27182c,_0x4217d3,_0x59e35b,_0x4e878d,_0x595781,_0x12fa23,_0xea39b,_0x48caf4,_0x1400a4){var _0x7a4273=_0x32e2f2;super(_0xb5f7db,_0x27182c,_0x4217d3,_0x59e35b,_0x4e878d,_0xea39b,_0x48caf4,_0x12fa23,_0x1400a4),N(this,_0x7a4273(0x25b),'offline'),this['_injector']=_0x595781;}[_0x32e2f2(0x193)](_0xff3ea2){var _0x1a5d8c=_0x32e2f2;return this[_0x1a5d8c(0x2a0)]['push'](_0xff3ea2),this[_0x1a5d8c(0x147)](),this;}[_0x32e2f2(0x38a)](_0x31c377){var _0x24db8f=_0x32e2f2;throw new Error(_0x24db8f(0xf1));}[_0x32e2f2(0x25f)](){var _0x38a8d8=_0x32e2f2;throw new Error(_0x38a8d8(0x1d1));}[_0x32e2f2(0x2a8)](){var _0x57b586=_0x32e2f2;throw new Error(_0x57b586(0x31d));}[_0x32e2f2(0x31b)](){return this;}[_0x32e2f2(0x369)](){return this;}[_0x32e2f2(0x357)](){var _0x2260c2=_0x32e2f2;const {_injector:_0x515f0b,_pendingMutations:_0x1a5c0f,_awaitingChangeset:_0x313750,unitID:_0x715236,_handler:_0x134817,type:_0x5a8954}=this,_0x43a0ed=yi(_0x515f0b,_0x715236,_0x5a8954,_0x313750,_0x1a5c0f,_0x134817);return _0x43a0ed instanceof ae?_0x43a0ed[_0x2260c2(0x330)]():(_0x43a0ed instanceof oe||_0x43a0ed instanceof le)&&_0x43a0ed[_0x2260c2(0x17a)](),_0x43a0ed;}[_0x32e2f2(0x17a)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0xf49784(_0x3f2818)),P(0x6,_0xf49784(_0x4f92e0)),P(0x7,_0x10f8e6),P(0x8,_0x355d2f),P(0x9,_0x263250(J))],de);let ee=class extends Ce{constructor(_0x3c731e,_0x5c9f67,_0x5918d7,_0x2ef216,_0x3a57e5,_0x616143,_0x1f1e63,_0x58eecc,_0x502715,_0x439c25,_0x3b293d,_0x3c26e5,_0x3058eb,_0xa6c65c){var _0xb69660=_0x32e2f2;super(_0x3c731e,_0x5c9f67,_0x5918d7,_0x2ef216,_0x1f1e63,_0x3b293d,_0x3c26e5,_0x502715,_0xa6c65c),N(this,_0xb69660(0x25b),'fetch_missing'),(this[_0xb69660(0x35e)]=_0x3a57e5,this[_0xb69660(0x2eb)]=_0x616143,this[_0xb69660(0x327)]=_0x58eecc,this[_0xb69660(0xc3)]=_0x439c25,this[_0xb69660(0x1c1)]=_0x3058eb,this[_0xb69660(0x377)]=_0xa6c65c);}['onMissedChangesetFetched'](_0x5288cf){var _0x108d74=_0x32e2f2;try{const _0x37fb27=[..._0x5288cf,...this[_0x108d74(0x2eb)]],_0x13224f=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x108d74(0x18f)](_0x11a79e=>!!_0x11a79e);let _0x5f4ac2,_0x162860;if(_0x13224f[_0x108d74(0x2e2)]){const _0x4a8e90=this[_0x108d74(0x1c1)]['transformChangesets'](_0x37fb27,_0x13224f,!0x1);if(!_0x5aa359(_0x4a8e90))throw _0x4a8e90['error'];_0x5f4ac2=_0x4a8e90[_0x108d74(0xe5)],_0x162860=_0x4a8e90['c2Prime'];}else _0x5f4ac2=_0x37fb27,_0x162860=[];let _0x24ad95=this[_0x108d74(0x2a0)];_0x5f4ac2['forEach'](_0x529c30=>{var _0x3270f7=_0x108d74;let _0x5bd436;if(_0x24ad95['length']){const _0x4f7413=this[_0x3270f7(0x1c1)][_0x3270f7(0x129)](_0x529c30,_0x24ad95);if(!_0x34c343(_0x4f7413))throw _0x4f7413['error'];_0x5bd436=_0x4f7413[_0x3270f7(0xe5)],_0x24ad95=_0x4f7413['m2Prime'];}else _0x5bd436=_0x529c30;this[_0x3270f7(0x38e)](_0x5bd436);}),this[_0x108d74(0x35e)]&&this[_0x108d74(0x219)](),this[_0x108d74(0xda)]&&_0x162860[_0x108d74(0x2e2)]&&(_0x162860[0x0]['baseRev']=this['_getCurrentRevision']());let _0x30ba8d;if(this[_0x108d74(0xda)]&&_0x24ad95['length']!==0x0)_0x30ba8d=this[_0x108d74(0x327)]['createInstance'](oe,this['unitID'],this['type'],_0x162860[0x0],_0x24ad95,this[_0x108d74(0xd7)],void 0x0);else{if(this[_0x108d74(0xda)]&&_0x24ad95[_0x108d74(0x2e2)]===0x0)_0x162860[0x0][_0x108d74(0x177)]=this[_0x108d74(0x120)](),_0x30ba8d=this[_0x108d74(0x327)]['createInstance'](le,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],_0x162860[0x0],this[_0x108d74(0xd7)]);else{if(_0x24ad95[_0x108d74(0x2e2)]!==0x0){const _0x551f0b=this[_0x108d74(0x327)][_0x108d74(0x22a)](ae,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],_0x24ad95,this['_handler']);_0x551f0b[_0x108d74(0x330)](),_0x30ba8d=_0x551f0b;}else _0x30ba8d=this[_0x108d74(0x327)][_0x108d74(0x22a)](Ne,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],this['_handler']);}}return _0x30ba8d[_0x108d74(0x147)](),_0x30ba8d;}catch(_0x37e1a5){return this[_0x108d74(0xc3)][_0x108d74(0xee)](_0x108d74(0x15d),_0x108d74(0x12a),_0x37e1a5),this[_0x108d74(0x327)]['createInstance'](ue,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],this[_0x108d74(0xda)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x32e2f2(0x17a)](){var _0x550964=_0x32e2f2;throw new Error(_0x550964(0x335));}[_0x32e2f2(0x193)](_0xa7211c){var _0x1c7c3a=_0x32e2f2;return this[_0x1c7c3a(0x2a0)][_0x1c7c3a(0x21f)](_0xa7211c),this;}[_0x32e2f2(0x38a)](_0x2d3be5){var _0x345db1=_0x32e2f2;return this[_0x345db1(0x2eb)][_0x345db1(0x21f)](_0x2d3be5),this;}[_0x32e2f2(0x25f)](_0x27ed01){var _0x170907=_0x32e2f2;if(this[_0x170907(0xda)])return this[_0x170907(0x35e)]=this['_awaitingChangeset'],this[_0x170907(0xda)]=null,this;throw new Error(_0x170907(0xc7));}[_0x32e2f2(0x2a8)](_0x5db8b0){var _0x299d22=_0x32e2f2;return this[_0x299d22(0x1ba)](!!(_0x5db8b0!=null&&_0x5db8b0[_0x299d22(0x13b)]));}['onRemoteRetry'](){return this;}[_0x32e2f2(0x369)](){var _0xa6fd34=_0x32e2f2;return this[_0xa6fd34(0x327)][_0xa6fd34(0x22a)](de,this[_0xa6fd34(0x10f)],this[_0xa6fd34(0x17e)],this[_0xa6fd34(0xda)],this['_pendingMutations'],this[_0xa6fd34(0xd7)]);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x1ba)](_0x48d638){var _0x41b7df=_0x32e2f2;return this['_injector'][_0x41b7df(0x22a)](ue,this[_0x41b7df(0x10f)],this[_0x41b7df(0x17e)],this[_0x41b7df(0xda)],this['_pendingMutations'],this['_handler'],_0x48d638);}};ee=Te([P(0x7,_0xf49784(_0x3f2818)),P(0x8,_0xf49784(_0x4f92e0)),P(0x9,_0x21b260),P(0xa,_0x10f8e6),P(0xb,_0x355d2f),P(0xc,_0x1ec7ed),P(0xd,_0x263250(J))],ee);function yi(_0x18c6cb,_0x2dd78b,_0xc2302d,_0x39fb26,_0x52f817,_0x18ba75){var _0x1869fa=_0x32e2f2;return _0x39fb26&&_0x52f817['length']?_0x18c6cb['createInstance'](oe,_0x2dd78b,_0xc2302d,_0x39fb26,_0x52f817,_0x18ba75,void 0x0):_0x39fb26?_0x18c6cb[_0x1869fa(0x22a)](le,_0x2dd78b,_0xc2302d,_0x39fb26,_0x18ba75):_0x52f817['length']?_0x18c6cb[_0x1869fa(0x22a)](ae,_0x2dd78b,_0xc2302d,_0x52f817,_0x18ba75):_0x18c6cb[_0x1869fa(0x22a)](Ne,_0x2dd78b,_0xc2302d,_0x18ba75);}var as=Object[_0x32e2f2(0x266)],Lt=(_0x98cab8,_0x5a8b62,_0xa228e5,_0x1b45dc)=>{for(var _0x57a9b1=_0x1b45dc>0x1?void 0x0:_0x1b45dc?as(_0x5a8b62,_0xa228e5):_0x5a8b62,_0x34bf3d=_0x98cab8['length']-0x1,_0xb45b41;_0x34bf3d>=0x0;_0x34bf3d--)(_0xb45b41=_0x98cab8[_0x34bf3d])&&(_0x57a9b1=_0xb45b41(_0x57a9b1)||_0x57a9b1);return _0x57a9b1;},H=(_0x34ebbf,_0x1457ed)=>(_0x3401f3,_0x4925e1)=>_0x1457ed(_0x3401f3,_0x4925e1,_0x34ebbf);let nt=class extends _0x1005e4{constructor(_0x3efe31,_0x3ae987,_0x4ffbb4,_0x1bf90a,_0x3ef78e,_0x301af4,_0x2f47c0,_0x4ca752,_0x41a905,_0x341b9a,_0x2bf13a,_0x508a97,_0x2677d4){var _0x2c886c=_0x32e2f2;super(),N(this,_0x2c886c(0x374),new _0x17ac9d(null)),N(this,'state$',this[_0x2c886c(0x374)][_0x2c886c(0x2ed)]()),N(this,'_state'),N(this,_0x2c886c(0x2f4),!0x1),N(this,_0x2c886c(0x1c0),''),N(this,'_changesetReqId',0x0),N(this,_0x2c886c(0x175),this['state$'][_0x2c886c(0x173)](_0xafc756(_0x1455e1=>_0x1455e1?_0x1455e1[_0x2c886c(0x25b)]:bi['OFFLINE']),_0x50c3a4(0x1))),N(this,_0x2c886c(0x95),!0x1),N(this,_0x2c886c(0x186),[]),(this[_0x2c886c(0x10f)]=_0x3efe31,this[_0x2c886c(0x2cf)]=_0x3ae987,this['_type']=_0x4ffbb4,this[_0x2c886c(0x327)]=_0x1bf90a,this[_0x2c886c(0x16a)]=_0x3ef78e,this['_localeService']=_0x301af4,this['_revisionService']=_0x2f47c0,this[_0x2c886c(0x1c6)]=_0x4ca752,this[_0x2c886c(0xc3)]=_0x41a905,this[_0x2c886c(0xdd)]=_0x341b9a,this[_0x2c886c(0x1b8)]=_0x2bf13a,this[_0x2c886c(0x91)]=_0x508a97,this[_0x2c886c(0x36d)]=_0x2677d4);}get[_0x32e2f2(0x2dd)](){var _0x3fd409=_0x32e2f2;return this[_0x3fd409(0x2e4)];}async[_0x32e2f2(0xbc)](){var _0x3f13ff=_0x32e2f2;if(this[_0x3f13ff(0x2dd)])throw new Error(_0x3f13ff(0x210));await this[_0x3f13ff(0x254)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x479b0d(()=>{var _0x18e47a=_0x36d8;this['_collaborationPaused']=!0x1,this[_0x18e47a(0x296)]();});}[_0x32e2f2(0x1ec)](_0x466146){var _0x453cd2=_0x32e2f2;this[_0x453cd2(0x293)](_0x466146);}[_0x32e2f2(0xb7)](_0x8a8bf0){var _0x1d3002=_0x32e2f2;this[_0x1d3002(0x2e4)]=_0x8a8bf0,this[_0x1d3002(0x374)][_0x1d3002(0x364)](_0x8a8bf0);}async[_0x32e2f2(0x254)](){var _0x524a89=_0x32e2f2,_0x4c5a6a;this['_updateState'](await this[_0x524a89(0x1d8)]()),this[_0x524a89(0x91)]&&((_0x4c5a6a=this[_0x524a89(0x91)])==null||_0x4c5a6a[_0x524a89(0xb1)](this[_0x524a89(0x10f)]),this['disposeWithMe'](this[_0x524a89(0x91)][_0x524a89(0xe6)](this[_0x524a89(0x10f)])[_0x524a89(0x115)](_0x38e81d=>{var _0x468973=_0x524a89;this[_0x468973(0xc3)][_0x468973(0x313)](_0x468973(0x7c),_0x468973(0xfb),_0x38e81d),_0x38e81d===Ci[_0x468973(0x204)]?(this[_0x468973(0x1c6)][_0x468973(0x1be)]({'id':re[_0x468973(0x12e)]}),this[_0x468973(0x1b8)][_0x468973(0x280)](new _0x4aa924(this[_0x468973(0x10f)])['id'],!0x1),this[_0x468973(0x1b8)][_0x468973(0x1bb)](!0x1)):(this[_0x468973(0x1b8)]['updatePermissionPoint'](new _0x4aa924(this[_0x468973(0x10f)])['id'],!0x0),this[_0x468973(0x1b8)][_0x468973(0x1bb)](!0x0));})));let _0x51013f=!0x1;return this[_0x524a89(0x172)](this[_0x524a89(0x2cf)][_0x524a89(0x16b)][_0x524a89(0x115)](_0x1de6e2=>{var _0x30411d=_0x524a89;_0x1de6e2===Ee[_0x30411d(0x9c)]?this[_0x30411d(0x378)](_0x51013f):_0x1de6e2===Ee['OFFLINE']&&(_0x51013f=!0x0,this[_0x30411d(0x2d9)]());})),this['disposeWithMe'](this[_0x524a89(0x2cf)][_0x524a89(0x90)][_0x524a89(0x115)](_0x4ecac7=>{var _0x2a6da2=_0x524a89;try{switch(_0x4ecac7[_0x2a6da2(0x100)]){case _0x5dd443[_0x2a6da2(0x1e1)]:{this[_0x2a6da2(0x237)](_0x2327a5(_0x4ecac7[_0x2a6da2(0x113)]));break;}case _0x5dd443['CHANGESET_ACK']:{this[_0x2a6da2(0x1fc)](_0x4ecac7[_0x2a6da2(0x113)]);break;}case _0x5dd443[_0x2a6da2(0x292)]:{this[_0x2a6da2(0x205)]();break;}case _0x5dd443[_0x2a6da2(0x227)]:{this[_0x2a6da2(0x11e)](_0x4ecac7['data']);break;}case _0x5dd443[_0x2a6da2(0x185)]:{this[_0x2a6da2(0x217)](_0x4ecac7[_0x2a6da2(0x113)][_0x2a6da2(0xf8)][_0x2a6da2(0x141)](_0x5e9de2=>_0x2327a5(_0x5e9de2)));break;}case _0x5dd443[_0x2a6da2(0x80)]:{this[_0x2a6da2(0x205)]({'isPermissionRej':!0x0});break;}case _0x5dd443[_0x2a6da2(0x2ea)]:break;}}catch(_0x33e982){throw console[_0x2a6da2(0xee)](_0x2a6da2(0xc9),_0x33e982),_0x33e982;}})),this[_0x524a89(0x2e4)];}[_0x32e2f2(0x128)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x4a57ad=_0x32e2f2;if(this['_transitionLocked'])throw new Error(_0x4a57ad(0x36f));this[_0x4a57ad(0x95)]=!0x0;}[_0x32e2f2(0x293)](_0x37f640){var _0x1e6643=_0x32e2f2;this[_0x1e6643(0x133)](),this[_0x1e6643(0xb7)](this['_state'][_0x1e6643(0x193)](_0x37f640)),this[_0x1e6643(0x128)]();}[_0x32e2f2(0x237)](_0x22ea5f){var _0x4a21bf=_0x32e2f2;if(!(_0x22ea5f[_0x4a21bf(0x2fb)]<=this[_0x4a21bf(0x311)][_0x4a21bf(0x1bc)](this[_0x4a21bf(0x10f)]))){if(this[_0x4a21bf(0x2f4)]){this['_remoteChangesetQueue'][_0x4a21bf(0x21f)](_0x22ea5f);return;}this[_0x4a21bf(0x176)](_0x22ea5f);}}[_0x32e2f2(0x296)](){var _0x5478b0=_0x32e2f2;this['_remoteChangesetQueue']['forEach'](_0x1bba81=>this[_0x5478b0(0x176)](_0x1bba81)),this['_remoteChangesetQueue']=[];}[_0x32e2f2(0x176)](_0x11edc0){var _0x7baa7e=_0x32e2f2;const _0x51d6c0=this['_compressMutationService'][_0x7baa7e(0x15c)]['fetchThroughInterceptors'](this[_0x7baa7e(0x16a)][_0x7baa7e(0x15c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x11edc0['mutations'],null)||_0x11edc0[_0x7baa7e(0x166)],_0x580995={..._0x11edc0,'mutations':_0x51d6c0};this['_lockTransition'](),this[_0x7baa7e(0xb7)](this[_0x7baa7e(0x2e4)][_0x7baa7e(0x38a)](_0x580995)),this[_0x7baa7e(0x128)]();}[_0x32e2f2(0x1fc)](_0x625a9d){var _0x3f65c8=_0x32e2f2;this[_0x3f65c8(0x133)](),this[_0x3f65c8(0xb7)](this[_0x3f65c8(0x2e4)][_0x3f65c8(0x25f)](_0x625a9d)),this['_unlockTransition']();}['_onRemoteRejected'](_0x242597){var _0xae4646=_0x32e2f2;this[_0xae4646(0x133)](),this[_0xae4646(0xb7)](this[_0xae4646(0x2e4)][_0xae4646(0x2a8)](_0x242597)),this[_0xae4646(0x128)]();}[_0x32e2f2(0x11e)](_0x4252e4){var _0x1638db=_0x32e2f2;this['_lockTransition'](),this[_0x1638db(0xb7)](this[_0x1638db(0x2e4)][_0x1638db(0x31b)](_0x4252e4)),this[_0x1638db(0x128)]();}[_0x32e2f2(0x217)](_0x34a0d3){var _0x3bd659=_0x32e2f2;if(!(this[_0x3bd659(0x2e4)]instanceof ee))throw new TypeError(_0x3bd659(0x18b));const _0x38a004=_0x34a0d3['map'](_0x5495e2=>{var _0x2b2f5f=_0x3bd659;const _0x1feb15=this[_0x2b2f5f(0x16a)][_0x2b2f5f(0x15c)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2b2f5f(0x15c)][_0x2b2f5f(0x38c)]()[_0x2b2f5f(0x287)])(_0x5495e2[_0x2b2f5f(0x166)],null)||_0x5495e2[_0x2b2f5f(0x166)];return{..._0x5495e2,'mutations':_0x1feb15};});this[_0x3bd659(0x133)](),this[_0x3bd659(0xb7)](this[_0x3bd659(0x2e4)][_0x3bd659(0x2a6)](_0x38a004)),this['_unlockTransition']();}[_0x32e2f2(0x2d9)](){var _0x5f519b=_0x32e2f2;this[_0x5f519b(0x133)](),this[_0x5f519b(0xb7)](this[_0x5f519b(0x2e4)][_0x5f519b(0x369)]()),this[_0x5f519b(0x128)]();}[_0x32e2f2(0x378)](_0xd76d04=!0x1){var _0x3f46c8=_0x32e2f2;this['_lockTransition'](),this['_updateState'](this['_state'][_0x3f46c8(0x357)]()),this['_unlockTransition']();const _0x468dcf=this['_state'];_0xd76d04&&_0x468dcf instanceof Ne&&(this['_lockTransition'](),this[_0x3f46c8(0xb7)](_0x468dcf[_0x3f46c8(0x358)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x325202=>{var _0x5a3975=_0x36d8;this[_0x5a3975(0x2cf)][_0x5a3975(0x16b)][_0x5a3975(0x173)](_0x2cc397(0x1))[_0x5a3975(0x115)](async _0x1eecf0=>{var _0xcb991b=_0x5a3975;_0x325202(await this[_0xcb991b(0x362)](_0x1eecf0===Ee[_0xcb991b(0x9c)]));});});}[_0x32e2f2(0x320)](){var _0x228f46=_0x32e2f2;const _0x7a74f1=this[_0x228f46(0x10f)];return{'onStateChange':(_0xcc5aa6,_0xf82d3f)=>{var _0x39ba5a=_0x228f46;if(_0xcc5aa6!==this[_0x39ba5a(0x2e4)])throw new Error(_0x39ba5a(0x1a2)+_0xcc5aa6[_0x39ba5a(0x25b)]+_0x39ba5a(0x392)+_0xf82d3f[_0x39ba5a(0x25b)]+'\x0aCurrent:\x20'+this[_0x39ba5a(0x2e4)]['status']);this[_0x39ba5a(0xb7)](_0xf82d3f);},'onSendChangeset':_0x410996=>{var _0x3038ff=_0x228f46;_0x410996[_0x3038ff(0x183)]||(_0x410996[_0x3038ff(0x183)]=this[_0x3038ff(0x1c0)],_0x410996[_0x3038ff(0x294)]=++this[_0x3038ff(0x1a3)]);const _0x5e7847={'eventID':_0x5dd443[_0x3038ff(0x297)],'data':{'unitID':_0x410996[_0x3038ff(0x10f)],'unitType':this[_0x3038ff(0x342)],'changeset':_0x410996,'memberID':this[_0x3038ff(0x2cf)]['getMemberID']()}};this[_0x3038ff(0x2cf)][_0x3038ff(0x1cb)](_0x5e7847,this[_0x3038ff(0x10f)]);},'onMissingChangesets':({from:_0x330753,to:_0x2f8cc9})=>{var _0x5274c5=_0x228f46;this['_logService']['debug'](_0x5274c5(0x7c),_0x5274c5(0x331)+_0x330753+'\x20to\x20'+_0x2f8cc9);const _0x486479={'eventID':_0x5dd443[_0x5274c5(0x29d)],'data':{'unitID':_0x7a74f1,'unitType':this[_0x5274c5(0x342)],'from':_0x330753,'to':_0x2f8cc9}};this[_0x5274c5(0x2cf)][_0x5274c5(0x1cb)](_0x486479,this[_0x5274c5(0x10f)]);}};}async[_0x32e2f2(0x362)](_0xe05d0d){var _0x1a8bd2=_0x32e2f2,_0x315e84,_0x263362,_0x29c2b9;const _0x1a21a8=await((_0x315e84=this['_localCacheService'])==null?void 0x0:_0x315e84[_0x1a8bd2(0x222)](this[_0x1a8bd2(0x10f)])),_0x1dc559=(_0x263362=_0x1a21a8==null?void 0x0:_0x1a21a8[_0x1a8bd2(0x166)])!=null?_0x263362:[],_0x1dc4ed=(_0x29c2b9=_0x1a21a8==null?void 0x0:_0x1a21a8[_0x1a8bd2(0xf9)])!=null?_0x29c2b9:null,_0xbe14bf=!!(_0x1dc4ed!=null&&_0x1dc4ed[_0x1a8bd2(0x183)])&&!!(_0x1dc4ed!=null&&_0x1dc4ed[_0x1a8bd2(0x294)]);this[_0x1a8bd2(0x1c0)]=_0xbe14bf?_0x1dc4ed['sid']:Zn(),this[_0x1a8bd2(0x1a3)]=_0xbe14bf?_0x1dc4ed[_0x1a8bd2(0x294)]:0x0;const _0x137ea2=this[_0x1a8bd2(0x10f)];try{this[_0x1a8bd2(0x2c3)](_0x1dc4ed,_0x1dc559);}catch(_0x53b184){this['_logService']['error'](_0x53b184);}const _0x236779=this[_0x1a8bd2(0x320)]();if(_0xe05d0d){const _0x56f497=yi(this[_0x1a8bd2(0x327)],_0x137ea2,this['_type'],_0x1dc4ed,_0x1dc559,_0x236779);return _0x56f497 instanceof ae?_0x56f497[_0x1a8bd2(0x330)]():(_0x56f497 instanceof oe||_0x56f497 instanceof le)&&_0x56f497[_0x1a8bd2(0x17a)](),_0x56f497;}return this[_0x1a8bd2(0x327)][_0x1a8bd2(0x22a)](de,_0x137ea2,this[_0x1a8bd2(0x342)],_0x1dc4ed,_0x1dc559,_0x236779);}[_0x32e2f2(0x2c3)](_0x58cc11,_0x1d83d6){var _0x1a6d50=_0x32e2f2,_0x2d2cbf,_0x5ae7c4;const _0x38f50a=this[_0x1a6d50(0x16a)][_0x1a6d50(0x15c)]['fetchThroughInterceptors'](this[_0x1a6d50(0x16a)][_0x1a6d50(0x15c)][_0x1a6d50(0x38c)]()['COMPRESS_MUTATION_APPLY']);(_0x2d2cbf=_0x38f50a((_0x58cc11==null?void 0x0:_0x58cc11[_0x1a6d50(0x166)])||[],null))==null||_0x2d2cbf[_0x1a6d50(0x295)](_0x84d7d3=>this[_0x1a6d50(0xdd)]['executeCommand'](_0x84d7d3['id'],_0x84d7d3[_0x1a6d50(0x389)])),(_0x5ae7c4=_0x38f50a(_0x1d83d6||[],null))==null||_0x5ae7c4['forEach'](_0x2b29f1=>this['_commandService'][_0x1a6d50(0x111)](_0x2b29f1['id'],_0x2b29f1[_0x1a6d50(0x389)]));}};nt=Lt([H(0x3,_0xf49784(_0x3f2818)),H(0x4,_0xf49784(_0x3561da)),H(0x5,_0xf49784(_0x4d5bfe)),H(0x6,_0xf49784(_0x4f92e0)),H(0x7,_0xf49784(pe)),H(0x8,_0x21b260),H(0x9,_0x10f8e6),H(0xa,_0x2d9700),H(0xb,_0x263250(ht)),H(0xc,_0x263250(J))],nt);let It=class extends nt{constructor(_0xffdecf,_0x1428eb,_0x334483,_0x4b4aaa,_0x2fcc81,_0x418aee,_0x60e498,_0x3e7f81,_0x5a09bc,_0x41552b,_0x3439fe,_0x5a0d7c,_0x2a4a59){var _0x21db8a=_0x32e2f2;super(_0xffdecf,_0x334483,_0x1428eb,_0x4b4aaa,_0x2fcc81,_0x418aee,_0x60e498,_0x3e7f81,_0x5a09bc,_0x41552b,_0x3439fe,_0x5a0d7c,_0x2a4a59),N(this,_0x21db8a(0x251),null),(this[_0x21db8a(0x10f)]=_0xffdecf,this[_0x21db8a(0x17e)]=_0x1428eb);}[_0x32e2f2(0x279)](_0x18beb1){this['_handlerCallback']=_0x18beb1;}[_0x32e2f2(0x1e0)](){var _0x413454=_0x32e2f2;this[_0x413454(0x251)]=null,super[_0x413454(0x1e0)]();}['_createHandler'](){var _0x2f6321=_0x32e2f2;const _0x59e799=super[_0x2f6321(0x320)]();return _0x59e799[_0x2f6321(0x215)]=_0x141631=>{var _0x5572c8=_0x2f6321,_0x3f65fb,_0x38b8a3;return(_0x38b8a3=(_0x3f65fb=this['_handlerCallback'])==null?void 0x0:_0x3f65fb[_0x5572c8(0x215)])==null?void 0x0:_0x38b8a3[_0x5572c8(0x321)](_0x3f65fb,_0x141631);},_0x59e799[_0x2f6321(0x12f)]=_0x538268=>{var _0x1d0182=_0x2f6321,_0x4bca5a,_0x94df09;return(_0x94df09=(_0x4bca5a=this[_0x1d0182(0x251)])==null?void 0x0:_0x4bca5a[_0x1d0182(0x12f)])==null?void 0x0:_0x94df09[_0x1d0182(0x321)](_0x4bca5a,_0x538268);},_0x59e799[_0x2f6321(0x1b9)]=_0x370fca=>{var _0x5b5e78=_0x2f6321,_0x496c23,_0x134bf9;return(_0x134bf9=(_0x496c23=this[_0x5b5e78(0x251)])==null?void 0x0:_0x496c23[_0x5b5e78(0x1b9)])==null?void 0x0:_0x134bf9[_0x5b5e78(0x321)](_0x496c23,_0x370fca);},_0x59e799[_0x2f6321(0x329)]=_0x2f9c73=>{var _0x33826b=_0x2f6321,_0x9b6510,_0x37d367;return(_0x37d367=(_0x9b6510=this[_0x33826b(0x251)])==null?void 0x0:_0x9b6510[_0x33826b(0x329)])==null?void 0x0:_0x37d367[_0x33826b(0x321)](_0x9b6510,_0x2f9c73);},_0x59e799['onTransformRemoteChangesetByIMECache']=_0x402d02=>{var _0x1f8838=_0x2f6321,_0xbcffb6,_0x2abfb6,_0x48fc14;if(!((_0xbcffb6=this[_0x1f8838(0x251)])!=null&&_0xbcffb6['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1f8838(0x360));return(_0x48fc14=(_0x2abfb6=this['_handlerCallback'])==null?void 0x0:_0x2abfb6[_0x1f8838(0x1a7)])==null?void 0x0:_0x48fc14[_0x1f8838(0x321)](_0x2abfb6,_0x402d02);},_0x59e799[_0x2f6321(0x239)]=_0x119e8b=>{var _0x25482d=_0x2f6321,_0xdb55bf,_0x1aa08b,_0xc4ebc2;if(!((_0xdb55bf=this[_0x25482d(0x251)])!=null&&_0xdb55bf[_0x25482d(0x239)]))throw new Error(_0x25482d(0x1fd));return(_0xc4ebc2=(_0x1aa08b=this[_0x25482d(0x251)])==null?void 0x0:_0x1aa08b[_0x25482d(0x239)])==null?void 0x0:_0xc4ebc2[_0x25482d(0x321)](_0x1aa08b,_0x119e8b);},_0x59e799;}async[_0x32e2f2(0x254)](){var _0x458aac=_0x32e2f2;const _0x457296=await super['_init']();return this[_0x458aac(0x172)](this[_0x458aac(0xdd)][_0x458aac(0x226)]((_0x286f24,_0x36529f)=>{var _0x8e52b8=_0x458aac;if(_0x286f24['type']!==_0x338b90[_0x8e52b8(0x343)]||_0x36529f!=null&&_0x36529f[_0x8e52b8(0x38d)]||_0x36529f!=null&&_0x36529f[_0x8e52b8(0x2db)]||_0x286f24['id']===_0x12068d['id'])return;const _0x37cec3=_0x286f24[_0x8e52b8(0x389)];if((_0x37cec3==null?void 0x0:_0x37cec3[_0x8e52b8(0x28f)])!==this[_0x8e52b8(0x10f)])return;const _0x10e7a4=_0x286f24,_0x453e41=this[_0x8e52b8(0x16a)][_0x8e52b8(0x15c)][_0x8e52b8(0x242)](this[_0x8e52b8(0x16a)][_0x8e52b8(0x15c)]['getInterceptPoints']()[_0x8e52b8(0x1fb)])([_0x10e7a4],null)||[_0x10e7a4];this['_onLocalMutation'](_0x453e41[0x0]);})),_0x457296;}};It=Lt([H(0x3,_0xf49784(_0x3f2818)),H(0x4,_0xf49784(_0x3561da)),H(0x5,_0xf49784(_0x4d5bfe)),H(0x6,_0xf49784(_0x4f92e0)),H(0x7,_0xf49784(pe)),H(0x8,_0x21b260),H(0x9,_0x10f8e6),H(0xa,_0x2d9700),H(0xb,_0x263250(ht)),H(0xc,_0x263250(J))],It);let Tt=class extends nt{constructor(_0x59445e,_0x49e7f5,_0x218162,_0x14a43f,_0x1a295d,_0x9377fa,_0x57ebc8,_0x13fd67,_0x510fa7,_0x3ddbdc,_0x8e75dc,_0x185ff6,_0x56289d,_0x543ee8){var _0x53962e=_0x32e2f2;super(_0x59445e,_0x218162,_0x49e7f5,_0x14a43f,_0x1a295d,_0x9377fa,_0x57ebc8,_0x510fa7,_0x3ddbdc,_0x8e75dc,_0x185ff6,_0x56289d,_0x543ee8),this[_0x53962e(0x10f)]=_0x59445e,this['type']=_0x49e7f5,this['_sheetTransformSelectionsService']=_0x13fd67;}[_0x32e2f2(0x320)](){var _0x44c54e=_0x32e2f2;const _0x237787=super['_createHandler']();return _0x237787[_0x44c54e(0x1b9)]=_0x544fc7=>this[_0x44c54e(0x23c)][_0x44c54e(0x8a)](_0x544fc7),_0x237787;}async['_init'](){var _0x1ab752=_0x32e2f2;const _0x5f5263=await super[_0x1ab752(0x254)]();return this[_0x1ab752(0x172)](this[_0x1ab752(0xdd)]['onCommandExecuted']((_0x46cd35,_0x2b9202)=>{var _0xf048c6=_0x1ab752;if(_0x46cd35[_0xf048c6(0x17e)]!==_0x338b90['MUTATION']||_0x2b9202!=null&&_0x2b9202[_0xf048c6(0x38d)]||_0x2b9202!=null&&_0x2b9202[_0xf048c6(0x2db)])return;const _0x1e8417=_0x46cd35[_0xf048c6(0x389)];if((_0x1e8417==null?void 0x0:_0x1e8417[_0xf048c6(0x28f)])!==this[_0xf048c6(0x10f)])return;const _0x2fc5fb=_0x46cd35,_0x19f6b8=this['_compressMutationService'][_0xf048c6(0x15c)][_0xf048c6(0x242)](this[_0xf048c6(0x16a)][_0xf048c6(0x15c)][_0xf048c6(0x38c)]()[_0xf048c6(0x1fb)])([_0x2fc5fb],null)||[_0x2fc5fb];this[_0xf048c6(0x293)](_0x19f6b8[0x0]);})),_0x5f5263;}};Tt=Lt([H(0x3,_0xf49784(_0x3f2818)),H(0x4,_0xf49784(_0x3561da)),H(0x5,_0xf49784(_0x4d5bfe)),H(0x6,_0xf49784(_0x4f92e0)),H(0x7,_0xf49784(it)),H(0x8,_0xf49784(pe)),H(0x9,_0x21b260),H(0xa,_0x10f8e6),H(0xb,_0x2d9700),H(0xc,_0x263250(ht)),H(0xd,_0x263250(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x5484a7,_0x767552,_0x5aa83c,_0x563208)=>{var _0x2e39fc=_0x32e2f2;for(var _0x468709=_0x563208>0x1?void 0x0:_0x563208?os(_0x767552,_0x5aa83c):_0x767552,_0x4df228=_0x5484a7[_0x2e39fc(0x2e2)]-0x1,_0x1e4d5a;_0x4df228>=0x0;_0x4df228--)(_0x1e4d5a=_0x5484a7[_0x4df228])&&(_0x468709=_0x1e4d5a(_0x468709)||_0x468709);return _0x468709;},ft=(_0x5727c4,_0x25b38b)=>(_0x21c77b,_0x21ca2e)=>_0x25b38b(_0x21c77b,_0x21ca2e,_0x5727c4);let st=class extends _0x1005e4{constructor(_0x36c946,_0x5e348d,_0x24aac){var _0x2c8b2b=_0x32e2f2;super(),N(this,'_entities',new Map()),N(this,_0x2c8b2b(0x21a),new _0x2fe298()),N(this,_0x2c8b2b(0x7b),this[_0x2c8b2b(0x21a)][_0x2c8b2b(0x2ed)]()),(this[_0x2c8b2b(0x327)]=_0x36c946,this[_0x2c8b2b(0x1f6)]=_0x5e348d,this[_0x2c8b2b(0x2d5)]=_0x24aac,this['_init']());}['dispose'](){var _0x3371ce=_0x32e2f2;super[_0x3371ce(0x1e0)](),this[_0x3371ce(0x27e)]['forEach'](_0x266dbf=>_0x266dbf[_0x3371ce(0x1e0)]()),this['_entities'][_0x3371ce(0x24f)]();}[_0x32e2f2(0x22b)](_0x2cfeb9){var _0x480bf1=_0x32e2f2,_0x2dd194;return(_0x2dd194=this[_0x480bf1(0x27e)][_0x480bf1(0x281)](_0x2cfeb9))!=null?_0x2dd194:null;}['getCollabEntity$'](_0x1ddc16){var _0x1f2189=_0x32e2f2;const _0x50b83e=this['getCollabEntity'](_0x1ddc16);return _0x50b83e?_0x2615a9(_0x50b83e):this[_0x1f2189(0x21a)]['pipe'](_0x347c08(_0x12e3a7=>_0x12e3a7[_0x1f2189(0x10f)]===_0x1ddc16));}[_0x32e2f2(0x2ae)](_0x3b856e){var _0x5722e7=_0x32e2f2;return _0x1706ec(this[_0x5722e7(0x123)](_0x3b856e)[_0x5722e7(0x173)](_0x289343(()=>{})));}[_0x32e2f2(0x254)](){var _0x21d75c=_0x32e2f2;this['_univerInstanceService'][_0x21d75c(0x15b)](_0x271272[_0x21d75c(0x118)])['pipe'](_0x5522e4(this[_0x21d75c(0x187)]),_0x542f82(0x10))[_0x21d75c(0x115)](async _0x29ca5a=>{var _0x414834=_0x21d75c;const _0x133c2c=_0x29ca5a[_0x414834(0x22e)](),_0x1e850e=await this['_startCollaboration'](_0x133c2c,Q['UNIVER_SHEET']);this[_0x414834(0x27e)][_0x414834(0x333)](_0x133c2c,_0x1e850e);}),this[_0x21d75c(0x2d5)][_0x21d75c(0x15b)](_0x271272['UNIVER_DOC'])[_0x21d75c(0x173)](_0x5522e4(this['dispose$']),_0x542f82(0x10))['pipe'](_0x347c08(_0x44dbf=>!_0x44dbf[_0x21d75c(0x22e)]()[_0x21d75c(0xba)]('__')))[_0x21d75c(0x115)](async _0x497594=>{var _0x5d2ca5=_0x21d75c;const _0x42dac1=_0x497594[_0x5d2ca5(0x22e)](),_0x5974ee=await this[_0x5d2ca5(0x391)](_0x42dac1,Q[_0x5d2ca5(0x1ef)]);this[_0x5d2ca5(0x27e)][_0x5d2ca5(0x333)](_0x42dac1,_0x5974ee);}),_0x308043(this[_0x21d75c(0x2d5)]['getTypeOfUnitDisposed$'](_0x271272['UNIVER_SHEET']),this[_0x21d75c(0x2d5)][_0x21d75c(0x2c6)](_0x271272[_0x21d75c(0x1ef)]))['pipe'](_0x5522e4(this[_0x21d75c(0x187)]))['subscribe'](_0x209bac=>{var _0x1e6388=_0x21d75c;const _0x1bb73c=_0x209bac['getUnitId'](),_0x1a3f32=this['_entities'][_0x1e6388(0x281)](_0x1bb73c);_0x1a3f32&&(_0x1a3f32[_0x1e6388(0x1e0)](),this[_0x1e6388(0x27e)][_0x1e6388(0x203)](_0x1bb73c));});}async['_startCollaboration'](_0x5be329,_0x4d0e0e){var _0x148837=_0x32e2f2;const _0x2b07c8=await this[_0x148837(0x1f6)][_0x148837(0x1b0)](_0x5be329),_0x1d8b5d=this[_0x148837(0x327)][_0x148837(0x22a)](this[_0x148837(0xe3)](_0x4d0e0e),_0x5be329,_0x4d0e0e,_0x2b07c8);return await _0x1d8b5d[_0x148837(0xbc)](),this['_entityInit$'][_0x148837(0x364)](_0x1d8b5d),_0x1d8b5d;}[_0x32e2f2(0xe3)](_0x520d09){var _0x483c18=_0x32e2f2;switch(_0x520d09){case Q[_0x483c18(0x1ef)]:return It;case Q[_0x483c18(0x118)]:return Tt;default:throw new Error(_0x483c18(0x1c4)+_0x520d09);}}};st=cs([ft(0x0,_0xf49784(_0x3f2818)),ft(0x1,_0xf49784(xe)),ft(0x2,_0x457f20)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0xef4fe1,_0x3b3464,_0x488be0,_0x3ccdce)=>{var _0x481330=_0x32e2f2;for(var _0x381075=_0x3ccdce>0x1?void 0x0:_0x3ccdce?hs(_0x3b3464,_0x488be0):_0x3b3464,_0x47a3e=_0xef4fe1[_0x481330(0x2e2)]-0x1,_0x845054;_0x47a3e>=0x0;_0x47a3e--)(_0x845054=_0xef4fe1[_0x47a3e])&&(_0x381075=_0x845054(_0x381075)||_0x381075);return _0x381075;},zt=(_0x1efcd0,_0x1fe2f2)=>(_0x23ca43,_0x1385c5)=>_0x1fe2f2(_0x23ca43,_0x1385c5,_0x1efcd0);const ls=_0x32e2f2(0x265),us=_0x32e2f2(0x2d6);let Ct=class extends _0x9c2164{constructor(_0x5016b7,_0x3480d7){var _0x361aae=_0x32e2f2;super(),this['_univerInstanceService']=_0x5016b7,this['_configService']=_0x3480d7,this[_0x361aae(0x254)]();}['_init'](){var _0x2dc663=_0x32e2f2;this[_0x2dc663(0x172)](this[_0x2dc663(0x2d5)][_0x2dc663(0x156)][_0x2dc663(0x115)](()=>{var _0x1d036a=_0x2dc663,_0x38af63;const _0x489101=this[_0x1d036a(0x2d5)][_0x1d036a(0x2fe)]();let _0x34d9de=(_0x38af63=this[_0x1d036a(0xae)][_0x1d036a(0x8c)](ls))!=null?_0x38af63:us;_0x489101 instanceof _0x100352&&(_0x34d9de=_0x489101[_0x1d036a(0x1f0)]),document['title']=_0x34d9de;}));}};Ct=_s([zt(0x0,_0x457f20),zt(0x1,_0x24f34c)],Ct);var ds=Object[_0x32e2f2(0x266)],fs=(_0x20bbaf,_0x4159f8,_0x3bb55d,_0x1659c3)=>{var _0x1f68ac=_0x32e2f2;for(var _0x34a7f7=_0x1659c3>0x1?void 0x0:_0x1659c3?ds(_0x4159f8,_0x3bb55d):_0x4159f8,_0x4ac643=_0x20bbaf[_0x1f68ac(0x2e2)]-0x1,_0x3355a1;_0x4ac643>=0x0;_0x4ac643--)(_0x3355a1=_0x20bbaf[_0x4ac643])&&(_0x34a7f7=_0x3355a1(_0x34a7f7)||_0x34a7f7);return _0x34a7f7;},vt=(_0x16a1d2,_0x451b0b)=>(_0x45aa44,_0x2b5468)=>_0x451b0b(_0x45aa44,_0x2b5468,_0x16a1d2);let rt=class{constructor(_0x45555b,_0x66b2fb,_0x444f42){var _0x2befd1=_0x32e2f2;this[_0x2befd1(0xae)]=_0x45555b,this[_0x2befd1(0x2b9)]=_0x66b2fb,this[_0x2befd1(0x10c)]=_0x444f42,this[_0x2befd1(0xbc)]();}[_0x32e2f2(0xbc)](){var _0x14fee5=_0x32e2f2;this[_0x14fee5(0x2b9)][_0x14fee5(0xfc)]({'priority':0x1,'interceptor':(_0x7dcd00,_0x1c993c)=>_0x1c993c(_0x7dcd00)[_0x14fee5(0x173)](_0x2f5012(async _0x27c8f6=>{var _0x5c310f=_0x14fee5;const _0x493a5e=_0x27c8f6;if(_0x493a5e['status']===0x191){if(typeof window>'u')throw new Error(_0x5c310f(0xc0));if(window[_0x5c310f(0x1bd)](this[_0x5c310f(0x10c)]['t'](_0x5c310f(0x13c)))){const _0x3f76dd=window[_0x5c310f(0x33b)](window['location']['href']);window[_0x5c310f(0x257)][_0x5c310f(0x2aa)]=this[_0x5c310f(0x214)]()+_0x5c310f(0x167)+_0x3f76dd;}}return _0x493a5e;}))});}[_0x32e2f2(0x214)](){var _0x1a28ba=_0x32e2f2,_0x100afe,_0x41ed18;const _0x32ca5a=this[_0x1a28ba(0xae)][_0x1a28ba(0x8c)](Un),_0x32568f=this[_0x1a28ba(0xae)]['getConfig'](q);return(_0x41ed18=(_0x100afe=_0x32568f==null?void 0x0:_0x32568f[_0x1a28ba(0xac)])!=null?_0x100afe:_0x32ca5a)!=null?_0x41ed18:An;}};rt=fs([vt(0x0,_0x24f34c),vt(0x1,_0xf49784(_0x18ded5)),vt(0x2,_0xf49784(_0x4d5bfe))],rt);var vs=Object[_0x32e2f2(0x266)],ps=(_0x28353f,_0x12c8ef,_0x19a2bf,_0xeaaf7d)=>{for(var _0x3c63aa=_0xeaaf7d>0x1?void 0x0:_0xeaaf7d?vs(_0x12c8ef,_0x19a2bf):_0x12c8ef,_0x634aec=_0x28353f['length']-0x1,_0x214157;_0x634aec>=0x0;_0x634aec--)(_0x214157=_0x28353f[_0x634aec])&&(_0x3c63aa=_0x214157(_0x3c63aa)||_0x3c63aa);return _0x3c63aa;},Jt=(_0x7c80fe,_0x55d1b0)=>(_0x4f3016,_0x17a591)=>_0x55d1b0(_0x4f3016,_0x17a591,_0x7c80fe);const Ni=_0x32e2f2(0x2e8),ms='/universer-api/authz';let Rt=class extends _0x9c2164{constructor(_0x476715,_0x4041e9){var _0x34ad50=_0x32e2f2;super(),this[_0x34ad50(0x11c)]=_0x476715,this['_configService']=_0x4041e9,this[_0x34ad50(0x36c)]();}[_0x32e2f2(0x36c)](){var _0x57b259=_0x32e2f2;const _0xf45c6d=this;this['disposeWithMe'](this[_0x57b259(0x11c)][_0x57b259(0xfc)]({'priority':0x3e7,'interceptor':_0x493a89({'isMatch'(_0x5e8462){var _0x48de9c=_0x57b259,_0x36830a;if(_0x5e8462[_0x48de9c(0x8b)]==='POST'&&((_0x36830a=_0x5e8462[_0x48de9c(0x365)])!=null&&_0x36830a[_0x48de9c(0x164)])){const {objectID:_0x5258db,objectType:_0x4f6296}=_0x5e8462[_0x48de9c(0x365)]['body']||{};if(!_0x5258db||_0x4f6296===void 0x0)return!0x1;const _0x417327=_0xf45c6d[_0x48de9c(0x127)]()+'/'+_0x4f6296+_0x48de9c(0xbb)+_0x5258db+_0x48de9c(0x29c);if(_0x5e8462[_0x48de9c(0x84)]===_0x417327)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x37c71f){var _0x4c8ba9;return(_0x4c8ba9=_0x37c71f['requestParams'])==null?void 0x0:_0x4c8ba9['body'];},'mergeParamsToRequest'(_0x41e025,_0x202cd5){var _0x1c8618=_0x57b259;const _0xecb199=_0xf45c6d[_0x1c8618(0x127)]()+_0x1c8618(0x19b),_0x1fad72=_0x41e025[_0x1c8618(0x81)]((_0x3b789c,_0x533161)=>{var _0x29ae56=_0x1c8618;const {unitID:_0x3f5575,objectID:_0x435824,objectType:_0x41e8f0,actions:_0x5c135f}=_0x533161;return _0x3b789c[_0x3f5575]||(_0x3b789c[_0x3f5575]={}),_0x3b789c[_0x3f5575][_0x435824]||(_0x3b789c[_0x3f5575][_0x435824]={'objectID':_0x435824,'objectType':_0x41e8f0,'actions':[]}),_0x3b789c[_0x3f5575][_0x435824][_0x29ae56(0x283)]['push'](..._0x5c135f),_0x3b789c;},{}),_0x5bbb64=[];for(const _0x3b3cc1 in _0x1fad72)for(const _0x4a2dab in _0x1fad72[_0x3b3cc1]){const {actions:_0x1f5f86,objectType:_0x47cc40}=_0x1fad72[_0x3b3cc1][_0x4a2dab],_0x1dec17=[...new Set(_0x1f5f86)];_0x5bbb64[_0x1c8618(0x21f)]({'unitID':_0x3b3cc1,'objectID':_0x4a2dab,'objectType':_0x47cc40,'actions':_0x1dec17});}return new _0x5a611(_0x1c8618(0x140),_0xecb199,{'headers':_0x202cd5[_0x1c8618(0x1d6)],'withCredentials':_0x202cd5[_0x1c8618(0xfa)],'responseType':_0x202cd5[_0x1c8618(0x2c5)],'body':{'requests':_0x5bbb64}});}},{'distributeResult'(_0x1c468f,_0xdd6eb3){var _0x187e24=_0x57b259;const {objectActions:_0x58648d}=_0x1c468f;return _0xdd6eb3[_0x187e24(0x141)](_0x5cbd04=>{var _0x2cf636=_0x187e24;const {unitID:_0x5ca059,objectID:_0x355a96,actions:_0x4e12f6}=_0x5cbd04,_0x1c7029=_0x58648d['find'](_0x36e4d8=>_0x36e4d8[_0x2cf636(0x10f)]===_0x5ca059&&_0x36e4d8[_0x2cf636(0x2a2)]===_0x355a96),_0x20dcf4=_0x4e12f6['map'](_0x1f8cb5=>_0x1c7029==null?void 0x0:_0x1c7029['actions'][_0x2cf636(0xbd)](_0x4bc165=>_0x4bc165[_0x2cf636(0x2b3)]===_0x1f8cb5))[_0x2cf636(0x18f)](_0x25abe8=>!!_0x25abe8);return{'config':_0x5cbd04,'result':{'actions':_0x20dcf4,'error':_0x1c468f[_0x2cf636(0xee)]}};});}})}));}[_0x32e2f2(0x127)](){var _0x1a9f88=_0x32e2f2,_0x34234a,_0x40f2b5;const _0x262e84=this['_configService'][_0x1a9f88(0x8c)](Ni),_0x3ffc1a=this[_0x1a9f88(0xae)][_0x1a9f88(0x8c)](q);return(_0x40f2b5=(_0x34234a=_0x3ffc1a==null?void 0x0:_0x3ffc1a[_0x1a9f88(0x322)])!=null?_0x34234a:_0x262e84)!=null?_0x40f2b5:ms;}async['create'](_0x5811b7){var _0x458a4e=_0x32e2f2;const _0x2cacb5=this[_0x458a4e(0x127)]()+'/'+_0x5811b7[_0x458a4e(0x228)]+'/object';return(await this[_0x458a4e(0x11c)][_0x458a4e(0x282)](_0x2cacb5,{'body':_0x5811b7}))[_0x458a4e(0x164)][_0x458a4e(0x2a2)]||'';}async['list'](_0x126d81){var _0x4bed7a=_0x32e2f2;const _0x58a63f=this[_0x4bed7a(0x127)]()+_0x4bed7a(0x235);return(await this[_0x4bed7a(0x11c)][_0x4bed7a(0x282)](_0x58a63f,{'body':_0x126d81}))[_0x4bed7a(0x164)][_0x4bed7a(0x8e)];}async['update'](_0x191645){var _0x52c158=_0x32e2f2,_0x4ec4ea,_0x32a1e9;const _0x4aa002=this[_0x52c158(0x127)]()+'/'+_0x191645[_0x52c158(0x228)]+_0x52c158(0xbb)+_0x191645[_0x52c158(0x2a2)],_0x4d8355=await this[_0x52c158(0x11c)]['put'](_0x4aa002,{'body':_0x191645});if(((_0x32a1e9=(_0x4ec4ea=_0x4d8355==null?void 0x0:_0x4d8355['body'])==null?void 0x0:_0x4ec4ea[_0x52c158(0xee)])==null?void 0x0:_0x32a1e9[_0x52c158(0x223)])!==0x1)throw new Error(_0x52c158(0x24e));}async['allowed'](_0x52172a){var _0x34995a=_0x32e2f2;const _0x1a65e8=this[_0x34995a(0x127)]()+'/'+_0x52172a[_0x34995a(0x228)]+_0x34995a(0xbb)+_0x52172a[_0x34995a(0x2a2)]+_0x34995a(0x29c);return(await this[_0x34995a(0x11c)][_0x34995a(0x282)](_0x1a65e8,{'body':_0x52172a}))[_0x34995a(0x164)]['actions'];}async['batchAllowed'](_0x2af622){var _0xb15e57=_0x32e2f2;const _0x242a82=this[_0xb15e57(0x127)]()+_0xb15e57(0x19b);return(await this[_0xb15e57(0x11c)][_0xb15e57(0x282)](_0x242a82,{'body':{'requests':_0x2af622}}))[_0xb15e57(0x164)][_0xb15e57(0x34c)];}async[_0x32e2f2(0x1e4)](_0x5c7856){var _0x2b0d49=_0x32e2f2;const _0x20a481=this[_0x2b0d49(0x127)]()+'/'+_0x5c7856[_0x2b0d49(0x228)]+_0x2b0d49(0x33e),_0x794491=await this[_0x2b0d49(0x11c)][_0x2b0d49(0x282)](_0x20a481,{'body':_0x5c7856});return{'roles':_0x794491['body']['roles'],'actions':_0x794491[_0x2b0d49(0x164)][_0x2b0d49(0x283)]};}async[_0x32e2f2(0x354)](_0x378ead){var _0x41037c=_0x32e2f2;const _0x2d138d=this['_getAPIPrefixPath']()+_0x41037c(0x9d);await this[_0x41037c(0x11c)]['delete'](_0x2d138d,{'params':{'collaboratorID':_0x378ead[_0x41037c(0xe4)],'objectID':_0x378ead[_0x41037c(0x2a2)],'unitID':_0x378ead[_0x41037c(0x10f)]}});}async['updateCollaborator'](_0xddc5b7){var _0x45a9fa=_0x32e2f2;const _0x126fa9=this[_0x45a9fa(0x127)]()+_0x45a9fa(0x9d);await this[_0x45a9fa(0x11c)]['patch'](_0x126fa9,{'body':_0xddc5b7});}async[_0x32e2f2(0x14a)](_0x2d4c82){var _0x10f246=_0x32e2f2;const _0x47de65=this['_getAPIPrefixPath']()+_0x10f246(0x9d);await this[_0x10f246(0x11c)][_0x10f246(0x282)](_0x47de65,{'body':_0x2d4c82});}async[_0x32e2f2(0xa7)](_0x218355){var _0x4790ca=_0x32e2f2;const _0x468886=this[_0x4790ca(0x127)]()+_0x4790ca(0x9d);return(await this[_0x4790ca(0x11c)][_0x4790ca(0x281)](_0x468886,{'params':{'objectID':_0x218355[_0x4790ca(0x2a2)],'unitID':_0x218355[_0x4790ca(0x10f)]}}))['body'][_0x4790ca(0x30f)];}async[_0x32e2f2(0x13a)](_0x2e4f80){var _0x369ba2=_0x32e2f2;const _0x154def=this[_0x369ba2(0x127)]()+'/collaborator';await this[_0x369ba2(0x11c)][_0x369ba2(0x2ac)](_0x154def,{'body':_0x2e4f80});}};Rt=ps([Jt(0x0,_0xf49784(_0x18ded5)),Jt(0x1,_0xf49784(_0x24f34c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x54b5f8){var _0x46aea2=_0x32e2f2;return _0x54b5f8&&_0x54b5f8[_0x46aea2(0xaa)]&&Object[_0x46aea2(0x19a)][_0x46aea2(0xcb)][_0x46aea2(0x321)](_0x54b5f8,_0x46aea2(0x260))?_0x54b5f8[_0x46aea2(0x260)]:_0x54b5f8;}var Ve={'exports':{}};function gs(_0x323af1){var _0x301336=_0x32e2f2;throw new Error(_0x301336(0x2e5)+_0x323af1+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge[_0x32e2f2(0x376)],Xt;function ie(){var _0x38a3b9=_0x32e2f2;return Xt||(Xt=0x1,function(_0x53ea10,_0x295160){(function(_0x142ac8,_0x20792c){_0x53ea10['exports']=_0x20792c();}(Ss,function(){var _0xd0d098=_0xd0d098||function(_0xe74558,_0x7d63e2){var _0x5d6e1b=_0x36d8,_0x4f28dd;if(typeof window<'u'&&window[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=window['crypto']),typeof self<'u'&&self[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=self['crypto']),typeof globalThis<'u'&&globalThis[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=globalThis[_0x5d6e1b(0x1a6)]),!_0x4f28dd&&typeof window<'u'&&window[_0x5d6e1b(0x385)]&&(_0x4f28dd=window['msCrypto']),!_0x4f28dd&&typeof pt<'u'&&pt[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=pt['crypto']),!_0x4f28dd&&typeof gs==_0x5d6e1b(0xa9))try{_0x4f28dd=require('crypto');}catch{}var _0x637f1f=function(){var _0x3d1714=_0x5d6e1b;if(_0x4f28dd){if(typeof _0x4f28dd['getRandomValues']==_0x3d1714(0xa9))try{return _0x4f28dd[_0x3d1714(0x22d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4f28dd[_0x3d1714(0x2a4)]==_0x3d1714(0xa9))try{return _0x4f28dd['randomBytes'](0x4)[_0x3d1714(0x1ab)]();}catch{}}throw new Error(_0x3d1714(0x256));},_0x4cd066=Object[_0x5d6e1b(0x117)]||(function(){function _0x19096a(){}return function(_0x1f4600){var _0x22f2e7=_0x36d8,_0x24fc17;return _0x19096a[_0x22f2e7(0x19a)]=_0x1f4600,_0x24fc17=new _0x19096a(),_0x19096a['prototype']=null,_0x24fc17;};}()),_0xe4fee9={},_0x3ae99b=_0xe4fee9[_0x5d6e1b(0x34e)]={},_0x4606ea=_0x3ae99b['Base']=(function(){return{'extend':function(_0x345ac8){var _0x525d0f=_0x36d8,_0x1dbfe1=_0x4cd066(this);return _0x345ac8&&_0x1dbfe1[_0x525d0f(0x1c5)](_0x345ac8),(!_0x1dbfe1[_0x525d0f(0xcb)]('init')||this[_0x525d0f(0xbc)]===_0x1dbfe1[_0x525d0f(0xbc)])&&(_0x1dbfe1[_0x525d0f(0xbc)]=function(){var _0x52206a=_0x525d0f;_0x1dbfe1['$super'][_0x52206a(0xbc)][_0x52206a(0x1c7)](this,arguments);}),_0x1dbfe1[_0x525d0f(0xbc)][_0x525d0f(0x19a)]=_0x1dbfe1,_0x1dbfe1[_0x525d0f(0x1b7)]=this,_0x1dbfe1;},'create':function(){var _0x4d1da8=_0x36d8,_0x101c51=this['extend']();return _0x101c51[_0x4d1da8(0xbc)][_0x4d1da8(0x1c7)](_0x101c51,arguments),_0x101c51;},'init':function(){},'mixIn':function(_0x2c7c15){var _0x6eca88=_0x36d8;for(var _0x45466f in _0x2c7c15)_0x2c7c15['hasOwnProperty'](_0x45466f)&&(this[_0x45466f]=_0x2c7c15[_0x45466f]);_0x2c7c15[_0x6eca88(0xcb)](_0x6eca88(0x110))&&(this[_0x6eca88(0x110)]=_0x2c7c15[_0x6eca88(0x110)]);},'clone':function(){var _0x4401b3=_0x36d8;return this[_0x4401b3(0xbc)][_0x4401b3(0x19a)]['extend'](this);}};}()),_0x3dc1ba=_0x3ae99b[_0x5d6e1b(0x148)]=_0x4606ea['extend']({'init':function(_0x1b1e05,_0x1661e5){var _0x2bd944=_0x5d6e1b;_0x1b1e05=this[_0x2bd944(0xd3)]=_0x1b1e05||[],_0x1661e5!=_0x7d63e2?this[_0x2bd944(0x26f)]=_0x1661e5:this[_0x2bd944(0x26f)]=_0x1b1e05[_0x2bd944(0x2e2)]*0x4;},'toString':function(_0x64bf13){var _0x1beb3b=_0x5d6e1b;return(_0x64bf13||_0x35afe6)[_0x1beb3b(0x105)](this);},'concat':function(_0x4bfd81){var _0x139c12=_0x5d6e1b,_0x18aae6=this[_0x139c12(0xd3)],_0x2b8b42=_0x4bfd81['words'],_0x182602=this[_0x139c12(0x26f)],_0x20ea65=_0x4bfd81[_0x139c12(0x26f)];if(this[_0x139c12(0x245)](),_0x182602%0x4)for(var _0x3b68a0=0x0;_0x3b68a0<_0x20ea65;_0x3b68a0++){var _0xeb38b9=_0x2b8b42[_0x3b68a0>>>0x2]>>>0x18-_0x3b68a0%0x4*0x8&0xff;_0x18aae6[_0x182602+_0x3b68a0>>>0x2]|=_0xeb38b9<<0x18-(_0x182602+_0x3b68a0)%0x4*0x8;}else{for(var _0x173154=0x0;_0x173154<_0x20ea65;_0x173154+=0x4)_0x18aae6[_0x182602+_0x173154>>>0x2]=_0x2b8b42[_0x173154>>>0x2];}return this[_0x139c12(0x26f)]+=_0x20ea65,this;},'clamp':function(){var _0x2f2c1c=_0x5d6e1b,_0x3d01f6=this[_0x2f2c1c(0xd3)],_0x551f49=this['sigBytes'];_0x3d01f6[_0x551f49>>>0x2]&=0xffffffff<<0x20-_0x551f49%0x4*0x8,_0x3d01f6[_0x2f2c1c(0x2e2)]=_0xe74558[_0x2f2c1c(0x1f1)](_0x551f49/0x4);},'clone':function(){var _0x1745bc=_0x5d6e1b,_0x4fdbec=_0x4606ea['clone'][_0x1745bc(0x321)](this);return _0x4fdbec['words']=this[_0x1745bc(0xd3)]['slice'](0x0),_0x4fdbec;},'random':function(_0xac4525){var _0x195e66=_0x5d6e1b;for(var _0x4d4929=[],_0x334a13=0x0;_0x334a13<_0xac4525;_0x334a13+=0x4)_0x4d4929[_0x195e66(0x21f)](_0x637f1f());return new _0x3dc1ba[(_0x195e66(0xbc))](_0x4d4929,_0xac4525);}}),_0x45931a=_0xe4fee9[_0x5d6e1b(0x2d2)]={},_0x35afe6=_0x45931a[_0x5d6e1b(0x2b0)]={'stringify':function(_0x33ce66){var _0x240eb3=_0x5d6e1b;for(var _0x13f43c=_0x33ce66[_0x240eb3(0xd3)],_0x1295d5=_0x33ce66[_0x240eb3(0x26f)],_0x42c30d=[],_0x31d226=0x0;_0x31d226<_0x1295d5;_0x31d226++){var _0x179ae4=_0x13f43c[_0x31d226>>>0x2]>>>0x18-_0x31d226%0x4*0x8&0xff;_0x42c30d[_0x240eb3(0x21f)]((_0x179ae4>>>0x4)['toString'](0x10)),_0x42c30d['push']((_0x179ae4&0xf)[_0x240eb3(0x110)](0x10));}return _0x42c30d[_0x240eb3(0x1ed)]('');},'parse':function(_0x139c03){var _0x33aa97=_0x5d6e1b;for(var _0x15a779=_0x139c03['length'],_0x1999f0=[],_0x13f2ca=0x0;_0x13f2ca<_0x15a779;_0x13f2ca+=0x2)_0x1999f0[_0x13f2ca>>>0x3]|=parseInt(_0x139c03['substr'](_0x13f2ca,0x2),0x10)<<0x18-_0x13f2ca%0x8*0x4;return new _0x3dc1ba[(_0x33aa97(0xbc))](_0x1999f0,_0x15a779/0x2);}},_0x48ed50=_0x45931a['Latin1']={'stringify':function(_0x216157){var _0x391b2c=_0x5d6e1b;for(var _0x50656a=_0x216157['words'],_0x1cf014=_0x216157['sigBytes'],_0x38ab95=[],_0x21c11a=0x0;_0x21c11a<_0x1cf014;_0x21c11a++){var _0x20dfa0=_0x50656a[_0x21c11a>>>0x2]>>>0x18-_0x21c11a%0x4*0x8&0xff;_0x38ab95['push'](String[_0x391b2c(0x36e)](_0x20dfa0));}return _0x38ab95[_0x391b2c(0x1ed)]('');},'parse':function(_0x2d6625){var _0x29d141=_0x5d6e1b;for(var _0x2d9067=_0x2d6625[_0x29d141(0x2e2)],_0x501440=[],_0x38d333=0x0;_0x38d333<_0x2d9067;_0x38d333++)_0x501440[_0x38d333>>>0x2]|=(_0x2d6625[_0x29d141(0x33a)](_0x38d333)&0xff)<<0x18-_0x38d333%0x4*0x8;return new _0x3dc1ba[(_0x29d141(0xbc))](_0x501440,_0x2d9067);}},_0x122d91=_0x45931a['Utf8']={'stringify':function(_0x574b9e){var _0x445879=_0x5d6e1b;try{return decodeURIComponent(escape(_0x48ed50[_0x445879(0x105)](_0x574b9e)));}catch{throw new Error(_0x445879(0x160));}},'parse':function(_0x6f274f){var _0x3336cd=_0x5d6e1b;return _0x48ed50[_0x3336cd(0xcc)](unescape(encodeURIComponent(_0x6f274f)));}},_0x5796ed=_0x3ae99b[_0x5d6e1b(0xea)]=_0x4606ea['extend']({'reset':function(){var _0x3c1412=_0x5d6e1b;this[_0x3c1412(0x1d5)]=new _0x3dc1ba[(_0x3c1412(0xbc))](),this[_0x3c1412(0x2c8)]=0x0;},'_append':function(_0x3120a6){var _0x129f54=_0x5d6e1b;typeof _0x3120a6==_0x129f54(0xa1)&&(_0x3120a6=_0x122d91['parse'](_0x3120a6)),this[_0x129f54(0x1d5)]['concat'](_0x3120a6),this[_0x129f54(0x2c8)]+=_0x3120a6[_0x129f54(0x26f)];},'_process':function(_0x199599){var _0x497ffb=_0x5d6e1b,_0x2b5db1,_0x5d90d5=this['_data'],_0x2a5c3c=_0x5d90d5[_0x497ffb(0xd3)],_0xf7a0d7=_0x5d90d5[_0x497ffb(0x26f)],_0x46070c=this[_0x497ffb(0xa2)],_0x515b76=_0x46070c*0x4,_0x2e8b82=_0xf7a0d7/_0x515b76;_0x199599?_0x2e8b82=_0xe74558['ceil'](_0x2e8b82):_0x2e8b82=_0xe74558[_0x497ffb(0x121)]((_0x2e8b82|0x0)-this['_minBufferSize'],0x0);var _0x2e9829=_0x2e8b82*_0x46070c,_0x71bc9=_0xe74558[_0x497ffb(0x154)](_0x2e9829*0x4,_0xf7a0d7);if(_0x2e9829){for(var _0x2b3647=0x0;_0x2b3647<_0x2e9829;_0x2b3647+=_0x46070c)this['_doProcessBlock'](_0x2a5c3c,_0x2b3647);_0x2b5db1=_0x2a5c3c['splice'](0x0,_0x2e9829),_0x5d90d5[_0x497ffb(0x26f)]-=_0x71bc9;}return new _0x3dc1ba['init'](_0x2b5db1,_0x71bc9);},'clone':function(){var _0xb3fb03=_0x5d6e1b,_0x2fb7f3=_0x4606ea['clone'][_0xb3fb03(0x321)](this);return _0x2fb7f3[_0xb3fb03(0x1d5)]=this['_data'][_0xb3fb03(0x341)](),_0x2fb7f3;},'_minBufferSize':0x0});_0x3ae99b[_0x5d6e1b(0x2b6)]=_0x5796ed['extend']({'cfg':_0x4606ea[_0x5d6e1b(0x31c)](),'init':function(_0x220886){var _0x71cb5b=_0x5d6e1b;this[_0x71cb5b(0x11b)]=this[_0x71cb5b(0x11b)][_0x71cb5b(0x31c)](_0x220886),this[_0x71cb5b(0x153)]();},'reset':function(){var _0x49f64f=_0x5d6e1b;_0x5796ed[_0x49f64f(0x153)][_0x49f64f(0x321)](this),this[_0x49f64f(0xcd)]();},'update':function(_0x1ac4ec){var _0x2d0979=_0x5d6e1b;return this[_0x2d0979(0x2ba)](_0x1ac4ec),this['_process'](),this;},'finalize':function(_0x3f79fd){var _0x79739a=_0x5d6e1b;_0x3f79fd&&this[_0x79739a(0x2ba)](_0x3f79fd);var _0x5e2f01=this[_0x79739a(0x224)]();return _0x5e2f01;},'blockSize':0x10,'_createHelper':function(_0x494b84){return function(_0x399c7c,_0x1f69df){var _0x339162=_0x36d8;return new _0x494b84[(_0x339162(0xbc))](_0x1f69df)['finalize'](_0x399c7c);};},'_createHmacHelper':function(_0x4b95d4){return function(_0x4f1802,_0x4a56cd){var _0x135e7e=_0x36d8;return new _0x1f2573['HMAC'][(_0x135e7e(0xbc))](_0x4b95d4,_0x4a56cd)['finalize'](_0x4f1802);};}});var _0x1f2573=_0xe4fee9[_0x5d6e1b(0xca)]={};return _0xe4fee9;}(Math);return _0xd0d098;}));}(Ge)),Ge[_0x38a3b9(0x376)];}var We={'exports':{}},Es=We[_0x32e2f2(0x376)],Zt;function Di(){var _0x406d61=_0x32e2f2;return Zt||(Zt=0x1,function(_0x56b855,_0xaf16b6){(function(_0x2e7db8,_0x8ac0c4){var _0xe079fb=_0x36d8;_0x56b855[_0xe079fb(0x376)]=_0x8ac0c4(ie());}(Es,function(_0x596c7b){var _0x3c622a=_0x36d8;return(function(){var _0x4a043a=_0x36d8,_0x21b3e4=_0x596c7b,_0x28cf16=_0x21b3e4[_0x4a043a(0x34e)],_0x5d5363=_0x28cf16[_0x4a043a(0x148)],_0x40f3f6=_0x21b3e4['enc'];_0x40f3f6['Base64']={'stringify':function(_0x55d4ae){var _0x3cebb3=_0x4a043a,_0x5c72a5=_0x55d4ae[_0x3cebb3(0xd3)],_0x1670f2=_0x55d4ae[_0x3cebb3(0x26f)],_0x33ce2f=this[_0x3cebb3(0x92)];_0x55d4ae[_0x3cebb3(0x245)]();for(var _0x113463=[],_0x58b36e=0x0;_0x58b36e<_0x1670f2;_0x58b36e+=0x3)for(var _0x1fa739=_0x5c72a5[_0x58b36e>>>0x2]>>>0x18-_0x58b36e%0x4*0x8&0xff,_0x53d54d=_0x5c72a5[_0x58b36e+0x1>>>0x2]>>>0x18-(_0x58b36e+0x1)%0x4*0x8&0xff,_0x376dd5=_0x5c72a5[_0x58b36e+0x2>>>0x2]>>>0x18-(_0x58b36e+0x2)%0x4*0x8&0xff,_0x480d66=_0x1fa739<<0x10|_0x53d54d<<0x8|_0x376dd5,_0x355294=0x0;_0x355294<0x4&&_0x58b36e+_0x355294*0.75<_0x1670f2;_0x355294++)_0x113463[_0x3cebb3(0x21f)](_0x33ce2f[_0x3cebb3(0x2b1)](_0x480d66>>>0x6*(0x3-_0x355294)&0x3f));var _0x137ec7=_0x33ce2f[_0x3cebb3(0x2b1)](0x40);if(_0x137ec7){for(;_0x113463['length']%0x4;)_0x113463[_0x3cebb3(0x21f)](_0x137ec7);}return _0x113463[_0x3cebb3(0x1ed)]('');},'parse':function(_0x529eee){var _0x45738d=_0x4a043a,_0x1208de=_0x529eee['length'],_0xeb2ca0=this[_0x45738d(0x92)],_0x380a26=this[_0x45738d(0x290)];if(!_0x380a26){_0x380a26=this[_0x45738d(0x290)]=[];for(var _0x35bbc2=0x0;_0x35bbc2<_0xeb2ca0[_0x45738d(0x2e2)];_0x35bbc2++)_0x380a26[_0xeb2ca0[_0x45738d(0x33a)](_0x35bbc2)]=_0x35bbc2;}var _0x18af3d=_0xeb2ca0[_0x45738d(0x2b1)](0x40);if(_0x18af3d){var _0x5977f1=_0x529eee[_0x45738d(0x264)](_0x18af3d);_0x5977f1!==-0x1&&(_0x1208de=_0x5977f1);}return _0x15efd9(_0x529eee,_0x1208de,_0x380a26);},'_map':_0x4a043a(0x337)};function _0x15efd9(_0x1f824c,_0x4028a7,_0x284b8){var _0x571c59=_0x4a043a;for(var _0x5657ca=[],_0x2bcf62=0x0,_0x30a76d=0x0;_0x30a76d<_0x4028a7;_0x30a76d++)if(_0x30a76d%0x4){var _0x287cc4=_0x284b8[_0x1f824c[_0x571c59(0x33a)](_0x30a76d-0x1)]<<_0x30a76d%0x4*0x2,_0x4ce0e8=_0x284b8[_0x1f824c[_0x571c59(0x33a)](_0x30a76d)]>>>0x6-_0x30a76d%0x4*0x2,_0x475ef4=_0x287cc4|_0x4ce0e8;_0x5657ca[_0x2bcf62>>>0x2]|=_0x475ef4<<0x18-_0x2bcf62%0x4*0x8,_0x2bcf62++;}return _0x5d5363['create'](_0x5657ca,_0x2bcf62);}}()),_0x596c7b[_0x3c622a(0x2d2)][_0x3c622a(0x1af)];}));}(We)),We[_0x406d61(0x376)];}var Ke={'exports':{}},Is=Ke[_0x32e2f2(0x376)],Qt;function _0x1a3d(){var _0x58c9e9=['EMAIL_HAS_BEEN_BOUND','_scheduleCompleteTimestamp','subject','_socketReady','encryptBlock','_waitForHeartbeatResponse','_schedule','fetching\x20missing\x20changesets\x20from\x20','range','set','collabSubmitChangesetUrl','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','iterations','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','pending','SOCKET_FAILED','charCodeAt','encodeURIComponent','OFFLINE','save\x20fail\x20reason\x20is\x20','/role','_tryEnsureSocket','values','clone','_type','MUTATION','univer-pro.collaboration-client.single-active-unit-service','USERS_LEAVE','hasher','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','resourceIDs','_candidateSocket','image/png','leaveEvent','objectActions','random','lib','_socket','transformStack\x20failed!','_parse','_oKey','[CollaborationState]:\x20apply\x20error!','deleteCollaborator','APPLY_PERMISSION_DENIED','_cipher','toggleOnline','fetchMiss','roomInfos','SUBMIT_CHANGESET_TIMEOUT','7SvQKsr','infoRsp','_submitChangeset','_acknowledgedAwaitingChangeset','getAllMembers','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_getAPIPrefix','_createInitialStateImpl','_onMessage','next','requestParams','_sessions','_initUnitPermissionChange','CHANGESET_ACK','toggleOffline','RETRY_CONNECTING_MAX_COUNT','_telemetryService','_initMergeInterceptor','_localCacheService','fromCharCode','[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.','_keyPriorReset','updateMember','findIndex','_getUploadFileURL','_state$','{fileID}','exports','localCacheService','_toggleOnline','session.room-not-exists','/universer-api/snapshot/','JOIN_ROOM_FAILED','PERMISSION_DENIED','PY_RUNTIME_SCRIPT_ERROR','collaboration-client.config','LICENSE_IMPORT_SIZE_EXCEEDED','/fetchmissing?from=','originalMeta','[DataLoaderService]','createDecryptor','reconnect','msCrypto','LICENSE_DISTRO_REJECTED','JOIN_ROOM_FULL','UNRECOGNIZED','params','onRemoteChangeset','CHANGESET_REVISION_CONFILICT','getInterceptPoints','fromCollab','_executeRemoteChangeset','_decreaseWaiting','ALREADY_EXISTS','_startCollaboration','\x0aAfter:\x20','getWorkbookSelections','entityInit$','[CollaborationEntity]','HEARTBEAT_TIMEOUT','_shouldReportTelemetry','HMAC','PERMISSION_REJ','reduce','_key','unitInfo$','url','INVITE_CODE_HAS_BEEN_UES','pad','_timeoutTimer','SHA1','MD5','transformSelections','method','getConfig','_nRounds','objects','_loadDoc','event$','_singleActiveUnitService','_map','YUUMI_ASYNCIO_CANCELLED','LIVESHARE_TERMINATE','_transitionLocked','UPDATE_CURSOR','salt','APPLY_NON_SEQUENTIAL_REVISION','HELLO','_clearScheduledTask','saveImage','ONLINE','/collaborator','_hasher','_snapshotService','processBlock','string','blockSize','_unitInfo$','json','csShouldRetryEvent','_members$','listCollaborators','AWAITING','function','__esModule','FETCH_MISS','loginUrlKey','StreamCipher','_configService','LIVESHARE_NEW_HOST','getUnit','editingUnit','APPLY_DUPLICATED','cmd','loadDoc','_doCryptBlock','UNDEFINED','_updateState','HEARTBEAT','conflict','startsWith','/object/','init','find','socketService','_event$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[PendingState]:\x20received\x20acknowledgement.','abs','_logService','_resendTimer','unitId\x20is\x20not\x20found','Encryptor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_members','Error\x20on\x20receiving\x20event','algo','hasOwnProperty','parse','_doReset','textRanges','_disableEditing','selections','every','_process','words','HmacMD5','RECV','change$','_handler','_iv','has','_awaitingChangeset','session.join-failed','_status$','_commandService','ERROR_EXCEED_SIZE','_change$','/unit/','BASE64','list','_getCtorByUniverType','collaboratorID','c1Prime','getUnitStatus$','SNAPSHOT_URL_KEY','__creator','APPLY_REVISION_CONFILICT','BufferedBlockAlgorithm','_undoStacks','_collaborationSessionService','saveChangeset','error','_throwTelemetryCollaborationNewChangeset','PERSON','[OfflineState]:\x20received\x20changeset.','_transformSelections','buffer','byteOffset','INVALID_INVITE_CODE','waitForRoom$','members$','changesets','awaitingChangeset','withCredentials','editing\x20status\x20changed\x20to','registerHTTPInterceptor','format','USER_NOT_INVITED_CODE','enableSingleActiveInstanceLock','eventID','_substituteRedoStack','UnitEmbedded','OpenSSL','Undefined','stringify','HttpExport','MOBILE_HAS_BEEN_BOUND','_onRecvEvent','unknown','encode','_updateStatus','localeService','_createHelper','submit\x20changeset\x20error!','unitID','toString','executeCommand','avatar','data','_collaborationUIEventService','subscribe','_getDownloadEndpointURL','create','UNIVER_SHEET','UNIVER_UNKNOWN','_socketMessageSubscription','cfg','_HTTPService','memberID','_onRemoteRetry','_initCloseConn','_getCurrentRevision','max','_startTelemetryCollaborationNewChangeset','getCollabEntity$','_instanceService','initWorkbookPermissionChange','key','_getAPIPrefixPath','_unlockTransition','transformMutationsWithChangeset','failed\x20to\x20apply\x20missed\x20changesets!','_onJoinRoomEvent','/rev/','_registerDependencies','OTHER_CLIENT_EDITING','onTransformState','LOGIN_FAILED','COLLAB_SUBMIT_CHANGESET_URL','isArray','_lockTransition','pluginName','COMPLETION_FINISHED','TOO_MANY_REQUESTS','_retryCount','reject','_getSendChangesetTimeout','putCollaborators','isPermissionRej','auth.needGotoLoginAlert','_tryReconnect','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','POST','map','getMember','_transformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20rejection.','createSocket','sheets','_updateLocalCache','WordArray','684xvZGtz','createCollaborator','USERS_ENTER','_snapshotServerService','startTime','setWaitCount','_clearCollaborationTimeoutTimer','[CollaborationSessionService]','getSheetId','_substituteUndoStack','reset','min','getDeserializedSheetBlock','focused$','_sendHeartbeatTimer','_getSignURL','unsubscribe','workbook','getTypeOfUnitAdded$','interceptor','[FetchMissState]','getSheetBlock','_commentUpdate$','Malformed\x20UTF-8\x20data','csAckEvent','image/gif','csRejEvent','body','SNAPSHOT_HAS_BEEN_REMOVED','mutations','?url=','_fetchMissChangesets','3513QHAvzE','_compressMutationService','sessionStatus$','&assign=','x-univer-host','_sendingTimer','BlockCipherMode','transformChangesets','add','disposeWithMe','pipe','YUUMI_UNABLE_LOAD_URL','status$','_applyRemoteChangeset','baseRev','session.room-cnt-exceeds','_clearRedo','resend','_clearLocalCache','collabWebSocketUrl','SHOULD_CLOSE_CONN','type','userID','LIVESHARE_REQUEST_HOST','SUCCUSS','_removeRoom','sid','JOIN_ROOM_PERMISSION_DENIED','PSEUDO_FETCH_MISSING_RESULT','_remoteChangesetQueue','dispose$','JOIN','_joinRoom','includes','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_PROJECT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','filter','finalize','INVALID_ARGUMENT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','appendMutation','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','kdf','getResourcesRequest','reverse','getSnapshotAPIPath','prototype','/-/object/-/batch_allowed','getLatestCsReqIdBySid','commentUpdate$','JOIN_ROOM_NOT_EXISTS','subUnitId','FileId','_initRequestHeader','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_changesetReqId','enableOfflineEditing','transformUndoRedo','crypto','onTransformRemoteChangesetByIMECache','_onUserLeave','PENDING','floor','readInt32LE','/resources','close','_ENC_XFORM_MODE','Base64','requireSession','formatter','_clearUndo','_commentService','UNIVER_COLLABORATION_CLIENT_PLUGIN','members','_checkMissing','$super','_permissionService','onTransformSelections','_onConflict','setShowComponents','getCurrentRevOfUnit','confirm','emitEvent','connection\x20error','_changesetSessionId','_transformService','file','86070LDntjk','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','mixIn','_eventService','apply','_stopTelemetryCollaborationNewChangeset','CONNECTOR_DATA_TOO_LARGE','/universer-api/snapshot','send','close$','_onUserJoin','_createSocket','HttpImport','onStateChange','[OfflineState]:\x20received\x20acknowledgement.','_transformStack','collaboration_new_changeset','snapshotServerUrl','_data','headers','_undoRedoService','_createInitialState','ENSURE_SNAPSHOT_EXECUTION','_resendWithTimeout','_DEC_XFORM_MODE','_onConnectionFailed','loadSheet','_imageSourceCache','routeKey','dispose','NEW_CHANGESETS','setCurrentUser','23297725Vogetj','listRoles','?size=','concat','UserProfileImg','_telemetryInfo','bind','JOINING','awaiting','onLocalMutation','join','SEND_CHANGESET_TIMEOUT','UNIVER_DOC','name','ceil','downloadEndpointUrl','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','not_collab','_resendTimeout','_collabSessionService','_config','onload','_xformMode','WECHAT_HAS_BEEN_BOUND','COMPRESS_MUTATION_SEND','_onRemoteACK','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','signUrlServerUrl','INGEST','createEncryptor','UPDATE_PERMISSION_OBJ','NoPadding','delete','OTHER_CLIENTS_EDITING','_onRemoteRejected','snapshot','_keySchedule','stopTime','override','addImageSourceCache','image/jpg','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initDependencies','_transformRemoteChangesetByIMECache','_sender','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','socket$','collaboration-client.local-cache-service','2865504ScxKTT','_getLoginPath','onTransformIME','ivSize','_onFetchMissResult','getRoom','_incrementRevisionNumber','_entityInit$','/universer-api/file/{fileID}/sign-url','sessionStatus','equals','retryConnectingInterval','push','ERROR_IMAGE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','loadOfflineData','code','_doFinalize','_retryConnectingTimer','onCommandExecuted','CHANGESET_SHOULD_RETRY','objectType','COMMENT_UPDATE','createInstance','getCollabEntity','getMemberID','getRandomValues','getUnitId','EvpKDF','UNIVER_SLIDE','randomUUID','getImage','UNKNOWN_CMD','getTime','/-/object/list','_invKeySchedule','_onRemoteChangeset','session.room-permission-denied','onTransformRemoteChangesetByStateCache','resolve','UNAUTHENTICATED','_sheetTransformSelectionsService','[CollaborationUndoRedoService]','complete','capture','repeat','_clearTimeoutTimer','fetchThroughInterceptors','_replaceFileID','saveSheetBlock','clamp','_loadSheet','onCommentUpdate','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','defineProperty','_mode','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_minBufferSize','ciphertext','Failed\x20to\x20update\x20permission\x20point','clear','splice','_handlerCallback','1976514fbKwog','update','_init','decrypt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','location','INVITE_CODE_ALREADY_BOUND','Cipher','getCurrentSelections','status','LOCAL_CACHE_INTERVAL','INTERNAL_ERROR','/universer-api/comb','onRemoteAck','default','_showConflictNotification','removeMember','_listenToNetworkCondition','indexOf','DEFAULT_FILE_NAME','getOwnPropertyDescriptor','_iKey','_clearRetryConnectingTimer','refreshPermission','mode','SNAPSHOT_SERVER_URL_KEY','YUUMI_URL_COL_OUT_OF_RANGE','_syncEditingCollabCursor','4BhpFiz','sigBytes','getUnitType','INVITE_CODE_REQUIRED','Pkcs7','FAIL','/new_changes','entries','target','hostname','BlockCipher','addHandlerCallback','OPTIONAL','PasswordBasedCipher','compute','deepClone','_entities','socket\x20close','updatePermissionPoint','get','post','actions','message$','incrementRevOfUnit','UNKNOWN_CODE','COMPRESS_MUTATION_APPLY','Utf8','APPLY_REJECT','getValue','[SyncedState]:\x20received\x20acknowledgement.','LEAVE','getActiveSheet','execute','unitId','_reverseMap','_rescheduleHeartbeat','CHANGESET_REJ','_onLocalMutation','reqId','forEach','_exhaustRemoteChangesetQueue','SUBMIT_CHANGESET','UnitSnapshot','image/bmp','keySize','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/allowed','FETCH_MISSING','NOT_FOUND','[PendingState]:\x20received\x20rejection.','_pendingMutations','onSendChangeset','objectID','_redoStacks','randomBytes','HmacSHA1','onMissedChangesetFetched','_userManagerService','onRemoteRej','_collaborationTimeoutTimer','href','[UniverCollaborationClientPlugin]','put','catch','readyForCollab','GLOBAL_ROOMS_CNT_EXCEEDS','Hex','charAt','_scheduleCollaborationTimeoutTimer','action','AES','liveShareOperation','Hasher','YUUMI_RATE_OVER_LIMIT','duration','_httpService','_append','_createHmacHelper','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','size','_transformUndoredo','YUUMI_NO_CUBOID_FOR_QUESTION','/universer-api/oidc/authpage','compose','updatePermissionObjEvent','_replayCachedMutations','NO_OTHER_CLIENTS_EDITING','responseType','getTypeOfUnitDisposed$','updateCursorEvent','_nDataBytes','_clearHeartbeatTimer','awaiting_with_pending','session.room-full','/universer-api/authz','COLLAB_WEB_SOCKET_URL','_socket$','session','/block/','getCurrentUser','enc','[CollaborationSessionService]:\x20socket\x20error','UUID','_univerInstanceService','Univer','_onConnectionOpen','_sessionStatus$','_toggleOffline','_hash','onlyLocal','disableLocalCache','state','byteLength','src','joinRsp','append','length','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','Could\x20not\x20dynamically\x20require\x20\x22','getImageSourceCache','_transformIMECache','AUTHZ_URL_KEY','slice','UNISCRIPT_RUN','_queuedRemoteChangesets','_memberService','asObservable','offline','_roomCreated$','LIVESHARE_FETCH_OPERATIONS','synced','MSG_FOR_ERROR','_getUndoStack','_collaborationPaused','_localeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','open$','Base','AWAITING_WITH_PENDING','liveShareNewHost','revision','_waitCount','image/jpeg','getFocusedUnit','CONFLICT','CLOSE_ROOM','NOT_COLLAB','now','LIVESHARE_OPERATION','_roomMembers','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketService','IDLE','onMissingChangesets','_getRedoStack','_onOffline','5937904GPOglO','uploadFileServerUrl','fetchMissingChangesets','online$','collaborators','_unitID','_revisionService','rev','debug','LICENSE_MAX_UNITS_EXCEEDED','106XVPfEK','_sendHeartbeat','\x20-\x20','updateOfflineData','_isPermissionRej','SOCKET_FAILED_RETRY','onRemoteRetry','extend','[OfflineState]:\x20received\x20rejection.','result','Decryptor','_createHandler','call','authzUrl','/universer-api/uniscript','replace','_transformStateCache','1551170oyqSGU','_injector','encrypt','onSyncEditingCollabCursor'];_0x1a3d=function(){return _0x58c9e9;};return _0x1a3d();}function Ts(){return Qt||(Qt=0x1,function(_0x59e45e,_0x286e10){(function(_0x101643,_0x1a3cef){var _0x14cfc7=_0x36d8;_0x59e45e[_0x14cfc7(0x376)]=_0x1a3cef(ie());}(Is,function(_0x3c3f84){var _0x25b8e8=_0x36d8;return function(_0xd39336){var _0x15e190=_0x36d8,_0x19ccb3=_0x3c3f84,_0x2f8bfe=_0x19ccb3['lib'],_0x378ca6=_0x2f8bfe[_0x15e190(0x148)],_0x132213=_0x2f8bfe[_0x15e190(0x2b6)],_0x4c0fd3=_0x19ccb3[_0x15e190(0xca)],_0x5bdcd5=[];(function(){var _0x83a9af=_0x15e190;for(var _0x16b8e4=0x0;_0x16b8e4<0x40;_0x16b8e4++)_0x5bdcd5[_0x16b8e4]=_0xd39336[_0x83a9af(0xc2)](_0xd39336['sin'](_0x16b8e4+0x1))*0x100000000|0x0;}());var _0xdb3a04=_0x4c0fd3['MD5']=_0x132213[_0x15e190(0x31c)]({'_doReset':function(){var _0x15bfa1=_0x15e190;this[_0x15bfa1(0x2da)]=new _0x378ca6[(_0x15bfa1(0xbc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x6dddc4,_0x576d20){for(var _0x549dd6=0x0;_0x549dd6<0x10;_0x549dd6++){var _0x62f3a9=_0x576d20+_0x549dd6,_0x195ebf=_0x6dddc4[_0x62f3a9];_0x6dddc4[_0x62f3a9]=(_0x195ebf<<0x8|_0x195ebf>>>0x18)&0xff00ff|(_0x195ebf<<0x18|_0x195ebf>>>0x8)&0xff00ff00;}var _0x1beeac=this['_hash']['words'],_0x4bcd32=_0x6dddc4[_0x576d20+0x0],_0x1ec463=_0x6dddc4[_0x576d20+0x1],_0x2adf77=_0x6dddc4[_0x576d20+0x2],_0x147a91=_0x6dddc4[_0x576d20+0x3],_0x5b5c34=_0x6dddc4[_0x576d20+0x4],_0x14eb57=_0x6dddc4[_0x576d20+0x5],_0x4bdfe7=_0x6dddc4[_0x576d20+0x6],_0x1d65d1=_0x6dddc4[_0x576d20+0x7],_0x471538=_0x6dddc4[_0x576d20+0x8],_0x1f41d0=_0x6dddc4[_0x576d20+0x9],_0x3bb24e=_0x6dddc4[_0x576d20+0xa],_0x475e91=_0x6dddc4[_0x576d20+0xb],_0x4fb5d5=_0x6dddc4[_0x576d20+0xc],_0x1badc3=_0x6dddc4[_0x576d20+0xd],_0x180aaa=_0x6dddc4[_0x576d20+0xe],_0x326d86=_0x6dddc4[_0x576d20+0xf],_0x32912a=_0x1beeac[0x0],_0x5d8529=_0x1beeac[0x1],_0x5b21d6=_0x1beeac[0x2],_0x3defb6=_0x1beeac[0x3];_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4bcd32,0x7,_0x5bdcd5[0x0]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1ec463,0xc,_0x5bdcd5[0x1]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x2adf77,0x11,_0x5bdcd5[0x2]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x147a91,0x16,_0x5bdcd5[0x3]),_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x5b5c34,0x7,_0x5bdcd5[0x4]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x14eb57,0xc,_0x5bdcd5[0x5]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x4bdfe7,0x11,_0x5bdcd5[0x6]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1d65d1,0x16,_0x5bdcd5[0x7]),_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x471538,0x7,_0x5bdcd5[0x8]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1f41d0,0xc,_0x5bdcd5[0x9]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x3bb24e,0x11,_0x5bdcd5[0xa]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x475e91,0x16,_0x5bdcd5[0xb]),_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4fb5d5,0x7,_0x5bdcd5[0xc]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1badc3,0xc,_0x5bdcd5[0xd]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x180aaa,0x11,_0x5bdcd5[0xe]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x326d86,0x16,_0x5bdcd5[0xf]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1ec463,0x5,_0x5bdcd5[0x10]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x4bdfe7,0x9,_0x5bdcd5[0x11]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x475e91,0xe,_0x5bdcd5[0x12]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x4bcd32,0x14,_0x5bdcd5[0x13]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x14eb57,0x5,_0x5bdcd5[0x14]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x3bb24e,0x9,_0x5bdcd5[0x15]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x326d86,0xe,_0x5bdcd5[0x16]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x5b5c34,0x14,_0x5bdcd5[0x17]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1f41d0,0x5,_0x5bdcd5[0x18]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x180aaa,0x9,_0x5bdcd5[0x19]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x147a91,0xe,_0x5bdcd5[0x1a]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x471538,0x14,_0x5bdcd5[0x1b]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1badc3,0x5,_0x5bdcd5[0x1c]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x2adf77,0x9,_0x5bdcd5[0x1d]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x1d65d1,0xe,_0x5bdcd5[0x1e]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x4fb5d5,0x14,_0x5bdcd5[0x1f]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x14eb57,0x4,_0x5bdcd5[0x20]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x471538,0xb,_0x5bdcd5[0x21]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x475e91,0x10,_0x5bdcd5[0x22]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x180aaa,0x17,_0x5bdcd5[0x23]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1ec463,0x4,_0x5bdcd5[0x24]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x5b5c34,0xb,_0x5bdcd5[0x25]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x1d65d1,0x10,_0x5bdcd5[0x26]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x3bb24e,0x17,_0x5bdcd5[0x27]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1badc3,0x4,_0x5bdcd5[0x28]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x4bcd32,0xb,_0x5bdcd5[0x29]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x147a91,0x10,_0x5bdcd5[0x2a]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x4bdfe7,0x17,_0x5bdcd5[0x2b]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1f41d0,0x4,_0x5bdcd5[0x2c]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x4fb5d5,0xb,_0x5bdcd5[0x2d]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x326d86,0x10,_0x5bdcd5[0x2e]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x2adf77,0x17,_0x5bdcd5[0x2f]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4bcd32,0x6,_0x5bdcd5[0x30]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1d65d1,0xa,_0x5bdcd5[0x31]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x180aaa,0xf,_0x5bdcd5[0x32]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x14eb57,0x15,_0x5bdcd5[0x33]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4fb5d5,0x6,_0x5bdcd5[0x34]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x147a91,0xa,_0x5bdcd5[0x35]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x3bb24e,0xf,_0x5bdcd5[0x36]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1ec463,0x15,_0x5bdcd5[0x37]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x471538,0x6,_0x5bdcd5[0x38]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x326d86,0xa,_0x5bdcd5[0x39]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x4bdfe7,0xf,_0x5bdcd5[0x3a]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1badc3,0x15,_0x5bdcd5[0x3b]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x5b5c34,0x6,_0x5bdcd5[0x3c]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x475e91,0xa,_0x5bdcd5[0x3d]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x2adf77,0xf,_0x5bdcd5[0x3e]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1f41d0,0x15,_0x5bdcd5[0x3f]),_0x1beeac[0x0]=_0x1beeac[0x0]+_0x32912a|0x0,_0x1beeac[0x1]=_0x1beeac[0x1]+_0x5d8529|0x0,_0x1beeac[0x2]=_0x1beeac[0x2]+_0x5b21d6|0x0,_0x1beeac[0x3]=_0x1beeac[0x3]+_0x3defb6|0x0;},'_doFinalize':function(){var _0x201850=_0x15e190,_0x17de0f=this[_0x201850(0x1d5)],_0x8e0d10=_0x17de0f[_0x201850(0xd3)],_0x556390=this[_0x201850(0x2c8)]*0x8,_0x269500=_0x17de0f[_0x201850(0x26f)]*0x8;_0x8e0d10[_0x269500>>>0x5]|=0x80<<0x18-_0x269500%0x20;var _0x24caac=_0xd39336['floor'](_0x556390/0x100000000),_0x457438=_0x556390;_0x8e0d10[(_0x269500+0x40>>>0x9<<0x4)+0xf]=(_0x24caac<<0x8|_0x24caac>>>0x18)&0xff00ff|(_0x24caac<<0x18|_0x24caac>>>0x8)&0xff00ff00,_0x8e0d10[(_0x269500+0x40>>>0x9<<0x4)+0xe]=(_0x457438<<0x8|_0x457438>>>0x18)&0xff00ff|(_0x457438<<0x18|_0x457438>>>0x8)&0xff00ff00,_0x17de0f[_0x201850(0x26f)]=(_0x8e0d10[_0x201850(0x2e2)]+0x1)*0x4,this['_process']();for(var _0x2ca620=this['_hash'],_0x5b1585=_0x2ca620[_0x201850(0xd3)],_0x47f43f=0x0;_0x47f43f<0x4;_0x47f43f++){var _0x57e40f=_0x5b1585[_0x47f43f];_0x5b1585[_0x47f43f]=(_0x57e40f<<0x8|_0x57e40f>>>0x18)&0xff00ff|(_0x57e40f<<0x18|_0x57e40f>>>0x8)&0xff00ff00;}return _0x2ca620;},'clone':function(){var _0x303d7b=_0x15e190,_0x2b432d=_0x132213[_0x303d7b(0x341)][_0x303d7b(0x321)](this);return _0x2b432d[_0x303d7b(0x2da)]=this[_0x303d7b(0x2da)]['clone'](),_0x2b432d;}});function _0x370136(_0xd754d6,_0x15ff05,_0x7afd7c,_0x2e436e,_0x14ba3b,_0x5d1ef2,_0x4ba441){var _0x21abd1=_0xd754d6+(_0x15ff05&_0x7afd7c|~_0x15ff05&_0x2e436e)+_0x14ba3b+_0x4ba441;return(_0x21abd1<<_0x5d1ef2|_0x21abd1>>>0x20-_0x5d1ef2)+_0x15ff05;}function _0x130476(_0x2d85f8,_0x1df21e,_0xda8d0b,_0x369ee3,_0x1b7c82,_0x557a37,_0x353fde){var _0x18293f=_0x2d85f8+(_0x1df21e&_0x369ee3|_0xda8d0b&~_0x369ee3)+_0x1b7c82+_0x353fde;return(_0x18293f<<_0x557a37|_0x18293f>>>0x20-_0x557a37)+_0x1df21e;}function _0x591a83(_0x450261,_0x2f591d,_0x3d8f92,_0x22d805,_0x5f2dfd,_0x27b10e,_0x2b923d){var _0x5ca0ac=_0x450261+(_0x2f591d^_0x3d8f92^_0x22d805)+_0x5f2dfd+_0x2b923d;return(_0x5ca0ac<<_0x27b10e|_0x5ca0ac>>>0x20-_0x27b10e)+_0x2f591d;}function _0x16ca6(_0x451bba,_0x222f0b,_0x7d39b3,_0x56a477,_0x3795a2,_0x328547,_0x3cfc73){var _0x4a3c4d=_0x451bba+(_0x7d39b3^(_0x222f0b|~_0x56a477))+_0x3795a2+_0x3cfc73;return(_0x4a3c4d<<_0x328547|_0x4a3c4d>>>0x20-_0x328547)+_0x222f0b;}_0x19ccb3['MD5']=_0x132213[_0x15e190(0x10d)](_0xdb3a04),_0x19ccb3[_0x15e190(0xd4)]=_0x132213[_0x15e190(0x2bb)](_0xdb3a04);}(Math),_0x3c3f84[_0x25b8e8(0x89)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x32e2f2(0x376)],ei;function Rs(){var _0x11a932=_0x32e2f2;return ei||(ei=0x1,function(_0x2be744,_0x484d1f){(function(_0x4e18db,_0x57a2e0){_0x2be744['exports']=_0x57a2e0(ie());}(Cs,function(_0x4ec39c){var _0x39e98d=_0x36d8;return(function(){var _0x571561=_0x36d8,_0x9b3046=_0x4ec39c,_0x28a936=_0x9b3046[_0x571561(0x34e)],_0x2c7a23=_0x28a936['WordArray'],_0x269b4c=_0x28a936[_0x571561(0x2b6)],_0x3fdefa=_0x9b3046[_0x571561(0xca)],_0x37ccb3=[],_0x142184=_0x3fdefa[_0x571561(0x88)]=_0x269b4c[_0x571561(0x31c)]({'_doReset':function(){var _0x2a25b0=_0x571561;this[_0x2a25b0(0x2da)]=new _0x2c7a23[(_0x2a25b0(0xbc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x50c5b4,_0x386d19){var _0x111ee7=_0x571561;for(var _0x28aad4=this['_hash'][_0x111ee7(0xd3)],_0x27925a=_0x28aad4[0x0],_0x4302d2=_0x28aad4[0x1],_0x5c8d06=_0x28aad4[0x2],_0x54510b=_0x28aad4[0x3],_0x20bd05=_0x28aad4[0x4],_0x2619f0=0x0;_0x2619f0<0x50;_0x2619f0++){if(_0x2619f0<0x10)_0x37ccb3[_0x2619f0]=_0x50c5b4[_0x386d19+_0x2619f0]|0x0;else{var _0x25005d=_0x37ccb3[_0x2619f0-0x3]^_0x37ccb3[_0x2619f0-0x8]^_0x37ccb3[_0x2619f0-0xe]^_0x37ccb3[_0x2619f0-0x10];_0x37ccb3[_0x2619f0]=_0x25005d<<0x1|_0x25005d>>>0x1f;}var _0x364306=(_0x27925a<<0x5|_0x27925a>>>0x1b)+_0x20bd05+_0x37ccb3[_0x2619f0];_0x2619f0<0x14?_0x364306+=(_0x4302d2&_0x5c8d06|~_0x4302d2&_0x54510b)+0x5a827999:_0x2619f0<0x28?_0x364306+=(_0x4302d2^_0x5c8d06^_0x54510b)+0x6ed9eba1:_0x2619f0<0x3c?_0x364306+=(_0x4302d2&_0x5c8d06|_0x4302d2&_0x54510b|_0x5c8d06&_0x54510b)-0x70e44324:_0x364306+=(_0x4302d2^_0x5c8d06^_0x54510b)-0x359d3e2a,_0x20bd05=_0x54510b,_0x54510b=_0x5c8d06,_0x5c8d06=_0x4302d2<<0x1e|_0x4302d2>>>0x2,_0x4302d2=_0x27925a,_0x27925a=_0x364306;}_0x28aad4[0x0]=_0x28aad4[0x0]+_0x27925a|0x0,_0x28aad4[0x1]=_0x28aad4[0x1]+_0x4302d2|0x0,_0x28aad4[0x2]=_0x28aad4[0x2]+_0x5c8d06|0x0,_0x28aad4[0x3]=_0x28aad4[0x3]+_0x54510b|0x0,_0x28aad4[0x4]=_0x28aad4[0x4]+_0x20bd05|0x0;},'_doFinalize':function(){var _0x48203c=_0x571561,_0x1f3f3a=this['_data'],_0x1e3258=_0x1f3f3a[_0x48203c(0xd3)],_0x239e30=this[_0x48203c(0x2c8)]*0x8,_0x3d7483=_0x1f3f3a[_0x48203c(0x26f)]*0x8;return _0x1e3258[_0x3d7483>>>0x5]|=0x80<<0x18-_0x3d7483%0x20,_0x1e3258[(_0x3d7483+0x40>>>0x9<<0x4)+0xe]=Math[_0x48203c(0x1aa)](_0x239e30/0x100000000),_0x1e3258[(_0x3d7483+0x40>>>0x9<<0x4)+0xf]=_0x239e30,_0x1f3f3a[_0x48203c(0x26f)]=_0x1e3258[_0x48203c(0x2e2)]*0x4,this[_0x48203c(0xd2)](),this[_0x48203c(0x2da)];},'clone':function(){var _0xdefc5a=_0x571561,_0x338805=_0x269b4c[_0xdefc5a(0x341)][_0xdefc5a(0x321)](this);return _0x338805[_0xdefc5a(0x2da)]=this[_0xdefc5a(0x2da)]['clone'](),_0x338805;}});_0x9b3046['SHA1']=_0x269b4c['_createHelper'](_0x142184),_0x9b3046[_0x571561(0x2a5)]=_0x269b4c[_0x571561(0x2bb)](_0x142184);}()),_0x4ec39c[_0x39e98d(0x88)];}));}(qe)),qe[_0x11a932(0x376)];}var ze={'exports':{}},bs=ze[_0x32e2f2(0x376)],ti;function Os(){return ti||(ti=0x1,function(_0x400c1f,_0x579313){(function(_0x13308a,_0x4c0c73){var _0x49a433=_0x36d8;_0x400c1f[_0x49a433(0x376)]=_0x4c0c73(ie());}(bs,function(_0x4f40cc){(function(){var _0x54a973=_0x36d8,_0x1666ca=_0x4f40cc,_0x4d4af0=_0x1666ca['lib'],_0x281045=_0x4d4af0[_0x54a973(0x2f8)],_0x5c84f3=_0x1666ca['enc'],_0x1f320a=_0x5c84f3[_0x54a973(0x288)],_0x4b104c=_0x1666ca['algo'];_0x4b104c[_0x54a973(0x7f)]=_0x281045[_0x54a973(0x31c)]({'init':function(_0x4067b0,_0x5615b2){var _0xfdce06=_0x54a973;_0x4067b0=this[_0xfdce06(0x9e)]=new _0x4067b0['init'](),typeof _0x5615b2==_0xfdce06(0xa1)&&(_0x5615b2=_0x1f320a[_0xfdce06(0xcc)](_0x5615b2));var _0x426222=_0x4067b0[_0xfdce06(0xa2)],_0x105f81=_0x426222*0x4;_0x5615b2[_0xfdce06(0x26f)]>_0x105f81&&(_0x5615b2=_0x4067b0[_0xfdce06(0x190)](_0x5615b2)),_0x5615b2[_0xfdce06(0x245)]();for(var _0x224328=this[_0xfdce06(0x352)]=_0x5615b2[_0xfdce06(0x341)](),_0x2889a6=this['_iKey']=_0x5615b2[_0xfdce06(0x341)](),_0x31d3e1=_0x224328['words'],_0x591447=_0x2889a6[_0xfdce06(0xd3)],_0x4a48bf=0x0;_0x4a48bf<_0x426222;_0x4a48bf++)_0x31d3e1[_0x4a48bf]^=0x5c5c5c5c,_0x591447[_0x4a48bf]^=0x36363636;_0x224328[_0xfdce06(0x26f)]=_0x2889a6[_0xfdce06(0x26f)]=_0x105f81,this['reset']();},'reset':function(){var _0x4fee64=_0x54a973,_0x4010a4=this[_0x4fee64(0x9e)];_0x4010a4[_0x4fee64(0x153)](),_0x4010a4[_0x4fee64(0x253)](this[_0x4fee64(0x267)]);},'update':function(_0x27e07e){var _0x232eac=_0x54a973;return this[_0x232eac(0x9e)][_0x232eac(0x253)](_0x27e07e),this;},'finalize':function(_0x5c62f2){var _0x456441=_0x54a973,_0x5689f8=this[_0x456441(0x9e)],_0x399883=_0x5689f8['finalize'](_0x5c62f2);_0x5689f8[_0x456441(0x153)]();var _0x599427=_0x5689f8[_0x456441(0x190)](this[_0x456441(0x352)][_0x456441(0x341)]()[_0x456441(0x1e6)](_0x399883));return _0x599427;}});}());}));}(ze)),ze['exports'];}var ys=Ye['exports'],ii;function Ui(){var _0x2c58cc=_0x32e2f2;return ii||(ii=0x1,function(_0x32c0be,_0x5382a4){(function(_0x4a3449,_0xd966a5,_0x13049b){var _0x5a2c79=_0x36d8;_0x32c0be[_0x5a2c79(0x376)]=_0xd966a5(ie(),Rs(),Os());}(ys,function(_0x5a3495){return(function(){var _0x5ed024=_0x36d8,_0x3cb9cd=_0x5a3495,_0x7cd2b6=_0x3cb9cd['lib'],_0x1f1a14=_0x7cd2b6[_0x5ed024(0x2f8)],_0x1824ef=_0x7cd2b6[_0x5ed024(0x148)],_0x301edd=_0x3cb9cd['algo'],_0x5155d7=_0x301edd[_0x5ed024(0x89)],_0x129158=_0x301edd['EvpKDF']=_0x1f1a14[_0x5ed024(0x31c)]({'cfg':_0x1f1a14[_0x5ed024(0x31c)]({'keySize':0x80/0x20,'hasher':_0x5155d7,'iterations':0x1}),'init':function(_0x400c67){var _0x5d5487=_0x5ed024;this[_0x5d5487(0x11b)]=this['cfg'][_0x5d5487(0x31c)](_0x400c67);},'compute':function(_0x4b54e9,_0x1111c1){var _0x5e4e81=_0x5ed024;for(var _0x143c2b,_0x48dde1=this[_0x5e4e81(0x11b)],_0x5c30e7=_0x48dde1[_0x5e4e81(0x346)]['create'](),_0x5eb3e3=_0x1824ef[_0x5e4e81(0x117)](),_0x5a4a27=_0x5eb3e3[_0x5e4e81(0xd3)],_0x5a9191=_0x48dde1['keySize'],_0x2a84b3=_0x48dde1[_0x5e4e81(0x336)];_0x5a4a27['length']<_0x5a9191;){_0x143c2b&&_0x5c30e7['update'](_0x143c2b),_0x143c2b=_0x5c30e7[_0x5e4e81(0x253)](_0x4b54e9)[_0x5e4e81(0x190)](_0x1111c1),_0x5c30e7[_0x5e4e81(0x153)]();for(var _0x309a7e=0x1;_0x309a7e<_0x2a84b3;_0x309a7e++)_0x143c2b=_0x5c30e7[_0x5e4e81(0x190)](_0x143c2b),_0x5c30e7[_0x5e4e81(0x153)]();_0x5eb3e3[_0x5e4e81(0x1e6)](_0x143c2b);}return _0x5eb3e3[_0x5e4e81(0x26f)]=_0x5a9191*0x4,_0x5eb3e3;}});_0x3cb9cd['EvpKDF']=function(_0x14cbec,_0x121064,_0x41ca86){var _0x2be196=_0x5ed024;return _0x129158[_0x2be196(0x117)](_0x41ca86)[_0x2be196(0x27c)](_0x14cbec,_0x121064);};}()),_0x5a3495['EvpKDF'];}));}(Ye)),Ye[_0x2c58cc(0x376)];}var Je={'exports':{}},Ns=Je[_0x32e2f2(0x376)],ni;function Ai(){var _0x12af95=_0x32e2f2;return ni||(ni=0x1,function(_0x4b22fc,_0x454165){(function(_0x5b58fb,_0xc525b1,_0x11b45f){var _0x19819d=_0x36d8;_0x4b22fc[_0x19819d(0x376)]=_0xc525b1(ie(),Ui());}(Ns,function(_0x37a289){var _0x32d0ab=_0x36d8;_0x37a289[_0x32d0ab(0x34e)]['Cipher']||function(_0x472cc4){var _0x3a0df8=_0x32d0ab,_0x1017ea=_0x37a289,_0x5732d7=_0x1017ea[_0x3a0df8(0x34e)],_0x1c3558=_0x5732d7['Base'],_0x2c3641=_0x5732d7[_0x3a0df8(0x148)],_0x5b5a88=_0x5732d7[_0x3a0df8(0xea)],_0x3569f0=_0x1017ea[_0x3a0df8(0x2d2)];_0x3569f0['Utf8'];var _0x36a7fb=_0x3569f0['Base64'],_0x332dd8=_0x1017ea[_0x3a0df8(0xca)],_0x3b677d=_0x332dd8[_0x3a0df8(0x22f)],_0x3f43de=_0x5732d7[_0x3a0df8(0x259)]=_0x5b5a88[_0x3a0df8(0x31c)]({'cfg':_0x1c3558[_0x3a0df8(0x31c)](),'createEncryptor':function(_0x3c5140,_0x73075){var _0x2cd620=_0x3a0df8;return this['create'](this[_0x2cd620(0x1ae)],_0x3c5140,_0x73075);},'createDecryptor':function(_0x3c9434,_0x4bd54c){var _0x49bffb=_0x3a0df8;return this[_0x49bffb(0x117)](this[_0x49bffb(0x1db)],_0x3c9434,_0x4bd54c);},'init':function(_0x20f49b,_0x734e74,_0x2f3d92){var _0x1cd2a2=_0x3a0df8;this[_0x1cd2a2(0x11b)]=this[_0x1cd2a2(0x11b)][_0x1cd2a2(0x31c)](_0x2f3d92),this[_0x1cd2a2(0x1f9)]=_0x20f49b,this['_key']=_0x734e74,this[_0x1cd2a2(0x153)]();},'reset':function(){var _0x3482d8=_0x3a0df8;_0x5b5a88[_0x3482d8(0x153)]['call'](this),this['_doReset']();},'process':function(_0x817d17){var _0x1f2f04=_0x3a0df8;return this[_0x1f2f04(0x2ba)](_0x817d17),this[_0x1f2f04(0xd2)]();},'finalize':function(_0x235fa4){var _0xf881c5=_0x3a0df8;_0x235fa4&&this[_0xf881c5(0x2ba)](_0x235fa4);var _0xe35513=this[_0xf881c5(0x224)]();return _0xe35513;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x41235a(_0x3e1d64){var _0x1dafd5=_0x36d8;return typeof _0x3e1d64==_0x1dafd5(0xa1)?_0x4e3d3f:_0x29c904;}return function(_0x1bb95){return{'encrypt':function(_0x5cfbea,_0x558dd8,_0x4480cb){var _0x20b1c4=_0x36d8;return _0x41235a(_0x558dd8)[_0x20b1c4(0x328)](_0x1bb95,_0x5cfbea,_0x558dd8,_0x4480cb);},'decrypt':function(_0x413869,_0xd1ee2,_0x153ab9){var _0x2c12c9=_0x36d8;return _0x41235a(_0xd1ee2)[_0x2c12c9(0x255)](_0x1bb95,_0x413869,_0xd1ee2,_0x153ab9);}};};}())});_0x5732d7[_0x3a0df8(0xad)]=_0x3f43de['extend']({'_doFinalize':function(){var _0x2cc468=this['_process'](!0x0);return _0x2cc468;},'blockSize':0x1});var _0x3bdb94=_0x1017ea[_0x3a0df8(0x26a)]={},_0x470e22=_0x5732d7[_0x3a0df8(0x16f)]=_0x1c3558[_0x3a0df8(0x31c)]({'createEncryptor':function(_0x7c1415,_0x41468e){var _0x4ed88c=_0x3a0df8;return this[_0x4ed88c(0xc6)]['create'](_0x7c1415,_0x41468e);},'createDecryptor':function(_0x5de2ce,_0x11c612){var _0x342d47=_0x3a0df8;return this[_0x342d47(0x31f)][_0x342d47(0x117)](_0x5de2ce,_0x11c612);},'init':function(_0x54ff4b,_0xa9b7b7){var _0x39a322=_0x3a0df8;this[_0x39a322(0x356)]=_0x54ff4b,this['_iv']=_0xa9b7b7;}}),_0x555b93=_0x3bdb94['CBC']=(function(){var _0x2d482d=_0x3a0df8,_0x57b0a0=_0x470e22[_0x2d482d(0x31c)]();_0x57b0a0[_0x2d482d(0xc6)]=_0x57b0a0[_0x2d482d(0x31c)]({'processBlock':function(_0x1d4813,_0x4c429e){var _0x42fecf=_0x2d482d,_0x5d5c91=this[_0x42fecf(0x356)],_0x2184e2=_0x5d5c91[_0x42fecf(0xa2)];_0x1a6c34['call'](this,_0x1d4813,_0x4c429e,_0x2184e2),_0x5d5c91[_0x42fecf(0x32e)](_0x1d4813,_0x4c429e),this['_prevBlock']=_0x1d4813['slice'](_0x4c429e,_0x4c429e+_0x2184e2);}}),_0x57b0a0['Decryptor']=_0x57b0a0['extend']({'processBlock':function(_0x36880a,_0x16782f){var _0x569722=_0x2d482d,_0x4f627a=this[_0x569722(0x356)],_0x5ea68c=_0x4f627a['blockSize'],_0xb84cd7=_0x36880a[_0x569722(0x2e9)](_0x16782f,_0x16782f+_0x5ea68c);_0x4f627a['decryptBlock'](_0x36880a,_0x16782f),_0x1a6c34[_0x569722(0x321)](this,_0x36880a,_0x16782f,_0x5ea68c),this['_prevBlock']=_0xb84cd7;}});function _0x1a6c34(_0x46efad,_0x39517f,_0x1af3f7){var _0x76710c=_0x2d482d,_0x378ed5,_0xead57b=this[_0x76710c(0xd8)];_0xead57b?(_0x378ed5=_0xead57b,this['_iv']=_0x472cc4):_0x378ed5=this['_prevBlock'];for(var _0x166d44=0x0;_0x166d44<_0x1af3f7;_0x166d44++)_0x46efad[_0x39517f+_0x166d44]^=_0x378ed5[_0x166d44];}return _0x57b0a0;}()),_0x15ba87=_0x1017ea['pad']={},_0x1d7ed2=_0x15ba87[_0x3a0df8(0x272)]={'pad':function(_0x1fb167,_0x41124a){var _0x2b3f84=_0x3a0df8;for(var _0x159242=_0x41124a*0x4,_0x39a12d=_0x159242-_0x1fb167[_0x2b3f84(0x26f)]%_0x159242,_0x1c8b12=_0x39a12d<<0x18|_0x39a12d<<0x10|_0x39a12d<<0x8|_0x39a12d,_0x5bb520=[],_0x249279=0x0;_0x249279<_0x39a12d;_0x249279+=0x4)_0x5bb520[_0x2b3f84(0x21f)](_0x1c8b12);var _0x2e9be5=_0x2c3641[_0x2b3f84(0x117)](_0x5bb520,_0x39a12d);_0x1fb167[_0x2b3f84(0x1e6)](_0x2e9be5);},'unpad':function(_0x569710){var _0x21af36=_0x3a0df8,_0x2cf1f1=_0x569710['words'][_0x569710[_0x21af36(0x26f)]-0x1>>>0x2]&0xff;_0x569710['sigBytes']-=_0x2cf1f1;}};_0x5732d7[_0x3a0df8(0x278)]=_0x3f43de[_0x3a0df8(0x31c)]({'cfg':_0x3f43de[_0x3a0df8(0x11b)][_0x3a0df8(0x31c)]({'mode':_0x555b93,'padding':_0x1d7ed2}),'reset':function(){var _0x2ab5d9=_0x3a0df8,_0x4cae46;_0x3f43de[_0x2ab5d9(0x153)]['call'](this);var _0x219dec=this[_0x2ab5d9(0x11b)],_0x5bb03d=_0x219dec['iv'],_0x581e81=_0x219dec['mode'];this[_0x2ab5d9(0x1f9)]==this[_0x2ab5d9(0x1ae)]?_0x4cae46=_0x581e81[_0x2ab5d9(0x200)]:(_0x4cae46=_0x581e81[_0x2ab5d9(0x383)],this[_0x2ab5d9(0x24c)]=0x1),this[_0x2ab5d9(0x24a)]&&this[_0x2ab5d9(0x24a)][_0x2ab5d9(0xe8)]==_0x4cae46?this[_0x2ab5d9(0x24a)][_0x2ab5d9(0xbc)](this,_0x5bb03d&&_0x5bb03d['words']):(this[_0x2ab5d9(0x24a)]=_0x4cae46[_0x2ab5d9(0x321)](_0x581e81,this,_0x5bb03d&&_0x5bb03d[_0x2ab5d9(0xd3)]),this[_0x2ab5d9(0x24a)]['__creator']=_0x4cae46);},'_doProcessBlock':function(_0x2e8e38,_0x4b2b0e){var _0x146659=_0x3a0df8;this['_mode'][_0x146659(0xa0)](_0x2e8e38,_0x4b2b0e);},'_doFinalize':function(){var _0xba4f7d=_0x3a0df8,_0x468eaa,_0x4d70b5=this['cfg']['padding'];return this[_0xba4f7d(0x1f9)]==this[_0xba4f7d(0x1ae)]?(_0x4d70b5[_0xba4f7d(0x86)](this[_0xba4f7d(0x1d5)],this[_0xba4f7d(0xa2)]),_0x468eaa=this[_0xba4f7d(0xd2)](!0x0)):(_0x468eaa=this[_0xba4f7d(0xd2)](!0x0),_0x4d70b5['unpad'](_0x468eaa)),_0x468eaa;},'blockSize':0x80/0x20});var _0x4778cb=_0x5732d7['CipherParams']=_0x1c3558[_0x3a0df8(0x31c)]({'init':function(_0x351ecb){var _0x1edf45=_0x3a0df8;this[_0x1edf45(0x1c5)](_0x351ecb);},'toString':function(_0x5894fc){var _0x2cad09=_0x3a0df8;return(_0x5894fc||this[_0x2cad09(0x1b1)])['stringify'](this);}}),_0x1e8d9b=_0x1017ea['format']={},_0x231761=_0x1e8d9b[_0x3a0df8(0x103)]={'stringify':function(_0x2de05a){var _0x22b5ee=_0x3a0df8,_0x555da7,_0x2d6985=_0x2de05a[_0x22b5ee(0x24d)],_0x32c04a=_0x2de05a[_0x22b5ee(0x97)];return _0x32c04a?_0x555da7=_0x2c3641[_0x22b5ee(0x117)]([0x53616c74,0x65645f5f])['concat'](_0x32c04a)[_0x22b5ee(0x1e6)](_0x2d6985):_0x555da7=_0x2d6985,_0x555da7[_0x22b5ee(0x110)](_0x36a7fb);},'parse':function(_0x11f52d){var _0x3b8374=_0x3a0df8,_0x31babd,_0x32bbc2=_0x36a7fb[_0x3b8374(0xcc)](_0x11f52d),_0x23cdf9=_0x32bbc2[_0x3b8374(0xd3)];return _0x23cdf9[0x0]==0x53616c74&&_0x23cdf9[0x1]==0x65645f5f&&(_0x31babd=_0x2c3641[_0x3b8374(0x117)](_0x23cdf9[_0x3b8374(0x2e9)](0x2,0x4)),_0x23cdf9[_0x3b8374(0x250)](0x0,0x4),_0x32bbc2[_0x3b8374(0x26f)]-=0x10),_0x4778cb[_0x3b8374(0x117)]({'ciphertext':_0x32bbc2,'salt':_0x31babd});}},_0x29c904=_0x5732d7['SerializableCipher']=_0x1c3558[_0x3a0df8(0x31c)]({'cfg':_0x1c3558[_0x3a0df8(0x31c)]({'format':_0x231761}),'encrypt':function(_0x55d476,_0x15a654,_0x351872,_0x39f53b){var _0x5b35b2=_0x3a0df8;_0x39f53b=this[_0x5b35b2(0x11b)][_0x5b35b2(0x31c)](_0x39f53b);var _0xb1bfa=_0x55d476[_0x5b35b2(0x200)](_0x351872,_0x39f53b),_0x5c77b6=_0xb1bfa['finalize'](_0x15a654),_0xf5f122=_0xb1bfa[_0x5b35b2(0x11b)];return _0x4778cb[_0x5b35b2(0x117)]({'ciphertext':_0x5c77b6,'key':_0x351872,'iv':_0xf5f122['iv'],'algorithm':_0x55d476,'mode':_0xf5f122[_0x5b35b2(0x26a)],'padding':_0xf5f122['padding'],'blockSize':_0x55d476[_0x5b35b2(0xa2)],'formatter':_0x39f53b[_0x5b35b2(0xfd)]});},'decrypt':function(_0x4ca67f,_0x1a7feb,_0x5153b7,_0x4d6148){var _0x4f8118=_0x3a0df8;_0x4d6148=this['cfg'][_0x4f8118(0x31c)](_0x4d6148),_0x1a7feb=this[_0x4f8118(0x351)](_0x1a7feb,_0x4d6148['format']);var _0x15d415=_0x4ca67f['createDecryptor'](_0x5153b7,_0x4d6148)[_0x4f8118(0x190)](_0x1a7feb[_0x4f8118(0x24d)]);return _0x15d415;},'_parse':function(_0x164828,_0x277054){var _0x5345b7=_0x3a0df8;return typeof _0x164828==_0x5345b7(0xa1)?_0x277054['parse'](_0x164828,this):_0x164828;}}),_0x2df863=_0x1017ea[_0x3a0df8(0x196)]={},_0x319678=_0x2df863[_0x3a0df8(0x103)]={'execute':function(_0x5e9d94,_0x2c4a37,_0x460306,_0x1477a7,_0x3067b7){var _0x4a8ee2=_0x3a0df8;if(_0x1477a7||(_0x1477a7=_0x2c3641[_0x4a8ee2(0x34d)](0x40/0x8)),_0x3067b7)var _0x461e2c=_0x3b677d[_0x4a8ee2(0x117)]({'keySize':_0x2c4a37+_0x460306,'hasher':_0x3067b7})[_0x4a8ee2(0x27c)](_0x5e9d94,_0x1477a7);else var _0x461e2c=_0x3b677d['create']({'keySize':_0x2c4a37+_0x460306})[_0x4a8ee2(0x27c)](_0x5e9d94,_0x1477a7);var _0x355fa8=_0x2c3641['create'](_0x461e2c[_0x4a8ee2(0xd3)][_0x4a8ee2(0x2e9)](_0x2c4a37),_0x460306*0x4);return _0x461e2c[_0x4a8ee2(0x26f)]=_0x2c4a37*0x4,_0x4778cb['create']({'key':_0x461e2c,'iv':_0x355fa8,'salt':_0x1477a7});}},_0x4e3d3f=_0x5732d7[_0x3a0df8(0x27b)]=_0x29c904[_0x3a0df8(0x31c)]({'cfg':_0x29c904[_0x3a0df8(0x11b)][_0x3a0df8(0x31c)]({'kdf':_0x319678}),'encrypt':function(_0x29b891,_0x15f067,_0x58c5a0,_0x229ad0){var _0x205af7=_0x3a0df8;_0x229ad0=this[_0x205af7(0x11b)][_0x205af7(0x31c)](_0x229ad0);var _0xbc2abd=_0x229ad0[_0x205af7(0x196)][_0x205af7(0x28e)](_0x58c5a0,_0x29b891[_0x205af7(0x29a)],_0x29b891[_0x205af7(0x216)],_0x229ad0['salt'],_0x229ad0[_0x205af7(0x346)]);_0x229ad0['iv']=_0xbc2abd['iv'];var _0x113bdb=_0x29c904[_0x205af7(0x328)]['call'](this,_0x29b891,_0x15f067,_0xbc2abd[_0x205af7(0x126)],_0x229ad0);return _0x113bdb[_0x205af7(0x1c5)](_0xbc2abd),_0x113bdb;},'decrypt':function(_0x43d029,_0x32bb1b,_0x45826e,_0x47ef67){var _0x4a788f=_0x3a0df8;_0x47ef67=this[_0x4a788f(0x11b)][_0x4a788f(0x31c)](_0x47ef67),_0x32bb1b=this[_0x4a788f(0x351)](_0x32bb1b,_0x47ef67[_0x4a788f(0xfd)]);var _0x580e57=_0x47ef67['kdf'][_0x4a788f(0x28e)](_0x45826e,_0x43d029['keySize'],_0x43d029['ivSize'],_0x32bb1b['salt'],_0x47ef67['hasher']);_0x47ef67['iv']=_0x580e57['iv'];var _0x2f7a96=_0x29c904[_0x4a788f(0x255)][_0x4a788f(0x321)](this,_0x43d029,_0x32bb1b,_0x580e57[_0x4a788f(0x126)],_0x47ef67);return _0x2f7a96;}});}();}));}(Je)),Je[_0x12af95(0x376)];}var Ds=Ve[_0x32e2f2(0x376)],si;function Us(){var _0x322cc5=_0x32e2f2;return si||(si=0x1,function(_0x6e6572,_0x582e7d){(function(_0x2f1e68,_0x4faf8c,_0x36f035){_0x6e6572['exports']=_0x4faf8c(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x417965){var _0x3a8623=_0x36d8;return(function(){var _0x2ab23d=_0x36d8,_0x159fa1=_0x417965,_0x3ecef9=_0x159fa1['lib'],_0x2b5c05=_0x3ecef9['BlockCipher'],_0x595159=_0x159fa1[_0x2ab23d(0xca)],_0x35db7c=[],_0x422d3a=[],_0x4bb514=[],_0x4e266c=[],_0x37b4e7=[],_0x1eeefc=[],_0x42bae2=[],_0x3b27fd=[],_0x4248cf=[],_0x202e94=[];(function(){for(var _0x2f5578=[],_0x578aa3=0x0;_0x578aa3<0x100;_0x578aa3++)_0x578aa3<0x80?_0x2f5578[_0x578aa3]=_0x578aa3<<0x1:_0x2f5578[_0x578aa3]=_0x578aa3<<0x1^0x11b;for(var _0x49f5c8=0x0,_0x3e8dfb=0x0,_0x578aa3=0x0;_0x578aa3<0x100;_0x578aa3++){var _0x59a9cd=_0x3e8dfb^_0x3e8dfb<<0x1^_0x3e8dfb<<0x2^_0x3e8dfb<<0x3^_0x3e8dfb<<0x4;_0x59a9cd=_0x59a9cd>>>0x8^_0x59a9cd&0xff^0x63,_0x35db7c[_0x49f5c8]=_0x59a9cd,_0x422d3a[_0x59a9cd]=_0x49f5c8;var _0x5b6d24=_0x2f5578[_0x49f5c8],_0x537ed5=_0x2f5578[_0x5b6d24],_0xe92fbd=_0x2f5578[_0x537ed5],_0x109906=_0x2f5578[_0x59a9cd]*0x101^_0x59a9cd*0x1010100;_0x4bb514[_0x49f5c8]=_0x109906<<0x18|_0x109906>>>0x8,_0x4e266c[_0x49f5c8]=_0x109906<<0x10|_0x109906>>>0x10,_0x37b4e7[_0x49f5c8]=_0x109906<<0x8|_0x109906>>>0x18,_0x1eeefc[_0x49f5c8]=_0x109906;var _0x109906=_0xe92fbd*0x1010101^_0x537ed5*0x10001^_0x5b6d24*0x101^_0x49f5c8*0x1010100;_0x42bae2[_0x59a9cd]=_0x109906<<0x18|_0x109906>>>0x8,_0x3b27fd[_0x59a9cd]=_0x109906<<0x10|_0x109906>>>0x10,_0x4248cf[_0x59a9cd]=_0x109906<<0x8|_0x109906>>>0x18,_0x202e94[_0x59a9cd]=_0x109906,_0x49f5c8?(_0x49f5c8=_0x5b6d24^_0x2f5578[_0x2f5578[_0x2f5578[_0xe92fbd^_0x5b6d24]]],_0x3e8dfb^=_0x2f5578[_0x2f5578[_0x3e8dfb]]):_0x49f5c8=_0x3e8dfb=0x1;}}());var _0x2eb99e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x33ce8b=_0x595159['AES']=_0x2b5c05[_0x2ab23d(0x31c)]({'_doReset':function(){var _0x482dc1=_0x2ab23d,_0x5e9e3f;if(!(this[_0x482dc1(0x8d)]&&this[_0x482dc1(0x370)]===this[_0x482dc1(0x82)])){for(var _0x5018ff=this[_0x482dc1(0x370)]=this['_key'],_0xb259b4=_0x5018ff[_0x482dc1(0xd3)],_0x2eb11e=_0x5018ff[_0x482dc1(0x26f)]/0x4,_0x46843f=this[_0x482dc1(0x8d)]=_0x2eb11e+0x6,_0x322fdf=(_0x46843f+0x1)*0x4,_0x241238=this[_0x482dc1(0x207)]=[],_0x148b61=0x0;_0x148b61<_0x322fdf;_0x148b61++)_0x148b61<_0x2eb11e?_0x241238[_0x148b61]=_0xb259b4[_0x148b61]:(_0x5e9e3f=_0x241238[_0x148b61-0x1],_0x148b61%_0x2eb11e?_0x2eb11e>0x6&&_0x148b61%_0x2eb11e==0x4&&(_0x5e9e3f=_0x35db7c[_0x5e9e3f>>>0x18]<<0x18|_0x35db7c[_0x5e9e3f>>>0x10&0xff]<<0x10|_0x35db7c[_0x5e9e3f>>>0x8&0xff]<<0x8|_0x35db7c[_0x5e9e3f&0xff]):(_0x5e9e3f=_0x5e9e3f<<0x8|_0x5e9e3f>>>0x18,_0x5e9e3f=_0x35db7c[_0x5e9e3f>>>0x18]<<0x18|_0x35db7c[_0x5e9e3f>>>0x10&0xff]<<0x10|_0x35db7c[_0x5e9e3f>>>0x8&0xff]<<0x8|_0x35db7c[_0x5e9e3f&0xff],_0x5e9e3f^=_0x2eb99e[_0x148b61/_0x2eb11e|0x0]<<0x18),_0x241238[_0x148b61]=_0x241238[_0x148b61-_0x2eb11e]^_0x5e9e3f);for(var _0x52f522=this[_0x482dc1(0x236)]=[],_0x4d9aa4=0x0;_0x4d9aa4<_0x322fdf;_0x4d9aa4++){var _0x148b61=_0x322fdf-_0x4d9aa4;if(_0x4d9aa4%0x4)var _0x5e9e3f=_0x241238[_0x148b61];else var _0x5e9e3f=_0x241238[_0x148b61-0x4];_0x4d9aa4<0x4||_0x148b61<=0x4?_0x52f522[_0x4d9aa4]=_0x5e9e3f:_0x52f522[_0x4d9aa4]=_0x42bae2[_0x35db7c[_0x5e9e3f>>>0x18]]^_0x3b27fd[_0x35db7c[_0x5e9e3f>>>0x10&0xff]]^_0x4248cf[_0x35db7c[_0x5e9e3f>>>0x8&0xff]]^_0x202e94[_0x35db7c[_0x5e9e3f&0xff]];}}},'encryptBlock':function(_0x5de686,_0x4df2b6){var _0x322819=_0x2ab23d;this[_0x322819(0xb5)](_0x5de686,_0x4df2b6,this[_0x322819(0x207)],_0x4bb514,_0x4e266c,_0x37b4e7,_0x1eeefc,_0x35db7c);},'decryptBlock':function(_0x17a0cc,_0x3decce){var _0x5a4b16=_0x2ab23d,_0x2f1024=_0x17a0cc[_0x3decce+0x1];_0x17a0cc[_0x3decce+0x1]=_0x17a0cc[_0x3decce+0x3],_0x17a0cc[_0x3decce+0x3]=_0x2f1024,this['_doCryptBlock'](_0x17a0cc,_0x3decce,this[_0x5a4b16(0x236)],_0x42bae2,_0x3b27fd,_0x4248cf,_0x202e94,_0x422d3a);var _0x2f1024=_0x17a0cc[_0x3decce+0x1];_0x17a0cc[_0x3decce+0x1]=_0x17a0cc[_0x3decce+0x3],_0x17a0cc[_0x3decce+0x3]=_0x2f1024;},'_doCryptBlock':function(_0x4406c9,_0x5628c5,_0x150800,_0xd7881c,_0x25257f,_0x21f03c,_0x2970c6,_0x3fd734){for(var _0x57790b=this['_nRounds'],_0x5379d2=_0x4406c9[_0x5628c5]^_0x150800[0x0],_0x47a901=_0x4406c9[_0x5628c5+0x1]^_0x150800[0x1],_0x4f8fd7=_0x4406c9[_0x5628c5+0x2]^_0x150800[0x2],_0x5e8647=_0x4406c9[_0x5628c5+0x3]^_0x150800[0x3],_0x27bb62=0x4,_0x334239=0x1;_0x334239<_0x57790b;_0x334239++){var _0x5744bc=_0xd7881c[_0x5379d2>>>0x18]^_0x25257f[_0x47a901>>>0x10&0xff]^_0x21f03c[_0x4f8fd7>>>0x8&0xff]^_0x2970c6[_0x5e8647&0xff]^_0x150800[_0x27bb62++],_0x210966=_0xd7881c[_0x47a901>>>0x18]^_0x25257f[_0x4f8fd7>>>0x10&0xff]^_0x21f03c[_0x5e8647>>>0x8&0xff]^_0x2970c6[_0x5379d2&0xff]^_0x150800[_0x27bb62++],_0x27a89a=_0xd7881c[_0x4f8fd7>>>0x18]^_0x25257f[_0x5e8647>>>0x10&0xff]^_0x21f03c[_0x5379d2>>>0x8&0xff]^_0x2970c6[_0x47a901&0xff]^_0x150800[_0x27bb62++],_0x57f863=_0xd7881c[_0x5e8647>>>0x18]^_0x25257f[_0x5379d2>>>0x10&0xff]^_0x21f03c[_0x47a901>>>0x8&0xff]^_0x2970c6[_0x4f8fd7&0xff]^_0x150800[_0x27bb62++];_0x5379d2=_0x5744bc,_0x47a901=_0x210966,_0x4f8fd7=_0x27a89a,_0x5e8647=_0x57f863;}var _0x5744bc=(_0x3fd734[_0x5379d2>>>0x18]<<0x18|_0x3fd734[_0x47a901>>>0x10&0xff]<<0x10|_0x3fd734[_0x4f8fd7>>>0x8&0xff]<<0x8|_0x3fd734[_0x5e8647&0xff])^_0x150800[_0x27bb62++],_0x210966=(_0x3fd734[_0x47a901>>>0x18]<<0x18|_0x3fd734[_0x4f8fd7>>>0x10&0xff]<<0x10|_0x3fd734[_0x5e8647>>>0x8&0xff]<<0x8|_0x3fd734[_0x5379d2&0xff])^_0x150800[_0x27bb62++],_0x27a89a=(_0x3fd734[_0x4f8fd7>>>0x18]<<0x18|_0x3fd734[_0x5e8647>>>0x10&0xff]<<0x10|_0x3fd734[_0x5379d2>>>0x8&0xff]<<0x8|_0x3fd734[_0x47a901&0xff])^_0x150800[_0x27bb62++],_0x57f863=(_0x3fd734[_0x5e8647>>>0x18]<<0x18|_0x3fd734[_0x5379d2>>>0x10&0xff]<<0x10|_0x3fd734[_0x47a901>>>0x8&0xff]<<0x8|_0x3fd734[_0x4f8fd7&0xff])^_0x150800[_0x27bb62++];_0x4406c9[_0x5628c5]=_0x5744bc,_0x4406c9[_0x5628c5+0x1]=_0x210966,_0x4406c9[_0x5628c5+0x2]=_0x27a89a,_0x4406c9[_0x5628c5+0x3]=_0x57f863;},'keySize':0x100/0x20});_0x159fa1[_0x2ab23d(0x2b4)]=_0x2b5c05[_0x2ab23d(0x10d)](_0x33ce8b);}()),_0x417965[_0x3a8623(0x2b4)];}));}(Ve)),Ve[_0x322cc5(0x376)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x32e2f2(0x376)],ai;function xs(){var _0x5f29c7=_0x32e2f2;return ai||(ai=0x1,function(_0xdaf1f2,_0x15468d){(function(_0x5b511d,_0x36ea04){var _0x2accf3=_0x36d8;_0xdaf1f2[_0x2accf3(0x376)]=_0x36ea04(ie());}(Ls,function(_0x1407a9){var _0x248650=_0x36d8;return _0x1407a9['enc'][_0x248650(0x288)];}));}(Xe)),Xe[_0x5f29c7(0x376)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x32e2f2(0x376)],oi;function Hs(){var _0xd70457=_0x32e2f2;return oi||(oi=0x1,function(_0x4f3cb8,_0x356c94){(function(_0xbf38e9,_0x2e37c8){_0x4f3cb8['exports']=_0x2e37c8(ie());}($s,function(_0x40f7a1){var _0x43064b=_0x36d8;return(function(){var _0x243e3f=_0x36d8;if(typeof ArrayBuffer=='function'){var _0x356c76=_0x40f7a1,_0x1fda6a=_0x356c76[_0x243e3f(0x34e)],_0x42b9a7=_0x1fda6a[_0x243e3f(0x148)],_0x46b352=_0x42b9a7[_0x243e3f(0xbc)],_0x491d22=_0x42b9a7[_0x243e3f(0xbc)]=function(_0x2c697e){var _0x97586e=_0x243e3f;if(_0x2c697e instanceof ArrayBuffer&&(_0x2c697e=new Uint8Array(_0x2c697e)),(_0x2c697e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c697e instanceof Uint8ClampedArray||_0x2c697e instanceof Int16Array||_0x2c697e instanceof Uint16Array||_0x2c697e instanceof Int32Array||_0x2c697e instanceof Uint32Array||_0x2c697e instanceof Float32Array||_0x2c697e instanceof Float64Array)&&(_0x2c697e=new Uint8Array(_0x2c697e[_0x97586e(0xf3)],_0x2c697e[_0x97586e(0xf4)],_0x2c697e['byteLength'])),_0x2c697e instanceof Uint8Array){for(var _0x1f0fff=_0x2c697e[_0x97586e(0x2de)],_0x1b93f3=[],_0x1dca48=0x0;_0x1dca48<_0x1f0fff;_0x1dca48++)_0x1b93f3[_0x1dca48>>>0x2]|=_0x2c697e[_0x1dca48]<<0x18-_0x1dca48%0x4*0x8;_0x46b352[_0x97586e(0x321)](this,_0x1b93f3,_0x1f0fff);}else _0x46b352[_0x97586e(0x1c7)](this,arguments);};_0x491d22['prototype']=_0x42b9a7;}}()),_0x40f7a1[_0x43064b(0x34e)][_0x43064b(0x148)];}));}(Ze)),Ze[_0xd70457(0x376)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){return ci||(ci=0x1,function(_0x179cec,_0x113d3e){(function(_0x10fc2a,_0x2bc08b,_0x2bab99){var _0x198520=_0x36d8;_0x179cec[_0x198520(0x376)]=_0x2bc08b(ie(),Ai());}(Fs,function(_0x48d460){var _0x36694b=_0x36d8;return _0x48d460['pad'][_0x36694b(0x202)]={'pad':function(){},'unpad':function(){}},_0x48d460[_0x36694b(0x86)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x86e6b8,_0x31dd30){var _0x125066=_0x32e2f2;const _0x388471=_0x31dd30-_0x86e6b8['length']%_0x31dd30,_0x2bc044=String[_0x125066(0x36e)](_0x388471)[_0x125066(0x240)](_0x388471);return _0x86e6b8+_0x2bc044;}function Ys(_0xfd5fd,_0x5dcac4){var _0x4c5253=_0x32e2f2;const _0x29bcca=js['random'](0x10),_0x434c83=Ks(_0xfd5fd,0x10),_0x5f0d90=ws[_0x4c5253(0x328)](ks[_0x4c5253(0xcc)](_0x434c83),ri['parse'](_0x5dcac4),{'iv':_0x29bcca,'padding':Ws});return _0x29bcca[_0x4c5253(0x1e6)](_0x5f0d90[_0x4c5253(0x24d)])[_0x4c5253(0x110)](ri);}function qs(){var _0x91d769=_0x32e2f2;const _0x463b44=_0x3bde72()['__Key__'];if(_0x463b44){const _0x50305e={'time':Math[_0x91d769(0x1aa)](Date[_0x91d769(0x302)]()/0x3e8),'domain':location[_0x91d769(0x277)]};return Ys(JSON[_0x91d769(0x105)](_0x50305e),_0x463b44);}}var zs=Object[_0x32e2f2(0x266)],Js=(_0x49e3cd,_0x1fe222,_0x2f135d,_0x377f48)=>{var _0x20f629=_0x32e2f2;for(var _0x4c8f90=_0x377f48>0x1?void 0x0:_0x377f48?zs(_0x1fe222,_0x2f135d):_0x1fe222,_0x411a5f=_0x49e3cd[_0x20f629(0x2e2)]-0x1,_0x34bd92;_0x411a5f>=0x0;_0x411a5f--)(_0x34bd92=_0x49e3cd[_0x411a5f])&&(_0x4c8f90=_0x34bd92(_0x4c8f90)||_0x4c8f90);return _0x4c8f90;},Xs=(_0x5207de,_0x2f23b5)=>(_0x4f2a13,_0x57d3f2)=>_0x2f23b5(_0x4f2a13,_0x57d3f2,_0x5207de);let at=class{constructor(_0x5a339e){var _0x2c1b37=_0x32e2f2;this[_0x2c1b37(0x2b9)]=_0x5a339e,this['_initRequestHeader']();}[_0x32e2f2(0x1a1)](){var _0x3ceba4=_0x32e2f2;this['_httpService'][_0x3ceba4(0xfc)]({'interceptor':(_0x3fb05b,_0x151255)=>{var _0x552ec0=_0x3ceba4;const _0x3b8c84=_0x3fb05b[_0x552ec0(0x1d6)],_0x111570=qs();return _0x111570&&_0x3b8c84[_0x552ec0(0x333)](_0x552ec0(0x16d),_0x111570),_0x151255(_0x3fb05b);}});}};at=Js([Xs(0x0,_0xf49784(_0x18ded5))],at);var Zs=Object[_0x32e2f2(0x266)],Qs=(_0x4a5b5b,_0x5f3340,_0x21e1df,_0x329955)=>{var _0x14c69b=_0x32e2f2;for(var _0x1d3cbe=_0x329955>0x1?void 0x0:_0x329955?Zs(_0x5f3340,_0x21e1df):_0x5f3340,_0x39e04a=_0x4a5b5b[_0x14c69b(0x2e2)]-0x1,_0x5d154b;_0x39e04a>=0x0;_0x39e04a--)(_0x5d154b=_0x4a5b5b[_0x39e04a])&&(_0x1d3cbe=_0x5d154b(_0x1d3cbe)||_0x1d3cbe);return _0x1d3cbe;},mt=(_0x23361a,_0x141ddf)=>(_0x187060,_0x4f9b19)=>_0x141ddf(_0x187060,_0x4f9b19,_0x23361a);let bt=class extends _0x1005e4{constructor(_0x429875,_0x1c9212,_0xe59e4b){var _0x26740b=_0x32e2f2;super(),N(this,_0x26740b(0xa3),new _0x17ac9d(null)),N(this,_0x26740b(0x83),this['_unitInfo$']['asObservable']()),(this[_0x26740b(0xc3)]=_0x429875,this[_0x26740b(0x9f)]=_0x1c9212,this['_localCacheService']=_0xe59e4b);}async['loadUnit'](_0x201bff,_0x320d23,_0x3149d7){var _0x1faee9=_0x32e2f2;this[_0x1faee9(0xa3)][_0x1faee9(0x364)]({'unitId':_0x201bff,'type':_0x320d23,'subUnitId':_0x3149d7});let _0x130117=null;switch(_0x320d23){case Q[_0x1faee9(0x118)]:{_0x130117=await this[_0x1faee9(0x246)](_0x201bff);break;}case Q[_0x1faee9(0x1ef)]:{_0x130117=await this[_0x1faee9(0x8f)](_0x201bff);break;}default:{this['_logService'][_0x1faee9(0xee)](_0x1faee9(0x382),_0x1faee9(0x347));break;}}return _0x130117;}async[_0x32e2f2(0x246)](_0x1a0862){var _0xc9a00d=_0x32e2f2,_0x388d9f;let _0x5ce9e8=0x0;const _0x5a1358=await((_0x388d9f=this[_0xc9a00d(0x36d)])==null?void 0x0:_0x388d9f['loadOfflineData'](_0x1a0862));return _0x5a1358&&(_0x5a1358['awaitingChangeset']||_0x5a1358['mutations'][_0xc9a00d(0x2e2)]!==0x0)&&(_0x5ce9e8=_0x5a1358[_0xc9a00d(0x312)]),_0x5ce9e8===0x0&&this[_0xc9a00d(0xc3)][_0xc9a00d(0x313)](_0xc9a00d(0x382),_0xc9a00d(0x18c)),this[_0xc9a00d(0x9f)][_0xc9a00d(0x1dd)](_0x1a0862,_0x5ce9e8);}async[_0x32e2f2(0x8f)](_0x395e91){var _0x2bc305=_0x32e2f2,_0x5c46e0;let _0x206c6e=0x0;const _0x9c639c=await((_0x5c46e0=this[_0x2bc305(0x36d)])==null?void 0x0:_0x5c46e0[_0x2bc305(0x222)](_0x395e91));return _0x9c639c&&(_0x9c639c['awaitingChangeset']||_0x9c639c[_0x2bc305(0x166)][_0x2bc305(0x2e2)]!==0x0)&&(_0x206c6e=_0x9c639c[_0x2bc305(0x312)]),_0x206c6e===0x0&&this['_logService']['debug'](_0x2bc305(0x382),_0x2bc305(0x18c)),this['_snapshotService'][_0x2bc305(0xb4)](_0x395e91,_0x206c6e);}};bt=Qs([mt(0x0,_0x21b260),mt(0x1,_0xf49784(_0x475991)),mt(0x2,_0x263250(J))],bt);var er=Object[_0x32e2f2(0x266)],tr=(_0x2caf30,_0x57a77a,_0xdf581d,_0x11fbfc)=>{for(var _0x38b57f=_0x11fbfc>0x1?void 0x0:_0x11fbfc?er(_0x57a77a,_0xdf581d):_0x57a77a,_0x4863f5=_0x2caf30['length']-0x1,_0x2d62b3;_0x4863f5>=0x0;_0x4863f5--)(_0x2d62b3=_0x2caf30[_0x4863f5])&&(_0x38b57f=_0x2d62b3(_0x38b57f)||_0x38b57f);return _0x38b57f;},gt=(_0x1c4800,_0x58dfff)=>(_0x49acce,_0x4831f0)=>_0x58dfff(_0x49acce,_0x4831f0,_0x1c4800);const ir=[_0x32e2f2(0x34a),_0x32e2f2(0x2fd),_0x32e2f2(0x20b),_0x32e2f2(0x162),_0x32e2f2(0x299)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr='/universer-api/stream/file/upload',ar=_0x32e2f2(0x194),or=_0x32e2f2(0x21b);let Ot=class{constructor(_0x54c7be,_0x4a5987,_0x44c2e3){var _0x4ad819=_0x32e2f2;N(this,_0x4ad819(0x2fc),0x0),N(this,_0x4ad819(0xdf),new _0x2fe298()),N(this,_0x4ad819(0xd6),this[_0x4ad819(0xdf)]),N(this,_0x4ad819(0x1de),new Map()),(this[_0x4ad819(0x2b9)]=_0x54c7be,this[_0x4ad819(0xae)]=_0x4a5987,this['_univerInstanceService']=_0x44c2e3);}[_0x32e2f2(0x14e)](_0x2e1d98){var _0x25f8c8=_0x32e2f2;this[_0x25f8c8(0x2fc)]=_0x2e1d98,this['_change$']['next'](_0x2e1d98);}[_0x32e2f2(0x2e6)](_0xb5cd99,_0x50ada5){var _0x4e9477=_0x32e2f2;if(_0x50ada5===_0xf15305[_0x4e9477(0xe1)]){const _0xfe6508=new Image();return _0xfe6508[_0x4e9477(0x2df)]=_0xb5cd99,_0xfe6508;}return this[_0x4e9477(0x1de)][_0x4e9477(0x281)](_0xb5cd99);}[_0x32e2f2(0x20a)](_0x55a492,_0x5a06a0,_0x31431e){var _0x4639b0=_0x32e2f2;_0x5a06a0===_0xf15305[_0x4639b0(0xe1)]||_0x31431e==null||this[_0x4639b0(0x1de)]['set'](_0x55a492,_0x31431e);}async[_0x32e2f2(0x232)](_0x2116ce){var _0x28ac9f=_0x32e2f2;try{const _0x4a0bd7=this[_0x28ac9f(0x243)](this[_0x28ac9f(0x158)](),''+_0x2116ce),_0x56163c=(await this[_0x28ac9f(0x2b9)][_0x28ac9f(0x281)](_0x4a0bd7))[_0x28ac9f(0x164)];if(_0x56163c[_0x28ac9f(0xee)]&&_0x56163c[_0x28ac9f(0xee)][_0x28ac9f(0x223)]===Si['OK']){const _0x9d2d9=new URL(_0x56163c[_0x28ac9f(0x84)],this[_0x28ac9f(0x116)]())[_0x28ac9f(0x110)]();return Promise[_0x28ac9f(0x23a)](_0x9d2d9);}return Promise[_0x28ac9f(0x138)](_0x56163c['error']);}catch(_0x4c63bf){return Promise[_0x28ac9f(0x138)](_0x4c63bf);}}async[_0x32e2f2(0x9b)](_0x3433f6){var _0x489297=_0x32e2f2;let _0x501e9c='';if(!ir[_0x489297(0x18a)](_0x3433f6[_0x489297(0x17e)]))return this['_decreaseWaiting'](),Promise[_0x489297(0x138)](new Error(_0x2915f3['ERROR_IMAGE_TYPE']));if(_0x3433f6[_0x489297(0x2bd)]>nr)return this[_0x489297(0x38f)](),Promise[_0x489297(0x138)](new Error(_0x2915f3[_0x489297(0xde)]));try{const _0x48aafb=new FormData();_0x48aafb[_0x489297(0x2e1)](_0x489297(0x1c2),_0x3433f6);const _0x2b0976=this[_0x489297(0x2d5)][_0x489297(0x2fe)](),_0x3f917e=_0x2b0976==null?void 0x0:_0x2b0976[_0x489297(0x22e)]();if(!_0x3f917e)throw new Error(_0x489297(0xc5));const _0x5ab3f6=this[_0x489297(0x373)]()+_0x489297(0x1e5)+_0x3433f6[_0x489297(0x2bd)][_0x489297(0x110)]()+'&source='+Ei[_0x489297(0x102)]+_0x489297(0x16c)+encodeURIComponent(_0x3f917e),_0x55b247=await(await fetch(_0x5ab3f6,{'method':_0x489297(0x140),'body':_0x48aafb}))[_0x489297(0xa4)]();if(typeof _0x55b247[_0x489297(0x1a0)]!=_0x489297(0xa1))return this[_0x489297(0x38f)](),Promise[_0x489297(0x138)](new Error(_0x2915f3[_0x489297(0x220)]));_0x501e9c=_0x55b247[_0x489297(0x1a0)];}catch{return this['_decreaseWaiting'](),Promise[_0x489297(0x138)](new Error(_0x2915f3[_0x489297(0x220)]));}return new Promise((_0x2c4686,_0x1d1935)=>{var _0xe3e5b9=_0x489297;const _0x3883d2=new FileReader();_0x3883d2['readAsDataURL'](_0x3433f6),_0x3883d2[_0xe3e5b9(0x1f8)]=_0x47e135=>{var _0x1ee7d9=_0xe3e5b9,_0x3a9344;const _0x313b66=(_0x3a9344=_0x47e135[_0x1ee7d9(0x276)])==null?void 0x0:_0x3a9344[_0x1ee7d9(0x31e)];if(_0x313b66==null){this[_0x1ee7d9(0x38f)](),_0x1d1935(new Error(_0x2915f3[_0x1ee7d9(0x220)]));return;}const _0x47adfd=_0x28db43['generateRandomId'](0x6);_0x2c4686({'imageId':_0x47adfd,'imageSourceType':_0xf15305[_0x1ee7d9(0x2d4)],'source':_0x501e9c,'base64Cache':_0x313b66,'status':_0x2915f3[_0x1ee7d9(0x181)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x20e656=_0x32e2f2,_0x564cb7,_0x49d1ec;const _0x31e291=this[_0x20e656(0xae)][_0x20e656(0x8c)](sr),_0x738cfe=this[_0x20e656(0xae)][_0x20e656(0x8c)](q);return(_0x49d1ec=(_0x564cb7=_0x738cfe==null?void 0x0:_0x738cfe[_0x20e656(0x30c)])!=null?_0x564cb7:_0x31e291)!=null?_0x49d1ec:rr;}[_0x32e2f2(0x158)](){var _0x1c487c=_0x32e2f2,_0x50e370,_0x26ec5e;const _0x2a8654=this['_configService'][_0x1c487c(0x8c)](ar),_0x39fc70=this[_0x1c487c(0xae)][_0x1c487c(0x8c)](q);return(_0x26ec5e=(_0x50e370=_0x39fc70==null?void 0x0:_0x39fc70[_0x1c487c(0x1fe)])!=null?_0x50e370:_0x2a8654)!=null?_0x26ec5e:or;}[_0x32e2f2(0x116)](){var _0x1b8d6c=_0x32e2f2,_0x5e79b4;const _0x38f8b1=this[_0x1b8d6c(0xae)][_0x1b8d6c(0x8c)](q);return(_0x5e79b4=_0x38f8b1==null?void 0x0:_0x38f8b1[_0x1b8d6c(0x1f2)])!=null?_0x5e79b4:location['origin'];}[_0x32e2f2(0x243)](_0xe17b85,_0x31e639){var _0x4fa9db=_0x32e2f2;return _0xe17b85[_0x4fa9db(0x324)](_0x4fa9db(0x375),_0x31e639);}[_0x32e2f2(0x38f)](){var _0x107307=_0x32e2f2;this[_0x107307(0x2fc)]-=0x1,this[_0x107307(0xdf)][_0x107307(0x364)](this[_0x107307(0x2fc)]);}};Ot=tr([gt(0x0,_0xf49784(_0x18ded5)),gt(0x1,_0x24f34c),gt(0x2,_0xf49784(_0x457f20))],Ot);var cr=Object[_0x32e2f2(0x266)],hr=(_0xc1e945,_0x2e2eed,_0x17b01a,_0x49dd22)=>{var _0x244821=_0x32e2f2;for(var _0x321d2f=_0x49dd22>0x1?void 0x0:_0x49dd22?cr(_0x2e2eed,_0x17b01a):_0x2e2eed,_0x14ed69=_0xc1e945[_0x244821(0x2e2)]-0x1,_0x2ccdaf;_0x14ed69>=0x0;_0x14ed69--)(_0x2ccdaf=_0xc1e945[_0x14ed69])&&(_0x321d2f=_0x2ccdaf(_0x321d2f)||_0x321d2f);return _0x321d2f;},hi=(_0x4988b1,_0xed2917)=>(_0x106303,_0x127b7f)=>_0xed2917(_0x106303,_0x127b7f,_0x4988b1);const _r=_0x32e2f2(0x2cc);let yt=class{constructor(_0x36bbe6,_0x40b4d1){var _0x41466f=_0x32e2f2;this[_0x41466f(0xae)]=_0x36bbe6,this[_0x41466f(0x11c)]=_0x40b4d1;}[_0x32e2f2(0x127)](){var _0x14ef8a=_0x32e2f2,_0x4a89cc,_0x505985;const _0x28ebe1=this[_0x14ef8a(0xae)][_0x14ef8a(0x8c)](Ni),_0x3a68f1=this['_configService']['getConfig'](q);return(_0x505985=(_0x4a89cc=_0x3a68f1==null?void 0x0:_0x3a68f1['authzUrl'])!=null?_0x4a89cc:_0x28ebe1)!=null?_0x505985:_r;}async[_0x32e2f2(0xe2)](_0x3dbd97){var _0x13abd2=_0x32e2f2;const _0x118bbf=this[_0x13abd2(0x127)]()+_0x13abd2(0x9d);return{'list':[{'title':'People','mentions':(await this[_0x13abd2(0x11c)][_0x13abd2(0x281)](_0x118bbf,{'params':{'objectID':_0x3dbd97[_0x13abd2(0x28f)],'unitID':_0x3dbd97['unitId']}}))[_0x13abd2(0x164)][_0x13abd2(0x30f)][_0x13abd2(0x141)](_0x379a88=>({'objectId':_0x379a88['id'],'name':_0x379a88['subject']['name'],'metadata':{'icon':_0x379a88[_0x13abd2(0x32c)][_0x13abd2(0x112)]},'label':_0x379a88[_0x13abd2(0x32c)][_0x13abd2(0x1f0)],'objectType':_0x38737e[_0x13abd2(0xf0)]})),'metadata':{},'type':_0x38737e[_0x13abd2(0xf0)]}]};}};yt=hr([hi(0x0,_0xf49784(_0x24f34c)),hi(0x1,_0xf49784(_0x18ded5))],yt);var lr=Object[_0x32e2f2(0x266)],ur=(_0x5a9e55,_0x3efe9e,_0xcd2946,_0x56f158)=>{var _0x31cb85=_0x32e2f2;for(var _0x1b4b15=_0x56f158>0x1?void 0x0:_0x56f158?lr(_0x3efe9e,_0xcd2946):_0x3efe9e,_0x12963f=_0x5a9e55[_0x31cb85(0x2e2)]-0x1,_0x50b588;_0x12963f>=0x0;_0x12963f--)(_0x50b588=_0x5a9e55[_0x12963f])&&(_0x1b4b15=_0x50b588(_0x1b4b15)||_0x1b4b15);return _0x1b4b15;},we=(_0xbdc3fe,_0x1bbf45)=>(_0x3c5ed3,_0x42bc98)=>_0x1bbf45(_0x3c5ed3,_0x42bc98,_0xbdc3fe);let ot=class extends _0x1005e4{constructor(_0x20a2b7,_0x3fc86f,_0x1ec28c,_0x461004,_0x5064f9){var _0x4a8b67=_0x32e2f2;super(),this[_0x4a8b67(0x327)]=_0x20a2b7,this['_univerInstanceService']=_0x3fc86f,this[_0x4a8b67(0x1b8)]=_0x1ec28c,this['_collaborationSessionService']=_0x461004,this['_collaborationUIEventService']=_0x5064f9,this['_initUnitPermissionChange'](),this[_0x4a8b67(0x11f)]();}[_0x32e2f2(0x11f)](){var _0x18ddaf=_0x32e2f2;const _0x334915=async _0x41050d=>{var _0x229239=_0x36d8;(await this[_0x229239(0xec)][_0x229239(0x1b0)](_0x41050d))['event$']['pipe'](_0x347c08(_0x33b6a0=>_0x33b6a0['eventID']===_0x5dd443[_0x229239(0x17d)]),_0x6f7b19(this['dispose$']))[_0x229239(0x115)](_0x1b618d=>{var _0xb026f6=_0x229239;const _0x49e721=_0x1b618d,{reason:_0x440c26}=_0x49e721[_0xb026f6(0x113)];this['_collaborationUIEventService'][_0xb026f6(0x1be)]({'id':re[_0xb026f6(0x300)],'data':_0x440c26}),this[_0xb026f6(0x1b8)][_0xb026f6(0x280)](new _0x4aa924(_0x41050d)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x41050d);});};_0x308043(this[_0x18ddaf(0x2d5)][_0x18ddaf(0x15b)](_0x271272[_0x18ddaf(0x118)]),this['_univerInstanceService'][_0x18ddaf(0x15b)](_0x271272[_0x18ddaf(0x1ef)]))[_0x18ddaf(0x173)](_0x289343(_0x1882c6=>_0x1882c6['getUnitId']()),_0x347c08(_0x2cf21c=>!_0x27f8c4(_0x2cf21c)),_0x6f7b19(this[_0x18ddaf(0x187)]))[_0x18ddaf(0x115)](_0x4642a0=>{_0x334915(_0x4642a0);});}[_0x32e2f2(0x367)](){var _0x53be6f=_0x32e2f2;const _0x596f37=async _0xf04d03=>{var _0x4ef981=_0x36d8;const _0x20b324=await this[_0x4ef981(0xec)][_0x4ef981(0x1b0)](_0xf04d03),_0x47267a=this['_injector']['get'](_0x4c7ddb);_0x20b324[_0x4ef981(0x90)][_0x4ef981(0x173)](_0x347c08(_0x9f6fd4=>_0x9f6fd4['eventID']===_0x5dd443[_0x4ef981(0x201)]),_0x6f7b19(this[_0x4ef981(0x187)]))[_0x4ef981(0x115)](_0x467f37=>{var _0x2df18d=_0x4ef981;const _0x1e4a2e=_0x467f37,{objectId:_0x821663}=_0x1e4a2e['data'];_0x821663===_0xf04d03?_0x47267a[_0x2df18d(0x125)](_0xf04d03):_0x47267a[_0x2df18d(0x269)](_0xf04d03,_0x821663);});};_0x308043(this[_0x53be6f(0x2d5)][_0x53be6f(0x15b)](_0x271272['UNIVER_SHEET']))[_0x53be6f(0x173)](_0x289343(_0x136a74=>_0x136a74[_0x53be6f(0x22e)]()),_0x347c08(_0x5a1a40=>!_0x27f8c4(_0x5a1a40)),_0x6f7b19(this['dispose$']))[_0x53be6f(0x115)](_0x1b97c9=>{_0x596f37(_0x1b97c9);});}};ot=ur([we(0x0,_0xf49784(_0x3f2818)),we(0x1,_0x457f20),we(0x2,_0x2d9700),we(0x3,_0xf49784(xe)),we(0x4,_0xf49784(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x408a19,_0x277b42,_0x456e35,_0x377bcc)=>{for(var _0x2092e1=_0x377bcc>0x1?void 0x0:_0x377bcc?dr(_0x277b42,_0x456e35):_0x277b42,_0x26a3cc=_0x408a19['length']-0x1,_0x5c0a85;_0x26a3cc>=0x0;_0x26a3cc--)(_0x5c0a85=_0x408a19[_0x26a3cc])&&(_0x2092e1=_0x5c0a85(_0x2092e1)||_0x2092e1);return _0x2092e1;},_i=(_0x5593fd,_0x513efe)=>(_0x4cbf2a,_0x4b6b17)=>_0x513efe(_0x4cbf2a,_0x4b6b17,_0x5593fd);let Nt=class{constructor(_0x548eef,_0x4cd680){var _0x2caebb=_0x32e2f2;this[_0x2caebb(0xae)]=_0x548eef,this[_0x2caebb(0x2b9)]=_0x4cd680;}async['getUnitOnRev'](_0x2b4fb3,_0x58b987){var _0x565136=_0x32e2f2,_0x1acf14;const {unitID:_0x18a93c,type:_0x3021d0,revision:_0x127df3=0x0}=_0x58b987,_0x3387db=this[_0x565136(0x199)]()+'/'+_0x3021d0+_0x565136(0xe0)+_0x18a93c+_0x565136(0x12c)+_0x127df3,_0x4f1780=(await this[_0x565136(0x2b9)][_0x565136(0x281)](_0x3387db))[_0x565136(0x164)],_0x157b69=(_0x1acf14=_0x4f1780[_0x565136(0x206)])==null?void 0x0:_0x1acf14[_0x565136(0x15a)];if(_0x157b69){const _0x1c9ae0=_0x157b69==null?void 0x0:_0x157b69[_0x565136(0x381)],_0x3120d5=_0x35d1ea[_0x565136(0x10a)](_0x280a66(_0x1c9ae0));_0x157b69['originalMeta']=_0x3120d5,Object[_0x565136(0x275)](_0x157b69[_0x565136(0x146)])[_0x565136(0x295)](([,_0x515eb6])=>{var _0x591d01=_0x565136;const _0x1d6624=_0x515eb6[_0x591d01(0x381)],_0xe7f7e8=_0x35d1ea[_0x591d01(0x10a)](_0x280a66(_0x1d6624));_0x515eb6[_0x591d01(0x381)]=_0xe7f7e8;});}return _0x4f1780;}async[_0x32e2f2(0x15e)](_0x101479,_0x269580){var _0x16d323=_0x32e2f2;const {unitID:_0x3942bc,type:_0xb20703,blockID:_0xfaf63d}=_0x269580,_0xe6f983=this[_0x16d323(0x361)]()+'/'+_0xb20703+'/unit/'+_0x3942bc+_0x16d323(0x2d0)+_0xfaf63d;return(await this[_0x16d323(0x2b9)][_0x16d323(0x281)](_0xe6f983))[_0x16d323(0x164)];}async[_0x32e2f2(0x155)](_0x3f3078,_0x59c0d6){var _0x3abec1=_0x32e2f2;const {unitID:_0x70a755,type:_0x2a2444,blockID:_0x3a57bb}=_0x59c0d6,_0x3a78a2=this[_0x3abec1(0x361)]()+_0x3abec1(0x2d0)+_0x2a2444+_0x3abec1(0xe0)+_0x70a755+'/block/'+_0x3a57bb;return(await this[_0x3abec1(0x2b9)][_0x3abec1(0x281)](_0x3a78a2))['body'];}async[_0x32e2f2(0x30d)](_0x29eec5,_0x15d2bc){var _0x5203c=_0x32e2f2;const {unitID:_0x20b2d1,type:_0x348096,from:_0xfe2095,to:_0x460fec}=_0x15d2bc,_0x2943d1=this[_0x5203c(0x361)]()+'/'+_0x348096+_0x5203c(0xe0)+_0x20b2d1+_0x5203c(0x380)+_0xfe2095+'&to='+_0x460fec;return(await this[_0x5203c(0x2b9)][_0x5203c(0x281)](_0x2943d1))['body'];}[_0x32e2f2(0x199)](){var _0x25ca98=_0x32e2f2,_0x23fbef;return(_0x23fbef=this[_0x25ca98(0xae)][_0x25ca98(0x8c)](Sn))!=null?_0x23fbef:this[_0x25ca98(0x361)]();}[_0x32e2f2(0x361)](){var _0x542fe7=_0x32e2f2,_0x281969,_0x433c0f;const _0x1a0610=this[_0x542fe7(0xae)][_0x542fe7(0x8c)](mn),_0x500c96=this[_0x542fe7(0xae)]['getConfig'](q);return(_0x433c0f=(_0x281969=_0x500c96==null?void 0x0:_0x500c96[_0x542fe7(0x1d4)])!=null?_0x281969:_0x1a0610)!=null?_0x433c0f:gn;}async[_0x32e2f2(0x197)](_0x1636ac,_0x376c9f){var _0x375790=_0x32e2f2;const _0x5cea96=_0x375790(0x37a)+_0x376c9f[_0x375790(0x17e)]+'/unit/'+_0x376c9f[_0x375790(0x10f)]+_0x375790(0x1ac);return(await this[_0x375790(0x2b9)][_0x375790(0x281)](_0x5cea96,{'params':{'resourceId':JSON[_0x375790(0x105)](_0x376c9f[_0x375790(0x348)])}}))[_0x375790(0x164)];}['saveSnapshot'](){var _0x3ca240=_0x32e2f2;throw new Error(_0x3ca240(0x221));}[_0x32e2f2(0x244)](){var _0x1ddcb7=_0x32e2f2;throw new Error(_0x1ddcb7(0x221));}[_0x32e2f2(0xed)](){var _0x2134aa=_0x32e2f2;throw new Error(_0x2134aa(0x221));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x32e2f2(0x19c)](){var _0x524b88=_0x32e2f2;throw new Error(_0x524b88(0x221));}};Nt=fr([_i(0x0,_0x24f34c),_i(0x1,_0xf49784(_0x18ded5))],Nt);var vr=Object[_0x32e2f2(0x266)],pr=(_0x507767,_0xe9730c,_0xf3b11,_0x39e967)=>{var _0x3b676a=_0x32e2f2;for(var _0x38b360=_0x39e967>0x1?void 0x0:_0x39e967?vr(_0xe9730c,_0xf3b11):_0xe9730c,_0x3c75be=_0x507767[_0x3b676a(0x2e2)]-0x1,_0x534995;_0x3c75be>=0x0;_0x3c75be--)(_0x534995=_0x507767[_0x3c75be])&&(_0x38b360=_0x534995(_0x38b360)||_0x38b360);return _0x38b360;},Pe=(_0x573f2c,_0x185c21)=>(_0xa7839d,_0x122410)=>_0x185c21(_0xa7839d,_0x122410,_0x573f2c);let Dt=class extends _0x178c3f{constructor(_0x2e9da7,_0x10ddd6,_0x1e2e3e,_0x31999d,_0x23ee3b){var _0x299bff=_0x32e2f2;super(_0x2e9da7,_0x10ddd6,_0x1e2e3e),this[_0x299bff(0x1c1)]=_0x31999d,this[_0x299bff(0xc3)]=_0x23ee3b;}[_0x32e2f2(0x1a5)](_0xd074f8,_0x435829){var _0x436e3d=_0x32e2f2;const _0x46ee90=this[_0x436e3d(0x2f3)](_0xd074f8);if(_0x46ee90)try{const _0x174a11=this[_0x436e3d(0x1d2)](_0x46ee90,_0x435829);this['_substituteUndoStack'](_0xd074f8,_0x174a11);}catch(_0x16675b){this[_0x436e3d(0xc3)]['error'](_0x436e3d(0x23d),_0x16675b),this['_clearUndo'](_0xd074f8);}const _0x544c98=this[_0x436e3d(0x309)](_0xd074f8);if(_0x544c98)try{const _0x2a0d0c=this[_0x436e3d(0x1d2)](_0x544c98,_0x435829);this[_0x436e3d(0x101)](_0xd074f8,_0x2a0d0c);}catch(_0x26fd36){this[_0x436e3d(0xc3)]['error'](_0x26fd36),this[_0x436e3d(0x179)](_0xd074f8);}}[_0x32e2f2(0x1b2)](_0x20962c){var _0x4e28dc=_0x32e2f2;const _0x4cbd26=this[_0x4e28dc(0x2f3)](_0x20962c);_0x4cbd26&&(_0x4cbd26[_0x4e28dc(0x2e2)]=0x0,this[_0x4e28dc(0x10b)]());}['_clearRedo'](_0x127638){var _0x40d72c=_0x32e2f2;const _0x2090c2=this[_0x40d72c(0x309)](_0x127638);_0x2090c2&&(_0x2090c2['length']=0x0,this['_updateStatus']());}[_0x32e2f2(0x152)](_0x275e61,_0x2649f3){var _0x32fdaa=_0x32e2f2;this[_0x32fdaa(0xeb)]['set'](_0x275e61,_0x2649f3),this[_0x32fdaa(0x10b)]();}['_substituteRedoStack'](_0xbfe430,_0x3c1cc6){var _0x23ab3f=_0x32e2f2;this[_0x23ab3f(0x2a3)][_0x23ab3f(0x333)](_0xbfe430,_0x3c1cc6),this[_0x23ab3f(0x10b)]();}[_0x32e2f2(0x1d2)](_0x700ef,_0x4bc9ef){var _0x12c1bb=_0x32e2f2;const _0x5e12e6=[];let _0x1606cd=_0x4bc9ef,_0x29dc97=_0x4bc9ef;for(let _0x18d5d6=_0x700ef['length']-0x1;_0x18d5d6>=0x0;_0x18d5d6--){const {unitID:_0x408f98,undoMutations:_0x1326f4,redoMutations:_0x41738a}=_0x700ef[_0x18d5d6],_0x3a6626=this[_0x12c1bb(0x1c1)][_0x12c1bb(0x129)](_0x1606cd,_0x1326f4),_0x2db87c=this['_transformService'][_0x12c1bb(0x129)](_0x29dc97,_0x41738a);if(_0x37a63f(_0x3a6626)||_0x37a63f(_0x2db87c)){this[_0x12c1bb(0xc3)]['error'](_0x12c1bb(0x23d),_0x12c1bb(0x350),_0x3a6626,_0x2db87c);break;}_0x1606cd=_0x3a6626['c1Prime'],_0x29dc97=_0x2db87c[_0x12c1bb(0xe5)],_0x5e12e6[_0x12c1bb(0x21f)]({'unitID':_0x408f98,'undoMutations':_0x3a6626['m2Prime'],'redoMutations':_0x2db87c['m2Prime']});}return _0x5e12e6[_0x12c1bb(0x198)]();}};Dt=pr([Pe(0x0,_0x457f20),Pe(0x1,_0x10f8e6),Pe(0x2,_0x422e79),Pe(0x3,_0x1ec7ed),Pe(0x4,_0x21b260)],Dt);var mr=Object[_0x32e2f2(0x249)],gr=Object[_0x32e2f2(0x266)],Sr=(_0x3c70cd,_0x28edad,_0x1610dc)=>_0x28edad in _0x3c70cd?mr(_0x3c70cd,_0x28edad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1610dc}):_0x3c70cd[_0x28edad]=_0x1610dc,Er=(_0x4cce74,_0x471356,_0x4ba9cc,_0x8eba33)=>{var _0xfc774=_0x32e2f2;for(var _0x2fa510=_0x8eba33>0x1?void 0x0:_0x8eba33?gr(_0x471356,_0x4ba9cc):_0x471356,_0xd87641=_0x4cce74[_0xfc774(0x2e2)]-0x1,_0x5ba085;_0xd87641>=0x0;_0xd87641--)(_0x5ba085=_0x4cce74[_0xd87641])&&(_0x2fa510=_0x5ba085(_0x2fa510)||_0x2fa510);return _0x2fa510;},St=(_0x274481,_0x39b12c)=>(_0x3fc35b,_0x590e05)=>_0x39b12c(_0x3fc35b,_0x590e05,_0x274481),Ir=(_0xbd0a0,_0x58cbe3,_0x5595b5)=>Sr(_0xbd0a0,_0x58cbe3+'',_0x5595b5);const Tr=_0x32e2f2(0x1b4);let Ut=class extends _0x388c42{constructor(_0x3dc38a,_0xae150b,_0x404c68,_0x1cbf68){var _0x102718=_0x32e2f2;super(),N(this,'_config'),(this['_logService']=_0xae150b,this['_injector']=_0x404c68,this[_0x102718(0xae)]=_0x1cbf68);const {..._0x216545}=_0x186f09({},wn,_0x3dc38a);if(!_0x216545[_0x102718(0xbe)])throw new Error(_0x102718(0x195));this[_0x102718(0x1f7)]=_0x216545,this[_0x102718(0xae)]['setConfig'](q,_0x216545);}['onStarting'](){var _0x4810d2=_0x32e2f2;this[_0x4810d2(0x12d)](),this[_0x4810d2(0x20d)]();}[_0x32e2f2(0x12d)](){var _0x24fbe8=_0x32e2f2,_0x3f478a,_0x2bdeb0;this[_0x24fbe8(0x327)]['has'](_0x355d2f)&&this['_logService'][_0x24fbe8(0xee)](_0x24fbe8(0x2ab),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5b1064=_0x5c06b9([[_0x355d2f,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x24fbe8(0x1f7)]['socketService']}],[_0x2c5951,{'useClass':Nt}],[_0x17e153,{'useClass':Rt}],[_0x11349a,{'useClass':Ot}],[_0x23d1dd,{'useClass':yt}],[st],[Ct]],(_0x3f478a=this[_0x24fbe8(0x1f7)])==null?void 0x0:_0x3f478a[_0x24fbe8(0x209)]);if(!((_0x2bdeb0=this[_0x24fbe8(0x1f7)])!=null&&_0x2bdeb0[_0x24fbe8(0xff)])){const _0x48696b=_0x5b1064[_0x24fbe8(0x372)](([_0x10ce06])=>_0x10ce06===ht);_0x48696b!==-0x1&&_0x5b1064[_0x24fbe8(0x250)](_0x48696b,0x1);}_0x55519b(this[_0x24fbe8(0x327)],_0x5b1064);}[_0x32e2f2(0x20d)](){var _0x27f1ab=_0x32e2f2,_0x290d28,_0xf5be39,_0x4a6669;this['_injector'][_0x27f1ab(0x281)](_0x18ded5)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0xdf57fb({'maxParallel':0x6})}),(_0x290d28=this['_config'])!=null&&_0x290d28[_0x27f1ab(0x1a4)]||(_0xf5be39=this['_injector']['get'](J,_0x4e8d27[_0x27f1ab(0x27a)]))==null||_0xf5be39[_0x27f1ab(0x2dc)](),(_0x4a6669=this['_config'])!=null&&_0x4a6669['enableAuthServer']&&_0x1d64a6(this[_0x27f1ab(0x327)],[[rt]]),_0x1d64a6(this[_0x27f1ab(0x327)],[[at],[st],[ot]]);}};Ir(Ut,_0x32e2f2(0x134),Tr),Ut=Er([_0x20cec5(_0xf6d1b1,_0xbc0294),St(0x1,_0x21b260),St(0x2,_0xf49784(_0x3f2818)),St(0x3,_0x24f34c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
1
+ var _0xccc328=_0x4dde;(function(_0x238ed4,_0x4bf66f){var _0x2ea665=_0x4dde,_0x423752=_0x238ed4();while(!![]){try{var _0x396776=parseInt(_0x2ea665(0x305))/0x1+parseInt(_0x2ea665(0x485))/0x2+-parseInt(_0x2ea665(0x209))/0x3+-parseInt(_0x2ea665(0x20a))/0x4*(parseInt(_0x2ea665(0x271))/0x5)+-parseInt(_0x2ea665(0x3fa))/0x6*(parseInt(_0x2ea665(0x23c))/0x7)+-parseInt(_0x2ea665(0x40d))/0x8+parseInt(_0x2ea665(0x2bc))/0x9;if(_0x396776===_0x4bf66f)break;else _0x423752['push'](_0x423752['shift']());}catch(_0x4a9bb9){_0x423752['push'](_0x423752['shift']());}}}(_0x58f5,0x5bf40));var wi=Object[_0xccc328(0x369)],Pi=(_0xef1a7a,_0x4af89d,_0x3a2e33)=>_0x4af89d in _0xef1a7a?wi(_0xef1a7a,_0x4af89d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a2e33}):_0xef1a7a[_0x4af89d]=_0x3a2e33,N=(_0x12675f,_0x249e3f,_0x182156)=>Pi(_0x12675f,typeof _0x249e3f!='symbol'?_0x249e3f+'':_0x249e3f,_0x182156);import{createIdentifier as _0x3a4763,Inject as _0x42d086,Injector as _0x213b7b,IConfigService as _0x32d0f8,ILogService as _0x48685b,Disposable as _0x1e04d8,DisposableCollection as _0x47e9b4,toDisposable as _0x7dd940,IUniverInstanceService as _0xca8903,UserManagerService as _0x180017,UniverInstanceType as _0x2a060b,LocaleService as _0xc4f59a,Optional as _0x4a4437,RxDisposable as _0x694488,Tools as _0x195c75,Rectangle as _0x3d6ecf,ICommandService as _0x37fa3a,JSONX as _0x31da28,CommandType as _0x5535af,IUndoRedoService as _0x10626b,IPermissionService as _0x3f7473,sequenceExecute as _0x41f2a9,Workbook as _0x124d6b,MentionType as _0x5f2993,isInternalEditorID as _0xc59106,LocalUndoRedoService as _0x9b1795,IContextService as _0x1f8dee,DependentOn as _0x135289,Plugin as _0x168dd9,merge as _0x5ce139,mergeOverrideWithDependencies as _0x4260f4,IAuthzIoService as _0x434a90,IMentionIOService as _0x1bd7ee,registerDependencies as _0x38e1dc,Quantity as _0x47342b,touchDependencies as _0xe02a7}from'@univerjs/core';import{Subject as _0x364bef,merge as _0x40c80f,of as _0x194398,BehaviorSubject as _0x12344d,takeUntil as _0x246e32,ReplaySubject as _0x1da589,take as _0x18c6bc,map as _0x9323e6,shareReplay as _0x22d5f4,firstValueFrom as _0x18279d,concatMap as _0x29896c}from'rxjs';import{map as _0x422352,take as _0xd9ef53,filter as _0x217dd3,delay as _0x334f06,takeUntil as _0x59d388}from'rxjs/operators';import{CollaborationEvent as _0x4c124f,ISnapshotServerService as _0x491b4b,parseChangesetToProtocol as _0x1e1f6d,ITransformService as _0x5c5e6b,isTransformMutationsWithChangesetSuccess as _0x4ae166,mapDocumentTypeToUniverType as _0x192a70,RevisionService as _0x4638b1,isTransformChangesetsSuccess as _0x49175f,CompressMutationService as _0x3c3615,parseProtocolChangeset as _0x525ec9,SnapshotService as _0x5d69c8,textEncoder as _0x5bd5e4,b64DecodeUnicode as _0x2cb6ba,isTransformMutationsWithChangesetFailure as _0x37e9b3,UniverCollaborationPlugin as _0x4c09c6}from'@univerjs-pro/collaboration';import{HTTPService as _0x44834c,ISocketService as _0x23bddd,MergeInterceptorFactory as _0x46cb63,HTTPRequest as _0x4f5f8c,UniverNetworkPlugin as _0x2662cf,ThresholdInterceptorFactory as _0x88bb1a}from'@univerjs/network';import{ITelemetryService as _0x491ad7}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3b3371}from'@univerjs/docs';import{SheetsSelectionsService as _0x2c5254,SetSelectionsOperation as _0x3c5105,InsertSheetMutation as _0x304588,EmptyMutation as _0x297160,WorkbookEditablePermission as _0x1bf5b8,SheetPermissionInitController as _0x447f11}from'@univerjs/sheets';import{ImageSourceType as _0x63df15,ImageUploadStatusType as _0x415fb9,IImageIoService as _0x526b53}from'@univerjs/drawing';import{getGlobalObject as _0x4af7ba}from'@univerjs-pro/license';const mn=_0xccc328(0x38d),gn=_0xccc328(0x376),Sn=_0xccc328(0x31f),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0xccc328(0x2ed),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr=_0xccc328(0x22e),Cn=_0xccc328(0x2f7),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,On=_0xccc328(0x31c),yn=0x3,Mr=_0xccc328(0x29c),kr=0x3e8,Nn=_0xccc328(0x2ae),Dn=_0xccc328(0x29a),Un='LOGIN_URL_KEY',An=_0xccc328(0x346),$r=_0xccc328(0x300),Hr=_0xccc328(0x40b);var Si=(_0x3a1df9=>(_0x3a1df9[_0x3a1df9[_0xccc328(0x23a)]=0x0]=_0xccc328(0x23a),_0x3a1df9[_0x3a1df9['OK']=0x1]='OK',_0x3a1df9[_0x3a1df9[_0xccc328(0x377)]=0x2]=_0xccc328(0x377),_0x3a1df9[_0x3a1df9[_0xccc328(0x274)]=0x3]=_0xccc328(0x274),_0x3a1df9[_0x3a1df9['NOT_FOUND']=0x4]=_0xccc328(0x235),_0x3a1df9[_0x3a1df9[_0xccc328(0x269)]=0x5]=_0xccc328(0x269),_0x3a1df9[_0x3a1df9[_0xccc328(0x42f)]=0x6]=_0xccc328(0x42f),_0x3a1df9[_0x3a1df9[_0xccc328(0x482)]=0x7]=_0xccc328(0x482),_0x3a1df9[_0x3a1df9['TOO_MANY_REQUESTS']=0x8]=_0xccc328(0x44e),_0x3a1df9[_0x3a1df9[_0xccc328(0x349)]=0x9]=_0xccc328(0x349),_0x3a1df9[_0x3a1df9[_0xccc328(0x2f1)]=0xa]=_0xccc328(0x2f1),_0x3a1df9[_0x3a1df9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xccc328(0x486),_0x3a1df9[_0x3a1df9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xccc328(0x2af),_0x3a1df9[_0x3a1df9[_0xccc328(0x270)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3a1df9[_0x3a1df9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xccc328(0x3f7),_0x3a1df9[_0x3a1df9[_0xccc328(0x3b1)]=0x1b59]='APPLY_REJECT',_0x3a1df9[_0x3a1df9[_0xccc328(0x2ee)]=0x1b5a]=_0xccc328(0x2ee),_0x3a1df9[_0x3a1df9[_0xccc328(0x37b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a1df9[_0x3a1df9[_0xccc328(0x326)]=0x1b5c]=_0xccc328(0x326),_0x3a1df9[_0x3a1df9[_0xccc328(0x41c)]=0x1b5d]=_0xccc328(0x41c),_0x3a1df9[_0x3a1df9[_0xccc328(0x388)]=0x1f41]=_0xccc328(0x388),_0x3a1df9[_0x3a1df9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xccc328(0x2cd),_0x3a1df9[_0x3a1df9[_0xccc328(0x379)]=0x232a]=_0xccc328(0x379),_0x3a1df9[_0x3a1df9[_0xccc328(0x344)]=0x232b]=_0xccc328(0x344),_0x3a1df9[_0x3a1df9[_0xccc328(0x3fd)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3a1df9[_0x3a1df9[_0xccc328(0x2c8)]=0x232d]=_0xccc328(0x2c8),_0x3a1df9[_0x3a1df9[_0xccc328(0x3ba)]=0x2711]=_0xccc328(0x3ba),_0x3a1df9[_0x3a1df9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xccc328(0x260),_0x3a1df9[_0x3a1df9[_0xccc328(0x1fd)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3a1df9[_0x3a1df9[_0xccc328(0x267)]=0x2714]=_0xccc328(0x267),_0x3a1df9[_0x3a1df9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xccc328(0x2b3),_0x3a1df9[_0x3a1df9[_0xccc328(0x2d4)]=0x271b]=_0xccc328(0x2d4),_0x3a1df9[_0x3a1df9[_0xccc328(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3a1df9[_0x3a1df9[_0xccc328(0x217)]=0x2ee1]=_0xccc328(0x217),_0x3a1df9[_0x3a1df9['INVALID_INVITE_CODE']=0x2ee2]=_0xccc328(0x25b),_0x3a1df9[_0x3a1df9[_0xccc328(0x1e3)]=0x2ee3]=_0xccc328(0x1e3),_0x3a1df9[_0x3a1df9[_0xccc328(0x285)]=0x2ee4]=_0xccc328(0x285),_0x3a1df9[_0x3a1df9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3a1df9[_0x3a1df9[_0xccc328(0x21b)]=0x32c9]=_0xccc328(0x21b),_0x3a1df9[_0x3a1df9[_0xccc328(0x3af)]=0x32ca]=_0xccc328(0x3af),_0x3a1df9[_0x3a1df9[_0xccc328(0x417)]=0x32cb]=_0xccc328(0x417),_0x3a1df9[_0x3a1df9['UNRECOGNIZED']=-0x1]=_0xccc328(0x338),_0x3a1df9))(Si||{}),Q=(_0x522845=>(_0x522845[_0x522845[_0xccc328(0x28b)]=0x0]=_0xccc328(0x28b),_0x522845[_0x522845[_0xccc328(0x4a4)]=0x1]=_0xccc328(0x4a4),_0x522845[_0x522845[_0xccc328(0x2db)]=0x2]=_0xccc328(0x2db),_0x522845[_0x522845['UNIVER_SLIDE']=0x3]=_0xccc328(0x487),_0x522845[_0x522845[_0xccc328(0x330)]=0x4]='UNIVER_PROJECT',_0x522845[_0x522845[_0xccc328(0x338)]=-0x1]=_0xccc328(0x338),_0x522845))(Q||{}),F=(_0x437814=>(_0x437814[_0x437814[_0xccc328(0x2f3)]=0x0]=_0xccc328(0x2f3),_0x437814[_0x437814[_0xccc328(0x1aa)]=0x1]='HELLO',_0x437814[_0x437814[_0xccc328(0x2f8)]=0x2]=_0xccc328(0x2f8),_0x437814[_0x437814[_0xccc328(0x2e9)]=0x3]=_0xccc328(0x2e9),_0x437814[_0x437814['INGEST']=0x4]=_0xccc328(0x341),_0x437814[_0x437814[_0xccc328(0x4ac)]=0x5]=_0xccc328(0x4ac),_0x437814[_0x437814[_0xccc328(0x272)]=0x6]='RECV',_0x437814[_0x437814['UNRECOGNIZED']=-0x1]=_0xccc328(0x338),_0x437814))(F||{}),ge=(_0x17e068=>(_0x17e068[_0x17e068[_0xccc328(0x334)]=0x0]='UNKNOWN_CODE',_0x17e068[_0x17e068['OK']=0x1]='OK',_0x17e068[_0x17e068[_0xccc328(0x3a6)]=0x2]=_0xccc328(0x3a6),_0x17e068[_0x17e068[_0xccc328(0x475)]=0x3e9]=_0xccc328(0x475),_0x17e068[_0x17e068[_0xccc328(0x36e)]=0x3ea]=_0xccc328(0x36e),_0x17e068[_0x17e068[_0xccc328(0x46f)]=0x3eb]=_0xccc328(0x46f),_0x17e068[_0x17e068[_0xccc328(0x37e)]=0x3ec]=_0xccc328(0x37e),_0x17e068[_0x17e068[_0xccc328(0x338)]=-0x1]=_0xccc328(0x338),_0x17e068))(ge||{}),Ei=(_0x2b9315=>(_0x2b9315[_0x2b9315['Undefined']=0x0]=_0xccc328(0x2fa),_0x2b9315[_0x2b9315[_0xccc328(0x1d9)]=0x1]=_0xccc328(0x1d9),_0x2b9315[_0x2b9315['HttpExport']=0x2]=_0xccc328(0x3a5),_0x2b9315[_0x2b9315[_0xccc328(0x47d)]=0x3]=_0xccc328(0x47d),_0x2b9315[_0x2b9315['UnitSnapshot']=0x4]=_0xccc328(0x21d),_0x2b9315[_0x2b9315[_0xccc328(0x370)]=0x5]=_0xccc328(0x370),_0x2b9315[_0x2b9315[_0xccc328(0x338)]=-0x1]='UNRECOGNIZED',_0x2b9315))(Ei||{});const q=_0xccc328(0x47c),wn={};var re=(_0x5b9bb5=>(_0x5b9bb5[_0xccc328(0x3d2)]=_0xccc328(0x3d2),_0x5b9bb5[_0xccc328(0x274)]=_0xccc328(0x274),_0x5b9bb5[_0xccc328(0x1af)]='CONFLICT',_0x5b9bb5[_0xccc328(0x1a2)]=_0xccc328(0x1a2),_0x5b9bb5[_0xccc328(0x24a)]=_0xccc328(0x24a),_0x5b9bb5[_0xccc328(0x1ad)]='SOCKET_FAILED_RETRY',_0x5b9bb5[_0xccc328(0x32f)]=_0xccc328(0x32f),_0x5b9bb5['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x5b9bb5))(re||{});class pe{constructor(){var _0x5472a0=_0xccc328;N(this,'_event$',new _0x364bef()),N(this,_0x5472a0(0x32a),this[_0x5472a0(0x37a)][_0x5472a0(0x366)]());}[_0xccc328(0x460)](_0x4046d7){var _0x105fb3=_0xccc328;this['_event$'][_0x105fb3(0x419)](_0x4046d7);}}const Pn=_0x3a4763('univer-pro.collaboration-client.network-condition.service');function Ln(_0x295e3c){var _0x22f5ad=_0xccc328,_0x336fd9,_0x3e5fad,_0x26e3f9,_0x4a12e4,_0x4e35db;const _0x22921a=_0x295e3c[_0x22f5ad(0x43a)],_0x54ee7c=JSON[_0x22f5ad(0x3ec)](_0x22921a);switch(_0x54ee7c['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0x3df14a=_0x54ee7c[_0x22f5ad(0x33a)];return{..._0x54ee7c,'data':_0x3df14a,'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};}case F[_0x22f5ad(0x2f8)]:{const _0x5bc697=_0x54ee7c[_0x22f5ad(0x273)];return{..._0x54ee7c,'data':_0x5bc697,'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};}case F[_0x22f5ad(0x272)]:{const _0x4615df=_0x54ee7c[_0x22f5ad(0x250)];switch(_0x4615df[_0x22f5ad(0x3f4)]){case _0x4c124f[_0x22f5ad(0x309)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x336fd9=_0x4615df[_0x22f5ad(0x25a)])==null?void 0x0:_0x336fd9['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x202)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x3e5fad=_0x4615df[_0x22f5ad(0x2a3)])==null?void 0x0:_0x3e5fad['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x266)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x26e3f9=_0x4615df[_0x22f5ad(0x1f8)])==null?void 0x0:_0x26e3f9['cs']},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x442)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x4a12e4=_0x4615df['csRejEvent'])==null?void 0x0:_0x4a12e4['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x25f)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':(_0x4e35db=_0x4615df[_0x22f5ad(0x1da)])==null?void 0x0:_0x4e35db['cs']},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x32e)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x3b5)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x2d1)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x453)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x230)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x398)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x30f)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x451)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x29b)]:case _0x4c124f['LIVESHARE_OPERATION']:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x391)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x413)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x451)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x421)]:return{..._0x54ee7c,'data':_0x4615df,'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f['COMMENT_UPDATE']:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x48b)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f[_0x22f5ad(0x4ab)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x26f)]},'cmd':_0x54ee7c['cmd']};case _0x4c124f[_0x22f5ad(0x3a4)]:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x336)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};case _0x4c124f['UNISCRIPT_RUN']:return{..._0x54ee7c,'data':{..._0x4615df,'data':_0x4615df[_0x22f5ad(0x223)]},'cmd':_0x54ee7c[_0x22f5ad(0x33e)]};default:return _0x54ee7c;}}default:return _0x54ee7c;}}function xn(_0x2c6379){var _0x5c0f9c=_0xccc328;switch(_0x2c6379[_0x5c0f9c(0x33e)]){case F['HEARTBEAT']:case F[_0x5c0f9c(0x1aa)]:return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379[_0x5c0f9c(0x33e)],'routeKey':_0x2c6379[_0x5c0f9c(0x3f6)]});case F['INGEST']:{let _0x32081c;switch(_0x2c6379[_0x5c0f9c(0x43a)]['eventID']){case _0x4c124f[_0x5c0f9c(0x32e)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x32e)],'updateCursorEvent':_0x2c6379['data'][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x230)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x230)],'leaveEvent':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x2d1)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x2d1)],'joinEvent':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x30f)]:{_0x32081c={'eventID':_0x4c124f['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x323)]:{_0x32081c={'eventID':_0x4c124f['LIVESHARE_OPERATION'],'liveShareOperation':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x413)]:{_0x32081c={'eventID':_0x4c124f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x397)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x397)],'liveShareRequestHost':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x43a)]};break;}case _0x4c124f[_0x5c0f9c(0x29b)]:{_0x32081c={'eventID':_0x4c124f[_0x5c0f9c(0x29b)]};break;}default:_0x32081c={'eventID':_0x2c6379[_0x5c0f9c(0x43a)][_0x5c0f9c(0x3f4)]};}return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379['cmd'],'routeKey':_0x2c6379[_0x5c0f9c(0x3f6)],'collaMsg':_0x32081c});}case F[_0x5c0f9c(0x2f8)]:return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379[_0x5c0f9c(0x33e)],'routeKey':_0x2c6379[_0x5c0f9c(0x3f6)],'joinReq':_0x2c6379['data']});case F['LEAVE']:return JSON[_0x5c0f9c(0x280)]({'cmd':_0x2c6379['cmd'],'routeKey':_0x2c6379['routeKey'],'leaveReq':_0x2c6379[_0x5c0f9c(0x43a)]});default:throw new Error(_0x5c0f9c(0x429));}}var Mn=Object[_0xccc328(0x2bf)],kn=(_0x28c165,_0x38582c,_0x19e2fe,_0x5b72f6)=>{var _0x7ce034=_0xccc328;for(var _0x239716=_0x5b72f6>0x1?void 0x0:_0x5b72f6?Mn(_0x38582c,_0x19e2fe):_0x38582c,_0xf2d67c=_0x28c165[_0x7ce034(0x489)]-0x1,_0x4d45e1;_0xf2d67c>=0x0;_0xf2d67c--)(_0x4d45e1=_0x28c165[_0xf2d67c])&&(_0x239716=_0x4d45e1(_0x239716)||_0x239716);return _0x239716;},Ae=(_0x12f600,_0x48fc3d)=>(_0x4e04fe,_0x1fe775)=>_0x48fc3d(_0x4e04fe,_0x1fe775,_0x12f600);const Ii=_0x3a4763(_0xccc328(0x3b8));function $n(_0x59475f,_0xa9a180,_0x5f4cd0){var _0x4f51b9=_0xccc328;return _0x59475f+'/'+_0xa9a180+_0x4f51b9(0x279)+_0x5f4cd0+_0x4f51b9(0x212);}let Gt=class extends _0x1e04d8{constructor(_0x30494c,_0x2b9eb2,_0x1946ba,_0x486607,_0x3cd669){var _0x2b6d31=_0xccc328;super(),this[_0x2b6d31(0x426)]=_0x30494c,this[_0x2b6d31(0x3ee)]=_0x2b9eb2,this['_configService']=_0x1946ba,this[_0x2b6d31(0x242)]=_0x486607,this['_snapshotServerService']=_0x3cd669;}['_doCreateSocket'](_0x482d52){var _0x3bc94e=_0xccc328;const _0x575dcc=this[_0x3bc94e(0x426)]['get'](_0x23bddd);if(!_0x575dcc)throw new Error(_0x3bc94e(0x1a6));const _0x3741aa=_0x575dcc[_0x3bc94e(0x2c7)](_0x482d52);if(!_0x3741aa)throw new Error(_0x3bc94e(0x3fe));const _0x2fccf1=new _0x47e9b4(),_0x21e0eb=new _0x364bef();_0x2fccf1[_0x3bc94e(0x2b2)](_0x3741aa[_0x3bc94e(0x1d7)][_0x3bc94e(0x2d7)](_0x34e388=>_0x21e0eb['next'](_0x34e388))),_0x2fccf1[_0x3bc94e(0x2b2)](_0x7dd940(()=>_0x21e0eb['complete']()));const _0x473f3e=new _0x364bef();_0x2fccf1['add'](_0x3741aa['error$'][_0x3bc94e(0x2d7)](_0x331473=>_0x473f3e[_0x3bc94e(0x419)](_0x331473))),_0x2fccf1[_0x3bc94e(0x2b2)](_0x7dd940(()=>_0x473f3e['complete']()));const _0x831cc9=new _0x364bef();_0x2fccf1[_0x3bc94e(0x2b2)](_0x3741aa[_0x3bc94e(0x3e5)][_0x3bc94e(0x2d7)](_0x3951e5=>{var _0x44ca63=_0x3bc94e;const _0x444062=Ln(_0x3951e5);_0x831cc9[_0x44ca63(0x419)](_0x444062);})),_0x2fccf1[_0x3bc94e(0x2b2)](_0x7dd940(()=>_0x831cc9[_0x3bc94e(0x25e)]()));let _0x1c3759;const _0x57a5f6=()=>{var _0x5c2a92=_0x3bc94e;_0x473f3e['next'](new Event('connection\x20error')),_0x21e0eb[_0x5c2a92(0x419)](new Event(_0x5c2a92(0x3c7))),_0x1c3759['close']();};return _0x1c3759={'memberID':'','close$':_0x21e0eb[_0x3bc94e(0x366)](),'error$':_0x473f3e[_0x3bc94e(0x366)](),'open$':_0x3741aa[_0x3bc94e(0x42e)],'message$':_0x831cc9[_0x3bc94e(0x366)](),'send':_0x2a385c=>{var _0x2a5827=_0x3bc94e;if(_0x2a385c['cmd']===F['INGEST']){if(_0x2a385c[_0x2a5827(0x43a)][_0x2a5827(0x3f4)]===_0x4c124f[_0x2a5827(0x1c8)]){this['_submitChangeset'](_0x1c3759,_0x2a385c[_0x2a5827(0x43a)])['catch'](_0x11b41b=>{var _0x284301=_0x2a5827;this[_0x284301(0x242)]['error'](_0x11b41b),_0x57a5f6();});return;}if(_0x2a385c[_0x2a5827(0x43a)]['eventID']===_0x4c124f[_0x2a5827(0x44d)]){const _0x50e42e=_0x2a385c[_0x2a5827(0x43a)];this[_0x2a5827(0x2f5)](_0x50e42e)['then'](_0x1cd1e9=>{var _0x55fe32=_0x2a5827;_0x831cc9['next']({'cmd':F[_0x55fe32(0x272)],'code':ge['OK'],'routeKey':_0x50e42e['data'][_0x55fe32(0x45c)],'routeType':'','data':{'eventID':_0x4c124f[_0x55fe32(0x2ef)],'data':{'changesets':_0x1cd1e9}}});})['catch'](_0x183aa6=>{var _0x6d2d4f=_0x2a5827;this[_0x6d2d4f(0x242)][_0x6d2d4f(0x4ae)](_0x183aa6),_0x57a5f6();});return;}}_0x3741aa[_0x2a5827(0x467)](xn(_0x2a385c));},'close':()=>{var _0x24ccca=_0x3bc94e;_0x3741aa[_0x24ccca(0x30b)](),_0x2fccf1['dispose']();}},_0x1c3759;}async[_0xccc328(0x2f4)](_0x21fc0a,_0x285735){var _0x990ae8=_0xccc328,_0x3f00e8,_0x47478a;const {unitType:_0x257e56,unitID:_0x27830b,changeset:_0x49f6be}=_0x285735[_0x990ae8(0x43a)],_0xdbac98={'unitID':_0x27830b,'memberID':_0x21fc0a[_0x990ae8(0x43d)],'type':_0x257e56,'changeset':_0x1e1f6d(_0x49f6be)},_0x363bd9=this[_0x990ae8(0x20b)][_0x990ae8(0x38c)](Nn),_0x547ab3=this[_0x990ae8(0x20b)][_0x990ae8(0x38c)](q),_0x3fb548=$n((_0x47478a=(_0x3f00e8=_0x547ab3==null?void 0x0:_0x547ab3['collabSubmitChangesetUrl'])!=null?_0x3f00e8:_0x363bd9)!=null?_0x47478a:Dn,_0x257e56,_0x27830b);try{await this['_httpService'][_0x990ae8(0x403)](_0x3fb548,{'body':_0xdbac98});}catch(_0x2eaae5){throw this[_0x990ae8(0x242)][_0x990ae8(0x4ae)](_0x990ae8(0x1f0),_0x990ae8(0x4a8)),_0x2eaae5;}}async[_0xccc328(0x2f5)](_0x52948b){var _0x19ecf5=_0xccc328;const {unitID:_0x5cab98,from:_0x50058c,to:_0x2761f9,unitType:_0x4812c1}=_0x52948b['data'];return(await this[_0x19ecf5(0x2f2)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5cab98,'type':_0x4812c1,'from':_0x50058c,'to':_0x2761f9}))[_0x19ecf5(0x30c)];}};Gt=kn([Ae(0x0,_0x42d086(_0x213b7b)),Ae(0x1,_0x42d086(_0x44834c)),Ae(0x2,_0x32d0f8),Ae(0x3,_0x48685b),Ae(0x4,_0x491b4b)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x177e5b){return JSON['stringify'](_0x177e5b)['length'];}class Ti{constructor(){var _0x26dccf=_0xccc328;N(this,_0x26dccf(0x484),new _0x364bef()),N(this,_0x26dccf(0x3aa),this['_commentUpdate$'][_0x26dccf(0x366)]());}[_0xccc328(0x208)](_0x49d2af){var _0x4b7952=_0xccc328;this[_0x4b7952(0x484)][_0x4b7952(0x419)](_0x49d2af);}}var jn=Object[_0xccc328(0x2bf)],Fn=(_0x43c67f,_0x3901ca,_0xcff34b,_0x14e62b)=>{var _0x12f8cb=_0xccc328;for(var _0x2c65c7=_0x14e62b>0x1?void 0x0:_0x14e62b?jn(_0x3901ca,_0xcff34b):_0x3901ca,_0x1e48aa=_0x43c67f[_0x12f8cb(0x489)]-0x1,_0x252bdd;_0x1e48aa>=0x0;_0x1e48aa--)(_0x252bdd=_0x43c67f[_0x1e48aa])&&(_0x2c65c7=_0x252bdd(_0x2c65c7)||_0x2c65c7);return _0x2c65c7;},Wt=(_0x4336b5,_0x190289)=>(_0x541ec0,_0x3deca4)=>_0x190289(_0x541ec0,_0x3deca4,_0x4336b5);let Le=class extends _0x1e04d8{constructor(_0x50e139,_0x5ab53e){var _0x4e0d6a=_0xccc328;super(),N(this,'_roomMembers',new Map()),N(this,_0x4e0d6a(0x3ce),new _0x364bef()),(this[_0x4e0d6a(0x3a9)]=_0x50e139,this[_0x4e0d6a(0x387)]=_0x5ab53e,this[_0x4e0d6a(0x2c9)](_0x40c80f(this[_0x4e0d6a(0x3a9)][_0x4e0d6a(0x27c)](_0x2a060b['UNIVER_SHEET'])[_0x4e0d6a(0x2fc)](_0x422352(_0x3adca8=>_0x3adca8[_0x4e0d6a(0x1de)]())),this[_0x4e0d6a(0x3a9)][_0x4e0d6a(0x27c)](_0x2a060b['UNIVER_DOC'])[_0x4e0d6a(0x2fc)](_0x422352(_0x1854d3=>_0x1854d3[_0x4e0d6a(0x1de)]())),this[_0x4e0d6a(0x3a9)][_0x4e0d6a(0x27c)](_0x2a060b[_0x4e0d6a(0x487)])[_0x4e0d6a(0x2fc)](_0x422352(_0x36dcc9=>_0x36dcc9['getUnitId']())))[_0x4e0d6a(0x2d7)](_0xa4345a=>this[_0x4e0d6a(0x483)](_0xa4345a))));}['waitForRoom$'](_0x5ac0a9){var _0x5332b5=_0xccc328;return this[_0x5332b5(0x224)][_0x5332b5(0x20c)](_0x5ac0a9)?_0x194398(this[_0x5332b5(0x224)][_0x5332b5(0x40e)](_0x5ac0a9)):this[_0x5332b5(0x3ce)][_0x5332b5(0x2fc)](_0x422352(_0x4ba334=>{var _0x48e998=_0x5332b5;if(_0x4ba334===_0x5ac0a9)return this[_0x48e998(0x224)][_0x48e998(0x40e)](_0x4ba334);}));}[_0xccc328(0x46d)](_0xc3ba2c){var _0x23fa7f=_0xccc328;this[_0x23fa7f(0x387)]['setCurrentUser'](_0xc3ba2c);}['getCurrentUser'](){var _0x4f1df0=_0xccc328;return this[_0x4f1df0(0x387)][_0x4f1df0(0x26d)]();}[_0xccc328(0x319)](_0x509c2d,_0x457577){var _0x4739a9=_0xccc328;let _0x20584c=this[_0x4739a9(0x224)][_0x4739a9(0x40e)](_0x509c2d);_0x20584c||(_0x20584c=new Vn(),this[_0x4739a9(0x224)][_0x4739a9(0x382)](_0x509c2d,_0x20584c),this[_0x4739a9(0x3ce)][_0x4739a9(0x419)](_0x509c2d)),_0x20584c[_0x4739a9(0x319)](_0x457577);}['removeMember'](_0x4b23e8,_0x3d9bf2){var _0x28d116=_0xccc328;const _0x4d0c1e=this[_0x28d116(0x224)][_0x28d116(0x40e)](_0x4b23e8);_0x4d0c1e&&_0x4d0c1e[_0x28d116(0x30a)](_0x3d9bf2);}[_0xccc328(0x2c5)](_0x3732c8){var _0x3763d3=_0xccc328;return this[_0x3763d3(0x224)][_0x3763d3(0x40e)](_0x3732c8);}['getMember'](_0x23c025,_0x32744d){var _0x466c98=_0xccc328;const _0x3b567a=this[_0x466c98(0x224)][_0x466c98(0x40e)](_0x23c025);if(_0x3b567a)return _0x3b567a[_0x466c98(0x432)](_0x32744d);}['_removeRoom'](_0x2754e2){var _0x227448=_0xccc328;const _0x14da83=this['_roomMembers'][_0x227448(0x40e)](_0x2754e2);_0x14da83&&(_0x14da83[_0x227448(0x4a5)](),this['_roomMembers'][_0x227448(0x1b9)](_0x2754e2));}[_0xccc328(0x4a5)](){var _0xa021bb=_0xccc328;this[_0xa021bb(0x224)][_0xa021bb(0x412)](_0x24b016=>_0x24b016[_0xa021bb(0x4a5)]()),this['_roomMembers']['clear'](),this[_0xa021bb(0x3ce)][_0xa021bb(0x25e)]();}};Le=Fn([Wt(0x0,_0xca8903),Wt(0x1,_0x42d086(_0x180017))],Le);class Vn extends _0x1e04d8{constructor(){var _0x3f33a1=_0xccc328;super(...arguments),N(this,_0x3f33a1(0x1f6),new Map()),N(this,_0x3f33a1(0x2d6),new _0x12344d(this['_members'])),N(this,_0x3f33a1(0x3f5),this['_members$'][_0x3f33a1(0x366)]());}[_0xccc328(0x4a5)](){var _0x34f40f=_0xccc328;this[_0x34f40f(0x1f6)][_0x34f40f(0x2b7)]();}[_0xccc328(0x319)](_0x1d41cd){var _0x542b36=_0xccc328;this[_0x542b36(0x1f6)][_0x542b36(0x382)](_0x1d41cd[_0x542b36(0x43d)],_0x1d41cd),this['_emitMembers']();}[_0xccc328(0x30a)](_0x27c1bc){var _0x55633c=_0xccc328;this[_0x55633c(0x1f6)][_0x55633c(0x1b9)](_0x27c1bc);}['getMember'](_0x1a79e9){var _0x381fb7=_0xccc328;return this['_members'][_0x381fb7(0x40e)](_0x1a79e9);}[_0xccc328(0x409)](){var _0x5bff4c=_0xccc328;return Array[_0x5bff4c(0x445)](this[_0x5bff4c(0x1f6)][_0x5bff4c(0x288)]());}[_0xccc328(0x327)](){var _0x157d6c=_0xccc328;this[_0x157d6c(0x2d6)][_0x157d6c(0x419)](this[_0x157d6c(0x1f6)]);}}var Gn=Object[_0xccc328(0x2bf)],Wn=(_0x3de3ab,_0x2f56c6,_0x3ed9ea,_0x1337e4)=>{var _0x55727e=_0xccc328;for(var _0x46195f=_0x1337e4>0x1?void 0x0:_0x1337e4?Gn(_0x2f56c6,_0x3ed9ea):_0x2f56c6,_0x77b5fc=_0x3de3ab[_0x55727e(0x489)]-0x1,_0x307889;_0x77b5fc>=0x0;_0x77b5fc--)(_0x307889=_0x3de3ab[_0x77b5fc])&&(_0x46195f=_0x307889(_0x46195f)||_0x46195f);return _0x46195f;},me=(_0x5a1c64,_0x512cf3)=>(_0x31af72,_0x35ec21)=>_0x512cf3(_0x31af72,_0x35ec21,_0x5a1c64),Ee=(_0x49d33d=>(_0x49d33d[_0x49d33d[_0xccc328(0x466)]=0x0]='IDLE',_0x49d33d[_0x49d33d[_0xccc328(0x3a2)]=0x1]=_0xccc328(0x3a2),_0x49d33d[_0x49d33d[_0xccc328(0x3d5)]=0x2]=_0xccc328(0x3d5),_0x49d33d[_0x49d33d[_0xccc328(0x38b)]=0x3]=_0xccc328(0x38b),_0x49d33d))(Ee||{});const Kt={[ge[_0xccc328(0x3a6)]]:_0xccc328(0x2d8),[ge[_0xccc328(0x475)]]:_0xccc328(0x2a2),[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0xccc328(0x46f)]]:'session.room-permission-denied',[ge[_0xccc328(0x37e)]]:_0xccc328(0x339)};let Et=class extends _0x694488{constructor(_0xeec800,_0x2e23fe,_0x2f8d6e,_0xfdfeac,_0x23115f,_0x4a452d,_0x4ff97b,_0x5373a4,_0x2a0402){var _0x4e18a8=_0xccc328;super(),N(this,_0x4e18a8(0x422),new _0x12344d(0x0)),N(this,_0x4e18a8(0x320),this[_0x4e18a8(0x422)][_0x4e18a8(0x366)]()),N(this,_0x4e18a8(0x37a),new _0x364bef()),N(this,_0x4e18a8(0x32a),this['_event$'][_0x4e18a8(0x366)]()),N(this,_0x4e18a8(0x207)),N(this,_0x4e18a8(0x3be)),N(this,_0x4e18a8(0x290)),N(this,_0x4e18a8(0x1ed),!0x1),N(this,_0x4e18a8(0x374),null),(this[_0x4e18a8(0x428)]=_0xeec800,this[_0x4e18a8(0x242)]=_0x2f8d6e,this[_0x4e18a8(0x20b)]=_0xfdfeac,this[_0x4e18a8(0x1c6)]=_0x23115f,this[_0x4e18a8(0x351)]=_0x4a452d,this[_0x4e18a8(0x1c3)]=_0x4ff97b,this['_collaborationUIEventService']=_0x5373a4,this[_0x4e18a8(0x2bb)]=_0x2a0402,this[_0x4e18a8(0x1ed)]=!!this[_0x4e18a8(0x2bb)],_0x2e23fe[_0x4e18a8(0x2fc)](_0x246e32(this[_0x4e18a8(0x22b)]))[_0x4e18a8(0x2d7)](_0x43c538=>{var _0x15dd88=_0x4e18a8,_0x3430e9;typeof _0x43c538>'u'||(this[_0x15dd88(0x207)]=_0x43c538,_0x43c538?(this[_0x15dd88(0x39b)](_0x43c538),this[_0x15dd88(0x3be)]=_0x43c538[_0x15dd88(0x3e5)][_0x15dd88(0x2d7)](_0x3623fc=>{var _0x10dd8c=_0x15dd88;_0x3623fc[_0x10dd8c(0x3f6)]===this[_0x10dd8c(0x428)]&&this[_0x10dd8c(0x3b7)](_0x3623fc);})):(this[_0x15dd88(0x30e)](),this[_0x15dd88(0x422)][_0x15dd88(0x419)](0x2),(_0x3430e9=this[_0x15dd88(0x3be)])==null||_0x3430e9[_0x15dd88(0x238)](),this[_0x15dd88(0x3be)]=null));}));}get['sessionStatus'](){var _0x482ae6=_0xccc328;return this[_0x482ae6(0x422)][_0x482ae6(0x431)]();}[_0xccc328(0x28c)](){var _0x21e9d0=_0xccc328,_0x555702,_0xe0fd90;return(_0xe0fd90=(_0x555702=this[_0x21e9d0(0x207)])==null?void 0x0:_0x555702[_0x21e9d0(0x43d)])!=null?_0xe0fd90:null;}[_0xccc328(0x4a5)](){var _0x4b8557=_0xccc328;super[_0x4b8557(0x4a5)](),this['dispose$'][_0x4b8557(0x419)](),this[_0x4b8557(0x22b)][_0x4b8557(0x25e)]();}[_0xccc328(0x30b)](){var _0x8f7b62=_0xccc328,_0x2312a0,_0x53183f;this[_0x8f7b62(0x30e)](),(_0x2312a0=this[_0x8f7b62(0x207)])==null||_0x2312a0[_0x8f7b62(0x467)]({'cmd':F[_0x8f7b62(0x2e9)],'data':{'roomID':this[_0x8f7b62(0x428)]}}),(_0x53183f=this[_0x8f7b62(0x207)])==null||_0x53183f[_0x8f7b62(0x30b)](),this['_event$'][_0x8f7b62(0x25e)](),this[_0x8f7b62(0x422)][_0x8f7b62(0x25e)](),this[_0x8f7b62(0x4a5)]();}[_0xccc328(0x3b7)](_0x152127){var _0x1ff3ce=_0xccc328;_0x152127[_0x1ff3ce(0x33e)]===F[_0x1ff3ce(0x2f8)]?this[_0x1ff3ce(0x2fb)](_0x152127):_0x152127[_0x1ff3ce(0x33e)]===F[_0x1ff3ce(0x272)]&&this[_0x1ff3ce(0x496)](_0x152127);}[_0xccc328(0x39b)](_0xa3d6e8){var _0x3996bc=_0xccc328;this['_sessionStatus$']['next'](0x1),_0xa3d6e8['send']({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x3996bc(0x428)]}]}});}['_onJoinRoomEvent'](_0x52e705){var _0x462496=_0xccc328,_0x1b7c5d;if(_0x52e705[_0x462496(0x3d3)]in Kt){this['_collaborationUIEventService'][_0x462496(0x460)]({'id':re['JOIN_ROOM_FAILED'],'data':Kt[_0x52e705[_0x462496(0x3d3)]]}),this[_0x462496(0x422)][_0x462496(0x419)](0x2);return;}this[_0x462496(0x422)]['next'](0x3);const _0x4651d7=(_0x1b7c5d=_0x52e705[_0x462496(0x43a)][_0x462496(0x3bd)][this[_0x462496(0x428)]])==null?void 0x0:_0x1b7c5d[_0x462496(0x22f)];_0x4651d7&&_0x4651d7[_0x462496(0x412)](_0x612ca8=>this[_0x462496(0x351)]['updateMember'](this[_0x462496(0x428)],_0x612ca8));}['_onRecvEvent'](_0x2fee9c){var _0x1d4ef3=_0xccc328;try{const _0x3627d1=_0x2fee9c[_0x1d4ef3(0x43a)];switch(_0x3627d1[_0x1d4ef3(0x3f4)]){case _0x4c124f[_0x1d4ef3(0x2d1)]:this[_0x1d4ef3(0x2b1)](_0x3627d1),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x230)]:this[_0x1d4ef3(0x35c)](_0x3627d1),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x202)]:case _0x4c124f[_0x1d4ef3(0x25f)]:this[_0x1d4ef3(0x225)](),this[_0x1d4ef3(0x293)](),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x421)]:this[_0x1d4ef3(0x242)][_0x1d4ef3(0x4ae)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1d4ef3(0x280)](_0x3627d1)),this['_event$']['next'](_0x3627d1);break;case _0x4c124f[_0x1d4ef3(0x3a0)]:this['_commentService'][_0x1d4ef3(0x208)](_0x3627d1[_0x1d4ef3(0x43a)]),this[_0x1d4ef3(0x37a)][_0x1d4ef3(0x419)](_0x3627d1);break;default:this['_event$'][_0x1d4ef3(0x419)](_0x3627d1);}}catch(_0x5f118e){this['_logService'][_0x1d4ef3(0x4ae)](_0x5f118e,_0x2fee9c);}}[_0xccc328(0x2b1)](_0x278ecb){var _0x1d1ecf=_0xccc328;this['_memberService']['updateMember'](this[_0x1d1ecf(0x428)],_0x278ecb[_0x1d1ecf(0x43a)]);}['_onUserLeave'](_0x2ea628){var _0x1d1bae=_0xccc328;this[_0x1d1bae(0x351)][_0x1d1bae(0x30a)](this[_0x1d1bae(0x428)],_0x2ea628[_0x1d1bae(0x43a)][_0x1d1bae(0x43d)]);}async[_0xccc328(0x467)](_0x259489,_0x382fa7){var _0x3d87da=_0xccc328;if(this[_0x3d87da(0x39e)]!==0x3||!this[_0x3d87da(0x207)])throw new Error(_0x3d87da(0x1ec));try{_0x259489['eventID']===_0x4c124f[_0x3d87da(0x1c8)]&&(this[_0x3d87da(0x4a3)](),this[_0x3d87da(0x3b4)](_0x259489)),this[_0x3d87da(0x207)]['send']({'cmd':F[_0x3d87da(0x341)],'routeKey':_0x382fa7,'routeType':'','data':_0x259489});}catch(_0x53d0f0){this[_0x3d87da(0x242)][_0x3d87da(0x4ae)](_0x53d0f0);}}[_0xccc328(0x4a3)](){var _0x1c7eda=_0xccc328,_0x3f869d;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x189a34=_0x4dde;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x189a34(0x1e0)]});},(_0x3f869d=this[_0x1c7eda(0x20b)][_0x1c7eda(0x38c)](mi))!=null?_0x3f869d:gi);}[_0xccc328(0x293)](){var _0x25b40e=_0xccc328;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x25b40e(0x290)]),this[_0x25b40e(0x290)]=null);}[_0xccc328(0x3b4)](_0x1b3003){var _0x2795c4=_0xccc328;if(!this[_0x2795c4(0x1ed)])return;const {data:_0x1ff701}=_0x1b3003,{unitID:_0x5dce5d,changeset:_0x9c12cf}=_0x1ff701,{mutations:_0x5369b8,type:_0x3df665}=_0x9c12cf;this['_telemetryInfo']={'unitId':_0x5dce5d,'type':_0x3df665,'startTime':performance[_0x2795c4(0x41d)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x5369b8)};}[_0xccc328(0x225)](){var _0x4999c7=_0xccc328;if(this[_0x4999c7(0x1ed)]){if(!this[_0x4999c7(0x374)]){this['_logService'][_0x4999c7(0x4ae)](_0x4999c7(0x1f0),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4999c7(0x374)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x4999c7(0x408)]=this[_0x4999c7(0x374)][_0x4999c7(0x414)]-this[_0x4999c7(0x374)]['startTime'],this[_0x4999c7(0x2bb)][_0x4999c7(0x1db)](Hn,this[_0x4999c7(0x374)]),this[_0x4999c7(0x374)]=null;}}[_0xccc328(0x30e)](){var _0x22c325=_0xccc328;this[_0x22c325(0x374)]=null;}};Et=Wn([me(0x2,_0x48685b),me(0x3,_0x32d0f8),me(0x4,_0x42d086(_0xc4f59a)),me(0x5,_0x42d086(Le)),me(0x6,_0x42d086(Ti)),me(0x7,_0x42d086(pe)),me(0x8,_0x4a4437(_0x491ad7))],Et);var Kn=Object[_0xccc328(0x2bf)],Yn=(_0x39be1c,_0x1ed93c,_0x4bc09e,_0x532dbe)=>{var _0xb5c2c1=_0xccc328;for(var _0x1993f4=_0x532dbe>0x1?void 0x0:_0x532dbe?Kn(_0x1ed93c,_0x4bc09e):_0x1ed93c,_0x339cda=_0x39be1c[_0xb5c2c1(0x489)]-0x1,_0x510b56;_0x339cda>=0x0;_0x339cda--)(_0x510b56=_0x39be1c[_0x339cda])&&(_0x1993f4=_0x510b56(_0x1993f4)||_0x1993f4);return _0x1993f4;},be=(_0xd1039d,_0x3774b8)=>(_0x4c985,_0x2b05c1)=>_0x3774b8(_0x4c985,_0x2b05c1,_0xd1039d);let xe=class extends _0x1e04d8{constructor(_0x2d671e,_0x5a916a,_0x3a073f,_0x52c591,_0x1c289b,_0x54612e){var _0x433822=_0xccc328;super(),N(this,'_socket$',new _0x12344d(void 0x0)),N(this,_0x433822(0x3e2),this[_0x433822(0x3ca)][_0x433822(0x366)]()),N(this,'_candidateSocket',null),N(this,_0x433822(0x200),new Map()),N(this,'_status$',new _0x12344d(Ee[_0x433822(0x466)])),N(this,_0x433822(0x32d),this[_0x433822(0x333)]['asObservable']()),N(this,_0x433822(0x2e5),!0x1),N(this,_0x433822(0x3f2)),N(this,'_retryCount',0x0),N(this,_0x433822(0x231)),N(this,_0x433822(0x206)),(this[_0x433822(0x426)]=_0x2d671e,this['_logService']=_0x5a916a,this[_0x433822(0x20b)]=_0x3a073f,this['_socketService']=_0x52c591,this[_0x433822(0x22d)]=_0x1c289b,this[_0x433822(0x2e4)]=_0x54612e,this[_0x433822(0x328)]());}get['_socket'](){var _0x4cdf6c=_0xccc328;return this[_0x4cdf6c(0x3ca)][_0x4cdf6c(0x431)]();}[_0xccc328(0x328)](){var _0x5c9904=_0xccc328;this['_networkConditionService']&&this[_0x5c9904(0x2c9)](this[_0x5c9904(0x2e4)][_0x5c9904(0x3c6)][_0x5c9904(0x2d7)](_0x3996fc=>{var _0x1773d8=_0x5c9904;_0x3996fc&&!this[_0x1773d8(0x207)]&&this[_0x1773d8(0x3bb)](),_0x3996fc||this['_onOffline']();}));}[_0xccc328(0x4a5)](){var _0x52da17=_0xccc328;super[_0x52da17(0x4a5)](),this[_0x52da17(0x259)](),this[_0x52da17(0x252)](),this[_0x52da17(0x1f7)](),this[_0x52da17(0x200)][_0x52da17(0x412)](_0x57eac1=>_0x57eac1[_0x52da17(0x4a5)]()),this[_0x52da17(0x200)][_0x52da17(0x2b7)](),this[_0x52da17(0x333)][_0x52da17(0x25e)]();}async[_0xccc328(0x1b3)](_0x56c27f){var _0x552e81=_0xccc328;if(this['_sessions']['has'](_0x56c27f))return this[_0x552e81(0x200)][_0x552e81(0x40e)](_0x56c27f);this['_tryEnsureSocket']();const _0xc5cfc7=this[_0x552e81(0x426)][_0x552e81(0x3b2)](Et,_0x56c27f,this['_socket$'][_0x552e81(0x366)]());return this['_sessions'][_0x552e81(0x382)](_0x56c27f,_0xc5cfc7),_0xc5cfc7;}[_0xccc328(0x375)](_0x39acd0){var _0x43db69=_0xccc328,_0x206668;const _0x5c8afb=this[_0x43db69(0x200)][_0x43db69(0x40e)](_0x39acd0);_0x5c8afb&&(this[_0x43db69(0x200)][_0x43db69(0x1b9)](_0x39acd0),_0x5c8afb[_0x43db69(0x30b)]()),this[_0x43db69(0x200)]['size']||(_0x206668=this[_0x43db69(0x207)])==null||_0x206668[_0x43db69(0x30b)]();}[_0xccc328(0x3bb)](){var _0x4f5989=_0xccc328;this[_0x4f5989(0x255)]=0x0,this[_0x4f5989(0x259)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0xe21a=_0xccc328;this[_0xe21a(0x3f2)]!=null&&(clearTimeout(this[_0xe21a(0x3f2)]),this[_0xe21a(0x3f2)]=null);}async[_0xccc328(0x3f9)](){var _0x50cb8c=_0xccc328,_0x3afb2a,_0x4f276f;const _0x3cf061=this['_configService'][_0x50cb8c(0x38c)](In),_0x10d859=this[_0x50cb8c(0x20b)]['getConfig'](q),_0x2efea1=(_0x4f276f=(_0x3afb2a=_0x10d859==null?void 0x0:_0x10d859[_0x50cb8c(0x390)])!=null?_0x3afb2a:_0x3cf061)!=null?_0x4f276f:Tn,_0x5c35ed=await this[_0x50cb8c(0x201)][_0x50cb8c(0x2c7)](_0x2efea1);return this[_0x50cb8c(0x446)]=_0x5c35ed,_0x5c35ed;}async[_0xccc328(0x294)](){var _0x5df187=_0xccc328,_0x54097d,_0x1d6c16;try{const _0x1c53e7=(_0x1d6c16=(_0x54097d=this['_socket'])!=null?_0x54097d:this[_0x5df187(0x446)])!=null?_0x1d6c16:await this[_0x5df187(0x3f9)]();if(_0x1c53e7){const _0x4dba33=_0x1c53e7[_0x5df187(0x467)];_0x1c53e7['send']=_0x4194bd=>(this['_rescheduleHeartbeat'](),_0x4dba33[_0x5df187(0x352)](_0x1c53e7,[_0x4194bd])),_0x1c53e7[_0x5df187(0x3e5)][_0x5df187(0x2d7)](_0x3af800=>this[_0x5df187(0x248)](_0x1c53e7,_0x3af800)),_0x1c53e7[_0x5df187(0x354)][_0x5df187(0x2fc)](_0xd9ef53(0x1))[_0x5df187(0x2d7)](_0x319907=>this[_0x5df187(0x242)][_0x5df187(0x4ae)](_0x5df187(0x3e6),_0x319907)),_0x1c53e7[_0x5df187(0x42e)][_0x5df187(0x2fc)](_0xd9ef53(0x1))['subscribe'](()=>{var _0x3c6b58=_0x5df187;this[_0x3c6b58(0x286)](_0x1c53e7);}),_0x1c53e7[_0x5df187(0x1d7)][_0x5df187(0x2fc)](_0xd9ef53(0x1))['subscribe'](_0x3aaa63=>{var _0x1b0551=_0x5df187;this['_logService'][_0x1b0551(0x353)](_0x1b0551(0x499),_0x1b0551(0x418),_0x3aaa63),this[_0x1b0551(0x402)]();});}}catch(_0x38b4aa){this[_0x5df187(0x242)][_0x5df187(0x4ae)](_0x38b4aa),this[_0x5df187(0x402)]();}}['_onConnectionOpen'](_0x513d5f){var _0x4e2ce9=_0xccc328;this[_0x4e2ce9(0x242)]['debug'](_0x4e2ce9(0x499),_0x4e2ce9(0x2a1)),_0x513d5f[_0x4e2ce9(0x467)]({'cmd':F[_0x4e2ce9(0x1aa)]}),this['_rescheduleHeartbeat']();}[_0xccc328(0x488)](){var _0x367ebb=_0xccc328;this['_socketReady']=!0x1,this[_0x367ebb(0x446)]=null,this[_0x367ebb(0x333)][_0x367ebb(0x419)](Ee[_0x367ebb(0x3d5)]),this[_0x367ebb(0x3ca)][_0x367ebb(0x419)](null),this[_0x367ebb(0x252)](),this[_0x367ebb(0x1f7)]();}[_0xccc328(0x402)](){var _0x53537c=_0xccc328,_0x245b1a;this[_0x53537c(0x488)](),this[_0x53537c(0x255)]<((_0x245b1a=this[_0x53537c(0x20b)][_0x53537c(0x38c)](On))!=null?_0x245b1a:yn)?(this[_0x53537c(0x22d)][_0x53537c(0x460)]({'id':re[_0x53537c(0x1ad)]}),this[_0x53537c(0x1b5)]()):this[_0x53537c(0x22d)][_0x53537c(0x460)]({'id':re[_0x53537c(0x32f)]});}[_0xccc328(0x1b5)](){var _0x3099bc=_0xccc328,_0x5068f5;const _0x401e33=this[_0x3099bc(0x255)],_0x2d9256=this[_0x3099bc(0x20b)]['getConfig'](q),_0x2e6b1f=_0x401e33===0x0?0x0:((_0x5068f5=_0x2d9256==null?void 0x0:_0x2d9256['retryConnectingInterval'])!=null?_0x5068f5:bn)*0x2**_0x401e33;this[_0x3099bc(0x3f2)]=setTimeout(()=>{var _0x1a4656=_0x3099bc;clearTimeout(this[_0x1a4656(0x3f2)]),this[_0x1a4656(0x3f2)]=null,this[_0x1a4656(0x294)]();},_0x2e6b1f),this[_0x3099bc(0x255)]+=0x1;}[_0xccc328(0x248)](_0x3cab6b,_0x515a8c){var _0x46ffd8=_0xccc328;const {cmd:_0x26d853}=_0x515a8c;_0x26d853===F[_0x46ffd8(0x1aa)]&&!this[_0x46ffd8(0x2e5)]&&(_0x3cab6b['memberID']=_0x515a8c[_0x46ffd8(0x43a)]['memberID'],this['_socket$'][_0x46ffd8(0x419)](_0x3cab6b),this[_0x46ffd8(0x333)][_0x46ffd8(0x419)](Ee[_0x46ffd8(0x38b)]),this['_socketReady']=!0x0,this[_0x46ffd8(0x446)]=null),_0x26d853===F[_0x46ffd8(0x4ac)]&&this[_0x46ffd8(0x252)](),this[_0x46ffd8(0x1dc)]();}[_0xccc328(0x1dc)](){var _0x157e58=_0xccc328,_0x102b7c;this[_0x157e58(0x1f7)](),this[_0x157e58(0x231)]=setTimeout(()=>this[_0x157e58(0x43c)](),(_0x102b7c=this['_configService'][_0x157e58(0x38c)](Cn))!=null?_0x102b7c:Rn);}[_0xccc328(0x43c)](){var _0x4504b3=_0xccc328;this[_0x4504b3(0x207)]['send']({'cmd':F[_0x4504b3(0x4ac)]}),this[_0x4504b3(0x297)]();}[_0xccc328(0x297)](){var _0x2d61ba=_0xccc328,_0x595da3;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x595da3=this[_0x2d61ba(0x20b)][_0x2d61ba(0x38c)](mi))!=null?_0x595da3:gi);}[_0xccc328(0x1f7)](){var _0x1883de=_0xccc328;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1883de(0x231)]),this[_0x1883de(0x231)]=null);}[_0xccc328(0x252)](){var _0x51ef16=_0xccc328;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x51ef16(0x206)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0x42d086(_0x213b7b)),be(0x1,_0x48685b),be(0x2,_0x32d0f8),be(0x3,Ii),be(0x4,_0x42d086(pe)),be(0x5,_0x4a4437(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0xccc328(0x26b)]((t+0x100)[_0xccc328(0x447)](0x10)[_0xccc328(0x46a)](0x1));function qn(_0x507dd1,_0x406b0f=0x0){var _0x2228b7=_0xccc328;return(V[_0x507dd1[_0x406b0f+0x0]]+V[_0x507dd1[_0x406b0f+0x1]]+V[_0x507dd1[_0x406b0f+0x2]]+V[_0x507dd1[_0x406b0f+0x3]]+'-'+V[_0x507dd1[_0x406b0f+0x4]]+V[_0x507dd1[_0x406b0f+0x5]]+'-'+V[_0x507dd1[_0x406b0f+0x6]]+V[_0x507dd1[_0x406b0f+0x7]]+'-'+V[_0x507dd1[_0x406b0f+0x8]]+V[_0x507dd1[_0x406b0f+0x9]]+'-'+V[_0x507dd1[_0x406b0f+0xa]]+V[_0x507dd1[_0x406b0f+0xb]]+V[_0x507dd1[_0x406b0f+0xc]]+V[_0x507dd1[_0x406b0f+0xd]]+V[_0x507dd1[_0x406b0f+0xe]]+V[_0x507dd1[_0x406b0f+0xf]])[_0x2228b7(0x222)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x5aac96=_0xccc328;if(!ut){if(typeof crypto>'u'||!crypto[_0x5aac96(0x2ea)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x5aac96(0x2ea)][_0x5aac96(0x1f5)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0xccc328(0x36d)]&&crypto[_0xccc328(0x36d)][_0xccc328(0x1f5)](crypto),Yt={'randomUUID':Xn};function Zn(_0x5f5636,_0x442cb8,_0x3c8e93){var _0x570977=_0xccc328,_0x4f3f74,_0x3d5aa7,_0xae963b;if(Yt['randomUUID']&&!_0x5f5636)return Yt[_0x570977(0x36d)]();_0x5f5636=_0x5f5636||{};const _0x34d977=(_0xae963b=(_0x3d5aa7=_0x5f5636[_0x570977(0x473)])!=null?_0x3d5aa7:(_0x4f3f74=_0x5f5636[_0x570977(0x2f9)])==null?void 0x0:_0x4f3f74[_0x570977(0x3cc)](_0x5f5636))!=null?_0xae963b:Jn();if(_0x34d977[_0x570977(0x489)]<0x10)throw new Error(_0x570977(0x3fc));return _0x34d977[0x6]=_0x34d977[0x6]&0xf|0x40,_0x34d977[0x8]=_0x34d977[0x8]&0x3f|0x80,qn(_0x34d977);}const J=_0x3a4763(_0xccc328(0x439));function Br(_0x5c67d4){var _0x1d1d1c=_0xccc328;return _0x1d1d1c(0x448)+_0x5c67d4;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x1981f3,_0x3232ec,_0x136774,_0x2bd8f8)=>{var _0x316f4c=_0xccc328;for(var _0x169af4=_0x2bd8f8>0x1?void 0x0:_0x2bd8f8?Qn(_0x3232ec,_0x136774):_0x3232ec,_0x850cf3=_0x1981f3[_0x316f4c(0x489)]-0x1,_0x1d6994;_0x850cf3>=0x0;_0x850cf3--)(_0x1d6994=_0x1981f3[_0x850cf3])&&(_0x169af4=_0x1d6994(_0x169af4)||_0x169af4);return _0x169af4;},dt=(_0x326b52,_0x1ff400)=>(_0x339375,_0x2d452b)=>_0x1ff400(_0x339375,_0x2d452b,_0x326b52);function ts(_0x3bc5ce){var _0x338a5f=_0xccc328;const {unitID:_0x44b92f,mutations:_0x5e03c5}=_0x3bc5ce;return{'unitId':_0x44b92f,'subUnitId':_0x5e03c5[0x0][_0x338a5f(0x47f)][_0x338a5f(0x301)]};}let it=class{constructor(_0x2fcd2a,_0x37792f,_0x27f2a6){var _0x324ac9=_0xccc328;this[_0x324ac9(0x426)]=_0x2fcd2a,this[_0x324ac9(0x2ca)]=_0x37792f,this['_instanceService']=_0x27f2a6;}[_0xccc328(0x35e)](_0x126cfd){var _0x307583=_0xccc328,_0x464ece,_0x153f2d,_0x413bb0,_0x33d3ee;const _0x1e0312=this[_0x307583(0x426)][_0x307583(0x40e)](_0x2c5254),{unitId:_0x5d2f81,subUnitId:_0x13ca91}=ts(_0x126cfd),_0x54165e=_0x1e0312==null?void 0x0:_0x1e0312[_0x307583(0x276)](_0x5d2f81)[_0x307583(0x1ac)](),_0x2b7d7c=(_0x153f2d=(_0x464ece=this['_instanceService'][_0x307583(0x3ff)](_0x5d2f81))==null?void 0x0:_0x464ece[_0x307583(0x2ba)]())==null?void 0x0:_0x153f2d[_0x307583(0x2c0)]();if(_0x54165e[_0x307583(0x489)]===0x0||!_0x5d2f81||!_0x13ca91)return;const _0xb7af3e=[{'id':_0x3c5105['id'],'params':{'unitId':_0x5d2f81,'subUnitId':_0x2b7d7c,'selections':_0x195c75[_0x307583(0x31a)](_0x54165e)}}],_0xe068dd=this[_0x307583(0x2ca)][_0x307583(0x2a4)](_0x126cfd,_0xb7af3e);if(!_0x4ae166(_0xe068dd))throw _0xe068dd[_0x307583(0x4ae)];const _0x523a8c=(_0x33d3ee=(_0x413bb0=_0xe068dd[_0x307583(0x28f)][0x0])==null?void 0x0:_0x413bb0[_0x307583(0x47f)])==null?void 0x0:_0x33d3ee['selections'];if(Array['isArray'](_0x523a8c)&&_0x523a8c[_0x307583(0x489)]){if(_0x523a8c[_0x307583(0x489)]===_0xb7af3e[0x0]['params'][_0x307583(0x3c4)]['length']&&_0x523a8c[_0x307583(0x226)]((_0x4d02f1,_0x10f652)=>_0x3d6ecf[_0x307583(0x427)](_0x4d02f1[_0x307583(0x463)],_0xb7af3e[0x0][_0x307583(0x47f)][_0x307583(0x3c4)][_0x10f652][_0x307583(0x463)])))return;this[_0x307583(0x426)][_0x307583(0x40e)](_0x37fa3a)['executeCommand'](_0x3c5105['id'],{'unitId':_0x5d2f81,'subUnitId':_0x2b7d7c,'selections':_0x523a8c});}}};it=es([dt(0x0,_0x42d086(_0x213b7b)),dt(0x1,_0x5c5e6b),dt(0x2,_0xca8903)],it);const ht=_0x3a4763('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x187738=>(_0x187738[_0x187738[_0xccc328(0x32c)]=0x0]=_0xccc328(0x32c),_0x187738[_0x187738[_0xccc328(0x472)]=0x1]=_0xccc328(0x472),_0x187738))(Ci||{});const is=new Set([_0x304588['id']]);function qt(_0x5ba8ff,_0x4d1010,_0x515563,_0x54f434,_0x3dd685){var _0x1e8876=_0xccc328,_0x2ac0bf,_0x4448e7,_0x2151b6,_0xc7028a;const _0x36980d=[];for(const _0x90d6a9 of _0x5ba8ff)if(is[_0x1e8876(0x20c)](_0x90d6a9['id'])){if(_0x36980d[_0x1e8876(0x489)]>0x0)break;_0x36980d[_0x1e8876(0x26b)](_0x90d6a9);break;}else _0x36980d[_0x1e8876(0x26b)](_0x90d6a9);const _0x4c1520=(_0x4448e7=(_0x2ac0bf=_0x3dd685[_0x1e8876(0x26d)]())==null?void 0x0:_0x2ac0bf[_0x1e8876(0x243)])!=null?_0x4448e7:_0x1e8876(0x1fb),_0x1dbc08=(_0xc7028a=(_0x2151b6=_0x3dd685[_0x1e8876(0x26d)]())==null?void 0x0:_0x2151b6['memberID'])!=null?_0xc7028a:_0x1e8876(0x1fb);return{'changeset':{'unitID':_0x4d1010,'type':_0x192a70(_0x515563['getUnitType'](_0x4d1010)),'baseRev':_0x54f434[_0x1e8876(0x29f)](_0x4d1010),'revision':0x0,'userID':_0x4c1520,'memberID':_0x1dbc08,'mutations':_0x36980d},'pendingMutations':_0x5ba8ff['slice'](_0x36980d[_0x1e8876(0x489)])};}function ns(_0xb540b1,_0x4e9674,_0x2ef799,_0x406dd5,_0x515038){var _0x2c72eb=_0xccc328,_0x3cf8c1,_0x2903d4,_0x4e1b77,_0x577c1c;const _0x151b9d=[_0xb540b1[_0x2c72eb(0x4a6)]((_0x14702f,_0x2cb2e6)=>{var _0x129e3a=_0x2c72eb,_0x556fab;const {id:_0x1ec6a6}=_0x14702f,{id:_0x14b9e8,type:_0x58dd2b}=_0x2cb2e6,_0x3cf3f8=(_0x556fab=_0x14702f[_0x129e3a(0x47f)])!=null?_0x556fab:{'actions':null},_0x1d3f1d=_0x2cb2e6[_0x129e3a(0x47f)];if(_0x1ec6a6&&_0x1ec6a6!==_0x14b9e8)throw new Error(_0x129e3a(0x239)+_0x1ec6a6+_0x129e3a(0x1c1)+_0x14b9e8+'.');return{..._0x14702f,'id':_0x14b9e8,'type':_0x58dd2b,'params':{'unitId':_0x1d3f1d[_0x129e3a(0x2a6)],'textRanges':_0x1d3f1d[_0x129e3a(0x35f)],'actions':_0x31da28[_0x129e3a(0x321)](_0x3cf3f8[_0x129e3a(0x2ad)],_0x1d3f1d[_0x129e3a(0x2ad)])}};},{})],_0x13e095=(_0x2903d4=(_0x3cf8c1=_0x515038[_0x2c72eb(0x26d)]())==null?void 0x0:_0x3cf8c1[_0x2c72eb(0x243)])!=null?_0x2903d4:_0x2c72eb(0x1fb),_0xfeb848=(_0x577c1c=(_0x4e1b77=_0x515038[_0x2c72eb(0x26d)]())==null?void 0x0:_0x4e1b77[_0x2c72eb(0x43d)])!=null?_0x577c1c:_0x2c72eb(0x1fb);return{'changeset':{'unitID':_0x4e9674,'type':_0x192a70(_0x2ef799[_0x2c72eb(0x348)](_0x4e9674)),'baseRev':_0x406dd5[_0x2c72eb(0x29f)](_0x4e9674),'revision':0x0,'userID':_0x13e095,'memberID':_0xfeb848,'mutations':_0x151b9d},'pendingMutations':[]};}function Ri(_0x366e29,_0x54df59){var _0x5876f3=_0xccc328;const _0x498f0b=new _0x1da589(0x1);return setTimeout(()=>_0x498f0b[_0x5876f3(0x419)](_0x54df59),_0x366e29),_0x498f0b['asObservable']()[_0x5876f3(0x2fc)](_0x18c6bc(0x1));}const ss={'id':_0x297160['id'],'type':_0x5535af[_0xccc328(0x474)],'params':{}};var rs=Object[_0xccc328(0x2bf)],Te=(_0x26de52,_0x4dc8bc,_0x45c511,_0x279ad3)=>{for(var _0x463cb3=_0x279ad3>0x1?void 0x0:_0x279ad3?rs(_0x4dc8bc,_0x45c511):_0x4dc8bc,_0x594357=_0x26de52['length']-0x1,_0x7d53ed;_0x594357>=0x0;_0x594357--)(_0x7d53ed=_0x26de52[_0x594357])&&(_0x463cb3=_0x7d53ed(_0x463cb3)||_0x463cb3);return _0x463cb3;},P=(_0x3ddeeb,_0x2f9979)=>(_0x19df62,_0x4e6d7c)=>_0x2f9979(_0x19df62,_0x4e6d7c,_0x3ddeeb),bi=(_0x2e4a54=>(_0x2e4a54[_0xccc328(0x258)]=_0xccc328(0x41f),_0x2e4a54[_0xccc328(0x1ba)]=_0xccc328(0x37d),_0x2e4a54[_0xccc328(0x1bd)]='pending',_0x2e4a54[_0xccc328(0x450)]=_0xccc328(0x3e8),_0x2e4a54[_0xccc328(0x3db)]=_0xccc328(0x2fe),_0x2e4a54[_0xccc328(0x47e)]=_0xccc328(0x2b4),_0x2e4a54[_0xccc328(0x1af)]=_0xccc328(0x384),_0x2e4a54[_0xccc328(0x3d5)]=_0xccc328(0x31d),_0x2e4a54))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2ad7e3,_0x167a34,_0x5c2736,_0xd6b907,_0x5ba365,_0x4bbd58,_0x225664,_0x118f55,_0x4de71e){var _0x2f9f63=_0xccc328;N(this,_0x2f9f63(0x454),null),N(this,_0x2f9f63(0x1cb),[]),(this[_0x2f9f63(0x45c)]=_0x2ad7e3,this[_0x2f9f63(0x2a5)]=_0x167a34,this[_0x2f9f63(0x4aa)]=_0x5ba365,this['_commandService']=_0x4bbd58,this[_0x2f9f63(0x21c)]=_0x225664,this[_0x2f9f63(0x3fb)]=_0x118f55,this[_0x2f9f63(0x3f3)]=_0x4de71e,this[_0x2f9f63(0x454)]=_0x5c2736,this[_0x2f9f63(0x1cb)]=_0xd6b907);}[_0xccc328(0x1e5)](_0x968fee){var _0x5c119b=_0xccc328;const _0x526fba=this[_0x5c119b(0x3fb)][_0x5c119b(0x29f)](this['unitID']);return _0x968fee[_0x5c119b(0x2bd)]>_0x526fba+0x1?(this[_0x5c119b(0x4aa)]['onMissingChangesets']({'from':_0x526fba,'to':_0x968fee[_0x5c119b(0x2bd)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1760f7){var _0x5e6d00=_0xccc328;this[_0x5e6d00(0x21c)]['transformUndoRedo'](this[_0x5e6d00(0x45c)],_0x1760f7);}[_0xccc328(0x37f)](_0x2f31f6){var _0x59ec7c=_0xccc328,_0x55c98b,_0xb8fde2;(_0xb8fde2=(_0x55c98b=this[_0x59ec7c(0x4aa)])[_0x59ec7c(0x2d0)])==null||_0xb8fde2[_0x59ec7c(0x3cc)](_0x55c98b,_0x2f31f6);}[_0xccc328(0x332)](_0x539a1b){var _0x544c21=_0xccc328,_0xf223a6,_0x3e01e9;return(_0x3e01e9=(_0xf223a6=this['_handler'])[_0x544c21(0x2d9)])==null?void 0x0:_0x3e01e9[_0x544c21(0x3cc)](_0xf223a6,_0x539a1b);}[_0xccc328(0x307)](_0x33150b){var _0x32befa=_0xccc328,_0x30f51c,_0x2deb3f;return(_0x2deb3f=(_0x30f51c=this[_0x32befa(0x4aa)])[_0x32befa(0x49d)])==null?void 0x0:_0x2deb3f[_0x32befa(0x3cc)](_0x30f51c,_0x33150b);}['_transformRemoteChangesetByIMECache'](_0x4172b2){var _0x1a0538=_0xccc328,_0x5dcd9a,_0x406e93,_0x19de9f;return(_0x19de9f=(_0x406e93=(_0x5dcd9a=this[_0x1a0538(0x4aa)])[_0x1a0538(0x3ae)])==null?void 0x0:_0x406e93[_0x1a0538(0x3cc)](_0x5dcd9a,_0x4172b2))!=null?_0x19de9f:_0x4172b2;}[_0xccc328(0x28a)](_0x5f21cf){var _0x2bb130=_0xccc328,_0x53b3ba,_0x22a6ea,_0x1fd3b2;return(_0x1fd3b2=(_0x22a6ea=(_0x53b3ba=this[_0x2bb130(0x4aa)])[_0x2bb130(0x244)])==null?void 0x0:_0x22a6ea['call'](_0x53b3ba,_0x5f21cf))!=null?_0x1fd3b2:_0x5f21cf;}[_0xccc328(0x43e)](_0x305089){var _0x4b0706=_0xccc328,_0x4e73ff,_0x3aa99c;if(this[_0x4b0706(0x2a5)]===Q[_0x4b0706(0x4a4)]){const {unitID:_0x27be77,mutations:_0x58e384,memberID:_0x1e8714}=_0x305089,_0x19b3e8=_0x58e384[0x0]['params'][_0x4b0706(0x35f)];Array[_0x4b0706(0x462)](_0x19b3e8)&&_0x19b3e8['length']>0x0&&((_0x3aa99c=(_0x4e73ff=this[_0x4b0706(0x4aa)])[_0x4b0706(0x2d3)])==null||_0x3aa99c[_0x4b0706(0x3cc)](_0x4e73ff,{'unitID':_0x27be77,'memberID':_0x1e8714,'textRanges':_0x19b3e8}));}}[_0xccc328(0x2d5)](){var _0x8c748e=_0xccc328,_0x32d3cd;(_0x32d3cd=this[_0x8c748e(0x3f3)])==null||_0x32d3cd[_0x8c748e(0x1c5)](this[_0x8c748e(0x45c)],this[_0x8c748e(0x2a5)],this['_awaitingChangeset'],this[_0x8c748e(0x1cb)]);}[_0xccc328(0x1d2)](){var _0xe42254=_0xccc328;return this['_revisionService'][_0xe42254(0x29f)](this[_0xe42254(0x45c)]);}[_0xccc328(0x3ac)](){var _0xfa96a1=_0xccc328;this[_0xfa96a1(0x3fb)][_0xfa96a1(0x1ce)](this[_0xfa96a1(0x45c)]);}[_0xccc328(0x1cc)](_0x5a9a0a){var _0x5db648=_0xccc328,_0x8f1b1e;let _0x13cbf9=this[_0x5db648(0x3de)](_0x5a9a0a);_0x13cbf9=this['_transformRemoteChangesetByStateCache'](_0x13cbf9);const _0x9d62c3=_0x41f2a9(_0x13cbf9[_0x5db648(0x232)],this[_0x5db648(0x2fd)],{'fromCollab':!0x0});if(!_0x9d62c3[_0x5db648(0x29d)])throw _0x9d62c3[_0x5db648(0x4ae)]instanceof Error?_0x9d62c3[_0x5db648(0x4ae)]:new Error((_0x8f1b1e=_0x9d62c3[_0x5db648(0x4ae)])!=null?_0x8f1b1e:_0x5db648(0x44b));this[_0x5db648(0x332)](_0x13cbf9),this['_transformStateCache'](_0x13cbf9),this[_0x5db648(0x1b6)](_0x5a9a0a),this[_0x5db648(0x37f)](_0x13cbf9),this['_syncEditingCollabCursor'](_0x13cbf9),this[_0x5db648(0x3ac)]();}}let Ne=class extends Ce{constructor(_0x22eb14,_0xe5556a,_0x34f006,_0x1d25a7,_0x5d358c,_0x8ed518,_0x138d9b,_0x4bd148,_0x4be2de,_0x219c90){var _0x229235=_0xccc328;super(_0x22eb14,_0xe5556a,null,[],_0x34f006,_0x138d9b,_0x8ed518,_0x1d25a7,_0x219c90),N(this,'status','synced'),(this[_0x229235(0x426)]=_0x5d358c,this[_0x229235(0x242)]=_0x4bd148,this[_0x229235(0x2ca)]=_0x4be2de,this[_0x229235(0x479)]=_0x219c90);}[_0xccc328(0x324)](_0x557166){var _0x361c07=_0xccc328;const _0x1511cb=this[_0x361c07(0x426)][_0x361c07(0x3b2)](ae,this[_0x361c07(0x45c)],this['type'],[_0x557166],this[_0x361c07(0x4aa)]);return _0x1511cb[_0x361c07(0x405)](),_0x1511cb[_0x361c07(0x2d5)](),_0x1511cb;}[_0xccc328(0x282)](_0x1b436d){var _0x1fbd8b=_0xccc328;if(this[_0x1fbd8b(0x1e5)](_0x1b436d))return this[_0x1fbd8b(0x426)][_0x1fbd8b(0x3b2)](ee,this[_0x1fbd8b(0x45c)],this[_0x1fbd8b(0x2a5)],null,[],null,[_0x1b436d],this[_0x1fbd8b(0x4aa)]);try{const _0x1d0d98=this[_0x1fbd8b(0x2ca)][_0x1fbd8b(0x2a4)](_0x1b436d,[ss]);if(_0x4ae166(_0x1d0d98)){const {c1Prime:_0x55e77e}=_0x1d0d98;return this[_0x1fbd8b(0x1cc)](_0x55e77e),this;}throw _0x1d0d98[_0x1fbd8b(0x4ae)];}catch(_0x11ec75){return this['_logService'][_0x1fbd8b(0x4ae)](_0x11ec75),this['_onConflict'](!0x1);}}[_0xccc328(0x1c9)](_0x5bc681){var _0x3c4cda=_0xccc328;return this['_injector'][_0x3c4cda(0x3b2)](ue,this[_0x3c4cda(0x45c)],this[_0x3c4cda(0x2a5)],null,[],this[_0x3c4cda(0x4aa)],_0x5bc681);}[_0xccc328(0x47b)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xccc328(0x363)](){var _0x26b977=_0xccc328;throw new Error(_0x26b977(0x213));}[_0xccc328(0x23d)](){return this;}[_0xccc328(0x45b)](){var _0x215eac=_0xccc328;return this[_0x215eac(0x426)][_0x215eac(0x3b2)](de,this[_0x215eac(0x45c)],this[_0x215eac(0x2a5)],null,[],this[_0x215eac(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x318)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xccc328(0x1ca)](){var _0x1d71fd=_0xccc328;const _0x43dca8=this[_0x1d71fd(0x3fb)][_0x1d71fd(0x29f)](this[_0x1d71fd(0x45c)]);return this[_0x1d71fd(0x4aa)][_0x1d71fd(0x22c)]({'from':_0x43dca8,'to':0x0}),this[_0x1d71fd(0x426)][_0x1d71fd(0x3b2)](ee,this[_0x1d71fd(0x45c)],this[_0x1d71fd(0x2a5)],null,[],null,[],this[_0x1d71fd(0x4aa)]);}};Ne=Te([P(0x3,_0x42d086(_0x4638b1)),P(0x4,_0x42d086(_0x213b7b)),P(0x5,_0x10626b),P(0x6,_0x37fa3a),P(0x7,_0x48685b),P(0x8,_0x5c5e6b),P(0x9,_0x4a4437(J))],Ne);let ae=class extends Ce{constructor(_0xf1863b,_0x241c22,_0x3c74c6,_0x2c292d,_0x50461f,_0x28000a,_0x524066,_0x36c5b2,_0x2f06da,_0x5a1b1a,_0x165d31,_0x3147f0,_0x2682f2,_0x11573e){var _0x3c4016=_0xccc328;super(_0xf1863b,_0x241c22,null,_0x3c74c6,_0x2c292d,_0x2f06da,_0x2682f2,_0x28000a,_0x11573e),N(this,_0x3c4016(0x449),_0x3c4016(0x401)),N(this,_0x3c4016(0x2c3),null),N(this,_0x3c4016(0x42c),null),(this[_0x3c4016(0x426)]=_0x50461f,this[_0x3c4016(0x351)]=_0x524066,this[_0x3c4016(0x242)]=_0x36c5b2,this[_0x3c4016(0x20b)]=_0x5a1b1a,this['_transformService']=_0x165d31,this[_0x3c4016(0x3a9)]=_0x3147f0);}[_0xccc328(0x324)](_0x52819d){var _0x5dcf95=_0xccc328;return this[_0x5dcf95(0x1cb)][_0x5dcf95(0x26b)](_0x52819d),this[_0x5dcf95(0x2d5)](),this;}['onRemoteChangeset'](_0x468e17){var _0x48b6aa=_0xccc328;if(this[_0x48b6aa(0x1e5)](_0x468e17))return this['_clearScheduledTask'](),this[_0x48b6aa(0x426)][_0x48b6aa(0x3b2)](ee,this['unitID'],this[_0x48b6aa(0x2a5)],null,this[_0x48b6aa(0x1cb)],null,[_0x468e17],this['_handler']);try{const _0x11ba68=this[_0x48b6aa(0x2ca)]['transformMutationsWithChangeset'](_0x468e17,this[_0x48b6aa(0x1cb)]);if(_0x4ae166(_0x11ba68)){const {c1Prime:_0x4d8dc4,m2Prime:_0xd6f88a}=_0x11ba68;this['_executeRemoteChangeset'](_0x4d8dc4);const _0x2e1f71=this[_0x48b6aa(0x426)][_0x48b6aa(0x3b2)](ae,this['unitID'],this[_0x48b6aa(0x2a5)],_0xd6f88a,this['_handler']);this[_0x48b6aa(0x2c1)]();const _0x1a75c5=new Date()[_0x48b6aa(0x265)](),_0x12b6bf=this[_0x48b6aa(0x2c3)]?Math[_0x48b6aa(0x380)](this[_0x48b6aa(0x2c3)]-_0x1a75c5,0x0):this[_0x48b6aa(0x2cf)]();return _0x2e1f71['_schedule'](_0x12b6bf),_0x2e1f71;}throw _0x11ba68[_0x48b6aa(0x4ae)];}catch(_0x5a9e79){return this[_0x48b6aa(0x242)][_0x48b6aa(0x4ae)](_0x5a9e79),this[_0x48b6aa(0x1c9)](!0x1);}}[_0xccc328(0x47b)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3a5502=_0xccc328;throw new Error(_0x3a5502(0x2d2));}[_0xccc328(0x23d)](){return this;}['toggleOffline'](){var _0x4dbe96=_0xccc328;return this[_0x4dbe96(0x2c1)](),this[_0x4dbe96(0x426)][_0x4dbe96(0x3b2)](de,this[_0x4dbe96(0x45c)],this['type'],null,this['_pendingMutations'],this['_handler']);}[_0xccc328(0x461)](){return this;}[_0xccc328(0x405)](_0x567a12){var _0x54bcb0=_0xccc328;const _0x55656b=_0x567a12!=null?_0x567a12:this[_0x54bcb0(0x2cf)]();this[_0x54bcb0(0x2c3)]=new Date()[_0x54bcb0(0x265)]()+_0x55656b,this['_sendingTimer']=setTimeout(()=>{var _0x20f34f=_0x54bcb0;this[_0x20f34f(0x2c1)]();let _0x5ed1a9=null;switch(this[_0x20f34f(0x2a5)]){case Q[_0x20f34f(0x2db)]:{_0x5ed1a9=qt(this[_0x20f34f(0x1cb)],this[_0x20f34f(0x45c)],this[_0x20f34f(0x3a9)],this[_0x20f34f(0x3fb)],this[_0x20f34f(0x351)]);break;}case Q[_0x20f34f(0x4a4)]:{this[_0x20f34f(0x1cb)][_0x20f34f(0x226)](_0x5e731a=>_0x5e731a['id']===_0x3b3371['id'])?_0x5ed1a9=ns(this[_0x20f34f(0x1cb)],this[_0x20f34f(0x45c)],this[_0x20f34f(0x3a9)],this[_0x20f34f(0x3fb)],this[_0x20f34f(0x351)]):_0x5ed1a9=qt(this['_pendingMutations'],this[_0x20f34f(0x45c)],this[_0x20f34f(0x3a9)],this[_0x20f34f(0x3fb)],this[_0x20f34f(0x351)]);break;}default:throw new Error(_0x20f34f(0x215)+this[_0x20f34f(0x2a5)]+_0x20f34f(0x3ab));}const {changeset:_0x546690,pendingMutations:_0x6b081a}=_0x5ed1a9;this['_handler'][_0x20f34f(0x1d8)](_0x546690);const _0x5a520f=_0x6b081a[_0x20f34f(0x489)]?this[_0x20f34f(0x426)][_0x20f34f(0x3b2)](oe,this[_0x20f34f(0x45c)],this[_0x20f34f(0x2a5)],_0x546690,_0x6b081a,this[_0x20f34f(0x4aa)],void 0x0):this[_0x20f34f(0x426)][_0x20f34f(0x3b2)](le,this['unitID'],this[_0x20f34f(0x2a5)],_0x546690,this[_0x20f34f(0x4aa)]);_0x5a520f[_0x20f34f(0x2d5)](),this['_handler']['onStateChange'](this,_0x5a520f);},_0x55656b);}[_0xccc328(0x2cf)](){var _0x404578=_0xccc328,_0x5d0198;const _0x196d55=this[_0x404578(0x20b)]['getConfig'](q);return(_0x5d0198=_0x196d55==null?void 0x0:_0x196d55[_0x404578(0x39a)])!=null?_0x5d0198:En;}['resend'](){var _0x313e46=_0xccc328;throw new Error(_0x313e46(0x40f));}[_0xccc328(0x2c1)](){var _0x83d0f4=_0xccc328;this['_sendingTimer']!=null&&(clearTimeout(this[_0x83d0f4(0x42c)]),this[_0x83d0f4(0x42c)]=null);}['_onConflict'](_0x587493){var _0x25c4eb=_0xccc328;return this[_0x25c4eb(0x2c1)](),this[_0x25c4eb(0x426)][_0x25c4eb(0x3b2)](ue,this[_0x25c4eb(0x45c)],this[_0x25c4eb(0x2a5)],null,this[_0x25c4eb(0x1cb)],this['_handler'],_0x587493);}};ae=Te([P(0x4,_0x42d086(_0x213b7b)),P(0x5,_0x42d086(_0x4638b1)),P(0x6,_0x42d086(Le)),P(0x7,_0x48685b),P(0x8,_0x37fa3a),P(0x9,_0x32d0f8),P(0xa,_0x5c5e6b),P(0xb,_0xca8903),P(0xc,_0x10626b),P(0xd,_0x4a4437(J))],ae);let le=class extends Ce{constructor(_0x1a4364,_0x43ba2b,_0x31f165,_0x44141b,_0x3ef005,_0x2e568d,_0x7c985a,_0x9ec451,_0x22b451,_0x5cc829,_0x5413cd){var _0x3efed9=_0xccc328;super(_0x1a4364,_0x43ba2b,_0x31f165,[],_0x44141b,_0x7c985a,_0x5cc829,_0x2e568d,_0x5413cd),N(this,_0x3efed9(0x449),_0x3efed9(0x3e8)),N(this,'_resendTimeout',0x0),N(this,_0x3efed9(0x345)),N(this,_0x3efed9(0x42d)),(this[_0x3efed9(0x426)]=_0x3ef005,this[_0x3efed9(0x242)]=_0x9ec451,this[_0x3efed9(0x2ca)]=_0x22b451);}[_0xccc328(0x324)](_0x36cbae){var _0x257345=_0xccc328;this[_0x257345(0x2c1)]();const _0x4315a9=this['_injector'][_0x257345(0x3b2)](oe,this[_0x257345(0x45c)],this['type'],this[_0x257345(0x454)],[_0x36cbae],this['_handler'],this[_0x257345(0x345)]);return _0x4315a9[_0x257345(0x2d5)](),_0x4315a9;}[_0xccc328(0x282)](_0x56e64b){var _0x4c3e29=_0xccc328;if(this[_0x4c3e29(0x1e5)](_0x56e64b))return this[_0x4c3e29(0x2c1)](),this[_0x4c3e29(0x426)]['createInstance'](ee,this[_0x4c3e29(0x45c)],this[_0x4c3e29(0x2a5)],this[_0x4c3e29(0x454)],[],null,[_0x56e64b],this[_0x4c3e29(0x4aa)]);try{const _0x257a78=this[_0x4c3e29(0x2ca)][_0x4c3e29(0x337)]([_0x56e64b],[this[_0x4c3e29(0x454)]],!0x1);if(_0x49175f(_0x257a78)){const {c1Prime:_0x3563ad,c2Prime:_0x378fc0}=_0x257a78;this[_0x4c3e29(0x1cc)](_0x3563ad[0x0]),_0x378fc0[0x0][_0x4c3e29(0x2b0)]=this['_getCurrentRevision'](),this[_0x4c3e29(0x2c1)]();const _0x1dc815=this['_injector'][_0x4c3e29(0x3b2)](le,this[_0x4c3e29(0x45c)],this[_0x4c3e29(0x2a5)],_0x378fc0[0x0],this[_0x4c3e29(0x4aa)]);return _0x1dc815['_updateLocalCache'](),_0x1dc815;}return this[_0x4c3e29(0x1c9)](!0x1);}catch(_0x144c51){return this[_0x4c3e29(0x242)][_0x4c3e29(0x4ae)](_0x144c51),this['_onConflict'](!0x1);}}[_0xccc328(0x47b)](_0x21081f){var _0x27a578=_0xccc328;this[_0x27a578(0x2c1)]();const _0x8245b4=this[_0x27a578(0x3fb)][_0x27a578(0x29f)](this[_0x27a578(0x45c)]);if(_0x21081f[_0x27a578(0x2bd)]<_0x8245b4-0x1)return this;if(this[_0x27a578(0x1e5)](_0x21081f))return this['_injector']['createInstance'](ee,this[_0x27a578(0x45c)],this[_0x27a578(0x2a5)],null,[],this[_0x27a578(0x454)],[],this[_0x27a578(0x4aa)]);this[_0x27a578(0x3ac)]();const _0x5034a6=this['_injector'][_0x27a578(0x3b2)](Ne,this[_0x27a578(0x45c)],this[_0x27a578(0x2a5)],this['_handler']);return _0x5034a6['_updateLocalCache'](),_0x5034a6;}[_0xccc328(0x363)](_0x2da1c3){var _0x489c30=_0xccc328;return this[_0x489c30(0x1c9)](!!(_0x2da1c3!=null&&_0x2da1c3[_0x489c30(0x3c0)]));}['onRemoteRetry'](_0x4812f7){var _0x24e848=_0xccc328;return this[_0x24e848(0x373)]>Oi?this['toggleOffline']():(this[_0x24e848(0x345)]=Ri(this[_0x24e848(0x373)],{'timeout':this[_0x24e848(0x373)],'reqId':_0x4812f7[_0x24e848(0x1a4)]}),this[_0x24e848(0x42d)]=this[_0x24e848(0x345)][_0x24e848(0x2d7)](({reqId:_0x45a1eb,timeout:_0xe09908})=>{var _0x2ecdc9=_0x24e848;this[_0x2ecdc9(0x476)](_0x45a1eb,_0xe09908);}),this);}[_0xccc328(0x45b)](){var _0x3bd8f6=_0xccc328;return this['_clearScheduledTask'](),this[_0x3bd8f6(0x426)][_0x3bd8f6(0x3b2)](de,this[_0x3bd8f6(0x45c)],this['type'],this[_0x3bd8f6(0x454)],[],this[_0x3bd8f6(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x318)](){var _0x59e492=_0xccc328;this['_handler']['onSendChangeset'](this[_0x59e492(0x454)]);}['_onConflict'](_0x194bc3){var _0x3e8f6a=_0xccc328;return this[_0x3e8f6a(0x2c1)](),this[_0x3e8f6a(0x426)][_0x3e8f6a(0x3b2)](ue,this[_0x3e8f6a(0x45c)],this[_0x3e8f6a(0x2a5)],this['_awaitingChangeset'],[],this[_0x3e8f6a(0x4aa)],_0x194bc3);}[_0xccc328(0x476)](_0x482303,_0x3673e9){var _0x37f548=_0xccc328,_0x2bdc9f;_0x482303===((_0x2bdc9f=this[_0x37f548(0x454)])==null?void 0x0:_0x2bdc9f[_0x37f548(0x1a4)])&&(this[_0x37f548(0x318)](),this[_0x37f548(0x373)]=_0x3673e9===0x0?0x3e8:_0x3673e9*0x2);}[_0xccc328(0x2c1)](){var _0x4d1e06=_0xccc328,_0x329ff8;(_0x329ff8=this[_0x4d1e06(0x42d)])==null||_0x329ff8[_0x4d1e06(0x238)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x42d086(_0x213b7b)),P(0x5,_0x42d086(_0x4638b1)),P(0x6,_0x37fa3a),P(0x7,_0x48685b),P(0x8,_0x5c5e6b),P(0x9,_0x10626b),P(0xa,_0x4a4437(J))],le);let oe=class extends Ce{constructor(_0x53d5e7,_0x5b80b7,_0x199e5b,_0xf938e2,_0x200082,_0x478572,_0x578d00,_0x30ec8d,_0x3118fd,_0x4d1215,_0x166b55,_0x504259,_0x3c9e3f){var _0xeb10f0=_0xccc328;super(_0x53d5e7,_0x5b80b7,_0x199e5b,_0xf938e2,_0x200082,_0x3118fd,_0x504259,_0x30ec8d,_0x3c9e3f),N(this,_0xeb10f0(0x449),_0xeb10f0(0x2fe)),N(this,_0xeb10f0(0x373),0x0),N(this,_0xeb10f0(0x345)),N(this,'_sender'),(this[_0xeb10f0(0x426)]=_0x578d00,this[_0xeb10f0(0x242)]=_0x4d1215,this[_0xeb10f0(0x2ca)]=_0x166b55,this[_0xeb10f0(0x479)]=_0x3c9e3f,_0x478572&&(this[_0xeb10f0(0x345)]=_0x478572,this[_0xeb10f0(0x42d)]=this[_0xeb10f0(0x345)][_0xeb10f0(0x2d7)](({reqId:_0x32cbbd,timeout:_0x23ae93})=>{var _0x321584=_0xeb10f0;this[_0x321584(0x476)](_0x32cbbd,_0x23ae93);})));}[_0xccc328(0x324)](_0x296b71){var _0x4503a4=_0xccc328;return this[_0x4503a4(0x1cb)][_0x4503a4(0x26b)](_0x296b71),this;}[_0xccc328(0x282)](_0x5cfcea){var _0x69b957=_0xccc328;if(this[_0x69b957(0x1e5)](_0x5cfcea))return this[_0x69b957(0x2c1)](),this[_0x69b957(0x426)][_0x69b957(0x3b2)](ee,this['unitID'],this[_0x69b957(0x2a5)],this[_0x69b957(0x454)],this[_0x69b957(0x1cb)],null,[_0x5cfcea],this[_0x69b957(0x4aa)]);try{const _0x227dce=this['_transformService']['transformChangesets']([_0x5cfcea],[this[_0x69b957(0x454)]],!0x1);if(_0x49175f(_0x227dce)){const {c1Prime:_0x243478,c2Prime:_0xc68748}=_0x227dce,_0x5d65ec=this['_transformService'][_0x69b957(0x2a4)](_0x243478[0x0],this['_pendingMutations']);if(_0x4ae166(_0x5d65ec)){const {c1Prime:_0x1dfb57,m2Prime:_0x2e8f4d}=_0x5d65ec;return this[_0x69b957(0x1cc)](_0x1dfb57),_0xc68748[0x0][_0x69b957(0x2b0)]=this['_getCurrentRevision'](),this[_0x69b957(0x2c1)](),this[_0x69b957(0x426)][_0x69b957(0x3b2)](oe,this[_0x69b957(0x45c)],this[_0x69b957(0x2a5)],_0xc68748[0x0],_0x2e8f4d,this[_0x69b957(0x4aa)],void 0x0);}throw _0x5d65ec[_0x69b957(0x4ae)];}throw _0x227dce['error'];}catch(_0xd22b7){return this[_0x69b957(0x242)]['error'](_0xd22b7),this[_0x69b957(0x1c9)](!0x1);}}['onRemoteAck'](_0x3c86fa){var _0x3032af=_0xccc328;if(this[_0x3032af(0x2c1)](),this[_0x3032af(0x1e5)](_0x3c86fa))return this[_0x3032af(0x426)][_0x3032af(0x3b2)](ee,this[_0x3032af(0x45c)],this[_0x3032af(0x2a5)],null,this[_0x3032af(0x1cb)],this[_0x3032af(0x454)],[],this[_0x3032af(0x4aa)]);this[_0x3032af(0x3ac)]();const _0x3f0e4a=this[_0x3032af(0x426)][_0x3032af(0x3b2)](ae,this[_0x3032af(0x45c)],this['type'],this[_0x3032af(0x1cb)],this[_0x3032af(0x4aa)]);return _0x3f0e4a['_schedule'](),_0x3f0e4a[_0x3032af(0x2d5)](),_0x3f0e4a;}[_0xccc328(0x363)](_0x2f031a){return this['_onConflict'](!!(_0x2f031a!=null&&_0x2f031a['isPermissionRej']));}[_0xccc328(0x23d)](_0x2881d0){var _0x3a6ef9=_0xccc328;return this['_resendTimeout']>Oi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x3a6ef9(0x373)],{'timeout':this[_0x3a6ef9(0x373)],'reqId':_0x2881d0[_0x3a6ef9(0x1a4)]}),this[_0x3a6ef9(0x42d)]=this[_0x3a6ef9(0x345)][_0x3a6ef9(0x2d7)](({reqId:_0x2027d0,timeout:_0x257a10})=>{var _0x486e7e=_0x3a6ef9;this[_0x486e7e(0x476)](_0x2027d0,_0x257a10);}),this);}[_0xccc328(0x45b)](){var _0x50f60c=_0xccc328;return this[_0x50f60c(0x2c1)](),this[_0x50f60c(0x426)][_0x50f60c(0x3b2)](de,this[_0x50f60c(0x45c)],this[_0x50f60c(0x2a5)],this[_0x50f60c(0x454)],this['_pendingMutations'],this[_0x50f60c(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x318)](){var _0x4f88e1=_0xccc328;this[_0x4f88e1(0x4aa)][_0x4f88e1(0x1d8)](this[_0x4f88e1(0x454)]);}['_onConflict'](_0x3c13e4){var _0x3bd669=_0xccc328;return this[_0x3bd669(0x2c1)](),this[_0x3bd669(0x426)]['createInstance'](ue,this[_0x3bd669(0x45c)],this[_0x3bd669(0x2a5)],null,this['_pendingMutations'],this[_0x3bd669(0x4aa)],_0x3c13e4);}[_0xccc328(0x476)](_0xacc96e,_0x59143c){var _0x47cb80=_0xccc328,_0x591136;_0xacc96e===((_0x591136=this[_0x47cb80(0x454)])==null?void 0x0:_0x591136[_0x47cb80(0x1a4)])&&(this['resend'](),this[_0x47cb80(0x373)]=_0x59143c===0x0?0x3e8:_0x59143c*0x2);}[_0xccc328(0x2c1)](){var _0x2cda08=_0xccc328,_0x54d285;(_0x54d285=this['_sender'])==null||_0x54d285[_0x2cda08(0x238)](),this[_0x2cda08(0x373)]=0x0;}};oe=Te([P(0x6,_0x42d086(_0x213b7b)),P(0x7,_0x42d086(_0x4638b1)),P(0x8,_0x37fa3a),P(0x9,_0x48685b),P(0xa,_0x5c5e6b),P(0xb,_0x10626b),P(0xc,_0x4a4437(J))],oe);let ue=class extends Ce{constructor(_0x54694c,_0x6c8fa1,_0x1054c7,_0x19677a,_0xad427e,_0x13a3ad=!0x1,_0x47d4b5,_0x4aaab6,_0x372f39,_0x1315a4,_0x52f003,_0x1c0577,_0x432453){var _0x22661d=_0xccc328;super(_0x54694c,_0x6c8fa1,_0x1054c7,_0x19677a,_0xad427e,_0x4aaab6,_0x372f39,_0x1315a4,_0x432453),N(this,_0x22661d(0x449),'conflict'),(this['_isPermissionRej']=_0x13a3ad,this[_0x22661d(0x1ee)]=_0x47d4b5,this[_0x22661d(0x1c6)]=_0x52f003,this['_collaborationUIEventService']=_0x1c0577,this[_0x22661d(0x479)]=_0x432453,this[_0x22661d(0x317)](),this[_0x22661d(0x27a)](),this[_0x22661d(0x42a)]());}[_0xccc328(0x324)](){return this;}[_0xccc328(0x282)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xccc328(0x23d)](){return this;}['toggleOffline'](){return this;}[_0xccc328(0x461)](){return this;}['resend'](){var _0x2b15a1=_0xccc328;throw new Error(_0x2b15a1(0x342));}[_0xccc328(0x27a)](){var _0x58313c=_0xccc328,_0x2920ea;(_0x2920ea=this[_0x58313c(0x3f3)])==null||_0x2920ea[_0x58313c(0x1c5)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x8c1211=_0xccc328;this[_0x8c1211(0x23e)]?this[_0x8c1211(0x22d)][_0x8c1211(0x460)]({'id':re['PERMISSION_DENIED']}):this[_0x8c1211(0x22d)][_0x8c1211(0x460)]({'id':re[_0x8c1211(0x1af)]});}[_0xccc328(0x42a)](){var _0x5bbbfd=_0xccc328;this['_permissionService'][_0x5bbbfd(0x358)](new _0x1bf5b8(this[_0x5bbbfd(0x45c)])['id'],!0x1);}};ue=Te([P(0x6,_0x42d086(_0x3f7473)),P(0x7,_0x37fa3a),P(0x8,_0x10626b),P(0x9,_0x42d086(_0x4638b1)),P(0xa,_0x42d086(_0xc4f59a)),P(0xb,_0x42d086(pe)),P(0xc,_0x4a4437(J))],ue);let de=class extends Ce{constructor(_0x5f23dd,_0x192433,_0x3b3831,_0x3fdce1,_0x41da0e,_0x182ef6,_0x2ad768,_0x18aa72,_0x290fd2,_0x5a40ca){var _0x8cfa78=_0xccc328;super(_0x5f23dd,_0x192433,_0x3b3831,_0x3fdce1,_0x41da0e,_0x18aa72,_0x290fd2,_0x2ad768,_0x5a40ca),N(this,_0x8cfa78(0x449),_0x8cfa78(0x31d)),this['_injector']=_0x182ef6;}[_0xccc328(0x324)](_0x32c2d0){var _0x435a6c=_0xccc328;return this['_pendingMutations']['push'](_0x32c2d0),this[_0x435a6c(0x2d5)](),this;}['onRemoteChangeset'](_0x1da687){var _0x5ffaf=_0xccc328;throw new Error(_0x5ffaf(0x3e9));}['onRemoteAck'](){var _0x4cecaa=_0xccc328;throw new Error(_0x4cecaa(0x4a9));}[_0xccc328(0x363)](){var _0x16d446=_0xccc328;throw new Error(_0x16d446(0x395));}[_0xccc328(0x23d)](){return this;}[_0xccc328(0x45b)](){return this;}['toggleOnline'](){var _0x203807=_0xccc328;const {_injector:_0x59a529,_pendingMutations:_0xfa521d,_awaitingChangeset:_0x57b1f9,unitID:_0x54dd3f,_handler:_0x4f3fcf,type:_0x597f9f}=this,_0x58872d=yi(_0x59a529,_0x54dd3f,_0x597f9f,_0x57b1f9,_0xfa521d,_0x4f3fcf);return _0x58872d instanceof ae?_0x58872d['_schedule']():(_0x58872d instanceof oe||_0x58872d instanceof le)&&_0x58872d[_0x203807(0x318)](),_0x58872d;}[_0xccc328(0x318)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x42d086(_0x213b7b)),P(0x6,_0x42d086(_0x4638b1)),P(0x7,_0x37fa3a),P(0x8,_0x10626b),P(0x9,_0x4a4437(J))],de);let ee=class extends Ce{constructor(_0x342b0e,_0x262158,_0x1c8732,_0x2f30b3,_0x283838,_0x21809e,_0x5cd8f0,_0xc88ad6,_0x1e35a3,_0x50de1e,_0x2aa49c,_0x16f00c,_0x1164d2,_0x229592){var _0x165de6=_0xccc328;super(_0x342b0e,_0x262158,_0x1c8732,_0x2f30b3,_0x5cd8f0,_0x2aa49c,_0x16f00c,_0x1e35a3,_0x229592),N(this,_0x165de6(0x449),_0x165de6(0x2b4)),(this[_0x165de6(0x393)]=_0x283838,this['_queuedRemoteChangesets']=_0x21809e,this['_injector']=_0xc88ad6,this['_logService']=_0x50de1e,this[_0x165de6(0x2ca)]=_0x1164d2,this[_0x165de6(0x479)]=_0x229592);}[_0xccc328(0x3e3)](_0x493186){var _0x3a903d=_0xccc328;try{const _0x56239b=[..._0x493186,...this[_0x3a903d(0x4a7)]],_0x301898=[this[_0x3a903d(0x454)]||this[_0x3a903d(0x393)]][_0x3a903d(0x2c6)](_0x5f3257=>!!_0x5f3257);let _0x147c10,_0x20d0a4;if(_0x301898[_0x3a903d(0x489)]){const _0x38ce09=this[_0x3a903d(0x2ca)]['transformChangesets'](_0x56239b,_0x301898,!0x1);if(!_0x49175f(_0x38ce09))throw _0x38ce09['error'];_0x147c10=_0x38ce09[_0x3a903d(0x27f)],_0x20d0a4=_0x38ce09[_0x3a903d(0x295)];}else _0x147c10=_0x56239b,_0x20d0a4=[];let _0x281a45=this['_pendingMutations'];_0x147c10[_0x3a903d(0x412)](_0x186f48=>{var _0x3faf4a=_0x3a903d;let _0xc9c781;if(_0x281a45[_0x3faf4a(0x489)]){const _0x5178e3=this[_0x3faf4a(0x2ca)]['transformMutationsWithChangeset'](_0x186f48,_0x281a45);if(!_0x4ae166(_0x5178e3))throw _0x5178e3[_0x3faf4a(0x4ae)];_0xc9c781=_0x5178e3[_0x3faf4a(0x27f)],_0x281a45=_0x5178e3[_0x3faf4a(0x28f)];}else _0xc9c781=_0x186f48;this[_0x3faf4a(0x1cc)](_0xc9c781);}),this[_0x3a903d(0x393)]&&this[_0x3a903d(0x3ac)](),this[_0x3a903d(0x454)]&&_0x20d0a4[_0x3a903d(0x489)]&&(_0x20d0a4[0x0]['baseRev']=this['_getCurrentRevision']());let _0x46261c;if(this[_0x3a903d(0x454)]&&_0x281a45[_0x3a903d(0x489)]!==0x0)_0x46261c=this['_injector']['createInstance'](oe,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],_0x20d0a4[0x0],_0x281a45,this[_0x3a903d(0x4aa)],void 0x0);else{if(this[_0x3a903d(0x454)]&&_0x281a45[_0x3a903d(0x489)]===0x0)_0x20d0a4[0x0][_0x3a903d(0x2b0)]=this[_0x3a903d(0x1d2)](),_0x46261c=this['_injector']['createInstance'](le,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],_0x20d0a4[0x0],this[_0x3a903d(0x4aa)]);else{if(_0x281a45[_0x3a903d(0x489)]!==0x0){const _0x5d1f12=this[_0x3a903d(0x426)][_0x3a903d(0x3b2)](ae,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],_0x281a45,this[_0x3a903d(0x4aa)]);_0x5d1f12[_0x3a903d(0x405)](),_0x46261c=_0x5d1f12;}else _0x46261c=this['_injector'][_0x3a903d(0x3b2)](Ne,this['unitID'],this[_0x3a903d(0x2a5)],this[_0x3a903d(0x4aa)]);}}return _0x46261c[_0x3a903d(0x2d5)](),_0x46261c;}catch(_0x4d14b6){return this[_0x3a903d(0x242)][_0x3a903d(0x4ae)](_0x3a903d(0x28d),_0x3a903d(0x20f),_0x4d14b6),this[_0x3a903d(0x426)][_0x3a903d(0x3b2)](ue,this[_0x3a903d(0x45c)],this[_0x3a903d(0x2a5)],this['_awaitingChangeset'],this[_0x3a903d(0x1cb)],this[_0x3a903d(0x4aa)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xccc328(0x324)](_0x26f86b){var _0x39e4f7=_0xccc328;return this[_0x39e4f7(0x1cb)][_0x39e4f7(0x26b)](_0x26f86b),this;}[_0xccc328(0x282)](_0x1d1977){var _0x21d2e8=_0xccc328;return this[_0x21d2e8(0x4a7)][_0x21d2e8(0x26b)](_0x1d1977),this;}['onRemoteAck'](_0x9df9cf){var _0x223493=_0xccc328;if(this[_0x223493(0x454)])return this[_0x223493(0x393)]=this[_0x223493(0x454)],this[_0x223493(0x454)]=null,this;throw new Error(_0x223493(0x3a8));}[_0xccc328(0x363)](_0x30aec1){var _0x55fe80=_0xccc328;return this[_0x55fe80(0x1c9)](!!(_0x30aec1!=null&&_0x30aec1[_0x55fe80(0x3c0)]));}['onRemoteRetry'](){return this;}[_0xccc328(0x45b)](){var _0x4ec9f4=_0xccc328;return this[_0x4ec9f4(0x426)][_0x4ec9f4(0x3b2)](de,this[_0x4ec9f4(0x45c)],this[_0x4ec9f4(0x2a5)],this[_0x4ec9f4(0x454)],this['_pendingMutations'],this[_0x4ec9f4(0x4aa)]);}['toggleOnline'](){return this;}[_0xccc328(0x1c9)](_0x422e8b){var _0x4f3ff9=_0xccc328;return this[_0x4f3ff9(0x426)][_0x4f3ff9(0x3b2)](ue,this[_0x4f3ff9(0x45c)],this[_0x4f3ff9(0x2a5)],this[_0x4f3ff9(0x454)],this['_pendingMutations'],this[_0x4f3ff9(0x4aa)],_0x422e8b);}};ee=Te([P(0x7,_0x42d086(_0x213b7b)),P(0x8,_0x42d086(_0x4638b1)),P(0x9,_0x48685b),P(0xa,_0x37fa3a),P(0xb,_0x10626b),P(0xc,_0x5c5e6b),P(0xd,_0x4a4437(J))],ee);function yi(_0x16ac4f,_0x4cc5a8,_0x44c535,_0x365571,_0x417124,_0x138ea9){var _0x24e85d=_0xccc328;return _0x365571&&_0x417124['length']?_0x16ac4f[_0x24e85d(0x3b2)](oe,_0x4cc5a8,_0x44c535,_0x365571,_0x417124,_0x138ea9,void 0x0):_0x365571?_0x16ac4f[_0x24e85d(0x3b2)](le,_0x4cc5a8,_0x44c535,_0x365571,_0x138ea9):_0x417124['length']?_0x16ac4f[_0x24e85d(0x3b2)](ae,_0x4cc5a8,_0x44c535,_0x417124,_0x138ea9):_0x16ac4f['createInstance'](Ne,_0x4cc5a8,_0x44c535,_0x138ea9);}var as=Object[_0xccc328(0x2bf)],Lt=(_0x5b7062,_0x55dade,_0x137a8c,_0x39dc87)=>{var _0x18e9cb=_0xccc328;for(var _0x50cd26=_0x39dc87>0x1?void 0x0:_0x39dc87?as(_0x55dade,_0x137a8c):_0x55dade,_0x29f541=_0x5b7062[_0x18e9cb(0x489)]-0x1,_0xa5ed6e;_0x29f541>=0x0;_0x29f541--)(_0xa5ed6e=_0x5b7062[_0x29f541])&&(_0x50cd26=_0xa5ed6e(_0x50cd26)||_0x50cd26);return _0x50cd26;},H=(_0x4e78fe,_0x229bcd)=>(_0xef9f53,_0x6c1503)=>_0x229bcd(_0xef9f53,_0x6c1503,_0x4e78fe);let nt=class extends _0x694488{constructor(_0x14addf,_0x22aef4,_0x190e8a,_0x43ac10,_0x5ecf19,_0x237bf5,_0xfe7181,_0x18f694,_0x55af29,_0x218e20,_0x17d380,_0x1ceb38,_0x36ac64){var _0x235b20=_0xccc328;super(),N(this,_0x235b20(0x2f0),new _0x12344d(null)),N(this,_0x235b20(0x257),this[_0x235b20(0x2f0)][_0x235b20(0x366)]()),N(this,_0x235b20(0x292)),N(this,_0x235b20(0x2de),!0x1),N(this,_0x235b20(0x3d4),''),N(this,'_changesetReqId',0x0),N(this,_0x235b20(0x32d),this[_0x235b20(0x257)]['pipe'](_0x9323e6(_0x2b9729=>_0x2b9729?_0x2b9729['status']:bi['OFFLINE']),_0x22d5f4(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x235b20(0x3a3),[]),(this['unitID']=_0x14addf,this[_0x235b20(0x350)]=_0x22aef4,this[_0x235b20(0x2cb)]=_0x190e8a,this[_0x235b20(0x426)]=_0x43ac10,this[_0x235b20(0x1e8)]=_0x5ecf19,this[_0x235b20(0x1c6)]=_0x237bf5,this[_0x235b20(0x3fb)]=_0xfe7181,this[_0x235b20(0x1ae)]=_0x18f694,this[_0x235b20(0x242)]=_0x55af29,this['_commandService']=_0x218e20,this['_permissionService']=_0x17d380,this[_0x235b20(0x1d1)]=_0x1ceb38,this[_0x235b20(0x3f3)]=_0x36ac64);}get['state'](){var _0x579fe9=_0xccc328;return this[_0x579fe9(0x292)];}async['init'](){var _0x3cafa4=_0xccc328;if(this[_0x3cafa4(0x3f0)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3cafa4(0x435)]();}[_0xccc328(0x452)](){return this['_collaborationPaused']=!0x0,_0x7dd940(()=>{var _0x186672=_0x4dde;this[_0x186672(0x2de)]=!0x1,this[_0x186672(0x311)]();});}['onLocalMutation'](_0x196a4e){this['_onLocalMutation'](_0x196a4e);}[_0xccc328(0x490)](_0x20a16e){var _0x1f0e52=_0xccc328;this[_0x1f0e52(0x292)]=_0x20a16e,this[_0x1f0e52(0x2f0)][_0x1f0e52(0x419)](_0x20a16e);}async[_0xccc328(0x435)](){var _0x1063db=_0xccc328,_0x242dae;this[_0x1063db(0x490)](await this[_0x1063db(0x2ff)]()),this['_singleActiveUnitService']&&((_0x242dae=this['_singleActiveUnitService'])==null||_0x242dae[_0x1063db(0x400)](this[_0x1063db(0x45c)]),this[_0x1063db(0x2c9)](this[_0x1063db(0x1d1)][_0x1063db(0x291)](this['unitID'])[_0x1063db(0x2d7)](_0x1f7669=>{var _0x553222=_0x1063db;this[_0x553222(0x242)][_0x553222(0x353)]('[CollaborationEntity]',_0x553222(0x367),_0x1f7669),_0x1f7669===Ci[_0x553222(0x472)]?(this[_0x553222(0x1ae)][_0x553222(0x460)]({'id':re[_0x553222(0x3d2)]}),this[_0x553222(0x1ee)][_0x553222(0x358)](new _0x1bf5b8(this[_0x553222(0x45c)])['id'],!0x1),this[_0x553222(0x1ee)][_0x553222(0x41b)](!0x1)):(this['_permissionService'][_0x553222(0x358)](new _0x1bf5b8(this[_0x553222(0x45c)])['id'],!0x0),this[_0x553222(0x1ee)][_0x553222(0x41b)](!0x0));})));let _0x301815=!0x1;return this[_0x1063db(0x2c9)](this[_0x1063db(0x350)][_0x1063db(0x320)][_0x1063db(0x2d7)](_0x27e083=>{var _0x453de9=_0x1063db;_0x27e083===Ee[_0x453de9(0x38b)]?this[_0x453de9(0x434)](_0x301815):_0x27e083===Ee[_0x453de9(0x3d5)]&&(_0x301815=!0x0,this[_0x453de9(0x22a)]());})),this[_0x1063db(0x2c9)](this[_0x1063db(0x350)][_0x1063db(0x32a)][_0x1063db(0x2d7)](_0x3571fd=>{var _0x49e366=_0x1063db;try{switch(_0x3571fd['eventID']){case _0x4c124f[_0x49e366(0x266)]:{this[_0x49e366(0x283)](_0x525ec9(_0x3571fd['data']));break;}case _0x4c124f['CHANGESET_ACK']:{this[_0x49e366(0x360)](_0x3571fd[_0x49e366(0x43a)]);break;}case _0x4c124f[_0x49e366(0x442)]:{this[_0x49e366(0x268)]();break;}case _0x4c124f[_0x49e366(0x25f)]:{this[_0x49e366(0x3c2)](_0x3571fd[_0x49e366(0x43a)]);break;}case _0x4c124f['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x49e366(0x49e)](_0x3571fd[_0x49e366(0x43a)][_0x49e366(0x30c)][_0x49e366(0x404)](_0x551ccd=>_0x525ec9(_0x551ccd)));break;}case _0x4c124f[_0x49e366(0x309)]:{this[_0x49e366(0x268)]({'isPermissionRej':!0x0});break;}case _0x4c124f[_0x49e366(0x263)]:break;}}catch(_0x1bdd9c){throw console[_0x49e366(0x4ae)]('Error\x20on\x20receiving\x20event',_0x1bdd9c),_0x1bdd9c;}})),this[_0x1063db(0x292)];}[_0xccc328(0x407)](){this['_transitionLocked']=!0x1;}[_0xccc328(0x2a9)](){var _0x3fd18b=_0xccc328;if(this[_0x3fd18b(0x459)])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[_0x3fd18b(0x459)]=!0x0;}[_0xccc328(0x236)](_0x2e36a5){var _0x480174=_0xccc328;this[_0x480174(0x2a9)](),this[_0x480174(0x490)](this['_state'][_0x480174(0x324)](_0x2e36a5)),this['_unlockTransition']();}[_0xccc328(0x283)](_0x48e8d5){var _0x38625c=_0xccc328;if(!(_0x48e8d5[_0x38625c(0x2bd)]<=this[_0x38625c(0x3fb)][_0x38625c(0x29f)](this[_0x38625c(0x45c)]))){if(this[_0x38625c(0x2de)]){this[_0x38625c(0x3a3)][_0x38625c(0x26b)](_0x48e8d5);return;}this['_applyRemoteChangeset'](_0x48e8d5);}}['_exhaustRemoteChangesetQueue'](){var _0x55df70=_0xccc328;this[_0x55df70(0x3a3)][_0x55df70(0x412)](_0x51d8b5=>this[_0x55df70(0x1d6)](_0x51d8b5)),this['_remoteChangesetQueue']=[];}[_0xccc328(0x1d6)](_0x57ed86){var _0x20feaa=_0xccc328;const _0x4268a7=this[_0x20feaa(0x1e8)][_0x20feaa(0x340)][_0x20feaa(0x347)](this[_0x20feaa(0x1e8)][_0x20feaa(0x340)]['getInterceptPoints']()[_0x20feaa(0x218)])(_0x57ed86['mutations'],null)||_0x57ed86['mutations'],_0x525495={..._0x57ed86,'mutations':_0x4268a7};this[_0x20feaa(0x2a9)](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x525495)),this['_unlockTransition']();}[_0xccc328(0x360)](_0x337838){var _0x30829a=_0xccc328;this[_0x30829a(0x2a9)](),this[_0x30829a(0x490)](this[_0x30829a(0x292)]['onRemoteAck'](_0x337838)),this[_0x30829a(0x407)]();}[_0xccc328(0x268)](_0x3c85dd){var _0xaf2e38=_0xccc328;this[_0xaf2e38(0x2a9)](),this[_0xaf2e38(0x490)](this[_0xaf2e38(0x292)][_0xaf2e38(0x363)](_0x3c85dd)),this[_0xaf2e38(0x407)]();}[_0xccc328(0x3c2)](_0x26e9ec){var _0xbf9944=_0xccc328;this[_0xbf9944(0x2a9)](),this[_0xbf9944(0x490)](this[_0xbf9944(0x292)][_0xbf9944(0x23d)](_0x26e9ec)),this['_unlockTransition']();}[_0xccc328(0x49e)](_0x27d6bf){var _0x4c61e2=_0xccc328;if(!(this[_0x4c61e2(0x292)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x504e03=_0x27d6bf[_0x4c61e2(0x404)](_0x37b4a4=>{var _0x53e52f=_0x4c61e2;const _0x5a7a71=this[_0x53e52f(0x1e8)][_0x53e52f(0x340)][_0x53e52f(0x347)](this[_0x53e52f(0x1e8)][_0x53e52f(0x340)][_0x53e52f(0x306)]()[_0x53e52f(0x218)])(_0x37b4a4[_0x53e52f(0x232)],null)||_0x37b4a4[_0x53e52f(0x232)];return{..._0x37b4a4,'mutations':_0x5a7a71};});this[_0x4c61e2(0x2a9)](),this[_0x4c61e2(0x490)](this[_0x4c61e2(0x292)][_0x4c61e2(0x3e3)](_0x504e03)),this['_unlockTransition']();}['_toggleOffline'](){var _0x32b757=_0xccc328;this[_0x32b757(0x2a9)](),this[_0x32b757(0x490)](this[_0x32b757(0x292)]['toggleOffline']()),this['_unlockTransition']();}[_0xccc328(0x434)](_0x24dd09=!0x1){var _0x2353b0=_0xccc328;this[_0x2353b0(0x2a9)](),this[_0x2353b0(0x490)](this[_0x2353b0(0x292)][_0x2353b0(0x461)]()),this[_0x2353b0(0x407)]();const _0x1ca362=this['_state'];_0x24dd09&&_0x1ca362 instanceof Ne&&(this[_0x2353b0(0x2a9)](),this[_0x2353b0(0x490)](_0x1ca362[_0x2353b0(0x1ca)]()),this[_0x2353b0(0x407)]());}async[_0xccc328(0x2ff)](){return new Promise(_0x1cb954=>{var _0xb962c7=_0x4dde;this[_0xb962c7(0x350)]['sessionStatus$']['pipe'](_0x18c6bc(0x1))['subscribe'](async _0x11a16d=>{var _0x5e4653=_0xb962c7;_0x1cb954(await this[_0x5e4653(0x2e3)](_0x11a16d===Ee[_0x5e4653(0x38b)]));});});}[_0xccc328(0x27e)](){var _0x1e73b5=_0xccc328;const _0x1b068f=this[_0x1e73b5(0x45c)];return{'onStateChange':(_0x5c1d4a,_0x216bc3)=>{var _0x1badf2=_0x1e73b5;if(_0x5c1d4a!==this[_0x1badf2(0x292)])throw new Error(_0x1badf2(0x1e7)+_0x5c1d4a[_0x1badf2(0x449)]+_0x1badf2(0x392)+_0x216bc3[_0x1badf2(0x449)]+_0x1badf2(0x3d9)+this[_0x1badf2(0x292)][_0x1badf2(0x449)]);this['_updateState'](_0x216bc3);},'onSendChangeset':_0x58219c=>{var _0x505ec3=_0x1e73b5;_0x58219c[_0x505ec3(0x229)]||(_0x58219c[_0x505ec3(0x229)]=this[_0x505ec3(0x3d4)],_0x58219c['reqId']=++this['_changesetReqId']);const _0x37dbf1={'eventID':_0x4c124f[_0x505ec3(0x1c8)],'data':{'unitID':_0x58219c[_0x505ec3(0x45c)],'unitType':this[_0x505ec3(0x2cb)],'changeset':_0x58219c,'memberID':this[_0x505ec3(0x350)]['getMemberID']()}};this[_0x505ec3(0x350)][_0x505ec3(0x467)](_0x37dbf1,this['unitID']);},'onMissingChangesets':({from:_0x5ad2fd,to:_0x11d516})=>{var _0x2cdb2a=_0x1e73b5;this[_0x2cdb2a(0x242)][_0x2cdb2a(0x353)]('[CollaborationEntity]',_0x2cdb2a(0x1d0)+_0x5ad2fd+_0x2cdb2a(0x2ce)+_0x11d516);const _0x5728b6={'eventID':_0x4c124f[_0x2cdb2a(0x44d)],'data':{'unitID':_0x1b068f,'unitType':this['_type'],'from':_0x5ad2fd,'to':_0x11d516}};this[_0x2cdb2a(0x350)][_0x2cdb2a(0x467)](_0x5728b6,this[_0x2cdb2a(0x45c)]);}};}async['_createInitialStateImpl'](_0x5712e9){var _0xdc43fb=_0xccc328,_0x3075fa,_0x2c5c33,_0x449562;const _0x262ab8=await((_0x3075fa=this[_0xdc43fb(0x3f3)])==null?void 0x0:_0x3075fa[_0xdc43fb(0x1d4)](this[_0xdc43fb(0x45c)])),_0x293145=(_0x2c5c33=_0x262ab8==null?void 0x0:_0x262ab8[_0xdc43fb(0x232)])!=null?_0x2c5c33:[],_0x10520d=(_0x449562=_0x262ab8==null?void 0x0:_0x262ab8['awaitingChangeset'])!=null?_0x449562:null,_0x2851fc=!!(_0x10520d!=null&&_0x10520d[_0xdc43fb(0x229)])&&!!(_0x10520d!=null&&_0x10520d[_0xdc43fb(0x1a4)]);this[_0xdc43fb(0x3d4)]=_0x2851fc?_0x10520d['sid']:Zn(),this[_0xdc43fb(0x254)]=_0x2851fc?_0x10520d[_0xdc43fb(0x1a4)]:0x0;const _0x282f78=this[_0xdc43fb(0x45c)];try{this[_0xdc43fb(0x1be)](_0x10520d,_0x293145);}catch(_0x4c8d3e){this[_0xdc43fb(0x242)][_0xdc43fb(0x4ae)](_0x4c8d3e);}const _0x4c8e1d=this[_0xdc43fb(0x27e)]();if(_0x5712e9){const _0x13df45=yi(this['_injector'],_0x282f78,this[_0xdc43fb(0x2cb)],_0x10520d,_0x293145,_0x4c8e1d);return _0x13df45 instanceof ae?_0x13df45[_0xdc43fb(0x405)]():(_0x13df45 instanceof oe||_0x13df45 instanceof le)&&_0x13df45['resend'](),_0x13df45;}return this[_0xdc43fb(0x426)][_0xdc43fb(0x3b2)](de,_0x282f78,this[_0xdc43fb(0x2cb)],_0x10520d,_0x293145,_0x4c8e1d);}[_0xccc328(0x1be)](_0x215077,_0x12a055){var _0x5b1c11=_0xccc328,_0x2210c1,_0x4a8811;const _0x94d5d7=this['_compressMutationService'][_0x5b1c11(0x340)][_0x5b1c11(0x347)](this['_compressMutationService'][_0x5b1c11(0x340)][_0x5b1c11(0x306)]()[_0x5b1c11(0x218)]);(_0x2210c1=_0x94d5d7((_0x215077==null?void 0x0:_0x215077['mutations'])||[],null))==null||_0x2210c1[_0x5b1c11(0x412)](_0x11abdf=>this[_0x5b1c11(0x2fd)]['executeCommand'](_0x11abdf['id'],_0x11abdf[_0x5b1c11(0x47f)])),(_0x4a8811=_0x94d5d7(_0x12a055||[],null))==null||_0x4a8811['forEach'](_0x240db6=>this[_0x5b1c11(0x2fd)][_0x5b1c11(0x1fe)](_0x240db6['id'],_0x240db6[_0x5b1c11(0x47f)]));}};nt=Lt([H(0x3,_0x42d086(_0x213b7b)),H(0x4,_0x42d086(_0x3c3615)),H(0x5,_0x42d086(_0xc4f59a)),H(0x6,_0x42d086(_0x4638b1)),H(0x7,_0x42d086(pe)),H(0x8,_0x48685b),H(0x9,_0x37fa3a),H(0xa,_0x3f7473),H(0xb,_0x4a4437(ht)),H(0xc,_0x4a4437(J))],nt);let It=class extends nt{constructor(_0x53e3e2,_0x442057,_0x451ad5,_0x219a74,_0x4e568f,_0x3e54d1,_0x14ec91,_0x4e0398,_0x24e329,_0x2ebd04,_0x390cbf,_0x38d4f5,_0x59e43a){var _0x5537ec=_0xccc328;super(_0x53e3e2,_0x451ad5,_0x442057,_0x219a74,_0x4e568f,_0x3e54d1,_0x14ec91,_0x4e0398,_0x24e329,_0x2ebd04,_0x390cbf,_0x38d4f5,_0x59e43a),N(this,_0x5537ec(0x314),null),(this[_0x5537ec(0x45c)]=_0x53e3e2,this[_0x5537ec(0x2a5)]=_0x442057);}[_0xccc328(0x219)](_0x3429f4){var _0x36d2cc=_0xccc328;this[_0x36d2cc(0x314)]=_0x3429f4;}[_0xccc328(0x4a5)](){var _0x1fd57c=_0xccc328;this[_0x1fd57c(0x314)]=null,super[_0x1fd57c(0x4a5)]();}['_createHandler'](){var _0x93d7a=_0xccc328;const _0x3493c4=super[_0x93d7a(0x27e)]();return _0x3493c4[_0x93d7a(0x2d9)]=_0x4f8e53=>{var _0x599b1d=_0x93d7a,_0x556ab7,_0x7f55c7;return(_0x7f55c7=(_0x556ab7=this[_0x599b1d(0x314)])==null?void 0x0:_0x556ab7[_0x599b1d(0x2d9)])==null?void 0x0:_0x7f55c7['call'](_0x556ab7,_0x4f8e53);},_0x3493c4[_0x93d7a(0x49d)]=_0x44e94b=>{var _0x1b0b4b=_0x93d7a,_0xbc334e,_0x4bb05f;return(_0x4bb05f=(_0xbc334e=this[_0x1b0b4b(0x314)])==null?void 0x0:_0xbc334e[_0x1b0b4b(0x49d)])==null?void 0x0:_0x4bb05f[_0x1b0b4b(0x3cc)](_0xbc334e,_0x44e94b);},_0x3493c4[_0x93d7a(0x2d0)]=_0x4ac3e9=>{var _0x4f9a4d=_0x93d7a,_0x22f69b,_0x3b7cf8;return(_0x3b7cf8=(_0x22f69b=this[_0x4f9a4d(0x314)])==null?void 0x0:_0x22f69b[_0x4f9a4d(0x2d0)])==null?void 0x0:_0x3b7cf8[_0x4f9a4d(0x3cc)](_0x22f69b,_0x4ac3e9);},_0x3493c4[_0x93d7a(0x2d3)]=_0x240ea7=>{var _0x35c6a6=_0x93d7a,_0x5d8047,_0x553dd3;return(_0x553dd3=(_0x5d8047=this[_0x35c6a6(0x314)])==null?void 0x0:_0x5d8047[_0x35c6a6(0x2d3)])==null?void 0x0:_0x553dd3[_0x35c6a6(0x3cc)](_0x5d8047,_0x240ea7);},_0x3493c4[_0x93d7a(0x3ae)]=_0x36a336=>{var _0x4beeff=_0x93d7a,_0x564aed,_0x4edfaa,_0x493042;if(!((_0x564aed=this['_handlerCallback'])!=null&&_0x564aed[_0x4beeff(0x3ae)]))throw new Error(_0x4beeff(0x45a));return(_0x493042=(_0x4edfaa=this[_0x4beeff(0x314)])==null?void 0x0:_0x4edfaa[_0x4beeff(0x3ae)])==null?void 0x0:_0x493042['call'](_0x4edfaa,_0x36a336);},_0x3493c4[_0x93d7a(0x244)]=_0x7dea9=>{var _0xf13d26=_0x93d7a,_0x1099db,_0x153b83,_0x5f311f;if(!((_0x1099db=this[_0xf13d26(0x314)])!=null&&_0x1099db[_0xf13d26(0x244)]))throw new Error(_0xf13d26(0x36c));return(_0x5f311f=(_0x153b83=this[_0xf13d26(0x314)])==null?void 0x0:_0x153b83[_0xf13d26(0x244)])==null?void 0x0:_0x5f311f[_0xf13d26(0x3cc)](_0x153b83,_0x7dea9);},_0x3493c4;}async[_0xccc328(0x435)](){var _0x321bad=_0xccc328;const _0x341104=await super[_0x321bad(0x435)]();return this[_0x321bad(0x2c9)](this[_0x321bad(0x2fd)][_0x321bad(0x47a)]((_0x49aeed,_0x4d7aa8)=>{var _0x4e3520=_0x321bad;if(_0x49aeed['type']!==_0x5535af[_0x4e3520(0x474)]||_0x4d7aa8!=null&&_0x4d7aa8[_0x4e3520(0x1e2)]||_0x4d7aa8!=null&&_0x4d7aa8[_0x4e3520(0x211)]||_0x49aeed['id']===_0x3b3371['id'])return;const _0x4f6a66=_0x49aeed['params'];if((_0x4f6a66==null?void 0x0:_0x4f6a66[_0x4e3520(0x2a6)])!==this['unitID'])return;const _0x150d27=_0x49aeed,_0xe41114=this[_0x4e3520(0x1e8)][_0x4e3520(0x340)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x150d27],null)||[_0x150d27];this[_0x4e3520(0x236)](_0xe41114[0x0]);})),_0x341104;}};It=Lt([H(0x3,_0x42d086(_0x213b7b)),H(0x4,_0x42d086(_0x3c3615)),H(0x5,_0x42d086(_0xc4f59a)),H(0x6,_0x42d086(_0x4638b1)),H(0x7,_0x42d086(pe)),H(0x8,_0x48685b),H(0x9,_0x37fa3a),H(0xa,_0x3f7473),H(0xb,_0x4a4437(ht)),H(0xc,_0x4a4437(J))],It);let Tt=class extends nt{constructor(_0x2f005d,_0x25e6a5,_0x49b961,_0x234541,_0x4a7d08,_0x15c4a4,_0x369bc8,_0x4b5136,_0x5e7eac,_0x1aa6a5,_0x4958ab,_0x8aaf3e,_0x41c7ce,_0x1271ed){var _0xc91d30=_0xccc328;super(_0x2f005d,_0x49b961,_0x25e6a5,_0x234541,_0x4a7d08,_0x15c4a4,_0x369bc8,_0x5e7eac,_0x1aa6a5,_0x4958ab,_0x8aaf3e,_0x41c7ce,_0x1271ed),this[_0xc91d30(0x45c)]=_0x2f005d,this[_0xc91d30(0x2a5)]=_0x25e6a5,this[_0xc91d30(0x44f)]=_0x4b5136;}[_0xccc328(0x27e)](){var _0xf4a948=_0xccc328;const _0x459397=super[_0xf4a948(0x27e)]();return _0x459397['onTransformSelections']=_0x5f6703=>this[_0xf4a948(0x44f)][_0xf4a948(0x35e)](_0x5f6703),_0x459397;}async[_0xccc328(0x435)](){var _0x51bdc7=_0xccc328;const _0x12b5ad=await super['_init']();return this[_0x51bdc7(0x2c9)](this[_0x51bdc7(0x2fd)][_0x51bdc7(0x47a)]((_0x3e2116,_0x456efc)=>{var _0xa541e5=_0x51bdc7;if(_0x3e2116['type']!==_0x5535af[_0xa541e5(0x474)]||_0x456efc!=null&&_0x456efc[_0xa541e5(0x1e2)]||_0x456efc!=null&&_0x456efc[_0xa541e5(0x211)])return;const _0x48ecc4=_0x3e2116[_0xa541e5(0x47f)];if((_0x48ecc4==null?void 0x0:_0x48ecc4[_0xa541e5(0x2a6)])!==this[_0xa541e5(0x45c)])return;const _0x4bae4d=_0x3e2116,_0xff5aa8=this[_0xa541e5(0x1e8)][_0xa541e5(0x340)]['fetchThroughInterceptors'](this[_0xa541e5(0x1e8)]['interceptor'][_0xa541e5(0x306)]()['COMPRESS_MUTATION_SEND'])([_0x4bae4d],null)||[_0x4bae4d];this[_0xa541e5(0x236)](_0xff5aa8[0x0]);})),_0x12b5ad;}};Tt=Lt([H(0x3,_0x42d086(_0x213b7b)),H(0x4,_0x42d086(_0x3c3615)),H(0x5,_0x42d086(_0xc4f59a)),H(0x6,_0x42d086(_0x4638b1)),H(0x7,_0x42d086(it)),H(0x8,_0x42d086(pe)),H(0x9,_0x48685b),H(0xa,_0x37fa3a),H(0xb,_0x3f7473),H(0xc,_0x4a4437(ht)),H(0xd,_0x4a4437(J))],Tt);var os=Object[_0xccc328(0x2bf)],cs=(_0x4b5387,_0x419a7f,_0x48352d,_0x1e4318)=>{var _0x5771f4=_0xccc328;for(var _0x34e854=_0x1e4318>0x1?void 0x0:_0x1e4318?os(_0x419a7f,_0x48352d):_0x419a7f,_0xa3d540=_0x4b5387[_0x5771f4(0x489)]-0x1,_0x276bd4;_0xa3d540>=0x0;_0xa3d540--)(_0x276bd4=_0x4b5387[_0xa3d540])&&(_0x34e854=_0x276bd4(_0x34e854)||_0x34e854);return _0x34e854;},ft=(_0x5ed2c1,_0x2fe1e8)=>(_0x2f957b,_0x2ddd5c)=>_0x2fe1e8(_0x2f957b,_0x2ddd5c,_0x5ed2c1);let st=class extends _0x694488{constructor(_0x2dacda,_0x57a434,_0x1cc371){var _0x38dea4=_0xccc328;super(),N(this,_0x38dea4(0x316),new Map()),N(this,_0x38dea4(0x3ea),new _0x364bef()),N(this,_0x38dea4(0x2be),this[_0x38dea4(0x3ea)][_0x38dea4(0x366)]()),(this[_0x38dea4(0x426)]=_0x2dacda,this[_0x38dea4(0x1f2)]=_0x57a434,this[_0x38dea4(0x3a9)]=_0x1cc371,this[_0x38dea4(0x435)]());}[_0xccc328(0x4a5)](){var _0x28739e=_0xccc328;super[_0x28739e(0x4a5)](),this['_entities'][_0x28739e(0x412)](_0x545cd6=>_0x545cd6[_0x28739e(0x4a5)]()),this[_0x28739e(0x316)][_0x28739e(0x2b7)]();}[_0xccc328(0x3b9)](_0xd3a136){var _0x2a0a55;return(_0x2a0a55=this['_entities']['get'](_0xd3a136))!=null?_0x2a0a55:null;}[_0xccc328(0x27b)](_0x3efb76){var _0x1b98e7=_0xccc328;const _0x1f674f=this['getCollabEntity'](_0x3efb76);return _0x1f674f?_0x194398(_0x1f674f):this[_0x1b98e7(0x3ea)]['pipe'](_0x217dd3(_0x44947c=>_0x44947c[_0x1b98e7(0x45c)]===_0x3efb76));}['readyForCollab'](_0x2957b8){var _0x25f052=_0xccc328;return _0x18279d(this[_0x25f052(0x27b)](_0x2957b8)[_0x25f052(0x2fc)](_0x422352(()=>{})));}[_0xccc328(0x435)](){var _0x1cdc18=_0xccc328;this['_univerInstanceService'][_0x1cdc18(0x299)](_0x2a060b[_0x1cdc18(0x2db)])[_0x1cdc18(0x2fc)](_0x246e32(this[_0x1cdc18(0x22b)]),_0x334f06(0x10))[_0x1cdc18(0x2d7)](async _0x524862=>{var _0x311f84=_0x1cdc18;const _0x1a2bd8=_0x524862[_0x311f84(0x1de)](),_0x209261=await this[_0x311f84(0x331)](_0x1a2bd8,Q[_0x311f84(0x2db)]);this['_entities']['set'](_0x1a2bd8,_0x209261);}),this[_0x1cdc18(0x3a9)][_0x1cdc18(0x299)](_0x2a060b['UNIVER_DOC'])['pipe'](_0x246e32(this[_0x1cdc18(0x22b)]),_0x334f06(0x10))[_0x1cdc18(0x2fc)](_0x217dd3(_0x3e2492=>!_0x3e2492[_0x1cdc18(0x1de)]()[_0x1cdc18(0x1b4)]('__')))['subscribe'](async _0x4b8235=>{var _0x17259a=_0x1cdc18;const _0x4596f6=_0x4b8235[_0x17259a(0x1de)](),_0x5dc483=await this['_startCollaboration'](_0x4596f6,Q[_0x17259a(0x4a4)]);this['_entities'][_0x17259a(0x382)](_0x4596f6,_0x5dc483);}),_0x40c80f(this[_0x1cdc18(0x3a9)][_0x1cdc18(0x27c)](_0x2a060b[_0x1cdc18(0x2db)]),this[_0x1cdc18(0x3a9)][_0x1cdc18(0x27c)](_0x2a060b['UNIVER_DOC']))['pipe'](_0x246e32(this[_0x1cdc18(0x22b)]))[_0x1cdc18(0x2d7)](_0x139929=>{var _0xccbc0a=_0x1cdc18;const _0x3f1cb7=_0x139929[_0xccbc0a(0x1de)](),_0x384665=this[_0xccbc0a(0x316)][_0xccbc0a(0x40e)](_0x3f1cb7);_0x384665&&(_0x384665[_0xccbc0a(0x4a5)](),this[_0xccbc0a(0x316)][_0xccbc0a(0x1b9)](_0x3f1cb7));});}async[_0xccc328(0x331)](_0x21da76,_0x8d72b4){var _0x38b54d=_0xccc328;const _0x237250=await this['_collabSessionService'][_0x38b54d(0x1b3)](_0x21da76),_0x74359a=this[_0x38b54d(0x426)][_0x38b54d(0x3b2)](this[_0x38b54d(0x45f)](_0x8d72b4),_0x21da76,_0x8d72b4,_0x237250);return await _0x74359a[_0x38b54d(0x371)](),this[_0x38b54d(0x3ea)][_0x38b54d(0x419)](_0x74359a),_0x74359a;}[_0xccc328(0x45f)](_0x2387fd){var _0x1c55a5=_0xccc328;switch(_0x2387fd){case Q[_0x1c55a5(0x4a4)]:return It;case Q[_0x1c55a5(0x2db)]:return Tt;default:throw new Error(_0x1c55a5(0x220)+_0x2387fd);}}};st=cs([ft(0x0,_0x42d086(_0x213b7b)),ft(0x1,_0x42d086(xe)),ft(0x2,_0xca8903)],st);var hs=Object[_0xccc328(0x2bf)],_s=(_0x372efa,_0x51b502,_0x5a5d34,_0x4b6612)=>{for(var _0x340f8b=_0x4b6612>0x1?void 0x0:_0x4b6612?hs(_0x51b502,_0x5a5d34):_0x51b502,_0x57a19d=_0x372efa['length']-0x1,_0x479d0e;_0x57a19d>=0x0;_0x57a19d--)(_0x479d0e=_0x372efa[_0x57a19d])&&(_0x340f8b=_0x479d0e(_0x340f8b)||_0x340f8b);return _0x340f8b;},zt=(_0xb5fd3,_0x1983d5)=>(_0x3a948d,_0x44fbde)=>_0x1983d5(_0x3a948d,_0x44fbde,_0xb5fd3);const ls=_0xccc328(0x39f),us=_0xccc328(0x43b);let Ct=class extends _0x1e04d8{constructor(_0x40febd,_0x5dbf76){var _0x2ecdf5=_0xccc328;super(),this[_0x2ecdf5(0x3a9)]=_0x40febd,this['_configService']=_0x5dbf76,this[_0x2ecdf5(0x435)]();}[_0xccc328(0x435)](){var _0x58d720=_0xccc328;this[_0x58d720(0x2c9)](this[_0x58d720(0x3a9)][_0x58d720(0x38a)][_0x58d720(0x2d7)](()=>{var _0x52fd6d=_0x58d720,_0x452063;const _0x49475f=this[_0x52fd6d(0x3a9)][_0x52fd6d(0x3d7)]();let _0x1c8a0c=(_0x452063=this['_configService']['getConfig'](ls))!=null?_0x452063:us;_0x49475f instanceof _0x124d6b&&(_0x1c8a0c=_0x49475f[_0x52fd6d(0x465)]),document['title']=_0x1c8a0c;}));}};Ct=_s([zt(0x0,_0xca8903),zt(0x1,_0x32d0f8)],Ct);function _0x58f5(){var _0x569f1f=['_members$','subscribe','session.join-failed','onTransformIME','hasher','UNIVER_SHEET','charCodeAt','readAsDataURL','_collaborationPaused','getUnitOnRev','file','_iv','/universer-api/authz','_createInitialStateImpl','_networkConditionService','_socketReady','/collaborator','/universer-api/snapshot/','_loadSheet','LEAVE','getRandomValues','CipherParams','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','COLLAB_WEB_SOCKET_URL','APPLY_NON_SEQUENTIAL_REVISION','PSEUDO_FETCH_MISSING_RESULT','_state$','LOGIN_FAILED','_snapshotServerService','UNKNOWN_CMD','_submitChangeset','_fetchMissChangesets','mixIn','HEARTBEAT_INTERVAL','JOIN','rng','Undefined','_onJoinRoomEvent','pipe','_commandService','awaiting_with_pending','_createInitialState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subUnitId','hostname','generateRandomId','getResourcesRequest','528411cdmhkv','getInterceptPoints','_transformStateCache','image/gif','PERMISSION_REJ','removeMember','close','changesets','PERSON','_throwTelemetryCollaborationNewChangeset','LIVESHARE_NEW_HOST','decryptBlock','_exhaustRemoteChangesetQueue','HmacSHA1','find','_handlerCallback','_getSignURL','_entities','_showConflictNotification','resend','updateMember','deepClone','saveImage','RETRY_CONNECTING_MAX_COUNT','offline','padding','SNAPSHOT_URL_KEY','sessionStatus$','compose','_registerDependencies','LIVESHARE_OPERATION','appendMutation','objectID','APPLY_PERMISSION_DENIED','_emitMembers','_listenToNetworkCondition','_initUnitPermissionChange','event$','/object/','NO_OTHER_CLIENTS_EDITING','status$','UPDATE_CURSOR','SOCKET_FAILED','UNIVER_PROJECT','_startCollaboration','_transformIMECache','_status$','UNKNOWN_CODE','loadDoc','shouldCloseConn','transformChangesets','UNRECOGNIZED','session.room-cnt-exceeds','infoRsp','[DataLoaderService]','_clearUndo','SerializableCipher','cmd','concat','interceptor','INGEST','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','&to=','LICENSE_IMPORT_SIZE_EXCEEDED','_resendTimer','/universer-api/oidc/authpage','fetchThroughInterceptors','getUnitType','COMPLETION_FINISHED','_imageSourceCache','create','lib','originalMeta','/block/','url','session','_memberService','apply','debug','error$','copyFileMeta','buffer','update','updatePermissionPoint','charAt','exports','_initRequestHeader','_onUserLeave','WordArray','transformSelections','textRanges','_onRemoteACK','ERROR_IMAGE_TYPE','subject','onRemoteRej','getDeserializedSheetBlock','/allowed','asObservable','editing\x20status\x20changed\x20to','createEncryptor','defineProperty','signUrlServerUrl','getImage','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','randomUUID','JOIN_ROOM_NOT_EXISTS','EvpKDF','UserProfileImg','init','AUTHZ_URL_KEY','_resendTimeout','_telemetryInfo','closeSession','/universer-api/snapshot','INTERNAL_ERROR','collaboratorID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_event$','APPLY_REVISION_CONFILICT','_reverseMap','synced','GLOBAL_ROOMS_CNT_EXCEEDS','_transformSelections','max','ERROR_IMAGE','set','_keyPriorReset','conflict','_cipher','reject','_userManagerService','CONNECTOR_DATA_TOO_LARGE','encrypt','focused$','ONLINE','getConfig','SNAPSHOT_SERVER_URL_KEY','cfg','collaborators','collabWebSocketUrl','liveShareOperation','\x0aAfter:\x20','_acknowledgedAwaitingChangeset','_change$','[OfflineState]:\x20received\x20rejection.','_mode','LIVESHARE_REQUEST_HOST','leaveEvent','/role','sendChangesetTimeout','_joinRoom','sheets','replace','sessionStatus','DEFAULT_FILE_NAME','COMMENT_UPDATE','byteOffset','JOINING','_remoteChangesetQueue','SHOULD_CLOSE_CONN','HttpExport','FAIL','_doProcessBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_univerInstanceService','commentUpdate$','\x20in\x20_schedule.','_incrementRevisionNumber','requestParams','onTransformRemoteChangesetByIMECache','MOBILE_HAS_BEEN_BOUND','authzUrl','APPLY_REJECT','createInstance','PasswordBasedCipher','_startTelemetryCollaborationNewChangeset','updateCursorEvent','reverse','_onCombEvent','univer-pro.collaboration-client-socket-service','getCollabEntity','YUUMI_UNABLE_LOAD_URL','reconnect','_snapshotService','roomInfos','_socketMessageSubscription','repeat','isPermissionRej','downloadEndpointUrl','_onRemoteRetry','__creator','selections','_substituteRedoStack','online$','connection\x20error','AES','_ENC_XFORM_MODE','_socket$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','call','words','_roomCreated$','method','indexOf','Failed\x20to\x20update\x20permission\x20point','OTHER_CLIENT_EDITING','code','_changesetSessionId','OFFLINE','SUCCUSS','getFocusedUnit','snapshotServerUrl','\x0aCurrent:\x20','clone','AWAITING_WITH_PENDING','reset','patch','_transformRemoteChangesetByIMECache','Hasher','image/jpg','unpad','socket$','onMissedChangesetFetched','enableAuthServer','message$','[CollaborationSessionService]:\x20socket\x20error','readInt32LE','awaiting','[OfflineState]:\x20received\x20changeset.','_entityInit$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','parse','StreamCipher','_httpService','Encryptor','state','_keySchedule','_retryConnectingTimer','_localCacheService','eventID','members$','routeKey','ENSURE_SNAPSHOT_EXECUTION','pluginName','_createSocket','1074aaImkP','_revisionService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getUnit','editingUnit','pending','_onConnectionFailed','post','map','_schedule','string','_unlockTransition','duration','getAllMembers','floor','/universer-api/uniscript','deleteCollaborator','4257792koSlDd','get','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Cipher','_xformMode','forEach','LIVESHARE_TERMINATE','stopTime','_createHelper','withCredentials','EMAIL_HAS_BEEN_BOUND','socket\x20close','next','SHA1','setShowComponents','APPLY_DUPLICATED','now','ciphertext','not_collab','key','MSG_FOR_ERROR','_sessionStatus$','pad','awaitingChangeset','_decreaseWaiting','_injector','equals','_unitID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_disableEditing','default','_sendingTimer','_sender','open$','ALREADY_EXISTS','uploadFileServerUrl','getValue','getMember','UUID','_toggleOnline','_init','hasOwnProperty','OpenSSL','Pkcs7','collaboration-client.local-cache-service','data','Univer','_sendHeartbeat','memberID','_syncEditingCollabCursor','put','list','createDecryptor','CHANGESET_REJ','_prevBlock','batchAllowed','from','_candidateSocket','toString','unit-cache-','status','Base','[CollaborationState]:\x20apply\x20error!','ceil','FETCH_MISSING','TOO_MANY_REQUESTS','_sheetTransformSelectionsService','AWAITING','liveShareNewHost','pauseCollaboration','joinEvent','_awaitingChangeset','_getLoginPath','_waitCount','_nRounds','/-/object/list','_transitionLocked','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','toggleOffline','unitID','objectType','target','_getCtorByUniverType','emitEvent','toggleOnline','isArray','range','initWorkbookPermissionChange','name','IDLE','send','updateCollaborator','UNIVER_COLLABORATION_CLIENT_PLUGIN','slice','_map','crypto','setCurrentUser','extend','JOIN_ROOM_PERMISSION_DENIED','size','_clearRedo','OTHER_CLIENTS_EDITING','random','MUTATION','JOIN_ROOM_FULL','_resendWithTimeout','saveChangeset','loginUrlKey','localCacheService','onCommandExecuted','onRemoteAck','collaboration-client.config','UnitEmbedded','FETCH_MISS','params','_getUploadFileURL','socketService','INVALID_ARGUMENT','_removeRoom','_commentUpdate$','280784MsKgNw','CHANGESET_REVISION_CONFILICT','UNIVER_SLIDE','_onOffline','length','/rev/','commentUpdateEvent','objectActions','randomBytes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','Base64','_updateState','OPTIONAL','_createHmacHelper','[UniverCollaborationClientPlugin]','_key','_getRedoStack','_onRecvEvent','BASE64','listRoles','[CollaborationSessionService]','/-/object/-/batch_allowed','salt','_collaborationSessionService','onTransformState','_onFetchMissResult','_initDependencies','sigBytes','fromCharCode','_substituteUndoStack','_scheduleCollaborationTimeoutTimer','UNIVER_DOC','dispose','reduce','_queuedRemoteChangesets','submit\x20changeset\x20error!','[OfflineState]:\x20received\x20acknowledgement.','_handler','UPDATE_PERMISSION_OBJ','HEARTBEAT','HmacMD5','error','CLOSE_ROOM','_iKey','reqId','body','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','addImageSourceCache','resolve','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HELLO','_data','getCurrentSelections','SOCKET_FAILED_RETRY','_eventService','CONFLICT','HMAC','responseType','setConfig','requireSession','startsWith','_tryReconnect','_transformUndoredo','refreshPermission','Utf8','delete','SYNCED','POST','findIndex','PENDING','_replayCachedMutations','_replaceFileID','/object','\x20-\x20','_getDownloadEndpointURL','_commentService','_doReset','updateOfflineData','_localeService','blockSize','SUBMIT_CHANGESET','_onConflict','fetchMiss','_pendingMutations','_executeRemoteChangeset','_unitInfo$','incrementRevOfUnit','_nDataBytes','fetching\x20missing\x20changesets\x20from\x20','_singleActiveUnitService','_getCurrentRevision','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','_getAPIPrefixPath','_applyRemoteChangeset','close$','onSendChangeset','HttpImport','csShouldRetryEvent','capture','_rescheduleHeartbeat','_updateStatus','getUnitId','&assign=','SUBMIT_CHANGESET_TIMEOUT','entries','fromCollab','INVITE_CODE_REQUIRED','registerHTTPInterceptor','_checkMissing','splice','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_compressMutationService','localeService','_redoStacks','clamp','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_shouldReportTelemetry','_permissionService','_loadDoc','[CollaborationSession]','_doCryptBlock','_collabSessionService','_getUndoStack','encryptBlock','bind','_members','_clearHeartbeatTimer','newCsEvent','_initCloseConn','?size=','unknown','image/jpeg','YUUMI_RATE_OVER_LIMIT','executeCommand','_transformStack','_sessions','_socketService','CHANGESET_ACK','BlockCipher','join','_hash','_timeoutTimer','_socket','onCommentUpdate','2076606XBvIFI','16SGGNTy','_configService','has','_append','href','failed\x20to\x20apply\x20missed\x20changesets!','BufferedBlockAlgorithm','onlyLocal','/new_changes','[SyncedState]:\x20received\x20rejection.','workbook','[PendingState]:\x20unhandled\x20univer\x20type:\x20','algo','INVITE_CODE_HAS_BEEN_UES','COMPRESS_MUTATION_APPLY','addHandlerCallback','_config','WECHAT_HAS_BEEN_BOUND','_undoRedoService','UnitSnapshot','action','setWaitCount','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','toLowerCase','uniscriptRunEvent','_roomMembers','_stopTelemetryCollaborationNewChangeset','every','People','$super','sid','_toggleOffline','dispose$','onMissingChangesets','_collaborationUIEventService','/universer-api/user/session-ticket','members','USERS_LEAVE','_sendHeartbeatTimer','mutations','MD5','enableSingleActiveInstanceLock','NOT_FOUND','_onLocalMutation','_oKey','unsubscribe','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNDEFINED','function','20041HUKoZJ','onRemoteRetry','_isPermissionRej','finalize','_initMergeInterceptor','prototype','_logService','userID','onTransformRemoteChangesetByStateCache','saveSnapshot','NoPadding','?url=','_onMessage','_process','JOIN_ROOM_FAILED','[CollaborationUndoRedoService]','headers','location','getImageSourceCache','unitInfo$','collaMsg','abs','_clearTimeoutTimer','Latin1','_changesetReqId','_retryCount','FileId','state$','NOT_COLLAB','_clearRetryConnectingTimer','permissionRejEvent','INVALID_INVITE_CODE','_getAPIPrefix','loadSheet','complete','CHANGESET_SHOULD_RETRY','YUUMI_URL_COL_OUT_OF_RANGE','{fileID}','_hasher','UNISCRIPT_RUN','execute','getTime','NEW_CHANGESETS','YUUMI_SUBSCRIPTION_NOT_FOUND','_onRemoteRejected','UNAUTHENTICATED','encode','push','kdf','getCurrentUser','unitId\x20is\x20not\x20found','updatePermissionObjEvent','SNAPSHOT_HAS_BEEN_REMOVED','481405wrKHFT','RECV','joinRsp','PERMISSION_DENIED','resourceIDs','getWorkbookSelections','ERROR_EXCEED_SIZE','BlockCipherMode','/unit/','_clearLocalCache','getCollabEntity$','getTypeOfUnitDisposed$','processBlock','_createHandler','c1Prime','stringify','src','onRemoteChangeset','_onRemoteChangeset','/fetchmissing?from=','USER_NOT_INVITED_CODE','_onConnectionOpen','_HTTPService','values','format','_transformRemoteChangesetByStateCache','UNIVER_UNKNOWN','getMemberID','[FetchMissState]','byteLength','m2Prime','_collaborationTimeoutTimer','getUnitStatus$','_state','_clearCollaborationTimeoutTimer','_tryEnsureSocket','c2Prime','x-univer-host','_waitForHeartbeatResponse','getSheetBlock','getTypeOfUnitAdded$','/universer-api/comb','LIVESHARE_FETCH_OPERATIONS','LOCAL_CACHE_INTERVAL','result','/universer-api/file/{fileID}/sign-url','getCurrentRevOfUnit','PY_RUNTIME_SCRIPT_ERROR','socket\x20open.','session.room-full','csAckEvent','transformMutationsWithChangeset','type','unitId','CBC','ivSize','_lockTransition','rev','_doFinalize','Could\x20not\x20dynamically\x20require\x20\x22','actions','COLLAB_SUBMIT_CHANGESET_URL','SNAPSHOT_INVALID_SNAPSHOT','baseRev','_onUserJoin','add','YUUMI_NO_CUBOID_FOR_QUESTION','fetch_missing','enc','/resources','clear','mode','keySize','getActiveSheet','_telemetryService','16468776geVXOa','revision','entityInit$','getOwnPropertyDescriptor','getSheetId','_clearScheduledTask','msCrypto','_scheduleCompleteTimestamp','putCollaborators','getRoom','filter','createSocket','LICENSE_DISTRO_REJECTED','disposeWithMe','_transformService','_type','decrypt','LICENSE_MAX_UNITS_EXCEEDED','\x20to\x20','_getSendChangesetTimeout','onTransformSelections','USERS_ENTER','[PendingState]:\x20received\x20rejection.','onSyncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','_updateLocalCache'];_0x58f5=function(){return _0x569f1f;};return _0x58f5();}var ds=Object[_0xccc328(0x2bf)],fs=(_0x1a5520,_0x238900,_0x383009,_0x1aa88d)=>{var _0x4de93e=_0xccc328;for(var _0x3a4c9e=_0x1aa88d>0x1?void 0x0:_0x1aa88d?ds(_0x238900,_0x383009):_0x238900,_0x48badc=_0x1a5520[_0x4de93e(0x489)]-0x1,_0x4bc81f;_0x48badc>=0x0;_0x48badc--)(_0x4bc81f=_0x1a5520[_0x48badc])&&(_0x3a4c9e=_0x4bc81f(_0x3a4c9e)||_0x3a4c9e);return _0x3a4c9e;},vt=(_0x10fe11,_0x3cdfdb)=>(_0x18ced3,_0x3cb751)=>_0x3cdfdb(_0x18ced3,_0x3cb751,_0x10fe11);let rt=class{constructor(_0x385a51,_0x1bfd8f,_0x516b4a){var _0x44c30b=_0xccc328;this[_0x44c30b(0x20b)]=_0x385a51,this[_0x44c30b(0x3ee)]=_0x1bfd8f,this[_0x44c30b(0x1e9)]=_0x516b4a,this['init']();}['init'](){var _0x5eb185=_0xccc328;this['_httpService'][_0x5eb185(0x1e4)]({'priority':0x1,'interceptor':(_0x3fb653,_0x1db831)=>_0x1db831(_0x3fb653)[_0x5eb185(0x2fc)](_0x29896c(async _0x2fc145=>{var _0x5a88a9=_0x5eb185;const _0x496ddf=_0x2fc145;if(_0x496ddf['status']===0x191){if(typeof window>'u')throw new Error(_0x5a88a9(0x3cb));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0xa3e50c=window['encodeURIComponent'](window[_0x5a88a9(0x24d)]['href']);window[_0x5a88a9(0x24d)][_0x5a88a9(0x20e)]=this[_0x5a88a9(0x455)]()+_0x5a88a9(0x247)+_0xa3e50c;}}return _0x496ddf;}))});}['_getLoginPath'](){var _0x56a607=_0xccc328,_0x53f8fb,_0x17a693;const _0x515cde=this[_0x56a607(0x20b)]['getConfig'](Un),_0x1eb331=this[_0x56a607(0x20b)][_0x56a607(0x38c)](q);return(_0x17a693=(_0x53f8fb=_0x1eb331==null?void 0x0:_0x1eb331[_0x56a607(0x478)])!=null?_0x53f8fb:_0x515cde)!=null?_0x17a693:An;}};rt=fs([vt(0x0,_0x32d0f8),vt(0x1,_0x42d086(_0x44834c)),vt(0x2,_0x42d086(_0xc4f59a))],rt);var vs=Object[_0xccc328(0x2bf)],ps=(_0x161ca4,_0x16374f,_0x24cf55,_0x62a0be)=>{var _0xd6e2a4=_0xccc328;for(var _0x297fa0=_0x62a0be>0x1?void 0x0:_0x62a0be?vs(_0x16374f,_0x24cf55):_0x16374f,_0x5a572c=_0x161ca4[_0xd6e2a4(0x489)]-0x1,_0x29bc9f;_0x5a572c>=0x0;_0x5a572c--)(_0x29bc9f=_0x161ca4[_0x5a572c])&&(_0x297fa0=_0x29bc9f(_0x297fa0)||_0x297fa0);return _0x297fa0;},Jt=(_0x1d7427,_0x61a046)=>(_0xb7d4bb,_0x10f6b1)=>_0x61a046(_0xb7d4bb,_0x10f6b1,_0x1d7427);const Ni=_0xccc328(0x372),ms=_0xccc328(0x2e2);let Rt=class extends _0x1e04d8{constructor(_0x12a5a3,_0x3872a2){var _0x3fe61d=_0xccc328;super(),this[_0x3fe61d(0x287)]=_0x12a5a3,this[_0x3fe61d(0x20b)]=_0x3872a2,this[_0x3fe61d(0x240)]();}[_0xccc328(0x240)](){var _0x472ca3=_0xccc328;const _0x5af5c4=this;this[_0x472ca3(0x2c9)](this[_0x472ca3(0x287)][_0x472ca3(0x1e4)]({'priority':0x3e7,'interceptor':_0x46cb63({'isMatch'(_0x11ab39){var _0x23d567=_0x472ca3,_0x1d1dce;if(_0x11ab39[_0x23d567(0x3cf)]===_0x23d567(0x1bb)&&((_0x1d1dce=_0x11ab39[_0x23d567(0x3ad)])!=null&&_0x1d1dce['body'])){const {objectID:_0x1a94e1,objectType:_0x38a23f}=_0x11ab39[_0x23d567(0x3ad)]['body']||{};if(!_0x1a94e1||_0x38a23f===void 0x0)return!0x1;const _0x299f11=_0x5af5c4[_0x23d567(0x1d5)]()+'/'+_0x38a23f+_0x23d567(0x32b)+_0x1a94e1+'/allowed';if(_0x11ab39['url']===_0x299f11)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bb3c5){var _0x445b71=_0x472ca3,_0x4a5de0;return(_0x4a5de0=_0x1bb3c5[_0x445b71(0x3ad)])==null?void 0x0:_0x4a5de0[_0x445b71(0x1a5)];},'mergeParamsToRequest'(_0x4aaa24,_0x3ed510){var _0x3636ff=_0x472ca3;const _0x229b6e=_0x5af5c4[_0x3636ff(0x1d5)]()+_0x3636ff(0x49a),_0x17918b=_0x4aaa24[_0x3636ff(0x4a6)]((_0x14a259,_0x5caf02)=>{var _0x4ca8f7=_0x3636ff;const {unitID:_0x153f27,objectID:_0x16d0fe,objectType:_0xd1415b,actions:_0x296c97}=_0x5caf02;return _0x14a259[_0x153f27]||(_0x14a259[_0x153f27]={}),_0x14a259[_0x153f27][_0x16d0fe]||(_0x14a259[_0x153f27][_0x16d0fe]={'objectID':_0x16d0fe,'objectType':_0xd1415b,'actions':[]}),_0x14a259[_0x153f27][_0x16d0fe][_0x4ca8f7(0x2ad)]['push'](..._0x296c97),_0x14a259;},{}),_0x148eff=[];for(const _0x38c59f in _0x17918b)for(const _0x34425d in _0x17918b[_0x38c59f]){const {actions:_0x4ee43a,objectType:_0x31ba74}=_0x17918b[_0x38c59f][_0x34425d],_0x1079b5=[...new Set(_0x4ee43a)];_0x148eff['push']({'unitID':_0x38c59f,'objectID':_0x34425d,'objectType':_0x31ba74,'actions':_0x1079b5});}return new _0x4f5f8c(_0x3636ff(0x1bb),_0x229b6e,{'headers':_0x3ed510['headers'],'withCredentials':_0x3ed510[_0x3636ff(0x416)],'responseType':_0x3ed510[_0x3636ff(0x1b1)],'body':{'requests':_0x148eff}});}},{'distributeResult'(_0x1a36c4,_0x407998){var _0xe3aab5=_0x472ca3;const {objectActions:_0x144026}=_0x1a36c4;return _0x407998[_0xe3aab5(0x404)](_0x4b0279=>{var _0x34ab77=_0xe3aab5;const {unitID:_0x1bf3f5,objectID:_0x20f1a0,actions:_0x23d453}=_0x4b0279,_0x5c0c1e=_0x144026['find'](_0x50ee0a=>_0x50ee0a[_0x34ab77(0x45c)]===_0x1bf3f5&&_0x50ee0a[_0x34ab77(0x325)]===_0x20f1a0),_0x4449e5=_0x23d453[_0x34ab77(0x404)](_0xad7137=>_0x5c0c1e==null?void 0x0:_0x5c0c1e['actions'][_0x34ab77(0x313)](_0x4d4fb6=>_0x4d4fb6[_0x34ab77(0x21e)]===_0xad7137))[_0x34ab77(0x2c6)](_0x2c3152=>!!_0x2c3152);return{'config':_0x4b0279,'result':{'actions':_0x4449e5,'error':_0x1a36c4[_0x34ab77(0x4ae)]}};});}})}));}['_getAPIPrefixPath'](){var _0x480bc4=_0xccc328,_0x342bd7,_0x11f92b;const _0x59c009=this[_0x480bc4(0x20b)][_0x480bc4(0x38c)](Ni),_0xa769a5=this[_0x480bc4(0x20b)]['getConfig'](q);return(_0x11f92b=(_0x342bd7=_0xa769a5==null?void 0x0:_0xa769a5[_0x480bc4(0x3b0)])!=null?_0x342bd7:_0x59c009)!=null?_0x11f92b:ms;}async[_0xccc328(0x34b)](_0x5ad0c9){var _0x3ff0ac=_0xccc328;const _0x1188de=this[_0x3ff0ac(0x1d5)]()+'/'+_0x5ad0c9[_0x3ff0ac(0x45d)]+_0x3ff0ac(0x1c0);return(await this[_0x3ff0ac(0x287)]['post'](_0x1188de,{'body':_0x5ad0c9}))['body']['objectID']||'';}async['list'](_0x5a6a5c){var _0x14458e=_0xccc328;const _0x5c9cee=this[_0x14458e(0x1d5)]()+_0x14458e(0x458);return(await this['_HTTPService'][_0x14458e(0x403)](_0x5c9cee,{'body':_0x5a6a5c}))[_0x14458e(0x1a5)]['objects'];}async[_0xccc328(0x357)](_0x18db8c){var _0x549490=_0xccc328,_0x3f041b,_0x2f2fcd;const _0x49b909=this[_0x549490(0x1d5)]()+'/'+_0x18db8c[_0x549490(0x45d)]+_0x549490(0x32b)+_0x18db8c[_0x549490(0x325)],_0x30a7be=await this['_HTTPService'][_0x549490(0x43f)](_0x49b909,{'body':_0x18db8c});if(((_0x2f2fcd=(_0x3f041b=_0x30a7be==null?void 0x0:_0x30a7be[_0x549490(0x1a5)])==null?void 0x0:_0x3f041b[_0x549490(0x4ae)])==null?void 0x0:_0x2f2fcd[_0x549490(0x3d3)])!==0x1)throw new Error(_0x549490(0x3d1));}async['allowed'](_0x10fb2c){var _0x2774f2=_0xccc328;const _0x14bdd0=this[_0x2774f2(0x1d5)]()+'/'+_0x10fb2c[_0x2774f2(0x45d)]+_0x2774f2(0x32b)+_0x10fb2c[_0x2774f2(0x325)]+_0x2774f2(0x365);return(await this['_HTTPService'][_0x2774f2(0x403)](_0x14bdd0,{'body':_0x10fb2c}))[_0x2774f2(0x1a5)][_0x2774f2(0x2ad)];}async[_0xccc328(0x444)](_0x466771){var _0x1cc97a=_0xccc328;const _0x12237a=this[_0x1cc97a(0x1d5)]()+_0x1cc97a(0x49a);return(await this[_0x1cc97a(0x287)][_0x1cc97a(0x403)](_0x12237a,{'body':{'requests':_0x466771}}))['body'][_0x1cc97a(0x48c)];}async[_0xccc328(0x498)](_0x1ebca8){var _0x13aaaa=_0xccc328;const _0x158fd1=this[_0x13aaaa(0x1d5)]()+'/'+_0x1ebca8[_0x13aaaa(0x45d)]+_0x13aaaa(0x399),_0x34015b=await this[_0x13aaaa(0x287)][_0x13aaaa(0x403)](_0x158fd1,{'body':_0x1ebca8});return{'roles':_0x34015b[_0x13aaaa(0x1a5)]['roles'],'actions':_0x34015b['body']['actions']};}async[_0xccc328(0x40c)](_0x4b9265){var _0x23793a=_0xccc328;const _0x587ee0=this['_getAPIPrefixPath']()+_0x23793a(0x2e6);await this['_HTTPService'][_0x23793a(0x1b9)](_0x587ee0,{'params':{'collaboratorID':_0x4b9265[_0x23793a(0x378)],'objectID':_0x4b9265['objectID'],'unitID':_0x4b9265[_0x23793a(0x45c)]}});}async[_0xccc328(0x468)](_0x44fd9b){var _0x23990d=_0xccc328;const _0x55b26a=this['_getAPIPrefixPath']()+_0x23990d(0x2e6);await this[_0x23990d(0x287)][_0x23990d(0x3dd)](_0x55b26a,{'body':_0x44fd9b});}async['createCollaborator'](_0xc292cd){var _0x673c49=_0xccc328;const _0x37e8c3=this[_0x673c49(0x1d5)]()+'/collaborator';await this[_0x673c49(0x287)][_0x673c49(0x403)](_0x37e8c3,{'body':_0xc292cd});}async['listCollaborators'](_0x2f344e){var _0x23d853=_0xccc328;const _0x47d3ed=this['_getAPIPrefixPath']()+_0x23d853(0x2e6);return(await this[_0x23d853(0x287)][_0x23d853(0x40e)](_0x47d3ed,{'params':{'objectID':_0x2f344e[_0x23d853(0x325)],'unitID':_0x2f344e['unitID']}}))[_0x23d853(0x1a5)][_0x23d853(0x38f)];}async[_0xccc328(0x2c4)](_0x240c57){var _0x3de092=_0xccc328;const _0xda180c=this[_0x3de092(0x1d5)]()+_0x3de092(0x2e6);await this[_0x3de092(0x287)][_0x3de092(0x43f)](_0xda180c,{'body':_0x240c57});}};Rt=ps([Jt(0x0,_0x42d086(_0x44834c)),Jt(0x1,_0x42d086(_0x32d0f8))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2828b0){var _0x562408=_0xccc328;return _0x2828b0&&_0x2828b0['__esModule']&&Object['prototype']['hasOwnProperty']['call'](_0x2828b0,'default')?_0x2828b0[_0x562408(0x42b)]:_0x2828b0;}var Ve={'exports':{}};function gs(_0x143947){var _0x4dd3fe=_0xccc328;throw new Error(_0x4dd3fe(0x2ac)+_0x143947+_0x4dd3fe(0x221));}var Ge={'exports':{}},Ss=Ge[_0xccc328(0x35a)],Xt;function ie(){var _0x26c0d0=_0xccc328;return Xt||(Xt=0x1,function(_0x272881,_0x5d214b){(function(_0x19fbb9,_0xfaaa5a){var _0xb4169d=_0x4dde;_0x272881[_0xb4169d(0x35a)]=_0xfaaa5a();}(Ss,function(){var _0x2c1716=_0x2c1716||function(_0x254616,_0x3c6252){var _0x1d2ae8=_0x4dde,_0x4f2310;if(typeof window<'u'&&window[_0x1d2ae8(0x46c)]&&(_0x4f2310=window[_0x1d2ae8(0x46c)]),typeof self<'u'&&self[_0x1d2ae8(0x46c)]&&(_0x4f2310=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4f2310=globalThis[_0x1d2ae8(0x46c)]),!_0x4f2310&&typeof window<'u'&&window[_0x1d2ae8(0x2c2)]&&(_0x4f2310=window['msCrypto']),!_0x4f2310&&typeof pt<'u'&&pt[_0x1d2ae8(0x46c)]&&(_0x4f2310=pt[_0x1d2ae8(0x46c)]),!_0x4f2310&&typeof gs==_0x1d2ae8(0x23b))try{_0x4f2310=require('crypto');}catch{}var _0x17d015=function(){var _0x14fe55=_0x1d2ae8;if(_0x4f2310){if(typeof _0x4f2310[_0x14fe55(0x2ea)]==_0x14fe55(0x23b))try{return _0x4f2310[_0x14fe55(0x2ea)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4f2310[_0x14fe55(0x48d)]=='function')try{return _0x4f2310['randomBytes'](0x4)[_0x14fe55(0x3e7)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x58191a=Object[_0x1d2ae8(0x34b)]||(function(){function _0x3b6a5c(){}return function(_0x3e81ce){var _0xd3b52b=_0x4dde,_0x566499;return _0x3b6a5c[_0xd3b52b(0x241)]=_0x3e81ce,_0x566499=new _0x3b6a5c(),_0x3b6a5c['prototype']=null,_0x566499;};}()),_0xaa85f2={},_0x1c6711=_0xaa85f2[_0x1d2ae8(0x34c)]={},_0x2ac5d8=_0x1c6711[_0x1d2ae8(0x44a)]=(function(){return{'extend':function(_0x1887aa){var _0x7e571e=_0x4dde,_0x62bff1=_0x58191a(this);return _0x1887aa&&_0x62bff1[_0x7e571e(0x2f6)](_0x1887aa),(!_0x62bff1[_0x7e571e(0x436)](_0x7e571e(0x371))||this[_0x7e571e(0x371)]===_0x62bff1['init'])&&(_0x62bff1[_0x7e571e(0x371)]=function(){var _0x423645=_0x7e571e;_0x62bff1[_0x423645(0x228)][_0x423645(0x371)][_0x423645(0x352)](this,arguments);}),_0x62bff1[_0x7e571e(0x371)]['prototype']=_0x62bff1,_0x62bff1['$super']=this,_0x62bff1;},'create':function(){var _0x3d0908=_0x4dde,_0x5cb411=this[_0x3d0908(0x46e)]();return _0x5cb411[_0x3d0908(0x371)][_0x3d0908(0x352)](_0x5cb411,arguments),_0x5cb411;},'init':function(){},'mixIn':function(_0x13fb6a){var _0x63cda4=_0x4dde;for(var _0x3b6819 in _0x13fb6a)_0x13fb6a[_0x63cda4(0x436)](_0x3b6819)&&(this[_0x3b6819]=_0x13fb6a[_0x3b6819]);_0x13fb6a[_0x63cda4(0x436)](_0x63cda4(0x447))&&(this[_0x63cda4(0x447)]=_0x13fb6a[_0x63cda4(0x447)]);},'clone':function(){var _0xd1524a=_0x4dde;return this[_0xd1524a(0x371)]['prototype'][_0xd1524a(0x46e)](this);}};}()),_0x3dbb9d=_0x1c6711[_0x1d2ae8(0x35d)]=_0x2ac5d8['extend']({'init':function(_0xd1eec9,_0x1a8cdd){var _0xedbcf6=_0x1d2ae8;_0xd1eec9=this['words']=_0xd1eec9||[],_0x1a8cdd!=_0x3c6252?this['sigBytes']=_0x1a8cdd:this[_0xedbcf6(0x4a0)]=_0xd1eec9[_0xedbcf6(0x489)]*0x4;},'toString':function(_0x364309){return(_0x364309||_0x3413eb)['stringify'](this);},'concat':function(_0x29c619){var _0x87f014=_0x1d2ae8,_0x50304f=this[_0x87f014(0x3cd)],_0x3bcdb3=_0x29c619[_0x87f014(0x3cd)],_0x2a79c3=this['sigBytes'],_0x469f2a=_0x29c619[_0x87f014(0x4a0)];if(this[_0x87f014(0x1eb)](),_0x2a79c3%0x4)for(var _0x5a1d0e=0x0;_0x5a1d0e<_0x469f2a;_0x5a1d0e++){var _0x1ce8d3=_0x3bcdb3[_0x5a1d0e>>>0x2]>>>0x18-_0x5a1d0e%0x4*0x8&0xff;_0x50304f[_0x2a79c3+_0x5a1d0e>>>0x2]|=_0x1ce8d3<<0x18-(_0x2a79c3+_0x5a1d0e)%0x4*0x8;}else{for(var _0x3d255c=0x0;_0x3d255c<_0x469f2a;_0x3d255c+=0x4)_0x50304f[_0x2a79c3+_0x3d255c>>>0x2]=_0x3bcdb3[_0x3d255c>>>0x2];}return this[_0x87f014(0x4a0)]+=_0x469f2a,this;},'clamp':function(){var _0x41569b=_0x1d2ae8,_0x2bee82=this[_0x41569b(0x3cd)],_0x1e5c81=this[_0x41569b(0x4a0)];_0x2bee82[_0x1e5c81>>>0x2]&=0xffffffff<<0x20-_0x1e5c81%0x4*0x8,_0x2bee82[_0x41569b(0x489)]=_0x254616[_0x41569b(0x44c)](_0x1e5c81/0x4);},'clone':function(){var _0x360c87=_0x1d2ae8,_0x26de1e=_0x2ac5d8[_0x360c87(0x3da)][_0x360c87(0x3cc)](this);return _0x26de1e[_0x360c87(0x3cd)]=this[_0x360c87(0x3cd)][_0x360c87(0x46a)](0x0),_0x26de1e;},'random':function(_0x22e1f8){var _0x2fc028=_0x1d2ae8;for(var _0x4b8795=[],_0x360a6c=0x0;_0x360a6c<_0x22e1f8;_0x360a6c+=0x4)_0x4b8795[_0x2fc028(0x26b)](_0x17d015());return new _0x3dbb9d['init'](_0x4b8795,_0x22e1f8);}}),_0x77fee2=_0xaa85f2[_0x1d2ae8(0x2b5)]={},_0x3413eb=_0x77fee2['Hex']={'stringify':function(_0x2002b5){var _0x441d2b=_0x1d2ae8;for(var _0x4ec5ad=_0x2002b5['words'],_0x21d64a=_0x2002b5['sigBytes'],_0x3764ff=[],_0x19e6bd=0x0;_0x19e6bd<_0x21d64a;_0x19e6bd++){var _0x5d2f9b=_0x4ec5ad[_0x19e6bd>>>0x2]>>>0x18-_0x19e6bd%0x4*0x8&0xff;_0x3764ff['push']((_0x5d2f9b>>>0x4)[_0x441d2b(0x447)](0x10)),_0x3764ff[_0x441d2b(0x26b)]((_0x5d2f9b&0xf)[_0x441d2b(0x447)](0x10));}return _0x3764ff[_0x441d2b(0x204)]('');},'parse':function(_0x5413fe){var _0x506c89=_0x1d2ae8;for(var _0x34e6b8=_0x5413fe[_0x506c89(0x489)],_0x40be96=[],_0x4863f6=0x0;_0x4863f6<_0x34e6b8;_0x4863f6+=0x2)_0x40be96[_0x4863f6>>>0x3]|=parseInt(_0x5413fe['substr'](_0x4863f6,0x2),0x10)<<0x18-_0x4863f6%0x8*0x4;return new _0x3dbb9d[(_0x506c89(0x371))](_0x40be96,_0x34e6b8/0x2);}},_0x2e12d0=_0x77fee2[_0x1d2ae8(0x253)]={'stringify':function(_0x15a9ee){var _0x594622=_0x1d2ae8;for(var _0x55c2e0=_0x15a9ee[_0x594622(0x3cd)],_0x128b14=_0x15a9ee[_0x594622(0x4a0)],_0x3233f0=[],_0x558708=0x0;_0x558708<_0x128b14;_0x558708++){var _0x5d685d=_0x55c2e0[_0x558708>>>0x2]>>>0x18-_0x558708%0x4*0x8&0xff;_0x3233f0['push'](String[_0x594622(0x4a1)](_0x5d685d));}return _0x3233f0['join']('');},'parse':function(_0x734e7a){var _0x1dc91d=_0x1d2ae8;for(var _0x2737a4=_0x734e7a[_0x1dc91d(0x489)],_0x2a9715=[],_0x2c8b28=0x0;_0x2c8b28<_0x2737a4;_0x2c8b28++)_0x2a9715[_0x2c8b28>>>0x2]|=(_0x734e7a['charCodeAt'](_0x2c8b28)&0xff)<<0x18-_0x2c8b28%0x4*0x8;return new _0x3dbb9d[(_0x1dc91d(0x371))](_0x2a9715,_0x2737a4);}},_0xa30ebd=_0x77fee2[_0x1d2ae8(0x1b8)]={'stringify':function(_0x2dec14){var _0x3cb814=_0x1d2ae8;try{return decodeURIComponent(escape(_0x2e12d0[_0x3cb814(0x280)](_0x2dec14)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x437fbe){return _0x2e12d0['parse'](unescape(encodeURIComponent(_0x437fbe)));}},_0x166e22=_0x1c6711[_0x1d2ae8(0x210)]=_0x2ac5d8[_0x1d2ae8(0x46e)]({'reset':function(){var _0x1115fd=_0x1d2ae8;this[_0x1115fd(0x1ab)]=new _0x3dbb9d['init'](),this[_0x1115fd(0x1cf)]=0x0;},'_append':function(_0x21ed6a){var _0x2bebd=_0x1d2ae8;typeof _0x21ed6a==_0x2bebd(0x406)&&(_0x21ed6a=_0xa30ebd[_0x2bebd(0x3ec)](_0x21ed6a)),this[_0x2bebd(0x1ab)]['concat'](_0x21ed6a),this[_0x2bebd(0x1cf)]+=_0x21ed6a['sigBytes'];},'_process':function(_0x4dc892){var _0x20ed2a=_0x1d2ae8,_0x5f48be,_0x2993ab=this[_0x20ed2a(0x1ab)],_0xf41d4d=_0x2993ab[_0x20ed2a(0x3cd)],_0x5f570c=_0x2993ab[_0x20ed2a(0x4a0)],_0x328336=this[_0x20ed2a(0x1c7)],_0x54cf58=_0x328336*0x4,_0x2db925=_0x5f570c/_0x54cf58;_0x4dc892?_0x2db925=_0x254616[_0x20ed2a(0x44c)](_0x2db925):_0x2db925=_0x254616[_0x20ed2a(0x380)]((_0x2db925|0x0)-this['_minBufferSize'],0x0);var _0x1d86a3=_0x2db925*_0x328336,_0x292019=_0x254616['min'](_0x1d86a3*0x4,_0x5f570c);if(_0x1d86a3){for(var _0x399cfd=0x0;_0x399cfd<_0x1d86a3;_0x399cfd+=_0x328336)this[_0x20ed2a(0x3a7)](_0xf41d4d,_0x399cfd);_0x5f48be=_0xf41d4d[_0x20ed2a(0x1e6)](0x0,_0x1d86a3),_0x2993ab[_0x20ed2a(0x4a0)]-=_0x292019;}return new _0x3dbb9d[(_0x20ed2a(0x371))](_0x5f48be,_0x292019);},'clone':function(){var _0x427beb=_0x1d2ae8,_0x120114=_0x2ac5d8[_0x427beb(0x3da)][_0x427beb(0x3cc)](this);return _0x120114['_data']=this[_0x427beb(0x1ab)][_0x427beb(0x3da)](),_0x120114;},'_minBufferSize':0x0});_0x1c6711[_0x1d2ae8(0x3df)]=_0x166e22[_0x1d2ae8(0x46e)]({'cfg':_0x2ac5d8[_0x1d2ae8(0x46e)](),'init':function(_0xc9442d){var _0x27dbd6=_0x1d2ae8;this[_0x27dbd6(0x38e)]=this['cfg']['extend'](_0xc9442d),this[_0x27dbd6(0x3dc)]();},'reset':function(){var _0x59a513=_0x1d2ae8;_0x166e22[_0x59a513(0x3dc)][_0x59a513(0x3cc)](this),this[_0x59a513(0x1c4)]();},'update':function(_0x1cda17){var _0x3956f4=_0x1d2ae8;return this[_0x3956f4(0x20d)](_0x1cda17),this[_0x3956f4(0x249)](),this;},'finalize':function(_0x4f1392){var _0xbd2b82=_0x1d2ae8;_0x4f1392&&this[_0xbd2b82(0x20d)](_0x4f1392);var _0x6de199=this[_0xbd2b82(0x2ab)]();return _0x6de199;},'blockSize':0x10,'_createHelper':function(_0x8b6bdc){return function(_0x1ee53c,_0x4a2d05){var _0x4fd1c8=_0x4dde;return new _0x8b6bdc[(_0x4fd1c8(0x371))](_0x4a2d05)[_0x4fd1c8(0x23f)](_0x1ee53c);};},'_createHmacHelper':function(_0x53c376){return function(_0x3db746,_0x4ada9e){var _0x2273a1=_0x4dde;return new _0x217c29[(_0x2273a1(0x1b0))][(_0x2273a1(0x371))](_0x53c376,_0x4ada9e)[_0x2273a1(0x23f)](_0x3db746);};}});var _0x217c29=_0xaa85f2[_0x1d2ae8(0x216)]={};return _0xaa85f2;}(Math);return _0x2c1716;}));}(Ge)),Ge[_0x26c0d0(0x35a)];}var We={'exports':{}},Es=We[_0xccc328(0x35a)],Zt;function Di(){var _0x420aa3=_0xccc328;return Zt||(Zt=0x1,function(_0x1ddc51,_0x323ca7){(function(_0x5c2c38,_0x2f6270){_0x1ddc51['exports']=_0x2f6270(ie());}(Es,function(_0x4494f2){var _0x322fd9=_0x4dde;return(function(){var _0xb79821=_0x4dde,_0x17a528=_0x4494f2,_0x5855c6=_0x17a528[_0xb79821(0x34c)],_0x4ad62f=_0x5855c6['WordArray'],_0x420087=_0x17a528[_0xb79821(0x2b5)];_0x420087[_0xb79821(0x48f)]={'stringify':function(_0x4b034e){var _0x18b79f=_0xb79821,_0x257c2a=_0x4b034e[_0x18b79f(0x3cd)],_0x134ede=_0x4b034e[_0x18b79f(0x4a0)],_0x24b7ad=this[_0x18b79f(0x46b)];_0x4b034e[_0x18b79f(0x1eb)]();for(var _0x18d784=[],_0x12ec63=0x0;_0x12ec63<_0x134ede;_0x12ec63+=0x3)for(var _0x4bdd90=_0x257c2a[_0x12ec63>>>0x2]>>>0x18-_0x12ec63%0x4*0x8&0xff,_0x5da919=_0x257c2a[_0x12ec63+0x1>>>0x2]>>>0x18-(_0x12ec63+0x1)%0x4*0x8&0xff,_0x33d49b=_0x257c2a[_0x12ec63+0x2>>>0x2]>>>0x18-(_0x12ec63+0x2)%0x4*0x8&0xff,_0x20d803=_0x4bdd90<<0x10|_0x5da919<<0x8|_0x33d49b,_0x221133=0x0;_0x221133<0x4&&_0x12ec63+_0x221133*0.75<_0x134ede;_0x221133++)_0x18d784[_0x18b79f(0x26b)](_0x24b7ad['charAt'](_0x20d803>>>0x6*(0x3-_0x221133)&0x3f));var _0x506599=_0x24b7ad['charAt'](0x40);if(_0x506599){for(;_0x18d784['length']%0x4;)_0x18d784[_0x18b79f(0x26b)](_0x506599);}return _0x18d784[_0x18b79f(0x204)]('');},'parse':function(_0x143ce4){var _0xbce3e0=_0xb79821,_0xc8a98=_0x143ce4[_0xbce3e0(0x489)],_0x9eb0fd=this[_0xbce3e0(0x46b)],_0x2db8f9=this[_0xbce3e0(0x37c)];if(!_0x2db8f9){_0x2db8f9=this[_0xbce3e0(0x37c)]=[];for(var _0x55f6b4=0x0;_0x55f6b4<_0x9eb0fd[_0xbce3e0(0x489)];_0x55f6b4++)_0x2db8f9[_0x9eb0fd[_0xbce3e0(0x2dc)](_0x55f6b4)]=_0x55f6b4;}var _0x4956b7=_0x9eb0fd[_0xbce3e0(0x359)](0x40);if(_0x4956b7){var _0x31fa95=_0x143ce4[_0xbce3e0(0x3d0)](_0x4956b7);_0x31fa95!==-0x1&&(_0xc8a98=_0x31fa95);}return _0x2d3197(_0x143ce4,_0xc8a98,_0x2db8f9);},'_map':_0xb79821(0x2ec)};function _0x2d3197(_0x6fe8ab,_0x545624,_0x498891){var _0x4f5c70=_0xb79821;for(var _0x18f07d=[],_0x131d4e=0x0,_0x526ed0=0x0;_0x526ed0<_0x545624;_0x526ed0++)if(_0x526ed0%0x4){var _0x4a3144=_0x498891[_0x6fe8ab['charCodeAt'](_0x526ed0-0x1)]<<_0x526ed0%0x4*0x2,_0x3e1d02=_0x498891[_0x6fe8ab[_0x4f5c70(0x2dc)](_0x526ed0)]>>>0x6-_0x526ed0%0x4*0x2,_0x108176=_0x4a3144|_0x3e1d02;_0x18f07d[_0x131d4e>>>0x2]|=_0x108176<<0x18-_0x131d4e%0x4*0x8,_0x131d4e++;}return _0x4ad62f['create'](_0x18f07d,_0x131d4e);}}()),_0x4494f2[_0x322fd9(0x2b5)]['Base64'];}));}(We)),We[_0x420aa3(0x35a)];}var Ke={'exports':{}},Is=Ke[_0xccc328(0x35a)],Qt;function Ts(){var _0x3ee8be=_0xccc328;return Qt||(Qt=0x1,function(_0x199ad3,_0x83d42){(function(_0x7e416e,_0x321813){var _0x2e5bad=_0x4dde;_0x199ad3[_0x2e5bad(0x35a)]=_0x321813(ie());}(Is,function(_0x4eb926){return function(_0x200520){var _0x349c6f=_0x4dde,_0x52b0aa=_0x4eb926,_0x531498=_0x52b0aa[_0x349c6f(0x34c)],_0x10ffe0=_0x531498[_0x349c6f(0x35d)],_0xde3e9=_0x531498['Hasher'],_0x1358e2=_0x52b0aa['algo'],_0x56ec87=[];(function(){var _0x539901=_0x349c6f;for(var _0x2b2a5b=0x0;_0x2b2a5b<0x40;_0x2b2a5b++)_0x56ec87[_0x2b2a5b]=_0x200520[_0x539901(0x251)](_0x200520['sin'](_0x2b2a5b+0x1))*0x100000000|0x0;}());var _0x1a150a=_0x1358e2[_0x349c6f(0x233)]=_0xde3e9[_0x349c6f(0x46e)]({'_doReset':function(){var _0x95f68f=_0x349c6f;this[_0x95f68f(0x205)]=new _0x10ffe0[(_0x95f68f(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1a0a5b,_0x235c25){var _0x2da1a1=_0x349c6f;for(var _0x4ef804=0x0;_0x4ef804<0x10;_0x4ef804++){var _0x2061d9=_0x235c25+_0x4ef804,_0x101f5e=_0x1a0a5b[_0x2061d9];_0x1a0a5b[_0x2061d9]=(_0x101f5e<<0x8|_0x101f5e>>>0x18)&0xff00ff|(_0x101f5e<<0x18|_0x101f5e>>>0x8)&0xff00ff00;}var _0x395c00=this[_0x2da1a1(0x205)][_0x2da1a1(0x3cd)],_0x531238=_0x1a0a5b[_0x235c25+0x0],_0xab57de=_0x1a0a5b[_0x235c25+0x1],_0x1be9a1=_0x1a0a5b[_0x235c25+0x2],_0x99dd13=_0x1a0a5b[_0x235c25+0x3],_0x3c194e=_0x1a0a5b[_0x235c25+0x4],_0x3d390=_0x1a0a5b[_0x235c25+0x5],_0x24c537=_0x1a0a5b[_0x235c25+0x6],_0x16fba9=_0x1a0a5b[_0x235c25+0x7],_0xfdb6a2=_0x1a0a5b[_0x235c25+0x8],_0x36f1a9=_0x1a0a5b[_0x235c25+0x9],_0x47cc58=_0x1a0a5b[_0x235c25+0xa],_0x122758=_0x1a0a5b[_0x235c25+0xb],_0x29529d=_0x1a0a5b[_0x235c25+0xc],_0x41e668=_0x1a0a5b[_0x235c25+0xd],_0x20de34=_0x1a0a5b[_0x235c25+0xe],_0x43f837=_0x1a0a5b[_0x235c25+0xf],_0x35afb6=_0x395c00[0x0],_0x1dc642=_0x395c00[0x1],_0x4b19c2=_0x395c00[0x2],_0x64b6e1=_0x395c00[0x3];_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x531238,0x7,_0x56ec87[0x0]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0xab57de,0xc,_0x56ec87[0x1]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x1be9a1,0x11,_0x56ec87[0x2]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x99dd13,0x16,_0x56ec87[0x3]),_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3c194e,0x7,_0x56ec87[0x4]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x3d390,0xc,_0x56ec87[0x5]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x24c537,0x11,_0x56ec87[0x6]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x16fba9,0x16,_0x56ec87[0x7]),_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xfdb6a2,0x7,_0x56ec87[0x8]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x36f1a9,0xc,_0x56ec87[0x9]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x47cc58,0x11,_0x56ec87[0xa]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x122758,0x16,_0x56ec87[0xb]),_0x35afb6=_0x4b4abe(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x29529d,0x7,_0x56ec87[0xc]),_0x64b6e1=_0x4b4abe(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x41e668,0xc,_0x56ec87[0xd]),_0x4b19c2=_0x4b4abe(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x20de34,0x11,_0x56ec87[0xe]),_0x1dc642=_0x4b4abe(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x43f837,0x16,_0x56ec87[0xf]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xab57de,0x5,_0x56ec87[0x10]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x24c537,0x9,_0x56ec87[0x11]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x122758,0xe,_0x56ec87[0x12]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x531238,0x14,_0x56ec87[0x13]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3d390,0x5,_0x56ec87[0x14]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x47cc58,0x9,_0x56ec87[0x15]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x43f837,0xe,_0x56ec87[0x16]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x3c194e,0x14,_0x56ec87[0x17]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x36f1a9,0x5,_0x56ec87[0x18]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x20de34,0x9,_0x56ec87[0x19]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x99dd13,0xe,_0x56ec87[0x1a]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0xfdb6a2,0x14,_0x56ec87[0x1b]),_0x35afb6=_0x17f952(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x41e668,0x5,_0x56ec87[0x1c]),_0x64b6e1=_0x17f952(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x1be9a1,0x9,_0x56ec87[0x1d]),_0x4b19c2=_0x17f952(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x16fba9,0xe,_0x56ec87[0x1e]),_0x1dc642=_0x17f952(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x29529d,0x14,_0x56ec87[0x1f]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3d390,0x4,_0x56ec87[0x20]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0xfdb6a2,0xb,_0x56ec87[0x21]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x122758,0x10,_0x56ec87[0x22]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x20de34,0x17,_0x56ec87[0x23]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xab57de,0x4,_0x56ec87[0x24]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x3c194e,0xb,_0x56ec87[0x25]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x16fba9,0x10,_0x56ec87[0x26]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x47cc58,0x17,_0x56ec87[0x27]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x41e668,0x4,_0x56ec87[0x28]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x531238,0xb,_0x56ec87[0x29]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x99dd13,0x10,_0x56ec87[0x2a]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x24c537,0x17,_0x56ec87[0x2b]),_0x35afb6=_0x394602(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x36f1a9,0x4,_0x56ec87[0x2c]),_0x64b6e1=_0x394602(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x29529d,0xb,_0x56ec87[0x2d]),_0x4b19c2=_0x394602(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x43f837,0x10,_0x56ec87[0x2e]),_0x1dc642=_0x394602(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1be9a1,0x17,_0x56ec87[0x2f]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x531238,0x6,_0x56ec87[0x30]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x16fba9,0xa,_0x56ec87[0x31]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x20de34,0xf,_0x56ec87[0x32]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x3d390,0x15,_0x56ec87[0x33]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x29529d,0x6,_0x56ec87[0x34]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x99dd13,0xa,_0x56ec87[0x35]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x47cc58,0xf,_0x56ec87[0x36]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0xab57de,0x15,_0x56ec87[0x37]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0xfdb6a2,0x6,_0x56ec87[0x38]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x43f837,0xa,_0x56ec87[0x39]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x24c537,0xf,_0x56ec87[0x3a]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x41e668,0x15,_0x56ec87[0x3b]),_0x35afb6=_0x4f733d(_0x35afb6,_0x1dc642,_0x4b19c2,_0x64b6e1,_0x3c194e,0x6,_0x56ec87[0x3c]),_0x64b6e1=_0x4f733d(_0x64b6e1,_0x35afb6,_0x1dc642,_0x4b19c2,_0x122758,0xa,_0x56ec87[0x3d]),_0x4b19c2=_0x4f733d(_0x4b19c2,_0x64b6e1,_0x35afb6,_0x1dc642,_0x1be9a1,0xf,_0x56ec87[0x3e]),_0x1dc642=_0x4f733d(_0x1dc642,_0x4b19c2,_0x64b6e1,_0x35afb6,_0x36f1a9,0x15,_0x56ec87[0x3f]),_0x395c00[0x0]=_0x395c00[0x0]+_0x35afb6|0x0,_0x395c00[0x1]=_0x395c00[0x1]+_0x1dc642|0x0,_0x395c00[0x2]=_0x395c00[0x2]+_0x4b19c2|0x0,_0x395c00[0x3]=_0x395c00[0x3]+_0x64b6e1|0x0;},'_doFinalize':function(){var _0x405330=_0x349c6f,_0x5156a5=this['_data'],_0x255e33=_0x5156a5['words'],_0x48f3c6=this['_nDataBytes']*0x8,_0x585227=_0x5156a5[_0x405330(0x4a0)]*0x8;_0x255e33[_0x585227>>>0x5]|=0x80<<0x18-_0x585227%0x20;var _0x18b8d8=_0x200520[_0x405330(0x40a)](_0x48f3c6/0x100000000),_0x4c2c37=_0x48f3c6;_0x255e33[(_0x585227+0x40>>>0x9<<0x4)+0xf]=(_0x18b8d8<<0x8|_0x18b8d8>>>0x18)&0xff00ff|(_0x18b8d8<<0x18|_0x18b8d8>>>0x8)&0xff00ff00,_0x255e33[(_0x585227+0x40>>>0x9<<0x4)+0xe]=(_0x4c2c37<<0x8|_0x4c2c37>>>0x18)&0xff00ff|(_0x4c2c37<<0x18|_0x4c2c37>>>0x8)&0xff00ff00,_0x5156a5[_0x405330(0x4a0)]=(_0x255e33[_0x405330(0x489)]+0x1)*0x4,this[_0x405330(0x249)]();for(var _0x2e55d4=this[_0x405330(0x205)],_0x59f34c=_0x2e55d4[_0x405330(0x3cd)],_0x5c681c=0x0;_0x5c681c<0x4;_0x5c681c++){var _0x5c4430=_0x59f34c[_0x5c681c];_0x59f34c[_0x5c681c]=(_0x5c4430<<0x8|_0x5c4430>>>0x18)&0xff00ff|(_0x5c4430<<0x18|_0x5c4430>>>0x8)&0xff00ff00;}return _0x2e55d4;},'clone':function(){var _0x3bae61=_0x349c6f,_0x5aa930=_0xde3e9[_0x3bae61(0x3da)][_0x3bae61(0x3cc)](this);return _0x5aa930[_0x3bae61(0x205)]=this[_0x3bae61(0x205)]['clone'](),_0x5aa930;}});function _0x4b4abe(_0x5c7afb,_0x430f78,_0x3bd57a,_0x4d066c,_0x2db200,_0x5e8dbf,_0x580b8b){var _0x298c88=_0x5c7afb+(_0x430f78&_0x3bd57a|~_0x430f78&_0x4d066c)+_0x2db200+_0x580b8b;return(_0x298c88<<_0x5e8dbf|_0x298c88>>>0x20-_0x5e8dbf)+_0x430f78;}function _0x17f952(_0x2702b2,_0x489520,_0x16a576,_0x46c4a9,_0x1d558b,_0x2058d7,_0x4e1515){var _0x139ee8=_0x2702b2+(_0x489520&_0x46c4a9|_0x16a576&~_0x46c4a9)+_0x1d558b+_0x4e1515;return(_0x139ee8<<_0x2058d7|_0x139ee8>>>0x20-_0x2058d7)+_0x489520;}function _0x394602(_0x198abb,_0x3c8e3f,_0x2ae4df,_0x449afb,_0x34ec16,_0x3f77b7,_0x2435a0){var _0x440ccc=_0x198abb+(_0x3c8e3f^_0x2ae4df^_0x449afb)+_0x34ec16+_0x2435a0;return(_0x440ccc<<_0x3f77b7|_0x440ccc>>>0x20-_0x3f77b7)+_0x3c8e3f;}function _0x4f733d(_0x59f386,_0x2efd10,_0xa23bbf,_0x10201a,_0x58735d,_0x4a8122,_0xff8d88){var _0x2fcd63=_0x59f386+(_0xa23bbf^(_0x2efd10|~_0x10201a))+_0x58735d+_0xff8d88;return(_0x2fcd63<<_0x4a8122|_0x2fcd63>>>0x20-_0x4a8122)+_0x2efd10;}_0x52b0aa['MD5']=_0xde3e9['_createHelper'](_0x1a150a),_0x52b0aa[_0x349c6f(0x4ad)]=_0xde3e9['_createHmacHelper'](_0x1a150a);}(Math),_0x4eb926['MD5'];}));}(Ke)),Ke[_0x3ee8be(0x35a)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0xccc328(0x35a)],ei;function Rs(){var _0x332217=_0xccc328;return ei||(ei=0x1,function(_0xef72ce,_0x58ff5e){(function(_0x331388,_0x19d7df){_0xef72ce['exports']=_0x19d7df(ie());}(Cs,function(_0x2b01a1){var _0x35a8b5=_0x4dde;return(function(){var _0x3d8479=_0x4dde,_0x309a06=_0x2b01a1,_0x3a605f=_0x309a06['lib'],_0x444e8d=_0x3a605f[_0x3d8479(0x35d)],_0xa1639c=_0x3a605f[_0x3d8479(0x3df)],_0x5f36e3=_0x309a06[_0x3d8479(0x216)],_0x5bdf56=[],_0xbfe3a1=_0x5f36e3['SHA1']=_0xa1639c[_0x3d8479(0x46e)]({'_doReset':function(){this['_hash']=new _0x444e8d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2db3d3,_0x21c959){var _0x2fbdd9=_0x3d8479;for(var _0x4ccf8d=this[_0x2fbdd9(0x205)][_0x2fbdd9(0x3cd)],_0x1d16df=_0x4ccf8d[0x0],_0x124854=_0x4ccf8d[0x1],_0x28f344=_0x4ccf8d[0x2],_0x534104=_0x4ccf8d[0x3],_0x2acf50=_0x4ccf8d[0x4],_0x20fbad=0x0;_0x20fbad<0x50;_0x20fbad++){if(_0x20fbad<0x10)_0x5bdf56[_0x20fbad]=_0x2db3d3[_0x21c959+_0x20fbad]|0x0;else{var _0x38f30d=_0x5bdf56[_0x20fbad-0x3]^_0x5bdf56[_0x20fbad-0x8]^_0x5bdf56[_0x20fbad-0xe]^_0x5bdf56[_0x20fbad-0x10];_0x5bdf56[_0x20fbad]=_0x38f30d<<0x1|_0x38f30d>>>0x1f;}var _0x7c8b93=(_0x1d16df<<0x5|_0x1d16df>>>0x1b)+_0x2acf50+_0x5bdf56[_0x20fbad];_0x20fbad<0x14?_0x7c8b93+=(_0x124854&_0x28f344|~_0x124854&_0x534104)+0x5a827999:_0x20fbad<0x28?_0x7c8b93+=(_0x124854^_0x28f344^_0x534104)+0x6ed9eba1:_0x20fbad<0x3c?_0x7c8b93+=(_0x124854&_0x28f344|_0x124854&_0x534104|_0x28f344&_0x534104)-0x70e44324:_0x7c8b93+=(_0x124854^_0x28f344^_0x534104)-0x359d3e2a,_0x2acf50=_0x534104,_0x534104=_0x28f344,_0x28f344=_0x124854<<0x1e|_0x124854>>>0x2,_0x124854=_0x1d16df,_0x1d16df=_0x7c8b93;}_0x4ccf8d[0x0]=_0x4ccf8d[0x0]+_0x1d16df|0x0,_0x4ccf8d[0x1]=_0x4ccf8d[0x1]+_0x124854|0x0,_0x4ccf8d[0x2]=_0x4ccf8d[0x2]+_0x28f344|0x0,_0x4ccf8d[0x3]=_0x4ccf8d[0x3]+_0x534104|0x0,_0x4ccf8d[0x4]=_0x4ccf8d[0x4]+_0x2acf50|0x0;},'_doFinalize':function(){var _0x3bfca6=_0x3d8479,_0x3ab377=this[_0x3bfca6(0x1ab)],_0x34da04=_0x3ab377['words'],_0x4c433e=this['_nDataBytes']*0x8,_0x41cbc3=_0x3ab377[_0x3bfca6(0x4a0)]*0x8;return _0x34da04[_0x41cbc3>>>0x5]|=0x80<<0x18-_0x41cbc3%0x20,_0x34da04[(_0x41cbc3+0x40>>>0x9<<0x4)+0xe]=Math[_0x3bfca6(0x40a)](_0x4c433e/0x100000000),_0x34da04[(_0x41cbc3+0x40>>>0x9<<0x4)+0xf]=_0x4c433e,_0x3ab377[_0x3bfca6(0x4a0)]=_0x34da04[_0x3bfca6(0x489)]*0x4,this[_0x3bfca6(0x249)](),this[_0x3bfca6(0x205)];},'clone':function(){var _0x385b8b=_0x3d8479,_0x38b4ba=_0xa1639c['clone'][_0x385b8b(0x3cc)](this);return _0x38b4ba[_0x385b8b(0x205)]=this[_0x385b8b(0x205)]['clone'](),_0x38b4ba;}});_0x309a06[_0x3d8479(0x41a)]=_0xa1639c[_0x3d8479(0x415)](_0xbfe3a1),_0x309a06[_0x3d8479(0x312)]=_0xa1639c[_0x3d8479(0x492)](_0xbfe3a1);}()),_0x2b01a1[_0x35a8b5(0x41a)];}));}(qe)),qe[_0x332217(0x35a)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){return ti||(ti=0x1,function(_0x11c465,_0x550099){(function(_0x440874,_0x512987){_0x11c465['exports']=_0x512987(ie());}(bs,function(_0x58bfb9){(function(){var _0x116980=_0x4dde,_0x56804d=_0x58bfb9,_0x2ea500=_0x56804d['lib'],_0x17c952=_0x2ea500[_0x116980(0x44a)],_0x57f94f=_0x56804d[_0x116980(0x2b5)],_0x177e86=_0x57f94f['Utf8'],_0x15bdb0=_0x56804d['algo'];_0x15bdb0[_0x116980(0x1b0)]=_0x17c952[_0x116980(0x46e)]({'init':function(_0x225f3b,_0x1e77d9){var _0xce4c10=_0x116980;_0x225f3b=this[_0xce4c10(0x262)]=new _0x225f3b[(_0xce4c10(0x371))](),typeof _0x1e77d9==_0xce4c10(0x406)&&(_0x1e77d9=_0x177e86[_0xce4c10(0x3ec)](_0x1e77d9));var _0x9d6bda=_0x225f3b['blockSize'],_0x5b51ff=_0x9d6bda*0x4;_0x1e77d9[_0xce4c10(0x4a0)]>_0x5b51ff&&(_0x1e77d9=_0x225f3b[_0xce4c10(0x23f)](_0x1e77d9)),_0x1e77d9[_0xce4c10(0x1eb)]();for(var _0x2e75aa=this[_0xce4c10(0x237)]=_0x1e77d9[_0xce4c10(0x3da)](),_0x1058a0=this[_0xce4c10(0x1a3)]=_0x1e77d9['clone'](),_0x3e038e=_0x2e75aa[_0xce4c10(0x3cd)],_0x345c46=_0x1058a0[_0xce4c10(0x3cd)],_0x377064=0x0;_0x377064<_0x9d6bda;_0x377064++)_0x3e038e[_0x377064]^=0x5c5c5c5c,_0x345c46[_0x377064]^=0x36363636;_0x2e75aa[_0xce4c10(0x4a0)]=_0x1058a0[_0xce4c10(0x4a0)]=_0x5b51ff,this[_0xce4c10(0x3dc)]();},'reset':function(){var _0x1de0a9=_0x116980,_0x3b0ce5=this[_0x1de0a9(0x262)];_0x3b0ce5[_0x1de0a9(0x3dc)](),_0x3b0ce5[_0x1de0a9(0x357)](this[_0x1de0a9(0x1a3)]);},'update':function(_0x3ed415){var _0x4eae5e=_0x116980;return this[_0x4eae5e(0x262)][_0x4eae5e(0x357)](_0x3ed415),this;},'finalize':function(_0x349997){var _0x282936=_0x116980,_0x590ec5=this[_0x282936(0x262)],_0x5d4459=_0x590ec5[_0x282936(0x23f)](_0x349997);_0x590ec5[_0x282936(0x3dc)]();var _0x339477=_0x590ec5[_0x282936(0x23f)](this[_0x282936(0x237)][_0x282936(0x3da)]()[_0x282936(0x33f)](_0x5d4459));return _0x339477;}});}());}));}(ze)),ze['exports'];}var ys=Ye[_0xccc328(0x35a)],ii;function Ui(){var _0x486a95=_0xccc328;return ii||(ii=0x1,function(_0x60db8d,_0x5831d3){(function(_0x3c45d5,_0x4365a5,_0x4454f0){var _0x3b4b5e=_0x4dde;_0x60db8d[_0x3b4b5e(0x35a)]=_0x4365a5(ie(),Rs(),Os());}(ys,function(_0x59d8d6){return(function(){var _0x354708=_0x4dde,_0x40c06d=_0x59d8d6,_0x21ff31=_0x40c06d[_0x354708(0x34c)],_0x59d672=_0x21ff31['Base'],_0x50a01d=_0x21ff31[_0x354708(0x35d)],_0x77c669=_0x40c06d[_0x354708(0x216)],_0x5e8da7=_0x77c669[_0x354708(0x233)],_0x1ca0de=_0x77c669[_0x354708(0x36f)]=_0x59d672[_0x354708(0x46e)]({'cfg':_0x59d672[_0x354708(0x46e)]({'keySize':0x80/0x20,'hasher':_0x5e8da7,'iterations':0x1}),'init':function(_0x95e15c){var _0x507dee=_0x354708;this[_0x507dee(0x38e)]=this['cfg']['extend'](_0x95e15c);},'compute':function(_0xfcb723,_0x13a7a6){var _0x374628=_0x354708;for(var _0x34fe21,_0x20484d=this[_0x374628(0x38e)],_0x2b5843=_0x20484d[_0x374628(0x2da)][_0x374628(0x34b)](),_0x5f13f6=_0x50a01d[_0x374628(0x34b)](),_0x4fecfa=_0x5f13f6[_0x374628(0x3cd)],_0x1ed847=_0x20484d[_0x374628(0x2b9)],_0x3b8358=_0x20484d['iterations'];_0x4fecfa[_0x374628(0x489)]<_0x1ed847;){_0x34fe21&&_0x2b5843[_0x374628(0x357)](_0x34fe21),_0x34fe21=_0x2b5843[_0x374628(0x357)](_0xfcb723)['finalize'](_0x13a7a6),_0x2b5843[_0x374628(0x3dc)]();for(var _0x343996=0x1;_0x343996<_0x3b8358;_0x343996++)_0x34fe21=_0x2b5843['finalize'](_0x34fe21),_0x2b5843['reset']();_0x5f13f6[_0x374628(0x33f)](_0x34fe21);}return _0x5f13f6[_0x374628(0x4a0)]=_0x1ed847*0x4,_0x5f13f6;}});_0x40c06d[_0x354708(0x36f)]=function(_0x1d09a7,_0x379731,_0x1fd5c5){var _0x181adc=_0x354708;return _0x1ca0de[_0x181adc(0x34b)](_0x1fd5c5)['compute'](_0x1d09a7,_0x379731);};}()),_0x59d8d6['EvpKDF'];}));}(Ye)),Ye[_0x486a95(0x35a)];}var Je={'exports':{}},Ns=Je[_0xccc328(0x35a)],ni;function Ai(){var _0x2a0e81=_0xccc328;return ni||(ni=0x1,function(_0x4e2a63,_0x16714a){(function(_0x2fe0b7,_0x5e958f,_0x54301e){var _0x442f85=_0x4dde;_0x4e2a63[_0x442f85(0x35a)]=_0x5e958f(ie(),Ui());}(Ns,function(_0x131c03){var _0x4e9326=_0x4dde;_0x131c03[_0x4e9326(0x34c)][_0x4e9326(0x410)]||function(_0x53d4ae){var _0x4fbeb0=_0x4e9326,_0x171e38=_0x131c03,_0x2c413d=_0x171e38['lib'],_0x3e683b=_0x2c413d[_0x4fbeb0(0x44a)],_0xe1c1bb=_0x2c413d[_0x4fbeb0(0x35d)],_0x2dff11=_0x2c413d['BufferedBlockAlgorithm'],_0x407f2e=_0x171e38['enc'];_0x407f2e[_0x4fbeb0(0x1b8)];var _0x29cac8=_0x407f2e[_0x4fbeb0(0x48f)],_0x4a971f=_0x171e38[_0x4fbeb0(0x216)],_0x34d201=_0x4a971f[_0x4fbeb0(0x36f)],_0x235819=_0x2c413d['Cipher']=_0x2dff11['extend']({'cfg':_0x3e683b[_0x4fbeb0(0x46e)](),'createEncryptor':function(_0x4f9383,_0x42dc7a){var _0x3cf09d=_0x4fbeb0;return this[_0x3cf09d(0x34b)](this[_0x3cf09d(0x3c9)],_0x4f9383,_0x42dc7a);},'createDecryptor':function(_0x4fa16b,_0x727f1e){var _0x391f96=_0x4fbeb0;return this[_0x391f96(0x34b)](this['_DEC_XFORM_MODE'],_0x4fa16b,_0x727f1e);},'init':function(_0x2fc46b,_0x40a708,_0x48adce){var _0x50b934=_0x4fbeb0;this['cfg']=this['cfg'][_0x50b934(0x46e)](_0x48adce),this[_0x50b934(0x411)]=_0x2fc46b,this['_key']=_0x40a708,this['reset']();},'reset':function(){var _0x3840eb=_0x4fbeb0;_0x2dff11[_0x3840eb(0x3dc)][_0x3840eb(0x3cc)](this),this[_0x3840eb(0x1c4)]();},'process':function(_0x25e1fc){return this['_append'](_0x25e1fc),this['_process']();},'finalize':function(_0x1edff1){var _0x409819=_0x4fbeb0;_0x1edff1&&this[_0x409819(0x20d)](_0x1edff1);var _0x593120=this['_doFinalize']();return _0x593120;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xfa5c72(_0x4c74a2){var _0x182204=_0x4dde;return typeof _0x4c74a2==_0x182204(0x406)?_0x307d6a:_0x227745;}return function(_0x118032){return{'encrypt':function(_0x32c9e9,_0x35cafe,_0x50210c){var _0x33dccb=_0x4dde;return _0xfa5c72(_0x35cafe)[_0x33dccb(0x389)](_0x118032,_0x32c9e9,_0x35cafe,_0x50210c);},'decrypt':function(_0x3248db,_0x50beff,_0x534e18){var _0x553574=_0x4dde;return _0xfa5c72(_0x50beff)[_0x553574(0x2cc)](_0x118032,_0x3248db,_0x50beff,_0x534e18);}};};}())});_0x2c413d[_0x4fbeb0(0x3ed)]=_0x235819[_0x4fbeb0(0x46e)]({'_doFinalize':function(){var _0x586b44=_0x4fbeb0,_0x41880f=this[_0x586b44(0x249)](!0x0);return _0x41880f;},'blockSize':0x1});var _0x12be45=_0x171e38['mode']={},_0x456c7d=_0x2c413d[_0x4fbeb0(0x278)]=_0x3e683b[_0x4fbeb0(0x46e)]({'createEncryptor':function(_0x12f64b,_0x52d64a){var _0x3808a6=_0x4fbeb0;return this['Encryptor'][_0x3808a6(0x34b)](_0x12f64b,_0x52d64a);},'createDecryptor':function(_0xe132f9,_0x2de3a1){var _0x1ac082=_0x4fbeb0;return this['Decryptor'][_0x1ac082(0x34b)](_0xe132f9,_0x2de3a1);},'init':function(_0xd3bcb,_0x3551d6){var _0x33e9fa=_0x4fbeb0;this['_cipher']=_0xd3bcb,this[_0x33e9fa(0x2e1)]=_0x3551d6;}}),_0x56e289=_0x12be45[_0x4fbeb0(0x2a7)]=(function(){var _0x51c2c2=_0x4fbeb0,_0x565454=_0x456c7d[_0x51c2c2(0x46e)]();_0x565454[_0x51c2c2(0x3ef)]=_0x565454[_0x51c2c2(0x46e)]({'processBlock':function(_0x1618a0,_0x2a0ef5){var _0x1977aa=_0x51c2c2,_0x4b02e3=this[_0x1977aa(0x385)],_0x300a84=_0x4b02e3[_0x1977aa(0x1c7)];_0x4ec5e3['call'](this,_0x1618a0,_0x2a0ef5,_0x300a84),_0x4b02e3[_0x1977aa(0x1f4)](_0x1618a0,_0x2a0ef5),this['_prevBlock']=_0x1618a0['slice'](_0x2a0ef5,_0x2a0ef5+_0x300a84);}}),_0x565454['Decryptor']=_0x565454[_0x51c2c2(0x46e)]({'processBlock':function(_0x205f83,_0x259c3e){var _0x3b4d53=_0x51c2c2,_0x546f1e=this['_cipher'],_0x476b75=_0x546f1e['blockSize'],_0x48fe92=_0x205f83[_0x3b4d53(0x46a)](_0x259c3e,_0x259c3e+_0x476b75);_0x546f1e[_0x3b4d53(0x310)](_0x205f83,_0x259c3e),_0x4ec5e3['call'](this,_0x205f83,_0x259c3e,_0x476b75),this[_0x3b4d53(0x443)]=_0x48fe92;}});function _0x4ec5e3(_0x55acd5,_0x3c5979,_0x2a33da){var _0x194738=_0x51c2c2,_0x4414ac,_0x299b2e=this[_0x194738(0x2e1)];_0x299b2e?(_0x4414ac=_0x299b2e,this[_0x194738(0x2e1)]=_0x53d4ae):_0x4414ac=this[_0x194738(0x443)];for(var _0x468081=0x0;_0x468081<_0x2a33da;_0x468081++)_0x55acd5[_0x3c5979+_0x468081]^=_0x4414ac[_0x468081];}return _0x565454;}()),_0x2ee815=_0x171e38[_0x4fbeb0(0x423)]={},_0x15a198=_0x2ee815[_0x4fbeb0(0x438)]={'pad':function(_0x16341d,_0x12d6b7){var _0x653c12=_0x4fbeb0;for(var _0x225680=_0x12d6b7*0x4,_0x28a8b4=_0x225680-_0x16341d[_0x653c12(0x4a0)]%_0x225680,_0x554dff=_0x28a8b4<<0x18|_0x28a8b4<<0x10|_0x28a8b4<<0x8|_0x28a8b4,_0x1d723b=[],_0x20902d=0x0;_0x20902d<_0x28a8b4;_0x20902d+=0x4)_0x1d723b[_0x653c12(0x26b)](_0x554dff);var _0x5e85d8=_0xe1c1bb['create'](_0x1d723b,_0x28a8b4);_0x16341d['concat'](_0x5e85d8);},'unpad':function(_0x1c4d14){var _0x69ac3f=_0x4fbeb0,_0x5741d0=_0x1c4d14[_0x69ac3f(0x3cd)][_0x1c4d14[_0x69ac3f(0x4a0)]-0x1>>>0x2]&0xff;_0x1c4d14[_0x69ac3f(0x4a0)]-=_0x5741d0;}};_0x2c413d[_0x4fbeb0(0x203)]=_0x235819['extend']({'cfg':_0x235819[_0x4fbeb0(0x38e)][_0x4fbeb0(0x46e)]({'mode':_0x56e289,'padding':_0x15a198}),'reset':function(){var _0x398edf=_0x4fbeb0,_0x1fbdf0;_0x235819[_0x398edf(0x3dc)][_0x398edf(0x3cc)](this);var _0x477dd1=this[_0x398edf(0x38e)],_0x4cdd41=_0x477dd1['iv'],_0x5b2548=_0x477dd1[_0x398edf(0x2b8)];this[_0x398edf(0x411)]==this[_0x398edf(0x3c9)]?_0x1fbdf0=_0x5b2548['createEncryptor']:(_0x1fbdf0=_0x5b2548['createDecryptor'],this['_minBufferSize']=0x1),this[_0x398edf(0x396)]&&this[_0x398edf(0x396)][_0x398edf(0x3c3)]==_0x1fbdf0?this[_0x398edf(0x396)]['init'](this,_0x4cdd41&&_0x4cdd41[_0x398edf(0x3cd)]):(this[_0x398edf(0x396)]=_0x1fbdf0[_0x398edf(0x3cc)](_0x5b2548,this,_0x4cdd41&&_0x4cdd41[_0x398edf(0x3cd)]),this['_mode'][_0x398edf(0x3c3)]=_0x1fbdf0);},'_doProcessBlock':function(_0x44d5a9,_0x2c3157){var _0x2bd7ae=_0x4fbeb0;this[_0x2bd7ae(0x396)][_0x2bd7ae(0x27d)](_0x44d5a9,_0x2c3157);},'_doFinalize':function(){var _0x345904=_0x4fbeb0,_0x23c40f,_0x450802=this[_0x345904(0x38e)]['padding'];return this['_xformMode']==this[_0x345904(0x3c9)]?(_0x450802[_0x345904(0x423)](this[_0x345904(0x1ab)],this[_0x345904(0x1c7)]),_0x23c40f=this[_0x345904(0x249)](!0x0)):(_0x23c40f=this[_0x345904(0x249)](!0x0),_0x450802[_0x345904(0x3e1)](_0x23c40f)),_0x23c40f;},'blockSize':0x80/0x20});var _0x527406=_0x2c413d[_0x4fbeb0(0x2eb)]=_0x3e683b[_0x4fbeb0(0x46e)]({'init':function(_0x1435b9){var _0x3fb472=_0x4fbeb0;this[_0x3fb472(0x2f6)](_0x1435b9);},'toString':function(_0x593d43){var _0x4ce7cc=_0x4fbeb0;return(_0x593d43||this['formatter'])[_0x4ce7cc(0x280)](this);}}),_0x3a906d=_0x171e38['format']={},_0x100f89=_0x3a906d[_0x4fbeb0(0x437)]={'stringify':function(_0x31b261){var _0x1bf0d6=_0x4fbeb0,_0x3e69d5,_0x133d82=_0x31b261[_0x1bf0d6(0x41e)],_0x33b3fc=_0x31b261[_0x1bf0d6(0x49b)];return _0x33b3fc?_0x3e69d5=_0xe1c1bb[_0x1bf0d6(0x34b)]([0x53616c74,0x65645f5f])[_0x1bf0d6(0x33f)](_0x33b3fc)['concat'](_0x133d82):_0x3e69d5=_0x133d82,_0x3e69d5['toString'](_0x29cac8);},'parse':function(_0x24f310){var _0x37d7b1=_0x4fbeb0,_0x2b7a7c,_0x17813c=_0x29cac8[_0x37d7b1(0x3ec)](_0x24f310),_0x25d41b=_0x17813c[_0x37d7b1(0x3cd)];return _0x25d41b[0x0]==0x53616c74&&_0x25d41b[0x1]==0x65645f5f&&(_0x2b7a7c=_0xe1c1bb[_0x37d7b1(0x34b)](_0x25d41b[_0x37d7b1(0x46a)](0x2,0x4)),_0x25d41b[_0x37d7b1(0x1e6)](0x0,0x4),_0x17813c['sigBytes']-=0x10),_0x527406[_0x37d7b1(0x34b)]({'ciphertext':_0x17813c,'salt':_0x2b7a7c});}},_0x227745=_0x2c413d[_0x4fbeb0(0x33d)]=_0x3e683b['extend']({'cfg':_0x3e683b[_0x4fbeb0(0x46e)]({'format':_0x100f89}),'encrypt':function(_0x2d7c2,_0x3a9d85,_0x512424,_0x230a99){var _0x380455=_0x4fbeb0;_0x230a99=this['cfg'][_0x380455(0x46e)](_0x230a99);var _0x3fb9d0=_0x2d7c2[_0x380455(0x368)](_0x512424,_0x230a99),_0x499301=_0x3fb9d0[_0x380455(0x23f)](_0x3a9d85),_0x399b73=_0x3fb9d0[_0x380455(0x38e)];return _0x527406[_0x380455(0x34b)]({'ciphertext':_0x499301,'key':_0x512424,'iv':_0x399b73['iv'],'algorithm':_0x2d7c2,'mode':_0x399b73[_0x380455(0x2b8)],'padding':_0x399b73[_0x380455(0x31e)],'blockSize':_0x2d7c2[_0x380455(0x1c7)],'formatter':_0x230a99['format']});},'decrypt':function(_0x503f0d,_0x2c520c,_0xb2ae01,_0x49e859){var _0x119eab=_0x4fbeb0;_0x49e859=this[_0x119eab(0x38e)]['extend'](_0x49e859),_0x2c520c=this['_parse'](_0x2c520c,_0x49e859['format']);var _0x41c289=_0x503f0d[_0x119eab(0x441)](_0xb2ae01,_0x49e859)['finalize'](_0x2c520c['ciphertext']);return _0x41c289;},'_parse':function(_0x3723b5,_0x233705){var _0x2809c9=_0x4fbeb0;return typeof _0x3723b5==_0x2809c9(0x406)?_0x233705[_0x2809c9(0x3ec)](_0x3723b5,this):_0x3723b5;}}),_0x3e3315=_0x171e38['kdf']={},_0x40bfe1=_0x3e3315[_0x4fbeb0(0x437)]={'execute':function(_0x6803d,_0x4d44bb,_0x4fca42,_0xbacc01,_0x455e51){var _0x27f128=_0x4fbeb0;if(_0xbacc01||(_0xbacc01=_0xe1c1bb[_0x27f128(0x473)](0x40/0x8)),_0x455e51)var _0xc97ea1=_0x34d201['create']({'keySize':_0x4d44bb+_0x4fca42,'hasher':_0x455e51})['compute'](_0x6803d,_0xbacc01);else var _0xc97ea1=_0x34d201[_0x27f128(0x34b)]({'keySize':_0x4d44bb+_0x4fca42})['compute'](_0x6803d,_0xbacc01);var _0x329b2a=_0xe1c1bb[_0x27f128(0x34b)](_0xc97ea1['words'][_0x27f128(0x46a)](_0x4d44bb),_0x4fca42*0x4);return _0xc97ea1['sigBytes']=_0x4d44bb*0x4,_0x527406['create']({'key':_0xc97ea1,'iv':_0x329b2a,'salt':_0xbacc01});}},_0x307d6a=_0x2c413d[_0x4fbeb0(0x3b3)]=_0x227745[_0x4fbeb0(0x46e)]({'cfg':_0x227745[_0x4fbeb0(0x38e)]['extend']({'kdf':_0x40bfe1}),'encrypt':function(_0x38f36c,_0x1159e2,_0x425ed7,_0x11a4e8){var _0x40becd=_0x4fbeb0;_0x11a4e8=this[_0x40becd(0x38e)][_0x40becd(0x46e)](_0x11a4e8);var _0x4fc186=_0x11a4e8[_0x40becd(0x26c)][_0x40becd(0x264)](_0x425ed7,_0x38f36c[_0x40becd(0x2b9)],_0x38f36c[_0x40becd(0x2a8)],_0x11a4e8['salt'],_0x11a4e8[_0x40becd(0x2da)]);_0x11a4e8['iv']=_0x4fc186['iv'];var _0x1b2960=_0x227745[_0x40becd(0x389)][_0x40becd(0x3cc)](this,_0x38f36c,_0x1159e2,_0x4fc186[_0x40becd(0x420)],_0x11a4e8);return _0x1b2960[_0x40becd(0x2f6)](_0x4fc186),_0x1b2960;},'decrypt':function(_0x2bfbe4,_0xb815b2,_0x39f1a3,_0x4353dd){var _0x53f68e=_0x4fbeb0;_0x4353dd=this[_0x53f68e(0x38e)][_0x53f68e(0x46e)](_0x4353dd),_0xb815b2=this['_parse'](_0xb815b2,_0x4353dd[_0x53f68e(0x289)]);var _0x29cf2e=_0x4353dd[_0x53f68e(0x26c)][_0x53f68e(0x264)](_0x39f1a3,_0x2bfbe4[_0x53f68e(0x2b9)],_0x2bfbe4[_0x53f68e(0x2a8)],_0xb815b2[_0x53f68e(0x49b)],_0x4353dd[_0x53f68e(0x2da)]);_0x4353dd['iv']=_0x29cf2e['iv'];var _0x15d921=_0x227745[_0x53f68e(0x2cc)][_0x53f68e(0x3cc)](this,_0x2bfbe4,_0xb815b2,_0x29cf2e[_0x53f68e(0x420)],_0x4353dd);return _0x15d921;}});}();}));}(Je)),Je[_0x2a0e81(0x35a)];}var Ds=Ve[_0xccc328(0x35a)],si;function Us(){var _0x4b6b1a=_0xccc328;return si||(si=0x1,function(_0x4af3a7,_0x56f7a2){(function(_0x4e0f66,_0x9b3c7c,_0x256518){var _0x5de677=_0x4dde;_0x4af3a7[_0x5de677(0x35a)]=_0x9b3c7c(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x13b7b0){var _0x7b8070=_0x4dde;return(function(){var _0x28a1fd=_0x4dde,_0x2ebb98=_0x13b7b0,_0x440ff2=_0x2ebb98[_0x28a1fd(0x34c)],_0x52eda0=_0x440ff2[_0x28a1fd(0x203)],_0x2fecb7=_0x2ebb98[_0x28a1fd(0x216)],_0x550d8c=[],_0x175ff5=[],_0x452761=[],_0x27724c=[],_0x2e9043=[],_0x304d01=[],_0x4f5abd=[],_0x22f3ae=[],_0x2d29b4=[],_0x843eb9=[];(function(){for(var _0x57703d=[],_0x46c217=0x0;_0x46c217<0x100;_0x46c217++)_0x46c217<0x80?_0x57703d[_0x46c217]=_0x46c217<<0x1:_0x57703d[_0x46c217]=_0x46c217<<0x1^0x11b;for(var _0x17bcd1=0x0,_0x5bf3b0=0x0,_0x46c217=0x0;_0x46c217<0x100;_0x46c217++){var _0x51e85c=_0x5bf3b0^_0x5bf3b0<<0x1^_0x5bf3b0<<0x2^_0x5bf3b0<<0x3^_0x5bf3b0<<0x4;_0x51e85c=_0x51e85c>>>0x8^_0x51e85c&0xff^0x63,_0x550d8c[_0x17bcd1]=_0x51e85c,_0x175ff5[_0x51e85c]=_0x17bcd1;var _0x1b9043=_0x57703d[_0x17bcd1],_0x3e4bc2=_0x57703d[_0x1b9043],_0x32df12=_0x57703d[_0x3e4bc2],_0x547d22=_0x57703d[_0x51e85c]*0x101^_0x51e85c*0x1010100;_0x452761[_0x17bcd1]=_0x547d22<<0x18|_0x547d22>>>0x8,_0x27724c[_0x17bcd1]=_0x547d22<<0x10|_0x547d22>>>0x10,_0x2e9043[_0x17bcd1]=_0x547d22<<0x8|_0x547d22>>>0x18,_0x304d01[_0x17bcd1]=_0x547d22;var _0x547d22=_0x32df12*0x1010101^_0x3e4bc2*0x10001^_0x1b9043*0x101^_0x17bcd1*0x1010100;_0x4f5abd[_0x51e85c]=_0x547d22<<0x18|_0x547d22>>>0x8,_0x22f3ae[_0x51e85c]=_0x547d22<<0x10|_0x547d22>>>0x10,_0x2d29b4[_0x51e85c]=_0x547d22<<0x8|_0x547d22>>>0x18,_0x843eb9[_0x51e85c]=_0x547d22,_0x17bcd1?(_0x17bcd1=_0x1b9043^_0x57703d[_0x57703d[_0x57703d[_0x32df12^_0x1b9043]]],_0x5bf3b0^=_0x57703d[_0x57703d[_0x5bf3b0]]):_0x17bcd1=_0x5bf3b0=0x1;}}());var _0x363bc8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x966d6e=_0x2fecb7['AES']=_0x52eda0[_0x28a1fd(0x46e)]({'_doReset':function(){var _0x5e87f9=_0x28a1fd,_0x26e243;if(!(this[_0x5e87f9(0x457)]&&this['_keyPriorReset']===this['_key'])){for(var _0x3ea98e=this[_0x5e87f9(0x383)]=this[_0x5e87f9(0x494)],_0x201ebd=_0x3ea98e[_0x5e87f9(0x3cd)],_0x662fb9=_0x3ea98e[_0x5e87f9(0x4a0)]/0x4,_0x55ebe4=this[_0x5e87f9(0x457)]=_0x662fb9+0x6,_0x5e2414=(_0x55ebe4+0x1)*0x4,_0x166686=this[_0x5e87f9(0x3f1)]=[],_0x30c814=0x0;_0x30c814<_0x5e2414;_0x30c814++)_0x30c814<_0x662fb9?_0x166686[_0x30c814]=_0x201ebd[_0x30c814]:(_0x26e243=_0x166686[_0x30c814-0x1],_0x30c814%_0x662fb9?_0x662fb9>0x6&&_0x30c814%_0x662fb9==0x4&&(_0x26e243=_0x550d8c[_0x26e243>>>0x18]<<0x18|_0x550d8c[_0x26e243>>>0x10&0xff]<<0x10|_0x550d8c[_0x26e243>>>0x8&0xff]<<0x8|_0x550d8c[_0x26e243&0xff]):(_0x26e243=_0x26e243<<0x8|_0x26e243>>>0x18,_0x26e243=_0x550d8c[_0x26e243>>>0x18]<<0x18|_0x550d8c[_0x26e243>>>0x10&0xff]<<0x10|_0x550d8c[_0x26e243>>>0x8&0xff]<<0x8|_0x550d8c[_0x26e243&0xff],_0x26e243^=_0x363bc8[_0x30c814/_0x662fb9|0x0]<<0x18),_0x166686[_0x30c814]=_0x166686[_0x30c814-_0x662fb9]^_0x26e243);for(var _0x102962=this['_invKeySchedule']=[],_0x77aa0e=0x0;_0x77aa0e<_0x5e2414;_0x77aa0e++){var _0x30c814=_0x5e2414-_0x77aa0e;if(_0x77aa0e%0x4)var _0x26e243=_0x166686[_0x30c814];else var _0x26e243=_0x166686[_0x30c814-0x4];_0x77aa0e<0x4||_0x30c814<=0x4?_0x102962[_0x77aa0e]=_0x26e243:_0x102962[_0x77aa0e]=_0x4f5abd[_0x550d8c[_0x26e243>>>0x18]]^_0x22f3ae[_0x550d8c[_0x26e243>>>0x10&0xff]]^_0x2d29b4[_0x550d8c[_0x26e243>>>0x8&0xff]]^_0x843eb9[_0x550d8c[_0x26e243&0xff]];}}},'encryptBlock':function(_0x587f25,_0x2e23d2){var _0x36a9dc=_0x28a1fd;this[_0x36a9dc(0x1f1)](_0x587f25,_0x2e23d2,this['_keySchedule'],_0x452761,_0x27724c,_0x2e9043,_0x304d01,_0x550d8c);},'decryptBlock':function(_0x3a1c6a,_0x609b79){var _0x4b984b=_0x3a1c6a[_0x609b79+0x1];_0x3a1c6a[_0x609b79+0x1]=_0x3a1c6a[_0x609b79+0x3],_0x3a1c6a[_0x609b79+0x3]=_0x4b984b,this['_doCryptBlock'](_0x3a1c6a,_0x609b79,this['_invKeySchedule'],_0x4f5abd,_0x22f3ae,_0x2d29b4,_0x843eb9,_0x175ff5);var _0x4b984b=_0x3a1c6a[_0x609b79+0x1];_0x3a1c6a[_0x609b79+0x1]=_0x3a1c6a[_0x609b79+0x3],_0x3a1c6a[_0x609b79+0x3]=_0x4b984b;},'_doCryptBlock':function(_0x544589,_0x4cb685,_0x14a82e,_0x449a71,_0xab5571,_0x159c8b,_0x392eba,_0x4665f8){for(var _0xd42a4a=this['_nRounds'],_0x5d9d17=_0x544589[_0x4cb685]^_0x14a82e[0x0],_0x22b3eb=_0x544589[_0x4cb685+0x1]^_0x14a82e[0x1],_0xc4b66a=_0x544589[_0x4cb685+0x2]^_0x14a82e[0x2],_0x4a9888=_0x544589[_0x4cb685+0x3]^_0x14a82e[0x3],_0x1d0333=0x4,_0x4921b1=0x1;_0x4921b1<_0xd42a4a;_0x4921b1++){var _0x2db1fe=_0x449a71[_0x5d9d17>>>0x18]^_0xab5571[_0x22b3eb>>>0x10&0xff]^_0x159c8b[_0xc4b66a>>>0x8&0xff]^_0x392eba[_0x4a9888&0xff]^_0x14a82e[_0x1d0333++],_0x321f9d=_0x449a71[_0x22b3eb>>>0x18]^_0xab5571[_0xc4b66a>>>0x10&0xff]^_0x159c8b[_0x4a9888>>>0x8&0xff]^_0x392eba[_0x5d9d17&0xff]^_0x14a82e[_0x1d0333++],_0x6d5d83=_0x449a71[_0xc4b66a>>>0x18]^_0xab5571[_0x4a9888>>>0x10&0xff]^_0x159c8b[_0x5d9d17>>>0x8&0xff]^_0x392eba[_0x22b3eb&0xff]^_0x14a82e[_0x1d0333++],_0x88da76=_0x449a71[_0x4a9888>>>0x18]^_0xab5571[_0x5d9d17>>>0x10&0xff]^_0x159c8b[_0x22b3eb>>>0x8&0xff]^_0x392eba[_0xc4b66a&0xff]^_0x14a82e[_0x1d0333++];_0x5d9d17=_0x2db1fe,_0x22b3eb=_0x321f9d,_0xc4b66a=_0x6d5d83,_0x4a9888=_0x88da76;}var _0x2db1fe=(_0x4665f8[_0x5d9d17>>>0x18]<<0x18|_0x4665f8[_0x22b3eb>>>0x10&0xff]<<0x10|_0x4665f8[_0xc4b66a>>>0x8&0xff]<<0x8|_0x4665f8[_0x4a9888&0xff])^_0x14a82e[_0x1d0333++],_0x321f9d=(_0x4665f8[_0x22b3eb>>>0x18]<<0x18|_0x4665f8[_0xc4b66a>>>0x10&0xff]<<0x10|_0x4665f8[_0x4a9888>>>0x8&0xff]<<0x8|_0x4665f8[_0x5d9d17&0xff])^_0x14a82e[_0x1d0333++],_0x6d5d83=(_0x4665f8[_0xc4b66a>>>0x18]<<0x18|_0x4665f8[_0x4a9888>>>0x10&0xff]<<0x10|_0x4665f8[_0x5d9d17>>>0x8&0xff]<<0x8|_0x4665f8[_0x22b3eb&0xff])^_0x14a82e[_0x1d0333++],_0x88da76=(_0x4665f8[_0x4a9888>>>0x18]<<0x18|_0x4665f8[_0x5d9d17>>>0x10&0xff]<<0x10|_0x4665f8[_0x22b3eb>>>0x8&0xff]<<0x8|_0x4665f8[_0xc4b66a&0xff])^_0x14a82e[_0x1d0333++];_0x544589[_0x4cb685]=_0x2db1fe,_0x544589[_0x4cb685+0x1]=_0x321f9d,_0x544589[_0x4cb685+0x2]=_0x6d5d83,_0x544589[_0x4cb685+0x3]=_0x88da76;},'keySize':0x100/0x20});_0x2ebb98[_0x28a1fd(0x3c8)]=_0x52eda0[_0x28a1fd(0x415)](_0x966d6e);}()),_0x13b7b0[_0x7b8070(0x3c8)];}));}(Ve)),Ve[_0x4b6b1a(0x35a)];}var As=Us();const ws=He(As);var Ps=Di();function _0x4dde(_0xaecf86,_0x13bce0){var _0x58f5d5=_0x58f5();return _0x4dde=function(_0x4dde78,_0xf80deb){_0x4dde78=_0x4dde78-0x1a2;var _0x3e68c=_0x58f5d5[_0x4dde78];return _0x3e68c;},_0x4dde(_0xaecf86,_0x13bce0);}const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0xccc328(0x35a)],ai;function xs(){return ai||(ai=0x1,function(_0x59d7fb,_0x108fce){(function(_0x20aede,_0x53231e){var _0x3f67dc=_0x4dde;_0x59d7fb[_0x3f67dc(0x35a)]=_0x53231e(ie());}(Ls,function(_0x4feefa){var _0x2b9fca=_0x4dde;return _0x4feefa[_0x2b9fca(0x2b5)][_0x2b9fca(0x1b8)];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0xccc328(0x35a)],oi;function Hs(){var _0x111831=_0xccc328;return oi||(oi=0x1,function(_0x1df754,_0x1544b4){(function(_0x3aaf02,_0x33a417){_0x1df754['exports']=_0x33a417(ie());}($s,function(_0x415d97){var _0x4b56c1=_0x4dde;return(function(){var _0x131cd6=_0x4dde;if(typeof ArrayBuffer=='function'){var _0x5b31b5=_0x415d97,_0x5bb972=_0x5b31b5[_0x131cd6(0x34c)],_0xb1dbf9=_0x5bb972[_0x131cd6(0x35d)],_0x95830e=_0xb1dbf9[_0x131cd6(0x371)],_0x5a312c=_0xb1dbf9[_0x131cd6(0x371)]=function(_0xf219d6){var _0x2aa840=_0x131cd6;if(_0xf219d6 instanceof ArrayBuffer&&(_0xf219d6=new Uint8Array(_0xf219d6)),(_0xf219d6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf219d6 instanceof Uint8ClampedArray||_0xf219d6 instanceof Int16Array||_0xf219d6 instanceof Uint16Array||_0xf219d6 instanceof Int32Array||_0xf219d6 instanceof Uint32Array||_0xf219d6 instanceof Float32Array||_0xf219d6 instanceof Float64Array)&&(_0xf219d6=new Uint8Array(_0xf219d6[_0x2aa840(0x356)],_0xf219d6[_0x2aa840(0x3a1)],_0xf219d6[_0x2aa840(0x28e)])),_0xf219d6 instanceof Uint8Array){for(var _0x23270c=_0xf219d6['byteLength'],_0x40050f=[],_0x1eab22=0x0;_0x1eab22<_0x23270c;_0x1eab22++)_0x40050f[_0x1eab22>>>0x2]|=_0xf219d6[_0x1eab22]<<0x18-_0x1eab22%0x4*0x8;_0x95830e[_0x2aa840(0x3cc)](this,_0x40050f,_0x23270c);}else _0x95830e[_0x2aa840(0x352)](this,arguments);};_0x5a312c['prototype']=_0xb1dbf9;}}()),_0x415d97[_0x4b56c1(0x34c)][_0x4b56c1(0x35d)];}));}(Ze)),Ze[_0x111831(0x35a)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0xccc328(0x35a)],ci;function Vs(){return ci||(ci=0x1,function(_0x1eedd4,_0x1becfd){(function(_0x119473,_0x407a0f,_0xb5f154){var _0x4f1ff4=_0x4dde;_0x1eedd4[_0x4f1ff4(0x35a)]=_0x407a0f(ie(),Ai());}(Fs,function(_0x39e4ae){var _0x49cc41=_0x4dde;return _0x39e4ae[_0x49cc41(0x423)][_0x49cc41(0x246)]={'pad':function(){},'unpad':function(){}},_0x39e4ae[_0x49cc41(0x423)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x3c5a53,_0x36b14f){var _0x2ebdb6=_0xccc328;const _0x4a82f3=_0x36b14f-_0x3c5a53['length']%_0x36b14f,_0x4ea2a2=String[_0x2ebdb6(0x4a1)](_0x4a82f3)[_0x2ebdb6(0x3bf)](_0x4a82f3);return _0x3c5a53+_0x4ea2a2;}function Ys(_0x21cf34,_0x2db255){var _0x1999ea=_0xccc328;const _0x40fc1f=js[_0x1999ea(0x473)](0x10),_0x38145a=Ks(_0x21cf34,0x10),_0x3a7d3b=ws[_0x1999ea(0x389)](ks[_0x1999ea(0x3ec)](_0x38145a),ri[_0x1999ea(0x3ec)](_0x2db255),{'iv':_0x40fc1f,'padding':Ws});return _0x40fc1f[_0x1999ea(0x33f)](_0x3a7d3b[_0x1999ea(0x41e)])[_0x1999ea(0x447)](ri);}function qs(){var _0x256edf=_0xccc328;const _0x3161be=_0x4af7ba()['__Key__'];if(_0x3161be){const _0x4c264a={'time':Math[_0x256edf(0x40a)](Date['now']()/0x3e8),'domain':location[_0x256edf(0x302)]};return Ys(JSON[_0x256edf(0x280)](_0x4c264a),_0x3161be);}}var zs=Object[_0xccc328(0x2bf)],Js=(_0x17a5f5,_0x1d0fe5,_0x15553a,_0x5f22e9)=>{for(var _0x34b11c=_0x5f22e9>0x1?void 0x0:_0x5f22e9?zs(_0x1d0fe5,_0x15553a):_0x1d0fe5,_0x2eb446=_0x17a5f5['length']-0x1,_0x550db2;_0x2eb446>=0x0;_0x2eb446--)(_0x550db2=_0x17a5f5[_0x2eb446])&&(_0x34b11c=_0x550db2(_0x34b11c)||_0x34b11c);return _0x34b11c;},Xs=(_0x5cd5b6,_0x39bf52)=>(_0x3d87fb,_0x1335e5)=>_0x39bf52(_0x3d87fb,_0x1335e5,_0x5cd5b6);let at=class{constructor(_0x5c9e85){var _0x5753e4=_0xccc328;this[_0x5753e4(0x3ee)]=_0x5c9e85,this[_0x5753e4(0x35b)]();}[_0xccc328(0x35b)](){var _0x2d4d62=_0xccc328;this[_0x2d4d62(0x3ee)][_0x2d4d62(0x1e4)]({'interceptor':(_0x24eb73,_0x279d4d)=>{var _0x416cfa=_0x2d4d62;const _0x28d4e7=_0x24eb73[_0x416cfa(0x24c)],_0x32612f=qs();return _0x32612f&&_0x28d4e7['set'](_0x416cfa(0x296),_0x32612f),_0x279d4d(_0x24eb73);}});}};at=Js([Xs(0x0,_0x42d086(_0x44834c))],at);var Zs=Object[_0xccc328(0x2bf)],Qs=(_0x911c4d,_0x3a28e7,_0x9fa05d,_0x45a000)=>{var _0x59fd8d=_0xccc328;for(var _0x9c9537=_0x45a000>0x1?void 0x0:_0x45a000?Zs(_0x3a28e7,_0x9fa05d):_0x3a28e7,_0x3eee18=_0x911c4d[_0x59fd8d(0x489)]-0x1,_0x96adbf;_0x3eee18>=0x0;_0x3eee18--)(_0x96adbf=_0x911c4d[_0x3eee18])&&(_0x9c9537=_0x96adbf(_0x9c9537)||_0x9c9537);return _0x9c9537;},mt=(_0x489eca,_0x223587)=>(_0x3fc57a,_0x388838)=>_0x223587(_0x3fc57a,_0x388838,_0x489eca);let bt=class extends _0x694488{constructor(_0x38eeaf,_0x494f15,_0x1e0324){var _0x1c3c02=_0xccc328;super(),N(this,_0x1c3c02(0x1cd),new _0x12344d(null)),N(this,_0x1c3c02(0x24f),this[_0x1c3c02(0x1cd)][_0x1c3c02(0x366)]()),(this[_0x1c3c02(0x242)]=_0x38eeaf,this[_0x1c3c02(0x3bc)]=_0x494f15,this['_localCacheService']=_0x1e0324);}async['loadUnit'](_0x533d0e,_0x253fee,_0x15a35f){var _0x3f031c=_0xccc328;this[_0x3f031c(0x1cd)][_0x3f031c(0x419)]({'unitId':_0x533d0e,'type':_0x253fee,'subUnitId':_0x15a35f});let _0x54bb59=null;switch(_0x253fee){case Q[_0x3f031c(0x2db)]:{_0x54bb59=await this[_0x3f031c(0x2e8)](_0x533d0e);break;}case Q[_0x3f031c(0x4a4)]:{_0x54bb59=await this[_0x3f031c(0x1ef)](_0x533d0e);break;}default:{this[_0x3f031c(0x242)][_0x3f031c(0x4ae)](_0x3f031c(0x33b),_0x3f031c(0x1d3));break;}}return _0x54bb59;}async['_loadSheet'](_0x131b7b){var _0x501ebd=_0xccc328,_0x1b095b;let _0x3ddebb=0x0;const _0x436f1e=await((_0x1b095b=this['_localCacheService'])==null?void 0x0:_0x1b095b['loadOfflineData'](_0x131b7b));return _0x436f1e&&(_0x436f1e[_0x501ebd(0x424)]||_0x436f1e[_0x501ebd(0x232)][_0x501ebd(0x489)]!==0x0)&&(_0x3ddebb=_0x436f1e[_0x501ebd(0x2aa)]),_0x3ddebb===0x0&&this[_0x501ebd(0x242)][_0x501ebd(0x353)](_0x501ebd(0x33b),_0x501ebd(0x3eb)),this[_0x501ebd(0x3bc)][_0x501ebd(0x25d)](_0x131b7b,_0x3ddebb);}async[_0xccc328(0x1ef)](_0x2f10bf){var _0x2405e2=_0xccc328,_0x22c25c;let _0x510c57=0x0;const _0xdeb76c=await((_0x22c25c=this['_localCacheService'])==null?void 0x0:_0x22c25c[_0x2405e2(0x1d4)](_0x2f10bf));return _0xdeb76c&&(_0xdeb76c[_0x2405e2(0x424)]||_0xdeb76c[_0x2405e2(0x232)]['length']!==0x0)&&(_0x510c57=_0xdeb76c[_0x2405e2(0x2aa)]),_0x510c57===0x0&&this[_0x2405e2(0x242)][_0x2405e2(0x353)](_0x2405e2(0x33b),_0x2405e2(0x3eb)),this[_0x2405e2(0x3bc)][_0x2405e2(0x335)](_0x2f10bf,_0x510c57);}};bt=Qs([mt(0x0,_0x48685b),mt(0x1,_0x42d086(_0x5d69c8)),mt(0x2,_0x4a4437(J))],bt);var er=Object[_0xccc328(0x2bf)],tr=(_0x168b89,_0x3555ca,_0x33cf77,_0x239206)=>{var _0x7a72b8=_0xccc328;for(var _0x3c7b7b=_0x239206>0x1?void 0x0:_0x239206?er(_0x3555ca,_0x33cf77):_0x3555ca,_0x18d3e3=_0x168b89[_0x7a72b8(0x489)]-0x1,_0x3746b2;_0x18d3e3>=0x0;_0x18d3e3--)(_0x3746b2=_0x168b89[_0x18d3e3])&&(_0x3c7b7b=_0x3746b2(_0x3c7b7b)||_0x3c7b7b);return _0x3c7b7b;},gt=(_0x2e3273,_0x539f8e)=>(_0x129149,_0x1893cd)=>_0x539f8e(_0x129149,_0x1893cd,_0x2e3273);const ir=['image/png',_0xccc328(0x1fc),_0xccc328(0x3e0),_0xccc328(0x308),'image/bmp'],nr=0x5*0x400*0x400,sr=_0xccc328(0x48e),rr='/universer-api/stream/file/upload',ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0xccc328(0x29e);let Ot=class{constructor(_0x510ad6,_0x487e14,_0x102d01){var _0x3fab93=_0xccc328;N(this,_0x3fab93(0x456),0x0),N(this,_0x3fab93(0x394),new _0x364bef()),N(this,'change$',this[_0x3fab93(0x394)]),N(this,_0x3fab93(0x34a),new Map()),(this[_0x3fab93(0x3ee)]=_0x510ad6,this[_0x3fab93(0x20b)]=_0x487e14,this['_univerInstanceService']=_0x102d01);}[_0xccc328(0x21f)](_0x4918d4){var _0x23a04a=_0xccc328;this[_0x23a04a(0x456)]=_0x4918d4,this[_0x23a04a(0x394)][_0x23a04a(0x419)](_0x4918d4);}[_0xccc328(0x24e)](_0x52f147,_0x286eb6){var _0x24c810=_0xccc328;if(_0x286eb6===_0x63df15[_0x24c810(0x497)]){const _0x9b1d60=new Image();return _0x9b1d60[_0x24c810(0x281)]=_0x52f147,_0x9b1d60;}return this[_0x24c810(0x34a)][_0x24c810(0x40e)](_0x52f147);}[_0xccc328(0x1a7)](_0x2eb41b,_0x19688f,_0xb5abd9){var _0x54eee7=_0xccc328;_0x19688f===_0x63df15['BASE64']||_0xb5abd9==null||this[_0x54eee7(0x34a)][_0x54eee7(0x382)](_0x2eb41b,_0xb5abd9);}async[_0xccc328(0x36b)](_0x9b6644){var _0x742cb3=_0xccc328;try{const _0x2a5e3c=this[_0x742cb3(0x1bf)](this[_0x742cb3(0x315)](),''+_0x9b6644),_0x2f74b7=(await this[_0x742cb3(0x3ee)][_0x742cb3(0x40e)](_0x2a5e3c))[_0x742cb3(0x1a5)];if(_0x2f74b7[_0x742cb3(0x4ae)]&&_0x2f74b7[_0x742cb3(0x4ae)][_0x742cb3(0x3d3)]===Si['OK']){const _0xb73d1a=new URL(_0x2f74b7[_0x742cb3(0x34f)],this[_0x742cb3(0x1c2)]())[_0x742cb3(0x447)]();return Promise[_0x742cb3(0x1a8)](_0xb73d1a);}return Promise[_0x742cb3(0x386)](_0x2f74b7[_0x742cb3(0x4ae)]);}catch(_0xeec08b){return Promise[_0x742cb3(0x386)](_0xeec08b);}}async[_0xccc328(0x31b)](_0x5880a0){var _0x12f9c1=_0xccc328;let _0x149536='';if(!ir['includes'](_0x5880a0['type']))return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9[_0x12f9c1(0x361)]));if(_0x5880a0[_0x12f9c1(0x470)]>nr)return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9[_0x12f9c1(0x277)]));try{const _0x355870=new FormData();_0x355870['append'](_0x12f9c1(0x2e0),_0x5880a0);const _0x99a38b=this[_0x12f9c1(0x3a9)]['getFocusedUnit'](),_0x155902=_0x99a38b==null?void 0x0:_0x99a38b['getUnitId']();if(!_0x155902)throw new Error(_0x12f9c1(0x26e));const _0x1fcaf6=this['_getUploadFileURL']()+_0x12f9c1(0x1fa)+_0x5880a0[_0x12f9c1(0x470)]['toString']()+'&source='+Ei[_0x12f9c1(0x47d)]+_0x12f9c1(0x1df)+encodeURIComponent(_0x155902),_0x3eba41={'body':_0x355870},_0x2c16d7=(await this[_0x12f9c1(0x3ee)][_0x12f9c1(0x403)](_0x1fcaf6,_0x3eba41))[_0x12f9c1(0x1a5)];if(typeof _0x2c16d7['FileId']!=_0x12f9c1(0x406))return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9['ERROR_IMAGE']));_0x149536=_0x2c16d7[_0x12f9c1(0x256)];}catch{return this[_0x12f9c1(0x425)](),Promise[_0x12f9c1(0x386)](new Error(_0x415fb9['ERROR_IMAGE']));}return new Promise((_0x126d12,_0x30fb89)=>{var _0x125751=_0x12f9c1;const _0x12c411=new FileReader();_0x12c411[_0x125751(0x2dd)](_0x5880a0),_0x12c411['onload']=_0x595f27=>{var _0x18483f=_0x125751,_0x5b7190;const _0x584986=(_0x5b7190=_0x595f27[_0x18483f(0x45e)])==null?void 0x0:_0x5b7190[_0x18483f(0x29d)];if(_0x584986==null){this['_decreaseWaiting'](),_0x30fb89(new Error(_0x415fb9[_0x18483f(0x381)]));return;}const _0x99a7c0=_0x195c75[_0x18483f(0x303)](0x6);_0x126d12({'imageId':_0x99a7c0,'imageSourceType':_0x63df15[_0x18483f(0x433)],'source':_0x149536,'base64Cache':_0x584986,'status':_0x415fb9[_0x18483f(0x3d6)]}),this[_0x18483f(0x425)]();};});}[_0xccc328(0x480)](){var _0x14121d=_0xccc328,_0x53d135,_0x9e5643;const _0x1f57b1=this[_0x14121d(0x20b)][_0x14121d(0x38c)](sr),_0x4eddbb=this[_0x14121d(0x20b)][_0x14121d(0x38c)](q);return(_0x9e5643=(_0x53d135=_0x4eddbb==null?void 0x0:_0x4eddbb[_0x14121d(0x430)])!=null?_0x53d135:_0x1f57b1)!=null?_0x9e5643:rr;}[_0xccc328(0x315)](){var _0x346a87=_0xccc328,_0x15ec86,_0x39f250;const _0x443d57=this['_configService'][_0x346a87(0x38c)](ar),_0xe54c0f=this[_0x346a87(0x20b)][_0x346a87(0x38c)](q);return(_0x39f250=(_0x15ec86=_0xe54c0f==null?void 0x0:_0xe54c0f[_0x346a87(0x36a)])!=null?_0x15ec86:_0x443d57)!=null?_0x39f250:or;}[_0xccc328(0x1c2)](){var _0x19a801=_0xccc328,_0x583163;const _0x33746d=this[_0x19a801(0x20b)][_0x19a801(0x38c)](q);return(_0x583163=_0x33746d==null?void 0x0:_0x33746d[_0x19a801(0x3c1)])!=null?_0x583163:location['origin'];}[_0xccc328(0x1bf)](_0x8be76c,_0x204dad){var _0x1a8c83=_0xccc328;return _0x8be76c[_0x1a8c83(0x39d)](_0x1a8c83(0x261),_0x204dad);}[_0xccc328(0x425)](){var _0x1eb6b3=_0xccc328;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x1eb6b3(0x456)]);}};Ot=tr([gt(0x0,_0x42d086(_0x44834c)),gt(0x1,_0x32d0f8),gt(0x2,_0x42d086(_0xca8903))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x4fa53e,_0x41f967,_0x37a78f,_0x44b359)=>{var _0x1bbd25=_0xccc328;for(var _0x3d3ae2=_0x44b359>0x1?void 0x0:_0x44b359?cr(_0x41f967,_0x37a78f):_0x41f967,_0x511e80=_0x4fa53e[_0x1bbd25(0x489)]-0x1,_0x5e717f;_0x511e80>=0x0;_0x511e80--)(_0x5e717f=_0x4fa53e[_0x511e80])&&(_0x3d3ae2=_0x5e717f(_0x3d3ae2)||_0x3d3ae2);return _0x3d3ae2;},hi=(_0x4fddcf,_0x967e88)=>(_0x19efec,_0x4f71fe)=>_0x967e88(_0x19efec,_0x4f71fe,_0x4fddcf);const _r=_0xccc328(0x2e2);let yt=class{constructor(_0x43dbcb,_0x25e0ef){var _0x56bd4e=_0xccc328;this[_0x56bd4e(0x20b)]=_0x43dbcb,this[_0x56bd4e(0x287)]=_0x25e0ef;}[_0xccc328(0x1d5)](){var _0x251865=_0xccc328,_0x38e27b,_0x53f79b;const _0x2a7bf5=this[_0x251865(0x20b)][_0x251865(0x38c)](Ni),_0x345fc7=this[_0x251865(0x20b)][_0x251865(0x38c)](q);return(_0x53f79b=(_0x38e27b=_0x345fc7==null?void 0x0:_0x345fc7[_0x251865(0x3b0)])!=null?_0x38e27b:_0x2a7bf5)!=null?_0x53f79b:_r;}async[_0xccc328(0x440)](_0x392df6){var _0x2c1a38=_0xccc328;const _0x5bc89f=this[_0x2c1a38(0x1d5)]()+_0x2c1a38(0x2e6);return{'list':[{'title':_0x2c1a38(0x227),'mentions':(await this[_0x2c1a38(0x287)][_0x2c1a38(0x40e)](_0x5bc89f,{'params':{'objectID':_0x392df6[_0x2c1a38(0x2a6)],'unitID':_0x392df6[_0x2c1a38(0x2a6)]}}))[_0x2c1a38(0x1a5)][_0x2c1a38(0x38f)][_0x2c1a38(0x404)](_0x278ce0=>({'objectId':_0x278ce0['id'],'name':_0x278ce0[_0x2c1a38(0x362)]['name'],'metadata':{'icon':_0x278ce0[_0x2c1a38(0x362)]['avatar']},'label':_0x278ce0[_0x2c1a38(0x362)][_0x2c1a38(0x465)],'objectType':_0x5f2993['PERSON']})),'metadata':{},'type':_0x5f2993[_0x2c1a38(0x30d)]}]};}};yt=hr([hi(0x0,_0x42d086(_0x32d0f8)),hi(0x1,_0x42d086(_0x44834c))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0xf58fa,_0x2ca5d9,_0x40c31d,_0x535cd5)=>{var _0x616c07=_0xccc328;for(var _0x414cad=_0x535cd5>0x1?void 0x0:_0x535cd5?lr(_0x2ca5d9,_0x40c31d):_0x2ca5d9,_0x29878f=_0xf58fa[_0x616c07(0x489)]-0x1,_0x32e0c5;_0x29878f>=0x0;_0x29878f--)(_0x32e0c5=_0xf58fa[_0x29878f])&&(_0x414cad=_0x32e0c5(_0x414cad)||_0x414cad);return _0x414cad;},we=(_0x47002e,_0x512c6b)=>(_0x28fedd,_0x49529b)=>_0x512c6b(_0x28fedd,_0x49529b,_0x47002e);let ot=class extends _0x694488{constructor(_0x57debf,_0x2eb47f,_0x2f7dec,_0x8e98fc,_0x195fed){var _0x364ff6=_0xccc328;super(),this[_0x364ff6(0x426)]=_0x57debf,this[_0x364ff6(0x3a9)]=_0x2eb47f,this[_0x364ff6(0x1ee)]=_0x2f7dec,this[_0x364ff6(0x49c)]=_0x8e98fc,this[_0x364ff6(0x22d)]=_0x195fed,this[_0x364ff6(0x329)](),this[_0x364ff6(0x1f9)]();}[_0xccc328(0x1f9)](){var _0x5c1ee5=_0xccc328;const _0x4f2764=async _0x2b92c9=>{var _0x221114=_0x4dde;(await this[_0x221114(0x49c)][_0x221114(0x1b3)](_0x2b92c9))[_0x221114(0x32a)]['pipe'](_0x217dd3(_0x20a5c5=>_0x20a5c5[_0x221114(0x3f4)]===_0x4c124f[_0x221114(0x3a4)]),_0x59d388(this[_0x221114(0x22b)]))['subscribe'](_0x14f920=>{var _0x5c558b=_0x221114;const _0x9a1365=_0x14f920,{reason:_0x561934}=_0x9a1365['data'];this[_0x5c558b(0x22d)][_0x5c558b(0x460)]({'id':re[_0x5c558b(0x1a2)],'data':_0x561934}),this['_permissionService']['updatePermissionPoint'](new _0x1bf5b8(_0x2b92c9)['id'],!0x1),this[_0x5c558b(0x49c)]['closeSession'](_0x2b92c9);});};_0x40c80f(this[_0x5c1ee5(0x3a9)]['getTypeOfUnitAdded$'](_0x2a060b[_0x5c1ee5(0x2db)]),this['_univerInstanceService'][_0x5c1ee5(0x299)](_0x2a060b[_0x5c1ee5(0x4a4)]))[_0x5c1ee5(0x2fc)](_0x422352(_0x186d3c=>_0x186d3c['getUnitId']()),_0x217dd3(_0x4c553f=>!_0xc59106(_0x4c553f)),_0x59d388(this['dispose$']))[_0x5c1ee5(0x2d7)](_0x5ed416=>{_0x4f2764(_0x5ed416);});}[_0xccc328(0x329)](){var _0x2efea8=_0xccc328;const _0x2a286f=async _0x58c837=>{var _0x244c0a=_0x4dde;const _0x110501=await this[_0x244c0a(0x49c)]['requireSession'](_0x58c837),_0x65f0ab=this['_injector'][_0x244c0a(0x40e)](_0x447f11);_0x110501['event$'][_0x244c0a(0x2fc)](_0x217dd3(_0x260ff0=>_0x260ff0[_0x244c0a(0x3f4)]===_0x4c124f[_0x244c0a(0x4ab)]),_0x59d388(this[_0x244c0a(0x22b)]))[_0x244c0a(0x2d7)](_0x43151e=>{var _0x40d1a6=_0x244c0a;const _0x54cefb=_0x43151e,{objectId:_0x3be0b2}=_0x54cefb[_0x40d1a6(0x43a)];_0x3be0b2===_0x58c837?_0x65f0ab[_0x40d1a6(0x464)](_0x58c837):_0x65f0ab[_0x40d1a6(0x1b7)](_0x58c837,_0x3be0b2);});};_0x40c80f(this['_univerInstanceService'][_0x2efea8(0x299)](_0x2a060b[_0x2efea8(0x2db)]))[_0x2efea8(0x2fc)](_0x422352(_0x56e607=>_0x56e607[_0x2efea8(0x1de)]()),_0x217dd3(_0x4102db=>!_0xc59106(_0x4102db)),_0x59d388(this[_0x2efea8(0x22b)]))[_0x2efea8(0x2d7)](_0x4909c2=>{_0x2a286f(_0x4909c2);});}};ot=ur([we(0x0,_0x42d086(_0x213b7b)),we(0x1,_0xca8903),we(0x2,_0x3f7473),we(0x3,_0x42d086(xe)),we(0x4,_0x42d086(pe))],ot);var dr=Object[_0xccc328(0x2bf)],fr=(_0x4e5090,_0x5090e1,_0x36a821,_0x348f1f)=>{var _0x2d116d=_0xccc328;for(var _0x14336c=_0x348f1f>0x1?void 0x0:_0x348f1f?dr(_0x5090e1,_0x36a821):_0x5090e1,_0x2103dd=_0x4e5090[_0x2d116d(0x489)]-0x1,_0x4942cd;_0x2103dd>=0x0;_0x2103dd--)(_0x4942cd=_0x4e5090[_0x2103dd])&&(_0x14336c=_0x4942cd(_0x14336c)||_0x14336c);return _0x14336c;},_i=(_0x2b4a09,_0x5bbec5)=>(_0x4b8389,_0x5ccc3c)=>_0x5bbec5(_0x4b8389,_0x5ccc3c,_0x2b4a09);let Nt=class{constructor(_0x168529,_0x37e112){var _0x1ac4a6=_0xccc328;this[_0x1ac4a6(0x20b)]=_0x168529,this[_0x1ac4a6(0x3ee)]=_0x37e112;}async[_0xccc328(0x2df)](_0x556ea4,_0x15b3c5){var _0x10358d=_0xccc328,_0x4eeac2;const {unitID:_0x1150ae,type:_0x1bb159,revision:_0x107af6=0x0}=_0x15b3c5,_0x4f9440=this['getSnapshotAPIPath']()+'/'+_0x1bb159+_0x10358d(0x279)+_0x1150ae+_0x10358d(0x48a)+_0x107af6,_0x2b1387=(await this[_0x10358d(0x3ee)][_0x10358d(0x40e)](_0x4f9440))[_0x10358d(0x1a5)],_0x2e0a42=(_0x4eeac2=_0x2b1387['snapshot'])==null?void 0x0:_0x4eeac2[_0x10358d(0x214)];if(_0x2e0a42){const _0x24e328=_0x2e0a42==null?void 0x0:_0x2e0a42[_0x10358d(0x34d)],_0x83ed52=_0x5bd5e4[_0x10358d(0x26a)](_0x2cb6ba(_0x24e328));_0x2e0a42[_0x10358d(0x34d)]=_0x83ed52,Object[_0x10358d(0x1e1)](_0x2e0a42[_0x10358d(0x39c)])[_0x10358d(0x412)](([,_0x54c90b])=>{var _0x2899dd=_0x10358d;const _0x5cd7fa=_0x54c90b[_0x2899dd(0x34d)],_0x5b25e3=_0x5bd5e4['encode'](_0x2cb6ba(_0x5cd7fa));_0x54c90b[_0x2899dd(0x34d)]=_0x5b25e3;});}return _0x2b1387;}async[_0xccc328(0x298)](_0x61561c,_0x304a41){var _0x5ed226=_0xccc328;const {unitID:_0x5ab9da,type:_0x86fbc8,blockID:_0x32662d}=_0x304a41,_0x14961b=this[_0x5ed226(0x25c)]()+'/'+_0x86fbc8+_0x5ed226(0x279)+_0x5ab9da+_0x5ed226(0x34e)+_0x32662d;return(await this[_0x5ed226(0x3ee)][_0x5ed226(0x40e)](_0x14961b))[_0x5ed226(0x1a5)];}async[_0xccc328(0x364)](_0x2f953f,_0xc0dc8c){var _0x45b8b6=_0xccc328;const {unitID:_0x275a4d,type:_0x4254d5,blockID:_0x243741}=_0xc0dc8c,_0x2a674a=this[_0x45b8b6(0x25c)]()+_0x45b8b6(0x34e)+_0x4254d5+'/unit/'+_0x275a4d+_0x45b8b6(0x34e)+_0x243741;return(await this['_httpService'][_0x45b8b6(0x40e)](_0x2a674a))[_0x45b8b6(0x1a5)];}async['fetchMissingChangesets'](_0x5821c0,_0x5bf5b0){var _0x2ce771=_0xccc328;const {unitID:_0x1027f4,type:_0x1bdceb,from:_0x18c630,to:_0x19308e}=_0x5bf5b0,_0x35a85d=this[_0x2ce771(0x25c)]()+'/'+_0x1bdceb+_0x2ce771(0x279)+_0x1027f4+_0x2ce771(0x284)+_0x18c630+_0x2ce771(0x343)+_0x19308e;return(await this['_httpService']['get'](_0x35a85d))[_0x2ce771(0x1a5)];}['getSnapshotAPIPath'](){var _0x271945=_0xccc328,_0x123786;return(_0x123786=this[_0x271945(0x20b)][_0x271945(0x38c)](Sn))!=null?_0x123786:this['_getAPIPrefix']();}[_0xccc328(0x25c)](){var _0x19a2a1=_0xccc328,_0x23b00c,_0x1a6ada;const _0x1647e7=this[_0x19a2a1(0x20b)][_0x19a2a1(0x38c)](mn),_0x6774fb=this[_0x19a2a1(0x20b)]['getConfig'](q);return(_0x1a6ada=(_0x23b00c=_0x6774fb==null?void 0x0:_0x6774fb[_0x19a2a1(0x3d8)])!=null?_0x23b00c:_0x1647e7)!=null?_0x1a6ada:gn;}async[_0xccc328(0x304)](_0x2d6195,_0x1584b7){var _0x4dd13a=_0xccc328;const _0x13f9c3=_0x4dd13a(0x2e7)+_0x1584b7[_0x4dd13a(0x2a5)]+_0x4dd13a(0x279)+_0x1584b7[_0x4dd13a(0x45c)]+_0x4dd13a(0x2b6);return(await this[_0x4dd13a(0x3ee)][_0x4dd13a(0x40e)](_0x13f9c3,{'params':{'resourceId':JSON[_0x4dd13a(0x280)](_0x1584b7[_0x4dd13a(0x275)])}}))[_0x4dd13a(0x1a5)];}[_0xccc328(0x245)](){var _0x4df20f=_0xccc328;throw new Error(_0x4df20f(0x1a9));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xccc328(0x477)](){var _0x1ac176=_0xccc328;throw new Error(_0x1ac176(0x1a9));}[_0xccc328(0x355)](){var _0xb6044c=_0xccc328;throw new Error(_0xb6044c(0x1a9));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x32d0f8),_i(0x1,_0x42d086(_0x44834c))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x38874d,_0x341813,_0x54c022,_0x17dba7)=>{var _0x552459=_0xccc328;for(var _0x2fb9f5=_0x17dba7>0x1?void 0x0:_0x17dba7?vr(_0x341813,_0x54c022):_0x341813,_0x8e24a3=_0x38874d[_0x552459(0x489)]-0x1,_0x41086b;_0x8e24a3>=0x0;_0x8e24a3--)(_0x41086b=_0x38874d[_0x8e24a3])&&(_0x2fb9f5=_0x41086b(_0x2fb9f5)||_0x2fb9f5);return _0x2fb9f5;},Pe=(_0xfd5b4,_0xbf5727)=>(_0x316583,_0x59cb20)=>_0xbf5727(_0x316583,_0x59cb20,_0xfd5b4);let Dt=class extends _0x9b1795{constructor(_0x3c128c,_0x3a5e2d,_0x3676d8,_0x1c3f4e,_0x4ff5c3){var _0x5eb83f=_0xccc328;super(_0x3c128c,_0x3a5e2d,_0x3676d8),this['_transformService']=_0x1c3f4e,this[_0x5eb83f(0x242)]=_0x4ff5c3;}['transformUndoRedo'](_0xa2cd31,_0x152fb3){var _0x5c729b=_0xccc328;const _0x4cd93c=this[_0x5c729b(0x1f3)](_0xa2cd31);if(_0x4cd93c)try{const _0x5cf357=this[_0x5c729b(0x1ff)](_0x4cd93c,_0x152fb3);this[_0x5c729b(0x4a2)](_0xa2cd31,_0x5cf357);}catch(_0x4943a7){this[_0x5c729b(0x242)][_0x5c729b(0x4ae)](_0x5c729b(0x24b),_0x4943a7),this[_0x5c729b(0x33c)](_0xa2cd31);}const _0x3afab2=this[_0x5c729b(0x495)](_0xa2cd31);if(_0x3afab2)try{const _0x874589=this[_0x5c729b(0x1ff)](_0x3afab2,_0x152fb3);this[_0x5c729b(0x3c5)](_0xa2cd31,_0x874589);}catch(_0xa27f16){this['_logService'][_0x5c729b(0x4ae)](_0xa27f16),this['_clearRedo'](_0xa2cd31);}}[_0xccc328(0x33c)](_0x197f7e){var _0x59e5c7=_0xccc328;const _0x2386e5=this[_0x59e5c7(0x1f3)](_0x197f7e);_0x2386e5&&(_0x2386e5[_0x59e5c7(0x489)]=0x0,this['_updateStatus']());}[_0xccc328(0x471)](_0x34ceb4){var _0x5b95e8=_0xccc328;const _0xe4f344=this[_0x5b95e8(0x495)](_0x34ceb4);_0xe4f344&&(_0xe4f344[_0x5b95e8(0x489)]=0x0,this[_0x5b95e8(0x1dd)]());}[_0xccc328(0x4a2)](_0x1c0ca5,_0x304edb){var _0x4a333c=_0xccc328;this['_undoStacks'][_0x4a333c(0x382)](_0x1c0ca5,_0x304edb),this[_0x4a333c(0x1dd)]();}[_0xccc328(0x3c5)](_0xc1f8c8,_0x349039){var _0x5419b5=_0xccc328;this[_0x5419b5(0x1ea)][_0x5419b5(0x382)](_0xc1f8c8,_0x349039),this[_0x5419b5(0x1dd)]();}['_transformStack'](_0x35291f,_0x1bf8c0){var _0x199a21=_0xccc328;const _0x5d5426=[];let _0x26a8dc=_0x1bf8c0,_0x3528fa=_0x1bf8c0;for(let _0x2214f0=_0x35291f[_0x199a21(0x489)]-0x1;_0x2214f0>=0x0;_0x2214f0--){const {unitID:_0x4c6bd4,undoMutations:_0x287da3,redoMutations:_0x39f8a1}=_0x35291f[_0x2214f0],_0x1e9f0d=this[_0x199a21(0x2ca)][_0x199a21(0x2a4)](_0x26a8dc,_0x287da3),_0x2ff0a1=this[_0x199a21(0x2ca)][_0x199a21(0x2a4)](_0x3528fa,_0x39f8a1);if(_0x37e9b3(_0x1e9f0d)||_0x37e9b3(_0x2ff0a1)){this[_0x199a21(0x242)]['error'](_0x199a21(0x24b),'transformStack\x20failed!',_0x1e9f0d,_0x2ff0a1);break;}_0x26a8dc=_0x1e9f0d[_0x199a21(0x27f)],_0x3528fa=_0x2ff0a1[_0x199a21(0x27f)],_0x5d5426['push']({'unitID':_0x4c6bd4,'undoMutations':_0x1e9f0d[_0x199a21(0x28f)],'redoMutations':_0x2ff0a1['m2Prime']});}return _0x5d5426[_0x199a21(0x3b6)]();}};Dt=pr([Pe(0x0,_0xca8903),Pe(0x1,_0x37fa3a),Pe(0x2,_0x1f8dee),Pe(0x3,_0x5c5e6b),Pe(0x4,_0x48685b)],Dt);var mr=Object[_0xccc328(0x369)],gr=Object[_0xccc328(0x2bf)],Sr=(_0x49b31e,_0x59e160,_0x54a91b)=>_0x59e160 in _0x49b31e?mr(_0x49b31e,_0x59e160,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a91b}):_0x49b31e[_0x59e160]=_0x54a91b,Er=(_0x25dfcc,_0x532cd8,_0x1acefd,_0x27b023)=>{var _0x2bde1e=_0xccc328;for(var _0x14b0ba=_0x27b023>0x1?void 0x0:_0x27b023?gr(_0x532cd8,_0x1acefd):_0x532cd8,_0x55e72c=_0x25dfcc[_0x2bde1e(0x489)]-0x1,_0x11779b;_0x55e72c>=0x0;_0x55e72c--)(_0x11779b=_0x25dfcc[_0x55e72c])&&(_0x14b0ba=_0x11779b(_0x14b0ba)||_0x14b0ba);return _0x14b0ba;},St=(_0x252da7,_0x263465)=>(_0x36f375,_0x5aad0c)=>_0x263465(_0x36f375,_0x5aad0c,_0x252da7),Ir=(_0x48985f,_0x13844c,_0x4256ee)=>Sr(_0x48985f,_0x13844c+'',_0x4256ee);const Tr=_0xccc328(0x469);let Ut=class extends _0x168dd9{constructor(_0xa52f15,_0x220411,_0x10893a,_0x36ea79){var _0x5c3eac=_0xccc328;super(),N(this,_0x5c3eac(0x21a)),(this[_0x5c3eac(0x242)]=_0x220411,this[_0x5c3eac(0x426)]=_0x10893a,this[_0x5c3eac(0x20b)]=_0x36ea79);const {..._0x1dafe3}=_0x5ce139({},wn,_0xa52f15);if(!_0x1dafe3[_0x5c3eac(0x481)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x5c3eac(0x21a)]=_0x1dafe3,this[_0x5c3eac(0x20b)][_0x5c3eac(0x1b2)](q,_0x1dafe3);}['onStarting'](){var _0x539c8e=_0xccc328;this[_0x539c8e(0x322)](),this[_0x539c8e(0x49f)]();}[_0xccc328(0x322)](){var _0x3972c9=_0xccc328,_0x4e5f59,_0x19cdbe;this[_0x3972c9(0x426)][_0x3972c9(0x20c)](_0x10626b)&&this[_0x3972c9(0x242)][_0x3972c9(0x4ae)](_0x3972c9(0x493),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x38ce98=_0x4260f4([[_0x10626b,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x3972c9(0x21a)][_0x3972c9(0x481)]}],[_0x491b4b,{'useClass':Nt}],[_0x434a90,{'useClass':Rt}],[_0x526b53,{'useClass':Ot}],[_0x1bd7ee,{'useClass':yt}],[st],[Ct]],(_0x4e5f59=this[_0x3972c9(0x21a)])==null?void 0x0:_0x4e5f59['override']);if(!((_0x19cdbe=this[_0x3972c9(0x21a)])!=null&&_0x19cdbe[_0x3972c9(0x234)])){const _0x339fd1=_0x38ce98[_0x3972c9(0x1bc)](([_0x109449])=>_0x109449===ht);_0x339fd1!==-0x1&&_0x38ce98[_0x3972c9(0x1e6)](_0x339fd1,0x1);}_0x38e1dc(this[_0x3972c9(0x426)],_0x38ce98);}['_initDependencies'](){var _0x2688b6=_0xccc328,_0x5a5bfb,_0x58ac19,_0x1299ad;this[_0x2688b6(0x426)]['get'](_0x44834c)[_0x2688b6(0x1e4)]({'priority':0x14,'interceptor':_0x88bb1a({'maxParallel':0x6})}),(_0x5a5bfb=this[_0x2688b6(0x21a)])!=null&&_0x5a5bfb['enableOfflineEditing']||(_0x58ac19=this[_0x2688b6(0x426)]['get'](J,_0x47342b[_0x2688b6(0x491)]))==null||_0x58ac19['disableLocalCache'](),(_0x1299ad=this['_config'])!=null&&_0x1299ad[_0x2688b6(0x3e4)]&&_0xe02a7(this[_0x2688b6(0x426)],[[rt]]),_0xe02a7(this[_0x2688b6(0x426)],[[at],[st],[ot]]);}};Ir(Ut,_0xccc328(0x3f8),Tr),Ut=Er([_0x135289(_0x4c09c6,_0x2662cf),St(0x1,_0x48685b),St(0x2,_0x42d086(_0x213b7b)),St(0x3,_0x32d0f8)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};