@univerjs-pro/collaboration-client 0.5.4 → 0.5.5-experimental.20250122-3362a4a

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 _0x24947f=_0x2266;(function(_0x5120ce,_0x212f50){var _0x227ba1=_0x2266,_0x5b539c=_0x5120ce();while(!![]){try{var _0x735090=parseInt(_0x227ba1(0x17f))/0x1+-parseInt(_0x227ba1(0x409))/0x2*(parseInt(_0x227ba1(0x161))/0x3)+parseInt(_0x227ba1(0x32a))/0x4+parseInt(_0x227ba1(0x3d2))/0x5*(-parseInt(_0x227ba1(0x1ac))/0x6)+parseInt(_0x227ba1(0x22d))/0x7+-parseInt(_0x227ba1(0x1d2))/0x8*(parseInt(_0x227ba1(0x1d8))/0x9)+parseInt(_0x227ba1(0x254))/0xa*(-parseInt(_0x227ba1(0x2a3))/0xb);if(_0x735090===_0x212f50)break;else _0x5b539c['push'](_0x5b539c['shift']());}catch(_0x1ffb6c){_0x5b539c['push'](_0x5b539c['shift']());}}}(_0x395a,0xd3368));var Li=Object[_0x24947f(0x2ee)],Mi=(_0x41cf60,_0x38cd3b,_0x1f81c6)=>_0x38cd3b in _0x41cf60?Li(_0x41cf60,_0x38cd3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f81c6}):_0x41cf60[_0x38cd3b]=_0x1f81c6,N=(_0x13655a,_0x4468e2,_0x5d1e81)=>Mi(_0x13655a,typeof _0x4468e2!=_0x24947f(0x240)?_0x4468e2+'':_0x4468e2,_0x5d1e81);import{createIdentifier as _0x54590c,Inject as _0x2c893e,Injector as _0x47c619,Disposable as _0x99d30c,DisposableCollection as _0x3e4306,toDisposable as _0x50d33e,IConfigService as _0x14e586,ILogService as _0xb67ae9,UserManagerService as _0x3b1d08,UniverInstanceType as _0x5289d3,IUniverInstanceService as _0x1443af,LocaleService as _0x4f5132,Optional as _0x433af4,RxDisposable as _0xd51a1a,Tools as _0x5aefb7,Rectangle as _0x591d96,ICommandService as _0xb31905,JSONX as _0x4d41d7,CommandType as _0x2f0eda,IPermissionService as _0x2ee679,IUndoRedoService as _0x6cc440,sequenceExecute as _0x14706b,Workbook as _0x2568af,MentionType as _0x5dc93c,IAuthzIoService as _0x353692,isInternalEditorID as _0x27d82c,LocalUndoRedoService as _0x3f3940,IContextService as _0x41374f,DependentOn as _0x1a63b7,Plugin as _0x52c535,merge as _0x267ba1,mergeOverrideWithDependencies as _0xe2a3a9,IMentionIOService as _0x5a36b0,registerDependencies as _0x365908,Quantity as _0x2d5d77,touchDependencies as _0x571d78}from'@univerjs/core';import{Subject as _0xf92f12,merge as _0x14b0b2,of as _0x3ddd94,BehaviorSubject as _0x4e33c6,takeUntil as _0x5d80f9,ReplaySubject as _0x38d184,take as _0x56ccab,map as _0x2dc63b,shareReplay as _0x504617,firstValueFrom as _0x15e76c,concatMap as _0x9dc838}from'rxjs';import{map as _0x5e6a8b,take as _0x16c6ff,filter as _0x435be6,delay as _0x335d30,takeUntil as _0x18dbba}from'rxjs/operators';import{HTTPService as _0x2ccc1a,ISocketService as _0x597eb0,MergeInterceptorFactory as _0x30e3c1,HTTPRequest as _0x4db6ae,UniverNetworkPlugin as _0x227a87,ThresholdInterceptorFactory as _0x95300f}from'@univerjs/network';import{CollaborationEvent as _0x5b603b,parseChangesetToProtocol as _0x572073,ISnapshotServerService as _0x2013f0,isTransformMutationsWithChangesetSuccess as _0x3229d7,ITransformService as _0x303fbe,mapDocumentTypeToUniverType as _0xbcd09c,RevisionService as _0x4c63f1,isTransformChangesetsSuccess as _0x3b13ac,CompressMutationService as _0x1d59ea,parseProtocolChangeset as _0x21ca95,SnapshotService as _0x35ae70,textEncoder as _0x663c9c,b64DecodeUnicode as _0x2264c9,isTransformMutationsWithChangesetFailure as _0x732167,UniverCollaborationPlugin as _0x42c108}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x55d84e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5ea005}from'@univerjs/docs';import{SheetsSelectionsService as _0xdb1513,SetSelectionsOperation as _0x26ab67,InsertSheetMutation as _0xbe7bb1,EmptyMutation as _0x240145,WorkbookEditablePermission as _0x5ec447,SheetPermissionInitController as _0x397b93,UniverSheetsPlugin as _0x3d3f1a}from'@univerjs/sheets';import{ImageSourceType as _0x3456fa,ImageUploadStatusType as _0x6d133d,IImageIoService as _0x599b72}from'@univerjs/drawing';import{getGlobalObject as _0x54ad49}from'@univerjs-pro/license';const En=_0x24947f(0x3f6),In=_0x24947f(0x363),Tn=_0x24947f(0x1a4),eo=_0x24947f(0x29c),Cn=0x7d0,bn=_0x24947f(0x220),Rn=_0x24947f(0x27c),On='/universer-api/user/session-ticket',yn=_0x24947f(0x2e8),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x24947f(0x328),wn=0x3,to=_0x24947f(0x3b7),io=0x3e8,Un=_0x24947f(0x30d),An=_0x24947f(0x3eb),xn=_0x24947f(0x3ba),Ln=_0x24947f(0x2b1),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x24947f(0x434);var Ii=(_0x4737aa=>(_0x4737aa[_0x4737aa[_0x24947f(0x372)]=0x0]=_0x24947f(0x372),_0x4737aa[_0x4737aa['OK']=0x1]='OK',_0x4737aa[_0x4737aa[_0x24947f(0x419)]=0x2]=_0x24947f(0x419),_0x4737aa[_0x4737aa['PERMISSION_DENIED']=0x3]=_0x24947f(0x16f),_0x4737aa[_0x4737aa[_0x24947f(0x1cc)]=0x4]=_0x24947f(0x1cc),_0x4737aa[_0x4737aa[_0x24947f(0x2fc)]=0x5]=_0x24947f(0x2fc),_0x4737aa[_0x4737aa[_0x24947f(0x435)]=0x6]=_0x24947f(0x435),_0x4737aa[_0x4737aa[_0x24947f(0x1d1)]=0x7]=_0x24947f(0x1d1),_0x4737aa[_0x4737aa[_0x24947f(0x2ea)]=0x8]='TOO_MANY_REQUESTS',_0x4737aa[_0x4737aa['COMPLETION_FINISHED']=0x9]=_0x24947f(0x19c),_0x4737aa[_0x4737aa[_0x24947f(0x26f)]=0x1389]=_0x24947f(0x26f),_0x4737aa[_0x4737aa['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4737aa[_0x4737aa[_0x24947f(0x247)]=0x1772]=_0x24947f(0x247),_0x4737aa[_0x4737aa['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x24947f(0x167),_0x4737aa[_0x4737aa['APPLY_REJECT']=0x1b59]=_0x24947f(0x39d),_0x4737aa[_0x4737aa[_0x24947f(0x390)]=0x1b5a]=_0x24947f(0x390),_0x4737aa[_0x4737aa[_0x24947f(0x199)]=0x1b5b]=_0x24947f(0x199),_0x4737aa[_0x4737aa[_0x24947f(0x350)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4737aa[_0x4737aa[_0x24947f(0x269)]=0x1b5d]=_0x24947f(0x269),_0x4737aa[_0x4737aa[_0x24947f(0x424)]=0x1f41]=_0x24947f(0x424),_0x4737aa[_0x4737aa[_0x24947f(0x2af)]=0x2329]=_0x24947f(0x2af),_0x4737aa[_0x4737aa['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x24947f(0x2ca),_0x4737aa[_0x4737aa[_0x24947f(0x3b6)]=0x232b]=_0x24947f(0x3b6),_0x4737aa[_0x4737aa[_0x24947f(0x25e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4737aa[_0x4737aa['LICENSE_DISTRO_REJECTED']=0x232d]=_0x24947f(0x370),_0x4737aa[_0x4737aa[_0x24947f(0x3de)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4737aa[_0x4737aa[_0x24947f(0x19e)]=0x2712]=_0x24947f(0x19e),_0x4737aa[_0x4737aa[_0x24947f(0x202)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4737aa[_0x4737aa[_0x24947f(0x2d5)]=0x2714]=_0x24947f(0x2d5),_0x4737aa[_0x4737aa[_0x24947f(0x2bd)]=-0x1]=_0x24947f(0x2bd),_0x4737aa))(Ii||{}),Q=(_0x21f8e9=>(_0x21f8e9[_0x21f8e9[_0x24947f(0x358)]=0x0]=_0x24947f(0x358),_0x21f8e9[_0x21f8e9[_0x24947f(0x313)]=0x1]='UNIVER_DOC',_0x21f8e9[_0x21f8e9[_0x24947f(0x308)]=0x2]='UNIVER_SHEET',_0x21f8e9[_0x21f8e9[_0x24947f(0x1b2)]=0x3]=_0x24947f(0x1b2),_0x21f8e9[_0x21f8e9[_0x24947f(0x387)]=0x4]='UNIVER_PROJECT',_0x21f8e9[_0x21f8e9['UNRECOGNIZED']=-0x1]=_0x24947f(0x2bd),_0x21f8e9))(Q||{}),F=(_0x5e3cd2=>(_0x5e3cd2[_0x5e3cd2[_0x24947f(0x3a9)]=0x0]=_0x24947f(0x3a9),_0x5e3cd2[_0x5e3cd2['HELLO']=0x1]='HELLO',_0x5e3cd2[_0x5e3cd2[_0x24947f(0x213)]=0x2]='JOIN',_0x5e3cd2[_0x5e3cd2[_0x24947f(0x1d9)]=0x3]='LEAVE',_0x5e3cd2[_0x5e3cd2[_0x24947f(0x3f7)]=0x4]='INGEST',_0x5e3cd2[_0x5e3cd2[_0x24947f(0x1c4)]=0x5]='HEARTBEAT',_0x5e3cd2[_0x5e3cd2[_0x24947f(0x3f1)]=0x6]=_0x24947f(0x3f1),_0x5e3cd2[_0x5e3cd2[_0x24947f(0x2bd)]=-0x1]=_0x24947f(0x2bd),_0x5e3cd2))(F||{}),Ee=(_0x52392a=>(_0x52392a[_0x52392a[_0x24947f(0x316)]=0x0]=_0x24947f(0x316),_0x52392a[_0x52392a['OK']=0x1]='OK',_0x52392a[_0x52392a[_0x24947f(0x3c7)]=0x2]='FAIL',_0x52392a[_0x52392a['JOIN_ROOM_FULL']=0x3e9]=_0x24947f(0x3e4),_0x52392a[_0x52392a[_0x24947f(0x19b)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x52392a[_0x52392a[_0x24947f(0x1e4)]=0x3eb]=_0x24947f(0x1e4),_0x52392a[_0x52392a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x52392a[_0x52392a[_0x24947f(0x2bd)]=-0x1]='UNRECOGNIZED',_0x52392a))(Ee||{}),Ti=(_0x322401=>(_0x322401[_0x322401[_0x24947f(0x374)]=0x0]=_0x24947f(0x374),_0x322401[_0x322401[_0x24947f(0x252)]=0x1]=_0x24947f(0x252),_0x322401[_0x322401['HttpExport']=0x2]=_0x24947f(0x255),_0x322401[_0x322401[_0x24947f(0x341)]=0x3]=_0x24947f(0x341),_0x322401[_0x322401['UnitSnapshot']=0x4]=_0x24947f(0x2ff),_0x322401[_0x322401[_0x24947f(0x2bd)]=-0x1]=_0x24947f(0x2bd),_0x322401))(Ti||{});const q=_0x24947f(0x31b),Wt={};var se=(_0x2ca04f=>(_0x2ca04f[_0x24947f(0x3ae)]=_0x24947f(0x3ae),_0x2ca04f[_0x24947f(0x16f)]=_0x24947f(0x16f),_0x2ca04f['CONFLICT']='CONFLICT',_0x2ca04f[_0x24947f(0x33c)]=_0x24947f(0x33c),_0x2ca04f['JOIN_ROOM_FAILED']=_0x24947f(0x25a),_0x2ca04f['SOCKET_FAILED_RETRY']=_0x24947f(0x179),_0x2ca04f[_0x24947f(0x1f1)]=_0x24947f(0x1f1),_0x2ca04f['SUBMIT_CHANGESET_TIMEOUT']=_0x24947f(0x37b),_0x2ca04f))(se||{});class pe{constructor(){var _0x57ae81=_0x24947f;N(this,_0x57ae81(0x3e3),new _0xf92f12()),N(this,_0x57ae81(0x340),this[_0x57ae81(0x3e3)][_0x57ae81(0x378)]());}[_0x24947f(0x1fd)](_0x4ae3a0){var _0xd62b9=_0x24947f;this[_0xd62b9(0x3e3)][_0xd62b9(0x27e)](_0x4ae3a0);}}const Mn=_0x54590c(_0x24947f(0x433));function $n(_0x24048e){var _0x3b2974=_0x24947f,_0x499fe0,_0x204f8e,_0x453246,_0x50429f,_0x160214;const _0xb3652d=_0x24048e[_0x3b2974(0x3a4)],_0x1a53b7=JSON[_0x3b2974(0x274)](_0xb3652d);switch(_0x1a53b7[_0x3b2974(0x1c9)]){case F[_0x3b2974(0x1c4)]:case F[_0x3b2974(0x1b8)]:{const _0x3de8af=_0x1a53b7[_0x3b2974(0x3aa)];return{..._0x1a53b7,'data':_0x3de8af,'cmd':_0x1a53b7['cmd']};}case F[_0x3b2974(0x213)]:{const _0x2b1b0d=_0x1a53b7[_0x3b2974(0x2a6)];return{..._0x1a53b7,'data':_0x2b1b0d,'cmd':_0x1a53b7['cmd']};}case F[_0x3b2974(0x3f1)]:{const _0x1909cf=_0x1a53b7[_0x3b2974(0x3bb)];switch(_0x1909cf['eventID']){case _0x5b603b[_0x3b2974(0x270)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':(_0x499fe0=_0x1909cf['permissionRejEvent'])==null?void 0x0:_0x499fe0['cs']},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x1fe)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':(_0x204f8e=_0x1909cf[_0x3b2974(0x3c9)])==null?void 0x0:_0x204f8e['cs']},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x40a)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':(_0x453246=_0x1909cf[_0x3b2974(0x388)])==null?void 0x0:_0x453246['cs']},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x3a1)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':(_0x50429f=_0x1909cf[_0x3b2974(0x39c)])==null?void 0x0:_0x50429f['cs']},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b['CHANGESET_SHOULD_RETRY']:return{..._0x1a53b7,'data':{..._0x1909cf,'data':(_0x160214=_0x1909cf[_0x3b2974(0x333)])==null?void 0x0:_0x160214['cs']},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x32d)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x33a)]},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x246)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf['joinEvent']},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x2d7)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x200)]},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x359)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x1be)]},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x37a)]:case _0x5b603b[_0x3b2974(0x1a2)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x3fc)]},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b[_0x3b2974(0x339)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x1be)]},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b['MSG_FOR_ERROR']:return{..._0x1a53b7,'data':_0x1909cf,'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b['COMMENT_UPDATE']:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x2e9)]},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};case _0x5b603b['UPDATE_PERMISSION_OBJ']:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x3da)]},'cmd':_0x1a53b7['cmd']};case _0x5b603b[_0x3b2974(0x1c7)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf['shouldCloseConn']},'cmd':_0x1a53b7['cmd']};case _0x5b603b[_0x3b2974(0x3ca)]:return{..._0x1a53b7,'data':{..._0x1909cf,'data':_0x1909cf[_0x3b2974(0x35d)]},'cmd':_0x1a53b7[_0x3b2974(0x1c9)]};default:return _0x1a53b7;}}default:return _0x1a53b7;}}function Hn(_0x1fdf42){var _0x469048=_0x24947f;switch(_0x1fdf42[_0x469048(0x1c9)]){case F[_0x469048(0x1c4)]:case F[_0x469048(0x1b8)]:return JSON[_0x469048(0x1d0)]({'cmd':_0x1fdf42[_0x469048(0x1c9)],'routeKey':_0x1fdf42[_0x469048(0x222)]});case F[_0x469048(0x3f7)]:{let _0x5aa066;switch(_0x1fdf42[_0x469048(0x3a4)]['eventID']){case _0x5b603b[_0x469048(0x32d)]:{_0x5aa066={'eventID':_0x5b603b['UPDATE_CURSOR'],'updateCursorEvent':_0x1fdf42['data'][_0x469048(0x3a4)]};break;}case _0x5b603b[_0x469048(0x2d7)]:{_0x5aa066={'eventID':_0x5b603b[_0x469048(0x2d7)],'leaveEvent':_0x1fdf42[_0x469048(0x3a4)][_0x469048(0x3a4)]};break;}case _0x5b603b[_0x469048(0x246)]:{_0x5aa066={'eventID':_0x5b603b[_0x469048(0x246)],'joinEvent':_0x1fdf42[_0x469048(0x3a4)][_0x469048(0x3a4)]};break;}case _0x5b603b['LIVESHARE_NEW_HOST']:{_0x5aa066={'eventID':_0x5b603b[_0x469048(0x359)],'liveShareNewHost':_0x1fdf42['data']['data']};break;}case _0x5b603b[_0x469048(0x1a2)]:{_0x5aa066={'eventID':_0x5b603b[_0x469048(0x1a2)],'liveShareOperation':_0x1fdf42[_0x469048(0x3a4)]['data']};break;}case _0x5b603b[_0x469048(0x339)]:{_0x5aa066={'eventID':_0x5b603b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1fdf42[_0x469048(0x3a4)]['data']};break;}case _0x5b603b[_0x469048(0x29d)]:{_0x5aa066={'eventID':_0x5b603b[_0x469048(0x29d)],'liveShareRequestHost':_0x1fdf42['data'][_0x469048(0x3a4)]};break;}case _0x5b603b[_0x469048(0x37a)]:{_0x5aa066={'eventID':_0x5b603b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5aa066={'eventID':_0x1fdf42[_0x469048(0x3a4)][_0x469048(0x298)]};}return JSON[_0x469048(0x1d0)]({'cmd':_0x1fdf42[_0x469048(0x1c9)],'routeKey':_0x1fdf42[_0x469048(0x222)],'collaMsg':_0x5aa066});}case F[_0x469048(0x213)]:return JSON[_0x469048(0x1d0)]({'cmd':_0x1fdf42[_0x469048(0x1c9)],'routeKey':_0x1fdf42[_0x469048(0x222)],'joinReq':_0x1fdf42[_0x469048(0x3a4)]});case F['LEAVE']:return JSON[_0x469048(0x1d0)]({'cmd':_0x1fdf42[_0x469048(0x1c9)],'routeKey':_0x1fdf42[_0x469048(0x222)],'leaveReq':_0x1fdf42['data']});default:throw new Error(_0x469048(0x185));}}var kn=Object['defineProperty'],jn=Object[_0x24947f(0x2d4)],Bn=(_0x208f7c,_0x5f0f1f,_0x489982,_0xc970bc)=>{var _0x491780=_0x24947f;for(var _0x1aafa6=_0xc970bc>0x1?void 0x0:_0xc970bc?jn(_0x5f0f1f,_0x489982):_0x5f0f1f,_0x39d9e6=_0x208f7c[_0x491780(0x334)]-0x1,_0x273727;_0x39d9e6>=0x0;_0x39d9e6--)(_0x273727=_0x208f7c[_0x39d9e6])&&(_0x1aafa6=(_0xc970bc?_0x273727(_0x5f0f1f,_0x489982,_0x1aafa6):_0x273727(_0x1aafa6))||_0x1aafa6);return _0xc970bc&&_0x1aafa6&&kn(_0x5f0f1f,_0x489982,_0x1aafa6),_0x1aafa6;},Ue=(_0x44282d,_0x2f3825)=>(_0x48c04e,_0x12cfac)=>_0x2f3825(_0x48c04e,_0x12cfac,_0x44282d);const Ci=_0x54590c(_0x24947f(0x3cf));function Fn(_0xb84bad,_0x4bac5c,_0x53f499){var _0x1fa3ba=_0x24947f;return _0xb84bad+'/'+_0x4bac5c+_0x1fa3ba(0x3e1)+_0x53f499+'/new_changes';}let Et=class extends _0x99d30c{constructor(_0x4690c1,_0x16974a,_0x180ad1,_0x56ce3c,_0x2f28e7){var _0x387083=_0x24947f;super(),this[_0x387083(0x2ac)]=_0x4690c1,this[_0x387083(0x376)]=_0x16974a,this[_0x387083(0x1aa)]=_0x180ad1,this[_0x387083(0x1d7)]=_0x56ce3c,this['_snapshotServerService']=_0x2f28e7;}['createSocket'](_0x1c055a){var _0x247fcd=_0x24947f;const _0x1669d2=this['_injector']['get'](_0x597eb0);if(!_0x1669d2)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x467fc1=_0x1669d2['createSocket'](_0x1c055a);if(!_0x467fc1)throw new Error(_0x247fcd(0x268));const _0x530d4a=new _0x3e4306(),_0xadfb46=new _0xf92f12();_0x530d4a[_0x247fcd(0x1f8)](_0x467fc1[_0x247fcd(0x3ef)][_0x247fcd(0x30e)](_0x1f3951=>_0xadfb46[_0x247fcd(0x27e)](_0x1f3951))),_0x530d4a[_0x247fcd(0x1f8)](_0x50d33e(()=>_0xadfb46['complete']()));const _0x2802db=new _0xf92f12();_0x530d4a[_0x247fcd(0x1f8)](_0x467fc1[_0x247fcd(0x18f)][_0x247fcd(0x30e)](_0x12a13f=>_0x2802db['next'](_0x12a13f))),_0x530d4a[_0x247fcd(0x1f8)](_0x50d33e(()=>_0x2802db['complete']()));const _0x484a8d=new _0xf92f12();_0x530d4a[_0x247fcd(0x1f8)](_0x467fc1['message$']['subscribe'](_0x32a4eb=>{var _0x3183ab=_0x247fcd;const _0xeba271=$n(_0x32a4eb);_0x484a8d[_0x3183ab(0x27e)](_0xeba271);})),_0x530d4a[_0x247fcd(0x1f8)](_0x50d33e(()=>_0x484a8d[_0x247fcd(0x36d)]()));let _0x5390a7;const _0x3823d4=()=>{var _0x11d8b6=_0x247fcd;_0x2802db[_0x11d8b6(0x27e)](new Event(_0x11d8b6(0x3fa))),_0xadfb46[_0x11d8b6(0x27e)](new CloseEvent(_0x11d8b6(0x3fa))),_0x5390a7['close']();};return _0x5390a7={'memberID':'','close$':_0xadfb46[_0x247fcd(0x378)](),'error$':_0x2802db[_0x247fcd(0x378)](),'open$':_0x467fc1[_0x247fcd(0x31a)],'message$':_0x484a8d[_0x247fcd(0x378)](),'send':_0x42225c=>{var _0x567895=_0x247fcd;if(_0x42225c[_0x567895(0x1c9)]===F[_0x567895(0x3f7)]){if(_0x42225c[_0x567895(0x3a4)][_0x567895(0x298)]===_0x5b603b[_0x567895(0x314)]){this[_0x567895(0x22c)](_0x5390a7,_0x42225c[_0x567895(0x3a4)])['catch'](_0x3266a3=>{var _0x420ec9=_0x567895;this[_0x420ec9(0x1d7)][_0x420ec9(0x197)](_0x3266a3),_0x3823d4();});return;}if(_0x42225c['data'][_0x567895(0x298)]===_0x5b603b[_0x567895(0x28e)]){const _0x5716e3=_0x42225c[_0x567895(0x3a4)];this[_0x567895(0x1ce)](_0x5716e3)['then'](_0x4a00b7=>{var _0x1e40c5=_0x567895;_0x484a8d[_0x1e40c5(0x27e)]({'cmd':F[_0x1e40c5(0x3f1)],'code':Ee['OK'],'routeKey':_0x5716e3[_0x1e40c5(0x3a4)][_0x1e40c5(0x3c4)],'routeType':'','data':{'eventID':_0x5b603b[_0x1e40c5(0x2d9)],'data':{'changesets':_0x4a00b7}}});})[_0x567895(0x3c5)](_0x5d6320=>{var _0x3fd410=_0x567895;this[_0x3fd410(0x1d7)][_0x3fd410(0x197)](_0x5d6320),_0x3823d4();});return;}}_0x467fc1[_0x567895(0x2cd)](Hn(_0x42225c));},'close':()=>{var _0x351a4b=_0x247fcd;_0x467fc1[_0x351a4b(0x2ef)](),_0x530d4a[_0x351a4b(0x402)]();}},_0x5390a7;}async[_0x24947f(0x22c)](_0x180561,_0x5309f2){var _0x48ed72=_0x24947f,_0x2f7c2f,_0x38a19e;const {unitType:_0x35b9ff,unitID:_0x133b6e,changeset:_0x57510d}=_0x5309f2['data'],_0x3207ba={'unitID':_0x133b6e,'memberID':_0x180561[_0x48ed72(0x2b7)],'type':_0x35b9ff,'changeset':_0x572073(_0x57510d)},_0x1e213d=this['_configService'][_0x48ed72(0x3b4)](Un),_0xe79b76=this[_0x48ed72(0x1aa)][_0x48ed72(0x3b4)](q),_0x2f3e78=Fn((_0x38a19e=(_0x2f7c2f=_0xe79b76==null?void 0x0:_0xe79b76[_0x48ed72(0x1b7)])!=null?_0x2f7c2f:_0x1e213d)!=null?_0x38a19e:An,_0x35b9ff,_0x133b6e);try{await this[_0x48ed72(0x376)][_0x48ed72(0x2d1)](_0x2f3e78,{'body':_0x3207ba});}catch(_0x160563){throw this[_0x48ed72(0x1d7)]['error'](_0x48ed72(0x297),_0x48ed72(0x277)),_0x160563;}}async[_0x24947f(0x1ce)](_0x515b22){var _0x4eb771=_0x24947f;const {unitID:_0x55d20e,from:_0x3628a5,to:_0x319a3c,unitType:_0x3a4a48}=_0x515b22['data'];return(await this['_snapshotServerService'][_0x4eb771(0x217)]({'metadata':void 0x0},{'unitID':_0x55d20e,'type':_0x3a4a48,'from':_0x3628a5,'to':_0x319a3c}))[_0x4eb771(0x1a3)];}};Et=Bn([Ue(0x0,_0x2c893e(_0x47c619)),Ue(0x1,_0x2c893e(_0x2ccc1a)),Ue(0x2,_0x14e586),Ue(0x3,_0xb67ae9),Ue(0x4,_0x2013f0)],Et);const Vn=_0x24947f(0x1f3);function Gn(_0x25d541){var _0x4971c4=_0x24947f;return JSON[_0x4971c4(0x1d0)](_0x25d541)[_0x4971c4(0x334)];}class bi{constructor(){var _0x2925c2=_0x24947f;N(this,_0x2925c2(0x3b5),new _0xf92f12()),N(this,_0x2925c2(0x299),this[_0x2925c2(0x3b5)][_0x2925c2(0x378)]());}[_0x24947f(0x17e)](_0x1fda17){var _0x54aad7=_0x24947f;this[_0x54aad7(0x3b5)]['next'](_0x1fda17);}}var Wn=Object[_0x24947f(0x2ee)],Kn=Object[_0x24947f(0x2d4)],Yn=(_0x357ca6,_0x3c3695,_0x4b4d76,_0x1e8555)=>{var _0x59aacf=_0x24947f;for(var _0x2da2ec=_0x1e8555>0x1?void 0x0:_0x1e8555?Kn(_0x3c3695,_0x4b4d76):_0x3c3695,_0x5eaf3a=_0x357ca6[_0x59aacf(0x334)]-0x1,_0x52e793;_0x5eaf3a>=0x0;_0x5eaf3a--)(_0x52e793=_0x357ca6[_0x5eaf3a])&&(_0x2da2ec=(_0x1e8555?_0x52e793(_0x3c3695,_0x4b4d76,_0x2da2ec):_0x52e793(_0x2da2ec))||_0x2da2ec);return _0x1e8555&&_0x2da2ec&&Wn(_0x3c3695,_0x4b4d76,_0x2da2ec),_0x2da2ec;},Kt=(_0x27336c,_0x4db4e3)=>(_0x5c7163,_0x24b44c)=>_0x4db4e3(_0x5c7163,_0x24b44c,_0x27336c);let xe=class extends _0x99d30c{constructor(_0x2004bf,_0x1e9d85){var _0x49001e=_0x24947f;super(),N(this,_0x49001e(0x1a7),new Map()),N(this,'_roomCreated$',new _0xf92f12()),(this[_0x49001e(0x3b3)]=_0x2004bf,this[_0x49001e(0x1ed)]=_0x1e9d85,this[_0x49001e(0x2c8)](_0x14b0b2(this[_0x49001e(0x3b3)]['getTypeOfUnitDisposed$'](_0x5289d3[_0x49001e(0x308)])[_0x49001e(0x342)](_0x5e6a8b(_0x42dced=>_0x42dced[_0x49001e(0x2cf)]())),this[_0x49001e(0x3b3)][_0x49001e(0x391)](_0x5289d3[_0x49001e(0x313)])[_0x49001e(0x342)](_0x5e6a8b(_0x38017b=>_0x38017b[_0x49001e(0x2cf)]())),this[_0x49001e(0x3b3)][_0x49001e(0x391)](_0x5289d3[_0x49001e(0x1b2)])[_0x49001e(0x342)](_0x5e6a8b(_0x5b8c1a=>_0x5b8c1a[_0x49001e(0x2cf)]())))[_0x49001e(0x30e)](_0x17724b=>this[_0x49001e(0x366)](_0x17724b))));}[_0x24947f(0x29e)](_0x1ab351){var _0xa3152c=_0x24947f;return this[_0xa3152c(0x1a7)]['has'](_0x1ab351)?_0x3ddd94(this[_0xa3152c(0x1a7)][_0xa3152c(0x2f7)](_0x1ab351)):this[_0xa3152c(0x36a)]['pipe'](_0x5e6a8b(_0x3aaae3=>{var _0x560bbc=_0xa3152c;if(_0x3aaae3===_0x1ab351)return this[_0x560bbc(0x1a7)][_0x560bbc(0x2f7)](_0x3aaae3);}));}[_0x24947f(0x2b2)](_0x5b45f9){var _0xcc4172=_0x24947f;this[_0xcc4172(0x1ed)]['setCurrentUser'](_0x5b45f9);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}['updateMember'](_0x56f433,_0x342c34){var _0x4c9eaf=_0x24947f;let _0x35150f=this[_0x4c9eaf(0x1a7)][_0x4c9eaf(0x2f7)](_0x56f433);_0x35150f||(_0x35150f=new qn(),this['_roomMembers']['set'](_0x56f433,_0x35150f),this[_0x4c9eaf(0x36a)]['next'](_0x56f433)),_0x35150f[_0x4c9eaf(0x37c)](_0x342c34);}[_0x24947f(0x3dc)](_0x5c431e,_0x25ee74){var _0x47077f=_0x24947f;const _0x8c85ef=this['_roomMembers'][_0x47077f(0x2f7)](_0x5c431e);_0x8c85ef&&_0x8c85ef[_0x47077f(0x3dc)](_0x25ee74);}[_0x24947f(0x26a)](_0x1e2534){var _0x31c411=_0x24947f;return this[_0x31c411(0x1a7)][_0x31c411(0x2f7)](_0x1e2534);}[_0x24947f(0x3f9)](_0xf06fb6,_0x2f0fa0){var _0x8ebb1e=_0x24947f;const _0x4ec2ce=this[_0x8ebb1e(0x1a7)][_0x8ebb1e(0x2f7)](_0xf06fb6);if(_0x4ec2ce)return _0x4ec2ce[_0x8ebb1e(0x3f9)](_0x2f0fa0);}[_0x24947f(0x366)](_0xe9d9b0){var _0x2505ab=_0x24947f;const _0xb7a924=this['_roomMembers'][_0x2505ab(0x2f7)](_0xe9d9b0);_0xb7a924&&(_0xb7a924[_0x2505ab(0x402)](),this['_roomMembers']['delete'](_0xe9d9b0));}[_0x24947f(0x402)](){var _0x305dc2=_0x24947f;this[_0x305dc2(0x1a7)][_0x305dc2(0x2d3)](_0x61720f=>_0x61720f[_0x305dc2(0x402)]()),this[_0x305dc2(0x1a7)][_0x305dc2(0x226)](),this['_roomCreated$']['complete']();}};xe=Yn([Kt(0x0,_0x1443af),Kt(0x1,_0x2c893e(_0x3b1d08))],xe);class qn extends _0x99d30c{constructor(){var _0x4ef36a=_0x24947f;super(...arguments),N(this,_0x4ef36a(0x23f),new Map()),N(this,_0x4ef36a(0x1f2),new _0x4e33c6(this[_0x4ef36a(0x23f)])),N(this,_0x4ef36a(0x437),this[_0x4ef36a(0x1f2)][_0x4ef36a(0x378)]());}[_0x24947f(0x402)](){var _0x2f5eef=_0x24947f;this[_0x2f5eef(0x23f)][_0x2f5eef(0x226)]();}[_0x24947f(0x37c)](_0x5a1065){var _0x4a351f=_0x24947f;this['_members'][_0x4a351f(0x423)](_0x5a1065[_0x4a351f(0x2b7)],_0x5a1065),this['_emitMembers']();}[_0x24947f(0x3dc)](_0x3043bf){var _0x217a4b=_0x24947f;this['_members'][_0x217a4b(0x201)](_0x3043bf);}[_0x24947f(0x3f9)](_0x1adbcb){var _0x47abe7=_0x24947f;return this[_0x47abe7(0x23f)][_0x47abe7(0x2f7)](_0x1adbcb);}['getAllMembers'](){var _0x5d9e1=_0x24947f;return Array['from'](this['_members'][_0x5d9e1(0x3dd)]());}['_emitMembers'](){var _0x49d411=_0x24947f;this[_0x49d411(0x1f2)][_0x49d411(0x27e)](this[_0x49d411(0x23f)]);}}var zn=Object[_0x24947f(0x2ee)],Jn=Object[_0x24947f(0x2d4)],Xn=(_0x9d306f,_0x36bf2d,_0x31ef68,_0x11d753)=>{var _0x2c25e8=_0x24947f;for(var _0x3f320b=_0x11d753>0x1?void 0x0:_0x11d753?Jn(_0x36bf2d,_0x31ef68):_0x36bf2d,_0x2198f8=_0x9d306f[_0x2c25e8(0x334)]-0x1,_0x370550;_0x2198f8>=0x0;_0x2198f8--)(_0x370550=_0x9d306f[_0x2198f8])&&(_0x3f320b=(_0x11d753?_0x370550(_0x36bf2d,_0x31ef68,_0x3f320b):_0x370550(_0x3f320b))||_0x3f320b);return _0x11d753&&_0x3f320b&&zn(_0x36bf2d,_0x31ef68,_0x3f320b),_0x3f320b;},me=(_0x3759d3,_0x3a6f3d)=>(_0x681748,_0x41f3ba)=>_0x3a6f3d(_0x681748,_0x41f3ba,_0x3759d3),Te=(_0x25236c=>(_0x25236c[_0x25236c[_0x24947f(0x428)]=0x0]=_0x24947f(0x428),_0x25236c[_0x25236c['JOINING']=0x1]=_0x24947f(0x229),_0x25236c[_0x25236c[_0x24947f(0x3af)]=0x2]=_0x24947f(0x3af),_0x25236c[_0x25236c[_0x24947f(0x244)]=0x3]='ONLINE',_0x25236c))(Te||{});const Yt={[Ee[_0x24947f(0x3c7)]]:_0x24947f(0x306),[Ee[_0x24947f(0x3e4)]]:'session.room-full',[Ee[_0x24947f(0x19b)]]:'session.room-not-exists',[Ee[_0x24947f(0x1e4)]]:_0x24947f(0x2be),[Ee[_0x24947f(0x19a)]]:_0x24947f(0x3e6)};let It=class extends _0xd51a1a{constructor(_0x51a78e,_0x241dae,_0x41ec49,_0x3d0de9,_0x1277e9,_0x58b75a,_0x22bb9a,_0x104566,_0x3b4a35){var _0x4ab1f7=_0x24947f;super(),N(this,_0x4ab1f7(0x29a),new _0x4e33c6(0x0)),N(this,_0x4ab1f7(0x3a6),this[_0x4ab1f7(0x29a)]['asObservable']()),N(this,_0x4ab1f7(0x3e3),new _0xf92f12()),N(this,_0x4ab1f7(0x340),this[_0x4ab1f7(0x3e3)][_0x4ab1f7(0x378)]()),N(this,_0x4ab1f7(0x225)),N(this,_0x4ab1f7(0x343)),N(this,'_collaborationTimeoutTimer'),N(this,_0x4ab1f7(0x432),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x51a78e,this[_0x4ab1f7(0x1d7)]=_0x41ec49,this[_0x4ab1f7(0x1aa)]=_0x3d0de9,this[_0x4ab1f7(0x1ee)]=_0x1277e9,this[_0x4ab1f7(0x196)]=_0x58b75a,this[_0x4ab1f7(0x438)]=_0x22bb9a,this[_0x4ab1f7(0x193)]=_0x104566,this[_0x4ab1f7(0x24d)]=_0x3b4a35,this[_0x4ab1f7(0x432)]=!!this[_0x4ab1f7(0x24d)],_0x241dae[_0x4ab1f7(0x342)](_0x5d80f9(this[_0x4ab1f7(0x30b)]))['subscribe'](_0x759216=>{var _0x14905f=_0x4ab1f7,_0x1533db;typeof _0x759216>'u'||(this[_0x14905f(0x225)]=_0x759216,_0x759216?(this[_0x14905f(0x43b)](_0x759216),this[_0x14905f(0x343)]=_0x759216[_0x14905f(0x2b8)][_0x14905f(0x30e)](_0x4782e5=>{var _0x5e5627=_0x14905f;_0x4782e5['routeKey']===this[_0x5e5627(0x158)]&&this[_0x5e5627(0x3f8)](_0x4782e5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x14905f(0x29a)]['next'](0x2),(_0x1533db=this[_0x14905f(0x343)])==null||_0x1533db[_0x14905f(0x21f)](),this[_0x14905f(0x343)]=null));}));}get['sessionStatus'](){var _0x24ac2e=_0x24947f;return this[_0x24ac2e(0x29a)][_0x24ac2e(0x282)]();}[_0x24947f(0x22f)](){var _0x30bb1b=_0x24947f,_0x4418cb,_0x16e99d;return(_0x16e99d=(_0x4418cb=this[_0x30bb1b(0x225)])==null?void 0x0:_0x4418cb[_0x30bb1b(0x2b7)])!=null?_0x16e99d:null;}[_0x24947f(0x402)](){var _0x70b09a=_0x24947f;super[_0x70b09a(0x402)](),this[_0x70b09a(0x30b)][_0x70b09a(0x27e)](),this[_0x70b09a(0x30b)][_0x70b09a(0x36d)]();}['close'](){var _0x2c4118=_0x24947f,_0x5779b9,_0x42f610;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5779b9=this['_socket'])==null||_0x5779b9[_0x2c4118(0x2cd)]({'cmd':F[_0x2c4118(0x1d9)],'data':{'roomID':this[_0x2c4118(0x158)]}}),(_0x42f610=this[_0x2c4118(0x225)])==null||_0x42f610[_0x2c4118(0x2ef)](),this[_0x2c4118(0x3e3)][_0x2c4118(0x36d)](),this[_0x2c4118(0x29a)]['complete'](),this['dispose']();}[_0x24947f(0x3f8)](_0x359d8d){var _0x5af5fd=_0x24947f;_0x359d8d[_0x5af5fd(0x1c9)]===F[_0x5af5fd(0x213)]?this['_onJoinRoomEvent'](_0x359d8d):_0x359d8d['cmd']===F['RECV']&&this['_onRecvEvent'](_0x359d8d);}[_0x24947f(0x43b)](_0x45f76c){var _0x1b9bca=_0x24947f;this[_0x1b9bca(0x29a)]['next'](0x1),_0x45f76c[_0x1b9bca(0x2cd)]({'cmd':F[_0x1b9bca(0x213)],'routeKey':this[_0x1b9bca(0x158)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b9bca(0x158)]}]}});}[_0x24947f(0x210)](_0xa5af0d){var _0x1593a8=_0x24947f,_0x350807;if(_0xa5af0d[_0x1593a8(0x23a)]in Yt){this['_collaborationUIEventService'][_0x1593a8(0x1fd)]({'id':se[_0x1593a8(0x25a)],'data':Yt[_0xa5af0d[_0x1593a8(0x23a)]]}),this['_sessionStatus$'][_0x1593a8(0x27e)](0x2);return;}this[_0x1593a8(0x29a)]['next'](0x3);const _0xdfd2ae=(_0x350807=_0xa5af0d[_0x1593a8(0x3a4)][_0x1593a8(0x2c7)][this[_0x1593a8(0x158)]])==null?void 0x0:_0x350807[_0x1593a8(0x2b9)];_0xdfd2ae&&_0xdfd2ae[_0x1593a8(0x2d3)](_0x5a5227=>this[_0x1593a8(0x196)]['updateMember'](this[_0x1593a8(0x158)],_0x5a5227));}['_onRecvEvent'](_0x14adc9){var _0x1aab02=_0x24947f;try{const _0x55b12a=_0x14adc9[_0x1aab02(0x3a4)];switch(_0x55b12a[_0x1aab02(0x298)]){case _0x5b603b['USERS_ENTER']:this[_0x1aab02(0x1af)](_0x55b12a),this[_0x1aab02(0x3e3)]['next'](_0x55b12a);break;case _0x5b603b['USERS_LEAVE']:this[_0x1aab02(0x32b)](_0x55b12a),this[_0x1aab02(0x3e3)][_0x1aab02(0x27e)](_0x55b12a);break;case _0x5b603b['CHANGESET_ACK']:case _0x5b603b[_0x1aab02(0x20b)]:this[_0x1aab02(0x3ed)](),this[_0x1aab02(0x15d)](),this[_0x1aab02(0x3e3)][_0x1aab02(0x27e)](_0x55b12a);break;case _0x5b603b[_0x1aab02(0x1a9)]:this[_0x1aab02(0x1d7)][_0x1aab02(0x197)](_0x1aab02(0x19f)+JSON[_0x1aab02(0x1d0)](_0x55b12a)),this[_0x1aab02(0x3e3)][_0x1aab02(0x27e)](_0x55b12a);break;case _0x5b603b[_0x1aab02(0x223)]:this['_commentService'][_0x1aab02(0x17e)](_0x55b12a[_0x1aab02(0x3a4)]),this[_0x1aab02(0x3e3)][_0x1aab02(0x27e)](_0x55b12a);break;default:this[_0x1aab02(0x3e3)][_0x1aab02(0x27e)](_0x55b12a);}}catch(_0x5a3802){this[_0x1aab02(0x1d7)][_0x1aab02(0x197)](_0x5a3802,_0x14adc9);}}[_0x24947f(0x1af)](_0x5aa301){var _0x464156=_0x24947f;this['_memberService'][_0x464156(0x37c)](this[_0x464156(0x158)],_0x5aa301[_0x464156(0x3a4)]);}[_0x24947f(0x32b)](_0x1122ed){var _0x13323d=_0x24947f;this[_0x13323d(0x196)][_0x13323d(0x3dc)](this[_0x13323d(0x158)],_0x1122ed[_0x13323d(0x3a4)][_0x13323d(0x2b7)]);}async[_0x24947f(0x2cd)](_0x11651a,_0x33b9f8){var _0x241557=_0x24947f;if(this['sessionStatus']!==0x3||!this[_0x241557(0x225)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x11651a[_0x241557(0x298)]===_0x5b603b[_0x241557(0x314)]&&(this[_0x241557(0x26c)](),this[_0x241557(0x413)](_0x11651a)),this['_socket']['send']({'cmd':F[_0x241557(0x3f7)],'routeKey':_0x33b9f8,'routeType':'','data':_0x11651a});}catch(_0x226a49){this['_logService']['error'](_0x226a49);}}[_0x24947f(0x26c)](){var _0x559d40=_0x24947f,_0x33fa03;this[_0x559d40(0x39f)]=setTimeout(()=>{var _0xb2099d=_0x559d40;this[_0xb2099d(0x39f)]=null,this[_0xb2099d(0x193)][_0xb2099d(0x1fd)]({'id':se[_0xb2099d(0x37b)]});},(_0x33fa03=this[_0x559d40(0x1aa)][_0x559d40(0x3b4)](Si))!=null?_0x33fa03:Ei);}[_0x24947f(0x15d)](){var _0x431333=_0x24947f;this[_0x431333(0x39f)]&&(clearTimeout(this[_0x431333(0x39f)]),this[_0x431333(0x39f)]=null);}[_0x24947f(0x413)](_0x3701f6){var _0x2e4967=_0x24947f;if(!this[_0x2e4967(0x432)])return;const {data:_0xd242a8}=_0x3701f6,{unitID:_0x55e93f,changeset:_0x29877d}=_0xd242a8,{mutations:_0x22a1ec,type:_0x5b5a2c}=_0x29877d;this['_telemetryInfo']={'unitId':_0x55e93f,'type':_0x5b5a2c,'startTime':performance[_0x2e4967(0x2b0)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x22a1ec)};}[_0x24947f(0x3ed)](){var _0x2eacb6=_0x24947f;if(this[_0x2eacb6(0x432)]){if(!this[_0x2eacb6(0x407)]){this[_0x2eacb6(0x1d7)][_0x2eacb6(0x197)]('[CollaborationSession]',_0x2eacb6(0x417));return;}this[_0x2eacb6(0x407)][_0x2eacb6(0x212)]=performance[_0x2eacb6(0x2b0)](),this[_0x2eacb6(0x407)][_0x2eacb6(0x221)]=this[_0x2eacb6(0x407)]['stopTime']-this[_0x2eacb6(0x407)][_0x2eacb6(0x16e)],this[_0x2eacb6(0x24d)][_0x2eacb6(0x397)](Vn,this[_0x2eacb6(0x407)]),this[_0x2eacb6(0x407)]=null;}}[_0x24947f(0x183)](){var _0x3b0f8a=_0x24947f;this[_0x3b0f8a(0x407)]=null;}};It=Xn([me(0x2,_0xb67ae9),me(0x3,_0x14e586),me(0x4,_0x2c893e(_0x4f5132)),me(0x5,_0x2c893e(xe)),me(0x6,_0x2c893e(bi)),me(0x7,_0x2c893e(pe)),me(0x8,_0x433af4(_0x55d84e))],It);var Zn=Object[_0x24947f(0x2ee)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x223653,_0x3bb7fd,_0x1f1c93,_0x531e2a)=>{var _0x1d9ad9=_0x24947f;for(var _0x355823=_0x531e2a>0x1?void 0x0:_0x531e2a?Qn(_0x3bb7fd,_0x1f1c93):_0x3bb7fd,_0x1b4e60=_0x223653[_0x1d9ad9(0x334)]-0x1,_0x455a1f;_0x1b4e60>=0x0;_0x1b4e60--)(_0x455a1f=_0x223653[_0x1b4e60])&&(_0x355823=(_0x531e2a?_0x455a1f(_0x3bb7fd,_0x1f1c93,_0x355823):_0x455a1f(_0x355823))||_0x355823);return _0x531e2a&&_0x355823&&Zn(_0x3bb7fd,_0x1f1c93,_0x355823),_0x355823;},ge=(_0x5977b8,_0x929b87)=>(_0x524f9c,_0x42cc38)=>_0x929b87(_0x524f9c,_0x42cc38,_0x5977b8);let Le=class extends _0x99d30c{constructor(_0x4d007e,_0x5e85d0,_0x57bd9a,_0x2de691,_0x493fcc,_0x279a5b,_0x227097){var _0x5b07e6=_0x24947f;super(),N(this,_0x5b07e6(0x42b),new _0x4e33c6(void 0x0)),N(this,'socket$',this['_socket$'][_0x5b07e6(0x378)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x5b07e6(0x24a),new _0x4e33c6(Te['IDLE'])),N(this,_0x5b07e6(0x162),this[_0x5b07e6(0x24a)]['asObservable']()),N(this,_0x5b07e6(0x403),!0x1),N(this,_0x5b07e6(0x22a)),N(this,_0x5b07e6(0x344),0x0),N(this,_0x5b07e6(0x1a0)),N(this,_0x5b07e6(0x32e)),(this[_0x5b07e6(0x2ac)]=_0x4d007e,this[_0x5b07e6(0x1d7)]=_0x5e85d0,this[_0x5b07e6(0x1aa)]=_0x57bd9a,this['_socketService']=_0x2de691,this['_httpService']=_0x493fcc,this[_0x5b07e6(0x193)]=_0x279a5b,this[_0x5b07e6(0x24f)]=_0x227097,this['_listenToNetworkCondition']());}get['_socket'](){var _0x10ea10=_0x24947f;return this['_socket$'][_0x10ea10(0x282)]();}['_listenToNetworkCondition'](){var _0x3df6dd=_0x24947f;this[_0x3df6dd(0x24f)]&&this['disposeWithMe'](this['_networkConditionService'][_0x3df6dd(0x195)]['subscribe'](_0x3f2072=>{var _0x2c9f95=_0x3df6dd;_0x3f2072&&!this[_0x2c9f95(0x225)]&&this[_0x2c9f95(0x15e)](),_0x3f2072||this['_onOffline']();}));}[_0x24947f(0x402)](){var _0x38ae03=_0x24947f;super[_0x38ae03(0x402)](),this[_0x38ae03(0x15f)]['forEach'](_0x229b27=>_0x229b27['dispose']()),this[_0x38ae03(0x15f)][_0x38ae03(0x226)](),this['_status$']['complete']();}async[_0x24947f(0x23c)](_0x3ad982){var _0x135286=_0x24947f;if(this[_0x135286(0x15f)][_0x135286(0x28a)](_0x3ad982))return this[_0x135286(0x15f)][_0x135286(0x2f7)](_0x3ad982);this[_0x135286(0x1b9)]();const _0x227d01=this[_0x135286(0x2ac)][_0x135286(0x356)](It,_0x3ad982,this['_socket$'][_0x135286(0x378)]());return this[_0x135286(0x15f)][_0x135286(0x423)](_0x3ad982,_0x227d01),_0x227d01;}[_0x24947f(0x1d5)](_0x654843){var _0x3092c5=_0x24947f,_0x2fccee;const _0x594dfe=this[_0x3092c5(0x15f)][_0x3092c5(0x2f7)](_0x654843);_0x594dfe&&(this[_0x3092c5(0x15f)][_0x3092c5(0x201)](_0x654843),_0x594dfe[_0x3092c5(0x2ef)]()),this[_0x3092c5(0x15f)][_0x3092c5(0x323)]||(_0x2fccee=this['_socket'])==null||_0x2fccee['close']();}[_0x24947f(0x15e)](){var _0x71b5df=_0x24947f;this[_0x71b5df(0x344)]=0x0,this[_0x71b5df(0x22a)]!=null&&(clearTimeout(this[_0x71b5df(0x22a)]),this[_0x71b5df(0x22a)]=null),this[_0x71b5df(0x2b4)]();}async[_0x24947f(0x442)](){var _0x5a86de=_0x24947f,_0x42c825,_0x88d9d8,_0x430861;const _0x13cca9=this['_configService'][_0x5a86de(0x3b4)](q),_0x53f73b=(_0x42c825=_0x13cca9==null?void 0x0:_0x13cca9[_0x5a86de(0x22b)])!=null?_0x42c825:On;return(_0x430861=(_0x88d9d8=(await this[_0x5a86de(0x311)][_0x5a86de(0x2f7)](_0x53f73b,{'headers':{'Content-Type':_0x5a86de(0x427)}}))[_0x5a86de(0x445)])==null?void 0x0:_0x88d9d8[_0x5a86de(0x414)])!=null?_0x430861:'';}[_0x24947f(0x2a2)](_0x1410b0){var _0x2ace1d=_0x24947f,_0x466693,_0x29413d;const _0x322fc8=this[_0x2ace1d(0x1aa)]['getConfig'](bn),_0xb5dacb=this['_configService'][_0x2ace1d(0x3b4)](q),_0x10da8c=(_0x29413d=(_0x466693=_0xb5dacb==null?void 0x0:_0xb5dacb[_0x2ace1d(0x3cb)])!=null?_0x466693:_0x322fc8)!=null?_0x29413d:Rn,_0x4dfdee=typeof window>'u'?new URL(_0x10da8c):new URL(_0x10da8c,window[_0x2ace1d(0x364)][_0x2ace1d(0x3f2)]);_0x4dfdee[_0x2ace1d(0x154)][_0x2ace1d(0x423)](_0x2ace1d(0x1c3),_0x1410b0);const _0x57ffef=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ace1d(0x364)]['search']);return _0x57ffef[_0x2ace1d(0x2f7)](_0x2ace1d(0x1bc))&&_0x4dfdee['searchParams']['set'](_0x2ace1d(0x1bc),_0x57ffef[_0x2ace1d(0x2f7)](_0x2ace1d(0x1bc))),_0x4dfdee[_0x2ace1d(0x27f)]();}async[_0x24947f(0x267)](){var _0x39f1e4=_0x24947f;const _0x109a93=await this[_0x39f1e4(0x442)](),_0x1c1367=this['_createSocketURL'](_0x109a93),_0x2f5268=this[_0x39f1e4(0x26d)]['createSocket'](_0x1c1367);return this[_0x39f1e4(0x214)]=_0x2f5268,_0x2f5268;}async[_0x24947f(0x1b9)](){var _0x1c7cd7=_0x24947f,_0x4e9077,_0x4389fa;try{const _0x30df84=(_0x4389fa=(_0x4e9077=this[_0x1c7cd7(0x225)])!=null?_0x4e9077:this[_0x1c7cd7(0x214)])!=null?_0x4389fa:await this[_0x1c7cd7(0x267)]();if(_0x30df84){const _0x59b904=_0x30df84[_0x1c7cd7(0x2cd)];_0x30df84[_0x1c7cd7(0x2cd)]=_0x18bebc=>(this[_0x1c7cd7(0x16d)](),_0x59b904[_0x1c7cd7(0x443)](_0x30df84,[_0x18bebc])),_0x30df84['message$'][_0x1c7cd7(0x30e)](_0x56a573=>this[_0x1c7cd7(0x338)](_0x30df84,_0x56a573)),_0x30df84[_0x1c7cd7(0x18f)][_0x1c7cd7(0x342)](_0x16c6ff(0x1))[_0x1c7cd7(0x30e)](_0x47c268=>this['_logService'][_0x1c7cd7(0x197)](_0x1c7cd7(0x30c),_0x47c268)),_0x30df84['open$'][_0x1c7cd7(0x342)](_0x16c6ff(0x1))[_0x1c7cd7(0x30e)](()=>{var _0x21f52e=_0x1c7cd7;this[_0x21f52e(0x3fd)](_0x30df84);}),_0x30df84[_0x1c7cd7(0x3ef)][_0x1c7cd7(0x342)](_0x16c6ff(0x1))['subscribe'](_0x5b0fdf=>{var _0x6ca96d=_0x1c7cd7;this[_0x6ca96d(0x1d7)][_0x6ca96d(0x31e)]('[CollaborationSessionService]',_0x6ca96d(0x20e),_0x5b0fdf),this[_0x6ca96d(0x235)]();});}}catch(_0x2d6307){this['_logService']['error'](_0x2d6307),this[_0x1c7cd7(0x235)]();}}[_0x24947f(0x3fd)](_0x30a1a0){var _0x1b83c0=_0x24947f;this[_0x1b83c0(0x1d7)]['debug']('[CollaborationSessionService]',_0x1b83c0(0x3e5)),_0x30a1a0[_0x1b83c0(0x2cd)]({'cmd':F[_0x1b83c0(0x1b8)]}),this[_0x1b83c0(0x16d)]();}[_0x24947f(0x2b3)](){var _0x26b814=_0x24947f;this[_0x26b814(0x403)]=!0x1,this[_0x26b814(0x214)]=null,this[_0x26b814(0x24a)][_0x26b814(0x27e)](Te[_0x26b814(0x3af)]),this[_0x26b814(0x42b)][_0x26b814(0x27e)](null),this[_0x26b814(0x3f0)](),this[_0x26b814(0x23e)]();}[_0x24947f(0x235)](){var _0x2b534e=_0x24947f,_0x38780a;this[_0x2b534e(0x2b3)](),this['_retryCount']<((_0x38780a=this[_0x2b534e(0x1aa)]['getConfig'](Pn))!=null?_0x38780a:wn)?(this[_0x2b534e(0x193)][_0x2b534e(0x1fd)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x2b534e(0x2b4)]()):this['_collaborationUIEventService'][_0x2b534e(0x1fd)]({'id':se[_0x2b534e(0x1f1)]});}[_0x24947f(0x2b4)](){var _0x147147=_0x24947f,_0x183c91;const _0x1206e9=this[_0x147147(0x344)],_0x2a42e9=this[_0x147147(0x1aa)][_0x147147(0x3b4)](q),_0x51be8c=_0x1206e9===0x0?0x0:((_0x183c91=_0x2a42e9==null?void 0x0:_0x2a42e9[_0x147147(0x1ff)])!=null?_0x183c91:Dn)*0x2**_0x1206e9;this[_0x147147(0x22a)]=setTimeout(()=>{var _0x40f568=_0x147147;clearTimeout(this[_0x40f568(0x22a)]),this[_0x40f568(0x22a)]=null,this[_0x40f568(0x1b9)]();},_0x51be8c),this[_0x147147(0x344)]+=0x1;}[_0x24947f(0x338)](_0x57c4e3,_0x3a0dee){var _0x43edce=_0x24947f;const {cmd:_0x544f96}=_0x3a0dee;_0x544f96===F[_0x43edce(0x1b8)]&&!this[_0x43edce(0x403)]&&(_0x57c4e3[_0x43edce(0x2b7)]=_0x3a0dee[_0x43edce(0x3a4)][_0x43edce(0x2b7)],this[_0x43edce(0x42b)][_0x43edce(0x27e)](_0x57c4e3),this[_0x43edce(0x24a)][_0x43edce(0x27e)](Te[_0x43edce(0x244)]),this[_0x43edce(0x403)]=!0x0,this[_0x43edce(0x214)]=null),_0x544f96===F[_0x43edce(0x1c4)]&&this[_0x43edce(0x3f0)](),this[_0x43edce(0x16d)]();}[_0x24947f(0x16d)](){var _0x5a799c=_0x24947f,_0x504195;this['_clearHeartbeatTimer'](),this[_0x5a799c(0x1a0)]=setTimeout(()=>this[_0x5a799c(0x396)](),(_0x504195=this[_0x5a799c(0x1aa)][_0x5a799c(0x3b4)](yn))!=null?_0x504195:Nn);}['_sendHeartbeat'](){var _0x143bba=_0x24947f;this[_0x143bba(0x225)]['send']({'cmd':F['HEARTBEAT']}),this[_0x143bba(0x36f)]();}[_0x24947f(0x36f)](){var _0x501627=_0x24947f,_0x1549c6;this[_0x501627(0x32e)]=setTimeout(()=>this[_0x501627(0x235)](),(_0x1549c6=this[_0x501627(0x1aa)][_0x501627(0x3b4)](Si))!=null?_0x1549c6:Ei);}['_clearHeartbeatTimer'](){var _0x163884=_0x24947f;this[_0x163884(0x1a0)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x24947f(0x3f0)](){var _0x386734=_0x24947f;this[_0x386734(0x32e)]!=null&&(clearTimeout(this[_0x386734(0x32e)]),this[_0x386734(0x32e)]=null);}};Le=er([ge(0x0,_0x2c893e(_0x47c619)),ge(0x1,_0xb67ae9),ge(0x2,_0x14e586),ge(0x3,Ci),ge(0x4,_0x2c893e(_0x2ccc1a)),ge(0x5,_0x2c893e(pe)),ge(0x6,_0x433af4(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x24947f(0x32c)]((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x38aa66,_0x184192=0x0){return(V[_0x38aa66[_0x184192+0x0]]+V[_0x38aa66[_0x184192+0x1]]+V[_0x38aa66[_0x184192+0x2]]+V[_0x38aa66[_0x184192+0x3]]+'-'+V[_0x38aa66[_0x184192+0x4]]+V[_0x38aa66[_0x184192+0x5]]+'-'+V[_0x38aa66[_0x184192+0x6]]+V[_0x38aa66[_0x184192+0x7]]+'-'+V[_0x38aa66[_0x184192+0x8]]+V[_0x38aa66[_0x184192+0x9]]+'-'+V[_0x38aa66[_0x184192+0xa]]+V[_0x38aa66[_0x184192+0xb]]+V[_0x38aa66[_0x184192+0xc]]+V[_0x38aa66[_0x184192+0xd]]+V[_0x38aa66[_0x184192+0xe]]+V[_0x38aa66[_0x184192+0xf]])['toLowerCase']();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x1a14a5=_0x24947f;if(!ut){if(typeof crypto>'u'||!crypto[_0x1a14a5(0x3f4)])throw new Error(_0x1a14a5(0x3d3));ut=crypto['getRandomValues']['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x24947f(0x182)]&&crypto[_0x24947f(0x182)][_0x24947f(0x441)](crypto),qt={'randomUUID':rr};function sr(_0x432975,_0x5432f2,_0x11176c){var _0x46ddd1=_0x24947f,_0x952427,_0x227cf5,_0x4eaa17;if(qt['randomUUID']&&!_0x432975)return qt[_0x46ddd1(0x182)]();_0x432975=_0x432975||{};const _0x6e9558=(_0x4eaa17=(_0x227cf5=_0x432975['random'])!=null?_0x227cf5:(_0x952427=_0x432975[_0x46ddd1(0x365)])==null?void 0x0:_0x952427[_0x46ddd1(0x2ce)](_0x432975))!=null?_0x4eaa17:nr();if(_0x6e9558['length']<0x10)throw new Error(_0x46ddd1(0x3bf));return _0x6e9558[0x6]=_0x6e9558[0x6]&0xf|0x40,_0x6e9558[0x8]=_0x6e9558[0x8]&0x3f|0x80,tr(_0x6e9558);}const J=_0x54590c(_0x24947f(0x2ae));function so(_0x6262e7){var _0x5d92af=_0x24947f;return _0x5d92af(0x2e5)+_0x6262e7;}var or=Object['defineProperty'],ar=Object[_0x24947f(0x2d4)],cr=(_0x1c862c,_0x16e66a,_0x1e15a7,_0x20ef2b)=>{var _0xcbf683=_0x24947f;for(var _0x48535b=_0x20ef2b>0x1?void 0x0:_0x20ef2b?ar(_0x16e66a,_0x1e15a7):_0x16e66a,_0x343ffb=_0x1c862c[_0xcbf683(0x334)]-0x1,_0x23ff6c;_0x343ffb>=0x0;_0x343ffb--)(_0x23ff6c=_0x1c862c[_0x343ffb])&&(_0x48535b=(_0x20ef2b?_0x23ff6c(_0x16e66a,_0x1e15a7,_0x48535b):_0x23ff6c(_0x48535b))||_0x48535b);return _0x20ef2b&&_0x48535b&&or(_0x16e66a,_0x1e15a7,_0x48535b),_0x48535b;},dt=(_0x4a0a37,_0x2eae67)=>(_0x3ec725,_0x3544bd)=>_0x2eae67(_0x3ec725,_0x3544bd,_0x4a0a37);function _0x395a(){var _0x1da538=['subscribe','saveChangeset','abs','_httpService','_keyPriorReset','UNIVER_DOC','SUBMIT_CHANGESET','_getSignURL','UNKNOWN_CODE','onMissedChangesetFetched','_transformUndoredo','NoPadding','open$','collaboration-client.config','_collabSessionService','AUTHZ_URL_KEY','debug','\x20to\x20','random','blockSize','confirm','size','_pendingMutations','update','UUID','string','RETRY_CONNECTING_MAX_COUNT','Error\x20on\x20receiving\x20event','534668NDwJCl','_onUserLeave','push','UPDATE_CURSOR','_timeoutTimer','_doFinalize','_onRemoteRejected','getImage','_revisionService','csShouldRetryEvent','length','prototype','slice','init','_onMessage','LIVESHARE_TERMINATE','updateCursorEvent','Base','CLOSE_ROOM','downloadEndpointUrl','_cipher','/universer-api/authz','event$','UnitEmbedded','pipe','_socketMessageSubscription','_retryCount','readyForCollab','_updateLocalCache','_getDownloadEndpointURL','awaiting','PERSON','onRemoteRej','Pkcs7','_collaborationSessionService','[SyncedState]:\x20received\x20rejection.','generateRandomId','getFocusedUnit','APPLY_PERMISSION_DENIED','Encryptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_checkMissing','_incrementRevisionNumber','HmacMD5','createInstance','buffer','UNIVER_UNKNOWN','LIVESHARE_NEW_HOST','MUTATION','create','snapshotServerUrl','uniscriptRunEvent','EvpKDF','fetch_missing','addImageSourceCache','getCollabEntity','[CollaborationEntity]','/universer-api/snapshot','location','rng','_removeRoom','_replayCachedMutations','isPermissionRej','_HTTPService','_roomCreated$','_imageSourceCache','_toggleOnline','complete','concat','_waitForHeartbeatResponse','LICENSE_DISTRO_REJECTED','_xformMode','UNDEFINED','/-/object/list','Undefined','setShowComponents','_http','m2Prime','asObservable','reqId','LIVESHARE_FETCH_OPERATIONS','SUBMIT_CHANGESET_TIMEOUT','updateMember','status','_ENC_XFORM_MODE','byteLength','NOT_COLLAB','c1Prime','patch','toggleOnline','_undoStacks','_createHmacHelper','put','UNIVER_PROJECT','newCsEvent','_syncEditingCollabCursor','People','CBC','_doCryptBlock','_state$','$super','_compressMutationService','APPLY_NON_SEQUENTIAL_REVISION','getTypeOfUnitDisposed$','_getRedoStack','onSendChangeset','every','selections','_sendHeartbeat','capture','_loadDoc','_sheetTransformSelectionsService','target','?url=','csRejEvent','APPLY_REJECT','c2Prime','_collaborationTimeoutTimer','fetchThroughInterceptors','CHANGESET_REJ','setConfig','execute','data','AWAITING_WITH_PENDING','sessionStatus$','_doReset','workbook','UNKNOWN_CMD','infoRsp','POST','_transformService','CipherParams','OTHER_CLIENT_EDITING','OFFLINE','localeService','onTransformState','/universer-api/file/{fileID}/sign-url','_univerInstanceService','getConfig','_commentUpdate$','LICENSE_IMPORT_SIZE_EXCEEDED','LOCAL_CACHE_INTERVAL','includes','executeCommand','LOGIN_URL_KEY','collaMsg','_singleActiveUnitService','responseType','Hex','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_transformSelections','_handlerCallback','max','Hasher','unitID','catch','name','FAIL','addHandlerCallback','csAckEvent','UNISCRIPT_RUN','collabWebSocketUrl','saveSnapshot','COMPRESS_MUTATION_APPLY','_key','univer-pro.collaboration-client-socket-service','_initUnitPermissionChange','_commandService','5915jHVkmZ','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','HMAC','onTransformRemoteChangesetByIMECache','_data','list','COMPRESS_MUTATION_SEND','onRemoteAck','updatePermissionObjEvent','incrementRevOfUnit','removeMember','values','YUUMI_UNABLE_LOAD_URL','getCurrentUser','_hash','/unit/','setWaitCount','_event$','JOIN_ROOM_FULL','socket\x20open.','session.room-cnt-exceeds','image/bmp','_eventService','[SyncedState]:\x20received\x20acknowledgement.','putCollaborators','/universer-api/comb','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_stopTelemetryCollaborationNewChangeset','getSheetBlock','close$','_clearTimeoutTimer','RECV','origin','mode','getRandomValues','updateOfflineData','SNAPSHOT_SERVER_URL_KEY','INGEST','_onCombEvent','getMember','connection\x20error','_parse','liveShareOperation','_onConnectionOpen','_config','ceil','padding','_applyRemoteChangeset','dispose','_socketReady','_undoRedoService','_keySchedule','BASE64','_telemetryInfo','_clearScheduledTask','28154CwoaWA','NEW_CHANGESETS','OpenSSL','unknown','_init','transformMutationsWithChangeset','_hasher','PasswordBasedCipher','encryptBlock','kdf','_startTelemetryCollaborationNewChangeset','ticket','_scheduleCompleteTimestamp','_loadSheet','telemetry\x20info\x20is\x20not\x20initialized','&assign=','INTERNAL_ERROR','json','_entityInit$','replace','transformSelections','revision','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_authzIoService','awaiting_with_pending','ivSize','set','CONNECTOR_DATA_TOO_LARGE','_permissionService','_instanceService','application/json','IDLE','state','_queuedRemoteChangesets','_socket$','createEncryptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_map','_iv','NO_OTHER_CLIENTS_EDITING','reset','_shouldReportTelemetry','univer-pro.collaboration-client.network-condition.service','/universer-api/uniscript','ALREADY_EXISTS','_invKeySchedule','members$','_commentService','session','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_joinRoom','userID','_createHelper','baseRev','saveImage','mutations','bind','_getSessionTicket','apply','_onLocalMutation','body','msCrypto','sigBytes','getInterceptPoints','onSyncEditingCollabCursor','Base64','appendMutation','objects','listCollaborators','mixIn','searchParams','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_decreaseWaiting','_awaitingChangeset','_unitID','reject','onlyLocal','transformUndoRedo','_transitionLocked','_clearCollaborationTimeoutTimer','reconnect','_sessions','_getCtorByUniverType','75DXVecp','status$','change$','_sendingTimer','url','originalMeta','ENSURE_SNAPSHOT_EXECUTION','Decryptor','_initCloseConn','_transformRemoteChangesetByIMECache','enc','src','_rescheduleHeartbeat','startTime','PERMISSION_DENIED','onCommandExecuted','resend','getUnitOnRev','href','compute','/-/object/-/batch_allowed','clamp','WordArray','_acknowledgedAwaitingChangeset','SOCKET_FAILED_RETRY','getCollabEntity$','pending','onRemoteRetry','[PendingState]:\x20received\x20acknowledgement.','onCommentUpdate','1314894lETvZr','[OfflineState]:\x20received\x20changeset.','map','randomUUID','_throwTelemetryCollaborationNewChangeset','algo','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','format','_lockTransition','hasOwnProperty','iterations','decryptBlock','&to=','_resendTimeout','actions','getCurrentRevOfUnit','error$','_oKey','/universer-api/snapshot/','textRanges','_collaborationUIEventService','image/jpeg','online$','_memberService','error','_startCollaboration','APPLY_REVISION_CONFILICT','GLOBAL_ROOMS_CNT_EXCEEDS','JOIN_ROOM_NOT_EXISTS','COMPLETION_FINISHED','_schedule','YUUMI_URL_COL_OUT_OF_RANGE','save\x20fail\x20reason\x20is\x20','_sendHeartbeatTimer','sheets','LIVESHARE_OPERATION','changesets','SNAPSHOT_URL_KEY','univer-pro.collaboration-client.single-active-unit-service','_substituteRedoStack','_roomMembers','/object/','MSG_FOR_ERROR','_configService','Univer','3474XHHUik','createCollaborator','getSnapshotAPIPath','_onUserJoin','requestParams','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNIVER_SLIDE','_doProcessBlock','roles','_process','_createInitialStateImpl','collabSubmitChangesetUrl','HELLO','_tryEnsureSocket','salt','collaborators','runId','_nRounds','liveShareNewHost','encrypt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[UniverCollaborationClientPlugin]','withCredentials','sessionTicket','HEARTBEAT','_sender','[FetchMissState]','SHOULD_CLOSE_CONN','UNIVER_COLLABORATION_CLIENT_PLUGIN','cmd','SHA1','disableLocalCache','NOT_FOUND','clone','_fetchMissChangesets','decrypt','stringify','INVALID_ARGUMENT','8pVmsIH','title','_createInitialState','closeSession','fetching\x20missing\x20changesets\x20from\x20','_logService','8100009ayQtAU','LEAVE','sid','BlockCipherMode','\x20in\x20_schedule.','Latin1','fetchMiss','exports','getImageSourceCache','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ERROR_EXCEED_SIZE','?size=','JOIN_ROOM_PERMISSION_DENIED','failed\x20to\x20apply\x20missed\x20changesets!','Could\x20not\x20dynamically\x20require\x20\x22','floor','Malformed\x20UTF-8\x20data','createDecryptor','not_collab','isArray','type','_userManagerService','_localeService','default','readInt32LE','SOCKET_FAILED','_members$','collaboration_new_changeset','_clearUndo','filter','_clearRedo','onTransformRemoteChangesetByStateCache','add','objectActions','cfg','_substituteUndoStack','params','emitEvent','CHANGESET_ACK','retryConnectingInterval','leaveEvent','delete','YUUMI_RATE_OVER_LIMIT','_getSendChangesetTimeout','/block/','range','/collaborator','result','_replaceFileID','[OfflineState]:\x20received\x20rejection.','onRemoteChangeset','CHANGESET_SHOULD_RETRY','localCacheService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','[PendingState]:\x20received\x20rejection.','_onJoinRoomEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','stopTime','JOIN','_candidateSocket','_updateState','/object','fetchMissingChangesets','\x0aAfter:\x20','listRoles','MD5','_transformRemoteChangesetByStateCache','subUnitId','FileId','subject','unsubscribe','COLLAB_WEB_SOCKET_URL','duration','routeKey','COMMENT_UPDATE','_unlockTransition','_socket','clear','_getUndoStack','onTransformSelections','JOINING','_retryConnectingTimer','wsSessionTicketUrl','_submitChangeset','11075036OlKJmv','_handler','getMemberID','_collaborationPaused','registerHTTPInterceptor','_changesetReqId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','equals','_onConnectionFailed','lib','_append','loadOfflineData','byteOffset','code','_getAPIPrefix','requireSession','splice','_clearHeartbeatTimer','_members','symbol','SerializableCipher','getWorkbookSelections','extend','ONLINE','getTypeOfUnitAdded$','USERS_ENTER','SNAPSHOT_HAS_BEEN_REMOVED','rev','conflict','_status$','FETCH_MISS','ERROR_IMAGE','_telemetryService','_getLoginPath','_networkConditionService','\x0aCurrent:\x20','AES','HttpImport','getTime','1143490rsctCi','HttpExport','__creator','[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.','transformChangesets','fromCharCode','JOIN_ROOM_FAILED','_localCacheService','_transformIMECache','_change$','LICENSE_EXPORT_SIZE_EXCEEDED','getLatestCsReqIdBySid','CONFLICT','resourceIDs','_entities','getActiveSheet','snapshot','loginUrlKey','_remoteChangesetQueue','_createSocket','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','APPLY_DUPLICATED','getRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','_socketService','ciphertext','CHANGESET_REVISION_CONFILICT','PERMISSION_REJ','_resendTimer','unitId\x20is\x20not\x20found','entityInit$','parse','image/png','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','submit\x20changeset\x20error!','fromCollab','pluginName','[CollaborationUndoRedoService]','auth.needGotoLoginAlert','ws://127.0.0.1:8000/universer-api/comb/connect','_transformStateCache','next','toString','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','\x20-\x20','getValue','find','interceptor','OPTIONAL','_state','uploadFileServerUrl','image/jpg','encode','has','charCodeAt','_changesetSessionId','DEFAULT_FILE_NAME','FETCH_MISSING','_isPermissionRej','_exhaustRemoteChangesetQueue','_resendWithTimeout','getResourcesRequest','synced','readAsDataURL','Utf8','_getCurrentRevision','[CollaborationSession]','eventID','commentUpdate$','_sessionStatus$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SEND_CHANGESET_TIMEOUT','LIVESHARE_REQUEST_HOST','waitForRoom$','headers','substr','/resources','_createSocketURL','22ieOgdL','updatePermissionPoint','crypto','joinRsp','sendChangesetTimeout','_registerDependencies','[DataLoaderService]','_createHandler','OTHER_CLIENTS_EDITING','_injector','_iKey','collaboration-client.local-cache-service','LICENSE_MAX_UNITS_EXCEEDED','now','/universer-api/oidc/authpage','setCurrentUser','_onOffline','_tryReconnect','file','[CollaborationState]:\x20apply\x20error!','memberID','message$','members','startsWith','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_initDependencies','UNRECOGNIZED','session.room-permission-denied','join','hasher','_executeRemoteChangeset','objectType','_onFetchMissResult','onStarting','key','_DEC_XFORM_MODE','roomInfos','disposeWithMe','entries','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUnitType','_disableEditing','send','call','getUnitId','offline','post','/universer-api/stream/file/upload','forEach','getOwnPropertyDescriptor','YUUMI_SUBSCRIPTION_NOT_FOUND','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','USERS_LEAVE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','PSEUDO_FETCH_MISSING_RESULT','indexOf','onTransformIME','_onRemoteACK','_unitInfo$','pad','toggleOffline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','deleteCollaborator','_prevBlock','_showConflictNotification','_getAPIPrefixPath','unit-cache-','_getUploadFileURL','refreshPermission','HEARTBEAT_INTERVAL','commentUpdateEvent','TOO_MANY_REQUESTS','_updateStatus','words','_snapshotService','defineProperty','close','objectID','batchAllowed','_clearLocalCache','finalize','_waitCount','awaitingChangeset','formatter','get','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_nDataBytes','_toggleOffline','unitId','UNAUTHENTICATED','signUrlServerUrl','function','UnitSnapshot','transformStack\x20failed!','BufferedBlockAlgorithm','keySize','initWorkbookPermissionChange','state$','_onConflict','session.join-failed','_type','UNIVER_SHEET','_mode','action','dispose$','[CollaborationSessionService]:\x20socket\x20error','COLLAB_SUBMIT_CHANGESET_URL'];_0x395a=function(){return _0x1da538;};return _0x395a();}function hr(_0x213c81){var _0x4bd720=_0x24947f;const {unitID:_0x296da8,mutations:_0x257130}=_0x213c81;return{'unitId':_0x296da8,'subUnitId':_0x257130[0x0][_0x4bd720(0x1fc)][_0x4bd720(0x21c)]};}let it=class{constructor(_0x374fac,_0x40aba7,_0x37bbfb){var _0x5bc17b=_0x24947f;this[_0x5bc17b(0x2ac)]=_0x374fac,this['_transformService']=_0x40aba7,this[_0x5bc17b(0x426)]=_0x37bbfb;}[_0x24947f(0x41d)](_0x2c2bba){var _0x3d8002=_0x24947f,_0x5774b8,_0x53fab7,_0x5775dc,_0xd092f2;const _0x1aa664=this[_0x3d8002(0x2ac)][_0x3d8002(0x2f7)](_0xdb1513),{unitId:_0x346625,subUnitId:_0x10088c}=hr(_0x2c2bba),_0x58a32b=_0x1aa664==null?void 0x0:_0x1aa664[_0x3d8002(0x242)](_0x346625)['getCurrentSelections'](),_0x31318d=(_0x53fab7=(_0x5774b8=this[_0x3d8002(0x426)]['getUnit'](_0x346625))==null?void 0x0:_0x5774b8[_0x3d8002(0x263)]())==null?void 0x0:_0x53fab7['getSheetId']();if(_0x58a32b[_0x3d8002(0x334)]===0x0||!_0x346625||!_0x10088c)return;const _0x5516ee=[{'id':_0x26ab67['id'],'params':{'unitId':_0x346625,'subUnitId':_0x31318d,'selections':_0x5aefb7['deepClone'](_0x58a32b)}}],_0x106f3c=this['_transformService'][_0x3d8002(0x40e)](_0x2c2bba,_0x5516ee);if(!_0x3229d7(_0x106f3c))throw _0x106f3c[_0x3d8002(0x197)];const _0x455c2f=(_0xd092f2=(_0x5775dc=_0x106f3c[_0x3d8002(0x377)][0x0])==null?void 0x0:_0x5775dc[_0x3d8002(0x1fc)])==null?void 0x0:_0xd092f2[_0x3d8002(0x395)];if(Array[_0x3d8002(0x1eb)](_0x455c2f)&&_0x455c2f[_0x3d8002(0x334)]){if(_0x455c2f[_0x3d8002(0x334)]===_0x5516ee[0x0][_0x3d8002(0x1fc)][_0x3d8002(0x395)][_0x3d8002(0x334)]&&_0x455c2f['every']((_0x58d442,_0x438365)=>_0x591d96[_0x3d8002(0x234)](_0x58d442[_0x3d8002(0x205)],_0x5516ee[0x0][_0x3d8002(0x1fc)]['selections'][_0x438365][_0x3d8002(0x205)])))return;this[_0x3d8002(0x2ac)][_0x3d8002(0x2f7)](_0xb31905)['executeCommand'](_0x26ab67['id'],{'unitId':_0x346625,'subUnitId':_0x31318d,'selections':_0x455c2f});}}};it=cr([dt(0x0,_0x2c893e(_0x47c619)),dt(0x1,_0x303fbe),dt(0x2,_0x1443af)],it);const ht=_0x54590c(_0x24947f(0x1a5));var Ri=(_0x6d80ac=>(_0x6d80ac[_0x6d80ac[_0x24947f(0x430)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x6d80ac[_0x6d80ac[_0x24947f(0x2ab)]=0x1]='OTHER_CLIENTS_EDITING',_0x6d80ac))(Ri||{});const _r=new Set([_0xbe7bb1['id']]);function zt(_0x193568,_0x332375,_0x1e4df8,_0x2c6873,_0x53a4a9){var _0x225c60=_0x24947f,_0x515827,_0x20efb7,_0x31ce6a,_0x3c7871;const _0x4e94b9=[];for(const _0x56bfe3 of _0x193568)if(_r[_0x225c60(0x28a)](_0x56bfe3['id'])){if(_0x4e94b9[_0x225c60(0x334)]>0x0)break;_0x4e94b9[_0x225c60(0x32c)](_0x56bfe3);break;}else _0x4e94b9['push'](_0x56bfe3);const _0xe79555=(_0x20efb7=(_0x515827=_0x53a4a9[_0x225c60(0x3df)]())==null?void 0x0:_0x515827[_0x225c60(0x43c)])!=null?_0x20efb7:_0x225c60(0x40c),_0x5e4c25=(_0x3c7871=(_0x31ce6a=_0x53a4a9['getCurrentUser']())==null?void 0x0:_0x31ce6a[_0x225c60(0x2b7)])!=null?_0x3c7871:_0x225c60(0x40c);return{'changeset':{'unitID':_0x332375,'type':_0xbcd09c(_0x1e4df8[_0x225c60(0x2cb)](_0x332375)),'baseRev':_0x2c6873[_0x225c60(0x18e)](_0x332375),'revision':0x0,'userID':_0xe79555,'memberID':_0x5e4c25,'mutations':_0x4e94b9},'pendingMutations':_0x193568['slice'](_0x4e94b9['length'])};}function lr(_0x427599,_0x98d713,_0xcb2751,_0x3d7f4e,_0x3f0222){var _0x595bbe=_0x24947f,_0x1d4e50,_0x5adfad,_0x10a997,_0x51c175;const _0x2926eb=[_0x427599['reduce']((_0x5269df,_0xe87e0b)=>{var _0x5f44ef=_0x2266,_0x144ba1;const {id:_0x4dcbf6}=_0x5269df,{id:_0x1c1eb5,type:_0x438910}=_0xe87e0b,_0x406fea=(_0x144ba1=_0x5269df[_0x5f44ef(0x1fc)])!=null?_0x144ba1:{'actions':null},_0x1f4141=_0xe87e0b[_0x5f44ef(0x1fc)];if(_0x4dcbf6&&_0x4dcbf6!==_0x1c1eb5)throw new Error(_0x5f44ef(0x276)+_0x4dcbf6+_0x5f44ef(0x281)+_0x1c1eb5+'.');return{..._0x5269df,'id':_0x1c1eb5,'type':_0x438910,'params':{'unitId':_0x1f4141[_0x5f44ef(0x2fb)],'textRanges':_0x1f4141[_0x5f44ef(0x192)],'actions':_0x4d41d7['compose'](_0x406fea[_0x5f44ef(0x18d)],_0x1f4141['actions'])}};},{})],_0x39b032=(_0x5adfad=(_0x1d4e50=_0x3f0222[_0x595bbe(0x3df)]())==null?void 0x0:_0x1d4e50[_0x595bbe(0x43c)])!=null?_0x5adfad:_0x595bbe(0x40c),_0x37e733=(_0x51c175=(_0x10a997=_0x3f0222[_0x595bbe(0x3df)]())==null?void 0x0:_0x10a997[_0x595bbe(0x2b7)])!=null?_0x51c175:'unknown';return{'changeset':{'unitID':_0x98d713,'type':_0xbcd09c(_0xcb2751[_0x595bbe(0x2cb)](_0x98d713)),'baseRev':_0x3d7f4e[_0x595bbe(0x18e)](_0x98d713),'revision':0x0,'userID':_0x39b032,'memberID':_0x37e733,'mutations':_0x2926eb},'pendingMutations':[]};}function Oi(_0x4d03cf,_0x54f407){var _0x842fc8=_0x24947f;const _0x420f78=new _0x38d184(0x1);return setTimeout(()=>_0x420f78[_0x842fc8(0x27e)](_0x54f407),_0x4d03cf),_0x420f78[_0x842fc8(0x378)]()[_0x842fc8(0x342)](_0x56ccab(0x1));}const ur={'id':_0x240145['id'],'type':_0x2f0eda[_0x24947f(0x35a)],'params':{}};var dr=Object[_0x24947f(0x2ee)],fr=Object[_0x24947f(0x2d4)],be=(_0x12a09f,_0x444767,_0x387f63,_0x573fd4)=>{for(var _0x1f9434=_0x573fd4>0x1?void 0x0:_0x573fd4?fr(_0x444767,_0x387f63):_0x444767,_0x30b27e=_0x12a09f['length']-0x1,_0x3cfac1;_0x30b27e>=0x0;_0x30b27e--)(_0x3cfac1=_0x12a09f[_0x30b27e])&&(_0x1f9434=(_0x573fd4?_0x3cfac1(_0x444767,_0x387f63,_0x1f9434):_0x3cfac1(_0x1f9434))||_0x1f9434);return _0x573fd4&&_0x1f9434&&dr(_0x444767,_0x387f63,_0x1f9434),_0x1f9434;},A=(_0x3f1342,_0xc421d4)=>(_0x45cbfd,_0xa29134)=>_0xc421d4(_0x45cbfd,_0xa29134,_0x3f1342),yi=(_0x379409=>(_0x379409[_0x24947f(0x380)]=_0x24947f(0x1ea),_0x379409['SYNCED']='synced',_0x379409['PENDING']=_0x24947f(0x17b),_0x379409['AWAITING']=_0x24947f(0x348),_0x379409[_0x24947f(0x3a5)]=_0x24947f(0x421),_0x379409[_0x24947f(0x24b)]=_0x24947f(0x35f),_0x379409[_0x24947f(0x260)]=_0x24947f(0x249),_0x379409[_0x24947f(0x3af)]=_0x24947f(0x2d0),_0x379409))(yi||{});const Ni=0xea60;class Re{constructor(_0x11e42b,_0x3a3201,_0x10e6e2,_0x1e3965,_0x450b72,_0x27d605,_0x552d32,_0x128475,_0x653e56){var _0x50c0db=_0x24947f;N(this,_0x50c0db(0x157),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x11e42b,this['type']=_0x3a3201,this['_handler']=_0x450b72,this[_0x50c0db(0x3d1)]=_0x27d605,this[_0x50c0db(0x404)]=_0x552d32,this['_revisionService']=_0x128475,this[_0x50c0db(0x25b)]=_0x653e56,this[_0x50c0db(0x157)]=_0x10e6e2,this[_0x50c0db(0x324)]=_0x1e3965);}['_checkMissing'](_0x2956ad){var _0x3c6e11=_0x24947f;const _0x3327f7=this[_0x3c6e11(0x332)][_0x3c6e11(0x18e)](this[_0x3c6e11(0x3c4)]);return _0x2956ad['revision']>_0x3327f7+0x1?(this[_0x3c6e11(0x22e)]['onMissingChangesets']({'from':_0x3327f7,'to':_0x2956ad[_0x3c6e11(0x41e)]-0x1}),!0x0):!0x1;}[_0x24947f(0x318)](_0x2fe5ac){var _0x4fe9ca=_0x24947f;this['_undoRedoService']['transformUndoRedo'](this[_0x4fe9ca(0x3c4)],_0x2fe5ac);}[_0x24947f(0x3c0)](_0x4bec57){var _0x1bb998=_0x24947f,_0x25c7f6,_0xd47484;(_0xd47484=(_0x25c7f6=this[_0x1bb998(0x22e)])[_0x1bb998(0x228)])==null||_0xd47484['call'](_0x25c7f6,_0x4bec57);}[_0x24947f(0x25c)](_0x1e8594){var _0x29ab89=_0x24947f,_0x532f29,_0x3a954e;return(_0x3a954e=(_0x532f29=this[_0x29ab89(0x22e)])[_0x29ab89(0x2db)])==null?void 0x0:_0x3a954e[_0x29ab89(0x2ce)](_0x532f29,_0x1e8594);}['_transformStateCache'](_0x1cf9a7){var _0x34af17=_0x24947f,_0x11ab01,_0x45b7c8;return(_0x45b7c8=(_0x11ab01=this['_handler'])[_0x34af17(0x3b1)])==null?void 0x0:_0x45b7c8[_0x34af17(0x2ce)](_0x11ab01,_0x1cf9a7);}[_0x24947f(0x16a)](_0x202f07){var _0x30eec7=_0x24947f,_0x468bc7,_0x3eabcf,_0x26d9ce;return(_0x26d9ce=(_0x3eabcf=(_0x468bc7=this[_0x30eec7(0x22e)])[_0x30eec7(0x3d5)])==null?void 0x0:_0x3eabcf[_0x30eec7(0x2ce)](_0x468bc7,_0x202f07))!=null?_0x26d9ce:_0x202f07;}[_0x24947f(0x21b)](_0x50f882){var _0xea0e8d=_0x24947f,_0x50b6be,_0x2a7fe0,_0x37b5c6;return(_0x37b5c6=(_0x2a7fe0=(_0x50b6be=this[_0xea0e8d(0x22e)])[_0xea0e8d(0x1f7)])==null?void 0x0:_0x2a7fe0[_0xea0e8d(0x2ce)](_0x50b6be,_0x50f882))!=null?_0x37b5c6:_0x50f882;}['_syncEditingCollabCursor'](_0x5a9fbf){var _0x561c1f=_0x24947f,_0x122e17,_0x1f4d3f;if(this[_0x561c1f(0x1ec)]===Q['UNIVER_DOC']){const {unitID:_0x2f91ab,mutations:_0x3c2c9b,memberID:_0x158a5c}=_0x5a9fbf,_0x573ceb=_0x3c2c9b[0x0][_0x561c1f(0x1fc)][_0x561c1f(0x192)];Array[_0x561c1f(0x1eb)](_0x573ceb)&&_0x573ceb[_0x561c1f(0x334)]>0x0&&((_0x1f4d3f=(_0x122e17=this[_0x561c1f(0x22e)])[_0x561c1f(0x449)])==null||_0x1f4d3f[_0x561c1f(0x2ce)](_0x122e17,{'unitID':_0x2f91ab,'memberID':_0x158a5c,'textRanges':_0x573ceb}));}}[_0x24947f(0x346)](){var _0x8cd041=_0x24947f,_0x2842c1;(_0x2842c1=this[_0x8cd041(0x25b)])==null||_0x2842c1['updateOfflineData'](this[_0x8cd041(0x3c4)],this['type'],this[_0x8cd041(0x157)],this[_0x8cd041(0x324)]);}[_0x24947f(0x296)](){var _0x5373e4=_0x24947f;return this[_0x5373e4(0x332)][_0x5373e4(0x18e)](this['unitID']);}[_0x24947f(0x354)](){var _0x51c90e=_0x24947f;this['_revisionService'][_0x51c90e(0x3db)](this['unitID']);}['_executeRemoteChangeset'](_0x48556a){var _0x2592eb=_0x24947f,_0x1c594b;let _0x1b9a49=this[_0x2592eb(0x16a)](_0x48556a);_0x1b9a49=this[_0x2592eb(0x21b)](_0x1b9a49);const _0x300001=_0x14706b(_0x1b9a49[_0x2592eb(0x440)],this[_0x2592eb(0x3d1)],{'fromCollab':!0x0});if(!_0x300001[_0x2592eb(0x207)])throw _0x300001[_0x2592eb(0x197)]instanceof Error?_0x300001[_0x2592eb(0x197)]:new Error((_0x1c594b=_0x300001[_0x2592eb(0x197)])!=null?_0x1c594b:_0x2592eb(0x2b6));this[_0x2592eb(0x25c)](_0x1b9a49),this[_0x2592eb(0x27d)](_0x1b9a49),this['_transformUndoredo'](_0x48556a),this['_transformSelections'](_0x1b9a49),this[_0x2592eb(0x389)](_0x1b9a49),this[_0x2592eb(0x354)]();}}let De=class extends Re{constructor(_0x21e606,_0x571382,_0x82e0c2,_0x1a98f0,_0x2560ef,_0x852c5a,_0x2f7e62,_0x2fc0bb,_0x3c7804,_0x20b1f8){var _0x1a658d=_0x24947f;super(_0x21e606,_0x571382,null,[],_0x82e0c2,_0x2f7e62,_0x852c5a,_0x1a98f0,_0x20b1f8),N(this,_0x1a658d(0x37d),_0x1a658d(0x293)),(this[_0x1a658d(0x2ac)]=_0x2560ef,this[_0x1a658d(0x1d7)]=_0x2fc0bb,this['_transformService']=_0x3c7804,this['localCacheService']=_0x20b1f8);}[_0x24947f(0x44b)](_0xb8a333){var _0x25cc83=_0x24947f;const _0x49ef76=this[_0x25cc83(0x2ac)][_0x25cc83(0x356)](oe,this[_0x25cc83(0x3c4)],this[_0x25cc83(0x1ec)],[_0xb8a333],this[_0x25cc83(0x22e)]);return _0x49ef76[_0x25cc83(0x19d)](),_0x49ef76['_updateLocalCache'](),_0x49ef76;}[_0x24947f(0x20a)](_0x13b068){var _0x93cc6e=_0x24947f;if(this[_0x93cc6e(0x353)](_0x13b068))return this['_injector'][_0x93cc6e(0x356)](te,this[_0x93cc6e(0x3c4)],this[_0x93cc6e(0x1ec)],null,[],null,[_0x13b068],this[_0x93cc6e(0x22e)]);try{const _0x19ebed=this['_transformService'][_0x93cc6e(0x40e)](_0x13b068,[ur]);if(_0x3229d7(_0x19ebed)){const {c1Prime:_0x19ec0e}=_0x19ebed;return this[_0x93cc6e(0x2c1)](_0x19ec0e),this;}throw _0x19ebed[_0x93cc6e(0x197)];}catch(_0x3a6e2b){return this['_logService'][_0x93cc6e(0x197)](_0x3a6e2b),this['_onConflict'](!0x1);}}[_0x24947f(0x305)](_0x5beba5){var _0x58340d=_0x24947f;return this[_0x58340d(0x2ac)][_0x58340d(0x356)](de,this[_0x58340d(0x3c4)],this['type'],null,[],this[_0x58340d(0x22e)],_0x5beba5);}[_0x24947f(0x3d9)](){var _0x29ea72=_0x24947f;throw new Error(_0x29ea72(0x3e9));}[_0x24947f(0x34a)](){var _0x2f1581=_0x24947f;throw new Error(_0x2f1581(0x34d));}[_0x24947f(0x17c)](){return this;}[_0x24947f(0x2df)](){var _0x24e98f=_0x24947f;return this[_0x24e98f(0x2ac)]['createInstance'](fe,this[_0x24e98f(0x3c4)],this[_0x24e98f(0x1ec)],null,[],this[_0x24e98f(0x22e)]);}[_0x24947f(0x383)](){return this;}[_0x24947f(0x171)](){var _0x17c336=_0x24947f;throw new Error(_0x17c336(0x1c0));}[_0x24947f(0x1de)](){var _0x4ee963=_0x24947f;const _0x17e810=this['_revisionService'][_0x4ee963(0x18e)](this[_0x4ee963(0x3c4)]);return this['_handler']['onMissingChangesets']({'from':_0x17e810,'to':0x0}),this[_0x4ee963(0x2ac)]['createInstance'](te,this[_0x4ee963(0x3c4)],this[_0x4ee963(0x1ec)],null,[],null,[],this[_0x4ee963(0x22e)]);}};De=be([A(0x3,_0x2c893e(_0x4c63f1)),A(0x4,_0x2c893e(_0x47c619)),A(0x5,_0x6cc440),A(0x6,_0xb31905),A(0x7,_0xb67ae9),A(0x8,_0x303fbe),A(0x9,_0x433af4(J))],De);let oe=class extends Re{constructor(_0x5cc19b,_0x5bb18c,_0x5651fa,_0xf2c79,_0x122597,_0x327857,_0x1f2aa5,_0x23b907,_0x5047d6,_0x3da29a,_0x23cf2f,_0x48f11a,_0xb17c27,_0x4c33c){var _0x54e547=_0x24947f;super(_0x5cc19b,_0x5bb18c,null,_0x5651fa,_0xf2c79,_0x5047d6,_0xb17c27,_0x327857,_0x4c33c),N(this,_0x54e547(0x37d),_0x54e547(0x17b)),N(this,_0x54e547(0x415),null),N(this,_0x54e547(0x164),null),(this[_0x54e547(0x2ac)]=_0x122597,this[_0x54e547(0x196)]=_0x1f2aa5,this[_0x54e547(0x1d7)]=_0x23b907,this[_0x54e547(0x1aa)]=_0x3da29a,this[_0x54e547(0x3ac)]=_0x23cf2f,this[_0x54e547(0x3b3)]=_0x48f11a);}[_0x24947f(0x44b)](_0x151035){var _0x403779=_0x24947f;return this['_pendingMutations'][_0x403779(0x32c)](_0x151035),this['_updateLocalCache'](),this;}[_0x24947f(0x20a)](_0x311a86){var _0x54a8d2=_0x24947f;if(this[_0x54a8d2(0x353)](_0x311a86))return this[_0x54a8d2(0x408)](),this[_0x54a8d2(0x2ac)][_0x54a8d2(0x356)](te,this[_0x54a8d2(0x3c4)],this[_0x54a8d2(0x1ec)],null,this[_0x54a8d2(0x324)],null,[_0x311a86],this['_handler']);try{const _0x268757=this[_0x54a8d2(0x3ac)]['transformMutationsWithChangeset'](_0x311a86,this[_0x54a8d2(0x324)]);if(_0x3229d7(_0x268757)){const {c1Prime:_0x3dc0d1,m2Prime:_0x5dc96c}=_0x268757;this[_0x54a8d2(0x2c1)](_0x3dc0d1);const _0x39aca4=this[_0x54a8d2(0x2ac)][_0x54a8d2(0x356)](oe,this['unitID'],this[_0x54a8d2(0x1ec)],_0x5dc96c,this['_handler']);this[_0x54a8d2(0x408)]();const _0x308a67=new Date()[_0x54a8d2(0x253)](),_0x6cb8b4=this[_0x54a8d2(0x415)]?Math[_0x54a8d2(0x3c2)](this[_0x54a8d2(0x415)]-_0x308a67,0x0):this[_0x54a8d2(0x203)]();return _0x39aca4['_schedule'](_0x6cb8b4),_0x39aca4;}throw _0x268757[_0x54a8d2(0x197)];}catch(_0x48aa28){return this[_0x54a8d2(0x1d7)][_0x54a8d2(0x197)](_0x48aa28),this[_0x54a8d2(0x305)](!0x1);}}['onRemoteAck'](){var _0x310dca=_0x24947f;throw new Error(_0x310dca(0x17d));}[_0x24947f(0x34a)](){var _0x313f7d=_0x24947f;throw new Error(_0x313f7d(0x20f));}['onRemoteRetry'](){return this;}[_0x24947f(0x2df)](){var _0x5d92d3=_0x24947f;return this[_0x5d92d3(0x408)](),this[_0x5d92d3(0x2ac)][_0x5d92d3(0x356)](fe,this[_0x5d92d3(0x3c4)],this['type'],null,this[_0x5d92d3(0x324)],this[_0x5d92d3(0x22e)]);}[_0x24947f(0x383)](){return this;}[_0x24947f(0x19d)](_0x3fcbb2){var _0x12eb1c=_0x24947f;const _0x3334ef=_0x3fcbb2!=null?_0x3fcbb2:this[_0x12eb1c(0x203)]();this[_0x12eb1c(0x415)]=new Date()[_0x12eb1c(0x253)]()+_0x3334ef,this['_sendingTimer']=setTimeout(()=>{var _0x2fd995=_0x12eb1c;this['_clearScheduledTask']();let _0x18854b=null;switch(this['type']){case Q[_0x2fd995(0x308)]:{_0x18854b=zt(this[_0x2fd995(0x324)],this[_0x2fd995(0x3c4)],this[_0x2fd995(0x3b3)],this[_0x2fd995(0x332)],this[_0x2fd995(0x196)]);break;}case Q[_0x2fd995(0x313)]:{this[_0x2fd995(0x324)][_0x2fd995(0x394)](_0x4f5f03=>_0x4f5f03['id']===_0x5ea005['id'])?_0x18854b=lr(this[_0x2fd995(0x324)],this[_0x2fd995(0x3c4)],this[_0x2fd995(0x3b3)],this[_0x2fd995(0x332)],this['_memberService']):_0x18854b=zt(this[_0x2fd995(0x324)],this[_0x2fd995(0x3c4)],this[_0x2fd995(0x3b3)],this[_0x2fd995(0x332)],this[_0x2fd995(0x196)]);break;}default:throw new Error(_0x2fd995(0x233)+this['type']+_0x2fd995(0x1dc));}const {changeset:_0x326b21,pendingMutations:_0x5cbaf2}=_0x18854b;this[_0x2fd995(0x22e)]['onSendChangeset'](_0x326b21);const _0x2cd3dd=_0x5cbaf2[_0x2fd995(0x334)]?this[_0x2fd995(0x2ac)][_0x2fd995(0x356)](ae,this[_0x2fd995(0x3c4)],this['type'],_0x326b21,_0x5cbaf2,this[_0x2fd995(0x22e)],void 0x0):this['_injector'][_0x2fd995(0x356)](ue,this['unitID'],this[_0x2fd995(0x1ec)],_0x326b21,this['_handler']);_0x2cd3dd['_updateLocalCache'](),this[_0x2fd995(0x22e)]['onStateChange'](this,_0x2cd3dd);},_0x3334ef);}['_getSendChangesetTimeout'](){var _0x4ffe3a=_0x24947f,_0x606a31;const _0x95dc61=this[_0x4ffe3a(0x1aa)][_0x4ffe3a(0x3b4)](q);return(_0x606a31=_0x95dc61==null?void 0x0:_0x95dc61[_0x4ffe3a(0x2a7)])!=null?_0x606a31:Cn;}[_0x24947f(0x171)](){var _0x3cea3c=_0x24947f;throw new Error(_0x3cea3c(0x26b));}['_clearScheduledTask'](){var _0x39e3d6=_0x24947f;this[_0x39e3d6(0x164)]!=null&&(clearTimeout(this[_0x39e3d6(0x164)]),this[_0x39e3d6(0x164)]=null);}['_onConflict'](_0x226ba7){var _0x483f84=_0x24947f;return this[_0x483f84(0x408)](),this[_0x483f84(0x2ac)][_0x483f84(0x356)](de,this['unitID'],this[_0x483f84(0x1ec)],null,this[_0x483f84(0x324)],this[_0x483f84(0x22e)],_0x226ba7);}};oe=be([A(0x4,_0x2c893e(_0x47c619)),A(0x5,_0x2c893e(_0x4c63f1)),A(0x6,_0x2c893e(xe)),A(0x7,_0xb67ae9),A(0x8,_0xb31905),A(0x9,_0x14e586),A(0xa,_0x303fbe),A(0xb,_0x1443af),A(0xc,_0x6cc440),A(0xd,_0x433af4(J))],oe);let ue=class extends Re{constructor(_0x196033,_0x2c9740,_0x307af7,_0x497a56,_0x35a4a9,_0x4b682e,_0x432307,_0xf6fe86,_0x9bc0e9,_0x1e9be9,_0x1f8a69){var _0x20e175=_0x24947f;super(_0x196033,_0x2c9740,_0x307af7,[],_0x497a56,_0x432307,_0x1e9be9,_0x4b682e,_0x1f8a69),N(this,_0x20e175(0x37d),'awaiting'),N(this,_0x20e175(0x18c),0x0),N(this,'_resendTimer'),N(this,_0x20e175(0x1c5)),(this[_0x20e175(0x2ac)]=_0x35a4a9,this['_logService']=_0xf6fe86,this[_0x20e175(0x3ac)]=_0x9bc0e9);}[_0x24947f(0x44b)](_0x2221ec){var _0x1412ee=_0x24947f;this[_0x1412ee(0x408)]();const _0x1b49b7=this[_0x1412ee(0x2ac)][_0x1412ee(0x356)](ae,this[_0x1412ee(0x3c4)],this[_0x1412ee(0x1ec)],this['_awaitingChangeset'],[_0x2221ec],this[_0x1412ee(0x22e)],this['_resendTimer']);return _0x1b49b7[_0x1412ee(0x346)](),_0x1b49b7;}['onRemoteChangeset'](_0x15a8fb){var _0x5da943=_0x24947f;if(this['_checkMissing'](_0x15a8fb))return this[_0x5da943(0x408)](),this['_injector'][_0x5da943(0x356)](te,this[_0x5da943(0x3c4)],this[_0x5da943(0x1ec)],this[_0x5da943(0x157)],[],null,[_0x15a8fb],this[_0x5da943(0x22e)]);try{const _0x419797=this[_0x5da943(0x3ac)]['transformChangesets']([_0x15a8fb],[this[_0x5da943(0x157)]],!0x1);if(_0x3b13ac(_0x419797)){const {c1Prime:_0x34455d,c2Prime:_0x2eb32c}=_0x419797;this['_executeRemoteChangeset'](_0x34455d[0x0]),_0x2eb32c[0x0][_0x5da943(0x43e)]=this[_0x5da943(0x296)](),this[_0x5da943(0x408)]();const _0x2686b9=this[_0x5da943(0x2ac)]['createInstance'](ue,this[_0x5da943(0x3c4)],this[_0x5da943(0x1ec)],_0x2eb32c[0x0],this[_0x5da943(0x22e)]);return _0x2686b9[_0x5da943(0x346)](),_0x2686b9;}return this[_0x5da943(0x305)](!0x1);}catch(_0x48d89c){return this[_0x5da943(0x1d7)][_0x5da943(0x197)](_0x48d89c),this[_0x5da943(0x305)](!0x1);}}[_0x24947f(0x3d9)](_0x3e2f9f){var _0x564189=_0x24947f;this[_0x564189(0x408)]();const _0x11d9f4=this[_0x564189(0x332)]['getCurrentRevOfUnit'](this[_0x564189(0x3c4)]);if(_0x3e2f9f[_0x564189(0x41e)]<_0x11d9f4-0x1)return this;if(this[_0x564189(0x353)](_0x3e2f9f))return this['_injector'][_0x564189(0x356)](te,this[_0x564189(0x3c4)],this[_0x564189(0x1ec)],null,[],this[_0x564189(0x157)],[],this[_0x564189(0x22e)]);this['_incrementRevisionNumber']();const _0x1887e8=this[_0x564189(0x2ac)][_0x564189(0x356)](De,this[_0x564189(0x3c4)],this[_0x564189(0x1ec)],this['_handler']);return _0x1887e8[_0x564189(0x346)](),_0x1887e8;}['onRemoteRej'](_0x238977){var _0x5506b4=_0x24947f;return this[_0x5506b4(0x305)](!!(_0x238977!=null&&_0x238977['isPermissionRej']));}[_0x24947f(0x17c)](_0x2d7b75){var _0x40b4e4=_0x24947f;return this[_0x40b4e4(0x18c)]>Ni?this[_0x40b4e4(0x2df)]():(this[_0x40b4e4(0x271)]=Oi(this[_0x40b4e4(0x18c)],{'timeout':this['_resendTimeout'],'reqId':_0x2d7b75[_0x40b4e4(0x379)]}),this[_0x40b4e4(0x1c5)]=this[_0x40b4e4(0x271)][_0x40b4e4(0x30e)](({reqId:_0x334a19,timeout:_0x245c3e})=>{var _0x53f244=_0x40b4e4;this[_0x53f244(0x291)](_0x334a19,_0x245c3e);}),this);}[_0x24947f(0x2df)](){var _0x3c5d03=_0x24947f;return this[_0x3c5d03(0x408)](),this[_0x3c5d03(0x2ac)][_0x3c5d03(0x356)](fe,this[_0x3c5d03(0x3c4)],this['type'],this[_0x3c5d03(0x157)],[],this[_0x3c5d03(0x22e)]);}[_0x24947f(0x383)](){return this;}[_0x24947f(0x171)](){var _0x58187c=_0x24947f;this[_0x58187c(0x22e)][_0x58187c(0x393)](this[_0x58187c(0x157)]);}[_0x24947f(0x305)](_0xcb9e92){var _0x1a261e=_0x24947f;return this[_0x1a261e(0x408)](),this[_0x1a261e(0x2ac)][_0x1a261e(0x356)](de,this['unitID'],this['type'],this[_0x1a261e(0x157)],[],this[_0x1a261e(0x22e)],_0xcb9e92);}[_0x24947f(0x291)](_0x3fd5db,_0xd0ab26){var _0x206911=_0x24947f,_0x578735;_0x3fd5db===((_0x578735=this[_0x206911(0x157)])==null?void 0x0:_0x578735[_0x206911(0x379)])&&(this[_0x206911(0x171)](),this[_0x206911(0x18c)]=_0xd0ab26===0x0?0x3e8:_0xd0ab26*0x2);}[_0x24947f(0x408)](){var _0x3862b9=_0x24947f,_0x4a0323;(_0x4a0323=this[_0x3862b9(0x1c5)])==null||_0x4a0323[_0x3862b9(0x21f)](),this[_0x3862b9(0x18c)]=0x0;}};ue=be([A(0x4,_0x2c893e(_0x47c619)),A(0x5,_0x2c893e(_0x4c63f1)),A(0x6,_0xb31905),A(0x7,_0xb67ae9),A(0x8,_0x303fbe),A(0x9,_0x6cc440),A(0xa,_0x433af4(J))],ue);function _0x2266(_0x100f48,_0x286fad){var _0x395a4d=_0x395a();return _0x2266=function(_0x226667,_0x373a6b){_0x226667=_0x226667-0x152;var _0x563fcc=_0x395a4d[_0x226667];return _0x563fcc;},_0x2266(_0x100f48,_0x286fad);}let ae=class extends Re{constructor(_0x201034,_0x506254,_0x74ae4f,_0x5aec2f,_0x3c6c9d,_0x262434,_0x179908,_0x3fdd0e,_0x271441,_0x3daf37,_0x52230c,_0x23f465,_0x49e111){var _0xf2d301=_0x24947f;super(_0x201034,_0x506254,_0x74ae4f,_0x5aec2f,_0x3c6c9d,_0x271441,_0x23f465,_0x3fdd0e,_0x49e111),N(this,'status',_0xf2d301(0x421)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0xf2d301(0x2ac)]=_0x179908,this[_0xf2d301(0x1d7)]=_0x3daf37,this[_0xf2d301(0x3ac)]=_0x52230c,this[_0xf2d301(0x20c)]=_0x49e111,_0x262434&&(this[_0xf2d301(0x271)]=_0x262434,this['_sender']=this[_0xf2d301(0x271)]['subscribe'](({reqId:_0x3d6976,timeout:_0x1b4917})=>{var _0x247709=_0xf2d301;this[_0x247709(0x291)](_0x3d6976,_0x1b4917);})));}[_0x24947f(0x44b)](_0x313500){var _0x46abc2=_0x24947f;return this[_0x46abc2(0x324)]['push'](_0x313500),this;}[_0x24947f(0x20a)](_0x576945){var _0xb562d5=_0x24947f;if(this['_checkMissing'](_0x576945))return this[_0xb562d5(0x408)](),this[_0xb562d5(0x2ac)][_0xb562d5(0x356)](te,this[_0xb562d5(0x3c4)],this[_0xb562d5(0x1ec)],this[_0xb562d5(0x157)],this[_0xb562d5(0x324)],null,[_0x576945],this['_handler']);try{const _0x1bb659=this[_0xb562d5(0x3ac)][_0xb562d5(0x258)]([_0x576945],[this[_0xb562d5(0x157)]],!0x1);if(_0x3b13ac(_0x1bb659)){const {c1Prime:_0x2a83b0,c2Prime:_0x2ff5c6}=_0x1bb659,_0x492113=this[_0xb562d5(0x3ac)][_0xb562d5(0x40e)](_0x2a83b0[0x0],this[_0xb562d5(0x324)]);if(_0x3229d7(_0x492113)){const {c1Prime:_0x1ecf11,m2Prime:_0x55d73b}=_0x492113;return this[_0xb562d5(0x2c1)](_0x1ecf11),_0x2ff5c6[0x0][_0xb562d5(0x43e)]=this[_0xb562d5(0x296)](),this[_0xb562d5(0x408)](),this[_0xb562d5(0x2ac)][_0xb562d5(0x356)](ae,this[_0xb562d5(0x3c4)],this[_0xb562d5(0x1ec)],_0x2ff5c6[0x0],_0x55d73b,this['_handler'],void 0x0);}throw _0x492113['error'];}throw _0x1bb659[_0xb562d5(0x197)];}catch(_0x3dccd0){return this[_0xb562d5(0x1d7)]['error'](_0x3dccd0),this[_0xb562d5(0x305)](!0x1);}}[_0x24947f(0x3d9)](_0x3ab06b){var _0x847355=_0x24947f;if(this[_0x847355(0x408)](),this[_0x847355(0x353)](_0x3ab06b))return this[_0x847355(0x2ac)]['createInstance'](te,this[_0x847355(0x3c4)],this[_0x847355(0x1ec)],null,this[_0x847355(0x324)],this['_awaitingChangeset'],[],this[_0x847355(0x22e)]);this['_incrementRevisionNumber']();const _0x2ffd6d=this[_0x847355(0x2ac)][_0x847355(0x356)](oe,this[_0x847355(0x3c4)],this[_0x847355(0x1ec)],this[_0x847355(0x324)],this[_0x847355(0x22e)]);return _0x2ffd6d[_0x847355(0x19d)](),_0x2ffd6d['_updateLocalCache'](),_0x2ffd6d;}[_0x24947f(0x34a)](_0x1cf591){var _0x5ca445=_0x24947f;return this[_0x5ca445(0x305)](!!(_0x1cf591!=null&&_0x1cf591[_0x5ca445(0x368)]));}['onRemoteRetry'](_0x1e55f8){var _0x2946c6=_0x24947f;return this['_resendTimeout']>Ni?this['toggleOffline']():(this[_0x2946c6(0x271)]=Oi(this[_0x2946c6(0x18c)],{'timeout':this[_0x2946c6(0x18c)],'reqId':_0x1e55f8[_0x2946c6(0x379)]}),this[_0x2946c6(0x1c5)]=this[_0x2946c6(0x271)][_0x2946c6(0x30e)](({reqId:_0x5c8bf5,timeout:_0x5485ba})=>{var _0x40a688=_0x2946c6;this[_0x40a688(0x291)](_0x5c8bf5,_0x5485ba);}),this);}[_0x24947f(0x2df)](){var _0x425218=_0x24947f;return this[_0x425218(0x408)](),this[_0x425218(0x2ac)][_0x425218(0x356)](fe,this['unitID'],this[_0x425218(0x1ec)],this[_0x425218(0x157)],this[_0x425218(0x324)],this['_handler']);}[_0x24947f(0x383)](){return this;}[_0x24947f(0x171)](){var _0x52b2a9=_0x24947f;this[_0x52b2a9(0x22e)][_0x52b2a9(0x393)](this[_0x52b2a9(0x157)]);}[_0x24947f(0x305)](_0x46fee7){var _0x1892d0=_0x24947f;return this[_0x1892d0(0x408)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x1892d0(0x1ec)],null,this[_0x1892d0(0x324)],this[_0x1892d0(0x22e)],_0x46fee7);}[_0x24947f(0x291)](_0x4ff92f,_0x4e5abe){var _0x138c08=_0x24947f,_0x1aa728;_0x4ff92f===((_0x1aa728=this['_awaitingChangeset'])==null?void 0x0:_0x1aa728[_0x138c08(0x379)])&&(this[_0x138c08(0x171)](),this[_0x138c08(0x18c)]=_0x4e5abe===0x0?0x3e8:_0x4e5abe*0x2);}[_0x24947f(0x408)](){var _0x1f7ac7=_0x24947f,_0x448444;(_0x448444=this['_sender'])==null||_0x448444[_0x1f7ac7(0x21f)](),this[_0x1f7ac7(0x18c)]=0x0;}};ae=be([A(0x6,_0x2c893e(_0x47c619)),A(0x7,_0x2c893e(_0x4c63f1)),A(0x8,_0xb31905),A(0x9,_0xb67ae9),A(0xa,_0x303fbe),A(0xb,_0x6cc440),A(0xc,_0x433af4(J))],ae);let de=class extends Re{constructor(_0x3a489d,_0x2e2408,_0x35f92c,_0x411c6f,_0x3538fe,_0x46e20d=!0x1,_0x3e6b77,_0x24f5f8,_0x5dfd23,_0x5bd529,_0x2f3f70,_0x6491c4,_0x29bb71){var _0x4390ed=_0x24947f;super(_0x3a489d,_0x2e2408,_0x35f92c,_0x411c6f,_0x3538fe,_0x24f5f8,_0x5dfd23,_0x5bd529,_0x29bb71),N(this,_0x4390ed(0x37d),_0x4390ed(0x249)),(this['_isPermissionRej']=_0x46e20d,this[_0x4390ed(0x425)]=_0x3e6b77,this[_0x4390ed(0x1ee)]=_0x2f3f70,this[_0x4390ed(0x193)]=_0x6491c4,this[_0x4390ed(0x20c)]=_0x29bb71,this[_0x4390ed(0x2e3)](),this[_0x4390ed(0x2f2)](),this['_disableEditing']());}[_0x24947f(0x44b)](){return this;}[_0x24947f(0x20a)](){return this;}[_0x24947f(0x3d9)](){return this;}[_0x24947f(0x34a)](){return this;}[_0x24947f(0x17c)](){return this;}[_0x24947f(0x2df)](){return this;}[_0x24947f(0x383)](){return this;}[_0x24947f(0x171)](){var _0x2da4ca=_0x24947f;throw new Error(_0x2da4ca(0x2f8));}[_0x24947f(0x2f2)](){var _0x44f845=_0x24947f,_0x56eb05;(_0x56eb05=this[_0x44f845(0x25b)])==null||_0x56eb05[_0x44f845(0x3f5)](this['unitID'],this[_0x44f845(0x1ec)],null,[]);}[_0x24947f(0x2e3)](){var _0x58a899=_0x24947f;this[_0x58a899(0x28f)]?this['_collaborationUIEventService'][_0x58a899(0x1fd)]({'id':se[_0x58a899(0x16f)]}):this[_0x58a899(0x193)][_0x58a899(0x1fd)]({'id':se[_0x58a899(0x260)]});}[_0x24947f(0x2cc)](){var _0x1e3f31=_0x24947f;this[_0x1e3f31(0x425)]['updatePermissionPoint'](new _0x5ec447(this[_0x1e3f31(0x3c4)])['id'],!0x1);}};de=be([A(0x6,_0x2c893e(_0x2ee679)),A(0x7,_0xb31905),A(0x8,_0x6cc440),A(0x9,_0x2c893e(_0x4c63f1)),A(0xa,_0x2c893e(_0x4f5132)),A(0xb,_0x2c893e(pe)),A(0xc,_0x433af4(J))],de);let fe=class extends Re{constructor(_0x21322b,_0x4e4cff,_0x1ccd5e,_0x23fc17,_0x1f66ed,_0x7f3f6,_0x2b5589,_0x9cba38,_0x392281,_0x4a1380){var _0x537354=_0x24947f;super(_0x21322b,_0x4e4cff,_0x1ccd5e,_0x23fc17,_0x1f66ed,_0x9cba38,_0x392281,_0x2b5589,_0x4a1380),N(this,_0x537354(0x37d),_0x537354(0x2d0)),this['_injector']=_0x7f3f6;}[_0x24947f(0x44b)](_0x27b468){var _0x16ead4=_0x24947f;return this[_0x16ead4(0x324)][_0x16ead4(0x32c)](_0x27b468),this[_0x16ead4(0x346)](),this;}[_0x24947f(0x20a)](_0x573856){var _0x103099=_0x24947f;throw new Error(_0x103099(0x180));}[_0x24947f(0x3d9)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x51dfb0=_0x24947f;throw new Error(_0x51dfb0(0x209));}[_0x24947f(0x17c)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x4e69eb=_0x24947f;const {_injector:_0x3bada8,_pendingMutations:_0x540bda,_awaitingChangeset:_0x5752fc,unitID:_0x4c96ac,_handler:_0x2d0aa9,type:_0x26d3f2}=this,_0x18f8ce=Di(_0x3bada8,_0x4c96ac,_0x26d3f2,_0x5752fc,_0x540bda,_0x2d0aa9);return _0x18f8ce instanceof oe?_0x18f8ce[_0x4e69eb(0x19d)]():(_0x18f8ce instanceof ae||_0x18f8ce instanceof ue)&&_0x18f8ce[_0x4e69eb(0x171)](),_0x18f8ce;}[_0x24947f(0x171)](){var _0x4ad4c0=_0x24947f;throw new Error(_0x4ad4c0(0x20d));}};fe=be([A(0x5,_0x2c893e(_0x47c619)),A(0x6,_0x2c893e(_0x4c63f1)),A(0x7,_0xb31905),A(0x8,_0x6cc440),A(0x9,_0x433af4(J))],fe);let te=class extends Re{constructor(_0x509aa1,_0x4a1a34,_0x36acb0,_0x21e27a,_0xd4fb,_0x3fd49d,_0x59183a,_0x22c94a,_0x56b9ce,_0x340a05,_0x2c2b45,_0x4ed72b,_0x5560ae,_0x36922c){var _0x3c48e5=_0x24947f;super(_0x509aa1,_0x4a1a34,_0x36acb0,_0x21e27a,_0x59183a,_0x2c2b45,_0x4ed72b,_0x56b9ce,_0x36922c),N(this,_0x3c48e5(0x37d),'fetch_missing'),(this[_0x3c48e5(0x178)]=_0xd4fb,this[_0x3c48e5(0x42a)]=_0x3fd49d,this['_injector']=_0x22c94a,this[_0x3c48e5(0x1d7)]=_0x340a05,this[_0x3c48e5(0x3ac)]=_0x5560ae,this[_0x3c48e5(0x20c)]=_0x36922c);}[_0x24947f(0x317)](_0x485d48){var _0x10d392=_0x24947f;try{const _0x1354f9=[..._0x485d48,...this[_0x10d392(0x42a)]],_0x27d81=[this['_awaitingChangeset']||this[_0x10d392(0x178)]][_0x10d392(0x1f5)](_0xdc83b7=>!!_0xdc83b7);let _0x1281da,_0x2f13e4;if(_0x27d81[_0x10d392(0x334)]){const _0x2df01d=this[_0x10d392(0x3ac)][_0x10d392(0x258)](_0x1354f9,_0x27d81,!0x1);if(!_0x3b13ac(_0x2df01d))throw _0x2df01d[_0x10d392(0x197)];_0x1281da=_0x2df01d[_0x10d392(0x381)],_0x2f13e4=_0x2df01d[_0x10d392(0x39e)];}else _0x1281da=_0x1354f9,_0x2f13e4=[];let _0x53a5eb=this[_0x10d392(0x324)];_0x1281da[_0x10d392(0x2d3)](_0x464321=>{var _0xaa3d16=_0x10d392;let _0x4d0a81;if(_0x53a5eb['length']){const _0x35cea9=this[_0xaa3d16(0x3ac)][_0xaa3d16(0x40e)](_0x464321,_0x53a5eb);if(!_0x3229d7(_0x35cea9))throw _0x35cea9['error'];_0x4d0a81=_0x35cea9[_0xaa3d16(0x381)],_0x53a5eb=_0x35cea9['m2Prime'];}else _0x4d0a81=_0x464321;this[_0xaa3d16(0x2c1)](_0x4d0a81);}),this['_acknowledgedAwaitingChangeset']&&this[_0x10d392(0x354)](),this[_0x10d392(0x157)]&&_0x2f13e4['length']&&(_0x2f13e4[0x0][_0x10d392(0x43e)]=this[_0x10d392(0x296)]());let _0x237d4a;if(this[_0x10d392(0x157)]&&_0x53a5eb[_0x10d392(0x334)]!==0x0)_0x237d4a=this[_0x10d392(0x2ac)][_0x10d392(0x356)](ae,this[_0x10d392(0x3c4)],this['type'],_0x2f13e4[0x0],_0x53a5eb,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x53a5eb[_0x10d392(0x334)]===0x0)_0x2f13e4[0x0][_0x10d392(0x43e)]=this[_0x10d392(0x296)](),_0x237d4a=this['_injector'][_0x10d392(0x356)](ue,this[_0x10d392(0x3c4)],this[_0x10d392(0x1ec)],_0x2f13e4[0x0],this[_0x10d392(0x22e)]);else{if(_0x53a5eb[_0x10d392(0x334)]!==0x0){const _0x294ffc=this[_0x10d392(0x2ac)]['createInstance'](oe,this[_0x10d392(0x3c4)],this[_0x10d392(0x1ec)],_0x53a5eb,this['_handler']);_0x294ffc[_0x10d392(0x19d)](),_0x237d4a=_0x294ffc;}else _0x237d4a=this['_injector'][_0x10d392(0x356)](De,this['unitID'],this[_0x10d392(0x1ec)],this['_handler']);}}return _0x237d4a[_0x10d392(0x346)](),_0x237d4a;}catch(_0x4d221c){return this[_0x10d392(0x1d7)][_0x10d392(0x197)](_0x10d392(0x1c6),_0x10d392(0x1e5),_0x4d221c),this[_0x10d392(0x2ac)]['createInstance'](de,this[_0x10d392(0x3c4)],this[_0x10d392(0x1ec)],this[_0x10d392(0x157)],this['_pendingMutations'],this[_0x10d392(0x22e)],!0x1);}}['resend'](){var _0x4530ec=_0x24947f;throw new Error(_0x4530ec(0x155));}[_0x24947f(0x44b)](_0x3f22f8){var _0x1e7f59=_0x24947f;return this['_pendingMutations'][_0x1e7f59(0x32c)](_0x3f22f8),this;}['onRemoteChangeset'](_0x1fcff0){var _0x261d2c=_0x24947f;return this[_0x261d2c(0x42a)][_0x261d2c(0x32c)](_0x1fcff0),this;}[_0x24947f(0x3d9)](_0x12a78e){var _0x46bdaf=_0x24947f;if(this[_0x46bdaf(0x157)])return this[_0x46bdaf(0x178)]=this[_0x46bdaf(0x157)],this[_0x46bdaf(0x157)]=null,this;throw new Error(_0x46bdaf(0x2e0));}['onRemoteRej'](_0x533901){var _0x12e1a3=_0x24947f;return this[_0x12e1a3(0x305)](!!(_0x533901!=null&&_0x533901[_0x12e1a3(0x368)]));}[_0x24947f(0x17c)](){return this;}[_0x24947f(0x2df)](){var _0xf6973b=_0x24947f;return this['_injector'][_0xf6973b(0x356)](fe,this[_0xf6973b(0x3c4)],this[_0xf6973b(0x1ec)],this['_awaitingChangeset'],this[_0xf6973b(0x324)],this['_handler']);}[_0x24947f(0x383)](){return this;}[_0x24947f(0x305)](_0x44a4f7){var _0x351b56=_0x24947f;return this[_0x351b56(0x2ac)][_0x351b56(0x356)](de,this[_0x351b56(0x3c4)],this[_0x351b56(0x1ec)],this[_0x351b56(0x157)],this[_0x351b56(0x324)],this[_0x351b56(0x22e)],_0x44a4f7);}};te=be([A(0x7,_0x2c893e(_0x47c619)),A(0x8,_0x2c893e(_0x4c63f1)),A(0x9,_0xb67ae9),A(0xa,_0xb31905),A(0xb,_0x6cc440),A(0xc,_0x303fbe),A(0xd,_0x433af4(J))],te);function Di(_0xae984e,_0x43e768,_0x31baeb,_0x1803c2,_0x35f039,_0x39f04b){var _0x452b03=_0x24947f;return _0x1803c2&&_0x35f039['length']?_0xae984e[_0x452b03(0x356)](ae,_0x43e768,_0x31baeb,_0x1803c2,_0x35f039,_0x39f04b,void 0x0):_0x1803c2?_0xae984e[_0x452b03(0x356)](ue,_0x43e768,_0x31baeb,_0x1803c2,_0x39f04b):_0x35f039['length']?_0xae984e['createInstance'](oe,_0x43e768,_0x31baeb,_0x35f039,_0x39f04b):_0xae984e[_0x452b03(0x356)](De,_0x43e768,_0x31baeb,_0x39f04b);}var vr=Object[_0x24947f(0x2ee)],pr=Object[_0x24947f(0x2d4)],Lt=(_0x496445,_0x21b4ce,_0x50d522,_0x4057c0)=>{var _0x3993b2=_0x24947f;for(var _0x198eac=_0x4057c0>0x1?void 0x0:_0x4057c0?pr(_0x21b4ce,_0x50d522):_0x21b4ce,_0x4125f5=_0x496445[_0x3993b2(0x334)]-0x1,_0x18e88b;_0x4125f5>=0x0;_0x4125f5--)(_0x18e88b=_0x496445[_0x4125f5])&&(_0x198eac=(_0x4057c0?_0x18e88b(_0x21b4ce,_0x50d522,_0x198eac):_0x18e88b(_0x198eac))||_0x198eac);return _0x4057c0&&_0x198eac&&vr(_0x21b4ce,_0x50d522,_0x198eac),_0x198eac;},k=(_0x5f28f1,_0x27be54)=>(_0x3d26ee,_0x43bfae)=>_0x27be54(_0x3d26ee,_0x43bfae,_0x5f28f1);let nt=class extends _0xd51a1a{constructor(_0x1485c9,_0x19b495,_0x141075,_0x25ecb6,_0x39100e,_0x237a28,_0x5a5f21,_0x3e60a5,_0x2f8ea8,_0xf679e0,_0xf02cdc,_0xea32d7,_0x336373){var _0x22e92a=_0x24947f;super(),N(this,_0x22e92a(0x38d),new _0x4e33c6(null)),N(this,_0x22e92a(0x304),this['_state$']['asObservable']()),N(this,_0x22e92a(0x286)),N(this,'_collaborationPaused',!0x1),N(this,_0x22e92a(0x28c),''),N(this,_0x22e92a(0x232),0x0),N(this,_0x22e92a(0x162),this[_0x22e92a(0x304)][_0x22e92a(0x342)](_0x2dc63b(_0x5456a1=>_0x5456a1?_0x5456a1[_0x22e92a(0x37d)]:yi[_0x22e92a(0x3af)]),_0x504617(0x1))),N(this,_0x22e92a(0x15c),!0x1),N(this,_0x22e92a(0x266),[]),(this[_0x22e92a(0x3c4)]=_0x1485c9,this[_0x22e92a(0x439)]=_0x19b495,this[_0x22e92a(0x307)]=_0x141075,this[_0x22e92a(0x2ac)]=_0x25ecb6,this['_compressMutationService']=_0x39100e,this['_localeService']=_0x237a28,this[_0x22e92a(0x332)]=_0x5a5f21,this[_0x22e92a(0x3e8)]=_0x3e60a5,this[_0x22e92a(0x1d7)]=_0x2f8ea8,this['_commandService']=_0xf679e0,this['_permissionService']=_0xf02cdc,this['_singleActiveUnitService']=_0xea32d7,this['_localCacheService']=_0x336373);}get[_0x24947f(0x429)](){return this['_state'];}async[_0x24947f(0x337)](){var _0x400138=_0x24947f;if(this[_0x400138(0x429)])throw new Error(_0x400138(0x43a));await this['_init']();}['pauseCollaboration'](){var _0x5423e8=_0x24947f;return this[_0x5423e8(0x230)]=!0x0,_0x50d33e(()=>{var _0x113388=_0x5423e8;this[_0x113388(0x230)]=!0x1,this[_0x113388(0x290)]();});}['onLocalMutation'](_0x352d45){this['_onLocalMutation'](_0x352d45);}[_0x24947f(0x215)](_0x201c74){var _0x3f6e5c=_0x24947f;this['_state']=_0x201c74,this[_0x3f6e5c(0x38d)]['next'](_0x201c74);}async[_0x24947f(0x40d)](){var _0x27d15b=_0x24947f,_0x3932d8;this['_updateState'](await this[_0x27d15b(0x1d4)]()),this[_0x27d15b(0x3bc)]&&((_0x3932d8=this['_singleActiveUnitService'])==null||_0x3932d8['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x27d15b(0x3bc)]['getUnitStatus$'](this[_0x27d15b(0x3c4)])['subscribe'](_0x3ed0b2=>{var _0x332d95=_0x27d15b;this[_0x332d95(0x1d7)]['debug'](_0x332d95(0x362),'editing\x20status\x20changed\x20to',_0x3ed0b2),_0x3ed0b2===Ri[_0x332d95(0x2ab)]?(this[_0x332d95(0x3e8)][_0x332d95(0x1fd)]({'id':se[_0x332d95(0x3ae)]}),this[_0x332d95(0x425)][_0x332d95(0x2a4)](new _0x5ec447(this[_0x332d95(0x3c4)])['id'],!0x1),this[_0x332d95(0x425)][_0x332d95(0x375)](!0x1)):(this[_0x332d95(0x425)][_0x332d95(0x2a4)](new _0x5ec447(this['unitID'])['id'],!0x0),this[_0x332d95(0x425)][_0x332d95(0x375)](!0x0));})));let _0x535656=!0x1;return this[_0x27d15b(0x2c8)](this['session']['sessionStatus$'][_0x27d15b(0x30e)](_0x4aa07b=>{var _0x231a1f=_0x27d15b;_0x4aa07b===Te[_0x231a1f(0x244)]?this[_0x231a1f(0x36c)](_0x535656):_0x4aa07b===Te[_0x231a1f(0x3af)]&&(_0x535656=!0x0,this[_0x231a1f(0x2fa)]());})),this[_0x27d15b(0x2c8)](this[_0x27d15b(0x439)][_0x27d15b(0x340)][_0x27d15b(0x30e)](_0x3f7f6e=>{var _0x52d30f=_0x27d15b;try{switch(_0x3f7f6e[_0x52d30f(0x298)]){case _0x5b603b[_0x52d30f(0x40a)]:{this['_onRemoteChangeset'](_0x21ca95(_0x3f7f6e['data']));break;}case _0x5b603b[_0x52d30f(0x1fe)]:{this['_onRemoteACK'](_0x3f7f6e[_0x52d30f(0x3a4)]);break;}case _0x5b603b[_0x52d30f(0x3a1)]:{this[_0x52d30f(0x330)]();break;}case _0x5b603b['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x3f7f6e['data']);break;}case _0x5b603b[_0x52d30f(0x2d9)]:{this[_0x52d30f(0x2c3)](_0x3f7f6e['data']['changesets']['map'](_0x4a853a=>_0x21ca95(_0x4a853a)));break;}case _0x5b603b[_0x52d30f(0x270)]:{this[_0x52d30f(0x330)]({'isPermissionRej':!0x0});break;}case _0x5b603b['UNISCRIPT_RUN']:break;}}catch(_0x58e09d){throw console[_0x52d30f(0x197)](_0x52d30f(0x329),_0x58e09d),_0x58e09d;}})),this[_0x27d15b(0x286)];}[_0x24947f(0x224)](){var _0x53bc6e=_0x24947f;this[_0x53bc6e(0x15c)]=!0x1;}[_0x24947f(0x187)](){var _0x3cdc61=_0x24947f;if(this[_0x3cdc61(0x15c)])throw new Error(_0x3cdc61(0x257));this[_0x3cdc61(0x15c)]=!0x0;}[_0x24947f(0x444)](_0x4ed5c4){var _0x6fd8e6=_0x24947f;this['_lockTransition'](),this['_updateState'](this[_0x6fd8e6(0x286)][_0x6fd8e6(0x44b)](_0x4ed5c4)),this[_0x6fd8e6(0x224)]();}['_onRemoteChangeset'](_0x5119f5){var _0x3de1f6=_0x24947f;if(!(_0x5119f5['revision']<=this['_revisionService'][_0x3de1f6(0x18e)](this['unitID']))){if(this[_0x3de1f6(0x230)]){this[_0x3de1f6(0x266)]['push'](_0x5119f5);return;}this[_0x3de1f6(0x401)](_0x5119f5);}}[_0x24947f(0x290)](){var _0x2d1b61=_0x24947f;this[_0x2d1b61(0x266)]['forEach'](_0x55ed35=>this[_0x2d1b61(0x401)](_0x55ed35)),this[_0x2d1b61(0x266)]=[];}[_0x24947f(0x401)](_0x357025){var _0x332628=_0x24947f;const _0x5075bc=this[_0x332628(0x38f)][_0x332628(0x284)][_0x332628(0x3a0)](this['_compressMutationService'][_0x332628(0x284)][_0x332628(0x448)]()[_0x332628(0x3cd)])(_0x357025['mutations'],null)||_0x357025[_0x332628(0x440)],_0x4d4859={..._0x357025,'mutations':_0x5075bc};this[_0x332628(0x187)](),this['_updateState'](this[_0x332628(0x286)][_0x332628(0x20a)](_0x4d4859)),this['_unlockTransition']();}[_0x24947f(0x2dc)](_0x2fcc67){var _0x1e79ed=_0x24947f;this[_0x1e79ed(0x187)](),this[_0x1e79ed(0x215)](this[_0x1e79ed(0x286)]['onRemoteAck'](_0x2fcc67)),this[_0x1e79ed(0x224)]();}['_onRemoteRejected'](_0x4bf5c9){var _0x25c212=_0x24947f;this['_lockTransition'](),this[_0x25c212(0x215)](this[_0x25c212(0x286)][_0x25c212(0x34a)](_0x4bf5c9)),this[_0x25c212(0x224)]();}['_onRemoteRetry'](_0x1e622c){var _0x3c8512=_0x24947f;this[_0x3c8512(0x187)](),this[_0x3c8512(0x215)](this[_0x3c8512(0x286)][_0x3c8512(0x17c)](_0x1e622c)),this[_0x3c8512(0x224)]();}['_onFetchMissResult'](_0x4cc3c3){var _0x53c1cc=_0x24947f;if(!(this[_0x53c1cc(0x286)]instanceof te))throw new TypeError(_0x53c1cc(0x280));const _0x7724c3=_0x4cc3c3[_0x53c1cc(0x181)](_0x3d89a2=>{var _0x334e44=_0x53c1cc;const _0x5d5986=this['_compressMutationService'][_0x334e44(0x284)][_0x334e44(0x3a0)](this[_0x334e44(0x38f)][_0x334e44(0x284)][_0x334e44(0x448)]()[_0x334e44(0x3cd)])(_0x3d89a2[_0x334e44(0x440)],null)||_0x3d89a2[_0x334e44(0x440)];return{..._0x3d89a2,'mutations':_0x5d5986};});this[_0x53c1cc(0x187)](),this[_0x53c1cc(0x215)](this[_0x53c1cc(0x286)][_0x53c1cc(0x317)](_0x7724c3)),this[_0x53c1cc(0x224)]();}[_0x24947f(0x2fa)](){var _0x4880fa=_0x24947f;this['_lockTransition'](),this[_0x4880fa(0x215)](this[_0x4880fa(0x286)]['toggleOffline']()),this[_0x4880fa(0x224)]();}['_toggleOnline'](_0x4fedb4=!0x1){var _0x2abc93=_0x24947f;this[_0x2abc93(0x187)](),this[_0x2abc93(0x215)](this[_0x2abc93(0x286)][_0x2abc93(0x383)]()),this[_0x2abc93(0x224)]();const _0x548184=this[_0x2abc93(0x286)];_0x4fedb4&&_0x548184 instanceof De&&(this[_0x2abc93(0x187)](),this[_0x2abc93(0x215)](_0x548184['fetchMiss']()),this[_0x2abc93(0x224)]());}async[_0x24947f(0x1d4)](){return new Promise(_0x107d1a=>{var _0x3e2fd0=_0x2266;this[_0x3e2fd0(0x439)]['sessionStatus$'][_0x3e2fd0(0x342)](_0x56ccab(0x1))[_0x3e2fd0(0x30e)](async _0x3f2a28=>{var _0x5c4d98=_0x3e2fd0;_0x107d1a(await this[_0x5c4d98(0x1b6)](_0x3f2a28===Te['ONLINE']));});});}[_0x24947f(0x2aa)](){var _0x56f585=_0x24947f;const _0x147ff7=this[_0x56f585(0x3c4)];return{'onStateChange':(_0x49ccc1,_0x22ae33)=>{var _0x292351=_0x56f585;if(_0x49ccc1!==this[_0x292351(0x286)])throw new Error(_0x292351(0x1e1)+_0x49ccc1[_0x292351(0x37d)]+_0x292351(0x218)+_0x22ae33[_0x292351(0x37d)]+_0x292351(0x250)+this[_0x292351(0x286)]['status']);this[_0x292351(0x215)](_0x22ae33);},'onSendChangeset':_0x12c9a0=>{var _0x553096=_0x56f585;_0x12c9a0['sid']||(_0x12c9a0[_0x553096(0x1da)]=this[_0x553096(0x28c)],_0x12c9a0[_0x553096(0x379)]=++this['_changesetReqId']);const _0x1f8807={'eventID':_0x5b603b[_0x553096(0x314)],'data':{'unitID':_0x12c9a0['unitID'],'unitType':this[_0x553096(0x307)],'changeset':_0x12c9a0,'memberID':this['session']['getMemberID']()}};this[_0x553096(0x439)][_0x553096(0x2cd)](_0x1f8807,this[_0x553096(0x3c4)]);},'onMissingChangesets':({from:_0x41831d,to:_0x55d98c})=>{var _0x4950d5=_0x56f585;this['_logService']['debug'](_0x4950d5(0x362),_0x4950d5(0x1d6)+_0x41831d+_0x4950d5(0x31f)+_0x55d98c);const _0x2249c9={'eventID':_0x5b603b[_0x4950d5(0x28e)],'data':{'unitID':_0x147ff7,'unitType':this[_0x4950d5(0x307)],'from':_0x41831d,'to':_0x55d98c}};this[_0x4950d5(0x439)][_0x4950d5(0x2cd)](_0x2249c9,this[_0x4950d5(0x3c4)]);}};}async[_0x24947f(0x1b6)](_0x587cf1){var _0x4728dc=_0x24947f,_0x402dba,_0x3b725d,_0x2c7a76;const _0x38e27a=await((_0x402dba=this[_0x4728dc(0x25b)])==null?void 0x0:_0x402dba['loadOfflineData'](this[_0x4728dc(0x3c4)])),_0x1c52c0=(_0x3b725d=_0x38e27a==null?void 0x0:_0x38e27a[_0x4728dc(0x440)])!=null?_0x3b725d:[],_0xf410d4=(_0x2c7a76=_0x38e27a==null?void 0x0:_0x38e27a[_0x4728dc(0x2f5)])!=null?_0x2c7a76:null,_0x51d87a=!!(_0xf410d4!=null&&_0xf410d4[_0x4728dc(0x1da)])&&!!(_0xf410d4!=null&&_0xf410d4['reqId']);this[_0x4728dc(0x28c)]=_0x51d87a?_0xf410d4[_0x4728dc(0x1da)]:sr(),this[_0x4728dc(0x232)]=_0x51d87a?_0xf410d4[_0x4728dc(0x379)]:0x0;const _0x531c56=this[_0x4728dc(0x3c4)];try{this['_replayCachedMutations'](_0xf410d4,_0x1c52c0);}catch(_0x522ca5){this['_logService'][_0x4728dc(0x197)](_0x522ca5);}const _0x339305=this[_0x4728dc(0x2aa)]();if(_0x587cf1){const _0x1d1f98=Di(this['_injector'],_0x531c56,this[_0x4728dc(0x307)],_0xf410d4,_0x1c52c0,_0x339305);return _0x1d1f98 instanceof oe?_0x1d1f98[_0x4728dc(0x19d)]():(_0x1d1f98 instanceof ae||_0x1d1f98 instanceof ue)&&_0x1d1f98[_0x4728dc(0x171)](),_0x1d1f98;}return this[_0x4728dc(0x2ac)][_0x4728dc(0x356)](fe,_0x531c56,this['_type'],_0xf410d4,_0x1c52c0,_0x339305);}[_0x24947f(0x367)](_0x5ca296,_0x5e0b78){var _0x1e8d63=_0x24947f,_0x5a1c79,_0x14f756;const _0x54c0b=this[_0x1e8d63(0x38f)][_0x1e8d63(0x284)][_0x1e8d63(0x3a0)](this[_0x1e8d63(0x38f)][_0x1e8d63(0x284)][_0x1e8d63(0x448)]()['COMPRESS_MUTATION_APPLY']);(_0x5a1c79=_0x54c0b((_0x5ca296==null?void 0x0:_0x5ca296[_0x1e8d63(0x440)])||[],null))==null||_0x5a1c79[_0x1e8d63(0x2d3)](_0x52cd8b=>this[_0x1e8d63(0x3d1)][_0x1e8d63(0x3b9)](_0x52cd8b['id'],_0x52cd8b['params'])),(_0x14f756=_0x54c0b(_0x5e0b78||[],null))==null||_0x14f756[_0x1e8d63(0x2d3)](_0x1ab774=>this[_0x1e8d63(0x3d1)]['executeCommand'](_0x1ab774['id'],_0x1ab774['params']));}};nt=Lt([k(0x3,_0x2c893e(_0x47c619)),k(0x4,_0x2c893e(_0x1d59ea)),k(0x5,_0x2c893e(_0x4f5132)),k(0x6,_0x2c893e(_0x4c63f1)),k(0x7,_0x2c893e(pe)),k(0x8,_0xb67ae9),k(0x9,_0xb31905),k(0xa,_0x2ee679),k(0xb,_0x433af4(ht)),k(0xc,_0x433af4(J))],nt);let Tt=class extends nt{constructor(_0x571292,_0x135daf,_0x32d306,_0x175d2d,_0x11ab74,_0x3a199b,_0x508d0e,_0x344f7b,_0x24a55f,_0x4eb7f6,_0x3ea849,_0x154fda,_0x1ffa26){var _0x8d85bb=_0x24947f;super(_0x571292,_0x32d306,_0x135daf,_0x175d2d,_0x11ab74,_0x3a199b,_0x508d0e,_0x344f7b,_0x24a55f,_0x4eb7f6,_0x3ea849,_0x154fda,_0x1ffa26),N(this,_0x8d85bb(0x3c1),null),(this[_0x8d85bb(0x3c4)]=_0x571292,this['type']=_0x135daf);}[_0x24947f(0x3c8)](_0xfa721){var _0xb13fe4=_0x24947f;this[_0xb13fe4(0x3c1)]=_0xfa721;}[_0x24947f(0x402)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x5d1bc2=_0x24947f;const _0x41ea7c=super[_0x5d1bc2(0x2aa)]();return _0x41ea7c[_0x5d1bc2(0x2db)]=_0xd1be33=>{var _0xa4274b=_0x5d1bc2,_0x16cd15,_0x2872bb;return(_0x2872bb=(_0x16cd15=this[_0xa4274b(0x3c1)])==null?void 0x0:_0x16cd15[_0xa4274b(0x2db)])==null?void 0x0:_0x2872bb[_0xa4274b(0x2ce)](_0x16cd15,_0xd1be33);},_0x41ea7c['onTransformState']=_0x1c1fa8=>{var _0x470486=_0x5d1bc2,_0x4a4782,_0x511806;return(_0x511806=(_0x4a4782=this['_handlerCallback'])==null?void 0x0:_0x4a4782[_0x470486(0x3b1)])==null?void 0x0:_0x511806['call'](_0x4a4782,_0x1c1fa8);},_0x41ea7c[_0x5d1bc2(0x228)]=_0x514067=>{var _0x51ee7b=_0x5d1bc2,_0x2119d8,_0xde1be9;return(_0xde1be9=(_0x2119d8=this[_0x51ee7b(0x3c1)])==null?void 0x0:_0x2119d8['onTransformSelections'])==null?void 0x0:_0xde1be9['call'](_0x2119d8,_0x514067);},_0x41ea7c[_0x5d1bc2(0x449)]=_0x150ee9=>{var _0x380710=_0x5d1bc2,_0x49c765,_0x4f9597;return(_0x4f9597=(_0x49c765=this['_handlerCallback'])==null?void 0x0:_0x49c765[_0x380710(0x449)])==null?void 0x0:_0x4f9597[_0x380710(0x2ce)](_0x49c765,_0x150ee9);},_0x41ea7c['onTransformRemoteChangesetByIMECache']=_0x6eca56=>{var _0x5760ff=_0x5d1bc2,_0x3e47dc,_0x4b6976,_0x20444e;if(!((_0x3e47dc=this['_handlerCallback'])!=null&&_0x3e47dc[_0x5760ff(0x3d5)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x20444e=(_0x4b6976=this[_0x5760ff(0x3c1)])==null?void 0x0:_0x4b6976['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x20444e['call'](_0x4b6976,_0x6eca56);},_0x41ea7c[_0x5d1bc2(0x1f7)]=_0x41897d=>{var _0x3f9f98=_0x5d1bc2,_0x4cf32a,_0xf73c57,_0x238a6f;if(!((_0x4cf32a=this[_0x3f9f98(0x3c1)])!=null&&_0x4cf32a[_0x3f9f98(0x1f7)]))throw new Error(_0x3f9f98(0x352));return(_0x238a6f=(_0xf73c57=this[_0x3f9f98(0x3c1)])==null?void 0x0:_0xf73c57[_0x3f9f98(0x1f7)])==null?void 0x0:_0x238a6f[_0x3f9f98(0x2ce)](_0xf73c57,_0x41897d);},_0x41ea7c;}async[_0x24947f(0x40d)](){var _0xbf43d3=_0x24947f;const _0x53d6a6=await super[_0xbf43d3(0x40d)]();return this['disposeWithMe'](this[_0xbf43d3(0x3d1)][_0xbf43d3(0x170)]((_0x22fc3f,_0x38d460)=>{var _0x104a2b=_0xbf43d3;if(_0x22fc3f[_0x104a2b(0x1ec)]!==_0x2f0eda['MUTATION']||_0x38d460!=null&&_0x38d460[_0x104a2b(0x278)]||_0x38d460!=null&&_0x38d460[_0x104a2b(0x15a)]||_0x22fc3f['id']===_0x5ea005['id'])return;const _0x58867e=_0x22fc3f[_0x104a2b(0x1fc)];if((_0x58867e==null?void 0x0:_0x58867e['unitId'])!==this[_0x104a2b(0x3c4)])return;const _0x27f4b7=_0x22fc3f,_0x188f28=this['_compressMutationService'][_0x104a2b(0x284)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x104a2b(0x284)]['getInterceptPoints']()[_0x104a2b(0x3d8)])([_0x27f4b7],null)||[_0x27f4b7];this[_0x104a2b(0x444)](_0x188f28[0x0]);})),_0x53d6a6;}};Tt=Lt([k(0x3,_0x2c893e(_0x47c619)),k(0x4,_0x2c893e(_0x1d59ea)),k(0x5,_0x2c893e(_0x4f5132)),k(0x6,_0x2c893e(_0x4c63f1)),k(0x7,_0x2c893e(pe)),k(0x8,_0xb67ae9),k(0x9,_0xb31905),k(0xa,_0x2ee679),k(0xb,_0x433af4(ht)),k(0xc,_0x433af4(J))],Tt);let Ct=class extends nt{constructor(_0x138b3f,_0x251b25,_0x1f7d7a,_0x1ac8be,_0x453611,_0x5f44aa,_0x32ab49,_0x24d032,_0x4d9dbe,_0x3fd82a,_0x3494fd,_0x46d150,_0xc9121a,_0xe70d97){var _0x2ba1fc=_0x24947f;super(_0x138b3f,_0x1f7d7a,_0x251b25,_0x1ac8be,_0x453611,_0x5f44aa,_0x32ab49,_0x4d9dbe,_0x3fd82a,_0x3494fd,_0x46d150,_0xc9121a,_0xe70d97),this[_0x2ba1fc(0x3c4)]=_0x138b3f,this[_0x2ba1fc(0x1ec)]=_0x251b25,this[_0x2ba1fc(0x399)]=_0x24d032;}[_0x24947f(0x2aa)](){var _0x52255b=_0x24947f;const _0x1ec636=super[_0x52255b(0x2aa)]();return _0x1ec636[_0x52255b(0x228)]=_0x43bcf=>this[_0x52255b(0x399)][_0x52255b(0x41d)](_0x43bcf),_0x1ec636;}async[_0x24947f(0x40d)](){var _0x10e977=_0x24947f;const _0x45a070=await super[_0x10e977(0x40d)]();return this[_0x10e977(0x2c8)](this[_0x10e977(0x3d1)][_0x10e977(0x170)]((_0x46fd3a,_0xd41b1d)=>{var _0x42eaa1=_0x10e977;if(_0x46fd3a[_0x42eaa1(0x1ec)]!==_0x2f0eda[_0x42eaa1(0x35a)]||_0xd41b1d!=null&&_0xd41b1d[_0x42eaa1(0x278)]||_0xd41b1d!=null&&_0xd41b1d[_0x42eaa1(0x15a)])return;const _0x3716f3=_0x46fd3a[_0x42eaa1(0x1fc)];if((_0x3716f3==null?void 0x0:_0x3716f3[_0x42eaa1(0x2fb)])!==this['unitID'])return;const _0x155aa6=_0x46fd3a,_0x593d35=this[_0x42eaa1(0x38f)]['interceptor']['fetchThroughInterceptors'](this[_0x42eaa1(0x38f)]['interceptor'][_0x42eaa1(0x448)]()[_0x42eaa1(0x3d8)])([_0x155aa6],null)||[_0x155aa6];this[_0x42eaa1(0x444)](_0x593d35[0x0]);})),_0x45a070;}};Ct=Lt([k(0x3,_0x2c893e(_0x47c619)),k(0x4,_0x2c893e(_0x1d59ea)),k(0x5,_0x2c893e(_0x4f5132)),k(0x6,_0x2c893e(_0x4c63f1)),k(0x7,_0x2c893e(it)),k(0x8,_0x2c893e(pe)),k(0x9,_0xb67ae9),k(0xa,_0xb31905),k(0xb,_0x2ee679),k(0xc,_0x433af4(ht)),k(0xd,_0x433af4(J))],Ct);var mr=Object[_0x24947f(0x2ee)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x3eae68,_0x3a500f,_0x185bc7,_0x1265ad)=>{var _0x11c353=_0x24947f;for(var _0x5bf3f1=_0x1265ad>0x1?void 0x0:_0x1265ad?gr(_0x3a500f,_0x185bc7):_0x3a500f,_0x3f1f57=_0x3eae68[_0x11c353(0x334)]-0x1,_0x196e22;_0x3f1f57>=0x0;_0x3f1f57--)(_0x196e22=_0x3eae68[_0x3f1f57])&&(_0x5bf3f1=(_0x1265ad?_0x196e22(_0x3a500f,_0x185bc7,_0x5bf3f1):_0x196e22(_0x5bf3f1))||_0x5bf3f1);return _0x1265ad&&_0x5bf3f1&&mr(_0x3a500f,_0x185bc7,_0x5bf3f1),_0x5bf3f1;},ft=(_0x393837,_0xca9bf4)=>(_0xf3de9a,_0x5e4bcf)=>_0xca9bf4(_0xf3de9a,_0x5e4bcf,_0x393837);let rt=class extends _0xd51a1a{constructor(_0x2de163,_0x783715,_0x20ed29){var _0xae244a=_0x24947f;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0xf92f12()),N(this,_0xae244a(0x273),this[_0xae244a(0x41b)][_0xae244a(0x378)]()),(this[_0xae244a(0x2ac)]=_0x2de163,this[_0xae244a(0x31c)]=_0x783715,this['_univerInstanceService']=_0x20ed29,this['_init']());}[_0x24947f(0x402)](){var _0x3f9ce5=_0x24947f;super[_0x3f9ce5(0x402)](),this[_0x3f9ce5(0x262)]['forEach'](_0x130af1=>_0x130af1[_0x3f9ce5(0x402)]()),this[_0x3f9ce5(0x262)]['clear']();}[_0x24947f(0x361)](_0x2dd60b){var _0xe2f793=_0x24947f,_0x2ca9bf;return(_0x2ca9bf=this[_0xe2f793(0x262)][_0xe2f793(0x2f7)](_0x2dd60b))!=null?_0x2ca9bf:null;}[_0x24947f(0x17a)](_0x4d2190){var _0x50a726=_0x24947f;const _0x113dbb=this['getCollabEntity'](_0x4d2190);return _0x113dbb?_0x3ddd94(_0x113dbb):this[_0x50a726(0x41b)][_0x50a726(0x342)](_0x435be6(_0x345bcf=>_0x345bcf[_0x50a726(0x3c4)]===_0x4d2190));}[_0x24947f(0x345)](_0x1a2ff3){var _0x4779b6=_0x24947f;return _0x15e76c(this[_0x4779b6(0x17a)](_0x1a2ff3)['pipe'](_0x5e6a8b(()=>{})));}['_init'](){var _0x1ddab0=_0x24947f;this[_0x1ddab0(0x3b3)][_0x1ddab0(0x245)](_0x5289d3['UNIVER_SHEET'])[_0x1ddab0(0x342)](_0x5d80f9(this[_0x1ddab0(0x30b)]),_0x335d30(0x10))[_0x1ddab0(0x30e)](async _0x49940b=>{var _0x1a2a9b=_0x1ddab0;const _0x381a88=_0x49940b[_0x1a2a9b(0x2cf)](),_0x37d895=await this[_0x1a2a9b(0x198)](_0x381a88,Q['UNIVER_SHEET']);this[_0x1a2a9b(0x262)][_0x1a2a9b(0x423)](_0x381a88,_0x37d895);}),this[_0x1ddab0(0x3b3)][_0x1ddab0(0x245)](_0x5289d3[_0x1ddab0(0x313)])[_0x1ddab0(0x342)](_0x5d80f9(this[_0x1ddab0(0x30b)]),_0x335d30(0x10))[_0x1ddab0(0x342)](_0x435be6(_0x4dedc5=>!_0x4dedc5[_0x1ddab0(0x2cf)]()[_0x1ddab0(0x2ba)]('__')))[_0x1ddab0(0x30e)](async _0x4e2180=>{var _0x1a5b00=_0x1ddab0;const _0x452201=_0x4e2180[_0x1a5b00(0x2cf)](),_0x4a726d=await this['_startCollaboration'](_0x452201,Q[_0x1a5b00(0x313)]);this[_0x1a5b00(0x262)]['set'](_0x452201,_0x4a726d);}),_0x14b0b2(this[_0x1ddab0(0x3b3)][_0x1ddab0(0x391)](_0x5289d3[_0x1ddab0(0x308)]),this[_0x1ddab0(0x3b3)][_0x1ddab0(0x391)](_0x5289d3[_0x1ddab0(0x313)]))[_0x1ddab0(0x342)](_0x5d80f9(this['dispose$']))[_0x1ddab0(0x30e)](_0x415ce8=>{var _0x1a7ef4=_0x1ddab0;const _0x748fb3=_0x415ce8[_0x1a7ef4(0x2cf)](),_0x40dc82=this['_entities'][_0x1a7ef4(0x2f7)](_0x748fb3);_0x40dc82&&(_0x40dc82['dispose'](),this[_0x1a7ef4(0x262)][_0x1a7ef4(0x201)](_0x748fb3));});}async[_0x24947f(0x198)](_0x2f61a2,_0xeac1b8){var _0x317d7b=_0x24947f;const _0xd6c905=await this[_0x317d7b(0x31c)][_0x317d7b(0x23c)](_0x2f61a2),_0x296bfe=this[_0x317d7b(0x2ac)][_0x317d7b(0x356)](this[_0x317d7b(0x160)](_0xeac1b8),_0x2f61a2,_0xeac1b8,_0xd6c905);return await _0x296bfe[_0x317d7b(0x337)](),this['_entityInit$'][_0x317d7b(0x27e)](_0x296bfe),_0x296bfe;}['_getCtorByUniverType'](_0x213bd0){var _0x2c91dc=_0x24947f;switch(_0x213bd0){case Q[_0x2c91dc(0x313)]:return Tt;case Q[_0x2c91dc(0x308)]:return Ct;default:throw new Error(_0x2c91dc(0x29b)+_0x213bd0);}}};rt=Sr([ft(0x0,_0x2c893e(_0x47c619)),ft(0x1,_0x2c893e(Le)),ft(0x2,_0x1443af)],rt);var Er=Object[_0x24947f(0x2ee)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0x3c238a,_0x2c2237,_0x2bb078,_0x5d7586)=>{var _0x47d781=_0x24947f;for(var _0x21915d=_0x5d7586>0x1?void 0x0:_0x5d7586?Ir(_0x2c2237,_0x2bb078):_0x2c2237,_0x1caa12=_0x3c238a[_0x47d781(0x334)]-0x1,_0x27972b;_0x1caa12>=0x0;_0x1caa12--)(_0x27972b=_0x3c238a[_0x1caa12])&&(_0x21915d=(_0x5d7586?_0x27972b(_0x2c2237,_0x2bb078,_0x21915d):_0x27972b(_0x21915d))||_0x21915d);return _0x5d7586&&_0x21915d&&Er(_0x2c2237,_0x2bb078,_0x21915d),_0x21915d;},Jt=(_0x235387,_0x384f13)=>(_0x4dca39,_0x3ef7f1)=>_0x384f13(_0x4dca39,_0x3ef7f1,_0x235387);const Cr=_0x24947f(0x28d),br=_0x24947f(0x1ab);let bt=class extends _0x99d30c{constructor(_0xa637d9,_0x3cc03){var _0x26c1e3=_0x24947f;super(),this[_0x26c1e3(0x3b3)]=_0xa637d9,this['_configService']=_0x3cc03,this[_0x26c1e3(0x40d)]();}[_0x24947f(0x40d)](){var _0x5b04bf=_0x24947f;this[_0x5b04bf(0x2c8)](this['_univerInstanceService']['focused$'][_0x5b04bf(0x30e)](()=>{var _0x2f1542=_0x5b04bf,_0x32b356;const _0x1ab916=this['_univerInstanceService'][_0x2f1542(0x34f)]();let _0x4bc955=(_0x32b356=this[_0x2f1542(0x1aa)][_0x2f1542(0x3b4)](Cr))!=null?_0x32b356:br;_0x1ab916 instanceof _0x2568af&&(_0x4bc955=_0x1ab916[_0x2f1542(0x3c6)]),document[_0x2f1542(0x1d3)]=_0x4bc955;}));}};bt=Tr([Jt(0x0,_0x1443af),Jt(0x1,_0x14e586)],bt);var Rr=Object[_0x24947f(0x2ee)],Or=Object[_0x24947f(0x2d4)],yr=(_0xc17b1a,_0x5a8a1a,_0x3b6771,_0x48ea5b)=>{var _0x34cf47=_0x24947f;for(var _0x31dd2e=_0x48ea5b>0x1?void 0x0:_0x48ea5b?Or(_0x5a8a1a,_0x3b6771):_0x5a8a1a,_0x31acdf=_0xc17b1a[_0x34cf47(0x334)]-0x1,_0x5a3bf8;_0x31acdf>=0x0;_0x31acdf--)(_0x5a3bf8=_0xc17b1a[_0x31acdf])&&(_0x31dd2e=(_0x48ea5b?_0x5a3bf8(_0x5a8a1a,_0x3b6771,_0x31dd2e):_0x5a3bf8(_0x31dd2e))||_0x31dd2e);return _0x48ea5b&&_0x31dd2e&&Rr(_0x5a8a1a,_0x3b6771,_0x31dd2e),_0x31dd2e;},vt=(_0x323043,_0x27e3f2)=>(_0x43f9a6,_0x39227a)=>_0x27e3f2(_0x43f9a6,_0x39227a,_0x323043);let st=class{constructor(_0x2a19f3,_0x49813a,_0xe3ba7e){var _0x5a7358=_0x24947f;this[_0x5a7358(0x1aa)]=_0x2a19f3,this['_httpService']=_0x49813a,this[_0x5a7358(0x3b0)]=_0xe3ba7e,this[_0x5a7358(0x337)]();}[_0x24947f(0x337)](){var _0x388245=_0x24947f;this[_0x388245(0x311)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x54c93f,_0x2ff087)=>_0x2ff087(_0x54c93f)[_0x388245(0x342)](_0x9dc838(async _0x438dcd=>{var _0x4c1e2a=_0x388245;const _0x2d81f5=_0x438dcd;if(_0x2d81f5[_0x4c1e2a(0x37d)]===0x191){if(typeof window>'u')throw new Error(_0x4c1e2a(0x211));if(window[_0x4c1e2a(0x322)](this[_0x4c1e2a(0x3b0)]['t'](_0x4c1e2a(0x27b)))){const _0x21f040=window['encodeURIComponent'](window[_0x4c1e2a(0x364)]['href']);window[_0x4c1e2a(0x364)][_0x4c1e2a(0x173)]=this[_0x4c1e2a(0x24e)]()+_0x4c1e2a(0x39b)+_0x21f040;}}return _0x2d81f5;}))});}['_getLoginPath'](){var _0x109eda=_0x24947f,_0x2b0791,_0x331d13;const _0x13e0bf=this[_0x109eda(0x1aa)][_0x109eda(0x3b4)](xn),_0x119205=this[_0x109eda(0x1aa)][_0x109eda(0x3b4)](q);return(_0x331d13=(_0x2b0791=_0x119205==null?void 0x0:_0x119205[_0x109eda(0x265)])!=null?_0x2b0791:_0x13e0bf)!=null?_0x331d13:Ln;}};st=yr([vt(0x0,_0x14e586),vt(0x1,_0x2c893e(_0x2ccc1a)),vt(0x2,_0x2c893e(_0x4f5132))],st);var Nr=Object[_0x24947f(0x2ee)],Dr=Object[_0x24947f(0x2d4)],Pr=(_0x7e86c2,_0x5e9a67,_0x2da4de,_0x38f9da)=>{for(var _0x572024=_0x38f9da>0x1?void 0x0:_0x38f9da?Dr(_0x5e9a67,_0x2da4de):_0x5e9a67,_0x5c8b01=_0x7e86c2['length']-0x1,_0x555d50;_0x5c8b01>=0x0;_0x5c8b01--)(_0x555d50=_0x7e86c2[_0x5c8b01])&&(_0x572024=(_0x38f9da?_0x555d50(_0x5e9a67,_0x2da4de,_0x572024):_0x555d50(_0x572024))||_0x572024);return _0x38f9da&&_0x572024&&Nr(_0x5e9a67,_0x2da4de,_0x572024),_0x572024;},Xt=(_0x5ad065,_0xcd237)=>(_0xe63cc9,_0x49cfa5)=>_0xcd237(_0xe63cc9,_0x49cfa5,_0x5ad065);const Pi=_0x24947f(0x31d),wr=_0x24947f(0x33f);let Rt=class extends _0x99d30c{constructor(_0x23f197,_0x49aa38){var _0x21f78f=_0x24947f;super(),this[_0x21f78f(0x369)]=_0x23f197,this['_configService']=_0x49aa38,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x440a59=_0x24947f;const _0x874625=this;this[_0x440a59(0x2c8)](this['_HTTPService'][_0x440a59(0x231)]({'priority':0x3e7,'interceptor':_0x30e3c1({'isMatch'(_0x34ff94){var _0x2a9a62=_0x440a59,_0x17f101;if(_0x34ff94['method']===_0x2a9a62(0x3ab)&&((_0x17f101=_0x34ff94[_0x2a9a62(0x1b0)])!=null&&_0x17f101[_0x2a9a62(0x445)])){const {objectID:_0x3815f6,objectType:_0xea99de}=_0x34ff94[_0x2a9a62(0x1b0)][_0x2a9a62(0x445)]||{};if(!_0x3815f6||_0xea99de===void 0x0)return!0x1;const _0x12562b=_0x874625['_getAPIPrefixPath']()+'/'+_0xea99de+_0x2a9a62(0x1a8)+_0x3815f6+'/allowed';if(_0x34ff94['url']===_0x12562b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x6311f2){var _0x1b3c69=_0x440a59,_0x331fed;return(_0x331fed=_0x6311f2['requestParams'])==null?void 0x0:_0x331fed[_0x1b3c69(0x445)];},'mergeParamsToRequest'(_0x383ad0,_0x4fddbf){var _0x2036d3=_0x440a59;const _0x139f3f=_0x874625['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0xdbe915=_0x383ad0['reduce']((_0x74b466,_0xa4dce3)=>{var _0x4be6e9=_0x2266;const {unitID:_0x331493,objectID:_0xa17081,objectType:_0x556556,actions:_0x5eeede}=_0xa4dce3;return _0x74b466[_0x331493]||(_0x74b466[_0x331493]={}),_0x74b466[_0x331493][_0xa17081]||(_0x74b466[_0x331493][_0xa17081]={'objectID':_0xa17081,'objectType':_0x556556,'actions':[]}),_0x74b466[_0x331493][_0xa17081]['actions'][_0x4be6e9(0x32c)](..._0x5eeede),_0x74b466;},{}),_0x1eca9c=[];for(const _0x40188d in _0xdbe915)for(const _0x2cb404 in _0xdbe915[_0x40188d]){const {actions:_0x15e221,objectType:_0x508c6d}=_0xdbe915[_0x40188d][_0x2cb404],_0x217943=[...new Set(_0x15e221)];_0x1eca9c['push']({'unitID':_0x40188d,'objectID':_0x2cb404,'objectType':_0x508c6d,'actions':_0x217943});}return new _0x4db6ae('POST',_0x139f3f,{'headers':_0x4fddbf[_0x2036d3(0x29f)],'withCredentials':_0x4fddbf[_0x2036d3(0x1c2)],'responseType':_0x4fddbf[_0x2036d3(0x3bd)],'body':{'requests':_0x1eca9c}});}},{'distributeResult'(_0x244540,_0x643fce){var _0x41f951=_0x440a59;const {objectActions:_0x52996b}=_0x244540;return _0x643fce[_0x41f951(0x181)](_0x18fa1f=>{var _0x2c4cf3=_0x41f951;const {unitID:_0x4a1a2e,objectID:_0x42a404,actions:_0x4fff7f}=_0x18fa1f,_0x3336f2=_0x52996b[_0x2c4cf3(0x283)](_0x38eed0=>_0x38eed0['unitID']===_0x4a1a2e&&_0x38eed0[_0x2c4cf3(0x2f0)]===_0x42a404),_0x4c6b7e=_0x4fff7f['map'](_0xb49b2e=>_0x3336f2==null?void 0x0:_0x3336f2[_0x2c4cf3(0x18d)][_0x2c4cf3(0x283)](_0xd9ac9a=>_0xd9ac9a[_0x2c4cf3(0x30a)]===_0xb49b2e))[_0x2c4cf3(0x1f5)](_0x2aaf28=>!!_0x2aaf28);return{'config':_0x18fa1f,'result':{'actions':_0x4c6b7e,'error':_0x244540[_0x2c4cf3(0x197)]}};});}})}));}['_getAPIPrefixPath'](){var _0x41561a=_0x24947f,_0x5f36f4,_0x19c140;const _0xfa8d85=this[_0x41561a(0x1aa)][_0x41561a(0x3b4)](Pi),_0x1abbaa=this[_0x41561a(0x1aa)][_0x41561a(0x3b4)](q);return(_0x19c140=(_0x5f36f4=_0x1abbaa==null?void 0x0:_0x1abbaa['authzUrl'])!=null?_0x5f36f4:_0xfa8d85)!=null?_0x19c140:wr;}async[_0x24947f(0x35b)](_0x41ff81){var _0x52f24f=_0x24947f;const _0x2cb255=this[_0x52f24f(0x2e4)]()+'/'+_0x41ff81[_0x52f24f(0x2c2)]+_0x52f24f(0x216);return(await this[_0x52f24f(0x369)]['post'](_0x2cb255,{'body':_0x41ff81}))['body'][_0x52f24f(0x2f0)]||'';}async[_0x24947f(0x3d7)](_0x105282){var _0x579d2f=_0x24947f;const _0x26cde1=this['_getAPIPrefixPath']()+_0x579d2f(0x373);return(await this[_0x579d2f(0x369)][_0x579d2f(0x2d1)](_0x26cde1,{'body':_0x105282}))['body'][_0x579d2f(0x44c)];}async[_0x24947f(0x325)](_0x2a4eec){var _0x208d13=_0x24947f;const _0x17ffa6=this[_0x208d13(0x2e4)]()+'/'+_0x2a4eec[_0x208d13(0x2c2)]+_0x208d13(0x1a8)+_0x2a4eec[_0x208d13(0x2f0)];await this[_0x208d13(0x369)]['put'](_0x17ffa6,{'body':_0x2a4eec});}async['allowed'](_0x51457c){var _0x55a50c=_0x24947f;const _0x2d9a74=this[_0x55a50c(0x2e4)]()+'/'+_0x51457c['objectType']+_0x55a50c(0x1a8)+_0x51457c[_0x55a50c(0x2f0)]+'/allowed';return(await this['_HTTPService']['post'](_0x2d9a74,{'body':_0x51457c}))[_0x55a50c(0x445)][_0x55a50c(0x18d)];}async[_0x24947f(0x2f1)](_0x33805c){var _0x72eb25=_0x24947f;const _0x394baf=this[_0x72eb25(0x2e4)]()+_0x72eb25(0x175);return(await this[_0x72eb25(0x369)][_0x72eb25(0x2d1)](_0x394baf,{'body':{'requests':_0x33805c}}))['body'][_0x72eb25(0x1f9)];}async[_0x24947f(0x219)](_0x4afc78){var _0x3dc50a=_0x24947f;const _0x225ab3=this[_0x3dc50a(0x2e4)]()+'/'+_0x4afc78[_0x3dc50a(0x2c2)]+'/role',_0x4fd6a0=await this['_HTTPService'][_0x3dc50a(0x2d1)](_0x225ab3,{'body':_0x4afc78});return{'roles':_0x4fd6a0[_0x3dc50a(0x445)][_0x3dc50a(0x1b4)],'actions':_0x4fd6a0[_0x3dc50a(0x445)][_0x3dc50a(0x18d)]};}async[_0x24947f(0x2e1)](_0x4b560a){var _0x4942fc=_0x24947f;const _0x5f3e25=this[_0x4942fc(0x2e4)]()+'/collaborator';await this[_0x4942fc(0x369)][_0x4942fc(0x201)](_0x5f3e25,{'params':{'collaboratorID':_0x4b560a['collaboratorID'],'objectID':_0x4b560a['objectID'],'unitID':_0x4b560a[_0x4942fc(0x3c4)]}});}async['updateCollaborator'](_0x1923df){var _0x40c361=_0x24947f;const _0x24a16f=this[_0x40c361(0x2e4)]()+_0x40c361(0x206);await this[_0x40c361(0x369)][_0x40c361(0x382)](_0x24a16f,{'body':_0x1923df});}async[_0x24947f(0x1ad)](_0x111097){var _0x18d3ee=_0x24947f;const _0x228d85=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x18d3ee(0x369)][_0x18d3ee(0x2d1)](_0x228d85,{'body':_0x111097});}async[_0x24947f(0x152)](_0x36ddd9){var _0xb24acb=_0x24947f;const _0x9e30f6=this['_getAPIPrefixPath']()+_0xb24acb(0x206);return(await this[_0xb24acb(0x369)][_0xb24acb(0x2f7)](_0x9e30f6,{'params':{'objectID':_0x36ddd9[_0xb24acb(0x2f0)],'unitID':_0x36ddd9[_0xb24acb(0x3c4)]}}))['body'][_0xb24acb(0x1bb)];}async[_0x24947f(0x3ea)](_0x45404d){var _0x3d0d08=_0x24947f;const _0x25aa70=this[_0x3d0d08(0x2e4)]()+_0x3d0d08(0x206);await this[_0x3d0d08(0x369)][_0x3d0d08(0x386)](_0x25aa70,{'body':_0x45404d});}};Rt=Pr([Xt(0x0,_0x2c893e(_0x2ccc1a)),Xt(0x1,_0x2c893e(_0x14e586))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x334e23){var _0xf0a38=_0x24947f;return _0x334e23&&_0x334e23['__esModule']&&Object[_0xf0a38(0x335)][_0xf0a38(0x188)][_0xf0a38(0x2ce)](_0x334e23,_0xf0a38(0x1ef))?_0x334e23['default']:_0x334e23;}var Ve={'exports':{}};function Ur(_0x469c94){var _0x58e41d=_0x24947f;throw new Error(_0x58e41d(0x1e6)+_0x469c94+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x24947f(0x1df)],Zt;function ne(){var _0x84dec8=_0x24947f;return Zt||(Zt=0x1,function(_0x3ab665,_0x41bfbc){(function(_0x44841c,_0x1e82f6){var _0x3d0dc0=_0x2266;_0x3ab665[_0x3d0dc0(0x1df)]=_0x1e82f6();}(Ar,function(){var _0x2cf2da=_0x2cf2da||function(_0x91b0bf,_0x4c2c52){var _0x2a7ff1=_0x2266,_0x62d74d;if(typeof window<'u'&&window[_0x2a7ff1(0x2a5)]&&(_0x62d74d=window[_0x2a7ff1(0x2a5)]),typeof self<'u'&&self[_0x2a7ff1(0x2a5)]&&(_0x62d74d=self[_0x2a7ff1(0x2a5)]),typeof globalThis<'u'&&globalThis[_0x2a7ff1(0x2a5)]&&(_0x62d74d=globalThis[_0x2a7ff1(0x2a5)]),!_0x62d74d&&typeof window<'u'&&window[_0x2a7ff1(0x446)]&&(_0x62d74d=window[_0x2a7ff1(0x446)]),!_0x62d74d&&typeof pt<'u'&&pt[_0x2a7ff1(0x2a5)]&&(_0x62d74d=pt[_0x2a7ff1(0x2a5)]),!_0x62d74d&&typeof Ur==_0x2a7ff1(0x2fe))try{_0x62d74d=require(_0x2a7ff1(0x2a5));}catch{}var _0x26f04c=function(){var _0x41c2fe=_0x2a7ff1;if(_0x62d74d){if(typeof _0x62d74d[_0x41c2fe(0x3f4)]==_0x41c2fe(0x2fe))try{return _0x62d74d[_0x41c2fe(0x3f4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x62d74d['randomBytes']==_0x41c2fe(0x2fe))try{return _0x62d74d['randomBytes'](0x4)[_0x41c2fe(0x1f0)]();}catch{}}throw new Error(_0x41c2fe(0x2bb));},_0x139178=Object[_0x2a7ff1(0x35b)]||(function(){function _0x5c3032(){}return function(_0x5ec863){var _0x9f1b65=_0x2266,_0x5ea4f8;return _0x5c3032[_0x9f1b65(0x335)]=_0x5ec863,_0x5ea4f8=new _0x5c3032(),_0x5c3032[_0x9f1b65(0x335)]=null,_0x5ea4f8;};}()),_0x590d0e={},_0x500a59=_0x590d0e[_0x2a7ff1(0x236)]={},_0x30f7d2=_0x500a59[_0x2a7ff1(0x33b)]=(function(){return{'extend':function(_0x55fde6){var _0x2f6ebd=_0x2266,_0x35354d=_0x139178(this);return _0x55fde6&&_0x35354d['mixIn'](_0x55fde6),(!_0x35354d[_0x2f6ebd(0x188)](_0x2f6ebd(0x337))||this['init']===_0x35354d['init'])&&(_0x35354d[_0x2f6ebd(0x337)]=function(){var _0xcaf018=_0x2f6ebd;_0x35354d['$super'][_0xcaf018(0x337)][_0xcaf018(0x443)](this,arguments);}),_0x35354d['init'][_0x2f6ebd(0x335)]=_0x35354d,_0x35354d[_0x2f6ebd(0x38e)]=this,_0x35354d;},'create':function(){var _0x41ef5b=_0x2266,_0x16958d=this[_0x41ef5b(0x243)]();return _0x16958d[_0x41ef5b(0x337)][_0x41ef5b(0x443)](_0x16958d,arguments),_0x16958d;},'init':function(){},'mixIn':function(_0x832b1e){var _0x527cd7=_0x2266;for(var _0x50263f in _0x832b1e)_0x832b1e[_0x527cd7(0x188)](_0x50263f)&&(this[_0x50263f]=_0x832b1e[_0x50263f]);_0x832b1e['hasOwnProperty'](_0x527cd7(0x27f))&&(this[_0x527cd7(0x27f)]=_0x832b1e[_0x527cd7(0x27f)]);},'clone':function(){var _0xc255a7=_0x2266;return this[_0xc255a7(0x337)]['prototype']['extend'](this);}};}()),_0x239488=_0x500a59[_0x2a7ff1(0x177)]=_0x30f7d2['extend']({'init':function(_0x208e75,_0x4395f8){var _0x2965e0=_0x2a7ff1;_0x208e75=this[_0x2965e0(0x2ec)]=_0x208e75||[],_0x4395f8!=_0x4c2c52?this[_0x2965e0(0x447)]=_0x4395f8:this['sigBytes']=_0x208e75['length']*0x4;},'toString':function(_0x1349ed){return(_0x1349ed||_0x2f4a3b)['stringify'](this);},'concat':function(_0x19f506){var _0xd4e9c5=_0x2a7ff1,_0xa685be=this[_0xd4e9c5(0x2ec)],_0x5249e5=_0x19f506[_0xd4e9c5(0x2ec)],_0x365fb8=this[_0xd4e9c5(0x447)],_0x415f39=_0x19f506[_0xd4e9c5(0x447)];if(this[_0xd4e9c5(0x176)](),_0x365fb8%0x4)for(var _0x3bb40f=0x0;_0x3bb40f<_0x415f39;_0x3bb40f++){var _0x1ac12e=_0x5249e5[_0x3bb40f>>>0x2]>>>0x18-_0x3bb40f%0x4*0x8&0xff;_0xa685be[_0x365fb8+_0x3bb40f>>>0x2]|=_0x1ac12e<<0x18-(_0x365fb8+_0x3bb40f)%0x4*0x8;}else{for(var _0x595696=0x0;_0x595696<_0x415f39;_0x595696+=0x4)_0xa685be[_0x365fb8+_0x595696>>>0x2]=_0x5249e5[_0x595696>>>0x2];}return this[_0xd4e9c5(0x447)]+=_0x415f39,this;},'clamp':function(){var _0x18395b=_0x2a7ff1,_0x4619fa=this['words'],_0x3fc4a9=this['sigBytes'];_0x4619fa[_0x3fc4a9>>>0x2]&=0xffffffff<<0x20-_0x3fc4a9%0x4*0x8,_0x4619fa['length']=_0x91b0bf[_0x18395b(0x3ff)](_0x3fc4a9/0x4);},'clone':function(){var _0x258aa6=_0x2a7ff1,_0x4dd115=_0x30f7d2[_0x258aa6(0x1cd)]['call'](this);return _0x4dd115['words']=this['words'][_0x258aa6(0x336)](0x0),_0x4dd115;},'random':function(_0xdfa603){var _0x37d032=_0x2a7ff1;for(var _0x51aeb1=[],_0x1de68e=0x0;_0x1de68e<_0xdfa603;_0x1de68e+=0x4)_0x51aeb1[_0x37d032(0x32c)](_0x26f04c());return new _0x239488[(_0x37d032(0x337))](_0x51aeb1,_0xdfa603);}}),_0x22a449=_0x590d0e[_0x2a7ff1(0x16b)]={},_0x2f4a3b=_0x22a449[_0x2a7ff1(0x3be)]={'stringify':function(_0x397644){var _0x171baf=_0x2a7ff1;for(var _0xd47390=_0x397644[_0x171baf(0x2ec)],_0x1e525a=_0x397644['sigBytes'],_0x2979e5=[],_0x2a363a=0x0;_0x2a363a<_0x1e525a;_0x2a363a++){var _0x3084db=_0xd47390[_0x2a363a>>>0x2]>>>0x18-_0x2a363a%0x4*0x8&0xff;_0x2979e5[_0x171baf(0x32c)]((_0x3084db>>>0x4)['toString'](0x10)),_0x2979e5[_0x171baf(0x32c)]((_0x3084db&0xf)[_0x171baf(0x27f)](0x10));}return _0x2979e5[_0x171baf(0x2bf)]('');},'parse':function(_0x594873){var _0x37dacf=_0x2a7ff1;for(var _0x24bcc1=_0x594873['length'],_0x5a2558=[],_0x27b5c2=0x0;_0x27b5c2<_0x24bcc1;_0x27b5c2+=0x2)_0x5a2558[_0x27b5c2>>>0x3]|=parseInt(_0x594873[_0x37dacf(0x2a0)](_0x27b5c2,0x2),0x10)<<0x18-_0x27b5c2%0x8*0x4;return new _0x239488[(_0x37dacf(0x337))](_0x5a2558,_0x24bcc1/0x2);}},_0x2ca3c3=_0x22a449[_0x2a7ff1(0x1dd)]={'stringify':function(_0x12671c){var _0x2322b9=_0x2a7ff1;for(var _0xd519ff=_0x12671c['words'],_0x194ceb=_0x12671c[_0x2322b9(0x447)],_0x109f14=[],_0xe43afa=0x0;_0xe43afa<_0x194ceb;_0xe43afa++){var _0x479989=_0xd519ff[_0xe43afa>>>0x2]>>>0x18-_0xe43afa%0x4*0x8&0xff;_0x109f14[_0x2322b9(0x32c)](String[_0x2322b9(0x259)](_0x479989));}return _0x109f14[_0x2322b9(0x2bf)]('');},'parse':function(_0x461b3b){var _0x2a0567=_0x2a7ff1;for(var _0x3412e4=_0x461b3b[_0x2a0567(0x334)],_0x3a2b7e=[],_0x2bf8d6=0x0;_0x2bf8d6<_0x3412e4;_0x2bf8d6++)_0x3a2b7e[_0x2bf8d6>>>0x2]|=(_0x461b3b[_0x2a0567(0x28b)](_0x2bf8d6)&0xff)<<0x18-_0x2bf8d6%0x4*0x8;return new _0x239488[(_0x2a0567(0x337))](_0x3a2b7e,_0x3412e4);}},_0x3bc21d=_0x22a449[_0x2a7ff1(0x295)]={'stringify':function(_0x6eaa9){var _0x3639f2=_0x2a7ff1;try{return decodeURIComponent(escape(_0x2ca3c3[_0x3639f2(0x1d0)](_0x6eaa9)));}catch{throw new Error(_0x3639f2(0x1e8));}},'parse':function(_0x1bd5bf){var _0x226000=_0x2a7ff1;return _0x2ca3c3[_0x226000(0x274)](unescape(encodeURIComponent(_0x1bd5bf)));}},_0x2c52f0=_0x500a59[_0x2a7ff1(0x301)]=_0x30f7d2[_0x2a7ff1(0x243)]({'reset':function(){var _0x364d0b=_0x2a7ff1;this[_0x364d0b(0x3d6)]=new _0x239488[(_0x364d0b(0x337))](),this[_0x364d0b(0x2f9)]=0x0;},'_append':function(_0x55ad89){var _0x3613c7=_0x2a7ff1;typeof _0x55ad89==_0x3613c7(0x327)&&(_0x55ad89=_0x3bc21d[_0x3613c7(0x274)](_0x55ad89)),this[_0x3613c7(0x3d6)][_0x3613c7(0x36e)](_0x55ad89),this[_0x3613c7(0x2f9)]+=_0x55ad89[_0x3613c7(0x447)];},'_process':function(_0x32a29e){var _0x40720e=_0x2a7ff1,_0xdb6701,_0x37da37=this[_0x40720e(0x3d6)],_0x12c91e=_0x37da37[_0x40720e(0x2ec)],_0xf3e714=_0x37da37[_0x40720e(0x447)],_0x161f98=this[_0x40720e(0x321)],_0x264c3c=_0x161f98*0x4,_0x1cf1c5=_0xf3e714/_0x264c3c;_0x32a29e?_0x1cf1c5=_0x91b0bf[_0x40720e(0x3ff)](_0x1cf1c5):_0x1cf1c5=_0x91b0bf[_0x40720e(0x3c2)]((_0x1cf1c5|0x0)-this['_minBufferSize'],0x0);var _0x585a6b=_0x1cf1c5*_0x161f98,_0x1560e8=_0x91b0bf['min'](_0x585a6b*0x4,_0xf3e714);if(_0x585a6b){for(var _0x2f7d5e=0x0;_0x2f7d5e<_0x585a6b;_0x2f7d5e+=_0x161f98)this[_0x40720e(0x1b3)](_0x12c91e,_0x2f7d5e);_0xdb6701=_0x12c91e[_0x40720e(0x23d)](0x0,_0x585a6b),_0x37da37[_0x40720e(0x447)]-=_0x1560e8;}return new _0x239488['init'](_0xdb6701,_0x1560e8);},'clone':function(){var _0x367ff7=_0x2a7ff1,_0x9c0d04=_0x30f7d2[_0x367ff7(0x1cd)][_0x367ff7(0x2ce)](this);return _0x9c0d04[_0x367ff7(0x3d6)]=this['_data'][_0x367ff7(0x1cd)](),_0x9c0d04;},'_minBufferSize':0x0});_0x500a59[_0x2a7ff1(0x3c3)]=_0x2c52f0[_0x2a7ff1(0x243)]({'cfg':_0x30f7d2[_0x2a7ff1(0x243)](),'init':function(_0x520a8f){var _0xd9d92f=_0x2a7ff1;this[_0xd9d92f(0x1fa)]=this['cfg'][_0xd9d92f(0x243)](_0x520a8f),this[_0xd9d92f(0x431)]();},'reset':function(){var _0x249804=_0x2a7ff1;_0x2c52f0[_0x249804(0x431)][_0x249804(0x2ce)](this),this[_0x249804(0x3a7)]();},'update':function(_0x9890ea){var _0x534066=_0x2a7ff1;return this[_0x534066(0x237)](_0x9890ea),this[_0x534066(0x1b5)](),this;},'finalize':function(_0xd9b989){var _0x4cea6b=_0x2a7ff1;_0xd9b989&&this['_append'](_0xd9b989);var _0x1745da=this[_0x4cea6b(0x32f)]();return _0x1745da;},'blockSize':0x10,'_createHelper':function(_0x1a653b){return function(_0x5028a1,_0x596ecb){var _0x39adf7=_0x2266;return new _0x1a653b[(_0x39adf7(0x337))](_0x596ecb)[_0x39adf7(0x2f3)](_0x5028a1);};},'_createHmacHelper':function(_0xb7f0be){return function(_0x4e5cf1,_0x34c182){var _0x3ba36e=_0x2266;return new _0x4b409f[(_0x3ba36e(0x3d4))]['init'](_0xb7f0be,_0x34c182)[_0x3ba36e(0x2f3)](_0x4e5cf1);};}});var _0x4b409f=_0x590d0e[_0x2a7ff1(0x184)]={};return _0x590d0e;}(Math);return _0x2cf2da;}));}(Ge)),Ge[_0x84dec8(0x1df)];}var We={'exports':{}},xr=We[_0x24947f(0x1df)],Qt;function wi(){var _0x27b511=_0x24947f;return Qt||(Qt=0x1,function(_0x4c4f2a,_0x33d384){(function(_0x40e586,_0x464d07){_0x4c4f2a['exports']=_0x464d07(ne());}(xr,function(_0x1362a8){var _0x202aba=_0x2266;return(function(){var _0x300801=_0x2266,_0x3f109e=_0x1362a8,_0x4725cf=_0x3f109e[_0x300801(0x236)],_0x19e583=_0x4725cf[_0x300801(0x177)],_0x4acca4=_0x3f109e[_0x300801(0x16b)];_0x4acca4[_0x300801(0x44a)]={'stringify':function(_0xd74db9){var _0x1a93ff=_0x300801,_0x18092e=_0xd74db9[_0x1a93ff(0x2ec)],_0x58b694=_0xd74db9[_0x1a93ff(0x447)],_0x4aff5d=this[_0x1a93ff(0x42e)];_0xd74db9[_0x1a93ff(0x176)]();for(var _0x3610d3=[],_0x4b30c1=0x0;_0x4b30c1<_0x58b694;_0x4b30c1+=0x3)for(var _0x244608=_0x18092e[_0x4b30c1>>>0x2]>>>0x18-_0x4b30c1%0x4*0x8&0xff,_0x424595=_0x18092e[_0x4b30c1+0x1>>>0x2]>>>0x18-(_0x4b30c1+0x1)%0x4*0x8&0xff,_0x3b2bd5=_0x18092e[_0x4b30c1+0x2>>>0x2]>>>0x18-(_0x4b30c1+0x2)%0x4*0x8&0xff,_0x2bfb0a=_0x244608<<0x10|_0x424595<<0x8|_0x3b2bd5,_0x19d2df=0x0;_0x19d2df<0x4&&_0x4b30c1+_0x19d2df*0.75<_0x58b694;_0x19d2df++)_0x3610d3[_0x1a93ff(0x32c)](_0x4aff5d['charAt'](_0x2bfb0a>>>0x6*(0x3-_0x19d2df)&0x3f));var _0x4d1825=_0x4aff5d['charAt'](0x40);if(_0x4d1825){for(;_0x3610d3[_0x1a93ff(0x334)]%0x4;)_0x3610d3[_0x1a93ff(0x32c)](_0x4d1825);}return _0x3610d3[_0x1a93ff(0x2bf)]('');},'parse':function(_0x521d72){var _0x43de70=_0x300801,_0x4b375e=_0x521d72[_0x43de70(0x334)],_0x3b51e1=this[_0x43de70(0x42e)],_0x1b6377=this['_reverseMap'];if(!_0x1b6377){_0x1b6377=this['_reverseMap']=[];for(var _0x1765ab=0x0;_0x1765ab<_0x3b51e1['length'];_0x1765ab++)_0x1b6377[_0x3b51e1[_0x43de70(0x28b)](_0x1765ab)]=_0x1765ab;}var _0x1b4729=_0x3b51e1['charAt'](0x40);if(_0x1b4729){var _0x5294ad=_0x521d72[_0x43de70(0x2da)](_0x1b4729);_0x5294ad!==-0x1&&(_0x4b375e=_0x5294ad);}return _0xc2e88f(_0x521d72,_0x4b375e,_0x1b6377);},'_map':_0x300801(0x2d6)};function _0xc2e88f(_0x52d821,_0x4628cd,_0x98514a){var _0x3b6b0a=_0x300801;for(var _0x3fb5fd=[],_0x11300c=0x0,_0xf74185=0x0;_0xf74185<_0x4628cd;_0xf74185++)if(_0xf74185%0x4){var _0x12c9a6=_0x98514a[_0x52d821[_0x3b6b0a(0x28b)](_0xf74185-0x1)]<<_0xf74185%0x4*0x2,_0x2740ee=_0x98514a[_0x52d821[_0x3b6b0a(0x28b)](_0xf74185)]>>>0x6-_0xf74185%0x4*0x2,_0x2acb06=_0x12c9a6|_0x2740ee;_0x3fb5fd[_0x11300c>>>0x2]|=_0x2acb06<<0x18-_0x11300c%0x4*0x8,_0x11300c++;}return _0x19e583[_0x3b6b0a(0x35b)](_0x3fb5fd,_0x11300c);}}()),_0x1362a8[_0x202aba(0x16b)][_0x202aba(0x44a)];}));}(We)),We[_0x27b511(0x1df)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){return ei||(ei=0x1,function(_0x1ba76f,_0x3a84b5){(function(_0x2c7df7,_0x1b2b5d){var _0x3c158f=_0x2266;_0x1ba76f[_0x3c158f(0x1df)]=_0x1b2b5d(ne());}(Lr,function(_0x230e22){var _0x8425e5=_0x2266;return function(_0x3f847a){var _0x5a5bc7=_0x2266,_0xa3505f=_0x230e22,_0x25aae=_0xa3505f[_0x5a5bc7(0x236)],_0x2df65d=_0x25aae[_0x5a5bc7(0x177)],_0x5d8c5f=_0x25aae[_0x5a5bc7(0x3c3)],_0x548a29=_0xa3505f[_0x5a5bc7(0x184)],_0x1c8692=[];(function(){var _0x173011=_0x5a5bc7;for(var _0x106cdb=0x0;_0x106cdb<0x40;_0x106cdb++)_0x1c8692[_0x106cdb]=_0x3f847a[_0x173011(0x310)](_0x3f847a['sin'](_0x106cdb+0x1))*0x100000000|0x0;}());var _0x35207c=_0x548a29[_0x5a5bc7(0x21a)]=_0x5d8c5f[_0x5a5bc7(0x243)]({'_doReset':function(){this['_hash']=new _0x2df65d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1461cd,_0x4b4c7c){var _0x4f165b=_0x5a5bc7;for(var _0x4bcbfc=0x0;_0x4bcbfc<0x10;_0x4bcbfc++){var _0x5d5cf7=_0x4b4c7c+_0x4bcbfc,_0x5911d7=_0x1461cd[_0x5d5cf7];_0x1461cd[_0x5d5cf7]=(_0x5911d7<<0x8|_0x5911d7>>>0x18)&0xff00ff|(_0x5911d7<<0x18|_0x5911d7>>>0x8)&0xff00ff00;}var _0x3d207c=this[_0x4f165b(0x3e0)]['words'],_0x31e020=_0x1461cd[_0x4b4c7c+0x0],_0x4322aa=_0x1461cd[_0x4b4c7c+0x1],_0x3f8e6c=_0x1461cd[_0x4b4c7c+0x2],_0x1e5d0a=_0x1461cd[_0x4b4c7c+0x3],_0x54ca59=_0x1461cd[_0x4b4c7c+0x4],_0x43b5af=_0x1461cd[_0x4b4c7c+0x5],_0x8eca86=_0x1461cd[_0x4b4c7c+0x6],_0x41e463=_0x1461cd[_0x4b4c7c+0x7],_0x84b4e9=_0x1461cd[_0x4b4c7c+0x8],_0x4d5fba=_0x1461cd[_0x4b4c7c+0x9],_0x5e5386=_0x1461cd[_0x4b4c7c+0xa],_0x59b8b4=_0x1461cd[_0x4b4c7c+0xb],_0x3e19a3=_0x1461cd[_0x4b4c7c+0xc],_0x50cdf0=_0x1461cd[_0x4b4c7c+0xd],_0x14ade3=_0x1461cd[_0x4b4c7c+0xe],_0x3d2335=_0x1461cd[_0x4b4c7c+0xf],_0x253c96=_0x3d207c[0x0],_0x15144a=_0x3d207c[0x1],_0xa938da=_0x3d207c[0x2],_0x230d07=_0x3d207c[0x3];_0x253c96=_0x1ee92e(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x31e020,0x7,_0x1c8692[0x0]),_0x230d07=_0x1ee92e(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x4322aa,0xc,_0x1c8692[0x1]),_0xa938da=_0x1ee92e(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x3f8e6c,0x11,_0x1c8692[0x2]),_0x15144a=_0x1ee92e(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x1e5d0a,0x16,_0x1c8692[0x3]),_0x253c96=_0x1ee92e(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x54ca59,0x7,_0x1c8692[0x4]),_0x230d07=_0x1ee92e(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x43b5af,0xc,_0x1c8692[0x5]),_0xa938da=_0x1ee92e(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x8eca86,0x11,_0x1c8692[0x6]),_0x15144a=_0x1ee92e(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x41e463,0x16,_0x1c8692[0x7]),_0x253c96=_0x1ee92e(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x84b4e9,0x7,_0x1c8692[0x8]),_0x230d07=_0x1ee92e(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x4d5fba,0xc,_0x1c8692[0x9]),_0xa938da=_0x1ee92e(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x5e5386,0x11,_0x1c8692[0xa]),_0x15144a=_0x1ee92e(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x59b8b4,0x16,_0x1c8692[0xb]),_0x253c96=_0x1ee92e(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x3e19a3,0x7,_0x1c8692[0xc]),_0x230d07=_0x1ee92e(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x50cdf0,0xc,_0x1c8692[0xd]),_0xa938da=_0x1ee92e(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x14ade3,0x11,_0x1c8692[0xe]),_0x15144a=_0x1ee92e(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x3d2335,0x16,_0x1c8692[0xf]),_0x253c96=_0x256fe0(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x4322aa,0x5,_0x1c8692[0x10]),_0x230d07=_0x256fe0(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x8eca86,0x9,_0x1c8692[0x11]),_0xa938da=_0x256fe0(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x59b8b4,0xe,_0x1c8692[0x12]),_0x15144a=_0x256fe0(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x31e020,0x14,_0x1c8692[0x13]),_0x253c96=_0x256fe0(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x43b5af,0x5,_0x1c8692[0x14]),_0x230d07=_0x256fe0(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x5e5386,0x9,_0x1c8692[0x15]),_0xa938da=_0x256fe0(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x3d2335,0xe,_0x1c8692[0x16]),_0x15144a=_0x256fe0(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x54ca59,0x14,_0x1c8692[0x17]),_0x253c96=_0x256fe0(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x4d5fba,0x5,_0x1c8692[0x18]),_0x230d07=_0x256fe0(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x14ade3,0x9,_0x1c8692[0x19]),_0xa938da=_0x256fe0(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x1e5d0a,0xe,_0x1c8692[0x1a]),_0x15144a=_0x256fe0(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x84b4e9,0x14,_0x1c8692[0x1b]),_0x253c96=_0x256fe0(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x50cdf0,0x5,_0x1c8692[0x1c]),_0x230d07=_0x256fe0(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x3f8e6c,0x9,_0x1c8692[0x1d]),_0xa938da=_0x256fe0(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x41e463,0xe,_0x1c8692[0x1e]),_0x15144a=_0x256fe0(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x3e19a3,0x14,_0x1c8692[0x1f]),_0x253c96=_0x42437f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x43b5af,0x4,_0x1c8692[0x20]),_0x230d07=_0x42437f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x84b4e9,0xb,_0x1c8692[0x21]),_0xa938da=_0x42437f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x59b8b4,0x10,_0x1c8692[0x22]),_0x15144a=_0x42437f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x14ade3,0x17,_0x1c8692[0x23]),_0x253c96=_0x42437f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x4322aa,0x4,_0x1c8692[0x24]),_0x230d07=_0x42437f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x54ca59,0xb,_0x1c8692[0x25]),_0xa938da=_0x42437f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x41e463,0x10,_0x1c8692[0x26]),_0x15144a=_0x42437f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x5e5386,0x17,_0x1c8692[0x27]),_0x253c96=_0x42437f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x50cdf0,0x4,_0x1c8692[0x28]),_0x230d07=_0x42437f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x31e020,0xb,_0x1c8692[0x29]),_0xa938da=_0x42437f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x1e5d0a,0x10,_0x1c8692[0x2a]),_0x15144a=_0x42437f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x8eca86,0x17,_0x1c8692[0x2b]),_0x253c96=_0x42437f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x4d5fba,0x4,_0x1c8692[0x2c]),_0x230d07=_0x42437f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x3e19a3,0xb,_0x1c8692[0x2d]),_0xa938da=_0x42437f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x3d2335,0x10,_0x1c8692[0x2e]),_0x15144a=_0x42437f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x3f8e6c,0x17,_0x1c8692[0x2f]),_0x253c96=_0x14938f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x31e020,0x6,_0x1c8692[0x30]),_0x230d07=_0x14938f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x41e463,0xa,_0x1c8692[0x31]),_0xa938da=_0x14938f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x14ade3,0xf,_0x1c8692[0x32]),_0x15144a=_0x14938f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x43b5af,0x15,_0x1c8692[0x33]),_0x253c96=_0x14938f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x3e19a3,0x6,_0x1c8692[0x34]),_0x230d07=_0x14938f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x1e5d0a,0xa,_0x1c8692[0x35]),_0xa938da=_0x14938f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x5e5386,0xf,_0x1c8692[0x36]),_0x15144a=_0x14938f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x4322aa,0x15,_0x1c8692[0x37]),_0x253c96=_0x14938f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x84b4e9,0x6,_0x1c8692[0x38]),_0x230d07=_0x14938f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x3d2335,0xa,_0x1c8692[0x39]),_0xa938da=_0x14938f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x8eca86,0xf,_0x1c8692[0x3a]),_0x15144a=_0x14938f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x50cdf0,0x15,_0x1c8692[0x3b]),_0x253c96=_0x14938f(_0x253c96,_0x15144a,_0xa938da,_0x230d07,_0x54ca59,0x6,_0x1c8692[0x3c]),_0x230d07=_0x14938f(_0x230d07,_0x253c96,_0x15144a,_0xa938da,_0x59b8b4,0xa,_0x1c8692[0x3d]),_0xa938da=_0x14938f(_0xa938da,_0x230d07,_0x253c96,_0x15144a,_0x3f8e6c,0xf,_0x1c8692[0x3e]),_0x15144a=_0x14938f(_0x15144a,_0xa938da,_0x230d07,_0x253c96,_0x4d5fba,0x15,_0x1c8692[0x3f]),_0x3d207c[0x0]=_0x3d207c[0x0]+_0x253c96|0x0,_0x3d207c[0x1]=_0x3d207c[0x1]+_0x15144a|0x0,_0x3d207c[0x2]=_0x3d207c[0x2]+_0xa938da|0x0,_0x3d207c[0x3]=_0x3d207c[0x3]+_0x230d07|0x0;},'_doFinalize':function(){var _0x4b8aa6=_0x5a5bc7,_0x2a5677=this[_0x4b8aa6(0x3d6)],_0x34601e=_0x2a5677['words'],_0x208bb7=this['_nDataBytes']*0x8,_0x1a8cd6=_0x2a5677[_0x4b8aa6(0x447)]*0x8;_0x34601e[_0x1a8cd6>>>0x5]|=0x80<<0x18-_0x1a8cd6%0x20;var _0x329cb5=_0x3f847a['floor'](_0x208bb7/0x100000000),_0x42e225=_0x208bb7;_0x34601e[(_0x1a8cd6+0x40>>>0x9<<0x4)+0xf]=(_0x329cb5<<0x8|_0x329cb5>>>0x18)&0xff00ff|(_0x329cb5<<0x18|_0x329cb5>>>0x8)&0xff00ff00,_0x34601e[(_0x1a8cd6+0x40>>>0x9<<0x4)+0xe]=(_0x42e225<<0x8|_0x42e225>>>0x18)&0xff00ff|(_0x42e225<<0x18|_0x42e225>>>0x8)&0xff00ff00,_0x2a5677[_0x4b8aa6(0x447)]=(_0x34601e['length']+0x1)*0x4,this['_process']();for(var _0x4d5686=this['_hash'],_0x4f1270=_0x4d5686['words'],_0x559cae=0x0;_0x559cae<0x4;_0x559cae++){var _0x3380de=_0x4f1270[_0x559cae];_0x4f1270[_0x559cae]=(_0x3380de<<0x8|_0x3380de>>>0x18)&0xff00ff|(_0x3380de<<0x18|_0x3380de>>>0x8)&0xff00ff00;}return _0x4d5686;},'clone':function(){var _0x533880=_0x5a5bc7,_0xf995df=_0x5d8c5f[_0x533880(0x1cd)]['call'](this);return _0xf995df[_0x533880(0x3e0)]=this[_0x533880(0x3e0)][_0x533880(0x1cd)](),_0xf995df;}});function _0x1ee92e(_0x2ebce5,_0x524b20,_0x1fc956,_0x3cf41b,_0x43369a,_0x1cbcec,_0x3c1ee6){var _0x2d22ac=_0x2ebce5+(_0x524b20&_0x1fc956|~_0x524b20&_0x3cf41b)+_0x43369a+_0x3c1ee6;return(_0x2d22ac<<_0x1cbcec|_0x2d22ac>>>0x20-_0x1cbcec)+_0x524b20;}function _0x256fe0(_0x4cc508,_0x44c9f5,_0x549383,_0x423be7,_0x4a5d65,_0x12063d,_0x372c5e){var _0xf9e523=_0x4cc508+(_0x44c9f5&_0x423be7|_0x549383&~_0x423be7)+_0x4a5d65+_0x372c5e;return(_0xf9e523<<_0x12063d|_0xf9e523>>>0x20-_0x12063d)+_0x44c9f5;}function _0x42437f(_0x52c2f6,_0x49327c,_0x329b75,_0x529052,_0x2afd9b,_0x357771,_0x490ba5){var _0x42edaa=_0x52c2f6+(_0x49327c^_0x329b75^_0x529052)+_0x2afd9b+_0x490ba5;return(_0x42edaa<<_0x357771|_0x42edaa>>>0x20-_0x357771)+_0x49327c;}function _0x14938f(_0x421bc8,_0x1f20a6,_0x503bbb,_0xaa8495,_0x233fdc,_0x3cd75d,_0x2fc5d5){var _0x1e4896=_0x421bc8+(_0x503bbb^(_0x1f20a6|~_0xaa8495))+_0x233fdc+_0x2fc5d5;return(_0x1e4896<<_0x3cd75d|_0x1e4896>>>0x20-_0x3cd75d)+_0x1f20a6;}_0xa3505f[_0x5a5bc7(0x21a)]=_0x5d8c5f[_0x5a5bc7(0x43d)](_0x35207c),_0xa3505f[_0x5a5bc7(0x355)]=_0x5d8c5f['_createHmacHelper'](_0x35207c);}(Math),_0x230e22[_0x8425e5(0x21a)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x24947f(0x1df)],ti;function Hr(){var _0x4bd903=_0x24947f;return ti||(ti=0x1,function(_0x2add37,_0x52194c){(function(_0x2c4cc5,_0x4920be){var _0x5e76c6=_0x2266;_0x2add37[_0x5e76c6(0x1df)]=_0x4920be(ne());}($r,function(_0x134887){var _0x3532ff=_0x2266;return(function(){var _0x26c0c5=_0x2266,_0x3e4795=_0x134887,_0x25e4ca=_0x3e4795[_0x26c0c5(0x236)],_0x198258=_0x25e4ca[_0x26c0c5(0x177)],_0x4158bf=_0x25e4ca['Hasher'],_0x3c67ca=_0x3e4795[_0x26c0c5(0x184)],_0x5d61e1=[],_0x44f224=_0x3c67ca['SHA1']=_0x4158bf[_0x26c0c5(0x243)]({'_doReset':function(){var _0x2608a4=_0x26c0c5;this[_0x2608a4(0x3e0)]=new _0x198258['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c37f7,_0x42cc2f){var _0x490691=_0x26c0c5;for(var _0x51d5e3=this[_0x490691(0x3e0)]['words'],_0x164c95=_0x51d5e3[0x0],_0x496922=_0x51d5e3[0x1],_0xc2d3f=_0x51d5e3[0x2],_0x561247=_0x51d5e3[0x3],_0x54419c=_0x51d5e3[0x4],_0x578c55=0x0;_0x578c55<0x50;_0x578c55++){if(_0x578c55<0x10)_0x5d61e1[_0x578c55]=_0x3c37f7[_0x42cc2f+_0x578c55]|0x0;else{var _0x4980b9=_0x5d61e1[_0x578c55-0x3]^_0x5d61e1[_0x578c55-0x8]^_0x5d61e1[_0x578c55-0xe]^_0x5d61e1[_0x578c55-0x10];_0x5d61e1[_0x578c55]=_0x4980b9<<0x1|_0x4980b9>>>0x1f;}var _0x2cc379=(_0x164c95<<0x5|_0x164c95>>>0x1b)+_0x54419c+_0x5d61e1[_0x578c55];_0x578c55<0x14?_0x2cc379+=(_0x496922&_0xc2d3f|~_0x496922&_0x561247)+0x5a827999:_0x578c55<0x28?_0x2cc379+=(_0x496922^_0xc2d3f^_0x561247)+0x6ed9eba1:_0x578c55<0x3c?_0x2cc379+=(_0x496922&_0xc2d3f|_0x496922&_0x561247|_0xc2d3f&_0x561247)-0x70e44324:_0x2cc379+=(_0x496922^_0xc2d3f^_0x561247)-0x359d3e2a,_0x54419c=_0x561247,_0x561247=_0xc2d3f,_0xc2d3f=_0x496922<<0x1e|_0x496922>>>0x2,_0x496922=_0x164c95,_0x164c95=_0x2cc379;}_0x51d5e3[0x0]=_0x51d5e3[0x0]+_0x164c95|0x0,_0x51d5e3[0x1]=_0x51d5e3[0x1]+_0x496922|0x0,_0x51d5e3[0x2]=_0x51d5e3[0x2]+_0xc2d3f|0x0,_0x51d5e3[0x3]=_0x51d5e3[0x3]+_0x561247|0x0,_0x51d5e3[0x4]=_0x51d5e3[0x4]+_0x54419c|0x0;},'_doFinalize':function(){var _0x4ec1aa=_0x26c0c5,_0x4fd9a0=this[_0x4ec1aa(0x3d6)],_0x133459=_0x4fd9a0[_0x4ec1aa(0x2ec)],_0x590dc6=this[_0x4ec1aa(0x2f9)]*0x8,_0x6c5aea=_0x4fd9a0[_0x4ec1aa(0x447)]*0x8;return _0x133459[_0x6c5aea>>>0x5]|=0x80<<0x18-_0x6c5aea%0x20,_0x133459[(_0x6c5aea+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ec1aa(0x1e7)](_0x590dc6/0x100000000),_0x133459[(_0x6c5aea+0x40>>>0x9<<0x4)+0xf]=_0x590dc6,_0x4fd9a0[_0x4ec1aa(0x447)]=_0x133459[_0x4ec1aa(0x334)]*0x4,this[_0x4ec1aa(0x1b5)](),this[_0x4ec1aa(0x3e0)];},'clone':function(){var _0x3576ba=_0x26c0c5,_0x37b401=_0x4158bf[_0x3576ba(0x1cd)]['call'](this);return _0x37b401[_0x3576ba(0x3e0)]=this['_hash'][_0x3576ba(0x1cd)](),_0x37b401;}});_0x3e4795[_0x26c0c5(0x1ca)]=_0x4158bf[_0x26c0c5(0x43d)](_0x44f224),_0x3e4795['HmacSHA1']=_0x4158bf[_0x26c0c5(0x385)](_0x44f224);}()),_0x134887[_0x3532ff(0x1ca)];}));}(qe)),qe[_0x4bd903(0x1df)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x3e30e6=_0x24947f;return ii||(ii=0x1,function(_0x3364fb,_0x4b106f){(function(_0x50e0ba,_0x5ac4f2){_0x3364fb['exports']=_0x5ac4f2(ne());}(kr,function(_0x26f731){(function(){var _0x2c9491=_0x2266,_0x5efcd8=_0x26f731,_0x58c0a3=_0x5efcd8[_0x2c9491(0x236)],_0x248018=_0x58c0a3['Base'],_0x2b741b=_0x5efcd8[_0x2c9491(0x16b)],_0x84b204=_0x2b741b[_0x2c9491(0x295)],_0x362388=_0x5efcd8[_0x2c9491(0x184)];_0x362388['HMAC']=_0x248018[_0x2c9491(0x243)]({'init':function(_0xa3b2e2,_0x393331){var _0x3e0a7a=_0x2c9491;_0xa3b2e2=this['_hasher']=new _0xa3b2e2[(_0x3e0a7a(0x337))](),typeof _0x393331==_0x3e0a7a(0x327)&&(_0x393331=_0x84b204[_0x3e0a7a(0x274)](_0x393331));var _0x2ad59d=_0xa3b2e2[_0x3e0a7a(0x321)],_0x4f144d=_0x2ad59d*0x4;_0x393331[_0x3e0a7a(0x447)]>_0x4f144d&&(_0x393331=_0xa3b2e2[_0x3e0a7a(0x2f3)](_0x393331)),_0x393331[_0x3e0a7a(0x176)]();for(var _0x570f68=this[_0x3e0a7a(0x190)]=_0x393331[_0x3e0a7a(0x1cd)](),_0x1bb077=this['_iKey']=_0x393331[_0x3e0a7a(0x1cd)](),_0x40a9cb=_0x570f68[_0x3e0a7a(0x2ec)],_0x4f8091=_0x1bb077[_0x3e0a7a(0x2ec)],_0x2ea029=0x0;_0x2ea029<_0x2ad59d;_0x2ea029++)_0x40a9cb[_0x2ea029]^=0x5c5c5c5c,_0x4f8091[_0x2ea029]^=0x36363636;_0x570f68[_0x3e0a7a(0x447)]=_0x1bb077[_0x3e0a7a(0x447)]=_0x4f144d,this['reset']();},'reset':function(){var _0x2cf11d=_0x2c9491,_0x215884=this[_0x2cf11d(0x40f)];_0x215884[_0x2cf11d(0x431)](),_0x215884[_0x2cf11d(0x325)](this[_0x2cf11d(0x2ad)]);},'update':function(_0x45b4d6){var _0x273d19=_0x2c9491;return this[_0x273d19(0x40f)]['update'](_0x45b4d6),this;},'finalize':function(_0x45ef0e){var _0xf0a70c=_0x2c9491,_0x3c8e7a=this['_hasher'],_0x324706=_0x3c8e7a[_0xf0a70c(0x2f3)](_0x45ef0e);_0x3c8e7a[_0xf0a70c(0x431)]();var _0x150f7f=_0x3c8e7a[_0xf0a70c(0x2f3)](this['_oKey'][_0xf0a70c(0x1cd)]()[_0xf0a70c(0x36e)](_0x324706));return _0x150f7f;}});}());}));}(ze)),ze[_0x3e30e6(0x1df)];}var Br=Ye['exports'],ni;function Ui(){var _0x40b2a0=_0x24947f;return ni||(ni=0x1,function(_0x2dd1b2,_0x22eb3e){(function(_0x111c19,_0x5422ca,_0x290e6c){var _0x510754=_0x2266;_0x2dd1b2[_0x510754(0x1df)]=_0x5422ca(ne(),Hr(),jr());}(Br,function(_0x332b65){var _0x51d0d5=_0x2266;return(function(){var _0x865f99=_0x2266,_0x3efa7=_0x332b65,_0x2ba6be=_0x3efa7[_0x865f99(0x236)],_0x540e99=_0x2ba6be[_0x865f99(0x33b)],_0xa67c4c=_0x2ba6be[_0x865f99(0x177)],_0x178470=_0x3efa7[_0x865f99(0x184)],_0x1d17fa=_0x178470[_0x865f99(0x21a)],_0x1b6393=_0x178470['EvpKDF']=_0x540e99[_0x865f99(0x243)]({'cfg':_0x540e99['extend']({'keySize':0x80/0x20,'hasher':_0x1d17fa,'iterations':0x1}),'init':function(_0x2026b9){var _0xa30ce5=_0x865f99;this[_0xa30ce5(0x1fa)]=this[_0xa30ce5(0x1fa)]['extend'](_0x2026b9);},'compute':function(_0x3b0ad9,_0xbe24fa){var _0x46f20f=_0x865f99;for(var _0x51ce69,_0x59e6f9=this[_0x46f20f(0x1fa)],_0x4572db=_0x59e6f9['hasher'][_0x46f20f(0x35b)](),_0x9155fe=_0xa67c4c['create'](),_0x1fe12c=_0x9155fe[_0x46f20f(0x2ec)],_0x9b7fc=_0x59e6f9['keySize'],_0x4a7a63=_0x59e6f9[_0x46f20f(0x189)];_0x1fe12c[_0x46f20f(0x334)]<_0x9b7fc;){_0x51ce69&&_0x4572db['update'](_0x51ce69),_0x51ce69=_0x4572db[_0x46f20f(0x325)](_0x3b0ad9)[_0x46f20f(0x2f3)](_0xbe24fa),_0x4572db['reset']();for(var _0x45e638=0x1;_0x45e638<_0x4a7a63;_0x45e638++)_0x51ce69=_0x4572db[_0x46f20f(0x2f3)](_0x51ce69),_0x4572db['reset']();_0x9155fe[_0x46f20f(0x36e)](_0x51ce69);}return _0x9155fe[_0x46f20f(0x447)]=_0x9b7fc*0x4,_0x9155fe;}});_0x3efa7[_0x865f99(0x35e)]=function(_0x703e9a,_0x531da1,_0xac010c){var _0x3058a9=_0x865f99;return _0x1b6393[_0x3058a9(0x35b)](_0xac010c)['compute'](_0x703e9a,_0x531da1);};}()),_0x332b65[_0x51d0d5(0x35e)];}));}(Ye)),Ye[_0x40b2a0(0x1df)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){return ri||(ri=0x1,function(_0x571105,_0x232c2d){(function(_0x5088a0,_0x5d1e79,_0x3d46df){_0x571105['exports']=_0x5d1e79(ne(),Ui());}(Fr,function(_0x1227e3){_0x1227e3['lib']['Cipher']||function(_0x250851){var _0x26edaf=_0x2266,_0x3447b1=_0x1227e3,_0x34b5f0=_0x3447b1[_0x26edaf(0x236)],_0x3e87f6=_0x34b5f0[_0x26edaf(0x33b)],_0x42251d=_0x34b5f0[_0x26edaf(0x177)],_0x591a3b=_0x34b5f0[_0x26edaf(0x301)],_0x1210f8=_0x3447b1['enc'];_0x1210f8[_0x26edaf(0x295)];var _0xc92a6a=_0x1210f8[_0x26edaf(0x44a)],_0x388bbe=_0x3447b1[_0x26edaf(0x184)],_0x34d6af=_0x388bbe['EvpKDF'],_0x19b627=_0x34b5f0['Cipher']=_0x591a3b['extend']({'cfg':_0x3e87f6['extend'](),'createEncryptor':function(_0x3b9140,_0x4a9f9c){return this['create'](this['_ENC_XFORM_MODE'],_0x3b9140,_0x4a9f9c);},'createDecryptor':function(_0x2043b1,_0x3617c3){var _0x340fcf=_0x26edaf;return this[_0x340fcf(0x35b)](this[_0x340fcf(0x2c6)],_0x2043b1,_0x3617c3);},'init':function(_0x4355f5,_0x509408,_0x201b49){var _0x479978=_0x26edaf;this['cfg']=this[_0x479978(0x1fa)][_0x479978(0x243)](_0x201b49),this[_0x479978(0x371)]=_0x4355f5,this[_0x479978(0x3ce)]=_0x509408,this[_0x479978(0x431)]();},'reset':function(){var _0x158614=_0x26edaf;_0x591a3b[_0x158614(0x431)]['call'](this),this['_doReset']();},'process':function(_0x4c4093){var _0x2ddff3=_0x26edaf;return this['_append'](_0x4c4093),this[_0x2ddff3(0x1b5)]();},'finalize':function(_0x430146){var _0x530b85=_0x26edaf;_0x430146&&this[_0x530b85(0x237)](_0x430146);var _0x415bfa=this['_doFinalize']();return _0x415bfa;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5dbe62(_0xb854e){return typeof _0xb854e=='string'?_0x43662d:_0x414864;}return function(_0x152087){return{'encrypt':function(_0x1b3e7b,_0x65421,_0x5200d8){var _0x36d963=_0x2266;return _0x5dbe62(_0x65421)[_0x36d963(0x1bf)](_0x152087,_0x1b3e7b,_0x65421,_0x5200d8);},'decrypt':function(_0x365ce2,_0x272706,_0x3ee8e5){var _0x188590=_0x2266;return _0x5dbe62(_0x272706)[_0x188590(0x1cf)](_0x152087,_0x365ce2,_0x272706,_0x3ee8e5);}};};}())});_0x34b5f0['StreamCipher']=_0x19b627[_0x26edaf(0x243)]({'_doFinalize':function(){var _0x183f1f=this['_process'](!0x0);return _0x183f1f;},'blockSize':0x1});var _0x5759bb=_0x3447b1[_0x26edaf(0x3f3)]={},_0x4402a9=_0x34b5f0[_0x26edaf(0x1db)]=_0x3e87f6[_0x26edaf(0x243)]({'createEncryptor':function(_0x49209b,_0xd7b288){var _0x5f13de=_0x26edaf;return this[_0x5f13de(0x351)]['create'](_0x49209b,_0xd7b288);},'createDecryptor':function(_0x32c56f,_0x55fa96){var _0x1f58c0=_0x26edaf;return this[_0x1f58c0(0x168)][_0x1f58c0(0x35b)](_0x32c56f,_0x55fa96);},'init':function(_0x1f8c6c,_0x35a1db){var _0xdfc174=_0x26edaf;this[_0xdfc174(0x33e)]=_0x1f8c6c,this[_0xdfc174(0x42f)]=_0x35a1db;}}),_0x132a7b=_0x5759bb[_0x26edaf(0x38b)]=(function(){var _0x32963b=_0x26edaf,_0x23052c=_0x4402a9[_0x32963b(0x243)]();_0x23052c[_0x32963b(0x351)]=_0x23052c[_0x32963b(0x243)]({'processBlock':function(_0x1e9547,_0x31ec16){var _0x324c53=_0x32963b,_0x5d62cd=this[_0x324c53(0x33e)],_0x1c34af=_0x5d62cd[_0x324c53(0x321)];_0x15c025[_0x324c53(0x2ce)](this,_0x1e9547,_0x31ec16,_0x1c34af),_0x5d62cd[_0x324c53(0x411)](_0x1e9547,_0x31ec16),this[_0x324c53(0x2e2)]=_0x1e9547[_0x324c53(0x336)](_0x31ec16,_0x31ec16+_0x1c34af);}}),_0x23052c['Decryptor']=_0x23052c['extend']({'processBlock':function(_0x10d306,_0x3c9ae4){var _0x3ae289=_0x32963b,_0x5841a1=this['_cipher'],_0x500175=_0x5841a1[_0x3ae289(0x321)],_0x3f2006=_0x10d306[_0x3ae289(0x336)](_0x3c9ae4,_0x3c9ae4+_0x500175);_0x5841a1[_0x3ae289(0x18a)](_0x10d306,_0x3c9ae4),_0x15c025['call'](this,_0x10d306,_0x3c9ae4,_0x500175),this[_0x3ae289(0x2e2)]=_0x3f2006;}});function _0x15c025(_0x5a4060,_0x1102f3,_0x5ed15c){var _0x143de0=_0x32963b,_0xff195e,_0x203772=this[_0x143de0(0x42f)];_0x203772?(_0xff195e=_0x203772,this['_iv']=_0x250851):_0xff195e=this[_0x143de0(0x2e2)];for(var _0x365968=0x0;_0x365968<_0x5ed15c;_0x365968++)_0x5a4060[_0x1102f3+_0x365968]^=_0xff195e[_0x365968];}return _0x23052c;}()),_0x4ce595=_0x3447b1['pad']={},_0x4f743c=_0x4ce595[_0x26edaf(0x34b)]={'pad':function(_0x5d1c3a,_0x1b1203){var _0x454c2d=_0x26edaf;for(var _0x41d9c4=_0x1b1203*0x4,_0x4438b2=_0x41d9c4-_0x5d1c3a[_0x454c2d(0x447)]%_0x41d9c4,_0x5ecb73=_0x4438b2<<0x18|_0x4438b2<<0x10|_0x4438b2<<0x8|_0x4438b2,_0x37bbc3=[],_0x31a9e3=0x0;_0x31a9e3<_0x4438b2;_0x31a9e3+=0x4)_0x37bbc3[_0x454c2d(0x32c)](_0x5ecb73);var _0x572aa8=_0x42251d[_0x454c2d(0x35b)](_0x37bbc3,_0x4438b2);_0x5d1c3a[_0x454c2d(0x36e)](_0x572aa8);},'unpad':function(_0x404f97){var _0x5425e5=_0x26edaf,_0x267f42=_0x404f97['words'][_0x404f97['sigBytes']-0x1>>>0x2]&0xff;_0x404f97[_0x5425e5(0x447)]-=_0x267f42;}};_0x34b5f0['BlockCipher']=_0x19b627['extend']({'cfg':_0x19b627[_0x26edaf(0x1fa)][_0x26edaf(0x243)]({'mode':_0x132a7b,'padding':_0x4f743c}),'reset':function(){var _0x2f5131=_0x26edaf,_0x324983;_0x19b627[_0x2f5131(0x431)]['call'](this);var _0x228bfe=this[_0x2f5131(0x1fa)],_0xa9602b=_0x228bfe['iv'],_0x28442d=_0x228bfe['mode'];this[_0x2f5131(0x371)]==this['_ENC_XFORM_MODE']?_0x324983=_0x28442d[_0x2f5131(0x42c)]:(_0x324983=_0x28442d[_0x2f5131(0x1e9)],this['_minBufferSize']=0x1),this[_0x2f5131(0x309)]&&this[_0x2f5131(0x309)][_0x2f5131(0x256)]==_0x324983?this['_mode'][_0x2f5131(0x337)](this,_0xa9602b&&_0xa9602b[_0x2f5131(0x2ec)]):(this[_0x2f5131(0x309)]=_0x324983[_0x2f5131(0x2ce)](_0x28442d,this,_0xa9602b&&_0xa9602b[_0x2f5131(0x2ec)]),this['_mode'][_0x2f5131(0x256)]=_0x324983);},'_doProcessBlock':function(_0x4f7f24,_0xb1f59c){var _0x573d9b=_0x26edaf;this[_0x573d9b(0x309)]['processBlock'](_0x4f7f24,_0xb1f59c);},'_doFinalize':function(){var _0xab4c75=_0x26edaf,_0x6cc72,_0x139f51=this[_0xab4c75(0x1fa)]['padding'];return this['_xformMode']==this[_0xab4c75(0x37e)]?(_0x139f51[_0xab4c75(0x2de)](this[_0xab4c75(0x3d6)],this[_0xab4c75(0x321)]),_0x6cc72=this[_0xab4c75(0x1b5)](!0x0)):(_0x6cc72=this['_process'](!0x0),_0x139f51['unpad'](_0x6cc72)),_0x6cc72;},'blockSize':0x80/0x20});var _0x2d75f2=_0x34b5f0[_0x26edaf(0x3ad)]=_0x3e87f6[_0x26edaf(0x243)]({'init':function(_0xe83f6f){var _0x99acd5=_0x26edaf;this[_0x99acd5(0x153)](_0xe83f6f);},'toString':function(_0x505328){var _0x391bf5=_0x26edaf;return(_0x505328||this[_0x391bf5(0x2f6)])['stringify'](this);}}),_0x592e94=_0x3447b1[_0x26edaf(0x186)]={},_0x1eac0d=_0x592e94[_0x26edaf(0x40b)]={'stringify':function(_0x28c18b){var _0x1f0094=_0x26edaf,_0x2c9fe8,_0x308c0a=_0x28c18b[_0x1f0094(0x26e)],_0x52e55d=_0x28c18b[_0x1f0094(0x1ba)];return _0x52e55d?_0x2c9fe8=_0x42251d[_0x1f0094(0x35b)]([0x53616c74,0x65645f5f])[_0x1f0094(0x36e)](_0x52e55d)['concat'](_0x308c0a):_0x2c9fe8=_0x308c0a,_0x2c9fe8[_0x1f0094(0x27f)](_0xc92a6a);},'parse':function(_0x469a1c){var _0x43a2ab=_0x26edaf,_0x5bfe24,_0x578a48=_0xc92a6a[_0x43a2ab(0x274)](_0x469a1c),_0x150459=_0x578a48[_0x43a2ab(0x2ec)];return _0x150459[0x0]==0x53616c74&&_0x150459[0x1]==0x65645f5f&&(_0x5bfe24=_0x42251d[_0x43a2ab(0x35b)](_0x150459[_0x43a2ab(0x336)](0x2,0x4)),_0x150459[_0x43a2ab(0x23d)](0x0,0x4),_0x578a48[_0x43a2ab(0x447)]-=0x10),_0x2d75f2[_0x43a2ab(0x35b)]({'ciphertext':_0x578a48,'salt':_0x5bfe24});}},_0x414864=_0x34b5f0[_0x26edaf(0x241)]=_0x3e87f6[_0x26edaf(0x243)]({'cfg':_0x3e87f6[_0x26edaf(0x243)]({'format':_0x1eac0d}),'encrypt':function(_0x5c9d82,_0x566068,_0x1a0348,_0x2a74e8){var _0x39cdd7=_0x26edaf;_0x2a74e8=this[_0x39cdd7(0x1fa)][_0x39cdd7(0x243)](_0x2a74e8);var _0xa8e2e9=_0x5c9d82[_0x39cdd7(0x42c)](_0x1a0348,_0x2a74e8),_0x194a9=_0xa8e2e9[_0x39cdd7(0x2f3)](_0x566068),_0x50f5d8=_0xa8e2e9[_0x39cdd7(0x1fa)];return _0x2d75f2['create']({'ciphertext':_0x194a9,'key':_0x1a0348,'iv':_0x50f5d8['iv'],'algorithm':_0x5c9d82,'mode':_0x50f5d8[_0x39cdd7(0x3f3)],'padding':_0x50f5d8[_0x39cdd7(0x400)],'blockSize':_0x5c9d82['blockSize'],'formatter':_0x2a74e8[_0x39cdd7(0x186)]});},'decrypt':function(_0x48b275,_0x259d1e,_0x5d88d6,_0x3ddf70){var _0x3c4591=_0x26edaf;_0x3ddf70=this[_0x3c4591(0x1fa)][_0x3c4591(0x243)](_0x3ddf70),_0x259d1e=this[_0x3c4591(0x3fb)](_0x259d1e,_0x3ddf70[_0x3c4591(0x186)]);var _0x30acf0=_0x48b275[_0x3c4591(0x1e9)](_0x5d88d6,_0x3ddf70)['finalize'](_0x259d1e['ciphertext']);return _0x30acf0;},'_parse':function(_0x3aa86b,_0x1d19b0){var _0x7c98a5=_0x26edaf;return typeof _0x3aa86b==_0x7c98a5(0x327)?_0x1d19b0[_0x7c98a5(0x274)](_0x3aa86b,this):_0x3aa86b;}}),_0x46b088=_0x3447b1[_0x26edaf(0x412)]={},_0x1aa9eb=_0x46b088[_0x26edaf(0x40b)]={'execute':function(_0xadfc95,_0x43352f,_0x4f555f,_0x3be279,_0x3a4ce3){var _0x5d3025=_0x26edaf;if(_0x3be279||(_0x3be279=_0x42251d[_0x5d3025(0x320)](0x40/0x8)),_0x3a4ce3)var _0x29e874=_0x34d6af[_0x5d3025(0x35b)]({'keySize':_0x43352f+_0x4f555f,'hasher':_0x3a4ce3})[_0x5d3025(0x174)](_0xadfc95,_0x3be279);else var _0x29e874=_0x34d6af[_0x5d3025(0x35b)]({'keySize':_0x43352f+_0x4f555f})['compute'](_0xadfc95,_0x3be279);var _0x1f8144=_0x42251d[_0x5d3025(0x35b)](_0x29e874[_0x5d3025(0x2ec)][_0x5d3025(0x336)](_0x43352f),_0x4f555f*0x4);return _0x29e874['sigBytes']=_0x43352f*0x4,_0x2d75f2['create']({'key':_0x29e874,'iv':_0x1f8144,'salt':_0x3be279});}},_0x43662d=_0x34b5f0[_0x26edaf(0x410)]=_0x414864['extend']({'cfg':_0x414864[_0x26edaf(0x1fa)][_0x26edaf(0x243)]({'kdf':_0x1aa9eb}),'encrypt':function(_0x4ed878,_0x5d5d12,_0xe5216,_0x108491){var _0x4ecab0=_0x26edaf;_0x108491=this[_0x4ecab0(0x1fa)][_0x4ecab0(0x243)](_0x108491);var _0x285ec4=_0x108491[_0x4ecab0(0x412)][_0x4ecab0(0x3a3)](_0xe5216,_0x4ed878['keySize'],_0x4ed878[_0x4ecab0(0x422)],_0x108491[_0x4ecab0(0x1ba)],_0x108491[_0x4ecab0(0x2c0)]);_0x108491['iv']=_0x285ec4['iv'];var _0x114202=_0x414864[_0x4ecab0(0x1bf)][_0x4ecab0(0x2ce)](this,_0x4ed878,_0x5d5d12,_0x285ec4['key'],_0x108491);return _0x114202[_0x4ecab0(0x153)](_0x285ec4),_0x114202;},'decrypt':function(_0x4e2737,_0xfe7d9,_0x3190fc,_0x3885db){var _0x4c94d3=_0x26edaf;_0x3885db=this['cfg'][_0x4c94d3(0x243)](_0x3885db),_0xfe7d9=this[_0x4c94d3(0x3fb)](_0xfe7d9,_0x3885db['format']);var _0x4caefc=_0x3885db['kdf'][_0x4c94d3(0x3a3)](_0x3190fc,_0x4e2737[_0x4c94d3(0x302)],_0x4e2737[_0x4c94d3(0x422)],_0xfe7d9[_0x4c94d3(0x1ba)],_0x3885db[_0x4c94d3(0x2c0)]);_0x3885db['iv']=_0x4caefc['iv'];var _0x5290a9=_0x414864['decrypt'][_0x4c94d3(0x2ce)](this,_0x4e2737,_0xfe7d9,_0x4caefc[_0x4c94d3(0x2c5)],_0x3885db);return _0x5290a9;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x24947f(0x1df)],si;function Gr(){var _0x330aa8=_0x24947f;return si||(si=0x1,function(_0xa0a63e,_0x181f6e){(function(_0x4a248d,_0x33f933,_0x38efa5){_0xa0a63e['exports']=_0x33f933(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x4a167f){return(function(){var _0x51dab9=_0x2266,_0x4fc87f=_0x4a167f,_0x1a6e00=_0x4fc87f['lib'],_0x16ce65=_0x1a6e00['BlockCipher'],_0x2959f1=_0x4fc87f[_0x51dab9(0x184)],_0x42c35b=[],_0x41b8b0=[],_0x1a1d35=[],_0x2ef1ae=[],_0x4801d3=[],_0x34dcc7=[],_0x315e2a=[],_0xedddde=[],_0x5c8364=[],_0x2cce6d=[];(function(){for(var _0x4ecd28=[],_0x5b5858=0x0;_0x5b5858<0x100;_0x5b5858++)_0x5b5858<0x80?_0x4ecd28[_0x5b5858]=_0x5b5858<<0x1:_0x4ecd28[_0x5b5858]=_0x5b5858<<0x1^0x11b;for(var _0x46818a=0x0,_0x175ac6=0x0,_0x5b5858=0x0;_0x5b5858<0x100;_0x5b5858++){var _0x456749=_0x175ac6^_0x175ac6<<0x1^_0x175ac6<<0x2^_0x175ac6<<0x3^_0x175ac6<<0x4;_0x456749=_0x456749>>>0x8^_0x456749&0xff^0x63,_0x42c35b[_0x46818a]=_0x456749,_0x41b8b0[_0x456749]=_0x46818a;var _0x2a59f1=_0x4ecd28[_0x46818a],_0x5688f7=_0x4ecd28[_0x2a59f1],_0x1f75bd=_0x4ecd28[_0x5688f7],_0x1d01c6=_0x4ecd28[_0x456749]*0x101^_0x456749*0x1010100;_0x1a1d35[_0x46818a]=_0x1d01c6<<0x18|_0x1d01c6>>>0x8,_0x2ef1ae[_0x46818a]=_0x1d01c6<<0x10|_0x1d01c6>>>0x10,_0x4801d3[_0x46818a]=_0x1d01c6<<0x8|_0x1d01c6>>>0x18,_0x34dcc7[_0x46818a]=_0x1d01c6;var _0x1d01c6=_0x1f75bd*0x1010101^_0x5688f7*0x10001^_0x2a59f1*0x101^_0x46818a*0x1010100;_0x315e2a[_0x456749]=_0x1d01c6<<0x18|_0x1d01c6>>>0x8,_0xedddde[_0x456749]=_0x1d01c6<<0x10|_0x1d01c6>>>0x10,_0x5c8364[_0x456749]=_0x1d01c6<<0x8|_0x1d01c6>>>0x18,_0x2cce6d[_0x456749]=_0x1d01c6,_0x46818a?(_0x46818a=_0x2a59f1^_0x4ecd28[_0x4ecd28[_0x4ecd28[_0x1f75bd^_0x2a59f1]]],_0x175ac6^=_0x4ecd28[_0x4ecd28[_0x175ac6]]):_0x46818a=_0x175ac6=0x1;}}());var _0x3b4409=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x55a8d5=_0x2959f1[_0x51dab9(0x251)]=_0x16ce65[_0x51dab9(0x243)]({'_doReset':function(){var _0x360859=_0x51dab9,_0x196ee8;if(!(this[_0x360859(0x1bd)]&&this[_0x360859(0x312)]===this[_0x360859(0x3ce)])){for(var _0x4f506a=this[_0x360859(0x312)]=this['_key'],_0x164f7e=_0x4f506a['words'],_0x2df29c=_0x4f506a[_0x360859(0x447)]/0x4,_0xf8d9bd=this[_0x360859(0x1bd)]=_0x2df29c+0x6,_0x499dde=(_0xf8d9bd+0x1)*0x4,_0x3bc160=this[_0x360859(0x405)]=[],_0x7ed127=0x0;_0x7ed127<_0x499dde;_0x7ed127++)_0x7ed127<_0x2df29c?_0x3bc160[_0x7ed127]=_0x164f7e[_0x7ed127]:(_0x196ee8=_0x3bc160[_0x7ed127-0x1],_0x7ed127%_0x2df29c?_0x2df29c>0x6&&_0x7ed127%_0x2df29c==0x4&&(_0x196ee8=_0x42c35b[_0x196ee8>>>0x18]<<0x18|_0x42c35b[_0x196ee8>>>0x10&0xff]<<0x10|_0x42c35b[_0x196ee8>>>0x8&0xff]<<0x8|_0x42c35b[_0x196ee8&0xff]):(_0x196ee8=_0x196ee8<<0x8|_0x196ee8>>>0x18,_0x196ee8=_0x42c35b[_0x196ee8>>>0x18]<<0x18|_0x42c35b[_0x196ee8>>>0x10&0xff]<<0x10|_0x42c35b[_0x196ee8>>>0x8&0xff]<<0x8|_0x42c35b[_0x196ee8&0xff],_0x196ee8^=_0x3b4409[_0x7ed127/_0x2df29c|0x0]<<0x18),_0x3bc160[_0x7ed127]=_0x3bc160[_0x7ed127-_0x2df29c]^_0x196ee8);for(var _0x35f2aa=this[_0x360859(0x436)]=[],_0x36ab80=0x0;_0x36ab80<_0x499dde;_0x36ab80++){var _0x7ed127=_0x499dde-_0x36ab80;if(_0x36ab80%0x4)var _0x196ee8=_0x3bc160[_0x7ed127];else var _0x196ee8=_0x3bc160[_0x7ed127-0x4];_0x36ab80<0x4||_0x7ed127<=0x4?_0x35f2aa[_0x36ab80]=_0x196ee8:_0x35f2aa[_0x36ab80]=_0x315e2a[_0x42c35b[_0x196ee8>>>0x18]]^_0xedddde[_0x42c35b[_0x196ee8>>>0x10&0xff]]^_0x5c8364[_0x42c35b[_0x196ee8>>>0x8&0xff]]^_0x2cce6d[_0x42c35b[_0x196ee8&0xff]];}}},'encryptBlock':function(_0x3b5649,_0x129d13){var _0xa09a2c=_0x51dab9;this[_0xa09a2c(0x38c)](_0x3b5649,_0x129d13,this[_0xa09a2c(0x405)],_0x1a1d35,_0x2ef1ae,_0x4801d3,_0x34dcc7,_0x42c35b);},'decryptBlock':function(_0x42f171,_0x288b62){var _0x318ebb=_0x51dab9,_0x4222a8=_0x42f171[_0x288b62+0x1];_0x42f171[_0x288b62+0x1]=_0x42f171[_0x288b62+0x3],_0x42f171[_0x288b62+0x3]=_0x4222a8,this[_0x318ebb(0x38c)](_0x42f171,_0x288b62,this['_invKeySchedule'],_0x315e2a,_0xedddde,_0x5c8364,_0x2cce6d,_0x41b8b0);var _0x4222a8=_0x42f171[_0x288b62+0x1];_0x42f171[_0x288b62+0x1]=_0x42f171[_0x288b62+0x3],_0x42f171[_0x288b62+0x3]=_0x4222a8;},'_doCryptBlock':function(_0x533ef0,_0x484858,_0x377f7b,_0x165541,_0x340c51,_0x570b9b,_0x5d385a,_0x31350c){var _0x275c21=_0x51dab9;for(var _0x1a7a48=this[_0x275c21(0x1bd)],_0x16f457=_0x533ef0[_0x484858]^_0x377f7b[0x0],_0x55588d=_0x533ef0[_0x484858+0x1]^_0x377f7b[0x1],_0x26fdbd=_0x533ef0[_0x484858+0x2]^_0x377f7b[0x2],_0x44d7c7=_0x533ef0[_0x484858+0x3]^_0x377f7b[0x3],_0x519e9b=0x4,_0x3499a3=0x1;_0x3499a3<_0x1a7a48;_0x3499a3++){var _0x44211e=_0x165541[_0x16f457>>>0x18]^_0x340c51[_0x55588d>>>0x10&0xff]^_0x570b9b[_0x26fdbd>>>0x8&0xff]^_0x5d385a[_0x44d7c7&0xff]^_0x377f7b[_0x519e9b++],_0x386090=_0x165541[_0x55588d>>>0x18]^_0x340c51[_0x26fdbd>>>0x10&0xff]^_0x570b9b[_0x44d7c7>>>0x8&0xff]^_0x5d385a[_0x16f457&0xff]^_0x377f7b[_0x519e9b++],_0x49e038=_0x165541[_0x26fdbd>>>0x18]^_0x340c51[_0x44d7c7>>>0x10&0xff]^_0x570b9b[_0x16f457>>>0x8&0xff]^_0x5d385a[_0x55588d&0xff]^_0x377f7b[_0x519e9b++],_0x4e191b=_0x165541[_0x44d7c7>>>0x18]^_0x340c51[_0x16f457>>>0x10&0xff]^_0x570b9b[_0x55588d>>>0x8&0xff]^_0x5d385a[_0x26fdbd&0xff]^_0x377f7b[_0x519e9b++];_0x16f457=_0x44211e,_0x55588d=_0x386090,_0x26fdbd=_0x49e038,_0x44d7c7=_0x4e191b;}var _0x44211e=(_0x31350c[_0x16f457>>>0x18]<<0x18|_0x31350c[_0x55588d>>>0x10&0xff]<<0x10|_0x31350c[_0x26fdbd>>>0x8&0xff]<<0x8|_0x31350c[_0x44d7c7&0xff])^_0x377f7b[_0x519e9b++],_0x386090=(_0x31350c[_0x55588d>>>0x18]<<0x18|_0x31350c[_0x26fdbd>>>0x10&0xff]<<0x10|_0x31350c[_0x44d7c7>>>0x8&0xff]<<0x8|_0x31350c[_0x16f457&0xff])^_0x377f7b[_0x519e9b++],_0x49e038=(_0x31350c[_0x26fdbd>>>0x18]<<0x18|_0x31350c[_0x44d7c7>>>0x10&0xff]<<0x10|_0x31350c[_0x16f457>>>0x8&0xff]<<0x8|_0x31350c[_0x55588d&0xff])^_0x377f7b[_0x519e9b++],_0x4e191b=(_0x31350c[_0x44d7c7>>>0x18]<<0x18|_0x31350c[_0x16f457>>>0x10&0xff]<<0x10|_0x31350c[_0x55588d>>>0x8&0xff]<<0x8|_0x31350c[_0x26fdbd&0xff])^_0x377f7b[_0x519e9b++];_0x533ef0[_0x484858]=_0x44211e,_0x533ef0[_0x484858+0x1]=_0x386090,_0x533ef0[_0x484858+0x2]=_0x49e038,_0x533ef0[_0x484858+0x3]=_0x4e191b;},'keySize':0x100/0x20});_0x4fc87f['AES']=_0x16ce65[_0x51dab9(0x43d)](_0x55a8d5);}()),_0x4a167f['AES'];}));}(Ve)),Ve[_0x330aa8(0x1df)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x24947f(0x1df)],ai;function zr(){return ai||(ai=0x1,function(_0x36a7dd,_0x4add2b){(function(_0x4209fc,_0x3d94f9){var _0x18e7a1=_0x2266;_0x36a7dd[_0x18e7a1(0x1df)]=_0x3d94f9(ne());}(qr,function(_0x33774b){var _0x36cdbd=_0x2266;return _0x33774b[_0x36cdbd(0x16b)]['Utf8'];}));}(Xe)),Xe['exports'];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x58673c,_0x13c31c){(function(_0x345715,_0x30dc2c){var _0x1fad22=_0x2266;_0x58673c[_0x1fad22(0x1df)]=_0x30dc2c(ne());}(Zr,function(_0x432132){var _0x1ae2d1=_0x2266;return(function(){var _0x11d0b4=_0x2266;if(typeof ArrayBuffer==_0x11d0b4(0x2fe)){var _0x3304c9=_0x432132,_0x110134=_0x3304c9[_0x11d0b4(0x236)],_0x554a71=_0x110134[_0x11d0b4(0x177)],_0x12784d=_0x554a71[_0x11d0b4(0x337)],_0x3a379f=_0x554a71['init']=function(_0xb73685){var _0x4fd11c=_0x11d0b4;if(_0xb73685 instanceof ArrayBuffer&&(_0xb73685=new Uint8Array(_0xb73685)),(_0xb73685 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xb73685 instanceof Uint8ClampedArray||_0xb73685 instanceof Int16Array||_0xb73685 instanceof Uint16Array||_0xb73685 instanceof Int32Array||_0xb73685 instanceof Uint32Array||_0xb73685 instanceof Float32Array||_0xb73685 instanceof Float64Array)&&(_0xb73685=new Uint8Array(_0xb73685[_0x4fd11c(0x357)],_0xb73685[_0x4fd11c(0x239)],_0xb73685[_0x4fd11c(0x37f)])),_0xb73685 instanceof Uint8Array){for(var _0x2f32bb=_0xb73685[_0x4fd11c(0x37f)],_0x3cdb33=[],_0x157c9e=0x0;_0x157c9e<_0x2f32bb;_0x157c9e++)_0x3cdb33[_0x157c9e>>>0x2]|=_0xb73685[_0x157c9e]<<0x18-_0x157c9e%0x4*0x8;_0x12784d[_0x4fd11c(0x2ce)](this,_0x3cdb33,_0x2f32bb);}else _0x12784d[_0x4fd11c(0x443)](this,arguments);};_0x3a379f['prototype']=_0x554a71;}}()),_0x432132['lib'][_0x1ae2d1(0x177)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x24947f(0x1df)],hi;function ns(){var _0x535fae=_0x24947f;return hi||(hi=0x1,function(_0x45e3ac,_0xb05872){(function(_0x281a60,_0x17d08c,_0x2e6684){var _0x935b6f=_0x2266;_0x45e3ac[_0x935b6f(0x1df)]=_0x17d08c(ne(),Ai());}(is,function(_0x596a7d){var _0x21fd18=_0x2266;return _0x596a7d['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x596a7d[_0x21fd18(0x2de)][_0x21fd18(0x319)];}));}(Qe)),Qe[_0x535fae(0x1df)];}var rs=ns();const ss=ke(rs);function os(_0x3460db,_0x54dbc8){var _0xfe2b95=_0x24947f;const _0x366d47=_0x54dbc8-_0x3460db['length']%_0x54dbc8,_0x2a27c5=String[_0xfe2b95(0x259)](_0x366d47)['repeat'](_0x366d47);return _0x3460db+_0x2a27c5;}function as(_0x448ac5,_0x1a3378){var _0x42762b=_0x24947f;const _0x1db4cd=ts['random'](0x10),_0x2d6052=os(_0x448ac5,0x10),_0x2aa94c=Kr[_0x42762b(0x1bf)](Xr[_0x42762b(0x274)](_0x2d6052),oi[_0x42762b(0x274)](_0x1a3378),{'iv':_0x1db4cd,'padding':ss});return _0x1db4cd[_0x42762b(0x36e)](_0x2aa94c[_0x42762b(0x26e)])[_0x42762b(0x27f)](oi);}function cs(){var _0x12524a=_0x24947f;const _0x1cad18=_0x54ad49()['__Key__'];if(_0x1cad18){const _0x17c68a={'time':Math[_0x12524a(0x1e7)](Date[_0x12524a(0x2b0)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x12524a(0x1d0)](_0x17c68a),_0x1cad18);}}var hs=Object[_0x24947f(0x2ee)],_s=Object[_0x24947f(0x2d4)],ls=(_0x10f204,_0x113da2,_0x53726d,_0xcdde9c)=>{var _0x11db81=_0x24947f;for(var _0x521b95=_0xcdde9c>0x1?void 0x0:_0xcdde9c?_s(_0x113da2,_0x53726d):_0x113da2,_0x4aca36=_0x10f204[_0x11db81(0x334)]-0x1,_0x15f525;_0x4aca36>=0x0;_0x4aca36--)(_0x15f525=_0x10f204[_0x4aca36])&&(_0x521b95=(_0xcdde9c?_0x15f525(_0x113da2,_0x53726d,_0x521b95):_0x15f525(_0x521b95))||_0x521b95);return _0xcdde9c&&_0x521b95&&hs(_0x113da2,_0x53726d,_0x521b95),_0x521b95;},us=(_0x572dc8,_0x300c68)=>(_0x5749ac,_0x3fcd9b)=>_0x300c68(_0x5749ac,_0x3fcd9b,_0x572dc8);let ot=class{constructor(_0x360920){var _0x39793c=_0x24947f;this[_0x39793c(0x311)]=_0x360920,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x56c54f=_0x24947f;this[_0x56c54f(0x311)][_0x56c54f(0x231)]({'interceptor':(_0x1245a7,_0x53c35e)=>{var _0x50ad2e=_0x56c54f;const _0xb26b62=_0x1245a7[_0x50ad2e(0x29f)],_0x41ab76=cs();return _0x41ab76&&_0xb26b62['set']('x-univer-host',_0x41ab76),_0x53c35e(_0x1245a7);}});}};ot=ls([us(0x0,_0x2c893e(_0x2ccc1a))],ot);var ds=Object[_0x24947f(0x2ee)],fs=Object[_0x24947f(0x2d4)],vs=(_0x325fee,_0x2135e3,_0x1aa872,_0x36c565)=>{var _0x4e300a=_0x24947f;for(var _0x3130e8=_0x36c565>0x1?void 0x0:_0x36c565?fs(_0x2135e3,_0x1aa872):_0x2135e3,_0x1f50d5=_0x325fee[_0x4e300a(0x334)]-0x1,_0x2c7379;_0x1f50d5>=0x0;_0x1f50d5--)(_0x2c7379=_0x325fee[_0x1f50d5])&&(_0x3130e8=(_0x36c565?_0x2c7379(_0x2135e3,_0x1aa872,_0x3130e8):_0x2c7379(_0x3130e8))||_0x3130e8);return _0x36c565&&_0x3130e8&&ds(_0x2135e3,_0x1aa872,_0x3130e8),_0x3130e8;},mt=(_0x1b353d,_0x3e76f5)=>(_0x53d927,_0x2bd3c5)=>_0x3e76f5(_0x53d927,_0x2bd3c5,_0x1b353d);let Ot=class extends _0xd51a1a{constructor(_0x26e99b,_0x3e2286,_0x3618d4){var _0x164c02=_0x24947f;super(),N(this,_0x164c02(0x2dd),new _0x4e33c6(null)),N(this,'unitInfo$',this[_0x164c02(0x2dd)]['asObservable']()),(this[_0x164c02(0x1d7)]=_0x26e99b,this[_0x164c02(0x2ed)]=_0x3e2286,this['_localCacheService']=_0x3618d4);}async['loadUnit'](_0x27d25e,_0x1ca435,_0x5a8010){var _0xc5a33=_0x24947f;this[_0xc5a33(0x2dd)]['next']({'unitId':_0x27d25e,'type':_0x1ca435,'subUnitId':_0x5a8010});let _0x233ec7=null;switch(_0x1ca435){case Q[_0xc5a33(0x308)]:{_0x233ec7=await this[_0xc5a33(0x416)](_0x27d25e);break;}case Q['UNIVER_DOC']:{_0x233ec7=await this[_0xc5a33(0x398)](_0x27d25e);break;}default:{this[_0xc5a33(0x1d7)][_0xc5a33(0x197)](_0xc5a33(0x2a9),_0xc5a33(0x1b1));break;}}return _0x233ec7;}async[_0x24947f(0x416)](_0x59acf0){var _0x243fc9=_0x24947f,_0x1f4beb;let _0x362a33=0x0;const _0x48bc8a=await((_0x1f4beb=this[_0x243fc9(0x25b)])==null?void 0x0:_0x1f4beb[_0x243fc9(0x238)](_0x59acf0));return _0x48bc8a&&(_0x48bc8a['awaitingChangeset']||_0x48bc8a[_0x243fc9(0x440)][_0x243fc9(0x334)]!==0x0)&&(_0x362a33=_0x48bc8a[_0x243fc9(0x248)]),_0x362a33===0x0&&this[_0x243fc9(0x1d7)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x243fc9(0x2ed)]['loadSheet'](_0x59acf0,_0x362a33);}async[_0x24947f(0x398)](_0x452115){var _0x1077ac=_0x24947f,_0x2b7c99;let _0x5485f5=0x0;const _0x178edd=await((_0x2b7c99=this[_0x1077ac(0x25b)])==null?void 0x0:_0x2b7c99[_0x1077ac(0x238)](_0x452115));return _0x178edd&&(_0x178edd[_0x1077ac(0x2f5)]||_0x178edd[_0x1077ac(0x440)][_0x1077ac(0x334)]!==0x0)&&(_0x5485f5=_0x178edd[_0x1077ac(0x248)]),_0x5485f5===0x0&&this[_0x1077ac(0x1d7)][_0x1077ac(0x31e)](_0x1077ac(0x2a9),_0x1077ac(0x42d)),this['_snapshotService']['loadDoc'](_0x452115,_0x5485f5);}};Ot=vs([mt(0x0,_0xb67ae9),mt(0x1,_0x2c893e(_0x35ae70)),mt(0x2,_0x433af4(J))],Ot);var ps=Object[_0x24947f(0x2ee)],ms=Object[_0x24947f(0x2d4)],gs=(_0x86c93e,_0x4707b0,_0x459242,_0x53beb4)=>{var _0x1f1760=_0x24947f;for(var _0x2579af=_0x53beb4>0x1?void 0x0:_0x53beb4?ms(_0x4707b0,_0x459242):_0x4707b0,_0x1bc196=_0x86c93e[_0x1f1760(0x334)]-0x1,_0x2429b4;_0x1bc196>=0x0;_0x1bc196--)(_0x2429b4=_0x86c93e[_0x1bc196])&&(_0x2579af=(_0x53beb4?_0x2429b4(_0x4707b0,_0x459242,_0x2579af):_0x2429b4(_0x2579af))||_0x2579af);return _0x53beb4&&_0x2579af&&ps(_0x4707b0,_0x459242,_0x2579af),_0x2579af;},gt=(_0x477da8,_0x2824de)=>(_0x5c361f,_0x4157ae)=>_0x2824de(_0x5c361f,_0x4157ae,_0x477da8);const Ss=[_0x24947f(0x275),_0x24947f(0x194),_0x24947f(0x288),'image/gif',_0x24947f(0x3e7)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x24947f(0x2d2),Cs=_0x24947f(0x2d8),bs=_0x24947f(0x3b2);let yt=class{constructor(_0x58f6f4,_0x407ee2,_0x4bfd71){var _0x16379d=_0x24947f;N(this,_0x16379d(0x2f4),0x0),N(this,_0x16379d(0x25d),new _0xf92f12()),N(this,_0x16379d(0x163),this['_change$']),N(this,_0x16379d(0x36b),new Map()),(this[_0x16379d(0x311)]=_0x58f6f4,this[_0x16379d(0x1aa)]=_0x407ee2,this['_univerInstanceService']=_0x4bfd71);}[_0x24947f(0x3e2)](_0x19688c){var _0x19a997=_0x24947f;this[_0x19a997(0x2f4)]=_0x19688c,this[_0x19a997(0x25d)][_0x19a997(0x27e)](_0x19688c);}[_0x24947f(0x1e0)](_0x5da714,_0x5e8793){var _0x2ef3bb=_0x24947f;if(_0x5e8793===_0x3456fa[_0x2ef3bb(0x406)]){const _0x4ce534=new Image();return _0x4ce534[_0x2ef3bb(0x16c)]=_0x5da714,_0x4ce534;}return this[_0x2ef3bb(0x36b)][_0x2ef3bb(0x2f7)](_0x5da714);}[_0x24947f(0x360)](_0x4eeff3,_0x4f105b,_0x4bc2bd){var _0x245d80=_0x24947f;_0x4f105b===_0x3456fa[_0x245d80(0x406)]||_0x4bc2bd==null||this[_0x245d80(0x36b)][_0x245d80(0x423)](_0x4eeff3,_0x4bc2bd);}async[_0x24947f(0x331)](_0x2d035c){var _0x4c8980=_0x24947f;try{const _0x1e415f=this[_0x4c8980(0x208)](this[_0x4c8980(0x315)](),''+_0x2d035c),_0x3e1713=(await this[_0x4c8980(0x311)]['get'](_0x1e415f))['body'];if(_0x3e1713[_0x4c8980(0x197)]&&_0x3e1713[_0x4c8980(0x197)][_0x4c8980(0x23a)]===Ii['OK']){const _0x85ce73=new URL(_0x3e1713[_0x4c8980(0x165)],this[_0x4c8980(0x347)]())['toString']();return Promise['resolve'](_0x85ce73);}return Promise[_0x4c8980(0x159)](_0x3e1713['error']);}catch(_0x125326){return Promise[_0x4c8980(0x159)](_0x125326);}}async[_0x24947f(0x43f)](_0x389047){var _0x2d129d=_0x24947f;let _0x5eec6b='';if(!Ss[_0x2d129d(0x3b8)](_0x389047[_0x2d129d(0x1ec)]))return this[_0x2d129d(0x156)](),Promise[_0x2d129d(0x159)](new Error(_0x6d133d['ERROR_IMAGE_TYPE']));if(_0x389047[_0x2d129d(0x323)]>Es)return this[_0x2d129d(0x156)](),Promise['reject'](new Error(_0x6d133d[_0x2d129d(0x1e2)]));try{const _0x371937=new FormData();_0x371937['append'](_0x2d129d(0x2b5),_0x389047);const _0x1a2c59=this[_0x2d129d(0x3b3)][_0x2d129d(0x34f)](),_0x58ef2c=_0x1a2c59==null?void 0x0:_0x1a2c59[_0x2d129d(0x2cf)]();if(!_0x58ef2c)throw new Error(_0x2d129d(0x272));const _0x29e078=this[_0x2d129d(0x2e6)]()+_0x2d129d(0x1e3)+_0x389047[_0x2d129d(0x323)][_0x2d129d(0x27f)]()+'&source='+Ti['UnitEmbedded']+_0x2d129d(0x418)+encodeURIComponent(_0x58ef2c),_0x1a282c=await(await fetch(_0x29e078,{'method':_0x2d129d(0x3ab),'body':_0x371937}))[_0x2d129d(0x41a)]();if(typeof _0x1a282c[_0x2d129d(0x21d)]!=_0x2d129d(0x327))return this[_0x2d129d(0x156)](),Promise[_0x2d129d(0x159)](new Error(_0x6d133d['ERROR_IMAGE']));_0x5eec6b=_0x1a282c[_0x2d129d(0x21d)];}catch{return this[_0x2d129d(0x156)](),Promise['reject'](new Error(_0x6d133d['ERROR_IMAGE']));}return new Promise((_0xcabde8,_0x59b2ed)=>{var _0x43716e=_0x2d129d;const _0x171bbe=new FileReader();_0x171bbe[_0x43716e(0x294)](_0x389047),_0x171bbe['onload']=_0x3a490d=>{var _0x1b5aea=_0x43716e,_0x54fe7a;const _0x2a2f86=(_0x54fe7a=_0x3a490d[_0x1b5aea(0x39a)])==null?void 0x0:_0x54fe7a[_0x1b5aea(0x207)];if(_0x2a2f86==null){this['_decreaseWaiting'](),_0x59b2ed(new Error(_0x6d133d[_0x1b5aea(0x24c)]));return;}const _0x1f39e1=_0x5aefb7[_0x1b5aea(0x34e)](0x6);_0xcabde8({'imageId':_0x1f39e1,'imageSourceType':_0x3456fa[_0x1b5aea(0x326)],'source':_0x5eec6b,'base64Cache':_0x2a2f86,'status':_0x6d133d['SUCCUSS']}),this[_0x1b5aea(0x156)]();};});}[_0x24947f(0x2e6)](){var _0x1e231e=_0x24947f,_0x464fd9,_0x54041c;const _0x177ce0=this['_configService'][_0x1e231e(0x3b4)](Is),_0x2a8ce7=this[_0x1e231e(0x1aa)]['getConfig'](q);return(_0x54041c=(_0x464fd9=_0x2a8ce7==null?void 0x0:_0x2a8ce7[_0x1e231e(0x287)])!=null?_0x464fd9:_0x177ce0)!=null?_0x54041c:Ts;}[_0x24947f(0x315)](){var _0x418cae=_0x24947f,_0xbcebfe,_0x292a8f;const _0x1b5dd7=this[_0x418cae(0x1aa)]['getConfig'](Cs),_0x2fec1c=this['_configService']['getConfig'](q);return(_0x292a8f=(_0xbcebfe=_0x2fec1c==null?void 0x0:_0x2fec1c[_0x418cae(0x2fd)])!=null?_0xbcebfe:_0x1b5dd7)!=null?_0x292a8f:bs;}[_0x24947f(0x347)](){var _0xa00690=_0x24947f,_0x23d713;const _0x231450=this[_0xa00690(0x1aa)][_0xa00690(0x3b4)](q);return(_0x23d713=_0x231450==null?void 0x0:_0x231450[_0xa00690(0x33d)])!=null?_0x23d713:location['origin'];}[_0x24947f(0x208)](_0x17f24d,_0x3561c2){var _0x52d6b5=_0x24947f;return _0x17f24d[_0x52d6b5(0x41c)]('{fileID}',_0x3561c2);}[_0x24947f(0x156)](){var _0x3c7e0b=_0x24947f;this['_waitCount']-=0x1,this[_0x3c7e0b(0x25d)]['next'](this[_0x3c7e0b(0x2f4)]);}};yt=gs([gt(0x0,_0x2c893e(_0x2ccc1a)),gt(0x1,_0x14e586),gt(0x2,_0x2c893e(_0x1443af))],yt);var Rs=Object[_0x24947f(0x2ee)],Os=Object[_0x24947f(0x2d4)],ys=(_0x1701a6,_0x3654bf,_0x2a3626,_0x421af4)=>{for(var _0x4f6445=_0x421af4>0x1?void 0x0:_0x421af4?Os(_0x3654bf,_0x2a3626):_0x3654bf,_0x2de05e=_0x1701a6['length']-0x1,_0x2408bb;_0x2de05e>=0x0;_0x2de05e--)(_0x2408bb=_0x1701a6[_0x2de05e])&&(_0x4f6445=(_0x421af4?_0x2408bb(_0x3654bf,_0x2a3626,_0x4f6445):_0x2408bb(_0x4f6445))||_0x4f6445);return _0x421af4&&_0x4f6445&&Rs(_0x3654bf,_0x2a3626,_0x4f6445),_0x4f6445;},_i=(_0x2c4ce5,_0x3b6d3d)=>(_0x16a31,_0x4a07b0)=>_0x3b6d3d(_0x16a31,_0x4a07b0,_0x2c4ce5);const Ns='/universer-api/authz';let Nt=class{constructor(_0x12e0bc,_0x34771e){var _0x546466=_0x24947f;this['_configService']=_0x12e0bc,this[_0x546466(0x369)]=_0x34771e;}['_getAPIPrefixPath'](){var _0x3098f3=_0x24947f,_0x34fec6,_0x407488;const _0x30774a=this[_0x3098f3(0x1aa)][_0x3098f3(0x3b4)](Pi),_0x47aa2d=this[_0x3098f3(0x1aa)][_0x3098f3(0x3b4)](q);return(_0x407488=(_0x34fec6=_0x47aa2d==null?void 0x0:_0x47aa2d['authzUrl'])!=null?_0x34fec6:_0x30774a)!=null?_0x407488:Ns;}async['list'](_0x4a4a8e){var _0xff04c9=_0x24947f;const _0xf96e5=this[_0xff04c9(0x2e4)]()+'/collaborator';return{'list':[{'title':_0xff04c9(0x38a),'mentions':(await this[_0xff04c9(0x369)][_0xff04c9(0x2f7)](_0xf96e5,{'params':{'objectID':_0x4a4a8e[_0xff04c9(0x2fb)],'unitID':_0x4a4a8e[_0xff04c9(0x2fb)]}}))[_0xff04c9(0x445)]['collaborators'][_0xff04c9(0x181)](_0x9bd98f=>({'objectId':_0x9bd98f['id'],'name':_0x9bd98f[_0xff04c9(0x21e)][_0xff04c9(0x3c6)],'metadata':{'icon':_0x9bd98f[_0xff04c9(0x21e)]['avatar']},'label':_0x9bd98f[_0xff04c9(0x21e)][_0xff04c9(0x3c6)],'objectType':_0x5dc93c[_0xff04c9(0x349)]})),'metadata':{},'type':_0x5dc93c[_0xff04c9(0x349)]}]};}};Nt=ys([_i(0x0,_0x2c893e(_0x14e586)),_i(0x1,_0x2c893e(_0x2ccc1a))],Nt);var Ds=Object[_0x24947f(0x2ee)],Ps=Object[_0x24947f(0x2d4)],ws=(_0x165d1c,_0x5cf0c1,_0x205f31,_0x481c05)=>{var _0x55e076=_0x24947f;for(var _0x481ff9=_0x481c05>0x1?void 0x0:_0x481c05?Ps(_0x5cf0c1,_0x205f31):_0x5cf0c1,_0x1711df=_0x165d1c[_0x55e076(0x334)]-0x1,_0x481dba;_0x1711df>=0x0;_0x1711df--)(_0x481dba=_0x165d1c[_0x1711df])&&(_0x481ff9=(_0x481c05?_0x481dba(_0x5cf0c1,_0x205f31,_0x481ff9):_0x481dba(_0x481ff9))||_0x481ff9);return _0x481c05&&_0x481ff9&&Ds(_0x5cf0c1,_0x205f31,_0x481ff9),_0x481ff9;},Se=(_0x14568c,_0x16972e)=>(_0xc186f9,_0x50445d)=>_0x16972e(_0xc186f9,_0x50445d,_0x14568c);let at=class extends _0xd51a1a{constructor(_0x1b6a76,_0x55fdad,_0x253063,_0x5f2d68,_0x414433,_0x27b01a,_0x1028e6){var _0x193318=_0x24947f;super(),this[_0x193318(0x2ac)]=_0x1b6a76,this[_0x193318(0x3b3)]=_0x55fdad,this[_0x193318(0x425)]=_0x253063,this['_collaborationSessionService']=_0x5f2d68,this['_collaborationUIEventService']=_0x414433,this[_0x193318(0x420)]=_0x27b01a,this[_0x193318(0x404)]=_0x1028e6,this[_0x193318(0x3d0)](),this['_initCloseConn']();}[_0x24947f(0x169)](){var _0x29af74=_0x24947f;const _0x4cabb3=async _0x4a32d5=>{var _0x21bf16=_0x2266;(await this[_0x21bf16(0x34c)][_0x21bf16(0x23c)](_0x4a32d5))[_0x21bf16(0x340)][_0x21bf16(0x342)](_0x435be6(_0x1bbac3=>_0x1bbac3[_0x21bf16(0x298)]===_0x5b603b[_0x21bf16(0x1c7)]),_0x18dbba(this['dispose$']))[_0x21bf16(0x30e)](_0x5c311b=>{var _0x54c7c4=_0x21bf16;const _0x5771d4=_0x5c311b,{reason:_0x1305d5}=_0x5771d4[_0x54c7c4(0x3a4)];this[_0x54c7c4(0x193)]['emitEvent']({'id':se[_0x54c7c4(0x33c)],'data':_0x1305d5}),this[_0x54c7c4(0x425)][_0x54c7c4(0x2a4)](new _0x5ec447(_0x4a32d5)['id'],!0x1),this['_collaborationSessionService'][_0x54c7c4(0x1d5)](_0x4a32d5);});};_0x14b0b2(this[_0x29af74(0x3b3)]['getTypeOfUnitAdded$'](_0x5289d3[_0x29af74(0x308)]),this[_0x29af74(0x3b3)]['getTypeOfUnitAdded$'](_0x5289d3[_0x29af74(0x313)]))['pipe'](_0x5e6a8b(_0xbb2a3a=>_0xbb2a3a[_0x29af74(0x2cf)]()),_0x435be6(_0x3202be=>!_0x27d82c(_0x3202be)),_0x18dbba(this[_0x29af74(0x30b)]))[_0x29af74(0x30e)](_0x132cd6=>{_0x4cabb3(_0x132cd6);});}[_0x24947f(0x3d0)](){var _0x6ad8d1=_0x24947f;const _0x56d995=async _0x296ea1=>{var _0x3fd870=_0x2266;const _0x2743c7=await this[_0x3fd870(0x34c)][_0x3fd870(0x23c)](_0x296ea1),_0x7d6ee5=this[_0x3fd870(0x2ac)][_0x3fd870(0x2f7)](_0x397b93);_0x2743c7['event$'][_0x3fd870(0x342)](_0x435be6(_0xff1fe6=>_0xff1fe6[_0x3fd870(0x298)]===_0x5b603b['UPDATE_PERMISSION_OBJ']),_0x18dbba(this[_0x3fd870(0x30b)]))[_0x3fd870(0x30e)](_0x15322c=>{var _0x2ea1c0=_0x3fd870;const _0xb6918e=_0x15322c,{objectId:_0x2ae7c8}=_0xb6918e[_0x2ea1c0(0x3a4)];_0x2ae7c8===_0x296ea1?_0x7d6ee5[_0x2ea1c0(0x303)](_0x296ea1):_0x7d6ee5[_0x2ea1c0(0x2e7)](_0x296ea1,_0x2ae7c8);});};_0x14b0b2(this[_0x6ad8d1(0x3b3)][_0x6ad8d1(0x245)](_0x5289d3[_0x6ad8d1(0x308)]),this[_0x6ad8d1(0x3b3)]['getTypeOfUnitAdded$'](_0x5289d3['UNIVER_DOC']))[_0x6ad8d1(0x342)](_0x5e6a8b(_0x3de9c9=>_0x3de9c9[_0x6ad8d1(0x2cf)]()),_0x435be6(_0x5d4526=>!_0x27d82c(_0x5d4526)),_0x18dbba(this['dispose$']))[_0x6ad8d1(0x30e)](_0x581319=>{_0x56d995(_0x581319);});}};at=ws([Se(0x0,_0x2c893e(_0x47c619)),Se(0x1,_0x1443af),Se(0x2,_0x2ee679),Se(0x3,_0x2c893e(Le)),Se(0x4,_0x2c893e(pe)),Se(0x5,_0x353692),Se(0x6,_0x6cc440)],at);var Us=Object[_0x24947f(0x2ee)],As=Object[_0x24947f(0x2d4)],xs=(_0x312f89,_0x1791ae,_0x1ccd7b,_0x18d013)=>{var _0x3024bb=_0x24947f;for(var _0x901796=_0x18d013>0x1?void 0x0:_0x18d013?As(_0x1791ae,_0x1ccd7b):_0x1791ae,_0x12e362=_0x312f89[_0x3024bb(0x334)]-0x1,_0x5d6b52;_0x12e362>=0x0;_0x12e362--)(_0x5d6b52=_0x312f89[_0x12e362])&&(_0x901796=(_0x18d013?_0x5d6b52(_0x1791ae,_0x1ccd7b,_0x901796):_0x5d6b52(_0x901796))||_0x901796);return _0x18d013&&_0x901796&&Us(_0x1791ae,_0x1ccd7b,_0x901796),_0x901796;},li=(_0xa60b38,_0x5a3b3b)=>(_0x5c63a3,_0x3f2221)=>_0x5a3b3b(_0x5c63a3,_0x3f2221,_0xa60b38);let Dt=class{constructor(_0x184d94,_0x57ecbc){var _0x3243df=_0x24947f;this[_0x3243df(0x1aa)]=_0x184d94,this[_0x3243df(0x311)]=_0x57ecbc;}async[_0x24947f(0x172)](_0x21f4fd,_0x55905b){var _0x2e89d6=_0x24947f,_0x15e07c;const {unitID:_0x458573,type:_0x8f48c4,revision:_0x2a08cf=0x0}=_0x55905b,_0x1e03be=this[_0x2e89d6(0x1ae)]()+'/'+_0x8f48c4+'/unit/'+_0x458573+'/rev/'+_0x2a08cf,_0x1e110c=(await this[_0x2e89d6(0x311)][_0x2e89d6(0x2f7)](_0x1e03be))[_0x2e89d6(0x445)],_0x41433c=(_0x15e07c=_0x1e110c[_0x2e89d6(0x264)])==null?void 0x0:_0x15e07c[_0x2e89d6(0x3a8)];if(_0x41433c){const _0x42a756=_0x41433c==null?void 0x0:_0x41433c[_0x2e89d6(0x166)],_0x45b2ba=_0x663c9c[_0x2e89d6(0x289)](_0x2264c9(_0x42a756));_0x41433c[_0x2e89d6(0x166)]=_0x45b2ba,Object[_0x2e89d6(0x2c9)](_0x41433c[_0x2e89d6(0x1a1)])['forEach'](([,_0x309bed])=>{var _0x143ac4=_0x2e89d6;const _0xadb346=_0x309bed[_0x143ac4(0x166)],_0x44f412=_0x663c9c[_0x143ac4(0x289)](_0x2264c9(_0xadb346));_0x309bed[_0x143ac4(0x166)]=_0x44f412;});}return _0x1e110c;}async[_0x24947f(0x3ee)](_0x34cc52,_0x5e3109){var _0x4bf46f=_0x24947f;const {unitID:_0x1f6719,type:_0x47fbf7,blockID:_0x13821e}=_0x5e3109,_0x26dfd3=this['_getAPIPrefix']()+'/'+_0x47fbf7+_0x4bf46f(0x3e1)+_0x1f6719+_0x4bf46f(0x204)+_0x13821e;return(await this[_0x4bf46f(0x311)][_0x4bf46f(0x2f7)](_0x26dfd3))['body'];}async['getDeserializedSheetBlock'](_0x1dbb88,_0x38abee){var _0x576147=_0x24947f;const {unitID:_0x2b7f36,type:_0x2865b0,blockID:_0x287e67}=_0x38abee,_0x55f9ed=this[_0x576147(0x23b)]()+'/block/'+_0x2865b0+_0x576147(0x3e1)+_0x2b7f36+_0x576147(0x204)+_0x287e67;return(await this[_0x576147(0x311)][_0x576147(0x2f7)](_0x55f9ed))['body'];}async['fetchMissingChangesets'](_0x38d6db,_0x342bd3){var _0x20c84c=_0x24947f;const {unitID:_0x25d051,type:_0x55f678,from:_0x24f44c,to:_0x4bf083}=_0x342bd3,_0x4d525b=this[_0x20c84c(0x23b)]()+'/'+_0x55f678+'/unit/'+_0x25d051+'/fetchmissing?from='+_0x24f44c+_0x20c84c(0x18b)+_0x4bf083;return(await this['_httpService']['get'](_0x4d525b))[_0x20c84c(0x445)];}['getSnapshotAPIPath'](){var _0x40ce63;return(_0x40ce63=this['_configService']['getConfig'](Tn))!=null?_0x40ce63:this['_getAPIPrefix']();}[_0x24947f(0x23b)](){var _0x565642=_0x24947f,_0x524348,_0x4ba5ed;const _0x21d7f8=this[_0x565642(0x1aa)][_0x565642(0x3b4)](En),_0x56dad1=this[_0x565642(0x1aa)]['getConfig'](q);return(_0x4ba5ed=(_0x524348=_0x56dad1==null?void 0x0:_0x56dad1[_0x565642(0x35c)])!=null?_0x524348:_0x21d7f8)!=null?_0x4ba5ed:In;}async[_0x24947f(0x292)](_0x260d0a,_0x43f50e){var _0x1e5a15=_0x24947f;const _0x1cdfb4=_0x1e5a15(0x191)+_0x43f50e[_0x1e5a15(0x1ec)]+_0x1e5a15(0x3e1)+_0x43f50e[_0x1e5a15(0x3c4)]+_0x1e5a15(0x2a1);return(await this[_0x1e5a15(0x311)]['get'](_0x1cdfb4,{'params':{'resourceId':JSON[_0x1e5a15(0x1d0)](_0x43f50e[_0x1e5a15(0x261)])}}))[_0x1e5a15(0x445)];}[_0x24947f(0x3cc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x24947f(0x30f)](){var _0x4cddfc=_0x24947f;throw new Error(_0x4cddfc(0x3ec));}['copyFileMeta'](){var _0x34ae64=_0x24947f;throw new Error(_0x34ae64(0x3ec));}[_0x24947f(0x25f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x14e586),li(0x1,_0x2c893e(_0x2ccc1a))],Dt);var Ls=Object[_0x24947f(0x2ee)],Ms=Object[_0x24947f(0x2d4)],$s=(_0x10f2f3,_0x4d2896,_0x54d27d,_0x3a9f25)=>{var _0x413d39=_0x24947f;for(var _0x579531=_0x3a9f25>0x1?void 0x0:_0x3a9f25?Ms(_0x4d2896,_0x54d27d):_0x4d2896,_0x57d648=_0x10f2f3[_0x413d39(0x334)]-0x1,_0x258e45;_0x57d648>=0x0;_0x57d648--)(_0x258e45=_0x10f2f3[_0x57d648])&&(_0x579531=(_0x3a9f25?_0x258e45(_0x4d2896,_0x54d27d,_0x579531):_0x258e45(_0x579531))||_0x579531);return _0x3a9f25&&_0x579531&&Ls(_0x4d2896,_0x54d27d,_0x579531),_0x579531;},Ae=(_0x53fed2,_0x8d2582)=>(_0x32bbfa,_0x2dbf3e)=>_0x8d2582(_0x32bbfa,_0x2dbf3e,_0x53fed2);let Pt=class extends _0x3f3940{constructor(_0x57ac02,_0x222e36,_0x2f35bb,_0x16e4c6,_0x69ac86){var _0x32343c=_0x24947f;super(_0x57ac02,_0x222e36,_0x2f35bb),this[_0x32343c(0x3ac)]=_0x16e4c6,this[_0x32343c(0x1d7)]=_0x69ac86;}[_0x24947f(0x15b)](_0x13752d,_0x26fd26){var _0x1155f6=_0x24947f;const _0x2ac21d=this['_getUndoStack'](_0x13752d);if(_0x2ac21d)try{const _0x329edd=this['_transformStack'](_0x2ac21d,_0x26fd26);this[_0x1155f6(0x1fb)](_0x13752d,_0x329edd);}catch(_0x32864a){this[_0x1155f6(0x1d7)][_0x1155f6(0x197)](_0x1155f6(0x27a),_0x32864a),this[_0x1155f6(0x1f4)](_0x13752d);}const _0x549f8d=this[_0x1155f6(0x392)](_0x13752d);if(_0x549f8d)try{const _0x5976ad=this['_transformStack'](_0x549f8d,_0x26fd26);this['_substituteRedoStack'](_0x13752d,_0x5976ad);}catch(_0x2a3b0e){this[_0x1155f6(0x1d7)]['error'](_0x2a3b0e),this[_0x1155f6(0x1f6)](_0x13752d);}}['_clearUndo'](_0x274e47){var _0x34b40b=_0x24947f;const _0x311dc9=this[_0x34b40b(0x227)](_0x274e47);_0x311dc9&&(_0x311dc9[_0x34b40b(0x334)]=0x0,this[_0x34b40b(0x2eb)]());}[_0x24947f(0x1f6)](_0x325259){var _0x5b7257=_0x24947f;const _0x549604=this[_0x5b7257(0x392)](_0x325259);_0x549604&&(_0x549604[_0x5b7257(0x334)]=0x0,this['_updateStatus']());}[_0x24947f(0x1fb)](_0xa0bc81,_0xbeb39b){var _0x4c144f=_0x24947f;this[_0x4c144f(0x384)][_0x4c144f(0x423)](_0xa0bc81,_0xbeb39b),this[_0x4c144f(0x2eb)]();}[_0x24947f(0x1a6)](_0x24003a,_0x2bb2a0){var _0x19536b=_0x24947f;this['_redoStacks'][_0x19536b(0x423)](_0x24003a,_0x2bb2a0),this[_0x19536b(0x2eb)]();}['_transformStack'](_0x5e2ac4,_0x43ab57){var _0x2774db=_0x24947f;const _0x37c133=[];let _0x51c0a7=_0x43ab57,_0x55f394=_0x43ab57;for(let _0x1d74ca=_0x5e2ac4[_0x2774db(0x334)]-0x1;_0x1d74ca>=0x0;_0x1d74ca--){const {unitID:_0x18e494,undoMutations:_0xcf6df4,redoMutations:_0x42e1f9}=_0x5e2ac4[_0x1d74ca],_0x540f61=this[_0x2774db(0x3ac)][_0x2774db(0x40e)](_0x51c0a7,_0xcf6df4),_0x201e8a=this[_0x2774db(0x3ac)][_0x2774db(0x40e)](_0x55f394,_0x42e1f9);if(_0x732167(_0x540f61)||_0x732167(_0x201e8a)){this['_logService'][_0x2774db(0x197)](_0x2774db(0x27a),_0x2774db(0x300),_0x540f61,_0x201e8a);break;}_0x51c0a7=_0x540f61[_0x2774db(0x381)],_0x55f394=_0x201e8a[_0x2774db(0x381)],_0x37c133[_0x2774db(0x32c)]({'unitID':_0x18e494,'undoMutations':_0x540f61[_0x2774db(0x377)],'redoMutations':_0x201e8a[_0x2774db(0x377)]});}return _0x37c133['reverse']();}};Pt=$s([Ae(0x0,_0x1443af),Ae(0x1,_0xb31905),Ae(0x2,_0x41374f),Ae(0x3,_0x303fbe),Ae(0x4,_0xb67ae9)],Pt);var xi=Object[_0x24947f(0x2ee)],Hs=Object[_0x24947f(0x2d4)],ks=(_0xbda1ed,_0x3c7fa3,_0xb8004a)=>_0x3c7fa3 in _0xbda1ed?xi(_0xbda1ed,_0x3c7fa3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb8004a}):_0xbda1ed[_0x3c7fa3]=_0xb8004a,js=(_0x28cad5,_0x27d2ce,_0x16c4c7,_0x2e806c)=>{var _0x41b6f7=_0x24947f;for(var _0x56e8c5=_0x2e806c>0x1?void 0x0:_0x2e806c?Hs(_0x27d2ce,_0x16c4c7):_0x27d2ce,_0x34f2c4=_0x28cad5[_0x41b6f7(0x334)]-0x1,_0xe14473;_0x34f2c4>=0x0;_0x34f2c4--)(_0xe14473=_0x28cad5[_0x34f2c4])&&(_0x56e8c5=(_0x2e806c?_0xe14473(_0x27d2ce,_0x16c4c7,_0x56e8c5):_0xe14473(_0x56e8c5))||_0x56e8c5);return _0x2e806c&&_0x56e8c5&&xi(_0x27d2ce,_0x16c4c7,_0x56e8c5),_0x56e8c5;},St=(_0x7baf1,_0xcb46d1)=>(_0x5a0616,_0x1b5eb2)=>_0xcb46d1(_0x5a0616,_0x1b5eb2,_0x7baf1),Bs=(_0x4c13b5,_0x4f9e06,_0x7c186)=>ks(_0x4c13b5,_0x4f9e06+'',_0x7c186);const Fs=_0x24947f(0x1c8);let wt=class extends _0x52c535{constructor(_0x4f9e14=Wt,_0x2f30c3,_0x477c5d,_0x1c4eba){var _0x108532=_0x24947f;super(),this[_0x108532(0x3fe)]=_0x4f9e14,this[_0x108532(0x1d7)]=_0x2f30c3,this[_0x108532(0x2ac)]=_0x477c5d,this[_0x108532(0x1aa)]=_0x1c4eba;const {..._0x48e44e}=_0x267ba1({},Wt,this[_0x108532(0x3fe)]);this[_0x108532(0x1aa)][_0x108532(0x3a2)](q,_0x48e44e);}[_0x24947f(0x2c4)](){var _0x578633=_0x24947f;this[_0x578633(0x2a8)](),this[_0x578633(0x2bc)]();}['_registerDependencies'](){var _0x4d0658=_0x24947f,_0x440527,_0x147654,_0x1fd05b,_0x2fbe49;this[_0x4d0658(0x2ac)][_0x4d0658(0x28a)](_0x6cc440)&&this[_0x4d0658(0x1d7)][_0x4d0658(0x197)](_0x4d0658(0x1c1),_0x4d0658(0x41f));const _0x84de6f=_0xe2a3a9([[_0x6cc440,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[bi],[at],[pe],[Ot],[Ci,{'useClass':(_0x147654=(_0x440527=this[_0x4d0658(0x3fe)])==null?void 0x0:_0x440527['socketService'])!=null?_0x147654:Et}],[_0x2013f0,{'useClass':Dt}],[_0x353692,{'useClass':Rt}],[_0x599b72,{'useClass':yt}],[_0x5a36b0,{'useClass':Nt}],[rt],[bt]],(_0x1fd05b=this['_config'])==null?void 0x0:_0x1fd05b['override']);if(!((_0x2fbe49=this['_config'])!=null&&_0x2fbe49['enableSingleActiveInstanceLock'])){const _0x4869df=_0x84de6f['findIndex'](([_0x4ea837])=>_0x4ea837===ht);_0x4869df!==-0x1&&_0x84de6f['splice'](_0x4869df,0x1);}_0x365908(this['_injector'],_0x84de6f);}[_0x24947f(0x2bc)](){var _0x504090=_0x24947f,_0x21bff4,_0x3ff49d,_0x23ab8a;this[_0x504090(0x2ac)][_0x504090(0x2f7)](_0x2ccc1a)[_0x504090(0x231)]({'priority':0x14,'interceptor':_0x95300f({'maxParallel':0x6})}),(_0x21bff4=this[_0x504090(0x3fe)])!=null&&_0x21bff4['enableOfflineEditing']||(_0x3ff49d=this[_0x504090(0x2ac)][_0x504090(0x2f7)](J,_0x2d5d77[_0x504090(0x285)]))==null||_0x3ff49d[_0x504090(0x1cb)](),(_0x23ab8a=this[_0x504090(0x3fe)])!=null&&_0x23ab8a['enableAuthServer']&&_0x571d78(this[_0x504090(0x2ac)],[[st]]),_0x571d78(this[_0x504090(0x2ac)],[[ot],[rt],[at]]);}};Bs(wt,_0x24947f(0x279),Fs),wt=js([_0x1a63b7(_0x42c108,_0x3d3f1a,_0x227a87),St(0x1,_0xb67ae9),St(0x2,_0x2c893e(_0x47c619)),St(0x3,_0x14e586)],wt);export{Pi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,bn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,Rn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,Ri as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0xa33034=_0x214d;(function(_0x3eb81f,_0x3ecaa7){var _0x305e94=_0x214d,_0x114e35=_0x3eb81f();while(!![]){try{var _0x70585f=parseInt(_0x305e94(0x1e3))/0x1+parseInt(_0x305e94(0x3bf))/0x2*(-parseInt(_0x305e94(0x1c0))/0x3)+-parseInt(_0x305e94(0x2d5))/0x4*(-parseInt(_0x305e94(0x357))/0x5)+parseInt(_0x305e94(0x37b))/0x6+-parseInt(_0x305e94(0x270))/0x7*(-parseInt(_0x305e94(0x427))/0x8)+-parseInt(_0x305e94(0x44d))/0x9*(parseInt(_0x305e94(0x2ea))/0xa)+parseInt(_0x305e94(0x260))/0xb*(-parseInt(_0x305e94(0x183))/0xc);if(_0x70585f===_0x3ecaa7)break;else _0x114e35['push'](_0x114e35['shift']());}catch(_0x94a768){_0x114e35['push'](_0x114e35['shift']());}}}(_0x3cd8,0xc8d47));var __defProp=Object[_0xa33034(0x2e1)],__defNormalProp=(_0x51815c,_0xe7855c,_0x1cc5a1)=>_0xe7855c in _0x51815c?__defProp(_0x51815c,_0xe7855c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cc5a1}):_0x51815c[_0xe7855c]=_0x1cc5a1,__name=(_0x1163c4,_0x56799a)=>__defProp(_0x1163c4,'name',{'value':_0x56799a,'configurable':!0x0}),__publicField=(_0x27b3ad,_0x3cd7a8,_0x5746cc)=>__defNormalProp(_0x27b3ad,typeof _0x3cd7a8!='symbol'?_0x3cd7a8+'':_0x3cd7a8,_0x5746cc);import{createIdentifier,Inject,Injector,Disposable,DisposableCollection,toDisposable,IConfigService,ILogService,UserManagerService,UniverInstanceType,IUniverInstanceService,LocaleService,Optional,RxDisposable,Tools,Rectangle,ICommandService,JSONX,CommandType,IPermissionService,IUndoRedoService,sequenceExecute,Workbook,MentionType,IAuthzIoService,isInternalEditorID,LocalUndoRedoService,IContextService,DependentOn,Plugin,merge as _0x5bcb5c,mergeOverrideWithDependencies,IMentionIOService,registerDependencies,Quantity,touchDependencies}from'@univerjs/core';import{Subject,merge,of,BehaviorSubject,takeUntil,ReplaySubject,take as _0x1bd1bc,map as _0xf0a054,shareReplay,firstValueFrom,concatMap}from'rxjs';import{map,take,filter,delay,takeUntil as _0x22dda8}from'rxjs/operators';import{HTTPService,ISocketService,MergeInterceptorFactory,HTTPRequest,UniverNetworkPlugin,ThresholdInterceptorFactory}from'@univerjs/network';import{CollaborationEvent,parseChangesetToProtocol,ISnapshotServerService,isTransformMutationsWithChangesetSuccess,ITransformService,mapDocumentTypeToUniverType,RevisionService,isTransformChangesetsSuccess,CompressMutationService,parseProtocolChangeset,SnapshotService,textEncoder,b64DecodeUnicode,isTransformMutationsWithChangesetFailure,UniverCollaborationPlugin}from'@univerjs-pro/collaboration';import{ITelemetryService}from'@univerjs/telemetry';import{RichTextEditingMutation}from'@univerjs/docs';import{SheetsSelectionsService,SetSelectionsOperation,InsertSheetMutation,EmptyMutation,WorkbookEditablePermission,SheetPermissionInitController,UniverSheetsPlugin}from'@univerjs/sheets';import{ImageSourceType,ImageUploadStatusType,IImageIoService}from'@univerjs/drawing';import{getGlobalObject}from'@univerjs-pro/license';const SNAPSHOT_SERVER_URL_KEY='SNAPSHOT_SERVER_URL_KEY',DEFAULT_SNAPSHOT_SERVER_URL=_0xa33034(0x179),SNAPSHOT_URL_KEY=_0xa33034(0x3b7),SEND_CHANGESET_TIMEOUT_KEY='SEND_CHANGESET_TIMEOUT',DEFAULT_SEND_CHANGESET_TIMEOUT=0x7d0,COLLAB_WEB_SOCKET_URL_KEY=_0xa33034(0x1b2),DEFAULT_COLLAB_WEB_SOCKET_URL=_0xa33034(0x3c1),DEFAULT_WS_SESSION_TICKET_URL=_0xa33034(0x3d6),HEARTBEAT_INTERVAL_KEY=_0xa33034(0x399),DEFAULT_HEARTBEAT_INTERVAL=0x7530,HEARTBEAT_TIMEOUT_KEY=_0xa33034(0x269),DEFAULT_HEARTBEAT_TIMEOUT=0x4e20,DEFAULT_RETRY_CONNECTING_INTERVAL=0x4e20,RETRY_CONNECTING_MAX_COUNT_KEY=_0xa33034(0x1b4),DEFAULT_RETRY_CONNECTING_MAX_COUNT=0x3,LOCAL_CACHE_INTERVAL_KEY=_0xa33034(0x1bb),LOCAL_CACHE_INTERVAL=0x3e8,COLLAB_SUBMIT_CHANGESET_URL_KEY=_0xa33034(0x3d0),DEFAULT_COLLAB_SUBMIT_CHANGESET_URL='/universer-api/comb',LOGIN_URL_KEY='LOGIN_URL_KEY',DEFAULT_LOGIN_URL=_0xa33034(0x21c),REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT=_0xa33034(0x281);var ErrorCode=(_0x5df9f9=>(_0x5df9f9[_0x5df9f9[_0xa33034(0x2de)]=0x0]=_0xa33034(0x2de),_0x5df9f9[_0x5df9f9['OK']=0x1]='OK',_0x5df9f9[_0x5df9f9[_0xa33034(0x3e4)]=0x2]=_0xa33034(0x3e4),_0x5df9f9[_0x5df9f9[_0xa33034(0x1de)]=0x3]=_0xa33034(0x1de),_0x5df9f9[_0x5df9f9[_0xa33034(0x287)]=0x4]=_0xa33034(0x287),_0x5df9f9[_0x5df9f9['UNAUTHENTICATED']=0x5]=_0xa33034(0x1b7),_0x5df9f9[_0x5df9f9['ALREADY_EXISTS']=0x6]=_0xa33034(0x18a),_0x5df9f9[_0x5df9f9[_0xa33034(0x40c)]=0x7]=_0xa33034(0x40c),_0x5df9f9[_0x5df9f9[_0xa33034(0x191)]=0x8]=_0xa33034(0x191),_0x5df9f9[_0x5df9f9[_0xa33034(0x347)]=0x9]=_0xa33034(0x347),_0x5df9f9[_0x5df9f9[_0xa33034(0x237)]=0x1389]=_0xa33034(0x237),_0x5df9f9[_0x5df9f9[_0xa33034(0x190)]=0x1771]=_0xa33034(0x190),_0x5df9f9[_0x5df9f9[_0xa33034(0x12d)]=0x1772]=_0xa33034(0x12d),_0x5df9f9[_0x5df9f9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xa33034(0x485),_0x5df9f9[_0x5df9f9[_0xa33034(0x325)]=0x1b59]=_0xa33034(0x325),_0x5df9f9[_0x5df9f9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5df9f9[_0x5df9f9[_0xa33034(0x28b)]=0x1b5b]=_0xa33034(0x28b),_0x5df9f9[_0x5df9f9[_0xa33034(0x3f7)]=0x1b5c]=_0xa33034(0x3f7),_0x5df9f9[_0x5df9f9[_0xa33034(0x1e9)]=0x1b5d]=_0xa33034(0x1e9),_0x5df9f9[_0x5df9f9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5df9f9[_0x5df9f9[_0xa33034(0x421)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5df9f9[_0x5df9f9[_0xa33034(0x133)]=0x232a]=_0xa33034(0x133),_0x5df9f9[_0x5df9f9[_0xa33034(0x3e0)]=0x232b]=_0xa33034(0x3e0),_0x5df9f9[_0x5df9f9[_0xa33034(0x363)]=0x232c]=_0xa33034(0x363),_0x5df9f9[_0x5df9f9['LICENSE_DISTRO_REJECTED']=0x232d]=_0xa33034(0x132),_0x5df9f9[_0x5df9f9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5df9f9[_0x5df9f9[_0xa33034(0x46e)]=0x2712]=_0xa33034(0x46e),_0x5df9f9[_0x5df9f9[_0xa33034(0x3a2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5df9f9[_0x5df9f9[_0xa33034(0x14c)]=0x2714]=_0xa33034(0x14c),_0x5df9f9[_0x5df9f9[_0xa33034(0x346)]=0x2af9]=_0xa33034(0x346),_0x5df9f9[_0x5df9f9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5df9f9))(ErrorCode||{}),UniverType=(_0x4c94b9=>(_0x4c94b9[_0x4c94b9[_0xa33034(0x320)]=0x0]=_0xa33034(0x320),_0x4c94b9[_0x4c94b9[_0xa33034(0x36b)]=0x1]=_0xa33034(0x36b),_0x4c94b9[_0x4c94b9['UNIVER_SHEET']=0x2]=_0xa33034(0x1d0),_0x4c94b9[_0x4c94b9[_0xa33034(0x3db)]=0x3]=_0xa33034(0x3db),_0x4c94b9[_0x4c94b9['UNIVER_PROJECT']=0x4]=_0xa33034(0x33f),_0x4c94b9[_0x4c94b9[_0xa33034(0x47b)]=-0x1]=_0xa33034(0x47b),_0x4c94b9))(UniverType||{}),CombCmd=(_0x2fa947=>(_0x2fa947[_0x2fa947['UNKNOWN_CMD']=0x0]=_0xa33034(0x3cd),_0x2fa947[_0x2fa947[_0xa33034(0x486)]=0x1]='HELLO',_0x2fa947[_0x2fa947['JOIN']=0x2]=_0xa33034(0x38e),_0x2fa947[_0x2fa947[_0xa33034(0x29e)]=0x3]='LEAVE',_0x2fa947[_0x2fa947[_0xa33034(0x1ff)]=0x4]=_0xa33034(0x1ff),_0x2fa947[_0x2fa947['HEARTBEAT']=0x5]='HEARTBEAT',_0x2fa947[_0x2fa947[_0xa33034(0x189)]=0x6]='RECV',_0x2fa947[_0x2fa947[_0xa33034(0x47b)]=-0x1]=_0xa33034(0x47b),_0x2fa947))(CombCmd||{}),CmdRspCode=(_0x26dffd=>(_0x26dffd[_0x26dffd[_0xa33034(0x15c)]=0x0]=_0xa33034(0x15c),_0x26dffd[_0x26dffd['OK']=0x1]='OK',_0x26dffd[_0x26dffd['FAIL']=0x2]='FAIL',_0x26dffd[_0x26dffd['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x26dffd[_0x26dffd['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x26dffd[_0x26dffd[_0xa33034(0x390)]=0x3eb]=_0xa33034(0x390),_0x26dffd[_0x26dffd['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xa33034(0x45c),_0x26dffd[_0x26dffd['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x26dffd))(CmdRspCode||{}),FileSource=(_0x25add0=>(_0x25add0[_0x25add0[_0xa33034(0x1ba)]=0x0]='Undefined',_0x25add0[_0x25add0[_0xa33034(0x2d7)]=0x1]=_0xa33034(0x2d7),_0x25add0[_0x25add0[_0xa33034(0x267)]=0x2]=_0xa33034(0x267),_0x25add0[_0x25add0[_0xa33034(0x383)]=0x3]='UnitEmbedded',_0x25add0[_0x25add0[_0xa33034(0x1be)]=0x4]=_0xa33034(0x1be),_0x25add0[_0x25add0[_0xa33034(0x47b)]=-0x1]=_0xa33034(0x47b),_0x25add0))(FileSource||{});const COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY=_0xa33034(0x1c7),defaultPluginConfig={};var CollaborationUIEventId=(_0x821e72=>(_0x821e72[_0xa33034(0x25a)]='OTHER_CLIENT_EDITING',_0x821e72[_0xa33034(0x1de)]=_0xa33034(0x1de),_0x821e72[_0xa33034(0x250)]='CONFLICT',_0x821e72[_0xa33034(0x1e1)]=_0xa33034(0x1e1),_0x821e72[_0xa33034(0x2be)]='JOIN_ROOM_FAILED',_0x821e72[_0xa33034(0x1ac)]=_0xa33034(0x1ac),_0x821e72['SOCKET_FAILED']=_0xa33034(0x34e),_0x821e72[_0xa33034(0x3aa)]=_0xa33034(0x3aa),_0x821e72))(CollaborationUIEventId||{});const _CollaborationUIEventService=class _CollaborationUIEventService{constructor(){var _0x586796=_0xa33034;__publicField(this,'_event$',new Subject()),__publicField(this,_0x586796(0x349),this['_event$'][_0x586796(0x3b2)]());}[_0xa33034(0x2f9)](_0x5c5dab){var _0x3ab71d=_0xa33034;this[_0x3ab71d(0x22e)]['next'](_0x5c5dab);}};__name(_CollaborationUIEventService,_0xa33034(0x1b3));let CollaborationUIEventService=_CollaborationUIEventService;const INetworkConditionService=createIdentifier(_0xa33034(0x2bd));function deserializeToCombResponse(_0x27a851){var _0x48e038=_0xa33034,_0x204f8c,_0x4df5f8,_0x3950da,_0x4f961f,_0x2ce465;const _0x2077f2=_0x27a851[_0x48e038(0x2c1)],_0x2f7929=JSON[_0x48e038(0x246)](_0x2077f2);switch(_0x2f7929[_0x48e038(0x43d)]){case CombCmd[_0x48e038(0x1c1)]:case CombCmd[_0x48e038(0x486)]:{const _0x37a8ec=_0x2f7929[_0x48e038(0x30a)];return{..._0x2f7929,'data':_0x37a8ec,'cmd':_0x2f7929[_0x48e038(0x43d)]};}case CombCmd['JOIN']:{const _0x38826b=_0x2f7929[_0x48e038(0x34f)];return{..._0x2f7929,'data':_0x38826b,'cmd':_0x2f7929[_0x48e038(0x43d)]};}case CombCmd[_0x48e038(0x189)]:{const _0x317dbd=_0x2f7929[_0x48e038(0x1e7)];switch(_0x317dbd[_0x48e038(0x202)]){case CollaborationEvent['PERMISSION_REJ']:return{..._0x2f7929,'data':{..._0x317dbd,'data':(_0x204f8c=_0x317dbd['permissionRejEvent'])==null?void 0x0:_0x204f8c['cs']},'cmd':_0x2f7929['cmd']};case CollaborationEvent[_0x48e038(0x379)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':(_0x4df5f8=_0x317dbd[_0x48e038(0x272)])==null?void 0x0:_0x4df5f8['cs']},'cmd':_0x2f7929['cmd']};case CollaborationEvent[_0x48e038(0x26a)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':(_0x3950da=_0x317dbd[_0x48e038(0x36c)])==null?void 0x0:_0x3950da['cs']},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x131)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':(_0x4f961f=_0x317dbd[_0x48e038(0x310)])==null?void 0x0:_0x4f961f['cs']},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x3de)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':(_0x2ce465=_0x317dbd[_0x48e038(0x44b)])==null?void 0x0:_0x2ce465['cs']},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x3cb)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x445)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x2a2)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x40e)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent['USERS_LEAVE']:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x216)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x3d7)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x2f7)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x26c)]:case CollaborationEvent[_0x48e038(0x1c6)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x42e)]},'cmd':_0x2f7929['cmd']};case CollaborationEvent[_0x48e038(0x398)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x2f7)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x472)]:return{..._0x2f7929,'data':_0x317dbd,'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x2af)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x1b5)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent[_0x48e038(0x280)]:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd['updatePermissionObjEvent']},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent['SHOULD_CLOSE_CONN']:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x1dd)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};case CollaborationEvent['UNISCRIPT_RUN']:return{..._0x2f7929,'data':{..._0x317dbd,'data':_0x317dbd[_0x48e038(0x344)]},'cmd':_0x2f7929[_0x48e038(0x43d)]};default:return _0x2f7929;}}default:return _0x2f7929;}}__name(deserializeToCombResponse,'deserializeToCombResponse');function serializeCombRequest(_0x2199aa){var _0x6aa2e6=_0xa33034;switch(_0x2199aa[_0x6aa2e6(0x43d)]){case CombCmd[_0x6aa2e6(0x1c1)]:case CombCmd[_0x6aa2e6(0x486)]:return JSON['stringify']({'cmd':_0x2199aa[_0x6aa2e6(0x43d)],'routeKey':_0x2199aa[_0x6aa2e6(0x29d)]});case CombCmd['INGEST']:{let _0x2326f3;switch(_0x2199aa[_0x6aa2e6(0x2c1)][_0x6aa2e6(0x202)]){case CollaborationEvent[_0x6aa2e6(0x3cb)]:{_0x2326f3={'eventID':CollaborationEvent[_0x6aa2e6(0x3cb)],'updateCursorEvent':_0x2199aa[_0x6aa2e6(0x2c1)][_0x6aa2e6(0x2c1)]};break;}case CollaborationEvent[_0x6aa2e6(0x166)]:{_0x2326f3={'eventID':CollaborationEvent[_0x6aa2e6(0x166)],'leaveEvent':_0x2199aa[_0x6aa2e6(0x2c1)][_0x6aa2e6(0x2c1)]};break;}case CollaborationEvent[_0x6aa2e6(0x2a2)]:{_0x2326f3={'eventID':CollaborationEvent[_0x6aa2e6(0x2a2)],'joinEvent':_0x2199aa['data'][_0x6aa2e6(0x2c1)]};break;}case CollaborationEvent[_0x6aa2e6(0x3d7)]:{_0x2326f3={'eventID':CollaborationEvent['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2199aa[_0x6aa2e6(0x2c1)]['data']};break;}case CollaborationEvent['LIVESHARE_OPERATION']:{_0x2326f3={'eventID':CollaborationEvent[_0x6aa2e6(0x1c6)],'liveShareOperation':_0x2199aa[_0x6aa2e6(0x2c1)][_0x6aa2e6(0x2c1)]};break;}case CollaborationEvent[_0x6aa2e6(0x398)]:{_0x2326f3={'eventID':CollaborationEvent[_0x6aa2e6(0x398)],'liveShareTerminate':_0x2199aa['data']['data']};break;}case CollaborationEvent[_0x6aa2e6(0x395)]:{_0x2326f3={'eventID':CollaborationEvent[_0x6aa2e6(0x395)],'liveShareRequestHost':_0x2199aa[_0x6aa2e6(0x2c1)][_0x6aa2e6(0x2c1)]};break;}case CollaborationEvent[_0x6aa2e6(0x26c)]:{_0x2326f3={'eventID':CollaborationEvent[_0x6aa2e6(0x26c)]};break;}default:_0x2326f3={'eventID':_0x2199aa[_0x6aa2e6(0x2c1)][_0x6aa2e6(0x202)]};}return JSON[_0x6aa2e6(0x375)]({'cmd':_0x2199aa[_0x6aa2e6(0x43d)],'routeKey':_0x2199aa[_0x6aa2e6(0x29d)],'collaMsg':_0x2326f3});}case CombCmd['JOIN']:return JSON['stringify']({'cmd':_0x2199aa[_0x6aa2e6(0x43d)],'routeKey':_0x2199aa['routeKey'],'joinReq':_0x2199aa[_0x6aa2e6(0x2c1)]});case CombCmd[_0x6aa2e6(0x29e)]:return JSON[_0x6aa2e6(0x375)]({'cmd':_0x2199aa[_0x6aa2e6(0x43d)],'routeKey':_0x2199aa['routeKey'],'leaveReq':_0x2199aa[_0x6aa2e6(0x2c1)]});default:throw new Error(_0x6aa2e6(0x2c5));}}__name(serializeCombRequest,_0xa33034(0x13e));var __defProp$i=Object[_0xa33034(0x2e1)],__getOwnPropDesc$i=Object[_0xa33034(0x29f)],__decorateClass$i=__name((_0xd264d5,_0x11ebc1,_0x2ff108,_0x537102)=>{var _0x4ba941=_0xa33034;for(var _0x1b7ec5=_0x537102>0x1?void 0x0:_0x537102?__getOwnPropDesc$i(_0x11ebc1,_0x2ff108):_0x11ebc1,_0x26166e=_0xd264d5[_0x4ba941(0x271)]-0x1,_0x1565a4;_0x26166e>=0x0;_0x26166e--)(_0x1565a4=_0xd264d5[_0x26166e])&&(_0x1b7ec5=(_0x537102?_0x1565a4(_0x11ebc1,_0x2ff108,_0x1b7ec5):_0x1565a4(_0x1b7ec5))||_0x1b7ec5);return _0x537102&&_0x1b7ec5&&__defProp$i(_0x11ebc1,_0x2ff108,_0x1b7ec5),_0x1b7ec5;},_0xa33034(0x21d)),__decorateParam$i=__name((_0x57682c,_0x1d856f)=>(_0x187cce,_0x18f9ef)=>_0x1d856f(_0x187cce,_0x18f9ef,_0x57682c),_0xa33034(0x25d));const ICollaborationSocketService=createIdentifier('univer-pro.collaboration-client-socket-service');function generateSubmitChangesPath(_0x21cf21,_0x4bd9cb,_0xc1acb8){var _0xc44cf5=_0xa33034;return _0x21cf21+'/'+_0x4bd9cb+_0xc44cf5(0x21a)+_0xc1acb8+_0xc44cf5(0x3f9);}__name(generateSubmitChangesPath,_0xa33034(0x15d));var _a;let CollaborationSocketService=(_a=class extends Disposable{constructor(_0x59c87f,_0x44d156,_0x2c5aec,_0x28e5d6,_0x16234c){var _0x3a93f0=_0xa33034;super(),this['_injector']=_0x59c87f,this[_0x3a93f0(0x1bc)]=_0x44d156,this[_0x3a93f0(0x36a)]=_0x2c5aec,this[_0x3a93f0(0x48c)]=_0x28e5d6,this[_0x3a93f0(0x394)]=_0x16234c;}[_0xa33034(0x2f5)](_0x520a6c){var _0x3e6df7=_0xa33034;const _0x4b0e36=this[_0x3e6df7(0x39e)][_0x3e6df7(0x38a)](ISocketService);if(!_0x4b0e36)throw new Error(_0x3e6df7(0x207));const _0x3a91b4=_0x4b0e36[_0x3e6df7(0x2f5)](_0x520a6c);if(!_0x3a91b4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5f0d3b=new DisposableCollection(),_0x4f8a41=new Subject();_0x5f0d3b[_0x3e6df7(0x365)](_0x3a91b4[_0x3e6df7(0x23a)][_0x3e6df7(0x479)](_0xf01a7b=>_0x4f8a41[_0x3e6df7(0x17a)](_0xf01a7b))),_0x5f0d3b[_0x3e6df7(0x365)](toDisposable(()=>_0x4f8a41[_0x3e6df7(0x470)]()));const _0x4e0652=new Subject();_0x5f0d3b[_0x3e6df7(0x365)](_0x3a91b4['error$'][_0x3e6df7(0x479)](_0x5c31c7=>_0x4e0652['next'](_0x5c31c7))),_0x5f0d3b[_0x3e6df7(0x365)](toDisposable(()=>_0x4e0652[_0x3e6df7(0x470)]()));const _0xa9d8a3=new Subject();_0x5f0d3b['add'](_0x3a91b4['message$']['subscribe'](_0x4a062a=>{var _0xcef3d6=_0x3e6df7;const _0x5d57f2=deserializeToCombResponse(_0x4a062a);_0xa9d8a3[_0xcef3d6(0x17a)](_0x5d57f2);})),_0x5f0d3b[_0x3e6df7(0x365)](toDisposable(()=>_0xa9d8a3[_0x3e6df7(0x470)]()));let _0x2ee5a4;const _0x4b922a=__name(()=>{var _0x424066=_0x3e6df7;_0x4e0652['next'](new Event(_0x424066(0x1d9))),_0x4f8a41[_0x424066(0x17a)](new CloseEvent(_0x424066(0x1d9))),_0x2ee5a4[_0x424066(0x3f8)]();},_0x3e6df7(0x21e));return _0x2ee5a4={'memberID':'','close$':_0x4f8a41[_0x3e6df7(0x3b2)](),'error$':_0x4e0652[_0x3e6df7(0x3b2)](),'open$':_0x3a91b4[_0x3e6df7(0x1ec)],'message$':_0xa9d8a3[_0x3e6df7(0x3b2)](),'send':__name(_0x420db0=>{var _0x5db269=_0x3e6df7;if(_0x420db0['cmd']===CombCmd[_0x5db269(0x1ff)]){if(_0x420db0['data'][_0x5db269(0x202)]===CollaborationEvent['SUBMIT_CHANGESET']){this[_0x5db269(0x18e)](_0x2ee5a4,_0x420db0[_0x5db269(0x2c1)])[_0x5db269(0x3f0)](_0x33f3dc=>{var _0x1330a7=_0x5db269;this[_0x1330a7(0x48c)][_0x1330a7(0x1c4)](_0x33f3dc),_0x4b922a();});return;}if(_0x420db0[_0x5db269(0x2c1)]['eventID']===CollaborationEvent[_0x5db269(0x289)]){const _0x4ff433=_0x420db0[_0x5db269(0x2c1)];this[_0x5db269(0x1af)](_0x4ff433)[_0x5db269(0x169)](_0x2a970c=>{var _0x4986ae=_0x5db269;_0xa9d8a3[_0x4986ae(0x17a)]({'cmd':CombCmd['RECV'],'code':CmdRspCode['OK'],'routeKey':_0x4ff433[_0x4986ae(0x2c1)][_0x4986ae(0x259)],'routeType':'','data':{'eventID':CollaborationEvent[_0x4986ae(0x3dd)],'data':{'changesets':_0x2a970c}}});})['catch'](_0x43a35d=>{var _0x331900=_0x5db269;this[_0x331900(0x48c)][_0x331900(0x1c4)](_0x43a35d),_0x4b922a();});return;}}_0x3a91b4[_0x5db269(0x26d)](serializeCombRequest(_0x420db0));},_0x3e6df7(0x26d)),'close':__name(()=>{var _0x1b3737=_0x3e6df7;_0x3a91b4[_0x1b3737(0x3f8)](),_0x5f0d3b[_0x1b3737(0x2aa)]();},_0x3e6df7(0x3f8))},_0x2ee5a4;}async['_submitChangeset'](_0x2fc072,_0x49ddc8){var _0x22daa3=_0xa33034,_0x5a475b,_0xc3c211;const {unitType:_0x234c36,unitID:_0x33ad1c,changeset:_0x2a0d0a}=_0x49ddc8['data'],_0xac4137={'unitID':_0x33ad1c,'memberID':_0x2fc072['memberID'],'type':_0x234c36,'changeset':parseChangesetToProtocol(_0x2a0d0a)},_0x5cf34d=this[_0x22daa3(0x36a)][_0x22daa3(0x439)](COLLAB_SUBMIT_CHANGESET_URL_KEY),_0x3dbc18=this[_0x22daa3(0x36a)]['getConfig'](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY),_0x3f6359=generateSubmitChangesPath((_0xc3c211=(_0x5a475b=_0x3dbc18==null?void 0x0:_0x3dbc18[_0x22daa3(0x393)])!=null?_0x5a475b:_0x5cf34d)!=null?_0xc3c211:DEFAULT_COLLAB_SUBMIT_CHANGESET_URL,_0x234c36,_0x33ad1c);try{await this[_0x22daa3(0x1bc)][_0x22daa3(0x414)](_0x3f6359,{'body':_0xac4137});}catch(_0x5aebb5){throw this['_logService'][_0x22daa3(0x1c4)](_0x22daa3(0x173),_0x22daa3(0x3d5)),_0x5aebb5;}}async['_fetchMissChangesets'](_0x33ca37){var _0x2e00b8=_0xa33034;const {unitID:_0x3a573e,from:_0x1013d7,to:_0x493e94,unitType:_0xb9fb0b}=_0x33ca37[_0x2e00b8(0x2c1)];return(await this[_0x2e00b8(0x394)][_0x2e00b8(0x13b)]({'metadata':void 0x0},{'unitID':_0x3a573e,'type':_0xb9fb0b,'from':_0x1013d7,'to':_0x493e94}))[_0x2e00b8(0x2d0)];}},__name(_a,_0xa33034(0x30e)),_a);function _0x214d(_0x2c0791,_0xcc5ab8){var _0x3cd871=_0x3cd8();return _0x214d=function(_0x214dfb,_0x46b9ff){_0x214dfb=_0x214dfb-0x12b;var _0x409c78=_0x3cd871[_0x214dfb];return _0x409c78;},_0x214d(_0x2c0791,_0xcc5ab8);}CollaborationSocketService=__decorateClass$i([__decorateParam$i(0x0,Inject(Injector)),__decorateParam$i(0x1,Inject(HTTPService)),__decorateParam$i(0x2,IConfigService),__decorateParam$i(0x3,ILogService),__decorateParam$i(0x4,ISnapshotServerService)],CollaborationSocketService);const TELEMETRY_COLLABORATION_NEW_CHANGESET=_0xa33034(0x3ec);function summaryChangesetSize(_0x1dc0ff){var _0x14e5f2=_0xa33034;return JSON[_0x14e5f2(0x375)](_0x1dc0ff)[_0x14e5f2(0x271)];}__name(summaryChangesetSize,_0xa33034(0x430));const _CommentService=class _CommentService{constructor(){var _0x1024e7=_0xa33034;__publicField(this,_0x1024e7(0x466),new Subject()),__publicField(this,'commentUpdate$',this['_commentUpdate$'][_0x1024e7(0x3b2)]());}[_0xa33034(0x1bd)](_0xca920e){var _0x331558=_0xa33034;this[_0x331558(0x466)][_0x331558(0x17a)](_0xca920e);}};__name(_CommentService,'CommentService');let CommentService=_CommentService;var __defProp$h=Object[_0xa33034(0x2e1)],__getOwnPropDesc$h=Object['getOwnPropertyDescriptor'],__decorateClass$h=__name((_0x19850f,_0x52a561,_0x1f979a,_0x1ac826)=>{var _0x216ea6=_0xa33034;for(var _0x37c760=_0x1ac826>0x1?void 0x0:_0x1ac826?__getOwnPropDesc$h(_0x52a561,_0x1f979a):_0x52a561,_0x3ad8cf=_0x19850f[_0x216ea6(0x271)]-0x1,_0x49f02b;_0x3ad8cf>=0x0;_0x3ad8cf--)(_0x49f02b=_0x19850f[_0x3ad8cf])&&(_0x37c760=(_0x1ac826?_0x49f02b(_0x52a561,_0x1f979a,_0x37c760):_0x49f02b(_0x37c760))||_0x37c760);return _0x1ac826&&_0x37c760&&__defProp$h(_0x52a561,_0x1f979a,_0x37c760),_0x37c760;},_0xa33034(0x1b0)),__decorateParam$h=__name((_0x31b063,_0x32ff90)=>(_0x4d3152,_0x2a3ea0)=>_0x32ff90(_0x4d3152,_0x2a3ea0,_0x31b063),'__decorateParam$h'),_a2;let MemberService=(_a2=class extends Disposable{constructor(_0x1e83ec,_0x211d16){var _0x44507a=_0xa33034;super(),__publicField(this,_0x44507a(0x3eb),new Map()),__publicField(this,_0x44507a(0x1da),new Subject()),(this['_univerInstanceService']=_0x1e83ec,this[_0x44507a(0x13a)]=_0x211d16,this[_0x44507a(0x3a7)](merge(this[_0x44507a(0x40d)][_0x44507a(0x34b)](UniverInstanceType[_0x44507a(0x1d0)])[_0x44507a(0x2c8)](map(_0x1b6707=>_0x1b6707[_0x44507a(0x13d)]())),this[_0x44507a(0x40d)][_0x44507a(0x34b)](UniverInstanceType[_0x44507a(0x36b)])['pipe'](map(_0x24b944=>_0x24b944['getUnitId']())),this['_univerInstanceService'][_0x44507a(0x34b)](UniverInstanceType['UNIVER_SLIDE'])[_0x44507a(0x2c8)](map(_0xa947bc=>_0xa947bc['getUnitId']())))[_0x44507a(0x479)](_0x54209e=>this[_0x44507a(0x3fe)](_0x54209e))));}[_0xa33034(0x424)](_0x4262e0){var _0x507902=_0xa33034;return this['_roomMembers']['has'](_0x4262e0)?of(this[_0x507902(0x3eb)][_0x507902(0x38a)](_0x4262e0)):this['_roomCreated$'][_0x507902(0x2c8)](map(_0x3a24ef=>{var _0x3e7d4a=_0x507902;if(_0x3a24ef===_0x4262e0)return this[_0x3e7d4a(0x3eb)][_0x3e7d4a(0x38a)](_0x3a24ef);}));}[_0xa33034(0x1bf)](_0x2a98b8){this['_userManagerService']['setCurrentUser'](_0x2a98b8);}['getCurrentUser'](){var _0xa301ef=_0xa33034;return this[_0xa301ef(0x13a)][_0xa301ef(0x26f)]();}['updateMember'](_0x495059,_0xe0d3d7){var _0x42ba3c=_0xa33034;let _0x36e45a=this[_0x42ba3c(0x3eb)][_0x42ba3c(0x38a)](_0x495059);_0x36e45a||(_0x36e45a=new RoomMember(),this[_0x42ba3c(0x3eb)][_0x42ba3c(0x392)](_0x495059,_0x36e45a),this[_0x42ba3c(0x1da)][_0x42ba3c(0x17a)](_0x495059)),_0x36e45a[_0x42ba3c(0x284)](_0xe0d3d7);}[_0xa33034(0x426)](_0x111f4d,_0x2f118a){var _0x4c638a=_0xa33034;const _0x5c7cb4=this[_0x4c638a(0x3eb)]['get'](_0x111f4d);_0x5c7cb4&&_0x5c7cb4['removeMember'](_0x2f118a);}[_0xa33034(0x25b)](_0x388023){var _0x59b998=_0xa33034;return this[_0x59b998(0x3eb)][_0x59b998(0x38a)](_0x388023);}[_0xa33034(0x15b)](_0x45075a,_0x2b6ae7){var _0x445543=_0xa33034;const _0x1ffb43=this[_0x445543(0x3eb)]['get'](_0x45075a);if(_0x1ffb43)return _0x1ffb43[_0x445543(0x15b)](_0x2b6ae7);}['_removeRoom'](_0x415716){var _0x10039d=_0xa33034;const _0x1379ba=this['_roomMembers'][_0x10039d(0x38a)](_0x415716);_0x1379ba&&(_0x1379ba[_0x10039d(0x2aa)](),this[_0x10039d(0x3eb)][_0x10039d(0x33b)](_0x415716));}[_0xa33034(0x2aa)](){var _0x63bc9d=_0xa33034;this['_roomMembers'][_0x63bc9d(0x24c)](_0x16b823=>_0x16b823[_0x63bc9d(0x2aa)]()),this[_0x63bc9d(0x3eb)][_0x63bc9d(0x210)](),this[_0x63bc9d(0x1da)][_0x63bc9d(0x470)]();}},__name(_a2,'MemberService'),_a2);MemberService=__decorateClass$h([__decorateParam$h(0x0,IUniverInstanceService),__decorateParam$h(0x1,Inject(UserManagerService))],MemberService);const _RoomMember=class _RoomMember extends Disposable{constructor(){var _0x43d215=_0xa33034;super(...arguments),__publicField(this,_0x43d215(0x31c),new Map()),__publicField(this,_0x43d215(0x3ad),new BehaviorSubject(this[_0x43d215(0x31c)])),__publicField(this,_0x43d215(0x353),this[_0x43d215(0x3ad)][_0x43d215(0x3b2)]());}[_0xa33034(0x2aa)](){var _0x37b75a=_0xa33034;this[_0x37b75a(0x31c)][_0x37b75a(0x210)]();}[_0xa33034(0x284)](_0x7894a){var _0x210573=_0xa33034;this[_0x210573(0x31c)]['set'](_0x7894a[_0x210573(0x3b9)],_0x7894a),this[_0x210573(0x291)]();}['removeMember'](_0xb8fca){var _0x1ada43=_0xa33034;this[_0x1ada43(0x31c)][_0x1ada43(0x33b)](_0xb8fca);}[_0xa33034(0x15b)](_0x412e50){var _0x1bf17c=_0xa33034;return this[_0x1bf17c(0x31c)][_0x1bf17c(0x38a)](_0x412e50);}[_0xa33034(0x225)](){var _0xd5c674=_0xa33034;return Array[_0xd5c674(0x301)](this[_0xd5c674(0x31c)][_0xd5c674(0x47a)]());}[_0xa33034(0x291)](){var _0x471bd4=_0xa33034;this[_0x471bd4(0x3ad)]['next'](this['_members']);}};__name(_RoomMember,_0xa33034(0x3c7));let RoomMember=_RoomMember;var __defProp$g=Object[_0xa33034(0x2e1)],__getOwnPropDesc$g=Object[_0xa33034(0x29f)],__decorateClass$g=__name((_0x4cc08b,_0x20063f,_0x2161b3,_0x583090)=>{for(var _0x25e3d2=_0x583090>0x1?void 0x0:_0x583090?__getOwnPropDesc$g(_0x20063f,_0x2161b3):_0x20063f,_0x357988=_0x4cc08b['length']-0x1,_0x1957fe;_0x357988>=0x0;_0x357988--)(_0x1957fe=_0x4cc08b[_0x357988])&&(_0x25e3d2=(_0x583090?_0x1957fe(_0x20063f,_0x2161b3,_0x25e3d2):_0x1957fe(_0x25e3d2))||_0x25e3d2);return _0x583090&&_0x25e3d2&&__defProp$g(_0x20063f,_0x2161b3,_0x25e3d2),_0x25e3d2;},_0xa33034(0x455)),__decorateParam$g=__name((_0x8e76d4,_0x1b769a)=>(_0x18ee4c,_0x4a218d)=>_0x1b769a(_0x18ee4c,_0x4a218d,_0x8e76d4),'__decorateParam$g'),SessionStatus=(_0x3b83b5=>(_0x3b83b5[_0x3b83b5[_0xa33034(0x264)]=0x0]=_0xa33034(0x264),_0x3b83b5[_0x3b83b5['JOINING']=0x1]=_0xa33034(0x3bd),_0x3b83b5[_0x3b83b5['OFFLINE']=0x2]=_0xa33034(0x235),_0x3b83b5[_0x3b83b5['ONLINE']=0x3]=_0xa33034(0x2ac),_0x3b83b5))(SessionStatus||{});const FailedReason={[CmdRspCode[_0xa33034(0x18c)]]:_0xa33034(0x3d1),[CmdRspCode[_0xa33034(0x19e)]]:_0xa33034(0x18d),[CmdRspCode['JOIN_ROOM_NOT_EXISTS']]:_0xa33034(0x1d1),[CmdRspCode['JOIN_ROOM_PERMISSION_DENIED']]:_0xa33034(0x305),[CmdRspCode[_0xa33034(0x45c)]]:_0xa33034(0x43c)};var _a3;let CollaborationSession=(_a3=class extends RxDisposable{constructor(_0x249026,_0x3fe4f0,_0x13f8e1,_0x124753,_0x580654,_0x750fcb,_0x4f7b19,_0x7ce483,_0x2db7ef){var _0x254512=_0xa33034;super(),__publicField(this,_0x254512(0x3b8),new BehaviorSubject(0x0)),__publicField(this,_0x254512(0x29b),this['_sessionStatus$'][_0x254512(0x3b2)]()),__publicField(this,_0x254512(0x22e),new Subject()),__publicField(this,_0x254512(0x349),this[_0x254512(0x22e)][_0x254512(0x3b2)]()),__publicField(this,_0x254512(0x181)),__publicField(this,_0x254512(0x2fd)),__publicField(this,'_collaborationTimeoutTimer'),__publicField(this,_0x254512(0x422),!0x1),__publicField(this,_0x254512(0x17f),null),(this[_0x254512(0x212)]=_0x249026,this[_0x254512(0x48c)]=_0x13f8e1,this[_0x254512(0x36a)]=_0x124753,this[_0x254512(0x14d)]=_0x580654,this[_0x254512(0x172)]=_0x750fcb,this[_0x254512(0x205)]=_0x4f7b19,this['_collaborationUIEventService']=_0x7ce483,this['_telemetryService']=_0x2db7ef,this[_0x254512(0x422)]=!!this[_0x254512(0x33a)],_0x3fe4f0[_0x254512(0x2c8)](takeUntil(this['dispose$']))[_0x254512(0x479)](_0x552b70=>{var _0x1326c4=_0x254512,_0x34a07e;typeof _0x552b70>'u'||(this['_socket']=_0x552b70,_0x552b70?(this[_0x1326c4(0x3fc)](_0x552b70),this['_socketMessageSubscription']=_0x552b70[_0x1326c4(0x1a3)][_0x1326c4(0x479)](_0xfd8c3c=>{var _0x90b704=_0x1326c4;_0xfd8c3c[_0x90b704(0x29d)]===this[_0x90b704(0x212)]&&this['_onCombEvent'](_0xfd8c3c);})):(this[_0x1326c4(0x1ef)](),this[_0x1326c4(0x3b8)][_0x1326c4(0x17a)](0x2),(_0x34a07e=this[_0x1326c4(0x2fd)])==null||_0x34a07e[_0x1326c4(0x3b5)](),this[_0x1326c4(0x2fd)]=null));}));}get['sessionStatus'](){var _0x18083a=_0xa33034;return this[_0x18083a(0x3b8)][_0x18083a(0x2b9)]();}[_0xa33034(0x273)](){var _0x50db99=_0xa33034,_0x6741e0,_0x483cf2;return(_0x483cf2=(_0x6741e0=this[_0x50db99(0x181)])==null?void 0x0:_0x6741e0['memberID'])!=null?_0x483cf2:null;}['dispose'](){var _0x4fd16b=_0xa33034;super['dispose'](),this[_0x4fd16b(0x3ca)][_0x4fd16b(0x17a)](),this[_0x4fd16b(0x3ca)][_0x4fd16b(0x470)]();}['close'](){var _0x5a7bb4=_0xa33034,_0x4c873e,_0x5297f7;this[_0x5a7bb4(0x1ef)](),(_0x4c873e=this[_0x5a7bb4(0x181)])==null||_0x4c873e[_0x5a7bb4(0x26d)]({'cmd':CombCmd[_0x5a7bb4(0x29e)],'data':{'roomID':this[_0x5a7bb4(0x212)]}}),(_0x5297f7=this[_0x5a7bb4(0x181)])==null||_0x5297f7['close'](),this[_0x5a7bb4(0x22e)][_0x5a7bb4(0x470)](),this[_0x5a7bb4(0x3b8)]['complete'](),this[_0x5a7bb4(0x2aa)]();}[_0xa33034(0x19a)](_0x282f6f){var _0x3fd27d=_0xa33034;_0x282f6f[_0x3fd27d(0x43d)]===CombCmd[_0x3fd27d(0x38e)]?this[_0x3fd27d(0x476)](_0x282f6f):_0x282f6f[_0x3fd27d(0x43d)]===CombCmd[_0x3fd27d(0x189)]&&this[_0x3fd27d(0x452)](_0x282f6f);}['_joinRoom'](_0x5d6c74){var _0x198fc2=_0xa33034;this[_0x198fc2(0x3b8)][_0x198fc2(0x17a)](0x1),_0x5d6c74[_0x198fc2(0x26d)]({'cmd':CombCmd[_0x198fc2(0x38e)],'routeKey':this[_0x198fc2(0x212)],'routeType':'','data':{'rooms':[{'roomID':this[_0x198fc2(0x212)]}]}});}['_onJoinRoomEvent'](_0x20e7f0){var _0x1dcb1a=_0xa33034,_0x2922a8;if(_0x20e7f0['code']in FailedReason){this[_0x1dcb1a(0x242)][_0x1dcb1a(0x2f9)]({'id':CollaborationUIEventId[_0x1dcb1a(0x2be)],'data':FailedReason[_0x20e7f0['code']]}),this[_0x1dcb1a(0x3b8)][_0x1dcb1a(0x17a)](0x2);return;}this[_0x1dcb1a(0x3b8)][_0x1dcb1a(0x17a)](0x3);const _0xab31ce=(_0x2922a8=_0x20e7f0[_0x1dcb1a(0x2c1)][_0x1dcb1a(0x24a)][this[_0x1dcb1a(0x212)]])==null?void 0x0:_0x2922a8[_0x1dcb1a(0x247)];_0xab31ce&&_0xab31ce[_0x1dcb1a(0x24c)](_0x397066=>this['_memberService'][_0x1dcb1a(0x284)](this['_unitID'],_0x397066));}[_0xa33034(0x452)](_0x1699ba){var _0x2bd63e=_0xa33034;try{const _0x5ca2ee=_0x1699ba['data'];switch(_0x5ca2ee[_0x2bd63e(0x202)]){case CollaborationEvent[_0x2bd63e(0x2a2)]:this[_0x2bd63e(0x48d)](_0x5ca2ee),this[_0x2bd63e(0x22e)]['next'](_0x5ca2ee);break;case CollaborationEvent[_0x2bd63e(0x166)]:this[_0x2bd63e(0x134)](_0x5ca2ee),this['_event$'][_0x2bd63e(0x17a)](_0x5ca2ee);break;case CollaborationEvent[_0x2bd63e(0x379)]:case CollaborationEvent[_0x2bd63e(0x3de)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2bd63e(0x2d8)](),this[_0x2bd63e(0x22e)][_0x2bd63e(0x17a)](_0x5ca2ee);break;case CollaborationEvent[_0x2bd63e(0x472)]:this[_0x2bd63e(0x48c)][_0x2bd63e(0x1c4)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x5ca2ee)),this[_0x2bd63e(0x22e)]['next'](_0x5ca2ee);break;case CollaborationEvent['COMMENT_UPDATE']:this[_0x2bd63e(0x205)][_0x2bd63e(0x1bd)](_0x5ca2ee[_0x2bd63e(0x2c1)]),this[_0x2bd63e(0x22e)]['next'](_0x5ca2ee);break;default:this['_event$']['next'](_0x5ca2ee);}}catch(_0x583c90){this['_logService']['error'](_0x583c90,_0x1699ba);}}[_0xa33034(0x48d)](_0x19d4eb){var _0x2dcf0e=_0xa33034;this[_0x2dcf0e(0x172)][_0x2dcf0e(0x284)](this[_0x2dcf0e(0x212)],_0x19d4eb[_0x2dcf0e(0x2c1)]);}[_0xa33034(0x134)](_0x46980c){var _0x187c18=_0xa33034;this[_0x187c18(0x172)][_0x187c18(0x426)](this[_0x187c18(0x212)],_0x46980c[_0x187c18(0x2c1)][_0x187c18(0x3b9)]);}async[_0xa33034(0x26d)](_0x3a4477,_0x21b9fe){var _0x377f70=_0xa33034;if(this[_0x377f70(0x39f)]!==0x3||!this[_0x377f70(0x181)])throw new Error(_0x377f70(0x1f1));try{_0x3a4477[_0x377f70(0x202)]===CollaborationEvent[_0x377f70(0x193)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x377f70(0x1a2)](_0x3a4477)),this[_0x377f70(0x181)][_0x377f70(0x26d)]({'cmd':CombCmd[_0x377f70(0x1ff)],'routeKey':_0x21b9fe,'routeType':'','data':_0x3a4477});}catch(_0x152ddb){this['_logService'][_0x377f70(0x1c4)](_0x152ddb);}}['_scheduleCollaborationTimeoutTimer'](){var _0x51de5f=_0xa33034,_0x1fe4ac;this[_0x51de5f(0x1fc)]=setTimeout(()=>{var _0x2af738=_0x51de5f;this[_0x2af738(0x1fc)]=null,this[_0x2af738(0x242)][_0x2af738(0x2f9)]({'id':CollaborationUIEventId[_0x2af738(0x3aa)]});},(_0x1fe4ac=this['_configService'][_0x51de5f(0x439)](HEARTBEAT_TIMEOUT_KEY))!=null?_0x1fe4ac:DEFAULT_HEARTBEAT_TIMEOUT);}[_0xa33034(0x2d8)](){var _0x33d7a1=_0xa33034;this[_0x33d7a1(0x1fc)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x3f2e3c){var _0x14b202=_0xa33034;if(!this[_0x14b202(0x422)])return;const {data:_0x4976ef}=_0x3f2e3c,{unitID:_0x122270,changeset:_0x2a2ddd}=_0x4976ef,{mutations:_0x4b3005,type:_0x44f476}=_0x2a2ddd;this[_0x14b202(0x17f)]={'unitId':_0x122270,'type':_0x44f476,'startTime':performance[_0x14b202(0x2ba)](),'stopTime':0x0,'duration':0x0,'size':summaryChangesetSize(_0x4b3005)};}[_0xa33034(0x24b)](){var _0x2d1766=_0xa33034;if(this[_0x2d1766(0x422)]){if(!this[_0x2d1766(0x17f)]){this[_0x2d1766(0x48c)]['error'](_0x2d1766(0x173),_0x2d1766(0x304));return;}this['_telemetryInfo'][_0x2d1766(0x3c3)]=performance['now'](),this[_0x2d1766(0x17f)][_0x2d1766(0x22f)]=this[_0x2d1766(0x17f)][_0x2d1766(0x3c3)]-this['_telemetryInfo'][_0x2d1766(0x1a9)],this[_0x2d1766(0x33a)][_0x2d1766(0x322)](TELEMETRY_COLLABORATION_NEW_CHANGESET,this[_0x2d1766(0x17f)]),this[_0x2d1766(0x17f)]=null;}}[_0xa33034(0x1ef)](){var _0x57bb2d=_0xa33034;this[_0x57bb2d(0x17f)]=null;}},__name(_a3,_0xa33034(0x290)),_a3);CollaborationSession=__decorateClass$g([__decorateParam$g(0x2,ILogService),__decorateParam$g(0x3,IConfigService),__decorateParam$g(0x4,Inject(LocaleService)),__decorateParam$g(0x5,Inject(MemberService)),__decorateParam$g(0x6,Inject(CommentService)),__decorateParam$g(0x7,Inject(CollaborationUIEventService)),__decorateParam$g(0x8,Optional(ITelemetryService))],CollaborationSession);var __defProp$f=Object[_0xa33034(0x2e1)],__getOwnPropDesc$f=Object[_0xa33034(0x29f)],__decorateClass$f=__name((_0x5aa373,_0x1a925c,_0x29b120,_0x5e26db)=>{var _0x35c188=_0xa33034;for(var _0x2034bb=_0x5e26db>0x1?void 0x0:_0x5e26db?__getOwnPropDesc$f(_0x1a925c,_0x29b120):_0x1a925c,_0x1314d8=_0x5aa373[_0x35c188(0x271)]-0x1,_0xe848cf;_0x1314d8>=0x0;_0x1314d8--)(_0xe848cf=_0x5aa373[_0x1314d8])&&(_0x2034bb=(_0x5e26db?_0xe848cf(_0x1a925c,_0x29b120,_0x2034bb):_0xe848cf(_0x2034bb))||_0x2034bb);return _0x5e26db&&_0x2034bb&&__defProp$f(_0x1a925c,_0x29b120,_0x2034bb),_0x2034bb;},_0xa33034(0x144)),__decorateParam$f=__name((_0x11eb2b,_0x5acb2f)=>(_0x516e66,_0x260ea4)=>_0x5acb2f(_0x516e66,_0x260ea4,_0x11eb2b),'__decorateParam$f'),_a4;let CollaborationSessionService=(_a4=class extends Disposable{constructor(_0x26725c,_0xc7c5db,_0x5191cf,_0x22d3ee,_0x1bb562,_0x4b785f,_0x475e3b){var _0x54fa11=_0xa33034;super(),__publicField(this,_0x54fa11(0x2b1),new BehaviorSubject(void 0x0)),__publicField(this,'socket$',this[_0x54fa11(0x2b1)][_0x54fa11(0x3b2)]()),__publicField(this,_0x54fa11(0x201),null),__publicField(this,'_sessions',new Map()),__publicField(this,'_status$',new BehaviorSubject(SessionStatus[_0x54fa11(0x264)])),__publicField(this,_0x54fa11(0x38d),this[_0x54fa11(0x233)][_0x54fa11(0x3b2)]()),__publicField(this,_0x54fa11(0x415),!0x1),__publicField(this,_0x54fa11(0x42a)),__publicField(this,_0x54fa11(0x1f6),0x0),__publicField(this,_0x54fa11(0x47c)),__publicField(this,_0x54fa11(0x2ec)),(this[_0x54fa11(0x39e)]=_0x26725c,this['_logService']=_0xc7c5db,this[_0x54fa11(0x36a)]=_0x5191cf,this[_0x54fa11(0x2e3)]=_0x22d3ee,this[_0x54fa11(0x377)]=_0x1bb562,this[_0x54fa11(0x242)]=_0x4b785f,this['_networkConditionService']=_0x475e3b,this['_listenToNetworkCondition']());}get[_0xa33034(0x181)](){var _0x160804=_0xa33034;return this[_0x160804(0x2b1)][_0x160804(0x2b9)]();}[_0xa33034(0x2b8)](){var _0x31f3f9=_0xa33034;this[_0x31f3f9(0x2f2)]&&this[_0x31f3f9(0x3a7)](this['_networkConditionService'][_0x31f3f9(0x25c)][_0x31f3f9(0x479)](_0x4d5c09=>{var _0x26811a=_0x31f3f9;_0x4d5c09&&!this[_0x26811a(0x181)]&&this[_0x26811a(0x3c9)](),_0x4d5c09||this[_0x26811a(0x1e5)]();}));}[_0xa33034(0x2aa)](){var _0x4df1dd=_0xa33034;super[_0x4df1dd(0x2aa)](),this[_0x4df1dd(0x256)]['forEach'](_0x4191c4=>_0x4191c4[_0x4df1dd(0x2aa)]()),this['_sessions'][_0x4df1dd(0x210)](),this[_0x4df1dd(0x233)][_0x4df1dd(0x470)]();}async[_0xa33034(0x155)](_0x5e3b58){var _0x52d8c2=_0xa33034;if(this[_0x52d8c2(0x256)][_0x52d8c2(0x278)](_0x5e3b58))return this[_0x52d8c2(0x256)]['get'](_0x5e3b58);this[_0x52d8c2(0x45a)]();const _0x1d0aea=this[_0x52d8c2(0x39e)][_0x52d8c2(0x465)](CollaborationSession,_0x5e3b58,this[_0x52d8c2(0x2b1)][_0x52d8c2(0x3b2)]());return this['_sessions'][_0x52d8c2(0x392)](_0x5e3b58,_0x1d0aea),_0x1d0aea;}['closeSession'](_0x45c4f2){var _0x59413a=_0xa33034,_0x4ac9f1;const _0x2d23be=this[_0x59413a(0x256)][_0x59413a(0x38a)](_0x45c4f2);_0x2d23be&&(this[_0x59413a(0x256)]['delete'](_0x45c4f2),_0x2d23be[_0x59413a(0x3f8)]()),this[_0x59413a(0x256)][_0x59413a(0x313)]||(_0x4ac9f1=this[_0x59413a(0x181)])==null||_0x4ac9f1[_0x59413a(0x3f8)]();}[_0xa33034(0x3c9)](){var _0x2af155=_0xa33034;this[_0x2af155(0x1f6)]=0x0,this[_0x2af155(0x42a)]!=null&&(clearTimeout(this[_0x2af155(0x42a)]),this[_0x2af155(0x42a)]=null),this['_tryReconnect']();}async[_0xa33034(0x382)](){var _0x1ae534=_0xa33034,_0x37ccce,_0x352477,_0x18667f;const _0xc55681=this[_0x1ae534(0x36a)]['getConfig'](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY),_0x57f08a=(_0x37ccce=_0xc55681==null?void 0x0:_0xc55681[_0x1ae534(0x362)])!=null?_0x37ccce:DEFAULT_WS_SESSION_TICKET_URL;return(_0x18667f=(_0x352477=(await this['_httpService']['get'](_0x57f08a,{'headers':{'Content-Type':_0x1ae534(0x481)}}))['body'])==null?void 0x0:_0x352477[_0x1ae534(0x478)])!=null?_0x18667f:'';}['_createSocketURL'](_0x31a01a){var _0x57359b=_0xa33034,_0x35f590,_0x3aa9ee;const _0x251376=this[_0x57359b(0x36a)]['getConfig'](COLLAB_WEB_SOCKET_URL_KEY),_0x469f46=this[_0x57359b(0x36a)]['getConfig'](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY),_0x4a7d91=(_0x3aa9ee=(_0x35f590=_0x469f46==null?void 0x0:_0x469f46['collabWebSocketUrl'])!=null?_0x35f590:_0x251376)!=null?_0x3aa9ee:DEFAULT_COLLAB_WEB_SOCKET_URL,_0x54f4f5=typeof window>'u'?new URL(_0x4a7d91):new URL(_0x4a7d91,window[_0x57359b(0x236)]['origin']);_0x54f4f5['searchParams'][_0x57359b(0x392)](_0x57359b(0x1a5),_0x31a01a);const _0x62a16e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x57359b(0x236)][_0x57359b(0x23b)]);return _0x62a16e[_0x57359b(0x38a)](_0x57359b(0x30c))&&_0x54f4f5[_0x57359b(0x22b)][_0x57359b(0x392)](_0x57359b(0x30c),_0x62a16e[_0x57359b(0x38a)](_0x57359b(0x30c))),_0x54f4f5['toString']();}async[_0xa33034(0x461)](){var _0x295b63=_0xa33034;const _0x3eb440=await this[_0x295b63(0x382)](),_0x312771=this['_createSocketURL'](_0x3eb440),_0x1e33cf=this[_0x295b63(0x2e3)][_0x295b63(0x2f5)](_0x312771);return this['_candidateSocket']=_0x1e33cf,_0x1e33cf;}async[_0xa33034(0x45a)](){var _0x9bd3ee=_0xa33034,_0x2f9ebf,_0x2e4c5e;try{const _0x391805=(_0x2e4c5e=(_0x2f9ebf=this[_0x9bd3ee(0x181)])!=null?_0x2f9ebf:this[_0x9bd3ee(0x201)])!=null?_0x2e4c5e:await this['_createSocket']();if(_0x391805){const _0x3cde3f=_0x391805[_0x9bd3ee(0x26d)];_0x391805[_0x9bd3ee(0x26d)]=_0x5479f9=>(this['_rescheduleHeartbeat'](),_0x3cde3f['apply'](_0x391805,[_0x5479f9])),_0x391805[_0x9bd3ee(0x1a3)][_0x9bd3ee(0x479)](_0x271cd2=>this[_0x9bd3ee(0x48a)](_0x391805,_0x271cd2)),_0x391805[_0x9bd3ee(0x384)][_0x9bd3ee(0x2c8)](take(0x1))['subscribe'](_0x3183d6=>this['_logService'][_0x9bd3ee(0x1c4)]('[CollaborationSessionService]:\x20socket\x20error',_0x3183d6)),_0x391805[_0x9bd3ee(0x1ec)][_0x9bd3ee(0x2c8)](take(0x1))[_0x9bd3ee(0x479)](()=>{var _0x213eda=_0x9bd3ee;this[_0x213eda(0x184)](_0x391805);}),_0x391805[_0x9bd3ee(0x23a)][_0x9bd3ee(0x2c8)](take(0x1))[_0x9bd3ee(0x479)](_0x5c4702=>{var _0x18cec3=_0x9bd3ee;this['_logService'][_0x18cec3(0x213)](_0x18cec3(0x2ad),_0x18cec3(0x32e),_0x5c4702),this['_onConnectionFailed']();});}}catch(_0x51a2cc){this[_0x9bd3ee(0x48c)][_0x9bd3ee(0x1c4)](_0x51a2cc),this[_0x9bd3ee(0x2e7)]();}}['_onConnectionOpen'](_0xbd9f66){var _0x22a81f=_0xa33034;this[_0x22a81f(0x48c)][_0x22a81f(0x213)]('[CollaborationSessionService]',_0x22a81f(0x16c)),_0xbd9f66[_0x22a81f(0x26d)]({'cmd':CombCmd['HELLO']}),this['_rescheduleHeartbeat']();}[_0xa33034(0x1e5)](){var _0x187608=_0xa33034;this[_0x187608(0x415)]=!0x1,this[_0x187608(0x201)]=null,this['_status$']['next'](SessionStatus[_0x187608(0x235)]),this[_0x187608(0x2b1)]['next'](null),this['_clearTimeoutTimer'](),this[_0x187608(0x28c)]();}[_0xa33034(0x2e7)](){var _0x46dc51=_0xa33034,_0x4b64ac;this[_0x46dc51(0x1e5)](),this[_0x46dc51(0x1f6)]<((_0x4b64ac=this[_0x46dc51(0x36a)][_0x46dc51(0x439)](RETRY_CONNECTING_MAX_COUNT_KEY))!=null?_0x4b64ac:DEFAULT_RETRY_CONNECTING_MAX_COUNT)?(this[_0x46dc51(0x242)]['emitEvent']({'id':CollaborationUIEventId[_0x46dc51(0x1ac)]}),this[_0x46dc51(0x442)]()):this[_0x46dc51(0x242)][_0x46dc51(0x2f9)]({'id':CollaborationUIEventId[_0x46dc51(0x34e)]});}[_0xa33034(0x442)](){var _0x5ef1e=_0xa33034,_0x2972ff;const _0x526600=this['_retryCount'],_0xf5c48a=this[_0x5ef1e(0x36a)]['getConfig'](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY),_0x475969=_0x526600===0x0?0x0:((_0x2972ff=_0xf5c48a==null?void 0x0:_0xf5c48a[_0x5ef1e(0x312)])!=null?_0x2972ff:DEFAULT_RETRY_CONNECTING_INTERVAL)*0x2**_0x526600;this[_0x5ef1e(0x42a)]=setTimeout(()=>{var _0x548ef0=_0x5ef1e;clearTimeout(this['_retryConnectingTimer']),this[_0x548ef0(0x42a)]=null,this[_0x548ef0(0x45a)]();},_0x475969),this[_0x5ef1e(0x1f6)]+=0x1;}[_0xa33034(0x48a)](_0x576c1b,_0x12fe4a){var _0x1ef7bb=_0xa33034;const {cmd:_0x430d7e}=_0x12fe4a;_0x430d7e===CombCmd[_0x1ef7bb(0x486)]&&!this['_socketReady']&&(_0x576c1b['memberID']=_0x12fe4a[_0x1ef7bb(0x2c1)][_0x1ef7bb(0x3b9)],this[_0x1ef7bb(0x2b1)][_0x1ef7bb(0x17a)](_0x576c1b),this[_0x1ef7bb(0x233)][_0x1ef7bb(0x17a)](SessionStatus[_0x1ef7bb(0x2ac)]),this['_socketReady']=!0x0,this[_0x1ef7bb(0x201)]=null),_0x430d7e===CombCmd[_0x1ef7bb(0x1c1)]&&this['_clearTimeoutTimer'](),this[_0x1ef7bb(0x200)]();}[_0xa33034(0x200)](){var _0x1f976a=_0xa33034,_0x22b091;this[_0x1f976a(0x28c)](),this[_0x1f976a(0x47c)]=setTimeout(()=>this[_0x1f976a(0x130)](),(_0x22b091=this['_configService']['getConfig'](HEARTBEAT_INTERVAL_KEY))!=null?_0x22b091:DEFAULT_HEARTBEAT_INTERVAL);}[_0xa33034(0x130)](){var _0x271cd6=_0xa33034;this[_0x271cd6(0x181)][_0x271cd6(0x26d)]({'cmd':CombCmd[_0x271cd6(0x1c1)]}),this[_0x271cd6(0x37f)]();}['_waitForHeartbeatResponse'](){var _0x756f60=_0xa33034,_0x3fafe2;this[_0x756f60(0x2ec)]=setTimeout(()=>this[_0x756f60(0x2e7)](),(_0x3fafe2=this[_0x756f60(0x36a)][_0x756f60(0x439)](HEARTBEAT_TIMEOUT_KEY))!=null?_0x3fafe2:DEFAULT_HEARTBEAT_TIMEOUT);}[_0xa33034(0x28c)](){var _0x2116dd=_0xa33034;this[_0x2116dd(0x47c)]!=null&&(clearTimeout(this[_0x2116dd(0x47c)]),this[_0x2116dd(0x47c)]=null);}['_clearTimeoutTimer'](){var _0x31236c=_0xa33034;this[_0x31236c(0x2ec)]!=null&&(clearTimeout(this[_0x31236c(0x2ec)]),this[_0x31236c(0x2ec)]=null);}},__name(_a4,_0xa33034(0x35c)),_a4);CollaborationSessionService=__decorateClass$f([__decorateParam$f(0x0,Inject(Injector)),__decorateParam$f(0x1,ILogService),__decorateParam$f(0x2,IConfigService),__decorateParam$f(0x3,ICollaborationSocketService),__decorateParam$f(0x4,Inject(HTTPService)),__decorateParam$f(0x5,Inject(CollaborationUIEventService)),__decorateParam$f(0x6,Optional(INetworkConditionService))],CollaborationSessionService);const byteToHex=[];for(let i=0x0;i<0x100;++i)byteToHex[_0xa33034(0x34a)]((i+0x100)[_0xa33034(0x1fa)](0x10)['slice'](0x1));function unsafeStringify(_0x2488eb,_0x17f4f7=0x0){return(byteToHex[_0x2488eb[_0x17f4f7+0x0]]+byteToHex[_0x2488eb[_0x17f4f7+0x1]]+byteToHex[_0x2488eb[_0x17f4f7+0x2]]+byteToHex[_0x2488eb[_0x17f4f7+0x3]]+'-'+byteToHex[_0x2488eb[_0x17f4f7+0x4]]+byteToHex[_0x2488eb[_0x17f4f7+0x5]]+'-'+byteToHex[_0x2488eb[_0x17f4f7+0x6]]+byteToHex[_0x2488eb[_0x17f4f7+0x7]]+'-'+byteToHex[_0x2488eb[_0x17f4f7+0x8]]+byteToHex[_0x2488eb[_0x17f4f7+0x9]]+'-'+byteToHex[_0x2488eb[_0x17f4f7+0xa]]+byteToHex[_0x2488eb[_0x17f4f7+0xb]]+byteToHex[_0x2488eb[_0x17f4f7+0xc]]+byteToHex[_0x2488eb[_0x17f4f7+0xd]]+byteToHex[_0x2488eb[_0x17f4f7+0xe]]+byteToHex[_0x2488eb[_0x17f4f7+0xf]])['toLowerCase']();}__name(unsafeStringify,_0xa33034(0x255));let getRandomValues;const rnds8=new Uint8Array(0x10);function rng(){var _0x107794=_0xa33034;if(!getRandomValues){if(typeof crypto>'u'||!crypto[_0x107794(0x31b)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');getRandomValues=crypto[_0x107794(0x31b)][_0x107794(0x1e6)](crypto);}return getRandomValues(rnds8);}__name(rng,_0xa33034(0x170));const randomUUID=typeof crypto<'u'&&crypto[_0xa33034(0x411)]&&crypto[_0xa33034(0x411)][_0xa33034(0x1e6)](crypto),native={'randomUUID':randomUUID};function v4(_0x552c6e,_0x3ec9b4,_0x56b77e){var _0xd69383=_0xa33034,_0x5eb506,_0x51f3d3,_0x2b9b99;if(native[_0xd69383(0x411)]&&!_0x552c6e)return native['randomUUID']();_0x552c6e=_0x552c6e||{};const _0x1b928d=(_0x2b9b99=(_0x51f3d3=_0x552c6e[_0xd69383(0x2e0)])!=null?_0x51f3d3:(_0x5eb506=_0x552c6e[_0xd69383(0x170)])==null?void 0x0:_0x5eb506[_0xd69383(0x451)](_0x552c6e))!=null?_0x2b9b99:rng();if(_0x1b928d[_0xd69383(0x271)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x1b928d[0x6]=_0x1b928d[0x6]&0xf|0x40,_0x1b928d[0x8]=_0x1b928d[0x8]&0x3f|0x80,unsafeStringify(_0x1b928d);}__name(v4,'v4');const ILocalCacheService=createIdentifier(_0xa33034(0x20c));function getLocalCacheKey(_0x347087){var _0x359ccd=_0xa33034;return _0x359ccd(0x24f)+_0x347087;}__name(getLocalCacheKey,_0xa33034(0x135));var __defProp$e=Object[_0xa33034(0x2e1)],__getOwnPropDesc$e=Object[_0xa33034(0x29f)],__decorateClass$e=__name((_0x561fa6,_0x2ed6a5,_0x4d91a0,_0x8faebc)=>{var _0x3e74a5=_0xa33034;for(var _0x13344c=_0x8faebc>0x1?void 0x0:_0x8faebc?__getOwnPropDesc$e(_0x2ed6a5,_0x4d91a0):_0x2ed6a5,_0x116947=_0x561fa6[_0x3e74a5(0x271)]-0x1,_0x2271e8;_0x116947>=0x0;_0x116947--)(_0x2271e8=_0x561fa6[_0x116947])&&(_0x13344c=(_0x8faebc?_0x2271e8(_0x2ed6a5,_0x4d91a0,_0x13344c):_0x2271e8(_0x13344c))||_0x13344c);return _0x8faebc&&_0x13344c&&__defProp$e(_0x2ed6a5,_0x4d91a0,_0x13344c),_0x13344c;},_0xa33034(0x206)),__decorateParam$e=__name((_0x46b873,_0x1de976)=>(_0xa7bfbe,_0x4046ef)=>_0x1de976(_0xa7bfbe,_0x4046ef,_0x46b873),_0xa33034(0x354));function extractTargetFromFirstChangeset(_0x32c990){const {unitID:_0xfd0fab,mutations:_0xa283c8}=_0x32c990;return{'unitId':_0xfd0fab,'subUnitId':_0xa283c8[0x0]['params']['subUnitId']};}__name(extractTargetFromFirstChangeset,_0xa33034(0x369));var _a5;let SheetTransformSelectionsService=(_a5=class{constructor(_0x1da1fb,_0x3d76c5,_0x2f5064){var _0x19daf6=_0xa33034;this['_injector']=_0x1da1fb,this[_0x19daf6(0x158)]=_0x3d76c5,this[_0x19daf6(0x41b)]=_0x2f5064;}[_0xa33034(0x22c)](_0x391df5){var _0x2ace3f=_0xa33034,_0x5bbef9,_0x4852c5,_0x1d95b6,_0x321c74;const _0x541c46=this[_0x2ace3f(0x39e)][_0x2ace3f(0x38a)](SheetsSelectionsService),{unitId:_0x25cb01,subUnitId:_0x48c780}=extractTargetFromFirstChangeset(_0x391df5),_0x35a29f=_0x541c46==null?void 0x0:_0x541c46['getWorkbookSelections'](_0x25cb01)[_0x2ace3f(0x28d)](),_0xdda4f2=(_0x4852c5=(_0x5bbef9=this['_instanceService'][_0x2ace3f(0x32d)](_0x25cb01))==null?void 0x0:_0x5bbef9['getActiveSheet']())==null?void 0x0:_0x4852c5['getSheetId']();if(_0x35a29f[_0x2ace3f(0x271)]===0x0||!_0x25cb01||!_0x48c780)return;const _0x4a2593=[{'id':SetSelectionsOperation['id'],'params':{'unitId':_0x25cb01,'subUnitId':_0xdda4f2,'selections':Tools[_0x2ace3f(0x343)](_0x35a29f)}}],_0x2769f9=this[_0x2ace3f(0x158)][_0x2ace3f(0x142)](_0x391df5,_0x4a2593);if(!isTransformMutationsWithChangesetSuccess(_0x2769f9))throw _0x2769f9[_0x2ace3f(0x1c4)];const _0x42ab6a=(_0x321c74=(_0x1d95b6=_0x2769f9[_0x2ace3f(0x16f)][0x0])==null?void 0x0:_0x1d95b6[_0x2ace3f(0x468)])==null?void 0x0:_0x321c74[_0x2ace3f(0x2b2)];if(Array[_0x2ace3f(0x3cc)](_0x42ab6a)&&_0x42ab6a[_0x2ace3f(0x271)]){if(_0x42ab6a[_0x2ace3f(0x271)]===_0x4a2593[0x0][_0x2ace3f(0x468)]['selections'][_0x2ace3f(0x271)]&&_0x42ab6a[_0x2ace3f(0x460)]((_0x54e916,_0x585a3f)=>Rectangle[_0x2ace3f(0x2cd)](_0x54e916[_0x2ace3f(0x3ef)],_0x4a2593[0x0][_0x2ace3f(0x468)]['selections'][_0x585a3f]['range'])))return;this['_injector']['get'](ICommandService)[_0x2ace3f(0x2bc)](SetSelectionsOperation['id'],{'unitId':_0x25cb01,'subUnitId':_0xdda4f2,'selections':_0x42ab6a});}}},__name(_a5,'SheetTransformSelectionsService'),_a5);SheetTransformSelectionsService=__decorateClass$e([__decorateParam$e(0x0,Inject(Injector)),__decorateParam$e(0x1,ITransformService),__decorateParam$e(0x2,IUniverInstanceService)],SheetTransformSelectionsService);const ISingleActiveUnitService=createIdentifier(_0xa33034(0x145));var UnitStatus=(_0x2a8343=>(_0x2a8343[_0x2a8343[_0xa33034(0x204)]=0x0]=_0xa33034(0x204),_0x2a8343[_0x2a8343[_0xa33034(0x431)]=0x1]=_0xa33034(0x431),_0x2a8343))(UnitStatus||{});const SINGLE_CHANGESET_MUTATIONS=new Set([InsertSheetMutation['id']]);function assembleSheetChangeset(_0x2d04a5,_0x29295a,_0x32280b,_0x132471,_0x30f00e){var _0x30cdb4=_0xa33034,_0x351006,_0x5ac71f,_0x4e79b5,_0x204959;const _0x31f1b4=[];for(const _0xa9dfd0 of _0x2d04a5)if(SINGLE_CHANGESET_MUTATIONS['has'](_0xa9dfd0['id'])){if(_0x31f1b4[_0x30cdb4(0x271)]>0x0)break;_0x31f1b4[_0x30cdb4(0x34a)](_0xa9dfd0);break;}else _0x31f1b4['push'](_0xa9dfd0);const _0x5279f4=(_0x5ac71f=(_0x351006=_0x30f00e[_0x30cdb4(0x26f)]())==null?void 0x0:_0x351006[_0x30cdb4(0x376)])!=null?_0x5ac71f:'unknown',_0x1053e0=(_0x204959=(_0x4e79b5=_0x30f00e['getCurrentUser']())==null?void 0x0:_0x4e79b5[_0x30cdb4(0x3b9)])!=null?_0x204959:'unknown';return{'changeset':{'unitID':_0x29295a,'type':mapDocumentTypeToUniverType(_0x32280b[_0x30cdb4(0x34c)](_0x29295a)),'baseRev':_0x132471['getCurrentRevOfUnit'](_0x29295a),'revision':0x0,'userID':_0x5279f4,'memberID':_0x1053e0,'mutations':_0x31f1b4},'pendingMutations':_0x2d04a5[_0x30cdb4(0x178)](_0x31f1b4[_0x30cdb4(0x271)])};}__name(assembleSheetChangeset,_0xa33034(0x463));function assembleDocChangeset(_0x5db3ec,_0x173643,_0x2d529f,_0x2fd72b,_0x2ebaea){var _0x1dd28f=_0xa33034,_0x2df708,_0x4abb0a,_0x54d244,_0x314e6e;const _0x1ac57a=[_0x5db3ec[_0x1dd28f(0x3f4)]((_0x1bc4a6,_0x18e65d)=>{var _0x39e323=_0x1dd28f,_0x5292ac;const {id:_0x59300f}=_0x1bc4a6,{id:_0x4ff15b,type:_0x4a5e6d}=_0x18e65d,_0x2d99e8=(_0x5292ac=_0x1bc4a6['params'])!=null?_0x5292ac:{'actions':null},_0x609521=_0x18e65d[_0x39e323(0x468)];if(_0x59300f&&_0x59300f!==_0x4ff15b)throw new Error(_0x39e323(0x23f)+_0x59300f+'\x20-\x20'+_0x4ff15b+'.');return{..._0x1bc4a6,'id':_0x4ff15b,'type':_0x4a5e6d,'params':{'unitId':_0x609521[_0x39e323(0x199)],'textRanges':_0x609521[_0x39e323(0x326)],'actions':JSONX[_0x39e323(0x2e4)](_0x2d99e8['actions'],_0x609521[_0x39e323(0x292)])}};},{})],_0x1a042a=(_0x4abb0a=(_0x2df708=_0x2ebaea[_0x1dd28f(0x26f)]())==null?void 0x0:_0x2df708[_0x1dd28f(0x376)])!=null?_0x4abb0a:_0x1dd28f(0x35a),_0x47ec91=(_0x314e6e=(_0x54d244=_0x2ebaea[_0x1dd28f(0x26f)]())==null?void 0x0:_0x54d244[_0x1dd28f(0x3b9)])!=null?_0x314e6e:_0x1dd28f(0x35a);return{'changeset':{'unitID':_0x173643,'type':mapDocumentTypeToUniverType(_0x2d529f[_0x1dd28f(0x34c)](_0x173643)),'baseRev':_0x2fd72b[_0x1dd28f(0x136)](_0x173643),'revision':0x0,'userID':_0x1a042a,'memberID':_0x47ec91,'mutations':_0x1ac57a},'pendingMutations':[]};}__name(assembleDocChangeset,_0xa33034(0x263));function createTimerObservable$(_0x66bc28,_0x16cb0e){var _0x4264d0=_0xa33034;const _0x596b04=new ReplaySubject(0x1);return setTimeout(()=>_0x596b04['next'](_0x16cb0e),_0x66bc28),_0x596b04[_0x4264d0(0x3b2)]()[_0x4264d0(0x2c8)](_0x1bd1bc(0x1));}__name(createTimerObservable$,_0xa33034(0x475));const EmptyMutationInfo={'id':EmptyMutation['id'],'type':CommandType[_0xa33034(0x448)],'params':{}};var __defProp$d=Object[_0xa33034(0x2e1)],__getOwnPropDesc$d=Object['getOwnPropertyDescriptor'],__decorateClass$d=__name((_0x6f8916,_0x839071,_0x4d84cd,_0xaaf24a)=>{var _0x3ca0eb=_0xa33034;for(var _0x59a4e5=_0xaaf24a>0x1?void 0x0:_0xaaf24a?__getOwnPropDesc$d(_0x839071,_0x4d84cd):_0x839071,_0x434cb6=_0x6f8916[_0x3ca0eb(0x271)]-0x1,_0xd84323;_0x434cb6>=0x0;_0x434cb6--)(_0xd84323=_0x6f8916[_0x434cb6])&&(_0x59a4e5=(_0xaaf24a?_0xd84323(_0x839071,_0x4d84cd,_0x59a4e5):_0xd84323(_0x59a4e5))||_0x59a4e5);return _0xaaf24a&&_0x59a4e5&&__defProp$d(_0x839071,_0x4d84cd,_0x59a4e5),_0x59a4e5;},_0xa33034(0x1e2)),__decorateParam$d=__name((_0x2508ac,_0x2d3122)=>(_0x392136,_0x57341c)=>_0x2d3122(_0x392136,_0x57341c,_0x2508ac),'__decorateParam$d'),CollaborationStatus=(_0x2966fd=>(_0x2966fd[_0xa33034(0x239)]=_0xa33034(0x180),_0x2966fd[_0xa33034(0x23d)]=_0xa33034(0x364),_0x2966fd[_0xa33034(0x3b1)]=_0xa33034(0x380),_0x2966fd[_0xa33034(0x249)]=_0xa33034(0x162),_0x2966fd[_0xa33034(0x195)]=_0xa33034(0x1dc),_0x2966fd['FETCH_MISS']=_0xa33034(0x3a9),_0x2966fd[_0xa33034(0x250)]=_0xa33034(0x192),_0x2966fd[_0xa33034(0x235)]='offline',_0x2966fd))(CollaborationStatus||{});const MAX_RETRY_TIMEOUT=0xea60,_CollaborationState=class _CollaborationState{constructor(_0x3572e8,_0x2a3a32,_0x294df0,_0x608c49,_0x256818,_0xdd93a5,_0x7ee335,_0x3a9598,_0x1eeee6){var _0x74628c=_0xa33034;__publicField(this,_0x74628c(0x434),null),__publicField(this,_0x74628c(0x40f),[]),(this['unitID']=_0x3572e8,this[_0x74628c(0x3e5)]=_0x2a3a32,this['_handler']=_0x256818,this[_0x74628c(0x401)]=_0xdd93a5,this[_0x74628c(0x456)]=_0x7ee335,this['_revisionService']=_0x3a9598,this[_0x74628c(0x48b)]=_0x1eeee6,this['_awaitingChangeset']=_0x294df0,this[_0x74628c(0x40f)]=_0x608c49);}[_0xa33034(0x438)](_0x9cfc86){var _0x34bdfe=_0xa33034;const _0x12e6fd=this['_revisionService'][_0x34bdfe(0x136)](this[_0x34bdfe(0x259)]);return _0x9cfc86[_0x34bdfe(0x1ab)]>_0x12e6fd+0x1?(this['_handler']['onMissingChangesets']({'from':_0x12e6fd,'to':_0x9cfc86['revision']-0x1}),!0x0):!0x1;}[_0xa33034(0x3b3)](_0x5b6934){var _0x503c88=_0xa33034;this[_0x503c88(0x456)][_0x503c88(0x1c9)](this[_0x503c88(0x259)],_0x5b6934);}[_0xa33034(0x406)](_0x79adce){var _0x21cb07=_0xa33034,_0x482e56,_0x107742;(_0x107742=(_0x482e56=this[_0x21cb07(0x45e)])['onTransformSelections'])==null||_0x107742[_0x21cb07(0x451)](_0x482e56,_0x79adce);}['_transformIMECache'](_0x22d815){var _0x264804=_0xa33034,_0x16f144,_0xf3d1ce;return(_0xf3d1ce=(_0x16f144=this[_0x264804(0x45e)])[_0x264804(0x15a)])==null?void 0x0:_0xf3d1ce[_0x264804(0x451)](_0x16f144,_0x22d815);}[_0xa33034(0x185)](_0x3562cf){var _0x258666=_0xa33034,_0x16d3a0,_0x1b8d20;return(_0x1b8d20=(_0x16d3a0=this[_0x258666(0x45e)])[_0x258666(0x340)])==null?void 0x0:_0x1b8d20[_0x258666(0x451)](_0x16d3a0,_0x3562cf);}['_transformRemoteChangesetByIMECache'](_0x237cca){var _0x1543e8=_0xa33034,_0x3f47cf,_0x11ab09,_0x1526c9;return(_0x1526c9=(_0x11ab09=(_0x3f47cf=this[_0x1543e8(0x45e)])[_0x1543e8(0x2c7)])==null?void 0x0:_0x11ab09[_0x1543e8(0x451)](_0x3f47cf,_0x237cca))!=null?_0x1526c9:_0x237cca;}[_0xa33034(0x41f)](_0x1f23a6){var _0x25fc66=_0xa33034,_0x183e94,_0x1b0ad6,_0xc6e022;return(_0xc6e022=(_0x1b0ad6=(_0x183e94=this[_0x25fc66(0x45e)])[_0x25fc66(0x39b)])==null?void 0x0:_0x1b0ad6['call'](_0x183e94,_0x1f23a6))!=null?_0xc6e022:_0x1f23a6;}[_0xa33034(0x1f5)](_0x53bef2){var _0x582836=_0xa33034,_0x1dbfae,_0x23173e;if(this[_0x582836(0x3e5)]===UniverType[_0x582836(0x36b)]){const {unitID:_0x36e470,mutations:_0x369b0a,memberID:_0x1ad214}=_0x53bef2,_0x573342=_0x369b0a[0x0]['params'][_0x582836(0x326)];Array[_0x582836(0x3cc)](_0x573342)&&_0x573342[_0x582836(0x271)]>0x0&&((_0x23173e=(_0x1dbfae=this[_0x582836(0x45e)])['onSyncEditingCollabCursor'])==null||_0x23173e[_0x582836(0x451)](_0x1dbfae,{'unitID':_0x36e470,'memberID':_0x1ad214,'textRanges':_0x573342}));}}['_updateLocalCache'](){var _0x32c23d=_0xa33034,_0x3c4e46;(_0x3c4e46=this[_0x32c23d(0x48b)])==null||_0x3c4e46['updateOfflineData'](this[_0x32c23d(0x259)],this[_0x32c23d(0x3e5)],this[_0x32c23d(0x434)],this[_0x32c23d(0x40f)]);}[_0xa33034(0x13c)](){var _0x5f1993=_0xa33034;return this[_0x5f1993(0x389)][_0x5f1993(0x136)](this[_0x5f1993(0x259)]);}[_0xa33034(0x42f)](){var _0x1e995c=_0xa33034;this[_0x1e995c(0x389)]['incrementRevOfUnit'](this[_0x1e995c(0x259)]);}[_0xa33034(0x1d6)](_0xb99731){var _0x25065e=_0xa33034,_0x2d3246;let _0x4e5158=this['_transformRemoteChangesetByIMECache'](_0xb99731);_0x4e5158=this[_0x25065e(0x41f)](_0x4e5158);const _0x4f00d9=sequenceExecute(_0x4e5158[_0x25065e(0x217)],this[_0x25065e(0x401)],{'fromCollab':!0x0});if(!_0x4f00d9[_0x25065e(0x265)])throw _0x4f00d9[_0x25065e(0x1c4)]instanceof Error?_0x4f00d9['error']:new Error((_0x2d3246=_0x4f00d9[_0x25065e(0x1c4)])!=null?_0x2d3246:_0x25065e(0x38b));this['_transformIMECache'](_0x4e5158),this['_transformStateCache'](_0x4e5158),this[_0x25065e(0x3b3)](_0xb99731),this[_0x25065e(0x406)](_0x4e5158),this['_syncEditingCollabCursor'](_0x4e5158),this[_0x25065e(0x42f)]();}};__name(_CollaborationState,'CollaborationState');let CollaborationState=_CollaborationState;var _a6;let SyncedState=(_a6=class extends CollaborationState{constructor(_0x2c55e7,_0x50f388,_0x3ef733,_0x7fc365,_0x3e8f30,_0x271416,_0xa22405,_0x327574,_0x190052,_0xa77fb8){var _0x3a4505=_0xa33034;super(_0x2c55e7,_0x50f388,null,[],_0x3ef733,_0xa22405,_0x271416,_0x7fc365,_0xa77fb8),__publicField(this,_0x3a4505(0x458),_0x3a4505(0x364)),(this[_0x3a4505(0x39e)]=_0x3e8f30,this[_0x3a4505(0x48c)]=_0x327574,this['_transformService']=_0x190052,this[_0x3a4505(0x254)]=_0xa77fb8);}[_0xa33034(0x244)](_0x937f5f){var _0x9190de=_0xa33034;const _0x461461=this[_0x9190de(0x39e)]['createInstance'](PendingState,this[_0x9190de(0x259)],this[_0x9190de(0x3e5)],[_0x937f5f],this[_0x9190de(0x45e)]);return _0x461461['_schedule'](),_0x461461['_updateLocalCache'](),_0x461461;}[_0xa33034(0x41c)](_0x46590a){var _0x495017=_0xa33034;if(this[_0x495017(0x438)](_0x46590a))return this[_0x495017(0x39e)][_0x495017(0x465)](FetchingMissState,this['unitID'],this[_0x495017(0x3e5)],null,[],null,[_0x46590a],this[_0x495017(0x45e)]);try{const _0x582deb=this['_transformService'][_0x495017(0x142)](_0x46590a,[EmptyMutationInfo]);if(isTransformMutationsWithChangesetSuccess(_0x582deb)){const {c1Prime:_0x1c50c4}=_0x582deb;return this[_0x495017(0x1d6)](_0x1c50c4),this;}throw _0x582deb['error'];}catch(_0x377091){return this['_logService'][_0x495017(0x1c4)](_0x377091),this[_0x495017(0x302)](!0x1);}}[_0xa33034(0x302)](_0x40a41a){var _0x131866=_0xa33034;return this[_0x131866(0x39e)][_0x131866(0x465)](ConflictState,this['unitID'],this[_0x131866(0x3e5)],null,[],this['_handler'],_0x40a41a);}[_0xa33034(0x2e2)](){var _0x4bf7ea=_0xa33034;throw new Error(_0x4bf7ea(0x19d));}['onRemoteRej'](){var _0x15419f=_0xa33034;throw new Error(_0x15419f(0x35b));}[_0xa33034(0x20e)](){return this;}[_0xa33034(0x3e7)](){var _0x1c0f9f=_0xa33034;return this[_0x1c0f9f(0x39e)][_0x1c0f9f(0x465)](OfflineState,this['unitID'],this[_0x1c0f9f(0x3e5)],null,[],this[_0x1c0f9f(0x45e)]);}[_0xa33034(0x2a5)](){return this;}[_0xa33034(0x3ee)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xa33034(0x1a8)](){var _0x3c6174=_0xa33034;const _0x107b49=this[_0x3c6174(0x389)][_0x3c6174(0x136)](this['unitID']);return this['_handler'][_0x3c6174(0x319)]({'from':_0x107b49,'to':0x0}),this[_0x3c6174(0x39e)]['createInstance'](FetchingMissState,this[_0x3c6174(0x259)],this[_0x3c6174(0x3e5)],null,[],null,[],this[_0x3c6174(0x45e)]);}},__name(_a6,_0xa33034(0x294)),_a6);SyncedState=__decorateClass$d([__decorateParam$d(0x3,Inject(RevisionService)),__decorateParam$d(0x4,Inject(Injector)),__decorateParam$d(0x5,IUndoRedoService),__decorateParam$d(0x6,ICommandService),__decorateParam$d(0x7,ILogService),__decorateParam$d(0x8,ITransformService),__decorateParam$d(0x9,Optional(ILocalCacheService))],SyncedState);var _a7;let PendingState=(_a7=class extends CollaborationState{constructor(_0x3ef441,_0xa66e57,_0x1b7ee8,_0x188a9b,_0x1e75eb,_0x3e2184,_0x3caa88,_0xa5075a,_0x2fe948,_0x38f05c,_0x52c2d2,_0xdf12e4,_0x40fad6,_0x41d365){var _0x2d35db=_0xa33034;super(_0x3ef441,_0xa66e57,null,_0x1b7ee8,_0x188a9b,_0x2fe948,_0x40fad6,_0x3e2184,_0x41d365),__publicField(this,_0x2d35db(0x458),_0x2d35db(0x380)),__publicField(this,'_scheduleCompleteTimestamp',null),__publicField(this,_0x2d35db(0x318),null),(this[_0x2d35db(0x39e)]=_0x1e75eb,this[_0x2d35db(0x172)]=_0x3caa88,this[_0x2d35db(0x48c)]=_0xa5075a,this[_0x2d35db(0x36a)]=_0x38f05c,this[_0x2d35db(0x158)]=_0x52c2d2,this[_0x2d35db(0x40d)]=_0xdf12e4);}[_0xa33034(0x244)](_0x2b8c2c){var _0x40748f=_0xa33034;return this[_0x40748f(0x40f)][_0x40748f(0x34a)](_0x2b8c2c),this['_updateLocalCache'](),this;}[_0xa33034(0x41c)](_0x4cab73){var _0x3a7ad0=_0xa33034;if(this[_0x3a7ad0(0x438)](_0x4cab73))return this['_clearScheduledTask'](),this[_0x3a7ad0(0x39e)][_0x3a7ad0(0x465)](FetchingMissState,this[_0x3a7ad0(0x259)],this['type'],null,this[_0x3a7ad0(0x40f)],null,[_0x4cab73],this[_0x3a7ad0(0x45e)]);try{const _0x2a36ab=this[_0x3a7ad0(0x158)][_0x3a7ad0(0x142)](_0x4cab73,this['_pendingMutations']);if(isTransformMutationsWithChangesetSuccess(_0x2a36ab)){const {c1Prime:_0x38ad91,m2Prime:_0x248cd4}=_0x2a36ab;this['_executeRemoteChangeset'](_0x38ad91);const _0x4265a1=this[_0x3a7ad0(0x39e)]['createInstance'](PendingState,this[_0x3a7ad0(0x259)],this[_0x3a7ad0(0x3e5)],_0x248cd4,this[_0x3a7ad0(0x45e)]);this['_clearScheduledTask']();const _0x464614=new Date()['getTime'](),_0x15c1f7=this[_0x3a7ad0(0x435)]?Math['max'](this[_0x3a7ad0(0x435)]-_0x464614,0x0):this[_0x3a7ad0(0x268)]();return _0x4265a1[_0x3a7ad0(0x12b)](_0x15c1f7),_0x4265a1;}throw _0x2a36ab['error'];}catch(_0x149c42){return this[_0x3a7ad0(0x48c)][_0x3a7ad0(0x1c4)](_0x149c42),this[_0x3a7ad0(0x302)](!0x1);}}['onRemoteAck'](){var _0x2fc53c=_0xa33034;throw new Error(_0x2fc53c(0x35e));}[_0xa33034(0x331)](){var _0x1a0dca=_0xa33034;throw new Error(_0x1a0dca(0x2b4));}[_0xa33034(0x20e)](){return this;}['toggleOffline'](){var _0x140d3f=_0xa33034;return this[_0x140d3f(0x329)](),this[_0x140d3f(0x39e)][_0x140d3f(0x465)](OfflineState,this[_0x140d3f(0x259)],this[_0x140d3f(0x3e5)],null,this[_0x140d3f(0x40f)],this[_0x140d3f(0x45e)]);}[_0xa33034(0x2a5)](){return this;}[_0xa33034(0x12b)](_0x2f927d){var _0x21eb3f=_0xa33034;const _0x4314f8=_0x2f927d!=null?_0x2f927d:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x21eb3f(0x232)]()+_0x4314f8,this[_0x21eb3f(0x318)]=setTimeout(()=>{var _0x2d6724=_0x21eb3f;this[_0x2d6724(0x329)]();let _0x3d19ee=null;switch(this[_0x2d6724(0x3e5)]){case UniverType[_0x2d6724(0x1d0)]:{_0x3d19ee=assembleSheetChangeset(this[_0x2d6724(0x40f)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}case UniverType[_0x2d6724(0x36b)]:{this['_pendingMutations'][_0x2d6724(0x460)](_0x54326e=>_0x54326e['id']===RichTextEditingMutation['id'])?_0x3d19ee=assembleDocChangeset(this[_0x2d6724(0x40f)],this['unitID'],this['_univerInstanceService'],this[_0x2d6724(0x389)],this[_0x2d6724(0x172)]):_0x3d19ee=assembleSheetChangeset(this[_0x2d6724(0x40f)],this['unitID'],this[_0x2d6724(0x40d)],this[_0x2d6724(0x389)],this[_0x2d6724(0x172)]);break;}default:throw new Error(_0x2d6724(0x443)+this[_0x2d6724(0x3e5)]+_0x2d6724(0x440));}const {changeset:_0x263252,pendingMutations:_0x2c47f9}=_0x3d19ee;this[_0x2d6724(0x45e)]['onSendChangeset'](_0x263252);const _0x151ff0=_0x2c47f9[_0x2d6724(0x271)]?this[_0x2d6724(0x39e)][_0x2d6724(0x465)](AwaitingWithPendingState,this[_0x2d6724(0x259)],this[_0x2d6724(0x3e5)],_0x263252,_0x2c47f9,this['_handler'],void 0x0):this[_0x2d6724(0x39e)]['createInstance'](AwaitingState,this[_0x2d6724(0x259)],this['type'],_0x263252,this['_handler']);_0x151ff0[_0x2d6724(0x2ab)](),this[_0x2d6724(0x45e)][_0x2d6724(0x46a)](this,_0x151ff0);},_0x4314f8);}[_0xa33034(0x268)](){var _0x337772=_0xa33034,_0x42d24b;const _0x33d402=this['_configService'][_0x337772(0x439)](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x42d24b=_0x33d402==null?void 0x0:_0x33d402[_0x337772(0x1cb)])!=null?_0x42d24b:DEFAULT_SEND_CHANGESET_TIMEOUT;}[_0xa33034(0x3ee)](){var _0x3367e6=_0xa33034;throw new Error(_0x3367e6(0x1c5));}['_clearScheduledTask'](){var _0x5ede12=_0xa33034;this[_0x5ede12(0x318)]!=null&&(clearTimeout(this[_0x5ede12(0x318)]),this[_0x5ede12(0x318)]=null);}[_0xa33034(0x302)](_0x79efc9){var _0x5dac48=_0xa33034;return this[_0x5dac48(0x329)](),this['_injector'][_0x5dac48(0x465)](ConflictState,this[_0x5dac48(0x259)],this['type'],null,this[_0x5dac48(0x40f)],this[_0x5dac48(0x45e)],_0x79efc9);}},__name(_a7,_0xa33034(0x1cc)),_a7);PendingState=__decorateClass$d([__decorateParam$d(0x4,Inject(Injector)),__decorateParam$d(0x5,Inject(RevisionService)),__decorateParam$d(0x6,Inject(MemberService)),__decorateParam$d(0x7,ILogService),__decorateParam$d(0x8,ICommandService),__decorateParam$d(0x9,IConfigService),__decorateParam$d(0xa,ITransformService),__decorateParam$d(0xb,IUniverInstanceService),__decorateParam$d(0xc,IUndoRedoService),__decorateParam$d(0xd,Optional(ILocalCacheService))],PendingState);var _a8;let AwaitingState=(_a8=class extends CollaborationState{constructor(_0x2050be,_0x3f7437,_0x5ac4bc,_0x24444e,_0x30760b,_0x1c9ee0,_0x4e094e,_0x3c2b45,_0x4dc465,_0x42f283,_0x2483c5){var _0x3f09cb=_0xa33034;super(_0x2050be,_0x3f7437,_0x5ac4bc,[],_0x24444e,_0x4e094e,_0x42f283,_0x1c9ee0,_0x2483c5),__publicField(this,_0x3f09cb(0x458),_0x3f09cb(0x162)),__publicField(this,_0x3f09cb(0x220),0x0),__publicField(this,'_resendTimer'),__publicField(this,'_sender'),(this[_0x3f09cb(0x39e)]=_0x30760b,this['_logService']=_0x3c2b45,this['_transformService']=_0x4dc465);}[_0xa33034(0x244)](_0x41124f){var _0x1fdad2=_0xa33034;this[_0x1fdad2(0x329)]();const _0x5be1f2=this[_0x1fdad2(0x39e)]['createInstance'](AwaitingWithPendingState,this['unitID'],this[_0x1fdad2(0x3e5)],this[_0x1fdad2(0x434)],[_0x41124f],this[_0x1fdad2(0x45e)],this['_resendTimer']);return _0x5be1f2[_0x1fdad2(0x2ab)](),_0x5be1f2;}[_0xa33034(0x41c)](_0x2f9313){var _0x4f848f=_0xa33034;if(this[_0x4f848f(0x438)](_0x2f9313))return this[_0x4f848f(0x329)](),this[_0x4f848f(0x39e)][_0x4f848f(0x465)](FetchingMissState,this['unitID'],this[_0x4f848f(0x3e5)],this[_0x4f848f(0x434)],[],null,[_0x2f9313],this['_handler']);try{const _0x5a9ab1=this[_0x4f848f(0x158)][_0x4f848f(0x266)]([_0x2f9313],[this[_0x4f848f(0x434)]],!0x1);if(isTransformChangesetsSuccess(_0x5a9ab1)){const {c1Prime:_0x357561,c2Prime:_0xa64278}=_0x5a9ab1;this[_0x4f848f(0x1d6)](_0x357561[0x0]),_0xa64278[0x0]['baseRev']=this[_0x4f848f(0x13c)](),this['_clearScheduledTask']();const _0x42ea3a=this[_0x4f848f(0x39e)][_0x4f848f(0x465)](AwaitingState,this[_0x4f848f(0x259)],this[_0x4f848f(0x3e5)],_0xa64278[0x0],this[_0x4f848f(0x45e)]);return _0x42ea3a[_0x4f848f(0x2ab)](),_0x42ea3a;}return this[_0x4f848f(0x302)](!0x1);}catch(_0x2cb931){return this[_0x4f848f(0x48c)][_0x4f848f(0x1c4)](_0x2cb931),this['_onConflict'](!0x1);}}[_0xa33034(0x2e2)](_0x3b3abd){var _0xa1f152=_0xa33034;this['_clearScheduledTask']();const _0x137294=this[_0xa1f152(0x389)][_0xa1f152(0x136)](this['unitID']);if(_0x3b3abd[_0xa1f152(0x1ab)]<_0x137294-0x1)return this;if(this[_0xa1f152(0x438)](_0x3b3abd))return this[_0xa1f152(0x39e)][_0xa1f152(0x465)](FetchingMissState,this[_0xa1f152(0x259)],this['type'],null,[],this[_0xa1f152(0x434)],[],this[_0xa1f152(0x45e)]);this[_0xa1f152(0x42f)]();const _0x599fe=this[_0xa1f152(0x39e)][_0xa1f152(0x465)](SyncedState,this[_0xa1f152(0x259)],this[_0xa1f152(0x3e5)],this[_0xa1f152(0x45e)]);return _0x599fe[_0xa1f152(0x2ab)](),_0x599fe;}[_0xa33034(0x331)](_0xe51097){return this['_onConflict'](!!(_0xe51097!=null&&_0xe51097['isPermissionRej']));}[_0xa33034(0x20e)](_0x224076){var _0x29d493=_0xa33034;return this[_0x29d493(0x220)]>MAX_RETRY_TIMEOUT?this[_0x29d493(0x3e7)]():(this['_resendTimer']=createTimerObservable$(this[_0x29d493(0x220)],{'timeout':this['_resendTimeout'],'reqId':_0x224076[_0x29d493(0x25f)]}),this[_0x29d493(0x437)]=this['_resendTimer'][_0x29d493(0x479)](({reqId:_0x4431e2,timeout:_0x3a7997})=>{this['_resendWithTimeout'](_0x4431e2,_0x3a7997);}),this);}[_0xa33034(0x3e7)](){var _0x360202=_0xa33034;return this[_0x360202(0x329)](),this['_injector'][_0x360202(0x465)](OfflineState,this['unitID'],this[_0x360202(0x3e5)],this['_awaitingChangeset'],[],this['_handler']);}[_0xa33034(0x2a5)](){return this;}[_0xa33034(0x3ee)](){var _0x56682a=_0xa33034;this[_0x56682a(0x45e)][_0x56682a(0x40a)](this[_0x56682a(0x434)]);}['_onConflict'](_0x49c879){var _0x36281d=_0xa33034;return this['_clearScheduledTask'](),this[_0x36281d(0x39e)]['createInstance'](ConflictState,this[_0x36281d(0x259)],this[_0x36281d(0x3e5)],this['_awaitingChangeset'],[],this['_handler'],_0x49c879);}['_resendWithTimeout'](_0x2b7bf5,_0x21c41a){var _0x4f6a70=_0xa33034,_0x4d4b21;_0x2b7bf5===((_0x4d4b21=this[_0x4f6a70(0x434)])==null?void 0x0:_0x4d4b21['reqId'])&&(this[_0x4f6a70(0x3ee)](),this[_0x4f6a70(0x220)]=_0x21c41a===0x0?0x3e8:_0x21c41a*0x2);}['_clearScheduledTask'](){var _0x2fdfd3=_0xa33034,_0x593e8f;(_0x593e8f=this['_sender'])==null||_0x593e8f[_0x2fdfd3(0x3b5)](),this[_0x2fdfd3(0x220)]=0x0;}},__name(_a8,_0xa33034(0x2b0)),_a8);AwaitingState=__decorateClass$d([__decorateParam$d(0x4,Inject(Injector)),__decorateParam$d(0x5,Inject(RevisionService)),__decorateParam$d(0x6,ICommandService),__decorateParam$d(0x7,ILogService),__decorateParam$d(0x8,ITransformService),__decorateParam$d(0x9,IUndoRedoService),__decorateParam$d(0xa,Optional(ILocalCacheService))],AwaitingState);var _a9;let AwaitingWithPendingState=(_a9=class extends CollaborationState{constructor(_0x1ef53c,_0x472545,_0x1c2515,_0x212544,_0x4a6a74,_0x4c7dd1,_0x16b834,_0x47080c,_0x16d456,_0x474d80,_0x3ded77,_0x14bb30,_0x258650){var _0x63f353=_0xa33034;super(_0x1ef53c,_0x472545,_0x1c2515,_0x212544,_0x4a6a74,_0x16d456,_0x14bb30,_0x47080c,_0x258650),__publicField(this,_0x63f353(0x458),_0x63f353(0x1dc)),__publicField(this,'_resendTimeout',0x0),__publicField(this,_0x63f353(0x2cf)),__publicField(this,_0x63f353(0x437)),(this['_injector']=_0x16b834,this[_0x63f353(0x48c)]=_0x474d80,this[_0x63f353(0x158)]=_0x3ded77,this[_0x63f353(0x254)]=_0x258650,_0x4c7dd1&&(this[_0x63f353(0x2cf)]=_0x4c7dd1,this['_sender']=this['_resendTimer'][_0x63f353(0x479)](({reqId:_0x32724d,timeout:_0x22bba1})=>{var _0x218d88=_0x63f353;this[_0x218d88(0x44a)](_0x32724d,_0x22bba1);})));}[_0xa33034(0x244)](_0x4eb48d){var _0x23fc23=_0xa33034;return this[_0x23fc23(0x40f)]['push'](_0x4eb48d),this;}[_0xa33034(0x41c)](_0x3dcc1d){var _0x2007c9=_0xa33034;if(this[_0x2007c9(0x438)](_0x3dcc1d))return this[_0x2007c9(0x329)](),this[_0x2007c9(0x39e)][_0x2007c9(0x465)](FetchingMissState,this[_0x2007c9(0x259)],this[_0x2007c9(0x3e5)],this[_0x2007c9(0x434)],this[_0x2007c9(0x40f)],null,[_0x3dcc1d],this['_handler']);try{const _0x2aca23=this[_0x2007c9(0x158)][_0x2007c9(0x266)]([_0x3dcc1d],[this[_0x2007c9(0x434)]],!0x1);if(isTransformChangesetsSuccess(_0x2aca23)){const {c1Prime:_0x16e2bf,c2Prime:_0x2c4f4d}=_0x2aca23,_0x2f0332=this[_0x2007c9(0x158)][_0x2007c9(0x142)](_0x16e2bf[0x0],this[_0x2007c9(0x40f)]);if(isTransformMutationsWithChangesetSuccess(_0x2f0332)){const {c1Prime:_0x3f3490,m2Prime:_0x595a80}=_0x2f0332;return this['_executeRemoteChangeset'](_0x3f3490),_0x2c4f4d[0x0][_0x2007c9(0x2bf)]=this[_0x2007c9(0x13c)](),this['_clearScheduledTask'](),this[_0x2007c9(0x39e)][_0x2007c9(0x465)](AwaitingWithPendingState,this[_0x2007c9(0x259)],this[_0x2007c9(0x3e5)],_0x2c4f4d[0x0],_0x595a80,this['_handler'],void 0x0);}throw _0x2f0332[_0x2007c9(0x1c4)];}throw _0x2aca23[_0x2007c9(0x1c4)];}catch(_0x2c7f85){return this[_0x2007c9(0x48c)][_0x2007c9(0x1c4)](_0x2c7f85),this[_0x2007c9(0x302)](!0x1);}}[_0xa33034(0x2e2)](_0x34e141){var _0x59f624=_0xa33034;if(this[_0x59f624(0x329)](),this['_checkMissing'](_0x34e141))return this['_injector'][_0x59f624(0x465)](FetchingMissState,this[_0x59f624(0x259)],this[_0x59f624(0x3e5)],null,this[_0x59f624(0x40f)],this['_awaitingChangeset'],[],this[_0x59f624(0x45e)]);this[_0x59f624(0x42f)]();const _0x2a8d58=this[_0x59f624(0x39e)]['createInstance'](PendingState,this[_0x59f624(0x259)],this[_0x59f624(0x3e5)],this['_pendingMutations'],this[_0x59f624(0x45e)]);return _0x2a8d58[_0x59f624(0x12b)](),_0x2a8d58['_updateLocalCache'](),_0x2a8d58;}['onRemoteRej'](_0x11b877){var _0x1ee15d=_0xa33034;return this[_0x1ee15d(0x302)](!!(_0x11b877!=null&&_0x11b877[_0x1ee15d(0x15f)]));}[_0xa33034(0x20e)](_0x28cd3e){var _0x36888e=_0xa33034;return this['_resendTimeout']>MAX_RETRY_TIMEOUT?this[_0x36888e(0x3e7)]():(this['_resendTimer']=createTimerObservable$(this[_0x36888e(0x220)],{'timeout':this[_0x36888e(0x220)],'reqId':_0x28cd3e['reqId']}),this[_0x36888e(0x437)]=this['_resendTimer'][_0x36888e(0x479)](({reqId:_0x162684,timeout:_0x4004e6})=>{var _0x563bee=_0x36888e;this[_0x563bee(0x44a)](_0x162684,_0x4004e6);}),this);}[_0xa33034(0x3e7)](){var _0x4d230a=_0xa33034;return this[_0x4d230a(0x329)](),this[_0x4d230a(0x39e)][_0x4d230a(0x465)](OfflineState,this[_0x4d230a(0x259)],this[_0x4d230a(0x3e5)],this[_0x4d230a(0x434)],this['_pendingMutations'],this[_0x4d230a(0x45e)]);}[_0xa33034(0x2a5)](){return this;}[_0xa33034(0x3ee)](){var _0x2102bf=_0xa33034;this[_0x2102bf(0x45e)]['onSendChangeset'](this[_0x2102bf(0x434)]);}[_0xa33034(0x302)](_0x4f8cf6){var _0x4913dc=_0xa33034;return this[_0x4913dc(0x329)](),this[_0x4913dc(0x39e)][_0x4913dc(0x465)](ConflictState,this[_0x4913dc(0x259)],this[_0x4913dc(0x3e5)],null,this[_0x4913dc(0x40f)],this[_0x4913dc(0x45e)],_0x4f8cf6);}['_resendWithTimeout'](_0x413aab,_0x33ec0f){var _0x43d18d=_0xa33034,_0x3c37d7;_0x413aab===((_0x3c37d7=this[_0x43d18d(0x434)])==null?void 0x0:_0x3c37d7[_0x43d18d(0x25f)])&&(this[_0x43d18d(0x3ee)](),this[_0x43d18d(0x220)]=_0x33ec0f===0x0?0x3e8:_0x33ec0f*0x2);}['_clearScheduledTask'](){var _0x3a94a1=_0xa33034,_0x2235fe;(_0x2235fe=this[_0x3a94a1(0x437)])==null||_0x2235fe['unsubscribe'](),this['_resendTimeout']=0x0;}},__name(_a9,_0xa33034(0x408)),_a9);AwaitingWithPendingState=__decorateClass$d([__decorateParam$d(0x6,Inject(Injector)),__decorateParam$d(0x7,Inject(RevisionService)),__decorateParam$d(0x8,ICommandService),__decorateParam$d(0x9,ILogService),__decorateParam$d(0xa,ITransformService),__decorateParam$d(0xb,IUndoRedoService),__decorateParam$d(0xc,Optional(ILocalCacheService))],AwaitingWithPendingState);var _a10;let ConflictState=(_a10=class extends CollaborationState{constructor(_0x1f869b,_0x174429,_0x2d1e67,_0xa3e33c,_0x550df1,_0xc08a21=!0x1,_0x2bce5e,_0x193496,_0x3c6af4,_0x274001,_0x1cb79d,_0x99beea,_0x262e64){var _0x260552=_0xa33034;super(_0x1f869b,_0x174429,_0x2d1e67,_0xa3e33c,_0x550df1,_0x193496,_0x3c6af4,_0x274001,_0x262e64),__publicField(this,_0x260552(0x458),_0x260552(0x192)),(this['_isPermissionRej']=_0xc08a21,this['_permissionService']=_0x2bce5e,this['_localeService']=_0x1cb79d,this[_0x260552(0x242)]=_0x99beea,this[_0x260552(0x254)]=_0x262e64,this[_0x260552(0x366)](),this[_0x260552(0x1d7)](),this[_0x260552(0x1b1)]());}['appendMutation'](){return this;}[_0xa33034(0x41c)](){return this;}['onRemoteAck'](){return this;}[_0xa33034(0x331)](){return this;}['onRemoteRetry'](){return this;}[_0xa33034(0x3e7)](){return this;}['toggleOnline'](){return this;}[_0xa33034(0x3ee)](){var _0x15972b=_0xa33034;throw new Error(_0x15972b(0x2a9));}[_0xa33034(0x1d7)](){var _0x16416f=_0xa33034,_0x334e20;(_0x334e20=this['_localCacheService'])==null||_0x334e20[_0x16416f(0x258)](this[_0x16416f(0x259)],this[_0x16416f(0x3e5)],null,[]);}[_0xa33034(0x366)](){var _0x2a4814=_0xa33034;this[_0x2a4814(0x3fd)]?this[_0x2a4814(0x242)][_0x2a4814(0x2f9)]({'id':CollaborationUIEventId[_0x2a4814(0x1de)]}):this[_0x2a4814(0x242)][_0x2a4814(0x2f9)]({'id':CollaborationUIEventId[_0x2a4814(0x250)]});}[_0xa33034(0x1b1)](){var _0x422656=_0xa33034;this['_permissionService'][_0x422656(0x154)](new WorkbookEditablePermission(this['unitID'])['id'],!0x1);}},__name(_a10,_0xa33034(0x341)),_a10);ConflictState=__decorateClass$d([__decorateParam$d(0x6,Inject(IPermissionService)),__decorateParam$d(0x7,ICommandService),__decorateParam$d(0x8,IUndoRedoService),__decorateParam$d(0x9,Inject(RevisionService)),__decorateParam$d(0xa,Inject(LocaleService)),__decorateParam$d(0xb,Inject(CollaborationUIEventService)),__decorateParam$d(0xc,Optional(ILocalCacheService))],ConflictState);function _0x3cd8(){var _0x150ef1=['pauseCollaboration','__decorateClass','allowed','DomainRequestService','infoRsp','requestParams','runId','change$','CollaborationSocketService','__decorateParam$7','csRejEvent','originalMeta','retryConnectingInterval','size','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','_key','sin','_sendingTimer','onMissingChangesets','fromCharCode','getRandomValues','_members','byteLength','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UNIVER_UNKNOWN','POST','capture','onStarting','FileId','APPLY_REJECT','textRanges','words','_iv','_clearScheduledTask','repeat','randomBytes','SHA1','getUnit','socket\x20close','_config','__decorateClass$3','onRemoteRej','image/gif','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','origin','__defNormalProp','_oKey','Base','__Key__','patch','_telemetryService','delete','__creator','ERROR_EXCEED_SIZE','collaboratorID','UNIVER_PROJECT','onTransformState','ConflictState','reverse','deepClone','uniscriptRunEvent','requireEncBase64','PY_RUNTIME_SCRIPT_ERROR','COMPLETION_FINISHED','_nDataBytes','event$','push','getTypeOfUnitDisposed$','getUnitType','_onLocalMutation','SOCKET_FAILED','joinRsp','update','PERMISSION_REJ','prototype','members$','__decorateParam$e','_compressMutationService','_getUndoStack','4055dExmmM','src','encode','unknown','[SyncedState]:\x20received\x20rejection.','CollaborationSessionService','SHOULD_CLOSE_CONN','[PendingState]:\x20received\x20acknowledgement.','formatter','sid','clone','wsSessionTicketUrl','LICENSE_EXPORT_SIZE_EXCEEDED','synced','add','_showConflictNotification','getImageSourceCache','getTypeOfUnitAdded$','extractTargetFromFirstChangeset','_configService','UNIVER_DOC','newCsEvent','localeService','OPTIONAL','SUCCUSS','pad','listRoles','lib','\x20to\x20','_change$','stringify','userID','_httpService','map','CHANGESET_ACK','Univer','9305868vawUYf','_substituteUndoStack','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getRedoStack','_waitForHeartbeatResponse','pending','_append','_getSessionTicket','UnitEmbedded','error$','c1Prime','avatar','_onRemoteRetry','SnapshotServerOverHTTPService','_revisionService','get','[CollaborationState]:\x20apply\x20error!','SerializableCipher','status$','JOIN','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN_ROOM_PERMISSION_DENIED','append','set','collabSubmitChangesetUrl','_snapshotServerService','LIVESHARE_REQUEST_HOST','substr','__decorateClass$9','LIVESHARE_TERMINATE','HEARTBEAT_INTERVAL','enableSingleActiveInstanceLock','onTransformRemoteChangesetByStateCache','file','getCollabEntity$','_injector','sessionStatus','createDecryptor','onload','YUUMI_RATE_OVER_LIMIT','algo','process','keySize','_process','disposeWithMe','Encryptor','fetch_missing','SUBMIT_CHANGESET_TIMEOUT','COMPRESS_MUTATION_SEND','addHandlerCallback','_members$','_loadDoc','_HTTPService','onMissedChangesetFetched','PENDING','asObservable','_transformUndoredo','offline','unsubscribe','mixIn','SNAPSHOT_URL_KEY','_sessionStatus$','memberID','_xformMode','join','_singleActiveUnitService','JOINING','updateCollaborator','12azSeWC','awaitingChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','readAsDataURL','stopTime','[UniverCollaborationClientPlugin]','_acknowledgedAwaitingChangeset','{fileID}','RoomMember','onSyncEditingCollabCursor','reconnect','dispose$','UPDATE_CURSOR','isArray','UNKNOWN_CMD','requireCore','NoPadding','COLLAB_SUBMIT_CHANGESET_URL','session.join-failed','msCrypto','objectType','BlockCipher','submit\x20changeset\x20error!','/universer-api/user/session-ticket','LIVESHARE_NEW_HOST','concat','_transformStack','_createInitialState','UNIVER_SLIDE','getInterceptPoints','PSEUDO_FETCH_MISSING_RESULT','CHANGESET_SHOULD_RETRY','getUnitStatus$','LICENSE_IMPORT_SIZE_EXCEEDED','/universer-api/authz','requireHmac','__decorateClass$4','INTERNAL_ERROR','type','MD5','toggleOffline','_keySchedule','_getDownloadEndpointURL','Pkcs7','_roomMembers','collaboration_new_changeset','target','resend','range','catch','_minBufferSize','padding','_mode','reduce','_toggleOnline','__publicField','APPLY_PERMISSION_DENIED','close','/new_changes','copyFileMeta','EvpKDF','_joinRoom','_isPermissionRej','_removeRoom','collaborators','CollaborationController','_commandService','_doProcessBlock','__decorateParam$6','_changesetReqId','override','_transformSelections','?size=','AwaitingWithPendingState','AuthServerService','onSendChangeset','getCollabEntity','INVALID_ARGUMENT','_univerInstanceService','joinEvent','_pendingMutations','_nRounds','randomUUID','setConfig','getUnitOnRev','post','_socketReady','setWaitCount','objectActions','_changesetSessionId','_state','__decorateParam$a','_instanceService','onRemoteChangeset','_invKeySchedule','put','_transformRemoteChangesetByStateCache','PasswordBasedCipher','LICENSE_MAX_UNITS_EXCEEDED','_shouldReportTelemetry','_updateState','waitForRoom$','__decorateParam','removeMember','136HqtXLN','__decorateParam$5','filter','_retryConnectingTimer','hasOwnProperty','kdf','Utf8','liveShareOperation','_incrementRevisionNumber','summaryChangesetSize','OTHER_CLIENTS_EDITING','key','[DataLoaderService]','_awaitingChangeset','_scheduleCompleteTimestamp','loadSheet','_sender','_checkMissing','getConfig','uploadFileServerUrl','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','session.room-cnt-exceeds','cmd','saveSheetBlock','_authzIoService','\x20in\x20_schedule.','_decreaseWaiting','_tryReconnect','[PendingState]:\x20unhandled\x20univer\x20type:\x20','sigBytes','updateCursorEvent','_createInitialStateImpl','name','MUTATION','/object/','_resendWithTimeout','csShouldRetryEvent','/resources','621aeuqHa','apply','onTransformSelections','finalize','call','_onRecvEvent','byteOffset','_initDependencies','__decorateClass$g','_undoRedoService','exports','status','transformStack\x20failed!','_tryEnsureSocket','/role','GLOBAL_ROOMS_CNT_EXCEEDS','/fetchmissing?from=','_handler','ERROR_IMAGE','every','_createSocket','image/bmp','assembleSheetChangeset','OfflineState','createInstance','_commentUpdate$','Latin1','params','authzUrl','onStateChange','session','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/allowed','YUUMI_URL_COL_OUT_OF_RANGE','_createHandler','complete','_map','MSG_FOR_ERROR','FileNameController','Hasher','createTimerObservable$','_onJoinRoomEvent','[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.','ticket','subscribe','values','UNRECOGNIZED','_sendHeartbeatTimer','_getAPIPrefix','/object','CipherParams','string','application/json','[CollaborationEntity]','_entities','entries','ENSURE_SNAPSHOT_EXECUTION','HELLO','_initUnitPermissionChange','readyForCollab','_createHelper','_onMessage','_localCacheService','_logService','_onUserJoin','/universer-api/stream/file/upload','createOnlineState','auth.needGotoLoginAlert','_schedule','_onRemoteACK','SNAPSHOT_HAS_BEEN_REMOVED','headers','body','_sendHeartbeat','CHANGESET_REJ','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onUserLeave','getLocalCacheKey','getCurrentRevOfUnit','ciphertext','enc','objectID','_userManagerService','fetchMissingChangesets','_getCurrentRevision','getUnitId','serializeCombRequest','_handlerCallback','_queuedRemoteChangesets','fetching\x20missing\x20changesets\x20from\x20','transformMutationsWithChangeset','_createHmacHelper','__decorateClass$f','univer-pro.collaboration-client.single-active-unit-service','crypto','&source=','title','loadOfflineData','_substituteRedoStack','rev','YUUMI_SUBSCRIPTION_NOT_FOUND','_localeService','_applyRemoteChangeset','_prevBlock','fetchThroughInterceptors','BASE64','_collaborationSessionService','UNIVER_COLLABORATION_CLIENT_PLUGIN','updatePermissionPoint','requireSession','encodeURIComponent','disableLocalCache','_transformService','splice','onTransformIME','getMember','UNKNOWN_CODE','generateSubmitChangesPath','reject','isPermissionRej','OpenSSL','_transitionLocked','awaiting','blockSize','__decorateParam$9','getFocusedUnit','USERS_LEAVE','function','_clearUndo','then','_keyPriorReset','/rev/','socket\x20open.','_DEC_XFORM_MODE','action','m2Prime','rng','interceptor','_memberService','[CollaborationSession]','_collaborationPaused','json','_initRequestHeader','pkcs7Padding','slice','/universer-api/snapshot','next','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','createCollaborator','responseType','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_telemetryInfo','not_collab','_socket','saveSnapshot','60eddzvr','_onConnectionOpen','_transformStateCache','_iKey','batchAllowed','_state$','RECV','ALREADY_EXISTS','requireSha1','FAIL','session.room-full','_submitChangeset','resolve','SNAPSHOT_INVALID_SNAPSHOT','TOO_MANY_REQUESTS','conflict','SUBMIT_CHANGESET','_getCtorByUniverType','AWAITING_WITH_PENDING','Base64','readInt32LE','entityInit$','unitId','_onCombEvent','_hash','addImageSourceCache','[SyncedState]:\x20received\x20acknowledgement.','JOIN_ROOM_FULL','__decorateParam$1','charCodeAt','_getSignURL','_startTelemetryCollaborationNewChangeset','message$','initWorkbookPermissionChange','sessionTicket','replace','saveImage','fetchMiss','startTime','extend','revision','SOCKET_FAILED_RETRY','/collaborator','encryptBlock','_fetchMissChangesets','__decorateClass$h','_disableEditing','COLLAB_WEB_SOCKET_URL','CollaborationUIEventService','RETRY_CONNECTING_MAX_COUNT','commentUpdateEvent','fromCollab','UNAUTHENTICATED','listCollaborators','workbook','Undefined','LOCAL_CACHE_INTERVAL','_http','onCommentUpdate','UnitSnapshot','setCurrentUser','2802ElczxP','HEARTBEAT','CollaborationImageIoService','_startCollaboration','error','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_OPERATION','collaboration-client.config','execute','transformUndoRedo','_snapshotService','sendChangesetTimeout','PendingState','$super','indexOf','COMPRESS_MUTATION_APPLY','UNIVER_SHEET','session.room-not-exists','x-univer-host','objects','PermissionService','includes','_executeRemoteChangeset','_clearLocalCache','getAttachHeader','connection\x20error','_roomCreated$','snapshot','awaiting_with_pending','shouldCloseConn','PERMISSION_DENIED','unitId\x20is\x20not\x20found','findIndex','CLOSE_ROOM','__decorateClass$d','741160FYJpWN','BufferedBlockAlgorithm','_onOffline','bind','collaMsg','_ENC_XFORM_MODE','APPLY_DUPLICATED','_undoStacks','loadDoc','open$','_updateStatus','BlockCipherMode','_throwTelemetryCollaborationNewChangeset','buffer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','min','__decorateParam$4','_initMergeInterceptor','_syncEditingCollabCursor','_retryCount','mode','StreamCipher','getSheetBlock','toString','getDefaultExportFromCjs','_collaborationTimeoutTimer','_registerDependencies','salt','INGEST','_rescheduleHeartbeat','_candidateSocket','eventID','unitInfo$','NO_OTHER_CLIENTS_EDITING','_commentService','__decorateClass$e','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_lockTransition','[CollaborationUndoRedoService]','Malformed\x20UTF-8\x20data','DocCollaborationEntity','collaboration-client.local-cache-service','onCommandExecuted','onRemoteRetry','__decorateClass$a','clear','reset','_unitID','debug','max','[OfflineState]:\x20received\x20acknowledgement.','leaveEvent','mutations','onLocalMutation','_initCloseConn','/unit/','Cipher','/universer-api/oidc/authpage','__decorateClass$i','terminateWithError','PERSON','_resendTimeout','state$','refreshPermission','CBC','_hasher','getAllMembers','editing\x20status\x20changed\x20to','__decorateClass$6','_loadSheet','onlyLocal','EXCHANGE_SIGN_URL_SERVER_URL_KEY','searchParams','transformSelections','CollaborationEntity','_event$','duration','getResourcesRequest','format','getTime','_status$','__decorateClass$c','OFFLINE','location','CHANGESET_REVISION_CONFILICT','_doCryptBlock','NOT_COLLAB','close$','search','init','SYNCED','subject','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','failed\x20to\x20apply\x20missed\x20changesets!','_onRemoteRejected','_collaborationUIEventService','__esModule','appendMutation','handleCloseConn','parse','members','state','AWAITING','roomInfos','_stopTelemetryCollaborationNewChangeset','forEach','__decorateClass$7','downloadEndpointUrl','unit-cache-','CONFLICT','find','_onFetchMissResult','_replayCachedMutations','localCacheService','unsafeStringify','_sessions','_collabSessionService','updateOfflineData','unitID','OTHER_CLIENT_EDITING','getRoom','online$','__decorateParam$i','_reverseMap','reqId','3194246yeEfLq','__decorateClass$5','hasher','assembleDocChangeset','IDLE','result','transformChangesets','HttpExport','_getSendChangesetTimeout','HEARTBEAT_TIMEOUT','NEW_CHANGESETS','iterations','LIVESHARE_FETCH_OPERATIONS','send','focused$','getCurrentUser','26845fPGhSv','length','csAckEvent','getMemberID','create','default','ceil','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','has','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','processBlock','encrypt','image/jpeg','_getLoginPath','getImage','_doReset','UPDATE_PERMISSION_OBJ','/universer-api/uniscript','&assign=','snapshotServerUrl','updateMember','_doFinalize','_parse','NOT_FOUND','href','FETCH_MISSING','_permissionService','APPLY_REVISION_CONFILICT','_clearHeartbeatTimer','getCurrentSelections','cfg','UniverCollaborationClientPlugin','CollaborationSession','_emitMembers','actions','_unlockTransition','SyncedState','editingUnit','url','clamp','_toggleOffline','hostname','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sessionStatus$','People','routeKey','LEAVE','getOwnPropertyDescriptor','_data','_clearRedo','USERS_ENTER','AES','unpad','toggleOnline','_sheetTransformSelectionsService','createEncryptor','AuthzIoHttpService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose','_updateLocalCache','ONLINE','[CollaborationSessionService]','decryptBlock','COMMENT_UPDATE','AwaitingState','_socket$','selections','xorBlock','[PendingState]:\x20received\x20rejection.','[OfflineState]:\x20received\x20rejection.','__decorateParam$3','pluginName','_listenToNetworkCondition','getValue','now','image/jpg','executeCommand','univer-pro.collaboration-client.network-condition.service','JOIN_ROOM_FAILED','baseRev','ivSize','data','ERROR_IMAGE_TYPE','__decorateParam$c','_eventService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','charAt','onTransformRemoteChangesetByIMECache','pipe','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','generateRandomId','floor','__decorateClass$8','equals','/-/object/-/batch_allowed','_resendTimer','changesets','code','_replaceFileID','signUrlServerUrl','_getAPIPrefixPath','7628XkodEs','[FetchMissState]','HttpImport','_clearCollaborationTimeoutTimer','__decorateParam$2','_exhaustRemoteChangesetQueue','c2Prime','_imageSourceCache','requireEvpkdf','UNDEFINED','Could\x20not\x20dynamically\x20require\x20\x22','random','defineProperty','onRemoteAck','_socketService','compose','/block/','requireAes','_onConnectionFailed','_getUploadFileURL','compute','235330tUpwgC','_type','_timeoutTimer','WordArray','enableOfflineEditing','_remoteChangesetQueue','list','__decorateClass$2','_networkConditionService','_cipher','decrypt','createSocket','_init','liveShareNewHost','_entityInit$','emitEvent','_waitCount','setShowComponents','\x0aAfter:\x20','_socketMessageSubscription','registerHTTPInterceptor','requireLibTypedarrays','Decryptor','from','_onConflict','Error\x20on\x20receiving\x20event','telemetry\x20info\x20is\x20not\x20initialized','session.room-permission-denied'];_0x3cd8=function(){return _0x150ef1;};return _0x3cd8();}var _a11;let OfflineState=(_a11=class extends CollaborationState{constructor(_0x51b1f7,_0x415a1e,_0x413750,_0x447c21,_0x1c56f9,_0x39d546,_0x42dd2a,_0x392cbe,_0x253422,_0x542e32){var _0x33a9c4=_0xa33034;super(_0x51b1f7,_0x415a1e,_0x413750,_0x447c21,_0x1c56f9,_0x392cbe,_0x253422,_0x42dd2a,_0x542e32),__publicField(this,_0x33a9c4(0x458),_0x33a9c4(0x3b4)),this[_0x33a9c4(0x39e)]=_0x39d546;}[_0xa33034(0x244)](_0x4ad2e6){var _0x19857e=_0xa33034;return this['_pendingMutations'][_0x19857e(0x34a)](_0x4ad2e6),this[_0x19857e(0x2ab)](),this;}['onRemoteChangeset'](_0x58b0d2){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xa33034(0x2e2)](){var _0x1984e3=_0xa33034;throw new Error(_0x1984e3(0x215));}[_0xa33034(0x331)](){var _0x4102cb=_0xa33034;throw new Error(_0x4102cb(0x2b5));}[_0xa33034(0x20e)](){return this;}[_0xa33034(0x3e7)](){return this;}[_0xa33034(0x2a5)](){var _0x2ebf26=_0xa33034;const {_injector:_0x96b29d,_pendingMutations:_0x3cb3aa,_awaitingChangeset:_0x143b2f,unitID:_0x14ec57,_handler:_0x58c04e,type:_0x4d2014}=this,_0x2e416b=createOnlineState(_0x96b29d,_0x14ec57,_0x4d2014,_0x143b2f,_0x3cb3aa,_0x58c04e);return _0x2e416b instanceof PendingState?_0x2e416b[_0x2ebf26(0x12b)]():(_0x2e416b instanceof AwaitingWithPendingState||_0x2e416b instanceof AwaitingState)&&_0x2e416b[_0x2ebf26(0x3ee)](),_0x2e416b;}[_0xa33034(0x3ee)](){var _0x368c83=_0xa33034;throw new Error(_0x368c83(0x314));}},__name(_a11,_0xa33034(0x464)),_a11);OfflineState=__decorateClass$d([__decorateParam$d(0x5,Inject(Injector)),__decorateParam$d(0x6,Inject(RevisionService)),__decorateParam$d(0x7,ICommandService),__decorateParam$d(0x8,IUndoRedoService),__decorateParam$d(0x9,Optional(ILocalCacheService))],OfflineState);var _a12;let FetchingMissState=(_a12=class extends CollaborationState{constructor(_0x469f3b,_0xc7776f,_0x5cadcb,_0x4e0fb4,_0x43aebe,_0x5ca678,_0x380c34,_0x9e4589,_0x7ef66f,_0x4e1ccc,_0x4ebec7,_0x31b9e7,_0x45ce66,_0x1a2e34){var _0x26ce62=_0xa33034;super(_0x469f3b,_0xc7776f,_0x5cadcb,_0x4e0fb4,_0x380c34,_0x4ebec7,_0x31b9e7,_0x7ef66f,_0x1a2e34),__publicField(this,'status',_0x26ce62(0x3a9)),(this[_0x26ce62(0x3c5)]=_0x43aebe,this['_queuedRemoteChangesets']=_0x5ca678,this['_injector']=_0x9e4589,this[_0x26ce62(0x48c)]=_0x4e1ccc,this[_0x26ce62(0x158)]=_0x45ce66,this['localCacheService']=_0x1a2e34);}['onMissedChangesetFetched'](_0x1774db){var _0x5a6e80=_0xa33034;try{const _0xd5dd9e=[..._0x1774db,...this[_0x5a6e80(0x140)]],_0x15f635=[this[_0x5a6e80(0x434)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0xd52162=>!!_0xd52162);let _0x16518c,_0x46e498;if(_0x15f635[_0x5a6e80(0x271)]){const _0x42c69d=this[_0x5a6e80(0x158)][_0x5a6e80(0x266)](_0xd5dd9e,_0x15f635,!0x1);if(!isTransformChangesetsSuccess(_0x42c69d))throw _0x42c69d['error'];_0x16518c=_0x42c69d[_0x5a6e80(0x385)],_0x46e498=_0x42c69d[_0x5a6e80(0x2db)];}else _0x16518c=_0xd5dd9e,_0x46e498=[];let _0x49c277=this[_0x5a6e80(0x40f)];_0x16518c[_0x5a6e80(0x24c)](_0x23c0e0=>{var _0x2f0eef=_0x5a6e80;let _0x16c0aa;if(_0x49c277[_0x2f0eef(0x271)]){const _0x1e3720=this[_0x2f0eef(0x158)][_0x2f0eef(0x142)](_0x23c0e0,_0x49c277);if(!isTransformMutationsWithChangesetSuccess(_0x1e3720))throw _0x1e3720[_0x2f0eef(0x1c4)];_0x16c0aa=_0x1e3720[_0x2f0eef(0x385)],_0x49c277=_0x1e3720['m2Prime'];}else _0x16c0aa=_0x23c0e0;this[_0x2f0eef(0x1d6)](_0x16c0aa);}),this[_0x5a6e80(0x3c5)]&&this[_0x5a6e80(0x42f)](),this[_0x5a6e80(0x434)]&&_0x46e498['length']&&(_0x46e498[0x0][_0x5a6e80(0x2bf)]=this[_0x5a6e80(0x13c)]());let _0x53cc1c;if(this['_awaitingChangeset']&&_0x49c277[_0x5a6e80(0x271)]!==0x0)_0x53cc1c=this[_0x5a6e80(0x39e)]['createInstance'](AwaitingWithPendingState,this[_0x5a6e80(0x259)],this[_0x5a6e80(0x3e5)],_0x46e498[0x0],_0x49c277,this[_0x5a6e80(0x45e)],void 0x0);else{if(this['_awaitingChangeset']&&_0x49c277[_0x5a6e80(0x271)]===0x0)_0x46e498[0x0]['baseRev']=this['_getCurrentRevision'](),_0x53cc1c=this[_0x5a6e80(0x39e)][_0x5a6e80(0x465)](AwaitingState,this[_0x5a6e80(0x259)],this[_0x5a6e80(0x3e5)],_0x46e498[0x0],this[_0x5a6e80(0x45e)]);else{if(_0x49c277['length']!==0x0){const _0x390a99=this['_injector'][_0x5a6e80(0x465)](PendingState,this['unitID'],this[_0x5a6e80(0x3e5)],_0x49c277,this[_0x5a6e80(0x45e)]);_0x390a99[_0x5a6e80(0x12b)](),_0x53cc1c=_0x390a99;}else _0x53cc1c=this[_0x5a6e80(0x39e)][_0x5a6e80(0x465)](SyncedState,this['unitID'],this[_0x5a6e80(0x3e5)],this[_0x5a6e80(0x45e)]);}}return _0x53cc1c[_0x5a6e80(0x2ab)](),_0x53cc1c;}catch(_0x3db05e){return this[_0x5a6e80(0x48c)][_0x5a6e80(0x1c4)](_0x5a6e80(0x2d6),_0x5a6e80(0x240),_0x3db05e),this[_0x5a6e80(0x39e)][_0x5a6e80(0x465)](ConflictState,this['unitID'],this[_0x5a6e80(0x3e5)],this[_0x5a6e80(0x434)],this[_0x5a6e80(0x40f)],this[_0x5a6e80(0x45e)],!0x1);}}[_0xa33034(0x3ee)](){var _0x4e87f6=_0xa33034;throw new Error(_0x4e87f6(0x279));}['appendMutation'](_0x2d85d6){return this['_pendingMutations']['push'](_0x2d85d6),this;}['onRemoteChangeset'](_0x4f44ca){var _0x44bd63=_0xa33034;return this['_queuedRemoteChangesets'][_0x44bd63(0x34a)](_0x4f44ca),this;}[_0xa33034(0x2e2)](_0x4a559a){var _0x4eebe1=_0xa33034;if(this[_0x4eebe1(0x434)])return this[_0x4eebe1(0x3c5)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x4eebe1(0x31e));}[_0xa33034(0x331)](_0x413551){var _0x572e32=_0xa33034;return this[_0x572e32(0x302)](!!(_0x413551!=null&&_0x413551[_0x572e32(0x15f)]));}[_0xa33034(0x20e)](){return this;}[_0xa33034(0x3e7)](){var _0x1c4641=_0xa33034;return this[_0x1c4641(0x39e)][_0x1c4641(0x465)](OfflineState,this['unitID'],this['type'],this[_0x1c4641(0x434)],this['_pendingMutations'],this[_0x1c4641(0x45e)]);}[_0xa33034(0x2a5)](){return this;}[_0xa33034(0x302)](_0x4d7663){var _0x52da05=_0xa33034;return this[_0x52da05(0x39e)][_0x52da05(0x465)](ConflictState,this[_0x52da05(0x259)],this['type'],this[_0x52da05(0x434)],this['_pendingMutations'],this['_handler'],_0x4d7663);}},__name(_a12,'FetchingMissState'),_a12);FetchingMissState=__decorateClass$d([__decorateParam$d(0x7,Inject(Injector)),__decorateParam$d(0x8,Inject(RevisionService)),__decorateParam$d(0x9,ILogService),__decorateParam$d(0xa,ICommandService),__decorateParam$d(0xb,IUndoRedoService),__decorateParam$d(0xc,ITransformService),__decorateParam$d(0xd,Optional(ILocalCacheService))],FetchingMissState);function createOnlineState(_0x376668,_0x32356d,_0x12965e,_0x5cc0bb,_0x2ab022,_0x31200e){var _0x5af3eb=_0xa33034;return _0x5cc0bb&&_0x2ab022['length']?_0x376668['createInstance'](AwaitingWithPendingState,_0x32356d,_0x12965e,_0x5cc0bb,_0x2ab022,_0x31200e,void 0x0):_0x5cc0bb?_0x376668[_0x5af3eb(0x465)](AwaitingState,_0x32356d,_0x12965e,_0x5cc0bb,_0x31200e):_0x2ab022['length']?_0x376668[_0x5af3eb(0x465)](PendingState,_0x32356d,_0x12965e,_0x2ab022,_0x31200e):_0x376668['createInstance'](SyncedState,_0x32356d,_0x12965e,_0x31200e);}__name(createOnlineState,_0xa33034(0x48f));var __defProp$c=Object[_0xa33034(0x2e1)],__getOwnPropDesc$c=Object[_0xa33034(0x29f)],__decorateClass$c=__name((_0x38bf0a,_0xff3c41,_0x3e7728,_0x4f0087)=>{var _0x40f4cb=_0xa33034;for(var _0x77ebd7=_0x4f0087>0x1?void 0x0:_0x4f0087?__getOwnPropDesc$c(_0xff3c41,_0x3e7728):_0xff3c41,_0x41d3ab=_0x38bf0a[_0x40f4cb(0x271)]-0x1,_0x3833b3;_0x41d3ab>=0x0;_0x41d3ab--)(_0x3833b3=_0x38bf0a[_0x41d3ab])&&(_0x77ebd7=(_0x4f0087?_0x3833b3(_0xff3c41,_0x3e7728,_0x77ebd7):_0x3833b3(_0x77ebd7))||_0x77ebd7);return _0x4f0087&&_0x77ebd7&&__defProp$c(_0xff3c41,_0x3e7728,_0x77ebd7),_0x77ebd7;},_0xa33034(0x234)),__decorateParam$c=__name((_0x45771f,_0x4b1924)=>(_0x9d9dcb,_0xd937d2)=>_0x4b1924(_0x9d9dcb,_0xd937d2,_0x45771f),_0xa33034(0x2c3)),_a13;let CollaborationEntity=(_a13=class extends RxDisposable{constructor(_0x477af8,_0x440187,_0x566d69,_0x35f40b,_0x438c47,_0x201580,_0x42e301,_0x250138,_0x3b1ed3,_0x5b2a39,_0x1c0bcd,_0x34f653,_0x3c250c){var _0x4e477d=_0xa33034;super(),__publicField(this,_0x4e477d(0x188),new BehaviorSubject(null)),__publicField(this,_0x4e477d(0x221),this['_state$'][_0x4e477d(0x3b2)]()),__publicField(this,_0x4e477d(0x419)),__publicField(this,_0x4e477d(0x174),!0x1),__publicField(this,_0x4e477d(0x418),''),__publicField(this,'_changesetReqId',0x0),__publicField(this,'status$',this[_0x4e477d(0x221)][_0x4e477d(0x2c8)](_0xf0a054(_0x4c377a=>_0x4c377a?_0x4c377a[_0x4e477d(0x458)]:CollaborationStatus[_0x4e477d(0x235)]),shareReplay(0x1))),__publicField(this,_0x4e477d(0x161),!0x1),__publicField(this,_0x4e477d(0x2ef),[]),(this['unitID']=_0x477af8,this[_0x4e477d(0x46b)]=_0x440187,this['_type']=_0x566d69,this['_injector']=_0x35f40b,this[_0x4e477d(0x355)]=_0x438c47,this['_localeService']=_0x201580,this[_0x4e477d(0x389)]=_0x42e301,this[_0x4e477d(0x2c4)]=_0x250138,this[_0x4e477d(0x48c)]=_0x3b1ed3,this[_0x4e477d(0x401)]=_0x5b2a39,this[_0x4e477d(0x28a)]=_0x1c0bcd,this[_0x4e477d(0x3bc)]=_0x34f653,this[_0x4e477d(0x48b)]=_0x3c250c);}get[_0xa33034(0x248)](){var _0x38d517=_0xa33034;return this[_0x38d517(0x419)];}async[_0xa33034(0x23c)](){var _0x1fd878=_0xa33034;if(this[_0x1fd878(0x248)])throw new Error(_0x1fd878(0x31f));await this[_0x1fd878(0x2f6)]();}[_0xa33034(0x306)](){var _0x30439d=_0xa33034;return this[_0x30439d(0x174)]=!0x0,toDisposable(()=>{var _0x36fdf2=_0x30439d;this['_collaborationPaused']=!0x1,this[_0x36fdf2(0x2da)]();});}[_0xa33034(0x218)](_0x4a1838){this['_onLocalMutation'](_0x4a1838);}[_0xa33034(0x423)](_0x32dc30){var _0x11dd68=_0xa33034;this[_0x11dd68(0x419)]=_0x32dc30,this[_0x11dd68(0x188)][_0x11dd68(0x17a)](_0x32dc30);}async['_init'](){var _0x5070a7=_0xa33034,_0x174dc7;this['_updateState'](await this[_0x5070a7(0x3da)]()),this[_0x5070a7(0x3bc)]&&((_0x174dc7=this[_0x5070a7(0x3bc)])==null||_0x174dc7[_0x5070a7(0x295)](this['unitID']),this[_0x5070a7(0x3a7)](this[_0x5070a7(0x3bc)][_0x5070a7(0x3df)](this['unitID'])[_0x5070a7(0x479)](_0x40fb9c=>{var _0x1c4e07=_0x5070a7;this['_logService'][_0x1c4e07(0x213)](_0x1c4e07(0x482),_0x1c4e07(0x226),_0x40fb9c),_0x40fb9c===UnitStatus[_0x1c4e07(0x431)]?(this[_0x1c4e07(0x2c4)][_0x1c4e07(0x2f9)]({'id':CollaborationUIEventId['OTHER_CLIENT_EDITING']}),this[_0x1c4e07(0x28a)][_0x1c4e07(0x154)](new WorkbookEditablePermission(this[_0x1c4e07(0x259)])['id'],!0x1),this[_0x1c4e07(0x28a)][_0x1c4e07(0x2fb)](!0x1)):(this['_permissionService'][_0x1c4e07(0x154)](new WorkbookEditablePermission(this['unitID'])['id'],!0x0),this[_0x1c4e07(0x28a)][_0x1c4e07(0x2fb)](!0x0));})));let _0x2bacb7=!0x1;return this[_0x5070a7(0x3a7)](this[_0x5070a7(0x46b)][_0x5070a7(0x29b)]['subscribe'](_0x44f67f=>{var _0x42af26=_0x5070a7;_0x44f67f===SessionStatus['ONLINE']?this[_0x42af26(0x3f5)](_0x2bacb7):_0x44f67f===SessionStatus[_0x42af26(0x235)]&&(_0x2bacb7=!0x0,this[_0x42af26(0x298)]());})),this['disposeWithMe'](this[_0x5070a7(0x46b)][_0x5070a7(0x349)][_0x5070a7(0x479)](_0x31bc0a=>{var _0x1219c=_0x5070a7;try{switch(_0x31bc0a[_0x1219c(0x202)]){case CollaborationEvent[_0x1219c(0x26a)]:{this['_onRemoteChangeset'](parseProtocolChangeset(_0x31bc0a['data']));break;}case CollaborationEvent[_0x1219c(0x379)]:{this[_0x1219c(0x12c)](_0x31bc0a[_0x1219c(0x2c1)]);break;}case CollaborationEvent[_0x1219c(0x131)]:{this[_0x1219c(0x241)]();break;}case CollaborationEvent[_0x1219c(0x3de)]:{this[_0x1219c(0x387)](_0x31bc0a[_0x1219c(0x2c1)]);break;}case CollaborationEvent['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x1219c(0x252)](_0x31bc0a[_0x1219c(0x2c1)][_0x1219c(0x2d0)][_0x1219c(0x378)](_0x2f6805=>parseProtocolChangeset(_0x2f6805)));break;}case CollaborationEvent[_0x1219c(0x351)]:{this[_0x1219c(0x241)]({'isPermissionRej':!0x0});break;}case CollaborationEvent['UNISCRIPT_RUN']:break;}}catch(_0x3474c9){throw console[_0x1219c(0x1c4)](_0x1219c(0x303),_0x3474c9),_0x3474c9;}})),this['_state'];}[_0xa33034(0x293)](){var _0x386c96=_0xa33034;this[_0x386c96(0x161)]=!0x1;}[_0xa33034(0x208)](){var _0x238b0d=_0xa33034;if(this[_0x238b0d(0x161)])throw new Error(_0x238b0d(0x477));this[_0x238b0d(0x161)]=!0x0;}[_0xa33034(0x34d)](_0x4cf29a){var _0x3c6bbd=_0xa33034;this[_0x3c6bbd(0x208)](),this[_0x3c6bbd(0x423)](this[_0x3c6bbd(0x419)][_0x3c6bbd(0x244)](_0x4cf29a)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x493d38){var _0x4a3aae=_0xa33034;if(!(_0x493d38[_0x4a3aae(0x1ab)]<=this[_0x4a3aae(0x389)][_0x4a3aae(0x136)](this[_0x4a3aae(0x259)]))){if(this[_0x4a3aae(0x174)]){this[_0x4a3aae(0x2ef)][_0x4a3aae(0x34a)](_0x493d38);return;}this['_applyRemoteChangeset'](_0x493d38);}}['_exhaustRemoteChangesetQueue'](){var _0xf8cd71=_0xa33034;this['_remoteChangesetQueue'][_0xf8cd71(0x24c)](_0x1ddf1b=>this[_0xf8cd71(0x14e)](_0x1ddf1b)),this[_0xf8cd71(0x2ef)]=[];}[_0xa33034(0x14e)](_0xc0ee19){var _0x52bc3a=_0xa33034;const _0x52712c=this['_compressMutationService'][_0x52bc3a(0x171)][_0x52bc3a(0x150)](this['_compressMutationService']['interceptor'][_0x52bc3a(0x3dc)]()[_0x52bc3a(0x1cf)])(_0xc0ee19['mutations'],null)||_0xc0ee19[_0x52bc3a(0x217)],_0x4bd292={..._0xc0ee19,'mutations':_0x52712c};this['_lockTransition'](),this[_0x52bc3a(0x423)](this[_0x52bc3a(0x419)][_0x52bc3a(0x41c)](_0x4bd292)),this[_0x52bc3a(0x293)]();}[_0xa33034(0x12c)](_0x838fdd){var _0x4e3879=_0xa33034;this[_0x4e3879(0x208)](),this[_0x4e3879(0x423)](this[_0x4e3879(0x419)][_0x4e3879(0x2e2)](_0x838fdd)),this[_0x4e3879(0x293)]();}[_0xa33034(0x241)](_0x482418){var _0x40da9a=_0xa33034;this[_0x40da9a(0x208)](),this['_updateState'](this[_0x40da9a(0x419)][_0x40da9a(0x331)](_0x482418)),this[_0x40da9a(0x293)]();}['_onRemoteRetry'](_0x47ffa2){var _0x53f021=_0xa33034;this['_lockTransition'](),this[_0x53f021(0x423)](this[_0x53f021(0x419)][_0x53f021(0x20e)](_0x47ffa2)),this[_0x53f021(0x293)]();}['_onFetchMissResult'](_0x256c39){var _0x3b4799=_0xa33034;if(!(this[_0x3b4799(0x419)]instanceof FetchingMissState))throw new TypeError(_0x3b4799(0x333));const _0x305ecd=_0x256c39[_0x3b4799(0x378)](_0x211669=>{var _0x4a345b=_0x3b4799;const _0x27f18f=this['_compressMutationService'][_0x4a345b(0x171)][_0x4a345b(0x150)](this['_compressMutationService'][_0x4a345b(0x171)][_0x4a345b(0x3dc)]()['COMPRESS_MUTATION_APPLY'])(_0x211669[_0x4a345b(0x217)],null)||_0x211669[_0x4a345b(0x217)];return{..._0x211669,'mutations':_0x27f18f};});this[_0x3b4799(0x208)](),this['_updateState'](this['_state'][_0x3b4799(0x3b0)](_0x305ecd)),this['_unlockTransition']();}[_0xa33034(0x298)](){var _0x4f44d3=_0xa33034;this[_0x4f44d3(0x208)](),this[_0x4f44d3(0x423)](this[_0x4f44d3(0x419)][_0x4f44d3(0x3e7)]()),this[_0x4f44d3(0x293)]();}[_0xa33034(0x3f5)](_0x2ab6e8=!0x1){var _0x548272=_0xa33034;this[_0x548272(0x208)](),this[_0x548272(0x423)](this['_state']['toggleOnline']()),this[_0x548272(0x293)]();const _0xf96042=this[_0x548272(0x419)];_0x2ab6e8&&_0xf96042 instanceof SyncedState&&(this[_0x548272(0x208)](),this[_0x548272(0x423)](_0xf96042[_0x548272(0x1a8)]()),this[_0x548272(0x293)]());}async[_0xa33034(0x3da)](){return new Promise(_0x334433=>{var _0x2f8a52=_0x214d;this['session'][_0x2f8a52(0x29b)][_0x2f8a52(0x2c8)](_0x1bd1bc(0x1))[_0x2f8a52(0x479)](async _0xe52eac=>{var _0x3b3b75=_0x2f8a52;_0x334433(await this[_0x3b3b75(0x446)](_0xe52eac===SessionStatus[_0x3b3b75(0x2ac)]));});});}[_0xa33034(0x46f)](){var _0x33cd28=_0xa33034;const _0x4c76ad=this[_0x33cd28(0x259)];return{'onStateChange':__name((_0x10324e,_0x5554e9)=>{var _0x5f2f70=_0x33cd28;if(_0x10324e!==this[_0x5f2f70(0x419)])throw new Error(_0x5f2f70(0x17b)+_0x10324e['status']+_0x5f2f70(0x2fc)+_0x5554e9[_0x5f2f70(0x458)]+'\x0aCurrent:\x20'+this[_0x5f2f70(0x419)][_0x5f2f70(0x458)]);this['_updateState'](_0x5554e9);},'onStateChange'),'onSendChangeset':__name(_0x51063e=>{var _0xa8bb0e=_0x33cd28;_0x51063e['sid']||(_0x51063e['sid']=this['_changesetSessionId'],_0x51063e[_0xa8bb0e(0x25f)]=++this[_0xa8bb0e(0x404)]);const _0x49ce54={'eventID':CollaborationEvent[_0xa8bb0e(0x193)],'data':{'unitID':_0x51063e[_0xa8bb0e(0x259)],'unitType':this['_type'],'changeset':_0x51063e,'memberID':this[_0xa8bb0e(0x46b)]['getMemberID']()}};this[_0xa8bb0e(0x46b)][_0xa8bb0e(0x26d)](_0x49ce54,this['unitID']);},_0x33cd28(0x40a)),'onMissingChangesets':__name(({from:_0x5b57ea,to:_0x3ee356})=>{var _0x236101=_0x33cd28;this[_0x236101(0x48c)][_0x236101(0x213)](_0x236101(0x482),_0x236101(0x141)+_0x5b57ea+_0x236101(0x373)+_0x3ee356);const _0xbe6b26={'eventID':CollaborationEvent[_0x236101(0x289)],'data':{'unitID':_0x4c76ad,'unitType':this['_type'],'from':_0x5b57ea,'to':_0x3ee356}};this[_0x236101(0x46b)]['send'](_0xbe6b26,this['unitID']);},_0x33cd28(0x319))};}async[_0xa33034(0x446)](_0x3dd96d){var _0x5d6725=_0xa33034,_0xc1f468,_0x4ae658,_0x27edf0;const _0x141639=await((_0xc1f468=this[_0x5d6725(0x48b)])==null?void 0x0:_0xc1f468['loadOfflineData'](this[_0x5d6725(0x259)])),_0x2c4e50=(_0x4ae658=_0x141639==null?void 0x0:_0x141639[_0x5d6725(0x217)])!=null?_0x4ae658:[],_0x332556=(_0x27edf0=_0x141639==null?void 0x0:_0x141639[_0x5d6725(0x3c0)])!=null?_0x27edf0:null,_0x3e747c=!!(_0x332556!=null&&_0x332556[_0x5d6725(0x360)])&&!!(_0x332556!=null&&_0x332556['reqId']);this[_0x5d6725(0x418)]=_0x3e747c?_0x332556[_0x5d6725(0x360)]:v4(),this[_0x5d6725(0x404)]=_0x3e747c?_0x332556['reqId']:0x0;const _0x50e4a9=this[_0x5d6725(0x259)];try{this[_0x5d6725(0x253)](_0x332556,_0x2c4e50);}catch(_0x43c7ca){this[_0x5d6725(0x48c)][_0x5d6725(0x1c4)](_0x43c7ca);}const _0x53fe44=this[_0x5d6725(0x46f)]();if(_0x3dd96d){const _0x16f837=createOnlineState(this[_0x5d6725(0x39e)],_0x50e4a9,this['_type'],_0x332556,_0x2c4e50,_0x53fe44);return _0x16f837 instanceof PendingState?_0x16f837[_0x5d6725(0x12b)]():(_0x16f837 instanceof AwaitingWithPendingState||_0x16f837 instanceof AwaitingState)&&_0x16f837[_0x5d6725(0x3ee)](),_0x16f837;}return this[_0x5d6725(0x39e)][_0x5d6725(0x465)](OfflineState,_0x50e4a9,this[_0x5d6725(0x2eb)],_0x332556,_0x2c4e50,_0x53fe44);}['_replayCachedMutations'](_0x380a9c,_0x347b6c){var _0x3e76ee=_0xa33034,_0x4f078b,_0x43ee4a;const _0x1e2f65=this[_0x3e76ee(0x355)][_0x3e76ee(0x171)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3e76ee(0x171)][_0x3e76ee(0x3dc)]()[_0x3e76ee(0x1cf)]);(_0x4f078b=_0x1e2f65((_0x380a9c==null?void 0x0:_0x380a9c[_0x3e76ee(0x217)])||[],null))==null||_0x4f078b[_0x3e76ee(0x24c)](_0x52ccc9=>this['_commandService'][_0x3e76ee(0x2bc)](_0x52ccc9['id'],_0x52ccc9[_0x3e76ee(0x468)])),(_0x43ee4a=_0x1e2f65(_0x347b6c||[],null))==null||_0x43ee4a[_0x3e76ee(0x24c)](_0x1a95e6=>this[_0x3e76ee(0x401)][_0x3e76ee(0x2bc)](_0x1a95e6['id'],_0x1a95e6[_0x3e76ee(0x468)]));}},__name(_a13,_0xa33034(0x22d)),_a13);CollaborationEntity=__decorateClass$c([__decorateParam$c(0x3,Inject(Injector)),__decorateParam$c(0x4,Inject(CompressMutationService)),__decorateParam$c(0x5,Inject(LocaleService)),__decorateParam$c(0x6,Inject(RevisionService)),__decorateParam$c(0x7,Inject(CollaborationUIEventService)),__decorateParam$c(0x8,ILogService),__decorateParam$c(0x9,ICommandService),__decorateParam$c(0xa,IPermissionService),__decorateParam$c(0xb,Optional(ISingleActiveUnitService)),__decorateParam$c(0xc,Optional(ILocalCacheService))],CollaborationEntity);var _a14;let DocCollaborationEntity=(_a14=class extends CollaborationEntity{constructor(_0x2ea1a7,_0x3c36c0,_0x57c948,_0x36ef3a,_0x2f9b4d,_0x3e1c56,_0x4089ea,_0x4d9e51,_0x555fcc,_0x119ffc,_0xd6ac5d,_0xa1d5e,_0x3a687a){var _0x16bfa0=_0xa33034;super(_0x2ea1a7,_0x57c948,_0x3c36c0,_0x36ef3a,_0x2f9b4d,_0x3e1c56,_0x4089ea,_0x4d9e51,_0x555fcc,_0x119ffc,_0xd6ac5d,_0xa1d5e,_0x3a687a),__publicField(this,_0x16bfa0(0x13f),null),(this[_0x16bfa0(0x259)]=_0x2ea1a7,this[_0x16bfa0(0x3e5)]=_0x3c36c0);}[_0xa33034(0x3ac)](_0x522aef){var _0x2faf4d=_0xa33034;this[_0x2faf4d(0x13f)]=_0x522aef;}['dispose'](){var _0xdceaec=_0xa33034;this[_0xdceaec(0x13f)]=null,super[_0xdceaec(0x2aa)]();}[_0xa33034(0x46f)](){var _0x1174a0=_0xa33034;const _0x6886f5=super[_0x1174a0(0x46f)]();return _0x6886f5['onTransformIME']=_0x204425=>{var _0x23d5a=_0x1174a0,_0x1e0c04,_0x27f33a;return(_0x27f33a=(_0x1e0c04=this[_0x23d5a(0x13f)])==null?void 0x0:_0x1e0c04[_0x23d5a(0x15a)])==null?void 0x0:_0x27f33a['call'](_0x1e0c04,_0x204425);},_0x6886f5[_0x1174a0(0x340)]=_0xe23e3c=>{var _0x3b2366=_0x1174a0,_0x1a1afb,_0x278981;return(_0x278981=(_0x1a1afb=this[_0x3b2366(0x13f)])==null?void 0x0:_0x1a1afb[_0x3b2366(0x340)])==null?void 0x0:_0x278981['call'](_0x1a1afb,_0xe23e3c);},_0x6886f5[_0x1174a0(0x44f)]=_0x67f9eb=>{var _0x16f590=_0x1174a0,_0x412a9e,_0x315ee2;return(_0x315ee2=(_0x412a9e=this[_0x16f590(0x13f)])==null?void 0x0:_0x412a9e['onTransformSelections'])==null?void 0x0:_0x315ee2[_0x16f590(0x451)](_0x412a9e,_0x67f9eb);},_0x6886f5['onSyncEditingCollabCursor']=_0x45275f=>{var _0x3657c7=_0x1174a0,_0x421181,_0x297ede;return(_0x297ede=(_0x421181=this[_0x3657c7(0x13f)])==null?void 0x0:_0x421181[_0x3657c7(0x3c8)])==null?void 0x0:_0x297ede['call'](_0x421181,_0x45275f);},_0x6886f5[_0x1174a0(0x2c7)]=_0x23517a=>{var _0x174e81=_0x1174a0,_0x296862,_0x475f12,_0x41dc81;if(!((_0x296862=this[_0x174e81(0x13f)])!=null&&_0x296862[_0x174e81(0x2c7)]))throw new Error(_0x174e81(0x38f));return(_0x41dc81=(_0x475f12=this['_handlerCallback'])==null?void 0x0:_0x475f12['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x41dc81['call'](_0x475f12,_0x23517a);},_0x6886f5[_0x1174a0(0x39b)]=_0xe182bf=>{var _0x3d5471=_0x1174a0,_0x4f4acf,_0x1ecff1,_0x53c49d;if(!((_0x4f4acf=this[_0x3d5471(0x13f)])!=null&&_0x4f4acf[_0x3d5471(0x39b)]))throw new Error(_0x3d5471(0x46c));return(_0x53c49d=(_0x1ecff1=this[_0x3d5471(0x13f)])==null?void 0x0:_0x1ecff1[_0x3d5471(0x39b)])==null?void 0x0:_0x53c49d['call'](_0x1ecff1,_0xe182bf);},_0x6886f5;}async['_init'](){var _0x5b535e=_0xa33034;const _0x870ff6=await super['_init']();return this[_0x5b535e(0x3a7)](this[_0x5b535e(0x401)][_0x5b535e(0x20d)]((_0x51c6b9,_0x1fe2c2)=>{var _0x39d448=_0x5b535e;if(_0x51c6b9[_0x39d448(0x3e5)]!==CommandType[_0x39d448(0x448)]||_0x1fe2c2!=null&&_0x1fe2c2[_0x39d448(0x1b6)]||_0x1fe2c2!=null&&_0x1fe2c2[_0x39d448(0x229)]||_0x51c6b9['id']===RichTextEditingMutation['id'])return;const _0x121f83=_0x51c6b9[_0x39d448(0x468)];if((_0x121f83==null?void 0x0:_0x121f83[_0x39d448(0x199)])!==this['unitID'])return;const _0x9c7751=_0x51c6b9,_0x540515=this[_0x39d448(0x355)][_0x39d448(0x171)][_0x39d448(0x150)](this[_0x39d448(0x355)][_0x39d448(0x171)]['getInterceptPoints']()[_0x39d448(0x3ab)])([_0x9c7751],null)||[_0x9c7751];this[_0x39d448(0x34d)](_0x540515[0x0]);})),_0x870ff6;}},__name(_a14,_0xa33034(0x20b)),_a14);DocCollaborationEntity=__decorateClass$c([__decorateParam$c(0x3,Inject(Injector)),__decorateParam$c(0x4,Inject(CompressMutationService)),__decorateParam$c(0x5,Inject(LocaleService)),__decorateParam$c(0x6,Inject(RevisionService)),__decorateParam$c(0x7,Inject(CollaborationUIEventService)),__decorateParam$c(0x8,ILogService),__decorateParam$c(0x9,ICommandService),__decorateParam$c(0xa,IPermissionService),__decorateParam$c(0xb,Optional(ISingleActiveUnitService)),__decorateParam$c(0xc,Optional(ILocalCacheService))],DocCollaborationEntity);var _a15;let SheetCollaborationEntity=(_a15=class extends CollaborationEntity{constructor(_0x3622ad,_0x441377,_0x4c6798,_0x5ec748,_0x1a5b55,_0x32c73f,_0x2a312f,_0x2f0e6f,_0x5affc1,_0xb26d1,_0x560436,_0x345599,_0x18546a,_0x343d36){var _0x2d7e3c=_0xa33034;super(_0x3622ad,_0x4c6798,_0x441377,_0x5ec748,_0x1a5b55,_0x32c73f,_0x2a312f,_0x5affc1,_0xb26d1,_0x560436,_0x345599,_0x18546a,_0x343d36),this[_0x2d7e3c(0x259)]=_0x3622ad,this[_0x2d7e3c(0x3e5)]=_0x441377,this['_sheetTransformSelectionsService']=_0x2f0e6f;}[_0xa33034(0x46f)](){var _0x3a80b2=_0xa33034;const _0x35a2d5=super[_0x3a80b2(0x46f)]();return _0x35a2d5[_0x3a80b2(0x44f)]=_0x34171f=>this[_0x3a80b2(0x2a6)][_0x3a80b2(0x22c)](_0x34171f),_0x35a2d5;}async[_0xa33034(0x2f6)](){var _0x146995=_0xa33034;const _0x376b6d=await super[_0x146995(0x2f6)]();return this['disposeWithMe'](this[_0x146995(0x401)][_0x146995(0x20d)]((_0x401436,_0x4da4ab)=>{var _0x29e239=_0x146995;if(_0x401436[_0x29e239(0x3e5)]!==CommandType[_0x29e239(0x448)]||_0x4da4ab!=null&&_0x4da4ab[_0x29e239(0x1b6)]||_0x4da4ab!=null&&_0x4da4ab[_0x29e239(0x229)])return;const _0x4553df=_0x401436['params'];if((_0x4553df==null?void 0x0:_0x4553df['unitId'])!==this[_0x29e239(0x259)])return;const _0x46fe31=_0x401436,_0x2f29e3=this['_compressMutationService'][_0x29e239(0x171)][_0x29e239(0x150)](this[_0x29e239(0x355)][_0x29e239(0x171)][_0x29e239(0x3dc)]()[_0x29e239(0x3ab)])([_0x46fe31],null)||[_0x46fe31];this[_0x29e239(0x34d)](_0x2f29e3[0x0]);})),_0x376b6d;}},__name(_a15,'SheetCollaborationEntity'),_a15);SheetCollaborationEntity=__decorateClass$c([__decorateParam$c(0x3,Inject(Injector)),__decorateParam$c(0x4,Inject(CompressMutationService)),__decorateParam$c(0x5,Inject(LocaleService)),__decorateParam$c(0x6,Inject(RevisionService)),__decorateParam$c(0x7,Inject(SheetTransformSelectionsService)),__decorateParam$c(0x8,Inject(CollaborationUIEventService)),__decorateParam$c(0x9,ILogService),__decorateParam$c(0xa,ICommandService),__decorateParam$c(0xb,IPermissionService),__decorateParam$c(0xc,Optional(ISingleActiveUnitService)),__decorateParam$c(0xd,Optional(ILocalCacheService))],SheetCollaborationEntity);var __defProp$b=Object['defineProperty'],__getOwnPropDesc$b=Object['getOwnPropertyDescriptor'],__decorateClass$b=__name((_0x4aedeb,_0x19fd91,_0x4d14a2,_0x31b328)=>{var _0x5d1d24=_0xa33034;for(var _0x315335=_0x31b328>0x1?void 0x0:_0x31b328?__getOwnPropDesc$b(_0x19fd91,_0x4d14a2):_0x19fd91,_0x5af783=_0x4aedeb[_0x5d1d24(0x271)]-0x1,_0x2541ec;_0x5af783>=0x0;_0x5af783--)(_0x2541ec=_0x4aedeb[_0x5af783])&&(_0x315335=(_0x31b328?_0x2541ec(_0x19fd91,_0x4d14a2,_0x315335):_0x2541ec(_0x315335))||_0x315335);return _0x31b328&&_0x315335&&__defProp$b(_0x19fd91,_0x4d14a2,_0x315335),_0x315335;},'__decorateClass$b'),__decorateParam$b=__name((_0x5eb533,_0x3ad4ee)=>(_0x1146d1,_0x149543)=>_0x3ad4ee(_0x1146d1,_0x149543,_0x5eb533),'__decorateParam$b'),_a16;let CollaborationController=(_a16=class extends RxDisposable{constructor(_0x3d4809,_0x57d2aa,_0xa477e4){var _0x151826=_0xa33034;super(),__publicField(this,'_entities',new Map()),__publicField(this,'_entityInit$',new Subject()),__publicField(this,_0x151826(0x198),this[_0x151826(0x2f8)][_0x151826(0x3b2)]()),(this[_0x151826(0x39e)]=_0x3d4809,this[_0x151826(0x257)]=_0x57d2aa,this[_0x151826(0x40d)]=_0xa477e4,this[_0x151826(0x2f6)]());}[_0xa33034(0x2aa)](){var _0x523f56=_0xa33034;super[_0x523f56(0x2aa)](),this[_0x523f56(0x483)][_0x523f56(0x24c)](_0x16a782=>_0x16a782[_0x523f56(0x2aa)]()),this['_entities'][_0x523f56(0x210)]();}[_0xa33034(0x40b)](_0x19d4dd){var _0x59274d=_0xa33034,_0x23cded;return(_0x23cded=this[_0x59274d(0x483)][_0x59274d(0x38a)](_0x19d4dd))!=null?_0x23cded:null;}[_0xa33034(0x39d)](_0x22667f){var _0x1ad0e3=_0xa33034;const _0xd45d38=this['getCollabEntity'](_0x22667f);return _0xd45d38?of(_0xd45d38):this[_0x1ad0e3(0x2f8)][_0x1ad0e3(0x2c8)](filter(_0x54cdfd=>_0x54cdfd[_0x1ad0e3(0x259)]===_0x22667f));}[_0xa33034(0x488)](_0x53f8f9){var _0x82641e=_0xa33034;return firstValueFrom(this[_0x82641e(0x39d)](_0x53f8f9)[_0x82641e(0x2c8)](map(()=>{})));}[_0xa33034(0x2f6)](){var _0x4ade17=_0xa33034;this[_0x4ade17(0x40d)][_0x4ade17(0x368)](UniverInstanceType['UNIVER_SHEET'])[_0x4ade17(0x2c8)](takeUntil(this[_0x4ade17(0x3ca)]),delay(0x10))['subscribe'](async _0x831dd1=>{var _0x2bde8f=_0x4ade17;const _0x4efb99=_0x831dd1[_0x2bde8f(0x13d)](),_0x49db8e=await this[_0x2bde8f(0x1c3)](_0x4efb99,UniverType[_0x2bde8f(0x1d0)]);this[_0x2bde8f(0x483)]['set'](_0x4efb99,_0x49db8e);}),this[_0x4ade17(0x40d)][_0x4ade17(0x368)](UniverInstanceType[_0x4ade17(0x36b)])[_0x4ade17(0x2c8)](takeUntil(this[_0x4ade17(0x3ca)]),delay(0x10))['pipe'](filter(_0x327f35=>!_0x327f35[_0x4ade17(0x13d)]()['startsWith']('__')))['subscribe'](async _0x135057=>{var _0x1dc97c=_0x4ade17;const _0x3e043e=_0x135057[_0x1dc97c(0x13d)](),_0xb2ab35=await this[_0x1dc97c(0x1c3)](_0x3e043e,UniverType[_0x1dc97c(0x36b)]);this[_0x1dc97c(0x483)][_0x1dc97c(0x392)](_0x3e043e,_0xb2ab35);}),merge(this[_0x4ade17(0x40d)][_0x4ade17(0x34b)](UniverInstanceType[_0x4ade17(0x1d0)]),this[_0x4ade17(0x40d)][_0x4ade17(0x34b)](UniverInstanceType[_0x4ade17(0x36b)]))[_0x4ade17(0x2c8)](takeUntil(this['dispose$']))['subscribe'](_0x2553ff=>{var _0x122d79=_0x4ade17;const _0x2d3ac1=_0x2553ff[_0x122d79(0x13d)](),_0x9ed976=this[_0x122d79(0x483)][_0x122d79(0x38a)](_0x2d3ac1);_0x9ed976&&(_0x9ed976[_0x122d79(0x2aa)](),this[_0x122d79(0x483)]['delete'](_0x2d3ac1));});}async['_startCollaboration'](_0x3f7a95,_0x4ff8d8){var _0x16870a=_0xa33034;const _0x113f67=await this['_collabSessionService'][_0x16870a(0x155)](_0x3f7a95),_0xa0430a=this[_0x16870a(0x39e)][_0x16870a(0x465)](this['_getCtorByUniverType'](_0x4ff8d8),_0x3f7a95,_0x4ff8d8,_0x113f67);return await _0xa0430a[_0x16870a(0x23c)](),this[_0x16870a(0x2f8)][_0x16870a(0x17a)](_0xa0430a),_0xa0430a;}[_0xa33034(0x194)](_0x1e1f55){var _0x374736=_0xa33034;switch(_0x1e1f55){case UniverType['UNIVER_DOC']:return DocCollaborationEntity;case UniverType[_0x374736(0x1d0)]:return SheetCollaborationEntity;default:throw new Error(_0x374736(0x29a)+_0x1e1f55);}}},__name(_a16,_0xa33034(0x400)),_a16);CollaborationController=__decorateClass$b([__decorateParam$b(0x0,Inject(Injector)),__decorateParam$b(0x1,Inject(CollaborationSessionService)),__decorateParam$b(0x2,IUniverInstanceService)],CollaborationController);var __defProp$a=Object[_0xa33034(0x2e1)],__getOwnPropDesc$a=Object[_0xa33034(0x29f)],__decorateClass$a=__name((_0x288a5e,_0x5f5c86,_0x56df76,_0x4e52b1)=>{for(var _0x3bcc26=_0x4e52b1>0x1?void 0x0:_0x4e52b1?__getOwnPropDesc$a(_0x5f5c86,_0x56df76):_0x5f5c86,_0x3f437d=_0x288a5e['length']-0x1,_0x48766b;_0x3f437d>=0x0;_0x3f437d--)(_0x48766b=_0x288a5e[_0x3f437d])&&(_0x3bcc26=(_0x4e52b1?_0x48766b(_0x5f5c86,_0x56df76,_0x3bcc26):_0x48766b(_0x3bcc26))||_0x3bcc26);return _0x4e52b1&&_0x3bcc26&&__defProp$a(_0x5f5c86,_0x56df76,_0x3bcc26),_0x3bcc26;},_0xa33034(0x20f)),__decorateParam$a=__name((_0xad1195,_0x440821)=>(_0x28e015,_0x50d516)=>_0x440821(_0x28e015,_0x50d516,_0xad1195),_0xa33034(0x41a));const DEFAULT_FILE_NAME_KEY='DEFAULT_FILE_NAME',UNIVER_DEFAULT_FILE_NAME=_0xa33034(0x37a);var _a17;let FileNameController=(_a17=class extends Disposable{constructor(_0x4a4a10,_0x332a8f){var _0x462c48=_0xa33034;super(),this['_univerInstanceService']=_0x4a4a10,this[_0x462c48(0x36a)]=_0x332a8f,this['_init']();}['_init'](){var _0x199341=_0xa33034;this[_0x199341(0x3a7)](this[_0x199341(0x40d)][_0x199341(0x26e)][_0x199341(0x479)](()=>{var _0x4e4135=_0x199341,_0x326782;const _0x27f070=this[_0x4e4135(0x40d)][_0x4e4135(0x165)]();let _0x1c9ebb=(_0x326782=this[_0x4e4135(0x36a)][_0x4e4135(0x439)](DEFAULT_FILE_NAME_KEY))!=null?_0x326782:UNIVER_DEFAULT_FILE_NAME;_0x27f070 instanceof Workbook&&(_0x1c9ebb=_0x27f070['name']),document[_0x4e4135(0x148)]=_0x1c9ebb;}));}},__name(_a17,_0xa33034(0x473)),_a17);FileNameController=__decorateClass$a([__decorateParam$a(0x0,IUniverInstanceService),__decorateParam$a(0x1,IConfigService)],FileNameController);var __defProp$9=Object[_0xa33034(0x2e1)],__getOwnPropDesc$9=Object[_0xa33034(0x29f)],__decorateClass$9=__name((_0x2c0e39,_0x447281,_0xa814e5,_0xe7246)=>{var _0x1acd46=_0xa33034;for(var _0x3610f2=_0xe7246>0x1?void 0x0:_0xe7246?__getOwnPropDesc$9(_0x447281,_0xa814e5):_0x447281,_0x27c095=_0x2c0e39[_0x1acd46(0x271)]-0x1,_0x2779ae;_0x27c095>=0x0;_0x27c095--)(_0x2779ae=_0x2c0e39[_0x27c095])&&(_0x3610f2=(_0xe7246?_0x2779ae(_0x447281,_0xa814e5,_0x3610f2):_0x2779ae(_0x3610f2))||_0x3610f2);return _0xe7246&&_0x3610f2&&__defProp$9(_0x447281,_0xa814e5,_0x3610f2),_0x3610f2;},_0xa33034(0x397)),__decorateParam$9=__name((_0x226cc2,_0xc2d173)=>(_0x424ae7,_0x1046ec)=>_0xc2d173(_0x424ae7,_0x1046ec,_0x226cc2),_0xa33034(0x164)),_a18;let AuthServerService=(_a18=class{constructor(_0x538ac2,_0x3bb558,_0x2bd8cb){var _0x53d152=_0xa33034;this['_configService']=_0x538ac2,this[_0x53d152(0x377)]=_0x3bb558,this[_0x53d152(0x36d)]=_0x2bd8cb,this[_0x53d152(0x23c)]();}[_0xa33034(0x23c)](){var _0x1d6b72=_0xa33034;this[_0x1d6b72(0x377)][_0x1d6b72(0x2fe)]({'priority':0x1,'interceptor':__name((_0x18feb6,_0x382fd4)=>_0x382fd4(_0x18feb6)['pipe'](concatMap(async _0x18400c=>{var _0x2df28a=_0x1d6b72;const _0x2b04ee=_0x18400c;if(_0x2b04ee[_0x2df28a(0x458)]===0x191){if(typeof window>'u')throw new Error(_0x2df28a(0x2c9));if(window['confirm'](this[_0x2df28a(0x36d)]['t'](_0x2df28a(0x490)))){const _0x1ec5a7=window[_0x2df28a(0x156)](window[_0x2df28a(0x236)]['href']);window[_0x2df28a(0x236)][_0x2df28a(0x288)]=this[_0x2df28a(0x27d)]()+'?url='+_0x1ec5a7;}}return _0x2b04ee;})),'interceptor')});}[_0xa33034(0x27d)](){var _0x45a1cf=_0xa33034,_0x4a7397,_0x34cad9;const _0x266d93=this['_configService']['getConfig'](LOGIN_URL_KEY),_0x2f38be=this[_0x45a1cf(0x36a)]['getConfig'](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x34cad9=(_0x4a7397=_0x2f38be==null?void 0x0:_0x2f38be['loginUrlKey'])!=null?_0x4a7397:_0x266d93)!=null?_0x34cad9:DEFAULT_LOGIN_URL;}},__name(_a18,_0xa33034(0x409)),_a18);AuthServerService=__decorateClass$9([__decorateParam$9(0x0,IConfigService),__decorateParam$9(0x1,Inject(HTTPService)),__decorateParam$9(0x2,Inject(LocaleService))],AuthServerService);var __defProp$8=Object['defineProperty'],__getOwnPropDesc$8=Object[_0xa33034(0x29f)],__decorateClass$8=__name((_0x450933,_0x2f6efe,_0x2e3144,_0x10b661)=>{var _0x12cf7e=_0xa33034;for(var _0x117eb5=_0x10b661>0x1?void 0x0:_0x10b661?__getOwnPropDesc$8(_0x2f6efe,_0x2e3144):_0x2f6efe,_0x58c607=_0x450933[_0x12cf7e(0x271)]-0x1,_0x45ac1a;_0x58c607>=0x0;_0x58c607--)(_0x45ac1a=_0x450933[_0x58c607])&&(_0x117eb5=(_0x10b661?_0x45ac1a(_0x2f6efe,_0x2e3144,_0x117eb5):_0x45ac1a(_0x117eb5))||_0x117eb5);return _0x10b661&&_0x117eb5&&__defProp$8(_0x2f6efe,_0x2e3144,_0x117eb5),_0x117eb5;},_0xa33034(0x2cc)),__decorateParam$8=__name((_0xf3eb40,_0x5d6de1)=>(_0x2a6a4e,_0x2f782f)=>_0x5d6de1(_0x2a6a4e,_0x2f782f,_0xf3eb40),'__decorateParam$8');const AUTHZ_URL_KEY='AUTHZ_URL_KEY',DEFAULT_AUTHZ_URL_KEY$1=_0xa33034(0x3e1);var _a19;let AuthzIoHttpService=(_a19=class extends Disposable{constructor(_0xc75255,_0x2f5b62){var _0x3fa30c=_0xa33034;super(),this[_0x3fa30c(0x3af)]=_0xc75255,this[_0x3fa30c(0x36a)]=_0x2f5b62,this[_0x3fa30c(0x1f4)]();}[_0xa33034(0x1f4)](){var _0x3e8022=_0xa33034;const _0x2c8273=this;this[_0x3e8022(0x3a7)](this[_0x3e8022(0x3af)][_0x3e8022(0x2fe)]({'priority':0x3e7,'interceptor':MergeInterceptorFactory({'isMatch'(_0x3a0bab){var _0x172c7c=_0x3e8022,_0x83b121;if(_0x3a0bab['method']===_0x172c7c(0x321)&&((_0x83b121=_0x3a0bab[_0x172c7c(0x30b)])!=null&&_0x83b121[_0x172c7c(0x12f)])){const {objectID:_0x3d0fb0,objectType:_0x87b905}=_0x3a0bab[_0x172c7c(0x30b)][_0x172c7c(0x12f)]||{};if(!_0x3d0fb0||_0x87b905===void 0x0)return!0x1;const _0x110cd4=_0x2c8273[_0x172c7c(0x2d4)]()+'/'+_0x87b905+_0x172c7c(0x449)+_0x3d0fb0+_0x172c7c(0x46d);if(_0x3a0bab[_0x172c7c(0x296)]===_0x110cd4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x170e12){var _0x1c8b51=_0x3e8022,_0x2d82ca;return(_0x2d82ca=_0x170e12['requestParams'])==null?void 0x0:_0x2d82ca[_0x1c8b51(0x12f)];},'mergeParamsToRequest'(_0x2a79e4,_0x409e8f){var _0x2a6000=_0x3e8022;const _0x126991=_0x2c8273[_0x2a6000(0x2d4)]()+_0x2a6000(0x2ce),_0x13f25d=_0x2a79e4[_0x2a6000(0x3f4)]((_0xb04a0,_0x22817a)=>{var _0x561659=_0x2a6000;const {unitID:_0x51e2a5,objectID:_0x5d6ee0,objectType:_0x232835,actions:_0x39b79f}=_0x22817a;return _0xb04a0[_0x51e2a5]||(_0xb04a0[_0x51e2a5]={}),_0xb04a0[_0x51e2a5][_0x5d6ee0]||(_0xb04a0[_0x51e2a5][_0x5d6ee0]={'objectID':_0x5d6ee0,'objectType':_0x232835,'actions':[]}),_0xb04a0[_0x51e2a5][_0x5d6ee0][_0x561659(0x292)]['push'](..._0x39b79f),_0xb04a0;},{}),_0x2b6415=[];for(const _0x19adfd in _0x13f25d)for(const _0x598044 in _0x13f25d[_0x19adfd]){const {actions:_0x10384f,objectType:_0x5338cc}=_0x13f25d[_0x19adfd][_0x598044],_0x3d4264=[...new Set(_0x10384f)];_0x2b6415[_0x2a6000(0x34a)]({'unitID':_0x19adfd,'objectID':_0x598044,'objectType':_0x5338cc,'actions':_0x3d4264});}return new HTTPRequest(_0x2a6000(0x321),_0x126991,{'headers':_0x409e8f[_0x2a6000(0x12e)],'withCredentials':_0x409e8f['withCredentials'],'responseType':_0x409e8f[_0x2a6000(0x17d)],'body':{'requests':_0x2b6415}});}},{'distributeResult'(_0x230cd8,_0xe354f2){var _0x4ba199=_0x3e8022;const {objectActions:_0x239dfe}=_0x230cd8;return _0xe354f2[_0x4ba199(0x378)](_0x5e24c4=>{var _0x1899b7=_0x4ba199;const {unitID:_0x146e1b,objectID:_0x4a22ac,actions:_0x485095}=_0x5e24c4,_0x4f07dc=_0x239dfe[_0x1899b7(0x251)](_0x20ddbd=>_0x20ddbd[_0x1899b7(0x259)]===_0x146e1b&&_0x20ddbd[_0x1899b7(0x139)]===_0x4a22ac),_0x2b6033=_0x485095[_0x1899b7(0x378)](_0x5ac674=>_0x4f07dc==null?void 0x0:_0x4f07dc['actions'][_0x1899b7(0x251)](_0x469170=>_0x469170[_0x1899b7(0x16e)]===_0x5ac674))[_0x1899b7(0x429)](_0x5bde32=>!!_0x5bde32);return{'config':_0x5e24c4,'result':{'actions':_0x2b6033,'error':_0x230cd8[_0x1899b7(0x1c4)]}};});}})}));}['_getAPIPrefixPath'](){var _0x18c721=_0xa33034,_0x4890a6,_0x4734c5;const _0x53cf63=this['_configService'][_0x18c721(0x439)](AUTHZ_URL_KEY),_0x130e20=this[_0x18c721(0x36a)][_0x18c721(0x439)](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x4734c5=(_0x4890a6=_0x130e20==null?void 0x0:_0x130e20[_0x18c721(0x469)])!=null?_0x4890a6:_0x53cf63)!=null?_0x4734c5:DEFAULT_AUTHZ_URL_KEY$1;}async['create'](_0x419456){var _0x4ef720=_0xa33034;const _0x2c742d=this[_0x4ef720(0x2d4)]()+'/'+_0x419456[_0x4ef720(0x3d3)]+_0x4ef720(0x47e);return(await this[_0x4ef720(0x3af)][_0x4ef720(0x414)](_0x2c742d,{'body':_0x419456}))[_0x4ef720(0x12f)]['objectID']||'';}async['list'](_0x151d5c){var _0x33e85b=_0xa33034;const _0x14888d=this[_0x33e85b(0x2d4)]()+'/-/object/list';return(await this[_0x33e85b(0x3af)][_0x33e85b(0x414)](_0x14888d,{'body':_0x151d5c}))['body'][_0x33e85b(0x1d3)];}async['update'](_0xc98591){var _0x1bac51=_0xa33034;const _0x277127=this[_0x1bac51(0x2d4)]()+'/'+_0xc98591['objectType']+_0x1bac51(0x449)+_0xc98591[_0x1bac51(0x139)];await this[_0x1bac51(0x3af)]['put'](_0x277127,{'body':_0xc98591});}async[_0xa33034(0x308)](_0xd84353){var _0x21808d=_0xa33034;const _0x299e35=this[_0x21808d(0x2d4)]()+'/'+_0xd84353[_0x21808d(0x3d3)]+_0x21808d(0x449)+_0xd84353[_0x21808d(0x139)]+_0x21808d(0x46d);return(await this['_HTTPService'][_0x21808d(0x414)](_0x299e35,{'body':_0xd84353}))[_0x21808d(0x12f)]['actions'];}async[_0xa33034(0x187)](_0x26f399){var _0x2fc947=_0xa33034;const _0x4a4358=this[_0x2fc947(0x2d4)]()+_0x2fc947(0x2ce);return(await this[_0x2fc947(0x3af)][_0x2fc947(0x414)](_0x4a4358,{'body':{'requests':_0x26f399}}))[_0x2fc947(0x12f)][_0x2fc947(0x417)];}async[_0xa33034(0x371)](_0x5d25c5){var _0x12ba99=_0xa33034;const _0xbc33c7=this[_0x12ba99(0x2d4)]()+'/'+_0x5d25c5[_0x12ba99(0x3d3)]+_0x12ba99(0x45b),_0x164dd0=await this[_0x12ba99(0x3af)][_0x12ba99(0x414)](_0xbc33c7,{'body':_0x5d25c5});return{'roles':_0x164dd0['body']['roles'],'actions':_0x164dd0[_0x12ba99(0x12f)][_0x12ba99(0x292)]};}async['deleteCollaborator'](_0x457a18){var _0x19c96d=_0xa33034;const _0x5b398b=this['_getAPIPrefixPath']()+_0x19c96d(0x1ad);await this[_0x19c96d(0x3af)]['delete'](_0x5b398b,{'params':{'collaboratorID':_0x457a18[_0x19c96d(0x33e)],'objectID':_0x457a18[_0x19c96d(0x139)],'unitID':_0x457a18[_0x19c96d(0x259)]}});}async[_0xa33034(0x3be)](_0x14db59){var _0xde2c88=_0xa33034;const _0x244745=this[_0xde2c88(0x2d4)]()+'/collaborator';await this['_HTTPService'][_0xde2c88(0x339)](_0x244745,{'body':_0x14db59});}async[_0xa33034(0x17c)](_0x30a2d4){var _0xed19a1=_0xa33034;const _0x376e3a=this['_getAPIPrefixPath']()+_0xed19a1(0x1ad);await this[_0xed19a1(0x3af)][_0xed19a1(0x414)](_0x376e3a,{'body':_0x30a2d4});}async[_0xa33034(0x1b8)](_0x131304){var _0x927047=_0xa33034;const _0x4be9ec=this[_0x927047(0x2d4)]()+_0x927047(0x1ad);return(await this[_0x927047(0x3af)][_0x927047(0x38a)](_0x4be9ec,{'params':{'objectID':_0x131304[_0x927047(0x139)],'unitID':_0x131304['unitID']}}))[_0x927047(0x12f)]['collaborators'];}async['putCollaborators'](_0x423cd8){var _0x2c3749=_0xa33034;const _0xb8f680=this['_getAPIPrefixPath']()+_0x2c3749(0x1ad);await this[_0x2c3749(0x3af)][_0x2c3749(0x41e)](_0xb8f680,{'body':_0x423cd8});}},__name(_a19,_0xa33034(0x2a8)),_a19);AuthzIoHttpService=__decorateClass$8([__decorateParam$8(0x0,Inject(HTTPService)),__decorateParam$8(0x1,Inject(IConfigService))],AuthzIoHttpService);var commonjsGlobal=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function getDefaultExportFromCjs(_0x38f88c){var _0x5576ef=_0xa33034;return _0x38f88c&&_0x38f88c[_0x5576ef(0x243)]&&Object[_0x5576ef(0x352)][_0x5576ef(0x42b)][_0x5576ef(0x451)](_0x38f88c,_0x5576ef(0x275))?_0x38f88c[_0x5576ef(0x275)]:_0x38f88c;}__name(getDefaultExportFromCjs,_0xa33034(0x1fb));var aes$1={'exports':{}};function commonjsRequire(_0xd4c437){var _0x439475=_0xa33034;throw new Error(_0x439475(0x2df)+_0xd4c437+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}__name(commonjsRequire,'commonjsRequire');var core$1={'exports':{}},core=core$1[_0xa33034(0x457)],hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=0x1,function(_0x28f5fa,_0x509ce7){(function(_0x502e8b,_0x164981){_0x28f5fa['exports']=_0x164981();}(core,function(){var _0x78b600=_0x78b600||function(_0x2bfbc6,_0x545b57){var _0x65aa72=_0x214d,_0x398ad6;if(typeof window<'u'&&window[_0x65aa72(0x146)]&&(_0x398ad6=window[_0x65aa72(0x146)]),typeof self<'u'&&self[_0x65aa72(0x146)]&&(_0x398ad6=self[_0x65aa72(0x146)]),typeof globalThis<'u'&&globalThis[_0x65aa72(0x146)]&&(_0x398ad6=globalThis['crypto']),!_0x398ad6&&typeof window<'u'&&window[_0x65aa72(0x3d2)]&&(_0x398ad6=window[_0x65aa72(0x3d2)]),!_0x398ad6&&typeof commonjsGlobal<'u'&&commonjsGlobal[_0x65aa72(0x146)]&&(_0x398ad6=commonjsGlobal[_0x65aa72(0x146)]),!_0x398ad6&&typeof commonjsRequire==_0x65aa72(0x167))try{_0x398ad6=require('crypto');}catch{}var _0x55ad39=__name(function(){var _0x34621b=_0x65aa72;if(_0x398ad6){if(typeof _0x398ad6[_0x34621b(0x31b)]==_0x34621b(0x167))try{return _0x398ad6['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x398ad6['randomBytes']==_0x34621b(0x167))try{return _0x398ad6[_0x34621b(0x32b)](0x4)[_0x34621b(0x197)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},'cryptoSecureRandomInt'),_0x188fdc=Object['create']||(function(){function _0x3560a9(){}return __name(_0x3560a9,'F'),function(_0x21ef59){var _0x10280c=_0x214d,_0x329eeb;return _0x3560a9['prototype']=_0x21ef59,_0x329eeb=new _0x3560a9(),_0x3560a9[_0x10280c(0x352)]=null,_0x329eeb;};}()),_0x4005b4={},_0x4aa32d=_0x4005b4[_0x65aa72(0x372)]={},_0x1007f1=_0x4aa32d[_0x65aa72(0x337)]=(function(){var _0x3dfa75=_0x65aa72;return{'extend':__name(function(_0x9ce2e){var _0x53494c=_0x214d,_0x588941=_0x188fdc(this);return _0x9ce2e&&_0x588941[_0x53494c(0x3b6)](_0x9ce2e),(!_0x588941[_0x53494c(0x42b)](_0x53494c(0x23c))||this[_0x53494c(0x23c)]===_0x588941[_0x53494c(0x23c)])&&(_0x588941[_0x53494c(0x23c)]=function(){var _0x1591ac=_0x53494c;_0x588941[_0x1591ac(0x1cd)][_0x1591ac(0x23c)][_0x1591ac(0x44e)](this,arguments);}),_0x588941[_0x53494c(0x23c)][_0x53494c(0x352)]=_0x588941,_0x588941[_0x53494c(0x1cd)]=this,_0x588941;},_0x3dfa75(0x1aa)),'create':__name(function(){var _0x5d2e89=_0x3dfa75,_0x200d6c=this['extend']();return _0x200d6c[_0x5d2e89(0x23c)][_0x5d2e89(0x44e)](_0x200d6c,arguments),_0x200d6c;},_0x3dfa75(0x274)),'init':__name(function(){},_0x3dfa75(0x23c)),'mixIn':__name(function(_0x4dc77b){var _0x58ab78=_0x3dfa75;for(var _0x383cb6 in _0x4dc77b)_0x4dc77b[_0x58ab78(0x42b)](_0x383cb6)&&(this[_0x383cb6]=_0x4dc77b[_0x383cb6]);_0x4dc77b['hasOwnProperty']('toString')&&(this['toString']=_0x4dc77b['toString']);},_0x3dfa75(0x3b6)),'clone':__name(function(){var _0x190d94=_0x3dfa75;return this['init'][_0x190d94(0x352)]['extend'](this);},_0x3dfa75(0x361))};}()),_0x567517=_0x4aa32d['WordArray']=_0x1007f1[_0x65aa72(0x1aa)]({'init':__name(function(_0x17b5d5,_0x3574b3){var _0x3031a5=_0x65aa72;_0x17b5d5=this[_0x3031a5(0x327)]=_0x17b5d5||[],_0x3574b3!=_0x545b57?this[_0x3031a5(0x444)]=_0x3574b3:this[_0x3031a5(0x444)]=_0x17b5d5[_0x3031a5(0x271)]*0x4;},_0x65aa72(0x23c)),'toString':__name(function(_0x484f09){var _0x46b2bb=_0x65aa72;return(_0x484f09||_0x477a2e)[_0x46b2bb(0x375)](this);},'toString'),'concat':__name(function(_0x2b8028){var _0x28040a=_0x65aa72,_0x171c4e=this[_0x28040a(0x327)],_0xde0498=_0x2b8028['words'],_0x2a124d=this[_0x28040a(0x444)],_0x69695c=_0x2b8028[_0x28040a(0x444)];if(this['clamp'](),_0x2a124d%0x4)for(var _0x3f3943=0x0;_0x3f3943<_0x69695c;_0x3f3943++){var _0x328be1=_0xde0498[_0x3f3943>>>0x2]>>>0x18-_0x3f3943%0x4*0x8&0xff;_0x171c4e[_0x2a124d+_0x3f3943>>>0x2]|=_0x328be1<<0x18-(_0x2a124d+_0x3f3943)%0x4*0x8;}else{for(var _0x5258da=0x0;_0x5258da<_0x69695c;_0x5258da+=0x4)_0x171c4e[_0x2a124d+_0x5258da>>>0x2]=_0xde0498[_0x5258da>>>0x2];}return this[_0x28040a(0x444)]+=_0x69695c,this;},_0x65aa72(0x3d8)),'clamp':__name(function(){var _0xf59d5e=_0x65aa72,_0x45fd4c=this[_0xf59d5e(0x327)],_0x16ab53=this[_0xf59d5e(0x444)];_0x45fd4c[_0x16ab53>>>0x2]&=0xffffffff<<0x20-_0x16ab53%0x4*0x8,_0x45fd4c[_0xf59d5e(0x271)]=_0x2bfbc6[_0xf59d5e(0x276)](_0x16ab53/0x4);},'clamp'),'clone':__name(function(){var _0x1ce9df=_0x65aa72,_0x15e9dd=_0x1007f1[_0x1ce9df(0x361)][_0x1ce9df(0x451)](this);return _0x15e9dd['words']=this[_0x1ce9df(0x327)][_0x1ce9df(0x178)](0x0),_0x15e9dd;},_0x65aa72(0x361)),'random':__name(function(_0x168b7a){var _0x5cf2ca=_0x65aa72;for(var _0x1dd4c8=[],_0x1422ca=0x0;_0x1422ca<_0x168b7a;_0x1422ca+=0x4)_0x1dd4c8[_0x5cf2ca(0x34a)](_0x55ad39());return new _0x567517[(_0x5cf2ca(0x23c))](_0x1dd4c8,_0x168b7a);},'random')}),_0x15ef4c=_0x4005b4[_0x65aa72(0x138)]={},_0x477a2e=_0x15ef4c['Hex']={'stringify':__name(function(_0x1d22ff){var _0x1eb388=_0x65aa72;for(var _0x4745a6=_0x1d22ff['words'],_0x2af94e=_0x1d22ff['sigBytes'],_0x51450c=[],_0x1576de=0x0;_0x1576de<_0x2af94e;_0x1576de++){var _0x522cd1=_0x4745a6[_0x1576de>>>0x2]>>>0x18-_0x1576de%0x4*0x8&0xff;_0x51450c['push']((_0x522cd1>>>0x4)[_0x1eb388(0x1fa)](0x10)),_0x51450c[_0x1eb388(0x34a)]((_0x522cd1&0xf)['toString'](0x10));}return _0x51450c['join']('');},_0x65aa72(0x375)),'parse':__name(function(_0x15e797){var _0x53e080=_0x65aa72;for(var _0x3882a4=_0x15e797[_0x53e080(0x271)],_0x10411a=[],_0x391d96=0x0;_0x391d96<_0x3882a4;_0x391d96+=0x2)_0x10411a[_0x391d96>>>0x3]|=parseInt(_0x15e797[_0x53e080(0x396)](_0x391d96,0x2),0x10)<<0x18-_0x391d96%0x8*0x4;return new _0x567517[(_0x53e080(0x23c))](_0x10411a,_0x3882a4/0x2);},_0x65aa72(0x246))},_0x2b960c=_0x15ef4c[_0x65aa72(0x467)]={'stringify':__name(function(_0x2c52e5){var _0xa7df97=_0x65aa72;for(var _0x50752f=_0x2c52e5[_0xa7df97(0x327)],_0x2297c8=_0x2c52e5['sigBytes'],_0x55b877=[],_0x12d9c7=0x0;_0x12d9c7<_0x2297c8;_0x12d9c7++){var _0x4f72ac=_0x50752f[_0x12d9c7>>>0x2]>>>0x18-_0x12d9c7%0x4*0x8&0xff;_0x55b877[_0xa7df97(0x34a)](String[_0xa7df97(0x31a)](_0x4f72ac));}return _0x55b877['join']('');},'stringify'),'parse':__name(function(_0xfd3a13){var _0xdb07d1=_0x65aa72;for(var _0x191262=_0xfd3a13[_0xdb07d1(0x271)],_0x404158=[],_0x52d092=0x0;_0x52d092<_0x191262;_0x52d092++)_0x404158[_0x52d092>>>0x2]|=(_0xfd3a13[_0xdb07d1(0x1a0)](_0x52d092)&0xff)<<0x18-_0x52d092%0x4*0x8;return new _0x567517[(_0xdb07d1(0x23c))](_0x404158,_0x191262);},_0x65aa72(0x246))},_0xdc7525=_0x15ef4c[_0x65aa72(0x42d)]={'stringify':__name(function(_0x56df8b){var _0x1a033f=_0x65aa72;try{return decodeURIComponent(escape(_0x2b960c[_0x1a033f(0x375)](_0x56df8b)));}catch{throw new Error(_0x1a033f(0x20a));}},_0x65aa72(0x375)),'parse':__name(function(_0x473be7){var _0x42d003=_0x65aa72;return _0x2b960c[_0x42d003(0x246)](unescape(encodeURIComponent(_0x473be7)));},'parse')},_0x3e8aa9=_0x4aa32d[_0x65aa72(0x1e4)]=_0x1007f1[_0x65aa72(0x1aa)]({'reset':__name(function(){var _0x32e040=_0x65aa72;this[_0x32e040(0x2a0)]=new _0x567517[(_0x32e040(0x23c))](),this[_0x32e040(0x348)]=0x0;},_0x65aa72(0x211)),'_append':__name(function(_0x1da55c){var _0x302c0b=_0x65aa72;typeof _0x1da55c=='string'&&(_0x1da55c=_0xdc7525['parse'](_0x1da55c)),this[_0x302c0b(0x2a0)][_0x302c0b(0x3d8)](_0x1da55c),this[_0x302c0b(0x348)]+=_0x1da55c['sigBytes'];},_0x65aa72(0x381)),'_process':__name(function(_0xaf75e4){var _0x15f4c5=_0x65aa72,_0x3f1375,_0x3fe1d8=this[_0x15f4c5(0x2a0)],_0x28c3ca=_0x3fe1d8[_0x15f4c5(0x327)],_0x5ab270=_0x3fe1d8[_0x15f4c5(0x444)],_0x3d545f=this[_0x15f4c5(0x163)],_0x44b590=_0x3d545f*0x4,_0x161dd5=_0x5ab270/_0x44b590;_0xaf75e4?_0x161dd5=_0x2bfbc6[_0x15f4c5(0x276)](_0x161dd5):_0x161dd5=_0x2bfbc6[_0x15f4c5(0x214)]((_0x161dd5|0x0)-this[_0x15f4c5(0x3f1)],0x0);var _0x43a7bf=_0x161dd5*_0x3d545f,_0x545685=_0x2bfbc6[_0x15f4c5(0x1f2)](_0x43a7bf*0x4,_0x5ab270);if(_0x43a7bf){for(var _0x211d4f=0x0;_0x211d4f<_0x43a7bf;_0x211d4f+=_0x3d545f)this[_0x15f4c5(0x402)](_0x28c3ca,_0x211d4f);_0x3f1375=_0x28c3ca[_0x15f4c5(0x159)](0x0,_0x43a7bf),_0x3fe1d8[_0x15f4c5(0x444)]-=_0x545685;}return new _0x567517[(_0x15f4c5(0x23c))](_0x3f1375,_0x545685);},_0x65aa72(0x3a6)),'clone':__name(function(){var _0x5807cf=_0x65aa72,_0x188524=_0x1007f1['clone']['call'](this);return _0x188524[_0x5807cf(0x2a0)]=this['_data'][_0x5807cf(0x361)](),_0x188524;},'clone'),'_minBufferSize':0x0});_0x4aa32d[_0x65aa72(0x474)]=_0x3e8aa9['extend']({'cfg':_0x1007f1[_0x65aa72(0x1aa)](),'init':__name(function(_0x2667e4){var _0x3493d9=_0x65aa72;this[_0x3493d9(0x28e)]=this['cfg'][_0x3493d9(0x1aa)](_0x2667e4),this[_0x3493d9(0x211)]();},_0x65aa72(0x23c)),'reset':__name(function(){var _0x5f072b=_0x65aa72;_0x3e8aa9[_0x5f072b(0x211)][_0x5f072b(0x451)](this),this['_doReset']();},_0x65aa72(0x211)),'update':__name(function(_0x36cb34){var _0x34e8a9=_0x65aa72;return this[_0x34e8a9(0x381)](_0x36cb34),this['_process'](),this;},_0x65aa72(0x350)),'finalize':__name(function(_0x4c14a7){var _0xa756fb=_0x65aa72;_0x4c14a7&&this[_0xa756fb(0x381)](_0x4c14a7);var _0x54884a=this[_0xa756fb(0x285)]();return _0x54884a;},'finalize'),'blockSize':0x10,'_createHelper':__name(function(_0x515d75){return function(_0xf63bf3,_0x305f53){var _0x3614c8=_0x214d;return new _0x515d75[(_0x3614c8(0x23c))](_0x305f53)[_0x3614c8(0x450)](_0xf63bf3);};},_0x65aa72(0x489)),'_createHmacHelper':__name(function(_0x500cc5){return function(_0x3d022d,_0x263bd5){var _0x3e1939=_0x214d;return new _0x27292d['HMAC'][(_0x3e1939(0x23c))](_0x500cc5,_0x263bd5)[_0x3e1939(0x450)](_0x3d022d);};},_0x65aa72(0x143))});var _0x27292d=_0x4005b4['algo']={};return _0x4005b4;}(Math);return _0x78b600;}));}(core$1)),core$1['exports'];}__name(requireCore,_0xa33034(0x3ce));var encBase64$1={'exports':{}},encBase64=encBase64$1[_0xa33034(0x457)],hasRequiredEncBase64;function requireEncBase64(){var _0x1a281e=_0xa33034;return hasRequiredEncBase64||(hasRequiredEncBase64=0x1,function(_0x170c79,_0x3ceadf){(function(_0x3664ff,_0x29f107){var _0x34c3f0=_0x214d;_0x170c79[_0x34c3f0(0x457)]=_0x29f107(requireCore());}(encBase64,function(_0x186751){var _0x67bba1=_0x214d;return(function(){var _0x20c731=_0x214d,_0x4509cc=_0x186751,_0x14090f=_0x4509cc[_0x20c731(0x372)],_0x2a93df=_0x14090f[_0x20c731(0x2ed)],_0x38d504=_0x4509cc[_0x20c731(0x138)];_0x38d504[_0x20c731(0x196)]={'stringify':__name(function(_0x4061ca){var _0x525bc6=_0x20c731,_0x5b1323=_0x4061ca[_0x525bc6(0x327)],_0x345019=_0x4061ca[_0x525bc6(0x444)],_0xd7198f=this[_0x525bc6(0x471)];_0x4061ca['clamp']();for(var _0x4d7ea6=[],_0x10af63=0x0;_0x10af63<_0x345019;_0x10af63+=0x3)for(var _0xa43eec=_0x5b1323[_0x10af63>>>0x2]>>>0x18-_0x10af63%0x4*0x8&0xff,_0x2f0c4e=_0x5b1323[_0x10af63+0x1>>>0x2]>>>0x18-(_0x10af63+0x1)%0x4*0x8&0xff,_0x15ecee=_0x5b1323[_0x10af63+0x2>>>0x2]>>>0x18-(_0x10af63+0x2)%0x4*0x8&0xff,_0x23f14f=_0xa43eec<<0x10|_0x2f0c4e<<0x8|_0x15ecee,_0xe54f6=0x0;_0xe54f6<0x4&&_0x10af63+_0xe54f6*0.75<_0x345019;_0xe54f6++)_0x4d7ea6['push'](_0xd7198f[_0x525bc6(0x2c6)](_0x23f14f>>>0x6*(0x3-_0xe54f6)&0x3f));var _0x2c6cf9=_0xd7198f[_0x525bc6(0x2c6)](0x40);if(_0x2c6cf9){for(;_0x4d7ea6[_0x525bc6(0x271)]%0x4;)_0x4d7ea6[_0x525bc6(0x34a)](_0x2c6cf9);}return _0x4d7ea6[_0x525bc6(0x3bb)]('');},_0x20c731(0x375)),'parse':__name(function(_0x2c0f83){var _0xffa6c0=_0x20c731,_0x1a4aae=_0x2c0f83[_0xffa6c0(0x271)],_0xcfdce2=this[_0xffa6c0(0x471)],_0x13f111=this[_0xffa6c0(0x25e)];if(!_0x13f111){_0x13f111=this[_0xffa6c0(0x25e)]=[];for(var _0x4883c3=0x0;_0x4883c3<_0xcfdce2[_0xffa6c0(0x271)];_0x4883c3++)_0x13f111[_0xcfdce2[_0xffa6c0(0x1a0)](_0x4883c3)]=_0x4883c3;}var _0x37a01f=_0xcfdce2[_0xffa6c0(0x2c6)](0x40);if(_0x37a01f){var _0x32f013=_0x2c0f83[_0xffa6c0(0x1ce)](_0x37a01f);_0x32f013!==-0x1&&(_0x1a4aae=_0x32f013);}return _0x34a510(_0x2c0f83,_0x1a4aae,_0x13f111);},_0x20c731(0x246)),'_map':_0x20c731(0x17e)};function _0x34a510(_0x1a1d07,_0x37ad50,_0x54116b){var _0x47067e=_0x20c731;for(var _0x30ee08=[],_0xa5d5b2=0x0,_0x3fa5cf=0x0;_0x3fa5cf<_0x37ad50;_0x3fa5cf++)if(_0x3fa5cf%0x4){var _0x4a7abc=_0x54116b[_0x1a1d07[_0x47067e(0x1a0)](_0x3fa5cf-0x1)]<<_0x3fa5cf%0x4*0x2,_0x372f9c=_0x54116b[_0x1a1d07[_0x47067e(0x1a0)](_0x3fa5cf)]>>>0x6-_0x3fa5cf%0x4*0x2,_0xb2c17d=_0x4a7abc|_0x372f9c;_0x30ee08[_0xa5d5b2>>>0x2]|=_0xb2c17d<<0x18-_0xa5d5b2%0x4*0x8,_0xa5d5b2++;}return _0x2a93df['create'](_0x30ee08,_0xa5d5b2);}__name(_0x34a510,'parseLoop');}()),_0x186751['enc'][_0x67bba1(0x196)];}));}(encBase64$1)),encBase64$1[_0x1a281e(0x457)];}__name(requireEncBase64,_0xa33034(0x345));var md5$1={'exports':{}},md5=md5$1[_0xa33034(0x457)],hasRequiredMd5;function requireMd5(){var _0x3c1126=_0xa33034;return hasRequiredMd5||(hasRequiredMd5=0x1,function(_0x4a17a4,_0xbbe4ff){(function(_0x4a2d2f,_0x13e738){var _0x4afbe0=_0x214d;_0x4a17a4[_0x4afbe0(0x457)]=_0x13e738(requireCore());}(md5,function(_0x3f6c22){var _0x377471=_0x214d;return function(_0x561636){var _0x3a0485=_0x214d,_0x5e3c38=_0x3f6c22,_0x5d6eb0=_0x5e3c38[_0x3a0485(0x372)],_0x243fa0=_0x5d6eb0['WordArray'],_0x5a7351=_0x5d6eb0[_0x3a0485(0x474)],_0x4577b4=_0x5e3c38[_0x3a0485(0x3a3)],_0x3ad708=[];(function(){var _0x4658cd=_0x3a0485;for(var _0x2962be=0x0;_0x2962be<0x40;_0x2962be++)_0x3ad708[_0x2962be]=_0x561636['abs'](_0x561636[_0x4658cd(0x317)](_0x2962be+0x1))*0x100000000|0x0;}());var _0x4adeea=_0x4577b4[_0x3a0485(0x3e6)]=_0x5a7351[_0x3a0485(0x1aa)]({'_doReset':__name(function(){var _0x151001=_0x3a0485;this['_hash']=new _0x243fa0[(_0x151001(0x23c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},_0x3a0485(0x27f)),'_doProcessBlock':__name(function(_0x6d7bc0,_0x235d2d){var _0x28dc89=_0x3a0485;for(var _0x40003b=0x0;_0x40003b<0x10;_0x40003b++){var _0xf39802=_0x235d2d+_0x40003b,_0x6e53bb=_0x6d7bc0[_0xf39802];_0x6d7bc0[_0xf39802]=(_0x6e53bb<<0x8|_0x6e53bb>>>0x18)&0xff00ff|(_0x6e53bb<<0x18|_0x6e53bb>>>0x8)&0xff00ff00;}var _0x1b3110=this['_hash'][_0x28dc89(0x327)],_0x21dbcf=_0x6d7bc0[_0x235d2d+0x0],_0x28b18e=_0x6d7bc0[_0x235d2d+0x1],_0x36cf17=_0x6d7bc0[_0x235d2d+0x2],_0x51dcd5=_0x6d7bc0[_0x235d2d+0x3],_0x1fd07d=_0x6d7bc0[_0x235d2d+0x4],_0x5f85a3=_0x6d7bc0[_0x235d2d+0x5],_0x476e2e=_0x6d7bc0[_0x235d2d+0x6],_0x19adcf=_0x6d7bc0[_0x235d2d+0x7],_0x415de0=_0x6d7bc0[_0x235d2d+0x8],_0x3271ba=_0x6d7bc0[_0x235d2d+0x9],_0x5aa615=_0x6d7bc0[_0x235d2d+0xa],_0x50f4f8=_0x6d7bc0[_0x235d2d+0xb],_0x4a7d82=_0x6d7bc0[_0x235d2d+0xc],_0x5aa26b=_0x6d7bc0[_0x235d2d+0xd],_0x21166e=_0x6d7bc0[_0x235d2d+0xe],_0x58a17d=_0x6d7bc0[_0x235d2d+0xf],_0x18df3f=_0x1b3110[0x0],_0x33cf6b=_0x1b3110[0x1],_0x36efa9=_0x1b3110[0x2],_0x1c35c0=_0x1b3110[0x3];_0x18df3f=_0x30e759(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x21dbcf,0x7,_0x3ad708[0x0]),_0x1c35c0=_0x30e759(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x28b18e,0xc,_0x3ad708[0x1]),_0x36efa9=_0x30e759(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36cf17,0x11,_0x3ad708[0x2]),_0x33cf6b=_0x30e759(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x51dcd5,0x16,_0x3ad708[0x3]),_0x18df3f=_0x30e759(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x1fd07d,0x7,_0x3ad708[0x4]),_0x1c35c0=_0x30e759(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x5f85a3,0xc,_0x3ad708[0x5]),_0x36efa9=_0x30e759(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x476e2e,0x11,_0x3ad708[0x6]),_0x33cf6b=_0x30e759(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x19adcf,0x16,_0x3ad708[0x7]),_0x18df3f=_0x30e759(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x415de0,0x7,_0x3ad708[0x8]),_0x1c35c0=_0x30e759(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x3271ba,0xc,_0x3ad708[0x9]),_0x36efa9=_0x30e759(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x5aa615,0x11,_0x3ad708[0xa]),_0x33cf6b=_0x30e759(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x50f4f8,0x16,_0x3ad708[0xb]),_0x18df3f=_0x30e759(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x4a7d82,0x7,_0x3ad708[0xc]),_0x1c35c0=_0x30e759(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x5aa26b,0xc,_0x3ad708[0xd]),_0x36efa9=_0x30e759(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x21166e,0x11,_0x3ad708[0xe]),_0x33cf6b=_0x30e759(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x58a17d,0x16,_0x3ad708[0xf]),_0x18df3f=_0x592699(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x28b18e,0x5,_0x3ad708[0x10]),_0x1c35c0=_0x592699(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x476e2e,0x9,_0x3ad708[0x11]),_0x36efa9=_0x592699(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x50f4f8,0xe,_0x3ad708[0x12]),_0x33cf6b=_0x592699(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x21dbcf,0x14,_0x3ad708[0x13]),_0x18df3f=_0x592699(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x5f85a3,0x5,_0x3ad708[0x14]),_0x1c35c0=_0x592699(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x5aa615,0x9,_0x3ad708[0x15]),_0x36efa9=_0x592699(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x58a17d,0xe,_0x3ad708[0x16]),_0x33cf6b=_0x592699(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x1fd07d,0x14,_0x3ad708[0x17]),_0x18df3f=_0x592699(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x3271ba,0x5,_0x3ad708[0x18]),_0x1c35c0=_0x592699(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x21166e,0x9,_0x3ad708[0x19]),_0x36efa9=_0x592699(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x51dcd5,0xe,_0x3ad708[0x1a]),_0x33cf6b=_0x592699(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x415de0,0x14,_0x3ad708[0x1b]),_0x18df3f=_0x592699(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x5aa26b,0x5,_0x3ad708[0x1c]),_0x1c35c0=_0x592699(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x36cf17,0x9,_0x3ad708[0x1d]),_0x36efa9=_0x592699(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x19adcf,0xe,_0x3ad708[0x1e]),_0x33cf6b=_0x592699(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x4a7d82,0x14,_0x3ad708[0x1f]),_0x18df3f=_0x8057b9(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x5f85a3,0x4,_0x3ad708[0x20]),_0x1c35c0=_0x8057b9(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x415de0,0xb,_0x3ad708[0x21]),_0x36efa9=_0x8057b9(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x50f4f8,0x10,_0x3ad708[0x22]),_0x33cf6b=_0x8057b9(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x21166e,0x17,_0x3ad708[0x23]),_0x18df3f=_0x8057b9(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x28b18e,0x4,_0x3ad708[0x24]),_0x1c35c0=_0x8057b9(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x1fd07d,0xb,_0x3ad708[0x25]),_0x36efa9=_0x8057b9(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x19adcf,0x10,_0x3ad708[0x26]),_0x33cf6b=_0x8057b9(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x5aa615,0x17,_0x3ad708[0x27]),_0x18df3f=_0x8057b9(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x5aa26b,0x4,_0x3ad708[0x28]),_0x1c35c0=_0x8057b9(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x21dbcf,0xb,_0x3ad708[0x29]),_0x36efa9=_0x8057b9(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x51dcd5,0x10,_0x3ad708[0x2a]),_0x33cf6b=_0x8057b9(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x476e2e,0x17,_0x3ad708[0x2b]),_0x18df3f=_0x8057b9(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x3271ba,0x4,_0x3ad708[0x2c]),_0x1c35c0=_0x8057b9(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x4a7d82,0xb,_0x3ad708[0x2d]),_0x36efa9=_0x8057b9(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x58a17d,0x10,_0x3ad708[0x2e]),_0x33cf6b=_0x8057b9(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x36cf17,0x17,_0x3ad708[0x2f]),_0x18df3f=_0x4e00da(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x21dbcf,0x6,_0x3ad708[0x30]),_0x1c35c0=_0x4e00da(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x19adcf,0xa,_0x3ad708[0x31]),_0x36efa9=_0x4e00da(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x21166e,0xf,_0x3ad708[0x32]),_0x33cf6b=_0x4e00da(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x5f85a3,0x15,_0x3ad708[0x33]),_0x18df3f=_0x4e00da(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x4a7d82,0x6,_0x3ad708[0x34]),_0x1c35c0=_0x4e00da(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x51dcd5,0xa,_0x3ad708[0x35]),_0x36efa9=_0x4e00da(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x5aa615,0xf,_0x3ad708[0x36]),_0x33cf6b=_0x4e00da(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x28b18e,0x15,_0x3ad708[0x37]),_0x18df3f=_0x4e00da(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x415de0,0x6,_0x3ad708[0x38]),_0x1c35c0=_0x4e00da(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x58a17d,0xa,_0x3ad708[0x39]),_0x36efa9=_0x4e00da(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x476e2e,0xf,_0x3ad708[0x3a]),_0x33cf6b=_0x4e00da(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x5aa26b,0x15,_0x3ad708[0x3b]),_0x18df3f=_0x4e00da(_0x18df3f,_0x33cf6b,_0x36efa9,_0x1c35c0,_0x1fd07d,0x6,_0x3ad708[0x3c]),_0x1c35c0=_0x4e00da(_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36efa9,_0x50f4f8,0xa,_0x3ad708[0x3d]),_0x36efa9=_0x4e00da(_0x36efa9,_0x1c35c0,_0x18df3f,_0x33cf6b,_0x36cf17,0xf,_0x3ad708[0x3e]),_0x33cf6b=_0x4e00da(_0x33cf6b,_0x36efa9,_0x1c35c0,_0x18df3f,_0x3271ba,0x15,_0x3ad708[0x3f]),_0x1b3110[0x0]=_0x1b3110[0x0]+_0x18df3f|0x0,_0x1b3110[0x1]=_0x1b3110[0x1]+_0x33cf6b|0x0,_0x1b3110[0x2]=_0x1b3110[0x2]+_0x36efa9|0x0,_0x1b3110[0x3]=_0x1b3110[0x3]+_0x1c35c0|0x0;},_0x3a0485(0x402)),'_doFinalize':__name(function(){var _0x594697=_0x3a0485,_0x38a606=this[_0x594697(0x2a0)],_0x2bd3dc=_0x38a606[_0x594697(0x327)],_0x68e561=this[_0x594697(0x348)]*0x8,_0x536937=_0x38a606[_0x594697(0x444)]*0x8;_0x2bd3dc[_0x536937>>>0x5]|=0x80<<0x18-_0x536937%0x20;var _0x14332f=_0x561636['floor'](_0x68e561/0x100000000),_0x97b4b6=_0x68e561;_0x2bd3dc[(_0x536937+0x40>>>0x9<<0x4)+0xf]=(_0x14332f<<0x8|_0x14332f>>>0x18)&0xff00ff|(_0x14332f<<0x18|_0x14332f>>>0x8)&0xff00ff00,_0x2bd3dc[(_0x536937+0x40>>>0x9<<0x4)+0xe]=(_0x97b4b6<<0x8|_0x97b4b6>>>0x18)&0xff00ff|(_0x97b4b6<<0x18|_0x97b4b6>>>0x8)&0xff00ff00,_0x38a606['sigBytes']=(_0x2bd3dc[_0x594697(0x271)]+0x1)*0x4,this['_process']();for(var _0x59b4f6=this[_0x594697(0x19b)],_0xafa39a=_0x59b4f6[_0x594697(0x327)],_0xf56497=0x0;_0xf56497<0x4;_0xf56497++){var _0x3bacec=_0xafa39a[_0xf56497];_0xafa39a[_0xf56497]=(_0x3bacec<<0x8|_0x3bacec>>>0x18)&0xff00ff|(_0x3bacec<<0x18|_0x3bacec>>>0x8)&0xff00ff00;}return _0x59b4f6;},_0x3a0485(0x285)),'clone':__name(function(){var _0x3ffab4=_0x3a0485,_0x460748=_0x5a7351[_0x3ffab4(0x361)][_0x3ffab4(0x451)](this);return _0x460748[_0x3ffab4(0x19b)]=this[_0x3ffab4(0x19b)][_0x3ffab4(0x361)](),_0x460748;},'clone')});function _0x30e759(_0x56e719,_0x5e0b1f,_0x29016b,_0x14cc45,_0xb301b7,_0x2e9f5c,_0x5ac27c){var _0x39f7f3=_0x56e719+(_0x5e0b1f&_0x29016b|~_0x5e0b1f&_0x14cc45)+_0xb301b7+_0x5ac27c;return(_0x39f7f3<<_0x2e9f5c|_0x39f7f3>>>0x20-_0x2e9f5c)+_0x5e0b1f;}__name(_0x30e759,'FF');function _0x592699(_0x40b0de,_0x15d709,_0x3eb245,_0x970dd5,_0x5d425b,_0x56dc6c,_0x2f54cd){var _0x5a9cc8=_0x40b0de+(_0x15d709&_0x970dd5|_0x3eb245&~_0x970dd5)+_0x5d425b+_0x2f54cd;return(_0x5a9cc8<<_0x56dc6c|_0x5a9cc8>>>0x20-_0x56dc6c)+_0x15d709;}__name(_0x592699,'GG');function _0x8057b9(_0x11d72a,_0x28f5e6,_0x3f3072,_0x373399,_0x4b7cb8,_0x3802a2,_0xce814c){var _0x518b43=_0x11d72a+(_0x28f5e6^_0x3f3072^_0x373399)+_0x4b7cb8+_0xce814c;return(_0x518b43<<_0x3802a2|_0x518b43>>>0x20-_0x3802a2)+_0x28f5e6;}__name(_0x8057b9,'HH');function _0x4e00da(_0x558ebf,_0x3eb58d,_0x5c530a,_0x2480c4,_0x29a4d6,_0x497532,_0x4d01ac){var _0xb2f7c5=_0x558ebf+(_0x5c530a^(_0x3eb58d|~_0x2480c4))+_0x29a4d6+_0x4d01ac;return(_0xb2f7c5<<_0x497532|_0xb2f7c5>>>0x20-_0x497532)+_0x3eb58d;}__name(_0x4e00da,'II'),_0x5e3c38[_0x3a0485(0x3e6)]=_0x5a7351[_0x3a0485(0x489)](_0x4adeea),_0x5e3c38['HmacMD5']=_0x5a7351[_0x3a0485(0x143)](_0x4adeea);}(Math),_0x3f6c22[_0x377471(0x3e6)];}));}(md5$1)),md5$1[_0x3c1126(0x457)];}__name(requireMd5,'requireMd5');var evpkdf$1={'exports':{}},sha1$1={'exports':{}},sha1=sha1$1[_0xa33034(0x457)],hasRequiredSha1;function requireSha1(){var _0x367ad8=_0xa33034;return hasRequiredSha1||(hasRequiredSha1=0x1,function(_0x30d2a9,_0x52151d){(function(_0x36e9a3,_0x5d0ff4){_0x30d2a9['exports']=_0x5d0ff4(requireCore());}(sha1,function(_0x2a283d){var _0x3eecca=_0x214d;return(function(){var _0x1ef5b7=_0x214d,_0x2df356=_0x2a283d,_0x3f348d=_0x2df356['lib'],_0x16732f=_0x3f348d[_0x1ef5b7(0x2ed)],_0x425f1b=_0x3f348d[_0x1ef5b7(0x474)],_0x8ada5a=_0x2df356[_0x1ef5b7(0x3a3)],_0xbe4f39=[],_0x26948e=_0x8ada5a['SHA1']=_0x425f1b[_0x1ef5b7(0x1aa)]({'_doReset':__name(function(){var _0x146461=_0x1ef5b7;this[_0x146461(0x19b)]=new _0x16732f[(_0x146461(0x23c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doReset'),'_doProcessBlock':__name(function(_0x1f9b3a,_0x39ff2a){var _0x5ae649=_0x1ef5b7;for(var _0x3f1635=this[_0x5ae649(0x19b)][_0x5ae649(0x327)],_0x667ac6=_0x3f1635[0x0],_0x1a7583=_0x3f1635[0x1],_0x4a7fe5=_0x3f1635[0x2],_0x19041a=_0x3f1635[0x3],_0x5aa7e1=_0x3f1635[0x4],_0x3ec25d=0x0;_0x3ec25d<0x50;_0x3ec25d++){if(_0x3ec25d<0x10)_0xbe4f39[_0x3ec25d]=_0x1f9b3a[_0x39ff2a+_0x3ec25d]|0x0;else{var _0x36945d=_0xbe4f39[_0x3ec25d-0x3]^_0xbe4f39[_0x3ec25d-0x8]^_0xbe4f39[_0x3ec25d-0xe]^_0xbe4f39[_0x3ec25d-0x10];_0xbe4f39[_0x3ec25d]=_0x36945d<<0x1|_0x36945d>>>0x1f;}var _0xa4686b=(_0x667ac6<<0x5|_0x667ac6>>>0x1b)+_0x5aa7e1+_0xbe4f39[_0x3ec25d];_0x3ec25d<0x14?_0xa4686b+=(_0x1a7583&_0x4a7fe5|~_0x1a7583&_0x19041a)+0x5a827999:_0x3ec25d<0x28?_0xa4686b+=(_0x1a7583^_0x4a7fe5^_0x19041a)+0x6ed9eba1:_0x3ec25d<0x3c?_0xa4686b+=(_0x1a7583&_0x4a7fe5|_0x1a7583&_0x19041a|_0x4a7fe5&_0x19041a)-0x70e44324:_0xa4686b+=(_0x1a7583^_0x4a7fe5^_0x19041a)-0x359d3e2a,_0x5aa7e1=_0x19041a,_0x19041a=_0x4a7fe5,_0x4a7fe5=_0x1a7583<<0x1e|_0x1a7583>>>0x2,_0x1a7583=_0x667ac6,_0x667ac6=_0xa4686b;}_0x3f1635[0x0]=_0x3f1635[0x0]+_0x667ac6|0x0,_0x3f1635[0x1]=_0x3f1635[0x1]+_0x1a7583|0x0,_0x3f1635[0x2]=_0x3f1635[0x2]+_0x4a7fe5|0x0,_0x3f1635[0x3]=_0x3f1635[0x3]+_0x19041a|0x0,_0x3f1635[0x4]=_0x3f1635[0x4]+_0x5aa7e1|0x0;},_0x1ef5b7(0x402)),'_doFinalize':__name(function(){var _0x490729=_0x1ef5b7,_0x4e87fc=this[_0x490729(0x2a0)],_0x3dbf4b=_0x4e87fc['words'],_0x569a75=this[_0x490729(0x348)]*0x8,_0x77b3c=_0x4e87fc[_0x490729(0x444)]*0x8;return _0x3dbf4b[_0x77b3c>>>0x5]|=0x80<<0x18-_0x77b3c%0x20,_0x3dbf4b[(_0x77b3c+0x40>>>0x9<<0x4)+0xe]=Math[_0x490729(0x2cb)](_0x569a75/0x100000000),_0x3dbf4b[(_0x77b3c+0x40>>>0x9<<0x4)+0xf]=_0x569a75,_0x4e87fc[_0x490729(0x444)]=_0x3dbf4b[_0x490729(0x271)]*0x4,this[_0x490729(0x3a6)](),this[_0x490729(0x19b)];},_0x1ef5b7(0x285)),'clone':__name(function(){var _0x3a4611=_0x1ef5b7,_0x2b229b=_0x425f1b[_0x3a4611(0x361)][_0x3a4611(0x451)](this);return _0x2b229b[_0x3a4611(0x19b)]=this[_0x3a4611(0x19b)][_0x3a4611(0x361)](),_0x2b229b;},'clone')});_0x2df356[_0x1ef5b7(0x32c)]=_0x425f1b[_0x1ef5b7(0x489)](_0x26948e),_0x2df356['HmacSHA1']=_0x425f1b[_0x1ef5b7(0x143)](_0x26948e);}()),_0x2a283d[_0x3eecca(0x32c)];}));}(sha1$1)),sha1$1[_0x367ad8(0x457)];}__name(requireSha1,_0xa33034(0x18b));var hmac$1={'exports':{}},hmac=hmac$1[_0xa33034(0x457)],hasRequiredHmac;function requireHmac(){var _0x5d1cbc=_0xa33034;return hasRequiredHmac||(hasRequiredHmac=0x1,function(_0x528272,_0x486759){(function(_0x15e802,_0x21f317){var _0x58c38b=_0x214d;_0x528272[_0x58c38b(0x457)]=_0x21f317(requireCore());}(hmac,function(_0x401f98){(function(){var _0x28ad82=_0x214d,_0x576847=_0x401f98,_0x15a9a3=_0x576847[_0x28ad82(0x372)],_0x1a9d5b=_0x15a9a3[_0x28ad82(0x337)],_0x4e2923=_0x576847[_0x28ad82(0x138)],_0x31d876=_0x4e2923[_0x28ad82(0x42d)],_0x2c6427=_0x576847[_0x28ad82(0x3a3)];_0x2c6427['HMAC']=_0x1a9d5b[_0x28ad82(0x1aa)]({'init':__name(function(_0x1d35d5,_0x3864ed){var _0xe099aa=_0x28ad82;_0x1d35d5=this[_0xe099aa(0x224)]=new _0x1d35d5[(_0xe099aa(0x23c))](),typeof _0x3864ed==_0xe099aa(0x480)&&(_0x3864ed=_0x31d876[_0xe099aa(0x246)](_0x3864ed));var _0x881d54=_0x1d35d5[_0xe099aa(0x163)],_0x47649f=_0x881d54*0x4;_0x3864ed[_0xe099aa(0x444)]>_0x47649f&&(_0x3864ed=_0x1d35d5[_0xe099aa(0x450)](_0x3864ed)),_0x3864ed[_0xe099aa(0x297)]();for(var _0x463389=this[_0xe099aa(0x336)]=_0x3864ed[_0xe099aa(0x361)](),_0x5e71e1=this[_0xe099aa(0x186)]=_0x3864ed[_0xe099aa(0x361)](),_0x2569e7=_0x463389[_0xe099aa(0x327)],_0x2d791c=_0x5e71e1[_0xe099aa(0x327)],_0x50ed3f=0x0;_0x50ed3f<_0x881d54;_0x50ed3f++)_0x2569e7[_0x50ed3f]^=0x5c5c5c5c,_0x2d791c[_0x50ed3f]^=0x36363636;_0x463389[_0xe099aa(0x444)]=_0x5e71e1[_0xe099aa(0x444)]=_0x47649f,this['reset']();},_0x28ad82(0x23c)),'reset':__name(function(){var _0x577fdf=_0x28ad82,_0x5b216f=this[_0x577fdf(0x224)];_0x5b216f['reset'](),_0x5b216f[_0x577fdf(0x350)](this[_0x577fdf(0x186)]);},_0x28ad82(0x211)),'update':__name(function(_0x12d1fb){var _0x7e973d=_0x28ad82;return this[_0x7e973d(0x224)][_0x7e973d(0x350)](_0x12d1fb),this;},_0x28ad82(0x350)),'finalize':__name(function(_0x11ca34){var _0x5a514f=_0x28ad82,_0xdb66b7=this['_hasher'],_0x18899a=_0xdb66b7['finalize'](_0x11ca34);_0xdb66b7[_0x5a514f(0x211)]();var _0x201e2b=_0xdb66b7[_0x5a514f(0x450)](this[_0x5a514f(0x336)][_0x5a514f(0x361)]()[_0x5a514f(0x3d8)](_0x18899a));return _0x201e2b;},'finalize')});}());}));}(hmac$1)),hmac$1[_0x5d1cbc(0x457)];}__name(requireHmac,_0xa33034(0x3e2));var evpkdf=evpkdf$1[_0xa33034(0x457)],hasRequiredEvpkdf;function requireEvpkdf(){var _0x3b0bd7=_0xa33034;return hasRequiredEvpkdf||(hasRequiredEvpkdf=0x1,function(_0x22cd4a,_0xf3cfee){(function(_0x51dbdf,_0x580690,_0xf3d7b2){var _0xb6975e=_0x214d;_0x22cd4a[_0xb6975e(0x457)]=_0x580690(requireCore(),requireSha1(),requireHmac());}(evpkdf,function(_0x437385){return(function(){var _0x44ed1b=_0x214d,_0x289e71=_0x437385,_0x864c78=_0x289e71[_0x44ed1b(0x372)],_0x2abd5b=_0x864c78[_0x44ed1b(0x337)],_0x38abaf=_0x864c78['WordArray'],_0x51ec55=_0x289e71[_0x44ed1b(0x3a3)],_0x472a6e=_0x51ec55['MD5'],_0x399a01=_0x51ec55[_0x44ed1b(0x3fb)]=_0x2abd5b['extend']({'cfg':_0x2abd5b['extend']({'keySize':0x80/0x20,'hasher':_0x472a6e,'iterations':0x1}),'init':__name(function(_0x1bf250){var _0x579283=_0x44ed1b;this[_0x579283(0x28e)]=this[_0x579283(0x28e)][_0x579283(0x1aa)](_0x1bf250);},_0x44ed1b(0x23c)),'compute':__name(function(_0x4712da,_0x3561a5){var _0x1b2968=_0x44ed1b;for(var _0x35ad68,_0xc9c36b=this[_0x1b2968(0x28e)],_0x5ef49e=_0xc9c36b[_0x1b2968(0x262)][_0x1b2968(0x274)](),_0xde0332=_0x38abaf['create'](),_0x5f221a=_0xde0332['words'],_0xd8dcab=_0xc9c36b[_0x1b2968(0x3a5)],_0xf5c986=_0xc9c36b[_0x1b2968(0x26b)];_0x5f221a[_0x1b2968(0x271)]<_0xd8dcab;){_0x35ad68&&_0x5ef49e[_0x1b2968(0x350)](_0x35ad68),_0x35ad68=_0x5ef49e[_0x1b2968(0x350)](_0x4712da)[_0x1b2968(0x450)](_0x3561a5),_0x5ef49e[_0x1b2968(0x211)]();for(var _0x56bd8d=0x1;_0x56bd8d<_0xf5c986;_0x56bd8d++)_0x35ad68=_0x5ef49e[_0x1b2968(0x450)](_0x35ad68),_0x5ef49e[_0x1b2968(0x211)]();_0xde0332[_0x1b2968(0x3d8)](_0x35ad68);}return _0xde0332['sigBytes']=_0xd8dcab*0x4,_0xde0332;},_0x44ed1b(0x2e9))});_0x289e71['EvpKDF']=function(_0x331643,_0x55d2d0,_0x5bb3d5){var _0xce88ba=_0x44ed1b;return _0x399a01['create'](_0x5bb3d5)[_0xce88ba(0x2e9)](_0x331643,_0x55d2d0);};}()),_0x437385['EvpKDF'];}));}(evpkdf$1)),evpkdf$1[_0x3b0bd7(0x457)];}__name(requireEvpkdf,_0xa33034(0x2dd));var cipherCore$1={'exports':{}},cipherCore=cipherCore$1['exports'],hasRequiredCipherCore;function requireCipherCore(){var _0x18dbce=_0xa33034;return hasRequiredCipherCore||(hasRequiredCipherCore=0x1,function(_0x150074,_0x37834d){(function(_0x27a566,_0x555fb2,_0x3c1ff3){var _0x1fa0ae=_0x214d;_0x150074[_0x1fa0ae(0x457)]=_0x555fb2(requireCore(),requireEvpkdf());}(cipherCore,function(_0x14bbac){var _0x138c66=_0x214d;_0x14bbac[_0x138c66(0x372)]['Cipher']||function(_0x28720b){var _0x1d1fbe=_0x138c66,_0x3b7241=_0x14bbac,_0x2bdb97=_0x3b7241['lib'],_0xbbac3e=_0x2bdb97[_0x1d1fbe(0x337)],_0xe96924=_0x2bdb97['WordArray'],_0x5f5c1a=_0x2bdb97['BufferedBlockAlgorithm'],_0x382bc5=_0x3b7241[_0x1d1fbe(0x138)];_0x382bc5[_0x1d1fbe(0x42d)];var _0x2875cf=_0x382bc5[_0x1d1fbe(0x196)],_0x227ebe=_0x3b7241[_0x1d1fbe(0x3a3)],_0x328460=_0x227ebe['EvpKDF'],_0x48a3f6=_0x2bdb97[_0x1d1fbe(0x21b)]=_0x5f5c1a[_0x1d1fbe(0x1aa)]({'cfg':_0xbbac3e['extend'](),'createEncryptor':__name(function(_0x322db6,_0x2abd5c){var _0x10b8f9=_0x1d1fbe;return this[_0x10b8f9(0x274)](this[_0x10b8f9(0x1e8)],_0x322db6,_0x2abd5c);},_0x1d1fbe(0x2a7)),'createDecryptor':__name(function(_0x5ee821,_0xe1f94a){var _0x5f01c7=_0x1d1fbe;return this[_0x5f01c7(0x274)](this[_0x5f01c7(0x16d)],_0x5ee821,_0xe1f94a);},_0x1d1fbe(0x3a0)),'init':__name(function(_0xe30d5b,_0x2f2534,_0x50e6a5){var _0x547545=_0x1d1fbe;this[_0x547545(0x28e)]=this[_0x547545(0x28e)]['extend'](_0x50e6a5),this['_xformMode']=_0xe30d5b,this[_0x547545(0x316)]=_0x2f2534,this['reset']();},_0x1d1fbe(0x23c)),'reset':__name(function(){var _0x29c71d=_0x1d1fbe;_0x5f5c1a[_0x29c71d(0x211)][_0x29c71d(0x451)](this),this[_0x29c71d(0x27f)]();},'reset'),'process':__name(function(_0x49d36){var _0x11851b=_0x1d1fbe;return this[_0x11851b(0x381)](_0x49d36),this[_0x11851b(0x3a6)]();},_0x1d1fbe(0x3a4)),'finalize':__name(function(_0x38c32b){var _0x22765f=_0x1d1fbe;_0x38c32b&&this[_0x22765f(0x381)](_0x38c32b);var _0x59a30b=this[_0x22765f(0x285)]();return _0x59a30b;},_0x1d1fbe(0x450)),'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5a1d95(_0x1abd58){return typeof _0x1abd58=='string'?_0x630f38:_0x5defa9;}return __name(_0x5a1d95,'selectCipherStrategy'),function(_0x5ef300){var _0x2cb509=_0x214d;return{'encrypt':__name(function(_0x2059e6,_0x2e147c,_0x80f5c7){return _0x5a1d95(_0x2e147c)['encrypt'](_0x5ef300,_0x2059e6,_0x2e147c,_0x80f5c7);},'encrypt'),'decrypt':__name(function(_0x3422a5,_0x738c90,_0x37834a){var _0x132cf2=_0x214d;return _0x5a1d95(_0x738c90)[_0x132cf2(0x2f4)](_0x5ef300,_0x3422a5,_0x738c90,_0x37834a);},_0x2cb509(0x2f4))};};}())});_0x2bdb97[_0x1d1fbe(0x1f8)]=_0x48a3f6[_0x1d1fbe(0x1aa)]({'_doFinalize':__name(function(){var _0x5109b6=_0x1d1fbe,_0x5ff9b4=this[_0x5109b6(0x3a6)](!0x0);return _0x5ff9b4;},_0x1d1fbe(0x285)),'blockSize':0x1});var _0x46a9aa=_0x3b7241[_0x1d1fbe(0x1f7)]={},_0x145291=_0x2bdb97[_0x1d1fbe(0x1ee)]=_0xbbac3e[_0x1d1fbe(0x1aa)]({'createEncryptor':__name(function(_0x22597c,_0x230d43){var _0x58883e=_0x1d1fbe;return this[_0x58883e(0x3a8)][_0x58883e(0x274)](_0x22597c,_0x230d43);},_0x1d1fbe(0x2a7)),'createDecryptor':__name(function(_0x55fd9c,_0x381537){var _0x2a6b2f=_0x1d1fbe;return this[_0x2a6b2f(0x300)]['create'](_0x55fd9c,_0x381537);},_0x1d1fbe(0x3a0)),'init':__name(function(_0x5bb22d,_0x31786d){this['_cipher']=_0x5bb22d,this['_iv']=_0x31786d;},_0x1d1fbe(0x23c))}),_0x355375=_0x46a9aa[_0x1d1fbe(0x223)]=(function(){var _0x5929c4=_0x1d1fbe,_0x4e9d72=_0x145291[_0x5929c4(0x1aa)]();_0x4e9d72[_0x5929c4(0x3a8)]=_0x4e9d72[_0x5929c4(0x1aa)]({'processBlock':__name(function(_0x4aafcf,_0x20fff5){var _0x132f68=_0x5929c4,_0x5747c5=this[_0x132f68(0x2f3)],_0x529973=_0x5747c5['blockSize'];_0xcc66a3[_0x132f68(0x451)](this,_0x4aafcf,_0x20fff5,_0x529973),_0x5747c5[_0x132f68(0x1ae)](_0x4aafcf,_0x20fff5),this[_0x132f68(0x14f)]=_0x4aafcf[_0x132f68(0x178)](_0x20fff5,_0x20fff5+_0x529973);},'processBlock')}),_0x4e9d72['Decryptor']=_0x4e9d72[_0x5929c4(0x1aa)]({'processBlock':__name(function(_0x310804,_0x178025){var _0x4c21d3=_0x5929c4,_0x5ba619=this[_0x4c21d3(0x2f3)],_0x4a80eb=_0x5ba619[_0x4c21d3(0x163)],_0x2b6c30=_0x310804[_0x4c21d3(0x178)](_0x178025,_0x178025+_0x4a80eb);_0x5ba619[_0x4c21d3(0x2ae)](_0x310804,_0x178025),_0xcc66a3[_0x4c21d3(0x451)](this,_0x310804,_0x178025,_0x4a80eb),this['_prevBlock']=_0x2b6c30;},'processBlock')});function _0xcc66a3(_0x55cd80,_0x59b6a3,_0x524dbc){var _0x16457a=_0x5929c4,_0xd8487a,_0x15ef73=this[_0x16457a(0x328)];_0x15ef73?(_0xd8487a=_0x15ef73,this[_0x16457a(0x328)]=_0x28720b):_0xd8487a=this[_0x16457a(0x14f)];for(var _0xab60d5=0x0;_0xab60d5<_0x524dbc;_0xab60d5++)_0x55cd80[_0x59b6a3+_0xab60d5]^=_0xd8487a[_0xab60d5];}return __name(_0xcc66a3,_0x5929c4(0x2b3)),_0x4e9d72;}()),_0x491ea5=_0x3b7241[_0x1d1fbe(0x370)]={},_0x26e631=_0x491ea5[_0x1d1fbe(0x3ea)]={'pad':__name(function(_0x15df55,_0x1ff5d7){var _0xfe01d2=_0x1d1fbe;for(var _0x4a8e51=_0x1ff5d7*0x4,_0x18d57b=_0x4a8e51-_0x15df55['sigBytes']%_0x4a8e51,_0xb1ee46=_0x18d57b<<0x18|_0x18d57b<<0x10|_0x18d57b<<0x8|_0x18d57b,_0x32096b=[],_0x3536d2=0x0;_0x3536d2<_0x18d57b;_0x3536d2+=0x4)_0x32096b[_0xfe01d2(0x34a)](_0xb1ee46);var _0x3fbfc9=_0xe96924[_0xfe01d2(0x274)](_0x32096b,_0x18d57b);_0x15df55[_0xfe01d2(0x3d8)](_0x3fbfc9);},_0x1d1fbe(0x370)),'unpad':__name(function(_0x1a6631){var _0x4105c7=_0x1d1fbe,_0x4def47=_0x1a6631[_0x4105c7(0x327)][_0x1a6631[_0x4105c7(0x444)]-0x1>>>0x2]&0xff;_0x1a6631['sigBytes']-=_0x4def47;},_0x1d1fbe(0x2a4))};_0x2bdb97[_0x1d1fbe(0x3d4)]=_0x48a3f6[_0x1d1fbe(0x1aa)]({'cfg':_0x48a3f6['cfg']['extend']({'mode':_0x355375,'padding':_0x26e631}),'reset':__name(function(){var _0x1ba5de=_0x1d1fbe,_0x302ef4;_0x48a3f6[_0x1ba5de(0x211)][_0x1ba5de(0x451)](this);var _0x33178c=this['cfg'],_0x20d81c=_0x33178c['iv'],_0x4dc658=_0x33178c[_0x1ba5de(0x1f7)];this[_0x1ba5de(0x3ba)]==this[_0x1ba5de(0x1e8)]?_0x302ef4=_0x4dc658[_0x1ba5de(0x2a7)]:(_0x302ef4=_0x4dc658[_0x1ba5de(0x3a0)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x1ba5de(0x3f3)][_0x1ba5de(0x33c)]==_0x302ef4?this[_0x1ba5de(0x3f3)][_0x1ba5de(0x23c)](this,_0x20d81c&&_0x20d81c[_0x1ba5de(0x327)]):(this['_mode']=_0x302ef4[_0x1ba5de(0x451)](_0x4dc658,this,_0x20d81c&&_0x20d81c[_0x1ba5de(0x327)]),this[_0x1ba5de(0x3f3)][_0x1ba5de(0x33c)]=_0x302ef4);},_0x1d1fbe(0x211)),'_doProcessBlock':__name(function(_0x59607f,_0x5ca7cb){var _0x51f490=_0x1d1fbe;this['_mode'][_0x51f490(0x27a)](_0x59607f,_0x5ca7cb);},_0x1d1fbe(0x402)),'_doFinalize':__name(function(){var _0x137312=_0x1d1fbe,_0x531e70,_0x3b3080=this[_0x137312(0x28e)]['padding'];return this[_0x137312(0x3ba)]==this['_ENC_XFORM_MODE']?(_0x3b3080[_0x137312(0x370)](this[_0x137312(0x2a0)],this['blockSize']),_0x531e70=this[_0x137312(0x3a6)](!0x0)):(_0x531e70=this['_process'](!0x0),_0x3b3080[_0x137312(0x2a4)](_0x531e70)),_0x531e70;},_0x1d1fbe(0x285)),'blockSize':0x80/0x20});var _0x4ee7ee=_0x2bdb97[_0x1d1fbe(0x47f)]=_0xbbac3e['extend']({'init':__name(function(_0x242372){this['mixIn'](_0x242372);},'init'),'toString':__name(function(_0x3df995){var _0x44d80a=_0x1d1fbe;return(_0x3df995||this[_0x44d80a(0x35f)])[_0x44d80a(0x375)](this);},_0x1d1fbe(0x1fa))}),_0x1182fb=_0x3b7241['format']={},_0x345b32=_0x1182fb[_0x1d1fbe(0x160)]={'stringify':__name(function(_0x11d417){var _0x207ec5=_0x1d1fbe,_0x3901b5,_0x156137=_0x11d417[_0x207ec5(0x137)],_0x1a1ef0=_0x11d417['salt'];return _0x1a1ef0?_0x3901b5=_0xe96924['create']([0x53616c74,0x65645f5f])[_0x207ec5(0x3d8)](_0x1a1ef0)[_0x207ec5(0x3d8)](_0x156137):_0x3901b5=_0x156137,_0x3901b5[_0x207ec5(0x1fa)](_0x2875cf);},'stringify'),'parse':__name(function(_0x4ac24d){var _0x472b70=_0x1d1fbe,_0x3b11f2,_0x42b181=_0x2875cf[_0x472b70(0x246)](_0x4ac24d),_0x11cb98=_0x42b181[_0x472b70(0x327)];return _0x11cb98[0x0]==0x53616c74&&_0x11cb98[0x1]==0x65645f5f&&(_0x3b11f2=_0xe96924[_0x472b70(0x274)](_0x11cb98[_0x472b70(0x178)](0x2,0x4)),_0x11cb98[_0x472b70(0x159)](0x0,0x4),_0x42b181['sigBytes']-=0x10),_0x4ee7ee[_0x472b70(0x274)]({'ciphertext':_0x42b181,'salt':_0x3b11f2});},_0x1d1fbe(0x246))},_0x5defa9=_0x2bdb97[_0x1d1fbe(0x38c)]=_0xbbac3e[_0x1d1fbe(0x1aa)]({'cfg':_0xbbac3e['extend']({'format':_0x345b32}),'encrypt':__name(function(_0x536715,_0x4cf6eb,_0x4da602,_0x30aafe){var _0x3bd7cb=_0x1d1fbe;_0x30aafe=this[_0x3bd7cb(0x28e)][_0x3bd7cb(0x1aa)](_0x30aafe);var _0x24fa92=_0x536715['createEncryptor'](_0x4da602,_0x30aafe),_0x1f5e3f=_0x24fa92[_0x3bd7cb(0x450)](_0x4cf6eb),_0x462ce4=_0x24fa92[_0x3bd7cb(0x28e)];return _0x4ee7ee[_0x3bd7cb(0x274)]({'ciphertext':_0x1f5e3f,'key':_0x4da602,'iv':_0x462ce4['iv'],'algorithm':_0x536715,'mode':_0x462ce4[_0x3bd7cb(0x1f7)],'padding':_0x462ce4[_0x3bd7cb(0x3f2)],'blockSize':_0x536715['blockSize'],'formatter':_0x30aafe[_0x3bd7cb(0x231)]});},_0x1d1fbe(0x27b)),'decrypt':__name(function(_0x531b35,_0x258a52,_0x3324e6,_0x9e9f1c){var _0x4bff68=_0x1d1fbe;_0x9e9f1c=this[_0x4bff68(0x28e)][_0x4bff68(0x1aa)](_0x9e9f1c),_0x258a52=this[_0x4bff68(0x286)](_0x258a52,_0x9e9f1c[_0x4bff68(0x231)]);var _0x1035a0=_0x531b35[_0x4bff68(0x3a0)](_0x3324e6,_0x9e9f1c)[_0x4bff68(0x450)](_0x258a52[_0x4bff68(0x137)]);return _0x1035a0;},_0x1d1fbe(0x2f4)),'_parse':__name(function(_0x55f38d,_0x59ae32){var _0x36e29f=_0x1d1fbe;return typeof _0x55f38d==_0x36e29f(0x480)?_0x59ae32[_0x36e29f(0x246)](_0x55f38d,this):_0x55f38d;},_0x1d1fbe(0x286))}),_0x4f7dbf=_0x3b7241[_0x1d1fbe(0x42c)]={},_0x46d90b=_0x4f7dbf[_0x1d1fbe(0x160)]={'execute':__name(function(_0x3416f4,_0x2c8d75,_0x27ebd5,_0x21bdd5,_0x151e4d){var _0x511ce2=_0x1d1fbe;if(_0x21bdd5||(_0x21bdd5=_0xe96924[_0x511ce2(0x2e0)](0x40/0x8)),_0x151e4d)var _0x214e38=_0x328460['create']({'keySize':_0x2c8d75+_0x27ebd5,'hasher':_0x151e4d})[_0x511ce2(0x2e9)](_0x3416f4,_0x21bdd5);else var _0x214e38=_0x328460['create']({'keySize':_0x2c8d75+_0x27ebd5})['compute'](_0x3416f4,_0x21bdd5);var _0x1fb754=_0xe96924[_0x511ce2(0x274)](_0x214e38['words'][_0x511ce2(0x178)](_0x2c8d75),_0x27ebd5*0x4);return _0x214e38[_0x511ce2(0x444)]=_0x2c8d75*0x4,_0x4ee7ee[_0x511ce2(0x274)]({'key':_0x214e38,'iv':_0x1fb754,'salt':_0x21bdd5});},'execute')},_0x630f38=_0x2bdb97[_0x1d1fbe(0x420)]=_0x5defa9[_0x1d1fbe(0x1aa)]({'cfg':_0x5defa9['cfg'][_0x1d1fbe(0x1aa)]({'kdf':_0x46d90b}),'encrypt':__name(function(_0x14b149,_0x53c089,_0x24b701,_0x3434bd){var _0x2a2de0=_0x1d1fbe;_0x3434bd=this[_0x2a2de0(0x28e)][_0x2a2de0(0x1aa)](_0x3434bd);var _0x1e8614=_0x3434bd['kdf'][_0x2a2de0(0x1c8)](_0x24b701,_0x14b149['keySize'],_0x14b149['ivSize'],_0x3434bd[_0x2a2de0(0x1fe)],_0x3434bd['hasher']);_0x3434bd['iv']=_0x1e8614['iv'];var _0x3bee43=_0x5defa9[_0x2a2de0(0x27b)][_0x2a2de0(0x451)](this,_0x14b149,_0x53c089,_0x1e8614['key'],_0x3434bd);return _0x3bee43[_0x2a2de0(0x3b6)](_0x1e8614),_0x3bee43;},_0x1d1fbe(0x27b)),'decrypt':__name(function(_0x34450e,_0x424c98,_0x3c39b3,_0x467ad4){var _0x2d74f0=_0x1d1fbe;_0x467ad4=this[_0x2d74f0(0x28e)][_0x2d74f0(0x1aa)](_0x467ad4),_0x424c98=this[_0x2d74f0(0x286)](_0x424c98,_0x467ad4[_0x2d74f0(0x231)]);var _0x3c6d2e=_0x467ad4[_0x2d74f0(0x42c)][_0x2d74f0(0x1c8)](_0x3c39b3,_0x34450e['keySize'],_0x34450e[_0x2d74f0(0x2c0)],_0x424c98[_0x2d74f0(0x1fe)],_0x467ad4[_0x2d74f0(0x262)]);_0x467ad4['iv']=_0x3c6d2e['iv'];var _0x45288b=_0x5defa9[_0x2d74f0(0x2f4)]['call'](this,_0x34450e,_0x424c98,_0x3c6d2e[_0x2d74f0(0x432)],_0x467ad4);return _0x45288b;},'decrypt')});}();}));}(cipherCore$1)),cipherCore$1[_0x18dbce(0x457)];}__name(requireCipherCore,'requireCipherCore');var aes=aes$1[_0xa33034(0x457)],hasRequiredAes;function requireAes(){var _0x483b44=_0xa33034;return hasRequiredAes||(hasRequiredAes=0x1,function(_0x4d653a,_0xda1a89){(function(_0x5e10d1,_0x1235a1,_0x347326){var _0x2cd1fe=_0x214d;_0x4d653a[_0x2cd1fe(0x457)]=_0x1235a1(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore());}(aes,function(_0x15700f){var _0x5673ee=_0x214d;return(function(){var _0x3e80f0=_0x214d,_0x129ea0=_0x15700f,_0x2a7950=_0x129ea0['lib'],_0x1e5c91=_0x2a7950[_0x3e80f0(0x3d4)],_0x585b0e=_0x129ea0[_0x3e80f0(0x3a3)],_0x1af04=[],_0x5b2760=[],_0x2466c1=[],_0x51965c=[],_0x48e1ee=[],_0x1e0cec=[],_0x3f5212=[],_0x440009=[],_0x388788=[],_0x43c4cc=[];(function(){for(var _0x2bb5b0=[],_0x1a633b=0x0;_0x1a633b<0x100;_0x1a633b++)_0x1a633b<0x80?_0x2bb5b0[_0x1a633b]=_0x1a633b<<0x1:_0x2bb5b0[_0x1a633b]=_0x1a633b<<0x1^0x11b;for(var _0x2f4bca=0x0,_0x2f0381=0x0,_0x1a633b=0x0;_0x1a633b<0x100;_0x1a633b++){var _0x2cf58d=_0x2f0381^_0x2f0381<<0x1^_0x2f0381<<0x2^_0x2f0381<<0x3^_0x2f0381<<0x4;_0x2cf58d=_0x2cf58d>>>0x8^_0x2cf58d&0xff^0x63,_0x1af04[_0x2f4bca]=_0x2cf58d,_0x5b2760[_0x2cf58d]=_0x2f4bca;var _0x57add9=_0x2bb5b0[_0x2f4bca],_0x451910=_0x2bb5b0[_0x57add9],_0x48ec03=_0x2bb5b0[_0x451910],_0x3e298c=_0x2bb5b0[_0x2cf58d]*0x101^_0x2cf58d*0x1010100;_0x2466c1[_0x2f4bca]=_0x3e298c<<0x18|_0x3e298c>>>0x8,_0x51965c[_0x2f4bca]=_0x3e298c<<0x10|_0x3e298c>>>0x10,_0x48e1ee[_0x2f4bca]=_0x3e298c<<0x8|_0x3e298c>>>0x18,_0x1e0cec[_0x2f4bca]=_0x3e298c;var _0x3e298c=_0x48ec03*0x1010101^_0x451910*0x10001^_0x57add9*0x101^_0x2f4bca*0x1010100;_0x3f5212[_0x2cf58d]=_0x3e298c<<0x18|_0x3e298c>>>0x8,_0x440009[_0x2cf58d]=_0x3e298c<<0x10|_0x3e298c>>>0x10,_0x388788[_0x2cf58d]=_0x3e298c<<0x8|_0x3e298c>>>0x18,_0x43c4cc[_0x2cf58d]=_0x3e298c,_0x2f4bca?(_0x2f4bca=_0x57add9^_0x2bb5b0[_0x2bb5b0[_0x2bb5b0[_0x48ec03^_0x57add9]]],_0x2f0381^=_0x2bb5b0[_0x2bb5b0[_0x2f0381]]):_0x2f4bca=_0x2f0381=0x1;}}());var _0x41fa07=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x500bcb=_0x585b0e[_0x3e80f0(0x2a3)]=_0x1e5c91[_0x3e80f0(0x1aa)]({'_doReset':__name(function(){var _0x3c0ccd=_0x3e80f0,_0x159b9f;if(!(this[_0x3c0ccd(0x410)]&&this[_0x3c0ccd(0x16a)]===this[_0x3c0ccd(0x316)])){for(var _0x143037=this[_0x3c0ccd(0x16a)]=this[_0x3c0ccd(0x316)],_0x48e925=_0x143037[_0x3c0ccd(0x327)],_0x47c074=_0x143037['sigBytes']/0x4,_0x1f01df=this[_0x3c0ccd(0x410)]=_0x47c074+0x6,_0x364600=(_0x1f01df+0x1)*0x4,_0x567aea=this[_0x3c0ccd(0x3e8)]=[],_0x512baf=0x0;_0x512baf<_0x364600;_0x512baf++)_0x512baf<_0x47c074?_0x567aea[_0x512baf]=_0x48e925[_0x512baf]:(_0x159b9f=_0x567aea[_0x512baf-0x1],_0x512baf%_0x47c074?_0x47c074>0x6&&_0x512baf%_0x47c074==0x4&&(_0x159b9f=_0x1af04[_0x159b9f>>>0x18]<<0x18|_0x1af04[_0x159b9f>>>0x10&0xff]<<0x10|_0x1af04[_0x159b9f>>>0x8&0xff]<<0x8|_0x1af04[_0x159b9f&0xff]):(_0x159b9f=_0x159b9f<<0x8|_0x159b9f>>>0x18,_0x159b9f=_0x1af04[_0x159b9f>>>0x18]<<0x18|_0x1af04[_0x159b9f>>>0x10&0xff]<<0x10|_0x1af04[_0x159b9f>>>0x8&0xff]<<0x8|_0x1af04[_0x159b9f&0xff],_0x159b9f^=_0x41fa07[_0x512baf/_0x47c074|0x0]<<0x18),_0x567aea[_0x512baf]=_0x567aea[_0x512baf-_0x47c074]^_0x159b9f);for(var _0x1ca528=this[_0x3c0ccd(0x41d)]=[],_0x37905a=0x0;_0x37905a<_0x364600;_0x37905a++){var _0x512baf=_0x364600-_0x37905a;if(_0x37905a%0x4)var _0x159b9f=_0x567aea[_0x512baf];else var _0x159b9f=_0x567aea[_0x512baf-0x4];_0x37905a<0x4||_0x512baf<=0x4?_0x1ca528[_0x37905a]=_0x159b9f:_0x1ca528[_0x37905a]=_0x3f5212[_0x1af04[_0x159b9f>>>0x18]]^_0x440009[_0x1af04[_0x159b9f>>>0x10&0xff]]^_0x388788[_0x1af04[_0x159b9f>>>0x8&0xff]]^_0x43c4cc[_0x1af04[_0x159b9f&0xff]];}}},_0x3e80f0(0x27f)),'encryptBlock':__name(function(_0x19fbf7,_0x166e7a){var _0x2df45f=_0x3e80f0;this[_0x2df45f(0x238)](_0x19fbf7,_0x166e7a,this['_keySchedule'],_0x2466c1,_0x51965c,_0x48e1ee,_0x1e0cec,_0x1af04);},_0x3e80f0(0x1ae)),'decryptBlock':__name(function(_0x230c19,_0x5f0cb5){var _0x5c0115=_0x3e80f0,_0x5e0175=_0x230c19[_0x5f0cb5+0x1];_0x230c19[_0x5f0cb5+0x1]=_0x230c19[_0x5f0cb5+0x3],_0x230c19[_0x5f0cb5+0x3]=_0x5e0175,this[_0x5c0115(0x238)](_0x230c19,_0x5f0cb5,this[_0x5c0115(0x41d)],_0x3f5212,_0x440009,_0x388788,_0x43c4cc,_0x5b2760);var _0x5e0175=_0x230c19[_0x5f0cb5+0x1];_0x230c19[_0x5f0cb5+0x1]=_0x230c19[_0x5f0cb5+0x3],_0x230c19[_0x5f0cb5+0x3]=_0x5e0175;},_0x3e80f0(0x2ae)),'_doCryptBlock':__name(function(_0x518e5c,_0x22c872,_0x2255bf,_0x541870,_0x4bea4d,_0x5a1d3d,_0x2e629e,_0x1e7339){var _0x5c36d8=_0x3e80f0;for(var _0x214e53=this[_0x5c36d8(0x410)],_0x48c58d=_0x518e5c[_0x22c872]^_0x2255bf[0x0],_0x13860c=_0x518e5c[_0x22c872+0x1]^_0x2255bf[0x1],_0x3be2d2=_0x518e5c[_0x22c872+0x2]^_0x2255bf[0x2],_0x2f5563=_0x518e5c[_0x22c872+0x3]^_0x2255bf[0x3],_0x4b6fb3=0x4,_0x13656b=0x1;_0x13656b<_0x214e53;_0x13656b++){var _0x137cdb=_0x541870[_0x48c58d>>>0x18]^_0x4bea4d[_0x13860c>>>0x10&0xff]^_0x5a1d3d[_0x3be2d2>>>0x8&0xff]^_0x2e629e[_0x2f5563&0xff]^_0x2255bf[_0x4b6fb3++],_0x2546f3=_0x541870[_0x13860c>>>0x18]^_0x4bea4d[_0x3be2d2>>>0x10&0xff]^_0x5a1d3d[_0x2f5563>>>0x8&0xff]^_0x2e629e[_0x48c58d&0xff]^_0x2255bf[_0x4b6fb3++],_0x447c59=_0x541870[_0x3be2d2>>>0x18]^_0x4bea4d[_0x2f5563>>>0x10&0xff]^_0x5a1d3d[_0x48c58d>>>0x8&0xff]^_0x2e629e[_0x13860c&0xff]^_0x2255bf[_0x4b6fb3++],_0x182424=_0x541870[_0x2f5563>>>0x18]^_0x4bea4d[_0x48c58d>>>0x10&0xff]^_0x5a1d3d[_0x13860c>>>0x8&0xff]^_0x2e629e[_0x3be2d2&0xff]^_0x2255bf[_0x4b6fb3++];_0x48c58d=_0x137cdb,_0x13860c=_0x2546f3,_0x3be2d2=_0x447c59,_0x2f5563=_0x182424;}var _0x137cdb=(_0x1e7339[_0x48c58d>>>0x18]<<0x18|_0x1e7339[_0x13860c>>>0x10&0xff]<<0x10|_0x1e7339[_0x3be2d2>>>0x8&0xff]<<0x8|_0x1e7339[_0x2f5563&0xff])^_0x2255bf[_0x4b6fb3++],_0x2546f3=(_0x1e7339[_0x13860c>>>0x18]<<0x18|_0x1e7339[_0x3be2d2>>>0x10&0xff]<<0x10|_0x1e7339[_0x2f5563>>>0x8&0xff]<<0x8|_0x1e7339[_0x48c58d&0xff])^_0x2255bf[_0x4b6fb3++],_0x447c59=(_0x1e7339[_0x3be2d2>>>0x18]<<0x18|_0x1e7339[_0x2f5563>>>0x10&0xff]<<0x10|_0x1e7339[_0x48c58d>>>0x8&0xff]<<0x8|_0x1e7339[_0x13860c&0xff])^_0x2255bf[_0x4b6fb3++],_0x182424=(_0x1e7339[_0x2f5563>>>0x18]<<0x18|_0x1e7339[_0x48c58d>>>0x10&0xff]<<0x10|_0x1e7339[_0x13860c>>>0x8&0xff]<<0x8|_0x1e7339[_0x3be2d2&0xff])^_0x2255bf[_0x4b6fb3++];_0x518e5c[_0x22c872]=_0x137cdb,_0x518e5c[_0x22c872+0x1]=_0x2546f3,_0x518e5c[_0x22c872+0x2]=_0x447c59,_0x518e5c[_0x22c872+0x3]=_0x182424;},'_doCryptBlock'),'keySize':0x100/0x20});_0x129ea0[_0x3e80f0(0x2a3)]=_0x1e5c91[_0x3e80f0(0x489)](_0x500bcb);}()),_0x15700f[_0x5673ee(0x2a3)];}));}(aes$1)),aes$1[_0x483b44(0x457)];}__name(requireAes,_0xa33034(0x2e6));var aesExports=requireAes();const AES=getDefaultExportFromCjs(aesExports);var encBase64Exports=requireEncBase64();const Base64=getDefaultExportFromCjs(encBase64Exports);var encUtf8$1={'exports':{}},encUtf8=encUtf8$1['exports'],hasRequiredEncUtf8;function requireEncUtf8(){var _0x3c1e81=_0xa33034;return hasRequiredEncUtf8||(hasRequiredEncUtf8=0x1,function(_0x3c63e3,_0x26b9c9){(function(_0x3df194,_0x492b4b){_0x3c63e3['exports']=_0x492b4b(requireCore());}(encUtf8,function(_0x3988f8){var _0x4ca84d=_0x214d;return _0x3988f8['enc'][_0x4ca84d(0x42d)];}));}(encUtf8$1)),encUtf8$1[_0x3c1e81(0x457)];}__name(requireEncUtf8,'requireEncUtf8');var encUtf8Exports=requireEncUtf8();const Utf8=getDefaultExportFromCjs(encUtf8Exports);var libTypedarrays$1={'exports':{}},libTypedarrays=libTypedarrays$1['exports'],hasRequiredLibTypedarrays;function requireLibTypedarrays(){return hasRequiredLibTypedarrays||(hasRequiredLibTypedarrays=0x1,function(_0x263378,_0x3455e5){(function(_0x41960c,_0x1195bc){var _0x29a169=_0x214d;_0x263378[_0x29a169(0x457)]=_0x1195bc(requireCore());}(libTypedarrays,function(_0x14fc12){var _0x49c3ed=_0x214d;return(function(){var _0x279485=_0x214d;if(typeof ArrayBuffer==_0x279485(0x167)){var _0x2fc186=_0x14fc12,_0x119bb3=_0x2fc186[_0x279485(0x372)],_0x3ef501=_0x119bb3[_0x279485(0x2ed)],_0x32acae=_0x3ef501[_0x279485(0x23c)],_0x48310e=_0x3ef501['init']=function(_0x5487e7){var _0x70c588=_0x279485;if(_0x5487e7 instanceof ArrayBuffer&&(_0x5487e7=new Uint8Array(_0x5487e7)),(_0x5487e7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5487e7 instanceof Uint8ClampedArray||_0x5487e7 instanceof Int16Array||_0x5487e7 instanceof Uint16Array||_0x5487e7 instanceof Int32Array||_0x5487e7 instanceof Uint32Array||_0x5487e7 instanceof Float32Array||_0x5487e7 instanceof Float64Array)&&(_0x5487e7=new Uint8Array(_0x5487e7[_0x70c588(0x1f0)],_0x5487e7[_0x70c588(0x453)],_0x5487e7[_0x70c588(0x31d)])),_0x5487e7 instanceof Uint8Array){for(var _0x247b8=_0x5487e7[_0x70c588(0x31d)],_0x2b0799=[],_0x473b9c=0x0;_0x473b9c<_0x247b8;_0x473b9c++)_0x2b0799[_0x473b9c>>>0x2]|=_0x5487e7[_0x473b9c]<<0x18-_0x473b9c%0x4*0x8;_0x32acae['call'](this,_0x2b0799,_0x247b8);}else _0x32acae[_0x70c588(0x44e)](this,arguments);};_0x48310e[_0x279485(0x352)]=_0x3ef501;}}()),_0x14fc12[_0x49c3ed(0x372)][_0x49c3ed(0x2ed)];}));}(libTypedarrays$1)),libTypedarrays$1['exports'];}__name(requireLibTypedarrays,_0xa33034(0x2ff));var libTypedarraysExports=requireLibTypedarrays();const WordArray=getDefaultExportFromCjs(libTypedarraysExports);var padNopadding$1={'exports':{}},padNopadding=padNopadding$1[_0xa33034(0x457)],hasRequiredPadNopadding;function requirePadNopadding(){var _0x3a13fb=_0xa33034;return hasRequiredPadNopadding||(hasRequiredPadNopadding=0x1,function(_0x4b1f44,_0x5805d1){(function(_0x530f03,_0x2f154f,_0x489af8){_0x4b1f44['exports']=_0x2f154f(requireCore(),requireCipherCore());}(padNopadding,function(_0x33cec3){var _0x1ffcdb=_0x214d;return _0x33cec3[_0x1ffcdb(0x370)][_0x1ffcdb(0x3cf)]={'pad':__name(function(){},_0x1ffcdb(0x370)),'unpad':__name(function(){},'unpad')},_0x33cec3[_0x1ffcdb(0x370)][_0x1ffcdb(0x3cf)];}));}(padNopadding$1)),padNopadding$1[_0x3a13fb(0x457)];}__name(requirePadNopadding,'requirePadNopadding');var padNopaddingExports=requirePadNopadding();const NoPadding=getDefaultExportFromCjs(padNopaddingExports);function pkcs7Padding(_0xae7640,_0x52b2ae){var _0x1421b4=_0xa33034;const _0x351f42=_0x52b2ae-_0xae7640[_0x1421b4(0x271)]%_0x52b2ae,_0x8d75de=String['fromCharCode'](_0x351f42)[_0x1421b4(0x32a)](_0x351f42);return _0xae7640+_0x8d75de;}__name(pkcs7Padding,_0xa33034(0x177));function encrypt(_0x3e5e29,_0x352f96){var _0x388778=_0xa33034;const _0x1fb240=WordArray['random'](0x10),_0xf8e36=pkcs7Padding(_0x3e5e29,0x10),_0x5cc2e4=AES[_0x388778(0x27b)](Utf8[_0x388778(0x246)](_0xf8e36),Base64['parse'](_0x352f96),{'iv':_0x1fb240,'padding':NoPadding});return _0x1fb240[_0x388778(0x3d8)](_0x5cc2e4[_0x388778(0x137)])['toString'](Base64);}__name(encrypt,_0xa33034(0x27b));function getAttachHeader(){var _0x486a80=_0xa33034;const _0xe0e6a9=getGlobalObject()[_0x486a80(0x338)];if(_0xe0e6a9){const _0x2815f1={'time':Math[_0x486a80(0x2cb)](Date[_0x486a80(0x2ba)]()/0x3e8),'domain':location[_0x486a80(0x299)]};return encrypt(JSON[_0x486a80(0x375)](_0x2815f1),_0xe0e6a9);}}__name(getAttachHeader,_0xa33034(0x1d8));var __defProp$7=Object[_0xa33034(0x2e1)],__getOwnPropDesc$7=Object[_0xa33034(0x29f)],__decorateClass$7=__name((_0x16df6a,_0x5e6e0b,_0x3ffd09,_0x2a5136)=>{var _0x66c218=_0xa33034;for(var _0x21786c=_0x2a5136>0x1?void 0x0:_0x2a5136?__getOwnPropDesc$7(_0x5e6e0b,_0x3ffd09):_0x5e6e0b,_0xc7579b=_0x16df6a[_0x66c218(0x271)]-0x1,_0x1bd8b5;_0xc7579b>=0x0;_0xc7579b--)(_0x1bd8b5=_0x16df6a[_0xc7579b])&&(_0x21786c=(_0x2a5136?_0x1bd8b5(_0x5e6e0b,_0x3ffd09,_0x21786c):_0x1bd8b5(_0x21786c))||_0x21786c);return _0x2a5136&&_0x21786c&&__defProp$7(_0x5e6e0b,_0x3ffd09,_0x21786c),_0x21786c;},_0xa33034(0x24d)),__decorateParam$7=__name((_0x40b700,_0x57844e)=>(_0x4842e8,_0x5be0d8)=>_0x57844e(_0x4842e8,_0x5be0d8,_0x40b700),_0xa33034(0x30f)),_a20;let DomainRequestService=(_a20=class{constructor(_0x39d8bf){var _0x554359=_0xa33034;this[_0x554359(0x377)]=_0x39d8bf,this[_0x554359(0x176)]();}[_0xa33034(0x176)](){var _0x1877c8=_0xa33034;this[_0x1877c8(0x377)][_0x1877c8(0x2fe)]({'interceptor':__name((_0x543dd4,_0x578b59)=>{var _0x320afb=_0x1877c8;const _0x8fece5=_0x543dd4['headers'],_0x15da98=getAttachHeader();return _0x15da98&&_0x8fece5[_0x320afb(0x392)](_0x320afb(0x1d2),_0x15da98),_0x578b59(_0x543dd4);},_0x1877c8(0x171))});}},__name(_a20,_0xa33034(0x309)),_a20);DomainRequestService=__decorateClass$7([__decorateParam$7(0x0,Inject(HTTPService))],DomainRequestService);var __defProp$6=Object[_0xa33034(0x2e1)],__getOwnPropDesc$6=Object[_0xa33034(0x29f)],__decorateClass$6=__name((_0xfa22b8,_0x2f0073,_0x2cad58,_0x4380cf)=>{var _0x26bfb5=_0xa33034;for(var _0x9df2b5=_0x4380cf>0x1?void 0x0:_0x4380cf?__getOwnPropDesc$6(_0x2f0073,_0x2cad58):_0x2f0073,_0x35eb19=_0xfa22b8[_0x26bfb5(0x271)]-0x1,_0xf859ed;_0x35eb19>=0x0;_0x35eb19--)(_0xf859ed=_0xfa22b8[_0x35eb19])&&(_0x9df2b5=(_0x4380cf?_0xf859ed(_0x2f0073,_0x2cad58,_0x9df2b5):_0xf859ed(_0x9df2b5))||_0x9df2b5);return _0x4380cf&&_0x9df2b5&&__defProp$6(_0x2f0073,_0x2cad58,_0x9df2b5),_0x9df2b5;},_0xa33034(0x227)),__decorateParam$6=__name((_0x6871b6,_0x3279ee)=>(_0xd34e94,_0x558385)=>_0x3279ee(_0xd34e94,_0x558385,_0x6871b6),_0xa33034(0x403)),_a21;let DataLoaderService=(_a21=class extends RxDisposable{constructor(_0x3a0956,_0x34a004,_0x376805){var _0x1d2c92=_0xa33034;super(),__publicField(this,_0x1d2c92(0x315),new BehaviorSubject(null)),__publicField(this,_0x1d2c92(0x203),this[_0x1d2c92(0x315)][_0x1d2c92(0x3b2)]()),(this[_0x1d2c92(0x48c)]=_0x3a0956,this['_snapshotService']=_0x34a004,this[_0x1d2c92(0x48b)]=_0x376805);}async['loadUnit'](_0x10aeb0,_0x4240c3,_0x4f1511){var _0x155321=_0xa33034;this['_unitInfo$'][_0x155321(0x17a)]({'unitId':_0x10aeb0,'type':_0x4240c3,'subUnitId':_0x4f1511});let _0x34c23c=null;switch(_0x4240c3){case UniverType['UNIVER_SHEET']:{_0x34c23c=await this[_0x155321(0x228)](_0x10aeb0);break;}case UniverType[_0x155321(0x36b)]:{_0x34c23c=await this[_0x155321(0x3ae)](_0x10aeb0);break;}default:{this['_logService'][_0x155321(0x1c4)](_0x155321(0x433),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x34c23c;}async[_0xa33034(0x228)](_0x42174b){var _0x3296f4=_0xa33034,_0x5ed7e9;let _0x7517d2=0x0;const _0x1454ac=await((_0x5ed7e9=this[_0x3296f4(0x48b)])==null?void 0x0:_0x5ed7e9[_0x3296f4(0x149)](_0x42174b));return _0x1454ac&&(_0x1454ac[_0x3296f4(0x3c0)]||_0x1454ac['mutations']['length']!==0x0)&&(_0x7517d2=_0x1454ac[_0x3296f4(0x14b)]),_0x7517d2===0x0&&this[_0x3296f4(0x48c)][_0x3296f4(0x213)]('[DataLoaderService]',_0x3296f4(0x277)),this[_0x3296f4(0x1ca)][_0x3296f4(0x436)](_0x42174b,_0x7517d2);}async['_loadDoc'](_0xa0c4b8){var _0x1bf545=_0xa33034,_0x2dfcc9;let _0x943559=0x0;const _0x17337c=await((_0x2dfcc9=this[_0x1bf545(0x48b)])==null?void 0x0:_0x2dfcc9[_0x1bf545(0x149)](_0xa0c4b8));return _0x17337c&&(_0x17337c['awaitingChangeset']||_0x17337c['mutations'][_0x1bf545(0x271)]!==0x0)&&(_0x943559=_0x17337c[_0x1bf545(0x14b)]),_0x943559===0x0&&this[_0x1bf545(0x48c)][_0x1bf545(0x213)]('[DataLoaderService]',_0x1bf545(0x277)),this[_0x1bf545(0x1ca)][_0x1bf545(0x1eb)](_0xa0c4b8,_0x943559);}},__name(_a21,'DataLoaderService'),_a21);DataLoaderService=__decorateClass$6([__decorateParam$6(0x0,ILogService),__decorateParam$6(0x1,Inject(SnapshotService)),__decorateParam$6(0x2,Optional(ILocalCacheService))],DataLoaderService);var __defProp$5=Object[_0xa33034(0x2e1)],__getOwnPropDesc$5=Object[_0xa33034(0x29f)],__decorateClass$5=__name((_0x30d795,_0x512397,_0x973a7a,_0x34d0eb)=>{var _0x7eaee6=_0xa33034;for(var _0x1deb27=_0x34d0eb>0x1?void 0x0:_0x34d0eb?__getOwnPropDesc$5(_0x512397,_0x973a7a):_0x512397,_0x4e7482=_0x30d795[_0x7eaee6(0x271)]-0x1,_0x1416ad;_0x4e7482>=0x0;_0x4e7482--)(_0x1416ad=_0x30d795[_0x4e7482])&&(_0x1deb27=(_0x34d0eb?_0x1416ad(_0x512397,_0x973a7a,_0x1deb27):_0x1416ad(_0x1deb27))||_0x1deb27);return _0x34d0eb&&_0x1deb27&&__defProp$5(_0x512397,_0x973a7a,_0x1deb27),_0x1deb27;},_0xa33034(0x261)),__decorateParam$5=__name((_0x1d5857,_0x59ac71)=>(_0x16841e,_0x4a2540)=>_0x59ac71(_0x16841e,_0x4a2540,_0x1d5857),_0xa33034(0x428));const ALLOW_IMAGE_LIST=['image/png',_0xa33034(0x27c),_0xa33034(0x2bb),_0xa33034(0x332),_0xa33034(0x462)],ALLOW_IMAGE_SIZE=0x5*0x400*0x400,EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY=_0xa33034(0x43b),DEFAULT_EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY=_0xa33034(0x48e),EXCHANGE_SIGN_URL_SERVER_URL_KEY=_0xa33034(0x22a),DEFAULT_EXCHANGE_SIGN_URL_SERVER_URL_KEY='/universer-api/file/{fileID}/sign-url';var _a22;let CollaborationImageIoService=(_a22=class{constructor(_0x38f720,_0x662523,_0x29c059){var _0x1a577b=_0xa33034;__publicField(this,_0x1a577b(0x2fa),0x0),__publicField(this,_0x1a577b(0x374),new Subject()),__publicField(this,_0x1a577b(0x30d),this[_0x1a577b(0x374)]),__publicField(this,_0x1a577b(0x2dc),new Map()),(this[_0x1a577b(0x377)]=_0x38f720,this[_0x1a577b(0x36a)]=_0x662523,this[_0x1a577b(0x40d)]=_0x29c059);}[_0xa33034(0x416)](_0x517f92){var _0x343c75=_0xa33034;this[_0x343c75(0x2fa)]=_0x517f92,this[_0x343c75(0x374)][_0x343c75(0x17a)](_0x517f92);}[_0xa33034(0x367)](_0x585805,_0x5e6240){var _0x5bd6e8=_0xa33034;if(_0x5e6240===ImageSourceType[_0x5bd6e8(0x151)]){const _0x50f9ff=new Image();return _0x50f9ff[_0x5bd6e8(0x358)]=_0x585805,_0x50f9ff;}return this[_0x5bd6e8(0x2dc)][_0x5bd6e8(0x38a)](_0x585805);}[_0xa33034(0x19c)](_0x1cf50d,_0xdd08e6,_0x541d72){var _0x3e30d9=_0xa33034;_0xdd08e6===ImageSourceType[_0x3e30d9(0x151)]||_0x541d72==null||this[_0x3e30d9(0x2dc)][_0x3e30d9(0x392)](_0x1cf50d,_0x541d72);}async[_0xa33034(0x27e)](_0x5263a5){var _0x55bc2c=_0xa33034;try{const _0x232765=this[_0x55bc2c(0x2d2)](this['_getSignURL'](),''+_0x5263a5),_0x4ee7f3=(await this[_0x55bc2c(0x377)][_0x55bc2c(0x38a)](_0x232765))['body'];if(_0x4ee7f3[_0x55bc2c(0x1c4)]&&_0x4ee7f3['error'][_0x55bc2c(0x2d1)]===ErrorCode['OK']){const _0x3bb061=new URL(_0x4ee7f3[_0x55bc2c(0x296)],this['_getDownloadEndpointURL']())[_0x55bc2c(0x1fa)]();return Promise[_0x55bc2c(0x18f)](_0x3bb061);}return Promise[_0x55bc2c(0x15e)](_0x4ee7f3[_0x55bc2c(0x1c4)]);}catch(_0x1ffa52){return Promise['reject'](_0x1ffa52);}}async[_0xa33034(0x1a7)](_0x4a09eb){var _0x15fb8e=_0xa33034;let _0xf66551='';if(!ALLOW_IMAGE_LIST[_0x15fb8e(0x1d5)](_0x4a09eb[_0x15fb8e(0x3e5)]))return this['_decreaseWaiting'](),Promise[_0x15fb8e(0x15e)](new Error(ImageUploadStatusType[_0x15fb8e(0x2c2)]));if(_0x4a09eb[_0x15fb8e(0x313)]>ALLOW_IMAGE_SIZE)return this['_decreaseWaiting'](),Promise[_0x15fb8e(0x15e)](new Error(ImageUploadStatusType[_0x15fb8e(0x33d)]));try{const _0x5f3b9a=new FormData();_0x5f3b9a[_0x15fb8e(0x391)](_0x15fb8e(0x39c),_0x4a09eb);const _0x27bcef=this['_univerInstanceService'][_0x15fb8e(0x165)](),_0x2fd875=_0x27bcef==null?void 0x0:_0x27bcef[_0x15fb8e(0x13d)]();if(!_0x2fd875)throw new Error(_0x15fb8e(0x1df));const _0x5f2965=this[_0x15fb8e(0x2e8)]()+_0x15fb8e(0x407)+_0x4a09eb[_0x15fb8e(0x313)][_0x15fb8e(0x1fa)]()+_0x15fb8e(0x147)+FileSource[_0x15fb8e(0x383)]+_0x15fb8e(0x282)+encodeURIComponent(_0x2fd875),_0x43a49e=await(await fetch(_0x5f2965,{'method':_0x15fb8e(0x321),'body':_0x5f3b9a}))[_0x15fb8e(0x175)]();if(typeof _0x43a49e[_0x15fb8e(0x324)]!='string')return this[_0x15fb8e(0x441)](),Promise[_0x15fb8e(0x15e)](new Error(ImageUploadStatusType[_0x15fb8e(0x45f)]));_0xf66551=_0x43a49e[_0x15fb8e(0x324)];}catch{return this['_decreaseWaiting'](),Promise[_0x15fb8e(0x15e)](new Error(ImageUploadStatusType[_0x15fb8e(0x45f)]));}return new Promise((_0x4e3b4f,_0x516d2c)=>{var _0x3f4c24=_0x15fb8e;const _0x1afbe5=new FileReader();_0x1afbe5[_0x3f4c24(0x3c2)](_0x4a09eb),_0x1afbe5[_0x3f4c24(0x3a1)]=_0x46bf97=>{var _0x2fcdd0=_0x3f4c24,_0x3c36f2;const _0x3d175b=(_0x3c36f2=_0x46bf97[_0x2fcdd0(0x3ed)])==null?void 0x0:_0x3c36f2['result'];if(_0x3d175b==null){this['_decreaseWaiting'](),_0x516d2c(new Error(ImageUploadStatusType['ERROR_IMAGE']));return;}const _0x50862b=Tools[_0x2fcdd0(0x2ca)](0x6);_0x4e3b4f({'imageId':_0x50862b,'imageSourceType':ImageSourceType['UUID'],'source':_0xf66551,'base64Cache':_0x3d175b,'status':ImageUploadStatusType[_0x2fcdd0(0x36f)]}),this['_decreaseWaiting']();};});}[_0xa33034(0x2e8)](){var _0x33ff6b=_0xa33034,_0x2be196,_0x4b9530;const _0x99ed35=this['_configService']['getConfig'](EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY),_0x45daf0=this[_0x33ff6b(0x36a)][_0x33ff6b(0x439)](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x4b9530=(_0x2be196=_0x45daf0==null?void 0x0:_0x45daf0[_0x33ff6b(0x43a)])!=null?_0x2be196:_0x99ed35)!=null?_0x4b9530:DEFAULT_EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY;}[_0xa33034(0x1a1)](){var _0x3d4163=_0xa33034,_0x5a5f38,_0x2749b2;const _0x2f5e12=this['_configService'][_0x3d4163(0x439)](EXCHANGE_SIGN_URL_SERVER_URL_KEY),_0x3ee742=this[_0x3d4163(0x36a)][_0x3d4163(0x439)](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x2749b2=(_0x5a5f38=_0x3ee742==null?void 0x0:_0x3ee742[_0x3d4163(0x2d3)])!=null?_0x5a5f38:_0x2f5e12)!=null?_0x2749b2:DEFAULT_EXCHANGE_SIGN_URL_SERVER_URL_KEY;}[_0xa33034(0x3e9)](){var _0x418c8a=_0xa33034,_0x16fdc0;const _0x34bc7b=this['_configService'][_0x418c8a(0x439)](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x16fdc0=_0x34bc7b==null?void 0x0:_0x34bc7b[_0x418c8a(0x24e)])!=null?_0x16fdc0:location[_0x418c8a(0x334)];}[_0xa33034(0x2d2)](_0x524ae1,_0x402ca9){var _0x36230c=_0xa33034;return _0x524ae1[_0x36230c(0x1a6)](_0x36230c(0x3c6),_0x402ca9);}['_decreaseWaiting'](){var _0x514ded=_0xa33034;this[_0x514ded(0x2fa)]-=0x1,this[_0x514ded(0x374)][_0x514ded(0x17a)](this['_waitCount']);}},__name(_a22,_0xa33034(0x1c2)),_a22);CollaborationImageIoService=__decorateClass$5([__decorateParam$5(0x0,Inject(HTTPService)),__decorateParam$5(0x1,IConfigService),__decorateParam$5(0x2,Inject(IUniverInstanceService))],CollaborationImageIoService);var __defProp$4=Object['defineProperty'],__getOwnPropDesc$4=Object['getOwnPropertyDescriptor'],__decorateClass$4=__name((_0x120c17,_0x261382,_0x1815df,_0x26b217)=>{var _0x463845=_0xa33034;for(var _0x5006bd=_0x26b217>0x1?void 0x0:_0x26b217?__getOwnPropDesc$4(_0x261382,_0x1815df):_0x261382,_0x47c64d=_0x120c17[_0x463845(0x271)]-0x1,_0x5140aa;_0x47c64d>=0x0;_0x47c64d--)(_0x5140aa=_0x120c17[_0x47c64d])&&(_0x5006bd=(_0x26b217?_0x5140aa(_0x261382,_0x1815df,_0x5006bd):_0x5140aa(_0x5006bd))||_0x5006bd);return _0x26b217&&_0x5006bd&&__defProp$4(_0x261382,_0x1815df,_0x5006bd),_0x5006bd;},_0xa33034(0x3e3)),__decorateParam$4=__name((_0x23142f,_0x5d8243)=>(_0x1ef502,_0x21a96a)=>_0x5d8243(_0x1ef502,_0x21a96a,_0x23142f),_0xa33034(0x1f3));const DEFAULT_AUTHZ_URL_KEY=_0xa33034(0x3e1);var _a23;let MentionIoHttpService=(_a23=class{constructor(_0x16153f,_0x3a9d5c){this['_configService']=_0x16153f,this['_HTTPService']=_0x3a9d5c;}[_0xa33034(0x2d4)](){var _0x14cb89=_0xa33034,_0x214a8f,_0x55539d;const _0x4c9363=this[_0x14cb89(0x36a)][_0x14cb89(0x439)](AUTHZ_URL_KEY),_0x380f6e=this[_0x14cb89(0x36a)]['getConfig'](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x55539d=(_0x214a8f=_0x380f6e==null?void 0x0:_0x380f6e[_0x14cb89(0x469)])!=null?_0x214a8f:_0x4c9363)!=null?_0x55539d:DEFAULT_AUTHZ_URL_KEY;}async[_0xa33034(0x2f0)](_0x12375c){var _0x16923b=_0xa33034;const _0x3f4a91=this[_0x16923b(0x2d4)]()+_0x16923b(0x1ad);return{'list':[{'title':_0x16923b(0x29c),'mentions':(await this[_0x16923b(0x3af)]['get'](_0x3f4a91,{'params':{'objectID':_0x12375c[_0x16923b(0x199)],'unitID':_0x12375c['unitId']}}))[_0x16923b(0x12f)][_0x16923b(0x3ff)]['map'](_0xca4f50=>({'objectId':_0xca4f50['id'],'name':_0xca4f50['subject']['name'],'metadata':{'icon':_0xca4f50[_0x16923b(0x23e)][_0x16923b(0x386)]},'label':_0xca4f50[_0x16923b(0x23e)][_0x16923b(0x447)],'objectType':MentionType[_0x16923b(0x21f)]})),'metadata':{},'type':MentionType['PERSON']}]};}},__name(_a23,'MentionIoHttpService'),_a23);MentionIoHttpService=__decorateClass$4([__decorateParam$4(0x0,Inject(IConfigService)),__decorateParam$4(0x1,Inject(HTTPService))],MentionIoHttpService);var __defProp$3=Object[_0xa33034(0x2e1)],__getOwnPropDesc$3=Object['getOwnPropertyDescriptor'],__decorateClass$3=__name((_0x3a95cd,_0x5089ba,_0x608041,_0x52981c)=>{var _0xaf6608=_0xa33034;for(var _0x11dd5=_0x52981c>0x1?void 0x0:_0x52981c?__getOwnPropDesc$3(_0x5089ba,_0x608041):_0x5089ba,_0x15d49f=_0x3a95cd[_0xaf6608(0x271)]-0x1,_0x4e17ec;_0x15d49f>=0x0;_0x15d49f--)(_0x4e17ec=_0x3a95cd[_0x15d49f])&&(_0x11dd5=(_0x52981c?_0x4e17ec(_0x5089ba,_0x608041,_0x11dd5):_0x4e17ec(_0x11dd5))||_0x11dd5);return _0x52981c&&_0x11dd5&&__defProp$3(_0x5089ba,_0x608041,_0x11dd5),_0x11dd5;},_0xa33034(0x330)),__decorateParam$3=__name((_0x168253,_0xe12e83)=>(_0xbed9f7,_0x1a6d1d)=>_0xe12e83(_0xbed9f7,_0x1a6d1d,_0x168253),_0xa33034(0x2b6)),_a24;let PermissionService=(_a24=class extends RxDisposable{constructor(_0x317cac,_0x2260f4,_0x11887c,_0x2ce20b,_0x352166,_0x1e09da,_0x14231c){var _0x1c7893=_0xa33034;super(),this['_injector']=_0x317cac,this[_0x1c7893(0x40d)]=_0x2260f4,this['_permissionService']=_0x11887c,this[_0x1c7893(0x152)]=_0x2ce20b,this[_0x1c7893(0x242)]=_0x352166,this[_0x1c7893(0x43f)]=_0x1e09da,this[_0x1c7893(0x456)]=_0x14231c,this[_0x1c7893(0x487)](),this['_initCloseConn']();}[_0xa33034(0x219)](){var _0x47d658=_0xa33034;const _0x41d5c5=__name(async _0x2bb269=>{var _0x35d665=_0x214d;(await this[_0x35d665(0x152)][_0x35d665(0x155)](_0x2bb269))[_0x35d665(0x349)][_0x35d665(0x2c8)](filter(_0x40bcb5=>_0x40bcb5[_0x35d665(0x202)]===CollaborationEvent[_0x35d665(0x35d)]),_0x22dda8(this[_0x35d665(0x3ca)]))['subscribe'](_0x37d1ec=>{var _0x6f1f8d=_0x35d665;const _0x18bae6=_0x37d1ec,{reason:_0x168820}=_0x18bae6[_0x6f1f8d(0x2c1)];this[_0x6f1f8d(0x242)]['emitEvent']({'id':CollaborationUIEventId[_0x6f1f8d(0x1e1)],'data':_0x168820}),this[_0x6f1f8d(0x28a)][_0x6f1f8d(0x154)](new WorkbookEditablePermission(_0x2bb269)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x2bb269);});},_0x47d658(0x245));merge(this[_0x47d658(0x40d)][_0x47d658(0x368)](UniverInstanceType[_0x47d658(0x1d0)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](UniverInstanceType[_0x47d658(0x36b)]))[_0x47d658(0x2c8)](map(_0x165b8d=>_0x165b8d[_0x47d658(0x13d)]()),filter(_0x2d6950=>!isInternalEditorID(_0x2d6950)),_0x22dda8(this[_0x47d658(0x3ca)]))[_0x47d658(0x479)](_0x4b70f5=>{_0x41d5c5(_0x4b70f5);});}[_0xa33034(0x487)](){var _0x1bc149=_0xa33034;const _0xb57082=__name(async _0x3e9da3=>{var _0x16c0b2=_0x214d;const _0x9b3677=await this[_0x16c0b2(0x152)]['requireSession'](_0x3e9da3),_0x1ddf61=this['_injector'][_0x16c0b2(0x38a)](SheetPermissionInitController);_0x9b3677[_0x16c0b2(0x349)]['pipe'](filter(_0x5ae4b2=>_0x5ae4b2[_0x16c0b2(0x202)]===CollaborationEvent[_0x16c0b2(0x280)]),_0x22dda8(this['dispose$']))[_0x16c0b2(0x479)](_0x48ebd9=>{var _0x4810d3=_0x16c0b2;const _0x516376=_0x48ebd9,{objectId:_0x19bc80}=_0x516376[_0x4810d3(0x2c1)];_0x19bc80===_0x3e9da3?_0x1ddf61[_0x4810d3(0x1a4)](_0x3e9da3):_0x1ddf61[_0x4810d3(0x222)](_0x3e9da3,_0x19bc80);});},'handleUnitPermissionChange');merge(this[_0x1bc149(0x40d)]['getTypeOfUnitAdded$'](UniverInstanceType[_0x1bc149(0x1d0)]),this[_0x1bc149(0x40d)][_0x1bc149(0x368)](UniverInstanceType['UNIVER_DOC']))[_0x1bc149(0x2c8)](map(_0x6ea3d7=>_0x6ea3d7[_0x1bc149(0x13d)]()),filter(_0x28f89f=>!isInternalEditorID(_0x28f89f)),_0x22dda8(this[_0x1bc149(0x3ca)]))[_0x1bc149(0x479)](_0xeedeeb=>{_0xb57082(_0xeedeeb);});}},__name(_a24,_0xa33034(0x1d4)),_a24);PermissionService=__decorateClass$3([__decorateParam$3(0x0,Inject(Injector)),__decorateParam$3(0x1,IUniverInstanceService),__decorateParam$3(0x2,IPermissionService),__decorateParam$3(0x3,Inject(CollaborationSessionService)),__decorateParam$3(0x4,Inject(CollaborationUIEventService)),__decorateParam$3(0x5,IAuthzIoService),__decorateParam$3(0x6,IUndoRedoService)],PermissionService);var __defProp$2=Object[_0xa33034(0x2e1)],__getOwnPropDesc$2=Object[_0xa33034(0x29f)],__decorateClass$2=__name((_0x5aaf97,_0x4d1c15,_0x18d39d,_0x45e21f)=>{var _0xc7184=_0xa33034;for(var _0x5e9a64=_0x45e21f>0x1?void 0x0:_0x45e21f?__getOwnPropDesc$2(_0x4d1c15,_0x18d39d):_0x4d1c15,_0x4d41b7=_0x5aaf97[_0xc7184(0x271)]-0x1,_0x185518;_0x4d41b7>=0x0;_0x4d41b7--)(_0x185518=_0x5aaf97[_0x4d41b7])&&(_0x5e9a64=(_0x45e21f?_0x185518(_0x4d1c15,_0x18d39d,_0x5e9a64):_0x185518(_0x5e9a64))||_0x5e9a64);return _0x45e21f&&_0x5e9a64&&__defProp$2(_0x4d1c15,_0x18d39d,_0x5e9a64),_0x5e9a64;},_0xa33034(0x2f1)),__decorateParam$2=__name((_0x2f434a,_0x3ef5bc)=>(_0x61da8a,_0x47bc6f)=>_0x3ef5bc(_0x61da8a,_0x47bc6f,_0x2f434a),_0xa33034(0x2d9)),_a25;let SnapshotServerOverHTTPService=(_a25=class{constructor(_0x22f48e,_0x4967ea){var _0x50d3ea=_0xa33034;this['_configService']=_0x22f48e,this[_0x50d3ea(0x377)]=_0x4967ea;}async[_0xa33034(0x413)](_0x780f7,_0x5e7637){var _0x410574=_0xa33034,_0x5b6c56;const {unitID:_0x5c9483,type:_0x141d7c,revision:revision=0x0}=_0x5e7637,_0x5f1316=this['getSnapshotAPIPath']()+'/'+_0x141d7c+'/unit/'+_0x5c9483+_0x410574(0x16b)+revision,_0x3df72b=(await this[_0x410574(0x377)]['get'](_0x5f1316))[_0x410574(0x12f)],_0x4f6bef=(_0x5b6c56=_0x3df72b[_0x410574(0x1db)])==null?void 0x0:_0x5b6c56[_0x410574(0x1b9)];if(_0x4f6bef){const _0x3eea9c=_0x4f6bef==null?void 0x0:_0x4f6bef[_0x410574(0x311)],_0x11c390=textEncoder['encode'](b64DecodeUnicode(_0x3eea9c));_0x4f6bef['originalMeta']=_0x11c390,Object[_0x410574(0x484)](_0x4f6bef['sheets'])['forEach'](([,_0x27f828])=>{var _0x2052d9=_0x410574;const _0x26109c=_0x27f828[_0x2052d9(0x311)],_0x104432=textEncoder[_0x2052d9(0x359)](b64DecodeUnicode(_0x26109c));_0x27f828['originalMeta']=_0x104432;});}return _0x3df72b;}async[_0xa33034(0x1f9)](_0x4bcc52,_0x530a35){var _0x273712=_0xa33034;const {unitID:_0x27141e,type:_0x24ebb1,blockID:_0x7abc6}=_0x530a35,_0x3f37b1=this['_getAPIPrefix']()+'/'+_0x24ebb1+_0x273712(0x21a)+_0x27141e+_0x273712(0x2e5)+_0x7abc6;return(await this[_0x273712(0x377)][_0x273712(0x38a)](_0x3f37b1))['body'];}async['getDeserializedSheetBlock'](_0x765fdd,_0x37e480){var _0x208f1d=_0xa33034;const {unitID:_0x45152a,type:_0x2f3aa5,blockID:_0x4d3b05}=_0x37e480,_0x154079=this['_getAPIPrefix']()+_0x208f1d(0x2e5)+_0x2f3aa5+_0x208f1d(0x21a)+_0x45152a+_0x208f1d(0x2e5)+_0x4d3b05;return(await this[_0x208f1d(0x377)][_0x208f1d(0x38a)](_0x154079))[_0x208f1d(0x12f)];}async[_0xa33034(0x13b)](_0x2831e5,_0x36f313){var _0x1d1a7e=_0xa33034;const {unitID:_0x260dde,type:_0x269282,from:_0x138e80,to:_0x4ffc22}=_0x36f313,_0x209ef5=this[_0x1d1a7e(0x47d)]()+'/'+_0x269282+_0x1d1a7e(0x21a)+_0x260dde+_0x1d1a7e(0x45d)+_0x138e80+'&to='+_0x4ffc22;return(await this[_0x1d1a7e(0x377)][_0x1d1a7e(0x38a)](_0x209ef5))['body'];}['getSnapshotAPIPath'](){var _0x55144b=_0xa33034,_0x570cb1;return(_0x570cb1=this[_0x55144b(0x36a)]['getConfig'](SNAPSHOT_URL_KEY))!=null?_0x570cb1:this['_getAPIPrefix']();}[_0xa33034(0x47d)](){var _0xfd6cd8=_0xa33034,_0x302025,_0x400336;const _0x4db910=this[_0xfd6cd8(0x36a)][_0xfd6cd8(0x439)](SNAPSHOT_SERVER_URL_KEY),_0x513105=this[_0xfd6cd8(0x36a)]['getConfig'](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY);return(_0x400336=(_0x302025=_0x513105==null?void 0x0:_0x513105[_0xfd6cd8(0x283)])!=null?_0x302025:_0x4db910)!=null?_0x400336:DEFAULT_SNAPSHOT_SERVER_URL;}async[_0xa33034(0x230)](_0x303bfd,_0x2f39df){var _0xbf753f=_0xa33034;const _0x507d6d='/universer-api/snapshot/'+_0x2f39df[_0xbf753f(0x3e5)]+_0xbf753f(0x21a)+_0x2f39df[_0xbf753f(0x259)]+_0xbf753f(0x44c);return(await this[_0xbf753f(0x377)][_0xbf753f(0x38a)](_0x507d6d,{'params':{'resourceId':JSON['stringify'](_0x2f39df['resourceIDs'])}}))[_0xbf753f(0x12f)];}[_0xa33034(0x182)](){var _0x8888f9=_0xa33034;throw new Error(_0x8888f9(0x37d));}[_0xa33034(0x43e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x33da73=_0xa33034;throw new Error(_0x33da73(0x37d));}[_0xa33034(0x3fa)](){var _0x59e2c0=_0xa33034;throw new Error(_0x59e2c0(0x37d));}['getLatestCsReqIdBySid'](){var _0x2a75ec=_0xa33034;throw new Error(_0x2a75ec(0x37d));}},__name(_a25,_0xa33034(0x388)),_a25);SnapshotServerOverHTTPService=__decorateClass$2([__decorateParam$2(0x0,IConfigService),__decorateParam$2(0x1,Inject(HTTPService))],SnapshotServerOverHTTPService);var __defProp$1=Object[_0xa33034(0x2e1)],__getOwnPropDesc$1=Object[_0xa33034(0x29f)],__decorateClass$1=__name((_0x2bd280,_0x165111,_0xb52747,_0x4fa525)=>{var _0x19a2f7=_0xa33034;for(var _0x4af0da=_0x4fa525>0x1?void 0x0:_0x4fa525?__getOwnPropDesc$1(_0x165111,_0xb52747):_0x165111,_0x4719a7=_0x2bd280[_0x19a2f7(0x271)]-0x1,_0x810316;_0x4719a7>=0x0;_0x4719a7--)(_0x810316=_0x2bd280[_0x4719a7])&&(_0x4af0da=(_0x4fa525?_0x810316(_0x165111,_0xb52747,_0x4af0da):_0x810316(_0x4af0da))||_0x4af0da);return _0x4fa525&&_0x4af0da&&__defProp$1(_0x165111,_0xb52747,_0x4af0da),_0x4af0da;},'__decorateClass$1'),__decorateParam$1=__name((_0x46e404,_0x2fd078)=>(_0x23f6d9,_0x5211c9)=>_0x2fd078(_0x23f6d9,_0x5211c9,_0x46e404),_0xa33034(0x19f)),_a26;let CollaborativeUndoRedoService=(_a26=class extends LocalUndoRedoService{constructor(_0x13131b,_0x1a0a2f,_0x2572f7,_0x47b699,_0x28b703){var _0x3fcdf8=_0xa33034;super(_0x13131b,_0x1a0a2f,_0x2572f7),this[_0x3fcdf8(0x158)]=_0x47b699,this[_0x3fcdf8(0x48c)]=_0x28b703;}[_0xa33034(0x1c9)](_0x2adba3,_0x275226){var _0x15dcd2=_0xa33034;const _0x3699c1=this[_0x15dcd2(0x356)](_0x2adba3);if(_0x3699c1)try{const _0x1d7760=this['_transformStack'](_0x3699c1,_0x275226);this['_substituteUndoStack'](_0x2adba3,_0x1d7760);}catch(_0x341099){this[_0x15dcd2(0x48c)][_0x15dcd2(0x1c4)](_0x15dcd2(0x209),_0x341099),this[_0x15dcd2(0x168)](_0x2adba3);}const _0x3a064b=this['_getRedoStack'](_0x2adba3);if(_0x3a064b)try{const _0x16b048=this[_0x15dcd2(0x3d9)](_0x3a064b,_0x275226);this[_0x15dcd2(0x14a)](_0x2adba3,_0x16b048);}catch(_0x39cba0){this[_0x15dcd2(0x48c)][_0x15dcd2(0x1c4)](_0x39cba0),this[_0x15dcd2(0x2a1)](_0x2adba3);}}['_clearUndo'](_0x4c80f5){var _0x246a1e=_0xa33034;const _0x3ba03c=this[_0x246a1e(0x356)](_0x4c80f5);_0x3ba03c&&(_0x3ba03c[_0x246a1e(0x271)]=0x0,this[_0x246a1e(0x1ed)]());}['_clearRedo'](_0x5b0d8b){var _0x50c847=_0xa33034;const _0x14ea91=this[_0x50c847(0x37e)](_0x5b0d8b);_0x14ea91&&(_0x14ea91[_0x50c847(0x271)]=0x0,this[_0x50c847(0x1ed)]());}[_0xa33034(0x37c)](_0x446cfb,_0x42ad8c){var _0x409434=_0xa33034;this[_0x409434(0x1ea)][_0x409434(0x392)](_0x446cfb,_0x42ad8c),this[_0x409434(0x1ed)]();}['_substituteRedoStack'](_0x5c0b34,_0x5b5e08){var _0x12d52f=_0xa33034;this['_redoStacks'][_0x12d52f(0x392)](_0x5c0b34,_0x5b5e08),this['_updateStatus']();}['_transformStack'](_0x386988,_0x3229dd){var _0x10e9b5=_0xa33034;const _0x5b87d1=[];let _0x4be357=_0x3229dd,_0x1a5799=_0x3229dd;for(let _0x583c89=_0x386988[_0x10e9b5(0x271)]-0x1;_0x583c89>=0x0;_0x583c89--){const {unitID:_0x5b88dd,undoMutations:_0x33a4ba,redoMutations:_0x5b2290}=_0x386988[_0x583c89],_0x38362c=this[_0x10e9b5(0x158)]['transformMutationsWithChangeset'](_0x4be357,_0x33a4ba),_0x54ef65=this[_0x10e9b5(0x158)][_0x10e9b5(0x142)](_0x1a5799,_0x5b2290);if(isTransformMutationsWithChangesetFailure(_0x38362c)||isTransformMutationsWithChangesetFailure(_0x54ef65)){this[_0x10e9b5(0x48c)][_0x10e9b5(0x1c4)](_0x10e9b5(0x209),_0x10e9b5(0x459),_0x38362c,_0x54ef65);break;}_0x4be357=_0x38362c['c1Prime'],_0x1a5799=_0x54ef65['c1Prime'],_0x5b87d1[_0x10e9b5(0x34a)]({'unitID':_0x5b88dd,'undoMutations':_0x38362c[_0x10e9b5(0x16f)],'redoMutations':_0x54ef65[_0x10e9b5(0x16f)]});}return _0x5b87d1[_0x10e9b5(0x342)]();}},__name(_a26,'CollaborativeUndoRedoService'),_a26);CollaborativeUndoRedoService=__decorateClass$1([__decorateParam$1(0x0,IUniverInstanceService),__decorateParam$1(0x1,ICommandService),__decorateParam$1(0x2,IContextService),__decorateParam$1(0x3,ITransformService),__decorateParam$1(0x4,ILogService)],CollaborativeUndoRedoService);var __defProp2=Object[_0xa33034(0x2e1)],__getOwnPropDesc=Object[_0xa33034(0x29f)],__defNormalProp2=__name((_0xea4af3,_0x317cbd,_0x3a3dc9)=>_0x317cbd in _0xea4af3?__defProp2(_0xea4af3,_0x317cbd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a3dc9}):_0xea4af3[_0x317cbd]=_0x3a3dc9,_0xa33034(0x335)),__decorateClass=__name((_0x1595b2,_0x5a5c9f,_0x31a2fc,_0x5b4040)=>{var _0x504ad4=_0xa33034;for(var _0x16ad8a=_0x5b4040>0x1?void 0x0:_0x5b4040?__getOwnPropDesc(_0x5a5c9f,_0x31a2fc):_0x5a5c9f,_0x4b8413=_0x1595b2[_0x504ad4(0x271)]-0x1,_0x9d4abc;_0x4b8413>=0x0;_0x4b8413--)(_0x9d4abc=_0x1595b2[_0x4b8413])&&(_0x16ad8a=(_0x5b4040?_0x9d4abc(_0x5a5c9f,_0x31a2fc,_0x16ad8a):_0x9d4abc(_0x16ad8a))||_0x16ad8a);return _0x5b4040&&_0x16ad8a&&__defProp2(_0x5a5c9f,_0x31a2fc,_0x16ad8a),_0x16ad8a;},_0xa33034(0x307)),__decorateParam=__name((_0x41d6d3,_0x3e3ad8)=>(_0x2a6b47,_0x20ac1d)=>_0x3e3ad8(_0x2a6b47,_0x20ac1d,_0x41d6d3),_0xa33034(0x425)),__publicField2=__name((_0x47877c,_0x27b9b9,_0xbacf03)=>__defNormalProp2(_0x47877c,_0x27b9b9+'',_0xbacf03),_0xa33034(0x3f6));const PLUGIN_NAME=_0xa33034(0x153);var _a27;let UniverCollaborationClientPlugin=(_a27=class extends Plugin{constructor(_0x10309c=defaultPluginConfig,_0x47ea59,_0x170e73,_0xf81a09){var _0x196d52=_0xa33034;super(),this[_0x196d52(0x32f)]=_0x10309c,this['_logService']=_0x47ea59,this[_0x196d52(0x39e)]=_0x170e73,this[_0x196d52(0x36a)]=_0xf81a09;const {..._0x24f9ce}=_0x5bcb5c({},defaultPluginConfig,this['_config']);this[_0x196d52(0x36a)][_0x196d52(0x412)](COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,_0x24f9ce);}[_0xa33034(0x323)](){var _0x3daa57=_0xa33034;this[_0x3daa57(0x1fd)](),this[_0x3daa57(0x454)]();}[_0xa33034(0x1fd)](){var _0x349c78=_0xa33034,_0x2ed4ed,_0xa6ec62,_0x127cbc,_0x330716;this[_0x349c78(0x39e)]['has'](IUndoRedoService)&&this[_0x349c78(0x48c)][_0x349c78(0x1c4)](_0x349c78(0x3c4),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x22925e=mergeOverrideWithDependencies([[IUndoRedoService,{'useClass':CollaborativeUndoRedoService}],[CollaborationSessionService],[MemberService],[SheetTransformSelectionsService],[AuthServerService],[DomainRequestService],[CommentService],[PermissionService],[CollaborationUIEventService],[DataLoaderService],[ICollaborationSocketService,{'useClass':(_0xa6ec62=(_0x2ed4ed=this[_0x349c78(0x32f)])==null?void 0x0:_0x2ed4ed['socketService'])!=null?_0xa6ec62:CollaborationSocketService}],[ISnapshotServerService,{'useClass':SnapshotServerOverHTTPService}],[IAuthzIoService,{'useClass':AuthzIoHttpService}],[IImageIoService,{'useClass':CollaborationImageIoService}],[IMentionIOService,{'useClass':MentionIoHttpService}],[CollaborationController],[FileNameController]],(_0x127cbc=this[_0x349c78(0x32f)])==null?void 0x0:_0x127cbc[_0x349c78(0x405)]);if(!((_0x330716=this[_0x349c78(0x32f)])!=null&&_0x330716[_0x349c78(0x39a)])){const _0x529e9e=_0x22925e[_0x349c78(0x1e0)](([_0x2fa77b])=>_0x2fa77b===ISingleActiveUnitService);_0x529e9e!==-0x1&&_0x22925e['splice'](_0x529e9e,0x1);}registerDependencies(this['_injector'],_0x22925e);}[_0xa33034(0x454)](){var _0xa25f85=_0xa33034,_0x39595e,_0x3d15dd,_0x5ee1ed;this[_0xa25f85(0x39e)][_0xa25f85(0x38a)](HTTPService)[_0xa25f85(0x2fe)]({'priority':0x14,'interceptor':ThresholdInterceptorFactory({'maxParallel':0x6})}),(_0x39595e=this[_0xa25f85(0x32f)])!=null&&_0x39595e[_0xa25f85(0x2ee)]||(_0x3d15dd=this[_0xa25f85(0x39e)]['get'](ILocalCacheService,Quantity[_0xa25f85(0x36e)]))==null||_0x3d15dd[_0xa25f85(0x157)](),(_0x5ee1ed=this[_0xa25f85(0x32f)])!=null&&_0x5ee1ed['enableAuthServer']&&touchDependencies(this[_0xa25f85(0x39e)],[[AuthServerService]]),touchDependencies(this[_0xa25f85(0x39e)],[[DomainRequestService],[CollaborationController],[PermissionService]]);}},__name(_a27,_0xa33034(0x28f)),_a27);__publicField2(UniverCollaborationClientPlugin,_0xa33034(0x2b7),PLUGIN_NAME),UniverCollaborationClientPlugin=__decorateClass([DependentOn(UniverCollaborationPlugin,UniverSheetsPlugin,UniverNetworkPlugin),__decorateParam(0x1,ILogService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService)],UniverCollaborationClientPlugin);export{AUTHZ_URL_KEY,AuthzIoHttpService,AwaitingState,AwaitingWithPendingState,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,COLLAB_SUBMIT_CHANGESET_URL_KEY,COLLAB_WEB_SOCKET_URL_KEY,CollaborationController,CollaborationEntity,CollaborationImageIoService,CollaborationSession,CollaborationSessionService,CollaborationSocketService,CollaborationStatus,CollaborationUIEventId,CollaborationUIEventService,CollaborativeUndoRedoService,CommentService,ConflictState,DEFAULT_COLLAB_WEB_SOCKET_URL,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,DataLoaderService,DocCollaborationEntity,FetchingMissState,HEARTBEAT_INTERVAL_KEY,HEARTBEAT_TIMEOUT_KEY,ICollaborationSocketService,ILocalCacheService,INetworkConditionService,ISingleActiveUnitService,LOCAL_CACHE_INTERVAL,LOCAL_CACHE_INTERVAL_KEY,LOGIN_URL_KEY,MemberService,MentionIoHttpService,OfflineState,PendingState,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,RETRY_CONNECTING_MAX_COUNT_KEY,SEND_CHANGESET_TIMEOUT_KEY,SNAPSHOT_SERVER_URL_KEY,SNAPSHOT_URL_KEY,SessionStatus,SheetCollaborationEntity,SheetTransformSelectionsService,SnapshotServerOverHTTPService,SyncedState,UnitStatus,UniverCollaborationClientPlugin,deserializeToCombResponse,getLocalCacheKey,serializeCombRequest};