@univerjs-pro/collaboration-client 0.6.7-nightly.202504011606 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3c789f=_0x215f;(function(_0x3cf8e1,_0x437ddb){var _0x4cc467=_0x215f,_0x1b13c0=_0x3cf8e1();while(!![]){try{var _0x4034e0=-parseInt(_0x4cc467(0xf7))/0x1+-parseInt(_0x4cc467(0x321))/0x2*(-parseInt(_0x4cc467(0x257))/0x3)+-parseInt(_0x4cc467(0xcf))/0x4*(parseInt(_0x4cc467(0x1a2))/0x5)+-parseInt(_0x4cc467(0x2f4))/0x6*(-parseInt(_0x4cc467(0x200))/0x7)+parseInt(_0x4cc467(0x25f))/0x8+-parseInt(_0x4cc467(0x32b))/0x9*(-parseInt(_0x4cc467(0x373))/0xa)+-parseInt(_0x4cc467(0x1bf))/0xb*(-parseInt(_0x4cc467(0x3b4))/0xc);if(_0x4034e0===_0x437ddb)break;else _0x1b13c0['push'](_0x1b13c0['shift']());}catch(_0xd02e04){_0x1b13c0['push'](_0x1b13c0['shift']());}}}(_0x315d,0xb7ae3));var Ai=Object[_0x3c789f(0x36c)],Pi=(_0x40c90d,_0x40c75c,_0x46d71e)=>_0x40c75c in _0x40c90d?Ai(_0x40c90d,_0x40c75c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46d71e}):_0x40c90d[_0x40c75c]=_0x46d71e,N=(_0x529ab1,_0x58674f,_0x16f48a)=>Pi(_0x529ab1,typeof _0x58674f!=_0x3c789f(0x194)?_0x58674f+'':_0x58674f,_0x16f48a);import{createIdentifier as _0x1cc36c,Inject as _0x4fc040,Injector as _0x2128d8,IConfigService as _0x231c4a,ILogService as _0x251932,Disposable as _0x168e7b,DisposableCollection as _0x372902,toDisposable as _0xd7bdc8,IUniverInstanceService as _0x494e3d,UserManagerService as _0x2b9328,UniverInstanceType as _0x5c6970,LocaleService as _0x3814c5,Optional as _0x30404e,RxDisposable as _0x319a90,Tools as _0x94d80a,Rectangle as _0x5e0151,ICommandService as _0x1e6fb2,JSONX as _0xc35520,CommandType as _0x5a5a14,IUndoRedoService as _0x4f308f,IPermissionService as _0x33f73b,sequenceExecute as _0x201027,Workbook as _0x551a86,MentionType as _0x4b04ab,isInternalEditorID as _0x43f03a,LocalUndoRedoService as _0x4907cf,IContextService as _0x19aabd,DependentOn as _0x2bee3c,Plugin as _0x3f88e8,merge as _0x3cc4f7,mergeOverrideWithDependencies as _0x16ce21,IAuthzIoService as _0x22bf55,IMentionIOService as _0x28c5ba,registerDependencies as _0xd3bc5f,Quantity as _0x205d3b,touchDependencies as _0x2afd5}from'@univerjs/core';import{Subject as _0x360589,merge as _0x3d63ad,of as _0xaed033,BehaviorSubject as _0xe9c642,takeUntil as _0x414015,ReplaySubject as _0x2e1422,take as _0x1f75e5,map as _0x317cc6,shareReplay as _0x1fb43e,firstValueFrom as _0x5316f8,concatMap as _0x3014d4}from'rxjs';import{map as _0x7425b,take as _0x321ea3,filter as _0x4f8bc7,delay as _0x22492d,takeUntil as _0x5430d5}from'rxjs/operators';import{CollaborationEvent as _0x289bc7,ISnapshotServerService as _0x10a404,parseChangesetToProtocol as _0x1134a2,ITransformService as _0x3e7636,isTransformMutationsWithChangesetSuccess as _0x343bb2,mapDocumentTypeToUniverType as _0x66dbfd,RevisionService as _0x5704ab,isTransformChangesetsSuccess as _0x1b0f61,CompressMutationService as _0x758e56,parseProtocolChangeset as _0x186ff8,SnapshotService as _0x50edeb,textEncoder as _0x4f76dc,b64DecodeUnicode as _0x46f460,isTransformMutationsWithChangesetFailure as _0xd35c19,UniverCollaborationPlugin as _0x2b5ed0}from'@univerjs-pro/collaboration';import{HTTPService as _0x94c21e,ISocketService as _0x5d90d6,MergeInterceptorFactory as _0x1b42fb,HTTPRequest as _0x5f09c1,UniverNetworkPlugin as _0x2e07bd,ThresholdInterceptorFactory as _0x4c223d}from'@univerjs/network';import{ITelemetryService as _0x4457bb}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1c355c}from'@univerjs/docs';import{SheetsSelectionsService as _0xac4159,SetSelectionsOperation as _0x139171,InsertSheetMutation as _0x301039,EmptyMutation as _0x5652c2,WorkbookEditablePermission as _0x174fbb,SheetPermissionInitController as _0x4539d9}from'@univerjs/sheets';import{ImageSourceType as _0x21d2c1,ImageUploadStatusType as _0x59c977,IImageIoService as _0x4746ad}from'@univerjs/drawing';import{getGlobalObject as _0x45aa27}from'@univerjs-pro/license';const mn=_0x3c789f(0x253),gn=_0x3c789f(0x328),Sn='SNAPSHOT_URL_KEY',xs='SEND_CHANGESET_TIMEOUT',En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Ls=_0x3c789f(0x155),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x3c789f(0x27a),gi=0x4e20,bn=0x4e20,yn=_0x3c789f(0x104),On=0x3,Ms='LOCAL_CACHE_INTERVAL',ks=0x3e8,Nn=_0x3c789f(0x22d),Dn=_0x3c789f(0x1b8),Un=_0x3c789f(0x37a),wn='/universer-api/oidc/authpage',$s=_0x3c789f(0x173),Hs=_0x3c789f(0x21e);var Si=(_0x21d1d7=>(_0x21d1d7[_0x21d1d7[_0x3c789f(0x146)]=0x0]=_0x3c789f(0x146),_0x21d1d7[_0x21d1d7['OK']=0x1]='OK',_0x21d1d7[_0x21d1d7[_0x3c789f(0x290)]=0x2]='INTERNAL_ERROR',_0x21d1d7[_0x21d1d7[_0x3c789f(0x2de)]=0x3]='PERMISSION_DENIED',_0x21d1d7[_0x21d1d7[_0x3c789f(0x28f)]=0x4]=_0x3c789f(0x28f),_0x21d1d7[_0x21d1d7[_0x3c789f(0x13f)]=0x5]=_0x3c789f(0x13f),_0x21d1d7[_0x21d1d7[_0x3c789f(0x1b3)]=0x6]=_0x3c789f(0x1b3),_0x21d1d7[_0x21d1d7[_0x3c789f(0x212)]=0x7]=_0x3c789f(0x212),_0x21d1d7[_0x21d1d7[_0x3c789f(0x2a9)]=0x8]=_0x3c789f(0x2a9),_0x21d1d7[_0x21d1d7[_0x3c789f(0x202)]=0x9]=_0x3c789f(0x202),_0x21d1d7[_0x21d1d7[_0x3c789f(0x144)]=0xa]=_0x3c789f(0x144),_0x21d1d7[_0x21d1d7[_0x3c789f(0x185)]=0x1389]=_0x3c789f(0x185),_0x21d1d7[_0x21d1d7[_0x3c789f(0x2a3)]=0x1771]=_0x3c789f(0x2a3),_0x21d1d7[_0x21d1d7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x21d1d7[_0x21d1d7[_0x3c789f(0x394)]=0x1773]=_0x3c789f(0x394),_0x21d1d7[_0x21d1d7[_0x3c789f(0x2d7)]=0x1b59]='APPLY_REJECT',_0x21d1d7[_0x21d1d7['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x21d1d7[_0x21d1d7['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3c789f(0x256),_0x21d1d7[_0x21d1d7[_0x3c789f(0x275)]=0x1b5c]=_0x3c789f(0x275),_0x21d1d7[_0x21d1d7['APPLY_DUPLICATED']=0x1b5d]=_0x3c789f(0x39a),_0x21d1d7[_0x21d1d7[_0x3c789f(0x255)]=0x1f41]=_0x3c789f(0x255),_0x21d1d7[_0x21d1d7['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3c789f(0x28b),_0x21d1d7[_0x21d1d7[_0x3c789f(0xdd)]=0x232a]=_0x3c789f(0xdd),_0x21d1d7[_0x21d1d7[_0x3c789f(0xd3)]=0x232b]=_0x3c789f(0xd3),_0x21d1d7[_0x21d1d7[_0x3c789f(0x35c)]=0x232c]=_0x3c789f(0x35c),_0x21d1d7[_0x21d1d7[_0x3c789f(0x1d7)]=0x232d]=_0x3c789f(0x1d7),_0x21d1d7[_0x21d1d7[_0x3c789f(0x37c)]=0x2711]=_0x3c789f(0x37c),_0x21d1d7[_0x21d1d7[_0x3c789f(0x36a)]=0x2712]=_0x3c789f(0x36a),_0x21d1d7[_0x21d1d7[_0x3c789f(0x165)]=0x2713]=_0x3c789f(0x165),_0x21d1d7[_0x21d1d7[_0x3c789f(0x308)]=0x2714]=_0x3c789f(0x308),_0x21d1d7[_0x21d1d7[_0x3c789f(0x13c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x21d1d7[_0x21d1d7[_0x3c789f(0x369)]=0x2ee1]=_0x3c789f(0x369),_0x21d1d7[_0x21d1d7[_0x3c789f(0x2d0)]=0x2ee2]=_0x3c789f(0x2d0),_0x21d1d7[_0x21d1d7[_0x3c789f(0x375)]=0x2ee3]=_0x3c789f(0x375),_0x21d1d7[_0x21d1d7['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3c789f(0x365),_0x21d1d7[_0x21d1d7[_0x3c789f(0x387)]=0x2ee5]=_0x3c789f(0x387),_0x21d1d7[_0x21d1d7[_0x3c789f(0x2d2)]=-0x1]='UNRECOGNIZED',_0x21d1d7))(Si||{}),Q=(_0x3701ec=>(_0x3701ec[_0x3701ec[_0x3c789f(0x339)]=0x0]=_0x3c789f(0x339),_0x3701ec[_0x3701ec[_0x3c789f(0x289)]=0x1]=_0x3c789f(0x289),_0x3701ec[_0x3701ec[_0x3c789f(0x1d8)]=0x2]=_0x3c789f(0x1d8),_0x3701ec[_0x3701ec[_0x3c789f(0x28e)]=0x3]=_0x3c789f(0x28e),_0x3701ec[_0x3701ec[_0x3c789f(0x174)]=0x4]=_0x3c789f(0x174),_0x3701ec[_0x3701ec['UNRECOGNIZED']=-0x1]=_0x3c789f(0x2d2),_0x3701ec))(Q||{}),F=(_0x531c7a=>(_0x531c7a[_0x531c7a[_0x3c789f(0xfb)]=0x0]=_0x3c789f(0xfb),_0x531c7a[_0x531c7a[_0x3c789f(0x25d)]=0x1]=_0x3c789f(0x25d),_0x531c7a[_0x531c7a[_0x3c789f(0x14c)]=0x2]=_0x3c789f(0x14c),_0x531c7a[_0x531c7a['LEAVE']=0x3]=_0x3c789f(0x28a),_0x531c7a[_0x531c7a[_0x3c789f(0x340)]=0x4]=_0x3c789f(0x340),_0x531c7a[_0x531c7a[_0x3c789f(0x239)]=0x5]=_0x3c789f(0x239),_0x531c7a[_0x531c7a[_0x3c789f(0x2ff)]=0x6]=_0x3c789f(0x2ff),_0x531c7a[_0x531c7a['UNRECOGNIZED']=-0x1]=_0x3c789f(0x2d2),_0x531c7a))(F||{}),ge=(_0x7051aa=>(_0x7051aa[_0x7051aa[_0x3c789f(0x1d6)]=0x0]=_0x3c789f(0x1d6),_0x7051aa[_0x7051aa['OK']=0x1]='OK',_0x7051aa[_0x7051aa['FAIL']=0x2]='FAIL',_0x7051aa[_0x7051aa['JOIN_ROOM_FULL']=0x3e9]=_0x3c789f(0x234),_0x7051aa[_0x7051aa['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3c789f(0x3ae),_0x7051aa[_0x7051aa[_0x3c789f(0x17a)]=0x3eb]=_0x3c789f(0x17a),_0x7051aa[_0x7051aa[_0x3c789f(0x107)]=0x3ec]=_0x3c789f(0x107),_0x7051aa[_0x7051aa[_0x3c789f(0x2d2)]=-0x1]=_0x3c789f(0x2d2),_0x7051aa))(ge||{}),Ei=(_0x36ea9e=>(_0x36ea9e[_0x36ea9e['Undefined']=0x0]=_0x3c789f(0x1ca),_0x36ea9e[_0x36ea9e[_0x3c789f(0xf9)]=0x1]=_0x3c789f(0xf9),_0x36ea9e[_0x36ea9e[_0x3c789f(0x162)]=0x2]=_0x3c789f(0x162),_0x36ea9e[_0x36ea9e[_0x3c789f(0x134)]=0x3]='UnitEmbedded',_0x36ea9e[_0x36ea9e[_0x3c789f(0x2df)]=0x4]=_0x3c789f(0x2df),_0x36ea9e[_0x36ea9e[_0x3c789f(0x2d2)]=-0x1]=_0x3c789f(0x2d2),_0x36ea9e))(Ei||{});const q=_0x3c789f(0x344),An={};var se=(_0x2f6c41=>(_0x2f6c41['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x2f6c41['PERMISSION_DENIED']=_0x3c789f(0x2de),_0x2f6c41[_0x3c789f(0x34b)]=_0x3c789f(0x34b),_0x2f6c41[_0x3c789f(0x1cb)]=_0x3c789f(0x1cb),_0x2f6c41[_0x3c789f(0x1b6)]=_0x3c789f(0x1b6),_0x2f6c41[_0x3c789f(0x287)]=_0x3c789f(0x287),_0x2f6c41[_0x3c789f(0x147)]=_0x3c789f(0x147),_0x2f6c41[_0x3c789f(0x337)]=_0x3c789f(0x337),_0x2f6c41))(se||{});class pe{constructor(){var _0x293079=_0x3c789f;N(this,_0x293079(0x334),new _0x360589()),N(this,'event$',this[_0x293079(0x334)][_0x293079(0x374)]());}[_0x3c789f(0xe6)](_0x126b89){var _0x4ea130=_0x3c789f;this['_event$'][_0x4ea130(0x24f)](_0x126b89);}}const Pn=_0x1cc36c(_0x3c789f(0x370));function xn(_0x3ca15d){var _0x2a90aa=_0x3c789f,_0x200d28,_0x69f20d,_0x45ac5c,_0x189217,_0x461e28;const _0xf8b1bc=_0x3ca15d[_0x2a90aa(0x2b4)],_0xfce130=JSON[_0x2a90aa(0xda)](_0xf8b1bc);switch(_0xfce130['cmd']){case F[_0x2a90aa(0x239)]:case F[_0x2a90aa(0x25d)]:{const _0x58a21f=_0xfce130[_0x2a90aa(0x10e)];return{..._0xfce130,'data':_0x58a21f,'cmd':_0xfce130['cmd']};}case F[_0x2a90aa(0x14c)]:{const _0x4946fb=_0xfce130[_0x2a90aa(0xf6)];return{..._0xfce130,'data':_0x4946fb,'cmd':_0xfce130[_0x2a90aa(0x22f)]};}case F[_0x2a90aa(0x2ff)]:{const _0x3d5776=_0xfce130[_0x2a90aa(0x106)];switch(_0x3d5776[_0x2a90aa(0x3a1)]){case _0x289bc7['PERMISSION_REJ']:return{..._0xfce130,'data':{..._0x3d5776,'data':(_0x200d28=_0x3d5776[_0x2a90aa(0x324)])==null?void 0x0:_0x200d28['cs']},'cmd':_0xfce130['cmd']};case _0x289bc7[_0x2a90aa(0x1cf)]:return{..._0xfce130,'data':{..._0x3d5776,'data':(_0x69f20d=_0x3d5776[_0x2a90aa(0x2ee)])==null?void 0x0:_0x69f20d['cs']},'cmd':_0xfce130['cmd']};case _0x289bc7['NEW_CHANGESETS']:return{..._0xfce130,'data':{..._0x3d5776,'data':(_0x45ac5c=_0x3d5776['newCsEvent'])==null?void 0x0:_0x45ac5c['cs']},'cmd':_0xfce130['cmd']};case _0x289bc7[_0x2a90aa(0x1ac)]:return{..._0xfce130,'data':{..._0x3d5776,'data':(_0x189217=_0x3d5776[_0x2a90aa(0xf5)])==null?void 0x0:_0x189217['cs']},'cmd':_0xfce130[_0x2a90aa(0x22f)]};case _0x289bc7[_0x2a90aa(0x39f)]:return{..._0xfce130,'data':{..._0x3d5776,'data':(_0x461e28=_0x3d5776['csShouldRetryEvent'])==null?void 0x0:_0x461e28['cs']},'cmd':_0xfce130[_0x2a90aa(0x22f)]};case _0x289bc7['UPDATE_CURSOR']:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x124)]},'cmd':_0xfce130['cmd']};case _0x289bc7['USERS_ENTER']:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x19e)]},'cmd':_0xfce130[_0x2a90aa(0x22f)]};case _0x289bc7[_0x2a90aa(0x137)]:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x271)]},'cmd':_0xfce130[_0x2a90aa(0x22f)]};case _0x289bc7['LIVESHARE_NEW_HOST']:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x319)]},'cmd':_0xfce130[_0x2a90aa(0x22f)]};case _0x289bc7['LIVESHARE_FETCH_OPERATIONS']:case _0x289bc7[_0x2a90aa(0x163)]:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x265)]},'cmd':_0xfce130['cmd']};case _0x289bc7['LIVESHARE_TERMINATE']:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x319)]},'cmd':_0xfce130['cmd']};case _0x289bc7[_0x2a90aa(0x1fd)]:return{..._0xfce130,'data':_0x3d5776,'cmd':_0xfce130['cmd']};case _0x289bc7['COMMENT_UPDATE']:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x3a0)]},'cmd':_0xfce130['cmd']};case _0x289bc7[_0x2a90aa(0x346)]:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x364)]},'cmd':_0xfce130[_0x2a90aa(0x22f)]};case _0x289bc7[_0x2a90aa(0x36e)]:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x33a)]},'cmd':_0xfce130[_0x2a90aa(0x22f)]};case _0x289bc7[_0x2a90aa(0x293)]:return{..._0xfce130,'data':{..._0x3d5776,'data':_0x3d5776[_0x2a90aa(0x2d1)]},'cmd':_0xfce130[_0x2a90aa(0x22f)]};default:return _0xfce130;}}default:return _0xfce130;}}function Ln(_0x4fb3ad){var _0x5c545e=_0x3c789f;switch(_0x4fb3ad[_0x5c545e(0x22f)]){case F[_0x5c545e(0x239)]:case F[_0x5c545e(0x25d)]:return JSON[_0x5c545e(0xc6)]({'cmd':_0x4fb3ad[_0x5c545e(0x22f)],'routeKey':_0x4fb3ad[_0x5c545e(0x30b)]});case F[_0x5c545e(0x340)]:{let _0x3b3e3e;switch(_0x4fb3ad[_0x5c545e(0x2b4)][_0x5c545e(0x3a1)]){case _0x289bc7[_0x5c545e(0x142)]:{_0x3b3e3e={'eventID':_0x289bc7[_0x5c545e(0x142)],'updateCursorEvent':_0x4fb3ad[_0x5c545e(0x2b4)][_0x5c545e(0x2b4)]};break;}case _0x289bc7[_0x5c545e(0x137)]:{_0x3b3e3e={'eventID':_0x289bc7[_0x5c545e(0x137)],'leaveEvent':_0x4fb3ad[_0x5c545e(0x2b4)][_0x5c545e(0x2b4)]};break;}case _0x289bc7[_0x5c545e(0x171)]:{_0x3b3e3e={'eventID':_0x289bc7[_0x5c545e(0x171)],'joinEvent':_0x4fb3ad['data']['data']};break;}case _0x289bc7[_0x5c545e(0x355)]:{_0x3b3e3e={'eventID':_0x289bc7[_0x5c545e(0x355)],'liveShareNewHost':_0x4fb3ad[_0x5c545e(0x2b4)]['data']};break;}case _0x289bc7['LIVESHARE_OPERATION']:{_0x3b3e3e={'eventID':_0x289bc7[_0x5c545e(0x163)],'liveShareOperation':_0x4fb3ad[_0x5c545e(0x2b4)]['data']};break;}case _0x289bc7['LIVESHARE_TERMINATE']:{_0x3b3e3e={'eventID':_0x289bc7['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4fb3ad[_0x5c545e(0x2b4)][_0x5c545e(0x2b4)]};break;}case _0x289bc7[_0x5c545e(0x37e)]:{_0x3b3e3e={'eventID':_0x289bc7[_0x5c545e(0x37e)],'liveShareRequestHost':_0x4fb3ad[_0x5c545e(0x2b4)][_0x5c545e(0x2b4)]};break;}case _0x289bc7['LIVESHARE_FETCH_OPERATIONS']:{_0x3b3e3e={'eventID':_0x289bc7['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3b3e3e={'eventID':_0x4fb3ad[_0x5c545e(0x2b4)][_0x5c545e(0x3a1)]};}return JSON[_0x5c545e(0xc6)]({'cmd':_0x4fb3ad['cmd'],'routeKey':_0x4fb3ad[_0x5c545e(0x30b)],'collaMsg':_0x3b3e3e});}case F[_0x5c545e(0x14c)]:return JSON[_0x5c545e(0xc6)]({'cmd':_0x4fb3ad['cmd'],'routeKey':_0x4fb3ad[_0x5c545e(0x30b)],'joinReq':_0x4fb3ad[_0x5c545e(0x2b4)]});case F['LEAVE']:return JSON[_0x5c545e(0xc6)]({'cmd':_0x4fb3ad[_0x5c545e(0x22f)],'routeKey':_0x4fb3ad[_0x5c545e(0x30b)],'leaveReq':_0x4fb3ad[_0x5c545e(0x2b4)]});default:throw new Error(_0x5c545e(0x3a7));}}var Mn=Object['getOwnPropertyDescriptor'],kn=(_0x1a9aa8,_0x8f482d,_0x2f3fd4,_0xd43e78)=>{var _0x428c99=_0x3c789f;for(var _0x4409de=_0xd43e78>0x1?void 0x0:_0xd43e78?Mn(_0x8f482d,_0x2f3fd4):_0x8f482d,_0xd9f8d1=_0x1a9aa8[_0x428c99(0x1b7)]-0x1,_0x3a1dd8;_0xd9f8d1>=0x0;_0xd9f8d1--)(_0x3a1dd8=_0x1a9aa8[_0xd9f8d1])&&(_0x4409de=_0x3a1dd8(_0x4409de)||_0x4409de);return _0x4409de;},we=(_0x3c4174,_0x38a909)=>(_0x1c6287,_0xddfec5)=>_0x38a909(_0x1c6287,_0xddfec5,_0x3c4174);const Ii=_0x1cc36c(_0x3c789f(0x39e));function $n(_0x54ce28,_0x52b938,_0x5de5a5){var _0x5ac291=_0x3c789f;return _0x54ce28+'/'+_0x52b938+_0x5ac291(0x205)+_0x5de5a5+'/new_changes';}let Gt=class extends _0x168e7b{constructor(_0x2de124,_0x13aa07,_0x378f22,_0x3b9eba,_0xc5a6dc){var _0x44c6b5=_0x3c789f;super(),this[_0x44c6b5(0x24d)]=_0x2de124,this[_0x44c6b5(0x25a)]=_0x13aa07,this[_0x44c6b5(0x14e)]=_0x378f22,this[_0x44c6b5(0x381)]=_0x3b9eba,this['_snapshotServerService']=_0xc5a6dc;}['_doCreateSocket'](_0x5c58e4){var _0x218de1=_0x3c789f;const _0x384f70=this[_0x218de1(0x24d)]['get'](_0x5d90d6);if(!_0x384f70)throw new Error(_0x218de1(0x31d));const _0x1e2ed2=_0x384f70['createSocket'](_0x5c58e4);if(!_0x1e2ed2)throw new Error(_0x218de1(0x22a));const _0x189b82=new _0x372902(),_0x23d4ac=new _0x360589();_0x189b82['add'](_0x1e2ed2[_0x218de1(0x19f)][_0x218de1(0x32f)](_0x430e23=>_0x23d4ac[_0x218de1(0x24f)](_0x430e23))),_0x189b82[_0x218de1(0x183)](_0xd7bdc8(()=>_0x23d4ac[_0x218de1(0x18f)]()));const _0x31b0db=new _0x360589();_0x189b82[_0x218de1(0x183)](_0x1e2ed2[_0x218de1(0x352)]['subscribe'](_0xa42fa6=>_0x31b0db[_0x218de1(0x24f)](_0xa42fa6))),_0x189b82[_0x218de1(0x183)](_0xd7bdc8(()=>_0x31b0db[_0x218de1(0x18f)]()));const _0x4680d7=new _0x360589();_0x189b82[_0x218de1(0x183)](_0x1e2ed2[_0x218de1(0x38c)]['subscribe'](_0x165480=>{var _0x46b311=_0x218de1;const _0x40b0da=xn(_0x165480);_0x4680d7[_0x46b311(0x24f)](_0x40b0da);})),_0x189b82[_0x218de1(0x183)](_0xd7bdc8(()=>_0x4680d7[_0x218de1(0x18f)]()));let _0x375a5a;const _0x3739f9=()=>{var _0x2b530d=_0x218de1;_0x31b0db['next'](new Event('connection\x20error')),_0x23d4ac[_0x2b530d(0x24f)](new Event(_0x2b530d(0x2be))),_0x375a5a[_0x2b530d(0x336)]();};return _0x375a5a={'memberID':'','close$':_0x23d4ac[_0x218de1(0x374)](),'error$':_0x31b0db[_0x218de1(0x374)](),'open$':_0x1e2ed2['open$'],'message$':_0x4680d7[_0x218de1(0x374)](),'send':_0x18d6af=>{var _0x434f83=_0x218de1;if(_0x18d6af[_0x434f83(0x22f)]===F['INGEST']){if(_0x18d6af[_0x434f83(0x2b4)][_0x434f83(0x3a1)]===_0x289bc7['SUBMIT_CHANGESET']){this[_0x434f83(0x371)](_0x375a5a,_0x18d6af[_0x434f83(0x2b4)])[_0x434f83(0x16a)](_0x48d5c1=>{var _0x3bade0=_0x434f83;this[_0x3bade0(0x381)][_0x3bade0(0x168)](_0x48d5c1),_0x3739f9();});return;}if(_0x18d6af[_0x434f83(0x2b4)][_0x434f83(0x3a1)]===_0x289bc7[_0x434f83(0x20e)]){const _0x6f68db=_0x18d6af[_0x434f83(0x2b4)];this[_0x434f83(0xed)](_0x6f68db)[_0x434f83(0x221)](_0x46f672=>{var _0x3e9149=_0x434f83;_0x4680d7[_0x3e9149(0x24f)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x6f68db[_0x3e9149(0x2b4)][_0x3e9149(0x1df)],'routeType':'','data':{'eventID':_0x289bc7['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x46f672}}});})[_0x434f83(0x16a)](_0x3a7aff=>{var _0x1b3318=_0x434f83;this[_0x1b3318(0x381)]['error'](_0x3a7aff),_0x3739f9();});return;}}_0x1e2ed2[_0x434f83(0xc5)](Ln(_0x18d6af));},'close':()=>{var _0x2b0676=_0x218de1;_0x1e2ed2[_0x2b0676(0x336)](),_0x189b82[_0x2b0676(0x1da)]();}},_0x375a5a;}async[_0x3c789f(0x371)](_0x97bcd1,_0x30d987){var _0x1ee39b=_0x3c789f,_0x1cb3d9,_0x12e231;const {unitType:_0x160569,unitID:_0x17e6a2,changeset:_0x482c17}=_0x30d987[_0x1ee39b(0x2b4)],_0x19504c={'unitID':_0x17e6a2,'memberID':_0x97bcd1[_0x1ee39b(0x1c2)],'type':_0x160569,'changeset':_0x1134a2(_0x482c17)},_0x26106f=this[_0x1ee39b(0x14e)][_0x1ee39b(0x199)](Nn),_0x3d80ac=this[_0x1ee39b(0x14e)]['getConfig'](q),_0x37c4d2=$n((_0x12e231=(_0x1cb3d9=_0x3d80ac==null?void 0x0:_0x3d80ac[_0x1ee39b(0x301)])!=null?_0x1cb3d9:_0x26106f)!=null?_0x12e231:Dn,_0x160569,_0x17e6a2);try{await this[_0x1ee39b(0x25a)][_0x1ee39b(0x2db)](_0x37c4d2,{'body':_0x19504c});}catch(_0x154403){throw this[_0x1ee39b(0x381)][_0x1ee39b(0x168)](_0x1ee39b(0x359),'submit\x20changeset\x20error!'),_0x154403;}}async[_0x3c789f(0xed)](_0x508e60){var _0x451a7b=_0x3c789f;const {unitID:_0x20324e,from:_0x10c71d,to:_0x2bcabc,unitType:_0x221609}=_0x508e60['data'];return(await this['_snapshotServerService'][_0x451a7b(0x31e)]({'metadata':void 0x0},{'unitID':_0x20324e,'type':_0x221609,'from':_0x10c71d,'to':_0x2bcabc}))[_0x451a7b(0x10f)];}};Gt=kn([we(0x0,_0x4fc040(_0x2128d8)),we(0x1,_0x4fc040(_0x94c21e)),we(0x2,_0x231c4a),we(0x3,_0x251932),we(0x4,_0x10a404)],Gt);const Hn=_0x3c789f(0x38b);function Bn(_0xdbd1e3){var _0x7b7cc5=_0x3c789f;return JSON[_0x7b7cc5(0xc6)](_0xdbd1e3)[_0x7b7cc5(0x1b7)];}class Ti{constructor(){var _0x36b485=_0x3c789f;N(this,_0x36b485(0x2e4),new _0x360589()),N(this,_0x36b485(0x3a5),this[_0x36b485(0x2e4)][_0x36b485(0x374)]());}['onCommentUpdate'](_0x481e86){var _0x169156=_0x3c789f;this[_0x169156(0x2e4)]['next'](_0x481e86);}}var jn=Object[_0x3c789f(0x2a7)],Fn=(_0x10b5ff,_0x23ea32,_0x54dfe6,_0x3a88ff)=>{var _0x16f765=_0x3c789f;for(var _0x427260=_0x3a88ff>0x1?void 0x0:_0x3a88ff?jn(_0x23ea32,_0x54dfe6):_0x23ea32,_0xc5d2a0=_0x10b5ff[_0x16f765(0x1b7)]-0x1,_0x38321d;_0xc5d2a0>=0x0;_0xc5d2a0--)(_0x38321d=_0x10b5ff[_0xc5d2a0])&&(_0x427260=_0x38321d(_0x427260)||_0x427260);return _0x427260;},Wt=(_0x353fe7,_0x6a1c35)=>(_0x21c23e,_0x53ed02)=>_0x6a1c35(_0x21c23e,_0x53ed02,_0x353fe7);let xe=class extends _0x168e7b{constructor(_0x310dac,_0x72c62f){var _0x179fce=_0x3c789f;super(),N(this,_0x179fce(0x259),new Map()),N(this,'_roomCreated$',new _0x360589()),(this[_0x179fce(0x272)]=_0x310dac,this[_0x179fce(0x2d8)]=_0x72c62f,this[_0x179fce(0x1a4)](_0x3d63ad(this[_0x179fce(0x272)][_0x179fce(0x1e3)](_0x5c6970[_0x179fce(0x1d8)])[_0x179fce(0x197)](_0x7425b(_0x61be0a=>_0x61be0a['getUnitId']())),this[_0x179fce(0x272)][_0x179fce(0x1e3)](_0x5c6970['UNIVER_DOC'])['pipe'](_0x7425b(_0x4f6d5a=>_0x4f6d5a[_0x179fce(0x189)]())),this[_0x179fce(0x272)]['getTypeOfUnitDisposed$'](_0x5c6970['UNIVER_SLIDE'])[_0x179fce(0x197)](_0x7425b(_0x44dac0=>_0x44dac0[_0x179fce(0x189)]())))[_0x179fce(0x32f)](_0xb973c8=>this[_0x179fce(0x2f6)](_0xb973c8))));}[_0x3c789f(0x11f)](_0xa87fe2){var _0x3869ae=_0x3c789f;return this[_0x3869ae(0x259)][_0x3869ae(0x166)](_0xa87fe2)?_0xaed033(this[_0x3869ae(0x259)][_0x3869ae(0x160)](_0xa87fe2)):this[_0x3869ae(0x2d3)][_0x3869ae(0x197)](_0x7425b(_0x5223f5=>{var _0x57d27c=_0x3869ae;if(_0x5223f5===_0xa87fe2)return this['_roomMembers'][_0x57d27c(0x160)](_0x5223f5);}));}[_0x3c789f(0x24e)](_0x1e1b7f){var _0x1210d1=_0x3c789f;this[_0x1210d1(0x2d8)]['setCurrentUser'](_0x1e1b7f);}['getCurrentUser'](){var _0x2a233a=_0x3c789f;return this[_0x2a233a(0x2d8)][_0x2a233a(0x249)]();}[_0x3c789f(0x29f)](_0x23ee94,_0x1edba1){var _0x31f6bb=_0x3c789f;let _0x1f7a34=this[_0x31f6bb(0x259)][_0x31f6bb(0x160)](_0x23ee94);_0x1f7a34||(_0x1f7a34=new Vn(),this['_roomMembers'][_0x31f6bb(0xd6)](_0x23ee94,_0x1f7a34),this[_0x31f6bb(0x2d3)][_0x31f6bb(0x24f)](_0x23ee94)),_0x1f7a34[_0x31f6bb(0x29f)](_0x1edba1);}['removeMember'](_0x41e6f4,_0x2a1b36){var _0x420198=_0x3c789f;const _0x286947=this['_roomMembers'][_0x420198(0x160)](_0x41e6f4);_0x286947&&_0x286947[_0x420198(0x2e2)](_0x2a1b36);}[_0x3c789f(0x2cb)](_0x2b2c69){var _0x56bf85=_0x3c789f;return this[_0x56bf85(0x259)][_0x56bf85(0x160)](_0x2b2c69);}['getMember'](_0x5c685e,_0x439a74){var _0x1ffa46=_0x3c789f;const _0x1d21bc=this['_roomMembers'][_0x1ffa46(0x160)](_0x5c685e);if(_0x1d21bc)return _0x1d21bc[_0x1ffa46(0x23b)](_0x439a74);}[_0x3c789f(0x2f6)](_0x4db046){var _0x434e7d=_0x3c789f;const _0x51b4ea=this['_roomMembers']['get'](_0x4db046);_0x51b4ea&&(_0x51b4ea['dispose'](),this[_0x434e7d(0x259)]['delete'](_0x4db046));}[_0x3c789f(0x1da)](){var _0x52cb6c=_0x3c789f;this[_0x52cb6c(0x259)][_0x52cb6c(0x14d)](_0x578461=>_0x578461[_0x52cb6c(0x1da)]()),this[_0x52cb6c(0x259)][_0x52cb6c(0x112)](),this[_0x52cb6c(0x2d3)]['complete']();}};xe=Fn([Wt(0x0,_0x494e3d),Wt(0x1,_0x4fc040(_0x2b9328))],xe);class Vn extends _0x168e7b{constructor(){var _0x1c542d=_0x3c789f;super(...arguments),N(this,_0x1c542d(0xc1),new Map()),N(this,_0x1c542d(0x133),new _0xe9c642(this['_members'])),N(this,_0x1c542d(0x1e0),this['_members$'][_0x1c542d(0x374)]());}[_0x3c789f(0x1da)](){var _0x5def61=_0x3c789f;this[_0x5def61(0xc1)][_0x5def61(0x112)]();}['updateMember'](_0x57ffff){var _0x5db722=_0x3c789f;this[_0x5db722(0xc1)][_0x5db722(0xd6)](_0x57ffff[_0x5db722(0x1c2)],_0x57ffff),this['_emitMembers']();}[_0x3c789f(0x2e2)](_0x394ccb){var _0x654880=_0x3c789f;this[_0x654880(0xc1)]['delete'](_0x394ccb);}[_0x3c789f(0x23b)](_0x4bd6cb){return this['_members']['get'](_0x4bd6cb);}[_0x3c789f(0x14a)](){var _0x5c1fbd=_0x3c789f;return Array[_0x5c1fbd(0x226)](this[_0x5c1fbd(0xc1)][_0x5c1fbd(0x201)]());}['_emitMembers'](){var _0x475150=_0x3c789f;this[_0x475150(0x133)][_0x475150(0x24f)](this[_0x475150(0xc1)]);}}var Gn=Object[_0x3c789f(0x2a7)],Wn=(_0x1d703e,_0xf490e9,_0x7666bf,_0x4f809c)=>{var _0x54d271=_0x3c789f;for(var _0x37ad0d=_0x4f809c>0x1?void 0x0:_0x4f809c?Gn(_0xf490e9,_0x7666bf):_0xf490e9,_0x143614=_0x1d703e[_0x54d271(0x1b7)]-0x1,_0x3bcd64;_0x143614>=0x0;_0x143614--)(_0x3bcd64=_0x1d703e[_0x143614])&&(_0x37ad0d=_0x3bcd64(_0x37ad0d)||_0x37ad0d);return _0x37ad0d;},me=(_0x2890d3,_0x2f3fa7)=>(_0x176db8,_0x2258bc)=>_0x2f3fa7(_0x176db8,_0x2258bc,_0x2890d3),Ee=(_0x32ad0d=>(_0x32ad0d[_0x32ad0d[_0x3c789f(0xde)]=0x0]=_0x3c789f(0xde),_0x32ad0d[_0x32ad0d[_0x3c789f(0x15b)]=0x1]=_0x3c789f(0x15b),_0x32ad0d[_0x32ad0d['OFFLINE']=0x2]=_0x3c789f(0x2f0),_0x32ad0d[_0x32ad0d[_0x3c789f(0x351)]=0x3]='ONLINE',_0x32ad0d))(Ee||{});const Kt={[ge[_0x3c789f(0x38a)]]:_0x3c789f(0x29a),[ge[_0x3c789f(0x234)]]:_0x3c789f(0x192),[ge[_0x3c789f(0x3ae)]]:_0x3c789f(0x29c),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x3c789f(0x254),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3c789f(0x326)};let Et=class extends _0x319a90{constructor(_0x1d8a64,_0x5c7c38,_0x33adff,_0x5b8b2d,_0x28995d,_0x833a12,_0x2c5368,_0xa0fef6,_0x539693){var _0x59f521=_0x3c789f;super(),N(this,_0x59f521(0x33b),new _0xe9c642(0x0)),N(this,_0x59f521(0x22e),this[_0x59f521(0x33b)][_0x59f521(0x374)]()),N(this,_0x59f521(0x334),new _0x360589()),N(this,_0x59f521(0x179),this[_0x59f521(0x334)]['asObservable']()),N(this,_0x59f521(0x245)),N(this,_0x59f521(0x32e)),N(this,_0x59f521(0x379)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x59f521(0x15a),null),(this['_unitID']=_0x1d8a64,this[_0x59f521(0x381)]=_0x33adff,this[_0x59f521(0x14e)]=_0x5b8b2d,this[_0x59f521(0x18e)]=_0x28995d,this[_0x59f521(0x149)]=_0x833a12,this['_commentService']=_0x2c5368,this[_0x59f521(0xfe)]=_0xa0fef6,this[_0x59f521(0x161)]=_0x539693,this[_0x59f521(0xc4)]=!!this[_0x59f521(0x161)],_0x5c7c38[_0x59f521(0x197)](_0x414015(this[_0x59f521(0xd2)]))[_0x59f521(0x32f)](_0x1177d0=>{var _0x845292=_0x59f521,_0x18445d;typeof _0x1177d0>'u'||(this[_0x845292(0x245)]=_0x1177d0,_0x1177d0?(this[_0x845292(0x1e8)](_0x1177d0),this['_socketMessageSubscription']=_0x1177d0[_0x845292(0x38c)]['subscribe'](_0x1b647b=>{var _0x18b2c7=_0x845292;_0x1b647b['routeKey']===this[_0x18b2c7(0x312)]&&this[_0x18b2c7(0x2b7)](_0x1b647b);})):(this[_0x845292(0x35a)](),this[_0x845292(0x33b)]['next'](0x2),(_0x18445d=this['_socketMessageSubscription'])==null||_0x18445d[_0x845292(0x222)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x1bab3e=_0x3c789f;return this[_0x1bab3e(0x33b)][_0x1bab3e(0x2c0)]();}['getMemberID'](){var _0x21ded9=_0x3c789f,_0x80ce82,_0x23f6b4;return(_0x23f6b4=(_0x80ce82=this[_0x21ded9(0x245)])==null?void 0x0:_0x80ce82[_0x21ded9(0x1c2)])!=null?_0x23f6b4:null;}['dispose'](){var _0x2a3c83=_0x3c789f;super[_0x2a3c83(0x1da)](),this[_0x2a3c83(0xd2)]['next'](),this[_0x2a3c83(0xd2)][_0x2a3c83(0x18f)]();}[_0x3c789f(0x336)](){var _0x1ceb6a=_0x3c789f,_0x267c5a,_0x568798;this[_0x1ceb6a(0x35a)](),(_0x267c5a=this[_0x1ceb6a(0x245)])==null||_0x267c5a['send']({'cmd':F[_0x1ceb6a(0x28a)],'data':{'roomID':this[_0x1ceb6a(0x312)]}}),(_0x568798=this[_0x1ceb6a(0x245)])==null||_0x568798['close'](),this[_0x1ceb6a(0x334)][_0x1ceb6a(0x18f)](),this[_0x1ceb6a(0x33b)][_0x1ceb6a(0x18f)](),this[_0x1ceb6a(0x1da)]();}[_0x3c789f(0x2b7)](_0x3c5c0e){var _0xed58b4=_0x3c789f;_0x3c5c0e[_0xed58b4(0x22f)]===F[_0xed58b4(0x14c)]?this[_0xed58b4(0x3ad)](_0x3c5c0e):_0x3c5c0e['cmd']===F['RECV']&&this[_0xed58b4(0x143)](_0x3c5c0e);}[_0x3c789f(0x1e8)](_0x241eb3){var _0x327549=_0x3c789f;this[_0x327549(0x33b)][_0x327549(0x24f)](0x1),_0x241eb3[_0x327549(0xc5)]({'cmd':F[_0x327549(0x14c)],'routeKey':this[_0x327549(0x312)],'routeType':'','data':{'rooms':[{'roomID':this[_0x327549(0x312)]}]}});}[_0x3c789f(0x3ad)](_0x263fbe){var _0x557e20=_0x3c789f,_0x42f237;if(_0x263fbe['code']in Kt){this[_0x557e20(0xfe)][_0x557e20(0xe6)]({'id':se[_0x557e20(0x1b6)],'data':Kt[_0x263fbe[_0x557e20(0x1c7)]]}),this['_sessionStatus$'][_0x557e20(0x24f)](0x2);return;}this[_0x557e20(0x33b)][_0x557e20(0x24f)](0x3);const _0x1d0bf9=(_0x42f237=_0x263fbe['data'][_0x557e20(0x190)][this[_0x557e20(0x312)]])==null?void 0x0:_0x42f237[_0x557e20(0x126)];_0x1d0bf9&&_0x1d0bf9['forEach'](_0x5acc47=>this['_memberService']['updateMember'](this[_0x557e20(0x312)],_0x5acc47));}[_0x3c789f(0x143)](_0x569d03){var _0x13eae4=_0x3c789f;try{const _0x4a6bd5=_0x569d03[_0x13eae4(0x2b4)];switch(_0x4a6bd5['eventID']){case _0x289bc7[_0x13eae4(0x171)]:this['_onUserJoin'](_0x4a6bd5),this['_event$']['next'](_0x4a6bd5);break;case _0x289bc7[_0x13eae4(0x137)]:this[_0x13eae4(0x331)](_0x4a6bd5),this['_event$'][_0x13eae4(0x24f)](_0x4a6bd5);break;case _0x289bc7[_0x13eae4(0x1cf)]:case _0x289bc7['CHANGESET_SHOULD_RETRY']:this[_0x13eae4(0xdf)](),this[_0x13eae4(0x1c5)](),this['_event$'][_0x13eae4(0x24f)](_0x4a6bd5);break;case _0x289bc7[_0x13eae4(0x1fd)]:this['_logService']['error'](_0x13eae4(0x330)+JSON[_0x13eae4(0xc6)](_0x4a6bd5)),this[_0x13eae4(0x334)][_0x13eae4(0x24f)](_0x4a6bd5);break;case _0x289bc7[_0x13eae4(0x295)]:this[_0x13eae4(0x243)][_0x13eae4(0x17d)](_0x4a6bd5['data']),this[_0x13eae4(0x334)]['next'](_0x4a6bd5);break;default:this['_event$'][_0x13eae4(0x24f)](_0x4a6bd5);}}catch(_0x4284d4){this[_0x13eae4(0x381)]['error'](_0x4284d4,_0x569d03);}}[_0x3c789f(0x296)](_0x53390c){var _0x2fe38f=_0x3c789f;this['_memberService']['updateMember'](this['_unitID'],_0x53390c[_0x2fe38f(0x2b4)]);}[_0x3c789f(0x331)](_0x828f01){var _0x4da9f0=_0x3c789f;this[_0x4da9f0(0x149)][_0x4da9f0(0x2e2)](this[_0x4da9f0(0x312)],_0x828f01['data'][_0x4da9f0(0x1c2)]);}async[_0x3c789f(0xc5)](_0x3d208c,_0x2aef68){var _0x47c35f=_0x3c789f;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x47c35f(0xd0));try{_0x3d208c[_0x47c35f(0x3a1)]===_0x289bc7[_0x47c35f(0x1f3)]&&(this[_0x47c35f(0x2c9)](),this[_0x47c35f(0x382)](_0x3d208c)),this[_0x47c35f(0x245)][_0x47c35f(0xc5)]({'cmd':F[_0x47c35f(0x340)],'routeKey':_0x2aef68,'routeType':'','data':_0x3d208c});}catch(_0x21a1d7){this[_0x47c35f(0x381)]['error'](_0x21a1d7);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1b91e9=_0x3c789f,_0x51ab1d;this[_0x1b91e9(0x379)]=setTimeout(()=>{var _0x1761a3=_0x1b91e9;this[_0x1761a3(0x379)]=null,this[_0x1761a3(0xfe)][_0x1761a3(0xe6)]({'id':se[_0x1761a3(0x337)]});},(_0x51ab1d=this[_0x1b91e9(0x14e)][_0x1b91e9(0x199)](mi))!=null?_0x51ab1d:gi);}['_clearCollaborationTimeoutTimer'](){var _0x1c1390=_0x3c789f;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1c1390(0x379)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x327706){var _0xc6d434=_0x3c789f;if(!this[_0xc6d434(0xc4)])return;const {data:_0x2d0854}=_0x327706,{unitID:_0x5a7b72,changeset:_0x2a1a5b}=_0x2d0854,{mutations:_0x1cf1a7,type:_0xad50e0}=_0x2a1a5b;this[_0xc6d434(0x15a)]={'unitId':_0x5a7b72,'type':_0xad50e0,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x1cf1a7)};}[_0x3c789f(0xdf)](){var _0x55c78c=_0x3c789f;if(this[_0x55c78c(0xc4)]){if(!this[_0x55c78c(0x15a)]){this[_0x55c78c(0x381)][_0x55c78c(0x168)](_0x55c78c(0x359),_0x55c78c(0x1b0));return;}this['_telemetryInfo'][_0x55c78c(0x178)]=performance['now'](),this[_0x55c78c(0x15a)][_0x55c78c(0x193)]=this['_telemetryInfo'][_0x55c78c(0x178)]-this[_0x55c78c(0x15a)][_0x55c78c(0x1e5)],this[_0x55c78c(0x161)]['capture'](Hn,this[_0x55c78c(0x15a)]),this[_0x55c78c(0x15a)]=null;}}[_0x3c789f(0x35a)](){var _0x47c7fb=_0x3c789f;this[_0x47c7fb(0x15a)]=null;}};Et=Wn([me(0x2,_0x251932),me(0x3,_0x231c4a),me(0x4,_0x4fc040(_0x3814c5)),me(0x5,_0x4fc040(xe)),me(0x6,_0x4fc040(Ti)),me(0x7,_0x4fc040(pe)),me(0x8,_0x30404e(_0x4457bb))],Et);var Kn=Object[_0x3c789f(0x2a7)],Yn=(_0xbd3386,_0x65b962,_0x5c005d,_0x4e99de)=>{for(var _0x3d7004=_0x4e99de>0x1?void 0x0:_0x4e99de?Kn(_0x65b962,_0x5c005d):_0x65b962,_0x499657=_0xbd3386['length']-0x1,_0x3e8fee;_0x499657>=0x0;_0x499657--)(_0x3e8fee=_0xbd3386[_0x499657])&&(_0x3d7004=_0x3e8fee(_0x3d7004)||_0x3d7004);return _0x3d7004;},be=(_0x248567,_0x4d9337)=>(_0x1a1028,_0x59cee0)=>_0x4d9337(_0x1a1028,_0x59cee0,_0x248567);let Le=class extends _0x168e7b{constructor(_0x4e0553,_0x12a796,_0x3b0d03,_0x34bc83,_0x214965,_0x428d87){var _0x3efadd=_0x3c789f;super(),N(this,_0x3efadd(0x282),new _0xe9c642(void 0x0)),N(this,_0x3efadd(0x32d),this[_0x3efadd(0x282)][_0x3efadd(0x374)]()),N(this,_0x3efadd(0x384),null),N(this,'_sessions',new Map()),N(this,_0x3efadd(0x10c),new _0xe9c642(Ee[_0x3efadd(0xde)])),N(this,'status$',this[_0x3efadd(0x10c)]['asObservable']()),N(this,_0x3efadd(0x148),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x3efadd(0x37b),0x0),N(this,_0x3efadd(0x2da)),N(this,_0x3efadd(0x29e)),(this[_0x3efadd(0x24d)]=_0x4e0553,this['_logService']=_0x12a796,this['_configService']=_0x3b0d03,this[_0x3efadd(0x13a)]=_0x34bc83,this[_0x3efadd(0xfe)]=_0x214965,this[_0x3efadd(0x215)]=_0x428d87,this[_0x3efadd(0x361)]());}get[_0x3c789f(0x245)](){return this['_socket$']['getValue']();}[_0x3c789f(0x361)](){var _0x37dac8=_0x3c789f;this[_0x37dac8(0x215)]&&this[_0x37dac8(0x1a4)](this[_0x37dac8(0x215)][_0x37dac8(0x117)][_0x37dac8(0x32f)](_0x41af70=>{var _0x503d42=_0x37dac8;_0x41af70&&!this[_0x503d42(0x245)]&&this['reconnect'](),_0x41af70||this[_0x503d42(0x125)]();}));}[_0x3c789f(0x1da)](){var _0x43447e=_0x3c789f;super[_0x43447e(0x1da)](),this[_0x43447e(0x2c4)](),this[_0x43447e(0x2ed)](),this[_0x43447e(0x1eb)](),this[_0x43447e(0x1b1)][_0x43447e(0x14d)](_0x3f234e=>_0x3f234e['dispose']()),this[_0x43447e(0x1b1)][_0x43447e(0x112)](),this[_0x43447e(0x10c)]['complete']();}async[_0x3c789f(0x170)](_0x37bb8f){var _0xf16341=_0x3c789f;if(this[_0xf16341(0x1b1)][_0xf16341(0x166)](_0x37bb8f))return this[_0xf16341(0x1b1)][_0xf16341(0x160)](_0x37bb8f);this[_0xf16341(0x1f5)]();const _0x3906c6=this[_0xf16341(0x24d)][_0xf16341(0x157)](Et,_0x37bb8f,this[_0xf16341(0x282)]['asObservable']());return this['_sessions'][_0xf16341(0xd6)](_0x37bb8f,_0x3906c6),_0x3906c6;}['closeSession'](_0x3c9b6f){var _0x2f7b2d=_0x3c789f,_0x193575;const _0x506200=this['_sessions'][_0x2f7b2d(0x160)](_0x3c9b6f);_0x506200&&(this[_0x2f7b2d(0x1b1)][_0x2f7b2d(0xbc)](_0x3c9b6f),_0x506200['close']()),this[_0x2f7b2d(0x1b1)][_0x2f7b2d(0x372)]||(_0x193575=this[_0x2f7b2d(0x245)])==null||_0x193575['close']();}[_0x3c789f(0x2b6)](){var _0x1c0b5f=_0x3c789f;this['_retryCount']=0x0,this[_0x1c0b5f(0x2c4)](),this[_0x1c0b5f(0x231)]();}[_0x3c789f(0x2c4)](){var _0x9e2e80=_0x3c789f;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x9e2e80(0xff)]),this[_0x9e2e80(0xff)]=null);}async['_createSocket'](){var _0x4212d6=_0x3c789f,_0x355ac6,_0x48d8e0;const _0x2319ec=this[_0x4212d6(0x14e)]['getConfig'](In),_0x4b5ab1=this[_0x4212d6(0x14e)][_0x4212d6(0x199)](q),_0x42dd73=(_0x48d8e0=(_0x355ac6=_0x4b5ab1==null?void 0x0:_0x4b5ab1[_0x4212d6(0x16f)])!=null?_0x355ac6:_0x2319ec)!=null?_0x48d8e0:Tn,_0x25a844=await this['_socketService'][_0x4212d6(0x1be)](_0x42dd73);return this['_candidateSocket']=_0x25a844,_0x25a844;}async[_0x3c789f(0x1f5)](){var _0x1776d0=_0x3c789f,_0x46e0b3,_0x2db1ec;try{const _0x4ba24e=(_0x2db1ec=(_0x46e0b3=this[_0x1776d0(0x245)])!=null?_0x46e0b3:this[_0x1776d0(0x384)])!=null?_0x2db1ec:await this[_0x1776d0(0x2e8)]();if(_0x4ba24e){const _0xfacf4a=_0x4ba24e[_0x1776d0(0xc5)];_0x4ba24e[_0x1776d0(0xc5)]=_0x33b0fa=>(this['_rescheduleHeartbeat'](),_0xfacf4a[_0x1776d0(0x219)](_0x4ba24e,[_0x33b0fa])),_0x4ba24e[_0x1776d0(0x38c)][_0x1776d0(0x32f)](_0x5b6598=>this[_0x1776d0(0x24c)](_0x4ba24e,_0x5b6598)),_0x4ba24e['error$'][_0x1776d0(0x197)](_0x321ea3(0x1))[_0x1776d0(0x32f)](_0x14fbe4=>this['_logService'][_0x1776d0(0x168)]('[CollaborationSessionService]:\x20socket\x20error',_0x14fbe4)),_0x4ba24e[_0x1776d0(0x3b3)]['pipe'](_0x321ea3(0x1))['subscribe'](()=>{var _0x22edef=_0x1776d0;this[_0x22edef(0x1d1)](_0x4ba24e);}),_0x4ba24e['close$'][_0x1776d0(0x197)](_0x321ea3(0x1))['subscribe'](_0x489963=>{var _0x8bfee3=_0x1776d0;this[_0x8bfee3(0x381)][_0x8bfee3(0x327)](_0x8bfee3(0x22b),_0x8bfee3(0x31f),_0x489963),this['_onConnectionFailed']();});}}catch(_0x411d68){this[_0x1776d0(0x381)][_0x1776d0(0x168)](_0x411d68),this[_0x1776d0(0x127)]();}}[_0x3c789f(0x1d1)](_0x14b51c){var _0xb0fc3e=_0x3c789f;this['_logService'][_0xb0fc3e(0x327)](_0xb0fc3e(0x22b),'socket\x20open.'),_0x14b51c['send']({'cmd':F['HELLO']}),this[_0xb0fc3e(0x2a6)]();}[_0x3c789f(0x125)](){var _0x2c4c4d=_0x3c789f;this[_0x2c4c4d(0x148)]=!0x1,this['_candidateSocket']=null,this[_0x2c4c4d(0x10c)]['next'](Ee['OFFLINE']),this[_0x2c4c4d(0x282)][_0x2c4c4d(0x24f)](null),this[_0x2c4c4d(0x2ed)](),this[_0x2c4c4d(0x1eb)]();}[_0x3c789f(0x127)](){var _0x3f8136=_0x3c789f,_0x1f7e13;this[_0x3f8136(0x125)](),this[_0x3f8136(0x37b)]<((_0x1f7e13=this[_0x3f8136(0x14e)][_0x3f8136(0x199)](yn))!=null?_0x1f7e13:On)?(this[_0x3f8136(0xfe)][_0x3f8136(0xe6)]({'id':se[_0x3f8136(0x287)]}),this[_0x3f8136(0x231)]()):this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x3c789f(0x231)](){var _0x449aca=_0x3c789f,_0x21e391;const _0xb41123=this[_0x449aca(0x37b)],_0x56e9f6=this[_0x449aca(0x14e)][_0x449aca(0x199)](q),_0x2891b4=_0xb41123===0x0?0x0:((_0x21e391=_0x56e9f6==null?void 0x0:_0x56e9f6[_0x449aca(0x1a8)])!=null?_0x21e391:bn)*0x2**_0xb41123;this[_0x449aca(0xff)]=setTimeout(()=>{var _0x14995e=_0x449aca;clearTimeout(this[_0x14995e(0xff)]),this[_0x14995e(0xff)]=null,this[_0x14995e(0x1f5)]();},_0x2891b4),this[_0x449aca(0x37b)]+=0x1;}[_0x3c789f(0x24c)](_0x19a783,_0xdfb1da){var _0x5f1847=_0x3c789f;const {cmd:_0x542dc6}=_0xdfb1da;_0x542dc6===F['HELLO']&&!this[_0x5f1847(0x148)]&&(_0x19a783[_0x5f1847(0x1c2)]=_0xdfb1da[_0x5f1847(0x2b4)][_0x5f1847(0x1c2)],this[_0x5f1847(0x282)]['next'](_0x19a783),this[_0x5f1847(0x10c)][_0x5f1847(0x24f)](Ee[_0x5f1847(0x351)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x542dc6===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x5f1847(0x2a6)]();}['_rescheduleHeartbeat'](){var _0x438a80=_0x3c789f,_0x5e78aa;this[_0x438a80(0x1eb)](),this[_0x438a80(0x2da)]=setTimeout(()=>this[_0x438a80(0x206)](),(_0x5e78aa=this[_0x438a80(0x14e)][_0x438a80(0x199)](Cn))!=null?_0x5e78aa:Rn);}[_0x3c789f(0x206)](){var _0x422032=_0x3c789f;this[_0x422032(0x245)][_0x422032(0xc5)]({'cmd':F[_0x422032(0x239)]}),this['_waitForHeartbeatResponse']();}[_0x3c789f(0x2d6)](){var _0x2fe470=_0x3c789f,_0x59de4e;this[_0x2fe470(0x29e)]=setTimeout(()=>this[_0x2fe470(0x127)](),(_0x59de4e=this[_0x2fe470(0x14e)][_0x2fe470(0x199)](mi))!=null?_0x59de4e:gi);}['_clearHeartbeatTimer'](){var _0x2b1403=_0x3c789f;this[_0x2b1403(0x2da)]!=null&&(clearTimeout(this[_0x2b1403(0x2da)]),this[_0x2b1403(0x2da)]=null);}['_clearTimeoutTimer'](){var _0x72f35a=_0x3c789f;this[_0x72f35a(0x29e)]!=null&&(clearTimeout(this[_0x72f35a(0x29e)]),this[_0x72f35a(0x29e)]=null);}};Le=Yn([be(0x0,_0x4fc040(_0x2128d8)),be(0x1,_0x251932),be(0x2,_0x231c4a),be(0x3,Ii),be(0x4,_0x4fc040(pe)),be(0x5,_0x30404e(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x3c789f(0x1c3)]((t+0x100)['toString'](0x10)[_0x3c789f(0xc7)](0x1));function qn(_0x50c861,_0x1d23b7=0x0){var _0x523034=_0x3c789f;return(V[_0x50c861[_0x1d23b7+0x0]]+V[_0x50c861[_0x1d23b7+0x1]]+V[_0x50c861[_0x1d23b7+0x2]]+V[_0x50c861[_0x1d23b7+0x3]]+'-'+V[_0x50c861[_0x1d23b7+0x4]]+V[_0x50c861[_0x1d23b7+0x5]]+'-'+V[_0x50c861[_0x1d23b7+0x6]]+V[_0x50c861[_0x1d23b7+0x7]]+'-'+V[_0x50c861[_0x1d23b7+0x8]]+V[_0x50c861[_0x1d23b7+0x9]]+'-'+V[_0x50c861[_0x1d23b7+0xa]]+V[_0x50c861[_0x1d23b7+0xb]]+V[_0x50c861[_0x1d23b7+0xc]]+V[_0x50c861[_0x1d23b7+0xd]]+V[_0x50c861[_0x1d23b7+0xe]]+V[_0x50c861[_0x1d23b7+0xf]])[_0x523034(0x305)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3c736e=_0x3c789f;if(!ut){if(typeof crypto>'u'||!crypto[_0x3c736e(0x398)])throw new Error(_0x3c736e(0xce));ut=crypto['getRandomValues'][_0x3c736e(0x11c)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x3c789f(0x34d)]&&crypto[_0x3c789f(0x34d)][_0x3c789f(0x11c)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3e46eb,_0x3c15aa,_0xb61a97){var _0x4ab70f=_0x3c789f,_0x2a9cf4,_0x586673,_0x1c6dad;if(Yt['randomUUID']&&!_0x3e46eb)return Yt[_0x4ab70f(0x34d)]();_0x3e46eb=_0x3e46eb||{};const _0x5c6ed2=(_0x1c6dad=(_0x586673=_0x3e46eb['random'])!=null?_0x586673:(_0x2a9cf4=_0x3e46eb[_0x4ab70f(0x260)])==null?void 0x0:_0x2a9cf4[_0x4ab70f(0x176)](_0x3e46eb))!=null?_0x1c6dad:Jn();if(_0x5c6ed2['length']<0x10)throw new Error(_0x4ab70f(0x378));return _0x5c6ed2[0x6]=_0x5c6ed2[0x6]&0xf|0x40,_0x5c6ed2[0x8]=_0x5c6ed2[0x8]&0x3f|0x80,qn(_0x5c6ed2);}const J=_0x1cc36c('collaboration-client.local-cache-service');function Bs(_0x4bfe52){var _0x2d4821=_0x3c789f;return _0x2d4821(0xd5)+_0x4bfe52;}var Qn=Object[_0x3c789f(0x2a7)],er=(_0x2c30ea,_0x225863,_0x19a19b,_0x3d4ab7)=>{var _0x15ae09=_0x3c789f;for(var _0xf1106b=_0x3d4ab7>0x1?void 0x0:_0x3d4ab7?Qn(_0x225863,_0x19a19b):_0x225863,_0x3350b4=_0x2c30ea[_0x15ae09(0x1b7)]-0x1,_0x53b918;_0x3350b4>=0x0;_0x3350b4--)(_0x53b918=_0x2c30ea[_0x3350b4])&&(_0xf1106b=_0x53b918(_0xf1106b)||_0xf1106b);return _0xf1106b;},dt=(_0x4f3c35,_0x54f581)=>(_0x3cdd7e,_0x236551)=>_0x54f581(_0x3cdd7e,_0x236551,_0x4f3c35);function tr(_0x2f5ca0){var _0x733954=_0x3c789f;const {unitID:_0x277959,mutations:_0x172edc}=_0x2f5ca0;return{'unitId':_0x277959,'subUnitId':_0x172edc[0x0][_0x733954(0xf4)]['subUnitId']};}let it=class{constructor(_0x1b04b5,_0xb2da10,_0x1dd331){var _0x43aa52=_0x3c789f;this[_0x43aa52(0x24d)]=_0x1b04b5,this[_0x43aa52(0x1cc)]=_0xb2da10,this[_0x43aa52(0x213)]=_0x1dd331;}['transformSelections'](_0x46b8f0){var _0x6ce246=_0x3c789f,_0x52a2ca,_0x528673,_0x11d694,_0x1e8101;const _0x53b87e=this[_0x6ce246(0x24d)]['get'](_0xac4159),{unitId:_0x2dd2e2,subUnitId:_0x461fef}=tr(_0x46b8f0),_0x591cff=_0x53b87e==null?void 0x0:_0x53b87e[_0x6ce246(0x24b)](_0x2dd2e2)[_0x6ce246(0x2b5)](),_0x283c8a=(_0x528673=(_0x52a2ca=this[_0x6ce246(0x213)][_0x6ce246(0x102)](_0x2dd2e2))==null?void 0x0:_0x52a2ca[_0x6ce246(0x2bd)]())==null?void 0x0:_0x528673[_0x6ce246(0x297)]();if(_0x591cff[_0x6ce246(0x1b7)]===0x0||!_0x2dd2e2||!_0x461fef)return;const _0x430500=[{'id':_0x139171['id'],'params':{'unitId':_0x2dd2e2,'subUnitId':_0x283c8a,'selections':_0x94d80a[_0x6ce246(0xd7)](_0x591cff)}}],_0x4da3d8=this[_0x6ce246(0x1cc)]['transformMutationsWithChangeset'](_0x46b8f0,_0x430500);if(!_0x343bb2(_0x4da3d8))throw _0x4da3d8['error'];const _0x2a6b02=(_0x1e8101=(_0x11d694=_0x4da3d8['m2Prime'][0x0])==null?void 0x0:_0x11d694['params'])==null?void 0x0:_0x1e8101[_0x6ce246(0x2b2)];if(Array['isArray'](_0x2a6b02)&&_0x2a6b02[_0x6ce246(0x1b7)]){if(_0x2a6b02[_0x6ce246(0x1b7)]===_0x430500[0x0]['params'][_0x6ce246(0x2b2)]['length']&&_0x2a6b02['every']((_0x29ded7,_0x178ad6)=>_0x5e0151[_0x6ce246(0x18b)](_0x29ded7[_0x6ce246(0x184)],_0x430500[0x0][_0x6ce246(0xf4)][_0x6ce246(0x2b2)][_0x178ad6][_0x6ce246(0x184)])))return;this[_0x6ce246(0x24d)][_0x6ce246(0x160)](_0x1e6fb2)[_0x6ce246(0x11b)](_0x139171['id'],{'unitId':_0x2dd2e2,'subUnitId':_0x283c8a,'selections':_0x2a6b02});}}};it=er([dt(0x0,_0x4fc040(_0x2128d8)),dt(0x1,_0x3e7636),dt(0x2,_0x494e3d)],it);const ht=_0x1cc36c(_0x3c789f(0x270));var Ci=(_0x4a1394=>(_0x4a1394[_0x4a1394[_0x3c789f(0x1a3)]=0x0]=_0x3c789f(0x1a3),_0x4a1394[_0x4a1394[_0x3c789f(0x26e)]=0x1]=_0x3c789f(0x26e),_0x4a1394))(Ci||{});const ir=new Set([_0x301039['id']]);function qt(_0x510bde,_0x5360eb,_0x17f9e2,_0x339bfe,_0x30014a){var _0x5372e7=_0x3c789f,_0x381cc0,_0x27c686,_0x35f120,_0xf7ac69;const _0x3bfdf6=[];for(const _0x4e286e of _0x510bde)if(ir['has'](_0x4e286e['id'])){if(_0x3bfdf6['length']>0x0)break;_0x3bfdf6[_0x5372e7(0x1c3)](_0x4e286e);break;}else _0x3bfdf6['push'](_0x4e286e);const _0x1bd5f9=(_0x27c686=(_0x381cc0=_0x30014a[_0x5372e7(0x249)]())==null?void 0x0:_0x381cc0[_0x5372e7(0x261)])!=null?_0x27c686:_0x5372e7(0x167),_0x42f09e=(_0xf7ac69=(_0x35f120=_0x30014a[_0x5372e7(0x249)]())==null?void 0x0:_0x35f120[_0x5372e7(0x1c2)])!=null?_0xf7ac69:'unknown';return{'changeset':{'unitID':_0x5360eb,'type':_0x66dbfd(_0x17f9e2[_0x5372e7(0x2ac)](_0x5360eb)),'baseRev':_0x339bfe['getCurrentRevOfUnit'](_0x5360eb),'revision':0x0,'userID':_0x1bd5f9,'memberID':_0x42f09e,'mutations':_0x3bfdf6},'pendingMutations':_0x510bde[_0x5372e7(0xc7)](_0x3bfdf6[_0x5372e7(0x1b7)])};}function nr(_0x5d602a,_0x345707,_0x30ced7,_0x5067a6,_0x3ea064){var _0x432c2a=_0x3c789f,_0x2bc2b5,_0x1de28,_0x292254,_0x480cd6;const _0x8d8d83=[_0x5d602a[_0x432c2a(0x2f3)]((_0x29fc4f,_0x3b1f0a)=>{var _0x344f70=_0x432c2a,_0x59da00;const {id:_0x58d0f7}=_0x29fc4f,{id:_0x7594a0,type:_0x82f02e}=_0x3b1f0a,_0x4d373b=(_0x59da00=_0x29fc4f[_0x344f70(0xf4)])!=null?_0x59da00:{'actions':null},_0x7cf45d=_0x3b1f0a[_0x344f70(0xf4)];if(_0x58d0f7&&_0x58d0f7!==_0x7594a0)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x58d0f7+'\x20-\x20'+_0x7594a0+'.');return{..._0x29fc4f,'id':_0x7594a0,'type':_0x82f02e,'params':{'unitId':_0x7cf45d['unitId'],'textRanges':_0x7cf45d['textRanges'],'actions':_0xc35520[_0x344f70(0x1ba)](_0x4d373b[_0x344f70(0x18d)],_0x7cf45d[_0x344f70(0x18d)])}};},{})],_0x2e522b=(_0x1de28=(_0x2bc2b5=_0x3ea064[_0x432c2a(0x249)]())==null?void 0x0:_0x2bc2b5[_0x432c2a(0x261)])!=null?_0x1de28:_0x432c2a(0x167),_0x346d6a=(_0x480cd6=(_0x292254=_0x3ea064[_0x432c2a(0x249)]())==null?void 0x0:_0x292254['memberID'])!=null?_0x480cd6:_0x432c2a(0x167);return{'changeset':{'unitID':_0x345707,'type':_0x66dbfd(_0x30ced7[_0x432c2a(0x2ac)](_0x345707)),'baseRev':_0x5067a6['getCurrentRevOfUnit'](_0x345707),'revision':0x0,'userID':_0x2e522b,'memberID':_0x346d6a,'mutations':_0x8d8d83},'pendingMutations':[]};}function Ri(_0x4af1bc,_0x1920c2){var _0x1b52a4=_0x3c789f;const _0x5bc691=new _0x2e1422(0x1);return setTimeout(()=>_0x5bc691[_0x1b52a4(0x24f)](_0x1920c2),_0x4af1bc),_0x5bc691[_0x1b52a4(0x374)]()['pipe'](_0x1f75e5(0x1));}const rr={'id':_0x5652c2['id'],'type':_0x5a5a14[_0x3c789f(0xe0)],'params':{}};var sr=Object[_0x3c789f(0x2a7)],Te=(_0x25c60e,_0x12f60c,_0x36f22c,_0x17e3f2)=>{for(var _0x1a5ec2=_0x17e3f2>0x1?void 0x0:_0x17e3f2?sr(_0x12f60c,_0x36f22c):_0x12f60c,_0x36d205=_0x25c60e['length']-0x1,_0xd35519;_0x36d205>=0x0;_0x36d205--)(_0xd35519=_0x25c60e[_0x36d205])&&(_0x1a5ec2=_0xd35519(_0x1a5ec2)||_0x1a5ec2);return _0x1a5ec2;},P=(_0x38f825,_0x4ae314)=>(_0x3abe0c,_0x35aae3)=>_0x4ae314(_0x3abe0c,_0x35aae3,_0x38f825),bi=(_0x3a979d=>(_0x3a979d[_0x3c789f(0x108)]=_0x3c789f(0x281),_0x3a979d[_0x3c789f(0x2f5)]=_0x3c789f(0x2ef),_0x3a979d[_0x3c789f(0x186)]=_0x3c789f(0x3ac),_0x3a979d['AWAITING']=_0x3c789f(0x27c),_0x3a979d[_0x3c789f(0x114)]=_0x3c789f(0x2fb),_0x3a979d['FETCH_MISS']=_0x3c789f(0x1c1),_0x3a979d[_0x3c789f(0x34b)]=_0x3c789f(0x300),_0x3a979d[_0x3c789f(0x2f0)]=_0x3c789f(0xee),_0x3a979d))(bi||{});const yi=0xea60;class Ce{constructor(_0x5f1ee0,_0x448b60,_0x55183e,_0x4e42e5,_0x32322c,_0xdc7d24,_0x37a09e,_0x59d494,_0x2c8679){var _0x18e23e=_0x3c789f;N(this,'_awaitingChangeset',null),N(this,_0x18e23e(0x329),[]),(this['unitID']=_0x5f1ee0,this[_0x18e23e(0x122)]=_0x448b60,this[_0x18e23e(0x235)]=_0x32322c,this[_0x18e23e(0x21b)]=_0xdc7d24,this[_0x18e23e(0x1de)]=_0x37a09e,this[_0x18e23e(0x16e)]=_0x59d494,this['_localCacheService']=_0x2c8679,this['_awaitingChangeset']=_0x55183e,this[_0x18e23e(0x329)]=_0x4e42e5);}[_0x3c789f(0x17f)](_0xb764ac){var _0xbe36bc=_0x3c789f;const _0x5b9c5c=this[_0xbe36bc(0x16e)]['getCurrentRevOfUnit'](this['unitID']);return _0xb764ac['revision']>_0x5b9c5c+0x1?(this['_handler'][_0xbe36bc(0x376)]({'from':_0x5b9c5c,'to':_0xb764ac[_0xbe36bc(0xe8)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x110ddf){var _0x528be9=_0x3c789f;this[_0x528be9(0x1de)]['transformUndoRedo'](this['unitID'],_0x110ddf);}['_transformSelections'](_0x5286cb){var _0xb16ff2=_0x3c789f,_0x3a7851,_0x3c816f;(_0x3c816f=(_0x3a7851=this[_0xb16ff2(0x235)])[_0xb16ff2(0x2ae)])==null||_0x3c816f[_0xb16ff2(0x176)](_0x3a7851,_0x5286cb);}[_0x3c789f(0x354)](_0x5be19f){var _0x16098e=_0x3c789f,_0x506795,_0x286d93;return(_0x286d93=(_0x506795=this[_0x16098e(0x235)])['onTransformIME'])==null?void 0x0:_0x286d93[_0x16098e(0x176)](_0x506795,_0x5be19f);}[_0x3c789f(0x1d0)](_0x3b1561){var _0x6aaf08=_0x3c789f,_0x3f2bc6,_0x1d9a00;return(_0x1d9a00=(_0x3f2bc6=this['_handler'])[_0x6aaf08(0x232)])==null?void 0x0:_0x1d9a00[_0x6aaf08(0x176)](_0x3f2bc6,_0x3b1561);}[_0x3c789f(0x264)](_0x5c748e){var _0x5ca841=_0x3c789f,_0xc6d31b,_0x3590fd,_0x34417a;return(_0x34417a=(_0x3590fd=(_0xc6d31b=this[_0x5ca841(0x235)])[_0x5ca841(0x314)])==null?void 0x0:_0x3590fd[_0x5ca841(0x176)](_0xc6d31b,_0x5c748e))!=null?_0x34417a:_0x5c748e;}[_0x3c789f(0x313)](_0xddc688){var _0x26eb43=_0x3c789f,_0x500fe0,_0x39408c,_0xf3f341;return(_0xf3f341=(_0x39408c=(_0x500fe0=this[_0x26eb43(0x235)])[_0x26eb43(0x3a3)])==null?void 0x0:_0x39408c[_0x26eb43(0x176)](_0x500fe0,_0xddc688))!=null?_0xf3f341:_0xddc688;}[_0x3c789f(0x395)](_0xbfa43f){var _0x5116e5=_0x3c789f,_0x22f040,_0x4db739;if(this['type']===Q[_0x5116e5(0x289)]){const {unitID:_0x180856,mutations:_0x53dc5a,memberID:_0x278844}=_0xbfa43f,_0x36498c=_0x53dc5a[0x0]['params']['textRanges'];Array['isArray'](_0x36498c)&&_0x36498c['length']>0x0&&((_0x4db739=(_0x22f040=this[_0x5116e5(0x235)])[_0x5116e5(0x2e1)])==null||_0x4db739[_0x5116e5(0x176)](_0x22f040,{'unitID':_0x180856,'memberID':_0x278844,'textRanges':_0x36498c}));}}[_0x3c789f(0x273)](){var _0xf77ca4=_0x3c789f,_0x511c91;(_0x511c91=this[_0xf77ca4(0x269)])==null||_0x511c91[_0xf77ca4(0x129)](this[_0xf77ca4(0x1df)],this[_0xf77ca4(0x122)],this[_0xf77ca4(0x3a9)],this[_0xf77ca4(0x329)]);}[_0x3c789f(0x236)](){var _0x54e16b=_0x3c789f;return this[_0x54e16b(0x16e)][_0x54e16b(0x1af)](this[_0x54e16b(0x1df)]);}[_0x3c789f(0x3b7)](){var _0xa58a55=_0x3c789f;this[_0xa58a55(0x16e)][_0xa58a55(0x2cc)](this[_0xa58a55(0x1df)]);}[_0x3c789f(0x18a)](_0x2ee30e){var _0x16dc7f=_0x3c789f,_0x22fa6f;let _0x30f6bf=this[_0x16dc7f(0x264)](_0x2ee30e);_0x30f6bf=this[_0x16dc7f(0x313)](_0x30f6bf);const _0xd6cb1f=_0x201027(_0x30f6bf[_0x16dc7f(0x21a)],this[_0x16dc7f(0x21b)],{'fromCollab':!0x0});if(!_0xd6cb1f[_0x16dc7f(0x2bc)])throw _0xd6cb1f[_0x16dc7f(0x168)]instanceof Error?_0xd6cb1f[_0x16dc7f(0x168)]:new Error((_0x22fa6f=_0xd6cb1f[_0x16dc7f(0x168)])!=null?_0x22fa6f:_0x16dc7f(0x2ce));this[_0x16dc7f(0x354)](_0x30f6bf),this[_0x16dc7f(0x1d0)](_0x30f6bf),this[_0x16dc7f(0x274)](_0x2ee30e),this[_0x16dc7f(0x2c3)](_0x30f6bf),this[_0x16dc7f(0x395)](_0x30f6bf),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x34bfd4,_0x1cc866,_0x3e80e7,_0x47f549,_0x1d788e,_0x42874d,_0x1a3541,_0x52316e,_0x4a7294,_0x2df418){var _0x3f15e3=_0x3c789f;super(_0x34bfd4,_0x1cc866,null,[],_0x3e80e7,_0x1a3541,_0x42874d,_0x47f549,_0x2df418),N(this,'status',_0x3f15e3(0x2ef)),(this[_0x3f15e3(0x24d)]=_0x1d788e,this[_0x3f15e3(0x381)]=_0x52316e,this[_0x3f15e3(0x1cc)]=_0x4a7294,this[_0x3f15e3(0x368)]=_0x2df418);}['appendMutation'](_0x55075d){var _0x5abf9b=_0x3c789f;const _0x276522=this['_injector'][_0x5abf9b(0x157)](ae,this[_0x5abf9b(0x1df)],this[_0x5abf9b(0x122)],[_0x55075d],this[_0x5abf9b(0x235)]);return _0x276522[_0x5abf9b(0x12e)](),_0x276522[_0x5abf9b(0x273)](),_0x276522;}[_0x3c789f(0x2ca)](_0x205e27){var _0x3505af=_0x3c789f;if(this[_0x3505af(0x17f)](_0x205e27))return this[_0x3505af(0x24d)]['createInstance'](ee,this[_0x3505af(0x1df)],this[_0x3505af(0x122)],null,[],null,[_0x205e27],this['_handler']);try{const _0x343ce6=this[_0x3505af(0x1cc)]['transformMutationsWithChangeset'](_0x205e27,[rr]);if(_0x343bb2(_0x343ce6)){const {c1Prime:_0x1fc3cc}=_0x343ce6;return this['_executeRemoteChangeset'](_0x1fc3cc),this;}throw _0x343ce6['error'];}catch(_0x26650f){return this[_0x3505af(0x381)][_0x3505af(0x168)](_0x26650f),this[_0x3505af(0x209)](!0x1);}}[_0x3c789f(0x209)](_0x5a3c5e){var _0x56a1dc=_0x3c789f;return this[_0x56a1dc(0x24d)][_0x56a1dc(0x157)](ue,this['unitID'],this[_0x56a1dc(0x122)],null,[],this[_0x56a1dc(0x235)],_0x5a3c5e);}[_0x3c789f(0x1bc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x4ba619=_0x3c789f;throw new Error(_0x4ba619(0x389));}[_0x3c789f(0x1f1)](){return this;}['toggleOffline'](){var _0x4f6b87=_0x3c789f;return this[_0x4f6b87(0x24d)][_0x4f6b87(0x157)](de,this[_0x4f6b87(0x1df)],this[_0x4f6b87(0x122)],null,[],this['_handler']);}[_0x3c789f(0x121)](){return this;}[_0x3c789f(0x1c8)](){var _0x26e9c1=_0x3c789f;throw new Error(_0x26e9c1(0x285));}[_0x3c789f(0x1d9)](){var _0xac752c=_0x3c789f;const _0x1467f8=this[_0xac752c(0x16e)][_0xac752c(0x1af)](this['unitID']);return this[_0xac752c(0x235)]['onMissingChangesets']({'from':_0x1467f8,'to':0x0}),this[_0xac752c(0x24d)]['createInstance'](ee,this[_0xac752c(0x1df)],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x4fc040(_0x5704ab)),P(0x4,_0x4fc040(_0x2128d8)),P(0x5,_0x4f308f),P(0x6,_0x1e6fb2),P(0x7,_0x251932),P(0x8,_0x3e7636),P(0x9,_0x30404e(J))],Ne);let ae=class extends Ce{constructor(_0x517ae7,_0x4d8f50,_0x145ab2,_0x275458,_0x3b3e16,_0x57ad95,_0x9736c6,_0x5f17b9,_0x45a7b1,_0x46e9c4,_0x3b2f4e,_0x3535ba,_0xa6cb5,_0x4d5306){var _0x3a911b=_0x3c789f;super(_0x517ae7,_0x4d8f50,null,_0x145ab2,_0x275458,_0x45a7b1,_0xa6cb5,_0x57ad95,_0x4d5306),N(this,'status',_0x3a911b(0x3ac)),N(this,_0x3a911b(0x33f),null),N(this,_0x3a911b(0x109),null),(this[_0x3a911b(0x24d)]=_0x3b3e16,this[_0x3a911b(0x149)]=_0x9736c6,this[_0x3a911b(0x381)]=_0x5f17b9,this['_configService']=_0x46e9c4,this[_0x3a911b(0x1cc)]=_0x3b2f4e,this[_0x3a911b(0x272)]=_0x3535ba);}['appendMutation'](_0x37910e){var _0x41b1c2=_0x3c789f;return this[_0x41b1c2(0x329)][_0x41b1c2(0x1c3)](_0x37910e),this[_0x41b1c2(0x273)](),this;}['onRemoteChangeset'](_0x281c27){var _0x711ccc=_0x3c789f;if(this[_0x711ccc(0x17f)](_0x281c27))return this[_0x711ccc(0x26a)](),this[_0x711ccc(0x24d)]['createInstance'](ee,this[_0x711ccc(0x1df)],this[_0x711ccc(0x122)],null,this['_pendingMutations'],null,[_0x281c27],this[_0x711ccc(0x235)]);try{const _0x550cba=this[_0x711ccc(0x1cc)][_0x711ccc(0x19b)](_0x281c27,this['_pendingMutations']);if(_0x343bb2(_0x550cba)){const {c1Prime:_0x2e4052,m2Prime:_0x43c3af}=_0x550cba;this[_0x711ccc(0x18a)](_0x2e4052);const _0x54cc2c=this['_injector']['createInstance'](ae,this[_0x711ccc(0x1df)],this['type'],_0x43c3af,this[_0x711ccc(0x235)]);this[_0x711ccc(0x26a)]();const _0x4d4da6=new Date()[_0x711ccc(0x3a4)](),_0x59c78e=this['_scheduleCompleteTimestamp']?Math[_0x711ccc(0x33c)](this[_0x711ccc(0x33f)]-_0x4d4da6,0x0):this[_0x711ccc(0x2a0)]();return _0x54cc2c[_0x711ccc(0x12e)](_0x59c78e),_0x54cc2c;}throw _0x550cba[_0x711ccc(0x168)];}catch(_0x4fbc33){return this[_0x711ccc(0x381)][_0x711ccc(0x168)](_0x4fbc33),this[_0x711ccc(0x209)](!0x1);}}[_0x3c789f(0x1bc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3c789f(0x1f1)](){return this;}['toggleOffline'](){var _0x374c96=_0x3c789f;return this[_0x374c96(0x26a)](),this['_injector'][_0x374c96(0x157)](de,this[_0x374c96(0x1df)],this['type'],null,this[_0x374c96(0x329)],this[_0x374c96(0x235)]);}['toggleOnline'](){return this;}['_schedule'](_0x2386ef){var _0x61084=_0x3c789f;const _0x49b05c=_0x2386ef!=null?_0x2386ef:this['_getSendChangesetTimeout']();this[_0x61084(0x33f)]=new Date()['getTime']()+_0x49b05c,this['_sendingTimer']=setTimeout(()=>{var _0x4844bc=_0x61084;this['_clearScheduledTask']();let _0x92e3a3=null;switch(this[_0x4844bc(0x122)]){case Q['UNIVER_SHEET']:{_0x92e3a3=qt(this[_0x4844bc(0x329)],this[_0x4844bc(0x1df)],this[_0x4844bc(0x272)],this[_0x4844bc(0x16e)],this['_memberService']);break;}case Q[_0x4844bc(0x289)]:{this[_0x4844bc(0x329)][_0x4844bc(0xeb)](_0x4558c2=>_0x4558c2['id']===_0x1c355c['id'])?_0x92e3a3=nr(this['_pendingMutations'],this[_0x4844bc(0x1df)],this[_0x4844bc(0x272)],this[_0x4844bc(0x16e)],this['_memberService']):_0x92e3a3=qt(this[_0x4844bc(0x329)],this[_0x4844bc(0x1df)],this[_0x4844bc(0x272)],this[_0x4844bc(0x16e)],this[_0x4844bc(0x149)]);break;}default:throw new Error(_0x4844bc(0x1ff)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x2d496c,pendingMutations:_0x145a95}=_0x92e3a3;this['_handler'][_0x4844bc(0x3a6)](_0x2d496c);const _0x2a7a25=_0x145a95[_0x4844bc(0x1b7)]?this[_0x4844bc(0x24d)][_0x4844bc(0x157)](oe,this[_0x4844bc(0x1df)],this[_0x4844bc(0x122)],_0x2d496c,_0x145a95,this[_0x4844bc(0x235)],void 0x0):this[_0x4844bc(0x24d)][_0x4844bc(0x157)](le,this['unitID'],this[_0x4844bc(0x122)],_0x2d496c,this[_0x4844bc(0x235)]);_0x2a7a25[_0x4844bc(0x273)](),this['_handler'][_0x4844bc(0x10a)](this,_0x2a7a25);},_0x49b05c);}[_0x3c789f(0x2a0)](){var _0xcda0ea=_0x3c789f,_0x49af86;const _0x179d33=this[_0xcda0ea(0x14e)][_0xcda0ea(0x199)](q);return(_0x49af86=_0x179d33==null?void 0x0:_0x179d33[_0xcda0ea(0x31b)])!=null?_0x49af86:En;}['resend'](){var _0x18bbe7=_0x3c789f;throw new Error(_0x18bbe7(0x27d));}[_0x3c789f(0x26a)](){var _0x1b0c7c=_0x3c789f;this[_0x1b0c7c(0x109)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1b0c7c(0x109)]=null);}[_0x3c789f(0x209)](_0x2dcf37){var _0x4321ba=_0x3c789f;return this[_0x4321ba(0x26a)](),this[_0x4321ba(0x24d)][_0x4321ba(0x157)](ue,this[_0x4321ba(0x1df)],this['type'],null,this['_pendingMutations'],this[_0x4321ba(0x235)],_0x2dcf37);}};ae=Te([P(0x4,_0x4fc040(_0x2128d8)),P(0x5,_0x4fc040(_0x5704ab)),P(0x6,_0x4fc040(xe)),P(0x7,_0x251932),P(0x8,_0x1e6fb2),P(0x9,_0x231c4a),P(0xa,_0x3e7636),P(0xb,_0x494e3d),P(0xc,_0x4f308f),P(0xd,_0x30404e(J))],ae);let le=class extends Ce{constructor(_0x3418ea,_0x183dd9,_0x36b91e,_0x5e8f2f,_0x46c1f6,_0x2f1a46,_0x277268,_0x4e1631,_0xf24c4b,_0x3bb4cc,_0x274b9d){var _0x508c28=_0x3c789f;super(_0x3418ea,_0x183dd9,_0x36b91e,[],_0x5e8f2f,_0x277268,_0x3bb4cc,_0x2f1a46,_0x274b9d),N(this,_0x508c28(0x2a1),'awaiting'),N(this,_0x508c28(0xfa),0x0),N(this,_0x508c28(0x38f)),N(this,_0x508c28(0x1bd)),(this['_injector']=_0x46c1f6,this[_0x508c28(0x381)]=_0x4e1631,this[_0x508c28(0x1cc)]=_0xf24c4b);}[_0x3c789f(0x1fa)](_0x46faa1){var _0x191dd8=_0x3c789f;this[_0x191dd8(0x26a)]();const _0x52f635=this['_injector'][_0x191dd8(0x157)](oe,this[_0x191dd8(0x1df)],this[_0x191dd8(0x122)],this[_0x191dd8(0x3a9)],[_0x46faa1],this['_handler'],this[_0x191dd8(0x38f)]);return _0x52f635[_0x191dd8(0x273)](),_0x52f635;}[_0x3c789f(0x2ca)](_0x2e8ecf){var _0x404463=_0x3c789f;if(this['_checkMissing'](_0x2e8ecf))return this[_0x404463(0x26a)](),this['_injector'][_0x404463(0x157)](ee,this[_0x404463(0x1df)],this['type'],this['_awaitingChangeset'],[],null,[_0x2e8ecf],this[_0x404463(0x235)]);try{const _0x4df635=this['_transformService'][_0x404463(0x14b)]([_0x2e8ecf],[this[_0x404463(0x3a9)]],!0x1);if(_0x1b0f61(_0x4df635)){const {c1Prime:_0x55df2a,c2Prime:_0x1030f1}=_0x4df635;this[_0x404463(0x18a)](_0x55df2a[0x0]),_0x1030f1[0x0][_0x404463(0x2a4)]=this[_0x404463(0x236)](),this[_0x404463(0x26a)]();const _0x3c5f18=this[_0x404463(0x24d)][_0x404463(0x157)](le,this[_0x404463(0x1df)],this[_0x404463(0x122)],_0x1030f1[0x0],this[_0x404463(0x235)]);return _0x3c5f18[_0x404463(0x273)](),_0x3c5f18;}return this['_onConflict'](!0x1);}catch(_0x41d3f1){return this[_0x404463(0x381)][_0x404463(0x168)](_0x41d3f1),this[_0x404463(0x209)](!0x1);}}[_0x3c789f(0x1bc)](_0xcccae4){var _0x432e73=_0x3c789f;this[_0x432e73(0x26a)]();const _0x27aa50=this[_0x432e73(0x16e)][_0x432e73(0x1af)](this[_0x432e73(0x1df)]);if(_0xcccae4[_0x432e73(0xe8)]<_0x27aa50-0x1)return this;if(this[_0x432e73(0x17f)](_0xcccae4))return this[_0x432e73(0x24d)]['createInstance'](ee,this[_0x432e73(0x1df)],this['type'],null,[],this[_0x432e73(0x3a9)],[],this[_0x432e73(0x235)]);this[_0x432e73(0x3b7)]();const _0x2df082=this[_0x432e73(0x24d)][_0x432e73(0x157)](Ne,this['unitID'],this[_0x432e73(0x122)],this['_handler']);return _0x2df082[_0x432e73(0x273)](),_0x2df082;}[_0x3c789f(0x348)](_0x22a06a){var _0x56a1d8=_0x3c789f;return this[_0x56a1d8(0x209)](!!(_0x22a06a!=null&&_0x22a06a[_0x56a1d8(0x223)]));}['onRemoteRetry'](_0x3ca138){var _0x7d1452=_0x3c789f;return this[_0x7d1452(0xfa)]>yi?this[_0x7d1452(0x315)]():(this[_0x7d1452(0x38f)]=Ri(this[_0x7d1452(0xfa)],{'timeout':this[_0x7d1452(0xfa)],'reqId':_0x3ca138['reqId']}),this[_0x7d1452(0x1bd)]=this['_resendTimer']['subscribe'](({reqId:_0x37faaf,timeout:_0x777b94})=>{var _0x41a987=_0x7d1452;this[_0x41a987(0x2ba)](_0x37faaf,_0x777b94);}),this);}[_0x3c789f(0x315)](){var _0x50390f=_0x3c789f;return this['_clearScheduledTask'](),this[_0x50390f(0x24d)][_0x50390f(0x157)](de,this[_0x50390f(0x1df)],this['type'],this[_0x50390f(0x3a9)],[],this[_0x50390f(0x235)]);}[_0x3c789f(0x121)](){return this;}[_0x3c789f(0x1c8)](){var _0x3ae88d=_0x3c789f;this[_0x3ae88d(0x235)]['onSendChangeset'](this[_0x3ae88d(0x3a9)]);}[_0x3c789f(0x209)](_0x329e7a){var _0x19fdec=_0x3c789f;return this['_clearScheduledTask'](),this[_0x19fdec(0x24d)][_0x19fdec(0x157)](ue,this[_0x19fdec(0x1df)],this[_0x19fdec(0x122)],this[_0x19fdec(0x3a9)],[],this[_0x19fdec(0x235)],_0x329e7a);}[_0x3c789f(0x2ba)](_0x117e5d,_0x508d27){var _0x5ae7f8=_0x3c789f,_0x4b13e9;_0x117e5d===((_0x4b13e9=this['_awaitingChangeset'])==null?void 0x0:_0x4b13e9[_0x5ae7f8(0x1c6)])&&(this['resend'](),this[_0x5ae7f8(0xfa)]=_0x508d27===0x0?0x3e8:_0x508d27*0x2);}['_clearScheduledTask'](){var _0x44cd9a=_0x3c789f,_0x355d1a;(_0x355d1a=this[_0x44cd9a(0x1bd)])==null||_0x355d1a[_0x44cd9a(0x222)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x4fc040(_0x2128d8)),P(0x5,_0x4fc040(_0x5704ab)),P(0x6,_0x1e6fb2),P(0x7,_0x251932),P(0x8,_0x3e7636),P(0x9,_0x4f308f),P(0xa,_0x30404e(J))],le);let oe=class extends Ce{constructor(_0x3fee26,_0x11ab0d,_0x1182fe,_0x454df6,_0xa8b831,_0x21e2a2,_0x500e61,_0x2733cd,_0x259fd3,_0x1213e3,_0x458e8f,_0x585a10,_0x342197){var _0x28940c=_0x3c789f;super(_0x3fee26,_0x11ab0d,_0x1182fe,_0x454df6,_0xa8b831,_0x259fd3,_0x585a10,_0x2733cd,_0x342197),N(this,_0x28940c(0x2a1),_0x28940c(0x2fb)),N(this,_0x28940c(0xfa),0x0),N(this,'_resendTimer'),N(this,_0x28940c(0x1bd)),(this[_0x28940c(0x24d)]=_0x500e61,this['_logService']=_0x1213e3,this[_0x28940c(0x1cc)]=_0x458e8f,this['localCacheService']=_0x342197,_0x21e2a2&&(this[_0x28940c(0x38f)]=_0x21e2a2,this[_0x28940c(0x1bd)]=this[_0x28940c(0x38f)][_0x28940c(0x32f)](({reqId:_0x34e9cf,timeout:_0x56dcc9})=>{var _0x1809ae=_0x28940c;this[_0x1809ae(0x2ba)](_0x34e9cf,_0x56dcc9);})));}[_0x3c789f(0x1fa)](_0x2ed493){var _0x25a61d=_0x3c789f;return this['_pendingMutations'][_0x25a61d(0x1c3)](_0x2ed493),this;}['onRemoteChangeset'](_0x45fc57){var _0x5e2415=_0x3c789f;if(this[_0x5e2415(0x17f)](_0x45fc57))return this['_clearScheduledTask'](),this[_0x5e2415(0x24d)][_0x5e2415(0x157)](ee,this['unitID'],this[_0x5e2415(0x122)],this[_0x5e2415(0x3a9)],this['_pendingMutations'],null,[_0x45fc57],this[_0x5e2415(0x235)]);try{const _0x5c2f22=this[_0x5e2415(0x1cc)][_0x5e2415(0x14b)]([_0x45fc57],[this[_0x5e2415(0x3a9)]],!0x1);if(_0x1b0f61(_0x5c2f22)){const {c1Prime:_0x4cac94,c2Prime:_0x592166}=_0x5c2f22,_0x32c66e=this[_0x5e2415(0x1cc)][_0x5e2415(0x19b)](_0x4cac94[0x0],this['_pendingMutations']);if(_0x343bb2(_0x32c66e)){const {c1Prime:_0x4bcd64,m2Prime:_0x30acbc}=_0x32c66e;return this['_executeRemoteChangeset'](_0x4bcd64),_0x592166[0x0][_0x5e2415(0x2a4)]=this[_0x5e2415(0x236)](),this[_0x5e2415(0x26a)](),this[_0x5e2415(0x24d)][_0x5e2415(0x157)](oe,this['unitID'],this[_0x5e2415(0x122)],_0x592166[0x0],_0x30acbc,this['_handler'],void 0x0);}throw _0x32c66e[_0x5e2415(0x168)];}throw _0x5c2f22['error'];}catch(_0x352013){return this[_0x5e2415(0x381)]['error'](_0x352013),this['_onConflict'](!0x1);}}[_0x3c789f(0x1bc)](_0x1e6a1f){var _0x55e8b3=_0x3c789f;if(this[_0x55e8b3(0x26a)](),this['_checkMissing'](_0x1e6a1f))return this[_0x55e8b3(0x24d)][_0x55e8b3(0x157)](ee,this[_0x55e8b3(0x1df)],this[_0x55e8b3(0x122)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x55e8b3(0x235)]);this[_0x55e8b3(0x3b7)]();const _0x426af2=this[_0x55e8b3(0x24d)][_0x55e8b3(0x157)](ae,this[_0x55e8b3(0x1df)],this[_0x55e8b3(0x122)],this[_0x55e8b3(0x329)],this[_0x55e8b3(0x235)]);return _0x426af2[_0x55e8b3(0x12e)](),_0x426af2['_updateLocalCache'](),_0x426af2;}[_0x3c789f(0x348)](_0x4dda2e){var _0x597020=_0x3c789f;return this[_0x597020(0x209)](!!(_0x4dda2e!=null&&_0x4dda2e[_0x597020(0x223)]));}[_0x3c789f(0x1f1)](_0x15b31f){var _0x54a01c=_0x3c789f;return this['_resendTimeout']>yi?this['toggleOffline']():(this[_0x54a01c(0x38f)]=Ri(this['_resendTimeout'],{'timeout':this[_0x54a01c(0xfa)],'reqId':_0x15b31f['reqId']}),this['_sender']=this['_resendTimer'][_0x54a01c(0x32f)](({reqId:_0x3d95d7,timeout:_0x373421})=>{this['_resendWithTimeout'](_0x3d95d7,_0x373421);}),this);}[_0x3c789f(0x315)](){var _0x88ce29=_0x3c789f;return this['_clearScheduledTask'](),this[_0x88ce29(0x24d)][_0x88ce29(0x157)](de,this['unitID'],this[_0x88ce29(0x122)],this[_0x88ce29(0x3a9)],this[_0x88ce29(0x329)],this[_0x88ce29(0x235)]);}[_0x3c789f(0x121)](){return this;}[_0x3c789f(0x1c8)](){var _0x26b3ba=_0x3c789f;this[_0x26b3ba(0x235)][_0x26b3ba(0x3a6)](this[_0x26b3ba(0x3a9)]);}['_onConflict'](_0x1067b2){var _0x345142=_0x3c789f;return this[_0x345142(0x26a)](),this[_0x345142(0x24d)][_0x345142(0x157)](ue,this[_0x345142(0x1df)],this[_0x345142(0x122)],null,this[_0x345142(0x329)],this['_handler'],_0x1067b2);}[_0x3c789f(0x2ba)](_0x2bb174,_0x48e74a){var _0x372f08=_0x3c789f,_0x5f4a65;_0x2bb174===((_0x5f4a65=this[_0x372f08(0x3a9)])==null?void 0x0:_0x5f4a65['reqId'])&&(this[_0x372f08(0x1c8)](),this[_0x372f08(0xfa)]=_0x48e74a===0x0?0x3e8:_0x48e74a*0x2);}['_clearScheduledTask'](){var _0x20d971=_0x3c789f,_0xdc3271;(_0xdc3271=this[_0x20d971(0x1bd)])==null||_0xdc3271[_0x20d971(0x222)](),this[_0x20d971(0xfa)]=0x0;}};oe=Te([P(0x6,_0x4fc040(_0x2128d8)),P(0x7,_0x4fc040(_0x5704ab)),P(0x8,_0x1e6fb2),P(0x9,_0x251932),P(0xa,_0x3e7636),P(0xb,_0x4f308f),P(0xc,_0x30404e(J))],oe);let ue=class extends Ce{constructor(_0x50460b,_0x59d8e8,_0x5569f5,_0x2f1eed,_0x2bbb5d,_0x5757cc=!0x1,_0x15fb01,_0x4cb327,_0x7f647c,_0x592186,_0x1a6afb,_0x98b53d,_0x18cd1e){var _0x3e1693=_0x3c789f;super(_0x50460b,_0x59d8e8,_0x5569f5,_0x2f1eed,_0x2bbb5d,_0x4cb327,_0x7f647c,_0x592186,_0x18cd1e),N(this,_0x3e1693(0x2a1),_0x3e1693(0x300)),(this[_0x3e1693(0xe3)]=_0x5757cc,this[_0x3e1693(0x188)]=_0x15fb01,this[_0x3e1693(0x18e)]=_0x1a6afb,this[_0x3e1693(0xfe)]=_0x98b53d,this[_0x3e1693(0x368)]=_0x18cd1e,this[_0x3e1693(0x252)](),this['_clearLocalCache'](),this[_0x3e1693(0x34c)]());}[_0x3c789f(0x1fa)](){return this;}[_0x3c789f(0x2ca)](){return this;}[_0x3c789f(0x1bc)](){return this;}[_0x3c789f(0x348)](){return this;}[_0x3c789f(0x1f1)](){return this;}['toggleOffline'](){return this;}[_0x3c789f(0x121)](){return this;}['resend'](){var _0x5cd342=_0x3c789f;throw new Error(_0x5cd342(0x1b4));}[_0x3c789f(0x388)](){var _0xed419e=_0x3c789f,_0x5b9304;(_0x5b9304=this[_0xed419e(0x269)])==null||_0x5b9304[_0xed419e(0x129)](this[_0xed419e(0x1df)],this[_0xed419e(0x122)],null,[]);}[_0x3c789f(0x252)](){var _0x5380b6=_0x3c789f;this[_0x5380b6(0xe3)]?this[_0x5380b6(0xfe)]['emitEvent']({'id':se[_0x5380b6(0x2de)]}):this[_0x5380b6(0xfe)][_0x5380b6(0xe6)]({'id':se['CONFLICT']});}[_0x3c789f(0x34c)](){var _0x2beda0=_0x3c789f;this[_0x2beda0(0x188)][_0x2beda0(0x32a)](new _0x174fbb(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x4fc040(_0x33f73b)),P(0x7,_0x1e6fb2),P(0x8,_0x4f308f),P(0x9,_0x4fc040(_0x5704ab)),P(0xa,_0x4fc040(_0x3814c5)),P(0xb,_0x4fc040(pe)),P(0xc,_0x30404e(J))],ue);let de=class extends Ce{constructor(_0x213383,_0x449df7,_0x27c29e,_0x1fe7b5,_0x4c1b60,_0x26f097,_0x13b064,_0x47c09a,_0x133acd,_0x39bf43){var _0x4c6593=_0x3c789f;super(_0x213383,_0x449df7,_0x27c29e,_0x1fe7b5,_0x4c1b60,_0x47c09a,_0x133acd,_0x13b064,_0x39bf43),N(this,'status',_0x4c6593(0xee)),this[_0x4c6593(0x24d)]=_0x26f097;}[_0x3c789f(0x1fa)](_0x343390){var _0x40eb79=_0x3c789f;return this[_0x40eb79(0x329)]['push'](_0x343390),this[_0x40eb79(0x273)](),this;}['onRemoteChangeset'](_0x590fd8){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3c789f(0x1bc)](){var _0x44ae71=_0x3c789f;throw new Error(_0x44ae71(0x2f8));}[_0x3c789f(0x348)](){var _0x440e2e=_0x3c789f;throw new Error(_0x440e2e(0xbe));}[_0x3c789f(0x1f1)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x4bc005=_0x3c789f;const {_injector:_0x28eac8,_pendingMutations:_0x1b3569,_awaitingChangeset:_0x5a0b1f,unitID:_0x467aee,_handler:_0x28ab12,type:_0xb1aeb6}=this,_0x4a2604=Oi(_0x28eac8,_0x467aee,_0xb1aeb6,_0x5a0b1f,_0x1b3569,_0x28ab12);return _0x4a2604 instanceof ae?_0x4a2604['_schedule']():(_0x4a2604 instanceof oe||_0x4a2604 instanceof le)&&_0x4a2604[_0x4bc005(0x1c8)](),_0x4a2604;}['resend'](){var _0x10e58e=_0x3c789f;throw new Error(_0x10e58e(0x1f4));}};de=Te([P(0x5,_0x4fc040(_0x2128d8)),P(0x6,_0x4fc040(_0x5704ab)),P(0x7,_0x1e6fb2),P(0x8,_0x4f308f),P(0x9,_0x30404e(J))],de);let ee=class extends Ce{constructor(_0x3c0749,_0xfb1164,_0x25f8c2,_0x5e3bfd,_0x5f0ad4,_0x29a216,_0x90c119,_0x29023b,_0x3663ec,_0x1fecda,_0x5e79f1,_0x2e198d,_0x18f14b,_0x43791b){var _0x7dce01=_0x3c789f;super(_0x3c0749,_0xfb1164,_0x25f8c2,_0x5e3bfd,_0x90c119,_0x5e79f1,_0x2e198d,_0x3663ec,_0x43791b),N(this,_0x7dce01(0x2a1),_0x7dce01(0x1c1)),(this['_acknowledgedAwaitingChangeset']=_0x5f0ad4,this[_0x7dce01(0x1dc)]=_0x29a216,this[_0x7dce01(0x24d)]=_0x29023b,this['_logService']=_0x1fecda,this[_0x7dce01(0x1cc)]=_0x18f14b,this[_0x7dce01(0x368)]=_0x43791b);}['onMissedChangesetFetched'](_0x330d15){var _0x456440=_0x3c789f;try{const _0xbe1825=[..._0x330d15,...this['_queuedRemoteChangesets']],_0x53d5e3=[this[_0x456440(0x3a9)]||this['_acknowledgedAwaitingChangeset']][_0x456440(0x2c8)](_0x187fff=>!!_0x187fff);let _0x3f9e6e,_0x2d5c20;if(_0x53d5e3['length']){const _0x5081a3=this[_0x456440(0x1cc)]['transformChangesets'](_0xbe1825,_0x53d5e3,!0x1);if(!_0x1b0f61(_0x5081a3))throw _0x5081a3[_0x456440(0x168)];_0x3f9e6e=_0x5081a3[_0x456440(0x303)],_0x2d5c20=_0x5081a3[_0x456440(0x292)];}else _0x3f9e6e=_0xbe1825,_0x2d5c20=[];let _0x1fb85d=this[_0x456440(0x329)];_0x3f9e6e['forEach'](_0x64a712=>{var _0x1c0fe1=_0x456440;let _0x551f2c;if(_0x1fb85d[_0x1c0fe1(0x1b7)]){const _0x431f01=this[_0x1c0fe1(0x1cc)][_0x1c0fe1(0x19b)](_0x64a712,_0x1fb85d);if(!_0x343bb2(_0x431f01))throw _0x431f01[_0x1c0fe1(0x168)];_0x551f2c=_0x431f01['c1Prime'],_0x1fb85d=_0x431f01[_0x1c0fe1(0xef)];}else _0x551f2c=_0x64a712;this[_0x1c0fe1(0x18a)](_0x551f2c);}),this[_0x456440(0x1e9)]&&this[_0x456440(0x3b7)](),this[_0x456440(0x3a9)]&&_0x2d5c20[_0x456440(0x1b7)]&&(_0x2d5c20[0x0][_0x456440(0x2a4)]=this[_0x456440(0x236)]());let _0x27ed2c;if(this[_0x456440(0x3a9)]&&_0x1fb85d[_0x456440(0x1b7)]!==0x0)_0x27ed2c=this[_0x456440(0x24d)]['createInstance'](oe,this[_0x456440(0x1df)],this[_0x456440(0x122)],_0x2d5c20[0x0],_0x1fb85d,this[_0x456440(0x235)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1fb85d['length']===0x0)_0x2d5c20[0x0]['baseRev']=this['_getCurrentRevision'](),_0x27ed2c=this['_injector']['createInstance'](le,this[_0x456440(0x1df)],this[_0x456440(0x122)],_0x2d5c20[0x0],this[_0x456440(0x235)]);else{if(_0x1fb85d[_0x456440(0x1b7)]!==0x0){const _0x14bc8b=this[_0x456440(0x24d)][_0x456440(0x157)](ae,this[_0x456440(0x1df)],this['type'],_0x1fb85d,this[_0x456440(0x235)]);_0x14bc8b[_0x456440(0x12e)](),_0x27ed2c=_0x14bc8b;}else _0x27ed2c=this['_injector'][_0x456440(0x157)](Ne,this[_0x456440(0x1df)],this[_0x456440(0x122)],this['_handler']);}}return _0x27ed2c[_0x456440(0x273)](),_0x27ed2c;}catch(_0x46e360){return this[_0x456440(0x381)]['error'](_0x456440(0x34f),_0x456440(0x38d),_0x46e360),this[_0x456440(0x24d)][_0x456440(0x157)](ue,this[_0x456440(0x1df)],this[_0x456440(0x122)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x456440(0x235)],!0x1);}}[_0x3c789f(0x1c8)](){var _0x1d31c1=_0x3c789f;throw new Error(_0x1d31c1(0x3af));}[_0x3c789f(0x1fa)](_0x15b937){var _0x328223=_0x3c789f;return this[_0x328223(0x329)][_0x328223(0x1c3)](_0x15b937),this;}[_0x3c789f(0x2ca)](_0x551002){var _0x3a982f=_0x3c789f;return this[_0x3a982f(0x1dc)]['push'](_0x551002),this;}[_0x3c789f(0x1bc)](_0x1ddb7d){var _0x245747=_0x3c789f;if(this['_awaitingChangeset'])return this[_0x245747(0x1e9)]=this[_0x245747(0x3a9)],this['_awaitingChangeset']=null,this;throw new Error(_0x245747(0x392));}['onRemoteRej'](_0x1f2828){var _0x14717f=_0x3c789f;return this[_0x14717f(0x209)](!!(_0x1f2828!=null&&_0x1f2828['isPermissionRej']));}[_0x3c789f(0x1f1)](){return this;}[_0x3c789f(0x315)](){var _0x3eacf1=_0x3c789f;return this[_0x3eacf1(0x24d)][_0x3eacf1(0x157)](de,this[_0x3eacf1(0x1df)],this['type'],this[_0x3eacf1(0x3a9)],this[_0x3eacf1(0x329)],this['_handler']);}[_0x3c789f(0x121)](){return this;}['_onConflict'](_0x35260e){var _0x410edd=_0x3c789f;return this[_0x410edd(0x24d)][_0x410edd(0x157)](ue,this[_0x410edd(0x1df)],this[_0x410edd(0x122)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x410edd(0x235)],_0x35260e);}};ee=Te([P(0x7,_0x4fc040(_0x2128d8)),P(0x8,_0x4fc040(_0x5704ab)),P(0x9,_0x251932),P(0xa,_0x1e6fb2),P(0xb,_0x4f308f),P(0xc,_0x3e7636),P(0xd,_0x30404e(J))],ee);function Oi(_0x178c0c,_0x29048b,_0x1365ce,_0x1f3cf2,_0x4f602c,_0x579dfc){var _0xab54c4=_0x3c789f;return _0x1f3cf2&&_0x4f602c[_0xab54c4(0x1b7)]?_0x178c0c['createInstance'](oe,_0x29048b,_0x1365ce,_0x1f3cf2,_0x4f602c,_0x579dfc,void 0x0):_0x1f3cf2?_0x178c0c[_0xab54c4(0x157)](le,_0x29048b,_0x1365ce,_0x1f3cf2,_0x579dfc):_0x4f602c[_0xab54c4(0x1b7)]?_0x178c0c[_0xab54c4(0x157)](ae,_0x29048b,_0x1365ce,_0x4f602c,_0x579dfc):_0x178c0c['createInstance'](Ne,_0x29048b,_0x1365ce,_0x579dfc);}var ar=Object[_0x3c789f(0x2a7)],xt=(_0x4040ec,_0x353e17,_0x2732eb,_0x1bc129)=>{var _0x35e754=_0x3c789f;for(var _0x1e6026=_0x1bc129>0x1?void 0x0:_0x1bc129?ar(_0x353e17,_0x2732eb):_0x353e17,_0x2bc78b=_0x4040ec[_0x35e754(0x1b7)]-0x1,_0x1292e3;_0x2bc78b>=0x0;_0x2bc78b--)(_0x1292e3=_0x4040ec[_0x2bc78b])&&(_0x1e6026=_0x1292e3(_0x1e6026)||_0x1e6026);return _0x1e6026;},H=(_0x1e88b1,_0x2b0c3f)=>(_0x1652d6,_0x2a1f2c)=>_0x2b0c3f(_0x1652d6,_0x2a1f2c,_0x1e88b1);let nt=class extends _0x319a90{constructor(_0x4b02c5,_0x3f7205,_0xfc425d,_0x271b3d,_0x31498a,_0x47b913,_0xf556a0,_0x207613,_0x4f1b87,_0x451b2a,_0xb84e7a,_0xc5dc79,_0x5569c6){var _0x24f8cc=_0x3c789f;super(),N(this,_0x24f8cc(0x2ab),new _0xe9c642(null)),N(this,_0x24f8cc(0x2f2),this[_0x24f8cc(0x2ab)]['asObservable']()),N(this,_0x24f8cc(0x1ae)),N(this,_0x24f8cc(0x187),!0x1),N(this,_0x24f8cc(0x177),''),N(this,_0x24f8cc(0x240),0x0),N(this,'status$',this[_0x24f8cc(0x2f2)][_0x24f8cc(0x197)](_0x317cc6(_0x32e8a0=>_0x32e8a0?_0x32e8a0[_0x24f8cc(0x2a1)]:bi[_0x24f8cc(0x2f0)]),_0x1fb43e(0x1))),N(this,_0x24f8cc(0x233),!0x1),N(this,_0x24f8cc(0xea),[]),(this[_0x24f8cc(0x1df)]=_0x4b02c5,this[_0x24f8cc(0x377)]=_0x3f7205,this[_0x24f8cc(0x1e4)]=_0xfc425d,this[_0x24f8cc(0x24d)]=_0x271b3d,this[_0x24f8cc(0x21d)]=_0x31498a,this['_localeService']=_0x47b913,this[_0x24f8cc(0x16e)]=_0xf556a0,this[_0x24f8cc(0x229)]=_0x207613,this[_0x24f8cc(0x381)]=_0x4f1b87,this[_0x24f8cc(0x21b)]=_0x451b2a,this[_0x24f8cc(0x188)]=_0xb84e7a,this['_singleActiveUnitService']=_0xc5dc79,this[_0x24f8cc(0x269)]=_0x5569c6);}get[_0x3c789f(0x390)](){var _0x4515c2=_0x3c789f;return this[_0x4515c2(0x1ae)];}async['init'](){var _0x1b445a=_0x3c789f;if(this[_0x1b445a(0x390)])throw new Error(_0x1b445a(0x3b6));await this['_init']();}[_0x3c789f(0x23a)](){return this['_collaborationPaused']=!0x0,_0xd7bdc8(()=>{var _0x2f2c2a=_0x215f;this['_collaborationPaused']=!0x1,this[_0x2f2c2a(0x33e)]();});}[_0x3c789f(0x2bf)](_0x1cd7b4){var _0x4aa534=_0x3c789f;this[_0x4aa534(0x116)](_0x1cd7b4);}[_0x3c789f(0x101)](_0x4f2cfb){var _0xa6f615=_0x3c789f;this[_0xa6f615(0x1ae)]=_0x4f2cfb,this[_0xa6f615(0x2ab)][_0xa6f615(0x24f)](_0x4f2cfb);}async['_init'](){var _0x4e2376=_0x3c789f,_0x4f18ad;this[_0x4e2376(0x101)](await this[_0x4e2376(0x2d5)]()),this['_singleActiveUnitService']&&((_0x4f18ad=this[_0x4e2376(0x2b9)])==null||_0x4f18ad['editingUnit'](this['unitID']),this[_0x4e2376(0x1a4)](this[_0x4e2376(0x2b9)]['getUnitStatus$'](this[_0x4e2376(0x1df)])[_0x4e2376(0x32f)](_0x35a27e=>{var _0x5d4293=_0x4e2376;this[_0x5d4293(0x381)][_0x5d4293(0x327)]('[CollaborationEntity]',_0x5d4293(0x158),_0x35a27e),_0x35a27e===Ci['OTHER_CLIENTS_EDITING']?(this[_0x5d4293(0x229)]['emitEvent']({'id':se[_0x5d4293(0x26c)]}),this[_0x5d4293(0x188)][_0x5d4293(0x32a)](new _0x174fbb(this[_0x5d4293(0x1df)])['id'],!0x1),this['_permissionService'][_0x5d4293(0x2c7)](!0x1)):(this[_0x5d4293(0x188)][_0x5d4293(0x32a)](new _0x174fbb(this[_0x5d4293(0x1df)])['id'],!0x0),this['_permissionService'][_0x5d4293(0x2c7)](!0x0));})));let _0xd3583b=!0x1;return this['disposeWithMe'](this[_0x4e2376(0x377)]['sessionStatus$'][_0x4e2376(0x32f)](_0x5b8d26=>{var _0x5e936e=_0x4e2376;_0x5b8d26===Ee['ONLINE']?this[_0x5e936e(0x383)](_0xd3583b):_0x5b8d26===Ee['OFFLINE']&&(_0xd3583b=!0x0,this[_0x5e936e(0x1d4)]());})),this[_0x4e2376(0x1a4)](this[_0x4e2376(0x377)][_0x4e2376(0x179)][_0x4e2376(0x32f)](_0x416c6d=>{var _0x3fdf7b=_0x4e2376;try{switch(_0x416c6d[_0x3fdf7b(0x3a1)]){case _0x289bc7[_0x3fdf7b(0x1e1)]:{this[_0x3fdf7b(0x17b)](_0x186ff8(_0x416c6d[_0x3fdf7b(0x2b4)]));break;}case _0x289bc7['CHANGESET_ACK']:{this['_onRemoteACK'](_0x416c6d[_0x3fdf7b(0x2b4)]);break;}case _0x289bc7['CHANGESET_REJ']:{this[_0x3fdf7b(0x214)]();break;}case _0x289bc7['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x416c6d[_0x3fdf7b(0x2b4)]);break;}case _0x289bc7['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x3fdf7b(0x153)](_0x416c6d[_0x3fdf7b(0x2b4)]['changesets'][_0x3fdf7b(0x3ba)](_0x1eb935=>_0x186ff8(_0x1eb935)));break;}case _0x289bc7[_0x3fdf7b(0x307)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x289bc7['UNISCRIPT_RUN']:break;}}catch(_0x3acc26){throw console['error'](_0x3fdf7b(0xbd),_0x3acc26),_0x3acc26;}})),this['_state'];}[_0x3c789f(0x29d)](){this['_transitionLocked']=!0x1;}[_0x3c789f(0x267)](){var _0x180194=_0x3c789f;if(this[_0x180194(0x233)])throw new Error(_0x180194(0x1c0));this['_transitionLocked']=!0x0;}[_0x3c789f(0x116)](_0x2c6adf){var _0x5529eb=_0x3c789f;this[_0x5529eb(0x267)](),this[_0x5529eb(0x101)](this[_0x5529eb(0x1ae)][_0x5529eb(0x1fa)](_0x2c6adf)),this['_unlockTransition']();}[_0x3c789f(0x17b)](_0x5c57e5){var _0x3a0580=_0x3c789f;if(!(_0x5c57e5[_0x3a0580(0xe8)]<=this['_revisionService'][_0x3a0580(0x1af)](this[_0x3a0580(0x1df)]))){if(this[_0x3a0580(0x187)]){this['_remoteChangesetQueue'][_0x3a0580(0x1c3)](_0x5c57e5);return;}this[_0x3a0580(0x225)](_0x5c57e5);}}[_0x3c789f(0x33e)](){var _0x5329ff=_0x3c789f;this[_0x5329ff(0xea)][_0x5329ff(0x14d)](_0x37206a=>this[_0x5329ff(0x225)](_0x37206a)),this['_remoteChangesetQueue']=[];}[_0x3c789f(0x225)](_0xe4154c){var _0x427a42=_0x3c789f;const _0x48479e=this['_compressMutationService'][_0x427a42(0x130)][_0x427a42(0x182)](this['_compressMutationService'][_0x427a42(0x130)][_0x427a42(0xcc)]()[_0x427a42(0x203)])(_0xe4154c[_0x427a42(0x21a)],null)||_0xe4154c[_0x427a42(0x21a)],_0x51ea3f={..._0xe4154c,'mutations':_0x48479e};this[_0x427a42(0x267)](),this[_0x427a42(0x101)](this[_0x427a42(0x1ae)][_0x427a42(0x2ca)](_0x51ea3f)),this[_0x427a42(0x29d)]();}[_0x3c789f(0x1f6)](_0x586dae){var _0x54bae5=_0x3c789f;this[_0x54bae5(0x267)](),this[_0x54bae5(0x101)](this[_0x54bae5(0x1ae)]['onRemoteAck'](_0x586dae)),this[_0x54bae5(0x29d)]();}[_0x3c789f(0x214)](_0x25c557){var _0x3109ef=_0x3c789f;this['_lockTransition'](),this['_updateState'](this[_0x3109ef(0x1ae)][_0x3109ef(0x348)](_0x25c557)),this[_0x3109ef(0x29d)]();}[_0x3c789f(0x318)](_0x5dbf1e){var _0x54b0c5=_0x3c789f;this[_0x54b0c5(0x267)](),this[_0x54b0c5(0x101)](this['_state'][_0x54b0c5(0x1f1)](_0x5dbf1e)),this[_0x54b0c5(0x29d)]();}[_0x3c789f(0x153)](_0x508535){var _0x1bad8c=_0x3c789f;if(!(this[_0x1bad8c(0x1ae)]instanceof ee))throw new TypeError(_0x1bad8c(0x25b));const _0x65e58a=_0x508535[_0x1bad8c(0x3ba)](_0x455c86=>{var _0x25116d=_0x1bad8c;const _0x1774be=this[_0x25116d(0x21d)][_0x25116d(0x130)][_0x25116d(0x182)](this['_compressMutationService'][_0x25116d(0x130)][_0x25116d(0xcc)]()[_0x25116d(0x203)])(_0x455c86[_0x25116d(0x21a)],null)||_0x455c86[_0x25116d(0x21a)];return{..._0x455c86,'mutations':_0x1774be};});this[_0x1bad8c(0x267)](),this[_0x1bad8c(0x101)](this['_state']['onMissedChangesetFetched'](_0x65e58a)),this[_0x1bad8c(0x29d)]();}['_toggleOffline'](){var _0x37d728=_0x3c789f;this['_lockTransition'](),this[_0x37d728(0x101)](this[_0x37d728(0x1ae)][_0x37d728(0x315)]()),this[_0x37d728(0x29d)]();}['_toggleOnline'](_0x54bda0=!0x1){var _0x2c16eb=_0x3c789f;this['_lockTransition'](),this['_updateState'](this[_0x2c16eb(0x1ae)][_0x2c16eb(0x121)]()),this[_0x2c16eb(0x29d)]();const _0x3eff0b=this[_0x2c16eb(0x1ae)];_0x54bda0&&_0x3eff0b instanceof Ne&&(this[_0x2c16eb(0x267)](),this[_0x2c16eb(0x101)](_0x3eff0b[_0x2c16eb(0x1d9)]()),this[_0x2c16eb(0x29d)]());}async[_0x3c789f(0x2d5)](){return new Promise(_0x5aa773=>{var _0x368116=_0x215f;this[_0x368116(0x377)][_0x368116(0x22e)][_0x368116(0x197)](_0x1f75e5(0x1))[_0x368116(0x32f)](async _0x27c281=>{var _0x14f3a6=_0x368116;_0x5aa773(await this[_0x14f3a6(0x111)](_0x27c281===Ee[_0x14f3a6(0x351)]));});});}['_createHandler'](){var _0x2a5c1c=_0x3c789f;const _0xdbe27e=this[_0x2a5c1c(0x1df)];return{'onStateChange':(_0x2e9c36,_0x50ce85)=>{var _0x56243b=_0x2a5c1c;if(_0x2e9c36!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2e9c36[_0x56243b(0x2a1)]+_0x56243b(0x16c)+_0x50ce85[_0x56243b(0x2a1)]+_0x56243b(0x263)+this[_0x56243b(0x1ae)][_0x56243b(0x2a1)]);this['_updateState'](_0x50ce85);},'onSendChangeset':_0x5f2662=>{var _0x34ef79=_0x2a5c1c;_0x5f2662[_0x34ef79(0xbf)]||(_0x5f2662['sid']=this[_0x34ef79(0x177)],_0x5f2662[_0x34ef79(0x1c6)]=++this[_0x34ef79(0x240)]);const _0x2976e8={'eventID':_0x289bc7['SUBMIT_CHANGESET'],'data':{'unitID':_0x5f2662['unitID'],'unitType':this['_type'],'changeset':_0x5f2662,'memberID':this['session'][_0x34ef79(0x248)]()}};this[_0x34ef79(0x377)][_0x34ef79(0xc5)](_0x2976e8,this[_0x34ef79(0x1df)]);},'onMissingChangesets':({from:_0x2ef328,to:_0x1092db})=>{var _0x351634=_0x2a5c1c;this[_0x351634(0x381)][_0x351634(0x327)](_0x351634(0x322),_0x351634(0x2cd)+_0x2ef328+_0x351634(0x25e)+_0x1092db);const _0x359b45={'eventID':_0x289bc7[_0x351634(0x20e)],'data':{'unitID':_0xdbe27e,'unitType':this['_type'],'from':_0x2ef328,'to':_0x1092db}};this[_0x351634(0x377)]['send'](_0x359b45,this['unitID']);}};}async[_0x3c789f(0x111)](_0x1f730b){var _0x2354eb=_0x3c789f,_0x49ac64,_0x2c0e9e,_0x375e08;const _0x43bc10=await((_0x49ac64=this[_0x2354eb(0x269)])==null?void 0x0:_0x49ac64[_0x2354eb(0x2b3)](this[_0x2354eb(0x1df)])),_0x3b769b=(_0x2c0e9e=_0x43bc10==null?void 0x0:_0x43bc10['mutations'])!=null?_0x2c0e9e:[],_0x54462f=(_0x375e08=_0x43bc10==null?void 0x0:_0x43bc10['awaitingChangeset'])!=null?_0x375e08:null,_0x55aeaa=!!(_0x54462f!=null&&_0x54462f[_0x2354eb(0xbf)])&&!!(_0x54462f!=null&&_0x54462f[_0x2354eb(0x1c6)]);this['_changesetSessionId']=_0x55aeaa?_0x54462f['sid']:Zn(),this[_0x2354eb(0x240)]=_0x55aeaa?_0x54462f[_0x2354eb(0x1c6)]:0x0;const _0x56cc6e=this[_0x2354eb(0x1df)];try{this[_0x2354eb(0x15d)](_0x54462f,_0x3b769b);}catch(_0x1b2e62){this[_0x2354eb(0x381)][_0x2354eb(0x168)](_0x1b2e62);}const _0x1dcbc8=this[_0x2354eb(0x12f)]();if(_0x1f730b){const _0x3ebe80=Oi(this[_0x2354eb(0x24d)],_0x56cc6e,this[_0x2354eb(0x1e4)],_0x54462f,_0x3b769b,_0x1dcbc8);return _0x3ebe80 instanceof ae?_0x3ebe80[_0x2354eb(0x12e)]():(_0x3ebe80 instanceof oe||_0x3ebe80 instanceof le)&&_0x3ebe80[_0x2354eb(0x1c8)](),_0x3ebe80;}return this[_0x2354eb(0x24d)][_0x2354eb(0x157)](de,_0x56cc6e,this[_0x2354eb(0x1e4)],_0x54462f,_0x3b769b,_0x1dcbc8);}[_0x3c789f(0x15d)](_0x1b5f63,_0x205f09){var _0x401929=_0x3c789f,_0x5e43df,_0x2fa19d;const _0x18f642=this[_0x401929(0x21d)][_0x401929(0x130)][_0x401929(0x182)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x401929(0x203)]);(_0x5e43df=_0x18f642((_0x1b5f63==null?void 0x0:_0x1b5f63['mutations'])||[],null))==null||_0x5e43df['forEach'](_0xba4a60=>this[_0x401929(0x21b)]['executeCommand'](_0xba4a60['id'],_0xba4a60['params'])),(_0x2fa19d=_0x18f642(_0x205f09||[],null))==null||_0x2fa19d[_0x401929(0x14d)](_0x153a12=>this['_commandService'][_0x401929(0x11b)](_0x153a12['id'],_0x153a12[_0x401929(0xf4)]));}};nt=xt([H(0x3,_0x4fc040(_0x2128d8)),H(0x4,_0x4fc040(_0x758e56)),H(0x5,_0x4fc040(_0x3814c5)),H(0x6,_0x4fc040(_0x5704ab)),H(0x7,_0x4fc040(pe)),H(0x8,_0x251932),H(0x9,_0x1e6fb2),H(0xa,_0x33f73b),H(0xb,_0x30404e(ht)),H(0xc,_0x30404e(J))],nt);let It=class extends nt{constructor(_0x605fc8,_0x1cf809,_0x10d62b,_0x26e9a0,_0x1cf205,_0x3ad285,_0x185c1d,_0x536b9e,_0x3099c1,_0x1b7065,_0x4cf192,_0x46124d,_0x396205){var _0xe876f1=_0x3c789f;super(_0x605fc8,_0x10d62b,_0x1cf809,_0x26e9a0,_0x1cf205,_0x3ad285,_0x185c1d,_0x536b9e,_0x3099c1,_0x1b7065,_0x4cf192,_0x46124d,_0x396205),N(this,_0xe876f1(0x210),null),(this[_0xe876f1(0x1df)]=_0x605fc8,this[_0xe876f1(0x122)]=_0x1cf809);}[_0x3c789f(0xf0)](_0x242401){var _0x2631ff=_0x3c789f;this[_0x2631ff(0x210)]=_0x242401;}[_0x3c789f(0x1da)](){var _0x5cdc32=_0x3c789f;this[_0x5cdc32(0x210)]=null,super[_0x5cdc32(0x1da)]();}[_0x3c789f(0x12f)](){var _0x4abc02=_0x3c789f;const _0x4c7d76=super[_0x4abc02(0x12f)]();return _0x4c7d76['onTransformIME']=_0x3c1eb7=>{var _0x253ebe=_0x4abc02,_0x1f25e7,_0x47a3c5;return(_0x47a3c5=(_0x1f25e7=this['_handlerCallback'])==null?void 0x0:_0x1f25e7['onTransformIME'])==null?void 0x0:_0x47a3c5[_0x253ebe(0x176)](_0x1f25e7,_0x3c1eb7);},_0x4c7d76['onTransformState']=_0x30ff10=>{var _0x4db6ea=_0x4abc02,_0x2c1d8f,_0x2040a2;return(_0x2040a2=(_0x2c1d8f=this[_0x4db6ea(0x210)])==null?void 0x0:_0x2c1d8f['onTransformState'])==null?void 0x0:_0x2040a2[_0x4db6ea(0x176)](_0x2c1d8f,_0x30ff10);},_0x4c7d76[_0x4abc02(0x2ae)]=_0x55fd55=>{var _0x3a68e2=_0x4abc02,_0x50d954,_0x372f96;return(_0x372f96=(_0x50d954=this[_0x3a68e2(0x210)])==null?void 0x0:_0x50d954[_0x3a68e2(0x2ae)])==null?void 0x0:_0x372f96['call'](_0x50d954,_0x55fd55);},_0x4c7d76['onSyncEditingCollabCursor']=_0x38b9aa=>{var _0x3098cb=_0x4abc02,_0x5e95e0,_0x11c16f;return(_0x11c16f=(_0x5e95e0=this[_0x3098cb(0x210)])==null?void 0x0:_0x5e95e0[_0x3098cb(0x2e1)])==null?void 0x0:_0x11c16f[_0x3098cb(0x176)](_0x5e95e0,_0x38b9aa);},_0x4c7d76[_0x4abc02(0x314)]=_0xabca48=>{var _0x548427=_0x4abc02,_0x2e3244,_0x2e85ac,_0x59bea0;if(!((_0x2e3244=this['_handlerCallback'])!=null&&_0x2e3244['onTransformRemoteChangesetByIMECache']))throw new Error(_0x548427(0x128));return(_0x59bea0=(_0x2e85ac=this[_0x548427(0x210)])==null?void 0x0:_0x2e85ac['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x59bea0[_0x548427(0x176)](_0x2e85ac,_0xabca48);},_0x4c7d76['onTransformRemoteChangesetByStateCache']=_0x1da38e=>{var _0x48b610=_0x4abc02,_0x206b09,_0x2f8ce2,_0x531e41;if(!((_0x206b09=this[_0x48b610(0x210)])!=null&&_0x206b09[_0x48b610(0x3a3)]))throw new Error(_0x48b610(0x27b));return(_0x531e41=(_0x2f8ce2=this[_0x48b610(0x210)])==null?void 0x0:_0x2f8ce2[_0x48b610(0x3a3)])==null?void 0x0:_0x531e41[_0x48b610(0x176)](_0x2f8ce2,_0x1da38e);},_0x4c7d76;}async[_0x3c789f(0x1ad)](){var _0x3d857b=_0x3c789f;const _0xc82409=await super[_0x3d857b(0x1ad)]();return this[_0x3d857b(0x1a4)](this[_0x3d857b(0x21b)][_0x3d857b(0x1fe)]((_0x5a375e,_0x5171a9)=>{var _0x388e0a=_0x3d857b;if(_0x5a375e['type']!==_0x5a5a14[_0x388e0a(0xe0)]||_0x5171a9!=null&&_0x5171a9[_0x388e0a(0xd9)]||_0x5171a9!=null&&_0x5171a9['onlyLocal']||_0x5a375e['id']===_0x1c355c['id'])return;const _0x45ae49=_0x5a375e['params'];if((_0x45ae49==null?void 0x0:_0x45ae49[_0x388e0a(0x3b5)])!==this[_0x388e0a(0x1df)])return;const _0x11a3b7=_0x5a375e,_0x3e2506=this[_0x388e0a(0x21d)][_0x388e0a(0x130)][_0x388e0a(0x182)](this[_0x388e0a(0x21d)]['interceptor'][_0x388e0a(0xcc)]()['COMPRESS_MUTATION_SEND'])([_0x11a3b7],null)||[_0x11a3b7];this[_0x388e0a(0x116)](_0x3e2506[0x0]);})),_0xc82409;}};It=xt([H(0x3,_0x4fc040(_0x2128d8)),H(0x4,_0x4fc040(_0x758e56)),H(0x5,_0x4fc040(_0x3814c5)),H(0x6,_0x4fc040(_0x5704ab)),H(0x7,_0x4fc040(pe)),H(0x8,_0x251932),H(0x9,_0x1e6fb2),H(0xa,_0x33f73b),H(0xb,_0x30404e(ht)),H(0xc,_0x30404e(J))],It);let Tt=class extends nt{constructor(_0x3423ce,_0xcab641,_0x1afcfb,_0x404feb,_0x286147,_0x3ea762,_0x14a746,_0x399d84,_0xced8e2,_0x3adb30,_0x43b611,_0xc4b486,_0x5c04c5,_0x5ca3cd){var _0x409ba8=_0x3c789f;super(_0x3423ce,_0x1afcfb,_0xcab641,_0x404feb,_0x286147,_0x3ea762,_0x14a746,_0xced8e2,_0x3adb30,_0x43b611,_0xc4b486,_0x5c04c5,_0x5ca3cd),this[_0x409ba8(0x1df)]=_0x3423ce,this[_0x409ba8(0x122)]=_0xcab641,this['_sheetTransformSelectionsService']=_0x399d84;}[_0x3c789f(0x12f)](){var _0x5dfa08=_0x3c789f;const _0x525d2c=super['_createHandler']();return _0x525d2c['onTransformSelections']=_0x28fb6e=>this[_0x5dfa08(0x224)]['transformSelections'](_0x28fb6e),_0x525d2c;}async[_0x3c789f(0x1ad)](){var _0x2d76e8=_0x3c789f;const _0x453615=await super['_init']();return this[_0x2d76e8(0x1a4)](this[_0x2d76e8(0x21b)]['onCommandExecuted']((_0xcfb7b,_0x52bb16)=>{var _0xde6618=_0x2d76e8;if(_0xcfb7b['type']!==_0x5a5a14[_0xde6618(0xe0)]||_0x52bb16!=null&&_0x52bb16[_0xde6618(0xd9)]||_0x52bb16!=null&&_0x52bb16[_0xde6618(0x338)])return;const _0x4f211a=_0xcfb7b[_0xde6618(0xf4)];if((_0x4f211a==null?void 0x0:_0x4f211a['unitId'])!==this['unitID'])return;const _0x1ba33d=_0xcfb7b,_0x46a2ed=this[_0xde6618(0x21d)]['interceptor']['fetchThroughInterceptors'](this[_0xde6618(0x21d)][_0xde6618(0x130)][_0xde6618(0xcc)]()[_0xde6618(0x342)])([_0x1ba33d],null)||[_0x1ba33d];this[_0xde6618(0x116)](_0x46a2ed[0x0]);})),_0x453615;}};Tt=xt([H(0x3,_0x4fc040(_0x2128d8)),H(0x4,_0x4fc040(_0x758e56)),H(0x5,_0x4fc040(_0x3814c5)),H(0x6,_0x4fc040(_0x5704ab)),H(0x7,_0x4fc040(it)),H(0x8,_0x4fc040(pe)),H(0x9,_0x251932),H(0xa,_0x1e6fb2),H(0xb,_0x33f73b),H(0xc,_0x30404e(ht)),H(0xd,_0x30404e(J))],Tt);var or=Object[_0x3c789f(0x2a7)],cr=(_0xd5d761,_0x3af014,_0x237225,_0x2212b2)=>{for(var _0x139740=_0x2212b2>0x1?void 0x0:_0x2212b2?or(_0x3af014,_0x237225):_0x3af014,_0xb2bf1d=_0xd5d761['length']-0x1,_0x118d72;_0xb2bf1d>=0x0;_0xb2bf1d--)(_0x118d72=_0xd5d761[_0xb2bf1d])&&(_0x139740=_0x118d72(_0x139740)||_0x139740);return _0x139740;},ft=(_0x554cc0,_0x54f4e6)=>(_0x1dd4f3,_0x13a9e1)=>_0x54f4e6(_0x1dd4f3,_0x13a9e1,_0x554cc0);let rt=class extends _0x319a90{constructor(_0xb95a15,_0xcc98f7,_0x53049b){var _0x569df3=_0x3c789f;super(),N(this,'_entities',new Map()),N(this,_0x569df3(0x393),new _0x360589()),N(this,_0x569df3(0x309),this[_0x569df3(0x393)][_0x569df3(0x374)]()),(this[_0x569df3(0x24d)]=_0xb95a15,this[_0x569df3(0x12a)]=_0xcc98f7,this['_univerInstanceService']=_0x53049b,this[_0x569df3(0x1ad)]());}['dispose'](){var _0x9798c6=_0x3c789f;super[_0x9798c6(0x1da)](),this[_0x9798c6(0x3a8)][_0x9798c6(0x14d)](_0x1c3cca=>_0x1c3cca[_0x9798c6(0x1da)]()),this[_0x9798c6(0x3a8)][_0x9798c6(0x112)]();}[_0x3c789f(0x353)](_0x1cc98e){var _0x13f6b7=_0x3c789f,_0x168cf5;return(_0x168cf5=this[_0x13f6b7(0x3a8)][_0x13f6b7(0x160)](_0x1cc98e))!=null?_0x168cf5:null;}[_0x3c789f(0x1e7)](_0x2fbbae){var _0x285eba=_0x3c789f;const _0x1b8721=this[_0x285eba(0x353)](_0x2fbbae);return _0x1b8721?_0xaed033(_0x1b8721):this['_entityInit$'][_0x285eba(0x197)](_0x4f8bc7(_0x282b90=>_0x282b90['unitID']===_0x2fbbae));}['readyForCollab'](_0x45cc6d){var _0x2946e4=_0x3c789f;return _0x5316f8(this[_0x2946e4(0x1e7)](_0x45cc6d)[_0x2946e4(0x197)](_0x7425b(()=>{})));}[_0x3c789f(0x1ad)](){var _0x180349=_0x3c789f;this[_0x180349(0x272)]['getTypeOfUnitAdded$'](_0x5c6970[_0x180349(0x1d8)])['pipe'](_0x414015(this[_0x180349(0xd2)]),_0x22492d(0x10))['subscribe'](async _0x2aa3c8=>{var _0x4c20c9=_0x180349;const _0x38f250=_0x2aa3c8['getUnitId'](),_0x76f1c1=await this[_0x4c20c9(0x15c)](_0x38f250,Q['UNIVER_SHEET']);this[_0x4c20c9(0x3a8)]['set'](_0x38f250,_0x76f1c1);}),this[_0x180349(0x272)][_0x180349(0x291)](_0x5c6970[_0x180349(0x289)])[_0x180349(0x197)](_0x414015(this[_0x180349(0xd2)]),_0x22492d(0x10))[_0x180349(0x197)](_0x4f8bc7(_0x5ea503=>!_0x5ea503[_0x180349(0x189)]()[_0x180349(0x156)]('__')))['subscribe'](async _0x2b32b1=>{var _0x4c1d15=_0x180349;const _0x2846d2=_0x2b32b1[_0x4c1d15(0x189)](),_0x768927=await this['_startCollaboration'](_0x2846d2,Q['UNIVER_DOC']);this[_0x4c1d15(0x3a8)][_0x4c1d15(0xd6)](_0x2846d2,_0x768927);}),_0x3d63ad(this[_0x180349(0x272)][_0x180349(0x1e3)](_0x5c6970[_0x180349(0x1d8)]),this[_0x180349(0x272)][_0x180349(0x1e3)](_0x5c6970[_0x180349(0x289)]))[_0x180349(0x197)](_0x414015(this[_0x180349(0xd2)]))[_0x180349(0x32f)](_0x53d898=>{var _0x14cdce=_0x180349;const _0x5929be=_0x53d898[_0x14cdce(0x189)](),_0x4e873f=this[_0x14cdce(0x3a8)][_0x14cdce(0x160)](_0x5929be);_0x4e873f&&(_0x4e873f['dispose'](),this['_entities'][_0x14cdce(0xbc)](_0x5929be));});}async[_0x3c789f(0x15c)](_0x30dbde,_0x87e444){var _0x5de251=_0x3c789f;const _0xe955d7=await this[_0x5de251(0x12a)][_0x5de251(0x170)](_0x30dbde),_0x3dc1b6=this[_0x5de251(0x24d)][_0x5de251(0x157)](this[_0x5de251(0x118)](_0x87e444),_0x30dbde,_0x87e444,_0xe955d7);return await _0x3dc1b6[_0x5de251(0x2fc)](),this[_0x5de251(0x393)]['next'](_0x3dc1b6),_0x3dc1b6;}[_0x3c789f(0x118)](_0x1b68af){switch(_0x1b68af){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1b68af);}}};rt=cr([ft(0x0,_0x4fc040(_0x2128d8)),ft(0x1,_0x4fc040(Le)),ft(0x2,_0x494e3d)],rt);var hr=Object[_0x3c789f(0x2a7)],_r=(_0x55224a,_0x328d2b,_0x4437e8,_0x2285ee)=>{for(var _0x118252=_0x2285ee>0x1?void 0x0:_0x2285ee?hr(_0x328d2b,_0x4437e8):_0x328d2b,_0x18a642=_0x55224a['length']-0x1,_0x15d31c;_0x18a642>=0x0;_0x18a642--)(_0x15d31c=_0x55224a[_0x18a642])&&(_0x118252=_0x15d31c(_0x118252)||_0x118252);return _0x118252;},zt=(_0x1d7c35,_0x3c758e)=>(_0x285a6d,_0x359284)=>_0x3c758e(_0x285a6d,_0x359284,_0x1d7c35);const lr='DEFAULT_FILE_NAME',ur=_0x3c789f(0x366);let Ct=class extends _0x168e7b{constructor(_0x487b8b,_0x572c4a){var _0x1ee273=_0x3c789f;super(),this[_0x1ee273(0x272)]=_0x487b8b,this[_0x1ee273(0x14e)]=_0x572c4a,this[_0x1ee273(0x1ad)]();}['_init'](){var _0x1931d8=_0x3c789f;this['disposeWithMe'](this[_0x1931d8(0x272)]['focused$'][_0x1931d8(0x32f)](()=>{var _0x5517b4=_0x1931d8,_0xbf2177;const _0x2085d5=this[_0x5517b4(0x272)]['getFocusedUnit']();let _0x103959=(_0xbf2177=this[_0x5517b4(0x14e)][_0x5517b4(0x199)](lr))!=null?_0xbf2177:ur;_0x2085d5 instanceof _0x551a86&&(_0x103959=_0x2085d5[_0x5517b4(0xcd)]),document[_0x5517b4(0xfc)]=_0x103959;}));}};Ct=_r([zt(0x0,_0x494e3d),zt(0x1,_0x231c4a)],Ct);var dr=Object[_0x3c789f(0x2a7)],fr=(_0x4881ac,_0x3df11d,_0x45b558,_0x4d0922)=>{var _0x53b2d7=_0x3c789f;for(var _0x23f814=_0x4d0922>0x1?void 0x0:_0x4d0922?dr(_0x3df11d,_0x45b558):_0x3df11d,_0x5307c0=_0x4881ac[_0x53b2d7(0x1b7)]-0x1,_0xa02b63;_0x5307c0>=0x0;_0x5307c0--)(_0xa02b63=_0x4881ac[_0x5307c0])&&(_0x23f814=_0xa02b63(_0x23f814)||_0x23f814);return _0x23f814;},vt=(_0x729b05,_0x4544a1)=>(_0x5d904f,_0x140efb)=>_0x4544a1(_0x5d904f,_0x140efb,_0x729b05);let st=class{constructor(_0x1ea15b,_0x38eacb,_0x21f3e0){var _0x5776f0=_0x3c789f;this['_configService']=_0x1ea15b,this[_0x5776f0(0x25a)]=_0x38eacb,this['localeService']=_0x21f3e0,this['init']();}[_0x3c789f(0x2fc)](){var _0x1c5655=_0x3c789f;this[_0x1c5655(0x25a)][_0x1c5655(0x30e)]({'priority':0x1,'interceptor':(_0x3f6e1f,_0xec7a8)=>_0xec7a8(_0x3f6e1f)[_0x1c5655(0x197)](_0x3014d4(async _0x4cdda2=>{var _0x4bac31=_0x1c5655;const _0x36ea3b=_0x4cdda2;if(_0x36ea3b['status']===0x191){if(typeof window>'u')throw new Error(_0x4bac31(0x29b));if(window[_0x4bac31(0x21f)](this['localeService']['t'](_0x4bac31(0x242)))){const _0x3e5840=window[_0x4bac31(0x218)](window[_0x4bac31(0x2b8)][_0x4bac31(0x19c)]);window[_0x4bac31(0x2b8)][_0x4bac31(0x19c)]=this[_0x4bac31(0x132)]()+_0x4bac31(0x2cf)+_0x3e5840;}}return _0x36ea3b;}))});}[_0x3c789f(0x132)](){var _0x3f694=_0x3c789f,_0x3ec6b2,_0x5df80f;const _0x5576dc=this[_0x3f694(0x14e)]['getConfig'](Un),_0x201ac1=this['_configService'][_0x3f694(0x199)](q);return(_0x5df80f=(_0x3ec6b2=_0x201ac1==null?void 0x0:_0x201ac1['loginUrlKey'])!=null?_0x3ec6b2:_0x5576dc)!=null?_0x5df80f:wn;}};st=fr([vt(0x0,_0x231c4a),vt(0x1,_0x4fc040(_0x94c21e)),vt(0x2,_0x4fc040(_0x3814c5))],st);var vr=Object[_0x3c789f(0x2a7)],pr=(_0x2cf803,_0x20c0b4,_0x3b8739,_0x131f64)=>{var _0x498b43=_0x3c789f;for(var _0xfa1dc4=_0x131f64>0x1?void 0x0:_0x131f64?vr(_0x20c0b4,_0x3b8739):_0x20c0b4,_0x34b65f=_0x2cf803[_0x498b43(0x1b7)]-0x1,_0x4a6668;_0x34b65f>=0x0;_0x34b65f--)(_0x4a6668=_0x2cf803[_0x34b65f])&&(_0xfa1dc4=_0x4a6668(_0xfa1dc4)||_0xfa1dc4);return _0xfa1dc4;},Jt=(_0x4685b2,_0x3c25eb)=>(_0x2b28de,_0xb18319)=>_0x3c25eb(_0x2b28de,_0xb18319,_0x4685b2);const Ni=_0x3c789f(0x396),mr=_0x3c789f(0x1d5);let Rt=class extends _0x168e7b{constructor(_0x479e89,_0x586116){var _0x321b6a=_0x3c789f;super(),this['_HTTPService']=_0x479e89,this[_0x321b6a(0x14e)]=_0x586116,this['_initMergeInterceptor']();}[_0x3c789f(0x28c)](){var _0x127dee=_0x3c789f;const _0x28d635=this;this['disposeWithMe'](this[_0x127dee(0xcb)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1b42fb({'isMatch'(_0x255813){var _0x2cea8b=_0x127dee,_0x5433d4;if(_0x255813[_0x2cea8b(0x2af)]==='POST'&&((_0x5433d4=_0x255813[_0x2cea8b(0x1f9)])!=null&&_0x5433d4[_0x2cea8b(0x1a5)])){const {objectID:_0x5a1565,objectType:_0x201f78}=_0x255813[_0x2cea8b(0x1f9)][_0x2cea8b(0x1a5)]||{};if(!_0x5a1565||_0x201f78===void 0x0)return!0x1;const _0x3932d4=_0x28d635[_0x2cea8b(0x1f8)]()+'/'+_0x201f78+_0x2cea8b(0x350)+_0x5a1565+_0x2cea8b(0x1ec);if(_0x255813[_0x2cea8b(0x1f7)]===_0x3932d4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x48d33f){var _0x2ac35a=_0x127dee,_0x2284ec;return(_0x2284ec=_0x48d33f[_0x2ac35a(0x1f9)])==null?void 0x0:_0x2284ec[_0x2ac35a(0x1a5)];},'mergeParamsToRequest'(_0x31d000,_0x9d7de9){var _0x478a89=_0x127dee;const _0xeab8c3=_0x28d635[_0x478a89(0x1f8)]()+_0x478a89(0x2e6),_0x8659e0=_0x31d000['reduce']((_0x5cf2b6,_0x32d822)=>{const {unitID:_0x3b793f,objectID:_0x4598f8,objectType:_0x51232d,actions:_0x18218e}=_0x32d822;return _0x5cf2b6[_0x3b793f]||(_0x5cf2b6[_0x3b793f]={}),_0x5cf2b6[_0x3b793f][_0x4598f8]||(_0x5cf2b6[_0x3b793f][_0x4598f8]={'objectID':_0x4598f8,'objectType':_0x51232d,'actions':[]}),_0x5cf2b6[_0x3b793f][_0x4598f8]['actions']['push'](..._0x18218e),_0x5cf2b6;},{}),_0x559085=[];for(const _0x2d06e4 in _0x8659e0)for(const _0x598fb2 in _0x8659e0[_0x2d06e4]){const {actions:_0x3a907d,objectType:_0x49c238}=_0x8659e0[_0x2d06e4][_0x598fb2],_0x26ad3b=[...new Set(_0x3a907d)];_0x559085['push']({'unitID':_0x2d06e4,'objectID':_0x598fb2,'objectType':_0x49c238,'actions':_0x26ad3b});}return new _0x5f09c1('POST',_0xeab8c3,{'headers':_0x9d7de9[_0x478a89(0x2e5)],'withCredentials':_0x9d7de9[_0x478a89(0x39c)],'responseType':_0x9d7de9[_0x478a89(0x2c1)],'body':{'requests':_0x559085}});}},{'distributeResult'(_0x381ae6,_0x4320d7){const {objectActions:_0x48b31c}=_0x381ae6;return _0x4320d7['map'](_0x5dea4b=>{var _0x19a105=_0x215f;const {unitID:_0x345f32,objectID:_0x30d5f4,actions:_0x3785d7}=_0x5dea4b,_0x52cc01=_0x48b31c['find'](_0x614b60=>_0x614b60[_0x19a105(0x1df)]===_0x345f32&&_0x614b60[_0x19a105(0x105)]===_0x30d5f4),_0x5926bf=_0x3785d7[_0x19a105(0x3ba)](_0xf4344f=>_0x52cc01==null?void 0x0:_0x52cc01[_0x19a105(0x18d)][_0x19a105(0x2c2)](_0x4fa068=>_0x4fa068['action']===_0xf4344f))[_0x19a105(0x2c8)](_0x251e88=>!!_0x251e88);return{'config':_0x5dea4b,'result':{'actions':_0x5926bf,'error':_0x381ae6[_0x19a105(0x168)]}};});}})}));}[_0x3c789f(0x1f8)](){var _0x2461cf=_0x3c789f,_0x2e712a,_0x1bb5fd;const _0x34f0a7=this[_0x2461cf(0x14e)][_0x2461cf(0x199)](Ni),_0x3cabca=this[_0x2461cf(0x14e)]['getConfig'](q);return(_0x1bb5fd=(_0x2e712a=_0x3cabca==null?void 0x0:_0x3cabca[_0x2461cf(0x216)])!=null?_0x2e712a:_0x34f0a7)!=null?_0x1bb5fd:mr;}async[_0x3c789f(0x1aa)](_0x1162ff){var _0x584161=_0x3c789f;const _0x272f9e=this['_getAPIPrefixPath']()+'/'+_0x1162ff[_0x584161(0x3b0)]+_0x584161(0x1dd);return(await this[_0x584161(0xcb)][_0x584161(0x2db)](_0x272f9e,{'body':_0x1162ff}))['body'][_0x584161(0x105)]||'';}async[_0x3c789f(0x131)](_0x114155){var _0x27607d=_0x3c789f;const _0x2ebb6c=this[_0x27607d(0x1f8)]()+_0x27607d(0x17c);return(await this[_0x27607d(0xcb)][_0x27607d(0x2db)](_0x2ebb6c,{'body':_0x114155}))[_0x27607d(0x1a5)]['objects'];}async[_0x3c789f(0xbb)](_0x3f7821){var _0x3d09ac=_0x3c789f,_0x3e8eb1,_0x5ee1b7;const _0x474a9c=this[_0x3d09ac(0x1f8)]()+'/'+_0x3f7821['objectType']+'/object/'+_0x3f7821[_0x3d09ac(0x105)],_0x49ca30=await this[_0x3d09ac(0xcb)][_0x3d09ac(0x241)](_0x474a9c,{'body':_0x3f7821});if(((_0x5ee1b7=(_0x3e8eb1=_0x49ca30==null?void 0x0:_0x49ca30['body'])==null?void 0x0:_0x3e8eb1[_0x3d09ac(0x168)])==null?void 0x0:_0x5ee1b7['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x267f00){var _0x34594e=_0x3c789f;const _0x7123e7=this['_getAPIPrefixPath']()+'/'+_0x267f00[_0x34594e(0x3b0)]+_0x34594e(0x350)+_0x267f00['objectID']+_0x34594e(0x1ec);return(await this[_0x34594e(0xcb)][_0x34594e(0x2db)](_0x7123e7,{'body':_0x267f00}))['body'][_0x34594e(0x18d)];}async[_0x3c789f(0x220)](_0x455ef6){var _0x591cf9=_0x3c789f;const _0xf16e3a=this[_0x591cf9(0x1f8)]()+_0x591cf9(0x2e6);return(await this[_0x591cf9(0xcb)][_0x591cf9(0x2db)](_0xf16e3a,{'body':{'requests':_0x455ef6}}))[_0x591cf9(0x1a5)]['objectActions'];}async[_0x3c789f(0x323)](_0x5615ee){var _0x767b58=_0x3c789f;const _0x50c135=this['_getAPIPrefixPath']()+'/'+_0x5615ee[_0x767b58(0x3b0)]+_0x767b58(0x284),_0x1a418b=await this[_0x767b58(0xcb)][_0x767b58(0x2db)](_0x50c135,{'body':_0x5615ee});return{'roles':_0x1a418b[_0x767b58(0x1a5)]['roles'],'actions':_0x1a418b[_0x767b58(0x1a5)]['actions']};}async[_0x3c789f(0xf2)](_0x50149c){var _0x361405=_0x3c789f;const _0x2e8225=this['_getAPIPrefixPath']()+_0x361405(0xf3);await this[_0x361405(0xcb)][_0x361405(0xbc)](_0x2e8225,{'params':{'collaboratorID':_0x50149c[_0x361405(0x120)],'objectID':_0x50149c[_0x361405(0x105)],'unitID':_0x50149c[_0x361405(0x1df)]}});}async[_0x3c789f(0x35d)](_0x2f5e0b){var _0x12b6c6=_0x3c789f;const _0x15ef4f=this[_0x12b6c6(0x1f8)]()+_0x12b6c6(0xf3);await this[_0x12b6c6(0xcb)]['patch'](_0x15ef4f,{'body':_0x2f5e0b});}async['createCollaborator'](_0x27e89d){var _0x53de11=_0x3c789f;const _0x43db78=this[_0x53de11(0x1f8)]()+_0x53de11(0xf3);await this['_HTTPService'][_0x53de11(0x2db)](_0x43db78,{'body':_0x27e89d});}async[_0x3c789f(0x2fd)](_0x4dfc0c){var _0x432409=_0x3c789f;const _0x23d00c=this[_0x432409(0x1f8)]()+_0x432409(0xf3);return(await this['_HTTPService'][_0x432409(0x160)](_0x23d00c,{'params':{'objectID':_0x4dfc0c['objectID'],'unitID':_0x4dfc0c['unitID']}}))[_0x432409(0x1a5)][_0x432409(0x103)];}async['putCollaborators'](_0x55cd7e){var _0x27ba2e=_0x3c789f;const _0x12fe05=this[_0x27ba2e(0x1f8)]()+'/collaborator';await this[_0x27ba2e(0xcb)]['put'](_0x12fe05,{'body':_0x55cd7e});}};Rt=pr([Jt(0x0,_0x4fc040(_0x94c21e)),Jt(0x1,_0x4fc040(_0x231c4a))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x52f8b5){var _0x1c12ba=_0x3c789f;return _0x52f8b5&&_0x52f8b5[_0x1c12ba(0x30c)]&&Object[_0x1c12ba(0x3ab)][_0x1c12ba(0x1c9)][_0x1c12ba(0x176)](_0x52f8b5,'default')?_0x52f8b5[_0x1c12ba(0x279)]:_0x52f8b5;}var Ve={'exports':{}};function gr(_0x3aa489){var _0x5e6869=_0x3c789f;throw new Error(_0x5e6869(0x16d)+_0x3aa489+_0x5e6869(0x2ad));}var Ge={'exports':{}},Sr=Ge[_0x3c789f(0x159)],Xt;function ie(){var _0xf48e25=_0x3c789f;return Xt||(Xt=0x1,function(_0x1d70ab,_0x50b554){(function(_0x544432,_0x4f4197){var _0x239af5=_0x215f;_0x1d70ab[_0x239af5(0x159)]=_0x4f4197();}(Sr,function(){var _0x3037d9=_0x3037d9||function(_0x4ce79f,_0xe32ca8){var _0x968912=_0x215f,_0x4969c9;if(typeof window<'u'&&window[_0x968912(0x1d2)]&&(_0x4969c9=window[_0x968912(0x1d2)]),typeof self<'u'&&self[_0x968912(0x1d2)]&&(_0x4969c9=self[_0x968912(0x1d2)]),typeof globalThis<'u'&&globalThis[_0x968912(0x1d2)]&&(_0x4969c9=globalThis[_0x968912(0x1d2)]),!_0x4969c9&&typeof window<'u'&&window[_0x968912(0xd8)]&&(_0x4969c9=window[_0x968912(0xd8)]),!_0x4969c9&&typeof pt<'u'&&pt[_0x968912(0x1d2)]&&(_0x4969c9=pt[_0x968912(0x1d2)]),!_0x4969c9&&typeof gr==_0x968912(0x23c))try{_0x4969c9=require(_0x968912(0x1d2));}catch{}var _0x17cd47=function(){var _0x157a95=_0x968912;if(_0x4969c9){if(typeof _0x4969c9[_0x157a95(0x398)]==_0x157a95(0x23c))try{return _0x4969c9[_0x157a95(0x398)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4969c9[_0x157a95(0x280)]==_0x157a95(0x23c))try{return _0x4969c9['randomBytes'](0x4)[_0x157a95(0x2bb)]();}catch{}}throw new Error(_0x157a95(0x278));},_0xd910c4=Object[_0x968912(0x1aa)]||(function(){function _0x5cdfe6(){}return function(_0x277a8b){var _0x2c5fc7;return _0x5cdfe6['prototype']=_0x277a8b,_0x2c5fc7=new _0x5cdfe6(),_0x5cdfe6['prototype']=null,_0x2c5fc7;};}()),_0x47645e={},_0x4214ba=_0x47645e[_0x968912(0x11e)]={},_0x1716d6=_0x4214ba[_0x968912(0x1a7)]=(function(){return{'extend':function(_0x48b377){var _0x27886d=_0x215f,_0x35dd3e=_0xd910c4(this);return _0x48b377&&_0x35dd3e[_0x27886d(0x181)](_0x48b377),(!_0x35dd3e[_0x27886d(0x1c9)](_0x27886d(0x2fc))||this['init']===_0x35dd3e[_0x27886d(0x2fc)])&&(_0x35dd3e[_0x27886d(0x2fc)]=function(){var _0x450a2d=_0x27886d;_0x35dd3e['$super'][_0x450a2d(0x2fc)][_0x450a2d(0x219)](this,arguments);}),_0x35dd3e[_0x27886d(0x2fc)][_0x27886d(0x3ab)]=_0x35dd3e,_0x35dd3e[_0x27886d(0x154)]=this,_0x35dd3e;},'create':function(){var _0x2d2ce0=_0x215f,_0x3f8b75=this[_0x2d2ce0(0xc0)]();return _0x3f8b75[_0x2d2ce0(0x2fc)][_0x2d2ce0(0x219)](_0x3f8b75,arguments),_0x3f8b75;},'init':function(){},'mixIn':function(_0x156800){var _0x4ef9e1=_0x215f;for(var _0x466179 in _0x156800)_0x156800[_0x4ef9e1(0x1c9)](_0x466179)&&(this[_0x466179]=_0x156800[_0x466179]);_0x156800[_0x4ef9e1(0x1c9)](_0x4ef9e1(0x198))&&(this[_0x4ef9e1(0x198)]=_0x156800[_0x4ef9e1(0x198)]);},'clone':function(){var _0x3f5360=_0x215f;return this[_0x3f5360(0x2fc)][_0x3f5360(0x3ab)]['extend'](this);}};}()),_0x5b4aa8=_0x4214ba[_0x968912(0x311)]=_0x1716d6[_0x968912(0xc0)]({'init':function(_0x299ea6,_0x9cf92d){var _0x14ad43=_0x968912;_0x299ea6=this[_0x14ad43(0x23f)]=_0x299ea6||[],_0x9cf92d!=_0xe32ca8?this[_0x14ad43(0x227)]=_0x9cf92d:this[_0x14ad43(0x227)]=_0x299ea6['length']*0x4;},'toString':function(_0x25c958){var _0x22c6b0=_0x968912;return(_0x25c958||_0x572e0f)[_0x22c6b0(0xc6)](this);},'concat':function(_0x1d5dd8){var _0x30d833=_0x968912,_0x250d26=this[_0x30d833(0x23f)],_0xa7e706=_0x1d5dd8[_0x30d833(0x23f)],_0x423f38=this['sigBytes'],_0x3b53a9=_0x1d5dd8[_0x30d833(0x227)];if(this[_0x30d833(0x196)](),_0x423f38%0x4)for(var _0x1fa7c3=0x0;_0x1fa7c3<_0x3b53a9;_0x1fa7c3++){var _0x291932=_0xa7e706[_0x1fa7c3>>>0x2]>>>0x18-_0x1fa7c3%0x4*0x8&0xff;_0x250d26[_0x423f38+_0x1fa7c3>>>0x2]|=_0x291932<<0x18-(_0x423f38+_0x1fa7c3)%0x4*0x8;}else{for(var _0x5509fc=0x0;_0x5509fc<_0x3b53a9;_0x5509fc+=0x4)_0x250d26[_0x423f38+_0x5509fc>>>0x2]=_0xa7e706[_0x5509fc>>>0x2];}return this[_0x30d833(0x227)]+=_0x3b53a9,this;},'clamp':function(){var _0x85d60=_0x968912,_0x5f4eb4=this[_0x85d60(0x23f)],_0x1f334e=this[_0x85d60(0x227)];_0x5f4eb4[_0x1f334e>>>0x2]&=0xffffffff<<0x20-_0x1f334e%0x4*0x8,_0x5f4eb4['length']=_0x4ce79f[_0x85d60(0x2dc)](_0x1f334e/0x4);},'clone':function(){var _0x125457=_0x968912,_0x1f1549=_0x1716d6['clone'][_0x125457(0x176)](this);return _0x1f1549[_0x125457(0x23f)]=this[_0x125457(0x23f)][_0x125457(0xc7)](0x0),_0x1f1549;},'random':function(_0x49c1dd){var _0x2ebb8a=_0x968912;for(var _0x1cc96b=[],_0x5bb3ac=0x0;_0x5bb3ac<_0x49c1dd;_0x5bb3ac+=0x4)_0x1cc96b[_0x2ebb8a(0x1c3)](_0x17cd47());return new _0x5b4aa8[(_0x2ebb8a(0x2fc))](_0x1cc96b,_0x49c1dd);}}),_0x403dff=_0x47645e['enc']={},_0x572e0f=_0x403dff[_0x968912(0x299)]={'stringify':function(_0x17747c){var _0x21dbb4=_0x968912;for(var _0x29ded5=_0x17747c['words'],_0x198759=_0x17747c['sigBytes'],_0x36d2b9=[],_0x1956cb=0x0;_0x1956cb<_0x198759;_0x1956cb++){var _0x1d60d8=_0x29ded5[_0x1956cb>>>0x2]>>>0x18-_0x1956cb%0x4*0x8&0xff;_0x36d2b9[_0x21dbb4(0x1c3)]((_0x1d60d8>>>0x4)[_0x21dbb4(0x198)](0x10)),_0x36d2b9[_0x21dbb4(0x1c3)]((_0x1d60d8&0xf)['toString'](0x10));}return _0x36d2b9[_0x21dbb4(0x1fc)]('');},'parse':function(_0x20628f){var _0x2f5ba2=_0x968912;for(var _0x51c106=_0x20628f[_0x2f5ba2(0x1b7)],_0x1f07e1=[],_0x28a8fe=0x0;_0x28a8fe<_0x51c106;_0x28a8fe+=0x2)_0x1f07e1[_0x28a8fe>>>0x3]|=parseInt(_0x20628f[_0x2f5ba2(0xdc)](_0x28a8fe,0x2),0x10)<<0x18-_0x28a8fe%0x8*0x4;return new _0x5b4aa8[(_0x2f5ba2(0x2fc))](_0x1f07e1,_0x51c106/0x2);}},_0x322a61=_0x403dff['Latin1']={'stringify':function(_0x1ff062){var _0x1208cd=_0x968912;for(var _0x443711=_0x1ff062['words'],_0x55f951=_0x1ff062[_0x1208cd(0x227)],_0x2b9306=[],_0xee330a=0x0;_0xee330a<_0x55f951;_0xee330a++){var _0xb7466f=_0x443711[_0xee330a>>>0x2]>>>0x18-_0xee330a%0x4*0x8&0xff;_0x2b9306['push'](String[_0x1208cd(0x1a1)](_0xb7466f));}return _0x2b9306['join']('');},'parse':function(_0x4c9075){var _0x607f76=_0x968912;for(var _0x57bf3d=_0x4c9075['length'],_0x88c46f=[],_0x79930f=0x0;_0x79930f<_0x57bf3d;_0x79930f++)_0x88c46f[_0x79930f>>>0x2]|=(_0x4c9075['charCodeAt'](_0x79930f)&0xff)<<0x18-_0x79930f%0x4*0x8;return new _0x5b4aa8[(_0x607f76(0x2fc))](_0x88c46f,_0x57bf3d);}},_0x4c7771=_0x403dff[_0x968912(0x228)]={'stringify':function(_0x2e6d50){var _0x387444=_0x968912;try{return decodeURIComponent(escape(_0x322a61[_0x387444(0xc6)](_0x2e6d50)));}catch{throw new Error(_0x387444(0x37f));}},'parse':function(_0xae2528){var _0x249850=_0x968912;return _0x322a61[_0x249850(0xda)](unescape(encodeURIComponent(_0xae2528)));}},_0x3853ea=_0x4214ba[_0x968912(0x391)]=_0x1716d6[_0x968912(0xc0)]({'reset':function(){var _0x2b978f=_0x968912;this[_0x2b978f(0x333)]=new _0x5b4aa8[(_0x2b978f(0x2fc))](),this[_0x2b978f(0x1b5)]=0x0;},'_append':function(_0xd9999f){var _0x3294f2=_0x968912;typeof _0xd9999f==_0x3294f2(0xca)&&(_0xd9999f=_0x4c7771[_0x3294f2(0xda)](_0xd9999f)),this[_0x3294f2(0x333)][_0x3294f2(0xd1)](_0xd9999f),this[_0x3294f2(0x1b5)]+=_0xd9999f[_0x3294f2(0x227)];},'_process':function(_0x485c93){var _0x2c76c5=_0x968912,_0x4f5a99,_0x5ec866=this[_0x2c76c5(0x333)],_0x19f970=_0x5ec866[_0x2c76c5(0x23f)],_0x25e6dc=_0x5ec866[_0x2c76c5(0x227)],_0x23292a=this[_0x2c76c5(0x2a2)],_0x202140=_0x23292a*0x4,_0x541d1c=_0x25e6dc/_0x202140;_0x485c93?_0x541d1c=_0x4ce79f[_0x2c76c5(0x2dc)](_0x541d1c):_0x541d1c=_0x4ce79f[_0x2c76c5(0x33c)]((_0x541d1c|0x0)-this[_0x2c76c5(0xc9)],0x0);var _0x35cef6=_0x541d1c*_0x23292a,_0x521082=_0x4ce79f['min'](_0x35cef6*0x4,_0x25e6dc);if(_0x35cef6){for(var _0x2d4653=0x0;_0x2d4653<_0x35cef6;_0x2d4653+=_0x23292a)this['_doProcessBlock'](_0x19f970,_0x2d4653);_0x4f5a99=_0x19f970[_0x2c76c5(0x20b)](0x0,_0x35cef6),_0x5ec866[_0x2c76c5(0x227)]-=_0x521082;}return new _0x5b4aa8[(_0x2c76c5(0x2fc))](_0x4f5a99,_0x521082);},'clone':function(){var _0x2b3208=_0x968912,_0x4361aa=_0x1716d6[_0x2b3208(0x238)][_0x2b3208(0x176)](this);return _0x4361aa[_0x2b3208(0x333)]=this[_0x2b3208(0x333)][_0x2b3208(0x238)](),_0x4361aa;},'_minBufferSize':0x0});_0x4214ba['Hasher']=_0x3853ea['extend']({'cfg':_0x1716d6[_0x968912(0xc0)](),'init':function(_0x1f9a7d){var _0xdba3d4=_0x968912;this[_0xdba3d4(0xe5)]=this[_0xdba3d4(0xe5)]['extend'](_0x1f9a7d),this[_0xdba3d4(0x335)]();},'reset':function(){var _0x5242ab=_0x968912;_0x3853ea[_0x5242ab(0x335)]['call'](this),this[_0x5242ab(0x123)]();},'update':function(_0x3c10cd){var _0x24388d=_0x968912;return this['_append'](_0x3c10cd),this[_0x24388d(0x1f2)](),this;},'finalize':function(_0x1190c8){var _0x54fded=_0x968912;_0x1190c8&&this['_append'](_0x1190c8);var _0x448337=this[_0x54fded(0x1a9)]();return _0x448337;},'blockSize':0x10,'_createHelper':function(_0x279019){return function(_0x2e0a8a,_0x21f047){var _0x38256b=_0x215f;return new _0x279019[(_0x38256b(0x2fc))](_0x21f047)[_0x38256b(0x164)](_0x2e0a8a);};},'_createHmacHelper':function(_0x32bc17){return function(_0x4f381a,_0x153617){var _0x18286c=_0x215f;return new _0x2f096f[(_0x18286c(0x286))][(_0x18286c(0x2fc))](_0x32bc17,_0x153617)[_0x18286c(0x164)](_0x4f381a);};}});var _0x2f096f=_0x47645e[_0x968912(0x152)]={};return _0x47645e;}(Math);return _0x3037d9;}));}(Ge)),Ge[_0xf48e25(0x159)];}var We={'exports':{}},Er=We['exports'],Zt;function Di(){var _0x55c732=_0x3c789f;return Zt||(Zt=0x1,function(_0x351942,_0x1a345a){(function(_0x13d996,_0x59200b){var _0x3ee1c6=_0x215f;_0x351942[_0x3ee1c6(0x159)]=_0x59200b(ie());}(Er,function(_0x2ce8b6){var _0x3030cc=_0x215f;return(function(){var _0x3d977c=_0x215f,_0x308455=_0x2ce8b6,_0x42b9b8=_0x308455['lib'],_0x35cd57=_0x42b9b8[_0x3d977c(0x311)],_0x248d95=_0x308455[_0x3d977c(0x195)];_0x248d95['Base64']={'stringify':function(_0x2fef40){var _0x4fdae5=_0x3d977c,_0x11de10=_0x2fef40[_0x4fdae5(0x23f)],_0x17465a=_0x2fef40['sigBytes'],_0xdadcf=this[_0x4fdae5(0x175)];_0x2fef40[_0x4fdae5(0x196)]();for(var _0x181f0c=[],_0x365622=0x0;_0x365622<_0x17465a;_0x365622+=0x3)for(var _0x53efe8=_0x11de10[_0x365622>>>0x2]>>>0x18-_0x365622%0x4*0x8&0xff,_0x57c6cf=_0x11de10[_0x365622+0x1>>>0x2]>>>0x18-(_0x365622+0x1)%0x4*0x8&0xff,_0x227732=_0x11de10[_0x365622+0x2>>>0x2]>>>0x18-(_0x365622+0x2)%0x4*0x8&0xff,_0x21460c=_0x53efe8<<0x10|_0x57c6cf<<0x8|_0x227732,_0x4062d3=0x0;_0x4062d3<0x4&&_0x365622+_0x4062d3*0.75<_0x17465a;_0x4062d3++)_0x181f0c[_0x4fdae5(0x1c3)](_0xdadcf['charAt'](_0x21460c>>>0x6*(0x3-_0x4062d3)&0x3f));var _0x197dc2=_0xdadcf[_0x4fdae5(0xe9)](0x40);if(_0x197dc2){for(;_0x181f0c[_0x4fdae5(0x1b7)]%0x4;)_0x181f0c[_0x4fdae5(0x1c3)](_0x197dc2);}return _0x181f0c['join']('');},'parse':function(_0x5e7142){var _0x2cce78=_0x3d977c,_0x18291d=_0x5e7142['length'],_0x18c24d=this['_map'],_0x2436ad=this[_0x2cce78(0x11d)];if(!_0x2436ad){_0x2436ad=this['_reverseMap']=[];for(var _0x4840d6=0x0;_0x4840d6<_0x18c24d[_0x2cce78(0x1b7)];_0x4840d6++)_0x2436ad[_0x18c24d['charCodeAt'](_0x4840d6)]=_0x4840d6;}var _0x18df1e=_0x18c24d[_0x2cce78(0xe9)](0x40);if(_0x18df1e){var _0x45ea27=_0x5e7142['indexOf'](_0x18df1e);_0x45ea27!==-0x1&&(_0x18291d=_0x45ea27);}return _0x7518b7(_0x5e7142,_0x18291d,_0x2436ad);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x7518b7(_0xa0fc73,_0x3ae0ab,_0x10e998){var _0x50c040=_0x3d977c;for(var _0x5deccd=[],_0x5c0221=0x0,_0x4be4b3=0x0;_0x4be4b3<_0x3ae0ab;_0x4be4b3++)if(_0x4be4b3%0x4){var _0x2810e2=_0x10e998[_0xa0fc73[_0x50c040(0x2ec)](_0x4be4b3-0x1)]<<_0x4be4b3%0x4*0x2,_0x1c1455=_0x10e998[_0xa0fc73['charCodeAt'](_0x4be4b3)]>>>0x6-_0x4be4b3%0x4*0x2,_0x5125fe=_0x2810e2|_0x1c1455;_0x5deccd[_0x5c0221>>>0x2]|=_0x5125fe<<0x18-_0x5c0221%0x4*0x8,_0x5c0221++;}return _0x35cd57[_0x50c040(0x1aa)](_0x5deccd,_0x5c0221);}}()),_0x2ce8b6[_0x3030cc(0x195)][_0x3030cc(0x2e9)];}));}(We)),We[_0x55c732(0x159)];}var Ke={'exports':{}},Ir=Ke[_0x3c789f(0x159)],Qt;function Tr(){return Qt||(Qt=0x1,function(_0x83141d,_0x393623){(function(_0x1f9297,_0x39c73e){var _0x20dcb4=_0x215f;_0x83141d[_0x20dcb4(0x159)]=_0x39c73e(ie());}(Ir,function(_0x38ca5e){return function(_0x2781e0){var _0x3dfa5a=_0x215f,_0x21c1dd=_0x38ca5e,_0x2b059f=_0x21c1dd[_0x3dfa5a(0x11e)],_0x4536e9=_0x2b059f['WordArray'],_0x17743e=_0x2b059f[_0x3dfa5a(0x1a0)],_0x3f9b8d=_0x21c1dd['algo'],_0x2696ff=[];(function(){var _0x1fedb2=_0x3dfa5a;for(var _0x1a45a1=0x0;_0x1a45a1<0x40;_0x1a45a1++)_0x2696ff[_0x1a45a1]=_0x2781e0['abs'](_0x2781e0[_0x1fedb2(0x16b)](_0x1a45a1+0x1))*0x100000000|0x0;}());var _0x222804=_0x3f9b8d[_0x3dfa5a(0x3a2)]=_0x17743e[_0x3dfa5a(0xc0)]({'_doReset':function(){var _0x5d8f83=_0x3dfa5a;this['_hash']=new _0x4536e9[(_0x5d8f83(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5558d4,_0x41165e){var _0x491159=_0x3dfa5a;for(var _0x3f9005=0x0;_0x3f9005<0x10;_0x3f9005++){var _0x1c30fd=_0x41165e+_0x3f9005,_0x5d80f4=_0x5558d4[_0x1c30fd];_0x5558d4[_0x1c30fd]=(_0x5d80f4<<0x8|_0x5d80f4>>>0x18)&0xff00ff|(_0x5d80f4<<0x18|_0x5d80f4>>>0x8)&0xff00ff00;}var _0x51127c=this[_0x491159(0x2b0)]['words'],_0x38f25f=_0x5558d4[_0x41165e+0x0],_0x6c65fe=_0x5558d4[_0x41165e+0x1],_0x205a3c=_0x5558d4[_0x41165e+0x2],_0x323e9a=_0x5558d4[_0x41165e+0x3],_0x31616a=_0x5558d4[_0x41165e+0x4],_0x45d138=_0x5558d4[_0x41165e+0x5],_0x3bc52f=_0x5558d4[_0x41165e+0x6],_0x5e5f07=_0x5558d4[_0x41165e+0x7],_0x41fd95=_0x5558d4[_0x41165e+0x8],_0x5e5a63=_0x5558d4[_0x41165e+0x9],_0x103efc=_0x5558d4[_0x41165e+0xa],_0x41a8c7=_0x5558d4[_0x41165e+0xb],_0x1ea88c=_0x5558d4[_0x41165e+0xc],_0x12e6cc=_0x5558d4[_0x41165e+0xd],_0x188a43=_0x5558d4[_0x41165e+0xe],_0xf9e1e=_0x5558d4[_0x41165e+0xf],_0x20c11c=_0x51127c[0x0],_0x1efec4=_0x51127c[0x1],_0x50d8ed=_0x51127c[0x2],_0x3fc89d=_0x51127c[0x3];_0x20c11c=_0x1b9ef1(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x38f25f,0x7,_0x2696ff[0x0]),_0x3fc89d=_0x1b9ef1(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x6c65fe,0xc,_0x2696ff[0x1]),_0x50d8ed=_0x1b9ef1(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x205a3c,0x11,_0x2696ff[0x2]),_0x1efec4=_0x1b9ef1(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x323e9a,0x16,_0x2696ff[0x3]),_0x20c11c=_0x1b9ef1(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x31616a,0x7,_0x2696ff[0x4]),_0x3fc89d=_0x1b9ef1(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x45d138,0xc,_0x2696ff[0x5]),_0x50d8ed=_0x1b9ef1(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x3bc52f,0x11,_0x2696ff[0x6]),_0x1efec4=_0x1b9ef1(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x5e5f07,0x16,_0x2696ff[0x7]),_0x20c11c=_0x1b9ef1(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x41fd95,0x7,_0x2696ff[0x8]),_0x3fc89d=_0x1b9ef1(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x5e5a63,0xc,_0x2696ff[0x9]),_0x50d8ed=_0x1b9ef1(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x103efc,0x11,_0x2696ff[0xa]),_0x1efec4=_0x1b9ef1(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x41a8c7,0x16,_0x2696ff[0xb]),_0x20c11c=_0x1b9ef1(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x1ea88c,0x7,_0x2696ff[0xc]),_0x3fc89d=_0x1b9ef1(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x12e6cc,0xc,_0x2696ff[0xd]),_0x50d8ed=_0x1b9ef1(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x188a43,0x11,_0x2696ff[0xe]),_0x1efec4=_0x1b9ef1(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0xf9e1e,0x16,_0x2696ff[0xf]),_0x20c11c=_0x3ac4b6(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x6c65fe,0x5,_0x2696ff[0x10]),_0x3fc89d=_0x3ac4b6(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x3bc52f,0x9,_0x2696ff[0x11]),_0x50d8ed=_0x3ac4b6(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x41a8c7,0xe,_0x2696ff[0x12]),_0x1efec4=_0x3ac4b6(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x38f25f,0x14,_0x2696ff[0x13]),_0x20c11c=_0x3ac4b6(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x45d138,0x5,_0x2696ff[0x14]),_0x3fc89d=_0x3ac4b6(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x103efc,0x9,_0x2696ff[0x15]),_0x50d8ed=_0x3ac4b6(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0xf9e1e,0xe,_0x2696ff[0x16]),_0x1efec4=_0x3ac4b6(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x31616a,0x14,_0x2696ff[0x17]),_0x20c11c=_0x3ac4b6(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x5e5a63,0x5,_0x2696ff[0x18]),_0x3fc89d=_0x3ac4b6(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x188a43,0x9,_0x2696ff[0x19]),_0x50d8ed=_0x3ac4b6(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x323e9a,0xe,_0x2696ff[0x1a]),_0x1efec4=_0x3ac4b6(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x41fd95,0x14,_0x2696ff[0x1b]),_0x20c11c=_0x3ac4b6(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x12e6cc,0x5,_0x2696ff[0x1c]),_0x3fc89d=_0x3ac4b6(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x205a3c,0x9,_0x2696ff[0x1d]),_0x50d8ed=_0x3ac4b6(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x5e5f07,0xe,_0x2696ff[0x1e]),_0x1efec4=_0x3ac4b6(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1ea88c,0x14,_0x2696ff[0x1f]),_0x20c11c=_0x16bd47(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x45d138,0x4,_0x2696ff[0x20]),_0x3fc89d=_0x16bd47(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x41fd95,0xb,_0x2696ff[0x21]),_0x50d8ed=_0x16bd47(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x41a8c7,0x10,_0x2696ff[0x22]),_0x1efec4=_0x16bd47(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x188a43,0x17,_0x2696ff[0x23]),_0x20c11c=_0x16bd47(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x6c65fe,0x4,_0x2696ff[0x24]),_0x3fc89d=_0x16bd47(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x31616a,0xb,_0x2696ff[0x25]),_0x50d8ed=_0x16bd47(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x5e5f07,0x10,_0x2696ff[0x26]),_0x1efec4=_0x16bd47(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x103efc,0x17,_0x2696ff[0x27]),_0x20c11c=_0x16bd47(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x12e6cc,0x4,_0x2696ff[0x28]),_0x3fc89d=_0x16bd47(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x38f25f,0xb,_0x2696ff[0x29]),_0x50d8ed=_0x16bd47(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x323e9a,0x10,_0x2696ff[0x2a]),_0x1efec4=_0x16bd47(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x3bc52f,0x17,_0x2696ff[0x2b]),_0x20c11c=_0x16bd47(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x5e5a63,0x4,_0x2696ff[0x2c]),_0x3fc89d=_0x16bd47(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x1ea88c,0xb,_0x2696ff[0x2d]),_0x50d8ed=_0x16bd47(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0xf9e1e,0x10,_0x2696ff[0x2e]),_0x1efec4=_0x16bd47(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x205a3c,0x17,_0x2696ff[0x2f]),_0x20c11c=_0x5eb8f9(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x38f25f,0x6,_0x2696ff[0x30]),_0x3fc89d=_0x5eb8f9(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x5e5f07,0xa,_0x2696ff[0x31]),_0x50d8ed=_0x5eb8f9(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x188a43,0xf,_0x2696ff[0x32]),_0x1efec4=_0x5eb8f9(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x45d138,0x15,_0x2696ff[0x33]),_0x20c11c=_0x5eb8f9(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x1ea88c,0x6,_0x2696ff[0x34]),_0x3fc89d=_0x5eb8f9(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x323e9a,0xa,_0x2696ff[0x35]),_0x50d8ed=_0x5eb8f9(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x103efc,0xf,_0x2696ff[0x36]),_0x1efec4=_0x5eb8f9(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x6c65fe,0x15,_0x2696ff[0x37]),_0x20c11c=_0x5eb8f9(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x41fd95,0x6,_0x2696ff[0x38]),_0x3fc89d=_0x5eb8f9(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0xf9e1e,0xa,_0x2696ff[0x39]),_0x50d8ed=_0x5eb8f9(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x3bc52f,0xf,_0x2696ff[0x3a]),_0x1efec4=_0x5eb8f9(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x12e6cc,0x15,_0x2696ff[0x3b]),_0x20c11c=_0x5eb8f9(_0x20c11c,_0x1efec4,_0x50d8ed,_0x3fc89d,_0x31616a,0x6,_0x2696ff[0x3c]),_0x3fc89d=_0x5eb8f9(_0x3fc89d,_0x20c11c,_0x1efec4,_0x50d8ed,_0x41a8c7,0xa,_0x2696ff[0x3d]),_0x50d8ed=_0x5eb8f9(_0x50d8ed,_0x3fc89d,_0x20c11c,_0x1efec4,_0x205a3c,0xf,_0x2696ff[0x3e]),_0x1efec4=_0x5eb8f9(_0x1efec4,_0x50d8ed,_0x3fc89d,_0x20c11c,_0x5e5a63,0x15,_0x2696ff[0x3f]),_0x51127c[0x0]=_0x51127c[0x0]+_0x20c11c|0x0,_0x51127c[0x1]=_0x51127c[0x1]+_0x1efec4|0x0,_0x51127c[0x2]=_0x51127c[0x2]+_0x50d8ed|0x0,_0x51127c[0x3]=_0x51127c[0x3]+_0x3fc89d|0x0;},'_doFinalize':function(){var _0x5e7816=_0x3dfa5a,_0x272600=this[_0x5e7816(0x333)],_0x53c469=_0x272600[_0x5e7816(0x23f)],_0x545b3d=this[_0x5e7816(0x1b5)]*0x8,_0x3ae80c=_0x272600[_0x5e7816(0x227)]*0x8;_0x53c469[_0x3ae80c>>>0x5]|=0x80<<0x18-_0x3ae80c%0x20;var _0xc2b912=_0x2781e0['floor'](_0x545b3d/0x100000000),_0x319adb=_0x545b3d;_0x53c469[(_0x3ae80c+0x40>>>0x9<<0x4)+0xf]=(_0xc2b912<<0x8|_0xc2b912>>>0x18)&0xff00ff|(_0xc2b912<<0x18|_0xc2b912>>>0x8)&0xff00ff00,_0x53c469[(_0x3ae80c+0x40>>>0x9<<0x4)+0xe]=(_0x319adb<<0x8|_0x319adb>>>0x18)&0xff00ff|(_0x319adb<<0x18|_0x319adb>>>0x8)&0xff00ff00,_0x272600['sigBytes']=(_0x53c469[_0x5e7816(0x1b7)]+0x1)*0x4,this[_0x5e7816(0x1f2)]();for(var _0x13bed8=this[_0x5e7816(0x2b0)],_0x4a4e5c=_0x13bed8['words'],_0x518a09=0x0;_0x518a09<0x4;_0x518a09++){var _0x7be3f0=_0x4a4e5c[_0x518a09];_0x4a4e5c[_0x518a09]=(_0x7be3f0<<0x8|_0x7be3f0>>>0x18)&0xff00ff|(_0x7be3f0<<0x18|_0x7be3f0>>>0x8)&0xff00ff00;}return _0x13bed8;},'clone':function(){var _0x23318c=_0x3dfa5a,_0x4d2b55=_0x17743e[_0x23318c(0x238)][_0x23318c(0x176)](this);return _0x4d2b55[_0x23318c(0x2b0)]=this[_0x23318c(0x2b0)][_0x23318c(0x238)](),_0x4d2b55;}});function _0x1b9ef1(_0x19cab7,_0x4f98ba,_0x45a1e1,_0x3ae839,_0x43014d,_0x234f6c,_0x19be66){var _0x364bf3=_0x19cab7+(_0x4f98ba&_0x45a1e1|~_0x4f98ba&_0x3ae839)+_0x43014d+_0x19be66;return(_0x364bf3<<_0x234f6c|_0x364bf3>>>0x20-_0x234f6c)+_0x4f98ba;}function _0x3ac4b6(_0x23e982,_0x5d4ebe,_0x742300,_0x502165,_0x250133,_0x40032c,_0x2f3a62){var _0x26bab7=_0x23e982+(_0x5d4ebe&_0x502165|_0x742300&~_0x502165)+_0x250133+_0x2f3a62;return(_0x26bab7<<_0x40032c|_0x26bab7>>>0x20-_0x40032c)+_0x5d4ebe;}function _0x16bd47(_0x2e7c79,_0x4d977f,_0x34a624,_0x52b8db,_0x5df555,_0x1680cc,_0x4cb279){var _0x1439c2=_0x2e7c79+(_0x4d977f^_0x34a624^_0x52b8db)+_0x5df555+_0x4cb279;return(_0x1439c2<<_0x1680cc|_0x1439c2>>>0x20-_0x1680cc)+_0x4d977f;}function _0x5eb8f9(_0x5e03d7,_0x16598c,_0xf84fb7,_0xb0a9ae,_0x3154ee,_0x219b0d,_0x1233de){var _0x16ef03=_0x5e03d7+(_0xf84fb7^(_0x16598c|~_0xb0a9ae))+_0x3154ee+_0x1233de;return(_0x16ef03<<_0x219b0d|_0x16ef03>>>0x20-_0x219b0d)+_0x16598c;}_0x21c1dd[_0x3dfa5a(0x3a2)]=_0x17743e[_0x3dfa5a(0x1ce)](_0x222804),_0x21c1dd['HmacMD5']=_0x17743e[_0x3dfa5a(0x38e)](_0x222804);}(Math),_0x38ca5e['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe['exports'],ei;function Rr(){var _0x278742=_0x3c789f;return ei||(ei=0x1,function(_0x4af97d,_0x1c3cd1){(function(_0x2acc11,_0x2f8947){var _0x16ba44=_0x215f;_0x4af97d[_0x16ba44(0x159)]=_0x2f8947(ie());}(Cr,function(_0x28552a){return(function(){var _0x11c1ad=_0x215f,_0xc2a1c0=_0x28552a,_0x460058=_0xc2a1c0[_0x11c1ad(0x11e)],_0x52d398=_0x460058[_0x11c1ad(0x311)],_0x2cf8e9=_0x460058[_0x11c1ad(0x1a0)],_0x3dc82f=_0xc2a1c0[_0x11c1ad(0x152)],_0x320bf4=[],_0x45eb7e=_0x3dc82f[_0x11c1ad(0x1ef)]=_0x2cf8e9[_0x11c1ad(0xc0)]({'_doReset':function(){var _0x194a0c=_0x11c1ad;this[_0x194a0c(0x2b0)]=new _0x52d398[(_0x194a0c(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x367b88,_0x4269da){var _0x2afa21=_0x11c1ad;for(var _0x276ffd=this[_0x2afa21(0x2b0)][_0x2afa21(0x23f)],_0x456491=_0x276ffd[0x0],_0x17c89e=_0x276ffd[0x1],_0x343495=_0x276ffd[0x2],_0x3d1191=_0x276ffd[0x3],_0x291848=_0x276ffd[0x4],_0x32104f=0x0;_0x32104f<0x50;_0x32104f++){if(_0x32104f<0x10)_0x320bf4[_0x32104f]=_0x367b88[_0x4269da+_0x32104f]|0x0;else{var _0x5a79de=_0x320bf4[_0x32104f-0x3]^_0x320bf4[_0x32104f-0x8]^_0x320bf4[_0x32104f-0xe]^_0x320bf4[_0x32104f-0x10];_0x320bf4[_0x32104f]=_0x5a79de<<0x1|_0x5a79de>>>0x1f;}var _0x484660=(_0x456491<<0x5|_0x456491>>>0x1b)+_0x291848+_0x320bf4[_0x32104f];_0x32104f<0x14?_0x484660+=(_0x17c89e&_0x343495|~_0x17c89e&_0x3d1191)+0x5a827999:_0x32104f<0x28?_0x484660+=(_0x17c89e^_0x343495^_0x3d1191)+0x6ed9eba1:_0x32104f<0x3c?_0x484660+=(_0x17c89e&_0x343495|_0x17c89e&_0x3d1191|_0x343495&_0x3d1191)-0x70e44324:_0x484660+=(_0x17c89e^_0x343495^_0x3d1191)-0x359d3e2a,_0x291848=_0x3d1191,_0x3d1191=_0x343495,_0x343495=_0x17c89e<<0x1e|_0x17c89e>>>0x2,_0x17c89e=_0x456491,_0x456491=_0x484660;}_0x276ffd[0x0]=_0x276ffd[0x0]+_0x456491|0x0,_0x276ffd[0x1]=_0x276ffd[0x1]+_0x17c89e|0x0,_0x276ffd[0x2]=_0x276ffd[0x2]+_0x343495|0x0,_0x276ffd[0x3]=_0x276ffd[0x3]+_0x3d1191|0x0,_0x276ffd[0x4]=_0x276ffd[0x4]+_0x291848|0x0;},'_doFinalize':function(){var _0x5eb31a=_0x11c1ad,_0xa137b4=this[_0x5eb31a(0x333)],_0x48d87c=_0xa137b4[_0x5eb31a(0x23f)],_0x14f955=this[_0x5eb31a(0x1b5)]*0x8,_0x191a4b=_0xa137b4[_0x5eb31a(0x227)]*0x8;return _0x48d87c[_0x191a4b>>>0x5]|=0x80<<0x18-_0x191a4b%0x20,_0x48d87c[(_0x191a4b+0x40>>>0x9<<0x4)+0xe]=Math[_0x5eb31a(0x15f)](_0x14f955/0x100000000),_0x48d87c[(_0x191a4b+0x40>>>0x9<<0x4)+0xf]=_0x14f955,_0xa137b4[_0x5eb31a(0x227)]=_0x48d87c[_0x5eb31a(0x1b7)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x48505f=_0x11c1ad,_0x4f896b=_0x2cf8e9[_0x48505f(0x238)][_0x48505f(0x176)](this);return _0x4f896b[_0x48505f(0x2b0)]=this[_0x48505f(0x2b0)][_0x48505f(0x238)](),_0x4f896b;}});_0xc2a1c0['SHA1']=_0x2cf8e9[_0x11c1ad(0x1ce)](_0x45eb7e),_0xc2a1c0['HmacSHA1']=_0x2cf8e9['_createHmacHelper'](_0x45eb7e);}()),_0x28552a['SHA1'];}));}(qe)),qe[_0x278742(0x159)];}var ze={'exports':{}},br=ze[_0x3c789f(0x159)],ti;function yr(){return ti||(ti=0x1,function(_0x422876,_0x406872){(function(_0x363e55,_0x5eac7c){var _0x2b5c7f=_0x215f;_0x422876[_0x2b5c7f(0x159)]=_0x5eac7c(ie());}(br,function(_0x8eb80b){(function(){var _0x266f59=_0x215f,_0x52d1f2=_0x8eb80b,_0x4ba200=_0x52d1f2[_0x266f59(0x11e)],_0xf826f9=_0x4ba200[_0x266f59(0x1a7)],_0x2e5239=_0x52d1f2[_0x266f59(0x195)],_0x57d8a7=_0x2e5239[_0x266f59(0x228)],_0x4dd758=_0x52d1f2[_0x266f59(0x152)];_0x4dd758[_0x266f59(0x286)]=_0xf826f9[_0x266f59(0xc0)]({'init':function(_0x57a859,_0x1af380){var _0x12e40a=_0x266f59;_0x57a859=this[_0x12e40a(0x145)]=new _0x57a859[(_0x12e40a(0x2fc))](),typeof _0x1af380==_0x12e40a(0xca)&&(_0x1af380=_0x57d8a7['parse'](_0x1af380));var _0x1a53c1=_0x57a859[_0x12e40a(0x2a2)],_0x3c22f3=_0x1a53c1*0x4;_0x1af380[_0x12e40a(0x227)]>_0x3c22f3&&(_0x1af380=_0x57a859[_0x12e40a(0x164)](_0x1af380)),_0x1af380[_0x12e40a(0x196)]();for(var _0x5e677b=this[_0x12e40a(0x150)]=_0x1af380['clone'](),_0x56020f=this[_0x12e40a(0x191)]=_0x1af380[_0x12e40a(0x238)](),_0x36a3d3=_0x5e677b[_0x12e40a(0x23f)],_0x5498eb=_0x56020f[_0x12e40a(0x23f)],_0x47d9b6=0x0;_0x47d9b6<_0x1a53c1;_0x47d9b6++)_0x36a3d3[_0x47d9b6]^=0x5c5c5c5c,_0x5498eb[_0x47d9b6]^=0x36363636;_0x5e677b[_0x12e40a(0x227)]=_0x56020f['sigBytes']=_0x3c22f3,this['reset']();},'reset':function(){var _0x39df05=_0x266f59,_0x1029ba=this[_0x39df05(0x145)];_0x1029ba[_0x39df05(0x335)](),_0x1029ba[_0x39df05(0xbb)](this[_0x39df05(0x191)]);},'update':function(_0x18230f){var _0x343dac=_0x266f59;return this[_0x343dac(0x145)][_0x343dac(0xbb)](_0x18230f),this;},'finalize':function(_0x36d59a){var _0x43d4b2=_0x266f59,_0x19978e=this[_0x43d4b2(0x145)],_0x188218=_0x19978e[_0x43d4b2(0x164)](_0x36d59a);_0x19978e['reset']();var _0x11eef9=_0x19978e[_0x43d4b2(0x164)](this['_oKey']['clone']()[_0x43d4b2(0xd1)](_0x188218));return _0x11eef9;}});}());}));}(ze)),ze['exports'];}var Or=Ye[_0x3c789f(0x159)],ii;function Ui(){var _0x15b5d1=_0x3c789f;return ii||(ii=0x1,function(_0x4bd856,_0x2c2be8){(function(_0x3f031d,_0x36ece8,_0x1927d9){var _0x5b4574=_0x215f;_0x4bd856[_0x5b4574(0x159)]=_0x36ece8(ie(),Rr(),yr());}(Or,function(_0x3629df){var _0xb4b326=_0x215f;return(function(){var _0x104137=_0x215f,_0x37fcb2=_0x3629df,_0x2a8327=_0x37fcb2[_0x104137(0x11e)],_0x4cc73d=_0x2a8327[_0x104137(0x1a7)],_0x3ea921=_0x2a8327[_0x104137(0x311)],_0x59762e=_0x37fcb2[_0x104137(0x152)],_0x2609ba=_0x59762e[_0x104137(0x3a2)],_0x145f10=_0x59762e['EvpKDF']=_0x4cc73d[_0x104137(0xc0)]({'cfg':_0x4cc73d[_0x104137(0xc0)]({'keySize':0x80/0x20,'hasher':_0x2609ba,'iterations':0x1}),'init':function(_0x17fb1c){this['cfg']=this['cfg']['extend'](_0x17fb1c);},'compute':function(_0x228781,_0x5b4936){var _0x41aefa=_0x104137;for(var _0x48061f,_0x11a1d1=this[_0x41aefa(0xe5)],_0x55ebf7=_0x11a1d1[_0x41aefa(0x169)][_0x41aefa(0x1aa)](),_0x4b8607=_0x3ea921[_0x41aefa(0x1aa)](),_0x593cd6=_0x4b8607[_0x41aefa(0x23f)],_0x45e402=_0x11a1d1['keySize'],_0x2b8de7=_0x11a1d1['iterations'];_0x593cd6[_0x41aefa(0x1b7)]<_0x45e402;){_0x48061f&&_0x55ebf7['update'](_0x48061f),_0x48061f=_0x55ebf7['update'](_0x228781)[_0x41aefa(0x164)](_0x5b4936),_0x55ebf7['reset']();for(var _0x21ea3b=0x1;_0x21ea3b<_0x2b8de7;_0x21ea3b++)_0x48061f=_0x55ebf7['finalize'](_0x48061f),_0x55ebf7['reset']();_0x4b8607[_0x41aefa(0xd1)](_0x48061f);}return _0x4b8607[_0x41aefa(0x227)]=_0x45e402*0x4,_0x4b8607;}});_0x37fcb2[_0x104137(0x10b)]=function(_0x558782,_0x3d155e,_0x4b96d2){var _0x2b9e32=_0x104137;return _0x145f10[_0x2b9e32(0x1aa)](_0x4b96d2)[_0x2b9e32(0x1f0)](_0x558782,_0x3d155e);};}()),_0x3629df[_0xb4b326(0x10b)];}));}(Ye)),Ye[_0x15b5d1(0x159)];}var Je={'exports':{}},Nr=Je[_0x3c789f(0x159)],ni;function wi(){var _0x20ea2a=_0x3c789f;return ni||(ni=0x1,function(_0x53862c,_0x4c0ad1){(function(_0x2ba7d8,_0x31ee54,_0x479e16){_0x53862c['exports']=_0x31ee54(ie(),Ui());}(Nr,function(_0x28a452){var _0x5b03e0=_0x215f;_0x28a452[_0x5b03e0(0x11e)][_0x5b03e0(0x2e3)]||function(_0x74259){var _0x2616b9=_0x5b03e0,_0x1b74f5=_0x28a452,_0x436797=_0x1b74f5[_0x2616b9(0x11e)],_0x5cd983=_0x436797[_0x2616b9(0x1a7)],_0x1171aa=_0x436797[_0x2616b9(0x311)],_0x4bf1dc=_0x436797[_0x2616b9(0x391)],_0x26cd0b=_0x1b74f5[_0x2616b9(0x195)];_0x26cd0b[_0x2616b9(0x228)];var _0x37d69e=_0x26cd0b[_0x2616b9(0x2e9)],_0x41e362=_0x1b74f5[_0x2616b9(0x152)],_0x21b3d4=_0x41e362[_0x2616b9(0x10b)],_0x2bc0e0=_0x436797[_0x2616b9(0x2e3)]=_0x4bf1dc[_0x2616b9(0xc0)]({'cfg':_0x5cd983[_0x2616b9(0xc0)](),'createEncryptor':function(_0x1ea41e,_0x249f30){var _0x58b9f2=_0x2616b9;return this['create'](this[_0x58b9f2(0x19d)],_0x1ea41e,_0x249f30);},'createDecryptor':function(_0x1b2ffb,_0xe6a96a){var _0x40a19e=_0x2616b9;return this[_0x40a19e(0x1aa)](this[_0x40a19e(0x349)],_0x1b2ffb,_0xe6a96a);},'init':function(_0x2ca83d,_0x4dd6f2,_0x56edd2){var _0x5878a4=_0x2616b9;this[_0x5878a4(0xe5)]=this['cfg']['extend'](_0x56edd2),this[_0x5878a4(0x34a)]=_0x2ca83d,this[_0x5878a4(0x3aa)]=_0x4dd6f2,this['reset']();},'reset':function(){var _0x43daf0=_0x2616b9;_0x4bf1dc[_0x43daf0(0x335)][_0x43daf0(0x176)](this),this[_0x43daf0(0x123)]();},'process':function(_0x697d02){var _0x58309c=_0x2616b9;return this['_append'](_0x697d02),this[_0x58309c(0x1f2)]();},'finalize':function(_0x588cda){var _0x162229=_0x2616b9;_0x588cda&&this[_0x162229(0x288)](_0x588cda);var _0x333e76=this[_0x162229(0x1a9)]();return _0x333e76;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x18aaee(_0x3d0c73){var _0x1b7e7d=_0x215f;return typeof _0x3d0c73==_0x1b7e7d(0xca)?_0xbff3ce:_0x3abcec;}return function(_0x5df321){return{'encrypt':function(_0x20b709,_0x1c20d9,_0x236bf8){var _0x27853e=_0x215f;return _0x18aaee(_0x1c20d9)[_0x27853e(0x1c4)](_0x5df321,_0x20b709,_0x1c20d9,_0x236bf8);},'decrypt':function(_0x5e1721,_0x362b6b,_0x3578cf){var _0xbbd1d6=_0x215f;return _0x18aaee(_0x362b6b)[_0xbbd1d6(0x1ee)](_0x5df321,_0x5e1721,_0x362b6b,_0x3578cf);}};};}())});_0x436797[_0x2616b9(0x2ea)]=_0x2bc0e0[_0x2616b9(0xc0)]({'_doFinalize':function(){var _0x1a3657=_0x2616b9,_0x5de1ee=this[_0x1a3657(0x1f2)](!0x0);return _0x5de1ee;},'blockSize':0x1});var _0x2e7f44=_0x1b74f5['mode']={},_0x15162d=_0x436797[_0x2616b9(0x180)]=_0x5cd983[_0x2616b9(0xc0)]({'createEncryptor':function(_0x2f6e12,_0xb1e040){var _0x1f4f58=_0x2616b9;return this[_0x1f4f58(0x356)][_0x1f4f58(0x1aa)](_0x2f6e12,_0xb1e040);},'createDecryptor':function(_0x4c3f17,_0xbc1a04){var _0x5918a9=_0x2616b9;return this[_0x5918a9(0x343)][_0x5918a9(0x1aa)](_0x4c3f17,_0xbc1a04);},'init':function(_0x12f4e8,_0x5f0536){var _0x46de25=_0x2616b9;this[_0x46de25(0x2f7)]=_0x12f4e8,this[_0x46de25(0x110)]=_0x5f0536;}}),_0x326f7e=_0x2e7f44[_0x2616b9(0x250)]=(function(){var _0x4a9ae5=_0x2616b9,_0x2299cf=_0x15162d[_0x4a9ae5(0xc0)]();_0x2299cf[_0x4a9ae5(0x356)]=_0x2299cf['extend']({'processBlock':function(_0x2446bb,_0x476b97){var _0x1fdaa3=_0x4a9ae5,_0x49756=this['_cipher'],_0x497723=_0x49756['blockSize'];_0x4b27f9['call'](this,_0x2446bb,_0x476b97,_0x497723),_0x49756[_0x1fdaa3(0x385)](_0x2446bb,_0x476b97),this['_prevBlock']=_0x2446bb[_0x1fdaa3(0xc7)](_0x476b97,_0x476b97+_0x497723);}}),_0x2299cf['Decryptor']=_0x2299cf[_0x4a9ae5(0xc0)]({'processBlock':function(_0x2e2347,_0x4830d7){var _0x50b938=_0x4a9ae5,_0x3d69ff=this[_0x50b938(0x2f7)],_0x532d5f=_0x3d69ff[_0x50b938(0x2a2)],_0x17f7eb=_0x2e2347[_0x50b938(0xc7)](_0x4830d7,_0x4830d7+_0x532d5f);_0x3d69ff['decryptBlock'](_0x2e2347,_0x4830d7),_0x4b27f9[_0x50b938(0x176)](this,_0x2e2347,_0x4830d7,_0x532d5f),this[_0x50b938(0x136)]=_0x17f7eb;}});function _0x4b27f9(_0x1e2d3a,_0x165e58,_0x47c3a2){var _0x3be988=_0x4a9ae5,_0x3abb30,_0x5477e4=this['_iv'];_0x5477e4?(_0x3abb30=_0x5477e4,this[_0x3be988(0x110)]=_0x74259):_0x3abb30=this['_prevBlock'];for(var _0x24695f=0x0;_0x24695f<_0x47c3a2;_0x24695f++)_0x1e2d3a[_0x165e58+_0x24695f]^=_0x3abb30[_0x24695f];}return _0x2299cf;}()),_0xcb0250=_0x1b74f5[_0x2616b9(0x135)]={},_0x177ce0=_0xcb0250[_0x2616b9(0x1b9)]={'pad':function(_0x3bc836,_0x5e1977){var _0x37a60c=_0x2616b9;for(var _0x43148b=_0x5e1977*0x4,_0x33745e=_0x43148b-_0x3bc836[_0x37a60c(0x227)]%_0x43148b,_0x5e7a6d=_0x33745e<<0x18|_0x33745e<<0x10|_0x33745e<<0x8|_0x33745e,_0x3e81de=[],_0x437709=0x0;_0x437709<_0x33745e;_0x437709+=0x4)_0x3e81de[_0x37a60c(0x1c3)](_0x5e7a6d);var _0x4d96ef=_0x1171aa[_0x37a60c(0x1aa)](_0x3e81de,_0x33745e);_0x3bc836['concat'](_0x4d96ef);},'unpad':function(_0x5de5ea){var _0x5ac457=_0x2616b9,_0x4da7a0=_0x5de5ea[_0x5ac457(0x23f)][_0x5de5ea['sigBytes']-0x1>>>0x2]&0xff;_0x5de5ea['sigBytes']-=_0x4da7a0;}};_0x436797['BlockCipher']=_0x2bc0e0[_0x2616b9(0xc0)]({'cfg':_0x2bc0e0[_0x2616b9(0xe5)][_0x2616b9(0xc0)]({'mode':_0x326f7e,'padding':_0x177ce0}),'reset':function(){var _0x2d992b=_0x2616b9,_0x1f1dad;_0x2bc0e0[_0x2d992b(0x335)][_0x2d992b(0x176)](this);var _0x3e3ccd=this['cfg'],_0x25389b=_0x3e3ccd['iv'],_0x336d7c=_0x3e3ccd['mode'];this[_0x2d992b(0x34a)]==this[_0x2d992b(0x19d)]?_0x1f1dad=_0x336d7c[_0x2d992b(0x2eb)]:(_0x1f1dad=_0x336d7c['createDecryptor'],this[_0x2d992b(0xc9)]=0x1),this[_0x2d992b(0x140)]&&this[_0x2d992b(0x140)][_0x2d992b(0x26d)]==_0x1f1dad?this[_0x2d992b(0x140)]['init'](this,_0x25389b&&_0x25389b[_0x2d992b(0x23f)]):(this[_0x2d992b(0x140)]=_0x1f1dad[_0x2d992b(0x176)](_0x336d7c,this,_0x25389b&&_0x25389b[_0x2d992b(0x23f)]),this[_0x2d992b(0x140)][_0x2d992b(0x26d)]=_0x1f1dad);},'_doProcessBlock':function(_0x27524c,_0x3a2135){var _0x7ad68b=_0x2616b9;this[_0x7ad68b(0x140)][_0x7ad68b(0xe4)](_0x27524c,_0x3a2135);},'_doFinalize':function(){var _0xafe518=_0x2616b9,_0x55b1b1,_0x33058b=this[_0xafe518(0xe5)][_0xafe518(0x34e)];return this[_0xafe518(0x34a)]==this[_0xafe518(0x19d)]?(_0x33058b[_0xafe518(0x135)](this[_0xafe518(0x333)],this[_0xafe518(0x2a2)]),_0x55b1b1=this[_0xafe518(0x1f2)](!0x0)):(_0x55b1b1=this['_process'](!0x0),_0x33058b['unpad'](_0x55b1b1)),_0x55b1b1;},'blockSize':0x80/0x20});var _0xf55169=_0x436797[_0x2616b9(0x283)]=_0x5cd983['extend']({'init':function(_0x1cc901){var _0x49c85e=_0x2616b9;this[_0x49c85e(0x181)](_0x1cc901);},'toString':function(_0x1663ae){var _0x22e7cf=_0x2616b9;return(_0x1663ae||this[_0x22e7cf(0x11a)])[_0x22e7cf(0xc6)](this);}}),_0x17f32b=_0x1b74f5[_0x2616b9(0x246)]={},_0x496b58=_0x17f32b[_0x2616b9(0x113)]={'stringify':function(_0x23bb72){var _0x1036f9=_0x2616b9,_0xb70d2e,_0x55d283=_0x23bb72[_0x1036f9(0x2aa)],_0x4eaabc=_0x23bb72['salt'];return _0x4eaabc?_0xb70d2e=_0x1171aa[_0x1036f9(0x1aa)]([0x53616c74,0x65645f5f])[_0x1036f9(0xd1)](_0x4eaabc)[_0x1036f9(0xd1)](_0x55d283):_0xb70d2e=_0x55d283,_0xb70d2e[_0x1036f9(0x198)](_0x37d69e);},'parse':function(_0x38a474){var _0x47450d=_0x2616b9,_0x191bc3,_0x2c52cc=_0x37d69e[_0x47450d(0xda)](_0x38a474),_0x1b00dc=_0x2c52cc[_0x47450d(0x23f)];return _0x1b00dc[0x0]==0x53616c74&&_0x1b00dc[0x1]==0x65645f5f&&(_0x191bc3=_0x1171aa['create'](_0x1b00dc[_0x47450d(0xc7)](0x2,0x4)),_0x1b00dc[_0x47450d(0x20b)](0x0,0x4),_0x2c52cc[_0x47450d(0x227)]-=0x10),_0xf55169[_0x47450d(0x1aa)]({'ciphertext':_0x2c52cc,'salt':_0x191bc3});}},_0x3abcec=_0x436797['SerializableCipher']=_0x5cd983['extend']({'cfg':_0x5cd983['extend']({'format':_0x496b58}),'encrypt':function(_0x5e67eb,_0x12a6fd,_0x311882,_0xbe8a80){var _0xb66932=_0x2616b9;_0xbe8a80=this[_0xb66932(0xe5)][_0xb66932(0xc0)](_0xbe8a80);var _0x1d36d1=_0x5e67eb[_0xb66932(0x2eb)](_0x311882,_0xbe8a80),_0x529e40=_0x1d36d1[_0xb66932(0x164)](_0x12a6fd),_0x13d2bf=_0x1d36d1['cfg'];return _0xf55169[_0xb66932(0x1aa)]({'ciphertext':_0x529e40,'key':_0x311882,'iv':_0x13d2bf['iv'],'algorithm':_0x5e67eb,'mode':_0x13d2bf['mode'],'padding':_0x13d2bf[_0xb66932(0x34e)],'blockSize':_0x5e67eb[_0xb66932(0x2a2)],'formatter':_0xbe8a80[_0xb66932(0x246)]});},'decrypt':function(_0x425d6d,_0x8ab379,_0x2ae4be,_0x4109b0){var _0x49b53f=_0x2616b9;_0x4109b0=this[_0x49b53f(0xe5)]['extend'](_0x4109b0),_0x8ab379=this[_0x49b53f(0x20c)](_0x8ab379,_0x4109b0['format']);var _0x469604=_0x425d6d['createDecryptor'](_0x2ae4be,_0x4109b0)[_0x49b53f(0x164)](_0x8ab379[_0x49b53f(0x2aa)]);return _0x469604;},'_parse':function(_0x2a2c31,_0x4b6d6b){return typeof _0x2a2c31=='string'?_0x4b6d6b['parse'](_0x2a2c31,this):_0x2a2c31;}}),_0x2d1fb1=_0x1b74f5[_0x2616b9(0x31c)]={},_0x5d85d3=_0x2d1fb1[_0x2616b9(0x113)]={'execute':function(_0x2a27d6,_0x2e9ef7,_0x1236f9,_0x1c4f8b,_0x99d3ee){var _0x128e0f=_0x2616b9;if(_0x1c4f8b||(_0x1c4f8b=_0x1171aa[_0x128e0f(0x1cd)](0x40/0x8)),_0x99d3ee)var _0x496d1f=_0x21b3d4[_0x128e0f(0x1aa)]({'keySize':_0x2e9ef7+_0x1236f9,'hasher':_0x99d3ee})[_0x128e0f(0x1f0)](_0x2a27d6,_0x1c4f8b);else var _0x496d1f=_0x21b3d4['create']({'keySize':_0x2e9ef7+_0x1236f9})[_0x128e0f(0x1f0)](_0x2a27d6,_0x1c4f8b);var _0x272fe8=_0x1171aa[_0x128e0f(0x1aa)](_0x496d1f[_0x128e0f(0x23f)]['slice'](_0x2e9ef7),_0x1236f9*0x4);return _0x496d1f[_0x128e0f(0x227)]=_0x2e9ef7*0x4,_0xf55169['create']({'key':_0x496d1f,'iv':_0x272fe8,'salt':_0x1c4f8b});}},_0xbff3ce=_0x436797[_0x2616b9(0x298)]=_0x3abcec[_0x2616b9(0xc0)]({'cfg':_0x3abcec[_0x2616b9(0xe5)][_0x2616b9(0xc0)]({'kdf':_0x5d85d3}),'encrypt':function(_0x458086,_0x1a6471,_0x806510,_0x14955f){var _0xd069fa=_0x2616b9;_0x14955f=this[_0xd069fa(0xe5)][_0xd069fa(0xc0)](_0x14955f);var _0xd221a6=_0x14955f[_0xd069fa(0x31c)]['execute'](_0x806510,_0x458086[_0xd069fa(0x151)],_0x458086[_0xd069fa(0x35e)],_0x14955f[_0xd069fa(0x325)],_0x14955f[_0xd069fa(0x169)]);_0x14955f['iv']=_0xd221a6['iv'];var _0x4b2518=_0x3abcec[_0xd069fa(0x1c4)]['call'](this,_0x458086,_0x1a6471,_0xd221a6[_0xd069fa(0x24a)],_0x14955f);return _0x4b2518['mixIn'](_0xd221a6),_0x4b2518;},'decrypt':function(_0x2a31bb,_0x467ca7,_0x24d48c,_0x5d7029){var _0x4134e0=_0x2616b9;_0x5d7029=this['cfg'][_0x4134e0(0xc0)](_0x5d7029),_0x467ca7=this[_0x4134e0(0x20c)](_0x467ca7,_0x5d7029[_0x4134e0(0x246)]);var _0x135d7e=_0x5d7029[_0x4134e0(0x31c)][_0x4134e0(0x27e)](_0x24d48c,_0x2a31bb[_0x4134e0(0x151)],_0x2a31bb[_0x4134e0(0x35e)],_0x467ca7[_0x4134e0(0x325)],_0x5d7029[_0x4134e0(0x169)]);_0x5d7029['iv']=_0x135d7e['iv'];var _0xd4d20e=_0x3abcec[_0x4134e0(0x1ee)][_0x4134e0(0x176)](this,_0x2a31bb,_0x467ca7,_0x135d7e['key'],_0x5d7029);return _0xd4d20e;}});}();}));}(Je)),Je[_0x20ea2a(0x159)];}var Dr=Ve[_0x3c789f(0x159)],ri;function Ur(){var _0x50bbeb=_0x3c789f;return ri||(ri=0x1,function(_0x57562e,_0x45ac36){(function(_0x4a29e8,_0x122116,_0x34eadb){var _0x19748d=_0x215f;_0x57562e[_0x19748d(0x159)]=_0x122116(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x33b54a){var _0x15b14f=_0x215f;return(function(){var _0xaa6f97=_0x215f,_0x1119b6=_0x33b54a,_0x1459e5=_0x1119b6['lib'],_0x18f15f=_0x1459e5[_0xaa6f97(0x2d4)],_0x39b99d=_0x1119b6[_0xaa6f97(0x152)],_0x5d443b=[],_0x50fa81=[],_0x2300d=[],_0x48723f=[],_0x304a29=[],_0x518e40=[],_0x1dc023=[],_0xc24451=[],_0x5f1944=[],_0x1dfcd2=[];(function(){for(var _0x549d53=[],_0x5f082e=0x0;_0x5f082e<0x100;_0x5f082e++)_0x5f082e<0x80?_0x549d53[_0x5f082e]=_0x5f082e<<0x1:_0x549d53[_0x5f082e]=_0x5f082e<<0x1^0x11b;for(var _0x2f135d=0x0,_0x547c28=0x0,_0x5f082e=0x0;_0x5f082e<0x100;_0x5f082e++){var _0x3f97b9=_0x547c28^_0x547c28<<0x1^_0x547c28<<0x2^_0x547c28<<0x3^_0x547c28<<0x4;_0x3f97b9=_0x3f97b9>>>0x8^_0x3f97b9&0xff^0x63,_0x5d443b[_0x2f135d]=_0x3f97b9,_0x50fa81[_0x3f97b9]=_0x2f135d;var _0xd383b8=_0x549d53[_0x2f135d],_0x4a11ef=_0x549d53[_0xd383b8],_0x316bbf=_0x549d53[_0x4a11ef],_0x4bbfe=_0x549d53[_0x3f97b9]*0x101^_0x3f97b9*0x1010100;_0x2300d[_0x2f135d]=_0x4bbfe<<0x18|_0x4bbfe>>>0x8,_0x48723f[_0x2f135d]=_0x4bbfe<<0x10|_0x4bbfe>>>0x10,_0x304a29[_0x2f135d]=_0x4bbfe<<0x8|_0x4bbfe>>>0x18,_0x518e40[_0x2f135d]=_0x4bbfe;var _0x4bbfe=_0x316bbf*0x1010101^_0x4a11ef*0x10001^_0xd383b8*0x101^_0x2f135d*0x1010100;_0x1dc023[_0x3f97b9]=_0x4bbfe<<0x18|_0x4bbfe>>>0x8,_0xc24451[_0x3f97b9]=_0x4bbfe<<0x10|_0x4bbfe>>>0x10,_0x5f1944[_0x3f97b9]=_0x4bbfe<<0x8|_0x4bbfe>>>0x18,_0x1dfcd2[_0x3f97b9]=_0x4bbfe,_0x2f135d?(_0x2f135d=_0xd383b8^_0x549d53[_0x549d53[_0x549d53[_0x316bbf^_0xd383b8]]],_0x547c28^=_0x549d53[_0x549d53[_0x547c28]]):_0x2f135d=_0x547c28=0x1;}}());var _0x112036=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x10675b=_0x39b99d[_0xaa6f97(0x14f)]=_0x18f15f[_0xaa6f97(0xc0)]({'_doReset':function(){var _0x7ab108=_0xaa6f97,_0x3c425;if(!(this[_0x7ab108(0x367)]&&this[_0x7ab108(0x27f)]===this[_0x7ab108(0x3aa)])){for(var _0xec317f=this['_keyPriorReset']=this[_0x7ab108(0x3aa)],_0x270de2=_0xec317f[_0x7ab108(0x23f)],_0xa9c028=_0xec317f['sigBytes']/0x4,_0x2d1141=this[_0x7ab108(0x367)]=_0xa9c028+0x6,_0x23b0b9=(_0x2d1141+0x1)*0x4,_0x3d785d=this['_keySchedule']=[],_0x1c3a2a=0x0;_0x1c3a2a<_0x23b0b9;_0x1c3a2a++)_0x1c3a2a<_0xa9c028?_0x3d785d[_0x1c3a2a]=_0x270de2[_0x1c3a2a]:(_0x3c425=_0x3d785d[_0x1c3a2a-0x1],_0x1c3a2a%_0xa9c028?_0xa9c028>0x6&&_0x1c3a2a%_0xa9c028==0x4&&(_0x3c425=_0x5d443b[_0x3c425>>>0x18]<<0x18|_0x5d443b[_0x3c425>>>0x10&0xff]<<0x10|_0x5d443b[_0x3c425>>>0x8&0xff]<<0x8|_0x5d443b[_0x3c425&0xff]):(_0x3c425=_0x3c425<<0x8|_0x3c425>>>0x18,_0x3c425=_0x5d443b[_0x3c425>>>0x18]<<0x18|_0x5d443b[_0x3c425>>>0x10&0xff]<<0x10|_0x5d443b[_0x3c425>>>0x8&0xff]<<0x8|_0x5d443b[_0x3c425&0xff],_0x3c425^=_0x112036[_0x1c3a2a/_0xa9c028|0x0]<<0x18),_0x3d785d[_0x1c3a2a]=_0x3d785d[_0x1c3a2a-_0xa9c028]^_0x3c425);for(var _0x57e860=this[_0x7ab108(0x1bb)]=[],_0x4f1b51=0x0;_0x4f1b51<_0x23b0b9;_0x4f1b51++){var _0x1c3a2a=_0x23b0b9-_0x4f1b51;if(_0x4f1b51%0x4)var _0x3c425=_0x3d785d[_0x1c3a2a];else var _0x3c425=_0x3d785d[_0x1c3a2a-0x4];_0x4f1b51<0x4||_0x1c3a2a<=0x4?_0x57e860[_0x4f1b51]=_0x3c425:_0x57e860[_0x4f1b51]=_0x1dc023[_0x5d443b[_0x3c425>>>0x18]]^_0xc24451[_0x5d443b[_0x3c425>>>0x10&0xff]]^_0x5f1944[_0x5d443b[_0x3c425>>>0x8&0xff]]^_0x1dfcd2[_0x5d443b[_0x3c425&0xff]];}}},'encryptBlock':function(_0x433f7b,_0x3e9cfc){var _0x21f18c=_0xaa6f97;this[_0x21f18c(0x362)](_0x433f7b,_0x3e9cfc,this['_keySchedule'],_0x2300d,_0x48723f,_0x304a29,_0x518e40,_0x5d443b);},'decryptBlock':function(_0x587d7d,_0x15dd43){var _0x44f8a8=_0xaa6f97,_0xa115d0=_0x587d7d[_0x15dd43+0x1];_0x587d7d[_0x15dd43+0x1]=_0x587d7d[_0x15dd43+0x3],_0x587d7d[_0x15dd43+0x3]=_0xa115d0,this[_0x44f8a8(0x362)](_0x587d7d,_0x15dd43,this[_0x44f8a8(0x1bb)],_0x1dc023,_0xc24451,_0x5f1944,_0x1dfcd2,_0x50fa81);var _0xa115d0=_0x587d7d[_0x15dd43+0x1];_0x587d7d[_0x15dd43+0x1]=_0x587d7d[_0x15dd43+0x3],_0x587d7d[_0x15dd43+0x3]=_0xa115d0;},'_doCryptBlock':function(_0x50c70b,_0x4df491,_0x29a500,_0x1b6536,_0x3cf9e2,_0x4fca6f,_0x299535,_0xd5b879){for(var _0x174993=this['_nRounds'],_0x706120=_0x50c70b[_0x4df491]^_0x29a500[0x0],_0x28d772=_0x50c70b[_0x4df491+0x1]^_0x29a500[0x1],_0x329a1f=_0x50c70b[_0x4df491+0x2]^_0x29a500[0x2],_0x15615b=_0x50c70b[_0x4df491+0x3]^_0x29a500[0x3],_0x2edfd6=0x4,_0x2a1d6c=0x1;_0x2a1d6c<_0x174993;_0x2a1d6c++){var _0x4f46be=_0x1b6536[_0x706120>>>0x18]^_0x3cf9e2[_0x28d772>>>0x10&0xff]^_0x4fca6f[_0x329a1f>>>0x8&0xff]^_0x299535[_0x15615b&0xff]^_0x29a500[_0x2edfd6++],_0xc1c25e=_0x1b6536[_0x28d772>>>0x18]^_0x3cf9e2[_0x329a1f>>>0x10&0xff]^_0x4fca6f[_0x15615b>>>0x8&0xff]^_0x299535[_0x706120&0xff]^_0x29a500[_0x2edfd6++],_0x285587=_0x1b6536[_0x329a1f>>>0x18]^_0x3cf9e2[_0x15615b>>>0x10&0xff]^_0x4fca6f[_0x706120>>>0x8&0xff]^_0x299535[_0x28d772&0xff]^_0x29a500[_0x2edfd6++],_0x24d5bc=_0x1b6536[_0x15615b>>>0x18]^_0x3cf9e2[_0x706120>>>0x10&0xff]^_0x4fca6f[_0x28d772>>>0x8&0xff]^_0x299535[_0x329a1f&0xff]^_0x29a500[_0x2edfd6++];_0x706120=_0x4f46be,_0x28d772=_0xc1c25e,_0x329a1f=_0x285587,_0x15615b=_0x24d5bc;}var _0x4f46be=(_0xd5b879[_0x706120>>>0x18]<<0x18|_0xd5b879[_0x28d772>>>0x10&0xff]<<0x10|_0xd5b879[_0x329a1f>>>0x8&0xff]<<0x8|_0xd5b879[_0x15615b&0xff])^_0x29a500[_0x2edfd6++],_0xc1c25e=(_0xd5b879[_0x28d772>>>0x18]<<0x18|_0xd5b879[_0x329a1f>>>0x10&0xff]<<0x10|_0xd5b879[_0x15615b>>>0x8&0xff]<<0x8|_0xd5b879[_0x706120&0xff])^_0x29a500[_0x2edfd6++],_0x285587=(_0xd5b879[_0x329a1f>>>0x18]<<0x18|_0xd5b879[_0x15615b>>>0x10&0xff]<<0x10|_0xd5b879[_0x706120>>>0x8&0xff]<<0x8|_0xd5b879[_0x28d772&0xff])^_0x29a500[_0x2edfd6++],_0x24d5bc=(_0xd5b879[_0x15615b>>>0x18]<<0x18|_0xd5b879[_0x706120>>>0x10&0xff]<<0x10|_0xd5b879[_0x28d772>>>0x8&0xff]<<0x8|_0xd5b879[_0x329a1f&0xff])^_0x29a500[_0x2edfd6++];_0x50c70b[_0x4df491]=_0x4f46be,_0x50c70b[_0x4df491+0x1]=_0xc1c25e,_0x50c70b[_0x4df491+0x2]=_0x285587,_0x50c70b[_0x4df491+0x3]=_0x24d5bc;},'keySize':0x100/0x20});_0x1119b6[_0xaa6f97(0x14f)]=_0x18f15f[_0xaa6f97(0x1ce)](_0x10675b);}()),_0x33b54a[_0x15b14f(0x14f)];}));}(Ve)),Ve[_0x50bbeb(0x159)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe['exports'],ai;function Lr(){return ai||(ai=0x1,function(_0x48033c,_0x370ef5){(function(_0x3da0a3,_0x407bd4){_0x48033c['exports']=_0x407bd4(ie());}(xr,function(_0x18c89c){var _0x3f072a=_0x215f;return _0x18c89c[_0x3f072a(0x195)]['Utf8'];}));}(Xe)),Xe['exports'];}var Mr=Lr();const kr=He(Mr);function _0x315d(){var _0x94fe60=['_change$','PERMISSION_DENIED','UnitSnapshot','json','onSyncEditingCollabCursor','removeMember','Cipher','_commentUpdate$','headers','/-/object/-/batch_allowed','onStarting','_createSocket','Base64','StreamCipher','createEncryptor','charCodeAt','_clearTimeoutTimer','csAckEvent','synced','OFFLINE','pluginName','state$','reduce','1377228xqRVMs','SYNCED','_removeRoom','_cipher','[OfflineState]:\x20received\x20acknowledgement.','NoPadding','originalMeta','awaiting_with_pending','init','listCollaborators','closeSession','RECV','conflict','collabSubmitChangesetUrl','downloadEndpointUrl','c1Prime','_initRequestHeader','toLowerCase','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','PERMISSION_REJ','YUUMI_SUBSCRIPTION_NOT_FOUND','entityInit$','saveChangeset','routeKey','__esModule','_updateStatus','registerHTTPInterceptor','/universer-api/stream/file/upload','initWorkbookPermissionChange','WordArray','_unitID','_transformRemoteChangesetByStateCache','onTransformRemoteChangesetByIMECache','toggleOffline','enableSingleActiveInstanceLock','_initCloseConn','_onRemoteRetry','liveShareNewHost','x-univer-host','sendChangesetTimeout','kdf','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','fetchMissingChangesets','socket\x20close','repeat','111082gnpwca','[CollaborationEntity]','listRoles','permissionRejEvent','salt','session.room-cnt-exceeds','debug','/universer-api/snapshot','_pendingMutations','updatePermissionPoint','9bBbZNp','_waitCount','socket$','_socketMessageSubscription','subscribe','save\x20fail\x20reason\x20is\x20','_onUserLeave','/block/','_data','_event$','reset','close','SUBMIT_CHANGESET_TIMEOUT','onlyLocal','UNIVER_UNKNOWN','shouldCloseConn','_sessionStatus$','max','file','_exhaustRemoteChangesetQueue','_scheduleCompleteTimestamp','INGEST','saveSheetBlock','COMPRESS_MUTATION_SEND','Decryptor','collaboration-client.config','_getUndoStack','UPDATE_PERMISSION_OBJ','/resources','onRemoteRej','_DEC_XFORM_MODE','_xformMode','CONFLICT','_disableEditing','randomUUID','padding','[FetchMissState]','/object/','ONLINE','error$','getCollabEntity','_transformIMECache','LIVESHARE_NEW_HOST','Encryptor','socketService','_loadDoc','[CollaborationSession]','_throwTelemetryCollaborationNewChangeset','generateRandomId','LICENSE_EXPORT_SIZE_EXCEEDED','updateCollaborator','ivSize','_snapshotService','byteOffset','_listenToNetworkCondition','_doCryptBlock','byteLength','updatePermissionObjEvent','USER_NOT_INVITED_CODE','Univer','_nRounds','localCacheService','INVITE_CODE_HAS_BEEN_UES','YUUMI_URL_COL_OUT_OF_RANGE','sheets','defineProperty','getLatestCsReqIdBySid','SHOULD_CLOSE_CONN','_redoStacks','univer-pro.collaboration-client.network-condition.service','_submitChangeset','size','899410SckVsQ','asObservable','INVITE_CODE_REQUIRED','onMissingChangesets','session','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_collaborationTimeoutTimer','LOGIN_URL_KEY','_retryCount','YUUMI_UNABLE_LOAD_URL','_getDownloadEndpointURL','LIVESHARE_REQUEST_HOST','Malformed\x20UTF-8\x20data','setConfig','_logService','_startTelemetryCollaborationNewChangeset','_toggleOnline','_candidateSocket','encryptBlock','resolve','INVITE_CODE_ALREADY_BOUND','_clearLocalCache','[SyncedState]:\x20received\x20rejection.','FAIL','collaboration_new_changeset','message$','failed\x20to\x20apply\x20missed\x20changesets!','_createHmacHelper','_resendTimer','state','BufferedBlockAlgorithm','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_entityInit$','ENSURE_SNAPSHOT_EXECUTION','_syncEditingCollabCursor','AUTHZ_URL_KEY','_substituteRedoStack','getRandomValues','awaitingChangeset','APPLY_DUPLICATED','disableLocalCache','withCredentials','_clearRedo','univer-pro.collaboration-client-socket-service','CHANGESET_SHOULD_RETRY','commentUpdateEvent','eventID','MD5','onTransformRemoteChangesetByStateCache','getTime','commentUpdate$','onSendChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_entities','_awaitingChangeset','_key','prototype','pending','_onJoinRoomEvent','JOIN_ROOM_NOT_EXISTS','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','objectType','_collaborationSessionService','/rev/','open$','129252WOpKKZ','unitId','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_incrementRevisionNumber','image/bmp','loadUnit','map','update','delete','Error\x20on\x20receiving\x20event','[OfflineState]:\x20received\x20rejection.','sid','extend','_members','image/jpeg','/universer-api/snapshot/','_shouldReportTelemetry','send','stringify','slice','saveImage','_minBufferSize','string','_HTTPService','getInterceptPoints','name','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','4amfaAb','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','concat','dispose$','LICENSE_IMPORT_SIZE_EXCEEDED','findIndex','unit-cache-','set','deepClone','msCrypto','fromCollab','parse','hostname','substr','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IDLE','_stopTelemetryCollaborationNewChangeset','MUTATION','?size=','ERROR_IMAGE_TYPE','_isPermissionRej','processBlock','cfg','emitEvent','change$','revision','charAt','_remoteChangesetQueue','every','image/jpg','_fetchMissChangesets','offline','m2Prime','addHandlerCallback','snapshot','deleteCollaborator','/collaborator','params','csRejEvent','joinRsp','218837pYCjuy','POST','HttpImport','_resendTimeout','UNKNOWN_CMD','title','refreshPermission','_collaborationUIEventService','_retryConnectingTimer','_getUploadFileURL','_updateState','getUnit','collaborators','RETRY_CONNECTING_MAX_COUNT','objectID','collaMsg','GLOBAL_ROOMS_CNT_EXCEEDS','NOT_COLLAB','_sendingTimer','onStateChange','EvpKDF','_status$','&to=','infoRsp','changesets','_iv','_createInitialStateImpl','clear','OpenSSL','AWAITING_WITH_PENDING','unitId\x20is\x20not\x20found','_onLocalMutation','online$','_getCtorByUniverType','copyFileMeta','formatter','executeCommand','bind','_reverseMap','lib','waitForRoom$','collaboratorID','toggleOnline','type','_doReset','updateCursorEvent','_onOffline','members','_onConnectionFailed','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','updateOfflineData','_collabSessionService','encode','readAsDataURL','_clearUndo','_schedule','_createHandler','interceptor','list','_getLoginPath','_members$','UnitEmbedded','pad','_prevBlock','USERS_LEAVE','OPTIONAL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_socketService','PERSON','PY_RUNTIME_SCRIPT_ERROR','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initUnitPermissionChange','UNAUTHENTICATED','_mode','image/gif','UPDATE_CURSOR','_onRecvEvent','LOGIN_FAILED','_hasher','UNDEFINED','SOCKET_FAILED','_socketReady','_memberService','getAllMembers','transformChangesets','JOIN','forEach','_configService','AES','_oKey','keySize','algo','_onFetchMissResult','$super','/universer-api/user/session-ticket','startsWith','createInstance','editing\x20status\x20changed\x20to','exports','_telemetryInfo','JOINING','_startCollaboration','_replayCachedMutations','saveSnapshot','floor','get','_telemetryService','HttpExport','LIVESHARE_OPERATION','finalize','YUUMI_RATE_OVER_LIMIT','has','unknown','error','hasher','catch','sin','\x0aAfter:\x20','Could\x20not\x20dynamically\x20require\x20\x22','_revisionService','collabWebSocketUrl','requireSession','USERS_ENTER','snapshotServerUrl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNIVER_PROJECT','_map','call','_changesetSessionId','stopTime','event$','JOIN_ROOM_PERMISSION_DENIED','_onRemoteChangeset','/-/object/list','onCommentUpdate','[UniverCollaborationClientPlugin]','_checkMissing','BlockCipherMode','mixIn','fetchThroughInterceptors','add','range','CHANGESET_REVISION_CONFILICT','PENDING','_collaborationPaused','_permissionService','getUnitId','_executeRemoteChangeset','equals','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','actions','_localeService','complete','roomInfos','_iKey','session.room-full','duration','symbol','enc','clamp','pipe','toString','getConfig','_replaceFileID','transformMutationsWithChangeset','href','_ENC_XFORM_MODE','joinEvent','close$','Hasher','fromCharCode','5044615WzEvBs','NO_OTHER_CLIENTS_EDITING','disposeWithMe','body','origin','Base','retryConnectingInterval','_doFinalize','create','getImage','CHANGESET_REJ','_init','_state','getCurrentRevOfUnit','telemetry\x20info\x20is\x20not\x20initialized','_sessions','replace','ALREADY_EXISTS','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_nDataBytes','JOIN_ROOM_FAILED','length','/universer-api/comb','Pkcs7','compose','_invKeySchedule','onRemoteAck','_sender','createSocket','737elLunr','[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.','fetch_missing','memberID','push','encrypt','_clearCollaborationTimeoutTimer','reqId','code','resend','hasOwnProperty','Undefined','CLOSE_ROOM','_transformService','random','_createHelper','CHANGESET_ACK','_transformStateCache','_onConnectionOpen','crypto','[DataLoaderService]','_toggleOffline','/universer-api/authz','UNKNOWN_CODE','LICENSE_DISTRO_REJECTED','UNIVER_SHEET','fetchMiss','dispose','_getSignURL','_queuedRemoteChangesets','/object','_undoRedoService','unitID','members$','NEW_CHANGESETS','_getAPIPrefix','getTypeOfUnitDisposed$','_type','startTime','[CollaborationUndoRedoService]','getCollabEntity$','_joinRoom','_acknowledgedAwaitingChangeset','_loadSheet','_clearHeartbeatTimer','/allowed','_undoStacks','decrypt','SHA1','compute','onRemoteRetry','_process','SUBMIT_CHANGESET','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_tryEnsureSocket','_onRemoteACK','url','_getAPIPrefixPath','requestParams','appendMutation','_imageSourceCache','join','MSG_FOR_ERROR','onCommandExecuted','[PendingState]:\x20unhandled\x20univer\x20type:\x20','14MaHEWj','values','COMPLETION_FINISHED','COMPRESS_MUTATION_APPLY','_initDependencies','/unit/','_sendHeartbeat','getSnapshotAPIPath','setWaitCount','_onConflict','onload','splice','_parse','ERROR_IMAGE','FETCH_MISSING','BASE64','_handlerCallback','uploadFileServerUrl','INVALID_ARGUMENT','_instanceService','_onRemoteRejected','_networkConditionService','authzUrl','transformStack\x20failed!','encodeURIComponent','apply','mutations','_commandService','src','_compressMutationService','/universer-api/uniscript','confirm','batchAllowed','then','unsubscribe','isPermissionRej','_sheetTransformSelectionsService','_applyRemoteChangeset','from','sigBytes','Utf8','_eventService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationSessionService]','SUCCUSS','COLLAB_SUBMIT_CHANGESET_URL','sessionStatus$','cmd','avatar','_tryReconnect','onTransformState','_transitionLocked','JOIN_ROOM_FULL','_handler','_getCurrentRevision','getSheetBlock','clone','HEARTBEAT','pauseCollaboration','getMember','function','loadSheet','{fileID}','words','_changesetReqId','put','auth.needGotoLoginAlert','_commentService','FileId','_socket','format','unitInfo$','getMemberID','getCurrentUser','key','getWorkbookSelections','_onMessage','_injector','setCurrentUser','next','CBC','_substituteUndoStack','_showConflictNotification','SNAPSHOT_SERVER_URL_KEY','session.room-permission-denied','CONNECTOR_DATA_TOO_LARGE','APPLY_REVISION_CONFILICT','30aRtMGe','includes','_roomMembers','_httpService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','entries','HELLO','\x20to\x20','1232248sfXOSo','rng','userID','_unitInfo$','\x0aCurrent:\x20','_transformRemoteChangesetByIMECache','liveShareOperation','_registerDependencies','_lockTransition','subject','_localCacheService','_clearScheduledTask','getResourcesRequest','OTHER_CLIENT_EDITING','__creator','OTHER_CLIENTS_EDITING','target','univer-pro.collaboration-client.single-active-unit-service','leaveEvent','_univerInstanceService','_updateLocalCache','_transformUndoredo','APPLY_PERMISSION_DENIED','_transformStack','getImageSourceCache','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','default','HEARTBEAT_TIMEOUT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','awaiting','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','execute','_keyPriorReset','randomBytes','not_collab','_socket$','CipherParams','/role','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HMAC','SOCKET_FAILED_RETRY','_append','UNIVER_DOC','LEAVE','LICENSE_MAX_UNITS_EXCEEDED','_initMergeInterceptor','_decreaseWaiting','UNIVER_SLIDE','NOT_FOUND','INTERNAL_ERROR','getTypeOfUnitAdded$','c2Prime','UNISCRIPT_RUN','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','COMMENT_UPDATE','_onUserJoin','getSheetId','PasswordBasedCipher','Hex','session.join-failed','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','session.room-not-exists','_unlockTransition','_timeoutTimer','updateMember','_getSendChangesetTimeout','status','blockSize','SNAPSHOT_INVALID_SNAPSHOT','baseRev','loadDoc','_rescheduleHeartbeat','getOwnPropertyDescriptor','append','TOO_MANY_REQUESTS','ciphertext','_state$','getUnitType','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onTransformSelections','method','_hash','enableOfflineEditing','selections','loadOfflineData','data','getCurrentSelections','reconnect','_onCombEvent','location','_singleActiveUnitService','_resendWithTimeout','readInt32LE','result','getActiveSheet','connection\x20error','onLocalMutation','getValue','responseType','find','_transformSelections','_clearRetryConnectingTimer','rev','reject','setShowComponents','filter','_scheduleCollaborationTimeoutTimer','onRemoteChangeset','getRoom','incrementRevOfUnit','fetching\x20missing\x20changesets\x20from\x20','[CollaborationState]:\x20apply\x20error!','?url=','INVALID_INVITE_CODE','uniscriptRunEvent','UNRECOGNIZED','_roomCreated$','BlockCipher','_createInitialState','_waitForHeartbeatResponse','APPLY_REJECT','_userManagerService','_config','_sendHeartbeatTimer','post','ceil'];_0x315d=function(){return _0x94fe60;};return _0x315d();}var Ze={'exports':{}},$r=Ze[_0x3c789f(0x159)],oi;function Hr(){return oi||(oi=0x1,function(_0x1c97de,_0x241b79){(function(_0x20d28a,_0x587f33){var _0x1ad002=_0x215f;_0x1c97de[_0x1ad002(0x159)]=_0x587f33(ie());}($r,function(_0x24a7f7){var _0x1ae054=_0x215f;return(function(){var _0xf8c520=_0x215f;if(typeof ArrayBuffer=='function'){var _0x22ad8b=_0x24a7f7,_0x294137=_0x22ad8b['lib'],_0x31ef84=_0x294137['WordArray'],_0x166583=_0x31ef84[_0xf8c520(0x2fc)],_0x1e2453=_0x31ef84[_0xf8c520(0x2fc)]=function(_0x4f1198){var _0x4a2602=_0xf8c520;if(_0x4f1198 instanceof ArrayBuffer&&(_0x4f1198=new Uint8Array(_0x4f1198)),(_0x4f1198 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f1198 instanceof Uint8ClampedArray||_0x4f1198 instanceof Int16Array||_0x4f1198 instanceof Uint16Array||_0x4f1198 instanceof Int32Array||_0x4f1198 instanceof Uint32Array||_0x4f1198 instanceof Float32Array||_0x4f1198 instanceof Float64Array)&&(_0x4f1198=new Uint8Array(_0x4f1198['buffer'],_0x4f1198[_0x4a2602(0x360)],_0x4f1198[_0x4a2602(0x363)])),_0x4f1198 instanceof Uint8Array){for(var _0x2293e5=_0x4f1198[_0x4a2602(0x363)],_0x56792d=[],_0x40f104=0x0;_0x40f104<_0x2293e5;_0x40f104++)_0x56792d[_0x40f104>>>0x2]|=_0x4f1198[_0x40f104]<<0x18-_0x40f104%0x4*0x8;_0x166583[_0x4a2602(0x176)](this,_0x56792d,_0x2293e5);}else _0x166583[_0x4a2602(0x219)](this,arguments);};_0x1e2453['prototype']=_0x31ef84;}}()),_0x24a7f7[_0x1ae054(0x11e)][_0x1ae054(0x311)];}));}(Ze)),Ze['exports'];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x3c789f(0x159)],ci;function Vr(){var _0x150404=_0x3c789f;return ci||(ci=0x1,function(_0xbd9c34,_0x35f2ce){(function(_0x11d418,_0x6dc51b,_0x3973f8){var _0x4462dc=_0x215f;_0xbd9c34[_0x4462dc(0x159)]=_0x6dc51b(ie(),wi());}(Fr,function(_0x48fbff){var _0x1addee=_0x215f;return _0x48fbff['pad'][_0x1addee(0x2f9)]={'pad':function(){},'unpad':function(){}},_0x48fbff[_0x1addee(0x135)][_0x1addee(0x2f9)];}));}(Qe)),Qe[_0x150404(0x159)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x243662,_0x359fa2){var _0x38a53b=_0x3c789f;const _0xd5b546=_0x359fa2-_0x243662['length']%_0x359fa2,_0x4d0a6e=String[_0x38a53b(0x1a1)](_0xd5b546)[_0x38a53b(0x320)](_0xd5b546);return _0x243662+_0x4d0a6e;}function Yr(_0x56f6b1,_0xc202dc){var _0x1b0588=_0x3c789f;const _0x2f7255=jr[_0x1b0588(0x1cd)](0x10),_0x9312ad=Kr(_0x56f6b1,0x10),_0x478698=Ar[_0x1b0588(0x1c4)](kr[_0x1b0588(0xda)](_0x9312ad),si['parse'](_0xc202dc),{'iv':_0x2f7255,'padding':Wr});return _0x2f7255[_0x1b0588(0xd1)](_0x478698['ciphertext'])['toString'](si);}function qr(){var _0x38fd11=_0x3c789f;const _0x5842fc=_0x45aa27()['__Key__'];if(_0x5842fc){const _0x29ccd7={'time':Math[_0x38fd11(0x15f)](Date['now']()/0x3e8),'domain':location[_0x38fd11(0xdb)]};return Yr(JSON[_0x38fd11(0xc6)](_0x29ccd7),_0x5842fc);}}var zr=Object['getOwnPropertyDescriptor'],Jr=(_0x4400a2,_0x5de281,_0x3f8a20,_0x3cbd60)=>{var _0x3ea78b=_0x3c789f;for(var _0x1e0329=_0x3cbd60>0x1?void 0x0:_0x3cbd60?zr(_0x5de281,_0x3f8a20):_0x5de281,_0x41fff4=_0x4400a2[_0x3ea78b(0x1b7)]-0x1,_0x4de961;_0x41fff4>=0x0;_0x41fff4--)(_0x4de961=_0x4400a2[_0x41fff4])&&(_0x1e0329=_0x4de961(_0x1e0329)||_0x1e0329);return _0x1e0329;},Xr=(_0x5ca4a0,_0x23afef)=>(_0x6e0873,_0x225ccf)=>_0x23afef(_0x6e0873,_0x225ccf,_0x5ca4a0);let at=class{constructor(_0x35fe13){var _0x405151=_0x3c789f;this['_httpService']=_0x35fe13,this[_0x405151(0x304)]();}['_initRequestHeader'](){var _0x1ba593=_0x3c789f;this[_0x1ba593(0x25a)][_0x1ba593(0x30e)]({'interceptor':(_0x2103e0,_0x3d0373)=>{var _0x1b7aad=_0x1ba593;const _0x2e2445=_0x2103e0[_0x1b7aad(0x2e5)],_0x257dad=qr();return _0x257dad&&_0x2e2445[_0x1b7aad(0xd6)](_0x1b7aad(0x31a),_0x257dad),_0x3d0373(_0x2103e0);}});}};at=Jr([Xr(0x0,_0x4fc040(_0x94c21e))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x302685,_0x59a98c,_0x3ead38,_0x2214e9)=>{var _0x201286=_0x3c789f;for(var _0x593129=_0x2214e9>0x1?void 0x0:_0x2214e9?Zr(_0x59a98c,_0x3ead38):_0x59a98c,_0x35430a=_0x302685[_0x201286(0x1b7)]-0x1,_0x47d6da;_0x35430a>=0x0;_0x35430a--)(_0x47d6da=_0x302685[_0x35430a])&&(_0x593129=_0x47d6da(_0x593129)||_0x593129);return _0x593129;},mt=(_0x4abbbd,_0x470879)=>(_0x3b3409,_0x366ea8)=>_0x470879(_0x3b3409,_0x366ea8,_0x4abbbd);let bt=class extends _0x319a90{constructor(_0x1669ed,_0x43ff6b,_0x3e22c8){var _0x1a7502=_0x3c789f;super(),N(this,'_unitInfo$',new _0xe9c642(null)),N(this,_0x1a7502(0x247),this['_unitInfo$'][_0x1a7502(0x374)]()),(this[_0x1a7502(0x381)]=_0x1669ed,this[_0x1a7502(0x35f)]=_0x43ff6b,this[_0x1a7502(0x269)]=_0x3e22c8);}async[_0x3c789f(0x3b9)](_0x4a3eb8,_0x2111f6,_0x27ac3b){var _0x5492a7=_0x3c789f;this[_0x5492a7(0x262)][_0x5492a7(0x24f)]({'unitId':_0x4a3eb8,'type':_0x2111f6,'subUnitId':_0x27ac3b});let _0x126417=null;switch(_0x2111f6){case Q[_0x5492a7(0x1d8)]:{_0x126417=await this[_0x5492a7(0x1ea)](_0x4a3eb8);break;}case Q['UNIVER_DOC']:{_0x126417=await this[_0x5492a7(0x358)](_0x4a3eb8);break;}default:{this[_0x5492a7(0x381)][_0x5492a7(0x168)](_0x5492a7(0x1d3),_0x5492a7(0x13d));break;}}return _0x126417;}async[_0x3c789f(0x1ea)](_0xfc278a){var _0x1cb37a=_0x3c789f,_0x2ad9fc;let _0x3a51e7=0x0;const _0x44f585=await((_0x2ad9fc=this['_localCacheService'])==null?void 0x0:_0x2ad9fc[_0x1cb37a(0x2b3)](_0xfc278a));return _0x44f585&&(_0x44f585['awaitingChangeset']||_0x44f585[_0x1cb37a(0x21a)][_0x1cb37a(0x1b7)]!==0x0)&&(_0x3a51e7=_0x44f585['rev']),_0x3a51e7===0x0&&this[_0x1cb37a(0x381)][_0x1cb37a(0x327)](_0x1cb37a(0x1d3),_0x1cb37a(0x294)),this[_0x1cb37a(0x35f)][_0x1cb37a(0x23d)](_0xfc278a,_0x3a51e7);}async[_0x3c789f(0x358)](_0x173256){var _0x38ec4e=_0x3c789f,_0x1be5af;let _0x1e7e77=0x0;const _0x26422d=await((_0x1be5af=this[_0x38ec4e(0x269)])==null?void 0x0:_0x1be5af[_0x38ec4e(0x2b3)](_0x173256));return _0x26422d&&(_0x26422d[_0x38ec4e(0x399)]||_0x26422d['mutations']['length']!==0x0)&&(_0x1e7e77=_0x26422d[_0x38ec4e(0x2c5)]),_0x1e7e77===0x0&&this[_0x38ec4e(0x381)][_0x38ec4e(0x327)](_0x38ec4e(0x1d3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x38ec4e(0x35f)][_0x38ec4e(0x2a5)](_0x173256,_0x1e7e77);}};bt=Qr([mt(0x0,_0x251932),mt(0x1,_0x4fc040(_0x50edeb)),mt(0x2,_0x30404e(J))],bt);var es=Object[_0x3c789f(0x2a7)],ts=(_0x525e14,_0x37126b,_0x533e16,_0x13a42a)=>{var _0x50d05b=_0x3c789f;for(var _0xb86ee1=_0x13a42a>0x1?void 0x0:_0x13a42a?es(_0x37126b,_0x533e16):_0x37126b,_0x47b14d=_0x525e14[_0x50d05b(0x1b7)]-0x1,_0x4a8284;_0x47b14d>=0x0;_0x47b14d--)(_0x4a8284=_0x525e14[_0x47b14d])&&(_0xb86ee1=_0x4a8284(_0xb86ee1)||_0xb86ee1);return _0xb86ee1;},gt=(_0x1d4b19,_0x28483c)=>(_0x5bb9a3,_0x27f8bf)=>_0x28483c(_0x5bb9a3,_0x27f8bf,_0x1d4b19);const is=['image/png',_0x3c789f(0xc2),_0x3c789f(0xec),_0x3c789f(0x141),_0x3c789f(0x3b8)],ns=0x5*0x400*0x400,rs=_0x3c789f(0x18c),ss=_0x3c789f(0x30f),as='EXCHANGE_SIGN_URL_SERVER_URL_KEY',os='/universer-api/file/{fileID}/sign-url';function _0x215f(_0xb0d264,_0x113ccc){var _0x315d88=_0x315d();return _0x215f=function(_0x215f27,_0x4fe469){_0x215f27=_0x215f27-0xbb;var _0x5c3f04=_0x315d88[_0x215f27];return _0x5c3f04;},_0x215f(_0xb0d264,_0x113ccc);}let yt=class{constructor(_0x1a0498,_0x41fd97,_0xd0fcc7){var _0x582bca=_0x3c789f;N(this,'_waitCount',0x0),N(this,_0x582bca(0x2dd),new _0x360589()),N(this,_0x582bca(0xe7),this[_0x582bca(0x2dd)]),N(this,'_imageSourceCache',new Map()),(this[_0x582bca(0x25a)]=_0x1a0498,this[_0x582bca(0x14e)]=_0x41fd97,this[_0x582bca(0x272)]=_0xd0fcc7);}[_0x3c789f(0x208)](_0x13fbe5){var _0x56bcc8=_0x3c789f;this[_0x56bcc8(0x32c)]=_0x13fbe5,this[_0x56bcc8(0x2dd)][_0x56bcc8(0x24f)](_0x13fbe5);}[_0x3c789f(0x277)](_0x588d20,_0x36130b){var _0xf85d4f=_0x3c789f;if(_0x36130b===_0x21d2c1[_0xf85d4f(0x20f)]){const _0x543502=new Image();return _0x543502[_0xf85d4f(0x21c)]=_0x588d20,_0x543502;}return this[_0xf85d4f(0x1fb)][_0xf85d4f(0x160)](_0x588d20);}['addImageSourceCache'](_0x5424fd,_0x2c7302,_0x240a0b){var _0x419b2b=_0x3c789f;_0x2c7302===_0x21d2c1[_0x419b2b(0x20f)]||_0x240a0b==null||this[_0x419b2b(0x1fb)][_0x419b2b(0xd6)](_0x5424fd,_0x240a0b);}async[_0x3c789f(0x1ab)](_0x2606e2){var _0x10daff=_0x3c789f;try{const _0x18cc8e=this[_0x10daff(0x19a)](this[_0x10daff(0x1db)](),''+_0x2606e2),_0x4d7ac9=(await this[_0x10daff(0x25a)][_0x10daff(0x160)](_0x18cc8e))[_0x10daff(0x1a5)];if(_0x4d7ac9['error']&&_0x4d7ac9['error'][_0x10daff(0x1c7)]===Si['OK']){const _0x5e3dc9=new URL(_0x4d7ac9[_0x10daff(0x1f7)],this[_0x10daff(0x37d)]())[_0x10daff(0x198)]();return Promise[_0x10daff(0x386)](_0x5e3dc9);}return Promise[_0x10daff(0x2c6)](_0x4d7ac9['error']);}catch(_0x24f8fa){return Promise[_0x10daff(0x2c6)](_0x24f8fa);}}async[_0x3c789f(0xc8)](_0x2f042a){var _0x59a9f4=_0x3c789f;let _0x2a1997='';if(!is[_0x59a9f4(0x258)](_0x2f042a[_0x59a9f4(0x122)]))return this[_0x59a9f4(0x28d)](),Promise['reject'](new Error(_0x59c977[_0x59a9f4(0xe2)]));if(_0x2f042a['size']>ns)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x59c977['ERROR_EXCEED_SIZE']));try{const _0x53d08d=new FormData();_0x53d08d[_0x59a9f4(0x2a8)](_0x59a9f4(0x33d),_0x2f042a);const _0x430704=this[_0x59a9f4(0x272)]['getFocusedUnit'](),_0x475ef1=_0x430704==null?void 0x0:_0x430704[_0x59a9f4(0x189)]();if(!_0x475ef1)throw new Error(_0x59a9f4(0x115));const _0x44f8aa=this[_0x59a9f4(0x100)]()+_0x59a9f4(0xe1)+_0x2f042a[_0x59a9f4(0x372)][_0x59a9f4(0x198)]()+'&source='+Ei[_0x59a9f4(0x134)]+'&assign='+encodeURIComponent(_0x475ef1),_0x516305=await(await fetch(_0x44f8aa,{'method':_0x59a9f4(0xf8),'body':_0x53d08d}))[_0x59a9f4(0x2e0)]();if(typeof _0x516305[_0x59a9f4(0x244)]!=_0x59a9f4(0xca))return this[_0x59a9f4(0x28d)](),Promise['reject'](new Error(_0x59c977[_0x59a9f4(0x20d)]));_0x2a1997=_0x516305[_0x59a9f4(0x244)];}catch{return this[_0x59a9f4(0x28d)](),Promise[_0x59a9f4(0x2c6)](new Error(_0x59c977[_0x59a9f4(0x20d)]));}return new Promise((_0x37076e,_0x2350a9)=>{var _0x59c569=_0x59a9f4;const _0x37d232=new FileReader();_0x37d232[_0x59c569(0x12c)](_0x2f042a),_0x37d232[_0x59c569(0x20a)]=_0x419d50=>{var _0x7cc68=_0x59c569,_0x196df5;const _0x28a216=(_0x196df5=_0x419d50[_0x7cc68(0x26f)])==null?void 0x0:_0x196df5[_0x7cc68(0x2bc)];if(_0x28a216==null){this[_0x7cc68(0x28d)](),_0x2350a9(new Error(_0x59c977[_0x7cc68(0x20d)]));return;}const _0x2403b2=_0x94d80a[_0x7cc68(0x35b)](0x6);_0x37076e({'imageId':_0x2403b2,'imageSourceType':_0x21d2c1['UUID'],'source':_0x2a1997,'base64Cache':_0x28a216,'status':_0x59c977[_0x7cc68(0x22c)]}),this[_0x7cc68(0x28d)]();};});}[_0x3c789f(0x100)](){var _0x57ac0b=_0x3c789f,_0x46cb76,_0x156249;const _0x379cae=this[_0x57ac0b(0x14e)][_0x57ac0b(0x199)](rs),_0x337e04=this[_0x57ac0b(0x14e)][_0x57ac0b(0x199)](q);return(_0x156249=(_0x46cb76=_0x337e04==null?void 0x0:_0x337e04[_0x57ac0b(0x211)])!=null?_0x46cb76:_0x379cae)!=null?_0x156249:ss;}[_0x3c789f(0x1db)](){var _0x1eefa6=_0x3c789f,_0x136baa,_0x193bf8;const _0x470379=this[_0x1eefa6(0x14e)]['getConfig'](as),_0x556d8c=this[_0x1eefa6(0x14e)]['getConfig'](q);return(_0x193bf8=(_0x136baa=_0x556d8c==null?void 0x0:_0x556d8c['signUrlServerUrl'])!=null?_0x136baa:_0x470379)!=null?_0x193bf8:os;}[_0x3c789f(0x37d)](){var _0x261ee0=_0x3c789f,_0x5ebe65;const _0x2de665=this[_0x261ee0(0x14e)]['getConfig'](q);return(_0x5ebe65=_0x2de665==null?void 0x0:_0x2de665[_0x261ee0(0x302)])!=null?_0x5ebe65:location[_0x261ee0(0x1a6)];}['_replaceFileID'](_0x1301c1,_0x31086c){var _0x467e7c=_0x3c789f;return _0x1301c1[_0x467e7c(0x1b2)](_0x467e7c(0x23e),_0x31086c);}[_0x3c789f(0x28d)](){var _0x33ee74=_0x3c789f;this[_0x33ee74(0x32c)]-=0x1,this['_change$'][_0x33ee74(0x24f)](this['_waitCount']);}};yt=ts([gt(0x0,_0x4fc040(_0x94c21e)),gt(0x1,_0x231c4a),gt(0x2,_0x4fc040(_0x494e3d))],yt);var cs=Object[_0x3c789f(0x2a7)],hs=(_0x18b56c,_0x4e06c9,_0x40a5f9,_0xc6d267)=>{for(var _0x410ce8=_0xc6d267>0x1?void 0x0:_0xc6d267?cs(_0x4e06c9,_0x40a5f9):_0x4e06c9,_0x25d70d=_0x18b56c['length']-0x1,_0x5540c2;_0x25d70d>=0x0;_0x25d70d--)(_0x5540c2=_0x18b56c[_0x25d70d])&&(_0x410ce8=_0x5540c2(_0x410ce8)||_0x410ce8);return _0x410ce8;},hi=(_0x249d70,_0xfc1448)=>(_0x555bd7,_0x227746)=>_0xfc1448(_0x555bd7,_0x227746,_0x249d70);const _s='/universer-api/authz';let Ot=class{constructor(_0x4a1d59,_0x3a4ee0){var _0x574156=_0x3c789f;this[_0x574156(0x14e)]=_0x4a1d59,this[_0x574156(0xcb)]=_0x3a4ee0;}['_getAPIPrefixPath'](){var _0x9cddbd=_0x3c789f,_0x3bb6f2,_0x4ccc88;const _0x502d75=this['_configService'][_0x9cddbd(0x199)](Ni),_0x4c6270=this[_0x9cddbd(0x14e)]['getConfig'](q);return(_0x4ccc88=(_0x3bb6f2=_0x4c6270==null?void 0x0:_0x4c6270['authzUrl'])!=null?_0x3bb6f2:_0x502d75)!=null?_0x4ccc88:_s;}async[_0x3c789f(0x131)](_0xa3f10c){var _0x1e73b9=_0x3c789f;const _0x4048fb=this[_0x1e73b9(0x1f8)]()+_0x1e73b9(0xf3);return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x4048fb,{'params':{'objectID':_0xa3f10c[_0x1e73b9(0x3b5)],'unitID':_0xa3f10c[_0x1e73b9(0x3b5)]}}))[_0x1e73b9(0x1a5)]['collaborators']['map'](_0x168630=>({'objectId':_0x168630['id'],'name':_0x168630[_0x1e73b9(0x268)]['name'],'metadata':{'icon':_0x168630['subject'][_0x1e73b9(0x230)]},'label':_0x168630['subject'][_0x1e73b9(0xcd)],'objectType':_0x4b04ab['PERSON']})),'metadata':{},'type':_0x4b04ab[_0x1e73b9(0x13b)]}]};}};Ot=hs([hi(0x0,_0x4fc040(_0x231c4a)),hi(0x1,_0x4fc040(_0x94c21e))],Ot);var ls=Object[_0x3c789f(0x2a7)],us=(_0x36e5c1,_0x39f361,_0xbe18c0,_0xc9c9d5)=>{var _0x1fe9c9=_0x3c789f;for(var _0x10582a=_0xc9c9d5>0x1?void 0x0:_0xc9c9d5?ls(_0x39f361,_0xbe18c0):_0x39f361,_0xbe0152=_0x36e5c1[_0x1fe9c9(0x1b7)]-0x1,_0x1e5b94;_0xbe0152>=0x0;_0xbe0152--)(_0x1e5b94=_0x36e5c1[_0xbe0152])&&(_0x10582a=_0x1e5b94(_0x10582a)||_0x10582a);return _0x10582a;},Ae=(_0x41e8f8,_0x1d3555)=>(_0x2e5ea5,_0x9934fd)=>_0x1d3555(_0x2e5ea5,_0x9934fd,_0x41e8f8);let ot=class extends _0x319a90{constructor(_0xf9a48c,_0x1b6fc7,_0x148192,_0x993d37,_0xfd103f){var _0x2604ea=_0x3c789f;super(),this[_0x2604ea(0x24d)]=_0xf9a48c,this['_univerInstanceService']=_0x1b6fc7,this[_0x2604ea(0x188)]=_0x148192,this['_collaborationSessionService']=_0x993d37,this['_collaborationUIEventService']=_0xfd103f,this[_0x2604ea(0x13e)](),this['_initCloseConn']();}[_0x3c789f(0x317)](){var _0x3f2f3d=_0x3c789f;const _0x266b97=async _0x32994d=>{var _0x2d166f=_0x215f;(await this[_0x2d166f(0x3b1)][_0x2d166f(0x170)](_0x32994d))['event$'][_0x2d166f(0x197)](_0x4f8bc7(_0x3dc832=>_0x3dc832['eventID']===_0x289bc7['SHOULD_CLOSE_CONN']),_0x5430d5(this[_0x2d166f(0xd2)]))[_0x2d166f(0x32f)](_0x324f33=>{var _0x44ec13=_0x2d166f;const _0xd89c0e=_0x324f33,{reason:_0x17a938}=_0xd89c0e[_0x44ec13(0x2b4)];this[_0x44ec13(0xfe)][_0x44ec13(0xe6)]({'id':se[_0x44ec13(0x1cb)],'data':_0x17a938}),this[_0x44ec13(0x188)][_0x44ec13(0x32a)](new _0x174fbb(_0x32994d)['id'],!0x1),this[_0x44ec13(0x3b1)][_0x44ec13(0x2fe)](_0x32994d);});};_0x3d63ad(this['_univerInstanceService'][_0x3f2f3d(0x291)](_0x5c6970[_0x3f2f3d(0x1d8)]),this[_0x3f2f3d(0x272)][_0x3f2f3d(0x291)](_0x5c6970[_0x3f2f3d(0x289)]))[_0x3f2f3d(0x197)](_0x7425b(_0xff8e47=>_0xff8e47[_0x3f2f3d(0x189)]()),_0x4f8bc7(_0x40102e=>!_0x43f03a(_0x40102e)),_0x5430d5(this[_0x3f2f3d(0xd2)]))[_0x3f2f3d(0x32f)](_0x3a050f=>{_0x266b97(_0x3a050f);});}[_0x3c789f(0x13e)](){var _0x21f57b=_0x3c789f;const _0xbcaae9=async _0x3b55c6=>{var _0x384c9a=_0x215f;const _0x174ad4=await this['_collaborationSessionService']['requireSession'](_0x3b55c6),_0x4912c9=this[_0x384c9a(0x24d)][_0x384c9a(0x160)](_0x4539d9);_0x174ad4[_0x384c9a(0x179)][_0x384c9a(0x197)](_0x4f8bc7(_0x11915e=>_0x11915e[_0x384c9a(0x3a1)]===_0x289bc7[_0x384c9a(0x346)]),_0x5430d5(this[_0x384c9a(0xd2)]))['subscribe'](_0x1869f8=>{var _0x523bd5=_0x384c9a;const _0x1915be=_0x1869f8,{objectId:_0x47a7a2}=_0x1915be[_0x523bd5(0x2b4)];_0x47a7a2===_0x3b55c6?_0x4912c9[_0x523bd5(0x310)](_0x3b55c6):_0x4912c9[_0x523bd5(0xfd)](_0x3b55c6,_0x47a7a2);});};_0x3d63ad(this[_0x21f57b(0x272)][_0x21f57b(0x291)](_0x5c6970[_0x21f57b(0x1d8)]))[_0x21f57b(0x197)](_0x7425b(_0x3cec02=>_0x3cec02[_0x21f57b(0x189)]()),_0x4f8bc7(_0x5b3e04=>!_0x43f03a(_0x5b3e04)),_0x5430d5(this['dispose$']))[_0x21f57b(0x32f)](_0x59f15c=>{_0xbcaae9(_0x59f15c);});}};ot=us([Ae(0x0,_0x4fc040(_0x2128d8)),Ae(0x1,_0x494e3d),Ae(0x2,_0x33f73b),Ae(0x3,_0x4fc040(Le)),Ae(0x4,_0x4fc040(pe))],ot);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x56e8fb,_0x222a97,_0x11a679,_0x20afce)=>{for(var _0x1773d9=_0x20afce>0x1?void 0x0:_0x20afce?ds(_0x222a97,_0x11a679):_0x222a97,_0x11fcb6=_0x56e8fb['length']-0x1,_0x311b60;_0x11fcb6>=0x0;_0x11fcb6--)(_0x311b60=_0x56e8fb[_0x11fcb6])&&(_0x1773d9=_0x311b60(_0x1773d9)||_0x1773d9);return _0x1773d9;},_i=(_0xdbaac4,_0x5e75a7)=>(_0x1cfed1,_0x2e8c4a)=>_0x5e75a7(_0x1cfed1,_0x2e8c4a,_0xdbaac4);let Nt=class{constructor(_0x2f9303,_0x5cd18e){var _0xba72a0=_0x3c789f;this[_0xba72a0(0x14e)]=_0x2f9303,this['_httpService']=_0x5cd18e;}async['getUnitOnRev'](_0x40b207,_0x2227de){var _0x1a101c=_0x3c789f,_0x473d3c;const {unitID:_0x363789,type:_0x218764,revision:_0x3e529d=0x0}=_0x2227de,_0x11d4b5=this['getSnapshotAPIPath']()+'/'+_0x218764+'/unit/'+_0x363789+_0x1a101c(0x3b2)+_0x3e529d,_0x3efb01=(await this[_0x1a101c(0x25a)]['get'](_0x11d4b5))['body'],_0x444806=(_0x473d3c=_0x3efb01[_0x1a101c(0xf1)])==null?void 0x0:_0x473d3c['workbook'];if(_0x444806){const _0x44933f=_0x444806==null?void 0x0:_0x444806[_0x1a101c(0x2fa)],_0x3d7305=_0x4f76dc[_0x1a101c(0x12b)](_0x46f460(_0x44933f));_0x444806[_0x1a101c(0x2fa)]=_0x3d7305,Object[_0x1a101c(0x25c)](_0x444806[_0x1a101c(0x36b)])[_0x1a101c(0x14d)](([,_0x366500])=>{var _0x3fa2df=_0x1a101c;const _0x20babc=_0x366500[_0x3fa2df(0x2fa)],_0xd727f4=_0x4f76dc['encode'](_0x46f460(_0x20babc));_0x366500[_0x3fa2df(0x2fa)]=_0xd727f4;});}return _0x3efb01;}async[_0x3c789f(0x237)](_0x12e213,_0x2781a3){var _0x30c33c=_0x3c789f;const {unitID:_0x4b7bd2,type:_0x563530,blockID:_0x16f3b4}=_0x2781a3,_0x18618e=this['_getAPIPrefix']()+'/'+_0x563530+'/unit/'+_0x4b7bd2+_0x30c33c(0x332)+_0x16f3b4;return(await this['_httpService'][_0x30c33c(0x160)](_0x18618e))[_0x30c33c(0x1a5)];}async['getDeserializedSheetBlock'](_0x5ecfa2,_0xdc1e23){var _0x1bfad7=_0x3c789f;const {unitID:_0x215b1e,type:_0x57169d,blockID:_0x3fc8f0}=_0xdc1e23,_0x4ae3e7=this['_getAPIPrefix']()+_0x1bfad7(0x332)+_0x57169d+_0x1bfad7(0x205)+_0x215b1e+_0x1bfad7(0x332)+_0x3fc8f0;return(await this[_0x1bfad7(0x25a)]['get'](_0x4ae3e7))[_0x1bfad7(0x1a5)];}async['fetchMissingChangesets'](_0x2264bb,_0x962fae){var _0x21d69b=_0x3c789f;const {unitID:_0x47c9d4,type:_0x405520,from:_0x181230,to:_0x2ff059}=_0x962fae,_0x2a5976=this[_0x21d69b(0x1e2)]()+'/'+_0x405520+_0x21d69b(0x205)+_0x47c9d4+'/fetchmissing?from='+_0x181230+_0x21d69b(0x10d)+_0x2ff059;return(await this[_0x21d69b(0x25a)]['get'](_0x2a5976))[_0x21d69b(0x1a5)];}[_0x3c789f(0x207)](){var _0x5ccfca=_0x3c789f,_0x5863ec;return(_0x5863ec=this[_0x5ccfca(0x14e)][_0x5ccfca(0x199)](Sn))!=null?_0x5863ec:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x277fde=_0x3c789f,_0x10dc65,_0x26fb52;const _0x4a05cc=this['_configService']['getConfig'](mn),_0x358465=this[_0x277fde(0x14e)]['getConfig'](q);return(_0x26fb52=(_0x10dc65=_0x358465==null?void 0x0:_0x358465[_0x277fde(0x172)])!=null?_0x10dc65:_0x4a05cc)!=null?_0x26fb52:gn;}async[_0x3c789f(0x26b)](_0x265927,_0xa4f6e6){var _0x1a20d4=_0x3c789f;const _0x2439e8=_0x1a20d4(0xc3)+_0xa4f6e6['type']+_0x1a20d4(0x205)+_0xa4f6e6[_0x1a20d4(0x1df)]+_0x1a20d4(0x347);return(await this[_0x1a20d4(0x25a)]['get'](_0x2439e8,{'params':{'resourceId':JSON[_0x1a20d4(0xc6)](_0xa4f6e6['resourceIDs'])}}))['body'];}[_0x3c789f(0x15e)](){var _0xc9480a=_0x3c789f;throw new Error(_0xc9480a(0x139));}[_0x3c789f(0x341)](){var _0x56b688=_0x3c789f;throw new Error(_0x56b688(0x139));}[_0x3c789f(0x30a)](){var _0x18358d=_0x3c789f;throw new Error(_0x18358d(0x139));}[_0x3c789f(0x119)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3c789f(0x36d)](){var _0x28bd04=_0x3c789f;throw new Error(_0x28bd04(0x139));}};Nt=fs([_i(0x0,_0x231c4a),_i(0x1,_0x4fc040(_0x94c21e))],Nt);var vs=Object[_0x3c789f(0x2a7)],ps=(_0x18a2b9,_0x5ded37,_0x2cb7b5,_0x4cd3da)=>{var _0x15903e=_0x3c789f;for(var _0x4fe045=_0x4cd3da>0x1?void 0x0:_0x4cd3da?vs(_0x5ded37,_0x2cb7b5):_0x5ded37,_0x1d24f3=_0x18a2b9[_0x15903e(0x1b7)]-0x1,_0x41b755;_0x1d24f3>=0x0;_0x1d24f3--)(_0x41b755=_0x18a2b9[_0x1d24f3])&&(_0x4fe045=_0x41b755(_0x4fe045)||_0x4fe045);return _0x4fe045;},Pe=(_0x1c044a,_0x429838)=>(_0x2f7ab2,_0x9452e4)=>_0x429838(_0x2f7ab2,_0x9452e4,_0x1c044a);let Dt=class extends _0x4907cf{constructor(_0x417560,_0x5c79c1,_0x19a0f2,_0x5afd96,_0xe1b8a2){var _0xd44e80=_0x3c789f;super(_0x417560,_0x5c79c1,_0x19a0f2),this[_0xd44e80(0x1cc)]=_0x5afd96,this['_logService']=_0xe1b8a2;}['transformUndoRedo'](_0xa13979,_0x4c47dd){var _0xd3d8f1=_0x3c789f;const _0x32f23a=this[_0xd3d8f1(0x345)](_0xa13979);if(_0x32f23a)try{const _0x368355=this['_transformStack'](_0x32f23a,_0x4c47dd);this['_substituteUndoStack'](_0xa13979,_0x368355);}catch(_0x32dbc2){this[_0xd3d8f1(0x381)][_0xd3d8f1(0x168)](_0xd3d8f1(0x1e6),_0x32dbc2),this[_0xd3d8f1(0x12d)](_0xa13979);}const _0x34fa47=this['_getRedoStack'](_0xa13979);if(_0x34fa47)try{const _0x549c26=this['_transformStack'](_0x34fa47,_0x4c47dd);this['_substituteRedoStack'](_0xa13979,_0x549c26);}catch(_0x56dc81){this[_0xd3d8f1(0x381)][_0xd3d8f1(0x168)](_0x56dc81),this['_clearRedo'](_0xa13979);}}[_0x3c789f(0x12d)](_0x4021f8){var _0x587a0a=_0x3c789f;const _0xabe7ff=this[_0x587a0a(0x345)](_0x4021f8);_0xabe7ff&&(_0xabe7ff[_0x587a0a(0x1b7)]=0x0,this['_updateStatus']());}[_0x3c789f(0x39d)](_0x4ed571){var _0x140ebf=_0x3c789f;const _0x547ef7=this['_getRedoStack'](_0x4ed571);_0x547ef7&&(_0x547ef7['length']=0x0,this[_0x140ebf(0x30d)]());}[_0x3c789f(0x251)](_0x21452e,_0x19d984){var _0x33779f=_0x3c789f;this[_0x33779f(0x1ed)]['set'](_0x21452e,_0x19d984),this[_0x33779f(0x30d)]();}[_0x3c789f(0x397)](_0x47157f,_0x1914ec){var _0x44eb46=_0x3c789f;this[_0x44eb46(0x36f)][_0x44eb46(0xd6)](_0x47157f,_0x1914ec),this[_0x44eb46(0x30d)]();}[_0x3c789f(0x276)](_0x36e10a,_0x11af0c){var _0x548af0=_0x3c789f;const _0x364827=[];let _0xf391a7=_0x11af0c,_0x147999=_0x11af0c;for(let _0x73cf27=_0x36e10a[_0x548af0(0x1b7)]-0x1;_0x73cf27>=0x0;_0x73cf27--){const {unitID:_0x11ef82,undoMutations:_0x2bfc74,redoMutations:_0x5c2c39}=_0x36e10a[_0x73cf27],_0x3f000b=this[_0x548af0(0x1cc)]['transformMutationsWithChangeset'](_0xf391a7,_0x2bfc74),_0x30b33e=this['_transformService'][_0x548af0(0x19b)](_0x147999,_0x5c2c39);if(_0xd35c19(_0x3f000b)||_0xd35c19(_0x30b33e)){this[_0x548af0(0x381)]['error']('[CollaborationUndoRedoService]',_0x548af0(0x217),_0x3f000b,_0x30b33e);break;}_0xf391a7=_0x3f000b[_0x548af0(0x303)],_0x147999=_0x30b33e[_0x548af0(0x303)],_0x364827[_0x548af0(0x1c3)]({'unitID':_0x11ef82,'undoMutations':_0x3f000b['m2Prime'],'redoMutations':_0x30b33e[_0x548af0(0xef)]});}return _0x364827['reverse']();}};Dt=ps([Pe(0x0,_0x494e3d),Pe(0x1,_0x1e6fb2),Pe(0x2,_0x19aabd),Pe(0x3,_0x3e7636),Pe(0x4,_0x251932)],Dt);var ms=Object[_0x3c789f(0x36c)],gs=Object[_0x3c789f(0x2a7)],Ss=(_0x386176,_0x46b003,_0x2428fa)=>_0x46b003 in _0x386176?ms(_0x386176,_0x46b003,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2428fa}):_0x386176[_0x46b003]=_0x2428fa,Es=(_0x167750,_0x3ee5db,_0x54a627,_0x20760d)=>{for(var _0x4f38fe=_0x20760d>0x1?void 0x0:_0x20760d?gs(_0x3ee5db,_0x54a627):_0x3ee5db,_0x5d3d88=_0x167750['length']-0x1,_0x421bcb;_0x5d3d88>=0x0;_0x5d3d88--)(_0x421bcb=_0x167750[_0x5d3d88])&&(_0x4f38fe=_0x421bcb(_0x4f38fe)||_0x4f38fe);return _0x4f38fe;},St=(_0x483e10,_0x52e81b)=>(_0x14c270,_0x1de259)=>_0x52e81b(_0x14c270,_0x1de259,_0x483e10),Is=(_0x59f82f,_0x3870d5,_0x1fcbb7)=>Ss(_0x59f82f,_0x3870d5+'',_0x1fcbb7);const Ts='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x3f88e8{constructor(_0x5ad9b4,_0x5ab171,_0x293c06,_0x4ee4b0){var _0x2ebf53=_0x3c789f;super(),N(this,_0x2ebf53(0x2d9)),(this[_0x2ebf53(0x381)]=_0x5ab171,this['_injector']=_0x293c06,this[_0x2ebf53(0x14e)]=_0x4ee4b0);const {..._0x25cb16}=_0x3cc4f7({},An,_0x5ad9b4);if(!_0x25cb16[_0x2ebf53(0x357)])throw new Error(_0x2ebf53(0x306));this[_0x2ebf53(0x2d9)]=_0x25cb16,this['_configService'][_0x2ebf53(0x380)](q,_0x25cb16);}[_0x3c789f(0x2e7)](){var _0x3dc6a1=_0x3c789f;this[_0x3dc6a1(0x266)](),this[_0x3dc6a1(0x204)]();}[_0x3c789f(0x266)](){var _0x344f09=_0x3c789f,_0x557c0,_0xcd20eb;this[_0x344f09(0x24d)][_0x344f09(0x166)](_0x4f308f)&&this[_0x344f09(0x381)][_0x344f09(0x168)](_0x344f09(0x17e),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x51470f=_0x16ce21([[_0x4f308f,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x344f09(0x2d9)][_0x344f09(0x357)]}],[_0x10a404,{'useClass':Nt}],[_0x22bf55,{'useClass':Rt}],[_0x4746ad,{'useClass':yt}],[_0x28c5ba,{'useClass':Ot}],[rt],[Ct]],(_0x557c0=this['_config'])==null?void 0x0:_0x557c0['override']);if(!((_0xcd20eb=this[_0x344f09(0x2d9)])!=null&&_0xcd20eb[_0x344f09(0x316)])){const _0x9aab70=_0x51470f[_0x344f09(0xd4)](([_0x24d735])=>_0x24d735===ht);_0x9aab70!==-0x1&&_0x51470f['splice'](_0x9aab70,0x1);}_0xd3bc5f(this[_0x344f09(0x24d)],_0x51470f);}['_initDependencies'](){var _0x142ecb=_0x3c789f,_0x4ad904,_0x4678b6,_0x116cd0;this['_injector'][_0x142ecb(0x160)](_0x94c21e)[_0x142ecb(0x30e)]({'priority':0x14,'interceptor':_0x4c223d({'maxParallel':0x6})}),(_0x4ad904=this[_0x142ecb(0x2d9)])!=null&&_0x4ad904[_0x142ecb(0x2b1)]||(_0x4678b6=this[_0x142ecb(0x24d)][_0x142ecb(0x160)](J,_0x205d3b[_0x142ecb(0x138)]))==null||_0x4678b6[_0x142ecb(0x39b)](),(_0x116cd0=this[_0x142ecb(0x2d9)])!=null&&_0x116cd0['enableAuthServer']&&_0x2afd5(this['_injector'],[[st]]),_0x2afd5(this[_0x142ecb(0x24d)],[[at],[rt],[ot]]);}};Is(Ut,_0x3c789f(0x2f1),Ts),Ut=Es([_0x2bee3c(_0x2b5ed0,_0x2e07bd),St(0x1,_0x251932),St(0x2,_0x4fc040(_0x2128d8)),St(0x3,_0x231c4a)],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,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls 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,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs 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,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
1
+ var _0x5ecaf8=_0x3ae5;(function(_0x254b6c,_0x2783d4){var _0x4d356c=_0x3ae5,_0xaac62=_0x254b6c();while(!![]){try{var _0x40ef1d=-parseInt(_0x4d356c(0x1ef))/0x1*(parseInt(_0x4d356c(0x3fc))/0x2)+parseInt(_0x4d356c(0x1b7))/0x3+-parseInt(_0x4d356c(0x395))/0x4*(-parseInt(_0x4d356c(0x28d))/0x5)+-parseInt(_0x4d356c(0x330))/0x6+parseInt(_0x4d356c(0x1f2))/0x7*(parseInt(_0x4d356c(0x3bc))/0x8)+-parseInt(_0x4d356c(0x420))/0x9+parseInt(_0x4d356c(0x301))/0xa;if(_0x40ef1d===_0x2783d4)break;else _0xaac62['push'](_0xaac62['shift']());}catch(_0x573f93){_0xaac62['push'](_0xaac62['shift']());}}}(_0x5ca9,0x71447));var Ai=Object[_0x5ecaf8(0x41b)],Pi=(_0x30095a,_0x4759a9,_0x59452d)=>_0x4759a9 in _0x30095a?Ai(_0x30095a,_0x4759a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59452d}):_0x30095a[_0x4759a9]=_0x59452d,N=(_0x233bf6,_0x45fd46,_0x2b71f6)=>Pi(_0x233bf6,typeof _0x45fd46!=_0x5ecaf8(0x168)?_0x45fd46+'':_0x45fd46,_0x2b71f6);import{createIdentifier as _0xb95ca3,Inject as _0x38fae2,Injector as _0x43f95e,IConfigService as _0x5d1324,ILogService as _0x5d2f2b,Disposable as _0x568a30,DisposableCollection as _0x12e22b,toDisposable as _0x1027a1,IUniverInstanceService as _0x2643c0,UserManagerService as _0x3507a8,UniverInstanceType as _0x17b299,LocaleService as _0x5d1970,Optional as _0x26bd50,RxDisposable as _0x3f016d,Tools as _0x406736,Rectangle as _0xa4832a,ICommandService as _0x26a602,JSONX as _0x3e6b3c,CommandType as _0x45511f,IUndoRedoService as _0x29fd27,IPermissionService as _0x405d03,sequenceExecute as _0x4d5671,Workbook as _0x409efb,MentionType as _0x3337a4,isInternalEditorID as _0x4ba4d4,LocalUndoRedoService as _0x5b3d08,IContextService as _0x5c8f30,DependentOn as _0x3b55bd,Plugin as _0x4684dc,merge as _0x53d869,mergeOverrideWithDependencies as _0x22f013,IAuthzIoService as _0x2d4c5c,IMentionIOService as _0x18c6fb,registerDependencies as _0x1ac71f,Quantity as _0x341779,touchDependencies as _0x4f1076}from'@univerjs/core';import{Subject as _0x25757a,merge as _0x2e2230,of as _0x2535a1,BehaviorSubject as _0x6d7147,takeUntil as _0x426eaf,ReplaySubject as _0x22598e,take as _0xa3903a,map as _0x5040ff,shareReplay as _0x5761b0,firstValueFrom as _0x1406b4,concatMap as _0xdbfd7b}from'rxjs';import{map as _0x58e504,take as _0x2cebee,filter as _0x1f327a,delay as _0x45b05b,takeUntil as _0x3b8656}from'rxjs/operators';import{CollaborationEvent as _0x36469a,ISnapshotServerService as _0x599121,parseChangesetToProtocol as _0x329579,ITransformService as _0x54d884,isTransformMutationsWithChangesetSuccess as _0x7e355,mapDocumentTypeToUniverType as _0x173e89,RevisionService as _0x18ac3c,isTransformChangesetsSuccess as _0x28771b,CompressMutationService as _0x1e471f,parseProtocolChangeset as _0x4d3661,SnapshotService as _0x20bc6d,textEncoder as _0x3efaa2,b64DecodeUnicode as _0x4112ee,isTransformMutationsWithChangesetFailure as _0xe2f152,UniverCollaborationPlugin as _0x596103}from'@univerjs-pro/collaboration';import{HTTPService as _0x2ff782,ISocketService as _0xad92ac,MergeInterceptorFactory as _0x47d1c8,HTTPRequest as _0x2d97be,UniverNetworkPlugin as _0x25a534,ThresholdInterceptorFactory as _0x38cf59}from'@univerjs/network';import{ITelemetryService as _0x131b4c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x11b362}from'@univerjs/docs';import{SheetsSelectionsService as _0x455d3c,SetSelectionsOperation as _0x503556,InsertSheetMutation as _0x4005d5,EmptyMutation as _0x35ffe8,WorkbookEditablePermission as _0x429713,SheetPermissionInitController as _0x549d17}from'@univerjs/sheets';import{ImageSourceType as _0x498b4d,ImageUploadStatusType as _0x8182ed,IImageIoService as _0x2d71ed}from'@univerjs/drawing';import{getGlobalObject as _0x57e100}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x5ecaf8(0x328),Sn=_0x5ecaf8(0x3a5),xs=_0x5ecaf8(0x37c),En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x5ecaf8(0x39d),Ls=_0x5ecaf8(0x169),Cn=_0x5ecaf8(0x3a0),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',On=0x3,Ms=_0x5ecaf8(0x36d),ks=0x3e8,Nn=_0x5ecaf8(0x135),Dn=_0x5ecaf8(0x212),Un='LOGIN_URL_KEY',wn=_0x5ecaf8(0x39a),$s=_0x5ecaf8(0x15e),Hs='/universer-api/uniscript';var Si=(_0x5e4070=>(_0x5e4070[_0x5e4070[_0x5ecaf8(0x263)]=0x0]='UNDEFINED',_0x5e4070[_0x5e4070['OK']=0x1]='OK',_0x5e4070[_0x5e4070[_0x5ecaf8(0x145)]=0x2]=_0x5ecaf8(0x145),_0x5e4070[_0x5e4070[_0x5ecaf8(0x40d)]=0x3]=_0x5ecaf8(0x40d),_0x5e4070[_0x5e4070['NOT_FOUND']=0x4]=_0x5ecaf8(0x131),_0x5e4070[_0x5e4070['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5e4070[_0x5e4070[_0x5ecaf8(0x20d)]=0x6]=_0x5ecaf8(0x20d),_0x5e4070[_0x5e4070['INVALID_ARGUMENT']=0x7]=_0x5ecaf8(0x217),_0x5e4070[_0x5e4070[_0x5ecaf8(0x1ab)]=0x8]=_0x5ecaf8(0x1ab),_0x5e4070[_0x5e4070['COMPLETION_FINISHED']=0x9]=_0x5ecaf8(0x1f0),_0x5e4070[_0x5e4070[_0x5ecaf8(0x1d3)]=0xa]=_0x5ecaf8(0x1d3),_0x5e4070[_0x5e4070[_0x5ecaf8(0x3c6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5e4070[_0x5e4070[_0x5ecaf8(0x2d3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5e4070[_0x5e4070[_0x5ecaf8(0x36e)]=0x1772]=_0x5ecaf8(0x36e),_0x5e4070[_0x5e4070[_0x5ecaf8(0x1af)]=0x1773]=_0x5ecaf8(0x1af),_0x5e4070[_0x5e4070['APPLY_REJECT']=0x1b59]=_0x5ecaf8(0x1b6),_0x5e4070[_0x5e4070[_0x5ecaf8(0x2a2)]=0x1b5a]=_0x5ecaf8(0x2a2),_0x5e4070[_0x5e4070['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5ecaf8(0x3d6),_0x5e4070[_0x5e4070['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5ecaf8(0x1e5),_0x5e4070[_0x5e4070[_0x5ecaf8(0x233)]=0x1b5d]=_0x5ecaf8(0x233),_0x5e4070[_0x5e4070[_0x5ecaf8(0x18d)]=0x1f41]=_0x5ecaf8(0x18d),_0x5e4070[_0x5e4070[_0x5ecaf8(0x225)]=0x2329]=_0x5ecaf8(0x225),_0x5e4070[_0x5e4070[_0x5ecaf8(0x36a)]=0x232a]=_0x5ecaf8(0x36a),_0x5e4070[_0x5e4070[_0x5ecaf8(0x285)]=0x232b]=_0x5ecaf8(0x285),_0x5e4070[_0x5e4070[_0x5ecaf8(0x302)]=0x232c]=_0x5ecaf8(0x302),_0x5e4070[_0x5e4070['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5ecaf8(0x2dd),_0x5e4070[_0x5e4070[_0x5ecaf8(0x23f)]=0x2711]=_0x5ecaf8(0x23f),_0x5e4070[_0x5e4070[_0x5ecaf8(0x22e)]=0x2712]=_0x5ecaf8(0x22e),_0x5e4070[_0x5e4070[_0x5ecaf8(0x3c0)]=0x2713]=_0x5ecaf8(0x3c0),_0x5e4070[_0x5e4070['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5e4070[_0x5e4070[_0x5ecaf8(0x32c)]=0x2af9]=_0x5ecaf8(0x32c),_0x5e4070[_0x5e4070['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5e4070[_0x5e4070[_0x5ecaf8(0x1de)]=0x2ee2]=_0x5ecaf8(0x1de),_0x5e4070[_0x5e4070['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5ecaf8(0x37f),_0x5e4070[_0x5e4070[_0x5ecaf8(0x414)]=0x2ee4]=_0x5ecaf8(0x414),_0x5e4070[_0x5e4070['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5ecaf8(0x16c),_0x5e4070[_0x5e4070[_0x5ecaf8(0x2a9)]=-0x1]=_0x5ecaf8(0x2a9),_0x5e4070))(Si||{}),Q=(_0x328327=>(_0x328327[_0x328327[_0x5ecaf8(0x2b3)]=0x0]=_0x5ecaf8(0x2b3),_0x328327[_0x328327[_0x5ecaf8(0x1f4)]=0x1]=_0x5ecaf8(0x1f4),_0x328327[_0x328327[_0x5ecaf8(0x1fd)]=0x2]=_0x5ecaf8(0x1fd),_0x328327[_0x328327['UNIVER_SLIDE']=0x3]=_0x5ecaf8(0x275),_0x328327[_0x328327[_0x5ecaf8(0x190)]=0x4]=_0x5ecaf8(0x190),_0x328327[_0x328327['UNRECOGNIZED']=-0x1]=_0x5ecaf8(0x2a9),_0x328327))(Q||{}),F=(_0x2f9edc=>(_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x2d6)]=0x0]=_0x5ecaf8(0x2d6),_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x274)]=0x1]=_0x5ecaf8(0x274),_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x140)]=0x2]='JOIN',_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x370)]=0x3]=_0x5ecaf8(0x370),_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x26c)]=0x4]='INGEST',_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x26f)]=0x5]=_0x5ecaf8(0x26f),_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x2b9)]=0x6]=_0x5ecaf8(0x2b9),_0x2f9edc[_0x2f9edc[_0x5ecaf8(0x2a9)]=-0x1]=_0x5ecaf8(0x2a9),_0x2f9edc))(F||{}),ge=(_0x11f121=>(_0x11f121[_0x11f121[_0x5ecaf8(0x1f6)]=0x0]=_0x5ecaf8(0x1f6),_0x11f121[_0x11f121['OK']=0x1]='OK',_0x11f121[_0x11f121[_0x5ecaf8(0x270)]=0x2]='FAIL',_0x11f121[_0x11f121[_0x5ecaf8(0x1bb)]=0x3e9]=_0x5ecaf8(0x1bb),_0x11f121[_0x11f121[_0x5ecaf8(0x2a0)]=0x3ea]=_0x5ecaf8(0x2a0),_0x11f121[_0x11f121[_0x5ecaf8(0x150)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x11f121[_0x11f121[_0x5ecaf8(0x170)]=0x3ec]=_0x5ecaf8(0x170),_0x11f121[_0x11f121[_0x5ecaf8(0x2a9)]=-0x1]=_0x5ecaf8(0x2a9),_0x11f121))(ge||{}),Ei=(_0x29c9a5=>(_0x29c9a5[_0x29c9a5[_0x5ecaf8(0x341)]=0x0]=_0x5ecaf8(0x341),_0x29c9a5[_0x29c9a5[_0x5ecaf8(0x33f)]=0x1]=_0x5ecaf8(0x33f),_0x29c9a5[_0x29c9a5['HttpExport']=0x2]='HttpExport',_0x29c9a5[_0x29c9a5[_0x5ecaf8(0x385)]=0x3]='UnitEmbedded',_0x29c9a5[_0x29c9a5[_0x5ecaf8(0x183)]=0x4]=_0x5ecaf8(0x183),_0x29c9a5[_0x29c9a5[_0x5ecaf8(0x2a9)]=-0x1]=_0x5ecaf8(0x2a9),_0x29c9a5))(Ei||{});const q='collaboration-client.config',An={};var se=(_0x531ba0=>(_0x531ba0['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x531ba0[_0x5ecaf8(0x40d)]=_0x5ecaf8(0x40d),_0x531ba0['CONFLICT']=_0x5ecaf8(0x39c),_0x531ba0[_0x5ecaf8(0x3c2)]='CLOSE_ROOM',_0x531ba0[_0x5ecaf8(0x2bf)]=_0x5ecaf8(0x2bf),_0x531ba0[_0x5ecaf8(0x2dc)]=_0x5ecaf8(0x2dc),_0x531ba0[_0x5ecaf8(0x130)]=_0x5ecaf8(0x130),_0x531ba0[_0x5ecaf8(0x160)]='SUBMIT_CHANGESET_TIMEOUT',_0x531ba0))(se||{});class pe{constructor(){var _0x43c610=_0x5ecaf8;N(this,_0x43c610(0x3e4),new _0x25757a()),N(this,'event$',this[_0x43c610(0x3e4)][_0x43c610(0x13f)]());}[_0x5ecaf8(0x1ee)](_0x19497e){this['_event$']['next'](_0x19497e);}}const Pn=_0xb95ca3(_0x5ecaf8(0x35d));function xn(_0x93f89f){var _0x11a331=_0x5ecaf8,_0x4d9627,_0x2f0c4a,_0x301c51,_0x5676c6,_0x4525fb;const _0x49d544=_0x93f89f[_0x11a331(0x227)],_0x533428=JSON[_0x11a331(0x2bd)](_0x49d544);switch(_0x533428[_0x11a331(0x187)]){case F[_0x11a331(0x26f)]:case F[_0x11a331(0x274)]:{const _0x491ad1=_0x533428[_0x11a331(0x269)];return{..._0x533428,'data':_0x491ad1,'cmd':_0x533428[_0x11a331(0x187)]};}case F['JOIN']:{const _0x5683ee=_0x533428[_0x11a331(0x163)];return{..._0x533428,'data':_0x5683ee,'cmd':_0x533428[_0x11a331(0x187)]};}case F[_0x11a331(0x2b9)]:{const _0x296dec=_0x533428['collaMsg'];switch(_0x296dec[_0x11a331(0x19c)]){case _0x36469a[_0x11a331(0x2aa)]:return{..._0x533428,'data':{..._0x296dec,'data':(_0x4d9627=_0x296dec['permissionRejEvent'])==null?void 0x0:_0x4d9627['cs']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a['CHANGESET_ACK']:return{..._0x533428,'data':{..._0x296dec,'data':(_0x2f0c4a=_0x296dec[_0x11a331(0x2a4)])==null?void 0x0:_0x2f0c4a['cs']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x1db)]:return{..._0x533428,'data':{..._0x296dec,'data':(_0x301c51=_0x296dec[_0x11a331(0x161)])==null?void 0x0:_0x301c51['cs']},'cmd':_0x533428['cmd']};case _0x36469a[_0x11a331(0x221)]:return{..._0x533428,'data':{..._0x296dec,'data':(_0x5676c6=_0x296dec['csRejEvent'])==null?void 0x0:_0x5676c6['cs']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a['CHANGESET_SHOULD_RETRY']:return{..._0x533428,'data':{..._0x296dec,'data':(_0x4525fb=_0x296dec[_0x11a331(0x1ca)])==null?void 0x0:_0x4525fb['cs']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x374)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec[_0x11a331(0x2ac)]},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x396)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec[_0x11a331(0x31e)]},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x335)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec['leaveEvent']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a['LIVESHARE_NEW_HOST']:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec['liveShareNewHost']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x3f2)]:case _0x36469a[_0x11a331(0x172)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec['liveShareOperation']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x134)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec[_0x11a331(0x2ed)]},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a['MSG_FOR_ERROR']:return{..._0x533428,'data':_0x296dec,'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x3a9)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec['commentUpdateEvent']},'cmd':_0x533428['cmd']};case _0x36469a[_0x11a331(0x32a)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec['updatePermissionObjEvent']},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x2e6)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec[_0x11a331(0x14b)]},'cmd':_0x533428[_0x11a331(0x187)]};case _0x36469a[_0x11a331(0x1f3)]:return{..._0x533428,'data':{..._0x296dec,'data':_0x296dec['uniscriptRunEvent']},'cmd':_0x533428['cmd']};default:return _0x533428;}}default:return _0x533428;}}function Ln(_0x2cdf39){var _0x1ae16f=_0x5ecaf8;switch(_0x2cdf39['cmd']){case F[_0x1ae16f(0x26f)]:case F[_0x1ae16f(0x274)]:return JSON[_0x1ae16f(0x24e)]({'cmd':_0x2cdf39[_0x1ae16f(0x187)],'routeKey':_0x2cdf39[_0x1ae16f(0x303)]});case F['INGEST']:{let _0x42d2db;switch(_0x2cdf39[_0x1ae16f(0x227)]['eventID']){case _0x36469a['UPDATE_CURSOR']:{_0x42d2db={'eventID':_0x36469a[_0x1ae16f(0x374)],'updateCursorEvent':_0x2cdf39[_0x1ae16f(0x227)][_0x1ae16f(0x227)]};break;}case _0x36469a[_0x1ae16f(0x335)]:{_0x42d2db={'eventID':_0x36469a[_0x1ae16f(0x335)],'leaveEvent':_0x2cdf39[_0x1ae16f(0x227)][_0x1ae16f(0x227)]};break;}case _0x36469a[_0x1ae16f(0x396)]:{_0x42d2db={'eventID':_0x36469a[_0x1ae16f(0x396)],'joinEvent':_0x2cdf39[_0x1ae16f(0x227)][_0x1ae16f(0x227)]};break;}case _0x36469a[_0x1ae16f(0x3e1)]:{_0x42d2db={'eventID':_0x36469a[_0x1ae16f(0x3e1)],'liveShareNewHost':_0x2cdf39[_0x1ae16f(0x227)]['data']};break;}case _0x36469a[_0x1ae16f(0x172)]:{_0x42d2db={'eventID':_0x36469a[_0x1ae16f(0x172)],'liveShareOperation':_0x2cdf39[_0x1ae16f(0x227)][_0x1ae16f(0x227)]};break;}case _0x36469a[_0x1ae16f(0x134)]:{_0x42d2db={'eventID':_0x36469a[_0x1ae16f(0x134)],'liveShareTerminate':_0x2cdf39[_0x1ae16f(0x227)][_0x1ae16f(0x227)]};break;}case _0x36469a[_0x1ae16f(0x415)]:{_0x42d2db={'eventID':_0x36469a['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2cdf39[_0x1ae16f(0x227)][_0x1ae16f(0x227)]};break;}case _0x36469a[_0x1ae16f(0x3f2)]:{_0x42d2db={'eventID':_0x36469a[_0x1ae16f(0x3f2)]};break;}default:_0x42d2db={'eventID':_0x2cdf39[_0x1ae16f(0x227)][_0x1ae16f(0x19c)]};}return JSON['stringify']({'cmd':_0x2cdf39[_0x1ae16f(0x187)],'routeKey':_0x2cdf39[_0x1ae16f(0x303)],'collaMsg':_0x42d2db});}case F[_0x1ae16f(0x140)]:return JSON[_0x1ae16f(0x24e)]({'cmd':_0x2cdf39[_0x1ae16f(0x187)],'routeKey':_0x2cdf39[_0x1ae16f(0x303)],'joinReq':_0x2cdf39[_0x1ae16f(0x227)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x2cdf39[_0x1ae16f(0x187)],'routeKey':_0x2cdf39['routeKey'],'leaveReq':_0x2cdf39[_0x1ae16f(0x227)]});default:throw new Error(_0x1ae16f(0x18e));}}var Mn=Object['getOwnPropertyDescriptor'],kn=(_0x295ead,_0x53ae40,_0x3aeea2,_0x2275e9)=>{for(var _0x5b3a1b=_0x2275e9>0x1?void 0x0:_0x2275e9?Mn(_0x53ae40,_0x3aeea2):_0x53ae40,_0x37232c=_0x295ead['length']-0x1,_0x131d34;_0x37232c>=0x0;_0x37232c--)(_0x131d34=_0x295ead[_0x37232c])&&(_0x5b3a1b=_0x131d34(_0x5b3a1b)||_0x5b3a1b);return _0x5b3a1b;},we=(_0x451c9f,_0x54919f)=>(_0x133dd0,_0x203c5b)=>_0x54919f(_0x133dd0,_0x203c5b,_0x451c9f);const Ii=_0xb95ca3(_0x5ecaf8(0x15b));function $n(_0xd611f7,_0x547eae,_0x28654d){var _0xfceae0=_0x5ecaf8;return _0xd611f7+'/'+_0x547eae+_0xfceae0(0x381)+_0x28654d+'/new_changes';}let Gt=class extends _0x568a30{constructor(_0x225acd,_0x2d0865,_0x3831de,_0x368289,_0x2c7ac5){var _0x510ff4=_0x5ecaf8;super(),this[_0x510ff4(0x21e)]=_0x225acd,this[_0x510ff4(0x220)]=_0x2d0865,this[_0x510ff4(0x1fb)]=_0x3831de,this[_0x510ff4(0x29e)]=_0x368289,this[_0x510ff4(0x403)]=_0x2c7ac5;}['_doCreateSocket'](_0x807c8c){var _0x3263d4=_0x5ecaf8;const _0x237f52=this['_injector'][_0x3263d4(0x2d7)](_0xad92ac);if(!_0x237f52)throw new Error(_0x3263d4(0x226));const _0x27b873=_0x237f52[_0x3263d4(0x3bb)](_0x807c8c);if(!_0x27b873)throw new Error(_0x3263d4(0x21c));const _0x13d8c0=new _0x12e22b(),_0x1497c9=new _0x25757a();_0x13d8c0[_0x3263d4(0x179)](_0x27b873[_0x3263d4(0x1c2)]['subscribe'](_0xff9d93=>_0x1497c9[_0x3263d4(0x386)](_0xff9d93))),_0x13d8c0[_0x3263d4(0x179)](_0x1027a1(()=>_0x1497c9['complete']()));const _0x4bf8ac=new _0x25757a();_0x13d8c0[_0x3263d4(0x179)](_0x27b873[_0x3263d4(0x40f)][_0x3263d4(0x400)](_0x3d5fec=>_0x4bf8ac['next'](_0x3d5fec))),_0x13d8c0[_0x3263d4(0x179)](_0x1027a1(()=>_0x4bf8ac['complete']()));const _0x5e3ba2=new _0x25757a();_0x13d8c0[_0x3263d4(0x179)](_0x27b873[_0x3263d4(0x1e4)][_0x3263d4(0x400)](_0x6188a4=>{var _0x356d68=_0x3263d4;const _0x46b7f5=xn(_0x6188a4);_0x5e3ba2[_0x356d68(0x386)](_0x46b7f5);})),_0x13d8c0[_0x3263d4(0x179)](_0x1027a1(()=>_0x5e3ba2[_0x3263d4(0x3a2)]()));let _0x555346;const _0x125b6c=()=>{var _0x17f062=_0x3263d4;_0x4bf8ac[_0x17f062(0x386)](new Event('connection\x20error')),_0x1497c9[_0x17f062(0x386)](new Event(_0x17f062(0x408))),_0x555346[_0x17f062(0x239)]();};return _0x555346={'memberID':'','close$':_0x1497c9[_0x3263d4(0x13f)](),'error$':_0x4bf8ac[_0x3263d4(0x13f)](),'open$':_0x27b873[_0x3263d4(0x24b)],'message$':_0x5e3ba2[_0x3263d4(0x13f)](),'send':_0x1a64e2=>{var _0x3ca450=_0x3263d4;if(_0x1a64e2['cmd']===F['INGEST']){if(_0x1a64e2['data']['eventID']===_0x36469a[_0x3ca450(0x240)]){this[_0x3ca450(0x2ec)](_0x555346,_0x1a64e2['data'])[_0x3ca450(0x393)](_0x32d927=>{var _0x2c77b2=_0x3ca450;this[_0x2c77b2(0x29e)]['error'](_0x32d927),_0x125b6c();});return;}if(_0x1a64e2[_0x3ca450(0x227)]['eventID']===_0x36469a[_0x3ca450(0x2df)]){const _0x5d5e46=_0x1a64e2['data'];this[_0x3ca450(0x1aa)](_0x5d5e46)['then'](_0x2ac664=>{var _0x39db01=_0x3ca450;_0x5e3ba2['next']({'cmd':F[_0x39db01(0x2b9)],'code':ge['OK'],'routeKey':_0x5d5e46[_0x39db01(0x227)][_0x39db01(0x2cf)],'routeType':'','data':{'eventID':_0x36469a['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2ac664}}});})[_0x3ca450(0x393)](_0x952f86=>{var _0x4a2e17=_0x3ca450;this[_0x4a2e17(0x29e)][_0x4a2e17(0x156)](_0x952f86),_0x125b6c();});return;}}_0x27b873[_0x3ca450(0x260)](Ln(_0x1a64e2));},'close':()=>{var _0x4973dd=_0x3263d4;_0x27b873[_0x4973dd(0x239)](),_0x13d8c0['dispose']();}},_0x555346;}async['_submitChangeset'](_0xafb38,_0x3295b4){var _0x59e8f8=_0x5ecaf8,_0x1a7ef1,_0x1664ee;const {unitType:_0xf40dfc,unitID:_0x314405,changeset:_0x43fadc}=_0x3295b4[_0x59e8f8(0x227)],_0x297e8f={'unitID':_0x314405,'memberID':_0xafb38[_0x59e8f8(0x2c2)],'type':_0xf40dfc,'changeset':_0x329579(_0x43fadc)},_0xb0cf71=this[_0x59e8f8(0x1fb)]['getConfig'](Nn),_0x3cdbf5=this[_0x59e8f8(0x1fb)]['getConfig'](q),_0x406af0=$n((_0x1664ee=(_0x1a7ef1=_0x3cdbf5==null?void 0x0:_0x3cdbf5[_0x59e8f8(0x3ea)])!=null?_0x1a7ef1:_0xb0cf71)!=null?_0x1664ee:Dn,_0xf40dfc,_0x314405);try{await this[_0x59e8f8(0x220)]['post'](_0x406af0,{'body':_0x297e8f});}catch(_0x2d3caf){throw this[_0x59e8f8(0x29e)]['error']('[CollaborationSession]',_0x59e8f8(0x27a)),_0x2d3caf;}}async[_0x5ecaf8(0x1aa)](_0x8929f2){var _0x575b0b=_0x5ecaf8;const {unitID:_0x2c85e8,from:_0x5dd75e,to:_0x16874e,unitType:_0x501d98}=_0x8929f2[_0x575b0b(0x227)];return(await this[_0x575b0b(0x403)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2c85e8,'type':_0x501d98,'from':_0x5dd75e,'to':_0x16874e}))[_0x575b0b(0x1cc)];}};Gt=kn([we(0x0,_0x38fae2(_0x43f95e)),we(0x1,_0x38fae2(_0x2ff782)),we(0x2,_0x5d1324),we(0x3,_0x5d2f2b),we(0x4,_0x599121)],Gt);const Hn=_0x5ecaf8(0x35f);function Bn(_0x206b87){var _0x23010b=_0x5ecaf8;return JSON[_0x23010b(0x24e)](_0x206b87)[_0x23010b(0x3a3)];}class Ti{constructor(){var _0x3fa202=_0x5ecaf8;N(this,_0x3fa202(0x349),new _0x25757a()),N(this,_0x3fa202(0x29f),this['_commentUpdate$'][_0x3fa202(0x13f)]());}[_0x5ecaf8(0x22f)](_0x14301b){this['_commentUpdate$']['next'](_0x14301b);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x40b046,_0x214b2d,_0x1a39b9,_0x496bb7)=>{for(var _0x2100a8=_0x496bb7>0x1?void 0x0:_0x496bb7?jn(_0x214b2d,_0x1a39b9):_0x214b2d,_0x19a282=_0x40b046['length']-0x1,_0x5e5b71;_0x19a282>=0x0;_0x19a282--)(_0x5e5b71=_0x40b046[_0x19a282])&&(_0x2100a8=_0x5e5b71(_0x2100a8)||_0x2100a8);return _0x2100a8;},Wt=(_0x4a14d4,_0x4158f0)=>(_0x26ac2c,_0xca40d2)=>_0x4158f0(_0x26ac2c,_0xca40d2,_0x4a14d4);let xe=class extends _0x568a30{constructor(_0x13d09d,_0x4bcb6b){var _0x4acf9a=_0x5ecaf8;super(),N(this,'_roomMembers',new Map()),N(this,_0x4acf9a(0x14e),new _0x25757a()),(this[_0x4acf9a(0x304)]=_0x13d09d,this['_userManagerService']=_0x4bcb6b,this[_0x4acf9a(0x2f9)](_0x2e2230(this[_0x4acf9a(0x304)][_0x4acf9a(0x3f1)](_0x17b299[_0x4acf9a(0x1fd)])[_0x4acf9a(0x26a)](_0x58e504(_0x2add14=>_0x2add14[_0x4acf9a(0x1a0)]())),this[_0x4acf9a(0x304)][_0x4acf9a(0x3f1)](_0x17b299[_0x4acf9a(0x1f4)])[_0x4acf9a(0x26a)](_0x58e504(_0x5edc17=>_0x5edc17[_0x4acf9a(0x1a0)]())),this[_0x4acf9a(0x304)][_0x4acf9a(0x3f1)](_0x17b299[_0x4acf9a(0x275)])[_0x4acf9a(0x26a)](_0x58e504(_0x154cfe=>_0x154cfe[_0x4acf9a(0x1a0)]())))[_0x4acf9a(0x400)](_0xc3c69=>this[_0x4acf9a(0x13c)](_0xc3c69))));}[_0x5ecaf8(0x38e)](_0x45a7c3){var _0x2ce56c=_0x5ecaf8;return this[_0x2ce56c(0x276)]['has'](_0x45a7c3)?_0x2535a1(this['_roomMembers']['get'](_0x45a7c3)):this[_0x2ce56c(0x14e)][_0x2ce56c(0x26a)](_0x58e504(_0x328c86=>{var _0xba5b34=_0x2ce56c;if(_0x328c86===_0x45a7c3)return this[_0xba5b34(0x276)][_0xba5b34(0x2d7)](_0x328c86);}));}[_0x5ecaf8(0x41a)](_0x2f82d3){var _0x37bd1b=_0x5ecaf8;this[_0x37bd1b(0x1d0)][_0x37bd1b(0x41a)](_0x2f82d3);}[_0x5ecaf8(0x298)](){var _0x5df33e=_0x5ecaf8;return this[_0x5df33e(0x1d0)][_0x5df33e(0x298)]();}[_0x5ecaf8(0x281)](_0x2f8918,_0x53c36c){var _0x18e431=_0x5ecaf8;let _0x224887=this[_0x18e431(0x276)][_0x18e431(0x2d7)](_0x2f8918);_0x224887||(_0x224887=new Vn(),this[_0x18e431(0x276)][_0x18e431(0x1d7)](_0x2f8918,_0x224887),this[_0x18e431(0x14e)]['next'](_0x2f8918)),_0x224887[_0x18e431(0x281)](_0x53c36c);}[_0x5ecaf8(0x344)](_0x1295e0,_0x1eeda3){var _0x3c5c55=_0x5ecaf8;const _0x4b9be3=this['_roomMembers']['get'](_0x1295e0);_0x4b9be3&&_0x4b9be3[_0x3c5c55(0x344)](_0x1eeda3);}['getRoom'](_0x38888f){return this['_roomMembers']['get'](_0x38888f);}[_0x5ecaf8(0x19a)](_0xffda2f,_0x28bcca){var _0x37af17=_0x5ecaf8;const _0x474a72=this[_0x37af17(0x276)][_0x37af17(0x2d7)](_0xffda2f);if(_0x474a72)return _0x474a72[_0x37af17(0x19a)](_0x28bcca);}[_0x5ecaf8(0x13c)](_0xfc1a13){var _0x13f265=_0x5ecaf8;const _0x542263=this['_roomMembers']['get'](_0xfc1a13);_0x542263&&(_0x542263['dispose'](),this[_0x13f265(0x276)][_0x13f265(0x37d)](_0xfc1a13));}['dispose'](){var _0x11a486=_0x5ecaf8;this[_0x11a486(0x276)][_0x11a486(0x307)](_0x4af9b6=>_0x4af9b6[_0x11a486(0x194)]()),this[_0x11a486(0x276)][_0x11a486(0x41d)](),this[_0x11a486(0x14e)]['complete']();}};xe=Fn([Wt(0x0,_0x2643c0),Wt(0x1,_0x38fae2(_0x3507a8))],xe);class Vn extends _0x568a30{constructor(){var _0x48782a=_0x5ecaf8;super(...arguments),N(this,'_members',new Map()),N(this,_0x48782a(0x26e),new _0x6d7147(this[_0x48782a(0x209)])),N(this,_0x48782a(0x3fe),this[_0x48782a(0x26e)]['asObservable']());}['dispose'](){var _0x57e88e=_0x5ecaf8;this['_members'][_0x57e88e(0x41d)]();}['updateMember'](_0x5f55d8){var _0x32c84f=_0x5ecaf8;this[_0x32c84f(0x209)][_0x32c84f(0x1d7)](_0x5f55d8[_0x32c84f(0x2c2)],_0x5f55d8),this[_0x32c84f(0x358)]();}[_0x5ecaf8(0x344)](_0x2c40f0){var _0x2ad72e=_0x5ecaf8;this[_0x2ad72e(0x209)][_0x2ad72e(0x37d)](_0x2c40f0);}[_0x5ecaf8(0x19a)](_0x3e87f6){var _0x30c004=_0x5ecaf8;return this[_0x30c004(0x209)][_0x30c004(0x2d7)](_0x3e87f6);}['getAllMembers'](){var _0x5eba51=_0x5ecaf8;return Array[_0x5eba51(0x25c)](this[_0x5eba51(0x209)][_0x5eba51(0x405)]());}[_0x5ecaf8(0x358)](){var _0x582344=_0x5ecaf8;this[_0x582344(0x26e)][_0x582344(0x386)](this[_0x582344(0x209)]);}}var Gn=Object[_0x5ecaf8(0x39b)],Wn=(_0x11628a,_0x42b5d8,_0x19cfe3,_0x4333f0)=>{var _0x31842f=_0x5ecaf8;for(var _0x1e4dd4=_0x4333f0>0x1?void 0x0:_0x4333f0?Gn(_0x42b5d8,_0x19cfe3):_0x42b5d8,_0x480fc5=_0x11628a[_0x31842f(0x3a3)]-0x1,_0x1bc07d;_0x480fc5>=0x0;_0x480fc5--)(_0x1bc07d=_0x11628a[_0x480fc5])&&(_0x1e4dd4=_0x1bc07d(_0x1e4dd4)||_0x1e4dd4);return _0x1e4dd4;},me=(_0x32b0ec,_0x372a66)=>(_0x435b87,_0xf06299)=>_0x372a66(_0x435b87,_0xf06299,_0x32b0ec),Ee=(_0x240952=>(_0x240952[_0x240952['IDLE']=0x0]=_0x5ecaf8(0x2e2),_0x240952[_0x240952[_0x5ecaf8(0x2fd)]=0x1]=_0x5ecaf8(0x2fd),_0x240952[_0x240952['OFFLINE']=0x2]='OFFLINE',_0x240952[_0x240952['ONLINE']=0x3]=_0x5ecaf8(0x13d),_0x240952))(Ee||{});const Kt={[ge[_0x5ecaf8(0x270)]]:_0x5ecaf8(0x379),[ge[_0x5ecaf8(0x1bb)]]:_0x5ecaf8(0x377),[ge[_0x5ecaf8(0x2a0)]]:'session.room-not-exists',[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x5ecaf8(0x2f8),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5ecaf8(0x191)};let Et=class extends _0x3f016d{constructor(_0x2a7435,_0x38c87e,_0x47e646,_0xa8a9ec,_0x392e08,_0x508ad3,_0x1975cd,_0x2b1b75,_0xb50a6b){var _0x29fcbc=_0x5ecaf8;super(),N(this,_0x29fcbc(0x3a4),new _0x6d7147(0x0)),N(this,_0x29fcbc(0x3d9),this[_0x29fcbc(0x3a4)]['asObservable']()),N(this,'_event$',new _0x25757a()),N(this,_0x29fcbc(0x23d),this[_0x29fcbc(0x3e4)][_0x29fcbc(0x13f)]()),N(this,_0x29fcbc(0x19d)),N(this,_0x29fcbc(0x348)),N(this,_0x29fcbc(0x21d)),N(this,_0x29fcbc(0x24d),!0x1),N(this,_0x29fcbc(0x3f0),null),(this[_0x29fcbc(0x18c)]=_0x2a7435,this[_0x29fcbc(0x29e)]=_0x47e646,this[_0x29fcbc(0x1fb)]=_0xa8a9ec,this[_0x29fcbc(0x2ca)]=_0x392e08,this['_memberService']=_0x508ad3,this[_0x29fcbc(0x3af)]=_0x1975cd,this['_collaborationUIEventService']=_0x2b1b75,this[_0x29fcbc(0x2b0)]=_0xb50a6b,this[_0x29fcbc(0x24d)]=!!this[_0x29fcbc(0x2b0)],_0x38c87e['pipe'](_0x426eaf(this[_0x29fcbc(0x3f6)]))[_0x29fcbc(0x400)](_0x2bfe10=>{var _0x40b6d2=_0x29fcbc,_0x325b2d;typeof _0x2bfe10>'u'||(this[_0x40b6d2(0x19d)]=_0x2bfe10,_0x2bfe10?(this['_joinRoom'](_0x2bfe10),this[_0x40b6d2(0x348)]=_0x2bfe10[_0x40b6d2(0x1e4)][_0x40b6d2(0x400)](_0x3e0488=>{var _0x49e998=_0x40b6d2;_0x3e0488[_0x49e998(0x303)]===this[_0x49e998(0x18c)]&&this[_0x49e998(0x39e)](_0x3e0488);})):(this[_0x40b6d2(0x290)](),this[_0x40b6d2(0x3a4)][_0x40b6d2(0x386)](0x2),(_0x325b2d=this['_socketMessageSubscription'])==null||_0x325b2d['unsubscribe'](),this[_0x40b6d2(0x348)]=null));}));}get[_0x5ecaf8(0x3cc)](){var _0x4002e4=_0x5ecaf8;return this[_0x4002e4(0x3a4)][_0x4002e4(0x14a)]();}[_0x5ecaf8(0x2f2)](){var _0x1182d1=_0x5ecaf8,_0x3cec51,_0xb51c76;return(_0xb51c76=(_0x3cec51=this[_0x1182d1(0x19d)])==null?void 0x0:_0x3cec51['memberID'])!=null?_0xb51c76:null;}[_0x5ecaf8(0x194)](){var _0x368c7b=_0x5ecaf8;super[_0x368c7b(0x194)](),this[_0x368c7b(0x3f6)][_0x368c7b(0x386)](),this['dispose$']['complete']();}['close'](){var _0x4cb2b6=_0x5ecaf8,_0x2ad103,_0xf4df28;this[_0x4cb2b6(0x290)](),(_0x2ad103=this[_0x4cb2b6(0x19d)])==null||_0x2ad103['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x4cb2b6(0x18c)]}}),(_0xf4df28=this[_0x4cb2b6(0x19d)])==null||_0xf4df28['close'](),this['_event$'][_0x4cb2b6(0x3a2)](),this[_0x4cb2b6(0x3a4)]['complete'](),this[_0x4cb2b6(0x194)]();}['_onCombEvent'](_0x457b17){var _0x1be55e=_0x5ecaf8;_0x457b17[_0x1be55e(0x187)]===F[_0x1be55e(0x140)]?this[_0x1be55e(0x3f7)](_0x457b17):_0x457b17['cmd']===F[_0x1be55e(0x2b9)]&&this[_0x1be55e(0x305)](_0x457b17);}[_0x5ecaf8(0x159)](_0xecdf9b){var _0x596e1b=_0x5ecaf8;this[_0x596e1b(0x3a4)]['next'](0x1),_0xecdf9b[_0x596e1b(0x260)]({'cmd':F[_0x596e1b(0x140)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5ecaf8(0x3f7)](_0x392c68){var _0x6e9265=_0x5ecaf8,_0x32528c;if(_0x392c68[_0x6e9265(0x280)]in Kt){this[_0x6e9265(0x2ea)][_0x6e9265(0x1ee)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x392c68[_0x6e9265(0x280)]]}),this[_0x6e9265(0x3a4)][_0x6e9265(0x386)](0x2);return;}this[_0x6e9265(0x3a4)][_0x6e9265(0x386)](0x3);const _0x9b10f7=(_0x32528c=_0x392c68[_0x6e9265(0x227)][_0x6e9265(0x357)][this[_0x6e9265(0x18c)]])==null?void 0x0:_0x32528c[_0x6e9265(0x426)];_0x9b10f7&&_0x9b10f7[_0x6e9265(0x307)](_0x3a3193=>this['_memberService']['updateMember'](this[_0x6e9265(0x18c)],_0x3a3193));}[_0x5ecaf8(0x305)](_0x9a97b7){var _0x12949c=_0x5ecaf8;try{const _0x3b6c75=_0x9a97b7[_0x12949c(0x227)];switch(_0x3b6c75[_0x12949c(0x19c)]){case _0x36469a[_0x12949c(0x396)]:this[_0x12949c(0x3d7)](_0x3b6c75),this['_event$'][_0x12949c(0x386)](_0x3b6c75);break;case _0x36469a[_0x12949c(0x335)]:this[_0x12949c(0x230)](_0x3b6c75),this[_0x12949c(0x3e4)]['next'](_0x3b6c75);break;case _0x36469a['CHANGESET_ACK']:case _0x36469a[_0x12949c(0x2ce)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x12949c(0x291)](),this[_0x12949c(0x3e4)]['next'](_0x3b6c75);break;case _0x36469a[_0x12949c(0x1ce)]:this[_0x12949c(0x29e)][_0x12949c(0x156)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x3b6c75)),this[_0x12949c(0x3e4)][_0x12949c(0x386)](_0x3b6c75);break;case _0x36469a[_0x12949c(0x3a9)]:this[_0x12949c(0x3af)][_0x12949c(0x22f)](_0x3b6c75[_0x12949c(0x227)]),this[_0x12949c(0x3e4)][_0x12949c(0x386)](_0x3b6c75);break;default:this['_event$'][_0x12949c(0x386)](_0x3b6c75);}}catch(_0x5c5d12){this[_0x12949c(0x29e)][_0x12949c(0x156)](_0x5c5d12,_0x9a97b7);}}[_0x5ecaf8(0x3d7)](_0x40a55c){var _0x6e6c0=_0x5ecaf8;this[_0x6e6c0(0x3d4)][_0x6e6c0(0x281)](this[_0x6e6c0(0x18c)],_0x40a55c[_0x6e6c0(0x227)]);}[_0x5ecaf8(0x230)](_0x6cf723){var _0x1c110f=_0x5ecaf8;this['_memberService'][_0x1c110f(0x344)](this[_0x1c110f(0x18c)],_0x6cf723[_0x1c110f(0x227)][_0x1c110f(0x2c2)]);}async['send'](_0x43459d,_0x268a75){var _0x429fc5=_0x5ecaf8;if(this[_0x429fc5(0x3cc)]!==0x3||!this[_0x429fc5(0x19d)])throw new Error(_0x429fc5(0x320));try{_0x43459d[_0x429fc5(0x19c)]===_0x36469a[_0x429fc5(0x240)]&&(this[_0x429fc5(0x40b)](),this['_startTelemetryCollaborationNewChangeset'](_0x43459d)),this[_0x429fc5(0x19d)][_0x429fc5(0x260)]({'cmd':F[_0x429fc5(0x26c)],'routeKey':_0x268a75,'routeType':'','data':_0x43459d});}catch(_0x48c410){this[_0x429fc5(0x29e)]['error'](_0x48c410);}}[_0x5ecaf8(0x40b)](){var _0x1c524a=_0x5ecaf8,_0x453989;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x363e48=_0x3ae5;this[_0x363e48(0x21d)]=null,this[_0x363e48(0x2ea)][_0x363e48(0x1ee)]({'id':se[_0x363e48(0x160)]});},(_0x453989=this['_configService'][_0x1c524a(0x30a)](mi))!=null?_0x453989:gi);}[_0x5ecaf8(0x291)](){var _0x4d15b1=_0x5ecaf8;this[_0x4d15b1(0x21d)]&&(clearTimeout(this[_0x4d15b1(0x21d)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x469c7d){var _0x3ffc04=_0x5ecaf8;if(!this[_0x3ffc04(0x24d)])return;const {data:_0x126c3f}=_0x469c7d,{unitID:_0x5844f4,changeset:_0x5b05d6}=_0x126c3f,{mutations:_0x3a0ca9,type:_0xfe63e6}=_0x5b05d6;this['_telemetryInfo']={'unitId':_0x5844f4,'type':_0xfe63e6,'startTime':performance[_0x3ffc04(0x1f8)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x3a0ca9)};}[_0x5ecaf8(0x189)](){var _0x2752da=_0x5ecaf8;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x2752da(0x29e)][_0x2752da(0x156)](_0x2752da(0x142),_0x2752da(0x204));return;}this[_0x2752da(0x3f0)]['stopTime']=performance['now'](),this['_telemetryInfo'][_0x2752da(0x37b)]=this[_0x2752da(0x3f0)][_0x2752da(0x2e8)]-this[_0x2752da(0x3f0)][_0x2752da(0x2f3)],this['_telemetryService'][_0x2752da(0x2b5)](Hn,this[_0x2752da(0x3f0)]),this['_telemetryInfo']=null;}}[_0x5ecaf8(0x290)](){var _0x37f4b1=_0x5ecaf8;this[_0x37f4b1(0x3f0)]=null;}};Et=Wn([me(0x2,_0x5d2f2b),me(0x3,_0x5d1324),me(0x4,_0x38fae2(_0x5d1970)),me(0x5,_0x38fae2(xe)),me(0x6,_0x38fae2(Ti)),me(0x7,_0x38fae2(pe)),me(0x8,_0x26bd50(_0x131b4c))],Et);var Kn=Object[_0x5ecaf8(0x39b)],Yn=(_0x23b478,_0x29d66b,_0x46bb61,_0xc0103b)=>{var _0x31961e=_0x5ecaf8;for(var _0x210bc0=_0xc0103b>0x1?void 0x0:_0xc0103b?Kn(_0x29d66b,_0x46bb61):_0x29d66b,_0xce58e=_0x23b478[_0x31961e(0x3a3)]-0x1,_0x408fb3;_0xce58e>=0x0;_0xce58e--)(_0x408fb3=_0x23b478[_0xce58e])&&(_0x210bc0=_0x408fb3(_0x210bc0)||_0x210bc0);return _0x210bc0;},be=(_0x4bbc47,_0x49c531)=>(_0x54edbd,_0x5a6f3b)=>_0x49c531(_0x54edbd,_0x5a6f3b,_0x4bbc47);let Le=class extends _0x568a30{constructor(_0x530260,_0x529fb9,_0xaec7a4,_0x3cc44d,_0x2086df,_0x4cd866){var _0x1f7eb4=_0x5ecaf8;super(),N(this,'_socket$',new _0x6d7147(void 0x0)),N(this,_0x1f7eb4(0x1a8),this[_0x1f7eb4(0x1e3)][_0x1f7eb4(0x13f)]()),N(this,_0x1f7eb4(0x1a7),null),N(this,_0x1f7eb4(0x300),new Map()),N(this,_0x1f7eb4(0x2c9),new _0x6d7147(Ee[_0x1f7eb4(0x2e2)])),N(this,_0x1f7eb4(0x2d5),this[_0x1f7eb4(0x2c9)][_0x1f7eb4(0x13f)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x1f7eb4(0x3cf),0x0),N(this,_0x1f7eb4(0x278)),N(this,_0x1f7eb4(0x3f5)),(this['_injector']=_0x530260,this[_0x1f7eb4(0x29e)]=_0x529fb9,this[_0x1f7eb4(0x1fb)]=_0xaec7a4,this['_socketService']=_0x3cc44d,this[_0x1f7eb4(0x2ea)]=_0x2086df,this[_0x1f7eb4(0x1cf)]=_0x4cd866,this[_0x1f7eb4(0x3db)]());}get['_socket'](){var _0x4ffb32=_0x5ecaf8;return this[_0x4ffb32(0x1e3)]['getValue']();}[_0x5ecaf8(0x3db)](){var _0x4b0c94=_0x5ecaf8;this[_0x4b0c94(0x1cf)]&&this[_0x4b0c94(0x2f9)](this['_networkConditionService']['online$'][_0x4b0c94(0x400)](_0x13b2af=>{var _0x84f82b=_0x4b0c94;_0x13b2af&&!this[_0x84f82b(0x19d)]&&this['reconnect'](),_0x13b2af||this['_onOffline']();}));}['dispose'](){var _0x3b70a4=_0x5ecaf8;super[_0x3b70a4(0x194)](),this[_0x3b70a4(0x368)](),this[_0x3b70a4(0x423)](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x22de2c=>_0x22de2c[_0x3b70a4(0x194)]()),this['_sessions']['clear'](),this[_0x3b70a4(0x2c9)]['complete']();}async[_0x5ecaf8(0x203)](_0x4898d7){var _0x497c95=_0x5ecaf8;if(this['_sessions'][_0x497c95(0x1e6)](_0x4898d7))return this['_sessions'][_0x497c95(0x2d7)](_0x4898d7);this[_0x497c95(0x21a)]();const _0x390e9a=this[_0x497c95(0x21e)]['createInstance'](Et,_0x4898d7,this[_0x497c95(0x1e3)][_0x497c95(0x13f)]());return this[_0x497c95(0x300)][_0x497c95(0x1d7)](_0x4898d7,_0x390e9a),_0x390e9a;}[_0x5ecaf8(0x354)](_0x2194df){var _0x52d026=_0x5ecaf8,_0x310829;const _0x2352e7=this[_0x52d026(0x300)][_0x52d026(0x2d7)](_0x2194df);_0x2352e7&&(this[_0x52d026(0x300)][_0x52d026(0x37d)](_0x2194df),_0x2352e7[_0x52d026(0x239)]()),this[_0x52d026(0x300)][_0x52d026(0x200)]||(_0x310829=this[_0x52d026(0x19d)])==null||_0x310829[_0x52d026(0x239)]();}[_0x5ecaf8(0x1c9)](){var _0xf43b9b=_0x5ecaf8;this['_retryCount']=0x0,this[_0xf43b9b(0x368)](),this['_tryReconnect']();}[_0x5ecaf8(0x368)](){var _0x27e1ca=_0x5ecaf8;this[_0x27e1ca(0x410)]!=null&&(clearTimeout(this[_0x27e1ca(0x410)]),this['_retryConnectingTimer']=null);}async[_0x5ecaf8(0x3ad)](){var _0x438487=_0x5ecaf8,_0x5e97e9,_0x33f911;const _0x5f4a73=this[_0x438487(0x1fb)][_0x438487(0x30a)](In),_0x5703df=this[_0x438487(0x1fb)][_0x438487(0x30a)](q),_0x5d25aa=(_0x33f911=(_0x5e97e9=_0x5703df==null?void 0x0:_0x5703df[_0x438487(0x35a)])!=null?_0x5e97e9:_0x5f4a73)!=null?_0x33f911:Tn,_0x254b1e=await this[_0x438487(0x295)][_0x438487(0x3bb)](_0x5d25aa);return this[_0x438487(0x1a7)]=_0x254b1e,_0x254b1e;}async[_0x5ecaf8(0x21a)](){var _0x82f984=_0x5ecaf8,_0x5b0229,_0x45c717;try{const _0x3d200f=(_0x45c717=(_0x5b0229=this['_socket'])!=null?_0x5b0229:this[_0x82f984(0x1a7)])!=null?_0x45c717:await this[_0x82f984(0x3ad)]();if(_0x3d200f){const _0x38c20e=_0x3d200f[_0x82f984(0x260)];_0x3d200f[_0x82f984(0x260)]=_0x1978c6=>(this[_0x82f984(0x398)](),_0x38c20e[_0x82f984(0x2ba)](_0x3d200f,[_0x1978c6])),_0x3d200f[_0x82f984(0x1e4)][_0x82f984(0x400)](_0x434f23=>this[_0x82f984(0x237)](_0x3d200f,_0x434f23)),_0x3d200f[_0x82f984(0x40f)]['pipe'](_0x2cebee(0x1))['subscribe'](_0xed423c=>this[_0x82f984(0x29e)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0xed423c)),_0x3d200f[_0x82f984(0x24b)]['pipe'](_0x2cebee(0x1))[_0x82f984(0x400)](()=>{var _0x28404a=_0x82f984;this[_0x28404a(0x345)](_0x3d200f);}),_0x3d200f[_0x82f984(0x1c2)][_0x82f984(0x26a)](_0x2cebee(0x1))[_0x82f984(0x400)](_0x471272=>{var _0x2b9f63=_0x82f984;this[_0x2b9f63(0x29e)][_0x2b9f63(0x242)](_0x2b9f63(0x22a),_0x2b9f63(0x173),_0x471272),this[_0x2b9f63(0x425)]();});}}catch(_0x2d611e){this[_0x82f984(0x29e)]['error'](_0x2d611e),this['_onConnectionFailed']();}}[_0x5ecaf8(0x345)](_0x151e7c){var _0x248fe8=_0x5ecaf8;this[_0x248fe8(0x29e)][_0x248fe8(0x242)](_0x248fe8(0x22a),_0x248fe8(0x1bc)),_0x151e7c[_0x248fe8(0x260)]({'cmd':F[_0x248fe8(0x274)]}),this[_0x248fe8(0x398)]();}[_0x5ecaf8(0x1e8)](){var _0xb9d4cf=_0x5ecaf8;this[_0xb9d4cf(0x401)]=!0x1,this[_0xb9d4cf(0x1a7)]=null,this[_0xb9d4cf(0x2c9)][_0xb9d4cf(0x386)](Ee[_0xb9d4cf(0x201)]),this[_0xb9d4cf(0x1e3)]['next'](null),this[_0xb9d4cf(0x423)](),this[_0xb9d4cf(0x34f)]();}[_0x5ecaf8(0x425)](){var _0x5fdd62=_0x5ecaf8,_0x1e901a;this[_0x5fdd62(0x1e8)](),this[_0x5fdd62(0x3cf)]<((_0x1e901a=this[_0x5fdd62(0x1fb)][_0x5fdd62(0x30a)](yn))!=null?_0x1e901a:On)?(this[_0x5fdd62(0x2ea)]['emitEvent']({'id':se[_0x5fdd62(0x2dc)]}),this['_tryReconnect']()):this[_0x5fdd62(0x2ea)]['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x5ecaf8(0x268)](){var _0x438ba3=_0x5ecaf8,_0x182897;const _0x386b26=this[_0x438ba3(0x3cf)],_0x46292f=this[_0x438ba3(0x1fb)][_0x438ba3(0x30a)](q),_0x3b62ab=_0x386b26===0x0?0x0:((_0x182897=_0x46292f==null?void 0x0:_0x46292f['retryConnectingInterval'])!=null?_0x182897:bn)*0x2**_0x386b26;this[_0x438ba3(0x410)]=setTimeout(()=>{var _0x200412=_0x438ba3;clearTimeout(this[_0x200412(0x410)]),this[_0x200412(0x410)]=null,this[_0x200412(0x21a)]();},_0x3b62ab),this[_0x438ba3(0x3cf)]+=0x1;}[_0x5ecaf8(0x237)](_0x4150ad,_0x1db51a){var _0x28a010=_0x5ecaf8;const {cmd:_0x33e85b}=_0x1db51a;_0x33e85b===F[_0x28a010(0x274)]&&!this['_socketReady']&&(_0x4150ad['memberID']=_0x1db51a[_0x28a010(0x227)][_0x28a010(0x2c2)],this[_0x28a010(0x1e3)][_0x28a010(0x386)](_0x4150ad),this[_0x28a010(0x2c9)]['next'](Ee[_0x28a010(0x13d)]),this[_0x28a010(0x401)]=!0x0,this['_candidateSocket']=null),_0x33e85b===F[_0x28a010(0x26f)]&&this[_0x28a010(0x423)](),this[_0x28a010(0x398)]();}[_0x5ecaf8(0x398)](){var _0x2332ec=_0x5ecaf8,_0x5cc5ce;this[_0x2332ec(0x34f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x5cc5ce=this[_0x2332ec(0x1fb)][_0x2332ec(0x30a)](Cn))!=null?_0x5cc5ce:Rn);}[_0x5ecaf8(0x380)](){var _0x2c66e7=_0x5ecaf8;this['_socket'][_0x2c66e7(0x260)]({'cmd':F[_0x2c66e7(0x26f)]}),this['_waitForHeartbeatResponse']();}[_0x5ecaf8(0x17a)](){var _0x2657ef=_0x5ecaf8,_0x2e68c9;this[_0x2657ef(0x3f5)]=setTimeout(()=>this[_0x2657ef(0x425)](),(_0x2e68c9=this[_0x2657ef(0x1fb)][_0x2657ef(0x30a)](mi))!=null?_0x2e68c9:gi);}[_0x5ecaf8(0x34f)](){var _0x26d852=_0x5ecaf8;this[_0x26d852(0x278)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x26d852(0x278)]=null);}[_0x5ecaf8(0x423)](){var _0x273920=_0x5ecaf8;this[_0x273920(0x3f5)]!=null&&(clearTimeout(this[_0x273920(0x3f5)]),this[_0x273920(0x3f5)]=null);}};Le=Yn([be(0x0,_0x38fae2(_0x43f95e)),be(0x1,_0x5d2f2b),be(0x2,_0x5d1324),be(0x3,Ii),be(0x4,_0x38fae2(pe)),be(0x5,_0x26bd50(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x5ecaf8(0x1e9)]((t+0x100)[_0x5ecaf8(0x338)](0x10)[_0x5ecaf8(0x1c4)](0x1));function qn(_0x13cfd9,_0xfc26f7=0x0){return(V[_0x13cfd9[_0xfc26f7+0x0]]+V[_0x13cfd9[_0xfc26f7+0x1]]+V[_0x13cfd9[_0xfc26f7+0x2]]+V[_0x13cfd9[_0xfc26f7+0x3]]+'-'+V[_0x13cfd9[_0xfc26f7+0x4]]+V[_0x13cfd9[_0xfc26f7+0x5]]+'-'+V[_0x13cfd9[_0xfc26f7+0x6]]+V[_0x13cfd9[_0xfc26f7+0x7]]+'-'+V[_0x13cfd9[_0xfc26f7+0x8]]+V[_0x13cfd9[_0xfc26f7+0x9]]+'-'+V[_0x13cfd9[_0xfc26f7+0xa]]+V[_0x13cfd9[_0xfc26f7+0xb]]+V[_0x13cfd9[_0xfc26f7+0xc]]+V[_0x13cfd9[_0xfc26f7+0xd]]+V[_0x13cfd9[_0xfc26f7+0xe]]+V[_0x13cfd9[_0xfc26f7+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x4d1315=_0x5ecaf8;if(!ut){if(typeof crypto>'u'||!crypto[_0x4d1315(0x1ac)])throw new Error(_0x4d1315(0x2b8));ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x5ecaf8(0x309)]&&crypto[_0x5ecaf8(0x309)][_0x5ecaf8(0x271)](crypto),Yt={'randomUUID':Xn};function Zn(_0x4ea87d,_0x164373,_0x47d130){var _0x4ffb8a=_0x5ecaf8,_0x9b92bc,_0x3a6a1c,_0xe985b7;if(Yt[_0x4ffb8a(0x309)]&&!_0x4ea87d)return Yt[_0x4ffb8a(0x309)]();_0x4ea87d=_0x4ea87d||{};const _0x53aa90=(_0xe985b7=(_0x3a6a1c=_0x4ea87d['random'])!=null?_0x3a6a1c:(_0x9b92bc=_0x4ea87d['rng'])==null?void 0x0:_0x9b92bc[_0x4ffb8a(0x384)](_0x4ea87d))!=null?_0xe985b7:Jn();if(_0x53aa90['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x53aa90[0x6]=_0x53aa90[0x6]&0xf|0x40,_0x53aa90[0x8]=_0x53aa90[0x8]&0x3f|0x80,qn(_0x53aa90);}const J=_0xb95ca3(_0x5ecaf8(0x149));function Bs(_0x5c7b42){var _0x34c62f=_0x5ecaf8;return _0x34c62f(0x3be)+_0x5c7b42;}var Qn=Object[_0x5ecaf8(0x39b)],er=(_0x4e146b,_0xcfc5b5,_0x2b2aad,_0x2e7cb7)=>{var _0x2785c6=_0x5ecaf8;for(var _0x1f3acd=_0x2e7cb7>0x1?void 0x0:_0x2e7cb7?Qn(_0xcfc5b5,_0x2b2aad):_0xcfc5b5,_0xdb6751=_0x4e146b[_0x2785c6(0x3a3)]-0x1,_0x3825e6;_0xdb6751>=0x0;_0xdb6751--)(_0x3825e6=_0x4e146b[_0xdb6751])&&(_0x1f3acd=_0x3825e6(_0x1f3acd)||_0x1f3acd);return _0x1f3acd;},dt=(_0x4c0149,_0x27bd45)=>(_0x597fdd,_0x2f87d8)=>_0x27bd45(_0x597fdd,_0x2f87d8,_0x4c0149);function tr(_0x389bab){var _0x1d1ad=_0x5ecaf8;const {unitID:_0x4eb1dc,mutations:_0x430855}=_0x389bab;return{'unitId':_0x4eb1dc,'subUnitId':_0x430855[0x0][_0x1d1ad(0x2a5)][_0x1d1ad(0x40c)]};}let it=class{constructor(_0x55b961,_0x57edf7,_0x414b19){var _0x24ca1c=_0x5ecaf8;this[_0x24ca1c(0x21e)]=_0x55b961,this['_transformService']=_0x57edf7,this['_instanceService']=_0x414b19;}[_0x5ecaf8(0x353)](_0x10af07){var _0x3054a3=_0x5ecaf8,_0x221990,_0x197812,_0x2fab9e,_0x4ea52;const _0x2baec2=this[_0x3054a3(0x21e)][_0x3054a3(0x2d7)](_0x455d3c),{unitId:_0x2f128c,subUnitId:_0x4a6f31}=tr(_0x10af07),_0x3a6f1a=_0x2baec2==null?void 0x0:_0x2baec2[_0x3054a3(0x412)](_0x2f128c)[_0x3054a3(0x3e0)](),_0x7316dd=(_0x197812=(_0x221990=this[_0x3054a3(0x38f)][_0x3054a3(0x16f)](_0x2f128c))==null?void 0x0:_0x221990['getActiveSheet']())==null?void 0x0:_0x197812[_0x3054a3(0x25d)]();if(_0x3a6f1a[_0x3054a3(0x3a3)]===0x0||!_0x2f128c||!_0x4a6f31)return;const _0xf716cd=[{'id':_0x503556['id'],'params':{'unitId':_0x2f128c,'subUnitId':_0x7316dd,'selections':_0x406736[_0x3054a3(0x286)](_0x3a6f1a)}}],_0x20a854=this['_transformService'][_0x3054a3(0x151)](_0x10af07,_0xf716cd);if(!_0x7e355(_0x20a854))throw _0x20a854[_0x3054a3(0x156)];const _0x265875=(_0x4ea52=(_0x2fab9e=_0x20a854[_0x3054a3(0x322)][0x0])==null?void 0x0:_0x2fab9e[_0x3054a3(0x2a5)])==null?void 0x0:_0x4ea52[_0x3054a3(0x376)];if(Array[_0x3054a3(0x2e7)](_0x265875)&&_0x265875['length']){if(_0x265875[_0x3054a3(0x3a3)]===_0xf716cd[0x0]['params'][_0x3054a3(0x376)][_0x3054a3(0x3a3)]&&_0x265875[_0x3054a3(0x14c)]((_0x3e10e6,_0x278f33)=>_0xa4832a[_0x3054a3(0x3cd)](_0x3e10e6[_0x3054a3(0x17f)],_0xf716cd[0x0]['params'][_0x3054a3(0x376)][_0x278f33][_0x3054a3(0x17f)])))return;this[_0x3054a3(0x21e)][_0x3054a3(0x2d7)](_0x26a602)[_0x3054a3(0x31b)](_0x503556['id'],{'unitId':_0x2f128c,'subUnitId':_0x7316dd,'selections':_0x265875});}}};it=er([dt(0x0,_0x38fae2(_0x43f95e)),dt(0x1,_0x54d884),dt(0x2,_0x2643c0)],it);const ht=_0xb95ca3(_0x5ecaf8(0x174));var Ci=(_0x56b835=>(_0x56b835[_0x56b835['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x5ecaf8(0x340),_0x56b835[_0x56b835[_0x5ecaf8(0x3e8)]=0x1]=_0x5ecaf8(0x3e8),_0x56b835))(Ci||{});const ir=new Set([_0x4005d5['id']]);function qt(_0xbc7321,_0x44d537,_0x3e3660,_0x49c67c,_0x8da6f7){var _0x488e42=_0x5ecaf8,_0x38b484,_0x180b0c,_0x55f704,_0x362b36;const _0x33294f=[];for(const _0x49e6ae of _0xbc7321)if(ir[_0x488e42(0x1e6)](_0x49e6ae['id'])){if(_0x33294f[_0x488e42(0x3a3)]>0x0)break;_0x33294f[_0x488e42(0x1e9)](_0x49e6ae);break;}else _0x33294f[_0x488e42(0x1e9)](_0x49e6ae);const _0x114724=(_0x180b0c=(_0x38b484=_0x8da6f7[_0x488e42(0x298)]())==null?void 0x0:_0x38b484[_0x488e42(0x1a5)])!=null?_0x180b0c:_0x488e42(0x323),_0x1599fd=(_0x362b36=(_0x55f704=_0x8da6f7[_0x488e42(0x298)]())==null?void 0x0:_0x55f704[_0x488e42(0x2c2)])!=null?_0x362b36:'unknown';return{'changeset':{'unitID':_0x44d537,'type':_0x173e89(_0x3e3660['getUnitType'](_0x44d537)),'baseRev':_0x49c67c[_0x488e42(0x389)](_0x44d537),'revision':0x0,'userID':_0x114724,'memberID':_0x1599fd,'mutations':_0x33294f},'pendingMutations':_0xbc7321[_0x488e42(0x1c4)](_0x33294f[_0x488e42(0x3a3)])};}function nr(_0x5432da,_0x14d57f,_0x21d910,_0xf39103,_0xccde52){var _0x3e942c=_0x5ecaf8,_0x4276dc,_0x1a96c7,_0x4eaa87,_0x152441;const _0x468545=[_0x5432da[_0x3e942c(0x13e)]((_0x4f6107,_0x19d263)=>{var _0x14ed6d=_0x3e942c,_0x9c5f69;const {id:_0x43d970}=_0x4f6107,{id:_0xc8e6f3,type:_0x48fa3c}=_0x19d263,_0x2f8a6d=(_0x9c5f69=_0x4f6107['params'])!=null?_0x9c5f69:{'actions':null},_0x48165a=_0x19d263[_0x14ed6d(0x2a5)];if(_0x43d970&&_0x43d970!==_0xc8e6f3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x43d970+_0x14ed6d(0x1b8)+_0xc8e6f3+'.');return{..._0x4f6107,'id':_0xc8e6f3,'type':_0x48fa3c,'params':{'unitId':_0x48165a[_0x14ed6d(0x3aa)],'textRanges':_0x48165a[_0x14ed6d(0x40e)],'actions':_0x3e6b3c[_0x14ed6d(0x1f1)](_0x2f8a6d[_0x14ed6d(0x40a)],_0x48165a[_0x14ed6d(0x40a)])}};},{})],_0x5d5287=(_0x1a96c7=(_0x4276dc=_0xccde52[_0x3e942c(0x298)]())==null?void 0x0:_0x4276dc[_0x3e942c(0x1a5)])!=null?_0x1a96c7:_0x3e942c(0x323),_0x4afc92=(_0x152441=(_0x4eaa87=_0xccde52[_0x3e942c(0x298)]())==null?void 0x0:_0x4eaa87[_0x3e942c(0x2c2)])!=null?_0x152441:_0x3e942c(0x323);return{'changeset':{'unitID':_0x14d57f,'type':_0x173e89(_0x21d910[_0x3e942c(0x29c)](_0x14d57f)),'baseRev':_0xf39103['getCurrentRevOfUnit'](_0x14d57f),'revision':0x0,'userID':_0x5d5287,'memberID':_0x4afc92,'mutations':_0x468545},'pendingMutations':[]};}function Ri(_0x293fc4,_0x5dc1fe){var _0x3e7efa=_0x5ecaf8;const _0x59d896=new _0x22598e(0x1);return setTimeout(()=>_0x59d896[_0x3e7efa(0x386)](_0x5dc1fe),_0x293fc4),_0x59d896[_0x3e7efa(0x13f)]()['pipe'](_0xa3903a(0x1));}const rr={'id':_0x35ffe8['id'],'type':_0x45511f[_0x5ecaf8(0x1be)],'params':{}};var sr=Object[_0x5ecaf8(0x39b)],Te=(_0x485da5,_0x16fd1d,_0xe9e8d3,_0x293a70)=>{for(var _0x5539cc=_0x293a70>0x1?void 0x0:_0x293a70?sr(_0x16fd1d,_0xe9e8d3):_0x16fd1d,_0x28f449=_0x485da5['length']-0x1,_0x340f13;_0x28f449>=0x0;_0x28f449--)(_0x340f13=_0x485da5[_0x28f449])&&(_0x5539cc=_0x340f13(_0x5539cc)||_0x5539cc);return _0x5539cc;},P=(_0x15aab4,_0x31d324)=>(_0x1b2619,_0x4c1b5a)=>_0x31d324(_0x1b2619,_0x4c1b5a,_0x15aab4),bi=(_0x1fb450=>(_0x1fb450[_0x5ecaf8(0x178)]=_0x5ecaf8(0x383),_0x1fb450['SYNCED']=_0x5ecaf8(0x35e),_0x1fb450[_0x5ecaf8(0x3eb)]=_0x5ecaf8(0x198),_0x1fb450[_0x5ecaf8(0x216)]=_0x5ecaf8(0x41e),_0x1fb450['AWAITING_WITH_PENDING']=_0x5ecaf8(0x2be),_0x1fb450['FETCH_MISS']=_0x5ecaf8(0x1f7),_0x1fb450[_0x5ecaf8(0x39c)]=_0x5ecaf8(0x24c),_0x1fb450[_0x5ecaf8(0x201)]=_0x5ecaf8(0x20f),_0x1fb450))(bi||{});const yi=0xea60;class Ce{constructor(_0x1cb2c0,_0x1211df,_0x1f92dd,_0x8391c6,_0xe025cd,_0x96e58a,_0x1099b6,_0x4b5f16,_0x25fc95){var _0x3aa99d=_0x5ecaf8;N(this,_0x3aa99d(0x392),null),N(this,_0x3aa99d(0x1bf),[]),(this[_0x3aa99d(0x2cf)]=_0x1cb2c0,this[_0x3aa99d(0x30f)]=_0x1211df,this[_0x3aa99d(0x373)]=_0xe025cd,this[_0x3aa99d(0x3c7)]=_0x96e58a,this[_0x3aa99d(0x24f)]=_0x1099b6,this[_0x3aa99d(0x1c1)]=_0x4b5f16,this[_0x3aa99d(0x17c)]=_0x25fc95,this[_0x3aa99d(0x392)]=_0x1f92dd,this['_pendingMutations']=_0x8391c6);}['_checkMissing'](_0x6e59a8){var _0x4e2ec4=_0x5ecaf8;const _0x584bb4=this['_revisionService'][_0x4e2ec4(0x389)](this[_0x4e2ec4(0x2cf)]);return _0x6e59a8[_0x4e2ec4(0x312)]>_0x584bb4+0x1?(this[_0x4e2ec4(0x373)][_0x4e2ec4(0x342)]({'from':_0x584bb4,'to':_0x6e59a8[_0x4e2ec4(0x312)]-0x1}),!0x0):!0x1;}[_0x5ecaf8(0x3ac)](_0x4729b4){var _0x54edc7=_0x5ecaf8;this[_0x54edc7(0x24f)][_0x54edc7(0x3e3)](this[_0x54edc7(0x2cf)],_0x4729b4);}[_0x5ecaf8(0x33e)](_0x9f310d){var _0x1b745f=_0x5ecaf8,_0x48feec,_0x5ed6d9;(_0x5ed6d9=(_0x48feec=this['_handler'])['onTransformSelections'])==null||_0x5ed6d9[_0x1b745f(0x384)](_0x48feec,_0x9f310d);}['_transformIMECache'](_0x26f512){var _0x24ab25=_0x5ecaf8,_0x301852,_0x48012b;return(_0x48012b=(_0x301852=this[_0x24ab25(0x373)])['onTransformIME'])==null?void 0x0:_0x48012b[_0x24ab25(0x384)](_0x301852,_0x26f512);}[_0x5ecaf8(0x3ba)](_0x142ee8){var _0x26350a=_0x5ecaf8,_0x41faf2,_0x319c6f;return(_0x319c6f=(_0x41faf2=this['_handler'])['onTransformState'])==null?void 0x0:_0x319c6f[_0x26350a(0x384)](_0x41faf2,_0x142ee8);}['_transformRemoteChangesetByIMECache'](_0x34f61c){var _0x59d0bc=_0x5ecaf8,_0x558237,_0x33ab92,_0x255f79;return(_0x255f79=(_0x33ab92=(_0x558237=this[_0x59d0bc(0x373)])[_0x59d0bc(0x22c)])==null?void 0x0:_0x33ab92[_0x59d0bc(0x384)](_0x558237,_0x34f61c))!=null?_0x255f79:_0x34f61c;}['_transformRemoteChangesetByStateCache'](_0xcced6f){var _0x42ee7=_0x5ecaf8,_0x4023d7,_0x289c04,_0x2b9834;return(_0x2b9834=(_0x289c04=(_0x4023d7=this[_0x42ee7(0x373)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x289c04[_0x42ee7(0x384)](_0x4023d7,_0xcced6f))!=null?_0x2b9834:_0xcced6f;}['_syncEditingCollabCursor'](_0x422189){var _0x15de9d=_0x5ecaf8,_0x309c9d,_0x467979;if(this[_0x15de9d(0x30f)]===Q[_0x15de9d(0x1f4)]){const {unitID:_0x5b160c,mutations:_0x458e78,memberID:_0x200052}=_0x422189,_0x2e79e7=_0x458e78[0x0][_0x15de9d(0x2a5)]['textRanges'];Array[_0x15de9d(0x2e7)](_0x2e79e7)&&_0x2e79e7[_0x15de9d(0x3a3)]>0x0&&((_0x467979=(_0x309c9d=this[_0x15de9d(0x373)])['onSyncEditingCollabCursor'])==null||_0x467979[_0x15de9d(0x384)](_0x309c9d,{'unitID':_0x5b160c,'memberID':_0x200052,'textRanges':_0x2e79e7}));}}[_0x5ecaf8(0x158)](){var _0x493940=_0x5ecaf8,_0x34842b;(_0x34842b=this[_0x493940(0x17c)])==null||_0x34842b[_0x493940(0x148)](this[_0x493940(0x2cf)],this[_0x493940(0x30f)],this[_0x493940(0x392)],this[_0x493940(0x1bf)]);}[_0x5ecaf8(0x2ee)](){var _0x252b22=_0x5ecaf8;return this[_0x252b22(0x1c1)][_0x252b22(0x389)](this[_0x252b22(0x2cf)]);}[_0x5ecaf8(0x1e0)](){var _0x20620d=_0x5ecaf8;this['_revisionService'][_0x20620d(0x325)](this[_0x20620d(0x2cf)]);}[_0x5ecaf8(0x366)](_0x465fa3){var _0x18ee8f=_0x5ecaf8,_0x5ac0ec;let _0x444f42=this['_transformRemoteChangesetByIMECache'](_0x465fa3);_0x444f42=this[_0x18ee8f(0x1da)](_0x444f42);const _0x18c845=_0x4d5671(_0x444f42[_0x18ee8f(0x2ff)],this[_0x18ee8f(0x3c7)],{'fromCollab':!0x0});if(!_0x18c845[_0x18ee8f(0x26b)])throw _0x18c845['error']instanceof Error?_0x18c845['error']:new Error((_0x5ac0ec=_0x18c845[_0x18ee8f(0x156)])!=null?_0x5ac0ec:_0x18ee8f(0x292));this[_0x18ee8f(0x31a)](_0x444f42),this['_transformStateCache'](_0x444f42),this[_0x18ee8f(0x3ac)](_0x465fa3),this[_0x18ee8f(0x33e)](_0x444f42),this[_0x18ee8f(0x2b7)](_0x444f42),this[_0x18ee8f(0x1e0)]();}}let Ne=class extends Ce{constructor(_0x48e876,_0x580c4c,_0x4b1017,_0x5719c2,_0x25bf56,_0x2aff57,_0xe35bff,_0x21617a,_0x165351,_0x513ace){var _0x57095e=_0x5ecaf8;super(_0x48e876,_0x580c4c,null,[],_0x4b1017,_0xe35bff,_0x2aff57,_0x5719c2,_0x513ace),N(this,'status','synced'),(this[_0x57095e(0x21e)]=_0x25bf56,this['_logService']=_0x21617a,this['_transformService']=_0x165351,this[_0x57095e(0x1e2)]=_0x513ace);}['appendMutation'](_0x59d02b){var _0x49cdd8=_0x5ecaf8;const _0x5df190=this[_0x49cdd8(0x21e)]['createInstance'](ae,this['unitID'],this[_0x49cdd8(0x30f)],[_0x59d02b],this[_0x49cdd8(0x373)]);return _0x5df190[_0x49cdd8(0x365)](),_0x5df190[_0x49cdd8(0x158)](),_0x5df190;}['onRemoteChangeset'](_0x4aef63){var _0x3b8d3=_0x5ecaf8;if(this['_checkMissing'](_0x4aef63))return this[_0x3b8d3(0x21e)]['createInstance'](ee,this[_0x3b8d3(0x2cf)],this[_0x3b8d3(0x30f)],null,[],null,[_0x4aef63],this[_0x3b8d3(0x373)]);try{const _0x511e23=this['_transformService']['transformMutationsWithChangeset'](_0x4aef63,[rr]);if(_0x7e355(_0x511e23)){const {c1Prime:_0x582f7b}=_0x511e23;return this[_0x3b8d3(0x366)](_0x582f7b),this;}throw _0x511e23['error'];}catch(_0x40b8a0){return this[_0x3b8d3(0x29e)][_0x3b8d3(0x156)](_0x40b8a0),this[_0x3b8d3(0x2cc)](!0x1);}}['_onConflict'](_0x393c44){var _0x589d4c=_0x5ecaf8;return this[_0x589d4c(0x21e)][_0x589d4c(0x2ad)](ue,this[_0x589d4c(0x2cf)],this[_0x589d4c(0x30f)],null,[],this[_0x589d4c(0x373)],_0x393c44);}['onRemoteAck'](){var _0x48db57=_0x5ecaf8;throw new Error(_0x48db57(0x29d));}[_0x5ecaf8(0x1cd)](){var _0x5395e3=_0x5ecaf8;throw new Error(_0x5395e3(0x193));}[_0x5ecaf8(0x1ed)](){return this;}[_0x5ecaf8(0x27f)](){var _0x56cc5f=_0x5ecaf8;return this[_0x56cc5f(0x21e)][_0x56cc5f(0x2ad)](de,this[_0x56cc5f(0x2cf)],this[_0x56cc5f(0x30f)],null,[],this[_0x56cc5f(0x373)]);}[_0x5ecaf8(0x282)](){return this;}[_0x5ecaf8(0x27d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5ecaf8(0x1b2)](){var _0x1e45f1=_0x5ecaf8;const _0x4a0715=this['_revisionService'][_0x1e45f1(0x389)](this[_0x1e45f1(0x2cf)]);return this[_0x1e45f1(0x373)]['onMissingChangesets']({'from':_0x4a0715,'to':0x0}),this[_0x1e45f1(0x21e)]['createInstance'](ee,this[_0x1e45f1(0x2cf)],this[_0x1e45f1(0x30f)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x38fae2(_0x18ac3c)),P(0x4,_0x38fae2(_0x43f95e)),P(0x5,_0x29fd27),P(0x6,_0x26a602),P(0x7,_0x5d2f2b),P(0x8,_0x54d884),P(0x9,_0x26bd50(J))],Ne);let ae=class extends Ce{constructor(_0xb342d4,_0x5831c1,_0x474e40,_0x377f3d,_0x585825,_0x33bc89,_0x5f1aca,_0x2ffcce,_0x1dd0b1,_0x4ab555,_0x5578be,_0x543935,_0x29fc5b,_0x3d5b2c){var _0x537f67=_0x5ecaf8;super(_0xb342d4,_0x5831c1,null,_0x474e40,_0x377f3d,_0x1dd0b1,_0x29fc5b,_0x33bc89,_0x3d5b2c),N(this,_0x537f67(0x372),_0x537f67(0x198)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x537f67(0x367),null),(this[_0x537f67(0x21e)]=_0x585825,this['_memberService']=_0x5f1aca,this[_0x537f67(0x29e)]=_0x2ffcce,this[_0x537f67(0x1fb)]=_0x4ab555,this[_0x537f67(0x33c)]=_0x5578be,this[_0x537f67(0x304)]=_0x543935);}[_0x5ecaf8(0x1b3)](_0x27e201){var _0x319ad0=_0x5ecaf8;return this[_0x319ad0(0x1bf)][_0x319ad0(0x1e9)](_0x27e201),this[_0x319ad0(0x158)](),this;}[_0x5ecaf8(0x2c0)](_0x3ce844){var _0x140012=_0x5ecaf8;if(this[_0x140012(0x315)](_0x3ce844))return this['_clearScheduledTask'](),this[_0x140012(0x21e)][_0x140012(0x2ad)](ee,this['unitID'],this[_0x140012(0x30f)],null,this['_pendingMutations'],null,[_0x3ce844],this[_0x140012(0x373)]);try{const _0x5a1114=this[_0x140012(0x33c)]['transformMutationsWithChangeset'](_0x3ce844,this[_0x140012(0x1bf)]);if(_0x7e355(_0x5a1114)){const {c1Prime:_0x158aee,m2Prime:_0x4d9190}=_0x5a1114;this[_0x140012(0x366)](_0x158aee);const _0x27f164=this[_0x140012(0x21e)]['createInstance'](ae,this[_0x140012(0x2cf)],this[_0x140012(0x30f)],_0x4d9190,this[_0x140012(0x373)]);this[_0x140012(0x313)]();const _0x35f14f=new Date()[_0x140012(0x13b)](),_0x20c915=this[_0x140012(0x33a)]?Math[_0x140012(0x199)](this[_0x140012(0x33a)]-_0x35f14f,0x0):this[_0x140012(0x356)]();return _0x27f164[_0x140012(0x365)](_0x20c915),_0x27f164;}throw _0x5a1114[_0x140012(0x156)];}catch(_0x36443c){return this[_0x140012(0x29e)]['error'](_0x36443c),this[_0x140012(0x2cc)](!0x1);}}[_0x5ecaf8(0x2a1)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x1c0645=_0x5ecaf8;throw new Error(_0x1c0645(0x3a7));}[_0x5ecaf8(0x1ed)](){return this;}[_0x5ecaf8(0x27f)](){var _0x39df68=_0x5ecaf8;return this[_0x39df68(0x313)](),this[_0x39df68(0x21e)]['createInstance'](de,this[_0x39df68(0x2cf)],this[_0x39df68(0x30f)],null,this[_0x39df68(0x1bf)],this['_handler']);}[_0x5ecaf8(0x282)](){return this;}[_0x5ecaf8(0x365)](_0x173e2c){var _0x45d46a=_0x5ecaf8;const _0xd2a59b=_0x173e2c!=null?_0x173e2c:this[_0x45d46a(0x356)]();this[_0x45d46a(0x33a)]=new Date()[_0x45d46a(0x13b)]()+_0xd2a59b,this[_0x45d46a(0x367)]=setTimeout(()=>{var _0x5c3644=_0x45d46a;this[_0x5c3644(0x313)]();let _0x2f3eaf=null;switch(this[_0x5c3644(0x30f)]){case Q[_0x5c3644(0x1fd)]:{_0x2f3eaf=qt(this[_0x5c3644(0x1bf)],this[_0x5c3644(0x2cf)],this[_0x5c3644(0x304)],this[_0x5c3644(0x1c1)],this[_0x5c3644(0x3d4)]);break;}case Q['UNIVER_DOC']:{this[_0x5c3644(0x1bf)][_0x5c3644(0x14c)](_0x1c355c=>_0x1c355c['id']===_0x11b362['id'])?_0x2f3eaf=nr(this[_0x5c3644(0x1bf)],this[_0x5c3644(0x2cf)],this['_univerInstanceService'],this[_0x5c3644(0x1c1)],this['_memberService']):_0x2f3eaf=qt(this['_pendingMutations'],this[_0x5c3644(0x2cf)],this[_0x5c3644(0x304)],this[_0x5c3644(0x1c1)],this[_0x5c3644(0x3d4)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x5c3644(0x30f)]+_0x5c3644(0x266));}const {changeset:_0x4c14ff,pendingMutations:_0x3d6e2}=_0x2f3eaf;this['_handler'][_0x5c3644(0x3dd)](_0x4c14ff);const _0x1e7469=_0x3d6e2['length']?this[_0x5c3644(0x21e)][_0x5c3644(0x2ad)](oe,this[_0x5c3644(0x2cf)],this[_0x5c3644(0x30f)],_0x4c14ff,_0x3d6e2,this[_0x5c3644(0x373)],void 0x0):this[_0x5c3644(0x21e)][_0x5c3644(0x2ad)](le,this[_0x5c3644(0x2cf)],this[_0x5c3644(0x30f)],_0x4c14ff,this[_0x5c3644(0x373)]);_0x1e7469['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x1e7469);},_0xd2a59b);}['_getSendChangesetTimeout'](){var _0x54f1a1=_0x5ecaf8,_0x4a0a97;const _0x2b6ec2=this[_0x54f1a1(0x1fb)]['getConfig'](q);return(_0x4a0a97=_0x2b6ec2==null?void 0x0:_0x2b6ec2[_0x54f1a1(0x14f)])!=null?_0x4a0a97:En;}[_0x5ecaf8(0x27d)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5ecaf8(0x313)](){var _0xf996cc=_0x5ecaf8;this[_0xf996cc(0x367)]!=null&&(clearTimeout(this[_0xf996cc(0x367)]),this[_0xf996cc(0x367)]=null);}[_0x5ecaf8(0x2cc)](_0x3ca5c9){var _0x1995e3=_0x5ecaf8;return this[_0x1995e3(0x313)](),this[_0x1995e3(0x21e)][_0x1995e3(0x2ad)](ue,this[_0x1995e3(0x2cf)],this['type'],null,this[_0x1995e3(0x1bf)],this[_0x1995e3(0x373)],_0x3ca5c9);}};ae=Te([P(0x4,_0x38fae2(_0x43f95e)),P(0x5,_0x38fae2(_0x18ac3c)),P(0x6,_0x38fae2(xe)),P(0x7,_0x5d2f2b),P(0x8,_0x26a602),P(0x9,_0x5d1324),P(0xa,_0x54d884),P(0xb,_0x2643c0),P(0xc,_0x29fd27),P(0xd,_0x26bd50(J))],ae);let le=class extends Ce{constructor(_0x1b0aa0,_0x51d29d,_0x503cac,_0x556288,_0x5bc092,_0x450c34,_0x2f1c51,_0x3b0158,_0x29a02c,_0x50315a,_0x5e8adc){var _0x309bdc=_0x5ecaf8;super(_0x1b0aa0,_0x51d29d,_0x503cac,[],_0x556288,_0x2f1c51,_0x50315a,_0x450c34,_0x5e8adc),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x309bdc(0x1b1)),N(this,_0x309bdc(0x175)),(this[_0x309bdc(0x21e)]=_0x5bc092,this[_0x309bdc(0x29e)]=_0x3b0158,this[_0x309bdc(0x33c)]=_0x29a02c);}['appendMutation'](_0x3d8372){var _0x36f4c0=_0x5ecaf8;this[_0x36f4c0(0x313)]();const _0xa9c97c=this[_0x36f4c0(0x21e)][_0x36f4c0(0x2ad)](oe,this[_0x36f4c0(0x2cf)],this[_0x36f4c0(0x30f)],this['_awaitingChangeset'],[_0x3d8372],this['_handler'],this['_resendTimer']);return _0xa9c97c[_0x36f4c0(0x158)](),_0xa9c97c;}[_0x5ecaf8(0x2c0)](_0x168018){var _0x2b7f56=_0x5ecaf8;if(this[_0x2b7f56(0x315)](_0x168018))return this[_0x2b7f56(0x313)](),this['_injector'][_0x2b7f56(0x2ad)](ee,this[_0x2b7f56(0x2cf)],this[_0x2b7f56(0x30f)],this['_awaitingChangeset'],[],null,[_0x168018],this[_0x2b7f56(0x373)]);try{const _0xd18d3e=this[_0x2b7f56(0x33c)]['transformChangesets']([_0x168018],[this[_0x2b7f56(0x392)]],!0x1);if(_0x28771b(_0xd18d3e)){const {c1Prime:_0x364e8a,c2Prime:_0x265cb3}=_0xd18d3e;this['_executeRemoteChangeset'](_0x364e8a[0x0]),_0x265cb3[0x0][_0x2b7f56(0x188)]=this[_0x2b7f56(0x2ee)](),this[_0x2b7f56(0x313)]();const _0xc9b8fb=this['_injector']['createInstance'](le,this['unitID'],this[_0x2b7f56(0x30f)],_0x265cb3[0x0],this[_0x2b7f56(0x373)]);return _0xc9b8fb[_0x2b7f56(0x158)](),_0xc9b8fb;}return this[_0x2b7f56(0x2cc)](!0x1);}catch(_0x739d9f){return this[_0x2b7f56(0x29e)][_0x2b7f56(0x156)](_0x739d9f),this[_0x2b7f56(0x2cc)](!0x1);}}[_0x5ecaf8(0x2a1)](_0x2d2b79){var _0x385294=_0x5ecaf8;this[_0x385294(0x313)]();const _0x3a505d=this[_0x385294(0x1c1)][_0x385294(0x389)](this[_0x385294(0x2cf)]);if(_0x2d2b79[_0x385294(0x312)]<_0x3a505d-0x1)return this;if(this['_checkMissing'](_0x2d2b79))return this[_0x385294(0x21e)]['createInstance'](ee,this[_0x385294(0x2cf)],this[_0x385294(0x30f)],null,[],this[_0x385294(0x392)],[],this[_0x385294(0x373)]);this['_incrementRevisionNumber']();const _0x28807c=this[_0x385294(0x21e)][_0x385294(0x2ad)](Ne,this[_0x385294(0x2cf)],this['type'],this['_handler']);return _0x28807c[_0x385294(0x158)](),_0x28807c;}[_0x5ecaf8(0x1cd)](_0x522c4c){return this['_onConflict'](!!(_0x522c4c!=null&&_0x522c4c['isPermissionRej']));}[_0x5ecaf8(0x1ed)](_0x1712c1){var _0x5d2633=_0x5ecaf8;return this['_resendTimeout']>yi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x5d2633(0x186)],{'timeout':this[_0x5d2633(0x186)],'reqId':_0x1712c1[_0x5d2633(0x3d3)]}),this['_sender']=this[_0x5d2633(0x1b1)][_0x5d2633(0x400)](({reqId:_0x4e46d4,timeout:_0x5cf067})=>{var _0x2698f1=_0x5d2633;this[_0x2698f1(0x413)](_0x4e46d4,_0x5cf067);}),this);}['toggleOffline'](){var _0x3284bb=_0x5ecaf8;return this[_0x3284bb(0x313)](),this[_0x3284bb(0x21e)]['createInstance'](de,this[_0x3284bb(0x2cf)],this[_0x3284bb(0x30f)],this[_0x3284bb(0x392)],[],this[_0x3284bb(0x373)]);}['toggleOnline'](){return this;}[_0x5ecaf8(0x27d)](){var _0x314740=_0x5ecaf8;this[_0x314740(0x373)]['onSendChangeset'](this[_0x314740(0x392)]);}['_onConflict'](_0x2b0988){var _0x482195=_0x5ecaf8;return this[_0x482195(0x313)](),this['_injector'][_0x482195(0x2ad)](ue,this[_0x482195(0x2cf)],this[_0x482195(0x30f)],this['_awaitingChangeset'],[],this[_0x482195(0x373)],_0x2b0988);}[_0x5ecaf8(0x413)](_0x3f37ab,_0x152ae2){var _0x43b162=_0x5ecaf8,_0x11eb7a;_0x3f37ab===((_0x11eb7a=this[_0x43b162(0x392)])==null?void 0x0:_0x11eb7a[_0x43b162(0x3d3)])&&(this[_0x43b162(0x27d)](),this['_resendTimeout']=_0x152ae2===0x0?0x3e8:_0x152ae2*0x2);}['_clearScheduledTask'](){var _0x5e8753=_0x5ecaf8,_0x4c19e4;(_0x4c19e4=this[_0x5e8753(0x175)])==null||_0x4c19e4[_0x5e8753(0x162)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x38fae2(_0x43f95e)),P(0x5,_0x38fae2(_0x18ac3c)),P(0x6,_0x26a602),P(0x7,_0x5d2f2b),P(0x8,_0x54d884),P(0x9,_0x29fd27),P(0xa,_0x26bd50(J))],le);let oe=class extends Ce{constructor(_0x57ecac,_0x5f318d,_0x11634a,_0x49df99,_0x59a27e,_0x551c9f,_0x5e6292,_0x5b0f0b,_0x564401,_0x342a71,_0x50f55b,_0x521381,_0x5b6d34){var _0x1d3de5=_0x5ecaf8;super(_0x57ecac,_0x5f318d,_0x11634a,_0x49df99,_0x59a27e,_0x564401,_0x521381,_0x5b0f0b,_0x5b6d34),N(this,'status',_0x1d3de5(0x2be)),N(this,_0x1d3de5(0x186),0x0),N(this,'_resendTimer'),N(this,_0x1d3de5(0x175)),(this[_0x1d3de5(0x21e)]=_0x5e6292,this['_logService']=_0x342a71,this[_0x1d3de5(0x33c)]=_0x50f55b,this[_0x1d3de5(0x1e2)]=_0x5b6d34,_0x551c9f&&(this['_resendTimer']=_0x551c9f,this[_0x1d3de5(0x175)]=this[_0x1d3de5(0x1b1)][_0x1d3de5(0x400)](({reqId:_0x361150,timeout:_0x1b25f9})=>{var _0x10a9a2=_0x1d3de5;this[_0x10a9a2(0x413)](_0x361150,_0x1b25f9);})));}['appendMutation'](_0x3d8dae){var _0xe9ba53=_0x5ecaf8;return this[_0xe9ba53(0x1bf)][_0xe9ba53(0x1e9)](_0x3d8dae),this;}[_0x5ecaf8(0x2c0)](_0x57d03a){var _0x40a889=_0x5ecaf8;if(this['_checkMissing'](_0x57d03a))return this[_0x40a889(0x313)](),this['_injector'][_0x40a889(0x2ad)](ee,this[_0x40a889(0x2cf)],this[_0x40a889(0x30f)],this[_0x40a889(0x392)],this[_0x40a889(0x1bf)],null,[_0x57d03a],this[_0x40a889(0x373)]);try{const _0x1f6a75=this[_0x40a889(0x33c)][_0x40a889(0x132)]([_0x57d03a],[this['_awaitingChangeset']],!0x1);if(_0x28771b(_0x1f6a75)){const {c1Prime:_0x2f5883,c2Prime:_0x1e06cf}=_0x1f6a75,_0xe9e1b8=this[_0x40a889(0x33c)][_0x40a889(0x151)](_0x2f5883[0x0],this['_pendingMutations']);if(_0x7e355(_0xe9e1b8)){const {c1Prime:_0x47e8a6,m2Prime:_0xeac786}=_0xe9e1b8;return this['_executeRemoteChangeset'](_0x47e8a6),_0x1e06cf[0x0]['baseRev']=this[_0x40a889(0x2ee)](),this['_clearScheduledTask'](),this[_0x40a889(0x21e)][_0x40a889(0x2ad)](oe,this[_0x40a889(0x2cf)],this[_0x40a889(0x30f)],_0x1e06cf[0x0],_0xeac786,this[_0x40a889(0x373)],void 0x0);}throw _0xe9e1b8[_0x40a889(0x156)];}throw _0x1f6a75[_0x40a889(0x156)];}catch(_0xe42dcd){return this[_0x40a889(0x29e)]['error'](_0xe42dcd),this['_onConflict'](!0x1);}}[_0x5ecaf8(0x2a1)](_0x5bf8ed){var _0x331261=_0x5ecaf8;if(this[_0x331261(0x313)](),this[_0x331261(0x315)](_0x5bf8ed))return this[_0x331261(0x21e)][_0x331261(0x2ad)](ee,this[_0x331261(0x2cf)],this[_0x331261(0x30f)],null,this['_pendingMutations'],this[_0x331261(0x392)],[],this[_0x331261(0x373)]);this['_incrementRevisionNumber']();const _0x3d5af0=this['_injector']['createInstance'](ae,this[_0x331261(0x2cf)],this[_0x331261(0x30f)],this['_pendingMutations'],this[_0x331261(0x373)]);return _0x3d5af0['_schedule'](),_0x3d5af0[_0x331261(0x158)](),_0x3d5af0;}[_0x5ecaf8(0x1cd)](_0x2249ff){return this['_onConflict'](!!(_0x2249ff!=null&&_0x2249ff['isPermissionRej']));}[_0x5ecaf8(0x1ed)](_0x36c0fe){var _0x5a9c4d=_0x5ecaf8;return this[_0x5a9c4d(0x186)]>yi?this[_0x5a9c4d(0x27f)]():(this[_0x5a9c4d(0x1b1)]=Ri(this[_0x5a9c4d(0x186)],{'timeout':this['_resendTimeout'],'reqId':_0x36c0fe[_0x5a9c4d(0x3d3)]}),this[_0x5a9c4d(0x175)]=this[_0x5a9c4d(0x1b1)]['subscribe'](({reqId:_0x57ef02,timeout:_0x44b08a})=>{var _0x5eae96=_0x5a9c4d;this[_0x5eae96(0x413)](_0x57ef02,_0x44b08a);}),this);}[_0x5ecaf8(0x27f)](){var _0x2d4cd0=_0x5ecaf8;return this[_0x2d4cd0(0x313)](),this['_injector'][_0x2d4cd0(0x2ad)](de,this[_0x2d4cd0(0x2cf)],this[_0x2d4cd0(0x30f)],this[_0x2d4cd0(0x392)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x5ecaf8(0x27d)](){var _0x1d33a8=_0x5ecaf8;this[_0x1d33a8(0x373)]['onSendChangeset'](this[_0x1d33a8(0x392)]);}[_0x5ecaf8(0x2cc)](_0x37e628){var _0x575aac=_0x5ecaf8;return this['_clearScheduledTask'](),this[_0x575aac(0x21e)][_0x575aac(0x2ad)](ue,this[_0x575aac(0x2cf)],this[_0x575aac(0x30f)],null,this[_0x575aac(0x1bf)],this[_0x575aac(0x373)],_0x37e628);}[_0x5ecaf8(0x413)](_0x59c170,_0x3912ea){var _0x25e152=_0x5ecaf8,_0x5eba7f;_0x59c170===((_0x5eba7f=this[_0x25e152(0x392)])==null?void 0x0:_0x5eba7f[_0x25e152(0x3d3)])&&(this['resend'](),this[_0x25e152(0x186)]=_0x3912ea===0x0?0x3e8:_0x3912ea*0x2);}[_0x5ecaf8(0x313)](){var _0x17afce=_0x5ecaf8,_0x55a27d;(_0x55a27d=this[_0x17afce(0x175)])==null||_0x55a27d[_0x17afce(0x162)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x38fae2(_0x43f95e)),P(0x7,_0x38fae2(_0x18ac3c)),P(0x8,_0x26a602),P(0x9,_0x5d2f2b),P(0xa,_0x54d884),P(0xb,_0x29fd27),P(0xc,_0x26bd50(J))],oe);let ue=class extends Ce{constructor(_0x2c8bb2,_0x257145,_0x2c8e5e,_0x3a2eaa,_0x2a75da,_0x18876e=!0x1,_0x33a189,_0xe8130c,_0x5e4c46,_0x408d7c,_0x1df5e8,_0x4deb42,_0x3d00a0){var _0x62ed6c=_0x5ecaf8;super(_0x2c8bb2,_0x257145,_0x2c8e5e,_0x3a2eaa,_0x2a75da,_0xe8130c,_0x5e4c46,_0x408d7c,_0x3d00a0),N(this,_0x62ed6c(0x372),_0x62ed6c(0x24c)),(this[_0x62ed6c(0x137)]=_0x18876e,this[_0x62ed6c(0x388)]=_0x33a189,this[_0x62ed6c(0x2ca)]=_0x1df5e8,this[_0x62ed6c(0x2ea)]=_0x4deb42,this[_0x62ed6c(0x1e2)]=_0x3d00a0,this['_showConflictNotification'](),this[_0x62ed6c(0x346)](),this['_disableEditing']());}[_0x5ecaf8(0x1b3)](){return this;}[_0x5ecaf8(0x2c0)](){return this;}[_0x5ecaf8(0x2a1)](){return this;}[_0x5ecaf8(0x1cd)](){return this;}[_0x5ecaf8(0x1ed)](){return this;}['toggleOffline'](){return this;}[_0x5ecaf8(0x282)](){return this;}[_0x5ecaf8(0x27d)](){var _0x161c35=_0x5ecaf8;throw new Error(_0x161c35(0x1df));}[_0x5ecaf8(0x346)](){var _0x4079e1=_0x5ecaf8,_0x548788;(_0x548788=this[_0x4079e1(0x17c)])==null||_0x548788[_0x4079e1(0x148)](this[_0x4079e1(0x2cf)],this[_0x4079e1(0x30f)],null,[]);}[_0x5ecaf8(0x321)](){var _0x4f2be5=_0x5ecaf8;this[_0x4f2be5(0x137)]?this[_0x4f2be5(0x2ea)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x4f2be5(0x2ea)][_0x4f2be5(0x1ee)]({'id':se[_0x4f2be5(0x39c)]});}[_0x5ecaf8(0x296)](){var _0x220d29=_0x5ecaf8;this['_permissionService'][_0x220d29(0x167)](new _0x429713(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x38fae2(_0x405d03)),P(0x7,_0x26a602),P(0x8,_0x29fd27),P(0x9,_0x38fae2(_0x18ac3c)),P(0xa,_0x38fae2(_0x5d1970)),P(0xb,_0x38fae2(pe)),P(0xc,_0x26bd50(J))],ue);let de=class extends Ce{constructor(_0x42198c,_0x5064c4,_0x3f6a94,_0x5933e5,_0xb02a49,_0x501fd4,_0x56817b,_0x28113f,_0x398d38,_0xa32d1a){var _0x5cfc9e=_0x5ecaf8;super(_0x42198c,_0x5064c4,_0x3f6a94,_0x5933e5,_0xb02a49,_0x28113f,_0x398d38,_0x56817b,_0xa32d1a),N(this,'status',_0x5cfc9e(0x20f)),this['_injector']=_0x501fd4;}[_0x5ecaf8(0x1b3)](_0x5a0e02){var _0x27cdb0=_0x5ecaf8;return this[_0x27cdb0(0x1bf)][_0x27cdb0(0x1e9)](_0x5a0e02),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5ca003){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x5ecaf8(0x2a1)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x5ecaf8(0x1cd)](){var _0x5a0117=_0x5ecaf8;throw new Error(_0x5a0117(0x218));}['onRemoteRetry'](){return this;}[_0x5ecaf8(0x27f)](){return this;}[_0x5ecaf8(0x282)](){var _0x18aeff=_0x5ecaf8;const {_injector:_0x4e4f12,_pendingMutations:_0x4264cf,_awaitingChangeset:_0x3c3403,unitID:_0x1681aa,_handler:_0x19069c,type:_0x6bec56}=this,_0x332e1d=Oi(_0x4e4f12,_0x1681aa,_0x6bec56,_0x3c3403,_0x4264cf,_0x19069c);return _0x332e1d instanceof ae?_0x332e1d['_schedule']():(_0x332e1d instanceof oe||_0x332e1d instanceof le)&&_0x332e1d[_0x18aeff(0x27d)](),_0x332e1d;}['resend'](){var _0x4ea44e=_0x5ecaf8;throw new Error(_0x4ea44e(0x369));}};de=Te([P(0x5,_0x38fae2(_0x43f95e)),P(0x6,_0x38fae2(_0x18ac3c)),P(0x7,_0x26a602),P(0x8,_0x29fd27),P(0x9,_0x26bd50(J))],de);let ee=class extends Ce{constructor(_0x402b44,_0x24e970,_0x58727b,_0x29999b,_0x563edf,_0x45c20c,_0xdd6a5b,_0x13fb87,_0x29b280,_0x393c8a,_0x56a60b,_0x32ad13,_0x9ffba3,_0x24796c){var _0x49cc12=_0x5ecaf8;super(_0x402b44,_0x24e970,_0x58727b,_0x29999b,_0xdd6a5b,_0x56a60b,_0x32ad13,_0x29b280,_0x24796c),N(this,_0x49cc12(0x372),'fetch_missing'),(this[_0x49cc12(0x3e7)]=_0x563edf,this['_queuedRemoteChangesets']=_0x45c20c,this[_0x49cc12(0x21e)]=_0x13fb87,this[_0x49cc12(0x29e)]=_0x393c8a,this[_0x49cc12(0x33c)]=_0x9ffba3,this[_0x49cc12(0x1e2)]=_0x24796c);}['onMissedChangesetFetched'](_0x152c56){var _0x903ee3=_0x5ecaf8;try{const _0x4ac847=[..._0x152c56,...this[_0x903ee3(0x37a)]],_0x5cb228=[this[_0x903ee3(0x392)]||this[_0x903ee3(0x3e7)]][_0x903ee3(0x2d8)](_0xd1edfe=>!!_0xd1edfe);let _0x2399cf,_0x405a71;if(_0x5cb228[_0x903ee3(0x3a3)]){const _0x4e1e48=this[_0x903ee3(0x33c)][_0x903ee3(0x132)](_0x4ac847,_0x5cb228,!0x1);if(!_0x28771b(_0x4e1e48))throw _0x4e1e48[_0x903ee3(0x156)];_0x2399cf=_0x4e1e48[_0x903ee3(0x3d0)],_0x405a71=_0x4e1e48[_0x903ee3(0x399)];}else _0x2399cf=_0x4ac847,_0x405a71=[];let _0x396a52=this[_0x903ee3(0x1bf)];_0x2399cf[_0x903ee3(0x307)](_0x5cce8f=>{var _0x1a664a=_0x903ee3;let _0x30726a;if(_0x396a52[_0x1a664a(0x3a3)]){const _0x1e8b10=this[_0x1a664a(0x33c)]['transformMutationsWithChangeset'](_0x5cce8f,_0x396a52);if(!_0x7e355(_0x1e8b10))throw _0x1e8b10[_0x1a664a(0x156)];_0x30726a=_0x1e8b10[_0x1a664a(0x3d0)],_0x396a52=_0x1e8b10[_0x1a664a(0x322)];}else _0x30726a=_0x5cce8f;this[_0x1a664a(0x366)](_0x30726a);}),this[_0x903ee3(0x3e7)]&&this[_0x903ee3(0x1e0)](),this[_0x903ee3(0x392)]&&_0x405a71['length']&&(_0x405a71[0x0][_0x903ee3(0x188)]=this['_getCurrentRevision']());let _0x219725;if(this['_awaitingChangeset']&&_0x396a52[_0x903ee3(0x3a3)]!==0x0)_0x219725=this[_0x903ee3(0x21e)]['createInstance'](oe,this['unitID'],this[_0x903ee3(0x30f)],_0x405a71[0x0],_0x396a52,this[_0x903ee3(0x373)],void 0x0);else{if(this[_0x903ee3(0x392)]&&_0x396a52[_0x903ee3(0x3a3)]===0x0)_0x405a71[0x0][_0x903ee3(0x188)]=this[_0x903ee3(0x2ee)](),_0x219725=this[_0x903ee3(0x21e)][_0x903ee3(0x2ad)](le,this[_0x903ee3(0x2cf)],this[_0x903ee3(0x30f)],_0x405a71[0x0],this[_0x903ee3(0x373)]);else{if(_0x396a52[_0x903ee3(0x3a3)]!==0x0){const _0x12c8fb=this['_injector'][_0x903ee3(0x2ad)](ae,this[_0x903ee3(0x2cf)],this['type'],_0x396a52,this[_0x903ee3(0x373)]);_0x12c8fb[_0x903ee3(0x365)](),_0x219725=_0x12c8fb;}else _0x219725=this[_0x903ee3(0x21e)]['createInstance'](Ne,this[_0x903ee3(0x2cf)],this[_0x903ee3(0x30f)],this['_handler']);}}return _0x219725[_0x903ee3(0x158)](),_0x219725;}catch(_0x1f12bd){return this['_logService'][_0x903ee3(0x156)](_0x903ee3(0x31d),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1f12bd),this['_injector'][_0x903ee3(0x2ad)](ue,this['unitID'],this[_0x903ee3(0x30f)],this['_awaitingChangeset'],this[_0x903ee3(0x1bf)],this[_0x903ee3(0x373)],!0x1);}}[_0x5ecaf8(0x27d)](){var _0x2a8599=_0x5ecaf8;throw new Error(_0x2a8599(0x19f));}['appendMutation'](_0x2c12b1){var _0x296308=_0x5ecaf8;return this[_0x296308(0x1bf)][_0x296308(0x1e9)](_0x2c12b1),this;}['onRemoteChangeset'](_0x1232b0){var _0x26a977=_0x5ecaf8;return this['_queuedRemoteChangesets'][_0x26a977(0x1e9)](_0x1232b0),this;}[_0x5ecaf8(0x2a1)](_0x3a5a29){var _0x4d2d38=_0x5ecaf8;if(this[_0x4d2d38(0x392)])return this[_0x4d2d38(0x3e7)]=this[_0x4d2d38(0x392)],this[_0x4d2d38(0x392)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5ecaf8(0x1cd)](_0x33a4ba){var _0x2965a9=_0x5ecaf8;return this[_0x2965a9(0x2cc)](!!(_0x33a4ba!=null&&_0x33a4ba[_0x2965a9(0x253)]));}[_0x5ecaf8(0x1ed)](){return this;}[_0x5ecaf8(0x27f)](){var _0x540515=_0x5ecaf8;return this['_injector'][_0x540515(0x2ad)](de,this[_0x540515(0x2cf)],this[_0x540515(0x30f)],this[_0x540515(0x392)],this[_0x540515(0x1bf)],this[_0x540515(0x373)]);}[_0x5ecaf8(0x282)](){return this;}[_0x5ecaf8(0x2cc)](_0x324a99){var _0x288f45=_0x5ecaf8;return this['_injector'][_0x288f45(0x2ad)](ue,this['unitID'],this['type'],this[_0x288f45(0x392)],this[_0x288f45(0x1bf)],this[_0x288f45(0x373)],_0x324a99);}};ee=Te([P(0x7,_0x38fae2(_0x43f95e)),P(0x8,_0x38fae2(_0x18ac3c)),P(0x9,_0x5d2f2b),P(0xa,_0x26a602),P(0xb,_0x29fd27),P(0xc,_0x54d884),P(0xd,_0x26bd50(J))],ee);function Oi(_0x39a74b,_0x383097,_0x23ad53,_0xafd2c8,_0x3b239d,_0x226c07){var _0x275b6a=_0x5ecaf8;return _0xafd2c8&&_0x3b239d[_0x275b6a(0x3a3)]?_0x39a74b[_0x275b6a(0x2ad)](oe,_0x383097,_0x23ad53,_0xafd2c8,_0x3b239d,_0x226c07,void 0x0):_0xafd2c8?_0x39a74b[_0x275b6a(0x2ad)](le,_0x383097,_0x23ad53,_0xafd2c8,_0x226c07):_0x3b239d[_0x275b6a(0x3a3)]?_0x39a74b[_0x275b6a(0x2ad)](ae,_0x383097,_0x23ad53,_0x3b239d,_0x226c07):_0x39a74b[_0x275b6a(0x2ad)](Ne,_0x383097,_0x23ad53,_0x226c07);}var ar=Object['getOwnPropertyDescriptor'],xt=(_0x110465,_0x431cb4,_0x371770,_0x368ee8)=>{for(var _0x4d0e2a=_0x368ee8>0x1?void 0x0:_0x368ee8?ar(_0x431cb4,_0x371770):_0x431cb4,_0x31ddde=_0x110465['length']-0x1,_0x40865b;_0x31ddde>=0x0;_0x31ddde--)(_0x40865b=_0x110465[_0x31ddde])&&(_0x4d0e2a=_0x40865b(_0x4d0e2a)||_0x4d0e2a);return _0x4d0e2a;},H=(_0x38409a,_0x4dafcf)=>(_0x10e8ba,_0x29cc6)=>_0x4dafcf(_0x10e8ba,_0x29cc6,_0x38409a);let nt=class extends _0x3f016d{constructor(_0x11a6cf,_0x5afccf,_0x7d23a9,_0x5883ca,_0x2a0af0,_0x17cabf,_0x540288,_0x26b24e,_0x5c6649,_0x30823f,_0x3cdeb2,_0x100575,_0x25dfa1){var _0x43d7e3=_0x5ecaf8;super(),N(this,_0x43d7e3(0x1c0),new _0x6d7147(null)),N(this,_0x43d7e3(0x12f),this[_0x43d7e3(0x1c0)][_0x43d7e3(0x13f)]()),N(this,_0x43d7e3(0x324)),N(this,'_collaborationPaused',!0x1),N(this,_0x43d7e3(0x337),''),N(this,_0x43d7e3(0x36c),0x0),N(this,_0x43d7e3(0x2d5),this[_0x43d7e3(0x12f)][_0x43d7e3(0x26a)](_0x5040ff(_0x1bfb74=>_0x1bfb74?_0x1bfb74[_0x43d7e3(0x372)]:bi[_0x43d7e3(0x201)]),_0x5761b0(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x43d7e3(0x30c),[]),(this[_0x43d7e3(0x2cf)]=_0x11a6cf,this['session']=_0x5afccf,this[_0x43d7e3(0x317)]=_0x7d23a9,this[_0x43d7e3(0x21e)]=_0x5883ca,this[_0x43d7e3(0x258)]=_0x2a0af0,this[_0x43d7e3(0x2ca)]=_0x17cabf,this[_0x43d7e3(0x1c1)]=_0x540288,this[_0x43d7e3(0x326)]=_0x26b24e,this[_0x43d7e3(0x29e)]=_0x5c6649,this[_0x43d7e3(0x3c7)]=_0x30823f,this['_permissionService']=_0x3cdeb2,this['_singleActiveUnitService']=_0x100575,this['_localCacheService']=_0x25dfa1);}get['state'](){var _0x4e5a9f=_0x5ecaf8;return this[_0x4e5a9f(0x324)];}async[_0x5ecaf8(0x331)](){var _0x4cf0d8=_0x5ecaf8;if(this[_0x4cf0d8(0x147)])throw new Error(_0x4cf0d8(0x2eb));await this[_0x4cf0d8(0x3e9)]();}[_0x5ecaf8(0x265)](){var _0x16e61a=_0x5ecaf8;return this[_0x16e61a(0x205)]=!0x0,_0x1027a1(()=>{var _0xfcd6a9=_0x16e61a;this[_0xfcd6a9(0x205)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5ecaf8(0x316)](_0x41a027){var _0x2bf50e=_0x5ecaf8;this[_0x2bf50e(0x1f5)](_0x41a027);}[_0x5ecaf8(0x25e)](_0x3db833){var _0x1a439d=_0x5ecaf8;this[_0x1a439d(0x324)]=_0x3db833,this[_0x1a439d(0x1c0)][_0x1a439d(0x386)](_0x3db833);}async['_init'](){var _0x53022e=_0x5ecaf8,_0x300f73;this[_0x53022e(0x25e)](await this['_createInitialState']()),this[_0x53022e(0x144)]&&((_0x300f73=this[_0x53022e(0x144)])==null||_0x300f73[_0x53022e(0x264)](this[_0x53022e(0x2cf)]),this['disposeWithMe'](this[_0x53022e(0x144)][_0x53022e(0x28a)](this[_0x53022e(0x2cf)])[_0x53022e(0x400)](_0x5075bd=>{var _0x2e2cc9=_0x53022e;this[_0x2e2cc9(0x29e)][_0x2e2cc9(0x242)](_0x2e2cc9(0x1b9),'editing\x20status\x20changed\x20to',_0x5075bd),_0x5075bd===Ci[_0x2e2cc9(0x3e8)]?(this[_0x2e2cc9(0x326)][_0x2e2cc9(0x1ee)]({'id':se[_0x2e2cc9(0x36b)]}),this[_0x2e2cc9(0x388)][_0x2e2cc9(0x167)](new _0x429713(this[_0x2e2cc9(0x2cf)])['id'],!0x1),this[_0x2e2cc9(0x388)][_0x2e2cc9(0x2c8)](!0x1)):(this[_0x2e2cc9(0x388)]['updatePermissionPoint'](new _0x429713(this[_0x2e2cc9(0x2cf)])['id'],!0x0),this[_0x2e2cc9(0x388)][_0x2e2cc9(0x2c8)](!0x0));})));let _0x14ecd1=!0x1;return this[_0x53022e(0x2f9)](this['session'][_0x53022e(0x3d9)][_0x53022e(0x400)](_0x5ec390=>{var _0x3253ec=_0x53022e;_0x5ec390===Ee[_0x3253ec(0x13d)]?this[_0x3253ec(0x254)](_0x14ecd1):_0x5ec390===Ee[_0x3253ec(0x201)]&&(_0x14ecd1=!0x0,this['_toggleOffline']());})),this[_0x53022e(0x2f9)](this[_0x53022e(0x155)][_0x53022e(0x23d)]['subscribe'](_0x4694b9=>{var _0xc3fdcc=_0x53022e;try{switch(_0x4694b9[_0xc3fdcc(0x19c)]){case _0x36469a['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x4d3661(_0x4694b9['data']));break;}case _0x36469a[_0xc3fdcc(0x33b)]:{this['_onRemoteACK'](_0x4694b9[_0xc3fdcc(0x227)]);break;}case _0x36469a[_0xc3fdcc(0x221)]:{this[_0xc3fdcc(0x279)]();break;}case _0x36469a[_0xc3fdcc(0x2ce)]:{this[_0xc3fdcc(0x252)](_0x4694b9[_0xc3fdcc(0x227)]);break;}case _0x36469a[_0xc3fdcc(0x143)]:{this['_onFetchMissResult'](_0x4694b9[_0xc3fdcc(0x227)][_0xc3fdcc(0x1cc)][_0xc3fdcc(0x182)](_0x12be41=>_0x4d3661(_0x12be41)));break;}case _0x36469a[_0xc3fdcc(0x2aa)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x36469a['UNISCRIPT_RUN']:break;}}catch(_0x88b928){throw console[_0xc3fdcc(0x156)]('Error\x20on\x20receiving\x20event',_0x88b928),_0x88b928;}})),this[_0x53022e(0x324)];}['_unlockTransition'](){var _0x3ec523=_0x5ecaf8;this[_0x3ec523(0x3d2)]=!0x1;}['_lockTransition'](){var _0x3961c7=_0x5ecaf8;if(this['_transitionLocked'])throw new Error(_0x3961c7(0x3c4));this[_0x3961c7(0x3d2)]=!0x0;}['_onLocalMutation'](_0x4bd1fd){var _0x250b74=_0x5ecaf8;this[_0x250b74(0x28c)](),this['_updateState'](this[_0x250b74(0x324)][_0x250b74(0x1b3)](_0x4bd1fd)),this[_0x250b74(0x3b6)]();}[_0x5ecaf8(0x2e5)](_0x43217c){var _0x24ae2f=_0x5ecaf8;if(!(_0x43217c[_0x24ae2f(0x312)]<=this[_0x24ae2f(0x1c1)][_0x24ae2f(0x389)](this['unitID']))){if(this[_0x24ae2f(0x205)]){this[_0x24ae2f(0x30c)][_0x24ae2f(0x1e9)](_0x43217c);return;}this[_0x24ae2f(0x38b)](_0x43217c);}}[_0x5ecaf8(0x3fa)](){var _0x5737a8=_0x5ecaf8;this['_remoteChangesetQueue']['forEach'](_0x46603e=>this['_applyRemoteChangeset'](_0x46603e)),this[_0x5737a8(0x30c)]=[];}[_0x5ecaf8(0x38b)](_0x1fb664){var _0x1390f7=_0x5ecaf8;const _0x222466=this[_0x1390f7(0x258)][_0x1390f7(0x1b4)][_0x1390f7(0x352)](this[_0x1390f7(0x258)][_0x1390f7(0x1b4)][_0x1390f7(0x2f1)]()[_0x1390f7(0x3ab)])(_0x1fb664[_0x1390f7(0x2ff)],null)||_0x1fb664['mutations'],_0x1083a3={..._0x1fb664,'mutations':_0x222466};this[_0x1390f7(0x28c)](),this[_0x1390f7(0x25e)](this[_0x1390f7(0x324)]['onRemoteChangeset'](_0x1083a3)),this[_0x1390f7(0x3b6)]();}[_0x5ecaf8(0x2d9)](_0x789927){var _0x11f0f1=_0x5ecaf8;this['_lockTransition'](),this[_0x11f0f1(0x25e)](this[_0x11f0f1(0x324)][_0x11f0f1(0x2a1)](_0x789927)),this[_0x11f0f1(0x3b6)]();}[_0x5ecaf8(0x279)](_0x268d0b){var _0x640825=_0x5ecaf8;this['_lockTransition'](),this[_0x640825(0x25e)](this['_state'][_0x640825(0x1cd)](_0x268d0b)),this[_0x640825(0x3b6)]();}[_0x5ecaf8(0x252)](_0x4a76b6){var _0x5d1a34=_0x5ecaf8;this['_lockTransition'](),this[_0x5d1a34(0x25e)](this[_0x5d1a34(0x324)][_0x5d1a34(0x1ed)](_0x4a76b6)),this[_0x5d1a34(0x3b6)]();}[_0x5ecaf8(0x181)](_0x34f78){var _0x182396=_0x5ecaf8;if(!(this[_0x182396(0x324)]instanceof ee))throw new TypeError(_0x182396(0x1bd));const _0x5ac4fb=_0x34f78['map'](_0x1e87db=>{var _0xac487c=_0x182396;const _0x272c49=this[_0xac487c(0x258)][_0xac487c(0x1b4)][_0xac487c(0x352)](this['_compressMutationService'][_0xac487c(0x1b4)]['getInterceptPoints']()[_0xac487c(0x3ab)])(_0x1e87db[_0xac487c(0x2ff)],null)||_0x1e87db[_0xac487c(0x2ff)];return{..._0x1e87db,'mutations':_0x272c49};});this[_0x182396(0x28c)](),this[_0x182396(0x25e)](this[_0x182396(0x324)]['onMissedChangesetFetched'](_0x5ac4fb)),this[_0x182396(0x3b6)]();}[_0x5ecaf8(0x34a)](){var _0x200269=_0x5ecaf8;this[_0x200269(0x28c)](),this['_updateState'](this[_0x200269(0x324)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x73bd5d=!0x1){var _0x15098c=_0x5ecaf8;this[_0x15098c(0x28c)](),this[_0x15098c(0x25e)](this['_state']['toggleOnline']()),this[_0x15098c(0x3b6)]();const _0x46b1a0=this[_0x15098c(0x324)];_0x73bd5d&&_0x46b1a0 instanceof Ne&&(this[_0x15098c(0x28c)](),this[_0x15098c(0x25e)](_0x46b1a0[_0x15098c(0x1b2)]()),this['_unlockTransition']());}async[_0x5ecaf8(0x15f)](){return new Promise(_0x4d029f=>{var _0x4ef434=_0x3ae5;this[_0x4ef434(0x155)][_0x4ef434(0x3d9)][_0x4ef434(0x26a)](_0xa3903a(0x1))[_0x4ef434(0x400)](async _0x2e91b9=>{var _0x1a96f7=_0x4ef434;_0x4d029f(await this[_0x1a96f7(0x18a)](_0x2e91b9===Ee[_0x1a96f7(0x13d)]));});});}[_0x5ecaf8(0x333)](){var _0x2656c1=_0x5ecaf8;const _0x44d46a=this[_0x2656c1(0x2cf)];return{'onStateChange':(_0x4cd62b,_0x3d5842)=>{var _0x35f0f4=_0x2656c1;if(_0x4cd62b!==this[_0x35f0f4(0x324)])throw new Error(_0x35f0f4(0x3b9)+_0x4cd62b['status']+_0x35f0f4(0x31c)+_0x3d5842[_0x35f0f4(0x372)]+'\x0aCurrent:\x20'+this[_0x35f0f4(0x324)][_0x35f0f4(0x372)]);this[_0x35f0f4(0x25e)](_0x3d5842);},'onSendChangeset':_0x86b261=>{var _0x109b78=_0x2656c1;_0x86b261[_0x109b78(0x343)]||(_0x86b261['sid']=this['_changesetSessionId'],_0x86b261[_0x109b78(0x3d3)]=++this['_changesetReqId']);const _0x3f5316={'eventID':_0x36469a[_0x109b78(0x240)],'data':{'unitID':_0x86b261[_0x109b78(0x2cf)],'unitType':this[_0x109b78(0x317)],'changeset':_0x86b261,'memberID':this[_0x109b78(0x155)][_0x109b78(0x2f2)]()}};this[_0x109b78(0x155)][_0x109b78(0x260)](_0x3f5316,this['unitID']);},'onMissingChangesets':({from:_0x5cc62a,to:_0x12574c})=>{var _0x498ca3=_0x2656c1;this['_logService'][_0x498ca3(0x242)]('[CollaborationEntity]',_0x498ca3(0x177)+_0x5cc62a+'\x20to\x20'+_0x12574c);const _0x5a86c2={'eventID':_0x36469a['FETCH_MISSING'],'data':{'unitID':_0x44d46a,'unitType':this[_0x498ca3(0x317)],'from':_0x5cc62a,'to':_0x12574c}};this[_0x498ca3(0x155)][_0x498ca3(0x260)](_0x5a86c2,this['unitID']);}};}async[_0x5ecaf8(0x18a)](_0x12d844){var _0x33f795=_0x5ecaf8,_0x8e1e28,_0x5914e1,_0x583771;const _0x4095e6=await((_0x8e1e28=this['_localCacheService'])==null?void 0x0:_0x8e1e28[_0x33f795(0x235)](this[_0x33f795(0x2cf)])),_0x588078=(_0x5914e1=_0x4095e6==null?void 0x0:_0x4095e6[_0x33f795(0x2ff)])!=null?_0x5914e1:[],_0x17b6e1=(_0x583771=_0x4095e6==null?void 0x0:_0x4095e6[_0x33f795(0x2fb)])!=null?_0x583771:null,_0x13ab69=!!(_0x17b6e1!=null&&_0x17b6e1[_0x33f795(0x343)])&&!!(_0x17b6e1!=null&&_0x17b6e1[_0x33f795(0x3d3)]);this[_0x33f795(0x337)]=_0x13ab69?_0x17b6e1[_0x33f795(0x343)]:Zn(),this[_0x33f795(0x36c)]=_0x13ab69?_0x17b6e1[_0x33f795(0x3d3)]:0x0;const _0x239a46=this['unitID'];try{this[_0x33f795(0x1dc)](_0x17b6e1,_0x588078);}catch(_0x22ea4d){this[_0x33f795(0x29e)][_0x33f795(0x156)](_0x22ea4d);}const _0x3d805c=this[_0x33f795(0x333)]();if(_0x12d844){const _0x48b844=Oi(this[_0x33f795(0x21e)],_0x239a46,this[_0x33f795(0x317)],_0x17b6e1,_0x588078,_0x3d805c);return _0x48b844 instanceof ae?_0x48b844[_0x33f795(0x365)]():(_0x48b844 instanceof oe||_0x48b844 instanceof le)&&_0x48b844[_0x33f795(0x27d)](),_0x48b844;}return this['_injector'][_0x33f795(0x2ad)](de,_0x239a46,this['_type'],_0x17b6e1,_0x588078,_0x3d805c);}['_replayCachedMutations'](_0x295c0f,_0x1daeae){var _0x101bc8=_0x5ecaf8,_0x4fbf54,_0xc4ea4f;const _0x47778f=this[_0x101bc8(0x258)][_0x101bc8(0x1b4)]['fetchThroughInterceptors'](this[_0x101bc8(0x258)][_0x101bc8(0x1b4)][_0x101bc8(0x2f1)]()[_0x101bc8(0x3ab)]);(_0x4fbf54=_0x47778f((_0x295c0f==null?void 0x0:_0x295c0f[_0x101bc8(0x2ff)])||[],null))==null||_0x4fbf54[_0x101bc8(0x307)](_0x542705=>this['_commandService'][_0x101bc8(0x31b)](_0x542705['id'],_0x542705['params'])),(_0xc4ea4f=_0x47778f(_0x1daeae||[],null))==null||_0xc4ea4f['forEach'](_0x39c562=>this[_0x101bc8(0x3c7)]['executeCommand'](_0x39c562['id'],_0x39c562[_0x101bc8(0x2a5)]));}};nt=xt([H(0x3,_0x38fae2(_0x43f95e)),H(0x4,_0x38fae2(_0x1e471f)),H(0x5,_0x38fae2(_0x5d1970)),H(0x6,_0x38fae2(_0x18ac3c)),H(0x7,_0x38fae2(pe)),H(0x8,_0x5d2f2b),H(0x9,_0x26a602),H(0xa,_0x405d03),H(0xb,_0x26bd50(ht)),H(0xc,_0x26bd50(J))],nt);let It=class extends nt{constructor(_0x3850aa,_0x28fac9,_0x5be157,_0x599f51,_0x33524e,_0x26c3ba,_0x419382,_0x368378,_0x4dc6b6,_0x5f3d4d,_0x2d834c,_0x33f39a,_0x1842a7){var _0x59d074=_0x5ecaf8;super(_0x3850aa,_0x5be157,_0x28fac9,_0x599f51,_0x33524e,_0x26c3ba,_0x419382,_0x368378,_0x4dc6b6,_0x5f3d4d,_0x2d834c,_0x33f39a,_0x1842a7),N(this,_0x59d074(0x36f),null),(this[_0x59d074(0x2cf)]=_0x3850aa,this['type']=_0x28fac9);}[_0x5ecaf8(0x1a4)](_0x5830d8){this['_handlerCallback']=_0x5830d8;}[_0x5ecaf8(0x194)](){var _0x22bb46=_0x5ecaf8;this[_0x22bb46(0x36f)]=null,super[_0x22bb46(0x194)]();}[_0x5ecaf8(0x333)](){var _0x2f0246=_0x5ecaf8;const _0x523327=super['_createHandler']();return _0x523327[_0x2f0246(0x21f)]=_0x6049a3=>{var _0x23f785=_0x2f0246,_0x5d9eda,_0x3ed543;return(_0x3ed543=(_0x5d9eda=this['_handlerCallback'])==null?void 0x0:_0x5d9eda[_0x23f785(0x21f)])==null?void 0x0:_0x3ed543[_0x23f785(0x384)](_0x5d9eda,_0x6049a3);},_0x523327['onTransformState']=_0x446e32=>{var _0x28f822=_0x2f0246,_0x1c6dde,_0x30b036;return(_0x30b036=(_0x1c6dde=this['_handlerCallback'])==null?void 0x0:_0x1c6dde[_0x28f822(0x3a6)])==null?void 0x0:_0x30b036[_0x28f822(0x384)](_0x1c6dde,_0x446e32);},_0x523327[_0x2f0246(0x241)]=_0x272e2f=>{var _0x2ede4d=_0x2f0246,_0x5d0bdf,_0x590efe;return(_0x590efe=(_0x5d0bdf=this[_0x2ede4d(0x36f)])==null?void 0x0:_0x5d0bdf[_0x2ede4d(0x241)])==null?void 0x0:_0x590efe[_0x2ede4d(0x384)](_0x5d0bdf,_0x272e2f);},_0x523327[_0x2f0246(0x2e9)]=_0x3e4aa7=>{var _0x112b0a=_0x2f0246,_0x33278c,_0x1f5b93;return(_0x1f5b93=(_0x33278c=this[_0x112b0a(0x36f)])==null?void 0x0:_0x33278c[_0x112b0a(0x2e9)])==null?void 0x0:_0x1f5b93[_0x112b0a(0x384)](_0x33278c,_0x3e4aa7);},_0x523327[_0x2f0246(0x22c)]=_0x5da56e=>{var _0x57376e=_0x2f0246,_0x40dbd8,_0x5f458e,_0x1cbb79;if(!((_0x40dbd8=this[_0x57376e(0x36f)])!=null&&_0x40dbd8['onTransformRemoteChangesetByIMECache']))throw new Error(_0x57376e(0x238));return(_0x1cbb79=(_0x5f458e=this['_handlerCallback'])==null?void 0x0:_0x5f458e[_0x57376e(0x22c)])==null?void 0x0:_0x1cbb79[_0x57376e(0x384)](_0x5f458e,_0x5da56e);},_0x523327[_0x2f0246(0x1e7)]=_0x26a087=>{var _0xbd106a=_0x2f0246,_0x424e7f,_0xd9e4d4,_0x30eb2b;if(!((_0x424e7f=this[_0xbd106a(0x36f)])!=null&&_0x424e7f[_0xbd106a(0x1e7)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x30eb2b=(_0xd9e4d4=this[_0xbd106a(0x36f)])==null?void 0x0:_0xd9e4d4[_0xbd106a(0x1e7)])==null?void 0x0:_0x30eb2b[_0xbd106a(0x384)](_0xd9e4d4,_0x26a087);},_0x523327;}async[_0x5ecaf8(0x3e9)](){var _0x3e6345=_0x5ecaf8;const _0x4dbb5b=await super[_0x3e6345(0x3e9)]();return this[_0x3e6345(0x2f9)](this[_0x3e6345(0x3c7)][_0x3e6345(0x32d)]((_0x5c3486,_0x579e3e)=>{var _0x2361f3=_0x3e6345;if(_0x5c3486['type']!==_0x45511f['MUTATION']||_0x579e3e!=null&&_0x579e3e[_0x2361f3(0x215)]||_0x579e3e!=null&&_0x579e3e[_0x2361f3(0x146)]||_0x5c3486['id']===_0x11b362['id'])return;const _0x1feda8=_0x5c3486[_0x2361f3(0x2a5)];if((_0x1feda8==null?void 0x0:_0x1feda8[_0x2361f3(0x3aa)])!==this[_0x2361f3(0x2cf)])return;const _0x5b55da=_0x5c3486,_0x35ff26=this['_compressMutationService'][_0x2361f3(0x1b4)][_0x2361f3(0x352)](this[_0x2361f3(0x258)][_0x2361f3(0x1b4)]['getInterceptPoints']()[_0x2361f3(0x2fc)])([_0x5b55da],null)||[_0x5b55da];this[_0x2361f3(0x1f5)](_0x35ff26[0x0]);})),_0x4dbb5b;}};It=xt([H(0x3,_0x38fae2(_0x43f95e)),H(0x4,_0x38fae2(_0x1e471f)),H(0x5,_0x38fae2(_0x5d1970)),H(0x6,_0x38fae2(_0x18ac3c)),H(0x7,_0x38fae2(pe)),H(0x8,_0x5d2f2b),H(0x9,_0x26a602),H(0xa,_0x405d03),H(0xb,_0x26bd50(ht)),H(0xc,_0x26bd50(J))],It);let Tt=class extends nt{constructor(_0xd2d622,_0x4904f9,_0x5e3f64,_0x325ab4,_0xc1a6dc,_0x2aca18,_0x2e75f8,_0x225052,_0x2d10f0,_0x23f313,_0x2d174f,_0x26e94c,_0x229e0c,_0x4a2216){var _0x3cb744=_0x5ecaf8;super(_0xd2d622,_0x5e3f64,_0x4904f9,_0x325ab4,_0xc1a6dc,_0x2aca18,_0x2e75f8,_0x2d10f0,_0x23f313,_0x2d174f,_0x26e94c,_0x229e0c,_0x4a2216),this[_0x3cb744(0x2cf)]=_0xd2d622,this[_0x3cb744(0x30f)]=_0x4904f9,this[_0x3cb744(0x154)]=_0x225052;}[_0x5ecaf8(0x333)](){var _0x29d2f5=_0x5ecaf8;const _0x21a5c8=super[_0x29d2f5(0x333)]();return _0x21a5c8['onTransformSelections']=_0x10d0df=>this[_0x29d2f5(0x154)]['transformSelections'](_0x10d0df),_0x21a5c8;}async[_0x5ecaf8(0x3e9)](){var _0x24ff02=_0x5ecaf8;const _0x88533c=await super[_0x24ff02(0x3e9)]();return this[_0x24ff02(0x2f9)](this[_0x24ff02(0x3c7)][_0x24ff02(0x32d)]((_0x3e9b3e,_0x3534fe)=>{var _0xf340f=_0x24ff02;if(_0x3e9b3e[_0xf340f(0x30f)]!==_0x45511f[_0xf340f(0x1be)]||_0x3534fe!=null&&_0x3534fe[_0xf340f(0x215)]||_0x3534fe!=null&&_0x3534fe[_0xf340f(0x146)])return;const _0x1859fc=_0x3e9b3e[_0xf340f(0x2a5)];if((_0x1859fc==null?void 0x0:_0x1859fc['unitId'])!==this['unitID'])return;const _0x17bc15=_0x3e9b3e,_0x29d508=this[_0xf340f(0x258)][_0xf340f(0x1b4)][_0xf340f(0x352)](this[_0xf340f(0x258)][_0xf340f(0x1b4)]['getInterceptPoints']()[_0xf340f(0x2fc)])([_0x17bc15],null)||[_0x17bc15];this[_0xf340f(0x1f5)](_0x29d508[0x0]);})),_0x88533c;}};Tt=xt([H(0x3,_0x38fae2(_0x43f95e)),H(0x4,_0x38fae2(_0x1e471f)),H(0x5,_0x38fae2(_0x5d1970)),H(0x6,_0x38fae2(_0x18ac3c)),H(0x7,_0x38fae2(it)),H(0x8,_0x38fae2(pe)),H(0x9,_0x5d2f2b),H(0xa,_0x26a602),H(0xb,_0x405d03),H(0xc,_0x26bd50(ht)),H(0xd,_0x26bd50(J))],Tt);var or=Object[_0x5ecaf8(0x39b)],cr=(_0x12c443,_0x413801,_0x4866ba,_0x5c8129)=>{var _0x232169=_0x5ecaf8;for(var _0x4da55a=_0x5c8129>0x1?void 0x0:_0x5c8129?or(_0x413801,_0x4866ba):_0x413801,_0x2459a6=_0x12c443[_0x232169(0x3a3)]-0x1,_0x5292f5;_0x2459a6>=0x0;_0x2459a6--)(_0x5292f5=_0x12c443[_0x2459a6])&&(_0x4da55a=_0x5292f5(_0x4da55a)||_0x4da55a);return _0x4da55a;},ft=(_0x216be3,_0x24b967)=>(_0x2886c7,_0x56ec03)=>_0x24b967(_0x2886c7,_0x56ec03,_0x216be3);let rt=class extends _0x3f016d{constructor(_0x409609,_0x38afba,_0x331c07){var _0x43be3e=_0x5ecaf8;super(),N(this,_0x43be3e(0x41f),new Map()),N(this,_0x43be3e(0x32f),new _0x25757a()),N(this,_0x43be3e(0x27c),this[_0x43be3e(0x32f)][_0x43be3e(0x13f)]()),(this['_injector']=_0x409609,this['_collabSessionService']=_0x38afba,this[_0x43be3e(0x304)]=_0x331c07,this[_0x43be3e(0x3e9)]());}[_0x5ecaf8(0x194)](){var _0x3dd961=_0x5ecaf8;super[_0x3dd961(0x194)](),this[_0x3dd961(0x41f)]['forEach'](_0x571b04=>_0x571b04[_0x3dd961(0x194)]()),this[_0x3dd961(0x41f)]['clear']();}[_0x5ecaf8(0x245)](_0xe2c9e2){var _0x42a8da=_0x5ecaf8,_0x4bafc2;return(_0x4bafc2=this[_0x42a8da(0x41f)][_0x42a8da(0x2d7)](_0xe2c9e2))!=null?_0x4bafc2:null;}[_0x5ecaf8(0x1eb)](_0x3a8ae8){var _0x24a20c=_0x5ecaf8;const _0x4709a5=this[_0x24a20c(0x245)](_0x3a8ae8);return _0x4709a5?_0x2535a1(_0x4709a5):this[_0x24a20c(0x32f)][_0x24a20c(0x26a)](_0x1f327a(_0x8e9a6d=>_0x8e9a6d[_0x24a20c(0x2cf)]===_0x3a8ae8));}[_0x5ecaf8(0x184)](_0x1c4a9c){var _0x4640f8=_0x5ecaf8;return _0x1406b4(this[_0x4640f8(0x1eb)](_0x1c4a9c)[_0x4640f8(0x26a)](_0x58e504(()=>{})));}[_0x5ecaf8(0x3e9)](){var _0x47531b=_0x5ecaf8;this['_univerInstanceService'][_0x47531b(0x2e3)](_0x17b299[_0x47531b(0x1fd)])[_0x47531b(0x26a)](_0x426eaf(this['dispose$']),_0x45b05b(0x10))[_0x47531b(0x400)](async _0x1287f4=>{var _0x5ca239=_0x47531b;const _0x451678=_0x1287f4['getUnitId'](),_0x4df437=await this[_0x5ca239(0x2cb)](_0x451678,Q[_0x5ca239(0x1fd)]);this[_0x5ca239(0x41f)][_0x5ca239(0x1d7)](_0x451678,_0x4df437);}),this['_univerInstanceService'][_0x47531b(0x2e3)](_0x17b299['UNIVER_DOC'])[_0x47531b(0x26a)](_0x426eaf(this[_0x47531b(0x3f6)]),_0x45b05b(0x10))[_0x47531b(0x26a)](_0x1f327a(_0x78149c=>!_0x78149c[_0x47531b(0x1a0)]()[_0x47531b(0x273)]('__')))[_0x47531b(0x400)](async _0x5e4e3c=>{var _0x12a2ea=_0x47531b;const _0x276085=_0x5e4e3c[_0x12a2ea(0x1a0)](),_0x336099=await this[_0x12a2ea(0x2cb)](_0x276085,Q[_0x12a2ea(0x1f4)]);this[_0x12a2ea(0x41f)][_0x12a2ea(0x1d7)](_0x276085,_0x336099);}),_0x2e2230(this[_0x47531b(0x304)][_0x47531b(0x3f1)](_0x17b299[_0x47531b(0x1fd)]),this[_0x47531b(0x304)][_0x47531b(0x3f1)](_0x17b299['UNIVER_DOC']))['pipe'](_0x426eaf(this[_0x47531b(0x3f6)]))['subscribe'](_0x52f828=>{var _0x40c0ee=_0x47531b;const _0x31c115=_0x52f828['getUnitId'](),_0x4c781b=this[_0x40c0ee(0x41f)][_0x40c0ee(0x2d7)](_0x31c115);_0x4c781b&&(_0x4c781b[_0x40c0ee(0x194)](),this[_0x40c0ee(0x41f)][_0x40c0ee(0x37d)](_0x31c115));});}async[_0x5ecaf8(0x2cb)](_0x287d33,_0x5b000b){var _0x6dc642=_0x5ecaf8;const _0x3e8cb3=await this[_0x6dc642(0x35b)][_0x6dc642(0x203)](_0x287d33),_0x5bb59f=this[_0x6dc642(0x21e)][_0x6dc642(0x2ad)](this[_0x6dc642(0x387)](_0x5b000b),_0x287d33,_0x5b000b,_0x3e8cb3);return await _0x5bb59f['init'](),this['_entityInit$'][_0x6dc642(0x386)](_0x5bb59f),_0x5bb59f;}[_0x5ecaf8(0x387)](_0x4e9657){var _0x52d291=_0x5ecaf8;switch(_0x4e9657){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x52d291(0x171)+_0x4e9657);}}};rt=cr([ft(0x0,_0x38fae2(_0x43f95e)),ft(0x1,_0x38fae2(Le)),ft(0x2,_0x2643c0)],rt);var hr=Object[_0x5ecaf8(0x39b)],_r=(_0x28b551,_0x297074,_0x3a60ae,_0x84f4c4)=>{for(var _0x1b9c49=_0x84f4c4>0x1?void 0x0:_0x84f4c4?hr(_0x297074,_0x3a60ae):_0x297074,_0xbcb035=_0x28b551['length']-0x1,_0x5e315e;_0xbcb035>=0x0;_0xbcb035--)(_0x5e315e=_0x28b551[_0xbcb035])&&(_0x1b9c49=_0x5e315e(_0x1b9c49)||_0x1b9c49);return _0x1b9c49;},zt=(_0x24bb29,_0x1e1940)=>(_0x42da5d,_0xa1c823)=>_0x1e1940(_0x42da5d,_0xa1c823,_0x24bb29);const lr=_0x5ecaf8(0x3df),ur=_0x5ecaf8(0x22d);let Ct=class extends _0x568a30{constructor(_0x548ab9,_0x5dda13){var _0x13ec98=_0x5ecaf8;super(),this['_univerInstanceService']=_0x548ab9,this['_configService']=_0x5dda13,this[_0x13ec98(0x3e9)]();}[_0x5ecaf8(0x3e9)](){var _0x3f5767=_0x5ecaf8;this[_0x3f5767(0x2f9)](this[_0x3f5767(0x304)][_0x3f5767(0x2de)][_0x3f5767(0x400)](()=>{var _0x38397f=_0x3f5767,_0x29c23d;const _0x1baf79=this[_0x38397f(0x304)][_0x38397f(0x294)]();let _0xdaaa5e=(_0x29c23d=this[_0x38397f(0x1fb)]['getConfig'](lr))!=null?_0x29c23d:ur;_0x1baf79 instanceof _0x409efb&&(_0xdaaa5e=_0x1baf79['name']),document[_0x38397f(0x350)]=_0xdaaa5e;}));}};Ct=_r([zt(0x0,_0x2643c0),zt(0x1,_0x5d1324)],Ct);var dr=Object[_0x5ecaf8(0x39b)],fr=(_0x492300,_0x173f83,_0x3ee3bb,_0x16c8a9)=>{var _0x391c5e=_0x5ecaf8;for(var _0x208cd5=_0x16c8a9>0x1?void 0x0:_0x16c8a9?dr(_0x173f83,_0x3ee3bb):_0x173f83,_0x2496a8=_0x492300[_0x391c5e(0x3a3)]-0x1,_0x4c3ba7;_0x2496a8>=0x0;_0x2496a8--)(_0x4c3ba7=_0x492300[_0x2496a8])&&(_0x208cd5=_0x4c3ba7(_0x208cd5)||_0x208cd5);return _0x208cd5;},vt=(_0x241e93,_0x17fe66)=>(_0x579688,_0x3a68c9)=>_0x17fe66(_0x579688,_0x3a68c9,_0x241e93);let st=class{constructor(_0x12770e,_0x26adf9,_0x2790ef){var _0xa90922=_0x5ecaf8;this[_0xa90922(0x1fb)]=_0x12770e,this[_0xa90922(0x220)]=_0x26adf9,this['localeService']=_0x2790ef,this[_0xa90922(0x331)]();}[_0x5ecaf8(0x331)](){var _0x5eec3a=_0x5ecaf8;this['_httpService'][_0x5eec3a(0x417)]({'priority':0x1,'interceptor':(_0x442448,_0x16d064)=>_0x16d064(_0x442448)[_0x5eec3a(0x26a)](_0xdbfd7b(async _0x5f4846=>{var _0xa7b1e6=_0x5eec3a;const _0x552fb3=_0x5f4846;if(_0x552fb3[_0xa7b1e6(0x372)]===0x191){if(typeof window>'u')throw new Error(_0xa7b1e6(0x2b4));if(window[_0xa7b1e6(0x1d9)](this['localeService']['t'](_0xa7b1e6(0x27e)))){const _0x34bd95=window[_0xa7b1e6(0x2e4)](window[_0xa7b1e6(0x35c)][_0xa7b1e6(0x1ba)]);window[_0xa7b1e6(0x35c)][_0xa7b1e6(0x1ba)]=this[_0xa7b1e6(0x3b5)]()+_0xa7b1e6(0x3ee)+_0x34bd95;}}return _0x552fb3;}))});}[_0x5ecaf8(0x3b5)](){var _0x386547=_0x5ecaf8,_0x6610e2,_0x8e97e4;const _0x5b375d=this[_0x386547(0x1fb)]['getConfig'](Un),_0x5c0f63=this[_0x386547(0x1fb)][_0x386547(0x30a)](q);return(_0x8e97e4=(_0x6610e2=_0x5c0f63==null?void 0x0:_0x5c0f63['loginUrlKey'])!=null?_0x6610e2:_0x5b375d)!=null?_0x8e97e4:wn;}};st=fr([vt(0x0,_0x5d1324),vt(0x1,_0x38fae2(_0x2ff782)),vt(0x2,_0x38fae2(_0x5d1970))],st);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x18bc68,_0xaa879a,_0x5b7780,_0x34b944)=>{var _0x2a892c=_0x5ecaf8;for(var _0x585b17=_0x34b944>0x1?void 0x0:_0x34b944?vr(_0xaa879a,_0x5b7780):_0xaa879a,_0x5f3609=_0x18bc68[_0x2a892c(0x3a3)]-0x1,_0x473bc6;_0x5f3609>=0x0;_0x5f3609--)(_0x473bc6=_0x18bc68[_0x5f3609])&&(_0x585b17=_0x473bc6(_0x585b17)||_0x585b17);return _0x585b17;},Jt=(_0x440893,_0x239a1f)=>(_0x89b214,_0x2e1337)=>_0x239a1f(_0x89b214,_0x2e1337,_0x440893);const Ni=_0x5ecaf8(0x15c),mr=_0x5ecaf8(0x27b);let Rt=class extends _0x568a30{constructor(_0x567129,_0x322a12){var _0x50da81=_0x5ecaf8;super(),this[_0x50da81(0x3b3)]=_0x567129,this[_0x50da81(0x1fb)]=_0x322a12,this['_initMergeInterceptor']();}[_0x5ecaf8(0x2f7)](){var _0x2d3662=_0x5ecaf8;const _0x2724de=this;this['disposeWithMe'](this[_0x2d3662(0x3b3)][_0x2d3662(0x417)]({'priority':0x3e7,'interceptor':_0x47d1c8({'isMatch'(_0x2fd260){var _0x508f39=_0x2d3662,_0x142fac;if(_0x2fd260['method']===_0x508f39(0x224)&&((_0x142fac=_0x2fd260[_0x508f39(0x16d)])!=null&&_0x142fac[_0x508f39(0x351)])){const {objectID:_0x4df7c3,objectType:_0x5cf2f0}=_0x2fd260[_0x508f39(0x16d)][_0x508f39(0x351)]||{};if(!_0x4df7c3||_0x5cf2f0===void 0x0)return!0x1;const _0x3fc239=_0x2724de['_getAPIPrefixPath']()+'/'+_0x5cf2f0+_0x508f39(0x251)+_0x4df7c3+'/allowed';if(_0x2fd260[_0x508f39(0x1d8)]===_0x3fc239)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x29834c){var _0x16e414=_0x2d3662,_0x343efd;return(_0x343efd=_0x29834c[_0x16e414(0x16d)])==null?void 0x0:_0x343efd[_0x16e414(0x351)];},'mergeParamsToRequest'(_0x178cd0,_0x12f829){var _0x444438=_0x2d3662;const _0x235731=_0x2724de[_0x444438(0x2fa)]()+'/-/object/-/batch_allowed',_0x1b8fd2=_0x178cd0[_0x444438(0x13e)]((_0x19f248,_0x267f2a)=>{var _0x54778a=_0x444438;const {unitID:_0x360590,objectID:_0x32c2e3,objectType:_0x422718,actions:_0x586269}=_0x267f2a;return _0x19f248[_0x360590]||(_0x19f248[_0x360590]={}),_0x19f248[_0x360590][_0x32c2e3]||(_0x19f248[_0x360590][_0x32c2e3]={'objectID':_0x32c2e3,'objectType':_0x422718,'actions':[]}),_0x19f248[_0x360590][_0x32c2e3][_0x54778a(0x40a)]['push'](..._0x586269),_0x19f248;},{}),_0x39a532=[];for(const _0x154e6c in _0x1b8fd2)for(const _0x36efcd in _0x1b8fd2[_0x154e6c]){const {actions:_0x7fd610,objectType:_0x2a0805}=_0x1b8fd2[_0x154e6c][_0x36efcd],_0x5c0759=[...new Set(_0x7fd610)];_0x39a532[_0x444438(0x1e9)]({'unitID':_0x154e6c,'objectID':_0x36efcd,'objectType':_0x2a0805,'actions':_0x5c0759});}return new _0x2d97be(_0x444438(0x224),_0x235731,{'headers':_0x12f829[_0x444438(0x34b)],'withCredentials':_0x12f829[_0x444438(0x336)],'responseType':_0x12f829[_0x444438(0x3b2)],'body':{'requests':_0x39a532}});}},{'distributeResult'(_0x12ddd5,_0x276156){var _0x2d44b3=_0x2d3662;const {objectActions:_0x2415fd}=_0x12ddd5;return _0x276156[_0x2d44b3(0x182)](_0x44b20e=>{var _0x30aef1=_0x2d44b3;const {unitID:_0x10e546,objectID:_0x5d9c3f,actions:_0x5b0b1c}=_0x44b20e,_0xdb383f=_0x2415fd[_0x30aef1(0x214)](_0x5366ef=>_0x5366ef['unitID']===_0x10e546&&_0x5366ef['objectID']===_0x5d9c3f),_0x3f3f2c=_0x5b0b1c[_0x30aef1(0x182)](_0x540d71=>_0xdb383f==null?void 0x0:_0xdb383f[_0x30aef1(0x40a)][_0x30aef1(0x214)](_0x390dca=>_0x390dca['action']===_0x540d71))['filter'](_0x36d8b6=>!!_0x36d8b6);return{'config':_0x44b20e,'result':{'actions':_0x3f3f2c,'error':_0x12ddd5[_0x30aef1(0x156)]}};});}})}));}[_0x5ecaf8(0x2fa)](){var _0xd00758=_0x5ecaf8,_0x519800,_0x3fbca1;const _0x3ccb41=this['_configService']['getConfig'](Ni),_0x46eefe=this[_0xd00758(0x1fb)][_0xd00758(0x30a)](q);return(_0x3fbca1=(_0x519800=_0x46eefe==null?void 0x0:_0x46eefe['authzUrl'])!=null?_0x519800:_0x3ccb41)!=null?_0x3fbca1:mr;}async[_0x5ecaf8(0x2bc)](_0xdcffe){var _0x571cea=_0x5ecaf8;const _0x16b284=this[_0x571cea(0x2fa)]()+'/'+_0xdcffe[_0x571cea(0x394)]+_0x571cea(0x363);return(await this['_HTTPService'][_0x571cea(0x2c6)](_0x16b284,{'body':_0xdcffe}))[_0x571cea(0x351)][_0x571cea(0x31f)]||'';}async['list'](_0x534ade){var _0x25c8e2=_0x5ecaf8;const _0x184f60=this[_0x25c8e2(0x2fa)]()+_0x25c8e2(0x195);return(await this[_0x25c8e2(0x3b3)][_0x25c8e2(0x2c6)](_0x184f60,{'body':_0x534ade}))[_0x25c8e2(0x351)][_0x25c8e2(0x185)];}async[_0x5ecaf8(0x297)](_0xa30861){var _0x29e9f1=_0x5ecaf8,_0x5b4812,_0x42a17b;const _0x871249=this[_0x29e9f1(0x2fa)]()+'/'+_0xa30861[_0x29e9f1(0x394)]+_0x29e9f1(0x251)+_0xa30861[_0x29e9f1(0x31f)],_0x4e6ba7=await this[_0x29e9f1(0x3b3)][_0x29e9f1(0x308)](_0x871249,{'body':_0xa30861});if(((_0x42a17b=(_0x5b4812=_0x4e6ba7==null?void 0x0:_0x4e6ba7[_0x29e9f1(0x351)])==null?void 0x0:_0x5b4812['error'])==null?void 0x0:_0x42a17b[_0x29e9f1(0x280)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x5ecaf8(0x222)](_0x42903a){var _0x4d695c=_0x5ecaf8;const _0x1edb93=this[_0x4d695c(0x2fa)]()+'/'+_0x42903a[_0x4d695c(0x394)]+_0x4d695c(0x251)+_0x42903a[_0x4d695c(0x31f)]+_0x4d695c(0x25b);return(await this[_0x4d695c(0x3b3)][_0x4d695c(0x2c6)](_0x1edb93,{'body':_0x42903a}))[_0x4d695c(0x351)]['actions'];}async['batchAllowed'](_0x2b4728){var _0x2da119=_0x5ecaf8;const _0x23d4c7=this[_0x2da119(0x2fa)]()+'/-/object/-/batch_allowed';return(await this[_0x2da119(0x3b3)][_0x2da119(0x2c6)](_0x23d4c7,{'body':{'requests':_0x2b4728}}))['body'][_0x2da119(0x3c9)];}async[_0x5ecaf8(0x20c)](_0x470f3d){var _0x50aa4d=_0x5ecaf8;const _0x12060a=this[_0x50aa4d(0x2fa)]()+'/'+_0x470f3d[_0x50aa4d(0x394)]+_0x50aa4d(0x2fe),_0x30f34b=await this[_0x50aa4d(0x3b3)][_0x50aa4d(0x2c6)](_0x12060a,{'body':_0x470f3d});return{'roles':_0x30f34b[_0x50aa4d(0x351)][_0x50aa4d(0x15a)],'actions':_0x30f34b[_0x50aa4d(0x351)][_0x50aa4d(0x40a)]};}async[_0x5ecaf8(0x2b6)](_0x467b00){var _0x538c12=_0x5ecaf8;const _0x1f58d6=this['_getAPIPrefixPath']()+_0x538c12(0x39f);await this[_0x538c12(0x3b3)][_0x538c12(0x37d)](_0x1f58d6,{'params':{'collaboratorID':_0x467b00[_0x538c12(0x41c)],'objectID':_0x467b00['objectID'],'unitID':_0x467b00[_0x538c12(0x2cf)]}});}async['updateCollaborator'](_0x37c808){var _0x503ef7=_0x5ecaf8;const _0x58c9ab=this[_0x503ef7(0x2fa)]()+'/collaborator';await this['_HTTPService'][_0x503ef7(0x30e)](_0x58c9ab,{'body':_0x37c808});}async[_0x5ecaf8(0x2db)](_0x47aa5e){var _0x12e89c=_0x5ecaf8;const _0x229c26=this[_0x12e89c(0x2fa)]()+_0x12e89c(0x39f);await this['_HTTPService'][_0x12e89c(0x2c6)](_0x229c26,{'body':_0x47aa5e});}async[_0x5ecaf8(0x15d)](_0x2dfbc4){var _0x3e0399=_0x5ecaf8;const _0x30c53a=this[_0x3e0399(0x2fa)]()+_0x3e0399(0x39f);return(await this[_0x3e0399(0x3b3)]['get'](_0x30c53a,{'params':{'objectID':_0x2dfbc4['objectID'],'unitID':_0x2dfbc4[_0x3e0399(0x2cf)]}}))[_0x3e0399(0x351)][_0x3e0399(0x196)];}async[_0x5ecaf8(0x197)](_0x43ab79){var _0x4463a3=_0x5ecaf8;const _0x247a17=this[_0x4463a3(0x2fa)]()+_0x4463a3(0x39f);await this['_HTTPService'][_0x4463a3(0x308)](_0x247a17,{'body':_0x43ab79});}};Rt=pr([Jt(0x0,_0x38fae2(_0x2ff782)),Jt(0x1,_0x38fae2(_0x5d1324))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x476440){var _0xedb203=_0x5ecaf8;return _0x476440&&_0x476440[_0xedb203(0x390)]&&Object[_0xedb203(0x21b)][_0xedb203(0x2d2)][_0xedb203(0x384)](_0x476440,'default')?_0x476440[_0xedb203(0x16a)]:_0x476440;}var Ve={'exports':{}};function gr(_0x46ed20){var _0x1bb55a=_0x5ecaf8;throw new Error(_0x1bb55a(0x180)+_0x46ed20+_0x1bb55a(0x375));}var Ge={'exports':{}},Sr=Ge[_0x5ecaf8(0x2a8)],Xt;function ie(){var _0xcf306b=_0x5ecaf8;return Xt||(Xt=0x1,function(_0x200b89,_0x180220){(function(_0x1fd7ff,_0x5cdd67){var _0x478168=_0x3ae5;_0x200b89[_0x478168(0x2a8)]=_0x5cdd67();}(Sr,function(){var _0x32dd8a=_0x32dd8a||function(_0x52687a,_0x174b23){var _0x58a604=_0x3ae5,_0x597ee3;if(typeof window<'u'&&window[_0x58a604(0x422)]&&(_0x597ee3=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x597ee3=self[_0x58a604(0x422)]),typeof globalThis<'u'&&globalThis[_0x58a604(0x422)]&&(_0x597ee3=globalThis[_0x58a604(0x422)]),!_0x597ee3&&typeof window<'u'&&window['msCrypto']&&(_0x597ee3=window[_0x58a604(0x407)]),!_0x597ee3&&typeof pt<'u'&&pt['crypto']&&(_0x597ee3=pt['crypto']),!_0x597ee3&&typeof gr==_0x58a604(0x24a))try{_0x597ee3=require(_0x58a604(0x422));}catch{}var _0x2667e3=function(){var _0x280256=_0x58a604;if(_0x597ee3){if(typeof _0x597ee3['getRandomValues']==_0x280256(0x24a))try{return _0x597ee3['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x597ee3[_0x280256(0x3b1)]==_0x280256(0x24a))try{return _0x597ee3[_0x280256(0x3b1)](0x4)[_0x280256(0x2bb)]();}catch{}}throw new Error(_0x280256(0x202));},_0x5cd1b5=Object['create']||(function(){function _0xdc4c3a(){}return function(_0x136448){var _0x5a85d2=_0x3ae5,_0x545587;return _0xdc4c3a[_0x5a85d2(0x21b)]=_0x136448,_0x545587=new _0xdc4c3a(),_0xdc4c3a[_0x5a85d2(0x21b)]=null,_0x545587;};}()),_0x338a9c={},_0x119667=_0x338a9c[_0x58a604(0x289)]={},_0x4408af=_0x119667[_0x58a604(0x1a6)]=(function(){return{'extend':function(_0x3262f7){var _0x297661=_0x3ae5,_0x223aeb=_0x5cd1b5(this);return _0x3262f7&&_0x223aeb[_0x297661(0x1c8)](_0x3262f7),(!_0x223aeb['hasOwnProperty'](_0x297661(0x331))||this[_0x297661(0x331)]===_0x223aeb['init'])&&(_0x223aeb['init']=function(){var _0x350552=_0x297661;_0x223aeb['$super'][_0x350552(0x331)][_0x350552(0x2ba)](this,arguments);}),_0x223aeb[_0x297661(0x331)][_0x297661(0x21b)]=_0x223aeb,_0x223aeb[_0x297661(0x3fd)]=this,_0x223aeb;},'create':function(){var _0x38268b=_0x3ae5,_0x4f1ec8=this['extend']();return _0x4f1ec8[_0x38268b(0x331)][_0x38268b(0x2ba)](_0x4f1ec8,arguments),_0x4f1ec8;},'init':function(){},'mixIn':function(_0x5577c5){var _0x586f31=_0x3ae5;for(var _0x4bfb71 in _0x5577c5)_0x5577c5[_0x586f31(0x2d2)](_0x4bfb71)&&(this[_0x4bfb71]=_0x5577c5[_0x4bfb71]);_0x5577c5[_0x586f31(0x2d2)](_0x586f31(0x338))&&(this['toString']=_0x5577c5[_0x586f31(0x338)]);},'clone':function(){var _0x53d691=_0x3ae5;return this[_0x53d691(0x331)]['prototype'][_0x53d691(0x2c1)](this);}};}()),_0x517592=_0x119667['WordArray']=_0x4408af[_0x58a604(0x2c1)]({'init':function(_0x17ed02,_0x1ba311){var _0x2095b0=_0x58a604;_0x17ed02=this[_0x2095b0(0x3e2)]=_0x17ed02||[],_0x1ba311!=_0x174b23?this[_0x2095b0(0x3f3)]=_0x1ba311:this['sigBytes']=_0x17ed02[_0x2095b0(0x3a3)]*0x4;},'toString':function(_0x1dc1d2){var _0xb573c4=_0x58a604;return(_0x1dc1d2||_0x9235ba)[_0xb573c4(0x24e)](this);},'concat':function(_0x3cf60e){var _0x45a0f6=_0x58a604,_0x196934=this[_0x45a0f6(0x3e2)],_0x1362e3=_0x3cf60e[_0x45a0f6(0x3e2)],_0x2810fe=this[_0x45a0f6(0x3f3)],_0x50a95d=_0x3cf60e['sigBytes'];if(this[_0x45a0f6(0x206)](),_0x2810fe%0x4)for(var _0x3df042=0x0;_0x3df042<_0x50a95d;_0x3df042++){var _0x265c20=_0x1362e3[_0x3df042>>>0x2]>>>0x18-_0x3df042%0x4*0x8&0xff;_0x196934[_0x2810fe+_0x3df042>>>0x2]|=_0x265c20<<0x18-(_0x2810fe+_0x3df042)%0x4*0x8;}else{for(var _0x1e62ac=0x0;_0x1e62ac<_0x50a95d;_0x1e62ac+=0x4)_0x196934[_0x2810fe+_0x1e62ac>>>0x2]=_0x1362e3[_0x1e62ac>>>0x2];}return this[_0x45a0f6(0x3f3)]+=_0x50a95d,this;},'clamp':function(){var _0x3b0d85=_0x58a604,_0x1b7dce=this[_0x3b0d85(0x3e2)],_0x3e3447=this[_0x3b0d85(0x3f3)];_0x1b7dce[_0x3e3447>>>0x2]&=0xffffffff<<0x20-_0x3e3447%0x4*0x8,_0x1b7dce[_0x3b0d85(0x3a3)]=_0x52687a[_0x3b0d85(0x229)](_0x3e3447/0x4);},'clone':function(){var _0x79b7c9=_0x58a604,_0x59a983=_0x4408af[_0x79b7c9(0x3fb)][_0x79b7c9(0x384)](this);return _0x59a983[_0x79b7c9(0x3e2)]=this[_0x79b7c9(0x3e2)]['slice'](0x0),_0x59a983;},'random':function(_0x213d72){var _0x4e50a9=_0x58a604;for(var _0x14a321=[],_0x394504=0x0;_0x394504<_0x213d72;_0x394504+=0x4)_0x14a321[_0x4e50a9(0x1e9)](_0x2667e3());return new _0x517592[(_0x4e50a9(0x331))](_0x14a321,_0x213d72);}}),_0x205f7e=_0x338a9c[_0x58a604(0x1ea)]={},_0x9235ba=_0x205f7e['Hex']={'stringify':function(_0x43b7ff){var _0x461d7b=_0x58a604;for(var _0x5c935f=_0x43b7ff[_0x461d7b(0x3e2)],_0xafb2f7=_0x43b7ff[_0x461d7b(0x3f3)],_0x374bd6=[],_0x4a4b39=0x0;_0x4a4b39<_0xafb2f7;_0x4a4b39++){var _0x28e6a6=_0x5c935f[_0x4a4b39>>>0x2]>>>0x18-_0x4a4b39%0x4*0x8&0xff;_0x374bd6['push']((_0x28e6a6>>>0x4)['toString'](0x10)),_0x374bd6[_0x461d7b(0x1e9)]((_0x28e6a6&0xf)[_0x461d7b(0x338)](0x10));}return _0x374bd6[_0x461d7b(0x16b)]('');},'parse':function(_0x4eadf5){var _0x48d60a=_0x58a604;for(var _0x337c45=_0x4eadf5[_0x48d60a(0x3a3)],_0x4e5f01=[],_0x361858=0x0;_0x361858<_0x337c45;_0x361858+=0x2)_0x4e5f01[_0x361858>>>0x3]|=parseInt(_0x4eadf5['substr'](_0x361858,0x2),0x10)<<0x18-_0x361858%0x8*0x4;return new _0x517592[(_0x48d60a(0x331))](_0x4e5f01,_0x337c45/0x2);}},_0x56635f=_0x205f7e[_0x58a604(0x228)]={'stringify':function(_0x431002){var _0x5406ea=_0x58a604;for(var _0x36c435=_0x431002['words'],_0x43b30c=_0x431002[_0x5406ea(0x3f3)],_0x29458e=[],_0x29b5a6=0x0;_0x29b5a6<_0x43b30c;_0x29b5a6++){var _0x29ee8e=_0x36c435[_0x29b5a6>>>0x2]>>>0x18-_0x29b5a6%0x4*0x8&0xff;_0x29458e['push'](String[_0x5406ea(0x339)](_0x29ee8e));}return _0x29458e['join']('');},'parse':function(_0x3f060a){var _0x171924=_0x58a604;for(var _0x1518b2=_0x3f060a[_0x171924(0x3a3)],_0x30bf00=[],_0x4eaf89=0x0;_0x4eaf89<_0x1518b2;_0x4eaf89++)_0x30bf00[_0x4eaf89>>>0x2]|=(_0x3f060a[_0x171924(0x3c5)](_0x4eaf89)&0xff)<<0x18-_0x4eaf89%0x4*0x8;return new _0x517592['init'](_0x30bf00,_0x1518b2);}},_0x53ff79=_0x205f7e[_0x58a604(0x165)]={'stringify':function(_0x242bed){var _0x2a704f=_0x58a604;try{return decodeURIComponent(escape(_0x56635f[_0x2a704f(0x24e)](_0x242bed)));}catch{throw new Error(_0x2a704f(0x1ad));}},'parse':function(_0x223d7c){var _0xad9502=_0x58a604;return _0x56635f[_0xad9502(0x2bd)](unescape(encodeURIComponent(_0x223d7c)));}},_0x3ee286=_0x119667[_0x58a604(0x329)]=_0x4408af[_0x58a604(0x2c1)]({'reset':function(){var _0x1ddb72=_0x58a604;this[_0x1ddb72(0x391)]=new _0x517592[(_0x1ddb72(0x331))](),this[_0x1ddb72(0x3c1)]=0x0;},'_append':function(_0x4acc81){var _0x134a41=_0x58a604;typeof _0x4acc81==_0x134a41(0x261)&&(_0x4acc81=_0x53ff79['parse'](_0x4acc81)),this['_data'][_0x134a41(0x3ce)](_0x4acc81),this[_0x134a41(0x3c1)]+=_0x4acc81[_0x134a41(0x3f3)];},'_process':function(_0x3fbc71){var _0x4308e4=_0x58a604,_0x23abe6,_0x1a0a1e=this[_0x4308e4(0x391)],_0x44e9cd=_0x1a0a1e['words'],_0x58370e=_0x1a0a1e['sigBytes'],_0x4a3284=this['blockSize'],_0x221a2d=_0x4a3284*0x4,_0x167797=_0x58370e/_0x221a2d;_0x3fbc71?_0x167797=_0x52687a['ceil'](_0x167797):_0x167797=_0x52687a['max']((_0x167797|0x0)-this[_0x4308e4(0x17d)],0x0);var _0x36d0d7=_0x167797*_0x4a3284,_0x49a6b6=_0x52687a[_0x4308e4(0x3b8)](_0x36d0d7*0x4,_0x58370e);if(_0x36d0d7){for(var _0x2c6097=0x0;_0x2c6097<_0x36d0d7;_0x2c6097+=_0x4a3284)this[_0x4308e4(0x2a7)](_0x44e9cd,_0x2c6097);_0x23abe6=_0x44e9cd['splice'](0x0,_0x36d0d7),_0x1a0a1e[_0x4308e4(0x3f3)]-=_0x49a6b6;}return new _0x517592[(_0x4308e4(0x331))](_0x23abe6,_0x49a6b6);},'clone':function(){var _0x1a67c9=_0x58a604,_0x3a15d1=_0x4408af['clone'][_0x1a67c9(0x384)](this);return _0x3a15d1[_0x1a67c9(0x391)]=this[_0x1a67c9(0x391)]['clone'](),_0x3a15d1;},'_minBufferSize':0x0});_0x119667[_0x58a604(0x310)]=_0x3ee286[_0x58a604(0x2c1)]({'cfg':_0x4408af[_0x58a604(0x2c1)](),'init':function(_0x3298c0){var _0x30f4b8=_0x58a604;this[_0x30f4b8(0x262)]=this[_0x30f4b8(0x262)][_0x30f4b8(0x2c1)](_0x3298c0),this['reset']();},'reset':function(){var _0x48d82e=_0x58a604;_0x3ee286[_0x48d82e(0x223)][_0x48d82e(0x384)](this),this[_0x48d82e(0x3b4)]();},'update':function(_0x30d416){var _0x104246=_0x58a604;return this[_0x104246(0x288)](_0x30d416),this['_process'](),this;},'finalize':function(_0xc550d){var _0x4bdd8e=_0x58a604;_0xc550d&&this[_0x4bdd8e(0x288)](_0xc550d);var _0x52c39d=this['_doFinalize']();return _0x52c39d;},'blockSize':0x10,'_createHelper':function(_0x1d4095){return function(_0x46b19c,_0x2fb06a){var _0x3482a6=_0x3ae5;return new _0x1d4095[(_0x3482a6(0x331))](_0x2fb06a)[_0x3482a6(0x364)](_0x46b19c);};},'_createHmacHelper':function(_0x1d087c){return function(_0x53254e,_0x5e74a1){var _0x26bd8a=_0x3ae5;return new _0x5cb023[(_0x26bd8a(0x3bd))][(_0x26bd8a(0x331))](_0x1d087c,_0x5e74a1)[_0x26bd8a(0x364)](_0x53254e);};}});var _0x5cb023=_0x338a9c[_0x58a604(0x2ae)]={};return _0x338a9c;}(Math);return _0x32dd8a;}));}(Ge)),Ge[_0xcf306b(0x2a8)];}var We={'exports':{}},Er=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0x4702a8,_0x5204ee){(function(_0x97370e,_0x23b017){var _0x250e93=_0x3ae5;_0x4702a8[_0x250e93(0x2a8)]=_0x23b017(ie());}(Er,function(_0x5f16bd){var _0x54471d=_0x3ae5;return(function(){var _0x42fcca=_0x3ae5,_0x39f379=_0x5f16bd,_0x888007=_0x39f379[_0x42fcca(0x289)],_0x122e4a=_0x888007[_0x42fcca(0x419)],_0x2a82d9=_0x39f379[_0x42fcca(0x1ea)];_0x2a82d9[_0x42fcca(0x3de)]={'stringify':function(_0x962e03){var _0x234832=_0x42fcca,_0x2ad167=_0x962e03[_0x234832(0x3e2)],_0x4866b3=_0x962e03[_0x234832(0x3f3)],_0x3b39d2=this[_0x234832(0x2c3)];_0x962e03[_0x234832(0x206)]();for(var _0x197e95=[],_0x11a2cd=0x0;_0x11a2cd<_0x4866b3;_0x11a2cd+=0x3)for(var _0x174450=_0x2ad167[_0x11a2cd>>>0x2]>>>0x18-_0x11a2cd%0x4*0x8&0xff,_0x12bcd3=_0x2ad167[_0x11a2cd+0x1>>>0x2]>>>0x18-(_0x11a2cd+0x1)%0x4*0x8&0xff,_0xc10305=_0x2ad167[_0x11a2cd+0x2>>>0x2]>>>0x18-(_0x11a2cd+0x2)%0x4*0x8&0xff,_0x554f27=_0x174450<<0x10|_0x12bcd3<<0x8|_0xc10305,_0x4b1a4a=0x0;_0x4b1a4a<0x4&&_0x11a2cd+_0x4b1a4a*0.75<_0x4866b3;_0x4b1a4a++)_0x197e95[_0x234832(0x1e9)](_0x3b39d2[_0x234832(0x382)](_0x554f27>>>0x6*(0x3-_0x4b1a4a)&0x3f));var _0xc6c30b=_0x3b39d2[_0x234832(0x382)](0x40);if(_0xc6c30b){for(;_0x197e95[_0x234832(0x3a3)]%0x4;)_0x197e95[_0x234832(0x1e9)](_0xc6c30b);}return _0x197e95['join']('');},'parse':function(_0x5d1c6e){var _0x349291=_0x42fcca,_0x3b7f35=_0x5d1c6e[_0x349291(0x3a3)],_0x3468d3=this[_0x349291(0x2c3)],_0x2c224e=this[_0x349291(0x141)];if(!_0x2c224e){_0x2c224e=this[_0x349291(0x141)]=[];for(var _0x12affe=0x0;_0x12affe<_0x3468d3['length'];_0x12affe++)_0x2c224e[_0x3468d3['charCodeAt'](_0x12affe)]=_0x12affe;}var _0x15f87e=_0x3468d3[_0x349291(0x382)](0x40);if(_0x15f87e){var _0x5b580f=_0x5d1c6e['indexOf'](_0x15f87e);_0x5b580f!==-0x1&&(_0x3b7f35=_0x5b580f);}return _0x381c1f(_0x5d1c6e,_0x3b7f35,_0x2c224e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x381c1f(_0x233521,_0x3a7184,_0x3c6c2f){var _0x298e71=_0x42fcca;for(var _0x452193=[],_0x348cd2=0x0,_0x4becad=0x0;_0x4becad<_0x3a7184;_0x4becad++)if(_0x4becad%0x4){var _0x38b404=_0x3c6c2f[_0x233521[_0x298e71(0x3c5)](_0x4becad-0x1)]<<_0x4becad%0x4*0x2,_0x18aa18=_0x3c6c2f[_0x233521[_0x298e71(0x3c5)](_0x4becad)]>>>0x6-_0x4becad%0x4*0x2,_0x31dd90=_0x38b404|_0x18aa18;_0x452193[_0x348cd2>>>0x2]|=_0x31dd90<<0x18-_0x348cd2%0x4*0x8,_0x348cd2++;}return _0x122e4a['create'](_0x452193,_0x348cd2);}}()),_0x5f16bd['enc'][_0x54471d(0x3de)];}));}(We)),We['exports'];}var Ke={'exports':{}},Ir=Ke[_0x5ecaf8(0x2a8)],Qt;function Tr(){var _0x27f726=_0x5ecaf8;return Qt||(Qt=0x1,function(_0x3b5ac6,_0x520d4e){(function(_0x59c57b,_0x4c43c9){_0x3b5ac6['exports']=_0x4c43c9(ie());}(Ir,function(_0x513313){var _0x545968=_0x3ae5;return function(_0x4d1cc3){var _0x581b1a=_0x3ae5,_0x245df7=_0x513313,_0x521fcf=_0x245df7[_0x581b1a(0x289)],_0x3922ca=_0x521fcf[_0x581b1a(0x419)],_0x44bb41=_0x521fcf[_0x581b1a(0x310)],_0x43de7a=_0x245df7['algo'],_0x57ba54=[];(function(){var _0x2434bb=_0x581b1a;for(var _0x5de9eb=0x0;_0x5de9eb<0x40;_0x5de9eb++)_0x57ba54[_0x5de9eb]=_0x4d1cc3[_0x2434bb(0x3c8)](_0x4d1cc3['sin'](_0x5de9eb+0x1))*0x100000000|0x0;}());var _0x28a285=_0x43de7a[_0x581b1a(0x2a6)]=_0x44bb41[_0x581b1a(0x2c1)]({'_doReset':function(){var _0x4371bf=_0x581b1a;this[_0x4371bf(0x306)]=new _0x3922ca[(_0x4371bf(0x331))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x372b2d,_0x57888e){var _0x5d52bd=_0x581b1a;for(var _0x2d0ce7=0x0;_0x2d0ce7<0x10;_0x2d0ce7++){var _0x49e38a=_0x57888e+_0x2d0ce7,_0x5176ba=_0x372b2d[_0x49e38a];_0x372b2d[_0x49e38a]=(_0x5176ba<<0x8|_0x5176ba>>>0x18)&0xff00ff|(_0x5176ba<<0x18|_0x5176ba>>>0x8)&0xff00ff00;}var _0x527b7e=this[_0x5d52bd(0x306)][_0x5d52bd(0x3e2)],_0x439c58=_0x372b2d[_0x57888e+0x0],_0x51b9af=_0x372b2d[_0x57888e+0x1],_0x508ebb=_0x372b2d[_0x57888e+0x2],_0x5df9be=_0x372b2d[_0x57888e+0x3],_0xd92f9a=_0x372b2d[_0x57888e+0x4],_0x1db3ff=_0x372b2d[_0x57888e+0x5],_0x37679a=_0x372b2d[_0x57888e+0x6],_0x48ce99=_0x372b2d[_0x57888e+0x7],_0x14384e=_0x372b2d[_0x57888e+0x8],_0x1d9dd2=_0x372b2d[_0x57888e+0x9],_0x53f7fb=_0x372b2d[_0x57888e+0xa],_0x13c711=_0x372b2d[_0x57888e+0xb],_0x3e6af6=_0x372b2d[_0x57888e+0xc],_0x4eea5d=_0x372b2d[_0x57888e+0xd],_0x2f7a70=_0x372b2d[_0x57888e+0xe],_0x54de25=_0x372b2d[_0x57888e+0xf],_0x40d8e8=_0x527b7e[0x0],_0x3191ce=_0x527b7e[0x1],_0x502400=_0x527b7e[0x2],_0xb2c979=_0x527b7e[0x3];_0x40d8e8=_0x143988(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x439c58,0x7,_0x57ba54[0x0]),_0xb2c979=_0x143988(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x51b9af,0xc,_0x57ba54[0x1]),_0x502400=_0x143988(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x508ebb,0x11,_0x57ba54[0x2]),_0x3191ce=_0x143988(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x5df9be,0x16,_0x57ba54[0x3]),_0x40d8e8=_0x143988(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0xd92f9a,0x7,_0x57ba54[0x4]),_0xb2c979=_0x143988(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x1db3ff,0xc,_0x57ba54[0x5]),_0x502400=_0x143988(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x37679a,0x11,_0x57ba54[0x6]),_0x3191ce=_0x143988(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x48ce99,0x16,_0x57ba54[0x7]),_0x40d8e8=_0x143988(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x14384e,0x7,_0x57ba54[0x8]),_0xb2c979=_0x143988(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x1d9dd2,0xc,_0x57ba54[0x9]),_0x502400=_0x143988(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x53f7fb,0x11,_0x57ba54[0xa]),_0x3191ce=_0x143988(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x13c711,0x16,_0x57ba54[0xb]),_0x40d8e8=_0x143988(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x3e6af6,0x7,_0x57ba54[0xc]),_0xb2c979=_0x143988(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x4eea5d,0xc,_0x57ba54[0xd]),_0x502400=_0x143988(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x2f7a70,0x11,_0x57ba54[0xe]),_0x3191ce=_0x143988(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x54de25,0x16,_0x57ba54[0xf]),_0x40d8e8=_0x33669a(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x51b9af,0x5,_0x57ba54[0x10]),_0xb2c979=_0x33669a(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x37679a,0x9,_0x57ba54[0x11]),_0x502400=_0x33669a(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x13c711,0xe,_0x57ba54[0x12]),_0x3191ce=_0x33669a(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x439c58,0x14,_0x57ba54[0x13]),_0x40d8e8=_0x33669a(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x1db3ff,0x5,_0x57ba54[0x14]),_0xb2c979=_0x33669a(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x53f7fb,0x9,_0x57ba54[0x15]),_0x502400=_0x33669a(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x54de25,0xe,_0x57ba54[0x16]),_0x3191ce=_0x33669a(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0xd92f9a,0x14,_0x57ba54[0x17]),_0x40d8e8=_0x33669a(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x1d9dd2,0x5,_0x57ba54[0x18]),_0xb2c979=_0x33669a(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x2f7a70,0x9,_0x57ba54[0x19]),_0x502400=_0x33669a(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x5df9be,0xe,_0x57ba54[0x1a]),_0x3191ce=_0x33669a(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x14384e,0x14,_0x57ba54[0x1b]),_0x40d8e8=_0x33669a(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x4eea5d,0x5,_0x57ba54[0x1c]),_0xb2c979=_0x33669a(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x508ebb,0x9,_0x57ba54[0x1d]),_0x502400=_0x33669a(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x48ce99,0xe,_0x57ba54[0x1e]),_0x3191ce=_0x33669a(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x3e6af6,0x14,_0x57ba54[0x1f]),_0x40d8e8=_0x59f7d5(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x1db3ff,0x4,_0x57ba54[0x20]),_0xb2c979=_0x59f7d5(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x14384e,0xb,_0x57ba54[0x21]),_0x502400=_0x59f7d5(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x13c711,0x10,_0x57ba54[0x22]),_0x3191ce=_0x59f7d5(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x2f7a70,0x17,_0x57ba54[0x23]),_0x40d8e8=_0x59f7d5(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x51b9af,0x4,_0x57ba54[0x24]),_0xb2c979=_0x59f7d5(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0xd92f9a,0xb,_0x57ba54[0x25]),_0x502400=_0x59f7d5(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x48ce99,0x10,_0x57ba54[0x26]),_0x3191ce=_0x59f7d5(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x53f7fb,0x17,_0x57ba54[0x27]),_0x40d8e8=_0x59f7d5(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x4eea5d,0x4,_0x57ba54[0x28]),_0xb2c979=_0x59f7d5(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x439c58,0xb,_0x57ba54[0x29]),_0x502400=_0x59f7d5(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x5df9be,0x10,_0x57ba54[0x2a]),_0x3191ce=_0x59f7d5(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x37679a,0x17,_0x57ba54[0x2b]),_0x40d8e8=_0x59f7d5(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x1d9dd2,0x4,_0x57ba54[0x2c]),_0xb2c979=_0x59f7d5(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x3e6af6,0xb,_0x57ba54[0x2d]),_0x502400=_0x59f7d5(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x54de25,0x10,_0x57ba54[0x2e]),_0x3191ce=_0x59f7d5(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x508ebb,0x17,_0x57ba54[0x2f]),_0x40d8e8=_0x36023c(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x439c58,0x6,_0x57ba54[0x30]),_0xb2c979=_0x36023c(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x48ce99,0xa,_0x57ba54[0x31]),_0x502400=_0x36023c(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x2f7a70,0xf,_0x57ba54[0x32]),_0x3191ce=_0x36023c(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x1db3ff,0x15,_0x57ba54[0x33]),_0x40d8e8=_0x36023c(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x3e6af6,0x6,_0x57ba54[0x34]),_0xb2c979=_0x36023c(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x5df9be,0xa,_0x57ba54[0x35]),_0x502400=_0x36023c(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x53f7fb,0xf,_0x57ba54[0x36]),_0x3191ce=_0x36023c(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x51b9af,0x15,_0x57ba54[0x37]),_0x40d8e8=_0x36023c(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0x14384e,0x6,_0x57ba54[0x38]),_0xb2c979=_0x36023c(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x54de25,0xa,_0x57ba54[0x39]),_0x502400=_0x36023c(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x37679a,0xf,_0x57ba54[0x3a]),_0x3191ce=_0x36023c(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x4eea5d,0x15,_0x57ba54[0x3b]),_0x40d8e8=_0x36023c(_0x40d8e8,_0x3191ce,_0x502400,_0xb2c979,_0xd92f9a,0x6,_0x57ba54[0x3c]),_0xb2c979=_0x36023c(_0xb2c979,_0x40d8e8,_0x3191ce,_0x502400,_0x13c711,0xa,_0x57ba54[0x3d]),_0x502400=_0x36023c(_0x502400,_0xb2c979,_0x40d8e8,_0x3191ce,_0x508ebb,0xf,_0x57ba54[0x3e]),_0x3191ce=_0x36023c(_0x3191ce,_0x502400,_0xb2c979,_0x40d8e8,_0x1d9dd2,0x15,_0x57ba54[0x3f]),_0x527b7e[0x0]=_0x527b7e[0x0]+_0x40d8e8|0x0,_0x527b7e[0x1]=_0x527b7e[0x1]+_0x3191ce|0x0,_0x527b7e[0x2]=_0x527b7e[0x2]+_0x502400|0x0,_0x527b7e[0x3]=_0x527b7e[0x3]+_0xb2c979|0x0;},'_doFinalize':function(){var _0x316126=_0x581b1a,_0x1727a4=this['_data'],_0x37ed63=_0x1727a4['words'],_0x2896c2=this[_0x316126(0x3c1)]*0x8,_0xd6915f=_0x1727a4[_0x316126(0x3f3)]*0x8;_0x37ed63[_0xd6915f>>>0x5]|=0x80<<0x18-_0xd6915f%0x20;var _0x441310=_0x4d1cc3['floor'](_0x2896c2/0x100000000),_0x1fc411=_0x2896c2;_0x37ed63[(_0xd6915f+0x40>>>0x9<<0x4)+0xf]=(_0x441310<<0x8|_0x441310>>>0x18)&0xff00ff|(_0x441310<<0x18|_0x441310>>>0x8)&0xff00ff00,_0x37ed63[(_0xd6915f+0x40>>>0x9<<0x4)+0xe]=(_0x1fc411<<0x8|_0x1fc411>>>0x18)&0xff00ff|(_0x1fc411<<0x18|_0x1fc411>>>0x8)&0xff00ff00,_0x1727a4[_0x316126(0x3f3)]=(_0x37ed63[_0x316126(0x3a3)]+0x1)*0x4,this[_0x316126(0x2e0)]();for(var _0x4ef6d5=this[_0x316126(0x306)],_0x342262=_0x4ef6d5['words'],_0x33e7e0=0x0;_0x33e7e0<0x4;_0x33e7e0++){var _0x185dd4=_0x342262[_0x33e7e0];_0x342262[_0x33e7e0]=(_0x185dd4<<0x8|_0x185dd4>>>0x18)&0xff00ff|(_0x185dd4<<0x18|_0x185dd4>>>0x8)&0xff00ff00;}return _0x4ef6d5;},'clone':function(){var _0xeddf6f=_0x581b1a,_0x45594f=_0x44bb41[_0xeddf6f(0x3fb)][_0xeddf6f(0x384)](this);return _0x45594f['_hash']=this['_hash'][_0xeddf6f(0x3fb)](),_0x45594f;}});function _0x143988(_0xf54891,_0x3ae43f,_0x36ea86,_0x954940,_0x179793,_0x4e6a76,_0x64c4d8){var _0x19e8da=_0xf54891+(_0x3ae43f&_0x36ea86|~_0x3ae43f&_0x954940)+_0x179793+_0x64c4d8;return(_0x19e8da<<_0x4e6a76|_0x19e8da>>>0x20-_0x4e6a76)+_0x3ae43f;}function _0x33669a(_0x49dfc6,_0x28b7c1,_0xba35ec,_0x21e9b3,_0x25880a,_0x1f375e,_0x547947){var _0x4613f4=_0x49dfc6+(_0x28b7c1&_0x21e9b3|_0xba35ec&~_0x21e9b3)+_0x25880a+_0x547947;return(_0x4613f4<<_0x1f375e|_0x4613f4>>>0x20-_0x1f375e)+_0x28b7c1;}function _0x59f7d5(_0x4255f,_0x4adf5f,_0x26e248,_0x1a4924,_0x55abea,_0x576fc8,_0x5ebeb1){var _0x50b7e6=_0x4255f+(_0x4adf5f^_0x26e248^_0x1a4924)+_0x55abea+_0x5ebeb1;return(_0x50b7e6<<_0x576fc8|_0x50b7e6>>>0x20-_0x576fc8)+_0x4adf5f;}function _0x36023c(_0x2a4dfb,_0x13f257,_0x3d5376,_0x49f9cf,_0x33e4eb,_0x4c629e,_0x114db4){var _0x5169e7=_0x2a4dfb+(_0x3d5376^(_0x13f257|~_0x49f9cf))+_0x33e4eb+_0x114db4;return(_0x5169e7<<_0x4c629e|_0x5169e7>>>0x20-_0x4c629e)+_0x13f257;}_0x245df7['MD5']=_0x44bb41['_createHelper'](_0x28a285),_0x245df7[_0x581b1a(0x259)]=_0x44bb41['_createHmacHelper'](_0x28a285);}(Math),_0x513313[_0x545968(0x2a6)];}));}(Ke)),Ke[_0x27f726(0x2a8)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x5ecaf8(0x2a8)],ei;function Rr(){var _0x561512=_0x5ecaf8;return ei||(ei=0x1,function(_0x4e78c8,_0x34d14b){(function(_0x5a5bfe,_0x22165b){_0x4e78c8['exports']=_0x22165b(ie());}(Cr,function(_0x39fdc5){var _0x4c3eeb=_0x3ae5;return(function(){var _0x2f739a=_0x3ae5,_0x1e17e6=_0x39fdc5,_0x4feb1c=_0x1e17e6[_0x2f739a(0x289)],_0x3f5b58=_0x4feb1c['WordArray'],_0x4299b1=_0x4feb1c[_0x2f739a(0x310)],_0x3d1959=_0x1e17e6[_0x2f739a(0x2ae)],_0x3e8a3f=[],_0x2fa888=_0x3d1959[_0x2f739a(0x1d4)]=_0x4299b1[_0x2f739a(0x2c1)]({'_doReset':function(){var _0x5c4ccf=_0x2f739a;this['_hash']=new _0x3f5b58[(_0x5c4ccf(0x331))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d39d0,_0x289320){for(var _0x170ff8=this['_hash']['words'],_0x2a56d8=_0x170ff8[0x0],_0x6c34f3=_0x170ff8[0x1],_0x75dc6f=_0x170ff8[0x2],_0x358b0c=_0x170ff8[0x3],_0x1304cd=_0x170ff8[0x4],_0x501149=0x0;_0x501149<0x50;_0x501149++){if(_0x501149<0x10)_0x3e8a3f[_0x501149]=_0x1d39d0[_0x289320+_0x501149]|0x0;else{var _0x55979f=_0x3e8a3f[_0x501149-0x3]^_0x3e8a3f[_0x501149-0x8]^_0x3e8a3f[_0x501149-0xe]^_0x3e8a3f[_0x501149-0x10];_0x3e8a3f[_0x501149]=_0x55979f<<0x1|_0x55979f>>>0x1f;}var _0x2ca273=(_0x2a56d8<<0x5|_0x2a56d8>>>0x1b)+_0x1304cd+_0x3e8a3f[_0x501149];_0x501149<0x14?_0x2ca273+=(_0x6c34f3&_0x75dc6f|~_0x6c34f3&_0x358b0c)+0x5a827999:_0x501149<0x28?_0x2ca273+=(_0x6c34f3^_0x75dc6f^_0x358b0c)+0x6ed9eba1:_0x501149<0x3c?_0x2ca273+=(_0x6c34f3&_0x75dc6f|_0x6c34f3&_0x358b0c|_0x75dc6f&_0x358b0c)-0x70e44324:_0x2ca273+=(_0x6c34f3^_0x75dc6f^_0x358b0c)-0x359d3e2a,_0x1304cd=_0x358b0c,_0x358b0c=_0x75dc6f,_0x75dc6f=_0x6c34f3<<0x1e|_0x6c34f3>>>0x2,_0x6c34f3=_0x2a56d8,_0x2a56d8=_0x2ca273;}_0x170ff8[0x0]=_0x170ff8[0x0]+_0x2a56d8|0x0,_0x170ff8[0x1]=_0x170ff8[0x1]+_0x6c34f3|0x0,_0x170ff8[0x2]=_0x170ff8[0x2]+_0x75dc6f|0x0,_0x170ff8[0x3]=_0x170ff8[0x3]+_0x358b0c|0x0,_0x170ff8[0x4]=_0x170ff8[0x4]+_0x1304cd|0x0;},'_doFinalize':function(){var _0x3bf946=_0x2f739a,_0x4a4a2d=this[_0x3bf946(0x391)],_0x55cbdb=_0x4a4a2d[_0x3bf946(0x3e2)],_0x2a62ee=this[_0x3bf946(0x3c1)]*0x8,_0x16c925=_0x4a4a2d[_0x3bf946(0x3f3)]*0x8;return _0x55cbdb[_0x16c925>>>0x5]|=0x80<<0x18-_0x16c925%0x20,_0x55cbdb[(_0x16c925+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2a62ee/0x100000000),_0x55cbdb[(_0x16c925+0x40>>>0x9<<0x4)+0xf]=_0x2a62ee,_0x4a4a2d[_0x3bf946(0x3f3)]=_0x55cbdb['length']*0x4,this['_process'](),this[_0x3bf946(0x306)];},'clone':function(){var _0x402716=_0x2f739a,_0x762f9=_0x4299b1['clone'][_0x402716(0x384)](this);return _0x762f9[_0x402716(0x306)]=this['_hash'][_0x402716(0x3fb)](),_0x762f9;}});_0x1e17e6[_0x2f739a(0x1d4)]=_0x4299b1[_0x2f739a(0x207)](_0x2fa888),_0x1e17e6['HmacSHA1']=_0x4299b1['_createHmacHelper'](_0x2fa888);}()),_0x39fdc5[_0x4c3eeb(0x1d4)];}));}(qe)),qe[_0x561512(0x2a8)];}var ze={'exports':{}},br=ze[_0x5ecaf8(0x2a8)],ti;function yr(){var _0x5a1b75=_0x5ecaf8;return ti||(ti=0x1,function(_0x59476a,_0x379741){(function(_0x55090b,_0x1bf9bc){var _0x43a466=_0x3ae5;_0x59476a[_0x43a466(0x2a8)]=_0x1bf9bc(ie());}(br,function(_0x12ea0c){(function(){var _0x16e1fa=_0x3ae5,_0x5d4dfc=_0x12ea0c,_0x1f0d3a=_0x5d4dfc['lib'],_0x3ccbb4=_0x1f0d3a['Base'],_0x4ab65b=_0x5d4dfc['enc'],_0x11241a=_0x4ab65b[_0x16e1fa(0x165)],_0xffedb7=_0x5d4dfc[_0x16e1fa(0x2ae)];_0xffedb7[_0x16e1fa(0x3bd)]=_0x3ccbb4[_0x16e1fa(0x2c1)]({'init':function(_0x1bbc04,_0x106ee2){var _0x52577f=_0x16e1fa;_0x1bbc04=this['_hasher']=new _0x1bbc04[(_0x52577f(0x331))](),typeof _0x106ee2==_0x52577f(0x261)&&(_0x106ee2=_0x11241a[_0x52577f(0x2bd)](_0x106ee2));var _0x5d8c22=_0x1bbc04[_0x52577f(0x3cb)],_0x42e46c=_0x5d8c22*0x4;_0x106ee2['sigBytes']>_0x42e46c&&(_0x106ee2=_0x1bbc04[_0x52577f(0x364)](_0x106ee2)),_0x106ee2[_0x52577f(0x206)]();for(var _0x2ae348=this['_oKey']=_0x106ee2[_0x52577f(0x3fb)](),_0x439ec1=this['_iKey']=_0x106ee2[_0x52577f(0x3fb)](),_0x58fda0=_0x2ae348['words'],_0x27ebc5=_0x439ec1[_0x52577f(0x3e2)],_0xf323e2=0x0;_0xf323e2<_0x5d8c22;_0xf323e2++)_0x58fda0[_0xf323e2]^=0x5c5c5c5c,_0x27ebc5[_0xf323e2]^=0x36363636;_0x2ae348[_0x52577f(0x3f3)]=_0x439ec1[_0x52577f(0x3f3)]=_0x42e46c,this[_0x52577f(0x223)]();},'reset':function(){var _0x443d54=_0x16e1fa,_0x3604ac=this['_hasher'];_0x3604ac[_0x443d54(0x223)](),_0x3604ac['update'](this['_iKey']);},'update':function(_0x1efd08){var _0x398d1c=_0x16e1fa;return this[_0x398d1c(0x2f5)]['update'](_0x1efd08),this;},'finalize':function(_0x4fb093){var _0x13399f=_0x16e1fa,_0x1fbfd3=this['_hasher'],_0x5b8239=_0x1fbfd3[_0x13399f(0x364)](_0x4fb093);_0x1fbfd3[_0x13399f(0x223)]();var _0x6c8833=_0x1fbfd3[_0x13399f(0x364)](this['_oKey'][_0x13399f(0x3fb)]()[_0x13399f(0x3ce)](_0x5b8239));return _0x6c8833;}});}());}));}(ze)),ze[_0x5a1b75(0x2a8)];}var Or=Ye[_0x5ecaf8(0x2a8)],ii;function Ui(){return ii||(ii=0x1,function(_0x15220f,_0x49281d){(function(_0x4e91c6,_0x534335,_0x3a2af3){var _0x10876d=_0x3ae5;_0x15220f[_0x10876d(0x2a8)]=_0x534335(ie(),Rr(),yr());}(Or,function(_0x5b75d7){var _0x3825e0=_0x3ae5;return(function(){var _0x42ab53=_0x3ae5,_0x226f04=_0x5b75d7,_0x110ccf=_0x226f04['lib'],_0x2abe5d=_0x110ccf[_0x42ab53(0x1a6)],_0x4a32d9=_0x110ccf['WordArray'],_0x4a067d=_0x226f04[_0x42ab53(0x2ae)],_0x5d975a=_0x4a067d[_0x42ab53(0x2a6)],_0x3b6729=_0x4a067d['EvpKDF']=_0x2abe5d['extend']({'cfg':_0x2abe5d['extend']({'keySize':0x80/0x20,'hasher':_0x5d975a,'iterations':0x1}),'init':function(_0x300020){var _0x389819=_0x42ab53;this[_0x389819(0x262)]=this[_0x389819(0x262)][_0x389819(0x2c1)](_0x300020);},'compute':function(_0x2608ab,_0x5f572a){var _0x48ce9a=_0x42ab53;for(var _0x32e8ae,_0x535063=this['cfg'],_0x55e734=_0x535063[_0x48ce9a(0x1d5)][_0x48ce9a(0x2bc)](),_0x5a7805=_0x4a32d9['create'](),_0x276a65=_0x5a7805[_0x48ce9a(0x3e2)],_0x3f37b0=_0x535063[_0x48ce9a(0x38a)],_0xe18d8=_0x535063[_0x48ce9a(0x3a1)];_0x276a65[_0x48ce9a(0x3a3)]<_0x3f37b0;){_0x32e8ae&&_0x55e734['update'](_0x32e8ae),_0x32e8ae=_0x55e734['update'](_0x2608ab)[_0x48ce9a(0x364)](_0x5f572a),_0x55e734[_0x48ce9a(0x223)]();for(var _0xeea0cc=0x1;_0xeea0cc<_0xe18d8;_0xeea0cc++)_0x32e8ae=_0x55e734[_0x48ce9a(0x364)](_0x32e8ae),_0x55e734[_0x48ce9a(0x223)]();_0x5a7805[_0x48ce9a(0x3ce)](_0x32e8ae);}return _0x5a7805[_0x48ce9a(0x3f3)]=_0x3f37b0*0x4,_0x5a7805;}});_0x226f04[_0x42ab53(0x3d1)]=function(_0x275523,_0xd30978,_0x4d8029){var _0x274767=_0x42ab53;return _0x3b6729[_0x274767(0x2bc)](_0x4d8029)['compute'](_0x275523,_0xd30978);};}()),_0x5b75d7[_0x3825e0(0x3d1)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Nr=Je['exports'],ni;function wi(){var _0x40eef9=_0x5ecaf8;return ni||(ni=0x1,function(_0x409d0d,_0x3ca8e2){(function(_0x4cffd2,_0x1b7c0b,_0x579082){_0x409d0d['exports']=_0x1b7c0b(ie(),Ui());}(Nr,function(_0x57d89b){var _0x53ef5c=_0x3ae5;_0x57d89b['lib'][_0x53ef5c(0x1a3)]||function(_0x3e2071){var _0x54c00d=_0x53ef5c,_0x490404=_0x57d89b,_0x14d33a=_0x490404[_0x54c00d(0x289)],_0x4fd62f=_0x14d33a[_0x54c00d(0x1a6)],_0x399829=_0x14d33a['WordArray'],_0x565343=_0x14d33a['BufferedBlockAlgorithm'],_0x548cf1=_0x490404[_0x54c00d(0x1ea)];_0x548cf1[_0x54c00d(0x165)];var _0x24ddb5=_0x548cf1[_0x54c00d(0x3de)],_0x4d0f13=_0x490404[_0x54c00d(0x2ae)],_0x4b8e20=_0x4d0f13['EvpKDF'],_0x4aef30=_0x14d33a[_0x54c00d(0x1a3)]=_0x565343[_0x54c00d(0x2c1)]({'cfg':_0x4fd62f[_0x54c00d(0x2c1)](),'createEncryptor':function(_0x4fdf1f,_0x1fb1b9){var _0x106278=_0x54c00d;return this[_0x106278(0x2bc)](this[_0x106278(0x213)],_0x4fdf1f,_0x1fb1b9);},'createDecryptor':function(_0x58a666,_0x349370){var _0x25ba9b=_0x54c00d;return this[_0x25ba9b(0x2bc)](this['_DEC_XFORM_MODE'],_0x58a666,_0x349370);},'init':function(_0x2d7b7f,_0x592195,_0x572e12){var _0x2fbab2=_0x54c00d;this[_0x2fbab2(0x262)]=this['cfg']['extend'](_0x572e12),this[_0x2fbab2(0x3ca)]=_0x2d7b7f,this[_0x2fbab2(0x3f9)]=_0x592195,this[_0x2fbab2(0x223)]();},'reset':function(){var _0x82bdaa=_0x54c00d;_0x565343[_0x82bdaa(0x223)][_0x82bdaa(0x384)](this),this[_0x82bdaa(0x3b4)]();},'process':function(_0x153b1c){return this['_append'](_0x153b1c),this['_process']();},'finalize':function(_0x467142){var _0x17c50e=_0x54c00d;_0x467142&&this[_0x17c50e(0x288)](_0x467142);var _0x58c113=this[_0x17c50e(0x28f)]();return _0x58c113;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5857ab(_0x111e1a){return typeof _0x111e1a=='string'?_0x52287d:_0x2b3f41;}return function(_0x554bb9){return{'encrypt':function(_0x5c407a,_0x2a5dbf,_0x587b80){var _0x277275=_0x3ae5;return _0x5857ab(_0x2a5dbf)[_0x277275(0x3a8)](_0x554bb9,_0x5c407a,_0x2a5dbf,_0x587b80);},'decrypt':function(_0xd42e28,_0x17cb1c,_0x45cf6d){var _0x35ad0d=_0x3ae5;return _0x5857ab(_0x17cb1c)[_0x35ad0d(0x256)](_0x554bb9,_0xd42e28,_0x17cb1c,_0x45cf6d);}};};}())});_0x14d33a[_0x54c00d(0x421)]=_0x4aef30[_0x54c00d(0x2c1)]({'_doFinalize':function(){var _0x530ab6=this['_process'](!0x0);return _0x530ab6;},'blockSize':0x1});var _0x385dc8=_0x490404[_0x54c00d(0x1a9)]={},_0x630fb0=_0x14d33a['BlockCipherMode']=_0x4fd62f[_0x54c00d(0x2c1)]({'createEncryptor':function(_0x1bcde3,_0x481fb0){var _0x5e8930=_0x54c00d;return this[_0x5e8930(0x406)][_0x5e8930(0x2bc)](_0x1bcde3,_0x481fb0);},'createDecryptor':function(_0x4b9df7,_0x5f4585){var _0x1d431a=_0x54c00d;return this['Decryptor'][_0x1d431a(0x2bc)](_0x4b9df7,_0x5f4585);},'init':function(_0x5e14ea,_0xc5cec0){var _0x48b905=_0x54c00d;this[_0x48b905(0x23e)]=_0x5e14ea,this[_0x48b905(0x176)]=_0xc5cec0;}}),_0x238b39=_0x385dc8[_0x54c00d(0x267)]=(function(){var _0x2bf6db=_0x54c00d,_0x17fed1=_0x630fb0['extend']();_0x17fed1['Encryptor']=_0x17fed1[_0x2bf6db(0x2c1)]({'processBlock':function(_0xa4afa7,_0x312fc4){var _0x1f527c=_0x2bf6db,_0x30ce4d=this[_0x1f527c(0x23e)],_0x1f42ed=_0x30ce4d[_0x1f527c(0x3cb)];_0x482ba6[_0x1f527c(0x384)](this,_0xa4afa7,_0x312fc4,_0x1f42ed),_0x30ce4d[_0x1f527c(0x2b1)](_0xa4afa7,_0x312fc4),this[_0x1f527c(0x311)]=_0xa4afa7[_0x1f527c(0x1c4)](_0x312fc4,_0x312fc4+_0x1f42ed);}}),_0x17fed1[_0x2bf6db(0x243)]=_0x17fed1[_0x2bf6db(0x2c1)]({'processBlock':function(_0x49ea80,_0x4f2c2c){var _0xc520ba=_0x2bf6db,_0x291412=this[_0xc520ba(0x23e)],_0x1721a8=_0x291412[_0xc520ba(0x3cb)],_0x2649da=_0x49ea80[_0xc520ba(0x1c4)](_0x4f2c2c,_0x4f2c2c+_0x1721a8);_0x291412[_0xc520ba(0x1fc)](_0x49ea80,_0x4f2c2c),_0x482ba6['call'](this,_0x49ea80,_0x4f2c2c,_0x1721a8),this[_0xc520ba(0x311)]=_0x2649da;}});function _0x482ba6(_0x6c41d0,_0x2849c1,_0x597862){var _0x3f4861=_0x2bf6db,_0x2b2fc3,_0x34fa43=this[_0x3f4861(0x176)];_0x34fa43?(_0x2b2fc3=_0x34fa43,this[_0x3f4861(0x176)]=_0x3e2071):_0x2b2fc3=this[_0x3f4861(0x311)];for(var _0x46b73e=0x0;_0x46b73e<_0x597862;_0x46b73e++)_0x6c41d0[_0x2849c1+_0x46b73e]^=_0x2b2fc3[_0x46b73e];}return _0x17fed1;}()),_0x225461=_0x490404[_0x54c00d(0x3b7)]={},_0x486b2d=_0x225461[_0x54c00d(0x355)]={'pad':function(_0x343966,_0x48940d){var _0x18c3dd=_0x54c00d;for(var _0x128005=_0x48940d*0x4,_0x4d8014=_0x128005-_0x343966[_0x18c3dd(0x3f3)]%_0x128005,_0x128d33=_0x4d8014<<0x18|_0x4d8014<<0x10|_0x4d8014<<0x8|_0x4d8014,_0xb921a9=[],_0x153d65=0x0;_0x153d65<_0x4d8014;_0x153d65+=0x4)_0xb921a9[_0x18c3dd(0x1e9)](_0x128d33);var _0x128331=_0x399829['create'](_0xb921a9,_0x4d8014);_0x343966['concat'](_0x128331);},'unpad':function(_0x160cf0){var _0x2621f3=_0x54c00d,_0x3a4c99=_0x160cf0['words'][_0x160cf0[_0x2621f3(0x3f3)]-0x1>>>0x2]&0xff;_0x160cf0['sigBytes']-=_0x3a4c99;}};_0x14d33a['BlockCipher']=_0x4aef30[_0x54c00d(0x2c1)]({'cfg':_0x4aef30[_0x54c00d(0x262)][_0x54c00d(0x2c1)]({'mode':_0x238b39,'padding':_0x486b2d}),'reset':function(){var _0x164c42=_0x54c00d,_0x3737ed;_0x4aef30[_0x164c42(0x223)][_0x164c42(0x384)](this);var _0xedc9eb=this[_0x164c42(0x262)],_0xbfbaf8=_0xedc9eb['iv'],_0x5016fc=_0xedc9eb[_0x164c42(0x1a9)];this[_0x164c42(0x3ca)]==this['_ENC_XFORM_MODE']?_0x3737ed=_0x5016fc[_0x164c42(0x232)]:(_0x3737ed=_0x5016fc[_0x164c42(0x38c)],this[_0x164c42(0x17d)]=0x1),this[_0x164c42(0x244)]&&this[_0x164c42(0x244)]['__creator']==_0x3737ed?this['_mode'][_0x164c42(0x331)](this,_0xbfbaf8&&_0xbfbaf8[_0x164c42(0x3e2)]):(this[_0x164c42(0x244)]=_0x3737ed[_0x164c42(0x384)](_0x5016fc,this,_0xbfbaf8&&_0xbfbaf8[_0x164c42(0x3e2)]),this[_0x164c42(0x244)]['__creator']=_0x3737ed);},'_doProcessBlock':function(_0x517deb,_0x10eed6){var _0x3c47ad=_0x54c00d;this[_0x3c47ad(0x244)][_0x3c47ad(0x1ff)](_0x517deb,_0x10eed6);},'_doFinalize':function(){var _0x29fa01=_0x54c00d,_0x59183d,_0x52fe1f=this[_0x29fa01(0x262)][_0x29fa01(0x34e)];return this['_xformMode']==this[_0x29fa01(0x213)]?(_0x52fe1f[_0x29fa01(0x3b7)](this[_0x29fa01(0x391)],this[_0x29fa01(0x3cb)]),_0x59183d=this[_0x29fa01(0x2e0)](!0x0)):(_0x59183d=this[_0x29fa01(0x2e0)](!0x0),_0x52fe1f[_0x29fa01(0x3c3)](_0x59183d)),_0x59183d;},'blockSize':0x80/0x20});var _0x4286dd=_0x14d33a[_0x54c00d(0x38d)]=_0x4fd62f[_0x54c00d(0x2c1)]({'init':function(_0x4770f5){var _0x592070=_0x54c00d;this[_0x592070(0x1c8)](_0x4770f5);},'toString':function(_0x3ba876){var _0x1cf634=_0x54c00d;return(_0x3ba876||this['formatter'])[_0x1cf634(0x24e)](this);}}),_0x4bf8e0=_0x490404[_0x54c00d(0x17b)]={},_0x5a1633=_0x4bf8e0[_0x54c00d(0x2c4)]={'stringify':function(_0x58147b){var _0x198d42=_0x54c00d,_0x4e4c98,_0x158551=_0x58147b['ciphertext'],_0x1df6b0=_0x58147b[_0x198d42(0x13a)];return _0x1df6b0?_0x4e4c98=_0x399829['create']([0x53616c74,0x65645f5f])['concat'](_0x1df6b0)[_0x198d42(0x3ce)](_0x158551):_0x4e4c98=_0x158551,_0x4e4c98['toString'](_0x24ddb5);},'parse':function(_0x4f5c21){var _0x158395=_0x54c00d,_0x5a58af,_0x1b238b=_0x24ddb5['parse'](_0x4f5c21),_0x4a7fab=_0x1b238b[_0x158395(0x3e2)];return _0x4a7fab[0x0]==0x53616c74&&_0x4a7fab[0x1]==0x65645f5f&&(_0x5a58af=_0x399829[_0x158395(0x2bc)](_0x4a7fab[_0x158395(0x1c4)](0x2,0x4)),_0x4a7fab[_0x158395(0x2cd)](0x0,0x4),_0x1b238b[_0x158395(0x3f3)]-=0x10),_0x4286dd['create']({'ciphertext':_0x1b238b,'salt':_0x5a58af});}},_0x2b3f41=_0x14d33a[_0x54c00d(0x19e)]=_0x4fd62f[_0x54c00d(0x2c1)]({'cfg':_0x4fd62f[_0x54c00d(0x2c1)]({'format':_0x5a1633}),'encrypt':function(_0x331c44,_0x39957d,_0x2590f6,_0x11f535){var _0xa39719=_0x54c00d;_0x11f535=this[_0xa39719(0x262)]['extend'](_0x11f535);var _0x24ee8e=_0x331c44[_0xa39719(0x232)](_0x2590f6,_0x11f535),_0x5ce0b6=_0x24ee8e[_0xa39719(0x364)](_0x39957d),_0x2ee46b=_0x24ee8e['cfg'];return _0x4286dd[_0xa39719(0x2bc)]({'ciphertext':_0x5ce0b6,'key':_0x2590f6,'iv':_0x2ee46b['iv'],'algorithm':_0x331c44,'mode':_0x2ee46b['mode'],'padding':_0x2ee46b[_0xa39719(0x34e)],'blockSize':_0x331c44[_0xa39719(0x3cb)],'formatter':_0x11f535[_0xa39719(0x17b)]});},'decrypt':function(_0x37d342,_0x434388,_0x148fe3,_0x199ff2){var _0x328c47=_0x54c00d;_0x199ff2=this[_0x328c47(0x262)][_0x328c47(0x2c1)](_0x199ff2),_0x434388=this[_0x328c47(0x219)](_0x434388,_0x199ff2[_0x328c47(0x17b)]);var _0x2981d7=_0x37d342[_0x328c47(0x38c)](_0x148fe3,_0x199ff2)[_0x328c47(0x364)](_0x434388[_0x328c47(0x16e)]);return _0x2981d7;},'_parse':function(_0x6b3c04,_0x580c9e){var _0x9f8311=_0x54c00d;return typeof _0x6b3c04==_0x9f8311(0x261)?_0x580c9e[_0x9f8311(0x2bd)](_0x6b3c04,this):_0x6b3c04;}}),_0x32030e=_0x490404['kdf']={},_0x4ee2fd=_0x32030e[_0x54c00d(0x2c4)]={'execute':function(_0x43ab05,_0x19d365,_0x22f6e6,_0x32078c,_0x12d41a){var _0x1ff3b9=_0x54c00d;if(_0x32078c||(_0x32078c=_0x399829['random'](0x40/0x8)),_0x12d41a)var _0x4927dc=_0x4b8e20[_0x1ff3b9(0x2bc)]({'keySize':_0x19d365+_0x22f6e6,'hasher':_0x12d41a})[_0x1ff3b9(0x284)](_0x43ab05,_0x32078c);else var _0x4927dc=_0x4b8e20[_0x1ff3b9(0x2bc)]({'keySize':_0x19d365+_0x22f6e6})[_0x1ff3b9(0x284)](_0x43ab05,_0x32078c);var _0x25b49a=_0x399829[_0x1ff3b9(0x2bc)](_0x4927dc[_0x1ff3b9(0x3e2)]['slice'](_0x19d365),_0x22f6e6*0x4);return _0x4927dc[_0x1ff3b9(0x3f3)]=_0x19d365*0x4,_0x4286dd['create']({'key':_0x4927dc,'iv':_0x25b49a,'salt':_0x32078c});}},_0x52287d=_0x14d33a['PasswordBasedCipher']=_0x2b3f41[_0x54c00d(0x2c1)]({'cfg':_0x2b3f41[_0x54c00d(0x262)][_0x54c00d(0x2c1)]({'kdf':_0x4ee2fd}),'encrypt':function(_0x110f31,_0x3761c2,_0x2c59dc,_0x484924){var _0xa00848=_0x54c00d;_0x484924=this['cfg'][_0xa00848(0x2c1)](_0x484924);var _0x34e12e=_0x484924[_0xa00848(0x28e)][_0xa00848(0x1c6)](_0x2c59dc,_0x110f31[_0xa00848(0x38a)],_0x110f31['ivSize'],_0x484924[_0xa00848(0x13a)],_0x484924[_0xa00848(0x1d5)]);_0x484924['iv']=_0x34e12e['iv'];var _0x448e20=_0x2b3f41[_0xa00848(0x3a8)][_0xa00848(0x384)](this,_0x110f31,_0x3761c2,_0x34e12e[_0xa00848(0x371)],_0x484924);return _0x448e20[_0xa00848(0x1c8)](_0x34e12e),_0x448e20;},'decrypt':function(_0x3c2cae,_0x38679b,_0x8d0765,_0xba2a28){var _0x2b8399=_0x54c00d;_0xba2a28=this[_0x2b8399(0x262)][_0x2b8399(0x2c1)](_0xba2a28),_0x38679b=this['_parse'](_0x38679b,_0xba2a28[_0x2b8399(0x17b)]);var _0x284778=_0xba2a28[_0x2b8399(0x28e)][_0x2b8399(0x1c6)](_0x8d0765,_0x3c2cae['keySize'],_0x3c2cae[_0x2b8399(0x318)],_0x38679b[_0x2b8399(0x13a)],_0xba2a28['hasher']);_0xba2a28['iv']=_0x284778['iv'];var _0x5c53b7=_0x2b3f41[_0x2b8399(0x256)][_0x2b8399(0x384)](this,_0x3c2cae,_0x38679b,_0x284778['key'],_0xba2a28);return _0x5c53b7;}});}();}));}(Je)),Je[_0x40eef9(0x2a8)];}var Dr=Ve[_0x5ecaf8(0x2a8)],ri;function Ur(){var _0x1941c3=_0x5ecaf8;return ri||(ri=0x1,function(_0x475bd9,_0x241b9a){(function(_0x11e364,_0x28a593,_0x22b3e5){var _0x2c9759=_0x3ae5;_0x475bd9[_0x2c9759(0x2a8)]=_0x28a593(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x44915d){var _0x3b3959=_0x3ae5;return(function(){var _0x35b928=_0x3ae5,_0x494adb=_0x44915d,_0x18ec11=_0x494adb['lib'],_0x1ee1c4=_0x18ec11['BlockCipher'],_0xfc6730=_0x494adb[_0x35b928(0x2ae)],_0x2354e1=[],_0xc52d39=[],_0x52ed1e=[],_0x46c9a4=[],_0x48936e=[],_0x139df1=[],_0x3c18d3=[],_0x361407=[],_0x442272=[],_0x4ec3fb=[];(function(){for(var _0xc6f125=[],_0x5bf5c7=0x0;_0x5bf5c7<0x100;_0x5bf5c7++)_0x5bf5c7<0x80?_0xc6f125[_0x5bf5c7]=_0x5bf5c7<<0x1:_0xc6f125[_0x5bf5c7]=_0x5bf5c7<<0x1^0x11b;for(var _0x220e4a=0x0,_0x4deae9=0x0,_0x5bf5c7=0x0;_0x5bf5c7<0x100;_0x5bf5c7++){var _0x48e108=_0x4deae9^_0x4deae9<<0x1^_0x4deae9<<0x2^_0x4deae9<<0x3^_0x4deae9<<0x4;_0x48e108=_0x48e108>>>0x8^_0x48e108&0xff^0x63,_0x2354e1[_0x220e4a]=_0x48e108,_0xc52d39[_0x48e108]=_0x220e4a;var _0x2d9d0c=_0xc6f125[_0x220e4a],_0x5da25f=_0xc6f125[_0x2d9d0c],_0x3a78d1=_0xc6f125[_0x5da25f],_0x2a536b=_0xc6f125[_0x48e108]*0x101^_0x48e108*0x1010100;_0x52ed1e[_0x220e4a]=_0x2a536b<<0x18|_0x2a536b>>>0x8,_0x46c9a4[_0x220e4a]=_0x2a536b<<0x10|_0x2a536b>>>0x10,_0x48936e[_0x220e4a]=_0x2a536b<<0x8|_0x2a536b>>>0x18,_0x139df1[_0x220e4a]=_0x2a536b;var _0x2a536b=_0x3a78d1*0x1010101^_0x5da25f*0x10001^_0x2d9d0c*0x101^_0x220e4a*0x1010100;_0x3c18d3[_0x48e108]=_0x2a536b<<0x18|_0x2a536b>>>0x8,_0x361407[_0x48e108]=_0x2a536b<<0x10|_0x2a536b>>>0x10,_0x442272[_0x48e108]=_0x2a536b<<0x8|_0x2a536b>>>0x18,_0x4ec3fb[_0x48e108]=_0x2a536b,_0x220e4a?(_0x220e4a=_0x2d9d0c^_0xc6f125[_0xc6f125[_0xc6f125[_0x3a78d1^_0x2d9d0c]]],_0x4deae9^=_0xc6f125[_0xc6f125[_0x4deae9]]):_0x220e4a=_0x4deae9=0x1;}}());var _0x2bee91=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2353ab=_0xfc6730['AES']=_0x1ee1c4[_0x35b928(0x2c1)]({'_doReset':function(){var _0x54d929=_0x35b928,_0x348827;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x54d929(0x3f9)])){for(var _0x4dba41=this['_keyPriorReset']=this[_0x54d929(0x3f9)],_0x55a862=_0x4dba41['words'],_0x4c140f=_0x4dba41[_0x54d929(0x3f3)]/0x4,_0x138cfb=this[_0x54d929(0x1c5)]=_0x4c140f+0x6,_0x50240c=(_0x138cfb+0x1)*0x4,_0x275ae3=this[_0x54d929(0x3ed)]=[],_0x51d8b2=0x0;_0x51d8b2<_0x50240c;_0x51d8b2++)_0x51d8b2<_0x4c140f?_0x275ae3[_0x51d8b2]=_0x55a862[_0x51d8b2]:(_0x348827=_0x275ae3[_0x51d8b2-0x1],_0x51d8b2%_0x4c140f?_0x4c140f>0x6&&_0x51d8b2%_0x4c140f==0x4&&(_0x348827=_0x2354e1[_0x348827>>>0x18]<<0x18|_0x2354e1[_0x348827>>>0x10&0xff]<<0x10|_0x2354e1[_0x348827>>>0x8&0xff]<<0x8|_0x2354e1[_0x348827&0xff]):(_0x348827=_0x348827<<0x8|_0x348827>>>0x18,_0x348827=_0x2354e1[_0x348827>>>0x18]<<0x18|_0x2354e1[_0x348827>>>0x10&0xff]<<0x10|_0x2354e1[_0x348827>>>0x8&0xff]<<0x8|_0x2354e1[_0x348827&0xff],_0x348827^=_0x2bee91[_0x51d8b2/_0x4c140f|0x0]<<0x18),_0x275ae3[_0x51d8b2]=_0x275ae3[_0x51d8b2-_0x4c140f]^_0x348827);for(var _0x5f3365=this[_0x54d929(0x152)]=[],_0x2b1eac=0x0;_0x2b1eac<_0x50240c;_0x2b1eac++){var _0x51d8b2=_0x50240c-_0x2b1eac;if(_0x2b1eac%0x4)var _0x348827=_0x275ae3[_0x51d8b2];else var _0x348827=_0x275ae3[_0x51d8b2-0x4];_0x2b1eac<0x4||_0x51d8b2<=0x4?_0x5f3365[_0x2b1eac]=_0x348827:_0x5f3365[_0x2b1eac]=_0x3c18d3[_0x2354e1[_0x348827>>>0x18]]^_0x361407[_0x2354e1[_0x348827>>>0x10&0xff]]^_0x442272[_0x2354e1[_0x348827>>>0x8&0xff]]^_0x4ec3fb[_0x2354e1[_0x348827&0xff]];}}},'encryptBlock':function(_0x583607,_0x4adf35){var _0x1b3504=_0x35b928;this[_0x1b3504(0x133)](_0x583607,_0x4adf35,this[_0x1b3504(0x3ed)],_0x52ed1e,_0x46c9a4,_0x48936e,_0x139df1,_0x2354e1);},'decryptBlock':function(_0x320370,_0x347dae){var _0x2dc46a=_0x35b928,_0x5b36d7=_0x320370[_0x347dae+0x1];_0x320370[_0x347dae+0x1]=_0x320370[_0x347dae+0x3],_0x320370[_0x347dae+0x3]=_0x5b36d7,this[_0x2dc46a(0x133)](_0x320370,_0x347dae,this[_0x2dc46a(0x152)],_0x3c18d3,_0x361407,_0x442272,_0x4ec3fb,_0xc52d39);var _0x5b36d7=_0x320370[_0x347dae+0x1];_0x320370[_0x347dae+0x1]=_0x320370[_0x347dae+0x3],_0x320370[_0x347dae+0x3]=_0x5b36d7;},'_doCryptBlock':function(_0x42eb39,_0x8f1354,_0x1a9c16,_0x5bd5d9,_0x34c74f,_0xccf51e,_0xb3aee0,_0x514ced){var _0x416b79=_0x35b928;for(var _0x1fd447=this[_0x416b79(0x1c5)],_0x1bf1a1=_0x42eb39[_0x8f1354]^_0x1a9c16[0x0],_0x486af7=_0x42eb39[_0x8f1354+0x1]^_0x1a9c16[0x1],_0x3e5b95=_0x42eb39[_0x8f1354+0x2]^_0x1a9c16[0x2],_0x41bb90=_0x42eb39[_0x8f1354+0x3]^_0x1a9c16[0x3],_0x2484eb=0x4,_0x19e2a3=0x1;_0x19e2a3<_0x1fd447;_0x19e2a3++){var _0x147886=_0x5bd5d9[_0x1bf1a1>>>0x18]^_0x34c74f[_0x486af7>>>0x10&0xff]^_0xccf51e[_0x3e5b95>>>0x8&0xff]^_0xb3aee0[_0x41bb90&0xff]^_0x1a9c16[_0x2484eb++],_0x5d4f8c=_0x5bd5d9[_0x486af7>>>0x18]^_0x34c74f[_0x3e5b95>>>0x10&0xff]^_0xccf51e[_0x41bb90>>>0x8&0xff]^_0xb3aee0[_0x1bf1a1&0xff]^_0x1a9c16[_0x2484eb++],_0x4e7600=_0x5bd5d9[_0x3e5b95>>>0x18]^_0x34c74f[_0x41bb90>>>0x10&0xff]^_0xccf51e[_0x1bf1a1>>>0x8&0xff]^_0xb3aee0[_0x486af7&0xff]^_0x1a9c16[_0x2484eb++],_0x174d49=_0x5bd5d9[_0x41bb90>>>0x18]^_0x34c74f[_0x1bf1a1>>>0x10&0xff]^_0xccf51e[_0x486af7>>>0x8&0xff]^_0xb3aee0[_0x3e5b95&0xff]^_0x1a9c16[_0x2484eb++];_0x1bf1a1=_0x147886,_0x486af7=_0x5d4f8c,_0x3e5b95=_0x4e7600,_0x41bb90=_0x174d49;}var _0x147886=(_0x514ced[_0x1bf1a1>>>0x18]<<0x18|_0x514ced[_0x486af7>>>0x10&0xff]<<0x10|_0x514ced[_0x3e5b95>>>0x8&0xff]<<0x8|_0x514ced[_0x41bb90&0xff])^_0x1a9c16[_0x2484eb++],_0x5d4f8c=(_0x514ced[_0x486af7>>>0x18]<<0x18|_0x514ced[_0x3e5b95>>>0x10&0xff]<<0x10|_0x514ced[_0x41bb90>>>0x8&0xff]<<0x8|_0x514ced[_0x1bf1a1&0xff])^_0x1a9c16[_0x2484eb++],_0x4e7600=(_0x514ced[_0x3e5b95>>>0x18]<<0x18|_0x514ced[_0x41bb90>>>0x10&0xff]<<0x10|_0x514ced[_0x1bf1a1>>>0x8&0xff]<<0x8|_0x514ced[_0x486af7&0xff])^_0x1a9c16[_0x2484eb++],_0x174d49=(_0x514ced[_0x41bb90>>>0x18]<<0x18|_0x514ced[_0x1bf1a1>>>0x10&0xff]<<0x10|_0x514ced[_0x486af7>>>0x8&0xff]<<0x8|_0x514ced[_0x3e5b95&0xff])^_0x1a9c16[_0x2484eb++];_0x42eb39[_0x8f1354]=_0x147886,_0x42eb39[_0x8f1354+0x1]=_0x5d4f8c,_0x42eb39[_0x8f1354+0x2]=_0x4e7600,_0x42eb39[_0x8f1354+0x3]=_0x174d49;},'keySize':0x100/0x20});_0x494adb[_0x35b928(0x236)]=_0x1ee1c4[_0x35b928(0x207)](_0x2353ab);}()),_0x44915d[_0x3b3959(0x236)];}));}(Ve)),Ve[_0x1941c3(0x2a8)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x5ecaf8(0x2a8)],ai;function Lr(){var _0xfb7493=_0x5ecaf8;return ai||(ai=0x1,function(_0x2d2f1e,_0x199fd5){(function(_0x3a8697,_0x3c6b47){_0x2d2f1e['exports']=_0x3c6b47(ie());}(xr,function(_0x19dc9e){var _0x434238=_0x3ae5;return _0x19dc9e['enc'][_0x434238(0x165)];}));}(Xe)),Xe[_0xfb7493(0x2a8)];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x5ecaf8(0x2a8)],oi;function Hr(){var _0x5a123b=_0x5ecaf8;return oi||(oi=0x1,function(_0x22a1b4,_0x3ddb65){(function(_0x31ea66,_0x21775b){var _0x5a616d=_0x3ae5;_0x22a1b4[_0x5a616d(0x2a8)]=_0x21775b(ie());}($r,function(_0x1271ca){var _0x23dad4=_0x3ae5;return(function(){var _0x520281=_0x3ae5;if(typeof ArrayBuffer==_0x520281(0x24a)){var _0x142ad5=_0x1271ca,_0x18d877=_0x142ad5[_0x520281(0x289)],_0x147090=_0x18d877[_0x520281(0x419)],_0x1fa3dc=_0x147090['init'],_0x53156d=_0x147090[_0x520281(0x331)]=function(_0x1e3657){var _0x1cd612=_0x520281;if(_0x1e3657 instanceof ArrayBuffer&&(_0x1e3657=new Uint8Array(_0x1e3657)),(_0x1e3657 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e3657 instanceof Uint8ClampedArray||_0x1e3657 instanceof Int16Array||_0x1e3657 instanceof Uint16Array||_0x1e3657 instanceof Int32Array||_0x1e3657 instanceof Uint32Array||_0x1e3657 instanceof Float32Array||_0x1e3657 instanceof Float64Array)&&(_0x1e3657=new Uint8Array(_0x1e3657[_0x1cd612(0x3d8)],_0x1e3657[_0x1cd612(0x20a)],_0x1e3657['byteLength'])),_0x1e3657 instanceof Uint8Array){for(var _0x14201f=_0x1e3657[_0x1cd612(0x18f)],_0x4c7ff7=[],_0x417fb8=0x0;_0x417fb8<_0x14201f;_0x417fb8++)_0x4c7ff7[_0x417fb8>>>0x2]|=_0x1e3657[_0x417fb8]<<0x18-_0x417fb8%0x4*0x8;_0x1fa3dc[_0x1cd612(0x384)](this,_0x4c7ff7,_0x14201f);}else _0x1fa3dc[_0x1cd612(0x2ba)](this,arguments);};_0x53156d[_0x520281(0x21b)]=_0x147090;}}()),_0x1271ca[_0x23dad4(0x289)][_0x23dad4(0x419)];}));}(Ze)),Ze[_0x5a123b(0x2a8)];}var Br=Hr();function _0x5ca9(){var _0x59fac2=['kdf','_doFinalize','_throwTelemetryCollaborationNewChangeset','_clearCollaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','onStarting','getFocusedUnit','_socketService','_disableEditing','update','getCurrentUser','signUrlServerUrl','_redoStacks','_loadDoc','getUnitType','[SyncedState]:\x20received\x20acknowledgement.','_logService','commentUpdate$','JOIN_ROOM_NOT_EXISTS','onRemoteAck','APPLY_NON_SEQUENTIAL_REVISION','_registerDependencies','csAckEvent','params','MD5','_doProcessBlock','exports','UNRECOGNIZED','PERMISSION_REJ','getImage','updateCursorEvent','createInstance','algo','random','_telemetryService','encryptBlock','getImageSourceCache','UNIVER_UNKNOWN','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','capture','deleteCollaborator','_syncEditingCollabCursor','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','RECV','apply','readInt32LE','create','parse','awaiting_with_pending','JOIN_ROOM_FAILED','onRemoteChangeset','extend','memberID','_map','OpenSSL','/rev/','post','_decreaseWaiting','setShowComponents','_status$','_localeService','_startCollaboration','_onConflict','splice','CHANGESET_SHOULD_RETRY','unitID','readAsDataURL','_config','hasOwnProperty','SNAPSHOT_INVALID_SNAPSHOT','_getUndoStack','status$','UNKNOWN_CMD','get','filter','_onRemoteACK','_initDependencies','createCollaborator','SOCKET_FAILED_RETRY','LICENSE_DISTRO_REJECTED','focused$','FETCH_MISSING','_process','src','IDLE','getTypeOfUnitAdded$','encodeURIComponent','_onRemoteChangeset','SHOULD_CLOSE_CONN','isArray','stopTime','onSyncEditingCollabCursor','_collaborationUIEventService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_submitChangeset','liveShareNewHost','_getCurrentRevision','_undoStacks','_clearRedo','getInterceptPoints','getMemberID','startTime','image/jpg','_hasher','_imageSourceCache','_initMergeInterceptor','session.room-permission-denied','disposeWithMe','_getAPIPrefixPath','awaitingChangeset','COMPRESS_MUTATION_SEND','JOINING','/role','mutations','_sessions','1662560IxXHiB','LICENSE_EXPORT_SIZE_EXCEEDED','routeKey','_univerInstanceService','_onRecvEvent','_hash','forEach','put','randomUUID','getConfig','findIndex','_remoteChangesetQueue','name','patch','type','Hasher','_prevBlock','revision','_clearScheduledTask','_getAPIPrefix','_checkMissing','onLocalMutation','_type','ivSize','/universer-api/file/{fileID}/sign-url','_transformIMECache','executeCommand','\x0aAfter:\x20','[FetchMissState]','joinEvent','objectID','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_showConflictNotification','m2Prime','unknown','_state','incrementRevOfUnit','_eventService','file','/universer-api/snapshot','BufferedBlockAlgorithm','UPDATE_PERMISSION_OBJ','image/jpeg','PY_RUNTIME_SCRIPT_ERROR','onCommandExecuted','&source=','_entityInit$','45366WlyDsP','init','_snapshotService','_createHandler','_loadSheet','USERS_LEAVE','withCredentials','_changesetSessionId','toString','fromCharCode','_scheduleCompleteTimestamp','CHANGESET_ACK','_transformService','/block/','_transformSelections','HttpImport','NO_OTHER_CLIENTS_EDITING','Undefined','onMissingChangesets','sid','removeMember','_onConnectionOpen','_clearLocalCache','origin','_socketMessageSubscription','_commentUpdate$','_toggleOffline','headers','[DataLoaderService]','/universer-api/snapshot/','padding','_clearHeartbeatTimer','title','body','fetchThroughInterceptors','transformSelections','closeSession','Pkcs7','_getSendChangesetTimeout','roomInfos','_emitMembers','fetchMissingChangesets','collabWebSocketUrl','_collabSessionService','location','univer-pro.collaboration-client.network-condition.service','synced','collaboration_new_changeset','saveSheetBlock','enableOfflineEditing','/resources','/object','finalize','_schedule','_executeRemoteChangeset','_sendingTimer','_clearRetryConnectingTimer','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','OTHER_CLIENT_EDITING','_changesetReqId','LOCAL_CACHE_INTERVAL','SNAPSHOT_HAS_BEEN_REMOVED','_handlerCallback','LEAVE','key','status','_handler','UPDATE_CURSOR','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','selections','session.room-full','override','session.join-failed','_queuedRemoteChangesets','duration','SEND_CHANGESET_TIMEOUT','delete','PERSON','INVITE_CODE_REQUIRED','_sendHeartbeat','/unit/','charAt','not_collab','call','UnitEmbedded','next','_getCtorByUniverType','_permissionService','getCurrentRevOfUnit','keySize','_applyRemoteChangeset','createDecryptor','CipherParams','waitForRoom$','_instanceService','__esModule','_data','_awaitingChangeset','catch','objectType','56348lilpmj','USERS_ENTER','loadUnit','_rescheduleHeartbeat','c2Prime','/universer-api/oidc/authpage','getOwnPropertyDescriptor','CONFLICT','ws://127.0.0.1:8000/universer-api/comb/connect','_onCombEvent','/collaborator','HEARTBEAT_INTERVAL','iterations','complete','length','_sessionStatus$','SNAPSHOT_URL_KEY','onTransformState','[PendingState]:\x20received\x20rejection.','encrypt','COMMENT_UPDATE','unitId','COMPRESS_MUTATION_APPLY','_transformUndoredo','_createSocket','workbook','_commentService','SUCCUSS','randomBytes','responseType','_HTTPService','_doReset','_getLoginPath','_unlockTransition','pad','min','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformStateCache','createSocket','14464GmshfI','HMAC','unit-cache-','sheets','YUUMI_RATE_OVER_LIMIT','_nDataBytes','CLOSE_ROOM','unpad','[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.','charCodeAt','CHANGESET_REVISION_CONFILICT','_commandService','abs','objectActions','_xformMode','blockSize','sessionStatus','equals','concat','_retryCount','c1Prime','EvpKDF','_transitionLocked','reqId','_memberService','authzUrl','APPLY_REVISION_CONFILICT','_onUserJoin','buffer','sessionStatus$','socketService','_listenToNetworkCondition','refreshPermission','onSendChangeset','Base64','DEFAULT_FILE_NAME','getCurrentSelections','LIVESHARE_NEW_HOST','words','transformUndoRedo','_event$','ERROR_IMAGE_TYPE','_change$','_acknowledgedAwaitingChangeset','OTHER_CLIENTS_EDITING','_init','collabSubmitChangesetUrl','PENDING','saveChangeset','_keySchedule','?url=','_clearUndo','_telemetryInfo','getTypeOfUnitDisposed$','LIVESHARE_FETCH_OPERATIONS','sigBytes','reject','_timeoutTimer','dispose$','_onJoinRoomEvent','json','_key','_exhaustRemoteChangesetQueue','clone','2400LcEkPv','$super','members$','hostname','subscribe','_socketReady','/fetchmissing?from=','_snapshotServerService','resourceIDs','values','Encryptor','msCrypto','connection\x20error','initWorkbookPermissionChange','actions','_scheduleCollaborationTimeoutTimer','subUnitId','PERMISSION_DENIED','textRanges','error$','_retryConnectingTimer','enableAuthServer','getWorkbookSelections','_resendWithTimeout','USER_NOT_INVITED_CODE','LIVESHARE_REQUEST_HOST','_waitCount','registerHTTPInterceptor','_unitInfo$','WordArray','setCurrentUser','defineProperty','collaboratorID','clear','awaiting','_entities','3477987YbxkhP','StreamCipher','crypto','_clearTimeoutTimer','encode','_onConnectionFailed','members','state$','SOCKET_FAILED','NOT_FOUND','transformChangesets','_doCryptBlock','LIVESHARE_TERMINATE','COLLAB_SUBMIT_CHANGESET_URL','transformStack\x20failed!','_isPermissionRej','copyFileMeta','_initCloseConn','salt','getTime','_removeRoom','ONLINE','reduce','asObservable','JOIN','_reverseMap','[CollaborationSession]','PSEUDO_FETCH_MISSING_RESULT','_singleActiveUnitService','INTERNAL_ERROR','onlyLocal','state','updateOfflineData','collaboration-client.local-cache-service','getValue','shouldCloseConn','every','subject','_roomCreated$','sendChangesetTimeout','JOIN_ROOM_PERMISSION_DENIED','transformMutationsWithChangeset','_invKeySchedule','list','_sheetTransformSelectionsService','session','error','getUnitOnRev','_updateLocalCache','_joinRoom','roles','univer-pro.collaboration-client-socket-service','AUTHZ_URL_KEY','listCollaborators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_createInitialState','SUBMIT_CHANGESET_TIMEOUT','newCsEvent','unsubscribe','joinRsp','[CollaborationUndoRedoService]','Utf8','&assign=','updatePermissionPoint','symbol','/universer-api/user/session-ticket','default','join','INVITE_CODE_ALREADY_BOUND','requestParams','ciphertext','getUnit','GLOBAL_ROOMS_CNT_EXCEEDS','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LIVESHARE_OPERATION','socket\x20close','univer-pro.collaboration-client.single-active-unit-service','_sender','_iv','fetching\x20missing\x20changesets\x20from\x20','NOT_COLLAB','add','_waitForHeartbeatResponse','format','_localCacheService','_minBufferSize','rev','range','Could\x20not\x20dynamically\x20require\x20\x22','_onFetchMissResult','map','UnitSnapshot','readyForCollab','objects','_resendTimeout','cmd','baseRev','_stopTelemetryCollaborationNewChangeset','_createInitialStateImpl','image/gif','_unitID','CONNECTOR_DATA_TOO_LARGE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','byteLength','UNIVER_PROJECT','session.room-cnt-exceeds','addImageSourceCache','[SyncedState]:\x20received\x20rejection.','dispose','/-/object/list','collaborators','putCollaborators','pending','max','getMember','includes','eventID','_socket','SerializableCipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitId','_updateStatus','x-univer-host','Cipher','addHandlerCallback','userID','Base','_candidateSocket','socket$','mode','_fetchMissChangesets','TOO_MANY_REQUESTS','getRandomValues','Malformed\x20UTF-8\x20data','_getUploadFileURL','ENSURE_SNAPSHOT_EXECUTION','getLatestCsReqIdBySid','_resendTimer','fetchMiss','appendMutation','interceptor','UUID','APPLY_REJECT','2695644PaDjRD','\x20-\x20','[CollaborationEntity]','href','JOIN_ROOM_FULL','socket\x20open.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MUTATION','_pendingMutations','_state$','_revisionService','close$','image/bmp','slice','_nRounds','execute','getDeserializedSheetBlock','mixIn','reconnect','csShouldRetryEvent','_initUnitPermissionChange','changesets','onRemoteRej','MSG_FOR_ERROR','_networkConditionService','_userManagerService','FileId','OPTIONAL','LOGIN_FAILED','SHA1','hasher','&to=','set','url','confirm','_transformRemoteChangesetByStateCache','NEW_CHANGESETS','_replayCachedMutations','?size=','INVALID_INVITE_CODE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_incrementRevisionNumber','setConfig','localCacheService','_socket$','message$','APPLY_PERMISSION_DENIED','has','onTransformRemoteChangesetByStateCache','_onOffline','push','enc','getCollabEntity$','_getSignURL','onRemoteRetry','emitEvent','610mkTvcy','COMPLETION_FINISHED','compose','1106vdBuDY','UNISCRIPT_RUN','UNIVER_DOC','_onLocalMutation','UNKNOWN_CODE','fetch_missing','now','replace','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_configService','decryptBlock','UNIVER_SHEET','/universer-api/stream/file/upload','processBlock','size','OFFLINE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','requireSession','telemetry\x20info\x20is\x20not\x20initialized','_collaborationPaused','clamp','_createHelper','onload','_members','byteOffset','_transformStack','listRoles','ALREADY_EXISTS','_substituteRedoStack','offline','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/universer-api/comb','_ENC_XFORM_MODE','find','fromCollab','AWAITING','INVALID_ARGUMENT','[OfflineState]:\x20received\x20rejection.','_parse','_tryEnsureSocket','prototype','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_collaborationTimeoutTimer','_injector','onTransformIME','_httpService','CHANGESET_REJ','allowed','reset','POST','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','data','Latin1','ceil','[CollaborationSessionService]','_replaceFileID','onTransformRemoteChangesetByIMECache','Univer','YUUMI_URL_COL_OUT_OF_RANGE','onCommentUpdate','_onUserLeave','image/png','createEncryptor','APPLY_DUPLICATED','change$','loadOfflineData','AES','_onMessage','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','close','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getRedoStack','uploadFileServerUrl','event$','_cipher','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET','onTransformSelections','debug','Decryptor','_mode','getCollabEntity','unitInfo$','setWaitCount','EXCHANGE_SIGN_URL_SERVER_URL_KEY','avatar','function','open$','conflict','_shouldReportTelemetry','stringify','_undoRedoService','_substituteUndoStack','/object/','_onRemoteRetry','isPermissionRej','_toggleOnline','loadSheet','decrypt','target','_compressMutationService','HmacMD5','loadDoc','/allowed','from','getSheetId','_updateState','ERROR_IMAGE','send','string','cfg','UNDEFINED','editingUnit','pauseCollaboration','\x20in\x20_schedule.','CBC','_tryReconnect','infoRsp','pipe','result','INGEST','People','_members$','HEARTBEAT','FAIL','bind','NoPadding','startsWith','HELLO','UNIVER_SLIDE','_roomMembers','disableLocalCache','_sendHeartbeatTimer','_onRemoteRejected','submit\x20changeset\x20error!','/universer-api/authz','entityInit$','resend','auth.needGotoLoginAlert','toggleOffline','code','updateMember','toggleOnline','_getDownloadEndpointURL','compute','LICENSE_IMPORT_SIZE_EXCEEDED','deepClone','_collaborationSessionService','_append','lib','getUnitStatus$','originalMeta','_lockTransition','85NNfpGu'];_0x5ca9=function(){return _0x59fac2;};return _0x5ca9();}const jr=He(Br);var Qe={'exports':{}},Fr=Qe['exports'],ci;function Vr(){var _0x3704aa=_0x5ecaf8;return ci||(ci=0x1,function(_0x4858c5,_0x2d93ec){(function(_0x266455,_0x1bb626,_0x24bdb9){var _0x23a345=_0x3ae5;_0x4858c5[_0x23a345(0x2a8)]=_0x1bb626(ie(),wi());}(Fr,function(_0x47208d){var _0xdddc1a=_0x3ae5;return _0x47208d[_0xdddc1a(0x3b7)][_0xdddc1a(0x272)]={'pad':function(){},'unpad':function(){}},_0x47208d[_0xdddc1a(0x3b7)][_0xdddc1a(0x272)];}));}(Qe)),Qe[_0x3704aa(0x2a8)];}var Gr=Vr();function _0x3ae5(_0x3075d7,_0x41b9f3){var _0x5ca9e2=_0x5ca9();return _0x3ae5=function(_0x3ae520,_0x17b92f){_0x3ae520=_0x3ae520-0x12f;var _0x293b2d=_0x5ca9e2[_0x3ae520];return _0x293b2d;},_0x3ae5(_0x3075d7,_0x41b9f3);}const Wr=He(Gr);function Kr(_0x33eca2,_0x3af207){const _0x2331f7=_0x3af207-_0x33eca2['length']%_0x3af207,_0x34b90f=String['fromCharCode'](_0x2331f7)['repeat'](_0x2331f7);return _0x33eca2+_0x34b90f;}function Yr(_0x3f0035,_0x576f9e){var _0x348e61=_0x5ecaf8;const _0x14628a=jr[_0x348e61(0x2af)](0x10),_0x1988fc=Kr(_0x3f0035,0x10),_0x241630=Ar[_0x348e61(0x3a8)](kr['parse'](_0x1988fc),si[_0x348e61(0x2bd)](_0x576f9e),{'iv':_0x14628a,'padding':Wr});return _0x14628a[_0x348e61(0x3ce)](_0x241630[_0x348e61(0x16e)])[_0x348e61(0x338)](si);}function qr(){var _0x324d89=_0x5ecaf8;const _0x71b88d=_0x57e100()['__Key__'];if(_0x71b88d){const _0x5c7854={'time':Math['floor'](Date[_0x324d89(0x1f8)]()/0x3e8),'domain':location[_0x324d89(0x3ff)]};return Yr(JSON[_0x324d89(0x24e)](_0x5c7854),_0x71b88d);}}var zr=Object[_0x5ecaf8(0x39b)],Jr=(_0x52d235,_0x2962f5,_0x26dc14,_0x446f6a)=>{var _0x22eb72=_0x5ecaf8;for(var _0xf7ec17=_0x446f6a>0x1?void 0x0:_0x446f6a?zr(_0x2962f5,_0x26dc14):_0x2962f5,_0x47dd9a=_0x52d235[_0x22eb72(0x3a3)]-0x1,_0x19c403;_0x47dd9a>=0x0;_0x47dd9a--)(_0x19c403=_0x52d235[_0x47dd9a])&&(_0xf7ec17=_0x19c403(_0xf7ec17)||_0xf7ec17);return _0xf7ec17;},Xr=(_0x52fb25,_0x567442)=>(_0x32d613,_0x5ac495)=>_0x567442(_0x32d613,_0x5ac495,_0x52fb25);let at=class{constructor(_0x2bd90e){var _0x2ba459=_0x5ecaf8;this[_0x2ba459(0x220)]=_0x2bd90e,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x1e85de=_0x5ecaf8;this[_0x1e85de(0x220)][_0x1e85de(0x417)]({'interceptor':(_0x5a3573,_0x4ff692)=>{var _0x1d6e68=_0x1e85de;const _0x20654f=_0x5a3573['headers'],_0x346596=qr();return _0x346596&&_0x20654f['set'](_0x1d6e68(0x1a2),_0x346596),_0x4ff692(_0x5a3573);}});}};at=Jr([Xr(0x0,_0x38fae2(_0x2ff782))],at);var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x55768d,_0x1b26e0,_0x4a1fa5,_0x5d8d27)=>{var _0x94c2b2=_0x5ecaf8;for(var _0x4f242=_0x5d8d27>0x1?void 0x0:_0x5d8d27?Zr(_0x1b26e0,_0x4a1fa5):_0x1b26e0,_0x109bfb=_0x55768d[_0x94c2b2(0x3a3)]-0x1,_0x4cf3f1;_0x109bfb>=0x0;_0x109bfb--)(_0x4cf3f1=_0x55768d[_0x109bfb])&&(_0x4f242=_0x4cf3f1(_0x4f242)||_0x4f242);return _0x4f242;},mt=(_0x13747c,_0x2b4881)=>(_0x504e7b,_0x5f69be)=>_0x2b4881(_0x504e7b,_0x5f69be,_0x13747c);let bt=class extends _0x3f016d{constructor(_0x2f0e3e,_0x181666,_0x5bcbc8){var _0x2cf8a3=_0x5ecaf8;super(),N(this,_0x2cf8a3(0x418),new _0x6d7147(null)),N(this,_0x2cf8a3(0x246),this[_0x2cf8a3(0x418)][_0x2cf8a3(0x13f)]()),(this[_0x2cf8a3(0x29e)]=_0x2f0e3e,this[_0x2cf8a3(0x332)]=_0x181666,this['_localCacheService']=_0x5bcbc8);}async[_0x5ecaf8(0x397)](_0x48b05b,_0x52a60d,_0x4fb80a){var _0x2e9e21=_0x5ecaf8;this[_0x2e9e21(0x418)][_0x2e9e21(0x386)]({'unitId':_0x48b05b,'type':_0x52a60d,'subUnitId':_0x4fb80a});let _0x53e4c7=null;switch(_0x52a60d){case Q[_0x2e9e21(0x1fd)]:{_0x53e4c7=await this[_0x2e9e21(0x334)](_0x48b05b);break;}case Q['UNIVER_DOC']:{_0x53e4c7=await this[_0x2e9e21(0x29b)](_0x48b05b);break;}default:{this[_0x2e9e21(0x29e)][_0x2e9e21(0x156)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x53e4c7;}async['_loadSheet'](_0x182725){var _0xe5114d=_0x5ecaf8,_0x17a6fd;let _0x215428=0x0;const _0x128694=await((_0x17a6fd=this['_localCacheService'])==null?void 0x0:_0x17a6fd['loadOfflineData'](_0x182725));return _0x128694&&(_0x128694[_0xe5114d(0x2fb)]||_0x128694[_0xe5114d(0x2ff)][_0xe5114d(0x3a3)]!==0x0)&&(_0x215428=_0x128694[_0xe5114d(0x17e)]),_0x215428===0x0&&this['_logService']['debug'](_0xe5114d(0x34c),_0xe5114d(0x23a)),this[_0xe5114d(0x332)][_0xe5114d(0x255)](_0x182725,_0x215428);}async[_0x5ecaf8(0x29b)](_0x47024b){var _0x115ad8=_0x5ecaf8,_0x1b1049;let _0x1b0736=0x0;const _0x2325aa=await((_0x1b1049=this[_0x115ad8(0x17c)])==null?void 0x0:_0x1b1049[_0x115ad8(0x235)](_0x47024b));return _0x2325aa&&(_0x2325aa['awaitingChangeset']||_0x2325aa[_0x115ad8(0x2ff)][_0x115ad8(0x3a3)]!==0x0)&&(_0x1b0736=_0x2325aa['rev']),_0x1b0736===0x0&&this[_0x115ad8(0x29e)][_0x115ad8(0x242)]('[DataLoaderService]',_0x115ad8(0x23a)),this[_0x115ad8(0x332)][_0x115ad8(0x25a)](_0x47024b,_0x1b0736);}};bt=Qr([mt(0x0,_0x5d2f2b),mt(0x1,_0x38fae2(_0x20bc6d)),mt(0x2,_0x26bd50(J))],bt);var es=Object[_0x5ecaf8(0x39b)],ts=(_0x309fbc,_0x254a35,_0x986443,_0x47275b)=>{var _0x472a31=_0x5ecaf8;for(var _0x257c60=_0x47275b>0x1?void 0x0:_0x47275b?es(_0x254a35,_0x986443):_0x254a35,_0x480464=_0x309fbc[_0x472a31(0x3a3)]-0x1,_0x46fdc4;_0x480464>=0x0;_0x480464--)(_0x46fdc4=_0x309fbc[_0x480464])&&(_0x257c60=_0x46fdc4(_0x257c60)||_0x257c60);return _0x257c60;},gt=(_0x3940f2,_0x25eadd)=>(_0x582906,_0x4a17d3)=>_0x25eadd(_0x582906,_0x4a17d3,_0x3940f2);const is=[_0x5ecaf8(0x231),_0x5ecaf8(0x32b),_0x5ecaf8(0x2f4),_0x5ecaf8(0x18b),_0x5ecaf8(0x1c3)],ns=0x5*0x400*0x400,rs=_0x5ecaf8(0x211),ss=_0x5ecaf8(0x1fe),as=_0x5ecaf8(0x248),os=_0x5ecaf8(0x319);let yt=class{constructor(_0x4a19d6,_0x3a5f6c,_0x4209b4){var _0x4c04c8=_0x5ecaf8;N(this,_0x4c04c8(0x416),0x0),N(this,_0x4c04c8(0x3e6),new _0x25757a()),N(this,_0x4c04c8(0x234),this[_0x4c04c8(0x3e6)]),N(this,_0x4c04c8(0x2f6),new Map()),(this[_0x4c04c8(0x220)]=_0x4a19d6,this[_0x4c04c8(0x1fb)]=_0x3a5f6c,this[_0x4c04c8(0x304)]=_0x4209b4);}[_0x5ecaf8(0x247)](_0xb85ae1){var _0x4707c2=_0x5ecaf8;this[_0x4707c2(0x416)]=_0xb85ae1,this['_change$'][_0x4707c2(0x386)](_0xb85ae1);}[_0x5ecaf8(0x2b2)](_0x1ba127,_0x1b5a37){var _0x3f6b56=_0x5ecaf8;if(_0x1b5a37===_0x498b4d['BASE64']){const _0x3c563e=new Image();return _0x3c563e[_0x3f6b56(0x2e1)]=_0x1ba127,_0x3c563e;}return this[_0x3f6b56(0x2f6)][_0x3f6b56(0x2d7)](_0x1ba127);}[_0x5ecaf8(0x192)](_0x258aa3,_0x2752b0,_0x4e8513){var _0x1687b2=_0x5ecaf8;_0x2752b0===_0x498b4d['BASE64']||_0x4e8513==null||this[_0x1687b2(0x2f6)][_0x1687b2(0x1d7)](_0x258aa3,_0x4e8513);}async[_0x5ecaf8(0x2ab)](_0x5d1457){var _0x112314=_0x5ecaf8;try{const _0x5e210c=this[_0x112314(0x22b)](this[_0x112314(0x1ec)](),''+_0x5d1457),_0xdb39a8=(await this['_httpService']['get'](_0x5e210c))[_0x112314(0x351)];if(_0xdb39a8['error']&&_0xdb39a8[_0x112314(0x156)][_0x112314(0x280)]===Si['OK']){const _0x1f290f=new URL(_0xdb39a8[_0x112314(0x1d8)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x1f290f);}return Promise['reject'](_0xdb39a8['error']);}catch(_0x461136){return Promise[_0x112314(0x3f4)](_0x461136);}}async['saveImage'](_0x305635){var _0x499443=_0x5ecaf8;let _0x48c0c1='';if(!is[_0x499443(0x19b)](_0x305635[_0x499443(0x30f)]))return this['_decreaseWaiting'](),Promise[_0x499443(0x3f4)](new Error(_0x8182ed[_0x499443(0x3e5)]));if(_0x305635[_0x499443(0x200)]>ns)return this[_0x499443(0x2c7)](),Promise[_0x499443(0x3f4)](new Error(_0x8182ed['ERROR_EXCEED_SIZE']));try{const _0x4a4313=new FormData();_0x4a4313['append'](_0x499443(0x327),_0x305635);const _0x4a44d1=this[_0x499443(0x304)]['getFocusedUnit'](),_0x5ae170=_0x4a44d1==null?void 0x0:_0x4a44d1[_0x499443(0x1a0)]();if(!_0x5ae170)throw new Error('unitId\x20is\x20not\x20found');const _0x168c27=this[_0x499443(0x1ae)]()+_0x499443(0x1dd)+_0x305635['size'][_0x499443(0x338)]()+_0x499443(0x32e)+Ei[_0x499443(0x385)]+_0x499443(0x166)+encodeURIComponent(_0x5ae170),_0x20c1ab=await(await fetch(_0x168c27,{'method':_0x499443(0x224),'body':_0x4a4313}))[_0x499443(0x3f8)]();if(typeof _0x20c1ab[_0x499443(0x1d1)]!=_0x499443(0x261))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x8182ed[_0x499443(0x25f)]));_0x48c0c1=_0x20c1ab['FileId'];}catch{return this[_0x499443(0x2c7)](),Promise[_0x499443(0x3f4)](new Error(_0x8182ed[_0x499443(0x25f)]));}return new Promise((_0x219b54,_0x9ea014)=>{var _0x4047f1=_0x499443;const _0x391eae=new FileReader();_0x391eae[_0x4047f1(0x2d0)](_0x305635),_0x391eae[_0x4047f1(0x208)]=_0x2ef2c5=>{var _0x346331=_0x4047f1,_0x4eb4c8;const _0x16fdef=(_0x4eb4c8=_0x2ef2c5[_0x346331(0x257)])==null?void 0x0:_0x4eb4c8[_0x346331(0x26b)];if(_0x16fdef==null){this[_0x346331(0x2c7)](),_0x9ea014(new Error(_0x8182ed[_0x346331(0x25f)]));return;}const _0x22b1f6=_0x406736['generateRandomId'](0x6);_0x219b54({'imageId':_0x22b1f6,'imageSourceType':_0x498b4d[_0x346331(0x1b5)],'source':_0x48c0c1,'base64Cache':_0x16fdef,'status':_0x8182ed[_0x346331(0x3b0)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x20996e=_0x5ecaf8,_0x2aac32,_0x9ee35b;const _0x1e7189=this['_configService'][_0x20996e(0x30a)](rs),_0x16402c=this[_0x20996e(0x1fb)]['getConfig'](q);return(_0x9ee35b=(_0x2aac32=_0x16402c==null?void 0x0:_0x16402c[_0x20996e(0x23c)])!=null?_0x2aac32:_0x1e7189)!=null?_0x9ee35b:ss;}[_0x5ecaf8(0x1ec)](){var _0x396895=_0x5ecaf8,_0xdadbb2,_0x58d32a;const _0x180160=this['_configService'][_0x396895(0x30a)](as),_0x26baca=this[_0x396895(0x1fb)]['getConfig'](q);return(_0x58d32a=(_0xdadbb2=_0x26baca==null?void 0x0:_0x26baca[_0x396895(0x299)])!=null?_0xdadbb2:_0x180160)!=null?_0x58d32a:os;}[_0x5ecaf8(0x283)](){var _0x11d6e6=_0x5ecaf8,_0x293ee0;const _0x1b612b=this['_configService'][_0x11d6e6(0x30a)](q);return(_0x293ee0=_0x1b612b==null?void 0x0:_0x1b612b['downloadEndpointUrl'])!=null?_0x293ee0:location[_0x11d6e6(0x347)];}['_replaceFileID'](_0x3692e9,_0x5aa022){var _0x1d924a=_0x5ecaf8;return _0x3692e9[_0x1d924a(0x1f9)]('{fileID}',_0x5aa022);}[_0x5ecaf8(0x2c7)](){var _0x4c87bf=_0x5ecaf8;this['_waitCount']-=0x1,this[_0x4c87bf(0x3e6)][_0x4c87bf(0x386)](this[_0x4c87bf(0x416)]);}};yt=ts([gt(0x0,_0x38fae2(_0x2ff782)),gt(0x1,_0x5d1324),gt(0x2,_0x38fae2(_0x2643c0))],yt);var cs=Object[_0x5ecaf8(0x39b)],hs=(_0x256d69,_0x504f3e,_0x553ac9,_0x9eb55f)=>{var _0x1f805a=_0x5ecaf8;for(var _0x1aad8f=_0x9eb55f>0x1?void 0x0:_0x9eb55f?cs(_0x504f3e,_0x553ac9):_0x504f3e,_0x1295d6=_0x256d69[_0x1f805a(0x3a3)]-0x1,_0x2596f7;_0x1295d6>=0x0;_0x1295d6--)(_0x2596f7=_0x256d69[_0x1295d6])&&(_0x1aad8f=_0x2596f7(_0x1aad8f)||_0x1aad8f);return _0x1aad8f;},hi=(_0x4bd7ef,_0x2b9ea0)=>(_0x1e3a53,_0xb9eaa8)=>_0x2b9ea0(_0x1e3a53,_0xb9eaa8,_0x4bd7ef);const _s=_0x5ecaf8(0x27b);let Ot=class{constructor(_0x1dbab0,_0x301bf1){var _0x2d017a=_0x5ecaf8;this[_0x2d017a(0x1fb)]=_0x1dbab0,this[_0x2d017a(0x3b3)]=_0x301bf1;}[_0x5ecaf8(0x2fa)](){var _0x3a8f20=_0x5ecaf8,_0xcac95d,_0x366329;const _0x2e2bf2=this['_configService'][_0x3a8f20(0x30a)](Ni),_0x200ed6=this[_0x3a8f20(0x1fb)][_0x3a8f20(0x30a)](q);return(_0x366329=(_0xcac95d=_0x200ed6==null?void 0x0:_0x200ed6[_0x3a8f20(0x3d5)])!=null?_0xcac95d:_0x2e2bf2)!=null?_0x366329:_s;}async[_0x5ecaf8(0x153)](_0x35832b){var _0x310fbe=_0x5ecaf8;const _0x4430d8=this[_0x310fbe(0x2fa)]()+_0x310fbe(0x39f);return{'list':[{'title':_0x310fbe(0x26d),'mentions':(await this[_0x310fbe(0x3b3)][_0x310fbe(0x2d7)](_0x4430d8,{'params':{'objectID':_0x35832b[_0x310fbe(0x3aa)],'unitID':_0x35832b['unitId']}}))[_0x310fbe(0x351)][_0x310fbe(0x196)][_0x310fbe(0x182)](_0x45be7c=>({'objectId':_0x45be7c['id'],'name':_0x45be7c[_0x310fbe(0x14d)][_0x310fbe(0x30d)],'metadata':{'icon':_0x45be7c[_0x310fbe(0x14d)][_0x310fbe(0x249)]},'label':_0x45be7c[_0x310fbe(0x14d)][_0x310fbe(0x30d)],'objectType':_0x3337a4[_0x310fbe(0x37e)]})),'metadata':{},'type':_0x3337a4[_0x310fbe(0x37e)]}]};}};Ot=hs([hi(0x0,_0x38fae2(_0x5d1324)),hi(0x1,_0x38fae2(_0x2ff782))],Ot);var ls=Object[_0x5ecaf8(0x39b)],us=(_0x501c88,_0x68567d,_0x3b49c2,_0x563daf)=>{var _0x26b8d8=_0x5ecaf8;for(var _0x38355e=_0x563daf>0x1?void 0x0:_0x563daf?ls(_0x68567d,_0x3b49c2):_0x68567d,_0x5c1944=_0x501c88[_0x26b8d8(0x3a3)]-0x1,_0x2b4a21;_0x5c1944>=0x0;_0x5c1944--)(_0x2b4a21=_0x501c88[_0x5c1944])&&(_0x38355e=_0x2b4a21(_0x38355e)||_0x38355e);return _0x38355e;},Ae=(_0x25c08f,_0x2f6d10)=>(_0x1d645d,_0x293770)=>_0x2f6d10(_0x1d645d,_0x293770,_0x25c08f);let ot=class extends _0x3f016d{constructor(_0x218844,_0x16fd2c,_0x535195,_0x463f94,_0x802c5d){var _0x1de935=_0x5ecaf8;super(),this[_0x1de935(0x21e)]=_0x218844,this[_0x1de935(0x304)]=_0x16fd2c,this['_permissionService']=_0x535195,this[_0x1de935(0x287)]=_0x463f94,this[_0x1de935(0x2ea)]=_0x802c5d,this[_0x1de935(0x1cb)](),this[_0x1de935(0x139)]();}[_0x5ecaf8(0x139)](){var _0x31fc7f=_0x5ecaf8;const _0x21cb51=async _0x11146c=>{var _0x149dfb=_0x3ae5;(await this[_0x149dfb(0x287)]['requireSession'](_0x11146c))[_0x149dfb(0x23d)][_0x149dfb(0x26a)](_0x1f327a(_0x31fe45=>_0x31fe45[_0x149dfb(0x19c)]===_0x36469a[_0x149dfb(0x2e6)]),_0x3b8656(this[_0x149dfb(0x3f6)]))['subscribe'](_0xe1dae5=>{var _0x27e4e1=_0x149dfb;const _0x30db86=_0xe1dae5,{reason:_0xd09550}=_0x30db86[_0x27e4e1(0x227)];this[_0x27e4e1(0x2ea)][_0x27e4e1(0x1ee)]({'id':se[_0x27e4e1(0x3c2)],'data':_0xd09550}),this[_0x27e4e1(0x388)][_0x27e4e1(0x167)](new _0x429713(_0x11146c)['id'],!0x1),this[_0x27e4e1(0x287)][_0x27e4e1(0x354)](_0x11146c);});};_0x2e2230(this[_0x31fc7f(0x304)][_0x31fc7f(0x2e3)](_0x17b299[_0x31fc7f(0x1fd)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x17b299['UNIVER_DOC']))[_0x31fc7f(0x26a)](_0x58e504(_0x472eb3=>_0x472eb3[_0x31fc7f(0x1a0)]()),_0x1f327a(_0x38f6e2=>!_0x4ba4d4(_0x38f6e2)),_0x3b8656(this[_0x31fc7f(0x3f6)]))[_0x31fc7f(0x400)](_0x285045=>{_0x21cb51(_0x285045);});}[_0x5ecaf8(0x1cb)](){var _0x80db4=_0x5ecaf8;const _0x321432=async _0x1925aa=>{var _0x16dd70=_0x3ae5;const _0x566ba2=await this[_0x16dd70(0x287)]['requireSession'](_0x1925aa),_0x1e1551=this[_0x16dd70(0x21e)][_0x16dd70(0x2d7)](_0x549d17);_0x566ba2[_0x16dd70(0x23d)][_0x16dd70(0x26a)](_0x1f327a(_0x3ae09e=>_0x3ae09e[_0x16dd70(0x19c)]===_0x36469a[_0x16dd70(0x32a)]),_0x3b8656(this['dispose$']))[_0x16dd70(0x400)](_0x4d6d56=>{var _0x5f0ed2=_0x16dd70;const _0x2413d3=_0x4d6d56,{objectId:_0x53d47d}=_0x2413d3[_0x5f0ed2(0x227)];_0x53d47d===_0x1925aa?_0x1e1551[_0x5f0ed2(0x409)](_0x1925aa):_0x1e1551[_0x5f0ed2(0x3dc)](_0x1925aa,_0x53d47d);});};_0x2e2230(this[_0x80db4(0x304)]['getTypeOfUnitAdded$'](_0x17b299['UNIVER_SHEET']))[_0x80db4(0x26a)](_0x58e504(_0x381d48=>_0x381d48['getUnitId']()),_0x1f327a(_0x24848f=>!_0x4ba4d4(_0x24848f)),_0x3b8656(this[_0x80db4(0x3f6)]))[_0x80db4(0x400)](_0x85f923=>{_0x321432(_0x85f923);});}};ot=us([Ae(0x0,_0x38fae2(_0x43f95e)),Ae(0x1,_0x2643c0),Ae(0x2,_0x405d03),Ae(0x3,_0x38fae2(Le)),Ae(0x4,_0x38fae2(pe))],ot);var ds=Object[_0x5ecaf8(0x39b)],fs=(_0x59b261,_0x2630a1,_0x2ae3df,_0x8d1361)=>{var _0x372d8=_0x5ecaf8;for(var _0x1c2708=_0x8d1361>0x1?void 0x0:_0x8d1361?ds(_0x2630a1,_0x2ae3df):_0x2630a1,_0x4a6bb7=_0x59b261[_0x372d8(0x3a3)]-0x1,_0x9a92bd;_0x4a6bb7>=0x0;_0x4a6bb7--)(_0x9a92bd=_0x59b261[_0x4a6bb7])&&(_0x1c2708=_0x9a92bd(_0x1c2708)||_0x1c2708);return _0x1c2708;},_i=(_0xb00902,_0x4ee176)=>(_0x2f20f5,_0x2eccee)=>_0x4ee176(_0x2f20f5,_0x2eccee,_0xb00902);let Nt=class{constructor(_0x40b9f2,_0x50e84d){var _0x43cde7=_0x5ecaf8;this[_0x43cde7(0x1fb)]=_0x40b9f2,this[_0x43cde7(0x220)]=_0x50e84d;}async[_0x5ecaf8(0x157)](_0x1a71b4,_0x236c8f){var _0x278d3c=_0x5ecaf8,_0x529f00;const {unitID:_0x3a0b14,type:_0x193e27,revision:_0x44ac78=0x0}=_0x236c8f,_0x35d480=this['getSnapshotAPIPath']()+'/'+_0x193e27+_0x278d3c(0x381)+_0x3a0b14+_0x278d3c(0x2c5)+_0x44ac78,_0x4221a8=(await this[_0x278d3c(0x220)]['get'](_0x35d480))[_0x278d3c(0x351)],_0x3c33da=(_0x529f00=_0x4221a8['snapshot'])==null?void 0x0:_0x529f00[_0x278d3c(0x3ae)];if(_0x3c33da){const _0x2d225d=_0x3c33da==null?void 0x0:_0x3c33da[_0x278d3c(0x28b)],_0x3db41e=_0x3efaa2[_0x278d3c(0x424)](_0x4112ee(_0x2d225d));_0x3c33da[_0x278d3c(0x28b)]=_0x3db41e,Object['entries'](_0x3c33da[_0x278d3c(0x3bf)])[_0x278d3c(0x307)](([,_0x59c31])=>{var _0x6e8d7e=_0x278d3c;const _0x4f7a3b=_0x59c31[_0x6e8d7e(0x28b)],_0x511c52=_0x3efaa2[_0x6e8d7e(0x424)](_0x4112ee(_0x4f7a3b));_0x59c31[_0x6e8d7e(0x28b)]=_0x511c52;});}return _0x4221a8;}async['getSheetBlock'](_0x27f3af,_0x3ac309){var _0x24fd34=_0x5ecaf8;const {unitID:_0x198fb7,type:_0x50c3d2,blockID:_0x4db441}=_0x3ac309,_0x3a2f01=this['_getAPIPrefix']()+'/'+_0x50c3d2+_0x24fd34(0x381)+_0x198fb7+_0x24fd34(0x33d)+_0x4db441;return(await this[_0x24fd34(0x220)]['get'](_0x3a2f01))[_0x24fd34(0x351)];}async[_0x5ecaf8(0x1c7)](_0x251091,_0x347fbf){var _0x47f407=_0x5ecaf8;const {unitID:_0x1bced2,type:_0x3ebe56,blockID:_0x36fd88}=_0x347fbf,_0x59a639=this[_0x47f407(0x314)]()+_0x47f407(0x33d)+_0x3ebe56+_0x47f407(0x381)+_0x1bced2+_0x47f407(0x33d)+_0x36fd88;return(await this[_0x47f407(0x220)][_0x47f407(0x2d7)](_0x59a639))[_0x47f407(0x351)];}async[_0x5ecaf8(0x359)](_0x41644d,_0x3dfaff){var _0x5f06b7=_0x5ecaf8;const {unitID:_0x46fecc,type:_0x5d172d,from:_0x3f0cf6,to:_0x650b56}=_0x3dfaff,_0x3e5227=this['_getAPIPrefix']()+'/'+_0x5d172d+_0x5f06b7(0x381)+_0x46fecc+_0x5f06b7(0x402)+_0x3f0cf6+_0x5f06b7(0x1d6)+_0x650b56;return(await this['_httpService'][_0x5f06b7(0x2d7)](_0x3e5227))[_0x5f06b7(0x351)];}['getSnapshotAPIPath'](){var _0x1c87ab=_0x5ecaf8,_0x25c966;return(_0x25c966=this[_0x1c87ab(0x1fb)][_0x1c87ab(0x30a)](Sn))!=null?_0x25c966:this['_getAPIPrefix']();}[_0x5ecaf8(0x314)](){var _0x39f3b2=_0x5ecaf8,_0x1b9f5d,_0x53492e;const _0x29d586=this['_configService']['getConfig'](mn),_0x269fa5=this[_0x39f3b2(0x1fb)][_0x39f3b2(0x30a)](q);return(_0x53492e=(_0x1b9f5d=_0x269fa5==null?void 0x0:_0x269fa5['snapshotServerUrl'])!=null?_0x1b9f5d:_0x29d586)!=null?_0x53492e:gn;}async['getResourcesRequest'](_0x30322f,_0x4b09af){var _0x5b0bce=_0x5ecaf8;const _0x52781e=_0x5b0bce(0x34d)+_0x4b09af[_0x5b0bce(0x30f)]+_0x5b0bce(0x381)+_0x4b09af[_0x5b0bce(0x2cf)]+_0x5b0bce(0x362);return(await this['_httpService'][_0x5b0bce(0x2d7)](_0x52781e,{'params':{'resourceId':JSON[_0x5b0bce(0x24e)](_0x4b09af[_0x5b0bce(0x404)])}}))['body'];}['saveSnapshot'](){var _0x750b0c=_0x5ecaf8;throw new Error(_0x750b0c(0x1fa));}[_0x5ecaf8(0x360)](){var _0x450b2e=_0x5ecaf8;throw new Error(_0x450b2e(0x1fa));}[_0x5ecaf8(0x3ec)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5ecaf8(0x138)](){var _0x341c6c=_0x5ecaf8;throw new Error(_0x341c6c(0x1fa));}[_0x5ecaf8(0x1b0)](){var _0x3db626=_0x5ecaf8;throw new Error(_0x3db626(0x1fa));}};Nt=fs([_i(0x0,_0x5d1324),_i(0x1,_0x38fae2(_0x2ff782))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x1db574,_0x1e56ed,_0x504070,_0x51aaa1)=>{for(var _0x4b71b3=_0x51aaa1>0x1?void 0x0:_0x51aaa1?vs(_0x1e56ed,_0x504070):_0x1e56ed,_0x51d258=_0x1db574['length']-0x1,_0x42d788;_0x51d258>=0x0;_0x51d258--)(_0x42d788=_0x1db574[_0x51d258])&&(_0x4b71b3=_0x42d788(_0x4b71b3)||_0x4b71b3);return _0x4b71b3;},Pe=(_0x5e4cc7,_0x1e1986)=>(_0x3d5594,_0x240a74)=>_0x1e1986(_0x3d5594,_0x240a74,_0x5e4cc7);let Dt=class extends _0x5b3d08{constructor(_0x4e7aa3,_0x14fea9,_0xbb40f7,_0x18b4b7,_0x49cd06){var _0x263a61=_0x5ecaf8;super(_0x4e7aa3,_0x14fea9,_0xbb40f7),this[_0x263a61(0x33c)]=_0x18b4b7,this[_0x263a61(0x29e)]=_0x49cd06;}['transformUndoRedo'](_0x5ee295,_0x49dbc4){var _0x4967f3=_0x5ecaf8;const _0x5037e3=this['_getUndoStack'](_0x5ee295);if(_0x5037e3)try{const _0x13a3ac=this[_0x4967f3(0x20b)](_0x5037e3,_0x49dbc4);this[_0x4967f3(0x250)](_0x5ee295,_0x13a3ac);}catch(_0x365bf3){this['_logService'][_0x4967f3(0x156)](_0x4967f3(0x164),_0x365bf3),this[_0x4967f3(0x3ef)](_0x5ee295);}const _0x325a7a=this['_getRedoStack'](_0x5ee295);if(_0x325a7a)try{const _0x34eca3=this[_0x4967f3(0x20b)](_0x325a7a,_0x49dbc4);this[_0x4967f3(0x20e)](_0x5ee295,_0x34eca3);}catch(_0x3e8ca7){this[_0x4967f3(0x29e)][_0x4967f3(0x156)](_0x3e8ca7),this[_0x4967f3(0x2f0)](_0x5ee295);}}[_0x5ecaf8(0x3ef)](_0x38514a){var _0x376e1c=_0x5ecaf8;const _0x2ed551=this[_0x376e1c(0x2d4)](_0x38514a);_0x2ed551&&(_0x2ed551[_0x376e1c(0x3a3)]=0x0,this[_0x376e1c(0x1a1)]());}[_0x5ecaf8(0x2f0)](_0x33f916){var _0x2652db=_0x5ecaf8;const _0x291fc8=this[_0x2652db(0x23b)](_0x33f916);_0x291fc8&&(_0x291fc8['length']=0x0,this[_0x2652db(0x1a1)]());}['_substituteUndoStack'](_0x3f8575,_0x342f7e){var _0x1de66e=_0x5ecaf8;this[_0x1de66e(0x2ef)][_0x1de66e(0x1d7)](_0x3f8575,_0x342f7e),this[_0x1de66e(0x1a1)]();}[_0x5ecaf8(0x20e)](_0x5c97fb,_0x59a690){var _0x45128d=_0x5ecaf8;this[_0x45128d(0x29a)][_0x45128d(0x1d7)](_0x5c97fb,_0x59a690),this['_updateStatus']();}[_0x5ecaf8(0x20b)](_0x8e87d,_0x140413){var _0x35245c=_0x5ecaf8;const _0x566cd4=[];let _0x4a2885=_0x140413,_0x175da4=_0x140413;for(let _0x4f5e43=_0x8e87d['length']-0x1;_0x4f5e43>=0x0;_0x4f5e43--){const {unitID:_0xaf53fd,undoMutations:_0x128b83,redoMutations:_0x4ceb3a}=_0x8e87d[_0x4f5e43],_0x13c944=this[_0x35245c(0x33c)]['transformMutationsWithChangeset'](_0x4a2885,_0x128b83),_0x2b5682=this['_transformService'][_0x35245c(0x151)](_0x175da4,_0x4ceb3a);if(_0xe2f152(_0x13c944)||_0xe2f152(_0x2b5682)){this[_0x35245c(0x29e)]['error'](_0x35245c(0x164),_0x35245c(0x136),_0x13c944,_0x2b5682);break;}_0x4a2885=_0x13c944[_0x35245c(0x3d0)],_0x175da4=_0x2b5682[_0x35245c(0x3d0)],_0x566cd4['push']({'unitID':_0xaf53fd,'undoMutations':_0x13c944[_0x35245c(0x322)],'redoMutations':_0x2b5682[_0x35245c(0x322)]});}return _0x566cd4['reverse']();}};Dt=ps([Pe(0x0,_0x2643c0),Pe(0x1,_0x26a602),Pe(0x2,_0x5c8f30),Pe(0x3,_0x54d884),Pe(0x4,_0x5d2f2b)],Dt);var ms=Object[_0x5ecaf8(0x41b)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x22bdc4,_0x4c0730,_0x129593)=>_0x4c0730 in _0x22bdc4?ms(_0x22bdc4,_0x4c0730,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x129593}):_0x22bdc4[_0x4c0730]=_0x129593,Es=(_0x12218d,_0x1811dd,_0x305064,_0xc63f63)=>{var _0x202167=_0x5ecaf8;for(var _0x21d26e=_0xc63f63>0x1?void 0x0:_0xc63f63?gs(_0x1811dd,_0x305064):_0x1811dd,_0x34b144=_0x12218d[_0x202167(0x3a3)]-0x1,_0x195760;_0x34b144>=0x0;_0x34b144--)(_0x195760=_0x12218d[_0x34b144])&&(_0x21d26e=_0x195760(_0x21d26e)||_0x21d26e);return _0x21d26e;},St=(_0x439184,_0x30a9af)=>(_0x436402,_0x1bc35c)=>_0x30a9af(_0x436402,_0x1bc35c,_0x439184),Is=(_0x1fc599,_0x12e41c,_0x2fb323)=>Ss(_0x1fc599,_0x12e41c+'',_0x2fb323);const Ts='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x4684dc{constructor(_0x61d49c,_0xc58d69,_0x3d2fe3,_0x556457){var _0x252e61=_0x5ecaf8;super(),N(this,_0x252e61(0x2d1)),(this['_logService']=_0xc58d69,this[_0x252e61(0x21e)]=_0x3d2fe3,this[_0x252e61(0x1fb)]=_0x556457);const {..._0x4c310b}=_0x53d869({},An,_0x61d49c);if(!_0x4c310b[_0x252e61(0x3da)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x252e61(0x2d1)]=_0x4c310b,this[_0x252e61(0x1fb)][_0x252e61(0x1e1)](q,_0x4c310b);}[_0x5ecaf8(0x293)](){var _0x3b233b=_0x5ecaf8;this[_0x3b233b(0x2a3)](),this[_0x3b233b(0x2da)]();}[_0x5ecaf8(0x2a3)](){var _0x3884bf=_0x5ecaf8,_0x5f59c1,_0x47bc83;this[_0x3884bf(0x21e)][_0x3884bf(0x1e6)](_0x29fd27)&&this[_0x3884bf(0x29e)][_0x3884bf(0x156)]('[UniverCollaborationClientPlugin]',_0x3884bf(0x210));const _0x520ff6=_0x22f013([[_0x29fd27,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x3884bf(0x3da)]}],[_0x599121,{'useClass':Nt}],[_0x2d4c5c,{'useClass':Rt}],[_0x2d71ed,{'useClass':yt}],[_0x18c6fb,{'useClass':Ot}],[rt],[Ct]],(_0x5f59c1=this[_0x3884bf(0x2d1)])==null?void 0x0:_0x5f59c1[_0x3884bf(0x378)]);if(!((_0x47bc83=this[_0x3884bf(0x2d1)])!=null&&_0x47bc83['enableSingleActiveInstanceLock'])){const _0x3dda6a=_0x520ff6[_0x3884bf(0x30b)](([_0x3173da])=>_0x3173da===ht);_0x3dda6a!==-0x1&&_0x520ff6['splice'](_0x3dda6a,0x1);}_0x1ac71f(this[_0x3884bf(0x21e)],_0x520ff6);}[_0x5ecaf8(0x2da)](){var _0x3b9246=_0x5ecaf8,_0x3ba8b5,_0x3af593,_0x594761;this[_0x3b9246(0x21e)][_0x3b9246(0x2d7)](_0x2ff782)[_0x3b9246(0x417)]({'priority':0x14,'interceptor':_0x38cf59({'maxParallel':0x6})}),(_0x3ba8b5=this['_config'])!=null&&_0x3ba8b5[_0x3b9246(0x361)]||(_0x3af593=this['_injector']['get'](J,_0x341779[_0x3b9246(0x1d2)]))==null||_0x3af593[_0x3b9246(0x277)](),(_0x594761=this[_0x3b9246(0x2d1)])!=null&&_0x594761[_0x3b9246(0x411)]&&_0x4f1076(this['_injector'],[[st]]),_0x4f1076(this[_0x3b9246(0x21e)],[[at],[rt],[ot]]);}};Is(Ut,'pluginName',Ts),Ut=Es([_0x3b55bd(_0x596103,_0x25a534),St(0x1,_0x5d2f2b),St(0x2,_0x38fae2(_0x43f95e)),St(0x3,_0x5d1324)],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,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls 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,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs 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,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};