@univerjs-pro/collaboration-client 0.6.0-nightly.202502141606 → 0.6.0-nightly.202502151605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x41545e=_0x5230;(function(_0x1d3825,_0x3bdc23){var _0x561940=_0x5230,_0x348750=_0x1d3825();while(!![]){try{var _0x1839b0=parseInt(_0x561940(0x454))/0x1+-parseInt(_0x561940(0x3fe))/0x2*(parseInt(_0x561940(0x3a7))/0x3)+parseInt(_0x561940(0x1c4))/0x4+parseInt(_0x561940(0x35e))/0x5*(-parseInt(_0x561940(0x2dc))/0x6)+-parseInt(_0x561940(0x426))/0x7*(parseInt(_0x561940(0x471))/0x8)+parseInt(_0x561940(0x2c9))/0x9+parseInt(_0x561940(0x20b))/0xa;if(_0x1839b0===_0x3bdc23)break;else _0x348750['push'](_0x348750['shift']());}catch(_0x2c5424){_0x348750['push'](_0x348750['shift']());}}}(_0x5f23,0x915ce));var Ai=Object[_0x41545e(0x27b)],Pi=(_0x55c012,_0x559e11,_0x3d7a29)=>_0x559e11 in _0x55c012?Ai(_0x55c012,_0x559e11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d7a29}):_0x55c012[_0x559e11]=_0x3d7a29,N=(_0x26a9f7,_0x3785cf,_0x196e33)=>Pi(_0x26a9f7,typeof _0x3785cf!=_0x41545e(0x215)?_0x3785cf+'':_0x3785cf,_0x196e33);import{createIdentifier as _0x40779a,Inject as _0x236453,Injector as _0x35ce09,IConfigService as _0x34fb67,ILogService as _0x5b92b1,Disposable as _0x4b1c46,DisposableCollection as _0x548497,toDisposable as _0x1a739e,IUniverInstanceService as _0x214b6f,UserManagerService as _0x5964dc,UniverInstanceType as _0x16fa42,LocaleService as _0xa17142,Optional as _0x1d0f46,RxDisposable as _0x433c2f,Tools as _0x4c19fa,Rectangle as _0x807e68,ICommandService as _0x2c92b5,JSONX as _0x2b4183,CommandType as _0x36bcfe,IUndoRedoService as _0x5a61a5,IPermissionService as _0x4da13f,sequenceExecute as _0xb3a7a3,Workbook as _0xa9a7e0,MentionType as _0x426e6f,isInternalEditorID as _0x3359f1,LocalUndoRedoService as _0x2e41ca,IContextService as _0x5afa9c,DependentOn as _0x189c14,Plugin as _0x4357a2,merge as _0x48c383,mergeOverrideWithDependencies as _0x226ccd,IAuthzIoService as _0x3ac908,IMentionIOService as _0x1f17af,registerDependencies as _0x56bf0d,Quantity as _0x248523,touchDependencies as _0x266d35}from'@univerjs/core';import{Subject as _0x5daeac,merge as _0x14bf95,of as _0x65e3ad,BehaviorSubject as _0x48d6f2,takeUntil as _0x515a44,ReplaySubject as _0x4225a9,take as _0x4774cb,map as _0x5c7050,shareReplay as _0x351670,firstValueFrom as _0x3a72d0,concatMap as _0x5a3729}from'rxjs';import{map as _0x5a18b9,take as _0x118750,filter as _0x1a0aae,delay as _0x3cb60d,takeUntil as _0x48cb79}from'rxjs/operators';import{CollaborationEvent as _0x5cfd61,ISnapshotServerService as _0x1cc5ae,parseChangesetToProtocol as _0x409719,ITransformService as _0x1335c8,isTransformMutationsWithChangesetSuccess as _0x191540,mapDocumentTypeToUniverType as _0x221d05,RevisionService as _0x4fea53,isTransformChangesetsSuccess as _0xab296d,CompressMutationService as _0x4c6f39,parseProtocolChangeset as _0x2cacbb,SnapshotService as _0x460d13,textEncoder as _0x4206cc,b64DecodeUnicode as _0x22f055,isTransformMutationsWithChangesetFailure as _0x5901b0,UniverCollaborationPlugin as _0xf3fa8c}from'@univerjs-pro/collaboration';import{HTTPService as _0x15df20,ISocketService as _0x388dee,MergeInterceptorFactory as _0xf3ee5b,HTTPRequest as _0xa6c8fe,UniverNetworkPlugin as _0xe8c0f4,ThresholdInterceptorFactory as _0x2226bf}from'@univerjs/network';import{ITelemetryService as _0x149af4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1ba331}from'@univerjs/docs';import{SheetsSelectionsService as _0xb5c7c4,SetSelectionsOperation as _0x341123,InsertSheetMutation as _0x18838c,EmptyMutation as _0x59316b,WorkbookEditablePermission as _0xeafda4,SheetPermissionInitController as _0x40e8ac}from'@univerjs/sheets';import{ImageSourceType as _0x27b5d1,ImageUploadStatusType as _0x3183f8,IImageIoService as _0x5bffa7}from'@univerjs/drawing';import{getGlobalObject as _0x759dcf}from'@univerjs-pro/license';const pr=_0x41545e(0x382),mr=_0x41545e(0x200),gr=_0x41545e(0x1f5),xs=_0x41545e(0x18f),Sr=0x7d0,Er=_0x41545e(0x21f),Ir=_0x41545e(0x36b),Ls=_0x41545e(0x209),Tr='HEARTBEAT_INTERVAL',Cr=0x7530,mi=_0x41545e(0x213),gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x41545e(0x283),ks=0x3e8,Or=_0x41545e(0x37b),Nr=_0x41545e(0x23e),Dr='LOGIN_URL_KEY',wr=_0x41545e(0x1f2),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x41545e(0x342);var Si=(_0x517c43=>(_0x517c43[_0x517c43[_0x41545e(0x371)]=0x0]=_0x41545e(0x371),_0x517c43[_0x517c43['OK']=0x1]='OK',_0x517c43[_0x517c43[_0x41545e(0x356)]=0x2]=_0x41545e(0x356),_0x517c43[_0x517c43[_0x41545e(0x2b0)]=0x3]=_0x41545e(0x2b0),_0x517c43[_0x517c43[_0x41545e(0x2cc)]=0x4]=_0x41545e(0x2cc),_0x517c43[_0x517c43[_0x41545e(0x1b6)]=0x5]='UNAUTHENTICATED',_0x517c43[_0x517c43[_0x41545e(0x409)]=0x6]='ALREADY_EXISTS',_0x517c43[_0x517c43[_0x41545e(0x45a)]=0x7]=_0x41545e(0x45a),_0x517c43[_0x517c43[_0x41545e(0x1ba)]=0x8]=_0x41545e(0x1ba),_0x517c43[_0x517c43[_0x41545e(0x1eb)]=0x9]='COMPLETION_FINISHED',_0x517c43[_0x517c43[_0x41545e(0x433)]=0x1389]=_0x41545e(0x433),_0x517c43[_0x517c43[_0x41545e(0x44e)]=0x1771]=_0x41545e(0x44e),_0x517c43[_0x517c43['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x517c43[_0x517c43[_0x41545e(0x457)]=0x1773]=_0x41545e(0x457),_0x517c43[_0x517c43['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x517c43[_0x517c43[_0x41545e(0x2da)]=0x1b5a]=_0x41545e(0x2da),_0x517c43[_0x517c43[_0x41545e(0x2a1)]=0x1b5b]=_0x41545e(0x2a1),_0x517c43[_0x517c43[_0x41545e(0x3cb)]=0x1b5c]=_0x41545e(0x3cb),_0x517c43[_0x517c43[_0x41545e(0x481)]=0x1b5d]=_0x41545e(0x481),_0x517c43[_0x517c43[_0x41545e(0x3c2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x517c43[_0x517c43[_0x41545e(0x23d)]=0x2329]=_0x41545e(0x23d),_0x517c43[_0x517c43['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x41545e(0x1b9),_0x517c43[_0x517c43['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x517c43[_0x517c43['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41545e(0x431),_0x517c43[_0x517c43['LICENSE_DISTRO_REJECTED']=0x232d]=_0x41545e(0x2ea),_0x517c43[_0x517c43[_0x41545e(0x2de)]=0x2711]=_0x41545e(0x2de),_0x517c43[_0x517c43[_0x41545e(0x248)]=0x2712]=_0x41545e(0x248),_0x517c43[_0x517c43[_0x41545e(0x2db)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x517c43[_0x517c43[_0x41545e(0x225)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x517c43[_0x517c43['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x517c43[_0x517c43[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x517c43))(Si||{}),Q=(_0x4065f4=>(_0x4065f4[_0x4065f4[_0x41545e(0x33f)]=0x0]=_0x41545e(0x33f),_0x4065f4[_0x4065f4[_0x41545e(0x378)]=0x1]='UNIVER_DOC',_0x4065f4[_0x4065f4[_0x41545e(0x1af)]=0x2]=_0x41545e(0x1af),_0x4065f4[_0x4065f4['UNIVER_SLIDE']=0x3]=_0x41545e(0x301),_0x4065f4[_0x4065f4[_0x41545e(0x269)]=0x4]='UNIVER_PROJECT',_0x4065f4[_0x4065f4[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x4065f4))(Q||{}),F=(_0x6e1f78=>(_0x6e1f78[_0x6e1f78[_0x41545e(0x3f8)]=0x0]=_0x41545e(0x3f8),_0x6e1f78[_0x6e1f78[_0x41545e(0x1d1)]=0x1]='HELLO',_0x6e1f78[_0x6e1f78[_0x41545e(0x270)]=0x2]=_0x41545e(0x270),_0x6e1f78[_0x6e1f78[_0x41545e(0x29b)]=0x3]=_0x41545e(0x29b),_0x6e1f78[_0x6e1f78['INGEST']=0x4]=_0x41545e(0x1b2),_0x6e1f78[_0x6e1f78['HEARTBEAT']=0x5]=_0x41545e(0x373),_0x6e1f78[_0x6e1f78[_0x41545e(0x229)]=0x6]=_0x41545e(0x229),_0x6e1f78[_0x6e1f78['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x6e1f78))(F||{}),ge=(_0x33c588=>(_0x33c588[_0x33c588['UNKNOWN_CODE']=0x0]=_0x41545e(0x1ec),_0x33c588[_0x33c588['OK']=0x1]='OK',_0x33c588[_0x33c588[_0x41545e(0x3b9)]=0x2]=_0x41545e(0x3b9),_0x33c588[_0x33c588[_0x41545e(0x3fc)]=0x3e9]='JOIN_ROOM_FULL',_0x33c588[_0x33c588['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x41545e(0x2a4),_0x33c588[_0x33c588[_0x41545e(0x444)]=0x3eb]=_0x41545e(0x444),_0x33c588[_0x33c588[_0x41545e(0x3e3)]=0x3ec]=_0x41545e(0x3e3),_0x33c588[_0x33c588['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x33c588))(ge||{}),Ei=(_0x153365=>(_0x153365[_0x153365[_0x41545e(0x20a)]=0x0]=_0x41545e(0x20a),_0x153365[_0x153365[_0x41545e(0x37a)]=0x1]=_0x41545e(0x37a),_0x153365[_0x153365[_0x41545e(0x456)]=0x2]=_0x41545e(0x456),_0x153365[_0x153365[_0x41545e(0x2a5)]=0x3]='UnitEmbedded',_0x153365[_0x153365[_0x41545e(0x245)]=0x4]=_0x41545e(0x245),_0x153365[_0x153365[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x153365))(Ei||{});const q=_0x41545e(0x404),Ur={};var se=(_0x412664=>(_0x412664[_0x41545e(0x2fd)]='OTHER_CLIENT_EDITING',_0x412664[_0x41545e(0x2b0)]=_0x41545e(0x2b0),_0x412664[_0x41545e(0x2cb)]='CONFLICT',_0x412664[_0x41545e(0x3c1)]=_0x41545e(0x3c1),_0x412664[_0x41545e(0x203)]=_0x41545e(0x203),_0x412664[_0x41545e(0x327)]='SOCKET_FAILED_RETRY',_0x412664['SOCKET_FAILED']=_0x41545e(0x2ee),_0x412664[_0x41545e(0x37c)]=_0x41545e(0x37c),_0x412664))(se||{});class pe{constructor(){var _0x4245b0=_0x41545e;N(this,_0x4245b0(0x276),new _0x5daeac()),N(this,_0x4245b0(0x438),this[_0x4245b0(0x276)][_0x4245b0(0x38e)]());}[_0x41545e(0x24f)](_0x5cd50a){var _0x375257=_0x41545e;this[_0x375257(0x276)][_0x375257(0x25e)](_0x5cd50a);}}const Ar=_0x40779a('univer-pro.collaboration-client.network-condition.service');function Pr(_0x116eeb){var _0x321663=_0x41545e,_0xc989fd,_0x1adc8e,_0x132230,_0x5b13c7,_0x5021a0;const _0x3b1860=_0x116eeb[_0x321663(0x226)],_0x385717=JSON[_0x321663(0x3ce)](_0x3b1860);switch(_0x385717[_0x321663(0x3d7)]){case F[_0x321663(0x373)]:case F['HELLO']:{const _0x165e73=_0x385717[_0x321663(0x446)];return{..._0x385717,'data':_0x165e73,'cmd':_0x385717[_0x321663(0x3d7)]};}case F[_0x321663(0x270)]:{const _0x3b4fd0=_0x385717[_0x321663(0x348)];return{..._0x385717,'data':_0x3b4fd0,'cmd':_0x385717['cmd']};}case F[_0x321663(0x229)]:{const _0x502783=_0x385717[_0x321663(0x1d3)];switch(_0x502783['eventID']){case _0x5cfd61[_0x321663(0x255)]:return{..._0x385717,'data':{..._0x502783,'data':(_0xc989fd=_0x502783[_0x321663(0x45d)])==null?void 0x0:_0xc989fd['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3df)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x1adc8e=_0x502783[_0x321663(0x1e3)])==null?void 0x0:_0x1adc8e['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x33b)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x132230=_0x502783[_0x321663(0x42d)])==null?void 0x0:_0x132230['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3a6)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5b13c7=_0x502783['csRejEvent'])==null?void 0x0:_0x5b13c7['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x3bc)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5021a0=_0x502783[_0x321663(0x1bf)])==null?void 0x0:_0x5021a0['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x474)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3d0)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['USERS_ENTER']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3e6)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x218)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['leaveEvent']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x375)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x2ca)]:case _0x5cfd61[_0x321663(0x3c3)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x467)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x463)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x420)]:return{..._0x385717,'data':_0x502783,'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x315)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['commentUpdateEvent']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x306)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x193)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['SHOULD_CLOSE_CONN']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x389)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x1d4)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47e)]},'cmd':_0x385717[_0x321663(0x3d7)]};default:return _0x385717;}}default:return _0x385717;}}function xr(_0xdb498c){var _0xcdef3a=_0x41545e;switch(_0xdb498c[_0xcdef3a(0x3d7)]){case F['HEARTBEAT']:case F[_0xcdef3a(0x1d1)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)]});case F[_0xcdef3a(0x1b2)]:{let _0x5a7212;switch(_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x44a)]){case _0x5cfd61[_0xcdef3a(0x474)]:{_0x5a7212={'eventID':_0x5cfd61['UPDATE_CURSOR'],'updateCursorEvent':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x218)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x218)],'leaveEvent':_0xdb498c['data'][_0xcdef3a(0x226)]};break;}case _0x5cfd61['USERS_ENTER']:{_0x5a7212={'eventID':_0x5cfd61['USERS_ENTER'],'joinEvent':_0xdb498c['data']['data']};break;}case _0x5cfd61[_0xcdef3a(0x375)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x375)],'liveShareNewHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x3c3)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x3c3)],'liveShareOperation':_0xdb498c['data']['data']};break;}case _0x5cfd61['LIVESHARE_TERMINATE']:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x463)],'liveShareTerminate':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x1ac)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x1ac)],'liveShareRequestHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x2ca)]:{_0x5a7212={'eventID':_0x5cfd61['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5a7212={'eventID':_0xdb498c[_0xcdef3a(0x226)]['eventID']};}return JSON['stringify']({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'collaMsg':_0x5a7212});}case F[_0xcdef3a(0x270)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c[_0xcdef3a(0x3d7)],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'joinReq':_0xdb498c[_0xcdef3a(0x226)]});case F[_0xcdef3a(0x29b)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'leaveReq':_0xdb498c['data']});default:throw new Error(_0xcdef3a(0x224));}}var Lr=Object[_0x41545e(0x271)],Mr=(_0x253a30,_0x26bba4,_0x3b8fe7,_0x3c119c)=>{var _0x36e8a2=_0x41545e;for(var _0x1a453c=_0x3c119c>0x1?void 0x0:_0x3c119c?Lr(_0x26bba4,_0x3b8fe7):_0x26bba4,_0x5264fb=_0x253a30[_0x36e8a2(0x2fa)]-0x1,_0x8f7bb6;_0x5264fb>=0x0;_0x5264fb--)(_0x8f7bb6=_0x253a30[_0x5264fb])&&(_0x1a453c=_0x8f7bb6(_0x1a453c)||_0x1a453c);return _0x1a453c;},Ue=(_0xfdb062,_0x55decc)=>(_0x3f6e9a,_0x58edd2)=>_0x55decc(_0x3f6e9a,_0x58edd2,_0xfdb062);const Ii=_0x40779a(_0x41545e(0x3c7));function kr(_0x4d4f19,_0x3b7247,_0x617d39){var _0x5e24ec=_0x41545e;return _0x4d4f19+'/'+_0x3b7247+_0x5e24ec(0x410)+_0x617d39+_0x5e24ec(0x3e9);}let Vt=class extends _0x4b1c46{constructor(_0x39a154,_0x461e09,_0x4d86b5,_0x11b918,_0x155631){var _0x1fef6e=_0x41545e;super(),this['_injector']=_0x39a154,this[_0x1fef6e(0x365)]=_0x461e09,this['_configService']=_0x4d86b5,this[_0x1fef6e(0x398)]=_0x11b918,this[_0x1fef6e(0x2c4)]=_0x155631;}[_0x41545e(0x336)](_0x55ccee){var _0x4d6bbd=_0x41545e;const _0x27309b=this['_injector'][_0x4d6bbd(0x393)](_0x388dee);if(!_0x27309b)throw new Error(_0x4d6bbd(0x434));const _0x35ceda=_0x27309b[_0x4d6bbd(0x307)](_0x55ccee);if(!_0x35ceda)throw new Error(_0x4d6bbd(0x384));const _0x236043=new _0x548497(),_0x482d77=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x338)]['subscribe'](_0x7250f4=>_0x482d77['next'](_0x7250f4))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x482d77[_0x4d6bbd(0x1c5)]()));const _0x432b8c=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x31f)]['subscribe'](_0x1a5112=>_0x432b8c[_0x4d6bbd(0x25e)](_0x1a5112))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x432b8c['complete']()));const _0x165bd5=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda['message$']['subscribe'](_0xb1ffbb=>{const _0x1ee18c=Pr(_0xb1ffbb);_0x165bd5['next'](_0x1ee18c);})),_0x236043['add'](_0x1a739e(()=>_0x165bd5[_0x4d6bbd(0x1c5)]()));let _0x2f74d9;const _0x3d7fb6=()=>{var _0x3fc297=_0x4d6bbd;_0x432b8c['next'](new Event(_0x3fc297(0x296))),_0x482d77[_0x3fc297(0x25e)](new Event(_0x3fc297(0x296))),_0x2f74d9[_0x3fc297(0x20d)]();};return _0x2f74d9={'memberID':'','close$':_0x482d77[_0x4d6bbd(0x38e)](),'error$':_0x432b8c['asObservable'](),'open$':_0x35ceda[_0x4d6bbd(0x3f3)],'message$':_0x165bd5[_0x4d6bbd(0x38e)](),'send':_0x1499ab=>{var _0x1175b1=_0x4d6bbd;if(_0x1499ab[_0x1175b1(0x3d7)]===F['INGEST']){if(_0x1499ab[_0x1175b1(0x226)][_0x1175b1(0x44a)]===_0x5cfd61[_0x1175b1(0x339)]){this[_0x1175b1(0x32e)](_0x2f74d9,_0x1499ab['data'])[_0x1175b1(0x196)](_0x5ad906=>{var _0x3afa2e=_0x1175b1;this[_0x3afa2e(0x398)][_0x3afa2e(0x353)](_0x5ad906),_0x3d7fb6();});return;}if(_0x1499ab[_0x1175b1(0x226)]['eventID']===_0x5cfd61[_0x1175b1(0x39c)]){const _0x1515e0=_0x1499ab[_0x1175b1(0x226)];this[_0x1175b1(0x1b7)](_0x1515e0)[_0x1175b1(0x2aa)](_0x2d3a24=>{var _0x4133c2=_0x1175b1;_0x165bd5['next']({'cmd':F[_0x4133c2(0x229)],'code':ge['OK'],'routeKey':_0x1515e0[_0x4133c2(0x226)][_0x4133c2(0x25a)],'routeType':'','data':{'eventID':_0x5cfd61[_0x4133c2(0x1d9)],'data':{'changesets':_0x2d3a24}}});})[_0x1175b1(0x196)](_0x133ff1=>{var _0x5f1c57=_0x1175b1;this[_0x5f1c57(0x398)][_0x5f1c57(0x353)](_0x133ff1),_0x3d7fb6();});return;}}_0x35ceda[_0x1175b1(0x24c)](xr(_0x1499ab));},'close':()=>{var _0x1bd2b5=_0x4d6bbd;_0x35ceda['close'](),_0x236043[_0x1bd2b5(0x293)]();}},_0x2f74d9;}async[_0x41545e(0x32e)](_0x5d6bb4,_0x3eecf6){var _0x4003b2=_0x41545e,_0x19790a,_0x5b6eac;const {unitType:_0x5563a8,unitID:_0x44aac0,changeset:_0x1fe888}=_0x3eecf6[_0x4003b2(0x226)],_0x16d0e5={'unitID':_0x44aac0,'memberID':_0x5d6bb4[_0x4003b2(0x381)],'type':_0x5563a8,'changeset':_0x409719(_0x1fe888)},_0x30480e=this[_0x4003b2(0x2f0)][_0x4003b2(0x222)](Or),_0x133375=this[_0x4003b2(0x2f0)]['getConfig'](q),_0x29d54f=kr((_0x5b6eac=(_0x19790a=_0x133375==null?void 0x0:_0x133375[_0x4003b2(0x1b5)])!=null?_0x19790a:_0x30480e)!=null?_0x5b6eac:Nr,_0x5563a8,_0x44aac0);try{await this[_0x4003b2(0x365)][_0x4003b2(0x3da)](_0x29d54f,{'body':_0x16d0e5});}catch(_0x16575e){throw this[_0x4003b2(0x398)][_0x4003b2(0x353)](_0x4003b2(0x20f),_0x4003b2(0x282)),_0x16575e;}}async['_fetchMissChangesets'](_0x8294d6){var _0x19f50b=_0x41545e;const {unitID:_0x1af665,from:_0x3c69be,to:_0x2459a1,unitType:_0x1cf496}=_0x8294d6[_0x19f50b(0x226)];return(await this[_0x19f50b(0x2c4)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1af665,'type':_0x1cf496,'from':_0x3c69be,'to':_0x2459a1}))[_0x19f50b(0x40c)];}};Vt=Mr([Ue(0x0,_0x236453(_0x35ce09)),Ue(0x1,_0x236453(_0x15df20)),Ue(0x2,_0x34fb67),Ue(0x3,_0x5b92b1),Ue(0x4,_0x1cc5ae)],Vt);const $r='collaboration_new_changeset';function Hr(_0x568c59){var _0x10773f=_0x41545e;return JSON['stringify'](_0x568c59)[_0x10773f(0x2fa)];}class Ti{constructor(){var _0x2f6aa1=_0x41545e;N(this,'_commentUpdate$',new _0x5daeac()),N(this,_0x2f6aa1(0x21a),this[_0x2f6aa1(0x30e)][_0x2f6aa1(0x38e)]());}[_0x41545e(0x440)](_0x3a3ea0){var _0x32fe5e=_0x41545e;this[_0x32fe5e(0x30e)][_0x32fe5e(0x25e)](_0x3a3ea0);}}var Br=Object[_0x41545e(0x271)],jr=(_0x848e4d,_0x44ae5f,_0x1d4404,_0x260899)=>{var _0x57da4a=_0x41545e;for(var _0x305e60=_0x260899>0x1?void 0x0:_0x260899?Br(_0x44ae5f,_0x1d4404):_0x44ae5f,_0x3d7972=_0x848e4d[_0x57da4a(0x2fa)]-0x1,_0x37e0dd;_0x3d7972>=0x0;_0x3d7972--)(_0x37e0dd=_0x848e4d[_0x3d7972])&&(_0x305e60=_0x37e0dd(_0x305e60)||_0x305e60);return _0x305e60;},Wt=(_0x55aac9,_0x20b997)=>(_0x5cb49b,_0xe24043)=>_0x20b997(_0x5cb49b,_0xe24043,_0x55aac9);let xe=class extends _0x4b1c46{constructor(_0x4b8ed7,_0x588677){var _0x141466=_0x41545e;super(),N(this,'_roomMembers',new Map()),N(this,_0x141466(0x1a3),new _0x5daeac()),(this[_0x141466(0x1f6)]=_0x4b8ed7,this[_0x141466(0x1db)]=_0x588677,this[_0x141466(0x41a)](_0x14bf95(this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x1af)])['pipe'](_0x5a18b9(_0x47b86c=>_0x47b86c[_0x141466(0x32f)]())),this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x378)])[_0x141466(0x30b)](_0x5a18b9(_0x548cae=>_0x548cae[_0x141466(0x32f)]())),this['_univerInstanceService'][_0x141466(0x18c)](_0x16fa42[_0x141466(0x301)])['pipe'](_0x5a18b9(_0x2c23f2=>_0x2c23f2[_0x141466(0x32f)]())))[_0x141466(0x40b)](_0x450452=>this['_removeRoom'](_0x450452))));}[_0x41545e(0x2e8)](_0x4d017c){var _0x38a5d1=_0x41545e;return this[_0x38a5d1(0x458)][_0x38a5d1(0x46e)](_0x4d017c)?_0x65e3ad(this[_0x38a5d1(0x458)]['get'](_0x4d017c)):this[_0x38a5d1(0x1a3)][_0x38a5d1(0x30b)](_0x5a18b9(_0x4d4caa=>{var _0x44f52d=_0x38a5d1;if(_0x4d4caa===_0x4d017c)return this['_roomMembers'][_0x44f52d(0x393)](_0x4d4caa);}));}['setCurrentUser'](_0x29106d){var _0x197976=_0x41545e;this['_userManagerService'][_0x197976(0x1f8)](_0x29106d);}[_0x41545e(0x267)](){var _0x2174f4=_0x41545e;return this[_0x2174f4(0x1db)]['getCurrentUser']();}[_0x41545e(0x1a4)](_0x3526e1,_0x37aa5f){var _0x2c8c8a=_0x41545e;let _0x12fbc2=this['_roomMembers'][_0x2c8c8a(0x393)](_0x3526e1);_0x12fbc2||(_0x12fbc2=new Fr(),this[_0x2c8c8a(0x458)][_0x2c8c8a(0x3d2)](_0x3526e1,_0x12fbc2),this[_0x2c8c8a(0x1a3)]['next'](_0x3526e1)),_0x12fbc2[_0x2c8c8a(0x1a4)](_0x37aa5f);}[_0x41545e(0x388)](_0x590e1d,_0x32fea1){var _0x2a28cd=_0x41545e;const _0x320bbb=this[_0x2a28cd(0x458)][_0x2a28cd(0x393)](_0x590e1d);_0x320bbb&&_0x320bbb[_0x2a28cd(0x388)](_0x32fea1);}[_0x41545e(0x33c)](_0x4dfae1){var _0x5ca671=_0x41545e;return this[_0x5ca671(0x458)][_0x5ca671(0x393)](_0x4dfae1);}[_0x41545e(0x34b)](_0x4369b5,_0x2733fc){var _0x575310=_0x41545e;const _0x3483a9=this['_roomMembers'][_0x575310(0x393)](_0x4369b5);if(_0x3483a9)return _0x3483a9[_0x575310(0x34b)](_0x2733fc);}[_0x41545e(0x277)](_0x267219){var _0x2e54a4=_0x41545e;const _0x2a8165=this[_0x2e54a4(0x458)]['get'](_0x267219);_0x2a8165&&(_0x2a8165['dispose'](),this[_0x2e54a4(0x458)][_0x2e54a4(0x27a)](_0x267219));}[_0x41545e(0x293)](){var _0x90ae0b=_0x41545e;this[_0x90ae0b(0x458)][_0x90ae0b(0x1d8)](_0x4f9695=>_0x4f9695[_0x90ae0b(0x293)]()),this[_0x90ae0b(0x458)][_0x90ae0b(0x302)](),this[_0x90ae0b(0x1a3)][_0x90ae0b(0x1c5)]();}};xe=jr([Wt(0x0,_0x214b6f),Wt(0x1,_0x236453(_0x5964dc))],xe);class Fr extends _0x4b1c46{constructor(){var _0x232de1=_0x41545e;super(...arguments),N(this,_0x232de1(0x46d),new Map()),N(this,_0x232de1(0x337),new _0x48d6f2(this['_members'])),N(this,_0x232de1(0x18e),this[_0x232de1(0x337)][_0x232de1(0x38e)]());}[_0x41545e(0x293)](){var _0x103fa9=_0x41545e;this[_0x103fa9(0x46d)]['clear']();}[_0x41545e(0x1a4)](_0x33193d){var _0x5d831d=_0x41545e;this[_0x5d831d(0x46d)][_0x5d831d(0x3d2)](_0x33193d[_0x5d831d(0x381)],_0x33193d),this[_0x5d831d(0x2d6)]();}['removeMember'](_0x35441b){var _0x124546=_0x41545e;this[_0x124546(0x46d)][_0x124546(0x27a)](_0x35441b);}[_0x41545e(0x34b)](_0x1b2db6){var _0x4e147a=_0x41545e;return this[_0x4e147a(0x46d)][_0x4e147a(0x393)](_0x1b2db6);}[_0x41545e(0x476)](){var _0x80ab8c=_0x41545e;return Array[_0x80ab8c(0x22c)](this[_0x80ab8c(0x46d)][_0x80ab8c(0x305)]());}[_0x41545e(0x2d6)](){var _0xc3a4f5=_0x41545e;this[_0xc3a4f5(0x337)][_0xc3a4f5(0x25e)](this[_0xc3a4f5(0x46d)]);}}var Gr=Object[_0x41545e(0x271)],Vr=(_0x527b3e,_0x4ee5a4,_0x8c85d9,_0x1b5f16)=>{var _0x6c0456=_0x41545e;for(var _0x1a1e3a=_0x1b5f16>0x1?void 0x0:_0x1b5f16?Gr(_0x4ee5a4,_0x8c85d9):_0x4ee5a4,_0x350a51=_0x527b3e[_0x6c0456(0x2fa)]-0x1,_0x40742d;_0x350a51>=0x0;_0x350a51--)(_0x40742d=_0x527b3e[_0x350a51])&&(_0x1a1e3a=_0x40742d(_0x1a1e3a)||_0x1a1e3a);return _0x1a1e3a;},me=(_0x59d20b,_0x2eac77)=>(_0x10add9,_0x126357)=>_0x2eac77(_0x10add9,_0x126357,_0x59d20b),Ee=(_0x422958=>(_0x422958[_0x422958[_0x41545e(0x450)]=0x0]='IDLE',_0x422958[_0x422958['JOINING']=0x1]=_0x41545e(0x391),_0x422958[_0x422958[_0x41545e(0x1ed)]=0x2]=_0x41545e(0x1ed),_0x422958[_0x422958[_0x41545e(0x280)]=0x3]=_0x41545e(0x280),_0x422958))(Ee||{});const Kt={[ge[_0x41545e(0x3b9)]]:_0x41545e(0x425),[ge[_0x41545e(0x3fc)]]:_0x41545e(0x230),[ge[_0x41545e(0x2a4)]]:'session.room-not-exists',[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x41545e(0x2b6),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x41545e(0x3eb)};let Et=class extends _0x433c2f{constructor(_0x369cc9,_0x49c0ea,_0x377dce,_0x54980d,_0x5820b6,_0x287c22,_0x3c99c9,_0xb51dbb,_0x2a7908){var _0x4c4f25=_0x41545e;super(),N(this,_0x4c4f25(0x247),new _0x48d6f2(0x0)),N(this,_0x4c4f25(0x1d2),this['_sessionStatus$'][_0x4c4f25(0x38e)]()),N(this,'_event$',new _0x5daeac()),N(this,_0x4c4f25(0x438),this[_0x4c4f25(0x276)][_0x4c4f25(0x38e)]()),N(this,_0x4c4f25(0x2eb)),N(this,_0x4c4f25(0x242)),N(this,_0x4c4f25(0x2b3)),N(this,_0x4c4f25(0x39f),!0x1),N(this,_0x4c4f25(0x2a8),null),(this[_0x4c4f25(0x399)]=_0x369cc9,this[_0x4c4f25(0x398)]=_0x377dce,this[_0x4c4f25(0x2f0)]=_0x54980d,this['_localeService']=_0x5820b6,this['_memberService']=_0x287c22,this[_0x4c4f25(0x475)]=_0x3c99c9,this[_0x4c4f25(0x1ae)]=_0xb51dbb,this[_0x4c4f25(0x2f7)]=_0x2a7908,this[_0x4c4f25(0x39f)]=!!this[_0x4c4f25(0x2f7)],_0x49c0ea[_0x4c4f25(0x30b)](_0x515a44(this[_0x4c4f25(0x423)]))['subscribe'](_0x2c81ad=>{var _0x31f372=_0x4c4f25,_0x1374d2;typeof _0x2c81ad>'u'||(this[_0x31f372(0x2eb)]=_0x2c81ad,_0x2c81ad?(this[_0x31f372(0x2e3)](_0x2c81ad),this[_0x31f372(0x242)]=_0x2c81ad[_0x31f372(0x3d4)][_0x31f372(0x40b)](_0x539a5e=>{var _0x1b2252=_0x31f372;_0x539a5e['routeKey']===this[_0x1b2252(0x399)]&&this[_0x1b2252(0x219)](_0x539a5e);})):(this[_0x31f372(0x452)](),this[_0x31f372(0x247)][_0x31f372(0x25e)](0x2),(_0x1374d2=this[_0x31f372(0x242)])==null||_0x1374d2['unsubscribe'](),this[_0x31f372(0x242)]=null));}));}get[_0x41545e(0x1fe)](){var _0x5190e1=_0x41545e;return this['_sessionStatus$'][_0x5190e1(0x370)]();}[_0x41545e(0x35b)](){var _0x48fd36=_0x41545e,_0x281c97,_0x31081e;return(_0x31081e=(_0x281c97=this[_0x48fd36(0x2eb)])==null?void 0x0:_0x281c97[_0x48fd36(0x381)])!=null?_0x31081e:null;}[_0x41545e(0x293)](){var _0x45e6b3=_0x41545e;super['dispose'](),this['dispose$'][_0x45e6b3(0x25e)](),this['dispose$'][_0x45e6b3(0x1c5)]();}[_0x41545e(0x20d)](){var _0x412c8a=_0x41545e,_0x2d8c47,_0x233361;this[_0x412c8a(0x452)](),(_0x2d8c47=this[_0x412c8a(0x2eb)])==null||_0x2d8c47[_0x412c8a(0x24c)]({'cmd':F[_0x412c8a(0x29b)],'data':{'roomID':this[_0x412c8a(0x399)]}}),(_0x233361=this[_0x412c8a(0x2eb)])==null||_0x233361[_0x412c8a(0x20d)](),this['_event$'][_0x412c8a(0x1c5)](),this['_sessionStatus$'][_0x412c8a(0x1c5)](),this[_0x412c8a(0x293)]();}[_0x41545e(0x219)](_0x41ce05){var _0x545f5a=_0x41545e;_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x270)]?this[_0x545f5a(0x332)](_0x41ce05):_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x229)]&&this[_0x545f5a(0x349)](_0x41ce05);}[_0x41545e(0x2e3)](_0x34112f){var _0xb85ef0=_0x41545e;this['_sessionStatus$'][_0xb85ef0(0x25e)](0x1),_0x34112f['send']({'cmd':F[_0xb85ef0(0x270)],'routeKey':this[_0xb85ef0(0x399)],'routeType':'','data':{'rooms':[{'roomID':this[_0xb85ef0(0x399)]}]}});}[_0x41545e(0x332)](_0x212565){var _0x436c25=_0x41545e,_0x5b74b7;if(_0x212565[_0x436c25(0x330)]in Kt){this[_0x436c25(0x1ae)][_0x436c25(0x24f)]({'id':se[_0x436c25(0x203)],'data':Kt[_0x212565[_0x436c25(0x330)]]}),this[_0x436c25(0x247)][_0x436c25(0x25e)](0x2);return;}this[_0x436c25(0x247)][_0x436c25(0x25e)](0x3);const _0x4426a5=(_0x5b74b7=_0x212565[_0x436c25(0x226)][_0x436c25(0x428)][this[_0x436c25(0x399)]])==null?void 0x0:_0x5b74b7[_0x436c25(0x197)];_0x4426a5&&_0x4426a5[_0x436c25(0x1d8)](_0x572fbb=>this['_memberService'][_0x436c25(0x1a4)](this[_0x436c25(0x399)],_0x572fbb));}[_0x41545e(0x349)](_0x4a24af){var _0x3c3a90=_0x41545e;try{const _0x4abcd2=_0x4a24af[_0x3c3a90(0x226)];switch(_0x4abcd2['eventID']){case _0x5cfd61[_0x3c3a90(0x3b6)]:this['_onUserJoin'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x218)]:this['_onUserLeave'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x3df)]:case _0x5cfd61[_0x3c3a90(0x3bc)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3c3a90(0x3f9)](),this[_0x3c3a90(0x276)]['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x420)]:this[_0x3c3a90(0x398)][_0x3c3a90(0x353)](_0x3c3a90(0x39e)+JSON['stringify'](_0x4abcd2)),this['_event$']['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x315)]:this[_0x3c3a90(0x475)]['onCommentUpdate'](_0x4abcd2[_0x3c3a90(0x226)]),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;default:this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);}}catch(_0x16b68e){this['_logService'][_0x3c3a90(0x353)](_0x16b68e,_0x4a24af);}}[_0x41545e(0x383)](_0x57acbd){var _0x2ebe7d=_0x41545e;this[_0x2ebe7d(0x29a)][_0x2ebe7d(0x1a4)](this[_0x2ebe7d(0x399)],_0x57acbd[_0x2ebe7d(0x226)]);}['_onUserLeave'](_0x584af7){var _0x44a31d=_0x41545e;this[_0x44a31d(0x29a)]['removeMember'](this[_0x44a31d(0x399)],_0x584af7['data'][_0x44a31d(0x381)]);}async[_0x41545e(0x24c)](_0x56d256,_0x5f29e6){var _0x1a156a=_0x41545e;if(this[_0x1a156a(0x1fe)]!==0x3||!this[_0x1a156a(0x2eb)])throw new Error(_0x1a156a(0x443));try{_0x56d256['eventID']===_0x5cfd61[_0x1a156a(0x339)]&&(this[_0x1a156a(0x33d)](),this['_startTelemetryCollaborationNewChangeset'](_0x56d256)),this[_0x1a156a(0x2eb)]['send']({'cmd':F[_0x1a156a(0x1b2)],'routeKey':_0x5f29e6,'routeType':'','data':_0x56d256});}catch(_0x224186){this['_logService'][_0x1a156a(0x353)](_0x224186);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4e5c6c=_0x41545e,_0x4ba440;this[_0x4e5c6c(0x2b3)]=setTimeout(()=>{var _0x8b4ec9=_0x4e5c6c;this[_0x8b4ec9(0x2b3)]=null,this[_0x8b4ec9(0x1ae)][_0x8b4ec9(0x24f)]({'id':se[_0x8b4ec9(0x37c)]});},(_0x4ba440=this[_0x4e5c6c(0x2f0)][_0x4e5c6c(0x222)](mi))!=null?_0x4ba440:gi);}[_0x41545e(0x3f9)](){var _0x2e92ad=_0x41545e;this[_0x2e92ad(0x2b3)]&&(clearTimeout(this[_0x2e92ad(0x2b3)]),this[_0x2e92ad(0x2b3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4025cc){var _0x4d43e0=_0x41545e;if(!this[_0x4d43e0(0x39f)])return;const {data:_0x27c686}=_0x4025cc,{unitID:_0x3bbacd,changeset:_0x12816f}=_0x27c686,{mutations:_0x15df3e,type:_0x177b42}=_0x12816f;this[_0x4d43e0(0x2a8)]={'unitId':_0x3bbacd,'type':_0x177b42,'startTime':performance[_0x4d43e0(0x2f8)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x15df3e)};}[_0x41545e(0x3e5)](){var _0x589d0e=_0x41545e;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x589d0e(0x353)]('[CollaborationSession]',_0x589d0e(0x1ca));return;}this[_0x589d0e(0x2a8)][_0x589d0e(0x19b)]=performance[_0x589d0e(0x2f8)](),this[_0x589d0e(0x2a8)][_0x589d0e(0x1da)]=this['_telemetryInfo'][_0x589d0e(0x19b)]-this['_telemetryInfo'][_0x589d0e(0x3e7)],this[_0x589d0e(0x2f7)][_0x589d0e(0x28b)]($r,this['_telemetryInfo']),this[_0x589d0e(0x2a8)]=null;}}[_0x41545e(0x452)](){var _0x366bd9=_0x41545e;this[_0x366bd9(0x2a8)]=null;}};Et=Vr([me(0x2,_0x5b92b1),me(0x3,_0x34fb67),me(0x4,_0x236453(_0xa17142)),me(0x5,_0x236453(xe)),me(0x6,_0x236453(Ti)),me(0x7,_0x236453(pe)),me(0x8,_0x1d0f46(_0x149af4))],Et);var Wr=Object[_0x41545e(0x271)],Kr=(_0x485e24,_0x203efc,_0x458787,_0x9b92fb)=>{var _0x4fa448=_0x41545e;for(var _0x159dda=_0x9b92fb>0x1?void 0x0:_0x9b92fb?Wr(_0x203efc,_0x458787):_0x203efc,_0x3838bd=_0x485e24[_0x4fa448(0x2fa)]-0x1,_0x3ac896;_0x3838bd>=0x0;_0x3838bd--)(_0x3ac896=_0x485e24[_0x3838bd])&&(_0x159dda=_0x3ac896(_0x159dda)||_0x159dda);return _0x159dda;},be=(_0x30ba00,_0x31991c)=>(_0x39b627,_0x47bd98)=>_0x31991c(_0x39b627,_0x47bd98,_0x30ba00);let Le=class extends _0x4b1c46{constructor(_0x445435,_0x548b60,_0x4ce002,_0x40ac16,_0x19fe4a,_0x4cb766){var _0x2e06fa=_0x41545e;super(),N(this,_0x2e06fa(0x3b7),new _0x48d6f2(void 0x0)),N(this,_0x2e06fa(0x3e4),this[_0x2e06fa(0x3b7)][_0x2e06fa(0x38e)]()),N(this,_0x2e06fa(0x303),null),N(this,_0x2e06fa(0x19e),new Map()),N(this,_0x2e06fa(0x451),new _0x48d6f2(Ee['IDLE'])),N(this,'status$',this[_0x2e06fa(0x451)][_0x2e06fa(0x38e)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x2e06fa(0x3b0),0x0),N(this,_0x2e06fa(0x449)),N(this,_0x2e06fa(0x194)),(this[_0x2e06fa(0x367)]=_0x445435,this[_0x2e06fa(0x398)]=_0x548b60,this[_0x2e06fa(0x2f0)]=_0x4ce002,this[_0x2e06fa(0x262)]=_0x40ac16,this[_0x2e06fa(0x1ae)]=_0x19fe4a,this[_0x2e06fa(0x312)]=_0x4cb766,this[_0x2e06fa(0x261)]());}get[_0x41545e(0x2eb)](){var _0x49fcca=_0x41545e;return this['_socket$'][_0x49fcca(0x370)]();}[_0x41545e(0x261)](){var _0x8128fc=_0x41545e;this[_0x8128fc(0x312)]&&this[_0x8128fc(0x41a)](this['_networkConditionService'][_0x8128fc(0x42c)]['subscribe'](_0x3a1315=>{var _0x5b8734=_0x8128fc;_0x3a1315&&!this['_socket']&&this[_0x5b8734(0x34e)](),_0x3a1315||this[_0x5b8734(0x355)]();}));}[_0x41545e(0x293)](){var _0x1a3eab=_0x41545e;super[_0x1a3eab(0x293)](),this[_0x1a3eab(0x19e)][_0x1a3eab(0x1d8)](_0x3b0e45=>_0x3b0e45[_0x1a3eab(0x293)]()),this[_0x1a3eab(0x19e)]['clear'](),this['_status$'][_0x1a3eab(0x1c5)]();}async['requireSession'](_0x4f1b67){var _0x317062=_0x41545e;if(this[_0x317062(0x19e)][_0x317062(0x46e)](_0x4f1b67))return this['_sessions'][_0x317062(0x393)](_0x4f1b67);this[_0x317062(0x2a3)]();const _0xe976a4=this[_0x317062(0x367)][_0x317062(0x34f)](Et,_0x4f1b67,this[_0x317062(0x3b7)]['asObservable']());return this[_0x317062(0x19e)]['set'](_0x4f1b67,_0xe976a4),_0xe976a4;}[_0x41545e(0x246)](_0x1d2e17){var _0x3438e1=_0x41545e,_0x219d81;const _0x29ab1d=this[_0x3438e1(0x19e)][_0x3438e1(0x393)](_0x1d2e17);_0x29ab1d&&(this[_0x3438e1(0x19e)][_0x3438e1(0x27a)](_0x1d2e17),_0x29ab1d[_0x3438e1(0x20d)]()),this[_0x3438e1(0x19e)][_0x3438e1(0x341)]||(_0x219d81=this[_0x3438e1(0x2eb)])==null||_0x219d81['close']();}[_0x41545e(0x34e)](){var _0x7f85bd=_0x41545e;this[_0x7f85bd(0x3b0)]=0x0,this[_0x7f85bd(0x1df)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x7f85bd(0x1df)]=null),this[_0x7f85bd(0x418)]();}async['_createSocket'](){var _0x321413=_0x41545e,_0x2bf69c,_0x37adfc;const _0x137005=this[_0x321413(0x2f0)][_0x321413(0x222)](Er),_0x45c06d=this[_0x321413(0x2f0)]['getConfig'](q),_0x2a37ab=(_0x37adfc=(_0x2bf69c=_0x45c06d==null?void 0x0:_0x45c06d[_0x321413(0x2d1)])!=null?_0x2bf69c:_0x137005)!=null?_0x37adfc:Ir,_0x202505=await this[_0x321413(0x262)][_0x321413(0x307)](_0x2a37ab);return this['_candidateSocket']=_0x202505,_0x202505;}async[_0x41545e(0x2a3)](){var _0x4ff478=_0x41545e,_0x465f1c,_0x3a5469;try{const _0x29229a=(_0x3a5469=(_0x465f1c=this[_0x4ff478(0x2eb)])!=null?_0x465f1c:this['_candidateSocket'])!=null?_0x3a5469:await this[_0x4ff478(0x25c)]();if(_0x29229a){const _0xd0b1f7=_0x29229a['send'];_0x29229a[_0x4ff478(0x24c)]=_0x48deca=>(this[_0x4ff478(0x3f6)](),_0xd0b1f7[_0x4ff478(0x264)](_0x29229a,[_0x48deca])),_0x29229a['message$'][_0x4ff478(0x40b)](_0x5e4153=>this[_0x4ff478(0x2ff)](_0x29229a,_0x5e4153)),_0x29229a['error$'][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](_0x26f618=>this[_0x4ff478(0x398)][_0x4ff478(0x353)]('[CollaborationSessionService]:\x20socket\x20error',_0x26f618)),_0x29229a[_0x4ff478(0x3f3)][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](()=>{this['_onConnectionOpen'](_0x29229a);}),_0x29229a[_0x4ff478(0x338)]['pipe'](_0x118750(0x1))[_0x4ff478(0x40b)](_0x4c13fb=>{var _0x3cb525=_0x4ff478;this[_0x3cb525(0x398)][_0x3cb525(0x3ab)](_0x3cb525(0x3b5),_0x3cb525(0x3ee),_0x4c13fb),this[_0x3cb525(0x387)]();});}}catch(_0x46a546){this['_logService'][_0x4ff478(0x353)](_0x46a546),this[_0x4ff478(0x387)]();}}[_0x41545e(0x299)](_0x23b66d){var _0x2de8f8=_0x41545e;this[_0x2de8f8(0x398)][_0x2de8f8(0x3ab)](_0x2de8f8(0x3b5),_0x2de8f8(0x31e)),_0x23b66d[_0x2de8f8(0x24c)]({'cmd':F[_0x2de8f8(0x1d1)]}),this[_0x2de8f8(0x3f6)]();}['_onOffline'](){var _0x133e53=_0x41545e;this[_0x133e53(0x3b8)]=!0x1,this[_0x133e53(0x303)]=null,this[_0x133e53(0x451)][_0x133e53(0x25e)](Ee[_0x133e53(0x1ed)]),this[_0x133e53(0x3b7)][_0x133e53(0x25e)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x41545e(0x387)](){var _0x118a6b=_0x41545e,_0x2de7fd;this[_0x118a6b(0x355)](),this[_0x118a6b(0x3b0)]<((_0x2de7fd=this[_0x118a6b(0x2f0)]['getConfig'](br))!=null?_0x2de7fd:yr)?(this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x327)]}),this[_0x118a6b(0x418)]()):this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x2ee)]});}[_0x41545e(0x418)](){var _0xe032b=_0x41545e,_0x4e56a0;const _0x185661=this[_0xe032b(0x3b0)],_0x495cb4=this[_0xe032b(0x2f0)][_0xe032b(0x222)](q),_0x5b5139=_0x185661===0x0?0x0:((_0x4e56a0=_0x495cb4==null?void 0x0:_0x495cb4['retryConnectingInterval'])!=null?_0x4e56a0:Rr)*0x2**_0x185661;this[_0xe032b(0x1df)]=setTimeout(()=>{var _0x18d81a=_0xe032b;clearTimeout(this['_retryConnectingTimer']),this[_0x18d81a(0x1df)]=null,this['_tryEnsureSocket']();},_0x5b5139),this[_0xe032b(0x3b0)]+=0x1;}[_0x41545e(0x2ff)](_0x30c816,_0x117d8d){var _0x3849b6=_0x41545e;const {cmd:_0x4ecfe6}=_0x117d8d;_0x4ecfe6===F[_0x3849b6(0x1d1)]&&!this[_0x3849b6(0x3b8)]&&(_0x30c816[_0x3849b6(0x381)]=_0x117d8d[_0x3849b6(0x226)][_0x3849b6(0x381)],this[_0x3849b6(0x3b7)][_0x3849b6(0x25e)](_0x30c816),this[_0x3849b6(0x451)][_0x3849b6(0x25e)](Ee[_0x3849b6(0x280)]),this[_0x3849b6(0x3b8)]=!0x0,this['_candidateSocket']=null),_0x4ecfe6===F['HEARTBEAT']&&this[_0x3849b6(0x1f0)](),this[_0x3849b6(0x3f6)]();}[_0x41545e(0x3f6)](){var _0x44b76f=_0x41545e,_0x175f85;this[_0x44b76f(0x3a2)](),this[_0x44b76f(0x449)]=setTimeout(()=>this[_0x44b76f(0x41f)](),(_0x175f85=this[_0x44b76f(0x2f0)]['getConfig'](Tr))!=null?_0x175f85:Cr);}[_0x41545e(0x41f)](){var _0x100755=_0x41545e;this['_socket'][_0x100755(0x24c)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x41545e(0x1be)](){var _0x547803=_0x41545e,_0x19abbe;this[_0x547803(0x194)]=setTimeout(()=>this[_0x547803(0x387)](),(_0x19abbe=this[_0x547803(0x2f0)][_0x547803(0x222)](mi))!=null?_0x19abbe:gi);}[_0x41545e(0x3a2)](){var _0xb40fa8=_0x41545e;this[_0xb40fa8(0x449)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xb40fa8(0x449)]=null);}[_0x41545e(0x1f0)](){var _0x1b20ef=_0x41545e;this[_0x1b20ef(0x194)]!=null&&(clearTimeout(this[_0x1b20ef(0x194)]),this[_0x1b20ef(0x194)]=null);}};Le=Kr([be(0x0,_0x236453(_0x35ce09)),be(0x1,_0x5b92b1),be(0x2,_0x34fb67),be(0x3,Ii),be(0x4,_0x236453(pe)),be(0x5,_0x1d0f46(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G['push']((i+0x100)['toString'](0x10)[_0x41545e(0x377)](0x1));function Yr(_0x2f41fe,_0x20fda4=0x0){var _0x360e29=_0x41545e;return(G[_0x2f41fe[_0x20fda4+0x0]]+G[_0x2f41fe[_0x20fda4+0x1]]+G[_0x2f41fe[_0x20fda4+0x2]]+G[_0x2f41fe[_0x20fda4+0x3]]+'-'+G[_0x2f41fe[_0x20fda4+0x4]]+G[_0x2f41fe[_0x20fda4+0x5]]+'-'+G[_0x2f41fe[_0x20fda4+0x6]]+G[_0x2f41fe[_0x20fda4+0x7]]+'-'+G[_0x2f41fe[_0x20fda4+0x8]]+G[_0x2f41fe[_0x20fda4+0x9]]+'-'+G[_0x2f41fe[_0x20fda4+0xa]]+G[_0x2f41fe[_0x20fda4+0xb]]+G[_0x2f41fe[_0x20fda4+0xc]]+G[_0x2f41fe[_0x20fda4+0xd]]+G[_0x2f41fe[_0x20fda4+0xe]]+G[_0x2f41fe[_0x20fda4+0xf]])[_0x360e29(0x1e7)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x4409af=_0x41545e;if(!ut){if(typeof crypto>'u'||!crypto[_0x4409af(0x1b1)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x4409af(0x1b1)][_0x4409af(0x46f)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x41545e(0x1e8)]&&crypto[_0x41545e(0x1e8)][_0x41545e(0x46f)](crypto),Yt={'randomUUID':Jr};function Xr(_0x54fdda,_0x242160,_0x5b268e){var _0x4f7bff=_0x41545e,_0xd33db5,_0x49ddae,_0x3243e8;if(Yt[_0x4f7bff(0x1e8)]&&!_0x54fdda)return Yt['randomUUID']();_0x54fdda=_0x54fdda||{};const _0x182ab1=(_0x3243e8=(_0x49ddae=_0x54fdda[_0x4f7bff(0x2f1)])!=null?_0x49ddae:(_0xd33db5=_0x54fdda[_0x4f7bff(0x411)])==null?void 0x0:_0xd33db5[_0x4f7bff(0x33e)](_0x54fdda))!=null?_0x3243e8:zr();if(_0x182ab1['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x182ab1[0x6]=_0x182ab1[0x6]&0xf|0x40,_0x182ab1[0x8]=_0x182ab1[0x8]&0x3f|0x80,Yr(_0x182ab1);}const J=_0x40779a('collaboration-client.local-cache-service');function Bs(_0x136256){var _0x52253d=_0x41545e;return _0x52253d(0x221)+_0x136256;}var Zr=Object[_0x41545e(0x271)],Qr=(_0x4d3d26,_0xe70aad,_0x49db4f,_0xe7f1fc)=>{for(var _0x6bd65c=_0xe7f1fc>0x1?void 0x0:_0xe7f1fc?Zr(_0xe70aad,_0x49db4f):_0xe70aad,_0x5d5c7f=_0x4d3d26['length']-0x1,_0x13aae3;_0x5d5c7f>=0x0;_0x5d5c7f--)(_0x13aae3=_0x4d3d26[_0x5d5c7f])&&(_0x6bd65c=_0x13aae3(_0x6bd65c)||_0x6bd65c);return _0x6bd65c;},dt=(_0x4017cb,_0x2f8294)=>(_0x538e66,_0x543ae6)=>_0x2f8294(_0x538e66,_0x543ae6,_0x4017cb);function en(_0x24b9e5){var _0x3ef42f=_0x41545e;const {unitID:_0x25f220,mutations:_0xe78c41}=_0x24b9e5;return{'unitId':_0x25f220,'subUnitId':_0xe78c41[0x0]['params'][_0x3ef42f(0x2f3)]};}let it=class{constructor(_0x1e5b5b,_0x12ba80,_0x27c187){var _0x3eb548=_0x41545e;this['_injector']=_0x1e5b5b,this[_0x3eb548(0x3ac)]=_0x12ba80,this[_0x3eb548(0x33a)]=_0x27c187;}[_0x41545e(0x188)](_0x451393){var _0x424f90=_0x41545e,_0x3d6be2,_0x5886b7,_0x47afb4,_0x515bff;const _0x306352=this['_injector'][_0x424f90(0x393)](_0xb5c7c4),{unitId:_0x19cf77,subUnitId:_0x28b43e}=en(_0x451393),_0x26f1c8=_0x306352==null?void 0x0:_0x306352[_0x424f90(0x466)](_0x19cf77)['getCurrentSelections'](),_0x38d741=(_0x5886b7=(_0x3d6be2=this[_0x424f90(0x33a)][_0x424f90(0x311)](_0x19cf77))==null?void 0x0:_0x3d6be2[_0x424f90(0x2a0)]())==null?void 0x0:_0x5886b7['getSheetId']();if(_0x26f1c8[_0x424f90(0x2fa)]===0x0||!_0x19cf77||!_0x28b43e)return;const _0x550a6e=[{'id':_0x341123['id'],'params':{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x4c19fa[_0x424f90(0x408)](_0x26f1c8)}}],_0x3134ba=this[_0x424f90(0x3ac)][_0x424f90(0x254)](_0x451393,_0x550a6e);if(!_0x191540(_0x3134ba))throw _0x3134ba[_0x424f90(0x353)];const _0x38f40c=(_0x515bff=(_0x47afb4=_0x3134ba['m2Prime'][0x0])==null?void 0x0:_0x47afb4[_0x424f90(0x436)])==null?void 0x0:_0x515bff[_0x424f90(0x407)];if(Array['isArray'](_0x38f40c)&&_0x38f40c[_0x424f90(0x2fa)]){if(_0x38f40c[_0x424f90(0x2fa)]===_0x550a6e[0x0][_0x424f90(0x436)]['selections']['length']&&_0x38f40c[_0x424f90(0x3d8)]((_0x34dd7e,_0x2e8759)=>_0x807e68['equals'](_0x34dd7e['range'],_0x550a6e[0x0][_0x424f90(0x436)][_0x424f90(0x407)][_0x2e8759][_0x424f90(0x42e)])))return;this[_0x424f90(0x367)][_0x424f90(0x393)](_0x2c92b5)['executeCommand'](_0x341123['id'],{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x38f40c});}}};it=Qr([dt(0x0,_0x236453(_0x35ce09)),dt(0x1,_0x1335c8),dt(0x2,_0x214b6f)],it);const ht=_0x40779a(_0x41545e(0x3ed));var Ci=(_0x2282d0=>(_0x2282d0[_0x2282d0[_0x41545e(0x278)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2282d0[_0x2282d0[_0x41545e(0x2c3)]=0x1]=_0x41545e(0x2c3),_0x2282d0))(Ci||{});const tn=new Set([_0x18838c['id']]);function qt(_0x34d845,_0x3214ee,_0x5887a5,_0x4a0bde,_0x313306){var _0x1f42cb=_0x41545e,_0x309ea2,_0x356635,_0x40414c,_0x208b49;const _0x1f2938=[];for(const _0x4f4190 of _0x34d845)if(tn['has'](_0x4f4190['id'])){if(_0x1f2938[_0x1f42cb(0x2fa)]>0x0)break;_0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);break;}else _0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);const _0xee9ce=(_0x356635=(_0x309ea2=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x309ea2[_0x1f42cb(0x27d)])!=null?_0x356635:'unknown',_0x89bb40=(_0x208b49=(_0x40414c=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x40414c[_0x1f42cb(0x381)])!=null?_0x208b49:'unknown';return{'changeset':{'unitID':_0x3214ee,'type':_0x221d05(_0x5887a5[_0x1f42cb(0x331)](_0x3214ee)),'baseRev':_0x4a0bde[_0x1f42cb(0x189)](_0x3214ee),'revision':0x0,'userID':_0xee9ce,'memberID':_0x89bb40,'mutations':_0x1f2938},'pendingMutations':_0x34d845['slice'](_0x1f2938[_0x1f42cb(0x2fa)])};}function rn(_0x167796,_0x594d74,_0x19326e,_0x273201,_0x586c36){var _0x3521fc=_0x41545e,_0x191f17,_0x2979ca,_0x543864,_0x3ecd80;const _0x3e9a0b=[_0x167796['reduce']((_0x4d00f6,_0x19f2ae)=>{var _0x5dc7a7=_0x5230,_0x2678da;const {id:_0x38c386}=_0x4d00f6,{id:_0x34f85f,type:_0xdfafe}=_0x19f2ae,_0x18bb7d=(_0x2678da=_0x4d00f6['params'])!=null?_0x2678da:{'actions':null},_0x51ee85=_0x19f2ae[_0x5dc7a7(0x436)];if(_0x38c386&&_0x38c386!==_0x34f85f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x38c386+_0x5dc7a7(0x27e)+_0x34f85f+'.');return{..._0x4d00f6,'id':_0x34f85f,'type':_0xdfafe,'params':{'unitId':_0x51ee85[_0x5dc7a7(0x36d)],'textRanges':_0x51ee85[_0x5dc7a7(0x1cb)],'actions':_0x2b4183['compose'](_0x18bb7d[_0x5dc7a7(0x395)],_0x51ee85[_0x5dc7a7(0x395)])}};},{})],_0x118131=(_0x2979ca=(_0x191f17=_0x586c36['getCurrentUser']())==null?void 0x0:_0x191f17['userID'])!=null?_0x2979ca:'unknown',_0x1093f2=(_0x3ecd80=(_0x543864=_0x586c36[_0x3521fc(0x267)]())==null?void 0x0:_0x543864[_0x3521fc(0x381)])!=null?_0x3ecd80:_0x3521fc(0x462);return{'changeset':{'unitID':_0x594d74,'type':_0x221d05(_0x19326e['getUnitType'](_0x594d74)),'baseRev':_0x273201[_0x3521fc(0x189)](_0x594d74),'revision':0x0,'userID':_0x118131,'memberID':_0x1093f2,'mutations':_0x3e9a0b},'pendingMutations':[]};}function Ri(_0x15c45a,_0x4803a8){var _0x18cc4c=_0x41545e;const _0x36632e=new _0x4225a9(0x1);return setTimeout(()=>_0x36632e[_0x18cc4c(0x25e)](_0x4803a8),_0x15c45a),_0x36632e['asObservable']()[_0x18cc4c(0x30b)](_0x4774cb(0x1));}const nn={'id':_0x59316b['id'],'type':_0x36bcfe[_0x41545e(0x1fa)],'params':{}};var sn=Object['getOwnPropertyDescriptor'],Te=(_0x44d2fa,_0x4608d9,_0x439c56,_0x2de0ca)=>{var _0x4ce443=_0x41545e;for(var _0x2d7927=_0x2de0ca>0x1?void 0x0:_0x2de0ca?sn(_0x4608d9,_0x439c56):_0x4608d9,_0x1f3eb6=_0x44d2fa[_0x4ce443(0x2fa)]-0x1,_0x13b6f9;_0x1f3eb6>=0x0;_0x1f3eb6--)(_0x13b6f9=_0x44d2fa[_0x1f3eb6])&&(_0x2d7927=_0x13b6f9(_0x2d7927)||_0x2d7927);return _0x2d7927;},P=(_0x31c886,_0x47c082)=>(_0x41002d,_0x10228d)=>_0x47c082(_0x41002d,_0x10228d,_0x31c886),bi=(_0x40f609=>(_0x40f609[_0x41545e(0x195)]=_0x41545e(0x2ec),_0x40f609[_0x41545e(0x251)]=_0x41545e(0x260),_0x40f609['PENDING']=_0x41545e(0x38a),_0x40f609[_0x41545e(0x266)]=_0x41545e(0x3bb),_0x40f609[_0x41545e(0x34c)]=_0x41545e(0x42a),_0x40f609[_0x41545e(0x2dd)]=_0x41545e(0x346),_0x40f609[_0x41545e(0x2cb)]=_0x41545e(0x447),_0x40f609[_0x41545e(0x1ed)]='offline',_0x40f609))(bi||{});const yi=0xea60;class Ce{constructor(_0x210661,_0x18794d,_0x369e15,_0x838477,_0x1a6179,_0x4761c9,_0x362f17,_0x55eb81,_0x227feb){var _0x3690f4=_0x41545e;N(this,_0x3690f4(0x3bf),null),N(this,_0x3690f4(0x35a),[]),(this[_0x3690f4(0x25a)]=_0x210661,this['type']=_0x18794d,this['_handler']=_0x1a6179,this[_0x3690f4(0x396)]=_0x4761c9,this[_0x3690f4(0x253)]=_0x362f17,this['_revisionService']=_0x55eb81,this[_0x3690f4(0x3d9)]=_0x227feb,this[_0x3690f4(0x3bf)]=_0x369e15,this[_0x3690f4(0x35a)]=_0x838477);}[_0x41545e(0x211)](_0x2fda30){var _0x3b8a41=_0x41545e;const _0x31f9c3=this[_0x3b8a41(0x3ad)][_0x3b8a41(0x189)](this[_0x3b8a41(0x25a)]);return _0x2fda30[_0x3b8a41(0x2a2)]>_0x31f9c3+0x1?(this['_handler']['onMissingChangesets']({'from':_0x31f9c3,'to':_0x2fda30[_0x3b8a41(0x2a2)]-0x1}),!0x0):!0x1;}[_0x41545e(0x2c2)](_0x57e018){var _0x452043=_0x41545e;this['_undoRedoService'][_0x452043(0x29e)](this[_0x452043(0x25a)],_0x57e018);}[_0x41545e(0x43e)](_0x8bdaa9){var _0x2441b5=_0x41545e,_0x6d9a9c,_0x1968a6;(_0x1968a6=(_0x6d9a9c=this['_handler'])[_0x2441b5(0x2bc)])==null||_0x1968a6[_0x2441b5(0x33e)](_0x6d9a9c,_0x8bdaa9);}[_0x41545e(0x3de)](_0x14684b){var _0x41ad7a=_0x41545e,_0x124ec3,_0x15b2dc;return(_0x15b2dc=(_0x124ec3=this[_0x41ad7a(0x412)])['onTransformIME'])==null?void 0x0:_0x15b2dc[_0x41ad7a(0x33e)](_0x124ec3,_0x14684b);}['_transformStateCache'](_0x24857e){var _0x24a16d=_0x41545e,_0x4d4b5,_0x322337;return(_0x322337=(_0x4d4b5=this[_0x24a16d(0x412)])['onTransformState'])==null?void 0x0:_0x322337[_0x24a16d(0x33e)](_0x4d4b5,_0x24857e);}[_0x41545e(0x319)](_0x50e484){var _0x25a629=_0x41545e,_0x3bbdce,_0x8d1b56,_0x3585b4;return(_0x3585b4=(_0x8d1b56=(_0x3bbdce=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x8d1b56[_0x25a629(0x33e)](_0x3bbdce,_0x50e484))!=null?_0x3585b4:_0x50e484;}[_0x41545e(0x2e7)](_0x72d35){var _0x4ba9e1=_0x41545e,_0x2101e6,_0x5ddf52,_0x2208fb;return(_0x2208fb=(_0x5ddf52=(_0x2101e6=this[_0x4ba9e1(0x412)])[_0x4ba9e1(0x3f2)])==null?void 0x0:_0x5ddf52[_0x4ba9e1(0x33e)](_0x2101e6,_0x72d35))!=null?_0x2208fb:_0x72d35;}[_0x41545e(0x2fc)](_0x58fe2b){var _0xb09758=_0x41545e,_0x1280fa,_0x3f7bef;if(this[_0xb09758(0x1b3)]===Q[_0xb09758(0x378)]){const {unitID:_0x33d4f7,mutations:_0x5192b4,memberID:_0x45cbcf}=_0x58fe2b,_0x620dbe=_0x5192b4[0x0]['params'][_0xb09758(0x1cb)];Array[_0xb09758(0x394)](_0x620dbe)&&_0x620dbe['length']>0x0&&((_0x3f7bef=(_0x1280fa=this[_0xb09758(0x412)])[_0xb09758(0x369)])==null||_0x3f7bef['call'](_0x1280fa,{'unitID':_0x33d4f7,'memberID':_0x45cbcf,'textRanges':_0x620dbe}));}}[_0x41545e(0x3e0)](){var _0x499ac2=_0x41545e,_0x288cf9;(_0x288cf9=this[_0x499ac2(0x3d9)])==null||_0x288cf9[_0x499ac2(0x36f)](this['unitID'],this[_0x499ac2(0x1b3)],this[_0x499ac2(0x3bf)],this[_0x499ac2(0x35a)]);}[_0x41545e(0x314)](){var _0x35a219=_0x41545e;return this[_0x35a219(0x3ad)][_0x35a219(0x189)](this[_0x35a219(0x25a)]);}[_0x41545e(0x2f6)](){var _0x3b8c5c=_0x41545e;this[_0x3b8c5c(0x3ad)][_0x3b8c5c(0x424)](this[_0x3b8c5c(0x25a)]);}[_0x41545e(0x3a4)](_0x5d6d9c){var _0xd8228=_0x41545e,_0x4a0433;let _0x5ddcf5=this[_0xd8228(0x319)](_0x5d6d9c);_0x5ddcf5=this[_0xd8228(0x2e7)](_0x5ddcf5);const _0x1917f9=_0xb3a7a3(_0x5ddcf5[_0xd8228(0x292)],this[_0xd8228(0x396)],{'fromCollab':!0x0});if(!_0x1917f9[_0xd8228(0x361)])throw _0x1917f9[_0xd8228(0x353)]instanceof Error?_0x1917f9[_0xd8228(0x353)]:new Error((_0x4a0433=_0x1917f9[_0xd8228(0x353)])!=null?_0x4a0433:_0xd8228(0x18b));this[_0xd8228(0x3de)](_0x5ddcf5),this[_0xd8228(0x1de)](_0x5ddcf5),this['_transformUndoredo'](_0x5d6d9c),this[_0xd8228(0x43e)](_0x5ddcf5),this[_0xd8228(0x2fc)](_0x5ddcf5),this[_0xd8228(0x2f6)]();}}let Ne=class extends Ce{constructor(_0x3679ab,_0x353131,_0x9ff16,_0x525dd8,_0x17f5eb,_0x296fc4,_0x45f9ef,_0x5aeb82,_0x576384,_0xfda6ea){var _0xaa641f=_0x41545e;super(_0x3679ab,_0x353131,null,[],_0x9ff16,_0x45f9ef,_0x296fc4,_0x525dd8,_0xfda6ea),N(this,_0xaa641f(0x244),_0xaa641f(0x260)),(this[_0xaa641f(0x367)]=_0x17f5eb,this[_0xaa641f(0x398)]=_0x5aeb82,this[_0xaa641f(0x3ac)]=_0x576384,this[_0xaa641f(0x2d3)]=_0xfda6ea);}[_0x41545e(0x45f)](_0x529b27){var _0x2d09c7=_0x41545e;const _0x160892=this[_0x2d09c7(0x367)][_0x2d09c7(0x34f)](oe,this[_0x2d09c7(0x25a)],this['type'],[_0x529b27],this[_0x2d09c7(0x412)]);return _0x160892[_0x2d09c7(0x2b5)](),_0x160892['_updateLocalCache'](),_0x160892;}['onRemoteChangeset'](_0x3a8464){var _0x2be838=_0x41545e;if(this[_0x2be838(0x211)](_0x3a8464))return this[_0x2be838(0x367)][_0x2be838(0x34f)](ee,this[_0x2be838(0x25a)],this[_0x2be838(0x1b3)],null,[],null,[_0x3a8464],this[_0x2be838(0x412)]);try{const _0x2ce957=this['_transformService'][_0x2be838(0x254)](_0x3a8464,[nn]);if(_0x191540(_0x2ce957)){const {c1Prime:_0x4bd2af}=_0x2ce957;return this[_0x2be838(0x3a4)](_0x4bd2af),this;}throw _0x2ce957[_0x2be838(0x353)];}catch(_0x57b99f){return this[_0x2be838(0x398)]['error'](_0x57b99f),this[_0x2be838(0x47f)](!0x1);}}['_onConflict'](_0x3882f9){var _0x164a52=_0x41545e;return this[_0x164a52(0x367)]['createInstance'](ue,this['unitID'],this[_0x164a52(0x1b3)],null,[],this[_0x164a52(0x412)],_0x3882f9);}[_0x41545e(0x3bd)](){var _0x3e1829=_0x41545e;throw new Error(_0x3e1829(0x223));}[_0x41545e(0x439)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){var _0x43bf1f=_0x41545e;return this[_0x43bf1f(0x367)]['createInstance'](de,this[_0x43bf1f(0x25a)],this[_0x43bf1f(0x1b3)],null,[],this[_0x43bf1f(0x412)]);}['toggleOnline'](){return this;}[_0x41545e(0x468)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x3ff)](){var _0x44026a=_0x41545e;const _0x324a85=this[_0x44026a(0x3ad)][_0x44026a(0x189)](this['unitID']);return this[_0x44026a(0x412)][_0x44026a(0x1c7)]({'from':_0x324a85,'to':0x0}),this[_0x44026a(0x367)][_0x44026a(0x34f)](ee,this['unitID'],this[_0x44026a(0x1b3)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x236453(_0x4fea53)),P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x5a61a5),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x1d0f46(J))],Ne);let oe=class extends Ce{constructor(_0xbe8c55,_0x85e2e7,_0x411feb,_0x25a851,_0x4ec235,_0x199e0a,_0x13a237,_0x1c67f9,_0x364009,_0x2f8463,_0x113e43,_0x4e6cbc,_0x545b17,_0xf54904){var _0x4a95c5=_0x41545e;super(_0xbe8c55,_0x85e2e7,null,_0x411feb,_0x25a851,_0x364009,_0x545b17,_0x199e0a,_0xf54904),N(this,_0x4a95c5(0x244),_0x4a95c5(0x38a)),N(this,_0x4a95c5(0x1a9),null),N(this,_0x4a95c5(0x325),null),(this[_0x4a95c5(0x367)]=_0x4ec235,this['_memberService']=_0x13a237,this['_logService']=_0x1c67f9,this['_configService']=_0x2f8463,this['_transformService']=_0x113e43,this['_univerInstanceService']=_0x4e6cbc);}[_0x41545e(0x45f)](_0x155c41){var _0x17753d=_0x41545e;return this[_0x17753d(0x35a)]['push'](_0x155c41),this[_0x17753d(0x3e0)](),this;}['onRemoteChangeset'](_0x4bd393){var _0x25a99d=_0x41545e;if(this[_0x25a99d(0x211)](_0x4bd393))return this['_clearScheduledTask'](),this[_0x25a99d(0x367)]['createInstance'](ee,this[_0x25a99d(0x25a)],this['type'],null,this[_0x25a99d(0x35a)],null,[_0x4bd393],this[_0x25a99d(0x412)]);try{const _0x33f59d=this[_0x25a99d(0x3ac)][_0x25a99d(0x254)](_0x4bd393,this[_0x25a99d(0x35a)]);if(_0x191540(_0x33f59d)){const {c1Prime:_0x54ec93,m2Prime:_0x25cda2}=_0x33f59d;this[_0x25a99d(0x3a4)](_0x54ec93);const _0xc4ebca=this[_0x25a99d(0x367)][_0x25a99d(0x34f)](oe,this[_0x25a99d(0x25a)],this[_0x25a99d(0x1b3)],_0x25cda2,this[_0x25a99d(0x412)]);this[_0x25a99d(0x1bb)]();const _0x5a30cb=new Date()[_0x25a99d(0x414)](),_0x505505=this[_0x25a99d(0x1a9)]?Math[_0x25a99d(0x401)](this['_scheduleCompleteTimestamp']-_0x5a30cb,0x0):this[_0x25a99d(0x46b)]();return _0xc4ebca[_0x25a99d(0x2b5)](_0x505505),_0xc4ebca;}throw _0x33f59d[_0x25a99d(0x353)];}catch(_0x3fbad2){return this[_0x25a99d(0x398)][_0x25a99d(0x353)](_0x3fbad2),this[_0x25a99d(0x47f)](!0x1);}}[_0x41545e(0x3bd)](){var _0x1efba9=_0x41545e;throw new Error(_0x1efba9(0x41d));}[_0x41545e(0x439)](){var _0x26b442=_0x41545e;throw new Error(_0x26b442(0x437));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){var _0x1a09f1=_0x41545e;return this[_0x1a09f1(0x1bb)](),this[_0x1a09f1(0x367)]['createInstance'](de,this[_0x1a09f1(0x25a)],this[_0x1a09f1(0x1b3)],null,this[_0x1a09f1(0x35a)],this[_0x1a09f1(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x2b5)](_0x3be163){var _0x59b4c7=_0x41545e;const _0x227278=_0x3be163!=null?_0x3be163:this['_getSendChangesetTimeout']();this[_0x59b4c7(0x1a9)]=new Date()[_0x59b4c7(0x414)]()+_0x227278,this[_0x59b4c7(0x325)]=setTimeout(()=>{var _0x17214f=_0x59b4c7;this['_clearScheduledTask']();let _0x46c281=null;switch(this[_0x17214f(0x1b3)]){case Q[_0x17214f(0x1af)]:{_0x46c281=qt(this[_0x17214f(0x35a)],this[_0x17214f(0x25a)],this[_0x17214f(0x1f6)],this['_revisionService'],this['_memberService']);break;}case Q[_0x17214f(0x378)]:{this[_0x17214f(0x35a)]['every'](_0x5e45f7=>_0x5e45f7['id']===_0x1ba331['id'])?_0x46c281=rn(this[_0x17214f(0x35a)],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this['_memberService']):_0x46c281=qt(this['_pendingMutations'],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this[_0x17214f(0x29a)]);break;}default:throw new Error(_0x17214f(0x3f1)+this[_0x17214f(0x1b3)]+_0x17214f(0x45e));}const {changeset:_0x1e694b,pendingMutations:_0x19f0e5}=_0x46c281;this[_0x17214f(0x412)][_0x17214f(0x3c0)](_0x1e694b);const _0x1318a7=_0x19f0e5[_0x17214f(0x2fa)]?this[_0x17214f(0x367)][_0x17214f(0x34f)](ae,this[_0x17214f(0x25a)],this[_0x17214f(0x1b3)],_0x1e694b,_0x19f0e5,this['_handler'],void 0x0):this[_0x17214f(0x367)][_0x17214f(0x34f)](le,this[_0x17214f(0x25a)],this['type'],_0x1e694b,this[_0x17214f(0x412)]);_0x1318a7[_0x17214f(0x3e0)](),this[_0x17214f(0x412)][_0x17214f(0x364)](this,_0x1318a7);},_0x227278);}[_0x41545e(0x46b)](){var _0x10209e=_0x41545e,_0x1e7662;const _0x1af606=this['_configService'][_0x10209e(0x222)](q);return(_0x1e7662=_0x1af606==null?void 0x0:_0x1af606[_0x10209e(0x362)])!=null?_0x1e7662:Sr;}[_0x41545e(0x468)](){var _0x8b815e=_0x41545e;throw new Error(_0x8b815e(0x340));}[_0x41545e(0x1bb)](){var _0x905b07=_0x41545e;this[_0x905b07(0x325)]!=null&&(clearTimeout(this[_0x905b07(0x325)]),this[_0x905b07(0x325)]=null);}[_0x41545e(0x47f)](_0x39e1d6){var _0x5f410e=_0x41545e;return this[_0x5f410e(0x1bb)](),this[_0x5f410e(0x367)]['createInstance'](ue,this[_0x5f410e(0x25a)],this[_0x5f410e(0x1b3)],null,this[_0x5f410e(0x35a)],this[_0x5f410e(0x412)],_0x39e1d6);}};oe=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x236453(xe)),P(0x7,_0x5b92b1),P(0x8,_0x2c92b5),P(0x9,_0x34fb67),P(0xa,_0x1335c8),P(0xb,_0x214b6f),P(0xc,_0x5a61a5),P(0xd,_0x1d0f46(J))],oe);let le=class extends Ce{constructor(_0x2841ec,_0x419f24,_0x534c82,_0x539d94,_0x5a6153,_0x537c09,_0x3b1c6d,_0x1e7f63,_0x3a4f0a,_0x20af54,_0x6abeaf){var _0x5a95b4=_0x41545e;super(_0x2841ec,_0x419f24,_0x534c82,[],_0x539d94,_0x3b1c6d,_0x20af54,_0x537c09,_0x6abeaf),N(this,_0x5a95b4(0x244),_0x5a95b4(0x3bb)),N(this,_0x5a95b4(0x2d0),0x0),N(this,_0x5a95b4(0x2e1)),N(this,_0x5a95b4(0x227)),(this[_0x5a95b4(0x367)]=_0x5a6153,this[_0x5a95b4(0x398)]=_0x1e7f63,this[_0x5a95b4(0x3ac)]=_0x3a4f0a);}[_0x41545e(0x45f)](_0x234baf){var _0x3cb9bc=_0x41545e;this[_0x3cb9bc(0x1bb)]();const _0x333b95=this[_0x3cb9bc(0x367)]['createInstance'](ae,this[_0x3cb9bc(0x25a)],this[_0x3cb9bc(0x1b3)],this[_0x3cb9bc(0x3bf)],[_0x234baf],this[_0x3cb9bc(0x412)],this[_0x3cb9bc(0x2e1)]);return _0x333b95['_updateLocalCache'](),_0x333b95;}[_0x41545e(0x406)](_0x4f7e17){var _0x1dff99=_0x41545e;if(this[_0x1dff99(0x211)](_0x4f7e17))return this[_0x1dff99(0x1bb)](),this['_injector']['createInstance'](ee,this[_0x1dff99(0x25a)],this[_0x1dff99(0x1b3)],this[_0x1dff99(0x3bf)],[],null,[_0x4f7e17],this[_0x1dff99(0x412)]);try{const _0x47d1fe=this[_0x1dff99(0x3ac)][_0x1dff99(0x343)]([_0x4f7e17],[this[_0x1dff99(0x3bf)]],!0x1);if(_0xab296d(_0x47d1fe)){const {c1Prime:_0x19af60,c2Prime:_0x46b0c1}=_0x47d1fe;this[_0x1dff99(0x3a4)](_0x19af60[0x0]),_0x46b0c1[0x0][_0x1dff99(0x2b7)]=this[_0x1dff99(0x314)](),this[_0x1dff99(0x1bb)]();const _0x371e31=this[_0x1dff99(0x367)][_0x1dff99(0x34f)](le,this['unitID'],this['type'],_0x46b0c1[0x0],this[_0x1dff99(0x412)]);return _0x371e31['_updateLocalCache'](),_0x371e31;}return this['_onConflict'](!0x1);}catch(_0x3be83d){return this[_0x1dff99(0x398)][_0x1dff99(0x353)](_0x3be83d),this[_0x1dff99(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0xaf06b3){var _0x88bbef=_0x41545e;this[_0x88bbef(0x1bb)]();const _0xdd4015=this[_0x88bbef(0x3ad)][_0x88bbef(0x189)](this['unitID']);if(_0xaf06b3['revision']<_0xdd4015-0x1)return this;if(this[_0x88bbef(0x211)](_0xaf06b3))return this[_0x88bbef(0x367)][_0x88bbef(0x34f)](ee,this[_0x88bbef(0x25a)],this['type'],null,[],this[_0x88bbef(0x3bf)],[],this[_0x88bbef(0x412)]);this['_incrementRevisionNumber']();const _0x96b38e=this[_0x88bbef(0x367)]['createInstance'](Ne,this[_0x88bbef(0x25a)],this[_0x88bbef(0x1b3)],this[_0x88bbef(0x412)]);return _0x96b38e['_updateLocalCache'](),_0x96b38e;}[_0x41545e(0x439)](_0x56277b){var _0x229567=_0x41545e;return this[_0x229567(0x47f)](!!(_0x56277b!=null&&_0x56277b[_0x229567(0x3c5)]));}[_0x41545e(0x2ab)](_0x4ed98b){var _0x26e989=_0x41545e;return this['_resendTimeout']>yi?this[_0x26e989(0x429)]():(this[_0x26e989(0x2e1)]=Ri(this[_0x26e989(0x2d0)],{'timeout':this[_0x26e989(0x2d0)],'reqId':_0x4ed98b[_0x26e989(0x1e5)]}),this[_0x26e989(0x227)]=this['_resendTimer'][_0x26e989(0x40b)](({reqId:_0x256a29,timeout:_0x54d3dc})=>{var _0x32641c=_0x26e989;this[_0x32641c(0x294)](_0x256a29,_0x54d3dc);}),this);}['toggleOffline'](){var _0x3cc351=_0x41545e;return this['_clearScheduledTask'](),this[_0x3cc351(0x367)][_0x3cc351(0x34f)](de,this[_0x3cc351(0x25a)],this[_0x3cc351(0x1b3)],this['_awaitingChangeset'],[],this[_0x3cc351(0x412)]);}[_0x41545e(0x274)](){return this;}['resend'](){var _0x158097=_0x41545e;this['_handler'][_0x158097(0x3c0)](this[_0x158097(0x3bf)]);}[_0x41545e(0x47f)](_0x3e6f2e){var _0x7bcb4c=_0x41545e;return this[_0x7bcb4c(0x1bb)](),this[_0x7bcb4c(0x367)]['createInstance'](ue,this[_0x7bcb4c(0x25a)],this['type'],this[_0x7bcb4c(0x3bf)],[],this['_handler'],_0x3e6f2e);}['_resendWithTimeout'](_0x4312cb,_0x1c0c64){var _0x3889ce=_0x41545e,_0x1fe902;_0x4312cb===((_0x1fe902=this[_0x3889ce(0x3bf)])==null?void 0x0:_0x1fe902['reqId'])&&(this[_0x3889ce(0x468)](),this[_0x3889ce(0x2d0)]=_0x1c0c64===0x0?0x3e8:_0x1c0c64*0x2);}[_0x41545e(0x1bb)](){var _0x23c257=_0x41545e,_0x5b9dfb;(_0x5b9dfb=this[_0x23c257(0x227)])==null||_0x5b9dfb[_0x23c257(0x2ba)](),this[_0x23c257(0x2d0)]=0x0;}};le=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x5a61a5),P(0xa,_0x1d0f46(J))],le);let ae=class extends Ce{constructor(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0xb5fb03,_0x3fd19d,_0x34d1c4,_0x24cfab,_0xe54dc2,_0x2dabf6,_0x54c1f3,_0x1302f8){var _0x33907d=_0x41545e;super(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0x24cfab,_0x54c1f3,_0x34d1c4,_0x1302f8),N(this,_0x33907d(0x244),_0x33907d(0x42a)),N(this,_0x33907d(0x2d0),0x0),N(this,_0x33907d(0x2e1)),N(this,'_sender'),(this[_0x33907d(0x367)]=_0x3fd19d,this[_0x33907d(0x398)]=_0xe54dc2,this[_0x33907d(0x3ac)]=_0x2dabf6,this[_0x33907d(0x2d3)]=_0x1302f8,_0xb5fb03&&(this[_0x33907d(0x2e1)]=_0xb5fb03,this['_sender']=this['_resendTimer'][_0x33907d(0x40b)](({reqId:_0x3cea02,timeout:_0xb11ec6})=>{var _0x25384f=_0x33907d;this[_0x25384f(0x294)](_0x3cea02,_0xb11ec6);})));}[_0x41545e(0x45f)](_0x20ffd1){var _0x4d5832=_0x41545e;return this[_0x4d5832(0x35a)][_0x4d5832(0x22d)](_0x20ffd1),this;}['onRemoteChangeset'](_0x1bffb8){var _0x9dd06c=_0x41545e;if(this[_0x9dd06c(0x211)](_0x1bffb8))return this['_clearScheduledTask'](),this['_injector']['createInstance'](ee,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],this[_0x9dd06c(0x3bf)],this[_0x9dd06c(0x35a)],null,[_0x1bffb8],this[_0x9dd06c(0x412)]);try{const _0x10fbfb=this['_transformService'][_0x9dd06c(0x343)]([_0x1bffb8],[this[_0x9dd06c(0x3bf)]],!0x1);if(_0xab296d(_0x10fbfb)){const {c1Prime:_0x428242,c2Prime:_0x3dfbb0}=_0x10fbfb,_0x1eedb8=this[_0x9dd06c(0x3ac)]['transformMutationsWithChangeset'](_0x428242[0x0],this[_0x9dd06c(0x35a)]);if(_0x191540(_0x1eedb8)){const {c1Prime:_0x3a8f2a,m2Prime:_0x3313de}=_0x1eedb8;return this[_0x9dd06c(0x3a4)](_0x3a8f2a),_0x3dfbb0[0x0][_0x9dd06c(0x2b7)]=this[_0x9dd06c(0x314)](),this[_0x9dd06c(0x1bb)](),this[_0x9dd06c(0x367)][_0x9dd06c(0x34f)](ae,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],_0x3dfbb0[0x0],_0x3313de,this['_handler'],void 0x0);}throw _0x1eedb8[_0x9dd06c(0x353)];}throw _0x10fbfb[_0x9dd06c(0x353)];}catch(_0x22f66a){return this[_0x9dd06c(0x398)][_0x9dd06c(0x353)](_0x22f66a),this[_0x9dd06c(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0x3cce9d){var _0x1eb1a7=_0x41545e;if(this[_0x1eb1a7(0x1bb)](),this[_0x1eb1a7(0x211)](_0x3cce9d))return this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](ee,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],null,this[_0x1eb1a7(0x35a)],this[_0x1eb1a7(0x3bf)],[],this[_0x1eb1a7(0x412)]);this['_incrementRevisionNumber']();const _0x5bdfbd=this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](oe,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],this['_pendingMutations'],this[_0x1eb1a7(0x412)]);return _0x5bdfbd['_schedule'](),_0x5bdfbd[_0x1eb1a7(0x3e0)](),_0x5bdfbd;}[_0x41545e(0x439)](_0x271f5d){var _0x121c39=_0x41545e;return this['_onConflict'](!!(_0x271f5d!=null&&_0x271f5d[_0x121c39(0x3c5)]));}[_0x41545e(0x2ab)](_0x1651f6){var _0x51bf7c=_0x41545e;return this[_0x51bf7c(0x2d0)]>yi?this['toggleOffline']():(this[_0x51bf7c(0x2e1)]=Ri(this[_0x51bf7c(0x2d0)],{'timeout':this[_0x51bf7c(0x2d0)],'reqId':_0x1651f6['reqId']}),this['_sender']=this[_0x51bf7c(0x2e1)][_0x51bf7c(0x40b)](({reqId:_0x721291,timeout:_0x4ad0fe})=>{var _0x438d35=_0x51bf7c;this[_0x438d35(0x294)](_0x721291,_0x4ad0fe);}),this);}[_0x41545e(0x429)](){var _0x466217=_0x41545e;return this[_0x466217(0x1bb)](),this['_injector']['createInstance'](de,this['unitID'],this['type'],this[_0x466217(0x3bf)],this[_0x466217(0x35a)],this[_0x466217(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){var _0x42582e=_0x41545e;this[_0x42582e(0x412)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x41545e(0x47f)](_0x43a90f){var _0x576c71=_0x41545e;return this['_clearScheduledTask'](),this[_0x576c71(0x367)][_0x576c71(0x34f)](ue,this[_0x576c71(0x25a)],this['type'],null,this[_0x576c71(0x35a)],this[_0x576c71(0x412)],_0x43a90f);}[_0x41545e(0x294)](_0x2342c3,_0x1040f1){var _0x4fde51=_0x41545e,_0x1a8829;_0x2342c3===((_0x1a8829=this['_awaitingChangeset'])==null?void 0x0:_0x1a8829['reqId'])&&(this[_0x4fde51(0x468)](),this['_resendTimeout']=_0x1040f1===0x0?0x3e8:_0x1040f1*0x2);}[_0x41545e(0x1bb)](){var _0x5b6d72=_0x41545e,_0x53b479;(_0x53b479=this[_0x5b6d72(0x227)])==null||_0x53b479['unsubscribe'](),this[_0x5b6d72(0x2d0)]=0x0;}};ae=Te([P(0x6,_0x236453(_0x35ce09)),P(0x7,_0x236453(_0x4fea53)),P(0x8,_0x2c92b5),P(0x9,_0x5b92b1),P(0xa,_0x1335c8),P(0xb,_0x5a61a5),P(0xc,_0x1d0f46(J))],ae);let ue=class extends Ce{constructor(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x3b4791=!0x1,_0x4c8eaf,_0x461dc9,_0x216fd5,_0x47a199,_0x3c3b5c,_0x13840f,_0x14052c){var _0x1a1168=_0x41545e;super(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x461dc9,_0x216fd5,_0x47a199,_0x14052c),N(this,_0x1a1168(0x244),_0x1a1168(0x447)),(this['_isPermissionRej']=_0x3b4791,this['_permissionService']=_0x4c8eaf,this[_0x1a1168(0x357)]=_0x3c3b5c,this[_0x1a1168(0x1ae)]=_0x13840f,this[_0x1a1168(0x2d3)]=_0x14052c,this[_0x1a1168(0x204)](),this[_0x1a1168(0x38f)](),this[_0x1a1168(0x44b)]());}['appendMutation'](){return this;}[_0x41545e(0x406)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){return this;}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x38f)](){var _0x1ec1f9=_0x41545e,_0x52c967;(_0x52c967=this[_0x1ec1f9(0x3d9)])==null||_0x52c967[_0x1ec1f9(0x36f)](this['unitID'],this[_0x1ec1f9(0x1b3)],null,[]);}['_showConflictNotification'](){var _0x422736=_0x41545e;this[_0x422736(0x1d5)]?this['_collaborationUIEventService'][_0x422736(0x24f)]({'id':se[_0x422736(0x2b0)]}):this[_0x422736(0x1ae)]['emitEvent']({'id':se[_0x422736(0x2cb)]});}[_0x41545e(0x44b)](){var _0x4380f4=_0x41545e;this[_0x4380f4(0x26c)][_0x4380f4(0x3e8)](new _0xeafda4(this[_0x4380f4(0x25a)])['id'],!0x1);}};ue=Te([P(0x6,_0x236453(_0x4da13f)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x236453(_0x4fea53)),P(0xa,_0x236453(_0xa17142)),P(0xb,_0x236453(pe)),P(0xc,_0x1d0f46(J))],ue);let de=class extends Ce{constructor(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x50bd44,_0xd215cb,_0x207e1a,_0x2e6c8a,_0x40ab80){var _0x40ec3a=_0x41545e;super(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x207e1a,_0x2e6c8a,_0xd215cb,_0x40ab80),N(this,_0x40ec3a(0x244),'offline'),this[_0x40ec3a(0x367)]=_0x50bd44;}[_0x41545e(0x45f)](_0x149c35){return this['_pendingMutations']['push'](_0x149c35),this['_updateLocalCache'](),this;}[_0x41545e(0x406)](_0x59d620){var _0x52c22a=_0x41545e;throw new Error(_0x52c22a(0x3be));}['onRemoteAck'](){var _0x1e97be=_0x41545e;throw new Error(_0x1e97be(0x47c));}[_0x41545e(0x439)](){var _0x434f2c=_0x41545e;throw new Error(_0x434f2c(0x1aa));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){return this;}[_0x41545e(0x274)](){var _0x32d784=_0x41545e;const {_injector:_0xb8afb4,_pendingMutations:_0x6762c4,_awaitingChangeset:_0x213c39,unitID:_0x4155d9,_handler:_0x158d80,type:_0x23125d}=this,_0x4344e6=Oi(_0xb8afb4,_0x4155d9,_0x23125d,_0x213c39,_0x6762c4,_0x158d80);return _0x4344e6 instanceof oe?_0x4344e6[_0x32d784(0x2b5)]():(_0x4344e6 instanceof ae||_0x4344e6 instanceof le)&&_0x4344e6[_0x32d784(0x468)](),_0x4344e6;}[_0x41545e(0x468)](){var _0x4e9b1d=_0x41545e;throw new Error(_0x4e9b1d(0x35f));}};de=Te([P(0x5,_0x236453(_0x35ce09)),P(0x6,_0x236453(_0x4fea53)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x1d0f46(J))],de);let ee=class extends Ce{constructor(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x5bab83,_0x48ed4b,_0x90ec6e,_0x18456e,_0x55ecfb,_0x3595ff,_0x89ade2,_0x351df2,_0x37f892,_0x14526c){var _0x5b77cf=_0x41545e;super(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x90ec6e,_0x89ade2,_0x351df2,_0x55ecfb,_0x14526c),N(this,_0x5b77cf(0x244),_0x5b77cf(0x346)),(this['_acknowledgedAwaitingChangeset']=_0x5bab83,this['_queuedRemoteChangesets']=_0x48ed4b,this[_0x5b77cf(0x367)]=_0x18456e,this[_0x5b77cf(0x398)]=_0x3595ff,this[_0x5b77cf(0x3ac)]=_0x37f892,this[_0x5b77cf(0x2d3)]=_0x14526c);}[_0x41545e(0x252)](_0x3975a9){var _0x301856=_0x41545e;try{const _0x15bc81=[..._0x3975a9,...this[_0x301856(0x473)]],_0x51dee5=[this[_0x301856(0x3bf)]||this['_acknowledgedAwaitingChangeset']][_0x301856(0x38c)](_0x4b0044=>!!_0x4b0044);let _0x38fc38,_0x4307b3;if(_0x51dee5['length']){const _0x340572=this[_0x301856(0x3ac)][_0x301856(0x343)](_0x15bc81,_0x51dee5,!0x1);if(!_0xab296d(_0x340572))throw _0x340572['error'];_0x38fc38=_0x340572['c1Prime'],_0x4307b3=_0x340572[_0x301856(0x21b)];}else _0x38fc38=_0x15bc81,_0x4307b3=[];let _0x8b0481=this[_0x301856(0x35a)];_0x38fc38[_0x301856(0x1d8)](_0x4d8e97=>{var _0x1eeb3d=_0x301856;let _0xd27e74;if(_0x8b0481[_0x1eeb3d(0x2fa)]){const _0x5a839b=this[_0x1eeb3d(0x3ac)]['transformMutationsWithChangeset'](_0x4d8e97,_0x8b0481);if(!_0x191540(_0x5a839b))throw _0x5a839b['error'];_0xd27e74=_0x5a839b[_0x1eeb3d(0x3e1)],_0x8b0481=_0x5a839b[_0x1eeb3d(0x379)];}else _0xd27e74=_0x4d8e97;this[_0x1eeb3d(0x3a4)](_0xd27e74);}),this[_0x301856(0x187)]&&this[_0x301856(0x2f6)](),this[_0x301856(0x3bf)]&&_0x4307b3[_0x301856(0x2fa)]&&(_0x4307b3[0x0][_0x301856(0x2b7)]=this['_getCurrentRevision']());let _0x43f22f;if(this[_0x301856(0x3bf)]&&_0x8b0481[_0x301856(0x2fa)]!==0x0)_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](ae,this[_0x301856(0x25a)],this['type'],_0x4307b3[0x0],_0x8b0481,this[_0x301856(0x412)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8b0481[_0x301856(0x2fa)]===0x0)_0x4307b3[0x0][_0x301856(0x2b7)]=this[_0x301856(0x314)](),_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](le,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x4307b3[0x0],this[_0x301856(0x412)]);else{if(_0x8b0481[_0x301856(0x2fa)]!==0x0){const _0x1e2e10=this['_injector'][_0x301856(0x34f)](oe,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x8b0481,this['_handler']);_0x1e2e10['_schedule'](),_0x43f22f=_0x1e2e10;}else _0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](Ne,this[_0x301856(0x25a)],this['type'],this[_0x301856(0x412)]);}}return _0x43f22f[_0x301856(0x3e0)](),_0x43f22f;}catch(_0x420deb){return this['_logService'][_0x301856(0x353)](_0x301856(0x199),'failed\x20to\x20apply\x20missed\x20changesets!',_0x420deb),this['_injector'][_0x301856(0x34f)](ue,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],this[_0x301856(0x3bf)],this[_0x301856(0x35a)],this['_handler'],!0x1);}}[_0x41545e(0x468)](){var _0x2b195f=_0x41545e;throw new Error(_0x2b195f(0x427));}[_0x41545e(0x45f)](_0x46452b){var _0x56d77f=_0x41545e;return this[_0x56d77f(0x35a)][_0x56d77f(0x22d)](_0x46452b),this;}['onRemoteChangeset'](_0x23174){var _0x3c1e5e=_0x41545e;return this[_0x3c1e5e(0x473)][_0x3c1e5e(0x22d)](_0x23174),this;}[_0x41545e(0x3bd)](_0x5c930f){var _0x3efbcf=_0x41545e;if(this[_0x3efbcf(0x3bf)])return this[_0x3efbcf(0x187)]=this[_0x3efbcf(0x3bf)],this['_awaitingChangeset']=null,this;throw new Error(_0x3efbcf(0x30c));}[_0x41545e(0x439)](_0x5c6151){var _0x1ba752=_0x41545e;return this[_0x1ba752(0x47f)](!!(_0x5c6151!=null&&_0x5c6151[_0x1ba752(0x3c5)]));}['onRemoteRetry'](){return this;}[_0x41545e(0x429)](){var _0x1d135c=_0x41545e;return this['_injector'][_0x1d135c(0x34f)](de,this[_0x1d135c(0x25a)],this[_0x1d135c(0x1b3)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1d135c(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x47f)](_0x564646){var _0x5bef30=_0x41545e;return this[_0x5bef30(0x367)][_0x5bef30(0x34f)](ue,this[_0x5bef30(0x25a)],this['type'],this[_0x5bef30(0x3bf)],this[_0x5bef30(0x35a)],this['_handler'],_0x564646);}};ee=Te([P(0x7,_0x236453(_0x35ce09)),P(0x8,_0x236453(_0x4fea53)),P(0x9,_0x5b92b1),P(0xa,_0x2c92b5),P(0xb,_0x5a61a5),P(0xc,_0x1335c8),P(0xd,_0x1d0f46(J))],ee);function Oi(_0x1162e6,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534){var _0x4587b3=_0x41545e;return _0x5bc1e4&&_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](ae,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534,void 0x0):_0x5bc1e4?_0x1162e6['createInstance'](le,_0x5e53da,_0x299d51,_0x5bc1e4,_0x9e9534):_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](oe,_0x5e53da,_0x299d51,_0x237a76,_0x9e9534):_0x1162e6[_0x4587b3(0x34f)](Ne,_0x5e53da,_0x299d51,_0x9e9534);}var on=Object[_0x41545e(0x271)],xt=(_0x2b8fd0,_0x593a50,_0x498791,_0x2a0a55)=>{var _0x2c178f=_0x41545e;for(var _0x59b973=_0x2a0a55>0x1?void 0x0:_0x2a0a55?on(_0x593a50,_0x498791):_0x593a50,_0x46b67b=_0x2b8fd0[_0x2c178f(0x2fa)]-0x1,_0x239761;_0x46b67b>=0x0;_0x46b67b--)(_0x239761=_0x2b8fd0[_0x46b67b])&&(_0x59b973=_0x239761(_0x59b973)||_0x59b973);return _0x59b973;},H=(_0x15045f,_0x52d66a)=>(_0x2f68aa,_0x54ba7b)=>_0x52d66a(_0x2f68aa,_0x54ba7b,_0x15045f);let rt=class extends _0x433c2f{constructor(_0x2762a8,_0x424aeb,_0x48372e,_0x10187c,_0x2ed847,_0x475315,_0x395f0d,_0x548bfe,_0xea1ba8,_0x11a622,_0x28f7fc,_0xa32a08,_0x21bb83){var _0x3fe557=_0x41545e;super(),N(this,_0x3fe557(0x308),new _0x48d6f2(null)),N(this,_0x3fe557(0x31b),this['_state$'][_0x3fe557(0x38e)]()),N(this,_0x3fe557(0x465)),N(this,_0x3fe557(0x421),!0x1),N(this,_0x3fe557(0x1ff),''),N(this,_0x3fe557(0x1d6),0x0),N(this,'status$',this[_0x3fe557(0x31b)]['pipe'](_0x5c7050(_0x50cc01=>_0x50cc01?_0x50cc01[_0x3fe557(0x244)]:bi[_0x3fe557(0x1ed)]),_0x351670(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x3fe557(0x25a)]=_0x2762a8,this['session']=_0x424aeb,this[_0x3fe557(0x3cf)]=_0x48372e,this[_0x3fe557(0x367)]=_0x10187c,this[_0x3fe557(0x2ad)]=_0x2ed847,this[_0x3fe557(0x357)]=_0x475315,this['_revisionService']=_0x395f0d,this[_0x3fe557(0x2f9)]=_0x548bfe,this[_0x3fe557(0x398)]=_0xea1ba8,this[_0x3fe557(0x396)]=_0x11a622,this['_permissionService']=_0x28f7fc,this[_0x3fe557(0x3b3)]=_0xa32a08,this[_0x3fe557(0x3d9)]=_0x21bb83);}get['state'](){var _0x560f33=_0x41545e;return this[_0x560f33(0x465)];}async['init'](){var _0x28597e=_0x41545e;if(this[_0x28597e(0x2a7)])throw new Error(_0x28597e(0x2be));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x1a739e(()=>{var _0x2c9065=_0x5230;this['_collaborationPaused']=!0x1,this[_0x2c9065(0x2d7)]();});}['onLocalMutation'](_0x1e648a){var _0x3c01eb=_0x41545e;this[_0x3c01eb(0x3cc)](_0x1e648a);}['_updateState'](_0x2ce4cc){var _0x229796=_0x41545e;this[_0x229796(0x465)]=_0x2ce4cc,this['_state$'][_0x229796(0x25e)](_0x2ce4cc);}async[_0x41545e(0x397)](){var _0x3ab50c=_0x41545e,_0x54a1d1;this[_0x3ab50c(0x1dd)](await this[_0x3ab50c(0x24b)]()),this['_singleActiveUnitService']&&((_0x54a1d1=this[_0x3ab50c(0x3b3)])==null||_0x54a1d1['editingUnit'](this[_0x3ab50c(0x25a)]),this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x3b3)][_0x3ab50c(0x31d)](this['unitID'])[_0x3ab50c(0x40b)](_0x5887c8=>{var _0x1e8651=_0x3ab50c;this['_logService']['debug'](_0x1e8651(0x354),_0x1e8651(0x3a0),_0x5887c8),_0x5887c8===Ci[_0x1e8651(0x2c3)]?(this[_0x1e8651(0x2f9)]['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x1e8651(0x26c)][_0x1e8651(0x3e8)](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x1),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x0),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x0));})));let _0x1df30b=!0x1;return this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x1a6)][_0x3ab50c(0x1d2)][_0x3ab50c(0x40b)](_0x5df5ef=>{var _0x59f815=_0x3ab50c;_0x5df5ef===Ee[_0x59f815(0x280)]?this[_0x59f815(0x26a)](_0x1df30b):_0x5df5ef===Ee[_0x59f815(0x1ed)]&&(_0x1df30b=!0x0,this[_0x59f815(0x26b)]());})),this['disposeWithMe'](this[_0x3ab50c(0x1a6)]['event$'][_0x3ab50c(0x40b)](_0x1ad99f=>{var _0x25ade5=_0x3ab50c;try{switch(_0x1ad99f[_0x25ade5(0x44a)]){case _0x5cfd61[_0x25ade5(0x33b)]:{this['_onRemoteChangeset'](_0x2cacbb(_0x1ad99f[_0x25ade5(0x226)]));break;}case _0x5cfd61[_0x25ade5(0x3df)]:{this[_0x25ade5(0x1cc)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x3a6)]:{this[_0x25ade5(0x22b)]();break;}case _0x5cfd61['CHANGESET_SHOULD_RETRY']:{this[_0x25ade5(0x3af)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x1d9)]:{this['_onFetchMissResult'](_0x1ad99f['data']['changesets'][_0x25ade5(0x400)](_0x4f2138=>_0x2cacbb(_0x4f2138)));break;}case _0x5cfd61[_0x25ade5(0x255)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5cfd61[_0x25ade5(0x1d4)]:break;}}catch(_0x10f840){throw console['error']('Error\x20on\x20receiving\x20event',_0x10f840),_0x10f840;}})),this[_0x3ab50c(0x465)];}[_0x41545e(0x2b8)](){var _0x14653e=_0x41545e;this[_0x14653e(0x417)]=!0x1;}['_lockTransition'](){var _0x2beee6=_0x41545e;if(this[_0x2beee6(0x417)])throw new Error(_0x2beee6(0x1f9));this[_0x2beee6(0x417)]=!0x0;}[_0x41545e(0x3cc)](_0x5b1566){var _0x520a3c=_0x41545e;this[_0x520a3c(0x217)](),this[_0x520a3c(0x1dd)](this[_0x520a3c(0x465)][_0x520a3c(0x45f)](_0x5b1566)),this[_0x520a3c(0x2b8)]();}[_0x41545e(0x445)](_0x382b23){var _0xac10d2=_0x41545e;if(!(_0x382b23[_0xac10d2(0x2a2)]<=this[_0xac10d2(0x3ad)]['getCurrentRevOfUnit'](this[_0xac10d2(0x25a)]))){if(this[_0xac10d2(0x421)]){this['_remoteChangesetQueue']['push'](_0x382b23);return;}this['_applyRemoteChangeset'](_0x382b23);}}[_0x41545e(0x2d7)](){var _0x72db=_0x41545e;this[_0x72db(0x37e)][_0x72db(0x1d8)](_0x55021d=>this[_0x72db(0x256)](_0x55021d)),this[_0x72db(0x37e)]=[];}[_0x41545e(0x256)](_0x1570c2){var _0x3ed476=_0x41545e;const _0x232443=this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)][_0x3ed476(0x419)](this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1570c2[_0x3ed476(0x292)],null)||_0x1570c2[_0x3ed476(0x292)],_0x4b6aa7={..._0x1570c2,'mutations':_0x232443};this[_0x3ed476(0x217)](),this[_0x3ed476(0x1dd)](this['_state']['onRemoteChangeset'](_0x4b6aa7)),this['_unlockTransition']();}[_0x41545e(0x1cc)](_0x250371){var _0x6d1992=_0x41545e;this[_0x6d1992(0x217)](),this[_0x6d1992(0x1dd)](this[_0x6d1992(0x465)][_0x6d1992(0x3bd)](_0x250371)),this[_0x6d1992(0x2b8)]();}[_0x41545e(0x22b)](_0x2d11de){var _0x1f199d=_0x41545e;this[_0x1f199d(0x217)](),this['_updateState'](this[_0x1f199d(0x465)][_0x1f199d(0x439)](_0x2d11de)),this[_0x1f199d(0x2b8)]();}['_onRemoteRetry'](_0x2b23d9){var _0x1d2f55=_0x41545e;this[_0x1d2f55(0x217)](),this[_0x1d2f55(0x1dd)](this[_0x1d2f55(0x465)]['onRemoteRetry'](_0x2b23d9)),this[_0x1d2f55(0x2b8)]();}[_0x41545e(0x403)](_0x3e03e4){var _0x44cbb7=_0x41545e;if(!(this['_state']instanceof ee))throw new TypeError(_0x44cbb7(0x344));const _0x21ad04=_0x3e03e4[_0x44cbb7(0x400)](_0x307a0e=>{var _0x24a95f=_0x44cbb7;const _0x2c122e=this['_compressMutationService'][_0x24a95f(0x3b4)][_0x24a95f(0x419)](this[_0x24a95f(0x2ad)][_0x24a95f(0x3b4)][_0x24a95f(0x47a)]()[_0x24a95f(0x2d9)])(_0x307a0e[_0x24a95f(0x292)],null)||_0x307a0e[_0x24a95f(0x292)];return{..._0x307a0e,'mutations':_0x2c122e};});this[_0x44cbb7(0x217)](),this['_updateState'](this[_0x44cbb7(0x465)][_0x44cbb7(0x252)](_0x21ad04)),this[_0x44cbb7(0x2b8)]();}[_0x41545e(0x26b)](){var _0x1070ad=_0x41545e;this[_0x1070ad(0x217)](),this['_updateState'](this['_state'][_0x1070ad(0x429)]()),this[_0x1070ad(0x2b8)]();}[_0x41545e(0x26a)](_0x1b3b71=!0x1){var _0x2a2834=_0x41545e;this[_0x2a2834(0x217)](),this[_0x2a2834(0x1dd)](this[_0x2a2834(0x465)][_0x2a2834(0x274)]()),this[_0x2a2834(0x2b8)]();const _0xe99ba4=this[_0x2a2834(0x465)];_0x1b3b71&&_0xe99ba4 instanceof Ne&&(this[_0x2a2834(0x217)](),this['_updateState'](_0xe99ba4['fetchMiss']()),this[_0x2a2834(0x2b8)]());}async['_createInitialState'](){return new Promise(_0x1ff691=>{var _0x3994b6=_0x5230;this[_0x3994b6(0x1a6)][_0x3994b6(0x1d2)]['pipe'](_0x4774cb(0x1))[_0x3994b6(0x40b)](async _0x3354a9=>{var _0x3342c8=_0x3994b6;_0x1ff691(await this[_0x3342c8(0x1c2)](_0x3354a9===Ee[_0x3342c8(0x280)]));});});}[_0x41545e(0x448)](){const _0x4f3e1e=this['unitID'];return{'onStateChange':(_0x4607b5,_0x214d8f)=>{var _0x2d9392=_0x5230;if(_0x4607b5!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4607b5[_0x2d9392(0x244)]+_0x2d9392(0x43d)+_0x214d8f[_0x2d9392(0x244)]+_0x2d9392(0x2cd)+this[_0x2d9392(0x465)][_0x2d9392(0x244)]);this['_updateState'](_0x214d8f);},'onSendChangeset':_0x31718d=>{var _0x44a6ab=_0x5230;_0x31718d['sid']||(_0x31718d[_0x44a6ab(0x363)]=this[_0x44a6ab(0x1ff)],_0x31718d['reqId']=++this[_0x44a6ab(0x1d6)]);const _0x4ee0eb={'eventID':_0x5cfd61[_0x44a6ab(0x339)],'data':{'unitID':_0x31718d[_0x44a6ab(0x25a)],'unitType':this['_type'],'changeset':_0x31718d,'memberID':this[_0x44a6ab(0x1a6)]['getMemberID']()}};this[_0x44a6ab(0x1a6)][_0x44a6ab(0x24c)](_0x4ee0eb,this[_0x44a6ab(0x25a)]);},'onMissingChangesets':({from:_0x4ee626,to:_0x31a1ef})=>{var _0xb7cae8=_0x5230;this['_logService']['debug'](_0xb7cae8(0x354),_0xb7cae8(0x477)+_0x4ee626+_0xb7cae8(0x40a)+_0x31a1ef);const _0x55f064={'eventID':_0x5cfd61[_0xb7cae8(0x39c)],'data':{'unitID':_0x4f3e1e,'unitType':this[_0xb7cae8(0x3cf)],'from':_0x4ee626,'to':_0x31a1ef}};this[_0xb7cae8(0x1a6)][_0xb7cae8(0x24c)](_0x55f064,this['unitID']);}};}async[_0x41545e(0x1c2)](_0xe733b4){var _0x11c8ef=_0x41545e,_0x2246b0,_0x578816,_0x48c387;const _0x3c9e6a=await((_0x2246b0=this['_localCacheService'])==null?void 0x0:_0x2246b0['loadOfflineData'](this[_0x11c8ef(0x25a)])),_0x13ab7d=(_0x578816=_0x3c9e6a==null?void 0x0:_0x3c9e6a['mutations'])!=null?_0x578816:[],_0xdb00c7=(_0x48c387=_0x3c9e6a==null?void 0x0:_0x3c9e6a[_0x11c8ef(0x279)])!=null?_0x48c387:null,_0x409467=!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x363)])&&!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x1e5)]);this['_changesetSessionId']=_0x409467?_0xdb00c7[_0x11c8ef(0x363)]:Xr(),this[_0x11c8ef(0x1d6)]=_0x409467?_0xdb00c7['reqId']:0x0;const _0x19ff0a=this[_0x11c8ef(0x25a)];try{this['_replayCachedMutations'](_0xdb00c7,_0x13ab7d);}catch(_0x3df08f){this[_0x11c8ef(0x398)][_0x11c8ef(0x353)](_0x3df08f);}const _0x19775b=this[_0x11c8ef(0x448)]();if(_0xe733b4){const _0x1ed19e=Oi(this[_0x11c8ef(0x367)],_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);return _0x1ed19e instanceof oe?_0x1ed19e['_schedule']():(_0x1ed19e instanceof ae||_0x1ed19e instanceof le)&&_0x1ed19e[_0x11c8ef(0x468)](),_0x1ed19e;}return this[_0x11c8ef(0x367)]['createInstance'](de,_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);}[_0x41545e(0x1c8)](_0x26a34e,_0x57d32a){var _0x32a6f3=_0x41545e,_0x302e8f,_0x2b9192;const _0x477e71=this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x419)](this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x47a)]()[_0x32a6f3(0x2d9)]);(_0x302e8f=_0x477e71((_0x26a34e==null?void 0x0:_0x26a34e['mutations'])||[],null))==null||_0x302e8f['forEach'](_0x1e78e4=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x1e78e4['id'],_0x1e78e4[_0x32a6f3(0x436)])),(_0x2b9192=_0x477e71(_0x57d32a||[],null))==null||_0x2b9192[_0x32a6f3(0x1d8)](_0x32f0e1=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x32f0e1['id'],_0x32f0e1[_0x32a6f3(0x436)]));}};rt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],rt);let It=class extends rt{constructor(_0x19c2ef,_0x32bb22,_0x2f1a89,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881){var _0x59940a=_0x41545e;super(_0x19c2ef,_0x2f1a89,_0x32bb22,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881),N(this,_0x59940a(0x455),null),(this[_0x59940a(0x25a)]=_0x19c2ef,this[_0x59940a(0x1b3)]=_0x32bb22);}[_0x41545e(0x366)](_0xccdd3c){var _0x28e476=_0x41545e;this[_0x28e476(0x455)]=_0xccdd3c;}[_0x41545e(0x293)](){var _0x2c7fe1=_0x41545e;this[_0x2c7fe1(0x455)]=null,super['dispose']();}[_0x41545e(0x448)](){var _0x48b4f8=_0x41545e;const _0x427c33=super[_0x48b4f8(0x448)]();return _0x427c33[_0x48b4f8(0x3a1)]=_0x183b98=>{var _0x4433b8=_0x48b4f8,_0x44a599,_0x3e8117;return(_0x3e8117=(_0x44a599=this['_handlerCallback'])==null?void 0x0:_0x44a599[_0x4433b8(0x3a1)])==null?void 0x0:_0x3e8117['call'](_0x44a599,_0x183b98);},_0x427c33[_0x48b4f8(0x216)]=_0x7a3fa=>{var _0x1e025b=_0x48b4f8,_0x2813fe,_0x5cb171;return(_0x5cb171=(_0x2813fe=this[_0x1e025b(0x455)])==null?void 0x0:_0x2813fe[_0x1e025b(0x216)])==null?void 0x0:_0x5cb171[_0x1e025b(0x33e)](_0x2813fe,_0x7a3fa);},_0x427c33[_0x48b4f8(0x2bc)]=_0x52369a=>{var _0xffe352=_0x48b4f8,_0x3748ff,_0x27bffa;return(_0x27bffa=(_0x3748ff=this[_0xffe352(0x455)])==null?void 0x0:_0x3748ff['onTransformSelections'])==null?void 0x0:_0x27bffa[_0xffe352(0x33e)](_0x3748ff,_0x52369a);},_0x427c33[_0x48b4f8(0x369)]=_0x34d311=>{var _0x2ce79a=_0x48b4f8,_0x5610ff,_0x3ff190;return(_0x3ff190=(_0x5610ff=this[_0x2ce79a(0x455)])==null?void 0x0:_0x5610ff[_0x2ce79a(0x369)])==null?void 0x0:_0x3ff190[_0x2ce79a(0x33e)](_0x5610ff,_0x34d311);},_0x427c33[_0x48b4f8(0x272)]=_0x37ad6f=>{var _0x4b167e=_0x48b4f8,_0x417a23,_0x97cad7,_0xc9b723;if(!((_0x417a23=this[_0x4b167e(0x455)])!=null&&_0x417a23[_0x4b167e(0x272)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xc9b723=(_0x97cad7=this[_0x4b167e(0x455)])==null?void 0x0:_0x97cad7[_0x4b167e(0x272)])==null?void 0x0:_0xc9b723[_0x4b167e(0x33e)](_0x97cad7,_0x37ad6f);},_0x427c33['onTransformRemoteChangesetByStateCache']=_0xd0a0f5=>{var _0x5b8f22=_0x48b4f8,_0x6fcde4,_0x42d9b3,_0x327746;if(!((_0x6fcde4=this[_0x5b8f22(0x455)])!=null&&_0x6fcde4[_0x5b8f22(0x3f2)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x327746=(_0x42d9b3=this['_handlerCallback'])==null?void 0x0:_0x42d9b3[_0x5b8f22(0x3f2)])==null?void 0x0:_0x327746['call'](_0x42d9b3,_0xd0a0f5);},_0x427c33;}async[_0x41545e(0x397)](){var _0x7677dd=_0x41545e;const _0x1a8a60=await super[_0x7677dd(0x397)]();return this[_0x7677dd(0x41a)](this[_0x7677dd(0x396)]['onCommandExecuted']((_0x1cc5f5,_0x2b7694)=>{var _0x4cd93e=_0x7677dd;if(_0x1cc5f5['type']!==_0x36bcfe[_0x4cd93e(0x1fa)]||_0x2b7694!=null&&_0x2b7694[_0x4cd93e(0x1a7)]||_0x2b7694!=null&&_0x2b7694['onlyLocal']||_0x1cc5f5['id']===_0x1ba331['id'])return;const _0x4c5913=_0x1cc5f5[_0x4cd93e(0x436)];if((_0x4c5913==null?void 0x0:_0x4c5913[_0x4cd93e(0x36d)])!==this['unitID'])return;const _0x531ee5=_0x1cc5f5,_0x1e1846=this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x419)](this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x47a)]()['COMPRESS_MUTATION_SEND'])([_0x531ee5],null)||[_0x531ee5];this[_0x4cd93e(0x3cc)](_0x1e1846[0x0]);})),_0x1a8a60;}};It=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],It);let Tt=class extends rt{constructor(_0x66c8e9,_0x538651,_0x3871b9,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x536a62,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98){var _0x586cd5=_0x41545e;super(_0x66c8e9,_0x3871b9,_0x538651,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98),this[_0x586cd5(0x25a)]=_0x66c8e9,this[_0x586cd5(0x1b3)]=_0x538651,this[_0x586cd5(0x3ca)]=_0x536a62;}[_0x41545e(0x448)](){var _0x50d777=_0x41545e;const _0xbdddb1=super[_0x50d777(0x448)]();return _0xbdddb1[_0x50d777(0x2bc)]=_0x75faba=>this[_0x50d777(0x3ca)]['transformSelections'](_0x75faba),_0xbdddb1;}async['_init'](){var _0x3d14b9=_0x41545e;const _0x2cb9a5=await super['_init']();return this[_0x3d14b9(0x41a)](this[_0x3d14b9(0x396)][_0x3d14b9(0x1c1)]((_0x104875,_0x3bff8b)=>{var _0x5f3a7b=_0x3d14b9;if(_0x104875['type']!==_0x36bcfe['MUTATION']||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x1a7)]||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x386)])return;const _0x40c9cf=_0x104875[_0x5f3a7b(0x436)];if((_0x40c9cf==null?void 0x0:_0x40c9cf[_0x5f3a7b(0x36d)])!==this[_0x5f3a7b(0x25a)])return;const _0xd97319=_0x104875,_0x11f74e=this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x419)](this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x47a)]()[_0x5f3a7b(0x228)])([_0xd97319],null)||[_0xd97319];this[_0x5f3a7b(0x3cc)](_0x11f74e[0x0]);})),_0x2cb9a5;}};Tt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(it)),H(0x8,_0x236453(pe)),H(0x9,_0x5b92b1),H(0xa,_0x2c92b5),H(0xb,_0x4da13f),H(0xc,_0x1d0f46(ht)),H(0xd,_0x1d0f46(J))],Tt);var an=Object[_0x41545e(0x271)],cn=(_0x5e2f5d,_0x42c243,_0x8bd62d,_0x30fc5e)=>{var _0x1651fb=_0x41545e;for(var _0x2ddfc0=_0x30fc5e>0x1?void 0x0:_0x30fc5e?an(_0x42c243,_0x8bd62d):_0x42c243,_0x9b41f8=_0x5e2f5d[_0x1651fb(0x2fa)]-0x1,_0x39520b;_0x9b41f8>=0x0;_0x9b41f8--)(_0x39520b=_0x5e2f5d[_0x9b41f8])&&(_0x2ddfc0=_0x39520b(_0x2ddfc0)||_0x2ddfc0);return _0x2ddfc0;},ft=(_0x31c1f4,_0x597010)=>(_0x3d9efe,_0x1111e9)=>_0x597010(_0x3d9efe,_0x1111e9,_0x31c1f4);let nt=class extends _0x433c2f{constructor(_0x4f17f1,_0x56d04e,_0x350631){var _0x492556=_0x41545e;super(),N(this,_0x492556(0x3b1),new Map()),N(this,_0x492556(0x422),new _0x5daeac()),N(this,_0x492556(0x27f),this[_0x492556(0x422)][_0x492556(0x38e)]()),(this[_0x492556(0x367)]=_0x4f17f1,this['_collabSessionService']=_0x56d04e,this[_0x492556(0x1f6)]=_0x350631,this[_0x492556(0x397)]());}[_0x41545e(0x293)](){var _0x1eb32e=_0x41545e;super[_0x1eb32e(0x293)](),this['_entities'][_0x1eb32e(0x1d8)](_0x329920=>_0x329920['dispose']()),this[_0x1eb32e(0x3b1)][_0x1eb32e(0x302)]();}[_0x41545e(0x19a)](_0x3742d4){var _0x200541=_0x41545e,_0xcbf11e;return(_0xcbf11e=this['_entities'][_0x200541(0x393)](_0x3742d4))!=null?_0xcbf11e:null;}[_0x41545e(0x416)](_0x3d2213){var _0x314f0c=_0x41545e;const _0x593bb1=this[_0x314f0c(0x19a)](_0x3d2213);return _0x593bb1?_0x65e3ad(_0x593bb1):this[_0x314f0c(0x422)][_0x314f0c(0x30b)](_0x1a0aae(_0x542f62=>_0x542f62[_0x314f0c(0x25a)]===_0x3d2213));}['readyForCollab'](_0x562672){var _0x5820c6=_0x41545e;return _0x3a72d0(this[_0x5820c6(0x416)](_0x562672)[_0x5820c6(0x30b)](_0x5a18b9(()=>{})));}[_0x41545e(0x397)](){var _0x4faecf=_0x41545e;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x16fa42[_0x4faecf(0x1af)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['subscribe'](async _0x357f74=>{var _0x30f18d=_0x4faecf;const _0x3c29a8=_0x357f74[_0x30f18d(0x32f)](),_0x1842be=await this[_0x30f18d(0x32b)](_0x3c29a8,Q['UNIVER_SHEET']);this['_entities'][_0x30f18d(0x3d2)](_0x3c29a8,_0x1842be);}),this[_0x4faecf(0x1f6)][_0x4faecf(0x29d)](_0x16fa42[_0x4faecf(0x378)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['pipe'](_0x1a0aae(_0x3c7db2=>!_0x3c7db2['getUnitId']()[_0x4faecf(0x3cd)]('__')))[_0x4faecf(0x40b)](async _0x3cd2bd=>{var _0x5d4bba=_0x4faecf;const _0x248b6b=_0x3cd2bd['getUnitId'](),_0x372f4f=await this[_0x5d4bba(0x32b)](_0x248b6b,Q[_0x5d4bba(0x378)]);this['_entities'][_0x5d4bba(0x3d2)](_0x248b6b,_0x372f4f);}),_0x14bf95(this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42['UNIVER_SHEET']),this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42[_0x4faecf(0x378)]))[_0x4faecf(0x30b)](_0x515a44(this['dispose$']))['subscribe'](_0xef7f66=>{var _0x43169b=_0x4faecf;const _0x2acd00=_0xef7f66[_0x43169b(0x32f)](),_0x27019a=this['_entities'][_0x43169b(0x393)](_0x2acd00);_0x27019a&&(_0x27019a[_0x43169b(0x293)](),this[_0x43169b(0x3b1)][_0x43169b(0x27a)](_0x2acd00));});}async['_startCollaboration'](_0x1cf97e,_0x509526){var _0x36d94b=_0x41545e;const _0x254a82=await this[_0x36d94b(0x442)][_0x36d94b(0x44c)](_0x1cf97e),_0x11e231=this['_injector'][_0x36d94b(0x34f)](this['_getCtorByUniverType'](_0x509526),_0x1cf97e,_0x509526,_0x254a82);return await _0x11e231[_0x36d94b(0x1b4)](),this['_entityInit$']['next'](_0x11e231),_0x11e231;}[_0x41545e(0x41e)](_0x526930){var _0x1f39ea=_0x41545e;switch(_0x526930){case Q[_0x1f39ea(0x378)]:return It;case Q[_0x1f39ea(0x1af)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x526930);}}};nt=cn([ft(0x0,_0x236453(_0x35ce09)),ft(0x1,_0x236453(Le)),ft(0x2,_0x214b6f)],nt);var hn=Object[_0x41545e(0x271)],_n=(_0xce486a,_0x1458c7,_0x2dff21,_0x54ca3a)=>{var _0xcb170=_0x41545e;for(var _0x3caa7b=_0x54ca3a>0x1?void 0x0:_0x54ca3a?hn(_0x1458c7,_0x2dff21):_0x1458c7,_0x16da0d=_0xce486a[_0xcb170(0x2fa)]-0x1,_0x230ba2;_0x16da0d>=0x0;_0x16da0d--)(_0x230ba2=_0xce486a[_0x16da0d])&&(_0x3caa7b=_0x230ba2(_0x3caa7b)||_0x3caa7b);return _0x3caa7b;},zt=(_0x445df1,_0x220108)=>(_0x4e569b,_0x343833)=>_0x220108(_0x4e569b,_0x343833,_0x445df1);const ln=_0x41545e(0x1f3),un=_0x41545e(0x380);let Ct=class extends _0x4b1c46{constructor(_0x54c40b,_0x4ca619){var _0x1d890a=_0x41545e;super(),this[_0x1d890a(0x1f6)]=_0x54c40b,this[_0x1d890a(0x2f0)]=_0x4ca619,this['_init']();}[_0x41545e(0x397)](){var _0x1e079a=_0x41545e;this['disposeWithMe'](this['_univerInstanceService'][_0x1e079a(0x25b)]['subscribe'](()=>{var _0x9d1cd4=_0x1e079a,_0x135038;const _0x43a470=this['_univerInstanceService'][_0x9d1cd4(0x3fb)]();let _0x48f73f=(_0x135038=this['_configService'][_0x9d1cd4(0x222)](ln))!=null?_0x135038:un;_0x43a470 instanceof _0xa9a7e0&&(_0x48f73f=_0x43a470[_0x9d1cd4(0x1a5)]),document[_0x9d1cd4(0x298)]=_0x48f73f;}));}};Ct=_n([zt(0x0,_0x214b6f),zt(0x1,_0x34fb67)],Ct);var dn=Object[_0x41545e(0x271)],fn=(_0x106c1d,_0x4bc79f,_0xa960c6,_0x165a34)=>{var _0x134411=_0x41545e;for(var _0x449df8=_0x165a34>0x1?void 0x0:_0x165a34?dn(_0x4bc79f,_0xa960c6):_0x4bc79f,_0x20ffbc=_0x106c1d[_0x134411(0x2fa)]-0x1,_0x4d3ed9;_0x20ffbc>=0x0;_0x20ffbc--)(_0x4d3ed9=_0x106c1d[_0x20ffbc])&&(_0x449df8=_0x4d3ed9(_0x449df8)||_0x449df8);return _0x449df8;},vt=(_0x4ab21f,_0x2414ac)=>(_0x9cac78,_0x1c8087)=>_0x2414ac(_0x9cac78,_0x1c8087,_0x4ab21f);let st=class{constructor(_0x5bbfa7,_0x498a48,_0x17afc2){var _0x3b36ca=_0x41545e;this[_0x3b36ca(0x2f0)]=_0x5bbfa7,this[_0x3b36ca(0x365)]=_0x498a48,this[_0x3b36ca(0x26f)]=_0x17afc2,this[_0x3b36ca(0x1b4)]();}[_0x41545e(0x1b4)](){var _0x3e74f4=_0x41545e;this[_0x3e74f4(0x365)][_0x3e74f4(0x1f4)]({'priority':0x1,'interceptor':(_0x40a9e1,_0x51b0e2)=>_0x51b0e2(_0x40a9e1)[_0x3e74f4(0x30b)](_0x5a3729(async _0x5113f8=>{var _0x3ea3f8=_0x3e74f4;const _0x279616=_0x5113f8;if(_0x279616[_0x3ea3f8(0x244)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x3ea3f8(0x26f)]['t'](_0x3ea3f8(0x3fd)))){const _0x19b900=window[_0x3ea3f8(0x2d4)](window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]);window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]=this[_0x3ea3f8(0x1d7)]()+_0x3ea3f8(0x43c)+_0x19b900;}}return _0x279616;}))});}[_0x41545e(0x1d7)](){var _0x4363cd=_0x41545e,_0x5c8f21,_0x45f542;const _0x4c4219=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](Dr),_0x41e6e1=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](q);return(_0x45f542=(_0x5c8f21=_0x41e6e1==null?void 0x0:_0x41e6e1[_0x4363cd(0x1e6)])!=null?_0x5c8f21:_0x4c4219)!=null?_0x45f542:wr;}};st=fn([vt(0x0,_0x34fb67),vt(0x1,_0x236453(_0x15df20)),vt(0x2,_0x236453(_0xa17142))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x239ec4,_0x24d791,_0x4482fa,_0x9bd1a2)=>{var _0xf5d84e=_0x41545e;for(var _0x5f2f86=_0x9bd1a2>0x1?void 0x0:_0x9bd1a2?vn(_0x24d791,_0x4482fa):_0x24d791,_0x51e6eb=_0x239ec4[_0xf5d84e(0x2fa)]-0x1,_0x253d27;_0x51e6eb>=0x0;_0x51e6eb--)(_0x253d27=_0x239ec4[_0x51e6eb])&&(_0x5f2f86=_0x253d27(_0x5f2f86)||_0x5f2f86);return _0x5f2f86;},Jt=(_0x178fe5,_0x41669b)=>(_0x23016a,_0x1ac4d4)=>_0x41669b(_0x23016a,_0x1ac4d4,_0x178fe5);const Ni='AUTHZ_URL_KEY',mn=_0x41545e(0x1d0);let Rt=class extends _0x4b1c46{constructor(_0x3950af,_0x1feb05){var _0x13a488=_0x41545e;super(),this[_0x13a488(0x25d)]=_0x3950af,this[_0x13a488(0x2f0)]=_0x1feb05,this[_0x13a488(0x2e2)]();}[_0x41545e(0x2e2)](){var _0x21f0d4=_0x41545e;const _0x5f8cae=this;this['disposeWithMe'](this[_0x21f0d4(0x25d)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf3ee5b({'isMatch'(_0xd30a0a){var _0x4cd32d=_0x21f0d4,_0x2131e2;if(_0xd30a0a[_0x4cd32d(0x478)]==='POST'&&((_0x2131e2=_0xd30a0a[_0x4cd32d(0x1bc)])!=null&&_0x2131e2['body'])){const {objectID:_0x453a27,objectType:_0x21ee67}=_0xd30a0a[_0x4cd32d(0x1bc)][_0x4cd32d(0x323)]||{};if(!_0x453a27||_0x21ee67===void 0x0)return!0x1;const _0xe37d95=_0x5f8cae[_0x4cd32d(0x28a)]()+'/'+_0x21ee67+_0x4cd32d(0x2bf)+_0x453a27+_0x4cd32d(0x310);if(_0xd30a0a[_0x4cd32d(0x35c)]===_0xe37d95)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x309c4f){var _0x425c93;return(_0x425c93=_0x309c4f['requestParams'])==null?void 0x0:_0x425c93['body'];},'mergeParamsToRequest'(_0x23dc72,_0x3a4ddf){var _0x1fe013=_0x21f0d4;const _0x2ea7ef=_0x5f8cae[_0x1fe013(0x28a)]()+'/-/object/-/batch_allowed',_0x333338=_0x23dc72[_0x1fe013(0x313)]((_0x5ee80d,_0x1c661f)=>{var _0x4dc5d4=_0x1fe013;const {unitID:_0x4103e8,objectID:_0x2895a7,objectType:_0x5a61c4,actions:_0x158cb9}=_0x1c661f;return _0x5ee80d[_0x4103e8]||(_0x5ee80d[_0x4103e8]={}),_0x5ee80d[_0x4103e8][_0x2895a7]||(_0x5ee80d[_0x4103e8][_0x2895a7]={'objectID':_0x2895a7,'objectType':_0x5a61c4,'actions':[]}),_0x5ee80d[_0x4103e8][_0x2895a7][_0x4dc5d4(0x395)][_0x4dc5d4(0x22d)](..._0x158cb9),_0x5ee80d;},{}),_0x494f48=[];for(const _0x3804e8 in _0x333338)for(const _0x4179ec in _0x333338[_0x3804e8]){const {actions:_0x38e3a3,objectType:_0x4c2c36}=_0x333338[_0x3804e8][_0x4179ec],_0x26795c=[...new Set(_0x38e3a3)];_0x494f48[_0x1fe013(0x22d)]({'unitID':_0x3804e8,'objectID':_0x4179ec,'objectType':_0x4c2c36,'actions':_0x26795c});}return new _0xa6c8fe(_0x1fe013(0x3d1),_0x2ea7ef,{'headers':_0x3a4ddf[_0x1fe013(0x257)],'withCredentials':_0x3a4ddf[_0x1fe013(0x27c)],'responseType':_0x3a4ddf[_0x1fe013(0x2af)],'body':{'requests':_0x494f48}});}},{'distributeResult'(_0x51da6e,_0x4a2773){var _0x3867f8=_0x21f0d4;const {objectActions:_0x356e06}=_0x51da6e;return _0x4a2773[_0x3867f8(0x400)](_0x4de115=>{var _0x209b12=_0x3867f8;const {unitID:_0x7d8afc,objectID:_0x8734a4,actions:_0x3e5d16}=_0x4de115,_0x4b10b8=_0x356e06[_0x209b12(0x286)](_0x46c0e5=>_0x46c0e5['unitID']===_0x7d8afc&&_0x46c0e5[_0x209b12(0x26d)]===_0x8734a4),_0x1ff12d=_0x3e5d16[_0x209b12(0x400)](_0x2f391c=>_0x4b10b8==null?void 0x0:_0x4b10b8[_0x209b12(0x395)][_0x209b12(0x286)](_0x12eb5a=>_0x12eb5a[_0x209b12(0x3d5)]===_0x2f391c))[_0x209b12(0x38c)](_0x1ad760=>!!_0x1ad760);return{'config':_0x4de115,'result':{'actions':_0x1ff12d,'error':_0x51da6e[_0x209b12(0x353)]}};});}})}));}['_getAPIPrefixPath'](){var _0x136fa8=_0x41545e,_0x392995,_0x5aba8a;const _0x11db39=this['_configService'][_0x136fa8(0x222)](Ni),_0x8cd2d=this[_0x136fa8(0x2f0)][_0x136fa8(0x222)](q);return(_0x5aba8a=(_0x392995=_0x8cd2d==null?void 0x0:_0x8cd2d['authzUrl'])!=null?_0x392995:_0x11db39)!=null?_0x5aba8a:mn;}async[_0x41545e(0x23c)](_0x15dcc4){var _0x305e81=_0x41545e;const _0x4bb9a4=this[_0x305e81(0x28a)]()+'/'+_0x15dcc4[_0x305e81(0x1ea)]+_0x305e81(0x1f7);return(await this[_0x305e81(0x25d)][_0x305e81(0x3da)](_0x4bb9a4,{'body':_0x15dcc4}))[_0x305e81(0x323)][_0x305e81(0x26d)]||'';}async['list'](_0x2c9994){var _0x481f78=_0x41545e;const _0x5c743e=this[_0x481f78(0x28a)]()+_0x481f78(0x1e0);return(await this[_0x481f78(0x25d)][_0x481f78(0x3da)](_0x5c743e,{'body':_0x2c9994}))[_0x481f78(0x323)]['objects'];}async[_0x41545e(0x3e2)](_0x5093c4){var _0x41c780=_0x41545e;const _0x32e87c=this[_0x41c780(0x28a)]()+'/'+_0x5093c4['objectType']+'/object/'+_0x5093c4[_0x41c780(0x26d)];await this[_0x41c780(0x25d)]['put'](_0x32e87c,{'body':_0x5093c4});}async['allowed'](_0x1e4a37){var _0x19b050=_0x41545e;const _0x2d8329=this[_0x19b050(0x28a)]()+'/'+_0x1e4a37['objectType']+'/object/'+_0x1e4a37[_0x19b050(0x26d)]+_0x19b050(0x310);return(await this[_0x19b050(0x25d)][_0x19b050(0x3da)](_0x2d8329,{'body':_0x1e4a37}))[_0x19b050(0x323)][_0x19b050(0x395)];}async[_0x41545e(0x1fd)](_0x529e4d){var _0x224def=_0x41545e;const _0x3638dc=this[_0x224def(0x28a)]()+_0x224def(0x1a8);return(await this[_0x224def(0x25d)]['post'](_0x3638dc,{'body':{'requests':_0x529e4d}}))[_0x224def(0x323)][_0x224def(0x390)];}async['listRoles'](_0x2d5be8){var _0x20ecd9=_0x41545e;const _0x59c203=this[_0x20ecd9(0x28a)]()+'/'+_0x2d5be8[_0x20ecd9(0x1ea)]+_0x20ecd9(0x212),_0x3e922e=await this['_HTTPService']['post'](_0x59c203,{'body':_0x2d5be8});return{'roles':_0x3e922e[_0x20ecd9(0x323)]['roles'],'actions':_0x3e922e[_0x20ecd9(0x323)][_0x20ecd9(0x395)]};}async['deleteCollaborator'](_0x7d720d){var _0x450fc2=_0x41545e;const _0x1f9928=this[_0x450fc2(0x28a)]()+_0x450fc2(0x1f1);await this['_HTTPService'][_0x450fc2(0x27a)](_0x1f9928,{'params':{'collaboratorID':_0x7d720d[_0x450fc2(0x18a)],'objectID':_0x7d720d[_0x450fc2(0x26d)],'unitID':_0x7d720d['unitID']}});}async[_0x41545e(0x316)](_0x5068b1){var _0x5cd115=_0x41545e;const _0x1d4c0b=this[_0x5cd115(0x28a)]()+_0x5cd115(0x1f1);await this['_HTTPService'][_0x5cd115(0x1e4)](_0x1d4c0b,{'body':_0x5068b1});}async[_0x41545e(0x2e0)](_0x4f5159){var _0x5ecf68=_0x41545e;const _0x213a53=this[_0x5ecf68(0x28a)]()+'/collaborator';await this[_0x5ecf68(0x25d)][_0x5ecf68(0x3da)](_0x213a53,{'body':_0x4f5159});}async[_0x41545e(0x41b)](_0x245bf8){var _0x5ac50f=_0x41545e;const _0x2bef85=this['_getAPIPrefixPath']()+_0x5ac50f(0x1f1);return(await this[_0x5ac50f(0x25d)][_0x5ac50f(0x393)](_0x2bef85,{'params':{'objectID':_0x245bf8[_0x5ac50f(0x26d)],'unitID':_0x245bf8[_0x5ac50f(0x25a)]}}))[_0x5ac50f(0x323)][_0x5ac50f(0x42b)];}async['putCollaborators'](_0x2528c2){var _0x26e01a=_0x41545e;const _0x30dac7=this['_getAPIPrefixPath']()+_0x26e01a(0x1f1);await this[_0x26e01a(0x25d)][_0x26e01a(0x232)](_0x30dac7,{'body':_0x2528c2});}};Rt=pn([Jt(0x0,_0x236453(_0x15df20)),Jt(0x1,_0x236453(_0x34fb67))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4f9bb6){var _0x207d41=_0x41545e;return _0x4f9bb6&&_0x4f9bb6[_0x207d41(0x38b)]&&Object['prototype']['hasOwnProperty'][_0x207d41(0x33e)](_0x4f9bb6,_0x207d41(0x39b))?_0x4f9bb6['default']:_0x4f9bb6;}var Ge={'exports':{}};function gn(_0x1644fc){var _0x187cb3=_0x41545e;throw new Error(_0x187cb3(0x206)+_0x1644fc+_0x187cb3(0x210));}var Ve={'exports':{}},Sn=Ve[_0x41545e(0x1e1)],Xt;function ie(){var _0x395bc0=_0x41545e;return Xt||(Xt=0x1,function(_0x4f5176,_0x5f3e75){(function(_0x2bd5b3,_0x53befb){_0x4f5176['exports']=_0x53befb();}(Sn,function(){var _0x4fbad9=_0x4fbad9||function(_0x1a2490,_0x1a5d3d){var _0x43350f=_0x5230,_0x52a10e;if(typeof window<'u'&&window['crypto']&&(_0x52a10e=window[_0x43350f(0x3f5)]),typeof self<'u'&&self['crypto']&&(_0x52a10e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x43350f(0x3f5)]&&(_0x52a10e=globalThis[_0x43350f(0x3f5)]),!_0x52a10e&&typeof window<'u'&&window[_0x43350f(0x2df)]&&(_0x52a10e=window['msCrypto']),!_0x52a10e&&typeof pt<'u'&&pt[_0x43350f(0x3f5)]&&(_0x52a10e=pt[_0x43350f(0x3f5)]),!_0x52a10e&&typeof gn=='function')try{_0x52a10e=require('crypto');}catch{}var _0x268afd=function(){var _0x2236bc=_0x43350f;if(_0x52a10e){if(typeof _0x52a10e['getRandomValues']==_0x2236bc(0x19c))try{return _0x52a10e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52a10e['randomBytes']==_0x2236bc(0x19c))try{return _0x52a10e[_0x2236bc(0x295)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2236bc(0x1c6));},_0x444ada=Object[_0x43350f(0x23c)]||(function(){function _0x2b6caa(){}return function(_0x2607ff){var _0x563634=_0x5230,_0x11cf81;return _0x2b6caa[_0x563634(0x405)]=_0x2607ff,_0x11cf81=new _0x2b6caa(),_0x2b6caa[_0x563634(0x405)]=null,_0x11cf81;};}()),_0x9dcf43={},_0x1a51ea=_0x9dcf43[_0x43350f(0x3fa)]={},_0xd7d6b3=_0x1a51ea[_0x43350f(0x47b)]=(function(){return{'extend':function(_0x49083b){var _0xa9d5fd=_0x5230,_0x427671=_0x444ada(this);return _0x49083b&&_0x427671['mixIn'](_0x49083b),(!_0x427671[_0xa9d5fd(0x1a0)](_0xa9d5fd(0x1b4))||this[_0xa9d5fd(0x1b4)]===_0x427671['init'])&&(_0x427671['init']=function(){var _0x404b43=_0xa9d5fd;_0x427671[_0x404b43(0x464)]['init'][_0x404b43(0x264)](this,arguments);}),_0x427671['init']['prototype']=_0x427671,_0x427671[_0xa9d5fd(0x464)]=this,_0x427671;},'create':function(){var _0x404611=_0x5230,_0x57d870=this['extend']();return _0x57d870[_0x404611(0x1b4)][_0x404611(0x264)](_0x57d870,arguments),_0x57d870;},'init':function(){},'mixIn':function(_0x1956a4){var _0x439af6=_0x5230;for(var _0x349c44 in _0x1956a4)_0x1956a4[_0x439af6(0x1a0)](_0x349c44)&&(this[_0x349c44]=_0x1956a4[_0x349c44]);_0x1956a4[_0x439af6(0x1a0)](_0x439af6(0x273))&&(this[_0x439af6(0x273)]=_0x1956a4[_0x439af6(0x273)]);},'clone':function(){var _0x6cd396=_0x5230;return this['init'][_0x6cd396(0x405)][_0x6cd396(0x23a)](this);}};}()),_0x3e1c29=_0x1a51ea[_0x43350f(0x3a9)]=_0xd7d6b3[_0x43350f(0x23a)]({'init':function(_0x735e7d,_0x10da05){var _0x211913=_0x43350f;_0x735e7d=this[_0x211913(0x318)]=_0x735e7d||[],_0x10da05!=_0x1a5d3d?this[_0x211913(0x2b9)]=_0x10da05:this['sigBytes']=_0x735e7d['length']*0x4;},'toString':function(_0x1dd920){var _0x53557d=_0x43350f;return(_0x1dd920||_0x37f97c)[_0x53557d(0x2cf)](this);},'concat':function(_0x4ffeb0){var _0x28aef0=_0x43350f,_0x1d40dd=this[_0x28aef0(0x318)],_0x14572c=_0x4ffeb0[_0x28aef0(0x318)],_0x29b9fe=this[_0x28aef0(0x2b9)],_0x2bbe81=_0x4ffeb0[_0x28aef0(0x2b9)];if(this[_0x28aef0(0x243)](),_0x29b9fe%0x4)for(var _0x325040=0x0;_0x325040<_0x2bbe81;_0x325040++){var _0x1b3f4f=_0x14572c[_0x325040>>>0x2]>>>0x18-_0x325040%0x4*0x8&0xff;_0x1d40dd[_0x29b9fe+_0x325040>>>0x2]|=_0x1b3f4f<<0x18-(_0x29b9fe+_0x325040)%0x4*0x8;}else{for(var _0x3021b7=0x0;_0x3021b7<_0x2bbe81;_0x3021b7+=0x4)_0x1d40dd[_0x29b9fe+_0x3021b7>>>0x2]=_0x14572c[_0x3021b7>>>0x2];}return this[_0x28aef0(0x2b9)]+=_0x2bbe81,this;},'clamp':function(){var _0x19404c=_0x43350f,_0xc8cce3=this['words'],_0x178f54=this[_0x19404c(0x2b9)];_0xc8cce3[_0x178f54>>>0x2]&=0xffffffff<<0x20-_0x178f54%0x4*0x8,_0xc8cce3['length']=_0x1a2490['ceil'](_0x178f54/0x4);},'clone':function(){var _0x153c35=_0x43350f,_0x1c3213=_0xd7d6b3[_0x153c35(0x198)][_0x153c35(0x33e)](this);return _0x1c3213[_0x153c35(0x318)]=this[_0x153c35(0x318)][_0x153c35(0x377)](0x0),_0x1c3213;},'random':function(_0x32d1d8){var _0x2a8ff2=_0x43350f;for(var _0x4c5171=[],_0x5932c9=0x0;_0x5932c9<_0x32d1d8;_0x5932c9+=0x4)_0x4c5171[_0x2a8ff2(0x22d)](_0x268afd());return new _0x3e1c29['init'](_0x4c5171,_0x32d1d8);}}),_0x11d324=_0x9dcf43[_0x43350f(0x1cf)]={},_0x37f97c=_0x11d324['Hex']={'stringify':function(_0xc33dbd){var _0x1cf1a7=_0x43350f;for(var _0x2c0009=_0xc33dbd[_0x1cf1a7(0x318)],_0x825da2=_0xc33dbd['sigBytes'],_0x394d05=[],_0x5da1c2=0x0;_0x5da1c2<_0x825da2;_0x5da1c2++){var _0x1bcf28=_0x2c0009[_0x5da1c2>>>0x2]>>>0x18-_0x5da1c2%0x4*0x8&0xff;_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28>>>0x4)['toString'](0x10)),_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28&0xf)[_0x1cf1a7(0x273)](0x10));}return _0x394d05[_0x1cf1a7(0x205)]('');},'parse':function(_0x68949c){var _0x9c30a0=_0x43350f;for(var _0x3dc70a=_0x68949c['length'],_0x1d460e=[],_0x27965f=0x0;_0x27965f<_0x3dc70a;_0x27965f+=0x2)_0x1d460e[_0x27965f>>>0x3]|=parseInt(_0x68949c[_0x9c30a0(0x2f5)](_0x27965f,0x2),0x10)<<0x18-_0x27965f%0x8*0x4;return new _0x3e1c29[(_0x9c30a0(0x1b4))](_0x1d460e,_0x3dc70a/0x2);}},_0x51b49c=_0x11d324[_0x43350f(0x2b4)]={'stringify':function(_0x12f2d4){var _0x34dff2=_0x43350f;for(var _0x1bfc50=_0x12f2d4[_0x34dff2(0x318)],_0x4668ad=_0x12f2d4[_0x34dff2(0x2b9)],_0x1483dc=[],_0x43b0c1=0x0;_0x43b0c1<_0x4668ad;_0x43b0c1++){var _0x285cc1=_0x1bfc50[_0x43b0c1>>>0x2]>>>0x18-_0x43b0c1%0x4*0x8&0xff;_0x1483dc[_0x34dff2(0x22d)](String[_0x34dff2(0x29c)](_0x285cc1));}return _0x1483dc[_0x34dff2(0x205)]('');},'parse':function(_0x27c52f){var _0x18cc7b=_0x43350f;for(var _0x5b40d6=_0x27c52f[_0x18cc7b(0x2fa)],_0x543f00=[],_0x472d68=0x0;_0x472d68<_0x5b40d6;_0x472d68++)_0x543f00[_0x472d68>>>0x2]|=(_0x27c52f[_0x18cc7b(0x329)](_0x472d68)&0xff)<<0x18-_0x472d68%0x4*0x8;return new _0x3e1c29[(_0x18cc7b(0x1b4))](_0x543f00,_0x5b40d6);}},_0x557b25=_0x11d324[_0x43350f(0x22f)]={'stringify':function(_0x1bbd68){var _0x55b9ac=_0x43350f;try{return decodeURIComponent(escape(_0x51b49c[_0x55b9ac(0x2cf)](_0x1bbd68)));}catch{throw new Error(_0x55b9ac(0x201));}},'parse':function(_0x55637f){var _0x49d22e=_0x43350f;return _0x51b49c[_0x49d22e(0x3ce)](unescape(encodeURIComponent(_0x55637f)));}},_0x3cf461=_0x1a51ea[_0x43350f(0x1bd)]=_0xd7d6b3[_0x43350f(0x23a)]({'reset':function(){var _0xcfe34c=_0x43350f;this[_0xcfe34c(0x2c5)]=new _0x3e1c29['init'](),this[_0xcfe34c(0x304)]=0x0;},'_append':function(_0x57a96a){var _0x2fa8e0=_0x43350f;typeof _0x57a96a==_0x2fa8e0(0x2e4)&&(_0x57a96a=_0x557b25['parse'](_0x57a96a)),this['_data'][_0x2fa8e0(0x435)](_0x57a96a),this['_nDataBytes']+=_0x57a96a[_0x2fa8e0(0x2b9)];},'_process':function(_0x5d8ca7){var _0x4817ae=_0x43350f,_0x4307bf,_0x329937=this[_0x4817ae(0x2c5)],_0x526c34=_0x329937[_0x4817ae(0x318)],_0x3422c6=_0x329937[_0x4817ae(0x2b9)],_0xfa3706=this[_0x4817ae(0x3c8)],_0x35efdd=_0xfa3706*0x4,_0x31cb56=_0x3422c6/_0x35efdd;_0x5d8ca7?_0x31cb56=_0x1a2490[_0x4817ae(0x2ac)](_0x31cb56):_0x31cb56=_0x1a2490[_0x4817ae(0x401)]((_0x31cb56|0x0)-this[_0x4817ae(0x441)],0x0);var _0x19f87f=_0x31cb56*_0xfa3706,_0x223940=_0x1a2490['min'](_0x19f87f*0x4,_0x3422c6);if(_0x19f87f){for(var _0x4be823=0x0;_0x4be823<_0x19f87f;_0x4be823+=_0xfa3706)this[_0x4817ae(0x18d)](_0x526c34,_0x4be823);_0x4307bf=_0x526c34[_0x4817ae(0x300)](0x0,_0x19f87f),_0x329937['sigBytes']-=_0x223940;}return new _0x3e1c29[(_0x4817ae(0x1b4))](_0x4307bf,_0x223940);},'clone':function(){var _0xd17e9c=_0x43350f,_0x446295=_0xd7d6b3[_0xd17e9c(0x198)]['call'](this);return _0x446295[_0xd17e9c(0x2c5)]=this['_data'][_0xd17e9c(0x198)](),_0x446295;},'_minBufferSize':0x0});_0x1a51ea[_0x43350f(0x234)]=_0x3cf461[_0x43350f(0x23a)]({'cfg':_0xd7d6b3[_0x43350f(0x23a)](),'init':function(_0x21df07){var _0x1a78bd=_0x43350f;this['cfg']=this['cfg'][_0x1a78bd(0x23a)](_0x21df07),this[_0x1a78bd(0x25f)]();},'reset':function(){var _0x405df0=_0x43350f;_0x3cf461[_0x405df0(0x25f)]['call'](this),this[_0x405df0(0x46c)]();},'update':function(_0x374e72){var _0x53432e=_0x43350f;return this['_append'](_0x374e72),this[_0x53432e(0x2f4)](),this;},'finalize':function(_0x2f4772){var _0x365c6a=_0x43350f;_0x2f4772&&this[_0x365c6a(0x258)](_0x2f4772);var _0x26b582=this[_0x365c6a(0x28c)]();return _0x26b582;},'blockSize':0x10,'_createHelper':function(_0x8f5fa8){return function(_0x5d1550,_0x494f41){var _0x2541db=_0x5230;return new _0x8f5fa8['init'](_0x494f41)[_0x2541db(0x30a)](_0x5d1550);};},'_createHmacHelper':function(_0xfa3a42){return function(_0x3e18cf,_0x518028){var _0x2003ee=_0x5230;return new _0x148dc4[(_0x2003ee(0x43a))][(_0x2003ee(0x1b4))](_0xfa3a42,_0x518028)[_0x2003ee(0x30a)](_0x3e18cf);};}});var _0x148dc4=_0x9dcf43[_0x43350f(0x34d)]={};return _0x9dcf43;}(Math);return _0x4fbad9;}));}(Ve)),Ve[_0x395bc0(0x1e1)];}var We={'exports':{}},En=We[_0x41545e(0x1e1)],Zt;function Di(){var _0x1374b8=_0x41545e;return Zt||(Zt=0x1,function(_0x5cb41a,_0x53a108){(function(_0x31df4f,_0x2b8cee){var _0x2ff8c7=_0x5230;_0x5cb41a[_0x2ff8c7(0x1e1)]=_0x2b8cee(ie());}(En,function(_0x596b42){var _0x5ef0d7=_0x5230;return(function(){var _0x53b383=_0x5230,_0xad6de0=_0x596b42,_0x215c03=_0xad6de0[_0x53b383(0x3fa)],_0x4d2e8e=_0x215c03['WordArray'],_0x4da136=_0xad6de0['enc'];_0x4da136['Base64']={'stringify':function(_0x178d70){var _0xcf9e5e=_0x53b383,_0x696c8b=_0x178d70[_0xcf9e5e(0x318)],_0x448f7=_0x178d70[_0xcf9e5e(0x2b9)],_0x151644=this[_0xcf9e5e(0x385)];_0x178d70['clamp']();for(var _0x1ec1fb=[],_0x3bcff7=0x0;_0x3bcff7<_0x448f7;_0x3bcff7+=0x3)for(var _0x2f4710=_0x696c8b[_0x3bcff7>>>0x2]>>>0x18-_0x3bcff7%0x4*0x8&0xff,_0x122728=_0x696c8b[_0x3bcff7+0x1>>>0x2]>>>0x18-(_0x3bcff7+0x1)%0x4*0x8&0xff,_0x3f5776=_0x696c8b[_0x3bcff7+0x2>>>0x2]>>>0x18-(_0x3bcff7+0x2)%0x4*0x8&0xff,_0x24fcd3=_0x2f4710<<0x10|_0x122728<<0x8|_0x3f5776,_0x378fe0=0x0;_0x378fe0<0x4&&_0x3bcff7+_0x378fe0*0.75<_0x448f7;_0x378fe0++)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x151644['charAt'](_0x24fcd3>>>0x6*(0x3-_0x378fe0)&0x3f));var _0x2f0e0d=_0x151644['charAt'](0x40);if(_0x2f0e0d){for(;_0x1ec1fb['length']%0x4;)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x2f0e0d);}return _0x1ec1fb[_0xcf9e5e(0x205)]('');},'parse':function(_0x295c92){var _0x5d4b42=_0x53b383,_0x453ebc=_0x295c92[_0x5d4b42(0x2fa)],_0x114ce5=this['_map'],_0x851e9d=this[_0x5d4b42(0x3a3)];if(!_0x851e9d){_0x851e9d=this[_0x5d4b42(0x3a3)]=[];for(var _0xe2c3a0=0x0;_0xe2c3a0<_0x114ce5[_0x5d4b42(0x2fa)];_0xe2c3a0++)_0x851e9d[_0x114ce5[_0x5d4b42(0x329)](_0xe2c3a0)]=_0xe2c3a0;}var _0x3b30ca=_0x114ce5[_0x5d4b42(0x3ae)](0x40);if(_0x3b30ca){var _0x3253cc=_0x295c92[_0x5d4b42(0x430)](_0x3b30ca);_0x3253cc!==-0x1&&(_0x453ebc=_0x3253cc);}return _0x584b85(_0x295c92,_0x453ebc,_0x851e9d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x584b85(_0x131604,_0x4791b1,_0x521817){var _0x1abbbc=_0x53b383;for(var _0x5b7756=[],_0x4800a0=0x0,_0x41b53b=0x0;_0x41b53b<_0x4791b1;_0x41b53b++)if(_0x41b53b%0x4){var _0x14da40=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b-0x1)]<<_0x41b53b%0x4*0x2,_0x1784c8=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b)]>>>0x6-_0x41b53b%0x4*0x2,_0x5d5946=_0x14da40|_0x1784c8;_0x5b7756[_0x4800a0>>>0x2]|=_0x5d5946<<0x18-_0x4800a0%0x4*0x8,_0x4800a0++;}return _0x4d2e8e[_0x1abbbc(0x23c)](_0x5b7756,_0x4800a0);}}()),_0x596b42[_0x5ef0d7(0x1cf)][_0x5ef0d7(0x44f)];}));}(We)),We[_0x1374b8(0x1e1)];}var Ke={'exports':{}},In=Ke['exports'],Qt;function Tn(){var _0x45fda3=_0x41545e;return Qt||(Qt=0x1,function(_0x280fcc,_0x5b0e12){(function(_0x4c10f7,_0x56654c){var _0x545242=_0x5230;_0x280fcc[_0x545242(0x1e1)]=_0x56654c(ie());}(In,function(_0x2e8891){var _0x4511d4=_0x5230;return function(_0x316325){var _0x3edb48=_0x5230,_0x1d92af=_0x2e8891,_0x4bf1b3=_0x1d92af[_0x3edb48(0x3fa)],_0x447507=_0x4bf1b3['WordArray'],_0x53dc63=_0x4bf1b3[_0x3edb48(0x234)],_0x378ab1=_0x1d92af[_0x3edb48(0x34d)],_0x959f8=[];(function(){var _0x56dac3=_0x3edb48;for(var _0x2154e0=0x0;_0x2154e0<0x40;_0x2154e0++)_0x959f8[_0x2154e0]=_0x316325['abs'](_0x316325[_0x56dac3(0x3c9)](_0x2154e0+0x1))*0x100000000|0x0;}());var _0x58bcc4=_0x378ab1[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x23a)]({'_doReset':function(){var _0x39a9dd=_0x3edb48;this[_0x39a9dd(0x2ef)]=new _0x447507[(_0x39a9dd(0x1b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1224bd,_0x3644b5){var _0x5b055e=_0x3edb48;for(var _0x5d8220=0x0;_0x5d8220<0x10;_0x5d8220++){var _0x44a072=_0x3644b5+_0x5d8220,_0xcaac5=_0x1224bd[_0x44a072];_0x1224bd[_0x44a072]=(_0xcaac5<<0x8|_0xcaac5>>>0x18)&0xff00ff|(_0xcaac5<<0x18|_0xcaac5>>>0x8)&0xff00ff00;}var _0x378205=this[_0x5b055e(0x2ef)][_0x5b055e(0x318)],_0x19a4b3=_0x1224bd[_0x3644b5+0x0],_0x437ef8=_0x1224bd[_0x3644b5+0x1],_0x48a8fc=_0x1224bd[_0x3644b5+0x2],_0x1d167b=_0x1224bd[_0x3644b5+0x3],_0x11ca6e=_0x1224bd[_0x3644b5+0x4],_0x37c056=_0x1224bd[_0x3644b5+0x5],_0x53d39d=_0x1224bd[_0x3644b5+0x6],_0x25ea65=_0x1224bd[_0x3644b5+0x7],_0x550de8=_0x1224bd[_0x3644b5+0x8],_0x357911=_0x1224bd[_0x3644b5+0x9],_0x11361f=_0x1224bd[_0x3644b5+0xa],_0x2931cd=_0x1224bd[_0x3644b5+0xb],_0x3c32df=_0x1224bd[_0x3644b5+0xc],_0x3ee4fe=_0x1224bd[_0x3644b5+0xd],_0x52427c=_0x1224bd[_0x3644b5+0xe],_0xf5157a=_0x1224bd[_0x3644b5+0xf],_0x51ed8b=_0x378205[0x0],_0xa97616=_0x378205[0x1],_0x5c5fe8=_0x378205[0x2],_0x8f06bc=_0x378205[0x3];_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x7,_0x959f8[0x0]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x437ef8,0xc,_0x959f8[0x1]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0x11,_0x959f8[0x2]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x1d167b,0x16,_0x959f8[0x3]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x7,_0x959f8[0x4]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x37c056,0xc,_0x959f8[0x5]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0x11,_0x959f8[0x6]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x25ea65,0x16,_0x959f8[0x7]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x7,_0x959f8[0x8]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x357911,0xc,_0x959f8[0x9]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0x11,_0x959f8[0xa]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x2931cd,0x16,_0x959f8[0xb]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x7,_0x959f8[0xc]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3ee4fe,0xc,_0x959f8[0xd]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0x11,_0x959f8[0xe]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xf5157a,0x16,_0x959f8[0xf]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x5,_0x959f8[0x10]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x53d39d,0x9,_0x959f8[0x11]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0xe,_0x959f8[0x12]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x19a4b3,0x14,_0x959f8[0x13]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x5,_0x959f8[0x14]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11361f,0x9,_0x959f8[0x15]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0xe,_0x959f8[0x16]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11ca6e,0x14,_0x959f8[0x17]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x5,_0x959f8[0x18]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x52427c,0x9,_0x959f8[0x19]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0xe,_0x959f8[0x1a]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x550de8,0x14,_0x959f8[0x1b]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x5,_0x959f8[0x1c]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x48a8fc,0x9,_0x959f8[0x1d]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0xe,_0x959f8[0x1e]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3c32df,0x14,_0x959f8[0x1f]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x4,_0x959f8[0x20]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x550de8,0xb,_0x959f8[0x21]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0x10,_0x959f8[0x22]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x52427c,0x17,_0x959f8[0x23]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x4,_0x959f8[0x24]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11ca6e,0xb,_0x959f8[0x25]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0x10,_0x959f8[0x26]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11361f,0x17,_0x959f8[0x27]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x4,_0x959f8[0x28]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x19a4b3,0xb,_0x959f8[0x29]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0x10,_0x959f8[0x2a]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x53d39d,0x17,_0x959f8[0x2b]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x4,_0x959f8[0x2c]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3c32df,0xb,_0x959f8[0x2d]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0x10,_0x959f8[0x2e]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x48a8fc,0x17,_0x959f8[0x2f]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x6,_0x959f8[0x30]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x25ea65,0xa,_0x959f8[0x31]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0xf,_0x959f8[0x32]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x37c056,0x15,_0x959f8[0x33]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x6,_0x959f8[0x34]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x1d167b,0xa,_0x959f8[0x35]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0xf,_0x959f8[0x36]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x437ef8,0x15,_0x959f8[0x37]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x6,_0x959f8[0x38]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0xf5157a,0xa,_0x959f8[0x39]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0xf,_0x959f8[0x3a]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3ee4fe,0x15,_0x959f8[0x3b]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x6,_0x959f8[0x3c]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x2931cd,0xa,_0x959f8[0x3d]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0xf,_0x959f8[0x3e]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x357911,0x15,_0x959f8[0x3f]),_0x378205[0x0]=_0x378205[0x0]+_0x51ed8b|0x0,_0x378205[0x1]=_0x378205[0x1]+_0xa97616|0x0,_0x378205[0x2]=_0x378205[0x2]+_0x5c5fe8|0x0,_0x378205[0x3]=_0x378205[0x3]+_0x8f06bc|0x0;},'_doFinalize':function(){var _0x4d19c6=_0x3edb48,_0x294471=this[_0x4d19c6(0x2c5)],_0x392f02=_0x294471['words'],_0x537d3c=this[_0x4d19c6(0x304)]*0x8,_0x18ddc4=_0x294471[_0x4d19c6(0x2b9)]*0x8;_0x392f02[_0x18ddc4>>>0x5]|=0x80<<0x18-_0x18ddc4%0x20;var _0x2e8511=_0x316325[_0x4d19c6(0x480)](_0x537d3c/0x100000000),_0x3b7154=_0x537d3c;_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xf]=(_0x2e8511<<0x8|_0x2e8511>>>0x18)&0xff00ff|(_0x2e8511<<0x18|_0x2e8511>>>0x8)&0xff00ff00,_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xe]=(_0x3b7154<<0x8|_0x3b7154>>>0x18)&0xff00ff|(_0x3b7154<<0x18|_0x3b7154>>>0x8)&0xff00ff00,_0x294471['sigBytes']=(_0x392f02[_0x4d19c6(0x2fa)]+0x1)*0x4,this[_0x4d19c6(0x2f4)]();for(var _0x2f7eb7=this['_hash'],_0x409a4a=_0x2f7eb7[_0x4d19c6(0x318)],_0x2a624b=0x0;_0x2a624b<0x4;_0x2a624b++){var _0x2d8df3=_0x409a4a[_0x2a624b];_0x409a4a[_0x2a624b]=(_0x2d8df3<<0x8|_0x2d8df3>>>0x18)&0xff00ff|(_0x2d8df3<<0x18|_0x2d8df3>>>0x8)&0xff00ff00;}return _0x2f7eb7;},'clone':function(){var _0x2bc511=_0x3edb48,_0x3c7e38=_0x53dc63[_0x2bc511(0x198)][_0x2bc511(0x33e)](this);return _0x3c7e38[_0x2bc511(0x2ef)]=this[_0x2bc511(0x2ef)]['clone'](),_0x3c7e38;}});function _0x90c342(_0x55750b,_0x43623e,_0x2b6371,_0x1b6e6,_0x29cb99,_0xea7220,_0x5203d6){var _0x590d62=_0x55750b+(_0x43623e&_0x2b6371|~_0x43623e&_0x1b6e6)+_0x29cb99+_0x5203d6;return(_0x590d62<<_0xea7220|_0x590d62>>>0x20-_0xea7220)+_0x43623e;}function _0x42de85(_0xca24ed,_0x10fc33,_0x2724cd,_0x5e1db7,_0x4be1e7,_0xd057dc,_0x386d0b){var _0x24585e=_0xca24ed+(_0x10fc33&_0x5e1db7|_0x2724cd&~_0x5e1db7)+_0x4be1e7+_0x386d0b;return(_0x24585e<<_0xd057dc|_0x24585e>>>0x20-_0xd057dc)+_0x10fc33;}function _0x4e1ef6(_0x3a925a,_0x1aad3f,_0x27af32,_0x332f97,_0xf21e99,_0x1a436d,_0x35e2f4){var _0xb7ad53=_0x3a925a+(_0x1aad3f^_0x27af32^_0x332f97)+_0xf21e99+_0x35e2f4;return(_0xb7ad53<<_0x1a436d|_0xb7ad53>>>0x20-_0x1a436d)+_0x1aad3f;}function _0x566c98(_0x5960e4,_0x5e0245,_0x3d1a5,_0x1bd9bf,_0x1fae51,_0x53e2db,_0x534591){var _0x5b6e71=_0x5960e4+(_0x3d1a5^(_0x5e0245|~_0x1bd9bf))+_0x1fae51+_0x534591;return(_0x5b6e71<<_0x53e2db|_0x5b6e71>>>0x20-_0x53e2db)+_0x5e0245;}_0x1d92af[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x2fb)](_0x58bcc4),_0x1d92af['HmacMD5']=_0x53dc63[_0x3edb48(0x37f)](_0x58bcc4);}(Math),_0x2e8891[_0x4511d4(0x347)];}));}(Ke)),Ke[_0x45fda3(0x1e1)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x41545e(0x1e1)],ei;function Rn(){var _0x596090=_0x41545e;return ei||(ei=0x1,function(_0x5af6b0,_0x291776){(function(_0x1d5df3,_0x303291){var _0x2e2d25=_0x5230;_0x5af6b0[_0x2e2d25(0x1e1)]=_0x303291(ie());}(Cn,function(_0x433e6a){var _0x44278e=_0x5230;return(function(){var _0x334e14=_0x5230,_0x537710=_0x433e6a,_0x325a2d=_0x537710[_0x334e14(0x3fa)],_0x5e532f=_0x325a2d[_0x334e14(0x3a9)],_0x55317f=_0x325a2d[_0x334e14(0x234)],_0x54f70d=_0x537710[_0x334e14(0x34d)],_0x3c63b4=[],_0x255435=_0x54f70d['SHA1']=_0x55317f[_0x334e14(0x23a)]({'_doReset':function(){var _0x5f5465=_0x334e14;this[_0x5f5465(0x2ef)]=new _0x5e532f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ed4c6,_0x8ca380){var _0x22a60d=_0x334e14;for(var _0x44d08d=this[_0x22a60d(0x2ef)]['words'],_0xf5f14=_0x44d08d[0x0],_0x51cb5f=_0x44d08d[0x1],_0xdab8e8=_0x44d08d[0x2],_0x58bc9a=_0x44d08d[0x3],_0xeda9c1=_0x44d08d[0x4],_0xefad6f=0x0;_0xefad6f<0x50;_0xefad6f++){if(_0xefad6f<0x10)_0x3c63b4[_0xefad6f]=_0x1ed4c6[_0x8ca380+_0xefad6f]|0x0;else{var _0x4116de=_0x3c63b4[_0xefad6f-0x3]^_0x3c63b4[_0xefad6f-0x8]^_0x3c63b4[_0xefad6f-0xe]^_0x3c63b4[_0xefad6f-0x10];_0x3c63b4[_0xefad6f]=_0x4116de<<0x1|_0x4116de>>>0x1f;}var _0x541a2c=(_0xf5f14<<0x5|_0xf5f14>>>0x1b)+_0xeda9c1+_0x3c63b4[_0xefad6f];_0xefad6f<0x14?_0x541a2c+=(_0x51cb5f&_0xdab8e8|~_0x51cb5f&_0x58bc9a)+0x5a827999:_0xefad6f<0x28?_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)+0x6ed9eba1:_0xefad6f<0x3c?_0x541a2c+=(_0x51cb5f&_0xdab8e8|_0x51cb5f&_0x58bc9a|_0xdab8e8&_0x58bc9a)-0x70e44324:_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)-0x359d3e2a,_0xeda9c1=_0x58bc9a,_0x58bc9a=_0xdab8e8,_0xdab8e8=_0x51cb5f<<0x1e|_0x51cb5f>>>0x2,_0x51cb5f=_0xf5f14,_0xf5f14=_0x541a2c;}_0x44d08d[0x0]=_0x44d08d[0x0]+_0xf5f14|0x0,_0x44d08d[0x1]=_0x44d08d[0x1]+_0x51cb5f|0x0,_0x44d08d[0x2]=_0x44d08d[0x2]+_0xdab8e8|0x0,_0x44d08d[0x3]=_0x44d08d[0x3]+_0x58bc9a|0x0,_0x44d08d[0x4]=_0x44d08d[0x4]+_0xeda9c1|0x0;},'_doFinalize':function(){var _0x3453bc=_0x334e14,_0x49ef79=this['_data'],_0x5ed673=_0x49ef79['words'],_0x4a1e83=this['_nDataBytes']*0x8,_0x5dfd0a=_0x49ef79['sigBytes']*0x8;return _0x5ed673[_0x5dfd0a>>>0x5]|=0x80<<0x18-_0x5dfd0a%0x20,_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xe]=Math[_0x3453bc(0x480)](_0x4a1e83/0x100000000),_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xf]=_0x4a1e83,_0x49ef79['sigBytes']=_0x5ed673[_0x3453bc(0x2fa)]*0x4,this[_0x3453bc(0x2f4)](),this[_0x3453bc(0x2ef)];},'clone':function(){var _0x9fdf05=_0x334e14,_0x564d48=_0x55317f[_0x9fdf05(0x198)]['call'](this);return _0x564d48[_0x9fdf05(0x2ef)]=this[_0x9fdf05(0x2ef)][_0x9fdf05(0x198)](),_0x564d48;}});_0x537710[_0x334e14(0x40f)]=_0x55317f[_0x334e14(0x2fb)](_0x255435),_0x537710[_0x334e14(0x350)]=_0x55317f['_createHmacHelper'](_0x255435);}()),_0x433e6a[_0x44278e(0x40f)];}));}(qe)),qe[_0x596090(0x1e1)];}var ze={'exports':{}},bn=ze[_0x41545e(0x1e1)],ti;function yn(){var _0x2ad6c4=_0x41545e;return ti||(ti=0x1,function(_0x564f1,_0x106a03){(function(_0x41533f,_0x100357){var _0x56c83e=_0x5230;_0x564f1[_0x56c83e(0x1e1)]=_0x100357(ie());}(bn,function(_0x57ce4b){(function(){var _0xdefe0f=_0x5230,_0x4745eb=_0x57ce4b,_0x3e4b26=_0x4745eb[_0xdefe0f(0x3fa)],_0x43fce1=_0x3e4b26['Base'],_0x457b72=_0x4745eb[_0xdefe0f(0x1cf)],_0x1fb897=_0x457b72[_0xdefe0f(0x22f)],_0xaa32b4=_0x4745eb[_0xdefe0f(0x34d)];_0xaa32b4[_0xdefe0f(0x43a)]=_0x43fce1[_0xdefe0f(0x23a)]({'init':function(_0x39e070,_0x1baee2){var _0x4ff181=_0xdefe0f;_0x39e070=this[_0x4ff181(0x40d)]=new _0x39e070[(_0x4ff181(0x1b4))](),typeof _0x1baee2==_0x4ff181(0x2e4)&&(_0x1baee2=_0x1fb897[_0x4ff181(0x3ce)](_0x1baee2));var _0x1cfc48=_0x39e070[_0x4ff181(0x3c8)],_0x13363e=_0x1cfc48*0x4;_0x1baee2[_0x4ff181(0x2b9)]>_0x13363e&&(_0x1baee2=_0x39e070[_0x4ff181(0x30a)](_0x1baee2)),_0x1baee2[_0x4ff181(0x243)]();for(var _0x547235=this[_0x4ff181(0x413)]=_0x1baee2['clone'](),_0x54f4a7=this['_iKey']=_0x1baee2[_0x4ff181(0x198)](),_0x3124da=_0x547235['words'],_0x5a4ddc=_0x54f4a7[_0x4ff181(0x318)],_0x56cfae=0x0;_0x56cfae<_0x1cfc48;_0x56cfae++)_0x3124da[_0x56cfae]^=0x5c5c5c5c,_0x5a4ddc[_0x56cfae]^=0x36363636;_0x547235['sigBytes']=_0x54f4a7[_0x4ff181(0x2b9)]=_0x13363e,this[_0x4ff181(0x25f)]();},'reset':function(){var _0x1de49f=_0xdefe0f,_0x4f4f5d=this[_0x1de49f(0x40d)];_0x4f4f5d[_0x1de49f(0x25f)](),_0x4f4f5d['update'](this[_0x1de49f(0x2a9)]);},'update':function(_0x1d736b){var _0x19b93d=_0xdefe0f;return this[_0x19b93d(0x40d)][_0x19b93d(0x3e2)](_0x1d736b),this;},'finalize':function(_0x9d64d9){var _0x2888d3=_0xdefe0f,_0x34d91c=this[_0x2888d3(0x40d)],_0xf70cfd=_0x34d91c[_0x2888d3(0x30a)](_0x9d64d9);_0x34d91c['reset']();var _0x52142a=_0x34d91c['finalize'](this[_0x2888d3(0x413)][_0x2888d3(0x198)]()[_0x2888d3(0x435)](_0xf70cfd));return _0x52142a;}});}());}));}(ze)),ze[_0x2ad6c4(0x1e1)];}var On=Ye[_0x41545e(0x1e1)],ii;function wi(){var _0x3b3531=_0x41545e;return ii||(ii=0x1,function(_0x1b583f,_0xaa3db4){(function(_0x5b45d5,_0x5d6500,_0x5b48b9){var _0x2d84c2=_0x5230;_0x1b583f[_0x2d84c2(0x1e1)]=_0x5d6500(ie(),Rn(),yn());}(On,function(_0x46d697){var _0x128406=_0x5230;return(function(){var _0x41db3=_0x5230,_0x125917=_0x46d697,_0x217c56=_0x125917[_0x41db3(0x3fa)],_0x1c584d=_0x217c56[_0x41db3(0x47b)],_0x61ebdd=_0x217c56[_0x41db3(0x3a9)],_0x159ad4=_0x125917[_0x41db3(0x34d)],_0x386db5=_0x159ad4['MD5'],_0x46757d=_0x159ad4[_0x41db3(0x352)]=_0x1c584d[_0x41db3(0x23a)]({'cfg':_0x1c584d[_0x41db3(0x23a)]({'keySize':0x80/0x20,'hasher':_0x386db5,'iterations':0x1}),'init':function(_0x3dda25){var _0x558b9d=_0x41db3;this[_0x558b9d(0x32c)]=this[_0x558b9d(0x32c)][_0x558b9d(0x23a)](_0x3dda25);},'compute':function(_0x288c16,_0x142a4b){var _0x559558=_0x41db3;for(var _0x4422c9,_0x2d9508=this['cfg'],_0x5e09b0=_0x2d9508[_0x559558(0x45c)][_0x559558(0x23c)](),_0x4c0dc2=_0x61ebdd['create'](),_0x2a6634=_0x4c0dc2[_0x559558(0x318)],_0x6a0ae0=_0x2d9508['keySize'],_0x4c5484=_0x2d9508[_0x559558(0x3f4)];_0x2a6634['length']<_0x6a0ae0;){_0x4422c9&&_0x5e09b0[_0x559558(0x3e2)](_0x4422c9),_0x4422c9=_0x5e09b0[_0x559558(0x3e2)](_0x288c16)[_0x559558(0x30a)](_0x142a4b),_0x5e09b0[_0x559558(0x25f)]();for(var _0x5f38ff=0x1;_0x5f38ff<_0x4c5484;_0x5f38ff++)_0x4422c9=_0x5e09b0[_0x559558(0x30a)](_0x4422c9),_0x5e09b0[_0x559558(0x25f)]();_0x4c0dc2[_0x559558(0x435)](_0x4422c9);}return _0x4c0dc2[_0x559558(0x2b9)]=_0x6a0ae0*0x4,_0x4c0dc2;}});_0x125917[_0x41db3(0x352)]=function(_0x489210,_0x38cfca,_0x25149e){var _0x46db9b=_0x41db3;return _0x46757d[_0x46db9b(0x23c)](_0x25149e)[_0x46db9b(0x250)](_0x489210,_0x38cfca);};}()),_0x46d697[_0x128406(0x352)];}));}(Ye)),Ye[_0x3b3531(0x1e1)];}var Je={'exports':{}},Nn=Je[_0x41545e(0x1e1)],ri;function Ui(){var _0x209641=_0x41545e;return ri||(ri=0x1,function(_0x51381b,_0x1ac0e1){(function(_0x46ae7c,_0x2d68ac,_0x3823f5){_0x51381b['exports']=_0x2d68ac(ie(),wi());}(Nn,function(_0x444b71){_0x444b71['lib']['Cipher']||function(_0x25acab){var _0x4457ba=_0x5230,_0x554c8a=_0x444b71,_0x48ced5=_0x554c8a[_0x4457ba(0x3fa)],_0x3bf036=_0x48ced5[_0x4457ba(0x47b)],_0x301f0c=_0x48ced5['WordArray'],_0x313f77=_0x48ced5['BufferedBlockAlgorithm'],_0x1e23e9=_0x554c8a[_0x4457ba(0x1cf)];_0x1e23e9['Utf8'];var _0x2f2267=_0x1e23e9[_0x4457ba(0x44f)],_0x3e9f8d=_0x554c8a[_0x4457ba(0x34d)],_0x10df95=_0x3e9f8d[_0x4457ba(0x352)],_0x11e0a9=_0x48ced5[_0x4457ba(0x220)]=_0x313f77[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)](),'createEncryptor':function(_0x262481,_0x38b6bb){var _0x3c2f3a=_0x4457ba;return this[_0x3c2f3a(0x23c)](this[_0x3c2f3a(0x1fb)],_0x262481,_0x38b6bb);},'createDecryptor':function(_0x2a5462,_0x1ba840){var _0x3c9af1=_0x4457ba;return this['create'](this[_0x3c9af1(0x231)],_0x2a5462,_0x1ba840);},'init':function(_0x349bff,_0x19419b,_0x4e36bb){var _0x38e5d4=_0x4457ba;this[_0x38e5d4(0x32c)]=this[_0x38e5d4(0x32c)][_0x38e5d4(0x23a)](_0x4e36bb),this[_0x38e5d4(0x19f)]=_0x349bff,this[_0x38e5d4(0x30d)]=_0x19419b,this[_0x38e5d4(0x25f)]();},'reset':function(){var _0x1a303f=_0x4457ba;_0x313f77[_0x1a303f(0x25f)][_0x1a303f(0x33e)](this),this[_0x1a303f(0x46c)]();},'process':function(_0x39f5ea){var _0x5d34c1=_0x4457ba;return this[_0x5d34c1(0x258)](_0x39f5ea),this['_process']();},'finalize':function(_0x22107c){var _0x957c5=_0x4457ba;_0x22107c&&this[_0x957c5(0x258)](_0x22107c);var _0x3c4c51=this['_doFinalize']();return _0x3c4c51;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6e0c92(_0x5810bb){var _0x5594a2=_0x5230;return typeof _0x5810bb==_0x5594a2(0x2e4)?_0x56134d:_0x209255;}return function(_0x5e2724){return{'encrypt':function(_0x1eaea8,_0x586ebb,_0x3750bc){var _0x4ccd92=_0x5230;return _0x6e0c92(_0x586ebb)[_0x4ccd92(0x237)](_0x5e2724,_0x1eaea8,_0x586ebb,_0x3750bc);},'decrypt':function(_0x4102f3,_0x143ef1,_0x149043){var _0x48ae93=_0x5230;return _0x6e0c92(_0x143ef1)[_0x48ae93(0x1a2)](_0x5e2724,_0x4102f3,_0x143ef1,_0x149043);}};};}())});_0x48ced5[_0x4457ba(0x265)]=_0x11e0a9['extend']({'_doFinalize':function(){var _0x4088d2=this['_process'](!0x0);return _0x4088d2;},'blockSize':0x1});var _0x258150=_0x554c8a[_0x4457ba(0x3c4)]={},_0xfa8b08=_0x48ced5['BlockCipherMode']=_0x3bf036[_0x4457ba(0x23a)]({'createEncryptor':function(_0x71d3e0,_0x225fd0){var _0x4f0d9c=_0x4457ba;return this[_0x4f0d9c(0x334)]['create'](_0x71d3e0,_0x225fd0);},'createDecryptor':function(_0x46482e,_0x2e6ac8){var _0x312706=_0x4457ba;return this['Decryptor'][_0x312706(0x23c)](_0x46482e,_0x2e6ac8);},'init':function(_0x108d6a,_0x499a4a){var _0x5819c9=_0x4457ba;this[_0x5819c9(0x291)]=_0x108d6a,this[_0x5819c9(0x479)]=_0x499a4a;}}),_0x54a027=_0x258150[_0x4457ba(0x2fe)]=(function(){var _0x36509b=_0x4457ba,_0x4ab17d=_0xfa8b08[_0x36509b(0x23a)]();_0x4ab17d[_0x36509b(0x334)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x4f5f8d,_0x34fab4){var _0x33bea6=_0x36509b,_0xbaecf=this['_cipher'],_0x182660=_0xbaecf[_0x33bea6(0x3c8)];_0x26bd95[_0x33bea6(0x33e)](this,_0x4f5f8d,_0x34fab4,_0x182660),_0xbaecf['encryptBlock'](_0x4f5f8d,_0x34fab4),this[_0x33bea6(0x469)]=_0x4f5f8d[_0x33bea6(0x377)](_0x34fab4,_0x34fab4+_0x182660);}}),_0x4ab17d[_0x36509b(0x275)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x22a414,_0x55f84f){var _0xe9643c=_0x36509b,_0x378cfe=this[_0xe9643c(0x291)],_0xd69ba2=_0x378cfe['blockSize'],_0x3205d4=_0x22a414['slice'](_0x55f84f,_0x55f84f+_0xd69ba2);_0x378cfe['decryptBlock'](_0x22a414,_0x55f84f),_0x26bd95[_0xe9643c(0x33e)](this,_0x22a414,_0x55f84f,_0xd69ba2),this[_0xe9643c(0x469)]=_0x3205d4;}});function _0x26bd95(_0x565bb7,_0x1e436e,_0x59dcdb){var _0x16ce1b=_0x36509b,_0x346969,_0x50d41b=this[_0x16ce1b(0x479)];_0x50d41b?(_0x346969=_0x50d41b,this[_0x16ce1b(0x479)]=_0x25acab):_0x346969=this[_0x16ce1b(0x469)];for(var _0x32300e=0x0;_0x32300e<_0x59dcdb;_0x32300e++)_0x565bb7[_0x1e436e+_0x32300e]^=_0x346969[_0x32300e];}return _0x4ab17d;}()),_0x55d3b8=_0x554c8a[_0x4457ba(0x402)]={},_0x3fa291=_0x55d3b8[_0x4457ba(0x345)]={'pad':function(_0x3722a1,_0x42fe0f){var _0x31d4e4=_0x4457ba;for(var _0x54519a=_0x42fe0f*0x4,_0x24c6f4=_0x54519a-_0x3722a1['sigBytes']%_0x54519a,_0x3bf9f0=_0x24c6f4<<0x18|_0x24c6f4<<0x10|_0x24c6f4<<0x8|_0x24c6f4,_0x16ffdf=[],_0x2b0158=0x0;_0x2b0158<_0x24c6f4;_0x2b0158+=0x4)_0x16ffdf[_0x31d4e4(0x22d)](_0x3bf9f0);var _0x10c94d=_0x301f0c[_0x31d4e4(0x23c)](_0x16ffdf,_0x24c6f4);_0x3722a1[_0x31d4e4(0x435)](_0x10c94d);},'unpad':function(_0x5e404a){var _0x11ad3d=_0x4457ba,_0x4c09e9=_0x5e404a['words'][_0x5e404a[_0x11ad3d(0x2b9)]-0x1>>>0x2]&0xff;_0x5e404a['sigBytes']-=_0x4c09e9;}};_0x48ced5[_0x4457ba(0x415)]=_0x11e0a9[_0x4457ba(0x23a)]({'cfg':_0x11e0a9[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'mode':_0x54a027,'padding':_0x3fa291}),'reset':function(){var _0x395818=_0x4457ba,_0x303dbc;_0x11e0a9[_0x395818(0x25f)][_0x395818(0x33e)](this);var _0x4790a1=this[_0x395818(0x32c)],_0x8e5c58=_0x4790a1['iv'],_0x40d379=_0x4790a1[_0x395818(0x3c4)];this[_0x395818(0x19f)]==this[_0x395818(0x1fb)]?_0x303dbc=_0x40d379[_0x395818(0x2b1)]:(_0x303dbc=_0x40d379[_0x395818(0x21e)],this[_0x395818(0x441)]=0x1),this[_0x395818(0x235)]&&this[_0x395818(0x235)][_0x395818(0x1cd)]==_0x303dbc?this[_0x395818(0x235)][_0x395818(0x1b4)](this,_0x8e5c58&&_0x8e5c58[_0x395818(0x318)]):(this[_0x395818(0x235)]=_0x303dbc[_0x395818(0x33e)](_0x40d379,this,_0x8e5c58&&_0x8e5c58['words']),this[_0x395818(0x235)][_0x395818(0x1cd)]=_0x303dbc);},'_doProcessBlock':function(_0x1da3aa,_0x4f3213){this['_mode']['processBlock'](_0x1da3aa,_0x4f3213);},'_doFinalize':function(){var _0x54d9fd=_0x4457ba,_0x5124b4,_0x1bc845=this[_0x54d9fd(0x32c)][_0x54d9fd(0x268)];return this[_0x54d9fd(0x19f)]==this['_ENC_XFORM_MODE']?(_0x1bc845[_0x54d9fd(0x402)](this[_0x54d9fd(0x2c5)],this[_0x54d9fd(0x3c8)]),_0x5124b4=this['_process'](!0x0)):(_0x5124b4=this[_0x54d9fd(0x2f4)](!0x0),_0x1bc845[_0x54d9fd(0x241)](_0x5124b4)),_0x5124b4;},'blockSize':0x80/0x20});var _0x263185=_0x48ced5[_0x4457ba(0x24a)]=_0x3bf036['extend']({'init':function(_0x53d7c6){var _0x3f2909=_0x4457ba;this[_0x3f2909(0x326)](_0x53d7c6);},'toString':function(_0x2762b6){var _0x36ad0c=_0x4457ba;return(_0x2762b6||this[_0x36ad0c(0x320)])[_0x36ad0c(0x2cf)](this);}}),_0x2bcbea=_0x554c8a[_0x4457ba(0x3d3)]={},_0x214f3c=_0x2bcbea['OpenSSL']={'stringify':function(_0x4c725f){var _0x3b7281=_0x4457ba,_0x99ee23,_0x23ee95=_0x4c725f['ciphertext'],_0x4afbc6=_0x4c725f['salt'];return _0x4afbc6?_0x99ee23=_0x301f0c[_0x3b7281(0x23c)]([0x53616c74,0x65645f5f])[_0x3b7281(0x435)](_0x4afbc6)[_0x3b7281(0x435)](_0x23ee95):_0x99ee23=_0x23ee95,_0x99ee23[_0x3b7281(0x273)](_0x2f2267);},'parse':function(_0x1a60a1){var _0x57753=_0x4457ba,_0x576d54,_0x44e82b=_0x2f2267['parse'](_0x1a60a1),_0x12dc2b=_0x44e82b[_0x57753(0x318)];return _0x12dc2b[0x0]==0x53616c74&&_0x12dc2b[0x1]==0x65645f5f&&(_0x576d54=_0x301f0c[_0x57753(0x23c)](_0x12dc2b[_0x57753(0x377)](0x2,0x4)),_0x12dc2b['splice'](0x0,0x4),_0x44e82b[_0x57753(0x2b9)]-=0x10),_0x263185[_0x57753(0x23c)]({'ciphertext':_0x44e82b,'salt':_0x576d54});}},_0x209255=_0x48ced5[_0x4457ba(0x3db)]=_0x3bf036[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)]({'format':_0x214f3c}),'encrypt':function(_0x16f0e5,_0x455a4c,_0x284656,_0x522462){var _0x445a00=_0x4457ba;_0x522462=this[_0x445a00(0x32c)]['extend'](_0x522462);var _0x2a106f=_0x16f0e5[_0x445a00(0x2b1)](_0x284656,_0x522462),_0x32a0a0=_0x2a106f['finalize'](_0x455a4c),_0x37f085=_0x2a106f['cfg'];return _0x263185[_0x445a00(0x23c)]({'ciphertext':_0x32a0a0,'key':_0x284656,'iv':_0x37f085['iv'],'algorithm':_0x16f0e5,'mode':_0x37f085[_0x445a00(0x3c4)],'padding':_0x37f085['padding'],'blockSize':_0x16f0e5[_0x445a00(0x3c8)],'formatter':_0x522462['format']});},'decrypt':function(_0x1242a1,_0x1c0b51,_0x59d150,_0x48ac83){var _0x11c286=_0x4457ba;_0x48ac83=this[_0x11c286(0x32c)][_0x11c286(0x23a)](_0x48ac83),_0x1c0b51=this[_0x11c286(0x2c8)](_0x1c0b51,_0x48ac83[_0x11c286(0x3d3)]);var _0x3eae54=_0x1242a1[_0x11c286(0x21e)](_0x59d150,_0x48ac83)[_0x11c286(0x30a)](_0x1c0b51[_0x11c286(0x1dc)]);return _0x3eae54;},'_parse':function(_0x5ee569,_0xcf3b3a){var _0x1688dd=_0x4457ba;return typeof _0x5ee569==_0x1688dd(0x2e4)?_0xcf3b3a[_0x1688dd(0x3ce)](_0x5ee569,this):_0x5ee569;}}),_0x2ca3b2=_0x554c8a[_0x4457ba(0x1ad)]={},_0x48f6f6=_0x2ca3b2['OpenSSL']={'execute':function(_0x1467e2,_0x235ba9,_0x149050,_0x5b2cf1,_0x464467){var _0x58e24e=_0x4457ba;if(_0x5b2cf1||(_0x5b2cf1=_0x301f0c['random'](0x40/0x8)),_0x464467)var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050,'hasher':_0x464467})[_0x58e24e(0x250)](_0x1467e2,_0x5b2cf1);else var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050})['compute'](_0x1467e2,_0x5b2cf1);var _0x5aa018=_0x301f0c[_0x58e24e(0x23c)](_0x3934ea[_0x58e24e(0x318)][_0x58e24e(0x377)](_0x235ba9),_0x149050*0x4);return _0x3934ea[_0x58e24e(0x2b9)]=_0x235ba9*0x4,_0x263185['create']({'key':_0x3934ea,'iv':_0x5aa018,'salt':_0x5b2cf1});}},_0x56134d=_0x48ced5['PasswordBasedCipher']=_0x209255['extend']({'cfg':_0x209255[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'kdf':_0x48f6f6}),'encrypt':function(_0x3ca5d8,_0x451965,_0x746c55,_0x4fd460){var _0x33ec05=_0x4457ba;_0x4fd460=this[_0x33ec05(0x32c)]['extend'](_0x4fd460);var _0x5c45e0=_0x4fd460[_0x33ec05(0x1ad)][_0x33ec05(0x39d)](_0x746c55,_0x3ca5d8['keySize'],_0x3ca5d8[_0x33ec05(0x40e)],_0x4fd460['salt'],_0x4fd460['hasher']);_0x4fd460['iv']=_0x5c45e0['iv'];var _0x604ba=_0x209255[_0x33ec05(0x237)]['call'](this,_0x3ca5d8,_0x451965,_0x5c45e0[_0x33ec05(0x3aa)],_0x4fd460);return _0x604ba[_0x33ec05(0x326)](_0x5c45e0),_0x604ba;},'decrypt':function(_0x3d15ff,_0x2464be,_0x5ad333,_0x923d38){var _0xea81de=_0x4457ba;_0x923d38=this['cfg']['extend'](_0x923d38),_0x2464be=this['_parse'](_0x2464be,_0x923d38[_0xea81de(0x3d3)]);var _0x36ddae=_0x923d38['kdf']['execute'](_0x5ad333,_0x3d15ff[_0xea81de(0x249)],_0x3d15ff[_0xea81de(0x40e)],_0x2464be[_0xea81de(0x42f)],_0x923d38['hasher']);_0x923d38['iv']=_0x36ddae['iv'];var _0x39bf8a=_0x209255[_0xea81de(0x1a2)][_0xea81de(0x33e)](this,_0x3d15ff,_0x2464be,_0x36ddae[_0xea81de(0x3aa)],_0x923d38);return _0x39bf8a;}});}();}));}(Je)),Je[_0x209641(0x1e1)];}var Dn=Ge[_0x41545e(0x1e1)],ni;function wn(){return ni||(ni=0x1,function(_0x56b20e,_0x293635){(function(_0xaacb16,_0x36fde4,_0x146631){var _0x281a28=_0x5230;_0x56b20e[_0x281a28(0x1e1)]=_0x36fde4(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x5ac62d){var _0x4149fd=_0x5230;return(function(){var _0x59230a=_0x5230,_0xbd5f70=_0x5ac62d,_0x1f47ad=_0xbd5f70[_0x59230a(0x3fa)],_0x2319ed=_0x1f47ad[_0x59230a(0x415)],_0x295012=_0xbd5f70[_0x59230a(0x34d)],_0x4b2276=[],_0x29373f=[],_0x376864=[],_0x335f83=[],_0x4ad315=[],_0x2722a6=[],_0x4d43f5=[],_0x40c087=[],_0x18f76b=[],_0x148ec1=[];(function(){for(var _0x34fcb3=[],_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++)_0x57fa2a<0x80?_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1:_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1^0x11b;for(var _0x1d29c7=0x0,_0xccc119=0x0,_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++){var _0x58f6e2=_0xccc119^_0xccc119<<0x1^_0xccc119<<0x2^_0xccc119<<0x3^_0xccc119<<0x4;_0x58f6e2=_0x58f6e2>>>0x8^_0x58f6e2&0xff^0x63,_0x4b2276[_0x1d29c7]=_0x58f6e2,_0x29373f[_0x58f6e2]=_0x1d29c7;var _0x152889=_0x34fcb3[_0x1d29c7],_0x3c7c8a=_0x34fcb3[_0x152889],_0x153d70=_0x34fcb3[_0x3c7c8a],_0x3fc50b=_0x34fcb3[_0x58f6e2]*0x101^_0x58f6e2*0x1010100;_0x376864[_0x1d29c7]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x335f83[_0x1d29c7]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x4ad315[_0x1d29c7]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x2722a6[_0x1d29c7]=_0x3fc50b;var _0x3fc50b=_0x153d70*0x1010101^_0x3c7c8a*0x10001^_0x152889*0x101^_0x1d29c7*0x1010100;_0x4d43f5[_0x58f6e2]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x40c087[_0x58f6e2]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x18f76b[_0x58f6e2]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x148ec1[_0x58f6e2]=_0x3fc50b,_0x1d29c7?(_0x1d29c7=_0x152889^_0x34fcb3[_0x34fcb3[_0x34fcb3[_0x153d70^_0x152889]]],_0xccc119^=_0x34fcb3[_0x34fcb3[_0xccc119]]):_0x1d29c7=_0xccc119=0x1;}}());var _0x1a7b01=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x7970a7=_0x295012[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x23a)]({'_doReset':function(){var _0x1ecede=_0x59230a,_0xf4ecbe;if(!(this[_0x1ecede(0x2b2)]&&this[_0x1ecede(0x2ae)]===this[_0x1ecede(0x30d)])){for(var _0x1316af=this[_0x1ecede(0x2ae)]=this[_0x1ecede(0x30d)],_0x1549fd=_0x1316af[_0x1ecede(0x318)],_0x5d1d44=_0x1316af[_0x1ecede(0x2b9)]/0x4,_0x2d7703=this[_0x1ecede(0x2b2)]=_0x5d1d44+0x6,_0x27c86d=(_0x2d7703+0x1)*0x4,_0x257008=this[_0x1ecede(0x3ec)]=[],_0x208ddb=0x0;_0x208ddb<_0x27c86d;_0x208ddb++)_0x208ddb<_0x5d1d44?_0x257008[_0x208ddb]=_0x1549fd[_0x208ddb]:(_0xf4ecbe=_0x257008[_0x208ddb-0x1],_0x208ddb%_0x5d1d44?_0x5d1d44>0x6&&_0x208ddb%_0x5d1d44==0x4&&(_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff]):(_0xf4ecbe=_0xf4ecbe<<0x8|_0xf4ecbe>>>0x18,_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff],_0xf4ecbe^=_0x1a7b01[_0x208ddb/_0x5d1d44|0x0]<<0x18),_0x257008[_0x208ddb]=_0x257008[_0x208ddb-_0x5d1d44]^_0xf4ecbe);for(var _0x43fdd7=this[_0x1ecede(0x22e)]=[],_0x5b83ae=0x0;_0x5b83ae<_0x27c86d;_0x5b83ae++){var _0x208ddb=_0x27c86d-_0x5b83ae;if(_0x5b83ae%0x4)var _0xf4ecbe=_0x257008[_0x208ddb];else var _0xf4ecbe=_0x257008[_0x208ddb-0x4];_0x5b83ae<0x4||_0x208ddb<=0x4?_0x43fdd7[_0x5b83ae]=_0xf4ecbe:_0x43fdd7[_0x5b83ae]=_0x4d43f5[_0x4b2276[_0xf4ecbe>>>0x18]]^_0x40c087[_0x4b2276[_0xf4ecbe>>>0x10&0xff]]^_0x18f76b[_0x4b2276[_0xf4ecbe>>>0x8&0xff]]^_0x148ec1[_0x4b2276[_0xf4ecbe&0xff]];}}},'encryptBlock':function(_0x379126,_0x4dad1b){var _0x5e3fb4=_0x59230a;this[_0x5e3fb4(0x285)](_0x379126,_0x4dad1b,this[_0x5e3fb4(0x3ec)],_0x376864,_0x335f83,_0x4ad315,_0x2722a6,_0x4b2276);},'decryptBlock':function(_0x49abe7,_0x5b37c2){var _0xa6f1cf=_0x59230a,_0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640,this[_0xa6f1cf(0x285)](_0x49abe7,_0x5b37c2,this[_0xa6f1cf(0x22e)],_0x4d43f5,_0x40c087,_0x18f76b,_0x148ec1,_0x29373f);var _0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640;},'_doCryptBlock':function(_0x2d40c9,_0x1fb104,_0x201f2e,_0x21b39d,_0x30c3bf,_0x5bca0b,_0x482cd4,_0x3451ed){var _0x226506=_0x59230a;for(var _0x4f49f2=this[_0x226506(0x2b2)],_0x2c7946=_0x2d40c9[_0x1fb104]^_0x201f2e[0x0],_0x163695=_0x2d40c9[_0x1fb104+0x1]^_0x201f2e[0x1],_0x28d73f=_0x2d40c9[_0x1fb104+0x2]^_0x201f2e[0x2],_0x5e6f14=_0x2d40c9[_0x1fb104+0x3]^_0x201f2e[0x3],_0x3f095f=0x4,_0x2cbcc0=0x1;_0x2cbcc0<_0x4f49f2;_0x2cbcc0++){var _0x450519=_0x21b39d[_0x2c7946>>>0x18]^_0x30c3bf[_0x163695>>>0x10&0xff]^_0x5bca0b[_0x28d73f>>>0x8&0xff]^_0x482cd4[_0x5e6f14&0xff]^_0x201f2e[_0x3f095f++],_0x5a7665=_0x21b39d[_0x163695>>>0x18]^_0x30c3bf[_0x28d73f>>>0x10&0xff]^_0x5bca0b[_0x5e6f14>>>0x8&0xff]^_0x482cd4[_0x2c7946&0xff]^_0x201f2e[_0x3f095f++],_0x30184e=_0x21b39d[_0x28d73f>>>0x18]^_0x30c3bf[_0x5e6f14>>>0x10&0xff]^_0x5bca0b[_0x2c7946>>>0x8&0xff]^_0x482cd4[_0x163695&0xff]^_0x201f2e[_0x3f095f++],_0xd14409=_0x21b39d[_0x5e6f14>>>0x18]^_0x30c3bf[_0x2c7946>>>0x10&0xff]^_0x5bca0b[_0x163695>>>0x8&0xff]^_0x482cd4[_0x28d73f&0xff]^_0x201f2e[_0x3f095f++];_0x2c7946=_0x450519,_0x163695=_0x5a7665,_0x28d73f=_0x30184e,_0x5e6f14=_0xd14409;}var _0x450519=(_0x3451ed[_0x2c7946>>>0x18]<<0x18|_0x3451ed[_0x163695>>>0x10&0xff]<<0x10|_0x3451ed[_0x28d73f>>>0x8&0xff]<<0x8|_0x3451ed[_0x5e6f14&0xff])^_0x201f2e[_0x3f095f++],_0x5a7665=(_0x3451ed[_0x163695>>>0x18]<<0x18|_0x3451ed[_0x28d73f>>>0x10&0xff]<<0x10|_0x3451ed[_0x5e6f14>>>0x8&0xff]<<0x8|_0x3451ed[_0x2c7946&0xff])^_0x201f2e[_0x3f095f++],_0x30184e=(_0x3451ed[_0x28d73f>>>0x18]<<0x18|_0x3451ed[_0x5e6f14>>>0x10&0xff]<<0x10|_0x3451ed[_0x2c7946>>>0x8&0xff]<<0x8|_0x3451ed[_0x163695&0xff])^_0x201f2e[_0x3f095f++],_0xd14409=(_0x3451ed[_0x5e6f14>>>0x18]<<0x18|_0x3451ed[_0x2c7946>>>0x10&0xff]<<0x10|_0x3451ed[_0x163695>>>0x8&0xff]<<0x8|_0x3451ed[_0x28d73f&0xff])^_0x201f2e[_0x3f095f++];_0x2d40c9[_0x1fb104]=_0x450519,_0x2d40c9[_0x1fb104+0x1]=_0x5a7665,_0x2d40c9[_0x1fb104+0x2]=_0x30184e,_0x2d40c9[_0x1fb104+0x3]=_0xd14409;},'keySize':0x100/0x20});_0xbd5f70[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x2fb)](_0x7970a7);}()),_0x5ac62d[_0x4149fd(0x43b)];}));}(Ge)),Ge['exports'];}var Un=wn();const An=He(Un);var Pn=Di();function _0x5f23(){var _0x43d962=['_httpService','addHandlerCallback','_injector','onStarting','onSyncEditingCollabCursor','originalMeta','ws://127.0.0.1:8000/universer-api/comb/connect','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unitId','onload','updateOfflineData','getValue','UNDEFINED','rev','HEARTBEAT','/block/','LIVESHARE_NEW_HOST','repeat','slice','UNIVER_DOC','m2Prime','HttpImport','COLLAB_SUBMIT_CHANGESET_URL','SUBMIT_CHANGESET_TIMEOUT','/universer-api/snapshot/','_remoteChangesetQueue','_createHmacHelper','Univer','memberID','SNAPSHOT_SERVER_URL_KEY','_onUserJoin','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_map','onlyLocal','_onConnectionFailed','removeMember','shouldCloseConn','pending','__esModule','filter','loadSheet','asObservable','_clearLocalCache','objectActions','JOINING','ERROR_EXCEED_SIZE','get','isArray','actions','_commandService','_init','_logService','_unitID','loadUnit','default','FETCH_MISSING','execute','save\x20fail\x20reason\x20is\x20','_shouldReportTelemetry','editing\x20status\x20changed\x20to','onTransformIME','_clearHeartbeatTimer','_reverseMap','_executeRemoteChangeset','fetchMissingChangesets','CHANGESET_REJ','189870NwWNRb','snapshotServerUrl','WordArray','key','debug','_transformService','_revisionService','charAt','_onRemoteRetry','_retryCount','_entities','_initDependencies','_singleActiveUnitService','interceptor','[CollaborationSessionService]','USERS_ENTER','_socket$','_socketReady','FAIL','encode','awaiting','CHANGESET_SHOULD_RETRY','onRemoteAck','[OfflineState]:\x20received\x20changeset.','_awaitingChangeset','onSendChangeset','CLOSE_ROOM','CONNECTOR_DATA_TOO_LARGE','LIVESHARE_OPERATION','mode','isPermissionRej','NoPadding','univer-pro.collaboration-client-socket-service','blockSize','sin','_sheetTransformSelectionsService','APPLY_PERMISSION_DENIED','_onLocalMutation','startsWith','parse','_type','updateCursorEvent','POST','set','format','message$','action','saveSheetBlock','cmd','every','_localCacheService','post','SerializableCipher','addImageSourceCache','[CollaborationUndoRedoService]','_transformIMECache','CHANGESET_ACK','_updateLocalCache','c1Prime','update','GLOBAL_ROOMS_CNT_EXCEEDS','socket$','_stopTelemetryCollaborationNewChangeset','joinEvent','startTime','updatePermissionPoint','/new_changes','PERSON','session.room-cnt-exceeds','_keySchedule','univer-pro.collaboration-client.single-active-unit-service','socket\x20close','_clearRedo','_getUploadFileURL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformRemoteChangesetByStateCache','open$','iterations','crypto','_rescheduleHeartbeat','_replaceFileID','UNKNOWN_CMD','_clearCollaborationTimeoutTimer','lib','getFocusedUnit','JOIN_ROOM_FULL','auth.needGotoLoginAlert','6TxOhoO','fetchMiss','map','max','pad','_onFetchMissResult','collaboration-client.config','prototype','onRemoteChangeset','selections','deepClone','ALREADY_EXISTS','\x20to\x20','subscribe','changesets','_hasher','ivSize','SHA1','/unit/','rng','_handler','_oKey','getTime','BlockCipher','getCollabEntity$','_transitionLocked','_tryReconnect','fetchThroughInterceptors','disposeWithMe','listCollaborators','loadDoc','[PendingState]:\x20received\x20acknowledgement.','_getCtorByUniverType','_sendHeartbeat','MSG_FOR_ERROR','_collaborationPaused','_entityInit$','dispose$','incrementRevOfUnit','session.join-failed','21SjhuIU','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','toggleOffline','awaiting_with_pending','collaborators','online$','newCsEvent','range','salt','indexOf','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','concat','params','[PendingState]:\x20received\x20rejection.','event$','onRemoteRej','HMAC','AES','?url=','\x0aAfter:\x20','_transformSelections','_substituteRedoStack','onCommentUpdate','_minBufferSize','_collabSessionService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN_ROOM_PERMISSION_DENIED','_onRemoteChangeset','infoRsp','conflict','_createHandler','_sendHeartbeatTimer','eventID','_disableEditing','requireSession','_updateStatus','SNAPSHOT_INVALID_SNAPSHOT','Base64','IDLE','_status$','_throwTelemetryCollaborationNewChangeset','target','68481XiVlKB','_handlerCallback','HttpExport','ENSURE_SNAPSHOT_EXECUTION','_roomMembers','loadOfflineData','INVALID_ARGUMENT','sheets','hasher','permissionRejEvent','\x20in\x20_schedule.','appendMutation','_clearUndo','getImage','unknown','LIVESHARE_TERMINATE','$super','_state','getWorkbookSelections','liveShareOperation','resend','_prevBlock','_decreaseWaiting','_getSendChangesetTimeout','_doReset','_members','has','bind','_loadDoc','2741072Hzyhke','_redoStacks','_queuedRemoteChangesets','UPDATE_CURSOR','_commentService','getAllMembers','fetching\x20missing\x20changesets\x20from\x20','method','_iv','getInterceptPoints','Base','[OfflineState]:\x20received\x20acknowledgement.','liveShareNewHost','uniscriptRunEvent','_onConflict','floor','APPLY_DUPLICATED','image/bmp','_acknowledgedAwaitingChangeset','transformSelections','getCurrentRevOfUnit','collaboratorID','[CollaborationState]:\x20apply\x20error!','getTypeOfUnitDisposed$','_doProcessBlock','members$','SEND_CHANGESET_TIMEOUT','add','getSheetBlock','generateRandomId','updatePermissionObjEvent','_timeoutTimer','NOT_COLLAB','catch','members','clone','[FetchMissState]','getCollabEntity','stopTime','function','initWorkbookPermissionChange','_sessions','_xformMode','hasOwnProperty','_collaborationSessionService','decrypt','_roomCreated$','updateMember','name','session','fromCollab','/-/object/-/batch_allowed','_scheduleCompleteTimestamp','[OfflineState]:\x20received\x20rejection.','refreshPermission','LIVESHARE_REQUEST_HOST','kdf','_collaborationUIEventService','UNIVER_SHEET','/universer-api/stream/file/upload','getRandomValues','INGEST','type','init','collabSubmitChangesetUrl','UNAUTHENTICATED','_fetchMissChangesets','file','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','TOO_MANY_REQUESTS','_clearScheduledTask','requestParams','BufferedBlockAlgorithm','_waitForHeartbeatResponse','csShouldRetryEvent','buffer','onCommandExecuted','_createInitialStateImpl','_imageSourceCache','51748AHsXfc','complete','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onMissingChangesets','_replayCachedMutations','_unitInfo$','telemetry\x20info\x20is\x20not\x20initialized','textRanges','_onRemoteACK','__creator','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','enc','/universer-api/authz','HELLO','sessionStatus$','collaMsg','UNISCRIPT_RUN','_isPermissionRej','_changesetReqId','_getLoginPath','forEach','PSEUDO_FETCH_MISSING_RESULT','duration','_userManagerService','ciphertext','_updateState','_transformStateCache','_retryConnectingTimer','/-/object/list','exports','findIndex','csAckEvent','patch','reqId','loginUrlKey','toLowerCase','randomUUID','_substituteUndoStack','objectType','COMPLETION_FINISHED','UNKNOWN_CODE','OFFLINE','UNIVER_COLLABORATION_CLIENT_PLUGIN','avatar','_clearTimeoutTimer','/collaborator','/universer-api/oidc/authpage','DEFAULT_FILE_NAME','registerHTTPInterceptor','SNAPSHOT_URL_KEY','_univerInstanceService','/object','setCurrentUser','[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.','MUTATION','_ENC_XFORM_MODE','routeKey','batchAllowed','sessionStatus','_changesetSessionId','/universer-api/snapshot','Malformed\x20UTF-8\x20data','_initCloseConn','JOIN_ROOM_FAILED','_showConflictNotification','join','Could\x20not\x20dynamically\x20require\x20\x22','setConfig','getSnapshotAPIPath','/universer-api/user/session-ticket','Undefined','13077340DvOcwf','executeCommand','close','_getSignURL','[CollaborationSession]','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_checkMissing','/role','HEARTBEAT_TIMEOUT','pluginName','symbol','onTransformState','_lockTransition','USERS_LEAVE','_onCombEvent','commentUpdate$','c2Prime','getImageSourceCache','[DataLoaderService]','createDecryptor','COLLAB_WEB_SOCKET_URL','Cipher','unit-cache-','getConfig','[SyncedState]:\x20received\x20acknowledgement.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_SUBSCRIPTION_NOT_FOUND','data','_sender','COMPRESS_MUTATION_SEND','RECV','/universer-api/file/{fileID}/sign-url','_onRemoteRejected','from','push','_invKeySchedule','Utf8','session.room-full','_DEC_XFORM_MODE','put','location','Hasher','_mode','resolve','encrypt','enableSingleActiveInstanceLock','origin','extend','append','create','LICENSE_MAX_UNITS_EXCEEDED','/universer-api/comb','change$','reject','unpad','_socketMessageSubscription','clamp','status','UnitSnapshot','closeSession','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','keySize','CipherParams','_createInitialState','send','_transformStack','getUnitOnRev','emitEvent','compute','SYNCED','onMissedChangesetFetched','_undoRedoService','transformMutationsWithChangeset','PERMISSION_REJ','_applyRemoteChangeset','headers','_append','_getUndoStack','unitID','focused$','_createSocket','_HTTPService','next','reset','synced','_listenToNetworkCondition','_socketService','signUrlServerUrl','apply','StreamCipher','AWAITING','getCurrentUser','padding','UNIVER_PROJECT','_toggleOnline','_toggleOffline','_permissionService','objectID','socketService','localeService','JOIN','getOwnPropertyDescriptor','onTransformRemoteChangesetByIMECache','toString','toggleOnline','Decryptor','_event$','_removeRoom','NO_OTHER_CLIENTS_EDITING','awaitingChangeset','delete','defineProperty','withCredentials','userID','\x20-\x20','entityInit$','ONLINE','transformStack\x20failed!','submit\x20changeset\x20error!','LOCAL_CACHE_INTERVAL','byteLength','_doCryptBlock','find','__Key__','_undoStacks','copyFileMeta','_getAPIPrefixPath','capture','_doFinalize','image/png','UNRECOGNIZED','setShowComponents','getDeserializedSheetBlock','_cipher','mutations','dispose','_resendWithTimeout','randomBytes','connection\x20error','image/jpg','title','_onConnectionOpen','_memberService','LEAVE','fromCharCode','getTypeOfUnitAdded$','transformUndoRedo','_registerDependencies','getActiveSheet','APPLY_REVISION_CONFILICT','revision','_tryEnsureSocket','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','downloadEndpointUrl','state','_telemetryInfo','_iKey','then','onRemoteRetry','ceil','_compressMutationService','_keyPriorReset','responseType','PERMISSION_DENIED','createEncryptor','_nRounds','_collaborationTimeoutTimer','Latin1','_schedule','session.room-permission-denied','baseRev','_unlockTransition','sigBytes','unsubscribe','?size=','onTransformSelections','enableAuthServer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/object/','getResourcesRequest','href','_transformUndoredo','OTHER_CLIENTS_EDITING','_snapshotServerService','_data','json','/fetchmissing?from=','_parse','7471422ABomCU','LIVESHARE_FETCH_OPERATIONS','CONFLICT','NOT_FOUND','\x0aCurrent:\x20','workbook','stringify','_resendTimeout','collabWebSocketUrl','People','localCacheService','encodeURIComponent','_snapshotService','_emitMembers','_exhaustRemoteChangesetQueue','list','COMPRESS_MUTATION_APPLY','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','609198WLRqhN','FETCH_MISS','YUUMI_UNABLE_LOAD_URL','msCrypto','createCollaborator','_resendTimer','_initMergeInterceptor','_joinRoom','string','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableOfflineEditing','_transformRemoteChangesetByStateCache','waitForRoom$','_initRequestHeader','LICENSE_DISTRO_REJECTED','_socket','not_collab','BASE64','SOCKET_FAILED','_hash','_configService','random','saveChangeset','subUnitId','_process','substr','_incrementRevisionNumber','_telemetryService','now','_eventService','length','_createHelper','_syncEditingCollabCursor','OTHER_CLIENT_EDITING','CBC','_onMessage','splice','UNIVER_SLIDE','clear','_candidateSocket','_nDataBytes','values','UPDATE_PERMISSION_OBJ','createSocket','_state$','SUCCUSS','finalize','pipe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_key','_commentUpdate$','{fileID}','/allowed','getUnit','_networkConditionService','reduce','_getCurrentRevision','COMMENT_UPDATE','updateCollaborator','OPTIONAL','words','_transformRemoteChangesetByIMECache','src','state$','ERROR_IMAGE','getUnitStatus$','socket\x20open.','error$','formatter','unitId\x20is\x20not\x20found','_initUnitPermissionChange','body','hostname','_sendingTimer','mixIn','SOCKET_FAILED_RETRY','saveImage','charCodeAt','authzUrl','_startCollaboration','cfg','_getDownloadEndpointURL','_submitChangeset','getUnitId','code','getUnitType','_onJoinRoomEvent','FileId','Encryptor','_waitCount','_doCreateSocket','_members$','close$','SUBMIT_CHANGESET','_instanceService','NEW_CHANGESETS','getRoom','_scheduleCollaborationTimeoutTimer','call','UNIVER_UNKNOWN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','size','/universer-api/uniscript','transformChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Pkcs7','fetch_missing','MD5','joinRsp','_onRecvEvent','readAsDataURL','getMember','AWAITING_WITH_PENDING','algo','reconnect','createInstance','HmacSHA1','_getRedoStack','EvpKDF','error','[CollaborationEntity]','_onOffline','INTERNAL_ERROR','_localeService','_change$','disableLocalCache','_pendingMutations','getMemberID','url','_config','20RHdJVL','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','snapshot','result','sendChangesetTimeout','sid','onStateChange'];_0x5f23=function(){return _0x43d962;};return _0x5f23();}const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x41545e(0x1e1)],oi;function Ln(){var _0x436968=_0x41545e;return oi||(oi=0x1,function(_0x1fd50a,_0x164710){(function(_0x465791,_0xbae3d6){var _0x2acef5=_0x5230;_0x1fd50a[_0x2acef5(0x1e1)]=_0xbae3d6(ie());}(xn,function(_0xed0b17){var _0x1bd8ee=_0x5230;return _0xed0b17[_0x1bd8ee(0x1cf)][_0x1bd8ee(0x22f)];}));}(Xe)),Xe[_0x436968(0x1e1)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){return ai||(ai=0x1,function(_0x5068b7,_0x2077e7){(function(_0x142697,_0x5db9fa){_0x5068b7['exports']=_0x5db9fa(ie());}($n,function(_0x10e506){var _0x29e447=_0x5230;return(function(){var _0x4efab7=_0x5230;if(typeof ArrayBuffer=='function'){var _0x527e98=_0x10e506,_0x4cdb3a=_0x527e98['lib'],_0x4264e1=_0x4cdb3a[_0x4efab7(0x3a9)],_0x361ba9=_0x4264e1['init'],_0x65defe=_0x4264e1[_0x4efab7(0x1b4)]=function(_0x1e1b7a){var _0x3638ba=_0x4efab7;if(_0x1e1b7a instanceof ArrayBuffer&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a)),(_0x1e1b7a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e1b7a instanceof Uint8ClampedArray||_0x1e1b7a instanceof Int16Array||_0x1e1b7a instanceof Uint16Array||_0x1e1b7a instanceof Int32Array||_0x1e1b7a instanceof Uint32Array||_0x1e1b7a instanceof Float32Array||_0x1e1b7a instanceof Float64Array)&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a[_0x3638ba(0x1c0)],_0x1e1b7a['byteOffset'],_0x1e1b7a[_0x3638ba(0x284)])),_0x1e1b7a instanceof Uint8Array){for(var _0x3707e7=_0x1e1b7a['byteLength'],_0x160d9d=[],_0x912e7e=0x0;_0x912e7e<_0x3707e7;_0x912e7e++)_0x160d9d[_0x912e7e>>>0x2]|=_0x1e1b7a[_0x912e7e]<<0x18-_0x912e7e%0x4*0x8;_0x361ba9[_0x3638ba(0x33e)](this,_0x160d9d,_0x3707e7);}else _0x361ba9[_0x3638ba(0x264)](this,arguments);};_0x65defe['prototype']=_0x4264e1;}}()),_0x10e506['lib'][_0x29e447(0x3a9)];}));}(Ze)),Ze['exports'];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x41545e(0x1e1)],ci;function Gn(){var _0x5b4a53=_0x41545e;return ci||(ci=0x1,function(_0x12fda3,_0x565bdf){(function(_0x5c91f6,_0x465490,_0x3f2891){_0x12fda3['exports']=_0x465490(ie(),Ui());}(Fn,function(_0x4bd803){var _0x45c6cb=_0x5230;return _0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)]={'pad':function(){},'unpad':function(){}},_0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)];}));}(Qe)),Qe[_0x5b4a53(0x1e1)];}var Vn=Gn();function _0x5230(_0x418b52,_0x5b5cbf){var _0x5f2325=_0x5f23();return _0x5230=function(_0x5230cb,_0x316be2){_0x5230cb=_0x5230cb-0x186;var _0x411e59=_0x5f2325[_0x5230cb];return _0x411e59;},_0x5230(_0x418b52,_0x5b5cbf);}const Wn=He(Vn);function Kn(_0x57fd07,_0x24eb43){var _0x2ea66a=_0x41545e;const _0x1ec29b=_0x24eb43-_0x57fd07[_0x2ea66a(0x2fa)]%_0x24eb43,_0x2feb60=String[_0x2ea66a(0x29c)](_0x1ec29b)[_0x2ea66a(0x376)](_0x1ec29b);return _0x57fd07+_0x2feb60;}function Yn(_0x6619d2,_0x173955){var _0x51228f=_0x41545e;const _0xa58ffe=jn['random'](0x10),_0x519e48=Kn(_0x6619d2,0x10),_0x5aa0a2=An[_0x51228f(0x237)](kn['parse'](_0x519e48),si[_0x51228f(0x3ce)](_0x173955),{'iv':_0xa58ffe,'padding':Wn});return _0xa58ffe[_0x51228f(0x435)](_0x5aa0a2[_0x51228f(0x1dc)])[_0x51228f(0x273)](si);}function qn(){var _0x5c40ca=_0x41545e;const _0x1f4426=_0x759dcf()[_0x5c40ca(0x287)];if(_0x1f4426){const _0x4bca3c={'time':Math[_0x5c40ca(0x480)](Date[_0x5c40ca(0x2f8)]()/0x3e8),'domain':location[_0x5c40ca(0x324)]};return Yn(JSON['stringify'](_0x4bca3c),_0x1f4426);}}var zn=Object[_0x41545e(0x271)],Jn=(_0x22e622,_0xacae23,_0x364a1e,_0x525980)=>{var _0x8a07be=_0x41545e;for(var _0x31966a=_0x525980>0x1?void 0x0:_0x525980?zn(_0xacae23,_0x364a1e):_0xacae23,_0x1a6707=_0x22e622[_0x8a07be(0x2fa)]-0x1,_0x4e89c5;_0x1a6707>=0x0;_0x1a6707--)(_0x4e89c5=_0x22e622[_0x1a6707])&&(_0x31966a=_0x4e89c5(_0x31966a)||_0x31966a);return _0x31966a;},Xn=(_0x1e2e1f,_0x41e981)=>(_0x3082d4,_0x284e59)=>_0x41e981(_0x3082d4,_0x284e59,_0x1e2e1f);let ot=class{constructor(_0x2b03f0){var _0x4b4cfb=_0x41545e;this[_0x4b4cfb(0x365)]=_0x2b03f0,this['_initRequestHeader']();}[_0x41545e(0x2e9)](){var _0x59c4ad=_0x41545e;this['_httpService'][_0x59c4ad(0x1f4)]({'interceptor':(_0x5594e3,_0x44c9d2)=>{var _0xfdc36c=_0x59c4ad;const _0x331161=_0x5594e3['headers'],_0x713896=qn();return _0x713896&&_0x331161[_0xfdc36c(0x3d2)]('x-univer-host',_0x713896),_0x44c9d2(_0x5594e3);}});}};ot=Jn([Xn(0x0,_0x236453(_0x15df20))],ot);var Zn=Object[_0x41545e(0x271)],Qn=(_0x4433a2,_0x39a7cf,_0x141ad0,_0x14cfd1)=>{var _0x2f265d=_0x41545e;for(var _0x26e3c9=_0x14cfd1>0x1?void 0x0:_0x14cfd1?Zn(_0x39a7cf,_0x141ad0):_0x39a7cf,_0x3ae8e6=_0x4433a2[_0x2f265d(0x2fa)]-0x1,_0xbcefb;_0x3ae8e6>=0x0;_0x3ae8e6--)(_0xbcefb=_0x4433a2[_0x3ae8e6])&&(_0x26e3c9=_0xbcefb(_0x26e3c9)||_0x26e3c9);return _0x26e3c9;},mt=(_0x4c2e0f,_0x456496)=>(_0x9e48c8,_0x4d8685)=>_0x456496(_0x9e48c8,_0x4d8685,_0x4c2e0f);let bt=class extends _0x433c2f{constructor(_0x4f6de8,_0x5c043c,_0x53acde){var _0x45a8d3=_0x41545e;super(),N(this,'_unitInfo$',new _0x48d6f2(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x45a8d3(0x38e)]()),(this[_0x45a8d3(0x398)]=_0x4f6de8,this[_0x45a8d3(0x2d5)]=_0x5c043c,this[_0x45a8d3(0x3d9)]=_0x53acde);}async[_0x41545e(0x39a)](_0x30fc20,_0x3323fe,_0x2265db){var _0x591e0d=_0x41545e;this[_0x591e0d(0x1c9)][_0x591e0d(0x25e)]({'unitId':_0x30fc20,'type':_0x3323fe,'subUnitId':_0x2265db});let _0xcb438=null;switch(_0x3323fe){case Q[_0x591e0d(0x1af)]:{_0xcb438=await this['_loadSheet'](_0x30fc20);break;}case Q['UNIVER_DOC']:{_0xcb438=await this[_0x591e0d(0x470)](_0x30fc20);break;}default:{this[_0x591e0d(0x398)]['error'](_0x591e0d(0x21d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xcb438;}async['_loadSheet'](_0x2677ea){var _0x382cea=_0x41545e,_0x59bb4b;let _0x50aa8b=0x0;const _0xc1c4=await((_0x59bb4b=this[_0x382cea(0x3d9)])==null?void 0x0:_0x59bb4b[_0x382cea(0x459)](_0x2677ea));return _0xc1c4&&(_0xc1c4[_0x382cea(0x279)]||_0xc1c4['mutations'][_0x382cea(0x2fa)]!==0x0)&&(_0x50aa8b=_0xc1c4[_0x382cea(0x372)]),_0x50aa8b===0x0&&this[_0x382cea(0x398)][_0x382cea(0x3ab)](_0x382cea(0x21d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x382cea(0x38d)](_0x2677ea,_0x50aa8b);}async[_0x41545e(0x470)](_0x575b74){var _0xc90565=_0x41545e,_0x2270a6;let _0x20d82e=0x0;const _0x25a739=await((_0x2270a6=this['_localCacheService'])==null?void 0x0:_0x2270a6[_0xc90565(0x459)](_0x575b74));return _0x25a739&&(_0x25a739[_0xc90565(0x279)]||_0x25a739[_0xc90565(0x292)]['length']!==0x0)&&(_0x20d82e=_0x25a739[_0xc90565(0x372)]),_0x20d82e===0x0&&this[_0xc90565(0x398)][_0xc90565(0x3ab)](_0xc90565(0x21d),_0xc90565(0x36c)),this['_snapshotService'][_0xc90565(0x41c)](_0x575b74,_0x20d82e);}};bt=Qn([mt(0x0,_0x5b92b1),mt(0x1,_0x236453(_0x460d13)),mt(0x2,_0x1d0f46(J))],bt);var es=Object[_0x41545e(0x271)],ts=(_0x45d38d,_0x442e42,_0xf5bb6a,_0x337b61)=>{var _0x1919c7=_0x41545e;for(var _0x3cc363=_0x337b61>0x1?void 0x0:_0x337b61?es(_0x442e42,_0xf5bb6a):_0x442e42,_0x5f56c7=_0x45d38d[_0x1919c7(0x2fa)]-0x1,_0x2f113c;_0x5f56c7>=0x0;_0x5f56c7--)(_0x2f113c=_0x45d38d[_0x5f56c7])&&(_0x3cc363=_0x2f113c(_0x3cc363)||_0x3cc363);return _0x3cc363;},gt=(_0x38154b,_0x51d9d8)=>(_0x566495,_0x310321)=>_0x51d9d8(_0x566495,_0x310321,_0x38154b);const is=[_0x41545e(0x28d),'image/jpeg',_0x41545e(0x297),'image/gif',_0x41545e(0x186)],rs=0x5*0x400*0x400,ns='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x41545e(0x1b0),os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as=_0x41545e(0x22a);let yt=class{constructor(_0x31edee,_0x4ac557,_0x5ac6cf){var _0x4481e1=_0x41545e;N(this,_0x4481e1(0x335),0x0),N(this,_0x4481e1(0x358),new _0x5daeac()),N(this,_0x4481e1(0x23f),this[_0x4481e1(0x358)]),N(this,_0x4481e1(0x1c3),new Map()),(this['_httpService']=_0x31edee,this[_0x4481e1(0x2f0)]=_0x4ac557,this[_0x4481e1(0x1f6)]=_0x5ac6cf);}['setWaitCount'](_0x52a873){this['_waitCount']=_0x52a873,this['_change$']['next'](_0x52a873);}[_0x41545e(0x21c)](_0x45a86d,_0x538be1){var _0x3772a2=_0x41545e;if(_0x538be1===_0x27b5d1[_0x3772a2(0x2ed)]){const _0x2d2a60=new Image();return _0x2d2a60[_0x3772a2(0x31a)]=_0x45a86d,_0x2d2a60;}return this['_imageSourceCache'][_0x3772a2(0x393)](_0x45a86d);}[_0x41545e(0x3dc)](_0x3edc57,_0x5371a8,_0x440d6e){var _0x35dac2=_0x41545e;_0x5371a8===_0x27b5d1[_0x35dac2(0x2ed)]||_0x440d6e==null||this['_imageSourceCache']['set'](_0x3edc57,_0x440d6e);}async[_0x41545e(0x461)](_0x58a985){var _0x5671c5=_0x41545e;try{const _0x451ff3=this[_0x5671c5(0x3f7)](this[_0x5671c5(0x20e)](),''+_0x58a985),_0x597f40=(await this['_httpService']['get'](_0x451ff3))[_0x5671c5(0x323)];if(_0x597f40[_0x5671c5(0x353)]&&_0x597f40['error'][_0x5671c5(0x330)]===Si['OK']){const _0x132007=new URL(_0x597f40[_0x5671c5(0x35c)],this[_0x5671c5(0x32d)]())[_0x5671c5(0x273)]();return Promise[_0x5671c5(0x236)](_0x132007);}return Promise[_0x5671c5(0x240)](_0x597f40['error']);}catch(_0x54c826){return Promise[_0x5671c5(0x240)](_0x54c826);}}async[_0x41545e(0x328)](_0x198ca1){var _0x2875e7=_0x41545e;let _0x1ca9f3='';if(!is['includes'](_0x198ca1[_0x2875e7(0x1b3)]))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8['ERROR_IMAGE_TYPE']));if(_0x198ca1['size']>rs)return this[_0x2875e7(0x46a)](),Promise['reject'](new Error(_0x3183f8[_0x2875e7(0x392)]));try{const _0x3aa317=new FormData();_0x3aa317[_0x2875e7(0x23b)](_0x2875e7(0x1b8),_0x198ca1);const _0x4c14e2=this[_0x2875e7(0x1f6)][_0x2875e7(0x3fb)](),_0x4ab372=_0x4c14e2==null?void 0x0:_0x4c14e2[_0x2875e7(0x32f)]();if(!_0x4ab372)throw new Error(_0x2875e7(0x321));const _0x293012=this['_getUploadFileURL']()+_0x2875e7(0x2bb)+_0x198ca1['size']['toString']()+'&source='+Ei[_0x2875e7(0x2a5)]+'&assign='+encodeURIComponent(_0x4ab372),_0x59c150=await(await fetch(_0x293012,{'method':_0x2875e7(0x3d1),'body':_0x3aa317}))[_0x2875e7(0x2c6)]();if(typeof _0x59c150[_0x2875e7(0x333)]!=_0x2875e7(0x2e4))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));_0x1ca9f3=_0x59c150[_0x2875e7(0x333)];}catch{return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));}return new Promise((_0x4f1c77,_0x255f73)=>{var _0x39f3ad=_0x2875e7;const _0x530784=new FileReader();_0x530784[_0x39f3ad(0x34a)](_0x198ca1),_0x530784[_0x39f3ad(0x36e)]=_0x4ef886=>{var _0x1d895b=_0x39f3ad,_0x5381bc;const _0x53f250=(_0x5381bc=_0x4ef886[_0x1d895b(0x453)])==null?void 0x0:_0x5381bc[_0x1d895b(0x361)];if(_0x53f250==null){this[_0x1d895b(0x46a)](),_0x255f73(new Error(_0x3183f8[_0x1d895b(0x31c)]));return;}const _0x37be63=_0x4c19fa[_0x1d895b(0x192)](0x6);_0x4f1c77({'imageId':_0x37be63,'imageSourceType':_0x27b5d1['UUID'],'source':_0x1ca9f3,'base64Cache':_0x53f250,'status':_0x3183f8[_0x1d895b(0x309)]}),this['_decreaseWaiting']();};});}[_0x41545e(0x3f0)](){var _0x43caa8=_0x41545e,_0x4e9661,_0x302327;const _0x1ea01b=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](ns),_0x528b22=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](q);return(_0x302327=(_0x4e9661=_0x528b22==null?void 0x0:_0x528b22['uploadFileServerUrl'])!=null?_0x4e9661:_0x1ea01b)!=null?_0x302327:ss;}[_0x41545e(0x20e)](){var _0x467356=_0x41545e,_0x544cb6,_0x5d682a;const _0x4c2123=this[_0x467356(0x2f0)][_0x467356(0x222)](os),_0x3a037b=this[_0x467356(0x2f0)][_0x467356(0x222)](q);return(_0x5d682a=(_0x544cb6=_0x3a037b==null?void 0x0:_0x3a037b[_0x467356(0x263)])!=null?_0x544cb6:_0x4c2123)!=null?_0x5d682a:as;}[_0x41545e(0x32d)](){var _0x41a087=_0x41545e,_0x100555;const _0x547bc3=this[_0x41a087(0x2f0)]['getConfig'](q);return(_0x100555=_0x547bc3==null?void 0x0:_0x547bc3[_0x41a087(0x2a6)])!=null?_0x100555:location[_0x41a087(0x239)];}[_0x41545e(0x3f7)](_0x3442df,_0x5043d8){var _0x197ab8=_0x41545e;return _0x3442df['replace'](_0x197ab8(0x30f),_0x5043d8);}[_0x41545e(0x46a)](){var _0x1a2acf=_0x41545e;this[_0x1a2acf(0x335)]-=0x1,this['_change$'][_0x1a2acf(0x25e)](this[_0x1a2acf(0x335)]);}};yt=ts([gt(0x0,_0x236453(_0x15df20)),gt(0x1,_0x34fb67),gt(0x2,_0x236453(_0x214b6f))],yt);var cs=Object[_0x41545e(0x271)],hs=(_0x3ee556,_0x5439e4,_0x3dc281,_0x10ffe2)=>{for(var _0x42a80c=_0x10ffe2>0x1?void 0x0:_0x10ffe2?cs(_0x5439e4,_0x3dc281):_0x5439e4,_0x1c2321=_0x3ee556['length']-0x1,_0x13b675;_0x1c2321>=0x0;_0x1c2321--)(_0x13b675=_0x3ee556[_0x1c2321])&&(_0x42a80c=_0x13b675(_0x42a80c)||_0x42a80c);return _0x42a80c;},hi=(_0x277747,_0x5525bb)=>(_0x2ae171,_0x21f885)=>_0x5525bb(_0x2ae171,_0x21f885,_0x277747);const _s='/universer-api/authz';let Ot=class{constructor(_0x26d245,_0x35e328){var _0x5b2aac=_0x41545e;this['_configService']=_0x26d245,this[_0x5b2aac(0x25d)]=_0x35e328;}[_0x41545e(0x28a)](){var _0x256c16=_0x41545e,_0x514e05,_0x978865;const _0x55d5e2=this[_0x256c16(0x2f0)][_0x256c16(0x222)](Ni),_0x1c4eb7=this[_0x256c16(0x2f0)][_0x256c16(0x222)](q);return(_0x978865=(_0x514e05=_0x1c4eb7==null?void 0x0:_0x1c4eb7[_0x256c16(0x32a)])!=null?_0x514e05:_0x55d5e2)!=null?_0x978865:_s;}async[_0x41545e(0x2d8)](_0x13c84f){var _0x42fcb0=_0x41545e;const _0x1e1ab7=this[_0x42fcb0(0x28a)]()+'/collaborator';return{'list':[{'title':_0x42fcb0(0x2d2),'mentions':(await this[_0x42fcb0(0x25d)][_0x42fcb0(0x393)](_0x1e1ab7,{'params':{'objectID':_0x13c84f[_0x42fcb0(0x36d)],'unitID':_0x13c84f['unitId']}}))[_0x42fcb0(0x323)][_0x42fcb0(0x42b)][_0x42fcb0(0x400)](_0x33956a=>({'objectId':_0x33956a['id'],'name':_0x33956a['subject'][_0x42fcb0(0x1a5)],'metadata':{'icon':_0x33956a['subject'][_0x42fcb0(0x1ef)]},'label':_0x33956a['subject']['name'],'objectType':_0x426e6f[_0x42fcb0(0x3ea)]})),'metadata':{},'type':_0x426e6f[_0x42fcb0(0x3ea)]}]};}};Ot=hs([hi(0x0,_0x236453(_0x34fb67)),hi(0x1,_0x236453(_0x15df20))],Ot);var ls=Object[_0x41545e(0x271)],us=(_0x6c106d,_0x4fb73b,_0x29f605,_0x1b6a55)=>{var _0x48ca45=_0x41545e;for(var _0x408a50=_0x1b6a55>0x1?void 0x0:_0x1b6a55?ls(_0x4fb73b,_0x29f605):_0x4fb73b,_0x4a3770=_0x6c106d[_0x48ca45(0x2fa)]-0x1,_0x3b3abc;_0x4a3770>=0x0;_0x4a3770--)(_0x3b3abc=_0x6c106d[_0x4a3770])&&(_0x408a50=_0x3b3abc(_0x408a50)||_0x408a50);return _0x408a50;},Ae=(_0x58f731,_0x83d87f)=>(_0x4ab47a,_0x14ad40)=>_0x83d87f(_0x4ab47a,_0x14ad40,_0x58f731);let at=class extends _0x433c2f{constructor(_0x528e37,_0x1fd749,_0x474082,_0x329997,_0x1640f3){var _0x137125=_0x41545e;super(),this[_0x137125(0x367)]=_0x528e37,this['_univerInstanceService']=_0x1fd749,this['_permissionService']=_0x474082,this[_0x137125(0x1a1)]=_0x329997,this[_0x137125(0x1ae)]=_0x1640f3,this[_0x137125(0x322)](),this[_0x137125(0x202)]();}['_initCloseConn'](){var _0x3e7f93=_0x41545e;const _0x1de592=async _0x16f969=>{var _0x3c2da9=_0x5230;(await this[_0x3c2da9(0x1a1)][_0x3c2da9(0x44c)](_0x16f969))[_0x3c2da9(0x438)][_0x3c2da9(0x30b)](_0x1a0aae(_0x1824c9=>_0x1824c9['eventID']===_0x5cfd61['SHOULD_CLOSE_CONN']),_0x48cb79(this[_0x3c2da9(0x423)]))['subscribe'](_0x2c1a67=>{var _0x141dc6=_0x3c2da9;const _0x4972ba=_0x2c1a67,{reason:_0x5bcb9b}=_0x4972ba['data'];this['_collaborationUIEventService'][_0x141dc6(0x24f)]({'id':se[_0x141dc6(0x3c1)],'data':_0x5bcb9b}),this[_0x141dc6(0x26c)][_0x141dc6(0x3e8)](new _0xeafda4(_0x16f969)['id'],!0x1),this[_0x141dc6(0x1a1)]['closeSession'](_0x16f969);});};_0x14bf95(this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x1af)]),this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x378)]))[_0x3e7f93(0x30b)](_0x5a18b9(_0x57c2db=>_0x57c2db['getUnitId']()),_0x1a0aae(_0x553795=>!_0x3359f1(_0x553795)),_0x48cb79(this[_0x3e7f93(0x423)]))[_0x3e7f93(0x40b)](_0x335c51=>{_0x1de592(_0x335c51);});}[_0x41545e(0x322)](){var _0x110b47=_0x41545e;const _0x42dd81=async _0x1d2a63=>{var _0x5b7bfc=_0x5230;const _0x56e72c=await this['_collaborationSessionService'][_0x5b7bfc(0x44c)](_0x1d2a63),_0x4a672c=this[_0x5b7bfc(0x367)][_0x5b7bfc(0x393)](_0x40e8ac);_0x56e72c[_0x5b7bfc(0x438)][_0x5b7bfc(0x30b)](_0x1a0aae(_0x4801d6=>_0x4801d6[_0x5b7bfc(0x44a)]===_0x5cfd61[_0x5b7bfc(0x306)]),_0x48cb79(this[_0x5b7bfc(0x423)]))[_0x5b7bfc(0x40b)](_0x586e9c=>{var _0x15ecef=_0x5b7bfc;const _0x3003db=_0x586e9c,{objectId:_0x12f78d}=_0x3003db[_0x15ecef(0x226)];_0x12f78d===_0x1d2a63?_0x4a672c[_0x15ecef(0x19d)](_0x1d2a63):_0x4a672c[_0x15ecef(0x1ab)](_0x1d2a63,_0x12f78d);});};_0x14bf95(this[_0x110b47(0x1f6)][_0x110b47(0x29d)](_0x16fa42[_0x110b47(0x1af)]))[_0x110b47(0x30b)](_0x5a18b9(_0x4a9d72=>_0x4a9d72[_0x110b47(0x32f)]()),_0x1a0aae(_0x3fe46e=>!_0x3359f1(_0x3fe46e)),_0x48cb79(this[_0x110b47(0x423)]))[_0x110b47(0x40b)](_0x4b46e8=>{_0x42dd81(_0x4b46e8);});}};at=us([Ae(0x0,_0x236453(_0x35ce09)),Ae(0x1,_0x214b6f),Ae(0x2,_0x4da13f),Ae(0x3,_0x236453(Le)),Ae(0x4,_0x236453(pe))],at);var ds=Object[_0x41545e(0x271)],fs=(_0x218d18,_0x142779,_0x3d6652,_0x233cb0)=>{var _0xa8bdd7=_0x41545e;for(var _0x56fd16=_0x233cb0>0x1?void 0x0:_0x233cb0?ds(_0x142779,_0x3d6652):_0x142779,_0x47b397=_0x218d18[_0xa8bdd7(0x2fa)]-0x1,_0x49d7d5;_0x47b397>=0x0;_0x47b397--)(_0x49d7d5=_0x218d18[_0x47b397])&&(_0x56fd16=_0x49d7d5(_0x56fd16)||_0x56fd16);return _0x56fd16;},_i=(_0x28cd46,_0x5994e5)=>(_0xdbe801,_0x47f787)=>_0x5994e5(_0xdbe801,_0x47f787,_0x28cd46);let Nt=class{constructor(_0x384701,_0x5b48ef){var _0x32408c=_0x41545e;this[_0x32408c(0x2f0)]=_0x384701,this['_httpService']=_0x5b48ef;}async[_0x41545e(0x24e)](_0x1f9c15,_0x4415f5){var _0xed8dd9=_0x41545e,_0x163c2c;const {unitID:_0x42ffee,type:_0x9610b2,revision:_0x20235c=0x0}=_0x4415f5,_0x1900ee=this[_0xed8dd9(0x208)]()+'/'+_0x9610b2+_0xed8dd9(0x410)+_0x42ffee+'/rev/'+_0x20235c,_0xa5fece=(await this[_0xed8dd9(0x365)][_0xed8dd9(0x393)](_0x1900ee))[_0xed8dd9(0x323)],_0x12730a=(_0x163c2c=_0xa5fece[_0xed8dd9(0x360)])==null?void 0x0:_0x163c2c[_0xed8dd9(0x2ce)];if(_0x12730a){const _0x1e7d21=_0x12730a==null?void 0x0:_0x12730a['originalMeta'],_0x2e6641=_0x4206cc[_0xed8dd9(0x3ba)](_0x22f055(_0x1e7d21));_0x12730a[_0xed8dd9(0x36a)]=_0x2e6641,Object['entries'](_0x12730a[_0xed8dd9(0x45b)])['forEach'](([,_0x953221])=>{var _0x1bcc83=_0xed8dd9;const _0x345a0c=_0x953221['originalMeta'],_0xb27dee=_0x4206cc[_0x1bcc83(0x3ba)](_0x22f055(_0x345a0c));_0x953221[_0x1bcc83(0x36a)]=_0xb27dee;});}return _0xa5fece;}async[_0x41545e(0x191)](_0x19feff,_0x3c00a6){var _0x485883=_0x41545e;const {unitID:_0x313c9d,type:_0x586517,blockID:_0x453882}=_0x3c00a6,_0x267e60=this['_getAPIPrefix']()+'/'+_0x586517+_0x485883(0x410)+_0x313c9d+_0x485883(0x374)+_0x453882;return(await this[_0x485883(0x365)][_0x485883(0x393)](_0x267e60))['body'];}async[_0x41545e(0x290)](_0x1fb8f1,_0x58f76f){var _0x830e8f=_0x41545e;const {unitID:_0x490ad5,type:_0x2db9b3,blockID:_0x295af3}=_0x58f76f,_0xc75750=this[_0x830e8f(0x432)]()+_0x830e8f(0x374)+_0x2db9b3+_0x830e8f(0x410)+_0x490ad5+_0x830e8f(0x374)+_0x295af3;return(await this[_0x830e8f(0x365)]['get'](_0xc75750))[_0x830e8f(0x323)];}async[_0x41545e(0x3a5)](_0x34046b,_0x11105b){var _0x501b5b=_0x41545e;const {unitID:_0x24c028,type:_0x5bbb7c,from:_0x35d277,to:_0x4a6cbc}=_0x11105b,_0x1360b1=this[_0x501b5b(0x432)]()+'/'+_0x5bbb7c+'/unit/'+_0x24c028+_0x501b5b(0x2c7)+_0x35d277+'&to='+_0x4a6cbc;return(await this[_0x501b5b(0x365)][_0x501b5b(0x393)](_0x1360b1))['body'];}[_0x41545e(0x208)](){var _0x143233=_0x41545e,_0x152d95;return(_0x152d95=this[_0x143233(0x2f0)]['getConfig'](gr))!=null?_0x152d95:this[_0x143233(0x432)]();}['_getAPIPrefix'](){var _0x18f5de=_0x41545e,_0x5054fc,_0x5b3793;const _0x29e6de=this['_configService'][_0x18f5de(0x222)](pr),_0x558448=this['_configService'][_0x18f5de(0x222)](q);return(_0x5b3793=(_0x5054fc=_0x558448==null?void 0x0:_0x558448[_0x18f5de(0x3a8)])!=null?_0x5054fc:_0x29e6de)!=null?_0x5b3793:mr;}async[_0x41545e(0x2c0)](_0x546064,_0x2fb5a4){var _0x1ace7b=_0x41545e;const _0x50a9d7=_0x1ace7b(0x37d)+_0x2fb5a4[_0x1ace7b(0x1b3)]+_0x1ace7b(0x410)+_0x2fb5a4[_0x1ace7b(0x25a)]+'/resources';return(await this[_0x1ace7b(0x365)][_0x1ace7b(0x393)](_0x50a9d7,{'params':{'resourceId':JSON[_0x1ace7b(0x2cf)](_0x2fb5a4['resourceIDs'])}}))[_0x1ace7b(0x323)];}['saveSnapshot'](){var _0x2e1cb1=_0x41545e;throw new Error(_0x2e1cb1(0x2e5));}[_0x41545e(0x3d6)](){var _0x332e57=_0x41545e;throw new Error(_0x332e57(0x2e5));}[_0x41545e(0x2f2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x41545e(0x289)](){var _0x4bd225=_0x41545e;throw new Error(_0x4bd225(0x2e5));}['getLatestCsReqIdBySid'](){var _0x386343=_0x41545e;throw new Error(_0x386343(0x2e5));}};Nt=fs([_i(0x0,_0x34fb67),_i(0x1,_0x236453(_0x15df20))],Nt);var vs=Object[_0x41545e(0x271)],ps=(_0x2c8c25,_0x20c6d2,_0x40c9e8,_0x423993)=>{var _0x3bff30=_0x41545e;for(var _0x2834b6=_0x423993>0x1?void 0x0:_0x423993?vs(_0x20c6d2,_0x40c9e8):_0x20c6d2,_0x4bb3b6=_0x2c8c25[_0x3bff30(0x2fa)]-0x1,_0x3141db;_0x4bb3b6>=0x0;_0x4bb3b6--)(_0x3141db=_0x2c8c25[_0x4bb3b6])&&(_0x2834b6=_0x3141db(_0x2834b6)||_0x2834b6);return _0x2834b6;},Pe=(_0x341e2f,_0x34b7eb)=>(_0x1bf9b8,_0x416f41)=>_0x34b7eb(_0x1bf9b8,_0x416f41,_0x341e2f);let Dt=class extends _0x2e41ca{constructor(_0x3967bc,_0x4bce30,_0x135c5b,_0x2c6ffe,_0x2e161a){var _0x27e665=_0x41545e;super(_0x3967bc,_0x4bce30,_0x135c5b),this[_0x27e665(0x3ac)]=_0x2c6ffe,this[_0x27e665(0x398)]=_0x2e161a;}[_0x41545e(0x29e)](_0x88e054,_0x3dc7e2){var _0x2a4f18=_0x41545e;const _0x2ef399=this[_0x2a4f18(0x259)](_0x88e054);if(_0x2ef399)try{const _0x56f8ac=this[_0x2a4f18(0x24d)](_0x2ef399,_0x3dc7e2);this[_0x2a4f18(0x1e9)](_0x88e054,_0x56f8ac);}catch(_0x29dd3f){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x2a4f18(0x3dd),_0x29dd3f),this[_0x2a4f18(0x460)](_0x88e054);}const _0x17a06a=this[_0x2a4f18(0x351)](_0x88e054);if(_0x17a06a)try{const _0x85bb37=this[_0x2a4f18(0x24d)](_0x17a06a,_0x3dc7e2);this[_0x2a4f18(0x43f)](_0x88e054,_0x85bb37);}catch(_0x29a373){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x29a373),this[_0x2a4f18(0x3ef)](_0x88e054);}}[_0x41545e(0x460)](_0x4d8be1){var _0x1f4f00=_0x41545e;const _0x2549e3=this[_0x1f4f00(0x259)](_0x4d8be1);_0x2549e3&&(_0x2549e3[_0x1f4f00(0x2fa)]=0x0,this[_0x1f4f00(0x44d)]());}[_0x41545e(0x3ef)](_0x48a8a5){var _0x3b058b=_0x41545e;const _0x415f64=this[_0x3b058b(0x351)](_0x48a8a5);_0x415f64&&(_0x415f64['length']=0x0,this[_0x3b058b(0x44d)]());}[_0x41545e(0x1e9)](_0x4743dd,_0xe94f8){var _0xa7fb26=_0x41545e;this[_0xa7fb26(0x288)][_0xa7fb26(0x3d2)](_0x4743dd,_0xe94f8),this[_0xa7fb26(0x44d)]();}[_0x41545e(0x43f)](_0x5da9d9,_0x4d6ce0){var _0x2cefe8=_0x41545e;this[_0x2cefe8(0x472)][_0x2cefe8(0x3d2)](_0x5da9d9,_0x4d6ce0),this[_0x2cefe8(0x44d)]();}['_transformStack'](_0x4a81e6,_0x123b1d){var _0x2daa88=_0x41545e;const _0x3bd0af=[];let _0x2c61d5=_0x123b1d,_0x446117=_0x123b1d;for(let _0x810f09=_0x4a81e6[_0x2daa88(0x2fa)]-0x1;_0x810f09>=0x0;_0x810f09--){const {unitID:_0x5201f9,undoMutations:_0x5d4727,redoMutations:_0x322cf1}=_0x4a81e6[_0x810f09],_0x3386b6=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x2c61d5,_0x5d4727),_0x17e895=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x446117,_0x322cf1);if(_0x5901b0(_0x3386b6)||_0x5901b0(_0x17e895)){this[_0x2daa88(0x398)][_0x2daa88(0x353)](_0x2daa88(0x3dd),_0x2daa88(0x281),_0x3386b6,_0x17e895);break;}_0x2c61d5=_0x3386b6['c1Prime'],_0x446117=_0x17e895[_0x2daa88(0x3e1)],_0x3bd0af[_0x2daa88(0x22d)]({'unitID':_0x5201f9,'undoMutations':_0x3386b6[_0x2daa88(0x379)],'redoMutations':_0x17e895[_0x2daa88(0x379)]});}return _0x3bd0af['reverse']();}};Dt=ps([Pe(0x0,_0x214b6f),Pe(0x1,_0x2c92b5),Pe(0x2,_0x5afa9c),Pe(0x3,_0x1335c8),Pe(0x4,_0x5b92b1)],Dt);var ms=Object['defineProperty'],gs=Object[_0x41545e(0x271)],Ss=(_0x73e59f,_0x21c6e0,_0x5bbd2b)=>_0x21c6e0 in _0x73e59f?ms(_0x73e59f,_0x21c6e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bbd2b}):_0x73e59f[_0x21c6e0]=_0x5bbd2b,Es=(_0x5a3af4,_0x1e1ddd,_0x3fd386,_0x50de17)=>{var _0x448b75=_0x41545e;for(var _0x5a4993=_0x50de17>0x1?void 0x0:_0x50de17?gs(_0x1e1ddd,_0x3fd386):_0x1e1ddd,_0x4805fe=_0x5a3af4[_0x448b75(0x2fa)]-0x1,_0x5a6e56;_0x4805fe>=0x0;_0x4805fe--)(_0x5a6e56=_0x5a3af4[_0x4805fe])&&(_0x5a4993=_0x5a6e56(_0x5a4993)||_0x5a4993);return _0x5a4993;},St=(_0x47b334,_0x5ea69c)=>(_0x5dba48,_0x46de6a)=>_0x5ea69c(_0x5dba48,_0x46de6a,_0x47b334),Is=(_0x3340c9,_0x4eda8e,_0x1ba7d7)=>Ss(_0x3340c9,_0x4eda8e+'',_0x1ba7d7);const Ts=_0x41545e(0x1ee);let wt=class extends _0x4357a2{constructor(_0x5b29e9,_0x59f218,_0x2ff502,_0x89ca7f){var _0x23cce8=_0x41545e;super(),N(this,_0x23cce8(0x35d)),(this[_0x23cce8(0x398)]=_0x59f218,this[_0x23cce8(0x367)]=_0x2ff502,this[_0x23cce8(0x2f0)]=_0x89ca7f);const {..._0x48cdbe}=_0x48c383({},Ur,_0x5b29e9);if(!_0x48cdbe[_0x23cce8(0x26e)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x23cce8(0x35d)]=_0x48cdbe,this[_0x23cce8(0x2f0)][_0x23cce8(0x207)](q,_0x48cdbe);}[_0x41545e(0x368)](){var _0x17a602=_0x41545e;this[_0x17a602(0x29f)](),this['_initDependencies']();}[_0x41545e(0x29f)](){var _0x442d21=_0x41545e,_0x45b12d,_0x56c13a;this[_0x442d21(0x367)][_0x442d21(0x46e)](_0x5a61a5)&&this[_0x442d21(0x398)]['error']('[UniverCollaborationClientPlugin]',_0x442d21(0x1ce));const _0x1962a6=_0x226ccd([[_0x5a61a5,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x442d21(0x35d)][_0x442d21(0x26e)]}],[_0x1cc5ae,{'useClass':Nt}],[_0x3ac908,{'useClass':Rt}],[_0x5bffa7,{'useClass':yt}],[_0x1f17af,{'useClass':Ot}],[nt],[Ct]],(_0x45b12d=this[_0x442d21(0x35d)])==null?void 0x0:_0x45b12d['override']);if(!((_0x56c13a=this['_config'])!=null&&_0x56c13a[_0x442d21(0x238)])){const _0x3f34e1=_0x1962a6[_0x442d21(0x1e2)](([_0x2eda13])=>_0x2eda13===ht);_0x3f34e1!==-0x1&&_0x1962a6['splice'](_0x3f34e1,0x1);}_0x56bf0d(this[_0x442d21(0x367)],_0x1962a6);}[_0x41545e(0x3b2)](){var _0x23ebec=_0x41545e,_0x306a7a,_0x535dc8,_0x21e78b;this['_injector'][_0x23ebec(0x393)](_0x15df20)[_0x23ebec(0x1f4)]({'priority':0x14,'interceptor':_0x2226bf({'maxParallel':0x6})}),(_0x306a7a=this[_0x23ebec(0x35d)])!=null&&_0x306a7a[_0x23ebec(0x2e6)]||(_0x535dc8=this[_0x23ebec(0x367)][_0x23ebec(0x393)](J,_0x248523[_0x23ebec(0x317)]))==null||_0x535dc8[_0x23ebec(0x359)](),(_0x21e78b=this['_config'])!=null&&_0x21e78b[_0x23ebec(0x2bd)]&&_0x266d35(this['_injector'],[[st]]),_0x266d35(this['_injector'],[[ot],[nt],[at]]);}};Is(wt,_0x41545e(0x214),Ts),wt=Es([_0x189c14(_0xf3fa8c,_0xe8c0f4),St(0x1,_0x5b92b1),St(0x2,_0x236453(_0x35ce09)),St(0x3,_0x34fb67)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir 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,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
1
+ var _0x1f558c=_0x4725;(function(_0xab0a9a,_0x183a32){var _0x5e69c2=_0x4725,_0x42dc2f=_0xab0a9a();while(!![]){try{var _0x2d5e9e=-parseInt(_0x5e69c2(0x3af))/0x1+parseInt(_0x5e69c2(0x368))/0x2+-parseInt(_0x5e69c2(0x362))/0x3+-parseInt(_0x5e69c2(0x33b))/0x4+parseInt(_0x5e69c2(0x430))/0x5*(parseInt(_0x5e69c2(0x152))/0x6)+parseInt(_0x5e69c2(0x1e7))/0x7+parseInt(_0x5e69c2(0x241))/0x8*(parseInt(_0x5e69c2(0x1a4))/0x9);if(_0x2d5e9e===_0x183a32)break;else _0x42dc2f['push'](_0x42dc2f['shift']());}catch(_0x27b67a){_0x42dc2f['push'](_0x42dc2f['shift']());}}}(_0x3db1,0x7b71a));var Ai=Object['defineProperty'],xi=(_0x3b2f2a,_0x5675ea,_0xa50ee9)=>_0x5675ea in _0x3b2f2a?Ai(_0x3b2f2a,_0x5675ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa50ee9}):_0x3b2f2a[_0x5675ea]=_0xa50ee9,N=(_0x16b8ea,_0x136e93,_0x533142)=>xi(_0x16b8ea,typeof _0x136e93!='symbol'?_0x136e93+'':_0x136e93,_0x533142);import{createIdentifier as _0x2235da,Inject as _0x5b2811,Injector as _0x5b79bd,Disposable as _0xc53c05,DisposableCollection as _0x17a125,toDisposable as _0xd7d543,IConfigService as _0x4ea54a,ILogService as _0x574408,UserManagerService as _0x10939a,UniverInstanceType as _0x3886a9,IUniverInstanceService as _0x30c3be,LocaleService as _0x426c5e,Optional as _0x40673b,RxDisposable as _0x1a5dd9,Tools as _0x2d4a2c,Rectangle as _0x568d0c,ICommandService as _0x456150,JSONX as _0x431a9e,CommandType as _0x2402fa,IPermissionService as _0x5b9158,IUndoRedoService as _0x46c745,sequenceExecute as _0x4ff652,Workbook as _0x13ef59,MentionType as _0x4e27b9,isInternalEditorID as _0x5c098a,LocalUndoRedoService as _0x457268,IContextService as _0x201420,DependentOn as _0x208650,Plugin as _0x5290de,merge as _0x33bad6,mergeOverrideWithDependencies as _0x591a49,IAuthzIoService as _0x1b9835,IMentionIOService as _0x4e0d64,registerDependencies as _0x8001ff,Quantity as _0x5bd1e3,touchDependencies as _0x3a3a91}from'@univerjs/core';import{Subject as _0x13d4cc,merge as _0x404c78,of as _0xb786a0,BehaviorSubject as _0x12b284,takeUntil as _0x29925c,ReplaySubject as _0x40f8ad,take as _0x3669e7,map as _0x1d5c6b,shareReplay as _0x576d80,firstValueFrom as _0x9545a1,concatMap as _0x574dc9}from'rxjs';import{map as _0xeca816,take as _0x56ed41,filter as _0x1bdf9d,delay as _0x18b0fa,takeUntil as _0x30142f}from'rxjs/operators';import{CollaborationEvent as _0x238e1f,parseChangesetToProtocol as _0x32fcbc,ISnapshotServerService as _0x389d38,isTransformMutationsWithChangesetSuccess as _0x1a87e5,ITransformService as _0x45b9e1,mapDocumentTypeToUniverType as _0x46690e,RevisionService as _0x40fd0a,isTransformChangesetsSuccess as _0x2e616a,CompressMutationService as _0x112c57,parseProtocolChangeset as _0x350fd9,SnapshotService as _0x4c1140,textEncoder as _0x9a9792,b64DecodeUnicode as _0x3b9e94,isTransformMutationsWithChangesetFailure as _0x10ccbc,UniverCollaborationPlugin as _0x3c03b4}from'@univerjs-pro/collaboration';import{HTTPService as _0x5b9922,ISocketService as _0x145494,MergeInterceptorFactory as _0x324ea2,HTTPRequest as _0x4ba1c4,UniverNetworkPlugin as _0xc797fa,ThresholdInterceptorFactory as _0x3cb4fe}from'@univerjs/network';import{ITelemetryService as _0x12c52a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3eafab}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c4be3,SetSelectionsOperation as _0xebdb79,InsertSheetMutation as _0x21cc23,EmptyMutation as _0x23cce6,WorkbookEditablePermission as _0x6a1b02,SheetPermissionInitController as _0x15e11e}from'@univerjs/sheets';import{ImageSourceType as _0x437e6e,ImageUploadStatusType as _0x42bf22,IImageIoService as _0x3f6478}from'@univerjs/drawing';import{getGlobalObject as _0x5d2141}from'@univerjs-pro/license';const gn='SNAPSHOT_SERVER_URL_KEY',Sn='/universer-api/snapshot',En='SNAPSHOT_URL_KEY',Zs='SEND_CHANGESET_TIMEOUT',In=0x7d0,Tn=_0x1f558c(0x2ce),Cn=_0x1f558c(0x281),Qs=_0x1f558c(0x1d8),bn=_0x1f558c(0x2a9),Rn=0x7530,mi=_0x1f558c(0x3b8),gi=0x4e20,On=0x4e20,yn=_0x1f558c(0x1a2),Nn=0x3,eo=_0x1f558c(0x3cb),to=0x3e8,Dn=_0x1f558c(0x32e),Pn=_0x1f558c(0x34b),wn=_0x1f558c(0x2cd),Un=_0x1f558c(0x13f),io=_0x1f558c(0x29a),no=_0x1f558c(0x2e2);var Si=(_0x39e088=>(_0x39e088[_0x39e088['UNDEFINED']=0x0]=_0x1f558c(0x232),_0x39e088[_0x39e088['OK']=0x1]='OK',_0x39e088[_0x39e088['INTERNAL_ERROR']=0x2]=_0x1f558c(0x1d4),_0x39e088[_0x39e088[_0x1f558c(0x1de)]=0x3]=_0x1f558c(0x1de),_0x39e088[_0x39e088['NOT_FOUND']=0x4]='NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x300)]=0x5]=_0x1f558c(0x300),_0x39e088[_0x39e088[_0x1f558c(0x1b2)]=0x6]='ALREADY_EXISTS',_0x39e088[_0x39e088[_0x1f558c(0x409)]=0x7]=_0x1f558c(0x409),_0x39e088[_0x39e088[_0x1f558c(0x297)]=0x8]='TOO_MANY_REQUESTS',_0x39e088[_0x39e088[_0x1f558c(0x398)]=0x9]=_0x1f558c(0x398),_0x39e088[_0x39e088['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x39e088[_0x39e088[_0x1f558c(0x288)]=0x1771]=_0x1f558c(0x288),_0x39e088[_0x39e088[_0x1f558c(0x3d1)]=0x1772]=_0x1f558c(0x3d1),_0x39e088[_0x39e088[_0x1f558c(0x212)]=0x1773]=_0x1f558c(0x212),_0x39e088[_0x39e088[_0x1f558c(0x14a)]=0x1b59]=_0x1f558c(0x14a),_0x39e088[_0x39e088['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1f558c(0x206),_0x39e088[_0x39e088['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f558c(0x32f),_0x39e088[_0x39e088[_0x1f558c(0x292)]=0x1b5c]=_0x1f558c(0x292),_0x39e088[_0x39e088['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x39e088[_0x39e088[_0x1f558c(0x1d7)]=0x1f41]=_0x1f558c(0x1d7),_0x39e088[_0x39e088['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1f558c(0x148),_0x39e088[_0x39e088['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f558c(0x1da),_0x39e088[_0x39e088[_0x1f558c(0x2bc)]=0x232b]=_0x1f558c(0x2bc),_0x39e088[_0x39e088['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1f558c(0x2b2),_0x39e088[_0x39e088['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1f558c(0x396),_0x39e088[_0x39e088['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1f558c(0x30b),_0x39e088[_0x39e088[_0x1f558c(0x285)]=0x2712]=_0x1f558c(0x285),_0x39e088[_0x39e088['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x39e088[_0x39e088['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x39e088[_0x39e088[_0x1f558c(0x3a6)]=0x2af9]=_0x1f558c(0x3a6),_0x39e088[_0x39e088['UNRECOGNIZED']=-0x1]=_0x1f558c(0x34f),_0x39e088))(Si||{}),Q=(_0xb8ecdf=>(_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3cd)]=0x0]=_0x1f558c(0x3cd),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x143)]=0x1]=_0x1f558c(0x143),_0xb8ecdf[_0xb8ecdf['UNIVER_SHEET']=0x2]=_0x1f558c(0x3d3),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x3e3)]=0x3]=_0x1f558c(0x3e3),_0xb8ecdf[_0xb8ecdf['UNIVER_PROJECT']=0x4]=_0x1f558c(0x243),_0xb8ecdf[_0xb8ecdf[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0xb8ecdf))(Q||{}),F=(_0x74430b=>(_0x74430b[_0x74430b[_0x1f558c(0x1ad)]=0x0]=_0x1f558c(0x1ad),_0x74430b[_0x74430b[_0x1f558c(0x28b)]=0x1]='HELLO',_0x74430b[_0x74430b[_0x1f558c(0x16e)]=0x2]=_0x1f558c(0x16e),_0x74430b[_0x74430b['LEAVE']=0x3]=_0x1f558c(0x260),_0x74430b[_0x74430b[_0x1f558c(0x24d)]=0x4]=_0x1f558c(0x24d),_0x74430b[_0x74430b[_0x1f558c(0x2c1)]=0x5]='HEARTBEAT',_0x74430b[_0x74430b['RECV']=0x6]='RECV',_0x74430b[_0x74430b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x74430b))(F||{}),ge=(_0x401e4b=>(_0x401e4b[_0x401e4b['UNKNOWN_CODE']=0x0]=_0x1f558c(0x39f),_0x401e4b[_0x401e4b['OK']=0x1]='OK',_0x401e4b[_0x401e4b[_0x1f558c(0x3c8)]=0x2]=_0x1f558c(0x3c8),_0x401e4b[_0x401e4b[_0x1f558c(0x185)]=0x3e9]=_0x1f558c(0x185),_0x401e4b[_0x401e4b[_0x1f558c(0x16a)]=0x3ea]=_0x1f558c(0x16a),_0x401e4b[_0x401e4b[_0x1f558c(0x39b)]=0x3eb]=_0x1f558c(0x39b),_0x401e4b[_0x401e4b[_0x1f558c(0x3bb)]=0x3ec]=_0x1f558c(0x3bb),_0x401e4b[_0x401e4b[_0x1f558c(0x34f)]=-0x1]='UNRECOGNIZED',_0x401e4b))(ge||{}),Ei=(_0x155952=>(_0x155952[_0x155952[_0x1f558c(0x302)]=0x0]='Undefined',_0x155952[_0x155952['HttpImport']=0x1]=_0x1f558c(0x1d6),_0x155952[_0x155952[_0x1f558c(0x2a7)]=0x2]=_0x1f558c(0x2a7),_0x155952[_0x155952[_0x1f558c(0x33c)]=0x3]=_0x1f558c(0x33c),_0x155952[_0x155952['UnitSnapshot']=0x4]='UnitSnapshot',_0x155952[_0x155952[_0x1f558c(0x34f)]=-0x1]=_0x1f558c(0x34f),_0x155952))(Ei||{});const q=_0x1f558c(0x1ab),An={};var se=(_0x5978cc=>(_0x5978cc[_0x1f558c(0x222)]='OTHER_CLIENT_EDITING',_0x5978cc[_0x1f558c(0x1de)]='PERMISSION_DENIED',_0x5978cc[_0x1f558c(0x2c7)]='CONFLICT',_0x5978cc[_0x1f558c(0x1ba)]='CLOSE_ROOM',_0x5978cc[_0x1f558c(0x1c1)]=_0x1f558c(0x1c1),_0x5978cc[_0x1f558c(0x1ee)]='SOCKET_FAILED_RETRY',_0x5978cc['SOCKET_FAILED']=_0x1f558c(0x415),_0x5978cc['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x5978cc))(se||{});class pe{constructor(){var _0x1669ad=_0x1f558c;N(this,_0x1669ad(0x267),new _0x13d4cc()),N(this,_0x1669ad(0x1c9),this[_0x1669ad(0x267)][_0x1669ad(0x317)]());}[_0x1f558c(0x2ec)](_0x444f6e){var _0x4a5050=_0x1f558c;this[_0x4a5050(0x267)]['next'](_0x444f6e);}}const xn=_0x2235da(_0x1f558c(0x2b0));function Ln(_0xa4b886){var _0x44f1aa=_0x1f558c,_0xe2dae2,_0x1b1006,_0x34b2fd,_0x5d802f,_0x40867b;const _0xffac3a=_0xa4b886[_0x44f1aa(0x2f7)],_0x3344cf=JSON[_0x44f1aa(0x234)](_0xffac3a);switch(_0x3344cf[_0x44f1aa(0x301)]){case F[_0x44f1aa(0x2c1)]:case F[_0x44f1aa(0x28b)]:{const _0x5e21b5=_0x3344cf[_0x44f1aa(0x408)];return{..._0x3344cf,'data':_0x5e21b5,'cmd':_0x3344cf[_0x44f1aa(0x301)]};}case F[_0x44f1aa(0x16e)]:{const _0x395e3f=_0x3344cf[_0x44f1aa(0x21d)];return{..._0x3344cf,'data':_0x395e3f,'cmd':_0x3344cf['cmd']};}case F[_0x44f1aa(0x337)]:{const _0x509568=_0x3344cf['collaMsg'];switch(_0x509568[_0x44f1aa(0x20b)]){case _0x238e1f['PERMISSION_REJ']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0xe2dae2=_0x509568[_0x44f1aa(0x3e6)])==null?void 0x0:_0xe2dae2['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x325)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x1b1006=_0x509568[_0x44f1aa(0x192)])==null?void 0x0:_0x1b1006['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['NEW_CHANGESETS']:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x34b2fd=_0x509568[_0x44f1aa(0x233)])==null?void 0x0:_0x34b2fd['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x2ad)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x5d802f=_0x509568['csRejEvent'])==null?void 0x0:_0x5d802f['cs']},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x3dd)]:return{..._0x3344cf,'data':{..._0x509568,'data':(_0x40867b=_0x509568['csShouldRetryEvent'])==null?void 0x0:_0x40867b['cs']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x33d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3aa)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x2d7)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x3d4)]},'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x294)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['leaveEvent']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f['LIVESHARE_NEW_HOST']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x23b)]:case _0x238e1f['LIVESHARE_OPERATION']:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x369)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x3f1)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568['liveShareNewHost']},'cmd':_0x3344cf['cmd']};case _0x238e1f['MSG_FOR_ERROR']:return{..._0x3344cf,'data':_0x509568,'cmd':_0x3344cf['cmd']};case _0x238e1f[_0x44f1aa(0x1ef)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x271)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x1b5)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x2e6)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x190)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x334)]},'cmd':_0x3344cf[_0x44f1aa(0x301)]};case _0x238e1f[_0x44f1aa(0x32d)]:return{..._0x3344cf,'data':{..._0x509568,'data':_0x509568[_0x44f1aa(0x413)]},'cmd':_0x3344cf['cmd']};default:return _0x3344cf;}}default:return _0x3344cf;}}function Mn(_0x4002b7){var _0x2143cd=_0x1f558c;switch(_0x4002b7['cmd']){case F[_0x2143cd(0x2c1)]:case F['HELLO']:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)]});case F['INGEST']:{let _0x13c1f6;switch(_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]){case _0x238e1f[_0x2143cd(0x33d)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x33d)],'updateCursorEvent':_0x4002b7['data']['data']};break;}case _0x238e1f['USERS_LEAVE']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x294)],'leaveEvent':_0x4002b7['data']['data']};break;}case _0x238e1f[_0x2143cd(0x2d7)]:{_0x13c1f6={'eventID':_0x238e1f['USERS_ENTER'],'joinEvent':_0x4002b7['data'][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_NEW_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x25b)],'liveShareNewHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3df)]:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x3df)],'liveShareOperation':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f[_0x2143cd(0x3f1)]:{_0x13c1f6={'eventID':_0x238e1f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4002b7['data']['data']};break;}case _0x238e1f['LIVESHARE_REQUEST_HOST']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x340)],'liveShareRequestHost':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x2f7)]};break;}case _0x238e1f['LIVESHARE_FETCH_OPERATIONS']:{_0x13c1f6={'eventID':_0x238e1f[_0x2143cd(0x23b)]};break;}default:_0x13c1f6={'eventID':_0x4002b7[_0x2143cd(0x2f7)][_0x2143cd(0x20b)]};}return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7[_0x2143cd(0x301)],'routeKey':_0x4002b7[_0x2143cd(0x149)],'collaMsg':_0x13c1f6});}case F['JOIN']:return JSON['stringify']({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7[_0x2143cd(0x149)],'joinReq':_0x4002b7[_0x2143cd(0x2f7)]});case F[_0x2143cd(0x260)]:return JSON[_0x2143cd(0x283)]({'cmd':_0x4002b7['cmd'],'routeKey':_0x4002b7['routeKey'],'leaveReq':_0x4002b7['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var $n=Object[_0x1f558c(0x175)],Hn=Object[_0x1f558c(0x330)],kn=(_0x235802,_0x2a98bd,_0xc4af4b,_0x1b36f1)=>{for(var _0x45654d=_0x1b36f1>0x1?void 0x0:_0x1b36f1?Hn(_0x2a98bd,_0xc4af4b):_0x2a98bd,_0x36b6a8=_0x235802['length']-0x1,_0x32eefd;_0x36b6a8>=0x0;_0x36b6a8--)(_0x32eefd=_0x235802[_0x36b6a8])&&(_0x45654d=(_0x1b36f1?_0x32eefd(_0x2a98bd,_0xc4af4b,_0x45654d):_0x32eefd(_0x45654d))||_0x45654d);return _0x1b36f1&&_0x45654d&&$n(_0x2a98bd,_0xc4af4b,_0x45654d),_0x45654d;},we=(_0x4c9476,_0x12acf1)=>(_0x11982e,_0x5dbd8c)=>_0x12acf1(_0x11982e,_0x5dbd8c,_0x4c9476);const Ii=_0x2235da(_0x1f558c(0x338));function jn(_0x419f42,_0x140a54,_0x22e2a4){var _0x67aab8=_0x1f558c;return _0x419f42+'/'+_0x140a54+_0x67aab8(0x348)+_0x22e2a4+_0x67aab8(0x254);}let Vt=class extends _0xc53c05{constructor(_0xd72b3a,_0x4e8720,_0x1bdf86,_0x24d883,_0x5beb64){var _0x149dc9=_0x1f558c;super(),this[_0x149dc9(0x1b3)]=_0xd72b3a,this[_0x149dc9(0x2d9)]=_0x4e8720,this[_0x149dc9(0x405)]=_0x1bdf86,this[_0x149dc9(0x343)]=_0x24d883,this[_0x149dc9(0x397)]=_0x5beb64;}['_doCreateSocket'](_0x38f03c){var _0x567777=_0x1f558c;const _0x5e5e48=this[_0x567777(0x1b3)][_0x567777(0x1e3)](_0x145494);if(!_0x5e5e48)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x135c1e=_0x5e5e48['createSocket'](_0x38f03c);if(!_0x135c1e)throw new Error(_0x567777(0x3b3));const _0x246a3d=new _0x17a125(),_0x550c2b=new _0x13d4cc();_0x246a3d['add'](_0x135c1e['close$']['subscribe'](_0x40beca=>_0x550c2b['next'](_0x40beca))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x550c2b['complete']()));const _0x3aade4=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e[_0x567777(0x364)][_0x567777(0x3a4)](_0x1c993e=>_0x3aade4[_0x567777(0x140)](_0x1c993e))),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x3aade4[_0x567777(0x345)]()));const _0x1c6783=new _0x13d4cc();_0x246a3d[_0x567777(0x1a0)](_0x135c1e['message$'][_0x567777(0x3a4)](_0x282cba=>{var _0x5da3ef=_0x567777;const _0x273d72=Ln(_0x282cba);_0x1c6783[_0x5da3ef(0x140)](_0x273d72);})),_0x246a3d[_0x567777(0x1a0)](_0xd7d543(()=>_0x1c6783[_0x567777(0x345)]()));let _0x18c1fc;const _0x55969a=()=>{var _0x5c3f46=_0x567777;_0x3aade4[_0x5c3f46(0x140)](new Event('connection\x20error')),_0x550c2b['next'](new Event('connection\x20error')),_0x18c1fc['close']();};return _0x18c1fc={'memberID':'','close$':_0x550c2b['asObservable'](),'error$':_0x3aade4[_0x567777(0x317)](),'open$':_0x135c1e['open$'],'message$':_0x1c6783[_0x567777(0x317)](),'send':_0x1f5465=>{var _0x192331=_0x567777;if(_0x1f5465[_0x192331(0x301)]===F[_0x192331(0x24d)]){if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x328)]){this['_submitChangeset'](_0x18c1fc,_0x1f5465[_0x192331(0x2f7)])[_0x192331(0x16b)](_0x151407=>{var _0x1668d8=_0x192331;this[_0x1668d8(0x343)]['error'](_0x151407),_0x55969a();});return;}if(_0x1f5465[_0x192331(0x2f7)][_0x192331(0x20b)]===_0x238e1f[_0x192331(0x199)]){const _0x518616=_0x1f5465['data'];this['_fetchMissChangesets'](_0x518616)[_0x192331(0x1e4)](_0x5d140e=>{var _0x52e424=_0x192331;_0x1c6783[_0x52e424(0x140)]({'cmd':F[_0x52e424(0x337)],'code':ge['OK'],'routeKey':_0x518616[_0x52e424(0x2f7)][_0x52e424(0x3e0)],'routeType':'','data':{'eventID':_0x238e1f[_0x52e424(0x22b)],'data':{'changesets':_0x5d140e}}});})[_0x192331(0x16b)](_0x29ecfa=>{var _0x5f5153=_0x192331;this[_0x5f5153(0x343)][_0x5f5153(0x145)](_0x29ecfa),_0x55969a();});return;}}_0x135c1e[_0x192331(0x1dc)](Mn(_0x1f5465));},'close':()=>{var _0x34d51d=_0x567777;_0x135c1e[_0x34d51d(0x26e)](),_0x246a3d['dispose']();}},_0x18c1fc;}async[_0x1f558c(0x307)](_0x4219e5,_0x2b07bd){var _0x51b073=_0x1f558c,_0xb83097,_0x117644;const {unitType:_0x113fb5,unitID:_0x38a9b8,changeset:_0x821b57}=_0x2b07bd[_0x51b073(0x2f7)],_0x58245b={'unitID':_0x38a9b8,'memberID':_0x4219e5[_0x51b073(0x239)],'type':_0x113fb5,'changeset':_0x32fcbc(_0x821b57)},_0x49a3c7=this[_0x51b073(0x405)][_0x51b073(0x2a0)](Dn),_0x24e357=this[_0x51b073(0x405)]['getConfig'](q),_0x27f7e8=jn((_0x117644=(_0xb83097=_0x24e357==null?void 0x0:_0x24e357[_0x51b073(0x168)])!=null?_0xb83097:_0x49a3c7)!=null?_0x117644:Pn,_0x113fb5,_0x38a9b8);try{await this[_0x51b073(0x2d9)]['post'](_0x27f7e8,{'body':_0x58245b});}catch(_0x489e0e){throw this[_0x51b073(0x343)][_0x51b073(0x145)](_0x51b073(0x3fa),_0x51b073(0x1e1)),_0x489e0e;}}async[_0x1f558c(0x1f7)](_0xee5f83){var _0x2f0b8c=_0x1f558c;const {unitID:_0x211b83,from:_0xbd8f02,to:_0x194e05,unitType:_0x165495}=_0xee5f83[_0x2f0b8c(0x2f7)];return(await this[_0x2f0b8c(0x397)][_0x2f0b8c(0x24a)]({'metadata':void 0x0},{'unitID':_0x211b83,'type':_0x165495,'from':_0xbd8f02,'to':_0x194e05}))[_0x2f0b8c(0x200)];}};Vt=kn([we(0x0,_0x5b2811(_0x5b79bd)),we(0x1,_0x5b2811(_0x5b9922)),we(0x2,_0x4ea54a),we(0x3,_0x574408),we(0x4,_0x389d38)],Vt);const Bn=_0x1f558c(0x2c4);function Fn(_0x3e912e){var _0x3cd827=_0x1f558c;return JSON[_0x3cd827(0x283)](_0x3e912e)[_0x3cd827(0x158)];}class Ti{constructor(){var _0x1683c9=_0x1f558c;N(this,_0x1683c9(0x32b),new _0x13d4cc()),N(this,_0x1683c9(0x34e),this[_0x1683c9(0x32b)][_0x1683c9(0x317)]());}[_0x1f558c(0x358)](_0x209e4f){var _0x2cd29c=_0x1f558c;this[_0x2cd29c(0x32b)][_0x2cd29c(0x140)](_0x209e4f);}}var Gn=Object[_0x1f558c(0x175)],Vn=Object[_0x1f558c(0x330)],Wn=(_0x12f010,_0x31b9db,_0x354aa7,_0x11a0b8)=>{var _0x262cc1=_0x1f558c;for(var _0x5dc312=_0x11a0b8>0x1?void 0x0:_0x11a0b8?Vn(_0x31b9db,_0x354aa7):_0x31b9db,_0x45826b=_0x12f010[_0x262cc1(0x158)]-0x1,_0x32a036;_0x45826b>=0x0;_0x45826b--)(_0x32a036=_0x12f010[_0x45826b])&&(_0x5dc312=(_0x11a0b8?_0x32a036(_0x31b9db,_0x354aa7,_0x5dc312):_0x32a036(_0x5dc312))||_0x5dc312);return _0x11a0b8&&_0x5dc312&&Gn(_0x31b9db,_0x354aa7,_0x5dc312),_0x5dc312;},Wt=(_0x3fe96c,_0x51d321)=>(_0xdb55a,_0x9f59f2)=>_0x51d321(_0xdb55a,_0x9f59f2,_0x3fe96c);let xe=class extends _0xc53c05{constructor(_0x1cfa0c,_0x13b554){var _0xd54980=_0x1f558c;super(),N(this,_0xd54980(0x3f5),new Map()),N(this,'_roomCreated$',new _0x13d4cc()),(this['_univerInstanceService']=_0x1cfa0c,this['_userManagerService']=_0x13b554,this['disposeWithMe'](_0x404c78(this['_univerInstanceService'][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3d3)])['pipe'](_0xeca816(_0x36c16c=>_0x36c16c[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x143)])['pipe'](_0xeca816(_0x4775d1=>_0x4775d1[_0xd54980(0x253)]())),this[_0xd54980(0x435)][_0xd54980(0x1a1)](_0x3886a9[_0xd54980(0x3e3)])[_0xd54980(0x41e)](_0xeca816(_0x10b2d5=>_0x10b2d5[_0xd54980(0x253)]())))[_0xd54980(0x3a4)](_0x5490eb=>this['_removeRoom'](_0x5490eb))));}[_0x1f558c(0x26c)](_0x17d51c){var _0x42b002=_0x1f558c;return this[_0x42b002(0x3f5)]['has'](_0x17d51c)?_0xb786a0(this[_0x42b002(0x3f5)][_0x42b002(0x1e3)](_0x17d51c)):this[_0x42b002(0x1e5)][_0x42b002(0x41e)](_0xeca816(_0xbebec4=>{var _0x95c450=_0x42b002;if(_0xbebec4===_0x17d51c)return this['_roomMembers'][_0x95c450(0x1e3)](_0xbebec4);}));}[_0x1f558c(0x18e)](_0x373d95){var _0x1d71f0=_0x1f558c;this[_0x1d71f0(0x2f4)][_0x1d71f0(0x18e)](_0x373d95);}[_0x1f558c(0x1d3)](){var _0x1a0ee7=_0x1f558c;return this[_0x1a0ee7(0x2f4)][_0x1a0ee7(0x1d3)]();}[_0x1f558c(0x150)](_0x58a6da,_0x284b26){var _0x56c6e9=_0x1f558c;let _0x1fee26=this[_0x56c6e9(0x3f5)][_0x56c6e9(0x1e3)](_0x58a6da);_0x1fee26||(_0x1fee26=new Kn(),this[_0x56c6e9(0x3f5)][_0x56c6e9(0x319)](_0x58a6da,_0x1fee26),this['_roomCreated$'][_0x56c6e9(0x140)](_0x58a6da)),_0x1fee26[_0x56c6e9(0x150)](_0x284b26);}[_0x1f558c(0x3f2)](_0x3b184b,_0x445156){var _0x4b6fad=_0x1f558c;const _0x420207=this[_0x4b6fad(0x3f5)][_0x4b6fad(0x1e3)](_0x3b184b);_0x420207&&_0x420207[_0x4b6fad(0x3f2)](_0x445156);}[_0x1f558c(0x186)](_0x434d63){var _0x292072=_0x1f558c;return this[_0x292072(0x3f5)][_0x292072(0x1e3)](_0x434d63);}[_0x1f558c(0x347)](_0x3063be,_0x815dc3){var _0x11f214=_0x1f558c;const _0x1abd6a=this['_roomMembers'][_0x11f214(0x1e3)](_0x3063be);if(_0x1abd6a)return _0x1abd6a[_0x11f214(0x347)](_0x815dc3);}['_removeRoom'](_0x1edf98){var _0x150eed=_0x1f558c;const _0x491297=this[_0x150eed(0x3f5)][_0x150eed(0x1e3)](_0x1edf98);_0x491297&&(_0x491297[_0x150eed(0x227)](),this['_roomMembers'][_0x150eed(0x167)](_0x1edf98));}[_0x1f558c(0x227)](){var _0x4eeb21=_0x1f558c;this['_roomMembers'][_0x4eeb21(0x179)](_0x1818e7=>_0x1818e7['dispose']()),this['_roomMembers']['clear'](),this[_0x4eeb21(0x1e5)]['complete']();}};xe=Wn([Wt(0x0,_0x30c3be),Wt(0x1,_0x5b2811(_0x10939a))],xe);class Kn extends _0xc53c05{constructor(){var _0x36e8a3=_0x1f558c;super(...arguments),N(this,_0x36e8a3(0x36b),new Map()),N(this,_0x36e8a3(0x14f),new _0x12b284(this['_members'])),N(this,'members$',this['_members$']['asObservable']());}[_0x1f558c(0x227)](){var _0x3f5dc0=_0x1f558c;this[_0x3f5dc0(0x36b)]['clear']();}[_0x1f558c(0x150)](_0x29edda){var _0x43eff9=_0x1f558c;this[_0x43eff9(0x36b)][_0x43eff9(0x319)](_0x29edda['memberID'],_0x29edda),this[_0x43eff9(0x165)]();}['removeMember'](_0x23fa81){this['_members']['delete'](_0x23fa81);}[_0x1f558c(0x347)](_0x57ec26){var _0x4396fb=_0x1f558c;return this[_0x4396fb(0x36b)][_0x4396fb(0x1e3)](_0x57ec26);}[_0x1f558c(0x423)](){var _0xbcb993=_0x1f558c;return Array[_0xbcb993(0x392)](this[_0xbcb993(0x36b)][_0xbcb993(0x351)]());}['_emitMembers'](){var _0x3373e4=_0x1f558c;this[_0x3373e4(0x14f)][_0x3373e4(0x140)](this[_0x3373e4(0x36b)]);}}var Yn=Object[_0x1f558c(0x175)],qn=Object['getOwnPropertyDescriptor'],zn=(_0x18a1c6,_0x547b3c,_0x410b33,_0x4f681d)=>{for(var _0x52aa11=_0x4f681d>0x1?void 0x0:_0x4f681d?qn(_0x547b3c,_0x410b33):_0x547b3c,_0xd1a9e6=_0x18a1c6['length']-0x1,_0x22e8e4;_0xd1a9e6>=0x0;_0xd1a9e6--)(_0x22e8e4=_0x18a1c6[_0xd1a9e6])&&(_0x52aa11=(_0x4f681d?_0x22e8e4(_0x547b3c,_0x410b33,_0x52aa11):_0x22e8e4(_0x52aa11))||_0x52aa11);return _0x4f681d&&_0x52aa11&&Yn(_0x547b3c,_0x410b33,_0x52aa11),_0x52aa11;},me=(_0x39cba7,_0x51fc2e)=>(_0x47d103,_0x94cf8e)=>_0x51fc2e(_0x47d103,_0x94cf8e,_0x39cba7),Ee=(_0x54e54d=>(_0x54e54d[_0x54e54d[_0x1f558c(0x21a)]=0x0]=_0x1f558c(0x21a),_0x54e54d[_0x54e54d[_0x1f558c(0x279)]=0x1]=_0x1f558c(0x279),_0x54e54d[_0x54e54d[_0x1f558c(0x18f)]=0x2]=_0x1f558c(0x18f),_0x54e54d[_0x54e54d[_0x1f558c(0x262)]=0x3]='ONLINE',_0x54e54d))(Ee||{});const Kt={[ge[_0x1f558c(0x3c8)]]:_0x1f558c(0x142),[ge['JOIN_ROOM_FULL']]:_0x1f558c(0x146),[ge[_0x1f558c(0x16a)]]:'session.room-not-exists',[ge[_0x1f558c(0x39b)]]:'session.room-permission-denied',[ge[_0x1f558c(0x3bb)]]:_0x1f558c(0x3d5)};let Et=class extends _0x1a5dd9{constructor(_0x4ceb77,_0x7ae637,_0x316d79,_0x1d63af,_0x4c52b9,_0x525066,_0x24636f,_0x3f6a41,_0x25ba3d){var _0x3e80db=_0x1f558c;super(),N(this,_0x3e80db(0x277),new _0x12b284(0x0)),N(this,_0x3e80db(0x3ce),this[_0x3e80db(0x277)][_0x3e80db(0x317)]()),N(this,'_event$',new _0x13d4cc()),N(this,'event$',this[_0x3e80db(0x267)][_0x3e80db(0x317)]()),N(this,_0x3e80db(0x20f)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x3e80db(0x25f),!0x1),N(this,_0x3e80db(0x1b6),null),(this['_unitID']=_0x4ceb77,this[_0x3e80db(0x343)]=_0x316d79,this['_configService']=_0x1d63af,this[_0x3e80db(0x2c0)]=_0x4c52b9,this[_0x3e80db(0x35e)]=_0x525066,this[_0x3e80db(0x378)]=_0x24636f,this['_collaborationUIEventService']=_0x3f6a41,this[_0x3e80db(0x353)]=_0x25ba3d,this[_0x3e80db(0x25f)]=!!this[_0x3e80db(0x353)],_0x7ae637[_0x3e80db(0x41e)](_0x29925c(this['dispose$']))[_0x3e80db(0x3a4)](_0x17f35b=>{var _0x61ef42=_0x3e80db,_0x4f3fef;typeof _0x17f35b>'u'||(this[_0x61ef42(0x20f)]=_0x17f35b,_0x17f35b?(this['_joinRoom'](_0x17f35b),this[_0x61ef42(0x228)]=_0x17f35b[_0x61ef42(0x2e5)]['subscribe'](_0x4504d6=>{var _0x1587d5=_0x61ef42;_0x4504d6[_0x1587d5(0x149)]===this[_0x1587d5(0x17f)]&&this[_0x1587d5(0x151)](_0x4504d6);})):(this[_0x61ef42(0x421)](),this[_0x61ef42(0x277)]['next'](0x2),(_0x4f3fef=this[_0x61ef42(0x228)])==null||_0x4f3fef[_0x61ef42(0x207)](),this[_0x61ef42(0x228)]=null));}));}get[_0x1f558c(0x21c)](){var _0x16ccf2=_0x1f558c;return this[_0x16ccf2(0x277)][_0x16ccf2(0x213)]();}[_0x1f558c(0x22d)](){var _0x19d2f2=_0x1f558c,_0x5a2253,_0x3c2ba2;return(_0x3c2ba2=(_0x5a2253=this[_0x19d2f2(0x20f)])==null?void 0x0:_0x5a2253[_0x19d2f2(0x239)])!=null?_0x3c2ba2:null;}[_0x1f558c(0x227)](){var _0xfdb7d8=_0x1f558c;super[_0xfdb7d8(0x227)](),this[_0xfdb7d8(0x270)][_0xfdb7d8(0x140)](),this[_0xfdb7d8(0x270)]['complete']();}[_0x1f558c(0x26e)](){var _0x2e2b41=_0x1f558c,_0x22a145,_0x234a62;this[_0x2e2b41(0x421)](),(_0x22a145=this['_socket'])==null||_0x22a145[_0x2e2b41(0x1dc)]({'cmd':F[_0x2e2b41(0x260)],'data':{'roomID':this['_unitID']}}),(_0x234a62=this['_socket'])==null||_0x234a62[_0x2e2b41(0x26e)](),this[_0x2e2b41(0x267)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x277)][_0x2e2b41(0x345)](),this[_0x2e2b41(0x227)]();}[_0x1f558c(0x151)](_0x3a879e){var _0x5b6cd4=_0x1f558c;_0x3a879e[_0x5b6cd4(0x301)]===F['JOIN']?this[_0x5b6cd4(0x344)](_0x3a879e):_0x3a879e[_0x5b6cd4(0x301)]===F[_0x5b6cd4(0x337)]&&this['_onRecvEvent'](_0x3a879e);}[_0x1f558c(0x375)](_0x4882cc){var _0x21d69b=_0x1f558c;this[_0x21d69b(0x277)]['next'](0x1),_0x4882cc[_0x21d69b(0x1dc)]({'cmd':F[_0x21d69b(0x16e)],'routeKey':this[_0x21d69b(0x17f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21d69b(0x17f)]}]}});}[_0x1f558c(0x344)](_0x3d91c7){var _0x213f35=_0x1f558c,_0xd248c3;if(_0x3d91c7['code']in Kt){this[_0x213f35(0x323)][_0x213f35(0x2ec)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x3d91c7[_0x213f35(0x3e7)]]}),this['_sessionStatus$'][_0x213f35(0x140)](0x2);return;}this[_0x213f35(0x277)][_0x213f35(0x140)](0x3);const _0x244bdb=(_0xd248c3=_0x3d91c7[_0x213f35(0x2f7)][_0x213f35(0x27e)][this[_0x213f35(0x17f)]])==null?void 0x0:_0xd248c3[_0x213f35(0x16d)];_0x244bdb&&_0x244bdb[_0x213f35(0x179)](_0x4fe3f3=>this[_0x213f35(0x35e)][_0x213f35(0x150)](this[_0x213f35(0x17f)],_0x4fe3f3));}['_onRecvEvent'](_0x13c9b7){var _0x1f02dc=_0x1f558c;try{const _0x2bd35b=_0x13c9b7[_0x1f02dc(0x2f7)];switch(_0x2bd35b['eventID']){case _0x238e1f[_0x1f02dc(0x2d7)]:this[_0x1f02dc(0x1e2)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f['USERS_LEAVE']:this[_0x1f02dc(0x365)](_0x2bd35b),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x325)]:case _0x238e1f[_0x1f02dc(0x3dd)]:this[_0x1f02dc(0x1f9)](),this[_0x1f02dc(0x16f)](),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x219)]:this['_logService'][_0x1f02dc(0x145)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1f02dc(0x283)](_0x2bd35b)),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;case _0x238e1f[_0x1f02dc(0x1ef)]:this['_commentService'][_0x1f02dc(0x358)](_0x2bd35b['data']),this[_0x1f02dc(0x267)][_0x1f02dc(0x140)](_0x2bd35b);break;default:this[_0x1f02dc(0x267)]['next'](_0x2bd35b);}}catch(_0x8a7db5){this[_0x1f02dc(0x343)][_0x1f02dc(0x145)](_0x8a7db5,_0x13c9b7);}}[_0x1f558c(0x1e2)](_0x108f30){var _0x1277de=_0x1f558c;this[_0x1277de(0x35e)][_0x1277de(0x150)](this[_0x1277de(0x17f)],_0x108f30['data']);}[_0x1f558c(0x365)](_0x17b474){var _0x42a98d=_0x1f558c;this['_memberService']['removeMember'](this['_unitID'],_0x17b474[_0x42a98d(0x2f7)]['memberID']);}async['send'](_0x542404,_0x3306ce){var _0xca3e07=_0x1f558c;if(this[_0xca3e07(0x21c)]!==0x3||!this[_0xca3e07(0x20f)])throw new Error(_0xca3e07(0x2ee));try{_0x542404['eventID']===_0x238e1f[_0xca3e07(0x328)]&&(this[_0xca3e07(0x1f5)](),this[_0xca3e07(0x2b8)](_0x542404)),this[_0xca3e07(0x20f)][_0xca3e07(0x1dc)]({'cmd':F[_0xca3e07(0x24d)],'routeKey':_0x3306ce,'routeType':'','data':_0x542404});}catch(_0x566503){this['_logService'][_0xca3e07(0x145)](_0x566503);}}[_0x1f558c(0x1f5)](){var _0x36bddc=_0x1f558c,_0x2bb276;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x233f2c=_0x4725;this[_0x233f2c(0x3ca)]=null,this[_0x233f2c(0x323)][_0x233f2c(0x2ec)]({'id':se[_0x233f2c(0x27f)]});},(_0x2bb276=this[_0x36bddc(0x405)]['getConfig'](mi))!=null?_0x2bb276:gi);}[_0x1f558c(0x16f)](){var _0x50cb43=_0x1f558c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x50cb43(0x3ca)]),this[_0x50cb43(0x3ca)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2f50c3){var _0x3ea196=_0x1f558c;if(!this[_0x3ea196(0x25f)])return;const {data:_0x574835}=_0x2f50c3,{unitID:_0x23a9bd,changeset:_0x3d1c8f}=_0x574835,{mutations:_0x45c335,type:_0x20572c}=_0x3d1c8f;this[_0x3ea196(0x1b6)]={'unitId':_0x23a9bd,'type':_0x20572c,'startTime':performance[_0x3ea196(0x434)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x45c335)};}[_0x1f558c(0x1f9)](){var _0x392caa=_0x1f558c;if(this[_0x392caa(0x25f)]){if(!this[_0x392caa(0x1b6)]){this['_logService'][_0x392caa(0x145)](_0x392caa(0x3fa),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x392caa(0x1b6)][_0x392caa(0x220)]=performance[_0x392caa(0x434)](),this[_0x392caa(0x1b6)][_0x392caa(0x2dd)]=this[_0x392caa(0x1b6)][_0x392caa(0x220)]-this[_0x392caa(0x1b6)]['startTime'],this[_0x392caa(0x353)][_0x392caa(0x2fa)](Bn,this[_0x392caa(0x1b6)]),this[_0x392caa(0x1b6)]=null;}}[_0x1f558c(0x421)](){var _0x3497ef=_0x1f558c;this[_0x3497ef(0x1b6)]=null;}};Et=zn([me(0x2,_0x574408),me(0x3,_0x4ea54a),me(0x4,_0x5b2811(_0x426c5e)),me(0x5,_0x5b2811(xe)),me(0x6,_0x5b2811(Ti)),me(0x7,_0x5b2811(pe)),me(0x8,_0x40673b(_0x12c52a))],Et);var Jn=Object[_0x1f558c(0x175)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2cde4a,_0x38525b,_0x5b30cd,_0x387990)=>{var _0x67eaa4=_0x1f558c;for(var _0x1a4091=_0x387990>0x1?void 0x0:_0x387990?Xn(_0x38525b,_0x5b30cd):_0x38525b,_0x5c183d=_0x2cde4a[_0x67eaa4(0x158)]-0x1,_0x4e42f3;_0x5c183d>=0x0;_0x5c183d--)(_0x4e42f3=_0x2cde4a[_0x5c183d])&&(_0x1a4091=(_0x387990?_0x4e42f3(_0x38525b,_0x5b30cd,_0x1a4091):_0x4e42f3(_0x1a4091))||_0x1a4091);return _0x387990&&_0x1a4091&&Jn(_0x38525b,_0x5b30cd,_0x1a4091),_0x1a4091;},Re=(_0x3e4a36,_0x326405)=>(_0x4be005,_0xcbe9e3)=>_0x326405(_0x4be005,_0xcbe9e3,_0x3e4a36);let Le=class extends _0xc53c05{constructor(_0x4909e5,_0x4d1876,_0x29d265,_0x2ecbdd,_0x5819aa,_0x54064d){var _0x29b8de=_0x1f558c;super(),N(this,'_socket$',new _0x12b284(void 0x0)),N(this,_0x29b8de(0x3ad),this[_0x29b8de(0x280)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x31c),null),N(this,_0x29b8de(0x193),new Map()),N(this,'_status$',new _0x12b284(Ee[_0x29b8de(0x21a)])),N(this,_0x29b8de(0x2b3),this[_0x29b8de(0x282)][_0x29b8de(0x317)]()),N(this,_0x29b8de(0x2a8),!0x1),N(this,_0x29b8de(0x37e)),N(this,_0x29b8de(0x2e4),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x29b8de(0x384)),(this[_0x29b8de(0x1b3)]=_0x4909e5,this['_logService']=_0x4d1876,this['_configService']=_0x29d265,this[_0x29b8de(0x21f)]=_0x2ecbdd,this[_0x29b8de(0x323)]=_0x5819aa,this[_0x29b8de(0x2bf)]=_0x54064d,this[_0x29b8de(0x293)]());}get['_socket'](){var _0x2b7d85=_0x1f558c;return this[_0x2b7d85(0x280)][_0x2b7d85(0x213)]();}[_0x1f558c(0x293)](){var _0x41643f=_0x1f558c;this[_0x41643f(0x2bf)]&&this[_0x41643f(0x2d6)](this[_0x41643f(0x2bf)][_0x41643f(0x278)][_0x41643f(0x3a4)](_0x5dfb2b=>{var _0x2df9bf=_0x41643f;_0x5dfb2b&&!this[_0x2df9bf(0x20f)]&&this[_0x2df9bf(0x341)](),_0x5dfb2b||this[_0x2df9bf(0x3b9)]();}));}[_0x1f558c(0x227)](){var _0x8fc108=_0x1f558c;super[_0x8fc108(0x227)](),this[_0x8fc108(0x193)][_0x8fc108(0x179)](_0x3270d8=>_0x3270d8['dispose']()),this[_0x8fc108(0x193)]['clear'](),this[_0x8fc108(0x282)][_0x8fc108(0x345)]();}async[_0x1f558c(0x1a7)](_0x32b9ac){var _0x2b6679=_0x1f558c;if(this[_0x2b6679(0x193)]['has'](_0x32b9ac))return this[_0x2b6679(0x193)][_0x2b6679(0x1e3)](_0x32b9ac);this['_tryEnsureSocket']();const _0x3e78fa=this[_0x2b6679(0x1b3)][_0x2b6679(0x38e)](Et,_0x32b9ac,this[_0x2b6679(0x280)]['asObservable']());return this[_0x2b6679(0x193)][_0x2b6679(0x319)](_0x32b9ac,_0x3e78fa),_0x3e78fa;}[_0x1f558c(0x1a8)](_0xdfe921){var _0x1be5cb=_0x1f558c,_0x199a55;const _0xb7095c=this[_0x1be5cb(0x193)]['get'](_0xdfe921);_0xb7095c&&(this[_0x1be5cb(0x193)][_0x1be5cb(0x167)](_0xdfe921),_0xb7095c[_0x1be5cb(0x26e)]()),this[_0x1be5cb(0x193)][_0x1be5cb(0x191)]||(_0x199a55=this[_0x1be5cb(0x20f)])==null||_0x199a55['close']();}[_0x1f558c(0x341)](){var _0x2ae992=_0x1f558c;this[_0x2ae992(0x2e4)]=0x0,this[_0x2ae992(0x37e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2ae992(0x37e)]=null),this[_0x2ae992(0x412)]();}async[_0x1f558c(0x374)](){var _0x268edf=_0x1f558c,_0x18dcc2,_0x52c8f0;const _0x419a32=this['_configService']['getConfig'](Tn),_0x5afb09=this['_configService'][_0x268edf(0x2a0)](q),_0x4df2e7=(_0x52c8f0=(_0x18dcc2=_0x5afb09==null?void 0x0:_0x5afb09[_0x268edf(0x394)])!=null?_0x18dcc2:_0x419a32)!=null?_0x52c8f0:Cn,_0x180a67=await this['_socketService'][_0x268edf(0x402)](_0x4df2e7);return this[_0x268edf(0x31c)]=_0x180a67,_0x180a67;}async[_0x1f558c(0x3c1)](){var _0xaf17cd=_0x1f558c,_0x49e9b0,_0x348e85;try{const _0x111469=(_0x348e85=(_0x49e9b0=this[_0xaf17cd(0x20f)])!=null?_0x49e9b0:this[_0xaf17cd(0x31c)])!=null?_0x348e85:await this[_0xaf17cd(0x374)]();if(_0x111469){const _0x54c503=_0x111469['send'];_0x111469['send']=_0x4bd971=>(this[_0xaf17cd(0x357)](),_0x54c503[_0xaf17cd(0x1fa)](_0x111469,[_0x4bd971])),_0x111469['message$'][_0xaf17cd(0x3a4)](_0x3d7c48=>this[_0xaf17cd(0x224)](_0x111469,_0x3d7c48)),_0x111469[_0xaf17cd(0x364)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](_0x3ba3ce=>this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0xaf17cd(0x23c),_0x3ba3ce)),_0x111469[_0xaf17cd(0x333)][_0xaf17cd(0x41e)](_0x56ed41(0x1))['subscribe'](()=>{var _0x2cd8e0=_0xaf17cd;this[_0x2cd8e0(0x3c2)](_0x111469);}),_0x111469['close$'][_0xaf17cd(0x41e)](_0x56ed41(0x1))[_0xaf17cd(0x3a4)](_0x522241=>{var _0x4782ba=_0xaf17cd;this[_0x4782ba(0x343)][_0x4782ba(0x2e3)]('[CollaborationSessionService]',_0x4782ba(0x2d2),_0x522241),this['_onConnectionFailed']();});}}catch(_0x164463){this[_0xaf17cd(0x343)][_0xaf17cd(0x145)](_0x164463),this[_0xaf17cd(0x38d)]();}}[_0x1f558c(0x3c2)](_0x2b07ae){var _0x1b06c4=_0x1f558c;this['_logService']['debug'](_0x1b06c4(0x3be),_0x1b06c4(0x1b4)),_0x2b07ae[_0x1b06c4(0x1dc)]({'cmd':F['HELLO']}),this[_0x1b06c4(0x357)]();}[_0x1f558c(0x3b9)](){var _0x12838a=_0x1f558c;this[_0x12838a(0x2a8)]=!0x1,this[_0x12838a(0x31c)]=null,this[_0x12838a(0x282)]['next'](Ee[_0x12838a(0x18f)]),this[_0x12838a(0x280)]['next'](null),this['_clearTimeoutTimer'](),this[_0x12838a(0x196)]();}[_0x1f558c(0x38d)](){var _0x51b5bf=_0x1f558c,_0x2b6f94;this['_onOffline'](),this[_0x51b5bf(0x2e4)]<((_0x2b6f94=this['_configService'][_0x51b5bf(0x2a0)](yn))!=null?_0x2b6f94:Nn)?(this['_collaborationUIEventService'][_0x51b5bf(0x2ec)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x51b5bf(0x412)]()):this[_0x51b5bf(0x323)]['emitEvent']({'id':se[_0x51b5bf(0x415)]});}[_0x1f558c(0x412)](){var _0x406dfb=_0x1f558c,_0x4fbfcc;const _0x138fef=this[_0x406dfb(0x2e4)],_0x44b7f9=this['_configService'][_0x406dfb(0x2a0)](q),_0x3b186a=_0x138fef===0x0?0x0:((_0x4fbfcc=_0x44b7f9==null?void 0x0:_0x44b7f9[_0x406dfb(0x40a)])!=null?_0x4fbfcc:On)*0x2**_0x138fef;this[_0x406dfb(0x37e)]=setTimeout(()=>{var _0x2c7ed8=_0x406dfb;clearTimeout(this[_0x2c7ed8(0x37e)]),this[_0x2c7ed8(0x37e)]=null,this['_tryEnsureSocket']();},_0x3b186a),this[_0x406dfb(0x2e4)]+=0x1;}[_0x1f558c(0x224)](_0x260b1b,_0x4f3855){var _0x3b6ca8=_0x1f558c;const {cmd:_0x5005a0}=_0x4f3855;_0x5005a0===F[_0x3b6ca8(0x28b)]&&!this[_0x3b6ca8(0x2a8)]&&(_0x260b1b[_0x3b6ca8(0x239)]=_0x4f3855[_0x3b6ca8(0x2f7)][_0x3b6ca8(0x239)],this['_socket$'][_0x3b6ca8(0x140)](_0x260b1b),this[_0x3b6ca8(0x282)][_0x3b6ca8(0x140)](Ee[_0x3b6ca8(0x262)]),this[_0x3b6ca8(0x2a8)]=!0x0,this[_0x3b6ca8(0x31c)]=null),_0x5005a0===F[_0x3b6ca8(0x2c1)]&&this[_0x3b6ca8(0x137)](),this[_0x3b6ca8(0x357)]();}[_0x1f558c(0x357)](){var _0x4dabe1=_0x1f558c,_0x4d8510;this['_clearHeartbeatTimer'](),this[_0x4dabe1(0x144)]=setTimeout(()=>this[_0x4dabe1(0x155)](),(_0x4d8510=this[_0x4dabe1(0x405)][_0x4dabe1(0x2a0)](bn))!=null?_0x4d8510:Rn);}['_sendHeartbeat'](){var _0x40cbda=_0x1f558c;this[_0x40cbda(0x20f)]['send']({'cmd':F[_0x40cbda(0x2c1)]}),this[_0x40cbda(0x29f)]();}[_0x1f558c(0x29f)](){var _0x25368a=_0x1f558c,_0x3e270b;this[_0x25368a(0x384)]=setTimeout(()=>this[_0x25368a(0x38d)](),(_0x3e270b=this[_0x25368a(0x405)]['getConfig'](mi))!=null?_0x3e270b:gi);}[_0x1f558c(0x196)](){var _0x586cd4=_0x1f558c;this[_0x586cd4(0x144)]!=null&&(clearTimeout(this[_0x586cd4(0x144)]),this['_sendHeartbeatTimer']=null);}[_0x1f558c(0x137)](){var _0x1f64a9=_0x1f558c;this[_0x1f64a9(0x384)]!=null&&(clearTimeout(this[_0x1f64a9(0x384)]),this[_0x1f64a9(0x384)]=null);}};Le=Zn([Re(0x0,_0x5b2811(_0x5b79bd)),Re(0x1,_0x574408),Re(0x2,_0x4ea54a),Re(0x3,Ii),Re(0x4,_0x5b2811(pe)),Re(0x5,_0x40673b(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1f558c(0x1eb)]((n+0x100)[_0x1f558c(0x28c)](0x10)[_0x1f558c(0x2db)](0x1));function Qn(_0x47655d,_0x4ad0a8=0x0){var _0xe12053=_0x1f558c;return(G[_0x47655d[_0x4ad0a8+0x0]]+G[_0x47655d[_0x4ad0a8+0x1]]+G[_0x47655d[_0x4ad0a8+0x2]]+G[_0x47655d[_0x4ad0a8+0x3]]+'-'+G[_0x47655d[_0x4ad0a8+0x4]]+G[_0x47655d[_0x4ad0a8+0x5]]+'-'+G[_0x47655d[_0x4ad0a8+0x6]]+G[_0x47655d[_0x4ad0a8+0x7]]+'-'+G[_0x47655d[_0x4ad0a8+0x8]]+G[_0x47655d[_0x4ad0a8+0x9]]+'-'+G[_0x47655d[_0x4ad0a8+0xa]]+G[_0x47655d[_0x4ad0a8+0xb]]+G[_0x47655d[_0x4ad0a8+0xc]]+G[_0x47655d[_0x4ad0a8+0xd]]+G[_0x47655d[_0x4ad0a8+0xe]]+G[_0x47655d[_0x4ad0a8+0xf]])[_0xe12053(0x3e1)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x1cff23=_0x1f558c;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x1cff23(0x22c));ut=crypto[_0x1cff23(0x3ac)][_0x1cff23(0x26a)](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto[_0x1f558c(0x359)]&&crypto[_0x1f558c(0x359)][_0x1f558c(0x26a)](crypto),Yt={'randomUUID':ir};function nr(_0x5227d2,_0xedf57b,_0x368519){var _0x17fcc9=_0x1f558c,_0x4556ae,_0x544d1e,_0x2ae93a;if(Yt[_0x17fcc9(0x359)]&&!_0x5227d2)return Yt['randomUUID']();_0x5227d2=_0x5227d2||{};const _0x518588=(_0x2ae93a=(_0x544d1e=_0x5227d2['random'])!=null?_0x544d1e:(_0x4556ae=_0x5227d2[_0x17fcc9(0x40b)])==null?void 0x0:_0x4556ae[_0x17fcc9(0x178)](_0x5227d2))!=null?_0x2ae93a:tr();if(_0x518588['length']<0x10)throw new Error(_0x17fcc9(0x1b9));return _0x518588[0x6]=_0x518588[0x6]&0xf|0x40,_0x518588[0x8]=_0x518588[0x8]&0x3f|0x80,Qn(_0x518588);}const J=_0x2235da('collaboration-client.local-cache-service');function ro(_0x4319e5){var _0x2724b1=_0x1f558c;return _0x2724b1(0x41f)+_0x4319e5;}var rr=Object[_0x1f558c(0x175)],sr=Object[_0x1f558c(0x330)],or=(_0x12e0da,_0x1dcd99,_0x2f808f,_0x3f94a4)=>{var _0x1ba802=_0x1f558c;for(var _0x3cf979=_0x3f94a4>0x1?void 0x0:_0x3f94a4?sr(_0x1dcd99,_0x2f808f):_0x1dcd99,_0x389888=_0x12e0da[_0x1ba802(0x158)]-0x1,_0x992f8e;_0x389888>=0x0;_0x389888--)(_0x992f8e=_0x12e0da[_0x389888])&&(_0x3cf979=(_0x3f94a4?_0x992f8e(_0x1dcd99,_0x2f808f,_0x3cf979):_0x992f8e(_0x3cf979))||_0x3cf979);return _0x3f94a4&&_0x3cf979&&rr(_0x1dcd99,_0x2f808f,_0x3cf979),_0x3cf979;},dt=(_0x2ada44,_0x4ebf39)=>(_0x53d822,_0x58c280)=>_0x4ebf39(_0x53d822,_0x58c280,_0x2ada44);function ar(_0x361cb8){var _0x40c645=_0x1f558c;const {unitID:_0x3af491,mutations:_0x19c130}=_0x361cb8;return{'unitId':_0x3af491,'subUnitId':_0x19c130[0x0][_0x40c645(0x3b2)][_0x40c645(0x209)]};}let it=class{constructor(_0x38166a,_0x55e3e9,_0x526b9f){var _0x287b1=_0x1f558c;this[_0x287b1(0x1b3)]=_0x38166a,this[_0x287b1(0x38a)]=_0x55e3e9,this[_0x287b1(0x1c7)]=_0x526b9f;}[_0x1f558c(0x188)](_0x1fbff3){var _0x342568=_0x1f558c,_0x539e68,_0x27f3a3,_0xe12a08,_0x4ad9e4;const _0x144b4d=this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x5c4be3),{unitId:_0x265cf5,subUnitId:_0x5eb5dc}=ar(_0x1fbff3),_0x28f63d=_0x144b4d==null?void 0x0:_0x144b4d[_0x342568(0x39a)](_0x265cf5)[_0x342568(0x3b4)](),_0x5b00b1=(_0x27f3a3=(_0x539e68=this[_0x342568(0x1c7)]['getUnit'](_0x265cf5))==null?void 0x0:_0x539e68['getActiveSheet']())==null?void 0x0:_0x27f3a3[_0x342568(0x266)]();if(_0x28f63d[_0x342568(0x158)]===0x0||!_0x265cf5||!_0x5eb5dc)return;const _0x53ce09=[{'id':_0xebdb79['id'],'params':{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x2d4a2c[_0x342568(0x1ff)](_0x28f63d)}}],_0x2d49bb=this['_transformService'][_0x342568(0x3e5)](_0x1fbff3,_0x53ce09);if(!_0x1a87e5(_0x2d49bb))throw _0x2d49bb[_0x342568(0x145)];const _0x405aa8=(_0x4ad9e4=(_0xe12a08=_0x2d49bb[_0x342568(0x141)][0x0])==null?void 0x0:_0xe12a08[_0x342568(0x3b2)])==null?void 0x0:_0x4ad9e4[_0x342568(0x25d)];if(Array[_0x342568(0x1bc)](_0x405aa8)&&_0x405aa8[_0x342568(0x158)]){if(_0x405aa8[_0x342568(0x158)]===_0x53ce09[0x0][_0x342568(0x3b2)]['selections'][_0x342568(0x158)]&&_0x405aa8[_0x342568(0x336)]((_0x490e2e,_0x43aef7)=>_0x568d0c[_0x342568(0x290)](_0x490e2e[_0x342568(0x201)],_0x53ce09[0x0][_0x342568(0x3b2)][_0x342568(0x25d)][_0x43aef7][_0x342568(0x201)])))return;this[_0x342568(0x1b3)][_0x342568(0x1e3)](_0x456150)[_0x342568(0x3bc)](_0xebdb79['id'],{'unitId':_0x265cf5,'subUnitId':_0x5b00b1,'selections':_0x405aa8});}}};it=or([dt(0x0,_0x5b2811(_0x5b79bd)),dt(0x1,_0x45b9e1),dt(0x2,_0x30c3be)],it);const ht=_0x2235da('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x3c78b4=>(_0x3c78b4[_0x3c78b4[_0x1f558c(0x1ec)]=0x0]=_0x1f558c(0x1ec),_0x3c78b4[_0x3c78b4[_0x1f558c(0x417)]=0x1]=_0x1f558c(0x417),_0x3c78b4))(Ci||{});const cr=new Set([_0x21cc23['id']]);function qt(_0x3dc594,_0x36d991,_0x25fa26,_0x389b6f,_0x3de245){var _0x1d1938=_0x1f558c,_0xc92dfe,_0x4f6f79,_0x27d98b,_0x29406d;const _0x25c101=[];for(const _0x453e45 of _0x3dc594)if(cr[_0x1d1938(0x163)](_0x453e45['id'])){if(_0x25c101['length']>0x0)break;_0x25c101['push'](_0x453e45);break;}else _0x25c101[_0x1d1938(0x1eb)](_0x453e45);const _0x4b8518=(_0x4f6f79=(_0xc92dfe=_0x3de245['getCurrentUser']())==null?void 0x0:_0xc92dfe[_0x1d1938(0x20d)])!=null?_0x4f6f79:_0x1d1938(0x19e),_0x282913=(_0x29406d=(_0x27d98b=_0x3de245[_0x1d1938(0x1d3)]())==null?void 0x0:_0x27d98b[_0x1d1938(0x239)])!=null?_0x29406d:_0x1d1938(0x19e);return{'changeset':{'unitID':_0x36d991,'type':_0x46690e(_0x25fa26['getUnitType'](_0x36d991)),'baseRev':_0x389b6f[_0x1d1938(0x372)](_0x36d991),'revision':0x0,'userID':_0x4b8518,'memberID':_0x282913,'mutations':_0x25c101},'pendingMutations':_0x3dc594['slice'](_0x25c101[_0x1d1938(0x158)])};}function hr(_0x5d2448,_0x51bcd1,_0x196045,_0x2aa3af,_0x5e8085){var _0x105071=_0x1f558c,_0x13bbe2,_0x4afe82,_0x23da82,_0x16b000;const _0x4abc17=[_0x5d2448['reduce']((_0x3d00d9,_0x3f797c)=>{var _0x1a3b36=_0x4725,_0x524d8e;const {id:_0x4dbecd}=_0x3d00d9,{id:_0x3f2dba,type:_0x52b151}=_0x3f797c,_0xf0b26f=(_0x524d8e=_0x3d00d9[_0x1a3b36(0x3b2)])!=null?_0x524d8e:{'actions':null},_0x5cc5cb=_0x3f797c[_0x1a3b36(0x3b2)];if(_0x4dbecd&&_0x4dbecd!==_0x3f2dba)throw new Error(_0x1a3b36(0x25c)+_0x4dbecd+'\x20-\x20'+_0x3f2dba+'.');return{..._0x3d00d9,'id':_0x3f2dba,'type':_0x52b151,'params':{'unitId':_0x5cc5cb[_0x1a3b36(0x33e)],'textRanges':_0x5cc5cb[_0x1a3b36(0x2bb)],'actions':_0x431a9e[_0x1a3b36(0x3a3)](_0xf0b26f['actions'],_0x5cc5cb[_0x1a3b36(0x2f8)])}};},{})],_0x3857ee=(_0x4afe82=(_0x13bbe2=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x13bbe2[_0x105071(0x20d)])!=null?_0x4afe82:_0x105071(0x19e),_0x10bbf8=(_0x16b000=(_0x23da82=_0x5e8085['getCurrentUser']())==null?void 0x0:_0x23da82[_0x105071(0x239)])!=null?_0x16b000:_0x105071(0x19e);return{'changeset':{'unitID':_0x51bcd1,'type':_0x46690e(_0x196045[_0x105071(0x3a7)](_0x51bcd1)),'baseRev':_0x2aa3af[_0x105071(0x372)](_0x51bcd1),'revision':0x0,'userID':_0x3857ee,'memberID':_0x10bbf8,'mutations':_0x4abc17},'pendingMutations':[]};}function bi(_0x371682,_0x12a4ca){var _0x5f0085=_0x1f558c;const _0x2085e4=new _0x40f8ad(0x1);return setTimeout(()=>_0x2085e4[_0x5f0085(0x140)](_0x12a4ca),_0x371682),_0x2085e4[_0x5f0085(0x317)]()[_0x5f0085(0x41e)](_0x3669e7(0x1));}const _r={'id':_0x23cce6['id'],'type':_0x2402fa[_0x1f558c(0x173)],'params':{}};var lr=Object['defineProperty'],ur=Object[_0x1f558c(0x330)],Te=(_0xd3c184,_0x3fad35,_0x46beab,_0x50cfc0)=>{var _0x45f987=_0x1f558c;for(var _0x1fea66=_0x50cfc0>0x1?void 0x0:_0x50cfc0?ur(_0x3fad35,_0x46beab):_0x3fad35,_0x406510=_0xd3c184[_0x45f987(0x158)]-0x1,_0x1cbdc0;_0x406510>=0x0;_0x406510--)(_0x1cbdc0=_0xd3c184[_0x406510])&&(_0x1fea66=(_0x50cfc0?_0x1cbdc0(_0x3fad35,_0x46beab,_0x1fea66):_0x1cbdc0(_0x1fea66))||_0x1fea66);return _0x50cfc0&&_0x1fea66&&lr(_0x3fad35,_0x46beab,_0x1fea66),_0x1fea66;},A=(_0x2e0ae7,_0x43d612)=>(_0xecc431,_0x22f50b)=>_0x43d612(_0xecc431,_0x22f50b,_0x2e0ae7),Ri=(_0x2e7dc7=>(_0x2e7dc7[_0x1f558c(0x2df)]=_0x1f558c(0x3b5),_0x2e7dc7[_0x1f558c(0x29d)]=_0x1f558c(0x1f0),_0x2e7dc7[_0x1f558c(0x14d)]=_0x1f558c(0x275),_0x2e7dc7['AWAITING']='awaiting',_0x2e7dc7[_0x1f558c(0x182)]=_0x1f558c(0x39d),_0x2e7dc7[_0x1f558c(0x36c)]=_0x1f558c(0x335),_0x2e7dc7[_0x1f558c(0x2c7)]='conflict',_0x2e7dc7[_0x1f558c(0x18f)]='offline',_0x2e7dc7))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x161623,_0x4a5b2e,_0x27738c,_0x246bba,_0x594e43,_0x531f2a,_0x4b6519,_0x191dce,_0x1d2299){var _0x4fdbb6=_0x1f558c;N(this,_0x4fdbb6(0x3f4),null),N(this,_0x4fdbb6(0x2d0),[]),(this[_0x4fdbb6(0x3e0)]=_0x161623,this[_0x4fdbb6(0x15f)]=_0x4a5b2e,this['_handler']=_0x594e43,this['_commandService']=_0x531f2a,this[_0x4fdbb6(0x214)]=_0x4b6519,this[_0x4fdbb6(0x164)]=_0x191dce,this[_0x4fdbb6(0x28f)]=_0x1d2299,this[_0x4fdbb6(0x3f4)]=_0x27738c,this[_0x4fdbb6(0x2d0)]=_0x246bba);}[_0x1f558c(0x2de)](_0x244a31){var _0x31288e=_0x1f558c;const _0x4be15c=this['_revisionService'][_0x31288e(0x372)](this[_0x31288e(0x3e0)]);return _0x244a31[_0x31288e(0x2f9)]>_0x4be15c+0x1?(this[_0x31288e(0x389)][_0x31288e(0x35c)]({'from':_0x4be15c,'to':_0x244a31[_0x31288e(0x2f9)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5b576d){var _0x3775e3=_0x1f558c;this[_0x3775e3(0x214)][_0x3775e3(0x34c)](this[_0x3775e3(0x3e0)],_0x5b576d);}[_0x1f558c(0x27d)](_0x595cf0){var _0x4fdb2c=_0x1f558c,_0x565d5e,_0x2657ce;(_0x2657ce=(_0x565d5e=this[_0x4fdb2c(0x389)])[_0x4fdb2c(0x414)])==null||_0x2657ce[_0x4fdb2c(0x178)](_0x565d5e,_0x595cf0);}[_0x1f558c(0x3d7)](_0x2c54b9){var _0x193d34=_0x1f558c,_0x112cc0,_0x12e19e;return(_0x12e19e=(_0x112cc0=this[_0x193d34(0x389)])[_0x193d34(0x2be)])==null?void 0x0:_0x12e19e[_0x193d34(0x178)](_0x112cc0,_0x2c54b9);}[_0x1f558c(0x404)](_0x14b953){var _0x1ff1e7=_0x1f558c,_0x35cad2,_0x341632;return(_0x341632=(_0x35cad2=this['_handler'])[_0x1ff1e7(0x360)])==null?void 0x0:_0x341632[_0x1ff1e7(0x178)](_0x35cad2,_0x14b953);}['_transformRemoteChangesetByIMECache'](_0x272492){var _0x3bfdf4=_0x1f558c,_0x14c987,_0x2cf596,_0x1d1d31;return(_0x1d1d31=(_0x2cf596=(_0x14c987=this['_handler'])[_0x3bfdf4(0x2f6)])==null?void 0x0:_0x2cf596[_0x3bfdf4(0x178)](_0x14c987,_0x272492))!=null?_0x1d1d31:_0x272492;}[_0x1f558c(0x324)](_0x3dd8e9){var _0x30ca69=_0x1f558c,_0x3cf5df,_0x1fac5a,_0x3b0bd3;return(_0x3b0bd3=(_0x1fac5a=(_0x3cf5df=this[_0x30ca69(0x389)])[_0x30ca69(0x437)])==null?void 0x0:_0x1fac5a[_0x30ca69(0x178)](_0x3cf5df,_0x3dd8e9))!=null?_0x3b0bd3:_0x3dd8e9;}[_0x1f558c(0x225)](_0x4d092c){var _0x35554b=_0x1f558c,_0x19bd05,_0x3dcbe2;if(this[_0x35554b(0x15f)]===Q[_0x35554b(0x143)]){const {unitID:_0x13ac1f,mutations:_0x19f517,memberID:_0x58cc1e}=_0x4d092c,_0x1a8fdc=_0x19f517[0x0][_0x35554b(0x3b2)][_0x35554b(0x2bb)];Array[_0x35554b(0x1bc)](_0x1a8fdc)&&_0x1a8fdc['length']>0x0&&((_0x3dcbe2=(_0x19bd05=this[_0x35554b(0x389)])[_0x35554b(0x2f0)])==null||_0x3dcbe2['call'](_0x19bd05,{'unitID':_0x13ac1f,'memberID':_0x58cc1e,'textRanges':_0x1a8fdc}));}}[_0x1f558c(0x27b)](){var _0x24dd95=_0x1f558c,_0x51f756;(_0x51f756=this['_localCacheService'])==null||_0x51f756[_0x24dd95(0x303)](this[_0x24dd95(0x3e0)],this['type'],this[_0x24dd95(0x3f4)],this[_0x24dd95(0x2d0)]);}[_0x1f558c(0x2e0)](){var _0x1f4056=_0x1f558c;return this[_0x1f4056(0x164)][_0x1f4056(0x372)](this[_0x1f4056(0x3e0)]);}[_0x1f558c(0x286)](){var _0x497e98=_0x1f558c;this[_0x497e98(0x164)][_0x497e98(0x370)](this[_0x497e98(0x3e0)]);}[_0x1f558c(0x305)](_0x4e3daa){var _0xc45ca4=_0x1f558c,_0x4d2eca;let _0x301cdb=this['_transformRemoteChangesetByIMECache'](_0x4e3daa);_0x301cdb=this[_0xc45ca4(0x324)](_0x301cdb);const _0x54ade7=_0x4ff652(_0x301cdb['mutations'],this[_0xc45ca4(0x1d2)],{'fromCollab':!0x0});if(!_0x54ade7['result'])throw _0x54ade7[_0xc45ca4(0x145)]instanceof Error?_0x54ade7['error']:new Error((_0x4d2eca=_0x54ade7[_0xc45ca4(0x145)])!=null?_0x4d2eca:_0xc45ca4(0x1c0));this['_transformIMECache'](_0x301cdb),this[_0xc45ca4(0x404)](_0x301cdb),this['_transformUndoredo'](_0x4e3daa),this['_transformSelections'](_0x301cdb),this[_0xc45ca4(0x225)](_0x301cdb),this[_0xc45ca4(0x286)]();}}let Ne=class extends Ce{constructor(_0x43908d,_0x4b3b44,_0x2774f6,_0x53b313,_0x428a6f,_0x2f9dec,_0x2ce381,_0x22aee4,_0x3942c8,_0x179a02){var _0x1f23e0=_0x1f558c;super(_0x43908d,_0x4b3b44,null,[],_0x2774f6,_0x2ce381,_0x2f9dec,_0x53b313,_0x179a02),N(this,_0x1f23e0(0x1c2),_0x1f23e0(0x1f0)),(this['_injector']=_0x428a6f,this[_0x1f23e0(0x343)]=_0x22aee4,this[_0x1f23e0(0x38a)]=_0x3942c8,this[_0x1f23e0(0x1d1)]=_0x179a02);}['appendMutation'](_0x39c802){var _0x316ca5=_0x1f558c;const _0x31ccf2=this['_injector'][_0x316ca5(0x38e)](oe,this['unitID'],this[_0x316ca5(0x15f)],[_0x39c802],this['_handler']);return _0x31ccf2[_0x316ca5(0x3d9)](),_0x31ccf2[_0x316ca5(0x27b)](),_0x31ccf2;}['onRemoteChangeset'](_0x14b03a){var _0x58676e=_0x1f558c;if(this[_0x58676e(0x2de)](_0x14b03a))return this[_0x58676e(0x1b3)]['createInstance'](ee,this[_0x58676e(0x3e0)],this[_0x58676e(0x15f)],null,[],null,[_0x14b03a],this['_handler']);try{const _0x1252e7=this[_0x58676e(0x38a)][_0x58676e(0x3e5)](_0x14b03a,[_r]);if(_0x1a87e5(_0x1252e7)){const {c1Prime:_0x678ca6}=_0x1252e7;return this[_0x58676e(0x305)](_0x678ca6),this;}throw _0x1252e7[_0x58676e(0x145)];}catch(_0x1149d8){return this['_logService'][_0x58676e(0x145)](_0x1149d8),this[_0x58676e(0x3d2)](!0x1);}}['_onConflict'](_0xfa7287){var _0x411525=_0x1f558c;return this[_0x411525(0x1b3)]['createInstance'](ue,this[_0x411525(0x3e0)],this['type'],null,[],this[_0x411525(0x389)],_0xfa7287);}['onRemoteAck'](){var _0xfcb846=_0x1f558c;throw new Error(_0xfcb846(0x3fb));}['onRemoteRej'](){var _0x41a7ea=_0x1f558c;throw new Error(_0x41a7ea(0x3b1));}[_0x1f558c(0x387)](){return this;}[_0x1f558c(0x3ab)](){var _0x5c193b=_0x1f558c;return this[_0x5c193b(0x1b3)][_0x5c193b(0x38e)](de,this['unitID'],this['type'],null,[],this[_0x5c193b(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f558c(0x291)](){var _0x4f0cc9=_0x1f558c;const _0x12f2fa=this[_0x4f0cc9(0x164)][_0x4f0cc9(0x372)](this['unitID']);return this['_handler'][_0x4f0cc9(0x35c)]({'from':_0x12f2fa,'to':0x0}),this[_0x4f0cc9(0x1b3)]['createInstance'](ee,this[_0x4f0cc9(0x3e0)],this[_0x4f0cc9(0x15f)],null,[],null,[],this[_0x4f0cc9(0x389)]);}};Ne=Te([A(0x3,_0x5b2811(_0x40fd0a)),A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x46c745),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x40673b(J))],Ne);let oe=class extends Ce{constructor(_0x1ea37c,_0x843706,_0xc765a8,_0x2dbe0e,_0x453a41,_0x1a3dc0,_0x5ba4a7,_0x1076bd,_0x1f7701,_0x19045d,_0x12005a,_0x5effd6,_0x1295fa,_0x5061fc){var _0x56460e=_0x1f558c;super(_0x1ea37c,_0x843706,null,_0xc765a8,_0x2dbe0e,_0x1f7701,_0x1295fa,_0x1a3dc0,_0x5061fc),N(this,_0x56460e(0x1c2),_0x56460e(0x275)),N(this,_0x56460e(0x27a),null),N(this,_0x56460e(0x14b),null),(this['_injector']=_0x453a41,this['_memberService']=_0x5ba4a7,this['_logService']=_0x1076bd,this[_0x56460e(0x405)]=_0x19045d,this['_transformService']=_0x12005a,this[_0x56460e(0x435)]=_0x5effd6);}[_0x1f558c(0x20e)](_0x5855e8){var _0x352a26=_0x1f558c;return this[_0x352a26(0x2d0)][_0x352a26(0x1eb)](_0x5855e8),this[_0x352a26(0x27b)](),this;}[_0x1f558c(0x295)](_0x1ef681){var _0x30b36d=_0x1f558c;if(this[_0x30b36d(0x2de)](_0x1ef681))return this[_0x30b36d(0x2f5)](),this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](ee,this[_0x30b36d(0x3e0)],this[_0x30b36d(0x15f)],null,this['_pendingMutations'],null,[_0x1ef681],this['_handler']);try{const _0x376acd=this[_0x30b36d(0x38a)][_0x30b36d(0x3e5)](_0x1ef681,this[_0x30b36d(0x2d0)]);if(_0x1a87e5(_0x376acd)){const {c1Prime:_0x4247a8,m2Prime:_0x5b1b0d}=_0x376acd;this['_executeRemoteChangeset'](_0x4247a8);const _0x46656b=this[_0x30b36d(0x1b3)][_0x30b36d(0x38e)](oe,this['unitID'],this[_0x30b36d(0x15f)],_0x5b1b0d,this['_handler']);this[_0x30b36d(0x2f5)]();const _0x1ddbe7=new Date()[_0x30b36d(0x1c4)](),_0x5d7941=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x30b36d(0x27a)]-_0x1ddbe7,0x0):this['_getSendChangesetTimeout']();return _0x46656b['_schedule'](_0x5d7941),_0x46656b;}throw _0x376acd['error'];}catch(_0x477d96){return this['_logService'][_0x30b36d(0x145)](_0x477d96),this[_0x30b36d(0x3d2)](!0x1);}}['onRemoteAck'](){var _0x5f5d52=_0x1f558c;throw new Error(_0x5f5d52(0x1d9));}[_0x1f558c(0x19c)](){var _0x2e713b=_0x1f558c;throw new Error(_0x2e713b(0x246));}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){var _0x4c39d9=_0x1f558c;return this[_0x4c39d9(0x2f5)](),this[_0x4c39d9(0x1b3)][_0x4c39d9(0x38e)](de,this[_0x4c39d9(0x3e0)],this[_0x4c39d9(0x15f)],null,this[_0x4c39d9(0x2d0)],this[_0x4c39d9(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d9)](_0x4cd53e){var _0x54c6cd=_0x1f558c;const _0x2ab17f=_0x4cd53e!=null?_0x4cd53e:this[_0x54c6cd(0x42f)]();this[_0x54c6cd(0x27a)]=new Date()[_0x54c6cd(0x1c4)]()+_0x2ab17f,this[_0x54c6cd(0x14b)]=setTimeout(()=>{var _0x434abf=_0x54c6cd;this[_0x434abf(0x2f5)]();let _0x129a07=null;switch(this[_0x434abf(0x15f)]){case Q[_0x434abf(0x3d3)]:{_0x129a07=qt(this[_0x434abf(0x2d0)],this[_0x434abf(0x3e0)],this['_univerInstanceService'],this['_revisionService'],this[_0x434abf(0x35e)]);break;}case Q[_0x434abf(0x143)]:{this[_0x434abf(0x2d0)][_0x434abf(0x336)](_0x32016f=>_0x32016f['id']===_0x3eafab['id'])?_0x129a07=hr(this[_0x434abf(0x2d0)],this['unitID'],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this[_0x434abf(0x35e)]):_0x129a07=qt(this['_pendingMutations'],this[_0x434abf(0x3e0)],this[_0x434abf(0x435)],this[_0x434abf(0x164)],this['_memberService']);break;}default:throw new Error(_0x434abf(0x18d)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x5d44a9,pendingMutations:_0x518612}=_0x129a07;this[_0x434abf(0x389)][_0x434abf(0x380)](_0x5d44a9);const _0x8fc168=_0x518612[_0x434abf(0x158)]?this[_0x434abf(0x1b3)]['createInstance'](ae,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,_0x518612,this[_0x434abf(0x389)],void 0x0):this[_0x434abf(0x1b3)][_0x434abf(0x38e)](le,this[_0x434abf(0x3e0)],this['type'],_0x5d44a9,this[_0x434abf(0x389)]);_0x8fc168[_0x434abf(0x27b)](),this[_0x434abf(0x389)][_0x434abf(0x27c)](this,_0x8fc168);},_0x2ab17f);}['_getSendChangesetTimeout'](){var _0x59a000=_0x1f558c,_0x42ad73;const _0x3cb24d=this[_0x59a000(0x405)][_0x59a000(0x2a0)](q);return(_0x42ad73=_0x3cb24d==null?void 0x0:_0x3cb24d[_0x59a000(0x23a)])!=null?_0x42ad73:In;}[_0x1f558c(0x311)](){var _0x40919c=_0x1f558c;throw new Error(_0x40919c(0x2f2));}[_0x1f558c(0x2f5)](){var _0x581864=_0x1f558c;this[_0x581864(0x14b)]!=null&&(clearTimeout(this[_0x581864(0x14b)]),this[_0x581864(0x14b)]=null);}[_0x1f558c(0x3d2)](_0xda5403){var _0x5cabb9=_0x1f558c;return this[_0x5cabb9(0x2f5)](),this[_0x5cabb9(0x1b3)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x5cabb9(0x2d0)],this['_handler'],_0xda5403);}};oe=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x5b2811(xe)),A(0x7,_0x574408),A(0x8,_0x456150),A(0x9,_0x4ea54a),A(0xa,_0x45b9e1),A(0xb,_0x30c3be),A(0xc,_0x46c745),A(0xd,_0x40673b(J))],oe);let le=class extends Ce{constructor(_0x155179,_0x105df4,_0x6ab602,_0x3d0ee0,_0x22db75,_0x3449f1,_0x48443e,_0x2c712a,_0x2f1693,_0x11ba59,_0x3c9029){var _0x3c7eac=_0x1f558c;super(_0x155179,_0x105df4,_0x6ab602,[],_0x3d0ee0,_0x48443e,_0x11ba59,_0x3449f1,_0x3c9029),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x3c7eac(0x3ef)),N(this,_0x3c7eac(0x17c)),(this[_0x3c7eac(0x1b3)]=_0x22db75,this[_0x3c7eac(0x343)]=_0x2c712a,this[_0x3c7eac(0x38a)]=_0x2f1693);}['appendMutation'](_0xd8c05d){var _0x2fb096=_0x1f558c;this[_0x2fb096(0x2f5)]();const _0x85a85f=this[_0x2fb096(0x1b3)]['createInstance'](ae,this[_0x2fb096(0x3e0)],this[_0x2fb096(0x15f)],this[_0x2fb096(0x3f4)],[_0xd8c05d],this[_0x2fb096(0x389)],this[_0x2fb096(0x3ef)]);return _0x85a85f[_0x2fb096(0x27b)](),_0x85a85f;}[_0x1f558c(0x295)](_0x365a1f){var _0x3f154d=_0x1f558c;if(this[_0x3f154d(0x2de)](_0x365a1f))return this[_0x3f154d(0x2f5)](),this['_injector'][_0x3f154d(0x38e)](ee,this['unitID'],this['type'],this[_0x3f154d(0x3f4)],[],null,[_0x365a1f],this[_0x3f154d(0x389)]);try{const _0xeeac51=this[_0x3f154d(0x38a)][_0x3f154d(0x428)]([_0x365a1f],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0xeeac51)){const {c1Prime:_0x3b06fc,c2Prime:_0x2fc50b}=_0xeeac51;this[_0x3f154d(0x305)](_0x3b06fc[0x0]),_0x2fc50b[0x0][_0x3f154d(0x161)]=this[_0x3f154d(0x2e0)](),this[_0x3f154d(0x2f5)]();const _0x359bdf=this[_0x3f154d(0x1b3)]['createInstance'](le,this[_0x3f154d(0x3e0)],this[_0x3f154d(0x15f)],_0x2fc50b[0x0],this[_0x3f154d(0x389)]);return _0x359bdf[_0x3f154d(0x27b)](),_0x359bdf;}return this[_0x3f154d(0x3d2)](!0x1);}catch(_0x5b13b7){return this[_0x3f154d(0x343)]['error'](_0x5b13b7),this[_0x3f154d(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x4ef1d2){var _0x3c7dd6=_0x1f558c;this['_clearScheduledTask']();const _0x3e90bb=this[_0x3c7dd6(0x164)]['getCurrentRevOfUnit'](this[_0x3c7dd6(0x3e0)]);if(_0x4ef1d2[_0x3c7dd6(0x2f9)]<_0x3e90bb-0x1)return this;if(this[_0x3c7dd6(0x2de)](_0x4ef1d2))return this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](ee,this['unitID'],this[_0x3c7dd6(0x15f)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x537487=this[_0x3c7dd6(0x1b3)][_0x3c7dd6(0x38e)](Ne,this[_0x3c7dd6(0x3e0)],this['type'],this[_0x3c7dd6(0x389)]);return _0x537487[_0x3c7dd6(0x27b)](),_0x537487;}[_0x1f558c(0x19c)](_0x1be3e1){var _0x3c4b33=_0x1f558c;return this['_onConflict'](!!(_0x1be3e1!=null&&_0x1be3e1[_0x3c4b33(0x3cf)]));}[_0x1f558c(0x387)](_0x158b2a){var _0x125d22=_0x1f558c;return this[_0x125d22(0x249)]>Oi?this[_0x125d22(0x3ab)]():(this[_0x125d22(0x3ef)]=bi(this[_0x125d22(0x249)],{'timeout':this['_resendTimeout'],'reqId':_0x158b2a['reqId']}),this['_sender']=this[_0x125d22(0x3ef)]['subscribe'](({reqId:_0x5a54f9,timeout:_0x534636})=>{var _0x3a610c=_0x125d22;this[_0x3a610c(0x355)](_0x5a54f9,_0x534636);}),this);}[_0x1f558c(0x3ab)](){var _0x9476e8=_0x1f558c;return this[_0x9476e8(0x2f5)](),this[_0x9476e8(0x1b3)][_0x9476e8(0x38e)](de,this['unitID'],this[_0x9476e8(0x15f)],this[_0x9476e8(0x3f4)],[],this[_0x9476e8(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x311)](){var _0xa91202=_0x1f558c;this[_0xa91202(0x389)][_0xa91202(0x380)](this[_0xa91202(0x3f4)]);}[_0x1f558c(0x3d2)](_0x17d7bc){var _0x65ce17=_0x1f558c;return this[_0x65ce17(0x2f5)](),this['_injector'][_0x65ce17(0x38e)](ue,this['unitID'],this[_0x65ce17(0x15f)],this['_awaitingChangeset'],[],this['_handler'],_0x17d7bc);}[_0x1f558c(0x355)](_0x37f4bb,_0x26286d){var _0x3821ce=_0x1f558c,_0x1e6d68;_0x37f4bb===((_0x1e6d68=this[_0x3821ce(0x3f4)])==null?void 0x0:_0x1e6d68['reqId'])&&(this[_0x3821ce(0x311)](),this[_0x3821ce(0x249)]=_0x26286d===0x0?0x3e8:_0x26286d*0x2);}['_clearScheduledTask'](){var _0x473518=_0x1f558c,_0x27a116;(_0x27a116=this[_0x473518(0x17c)])==null||_0x27a116[_0x473518(0x207)](),this[_0x473518(0x249)]=0x0;}};le=Te([A(0x4,_0x5b2811(_0x5b79bd)),A(0x5,_0x5b2811(_0x40fd0a)),A(0x6,_0x456150),A(0x7,_0x574408),A(0x8,_0x45b9e1),A(0x9,_0x46c745),A(0xa,_0x40673b(J))],le);let ae=class extends Ce{constructor(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x3049e9,_0x31f043,_0x35fb4f,_0x4dd554,_0x37186a,_0x54d3a3,_0x31eb6a,_0x15f145){var _0x2ad560=_0x1f558c;super(_0x3f5d69,_0x64f9ab,_0xd508e3,_0x241988,_0x3c5e10,_0x4dd554,_0x31eb6a,_0x35fb4f,_0x15f145),N(this,'status',_0x2ad560(0x39d)),N(this,_0x2ad560(0x249),0x0),N(this,_0x2ad560(0x3ef)),N(this,_0x2ad560(0x17c)),(this[_0x2ad560(0x1b3)]=_0x31f043,this[_0x2ad560(0x343)]=_0x37186a,this[_0x2ad560(0x38a)]=_0x54d3a3,this[_0x2ad560(0x1d1)]=_0x15f145,_0x3049e9&&(this[_0x2ad560(0x3ef)]=_0x3049e9,this['_sender']=this[_0x2ad560(0x3ef)][_0x2ad560(0x3a4)](({reqId:_0x3f14ef,timeout:_0x2670af})=>{var _0x1f00aa=_0x2ad560;this[_0x1f00aa(0x355)](_0x3f14ef,_0x2670af);})));}[_0x1f558c(0x20e)](_0x32d498){var _0xcb039a=_0x1f558c;return this['_pendingMutations'][_0xcb039a(0x1eb)](_0x32d498),this;}[_0x1f558c(0x295)](_0x3d7b6b){var _0x5e2c98=_0x1f558c;if(this['_checkMissing'](_0x3d7b6b))return this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ee,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],this['_awaitingChangeset'],this[_0x5e2c98(0x2d0)],null,[_0x3d7b6b],this['_handler']);try{const _0x4acb1c=this['_transformService']['transformChangesets']([_0x3d7b6b],[this['_awaitingChangeset']],!0x1);if(_0x2e616a(_0x4acb1c)){const {c1Prime:_0x28e880,c2Prime:_0x38d6ea}=_0x4acb1c,_0x49cacd=this['_transformService'][_0x5e2c98(0x3e5)](_0x28e880[0x0],this[_0x5e2c98(0x2d0)]);if(_0x1a87e5(_0x49cacd)){const {c1Prime:_0xc5a746,m2Prime:_0x3246c0}=_0x49cacd;return this[_0x5e2c98(0x305)](_0xc5a746),_0x38d6ea[0x0][_0x5e2c98(0x161)]=this[_0x5e2c98(0x2e0)](),this[_0x5e2c98(0x2f5)](),this[_0x5e2c98(0x1b3)][_0x5e2c98(0x38e)](ae,this[_0x5e2c98(0x3e0)],this[_0x5e2c98(0x15f)],_0x38d6ea[0x0],_0x3246c0,this[_0x5e2c98(0x389)],void 0x0);}throw _0x49cacd[_0x5e2c98(0x145)];}throw _0x4acb1c['error'];}catch(_0x4e7922){return this[_0x5e2c98(0x343)]['error'](_0x4e7922),this[_0x5e2c98(0x3d2)](!0x1);}}[_0x1f558c(0x40e)](_0x191b81){var _0x5eea98=_0x1f558c;if(this[_0x5eea98(0x2f5)](),this[_0x5eea98(0x2de)](_0x191b81))return this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](ee,this[_0x5eea98(0x3e0)],this['type'],null,this[_0x5eea98(0x2d0)],this[_0x5eea98(0x3f4)],[],this[_0x5eea98(0x389)]);this[_0x5eea98(0x286)]();const _0x3eb875=this[_0x5eea98(0x1b3)][_0x5eea98(0x38e)](oe,this[_0x5eea98(0x3e0)],this[_0x5eea98(0x15f)],this[_0x5eea98(0x2d0)],this[_0x5eea98(0x389)]);return _0x3eb875[_0x5eea98(0x3d9)](),_0x3eb875['_updateLocalCache'](),_0x3eb875;}[_0x1f558c(0x19c)](_0x5306fe){var _0x3c4f09=_0x1f558c;return this[_0x3c4f09(0x3d2)](!!(_0x5306fe!=null&&_0x5306fe[_0x3c4f09(0x3cf)]));}['onRemoteRetry'](_0x32b3a3){var _0x2dc11f=_0x1f558c;return this[_0x2dc11f(0x249)]>Oi?this[_0x2dc11f(0x3ab)]():(this[_0x2dc11f(0x3ef)]=bi(this[_0x2dc11f(0x249)],{'timeout':this[_0x2dc11f(0x249)],'reqId':_0x32b3a3['reqId']}),this['_sender']=this[_0x2dc11f(0x3ef)][_0x2dc11f(0x3a4)](({reqId:_0x55d643,timeout:_0x326b7e})=>{var _0x462a12=_0x2dc11f;this[_0x462a12(0x355)](_0x55d643,_0x326b7e);}),this);}[_0x1f558c(0x3ab)](){var _0x2fd66e=_0x1f558c;return this[_0x2fd66e(0x2f5)](),this['_injector'][_0x2fd66e(0x38e)](de,this[_0x2fd66e(0x3e0)],this[_0x2fd66e(0x15f)],this[_0x2fd66e(0x3f4)],this[_0x2fd66e(0x2d0)],this[_0x2fd66e(0x389)]);}[_0x1f558c(0x25a)](){return this;}['resend'](){var _0x18bb8a=_0x1f558c;this[_0x18bb8a(0x389)]['onSendChangeset'](this[_0x18bb8a(0x3f4)]);}['_onConflict'](_0xcecadb){var _0x56ef8f=_0x1f558c;return this['_clearScheduledTask'](),this[_0x56ef8f(0x1b3)][_0x56ef8f(0x38e)](ue,this[_0x56ef8f(0x3e0)],this[_0x56ef8f(0x15f)],null,this[_0x56ef8f(0x2d0)],this[_0x56ef8f(0x389)],_0xcecadb);}['_resendWithTimeout'](_0x3eadfb,_0x2ca899){var _0x78f459=_0x1f558c,_0x5e2bb2;_0x3eadfb===((_0x5e2bb2=this[_0x78f459(0x3f4)])==null?void 0x0:_0x5e2bb2['reqId'])&&(this[_0x78f459(0x311)](),this[_0x78f459(0x249)]=_0x2ca899===0x0?0x3e8:_0x2ca899*0x2);}[_0x1f558c(0x2f5)](){var _0x270d14=_0x1f558c,_0x1d26c6;(_0x1d26c6=this['_sender'])==null||_0x1d26c6[_0x270d14(0x207)](),this[_0x270d14(0x249)]=0x0;}};ae=Te([A(0x6,_0x5b2811(_0x5b79bd)),A(0x7,_0x5b2811(_0x40fd0a)),A(0x8,_0x456150),A(0x9,_0x574408),A(0xa,_0x45b9e1),A(0xb,_0x46c745),A(0xc,_0x40673b(J))],ae);let ue=class extends Ce{constructor(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x392eeb=!0x1,_0x375319,_0x4a9b3d,_0x51be06,_0x41acaf,_0x233d81,_0x7202fa,_0x56d504){var _0x2d992b=_0x1f558c;super(_0x5d6d73,_0x20f1db,_0x7457c8,_0x183d57,_0x333d91,_0x4a9b3d,_0x51be06,_0x41acaf,_0x56d504),N(this,_0x2d992b(0x1c2),_0x2d992b(0x320)),(this[_0x2d992b(0x21e)]=_0x392eeb,this[_0x2d992b(0x30f)]=_0x375319,this[_0x2d992b(0x2c0)]=_0x233d81,this[_0x2d992b(0x323)]=_0x7202fa,this[_0x2d992b(0x1d1)]=_0x56d504,this[_0x2d992b(0x1b1)](),this[_0x2d992b(0x3a5)](),this[_0x2d992b(0x247)]());}[_0x1f558c(0x20e)](){return this;}[_0x1f558c(0x295)](){return this;}[_0x1f558c(0x40e)](){return this;}[_0x1f558c(0x19c)](){return this;}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x1f558c(0x311)](){var _0x5d5953=_0x1f558c;throw new Error(_0x5d5953(0x1bd));}[_0x1f558c(0x3a5)](){var _0x5a9ff3=_0x1f558c,_0x599606;(_0x599606=this[_0x5a9ff3(0x28f)])==null||_0x599606[_0x5a9ff3(0x303)](this['unitID'],this[_0x5a9ff3(0x15f)],null,[]);}[_0x1f558c(0x1b1)](){var _0x378fc9=_0x1f558c;this['_isPermissionRej']?this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x1de)]}):this[_0x378fc9(0x323)][_0x378fc9(0x2ec)]({'id':se[_0x378fc9(0x2c7)]});}['_disableEditing'](){var _0x2982b9=_0x1f558c;this[_0x2982b9(0x30f)][_0x2982b9(0x298)](new _0x6a1b02(this[_0x2982b9(0x3e0)])['id'],!0x1);}};ue=Te([A(0x6,_0x5b2811(_0x5b9158)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x5b2811(_0x40fd0a)),A(0xa,_0x5b2811(_0x426c5e)),A(0xb,_0x5b2811(pe)),A(0xc,_0x40673b(J))],ue);let de=class extends Ce{constructor(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x28c6e7,_0x216f67,_0x50dd84,_0x2d4b4a,_0x5a198f){var _0x4d035c=_0x1f558c;super(_0x94ff0c,_0x5d05a8,_0x9e3cda,_0xae47a2,_0x466d7c,_0x50dd84,_0x2d4b4a,_0x216f67,_0x5a198f),N(this,'status',_0x4d035c(0x1c8)),this[_0x4d035c(0x1b3)]=_0x28c6e7;}[_0x1f558c(0x20e)](_0x5eee90){var _0x5708ea=_0x1f558c;return this[_0x5708ea(0x2d0)][_0x5708ea(0x1eb)](_0x5eee90),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3f49ce){var _0x5bda6c=_0x1f558c;throw new Error(_0x5bda6c(0x38c));}[_0x1f558c(0x40e)](){var _0x1f60d7=_0x1f558c;throw new Error(_0x1f60d7(0x367));}[_0x1f558c(0x19c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1f558c(0x3ab)](){return this;}[_0x1f558c(0x25a)](){var _0x1b32b7=_0x1f558c;const {_injector:_0x41953b,_pendingMutations:_0x493ff3,_awaitingChangeset:_0x4805f9,unitID:_0x4ae5f5,_handler:_0x19d987,type:_0x3d0ec7}=this,_0x4e9254=yi(_0x41953b,_0x4ae5f5,_0x3d0ec7,_0x4805f9,_0x493ff3,_0x19d987);return _0x4e9254 instanceof oe?_0x4e9254['_schedule']():(_0x4e9254 instanceof ae||_0x4e9254 instanceof le)&&_0x4e9254[_0x1b32b7(0x311)](),_0x4e9254;}[_0x1f558c(0x311)](){var _0x25eb5a=_0x1f558c;throw new Error(_0x25eb5a(0x422));}};de=Te([A(0x5,_0x5b2811(_0x5b79bd)),A(0x6,_0x5b2811(_0x40fd0a)),A(0x7,_0x456150),A(0x8,_0x46c745),A(0x9,_0x40673b(J))],de);let ee=class extends Ce{constructor(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x5a75cb,_0x4cac91,_0x4c5e57,_0x5e9f81,_0x218e35,_0x4c4673,_0x1e9845,_0x184c46,_0x564894,_0x2d82de){var _0x4b1584=_0x1f558c;super(_0x25b47b,_0xac1ede,_0x110792,_0x2d17c8,_0x4c5e57,_0x1e9845,_0x184c46,_0x218e35,_0x2d82de),N(this,'status',_0x4b1584(0x335)),(this['_acknowledgedAwaitingChangeset']=_0x5a75cb,this['_queuedRemoteChangesets']=_0x4cac91,this['_injector']=_0x5e9f81,this[_0x4b1584(0x343)]=_0x4c4673,this[_0x4b1584(0x38a)]=_0x564894,this[_0x4b1584(0x1d1)]=_0x2d82de);}[_0x1f558c(0x312)](_0x14f929){var _0x1dbd2c=_0x1f558c;try{const _0x30839e=[..._0x14f929,...this[_0x1dbd2c(0x2bd)]],_0x18c1b3=[this['_awaitingChangeset']||this[_0x1dbd2c(0x309)]][_0x1dbd2c(0x436)](_0x5155f0=>!!_0x5155f0);let _0x213a22,_0x51231b;if(_0x18c1b3[_0x1dbd2c(0x158)]){const _0x58735e=this[_0x1dbd2c(0x38a)][_0x1dbd2c(0x428)](_0x30839e,_0x18c1b3,!0x1);if(!_0x2e616a(_0x58735e))throw _0x58735e[_0x1dbd2c(0x145)];_0x213a22=_0x58735e[_0x1dbd2c(0x424)],_0x51231b=_0x58735e[_0x1dbd2c(0x261)];}else _0x213a22=_0x30839e,_0x51231b=[];let _0x3fcd71=this[_0x1dbd2c(0x2d0)];_0x213a22[_0x1dbd2c(0x179)](_0x488411=>{var _0x3838cf=_0x1dbd2c;let _0x30ff9b;if(_0x3fcd71[_0x3838cf(0x158)]){const _0xa3366b=this[_0x3838cf(0x38a)][_0x3838cf(0x3e5)](_0x488411,_0x3fcd71);if(!_0x1a87e5(_0xa3366b))throw _0xa3366b[_0x3838cf(0x145)];_0x30ff9b=_0xa3366b[_0x3838cf(0x424)],_0x3fcd71=_0xa3366b[_0x3838cf(0x141)];}else _0x30ff9b=_0x488411;this[_0x3838cf(0x305)](_0x30ff9b);}),this[_0x1dbd2c(0x309)]&&this[_0x1dbd2c(0x286)](),this['_awaitingChangeset']&&_0x51231b[_0x1dbd2c(0x158)]&&(_0x51231b[0x0][_0x1dbd2c(0x161)]=this[_0x1dbd2c(0x2e0)]());let _0x1be07c;if(this['_awaitingChangeset']&&_0x3fcd71[_0x1dbd2c(0x158)]!==0x0)_0x1be07c=this['_injector'][_0x1dbd2c(0x38e)](ae,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],_0x3fcd71,this[_0x1dbd2c(0x389)],void 0x0);else{if(this[_0x1dbd2c(0x3f4)]&&_0x3fcd71['length']===0x0)_0x51231b[0x0]['baseRev']=this[_0x1dbd2c(0x2e0)](),_0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](le,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x51231b[0x0],this['_handler']);else{if(_0x3fcd71[_0x1dbd2c(0x158)]!==0x0){const _0x598a86=this['_injector'][_0x1dbd2c(0x38e)](oe,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],_0x3fcd71,this[_0x1dbd2c(0x389)]);_0x598a86[_0x1dbd2c(0x3d9)](),_0x1be07c=_0x598a86;}else _0x1be07c=this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](Ne,this['unitID'],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x389)]);}}return _0x1be07c[_0x1dbd2c(0x27b)](),_0x1be07c;}catch(_0x253685){return this[_0x1dbd2c(0x343)][_0x1dbd2c(0x145)](_0x1dbd2c(0x426),_0x1dbd2c(0x332),_0x253685),this[_0x1dbd2c(0x1b3)][_0x1dbd2c(0x38e)](ue,this[_0x1dbd2c(0x3e0)],this[_0x1dbd2c(0x15f)],this[_0x1dbd2c(0x3f4)],this[_0x1dbd2c(0x2d0)],this[_0x1dbd2c(0x389)],!0x1);}}[_0x1f558c(0x311)](){var _0x1be9fd=_0x1f558c;throw new Error(_0x1be9fd(0x15b));}[_0x1f558c(0x20e)](_0x398c03){var _0x5641e1=_0x1f558c;return this['_pendingMutations'][_0x5641e1(0x1eb)](_0x398c03),this;}[_0x1f558c(0x295)](_0x431447){var _0x40e5b6=_0x1f558c;return this[_0x40e5b6(0x2bd)][_0x40e5b6(0x1eb)](_0x431447),this;}['onRemoteAck'](_0x5ec180){var _0x4f6369=_0x1f558c;if(this[_0x4f6369(0x3f4)])return this[_0x4f6369(0x309)]=this[_0x4f6369(0x3f4)],this[_0x4f6369(0x3f4)]=null,this;throw new Error(_0x4f6369(0x2a2));}[_0x1f558c(0x19c)](_0x45a136){var _0x2d5a43=_0x1f558c;return this[_0x2d5a43(0x3d2)](!!(_0x45a136!=null&&_0x45a136[_0x2d5a43(0x3cf)]));}[_0x1f558c(0x387)](){return this;}['toggleOffline'](){var _0x568d32=_0x1f558c;return this[_0x568d32(0x1b3)]['createInstance'](de,this[_0x568d32(0x3e0)],this[_0x568d32(0x15f)],this[_0x568d32(0x3f4)],this[_0x568d32(0x2d0)],this[_0x568d32(0x389)]);}[_0x1f558c(0x25a)](){return this;}[_0x1f558c(0x3d2)](_0x556bd1){var _0x1cd9da=_0x1f558c;return this[_0x1cd9da(0x1b3)]['createInstance'](ue,this[_0x1cd9da(0x3e0)],this[_0x1cd9da(0x15f)],this[_0x1cd9da(0x3f4)],this[_0x1cd9da(0x2d0)],this[_0x1cd9da(0x389)],_0x556bd1);}};ee=Te([A(0x7,_0x5b2811(_0x5b79bd)),A(0x8,_0x5b2811(_0x40fd0a)),A(0x9,_0x574408),A(0xa,_0x456150),A(0xb,_0x46c745),A(0xc,_0x45b9e1),A(0xd,_0x40673b(J))],ee);function yi(_0x25fe4f,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9){var _0x15932e=_0x1f558c;return _0x352b6e&&_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](ae,_0x2bedd8,_0x26ab36,_0x352b6e,_0x47f579,_0xd7f8a9,void 0x0):_0x352b6e?_0x25fe4f['createInstance'](le,_0x2bedd8,_0x26ab36,_0x352b6e,_0xd7f8a9):_0x47f579[_0x15932e(0x158)]?_0x25fe4f[_0x15932e(0x38e)](oe,_0x2bedd8,_0x26ab36,_0x47f579,_0xd7f8a9):_0x25fe4f['createInstance'](Ne,_0x2bedd8,_0x26ab36,_0xd7f8a9);}var dr=Object['defineProperty'],fr=Object[_0x1f558c(0x330)],xt=(_0x462a76,_0x5c6930,_0xb78107,_0x1fdf4e)=>{for(var _0x5e4549=_0x1fdf4e>0x1?void 0x0:_0x1fdf4e?fr(_0x5c6930,_0xb78107):_0x5c6930,_0x2ca9da=_0x462a76['length']-0x1,_0x2ac7da;_0x2ca9da>=0x0;_0x2ca9da--)(_0x2ac7da=_0x462a76[_0x2ca9da])&&(_0x5e4549=(_0x1fdf4e?_0x2ac7da(_0x5c6930,_0xb78107,_0x5e4549):_0x2ac7da(_0x5e4549))||_0x5e4549);return _0x1fdf4e&&_0x5e4549&&dr(_0x5c6930,_0xb78107,_0x5e4549),_0x5e4549;},k=(_0x28c612,_0x12ba7c)=>(_0x4ca439,_0x173bcc)=>_0x12ba7c(_0x4ca439,_0x173bcc,_0x28c612);let nt=class extends _0x1a5dd9{constructor(_0x584940,_0x38ec7f,_0x4926b3,_0x53a0fc,_0x1dd380,_0x1fbc1e,_0x287847,_0x3aeca8,_0x2b42fb,_0xd9a42a,_0x2232da,_0x5c6f0c,_0x4e3617){var _0x4b8db1=_0x1f558c;super(),N(this,'_state$',new _0x12b284(null)),N(this,'state$',this['_state$'][_0x4b8db1(0x317)]()),N(this,'_state'),N(this,_0x4b8db1(0x388),!0x1),N(this,'_changesetSessionId',''),N(this,_0x4b8db1(0x29c),0x0),N(this,_0x4b8db1(0x2b3),this[_0x4b8db1(0x24c)][_0x4b8db1(0x41e)](_0x1d5c6b(_0x34dc73=>_0x34dc73?_0x34dc73['status']:Ri['OFFLINE']),_0x576d80(0x1))),N(this,_0x4b8db1(0x2c9),!0x1),N(this,_0x4b8db1(0x230),[]),(this[_0x4b8db1(0x3e0)]=_0x584940,this[_0x4b8db1(0x425)]=_0x38ec7f,this[_0x4b8db1(0x318)]=_0x4926b3,this[_0x4b8db1(0x1b3)]=_0x53a0fc,this['_compressMutationService']=_0x1dd380,this[_0x4b8db1(0x2c0)]=_0x1fbc1e,this[_0x4b8db1(0x164)]=_0x287847,this['_eventService']=_0x3aeca8,this['_logService']=_0x2b42fb,this[_0x4b8db1(0x1d2)]=_0xd9a42a,this['_permissionService']=_0x2232da,this[_0x4b8db1(0x40d)]=_0x5c6f0c,this['_localCacheService']=_0x4e3617);}get[_0x1f558c(0x240)](){return this['_state'];}async[_0x1f558c(0x2e7)](){var _0x324d75=_0x1f558c;if(this[_0x324d75(0x240)])throw new Error(_0x324d75(0x2a1));await this[_0x324d75(0x2e9)]();}[_0x1f558c(0x205)](){return this['_collaborationPaused']=!0x0,_0xd7d543(()=>{var _0x5b1416=_0x4725;this['_collaborationPaused']=!0x1,this[_0x5b1416(0x198)]();});}[_0x1f558c(0x429)](_0x89aeb2){var _0x97a7ce=_0x1f558c;this[_0x97a7ce(0x2b4)](_0x89aeb2);}[_0x1f558c(0x177)](_0x1d718c){var _0x16137d=_0x1f558c;this[_0x16137d(0x310)]=_0x1d718c,this[_0x16137d(0x3c7)]['next'](_0x1d718c);}async['_init'](){var _0x598ece=_0x1f558c,_0xbe8838;this[_0x598ece(0x177)](await this['_createInitialState']()),this[_0x598ece(0x40d)]&&((_0xbe8838=this[_0x598ece(0x40d)])==null||_0xbe8838[_0x598ece(0x350)](this[_0x598ece(0x3e0)]),this[_0x598ece(0x2d6)](this[_0x598ece(0x40d)][_0x598ece(0x3c5)](this[_0x598ece(0x3e0)])[_0x598ece(0x3a4)](_0xeb7c9b=>{var _0x533df4=_0x598ece;this['_logService']['debug']('[CollaborationEntity]',_0x533df4(0x28a),_0xeb7c9b),_0xeb7c9b===Ci[_0x533df4(0x417)]?(this[_0x533df4(0x373)][_0x533df4(0x2ec)]({'id':se[_0x533df4(0x222)]}),this[_0x533df4(0x30f)][_0x533df4(0x298)](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x533df4(0x30f)]['updatePermissionPoint'](new _0x6a1b02(this[_0x533df4(0x3e0)])['id'],!0x0),this[_0x533df4(0x30f)][_0x533df4(0x20c)](!0x0));})));let _0x25eb4b=!0x1;return this[_0x598ece(0x2d6)](this[_0x598ece(0x425)]['sessionStatus$'][_0x598ece(0x3a4)](_0x2f1fa1=>{var _0x98d980=_0x598ece;_0x2f1fa1===Ee[_0x98d980(0x262)]?this[_0x98d980(0x3f7)](_0x25eb4b):_0x2f1fa1===Ee[_0x98d980(0x18f)]&&(_0x25eb4b=!0x0,this['_toggleOffline']());})),this[_0x598ece(0x2d6)](this[_0x598ece(0x425)][_0x598ece(0x1c9)][_0x598ece(0x3a4)](_0x58152d=>{var _0x5b9ee3=_0x598ece;try{switch(_0x58152d[_0x5b9ee3(0x20b)]){case _0x238e1f[_0x5b9ee3(0x257)]:{this[_0x5b9ee3(0x3bf)](_0x350fd9(_0x58152d[_0x5b9ee3(0x2f7)]));break;}case _0x238e1f[_0x5b9ee3(0x325)]:{this['_onRemoteACK'](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f['CHANGESET_REJ']:{this[_0x5b9ee3(0x14e)]();break;}case _0x238e1f[_0x5b9ee3(0x3dd)]:{this[_0x5b9ee3(0x34a)](_0x58152d[_0x5b9ee3(0x2f7)]);break;}case _0x238e1f[_0x5b9ee3(0x22b)]:{this[_0x5b9ee3(0x18c)](_0x58152d[_0x5b9ee3(0x2f7)]['changesets'][_0x5b9ee3(0x3b0)](_0x2275f9=>_0x350fd9(_0x2275f9)));break;}case _0x238e1f[_0x5b9ee3(0x2fd)]:{this[_0x5b9ee3(0x14e)]({'isPermissionRej':!0x0});break;}case _0x238e1f[_0x5b9ee3(0x32d)]:break;}}catch(_0x1a4124){throw console[_0x5b9ee3(0x145)](_0x5b9ee3(0x197),_0x1a4124),_0x1a4124;}})),this[_0x598ece(0x310)];}['_unlockTransition'](){var _0x58179d=_0x1f558c;this[_0x58179d(0x2c9)]=!0x1;}['_lockTransition'](){var _0x4dd08a=_0x1f558c;if(this['_transitionLocked'])throw new Error(_0x4dd08a(0x393));this[_0x4dd08a(0x2c9)]=!0x0;}[_0x1f558c(0x2b4)](_0xc61510){var _0xabedd9=_0x1f558c;this['_lockTransition'](),this[_0xabedd9(0x177)](this[_0xabedd9(0x310)][_0xabedd9(0x20e)](_0xc61510)),this['_unlockTransition']();}[_0x1f558c(0x3bf)](_0x4958fb){var _0x15bf28=_0x1f558c;if(!(_0x4958fb['revision']<=this[_0x15bf28(0x164)][_0x15bf28(0x372)](this[_0x15bf28(0x3e0)]))){if(this[_0x15bf28(0x388)]){this[_0x15bf28(0x230)]['push'](_0x4958fb);return;}this['_applyRemoteChangeset'](_0x4958fb);}}[_0x1f558c(0x198)](){var _0x506b52=_0x1f558c;this[_0x506b52(0x230)][_0x506b52(0x179)](_0xbacb22=>this[_0x506b52(0x339)](_0xbacb22)),this[_0x506b52(0x230)]=[];}['_applyRemoteChangeset'](_0x10f8ce){var _0x541156=_0x1f558c;const _0x582de7=this[_0x541156(0x352)][_0x541156(0x226)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x541156(0x226)]['getInterceptPoints']()[_0x541156(0x2f3)])(_0x10f8ce[_0x541156(0x1cc)],null)||_0x10f8ce[_0x541156(0x1cc)],_0x2cce3a={..._0x10f8ce,'mutations':_0x582de7};this[_0x541156(0x2d5)](),this[_0x541156(0x177)](this[_0x541156(0x310)][_0x541156(0x295)](_0x2cce3a)),this['_unlockTransition']();}['_onRemoteACK'](_0x3b8687){var _0x513624=_0x1f558c;this['_lockTransition'](),this[_0x513624(0x177)](this[_0x513624(0x310)]['onRemoteAck'](_0x3b8687)),this[_0x513624(0x26f)]();}[_0x1f558c(0x14e)](_0x5742ae){var _0x5821d3=_0x1f558c;this[_0x5821d3(0x2d5)](),this[_0x5821d3(0x177)](this[_0x5821d3(0x310)][_0x5821d3(0x19c)](_0x5742ae)),this[_0x5821d3(0x26f)]();}[_0x1f558c(0x34a)](_0x2e6ba4){var _0x46e26f=_0x1f558c;this[_0x46e26f(0x2d5)](),this[_0x46e26f(0x177)](this['_state'][_0x46e26f(0x387)](_0x2e6ba4)),this[_0x46e26f(0x26f)]();}[_0x1f558c(0x18c)](_0x430174){var _0x13cfa8=_0x1f558c;if(!(this[_0x13cfa8(0x310)]instanceof ee))throw new TypeError(_0x13cfa8(0x2ae));const _0x34bcfa=_0x430174[_0x13cfa8(0x3b0)](_0x367e56=>{var _0xf1f084=_0x13cfa8;const _0x3b3a8a=this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x269)](this[_0xf1f084(0x352)][_0xf1f084(0x226)][_0xf1f084(0x30d)]()[_0xf1f084(0x2f3)])(_0x367e56['mutations'],null)||_0x367e56['mutations'];return{..._0x367e56,'mutations':_0x3b3a8a};});this[_0x13cfa8(0x2d5)](),this[_0x13cfa8(0x177)](this[_0x13cfa8(0x310)][_0x13cfa8(0x312)](_0x34bcfa)),this[_0x13cfa8(0x26f)]();}[_0x1f558c(0x410)](){var _0x59b004=_0x1f558c;this[_0x59b004(0x2d5)](),this['_updateState'](this[_0x59b004(0x310)][_0x59b004(0x3ab)]()),this[_0x59b004(0x26f)]();}['_toggleOnline'](_0xaa6462=!0x1){var _0x5177ab=_0x1f558c;this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](this[_0x5177ab(0x310)][_0x5177ab(0x25a)]()),this[_0x5177ab(0x26f)]();const _0x917c4e=this[_0x5177ab(0x310)];_0xaa6462&&_0x917c4e instanceof Ne&&(this[_0x5177ab(0x2d5)](),this[_0x5177ab(0x177)](_0x917c4e[_0x5177ab(0x291)]()),this[_0x5177ab(0x26f)]());}async['_createInitialState'](){return new Promise(_0x326911=>{var _0xf1e9cd=_0x4725;this[_0xf1e9cd(0x425)][_0xf1e9cd(0x3ce)]['pipe'](_0x3669e7(0x1))['subscribe'](async _0x4f161c=>{var _0x48ac70=_0xf1e9cd;_0x326911(await this['_createInitialStateImpl'](_0x4f161c===Ee[_0x48ac70(0x262)]));});});}[_0x1f558c(0x156)](){var _0x418581=_0x1f558c;const _0x5487b9=this[_0x418581(0x3e0)];return{'onStateChange':(_0x48641c,_0x405323)=>{var _0x3116b2=_0x418581;if(_0x48641c!==this[_0x3116b2(0x310)])throw new Error(_0x3116b2(0x3dc)+_0x48641c[_0x3116b2(0x1c2)]+_0x3116b2(0x31f)+_0x405323[_0x3116b2(0x1c2)]+_0x3116b2(0x1ac)+this[_0x3116b2(0x310)][_0x3116b2(0x1c2)]);this[_0x3116b2(0x177)](_0x405323);},'onSendChangeset':_0x347091=>{var _0x41c0ef=_0x418581;_0x347091[_0x41c0ef(0x2c8)]||(_0x347091['sid']=this[_0x41c0ef(0x184)],_0x347091[_0x41c0ef(0x29b)]=++this[_0x41c0ef(0x29c)]);const _0x5409a6={'eventID':_0x238e1f[_0x41c0ef(0x328)],'data':{'unitID':_0x347091['unitID'],'unitType':this[_0x41c0ef(0x318)],'changeset':_0x347091,'memberID':this[_0x41c0ef(0x425)]['getMemberID']()}};this[_0x41c0ef(0x425)][_0x41c0ef(0x1dc)](_0x5409a6,this[_0x41c0ef(0x3e0)]);},'onMissingChangesets':({from:_0x150202,to:_0x44800d})=>{var _0x52677d=_0x418581;this[_0x52677d(0x343)][_0x52677d(0x2e3)](_0x52677d(0x438),_0x52677d(0x356)+_0x150202+_0x52677d(0x210)+_0x44800d);const _0x13a6c8={'eventID':_0x238e1f[_0x52677d(0x199)],'data':{'unitID':_0x5487b9,'unitType':this['_type'],'from':_0x150202,'to':_0x44800d}};this['session'][_0x52677d(0x1dc)](_0x13a6c8,this['unitID']);}};}async['_createInitialStateImpl'](_0x2eab43){var _0x517d6e=_0x1f558c,_0x147299,_0x5250b9,_0x539440;const _0x1e7bd8=await((_0x147299=this['_localCacheService'])==null?void 0x0:_0x147299[_0x517d6e(0x41d)](this[_0x517d6e(0x3e0)])),_0x268dd7=(_0x5250b9=_0x1e7bd8==null?void 0x0:_0x1e7bd8[_0x517d6e(0x1cc)])!=null?_0x5250b9:[],_0x46aae4=(_0x539440=_0x1e7bd8==null?void 0x0:_0x1e7bd8['awaitingChangeset'])!=null?_0x539440:null,_0x569059=!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x2c8)])&&!!(_0x46aae4!=null&&_0x46aae4[_0x517d6e(0x29b)]);this[_0x517d6e(0x184)]=_0x569059?_0x46aae4[_0x517d6e(0x2c8)]:nr(),this['_changesetReqId']=_0x569059?_0x46aae4[_0x517d6e(0x29b)]:0x0;const _0x189569=this[_0x517d6e(0x3e0)];try{this['_replayCachedMutations'](_0x46aae4,_0x268dd7);}catch(_0x248261){this[_0x517d6e(0x343)][_0x517d6e(0x145)](_0x248261);}const _0x51b6e3=this[_0x517d6e(0x156)]();if(_0x2eab43){const _0x1f848e=yi(this[_0x517d6e(0x1b3)],_0x189569,this[_0x517d6e(0x318)],_0x46aae4,_0x268dd7,_0x51b6e3);return _0x1f848e instanceof oe?_0x1f848e[_0x517d6e(0x3d9)]():(_0x1f848e instanceof ae||_0x1f848e instanceof le)&&_0x1f848e['resend'](),_0x1f848e;}return this[_0x517d6e(0x1b3)][_0x517d6e(0x38e)](de,_0x189569,this['_type'],_0x46aae4,_0x268dd7,_0x51b6e3);}['_replayCachedMutations'](_0x10c6b3,_0x4ee13e){var _0x4e7195=_0x1f558c,_0x19e786,_0x167b67;const _0x4a06c1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x4e7195(0x352)][_0x4e7195(0x226)][_0x4e7195(0x30d)]()[_0x4e7195(0x2f3)]);(_0x19e786=_0x4a06c1((_0x10c6b3==null?void 0x0:_0x10c6b3['mutations'])||[],null))==null||_0x19e786[_0x4e7195(0x179)](_0xc3930a=>this['_commandService'][_0x4e7195(0x3bc)](_0xc3930a['id'],_0xc3930a[_0x4e7195(0x3b2)])),(_0x167b67=_0x4a06c1(_0x4ee13e||[],null))==null||_0x167b67[_0x4e7195(0x179)](_0x3c66c6=>this[_0x4e7195(0x1d2)][_0x4e7195(0x3bc)](_0x3c66c6['id'],_0x3c66c6['params']));}};nt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],nt);let It=class extends nt{constructor(_0x5c4313,_0x328270,_0x123bc6,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74){var _0x3a73f9=_0x1f558c;super(_0x5c4313,_0x123bc6,_0x328270,_0x46e095,_0x5d2200,_0x1bb6d9,_0x1a113b,_0x5050dc,_0x213e92,_0x85618f,_0x12a8f9,_0x350e30,_0x399a74),N(this,_0x3a73f9(0x1b0),null),(this[_0x3a73f9(0x3e0)]=_0x5c4313,this[_0x3a73f9(0x15f)]=_0x328270);}['addHandlerCallback'](_0x309646){var _0x26640a=_0x1f558c;this[_0x26640a(0x1b0)]=_0x309646;}[_0x1f558c(0x227)](){var _0x3f6bd6=_0x1f558c;this[_0x3f6bd6(0x1b0)]=null,super['dispose']();}[_0x1f558c(0x156)](){var _0x542cb2=_0x1f558c;const _0xfa395c=super[_0x542cb2(0x156)]();return _0xfa395c[_0x542cb2(0x2be)]=_0x1e46e0=>{var _0x346f04=_0x542cb2,_0x24b8d9,_0xca3323;return(_0xca3323=(_0x24b8d9=this[_0x346f04(0x1b0)])==null?void 0x0:_0x24b8d9['onTransformIME'])==null?void 0x0:_0xca3323[_0x346f04(0x178)](_0x24b8d9,_0x1e46e0);},_0xfa395c[_0x542cb2(0x360)]=_0x4801a2=>{var _0x3b22b9=_0x542cb2,_0x40432a,_0xdafcdb;return(_0xdafcdb=(_0x40432a=this[_0x3b22b9(0x1b0)])==null?void 0x0:_0x40432a[_0x3b22b9(0x360)])==null?void 0x0:_0xdafcdb[_0x3b22b9(0x178)](_0x40432a,_0x4801a2);},_0xfa395c[_0x542cb2(0x414)]=_0x1377cb=>{var _0x46c971=_0x542cb2,_0x453f99,_0x20c68f;return(_0x20c68f=(_0x453f99=this['_handlerCallback'])==null?void 0x0:_0x453f99[_0x46c971(0x414)])==null?void 0x0:_0x20c68f[_0x46c971(0x178)](_0x453f99,_0x1377cb);},_0xfa395c[_0x542cb2(0x2f0)]=_0x39d421=>{var _0x1addcd=_0x542cb2,_0x247a5c,_0x4d8218;return(_0x4d8218=(_0x247a5c=this[_0x1addcd(0x1b0)])==null?void 0x0:_0x247a5c[_0x1addcd(0x2f0)])==null?void 0x0:_0x4d8218['call'](_0x247a5c,_0x39d421);},_0xfa395c['onTransformRemoteChangesetByIMECache']=_0x72a2b=>{var _0x4c1660=_0x542cb2,_0x71600,_0x2919f6,_0x140276;if(!((_0x71600=this['_handlerCallback'])!=null&&_0x71600[_0x4c1660(0x2f6)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x140276=(_0x2919f6=this['_handlerCallback'])==null?void 0x0:_0x2919f6[_0x4c1660(0x2f6)])==null?void 0x0:_0x140276[_0x4c1660(0x178)](_0x2919f6,_0x72a2b);},_0xfa395c['onTransformRemoteChangesetByStateCache']=_0x5313fd=>{var _0x2fdbc0=_0x542cb2,_0x51c664,_0x248b91,_0x59b1cd;if(!((_0x51c664=this[_0x2fdbc0(0x1b0)])!=null&&_0x51c664[_0x2fdbc0(0x437)]))throw new Error(_0x2fdbc0(0x42d));return(_0x59b1cd=(_0x248b91=this['_handlerCallback'])==null?void 0x0:_0x248b91['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x59b1cd[_0x2fdbc0(0x178)](_0x248b91,_0x5313fd);},_0xfa395c;}async['_init'](){var _0x2ab5b9=_0x1f558c;const _0x94f2ef=await super[_0x2ab5b9(0x2e9)]();return this[_0x2ab5b9(0x2d6)](this['_commandService'][_0x2ab5b9(0x1aa)]((_0xa6a546,_0x68ea98)=>{var _0x423faa=_0x2ab5b9;if(_0xa6a546[_0x423faa(0x15f)]!==_0x2402fa[_0x423faa(0x173)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x308)]||_0x68ea98!=null&&_0x68ea98[_0x423faa(0x231)]||_0xa6a546['id']===_0x3eafab['id'])return;const _0x7b098a=_0xa6a546[_0x423faa(0x3b2)];if((_0x7b098a==null?void 0x0:_0x7b098a['unitId'])!==this['unitID'])return;const _0x1257ee=_0xa6a546,_0x5d6fa5=this[_0x423faa(0x352)][_0x423faa(0x226)][_0x423faa(0x269)](this['_compressMutationService'][_0x423faa(0x226)][_0x423faa(0x30d)]()[_0x423faa(0x3f6)])([_0x1257ee],null)||[_0x1257ee];this[_0x423faa(0x2b4)](_0x5d6fa5[0x0]);})),_0x94f2ef;}};It=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(pe)),k(0x8,_0x574408),k(0x9,_0x456150),k(0xa,_0x5b9158),k(0xb,_0x40673b(ht)),k(0xc,_0x40673b(J))],It);let Tt=class extends nt{constructor(_0x357985,_0x23a99e,_0x28cffc,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0x15de18,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740){var _0x1bcccf=_0x1f558c;super(_0x357985,_0x28cffc,_0x23a99e,_0x517b5d,_0x2a6b2e,_0x262ca3,_0x32bc0e,_0xbe16d8,_0x56316f,_0x3f5745,_0x15ccf0,_0x46e2df,_0xd04740),this[_0x1bcccf(0x3e0)]=_0x357985,this['type']=_0x23a99e,this[_0x1bcccf(0x13d)]=_0x15de18;}['_createHandler'](){var _0x2257d2=_0x1f558c;const _0x4abefb=super[_0x2257d2(0x156)]();return _0x4abefb['onTransformSelections']=_0x2ec37d=>this[_0x2257d2(0x13d)][_0x2257d2(0x188)](_0x2ec37d),_0x4abefb;}async[_0x1f558c(0x2e9)](){var _0x5bc905=_0x1f558c;const _0x2792aa=await super[_0x5bc905(0x2e9)]();return this[_0x5bc905(0x2d6)](this[_0x5bc905(0x1d2)][_0x5bc905(0x1aa)]((_0x33cec7,_0x449e79)=>{var _0xe13ca3=_0x5bc905;if(_0x33cec7[_0xe13ca3(0x15f)]!==_0x2402fa[_0xe13ca3(0x173)]||_0x449e79!=null&&_0x449e79['fromCollab']||_0x449e79!=null&&_0x449e79[_0xe13ca3(0x231)])return;const _0x40eceb=_0x33cec7[_0xe13ca3(0x3b2)];if((_0x40eceb==null?void 0x0:_0x40eceb[_0xe13ca3(0x33e)])!==this[_0xe13ca3(0x3e0)])return;const _0x1e67e5=_0x33cec7,_0x211b23=this['_compressMutationService']['interceptor'][_0xe13ca3(0x269)](this[_0xe13ca3(0x352)][_0xe13ca3(0x226)][_0xe13ca3(0x30d)]()[_0xe13ca3(0x3f6)])([_0x1e67e5],null)||[_0x1e67e5];this['_onLocalMutation'](_0x211b23[0x0]);})),_0x2792aa;}};Tt=xt([k(0x3,_0x5b2811(_0x5b79bd)),k(0x4,_0x5b2811(_0x112c57)),k(0x5,_0x5b2811(_0x426c5e)),k(0x6,_0x5b2811(_0x40fd0a)),k(0x7,_0x5b2811(it)),k(0x8,_0x5b2811(pe)),k(0x9,_0x574408),k(0xa,_0x456150),k(0xb,_0x5b9158),k(0xc,_0x40673b(ht)),k(0xd,_0x40673b(J))],Tt);var vr=Object[_0x1f558c(0x175)],pr=Object[_0x1f558c(0x330)],mr=(_0x84df73,_0x952367,_0x4c8f6f,_0x3207d1)=>{var _0x4f2278=_0x1f558c;for(var _0x2ac94d=_0x3207d1>0x1?void 0x0:_0x3207d1?pr(_0x952367,_0x4c8f6f):_0x952367,_0x58829c=_0x84df73[_0x4f2278(0x158)]-0x1,_0x47fa79;_0x58829c>=0x0;_0x58829c--)(_0x47fa79=_0x84df73[_0x58829c])&&(_0x2ac94d=(_0x3207d1?_0x47fa79(_0x952367,_0x4c8f6f,_0x2ac94d):_0x47fa79(_0x2ac94d))||_0x2ac94d);return _0x3207d1&&_0x2ac94d&&vr(_0x952367,_0x4c8f6f,_0x2ac94d),_0x2ac94d;},ft=(_0x1f5718,_0x498701)=>(_0x24fb77,_0x5967e2)=>_0x498701(_0x24fb77,_0x5967e2,_0x1f5718);let rt=class extends _0x1a5dd9{constructor(_0x51bca1,_0x4952a3,_0x4e9958){var _0xad0321=_0x1f558c;super(),N(this,'_entities',new Map()),N(this,_0xad0321(0x272),new _0x13d4cc()),N(this,_0xad0321(0x36d),this['_entityInit$']['asObservable']()),(this[_0xad0321(0x1b3)]=_0x51bca1,this[_0xad0321(0x18b)]=_0x4952a3,this[_0xad0321(0x435)]=_0x4e9958,this[_0xad0321(0x2e9)]());}['dispose'](){var _0x3d6bb5=_0x1f558c;super[_0x3d6bb5(0x227)](),this[_0x3d6bb5(0x169)]['forEach'](_0x51e0da=>_0x51e0da['dispose']()),this[_0x3d6bb5(0x169)][_0x3d6bb5(0x377)]();}[_0x1f558c(0x273)](_0x9b811d){var _0x57124b=_0x1f558c,_0x5f5846;return(_0x5f5846=this['_entities'][_0x57124b(0x1e3)](_0x9b811d))!=null?_0x5f5846:null;}[_0x1f558c(0x204)](_0x289c6c){var _0x3b0277=_0x1f558c;const _0x2fb78e=this[_0x3b0277(0x273)](_0x289c6c);return _0x2fb78e?_0xb786a0(_0x2fb78e):this[_0x3b0277(0x272)]['pipe'](_0x1bdf9d(_0x3e6ca4=>_0x3e6ca4[_0x3b0277(0x3e0)]===_0x289c6c));}[_0x1f558c(0x180)](_0x5a23b6){var _0x4d69d2=_0x1f558c;return _0x9545a1(this[_0x4d69d2(0x204)](_0x5a23b6)[_0x4d69d2(0x41e)](_0xeca816(()=>{})));}[_0x1f558c(0x2e9)](){var _0x28714f=_0x1f558c;this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x3d3)])[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]),_0x18b0fa(0x10))[_0x28714f(0x3a4)](async _0x38a638=>{var _0x3f5073=_0x28714f;const _0x23aeaf=_0x38a638[_0x3f5073(0x253)](),_0x36a16e=await this[_0x3f5073(0x24e)](_0x23aeaf,Q['UNIVER_SHEET']);this[_0x3f5073(0x169)]['set'](_0x23aeaf,_0x36a16e);}),this[_0x28714f(0x435)][_0x28714f(0x23f)](_0x3886a9[_0x28714f(0x143)])[_0x28714f(0x41e)](_0x29925c(this['dispose$']),_0x18b0fa(0x10))[_0x28714f(0x41e)](_0x1bdf9d(_0x18712e=>!_0x18712e['getUnitId']()[_0x28714f(0x19d)]('__')))[_0x28714f(0x3a4)](async _0x55deed=>{var _0x29e118=_0x28714f;const _0x381310=_0x55deed[_0x29e118(0x253)](),_0x45b7c7=await this['_startCollaboration'](_0x381310,Q['UNIVER_DOC']);this[_0x29e118(0x169)]['set'](_0x381310,_0x45b7c7);}),_0x404c78(this['_univerInstanceService'][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x3d3)]),this[_0x28714f(0x435)][_0x28714f(0x1a1)](_0x3886a9[_0x28714f(0x143)]))[_0x28714f(0x41e)](_0x29925c(this[_0x28714f(0x270)]))[_0x28714f(0x3a4)](_0x29a4ad=>{var _0x58a5dc=_0x28714f;const _0x55e6a1=_0x29a4ad[_0x58a5dc(0x253)](),_0x1ecdd9=this['_entities']['get'](_0x55e6a1);_0x1ecdd9&&(_0x1ecdd9['dispose'](),this['_entities'][_0x58a5dc(0x167)](_0x55e6a1));});}async[_0x1f558c(0x24e)](_0x179a8a,_0x3b6b37){var _0x37e265=_0x1f558c;const _0x2eb9eb=await this[_0x37e265(0x18b)][_0x37e265(0x1a7)](_0x179a8a),_0x2fd93a=this[_0x37e265(0x1b3)]['createInstance'](this['_getCtorByUniverType'](_0x3b6b37),_0x179a8a,_0x3b6b37,_0x2eb9eb);return await _0x2fd93a[_0x37e265(0x2e7)](),this[_0x37e265(0x272)][_0x37e265(0x140)](_0x2fd93a),_0x2fd93a;}[_0x1f558c(0x2b5)](_0x415df0){var _0x275f90=_0x1f558c;switch(_0x415df0){case Q['UNIVER_DOC']:return It;case Q[_0x275f90(0x3d3)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x415df0);}}};rt=mr([ft(0x0,_0x5b2811(_0x5b79bd)),ft(0x1,_0x5b2811(Le)),ft(0x2,_0x30c3be)],rt);var gr=Object[_0x1f558c(0x175)],Sr=Object[_0x1f558c(0x330)],Er=(_0x36c326,_0x2d70f5,_0x351261,_0x3493ae)=>{var _0x37fc76=_0x1f558c;for(var _0x484fbb=_0x3493ae>0x1?void 0x0:_0x3493ae?Sr(_0x2d70f5,_0x351261):_0x2d70f5,_0x2b5d61=_0x36c326[_0x37fc76(0x158)]-0x1,_0x381eef;_0x2b5d61>=0x0;_0x2b5d61--)(_0x381eef=_0x36c326[_0x2b5d61])&&(_0x484fbb=(_0x3493ae?_0x381eef(_0x2d70f5,_0x351261,_0x484fbb):_0x381eef(_0x484fbb))||_0x484fbb);return _0x3493ae&&_0x484fbb&&gr(_0x2d70f5,_0x351261,_0x484fbb),_0x484fbb;},zt=(_0x4e5edc,_0x47078d)=>(_0x3fa8f0,_0x3b7525)=>_0x47078d(_0x3fa8f0,_0x3b7525,_0x4e5edc);const Ir=_0x1f558c(0x13b),Tr=_0x1f558c(0x2c3);let Ct=class extends _0xc53c05{constructor(_0xcd24a3,_0x45b60e){var _0x1abde9=_0x1f558c;super(),this[_0x1abde9(0x435)]=_0xcd24a3,this[_0x1abde9(0x405)]=_0x45b60e,this['_init']();}[_0x1f558c(0x2e9)](){var _0x1c9b8a=_0x1f558c;this[_0x1c9b8a(0x2d6)](this[_0x1c9b8a(0x435)]['focused$']['subscribe'](()=>{var _0x4757fa=_0x1c9b8a,_0x16080d;const _0x529cb0=this[_0x4757fa(0x435)]['getFocusedUnit']();let _0x44ba1a=(_0x16080d=this['_configService'][_0x4757fa(0x2a0)](Ir))!=null?_0x16080d:Tr;_0x529cb0 instanceof _0x13ef59&&(_0x44ba1a=_0x529cb0[_0x4757fa(0x42a)]),document['title']=_0x44ba1a;}));}};Ct=Er([zt(0x0,_0x30c3be),zt(0x1,_0x4ea54a)],Ct);var Cr=Object[_0x1f558c(0x175)],br=Object['getOwnPropertyDescriptor'],Rr=(_0x16c3f2,_0x2d4a7e,_0x15fd13,_0x2a9bbd)=>{var _0xce15af=_0x1f558c;for(var _0x16101c=_0x2a9bbd>0x1?void 0x0:_0x2a9bbd?br(_0x2d4a7e,_0x15fd13):_0x2d4a7e,_0x2e8432=_0x16c3f2[_0xce15af(0x158)]-0x1,_0xb7514f;_0x2e8432>=0x0;_0x2e8432--)(_0xb7514f=_0x16c3f2[_0x2e8432])&&(_0x16101c=(_0x2a9bbd?_0xb7514f(_0x2d4a7e,_0x15fd13,_0x16101c):_0xb7514f(_0x16101c))||_0x16101c);return _0x2a9bbd&&_0x16101c&&Cr(_0x2d4a7e,_0x15fd13,_0x16101c),_0x16101c;},vt=(_0x5029c6,_0x58b86f)=>(_0x31eacd,_0xabf114)=>_0x58b86f(_0x31eacd,_0xabf114,_0x5029c6);let st=class{constructor(_0x35231a,_0x2eeb92,_0x35d7f7){var _0x4fd65c=_0x1f558c;this['_configService']=_0x35231a,this[_0x4fd65c(0x2d9)]=_0x2eeb92,this[_0x4fd65c(0x1cf)]=_0x35d7f7,this['init']();}[_0x1f558c(0x2e7)](){var _0x4a32f3=_0x1f558c;this[_0x4a32f3(0x2d9)][_0x4a32f3(0x251)]({'priority':0x1,'interceptor':(_0x550e13,_0x261358)=>_0x261358(_0x550e13)['pipe'](_0x574dc9(async _0x674ca7=>{var _0x31b526=_0x4a32f3;const _0x5b6847=_0x674ca7;if(_0x5b6847[_0x31b526(0x1c2)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x31b526(0x1cf)]['t'](_0x31b526(0x218)))){const _0x3891b6=window['encodeURIComponent'](window[_0x31b526(0x15a)]['href']);window['location'][_0x31b526(0x21b)]=this[_0x31b526(0x403)]()+_0x31b526(0x16c)+_0x3891b6;}}return _0x5b6847;}))});}['_getLoginPath'](){var _0x3625c1=_0x1f558c,_0x5de4d4,_0x4cfaec;const _0xfc9610=this[_0x3625c1(0x405)][_0x3625c1(0x2a0)](wn),_0x5216a1=this[_0x3625c1(0x405)]['getConfig'](q);return(_0x4cfaec=(_0x5de4d4=_0x5216a1==null?void 0x0:_0x5216a1['loginUrlKey'])!=null?_0x5de4d4:_0xfc9610)!=null?_0x4cfaec:Un;}};st=Rr([vt(0x0,_0x4ea54a),vt(0x1,_0x5b2811(_0x5b9922)),vt(0x2,_0x5b2811(_0x426c5e))],st);var Or=Object[_0x1f558c(0x175)],yr=Object[_0x1f558c(0x330)],Nr=(_0x1cbf48,_0x345d9d,_0x4a3006,_0x28e77c)=>{var _0x10e89e=_0x1f558c;for(var _0x53593d=_0x28e77c>0x1?void 0x0:_0x28e77c?yr(_0x345d9d,_0x4a3006):_0x345d9d,_0x1d4f2a=_0x1cbf48[_0x10e89e(0x158)]-0x1,_0x3b33ca;_0x1d4f2a>=0x0;_0x1d4f2a--)(_0x3b33ca=_0x1cbf48[_0x1d4f2a])&&(_0x53593d=(_0x28e77c?_0x3b33ca(_0x345d9d,_0x4a3006,_0x53593d):_0x3b33ca(_0x53593d))||_0x53593d);return _0x28e77c&&_0x53593d&&Or(_0x345d9d,_0x4a3006,_0x53593d),_0x53593d;},Jt=(_0x19d4e4,_0xe24d26)=>(_0x23ae2e,_0x5b3b1d)=>_0xe24d26(_0x23ae2e,_0x5b3b1d,_0x19d4e4);const Ni='AUTHZ_URL_KEY',Dr='/universer-api/authz';let bt=class extends _0xc53c05{constructor(_0x3e1175,_0x57c1d6){var _0x58ef39=_0x1f558c;super(),this['_HTTPService']=_0x3e1175,this[_0x58ef39(0x405)]=_0x57c1d6,this['_initMergeInterceptor']();}[_0x1f558c(0x1a5)](){var _0x40f5f5=_0x1f558c;const _0x509e6d=this;this[_0x40f5f5(0x2d6)](this[_0x40f5f5(0x2d4)][_0x40f5f5(0x251)]({'priority':0x3e7,'interceptor':_0x324ea2({'isMatch'(_0x27d9ba){var _0x542953=_0x40f5f5,_0x58be83;if(_0x27d9ba['method']===_0x542953(0x2d1)&&((_0x58be83=_0x27d9ba[_0x542953(0x1ed)])!=null&&_0x58be83[_0x542953(0x2ac)])){const {objectID:_0x408330,objectType:_0x1340ff}=_0x27d9ba[_0x542953(0x1ed)]['body']||{};if(!_0x408330||_0x1340ff===void 0x0)return!0x1;const _0x5c41c4=_0x509e6d[_0x542953(0x1ce)]()+'/'+_0x1340ff+'/object/'+_0x408330+_0x542953(0x390);if(_0x27d9ba[_0x542953(0x3c6)]===_0x5c41c4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b2365){var _0x2553ff=_0x40f5f5,_0xd32f90;return(_0xd32f90=_0x3b2365['requestParams'])==null?void 0x0:_0xd32f90[_0x2553ff(0x2ac)];},'mergeParamsToRequest'(_0x3f2918,_0x5ed504){var _0x3c4978=_0x40f5f5;const _0x7a967f=_0x509e6d[_0x3c4978(0x1ce)]()+_0x3c4978(0x1db),_0x4be17b=_0x3f2918[_0x3c4978(0x376)]((_0x1442c4,_0x33bc66)=>{var _0x578a75=_0x3c4978;const {unitID:_0x346482,objectID:_0xc0e480,objectType:_0x518002,actions:_0x4fb10d}=_0x33bc66;return _0x1442c4[_0x346482]||(_0x1442c4[_0x346482]={}),_0x1442c4[_0x346482][_0xc0e480]||(_0x1442c4[_0x346482][_0xc0e480]={'objectID':_0xc0e480,'objectType':_0x518002,'actions':[]}),_0x1442c4[_0x346482][_0xc0e480]['actions'][_0x578a75(0x1eb)](..._0x4fb10d),_0x1442c4;},{}),_0xa312f6=[];for(const _0x7b73d7 in _0x4be17b)for(const _0x2a04a2 in _0x4be17b[_0x7b73d7]){const {actions:_0x598553,objectType:_0xb6bfe}=_0x4be17b[_0x7b73d7][_0x2a04a2],_0xa42063=[...new Set(_0x598553)];_0xa312f6[_0x3c4978(0x1eb)]({'unitID':_0x7b73d7,'objectID':_0x2a04a2,'objectType':_0xb6bfe,'actions':_0xa42063});}return new _0x4ba1c4('POST',_0x7a967f,{'headers':_0x5ed504['headers'],'withCredentials':_0x5ed504['withCredentials'],'responseType':_0x5ed504[_0x3c4978(0x1d5)],'body':{'requests':_0xa312f6}});}},{'distributeResult'(_0x4522c8,_0x177471){var _0x495e40=_0x40f5f5;const {objectActions:_0x6ad2a8}=_0x4522c8;return _0x177471[_0x495e40(0x3b0)](_0x3164e8=>{var _0x384165=_0x495e40;const {unitID:_0x3f8688,objectID:_0x19e8b3,actions:_0x282fd5}=_0x3164e8,_0xa2191=_0x6ad2a8[_0x384165(0x1c5)](_0x22944d=>_0x22944d['unitID']===_0x3f8688&&_0x22944d[_0x384165(0x3a9)]===_0x19e8b3),_0x337089=_0x282fd5[_0x384165(0x3b0)](_0x5396e0=>_0xa2191==null?void 0x0:_0xa2191[_0x384165(0x2f8)]['find'](_0x9497d9=>_0x9497d9[_0x384165(0x3e9)]===_0x5396e0))['filter'](_0x30fc4b=>!!_0x30fc4b);return{'config':_0x3164e8,'result':{'actions':_0x337089,'error':_0x4522c8['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x49ee45=_0x1f558c,_0x7292b9,_0x27d3aa;const _0x32c3b0=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](Ni),_0x8e9f15=this[_0x49ee45(0x405)][_0x49ee45(0x2a0)](q);return(_0x27d3aa=(_0x7292b9=_0x8e9f15==null?void 0x0:_0x8e9f15['authzUrl'])!=null?_0x7292b9:_0x32c3b0)!=null?_0x27d3aa:Dr;}async[_0x1f558c(0x17d)](_0x2b9e33){var _0x21b4fb=_0x1f558c;const _0x5c5572=this[_0x21b4fb(0x1ce)]()+'/'+_0x2b9e33[_0x21b4fb(0x19a)]+_0x21b4fb(0x3c3);return(await this[_0x21b4fb(0x2d4)]['post'](_0x5c5572,{'body':_0x2b9e33}))['body'][_0x21b4fb(0x3a9)]||'';}async[_0x1f558c(0x13a)](_0x1a77e1){var _0x33c2dc=_0x1f558c;const _0x1bbb92=this[_0x33c2dc(0x1ce)]()+_0x33c2dc(0x1a3);return(await this['_HTTPService'][_0x33c2dc(0x268)](_0x1bbb92,{'body':_0x1a77e1}))['body'][_0x33c2dc(0x2b9)];}async[_0x1f558c(0x1fc)](_0x1fc7d6){var _0x54d130=_0x1f558c;const _0x27fe56=this['_getAPIPrefixPath']()+'/'+_0x1fc7d6[_0x54d130(0x19a)]+_0x54d130(0x3da)+_0x1fc7d6['objectID'];await this['_HTTPService']['put'](_0x27fe56,{'body':_0x1fc7d6});}async[_0x1f558c(0x256)](_0xd5c1b9){var _0x1d132b=_0x1f558c;const _0x10c31a=this['_getAPIPrefixPath']()+'/'+_0xd5c1b9[_0x1d132b(0x19a)]+'/object/'+_0xd5c1b9['objectID']+'/allowed';return(await this[_0x1d132b(0x2d4)]['post'](_0x10c31a,{'body':_0xd5c1b9}))[_0x1d132b(0x2ac)][_0x1d132b(0x2f8)];}async[_0x1f558c(0x1e0)](_0x4ca765){var _0x24e5eb=_0x1f558c;const _0x9cbc3f=this[_0x24e5eb(0x1ce)]()+_0x24e5eb(0x1db);return(await this['_HTTPService'][_0x24e5eb(0x268)](_0x9cbc3f,{'body':{'requests':_0x4ca765}}))['body'][_0x24e5eb(0x1c3)];}async[_0x1f558c(0x411)](_0x2d69bd){var _0x4a7a1a=_0x1f558c;const _0x5cbaca=this[_0x4a7a1a(0x1ce)]()+'/'+_0x2d69bd[_0x4a7a1a(0x19a)]+_0x4a7a1a(0x18a),_0x20f275=await this[_0x4a7a1a(0x2d4)][_0x4a7a1a(0x268)](_0x5cbaca,{'body':_0x2d69bd});return{'roles':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x1e8)],'actions':_0x20f275[_0x4a7a1a(0x2ac)][_0x4a7a1a(0x2f8)]};}async[_0x1f558c(0x40f)](_0x702d6c){var _0x4fe3ad=_0x1f558c;const _0x3d7273=this['_getAPIPrefixPath']()+_0x4fe3ad(0x32a);await this[_0x4fe3ad(0x2d4)]['delete'](_0x3d7273,{'params':{'collaboratorID':_0x702d6c[_0x4fe3ad(0x166)],'objectID':_0x702d6c[_0x4fe3ad(0x3a9)],'unitID':_0x702d6c[_0x4fe3ad(0x3e0)]}});}async[_0x1f558c(0x3a1)](_0x9ff1a4){var _0x1c5fb3=_0x1f558c;const _0x2e81c3=this[_0x1c5fb3(0x1ce)]()+_0x1c5fb3(0x32a);await this[_0x1c5fb3(0x2d4)][_0x1c5fb3(0x326)](_0x2e81c3,{'body':_0x9ff1a4});}async[_0x1f558c(0x2f1)](_0x579f3a){var _0x21add4=_0x1f558c;const _0x5b890d=this[_0x21add4(0x1ce)]()+_0x21add4(0x32a);await this[_0x21add4(0x2d4)]['post'](_0x5b890d,{'body':_0x579f3a});}async['listCollaborators'](_0x3c600b){var _0x2720f2=_0x1f558c;const _0x3ad0bf=this[_0x2720f2(0x1ce)]()+_0x2720f2(0x32a);return(await this['_HTTPService'][_0x2720f2(0x1e3)](_0x3ad0bf,{'params':{'objectID':_0x3c600b[_0x2720f2(0x3a9)],'unitID':_0x3c600b[_0x2720f2(0x3e0)]}}))[_0x2720f2(0x2ac)][_0x2720f2(0x181)];}async[_0x1f558c(0x162)](_0x3ecf79){var _0x7f9ab9=_0x1f558c;const _0x4d5516=this['_getAPIPrefixPath']()+_0x7f9ab9(0x32a);await this[_0x7f9ab9(0x2d4)][_0x7f9ab9(0x154)](_0x4d5516,{'body':_0x3ecf79});}};bt=Nr([Jt(0x0,_0x5b2811(_0x5b9922)),Jt(0x1,_0x5b2811(_0x4ea54a))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2c5a98){var _0x4b9bbf=_0x1f558c;return _0x2c5a98&&_0x2c5a98[_0x4b9bbf(0x1f6)]&&Object[_0x4b9bbf(0x36a)][_0x4b9bbf(0x1fb)]['call'](_0x2c5a98,_0x4b9bbf(0x20a))?_0x2c5a98[_0x4b9bbf(0x20a)]:_0x2c5a98;}var Ge={'exports':{}};function Pr(_0x1bb6e1){var _0x5a5a31=_0x1f558c;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1bb6e1+_0x5a5a31(0x259));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x386154,_0x1efd7e){(function(_0x7735ee,_0x5cfd20){var _0x5af178=_0x4725;_0x386154[_0x5af178(0x24b)]=_0x5cfd20();}(wr,function(){var _0x199ca3=_0x199ca3||function(_0x9b3f8,_0x11961c){var _0xd5443d=_0x4725,_0x1fcd98;if(typeof window<'u'&&window['crypto']&&(_0x1fcd98=window[_0xd5443d(0x3f0)]),typeof self<'u'&&self['crypto']&&(_0x1fcd98=self[_0xd5443d(0x3f0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1fcd98=globalThis[_0xd5443d(0x3f0)]),!_0x1fcd98&&typeof window<'u'&&window[_0xd5443d(0x2d3)]&&(_0x1fcd98=window[_0xd5443d(0x2d3)]),!_0x1fcd98&&typeof pt<'u'&&pt[_0xd5443d(0x3f0)]&&(_0x1fcd98=pt['crypto']),!_0x1fcd98&&typeof Pr==_0xd5443d(0x1dd))try{_0x1fcd98=require(_0xd5443d(0x3f0));}catch{}var _0x401748=function(){var _0x326496=_0xd5443d;if(_0x1fcd98){if(typeof _0x1fcd98[_0x326496(0x3ac)]==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x3ac)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fcd98['randomBytes']==_0x326496(0x1dd))try{return _0x1fcd98[_0x326496(0x195)](0x4)[_0x326496(0x400)]();}catch{}}throw new Error(_0x326496(0x3c9));},_0x550fc2=Object['create']||(function(){function _0x33b4f3(){}return function(_0x1879a9){var _0x4d1c28;return _0x33b4f3['prototype']=_0x1879a9,_0x4d1c28=new _0x33b4f3(),_0x33b4f3['prototype']=null,_0x4d1c28;};}()),_0x4b649e={},_0x178801=_0x4b649e[_0xd5443d(0x244)]={},_0x178658=_0x178801['Base']=(function(){return{'extend':function(_0x224c78){var _0x30a390=_0x4725,_0x4508ff=_0x550fc2(this);return _0x224c78&&_0x4508ff[_0x30a390(0x3cc)](_0x224c78),(!_0x4508ff[_0x30a390(0x1fb)]('init')||this['init']===_0x4508ff['init'])&&(_0x4508ff[_0x30a390(0x2e7)]=function(){var _0x545ac3=_0x30a390;_0x4508ff[_0x545ac3(0x3d0)][_0x545ac3(0x2e7)][_0x545ac3(0x1fa)](this,arguments);}),_0x4508ff[_0x30a390(0x2e7)][_0x30a390(0x36a)]=_0x4508ff,_0x4508ff[_0x30a390(0x3d0)]=this,_0x4508ff;},'create':function(){var _0x4441df=_0x4725,_0x39fbb9=this['extend']();return _0x39fbb9['init'][_0x4441df(0x1fa)](_0x39fbb9,arguments),_0x39fbb9;},'init':function(){},'mixIn':function(_0x5a114f){var _0xdf588a=_0x4725;for(var _0x1e52f2 in _0x5a114f)_0x5a114f[_0xdf588a(0x1fb)](_0x1e52f2)&&(this[_0x1e52f2]=_0x5a114f[_0x1e52f2]);_0x5a114f[_0xdf588a(0x1fb)](_0xdf588a(0x28c))&&(this[_0xdf588a(0x28c)]=_0x5a114f[_0xdf588a(0x28c)]);},'clone':function(){var _0x1c48fa=_0x4725;return this[_0x1c48fa(0x2e7)][_0x1c48fa(0x36a)][_0x1c48fa(0x22f)](this);}};}()),_0x11b207=_0x178801[_0xd5443d(0x3f3)]=_0x178658['extend']({'init':function(_0x3f9b1f,_0x2168ca){var _0x5b85c1=_0xd5443d;_0x3f9b1f=this[_0x5b85c1(0x287)]=_0x3f9b1f||[],_0x2168ca!=_0x11961c?this[_0x5b85c1(0x1bf)]=_0x2168ca:this[_0x5b85c1(0x1bf)]=_0x3f9b1f[_0x5b85c1(0x158)]*0x4;},'toString':function(_0x29e3a6){var _0x792981=_0xd5443d;return(_0x29e3a6||_0x56255b)[_0x792981(0x283)](this);},'concat':function(_0x21eac8){var _0x41ac1d=_0xd5443d,_0x1d6f99=this['words'],_0x39a771=_0x21eac8['words'],_0x5d7867=this[_0x41ac1d(0x1bf)],_0x4d2869=_0x21eac8['sigBytes'];if(this[_0x41ac1d(0x1df)](),_0x5d7867%0x4)for(var _0x1b747e=0x0;_0x1b747e<_0x4d2869;_0x1b747e++){var _0x26362f=_0x39a771[_0x1b747e>>>0x2]>>>0x18-_0x1b747e%0x4*0x8&0xff;_0x1d6f99[_0x5d7867+_0x1b747e>>>0x2]|=_0x26362f<<0x18-(_0x5d7867+_0x1b747e)%0x4*0x8;}else{for(var _0x503025=0x0;_0x503025<_0x4d2869;_0x503025+=0x4)_0x1d6f99[_0x5d7867+_0x503025>>>0x2]=_0x39a771[_0x503025>>>0x2];}return this[_0x41ac1d(0x1bf)]+=_0x4d2869,this;},'clamp':function(){var _0x6a5cb5=_0xd5443d,_0x4e2383=this[_0x6a5cb5(0x287)],_0x111254=this[_0x6a5cb5(0x1bf)];_0x4e2383[_0x111254>>>0x2]&=0xffffffff<<0x20-_0x111254%0x4*0x8,_0x4e2383[_0x6a5cb5(0x158)]=_0x9b3f8[_0x6a5cb5(0x35b)](_0x111254/0x4);},'clone':function(){var _0x18faef=_0xd5443d,_0x48b758=_0x178658[_0x18faef(0x395)][_0x18faef(0x178)](this);return _0x48b758['words']=this['words']['slice'](0x0),_0x48b758;},'random':function(_0x367664){var _0x4ba093=_0xd5443d;for(var _0x23ce07=[],_0xe216fc=0x0;_0xe216fc<_0x367664;_0xe216fc+=0x4)_0x23ce07[_0x4ba093(0x1eb)](_0x401748());return new _0x11b207[(_0x4ba093(0x2e7))](_0x23ce07,_0x367664);}}),_0x34dbda=_0x4b649e[_0xd5443d(0x349)]={},_0x56255b=_0x34dbda['Hex']={'stringify':function(_0x591005){var _0x28f065=_0xd5443d;for(var _0x1fc758=_0x591005[_0x28f065(0x287)],_0x37915a=_0x591005[_0x28f065(0x1bf)],_0x4e4b73=[],_0x3eff98=0x0;_0x3eff98<_0x37915a;_0x3eff98++){var _0x21a49c=_0x1fc758[_0x3eff98>>>0x2]>>>0x18-_0x3eff98%0x4*0x8&0xff;_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c>>>0x4)[_0x28f065(0x28c)](0x10)),_0x4e4b73[_0x28f065(0x1eb)]((_0x21a49c&0xf)['toString'](0x10));}return _0x4e4b73[_0x28f065(0x1be)]('');},'parse':function(_0x39a9ad){var _0x34c90f=_0xd5443d;for(var _0x21ac4a=_0x39a9ad[_0x34c90f(0x158)],_0x4c115d=[],_0x1d7eaf=0x0;_0x1d7eaf<_0x21ac4a;_0x1d7eaf+=0x2)_0x4c115d[_0x1d7eaf>>>0x3]|=parseInt(_0x39a9ad[_0x34c90f(0x217)](_0x1d7eaf,0x2),0x10)<<0x18-_0x1d7eaf%0x8*0x4;return new _0x11b207[(_0x34c90f(0x2e7))](_0x4c115d,_0x21ac4a/0x2);}},_0x2c8a9f=_0x34dbda['Latin1']={'stringify':function(_0x11534a){var _0x29a41c=_0xd5443d;for(var _0x19d2da=_0x11534a[_0x29a41c(0x287)],_0xdb4870=_0x11534a[_0x29a41c(0x1bf)],_0x33bebc=[],_0xbb115e=0x0;_0xbb115e<_0xdb4870;_0xbb115e++){var _0x25f710=_0x19d2da[_0xbb115e>>>0x2]>>>0x18-_0xbb115e%0x4*0x8&0xff;_0x33bebc[_0x29a41c(0x1eb)](String[_0x29a41c(0x37f)](_0x25f710));}return _0x33bebc[_0x29a41c(0x1be)]('');},'parse':function(_0x40f157){var _0x41ac8a=_0xd5443d;for(var _0x527c98=_0x40f157['length'],_0x4e8dd8=[],_0x36f6c5=0x0;_0x36f6c5<_0x527c98;_0x36f6c5++)_0x4e8dd8[_0x36f6c5>>>0x2]|=(_0x40f157[_0x41ac8a(0x406)](_0x36f6c5)&0xff)<<0x18-_0x36f6c5%0x4*0x8;return new _0x11b207[(_0x41ac8a(0x2e7))](_0x4e8dd8,_0x527c98);}},_0x4d89a8=_0x34dbda[_0xd5443d(0x39c)]={'stringify':function(_0x310b01){var _0x37ca7f=_0xd5443d;try{return decodeURIComponent(escape(_0x2c8a9f[_0x37ca7f(0x283)](_0x310b01)));}catch{throw new Error(_0x37ca7f(0x31a));}},'parse':function(_0x5486aa){return _0x2c8a9f['parse'](unescape(encodeURIComponent(_0x5486aa)));}},_0x52116d=_0x178801[_0xd5443d(0x3e2)]=_0x178658[_0xd5443d(0x22f)]({'reset':function(){var _0x4dabbd=_0xd5443d;this['_data']=new _0x11b207[(_0x4dabbd(0x2e7))](),this[_0x4dabbd(0x2ba)]=0x0;},'_append':function(_0x197b68){var _0x36395c=_0xd5443d;typeof _0x197b68=='string'&&(_0x197b68=_0x4d89a8[_0x36395c(0x234)](_0x197b68)),this[_0x36395c(0x2ca)][_0x36395c(0x147)](_0x197b68),this[_0x36395c(0x2ba)]+=_0x197b68['sigBytes'];},'_process':function(_0x3e568c){var _0x26df41=_0xd5443d,_0x181577,_0x46c75b=this['_data'],_0x4718d4=_0x46c75b[_0x26df41(0x287)],_0x78f0df=_0x46c75b[_0x26df41(0x1bf)],_0x59184c=this[_0x26df41(0x3b6)],_0x2bbd39=_0x59184c*0x4,_0x4c0f63=_0x78f0df/_0x2bbd39;_0x3e568c?_0x4c0f63=_0x9b3f8[_0x26df41(0x35b)](_0x4c0f63):_0x4c0f63=_0x9b3f8[_0x26df41(0x3de)]((_0x4c0f63|0x0)-this[_0x26df41(0x2fb)],0x0);var _0x376057=_0x4c0f63*_0x59184c,_0xd89c26=_0x9b3f8[_0x26df41(0x420)](_0x376057*0x4,_0x78f0df);if(_0x376057){for(var _0xfb7c72=0x0;_0xfb7c72<_0x376057;_0xfb7c72+=_0x59184c)this[_0x26df41(0x33a)](_0x4718d4,_0xfb7c72);_0x181577=_0x4718d4[_0x26df41(0x252)](0x0,_0x376057),_0x46c75b['sigBytes']-=_0xd89c26;}return new _0x11b207[(_0x26df41(0x2e7))](_0x181577,_0xd89c26);},'clone':function(){var _0x27d281=_0xd5443d,_0x304030=_0x178658['clone'][_0x27d281(0x178)](this);return _0x304030[_0x27d281(0x2ca)]=this['_data']['clone'](),_0x304030;},'_minBufferSize':0x0});_0x178801[_0xd5443d(0x1c6)]=_0x52116d[_0xd5443d(0x22f)]({'cfg':_0x178658['extend'](),'init':function(_0x1f02cf){var _0x1e9eff=_0xd5443d;this[_0x1e9eff(0x236)]=this['cfg'][_0x1e9eff(0x22f)](_0x1f02cf),this['reset']();},'reset':function(){var _0x325479=_0xd5443d;_0x52116d[_0x325479(0x43a)]['call'](this),this[_0x325479(0x3c0)]();},'update':function(_0x508950){var _0x2ff3dc=_0xd5443d;return this[_0x2ff3dc(0x203)](_0x508950),this[_0x2ff3dc(0x2dc)](),this;},'finalize':function(_0x5b090b){var _0x69ea75=_0xd5443d;_0x5b090b&&this[_0x69ea75(0x203)](_0x5b090b);var _0x25204c=this[_0x69ea75(0x30e)]();return _0x25204c;},'blockSize':0x10,'_createHelper':function(_0xcfe9c8){return function(_0x2df44a,_0x276913){var _0x406a3b=_0x4725;return new _0xcfe9c8[(_0x406a3b(0x2e7))](_0x276913)[_0x406a3b(0x327)](_0x2df44a);};},'_createHmacHelper':function(_0x307f98){return function(_0x194840,_0x3924a2){var _0x5bd76c=_0x4725;return new _0x4ec396[(_0x5bd76c(0x322))]['init'](_0x307f98,_0x3924a2)[_0x5bd76c(0x327)](_0x194840);};}});var _0x4ec396=_0x4b649e[_0xd5443d(0x135)]={};return _0x4b649e;}(Math);return _0x199ca3;}));}(Ve)),Ve['exports'];}var We={'exports':{}},Ur=We[_0x1f558c(0x24b)],Zt;function Di(){var _0x2006f8=_0x1f558c;return Zt||(Zt=0x1,function(_0x2f8b80,_0x1fc25e){(function(_0x581189,_0x10400c){var _0x1d4961=_0x4725;_0x2f8b80[_0x1d4961(0x24b)]=_0x10400c(ie());}(Ur,function(_0x49d68d){var _0x55a5a7=_0x4725;return(function(){var _0x39b325=_0x4725,_0x2d0101=_0x49d68d,_0x16225e=_0x2d0101[_0x39b325(0x244)],_0x5eae84=_0x16225e[_0x39b325(0x3f3)],_0x1d9feb=_0x2d0101[_0x39b325(0x349)];_0x1d9feb['Base64']={'stringify':function(_0x1a9c50){var _0x284bec=_0x39b325,_0xba8b4b=_0x1a9c50[_0x284bec(0x287)],_0x4e08e8=_0x1a9c50[_0x284bec(0x1bf)],_0x4e5760=this[_0x284bec(0x2a3)];_0x1a9c50[_0x284bec(0x1df)]();for(var _0x127d43=[],_0x3eb063=0x0;_0x3eb063<_0x4e08e8;_0x3eb063+=0x3)for(var _0x1dfdf9=_0xba8b4b[_0x3eb063>>>0x2]>>>0x18-_0x3eb063%0x4*0x8&0xff,_0x1621d6=_0xba8b4b[_0x3eb063+0x1>>>0x2]>>>0x18-(_0x3eb063+0x1)%0x4*0x8&0xff,_0x4a7ec3=_0xba8b4b[_0x3eb063+0x2>>>0x2]>>>0x18-(_0x3eb063+0x2)%0x4*0x8&0xff,_0x5c81cc=_0x1dfdf9<<0x10|_0x1621d6<<0x8|_0x4a7ec3,_0x5ed90a=0x0;_0x5ed90a<0x4&&_0x3eb063+_0x5ed90a*0.75<_0x4e08e8;_0x5ed90a++)_0x127d43[_0x284bec(0x1eb)](_0x4e5760['charAt'](_0x5c81cc>>>0x6*(0x3-_0x5ed90a)&0x3f));var _0x2ed03a=_0x4e5760[_0x284bec(0x23e)](0x40);if(_0x2ed03a){for(;_0x127d43[_0x284bec(0x158)]%0x4;)_0x127d43[_0x284bec(0x1eb)](_0x2ed03a);}return _0x127d43[_0x284bec(0x1be)]('');},'parse':function(_0x4f3c8f){var _0x11cde2=_0x39b325,_0x1a6e64=_0x4f3c8f[_0x11cde2(0x158)],_0x3f2deb=this['_map'],_0x14375b=this[_0x11cde2(0x15c)];if(!_0x14375b){_0x14375b=this['_reverseMap']=[];for(var _0xdf6c7e=0x0;_0xdf6c7e<_0x3f2deb['length'];_0xdf6c7e++)_0x14375b[_0x3f2deb[_0x11cde2(0x406)](_0xdf6c7e)]=_0xdf6c7e;}var _0x491d4e=_0x3f2deb[_0x11cde2(0x23e)](0x40);if(_0x491d4e){var _0x20be19=_0x4f3c8f[_0x11cde2(0x431)](_0x491d4e);_0x20be19!==-0x1&&(_0x1a6e64=_0x20be19);}return _0x58bd0e(_0x4f3c8f,_0x1a6e64,_0x14375b);},'_map':_0x39b325(0x28e)};function _0x58bd0e(_0xb32d85,_0x2ae40f,_0x2ad3fa){var _0x48aba3=_0x39b325;for(var _0x552882=[],_0x56c44c=0x0,_0x4f149c=0x0;_0x4f149c<_0x2ae40f;_0x4f149c++)if(_0x4f149c%0x4){var _0x1691e6=_0x2ad3fa[_0xb32d85[_0x48aba3(0x406)](_0x4f149c-0x1)]<<_0x4f149c%0x4*0x2,_0xd02c0a=_0x2ad3fa[_0xb32d85['charCodeAt'](_0x4f149c)]>>>0x6-_0x4f149c%0x4*0x2,_0x2447bf=_0x1691e6|_0xd02c0a;_0x552882[_0x56c44c>>>0x2]|=_0x2447bf<<0x18-_0x56c44c%0x4*0x8,_0x56c44c++;}return _0x5eae84[_0x48aba3(0x17d)](_0x552882,_0x56c44c);}}()),_0x49d68d[_0x55a5a7(0x349)][_0x55a5a7(0x235)];}));}(We)),We[_0x2006f8(0x24b)];}var Ke={'exports':{}},Ar=Ke[_0x1f558c(0x24b)],Qt;function xr(){var _0x5e706f=_0x1f558c;return Qt||(Qt=0x1,function(_0xb7e99c,_0x5a1f41){(function(_0x38c4b7,_0x58c539){var _0x19be49=_0x4725;_0xb7e99c[_0x19be49(0x24b)]=_0x58c539(ie());}(Ar,function(_0x26c65b){var _0x40ea53=_0x4725;return function(_0x34044d){var _0x2b4789=_0x4725,_0x34e599=_0x26c65b,_0x4b9df0=_0x34e599[_0x2b4789(0x244)],_0x7746c3=_0x4b9df0[_0x2b4789(0x3f3)],_0xf6109a=_0x4b9df0[_0x2b4789(0x1c6)],_0x21fbb1=_0x34e599['algo'],_0x66806c=[];(function(){var _0x30e822=_0x2b4789;for(var _0x40cec8=0x0;_0x40cec8<0x40;_0x40cec8++)_0x66806c[_0x40cec8]=_0x34044d[_0x30e822(0x2c2)](_0x34044d['sin'](_0x40cec8+0x1))*0x100000000|0x0;}());var _0x1267cc=_0x21fbb1[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x22f)]({'_doReset':function(){var _0xc47b44=_0x2b4789;this['_hash']=new _0x7746c3[(_0xc47b44(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x77f11d,_0x38fb01){var _0x210da5=_0x2b4789;for(var _0x57c6af=0x0;_0x57c6af<0x10;_0x57c6af++){var _0x2c5314=_0x38fb01+_0x57c6af,_0x5d48c6=_0x77f11d[_0x2c5314];_0x77f11d[_0x2c5314]=(_0x5d48c6<<0x8|_0x5d48c6>>>0x18)&0xff00ff|(_0x5d48c6<<0x18|_0x5d48c6>>>0x8)&0xff00ff00;}var _0x3bb696=this['_hash'][_0x210da5(0x287)],_0x21dea3=_0x77f11d[_0x38fb01+0x0],_0x5bb799=_0x77f11d[_0x38fb01+0x1],_0x2fd8be=_0x77f11d[_0x38fb01+0x2],_0x4d5063=_0x77f11d[_0x38fb01+0x3],_0x47fa74=_0x77f11d[_0x38fb01+0x4],_0x500a33=_0x77f11d[_0x38fb01+0x5],_0x4ac336=_0x77f11d[_0x38fb01+0x6],_0x149fe7=_0x77f11d[_0x38fb01+0x7],_0x1b3b85=_0x77f11d[_0x38fb01+0x8],_0xb64e7=_0x77f11d[_0x38fb01+0x9],_0x3a5517=_0x77f11d[_0x38fb01+0xa],_0x2d5815=_0x77f11d[_0x38fb01+0xb],_0xa11665=_0x77f11d[_0x38fb01+0xc],_0x489fcf=_0x77f11d[_0x38fb01+0xd],_0x5581d7=_0x77f11d[_0x38fb01+0xe],_0x325286=_0x77f11d[_0x38fb01+0xf],_0x8666f1=_0x3bb696[0x0],_0x4e06fd=_0x3bb696[0x1],_0x2f2443=_0x3bb696[0x2],_0xcb00bb=_0x3bb696[0x3];_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x7,_0x66806c[0x0]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5bb799,0xc,_0x66806c[0x1]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0x11,_0x66806c[0x2]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4d5063,0x16,_0x66806c[0x3]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x7,_0x66806c[0x4]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x500a33,0xc,_0x66806c[0x5]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0x11,_0x66806c[0x6]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x149fe7,0x16,_0x66806c[0x7]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x7,_0x66806c[0x8]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xb64e7,0xc,_0x66806c[0x9]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0x11,_0x66806c[0xa]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2d5815,0x16,_0x66806c[0xb]),_0x8666f1=_0x3d666c(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x7,_0x66806c[0xc]),_0xcb00bb=_0x3d666c(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x489fcf,0xc,_0x66806c[0xd]),_0x2f2443=_0x3d666c(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0x11,_0x66806c[0xe]),_0x4e06fd=_0x3d666c(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x325286,0x16,_0x66806c[0xf]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x5,_0x66806c[0x10]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4ac336,0x9,_0x66806c[0x11]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0xe,_0x66806c[0x12]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x21dea3,0x14,_0x66806c[0x13]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x5,_0x66806c[0x14]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x3a5517,0x9,_0x66806c[0x15]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0xe,_0x66806c[0x16]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x47fa74,0x14,_0x66806c[0x17]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x5,_0x66806c[0x18]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x5581d7,0x9,_0x66806c[0x19]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0xe,_0x66806c[0x1a]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x1b3b85,0x14,_0x66806c[0x1b]),_0x8666f1=_0x2fcf24(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x5,_0x66806c[0x1c]),_0xcb00bb=_0x2fcf24(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2fd8be,0x9,_0x66806c[0x1d]),_0x2f2443=_0x2fcf24(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0xe,_0x66806c[0x1e]),_0x4e06fd=_0x2fcf24(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xa11665,0x14,_0x66806c[0x1f]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x500a33,0x4,_0x66806c[0x20]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x1b3b85,0xb,_0x66806c[0x21]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2d5815,0x10,_0x66806c[0x22]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5581d7,0x17,_0x66806c[0x23]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x5bb799,0x4,_0x66806c[0x24]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x47fa74,0xb,_0x66806c[0x25]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x149fe7,0x10,_0x66806c[0x26]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x3a5517,0x17,_0x66806c[0x27]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x489fcf,0x4,_0x66806c[0x28]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x21dea3,0xb,_0x66806c[0x29]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4d5063,0x10,_0x66806c[0x2a]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x4ac336,0x17,_0x66806c[0x2b]),_0x8666f1=_0x59d49b(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xb64e7,0x4,_0x66806c[0x2c]),_0xcb00bb=_0x59d49b(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0xa11665,0xb,_0x66806c[0x2d]),_0x2f2443=_0x59d49b(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x325286,0x10,_0x66806c[0x2e]),_0x4e06fd=_0x59d49b(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x2fd8be,0x17,_0x66806c[0x2f]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x21dea3,0x6,_0x66806c[0x30]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x149fe7,0xa,_0x66806c[0x31]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x5581d7,0xf,_0x66806c[0x32]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x500a33,0x15,_0x66806c[0x33]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0xa11665,0x6,_0x66806c[0x34]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x4d5063,0xa,_0x66806c[0x35]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x3a5517,0xf,_0x66806c[0x36]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x5bb799,0x15,_0x66806c[0x37]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x1b3b85,0x6,_0x66806c[0x38]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x325286,0xa,_0x66806c[0x39]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x4ac336,0xf,_0x66806c[0x3a]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0x489fcf,0x15,_0x66806c[0x3b]),_0x8666f1=_0x455b83(_0x8666f1,_0x4e06fd,_0x2f2443,_0xcb00bb,_0x47fa74,0x6,_0x66806c[0x3c]),_0xcb00bb=_0x455b83(_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2f2443,_0x2d5815,0xa,_0x66806c[0x3d]),_0x2f2443=_0x455b83(_0x2f2443,_0xcb00bb,_0x8666f1,_0x4e06fd,_0x2fd8be,0xf,_0x66806c[0x3e]),_0x4e06fd=_0x455b83(_0x4e06fd,_0x2f2443,_0xcb00bb,_0x8666f1,_0xb64e7,0x15,_0x66806c[0x3f]),_0x3bb696[0x0]=_0x3bb696[0x0]+_0x8666f1|0x0,_0x3bb696[0x1]=_0x3bb696[0x1]+_0x4e06fd|0x0,_0x3bb696[0x2]=_0x3bb696[0x2]+_0x2f2443|0x0,_0x3bb696[0x3]=_0x3bb696[0x3]+_0xcb00bb|0x0;},'_doFinalize':function(){var _0x2f84c8=_0x2b4789,_0x5d68e8=this[_0x2f84c8(0x2ca)],_0x11d792=_0x5d68e8['words'],_0x26cc3d=this['_nDataBytes']*0x8,_0x527695=_0x5d68e8[_0x2f84c8(0x1bf)]*0x8;_0x11d792[_0x527695>>>0x5]|=0x80<<0x18-_0x527695%0x20;var _0x162c3e=_0x34044d['floor'](_0x26cc3d/0x100000000),_0x2cc930=_0x26cc3d;_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xf]=(_0x162c3e<<0x8|_0x162c3e>>>0x18)&0xff00ff|(_0x162c3e<<0x18|_0x162c3e>>>0x8)&0xff00ff00,_0x11d792[(_0x527695+0x40>>>0x9<<0x4)+0xe]=(_0x2cc930<<0x8|_0x2cc930>>>0x18)&0xff00ff|(_0x2cc930<<0x18|_0x2cc930>>>0x8)&0xff00ff00,_0x5d68e8[_0x2f84c8(0x1bf)]=(_0x11d792[_0x2f84c8(0x158)]+0x1)*0x4,this[_0x2f84c8(0x2dc)]();for(var _0x5d7e38=this['_hash'],_0x5c6eec=_0x5d7e38[_0x2f84c8(0x287)],_0xd81d92=0x0;_0xd81d92<0x4;_0xd81d92++){var _0x82575=_0x5c6eec[_0xd81d92];_0x5c6eec[_0xd81d92]=(_0x82575<<0x8|_0x82575>>>0x18)&0xff00ff|(_0x82575<<0x18|_0x82575>>>0x8)&0xff00ff00;}return _0x5d7e38;},'clone':function(){var _0x561c05=_0x2b4789,_0x36ee23=_0xf6109a[_0x561c05(0x395)]['call'](this);return _0x36ee23[_0x561c05(0x276)]=this[_0x561c05(0x276)][_0x561c05(0x395)](),_0x36ee23;}});function _0x3d666c(_0x381b11,_0x5f5624,_0x1356a3,_0x1cf1ec,_0x3c55aa,_0x411ca3,_0x5451ab){var _0x52d927=_0x381b11+(_0x5f5624&_0x1356a3|~_0x5f5624&_0x1cf1ec)+_0x3c55aa+_0x5451ab;return(_0x52d927<<_0x411ca3|_0x52d927>>>0x20-_0x411ca3)+_0x5f5624;}function _0x2fcf24(_0xd829b8,_0x54df79,_0x351db3,_0x41bc24,_0x50408c,_0x2e46b7,_0x54a61e){var _0x38ab29=_0xd829b8+(_0x54df79&_0x41bc24|_0x351db3&~_0x41bc24)+_0x50408c+_0x54a61e;return(_0x38ab29<<_0x2e46b7|_0x38ab29>>>0x20-_0x2e46b7)+_0x54df79;}function _0x59d49b(_0x368f3d,_0x1068a6,_0x11d669,_0x8ca0f,_0x15dd9d,_0x640d6c,_0x386df5){var _0x330b66=_0x368f3d+(_0x1068a6^_0x11d669^_0x8ca0f)+_0x15dd9d+_0x386df5;return(_0x330b66<<_0x640d6c|_0x330b66>>>0x20-_0x640d6c)+_0x1068a6;}function _0x455b83(_0x188c09,_0x304b49,_0x5d29a1,_0x4736f0,_0x44c367,_0x4a9f81,_0x280328){var _0x792a5=_0x188c09+(_0x5d29a1^(_0x304b49|~_0x4736f0))+_0x44c367+_0x280328;return(_0x792a5<<_0x4a9f81|_0x792a5>>>0x20-_0x4a9f81)+_0x304b49;}_0x34e599[_0x2b4789(0x416)]=_0xf6109a[_0x2b4789(0x36e)](_0x1267cc),_0x34e599[_0x2b4789(0x1e9)]=_0xf6109a[_0x2b4789(0x296)](_0x1267cc);}(Math),_0x26c65b[_0x40ea53(0x416)];}));}(Ke)),Ke[_0x5e706f(0x24b)];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe[_0x1f558c(0x24b)],ei;function Mr(){var _0xc6b48=_0x1f558c;return ei||(ei=0x1,function(_0x4c8e19,_0xf0135d){(function(_0x3face4,_0x3d49b0){var _0x1795f6=_0x4725;_0x4c8e19[_0x1795f6(0x24b)]=_0x3d49b0(ie());}(Lr,function(_0x28db15){var _0x47f2b2=_0x4725;return(function(){var _0x33d6d4=_0x4725,_0x1dbc39=_0x28db15,_0x3ae3c2=_0x1dbc39[_0x33d6d4(0x244)],_0x12b31b=_0x3ae3c2[_0x33d6d4(0x3f3)],_0xf1e8b2=_0x3ae3c2[_0x33d6d4(0x1c6)],_0x73bc9e=_0x1dbc39['algo'],_0x4c8162=[],_0x488e7d=_0x73bc9e[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x22f)]({'_doReset':function(){var _0x5781f3=_0x33d6d4;this['_hash']=new _0x12b31b[(_0x5781f3(0x2e7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3fa6e9,_0x46308b){var _0x368ae9=_0x33d6d4;for(var _0x4ae3bb=this[_0x368ae9(0x276)][_0x368ae9(0x287)],_0x188a17=_0x4ae3bb[0x0],_0x312baa=_0x4ae3bb[0x1],_0x30bf76=_0x4ae3bb[0x2],_0x3e8a26=_0x4ae3bb[0x3],_0x5d468e=_0x4ae3bb[0x4],_0x3ce10a=0x0;_0x3ce10a<0x50;_0x3ce10a++){if(_0x3ce10a<0x10)_0x4c8162[_0x3ce10a]=_0x3fa6e9[_0x46308b+_0x3ce10a]|0x0;else{var _0x3a1184=_0x4c8162[_0x3ce10a-0x3]^_0x4c8162[_0x3ce10a-0x8]^_0x4c8162[_0x3ce10a-0xe]^_0x4c8162[_0x3ce10a-0x10];_0x4c8162[_0x3ce10a]=_0x3a1184<<0x1|_0x3a1184>>>0x1f;}var _0xd8c0a1=(_0x188a17<<0x5|_0x188a17>>>0x1b)+_0x5d468e+_0x4c8162[_0x3ce10a];_0x3ce10a<0x14?_0xd8c0a1+=(_0x312baa&_0x30bf76|~_0x312baa&_0x3e8a26)+0x5a827999:_0x3ce10a<0x28?_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)+0x6ed9eba1:_0x3ce10a<0x3c?_0xd8c0a1+=(_0x312baa&_0x30bf76|_0x312baa&_0x3e8a26|_0x30bf76&_0x3e8a26)-0x70e44324:_0xd8c0a1+=(_0x312baa^_0x30bf76^_0x3e8a26)-0x359d3e2a,_0x5d468e=_0x3e8a26,_0x3e8a26=_0x30bf76,_0x30bf76=_0x312baa<<0x1e|_0x312baa>>>0x2,_0x312baa=_0x188a17,_0x188a17=_0xd8c0a1;}_0x4ae3bb[0x0]=_0x4ae3bb[0x0]+_0x188a17|0x0,_0x4ae3bb[0x1]=_0x4ae3bb[0x1]+_0x312baa|0x0,_0x4ae3bb[0x2]=_0x4ae3bb[0x2]+_0x30bf76|0x0,_0x4ae3bb[0x3]=_0x4ae3bb[0x3]+_0x3e8a26|0x0,_0x4ae3bb[0x4]=_0x4ae3bb[0x4]+_0x5d468e|0x0;},'_doFinalize':function(){var _0x4cfdda=_0x33d6d4,_0xeecb07=this[_0x4cfdda(0x2ca)],_0x54ec78=_0xeecb07['words'],_0x1d05a2=this[_0x4cfdda(0x2ba)]*0x8,_0x5cf316=_0xeecb07[_0x4cfdda(0x1bf)]*0x8;return _0x54ec78[_0x5cf316>>>0x5]|=0x80<<0x18-_0x5cf316%0x20,_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xe]=Math[_0x4cfdda(0x183)](_0x1d05a2/0x100000000),_0x54ec78[(_0x5cf316+0x40>>>0x9<<0x4)+0xf]=_0x1d05a2,_0xeecb07[_0x4cfdda(0x1bf)]=_0x54ec78[_0x4cfdda(0x158)]*0x4,this['_process'](),this[_0x4cfdda(0x276)];},'clone':function(){var _0x154189=_0x33d6d4,_0x32e28a=_0xf1e8b2['clone']['call'](this);return _0x32e28a[_0x154189(0x276)]=this[_0x154189(0x276)][_0x154189(0x395)](),_0x32e28a;}});_0x1dbc39[_0x33d6d4(0x38f)]=_0xf1e8b2[_0x33d6d4(0x36e)](_0x488e7d),_0x1dbc39[_0x33d6d4(0x363)]=_0xf1e8b2['_createHmacHelper'](_0x488e7d);}()),_0x28db15[_0x47f2b2(0x38f)];}));}(qe)),qe[_0xc6b48(0x24b)];}var ze={'exports':{}},$r=ze[_0x1f558c(0x24b)],ti;function Hr(){return ti||(ti=0x1,function(_0x4ae1cd,_0x534a77){(function(_0x463b81,_0x283319){_0x4ae1cd['exports']=_0x283319(ie());}($r,function(_0x169224){(function(){var _0x5d27b2=_0x4725,_0x48814d=_0x169224,_0x4243cd=_0x48814d[_0x5d27b2(0x244)],_0x3fbb41=_0x4243cd[_0x5d27b2(0x238)],_0x1014c1=_0x48814d[_0x5d27b2(0x349)],_0x2bb41a=_0x1014c1[_0x5d27b2(0x39c)],_0x9d0752=_0x48814d[_0x5d27b2(0x135)];_0x9d0752[_0x5d27b2(0x322)]=_0x3fbb41[_0x5d27b2(0x22f)]({'init':function(_0x5730a9,_0x254192){var _0x1ada4d=_0x5d27b2;_0x5730a9=this[_0x1ada4d(0x40c)]=new _0x5730a9['init'](),typeof _0x254192==_0x1ada4d(0x3ee)&&(_0x254192=_0x2bb41a[_0x1ada4d(0x234)](_0x254192));var _0x301cbf=_0x5730a9[_0x1ada4d(0x3b6)],_0x2ed8d3=_0x301cbf*0x4;_0x254192[_0x1ada4d(0x1bf)]>_0x2ed8d3&&(_0x254192=_0x5730a9['finalize'](_0x254192)),_0x254192[_0x1ada4d(0x1df)]();for(var _0x2a3c52=this[_0x1ada4d(0x342)]=_0x254192[_0x1ada4d(0x395)](),_0x5b55ca=this['_iKey']=_0x254192[_0x1ada4d(0x395)](),_0x10db9d=_0x2a3c52[_0x1ada4d(0x287)],_0x16bee5=_0x5b55ca[_0x1ada4d(0x287)],_0x4c5320=0x0;_0x4c5320<_0x301cbf;_0x4c5320++)_0x10db9d[_0x4c5320]^=0x5c5c5c5c,_0x16bee5[_0x4c5320]^=0x36363636;_0x2a3c52['sigBytes']=_0x5b55ca[_0x1ada4d(0x1bf)]=_0x2ed8d3,this[_0x1ada4d(0x43a)]();},'reset':function(){var _0x1cf0bc=_0x5d27b2,_0x1e4347=this['_hasher'];_0x1e4347[_0x1cf0bc(0x43a)](),_0x1e4347['update'](this[_0x1cf0bc(0x134)]);},'update':function(_0x5b627c){var _0x56ecb6=_0x5d27b2;return this[_0x56ecb6(0x40c)][_0x56ecb6(0x1fc)](_0x5b627c),this;},'finalize':function(_0x3a81e5){var _0x13ec2f=_0x5d27b2,_0x530e8c=this[_0x13ec2f(0x40c)],_0x20d78b=_0x530e8c[_0x13ec2f(0x327)](_0x3a81e5);_0x530e8c[_0x13ec2f(0x43a)]();var _0x24b476=_0x530e8c[_0x13ec2f(0x327)](this[_0x13ec2f(0x342)][_0x13ec2f(0x395)]()[_0x13ec2f(0x147)](_0x20d78b));return _0x24b476;}});}());}));}(ze)),ze['exports'];}var kr=Ye[_0x1f558c(0x24b)],ii;function Pi(){var _0xb8b628=_0x1f558c;return ii||(ii=0x1,function(_0x191d16,_0x2c51df){(function(_0x18b02f,_0x1f7166,_0x4a5e9d){var _0x3ba051=_0x4725;_0x191d16[_0x3ba051(0x24b)]=_0x1f7166(ie(),Mr(),Hr());}(kr,function(_0x51150e){var _0x1a5ffc=_0x4725;return(function(){var _0x82b45f=_0x4725,_0x104585=_0x51150e,_0x185e1a=_0x104585[_0x82b45f(0x244)],_0x30716e=_0x185e1a[_0x82b45f(0x238)],_0x2fd353=_0x185e1a[_0x82b45f(0x3f3)],_0x4289bf=_0x104585[_0x82b45f(0x135)],_0x46a857=_0x4289bf[_0x82b45f(0x416)],_0x405d5b=_0x4289bf[_0x82b45f(0x30a)]=_0x30716e[_0x82b45f(0x22f)]({'cfg':_0x30716e[_0x82b45f(0x22f)]({'keySize':0x80/0x20,'hasher':_0x46a857,'iterations':0x1}),'init':function(_0xe4e305){var _0x53ac42=_0x82b45f;this['cfg']=this[_0x53ac42(0x236)][_0x53ac42(0x22f)](_0xe4e305);},'compute':function(_0x3eef1d,_0x885fa){var _0x244f1b=_0x82b45f;for(var _0x4ba21e,_0x388c63=this[_0x244f1b(0x236)],_0x534eb9=_0x388c63[_0x244f1b(0x379)][_0x244f1b(0x17d)](),_0x468e01=_0x2fd353[_0x244f1b(0x17d)](),_0x4b1dbb=_0x468e01[_0x244f1b(0x287)],_0x48bed3=_0x388c63[_0x244f1b(0x314)],_0x119a8e=_0x388c63[_0x244f1b(0x194)];_0x4b1dbb['length']<_0x48bed3;){_0x4ba21e&&_0x534eb9['update'](_0x4ba21e),_0x4ba21e=_0x534eb9[_0x244f1b(0x1fc)](_0x3eef1d)['finalize'](_0x885fa),_0x534eb9[_0x244f1b(0x43a)]();for(var _0x45d5df=0x1;_0x45d5df<_0x119a8e;_0x45d5df++)_0x4ba21e=_0x534eb9[_0x244f1b(0x327)](_0x4ba21e),_0x534eb9[_0x244f1b(0x43a)]();_0x468e01[_0x244f1b(0x147)](_0x4ba21e);}return _0x468e01[_0x244f1b(0x1bf)]=_0x48bed3*0x4,_0x468e01;}});_0x104585[_0x82b45f(0x30a)]=function(_0xa00aa1,_0x11d87d,_0x29b316){var _0x2a8d8b=_0x82b45f;return _0x405d5b['create'](_0x29b316)[_0x2a8d8b(0x1b7)](_0xa00aa1,_0x11d87d);};}()),_0x51150e[_0x1a5ffc(0x30a)];}));}(Ye)),Ye[_0xb8b628(0x24b)];}var Je={'exports':{}},jr=Je[_0x1f558c(0x24b)],ni;function wi(){var _0x1d9d4b=_0x1f558c;return ni||(ni=0x1,function(_0x25aba0,_0x3ba688){(function(_0x645b3e,_0x16b30f,_0xcd2ceb){var _0xb969c9=_0x4725;_0x25aba0[_0xb969c9(0x24b)]=_0x16b30f(ie(),Pi());}(jr,function(_0x548695){var _0x5427e3=_0x4725;_0x548695[_0x5427e3(0x244)][_0x5427e3(0x299)]||function(_0x2f84b5){var _0x47ad0e=_0x5427e3,_0x1a9443=_0x548695,_0x52edcc=_0x1a9443[_0x47ad0e(0x244)],_0x11efdb=_0x52edcc[_0x47ad0e(0x238)],_0x303d7c=_0x52edcc[_0x47ad0e(0x3f3)],_0x5b446a=_0x52edcc['BufferedBlockAlgorithm'],_0x449a26=_0x1a9443[_0x47ad0e(0x349)];_0x449a26[_0x47ad0e(0x39c)];var _0x27df5f=_0x449a26[_0x47ad0e(0x235)],_0x2a14fd=_0x1a9443[_0x47ad0e(0x135)],_0x1b1d8a=_0x2a14fd[_0x47ad0e(0x30a)],_0x7e2489=_0x52edcc['Cipher']=_0x5b446a[_0x47ad0e(0x22f)]({'cfg':_0x11efdb[_0x47ad0e(0x22f)](),'createEncryptor':function(_0x38dd28,_0x27dc03){var _0x1f488f=_0x47ad0e;return this[_0x1f488f(0x17d)](this[_0x1f488f(0x381)],_0x38dd28,_0x27dc03);},'createDecryptor':function(_0x1ff861,_0x12a24e){var _0x4147ea=_0x47ad0e;return this[_0x4147ea(0x17d)](this[_0x4147ea(0x1fe)],_0x1ff861,_0x12a24e);},'init':function(_0x549eef,_0x4c4716,_0x46900d){var _0x4153c1=_0x47ad0e;this['cfg']=this[_0x4153c1(0x236)]['extend'](_0x46900d),this[_0x4153c1(0x42b)]=_0x549eef,this['_key']=_0x4c4716,this[_0x4153c1(0x43a)]();},'reset':function(){var _0x164529=_0x47ad0e;_0x5b446a[_0x164529(0x43a)][_0x164529(0x178)](this),this['_doReset']();},'process':function(_0x20e429){var _0x539c24=_0x47ad0e;return this['_append'](_0x20e429),this[_0x539c24(0x2dc)]();},'finalize':function(_0x26c893){var _0x441f13=_0x47ad0e;_0x26c893&&this[_0x441f13(0x203)](_0x26c893);var _0x5e0b42=this[_0x441f13(0x30e)]();return _0x5e0b42;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x557ee6(_0x5b19e0){var _0x289feb=_0x4725;return typeof _0x5b19e0==_0x289feb(0x3ee)?_0x2ceb36:_0x4585bb;}return function(_0x149c9a){return{'encrypt':function(_0x5cd4ad,_0x40847a,_0x2caae7){var _0x526334=_0x4725;return _0x557ee6(_0x40847a)[_0x526334(0x354)](_0x149c9a,_0x5cd4ad,_0x40847a,_0x2caae7);},'decrypt':function(_0xc3888f,_0x44c0be,_0x24e304){var _0x51d197=_0x4725;return _0x557ee6(_0x44c0be)[_0x51d197(0x3db)](_0x149c9a,_0xc3888f,_0x44c0be,_0x24e304);}};};}())});_0x52edcc[_0x47ad0e(0x1f8)]=_0x7e2489[_0x47ad0e(0x22f)]({'_doFinalize':function(){var _0x5de5cd=_0x47ad0e,_0x401e5f=this[_0x5de5cd(0x2dc)](!0x0);return _0x401e5f;},'blockSize':0x1});var _0x3d9f37=_0x1a9443[_0x47ad0e(0x1a9)]={},_0x3b2fe0=_0x52edcc['BlockCipherMode']=_0x11efdb[_0x47ad0e(0x22f)]({'createEncryptor':function(_0x4f521e,_0x4fd03b){var _0x4fbde4=_0x47ad0e;return this[_0x4fbde4(0x432)]['create'](_0x4f521e,_0x4fd03b);},'createDecryptor':function(_0x55c3c9,_0x1651f2){var _0x245d94=_0x47ad0e;return this[_0x245d94(0x41c)][_0x245d94(0x17d)](_0x55c3c9,_0x1651f2);},'init':function(_0x5b17b3,_0xf09063){var _0x281f80=_0x47ad0e;this[_0x281f80(0x321)]=_0x5b17b3,this[_0x281f80(0x250)]=_0xf09063;}}),_0xbe8c05=_0x3d9f37[_0x47ad0e(0x139)]=(function(){var _0x3195de=_0x47ad0e,_0x319052=_0x3b2fe0[_0x3195de(0x22f)]();_0x319052[_0x3195de(0x432)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x5d052e,_0x2472f5){var _0x3a24ae=_0x3195de,_0x414058=this[_0x3a24ae(0x321)],_0x3eb14=_0x414058[_0x3a24ae(0x3b6)];_0x45ad0f['call'](this,_0x5d052e,_0x2472f5,_0x3eb14),_0x414058[_0x3a24ae(0x3ae)](_0x5d052e,_0x2472f5),this[_0x3a24ae(0x2ab)]=_0x5d052e[_0x3a24ae(0x2db)](_0x2472f5,_0x2472f5+_0x3eb14);}}),_0x319052[_0x3195de(0x41c)]=_0x319052[_0x3195de(0x22f)]({'processBlock':function(_0x431400,_0x350ffb){var _0x23a5e1=_0x3195de,_0x370e8a=this[_0x23a5e1(0x321)],_0x41fb1c=_0x370e8a['blockSize'],_0x25df78=_0x431400['slice'](_0x350ffb,_0x350ffb+_0x41fb1c);_0x370e8a[_0x23a5e1(0x3d6)](_0x431400,_0x350ffb),_0x45ad0f['call'](this,_0x431400,_0x350ffb,_0x41fb1c),this['_prevBlock']=_0x25df78;}});function _0x45ad0f(_0x2aedb5,_0x41f8d7,_0xcf57ee){var _0x2dd25b=_0x3195de,_0x4f1a8d,_0x582831=this[_0x2dd25b(0x250)];_0x582831?(_0x4f1a8d=_0x582831,this['_iv']=_0x2f84b5):_0x4f1a8d=this[_0x2dd25b(0x2ab)];for(var _0x5885c5=0x0;_0x5885c5<_0xcf57ee;_0x5885c5++)_0x2aedb5[_0x41f8d7+_0x5885c5]^=_0x4f1a8d[_0x5885c5];}return _0x319052;}()),_0x3bea21=_0x1a9443[_0x47ad0e(0x22a)]={},_0x240a97=_0x3bea21[_0x47ad0e(0x427)]={'pad':function(_0x551da9,_0x1e9f27){var _0x9bb678=_0x47ad0e;for(var _0x29b1a6=_0x1e9f27*0x4,_0x160b68=_0x29b1a6-_0x551da9[_0x9bb678(0x1bf)]%_0x29b1a6,_0x2869c2=_0x160b68<<0x18|_0x160b68<<0x10|_0x160b68<<0x8|_0x160b68,_0x5253ae=[],_0x178822=0x0;_0x178822<_0x160b68;_0x178822+=0x4)_0x5253ae[_0x9bb678(0x1eb)](_0x2869c2);var _0x43db1e=_0x303d7c[_0x9bb678(0x17d)](_0x5253ae,_0x160b68);_0x551da9[_0x9bb678(0x147)](_0x43db1e);},'unpad':function(_0x12bcb5){var _0x2bbc33=_0x47ad0e,_0x125cc3=_0x12bcb5['words'][_0x12bcb5[_0x2bbc33(0x1bf)]-0x1>>>0x2]&0xff;_0x12bcb5[_0x2bbc33(0x1bf)]-=_0x125cc3;}};_0x52edcc[_0x47ad0e(0x3e8)]=_0x7e2489[_0x47ad0e(0x22f)]({'cfg':_0x7e2489[_0x47ad0e(0x236)][_0x47ad0e(0x22f)]({'mode':_0xbe8c05,'padding':_0x240a97}),'reset':function(){var _0x37d568=_0x47ad0e,_0x496cd9;_0x7e2489[_0x37d568(0x43a)]['call'](this);var _0x14d4a6=this[_0x37d568(0x236)],_0x11b692=_0x14d4a6['iv'],_0x29819e=_0x14d4a6[_0x37d568(0x1a9)];this[_0x37d568(0x42b)]==this[_0x37d568(0x381)]?_0x496cd9=_0x29819e['createEncryptor']:(_0x496cd9=_0x29819e[_0x37d568(0x2ef)],this['_minBufferSize']=0x1),this[_0x37d568(0x32c)]&&this['_mode']['__creator']==_0x496cd9?this[_0x37d568(0x32c)]['init'](this,_0x11b692&&_0x11b692['words']):(this[_0x37d568(0x32c)]=_0x496cd9[_0x37d568(0x178)](_0x29819e,this,_0x11b692&&_0x11b692[_0x37d568(0x287)]),this['_mode'][_0x37d568(0x258)]=_0x496cd9);},'_doProcessBlock':function(_0x127ccf,_0x3f5a53){var _0x404081=_0x47ad0e;this[_0x404081(0x32c)][_0x404081(0x39e)](_0x127ccf,_0x3f5a53);},'_doFinalize':function(){var _0x4865c7=_0x47ad0e,_0xbe9c77,_0x1ce330=this['cfg'][_0x4865c7(0x2b1)];return this[_0x4865c7(0x42b)]==this[_0x4865c7(0x381)]?(_0x1ce330[_0x4865c7(0x22a)](this['_data'],this[_0x4865c7(0x3b6)]),_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0)):(_0xbe9c77=this[_0x4865c7(0x2dc)](!0x0),_0x1ce330[_0x4865c7(0x22e)](_0xbe9c77)),_0xbe9c77;},'blockSize':0x80/0x20});var _0x257da2=_0x52edcc[_0x47ad0e(0x17a)]=_0x11efdb[_0x47ad0e(0x22f)]({'init':function(_0x38fcc3){var _0x234ae1=_0x47ad0e;this[_0x234ae1(0x3cc)](_0x38fcc3);},'toString':function(_0x4b95bb){var _0x5a5cac=_0x47ad0e;return(_0x4b95bb||this[_0x5a5cac(0x2b7)])[_0x5a5cac(0x283)](this);}}),_0x313094=_0x1a9443[_0x47ad0e(0x1cd)]={},_0x14c748=_0x313094['OpenSSL']={'stringify':function(_0x5add9b){var _0x35fea2=_0x47ad0e,_0x257fff,_0x3d5827=_0x5add9b[_0x35fea2(0x3fd)],_0xb33692=_0x5add9b[_0x35fea2(0x3f9)];return _0xb33692?_0x257fff=_0x303d7c['create']([0x53616c74,0x65645f5f])[_0x35fea2(0x147)](_0xb33692)['concat'](_0x3d5827):_0x257fff=_0x3d5827,_0x257fff[_0x35fea2(0x28c)](_0x27df5f);},'parse':function(_0x30e606){var _0x17358e=_0x47ad0e,_0x259ee0,_0x1e1d01=_0x27df5f['parse'](_0x30e606),_0x315a40=_0x1e1d01[_0x17358e(0x287)];return _0x315a40[0x0]==0x53616c74&&_0x315a40[0x1]==0x65645f5f&&(_0x259ee0=_0x303d7c[_0x17358e(0x17d)](_0x315a40[_0x17358e(0x2db)](0x2,0x4)),_0x315a40[_0x17358e(0x252)](0x0,0x4),_0x1e1d01[_0x17358e(0x1bf)]-=0x10),_0x257da2[_0x17358e(0x17d)]({'ciphertext':_0x1e1d01,'salt':_0x259ee0});}},_0x4585bb=_0x52edcc['SerializableCipher']=_0x11efdb[_0x47ad0e(0x22f)]({'cfg':_0x11efdb['extend']({'format':_0x14c748}),'encrypt':function(_0x402acc,_0x14e679,_0x55b4b5,_0x1b538c){var _0x8d62b3=_0x47ad0e;_0x1b538c=this[_0x8d62b3(0x236)][_0x8d62b3(0x22f)](_0x1b538c);var _0x357baf=_0x402acc[_0x8d62b3(0x2ff)](_0x55b4b5,_0x1b538c),_0x4876f1=_0x357baf[_0x8d62b3(0x327)](_0x14e679),_0x3b1e0c=_0x357baf[_0x8d62b3(0x236)];return _0x257da2['create']({'ciphertext':_0x4876f1,'key':_0x55b4b5,'iv':_0x3b1e0c['iv'],'algorithm':_0x402acc,'mode':_0x3b1e0c[_0x8d62b3(0x1a9)],'padding':_0x3b1e0c[_0x8d62b3(0x2b1)],'blockSize':_0x402acc[_0x8d62b3(0x3b6)],'formatter':_0x1b538c[_0x8d62b3(0x1cd)]});},'decrypt':function(_0x417517,_0x175592,_0x15ae49,_0x38de92){var _0x248b4f=_0x47ad0e;_0x38de92=this[_0x248b4f(0x236)][_0x248b4f(0x22f)](_0x38de92),_0x175592=this[_0x248b4f(0x170)](_0x175592,_0x38de92[_0x248b4f(0x1cd)]);var _0x325ee1=_0x417517[_0x248b4f(0x2ef)](_0x15ae49,_0x38de92)[_0x248b4f(0x327)](_0x175592['ciphertext']);return _0x325ee1;},'_parse':function(_0x1de106,_0x229e2d){var _0x150375=_0x47ad0e;return typeof _0x1de106==_0x150375(0x3ee)?_0x229e2d[_0x150375(0x234)](_0x1de106,this):_0x1de106;}}),_0x3bbda9=_0x1a9443[_0x47ad0e(0x331)]={},_0x2c50bf=_0x3bbda9[_0x47ad0e(0x136)]={'execute':function(_0x3c48d5,_0x297927,_0xed83ec,_0x104070,_0x140748){var _0x4254a5=_0x47ad0e;if(_0x104070||(_0x104070=_0x303d7c[_0x4254a5(0x35d)](0x40/0x8)),_0x140748)var _0xde238f=_0x1b1d8a['create']({'keySize':_0x297927+_0xed83ec,'hasher':_0x140748})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);else var _0xde238f=_0x1b1d8a[_0x4254a5(0x17d)]({'keySize':_0x297927+_0xed83ec})[_0x4254a5(0x1b7)](_0x3c48d5,_0x104070);var _0x230c97=_0x303d7c['create'](_0xde238f[_0x4254a5(0x287)][_0x4254a5(0x2db)](_0x297927),_0xed83ec*0x4);return _0xde238f[_0x4254a5(0x1bf)]=_0x297927*0x4,_0x257da2[_0x4254a5(0x17d)]({'key':_0xde238f,'iv':_0x230c97,'salt':_0x104070});}},_0x2ceb36=_0x52edcc[_0x47ad0e(0x2eb)]=_0x4585bb[_0x47ad0e(0x22f)]({'cfg':_0x4585bb[_0x47ad0e(0x236)]['extend']({'kdf':_0x2c50bf}),'encrypt':function(_0x104f5e,_0x30279e,_0x354252,_0x31929c){var _0x17d422=_0x47ad0e;_0x31929c=this['cfg'][_0x17d422(0x22f)](_0x31929c);var _0x3526d7=_0x31929c[_0x17d422(0x331)][_0x17d422(0x3eb)](_0x354252,_0x104f5e[_0x17d422(0x314)],_0x104f5e[_0x17d422(0x202)],_0x31929c[_0x17d422(0x3f9)],_0x31929c['hasher']);_0x31929c['iv']=_0x3526d7['iv'];var _0x2dfb3e=_0x4585bb[_0x17d422(0x354)][_0x17d422(0x178)](this,_0x104f5e,_0x30279e,_0x3526d7['key'],_0x31929c);return _0x2dfb3e[_0x17d422(0x3cc)](_0x3526d7),_0x2dfb3e;},'decrypt':function(_0x1d6d70,_0x318537,_0x57bbdb,_0x457f09){var _0x30c03e=_0x47ad0e;_0x457f09=this[_0x30c03e(0x236)][_0x30c03e(0x22f)](_0x457f09),_0x318537=this['_parse'](_0x318537,_0x457f09[_0x30c03e(0x1cd)]);var _0x222f23=_0x457f09[_0x30c03e(0x331)][_0x30c03e(0x3eb)](_0x57bbdb,_0x1d6d70[_0x30c03e(0x314)],_0x1d6d70[_0x30c03e(0x202)],_0x318537[_0x30c03e(0x3f9)],_0x457f09[_0x30c03e(0x379)]);_0x457f09['iv']=_0x222f23['iv'];var _0x47dc05=_0x4585bb['decrypt'][_0x30c03e(0x178)](this,_0x1d6d70,_0x318537,_0x222f23[_0x30c03e(0x284)],_0x457f09);return _0x47dc05;}});}();}));}(Je)),Je[_0x1d9d4b(0x24b)];}var Br=Ge[_0x1f558c(0x24b)],ri;function Fr(){var _0x354c65=_0x1f558c;return ri||(ri=0x1,function(_0x1a40a7,_0x316e9b){(function(_0x144d4c,_0x33f035,_0x107942){var _0x4bb70e=_0x4725;_0x1a40a7[_0x4bb70e(0x24b)]=_0x33f035(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x440368){var _0x1fad41=_0x4725;return(function(){var _0x188395=_0x4725,_0x3604fc=_0x440368,_0x50624e=_0x3604fc[_0x188395(0x244)],_0x200503=_0x50624e[_0x188395(0x3e8)],_0x4869c7=_0x3604fc['algo'],_0xb54a68=[],_0x3ba722=[],_0xdb3016=[],_0x1ed5f1=[],_0x15fe73=[],_0x788078=[],_0x508a01=[],_0x10707c=[],_0x20668e=[],_0x17920e=[];(function(){for(var _0x240854=[],_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++)_0x53eb0a<0x80?_0x240854[_0x53eb0a]=_0x53eb0a<<0x1:_0x240854[_0x53eb0a]=_0x53eb0a<<0x1^0x11b;for(var _0x10100a=0x0,_0x512bf2=0x0,_0x53eb0a=0x0;_0x53eb0a<0x100;_0x53eb0a++){var _0x792522=_0x512bf2^_0x512bf2<<0x1^_0x512bf2<<0x2^_0x512bf2<<0x3^_0x512bf2<<0x4;_0x792522=_0x792522>>>0x8^_0x792522&0xff^0x63,_0xb54a68[_0x10100a]=_0x792522,_0x3ba722[_0x792522]=_0x10100a;var _0x959303=_0x240854[_0x10100a],_0x2f3f6=_0x240854[_0x959303],_0x507f40=_0x240854[_0x2f3f6],_0x59a9c0=_0x240854[_0x792522]*0x101^_0x792522*0x1010100;_0xdb3016[_0x10100a]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x1ed5f1[_0x10100a]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x15fe73[_0x10100a]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x788078[_0x10100a]=_0x59a9c0;var _0x59a9c0=_0x507f40*0x1010101^_0x2f3f6*0x10001^_0x959303*0x101^_0x10100a*0x1010100;_0x508a01[_0x792522]=_0x59a9c0<<0x18|_0x59a9c0>>>0x8,_0x10707c[_0x792522]=_0x59a9c0<<0x10|_0x59a9c0>>>0x10,_0x20668e[_0x792522]=_0x59a9c0<<0x8|_0x59a9c0>>>0x18,_0x17920e[_0x792522]=_0x59a9c0,_0x10100a?(_0x10100a=_0x959303^_0x240854[_0x240854[_0x240854[_0x507f40^_0x959303]]],_0x512bf2^=_0x240854[_0x240854[_0x512bf2]]):_0x10100a=_0x512bf2=0x1;}}());var _0x328f2e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1159f7=_0x4869c7[_0x188395(0x316)]=_0x200503[_0x188395(0x22f)]({'_doReset':function(){var _0x374f5d=_0x188395,_0xf96a95;if(!(this[_0x374f5d(0x1fd)]&&this[_0x374f5d(0x371)]===this[_0x374f5d(0x3ea)])){for(var _0x413707=this[_0x374f5d(0x371)]=this[_0x374f5d(0x3ea)],_0x43b750=_0x413707[_0x374f5d(0x287)],_0x11a85b=_0x413707[_0x374f5d(0x1bf)]/0x4,_0x369059=this['_nRounds']=_0x11a85b+0x6,_0x2b8ffd=(_0x369059+0x1)*0x4,_0x11d44d=this['_keySchedule']=[],_0x23290e=0x0;_0x23290e<_0x2b8ffd;_0x23290e++)_0x23290e<_0x11a85b?_0x11d44d[_0x23290e]=_0x43b750[_0x23290e]:(_0xf96a95=_0x11d44d[_0x23290e-0x1],_0x23290e%_0x11a85b?_0x11a85b>0x6&&_0x23290e%_0x11a85b==0x4&&(_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff]):(_0xf96a95=_0xf96a95<<0x8|_0xf96a95>>>0x18,_0xf96a95=_0xb54a68[_0xf96a95>>>0x18]<<0x18|_0xb54a68[_0xf96a95>>>0x10&0xff]<<0x10|_0xb54a68[_0xf96a95>>>0x8&0xff]<<0x8|_0xb54a68[_0xf96a95&0xff],_0xf96a95^=_0x328f2e[_0x23290e/_0x11a85b|0x0]<<0x18),_0x11d44d[_0x23290e]=_0x11d44d[_0x23290e-_0x11a85b]^_0xf96a95);for(var _0x13d511=this['_invKeySchedule']=[],_0x5597a6=0x0;_0x5597a6<_0x2b8ffd;_0x5597a6++){var _0x23290e=_0x2b8ffd-_0x5597a6;if(_0x5597a6%0x4)var _0xf96a95=_0x11d44d[_0x23290e];else var _0xf96a95=_0x11d44d[_0x23290e-0x4];_0x5597a6<0x4||_0x23290e<=0x4?_0x13d511[_0x5597a6]=_0xf96a95:_0x13d511[_0x5597a6]=_0x508a01[_0xb54a68[_0xf96a95>>>0x18]]^_0x10707c[_0xb54a68[_0xf96a95>>>0x10&0xff]]^_0x20668e[_0xb54a68[_0xf96a95>>>0x8&0xff]]^_0x17920e[_0xb54a68[_0xf96a95&0xff]];}}},'encryptBlock':function(_0x32ad22,_0x3da847){var _0x2ba53e=_0x188395;this[_0x2ba53e(0x31d)](_0x32ad22,_0x3da847,this[_0x2ba53e(0x2ea)],_0xdb3016,_0x1ed5f1,_0x15fe73,_0x788078,_0xb54a68);},'decryptBlock':function(_0xebd508,_0x2a023d){var _0x5d137a=_0x188395,_0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca,this[_0x5d137a(0x31d)](_0xebd508,_0x2a023d,this['_invKeySchedule'],_0x508a01,_0x10707c,_0x20668e,_0x17920e,_0x3ba722);var _0x2379ca=_0xebd508[_0x2a023d+0x1];_0xebd508[_0x2a023d+0x1]=_0xebd508[_0x2a023d+0x3],_0xebd508[_0x2a023d+0x3]=_0x2379ca;},'_doCryptBlock':function(_0x2f6c43,_0x9b5a77,_0x340ba2,_0x1cfaef,_0xb0a2ed,_0x47ee88,_0x192a95,_0x1fde43){for(var _0xa30147=this['_nRounds'],_0x4ad374=_0x2f6c43[_0x9b5a77]^_0x340ba2[0x0],_0x1687be=_0x2f6c43[_0x9b5a77+0x1]^_0x340ba2[0x1],_0x5a55d6=_0x2f6c43[_0x9b5a77+0x2]^_0x340ba2[0x2],_0x450460=_0x2f6c43[_0x9b5a77+0x3]^_0x340ba2[0x3],_0x3d286a=0x4,_0x36e116=0x1;_0x36e116<_0xa30147;_0x36e116++){var _0x154a90=_0x1cfaef[_0x4ad374>>>0x18]^_0xb0a2ed[_0x1687be>>>0x10&0xff]^_0x47ee88[_0x5a55d6>>>0x8&0xff]^_0x192a95[_0x450460&0xff]^_0x340ba2[_0x3d286a++],_0x9ba5f6=_0x1cfaef[_0x1687be>>>0x18]^_0xb0a2ed[_0x5a55d6>>>0x10&0xff]^_0x47ee88[_0x450460>>>0x8&0xff]^_0x192a95[_0x4ad374&0xff]^_0x340ba2[_0x3d286a++],_0x9d836c=_0x1cfaef[_0x5a55d6>>>0x18]^_0xb0a2ed[_0x450460>>>0x10&0xff]^_0x47ee88[_0x4ad374>>>0x8&0xff]^_0x192a95[_0x1687be&0xff]^_0x340ba2[_0x3d286a++],_0x322a96=_0x1cfaef[_0x450460>>>0x18]^_0xb0a2ed[_0x4ad374>>>0x10&0xff]^_0x47ee88[_0x1687be>>>0x8&0xff]^_0x192a95[_0x5a55d6&0xff]^_0x340ba2[_0x3d286a++];_0x4ad374=_0x154a90,_0x1687be=_0x9ba5f6,_0x5a55d6=_0x9d836c,_0x450460=_0x322a96;}var _0x154a90=(_0x1fde43[_0x4ad374>>>0x18]<<0x18|_0x1fde43[_0x1687be>>>0x10&0xff]<<0x10|_0x1fde43[_0x5a55d6>>>0x8&0xff]<<0x8|_0x1fde43[_0x450460&0xff])^_0x340ba2[_0x3d286a++],_0x9ba5f6=(_0x1fde43[_0x1687be>>>0x18]<<0x18|_0x1fde43[_0x5a55d6>>>0x10&0xff]<<0x10|_0x1fde43[_0x450460>>>0x8&0xff]<<0x8|_0x1fde43[_0x4ad374&0xff])^_0x340ba2[_0x3d286a++],_0x9d836c=(_0x1fde43[_0x5a55d6>>>0x18]<<0x18|_0x1fde43[_0x450460>>>0x10&0xff]<<0x10|_0x1fde43[_0x4ad374>>>0x8&0xff]<<0x8|_0x1fde43[_0x1687be&0xff])^_0x340ba2[_0x3d286a++],_0x322a96=(_0x1fde43[_0x450460>>>0x18]<<0x18|_0x1fde43[_0x4ad374>>>0x10&0xff]<<0x10|_0x1fde43[_0x1687be>>>0x8&0xff]<<0x8|_0x1fde43[_0x5a55d6&0xff])^_0x340ba2[_0x3d286a++];_0x2f6c43[_0x9b5a77]=_0x154a90,_0x2f6c43[_0x9b5a77+0x1]=_0x9ba5f6,_0x2f6c43[_0x9b5a77+0x2]=_0x9d836c,_0x2f6c43[_0x9b5a77+0x3]=_0x322a96;},'keySize':0x100/0x20});_0x3604fc[_0x188395(0x316)]=_0x200503[_0x188395(0x36e)](_0x1159f7);}()),_0x440368[_0x1fad41(0x316)];}));}(Ge)),Ge[_0x354c65(0x24b)];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe['exports'],oi;function Yr(){var _0x100c21=_0x1f558c;return oi||(oi=0x1,function(_0x533967,_0x5d680c){(function(_0x244c60,_0x31297f){var _0x1bd128=_0x4725;_0x533967[_0x1bd128(0x24b)]=_0x31297f(ie());}(Kr,function(_0x56f62a){var _0x40c799=_0x4725;return _0x56f62a[_0x40c799(0x349)][_0x40c799(0x39c)];}));}(Xe)),Xe[_0x100c21(0x24b)];}var qr=Yr();const zr=ke(qr);function _0x4725(_0xa701be,_0x2beb92){var _0x3db137=_0x3db1();return _0x4725=function(_0x472531,_0xa228cf){_0x472531=_0x472531-0x134;var _0x44edb5=_0x3db137[_0x472531];return _0x44edb5;},_0x4725(_0xa701be,_0x2beb92);}var Ze={'exports':{}},Jr=Ze['exports'],ai;function Xr(){var _0x30c28d=_0x1f558c;return ai||(ai=0x1,function(_0x5baccc,_0x20b894){(function(_0x221554,_0x3c4080){_0x5baccc['exports']=_0x3c4080(ie());}(Jr,function(_0x4a3e24){var _0x3bea74=_0x4725;return(function(){var _0x4943ae=_0x4725;if(typeof ArrayBuffer==_0x4943ae(0x1dd)){var _0x2b05c9=_0x4a3e24,_0x328369=_0x2b05c9[_0x4943ae(0x244)],_0x4be1c9=_0x328369[_0x4943ae(0x3f3)],_0x2039f3=_0x4be1c9[_0x4943ae(0x2e7)],_0x3854d9=_0x4be1c9[_0x4943ae(0x2e7)]=function(_0x3f2864){var _0x2ff819=_0x4943ae;if(_0x3f2864 instanceof ArrayBuffer&&(_0x3f2864=new Uint8Array(_0x3f2864)),(_0x3f2864 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f2864 instanceof Uint8ClampedArray||_0x3f2864 instanceof Int16Array||_0x3f2864 instanceof Uint16Array||_0x3f2864 instanceof Int32Array||_0x3f2864 instanceof Uint32Array||_0x3f2864 instanceof Float32Array||_0x3f2864 instanceof Float64Array)&&(_0x3f2864=new Uint8Array(_0x3f2864[_0x2ff819(0x3e4)],_0x3f2864[_0x2ff819(0x19f)],_0x3f2864[_0x2ff819(0x1e6)])),_0x3f2864 instanceof Uint8Array){for(var _0x7e74cb=_0x3f2864[_0x2ff819(0x1e6)],_0x4542eb=[],_0x1a8f46=0x0;_0x1a8f46<_0x7e74cb;_0x1a8f46++)_0x4542eb[_0x1a8f46>>>0x2]|=_0x3f2864[_0x1a8f46]<<0x18-_0x1a8f46%0x4*0x8;_0x2039f3[_0x2ff819(0x178)](this,_0x4542eb,_0x7e74cb);}else _0x2039f3[_0x2ff819(0x1fa)](this,arguments);};_0x3854d9[_0x4943ae(0x36a)]=_0x4be1c9;}}()),_0x4a3e24[_0x3bea74(0x244)][_0x3bea74(0x3f3)];}));}(Ze)),Ze[_0x30c28d(0x24b)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe[_0x1f558c(0x24b)],ci;function ts(){var _0x42ebf4=_0x1f558c;return ci||(ci=0x1,function(_0xd6f957,_0x362ec9){(function(_0x2fec6f,_0x364485,_0xf01132){_0xd6f957['exports']=_0x364485(ie(),wi());}(es,function(_0x122ee3){var _0x11ef96=_0x4725;return _0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)]={'pad':function(){},'unpad':function(){}},_0x122ee3[_0x11ef96(0x22a)][_0x11ef96(0x245)];}));}(Qe)),Qe[_0x42ebf4(0x24b)];}var is=ts();const ns=ke(is);function rs(_0x38b0b7,_0x9ef86){var _0x2d7825=_0x1f558c;const _0x599fa9=_0x9ef86-_0x38b0b7[_0x2d7825(0x158)]%_0x9ef86,_0x4c0301=String['fromCharCode'](_0x599fa9)[_0x2d7825(0x23d)](_0x599fa9);return _0x38b0b7+_0x4c0301;}function ss(_0x3f3971,_0x3d1e68){var _0x3c943b=_0x1f558c;const _0x5f1d6b=Qr[_0x3c943b(0x35d)](0x10),_0x35a324=rs(_0x3f3971,0x10),_0x3ad46f=Vr[_0x3c943b(0x354)](zr[_0x3c943b(0x234)](_0x35a324),si[_0x3c943b(0x234)](_0x3d1e68),{'iv':_0x5f1d6b,'padding':ns});return _0x5f1d6b[_0x3c943b(0x147)](_0x3ad46f[_0x3c943b(0x3fd)])[_0x3c943b(0x28c)](si);}function os(){var _0x177ee0=_0x1f558c;const _0x2d092a=_0x5d2141()[_0x177ee0(0x418)];if(_0x2d092a){const _0x2701ad={'time':Math['floor'](Date[_0x177ee0(0x434)]()/0x3e8),'domain':location[_0x177ee0(0x138)]};return ss(JSON[_0x177ee0(0x283)](_0x2701ad),_0x2d092a);}}var as=Object[_0x1f558c(0x175)],cs=Object[_0x1f558c(0x330)],hs=(_0x396143,_0x27a61a,_0x40a0ab,_0x57172a)=>{var _0x59b553=_0x1f558c;for(var _0x7c4209=_0x57172a>0x1?void 0x0:_0x57172a?cs(_0x27a61a,_0x40a0ab):_0x27a61a,_0xb17b51=_0x396143[_0x59b553(0x158)]-0x1,_0x2fef2a;_0xb17b51>=0x0;_0xb17b51--)(_0x2fef2a=_0x396143[_0xb17b51])&&(_0x7c4209=(_0x57172a?_0x2fef2a(_0x27a61a,_0x40a0ab,_0x7c4209):_0x2fef2a(_0x7c4209))||_0x7c4209);return _0x57172a&&_0x7c4209&&as(_0x27a61a,_0x40a0ab,_0x7c4209),_0x7c4209;},_s=(_0x17f266,_0x4ab52e)=>(_0x16b02a,_0x40518d)=>_0x4ab52e(_0x16b02a,_0x40518d,_0x17f266);let ot=class{constructor(_0x28077d){var _0x42fb29=_0x1f558c;this[_0x42fb29(0x2d9)]=_0x28077d,this[_0x42fb29(0x189)]();}[_0x1f558c(0x189)](){var _0x551689=_0x1f558c;this[_0x551689(0x2d9)][_0x551689(0x251)]({'interceptor':(_0x17bf67,_0x4c9320)=>{var _0x83fa7=_0x551689;const _0x8e9d2c=_0x17bf67['headers'],_0x59ce87=os();return _0x59ce87&&_0x8e9d2c[_0x83fa7(0x319)](_0x83fa7(0x2c6),_0x59ce87),_0x4c9320(_0x17bf67);}});}};ot=hs([_s(0x0,_0x5b2811(_0x5b9922))],ot);var ls=Object['defineProperty'],us=Object[_0x1f558c(0x330)],ds=(_0x56c298,_0x21cc56,_0x394907,_0x44f4fe)=>{var _0x3a614d=_0x1f558c;for(var _0xf1fcd=_0x44f4fe>0x1?void 0x0:_0x44f4fe?us(_0x21cc56,_0x394907):_0x21cc56,_0x42eea3=_0x56c298[_0x3a614d(0x158)]-0x1,_0x14a1e6;_0x42eea3>=0x0;_0x42eea3--)(_0x14a1e6=_0x56c298[_0x42eea3])&&(_0xf1fcd=(_0x44f4fe?_0x14a1e6(_0x21cc56,_0x394907,_0xf1fcd):_0x14a1e6(_0xf1fcd))||_0xf1fcd);return _0x44f4fe&&_0xf1fcd&&ls(_0x21cc56,_0x394907,_0xf1fcd),_0xf1fcd;},mt=(_0x246525,_0x14fd26)=>(_0x61c952,_0x532239)=>_0x14fd26(_0x61c952,_0x532239,_0x246525);let Rt=class extends _0x1a5dd9{constructor(_0x24f2f5,_0x1cfaa2,_0x3c9f49){var _0x1c8966=_0x1f558c;super(),N(this,_0x1c8966(0x176),new _0x12b284(null)),N(this,_0x1c8966(0x1ae),this[_0x1c8966(0x176)][_0x1c8966(0x317)]()),(this['_logService']=_0x24f2f5,this[_0x1c8966(0x159)]=_0x1cfaa2,this[_0x1c8966(0x28f)]=_0x3c9f49);}async[_0x1f558c(0x216)](_0xe350cf,_0xcaf43e,_0x2cd2ca){var _0x44e24a=_0x1f558c;this[_0x44e24a(0x176)][_0x44e24a(0x140)]({'unitId':_0xe350cf,'type':_0xcaf43e,'subUnitId':_0x2cd2ca});let _0x2fd256=null;switch(_0xcaf43e){case Q['UNIVER_SHEET']:{_0x2fd256=await this[_0x44e24a(0x3b7)](_0xe350cf);break;}case Q[_0x44e24a(0x143)]:{_0x2fd256=await this[_0x44e24a(0x215)](_0xe350cf);break;}default:{this['_logService'][_0x44e24a(0x145)](_0x44e24a(0x157),_0x44e24a(0x3bd));break;}}return _0x2fd256;}async[_0x1f558c(0x3b7)](_0x332c45){var _0x5238f8=_0x1f558c,_0x1297f9;let _0x1b9ed6=0x0;const _0xa1029=await((_0x1297f9=this[_0x5238f8(0x28f)])==null?void 0x0:_0x1297f9[_0x5238f8(0x41d)](_0x332c45));return _0xa1029&&(_0xa1029[_0x5238f8(0x3a8)]||_0xa1029['mutations'][_0x5238f8(0x158)]!==0x0)&&(_0x1b9ed6=_0xa1029['rev']),_0x1b9ed6===0x0&&this[_0x5238f8(0x343)][_0x5238f8(0x2e3)](_0x5238f8(0x157),_0x5238f8(0x13e)),this['_snapshotService'][_0x5238f8(0x31e)](_0x332c45,_0x1b9ed6);}async['_loadDoc'](_0x3c1b20){var _0x4de9a9=_0x1f558c,_0x47de2b;let _0x2cb4d8=0x0;const _0x34fa04=await((_0x47de2b=this[_0x4de9a9(0x28f)])==null?void 0x0:_0x47de2b['loadOfflineData'](_0x3c1b20));return _0x34fa04&&(_0x34fa04['awaitingChangeset']||_0x34fa04['mutations']['length']!==0x0)&&(_0x2cb4d8=_0x34fa04[_0x4de9a9(0x1cb)]),_0x2cb4d8===0x0&&this[_0x4de9a9(0x343)][_0x4de9a9(0x2e3)](_0x4de9a9(0x157),_0x4de9a9(0x13e)),this[_0x4de9a9(0x159)][_0x4de9a9(0x13c)](_0x3c1b20,_0x2cb4d8);}};Rt=ds([mt(0x0,_0x574408),mt(0x1,_0x5b2811(_0x4c1140)),mt(0x2,_0x40673b(J))],Rt);var fs=Object[_0x1f558c(0x175)],vs=Object[_0x1f558c(0x330)],ps=(_0x18add8,_0x54aa4b,_0x510fd9,_0x3829d0)=>{for(var _0x5cea9e=_0x3829d0>0x1?void 0x0:_0x3829d0?vs(_0x54aa4b,_0x510fd9):_0x54aa4b,_0x1218c9=_0x18add8['length']-0x1,_0xfdfff0;_0x1218c9>=0x0;_0x1218c9--)(_0xfdfff0=_0x18add8[_0x1218c9])&&(_0x5cea9e=(_0x3829d0?_0xfdfff0(_0x54aa4b,_0x510fd9,_0x5cea9e):_0xfdfff0(_0x5cea9e))||_0x5cea9e);return _0x3829d0&&_0x5cea9e&&fs(_0x54aa4b,_0x510fd9,_0x5cea9e),_0x5cea9e;},gt=(_0x3309e7,_0x3b6230)=>(_0x57bea1,_0x4c47a4)=>_0x3b6230(_0x57bea1,_0x4c47a4,_0x3309e7);const ms=[_0x1f558c(0x1b8),_0x1f558c(0x15d),_0x1f558c(0x2af),_0x1f558c(0x346),_0x1f558c(0x31b)],gs=0x5*0x400*0x400,Ss=_0x1f558c(0x25e),Es='/universer-api/stream/file/upload',Is='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Ts=_0x1f558c(0x313);let Ot=class{constructor(_0x10ca1e,_0x3d993c,_0x3d6cd3){var _0x5b08fc=_0x1f558c;N(this,'_waitCount',0x0),N(this,_0x5b08fc(0x3d8),new _0x13d4cc()),N(this,_0x5b08fc(0x1ca),this['_change$']),N(this,_0x5b08fc(0x2fe),new Map()),(this['_httpService']=_0x10ca1e,this[_0x5b08fc(0x405)]=_0x3d993c,this['_univerInstanceService']=_0x3d6cd3);}['setWaitCount'](_0x432614){var _0x3debc7=_0x1f558c;this[_0x3debc7(0x263)]=_0x432614,this[_0x3debc7(0x3d8)][_0x3debc7(0x140)](_0x432614);}[_0x1f558c(0x2b6)](_0x369a97,_0x5000c0){var _0x575bfe=_0x1f558c;if(_0x5000c0===_0x437e6e[_0x575bfe(0x153)]){const _0x3a77f6=new Image();return _0x3a77f6[_0x575bfe(0x1af)]=_0x369a97,_0x3a77f6;}return this['_imageSourceCache']['get'](_0x369a97);}[_0x1f558c(0x237)](_0x58d5a2,_0x19ee16,_0x264b33){var _0xf24b32=_0x1f558c;_0x19ee16===_0x437e6e[_0xf24b32(0x153)]||_0x264b33==null||this[_0xf24b32(0x2fe)][_0xf24b32(0x319)](_0x58d5a2,_0x264b33);}async[_0x1f558c(0x3a2)](_0x2d5299){var _0x10d6cb=_0x1f558c;try{const _0x1489a5=this[_0x10d6cb(0x229)](this[_0x10d6cb(0x42c)](),''+_0x2d5299),_0x1432e8=(await this[_0x10d6cb(0x2d9)][_0x10d6cb(0x1e3)](_0x1489a5))[_0x10d6cb(0x2ac)];if(_0x1432e8[_0x10d6cb(0x145)]&&_0x1432e8[_0x10d6cb(0x145)][_0x10d6cb(0x3e7)]===Si['OK']){const _0x593e67=new URL(_0x1432e8[_0x10d6cb(0x3c6)],this[_0x10d6cb(0x2aa)]())[_0x10d6cb(0x28c)]();return Promise[_0x10d6cb(0x208)](_0x593e67);}return Promise[_0x10d6cb(0x187)](_0x1432e8['error']);}catch(_0x2c7929){return Promise[_0x10d6cb(0x187)](_0x2c7929);}}async[_0x1f558c(0x306)](_0x4e8c33){var _0x49b26b=_0x1f558c;let _0x57c0dc='';if(!ms[_0x49b26b(0x407)](_0x4e8c33[_0x49b26b(0x15f)]))return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x37c)]));if(_0x4e8c33[_0x49b26b(0x191)]>gs)return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22[_0x49b26b(0x361)]));try{const _0x921e4e=new FormData();_0x921e4e[_0x49b26b(0x419)]('file',_0x4e8c33);const _0x1fc144=this[_0x49b26b(0x435)][_0x49b26b(0x3ff)](),_0x368cd6=_0x1fc144==null?void 0x0:_0x1fc144[_0x49b26b(0x253)]();if(!_0x368cd6)throw new Error('unitId\x20is\x20not\x20found');const _0xd9e52d=this['_getUploadFileURL']()+_0x49b26b(0x2d8)+_0x4e8c33[_0x49b26b(0x191)][_0x49b26b(0x28c)]()+_0x49b26b(0x37b)+Ei[_0x49b26b(0x33c)]+_0x49b26b(0x2e1)+encodeURIComponent(_0x368cd6),_0x4ae4ae=await(await fetch(_0xd9e52d,{'method':_0x49b26b(0x2d1),'body':_0x921e4e}))[_0x49b26b(0x391)]();if(typeof _0x4ae4ae[_0x49b26b(0x289)]!=_0x49b26b(0x3ee))return this[_0x49b26b(0x36f)](),Promise['reject'](new Error(_0x42bf22[_0x49b26b(0x3ed)]));_0x57c0dc=_0x4ae4ae['FileId'];}catch{return this[_0x49b26b(0x36f)](),Promise[_0x49b26b(0x187)](new Error(_0x42bf22['ERROR_IMAGE']));}return new Promise((_0x573708,_0x45f039)=>{var _0x483ef2=_0x49b26b;const _0x269e7a=new FileReader();_0x269e7a[_0x483ef2(0x242)](_0x4e8c33),_0x269e7a[_0x483ef2(0x3fc)]=_0x78ecb4=>{var _0x34bcc5=_0x483ef2,_0x118651;const _0x2112b6=(_0x118651=_0x78ecb4[_0x34bcc5(0x37d)])==null?void 0x0:_0x118651[_0x34bcc5(0x386)];if(_0x2112b6==null){this[_0x34bcc5(0x36f)](),_0x45f039(new Error(_0x42bf22[_0x34bcc5(0x3ed)]));return;}const _0x516b31=_0x2d4a2c[_0x34bcc5(0x2a4)](0x6);_0x573708({'imageId':_0x516b31,'imageSourceType':_0x437e6e[_0x34bcc5(0x14c)],'source':_0x57c0dc,'base64Cache':_0x2112b6,'status':_0x42bf22['SUCCUSS']}),this[_0x34bcc5(0x36f)]();};});}['_getUploadFileURL'](){var _0x532057=_0x1f558c,_0x498b95,_0x216fe4;const _0x21b65d=this[_0x532057(0x405)][_0x532057(0x2a0)](Ss),_0x364738=this[_0x532057(0x405)]['getConfig'](q);return(_0x216fe4=(_0x498b95=_0x364738==null?void 0x0:_0x364738[_0x532057(0x1bb)])!=null?_0x498b95:_0x21b65d)!=null?_0x216fe4:Es;}[_0x1f558c(0x42c)](){var _0x403181=_0x1f558c,_0x9fed36,_0x4432ae;const _0x409ec4=this[_0x403181(0x405)]['getConfig'](Is),_0x27e5c1=this[_0x403181(0x405)][_0x403181(0x2a0)](q);return(_0x4432ae=(_0x9fed36=_0x27e5c1==null?void 0x0:_0x27e5c1['signUrlServerUrl'])!=null?_0x9fed36:_0x409ec4)!=null?_0x4432ae:Ts;}[_0x1f558c(0x2aa)](){var _0xc9720f=_0x1f558c,_0x450825;const _0x2a16ba=this[_0xc9720f(0x405)]['getConfig'](q);return(_0x450825=_0x2a16ba==null?void 0x0:_0x2a16ba['downloadEndpointUrl'])!=null?_0x450825:location[_0xc9720f(0x41a)];}[_0x1f558c(0x229)](_0x1f60e1,_0xcde69b){var _0x2589e1=_0x1f558c;return _0x1f60e1[_0x2589e1(0x37a)](_0x2589e1(0x223),_0xcde69b);}[_0x1f558c(0x36f)](){var _0x1edf43=_0x1f558c;this['_waitCount']-=0x1,this[_0x1edf43(0x3d8)][_0x1edf43(0x140)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x5b2811(_0x5b9922)),gt(0x1,_0x4ea54a),gt(0x2,_0x5b2811(_0x30c3be))],Ot);function _0x3db1(){var _0x133e35=['_status$','stringify','key','YUUMI_URL_COL_OUT_OF_RANGE','_incrementRevisionNumber','words','SNAPSHOT_INVALID_SNAPSHOT','FileId','editing\x20status\x20changed\x20to','HELLO','toString','_substituteUndoStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_localCacheService','equals','fetchMiss','APPLY_PERMISSION_DENIED','_listenToNetworkCondition','USERS_LEAVE','onRemoteChangeset','_createHmacHelper','TOO_MANY_REQUESTS','updatePermissionPoint','Cipher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','reqId','_changesetReqId','SYNCED','refreshPermission','_waitForHeartbeatResponse','getConfig','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_map','generateRandomId','authzUrl','avatar','HttpExport','_socketReady','HEARTBEAT_INTERVAL','_getDownloadEndpointURL','_prevBlock','body','CHANGESET_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','image/jpg','univer-pro.collaboration-client.network-condition.service','padding','LICENSE_EXPORT_SIZE_EXCEEDED','status$','_onLocalMutation','_getCtorByUniverType','getImageSourceCache','formatter','_startTelemetryCollaborationNewChangeset','objects','_nDataBytes','textRanges','LICENSE_IMPORT_SIZE_EXCEEDED','_queuedRemoteChangesets','onTransformIME','_networkConditionService','_localeService','HEARTBEAT','abs','Univer','collaboration_new_changeset','socketService','x-univer-host','CONFLICT','sid','_transitionLocked','_data','enableAuthServer','People','LOGIN_URL_KEY','COLLAB_WEB_SOCKET_URL','snapshot','_pendingMutations','POST','socket\x20close','msCrypto','_HTTPService','_lockTransition','disposeWithMe','USERS_ENTER','?size=','_httpService','_undoStacks','slice','_process','duration','_checkMissing','NOT_COLLAB','_getCurrentRevision','&assign=','/universer-api/uniscript','debug','_retryCount','message$','updatePermissionObjEvent','init','getSheetBlock','_init','_keySchedule','PasswordBasedCipher','emitEvent','_registerDependencies','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','createDecryptor','onSyncEditingCollabCursor','createCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','_userManagerService','_clearScheduledTask','onTransformRemoteChangesetByIMECache','data','actions','revision','capture','_minBufferSize','PERSON','PERMISSION_REJ','_imageSourceCache','createEncryptor','UNAUTHENTICATED','cmd','Undefined','updateOfflineData','pluginName','_executeRemoteChangeset','saveImage','_submitChangeset','fromCollab','_acknowledgedAwaitingChangeset','EvpKDF','YUUMI_UNABLE_LOAD_URL','_initDependencies','getInterceptPoints','_doFinalize','_permissionService','_state','resend','onMissedChangesetFetched','/universer-api/file/{fileID}/sign-url','keySize','enableSingleActiveInstanceLock','AES','asObservable','_type','set','Malformed\x20UTF-8\x20data','image/bmp','_candidateSocket','_doCryptBlock','loadSheet','\x0aAfter:\x20','conflict','_cipher','HMAC','_collaborationUIEventService','_transformRemoteChangesetByStateCache','CHANGESET_ACK','patch','finalize','SUBMIT_CHANGESET','UNIVER_COLLABORATION_CLIENT_PLUGIN','/collaborator','_commentUpdate$','_mode','UNISCRIPT_RUN','COLLAB_SUBMIT_CHANGESET_URL','APPLY_REVISION_CONFILICT','getOwnPropertyDescriptor','kdf','failed\x20to\x20apply\x20missed\x20changesets!','open$','shouldCloseConn','fetch_missing','every','RECV','univer-pro.collaboration-client-socket-service','_applyRemoteChangeset','_doProcessBlock','3565540nFGXXC','UnitEmbedded','UPDATE_CURSOR','unitId','setConfig','LIVESHARE_REQUEST_HOST','reconnect','_oKey','_logService','_onJoinRoomEvent','complete','image/gif','getMember','/unit/','enc','_onRemoteRetry','/universer-api/comb','transformUndoRedo','_getRedoStack','commentUpdate$','UNRECOGNIZED','editingUnit','values','_compressMutationService','_telemetryService','encrypt','_resendWithTimeout','fetching\x20missing\x20changesets\x20from\x20','_rescheduleHeartbeat','onCommentUpdate','randomUUID','/block/','ceil','onMissingChangesets','random','_memberService','_initCloseConn','onTransformState','ERROR_EXCEED_SIZE','1560414xaXLxh','HmacSHA1','error$','_onUserLeave','getSnapshotAPIPath','[OfflineState]:\x20received\x20acknowledgement.','112034HexZDR','liveShareOperation','prototype','_members','FETCH_MISS','entityInit$','_createHelper','_decreaseWaiting','incrementRevOfUnit','_keyPriorReset','getCurrentRevOfUnit','_eventService','_createSocket','_joinRoom','reduce','clear','_commentService','hasher','replace','&source=','ERROR_IMAGE_TYPE','target','_retryConnectingTimer','fromCharCode','onSendChangeset','_ENC_XFORM_MODE','getDeserializedSheetBlock','entries','_timeoutTimer','onStarting','result','onRemoteRetry','_collaborationPaused','_handler','_transformService','_clearRedo','[OfflineState]:\x20received\x20changeset.','_onConnectionFailed','createInstance','SHA1','/allowed','json','from','[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.','collabWebSocketUrl','clone','LICENSE_DISTRO_REJECTED','_snapshotServerService','COMPLETION_FINISHED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getWorkbookSelections','JOIN_ROOM_PERMISSION_DENIED','Utf8','awaiting_with_pending','processBlock','UNKNOWN_CODE','_config','updateCollaborator','getImage','compose','subscribe','_clearLocalCache','PY_RUNTIME_SCRIPT_ERROR','getUnitType','awaitingChangeset','objectID','updateCursorEvent','toggleOffline','getRandomValues','socket$','encryptBlock','404840neKVAl','map','[SyncedState]:\x20received\x20rejection.','params','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getCurrentSelections','not_collab','blockSize','_loadSheet','HEARTBEAT_TIMEOUT','_onOffline','originalMeta','GLOBAL_ROOMS_CNT_EXCEEDS','executeCommand','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','_onRemoteChangeset','_doReset','_tryEnsureSocket','_onConnectionOpen','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitStatus$','url','_state$','FAIL','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_collaborationTimeoutTimer','LOCAL_CACHE_INTERVAL','mixIn','UNIVER_UNKNOWN','sessionStatus$','isPermissionRej','$super','SNAPSHOT_HAS_BEEN_REMOVED','_onConflict','UNIVER_SHEET','joinEvent','session.room-cnt-exceeds','decryptBlock','_transformIMECache','_change$','_schedule','/object/','decrypt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CHANGESET_SHOULD_RETRY','max','LIVESHARE_OPERATION','unitID','toLowerCase','BufferedBlockAlgorithm','UNIVER_SLIDE','buffer','transformMutationsWithChangeset','permissionRejEvent','code','BlockCipher','action','_key','execute','getUnitOnRev','ERROR_IMAGE','string','_resendTimer','crypto','LIVESHARE_TERMINATE','removeMember','WordArray','_awaitingChangeset','_roomMembers','COMPRESS_MUTATION_SEND','_toggleOnline','encode','salt','[CollaborationSession]','[SyncedState]:\x20received\x20acknowledgement.','onload','ciphertext','findIndex','getFocusedUnit','readInt32LE','_getAPIPrefix','createSocket','_getLoginPath','_transformStateCache','_configService','charCodeAt','includes','infoRsp','INVALID_ARGUMENT','retryConnectingInterval','rng','_hasher','_singleActiveUnitService','onRemoteAck','deleteCollaborator','_toggleOffline','listRoles','_tryReconnect','uniscriptRunEvent','onTransformSelections','SOCKET_FAILED','MD5','OTHER_CLIENTS_EDITING','__Key__','append','origin','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Decryptor','loadOfflineData','pipe','unit-cache-','min','_throwTelemetryCollaborationNewChangeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getAllMembers','c1Prime','session','[FetchMissState]','Pkcs7','transformChangesets','onLocalMutation','name','_xformMode','_getSignURL','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/authz','_getSendChangesetTimeout','5xiaOBV','indexOf','Encryptor','_substituteRedoStack','now','_univerInstanceService','filter','onTransformRemoteChangesetByStateCache','[CollaborationEntity]','disableLocalCache','reset','_iKey','algo','OpenSSL','_clearTimeoutTimer','hostname','CBC','list','DEFAULT_FILE_NAME','loadDoc','_sheetTransformSelectionsService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/universer-api/oidc/authpage','next','m2Prime','session.join-failed','UNIVER_DOC','_sendHeartbeatTimer','error','session.room-full','concat','LICENSE_MAX_UNITS_EXCEEDED','routeKey','APPLY_REJECT','_sendingTimer','UUID','PENDING','_onRemoteRejected','_members$','updateMember','_onCombEvent','3458046eCZTSn','BASE64','put','_sendHeartbeat','_createHandler','[DataLoaderService]','length','_snapshotService','location','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','image/jpeg','getResourcesRequest','type','initWorkbookPermissionChange','baseRev','putCollaborators','has','_revisionService','_emitMembers','collaboratorID','delete','collabSubmitChangesetUrl','_entities','JOIN_ROOM_NOT_EXISTS','catch','?url=','members','JOIN','_clearCollaborationTimeoutTimer','_parse','transformStack\x20failed!','_initUnitPermissionChange','MUTATION','_transformStack','defineProperty','_unitInfo$','_updateState','call','forEach','CipherParams','[UniverCollaborationClientPlugin]','_sender','create','_collaborationSessionService','_unitID','readyForCollab','collaborators','AWAITING_WITH_PENDING','floor','_changesetSessionId','JOIN_ROOM_FULL','getRoom','reject','transformSelections','_initRequestHeader','/role','_collabSessionService','_onFetchMissResult','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setCurrentUser','OFFLINE','SHOULD_CLOSE_CONN','size','csAckEvent','_sessions','iterations','randomBytes','_clearHeartbeatTimer','Error\x20on\x20receiving\x20event','_exhaustRemoteChangesetQueue','FETCH_MISSING','objectType','_redoStacks','onRemoteRej','startsWith','unknown','byteOffset','add','getTypeOfUnitDisposed$','RETRY_CONNECTING_MAX_COUNT','/-/object/list','45xtojuy','_initMergeInterceptor','_updateStatus','requireSession','closeSession','mode','onCommandExecuted','collaboration-client.config','\x0aCurrent:\x20','UNKNOWN_CMD','unitInfo$','src','_handlerCallback','_showConflictNotification','ALREADY_EXISTS','_injector','socket\x20open.','UPDATE_PERMISSION_OBJ','_telemetryInfo','compute','image/png','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','CLOSE_ROOM','uploadFileServerUrl','isArray','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','join','sigBytes','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_FAILED','status','objectActions','getTime','find','Hasher','_instanceService','offline','event$','change$','rev','mutations','format','_getAPIPrefixPath','localeService','[CollaborationUndoRedoService]','localCacheService','_commandService','getCurrentUser','INTERNAL_ERROR','responseType','HttpImport','CONNECTOR_DATA_TOO_LARGE','/universer-api/user/session-ticket','[PendingState]:\x20received\x20acknowledgement.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/-/object/-/batch_allowed','send','function','PERMISSION_DENIED','clamp','batchAllowed','submit\x20changeset\x20error!','_onUserJoin','get','then','_roomCreated$','byteLength','4358802jRNply','roles','HmacMD5','getLatestCsReqIdBySid','push','NO_OTHER_CLIENTS_EDITING','requestParams','SOCKET_FAILED_RETRY','COMMENT_UPDATE','synced','copyFileMeta','OPTIONAL','workbook','subject','_scheduleCollaborationTimeoutTimer','__esModule','_fetchMissChangesets','StreamCipher','_stopTelemetryCollaborationNewChangeset','apply','hasOwnProperty','update','_nRounds','_DEC_XFORM_MODE','deepClone','changesets','range','ivSize','_append','getCollabEntity$','pauseCollaboration','APPLY_NON_SEQUENTIAL_REVISION','unsubscribe','resolve','subUnitId','default','eventID','setShowComponents','userID','appendMutation','_socket','\x20to\x20','_clearUndo','ENSURE_SNAPSHOT_EXECUTION','getValue','_undoRedoService','_loadDoc','loadUnit','substr','auth.needGotoLoginAlert','MSG_FOR_ERROR','IDLE','href','sessionStatus','joinRsp','_isPermissionRej','_socketService','stopTime','_getUndoStack','OTHER_CLIENT_EDITING','{fileID}','_onMessage','_syncEditingCollabCursor','interceptor','dispose','_socketMessageSubscription','_replaceFileID','pad','PSEUDO_FETCH_MISSING_RESULT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getMemberID','unpad','extend','_remoteChangesetQueue','onlyLocal','UNDEFINED','newCsEvent','parse','Base64','cfg','addImageSourceCache','Base','memberID','sendChangesetTimeout','LIVESHARE_FETCH_OPERATIONS','[CollaborationSessionService]:\x20socket\x20error','repeat','charAt','getTypeOfUnitAdded$','state','1707112MTQYsD','readAsDataURL','UNIVER_PROJECT','lib','NoPadding','[PendingState]:\x20received\x20rejection.','_disableEditing','/fetchmissing?from=','_resendTimeout','fetchMissingChangesets','exports','state$','INGEST','_startCollaboration','enableOfflineEditing','_iv','registerHTTPInterceptor','splice','getUnitId','/new_changes','saveSheetBlock','allowed','NEW_CHANGESETS','__creator','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','toggleOnline','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','selections','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_shouldReportTelemetry','LEAVE','c2Prime','ONLINE','_waitCount','resourceIDs','/universer-api/snapshot/','getSheetId','_event$','post','fetchThroughInterceptors','bind','override','waitForRoom$','snapshotServerUrl','close','_unlockTransition','dispose$','commentUpdateEvent','_entityInit$','getCollabEntity','saveSnapshot','pending','_hash','_sessionStatus$','online$','JOINING','_scheduleCompleteTimestamp','_updateLocalCache','onStateChange','_transformSelections','roomInfos','SUBMIT_CHANGESET_TIMEOUT','_socket$','ws://127.0.0.1:8000/universer-api/comb/connect'];_0x3db1=function(){return _0x133e35;};return _0x3db1();}var Cs=Object['defineProperty'],bs=Object[_0x1f558c(0x330)],Rs=(_0x601515,_0x100846,_0x4ac7b9,_0x5d9883)=>{var _0x18dddd=_0x1f558c;for(var _0x370929=_0x5d9883>0x1?void 0x0:_0x5d9883?bs(_0x100846,_0x4ac7b9):_0x100846,_0x582aff=_0x601515[_0x18dddd(0x158)]-0x1,_0x2757ef;_0x582aff>=0x0;_0x582aff--)(_0x2757ef=_0x601515[_0x582aff])&&(_0x370929=(_0x5d9883?_0x2757ef(_0x100846,_0x4ac7b9,_0x370929):_0x2757ef(_0x370929))||_0x370929);return _0x5d9883&&_0x370929&&Cs(_0x100846,_0x4ac7b9,_0x370929),_0x370929;},hi=(_0x582283,_0x367e8d)=>(_0x325768,_0x26a1e1)=>_0x367e8d(_0x325768,_0x26a1e1,_0x582283);const Os=_0x1f558c(0x42e);let yt=class{constructor(_0x4eaaa7,_0x5eb19d){var _0xecd69b=_0x1f558c;this['_configService']=_0x4eaaa7,this[_0xecd69b(0x2d4)]=_0x5eb19d;}[_0x1f558c(0x1ce)](){var _0x4f90c8=_0x1f558c,_0x236c25,_0x34db7c;const _0x52905a=this[_0x4f90c8(0x405)]['getConfig'](Ni),_0x3bbfc0=this[_0x4f90c8(0x405)]['getConfig'](q);return(_0x34db7c=(_0x236c25=_0x3bbfc0==null?void 0x0:_0x3bbfc0[_0x4f90c8(0x2a5)])!=null?_0x236c25:_0x52905a)!=null?_0x34db7c:Os;}async[_0x1f558c(0x13a)](_0x503019){var _0x37280a=_0x1f558c;const _0x1ccff6=this['_getAPIPrefixPath']()+_0x37280a(0x32a);return{'list':[{'title':_0x37280a(0x2cc),'mentions':(await this['_HTTPService']['get'](_0x1ccff6,{'params':{'objectID':_0x503019[_0x37280a(0x33e)],'unitID':_0x503019['unitId']}}))['body'][_0x37280a(0x181)]['map'](_0x586df9=>({'objectId':_0x586df9['id'],'name':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x42a)],'metadata':{'icon':_0x586df9[_0x37280a(0x1f4)][_0x37280a(0x2a6)]},'label':_0x586df9['subject'][_0x37280a(0x42a)],'objectType':_0x4e27b9[_0x37280a(0x2fc)]})),'metadata':{},'type':_0x4e27b9['PERSON']}]};}};yt=Rs([hi(0x0,_0x5b2811(_0x4ea54a)),hi(0x1,_0x5b2811(_0x5b9922))],yt);var ys=Object[_0x1f558c(0x175)],Ns=Object[_0x1f558c(0x330)],Ds=(_0x3b3503,_0x5b43ee,_0x472334,_0x4f3ef1)=>{var _0x25fedf=_0x1f558c;for(var _0x22c226=_0x4f3ef1>0x1?void 0x0:_0x4f3ef1?Ns(_0x5b43ee,_0x472334):_0x5b43ee,_0x357a15=_0x3b3503[_0x25fedf(0x158)]-0x1,_0x5c31a4;_0x357a15>=0x0;_0x357a15--)(_0x5c31a4=_0x3b3503[_0x357a15])&&(_0x22c226=(_0x4f3ef1?_0x5c31a4(_0x5b43ee,_0x472334,_0x22c226):_0x5c31a4(_0x22c226))||_0x22c226);return _0x4f3ef1&&_0x22c226&&ys(_0x5b43ee,_0x472334,_0x22c226),_0x22c226;},Ue=(_0x58d992,_0x1cea37)=>(_0x12fd01,_0x52e57b)=>_0x1cea37(_0x12fd01,_0x52e57b,_0x58d992);let at=class extends _0x1a5dd9{constructor(_0x29e80b,_0xb6d63a,_0x1fcf73,_0x350e04,_0x19a039){var _0x256b4b=_0x1f558c;super(),this[_0x256b4b(0x1b3)]=_0x29e80b,this[_0x256b4b(0x435)]=_0xb6d63a,this[_0x256b4b(0x30f)]=_0x1fcf73,this[_0x256b4b(0x17e)]=_0x350e04,this[_0x256b4b(0x323)]=_0x19a039,this[_0x256b4b(0x172)](),this[_0x256b4b(0x35f)]();}['_initCloseConn'](){var _0x2c6fb4=_0x1f558c;const _0x5be4a4=async _0x3dd495=>{var _0x467f6e=_0x4725;(await this['_collaborationSessionService'][_0x467f6e(0x1a7)](_0x3dd495))[_0x467f6e(0x1c9)][_0x467f6e(0x41e)](_0x1bdf9d(_0x1858e7=>_0x1858e7[_0x467f6e(0x20b)]===_0x238e1f[_0x467f6e(0x190)]),_0x30142f(this[_0x467f6e(0x270)]))[_0x467f6e(0x3a4)](_0x524afe=>{var _0x279de2=_0x467f6e;const _0x5a09d5=_0x524afe,{reason:_0x2abdb6}=_0x5a09d5[_0x279de2(0x2f7)];this[_0x279de2(0x323)][_0x279de2(0x2ec)]({'id':se[_0x279de2(0x1ba)],'data':_0x2abdb6}),this[_0x279de2(0x30f)]['updatePermissionPoint'](new _0x6a1b02(_0x3dd495)['id'],!0x1),this['_collaborationSessionService'][_0x279de2(0x1a8)](_0x3dd495);});};_0x404c78(this['_univerInstanceService'][_0x2c6fb4(0x23f)](_0x3886a9['UNIVER_SHEET']),this[_0x2c6fb4(0x435)]['getTypeOfUnitAdded$'](_0x3886a9[_0x2c6fb4(0x143)]))['pipe'](_0xeca816(_0xc5d8c8=>_0xc5d8c8['getUnitId']()),_0x1bdf9d(_0x38db8c=>!_0x5c098a(_0x38db8c)),_0x30142f(this[_0x2c6fb4(0x270)]))[_0x2c6fb4(0x3a4)](_0x4e46ce=>{_0x5be4a4(_0x4e46ce);});}[_0x1f558c(0x172)](){var _0x33f8f2=_0x1f558c;const _0x58d07c=async _0x3ef88c=>{var _0x4cb0c6=_0x4725;const _0x155477=await this[_0x4cb0c6(0x17e)][_0x4cb0c6(0x1a7)](_0x3ef88c),_0x18f2f1=this['_injector']['get'](_0x15e11e);_0x155477[_0x4cb0c6(0x1c9)][_0x4cb0c6(0x41e)](_0x1bdf9d(_0x408b2f=>_0x408b2f[_0x4cb0c6(0x20b)]===_0x238e1f['UPDATE_PERMISSION_OBJ']),_0x30142f(this[_0x4cb0c6(0x270)]))[_0x4cb0c6(0x3a4)](_0x3c412e=>{var _0x2120dd=_0x4cb0c6;const _0x4038b1=_0x3c412e,{objectId:_0x2aff2f}=_0x4038b1[_0x2120dd(0x2f7)];_0x2aff2f===_0x3ef88c?_0x18f2f1[_0x2120dd(0x160)](_0x3ef88c):_0x18f2f1[_0x2120dd(0x29e)](_0x3ef88c,_0x2aff2f);});};_0x404c78(this[_0x33f8f2(0x435)][_0x33f8f2(0x23f)](_0x3886a9[_0x33f8f2(0x3d3)]))['pipe'](_0xeca816(_0x2585de=>_0x2585de[_0x33f8f2(0x253)]()),_0x1bdf9d(_0x348d6a=>!_0x5c098a(_0x348d6a)),_0x30142f(this[_0x33f8f2(0x270)]))[_0x33f8f2(0x3a4)](_0x456290=>{_0x58d07c(_0x456290);});}};at=Ds([Ue(0x0,_0x5b2811(_0x5b79bd)),Ue(0x1,_0x30c3be),Ue(0x2,_0x5b9158),Ue(0x3,_0x5b2811(Le)),Ue(0x4,_0x5b2811(pe))],at);var Ps=Object[_0x1f558c(0x175)],ws=Object[_0x1f558c(0x330)],Us=(_0x1de490,_0x3ad4c8,_0x4461e2,_0x40ca7b)=>{for(var _0x559b6a=_0x40ca7b>0x1?void 0x0:_0x40ca7b?ws(_0x3ad4c8,_0x4461e2):_0x3ad4c8,_0x314b02=_0x1de490['length']-0x1,_0x915d2b;_0x314b02>=0x0;_0x314b02--)(_0x915d2b=_0x1de490[_0x314b02])&&(_0x559b6a=(_0x40ca7b?_0x915d2b(_0x3ad4c8,_0x4461e2,_0x559b6a):_0x915d2b(_0x559b6a))||_0x559b6a);return _0x40ca7b&&_0x559b6a&&Ps(_0x3ad4c8,_0x4461e2,_0x559b6a),_0x559b6a;},_i=(_0x5518b4,_0x12725d)=>(_0x38eab3,_0x47c013)=>_0x12725d(_0x38eab3,_0x47c013,_0x5518b4);let Nt=class{constructor(_0x2d299a,_0x59a0fb){var _0x3fd296=_0x1f558c;this[_0x3fd296(0x405)]=_0x2d299a,this[_0x3fd296(0x2d9)]=_0x59a0fb;}async[_0x1f558c(0x3ec)](_0x4934e7,_0x24574b){var _0x3ecaa4=_0x1f558c,_0x424cc4;const {unitID:_0x24f2f8,type:_0x23f6db,revision:_0x34aaf3=0x0}=_0x24574b,_0x279310=this[_0x3ecaa4(0x366)]()+'/'+_0x23f6db+_0x3ecaa4(0x348)+_0x24f2f8+'/rev/'+_0x34aaf3,_0x3b29c8=(await this[_0x3ecaa4(0x2d9)]['get'](_0x279310))[_0x3ecaa4(0x2ac)],_0x2bca10=(_0x424cc4=_0x3b29c8[_0x3ecaa4(0x2cf)])==null?void 0x0:_0x424cc4[_0x3ecaa4(0x1f3)];if(_0x2bca10){const _0x439fc0=_0x2bca10==null?void 0x0:_0x2bca10[_0x3ecaa4(0x3ba)],_0x151b2c=_0x9a9792['encode'](_0x3b9e94(_0x439fc0));_0x2bca10[_0x3ecaa4(0x3ba)]=_0x151b2c,Object[_0x3ecaa4(0x383)](_0x2bca10['sheets'])[_0x3ecaa4(0x179)](([,_0x598a8a])=>{var _0x39e69a=_0x3ecaa4;const _0x518329=_0x598a8a[_0x39e69a(0x3ba)],_0x57f1fa=_0x9a9792[_0x39e69a(0x3f8)](_0x3b9e94(_0x518329));_0x598a8a['originalMeta']=_0x57f1fa;});}return _0x3b29c8;}async[_0x1f558c(0x2e8)](_0x2b35d5,_0x47074f){var _0x772a27=_0x1f558c;const {unitID:_0x56beb6,type:_0x388a1d,blockID:_0x2d8544}=_0x47074f,_0x228308=this['_getAPIPrefix']()+'/'+_0x388a1d+_0x772a27(0x348)+_0x56beb6+'/block/'+_0x2d8544;return(await this[_0x772a27(0x2d9)][_0x772a27(0x1e3)](_0x228308))[_0x772a27(0x2ac)];}async[_0x1f558c(0x382)](_0x35c164,_0x198541){var _0xe832b3=_0x1f558c;const {unitID:_0xd081f3,type:_0x13d1e6,blockID:_0x306664}=_0x198541,_0x2511d6=this[_0xe832b3(0x401)]()+_0xe832b3(0x35a)+_0x13d1e6+_0xe832b3(0x348)+_0xd081f3+_0xe832b3(0x35a)+_0x306664;return(await this['_httpService'][_0xe832b3(0x1e3)](_0x2511d6))['body'];}async[_0x1f558c(0x24a)](_0x5075c9,_0x444349){var _0x35290c=_0x1f558c;const {unitID:_0x2d07db,type:_0x2545cb,from:_0x1d126b,to:_0x4568df}=_0x444349,_0x7902f=this[_0x35290c(0x401)]()+'/'+_0x2545cb+_0x35290c(0x348)+_0x2d07db+_0x35290c(0x248)+_0x1d126b+'&to='+_0x4568df;return(await this[_0x35290c(0x2d9)][_0x35290c(0x1e3)](_0x7902f))['body'];}['getSnapshotAPIPath'](){var _0x202b30=_0x1f558c,_0x4869d3;return(_0x4869d3=this['_configService'][_0x202b30(0x2a0)](En))!=null?_0x4869d3:this[_0x202b30(0x401)]();}[_0x1f558c(0x401)](){var _0xd93bdb=_0x1f558c,_0x4480f1,_0x22325f;const _0x26bac8=this[_0xd93bdb(0x405)][_0xd93bdb(0x2a0)](gn),_0x329094=this[_0xd93bdb(0x405)]['getConfig'](q);return(_0x22325f=(_0x4480f1=_0x329094==null?void 0x0:_0x329094[_0xd93bdb(0x26d)])!=null?_0x4480f1:_0x26bac8)!=null?_0x22325f:Sn;}async[_0x1f558c(0x15e)](_0x40affa,_0x11d391){var _0x103df4=_0x1f558c;const _0x1166b0=_0x103df4(0x265)+_0x11d391['type']+_0x103df4(0x348)+_0x11d391[_0x103df4(0x3e0)]+'/resources';return(await this[_0x103df4(0x2d9)][_0x103df4(0x1e3)](_0x1166b0,{'params':{'resourceId':JSON[_0x103df4(0x283)](_0x11d391[_0x103df4(0x264)])}}))[_0x103df4(0x2ac)];}[_0x1f558c(0x274)](){var _0x55c0da=_0x1f558c;throw new Error(_0x55c0da(0x3c4));}[_0x1f558c(0x255)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1f1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f558c(0x1ea)](){var _0xd1a3b9=_0x1f558c;throw new Error(_0xd1a3b9(0x3c4));}};Nt=Us([_i(0x0,_0x4ea54a),_i(0x1,_0x5b2811(_0x5b9922))],Nt);var As=Object[_0x1f558c(0x175)],xs=Object[_0x1f558c(0x330)],Ls=(_0x118a9c,_0x503f4b,_0x244f20,_0x52a483)=>{for(var _0x498495=_0x52a483>0x1?void 0x0:_0x52a483?xs(_0x503f4b,_0x244f20):_0x503f4b,_0x54acdd=_0x118a9c['length']-0x1,_0x1b79b3;_0x54acdd>=0x0;_0x54acdd--)(_0x1b79b3=_0x118a9c[_0x54acdd])&&(_0x498495=(_0x52a483?_0x1b79b3(_0x503f4b,_0x244f20,_0x498495):_0x1b79b3(_0x498495))||_0x498495);return _0x52a483&&_0x498495&&As(_0x503f4b,_0x244f20,_0x498495),_0x498495;},Ae=(_0xf7de90,_0x538d87)=>(_0x4944e6,_0xa2d163)=>_0x538d87(_0x4944e6,_0xa2d163,_0xf7de90);let Dt=class extends _0x457268{constructor(_0x2a943f,_0x3e26b2,_0x1c30b1,_0xbdb752,_0x3f6246){var _0x3a4b2b=_0x1f558c;super(_0x2a943f,_0x3e26b2,_0x1c30b1),this[_0x3a4b2b(0x38a)]=_0xbdb752,this[_0x3a4b2b(0x343)]=_0x3f6246;}[_0x1f558c(0x34c)](_0x1076ba,_0x1570ec){var _0x2c8222=_0x1f558c;const _0x3e52a2=this[_0x2c8222(0x221)](_0x1076ba);if(_0x3e52a2)try{const _0x35129e=this['_transformStack'](_0x3e52a2,_0x1570ec);this[_0x2c8222(0x28d)](_0x1076ba,_0x35129e);}catch(_0x4def73){this[_0x2c8222(0x343)][_0x2c8222(0x145)]('[CollaborationUndoRedoService]',_0x4def73),this[_0x2c8222(0x211)](_0x1076ba);}const _0x1f6566=this[_0x2c8222(0x34d)](_0x1076ba);if(_0x1f6566)try{const _0x187220=this[_0x2c8222(0x174)](_0x1f6566,_0x1570ec);this[_0x2c8222(0x433)](_0x1076ba,_0x187220);}catch(_0x4924be){this[_0x2c8222(0x343)][_0x2c8222(0x145)](_0x4924be),this[_0x2c8222(0x38b)](_0x1076ba);}}[_0x1f558c(0x211)](_0x5bd5a3){var _0x17345a=_0x1f558c;const _0x388e76=this[_0x17345a(0x221)](_0x5bd5a3);_0x388e76&&(_0x388e76[_0x17345a(0x158)]=0x0,this[_0x17345a(0x1a6)]());}[_0x1f558c(0x38b)](_0x13ae24){var _0x55fd1f=_0x1f558c;const _0x303fc2=this['_getRedoStack'](_0x13ae24);_0x303fc2&&(_0x303fc2[_0x55fd1f(0x158)]=0x0,this[_0x55fd1f(0x1a6)]());}[_0x1f558c(0x28d)](_0x5dd2f0,_0x6d582e){var _0x3eddd4=_0x1f558c;this[_0x3eddd4(0x2da)][_0x3eddd4(0x319)](_0x5dd2f0,_0x6d582e),this[_0x3eddd4(0x1a6)]();}['_substituteRedoStack'](_0x1ea684,_0x369a8c){var _0x2f4140=_0x1f558c;this[_0x2f4140(0x19b)][_0x2f4140(0x319)](_0x1ea684,_0x369a8c),this[_0x2f4140(0x1a6)]();}['_transformStack'](_0x48d0ff,_0x412b5f){var _0x491152=_0x1f558c;const _0x5b1226=[];let _0xaa9454=_0x412b5f,_0x138d66=_0x412b5f;for(let _0x1f1322=_0x48d0ff['length']-0x1;_0x1f1322>=0x0;_0x1f1322--){const {unitID:_0x5bae4c,undoMutations:_0x322c5d,redoMutations:_0x3a67e6}=_0x48d0ff[_0x1f1322],_0x1fb6ef=this[_0x491152(0x38a)][_0x491152(0x3e5)](_0xaa9454,_0x322c5d),_0xf630cd=this[_0x491152(0x38a)]['transformMutationsWithChangeset'](_0x138d66,_0x3a67e6);if(_0x10ccbc(_0x1fb6ef)||_0x10ccbc(_0xf630cd)){this['_logService'][_0x491152(0x145)](_0x491152(0x1d0),_0x491152(0x171),_0x1fb6ef,_0xf630cd);break;}_0xaa9454=_0x1fb6ef[_0x491152(0x424)],_0x138d66=_0xf630cd[_0x491152(0x424)],_0x5b1226[_0x491152(0x1eb)]({'unitID':_0x5bae4c,'undoMutations':_0x1fb6ef[_0x491152(0x141)],'redoMutations':_0xf630cd['m2Prime']});}return _0x5b1226['reverse']();}};Dt=Ls([Ae(0x0,_0x30c3be),Ae(0x1,_0x456150),Ae(0x2,_0x201420),Ae(0x3,_0x45b9e1),Ae(0x4,_0x574408)],Dt);var Ui=Object[_0x1f558c(0x175)],Ms=Object[_0x1f558c(0x330)],$s=(_0x1a19e0,_0x1fcdd0,_0x327650)=>_0x1fcdd0 in _0x1a19e0?Ui(_0x1a19e0,_0x1fcdd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x327650}):_0x1a19e0[_0x1fcdd0]=_0x327650,Hs=(_0x40de5e,_0x195004,_0x4fc68d,_0x44517b)=>{var _0x2ec702=_0x1f558c;for(var _0x49f8c6=_0x44517b>0x1?void 0x0:_0x44517b?Ms(_0x195004,_0x4fc68d):_0x195004,_0x3d74b7=_0x40de5e[_0x2ec702(0x158)]-0x1,_0x19ace2;_0x3d74b7>=0x0;_0x3d74b7--)(_0x19ace2=_0x40de5e[_0x3d74b7])&&(_0x49f8c6=(_0x44517b?_0x19ace2(_0x195004,_0x4fc68d,_0x49f8c6):_0x19ace2(_0x49f8c6))||_0x49f8c6);return _0x44517b&&_0x49f8c6&&Ui(_0x195004,_0x4fc68d,_0x49f8c6),_0x49f8c6;},St=(_0x4917f9,_0x224464)=>(_0x59ea0b,_0x515ef2)=>_0x224464(_0x59ea0b,_0x515ef2,_0x4917f9),ks=(_0x416efc,_0x2abe36,_0x59890b)=>$s(_0x416efc,_0x2abe36+'',_0x59890b);const js=_0x1f558c(0x329);let Pt=class extends _0x5290de{constructor(_0xb93f19,_0x3cde3a,_0x3cb917,_0x158a1b){var _0x4528b1=_0x1f558c;super(),N(this,_0x4528b1(0x3a0)),(this['_logService']=_0x3cde3a,this[_0x4528b1(0x1b3)]=_0x3cb917,this['_configService']=_0x158a1b);const {..._0x4def11}=_0x33bad6({},An,_0xb93f19);if(!_0x4def11[_0x4528b1(0x2c5)])throw new Error(_0x4528b1(0x41b));this[_0x4528b1(0x3a0)]=_0x4def11,this[_0x4528b1(0x405)][_0x4528b1(0x33f)](q,_0x4def11);}[_0x1f558c(0x385)](){var _0x5d63da=_0x1f558c;this[_0x5d63da(0x2ed)](),this[_0x5d63da(0x30c)]();}[_0x1f558c(0x2ed)](){var _0x2cbf3c=_0x1f558c,_0x3b916d,_0x1be061;this[_0x2cbf3c(0x1b3)][_0x2cbf3c(0x163)](_0x46c745)&&this[_0x2cbf3c(0x343)][_0x2cbf3c(0x145)](_0x2cbf3c(0x17b),_0x2cbf3c(0x399));const _0x13f316=_0x591a49([[_0x46c745,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this['_config'][_0x2cbf3c(0x2c5)]}],[_0x389d38,{'useClass':Nt}],[_0x1b9835,{'useClass':bt}],[_0x3f6478,{'useClass':Ot}],[_0x4e0d64,{'useClass':yt}],[rt],[Ct]],(_0x3b916d=this['_config'])==null?void 0x0:_0x3b916d[_0x2cbf3c(0x26b)]);if(!((_0x1be061=this[_0x2cbf3c(0x3a0)])!=null&&_0x1be061[_0x2cbf3c(0x315)])){const _0x10f1dc=_0x13f316[_0x2cbf3c(0x3fe)](([_0x334c35])=>_0x334c35===ht);_0x10f1dc!==-0x1&&_0x13f316[_0x2cbf3c(0x252)](_0x10f1dc,0x1);}_0x8001ff(this['_injector'],_0x13f316);}['_initDependencies'](){var _0x21a740=_0x1f558c,_0x3c93df,_0x72a343,_0x5f395b;this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](_0x5b9922)[_0x21a740(0x251)]({'priority':0x14,'interceptor':_0x3cb4fe({'maxParallel':0x6})}),(_0x3c93df=this['_config'])!=null&&_0x3c93df[_0x21a740(0x24f)]||(_0x72a343=this[_0x21a740(0x1b3)][_0x21a740(0x1e3)](J,_0x5bd1e3[_0x21a740(0x1f2)]))==null||_0x72a343[_0x21a740(0x439)](),(_0x5f395b=this['_config'])!=null&&_0x5f395b[_0x21a740(0x2cb)]&&_0x3a3a91(this[_0x21a740(0x1b3)],[[st]]),_0x3a3a91(this['_injector'],[[ot],[rt],[at]]);}};ks(Pt,_0x1f558c(0x304),js),Pt=Hs([_0x208650(_0x3c03b4,_0xc797fa),St(0x1,_0x574408),St(0x2,_0x5b2811(_0x5b79bd)),St(0x3,_0x4ea54a)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};