@univerjs-pro/collaboration-client 0.5.1-nightly.202412121230 → 0.5.1-nightly.202412121606

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 _0x4a7741=_0xda85;(function(_0x27cd49,_0x463fd3){var _0x31d003=_0xda85,_0x7c410f=_0x27cd49();while(!![]){try{var _0x95e0b1=-parseInt(_0x31d003(0x268))/0x1+-parseInt(_0x31d003(0x110))/0x2+parseInt(_0x31d003(0x1ea))/0x3*(-parseInt(_0x31d003(0x187))/0x4)+-parseInt(_0x31d003(0x24b))/0x5*(parseInt(_0x31d003(0x356))/0x6)+parseInt(_0x31d003(0x386))/0x7*(-parseInt(_0x31d003(0x139))/0x8)+-parseInt(_0x31d003(0x37e))/0x9*(-parseInt(_0x31d003(0x21d))/0xa)+-parseInt(_0x31d003(0xd0))/0xb*(-parseInt(_0x31d003(0x30c))/0xc);if(_0x95e0b1===_0x463fd3)break;else _0x7c410f['push'](_0x7c410f['shift']());}catch(_0x1b231e){_0x7c410f['push'](_0x7c410f['shift']());}}}(_0x165a,0xa1716));var Li=Object[_0x4a7741(0x1ac)],Mi=(_0xce116f,_0x4e57c8,_0x1b0c3e)=>_0x4e57c8 in _0xce116f?Li(_0xce116f,_0x4e57c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b0c3e}):_0xce116f[_0x4e57c8]=_0x1b0c3e,D=(_0xb6994a,_0x3a2c14,_0x2a96d7)=>Mi(_0xb6994a,typeof _0x3a2c14!=_0x4a7741(0x2e5)?_0x3a2c14+'':_0x3a2c14,_0x2a96d7);import{createIdentifier as _0x4f2b38,Inject as _0x33b12a,Injector as _0x907b7b,Disposable as _0x3af27e,DisposableCollection as _0x4b9d42,toDisposable as _0x34ae4e,IConfigService as _0x243586,ILogService as _0x15afa6,UserManagerService as _0x8b56ca,UniverInstanceType as _0x2adb8a,IUniverInstanceService as _0x249ac8,LocaleService as _0x309f9d,Optional as _0x13a27c,RxDisposable as _0x537d0d,Tools as _0x41d2de,Rectangle as _0x1dbb07,ICommandService as _0xc1c261,JSONX as _0x2b5a6a,CommandType as _0x2ace15,IPermissionService as _0x5eb1c1,IUndoRedoService as _0x3d6c4b,sequenceExecute as _0x4d40a8,Workbook as _0x5aa39c,MentionType as _0x5b24af,IAuthzIoService as _0x20b299,isInternalEditorID as _0x3623b7,LocalUndoRedoService as _0x53ef46,IContextService as _0x17e19c,DependentOn as _0x1561cc,Plugin as _0x2deda8,mergeOverrideWithDependencies as _0x5062c8,IMentionIOService as _0x5821db,registerDependencies as _0x1e0485,Quantity as _0x208f35,touchDependencies as _0x34647d}from'@univerjs/core';import{Subject as _0x2001de,merge as _0x142a02,takeUntil as _0x1d894f,BehaviorSubject as _0x5c2168,ReplaySubject as _0x1b6e28,take as _0x3beeef,map as _0x3fc051,shareReplay as _0x2baabf,of as _0xf8f271,firstValueFrom as _0x15ef6d,concatMap as _0x412d92}from'rxjs';import{map as _0x55950a,take as _0x183e08,filter as _0x239d59,delay as _0x4401d9,takeUntil as _0x56c3fb}from'rxjs/operators';import{HTTPService as _0x23500e,ISocketService as _0x14adbd,MergeInterceptorFactory as _0x25966a,HTTPRequest as _0x39b5d6,UniverNetworkPlugin as _0xa9be52,ThresholdInterceptorFactory as _0x42a144}from'@univerjs/network';import{CollaborationEvent as _0x3c0549,parseChangesetToProtocol as _0x18f788,ISnapshotServerService as _0xefdb57,isTransformMutationsWithChangesetSuccess as _0x332775,ITransformService as _0x4aadc5,mapDocumentTypeToUniverType as _0x16c82d,RevisionService as _0x42d2a1,isTransformChangesetsSuccess as _0x4415b3,CompressMutationService as _0x34e033,parseProtocolChangeset as _0x42b651,SnapshotService as _0x193336,textEncoder as _0x28f302,b64DecodeUnicode as _0x1d1b22,isTransformMutationsWithChangesetFailure as _0x4a07dd,UniverCollaborationPlugin as _0x2db122}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xa1f745}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x47edee}from'@univerjs/docs';import{SheetsSelectionsService as _0x2fb7de,SetSelectionsOperation as _0x2beea1,InsertSheetMutation as _0xc7bf10,EmptyMutation as _0x34415f,WorkbookEditablePermission as _0xcb920c,UnitObject as _0x517e95,defaultWorkbookPermissionPoints as _0x926464,getAllWorkbookPermissionPoint as _0x920e54,WorksheetProtectionRuleModel as _0x687ad3,baseProtectionActions as _0xe98554,getAllWorksheetPermissionPoint as _0x487026,WorksheetProtectionPointModel as _0x16892f,defaultWorksheetPermissionPoint as _0x1ab43b,getAllWorksheetPermissionPointByPointPanel as _0x5724a2,RangeProtectionRuleModel as _0x2c5e08,getAllRangePermissionPoint as _0x5843db,UniverSheetsPlugin as _0x38c07d}from'@univerjs/sheets';import{ImageSourceType as _0x2ca127,ImageUploadStatusType as _0x306899,IImageIoService as _0x1f1131}from'@univerjs/drawing';import{getGlobalObject as _0x424ade}from'@univerjs-pro/license';const Pn=_0x4a7741(0x2ef),Nn='/universer-api/snapshot',Dn=_0x4a7741(0x345),ho='SEND_CHANGESET_TIMEOUT',wn=0x7d0,Un=_0x4a7741(0x2b3),An=_0x4a7741(0xb4),xn=_0x4a7741(0x151),Ln=_0x4a7741(0xca),Mn=0x7530,Si=_0x4a7741(0x2b0),Ei=0x4e20,$n=0x4e20,Hn=_0x4a7741(0x36d),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x4a7741(0x251),Fn=_0x4a7741(0x2c4),Vn=_0x4a7741(0xff);var Ii=(_0x39cc4b=>(_0x39cc4b[_0x39cc4b[_0x4a7741(0x298)]=0x0]=_0x4a7741(0x298),_0x39cc4b[_0x39cc4b['OK']=0x1]='OK',_0x39cc4b[_0x39cc4b[_0x4a7741(0x280)]=0x2]='INTERNAL_ERROR',_0x39cc4b[_0x39cc4b[_0x4a7741(0x211)]=0x3]=_0x4a7741(0x211),_0x39cc4b[_0x39cc4b[_0x4a7741(0x242)]=0x4]=_0x4a7741(0x242),_0x39cc4b[_0x39cc4b['UNAUTHENTICATED']=0x5]=_0x4a7741(0x29a),_0x39cc4b[_0x39cc4b['ALREADY_EXISTS']=0x6]=_0x4a7741(0x23a),_0x39cc4b[_0x39cc4b['INVALID_ARGUMENT']=0x7]=_0x4a7741(0x123),_0x39cc4b[_0x39cc4b[_0x4a7741(0x2a0)]=0x8]='TOO_MANY_REQUESTS',_0x39cc4b[_0x39cc4b[_0x4a7741(0x22e)]=0x9]=_0x4a7741(0x22e),_0x39cc4b[_0x39cc4b[_0x4a7741(0x278)]=0x1389]=_0x4a7741(0x278),_0x39cc4b[_0x39cc4b[_0x4a7741(0x1a6)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x39cc4b[_0x39cc4b[_0x4a7741(0x125)]=0x1772]=_0x4a7741(0x125),_0x39cc4b[_0x39cc4b[_0x4a7741(0x223)]=0x1773]=_0x4a7741(0x223),_0x39cc4b[_0x39cc4b[_0x4a7741(0x346)]=0x1b59]=_0x4a7741(0x346),_0x39cc4b[_0x39cc4b[_0x4a7741(0x328)]=0x1b5a]=_0x4a7741(0x328),_0x39cc4b[_0x39cc4b[_0x4a7741(0xad)]=0x1b5b]=_0x4a7741(0xad),_0x39cc4b[_0x39cc4b[_0x4a7741(0x260)]=0x1b5c]=_0x4a7741(0x260),_0x39cc4b[_0x39cc4b[_0x4a7741(0x2a9)]=0x1b5d]=_0x4a7741(0x2a9),_0x39cc4b[_0x39cc4b[_0x4a7741(0x25d)]=0x1f41]=_0x4a7741(0x25d),_0x39cc4b[_0x39cc4b[_0x4a7741(0x20f)]=0x2329]=_0x4a7741(0x20f),_0x39cc4b[_0x39cc4b[_0x4a7741(0x1a0)]=0x232a]=_0x4a7741(0x1a0),_0x39cc4b[_0x39cc4b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x39cc4b[_0x39cc4b[_0x4a7741(0x34c)]=0x232c]=_0x4a7741(0x34c),_0x39cc4b[_0x39cc4b[_0x4a7741(0xa1)]=0x232d]=_0x4a7741(0xa1),_0x39cc4b[_0x39cc4b[_0x4a7741(0x38a)]=0x2711]=_0x4a7741(0x38a),_0x39cc4b[_0x39cc4b[_0x4a7741(0x2ed)]=0x2712]=_0x4a7741(0x2ed),_0x39cc4b[_0x39cc4b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4a7741(0x326),_0x39cc4b[_0x39cc4b[_0x4a7741(0x378)]=0x2714]=_0x4a7741(0x378),_0x39cc4b[_0x39cc4b['UNRECOGNIZED']=-0x1]=_0x4a7741(0x236),_0x39cc4b))(Ii||{}),Q=(_0x2ec517=>(_0x2ec517[_0x2ec517[_0x4a7741(0x14a)]=0x0]='UNIVER_UNKNOWN',_0x2ec517[_0x2ec517[_0x4a7741(0x31a)]=0x1]=_0x4a7741(0x31a),_0x2ec517[_0x2ec517[_0x4a7741(0x19f)]=0x2]='UNIVER_SHEET',_0x2ec517[_0x2ec517[_0x4a7741(0x288)]=0x3]=_0x4a7741(0x288),_0x2ec517[_0x2ec517[_0x4a7741(0x2a5)]=0x4]=_0x4a7741(0x2a5),_0x2ec517[_0x2ec517['UNRECOGNIZED']=-0x1]=_0x4a7741(0x236),_0x2ec517))(Q||{}),F=(_0xc0dcb5=>(_0xc0dcb5[_0xc0dcb5['UNKNOWN_CMD']=0x0]=_0x4a7741(0x267),_0xc0dcb5[_0xc0dcb5[_0x4a7741(0xe0)]=0x1]='HELLO',_0xc0dcb5[_0xc0dcb5['JOIN']=0x2]=_0x4a7741(0xaa),_0xc0dcb5[_0xc0dcb5[_0x4a7741(0x2c0)]=0x3]=_0x4a7741(0x2c0),_0xc0dcb5[_0xc0dcb5[_0x4a7741(0x2f5)]=0x4]=_0x4a7741(0x2f5),_0xc0dcb5[_0xc0dcb5['HEARTBEAT']=0x5]='HEARTBEAT',_0xc0dcb5[_0xc0dcb5[_0x4a7741(0x1b2)]=0x6]='RECV',_0xc0dcb5[_0xc0dcb5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc0dcb5))(F||{}),Ee=(_0x6cc73a=>(_0x6cc73a[_0x6cc73a[_0x4a7741(0x15c)]=0x0]=_0x4a7741(0x15c),_0x6cc73a[_0x6cc73a['OK']=0x1]='OK',_0x6cc73a[_0x6cc73a[_0x4a7741(0x203)]=0x2]='FAIL',_0x6cc73a[_0x6cc73a[_0x4a7741(0x370)]=0x3e9]=_0x4a7741(0x370),_0x6cc73a[_0x6cc73a[_0x4a7741(0x1e4)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x6cc73a[_0x6cc73a[_0x4a7741(0xac)]=0x3eb]=_0x4a7741(0xac),_0x6cc73a[_0x6cc73a[_0x4a7741(0x2bc)]=0x3ec]=_0x4a7741(0x2bc),_0x6cc73a[_0x6cc73a[_0x4a7741(0x236)]=-0x1]=_0x4a7741(0x236),_0x6cc73a))(Ee||{}),Ti=(_0x10d187=>(_0x10d187[_0x10d187['Undefined']=0x0]=_0x4a7741(0x286),_0x10d187[_0x10d187['HttpImport']=0x1]=_0x4a7741(0x2eb),_0x10d187[_0x10d187[_0x4a7741(0x28e)]=0x2]=_0x4a7741(0x28e),_0x10d187[_0x10d187[_0x4a7741(0x163)]=0x3]=_0x4a7741(0x163),_0x10d187[_0x10d187[_0x4a7741(0x200)]=0x4]=_0x4a7741(0x200),_0x10d187[_0x10d187[_0x4a7741(0x236)]=-0x1]=_0x4a7741(0x236),_0x10d187))(Ti||{});const Y=_0x4a7741(0x170),Wn={};var se=(_0x5ae41e=>(_0x5ae41e[_0x4a7741(0xfd)]='OTHER_CLIENT_EDITING',_0x5ae41e[_0x4a7741(0x211)]=_0x4a7741(0x211),_0x5ae41e[_0x4a7741(0xee)]='CONFLICT',_0x5ae41e[_0x4a7741(0x24c)]=_0x4a7741(0x24c),_0x5ae41e['JOIN_ROOM_FAILED']=_0x4a7741(0x20d),_0x5ae41e[_0x4a7741(0x320)]=_0x4a7741(0x320),_0x5ae41e['SOCKET_FAILED']='SOCKET_FAILED',_0x5ae41e[_0x4a7741(0xa7)]='SUBMIT_CHANGESET_TIMEOUT',_0x5ae41e))(se||{});class pe{constructor(){var _0x3ba504=_0x4a7741;D(this,_0x3ba504(0x11f),new _0x2001de()),D(this,_0x3ba504(0x396),this[_0x3ba504(0x11f)][_0x3ba504(0x202)]());}['emitEvent'](_0x18318c){var _0x2297b9=_0x4a7741;this[_0x2297b9(0x11f)][_0x2297b9(0x2c1)](_0x18318c);}}const Gn=_0x4f2b38('univer-pro.collaboration-client.network-condition.service');function Kn(_0x4d206a){var _0x987f68=_0x4a7741,_0x3982da,_0x5ebe0e,_0x5e7bb9,_0x3f6084,_0xf833ad;const _0x191524=_0x4d206a['data'],_0x2fc7dd=JSON[_0x987f68(0xd5)](_0x191524);switch(_0x2fc7dd[_0x987f68(0x34a)]){case F[_0x987f68(0x147)]:case F['HELLO']:{const _0x351f72=_0x2fc7dd[_0x987f68(0x108)];return{..._0x2fc7dd,'data':_0x351f72,'cmd':_0x2fc7dd[_0x987f68(0x34a)]};}case F[_0x987f68(0xaa)]:{const _0x24ad9b=_0x2fc7dd['joinRsp'];return{..._0x2fc7dd,'data':_0x24ad9b,'cmd':_0x2fc7dd[_0x987f68(0x34a)]};}case F[_0x987f68(0x1b2)]:{const _0x1edb2f=_0x2fc7dd[_0x987f68(0x32e)];switch(_0x1edb2f['eventID']){case _0x3c0549[_0x987f68(0x366)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x3982da=_0x1edb2f[_0x987f68(0x354)])==null?void 0x0:_0x3982da['cs']},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549['CHANGESET_ACK']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x5ebe0e=_0x1edb2f[_0x987f68(0x119)])==null?void 0x0:_0x5ebe0e['cs']},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x25e)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x5e7bb9=_0x1edb2f[_0x987f68(0x277)])==null?void 0x0:_0x5e7bb9['cs']},'cmd':_0x2fc7dd['cmd']};case _0x3c0549['CHANGESET_REJ']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0x3f6084=_0x1edb2f[_0x987f68(0x316)])==null?void 0x0:_0x3f6084['cs']},'cmd':_0x2fc7dd['cmd']};case _0x3c0549[_0x987f68(0x34d)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':(_0xf833ad=_0x1edb2f[_0x987f68(0x1e7)])==null?void 0x0:_0xf833ad['cs']},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549['UPDATE_CURSOR']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x104)]},'cmd':_0x2fc7dd['cmd']};case _0x3c0549[_0x987f68(0x1d3)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x270)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x1db)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x295)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x207)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0xc2)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x275)]:case _0x3c0549[_0x987f68(0x258)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x19b)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x27b)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0xc2)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x2be)]:return{..._0x2fc7dd,'data':_0x1edb2f,'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549['COMMENT_UPDATE']:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0xb9)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x379)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f['updatePermissionObjEvent']},'cmd':_0x2fc7dd['cmd']};case _0x3c0549[_0x987f68(0x392)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x11a)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};case _0x3c0549[_0x987f68(0x140)]:return{..._0x2fc7dd,'data':{..._0x1edb2f,'data':_0x1edb2f[_0x987f68(0x2bd)]},'cmd':_0x2fc7dd[_0x987f68(0x34a)]};default:return _0x2fc7dd;}}default:return _0x2fc7dd;}}function zn(_0x3c6663){var _0x417dc0=_0x4a7741;switch(_0x3c6663['cmd']){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x417dc0(0x32d)]({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663[_0x417dc0(0x1d0)]});case F[_0x417dc0(0x2f5)]:{let _0x14166b;switch(_0x3c6663[_0x417dc0(0x33d)]['eventID']){case _0x3c0549[_0x417dc0(0xe4)]:{_0x14166b={'eventID':_0x3c0549['UPDATE_CURSOR'],'updateCursorEvent':_0x3c6663[_0x417dc0(0x33d)][_0x417dc0(0x33d)]};break;}case _0x3c0549['USERS_LEAVE']:{_0x14166b={'eventID':_0x3c0549['USERS_LEAVE'],'leaveEvent':_0x3c6663['data'][_0x417dc0(0x33d)]};break;}case _0x3c0549[_0x417dc0(0x1d3)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x1d3)],'joinEvent':_0x3c6663['data']['data']};break;}case _0x3c0549[_0x417dc0(0x207)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x207)],'liveShareNewHost':_0x3c6663[_0x417dc0(0x33d)]['data']};break;}case _0x3c0549['LIVESHARE_OPERATION']:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x258)],'liveShareOperation':_0x3c6663[_0x417dc0(0x33d)]['data']};break;}case _0x3c0549[_0x417dc0(0x27b)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x27b)],'liveShareTerminate':_0x3c6663['data']['data']};break;}case _0x3c0549[_0x417dc0(0x206)]:{_0x14166b={'eventID':_0x3c0549[_0x417dc0(0x206)],'liveShareRequestHost':_0x3c6663['data'][_0x417dc0(0x33d)]};break;}case _0x3c0549[_0x417dc0(0x275)]:{_0x14166b={'eventID':_0x3c0549['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x14166b={'eventID':_0x3c6663[_0x417dc0(0x33d)][_0x417dc0(0x30b)]};}return JSON[_0x417dc0(0x32d)]({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663['routeKey'],'collaMsg':_0x14166b});}case F[_0x417dc0(0xaa)]:return JSON['stringify']({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663['routeKey'],'joinReq':_0x3c6663['data']});case F[_0x417dc0(0x2c0)]:return JSON[_0x417dc0(0x32d)]({'cmd':_0x3c6663[_0x417dc0(0x34a)],'routeKey':_0x3c6663['routeKey'],'leaveReq':_0x3c6663['data']});default:throw new Error(_0x417dc0(0x183));}}var Yn=Object[_0x4a7741(0x1ac)],qn=Object[_0x4a7741(0xf3)],Jn=(_0x366afb,_0x5e97cb,_0x3e5b20,_0x13c1f2)=>{for(var _0x42f823=_0x13c1f2>0x1?void 0x0:_0x13c1f2?qn(_0x5e97cb,_0x3e5b20):_0x5e97cb,_0x2a0d26=_0x366afb['length']-0x1,_0x2e4b37;_0x2a0d26>=0x0;_0x2a0d26--)(_0x2e4b37=_0x366afb[_0x2a0d26])&&(_0x42f823=(_0x13c1f2?_0x2e4b37(_0x5e97cb,_0x3e5b20,_0x42f823):_0x2e4b37(_0x42f823))||_0x42f823);return _0x13c1f2&&_0x42f823&&Yn(_0x5e97cb,_0x3e5b20,_0x42f823),_0x42f823;},we=(_0x25ca4a,_0x150bc5)=>(_0x1b6ad5,_0x17d74c)=>_0x150bc5(_0x1b6ad5,_0x17d74c,_0x25ca4a);const Ci=_0x4f2b38(_0x4a7741(0x247));function Xn(_0x4155bb,_0x42d227,_0x419240){var _0x1c11f0=_0x4a7741;return _0x4155bb+'/'+_0x42d227+_0x1c11f0(0x336)+_0x419240+_0x1c11f0(0x312);}let It=class extends _0x3af27e{constructor(_0x1d3c72,_0x207c5c,_0x4c3883,_0x9ef963,_0x500316){var _0x4b0a10=_0x4a7741;super(),this[_0x4b0a10(0x2da)]=_0x1d3c72,this[_0x4b0a10(0x33c)]=_0x207c5c,this[_0x4b0a10(0x321)]=_0x4c3883,this[_0x4b0a10(0xfa)]=_0x9ef963,this[_0x4b0a10(0xc1)]=_0x500316;}[_0x4a7741(0x25b)](_0x3c8d1d){var _0x2cf84c=_0x4a7741;const _0x13133d=this[_0x2cf84c(0x2da)][_0x2cf84c(0x21f)](_0x14adbd);if(!_0x13133d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x20e8de=_0x13133d[_0x2cf84c(0x25b)](_0x3c8d1d);if(!_0x20e8de)throw new Error(_0x2cf84c(0x133));const _0x2935ec=new _0x4b9d42(),_0xae30fd=new _0x2001de();_0x2935ec['add'](_0x20e8de[_0x2cf84c(0x35e)][_0x2cf84c(0x1ba)](_0x303616=>_0xae30fd[_0x2cf84c(0x2c1)](_0x303616))),_0x2935ec['add'](_0x34ae4e(()=>_0xae30fd[_0x2cf84c(0x350)]()));const _0x39803b=new _0x2001de();_0x2935ec['add'](_0x20e8de[_0x2cf84c(0x369)][_0x2cf84c(0x1ba)](_0x43facd=>_0x39803b['next'](_0x43facd))),_0x2935ec[_0x2cf84c(0x1f7)](_0x34ae4e(()=>_0x39803b[_0x2cf84c(0x350)]()));const _0x3e3638=new _0x2001de();_0x2935ec[_0x2cf84c(0x1f7)](_0x20e8de[_0x2cf84c(0x38f)][_0x2cf84c(0x1ba)](_0x77c412=>{var _0x286938=_0x2cf84c;const _0x26c3a4=Kn(_0x77c412);_0x3e3638[_0x286938(0x2c1)](_0x26c3a4);})),_0x2935ec[_0x2cf84c(0x1f7)](_0x34ae4e(()=>_0x3e3638['complete']()));let _0x30197d;const _0x283e43=()=>{var _0x8a52a=_0x2cf84c;_0x39803b[_0x8a52a(0x2c1)](new Event(_0x8a52a(0xdc))),_0xae30fd[_0x8a52a(0x2c1)](new CloseEvent('connection\x20error')),_0x30197d[_0x8a52a(0x142)]();};return _0x30197d={'memberID':'','close$':_0xae30fd['asObservable'](),'error$':_0x39803b['asObservable'](),'open$':_0x20e8de[_0x2cf84c(0xa3)],'message$':_0x3e3638[_0x2cf84c(0x202)](),'send':_0x5f2c24=>{var _0x1cadfc=_0x2cf84c;if(_0x5f2c24[_0x1cadfc(0x34a)]===F[_0x1cadfc(0x2f5)]){if(_0x5f2c24[_0x1cadfc(0x33d)]['eventID']===_0x3c0549[_0x1cadfc(0xae)]){this[_0x1cadfc(0xc0)](_0x30197d,_0x5f2c24[_0x1cadfc(0x33d)])['catch'](_0x142dbd=>{var _0x5a8976=_0x1cadfc;this[_0x5a8976(0xfa)][_0x5a8976(0x155)](_0x142dbd),_0x283e43();});return;}if(_0x5f2c24['data'][_0x1cadfc(0x30b)]===_0x3c0549['FETCH_MISSING']){const _0x554d54=_0x5f2c24[_0x1cadfc(0x33d)];this[_0x1cadfc(0x17e)](_0x554d54)[_0x1cadfc(0x135)](_0x236511=>{var _0x45e432=_0x1cadfc;_0x3e3638[_0x45e432(0x2c1)]({'cmd':F[_0x45e432(0x1b2)],'code':Ee['OK'],'routeKey':_0x554d54['data'][_0x45e432(0x19d)],'routeType':'','data':{'eventID':_0x3c0549[_0x45e432(0x116)],'data':{'changesets':_0x236511}}});})[_0x1cadfc(0x1cb)](_0x4f4d2d=>{var _0x30bfdc=_0x1cadfc;this[_0x30bfdc(0xfa)][_0x30bfdc(0x155)](_0x4f4d2d),_0x283e43();});return;}}_0x20e8de[_0x1cadfc(0x313)](zn(_0x5f2c24));},'close':()=>{var _0x5c062c=_0x2cf84c;_0x20e8de[_0x5c062c(0x142)](),_0x2935ec[_0x5c062c(0x293)]();}},_0x30197d;}async[_0x4a7741(0xc0)](_0x20bc88,_0x220955){var _0x395c04=_0x4a7741,_0x9ba7f2,_0x2911e3;const {unitType:_0x2d1f0e,unitID:_0x2b2cf9,changeset:_0x2e379b}=_0x220955[_0x395c04(0x33d)],_0x5bcf85={'unitID':_0x2b2cf9,'memberID':_0x20bc88[_0x395c04(0x1f8)],'type':_0x2d1f0e,'changeset':_0x18f788(_0x2e379b)},_0xcce3d1=this[_0x395c04(0x321)][_0x395c04(0x399)](jn),_0x284c2d=this[_0x395c04(0x321)]['getConfig'](Y),_0x4c74fe=Xn((_0x2911e3=(_0x9ba7f2=_0x284c2d==null?void 0x0:_0x284c2d[_0x395c04(0x152)])!=null?_0x9ba7f2:_0xcce3d1)!=null?_0x2911e3:Bn,_0x2d1f0e,_0x2b2cf9);try{await this[_0x395c04(0x33c)][_0x395c04(0x27e)](_0x4c74fe,{'body':_0x5bcf85});}catch(_0x74e60d){throw this['_logService'][_0x395c04(0x155)](_0x395c04(0x120),_0x395c04(0x38c)),_0x74e60d;}}async[_0x4a7741(0x17e)](_0x143778){var _0x47509e=_0x4a7741;const {unitID:_0x565593,from:_0x36d2ea,to:_0x897247,unitType:_0x4be85d}=_0x143778[_0x47509e(0x33d)];return(await this[_0x47509e(0xc1)][_0x47509e(0x1bd)]({'metadata':void 0x0},{'unitID':_0x565593,'type':_0x4be85d,'from':_0x36d2ea,'to':_0x897247}))['changesets'];}};It=Jn([we(0x0,_0x33b12a(_0x907b7b)),we(0x1,_0x33b12a(_0x23500e)),we(0x2,_0x243586),we(0x3,_0x15afa6),we(0x4,_0xefdb57)],It);const Zn=_0x4a7741(0xa8);function Qn(_0x31d289){var _0x14b90f=_0x4a7741;return JSON[_0x14b90f(0x32d)](_0x31d289)[_0x14b90f(0x2f8)];}class bi{constructor(){var _0x2f8a6f=_0x4a7741;D(this,_0x2f8a6f(0x2d9),new _0x2001de()),D(this,_0x2f8a6f(0x10f),this[_0x2f8a6f(0x2d9)]['asObservable']());}[_0x4a7741(0x34e)](_0x24e529){var _0x5e4891=_0x4a7741;this['_commentUpdate$'][_0x5e4891(0x2c1)](_0x24e529);}}var es=Object['defineProperty'],ts=Object[_0x4a7741(0xf3)],is=(_0x44c994,_0x46b9ee,_0x16bf76,_0x142cc2)=>{var _0x81c2ae=_0x4a7741;for(var _0x4ee780=_0x142cc2>0x1?void 0x0:_0x142cc2?ts(_0x46b9ee,_0x16bf76):_0x46b9ee,_0x3f7aa1=_0x44c994[_0x81c2ae(0x2f8)]-0x1,_0x5cd69a;_0x3f7aa1>=0x0;_0x3f7aa1--)(_0x5cd69a=_0x44c994[_0x3f7aa1])&&(_0x4ee780=(_0x142cc2?_0x5cd69a(_0x46b9ee,_0x16bf76,_0x4ee780):_0x5cd69a(_0x4ee780))||_0x4ee780);return _0x142cc2&&_0x4ee780&&es(_0x46b9ee,_0x16bf76,_0x4ee780),_0x4ee780;},zt=(_0x673c3d,_0x3b84b)=>(_0x4182e3,_0x234871)=>_0x3b84b(_0x4182e3,_0x234871,_0x673c3d);let Le=class extends _0x3af27e{constructor(_0x1fcba6,_0x4d59ec){var _0x448092=_0x4a7741;super(),D(this,_0x448092(0x97),new Map()),(this['_univerInstanceService']=_0x1fcba6,this['_userManagerService']=_0x4d59ec,this[_0x448092(0x249)](_0x34ae4e(_0x142a02(this[_0x448092(0x178)][_0x448092(0xf1)](_0x2adb8a[_0x448092(0x19f)])['pipe'](_0x55950a(_0x56cdad=>_0x56cdad['getUnitId']())),this['_univerInstanceService'][_0x448092(0xf1)](_0x2adb8a[_0x448092(0x31a)])[_0x448092(0x35a)](_0x55950a(_0x449165=>_0x449165[_0x448092(0x2a4)]())),this[_0x448092(0x178)][_0x448092(0xf1)](_0x2adb8a[_0x448092(0x288)])[_0x448092(0x35a)](_0x55950a(_0x2dfab5=>_0x2dfab5[_0x448092(0x2a4)]())))[_0x448092(0x1ba)](_0x2973e7=>this[_0x448092(0x2e3)](_0x2973e7)))));}[_0x4a7741(0x2bf)](_0x1bfe20){var _0x4c5b1f=_0x4a7741;this['_userManagerService'][_0x4c5b1f(0x2bf)](_0x1bfe20);}['getCurrentUser'](){var _0x3cfc8=_0x4a7741;return this[_0x3cfc8(0x181)]['getCurrentUser']();}['updateMember'](_0x914f38,_0x264d74){var _0x2ffa5f=_0x4a7741;let _0x2f3076=this[_0x2ffa5f(0x97)][_0x2ffa5f(0x21f)](_0x914f38);_0x2f3076||(_0x2f3076=new ns(),this[_0x2ffa5f(0x97)]['set'](_0x914f38,_0x2f3076)),_0x2f3076[_0x2ffa5f(0x1bb)](_0x264d74);}[_0x4a7741(0x191)](_0x11c702,_0x97321){var _0x339621=_0x4a7741;const _0x573de1=this[_0x339621(0x97)][_0x339621(0x21f)](_0x11c702);_0x573de1&&_0x573de1[_0x339621(0x191)](_0x97321);}[_0x4a7741(0x9d)](_0x4a2097){var _0x302643=_0x4a7741;return this[_0x302643(0x97)][_0x302643(0x21f)](_0x4a2097);}[_0x4a7741(0x159)](_0x5ed67c,_0x30b6b2){var _0x1e38d6=_0x4a7741;const _0x4194b4=this[_0x1e38d6(0x97)][_0x1e38d6(0x21f)](_0x5ed67c);if(_0x4194b4)return _0x4194b4[_0x1e38d6(0x159)](_0x30b6b2);}[_0x4a7741(0x2e3)](_0x4d8137){var _0x233359=_0x4a7741;const _0x33ced0=this[_0x233359(0x97)]['get'](_0x4d8137);_0x33ced0&&(_0x33ced0[_0x233359(0x293)](),this['_roomMembers']['delete'](_0x4d8137));}['dispose'](){var _0x3d0349=_0x4a7741;this[_0x3d0349(0x97)][_0x3d0349(0x3a5)](_0x14f74e=>_0x14f74e[_0x3d0349(0x293)]()),this[_0x3d0349(0x97)][_0x3d0349(0x229)]();}};Le=is([zt(0x0,_0x249ac8),zt(0x1,_0x33b12a(_0x8b56ca))],Le);class ns extends _0x3af27e{constructor(){super(...arguments),D(this,'_members',new Map());}[_0x4a7741(0x293)](){var _0x5a4b57=_0x4a7741;this['_members'][_0x5a4b57(0x229)]();}[_0x4a7741(0x1bb)](_0x307ee3){var _0xa5f6b6=_0x4a7741;this[_0xa5f6b6(0x23b)][_0xa5f6b6(0x255)](_0x307ee3[_0xa5f6b6(0x1f8)],_0x307ee3);}[_0x4a7741(0x191)](_0x32e162){var _0xf56ed7=_0x4a7741;this[_0xf56ed7(0x23b)][_0xf56ed7(0x2ea)](_0x32e162);}[_0x4a7741(0x159)](_0xfcd6b7){var _0x453b56=_0x4a7741;return this[_0x453b56(0x23b)][_0x453b56(0x21f)](_0xfcd6b7);}['getAllMembers'](){var _0x25d315=_0x4a7741;return Array[_0x25d315(0x2f0)](this[_0x25d315(0x23b)][_0x25d315(0x1a4)]());}}var ss=Object[_0x4a7741(0x1ac)],rs=Object['getOwnPropertyDescriptor'],os=(_0xdce6c7,_0x100dbe,_0x70b067,_0x598a2a)=>{var _0x27e61d=_0x4a7741;for(var _0xbe9ec4=_0x598a2a>0x1?void 0x0:_0x598a2a?rs(_0x100dbe,_0x70b067):_0x100dbe,_0x48f095=_0xdce6c7[_0x27e61d(0x2f8)]-0x1,_0x53e6bc;_0x48f095>=0x0;_0x48f095--)(_0x53e6bc=_0xdce6c7[_0x48f095])&&(_0xbe9ec4=(_0x598a2a?_0x53e6bc(_0x100dbe,_0x70b067,_0xbe9ec4):_0x53e6bc(_0xbe9ec4))||_0xbe9ec4);return _0x598a2a&&_0xbe9ec4&&ss(_0x100dbe,_0x70b067,_0xbe9ec4),_0xbe9ec4;},me=(_0x49d79e,_0x10e2eb)=>(_0x50bc77,_0x29aad2)=>_0x10e2eb(_0x50bc77,_0x29aad2,_0x49d79e),Ie=(_0x138ecd=>(_0x138ecd[_0x138ecd[_0x4a7741(0x166)]=0x0]=_0x4a7741(0x166),_0x138ecd[_0x138ecd[_0x4a7741(0x2df)]=0x1]=_0x4a7741(0x2df),_0x138ecd[_0x138ecd[_0x4a7741(0x1a7)]=0x2]=_0x4a7741(0x1a7),_0x138ecd[_0x138ecd[_0x4a7741(0x329)]=0x3]=_0x4a7741(0x329),_0x138ecd))(Ie||{});const Yt={[Ee[_0x4a7741(0x203)]]:_0x4a7741(0xde),[Ee[_0x4a7741(0x370)]]:_0x4a7741(0x343),[Ee[_0x4a7741(0x1e4)]]:_0x4a7741(0x2a6),[Ee[_0x4a7741(0xac)]]:_0x4a7741(0x218),[Ee[_0x4a7741(0x2bc)]]:_0x4a7741(0x26b)};let Tt=class extends _0x537d0d{constructor(_0x1b62c3,_0x788c8a,_0x4ab5d0,_0x69e68e,_0x463865,_0x5b904a,_0x128a30,_0x25e1ce,_0x35596e){var _0x583fe2=_0x4a7741;super(),D(this,_0x583fe2(0x10e),new _0x5c2168(0x0)),D(this,_0x583fe2(0x30f),this[_0x583fe2(0x10e)][_0x583fe2(0x202)]()),D(this,_0x583fe2(0x11f),new _0x2001de()),D(this,_0x583fe2(0x396),this['_event$']['asObservable']()),D(this,'_socket'),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x583fe2(0x1da),!0x1),D(this,_0x583fe2(0x1ed),null),(this[_0x583fe2(0x262)]=_0x1b62c3,this['_logService']=_0x4ab5d0,this[_0x583fe2(0x321)]=_0x69e68e,this[_0x583fe2(0x165)]=_0x463865,this[_0x583fe2(0x1e6)]=_0x5b904a,this[_0x583fe2(0xb5)]=_0x128a30,this[_0x583fe2(0x2cc)]=_0x25e1ce,this['_telemetryService']=_0x35596e,this[_0x583fe2(0x1da)]=!!this['_telemetryService'],_0x788c8a[_0x583fe2(0x35a)](_0x1d894f(this[_0x583fe2(0x2e9)]))['subscribe'](_0x2bf23b=>{var _0x2b2ff2=_0x583fe2,_0xea7269;typeof _0x2bf23b>'u'||(this[_0x2b2ff2(0x252)]=_0x2bf23b,_0x2bf23b?(this[_0x2b2ff2(0x3a2)](_0x2bf23b),this[_0x2b2ff2(0x1f3)]=_0x2bf23b['message$'][_0x2b2ff2(0x1ba)](_0x24e21a=>{var _0x36e851=_0x2b2ff2;_0x24e21a[_0x36e851(0x1d0)]===this[_0x36e851(0x262)]&&this[_0x36e851(0x1c5)](_0x24e21a);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2b2ff2(0x10e)][_0x2b2ff2(0x2c1)](0x2),(_0xea7269=this[_0x2b2ff2(0x1f3)])==null||_0xea7269[_0x2b2ff2(0x130)](),this[_0x2b2ff2(0x1f3)]=null));}));}get[_0x4a7741(0x243)](){var _0x112a30=_0x4a7741;return this[_0x112a30(0x10e)][_0x112a30(0x234)]();}['getMemberID'](){var _0x568129=_0x4a7741,_0x3ae6a6,_0x4779ae;return(_0x4779ae=(_0x3ae6a6=this[_0x568129(0x252)])==null?void 0x0:_0x3ae6a6['memberID'])!=null?_0x4779ae:null;}[_0x4a7741(0x293)](){var _0x172d26=_0x4a7741;super['dispose'](),this[_0x172d26(0x2e9)][_0x172d26(0x2c1)](),this[_0x172d26(0x2e9)][_0x172d26(0x350)]();}[_0x4a7741(0x142)](){var _0x16209e=_0x4a7741,_0x2a22f1,_0x137dd1;this[_0x16209e(0xba)](),(_0x2a22f1=this[_0x16209e(0x252)])==null||_0x2a22f1[_0x16209e(0x313)]({'cmd':F[_0x16209e(0x2c0)],'data':{'roomID':this['_unitID']}}),(_0x137dd1=this[_0x16209e(0x252)])==null||_0x137dd1[_0x16209e(0x142)](),this[_0x16209e(0x11f)]['complete'](),this[_0x16209e(0x10e)][_0x16209e(0x350)](),this[_0x16209e(0x293)]();}[_0x4a7741(0x1c5)](_0x2cc86c){var _0x347ae0=_0x4a7741;_0x2cc86c[_0x347ae0(0x34a)]===F[_0x347ae0(0xaa)]?this[_0x347ae0(0x381)](_0x2cc86c):_0x2cc86c['cmd']===F[_0x347ae0(0x1b2)]&&this['_onRecvEvent'](_0x2cc86c);}[_0x4a7741(0x3a2)](_0x78b667){var _0x3f93ce=_0x4a7741;this['_sessionStatus$'][_0x3f93ce(0x2c1)](0x1),_0x78b667[_0x3f93ce(0x313)]({'cmd':F['JOIN'],'routeKey':this[_0x3f93ce(0x262)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3f93ce(0x262)]}]}});}[_0x4a7741(0x381)](_0x4d052b){var _0x3e89e9=_0x4a7741,_0x4badb1;if(_0x4d052b['code']in Yt){this[_0x3e89e9(0x2cc)][_0x3e89e9(0x297)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x4d052b[_0x3e89e9(0x23f)]]}),this[_0x3e89e9(0x10e)]['next'](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x5b8390=(_0x4badb1=_0x4d052b[_0x3e89e9(0x33d)][_0x3e89e9(0x397)][this[_0x3e89e9(0x262)]])==null?void 0x0:_0x4badb1[_0x3e89e9(0x1d5)];_0x5b8390&&_0x5b8390[_0x3e89e9(0x3a5)](_0x225ee7=>this[_0x3e89e9(0x1e6)]['updateMember'](this['_unitID'],_0x225ee7));}[_0x4a7741(0x323)](_0x257f12){var _0x4b9646=_0x4a7741;try{const _0x58c36c=_0x257f12[_0x4b9646(0x33d)];switch(_0x58c36c[_0x4b9646(0x30b)]){case _0x3c0549[_0x4b9646(0x1d3)]:this[_0x4b9646(0xf6)](_0x58c36c),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x1db)]:this[_0x4b9646(0x2d2)](_0x58c36c),this['_event$'][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x143)]:case _0x3c0549[_0x4b9646(0x34d)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4b9646(0x25a)](),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x2be)]:this[_0x4b9646(0xfa)]['error'](_0x4b9646(0x16a)+JSON['stringify'](_0x58c36c)),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;case _0x3c0549[_0x4b9646(0x32f)]:this[_0x4b9646(0xb5)][_0x4b9646(0x34e)](_0x58c36c['data']),this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);break;default:this[_0x4b9646(0x11f)][_0x4b9646(0x2c1)](_0x58c36c);}}catch(_0x1545dd){this['_logService'][_0x4b9646(0x155)](_0x1545dd,_0x257f12);}}[_0x4a7741(0xf6)](_0x5474ac){var _0x46e3f5=_0x4a7741;this[_0x46e3f5(0x1e6)]['updateMember'](this['_unitID'],_0x5474ac[_0x46e3f5(0x33d)]);}[_0x4a7741(0x2d2)](_0x109aad){var _0x1627a5=_0x4a7741;this['_memberService'][_0x1627a5(0x191)](this[_0x1627a5(0x262)],_0x109aad[_0x1627a5(0x33d)]['memberID']);}async[_0x4a7741(0x313)](_0x34667f,_0x5dad99){var _0x5987ef=_0x4a7741;if(this[_0x5987ef(0x243)]!==0x3||!this[_0x5987ef(0x252)])throw new Error(_0x5987ef(0x18e));try{_0x34667f[_0x5987ef(0x30b)]===_0x3c0549['SUBMIT_CHANGESET']&&(this[_0x5987ef(0x2e2)](),this[_0x5987ef(0x256)](_0x34667f)),this[_0x5987ef(0x252)][_0x5987ef(0x313)]({'cmd':F[_0x5987ef(0x2f5)],'routeKey':_0x5dad99,'routeType':'','data':_0x34667f});}catch(_0x32ddc2){this[_0x5987ef(0xfa)][_0x5987ef(0x155)](_0x32ddc2);}}[_0x4a7741(0x2e2)](){var _0x4724c0=_0x4a7741,_0xe2c790;this[_0x4724c0(0x180)]=setTimeout(()=>{var _0x2929e4=_0x4724c0;this[_0x2929e4(0x180)]=null,this['_collaborationUIEventService'][_0x2929e4(0x297)]({'id':se[_0x2929e4(0xa7)]});},(_0xe2c790=this[_0x4724c0(0x321)][_0x4724c0(0x399)](Si))!=null?_0xe2c790:Ei);}[_0x4a7741(0x25a)](){var _0x227c1c=_0x4a7741;this[_0x227c1c(0x180)]&&(clearTimeout(this[_0x227c1c(0x180)]),this[_0x227c1c(0x180)]=null);}[_0x4a7741(0x256)](_0x3bf33c){var _0x335d4f=_0x4a7741;if(!this[_0x335d4f(0x1da)])return;const {data:_0x4c6c23}=_0x3bf33c,{unitID:_0x2852b5,changeset:_0x3a4578}=_0x4c6c23,{mutations:_0x1e2757,type:_0x3ca300}=_0x3a4578;this[_0x335d4f(0x1ed)]={'unitId':_0x2852b5,'type':_0x3ca300,'startTime':performance[_0x335d4f(0x2b6)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x1e2757)};}[_0x4a7741(0x124)](){var _0x52e5a4=_0x4a7741;if(this[_0x52e5a4(0x1da)]){if(!this[_0x52e5a4(0x1ed)]){this[_0x52e5a4(0xfa)][_0x52e5a4(0x155)](_0x52e5a4(0x120),_0x52e5a4(0x21b));return;}this[_0x52e5a4(0x1ed)][_0x52e5a4(0x12f)]=performance[_0x52e5a4(0x2b6)](),this[_0x52e5a4(0x1ed)][_0x52e5a4(0x158)]=this[_0x52e5a4(0x1ed)]['stopTime']-this['_telemetryInfo'][_0x52e5a4(0x3a3)],this[_0x52e5a4(0x2d7)][_0x52e5a4(0x357)](Zn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x570078=_0x4a7741;this[_0x570078(0x1ed)]=null;}};Tt=os([me(0x2,_0x15afa6),me(0x3,_0x243586),me(0x4,_0x33b12a(_0x309f9d)),me(0x5,_0x33b12a(Le)),me(0x6,_0x33b12a(bi)),me(0x7,_0x33b12a(pe)),me(0x8,_0x13a27c(_0xa1f745))],Tt);var as=Object[_0x4a7741(0x1ac)],cs=Object[_0x4a7741(0xf3)],hs=(_0x1c8ee1,_0x4499d1,_0x14c8fd,_0x4fbc19)=>{var _0x1828a0=_0x4a7741;for(var _0x58da36=_0x4fbc19>0x1?void 0x0:_0x4fbc19?cs(_0x4499d1,_0x14c8fd):_0x4499d1,_0x218786=_0x1c8ee1[_0x1828a0(0x2f8)]-0x1,_0x4ccbef;_0x218786>=0x0;_0x218786--)(_0x4ccbef=_0x1c8ee1[_0x218786])&&(_0x58da36=(_0x4fbc19?_0x4ccbef(_0x4499d1,_0x14c8fd,_0x58da36):_0x4ccbef(_0x58da36))||_0x58da36);return _0x4fbc19&&_0x58da36&&as(_0x4499d1,_0x14c8fd,_0x58da36),_0x58da36;},ge=(_0x130e10,_0x21db83)=>(_0x447ba0,_0x3c17d7)=>_0x21db83(_0x447ba0,_0x3c17d7,_0x130e10);let Me=class extends _0x3af27e{constructor(_0x2ad2d1,_0x32510f,_0x351aed,_0x1c3c9f,_0x2213b9,_0x38e4b9,_0x5dc36d){var _0x15f21d=_0x4a7741;super(),D(this,_0x15f21d(0x131),new _0x5c2168(void 0x0)),D(this,_0x15f21d(0x1b5),this[_0x15f21d(0x131)]['asObservable']()),D(this,_0x15f21d(0x2a8),null),D(this,_0x15f21d(0x389),new Map()),D(this,_0x15f21d(0x1f0),new _0x5c2168(Ie[_0x15f21d(0x166)])),D(this,'status$',this[_0x15f21d(0x1f0)]['asObservable']()),D(this,_0x15f21d(0x26c),!0x1),D(this,_0x15f21d(0x217)),D(this,_0x15f21d(0x283),0x0),D(this,_0x15f21d(0x388)),D(this,_0x15f21d(0xc9)),(this[_0x15f21d(0x2da)]=_0x2ad2d1,this[_0x15f21d(0xfa)]=_0x32510f,this[_0x15f21d(0x321)]=_0x351aed,this[_0x15f21d(0x15f)]=_0x1c3c9f,this[_0x15f21d(0x28b)]=_0x2213b9,this['_collaborationUIEventService']=_0x38e4b9,this['_networkConditionService']=_0x5dc36d,this[_0x15f21d(0x12c)]());}get['_socket'](){var _0x1bc7d9=_0x4a7741;return this['_socket$'][_0x1bc7d9(0x234)]();}[_0x4a7741(0x12c)](){var _0x33bff2=_0x4a7741;this[_0x33bff2(0xb0)]&&this[_0x33bff2(0x249)](this[_0x33bff2(0xb0)]['online$'][_0x33bff2(0x1ba)](_0x4daaca=>{var _0x3ebb87=_0x33bff2;_0x4daaca&&!this[_0x3ebb87(0x252)]&&this[_0x3ebb87(0xf5)](),_0x4daaca||this[_0x3ebb87(0x1c7)]();}));}['dispose'](){var _0x312e22=_0x4a7741;super[_0x312e22(0x293)](),this[_0x312e22(0x389)][_0x312e22(0x3a5)](_0xbab59a=>_0xbab59a['dispose']()),this['_sessions'][_0x312e22(0x229)](),this[_0x312e22(0x1f0)][_0x312e22(0x350)]();}async[_0x4a7741(0x2a3)](_0x1c9418){var _0x48cf38=_0x4a7741;if(this[_0x48cf38(0x389)]['has'](_0x1c9418))return this[_0x48cf38(0x389)][_0x48cf38(0x21f)](_0x1c9418);this[_0x48cf38(0x109)]();const _0x5f359d=this[_0x48cf38(0x2da)][_0x48cf38(0x26e)](Tt,_0x1c9418,this[_0x48cf38(0x131)][_0x48cf38(0x202)]());return this['_sessions'][_0x48cf38(0x255)](_0x1c9418,_0x5f359d),_0x5f359d;}[_0x4a7741(0x14f)](_0x532fe3){var _0xc117fd=_0x4a7741,_0x26cf70;const _0x5ec155=this[_0xc117fd(0x389)][_0xc117fd(0x21f)](_0x532fe3);_0x5ec155&&(this[_0xc117fd(0x389)]['delete'](_0x532fe3),_0x5ec155[_0xc117fd(0x142)]()),this[_0xc117fd(0x389)][_0xc117fd(0x221)]||(_0x26cf70=this[_0xc117fd(0x252)])==null||_0x26cf70['close']();}[_0x4a7741(0xf5)](){var _0xa92619=_0x4a7741;this[_0xa92619(0x283)]=0x0,this[_0xa92619(0x217)]!=null&&(clearTimeout(this[_0xa92619(0x217)]),this[_0xa92619(0x217)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x2cb09b=_0x4a7741,_0x5e93a6,_0x4e457e,_0x53c6e5;const _0x154a78=this[_0x2cb09b(0x321)][_0x2cb09b(0x399)](Y),_0x4de8e5=(_0x5e93a6=_0x154a78==null?void 0x0:_0x154a78[_0x2cb09b(0x103)])!=null?_0x5e93a6:xn;return(_0x53c6e5=(_0x4e457e=(await this[_0x2cb09b(0x28b)]['get'](_0x4de8e5,{'headers':{'Content-Type':'application/json'}}))[_0x2cb09b(0x157)])==null?void 0x0:_0x4e457e[_0x2cb09b(0x2a7)])!=null?_0x53c6e5:'';}[_0x4a7741(0xa0)](_0xe43d9c){var _0x5507c8=_0x4a7741,_0x93b95d,_0x539d1a;const _0x8c8b2=this[_0x5507c8(0x321)][_0x5507c8(0x399)](Un),_0x2c637d=this['_configService'][_0x5507c8(0x399)](Y),_0x2fdc55=(_0x539d1a=(_0x93b95d=_0x2c637d==null?void 0x0:_0x2c637d[_0x5507c8(0x2fc)])!=null?_0x93b95d:_0x8c8b2)!=null?_0x539d1a:An,_0x378198=typeof window>'u'?new URL(_0x2fdc55):new URL(_0x2fdc55,window[_0x5507c8(0xbb)][_0x5507c8(0x188)]);_0x378198['searchParams'][_0x5507c8(0x255)](_0x5507c8(0x154),_0xe43d9c);const _0x1474eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5507c8(0xbb)]['search']);return _0x1474eb[_0x5507c8(0x21f)](_0x5507c8(0x12d))&&_0x378198[_0x5507c8(0x2d6)]['set'](_0x5507c8(0x12d),_0x1474eb['get'](_0x5507c8(0x12d))),_0x378198[_0x5507c8(0x2d3)]();}async[_0x4a7741(0xe1)](){var _0xcb5f35=_0x4a7741;const _0x5d5fbc=await this[_0xcb5f35(0x190)](),_0x230657=this[_0xcb5f35(0xa0)](_0x5d5fbc),_0x563c22=this[_0xcb5f35(0x15f)][_0xcb5f35(0x25b)](_0x230657);return this[_0xcb5f35(0x2a8)]=_0x563c22,_0x563c22;}async['_tryEnsureSocket'](){var _0x147ebe=_0x4a7741,_0x4070a2,_0x3ae238;try{const _0x278592=(_0x3ae238=(_0x4070a2=this['_socket'])!=null?_0x4070a2:this[_0x147ebe(0x2a8)])!=null?_0x3ae238:await this[_0x147ebe(0xe1)]();if(_0x278592){const _0x296711=_0x278592[_0x147ebe(0x313)];_0x278592[_0x147ebe(0x313)]=_0x439983=>(this[_0x147ebe(0x18d)](),_0x296711[_0x147ebe(0x2c2)](_0x278592,[_0x439983])),_0x278592[_0x147ebe(0x38f)][_0x147ebe(0x1ba)](_0x296c59=>this[_0x147ebe(0x117)](_0x278592,_0x296c59)),_0x278592[_0x147ebe(0x369)][_0x147ebe(0x35a)](_0x183e08(0x1))[_0x147ebe(0x1ba)](_0x4d4513=>this[_0x147ebe(0xfa)][_0x147ebe(0x155)](_0x147ebe(0x2f1),_0x4d4513)),_0x278592[_0x147ebe(0xa3)][_0x147ebe(0x35a)](_0x183e08(0x1))[_0x147ebe(0x1ba)](()=>{this['_onConnectionOpen'](_0x278592);}),_0x278592[_0x147ebe(0x35e)]['pipe'](_0x183e08(0x1))['subscribe'](_0x5e2fd4=>{var _0x4bfd8f=_0x147ebe;this[_0x4bfd8f(0xfa)]['debug'](_0x4bfd8f(0x173),_0x4bfd8f(0x9a),_0x5e2fd4),this[_0x4bfd8f(0x2ee)]();});}}catch(_0x2d01d7){this[_0x147ebe(0xfa)][_0x147ebe(0x155)](_0x2d01d7),this[_0x147ebe(0x2ee)]();}}[_0x4a7741(0x274)](_0x3cc74d){var _0x47175e=_0x4a7741;this[_0x47175e(0xfa)][_0x47175e(0x1b8)]('[CollaborationSessionService]','socket\x20open.'),_0x3cc74d['send']({'cmd':F[_0x47175e(0xe0)]}),this[_0x47175e(0x18d)]();}['_onOffline'](){var _0x3d1fb5=_0x4a7741;this[_0x3d1fb5(0x26c)]=!0x1,this[_0x3d1fb5(0x2a8)]=null,this['_status$'][_0x3d1fb5(0x2c1)](Ie[_0x3d1fb5(0x1a7)]),this['_socket$'][_0x3d1fb5(0x2c1)](null),this[_0x3d1fb5(0x197)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x3a7b3c=_0x4a7741,_0x2cfba4;this['_onOffline'](),this[_0x3a7b3c(0x283)]<((_0x2cfba4=this['_configService'][_0x3a7b3c(0x399)](Hn))!=null?_0x2cfba4:kn)?(this[_0x3a7b3c(0x2cc)][_0x3a7b3c(0x297)]({'id':se[_0x3a7b3c(0x320)]}),this[_0x3a7b3c(0x285)]()):this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x4a7741(0x285)](){var _0x242f6d=_0x4a7741,_0x33f699;const _0x3ec12f=this[_0x242f6d(0x283)],_0x56ec10=this[_0x242f6d(0x321)][_0x242f6d(0x399)](Y),_0xb8ac02=_0x3ec12f===0x0?0x0:((_0x33f699=_0x56ec10==null?void 0x0:_0x56ec10[_0x242f6d(0x33e)])!=null?_0x33f699:$n)*0x2**_0x3ec12f;this[_0x242f6d(0x217)]=setTimeout(()=>{var _0x5de17c=_0x242f6d;clearTimeout(this[_0x5de17c(0x217)]),this[_0x5de17c(0x217)]=null,this[_0x5de17c(0x109)]();},_0xb8ac02),this[_0x242f6d(0x283)]+=0x1;}[_0x4a7741(0x117)](_0x481d01,_0x4648ff){var _0x40bb3d=_0x4a7741;const {cmd:_0x24f7ef}=_0x4648ff;_0x24f7ef===F[_0x40bb3d(0xe0)]&&!this[_0x40bb3d(0x26c)]&&(_0x481d01[_0x40bb3d(0x1f8)]=_0x4648ff[_0x40bb3d(0x33d)]['memberID'],this['_socket$'][_0x40bb3d(0x2c1)](_0x481d01),this[_0x40bb3d(0x1f0)][_0x40bb3d(0x2c1)](Ie[_0x40bb3d(0x329)]),this[_0x40bb3d(0x26c)]=!0x0,this['_candidateSocket']=null),_0x24f7ef===F['HEARTBEAT']&&this[_0x40bb3d(0x197)](),this[_0x40bb3d(0x18d)]();}['_rescheduleHeartbeat'](){var _0x1cff53=_0x4a7741,_0xf3dd5e;this[_0x1cff53(0x308)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1cff53(0x266)](),(_0xf3dd5e=this['_configService'][_0x1cff53(0x399)](Ln))!=null?_0xf3dd5e:Mn);}[_0x4a7741(0x266)](){var _0x4f23b2=_0x4a7741;this[_0x4f23b2(0x252)][_0x4f23b2(0x313)]({'cmd':F[_0x4f23b2(0x147)]}),this[_0x4f23b2(0x338)]();}[_0x4a7741(0x338)](){var _0x1ac2d4=_0x4a7741,_0x451b6e;this[_0x1ac2d4(0xc9)]=setTimeout(()=>this[_0x1ac2d4(0x2ee)](),(_0x451b6e=this[_0x1ac2d4(0x321)]['getConfig'](Si))!=null?_0x451b6e:Ei);}['_clearHeartbeatTimer'](){var _0x54a687=_0x4a7741;this[_0x54a687(0x388)]!=null&&(clearTimeout(this[_0x54a687(0x388)]),this['_sendHeartbeatTimer']=null);}[_0x4a7741(0x197)](){var _0x4e7ea1=_0x4a7741;this[_0x4e7ea1(0xc9)]!=null&&(clearTimeout(this[_0x4e7ea1(0xc9)]),this[_0x4e7ea1(0xc9)]=null);}};Me=hs([ge(0x0,_0x33b12a(_0x907b7b)),ge(0x1,_0x15afa6),ge(0x2,_0x243586),ge(0x3,Ci),ge(0x4,_0x33b12a(_0x23500e)),ge(0x5,_0x33b12a(pe)),ge(0x6,_0x13a27c(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4a7741(0x2d3)](0x10)[_0x4a7741(0x3a7)](0x1));function _0xda85(_0x3ee0bf,_0x40f677){var _0x165aef=_0x165a();return _0xda85=function(_0xda8554,_0x23edaa){_0xda8554=_0xda8554-0x97;var _0x54c542=_0x165aef[_0xda8554];return _0x54c542;},_0xda85(_0x3ee0bf,_0x40f677);}function _s(_0x231d2a,_0x50aa0=0x0){var _0x31e1d2=_0x4a7741;return(V[_0x231d2a[_0x50aa0+0x0]]+V[_0x231d2a[_0x50aa0+0x1]]+V[_0x231d2a[_0x50aa0+0x2]]+V[_0x231d2a[_0x50aa0+0x3]]+'-'+V[_0x231d2a[_0x50aa0+0x4]]+V[_0x231d2a[_0x50aa0+0x5]]+'-'+V[_0x231d2a[_0x50aa0+0x6]]+V[_0x231d2a[_0x50aa0+0x7]]+'-'+V[_0x231d2a[_0x50aa0+0x8]]+V[_0x231d2a[_0x50aa0+0x9]]+'-'+V[_0x231d2a[_0x50aa0+0xa]]+V[_0x231d2a[_0x50aa0+0xb]]+V[_0x231d2a[_0x50aa0+0xc]]+V[_0x231d2a[_0x50aa0+0xd]]+V[_0x231d2a[_0x50aa0+0xe]]+V[_0x231d2a[_0x50aa0+0xf]])[_0x31e1d2(0x112)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x5b94c1=_0x4a7741;if(!dt){if(typeof crypto>'u'||!crypto[_0x5b94c1(0x248)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');dt=crypto[_0x5b94c1(0x248)]['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x4a7741(0x184)]&&crypto[_0x4a7741(0x184)][_0x4a7741(0x1cd)](crypto),qt={'randomUUID':ds};function fs(_0x5dc664,_0x5ce55e,_0x16238d){var _0x26230a=_0x4a7741;if(qt['randomUUID']&&!_0x5ce55e&&!_0x5dc664)return qt[_0x26230a(0x184)]();_0x5dc664=_0x5dc664||{};const _0x11b717=_0x5dc664[_0x26230a(0x1e0)]||(_0x5dc664[_0x26230a(0xe3)]||us)();return _0x11b717[0x6]=_0x11b717[0x6]&0xf|0x40,_0x11b717[0x8]=_0x11b717[0x8]&0x3f|0x80,_s(_0x11b717);}const X=_0x4f2b38(_0x4a7741(0x1e8));function uo(_0x2c1585){var _0x17d4c4=_0x4a7741;return _0x17d4c4(0x1e2)+_0x2c1585;}var vs=Object[_0x4a7741(0x1ac)],ps=Object[_0x4a7741(0xf3)],ms=(_0x1c328d,_0x121eb5,_0x43c75e,_0x305aca)=>{for(var _0x498434=_0x305aca>0x1?void 0x0:_0x305aca?ps(_0x121eb5,_0x43c75e):_0x121eb5,_0x647482=_0x1c328d['length']-0x1,_0x59a210;_0x647482>=0x0;_0x647482--)(_0x59a210=_0x1c328d[_0x647482])&&(_0x498434=(_0x305aca?_0x59a210(_0x121eb5,_0x43c75e,_0x498434):_0x59a210(_0x498434))||_0x498434);return _0x305aca&&_0x498434&&vs(_0x121eb5,_0x43c75e,_0x498434),_0x498434;},ft=(_0x41f81d,_0x3a7b38)=>(_0x4d0d9c,_0x51cc79)=>_0x3a7b38(_0x4d0d9c,_0x51cc79,_0x41f81d);function gs(_0x55b2f0){var _0x1efab0=_0x4a7741;const {unitID:_0x1e8db1,mutations:_0x1b0765}=_0x55b2f0;return{'unitId':_0x1e8db1,'subUnitId':_0x1b0765[0x0][_0x1efab0(0xc6)][_0x1efab0(0x198)]};}let nt=class{constructor(_0x5c0f51,_0x46c8bc,_0x37501f){var _0x28af1b=_0x4a7741;this[_0x28af1b(0x2da)]=_0x5c0f51,this['_transformService']=_0x46c8bc,this['_instanceService']=_0x37501f;}[_0x4a7741(0x259)](_0x5b31cf){var _0x4b6c13=_0x4a7741,_0x89a1e9,_0x51e1fe,_0x2095de,_0x4c2659;const _0x3708c2=this[_0x4b6c13(0x2da)]['get'](_0x2fb7de),{unitId:_0x8f9240,subUnitId:_0x295953}=gs(_0x5b31cf),_0x27fa0a=_0x3708c2==null?void 0x0:_0x3708c2[_0x4b6c13(0x12a)](_0x8f9240)['getCurrentSelections'](),_0x34da8c=(_0x51e1fe=(_0x89a1e9=this[_0x4b6c13(0x12b)][_0x4b6c13(0x302)](_0x8f9240))==null?void 0x0:_0x89a1e9['getActiveSheet']())==null?void 0x0:_0x51e1fe['getSheetId']();if(_0x27fa0a[_0x4b6c13(0x2f8)]===0x0||!_0x8f9240||!_0x295953)return;const _0x2370a9=[{'id':_0x2beea1['id'],'params':{'unitId':_0x8f9240,'subUnitId':_0x34da8c,'selections':_0x41d2de[_0x4b6c13(0x228)](_0x27fa0a)}}],_0xa970f6=this[_0x4b6c13(0x99)][_0x4b6c13(0x1af)](_0x5b31cf,_0x2370a9);if(!_0x332775(_0xa970f6))throw _0xa970f6[_0x4b6c13(0x155)];const _0x33805b=(_0x4c2659=(_0x2095de=_0xa970f6[_0x4b6c13(0x395)][0x0])==null?void 0x0:_0x2095de['params'])==null?void 0x0:_0x4c2659['selections'];if(Array[_0x4b6c13(0xdd)](_0x33805b)&&_0x33805b[_0x4b6c13(0x2f8)]){if(_0x33805b[_0x4b6c13(0x2f8)]===_0x2370a9[0x0]['params'][_0x4b6c13(0x28d)]['length']&&_0x33805b[_0x4b6c13(0x1fd)]((_0x4f9a99,_0x33c80a)=>_0x1dbb07['equals'](_0x4f9a99['range'],_0x2370a9[0x0][_0x4b6c13(0xc6)][_0x4b6c13(0x28d)][_0x33c80a][_0x4b6c13(0x239)])))return;this[_0x4b6c13(0x2da)][_0x4b6c13(0x21f)](_0xc1c261)[_0x4b6c13(0x1b9)](_0x2beea1['id'],{'unitId':_0x8f9240,'subUnitId':_0x34da8c,'selections':_0x33805b});}}};nt=ms([ft(0x0,_0x33b12a(_0x907b7b)),ft(0x1,_0x4aadc5),ft(0x2,_0x249ac8)],nt);const _t=_0x4f2b38('univer-pro.collaboration-client.single-active-unit-service');var Ri=(_0x3ae7e1=>(_0x3ae7e1[_0x3ae7e1['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4a7741(0x30e),_0x3ae7e1[_0x3ae7e1[_0x4a7741(0x2cb)]=0x1]=_0x4a7741(0x2cb),_0x3ae7e1))(Ri||{});const Ss=new Set([_0xc7bf10['id']]);function Jt(_0x769c72,_0x7a2633,_0x51a1aa,_0x571f52,_0x40d85e){var _0x57b9b3=_0x4a7741,_0x11ebb5,_0x3cb8b3,_0x3053ba,_0x5749d5;const _0x370582=[];for(const _0x260365 of _0x769c72)if(Ss['has'](_0x260365['id'])){if(_0x370582[_0x57b9b3(0x2f8)]>0x0)break;_0x370582[_0x57b9b3(0xef)](_0x260365);break;}else _0x370582['push'](_0x260365);const _0x1dee91=(_0x3cb8b3=(_0x11ebb5=_0x40d85e[_0x57b9b3(0xfc)]())==null?void 0x0:_0x11ebb5['userID'])!=null?_0x3cb8b3:_0x57b9b3(0x209),_0x2dca51=(_0x5749d5=(_0x3053ba=_0x40d85e['getCurrentUser']())==null?void 0x0:_0x3053ba[_0x57b9b3(0x1f8)])!=null?_0x5749d5:_0x57b9b3(0x209);return{'changeset':{'unitID':_0x7a2633,'type':_0x16c82d(_0x51a1aa['getUnitType'](_0x7a2633)),'baseRev':_0x571f52[_0x57b9b3(0x1cc)](_0x7a2633),'revision':0x0,'userID':_0x1dee91,'memberID':_0x2dca51,'mutations':_0x370582},'pendingMutations':_0x769c72[_0x57b9b3(0x3a7)](_0x370582[_0x57b9b3(0x2f8)])};}function Es(_0x351f1c,_0x580a51,_0x4f2cc7,_0x2e645b,_0x538a90){var _0x56814b=_0x4a7741,_0x1c12a2,_0x309290,_0x3a1e03,_0x1840fa;const _0x151d82=[_0x351f1c[_0x56814b(0x364)]((_0x503fb6,_0x1b1afd)=>{var _0x59dbf2=_0x56814b,_0x3497e2;const {id:_0x58a147}=_0x503fb6,{id:_0x9eabc7,type:_0x1c34e3}=_0x1b1afd,_0x27d5be=(_0x3497e2=_0x503fb6[_0x59dbf2(0xc6)])!=null?_0x3497e2:{'actions':null},_0x3d9fbb=_0x1b1afd[_0x59dbf2(0xc6)];if(_0x58a147&&_0x58a147!==_0x9eabc7)throw new Error(_0x59dbf2(0xd1)+_0x58a147+_0x59dbf2(0x161)+_0x9eabc7+'.');return{..._0x503fb6,'id':_0x9eabc7,'type':_0x1c34e3,'params':{'unitId':_0x3d9fbb[_0x59dbf2(0x29d)],'textRanges':_0x3d9fbb[_0x59dbf2(0x337)],'actions':_0x2b5a6a[_0x59dbf2(0x10c)](_0x27d5be['actions'],_0x3d9fbb[_0x59dbf2(0x360)])}};},{})],_0x6aeef2=(_0x309290=(_0x1c12a2=_0x538a90[_0x56814b(0xfc)]())==null?void 0x0:_0x1c12a2[_0x56814b(0x204)])!=null?_0x309290:_0x56814b(0x209),_0x17ef73=(_0x1840fa=(_0x3a1e03=_0x538a90[_0x56814b(0xfc)]())==null?void 0x0:_0x3a1e03['memberID'])!=null?_0x1840fa:_0x56814b(0x209);return{'changeset':{'unitID':_0x580a51,'type':_0x16c82d(_0x4f2cc7['getUnitType'](_0x580a51)),'baseRev':_0x2e645b['getCurrentRevOfUnit'](_0x580a51),'revision':0x0,'userID':_0x6aeef2,'memberID':_0x17ef73,'mutations':_0x151d82},'pendingMutations':[]};}function yi(_0x197080,_0x3ff726){var _0x379bf9=_0x4a7741;const _0x2487db=new _0x1b6e28(0x1);return setTimeout(()=>_0x2487db[_0x379bf9(0x2c1)](_0x3ff726),_0x197080),_0x2487db[_0x379bf9(0x202)]()[_0x379bf9(0x35a)](_0x3beeef(0x1));}const Is={'id':_0x34415f['id'],'type':_0x2ace15[_0x4a7741(0x37f)],'params':{}};var Ts=Object['defineProperty'],Cs=Object[_0x4a7741(0xf3)],Ce=(_0x35fbc3,_0x3f9f84,_0x10e00c,_0x16fd30)=>{for(var _0xaa00f3=_0x16fd30>0x1?void 0x0:_0x16fd30?Cs(_0x3f9f84,_0x10e00c):_0x3f9f84,_0x5b7fca=_0x35fbc3['length']-0x1,_0x5bfb12;_0x5b7fca>=0x0;_0x5b7fca--)(_0x5bfb12=_0x35fbc3[_0x5b7fca])&&(_0xaa00f3=(_0x16fd30?_0x5bfb12(_0x3f9f84,_0x10e00c,_0xaa00f3):_0x5bfb12(_0xaa00f3))||_0xaa00f3);return _0x16fd30&&_0xaa00f3&&Ts(_0x3f9f84,_0x10e00c,_0xaa00f3),_0xaa00f3;},A=(_0x46b868,_0x313ca5)=>(_0xf8e636,_0x2457af)=>_0x313ca5(_0xf8e636,_0x2457af,_0x46b868),Oi=(_0x2d493b=>(_0x2d493b['NOT_COLLAB']=_0x4a7741(0xd2),_0x2d493b[_0x4a7741(0x371)]=_0x4a7741(0xcc),_0x2d493b[_0x4a7741(0x136)]='pending',_0x2d493b[_0x4a7741(0x2b4)]=_0x4a7741(0x1d9),_0x2d493b[_0x4a7741(0x382)]=_0x4a7741(0xb3),_0x2d493b['FETCH_MISS']=_0x4a7741(0x317),_0x2d493b[_0x4a7741(0xee)]=_0x4a7741(0x36f),_0x2d493b[_0x4a7741(0x1a7)]='offline',_0x2d493b))(Oi||{});const Pi=0xea60;class be{constructor(_0x38a49b,_0x2e6870,_0x13813b,_0x20ef7e,_0x41f870,_0x2cfef3,_0x5c82e2,_0xd47901,_0x5f1e56){var _0x28fbd2=_0x4a7741;D(this,_0x28fbd2(0x185),null),D(this,'_pendingMutations',[]),(this[_0x28fbd2(0x19d)]=_0x38a49b,this['type']=_0x2e6870,this[_0x28fbd2(0x1c1)]=_0x41f870,this[_0x28fbd2(0xd4)]=_0x2cfef3,this['_undoRedoService']=_0x5c82e2,this['_revisionService']=_0xd47901,this[_0x28fbd2(0x38b)]=_0x5f1e56,this[_0x28fbd2(0x185)]=_0x13813b,this[_0x28fbd2(0x13f)]=_0x20ef7e);}[_0x4a7741(0x1fa)](_0x599f3a){var _0x474837=_0x4a7741;const _0x29c89f=this[_0x474837(0x106)]['getCurrentRevOfUnit'](this[_0x474837(0x19d)]);return _0x599f3a[_0x474837(0x2bb)]>_0x29c89f+0x1?(this[_0x474837(0x1c1)][_0x474837(0x111)]({'from':_0x29c89f,'to':_0x599f3a['revision']-0x1}),!0x0):!0x1;}[_0x4a7741(0x37d)](_0x44f718){var _0x2ab416=_0x4a7741;this['_undoRedoService'][_0x2ab416(0x1b1)](this['unitID'],_0x44f718);}[_0x4a7741(0x393)](_0x5428ec){var _0x3b790c=_0x4a7741,_0x4764ea,_0x2769ff;(_0x2769ff=(_0x4764ea=this[_0x3b790c(0x1c1)])['onTransformSelections'])==null||_0x2769ff[_0x3b790c(0x31e)](_0x4764ea,_0x5428ec);}[_0x4a7741(0x2b9)](_0x2aae37){var _0x272bbf=_0x4a7741,_0x599936,_0x28590e;return(_0x28590e=(_0x599936=this['_handler'])[_0x272bbf(0x164)])==null?void 0x0:_0x28590e[_0x272bbf(0x31e)](_0x599936,_0x2aae37);}[_0x4a7741(0x19e)](_0x21a9f5){var _0x3059b7=_0x4a7741,_0x64ebb7,_0x1f587f;return(_0x1f587f=(_0x64ebb7=this[_0x3059b7(0x1c1)])['onTransformState'])==null?void 0x0:_0x1f587f[_0x3059b7(0x31e)](_0x64ebb7,_0x21a9f5);}[_0x4a7741(0xd8)](_0x376fd2){var _0x321dc8=_0x4a7741,_0x3fad41,_0x16d137,_0x4a66c7;return(_0x4a66c7=(_0x16d137=(_0x3fad41=this[_0x321dc8(0x1c1)])[_0x321dc8(0x299)])==null?void 0x0:_0x16d137[_0x321dc8(0x31e)](_0x3fad41,_0x376fd2))!=null?_0x4a66c7:_0x376fd2;}[_0x4a7741(0x1a1)](_0x1b14c1){var _0x509301=_0x4a7741,_0x3c476f,_0x310d81,_0x43fb75;return(_0x43fb75=(_0x310d81=(_0x3c476f=this[_0x509301(0x1c1)])[_0x509301(0x24e)])==null?void 0x0:_0x310d81['call'](_0x3c476f,_0x1b14c1))!=null?_0x43fb75:_0x1b14c1;}['_syncEditingCollabCursor'](_0x3fcf6b){var _0x43b080=_0x4a7741,_0x50a5d1,_0x6927c2;if(this['type']===Q[_0x43b080(0x31a)]){const {unitID:_0x3e09b6,mutations:_0x53add3,memberID:_0x4edda8}=_0x3fcf6b,_0x5dd2fe=_0x53add3[0x0][_0x43b080(0xc6)]['textRanges'];Array[_0x43b080(0xdd)](_0x5dd2fe)&&_0x5dd2fe[_0x43b080(0x2f8)]>0x0&&((_0x6927c2=(_0x50a5d1=this[_0x43b080(0x1c1)])[_0x43b080(0x324)])==null||_0x6927c2[_0x43b080(0x31e)](_0x50a5d1,{'unitID':_0x3e09b6,'memberID':_0x4edda8,'textRanges':_0x5dd2fe}));}}['_updateLocalCache'](){var _0x1b75a6=_0x4a7741,_0x540f57;(_0x540f57=this['_localCacheService'])==null||_0x540f57[_0x1b75a6(0x32a)](this['unitID'],this['type'],this[_0x1b75a6(0x185)],this[_0x1b75a6(0x13f)]);}['_getCurrentRevision'](){var _0x56cf30=_0x4a7741;return this[_0x56cf30(0x106)][_0x56cf30(0x1cc)](this[_0x56cf30(0x19d)]);}[_0x4a7741(0x355)](){var _0x54f223=_0x4a7741;this[_0x54f223(0x106)][_0x54f223(0x2fb)](this['unitID']);}[_0x4a7741(0x289)](_0x4d1cf3){var _0xb9ee1e=_0x4a7741,_0x5e7c02;let _0x2e65c2=this[_0xb9ee1e(0xd8)](_0x4d1cf3);_0x2e65c2=this[_0xb9ee1e(0x1a1)](_0x2e65c2);const _0xd5ec18=_0x4d40a8(_0x2e65c2[_0xb9ee1e(0xfe)],this[_0xb9ee1e(0xd4)],{'fromCollab':!0x0});if(!_0xd5ec18[_0xb9ee1e(0x212)])throw _0xd5ec18[_0xb9ee1e(0x155)]instanceof Error?_0xd5ec18[_0xb9ee1e(0x155)]:new Error((_0x5e7c02=_0xd5ec18[_0xb9ee1e(0x155)])!=null?_0x5e7c02:_0xb9ee1e(0x273));this['_transformIMECache'](_0x2e65c2),this['_transformStateCache'](_0x2e65c2),this[_0xb9ee1e(0x37d)](_0x4d1cf3),this['_transformSelections'](_0x2e65c2),this[_0xb9ee1e(0x37c)](_0x2e65c2),this[_0xb9ee1e(0x355)]();}}let Pe=class extends be{constructor(_0x5c9345,_0x277b78,_0x5682f0,_0x15ab2d,_0xcb1d1,_0x1880ac,_0x49a216,_0x146102,_0x151ea2,_0xfd1f4a){var _0x54db27=_0x4a7741;super(_0x5c9345,_0x277b78,null,[],_0x5682f0,_0x49a216,_0x1880ac,_0x15ab2d,_0xfd1f4a),D(this,_0x54db27(0x1ce),_0x54db27(0xcc)),(this[_0x54db27(0x2da)]=_0xcb1d1,this[_0x54db27(0xfa)]=_0x146102,this[_0x54db27(0x99)]=_0x151ea2,this['localCacheService']=_0xfd1f4a);}[_0x4a7741(0x34b)](_0x2bf6e9){var _0x3c4f10=_0x4a7741;const _0x76cfa9=this[_0x3c4f10(0x2da)][_0x3c4f10(0x26e)](re,this[_0x3c4f10(0x19d)],this[_0x3c4f10(0x27a)],[_0x2bf6e9],this['_handler']);return _0x76cfa9[_0x3c4f10(0x28f)](),_0x76cfa9[_0x3c4f10(0xe8)](),_0x76cfa9;}['onRemoteChangeset'](_0x4f56dc){var _0x3dd9f9=_0x4a7741;if(this[_0x3dd9f9(0x1fa)](_0x4f56dc))return this['_injector'][_0x3dd9f9(0x26e)](te,this[_0x3dd9f9(0x19d)],this[_0x3dd9f9(0x27a)],null,[],null,[_0x4f56dc],this[_0x3dd9f9(0x1c1)]);try{const _0x11b65e=this[_0x3dd9f9(0x99)]['transformMutationsWithChangeset'](_0x4f56dc,[Is]);if(_0x332775(_0x11b65e)){const {c1Prime:_0x53f27b}=_0x11b65e;return this['_executeRemoteChangeset'](_0x53f27b),this;}throw _0x11b65e['error'];}catch(_0x255cbf){return this[_0x3dd9f9(0xfa)][_0x3dd9f9(0x155)](_0x255cbf),this[_0x3dd9f9(0x11d)](!0x1);}}[_0x4a7741(0x11d)](_0x382a64){var _0x27ca99=_0x4a7741;return this[_0x27ca99(0x2da)][_0x27ca99(0x26e)](de,this[_0x27ca99(0x19d)],this[_0x27ca99(0x27a)],null,[],this[_0x27ca99(0x1c1)],_0x382a64);}[_0x4a7741(0x38e)](){var _0x1a4243=_0x4a7741;throw new Error(_0x1a4243(0x16e));}[_0x4a7741(0x18b)](){var _0xb3616e=_0x4a7741;throw new Error(_0xb3616e(0x318));}[_0x4a7741(0x362)](){return this;}[_0x4a7741(0x10d)](){var _0x4c4336=_0x4a7741;return this[_0x4c4336(0x2da)][_0x4c4336(0x26e)](fe,this[_0x4c4336(0x19d)],this[_0x4c4336(0x27a)],null,[],this[_0x4c4336(0x1c1)]);}['toggleOnline'](){return this;}['resend'](){var _0x44e985=_0x4a7741;throw new Error(_0x44e985(0x29f));}['fetchMiss'](){var _0x180bf8=_0x4a7741;const _0x33f6ff=this[_0x180bf8(0x106)][_0x180bf8(0x1cc)](this['unitID']);return this[_0x180bf8(0x1c1)]['onMissingChangesets']({'from':_0x33f6ff,'to':0x0}),this['_injector'][_0x180bf8(0x26e)](te,this[_0x180bf8(0x19d)],this['type'],null,[],null,[],this[_0x180bf8(0x1c1)]);}};Pe=Ce([A(0x3,_0x33b12a(_0x42d2a1)),A(0x4,_0x33b12a(_0x907b7b)),A(0x5,_0x3d6c4b),A(0x6,_0xc1c261),A(0x7,_0x15afa6),A(0x8,_0x4aadc5),A(0x9,_0x13a27c(X))],Pe);let re=class extends be{constructor(_0x4f476b,_0x2ec27f,_0x3ef616,_0x467d97,_0x2141d8,_0x4568cb,_0x3f2988,_0x22d4ee,_0x37472f,_0x5e4e30,_0x531409,_0x39143e,_0x410bf6,_0x28acb0){var _0x321bcf=_0x4a7741;super(_0x4f476b,_0x2ec27f,null,_0x3ef616,_0x467d97,_0x37472f,_0x410bf6,_0x4568cb,_0x28acb0),D(this,_0x321bcf(0x1ce),_0x321bcf(0x145)),D(this,_0x321bcf(0x9e),null),D(this,_0x321bcf(0x263),null),(this[_0x321bcf(0x2da)]=_0x2141d8,this['_memberService']=_0x3f2988,this[_0x321bcf(0xfa)]=_0x22d4ee,this[_0x321bcf(0x321)]=_0x5e4e30,this[_0x321bcf(0x99)]=_0x531409,this[_0x321bcf(0x178)]=_0x39143e);}[_0x4a7741(0x34b)](_0x1337b9){var _0x1f6bab=_0x4a7741;return this[_0x1f6bab(0x13f)]['push'](_0x1337b9),this[_0x1f6bab(0xe8)](),this;}[_0x4a7741(0x31b)](_0x210058){var _0x5b6cc8=_0x4a7741;if(this[_0x5b6cc8(0x1fa)](_0x210058))return this[_0x5b6cc8(0x13a)](),this[_0x5b6cc8(0x2da)][_0x5b6cc8(0x26e)](te,this[_0x5b6cc8(0x19d)],this[_0x5b6cc8(0x27a)],null,this[_0x5b6cc8(0x13f)],null,[_0x210058],this[_0x5b6cc8(0x1c1)]);try{const _0x244eae=this['_transformService'][_0x5b6cc8(0x1af)](_0x210058,this[_0x5b6cc8(0x13f)]);if(_0x332775(_0x244eae)){const {c1Prime:_0x219e6d,m2Prime:_0x126cb7}=_0x244eae;this[_0x5b6cc8(0x289)](_0x219e6d);const _0x1fefe1=this[_0x5b6cc8(0x2da)][_0x5b6cc8(0x26e)](re,this[_0x5b6cc8(0x19d)],this[_0x5b6cc8(0x27a)],_0x126cb7,this[_0x5b6cc8(0x1c1)]);return this[_0x5b6cc8(0x13a)](),_0x1fefe1[_0x5b6cc8(0x28f)](this[_0x5b6cc8(0x9e)]?Math['max'](0x0,new Date()[_0x5b6cc8(0x210)]()-this[_0x5b6cc8(0x9e)]):this[_0x5b6cc8(0x144)]()),_0x1fefe1;}throw _0x244eae[_0x5b6cc8(0x155)];}catch(_0x4f3ef3){return this[_0x5b6cc8(0xfa)]['error'](_0x4f3ef3),this[_0x5b6cc8(0x11d)](!0x1);}}[_0x4a7741(0x38e)](){var _0x714b95=_0x4a7741;throw new Error(_0x714b95(0xc7));}['onRemoteRej'](){var _0x596472=_0x4a7741;throw new Error(_0x596472(0x39a));}['onRemoteRetry'](){return this;}[_0x4a7741(0x10d)](){var _0x53f97f=_0x4a7741;return this[_0x53f97f(0x13a)](),this[_0x53f97f(0x2da)][_0x53f97f(0x26e)](fe,this[_0x53f97f(0x19d)],this[_0x53f97f(0x27a)],null,this['_pendingMutations'],this[_0x53f97f(0x1c1)]);}[_0x4a7741(0x1c3)](){return this;}[_0x4a7741(0x28f)](_0x40c4d8){var _0x43eb16=_0x4a7741;const _0x361198=_0x40c4d8!=null?_0x40c4d8:this['_getSendChangesetTimeout']();this[_0x43eb16(0x9e)]=new Date()['getTime'](),this[_0x43eb16(0x263)]=setTimeout(()=>{var _0x203018=_0x43eb16;this[_0x203018(0x13a)]();let _0x61207c=null;switch(this[_0x203018(0x27a)]){case Q[_0x203018(0x19f)]:{_0x61207c=Jt(this[_0x203018(0x13f)],this['unitID'],this[_0x203018(0x178)],this[_0x203018(0x106)],this[_0x203018(0x1e6)]);break;}case Q['UNIVER_DOC']:{this[_0x203018(0x13f)][_0x203018(0x1fd)](_0x2d6ba7=>_0x2d6ba7['id']===_0x47edee['id'])?_0x61207c=Es(this[_0x203018(0x13f)],this[_0x203018(0x19d)],this['_univerInstanceService'],this[_0x203018(0x106)],this[_0x203018(0x1e6)]):_0x61207c=Jt(this[_0x203018(0x13f)],this['unitID'],this[_0x203018(0x178)],this[_0x203018(0x106)],this[_0x203018(0x1e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x203018(0x27a)]+_0x203018(0x244));}const {changeset:_0x2c42ca,pendingMutations:_0x33bc60}=_0x61207c;this[_0x203018(0x1c1)][_0x203018(0x10a)](_0x2c42ca);const _0x248f83=_0x33bc60[_0x203018(0x2f8)]?this[_0x203018(0x2da)][_0x203018(0x26e)](oe,this[_0x203018(0x19d)],this[_0x203018(0x27a)],_0x2c42ca,_0x33bc60,this[_0x203018(0x1c1)],void 0x0):this[_0x203018(0x2da)][_0x203018(0x26e)](ue,this[_0x203018(0x19d)],this[_0x203018(0x27a)],_0x2c42ca,this[_0x203018(0x1c1)]);_0x248f83[_0x203018(0xe8)](),this['_handler'][_0x203018(0x129)](this,_0x248f83);},_0x361198);}['_getSendChangesetTimeout'](){var _0x1e8678=_0x4a7741,_0x5bc0ae;const _0x12c1ff=this['_configService'][_0x1e8678(0x399)](Y);return(_0x5bc0ae=_0x12c1ff==null?void 0x0:_0x12c1ff[_0x1e8678(0x194)])!=null?_0x5bc0ae:wn;}[_0x4a7741(0x3a0)](){var _0x549dc0=_0x4a7741;throw new Error(_0x549dc0(0x245));}['_clearScheduledTask'](){var _0x2beba0=_0x4a7741;this[_0x2beba0(0x263)]!=null&&(clearTimeout(this[_0x2beba0(0x263)]),this[_0x2beba0(0x263)]=null);}[_0x4a7741(0x11d)](_0x1dc46a){var _0x25e972=_0x4a7741;return this['_clearScheduledTask'](),this[_0x25e972(0x2da)][_0x25e972(0x26e)](de,this[_0x25e972(0x19d)],this[_0x25e972(0x27a)],null,this['_pendingMutations'],this['_handler'],_0x1dc46a);}};re=Ce([A(0x4,_0x33b12a(_0x907b7b)),A(0x5,_0x33b12a(_0x42d2a1)),A(0x6,_0x33b12a(Le)),A(0x7,_0x15afa6),A(0x8,_0xc1c261),A(0x9,_0x243586),A(0xa,_0x4aadc5),A(0xb,_0x249ac8),A(0xc,_0x3d6c4b),A(0xd,_0x13a27c(X))],re);let ue=class extends be{constructor(_0x5bc487,_0x2daa8e,_0x52de9d,_0x214804,_0x42deba,_0x1017db,_0x359ece,_0x20450d,_0x256306,_0x5b122e,_0x3dba27){var _0x3cfff8=_0x4a7741;super(_0x5bc487,_0x2daa8e,_0x52de9d,[],_0x214804,_0x359ece,_0x5b122e,_0x1017db,_0x3dba27),D(this,_0x3cfff8(0x1ce),'awaiting'),D(this,_0x3cfff8(0x32c),0x0),D(this,_0x3cfff8(0x126)),D(this,_0x3cfff8(0x150)),(this['_injector']=_0x42deba,this[_0x3cfff8(0xfa)]=_0x20450d,this[_0x3cfff8(0x99)]=_0x256306);}[_0x4a7741(0x34b)](_0x2529ff){var _0x25faa2=_0x4a7741;this['_clearScheduledTask']();const _0x43ad36=this[_0x25faa2(0x2da)][_0x25faa2(0x26e)](oe,this[_0x25faa2(0x19d)],this[_0x25faa2(0x27a)],this[_0x25faa2(0x185)],[_0x2529ff],this[_0x25faa2(0x1c1)],this[_0x25faa2(0x126)]);return _0x43ad36[_0x25faa2(0xe8)](),_0x43ad36;}[_0x4a7741(0x31b)](_0x5b8087){var _0x1a1006=_0x4a7741;if(this[_0x1a1006(0x1fa)](_0x5b8087))return this[_0x1a1006(0x13a)](),this[_0x1a1006(0x2da)][_0x1a1006(0x26e)](te,this[_0x1a1006(0x19d)],this['type'],this['_awaitingChangeset'],[],null,[_0x5b8087],this[_0x1a1006(0x1c1)]);try{const _0x359fa4=this['_transformService'][_0x1a1006(0x2ac)]([_0x5b8087],[this['_awaitingChangeset']],!0x1);if(_0x4415b3(_0x359fa4)){const {c1Prime:_0x32eb51,c2Prime:_0x40361d}=_0x359fa4;this[_0x1a1006(0x289)](_0x32eb51[0x0]),_0x40361d[0x0]['baseRev']=this[_0x1a1006(0xb7)](),this[_0x1a1006(0x13a)]();const _0x2ac4ac=this[_0x1a1006(0x2da)][_0x1a1006(0x26e)](ue,this['unitID'],this['type'],_0x40361d[0x0],this[_0x1a1006(0x1c1)]);return _0x2ac4ac[_0x1a1006(0xe8)](),_0x2ac4ac;}return this[_0x1a1006(0x11d)](!0x1);}catch(_0x887ff5){return this[_0x1a1006(0xfa)][_0x1a1006(0x155)](_0x887ff5),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x166917){var _0x2c6018=_0x4a7741;this[_0x2c6018(0x13a)]();const _0x311327=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x166917[_0x2c6018(0x2bb)]<_0x311327-0x1)return this;if(this['_checkMissing'](_0x166917))return this[_0x2c6018(0x2da)][_0x2c6018(0x26e)](te,this[_0x2c6018(0x19d)],this[_0x2c6018(0x27a)],null,[],this[_0x2c6018(0x185)],[],this[_0x2c6018(0x1c1)]);this[_0x2c6018(0x355)]();const _0x31f328=this[_0x2c6018(0x2da)][_0x2c6018(0x26e)](Pe,this['unitID'],this[_0x2c6018(0x27a)],this['_handler']);return _0x31f328[_0x2c6018(0xe8)](),_0x31f328;}[_0x4a7741(0x18b)](_0x4fc113){var _0x2a75f7=_0x4a7741;return this[_0x2a75f7(0x11d)](!!(_0x4fc113!=null&&_0x4fc113[_0x2a75f7(0x12e)]));}[_0x4a7741(0x362)](_0x4b8816){var _0x1d0f71=_0x4a7741;return this[_0x1d0f71(0x32c)]>Pi?this['toggleOffline']():(this[_0x1d0f71(0x126)]=yi(this[_0x1d0f71(0x32c)],{'timeout':this['_resendTimeout'],'reqId':_0x4b8816[_0x1d0f71(0xdf)]}),this['_sender']=this[_0x1d0f71(0x126)][_0x1d0f71(0x1ba)](({reqId:_0x3c072,timeout:_0x592809})=>{this['_resendWithTimeout'](_0x3c072,_0x592809);}),this);}[_0x4a7741(0x10d)](){var _0xd7f975=_0x4a7741;return this['_clearScheduledTask'](),this[_0xd7f975(0x2da)][_0xd7f975(0x26e)](fe,this[_0xd7f975(0x19d)],this[_0xd7f975(0x27a)],this['_awaitingChangeset'],[],this[_0xd7f975(0x1c1)]);}['toggleOnline'](){return this;}['resend'](){var _0x105271=_0x4a7741;this[_0x105271(0x1c1)][_0x105271(0x10a)](this[_0x105271(0x185)]);}['_onConflict'](_0xfc469b){var _0x1932e7=_0x4a7741;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this['unitID'],this['type'],this[_0x1932e7(0x185)],[],this[_0x1932e7(0x1c1)],_0xfc469b);}['_resendWithTimeout'](_0x31291b,_0x25d96b){var _0x1a0504=_0x4a7741,_0x16631b;_0x31291b===((_0x16631b=this[_0x1a0504(0x185)])==null?void 0x0:_0x16631b[_0x1a0504(0xdf)])&&(this[_0x1a0504(0x3a0)](),this[_0x1a0504(0x32c)]=_0x25d96b===0x0?0x3e8:_0x25d96b*0x2);}['_clearScheduledTask'](){var _0x38396b=_0x4a7741,_0x2af282;(_0x2af282=this['_sender'])==null||_0x2af282[_0x38396b(0x130)](),this[_0x38396b(0x32c)]=0x0;}};ue=Ce([A(0x4,_0x33b12a(_0x907b7b)),A(0x5,_0x33b12a(_0x42d2a1)),A(0x6,_0xc1c261),A(0x7,_0x15afa6),A(0x8,_0x4aadc5),A(0x9,_0x3d6c4b),A(0xa,_0x13a27c(X))],ue);let oe=class extends be{constructor(_0x1a530c,_0x224932,_0x1d3645,_0x3de22b,_0x517d34,_0x41e07e,_0x1d4748,_0x32a386,_0x471147,_0x2b63fc,_0x234f85,_0x4f963d,_0x52c5fd){var _0x5691d6=_0x4a7741;super(_0x1a530c,_0x224932,_0x1d3645,_0x3de22b,_0x517d34,_0x471147,_0x4f963d,_0x32a386,_0x52c5fd),D(this,_0x5691d6(0x1ce),_0x5691d6(0xb3)),D(this,_0x5691d6(0x32c),0x0),D(this,_0x5691d6(0x126)),D(this,_0x5691d6(0x150)),(this[_0x5691d6(0x2da)]=_0x1d4748,this[_0x5691d6(0xfa)]=_0x2b63fc,this['_transformService']=_0x234f85,this['localCacheService']=_0x52c5fd,_0x41e07e&&(this[_0x5691d6(0x126)]=_0x41e07e,this[_0x5691d6(0x150)]=this[_0x5691d6(0x126)]['subscribe'](({reqId:_0x4562e8,timeout:_0x3194ef})=>{var _0x160c01=_0x5691d6;this[_0x160c01(0xcf)](_0x4562e8,_0x3194ef);})));}[_0x4a7741(0x34b)](_0x389e91){var _0x5d452f=_0x4a7741;return this['_pendingMutations'][_0x5d452f(0xef)](_0x389e91),this;}[_0x4a7741(0x31b)](_0x1bf091){var _0x474668=_0x4a7741;if(this[_0x474668(0x1fa)](_0x1bf091))return this[_0x474668(0x13a)](),this[_0x474668(0x2da)][_0x474668(0x26e)](te,this[_0x474668(0x19d)],this[_0x474668(0x27a)],this[_0x474668(0x185)],this[_0x474668(0x13f)],null,[_0x1bf091],this[_0x474668(0x1c1)]);try{const _0x40e9b4=this[_0x474668(0x99)][_0x474668(0x2ac)]([_0x1bf091],[this[_0x474668(0x185)]],!0x1);if(_0x4415b3(_0x40e9b4)){const {c1Prime:_0x251328,c2Prime:_0x2c2e6e}=_0x40e9b4,_0x36d873=this[_0x474668(0x99)][_0x474668(0x1af)](_0x251328[0x0],this[_0x474668(0x13f)]);if(_0x332775(_0x36d873)){const {c1Prime:_0x22db6f,m2Prime:_0x279548}=_0x36d873;return this[_0x474668(0x289)](_0x22db6f),_0x2c2e6e[0x0]['baseRev']=this[_0x474668(0xb7)](),this[_0x474668(0x13a)](),this['_injector'][_0x474668(0x26e)](oe,this['unitID'],this['type'],_0x2c2e6e[0x0],_0x279548,this[_0x474668(0x1c1)],void 0x0);}throw _0x36d873[_0x474668(0x155)];}throw _0x40e9b4[_0x474668(0x155)];}catch(_0x418f56){return this[_0x474668(0xfa)][_0x474668(0x155)](_0x418f56),this['_onConflict'](!0x1);}}[_0x4a7741(0x38e)](_0x42b96f){var _0x49e891=_0x4a7741;if(this[_0x49e891(0x13a)](),this[_0x49e891(0x1fa)](_0x42b96f))return this[_0x49e891(0x2da)][_0x49e891(0x26e)](te,this['unitID'],this[_0x49e891(0x27a)],null,this[_0x49e891(0x13f)],this[_0x49e891(0x185)],[],this[_0x49e891(0x1c1)]);this[_0x49e891(0x355)]();const _0x12e705=this[_0x49e891(0x2da)][_0x49e891(0x26e)](re,this[_0x49e891(0x19d)],this[_0x49e891(0x27a)],this[_0x49e891(0x13f)],this[_0x49e891(0x1c1)]);return _0x12e705[_0x49e891(0x28f)](),_0x12e705[_0x49e891(0xe8)](),_0x12e705;}[_0x4a7741(0x18b)](_0xf68a5a){var _0x1e675e=_0x4a7741;return this[_0x1e675e(0x11d)](!!(_0xf68a5a!=null&&_0xf68a5a[_0x1e675e(0x12e)]));}['onRemoteRetry'](_0xad327c){var _0x12496f=_0x4a7741;return this[_0x12496f(0x32c)]>Pi?this[_0x12496f(0x10d)]():(this[_0x12496f(0x126)]=yi(this[_0x12496f(0x32c)],{'timeout':this[_0x12496f(0x32c)],'reqId':_0xad327c[_0x12496f(0xdf)]}),this[_0x12496f(0x150)]=this['_resendTimer'][_0x12496f(0x1ba)](({reqId:_0x545c13,timeout:_0x2c2016})=>{var _0x485a59=_0x12496f;this[_0x485a59(0xcf)](_0x545c13,_0x2c2016);}),this);}[_0x4a7741(0x10d)](){var _0x1f6ab0=_0x4a7741;return this[_0x1f6ab0(0x13a)](),this[_0x1f6ab0(0x2da)][_0x1f6ab0(0x26e)](fe,this['unitID'],this[_0x1f6ab0(0x27a)],this[_0x1f6ab0(0x185)],this[_0x1f6ab0(0x13f)],this[_0x1f6ab0(0x1c1)]);}['toggleOnline'](){return this;}['resend'](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x4a7741(0x11d)](_0x10fca0){var _0x130d7d=_0x4a7741;return this[_0x130d7d(0x13a)](),this[_0x130d7d(0x2da)]['createInstance'](de,this[_0x130d7d(0x19d)],this['type'],null,this['_pendingMutations'],this[_0x130d7d(0x1c1)],_0x10fca0);}[_0x4a7741(0xcf)](_0x1a10db,_0xcd5574){var _0x355965=_0x4a7741,_0x4eecb5;_0x1a10db===((_0x4eecb5=this[_0x355965(0x185)])==null?void 0x0:_0x4eecb5['reqId'])&&(this[_0x355965(0x3a0)](),this[_0x355965(0x32c)]=_0xcd5574===0x0?0x3e8:_0xcd5574*0x2);}['_clearScheduledTask'](){var _0x2bca37=_0x4a7741,_0x4be6fa;(_0x4be6fa=this[_0x2bca37(0x150)])==null||_0x4be6fa[_0x2bca37(0x130)](),this[_0x2bca37(0x32c)]=0x0;}};oe=Ce([A(0x6,_0x33b12a(_0x907b7b)),A(0x7,_0x33b12a(_0x42d2a1)),A(0x8,_0xc1c261),A(0x9,_0x15afa6),A(0xa,_0x4aadc5),A(0xb,_0x3d6c4b),A(0xc,_0x13a27c(X))],oe);let de=class extends be{constructor(_0x26e6bb,_0x5249dd,_0x4bef43,_0xfc373c,_0xd7714c,_0x40bee4=!0x1,_0x17e441,_0x4ff3db,_0x3a8472,_0x3f0a4d,_0x5bd052,_0x1fdf21,_0x3339a2){var _0x149f0f=_0x4a7741;super(_0x26e6bb,_0x5249dd,_0x4bef43,_0xfc373c,_0xd7714c,_0x4ff3db,_0x3a8472,_0x3f0a4d,_0x3339a2),D(this,_0x149f0f(0x1ce),_0x149f0f(0x36f)),(this[_0x149f0f(0x2de)]=_0x40bee4,this['_permissionService']=_0x17e441,this[_0x149f0f(0x165)]=_0x5bd052,this['_collaborationUIEventService']=_0x1fdf21,this[_0x149f0f(0x222)]=_0x3339a2,this[_0x149f0f(0x383)](),this['_clearLocalCache'](),this[_0x149f0f(0x113)]());}[_0x4a7741(0x34b)](){return this;}[_0x4a7741(0x31b)](){return this;}['onRemoteAck'](){return this;}[_0x4a7741(0x18b)](){return this;}[_0x4a7741(0x362)](){return this;}[_0x4a7741(0x10d)](){return this;}[_0x4a7741(0x1c3)](){return this;}[_0x4a7741(0x3a0)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4a7741(0x1bc)](){var _0x1f81eb=_0x4a7741,_0x451a31;(_0x451a31=this[_0x1f81eb(0x38b)])==null||_0x451a31['updateOfflineData'](this[_0x1f81eb(0x19d)],this[_0x1f81eb(0x27a)],null,[]);}[_0x4a7741(0x383)](){var _0x4cb6b2=_0x4a7741;this[_0x4cb6b2(0x2de)]?this['_collaborationUIEventService'][_0x4cb6b2(0x297)]({'id':se[_0x4cb6b2(0x211)]}):this[_0x4cb6b2(0x2cc)][_0x4cb6b2(0x297)]({'id':se[_0x4cb6b2(0xee)]});}[_0x4a7741(0x113)](){var _0x5231b8=_0x4a7741;this[_0x5231b8(0x310)]['updatePermissionPoint'](new _0xcb920c(this[_0x5231b8(0x19d)])['id'],!0x1);}};de=Ce([A(0x6,_0x33b12a(_0x5eb1c1)),A(0x7,_0xc1c261),A(0x8,_0x3d6c4b),A(0x9,_0x33b12a(_0x42d2a1)),A(0xa,_0x33b12a(_0x309f9d)),A(0xb,_0x33b12a(pe)),A(0xc,_0x13a27c(X))],de);let fe=class extends be{constructor(_0x29bda2,_0x263967,_0xd669e8,_0x55eb24,_0x2e6a3b,_0x2085e4,_0x1963ba,_0x5e674c,_0x3cfb85,_0x6155ae){var _0x2af1c5=_0x4a7741;super(_0x29bda2,_0x263967,_0xd669e8,_0x55eb24,_0x2e6a3b,_0x5e674c,_0x3cfb85,_0x1963ba,_0x6155ae),D(this,'status',_0x2af1c5(0x1c8)),this[_0x2af1c5(0x2da)]=_0x2085e4;}[_0x4a7741(0x34b)](_0x3cdd75){var _0x3bc9ff=_0x4a7741;return this[_0x3bc9ff(0x13f)][_0x3bc9ff(0xef)](_0x3cdd75),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2fc5a3){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x136f14=_0x4a7741;throw new Error(_0x136f14(0x36b));}[_0x4a7741(0x18b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4a7741(0x362)](){return this;}['toggleOffline'](){return this;}[_0x4a7741(0x1c3)](){var _0x392b52=_0x4a7741;const {_injector:_0x4dc1c7,_pendingMutations:_0x54b2de,_awaitingChangeset:_0x27fc47,unitID:_0x3e525a,_handler:_0x5756d4,type:_0x50b1b0}=this,_0x41f0a2=Ni(_0x4dc1c7,_0x3e525a,_0x50b1b0,_0x27fc47,_0x54b2de,_0x5756d4);return _0x41f0a2 instanceof re?_0x41f0a2[_0x392b52(0x28f)]():(_0x41f0a2 instanceof oe||_0x41f0a2 instanceof ue)&&_0x41f0a2[_0x392b52(0x3a0)](),_0x41f0a2;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Ce([A(0x5,_0x33b12a(_0x907b7b)),A(0x6,_0x33b12a(_0x42d2a1)),A(0x7,_0xc1c261),A(0x8,_0x3d6c4b),A(0x9,_0x13a27c(X))],fe);let te=class extends be{constructor(_0x711e34,_0x3951ef,_0x2ae2b1,_0x270932,_0x39ba75,_0x5e74c2,_0x1650cb,_0x5d7271,_0x5df2df,_0x2c0135,_0xf0d738,_0x25f31e,_0x5494f7,_0x653c99){var _0x18b3fe=_0x4a7741;super(_0x711e34,_0x3951ef,_0x2ae2b1,_0x270932,_0x1650cb,_0xf0d738,_0x25f31e,_0x5df2df,_0x653c99),D(this,_0x18b3fe(0x1ce),_0x18b3fe(0x317)),(this[_0x18b3fe(0x33b)]=_0x39ba75,this[_0x18b3fe(0x1df)]=_0x5e74c2,this[_0x18b3fe(0x2da)]=_0x5d7271,this[_0x18b3fe(0xfa)]=_0x2c0135,this[_0x18b3fe(0x99)]=_0x5494f7,this[_0x18b3fe(0x222)]=_0x653c99);}['onMissedChangesetFetched'](_0x2cf9fa){var _0xa22523=_0x4a7741;try{const _0x3e7761=[..._0x2cf9fa,...this[_0xa22523(0x1df)]],_0x5cb46c=[this['_awaitingChangeset']||this[_0xa22523(0x33b)]][_0xa22523(0x2cd)](_0x38dae8=>!!_0x38dae8);let _0x599e4c,_0x19b625;if(_0x5cb46c[_0xa22523(0x2f8)]){const _0x2b5f99=this[_0xa22523(0x99)][_0xa22523(0x2ac)](_0x3e7761,_0x5cb46c,!0x1);if(!_0x4415b3(_0x2b5f99))throw _0x2b5f99[_0xa22523(0x155)];_0x599e4c=_0x2b5f99[_0xa22523(0x2e8)],_0x19b625=_0x2b5f99[_0xa22523(0x2ce)];}else _0x599e4c=_0x3e7761,_0x19b625=[];let _0x489de8=this['_pendingMutations'];_0x599e4c[_0xa22523(0x3a5)](_0x3b6ed5=>{var _0x277e12=_0xa22523;let _0x3fa141;if(_0x489de8[_0x277e12(0x2f8)]){const _0x33282a=this[_0x277e12(0x99)][_0x277e12(0x1af)](_0x3b6ed5,_0x489de8);if(!_0x332775(_0x33282a))throw _0x33282a[_0x277e12(0x155)];_0x3fa141=_0x33282a['c1Prime'],_0x489de8=_0x33282a[_0x277e12(0x395)];}else _0x3fa141=_0x3b6ed5;this[_0x277e12(0x289)](_0x3fa141);}),this[_0xa22523(0x33b)]&&this[_0xa22523(0x355)](),this[_0xa22523(0x185)]&&_0x19b625[_0xa22523(0x2f8)]&&(_0x19b625[0x0][_0xa22523(0x31f)]=this[_0xa22523(0xb7)]());let _0x1f5abf;if(this[_0xa22523(0x185)]&&_0x489de8[_0xa22523(0x2f8)]!==0x0)_0x1f5abf=this['_injector'][_0xa22523(0x26e)](oe,this['unitID'],this[_0xa22523(0x27a)],_0x19b625[0x0],_0x489de8,this[_0xa22523(0x1c1)],void 0x0);else{if(this[_0xa22523(0x185)]&&_0x489de8[_0xa22523(0x2f8)]===0x0)_0x19b625[0x0][_0xa22523(0x31f)]=this['_getCurrentRevision'](),_0x1f5abf=this['_injector'][_0xa22523(0x26e)](ue,this[_0xa22523(0x19d)],this[_0xa22523(0x27a)],_0x19b625[0x0],this['_handler']);else{if(_0x489de8['length']!==0x0){const _0x366166=this[_0xa22523(0x2da)][_0xa22523(0x26e)](re,this[_0xa22523(0x19d)],this['type'],_0x489de8,this[_0xa22523(0x1c1)]);_0x366166[_0xa22523(0x28f)](),_0x1f5abf=_0x366166;}else _0x1f5abf=this['_injector']['createInstance'](Pe,this[_0xa22523(0x19d)],this[_0xa22523(0x27a)],this[_0xa22523(0x1c1)]);}}return _0x1f5abf[_0xa22523(0xe8)](),_0x1f5abf;}catch(_0x375326){return this[_0xa22523(0xfa)][_0xa22523(0x155)](_0xa22523(0x306),_0xa22523(0x335),_0x375326),this[_0xa22523(0x2da)]['createInstance'](de,this['unitID'],this[_0xa22523(0x27a)],this['_awaitingChangeset'],this[_0xa22523(0x13f)],this[_0xa22523(0x1c1)],!0x1);}}[_0x4a7741(0x3a0)](){var _0x4dc62f=_0x4a7741;throw new Error(_0x4dc62f(0x118));}[_0x4a7741(0x34b)](_0x3fdbbe){var _0x1c4024=_0x4a7741;return this['_pendingMutations'][_0x1c4024(0xef)](_0x3fdbbe),this;}[_0x4a7741(0x31b)](_0xd88658){var _0x1586cb=_0x4a7741;return this[_0x1586cb(0x1df)]['push'](_0xd88658),this;}[_0x4a7741(0x38e)](_0xf4c3a7){var _0x3f4f48=_0x4a7741;if(this[_0x3f4f48(0x185)])return this[_0x3f4f48(0x33b)]=this[_0x3f4f48(0x185)],this[_0x3f4f48(0x185)]=null,this;throw new Error(_0x3f4f48(0x1d1));}['onRemoteRej'](_0x5f32a2){var _0x4e92cc=_0x4a7741;return this[_0x4e92cc(0x11d)](!!(_0x5f32a2!=null&&_0x5f32a2[_0x4e92cc(0x12e)]));}[_0x4a7741(0x362)](){return this;}['toggleOffline'](){var _0x34d6e0=_0x4a7741;return this[_0x34d6e0(0x2da)]['createInstance'](fe,this[_0x34d6e0(0x19d)],this['type'],this[_0x34d6e0(0x185)],this[_0x34d6e0(0x13f)],this[_0x34d6e0(0x1c1)]);}[_0x4a7741(0x1c3)](){return this;}[_0x4a7741(0x11d)](_0x38bf7c){var _0x5d6bf8=_0x4a7741;return this[_0x5d6bf8(0x2da)][_0x5d6bf8(0x26e)](de,this[_0x5d6bf8(0x19d)],this['type'],this[_0x5d6bf8(0x185)],this[_0x5d6bf8(0x13f)],this[_0x5d6bf8(0x1c1)],_0x38bf7c);}};te=Ce([A(0x7,_0x33b12a(_0x907b7b)),A(0x8,_0x33b12a(_0x42d2a1)),A(0x9,_0x15afa6),A(0xa,_0xc1c261),A(0xb,_0x3d6c4b),A(0xc,_0x4aadc5),A(0xd,_0x13a27c(X))],te);function Ni(_0x3d463b,_0x41a290,_0x303ecf,_0x311fdb,_0x296e3e,_0x3a0c04){var _0x5a4fe2=_0x4a7741;return _0x311fdb&&_0x296e3e['length']?_0x3d463b['createInstance'](oe,_0x41a290,_0x303ecf,_0x311fdb,_0x296e3e,_0x3a0c04,void 0x0):_0x311fdb?_0x3d463b[_0x5a4fe2(0x26e)](ue,_0x41a290,_0x303ecf,_0x311fdb,_0x3a0c04):_0x296e3e[_0x5a4fe2(0x2f8)]?_0x3d463b[_0x5a4fe2(0x26e)](re,_0x41a290,_0x303ecf,_0x296e3e,_0x3a0c04):_0x3d463b['createInstance'](Pe,_0x41a290,_0x303ecf,_0x3a0c04);}var bs=Object[_0x4a7741(0x1ac)],Rs=Object[_0x4a7741(0xf3)],Mt=(_0x353a4f,_0x25d9f6,_0x13626e,_0x1b621f)=>{var _0xc9848c=_0x4a7741;for(var _0xec8221=_0x1b621f>0x1?void 0x0:_0x1b621f?Rs(_0x25d9f6,_0x13626e):_0x25d9f6,_0x504020=_0x353a4f[_0xc9848c(0x2f8)]-0x1,_0x3605cb;_0x504020>=0x0;_0x504020--)(_0x3605cb=_0x353a4f[_0x504020])&&(_0xec8221=(_0x1b621f?_0x3605cb(_0x25d9f6,_0x13626e,_0xec8221):_0x3605cb(_0xec8221))||_0xec8221);return _0x1b621f&&_0xec8221&&bs(_0x25d9f6,_0x13626e,_0xec8221),_0xec8221;},k=(_0xe91c83,_0x23bed6)=>(_0x4e54eb,_0x50ce35)=>_0x23bed6(_0x4e54eb,_0x50ce35,_0xe91c83);let st=class extends _0x537d0d{constructor(_0x1c48df,_0x4aaf62,_0x326779,_0x361e00,_0x4dce18,_0x4a36b6,_0x45bc3f,_0x272fc5,_0x51d879,_0x49c2bc,_0x217c74,_0x2c3387,_0x2aae97){var _0x289864=_0x4a7741;super(),D(this,_0x289864(0x1e5),new _0x5c2168(null)),D(this,_0x289864(0x1bf),this[_0x289864(0x1e5)][_0x289864(0x202)]()),D(this,'_state'),D(this,_0x289864(0x375),!0x1),D(this,_0x289864(0x235),''),D(this,'_changesetReqId',0x0),D(this,_0x289864(0x9c),this['state$'][_0x289864(0x35a)](_0x3fc051(_0x55aa93=>_0x55aa93?_0x55aa93[_0x289864(0x1ce)]:Oi[_0x289864(0x1a7)]),_0x2baabf(0x1))),D(this,_0x289864(0x13d),!0x1),D(this,_0x289864(0xea),[]),(this[_0x289864(0x19d)]=_0x1c48df,this[_0x289864(0x216)]=_0x4aaf62,this['_type']=_0x326779,this[_0x289864(0x2da)]=_0x361e00,this['_compressMutationService']=_0x4dce18,this[_0x289864(0x165)]=_0x4a36b6,this['_revisionService']=_0x45bc3f,this[_0x289864(0x199)]=_0x272fc5,this[_0x289864(0xfa)]=_0x51d879,this[_0x289864(0xd4)]=_0x49c2bc,this[_0x289864(0x310)]=_0x217c74,this[_0x289864(0x384)]=_0x2c3387,this[_0x289864(0x38b)]=_0x2aae97);}get[_0x4a7741(0x22d)](){return this['_state'];}async[_0x4a7741(0x2b8)](){var _0x577729=_0x4a7741;if(this['state'])throw new Error(_0x577729(0x363));await this[_0x577729(0x15e)]();}[_0x4a7741(0x1e9)](){var _0x43b5e0=_0x4a7741;return this[_0x43b5e0(0x375)]=!0x0,_0x34ae4e(()=>{var _0x3dc5d8=_0x43b5e0;this['_collaborationPaused']=!0x1,this[_0x3dc5d8(0x208)]();});}[_0x4a7741(0x368)](_0x2b9c23){var _0x2e0dd1=_0x4a7741;this[_0x2e0dd1(0x186)](_0x2b9c23);}[_0x4a7741(0x290)](_0x11ae16){var _0x2b9553=_0x4a7741;this[_0x2b9553(0x36e)]=_0x11ae16,this[_0x2b9553(0x1e5)][_0x2b9553(0x2c1)](_0x11ae16);}async['_init'](){var _0x4d1a3d=_0x4a7741,_0x125102;this[_0x4d1a3d(0x290)](await this[_0x4d1a3d(0xe6)]()),this[_0x4d1a3d(0x384)]&&((_0x125102=this['_singleActiveUnitService'])==null||_0x125102['editingUnit'](this['unitID']),this[_0x4d1a3d(0x249)](this[_0x4d1a3d(0x384)]['getUnitStatus$'](this[_0x4d1a3d(0x19d)])[_0x4d1a3d(0x1ba)](_0x199bd2=>{var _0x208816=_0x4d1a3d;this['_logService'][_0x208816(0x1b8)](_0x208816(0x2c5),_0x208816(0x253),_0x199bd2),_0x199bd2===Ri[_0x208816(0x2cb)]?(this['_eventService'][_0x208816(0x297)]({'id':se[_0x208816(0xfd)]}),this['_permissionService'][_0x208816(0x2c3)](new _0xcb920c(this[_0x208816(0x19d)])['id'],!0x1),this[_0x208816(0x310)][_0x208816(0x13b)](!0x1)):(this[_0x208816(0x310)]['updatePermissionPoint'](new _0xcb920c(this[_0x208816(0x19d)])['id'],!0x0),this[_0x208816(0x310)][_0x208816(0x13b)](!0x0));})));let _0x44084f=!0x1;return this['disposeWithMe'](this[_0x4d1a3d(0x216)]['sessionStatus$'][_0x4d1a3d(0x1ba)](_0xcd529f=>{var _0x597f94=_0x4d1a3d;_0xcd529f===Ie[_0x597f94(0x329)]?this[_0x597f94(0x2aa)](_0x44084f):_0xcd529f===Ie[_0x597f94(0x1a7)]&&(_0x44084f=!0x0,this[_0x597f94(0x35f)]());})),this[_0x4d1a3d(0x249)](this[_0x4d1a3d(0x216)][_0x4d1a3d(0x396)][_0x4d1a3d(0x1ba)](_0x44d230=>{var _0x512828=_0x4d1a3d;try{switch(_0x44d230[_0x512828(0x30b)]){case _0x3c0549[_0x512828(0x25e)]:{this[_0x512828(0x1ff)](_0x42b651(_0x44d230[_0x512828(0x33d)]));break;}case _0x3c0549[_0x512828(0x143)]:{this[_0x512828(0x353)](_0x44d230['data']);break;}case _0x3c0549[_0x512828(0x172)]:{this[_0x512828(0x20a)]();break;}case _0x3c0549['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x44d230['data']);break;}case _0x3c0549[_0x512828(0x116)]:{this[_0x512828(0x254)](_0x44d230[_0x512828(0x33d)][_0x512828(0x319)][_0x512828(0x373)](_0x5781d3=>_0x42b651(_0x5781d3)));break;}case _0x3c0549['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3c0549[_0x512828(0x140)]:break;}}catch(_0x4f3250){throw console[_0x512828(0x155)](_0x512828(0x331),_0x4f3250),_0x4f3250;}})),this[_0x4d1a3d(0x36e)];}[_0x4a7741(0x102)](){var _0x2a3cc0=_0x4a7741;this[_0x2a3cc0(0x13d)]=!0x1;}['_lockTransition'](){var _0x1ed5a2=_0x4a7741;if(this['_transitionLocked'])throw new Error(_0x1ed5a2(0xaf));this[_0x1ed5a2(0x13d)]=!0x0;}[_0x4a7741(0x186)](_0xe90bf7){var _0x58d3db=_0x4a7741;this[_0x58d3db(0x2c6)](),this[_0x58d3db(0x290)](this[_0x58d3db(0x36e)][_0x58d3db(0x34b)](_0xe90bf7)),this['_unlockTransition']();}[_0x4a7741(0x1ff)](_0x1e16de){var _0x2779aa=_0x4a7741;if(!(_0x1e16de[_0x2779aa(0x2bb)]<=this[_0x2779aa(0x106)][_0x2779aa(0x1cc)](this[_0x2779aa(0x19d)]))){if(this['_collaborationPaused']){this[_0x2779aa(0xea)][_0x2779aa(0xef)](_0x1e16de);return;}this[_0x2779aa(0x205)](_0x1e16de);}}[_0x4a7741(0x208)](){var _0x5075d6=_0x4a7741;this[_0x5075d6(0xea)][_0x5075d6(0x3a5)](_0x274d85=>this[_0x5075d6(0x205)](_0x274d85)),this[_0x5075d6(0xea)]=[];}['_applyRemoteChangeset'](_0x5beac4){var _0x48c2ea=_0x4a7741;const _0x559607=this[_0x48c2ea(0x1dd)][_0x48c2ea(0x19a)][_0x48c2ea(0x333)](this[_0x48c2ea(0x1dd)][_0x48c2ea(0x19a)][_0x48c2ea(0xa2)]()['COMPRESS_MUTATION_APPLY'])(_0x5beac4['mutations'],null)||_0x5beac4[_0x48c2ea(0xfe)],_0x5b3d87={..._0x5beac4,'mutations':_0x559607};this[_0x48c2ea(0x2c6)](),this[_0x48c2ea(0x290)](this[_0x48c2ea(0x36e)][_0x48c2ea(0x31b)](_0x5b3d87)),this[_0x48c2ea(0x102)]();}[_0x4a7741(0x353)](_0x4ee5d8){var _0x3b2264=_0x4a7741;this[_0x3b2264(0x2c6)](),this[_0x3b2264(0x290)](this[_0x3b2264(0x36e)][_0x3b2264(0x38e)](_0x4ee5d8)),this['_unlockTransition']();}[_0x4a7741(0x20a)](_0xff4038){var _0x52d01=_0x4a7741;this[_0x52d01(0x2c6)](),this[_0x52d01(0x290)](this[_0x52d01(0x36e)][_0x52d01(0x18b)](_0xff4038)),this[_0x52d01(0x102)]();}[_0x4a7741(0x307)](_0x348d20){var _0x4c1e0f=_0x4a7741;this[_0x4c1e0f(0x2c6)](),this[_0x4c1e0f(0x290)](this[_0x4c1e0f(0x36e)][_0x4c1e0f(0x362)](_0x348d20)),this[_0x4c1e0f(0x102)]();}[_0x4a7741(0x254)](_0x509c6e){var _0x4ca856=_0x4a7741;if(!(this['_state']instanceof te))throw new TypeError(_0x4ca856(0x2e7));const _0x16cf66=_0x509c6e[_0x4ca856(0x373)](_0x3c2f27=>{var _0x19952a=_0x4ca856;const _0x4a5358=this[_0x19952a(0x1dd)][_0x19952a(0x19a)][_0x19952a(0x333)](this[_0x19952a(0x1dd)]['interceptor'][_0x19952a(0xa2)]()['COMPRESS_MUTATION_APPLY'])(_0x3c2f27[_0x19952a(0xfe)],null)||_0x3c2f27[_0x19952a(0xfe)];return{..._0x3c2f27,'mutations':_0x4a5358};});this[_0x4ca856(0x2c6)](),this[_0x4ca856(0x290)](this[_0x4ca856(0x36e)][_0x4ca856(0x300)](_0x16cf66)),this[_0x4ca856(0x102)]();}[_0x4a7741(0x35f)](){var _0x5eb7ba=_0x4a7741;this['_lockTransition'](),this[_0x5eb7ba(0x290)](this[_0x5eb7ba(0x36e)][_0x5eb7ba(0x10d)]()),this[_0x5eb7ba(0x102)]();}['_toggleOnline'](_0x4ce01e=!0x1){var _0x36a3a3=_0x4a7741;this['_lockTransition'](),this[_0x36a3a3(0x290)](this[_0x36a3a3(0x36e)][_0x36a3a3(0x1c3)]()),this[_0x36a3a3(0x102)]();const _0x5e59ff=this[_0x36a3a3(0x36e)];_0x4ce01e&&_0x5e59ff instanceof Pe&&(this['_lockTransition'](),this[_0x36a3a3(0x290)](_0x5e59ff[_0x36a3a3(0x177)]()),this[_0x36a3a3(0x102)]());}async[_0x4a7741(0xe6)](){return new Promise(_0xa93390=>{var _0x332577=_0xda85;this[_0x332577(0x216)][_0x332577(0x30f)][_0x332577(0x35a)](_0x3beeef(0x1))[_0x332577(0x1ba)](async _0x172552=>{var _0x4fdc1c=_0x332577;_0xa93390(await this[_0x4fdc1c(0x390)](_0x172552===Ie[_0x4fdc1c(0x329)]));});});}['_createHandler'](){var _0x522182=_0x4a7741;const _0x172e01=this[_0x522182(0x19d)];return{'onStateChange':(_0x46bf84,_0xf80c97)=>{var _0xeeb90=_0x522182;if(_0x46bf84!==this['_state'])throw new Error(_0xeeb90(0x25c)+_0x46bf84[_0xeeb90(0x1ce)]+_0xeeb90(0x23c)+_0xf80c97['status']+_0xeeb90(0xdb)+this['_state']['status']);this[_0xeeb90(0x290)](_0xf80c97);},'onSendChangeset':_0x2f34a0=>{var _0x86c5ce=_0x522182;_0x2f34a0[_0x86c5ce(0x39c)]||(_0x2f34a0[_0x86c5ce(0x39c)]=this['_changesetSessionId'],_0x2f34a0['reqId']=++this[_0x86c5ce(0xc8)]);const _0x22793a={'eventID':_0x3c0549[_0x86c5ce(0xae)],'data':{'unitID':_0x2f34a0['unitID'],'unitType':this['_type'],'changeset':_0x2f34a0,'memberID':this['session'][_0x86c5ce(0xed)]()}};this[_0x86c5ce(0x216)][_0x86c5ce(0x313)](_0x22793a,this['unitID']);},'onMissingChangesets':({from:_0x599c8f,to:_0x102e8e})=>{var _0x4d899e=_0x522182;this[_0x4d899e(0xfa)][_0x4d899e(0x1b8)](_0x4d899e(0x2c5),'fetching\x20missing\x20changesets\x20from\x20'+_0x599c8f+_0x4d899e(0x141)+_0x102e8e);const _0x474851={'eventID':_0x3c0549['FETCH_MISSING'],'data':{'unitID':_0x172e01,'unitType':this[_0x4d899e(0x13e)],'from':_0x599c8f,'to':_0x102e8e}};this['session']['send'](_0x474851,this[_0x4d899e(0x19d)]);}};}async['_createInitialStateImpl'](_0x3e3bf4){var _0x112f0a=_0x4a7741,_0x352081,_0x5687a5,_0x31e8c6;const _0x55d512=await((_0x352081=this[_0x112f0a(0x38b)])==null?void 0x0:_0x352081['loadOfflineData'](this[_0x112f0a(0x19d)])),_0x4a11eb=(_0x5687a5=_0x55d512==null?void 0x0:_0x55d512[_0x112f0a(0xfe)])!=null?_0x5687a5:[],_0x38fa3e=(_0x31e8c6=_0x55d512==null?void 0x0:_0x55d512['awaitingChangeset'])!=null?_0x31e8c6:null,_0x2225f9=!!(_0x38fa3e!=null&&_0x38fa3e[_0x112f0a(0x39c)])&&!!(_0x38fa3e!=null&&_0x38fa3e['reqId']);this[_0x112f0a(0x235)]=_0x2225f9?_0x38fa3e[_0x112f0a(0x39c)]:fs(),this[_0x112f0a(0xc8)]=_0x2225f9?_0x38fa3e[_0x112f0a(0xdf)]:0x0;const _0x12bbb7=this[_0x112f0a(0x19d)];try{this[_0x112f0a(0x272)](_0x38fa3e,_0x4a11eb);}catch(_0x4a2129){this[_0x112f0a(0xfa)][_0x112f0a(0x155)](_0x4a2129);}const _0x3797ce=this[_0x112f0a(0x1aa)]();if(_0x3e3bf4){const _0xf0961a=Ni(this['_injector'],_0x12bbb7,this[_0x112f0a(0x13e)],_0x38fa3e,_0x4a11eb,_0x3797ce);return _0xf0961a instanceof re?_0xf0961a[_0x112f0a(0x28f)]():(_0xf0961a instanceof oe||_0xf0961a instanceof ue)&&_0xf0961a[_0x112f0a(0x3a0)](),_0xf0961a;}return this['_injector']['createInstance'](fe,_0x12bbb7,this[_0x112f0a(0x13e)],_0x38fa3e,_0x4a11eb,_0x3797ce);}['_replayCachedMutations'](_0x2b50b9,_0x1372e5){var _0x1a457b=_0x4a7741,_0x3eb95c,_0xdabb1b;const _0x13aa83=this[_0x1a457b(0x1dd)][_0x1a457b(0x19a)][_0x1a457b(0x333)](this[_0x1a457b(0x1dd)][_0x1a457b(0x19a)][_0x1a457b(0xa2)]()[_0x1a457b(0x325)]);(_0x3eb95c=_0x13aa83((_0x2b50b9==null?void 0x0:_0x2b50b9[_0x1a457b(0xfe)])||[],null))==null||_0x3eb95c[_0x1a457b(0x3a5)](_0x1290d3=>this[_0x1a457b(0xd4)][_0x1a457b(0x1b9)](_0x1290d3['id'],_0x1290d3[_0x1a457b(0xc6)])),(_0xdabb1b=_0x13aa83(_0x1372e5||[],null))==null||_0xdabb1b['forEach'](_0x386784=>this[_0x1a457b(0xd4)][_0x1a457b(0x1b9)](_0x386784['id'],_0x386784[_0x1a457b(0xc6)]));}};st=Mt([k(0x3,_0x33b12a(_0x907b7b)),k(0x4,_0x33b12a(_0x34e033)),k(0x5,_0x33b12a(_0x309f9d)),k(0x6,_0x33b12a(_0x42d2a1)),k(0x7,_0x33b12a(pe)),k(0x8,_0x15afa6),k(0x9,_0xc1c261),k(0xa,_0x5eb1c1),k(0xb,_0x13a27c(_t)),k(0xc,_0x13a27c(X))],st);let Ct=class extends st{constructor(_0x5ba82b,_0x388de9,_0x478bde,_0x44f812,_0x35ede6,_0xc035d1,_0x345998,_0x4b19e3,_0x282390,_0x5d9a38,_0xf23da3,_0x2d0f48,_0x9ed2db){var _0x408ba8=_0x4a7741;super(_0x5ba82b,_0x478bde,_0x388de9,_0x44f812,_0x35ede6,_0xc035d1,_0x345998,_0x4b19e3,_0x282390,_0x5d9a38,_0xf23da3,_0x2d0f48,_0x9ed2db),D(this,_0x408ba8(0x2f2),null),(this[_0x408ba8(0x19d)]=_0x5ba82b,this[_0x408ba8(0x27a)]=_0x388de9);}['addHandlerCallback'](_0x75f1a8){var _0x374513=_0x4a7741;this[_0x374513(0x2f2)]=_0x75f1a8;}[_0x4a7741(0x293)](){var _0x48ac09=_0x4a7741;this[_0x48ac09(0x2f2)]=null,super[_0x48ac09(0x293)]();}[_0x4a7741(0x1aa)](){var _0x3082eb=_0x4a7741;const _0x155ce7=super['_createHandler']();return _0x155ce7[_0x3082eb(0x164)]=_0x190036=>{var _0x19b7b7=_0x3082eb,_0x513db2,_0x375338;return(_0x375338=(_0x513db2=this[_0x19b7b7(0x2f2)])==null?void 0x0:_0x513db2['onTransformIME'])==null?void 0x0:_0x375338['call'](_0x513db2,_0x190036);},_0x155ce7[_0x3082eb(0x17c)]=_0x218c12=>{var _0x46b3b7=_0x3082eb,_0x341711,_0x7c50ad;return(_0x7c50ad=(_0x341711=this['_handlerCallback'])==null?void 0x0:_0x341711[_0x46b3b7(0x17c)])==null?void 0x0:_0x7c50ad['call'](_0x341711,_0x218c12);},_0x155ce7[_0x3082eb(0x2ff)]=_0xaa0a56=>{var _0x45f231=_0x3082eb,_0x57efab,_0x1b420a;return(_0x1b420a=(_0x57efab=this['_handlerCallback'])==null?void 0x0:_0x57efab[_0x45f231(0x2ff)])==null?void 0x0:_0x1b420a['call'](_0x57efab,_0xaa0a56);},_0x155ce7[_0x3082eb(0x324)]=_0x5b4884=>{var _0x143d10=_0x3082eb,_0x11b091,_0x30626f;return(_0x30626f=(_0x11b091=this[_0x143d10(0x2f2)])==null?void 0x0:_0x11b091['onSyncEditingCollabCursor'])==null?void 0x0:_0x30626f[_0x143d10(0x31e)](_0x11b091,_0x5b4884);},_0x155ce7[_0x3082eb(0x299)]=_0x3ece5f=>{var _0x4cf542=_0x3082eb,_0x2eaa1e,_0x5a693c,_0x760ce3;if(!((_0x2eaa1e=this[_0x4cf542(0x2f2)])!=null&&_0x2eaa1e[_0x4cf542(0x299)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x760ce3=(_0x5a693c=this[_0x4cf542(0x2f2)])==null?void 0x0:_0x5a693c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x760ce3[_0x4cf542(0x31e)](_0x5a693c,_0x3ece5f);},_0x155ce7[_0x3082eb(0x24e)]=_0x58239e=>{var _0x3685c0=_0x3082eb,_0xffd4df,_0x2932ba,_0x468b36;if(!((_0xffd4df=this[_0x3685c0(0x2f2)])!=null&&_0xffd4df['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3685c0(0xe5));return(_0x468b36=(_0x2932ba=this[_0x3685c0(0x2f2)])==null?void 0x0:_0x2932ba[_0x3685c0(0x24e)])==null?void 0x0:_0x468b36[_0x3685c0(0x31e)](_0x2932ba,_0x58239e);},_0x155ce7;}async[_0x4a7741(0x15e)](){var _0x5de459=_0x4a7741;const _0x1c45a8=await super[_0x5de459(0x15e)]();return this[_0x5de459(0x249)](this[_0x5de459(0xd4)]['onCommandExecuted']((_0x83c3ed,_0x5c9c2b)=>{var _0x17dd1a=_0x5de459;if(_0x83c3ed[_0x17dd1a(0x27a)]!==_0x2ace15[_0x17dd1a(0x37f)]||_0x5c9c2b!=null&&_0x5c9c2b[_0x17dd1a(0x1ae)]||_0x5c9c2b!=null&&_0x5c9c2b[_0x17dd1a(0xd9)]||_0x83c3ed['id']===_0x47edee['id'])return;const _0x5c397f=_0x83c3ed[_0x17dd1a(0xc6)];if((_0x5c397f==null?void 0x0:_0x5c397f[_0x17dd1a(0x29d)])!==this[_0x17dd1a(0x19d)])return;const _0x2f6d95=_0x83c3ed,_0x5b9b3c=this['_compressMutationService'][_0x17dd1a(0x19a)][_0x17dd1a(0x333)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x17dd1a(0x16c)])([_0x2f6d95],null)||[_0x2f6d95];this['_onLocalMutation'](_0x5b9b3c[0x0]);})),_0x1c45a8;}};Ct=Mt([k(0x3,_0x33b12a(_0x907b7b)),k(0x4,_0x33b12a(_0x34e033)),k(0x5,_0x33b12a(_0x309f9d)),k(0x6,_0x33b12a(_0x42d2a1)),k(0x7,_0x33b12a(pe)),k(0x8,_0x15afa6),k(0x9,_0xc1c261),k(0xa,_0x5eb1c1),k(0xb,_0x13a27c(_t)),k(0xc,_0x13a27c(X))],Ct);let bt=class extends st{constructor(_0x21ed97,_0x132db5,_0x16b425,_0x47ecdf,_0x2655cb,_0x59b2d7,_0x4fbdef,_0x5cd691,_0x56607f,_0x4f5e2b,_0xab0cbb,_0x2c6195,_0xb7ff14,_0x147037){var _0x22a4b3=_0x4a7741;super(_0x21ed97,_0x16b425,_0x132db5,_0x47ecdf,_0x2655cb,_0x59b2d7,_0x4fbdef,_0x56607f,_0x4f5e2b,_0xab0cbb,_0x2c6195,_0xb7ff14,_0x147037),this[_0x22a4b3(0x19d)]=_0x21ed97,this[_0x22a4b3(0x27a)]=_0x132db5,this['_sheetTransformSelectionsService']=_0x5cd691;}[_0x4a7741(0x1aa)](){var _0x37acf6=_0x4a7741;const _0x4da293=super[_0x37acf6(0x1aa)]();return _0x4da293['onTransformSelections']=_0x24a037=>this[_0x37acf6(0x376)][_0x37acf6(0x259)](_0x24a037),_0x4da293;}async['_init'](){var _0xec3238=_0x4a7741;const _0x48acab=await super[_0xec3238(0x15e)]();return this[_0xec3238(0x249)](this[_0xec3238(0xd4)][_0xec3238(0x315)]((_0x12104c,_0x409e55)=>{var _0x5c4106=_0xec3238;if(_0x12104c['type']!==_0x2ace15[_0x5c4106(0x37f)]||_0x409e55!=null&&_0x409e55['fromCollab']||_0x409e55!=null&&_0x409e55[_0x5c4106(0xd9)])return;const _0x28f7cb=_0x12104c[_0x5c4106(0xc6)];if((_0x28f7cb==null?void 0x0:_0x28f7cb[_0x5c4106(0x29d)])!==this[_0x5c4106(0x19d)])return;const _0x4d1490=_0x12104c,_0x46988b=this[_0x5c4106(0x1dd)]['interceptor'][_0x5c4106(0x333)](this['_compressMutationService'][_0x5c4106(0x19a)][_0x5c4106(0xa2)]()[_0x5c4106(0x16c)])([_0x4d1490],null)||[_0x4d1490];this[_0x5c4106(0x186)](_0x46988b[0x0]);})),_0x48acab;}};bt=Mt([k(0x3,_0x33b12a(_0x907b7b)),k(0x4,_0x33b12a(_0x34e033)),k(0x5,_0x33b12a(_0x309f9d)),k(0x6,_0x33b12a(_0x42d2a1)),k(0x7,_0x33b12a(nt)),k(0x8,_0x33b12a(pe)),k(0x9,_0x15afa6),k(0xa,_0xc1c261),k(0xb,_0x5eb1c1),k(0xc,_0x13a27c(_t)),k(0xd,_0x13a27c(X))],bt);var ys=Object[_0x4a7741(0x1ac)],Os=Object[_0x4a7741(0xf3)],Ps=(_0x28696f,_0x5536a0,_0xd12523,_0x54948d)=>{var _0x2bc7b4=_0x4a7741;for(var _0x3afc91=_0x54948d>0x1?void 0x0:_0x54948d?Os(_0x5536a0,_0xd12523):_0x5536a0,_0x228273=_0x28696f[_0x2bc7b4(0x2f8)]-0x1,_0x3e79fe;_0x228273>=0x0;_0x228273--)(_0x3e79fe=_0x28696f[_0x228273])&&(_0x3afc91=(_0x54948d?_0x3e79fe(_0x5536a0,_0xd12523,_0x3afc91):_0x3e79fe(_0x3afc91))||_0x3afc91);return _0x54948d&&_0x3afc91&&ys(_0x5536a0,_0xd12523,_0x3afc91),_0x3afc91;},vt=(_0x1bc247,_0x17c86e)=>(_0x15acf4,_0x29a94e)=>_0x17c86e(_0x15acf4,_0x29a94e,_0x1bc247);let rt=class extends _0x537d0d{constructor(_0x561763,_0x27e5d8,_0x36cb3c){var _0x2a11a5=_0x4a7741;super(),D(this,_0x2a11a5(0x168),new Map()),D(this,'_entityInit$',new _0x2001de()),D(this,'entityInit$',this['_entityInit$'][_0x2a11a5(0x202)]()),(this[_0x2a11a5(0x2da)]=_0x561763,this[_0x2a11a5(0x100)]=_0x27e5d8,this[_0x2a11a5(0x178)]=_0x36cb3c,this[_0x2a11a5(0x15e)]());}['dispose'](){var _0x5a9f01=_0x4a7741;super[_0x5a9f01(0x293)](),this[_0x5a9f01(0x168)][_0x5a9f01(0x3a5)](_0x865fc8=>_0x865fc8[_0x5a9f01(0x293)]()),this['_entities']['clear']();}[_0x4a7741(0x2cf)](_0x5264c9){var _0x125599=_0x4a7741,_0x2a7043;return(_0x2a7043=this[_0x125599(0x168)][_0x125599(0x21f)](_0x5264c9))!=null?_0x2a7043:null;}[_0x4a7741(0x153)](_0x2e0018){var _0x49697a=_0x4a7741;const _0x577cd5=this[_0x49697a(0x2cf)](_0x2e0018);return _0x577cd5?_0xf8f271(_0x577cd5):this[_0x49697a(0x2d4)][_0x49697a(0x35a)](_0x239d59(_0x1d9e73=>_0x1d9e73['unitID']===_0x2e0018));}[_0x4a7741(0x2e1)](_0xeb220c){var _0x526cb8=_0x4a7741;return _0x15ef6d(this[_0x526cb8(0x153)](_0xeb220c)[_0x526cb8(0x35a)](_0x55950a(()=>{})));}[_0x4a7741(0x15e)](){var _0x363349=_0x4a7741;this[_0x363349(0x178)][_0x363349(0xab)](_0x2adb8a[_0x363349(0x19f)])[_0x363349(0x35a)](_0x1d894f(this[_0x363349(0x2e9)]),_0x4401d9(0x10))[_0x363349(0x1ba)](async _0x4409df=>{var _0x52bdc4=_0x363349;const _0x7d299a=_0x4409df[_0x52bdc4(0x2a4)](),_0x3be6f8=await this[_0x52bdc4(0x167)](_0x7d299a,Q['UNIVER_SHEET']);this[_0x52bdc4(0x168)]['set'](_0x7d299a,_0x3be6f8);}),this[_0x363349(0x178)][_0x363349(0xab)](_0x2adb8a[_0x363349(0x31a)])['pipe'](_0x1d894f(this[_0x363349(0x2e9)]),_0x4401d9(0x10))['pipe'](_0x239d59(_0x251c79=>!_0x251c79[_0x363349(0x2a4)]()[_0x363349(0x394)]('__')))[_0x363349(0x1ba)](async _0xd60385=>{var _0xaac7ad=_0x363349;const _0x814686=_0xd60385[_0xaac7ad(0x2a4)](),_0x1034cb=await this['_startCollaboration'](_0x814686,Q[_0xaac7ad(0x31a)]);this[_0xaac7ad(0x168)]['set'](_0x814686,_0x1034cb);}),_0x142a02(this[_0x363349(0x178)]['getTypeOfUnitDisposed$'](_0x2adb8a[_0x363349(0x19f)]),this[_0x363349(0x178)]['getTypeOfUnitDisposed$'](_0x2adb8a['UNIVER_DOC']))[_0x363349(0x35a)](_0x1d894f(this['dispose$']))[_0x363349(0x1ba)](_0x5cbcf7=>{var _0x17ed24=_0x363349;const _0x53fb47=_0x5cbcf7['getUnitId'](),_0x14b400=this[_0x17ed24(0x168)]['get'](_0x53fb47);_0x14b400&&(_0x14b400['dispose'](),this['_entities'][_0x17ed24(0x2ea)](_0x53fb47));});}async[_0x4a7741(0x167)](_0x49e5a6,_0x6946ce){var _0x98b634=_0x4a7741;const _0x191e99=await this[_0x98b634(0x100)][_0x98b634(0x2a3)](_0x49e5a6),_0x4fb375=this[_0x98b634(0x2da)][_0x98b634(0x26e)](this[_0x98b634(0x25f)](_0x6946ce),_0x49e5a6,_0x6946ce,_0x191e99);return await _0x4fb375[_0x98b634(0x2b8)](),this[_0x98b634(0x2d4)][_0x98b634(0x2c1)](_0x4fb375),_0x4fb375;}[_0x4a7741(0x25f)](_0x2c26db){var _0x2878e1=_0x4a7741;switch(_0x2c26db){case Q[_0x2878e1(0x31a)]:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2c26db);}}};rt=Ps([vt(0x0,_0x33b12a(_0x907b7b)),vt(0x1,_0x33b12a(Me)),vt(0x2,_0x249ac8)],rt);var Ns=Object[_0x4a7741(0x1ac)],Ds=Object[_0x4a7741(0xf3)],ws=(_0x328afe,_0x4e1464,_0x203964,_0x3104ce)=>{var _0x2c5ed1=_0x4a7741;for(var _0x30e9a7=_0x3104ce>0x1?void 0x0:_0x3104ce?Ds(_0x4e1464,_0x203964):_0x4e1464,_0x322d28=_0x328afe[_0x2c5ed1(0x2f8)]-0x1,_0x557e51;_0x322d28>=0x0;_0x322d28--)(_0x557e51=_0x328afe[_0x322d28])&&(_0x30e9a7=(_0x3104ce?_0x557e51(_0x4e1464,_0x203964,_0x30e9a7):_0x557e51(_0x30e9a7))||_0x30e9a7);return _0x3104ce&&_0x30e9a7&&Ns(_0x4e1464,_0x203964,_0x30e9a7),_0x30e9a7;},Xt=(_0x498a61,_0xe1144e)=>(_0x32d9d7,_0x52a810)=>_0xe1144e(_0x32d9d7,_0x52a810,_0x498a61);const Us=_0x4a7741(0x1a9),As=_0x4a7741(0xd6);let Rt=class extends _0x3af27e{constructor(_0x5e15d,_0x2d3881){var _0x3db6c5=_0x4a7741;super(),this['_univerInstanceService']=_0x5e15d,this[_0x3db6c5(0x321)]=_0x2d3881,this[_0x3db6c5(0x15e)]();}[_0x4a7741(0x15e)](){var _0x37aa07=_0x4a7741;this['disposeWithMe'](this[_0x37aa07(0x178)][_0x37aa07(0x359)][_0x37aa07(0x1ba)](()=>{var _0x38aed9=_0x37aa07,_0x9013c4;const _0xe73eb9=this[_0x38aed9(0x178)][_0x38aed9(0x1b4)]();let _0x12de42=(_0x9013c4=this[_0x38aed9(0x321)]['getConfig'](Us))!=null?_0x9013c4:As;_0xe73eb9 instanceof _0x5aa39c&&(_0x12de42=_0xe73eb9[_0x38aed9(0xb6)]),document[_0x38aed9(0x17f)]=_0x12de42;}));}};Rt=ws([Xt(0x0,_0x249ac8),Xt(0x1,_0x243586)],Rt);var xs=Object['defineProperty'],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x3abb1a,_0x462514,_0x3cde08,_0x40be10)=>{var _0x38e753=_0x4a7741;for(var _0x3f8192=_0x40be10>0x1?void 0x0:_0x40be10?Ls(_0x462514,_0x3cde08):_0x462514,_0x224b52=_0x3abb1a[_0x38e753(0x2f8)]-0x1,_0x194456;_0x224b52>=0x0;_0x224b52--)(_0x194456=_0x3abb1a[_0x224b52])&&(_0x3f8192=(_0x40be10?_0x194456(_0x462514,_0x3cde08,_0x3f8192):_0x194456(_0x3f8192))||_0x3f8192);return _0x40be10&&_0x3f8192&&xs(_0x462514,_0x3cde08,_0x3f8192),_0x3f8192;},pt=(_0x3f78a0,_0x5f02ce)=>(_0x1ed675,_0x4271d3)=>_0x5f02ce(_0x1ed675,_0x4271d3,_0x3f78a0);let ot=class{constructor(_0x33ad91,_0x3ac040,_0x43ef8a){var _0xbcdfe9=_0x4a7741;this['_configService']=_0x33ad91,this[_0xbcdfe9(0x28b)]=_0x3ac040,this[_0xbcdfe9(0x196)]=_0x43ef8a,this[_0xbcdfe9(0x2b8)]();}['init'](){var _0x594724=_0x4a7741;this['_httpService'][_0x594724(0x361)]({'priority':0x1,'interceptor':(_0x1df3f2,_0x32a258)=>_0x32a258(_0x1df3f2)['pipe'](_0x412d92(async _0x31b7ab=>{var _0x42fab6=_0x594724;const _0x2e6165=_0x31b7ab;if(_0x2e6165[_0x42fab6(0x1ce)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x42fab6(0x196)]['t'](_0x42fab6(0x2c8)))){const _0xa325b8=window[_0x42fab6(0x134)](window['location']['href']);window[_0x42fab6(0xbb)]['href']=this[_0x42fab6(0x138)]()+_0x42fab6(0x2fe)+_0xa325b8;}}return _0x2e6165;}))});}[_0x4a7741(0x138)](){var _0x1755c8=_0x4a7741,_0x5e2f96,_0x1cb086;const _0x314390=this['_configService']['getConfig'](Fn),_0x3e1194=this[_0x1755c8(0x321)][_0x1755c8(0x399)](Y);return(_0x1cb086=(_0x5e2f96=_0x3e1194==null?void 0x0:_0x3e1194['loginUrlKey'])!=null?_0x5e2f96:_0x314390)!=null?_0x1cb086:Vn;}};ot=Ms([pt(0x0,_0x243586),pt(0x1,_0x33b12a(_0x23500e)),pt(0x2,_0x33b12a(_0x309f9d))],ot);var $s=Object[_0x4a7741(0x1ac)],Hs=Object[_0x4a7741(0xf3)],ks=(_0x14b674,_0x4838b0,_0x51635a,_0x36dfb1)=>{var _0x381022=_0x4a7741;for(var _0x901294=_0x36dfb1>0x1?void 0x0:_0x36dfb1?Hs(_0x4838b0,_0x51635a):_0x4838b0,_0x4fb620=_0x14b674[_0x381022(0x2f8)]-0x1,_0x651d86;_0x4fb620>=0x0;_0x4fb620--)(_0x651d86=_0x14b674[_0x4fb620])&&(_0x901294=(_0x36dfb1?_0x651d86(_0x4838b0,_0x51635a,_0x901294):_0x651d86(_0x901294))||_0x901294);return _0x36dfb1&&_0x901294&&$s(_0x4838b0,_0x51635a,_0x901294),_0x901294;},Zt=(_0x20b9dc,_0x5c8859)=>(_0x1444b8,_0x3f60cd)=>_0x5c8859(_0x1444b8,_0x3f60cd,_0x20b9dc);const Di='AUTHZ_URL_KEY',js='/universer-api/authz';let yt=class extends _0x3af27e{constructor(_0x1054b9,_0x17bb29){var _0x5b9119=_0x4a7741;super(),this[_0x5b9119(0x30d)]=_0x1054b9,this[_0x5b9119(0x321)]=_0x17bb29,this['_initMergeInterceptor']();}[_0x4a7741(0x232)](){var _0x2b40c3=_0x4a7741;const _0x545ac2=this;this[_0x2b40c3(0x249)](this[_0x2b40c3(0x30d)][_0x2b40c3(0x361)]({'priority':0x3e7,'interceptor':_0x25966a({'isMatch'(_0x52a274){var _0x4d1c40=_0x2b40c3,_0x5e49df;if(_0x52a274[_0x4d1c40(0x279)]===_0x4d1c40(0x339)&&((_0x5e49df=_0x52a274[_0x4d1c40(0x2f9)])!=null&&_0x5e49df[_0x4d1c40(0x157)])){const {objectID:_0x212f31,objectType:_0x54d048}=_0x52a274[_0x4d1c40(0x2f9)][_0x4d1c40(0x157)]||{};if(!_0x212f31||_0x54d048===void 0x0)return!0x1;const _0x2fae07=_0x545ac2[_0x4d1c40(0xcd)]()+'/'+_0x54d048+'/object/'+_0x212f31+_0x4d1c40(0x261);if(_0x52a274[_0x4d1c40(0x24f)]===_0x2fae07)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x206123){var _0x77e7c4=_0x2b40c3,_0x413df9;return(_0x413df9=_0x206123[_0x77e7c4(0x2f9)])==null?void 0x0:_0x413df9['body'];},'mergeParamsToRequest'(_0x40b99c,_0x40404a){var _0x4b4262=_0x2b40c3;const _0x2b611a=_0x545ac2[_0x4b4262(0xcd)]()+_0x4b4262(0x29b),_0x4d18bf=_0x40b99c[_0x4b4262(0x364)]((_0x4edc57,_0x5b5f96)=>{var _0xc78b37=_0x4b4262;const {unitID:_0x1145be,objectID:_0x571493,objectType:_0x303314,actions:_0x5bf378}=_0x5b5f96;return _0x4edc57[_0x1145be]||(_0x4edc57[_0x1145be]={}),_0x4edc57[_0x1145be][_0x571493]||(_0x4edc57[_0x1145be][_0x571493]={'objectID':_0x571493,'objectType':_0x303314,'actions':[]}),_0x4edc57[_0x1145be][_0x571493]['actions'][_0xc78b37(0xef)](..._0x5bf378),_0x4edc57;},{}),_0x3530b1=[];for(const _0x120ebb in _0x4d18bf)for(const _0x1f54fe in _0x4d18bf[_0x120ebb]){const {actions:_0x10d202,objectType:_0x35b5ce}=_0x4d18bf[_0x120ebb][_0x1f54fe],_0x31b6a1=[...new Set(_0x10d202)];_0x3530b1[_0x4b4262(0xef)]({'unitID':_0x120ebb,'objectID':_0x1f54fe,'objectType':_0x35b5ce,'actions':_0x31b6a1});}return new _0x39b5d6(_0x4b4262(0x339),_0x2b611a,{'headers':_0x40404a[_0x4b4262(0x18a)],'withCredentials':_0x40404a[_0x4b4262(0x2db)],'responseType':_0x40404a['responseType'],'body':{'requests':_0x3530b1}});}},{'distributeResult'(_0xbedc7e,_0x2ede26){const {objectActions:_0xd27035}=_0xbedc7e;return _0x2ede26['map'](_0x3c668b=>{var _0x53c0c5=_0xda85;const {unitID:_0x1ff151,objectID:_0x4d953d,actions:_0x148d18}=_0x3c668b,_0x2fa783=_0xd27035[_0x53c0c5(0x1f5)](_0x58da8e=>_0x58da8e[_0x53c0c5(0x19d)]===_0x1ff151&&_0x58da8e[_0x53c0c5(0x246)]===_0x4d953d),_0x599ee2=_0x148d18[_0x53c0c5(0x373)](_0x30af76=>_0x2fa783==null?void 0x0:_0x2fa783[_0x53c0c5(0x360)]['find'](_0x1eef5b=>_0x1eef5b['action']===_0x30af76))[_0x53c0c5(0x2cd)](_0x2a0605=>!!_0x2a0605);return{'config':_0x3c668b,'result':{'actions':_0x599ee2,'error':_0xbedc7e['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3faf12=_0x4a7741,_0x26d4db,_0x5572d5;const _0x3f95af=this['_configService'][_0x3faf12(0x399)](Di),_0x4ab2a0=this[_0x3faf12(0x321)][_0x3faf12(0x399)](Y);return(_0x5572d5=(_0x26d4db=_0x4ab2a0==null?void 0x0:_0x4ab2a0[_0x3faf12(0x398)])!=null?_0x26d4db:_0x3f95af)!=null?_0x5572d5:js;}async[_0x4a7741(0x1d7)](_0xd0b912){var _0x257aa4=_0x4a7741;const _0x7bce53=this[_0x257aa4(0xcd)]()+'/'+_0xd0b912['objectType']+'/object';return(await this[_0x257aa4(0x30d)][_0x257aa4(0x27e)](_0x7bce53,{'body':_0xd0b912}))[_0x257aa4(0x157)]['objectID']||'';}async[_0x4a7741(0x365)](_0xaab861){var _0x54505b=_0x4a7741;const _0x20b5f0=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService']['post'](_0x20b5f0,{'body':_0xaab861}))[_0x54505b(0x157)][_0x54505b(0x215)];}async[_0x4a7741(0xd3)](_0x4f94d0){var _0x4e6cdf=_0x4a7741;const _0x59dceb=this[_0x4e6cdf(0xcd)]()+'/'+_0x4f94d0[_0x4e6cdf(0x2f3)]+_0x4e6cdf(0x214)+_0x4f94d0[_0x4e6cdf(0x246)];await this[_0x4e6cdf(0x30d)][_0x4e6cdf(0x2c7)](_0x59dceb,{'body':_0x4f94d0});}async[_0x4a7741(0x128)](_0x2c9aa6){var _0x1f8190=_0x4a7741;const _0x4bbd25=this['_getAPIPrefixPath']()+'/'+_0x2c9aa6[_0x1f8190(0x2f3)]+_0x1f8190(0x214)+_0x2c9aa6[_0x1f8190(0x246)]+'/allowed';return(await this[_0x1f8190(0x30d)]['post'](_0x4bbd25,{'body':_0x2c9aa6}))[_0x1f8190(0x157)][_0x1f8190(0x360)];}async[_0x4a7741(0x220)](_0x3014ac){var _0x27a6b4=_0x4a7741;const _0x3dca91=this['_getAPIPrefixPath']()+_0x27a6b4(0x29b);return(await this[_0x27a6b4(0x30d)]['post'](_0x3dca91,{'body':{'requests':_0x3014ac}}))[_0x27a6b4(0x157)]['objectActions'];}async[_0x4a7741(0x37a)](_0x184f18){var _0x2a224b=_0x4a7741;const _0x8e9542=this['_getAPIPrefixPath']()+'/'+_0x184f18[_0x2a224b(0x2f3)]+_0x2a224b(0x241),_0x59b167=await this[_0x2a224b(0x30d)][_0x2a224b(0x27e)](_0x8e9542,{'body':_0x184f18});return{'roles':_0x59b167[_0x2a224b(0x157)]['roles'],'actions':_0x59b167[_0x2a224b(0x157)][_0x2a224b(0x360)]};}async[_0x4a7741(0x2a2)](_0x31a529){var _0x28c17f=_0x4a7741;const _0x5cf804=this[_0x28c17f(0xcd)]()+'/collaborator';await this[_0x28c17f(0x30d)][_0x28c17f(0x2ea)](_0x5cf804,{'params':{'collaboratorID':_0x31a529[_0x28c17f(0x39d)],'objectID':_0x31a529['objectID'],'unitID':_0x31a529[_0x28c17f(0x19d)]}});}async[_0x4a7741(0x19c)](_0x21fc31){var _0x25723e=_0x4a7741;const _0x4cd681=this[_0x25723e(0xcd)]()+_0x25723e(0x11c);await this[_0x25723e(0x30d)][_0x25723e(0x115)](_0x4cd681,{'body':_0x21fc31});}async[_0x4a7741(0x287)](_0x2b1525){var _0x222993=_0x4a7741;const _0x3fa6a4=this[_0x222993(0xcd)]()+_0x222993(0x11c);await this[_0x222993(0x30d)]['post'](_0x3fa6a4,{'body':_0x2b1525});}async[_0x4a7741(0x29e)](_0x55e72b){var _0x3c80c7=_0x4a7741;const _0x56e5fb=this[_0x3c80c7(0xcd)]()+_0x3c80c7(0x11c);return(await this[_0x3c80c7(0x30d)][_0x3c80c7(0x21f)](_0x56e5fb,{'params':{'objectID':_0x55e72b[_0x3c80c7(0x246)],'unitID':_0x55e72b[_0x3c80c7(0x19d)]}}))['body'][_0x3c80c7(0x20e)];}async['putCollaborators'](_0x4932d9){var _0x5c4185=_0x4a7741;const _0x1975ab=this[_0x5c4185(0xcd)]()+_0x5c4185(0x11c);await this['_HTTPService'][_0x5c4185(0x2c7)](_0x1975ab,{'body':_0x4932d9});}};yt=ks([Zt(0x0,_0x33b12a(_0x23500e)),Zt(0x1,_0x33b12a(_0x243586))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x447204){var _0x57abe2=_0x4a7741;return _0x447204&&_0x447204['__esModule']&&Object[_0x57abe2(0x1ec)][_0x57abe2(0x1ee)][_0x57abe2(0x31e)](_0x447204,_0x57abe2(0x2d5))?_0x447204[_0x57abe2(0x2d5)]:_0x447204;}var We={'exports':{}};function Bs(_0x103446){var _0x10892f=_0x4a7741;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x103446+_0x10892f(0xb8));}var Ge={'exports':{}},Fs=Ge[_0x4a7741(0xda)],Qt;function ne(){var _0x1ada41=_0x4a7741;return Qt||(Qt=0x1,function(_0x5f1b25,_0xffa35b){(function(_0x3fac74,_0x3c5e26){var _0x44c534=_0xda85;_0x5f1b25[_0x44c534(0xda)]=_0x3c5e26();}(Fs,function(){var _0x582196=_0x582196||function(_0xc1ae89,_0x38915c){var _0x4e6aba=_0xda85,_0x5461d8;if(typeof window<'u'&&window[_0x4e6aba(0x35b)]&&(_0x5461d8=window['crypto']),typeof self<'u'&&self[_0x4e6aba(0x35b)]&&(_0x5461d8=self[_0x4e6aba(0x35b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5461d8=globalThis[_0x4e6aba(0x35b)]),!_0x5461d8&&typeof window<'u'&&window['msCrypto']&&(_0x5461d8=window[_0x4e6aba(0x26a)]),!_0x5461d8&&typeof mt<'u'&&mt[_0x4e6aba(0x35b)]&&(_0x5461d8=mt[_0x4e6aba(0x35b)]),!_0x5461d8&&typeof Bs==_0x4e6aba(0x156))try{_0x5461d8=require(_0x4e6aba(0x35b));}catch{}var _0x520103=function(){var _0x7c56e3=_0x4e6aba;if(_0x5461d8){if(typeof _0x5461d8[_0x7c56e3(0x248)]==_0x7c56e3(0x156))try{return _0x5461d8[_0x7c56e3(0x248)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5461d8[_0x7c56e3(0xf4)]==_0x7c56e3(0x156))try{return _0x5461d8['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x7c56e3(0x341));},_0x3dea77=Object[_0x4e6aba(0x1d7)]||(function(){function _0x7e3af0(){}return function(_0x20b921){var _0x3ac24e=_0xda85,_0x1fcef8;return _0x7e3af0[_0x3ac24e(0x1ec)]=_0x20b921,_0x1fcef8=new _0x7e3af0(),_0x7e3af0['prototype']=null,_0x1fcef8;};}()),_0x45e85c={},_0x5e7c45=_0x45e85c[_0x4e6aba(0x2d0)]={},_0x45151f=_0x5e7c45[_0x4e6aba(0x15a)]=(function(){return{'extend':function(_0xf0e898){var _0x21ee26=_0xda85,_0x5b7078=_0x3dea77(this);return _0xf0e898&&_0x5b7078['mixIn'](_0xf0e898),(!_0x5b7078[_0x21ee26(0x1ee)](_0x21ee26(0x2b8))||this[_0x21ee26(0x2b8)]===_0x5b7078[_0x21ee26(0x2b8)])&&(_0x5b7078[_0x21ee26(0x2b8)]=function(){var _0x249df4=_0x21ee26;_0x5b7078['$super'][_0x249df4(0x2b8)][_0x249df4(0x2c2)](this,arguments);}),_0x5b7078[_0x21ee26(0x2b8)][_0x21ee26(0x1ec)]=_0x5b7078,_0x5b7078['$super']=this,_0x5b7078;},'create':function(){var _0x90a9f9=_0xda85,_0x244093=this[_0x90a9f9(0x227)]();return _0x244093[_0x90a9f9(0x2b8)][_0x90a9f9(0x2c2)](_0x244093,arguments),_0x244093;},'init':function(){},'mixIn':function(_0x458d0a){var _0x4f68c2=_0xda85;for(var _0x109bd1 in _0x458d0a)_0x458d0a['hasOwnProperty'](_0x109bd1)&&(this[_0x109bd1]=_0x458d0a[_0x109bd1]);_0x458d0a[_0x4f68c2(0x1ee)](_0x4f68c2(0x2d3))&&(this[_0x4f68c2(0x2d3)]=_0x458d0a[_0x4f68c2(0x2d3)]);},'clone':function(){var _0x55ebd7=_0xda85;return this[_0x55ebd7(0x2b8)][_0x55ebd7(0x1ec)][_0x55ebd7(0x227)](this);}};}()),_0x151909=_0x5e7c45['WordArray']=_0x45151f[_0x4e6aba(0x227)]({'init':function(_0x26dbd5,_0xb9f2db){var _0xcfd1e9=_0x4e6aba;_0x26dbd5=this[_0xcfd1e9(0x169)]=_0x26dbd5||[],_0xb9f2db!=_0x38915c?this['sigBytes']=_0xb9f2db:this['sigBytes']=_0x26dbd5['length']*0x4;},'toString':function(_0x248ab7){var _0x329543=_0x4e6aba;return(_0x248ab7||_0x42df5e)[_0x329543(0x32d)](this);},'concat':function(_0x57043b){var _0x136053=_0x4e6aba,_0x337999=this[_0x136053(0x169)],_0x2483a3=_0x57043b[_0x136053(0x169)],_0x945f54=this[_0x136053(0x1cf)],_0xb2460a=_0x57043b[_0x136053(0x1cf)];if(this['clamp'](),_0x945f54%0x4)for(var _0x252735=0x0;_0x252735<_0xb2460a;_0x252735++){var _0x159c5f=_0x2483a3[_0x252735>>>0x2]>>>0x18-_0x252735%0x4*0x8&0xff;_0x337999[_0x945f54+_0x252735>>>0x2]|=_0x159c5f<<0x18-(_0x945f54+_0x252735)%0x4*0x8;}else{for(var _0x5e23b7=0x0;_0x5e23b7<_0xb2460a;_0x5e23b7+=0x4)_0x337999[_0x945f54+_0x5e23b7>>>0x2]=_0x2483a3[_0x5e23b7>>>0x2];}return this[_0x136053(0x1cf)]+=_0xb2460a,this;},'clamp':function(){var _0x35e77b=_0x4e6aba,_0x51afdd=this[_0x35e77b(0x169)],_0x373ee6=this[_0x35e77b(0x1cf)];_0x51afdd[_0x373ee6>>>0x2]&=0xffffffff<<0x20-_0x373ee6%0x4*0x8,_0x51afdd[_0x35e77b(0x2f8)]=_0xc1ae89[_0x35e77b(0x226)](_0x373ee6/0x4);},'clone':function(){var _0x54d968=_0x4e6aba,_0x40bff6=_0x45151f[_0x54d968(0x3a1)]['call'](this);return _0x40bff6['words']=this['words'][_0x54d968(0x3a7)](0x0),_0x40bff6;},'random':function(_0xd3785e){var _0x583211=_0x4e6aba;for(var _0x48d30a=[],_0x261bce=0x0;_0x261bce<_0xd3785e;_0x261bce+=0x4)_0x48d30a[_0x583211(0xef)](_0x520103());return new _0x151909[(_0x583211(0x2b8))](_0x48d30a,_0xd3785e);}}),_0x5880cf=_0x45e85c['enc']={},_0x42df5e=_0x5880cf[_0x4e6aba(0x2b2)]={'stringify':function(_0x4e9c14){var _0x1b8b9a=_0x4e6aba;for(var _0xd32e02=_0x4e9c14[_0x1b8b9a(0x169)],_0x96347d=_0x4e9c14[_0x1b8b9a(0x1cf)],_0x444a9e=[],_0x28a75f=0x0;_0x28a75f<_0x96347d;_0x28a75f++){var _0x30a0ea=_0xd32e02[_0x28a75f>>>0x2]>>>0x18-_0x28a75f%0x4*0x8&0xff;_0x444a9e[_0x1b8b9a(0xef)]((_0x30a0ea>>>0x4)[_0x1b8b9a(0x2d3)](0x10)),_0x444a9e['push']((_0x30a0ea&0xf)[_0x1b8b9a(0x2d3)](0x10));}return _0x444a9e[_0x1b8b9a(0x385)]('');},'parse':function(_0x5c459e){var _0x58d34c=_0x4e6aba;for(var _0x37b6aa=_0x5c459e[_0x58d34c(0x2f8)],_0x390689=[],_0x3d3a3b=0x0;_0x3d3a3b<_0x37b6aa;_0x3d3a3b+=0x2)_0x390689[_0x3d3a3b>>>0x3]|=parseInt(_0x5c459e[_0x58d34c(0x271)](_0x3d3a3b,0x2),0x10)<<0x18-_0x3d3a3b%0x8*0x4;return new _0x151909[(_0x58d34c(0x2b8))](_0x390689,_0x37b6aa/0x2);}},_0x459e1b=_0x5880cf[_0x4e6aba(0x132)]={'stringify':function(_0x442919){var _0x5ec555=_0x4e6aba;for(var _0x14eec0=_0x442919[_0x5ec555(0x169)],_0x47da64=_0x442919[_0x5ec555(0x1cf)],_0xeb8678=[],_0x41ceaf=0x0;_0x41ceaf<_0x47da64;_0x41ceaf++){var _0x1f72e5=_0x14eec0[_0x41ceaf>>>0x2]>>>0x18-_0x41ceaf%0x4*0x8&0xff;_0xeb8678[_0x5ec555(0xef)](String[_0x5ec555(0x174)](_0x1f72e5));}return _0xeb8678[_0x5ec555(0x385)]('');},'parse':function(_0x2b231c){var _0x5d6b30=_0x4e6aba;for(var _0x49e203=_0x2b231c[_0x5d6b30(0x2f8)],_0x3768f7=[],_0xb842ce=0x0;_0xb842ce<_0x49e203;_0xb842ce++)_0x3768f7[_0xb842ce>>>0x2]|=(_0x2b231c[_0x5d6b30(0x233)](_0xb842ce)&0xff)<<0x18-_0xb842ce%0x4*0x8;return new _0x151909[(_0x5d6b30(0x2b8))](_0x3768f7,_0x49e203);}},_0x34ef53=_0x5880cf[_0x4e6aba(0x21a)]={'stringify':function(_0x369a17){var _0x3de96b=_0x4e6aba;try{return decodeURIComponent(escape(_0x459e1b[_0x3de96b(0x32d)](_0x369a17)));}catch{throw new Error(_0x3de96b(0x1c6));}},'parse':function(_0x33e75e){var _0x20db96=_0x4e6aba;return _0x459e1b[_0x20db96(0xd5)](unescape(encodeURIComponent(_0x33e75e)));}},_0x1571f9=_0x5e7c45[_0x4e6aba(0x18f)]=_0x45151f[_0x4e6aba(0x227)]({'reset':function(){var _0xb13e92=_0x4e6aba;this['_data']=new _0x151909[(_0xb13e92(0x2b8))](),this[_0xb13e92(0x24d)]=0x0;},'_append':function(_0x1062f3){var _0x20ba2e=_0x4e6aba;typeof _0x1062f3==_0x20ba2e(0x9b)&&(_0x1062f3=_0x34ef53[_0x20ba2e(0xd5)](_0x1062f3)),this[_0x20ba2e(0x380)][_0x20ba2e(0x105)](_0x1062f3),this[_0x20ba2e(0x24d)]+=_0x1062f3['sigBytes'];},'_process':function(_0x18791a){var _0x212c9f=_0x4e6aba,_0x22a2fb,_0x232c6f=this[_0x212c9f(0x380)],_0x2bc341=_0x232c6f['words'],_0x51fd90=_0x232c6f[_0x212c9f(0x1cf)],_0x2c4afa=this['blockSize'],_0x95b58e=_0x2c4afa*0x4,_0x1e243d=_0x51fd90/_0x95b58e;_0x18791a?_0x1e243d=_0xc1ae89['ceil'](_0x1e243d):_0x1e243d=_0xc1ae89[_0x212c9f(0x107)]((_0x1e243d|0x0)-this[_0x212c9f(0xe9)],0x0);var _0xb9a904=_0x1e243d*_0x2c4afa,_0x2e5379=_0xc1ae89[_0x212c9f(0x3a8)](_0xb9a904*0x4,_0x51fd90);if(_0xb9a904){for(var _0x1f06c1=0x0;_0x1f06c1<_0xb9a904;_0x1f06c1+=_0x2c4afa)this['_doProcessBlock'](_0x2bc341,_0x1f06c1);_0x22a2fb=_0x2bc341['splice'](0x0,_0xb9a904),_0x232c6f[_0x212c9f(0x1cf)]-=_0x2e5379;}return new _0x151909[(_0x212c9f(0x2b8))](_0x22a2fb,_0x2e5379);},'clone':function(){var _0x170e56=_0x4e6aba,_0xbea594=_0x45151f['clone'][_0x170e56(0x31e)](this);return _0xbea594[_0x170e56(0x380)]=this['_data']['clone'](),_0xbea594;},'_minBufferSize':0x0});_0x5e7c45[_0x4e6aba(0x304)]=_0x1571f9[_0x4e6aba(0x227)]({'cfg':_0x45151f[_0x4e6aba(0x227)](),'init':function(_0x371403){var _0x1d4f56=_0x4e6aba;this[_0x1d4f56(0xce)]=this[_0x1d4f56(0xce)][_0x1d4f56(0x227)](_0x371403),this[_0x1d4f56(0xf9)]();},'reset':function(){var _0x3bc515=_0x4e6aba;_0x1571f9['reset'][_0x3bc515(0x31e)](this),this['_doReset']();},'update':function(_0x3d5c8a){var _0x44b9da=_0x4e6aba;return this[_0x44b9da(0x276)](_0x3d5c8a),this[_0x44b9da(0x14b)](),this;},'finalize':function(_0x1ffd4f){var _0x43a4a7=_0x4e6aba;_0x1ffd4f&&this[_0x43a4a7(0x276)](_0x1ffd4f);var _0x4e1491=this[_0x43a4a7(0x20b)]();return _0x4e1491;},'blockSize':0x10,'_createHelper':function(_0x270e0f){return function(_0x47a586,_0x90bb0d){var _0x7e642b=_0xda85;return new _0x270e0f['init'](_0x90bb0d)[_0x7e642b(0x1a2)](_0x47a586);};},'_createHmacHelper':function(_0x16b730){return function(_0x4652a9,_0x2e8cba){var _0x50722a=_0xda85;return new _0x11cfd9[(_0x50722a(0x3a6))]['init'](_0x16b730,_0x2e8cba)[_0x50722a(0x1a2)](_0x4652a9);};}});var _0x11cfd9=_0x45e85c['algo']={};return _0x45e85c;}(Math);return _0x582196;}));}(Ge)),Ge[_0x1ada41(0xda)];}var Ke={'exports':{}},Vs=Ke[_0x4a7741(0xda)],ei;function wi(){var _0x143519=_0x4a7741;return ei||(ei=0x1,function(_0x157e75,_0x4f356d){(function(_0xeedbb9,_0x3dd494){var _0x1b7531=_0xda85;_0x157e75[_0x1b7531(0xda)]=_0x3dd494(ne());}(Vs,function(_0x23bbc5){var _0x336dbe=_0xda85;return(function(){var _0x41b0ec=_0xda85,_0x20e214=_0x23bbc5,_0x431449=_0x20e214[_0x41b0ec(0x2d0)],_0x43dd29=_0x431449['WordArray'],_0xbf3c5d=_0x20e214[_0x41b0ec(0x27d)];_0xbf3c5d[_0x41b0ec(0x148)]={'stringify':function(_0x406c12){var _0x2b2b1d=_0x41b0ec,_0x22f2f2=_0x406c12[_0x2b2b1d(0x169)],_0x5d7546=_0x406c12['sigBytes'],_0x45fdbe=this['_map'];_0x406c12[_0x2b2b1d(0x334)]();for(var _0x3862f5=[],_0x36c954=0x0;_0x36c954<_0x5d7546;_0x36c954+=0x3)for(var _0x57d196=_0x22f2f2[_0x36c954>>>0x2]>>>0x18-_0x36c954%0x4*0x8&0xff,_0x1cc904=_0x22f2f2[_0x36c954+0x1>>>0x2]>>>0x18-(_0x36c954+0x1)%0x4*0x8&0xff,_0x238ed2=_0x22f2f2[_0x36c954+0x2>>>0x2]>>>0x18-(_0x36c954+0x2)%0x4*0x8&0xff,_0xae1a6a=_0x57d196<<0x10|_0x1cc904<<0x8|_0x238ed2,_0x2eb286=0x0;_0x2eb286<0x4&&_0x36c954+_0x2eb286*0.75<_0x5d7546;_0x2eb286++)_0x3862f5[_0x2b2b1d(0xef)](_0x45fdbe[_0x2b2b1d(0x1e1)](_0xae1a6a>>>0x6*(0x3-_0x2eb286)&0x3f));var _0x5d7d05=_0x45fdbe[_0x2b2b1d(0x1e1)](0x40);if(_0x5d7d05){for(;_0x3862f5[_0x2b2b1d(0x2f8)]%0x4;)_0x3862f5['push'](_0x5d7d05);}return _0x3862f5[_0x2b2b1d(0x385)]('');},'parse':function(_0x4ae0a4){var _0x1cadda=_0x41b0ec,_0x453340=_0x4ae0a4[_0x1cadda(0x2f8)],_0x5bc142=this[_0x1cadda(0x250)],_0x294873=this[_0x1cadda(0x98)];if(!_0x294873){_0x294873=this[_0x1cadda(0x98)]=[];for(var _0x5b8337=0x0;_0x5b8337<_0x5bc142[_0x1cadda(0x2f8)];_0x5b8337++)_0x294873[_0x5bc142[_0x1cadda(0x233)](_0x5b8337)]=_0x5b8337;}var _0x4517cb=_0x5bc142['charAt'](0x40);if(_0x4517cb){var _0x39f381=_0x4ae0a4[_0x1cadda(0x146)](_0x4517cb);_0x39f381!==-0x1&&(_0x453340=_0x39f381);}return _0x45b05b(_0x4ae0a4,_0x453340,_0x294873);},'_map':_0x41b0ec(0x1f9)};function _0x45b05b(_0x44592d,_0x31ecb7,_0x3af2e4){var _0x42a14e=_0x41b0ec;for(var _0x47f2e0=[],_0x457089=0x0,_0x2eed60=0x0;_0x2eed60<_0x31ecb7;_0x2eed60++)if(_0x2eed60%0x4){var _0x318535=_0x3af2e4[_0x44592d[_0x42a14e(0x233)](_0x2eed60-0x1)]<<_0x2eed60%0x4*0x2,_0x1305f7=_0x3af2e4[_0x44592d[_0x42a14e(0x233)](_0x2eed60)]>>>0x6-_0x2eed60%0x4*0x2,_0x4a2f12=_0x318535|_0x1305f7;_0x47f2e0[_0x457089>>>0x2]|=_0x4a2f12<<0x18-_0x457089%0x4*0x8,_0x457089++;}return _0x43dd29[_0x42a14e(0x1d7)](_0x47f2e0,_0x457089);}}()),_0x23bbc5[_0x336dbe(0x27d)][_0x336dbe(0x148)];}));}(Ke)),Ke[_0x143519(0xda)];}var ze={'exports':{}},Ws=ze[_0x4a7741(0xda)],ti;function Gs(){return ti||(ti=0x1,function(_0x34d0db,_0x175c2b){(function(_0x1e51b4,_0x1d795d){var _0x9e82d2=_0xda85;_0x34d0db[_0x9e82d2(0xda)]=_0x1d795d(ne());}(Ws,function(_0x1d8045){var _0x1ceb4b=_0xda85;return function(_0x1805ab){var _0x1580e6=_0xda85,_0x258994=_0x1d8045,_0x3cec22=_0x258994['lib'],_0x59e055=_0x3cec22[_0x1580e6(0x213)],_0x41968e=_0x3cec22[_0x1580e6(0x304)],_0xc1a574=_0x258994[_0x1580e6(0x1b3)],_0x1941a5=[];(function(){for(var _0x3443b3=0x0;_0x3443b3<0x40;_0x3443b3++)_0x1941a5[_0x3443b3]=_0x1805ab['abs'](_0x1805ab['sin'](_0x3443b3+0x1))*0x100000000|0x0;}());var _0x24de74=_0xc1a574[_0x1580e6(0x305)]=_0x41968e[_0x1580e6(0x227)]({'_doReset':function(){var _0x3047b5=_0x1580e6;this[_0x3047b5(0xa4)]=new _0x59e055[(_0x3047b5(0x2b8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5434ed,_0x292b40){var _0xe284d5=_0x1580e6;for(var _0x4b2882=0x0;_0x4b2882<0x10;_0x4b2882++){var _0x3a53be=_0x292b40+_0x4b2882,_0x4dcf19=_0x5434ed[_0x3a53be];_0x5434ed[_0x3a53be]=(_0x4dcf19<<0x8|_0x4dcf19>>>0x18)&0xff00ff|(_0x4dcf19<<0x18|_0x4dcf19>>>0x8)&0xff00ff00;}var _0x364854=this[_0xe284d5(0xa4)][_0xe284d5(0x169)],_0xba850b=_0x5434ed[_0x292b40+0x0],_0x30ac3b=_0x5434ed[_0x292b40+0x1],_0x1302ec=_0x5434ed[_0x292b40+0x2],_0x2d678c=_0x5434ed[_0x292b40+0x3],_0x586c24=_0x5434ed[_0x292b40+0x4],_0x526ac8=_0x5434ed[_0x292b40+0x5],_0x36f172=_0x5434ed[_0x292b40+0x6],_0x55c69b=_0x5434ed[_0x292b40+0x7],_0x1c8f52=_0x5434ed[_0x292b40+0x8],_0x486409=_0x5434ed[_0x292b40+0x9],_0x1c191a=_0x5434ed[_0x292b40+0xa],_0x1f9899=_0x5434ed[_0x292b40+0xb],_0x5e9f7c=_0x5434ed[_0x292b40+0xc],_0x3b9f27=_0x5434ed[_0x292b40+0xd],_0x32068b=_0x5434ed[_0x292b40+0xe],_0x11d575=_0x5434ed[_0x292b40+0xf],_0x538222=_0x364854[0x0],_0x513d99=_0x364854[0x1],_0x386e27=_0x364854[0x2],_0x5b7d0b=_0x364854[0x3];_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0xba850b,0x7,_0x1941a5[0x0]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x30ac3b,0xc,_0x1941a5[0x1]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1302ec,0x11,_0x1941a5[0x2]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x2d678c,0x16,_0x1941a5[0x3]),_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x586c24,0x7,_0x1941a5[0x4]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x526ac8,0xc,_0x1941a5[0x5]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x36f172,0x11,_0x1941a5[0x6]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x55c69b,0x16,_0x1941a5[0x7]),_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x1c8f52,0x7,_0x1941a5[0x8]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x486409,0xc,_0x1941a5[0x9]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1c191a,0x11,_0x1941a5[0xa]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1f9899,0x16,_0x1941a5[0xb]),_0x538222=_0x2be9cd(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x5e9f7c,0x7,_0x1941a5[0xc]),_0x5b7d0b=_0x2be9cd(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x3b9f27,0xc,_0x1941a5[0xd]),_0x386e27=_0x2be9cd(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x32068b,0x11,_0x1941a5[0xe]),_0x513d99=_0x2be9cd(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x11d575,0x16,_0x1941a5[0xf]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x30ac3b,0x5,_0x1941a5[0x10]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x36f172,0x9,_0x1941a5[0x11]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1f9899,0xe,_0x1941a5[0x12]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0xba850b,0x14,_0x1941a5[0x13]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x526ac8,0x5,_0x1941a5[0x14]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1c191a,0x9,_0x1941a5[0x15]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x11d575,0xe,_0x1941a5[0x16]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x586c24,0x14,_0x1941a5[0x17]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x486409,0x5,_0x1941a5[0x18]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x32068b,0x9,_0x1941a5[0x19]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x2d678c,0xe,_0x1941a5[0x1a]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1c8f52,0x14,_0x1941a5[0x1b]),_0x538222=_0x1a30f2(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x3b9f27,0x5,_0x1941a5[0x1c]),_0x5b7d0b=_0x1a30f2(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1302ec,0x9,_0x1941a5[0x1d]),_0x386e27=_0x1a30f2(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x55c69b,0xe,_0x1941a5[0x1e]),_0x513d99=_0x1a30f2(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x5e9f7c,0x14,_0x1941a5[0x1f]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x526ac8,0x4,_0x1941a5[0x20]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1c8f52,0xb,_0x1941a5[0x21]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1f9899,0x10,_0x1941a5[0x22]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x32068b,0x17,_0x1941a5[0x23]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x30ac3b,0x4,_0x1941a5[0x24]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x586c24,0xb,_0x1941a5[0x25]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x55c69b,0x10,_0x1941a5[0x26]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1c191a,0x17,_0x1941a5[0x27]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x3b9f27,0x4,_0x1941a5[0x28]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0xba850b,0xb,_0x1941a5[0x29]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x2d678c,0x10,_0x1941a5[0x2a]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x36f172,0x17,_0x1941a5[0x2b]),_0x538222=_0xdf5c7f(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x486409,0x4,_0x1941a5[0x2c]),_0x5b7d0b=_0xdf5c7f(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x5e9f7c,0xb,_0x1941a5[0x2d]),_0x386e27=_0xdf5c7f(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x11d575,0x10,_0x1941a5[0x2e]),_0x513d99=_0xdf5c7f(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x1302ec,0x17,_0x1941a5[0x2f]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0xba850b,0x6,_0x1941a5[0x30]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x55c69b,0xa,_0x1941a5[0x31]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x32068b,0xf,_0x1941a5[0x32]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x526ac8,0x15,_0x1941a5[0x33]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x5e9f7c,0x6,_0x1941a5[0x34]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x2d678c,0xa,_0x1941a5[0x35]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1c191a,0xf,_0x1941a5[0x36]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x30ac3b,0x15,_0x1941a5[0x37]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x1c8f52,0x6,_0x1941a5[0x38]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x11d575,0xa,_0x1941a5[0x39]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x36f172,0xf,_0x1941a5[0x3a]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x3b9f27,0x15,_0x1941a5[0x3b]),_0x538222=_0x392bc5(_0x538222,_0x513d99,_0x386e27,_0x5b7d0b,_0x586c24,0x6,_0x1941a5[0x3c]),_0x5b7d0b=_0x392bc5(_0x5b7d0b,_0x538222,_0x513d99,_0x386e27,_0x1f9899,0xa,_0x1941a5[0x3d]),_0x386e27=_0x392bc5(_0x386e27,_0x5b7d0b,_0x538222,_0x513d99,_0x1302ec,0xf,_0x1941a5[0x3e]),_0x513d99=_0x392bc5(_0x513d99,_0x386e27,_0x5b7d0b,_0x538222,_0x486409,0x15,_0x1941a5[0x3f]),_0x364854[0x0]=_0x364854[0x0]+_0x538222|0x0,_0x364854[0x1]=_0x364854[0x1]+_0x513d99|0x0,_0x364854[0x2]=_0x364854[0x2]+_0x386e27|0x0,_0x364854[0x3]=_0x364854[0x3]+_0x5b7d0b|0x0;},'_doFinalize':function(){var _0x3bf184=_0x1580e6,_0x941276=this[_0x3bf184(0x380)],_0x2a94bd=_0x941276['words'],_0x255b73=this[_0x3bf184(0x24d)]*0x8,_0x51a76a=_0x941276[_0x3bf184(0x1cf)]*0x8;_0x2a94bd[_0x51a76a>>>0x5]|=0x80<<0x18-_0x51a76a%0x20;var _0x3e5908=_0x1805ab[_0x3bf184(0xe7)](_0x255b73/0x100000000),_0x18e25b=_0x255b73;_0x2a94bd[(_0x51a76a+0x40>>>0x9<<0x4)+0xf]=(_0x3e5908<<0x8|_0x3e5908>>>0x18)&0xff00ff|(_0x3e5908<<0x18|_0x3e5908>>>0x8)&0xff00ff00,_0x2a94bd[(_0x51a76a+0x40>>>0x9<<0x4)+0xe]=(_0x18e25b<<0x8|_0x18e25b>>>0x18)&0xff00ff|(_0x18e25b<<0x18|_0x18e25b>>>0x8)&0xff00ff00,_0x941276[_0x3bf184(0x1cf)]=(_0x2a94bd['length']+0x1)*0x4,this[_0x3bf184(0x14b)]();for(var _0x4a7361=this[_0x3bf184(0xa4)],_0x544620=_0x4a7361[_0x3bf184(0x169)],_0x25c89c=0x0;_0x25c89c<0x4;_0x25c89c++){var _0x38c85a=_0x544620[_0x25c89c];_0x544620[_0x25c89c]=(_0x38c85a<<0x8|_0x38c85a>>>0x18)&0xff00ff|(_0x38c85a<<0x18|_0x38c85a>>>0x8)&0xff00ff00;}return _0x4a7361;},'clone':function(){var _0x5719ea=_0x1580e6,_0x473e7a=_0x41968e[_0x5719ea(0x3a1)]['call'](this);return _0x473e7a['_hash']=this[_0x5719ea(0xa4)][_0x5719ea(0x3a1)](),_0x473e7a;}});function _0x2be9cd(_0x520420,_0x385146,_0x407d15,_0x45ca6e,_0x4f5d56,_0x4cb35d,_0x3b0da1){var _0x3c215b=_0x520420+(_0x385146&_0x407d15|~_0x385146&_0x45ca6e)+_0x4f5d56+_0x3b0da1;return(_0x3c215b<<_0x4cb35d|_0x3c215b>>>0x20-_0x4cb35d)+_0x385146;}function _0x1a30f2(_0x4e0123,_0x42a4c6,_0x358cc1,_0x3561c0,_0x1f4177,_0x1854c1,_0x323180){var _0x10beeb=_0x4e0123+(_0x42a4c6&_0x3561c0|_0x358cc1&~_0x3561c0)+_0x1f4177+_0x323180;return(_0x10beeb<<_0x1854c1|_0x10beeb>>>0x20-_0x1854c1)+_0x42a4c6;}function _0xdf5c7f(_0x2a6981,_0x1117a3,_0x41911a,_0x42fc39,_0x5d24a7,_0x39e926,_0x8b34e4){var _0x379665=_0x2a6981+(_0x1117a3^_0x41911a^_0x42fc39)+_0x5d24a7+_0x8b34e4;return(_0x379665<<_0x39e926|_0x379665>>>0x20-_0x39e926)+_0x1117a3;}function _0x392bc5(_0x772760,_0x379718,_0x1e98f3,_0x26a807,_0x21c29b,_0x3466cd,_0x21e037){var _0x27d7d6=_0x772760+(_0x1e98f3^(_0x379718|~_0x26a807))+_0x21c29b+_0x21e037;return(_0x27d7d6<<_0x3466cd|_0x27d7d6>>>0x20-_0x3466cd)+_0x379718;}_0x258994[_0x1580e6(0x305)]=_0x41968e[_0x1580e6(0x282)](_0x24de74),_0x258994[_0x1580e6(0x1d6)]=_0x41968e[_0x1580e6(0x28c)](_0x24de74);}(Math),_0x1d8045[_0x1ceb4b(0x305)];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x4a7741(0xda)],ii;function zs(){var _0x399026=_0x4a7741;return ii||(ii=0x1,function(_0x1d308f,_0x4c53a4){(function(_0x4428d9,_0x18f846){var _0x5291cf=_0xda85;_0x1d308f[_0x5291cf(0xda)]=_0x18f846(ne());}(Ks,function(_0x52435b){var _0x359c95=_0xda85;return(function(){var _0x2e0112=_0xda85,_0x24c5a1=_0x52435b,_0x1f78f7=_0x24c5a1[_0x2e0112(0x2d0)],_0x549498=_0x1f78f7['WordArray'],_0x2994a0=_0x1f78f7[_0x2e0112(0x304)],_0x57557a=_0x24c5a1[_0x2e0112(0x1b3)],_0x372489=[],_0x40222e=_0x57557a[_0x2e0112(0xe2)]=_0x2994a0[_0x2e0112(0x227)]({'_doReset':function(){var _0x40363a=_0x2e0112;this[_0x40363a(0xa4)]=new _0x549498[(_0x40363a(0x2b8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xdddc10,_0x1e112){var _0x3e6681=_0x2e0112;for(var _0x234c8d=this[_0x3e6681(0xa4)][_0x3e6681(0x169)],_0x50a1bc=_0x234c8d[0x0],_0xf5504e=_0x234c8d[0x1],_0x29c86a=_0x234c8d[0x2],_0x575201=_0x234c8d[0x3],_0x156425=_0x234c8d[0x4],_0x4a44ee=0x0;_0x4a44ee<0x50;_0x4a44ee++){if(_0x4a44ee<0x10)_0x372489[_0x4a44ee]=_0xdddc10[_0x1e112+_0x4a44ee]|0x0;else{var _0x24405e=_0x372489[_0x4a44ee-0x3]^_0x372489[_0x4a44ee-0x8]^_0x372489[_0x4a44ee-0xe]^_0x372489[_0x4a44ee-0x10];_0x372489[_0x4a44ee]=_0x24405e<<0x1|_0x24405e>>>0x1f;}var _0x5efbc1=(_0x50a1bc<<0x5|_0x50a1bc>>>0x1b)+_0x156425+_0x372489[_0x4a44ee];_0x4a44ee<0x14?_0x5efbc1+=(_0xf5504e&_0x29c86a|~_0xf5504e&_0x575201)+0x5a827999:_0x4a44ee<0x28?_0x5efbc1+=(_0xf5504e^_0x29c86a^_0x575201)+0x6ed9eba1:_0x4a44ee<0x3c?_0x5efbc1+=(_0xf5504e&_0x29c86a|_0xf5504e&_0x575201|_0x29c86a&_0x575201)-0x70e44324:_0x5efbc1+=(_0xf5504e^_0x29c86a^_0x575201)-0x359d3e2a,_0x156425=_0x575201,_0x575201=_0x29c86a,_0x29c86a=_0xf5504e<<0x1e|_0xf5504e>>>0x2,_0xf5504e=_0x50a1bc,_0x50a1bc=_0x5efbc1;}_0x234c8d[0x0]=_0x234c8d[0x0]+_0x50a1bc|0x0,_0x234c8d[0x1]=_0x234c8d[0x1]+_0xf5504e|0x0,_0x234c8d[0x2]=_0x234c8d[0x2]+_0x29c86a|0x0,_0x234c8d[0x3]=_0x234c8d[0x3]+_0x575201|0x0,_0x234c8d[0x4]=_0x234c8d[0x4]+_0x156425|0x0;},'_doFinalize':function(){var _0x533fa5=_0x2e0112,_0x190cf4=this['_data'],_0xde24c7=_0x190cf4[_0x533fa5(0x169)],_0x478804=this['_nDataBytes']*0x8,_0x3276f6=_0x190cf4[_0x533fa5(0x1cf)]*0x8;return _0xde24c7[_0x3276f6>>>0x5]|=0x80<<0x18-_0x3276f6%0x20,_0xde24c7[(_0x3276f6+0x40>>>0x9<<0x4)+0xe]=Math[_0x533fa5(0xe7)](_0x478804/0x100000000),_0xde24c7[(_0x3276f6+0x40>>>0x9<<0x4)+0xf]=_0x478804,_0x190cf4[_0x533fa5(0x1cf)]=_0xde24c7[_0x533fa5(0x2f8)]*0x4,this['_process'](),this[_0x533fa5(0xa4)];},'clone':function(){var _0x5b47a4=_0x2e0112,_0x2d3e02=_0x2994a0[_0x5b47a4(0x3a1)]['call'](this);return _0x2d3e02['_hash']=this[_0x5b47a4(0xa4)][_0x5b47a4(0x3a1)](),_0x2d3e02;}});_0x24c5a1['SHA1']=_0x2994a0[_0x2e0112(0x282)](_0x40222e),_0x24c5a1['HmacSHA1']=_0x2994a0['_createHmacHelper'](_0x40222e);}()),_0x52435b[_0x359c95(0xe2)];}));}(qe)),qe[_0x399026(0xda)];}var Je={'exports':{}},Ys=Je['exports'],ni;function qs(){return ni||(ni=0x1,function(_0x44da80,_0x32ce53){(function(_0x4402b1,_0x4f53f0){var _0x20d4fa=_0xda85;_0x44da80[_0x20d4fa(0xda)]=_0x4f53f0(ne());}(Ys,function(_0x4b641f){(function(){var _0x203230=_0xda85,_0x37db10=_0x4b641f,_0x150091=_0x37db10[_0x203230(0x2d0)],_0x4a6bab=_0x150091['Base'],_0x76f0bb=_0x37db10[_0x203230(0x27d)],_0x5f0744=_0x76f0bb[_0x203230(0x21a)],_0x230979=_0x37db10[_0x203230(0x1b3)];_0x230979[_0x203230(0x3a6)]=_0x4a6bab[_0x203230(0x227)]({'init':function(_0x2b119a,_0xcc40a6){var _0x5bdef5=_0x203230;_0x2b119a=this[_0x5bdef5(0x322)]=new _0x2b119a['init'](),typeof _0xcc40a6==_0x5bdef5(0x9b)&&(_0xcc40a6=_0x5f0744[_0x5bdef5(0xd5)](_0xcc40a6));var _0x2d309d=_0x2b119a['blockSize'],_0x170a7c=_0x2d309d*0x4;_0xcc40a6[_0x5bdef5(0x1cf)]>_0x170a7c&&(_0xcc40a6=_0x2b119a[_0x5bdef5(0x1a2)](_0xcc40a6)),_0xcc40a6[_0x5bdef5(0x334)]();for(var _0x34de9c=this[_0x5bdef5(0x182)]=_0xcc40a6[_0x5bdef5(0x3a1)](),_0x2b3527=this[_0x5bdef5(0x137)]=_0xcc40a6[_0x5bdef5(0x3a1)](),_0x3fca3a=_0x34de9c['words'],_0x548497=_0x2b3527[_0x5bdef5(0x169)],_0x73c099=0x0;_0x73c099<_0x2d309d;_0x73c099++)_0x3fca3a[_0x73c099]^=0x5c5c5c5c,_0x548497[_0x73c099]^=0x36363636;_0x34de9c[_0x5bdef5(0x1cf)]=_0x2b3527[_0x5bdef5(0x1cf)]=_0x170a7c,this[_0x5bdef5(0xf9)]();},'reset':function(){var _0x3aec40=_0x203230,_0x36d7df=this[_0x3aec40(0x322)];_0x36d7df[_0x3aec40(0xf9)](),_0x36d7df[_0x3aec40(0xd3)](this[_0x3aec40(0x137)]);},'update':function(_0x121a4c){var _0x4264ac=_0x203230;return this[_0x4264ac(0x322)][_0x4264ac(0xd3)](_0x121a4c),this;},'finalize':function(_0x5e9a60){var _0x33592b=_0x203230,_0x4df303=this['_hasher'],_0x670ca2=_0x4df303['finalize'](_0x5e9a60);_0x4df303[_0x33592b(0xf9)]();var _0x21b68e=_0x4df303['finalize'](this['_oKey'][_0x33592b(0x3a1)]()[_0x33592b(0x105)](_0x670ca2));return _0x21b68e;}});}());}));}(Je)),Je['exports'];}var Js=Ye['exports'],si;function Ui(){var _0x217b11=_0x4a7741;return si||(si=0x1,function(_0x5a7b4f,_0xd9b241){(function(_0x993ec7,_0x4b7852,_0x1f488f){var _0x4b0b6e=_0xda85;_0x5a7b4f[_0x4b0b6e(0xda)]=_0x4b7852(ne(),zs(),qs());}(Js,function(_0x5e41f1){var _0x11d2e4=_0xda85;return(function(){var _0xbd73f7=_0xda85,_0xaacd46=_0x5e41f1,_0x1be07b=_0xaacd46[_0xbd73f7(0x2d0)],_0x42076c=_0x1be07b['Base'],_0x53ce46=_0x1be07b[_0xbd73f7(0x213)],_0x1493a0=_0xaacd46[_0xbd73f7(0x1b3)],_0x57294b=_0x1493a0[_0xbd73f7(0x305)],_0x17ffc8=_0x1493a0['EvpKDF']=_0x42076c[_0xbd73f7(0x227)]({'cfg':_0x42076c[_0xbd73f7(0x227)]({'keySize':0x80/0x20,'hasher':_0x57294b,'iterations':0x1}),'init':function(_0x59e831){var _0x4d85a6=_0xbd73f7;this[_0x4d85a6(0xce)]=this[_0x4d85a6(0xce)][_0x4d85a6(0x227)](_0x59e831);},'compute':function(_0x56bd65,_0x4fb50d){var _0x23029d=_0xbd73f7;for(var _0xdf7b3c,_0x1070a0=this[_0x23029d(0xce)],_0x533f4a=_0x1070a0[_0x23029d(0x3a4)][_0x23029d(0x1d7)](),_0x505f93=_0x53ce46[_0x23029d(0x1d7)](),_0x3cea6d=_0x505f93['words'],_0x50a6fd=_0x1070a0[_0x23029d(0x32b)],_0x2f80d3=_0x1070a0[_0x23029d(0xf0)];_0x3cea6d[_0x23029d(0x2f8)]<_0x50a6fd;){_0xdf7b3c&&_0x533f4a[_0x23029d(0xd3)](_0xdf7b3c),_0xdf7b3c=_0x533f4a[_0x23029d(0xd3)](_0x56bd65)['finalize'](_0x4fb50d),_0x533f4a[_0x23029d(0xf9)]();for(var _0x195789=0x1;_0x195789<_0x2f80d3;_0x195789++)_0xdf7b3c=_0x533f4a['finalize'](_0xdf7b3c),_0x533f4a[_0x23029d(0xf9)]();_0x505f93[_0x23029d(0x105)](_0xdf7b3c);}return _0x505f93['sigBytes']=_0x50a6fd*0x4,_0x505f93;}});_0xaacd46[_0xbd73f7(0x1d8)]=function(_0x394a95,_0x5efe6f,_0x132dd0){var _0x76db80=_0xbd73f7;return _0x17ffc8[_0x76db80(0x1d7)](_0x132dd0)['compute'](_0x394a95,_0x5efe6f);};}()),_0x5e41f1[_0x11d2e4(0x1d8)];}));}(Ye)),Ye[_0x217b11(0xda)];}var Xe={'exports':{}},Xs=Xe[_0x4a7741(0xda)],ri;function Ai(){var _0x4937f4=_0x4a7741;return ri||(ri=0x1,function(_0x289aea,_0x1e2fde){(function(_0x269654,_0x1d4fa5,_0x1fdb02){var _0x4fc882=_0xda85;_0x289aea[_0x4fc882(0xda)]=_0x1d4fa5(ne(),Ui());}(Xs,function(_0x3ceda5){var _0x5e69f9=_0xda85;_0x3ceda5[_0x5e69f9(0x2d0)][_0x5e69f9(0x160)]||function(_0x2ae33f){var _0x5a68ee=_0x5e69f9,_0x3837aa=_0x3ceda5,_0x104550=_0x3837aa[_0x5a68ee(0x2d0)],_0x25da93=_0x104550[_0x5a68ee(0x15a)],_0xc65599=_0x104550[_0x5a68ee(0x213)],_0x3f296b=_0x104550[_0x5a68ee(0x18f)],_0x2ead74=_0x3837aa[_0x5a68ee(0x27d)];_0x2ead74['Utf8'];var _0x521769=_0x2ead74[_0x5a68ee(0x148)],_0x50f2f8=_0x3837aa[_0x5a68ee(0x1b3)],_0x4c9c9e=_0x50f2f8['EvpKDF'],_0x18c10b=_0x104550[_0x5a68ee(0x160)]=_0x3f296b[_0x5a68ee(0x227)]({'cfg':_0x25da93[_0x5a68ee(0x227)](),'createEncryptor':function(_0x59ee54,_0x1a73d3){var _0x4af4e8=_0x5a68ee;return this[_0x4af4e8(0x1d7)](this[_0x4af4e8(0x21e)],_0x59ee54,_0x1a73d3);},'createDecryptor':function(_0x37d539,_0x325203){var _0x56aea7=_0x5a68ee;return this[_0x56aea7(0x1d7)](this[_0x56aea7(0x2ad)],_0x37d539,_0x325203);},'init':function(_0x4e704c,_0x3b924d,_0x4aa3aa){var _0x1391ef=_0x5a68ee;this[_0x1391ef(0xce)]=this[_0x1391ef(0xce)][_0x1391ef(0x227)](_0x4aa3aa),this[_0x1391ef(0x2ec)]=_0x4e704c,this['_key']=_0x3b924d,this[_0x1391ef(0xf9)]();},'reset':function(){var _0x4eb14b=_0x5a68ee;_0x3f296b[_0x4eb14b(0xf9)]['call'](this),this['_doReset']();},'process':function(_0x1c6ca7){var _0x282b0d=_0x5a68ee;return this[_0x282b0d(0x276)](_0x1c6ca7),this[_0x282b0d(0x14b)]();},'finalize':function(_0x4ed669){_0x4ed669&&this['_append'](_0x4ed669);var _0x2325e7=this['_doFinalize']();return _0x2325e7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x406e02(_0x4046f8){var _0x431a57=_0xda85;return typeof _0x4046f8==_0x431a57(0x9b)?_0x3c8ba1:_0x29090f;}return function(_0x5d6287){return{'encrypt':function(_0x47cb12,_0x215b1f,_0x56e63a){var _0x51df7a=_0xda85;return _0x406e02(_0x215b1f)[_0x51df7a(0x21c)](_0x5d6287,_0x47cb12,_0x215b1f,_0x56e63a);},'decrypt':function(_0x4b9bd8,_0x24b434,_0x1a1168){var _0x437819=_0xda85;return _0x406e02(_0x24b434)[_0x437819(0x1c2)](_0x5d6287,_0x4b9bd8,_0x24b434,_0x1a1168);}};};}())});_0x104550[_0x5a68ee(0xc4)]=_0x18c10b[_0x5a68ee(0x227)]({'_doFinalize':function(){var _0x2406fd=_0x5a68ee,_0x12a141=this[_0x2406fd(0x14b)](!0x0);return _0x12a141;},'blockSize':0x1});var _0x52984d=_0x3837aa['mode']={},_0x3dd9e0=_0x104550[_0x5a68ee(0x1c9)]=_0x25da93[_0x5a68ee(0x227)]({'createEncryptor':function(_0x343f0a,_0x527a36){var _0x41664d=_0x5a68ee;return this[_0x41664d(0x1ca)]['create'](_0x343f0a,_0x527a36);},'createDecryptor':function(_0x578ec2,_0x3bd175){var _0x4c6bcc=_0x5a68ee;return this[_0x4c6bcc(0x14c)]['create'](_0x578ec2,_0x3bd175);},'init':function(_0x27234e,_0x284b90){var _0x163c01=_0x5a68ee;this[_0x163c01(0x281)]=_0x27234e,this[_0x163c01(0x2a1)]=_0x284b90;}}),_0x4961be=_0x52984d[_0x5a68ee(0x1f2)]=(function(){var _0x2acbcf=_0x5a68ee,_0x163fdf=_0x3dd9e0[_0x2acbcf(0x227)]();_0x163fdf[_0x2acbcf(0x1ca)]=_0x163fdf[_0x2acbcf(0x227)]({'processBlock':function(_0x587336,_0x566e0e){var _0x469ca9=_0x2acbcf,_0x532a03=this['_cipher'],_0x534831=_0x532a03[_0x469ca9(0x2fd)];_0x319172['call'](this,_0x587336,_0x566e0e,_0x534831),_0x532a03[_0x469ca9(0x314)](_0x587336,_0x566e0e),this[_0x469ca9(0x265)]=_0x587336[_0x469ca9(0x3a7)](_0x566e0e,_0x566e0e+_0x534831);}}),_0x163fdf[_0x2acbcf(0x14c)]=_0x163fdf[_0x2acbcf(0x227)]({'processBlock':function(_0x14a2f0,_0x4f1a97){var _0x47c989=_0x2acbcf,_0x318932=this[_0x47c989(0x281)],_0x1e6403=_0x318932['blockSize'],_0x2596ea=_0x14a2f0[_0x47c989(0x3a7)](_0x4f1a97,_0x4f1a97+_0x1e6403);_0x318932[_0x47c989(0xb1)](_0x14a2f0,_0x4f1a97),_0x319172[_0x47c989(0x31e)](this,_0x14a2f0,_0x4f1a97,_0x1e6403),this[_0x47c989(0x265)]=_0x2596ea;}});function _0x319172(_0x1b690f,_0x1d8016,_0x20ce17){var _0x4c34ad=_0x2acbcf,_0x1096f6,_0x4f8314=this[_0x4c34ad(0x2a1)];_0x4f8314?(_0x1096f6=_0x4f8314,this[_0x4c34ad(0x2a1)]=_0x2ae33f):_0x1096f6=this[_0x4c34ad(0x265)];for(var _0xd2104e=0x0;_0xd2104e<_0x20ce17;_0xd2104e++)_0x1b690f[_0x1d8016+_0xd2104e]^=_0x1096f6[_0xd2104e];}return _0x163fdf;}()),_0x11fd40=_0x3837aa[_0x5a68ee(0x35d)]={},_0x13632d=_0x11fd40['Pkcs7']={'pad':function(_0x677ecb,_0x426045){var _0x393a77=_0x5a68ee;for(var _0x53e8e0=_0x426045*0x4,_0x3df7b0=_0x53e8e0-_0x677ecb[_0x393a77(0x1cf)]%_0x53e8e0,_0x19c741=_0x3df7b0<<0x18|_0x3df7b0<<0x10|_0x3df7b0<<0x8|_0x3df7b0,_0x3aaa65=[],_0x49600b=0x0;_0x49600b<_0x3df7b0;_0x49600b+=0x4)_0x3aaa65[_0x393a77(0xef)](_0x19c741);var _0x2db060=_0xc65599[_0x393a77(0x1d7)](_0x3aaa65,_0x3df7b0);_0x677ecb['concat'](_0x2db060);},'unpad':function(_0x1d3363){var _0xb3f2d0=_0x5a68ee,_0x12c07d=_0x1d3363['words'][_0x1d3363[_0xb3f2d0(0x1cf)]-0x1>>>0x2]&0xff;_0x1d3363[_0xb3f2d0(0x1cf)]-=_0x12c07d;}};_0x104550[_0x5a68ee(0x15d)]=_0x18c10b[_0x5a68ee(0x227)]({'cfg':_0x18c10b[_0x5a68ee(0xce)][_0x5a68ee(0x227)]({'mode':_0x4961be,'padding':_0x13632d}),'reset':function(){var _0x81bc0f=_0x5a68ee,_0x88115b;_0x18c10b[_0x81bc0f(0xf9)][_0x81bc0f(0x31e)](this);var _0x223089=this['cfg'],_0x68d15d=_0x223089['iv'],_0x5c4a5c=_0x223089['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x88115b=_0x5c4a5c[_0x81bc0f(0x344)]:(_0x88115b=_0x5c4a5c[_0x81bc0f(0x22f)],this[_0x81bc0f(0xe9)]=0x1),this[_0x81bc0f(0x340)]&&this['_mode']['__creator']==_0x88115b?this[_0x81bc0f(0x340)][_0x81bc0f(0x2b8)](this,_0x68d15d&&_0x68d15d[_0x81bc0f(0x169)]):(this[_0x81bc0f(0x340)]=_0x88115b['call'](_0x5c4a5c,this,_0x68d15d&&_0x68d15d[_0x81bc0f(0x169)]),this['_mode'][_0x81bc0f(0x231)]=_0x88115b);},'_doProcessBlock':function(_0x19fe1e,_0x554a20){var _0x5d7cc9=_0x5a68ee;this['_mode'][_0x5d7cc9(0x22a)](_0x19fe1e,_0x554a20);},'_doFinalize':function(){var _0x1e8865=_0x5a68ee,_0x47d0b4,_0x47d397=this['cfg']['padding'];return this[_0x1e8865(0x2ec)]==this[_0x1e8865(0x21e)]?(_0x47d397['pad'](this['_data'],this[_0x1e8865(0x2fd)]),_0x47d0b4=this['_process'](!0x0)):(_0x47d0b4=this[_0x1e8865(0x14b)](!0x0),_0x47d397[_0x1e8865(0xa5)](_0x47d0b4)),_0x47d0b4;},'blockSize':0x80/0x20});var _0x20daf3=_0x104550[_0x5a68ee(0x269)]=_0x25da93[_0x5a68ee(0x227)]({'init':function(_0x67c5f1){var _0x354845=_0x5a68ee;this[_0x354845(0x2c9)](_0x67c5f1);},'toString':function(_0x58b68e){var _0x2f1989=_0x5a68ee;return(_0x58b68e||this[_0x2f1989(0x179)])['stringify'](this);}}),_0x37c21c=_0x3837aa[_0x5a68ee(0x238)]={},_0x56abf9=_0x37c21c['OpenSSL']={'stringify':function(_0x19870d){var _0xad85da=_0x5a68ee,_0x8e322f,_0x184cc7=_0x19870d[_0xad85da(0x176)],_0x2110cb=_0x19870d[_0xad85da(0x349)];return _0x2110cb?_0x8e322f=_0xc65599['create']([0x53616c74,0x65645f5f])[_0xad85da(0x105)](_0x2110cb)[_0xad85da(0x105)](_0x184cc7):_0x8e322f=_0x184cc7,_0x8e322f['toString'](_0x521769);},'parse':function(_0x5e94bf){var _0x3d94f2=_0x5a68ee,_0x49208f,_0x2aa299=_0x521769[_0x3d94f2(0xd5)](_0x5e94bf),_0x4e4b3e=_0x2aa299[_0x3d94f2(0x169)];return _0x4e4b3e[0x0]==0x53616c74&&_0x4e4b3e[0x1]==0x65645f5f&&(_0x49208f=_0xc65599[_0x3d94f2(0x1d7)](_0x4e4b3e[_0x3d94f2(0x3a7)](0x2,0x4)),_0x4e4b3e[_0x3d94f2(0x23e)](0x0,0x4),_0x2aa299['sigBytes']-=0x10),_0x20daf3[_0x3d94f2(0x1d7)]({'ciphertext':_0x2aa299,'salt':_0x49208f});}},_0x29090f=_0x104550['SerializableCipher']=_0x25da93[_0x5a68ee(0x227)]({'cfg':_0x25da93[_0x5a68ee(0x227)]({'format':_0x56abf9}),'encrypt':function(_0x24f041,_0x3d8e5a,_0x2e2e72,_0x4fbf48){var _0x2ad313=_0x5a68ee;_0x4fbf48=this[_0x2ad313(0xce)]['extend'](_0x4fbf48);var _0x31071e=_0x24f041['createEncryptor'](_0x2e2e72,_0x4fbf48),_0x1fc313=_0x31071e['finalize'](_0x3d8e5a),_0x15fff5=_0x31071e[_0x2ad313(0xce)];return _0x20daf3[_0x2ad313(0x1d7)]({'ciphertext':_0x1fc313,'key':_0x2e2e72,'iv':_0x15fff5['iv'],'algorithm':_0x24f041,'mode':_0x15fff5[_0x2ad313(0x192)],'padding':_0x15fff5[_0x2ad313(0x35c)],'blockSize':_0x24f041[_0x2ad313(0x2fd)],'formatter':_0x4fbf48['format']});},'decrypt':function(_0x5a0b11,_0x28e625,_0x19c2db,_0x8e57ae){var _0x45d890=_0x5a68ee;_0x8e57ae=this[_0x45d890(0xce)][_0x45d890(0x227)](_0x8e57ae),_0x28e625=this[_0x45d890(0x1fb)](_0x28e625,_0x8e57ae[_0x45d890(0x238)]);var _0x3b2016=_0x5a0b11[_0x45d890(0x22f)](_0x19c2db,_0x8e57ae)[_0x45d890(0x1a2)](_0x28e625[_0x45d890(0x176)]);return _0x3b2016;},'_parse':function(_0x4f736a,_0x101cc1){var _0x1794ff=_0x5a68ee;return typeof _0x4f736a==_0x1794ff(0x9b)?_0x101cc1['parse'](_0x4f736a,this):_0x4f736a;}}),_0x8be421=_0x3837aa[_0x5a68ee(0x1f4)]={},_0x5da6ae=_0x8be421[_0x5a68ee(0x193)]={'execute':function(_0x580c02,_0x36ae81,_0x21e027,_0x30efc3,_0xcfd5a6){var _0x4ecdb4=_0x5a68ee;if(_0x30efc3||(_0x30efc3=_0xc65599[_0x4ecdb4(0x1e0)](0x40/0x8)),_0xcfd5a6)var _0xd3ff39=_0x4c9c9e[_0x4ecdb4(0x1d7)]({'keySize':_0x36ae81+_0x21e027,'hasher':_0xcfd5a6})[_0x4ecdb4(0x352)](_0x580c02,_0x30efc3);else var _0xd3ff39=_0x4c9c9e['create']({'keySize':_0x36ae81+_0x21e027})['compute'](_0x580c02,_0x30efc3);var _0x17248b=_0xc65599[_0x4ecdb4(0x1d7)](_0xd3ff39['words']['slice'](_0x36ae81),_0x21e027*0x4);return _0xd3ff39[_0x4ecdb4(0x1cf)]=_0x36ae81*0x4,_0x20daf3[_0x4ecdb4(0x1d7)]({'key':_0xd3ff39,'iv':_0x17248b,'salt':_0x30efc3});}},_0x3c8ba1=_0x104550[_0x5a68ee(0x122)]=_0x29090f[_0x5a68ee(0x227)]({'cfg':_0x29090f['cfg'][_0x5a68ee(0x227)]({'kdf':_0x5da6ae}),'encrypt':function(_0x51d572,_0x392b86,_0x1a6927,_0x2ac4a1){var _0x11b705=_0x5a68ee;_0x2ac4a1=this[_0x11b705(0xce)][_0x11b705(0x227)](_0x2ac4a1);var _0xdf5e90=_0x2ac4a1['kdf']['execute'](_0x1a6927,_0x51d572['keySize'],_0x51d572['ivSize'],_0x2ac4a1[_0x11b705(0x349)],_0x2ac4a1[_0x11b705(0x3a4)]);_0x2ac4a1['iv']=_0xdf5e90['iv'];var _0xdb8992=_0x29090f[_0x11b705(0x21c)]['call'](this,_0x51d572,_0x392b86,_0xdf5e90[_0x11b705(0xbd)],_0x2ac4a1);return _0xdb8992[_0x11b705(0x2c9)](_0xdf5e90),_0xdb8992;},'decrypt':function(_0x4f3b5e,_0x97858f,_0xd4388e,_0xfd4e92){var _0x1648e8=_0x5a68ee;_0xfd4e92=this['cfg'][_0x1648e8(0x227)](_0xfd4e92),_0x97858f=this[_0x1648e8(0x1fb)](_0x97858f,_0xfd4e92[_0x1648e8(0x238)]);var _0x335176=_0xfd4e92[_0x1648e8(0x1f4)][_0x1648e8(0x358)](_0xd4388e,_0x4f3b5e[_0x1648e8(0x32b)],_0x4f3b5e['ivSize'],_0x97858f[_0x1648e8(0x349)],_0xfd4e92[_0x1648e8(0x3a4)]);_0xfd4e92['iv']=_0x335176['iv'];var _0x4b2963=_0x29090f[_0x1648e8(0x1c2)][_0x1648e8(0x31e)](this,_0x4f3b5e,_0x97858f,_0x335176[_0x1648e8(0xbd)],_0xfd4e92);return _0x4b2963;}});}();}));}(Xe)),Xe[_0x4937f4(0xda)];}var Zs=We['exports'],oi;function Qs(){var _0x5aebf2=_0x4a7741;return oi||(oi=0x1,function(_0x137852,_0x8f6250){(function(_0x38262d,_0x3e2de6,_0x72e9a){var _0x1a354b=_0xda85;_0x137852[_0x1a354b(0xda)]=_0x3e2de6(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x538c2a){var _0x2301bf=_0xda85;return(function(){var _0x40a2e4=_0xda85,_0x5e8836=_0x538c2a,_0x2e2373=_0x5e8836[_0x40a2e4(0x2d0)],_0x136c4c=_0x2e2373[_0x40a2e4(0x15d)],_0x5a05a3=_0x5e8836[_0x40a2e4(0x1b3)],_0x24124b=[],_0x52ad29=[],_0xa723a5=[],_0x382432=[],_0x3e60eb=[],_0x44f4b2=[],_0x53af4e=[],_0x182a9e=[],_0x31ad55=[],_0x5efcb9=[];(function(){for(var _0x206864=[],_0x348069=0x0;_0x348069<0x100;_0x348069++)_0x348069<0x80?_0x206864[_0x348069]=_0x348069<<0x1:_0x206864[_0x348069]=_0x348069<<0x1^0x11b;for(var _0x1b0b69=0x0,_0x82145d=0x0,_0x348069=0x0;_0x348069<0x100;_0x348069++){var _0x52c99b=_0x82145d^_0x82145d<<0x1^_0x82145d<<0x2^_0x82145d<<0x3^_0x82145d<<0x4;_0x52c99b=_0x52c99b>>>0x8^_0x52c99b&0xff^0x63,_0x24124b[_0x1b0b69]=_0x52c99b,_0x52ad29[_0x52c99b]=_0x1b0b69;var _0x25a9d6=_0x206864[_0x1b0b69],_0x458b1d=_0x206864[_0x25a9d6],_0x297bae=_0x206864[_0x458b1d],_0x5d0b05=_0x206864[_0x52c99b]*0x101^_0x52c99b*0x1010100;_0xa723a5[_0x1b0b69]=_0x5d0b05<<0x18|_0x5d0b05>>>0x8,_0x382432[_0x1b0b69]=_0x5d0b05<<0x10|_0x5d0b05>>>0x10,_0x3e60eb[_0x1b0b69]=_0x5d0b05<<0x8|_0x5d0b05>>>0x18,_0x44f4b2[_0x1b0b69]=_0x5d0b05;var _0x5d0b05=_0x297bae*0x1010101^_0x458b1d*0x10001^_0x25a9d6*0x101^_0x1b0b69*0x1010100;_0x53af4e[_0x52c99b]=_0x5d0b05<<0x18|_0x5d0b05>>>0x8,_0x182a9e[_0x52c99b]=_0x5d0b05<<0x10|_0x5d0b05>>>0x10,_0x31ad55[_0x52c99b]=_0x5d0b05<<0x8|_0x5d0b05>>>0x18,_0x5efcb9[_0x52c99b]=_0x5d0b05,_0x1b0b69?(_0x1b0b69=_0x25a9d6^_0x206864[_0x206864[_0x206864[_0x297bae^_0x25a9d6]]],_0x82145d^=_0x206864[_0x206864[_0x82145d]]):_0x1b0b69=_0x82145d=0x1;}}());var _0x4d9de2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x25e4b6=_0x5a05a3[_0x40a2e4(0x2fa)]=_0x136c4c[_0x40a2e4(0x227)]({'_doReset':function(){var _0x46c881=_0x40a2e4,_0x23d3fe;if(!(this[_0x46c881(0x14e)]&&this[_0x46c881(0x292)]===this[_0x46c881(0x29c)])){for(var _0x46dff7=this[_0x46c881(0x292)]=this['_key'],_0x4e9116=_0x46dff7['words'],_0xc0cd4c=_0x46dff7['sigBytes']/0x4,_0x4b190e=this['_nRounds']=_0xc0cd4c+0x6,_0x3e7195=(_0x4b190e+0x1)*0x4,_0x149b71=this[_0x46c881(0x30a)]=[],_0x47b51f=0x0;_0x47b51f<_0x3e7195;_0x47b51f++)_0x47b51f<_0xc0cd4c?_0x149b71[_0x47b51f]=_0x4e9116[_0x47b51f]:(_0x23d3fe=_0x149b71[_0x47b51f-0x1],_0x47b51f%_0xc0cd4c?_0xc0cd4c>0x6&&_0x47b51f%_0xc0cd4c==0x4&&(_0x23d3fe=_0x24124b[_0x23d3fe>>>0x18]<<0x18|_0x24124b[_0x23d3fe>>>0x10&0xff]<<0x10|_0x24124b[_0x23d3fe>>>0x8&0xff]<<0x8|_0x24124b[_0x23d3fe&0xff]):(_0x23d3fe=_0x23d3fe<<0x8|_0x23d3fe>>>0x18,_0x23d3fe=_0x24124b[_0x23d3fe>>>0x18]<<0x18|_0x24124b[_0x23d3fe>>>0x10&0xff]<<0x10|_0x24124b[_0x23d3fe>>>0x8&0xff]<<0x8|_0x24124b[_0x23d3fe&0xff],_0x23d3fe^=_0x4d9de2[_0x47b51f/_0xc0cd4c|0x0]<<0x18),_0x149b71[_0x47b51f]=_0x149b71[_0x47b51f-_0xc0cd4c]^_0x23d3fe);for(var _0x1c9c19=this[_0x46c881(0x149)]=[],_0x1a50f3=0x0;_0x1a50f3<_0x3e7195;_0x1a50f3++){var _0x47b51f=_0x3e7195-_0x1a50f3;if(_0x1a50f3%0x4)var _0x23d3fe=_0x149b71[_0x47b51f];else var _0x23d3fe=_0x149b71[_0x47b51f-0x4];_0x1a50f3<0x4||_0x47b51f<=0x4?_0x1c9c19[_0x1a50f3]=_0x23d3fe:_0x1c9c19[_0x1a50f3]=_0x53af4e[_0x24124b[_0x23d3fe>>>0x18]]^_0x182a9e[_0x24124b[_0x23d3fe>>>0x10&0xff]]^_0x31ad55[_0x24124b[_0x23d3fe>>>0x8&0xff]]^_0x5efcb9[_0x24124b[_0x23d3fe&0xff]];}}},'encryptBlock':function(_0xf0a23d,_0x40f0da){var _0x2e3abe=_0x40a2e4;this[_0x2e3abe(0x391)](_0xf0a23d,_0x40f0da,this['_keySchedule'],_0xa723a5,_0x382432,_0x3e60eb,_0x44f4b2,_0x24124b);},'decryptBlock':function(_0x4772f6,_0x5ac946){var _0x187cc8=_0x40a2e4,_0x49ba0a=_0x4772f6[_0x5ac946+0x1];_0x4772f6[_0x5ac946+0x1]=_0x4772f6[_0x5ac946+0x3],_0x4772f6[_0x5ac946+0x3]=_0x49ba0a,this[_0x187cc8(0x391)](_0x4772f6,_0x5ac946,this['_invKeySchedule'],_0x53af4e,_0x182a9e,_0x31ad55,_0x5efcb9,_0x52ad29);var _0x49ba0a=_0x4772f6[_0x5ac946+0x1];_0x4772f6[_0x5ac946+0x1]=_0x4772f6[_0x5ac946+0x3],_0x4772f6[_0x5ac946+0x3]=_0x49ba0a;},'_doCryptBlock':function(_0xe9992d,_0x4bfe61,_0x4fb058,_0xc52df3,_0x471ef9,_0x403c86,_0x98dc13,_0x3894d3){var _0x2d40c0=_0x40a2e4;for(var _0x14ecc2=this[_0x2d40c0(0x14e)],_0x139d15=_0xe9992d[_0x4bfe61]^_0x4fb058[0x0],_0x532f1d=_0xe9992d[_0x4bfe61+0x1]^_0x4fb058[0x1],_0x244404=_0xe9992d[_0x4bfe61+0x2]^_0x4fb058[0x2],_0x25957a=_0xe9992d[_0x4bfe61+0x3]^_0x4fb058[0x3],_0x1a9ba3=0x4,_0x591728=0x1;_0x591728<_0x14ecc2;_0x591728++){var _0x3293c6=_0xc52df3[_0x139d15>>>0x18]^_0x471ef9[_0x532f1d>>>0x10&0xff]^_0x403c86[_0x244404>>>0x8&0xff]^_0x98dc13[_0x25957a&0xff]^_0x4fb058[_0x1a9ba3++],_0x16bdc3=_0xc52df3[_0x532f1d>>>0x18]^_0x471ef9[_0x244404>>>0x10&0xff]^_0x403c86[_0x25957a>>>0x8&0xff]^_0x98dc13[_0x139d15&0xff]^_0x4fb058[_0x1a9ba3++],_0x5c6200=_0xc52df3[_0x244404>>>0x18]^_0x471ef9[_0x25957a>>>0x10&0xff]^_0x403c86[_0x139d15>>>0x8&0xff]^_0x98dc13[_0x532f1d&0xff]^_0x4fb058[_0x1a9ba3++],_0x3b9feb=_0xc52df3[_0x25957a>>>0x18]^_0x471ef9[_0x139d15>>>0x10&0xff]^_0x403c86[_0x532f1d>>>0x8&0xff]^_0x98dc13[_0x244404&0xff]^_0x4fb058[_0x1a9ba3++];_0x139d15=_0x3293c6,_0x532f1d=_0x16bdc3,_0x244404=_0x5c6200,_0x25957a=_0x3b9feb;}var _0x3293c6=(_0x3894d3[_0x139d15>>>0x18]<<0x18|_0x3894d3[_0x532f1d>>>0x10&0xff]<<0x10|_0x3894d3[_0x244404>>>0x8&0xff]<<0x8|_0x3894d3[_0x25957a&0xff])^_0x4fb058[_0x1a9ba3++],_0x16bdc3=(_0x3894d3[_0x532f1d>>>0x18]<<0x18|_0x3894d3[_0x244404>>>0x10&0xff]<<0x10|_0x3894d3[_0x25957a>>>0x8&0xff]<<0x8|_0x3894d3[_0x139d15&0xff])^_0x4fb058[_0x1a9ba3++],_0x5c6200=(_0x3894d3[_0x244404>>>0x18]<<0x18|_0x3894d3[_0x25957a>>>0x10&0xff]<<0x10|_0x3894d3[_0x139d15>>>0x8&0xff]<<0x8|_0x3894d3[_0x532f1d&0xff])^_0x4fb058[_0x1a9ba3++],_0x3b9feb=(_0x3894d3[_0x25957a>>>0x18]<<0x18|_0x3894d3[_0x139d15>>>0x10&0xff]<<0x10|_0x3894d3[_0x532f1d>>>0x8&0xff]<<0x8|_0x3894d3[_0x244404&0xff])^_0x4fb058[_0x1a9ba3++];_0xe9992d[_0x4bfe61]=_0x3293c6,_0xe9992d[_0x4bfe61+0x1]=_0x16bdc3,_0xe9992d[_0x4bfe61+0x2]=_0x5c6200,_0xe9992d[_0x4bfe61+0x3]=_0x3b9feb;},'keySize':0x100/0x20});_0x5e8836[_0x40a2e4(0x2fa)]=_0x136c4c[_0x40a2e4(0x282)](_0x25e4b6);}()),_0x538c2a[_0x2301bf(0x2fa)];}));}(We)),We[_0x5aebf2(0xda)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x4a7741(0xda)],ci;function sr(){var _0x668d9=_0x4a7741;return ci||(ci=0x1,function(_0x51925e,_0x135048){(function(_0x31d7d3,_0x179174){var _0x5750c5=_0xda85;_0x51925e[_0x5750c5(0xda)]=_0x179174(ne());}(nr,function(_0x54eec2){var _0x469e0e=_0xda85;return _0x54eec2[_0x469e0e(0x27d)]['Utf8'];}));}(Ze)),Ze[_0x668d9(0xda)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x4a7741(0xda)],hi;function cr(){var _0x26cea5=_0x4a7741;return hi||(hi=0x1,function(_0xf836a8,_0x15dcfe){(function(_0x2442e9,_0x284343){var _0x26cd29=_0xda85;_0xf836a8[_0x26cd29(0xda)]=_0x284343(ne());}(ar,function(_0x13941b){var _0x388bc6=_0xda85;return(function(){var _0xcda55c=_0xda85;if(typeof ArrayBuffer==_0xcda55c(0x156)){var _0x592d10=_0x13941b,_0x3eb8d0=_0x592d10[_0xcda55c(0x2d0)],_0x9cc56d=_0x3eb8d0[_0xcda55c(0x213)],_0x11ce75=_0x9cc56d['init'],_0x5572ef=_0x9cc56d[_0xcda55c(0x2b8)]=function(_0x177f3c){var _0x4bff12=_0xcda55c;if(_0x177f3c instanceof ArrayBuffer&&(_0x177f3c=new Uint8Array(_0x177f3c)),(_0x177f3c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x177f3c instanceof Uint8ClampedArray||_0x177f3c instanceof Int16Array||_0x177f3c instanceof Uint16Array||_0x177f3c instanceof Int32Array||_0x177f3c instanceof Uint32Array||_0x177f3c instanceof Float32Array||_0x177f3c instanceof Float64Array)&&(_0x177f3c=new Uint8Array(_0x177f3c[_0x4bff12(0x1d4)],_0x177f3c[_0x4bff12(0x377)],_0x177f3c['byteLength'])),_0x177f3c instanceof Uint8Array){for(var _0x5ac637=_0x177f3c[_0x4bff12(0x23d)],_0x3597f4=[],_0x194063=0x0;_0x194063<_0x5ac637;_0x194063++)_0x3597f4[_0x194063>>>0x2]|=_0x177f3c[_0x194063]<<0x18-_0x194063%0x4*0x8;_0x11ce75[_0x4bff12(0x31e)](this,_0x3597f4,_0x5ac637);}else _0x11ce75['apply'](this,arguments);};_0x5572ef[_0xcda55c(0x1ec)]=_0x9cc56d;}}()),_0x13941b[_0x388bc6(0x2d0)][_0x388bc6(0x213)];}));}(Qe)),Qe[_0x26cea5(0xda)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et[_0x4a7741(0xda)],_i;function ur(){var _0x235070=_0x4a7741;return _i||(_i=0x1,function(_0x11372d,_0x286308){(function(_0x3bda2c,_0x19d13f,_0x418aa8){_0x11372d['exports']=_0x19d13f(ne(),Ai());}(lr,function(_0x4c39bb){var _0x2f2029=_0xda85;return _0x4c39bb[_0x2f2029(0x35d)][_0x2f2029(0x2d8)]={'pad':function(){},'unpad':function(){}},_0x4c39bb[_0x2f2029(0x35d)][_0x2f2029(0x2d8)];}));}(et)),et[_0x235070(0xda)];}var dr=ur();const fr=je(dr);function vr(_0x2387ed,_0xebeedd){var _0x5a0057=_0x4a7741;const _0x5922fe=_0xebeedd-_0x2387ed[_0x5a0057(0x2f8)]%_0xebeedd,_0x3eadca=String[_0x5a0057(0x174)](_0x5922fe)[_0x5a0057(0x351)](_0x5922fe);return _0x2387ed+_0x3eadca;}function pr(_0x4552a2,_0x3dcd6a){var _0x3995c7=_0x4a7741;const _0x1c7ecc=_r['random'](0x10),_0x1f779f=vr(_0x4552a2,0x10),_0x126047=tr[_0x3995c7(0x21c)](or[_0x3995c7(0xd5)](_0x1f779f),ai[_0x3995c7(0xd5)](_0x3dcd6a),{'iv':_0x1c7ecc,'padding':fr});return _0x1c7ecc[_0x3995c7(0x105)](_0x126047[_0x3995c7(0x176)])[_0x3995c7(0x2d3)](ai);}function mr(){var _0x53e546=_0x4a7741;const _0xdf8abe=_0x424ade()['__Key__'];if(_0xdf8abe){const _0x49c5ea={'time':Math['floor'](Date[_0x53e546(0x2b6)]()/0x3e8),'domain':location[_0x53e546(0x225)]};return pr(JSON[_0x53e546(0x32d)](_0x49c5ea),_0xdf8abe);}}var gr=Object[_0x4a7741(0x1ac)],Sr=Object[_0x4a7741(0xf3)],Er=(_0x2ab1b1,_0x40a614,_0x5401af,_0x1e68f4)=>{for(var _0x5beaef=_0x1e68f4>0x1?void 0x0:_0x1e68f4?Sr(_0x40a614,_0x5401af):_0x40a614,_0x199ec5=_0x2ab1b1['length']-0x1,_0x547bb5;_0x199ec5>=0x0;_0x199ec5--)(_0x547bb5=_0x2ab1b1[_0x199ec5])&&(_0x5beaef=(_0x1e68f4?_0x547bb5(_0x40a614,_0x5401af,_0x5beaef):_0x547bb5(_0x5beaef))||_0x5beaef);return _0x1e68f4&&_0x5beaef&&gr(_0x40a614,_0x5401af,_0x5beaef),_0x5beaef;},Ir=(_0x137749,_0x24901b)=>(_0xed2ece,_0x2a6147)=>_0x24901b(_0xed2ece,_0x2a6147,_0x137749);let at=class{constructor(_0x12dc94){var _0x1f5a52=_0x4a7741;this[_0x1f5a52(0x28b)]=_0x12dc94,this[_0x1f5a52(0x1fe)]();}[_0x4a7741(0x1fe)](){var _0x455dab=_0x4a7741;this[_0x455dab(0x28b)][_0x455dab(0x361)]({'interceptor':(_0x156a90,_0x2074c6)=>{var _0x478621=_0x455dab;const _0x441a97=_0x156a90[_0x478621(0x18a)],_0x27732e=mr();return _0x27732e&&_0x441a97[_0x478621(0x255)]('x-univer-host',_0x27732e),_0x2074c6(_0x156a90);}});}};at=Er([Ir(0x0,_0x33b12a(_0x23500e))],at);var Tr=Object[_0x4a7741(0x1ac)],Cr=Object['getOwnPropertyDescriptor'],br=(_0x49a356,_0x153dd5,_0x103d33,_0x3165f3)=>{var _0x32579f=_0x4a7741;for(var _0x125661=_0x3165f3>0x1?void 0x0:_0x3165f3?Cr(_0x153dd5,_0x103d33):_0x153dd5,_0x1ffad3=_0x49a356[_0x32579f(0x2f8)]-0x1,_0x3af824;_0x1ffad3>=0x0;_0x1ffad3--)(_0x3af824=_0x49a356[_0x1ffad3])&&(_0x125661=(_0x3165f3?_0x3af824(_0x153dd5,_0x103d33,_0x125661):_0x3af824(_0x125661))||_0x125661);return _0x3165f3&&_0x125661&&Tr(_0x153dd5,_0x103d33,_0x125661),_0x125661;},gt=(_0x4c84ce,_0x93f447)=>(_0x26fea1,_0x2d1246)=>_0x93f447(_0x26fea1,_0x2d1246,_0x4c84ce);let Ot=class extends _0x537d0d{constructor(_0x34985a,_0x3bd320,_0x2253e3){var _0x513de1=_0x4a7741;super(),D(this,'_unitInfo$',new _0x5c2168(null)),D(this,_0x513de1(0x230),this[_0x513de1(0x1ab)][_0x513de1(0x202)]()),(this['_logService']=_0x34985a,this[_0x513de1(0x17a)]=_0x3bd320,this['_localCacheService']=_0x2253e3);}async[_0x4a7741(0x1be)](_0x3ca105,_0x559ae6,_0x1775e2){var _0x54db20=_0x4a7741;this['_unitInfo$'][_0x54db20(0x2c1)]({'unitId':_0x3ca105,'type':_0x559ae6,'subUnitId':_0x1775e2});let _0x3bcbe4=null;switch(_0x559ae6){case Q[_0x54db20(0x19f)]:{_0x3bcbe4=await this[_0x54db20(0x2f6)](_0x3ca105);break;}case Q[_0x54db20(0x31a)]:{_0x3bcbe4=await this[_0x54db20(0xbf)](_0x3ca105);break;}default:{this[_0x54db20(0xfa)][_0x54db20(0x155)](_0x54db20(0x175),_0x54db20(0x332));break;}}return _0x3bcbe4;}async[_0x4a7741(0x2f6)](_0x5b1a28){var _0x344692=_0x4a7741,_0x2a949b;let _0x34a9b1=0x0;const _0x14bcc3=await((_0x2a949b=this[_0x344692(0x38b)])==null?void 0x0:_0x2a949b['loadOfflineData'](_0x5b1a28));return _0x14bcc3&&(_0x14bcc3[_0x344692(0x294)]||_0x14bcc3[_0x344692(0xfe)][_0x344692(0x2f8)]!==0x0)&&(_0x34a9b1=_0x14bcc3[_0x344692(0x224)]),_0x34a9b1===0x0&&this['_logService'][_0x344692(0x1b8)]('[DataLoaderService]',_0x344692(0xbe)),this[_0x344692(0x17a)][_0x344692(0x15b)](_0x5b1a28,_0x34a9b1);}async[_0x4a7741(0xbf)](_0x51d641){var _0x398656=_0x4a7741,_0xc3d3fe;let _0x58d5b9=0x0;const _0x2f55bf=await((_0xc3d3fe=this[_0x398656(0x38b)])==null?void 0x0:_0xc3d3fe[_0x398656(0x9f)](_0x51d641));return _0x2f55bf&&(_0x2f55bf[_0x398656(0x294)]||_0x2f55bf[_0x398656(0xfe)]['length']!==0x0)&&(_0x58d5b9=_0x2f55bf[_0x398656(0x224)]),_0x58d5b9===0x0&&this['_logService'][_0x398656(0x1b8)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x398656(0x17a)]['loadDoc'](_0x51d641,_0x58d5b9);}};Ot=br([gt(0x0,_0x15afa6),gt(0x1,_0x33b12a(_0x193336)),gt(0x2,_0x13a27c(X))],Ot);var Rr=Object[_0x4a7741(0x1ac)],yr=Object[_0x4a7741(0xf3)],Or=(_0x45b6ab,_0x5ec195,_0x441904,_0x567107)=>{for(var _0x43fb37=_0x567107>0x1?void 0x0:_0x567107?yr(_0x5ec195,_0x441904):_0x5ec195,_0x28ddec=_0x45b6ab['length']-0x1,_0x342176;_0x28ddec>=0x0;_0x28ddec--)(_0x342176=_0x45b6ab[_0x28ddec])&&(_0x43fb37=(_0x567107?_0x342176(_0x5ec195,_0x441904,_0x43fb37):_0x342176(_0x43fb37))||_0x43fb37);return _0x567107&&_0x43fb37&&Rr(_0x5ec195,_0x441904,_0x43fb37),_0x43fb37;},St=(_0x39f9b5,_0x4dc643)=>(_0x175b11,_0x57d50b)=>_0x4dc643(_0x175b11,_0x57d50b,_0x39f9b5);const Pr=[_0x4a7741(0x1c4),_0x4a7741(0x13c),_0x4a7741(0x121),_0x4a7741(0xc5),_0x4a7741(0x296)],Nr=0x5*0x400*0x400,Dr=_0x4a7741(0xf7),wr=_0x4a7741(0xc3),Ur=_0x4a7741(0x2ab),Ar='/universer-api/file/{fileID}/sign-url';let Pt=class{constructor(_0x8ed5d8,_0x4aa153,_0x2444d4){var _0x28bed5=_0x4a7741;D(this,_0x28bed5(0xa6),0x0),D(this,_0x28bed5(0x2f7),new _0x2001de()),D(this,_0x28bed5(0x11e),this[_0x28bed5(0x2f7)]),D(this,_0x28bed5(0x1e3),new Map()),(this[_0x28bed5(0x28b)]=_0x8ed5d8,this[_0x28bed5(0x321)]=_0x4aa153,this[_0x28bed5(0x178)]=_0x2444d4);}['setWaitCount'](_0x5e59e9){var _0x11e7af=_0x4a7741;this[_0x11e7af(0xa6)]=_0x5e59e9,this[_0x11e7af(0x2f7)]['next'](_0x5e59e9);}['getImageSourceCache'](_0x35337f,_0x3f1f01){var _0x5bf357=_0x4a7741;if(_0x3f1f01===_0x2ca127[_0x5bf357(0x2e0)]){const _0x5611ba=new Image();return _0x5611ba[_0x5bf357(0x1d2)]=_0x35337f,_0x5611ba;}return this[_0x5bf357(0x1e3)][_0x5bf357(0x21f)](_0x35337f);}[_0x4a7741(0x1f1)](_0x1fdaa7,_0xda52cf,_0x3c8c4b){var _0x4fd2cf=_0x4a7741;_0xda52cf===_0x2ca127['BASE64']||_0x3c8c4b==null||this[_0x4fd2cf(0x1e3)][_0x4fd2cf(0x255)](_0x1fdaa7,_0x3c8c4b);}async[_0x4a7741(0x10b)](_0x486c6c){var _0x5703e8=_0x4a7741;try{const _0x11019a=this[_0x5703e8(0x303)](this[_0x5703e8(0x1a8)](),''+_0x486c6c),_0x387519=(await this[_0x5703e8(0x28b)][_0x5703e8(0x21f)](_0x11019a))['body'];if(_0x387519[_0x5703e8(0x155)]&&_0x387519[_0x5703e8(0x155)][_0x5703e8(0x23f)]===Ii['OK']){const _0x15f84e=new URL(_0x387519['url'],this[_0x5703e8(0x342)]())['toString']();return Promise[_0x5703e8(0x264)](_0x15f84e);}return Promise['reject'](_0x387519[_0x5703e8(0x155)]);}catch(_0x57da13){return Promise['reject'](_0x57da13);}}async[_0x4a7741(0x311)](_0x2dbc66){var _0x5b15c4=_0x4a7741;let _0x3c2085='';if(!Pr[_0x5b15c4(0x301)](_0x2dbc66[_0x5b15c4(0x27a)]))return this[_0x5b15c4(0x22b)](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899['ERROR_IMAGE_TYPE']));if(_0x2dbc66[_0x5b15c4(0x221)]>Nr)return this[_0x5b15c4(0x22b)](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899[_0x5b15c4(0x2e6)]));try{const _0xe690a0=new FormData();_0xe690a0[_0x5b15c4(0x284)](_0x5b15c4(0x309),_0x2dbc66);const _0x24af81=this[_0x5b15c4(0x178)][_0x5b15c4(0x1b4)](),_0x3bd55a=_0x24af81==null?void 0x0:_0x24af81[_0x5b15c4(0x2a4)]();if(!_0x3bd55a)throw new Error(_0x5b15c4(0x38d));const _0x325258=this[_0x5b15c4(0xd7)]()+'?size='+_0x2dbc66[_0x5b15c4(0x221)][_0x5b15c4(0x2d3)]()+_0x5b15c4(0x2ca)+Ti[_0x5b15c4(0x163)]+'&assign='+encodeURIComponent(_0x3bd55a),_0x3f8d6c=await(await fetch(_0x325258,{'method':_0x5b15c4(0x339),'body':_0xe690a0}))[_0x5b15c4(0x219)]();if(typeof _0x3f8d6c[_0x5b15c4(0x22c)]!='string')return this['_decreaseWaiting'](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899[_0x5b15c4(0x1b7)]));_0x3c2085=_0x3f8d6c[_0x5b15c4(0x22c)];}catch{return this[_0x5b15c4(0x22b)](),Promise[_0x5b15c4(0x16f)](new Error(_0x306899[_0x5b15c4(0x1b7)]));}return new Promise((_0x1b887d,_0x324edc)=>{var _0x2baddb=_0x5b15c4;const _0x33f5d5=new FileReader();_0x33f5d5[_0x2baddb(0x24a)](_0x2dbc66),_0x33f5d5[_0x2baddb(0x16d)]=_0x3cdc19=>{var _0x1e73a9=_0x2baddb,_0x178cf0;const _0x1efe5f=(_0x178cf0=_0x3cdc19[_0x1e73a9(0x114)])==null?void 0x0:_0x178cf0['result'];if(_0x1efe5f==null){this[_0x1e73a9(0x22b)](),_0x324edc(new Error(_0x306899[_0x1e73a9(0x1b7)]));return;}const _0x46a7fb=_0x41d2de[_0x1e73a9(0x330)](0x6);_0x1b887d({'imageId':_0x46a7fb,'imageSourceType':_0x2ca127[_0x1e73a9(0x31c)],'source':_0x3c2085,'base64Cache':_0x1efe5f,'status':_0x306899['SUCCUSS']}),this[_0x1e73a9(0x22b)]();};});}['_getUploadFileURL'](){var _0x1b82a6=_0x4a7741,_0x3ea0cd,_0x183e7c;const _0x5b7816=this[_0x1b82a6(0x321)][_0x1b82a6(0x399)](Dr),_0x15a8e3=this[_0x1b82a6(0x321)][_0x1b82a6(0x399)](Y);return(_0x183e7c=(_0x3ea0cd=_0x15a8e3==null?void 0x0:_0x15a8e3[_0x1b82a6(0x1eb)])!=null?_0x3ea0cd:_0x5b7816)!=null?_0x183e7c:wr;}[_0x4a7741(0x1a8)](){var _0x3a91fb=_0x4a7741,_0x147ea6,_0x3739a5;const _0x438e6d=this['_configService'][_0x3a91fb(0x399)](Ur),_0x224b29=this[_0x3a91fb(0x321)]['getConfig'](Y);return(_0x3739a5=(_0x147ea6=_0x224b29==null?void 0x0:_0x224b29[_0x3a91fb(0x101)])!=null?_0x147ea6:_0x438e6d)!=null?_0x3739a5:Ar;}[_0x4a7741(0x342)](){var _0x261e47=_0x4a7741,_0x41d79c;const _0x150017=this['_configService'][_0x261e47(0x399)](Y);return(_0x41d79c=_0x150017==null?void 0x0:_0x150017[_0x261e47(0xb2)])!=null?_0x41d79c:location[_0x261e47(0x188)];}[_0x4a7741(0x303)](_0x879635,_0x640650){var _0x1396c6=_0x4a7741;return _0x879635['replace'](_0x1396c6(0x17d),_0x640650);}[_0x4a7741(0x22b)](){var _0x4e56bd=_0x4a7741;this[_0x4e56bd(0xa6)]-=0x1,this[_0x4e56bd(0x2f7)][_0x4e56bd(0x2c1)](this['_waitCount']);}};Pt=Or([St(0x0,_0x33b12a(_0x23500e)),St(0x1,_0x243586),St(0x2,_0x33b12a(_0x249ac8))],Pt);var xr=Object[_0x4a7741(0x1ac)],Lr=Object[_0x4a7741(0xf3)],Mr=(_0x2a9536,_0x73054b,_0x4f96b7,_0x391da1)=>{var _0x45a44f=_0x4a7741;for(var _0x391ab9=_0x391da1>0x1?void 0x0:_0x391da1?Lr(_0x73054b,_0x4f96b7):_0x73054b,_0x1d131f=_0x2a9536[_0x45a44f(0x2f8)]-0x1,_0x1e212e;_0x1d131f>=0x0;_0x1d131f--)(_0x1e212e=_0x2a9536[_0x1d131f])&&(_0x391ab9=(_0x391da1?_0x1e212e(_0x73054b,_0x4f96b7,_0x391ab9):_0x1e212e(_0x391ab9))||_0x391ab9);return _0x391da1&&_0x391ab9&&xr(_0x73054b,_0x4f96b7,_0x391ab9),_0x391ab9;},li=(_0xc93f1e,_0x1e7975)=>(_0xbdc4a5,_0x12b722)=>_0x1e7975(_0xbdc4a5,_0x12b722,_0xc93f1e);const $r=_0x4a7741(0x26d);let Nt=class{constructor(_0xa7521f,_0x2c0853){var _0x31d111=_0x4a7741;this[_0x31d111(0x321)]=_0xa7521f,this[_0x31d111(0x30d)]=_0x2c0853;}[_0x4a7741(0xcd)](){var _0x489e48=_0x4a7741,_0xec8d0a,_0x382452;const _0x3b6029=this[_0x489e48(0x321)]['getConfig'](Di),_0x2439f2=this[_0x489e48(0x321)][_0x489e48(0x399)](Y);return(_0x382452=(_0xec8d0a=_0x2439f2==null?void 0x0:_0x2439f2[_0x489e48(0x398)])!=null?_0xec8d0a:_0x3b6029)!=null?_0x382452:$r;}async[_0x4a7741(0x365)](_0xdb2220){var _0x28b102=_0x4a7741;const _0x5dee23=this[_0x28b102(0xcd)]()+'/collaborator';return{'list':[{'title':_0x28b102(0x36a),'mentions':(await this[_0x28b102(0x30d)][_0x28b102(0x21f)](_0x5dee23,{'params':{'objectID':_0xdb2220[_0x28b102(0x29d)],'unitID':_0xdb2220[_0x28b102(0x29d)]}}))['body']['collaborators']['map'](_0x45f82d=>({'objectId':_0x45f82d['id'],'name':_0x45f82d[_0x28b102(0x291)][_0x28b102(0xb6)],'metadata':{'icon':_0x45f82d[_0x28b102(0x291)][_0x28b102(0x2ba)]},'label':_0x45f82d[_0x28b102(0x291)][_0x28b102(0xb6)],'objectType':_0x5b24af[_0x28b102(0xa9)]})),'metadata':{},'type':_0x5b24af['PERSON']}]};}};Nt=Mr([li(0x0,_0x33b12a(_0x243586)),li(0x1,_0x33b12a(_0x23500e))],Nt);function _0x165a(){var _0x268432=['JOINING','BASE64','readyForCollab','_scheduleCollaborationTimeoutTimer','_removeRoom','action','symbol','ERROR_EXCEED_SIZE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','c1Prime','dispose$','delete','HttpImport','_xformMode','YUUMI_URL_COL_OUT_OF_RANGE','_onConnectionFailed','SNAPSHOT_SERVER_URL_KEY','from','[CollaborationSessionService]:\x20socket\x20error','_handlerCallback','objectType','onStarting','INGEST','_loadSheet','_change$','length','requestParams','AES','incrementRevOfUnit','collabWebSocketUrl','blockSize','?url=','onTransformSelections','onMissedChangesetFetched','includes','getUnit','_replaceFileID','Hasher','MD5','[FetchMissState]','_onRemoteRetry','_clearHeartbeatTimer','file','_keySchedule','eventID','17886468uybVUf','_HTTPService','NO_OTHER_CLIENTS_EDITING','sessionStatus$','_permissionService','saveImage','/new_changes','send','encryptBlock','onCommandExecuted','csRejEvent','fetch_missing','[SyncedState]:\x20received\x20rejection.','changesets','UNIVER_DOC','onRemoteChangeset','UUID','_redoStacks','call','baseRev','SOCKET_FAILED_RETRY','_configService','_hasher','_onRecvEvent','onSyncEditingCollabCursor','COMPRESS_MUTATION_APPLY','YUUMI_RATE_OVER_LIMIT','setConfig','APPLY_NON_SEQUENTIAL_REVISION','ONLINE','updateOfflineData','keySize','_resendTimeout','stringify','collaMsg','COMMENT_UPDATE','generateRandomId','Error\x20on\x20receiving\x20event','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fetchThroughInterceptors','clamp','failed\x20to\x20apply\x20missed\x20changesets!','/unit/','textRanges','_waitForHeartbeatResponse','POST','getTargetByPermissionId','_acknowledgedAwaitingChangeset','_http','data','retryConnectingInterval','_getRedoStack','_mode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_getDownloadEndpointURL','session.room-full','createEncryptor','SNAPSHOT_URL_KEY','APPLY_REJECT','_config','getPermissionPoint','salt','cmd','appendMutation','LICENSE_EXPORT_SIZE_EXCEEDED','CHANGESET_SHOULD_RETRY','onCommentUpdate','_registerDependencies','complete','repeat','compute','_onRemoteACK','permissionRejEvent','_incrementRevisionNumber','18SnYzcU','capture','execute','focused$','pipe','crypto','padding','pad','close$','_toggleOffline','actions','registerHTTPInterceptor','onRemoteRetry','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','reduce','list','PERMISSION_REJ','_substituteUndoStack','onLocalMutation','error$','People','[OfflineState]:\x20received\x20acknowledgement.','_initCloseConn','RETRY_CONNECTING_MAX_COUNT','_state','conflict','JOIN_ROOM_FULL','SYNCED','&to=','map','originalMeta','_collaborationPaused','_sheetTransformSelectionsService','byteOffset','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_PERMISSION_OBJ','listRoles','Workbook','_syncEditingCollabCursor','_transformUndoredo','288QGZLPZ','MUTATION','_data','_onJoinRoomEvent','AWAITING_WITH_PENDING','_showConflictNotification','_singleActiveUnitService','join','7MpGAdD','subType','_sendHeartbeatTimer','_sessions','YUUMI_UNABLE_LOAD_URL','_localCacheService','submit\x20changeset\x20error!','unitId\x20is\x20not\x20found','onRemoteAck','message$','_createInitialStateImpl','_doCryptBlock','SHOULD_CLOSE_CONN','_transformSelections','startsWith','m2Prime','event$','roomInfos','authzUrl','getConfig','[PendingState]:\x20received\x20rejection.','_initUnitPermissionChange','sid','collaboratorID','getUnitOnRev','_clearRedo','resend','clone','_joinRoom','startTime','hasher','forEach','HMAC','slice','min','_roomMembers','_reverseMap','_transformService','socket\x20close','string','status$','getRoom','_scheduleTimestamp','loadOfflineData','_createSocketURL','LICENSE_DISTRO_REJECTED','getInterceptPoints','open$','_hash','unpad','_waitCount','SUBMIT_CHANGESET_TIMEOUT','collaboration_new_changeset','PERSON','JOIN','getTypeOfUnitAdded$','JOIN_ROOM_PERMISSION_DENIED','APPLY_REVISION_CONFILICT','SUBMIT_CHANGESET','[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.','_networkConditionService','decryptBlock','downloadEndpointUrl','awaiting_with_pending','ws://127.0.0.1:8000/universer-api/comb/connect','_commentService','name','_getCurrentRevision','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','commentUpdateEvent','_throwTelemetryCollaborationNewChangeset','location','[UniverCollaborationClientPlugin]','key','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_loadDoc','_submitChangeset','_snapshotServerService','liveShareNewHost','/universer-api/stream/file/upload','StreamCipher','image/gif','params','[PendingState]:\x20received\x20acknowledgement.','_changesetReqId','_timeoutTimer','HEARTBEAT_INTERVAL','_transformStack','synced','_getAPIPrefixPath','cfg','_resendWithTimeout','22dvfFtk','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','not_collab','update','_commandService','parse','Univer','_getUploadFileURL','_transformRemoteChangesetByIMECache','onlyLocal','exports','\x0aCurrent:\x20','connection\x20error','isArray','session.join-failed','reqId','HELLO','_createSocket','SHA1','rng','UPDATE_CURSOR','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_createInitialState','floor','_updateLocalCache','_minBufferSize','_remoteChangesetQueue','snapshot','[CollaborationUndoRedoService]','getMemberID','CONFLICT','push','iterations','getTypeOfUnitDisposed$','reverse','getOwnPropertyDescriptor','randomBytes','reconnect','_onUserJoin','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','value','reset','_logService','enableSingleActiveInstanceLock','getCurrentUser','OTHER_CLIENT_EDITING','mutations','/universer-api/oidc/authpage','_collabSessionService','signUrlServerUrl','_unlockTransition','wsSessionTicketUrl','updateCursorEvent','concat','_revisionService','max','infoRsp','_tryEnsureSocket','onSendChangeset','getImage','compose','toggleOffline','_sessionStatus$','commentUpdate$','67782HEYVXS','onMissingChangesets','toLowerCase','_disableEditing','target','patch','PSEUDO_FETCH_MISSING_RESULT','_onMessage','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','csAckEvent','shouldCloseConn','OPTIONAL','/collaborator','_onConflict','change$','_event$','[CollaborationSession]','image/jpg','PasswordBasedCipher','INVALID_ARGUMENT','_stopTelemetryCollaborationNewChangeset','SNAPSHOT_HAS_BEEN_REMOVED','_resendTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','allowed','onStateChange','getWorkbookSelections','_instanceService','_listenToNetworkCondition','runId','isPermissionRej','stopTime','unsubscribe','_socket$','Latin1','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','encodeURIComponent','then','PENDING','_iKey','_getLoginPath','7157408VQokea','_clearScheduledTask','setShowComponents','image/jpeg','_transitionLocked','_type','_pendingMutations','UNISCRIPT_RUN','\x20to\x20','close','CHANGESET_ACK','_getSendChangesetTimeout','pending','indexOf','HEARTBEAT','Base64','_invKeySchedule','UNIVER_UNKNOWN','_process','Decryptor','_collaborationSessionService','_nRounds','closeSession','_sender','/universer-api/user/session-ticket','collabSubmitChangesetUrl','getCollabEntity$','sessionTicket','error','function','body','duration','getMember','Base','loadSheet','UNKNOWN_CODE','BlockCipher','_init','_socketService','Cipher','\x20-\x20','socketService','UnitEmbedded','onTransformIME','_localeService','IDLE','_startCollaboration','_entities','words','save\x20fail\x20reason\x20is\x20','/rev/','COMPRESS_MUTATION_SEND','onload','[SyncedState]:\x20received\x20acknowledgement.','reject','collaboration-client.config','initWorkbookPermissionChange','CHANGESET_REJ','[CollaborationSessionService]','fromCharCode','[DataLoaderService]','ciphertext','fetchMiss','_univerInstanceService','formatter','_snapshotService','getDeserializedSheetBlock','onTransformState','{fileID}','_fetchMissChangesets','title','_collaborationTimeoutTimer','_userManagerService','_oKey','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','randomUUID','_awaitingChangeset','_onLocalMutation','9668uoQPGN','origin','clearUndoRedo','headers','onRemoteRej','_substituteRedoStack','_rescheduleHeartbeat','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','BufferedBlockAlgorithm','_getSessionTicket','removeMember','mode','OpenSSL','sendChangesetTimeout','Worksheet','localeService','_clearTimeoutTimer','subUnitId','_eventService','interceptor','liveShareOperation','updateCollaborator','unitID','_transformStateCache','UNIVER_SHEET','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformRemoteChangesetByStateCache','finalize','getLatestCsReqIdBySid','values','snapshotServerUrl','SNAPSHOT_INVALID_SNAPSHOT','OFFLINE','_getSignURL','DEFAULT_FILE_NAME','_createHandler','_unitInfo$','defineProperty','findIndex','fromCollab','transformMutationsWithChangeset','_undoRedoService','transformUndoRedo','RECV','algo','getFocusedUnit','socket$','UNIVER_COLLABORATION_CLIENT_PLUGIN','ERROR_IMAGE','debug','executeCommand','subscribe','updateMember','_clearLocalCache','fetchMissingChangesets','loadUnit','state$','refreshPermission','_handler','decrypt','toggleOnline','image/png','_onCombEvent','Malformed\x20UTF-8\x20data','_onOffline','offline','BlockCipherMode','Encryptor','catch','getCurrentRevOfUnit','bind','status','sigBytes','routeKey','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','src','USERS_ENTER','buffer','members','HmacMD5','create','EvpKDF','awaiting','_shouldReportTelemetry','USERS_LEAVE','has','_compressMutationService','entries','_queuedRemoteChangesets','random','charAt','unit-cache-','_imageSourceCache','JOIN_ROOM_NOT_EXISTS','_state$','_memberService','csShouldRetryEvent','collaboration-client.local-cache-service','pauseCollaboration','1293dxClBL','uploadFileServerUrl','prototype','_telemetryInfo','hasOwnProperty','/block/','_status$','addImageSourceCache','CBC','_socketMessageSubscription','kdf','find','getSnapshotAPIPath','add','memberID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_checkMissing','_parse','workbook','every','_initRequestHeader','_onRemoteChangeset','UnitSnapshot','saveChangeset','asObservable','FAIL','userID','_applyRemoteChangeset','LIVESHARE_REQUEST_HOST','LIVESHARE_NEW_HOST','_exhaustRemoteChangesetQueue','unknown','_onRemoteRejected','_doFinalize','disableLocalCache','JOIN_ROOM_FAILED','collaborators','LICENSE_MAX_UNITS_EXCEEDED','getTime','PERMISSION_DENIED','result','WordArray','/object/','objects','session','_retryConnectingTimer','session.room-permission-denied','json','Utf8','telemetry\x20info\x20is\x20not\x20initialized','encrypt','10930DCDAhX','_ENC_XFORM_MODE','get','batchAllowed','size','localCacheService','ENSURE_SNAPSHOT_EXECUTION','rev','hostname','ceil','extend','deepClone','clear','processBlock','_decreaseWaiting','FileId','state','COMPLETION_FINISHED','createDecryptor','unitInfo$','__creator','_initMergeInterceptor','charCodeAt','getValue','_changesetSessionId','UNRECOGNIZED','/universer-api/snapshot/','format','range','ALREADY_EXISTS','_members','\x0aAfter:\x20','byteLength','splice','code','_authzIoService','/role','NOT_FOUND','sessionStatus','\x20in\x20_schedule.','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','objectID','univer-pro.collaboration-client-socket-service','getRandomValues','disposeWithMe','readAsDataURL','379890uipQrd','CLOSE_ROOM','_nDataBytes','onTransformRemoteChangesetByStateCache','url','_map','/universer-api/comb','_socket','editing\x20status\x20changed\x20to','_onFetchMissResult','set','_startTelemetryCollaborationNewChangeset','enableOfflineEditing','LIVESHARE_OPERATION','transformSelections','_clearCollaborationTimeoutTimer','createSocket','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CONNECTOR_DATA_TOO_LARGE','NEW_CHANGESETS','_getCtorByUniverType','APPLY_PERMISSION_DENIED','/allowed','_unitID','_sendingTimer','resolve','_prevBlock','_sendHeartbeat','UNKNOWN_CMD','156556CvzyUX','CipherParams','msCrypto','session.room-cnt-exceeds','_socketReady','/universer-api/authz','createInstance','pluginName','joinEvent','substr','_replayCachedMutations','[CollaborationState]:\x20apply\x20error!','_onConnectionOpen','LIVESHARE_FETCH_OPERATIONS','_append','newCsEvent','CHANGESET_REVISION_CONFILICT','method','type','LIVESHARE_TERMINATE','_initDependencies','enc','post','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INTERNAL_ERROR','_cipher','_createHelper','_retryCount','append','_tryReconnect','Undefined','createCollaborator','UNIVER_SLIDE','_executeRemoteChangeset','saveSheetBlock','_httpService','_createHmacHelper','selections','HttpExport','_schedule','_updateState','subject','_keyPriorReset','dispose','awaitingChangeset','leaveEvent','image/bmp','emitEvent','UNDEFINED','onTransformRemoteChangesetByIMECache','UNAUTHENTICATED','/-/object/-/batch_allowed','_key','unitId','listCollaborators','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','TOO_MANY_REQUESTS','_iv','deleteCollaborator','requireSession','getUnitId','UNIVER_PROJECT','session.room-not-exists','ticket','_candidateSocket','APPLY_DUPLICATED','_toggleOnline','EXCHANGE_SIGN_URL_SERVER_URL_KEY','transformChangesets','_DEC_XFORM_MODE','encode','_getAPIPrefix','HEARTBEAT_TIMEOUT','override','Hex','COLLAB_WEB_SOCKET_URL','AWAITING','sheets','now','resourceIDs','init','_transformIMECache','avatar','revision','GLOBAL_ROOMS_CNT_EXCEEDS','uniscriptRunEvent','MSG_FOR_ERROR','setCurrentUser','LEAVE','next','apply','updatePermissionPoint','LOGIN_URL_KEY','[CollaborationEntity]','_lockTransition','put','auth.needGotoLoginAlert','mixIn','&source=','OTHER_CLIENTS_EDITING','_collaborationUIEventService','filter','c2Prime','getCollabEntity','lib','_updateStatus','_onUserLeave','toString','_entityInit$','default','searchParams','_telemetryService','NoPadding','_commentUpdate$','_injector','withCredentials','ruleRefresh','_clearUndo','_isPermissionRej'];_0x165a=function(){return _0x268432;};return _0x165a();}var Hr=Object[_0x4a7741(0x1ac)],kr=Object[_0x4a7741(0xf3)],jr=(_0x29d442,_0x2d1216,_0x5d3414,_0x275a13)=>{var _0x3216e5=_0x4a7741;for(var _0x1b19e2=_0x275a13>0x1?void 0x0:_0x275a13?kr(_0x2d1216,_0x5d3414):_0x2d1216,_0x2c9c6c=_0x29d442[_0x3216e5(0x2f8)]-0x1,_0x4a974d;_0x2c9c6c>=0x0;_0x2c9c6c--)(_0x4a974d=_0x29d442[_0x2c9c6c])&&(_0x1b19e2=(_0x275a13?_0x4a974d(_0x2d1216,_0x5d3414,_0x1b19e2):_0x4a974d(_0x1b19e2))||_0x1b19e2);return _0x275a13&&_0x1b19e2&&Hr(_0x2d1216,_0x5d3414,_0x1b19e2),_0x1b19e2;},Se=(_0x98f42f,_0x3e6475)=>(_0x18f73a,_0x335a43)=>_0x3e6475(_0x18f73a,_0x335a43,_0x98f42f);let ct=class extends _0x537d0d{constructor(_0x3036e4,_0x27168b,_0x3ec21f,_0x1663ae,_0x276501,_0x1466af,_0x14c54a){var _0xcf166a=_0x4a7741;super(),this[_0xcf166a(0x2da)]=_0x3036e4,this[_0xcf166a(0x178)]=_0x27168b,this[_0xcf166a(0x310)]=_0x3ec21f,this[_0xcf166a(0x14d)]=_0x1663ae,this[_0xcf166a(0x2cc)]=_0x276501,this['_authzIoService']=_0x1466af,this[_0xcf166a(0x1b0)]=_0x14c54a,this[_0xcf166a(0x39b)](),this[_0xcf166a(0x36c)]();}[_0x4a7741(0x36c)](){var _0x18821c=_0x4a7741;const _0xf870df=async _0x9dafee=>{var _0x29c7b6=_0xda85;(await this[_0x29c7b6(0x14d)][_0x29c7b6(0x2a3)](_0x9dafee))[_0x29c7b6(0x396)][_0x29c7b6(0x35a)](_0x239d59(_0x4ba7a2=>_0x4ba7a2[_0x29c7b6(0x30b)]===_0x3c0549[_0x29c7b6(0x392)]),_0x56c3fb(this['dispose$']))[_0x29c7b6(0x1ba)](_0x5707dc=>{var _0x5e65b5=_0x29c7b6;const _0xf130eb=_0x5707dc,{reason:_0x462b17}=_0xf130eb[_0x5e65b5(0x33d)];this[_0x5e65b5(0x2cc)][_0x5e65b5(0x297)]({'id':se[_0x5e65b5(0x24c)],'data':_0x462b17}),this[_0x5e65b5(0x310)][_0x5e65b5(0x2c3)](new _0xcb920c(_0x9dafee)['id'],!0x1),this[_0x5e65b5(0x14d)][_0x5e65b5(0x14f)](_0x9dafee);});};_0x142a02(this['_univerInstanceService'][_0x18821c(0xab)](_0x2adb8a[_0x18821c(0x19f)]),this[_0x18821c(0x178)][_0x18821c(0xab)](_0x2adb8a['UNIVER_DOC']))['pipe'](_0x55950a(_0x695adf=>_0x695adf[_0x18821c(0x2a4)]()),_0x239d59(_0x28bceb=>!_0x3623b7(_0x28bceb)),_0x56c3fb(this[_0x18821c(0x2e9)]))[_0x18821c(0x1ba)](_0x4f3fac=>{_0xf870df(_0x4f3fac);});}['_initUnitPermissionChange'](){var _0x19fe1d=_0x4a7741;const _0x1a2b14=async _0x385bb3=>{var _0x1430e5=_0xda85;(await this[_0x1430e5(0x14d)][_0x1430e5(0x2a3)](_0x385bb3))[_0x1430e5(0x396)][_0x1430e5(0x35a)](_0x239d59(_0x5ab95e=>_0x5ab95e[_0x1430e5(0x30b)]===_0x3c0549[_0x1430e5(0x379)]),_0x56c3fb(this[_0x1430e5(0x2e9)]))['subscribe'](_0x12865a=>{var _0x5c97c7=_0x1430e5;const _0x5278a4=_0x12865a,{objectId:_0x356c4c}=_0x5278a4[_0x5c97c7(0x33d)];_0x356c4c===_0x385bb3?this[_0x5c97c7(0x171)](_0x385bb3):this[_0x5c97c7(0x1c0)](_0x385bb3,_0x356c4c);});};_0x142a02(this['_univerInstanceService'][_0x19fe1d(0xab)](_0x2adb8a[_0x19fe1d(0x19f)]),this['_univerInstanceService'][_0x19fe1d(0xab)](_0x2adb8a['UNIVER_DOC']))[_0x19fe1d(0x35a)](_0x55950a(_0x3a61ba=>_0x3a61ba[_0x19fe1d(0x2a4)]()),_0x239d59(_0x4879f8=>!_0x3623b7(_0x4879f8)),_0x56c3fb(this[_0x19fe1d(0x2e9)]))[_0x19fe1d(0x1ba)](_0x36c2c2=>{_0x1a2b14(_0x36c2c2);});}async[_0x4a7741(0x171)](_0x115c69){var _0x11c60b=_0x4a7741,_0x47238e;const _0x4a18f0=_0x115c69||((_0x47238e=this[_0x11c60b(0x178)]['getCurrentUnitForType'](_0x2adb8a['UNIVER_SHEET']))==null?void 0x0:_0x47238e[_0x11c60b(0x2a4)]());_0x4a18f0&&this[_0x11c60b(0x240)][_0x11c60b(0x128)]({'objectID':_0x4a18f0,'objectType':_0x517e95[_0x11c60b(0x37b)],'unitID':_0x4a18f0,'actions':_0x926464})[_0x11c60b(0x135)](_0x3661f7=>{var _0x317058=_0x11c60b;_0x920e54()[_0x317058(0x3a5)](_0x3eceb9=>{var _0x1b7ed8=_0x317058;const _0x560ad5=new _0x3eceb9(_0x4a18f0),_0x342d41=_0x560ad5[_0x1b7ed8(0x387)],_0x3f0ca4=_0x3661f7['find'](_0x427eb8=>_0x427eb8[_0x1b7ed8(0x2e4)]===_0x342d41);_0x3f0ca4&&this[_0x1b7ed8(0x310)][_0x1b7ed8(0x2c3)](_0x560ad5['id'],_0x3f0ca4[_0x1b7ed8(0x128)]);});});}[_0x4a7741(0x1c0)](_0xbddb6e,_0x3710e2){var _0x3c7c70=_0x4a7741;const _0x4c22f9=this['_injector'][_0x3c7c70(0x21f)](_0x687ad3),_0x2b75d1=_0x4c22f9['getTargetByPermissionId'](_0xbddb6e,_0x3710e2);let _0x26a47c=!0x1;if(_0x2b75d1){const [_0x1ba256,_0x406621]=_0x2b75d1;this['_authzIoService'][_0x3c7c70(0x128)]({'objectID':_0x3710e2,'unitID':_0xbddb6e,'objectType':_0x517e95[_0x3c7c70(0x195)],'actions':_0xe98554})[_0x3c7c70(0x135)](_0x50ed47=>{var _0x4665b6=_0x3c7c70;let _0x56855e='';_0x487026()['forEach'](_0x4833d5=>{var _0x2b6df5=_0xda85,_0x420217;const _0x2c5028=new _0x4833d5(_0xbddb6e,_0x406621),_0x15685e=_0x2c5028[_0x2b6df5(0x387)],_0x42b16a=_0x50ed47[_0x2b6df5(0x1f5)](_0x5622a1=>_0x5622a1[_0x2b6df5(0x2e4)]===_0x15685e);_0x42b16a&&(((_0x420217=this[_0x2b6df5(0x310)]['getPermissionPoint'](_0x2c5028['id']))==null?void 0x0:_0x420217[_0x2b6df5(0xf8)])!==_0x42b16a['allowed']&&(_0x26a47c=!0x0),this['_permissionService'][_0x2b6df5(0x2c3)](_0x2c5028['id'],_0x42b16a[_0x2b6df5(0x128)]),_0x56855e+=_0x42b16a[_0x2b6df5(0x2e4)]+'_'+_0x42b16a[_0x2b6df5(0x128)]);}),_0x4c22f9[_0x4665b6(0x2dc)](_0x3710e2+'_'+_0x56855e),_0x26a47c&&this[_0x4665b6(0x1b0)]['clearUndoRedo'](_0xbddb6e);});}const _0x2883b9=this['_injector']['get'](_0x16892f)[_0x3c7c70(0x33a)](_0xbddb6e,_0x3710e2);if(_0x2883b9){const [_0x56ccbb,_0x9daecb]=_0x2883b9;this[_0x3c7c70(0x240)][_0x3c7c70(0x128)]({'objectID':_0x3710e2,'unitID':_0xbddb6e,'objectType':_0x517e95[_0x3c7c70(0x195)],'actions':_0x1ab43b})[_0x3c7c70(0x135)](_0x30a1ae=>{var _0x184a5c=_0x3c7c70;_0x5724a2()[_0x184a5c(0x3a5)](_0x551710=>{var _0x564a1f=_0x184a5c,_0x2a326c;const _0x4d9b72=new _0x551710(_0xbddb6e,_0x9daecb),_0x5148be=_0x4d9b72[_0x564a1f(0x387)],_0x1428e1=_0x30a1ae[_0x564a1f(0x1f5)](_0x4273e4=>_0x4273e4[_0x564a1f(0x2e4)]===_0x5148be);_0x1428e1&&(((_0x2a326c=this['_permissionService']['getPermissionPoint'](_0x4d9b72['id']))==null?void 0x0:_0x2a326c[_0x564a1f(0xf8)])!==_0x1428e1[_0x564a1f(0x128)]&&(_0x26a47c=!0x0),this[_0x564a1f(0x310)]['updatePermissionPoint'](_0x4d9b72['id'],_0x1428e1[_0x564a1f(0x128)]));}),_0x26a47c&&this[_0x184a5c(0x1b0)][_0x184a5c(0x189)](_0xbddb6e);});}const _0x4d0b72=this[_0x3c7c70(0x2da)][_0x3c7c70(0x21f)](_0x2c5e08),_0xee80c9=_0x4d0b72[_0x3c7c70(0x33a)](_0xbddb6e,_0x3710e2);if(_0xee80c9){const [_0x5d5c7a,_0x315db8]=_0xee80c9;this[_0x3c7c70(0x240)][_0x3c7c70(0x128)]({'objectID':_0x3710e2,'unitID':_0xbddb6e,'objectType':_0x517e95['SelectRange'],'actions':_0xe98554})[_0x3c7c70(0x135)](_0x12de37=>{var _0x41b077=_0x3c7c70;let _0x47a138='';_0x5843db()[_0x41b077(0x3a5)](_0x5c6dd1=>{var _0xf0b0c7=_0x41b077,_0x2a6951;const _0x5196d4=new _0x5c6dd1(_0xbddb6e,_0x315db8,_0x3710e2),_0x635ea4=_0x5196d4[_0xf0b0c7(0x387)],_0x41628a=_0x12de37[_0xf0b0c7(0x1f5)](_0x46f46f=>_0x46f46f[_0xf0b0c7(0x2e4)]===_0x635ea4);_0x41628a&&(((_0x2a6951=this[_0xf0b0c7(0x310)][_0xf0b0c7(0x348)](_0x5196d4['id']))==null?void 0x0:_0x2a6951[_0xf0b0c7(0xf8)])!==_0x41628a[_0xf0b0c7(0x128)]&&(_0x26a47c=!0x0),this[_0xf0b0c7(0x310)][_0xf0b0c7(0x2c3)](_0x5196d4['id'],_0x41628a[_0xf0b0c7(0x128)]),_0x47a138+=_0x41628a[_0xf0b0c7(0x2e4)]+'_'+_0x41628a[_0xf0b0c7(0x128)]);}),_0x4d0b72[_0x41b077(0x2dc)](_0x3710e2+'_'+_0x47a138),_0x26a47c&&this['_undoRedoService'][_0x41b077(0x189)](_0xbddb6e);});}}};ct=jr([Se(0x0,_0x33b12a(_0x907b7b)),Se(0x1,_0x249ac8),Se(0x2,_0x5eb1c1),Se(0x3,_0x33b12a(Me)),Se(0x4,_0x33b12a(pe)),Se(0x5,_0x20b299),Se(0x6,_0x3d6c4b)],ct);var Br=Object[_0x4a7741(0x1ac)],Fr=Object[_0x4a7741(0xf3)],Vr=(_0x4f0b18,_0x295772,_0x318623,_0x128ee4)=>{var _0x3bf0e6=_0x4a7741;for(var _0x4e2e75=_0x128ee4>0x1?void 0x0:_0x128ee4?Fr(_0x295772,_0x318623):_0x295772,_0x329fa1=_0x4f0b18[_0x3bf0e6(0x2f8)]-0x1,_0x4ab1fa;_0x329fa1>=0x0;_0x329fa1--)(_0x4ab1fa=_0x4f0b18[_0x329fa1])&&(_0x4e2e75=(_0x128ee4?_0x4ab1fa(_0x295772,_0x318623,_0x4e2e75):_0x4ab1fa(_0x4e2e75))||_0x4e2e75);return _0x128ee4&&_0x4e2e75&&Br(_0x295772,_0x318623,_0x4e2e75),_0x4e2e75;},ui=(_0x988c4c,_0x201e95)=>(_0xda16ca,_0x2ff851)=>_0x201e95(_0xda16ca,_0x2ff851,_0x988c4c);let Dt=class{constructor(_0x43760c,_0x197bd6){var _0x24f99b=_0x4a7741;this['_configService']=_0x43760c,this[_0x24f99b(0x28b)]=_0x197bd6;}async[_0x4a7741(0x39e)](_0x388300,_0x38bc1f){var _0x49cef5=_0x4a7741,_0x150941;const {unitID:_0x22e6ab,type:_0x3c36cc,revision:_0x912463=0x0}=_0x38bc1f,_0x5daf67=this[_0x49cef5(0x1f6)]()+'/'+_0x3c36cc+_0x49cef5(0x336)+_0x22e6ab+_0x49cef5(0x16b)+_0x912463,_0x4271dc=(await this[_0x49cef5(0x28b)][_0x49cef5(0x21f)](_0x5daf67))[_0x49cef5(0x157)],_0x34b934=(_0x150941=_0x4271dc[_0x49cef5(0xeb)])==null?void 0x0:_0x150941[_0x49cef5(0x1fc)];if(_0x34b934){const _0x5a28ec=_0x34b934==null?void 0x0:_0x34b934[_0x49cef5(0x374)],_0x40ff20=_0x28f302[_0x49cef5(0x2ae)](_0x1d1b22(_0x5a28ec));_0x34b934['originalMeta']=_0x40ff20,Object[_0x49cef5(0x1de)](_0x34b934[_0x49cef5(0x2b5)])[_0x49cef5(0x3a5)](([,_0x214cc4])=>{var _0x9a76c6=_0x49cef5;const _0x51ddda=_0x214cc4['originalMeta'],_0x592c95=_0x28f302[_0x9a76c6(0x2ae)](_0x1d1b22(_0x51ddda));_0x214cc4['originalMeta']=_0x592c95;});}return _0x4271dc;}async['getSheetBlock'](_0x210adb,_0x59526d){var _0x590e52=_0x4a7741;const {unitID:_0x17f0c9,type:_0x1a9db1,blockID:_0x3e4512}=_0x59526d,_0x452357=this[_0x590e52(0x2af)]()+'/'+_0x1a9db1+_0x590e52(0x336)+_0x17f0c9+_0x590e52(0x1ef)+_0x3e4512;return(await this['_httpService'][_0x590e52(0x21f)](_0x452357))[_0x590e52(0x157)];}async[_0x4a7741(0x17b)](_0x4ee7c6,_0x26d6d4){var _0x4a2e3a=_0x4a7741;const {unitID:_0x35a2c7,type:_0x26314d,blockID:_0x6edd62}=_0x26d6d4,_0x1f4fbd=this[_0x4a2e3a(0x2af)]()+_0x4a2e3a(0x1ef)+_0x26314d+_0x4a2e3a(0x336)+_0x35a2c7+_0x4a2e3a(0x1ef)+_0x6edd62;return(await this[_0x4a2e3a(0x28b)]['get'](_0x1f4fbd))['body'];}async[_0x4a7741(0x1bd)](_0x170b44,_0x89a1ef){var _0x226a4c=_0x4a7741;const {unitID:_0x11d95e,type:_0xfb1c69,from:_0x265e27,to:_0xc087e4}=_0x89a1ef,_0x1728f4=this['_getAPIPrefix']()+'/'+_0xfb1c69+'/unit/'+_0x11d95e+'/fetchmissing?from='+_0x265e27+_0x226a4c(0x372)+_0xc087e4;return(await this['_httpService']['get'](_0x1728f4))['body'];}[_0x4a7741(0x1f6)](){var _0x2a5162=_0x4a7741,_0x39538c;return(_0x39538c=this[_0x2a5162(0x321)][_0x2a5162(0x399)](Dn))!=null?_0x39538c:this['_getAPIPrefix']();}[_0x4a7741(0x2af)](){var _0x457501=_0x4a7741,_0x7b798e,_0x202417;const _0xbd64ac=this[_0x457501(0x321)]['getConfig'](Pn),_0x398511=this[_0x457501(0x321)][_0x457501(0x399)](Y);return(_0x202417=(_0x7b798e=_0x398511==null?void 0x0:_0x398511[_0x457501(0x1a5)])!=null?_0x7b798e:_0xbd64ac)!=null?_0x202417:Nn;}async['getResourcesRequest'](_0x12097b,_0x324add){var _0x12ef89=_0x4a7741;const _0x316fc7=_0x12ef89(0x237)+_0x324add[_0x12ef89(0x27a)]+'/unit/'+_0x324add[_0x12ef89(0x19d)]+'/resources';return(await this[_0x12ef89(0x28b)][_0x12ef89(0x21f)](_0x316fc7,{'params':{'resourceId':JSON[_0x12ef89(0x32d)](_0x324add[_0x12ef89(0x2b7)])}}))['body'];}['saveSnapshot'](){var _0x472507=_0x4a7741;throw new Error(_0x472507(0x127));}[_0x4a7741(0x28a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a7741(0x201)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x2fd8a4=_0x4a7741;throw new Error(_0x2fd8a4(0x127));}[_0x4a7741(0x1a3)](){var _0x3b6320=_0x4a7741;throw new Error(_0x3b6320(0x127));}};Dt=Vr([ui(0x0,_0x243586),ui(0x1,_0x33b12a(_0x23500e))],Dt);var Wr=Object[_0x4a7741(0x1ac)],Gr=Object[_0x4a7741(0xf3)],Kr=(_0x16ed55,_0x593083,_0x1c3c6e,_0x127c52)=>{for(var _0x44afc6=_0x127c52>0x1?void 0x0:_0x127c52?Gr(_0x593083,_0x1c3c6e):_0x593083,_0x527e2c=_0x16ed55['length']-0x1,_0x30e0df;_0x527e2c>=0x0;_0x527e2c--)(_0x30e0df=_0x16ed55[_0x527e2c])&&(_0x44afc6=(_0x127c52?_0x30e0df(_0x593083,_0x1c3c6e,_0x44afc6):_0x30e0df(_0x44afc6))||_0x44afc6);return _0x127c52&&_0x44afc6&&Wr(_0x593083,_0x1c3c6e,_0x44afc6),_0x44afc6;},Ue=(_0x518138,_0x460259)=>(_0x4f669c,_0x3f793e)=>_0x460259(_0x4f669c,_0x3f793e,_0x518138);let wt=class extends _0x53ef46{constructor(_0x2d02e8,_0x14b912,_0x301b48,_0x820bba,_0x57690f){var _0x3832b6=_0x4a7741;super(_0x2d02e8,_0x14b912,_0x301b48),this[_0x3832b6(0x99)]=_0x820bba,this['_logService']=_0x57690f;}['transformUndoRedo'](_0x1d05ec,_0x883dbc){var _0x322ec8=_0x4a7741;const _0x3288a6=this['_getUndoStack'](_0x1d05ec);if(_0x3288a6)try{const _0xf3644b=this[_0x322ec8(0xcb)](_0x3288a6,_0x883dbc);this['_substituteUndoStack'](_0x1d05ec,_0xf3644b);}catch(_0x4e16d9){this['_logService'][_0x322ec8(0x155)](_0x322ec8(0xec),_0x4e16d9),this[_0x322ec8(0x2dd)](_0x1d05ec);}const _0x19280a=this[_0x322ec8(0x33f)](_0x1d05ec);if(_0x19280a)try{const _0x2a0992=this[_0x322ec8(0xcb)](_0x19280a,_0x883dbc);this[_0x322ec8(0x18c)](_0x1d05ec,_0x2a0992);}catch(_0x8d2231){this[_0x322ec8(0xfa)][_0x322ec8(0x155)](_0x8d2231),this[_0x322ec8(0x39f)](_0x1d05ec);}}[_0x4a7741(0x2dd)](_0x4b0af3){var _0x5c12dc=_0x4a7741;const _0x4719bd=this['_getUndoStack'](_0x4b0af3);_0x4719bd&&(_0x4719bd[_0x5c12dc(0x2f8)]=0x0,this[_0x5c12dc(0x2d1)]());}[_0x4a7741(0x39f)](_0x393488){var _0x3fab05=_0x4a7741;const _0x5f3f5b=this['_getRedoStack'](_0x393488);_0x5f3f5b&&(_0x5f3f5b[_0x3fab05(0x2f8)]=0x0,this[_0x3fab05(0x2d1)]());}[_0x4a7741(0x367)](_0x5ad2b3,_0x45dd1f){this['_undoStacks']['set'](_0x5ad2b3,_0x45dd1f),this['_updateStatus']();}['_substituteRedoStack'](_0x5b6c3f,_0xd68b0f){var _0x5ee17a=_0x4a7741;this[_0x5ee17a(0x31d)][_0x5ee17a(0x255)](_0x5b6c3f,_0xd68b0f),this[_0x5ee17a(0x2d1)]();}[_0x4a7741(0xcb)](_0x59da18,_0x4b4c1f){var _0x584d38=_0x4a7741;const _0x4e7f91=[];let _0x58802f=_0x4b4c1f,_0x196a8e=_0x4b4c1f;for(let _0x3a269c=_0x59da18[_0x584d38(0x2f8)]-0x1;_0x3a269c>=0x0;_0x3a269c--){const {unitID:_0x2d8b6b,undoMutations:_0x1f1907,redoMutations:_0x407ace}=_0x59da18[_0x3a269c],_0x522dc0=this[_0x584d38(0x99)][_0x584d38(0x1af)](_0x58802f,_0x1f1907),_0x21d7dd=this[_0x584d38(0x99)][_0x584d38(0x1af)](_0x196a8e,_0x407ace);if(_0x4a07dd(_0x522dc0)||_0x4a07dd(_0x21d7dd)){this['_logService'][_0x584d38(0x155)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x522dc0,_0x21d7dd);break;}_0x58802f=_0x522dc0['c1Prime'],_0x196a8e=_0x21d7dd[_0x584d38(0x2e8)],_0x4e7f91['push']({'unitID':_0x2d8b6b,'undoMutations':_0x522dc0[_0x584d38(0x395)],'redoMutations':_0x21d7dd[_0x584d38(0x395)]});}return _0x4e7f91[_0x584d38(0xf2)]();}};wt=Kr([Ue(0x0,_0x249ac8),Ue(0x1,_0xc1c261),Ue(0x2,_0x17e19c),Ue(0x3,_0x4aadc5),Ue(0x4,_0x15afa6)],wt);var xi=Object['defineProperty'],zr=Object[_0x4a7741(0xf3)],Yr=(_0x1c0bf1,_0xdcf7a3,_0x44dcee)=>_0xdcf7a3 in _0x1c0bf1?xi(_0x1c0bf1,_0xdcf7a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44dcee}):_0x1c0bf1[_0xdcf7a3]=_0x44dcee,qr=(_0x4456f0,_0x3defe8,_0x211422,_0x335f42)=>{var _0x20ff83=_0x4a7741;for(var _0x2557e9=_0x335f42>0x1?void 0x0:_0x335f42?zr(_0x3defe8,_0x211422):_0x3defe8,_0x15e7fc=_0x4456f0[_0x20ff83(0x2f8)]-0x1,_0x4b082e;_0x15e7fc>=0x0;_0x15e7fc--)(_0x4b082e=_0x4456f0[_0x15e7fc])&&(_0x2557e9=(_0x335f42?_0x4b082e(_0x3defe8,_0x211422,_0x2557e9):_0x4b082e(_0x2557e9))||_0x2557e9);return _0x335f42&&_0x2557e9&&xi(_0x3defe8,_0x211422,_0x2557e9),_0x2557e9;},Et=(_0x247380,_0x508ef6)=>(_0x5cb91b,_0x10551e)=>_0x508ef6(_0x5cb91b,_0x10551e,_0x247380),Jr=(_0x323c9b,_0x1b05da,_0x167bcc)=>Yr(_0x323c9b,_0x1b05da+'',_0x167bcc);const Xr=_0x4a7741(0x1b6);let Ut=class extends _0x2deda8{constructor(_0x51b942=Wn,_0x3cef45,_0x49b4d9,_0x3b5db3){var _0x2a2552=_0x4a7741;super(),this['_config']=_0x51b942,this[_0x2a2552(0xfa)]=_0x3cef45,this[_0x2a2552(0x2da)]=_0x49b4d9,this[_0x2a2552(0x321)]=_0x3b5db3;const {..._0x24c762}=this['_config'];this[_0x2a2552(0x321)][_0x2a2552(0x327)](Y,_0x24c762);}[_0x4a7741(0x2f4)](){var _0x65f7c2=_0x4a7741;this[_0x65f7c2(0x34f)](),this[_0x65f7c2(0x27c)]();}['_registerDependencies'](){var _0x29d26=_0x4a7741,_0x1abecb,_0x595475,_0x39d974,_0x58a978;this[_0x29d26(0x2da)][_0x29d26(0x1dc)](_0x3d6c4b)&&this['_logService'][_0x29d26(0x155)](_0x29d26(0xbc),_0x29d26(0x27f));const _0x2adef8=_0x5062c8([[_0x3d6c4b,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x595475=(_0x1abecb=this[_0x29d26(0x347)])==null?void 0x0:_0x1abecb[_0x29d26(0x162)])!=null?_0x595475:It}],[_0xefdb57,{'useClass':Dt}],[_0x20b299,{'useClass':yt}],[_0x1f1131,{'useClass':Pt}],[_0x5821db,{'useClass':Nt}],[rt],[Rt]],(_0x39d974=this[_0x29d26(0x347)])==null?void 0x0:_0x39d974[_0x29d26(0x2b1)]);if(!((_0x58a978=this[_0x29d26(0x347)])!=null&&_0x58a978[_0x29d26(0xfb)])){const _0x4df5e2=_0x2adef8[_0x29d26(0x1ad)](([_0x5806ab])=>_0x5806ab===_t);_0x4df5e2!==-0x1&&_0x2adef8[_0x29d26(0x23e)](_0x4df5e2,0x1);}_0x1e0485(this[_0x29d26(0x2da)],_0x2adef8);}[_0x4a7741(0x27c)](){var _0x411f48=_0x4a7741,_0x525a11,_0x590faf,_0x284a42;this['_injector'][_0x411f48(0x21f)](_0x23500e)[_0x411f48(0x361)]({'priority':0x14,'interceptor':_0x42a144({'maxParallel':0x6})}),(_0x525a11=this[_0x411f48(0x347)])!=null&&_0x525a11[_0x411f48(0x257)]||(_0x590faf=this[_0x411f48(0x2da)][_0x411f48(0x21f)](X,_0x208f35[_0x411f48(0x11b)]))==null||_0x590faf[_0x411f48(0x20c)](),(_0x284a42=this['_config'])!=null&&_0x284a42['enableAuthServer']&&_0x34647d(this[_0x411f48(0x2da)],[[ot]]),_0x34647d(this[_0x411f48(0x2da)],[[at],[rt],[ct]]);}};Jr(Ut,_0x4a7741(0x26f),Xr),Ut=qr([_0x1561cc(_0x2db122,_0x38c07d,_0xa9be52),Et(0x1,_0x15afa6),Et(0x2,_0x33b12a(_0x907b7b)),Et(0x3,_0x243586)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
1
+ var _0x23070f=_0xb35d;(function(_0x4bbc54,_0x5797c5){var _0x4d6d42=_0xb35d,_0x43dae8=_0x4bbc54();while(!![]){try{var _0x383692=parseInt(_0x4d6d42(0x2bd))/0x1*(-parseInt(_0x4d6d42(0x26c))/0x2)+parseInt(_0x4d6d42(0xea))/0x3+-parseInt(_0x4d6d42(0x27f))/0x4+-parseInt(_0x4d6d42(0x20d))/0x5*(parseInt(_0x4d6d42(0x1ae))/0x6)+-parseInt(_0x4d6d42(0x238))/0x7+-parseInt(_0x4d6d42(0x38d))/0x8*(parseInt(_0x4d6d42(0x1dc))/0x9)+parseInt(_0x4d6d42(0xd6))/0xa*(parseInt(_0x4d6d42(0x36f))/0xb);if(_0x383692===_0x5797c5)break;else _0x43dae8['push'](_0x43dae8['shift']());}catch(_0x5b76a3){_0x43dae8['push'](_0x43dae8['shift']());}}}(_0x5498,0xdc5ae));var Li=Object[_0x23070f(0x1b1)],Mi=(_0x1b28d4,_0x3e8d0a,_0x3268cc)=>_0x3e8d0a in _0x1b28d4?Li(_0x1b28d4,_0x3e8d0a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3268cc}):_0x1b28d4[_0x3e8d0a]=_0x3268cc,D=(_0x21d8b0,_0x225886,_0x3292eb)=>Mi(_0x21d8b0,typeof _0x225886!=_0x23070f(0x2be)?_0x225886+'':_0x225886,_0x3292eb);import{createIdentifier as _0x36a627,Inject as _0x3c1aac,Injector as _0x26247f,Disposable as _0xf24b65,DisposableCollection as _0x61f90c,toDisposable as _0x37423a,IConfigService as _0x550a77,ILogService as _0x2bb897,UserManagerService as _0x4c1593,UniverInstanceType as _0x3561bc,IUniverInstanceService as _0x57416f,LocaleService as _0x15b5c9,Optional as _0x1f8702,RxDisposable as _0x1af8c6,Tools as _0x3a5e6b,Rectangle as _0x7cf7d8,ICommandService as _0x1a55e3,JSONX as _0x47b697,CommandType as _0x45b49c,IPermissionService as _0x2ece59,IUndoRedoService as _0x41a8a9,sequenceExecute as _0x4e708e,Workbook as _0x21ac58,MentionType as _0x39b41d,IAuthzIoService as _0x1f4897,isInternalEditorID as _0x1e7dc7,LocalUndoRedoService as _0x3e7d1c,IContextService as _0x12d793,DependentOn as _0x4ccf1f,Plugin as _0x430171,mergeOverrideWithDependencies as _0xf0eeb8,IMentionIOService as _0x5cf465,registerDependencies as _0x2d6621,Quantity as _0x3031f7,touchDependencies as _0x17d274}from'@univerjs/core';import{Subject as _0x7cba2d,merge as _0x2ddd1c,takeUntil as _0x16b9ba,BehaviorSubject as _0x7694e1,ReplaySubject as _0xa5706e,take as _0x4ad541,map as _0x560bf7,shareReplay as _0x174988,of as _0x3ff159,firstValueFrom as _0x4718aa,concatMap as _0x314aec}from'rxjs';import{map as _0x27980b,take as _0xa7a683,filter as _0x1e9f39,delay as _0x30e7ef,takeUntil as _0x5ab46a}from'rxjs/operators';import{HTTPService as _0x1c781b,ISocketService as _0x4d3c0e,MergeInterceptorFactory as _0x503794,HTTPRequest as _0x2d933a,UniverNetworkPlugin as _0x2abdab,ThresholdInterceptorFactory as _0x234d84}from'@univerjs/network';import{CollaborationEvent as _0x1817f2,parseChangesetToProtocol as _0x39be4c,ISnapshotServerService as _0x496e05,isTransformMutationsWithChangesetSuccess as _0x289d93,ITransformService as _0x33bf37,mapDocumentTypeToUniverType as _0xc9bf88,RevisionService as _0x301751,isTransformChangesetsSuccess as _0x1b3db2,CompressMutationService as _0xc190a9,parseProtocolChangeset as _0x758cb6,SnapshotService as _0x172776,textEncoder as _0x56af83,b64DecodeUnicode as _0x4faf43,isTransformMutationsWithChangesetFailure as _0x586cd8,UniverCollaborationPlugin as _0x3e10fb}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x455b0c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x291f75}from'@univerjs/docs';import{SheetsSelectionsService as _0x4c4388,SetSelectionsOperation as _0x85b782,InsertSheetMutation as _0x234dd8,EmptyMutation as _0x2a15d9,WorkbookEditablePermission as _0x18a334,UnitObject as _0x48c9c8,defaultWorkbookPermissionPoints as _0x153261,getAllWorkbookPermissionPoint as _0xfa8f21,WorksheetProtectionRuleModel as _0x3d8956,baseProtectionActions as _0x2ae621,getAllWorksheetPermissionPoint as _0x2427e4,WorksheetProtectionPointModel as _0xe0fcb8,defaultWorksheetPermissionPoint as _0x12ab5b,getAllWorksheetPermissionPointByPointPanel as _0x58d07a,RangeProtectionRuleModel as _0x533452,getAllRangePermissionPoint as _0x10d097,UniverSheetsPlugin as _0x793cdd}from'@univerjs/sheets';import{ImageSourceType as _0x3a1230,ImageUploadStatusType as _0xc6025f,IImageIoService as _0x136e3f}from'@univerjs/drawing';import{getGlobalObject as _0x11d0f6}from'@univerjs-pro/license';const Pn=_0x23070f(0x25a),Nn=_0x23070f(0x175),Dn='SNAPSHOT_URL_KEY',ho=_0x23070f(0x3c0),wn=0x7d0,Un=_0x23070f(0x1ee),An=_0x23070f(0xfd),xn=_0x23070f(0x30c),Ln='HEARTBEAT_INTERVAL',Mn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,$n=0x4e20,Hn=_0x23070f(0x35c),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn='COLLAB_SUBMIT_CHANGESET_URL',Bn=_0x23070f(0x2dc),Fn=_0x23070f(0x1e3),Vn=_0x23070f(0x395);var Ii=(_0x296698=>(_0x296698[_0x296698['UNDEFINED']=0x0]=_0x23070f(0xef),_0x296698[_0x296698['OK']=0x1]='OK',_0x296698[_0x296698[_0x23070f(0x29a)]=0x2]=_0x23070f(0x29a),_0x296698[_0x296698[_0x23070f(0x140)]=0x3]=_0x23070f(0x140),_0x296698[_0x296698[_0x23070f(0x211)]=0x4]=_0x23070f(0x211),_0x296698[_0x296698['UNAUTHENTICATED']=0x5]=_0x23070f(0x3c1),_0x296698[_0x296698['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x296698[_0x296698[_0x23070f(0x2d6)]=0x7]=_0x23070f(0x2d6),_0x296698[_0x296698[_0x23070f(0x322)]=0x8]=_0x23070f(0x322),_0x296698[_0x296698[_0x23070f(0x3b1)]=0x9]='COMPLETION_FINISHED',_0x296698[_0x296698[_0x23070f(0x240)]=0x1389]=_0x23070f(0x240),_0x296698[_0x296698[_0x23070f(0x349)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x296698[_0x296698[_0x23070f(0x115)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x296698[_0x296698['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x296698[_0x296698[_0x23070f(0x319)]=0x1b59]=_0x23070f(0x319),_0x296698[_0x296698['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x296698[_0x296698[_0x23070f(0x139)]=0x1b5b]=_0x23070f(0x139),_0x296698[_0x296698['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x23070f(0x127),_0x296698[_0x296698[_0x23070f(0x21a)]=0x1b5d]=_0x23070f(0x21a),_0x296698[_0x296698[_0x23070f(0x2e7)]=0x1f41]=_0x23070f(0x2e7),_0x296698[_0x296698[_0x23070f(0x30d)]=0x2329]=_0x23070f(0x30d),_0x296698[_0x296698['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x296698[_0x296698['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x23070f(0x1c2),_0x296698[_0x296698[_0x23070f(0x170)]=0x232c]=_0x23070f(0x170),_0x296698[_0x296698[_0x23070f(0x39e)]=0x232d]=_0x23070f(0x39e),_0x296698[_0x296698[_0x23070f(0x33e)]=0x2711]=_0x23070f(0x33e),_0x296698[_0x296698[_0x23070f(0x281)]=0x2712]=_0x23070f(0x281),_0x296698[_0x296698[_0x23070f(0xdd)]=0x2713]=_0x23070f(0xdd),_0x296698[_0x296698[_0x23070f(0x1c4)]=0x2714]=_0x23070f(0x1c4),_0x296698[_0x296698['UNRECOGNIZED']=-0x1]=_0x23070f(0x10f),_0x296698))(Ii||{}),Q=(_0x449635=>(_0x449635[_0x449635[_0x23070f(0x32d)]=0x0]='UNIVER_UNKNOWN',_0x449635[_0x449635[_0x23070f(0x1d0)]=0x1]=_0x23070f(0x1d0),_0x449635[_0x449635[_0x23070f(0x25b)]=0x2]=_0x23070f(0x25b),_0x449635[_0x449635[_0x23070f(0x214)]=0x3]=_0x23070f(0x214),_0x449635[_0x449635['UNIVER_PROJECT']=0x4]=_0x23070f(0x390),_0x449635[_0x449635[_0x23070f(0x10f)]=-0x1]=_0x23070f(0x10f),_0x449635))(Q||{}),F=(_0x106866=>(_0x106866[_0x106866[_0x23070f(0x11e)]=0x0]=_0x23070f(0x11e),_0x106866[_0x106866[_0x23070f(0x217)]=0x1]=_0x23070f(0x217),_0x106866[_0x106866[_0x23070f(0x2e9)]=0x2]=_0x23070f(0x2e9),_0x106866[_0x106866['LEAVE']=0x3]=_0x23070f(0x1e2),_0x106866[_0x106866['INGEST']=0x4]=_0x23070f(0x1b7),_0x106866[_0x106866[_0x23070f(0x241)]=0x5]=_0x23070f(0x241),_0x106866[_0x106866['RECV']=0x6]=_0x23070f(0x310),_0x106866[_0x106866[_0x23070f(0x10f)]=-0x1]=_0x23070f(0x10f),_0x106866))(F||{}),Ee=(_0xba252d=>(_0xba252d[_0xba252d['UNKNOWN_CODE']=0x0]=_0x23070f(0x128),_0xba252d[_0xba252d['OK']=0x1]='OK',_0xba252d[_0xba252d['FAIL']=0x2]=_0x23070f(0x315),_0xba252d[_0xba252d[_0x23070f(0x33b)]=0x3e9]=_0x23070f(0x33b),_0xba252d[_0xba252d[_0x23070f(0x29e)]=0x3ea]=_0x23070f(0x29e),_0xba252d[_0xba252d[_0x23070f(0x26e)]=0x3eb]=_0x23070f(0x26e),_0xba252d[_0xba252d[_0x23070f(0x1a5)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xba252d[_0xba252d['UNRECOGNIZED']=-0x1]=_0x23070f(0x10f),_0xba252d))(Ee||{}),Ti=(_0x4a90a8=>(_0x4a90a8[_0x4a90a8[_0x23070f(0x13e)]=0x0]=_0x23070f(0x13e),_0x4a90a8[_0x4a90a8['HttpImport']=0x1]='HttpImport',_0x4a90a8[_0x4a90a8[_0x23070f(0x169)]=0x2]=_0x23070f(0x169),_0x4a90a8[_0x4a90a8[_0x23070f(0x117)]=0x3]=_0x23070f(0x117),_0x4a90a8[_0x4a90a8[_0x23070f(0x312)]=0x4]='UnitSnapshot',_0x4a90a8[_0x4a90a8[_0x23070f(0x10f)]=-0x1]=_0x23070f(0x10f),_0x4a90a8))(Ti||{});const Y=_0x23070f(0x333),Wn={};var se=(_0xb8fcc5=>(_0xb8fcc5[_0x23070f(0x3ba)]='OTHER_CLIENT_EDITING',_0xb8fcc5[_0x23070f(0x140)]='PERMISSION_DENIED',_0xb8fcc5['CONFLICT']=_0x23070f(0x282),_0xb8fcc5[_0x23070f(0x30a)]=_0x23070f(0x30a),_0xb8fcc5[_0x23070f(0x2b8)]=_0x23070f(0x2b8),_0xb8fcc5[_0x23070f(0x380)]='SOCKET_FAILED_RETRY',_0xb8fcc5[_0x23070f(0x230)]=_0x23070f(0x230),_0xb8fcc5[_0x23070f(0x2e8)]=_0x23070f(0x2e8),_0xb8fcc5))(se||{});class pe{constructor(){var _0x2185f7=_0x23070f;D(this,'_event$',new _0x7cba2d()),D(this,'event$',this[_0x2185f7(0x1b2)]['asObservable']());}['emitEvent'](_0x1c82ae){var _0x2d6afd=_0x23070f;this[_0x2d6afd(0x1b2)]['next'](_0x1c82ae);}}const Gn=_0x36a627(_0x23070f(0x172));function Kn(_0x22f203){var _0x43d92b=_0x23070f,_0x111309,_0x5a1e98,_0x31d4a0,_0x55c67d,_0x13d3cc;const _0x462e38=_0x22f203['data'],_0x22319a=JSON[_0x43d92b(0x17f)](_0x462e38);switch(_0x22319a[_0x43d92b(0x2b1)]){case F[_0x43d92b(0x241)]:case F[_0x43d92b(0x217)]:{const _0xde9c07=_0x22319a[_0x43d92b(0x183)];return{..._0x22319a,'data':_0xde9c07,'cmd':_0x22319a[_0x43d92b(0x2b1)]};}case F[_0x43d92b(0x2e9)]:{const _0x5c9e9a=_0x22319a[_0x43d92b(0x1de)];return{..._0x22319a,'data':_0x5c9e9a,'cmd':_0x22319a[_0x43d92b(0x2b1)]};}case F['RECV']:{const _0xd68c91=_0x22319a[_0x43d92b(0x148)];switch(_0xd68c91[_0x43d92b(0x22b)]){case _0x1817f2[_0x43d92b(0x1fc)]:return{..._0x22319a,'data':{..._0xd68c91,'data':(_0x111309=_0xd68c91[_0x43d92b(0xc0)])==null?void 0x0:_0x111309['cs']},'cmd':_0x22319a['cmd']};case _0x1817f2[_0x43d92b(0x13f)]:return{..._0x22319a,'data':{..._0xd68c91,'data':(_0x5a1e98=_0xd68c91[_0x43d92b(0x1e0)])==null?void 0x0:_0x5a1e98['cs']},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x1e1)]:return{..._0x22319a,'data':{..._0xd68c91,'data':(_0x31d4a0=_0xd68c91[_0x43d92b(0x37f)])==null?void 0x0:_0x31d4a0['cs']},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x150)]:return{..._0x22319a,'data':{..._0xd68c91,'data':(_0x55c67d=_0xd68c91['csRejEvent'])==null?void 0x0:_0x55c67d['cs']},'cmd':_0x22319a['cmd']};case _0x1817f2[_0x43d92b(0x27b)]:return{..._0x22319a,'data':{..._0xd68c91,'data':(_0x13d3cc=_0xd68c91[_0x43d92b(0x14a)])==null?void 0x0:_0x13d3cc['cs']},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x340)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x3bb)]},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x2f5)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x3a7)]},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x1bc)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x113)]},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x2f4)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91['liveShareNewHost']},'cmd':_0x22319a['cmd']};case _0x1817f2[_0x43d92b(0x2c1)]:case _0x1817f2[_0x43d92b(0x3b3)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x274)]},'cmd':_0x22319a['cmd']};case _0x1817f2[_0x43d92b(0x1a8)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x324)]},'cmd':_0x22319a['cmd']};case _0x1817f2['MSG_FOR_ERROR']:return{..._0x22319a,'data':_0xd68c91,'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x2c9)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x329)]},'cmd':_0x22319a['cmd']};case _0x1817f2[_0x43d92b(0x25e)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x18f)]},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2['SHOULD_CLOSE_CONN']:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0xc1)]},'cmd':_0x22319a[_0x43d92b(0x2b1)]};case _0x1817f2[_0x43d92b(0x16f)]:return{..._0x22319a,'data':{..._0xd68c91,'data':_0xd68c91[_0x43d92b(0x346)]},'cmd':_0x22319a['cmd']};default:return _0x22319a;}}default:return _0x22319a;}}function zn(_0x59c596){var _0x7d028e=_0x23070f;switch(_0x59c596[_0x7d028e(0x2b1)]){case F[_0x7d028e(0x241)]:case F['HELLO']:return JSON[_0x7d028e(0x35e)]({'cmd':_0x59c596['cmd'],'routeKey':_0x59c596[_0x7d028e(0x1f4)]});case F[_0x7d028e(0x1b7)]:{let _0x213be3;switch(_0x59c596[_0x7d028e(0x1b4)]['eventID']){case _0x1817f2[_0x7d028e(0x340)]:{_0x213be3={'eventID':_0x1817f2['UPDATE_CURSOR'],'updateCursorEvent':_0x59c596['data'][_0x7d028e(0x1b4)]};break;}case _0x1817f2[_0x7d028e(0x1bc)]:{_0x213be3={'eventID':_0x1817f2[_0x7d028e(0x1bc)],'leaveEvent':_0x59c596[_0x7d028e(0x1b4)][_0x7d028e(0x1b4)]};break;}case _0x1817f2[_0x7d028e(0x2f5)]:{_0x213be3={'eventID':_0x1817f2[_0x7d028e(0x2f5)],'joinEvent':_0x59c596[_0x7d028e(0x1b4)][_0x7d028e(0x1b4)]};break;}case _0x1817f2[_0x7d028e(0x2f4)]:{_0x213be3={'eventID':_0x1817f2[_0x7d028e(0x2f4)],'liveShareNewHost':_0x59c596[_0x7d028e(0x1b4)]['data']};break;}case _0x1817f2[_0x7d028e(0x3b3)]:{_0x213be3={'eventID':_0x1817f2[_0x7d028e(0x3b3)],'liveShareOperation':_0x59c596[_0x7d028e(0x1b4)][_0x7d028e(0x1b4)]};break;}case _0x1817f2[_0x7d028e(0x1a8)]:{_0x213be3={'eventID':_0x1817f2[_0x7d028e(0x1a8)],'liveShareTerminate':_0x59c596[_0x7d028e(0x1b4)][_0x7d028e(0x1b4)]};break;}case _0x1817f2[_0x7d028e(0x27d)]:{_0x213be3={'eventID':_0x1817f2['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x59c596[_0x7d028e(0x1b4)][_0x7d028e(0x1b4)]};break;}case _0x1817f2[_0x7d028e(0x2c1)]:{_0x213be3={'eventID':_0x1817f2[_0x7d028e(0x2c1)]};break;}default:_0x213be3={'eventID':_0x59c596['data'][_0x7d028e(0x22b)]};}return JSON['stringify']({'cmd':_0x59c596[_0x7d028e(0x2b1)],'routeKey':_0x59c596['routeKey'],'collaMsg':_0x213be3});}case F['JOIN']:return JSON['stringify']({'cmd':_0x59c596[_0x7d028e(0x2b1)],'routeKey':_0x59c596[_0x7d028e(0x1f4)],'joinReq':_0x59c596['data']});case F[_0x7d028e(0x1e2)]:return JSON[_0x7d028e(0x35e)]({'cmd':_0x59c596[_0x7d028e(0x2b1)],'routeKey':_0x59c596['routeKey'],'leaveReq':_0x59c596[_0x7d028e(0x1b4)]});default:throw new Error(_0x7d028e(0x39f));}}var Yn=Object['defineProperty'],qn=Object[_0x23070f(0x11f)],Jn=(_0x2eb4f9,_0x4e3bf2,_0x36142b,_0x3a526c)=>{var _0x4c0013=_0x23070f;for(var _0xa633fe=_0x3a526c>0x1?void 0x0:_0x3a526c?qn(_0x4e3bf2,_0x36142b):_0x4e3bf2,_0x2cc413=_0x2eb4f9[_0x4c0013(0x222)]-0x1,_0x495882;_0x2cc413>=0x0;_0x2cc413--)(_0x495882=_0x2eb4f9[_0x2cc413])&&(_0xa633fe=(_0x3a526c?_0x495882(_0x4e3bf2,_0x36142b,_0xa633fe):_0x495882(_0xa633fe))||_0xa633fe);return _0x3a526c&&_0xa633fe&&Yn(_0x4e3bf2,_0x36142b,_0xa633fe),_0xa633fe;},we=(_0x4f2002,_0x3851e4)=>(_0x3ec843,_0x529398)=>_0x3851e4(_0x3ec843,_0x529398,_0x4f2002);const Ci=_0x36a627(_0x23070f(0x36c));function Xn(_0x3f4899,_0x45c0e6,_0x2c5a6f){var _0x4adfea=_0x23070f;return _0x3f4899+'/'+_0x45c0e6+_0x4adfea(0x138)+_0x2c5a6f+'/new_changes';}let It=class extends _0xf24b65{constructor(_0x2215c9,_0x470fe9,_0x58bf8f,_0x25415f,_0x5a4cc7){var _0x1d3dff=_0x23070f;super(),this['_injector']=_0x2215c9,this[_0x1d3dff(0x3b0)]=_0x470fe9,this[_0x1d3dff(0xf9)]=_0x58bf8f,this[_0x1d3dff(0x2eb)]=_0x25415f,this['_snapshotServerService']=_0x5a4cc7;}[_0x23070f(0x23f)](_0x49dc2b){var _0x49d5da=_0x23070f;const _0x272f73=this[_0x49d5da(0x1cb)][_0x49d5da(0x3a8)](_0x4d3c0e);if(!_0x272f73)throw new Error(_0x49d5da(0x29d));const _0x39a9f6=_0x272f73['createSocket'](_0x49dc2b);if(!_0x39a9f6)throw new Error(_0x49d5da(0x302));const _0x5113b3=new _0x61f90c(),_0x7aaec5=new _0x7cba2d();_0x5113b3['add'](_0x39a9f6['close$']['subscribe'](_0x55bab0=>_0x7aaec5[_0x49d5da(0x34c)](_0x55bab0))),_0x5113b3[_0x49d5da(0x358)](_0x37423a(()=>_0x7aaec5['complete']()));const _0x26092d=new _0x7cba2d();_0x5113b3[_0x49d5da(0x358)](_0x39a9f6[_0x49d5da(0x304)]['subscribe'](_0x1a7cc5=>_0x26092d['next'](_0x1a7cc5))),_0x5113b3['add'](_0x37423a(()=>_0x26092d[_0x49d5da(0x2ac)]()));const _0x316a11=new _0x7cba2d();_0x5113b3['add'](_0x39a9f6[_0x49d5da(0x167)][_0x49d5da(0x29f)](_0x49ca9e=>{var _0x28a581=_0x49d5da;const _0x10f90a=Kn(_0x49ca9e);_0x316a11[_0x28a581(0x34c)](_0x10f90a);})),_0x5113b3['add'](_0x37423a(()=>_0x316a11['complete']()));let _0x2c1c72;const _0x3b09a5=()=>{var _0x428f06=_0x49d5da;_0x26092d[_0x428f06(0x34c)](new Event(_0x428f06(0x147))),_0x7aaec5[_0x428f06(0x34c)](new CloseEvent(_0x428f06(0x147))),_0x2c1c72['close']();};return _0x2c1c72={'memberID':'','close$':_0x7aaec5['asObservable'](),'error$':_0x26092d['asObservable'](),'open$':_0x39a9f6[_0x49d5da(0x3ac)],'message$':_0x316a11['asObservable'](),'send':_0x4d8475=>{var _0x562c06=_0x49d5da;if(_0x4d8475['cmd']===F[_0x562c06(0x1b7)]){if(_0x4d8475[_0x562c06(0x1b4)][_0x562c06(0x22b)]===_0x1817f2[_0x562c06(0x1ec)]){this[_0x562c06(0x359)](_0x2c1c72,_0x4d8475[_0x562c06(0x1b4)])[_0x562c06(0x14c)](_0x2e9d93=>{var _0x35055d=_0x562c06;this[_0x35055d(0x2eb)][_0x35055d(0x251)](_0x2e9d93),_0x3b09a5();});return;}if(_0x4d8475['data']['eventID']===_0x1817f2[_0x562c06(0xc4)]){const _0x1fe9c7=_0x4d8475[_0x562c06(0x1b4)];this[_0x562c06(0x1a2)](_0x1fe9c7)['then'](_0x54b3be=>{var _0x359c7d=_0x562c06;_0x316a11['next']({'cmd':F[_0x359c7d(0x310)],'code':Ee['OK'],'routeKey':_0x1fe9c7[_0x359c7d(0x1b4)][_0x359c7d(0x3ad)],'routeType':'','data':{'eventID':_0x1817f2[_0x359c7d(0x332)],'data':{'changesets':_0x54b3be}}});})[_0x562c06(0x14c)](_0x1c89ea=>{var _0x333f22=_0x562c06;this[_0x333f22(0x2eb)][_0x333f22(0x251)](_0x1c89ea),_0x3b09a5();});return;}}_0x39a9f6[_0x562c06(0x285)](zn(_0x4d8475));},'close':()=>{var _0x3b073d=_0x49d5da;_0x39a9f6[_0x3b073d(0xbf)](),_0x5113b3['dispose']();}},_0x2c1c72;}async[_0x23070f(0x359)](_0x12bfc7,_0x1853a5){var _0x3e6c9e=_0x23070f,_0x218348,_0x3d733d;const {unitType:_0x41c5f1,unitID:_0x399043,changeset:_0x37ac29}=_0x1853a5['data'],_0x21469f={'unitID':_0x399043,'memberID':_0x12bfc7[_0x3e6c9e(0x31a)],'type':_0x41c5f1,'changeset':_0x39be4c(_0x37ac29)},_0x2239f5=this[_0x3e6c9e(0xf9)]['getConfig'](jn),_0x145ec0=this[_0x3e6c9e(0xf9)][_0x3e6c9e(0x21e)](Y),_0x1ea4c4=Xn((_0x3d733d=(_0x218348=_0x145ec0==null?void 0x0:_0x145ec0[_0x3e6c9e(0x335)])!=null?_0x218348:_0x2239f5)!=null?_0x3d733d:Bn,_0x41c5f1,_0x399043);try{await this['_http'][_0x3e6c9e(0x120)](_0x1ea4c4,{'body':_0x21469f});}catch(_0x2a9d38){throw this['_logService'][_0x3e6c9e(0x251)](_0x3e6c9e(0x356),_0x3e6c9e(0x2b3)),_0x2a9d38;}}async[_0x23070f(0x1a2)](_0x578d61){var _0x31cc13=_0x23070f;const {unitID:_0x555217,from:_0x4efc8b,to:_0x1cef65,unitType:_0x8a11be}=_0x578d61[_0x31cc13(0x1b4)];return(await this['_snapshotServerService'][_0x31cc13(0xdf)]({'metadata':void 0x0},{'unitID':_0x555217,'type':_0x8a11be,'from':_0x4efc8b,'to':_0x1cef65}))[_0x31cc13(0x362)];}};It=Jn([we(0x0,_0x3c1aac(_0x26247f)),we(0x1,_0x3c1aac(_0x1c781b)),we(0x2,_0x550a77),we(0x3,_0x2bb897),we(0x4,_0x496e05)],It);const Zn='collaboration_new_changeset';function Qn(_0x26333b){var _0x345d99=_0x23070f;return JSON['stringify'](_0x26333b)[_0x345d99(0x222)];}class bi{constructor(){var _0x3dbc22=_0x23070f;D(this,_0x3dbc22(0x389),new _0x7cba2d()),D(this,_0x3dbc22(0x1ad),this[_0x3dbc22(0x389)][_0x3dbc22(0x363)]());}['onCommentUpdate'](_0x226762){var _0x4e6203=_0x23070f;this[_0x4e6203(0x389)][_0x4e6203(0x34c)](_0x226762);}}var es=Object['defineProperty'],ts=Object[_0x23070f(0x11f)],is=(_0x26b767,_0x4ddf4c,_0x1f752c,_0x3d50f3)=>{var _0x29dd42=_0x23070f;for(var _0x1937af=_0x3d50f3>0x1?void 0x0:_0x3d50f3?ts(_0x4ddf4c,_0x1f752c):_0x4ddf4c,_0x100544=_0x26b767[_0x29dd42(0x222)]-0x1,_0x4e5643;_0x100544>=0x0;_0x100544--)(_0x4e5643=_0x26b767[_0x100544])&&(_0x1937af=(_0x3d50f3?_0x4e5643(_0x4ddf4c,_0x1f752c,_0x1937af):_0x4e5643(_0x1937af))||_0x1937af);return _0x3d50f3&&_0x1937af&&es(_0x4ddf4c,_0x1f752c,_0x1937af),_0x1937af;},zt=(_0xfe1fbd,_0x2dca5e)=>(_0x519cd5,_0x1cda16)=>_0x2dca5e(_0x519cd5,_0x1cda16,_0xfe1fbd);let Le=class extends _0xf24b65{constructor(_0x38fd73,_0x573cfd){var _0xcc9d7a=_0x23070f;super(),D(this,_0xcc9d7a(0x303),new Map()),(this[_0xcc9d7a(0x14d)]=_0x38fd73,this[_0xcc9d7a(0x15a)]=_0x573cfd,this[_0xcc9d7a(0xcd)](_0x37423a(_0x2ddd1c(this['_univerInstanceService'][_0xcc9d7a(0x1f3)](_0x3561bc[_0xcc9d7a(0x25b)])[_0xcc9d7a(0x338)](_0x27980b(_0x501c5b=>_0x501c5b['getUnitId']())),this[_0xcc9d7a(0x14d)][_0xcc9d7a(0x1f3)](_0x3561bc[_0xcc9d7a(0x1d0)])[_0xcc9d7a(0x338)](_0x27980b(_0x3d68d5=>_0x3d68d5[_0xcc9d7a(0x112)]())),this['_univerInstanceService'][_0xcc9d7a(0x1f3)](_0x3561bc['UNIVER_SLIDE'])[_0xcc9d7a(0x338)](_0x27980b(_0x5a5b59=>_0x5a5b59['getUnitId']())))[_0xcc9d7a(0x29f)](_0x3ca986=>this[_0xcc9d7a(0x1b0)](_0x3ca986)))));}[_0x23070f(0x14b)](_0x4dcdba){var _0x3493cb=_0x23070f;this[_0x3493cb(0x15a)][_0x3493cb(0x14b)](_0x4dcdba);}[_0x23070f(0x325)](){var _0x4a52b2=_0x23070f;return this[_0x4a52b2(0x15a)][_0x4a52b2(0x325)]();}['updateMember'](_0x54bfe4,_0x50fba6){var _0x341140=_0x23070f;let _0x51a215=this['_roomMembers'][_0x341140(0x3a8)](_0x54bfe4);_0x51a215||(_0x51a215=new ns(),this['_roomMembers'][_0x341140(0x3a0)](_0x54bfe4,_0x51a215)),_0x51a215[_0x341140(0x216)](_0x50fba6);}[_0x23070f(0x108)](_0x1e2d29,_0x50dc78){var _0x173c01=_0x23070f;const _0x44b524=this[_0x173c01(0x303)][_0x173c01(0x3a8)](_0x1e2d29);_0x44b524&&_0x44b524[_0x173c01(0x108)](_0x50dc78);}[_0x23070f(0x256)](_0xccfcde){var _0x32b23c=_0x23070f;return this[_0x32b23c(0x303)][_0x32b23c(0x3a8)](_0xccfcde);}['getMember'](_0xdbd4f1,_0x1bf578){var _0x16ab88=_0x23070f;const _0x119f18=this[_0x16ab88(0x303)][_0x16ab88(0x3a8)](_0xdbd4f1);if(_0x119f18)return _0x119f18[_0x16ab88(0x178)](_0x1bf578);}[_0x23070f(0x1b0)](_0x2ea255){var _0x1719da=_0x23070f;const _0x174e8a=this['_roomMembers'][_0x1719da(0x3a8)](_0x2ea255);_0x174e8a&&(_0x174e8a[_0x1719da(0xf1)](),this[_0x1719da(0x303)]['delete'](_0x2ea255));}[_0x23070f(0xf1)](){var _0x34fd84=_0x23070f;this[_0x34fd84(0x303)][_0x34fd84(0xcb)](_0x29ab27=>_0x29ab27[_0x34fd84(0xf1)]()),this[_0x34fd84(0x303)]['clear']();}};Le=is([zt(0x0,_0x57416f),zt(0x1,_0x3c1aac(_0x4c1593))],Le);class ns extends _0xf24b65{constructor(){var _0x53dc5a=_0x23070f;super(...arguments),D(this,_0x53dc5a(0x367),new Map());}[_0x23070f(0xf1)](){var _0x3a2572=_0x23070f;this[_0x3a2572(0x367)]['clear']();}[_0x23070f(0x216)](_0x34723a){var _0x52f217=_0x23070f;this[_0x52f217(0x367)][_0x52f217(0x3a0)](_0x34723a['memberID'],_0x34723a);}[_0x23070f(0x108)](_0x5b1965){var _0x16d53d=_0x23070f;this['_members'][_0x16d53d(0x342)](_0x5b1965);}[_0x23070f(0x178)](_0x41f9b6){var _0x396154=_0x23070f;return this[_0x396154(0x367)][_0x396154(0x3a8)](_0x41f9b6);}[_0x23070f(0x197)](){var _0x1795f3=_0x23070f;return Array[_0x1795f3(0x202)](this[_0x1795f3(0x367)]['values']());}}var ss=Object[_0x23070f(0x1b1)],rs=Object[_0x23070f(0x11f)],os=(_0x3176c4,_0x379048,_0x3e49bb,_0x11e14b)=>{var _0x13ecdb=_0x23070f;for(var _0x4b06d2=_0x11e14b>0x1?void 0x0:_0x11e14b?rs(_0x379048,_0x3e49bb):_0x379048,_0x1bc4f7=_0x3176c4[_0x13ecdb(0x222)]-0x1,_0x27b73c;_0x1bc4f7>=0x0;_0x1bc4f7--)(_0x27b73c=_0x3176c4[_0x1bc4f7])&&(_0x4b06d2=(_0x11e14b?_0x27b73c(_0x379048,_0x3e49bb,_0x4b06d2):_0x27b73c(_0x4b06d2))||_0x4b06d2);return _0x11e14b&&_0x4b06d2&&ss(_0x379048,_0x3e49bb,_0x4b06d2),_0x4b06d2;},me=(_0x54a3f4,_0x43e5da)=>(_0x151b2d,_0x12dcef)=>_0x43e5da(_0x151b2d,_0x12dcef,_0x54a3f4),Ie=(_0x5ae7a3=>(_0x5ae7a3[_0x5ae7a3[_0x23070f(0xf7)]=0x0]=_0x23070f(0xf7),_0x5ae7a3[_0x5ae7a3[_0x23070f(0x265)]=0x1]=_0x23070f(0x265),_0x5ae7a3[_0x5ae7a3[_0x23070f(0xc6)]=0x2]=_0x23070f(0xc6),_0x5ae7a3[_0x5ae7a3[_0x23070f(0x283)]=0x3]='ONLINE',_0x5ae7a3))(Ie||{});const Yt={[Ee['FAIL']]:_0x23070f(0x14f),[Ee[_0x23070f(0x33b)]]:_0x23070f(0x1cf),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x23070f(0x1d7),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x23070f(0x348),[Ee[_0x23070f(0x1a5)]]:_0x23070f(0x347)};let Tt=class extends _0x1af8c6{constructor(_0x36fc95,_0x2e4fd0,_0x2ea6ee,_0x5a3337,_0xbeca4,_0x295100,_0x3ae7ec,_0x3353b6,_0x3e92f8){var _0x2539ac=_0x23070f;super(),D(this,'_sessionStatus$',new _0x7694e1(0x0)),D(this,_0x2539ac(0x37b),this[_0x2539ac(0x164)][_0x2539ac(0x363)]()),D(this,_0x2539ac(0x1b2),new _0x7cba2d()),D(this,'event$',this[_0x2539ac(0x1b2)][_0x2539ac(0x363)]()),D(this,_0x2539ac(0x247)),D(this,_0x2539ac(0x130)),D(this,_0x2539ac(0x1aa)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x2539ac(0x129),null),(this[_0x2539ac(0x34d)]=_0x36fc95,this[_0x2539ac(0x2eb)]=_0x2ea6ee,this[_0x2539ac(0xf9)]=_0x5a3337,this[_0x2539ac(0x2b6)]=_0xbeca4,this['_memberService']=_0x295100,this[_0x2539ac(0xe5)]=_0x3ae7ec,this[_0x2539ac(0x1f9)]=_0x3353b6,this['_telemetryService']=_0x3e92f8,this[_0x2539ac(0xe8)]=!!this[_0x2539ac(0x295)],_0x2e4fd0['pipe'](_0x16b9ba(this[_0x2539ac(0x374)]))[_0x2539ac(0x29f)](_0x2c1674=>{var _0x187236=_0x2539ac,_0x23dd1f;typeof _0x2c1674>'u'||(this[_0x187236(0x247)]=_0x2c1674,_0x2c1674?(this['_joinRoom'](_0x2c1674),this[_0x187236(0x130)]=_0x2c1674[_0x187236(0x167)][_0x187236(0x29f)](_0x512936=>{var _0x1f53d6=_0x187236;_0x512936[_0x1f53d6(0x1f4)]===this[_0x1f53d6(0x34d)]&&this[_0x1f53d6(0x1be)](_0x512936);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x187236(0x164)][_0x187236(0x34c)](0x2),(_0x23dd1f=this[_0x187236(0x130)])==null||_0x23dd1f[_0x187236(0x23c)](),this[_0x187236(0x130)]=null));}));}get[_0x23070f(0x2cc)](){var _0x5bca7f=_0x23070f;return this[_0x5bca7f(0x164)][_0x5bca7f(0x3b8)]();}['getMemberID'](){var _0x5bf1c0=_0x23070f,_0x1b0ce1,_0x36c672;return(_0x36c672=(_0x1b0ce1=this[_0x5bf1c0(0x247)])==null?void 0x0:_0x1b0ce1['memberID'])!=null?_0x36c672:null;}['dispose'](){var _0x3a2d26=_0x23070f;super[_0x3a2d26(0xf1)](),this[_0x3a2d26(0x374)][_0x3a2d26(0x34c)](),this[_0x3a2d26(0x374)]['complete']();}['close'](){var _0x304cca=_0x23070f,_0x285a05,_0x30e195;this['_throwTelemetryCollaborationNewChangeset'](),(_0x285a05=this['_socket'])==null||_0x285a05[_0x304cca(0x285)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x304cca(0x34d)]}}),(_0x30e195=this[_0x304cca(0x247)])==null||_0x30e195['close'](),this[_0x304cca(0x1b2)]['complete'](),this[_0x304cca(0x164)][_0x304cca(0x2ac)](),this[_0x304cca(0xf1)]();}['_onCombEvent'](_0x34830c){var _0x1d6840=_0x23070f;_0x34830c[_0x1d6840(0x2b1)]===F[_0x1d6840(0x2e9)]?this[_0x1d6840(0x3be)](_0x34830c):_0x34830c[_0x1d6840(0x2b1)]===F[_0x1d6840(0x310)]&&this[_0x1d6840(0x257)](_0x34830c);}['_joinRoom'](_0x1cc447){var _0x52720c=_0x23070f;this[_0x52720c(0x164)][_0x52720c(0x34c)](0x1),_0x1cc447[_0x52720c(0x285)]({'cmd':F[_0x52720c(0x2e9)],'routeKey':this[_0x52720c(0x34d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x52720c(0x34d)]}]}});}['_onJoinRoomEvent'](_0x49d943){var _0x306ccb=_0x23070f,_0x40f36f;if(_0x49d943[_0x306ccb(0xed)]in Yt){this[_0x306ccb(0x1f9)][_0x306ccb(0x190)]({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x49d943[_0x306ccb(0xed)]]}),this[_0x306ccb(0x164)]['next'](0x2);return;}this[_0x306ccb(0x164)][_0x306ccb(0x34c)](0x3);const _0x499b82=(_0x40f36f=_0x49d943[_0x306ccb(0x1b4)][_0x306ccb(0x35d)][this['_unitID']])==null?void 0x0:_0x40f36f[_0x306ccb(0x2c5)];_0x499b82&&_0x499b82[_0x306ccb(0xcb)](_0x3c5f2a=>this['_memberService'][_0x306ccb(0x216)](this[_0x306ccb(0x34d)],_0x3c5f2a));}['_onRecvEvent'](_0x3e8fdb){var _0x74e033=_0x23070f;try{const _0x21cc54=_0x3e8fdb[_0x74e033(0x1b4)];switch(_0x21cc54[_0x74e033(0x22b)]){case _0x1817f2['USERS_ENTER']:this[_0x74e033(0x24d)](_0x21cc54),this[_0x74e033(0x1b2)][_0x74e033(0x34c)](_0x21cc54);break;case _0x1817f2[_0x74e033(0x1bc)]:this[_0x74e033(0x2ea)](_0x21cc54),this['_event$'][_0x74e033(0x34c)](_0x21cc54);break;case _0x1817f2[_0x74e033(0x13f)]:case _0x1817f2[_0x74e033(0x27b)]:this[_0x74e033(0x334)](),this[_0x74e033(0x18d)](),this['_event$']['next'](_0x21cc54);break;case _0x1817f2[_0x74e033(0x33d)]:this[_0x74e033(0x2eb)][_0x74e033(0x251)](_0x74e033(0x253)+JSON[_0x74e033(0x35e)](_0x21cc54)),this['_event$'][_0x74e033(0x34c)](_0x21cc54);break;case _0x1817f2[_0x74e033(0x2c9)]:this['_commentService'][_0x74e033(0x107)](_0x21cc54['data']),this[_0x74e033(0x1b2)][_0x74e033(0x34c)](_0x21cc54);break;default:this[_0x74e033(0x1b2)][_0x74e033(0x34c)](_0x21cc54);}}catch(_0x214df3){this['_logService']['error'](_0x214df3,_0x3e8fdb);}}[_0x23070f(0x24d)](_0x1406af){var _0x4fe71c=_0x23070f;this['_memberService'][_0x4fe71c(0x216)](this[_0x4fe71c(0x34d)],_0x1406af[_0x4fe71c(0x1b4)]);}[_0x23070f(0x2ea)](_0x2bbbd2){var _0x5e2557=_0x23070f;this[_0x5e2557(0x2f7)][_0x5e2557(0x108)](this[_0x5e2557(0x34d)],_0x2bbbd2['data'][_0x5e2557(0x31a)]);}async[_0x23070f(0x285)](_0x461d0a,_0x5aa702){var _0x2273ec=_0x23070f;if(this[_0x2273ec(0x2cc)]!==0x3||!this[_0x2273ec(0x247)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x461d0a[_0x2273ec(0x22b)]===_0x1817f2[_0x2273ec(0x1ec)]&&(this[_0x2273ec(0x1b9)](),this['_startTelemetryCollaborationNewChangeset'](_0x461d0a)),this[_0x2273ec(0x247)][_0x2273ec(0x285)]({'cmd':F[_0x2273ec(0x1b7)],'routeKey':_0x5aa702,'routeType':'','data':_0x461d0a});}catch(_0x45b390){this[_0x2273ec(0x2eb)]['error'](_0x45b390);}}['_scheduleCollaborationTimeoutTimer'](){var _0x56b11b=_0x23070f,_0x4b66f1;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5d3719=_0xb35d;this[_0x5d3719(0x1aa)]=null,this['_collaborationUIEventService'][_0x5d3719(0x190)]({'id':se[_0x5d3719(0x2e8)]});},(_0x4b66f1=this[_0x56b11b(0xf9)][_0x56b11b(0x21e)](Si))!=null?_0x4b66f1:Ei);}[_0x23070f(0x18d)](){var _0x3fc3e6=_0x23070f;this[_0x3fc3e6(0x1aa)]&&(clearTimeout(this[_0x3fc3e6(0x1aa)]),this[_0x3fc3e6(0x1aa)]=null);}[_0x23070f(0x2f1)](_0x5251b1){var _0x21680a=_0x23070f;if(!this[_0x21680a(0xe8)])return;const {data:_0x5ca2b0}=_0x5251b1,{unitID:_0x10cada,changeset:_0x33c009}=_0x5ca2b0,{mutations:_0x3207cb,type:_0xcc3d29}=_0x33c009;this[_0x21680a(0x129)]={'unitId':_0x10cada,'type':_0xcc3d29,'startTime':performance[_0x21680a(0x2ad)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x3207cb)};}[_0x23070f(0x334)](){var _0x3e5a01=_0x23070f;if(this[_0x3e5a01(0xe8)]){if(!this[_0x3e5a01(0x129)]){this['_logService']['error'](_0x3e5a01(0x356),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3e5a01(0x129)][_0x3e5a01(0x114)]=performance[_0x3e5a01(0x2ad)](),this[_0x3e5a01(0x129)][_0x3e5a01(0x2b9)]=this[_0x3e5a01(0x129)]['stopTime']-this[_0x3e5a01(0x129)][_0x3e5a01(0x19c)],this[_0x3e5a01(0x295)]['capture'](Zn,this[_0x3e5a01(0x129)]),this[_0x3e5a01(0x129)]=null;}}[_0x23070f(0x264)](){this['_telemetryInfo']=null;}};Tt=os([me(0x2,_0x2bb897),me(0x3,_0x550a77),me(0x4,_0x3c1aac(_0x15b5c9)),me(0x5,_0x3c1aac(Le)),me(0x6,_0x3c1aac(bi)),me(0x7,_0x3c1aac(pe)),me(0x8,_0x1f8702(_0x455b0c))],Tt);var as=Object['defineProperty'],cs=Object[_0x23070f(0x11f)],hs=(_0x1d1af5,_0x49da22,_0x33fe68,_0x3dac0d)=>{var _0x584ad9=_0x23070f;for(var _0x318b28=_0x3dac0d>0x1?void 0x0:_0x3dac0d?cs(_0x49da22,_0x33fe68):_0x49da22,_0x58d7f1=_0x1d1af5[_0x584ad9(0x222)]-0x1,_0x4938bd;_0x58d7f1>=0x0;_0x58d7f1--)(_0x4938bd=_0x1d1af5[_0x58d7f1])&&(_0x318b28=(_0x3dac0d?_0x4938bd(_0x49da22,_0x33fe68,_0x318b28):_0x4938bd(_0x318b28))||_0x318b28);return _0x3dac0d&&_0x318b28&&as(_0x49da22,_0x33fe68,_0x318b28),_0x318b28;},ge=(_0x1e3b40,_0x142fab)=>(_0x3db6dc,_0x28428f)=>_0x142fab(_0x3db6dc,_0x28428f,_0x1e3b40);let Me=class extends _0xf24b65{constructor(_0xe4bb00,_0x2de296,_0x2f3de4,_0x25ba56,_0x48b95d,_0x242920,_0x5352c6){var _0x3765dd=_0x23070f;super(),D(this,_0x3765dd(0x212),new _0x7694e1(void 0x0)),D(this,_0x3765dd(0xfc),this[_0x3765dd(0x212)][_0x3765dd(0x363)]()),D(this,_0x3765dd(0x20e),null),D(this,_0x3765dd(0x11c),new Map()),D(this,'_status$',new _0x7694e1(Ie['IDLE'])),D(this,_0x3765dd(0xfa),this[_0x3765dd(0x3a6)]['asObservable']()),D(this,_0x3765dd(0x12f),!0x1),D(this,_0x3765dd(0x132)),D(this,_0x3765dd(0x250),0x0),D(this,_0x3765dd(0x1c9)),D(this,'_timeoutTimer'),(this[_0x3765dd(0x1cb)]=_0xe4bb00,this[_0x3765dd(0x2eb)]=_0x2de296,this[_0x3765dd(0xf9)]=_0x2f3de4,this['_socketService']=_0x25ba56,this[_0x3765dd(0x199)]=_0x48b95d,this[_0x3765dd(0x1f9)]=_0x242920,this[_0x3765dd(0x122)]=_0x5352c6,this['_listenToNetworkCondition']());}get['_socket'](){var _0xecc74f=_0x23070f;return this['_socket$'][_0xecc74f(0x3b8)]();}[_0x23070f(0x371)](){var _0x41ea9a=_0x23070f;this[_0x41ea9a(0x122)]&&this[_0x41ea9a(0xcd)](this['_networkConditionService'][_0x41ea9a(0x2e2)][_0x41ea9a(0x29f)](_0x2e7803=>{var _0x376d26=_0x41ea9a;_0x2e7803&&!this['_socket']&&this[_0x376d26(0x16b)](),_0x2e7803||this['_onOffline']();}));}[_0x23070f(0xf1)](){var _0x23c673=_0x23070f;super['dispose'](),this['_sessions']['forEach'](_0x530ced=>_0x530ced[_0x23c673(0xf1)]()),this[_0x23c673(0x11c)]['clear'](),this[_0x23c673(0x3a6)][_0x23c673(0x2ac)]();}async[_0x23070f(0x24b)](_0x12fabd){var _0x705408=_0x23070f;if(this[_0x705408(0x11c)][_0x705408(0x23a)](_0x12fabd))return this[_0x705408(0x11c)][_0x705408(0x3a8)](_0x12fabd);this[_0x705408(0x3a5)]();const _0x5bee07=this[_0x705408(0x1cb)]['createInstance'](Tt,_0x12fabd,this['_socket$']['asObservable']());return this[_0x705408(0x11c)][_0x705408(0x3a0)](_0x12fabd,_0x5bee07),_0x5bee07;}[_0x23070f(0x158)](_0x39de75){var _0x322480=_0x23070f,_0x37181f;const _0x4d627c=this[_0x322480(0x11c)][_0x322480(0x3a8)](_0x39de75);_0x4d627c&&(this[_0x322480(0x11c)][_0x322480(0x342)](_0x39de75),_0x4d627c[_0x322480(0xbf)]()),this[_0x322480(0x11c)]['size']||(_0x37181f=this[_0x322480(0x247)])==null||_0x37181f[_0x322480(0xbf)]();}['reconnect'](){var _0x987cbf=_0x23070f;this[_0x987cbf(0x250)]=0x0,this[_0x987cbf(0x132)]!=null&&(clearTimeout(this[_0x987cbf(0x132)]),this['_retryConnectingTimer']=null),this[_0x987cbf(0x263)]();}async[_0x23070f(0x2a6)](){var _0x533aee=_0x23070f,_0x4e3166,_0x20f076,_0x3d2b01;const _0x3a524a=this['_configService'][_0x533aee(0x21e)](Y),_0x1f8c34=(_0x4e3166=_0x3a524a==null?void 0x0:_0x3a524a[_0x533aee(0x2bf)])!=null?_0x4e3166:xn;return(_0x3d2b01=(_0x20f076=(await this['_httpService'][_0x533aee(0x3a8)](_0x1f8c34,{'headers':{'Content-Type':_0x533aee(0xe3)}}))[_0x533aee(0x18b)])==null?void 0x0:_0x20f076[_0x533aee(0x2fc)])!=null?_0x3d2b01:'';}[_0x23070f(0x174)](_0x1cf760){var _0x377e8a=_0x23070f,_0x5730ed,_0xe90b29;const _0x5194c3=this[_0x377e8a(0xf9)][_0x377e8a(0x21e)](Un),_0x36d0e6=this['_configService']['getConfig'](Y),_0x5cc201=(_0xe90b29=(_0x5730ed=_0x36d0e6==null?void 0x0:_0x36d0e6['collabWebSocketUrl'])!=null?_0x5730ed:_0x5194c3)!=null?_0xe90b29:An,_0x193939=typeof window>'u'?new URL(_0x5cc201):new URL(_0x5cc201,window[_0x377e8a(0x260)]['origin']);_0x193939[_0x377e8a(0x1d3)][_0x377e8a(0x3a0)](_0x377e8a(0x201),_0x1cf760);const _0x20021e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x20021e[_0x377e8a(0x3a8)](_0x377e8a(0x2d0))&&_0x193939['searchParams'][_0x377e8a(0x3a0)](_0x377e8a(0x2d0),_0x20021e['get']('runId')),_0x193939[_0x377e8a(0x32a)]();}async['_createSocket'](){var _0x1fd582=_0x23070f;const _0x356428=await this['_getSessionTicket'](),_0x3299c6=this[_0x1fd582(0x174)](_0x356428),_0x259cf4=this['_socketService']['createSocket'](_0x3299c6);return this['_candidateSocket']=_0x259cf4,_0x259cf4;}async['_tryEnsureSocket'](){var _0x5e50f2=_0x23070f,_0x5ae378,_0x2e3fb0;try{const _0x58f649=(_0x2e3fb0=(_0x5ae378=this['_socket'])!=null?_0x5ae378:this[_0x5e50f2(0x20e)])!=null?_0x2e3fb0:await this['_createSocket']();if(_0x58f649){const _0x54a7dd=_0x58f649[_0x5e50f2(0x285)];_0x58f649[_0x5e50f2(0x285)]=_0x26ea23=>(this['_rescheduleHeartbeat'](),_0x54a7dd[_0x5e50f2(0x106)](_0x58f649,[_0x26ea23])),_0x58f649[_0x5e50f2(0x167)][_0x5e50f2(0x29f)](_0x268a2f=>this[_0x5e50f2(0x144)](_0x58f649,_0x268a2f)),_0x58f649[_0x5e50f2(0x304)][_0x5e50f2(0x338)](_0xa7a683(0x1))[_0x5e50f2(0x29f)](_0x1d1f31=>this[_0x5e50f2(0x2eb)]['error'](_0x5e50f2(0x16d),_0x1d1f31)),_0x58f649[_0x5e50f2(0x3ac)][_0x5e50f2(0x338)](_0xa7a683(0x1))['subscribe'](()=>{var _0x4ca059=_0x5e50f2;this[_0x4ca059(0x3a4)](_0x58f649);}),_0x58f649[_0x5e50f2(0x12d)][_0x5e50f2(0x338)](_0xa7a683(0x1))[_0x5e50f2(0x29f)](_0xdd7d11=>{var _0x3cd3b9=_0x5e50f2;this[_0x3cd3b9(0x2eb)][_0x3cd3b9(0x224)](_0x3cd3b9(0x2d9),_0x3cd3b9(0x39b),_0xdd7d11),this['_onConnectionFailed']();});}}catch(_0x20cb13){this['_logService'][_0x5e50f2(0x251)](_0x20cb13),this[_0x5e50f2(0x30b)]();}}[_0x23070f(0x3a4)](_0x5242da){var _0x53486e=_0x23070f;this[_0x53486e(0x2eb)][_0x53486e(0x224)]('[CollaborationSessionService]',_0x53486e(0xcc)),_0x5242da['send']({'cmd':F[_0x53486e(0x217)]}),this['_rescheduleHeartbeat']();}[_0x23070f(0x39c)](){var _0x5b8b33=_0x23070f;this[_0x5b8b33(0x12f)]=!0x1,this[_0x5b8b33(0x20e)]=null,this[_0x5b8b33(0x3a6)][_0x5b8b33(0x34c)](Ie[_0x5b8b33(0xc6)]),this[_0x5b8b33(0x212)][_0x5b8b33(0x34c)](null),this['_clearTimeoutTimer'](),this[_0x5b8b33(0x145)]();}[_0x23070f(0x30b)](){var _0x46c016=_0x23070f,_0x4296fb;this[_0x46c016(0x39c)](),this[_0x46c016(0x250)]<((_0x4296fb=this['_configService']['getConfig'](Hn))!=null?_0x4296fb:kn)?(this[_0x46c016(0x1f9)][_0x46c016(0x190)]({'id':se[_0x46c016(0x380)]}),this[_0x46c016(0x263)]()):this[_0x46c016(0x1f9)][_0x46c016(0x190)]({'id':se[_0x46c016(0x230)]});}[_0x23070f(0x263)](){var _0x1cb44f=_0x23070f,_0x305477;const _0xe193ee=this['_retryCount'],_0x8dccd1=this['_configService'][_0x1cb44f(0x21e)](Y),_0x5d366c=_0xe193ee===0x0?0x0:((_0x305477=_0x8dccd1==null?void 0x0:_0x8dccd1[_0x1cb44f(0x343)])!=null?_0x305477:$n)*0x2**_0xe193ee;this[_0x1cb44f(0x132)]=setTimeout(()=>{var _0x1c436b=_0x1cb44f;clearTimeout(this[_0x1c436b(0x132)]),this[_0x1c436b(0x132)]=null,this[_0x1c436b(0x3a5)]();},_0x5d366c),this[_0x1cb44f(0x250)]+=0x1;}[_0x23070f(0x144)](_0x318bb4,_0x42b8a0){var _0x551093=_0x23070f;const {cmd:_0x555282}=_0x42b8a0;_0x555282===F['HELLO']&&!this[_0x551093(0x12f)]&&(_0x318bb4[_0x551093(0x31a)]=_0x42b8a0['data'][_0x551093(0x31a)],this[_0x551093(0x212)]['next'](_0x318bb4),this[_0x551093(0x3a6)][_0x551093(0x34c)](Ie[_0x551093(0x283)]),this['_socketReady']=!0x0,this[_0x551093(0x20e)]=null),_0x555282===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x551093(0xe0)]();}[_0x23070f(0xe0)](){var _0x599cf2=_0x23070f,_0x3e3400;this[_0x599cf2(0x145)](),this[_0x599cf2(0x1c9)]=setTimeout(()=>this[_0x599cf2(0x13c)](),(_0x3e3400=this[_0x599cf2(0xf9)][_0x599cf2(0x21e)](Ln))!=null?_0x3e3400:Mn);}['_sendHeartbeat'](){var _0x2a5020=_0x23070f;this[_0x2a5020(0x247)][_0x2a5020(0x285)]({'cmd':F[_0x2a5020(0x241)]}),this[_0x2a5020(0x3a3)]();}[_0x23070f(0x3a3)](){var _0x4e9b24=_0x23070f,_0x2bcd53;this[_0x4e9b24(0x2cf)]=setTimeout(()=>this[_0x4e9b24(0x30b)](),(_0x2bcd53=this['_configService'][_0x4e9b24(0x21e)](Si))!=null?_0x2bcd53:Ei);}[_0x23070f(0x145)](){var _0x5494d6=_0x23070f;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5494d6(0x1c9)]),this['_sendHeartbeatTimer']=null);}[_0x23070f(0x221)](){var _0x41b778=_0x23070f;this[_0x41b778(0x2cf)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x41b778(0x2cf)]=null);}};Me=hs([ge(0x0,_0x3c1aac(_0x26247f)),ge(0x1,_0x2bb897),ge(0x2,_0x550a77),ge(0x3,Ci),ge(0x4,_0x3c1aac(_0x1c781b)),ge(0x5,_0x3c1aac(pe)),ge(0x6,_0x1f8702(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x23070f(0x391)]((n+0x100)['toString'](0x10)[_0x23070f(0xf0)](0x1));function _s(_0x52543f,_0x34c0a6=0x0){var _0x11cf59=_0x23070f;return(V[_0x52543f[_0x34c0a6+0x0]]+V[_0x52543f[_0x34c0a6+0x1]]+V[_0x52543f[_0x34c0a6+0x2]]+V[_0x52543f[_0x34c0a6+0x3]]+'-'+V[_0x52543f[_0x34c0a6+0x4]]+V[_0x52543f[_0x34c0a6+0x5]]+'-'+V[_0x52543f[_0x34c0a6+0x6]]+V[_0x52543f[_0x34c0a6+0x7]]+'-'+V[_0x52543f[_0x34c0a6+0x8]]+V[_0x52543f[_0x34c0a6+0x9]]+'-'+V[_0x52543f[_0x34c0a6+0xa]]+V[_0x52543f[_0x34c0a6+0xb]]+V[_0x52543f[_0x34c0a6+0xc]]+V[_0x52543f[_0x34c0a6+0xd]]+V[_0x52543f[_0x34c0a6+0xe]]+V[_0x52543f[_0x34c0a6+0xf]])[_0x11cf59(0x12e)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x27d0d8=_0x23070f;if(!dt){if(typeof crypto>'u'||!crypto[_0x27d0d8(0x309)])throw new Error(_0x27d0d8(0x37e));dt=crypto['getRandomValues']['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x23070f(0x1fb)][_0x23070f(0x155)](crypto),qt={'randomUUID':ds};function fs(_0x401df3,_0x13ea9d,_0xd0d47a){var _0x445eda=_0x23070f;if(qt['randomUUID']&&!_0x13ea9d&&!_0x401df3)return qt[_0x445eda(0x1fb)]();_0x401df3=_0x401df3||{};const _0x6acca4=_0x401df3[_0x445eda(0x31b)]||(_0x401df3[_0x445eda(0x2a2)]||us)();return _0x6acca4[0x6]=_0x6acca4[0x6]&0xf|0x40,_0x6acca4[0x8]=_0x6acca4[0x8]&0x3f|0x80,_s(_0x6acca4);}const X=_0x36a627(_0x23070f(0x176));function uo(_0x6d2e7c){return'unit-cache-'+_0x6d2e7c;}var vs=Object[_0x23070f(0x1b1)],ps=Object['getOwnPropertyDescriptor'],ms=(_0xd44ef0,_0x24c779,_0x4dc55e,_0x1ba5cd)=>{var _0x5154e8=_0x23070f;for(var _0x387467=_0x1ba5cd>0x1?void 0x0:_0x1ba5cd?ps(_0x24c779,_0x4dc55e):_0x24c779,_0x7cb2ec=_0xd44ef0[_0x5154e8(0x222)]-0x1,_0x2d1c72;_0x7cb2ec>=0x0;_0x7cb2ec--)(_0x2d1c72=_0xd44ef0[_0x7cb2ec])&&(_0x387467=(_0x1ba5cd?_0x2d1c72(_0x24c779,_0x4dc55e,_0x387467):_0x2d1c72(_0x387467))||_0x387467);return _0x1ba5cd&&_0x387467&&vs(_0x24c779,_0x4dc55e,_0x387467),_0x387467;},ft=(_0x3c84f0,_0x5296aa)=>(_0x31ee8c,_0x213cfb)=>_0x5296aa(_0x31ee8c,_0x213cfb,_0x3c84f0);function gs(_0x350b7b){var _0x2f39cf=_0x23070f;const {unitID:_0x4b5e7f,mutations:_0x4d0a8a}=_0x350b7b;return{'unitId':_0x4b5e7f,'subUnitId':_0x4d0a8a[0x0][_0x2f39cf(0x171)]['subUnitId']};}let nt=class{constructor(_0x378fce,_0x1370a8,_0x14391f){var _0x202119=_0x23070f;this['_injector']=_0x378fce,this[_0x202119(0x261)]=_0x1370a8,this[_0x202119(0x308)]=_0x14391f;}['transformSelections'](_0x54dfbf){var _0x5c1ed6=_0x23070f,_0x10fb74,_0x26a787,_0x52b1af,_0x4ce397;const _0x4d42d6=this[_0x5c1ed6(0x1cb)][_0x5c1ed6(0x3a8)](_0x4c4388),{unitId:_0x2b0a86,subUnitId:_0x57beda}=gs(_0x54dfbf),_0x593c3c=_0x4d42d6==null?void 0x0:_0x4d42d6[_0x5c1ed6(0x3af)](_0x2b0a86)[_0x5c1ed6(0x207)](),_0x1369c4=(_0x26a787=(_0x10fb74=this[_0x5c1ed6(0x308)][_0x5c1ed6(0x2f9)](_0x2b0a86))==null?void 0x0:_0x10fb74[_0x5c1ed6(0x196)]())==null?void 0x0:_0x26a787[_0x5c1ed6(0x276)]();if(_0x593c3c[_0x5c1ed6(0x222)]===0x0||!_0x2b0a86||!_0x57beda)return;const _0x589e28=[{'id':_0x85b782['id'],'params':{'unitId':_0x2b0a86,'subUnitId':_0x1369c4,'selections':_0x3a5e6b[_0x5c1ed6(0x32e)](_0x593c3c)}}],_0x345ea0=this['_transformService']['transformMutationsWithChangeset'](_0x54dfbf,_0x589e28);if(!_0x289d93(_0x345ea0))throw _0x345ea0[_0x5c1ed6(0x251)];const _0x4d573d=(_0x4ce397=(_0x52b1af=_0x345ea0[_0x5c1ed6(0x1d8)][0x0])==null?void 0x0:_0x52b1af['params'])==null?void 0x0:_0x4ce397['selections'];if(Array[_0x5c1ed6(0x1ed)](_0x4d573d)&&_0x4d573d[_0x5c1ed6(0x222)]){if(_0x4d573d['length']===_0x589e28[0x0][_0x5c1ed6(0x171)]['selections'][_0x5c1ed6(0x222)]&&_0x4d573d[_0x5c1ed6(0x1ce)]((_0x365560,_0x1cd45f)=>_0x7cf7d8[_0x5c1ed6(0x3b4)](_0x365560[_0x5c1ed6(0x2e1)],_0x589e28[0x0]['params'][_0x5c1ed6(0x3aa)][_0x1cd45f][_0x5c1ed6(0x2e1)])))return;this[_0x5c1ed6(0x1cb)][_0x5c1ed6(0x3a8)](_0x1a55e3)[_0x5c1ed6(0x2d7)](_0x85b782['id'],{'unitId':_0x2b0a86,'subUnitId':_0x1369c4,'selections':_0x4d573d});}}};nt=ms([ft(0x0,_0x3c1aac(_0x26247f)),ft(0x1,_0x33bf37),ft(0x2,_0x57416f)],nt);const _t=_0x36a627(_0x23070f(0x28d));var Ri=(_0x4103da=>(_0x4103da[_0x4103da[_0x23070f(0x3c2)]=0x0]=_0x23070f(0x3c2),_0x4103da[_0x4103da[_0x23070f(0x1d1)]=0x1]=_0x23070f(0x1d1),_0x4103da))(Ri||{});const Ss=new Set([_0x234dd8['id']]);function Jt(_0x322c0c,_0x1952eb,_0x59552d,_0x358ca3,_0xd37987){var _0x50cb29=_0x23070f,_0x20247c,_0x2e8ad7,_0x41c8cf,_0x152fec;const _0x147d8d=[];for(const _0x47beb5 of _0x322c0c)if(Ss[_0x50cb29(0x23a)](_0x47beb5['id'])){if(_0x147d8d[_0x50cb29(0x222)]>0x0)break;_0x147d8d['push'](_0x47beb5);break;}else _0x147d8d['push'](_0x47beb5);const _0x596af6=(_0x2e8ad7=(_0x20247c=_0xd37987[_0x50cb29(0x325)]())==null?void 0x0:_0x20247c[_0x50cb29(0x185)])!=null?_0x2e8ad7:'unknown',_0x24b23d=(_0x152fec=(_0x41c8cf=_0xd37987[_0x50cb29(0x325)]())==null?void 0x0:_0x41c8cf[_0x50cb29(0x31a)])!=null?_0x152fec:_0x50cb29(0x36e);return{'changeset':{'unitID':_0x1952eb,'type':_0xc9bf88(_0x59552d[_0x50cb29(0x365)](_0x1952eb)),'baseRev':_0x358ca3['getCurrentRevOfUnit'](_0x1952eb),'revision':0x0,'userID':_0x596af6,'memberID':_0x24b23d,'mutations':_0x147d8d},'pendingMutations':_0x322c0c[_0x50cb29(0xf0)](_0x147d8d[_0x50cb29(0x222)])};}function Es(_0x15f6e0,_0x16c253,_0x5aeb42,_0x2f2c13,_0x245199){var _0x38a90d=_0x23070f,_0x27812a,_0x3af700,_0x3578d4,_0x12ed38;const _0x35a5f9=[_0x15f6e0[_0x38a90d(0x162)]((_0x96cd4b,_0xed528b)=>{var _0x53266e=_0x38a90d,_0x7ec755;const {id:_0x326338}=_0x96cd4b,{id:_0x5af062,type:_0x17c99c}=_0xed528b,_0x134cef=(_0x7ec755=_0x96cd4b[_0x53266e(0x171)])!=null?_0x7ec755:{'actions':null},_0x4e24b2=_0xed528b['params'];if(_0x326338&&_0x326338!==_0x5af062)throw new Error(_0x53266e(0x225)+_0x326338+'\x20-\x20'+_0x5af062+'.');return{..._0x96cd4b,'id':_0x5af062,'type':_0x17c99c,'params':{'unitId':_0x4e24b2[_0x53266e(0x2d8)],'textRanges':_0x4e24b2[_0x53266e(0xd4)],'actions':_0x47b697[_0x53266e(0x293)](_0x134cef[_0x53266e(0x2f6)],_0x4e24b2['actions'])}};},{})],_0x928814=(_0x3af700=(_0x27812a=_0x245199[_0x38a90d(0x325)]())==null?void 0x0:_0x27812a[_0x38a90d(0x185)])!=null?_0x3af700:_0x38a90d(0x36e),_0x32e369=(_0x12ed38=(_0x3578d4=_0x245199['getCurrentUser']())==null?void 0x0:_0x3578d4[_0x38a90d(0x31a)])!=null?_0x12ed38:'unknown';return{'changeset':{'unitID':_0x16c253,'type':_0xc9bf88(_0x5aeb42[_0x38a90d(0x365)](_0x16c253)),'baseRev':_0x2f2c13[_0x38a90d(0x2ca)](_0x16c253),'revision':0x0,'userID':_0x928814,'memberID':_0x32e369,'mutations':_0x35a5f9},'pendingMutations':[]};}function yi(_0x391ee7,_0xed0edd){var _0x2c754f=_0x23070f;const _0x2799b4=new _0xa5706e(0x1);return setTimeout(()=>_0x2799b4[_0x2c754f(0x34c)](_0xed0edd),_0x391ee7),_0x2799b4[_0x2c754f(0x363)]()[_0x2c754f(0x338)](_0x4ad541(0x1));}const Is={'id':_0x2a15d9['id'],'type':_0x45b49c[_0x23070f(0x288)],'params':{}};var Ts=Object[_0x23070f(0x1b1)],Cs=Object['getOwnPropertyDescriptor'],Ce=(_0x29f993,_0x4b6814,_0x236328,_0x115a62)=>{var _0x32717b=_0x23070f;for(var _0x45b8db=_0x115a62>0x1?void 0x0:_0x115a62?Cs(_0x4b6814,_0x236328):_0x4b6814,_0x10263a=_0x29f993[_0x32717b(0x222)]-0x1,_0x41ab5f;_0x10263a>=0x0;_0x10263a--)(_0x41ab5f=_0x29f993[_0x10263a])&&(_0x45b8db=(_0x115a62?_0x41ab5f(_0x4b6814,_0x236328,_0x45b8db):_0x41ab5f(_0x45b8db))||_0x45b8db);return _0x115a62&&_0x45b8db&&Ts(_0x4b6814,_0x236328,_0x45b8db),_0x45b8db;},A=(_0x3ec255,_0x2de94a)=>(_0xdf0e07,_0xa1afc0)=>_0x2de94a(_0xdf0e07,_0xa1afc0,_0x3ec255),Oi=(_0x2d2494=>(_0x2d2494['NOT_COLLAB']='not_collab',_0x2d2494[_0x23070f(0x298)]=_0x23070f(0x31d),_0x2d2494[_0x23070f(0x1dd)]=_0x23070f(0xc2),_0x2d2494['AWAITING']=_0x23070f(0x3b7),_0x2d2494[_0x23070f(0xff)]=_0x23070f(0x22a),_0x2d2494['FETCH_MISS']=_0x23070f(0x2ae),_0x2d2494[_0x23070f(0x282)]='conflict',_0x2d2494[_0x23070f(0xc6)]=_0x23070f(0x1f0),_0x2d2494))(Oi||{});const Pi=0xea60;class be{constructor(_0x2efd2a,_0x40f61e,_0x4108ec,_0x2f6ece,_0xc6e85e,_0x2d91bd,_0x37ac2a,_0x335a31,_0x37b778){var _0x4ef037=_0x23070f;D(this,_0x4ef037(0x1e8),null),D(this,_0x4ef037(0xe6),[]),(this[_0x4ef037(0x3ad)]=_0x2efd2a,this[_0x4ef037(0x105)]=_0x40f61e,this[_0x4ef037(0x18a)]=_0xc6e85e,this[_0x4ef037(0x382)]=_0x2d91bd,this['_undoRedoService']=_0x37ac2a,this[_0x4ef037(0x28b)]=_0x335a31,this[_0x4ef037(0x1a1)]=_0x37b778,this['_awaitingChangeset']=_0x4108ec,this[_0x4ef037(0xe6)]=_0x2f6ece);}[_0x23070f(0x10b)](_0x3d4be1){var _0x2d13f5=_0x23070f;const _0xcd39e4=this[_0x2d13f5(0x28b)]['getCurrentRevOfUnit'](this[_0x2d13f5(0x3ad)]);return _0x3d4be1['revision']>_0xcd39e4+0x1?(this[_0x2d13f5(0x18a)][_0x2d13f5(0x361)]({'from':_0xcd39e4,'to':_0x3d4be1[_0x2d13f5(0x2a1)]-0x1}),!0x0):!0x1;}[_0x23070f(0x1c7)](_0x66b7c5){var _0x469b8c=_0x23070f;this['_undoRedoService'][_0x469b8c(0x2a7)](this[_0x469b8c(0x3ad)],_0x66b7c5);}[_0x23070f(0x28a)](_0x5a5fb5){var _0x13627f=_0x23070f,_0x34d624,_0x57b8f6;(_0x57b8f6=(_0x34d624=this[_0x13627f(0x18a)])[_0x13627f(0x376)])==null||_0x57b8f6[_0x13627f(0x34a)](_0x34d624,_0x5a5fb5);}[_0x23070f(0x3c4)](_0x419d0e){var _0xfdbb21=_0x23070f,_0x48e8d4,_0x1b1ddc;return(_0x1b1ddc=(_0x48e8d4=this['_handler'])['onTransformIME'])==null?void 0x0:_0x1b1ddc[_0xfdbb21(0x34a)](_0x48e8d4,_0x419d0e);}['_transformStateCache'](_0x4e2965){var _0x28e99e=_0x23070f,_0x18f1ee,_0x102f9f;return(_0x102f9f=(_0x18f1ee=this['_handler'])[_0x28e99e(0x386)])==null?void 0x0:_0x102f9f['call'](_0x18f1ee,_0x4e2965);}[_0x23070f(0x34f)](_0xc6941d){var _0x29519a=_0x23070f,_0x3c8485,_0x4ae0e9,_0x561e76;return(_0x561e76=(_0x4ae0e9=(_0x3c8485=this['_handler'])[_0x29519a(0x2c6)])==null?void 0x0:_0x4ae0e9[_0x29519a(0x34a)](_0x3c8485,_0xc6941d))!=null?_0x561e76:_0xc6941d;}[_0x23070f(0x24f)](_0x356452){var _0xa5112d=_0x23070f,_0x2f7faf,_0x3aebcd,_0x45882f;return(_0x45882f=(_0x3aebcd=(_0x2f7faf=this[_0xa5112d(0x18a)])[_0xa5112d(0x2aa)])==null?void 0x0:_0x3aebcd[_0xa5112d(0x34a)](_0x2f7faf,_0x356452))!=null?_0x45882f:_0x356452;}['_syncEditingCollabCursor'](_0xdd2f40){var _0x4b698e=_0x23070f,_0x484adb,_0x4fd95f;if(this[_0x4b698e(0x105)]===Q[_0x4b698e(0x1d0)]){const {unitID:_0x405556,mutations:_0x391cde,memberID:_0x23ae1a}=_0xdd2f40,_0x134aa7=_0x391cde[0x0][_0x4b698e(0x171)][_0x4b698e(0xd4)];Array[_0x4b698e(0x1ed)](_0x134aa7)&&_0x134aa7[_0x4b698e(0x222)]>0x0&&((_0x4fd95f=(_0x484adb=this[_0x4b698e(0x18a)])['onSyncEditingCollabCursor'])==null||_0x4fd95f[_0x4b698e(0x34a)](_0x484adb,{'unitID':_0x405556,'memberID':_0x23ae1a,'textRanges':_0x134aa7}));}}[_0x23070f(0xe9)](){var _0x129d87=_0x23070f,_0x1fa9d3;(_0x1fa9d3=this[_0x129d87(0x1a1)])==null||_0x1fa9d3[_0x129d87(0x161)](this['unitID'],this[_0x129d87(0x105)],this['_awaitingChangeset'],this[_0x129d87(0xe6)]);}['_getCurrentRevision'](){var _0x3bf114=_0x23070f;return this['_revisionService'][_0x3bf114(0x2ca)](this[_0x3bf114(0x3ad)]);}[_0x23070f(0x337)](){var _0xe0c968=_0x23070f;this['_revisionService']['incrementRevOfUnit'](this[_0xe0c968(0x3ad)]);}[_0x23070f(0xdb)](_0x2b8f05){var _0x4203a1=_0x23070f,_0x29dd2c;let _0x549a94=this[_0x4203a1(0x34f)](_0x2b8f05);_0x549a94=this['_transformRemoteChangesetByStateCache'](_0x549a94);const _0x45db35=_0x4e708e(_0x549a94['mutations'],this[_0x4203a1(0x382)],{'fromCollab':!0x0});if(!_0x45db35[_0x4203a1(0x123)])throw _0x45db35[_0x4203a1(0x251)]instanceof Error?_0x45db35[_0x4203a1(0x251)]:new Error((_0x29dd2c=_0x45db35[_0x4203a1(0x251)])!=null?_0x29dd2c:_0x4203a1(0x27c));this[_0x4203a1(0x3c4)](_0x549a94),this['_transformStateCache'](_0x549a94),this[_0x4203a1(0x1c7)](_0x2b8f05),this['_transformSelections'](_0x549a94),this[_0x4203a1(0x262)](_0x549a94),this['_incrementRevisionNumber']();}}let Pe=class extends be{constructor(_0x24b1f6,_0x190999,_0xd36244,_0x12b5e3,_0xda7e5c,_0x47dea5,_0x2461be,_0x528044,_0x1a2940,_0xc0973){var _0x574f6f=_0x23070f;super(_0x24b1f6,_0x190999,null,[],_0xd36244,_0x2461be,_0x47dea5,_0x12b5e3,_0xc0973),D(this,_0x574f6f(0x11a),_0x574f6f(0x31d)),(this[_0x574f6f(0x1cb)]=_0xda7e5c,this[_0x574f6f(0x2eb)]=_0x528044,this[_0x574f6f(0x261)]=_0x1a2940,this['localCacheService']=_0xc0973);}['appendMutation'](_0x401d5a){var _0x229072=_0x23070f;const _0x165103=this[_0x229072(0x1cb)][_0x229072(0xc7)](re,this['unitID'],this[_0x229072(0x105)],[_0x401d5a],this[_0x229072(0x18a)]);return _0x165103[_0x229072(0x191)](),_0x165103[_0x229072(0xe9)](),_0x165103;}[_0x23070f(0x18c)](_0x1dad94){var _0x56a09c=_0x23070f;if(this[_0x56a09c(0x10b)](_0x1dad94))return this[_0x56a09c(0x1cb)]['createInstance'](te,this[_0x56a09c(0x3ad)],this['type'],null,[],null,[_0x1dad94],this['_handler']);try{const _0x10dc49=this['_transformService'][_0x56a09c(0x246)](_0x1dad94,[Is]);if(_0x289d93(_0x10dc49)){const {c1Prime:_0x3f8173}=_0x10dc49;return this['_executeRemoteChangeset'](_0x3f8173),this;}throw _0x10dc49[_0x56a09c(0x251)];}catch(_0xe6332){return this['_logService'][_0x56a09c(0x251)](_0xe6332),this['_onConflict'](!0x1);}}[_0x23070f(0x160)](_0x18cd36){var _0x13a723=_0x23070f;return this[_0x13a723(0x1cb)][_0x13a723(0xc7)](de,this[_0x13a723(0x3ad)],this[_0x13a723(0x105)],null,[],this[_0x13a723(0x18a)],_0x18cd36);}[_0x23070f(0x1d2)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x23070f(0x344)](){var _0x6e5a7=_0x23070f;throw new Error(_0x6e5a7(0x213));}[_0x23070f(0xeb)](){return this;}[_0x23070f(0x28e)](){var _0xb2a2a5=_0x23070f;return this[_0xb2a2a5(0x1cb)]['createInstance'](fe,this['unitID'],this[_0xb2a2a5(0x105)],null,[],this[_0xb2a2a5(0x18a)]);}[_0x23070f(0x227)](){return this;}[_0x23070f(0x1af)](){var _0xe22e6a=_0x23070f;throw new Error(_0xe22e6a(0x254));}[_0x23070f(0x248)](){var _0x2cf02c=_0x23070f;const _0x28a41e=this[_0x2cf02c(0x28b)]['getCurrentRevOfUnit'](this[_0x2cf02c(0x3ad)]);return this[_0x2cf02c(0x18a)][_0x2cf02c(0x361)]({'from':_0x28a41e,'to':0x0}),this[_0x2cf02c(0x1cb)][_0x2cf02c(0xc7)](te,this['unitID'],this[_0x2cf02c(0x105)],null,[],null,[],this[_0x2cf02c(0x18a)]);}};Pe=Ce([A(0x3,_0x3c1aac(_0x301751)),A(0x4,_0x3c1aac(_0x26247f)),A(0x5,_0x41a8a9),A(0x6,_0x1a55e3),A(0x7,_0x2bb897),A(0x8,_0x33bf37),A(0x9,_0x1f8702(X))],Pe);let re=class extends be{constructor(_0x22ac86,_0x26e9eb,_0x59d9b0,_0x25b79b,_0x14e001,_0x111039,_0x911f00,_0x2b0c15,_0x550934,_0x32ea2c,_0x57ee90,_0x238030,_0x473381,_0x3014aa){var _0x411233=_0x23070f;super(_0x22ac86,_0x26e9eb,null,_0x59d9b0,_0x25b79b,_0x550934,_0x473381,_0x111039,_0x3014aa),D(this,_0x411233(0x11a),_0x411233(0xc2)),D(this,_0x411233(0x292),null),D(this,_0x411233(0x26b),null),(this[_0x411233(0x1cb)]=_0x14e001,this['_memberService']=_0x911f00,this[_0x411233(0x2eb)]=_0x2b0c15,this[_0x411233(0xf9)]=_0x32ea2c,this[_0x411233(0x261)]=_0x57ee90,this[_0x411233(0x14d)]=_0x238030);}[_0x23070f(0x1bd)](_0xd976ba){var _0x4d68d6=_0x23070f;return this[_0x4d68d6(0xe6)]['push'](_0xd976ba),this[_0x4d68d6(0xe9)](),this;}['onRemoteChangeset'](_0x3c9082){var _0x3fc65c=_0x23070f;if(this[_0x3fc65c(0x10b)](_0x3c9082))return this['_clearScheduledTask'](),this[_0x3fc65c(0x1cb)]['createInstance'](te,this[_0x3fc65c(0x3ad)],this[_0x3fc65c(0x105)],null,this[_0x3fc65c(0xe6)],null,[_0x3c9082],this[_0x3fc65c(0x18a)]);try{const _0x2a33a4=this[_0x3fc65c(0x261)][_0x3fc65c(0x246)](_0x3c9082,this[_0x3fc65c(0xe6)]);if(_0x289d93(_0x2a33a4)){const {c1Prime:_0x4c1ef1,m2Prime:_0x4b92af}=_0x2a33a4;this[_0x3fc65c(0xdb)](_0x4c1ef1);const _0x16da59=this[_0x3fc65c(0x1cb)][_0x3fc65c(0xc7)](re,this[_0x3fc65c(0x3ad)],this[_0x3fc65c(0x105)],_0x4b92af,this['_handler']);return this[_0x3fc65c(0x100)](),_0x16da59[_0x3fc65c(0x191)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this[_0x3fc65c(0x292)]):this[_0x3fc65c(0x1ca)]()),_0x16da59;}throw _0x2a33a4[_0x3fc65c(0x251)];}catch(_0x1ed9fc){return this[_0x3fc65c(0x2eb)][_0x3fc65c(0x251)](_0x1ed9fc),this[_0x3fc65c(0x160)](!0x1);}}[_0x23070f(0x1d2)](){var _0x366145=_0x23070f;throw new Error(_0x366145(0x1a3));}[_0x23070f(0x344)](){var _0x4d7222=_0x23070f;throw new Error(_0x4d7222(0x284));}[_0x23070f(0xeb)](){return this;}['toggleOffline'](){var _0x370364=_0x23070f;return this[_0x370364(0x100)](),this[_0x370364(0x1cb)]['createInstance'](fe,this[_0x370364(0x3ad)],this[_0x370364(0x105)],null,this[_0x370364(0xe6)],this[_0x370364(0x18a)]);}[_0x23070f(0x227)](){return this;}['_schedule'](_0x40f2e7){var _0x336936=_0x23070f;const _0x54fd32=_0x40f2e7!=null?_0x40f2e7:this[_0x336936(0x1ca)]();this['_scheduleTimestamp']=new Date()[_0x336936(0x1c8)](),this['_sendingTimer']=setTimeout(()=>{var _0xadbda9=_0x336936;this['_clearScheduledTask']();let _0x4ff7dc=null;switch(this[_0xadbda9(0x105)]){case Q[_0xadbda9(0x25b)]:{_0x4ff7dc=Jt(this[_0xadbda9(0xe6)],this['unitID'],this[_0xadbda9(0x14d)],this['_revisionService'],this[_0xadbda9(0x2f7)]);break;}case Q[_0xadbda9(0x1d0)]:{this[_0xadbda9(0xe6)]['every'](_0x54ebc6=>_0x54ebc6['id']===_0x291f75['id'])?_0x4ff7dc=Es(this[_0xadbda9(0xe6)],this[_0xadbda9(0x3ad)],this[_0xadbda9(0x14d)],this[_0xadbda9(0x28b)],this['_memberService']):_0x4ff7dc=Jt(this[_0xadbda9(0xe6)],this[_0xadbda9(0x3ad)],this['_univerInstanceService'],this[_0xadbda9(0x28b)],this[_0xadbda9(0x2f7)]);break;}default:throw new Error(_0xadbda9(0x142)+this[_0xadbda9(0x105)]+_0xadbda9(0x15b));}const {changeset:_0x40d827,pendingMutations:_0x5b57e7}=_0x4ff7dc;this[_0xadbda9(0x18a)][_0xadbda9(0x377)](_0x40d827);const _0xa95bbb=_0x5b57e7[_0xadbda9(0x222)]?this['_injector'][_0xadbda9(0xc7)](oe,this[_0xadbda9(0x3ad)],this[_0xadbda9(0x105)],_0x40d827,_0x5b57e7,this['_handler'],void 0x0):this[_0xadbda9(0x1cb)]['createInstance'](ue,this[_0xadbda9(0x3ad)],this[_0xadbda9(0x105)],_0x40d827,this['_handler']);_0xa95bbb['_updateLocalCache'](),this[_0xadbda9(0x18a)][_0xadbda9(0x1b5)](this,_0xa95bbb);},_0x54fd32);}[_0x23070f(0x1ca)](){var _0x1295b5=_0x23070f,_0x1f00c0;const _0xc9cc3e=this['_configService'][_0x1295b5(0x21e)](Y);return(_0x1f00c0=_0xc9cc3e==null?void 0x0:_0xc9cc3e[_0x1295b5(0xfe)])!=null?_0x1f00c0:wn;}[_0x23070f(0x1af)](){var _0x3ec819=_0x23070f;throw new Error(_0x3ec819(0xd3));}['_clearScheduledTask'](){var _0x23b233=_0x23070f;this[_0x23b233(0x26b)]!=null&&(clearTimeout(this[_0x23b233(0x26b)]),this['_sendingTimer']=null);}['_onConflict'](_0xee62a7){var _0x60afca=_0x23070f;return this[_0x60afca(0x100)](),this[_0x60afca(0x1cb)]['createInstance'](de,this[_0x60afca(0x3ad)],this[_0x60afca(0x105)],null,this[_0x60afca(0xe6)],this[_0x60afca(0x18a)],_0xee62a7);}};re=Ce([A(0x4,_0x3c1aac(_0x26247f)),A(0x5,_0x3c1aac(_0x301751)),A(0x6,_0x3c1aac(Le)),A(0x7,_0x2bb897),A(0x8,_0x1a55e3),A(0x9,_0x550a77),A(0xa,_0x33bf37),A(0xb,_0x57416f),A(0xc,_0x41a8a9),A(0xd,_0x1f8702(X))],re);let ue=class extends be{constructor(_0x518dba,_0x4edc4a,_0x4b110f,_0x287d3b,_0x4bbffd,_0x1c502b,_0x268122,_0x4de285,_0x47fa0b,_0x294073,_0x9ac17a){var _0x52d1bc=_0x23070f;super(_0x518dba,_0x4edc4a,_0x4b110f,[],_0x287d3b,_0x268122,_0x294073,_0x1c502b,_0x9ac17a),D(this,'status',_0x52d1bc(0x3b7)),D(this,_0x52d1bc(0x2e4),0x0),D(this,_0x52d1bc(0x1db)),D(this,_0x52d1bc(0x311)),(this[_0x52d1bc(0x1cb)]=_0x4bbffd,this[_0x52d1bc(0x2eb)]=_0x4de285,this[_0x52d1bc(0x261)]=_0x47fa0b);}[_0x23070f(0x1bd)](_0x3324bf){var _0x162378=_0x23070f;this[_0x162378(0x100)]();const _0x4ca73b=this[_0x162378(0x1cb)]['createInstance'](oe,this[_0x162378(0x3ad)],this[_0x162378(0x105)],this[_0x162378(0x1e8)],[_0x3324bf],this[_0x162378(0x18a)],this[_0x162378(0x1db)]);return _0x4ca73b[_0x162378(0xe9)](),_0x4ca73b;}['onRemoteChangeset'](_0x2bb08a){var _0x189462=_0x23070f;if(this[_0x189462(0x10b)](_0x2bb08a))return this[_0x189462(0x100)](),this[_0x189462(0x1cb)][_0x189462(0xc7)](te,this[_0x189462(0x3ad)],this[_0x189462(0x105)],this[_0x189462(0x1e8)],[],null,[_0x2bb08a],this[_0x189462(0x18a)]);try{const _0x131834=this[_0x189462(0x261)][_0x189462(0x1bb)]([_0x2bb08a],[this[_0x189462(0x1e8)]],!0x1);if(_0x1b3db2(_0x131834)){const {c1Prime:_0x191b83,c2Prime:_0x507e7e}=_0x131834;this[_0x189462(0xdb)](_0x191b83[0x0]),_0x507e7e[0x0][_0x189462(0x2d2)]=this[_0x189462(0x354)](),this['_clearScheduledTask']();const _0x4002ce=this[_0x189462(0x1cb)][_0x189462(0xc7)](ue,this[_0x189462(0x3ad)],this[_0x189462(0x105)],_0x507e7e[0x0],this[_0x189462(0x18a)]);return _0x4002ce[_0x189462(0xe9)](),_0x4002ce;}return this[_0x189462(0x160)](!0x1);}catch(_0x262960){return this[_0x189462(0x2eb)]['error'](_0x262960),this[_0x189462(0x160)](!0x1);}}['onRemoteAck'](_0x364827){var _0x3604bb=_0x23070f;this[_0x3604bb(0x100)]();const _0x5d92ae=this[_0x3604bb(0x28b)][_0x3604bb(0x2ca)](this['unitID']);if(_0x364827[_0x3604bb(0x2a1)]<_0x5d92ae-0x1)return this;if(this[_0x3604bb(0x10b)](_0x364827))return this['_injector'][_0x3604bb(0xc7)](te,this[_0x3604bb(0x3ad)],this[_0x3604bb(0x105)],null,[],this[_0x3604bb(0x1e8)],[],this[_0x3604bb(0x18a)]);this[_0x3604bb(0x337)]();const _0x259a81=this['_injector'][_0x3604bb(0xc7)](Pe,this[_0x3604bb(0x3ad)],this[_0x3604bb(0x105)],this[_0x3604bb(0x18a)]);return _0x259a81[_0x3604bb(0xe9)](),_0x259a81;}[_0x23070f(0x344)](_0x494539){var _0x2ee592=_0x23070f;return this[_0x2ee592(0x160)](!!(_0x494539!=null&&_0x494539[_0x2ee592(0x2fe)]));}[_0x23070f(0xeb)](_0x4766cf){var _0x363acf=_0x23070f;return this[_0x363acf(0x2e4)]>Pi?this[_0x363acf(0x28e)]():(this['_resendTimer']=yi(this[_0x363acf(0x2e4)],{'timeout':this[_0x363acf(0x2e4)],'reqId':_0x4766cf[_0x363acf(0x234)]}),this[_0x363acf(0x311)]=this[_0x363acf(0x1db)][_0x363acf(0x29f)](({reqId:_0x2aea6e,timeout:_0x5e7c54})=>{var _0x533eb6=_0x363acf;this[_0x533eb6(0x35f)](_0x2aea6e,_0x5e7c54);}),this);}[_0x23070f(0x28e)](){var _0x1e16a1=_0x23070f;return this[_0x1e16a1(0x100)](),this['_injector'][_0x1e16a1(0xc7)](fe,this['unitID'],this[_0x1e16a1(0x105)],this['_awaitingChangeset'],[],this['_handler']);}[_0x23070f(0x227)](){return this;}[_0x23070f(0x1af)](){var _0x91de56=_0x23070f;this[_0x91de56(0x18a)][_0x91de56(0x377)](this['_awaitingChangeset']);}[_0x23070f(0x160)](_0x4bdfac){var _0x1bb712=_0x23070f;return this[_0x1bb712(0x100)](),this[_0x1bb712(0x1cb)]['createInstance'](de,this[_0x1bb712(0x3ad)],this[_0x1bb712(0x105)],this[_0x1bb712(0x1e8)],[],this[_0x1bb712(0x18a)],_0x4bdfac);}[_0x23070f(0x35f)](_0x1201e6,_0x18acd4){var _0x23ccf5=_0x23070f,_0x5e82a3;_0x1201e6===((_0x5e82a3=this[_0x23ccf5(0x1e8)])==null?void 0x0:_0x5e82a3[_0x23ccf5(0x234)])&&(this[_0x23ccf5(0x1af)](),this[_0x23ccf5(0x2e4)]=_0x18acd4===0x0?0x3e8:_0x18acd4*0x2);}['_clearScheduledTask'](){var _0x3ceec5=_0x23070f,_0x40d03e;(_0x40d03e=this['_sender'])==null||_0x40d03e['unsubscribe'](),this[_0x3ceec5(0x2e4)]=0x0;}};ue=Ce([A(0x4,_0x3c1aac(_0x26247f)),A(0x5,_0x3c1aac(_0x301751)),A(0x6,_0x1a55e3),A(0x7,_0x2bb897),A(0x8,_0x33bf37),A(0x9,_0x41a8a9),A(0xa,_0x1f8702(X))],ue);let oe=class extends be{constructor(_0x5a6974,_0x4ee2f4,_0x5af482,_0x139f5f,_0x4d2bbc,_0x3c4ea8,_0x1f996b,_0x552387,_0x2d5dd1,_0x4bb165,_0xbc20be,_0xa77c9,_0x5ce876){var _0x4cee3c=_0x23070f;super(_0x5a6974,_0x4ee2f4,_0x5af482,_0x139f5f,_0x4d2bbc,_0x2d5dd1,_0xa77c9,_0x552387,_0x5ce876),D(this,_0x4cee3c(0x11a),_0x4cee3c(0x22a)),D(this,_0x4cee3c(0x2e4),0x0),D(this,_0x4cee3c(0x1db)),D(this,_0x4cee3c(0x311)),(this[_0x4cee3c(0x1cb)]=_0x1f996b,this[_0x4cee3c(0x2eb)]=_0x4bb165,this[_0x4cee3c(0x261)]=_0xbc20be,this[_0x4cee3c(0x188)]=_0x5ce876,_0x3c4ea8&&(this[_0x4cee3c(0x1db)]=_0x3c4ea8,this[_0x4cee3c(0x311)]=this[_0x4cee3c(0x1db)][_0x4cee3c(0x29f)](({reqId:_0x50f68e,timeout:_0x2aefb2})=>{var _0x12ce25=_0x4cee3c;this[_0x12ce25(0x35f)](_0x50f68e,_0x2aefb2);})));}[_0x23070f(0x1bd)](_0x39ca43){var _0x237dd4=_0x23070f;return this['_pendingMutations'][_0x237dd4(0x391)](_0x39ca43),this;}['onRemoteChangeset'](_0x3f4ef0){var _0x4a5474=_0x23070f;if(this[_0x4a5474(0x10b)](_0x3f4ef0))return this[_0x4a5474(0x100)](),this['_injector'][_0x4a5474(0xc7)](te,this['unitID'],this[_0x4a5474(0x105)],this[_0x4a5474(0x1e8)],this[_0x4a5474(0xe6)],null,[_0x3f4ef0],this[_0x4a5474(0x18a)]);try{const _0x360377=this[_0x4a5474(0x261)][_0x4a5474(0x1bb)]([_0x3f4ef0],[this[_0x4a5474(0x1e8)]],!0x1);if(_0x1b3db2(_0x360377)){const {c1Prime:_0x2d9c4f,c2Prime:_0x30724b}=_0x360377,_0x6899fd=this[_0x4a5474(0x261)][_0x4a5474(0x246)](_0x2d9c4f[0x0],this[_0x4a5474(0xe6)]);if(_0x289d93(_0x6899fd)){const {c1Prime:_0x587228,m2Prime:_0x1b6362}=_0x6899fd;return this['_executeRemoteChangeset'](_0x587228),_0x30724b[0x0][_0x4a5474(0x2d2)]=this[_0x4a5474(0x354)](),this['_clearScheduledTask'](),this['_injector'][_0x4a5474(0xc7)](oe,this[_0x4a5474(0x3ad)],this['type'],_0x30724b[0x0],_0x1b6362,this[_0x4a5474(0x18a)],void 0x0);}throw _0x6899fd['error'];}throw _0x360377[_0x4a5474(0x251)];}catch(_0x5a69a3){return this['_logService'][_0x4a5474(0x251)](_0x5a69a3),this['_onConflict'](!0x1);}}[_0x23070f(0x1d2)](_0x3da606){var _0x12ee9f=_0x23070f;if(this[_0x12ee9f(0x100)](),this[_0x12ee9f(0x10b)](_0x3da606))return this['_injector'][_0x12ee9f(0xc7)](te,this[_0x12ee9f(0x3ad)],this[_0x12ee9f(0x105)],null,this[_0x12ee9f(0xe6)],this[_0x12ee9f(0x1e8)],[],this[_0x12ee9f(0x18a)]);this[_0x12ee9f(0x337)]();const _0x4caa10=this['_injector'][_0x12ee9f(0xc7)](re,this[_0x12ee9f(0x3ad)],this[_0x12ee9f(0x105)],this[_0x12ee9f(0xe6)],this[_0x12ee9f(0x18a)]);return _0x4caa10[_0x12ee9f(0x191)](),_0x4caa10[_0x12ee9f(0xe9)](),_0x4caa10;}[_0x23070f(0x344)](_0x216e70){var _0x142870=_0x23070f;return this[_0x142870(0x160)](!!(_0x216e70!=null&&_0x216e70[_0x142870(0x2fe)]));}[_0x23070f(0xeb)](_0x160b77){var _0x1ecdb7=_0x23070f;return this[_0x1ecdb7(0x2e4)]>Pi?this[_0x1ecdb7(0x28e)]():(this[_0x1ecdb7(0x1db)]=yi(this[_0x1ecdb7(0x2e4)],{'timeout':this[_0x1ecdb7(0x2e4)],'reqId':_0x160b77[_0x1ecdb7(0x234)]}),this[_0x1ecdb7(0x311)]=this[_0x1ecdb7(0x1db)]['subscribe'](({reqId:_0x5208ac,timeout:_0x114015})=>{var _0x226e98=_0x1ecdb7;this[_0x226e98(0x35f)](_0x5208ac,_0x114015);}),this);}['toggleOffline'](){var _0x534da5=_0x23070f;return this[_0x534da5(0x100)](),this[_0x534da5(0x1cb)][_0x534da5(0xc7)](fe,this[_0x534da5(0x3ad)],this['type'],this[_0x534da5(0x1e8)],this['_pendingMutations'],this[_0x534da5(0x18a)]);}[_0x23070f(0x227)](){return this;}[_0x23070f(0x1af)](){var _0x2bf1f8=_0x23070f;this[_0x2bf1f8(0x18a)][_0x2bf1f8(0x377)](this[_0x2bf1f8(0x1e8)]);}[_0x23070f(0x160)](_0x3a3f47){var _0x1403e3=_0x23070f;return this[_0x1403e3(0x100)](),this['_injector'][_0x1403e3(0xc7)](de,this['unitID'],this[_0x1403e3(0x105)],null,this[_0x1403e3(0xe6)],this[_0x1403e3(0x18a)],_0x3a3f47);}[_0x23070f(0x35f)](_0x51bc5a,_0x2eae79){var _0x3f5dda=_0x23070f,_0xec2265;_0x51bc5a===((_0xec2265=this[_0x3f5dda(0x1e8)])==null?void 0x0:_0xec2265['reqId'])&&(this['resend'](),this[_0x3f5dda(0x2e4)]=_0x2eae79===0x0?0x3e8:_0x2eae79*0x2);}[_0x23070f(0x100)](){var _0x2411be=_0x23070f,_0x346c89;(_0x346c89=this[_0x2411be(0x311)])==null||_0x346c89[_0x2411be(0x23c)](),this['_resendTimeout']=0x0;}};oe=Ce([A(0x6,_0x3c1aac(_0x26247f)),A(0x7,_0x3c1aac(_0x301751)),A(0x8,_0x1a55e3),A(0x9,_0x2bb897),A(0xa,_0x33bf37),A(0xb,_0x41a8a9),A(0xc,_0x1f8702(X))],oe);let de=class extends be{constructor(_0x23058c,_0x423674,_0x59e464,_0x5debd1,_0x5dd111,_0x3eb400=!0x1,_0x112ca6,_0x2de0e4,_0x5298af,_0x2390d5,_0x309e9b,_0x293408,_0xf8d78d){var _0x3a8fd4=_0x23070f;super(_0x23058c,_0x423674,_0x59e464,_0x5debd1,_0x5dd111,_0x2de0e4,_0x5298af,_0x2390d5,_0xf8d78d),D(this,_0x3a8fd4(0x11a),_0x3a8fd4(0x2de)),(this[_0x3a8fd4(0x2a3)]=_0x3eb400,this[_0x3a8fd4(0x165)]=_0x112ca6,this[_0x3a8fd4(0x2b6)]=_0x309e9b,this[_0x3a8fd4(0x1f9)]=_0x293408,this[_0x3a8fd4(0x188)]=_0xf8d78d,this['_showConflictNotification'](),this[_0x3a8fd4(0x38f)](),this[_0x3a8fd4(0x1c5)]());}['appendMutation'](){return this;}[_0x23070f(0x18c)](){return this;}[_0x23070f(0x1d2)](){return this;}['onRemoteRej'](){return this;}[_0x23070f(0xeb)](){return this;}[_0x23070f(0x28e)](){return this;}[_0x23070f(0x227)](){return this;}[_0x23070f(0x1af)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x4a395f=_0x23070f,_0x33c3d3;(_0x33c3d3=this['_localCacheService'])==null||_0x33c3d3['updateOfflineData'](this[_0x4a395f(0x3ad)],this[_0x4a395f(0x105)],null,[]);}['_showConflictNotification'](){var _0x19d6fb=_0x23070f;this[_0x19d6fb(0x2a3)]?this[_0x19d6fb(0x1f9)]['emitEvent']({'id':se[_0x19d6fb(0x140)]}):this['_collaborationUIEventService'][_0x19d6fb(0x190)]({'id':se[_0x19d6fb(0x282)]});}[_0x23070f(0x1c5)](){var _0xa9ef20=_0x23070f;this['_permissionService'][_0xa9ef20(0x2a9)](new _0x18a334(this[_0xa9ef20(0x3ad)])['id'],!0x1);}};de=Ce([A(0x6,_0x3c1aac(_0x2ece59)),A(0x7,_0x1a55e3),A(0x8,_0x41a8a9),A(0x9,_0x3c1aac(_0x301751)),A(0xa,_0x3c1aac(_0x15b5c9)),A(0xb,_0x3c1aac(pe)),A(0xc,_0x1f8702(X))],de);let fe=class extends be{constructor(_0x533adc,_0x1ab757,_0x4235bc,_0x223a69,_0x504ee3,_0x5018f2,_0x31ad39,_0x31c8b5,_0x110e9a,_0xf5c386){var _0x510ad9=_0x23070f;super(_0x533adc,_0x1ab757,_0x4235bc,_0x223a69,_0x504ee3,_0x31c8b5,_0x110e9a,_0x31ad39,_0xf5c386),D(this,_0x510ad9(0x11a),_0x510ad9(0x1f0)),this[_0x510ad9(0x1cb)]=_0x5018f2;}[_0x23070f(0x1bd)](_0x1d74ef){var _0x100a9f=_0x23070f;return this[_0x100a9f(0xe6)][_0x100a9f(0x391)](_0x1d74ef),this['_updateLocalCache'](),this;}[_0x23070f(0x18c)](_0x5eb6f0){var _0x15584a=_0x23070f;throw new Error(_0x15584a(0xda));}[_0x23070f(0x1d2)](){var _0x41203f=_0x23070f;throw new Error(_0x41203f(0x27e));}[_0x23070f(0x344)](){var _0x2e978f=_0x23070f;throw new Error(_0x2e978f(0x16c));}['onRemoteRetry'](){return this;}[_0x23070f(0x28e)](){return this;}[_0x23070f(0x227)](){const {_injector:_0x2233fd,_pendingMutations:_0x51da10,_awaitingChangeset:_0xa9b0ab,unitID:_0x4371f1,_handler:_0x5bdd33,type:_0x203b4e}=this,_0x449d82=Ni(_0x2233fd,_0x4371f1,_0x203b4e,_0xa9b0ab,_0x51da10,_0x5bdd33);return _0x449d82 instanceof re?_0x449d82['_schedule']():(_0x449d82 instanceof oe||_0x449d82 instanceof ue)&&_0x449d82['resend'](),_0x449d82;}[_0x23070f(0x1af)](){var _0xf3dd1a=_0x23070f;throw new Error(_0xf3dd1a(0x306));}};fe=Ce([A(0x5,_0x3c1aac(_0x26247f)),A(0x6,_0x3c1aac(_0x301751)),A(0x7,_0x1a55e3),A(0x8,_0x41a8a9),A(0x9,_0x1f8702(X))],fe);let te=class extends be{constructor(_0x3664f3,_0x33e81d,_0x47818c,_0x6282fb,_0x3dc520,_0x1a10bd,_0x40596d,_0x311b0c,_0x390dd2,_0x3064ed,_0x51fa2,_0x4a9f97,_0xe0dd99,_0x4dfab7){var _0x526d60=_0x23070f;super(_0x3664f3,_0x33e81d,_0x47818c,_0x6282fb,_0x40596d,_0x51fa2,_0x4a9f97,_0x390dd2,_0x4dfab7),D(this,'status',_0x526d60(0x2ae)),(this[_0x526d60(0x29c)]=_0x3dc520,this[_0x526d60(0x235)]=_0x1a10bd,this[_0x526d60(0x1cb)]=_0x311b0c,this[_0x526d60(0x2eb)]=_0x3064ed,this[_0x526d60(0x261)]=_0xe0dd99,this[_0x526d60(0x188)]=_0x4dfab7);}[_0x23070f(0x198)](_0xb49333){var _0x2698f3=_0x23070f;try{const _0x4666df=[..._0xb49333,...this['_queuedRemoteChangesets']],_0x944320=[this[_0x2698f3(0x1e8)]||this[_0x2698f3(0x29c)]]['filter'](_0x3c8ea3=>!!_0x3c8ea3);let _0x2f9e68,_0x321e2e;if(_0x944320[_0x2698f3(0x222)]){const _0x2cb027=this[_0x2698f3(0x261)][_0x2698f3(0x1bb)](_0x4666df,_0x944320,!0x1);if(!_0x1b3db2(_0x2cb027))throw _0x2cb027[_0x2698f3(0x251)];_0x2f9e68=_0x2cb027[_0x2698f3(0x286)],_0x321e2e=_0x2cb027[_0x2698f3(0x3b6)];}else _0x2f9e68=_0x4666df,_0x321e2e=[];let _0x3945ad=this['_pendingMutations'];_0x2f9e68['forEach'](_0x517021=>{var _0x2435a9=_0x2698f3;let _0x54ac4f;if(_0x3945ad['length']){const _0x2e1fb0=this['_transformService'][_0x2435a9(0x246)](_0x517021,_0x3945ad);if(!_0x289d93(_0x2e1fb0))throw _0x2e1fb0['error'];_0x54ac4f=_0x2e1fb0['c1Prime'],_0x3945ad=_0x2e1fb0[_0x2435a9(0x1d8)];}else _0x54ac4f=_0x517021;this[_0x2435a9(0xdb)](_0x54ac4f);}),this[_0x2698f3(0x29c)]&&this[_0x2698f3(0x337)](),this[_0x2698f3(0x1e8)]&&_0x321e2e[_0x2698f3(0x222)]&&(_0x321e2e[0x0][_0x2698f3(0x2d2)]=this['_getCurrentRevision']());let _0x479b10;if(this[_0x2698f3(0x1e8)]&&_0x3945ad[_0x2698f3(0x222)]!==0x0)_0x479b10=this[_0x2698f3(0x1cb)][_0x2698f3(0xc7)](oe,this['unitID'],this['type'],_0x321e2e[0x0],_0x3945ad,this[_0x2698f3(0x18a)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3945ad['length']===0x0)_0x321e2e[0x0][_0x2698f3(0x2d2)]=this['_getCurrentRevision'](),_0x479b10=this[_0x2698f3(0x1cb)][_0x2698f3(0xc7)](ue,this[_0x2698f3(0x3ad)],this['type'],_0x321e2e[0x0],this['_handler']);else{if(_0x3945ad[_0x2698f3(0x222)]!==0x0){const _0x4ff6c9=this['_injector'][_0x2698f3(0xc7)](re,this[_0x2698f3(0x3ad)],this['type'],_0x3945ad,this[_0x2698f3(0x18a)]);_0x4ff6c9[_0x2698f3(0x191)](),_0x479b10=_0x4ff6c9;}else _0x479b10=this['_injector'][_0x2698f3(0xc7)](Pe,this[_0x2698f3(0x3ad)],this[_0x2698f3(0x105)],this[_0x2698f3(0x18a)]);}}return _0x479b10[_0x2698f3(0xe9)](),_0x479b10;}catch(_0x3acfba){return this[_0x2698f3(0x2eb)][_0x2698f3(0x251)](_0x2698f3(0x180),_0x2698f3(0x366),_0x3acfba),this[_0x2698f3(0x1cb)][_0x2698f3(0xc7)](de,this[_0x2698f3(0x3ad)],this['type'],this[_0x2698f3(0x1e8)],this[_0x2698f3(0xe6)],this[_0x2698f3(0x18a)],!0x1);}}[_0x23070f(0x1af)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x23070f(0x1bd)](_0x4cb69b){var _0x1eb7ec=_0x23070f;return this['_pendingMutations'][_0x1eb7ec(0x391)](_0x4cb69b),this;}['onRemoteChangeset'](_0x122ae5){return this['_queuedRemoteChangesets']['push'](_0x122ae5),this;}[_0x23070f(0x1d2)](_0x8bd293){var _0x3c4f8e=_0x23070f;if(this[_0x3c4f8e(0x1e8)])return this[_0x3c4f8e(0x29c)]=this[_0x3c4f8e(0x1e8)],this[_0x3c4f8e(0x1e8)]=null,this;throw new Error(_0x3c4f8e(0x2e5));}[_0x23070f(0x344)](_0x431dc1){var _0x485e8a=_0x23070f;return this[_0x485e8a(0x160)](!!(_0x431dc1!=null&&_0x431dc1['isPermissionRej']));}[_0x23070f(0xeb)](){return this;}['toggleOffline'](){var _0x552517=_0x23070f;return this[_0x552517(0x1cb)][_0x552517(0xc7)](fe,this[_0x552517(0x3ad)],this[_0x552517(0x105)],this[_0x552517(0x1e8)],this[_0x552517(0xe6)],this[_0x552517(0x18a)]);}[_0x23070f(0x227)](){return this;}[_0x23070f(0x160)](_0x5678a4){var _0x1103ca=_0x23070f;return this[_0x1103ca(0x1cb)][_0x1103ca(0xc7)](de,this[_0x1103ca(0x3ad)],this[_0x1103ca(0x105)],this[_0x1103ca(0x1e8)],this[_0x1103ca(0xe6)],this['_handler'],_0x5678a4);}};te=Ce([A(0x7,_0x3c1aac(_0x26247f)),A(0x8,_0x3c1aac(_0x301751)),A(0x9,_0x2bb897),A(0xa,_0x1a55e3),A(0xb,_0x41a8a9),A(0xc,_0x33bf37),A(0xd,_0x1f8702(X))],te);function Ni(_0x273209,_0x37e76b,_0x5363e8,_0x4ea50a,_0x150433,_0x785d44){var _0xc59908=_0x23070f;return _0x4ea50a&&_0x150433[_0xc59908(0x222)]?_0x273209[_0xc59908(0xc7)](oe,_0x37e76b,_0x5363e8,_0x4ea50a,_0x150433,_0x785d44,void 0x0):_0x4ea50a?_0x273209[_0xc59908(0xc7)](ue,_0x37e76b,_0x5363e8,_0x4ea50a,_0x785d44):_0x150433['length']?_0x273209[_0xc59908(0xc7)](re,_0x37e76b,_0x5363e8,_0x150433,_0x785d44):_0x273209[_0xc59908(0xc7)](Pe,_0x37e76b,_0x5363e8,_0x785d44);}var bs=Object[_0x23070f(0x1b1)],Rs=Object[_0x23070f(0x11f)],Mt=(_0x5d460f,_0x5e3dcb,_0x32f8db,_0x3d130f)=>{for(var _0x377dcf=_0x3d130f>0x1?void 0x0:_0x3d130f?Rs(_0x5e3dcb,_0x32f8db):_0x5e3dcb,_0xcbf070=_0x5d460f['length']-0x1,_0x55ccbd;_0xcbf070>=0x0;_0xcbf070--)(_0x55ccbd=_0x5d460f[_0xcbf070])&&(_0x377dcf=(_0x3d130f?_0x55ccbd(_0x5e3dcb,_0x32f8db,_0x377dcf):_0x55ccbd(_0x377dcf))||_0x377dcf);return _0x3d130f&&_0x377dcf&&bs(_0x5e3dcb,_0x32f8db,_0x377dcf),_0x377dcf;},k=(_0x25101d,_0x39cdcd)=>(_0xe09447,_0xe2f66)=>_0x39cdcd(_0xe09447,_0xe2f66,_0x25101d);let st=class extends _0x1af8c6{constructor(_0x16fbe0,_0x4039ab,_0x32dd50,_0xdc48b,_0x4b583f,_0x400dc7,_0x221fe6,_0xf52266,_0x3fceb8,_0x1b5e04,_0x4888fc,_0x18f279,_0x39de87){var _0x5c78d3=_0x23070f;super(),D(this,_0x5c78d3(0x320),new _0x7694e1(null)),D(this,_0x5c78d3(0xf8),this[_0x5c78d3(0x320)][_0x5c78d3(0x363)]()),D(this,_0x5c78d3(0x15c)),D(this,_0x5c78d3(0x301),!0x1),D(this,_0x5c78d3(0x10c),''),D(this,_0x5c78d3(0x1ac),0x0),D(this,_0x5c78d3(0xfa),this['state$']['pipe'](_0x560bf7(_0x19bd8d=>_0x19bd8d?_0x19bd8d[_0x5c78d3(0x11a)]:Oi[_0x5c78d3(0xc6)]),_0x174988(0x1))),D(this,_0x5c78d3(0x271),!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x16fbe0,this['session']=_0x4039ab,this['_type']=_0x32dd50,this[_0x5c78d3(0x1cb)]=_0xdc48b,this[_0x5c78d3(0x36a)]=_0x4b583f,this[_0x5c78d3(0x2b6)]=_0x400dc7,this[_0x5c78d3(0x28b)]=_0x221fe6,this[_0x5c78d3(0x2f0)]=_0xf52266,this['_logService']=_0x3fceb8,this[_0x5c78d3(0x382)]=_0x1b5e04,this[_0x5c78d3(0x165)]=_0x4888fc,this[_0x5c78d3(0x383)]=_0x18f279,this['_localCacheService']=_0x39de87);}get[_0x23070f(0x34b)](){return this['_state'];}async[_0x23070f(0x397)](){var _0x161cf6=_0x23070f;if(this[_0x161cf6(0x34b)])throw new Error(_0x161cf6(0x118));await this[_0x161cf6(0x2af)]();}[_0x23070f(0x195)](){return this['_collaborationPaused']=!0x0,_0x37423a(()=>{var _0x34c04b=_0xb35d;this[_0x34c04b(0x301)]=!0x1,this[_0x34c04b(0x38b)]();});}[_0x23070f(0x378)](_0x2e73f6){var _0x5ea6aa=_0x23070f;this[_0x5ea6aa(0x11b)](_0x2e73f6);}[_0x23070f(0xf2)](_0x3dd8f2){var _0x78a293=_0x23070f;this[_0x78a293(0x15c)]=_0x3dd8f2,this['_state$'][_0x78a293(0x34c)](_0x3dd8f2);}async['_init'](){var _0x25a020=_0x23070f,_0x10ba99;this[_0x25a020(0xf2)](await this[_0x25a020(0xd2)]()),this[_0x25a020(0x383)]&&((_0x10ba99=this[_0x25a020(0x383)])==null||_0x10ba99[_0x25a020(0x131)](this['unitID']),this['disposeWithMe'](this[_0x25a020(0x383)][_0x25a020(0x13a)](this[_0x25a020(0x3ad)])[_0x25a020(0x29f)](_0x105140=>{var _0x540a7c=_0x25a020;this[_0x540a7c(0x2eb)][_0x540a7c(0x224)](_0x540a7c(0x393),_0x540a7c(0x2fa),_0x105140),_0x105140===Ri[_0x540a7c(0x1d1)]?(this[_0x540a7c(0x2f0)][_0x540a7c(0x190)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x540a7c(0x165)]['updatePermissionPoint'](new _0x18a334(this[_0x540a7c(0x3ad)])['id'],!0x1),this[_0x540a7c(0x165)][_0x540a7c(0x2c2)](!0x1)):(this[_0x540a7c(0x165)][_0x540a7c(0x2a9)](new _0x18a334(this[_0x540a7c(0x3ad)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x3c2d81=!0x1;return this[_0x25a020(0xcd)](this['session'][_0x25a020(0x37b)][_0x25a020(0x29f)](_0x46deab=>{var _0x252fc3=_0x25a020;_0x46deab===Ie[_0x252fc3(0x283)]?this['_toggleOnline'](_0x3c2d81):_0x46deab===Ie['OFFLINE']&&(_0x3c2d81=!0x0,this[_0x252fc3(0x3a2)]());})),this[_0x25a020(0xcd)](this[_0x25a020(0x27a)][_0x25a020(0x314)][_0x25a020(0x29f)](_0x53b8f7=>{var _0x581c4a=_0x25a020;try{switch(_0x53b8f7[_0x581c4a(0x22b)]){case _0x1817f2['NEW_CHANGESETS']:{this[_0x581c4a(0x1fa)](_0x758cb6(_0x53b8f7['data']));break;}case _0x1817f2[_0x581c4a(0x13f)]:{this[_0x581c4a(0x1df)](_0x53b8f7[_0x581c4a(0x1b4)]);break;}case _0x1817f2['CHANGESET_REJ']:{this[_0x581c4a(0x179)]();break;}case _0x1817f2[_0x581c4a(0x27b)]:{this[_0x581c4a(0x13b)](_0x53b8f7[_0x581c4a(0x1b4)]);break;}case _0x1817f2[_0x581c4a(0x332)]:{this[_0x581c4a(0x2b0)](_0x53b8f7['data'][_0x581c4a(0x362)][_0x581c4a(0x1da)](_0xe92f63=>_0x758cb6(_0xe92f63)));break;}case _0x1817f2[_0x581c4a(0x1fc)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1817f2[_0x581c4a(0x16f)]:break;}}catch(_0x1e7ac7){throw console[_0x581c4a(0x251)](_0x581c4a(0x184),_0x1e7ac7),_0x1e7ac7;}})),this['_state'];}[_0x23070f(0x20f)](){var _0x43b361=_0x23070f;this[_0x43b361(0x271)]=!0x1;}[_0x23070f(0x116)](){var _0x3c89b6=_0x23070f;if(this[_0x3c89b6(0x271)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3c89b6(0x271)]=!0x0;}[_0x23070f(0x11b)](_0x3e6263){var _0x5306e7=_0x23070f;this[_0x5306e7(0x116)](),this[_0x5306e7(0xf2)](this[_0x5306e7(0x15c)][_0x5306e7(0x1bd)](_0x3e6263)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x37079b){var _0x1c9cba=_0x23070f;if(!(_0x37079b[_0x1c9cba(0x2a1)]<=this[_0x1c9cba(0x28b)][_0x1c9cba(0x2ca)](this['unitID']))){if(this[_0x1c9cba(0x301)]){this['_remoteChangesetQueue']['push'](_0x37079b);return;}this[_0x1c9cba(0x219)](_0x37079b);}}[_0x23070f(0x38b)](){var _0x51b827=_0x23070f;this[_0x51b827(0x351)][_0x51b827(0xcb)](_0x3c6e11=>this[_0x51b827(0x219)](_0x3c6e11)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x2ae9c9){var _0x5e12a2=_0x23070f;const _0x3f2f1e=this[_0x5e12a2(0x36a)][_0x5e12a2(0xdc)][_0x5e12a2(0x280)](this[_0x5e12a2(0x36a)][_0x5e12a2(0xdc)][_0x5e12a2(0x110)]()[_0x5e12a2(0x15d)])(_0x2ae9c9[_0x5e12a2(0x236)],null)||_0x2ae9c9[_0x5e12a2(0x236)],_0x5e38c1={..._0x2ae9c9,'mutations':_0x3f2f1e};this[_0x5e12a2(0x116)](),this[_0x5e12a2(0xf2)](this[_0x5e12a2(0x15c)][_0x5e12a2(0x18c)](_0x5e38c1)),this[_0x5e12a2(0x20f)]();}[_0x23070f(0x1df)](_0xc2e5ef){var _0x388394=_0x23070f;this[_0x388394(0x116)](),this[_0x388394(0xf2)](this[_0x388394(0x15c)][_0x388394(0x1d2)](_0xc2e5ef)),this[_0x388394(0x20f)]();}[_0x23070f(0x179)](_0x3373e1){var _0x458d70=_0x23070f;this['_lockTransition'](),this[_0x458d70(0xf2)](this[_0x458d70(0x15c)][_0x458d70(0x344)](_0x3373e1)),this['_unlockTransition']();}['_onRemoteRetry'](_0x547443){var _0x31689b=_0x23070f;this[_0x31689b(0x116)](),this['_updateState'](this['_state'][_0x31689b(0xeb)](_0x547443)),this[_0x31689b(0x20f)]();}['_onFetchMissResult'](_0x417200){var _0x468699=_0x23070f;if(!(this[_0x468699(0x15c)]instanceof te))throw new TypeError(_0x468699(0x360));const _0x782980=_0x417200[_0x468699(0x1da)](_0x3a10e1=>{var _0x476fa7=_0x468699;const _0x69a8b0=this[_0x476fa7(0x36a)][_0x476fa7(0xdc)][_0x476fa7(0x280)](this[_0x476fa7(0x36a)][_0x476fa7(0xdc)]['getInterceptPoints']()[_0x476fa7(0x15d)])(_0x3a10e1['mutations'],null)||_0x3a10e1[_0x476fa7(0x236)];return{..._0x3a10e1,'mutations':_0x69a8b0};});this[_0x468699(0x116)](),this[_0x468699(0xf2)](this[_0x468699(0x15c)]['onMissedChangesetFetched'](_0x782980)),this[_0x468699(0x20f)]();}['_toggleOffline'](){var _0x490d87=_0x23070f;this[_0x490d87(0x116)](),this[_0x490d87(0xf2)](this[_0x490d87(0x15c)][_0x490d87(0x28e)]()),this[_0x490d87(0x20f)]();}[_0x23070f(0x398)](_0x1f9384=!0x1){var _0x3e963c=_0x23070f;this[_0x3e963c(0x116)](),this[_0x3e963c(0xf2)](this[_0x3e963c(0x15c)][_0x3e963c(0x227)]()),this[_0x3e963c(0x20f)]();const _0x2b2f21=this['_state'];_0x1f9384&&_0x2b2f21 instanceof Pe&&(this[_0x3e963c(0x116)](),this[_0x3e963c(0xf2)](_0x2b2f21['fetchMiss']()),this[_0x3e963c(0x20f)]());}async[_0x23070f(0xd2)](){return new Promise(_0x57ce94=>{var _0x4b1d00=_0xb35d;this[_0x4b1d00(0x27a)][_0x4b1d00(0x37b)]['pipe'](_0x4ad541(0x1))[_0x4b1d00(0x29f)](async _0x369e7e=>{var _0x152b59=_0x4b1d00;_0x57ce94(await this[_0x152b59(0x38c)](_0x369e7e===Ie[_0x152b59(0x283)]));});});}[_0x23070f(0x1f2)](){var _0x3ce2fd=_0x23070f;const _0x3ced7a=this[_0x3ce2fd(0x3ad)];return{'onStateChange':(_0x3ade78,_0x2a88c5)=>{var _0x4c74dd=_0x3ce2fd;if(_0x3ade78!==this[_0x4c74dd(0x15c)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3ade78['status']+_0x4c74dd(0x278)+_0x2a88c5['status']+_0x4c74dd(0x2ce)+this[_0x4c74dd(0x15c)][_0x4c74dd(0x11a)]);this[_0x4c74dd(0xf2)](_0x2a88c5);},'onSendChangeset':_0x132234=>{var _0x5e65b6=_0x3ce2fd;_0x132234[_0x5e65b6(0x3b9)]||(_0x132234[_0x5e65b6(0x3b9)]=this[_0x5e65b6(0x10c)],_0x132234[_0x5e65b6(0x234)]=++this[_0x5e65b6(0x1ac)]);const _0x1d79e0={'eventID':_0x1817f2[_0x5e65b6(0x1ec)],'data':{'unitID':_0x132234[_0x5e65b6(0x3ad)],'unitType':this[_0x5e65b6(0x28c)],'changeset':_0x132234,'memberID':this[_0x5e65b6(0x27a)][_0x5e65b6(0x3a9)]()}};this['session'][_0x5e65b6(0x285)](_0x1d79e0,this[_0x5e65b6(0x3ad)]);},'onMissingChangesets':({from:_0x230209,to:_0x35d514})=>{var _0x4db563=_0x3ce2fd;this['_logService']['debug'](_0x4db563(0x393),_0x4db563(0x242)+_0x230209+_0x4db563(0x21d)+_0x35d514);const _0x2266e6={'eventID':_0x1817f2[_0x4db563(0xc4)],'data':{'unitID':_0x3ced7a,'unitType':this[_0x4db563(0x28c)],'from':_0x230209,'to':_0x35d514}};this[_0x4db563(0x27a)][_0x4db563(0x285)](_0x2266e6,this[_0x4db563(0x3ad)]);}};}async[_0x23070f(0x38c)](_0x3cb71a){var _0x5e6633=_0x23070f,_0x219060,_0x24f07a,_0x5bdb1c;const _0x18f96e=await((_0x219060=this[_0x5e6633(0x1a1)])==null?void 0x0:_0x219060[_0x5e6633(0x270)](this['unitID'])),_0x273391=(_0x24f07a=_0x18f96e==null?void 0x0:_0x18f96e[_0x5e6633(0x236)])!=null?_0x24f07a:[],_0xea1f4c=(_0x5bdb1c=_0x18f96e==null?void 0x0:_0x18f96e[_0x5e6633(0x3bc)])!=null?_0x5bdb1c:null,_0x2569c2=!!(_0xea1f4c!=null&&_0xea1f4c[_0x5e6633(0x3b9)])&&!!(_0xea1f4c!=null&&_0xea1f4c['reqId']);this[_0x5e6633(0x10c)]=_0x2569c2?_0xea1f4c[_0x5e6633(0x3b9)]:fs(),this['_changesetReqId']=_0x2569c2?_0xea1f4c[_0x5e6633(0x234)]:0x0;const _0x67c4c4=this[_0x5e6633(0x3ad)];try{this[_0x5e6633(0x3c5)](_0xea1f4c,_0x273391);}catch(_0x25a992){this[_0x5e6633(0x2eb)][_0x5e6633(0x251)](_0x25a992);}const _0xa3aaf5=this[_0x5e6633(0x1f2)]();if(_0x3cb71a){const _0x2542ab=Ni(this[_0x5e6633(0x1cb)],_0x67c4c4,this[_0x5e6633(0x28c)],_0xea1f4c,_0x273391,_0xa3aaf5);return _0x2542ab instanceof re?_0x2542ab[_0x5e6633(0x191)]():(_0x2542ab instanceof oe||_0x2542ab instanceof ue)&&_0x2542ab[_0x5e6633(0x1af)](),_0x2542ab;}return this[_0x5e6633(0x1cb)]['createInstance'](fe,_0x67c4c4,this['_type'],_0xea1f4c,_0x273391,_0xa3aaf5);}['_replayCachedMutations'](_0x4749ef,_0x7656c7){var _0x40015a=_0x23070f,_0x2593f3,_0xb2fc08;const _0x452c2e=this[_0x40015a(0x36a)][_0x40015a(0xdc)][_0x40015a(0x280)](this[_0x40015a(0x36a)][_0x40015a(0xdc)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x2593f3=_0x452c2e((_0x4749ef==null?void 0x0:_0x4749ef[_0x40015a(0x236)])||[],null))==null||_0x2593f3[_0x40015a(0xcb)](_0x54db87=>this[_0x40015a(0x382)]['executeCommand'](_0x54db87['id'],_0x54db87[_0x40015a(0x171)])),(_0xb2fc08=_0x452c2e(_0x7656c7||[],null))==null||_0xb2fc08[_0x40015a(0xcb)](_0xac28a5=>this[_0x40015a(0x382)][_0x40015a(0x2d7)](_0xac28a5['id'],_0xac28a5[_0x40015a(0x171)]));}};st=Mt([k(0x3,_0x3c1aac(_0x26247f)),k(0x4,_0x3c1aac(_0xc190a9)),k(0x5,_0x3c1aac(_0x15b5c9)),k(0x6,_0x3c1aac(_0x301751)),k(0x7,_0x3c1aac(pe)),k(0x8,_0x2bb897),k(0x9,_0x1a55e3),k(0xa,_0x2ece59),k(0xb,_0x1f8702(_t)),k(0xc,_0x1f8702(X))],st);let Ct=class extends st{constructor(_0x53f267,_0x274128,_0x3f0426,_0x5dcf55,_0x451890,_0x4936d6,_0x2c9c9b,_0x419752,_0x39d0d9,_0x27e15d,_0x51fb38,_0x496880,_0x1a19f1){var _0x2131b7=_0x23070f;super(_0x53f267,_0x3f0426,_0x274128,_0x5dcf55,_0x451890,_0x4936d6,_0x2c9c9b,_0x419752,_0x39d0d9,_0x27e15d,_0x51fb38,_0x496880,_0x1a19f1),D(this,_0x2131b7(0x121),null),(this[_0x2131b7(0x3ad)]=_0x53f267,this[_0x2131b7(0x105)]=_0x274128);}['addHandlerCallback'](_0x28171b){var _0x328ff2=_0x23070f;this[_0x328ff2(0x121)]=_0x28171b;}[_0x23070f(0xf1)](){var _0x4b4932=_0x23070f;this['_handlerCallback']=null,super[_0x4b4932(0xf1)]();}['_createHandler'](){var _0x928d4d=_0x23070f;const _0x3ee929=super[_0x928d4d(0x1f2)]();return _0x3ee929[_0x928d4d(0x12a)]=_0x247607=>{var _0x567134=_0x928d4d,_0x40580e,_0x39f09c;return(_0x39f09c=(_0x40580e=this[_0x567134(0x121)])==null?void 0x0:_0x40580e[_0x567134(0x12a)])==null?void 0x0:_0x39f09c['call'](_0x40580e,_0x247607);},_0x3ee929[_0x928d4d(0x386)]=_0x37482f=>{var _0x1d06e8=_0x928d4d,_0x338cc3,_0x42ac4d;return(_0x42ac4d=(_0x338cc3=this[_0x1d06e8(0x121)])==null?void 0x0:_0x338cc3[_0x1d06e8(0x386)])==null?void 0x0:_0x42ac4d[_0x1d06e8(0x34a)](_0x338cc3,_0x37482f);},_0x3ee929[_0x928d4d(0x376)]=_0xdfa710=>{var _0x496882=_0x928d4d,_0x406697,_0x2f0ffa;return(_0x2f0ffa=(_0x406697=this['_handlerCallback'])==null?void 0x0:_0x406697[_0x496882(0x376)])==null?void 0x0:_0x2f0ffa['call'](_0x406697,_0xdfa710);},_0x3ee929['onSyncEditingCollabCursor']=_0x170f4c=>{var _0x7a5685=_0x928d4d,_0x1e8fcb,_0xdda967;return(_0xdda967=(_0x1e8fcb=this[_0x7a5685(0x121)])==null?void 0x0:_0x1e8fcb[_0x7a5685(0x232)])==null?void 0x0:_0xdda967[_0x7a5685(0x34a)](_0x1e8fcb,_0x170f4c);},_0x3ee929['onTransformRemoteChangesetByIMECache']=_0x54268e=>{var _0x59e069=_0x928d4d,_0x2f5f97,_0x5d311c,_0x2efd5a;if(!((_0x2f5f97=this['_handlerCallback'])!=null&&_0x2f5f97[_0x59e069(0x2c6)]))throw new Error(_0x59e069(0x245));return(_0x2efd5a=(_0x5d311c=this[_0x59e069(0x121)])==null?void 0x0:_0x5d311c['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2efd5a['call'](_0x5d311c,_0x54268e);},_0x3ee929[_0x928d4d(0x2aa)]=_0x156e95=>{var _0x52dcef=_0x928d4d,_0x544950,_0x403748,_0x1aed0b;if(!((_0x544950=this[_0x52dcef(0x121)])!=null&&_0x544950[_0x52dcef(0x2aa)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1aed0b=(_0x403748=this[_0x52dcef(0x121)])==null?void 0x0:_0x403748[_0x52dcef(0x2aa)])==null?void 0x0:_0x1aed0b['call'](_0x403748,_0x156e95);},_0x3ee929;}async[_0x23070f(0x2af)](){var _0x4b0883=_0x23070f;const _0x22fb36=await super[_0x4b0883(0x2af)]();return this[_0x4b0883(0xcd)](this[_0x4b0883(0x382)][_0x4b0883(0x291)]((_0x2f5474,_0x48d9d5)=>{var _0x534f2c=_0x4b0883;if(_0x2f5474[_0x534f2c(0x105)]!==_0x45b49c[_0x534f2c(0x288)]||_0x48d9d5!=null&&_0x48d9d5[_0x534f2c(0x1a0)]||_0x48d9d5!=null&&_0x48d9d5['onlyLocal']||_0x2f5474['id']===_0x291f75['id'])return;const _0x212d9f=_0x2f5474['params'];if((_0x212d9f==null?void 0x0:_0x212d9f['unitId'])!==this[_0x534f2c(0x3ad)])return;const _0x350f55=_0x2f5474,_0x5094e8=this[_0x534f2c(0x36a)]['interceptor']['fetchThroughInterceptors'](this[_0x534f2c(0x36a)][_0x534f2c(0xdc)][_0x534f2c(0x110)]()[_0x534f2c(0x163)])([_0x350f55],null)||[_0x350f55];this[_0x534f2c(0x11b)](_0x5094e8[0x0]);})),_0x22fb36;}};Ct=Mt([k(0x3,_0x3c1aac(_0x26247f)),k(0x4,_0x3c1aac(_0xc190a9)),k(0x5,_0x3c1aac(_0x15b5c9)),k(0x6,_0x3c1aac(_0x301751)),k(0x7,_0x3c1aac(pe)),k(0x8,_0x2bb897),k(0x9,_0x1a55e3),k(0xa,_0x2ece59),k(0xb,_0x1f8702(_t)),k(0xc,_0x1f8702(X))],Ct);let bt=class extends st{constructor(_0x45edb6,_0x37d19d,_0x3052c4,_0x4c52fa,_0x2498df,_0x32d68d,_0x5bf76b,_0x2c6f12,_0x19cc86,_0xe97e79,_0x408b3c,_0x12f991,_0x297a7b,_0x58b8a1){var _0x1d3e74=_0x23070f;super(_0x45edb6,_0x3052c4,_0x37d19d,_0x4c52fa,_0x2498df,_0x32d68d,_0x5bf76b,_0x19cc86,_0xe97e79,_0x408b3c,_0x12f991,_0x297a7b,_0x58b8a1),this[_0x1d3e74(0x3ad)]=_0x45edb6,this['type']=_0x37d19d,this[_0x1d3e74(0x17b)]=_0x2c6f12;}['_createHandler'](){var _0x1d64e7=_0x23070f;const _0x3058a3=super[_0x1d64e7(0x1f2)]();return _0x3058a3[_0x1d64e7(0x376)]=_0x58cfba=>this[_0x1d64e7(0x17b)][_0x1d64e7(0x30f)](_0x58cfba),_0x3058a3;}async[_0x23070f(0x2af)](){var _0x66a240=_0x23070f;const _0x215ab5=await super[_0x66a240(0x2af)]();return this[_0x66a240(0xcd)](this['_commandService'][_0x66a240(0x291)]((_0x428a1e,_0x55e675)=>{var _0x3e7bc9=_0x66a240;if(_0x428a1e[_0x3e7bc9(0x105)]!==_0x45b49c['MUTATION']||_0x55e675!=null&&_0x55e675[_0x3e7bc9(0x1a0)]||_0x55e675!=null&&_0x55e675['onlyLocal'])return;const _0xcd2f1e=_0x428a1e[_0x3e7bc9(0x171)];if((_0xcd2f1e==null?void 0x0:_0xcd2f1e[_0x3e7bc9(0x2d8)])!==this[_0x3e7bc9(0x3ad)])return;const _0x2b5a32=_0x428a1e,_0x4dacb3=this[_0x3e7bc9(0x36a)][_0x3e7bc9(0xdc)][_0x3e7bc9(0x280)](this[_0x3e7bc9(0x36a)][_0x3e7bc9(0xdc)]['getInterceptPoints']()[_0x3e7bc9(0x163)])([_0x2b5a32],null)||[_0x2b5a32];this[_0x3e7bc9(0x11b)](_0x4dacb3[0x0]);})),_0x215ab5;}};bt=Mt([k(0x3,_0x3c1aac(_0x26247f)),k(0x4,_0x3c1aac(_0xc190a9)),k(0x5,_0x3c1aac(_0x15b5c9)),k(0x6,_0x3c1aac(_0x301751)),k(0x7,_0x3c1aac(nt)),k(0x8,_0x3c1aac(pe)),k(0x9,_0x2bb897),k(0xa,_0x1a55e3),k(0xb,_0x2ece59),k(0xc,_0x1f8702(_t)),k(0xd,_0x1f8702(X))],bt);var ys=Object[_0x23070f(0x1b1)],Os=Object[_0x23070f(0x11f)],Ps=(_0x51fd01,_0x195497,_0x5ecd92,_0x43c356)=>{var _0x1cad52=_0x23070f;for(var _0x292061=_0x43c356>0x1?void 0x0:_0x43c356?Os(_0x195497,_0x5ecd92):_0x195497,_0x4b0e27=_0x51fd01[_0x1cad52(0x222)]-0x1,_0x3ca693;_0x4b0e27>=0x0;_0x4b0e27--)(_0x3ca693=_0x51fd01[_0x4b0e27])&&(_0x292061=(_0x43c356?_0x3ca693(_0x195497,_0x5ecd92,_0x292061):_0x3ca693(_0x292061))||_0x292061);return _0x43c356&&_0x292061&&ys(_0x195497,_0x5ecd92,_0x292061),_0x292061;},vt=(_0x1f2bfd,_0x310929)=>(_0x4396d7,_0x30feab)=>_0x310929(_0x4396d7,_0x30feab,_0x1f2bfd);let rt=class extends _0x1af8c6{constructor(_0x8ee109,_0x3cc163,_0x1d1b51){var _0x1e2979=_0x23070f;super(),D(this,_0x1e2979(0x30e),new Map()),D(this,_0x1e2979(0x2fd),new _0x7cba2d()),D(this,_0x1e2979(0x136),this[_0x1e2979(0x2fd)][_0x1e2979(0x363)]()),(this[_0x1e2979(0x1cb)]=_0x8ee109,this[_0x1e2979(0x297)]=_0x3cc163,this['_univerInstanceService']=_0x1d1b51,this[_0x1e2979(0x2af)]());}[_0x23070f(0xf1)](){var _0x22879f=_0x23070f;super[_0x22879f(0xf1)](),this[_0x22879f(0x30e)][_0x22879f(0xcb)](_0x4be7e2=>_0x4be7e2['dispose']()),this[_0x22879f(0x30e)][_0x22879f(0x26d)]();}['getCollabEntity'](_0x4b697a){var _0x3379d3=_0x23070f,_0x1512ba;return(_0x1512ba=this[_0x3379d3(0x30e)][_0x3379d3(0x3a8)](_0x4b697a))!=null?_0x1512ba:null;}['getCollabEntity$'](_0x2a5fcb){var _0x4637cb=_0x23070f;const _0x2b8bf6=this['getCollabEntity'](_0x2a5fcb);return _0x2b8bf6?_0x3ff159(_0x2b8bf6):this[_0x4637cb(0x2fd)]['pipe'](_0x1e9f39(_0x21cd57=>_0x21cd57['unitID']===_0x2a5fcb));}['readyForCollab'](_0x59477f){var _0x27324f=_0x23070f;return _0x4718aa(this['getCollabEntity$'](_0x59477f)[_0x27324f(0x338)](_0x27980b(()=>{})));}[_0x23070f(0x2af)](){var _0x2a11fb=_0x23070f;this[_0x2a11fb(0x14d)]['getTypeOfUnitAdded$'](_0x3561bc['UNIVER_SHEET'])[_0x2a11fb(0x338)](_0x16b9ba(this[_0x2a11fb(0x374)]),_0x30e7ef(0x10))['subscribe'](async _0x5411bd=>{var _0x5ec161=_0x2a11fb;const _0x36a937=_0x5411bd[_0x5ec161(0x112)](),_0x1867dc=await this['_startCollaboration'](_0x36a937,Q[_0x5ec161(0x25b)]);this['_entities'][_0x5ec161(0x3a0)](_0x36a937,_0x1867dc);}),this[_0x2a11fb(0x14d)][_0x2a11fb(0x194)](_0x3561bc['UNIVER_DOC'])['pipe'](_0x16b9ba(this[_0x2a11fb(0x374)]),_0x30e7ef(0x10))['pipe'](_0x1e9f39(_0x3a12eb=>!_0x3a12eb[_0x2a11fb(0x112)]()[_0x2a11fb(0xca)]('__')))[_0x2a11fb(0x29f)](async _0x4cc475=>{var _0x5bbb1a=_0x2a11fb;const _0xe8deb8=_0x4cc475['getUnitId'](),_0x2257ea=await this[_0x5bbb1a(0xd7)](_0xe8deb8,Q[_0x5bbb1a(0x1d0)]);this[_0x5bbb1a(0x30e)][_0x5bbb1a(0x3a0)](_0xe8deb8,_0x2257ea);}),_0x2ddd1c(this[_0x2a11fb(0x14d)]['getTypeOfUnitDisposed$'](_0x3561bc[_0x2a11fb(0x25b)]),this['_univerInstanceService'][_0x2a11fb(0x1f3)](_0x3561bc[_0x2a11fb(0x1d0)]))[_0x2a11fb(0x338)](_0x16b9ba(this[_0x2a11fb(0x374)]))[_0x2a11fb(0x29f)](_0xa59392=>{var _0x30a413=_0x2a11fb;const _0x1b1e42=_0xa59392[_0x30a413(0x112)](),_0xf87d98=this[_0x30a413(0x30e)]['get'](_0x1b1e42);_0xf87d98&&(_0xf87d98['dispose'](),this['_entities']['delete'](_0x1b1e42));});}async[_0x23070f(0xd7)](_0x516810,_0x17158b){var _0x4f8020=_0x23070f;const _0x7eae6d=await this[_0x4f8020(0x297)][_0x4f8020(0x24b)](_0x516810),_0x2d315a=this['_injector'][_0x4f8020(0xc7)](this[_0x4f8020(0x25c)](_0x17158b),_0x516810,_0x17158b,_0x7eae6d);return await _0x2d315a[_0x4f8020(0x397)](),this['_entityInit$']['next'](_0x2d315a),_0x2d315a;}['_getCtorByUniverType'](_0x29036c){var _0x4168fd=_0x23070f;switch(_0x29036c){case Q[_0x4168fd(0x1d0)]:return Ct;case Q[_0x4168fd(0x25b)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x29036c);}}};rt=Ps([vt(0x0,_0x3c1aac(_0x26247f)),vt(0x1,_0x3c1aac(Me)),vt(0x2,_0x57416f)],rt);var Ns=Object[_0x23070f(0x1b1)],Ds=Object['getOwnPropertyDescriptor'],ws=(_0x86c09b,_0xaf0f04,_0x7222d1,_0xa2831d)=>{var _0x277414=_0x23070f;for(var _0x2403f3=_0xa2831d>0x1?void 0x0:_0xa2831d?Ds(_0xaf0f04,_0x7222d1):_0xaf0f04,_0x2a7f19=_0x86c09b[_0x277414(0x222)]-0x1,_0x131c61;_0x2a7f19>=0x0;_0x2a7f19--)(_0x131c61=_0x86c09b[_0x2a7f19])&&(_0x2403f3=(_0xa2831d?_0x131c61(_0xaf0f04,_0x7222d1,_0x2403f3):_0x131c61(_0x2403f3))||_0x2403f3);return _0xa2831d&&_0x2403f3&&Ns(_0xaf0f04,_0x7222d1,_0x2403f3),_0x2403f3;},Xt=(_0x376e54,_0x229c06)=>(_0x4a62a5,_0x46304f)=>_0x229c06(_0x4a62a5,_0x46304f,_0x376e54);const Us=_0x23070f(0xfb),As=_0x23070f(0x23d);let Rt=class extends _0xf24b65{constructor(_0x34867b,_0x425efc){var _0x5d135e=_0x23070f;super(),this[_0x5d135e(0x14d)]=_0x34867b,this[_0x5d135e(0xf9)]=_0x425efc,this[_0x5d135e(0x2af)]();}[_0x23070f(0x2af)](){var _0x24c372=_0x23070f;this['disposeWithMe'](this[_0x24c372(0x14d)][_0x24c372(0x36b)][_0x24c372(0x29f)](()=>{var _0x1962ae=_0x24c372,_0x1fad9c;const _0x28600a=this[_0x1962ae(0x14d)][_0x1962ae(0x104)]();let _0x2c8ffa=(_0x1fad9c=this[_0x1962ae(0xf9)][_0x1962ae(0x21e)](Us))!=null?_0x1fad9c:As;_0x28600a instanceof _0x21ac58&&(_0x2c8ffa=_0x28600a['name']),document['title']=_0x2c8ffa;}));}};Rt=ws([Xt(0x0,_0x57416f),Xt(0x1,_0x550a77)],Rt);var xs=Object['defineProperty'],Ls=Object[_0x23070f(0x11f)],Ms=(_0xabcdd9,_0x4b823b,_0x5c88ae,_0x8365ca)=>{var _0x4288e2=_0x23070f;for(var _0x5618d9=_0x8365ca>0x1?void 0x0:_0x8365ca?Ls(_0x4b823b,_0x5c88ae):_0x4b823b,_0x1fc861=_0xabcdd9[_0x4288e2(0x222)]-0x1,_0x48945f;_0x1fc861>=0x0;_0x1fc861--)(_0x48945f=_0xabcdd9[_0x1fc861])&&(_0x5618d9=(_0x8365ca?_0x48945f(_0x4b823b,_0x5c88ae,_0x5618d9):_0x48945f(_0x5618d9))||_0x5618d9);return _0x8365ca&&_0x5618d9&&xs(_0x4b823b,_0x5c88ae,_0x5618d9),_0x5618d9;},pt=(_0x44a216,_0x2d1f9a)=>(_0x28700a,_0x17d1ed)=>_0x2d1f9a(_0x28700a,_0x17d1ed,_0x44a216);let ot=class{constructor(_0x3ddc35,_0x15a152,_0x1ac5d8){var _0x196fab=_0x23070f;this[_0x196fab(0xf9)]=_0x3ddc35,this[_0x196fab(0x199)]=_0x15a152,this[_0x196fab(0x208)]=_0x1ac5d8,this['init']();}[_0x23070f(0x397)](){var _0x1ca363=_0x23070f;this[_0x1ca363(0x199)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1321a6,_0x529d3f)=>_0x529d3f(_0x1321a6)[_0x1ca363(0x338)](_0x314aec(async _0x1cdc36=>{var _0x12a436=_0x1ca363;const _0x49df10=_0x1cdc36;if(_0x49df10[_0x12a436(0x11a)]===0x191){if(typeof window>'u')throw new Error(_0x12a436(0x368));if(window['confirm'](this[_0x12a436(0x208)]['t'](_0x12a436(0x2e0)))){const _0x31f423=window[_0x12a436(0x19f)](window[_0x12a436(0x260)][_0x12a436(0x32f)]);window['location'][_0x12a436(0x32f)]=this[_0x12a436(0xe2)]()+_0x12a436(0x299)+_0x31f423;}}return _0x49df10;}))});}[_0x23070f(0xe2)](){var _0x31ab46=_0x23070f,_0x4583d9,_0x32c605;const _0x20b0f0=this[_0x31ab46(0xf9)][_0x31ab46(0x21e)](Fn),_0x2a5baa=this[_0x31ab46(0xf9)][_0x31ab46(0x21e)](Y);return(_0x32c605=(_0x4583d9=_0x2a5baa==null?void 0x0:_0x2a5baa[_0x31ab46(0x223)])!=null?_0x4583d9:_0x20b0f0)!=null?_0x32c605:Vn;}};ot=Ms([pt(0x0,_0x550a77),pt(0x1,_0x3c1aac(_0x1c781b)),pt(0x2,_0x3c1aac(_0x15b5c9))],ot);var $s=Object['defineProperty'],Hs=Object[_0x23070f(0x11f)],ks=(_0x4dc8fa,_0x3d0b1b,_0x597f55,_0x598e63)=>{var _0x3b528a=_0x23070f;for(var _0xfc3152=_0x598e63>0x1?void 0x0:_0x598e63?Hs(_0x3d0b1b,_0x597f55):_0x3d0b1b,_0x32174b=_0x4dc8fa[_0x3b528a(0x222)]-0x1,_0x441740;_0x32174b>=0x0;_0x32174b--)(_0x441740=_0x4dc8fa[_0x32174b])&&(_0xfc3152=(_0x598e63?_0x441740(_0x3d0b1b,_0x597f55,_0xfc3152):_0x441740(_0xfc3152))||_0xfc3152);return _0x598e63&&_0xfc3152&&$s(_0x3d0b1b,_0x597f55,_0xfc3152),_0xfc3152;},Zt=(_0x50a74c,_0x3b27a6)=>(_0x28c8ae,_0x5471b9)=>_0x3b27a6(_0x28c8ae,_0x5471b9,_0x50a74c);const Di=_0x23070f(0x1ba),js=_0x23070f(0x266);let yt=class extends _0xf24b65{constructor(_0x23f77e,_0x21df84){var _0x350f52=_0x23070f;super(),this[_0x350f52(0x215)]=_0x23f77e,this[_0x350f52(0xf9)]=_0x21df84,this[_0x350f52(0x275)]();}['_initMergeInterceptor'](){var _0x58d54e=_0x23070f;const _0x475f9b=this;this[_0x58d54e(0xcd)](this[_0x58d54e(0x215)][_0x58d54e(0x339)]({'priority':0x3e7,'interceptor':_0x503794({'isMatch'(_0xf887b8){var _0x3066d6=_0x58d54e,_0x52b70c;if(_0xf887b8['method']==='POST'&&((_0x52b70c=_0xf887b8[_0x3066d6(0x24e)])!=null&&_0x52b70c['body'])){const {objectID:_0x48252b,objectType:_0x5c243f}=_0xf887b8['requestParams'][_0x3066d6(0x18b)]||{};if(!_0x48252b||_0x5c243f===void 0x0)return!0x1;const _0x2e41ef=_0x475f9b[_0x3066d6(0x31f)]()+'/'+_0x5c243f+'/object/'+_0x48252b+_0x3066d6(0x2b2);if(_0xf887b8[_0x3066d6(0x17e)]===_0x2e41ef)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bc035){var _0x28e366=_0x58d54e,_0x56115f;return(_0x56115f=_0x1bc035[_0x28e366(0x24e)])==null?void 0x0:_0x56115f[_0x28e366(0x18b)];},'mergeParamsToRequest'(_0x516117,_0x3422e5){var _0x3778e0=_0x58d54e;const _0x56a264=_0x475f9b['_getAPIPrefixPath']()+_0x3778e0(0x22d),_0x33cb73=_0x516117[_0x3778e0(0x162)]((_0x2fa448,_0x3b6de5)=>{var _0x38bcd0=_0x3778e0;const {unitID:_0x89d84c,objectID:_0x501069,objectType:_0x513471,actions:_0x5b6cf5}=_0x3b6de5;return _0x2fa448[_0x89d84c]||(_0x2fa448[_0x89d84c]={}),_0x2fa448[_0x89d84c][_0x501069]||(_0x2fa448[_0x89d84c][_0x501069]={'objectID':_0x501069,'objectType':_0x513471,'actions':[]}),_0x2fa448[_0x89d84c][_0x501069]['actions'][_0x38bcd0(0x391)](..._0x5b6cf5),_0x2fa448;},{}),_0x20c5c6=[];for(const _0x1becd0 in _0x33cb73)for(const _0x56119a in _0x33cb73[_0x1becd0]){const {actions:_0x243d3e,objectType:_0x3d314c}=_0x33cb73[_0x1becd0][_0x56119a],_0x1c9356=[...new Set(_0x243d3e)];_0x20c5c6[_0x3778e0(0x391)]({'unitID':_0x1becd0,'objectID':_0x56119a,'objectType':_0x3d314c,'actions':_0x1c9356});}return new _0x2d933a(_0x3778e0(0xe1),_0x56a264,{'headers':_0x3422e5[_0x3778e0(0xf3)],'withCredentials':_0x3422e5[_0x3778e0(0x29b)],'responseType':_0x3422e5['responseType'],'body':{'requests':_0x20c5c6}});}},{'distributeResult'(_0x20e864,_0x148982){var _0x3a5b3b=_0x58d54e;const {objectActions:_0x1b1c55}=_0x20e864;return _0x148982[_0x3a5b3b(0x1da)](_0x4dc885=>{var _0x1095dd=_0x3a5b3b;const {unitID:_0x3fe603,objectID:_0x31befa,actions:_0x3e7047}=_0x4dc885,_0x4216b4=_0x1b1c55[_0x1095dd(0x3c6)](_0x45fd34=>_0x45fd34[_0x1095dd(0x3ad)]===_0x3fe603&&_0x45fd34[_0x1095dd(0xc5)]===_0x31befa),_0x2695fc=_0x3e7047[_0x1095dd(0x1da)](_0x17e0c9=>_0x4216b4==null?void 0x0:_0x4216b4[_0x1095dd(0x2f6)][_0x1095dd(0x3c6)](_0x21ad48=>_0x21ad48['action']===_0x17e0c9))['filter'](_0x237a87=>!!_0x237a87);return{'config':_0x4dc885,'result':{'actions':_0x2695fc,'error':_0x20e864[_0x1095dd(0x251)]}};});}})}));}['_getAPIPrefixPath'](){var _0x251ee6=_0x23070f,_0x2b3dce,_0x9060ee;const _0x3197e1=this[_0x251ee6(0xf9)][_0x251ee6(0x21e)](Di),_0x44400e=this[_0x251ee6(0xf9)]['getConfig'](Y);return(_0x9060ee=(_0x2b3dce=_0x44400e==null?void 0x0:_0x44400e[_0x251ee6(0x350)])!=null?_0x2b3dce:_0x3197e1)!=null?_0x9060ee:js;}async[_0x23070f(0x357)](_0x378003){var _0x410dac=_0x23070f;const _0x3cdc83=this['_getAPIPrefixPath']()+'/'+_0x378003[_0x410dac(0x10a)]+'/object';return(await this[_0x410dac(0x215)][_0x410dac(0x120)](_0x3cdc83,{'body':_0x378003}))[_0x410dac(0x18b)][_0x410dac(0xc5)]||'';}async[_0x23070f(0x15e)](_0x8a634a){var _0x40c118=_0x23070f;const _0x218707=this['_getAPIPrefixPath']()+_0x40c118(0x2e6);return(await this[_0x40c118(0x215)]['post'](_0x218707,{'body':_0x8a634a}))[_0x40c118(0x18b)]['objects'];}async['update'](_0xe2d033){var _0x4a2d7a=_0x23070f;const _0x314ecc=this[_0x4a2d7a(0x31f)]()+'/'+_0xe2d033[_0x4a2d7a(0x10a)]+_0x4a2d7a(0x345)+_0xe2d033[_0x4a2d7a(0xc5)];await this[_0x4a2d7a(0x215)][_0x4a2d7a(0x3ae)](_0x314ecc,{'body':_0xe2d033});}async[_0x23070f(0x2ab)](_0x341acf){var _0x3b2bf1=_0x23070f;const _0x320b25=this[_0x3b2bf1(0x31f)]()+'/'+_0x341acf[_0x3b2bf1(0x10a)]+_0x3b2bf1(0x345)+_0x341acf[_0x3b2bf1(0xc5)]+'/allowed';return(await this['_HTTPService'][_0x3b2bf1(0x120)](_0x320b25,{'body':_0x341acf}))[_0x3b2bf1(0x18b)][_0x3b2bf1(0x2f6)];}async[_0x23070f(0x273)](_0x2a752c){var _0x276b2a=_0x23070f;const _0x519cfa=this['_getAPIPrefixPath']()+_0x276b2a(0x22d);return(await this[_0x276b2a(0x215)][_0x276b2a(0x120)](_0x519cfa,{'body':{'requests':_0x2a752c}}))['body'][_0x276b2a(0x35b)];}async[_0x23070f(0x28f)](_0x263b12){var _0x31c76d=_0x23070f;const _0x2ec612=this[_0x31c76d(0x31f)]()+'/'+_0x263b12[_0x31c76d(0x10a)]+_0x31c76d(0x2ec),_0x41a7a8=await this[_0x31c76d(0x215)][_0x31c76d(0x120)](_0x2ec612,{'body':_0x263b12});return{'roles':_0x41a7a8[_0x31c76d(0x18b)][_0x31c76d(0x2a4)],'actions':_0x41a7a8[_0x31c76d(0x18b)][_0x31c76d(0x2f6)]};}async[_0x23070f(0x3bd)](_0x267e40){var _0x4ade7f=_0x23070f;const _0x27902a=this['_getAPIPrefixPath']()+_0x4ade7f(0x237);await this[_0x4ade7f(0x215)][_0x4ade7f(0x342)](_0x27902a,{'params':{'collaboratorID':_0x267e40[_0x4ade7f(0x290)],'objectID':_0x267e40['objectID'],'unitID':_0x267e40[_0x4ade7f(0x3ad)]}});}async[_0x23070f(0x38a)](_0x22a130){var _0x528856=_0x23070f;const _0x2b5290=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x528856(0x215)][_0x528856(0x259)](_0x2b5290,{'body':_0x22a130});}async[_0x23070f(0x2c4)](_0x9951bc){var _0x14601f=_0x23070f;const _0x265d89=this['_getAPIPrefixPath']()+_0x14601f(0x237);await this[_0x14601f(0x215)][_0x14601f(0x120)](_0x265d89,{'body':_0x9951bc});}async[_0x23070f(0x17d)](_0x2228ff){var _0x402828=_0x23070f;const _0x1dc1df=this[_0x402828(0x31f)]()+_0x402828(0x237);return(await this[_0x402828(0x215)]['get'](_0x1dc1df,{'params':{'objectID':_0x2228ff[_0x402828(0xc5)],'unitID':_0x2228ff[_0x402828(0x3ad)]}}))[_0x402828(0x18b)][_0x402828(0x296)];}async[_0x23070f(0x321)](_0x16b987){var _0xe48981=_0x23070f;const _0x581bf2=this[_0xe48981(0x31f)]()+_0xe48981(0x237);await this['_HTTPService'][_0xe48981(0x3ae)](_0x581bf2,{'body':_0x16b987});}};yt=ks([Zt(0x0,_0x3c1aac(_0x1c781b)),Zt(0x1,_0x3c1aac(_0x550a77))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x125d5b){var _0x31b12c=_0x23070f;return _0x125d5b&&_0x125d5b['__esModule']&&Object[_0x31b12c(0x181)][_0x31b12c(0x2cd)][_0x31b12c(0x34a)](_0x125d5b,'default')?_0x125d5b[_0x31b12c(0x2f8)]:_0x125d5b;}var We={'exports':{}};function Bs(_0x5e91ef){var _0x205673=_0x23070f;throw new Error(_0x205673(0x229)+_0x5e91ef+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Fs=Ge[_0x23070f(0x32b)],Qt;function ne(){var _0x121602=_0x23070f;return Qt||(Qt=0x1,function(_0x481f4e,_0x4c6ac7){(function(_0x51e5a1,_0x480042){var _0x1a6bdf=_0xb35d;_0x481f4e[_0x1a6bdf(0x32b)]=_0x480042();}(Fs,function(){var _0x2fdb38=_0x2fdb38||function(_0x25dd1f,_0x33a23e){var _0x3f37e1=_0xb35d,_0x1d4c1d;if(typeof window<'u'&&window[_0x3f37e1(0x2bb)]&&(_0x1d4c1d=window['crypto']),typeof self<'u'&&self[_0x3f37e1(0x2bb)]&&(_0x1d4c1d=self[_0x3f37e1(0x2bb)]),typeof globalThis<'u'&&globalThis[_0x3f37e1(0x2bb)]&&(_0x1d4c1d=globalThis['crypto']),!_0x1d4c1d&&typeof window<'u'&&window['msCrypto']&&(_0x1d4c1d=window['msCrypto']),!_0x1d4c1d&&typeof mt<'u'&&mt[_0x3f37e1(0x2bb)]&&(_0x1d4c1d=mt['crypto']),!_0x1d4c1d&&typeof Bs==_0x3f37e1(0x187))try{_0x1d4c1d=require(_0x3f37e1(0x2bb));}catch{}var _0x52a7a6=function(){var _0x1fa989=_0x3f37e1;if(_0x1d4c1d){if(typeof _0x1d4c1d['getRandomValues']==_0x1fa989(0x187))try{return _0x1d4c1d[_0x1fa989(0x309)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d4c1d[_0x1fa989(0x388)]==_0x1fa989(0x187))try{return _0x1d4c1d[_0x1fa989(0x388)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1fa989(0x1b6));},_0x3919ee=Object[_0x3f37e1(0x357)]||(function(){function _0x40ebdf(){}return function(_0x4206c1){var _0x498149=_0xb35d,_0x439e22;return _0x40ebdf[_0x498149(0x181)]=_0x4206c1,_0x439e22=new _0x40ebdf(),_0x40ebdf[_0x498149(0x181)]=null,_0x439e22;};}()),_0x579f4a={},_0x399aa9=_0x579f4a['lib']={},_0x5ed677=_0x399aa9[_0x3f37e1(0x1a6)]=(function(){return{'extend':function(_0x214840){var _0x1ac4c5=_0xb35d,_0x347556=_0x3919ee(this);return _0x214840&&_0x347556[_0x1ac4c5(0x39d)](_0x214840),(!_0x347556[_0x1ac4c5(0x2cd)]('init')||this['init']===_0x347556[_0x1ac4c5(0x397)])&&(_0x347556[_0x1ac4c5(0x397)]=function(){var _0x23f022=_0x1ac4c5;_0x347556['$super'][_0x23f022(0x397)][_0x23f022(0x106)](this,arguments);}),_0x347556[_0x1ac4c5(0x397)][_0x1ac4c5(0x181)]=_0x347556,_0x347556[_0x1ac4c5(0x316)]=this,_0x347556;},'create':function(){var _0x523d43=_0xb35d,_0xeb4010=this[_0x523d43(0x20c)]();return _0xeb4010[_0x523d43(0x397)][_0x523d43(0x106)](_0xeb4010,arguments),_0xeb4010;},'init':function(){},'mixIn':function(_0x5205ea){var _0x32c710=_0xb35d;for(var _0x5032e2 in _0x5205ea)_0x5205ea[_0x32c710(0x2cd)](_0x5032e2)&&(this[_0x5032e2]=_0x5205ea[_0x5032e2]);_0x5205ea[_0x32c710(0x2cd)](_0x32c710(0x32a))&&(this['toString']=_0x5205ea[_0x32c710(0x32a)]);},'clone':function(){var _0x3056bf=_0xb35d;return this['init']['prototype'][_0x3056bf(0x20c)](this);}};}()),_0x178af1=_0x399aa9['WordArray']=_0x5ed677[_0x3f37e1(0x20c)]({'init':function(_0x3cbfc5,_0xac9188){var _0x3b88b6=_0x3f37e1;_0x3cbfc5=this['words']=_0x3cbfc5||[],_0xac9188!=_0x33a23e?this[_0x3b88b6(0xce)]=_0xac9188:this[_0x3b88b6(0xce)]=_0x3cbfc5[_0x3b88b6(0x222)]*0x4;},'toString':function(_0x4798b4){var _0x87164f=_0x3f37e1;return(_0x4798b4||_0x26de98)[_0x87164f(0x35e)](this);},'concat':function(_0x16df2e){var _0x3f0ce1=_0x3f37e1,_0x28c37b=this['words'],_0x565883=_0x16df2e['words'],_0x2906f9=this[_0x3f0ce1(0xce)],_0x25d296=_0x16df2e['sigBytes'];if(this[_0x3f0ce1(0x2db)](),_0x2906f9%0x4)for(var _0x55b4d4=0x0;_0x55b4d4<_0x25d296;_0x55b4d4++){var _0x4db91c=_0x565883[_0x55b4d4>>>0x2]>>>0x18-_0x55b4d4%0x4*0x8&0xff;_0x28c37b[_0x2906f9+_0x55b4d4>>>0x2]|=_0x4db91c<<0x18-(_0x2906f9+_0x55b4d4)%0x4*0x8;}else{for(var _0x8d2cd4=0x0;_0x8d2cd4<_0x25d296;_0x8d2cd4+=0x4)_0x28c37b[_0x2906f9+_0x8d2cd4>>>0x2]=_0x565883[_0x8d2cd4>>>0x2];}return this[_0x3f0ce1(0xce)]+=_0x25d296,this;},'clamp':function(){var _0x34a4f3=_0x3f37e1,_0xbde473=this[_0x34a4f3(0x1b8)],_0x5ed2ee=this['sigBytes'];_0xbde473[_0x5ed2ee>>>0x2]&=0xffffffff<<0x20-_0x5ed2ee%0x4*0x8,_0xbde473['length']=_0x25dd1f[_0x34a4f3(0x384)](_0x5ed2ee/0x4);},'clone':function(){var _0x44dfe3=_0x3f37e1,_0x17611b=_0x5ed677['clone']['call'](this);return _0x17611b[_0x44dfe3(0x1b8)]=this[_0x44dfe3(0x1b8)][_0x44dfe3(0xf0)](0x0),_0x17611b;},'random':function(_0x1476ca){var _0x409af0=_0x3f37e1;for(var _0x448725=[],_0x1a815e=0x0;_0x1a815e<_0x1476ca;_0x1a815e+=0x4)_0x448725[_0x409af0(0x391)](_0x52a7a6());return new _0x178af1['init'](_0x448725,_0x1476ca);}}),_0x5cdf57=_0x579f4a[_0x3f37e1(0x16e)]={},_0x26de98=_0x5cdf57[_0x3f37e1(0x37c)]={'stringify':function(_0x1fd1f7){var _0x421154=_0x3f37e1;for(var _0x3f0173=_0x1fd1f7[_0x421154(0x1b8)],_0x247796=_0x1fd1f7[_0x421154(0xce)],_0x5ec30f=[],_0x163949=0x0;_0x163949<_0x247796;_0x163949++){var _0x4d51a3=_0x3f0173[_0x163949>>>0x2]>>>0x18-_0x163949%0x4*0x8&0xff;_0x5ec30f['push']((_0x4d51a3>>>0x4)[_0x421154(0x32a)](0x10)),_0x5ec30f[_0x421154(0x391)]((_0x4d51a3&0xf)[_0x421154(0x32a)](0x10));}return _0x5ec30f['join']('');},'parse':function(_0x34f3b2){var _0x59d219=_0x3f37e1;for(var _0x5233e8=_0x34f3b2[_0x59d219(0x222)],_0x4a65d6=[],_0x1a5f7b=0x0;_0x1a5f7b<_0x5233e8;_0x1a5f7b+=0x2)_0x4a65d6[_0x1a5f7b>>>0x3]|=parseInt(_0x34f3b2['substr'](_0x1a5f7b,0x2),0x10)<<0x18-_0x1a5f7b%0x8*0x4;return new _0x178af1[(_0x59d219(0x397))](_0x4a65d6,_0x5233e8/0x2);}},_0x2dd3e1=_0x5cdf57[_0x3f37e1(0x2df)]={'stringify':function(_0x4615eb){var _0x583039=_0x3f37e1;for(var _0x675eff=_0x4615eb['words'],_0xacbb45=_0x4615eb[_0x583039(0xce)],_0x33bb48=[],_0x47bef4=0x0;_0x47bef4<_0xacbb45;_0x47bef4++){var _0x548858=_0x675eff[_0x47bef4>>>0x2]>>>0x18-_0x47bef4%0x4*0x8&0xff;_0x33bb48['push'](String[_0x583039(0x156)](_0x548858));}return _0x33bb48[_0x583039(0x12b)]('');},'parse':function(_0x221d20){var _0x182f9c=_0x3f37e1;for(var _0x440bf3=_0x221d20[_0x182f9c(0x222)],_0x5eedbf=[],_0x26357e=0x0;_0x26357e<_0x440bf3;_0x26357e++)_0x5eedbf[_0x26357e>>>0x2]|=(_0x221d20['charCodeAt'](_0x26357e)&0xff)<<0x18-_0x26357e%0x4*0x8;return new _0x178af1[(_0x182f9c(0x397))](_0x5eedbf,_0x440bf3);}},_0x3e5638=_0x5cdf57[_0x3f37e1(0x381)]={'stringify':function(_0x14a801){var _0x550237=_0x3f37e1;try{return decodeURIComponent(escape(_0x2dd3e1[_0x550237(0x35e)](_0x14a801)));}catch{throw new Error(_0x550237(0xe7));}},'parse':function(_0x2dabdd){var _0xdb7654=_0x3f37e1;return _0x2dd3e1[_0xdb7654(0x17f)](unescape(encodeURIComponent(_0x2dabdd)));}},_0x383e01=_0x399aa9[_0x3f37e1(0x26f)]=_0x5ed677[_0x3f37e1(0x20c)]({'reset':function(){var _0x5dbd53=_0x3f37e1;this[_0x5dbd53(0x1e6)]=new _0x178af1[(_0x5dbd53(0x397))](),this[_0x5dbd53(0x157)]=0x0;},'_append':function(_0x3f1f90){var _0x36f931=_0x3f37e1;typeof _0x3f1f90=='string'&&(_0x3f1f90=_0x3e5638['parse'](_0x3f1f90)),this[_0x36f931(0x1e6)][_0x36f931(0x1fe)](_0x3f1f90),this['_nDataBytes']+=_0x3f1f90[_0x36f931(0xce)];},'_process':function(_0x1fed70){var _0x355319=_0x3f37e1,_0x14d85f,_0x59b5e6=this[_0x355319(0x1e6)],_0x38e6dc=_0x59b5e6['words'],_0x1a5429=_0x59b5e6['sigBytes'],_0x203eac=this[_0x355319(0x135)],_0x2b2883=_0x203eac*0x4,_0x3672de=_0x1a5429/_0x2b2883;_0x1fed70?_0x3672de=_0x25dd1f['ceil'](_0x3672de):_0x3672de=_0x25dd1f[_0x355319(0xf5)]((_0x3672de|0x0)-this[_0x355319(0x300)],0x0);var _0x5bb5a8=_0x3672de*_0x203eac,_0x59e840=_0x25dd1f['min'](_0x5bb5a8*0x4,_0x1a5429);if(_0x5bb5a8){for(var _0x34b97e=0x0;_0x34b97e<_0x5bb5a8;_0x34b97e+=_0x203eac)this[_0x355319(0x37d)](_0x38e6dc,_0x34b97e);_0x14d85f=_0x38e6dc[_0x355319(0x2f2)](0x0,_0x5bb5a8),_0x59b5e6['sigBytes']-=_0x59e840;}return new _0x178af1[(_0x355319(0x397))](_0x14d85f,_0x59e840);},'clone':function(){var _0x56dcd6=_0x3f37e1,_0x42ac1f=_0x5ed677[_0x56dcd6(0x226)]['call'](this);return _0x42ac1f[_0x56dcd6(0x1e6)]=this[_0x56dcd6(0x1e6)]['clone'](),_0x42ac1f;},'_minBufferSize':0x0});_0x399aa9[_0x3f37e1(0x268)]=_0x383e01[_0x3f37e1(0x20c)]({'cfg':_0x5ed677['extend'](),'init':function(_0x129f9c){var _0x558449=_0x3f37e1;this['cfg']=this[_0x558449(0x1e5)][_0x558449(0x20c)](_0x129f9c),this['reset']();},'reset':function(){var _0x22f535=_0x3f37e1;_0x383e01[_0x22f535(0x231)][_0x22f535(0x34a)](this),this[_0x22f535(0x252)]();},'update':function(_0x596927){var _0x36a6d2=_0x3f37e1;return this[_0x36a6d2(0x19b)](_0x596927),this['_process'](),this;},'finalize':function(_0x3babbf){var _0x245291=_0x3f37e1;_0x3babbf&&this['_append'](_0x3babbf);var _0x5b453b=this[_0x245291(0x2b4)]();return _0x5b453b;},'blockSize':0x10,'_createHelper':function(_0x4f45ca){return function(_0x1713d6,_0x3367b9){var _0x4260fd=_0xb35d;return new _0x4f45ca[(_0x4260fd(0x397))](_0x3367b9)[_0x4260fd(0x370)](_0x1713d6);};},'_createHmacHelper':function(_0x4e1c78){return function(_0xf77542,_0x38612b){var _0x65313f=_0xb35d;return new _0x37f7c3['HMAC']['init'](_0x4e1c78,_0x38612b)[_0x65313f(0x370)](_0xf77542);};}});var _0x37f7c3=_0x579f4a[_0x3f37e1(0x2e3)]={};return _0x579f4a;}(Math);return _0x2fdb38;}));}(Ge)),Ge[_0x121602(0x32b)];}var Ke={'exports':{}},Vs=Ke[_0x23070f(0x32b)],ei;function wi(){var _0x4eba4f=_0x23070f;return ei||(ei=0x1,function(_0x11b9e9,_0x32cdc6){(function(_0xb62427,_0x25ed4c){var _0x488be9=_0xb35d;_0x11b9e9[_0x488be9(0x32b)]=_0x25ed4c(ne());}(Vs,function(_0x431e41){var _0x4784bc=_0xb35d;return(function(){var _0x21d6ac=_0xb35d,_0x7c9873=_0x431e41,_0x150456=_0x7c9873[_0x21d6ac(0xde)],_0x20858e=_0x150456[_0x21d6ac(0x2d5)],_0x552b61=_0x7c9873[_0x21d6ac(0x16e)];_0x552b61[_0x21d6ac(0x1fd)]={'stringify':function(_0x34ff86){var _0x502dbd=_0x21d6ac,_0x157428=_0x34ff86['words'],_0x394f36=_0x34ff86[_0x502dbd(0xce)],_0x43051c=this[_0x502dbd(0x17a)];_0x34ff86[_0x502dbd(0x2db)]();for(var _0x48bb6c=[],_0x3b49f1=0x0;_0x3b49f1<_0x394f36;_0x3b49f1+=0x3)for(var _0x4b404f=_0x157428[_0x3b49f1>>>0x2]>>>0x18-_0x3b49f1%0x4*0x8&0xff,_0x5d0442=_0x157428[_0x3b49f1+0x1>>>0x2]>>>0x18-(_0x3b49f1+0x1)%0x4*0x8&0xff,_0x36bfa7=_0x157428[_0x3b49f1+0x2>>>0x2]>>>0x18-(_0x3b49f1+0x2)%0x4*0x8&0xff,_0x3e61cc=_0x4b404f<<0x10|_0x5d0442<<0x8|_0x36bfa7,_0x25cd78=0x0;_0x25cd78<0x4&&_0x3b49f1+_0x25cd78*0.75<_0x394f36;_0x25cd78++)_0x48bb6c['push'](_0x43051c['charAt'](_0x3e61cc>>>0x6*(0x3-_0x25cd78)&0x3f));var _0x111fe5=_0x43051c[_0x502dbd(0x103)](0x40);if(_0x111fe5){for(;_0x48bb6c[_0x502dbd(0x222)]%0x4;)_0x48bb6c['push'](_0x111fe5);}return _0x48bb6c[_0x502dbd(0x12b)]('');},'parse':function(_0x2c3de9){var _0x2d03e2=_0x21d6ac,_0x25de80=_0x2c3de9[_0x2d03e2(0x222)],_0x299615=this[_0x2d03e2(0x17a)],_0x19effb=this[_0x2d03e2(0x133)];if(!_0x19effb){_0x19effb=this[_0x2d03e2(0x133)]=[];for(var _0x5676a8=0x0;_0x5676a8<_0x299615[_0x2d03e2(0x222)];_0x5676a8++)_0x19effb[_0x299615[_0x2d03e2(0x1f1)](_0x5676a8)]=_0x5676a8;}var _0x5427e6=_0x299615[_0x2d03e2(0x103)](0x40);if(_0x5427e6){var _0x222a92=_0x2c3de9[_0x2d03e2(0x1a4)](_0x5427e6);_0x222a92!==-0x1&&(_0x25de80=_0x222a92);}return _0x514646(_0x2c3de9,_0x25de80,_0x19effb);},'_map':_0x21d6ac(0x3a1)};function _0x514646(_0x1eb9d4,_0x351b25,_0x388342){var _0x414d92=_0x21d6ac;for(var _0x648d36=[],_0xb5835c=0x0,_0x13042b=0x0;_0x13042b<_0x351b25;_0x13042b++)if(_0x13042b%0x4){var _0x5b3c71=_0x388342[_0x1eb9d4[_0x414d92(0x1f1)](_0x13042b-0x1)]<<_0x13042b%0x4*0x2,_0x3437a1=_0x388342[_0x1eb9d4['charCodeAt'](_0x13042b)]>>>0x6-_0x13042b%0x4*0x2,_0x48ef60=_0x5b3c71|_0x3437a1;_0x648d36[_0xb5835c>>>0x2]|=_0x48ef60<<0x18-_0xb5835c%0x4*0x8,_0xb5835c++;}return _0x20858e[_0x414d92(0x357)](_0x648d36,_0xb5835c);}}()),_0x431e41[_0x4784bc(0x16e)]['Base64'];}));}(Ke)),Ke[_0x4eba4f(0x32b)];}var ze={'exports':{}},Ws=ze[_0x23070f(0x32b)],ti;function Gs(){return ti||(ti=0x1,function(_0x5806af,_0x186b14){(function(_0x38708a,_0x1adf38){var _0x5d6f22=_0xb35d;_0x5806af[_0x5d6f22(0x32b)]=_0x1adf38(ne());}(Ws,function(_0x4b0c25){return function(_0x4a7cd2){var _0x512980=_0xb35d,_0x3c1151=_0x4b0c25,_0x2cc714=_0x3c1151[_0x512980(0xde)],_0x5b1d2a=_0x2cc714[_0x512980(0x2d5)],_0xc7263d=_0x2cc714[_0x512980(0x268)],_0x1f230d=_0x3c1151[_0x512980(0x2e3)],_0x1757d9=[];(function(){var _0x46d5f4=_0x512980;for(var _0x5483bd=0x0;_0x5483bd<0x40;_0x5483bd++)_0x1757d9[_0x5483bd]=_0x4a7cd2[_0x46d5f4(0x31e)](_0x4a7cd2[_0x46d5f4(0x1d6)](_0x5483bd+0x1))*0x100000000|0x0;}());var _0x955d16=_0x1f230d['MD5']=_0xc7263d['extend']({'_doReset':function(){var _0x5792dd=_0x512980;this[_0x5792dd(0x33a)]=new _0x5b1d2a[(_0x5792dd(0x397))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4fee70,_0x3a6b3a){var _0x209c6c=_0x512980;for(var _0x510e49=0x0;_0x510e49<0x10;_0x510e49++){var _0x4509d4=_0x3a6b3a+_0x510e49,_0x25cb92=_0x4fee70[_0x4509d4];_0x4fee70[_0x4509d4]=(_0x25cb92<<0x8|_0x25cb92>>>0x18)&0xff00ff|(_0x25cb92<<0x18|_0x25cb92>>>0x8)&0xff00ff00;}var _0x135534=this[_0x209c6c(0x33a)]['words'],_0x54ae35=_0x4fee70[_0x3a6b3a+0x0],_0x524e7b=_0x4fee70[_0x3a6b3a+0x1],_0x33720f=_0x4fee70[_0x3a6b3a+0x2],_0x34f64c=_0x4fee70[_0x3a6b3a+0x3],_0x45e2a4=_0x4fee70[_0x3a6b3a+0x4],_0xf003dc=_0x4fee70[_0x3a6b3a+0x5],_0x43c8ea=_0x4fee70[_0x3a6b3a+0x6],_0x5eab4d=_0x4fee70[_0x3a6b3a+0x7],_0x4fb2a7=_0x4fee70[_0x3a6b3a+0x8],_0x35984b=_0x4fee70[_0x3a6b3a+0x9],_0x4379fc=_0x4fee70[_0x3a6b3a+0xa],_0x1f3d8d=_0x4fee70[_0x3a6b3a+0xb],_0x41e5e5=_0x4fee70[_0x3a6b3a+0xc],_0x664d01=_0x4fee70[_0x3a6b3a+0xd],_0x4efaf4=_0x4fee70[_0x3a6b3a+0xe],_0x3e8e1d=_0x4fee70[_0x3a6b3a+0xf],_0x175cd9=_0x135534[0x0],_0x436d81=_0x135534[0x1],_0x2f5f51=_0x135534[0x2],_0x415cf2=_0x135534[0x3];_0x175cd9=_0x558021(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x54ae35,0x7,_0x1757d9[0x0]),_0x415cf2=_0x558021(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x524e7b,0xc,_0x1757d9[0x1]),_0x2f5f51=_0x558021(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x33720f,0x11,_0x1757d9[0x2]),_0x436d81=_0x558021(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x34f64c,0x16,_0x1757d9[0x3]),_0x175cd9=_0x558021(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x45e2a4,0x7,_0x1757d9[0x4]),_0x415cf2=_0x558021(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0xf003dc,0xc,_0x1757d9[0x5]),_0x2f5f51=_0x558021(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x43c8ea,0x11,_0x1757d9[0x6]),_0x436d81=_0x558021(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x5eab4d,0x16,_0x1757d9[0x7]),_0x175cd9=_0x558021(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x4fb2a7,0x7,_0x1757d9[0x8]),_0x415cf2=_0x558021(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x35984b,0xc,_0x1757d9[0x9]),_0x2f5f51=_0x558021(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x4379fc,0x11,_0x1757d9[0xa]),_0x436d81=_0x558021(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x1f3d8d,0x16,_0x1757d9[0xb]),_0x175cd9=_0x558021(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x41e5e5,0x7,_0x1757d9[0xc]),_0x415cf2=_0x558021(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x664d01,0xc,_0x1757d9[0xd]),_0x2f5f51=_0x558021(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x4efaf4,0x11,_0x1757d9[0xe]),_0x436d81=_0x558021(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x3e8e1d,0x16,_0x1757d9[0xf]),_0x175cd9=_0x2b5878(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x524e7b,0x5,_0x1757d9[0x10]),_0x415cf2=_0x2b5878(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x43c8ea,0x9,_0x1757d9[0x11]),_0x2f5f51=_0x2b5878(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x1f3d8d,0xe,_0x1757d9[0x12]),_0x436d81=_0x2b5878(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x54ae35,0x14,_0x1757d9[0x13]),_0x175cd9=_0x2b5878(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0xf003dc,0x5,_0x1757d9[0x14]),_0x415cf2=_0x2b5878(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x4379fc,0x9,_0x1757d9[0x15]),_0x2f5f51=_0x2b5878(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x3e8e1d,0xe,_0x1757d9[0x16]),_0x436d81=_0x2b5878(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x45e2a4,0x14,_0x1757d9[0x17]),_0x175cd9=_0x2b5878(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x35984b,0x5,_0x1757d9[0x18]),_0x415cf2=_0x2b5878(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x4efaf4,0x9,_0x1757d9[0x19]),_0x2f5f51=_0x2b5878(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x34f64c,0xe,_0x1757d9[0x1a]),_0x436d81=_0x2b5878(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x4fb2a7,0x14,_0x1757d9[0x1b]),_0x175cd9=_0x2b5878(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x664d01,0x5,_0x1757d9[0x1c]),_0x415cf2=_0x2b5878(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x33720f,0x9,_0x1757d9[0x1d]),_0x2f5f51=_0x2b5878(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x5eab4d,0xe,_0x1757d9[0x1e]),_0x436d81=_0x2b5878(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x41e5e5,0x14,_0x1757d9[0x1f]),_0x175cd9=_0xbfc76(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0xf003dc,0x4,_0x1757d9[0x20]),_0x415cf2=_0xbfc76(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x4fb2a7,0xb,_0x1757d9[0x21]),_0x2f5f51=_0xbfc76(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x1f3d8d,0x10,_0x1757d9[0x22]),_0x436d81=_0xbfc76(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x4efaf4,0x17,_0x1757d9[0x23]),_0x175cd9=_0xbfc76(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x524e7b,0x4,_0x1757d9[0x24]),_0x415cf2=_0xbfc76(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x45e2a4,0xb,_0x1757d9[0x25]),_0x2f5f51=_0xbfc76(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x5eab4d,0x10,_0x1757d9[0x26]),_0x436d81=_0xbfc76(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x4379fc,0x17,_0x1757d9[0x27]),_0x175cd9=_0xbfc76(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x664d01,0x4,_0x1757d9[0x28]),_0x415cf2=_0xbfc76(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x54ae35,0xb,_0x1757d9[0x29]),_0x2f5f51=_0xbfc76(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x34f64c,0x10,_0x1757d9[0x2a]),_0x436d81=_0xbfc76(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x43c8ea,0x17,_0x1757d9[0x2b]),_0x175cd9=_0xbfc76(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x35984b,0x4,_0x1757d9[0x2c]),_0x415cf2=_0xbfc76(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x41e5e5,0xb,_0x1757d9[0x2d]),_0x2f5f51=_0xbfc76(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x3e8e1d,0x10,_0x1757d9[0x2e]),_0x436d81=_0xbfc76(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x33720f,0x17,_0x1757d9[0x2f]),_0x175cd9=_0xee53ea(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x54ae35,0x6,_0x1757d9[0x30]),_0x415cf2=_0xee53ea(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x5eab4d,0xa,_0x1757d9[0x31]),_0x2f5f51=_0xee53ea(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x4efaf4,0xf,_0x1757d9[0x32]),_0x436d81=_0xee53ea(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0xf003dc,0x15,_0x1757d9[0x33]),_0x175cd9=_0xee53ea(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x41e5e5,0x6,_0x1757d9[0x34]),_0x415cf2=_0xee53ea(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x34f64c,0xa,_0x1757d9[0x35]),_0x2f5f51=_0xee53ea(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x4379fc,0xf,_0x1757d9[0x36]),_0x436d81=_0xee53ea(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x524e7b,0x15,_0x1757d9[0x37]),_0x175cd9=_0xee53ea(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x4fb2a7,0x6,_0x1757d9[0x38]),_0x415cf2=_0xee53ea(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x3e8e1d,0xa,_0x1757d9[0x39]),_0x2f5f51=_0xee53ea(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x43c8ea,0xf,_0x1757d9[0x3a]),_0x436d81=_0xee53ea(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x664d01,0x15,_0x1757d9[0x3b]),_0x175cd9=_0xee53ea(_0x175cd9,_0x436d81,_0x2f5f51,_0x415cf2,_0x45e2a4,0x6,_0x1757d9[0x3c]),_0x415cf2=_0xee53ea(_0x415cf2,_0x175cd9,_0x436d81,_0x2f5f51,_0x1f3d8d,0xa,_0x1757d9[0x3d]),_0x2f5f51=_0xee53ea(_0x2f5f51,_0x415cf2,_0x175cd9,_0x436d81,_0x33720f,0xf,_0x1757d9[0x3e]),_0x436d81=_0xee53ea(_0x436d81,_0x2f5f51,_0x415cf2,_0x175cd9,_0x35984b,0x15,_0x1757d9[0x3f]),_0x135534[0x0]=_0x135534[0x0]+_0x175cd9|0x0,_0x135534[0x1]=_0x135534[0x1]+_0x436d81|0x0,_0x135534[0x2]=_0x135534[0x2]+_0x2f5f51|0x0,_0x135534[0x3]=_0x135534[0x3]+_0x415cf2|0x0;},'_doFinalize':function(){var _0x49b019=_0x512980,_0x47ea67=this['_data'],_0x548f5e=_0x47ea67[_0x49b019(0x1b8)],_0x4373c8=this[_0x49b019(0x157)]*0x8,_0x3247bf=_0x47ea67[_0x49b019(0xce)]*0x8;_0x548f5e[_0x3247bf>>>0x5]|=0x80<<0x18-_0x3247bf%0x20;var _0x231d55=_0x4a7cd2[_0x49b019(0x35a)](_0x4373c8/0x100000000),_0x4cd143=_0x4373c8;_0x548f5e[(_0x3247bf+0x40>>>0x9<<0x4)+0xf]=(_0x231d55<<0x8|_0x231d55>>>0x18)&0xff00ff|(_0x231d55<<0x18|_0x231d55>>>0x8)&0xff00ff00,_0x548f5e[(_0x3247bf+0x40>>>0x9<<0x4)+0xe]=(_0x4cd143<<0x8|_0x4cd143>>>0x18)&0xff00ff|(_0x4cd143<<0x18|_0x4cd143>>>0x8)&0xff00ff00,_0x47ea67[_0x49b019(0xce)]=(_0x548f5e[_0x49b019(0x222)]+0x1)*0x4,this[_0x49b019(0x385)]();for(var _0x250ec4=this[_0x49b019(0x33a)],_0x5a6e01=_0x250ec4[_0x49b019(0x1b8)],_0x2789c3=0x0;_0x2789c3<0x4;_0x2789c3++){var _0x2b377a=_0x5a6e01[_0x2789c3];_0x5a6e01[_0x2789c3]=(_0x2b377a<<0x8|_0x2b377a>>>0x18)&0xff00ff|(_0x2b377a<<0x18|_0x2b377a>>>0x8)&0xff00ff00;}return _0x250ec4;},'clone':function(){var _0x527150=_0x512980,_0x25af28=_0xc7263d[_0x527150(0x226)][_0x527150(0x34a)](this);return _0x25af28[_0x527150(0x33a)]=this[_0x527150(0x33a)][_0x527150(0x226)](),_0x25af28;}});function _0x558021(_0x11570e,_0xb5e9ab,_0x2fe24a,_0x31d04e,_0x4bd8cc,_0x36289d,_0x2af1f0){var _0x47b513=_0x11570e+(_0xb5e9ab&_0x2fe24a|~_0xb5e9ab&_0x31d04e)+_0x4bd8cc+_0x2af1f0;return(_0x47b513<<_0x36289d|_0x47b513>>>0x20-_0x36289d)+_0xb5e9ab;}function _0x2b5878(_0x826c6d,_0x282cc1,_0x84b9a6,_0xb7e95a,_0x3e265a,_0x40775e,_0x111416){var _0x38c391=_0x826c6d+(_0x282cc1&_0xb7e95a|_0x84b9a6&~_0xb7e95a)+_0x3e265a+_0x111416;return(_0x38c391<<_0x40775e|_0x38c391>>>0x20-_0x40775e)+_0x282cc1;}function _0xbfc76(_0x316a51,_0x4970f8,_0x43d4b0,_0x56050d,_0x24e383,_0x557e07,_0x168129){var _0x5be64d=_0x316a51+(_0x4970f8^_0x43d4b0^_0x56050d)+_0x24e383+_0x168129;return(_0x5be64d<<_0x557e07|_0x5be64d>>>0x20-_0x557e07)+_0x4970f8;}function _0xee53ea(_0x527f8f,_0x5200a0,_0x20d22b,_0x650f37,_0x382f14,_0x5f26f6,_0x29b65c){var _0x154738=_0x527f8f+(_0x20d22b^(_0x5200a0|~_0x650f37))+_0x382f14+_0x29b65c;return(_0x154738<<_0x5f26f6|_0x154738>>>0x20-_0x5f26f6)+_0x5200a0;}_0x3c1151[_0x512980(0x193)]=_0xc7263d['_createHelper'](_0x955d16),_0x3c1151[_0x512980(0x24c)]=_0xc7263d['_createHmacHelper'](_0x955d16);}(Math),_0x4b0c25['MD5'];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe['exports'],ii;function zs(){var _0x409add=_0x23070f;return ii||(ii=0x1,function(_0x1084e8,_0x35bdc4){(function(_0x5c4c3c,_0x5aafdb){var _0x11f514=_0xb35d;_0x1084e8[_0x11f514(0x32b)]=_0x5aafdb(ne());}(Ks,function(_0x1f040e){var _0x288a8b=_0xb35d;return(function(){var _0x5cb26c=_0xb35d,_0x2b2d6c=_0x1f040e,_0x3d222e=_0x2b2d6c[_0x5cb26c(0xde)],_0x1b5837=_0x3d222e['WordArray'],_0x3a4acc=_0x3d222e[_0x5cb26c(0x268)],_0x294953=_0x2b2d6c[_0x5cb26c(0x2e3)],_0xfa2290=[],_0x313df5=_0x294953['SHA1']=_0x3a4acc['extend']({'_doReset':function(){var _0x2be4d9=_0x5cb26c;this['_hash']=new _0x1b5837[(_0x2be4d9(0x397))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x124506,_0x10993f){var _0x2dfb10=_0x5cb26c;for(var _0x36f62d=this[_0x2dfb10(0x33a)][_0x2dfb10(0x1b8)],_0x3c8f89=_0x36f62d[0x0],_0x452428=_0x36f62d[0x1],_0x52366d=_0x36f62d[0x2],_0xf233f3=_0x36f62d[0x3],_0x435b34=_0x36f62d[0x4],_0x535908=0x0;_0x535908<0x50;_0x535908++){if(_0x535908<0x10)_0xfa2290[_0x535908]=_0x124506[_0x10993f+_0x535908]|0x0;else{var _0x40510d=_0xfa2290[_0x535908-0x3]^_0xfa2290[_0x535908-0x8]^_0xfa2290[_0x535908-0xe]^_0xfa2290[_0x535908-0x10];_0xfa2290[_0x535908]=_0x40510d<<0x1|_0x40510d>>>0x1f;}var _0x33c1b3=(_0x3c8f89<<0x5|_0x3c8f89>>>0x1b)+_0x435b34+_0xfa2290[_0x535908];_0x535908<0x14?_0x33c1b3+=(_0x452428&_0x52366d|~_0x452428&_0xf233f3)+0x5a827999:_0x535908<0x28?_0x33c1b3+=(_0x452428^_0x52366d^_0xf233f3)+0x6ed9eba1:_0x535908<0x3c?_0x33c1b3+=(_0x452428&_0x52366d|_0x452428&_0xf233f3|_0x52366d&_0xf233f3)-0x70e44324:_0x33c1b3+=(_0x452428^_0x52366d^_0xf233f3)-0x359d3e2a,_0x435b34=_0xf233f3,_0xf233f3=_0x52366d,_0x52366d=_0x452428<<0x1e|_0x452428>>>0x2,_0x452428=_0x3c8f89,_0x3c8f89=_0x33c1b3;}_0x36f62d[0x0]=_0x36f62d[0x0]+_0x3c8f89|0x0,_0x36f62d[0x1]=_0x36f62d[0x1]+_0x452428|0x0,_0x36f62d[0x2]=_0x36f62d[0x2]+_0x52366d|0x0,_0x36f62d[0x3]=_0x36f62d[0x3]+_0xf233f3|0x0,_0x36f62d[0x4]=_0x36f62d[0x4]+_0x435b34|0x0;},'_doFinalize':function(){var _0x412dbd=_0x5cb26c,_0x3532f8=this['_data'],_0x55504f=_0x3532f8[_0x412dbd(0x1b8)],_0x1ab261=this[_0x412dbd(0x157)]*0x8,_0x30725b=_0x3532f8[_0x412dbd(0xce)]*0x8;return _0x55504f[_0x30725b>>>0x5]|=0x80<<0x18-_0x30725b%0x20,_0x55504f[(_0x30725b+0x40>>>0x9<<0x4)+0xe]=Math[_0x412dbd(0x35a)](_0x1ab261/0x100000000),_0x55504f[(_0x30725b+0x40>>>0x9<<0x4)+0xf]=_0x1ab261,_0x3532f8['sigBytes']=_0x55504f[_0x412dbd(0x222)]*0x4,this['_process'](),this[_0x412dbd(0x33a)];},'clone':function(){var _0xbf7a5b=_0x5cb26c,_0x24bca4=_0x3a4acc['clone'][_0xbf7a5b(0x34a)](this);return _0x24bca4[_0xbf7a5b(0x33a)]=this[_0xbf7a5b(0x33a)][_0xbf7a5b(0x226)](),_0x24bca4;}});_0x2b2d6c[_0x5cb26c(0x1a7)]=_0x3a4acc[_0x5cb26c(0x269)](_0x313df5),_0x2b2d6c[_0x5cb26c(0x23b)]=_0x3a4acc[_0x5cb26c(0x12c)](_0x313df5);}()),_0x1f040e[_0x288a8b(0x1a7)];}));}(qe)),qe[_0x409add(0x32b)];}var Je={'exports':{}},Ys=Je[_0x23070f(0x32b)],ni;function qs(){var _0xffafb=_0x23070f;return ni||(ni=0x1,function(_0x50b8f2,_0x62e1f){(function(_0x27024f,_0x259fed){_0x50b8f2['exports']=_0x259fed(ne());}(Ys,function(_0x365821){(function(){var _0xf44d05=_0xb35d,_0x5c1883=_0x365821,_0x487af5=_0x5c1883[_0xf44d05(0xde)],_0x3469b5=_0x487af5[_0xf44d05(0x1a6)],_0x80699f=_0x5c1883[_0xf44d05(0x16e)],_0x33ce51=_0x80699f[_0xf44d05(0x381)],_0x2b748b=_0x5c1883[_0xf44d05(0x2e3)];_0x2b748b['HMAC']=_0x3469b5[_0xf44d05(0x20c)]({'init':function(_0x2e0d5f,_0x1d3b8f){var _0x282397=_0xf44d05;_0x2e0d5f=this[_0x282397(0x101)]=new _0x2e0d5f[(_0x282397(0x397))](),typeof _0x1d3b8f==_0x282397(0x189)&&(_0x1d3b8f=_0x33ce51['parse'](_0x1d3b8f));var _0xece919=_0x2e0d5f[_0x282397(0x135)],_0x52c6bd=_0xece919*0x4;_0x1d3b8f['sigBytes']>_0x52c6bd&&(_0x1d3b8f=_0x2e0d5f[_0x282397(0x370)](_0x1d3b8f)),_0x1d3b8f[_0x282397(0x2db)]();for(var _0x332864=this[_0x282397(0x26a)]=_0x1d3b8f[_0x282397(0x226)](),_0x5a312d=this[_0x282397(0x279)]=_0x1d3b8f[_0x282397(0x226)](),_0x41cabc=_0x332864['words'],_0x1ec678=_0x5a312d['words'],_0x1952ee=0x0;_0x1952ee<_0xece919;_0x1952ee++)_0x41cabc[_0x1952ee]^=0x5c5c5c5c,_0x1ec678[_0x1952ee]^=0x36363636;_0x332864[_0x282397(0xce)]=_0x5a312d[_0x282397(0xce)]=_0x52c6bd,this[_0x282397(0x231)]();},'reset':function(){var _0x430637=_0xf44d05,_0x5a92f9=this[_0x430637(0x101)];_0x5a92f9[_0x430637(0x231)](),_0x5a92f9[_0x430637(0x1c1)](this['_iKey']);},'update':function(_0x2202db){var _0x1adc68=_0xf44d05;return this[_0x1adc68(0x101)]['update'](_0x2202db),this;},'finalize':function(_0x53dfef){var _0x196af4=_0xf44d05,_0x184969=this[_0x196af4(0x101)],_0xf8e10c=_0x184969[_0x196af4(0x370)](_0x53dfef);_0x184969[_0x196af4(0x231)]();var _0x516078=_0x184969['finalize'](this['_oKey'][_0x196af4(0x226)]()[_0x196af4(0x1fe)](_0xf8e10c));return _0x516078;}});}());}));}(Je)),Je[_0xffafb(0x32b)];}function _0xb35d(_0x417410,_0x4509a8){var _0x549826=_0x5498();return _0xb35d=function(_0xb35d8b,_0x23e652){_0xb35d8b=_0xb35d8b-0xbf;var _0x15d13b=_0x549826[_0xb35d8b];return _0x15d13b;},_0xb35d(_0x417410,_0x4509a8);}var Js=Ye[_0x23070f(0x32b)],si;function Ui(){var _0x2974c0=_0x23070f;return si||(si=0x1,function(_0x28a431,_0x2eef3a){(function(_0xa4a438,_0x2764df,_0x1932bd){_0x28a431['exports']=_0x2764df(ne(),zs(),qs());}(Js,function(_0x34a2d2){var _0x4c8c11=_0xb35d;return(function(){var _0x82efa3=_0xb35d,_0x19e311=_0x34a2d2,_0x3071e1=_0x19e311[_0x82efa3(0xde)],_0x2aa3ea=_0x3071e1[_0x82efa3(0x1a6)],_0x264b73=_0x3071e1['WordArray'],_0x36427c=_0x19e311[_0x82efa3(0x2e3)],_0x1256a6=_0x36427c[_0x82efa3(0x193)],_0x33e7db=_0x36427c[_0x82efa3(0x21b)]=_0x2aa3ea[_0x82efa3(0x20c)]({'cfg':_0x2aa3ea[_0x82efa3(0x20c)]({'keySize':0x80/0x20,'hasher':_0x1256a6,'iterations':0x1}),'init':function(_0x56ee65){var _0x309c8a=_0x82efa3;this['cfg']=this[_0x309c8a(0x1e5)][_0x309c8a(0x20c)](_0x56ee65);},'compute':function(_0x521e59,_0xec396f){var _0x1459ef=_0x82efa3;for(var _0x17977f,_0x5b4d21=this[_0x1459ef(0x1e5)],_0x44f8a8=_0x5b4d21[_0x1459ef(0x327)][_0x1459ef(0x357)](),_0xd69a02=_0x264b73[_0x1459ef(0x357)](),_0x3bdcf4=_0xd69a02[_0x1459ef(0x1b8)],_0x43f5fb=_0x5b4d21[_0x1459ef(0x204)],_0x5d2448=_0x5b4d21['iterations'];_0x3bdcf4['length']<_0x43f5fb;){_0x17977f&&_0x44f8a8['update'](_0x17977f),_0x17977f=_0x44f8a8[_0x1459ef(0x1c1)](_0x521e59)[_0x1459ef(0x370)](_0xec396f),_0x44f8a8['reset']();for(var _0x356149=0x1;_0x356149<_0x5d2448;_0x356149++)_0x17977f=_0x44f8a8[_0x1459ef(0x370)](_0x17977f),_0x44f8a8[_0x1459ef(0x231)]();_0xd69a02[_0x1459ef(0x1fe)](_0x17977f);}return _0xd69a02['sigBytes']=_0x43f5fb*0x4,_0xd69a02;}});_0x19e311[_0x82efa3(0x21b)]=function(_0x6b9269,_0x3e8a2d,_0x27e07a){var _0x39b38d=_0x82efa3;return _0x33e7db['create'](_0x27e07a)[_0x39b38d(0x317)](_0x6b9269,_0x3e8a2d);};}()),_0x34a2d2[_0x4c8c11(0x21b)];}));}(Ye)),Ye[_0x2974c0(0x32b)];}var Xe={'exports':{}},Xs=Xe[_0x23070f(0x32b)],ri;function Ai(){var _0x1b4f50=_0x23070f;return ri||(ri=0x1,function(_0x32b52d,_0x3b4aee){(function(_0x24fe7a,_0x617fdf,_0x238b0d){var _0xb6537c=_0xb35d;_0x32b52d[_0xb6537c(0x32b)]=_0x617fdf(ne(),Ui());}(Xs,function(_0x47f6e0){var _0xfc1165=_0xb35d;_0x47f6e0[_0xfc1165(0xde)][_0xfc1165(0x392)]||function(_0x33da02){var _0xefc09d=_0xfc1165,_0x5bba6d=_0x47f6e0,_0x1f4de3=_0x5bba6d[_0xefc09d(0xde)],_0x212ea6=_0x1f4de3[_0xefc09d(0x1a6)],_0x595095=_0x1f4de3['WordArray'],_0x1c741b=_0x1f4de3[_0xefc09d(0x26f)],_0x100e04=_0x5bba6d['enc'];_0x100e04[_0xefc09d(0x381)];var _0x1df1a3=_0x100e04[_0xefc09d(0x1fd)],_0x3a718c=_0x5bba6d[_0xefc09d(0x2e3)],_0x1c69e9=_0x3a718c[_0xefc09d(0x21b)],_0x59a05f=_0x1f4de3[_0xefc09d(0x392)]=_0x1c741b[_0xefc09d(0x20c)]({'cfg':_0x212ea6['extend'](),'createEncryptor':function(_0x2b58c3,_0x4333ef){var _0x385c7e=_0xefc09d;return this[_0x385c7e(0x357)](this['_ENC_XFORM_MODE'],_0x2b58c3,_0x4333ef);},'createDecryptor':function(_0x1f0052,_0x18047c){var _0x226e0f=_0xefc09d;return this[_0x226e0f(0x357)](this[_0x226e0f(0x1d4)],_0x1f0052,_0x18047c);},'init':function(_0x127014,_0x31955c,_0x58d98b){var _0x11e77a=_0xefc09d;this[_0x11e77a(0x1e5)]=this['cfg']['extend'](_0x58d98b),this[_0x11e77a(0x141)]=_0x127014,this[_0x11e77a(0xc3)]=_0x31955c,this['reset']();},'reset':function(){var _0x5a4813=_0xefc09d;_0x1c741b[_0x5a4813(0x231)][_0x5a4813(0x34a)](this),this[_0x5a4813(0x252)]();},'process':function(_0x39e3ea){var _0x4f22e8=_0xefc09d;return this[_0x4f22e8(0x19b)](_0x39e3ea),this[_0x4f22e8(0x385)]();},'finalize':function(_0x2093d7){var _0x3369e5=_0xefc09d;_0x2093d7&&this[_0x3369e5(0x19b)](_0x2093d7);var _0x513521=this[_0x3369e5(0x2b4)]();return _0x513521;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2b6606(_0x5a8197){return typeof _0x5a8197=='string'?_0x220741:_0x557c10;}return function(_0x418215){return{'encrypt':function(_0x20d5b4,_0x58b15d,_0x662b15){var _0x230615=_0xb35d;return _0x2b6606(_0x58b15d)[_0x230615(0x36d)](_0x418215,_0x20d5b4,_0x58b15d,_0x662b15);},'decrypt':function(_0x4cd671,_0x2e79b9,_0x3cf27e){return _0x2b6606(_0x2e79b9)['decrypt'](_0x418215,_0x4cd671,_0x2e79b9,_0x3cf27e);}};};}())});_0x1f4de3[_0xefc09d(0x32c)]=_0x59a05f[_0xefc09d(0x20c)]({'_doFinalize':function(){var _0x250c2b=_0xefc09d,_0x176a02=this[_0x250c2b(0x385)](!0x0);return _0x176a02;},'blockSize':0x1});var _0x48748d=_0x5bba6d['mode']={},_0x469b96=_0x1f4de3[_0xefc09d(0x2bc)]=_0x212ea6[_0xefc09d(0x20c)]({'createEncryptor':function(_0x118596,_0x1777fa){var _0x390ec3=_0xefc09d;return this[_0x390ec3(0x20a)][_0x390ec3(0x357)](_0x118596,_0x1777fa);},'createDecryptor':function(_0x73c2c3,_0x546965){var _0x444137=_0xefc09d;return this[_0x444137(0x1e9)][_0x444137(0x357)](_0x73c2c3,_0x546965);},'init':function(_0x4fbbf6,_0x369d5a){var _0xef01b8=_0xefc09d;this[_0xef01b8(0x109)]=_0x4fbbf6,this[_0xef01b8(0x2ef)]=_0x369d5a;}}),_0x31018b=_0x48748d[_0xefc09d(0x1f8)]=(function(){var _0x3c97d9=_0xefc09d,_0x52e0a0=_0x469b96['extend']();_0x52e0a0['Encryptor']=_0x52e0a0[_0x3c97d9(0x20c)]({'processBlock':function(_0x7596a8,_0x458c13){var _0x3c2e2a=_0x3c97d9,_0x272b1d=this[_0x3c2e2a(0x109)],_0x3adc24=_0x272b1d[_0x3c2e2a(0x135)];_0x487621[_0x3c2e2a(0x34a)](this,_0x7596a8,_0x458c13,_0x3adc24),_0x272b1d[_0x3c2e2a(0xc9)](_0x7596a8,_0x458c13),this[_0x3c2e2a(0x1c0)]=_0x7596a8[_0x3c2e2a(0xf0)](_0x458c13,_0x458c13+_0x3adc24);}}),_0x52e0a0['Decryptor']=_0x52e0a0[_0x3c97d9(0x20c)]({'processBlock':function(_0x36cf11,_0x2c3548){var _0x4789d7=_0x3c97d9,_0x4e61df=this[_0x4789d7(0x109)],_0x3d688f=_0x4e61df['blockSize'],_0x51e15b=_0x36cf11[_0x4789d7(0xf0)](_0x2c3548,_0x2c3548+_0x3d688f);_0x4e61df[_0x4789d7(0x22e)](_0x36cf11,_0x2c3548),_0x487621[_0x4789d7(0x34a)](this,_0x36cf11,_0x2c3548,_0x3d688f),this[_0x4789d7(0x1c0)]=_0x51e15b;}});function _0x487621(_0x1206e6,_0x127885,_0x166590){var _0xdef140=_0x3c97d9,_0xd7fe25,_0x315798=this[_0xdef140(0x2ef)];_0x315798?(_0xd7fe25=_0x315798,this[_0xdef140(0x2ef)]=_0x33da02):_0xd7fe25=this[_0xdef140(0x1c0)];for(var _0x4f78f7=0x0;_0x4f78f7<_0x166590;_0x4f78f7++)_0x1206e6[_0x127885+_0x4f78f7]^=_0xd7fe25[_0x4f78f7];}return _0x52e0a0;}()),_0xa2f1e5=_0x5bba6d['pad']={},_0xf50b37=_0xa2f1e5[_0xefc09d(0x336)]={'pad':function(_0x564fcd,_0xd060ba){var _0x6ef024=_0xefc09d;for(var _0x41d36c=_0xd060ba*0x4,_0x5183fa=_0x41d36c-_0x564fcd[_0x6ef024(0xce)]%_0x41d36c,_0x430113=_0x5183fa<<0x18|_0x5183fa<<0x10|_0x5183fa<<0x8|_0x5183fa,_0x5cbbab=[],_0x27fdff=0x0;_0x27fdff<_0x5183fa;_0x27fdff+=0x4)_0x5cbbab[_0x6ef024(0x391)](_0x430113);var _0x577a0a=_0x595095[_0x6ef024(0x357)](_0x5cbbab,_0x5183fa);_0x564fcd[_0x6ef024(0x1fe)](_0x577a0a);},'unpad':function(_0x2956fb){var _0x48c857=_0xefc09d,_0x295d75=_0x2956fb[_0x48c857(0x1b8)][_0x2956fb[_0x48c857(0xce)]-0x1>>>0x2]&0xff;_0x2956fb[_0x48c857(0xce)]-=_0x295d75;}};_0x1f4de3[_0xefc09d(0x137)]=_0x59a05f[_0xefc09d(0x20c)]({'cfg':_0x59a05f[_0xefc09d(0x1e5)][_0xefc09d(0x20c)]({'mode':_0x31018b,'padding':_0xf50b37}),'reset':function(){var _0xbefaa=_0xefc09d,_0x4d2906;_0x59a05f[_0xbefaa(0x231)]['call'](this);var _0x45a910=this[_0xbefaa(0x1e5)],_0x592151=_0x45a910['iv'],_0x882fb4=_0x45a910[_0xbefaa(0x149)];this[_0xbefaa(0x141)]==this[_0xbefaa(0x2ed)]?_0x4d2906=_0x882fb4[_0xbefaa(0x277)]:(_0x4d2906=_0x882fb4['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0xbefaa(0x166)][_0xbefaa(0x399)]==_0x4d2906?this[_0xbefaa(0x166)]['init'](this,_0x592151&&_0x592151[_0xbefaa(0x1b8)]):(this[_0xbefaa(0x166)]=_0x4d2906[_0xbefaa(0x34a)](_0x882fb4,this,_0x592151&&_0x592151[_0xbefaa(0x1b8)]),this[_0xbefaa(0x166)][_0xbefaa(0x399)]=_0x4d2906);},'_doProcessBlock':function(_0x37ed47,_0x2a5c2d){var _0x42ab8f=_0xefc09d;this[_0x42ab8f(0x166)][_0x42ab8f(0x33c)](_0x37ed47,_0x2a5c2d);},'_doFinalize':function(){var _0x4b64db=_0xefc09d,_0x49858c,_0x2d7492=this[_0x4b64db(0x1e5)][_0x4b64db(0x1ab)];return this[_0x4b64db(0x141)]==this['_ENC_XFORM_MODE']?(_0x2d7492[_0x4b64db(0x17c)](this[_0x4b64db(0x1e6)],this[_0x4b64db(0x135)]),_0x49858c=this['_process'](!0x0)):(_0x49858c=this[_0x4b64db(0x385)](!0x0),_0x2d7492[_0x4b64db(0x249)](_0x49858c)),_0x49858c;},'blockSize':0x80/0x20});var _0x3b5d2a=_0x1f4de3['CipherParams']=_0x212ea6['extend']({'init':function(_0x498e95){this['mixIn'](_0x498e95);},'toString':function(_0x431c11){var _0x407e3c=_0xefc09d;return(_0x431c11||this[_0x407e3c(0x146)])[_0x407e3c(0x35e)](this);}}),_0x5da233=_0x5bba6d[_0xefc09d(0x1b3)]={},_0x547e86=_0x5da233['OpenSSL']={'stringify':function(_0x19f598){var _0x1b399e=_0xefc09d,_0x2c4991,_0x5528ae=_0x19f598[_0x1b399e(0x24a)],_0x2fde94=_0x19f598['salt'];return _0x2fde94?_0x2c4991=_0x595095[_0x1b399e(0x357)]([0x53616c74,0x65645f5f])[_0x1b399e(0x1fe)](_0x2fde94)['concat'](_0x5528ae):_0x2c4991=_0x5528ae,_0x2c4991[_0x1b399e(0x32a)](_0x1df1a3);},'parse':function(_0x2bdeb0){var _0x236c0a=_0xefc09d,_0x1095e8,_0x2256c4=_0x1df1a3[_0x236c0a(0x17f)](_0x2bdeb0),_0x596240=_0x2256c4[_0x236c0a(0x1b8)];return _0x596240[0x0]==0x53616c74&&_0x596240[0x1]==0x65645f5f&&(_0x1095e8=_0x595095[_0x236c0a(0x357)](_0x596240[_0x236c0a(0xf0)](0x2,0x4)),_0x596240[_0x236c0a(0x2f2)](0x0,0x4),_0x2256c4[_0x236c0a(0xce)]-=0x10),_0x3b5d2a[_0x236c0a(0x357)]({'ciphertext':_0x2256c4,'salt':_0x1095e8});}},_0x557c10=_0x1f4de3[_0xefc09d(0x373)]=_0x212ea6[_0xefc09d(0x20c)]({'cfg':_0x212ea6[_0xefc09d(0x20c)]({'format':_0x547e86}),'encrypt':function(_0xe115f7,_0x54a515,_0x5d4cab,_0x2c1f2e){var _0x4da865=_0xefc09d;_0x2c1f2e=this['cfg']['extend'](_0x2c1f2e);var _0x485e92=_0xe115f7[_0x4da865(0x277)](_0x5d4cab,_0x2c1f2e),_0x802ba0=_0x485e92[_0x4da865(0x370)](_0x54a515),_0x32b793=_0x485e92['cfg'];return _0x3b5d2a[_0x4da865(0x357)]({'ciphertext':_0x802ba0,'key':_0x5d4cab,'iv':_0x32b793['iv'],'algorithm':_0xe115f7,'mode':_0x32b793['mode'],'padding':_0x32b793['padding'],'blockSize':_0xe115f7['blockSize'],'formatter':_0x2c1f2e[_0x4da865(0x1b3)]});},'decrypt':function(_0x242669,_0xb8c794,_0x365107,_0x1a974b){var _0x33b294=_0xefc09d;_0x1a974b=this[_0x33b294(0x1e5)]['extend'](_0x1a974b),_0xb8c794=this[_0x33b294(0x244)](_0xb8c794,_0x1a974b[_0x33b294(0x1b3)]);var _0x380d84=_0x242669[_0x33b294(0x287)](_0x365107,_0x1a974b)[_0x33b294(0x370)](_0xb8c794[_0x33b294(0x24a)]);return _0x380d84;},'_parse':function(_0x121d2e,_0xdcc487){var _0x5547ee=_0xefc09d;return typeof _0x121d2e==_0x5547ee(0x189)?_0xdcc487['parse'](_0x121d2e,this):_0x121d2e;}}),_0x565062=_0x5bba6d[_0xefc09d(0x18e)]={},_0x4c0033=_0x565062[_0xefc09d(0x396)]={'execute':function(_0x4d9076,_0x30942c,_0xda8345,_0x5ce89f,_0x2f84a1){var _0x51a249=_0xefc09d;if(_0x5ce89f||(_0x5ce89f=_0x595095['random'](0x40/0x8)),_0x2f84a1)var _0x51256a=_0x1c69e9[_0x51a249(0x357)]({'keySize':_0x30942c+_0xda8345,'hasher':_0x2f84a1})[_0x51a249(0x317)](_0x4d9076,_0x5ce89f);else var _0x51256a=_0x1c69e9[_0x51a249(0x357)]({'keySize':_0x30942c+_0xda8345})[_0x51a249(0x317)](_0x4d9076,_0x5ce89f);var _0x4664f7=_0x595095['create'](_0x51256a['words'][_0x51a249(0xf0)](_0x30942c),_0xda8345*0x4);return _0x51256a[_0x51a249(0xce)]=_0x30942c*0x4,_0x3b5d2a[_0x51a249(0x357)]({'key':_0x51256a,'iv':_0x4664f7,'salt':_0x5ce89f});}},_0x220741=_0x1f4de3[_0xefc09d(0x205)]=_0x557c10[_0xefc09d(0x20c)]({'cfg':_0x557c10[_0xefc09d(0x1e5)][_0xefc09d(0x20c)]({'kdf':_0x4c0033}),'encrypt':function(_0x1044c2,_0x593276,_0x2ae7dd,_0x4ac38d){var _0x35bb96=_0xefc09d;_0x4ac38d=this[_0x35bb96(0x1e5)][_0x35bb96(0x20c)](_0x4ac38d);var _0x21b6d5=_0x4ac38d[_0x35bb96(0x18e)][_0x35bb96(0x369)](_0x2ae7dd,_0x1044c2[_0x35bb96(0x204)],_0x1044c2[_0x35bb96(0x16a)],_0x4ac38d['salt'],_0x4ac38d[_0x35bb96(0x327)]);_0x4ac38d['iv']=_0x21b6d5['iv'];var _0x54d71c=_0x557c10[_0x35bb96(0x36d)][_0x35bb96(0x34a)](this,_0x1044c2,_0x593276,_0x21b6d5[_0x35bb96(0x2ff)],_0x4ac38d);return _0x54d71c['mixIn'](_0x21b6d5),_0x54d71c;},'decrypt':function(_0x4275b9,_0x5eb8f0,_0x3e44d3,_0x3b91f2){var _0x384a5b=_0xefc09d;_0x3b91f2=this[_0x384a5b(0x1e5)]['extend'](_0x3b91f2),_0x5eb8f0=this[_0x384a5b(0x244)](_0x5eb8f0,_0x3b91f2[_0x384a5b(0x1b3)]);var _0x44eac2=_0x3b91f2['kdf']['execute'](_0x3e44d3,_0x4275b9['keySize'],_0x4275b9[_0x384a5b(0x16a)],_0x5eb8f0[_0x384a5b(0x3bf)],_0x3b91f2[_0x384a5b(0x327)]);_0x3b91f2['iv']=_0x44eac2['iv'];var _0x3d3f1f=_0x557c10[_0x384a5b(0x2a0)][_0x384a5b(0x34a)](this,_0x4275b9,_0x5eb8f0,_0x44eac2[_0x384a5b(0x2ff)],_0x3b91f2);return _0x3d3f1f;}});}();}));}(Xe)),Xe[_0x1b4f50(0x32b)];}var Zs=We[_0x23070f(0x32b)],oi;function Qs(){return oi||(oi=0x1,function(_0x4da758,_0x4b57b6){(function(_0x3244bf,_0x5e158a,_0x533795){_0x4da758['exports']=_0x5e158a(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x1bf512){var _0x36f8f1=_0xb35d;return(function(){var _0xb2b201=_0xb35d,_0x12dc8d=_0x1bf512,_0x50697b=_0x12dc8d[_0xb2b201(0xde)],_0x375b4c=_0x50697b['BlockCipher'],_0x1bd9a4=_0x12dc8d[_0xb2b201(0x2e3)],_0x2c5e31=[],_0x5f3e8d=[],_0x4930b5=[],_0x47d591=[],_0x505ecb=[],_0x36b6a5=[],_0x2c667b=[],_0x45f574=[],_0x197c97=[],_0x484743=[];(function(){for(var _0x2ea9a2=[],_0x2dc95f=0x0;_0x2dc95f<0x100;_0x2dc95f++)_0x2dc95f<0x80?_0x2ea9a2[_0x2dc95f]=_0x2dc95f<<0x1:_0x2ea9a2[_0x2dc95f]=_0x2dc95f<<0x1^0x11b;for(var _0xcccbe3=0x0,_0x2b2a3f=0x0,_0x2dc95f=0x0;_0x2dc95f<0x100;_0x2dc95f++){var _0x306704=_0x2b2a3f^_0x2b2a3f<<0x1^_0x2b2a3f<<0x2^_0x2b2a3f<<0x3^_0x2b2a3f<<0x4;_0x306704=_0x306704>>>0x8^_0x306704&0xff^0x63,_0x2c5e31[_0xcccbe3]=_0x306704,_0x5f3e8d[_0x306704]=_0xcccbe3;var _0x5ce0cd=_0x2ea9a2[_0xcccbe3],_0x25cc9f=_0x2ea9a2[_0x5ce0cd],_0x55cd7e=_0x2ea9a2[_0x25cc9f],_0x4eb536=_0x2ea9a2[_0x306704]*0x101^_0x306704*0x1010100;_0x4930b5[_0xcccbe3]=_0x4eb536<<0x18|_0x4eb536>>>0x8,_0x47d591[_0xcccbe3]=_0x4eb536<<0x10|_0x4eb536>>>0x10,_0x505ecb[_0xcccbe3]=_0x4eb536<<0x8|_0x4eb536>>>0x18,_0x36b6a5[_0xcccbe3]=_0x4eb536;var _0x4eb536=_0x55cd7e*0x1010101^_0x25cc9f*0x10001^_0x5ce0cd*0x101^_0xcccbe3*0x1010100;_0x2c667b[_0x306704]=_0x4eb536<<0x18|_0x4eb536>>>0x8,_0x45f574[_0x306704]=_0x4eb536<<0x10|_0x4eb536>>>0x10,_0x197c97[_0x306704]=_0x4eb536<<0x8|_0x4eb536>>>0x18,_0x484743[_0x306704]=_0x4eb536,_0xcccbe3?(_0xcccbe3=_0x5ce0cd^_0x2ea9a2[_0x2ea9a2[_0x2ea9a2[_0x55cd7e^_0x5ce0cd]]],_0x2b2a3f^=_0x2ea9a2[_0x2ea9a2[_0x2b2a3f]]):_0xcccbe3=_0x2b2a3f=0x1;}}());var _0x2245a8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x584bf9=_0x1bd9a4[_0xb2b201(0x272)]=_0x375b4c[_0xb2b201(0x20c)]({'_doReset':function(){var _0x2cd6d7=_0xb2b201,_0x1d3e64;if(!(this['_nRounds']&&this[_0x2cd6d7(0x25f)]===this['_key'])){for(var _0x133e36=this[_0x2cd6d7(0x25f)]=this['_key'],_0x79de9b=_0x133e36[_0x2cd6d7(0x1b8)],_0x3b07ab=_0x133e36[_0x2cd6d7(0xce)]/0x4,_0x33df43=this[_0x2cd6d7(0x1e4)]=_0x3b07ab+0x6,_0xbac0e2=(_0x33df43+0x1)*0x4,_0x559461=this[_0x2cd6d7(0x22f)]=[],_0x4cb666=0x0;_0x4cb666<_0xbac0e2;_0x4cb666++)_0x4cb666<_0x3b07ab?_0x559461[_0x4cb666]=_0x79de9b[_0x4cb666]:(_0x1d3e64=_0x559461[_0x4cb666-0x1],_0x4cb666%_0x3b07ab?_0x3b07ab>0x6&&_0x4cb666%_0x3b07ab==0x4&&(_0x1d3e64=_0x2c5e31[_0x1d3e64>>>0x18]<<0x18|_0x2c5e31[_0x1d3e64>>>0x10&0xff]<<0x10|_0x2c5e31[_0x1d3e64>>>0x8&0xff]<<0x8|_0x2c5e31[_0x1d3e64&0xff]):(_0x1d3e64=_0x1d3e64<<0x8|_0x1d3e64>>>0x18,_0x1d3e64=_0x2c5e31[_0x1d3e64>>>0x18]<<0x18|_0x2c5e31[_0x1d3e64>>>0x10&0xff]<<0x10|_0x2c5e31[_0x1d3e64>>>0x8&0xff]<<0x8|_0x2c5e31[_0x1d3e64&0xff],_0x1d3e64^=_0x2245a8[_0x4cb666/_0x3b07ab|0x0]<<0x18),_0x559461[_0x4cb666]=_0x559461[_0x4cb666-_0x3b07ab]^_0x1d3e64);for(var _0x428f55=this[_0x2cd6d7(0x3ab)]=[],_0x3b22fb=0x0;_0x3b22fb<_0xbac0e2;_0x3b22fb++){var _0x4cb666=_0xbac0e2-_0x3b22fb;if(_0x3b22fb%0x4)var _0x1d3e64=_0x559461[_0x4cb666];else var _0x1d3e64=_0x559461[_0x4cb666-0x4];_0x3b22fb<0x4||_0x4cb666<=0x4?_0x428f55[_0x3b22fb]=_0x1d3e64:_0x428f55[_0x3b22fb]=_0x2c667b[_0x2c5e31[_0x1d3e64>>>0x18]]^_0x45f574[_0x2c5e31[_0x1d3e64>>>0x10&0xff]]^_0x197c97[_0x2c5e31[_0x1d3e64>>>0x8&0xff]]^_0x484743[_0x2c5e31[_0x1d3e64&0xff]];}}},'encryptBlock':function(_0xe71ae,_0x8eef52){var _0x1ce5dc=_0xb2b201;this['_doCryptBlock'](_0xe71ae,_0x8eef52,this[_0x1ce5dc(0x22f)],_0x4930b5,_0x47d591,_0x505ecb,_0x36b6a5,_0x2c5e31);},'decryptBlock':function(_0x55379b,_0x59f6eb){var _0x26b5c6=_0xb2b201,_0x545f51=_0x55379b[_0x59f6eb+0x1];_0x55379b[_0x59f6eb+0x1]=_0x55379b[_0x59f6eb+0x3],_0x55379b[_0x59f6eb+0x3]=_0x545f51,this['_doCryptBlock'](_0x55379b,_0x59f6eb,this[_0x26b5c6(0x3ab)],_0x2c667b,_0x45f574,_0x197c97,_0x484743,_0x5f3e8d);var _0x545f51=_0x55379b[_0x59f6eb+0x1];_0x55379b[_0x59f6eb+0x1]=_0x55379b[_0x59f6eb+0x3],_0x55379b[_0x59f6eb+0x3]=_0x545f51;},'_doCryptBlock':function(_0x1fba7b,_0x25b78f,_0x8fc05c,_0x527c54,_0x472b1b,_0x328de4,_0x17346f,_0x12da25){var _0x4ffcf5=_0xb2b201;for(var _0x3a1162=this[_0x4ffcf5(0x1e4)],_0x17141d=_0x1fba7b[_0x25b78f]^_0x8fc05c[0x0],_0x45751b=_0x1fba7b[_0x25b78f+0x1]^_0x8fc05c[0x1],_0x5b4476=_0x1fba7b[_0x25b78f+0x2]^_0x8fc05c[0x2],_0x247a03=_0x1fba7b[_0x25b78f+0x3]^_0x8fc05c[0x3],_0x285055=0x4,_0xf32474=0x1;_0xf32474<_0x3a1162;_0xf32474++){var _0x5f0289=_0x527c54[_0x17141d>>>0x18]^_0x472b1b[_0x45751b>>>0x10&0xff]^_0x328de4[_0x5b4476>>>0x8&0xff]^_0x17346f[_0x247a03&0xff]^_0x8fc05c[_0x285055++],_0x9e4674=_0x527c54[_0x45751b>>>0x18]^_0x472b1b[_0x5b4476>>>0x10&0xff]^_0x328de4[_0x247a03>>>0x8&0xff]^_0x17346f[_0x17141d&0xff]^_0x8fc05c[_0x285055++],_0x55c779=_0x527c54[_0x5b4476>>>0x18]^_0x472b1b[_0x247a03>>>0x10&0xff]^_0x328de4[_0x17141d>>>0x8&0xff]^_0x17346f[_0x45751b&0xff]^_0x8fc05c[_0x285055++],_0x137a54=_0x527c54[_0x247a03>>>0x18]^_0x472b1b[_0x17141d>>>0x10&0xff]^_0x328de4[_0x45751b>>>0x8&0xff]^_0x17346f[_0x5b4476&0xff]^_0x8fc05c[_0x285055++];_0x17141d=_0x5f0289,_0x45751b=_0x9e4674,_0x5b4476=_0x55c779,_0x247a03=_0x137a54;}var _0x5f0289=(_0x12da25[_0x17141d>>>0x18]<<0x18|_0x12da25[_0x45751b>>>0x10&0xff]<<0x10|_0x12da25[_0x5b4476>>>0x8&0xff]<<0x8|_0x12da25[_0x247a03&0xff])^_0x8fc05c[_0x285055++],_0x9e4674=(_0x12da25[_0x45751b>>>0x18]<<0x18|_0x12da25[_0x5b4476>>>0x10&0xff]<<0x10|_0x12da25[_0x247a03>>>0x8&0xff]<<0x8|_0x12da25[_0x17141d&0xff])^_0x8fc05c[_0x285055++],_0x55c779=(_0x12da25[_0x5b4476>>>0x18]<<0x18|_0x12da25[_0x247a03>>>0x10&0xff]<<0x10|_0x12da25[_0x17141d>>>0x8&0xff]<<0x8|_0x12da25[_0x45751b&0xff])^_0x8fc05c[_0x285055++],_0x137a54=(_0x12da25[_0x247a03>>>0x18]<<0x18|_0x12da25[_0x17141d>>>0x10&0xff]<<0x10|_0x12da25[_0x45751b>>>0x8&0xff]<<0x8|_0x12da25[_0x5b4476&0xff])^_0x8fc05c[_0x285055++];_0x1fba7b[_0x25b78f]=_0x5f0289,_0x1fba7b[_0x25b78f+0x1]=_0x9e4674,_0x1fba7b[_0x25b78f+0x2]=_0x55c779,_0x1fba7b[_0x25b78f+0x3]=_0x137a54;},'keySize':0x100/0x20});_0x12dc8d[_0xb2b201(0x272)]=_0x375b4c[_0xb2b201(0x269)](_0x584bf9);}()),_0x1bf512[_0x36f8f1(0x272)];}));}(We)),We['exports'];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x23070f(0x32b)],ci;function sr(){var _0xf281c1=_0x23070f;return ci||(ci=0x1,function(_0x546df6,_0x3d71a8){(function(_0x3ea318,_0x20adf6){var _0x394e46=_0xb35d;_0x546df6[_0x394e46(0x32b)]=_0x20adf6(ne());}(nr,function(_0x4c6ddd){var _0x46ae0b=_0xb35d;return _0x4c6ddd[_0x46ae0b(0x16e)]['Utf8'];}));}(Ze)),Ze[_0xf281c1(0x32b)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x23070f(0x32b)],hi;function cr(){var _0x25ebdb=_0x23070f;return hi||(hi=0x1,function(_0xaeb5c8,_0x5b99a2){(function(_0x1e6d25,_0x47f4fb){_0xaeb5c8['exports']=_0x47f4fb(ne());}(ar,function(_0x185340){var _0x38e07e=_0xb35d;return(function(){var _0xef5117=_0xb35d;if(typeof ArrayBuffer==_0xef5117(0x187)){var _0xa50f8e=_0x185340,_0x22f5ed=_0xa50f8e[_0xef5117(0xde)],_0x38f37d=_0x22f5ed[_0xef5117(0x2d5)],_0x115d1d=_0x38f37d[_0xef5117(0x397)],_0x559853=_0x38f37d[_0xef5117(0x397)]=function(_0x445623){var _0x31e3f2=_0xef5117;if(_0x445623 instanceof ArrayBuffer&&(_0x445623=new Uint8Array(_0x445623)),(_0x445623 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x445623 instanceof Uint8ClampedArray||_0x445623 instanceof Int16Array||_0x445623 instanceof Uint16Array||_0x445623 instanceof Int32Array||_0x445623 instanceof Uint32Array||_0x445623 instanceof Float32Array||_0x445623 instanceof Float64Array)&&(_0x445623=new Uint8Array(_0x445623[_0x31e3f2(0x294)],_0x445623[_0x31e3f2(0xf4)],_0x445623[_0x31e3f2(0x186)])),_0x445623 instanceof Uint8Array){for(var _0x45df1e=_0x445623[_0x31e3f2(0x186)],_0x5c3af5=[],_0x3b9aae=0x0;_0x3b9aae<_0x45df1e;_0x3b9aae++)_0x5c3af5[_0x3b9aae>>>0x2]|=_0x445623[_0x3b9aae]<<0x18-_0x3b9aae%0x4*0x8;_0x115d1d[_0x31e3f2(0x34a)](this,_0x5c3af5,_0x45df1e);}else _0x115d1d[_0x31e3f2(0x106)](this,arguments);};_0x559853[_0xef5117(0x181)]=_0x38f37d;}}()),_0x185340[_0x38e07e(0xde)][_0x38e07e(0x2d5)];}));}(Qe)),Qe[_0x25ebdb(0x32b)];}var hr=cr();const _r=je(hr);function _0x5498(){var _0x568e0d=['awaiting_with_pending','eventID','subject','/-/object/-/batch_allowed','decryptBlock','_keySchedule','SOCKET_FAILED','reset','onSyncEditingCollabCursor','generateRandomId','reqId','_queuedRemoteChangesets','mutations','/collaborator','5743388RfnJKt','_unitInfo$','has','HmacSHA1','unsubscribe','Univer','_initRequestHeader','createSocket','CHANGESET_REVISION_CONFILICT','HEARTBEAT','fetching\x20missing\x20changesets\x20from\x20','rev','_parse','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','transformMutationsWithChangeset','_socket','fetchMiss','unpad','ciphertext','requireSession','HmacMD5','_onUserJoin','requestParams','_transformRemoteChangesetByStateCache','_retryCount','error','_doReset','save\x20fail\x20reason\x20is\x20','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_imageSourceCache','getRoom','_onRecvEvent','__Key__','patch','SNAPSHOT_SERVER_URL_KEY','UNIVER_SHEET','_getCtorByUniverType','_initDependencies','UPDATE_PERMISSION_OBJ','_keyPriorReset','location','_transformService','_syncEditingCollabCursor','_tryReconnect','_throwTelemetryCollaborationNewChangeset','JOINING','/universer-api/authz','_change$','Hasher','_createHelper','_oKey','_sendingTimer','1161838oFjIkQ','clear','JOIN_ROOM_PERMISSION_DENIED','BufferedBlockAlgorithm','loadOfflineData','_transitionLocked','AES','batchAllowed','liveShareOperation','_initMergeInterceptor','getSheetId','createEncryptor','\x0aAfter:\x20','_iKey','session','CHANGESET_SHOULD_RETRY','[CollaborationState]:\x20apply\x20error!','LIVESHARE_REQUEST_HOST','[OfflineState]:\x20received\x20acknowledgement.','1625872HpUeth','fetchThroughInterceptors','YUUMI_URL_COL_OUT_OF_RANGE','CONFLICT','ONLINE','[PendingState]:\x20received\x20rejection.','send','c1Prime','createDecryptor','MUTATION','clearUndoRedo','_transformSelections','_revisionService','_type','univer-pro.collaboration-client.single-active-unit-service','toggleOffline','listRoles','collaboratorID','onCommandExecuted','_scheduleTimestamp','compose','buffer','_telemetryService','collaborators','_collabSessionService','SYNCED','?url=','INTERNAL_ERROR','withCredentials','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','JOIN_ROOM_NOT_EXISTS','subscribe','decrypt','revision','rng','_isPermissionRej','roles','origin','_getSessionTicket','transformUndoRedo','People','updatePermissionPoint','onTransformRemoteChangesetByStateCache','allowed','complete','now','fetch_missing','_init','_onFetchMissResult','cmd','/allowed','submit\x20changeset\x20error!','_doFinalize','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_localeService','originalMeta','JOIN_ROOM_FAILED','duration','[DataLoaderService]','crypto','BlockCipherMode','1rbwskf','symbol','wsSessionTicketUrl','_getAPIPrefix','LIVESHARE_FETCH_OPERATIONS','setShowComponents','UUID','createCollaborator','members','onTransformRemoteChangesetByIMECache','getSnapshotAPIPath','snapshot','COMMENT_UPDATE','getCurrentRevOfUnit','encode','sessionStatus','hasOwnProperty','\x0aCurrent:\x20','_timeoutTimer','runId','&to=','baseRev','then','includes','WordArray','INVALID_ARGUMENT','executeCommand','unitId','[CollaborationSessionService]','socketService','clamp','/universer-api/comb','image/gif','conflict','Latin1','auth.needGotoLoginAlert','range','online$','algo','_resendTimeout','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/-/object/list','CONNECTOR_DATA_TOO_LARGE','SUBMIT_CHANGESET_TIMEOUT','JOIN','_onUserLeave','_logService','/role','_ENC_XFORM_MODE','ERROR_IMAGE_TYPE','_iv','_eventService','_startTelemetryCollaborationNewChangeset','splice','setWaitCount','LIVESHARE_NEW_HOST','USERS_ENTER','actions','_memberService','default','getUnit','editing\x20status\x20changed\x20to','_snapshotService','ticket','_entityInit$','isPermissionRej','key','_minBufferSize','_collaborationPaused','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_roomMembers','error$','onStarting','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SHOULD_CLOSE_CONN','_instanceService','getRandomValues','CLOSE_ROOM','_onConnectionFailed','/universer-api/user/session-ticket','LICENSE_MAX_UNITS_EXCEEDED','_entities','transformSelections','RECV','_sender','UnitSnapshot','&assign=','event$','FAIL','$super','compute','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','APPLY_REJECT','memberID','random','/universer-api/snapshot/','synced','abs','_getAPIPrefixPath','_state$','putCollaborators','TOO_MANY_REQUESTS','EXCHANGE_SIGN_URL_SERVER_URL_KEY','liveShareNewHost','getCurrentUser','override','hasher','[CollaborationUndoRedoService]','commentUpdateEvent','toString','exports','StreamCipher','UNIVER_UNKNOWN','deepClone','href','refreshPermission','_loadDoc','PSEUDO_FETCH_MISSING_RESULT','collaboration-client.config','_stopTelemetryCollaborationNewChangeset','collabSubmitChangesetUrl','Pkcs7','_incrementRevisionNumber','pipe','registerHTTPInterceptor','_hash','JOIN_ROOM_FULL','processBlock','MSG_FOR_ERROR','YUUMI_UNABLE_LOAD_URL','_initUnitPermissionChange','UPDATE_CURSOR','saveImage','delete','retryConnectingInterval','onRemoteRej','/object/','uniscriptRunEvent','session.room-cnt-exceeds','session.room-permission-denied','SNAPSHOT_INVALID_SNAPSHOT','call','state','next','_unitID','{fileID}','_transformRemoteChangesetByIMECache','authzUrl','_remoteChangesetQueue','file','_getUploadFileURL','_getCurrentRevision','/universer-api/stream/file/upload','[CollaborationSession]','create','add','_submitChangeset','floor','objectActions','RETRY_CONNECTING_MAX_COUNT','roomInfos','stringify','_resendWithTimeout','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onMissingChangesets','changesets','asObservable','pluginName','getUnitType','failed\x20to\x20apply\x20missed\x20changesets!','_members','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','execute','_compressMutationService','focused$','univer-pro.collaboration-client-socket-service','encrypt','unknown','33AqjKLf','finalize','_listenToNetworkCondition','repeat','SerializableCipher','dispose$','ERROR_EXCEED_SIZE','onTransformSelections','onSendChangeset','onLocalMutation','resolve','json','sessionStatus$','Hex','_doProcessBlock','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','newCsEvent','SOCKET_FAILED_RETRY','Utf8','_commandService','_singleActiveUnitService','ceil','_process','onTransformState','disableLocalCache','randomBytes','_commentUpdate$','updateCollaborator','_exhaustRemoteChangesetQueue','_createInitialStateImpl','8NJJdbT','Workbook','_clearLocalCache','UNIVER_PROJECT','push','Cipher','[CollaborationEntity]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','/universer-api/oidc/authpage','OpenSSL','init','_toggleOnline','__creator','name','socket\x20close','_onOffline','mixIn','LICENSE_DISTRO_REJECTED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','set','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_toggleOffline','_waitForHeartbeatResponse','_onConnectionOpen','_tryEnsureSocket','_status$','joinEvent','get','getMemberID','selections','_invKeySchedule','open$','unitID','put','getWorkbookSelections','_http','COMPLETION_FINISHED','_loadSheet','LIVESHARE_OPERATION','equals','_registerDependencies','c2Prime','awaiting','getValue','sid','OTHER_CLIENT_EDITING','updateCursorEvent','awaitingChangeset','deleteCollaborator','_onJoinRoomEvent','salt','SEND_CHANGESET_TIMEOUT','UNAUTHENTICATED','NO_OTHER_CLIENTS_EDITING','_replaceFileID','_transformIMECache','_replayCachedMutations','find','close','permissionRejEvent','shouldCloseConn','pending','_key','FETCH_MISSING','objectID','OFFLINE','createInstance','subType','encryptBlock','startsWith','forEach','socket\x20open.','disposeWithMe','sigBytes','FileId','/universer-api/file/{fileID}/sign-url','_getRedoStack','_createInitialState','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','textRanges','_getSignURL','10389530TVZplt','_startCollaboration','_redoStacks','getImage','[OfflineState]:\x20received\x20changeset.','_executeRemoteChangeset','interceptor','YUUMI_RATE_OVER_LIMIT','lib','fetchMissingChangesets','_rescheduleHeartbeat','POST','_getLoginPath','application/json','getTargetByPermissionId','_commentService','_pendingMutations','Malformed\x20UTF-8\x20data','_shouldReportTelemetry','_updateLocalCache','5269521XwTGrq','onRemoteRetry','/rev/','code','BASE64','UNDEFINED','slice','dispose','_updateState','headers','byteOffset','max','ruleRefresh','IDLE','state$','_configService','status$','DEFAULT_FILE_NAME','socket$','ws://127.0.0.1:8000/universer-api/comb/connect','sendChangesetTimeout','AWAITING_WITH_PENDING','_clearScheduledTask','_hasher','snapshotServerUrl','charAt','getFocusedUnit','type','apply','onCommentUpdate','removeMember','_cipher','objectType','_checkMissing','_changesetSessionId','readAsDataURL','onload','UNRECOGNIZED','getInterceptPoints','x-univer-host','getUnitId','leaveEvent','stopTime','SNAPSHOT_HAS_BEEN_REMOVED','_lockTransition','UnitEmbedded','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','signUrlServerUrl','status','_onLocalMutation','_sessions','setConfig','UNKNOWN_CMD','getOwnPropertyDescriptor','post','_handlerCallback','_networkConditionService','result','_transformStack','_substituteUndoStack','sheets','APPLY_PERMISSION_DENIED','UNKNOWN_CODE','_telemetryInfo','onTransformIME','join','_createHmacHelper','close$','toLowerCase','_socketReady','_socketMessageSubscription','editingUnit','_retryConnectingTimer','_reverseMap','value','blockSize','entityInit$','BlockCipher','/unit/','APPLY_REVISION_CONFILICT','getUnitStatus$','_onRemoteRetry','_sendHeartbeat','src','Undefined','CHANGESET_ACK','PERMISSION_DENIED','_xformMode','[PendingState]:\x20unhandled\x20univer\x20type:\x20','NoPadding','_onMessage','_clearHeartbeatTimer','formatter','connection\x20error','collaMsg','mode','csShouldRetryEvent','setCurrentUser','catch','_univerInstanceService','action','session.join-failed','CHANGESET_REJ','change$','_getUndoStack','[UniverCollaborationClientPlugin]','enableAuthServer','bind','fromCharCode','_nDataBytes','closeSession','getDeserializedSheetBlock','_userManagerService','\x20in\x20_schedule.','_state','COMPRESS_MUTATION_APPLY','list','_config','_onConflict','updateOfflineData','reduce','COMPRESS_MUTATION_SEND','_sessionStatus$','_permissionService','_mode','message$','uploadFileServerUrl','HttpExport','ivSize','reconnect','[OfflineState]:\x20received\x20rejection.','[CollaborationSessionService]:\x20socket\x20error','enc','UNISCRIPT_RUN','LICENSE_EXPORT_SIZE_EXCEEDED','params','univer-pro.collaboration-client.network-condition.service','replace','_createSocketURL','/universer-api/snapshot','collaboration-client.local-cache-service','_getDownloadEndpointURL','getMember','_onRemoteRejected','_map','_sheetTransformSelectionsService','pad','listCollaborators','url','parse','[FetchMissState]','prototype','loadUnit','infoRsp','Error\x20on\x20receiving\x20event','userID','byteLength','function','localCacheService','string','_handler','body','onRemoteChangeset','_clearCollaborationTimeoutTimer','kdf','updatePermissionObjEvent','emitEvent','_schedule','_clearRedo','MD5','getTypeOfUnitAdded$','pauseCollaboration','getActiveSheet','getAllMembers','onMissedChangesetFetched','_httpService','transformStack\x20failed!','_append','startTime','saveChangeset','_waitCount','encodeURIComponent','fromCollab','_localCacheService','_fetchMissChangesets','[PendingState]:\x20received\x20acknowledgement.','indexOf','GLOBAL_ROOMS_CNT_EXCEEDS','Base','SHA1','LIVESHARE_TERMINATE','getCurrentUnitForType','_collaborationTimeoutTimer','padding','_changesetReqId','commentUpdate$','74940TzNpcO','resend','_removeRoom','defineProperty','_event$','format','data','onStateChange','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','INGEST','words','_scheduleCollaborationTimeoutTimer','AUTHZ_URL_KEY','transformChangesets','USERS_LEAVE','appendMutation','_onCombEvent','saveSnapshot','_prevBlock','update','LICENSE_IMPORT_SIZE_EXCEEDED','enableSingleActiveInstanceLock','YUUMI_SUBSCRIPTION_NOT_FOUND','_disableEditing','entries','_transformUndoredo','getTime','_sendHeartbeatTimer','_getSendChangesetTimeout','_injector','_authzIoService','_updateStatus','every','session.room-full','UNIVER_DOC','OTHER_CLIENTS_EDITING','onRemoteAck','searchParams','_DEC_XFORM_MODE','_undoRedoService','sin','session.room-not-exists','m2Prime','unitId\x20is\x20not\x20found','map','_resendTimer','11260359GCgAmv','PENDING','joinRsp','_onRemoteACK','csAckEvent','NEW_CHANGESETS','LEAVE','LOGIN_URL_KEY','_nRounds','cfg','_data','PERSON','_awaitingChangeset','Decryptor','downloadEndpointUrl','saveSheetBlock','SUBMIT_CHANGESET','isArray','COLLAB_WEB_SOCKET_URL','reject','offline','charCodeAt','_createHandler','getTypeOfUnitDisposed$','routeKey','size','/block/','/fetchmissing?from=','CBC','_collaborationUIEventService','_onRemoteChangeset','randomUUID','PERMISSION_REJ','Base64','concat','_decreaseWaiting','ERROR_IMAGE','sessionTicket','from','_collaborationSessionService','keySize','PasswordBasedCipher','target','getCurrentSelections','localeService','getPermissionPoint','Encryptor','image/png','extend','365RoVtLg','_candidateSocket','_unlockTransition','_substituteRedoStack','NOT_FOUND','_socket$','[SyncedState]:\x20received\x20rejection.','UNIVER_SLIDE','_HTTPService','updateMember','HELLO','UNIVER_COLLABORATION_CLIENT_PLUGIN','_applyRemoteChangeset','APPLY_DUPLICATED','EvpKDF','getSheetBlock','\x20to\x20','getConfig','loadSheet','initWorkbookPermissionChange','_clearTimeoutTimer','length','loginUrlKey','debug','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','clone','toggleOnline','Worksheet','Could\x20not\x20dynamically\x20require\x20\x22'];_0x5498=function(){return _0x568e0d;};return _0x5498();}var et={'exports':{}},lr=et[_0x23070f(0x32b)],_i;function ur(){var _0x5d69c5=_0x23070f;return _i||(_i=0x1,function(_0x519a0d,_0x5e895c){(function(_0x4ca513,_0x43a4ac,_0x32b54d){_0x519a0d['exports']=_0x43a4ac(ne(),Ai());}(lr,function(_0x592fad){var _0x5d4dd7=_0xb35d;return _0x592fad[_0x5d4dd7(0x17c)][_0x5d4dd7(0x143)]={'pad':function(){},'unpad':function(){}},_0x592fad[_0x5d4dd7(0x17c)]['NoPadding'];}));}(et)),et[_0x5d69c5(0x32b)];}var dr=ur();const fr=je(dr);function vr(_0x30bd01,_0x361054){var _0x40fa83=_0x23070f;const _0x476baa=_0x361054-_0x30bd01[_0x40fa83(0x222)]%_0x361054,_0x341263=String[_0x40fa83(0x156)](_0x476baa)[_0x40fa83(0x372)](_0x476baa);return _0x30bd01+_0x341263;}function pr(_0x590ccd,_0x4dd1d6){var _0x2b8a2c=_0x23070f;const _0x483dd8=_r[_0x2b8a2c(0x31b)](0x10),_0x46af21=vr(_0x590ccd,0x10),_0x2d8010=tr[_0x2b8a2c(0x36d)](or[_0x2b8a2c(0x17f)](_0x46af21),ai['parse'](_0x4dd1d6),{'iv':_0x483dd8,'padding':fr});return _0x483dd8['concat'](_0x2d8010[_0x2b8a2c(0x24a)])[_0x2b8a2c(0x32a)](ai);}function mr(){var _0x4d2dab=_0x23070f;const _0x4e6e78=_0x11d0f6()[_0x4d2dab(0x258)];if(_0x4e6e78){const _0x34b5e7={'time':Math[_0x4d2dab(0x35a)](Date[_0x4d2dab(0x2ad)]()/0x3e8),'domain':location['hostname']};return pr(JSON[_0x4d2dab(0x35e)](_0x34b5e7),_0x4e6e78);}}var gr=Object['defineProperty'],Sr=Object[_0x23070f(0x11f)],Er=(_0x5e8927,_0x46b578,_0xbbc712,_0x104158)=>{for(var _0x1a321e=_0x104158>0x1?void 0x0:_0x104158?Sr(_0x46b578,_0xbbc712):_0x46b578,_0x548df9=_0x5e8927['length']-0x1,_0x22fb1d;_0x548df9>=0x0;_0x548df9--)(_0x22fb1d=_0x5e8927[_0x548df9])&&(_0x1a321e=(_0x104158?_0x22fb1d(_0x46b578,_0xbbc712,_0x1a321e):_0x22fb1d(_0x1a321e))||_0x1a321e);return _0x104158&&_0x1a321e&&gr(_0x46b578,_0xbbc712,_0x1a321e),_0x1a321e;},Ir=(_0x1cdf7e,_0x60ce84)=>(_0xec9e5f,_0x276c27)=>_0x60ce84(_0xec9e5f,_0x276c27,_0x1cdf7e);let at=class{constructor(_0x1ff6b6){var _0x56c5c7=_0x23070f;this[_0x56c5c7(0x199)]=_0x1ff6b6,this[_0x56c5c7(0x23e)]();}['_initRequestHeader'](){var _0x58e3d3=_0x23070f;this[_0x58e3d3(0x199)][_0x58e3d3(0x339)]({'interceptor':(_0x58e6d7,_0x350159)=>{var _0x1399dc=_0x58e3d3;const _0x3de67a=_0x58e6d7[_0x1399dc(0xf3)],_0x15f5d9=mr();return _0x15f5d9&&_0x3de67a[_0x1399dc(0x3a0)](_0x1399dc(0x111),_0x15f5d9),_0x350159(_0x58e6d7);}});}};at=Er([Ir(0x0,_0x3c1aac(_0x1c781b))],at);var Tr=Object['defineProperty'],Cr=Object['getOwnPropertyDescriptor'],br=(_0x349b97,_0x10fb1a,_0x1e101f,_0x4f754e)=>{for(var _0x4a305f=_0x4f754e>0x1?void 0x0:_0x4f754e?Cr(_0x10fb1a,_0x1e101f):_0x10fb1a,_0x2e3308=_0x349b97['length']-0x1,_0x373a4f;_0x2e3308>=0x0;_0x2e3308--)(_0x373a4f=_0x349b97[_0x2e3308])&&(_0x4a305f=(_0x4f754e?_0x373a4f(_0x10fb1a,_0x1e101f,_0x4a305f):_0x373a4f(_0x4a305f))||_0x4a305f);return _0x4f754e&&_0x4a305f&&Tr(_0x10fb1a,_0x1e101f,_0x4a305f),_0x4a305f;},gt=(_0x99facc,_0x4c25ec)=>(_0x418d0f,_0x12daaf)=>_0x4c25ec(_0x418d0f,_0x12daaf,_0x99facc);let Ot=class extends _0x1af8c6{constructor(_0x589151,_0x2c4a3d,_0x4b0ee7){var _0x42e0e1=_0x23070f;super(),D(this,'_unitInfo$',new _0x7694e1(null)),D(this,'unitInfo$',this[_0x42e0e1(0x239)][_0x42e0e1(0x363)]()),(this['_logService']=_0x589151,this['_snapshotService']=_0x2c4a3d,this[_0x42e0e1(0x1a1)]=_0x4b0ee7);}async[_0x23070f(0x182)](_0x23a7f8,_0x233c50,_0xb80ed9){var _0x566d1a=_0x23070f;this['_unitInfo$'][_0x566d1a(0x34c)]({'unitId':_0x23a7f8,'type':_0x233c50,'subUnitId':_0xb80ed9});let _0x1d7633=null;switch(_0x233c50){case Q[_0x566d1a(0x25b)]:{_0x1d7633=await this[_0x566d1a(0x3b2)](_0x23a7f8);break;}case Q[_0x566d1a(0x1d0)]:{_0x1d7633=await this[_0x566d1a(0x331)](_0x23a7f8);break;}default:{this[_0x566d1a(0x2eb)][_0x566d1a(0x251)](_0x566d1a(0x2ba),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x1d7633;}async[_0x23070f(0x3b2)](_0x5e0217){var _0x1d11c5=_0x23070f,_0x4aeee7;let _0xce160f=0x0;const _0x5c1e06=await((_0x4aeee7=this[_0x1d11c5(0x1a1)])==null?void 0x0:_0x4aeee7[_0x1d11c5(0x270)](_0x5e0217));return _0x5c1e06&&(_0x5c1e06[_0x1d11c5(0x3bc)]||_0x5c1e06[_0x1d11c5(0x236)][_0x1d11c5(0x222)]!==0x0)&&(_0xce160f=_0x5c1e06['rev']),_0xce160f===0x0&&this[_0x1d11c5(0x2eb)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1d11c5(0x2fb)][_0x1d11c5(0x21f)](_0x5e0217,_0xce160f);}async[_0x23070f(0x331)](_0x12735f){var _0x2dca3f=_0x23070f,_0x49e03a;let _0x5b1182=0x0;const _0xbad5ed=await((_0x49e03a=this[_0x2dca3f(0x1a1)])==null?void 0x0:_0x49e03a[_0x2dca3f(0x270)](_0x12735f));return _0xbad5ed&&(_0xbad5ed[_0x2dca3f(0x3bc)]||_0xbad5ed[_0x2dca3f(0x236)]['length']!==0x0)&&(_0x5b1182=_0xbad5ed[_0x2dca3f(0x243)]),_0x5b1182===0x0&&this[_0x2dca3f(0x2eb)][_0x2dca3f(0x224)](_0x2dca3f(0x2ba),_0x2dca3f(0x394)),this[_0x2dca3f(0x2fb)]['loadDoc'](_0x12735f,_0x5b1182);}};Ot=br([gt(0x0,_0x2bb897),gt(0x1,_0x3c1aac(_0x172776)),gt(0x2,_0x1f8702(X))],Ot);var Rr=Object[_0x23070f(0x1b1)],yr=Object['getOwnPropertyDescriptor'],Or=(_0x581eb4,_0x2df2a5,_0x52594d,_0x22d957)=>{var _0x4e2684=_0x23070f;for(var _0xa05a2c=_0x22d957>0x1?void 0x0:_0x22d957?yr(_0x2df2a5,_0x52594d):_0x2df2a5,_0x123b3a=_0x581eb4[_0x4e2684(0x222)]-0x1,_0xac0a57;_0x123b3a>=0x0;_0x123b3a--)(_0xac0a57=_0x581eb4[_0x123b3a])&&(_0xa05a2c=(_0x22d957?_0xac0a57(_0x2df2a5,_0x52594d,_0xa05a2c):_0xac0a57(_0xa05a2c))||_0xa05a2c);return _0x22d957&&_0xa05a2c&&Rr(_0x2df2a5,_0x52594d,_0xa05a2c),_0xa05a2c;},St=(_0x1c9276,_0xc28e0f)=>(_0x42cc63,_0x2784ea)=>_0xc28e0f(_0x42cc63,_0x2784ea,_0x1c9276);const Pr=[_0x23070f(0x20b),'image/jpeg','image/jpg',_0x23070f(0x2dd),'image/bmp'],Nr=0x5*0x400*0x400,Dr=_0x23070f(0x2b5),wr=_0x23070f(0x355),Ur=_0x23070f(0x323),Ar=_0x23070f(0xd0);let Pt=class{constructor(_0x277713,_0x52e2c8,_0x592395){var _0x2272da=_0x23070f;D(this,_0x2272da(0x19e),0x0),D(this,_0x2272da(0x267),new _0x7cba2d()),D(this,_0x2272da(0x151),this['_change$']),D(this,_0x2272da(0x255),new Map()),(this[_0x2272da(0x199)]=_0x277713,this[_0x2272da(0xf9)]=_0x52e2c8,this[_0x2272da(0x14d)]=_0x592395);}[_0x23070f(0x2f3)](_0x4fd0d8){var _0x52a4b6=_0x23070f;this[_0x52a4b6(0x19e)]=_0x4fd0d8,this[_0x52a4b6(0x267)][_0x52a4b6(0x34c)](_0x4fd0d8);}['getImageSourceCache'](_0x129aea,_0x2e76d0){var _0x18c8af=_0x23070f;if(_0x2e76d0===_0x3a1230[_0x18c8af(0xee)]){const _0x487fcd=new Image();return _0x487fcd[_0x18c8af(0x13d)]=_0x129aea,_0x487fcd;}return this['_imageSourceCache']['get'](_0x129aea);}['addImageSourceCache'](_0x358dc2,_0x1af415,_0x268b7e){var _0x2ea9d4=_0x23070f;_0x1af415===_0x3a1230[_0x2ea9d4(0xee)]||_0x268b7e==null||this[_0x2ea9d4(0x255)][_0x2ea9d4(0x3a0)](_0x358dc2,_0x268b7e);}async[_0x23070f(0xd9)](_0x3bea47){var _0x2f716c=_0x23070f;try{const _0x3c731a=this[_0x2f716c(0x3c3)](this[_0x2f716c(0xd5)](),''+_0x3bea47),_0x466dd9=(await this['_httpService'][_0x2f716c(0x3a8)](_0x3c731a))[_0x2f716c(0x18b)];if(_0x466dd9[_0x2f716c(0x251)]&&_0x466dd9[_0x2f716c(0x251)][_0x2f716c(0xed)]===Ii['OK']){const _0x22c366=new URL(_0x466dd9[_0x2f716c(0x17e)],this[_0x2f716c(0x177)]())[_0x2f716c(0x32a)]();return Promise[_0x2f716c(0x379)](_0x22c366);}return Promise[_0x2f716c(0x1ef)](_0x466dd9[_0x2f716c(0x251)]);}catch(_0x1b42a5){return Promise[_0x2f716c(0x1ef)](_0x1b42a5);}}async[_0x23070f(0x341)](_0xf7091a){var _0x46423c=_0x23070f;let _0x39286f='';if(!Pr[_0x46423c(0x2d4)](_0xf7091a['type']))return this['_decreaseWaiting'](),Promise[_0x46423c(0x1ef)](new Error(_0xc6025f[_0x46423c(0x2ee)]));if(_0xf7091a[_0x46423c(0x1f5)]>Nr)return this[_0x46423c(0x1ff)](),Promise[_0x46423c(0x1ef)](new Error(_0xc6025f[_0x46423c(0x375)]));try{const _0x2ba4c8=new FormData();_0x2ba4c8['append'](_0x46423c(0x352),_0xf7091a);const _0x4663c6=this['_univerInstanceService'][_0x46423c(0x104)](),_0x370422=_0x4663c6==null?void 0x0:_0x4663c6[_0x46423c(0x112)]();if(!_0x370422)throw new Error(_0x46423c(0x1d9));const _0x1e779d=this[_0x46423c(0x353)]()+'?size='+_0xf7091a[_0x46423c(0x1f5)]['toString']()+'&source='+Ti['UnitEmbedded']+_0x46423c(0x313)+encodeURIComponent(_0x370422),_0x242e6f=await(await fetch(_0x1e779d,{'method':'POST','body':_0x2ba4c8}))[_0x46423c(0x37a)]();if(typeof _0x242e6f[_0x46423c(0xcf)]!=_0x46423c(0x189))return this[_0x46423c(0x1ff)](),Promise['reject'](new Error(_0xc6025f[_0x46423c(0x200)]));_0x39286f=_0x242e6f[_0x46423c(0xcf)];}catch{return this[_0x46423c(0x1ff)](),Promise[_0x46423c(0x1ef)](new Error(_0xc6025f[_0x46423c(0x200)]));}return new Promise((_0x43494f,_0x5e9480)=>{var _0x344eef=_0x46423c;const _0x14ce28=new FileReader();_0x14ce28[_0x344eef(0x10d)](_0xf7091a),_0x14ce28[_0x344eef(0x10e)]=_0x395cbc=>{var _0xf0aca7=_0x344eef,_0x5741f2;const _0x54e873=(_0x5741f2=_0x395cbc[_0xf0aca7(0x206)])==null?void 0x0:_0x5741f2[_0xf0aca7(0x123)];if(_0x54e873==null){this[_0xf0aca7(0x1ff)](),_0x5e9480(new Error(_0xc6025f['ERROR_IMAGE']));return;}const _0x204bd7=_0x3a5e6b[_0xf0aca7(0x233)](0x6);_0x43494f({'imageId':_0x204bd7,'imageSourceType':_0x3a1230[_0xf0aca7(0x2c3)],'source':_0x39286f,'base64Cache':_0x54e873,'status':_0xc6025f['SUCCUSS']}),this[_0xf0aca7(0x1ff)]();};});}[_0x23070f(0x353)](){var _0x20aab9=_0x23070f,_0x3e94a8,_0x314261;const _0x177c4e=this[_0x20aab9(0xf9)][_0x20aab9(0x21e)](Dr),_0x16228d=this['_configService'][_0x20aab9(0x21e)](Y);return(_0x314261=(_0x3e94a8=_0x16228d==null?void 0x0:_0x16228d[_0x20aab9(0x168)])!=null?_0x3e94a8:_0x177c4e)!=null?_0x314261:wr;}[_0x23070f(0xd5)](){var _0x38d884=_0x23070f,_0x3cf721,_0x58095e;const _0x1c3f2a=this['_configService'][_0x38d884(0x21e)](Ur),_0x30756f=this[_0x38d884(0xf9)][_0x38d884(0x21e)](Y);return(_0x58095e=(_0x3cf721=_0x30756f==null?void 0x0:_0x30756f[_0x38d884(0x119)])!=null?_0x3cf721:_0x1c3f2a)!=null?_0x58095e:Ar;}[_0x23070f(0x177)](){var _0xa8e91d=_0x23070f,_0x5da8a1;const _0x7ee699=this[_0xa8e91d(0xf9)][_0xa8e91d(0x21e)](Y);return(_0x5da8a1=_0x7ee699==null?void 0x0:_0x7ee699[_0xa8e91d(0x1ea)])!=null?_0x5da8a1:location[_0xa8e91d(0x2a5)];}[_0x23070f(0x3c3)](_0xa4d8c5,_0xb9ad1e){var _0x492ed2=_0x23070f;return _0xa4d8c5[_0x492ed2(0x173)](_0x492ed2(0x34e),_0xb9ad1e);}[_0x23070f(0x1ff)](){var _0x2c5c7d=_0x23070f;this[_0x2c5c7d(0x19e)]-=0x1,this['_change$'][_0x2c5c7d(0x34c)](this[_0x2c5c7d(0x19e)]);}};Pt=Or([St(0x0,_0x3c1aac(_0x1c781b)),St(0x1,_0x550a77),St(0x2,_0x3c1aac(_0x57416f))],Pt);var xr=Object[_0x23070f(0x1b1)],Lr=Object[_0x23070f(0x11f)],Mr=(_0x355e9d,_0x184e44,_0x357df1,_0x259356)=>{var _0x598fb4=_0x23070f;for(var _0x1032cd=_0x259356>0x1?void 0x0:_0x259356?Lr(_0x184e44,_0x357df1):_0x184e44,_0x4bcb73=_0x355e9d[_0x598fb4(0x222)]-0x1,_0x46c561;_0x4bcb73>=0x0;_0x4bcb73--)(_0x46c561=_0x355e9d[_0x4bcb73])&&(_0x1032cd=(_0x259356?_0x46c561(_0x184e44,_0x357df1,_0x1032cd):_0x46c561(_0x1032cd))||_0x1032cd);return _0x259356&&_0x1032cd&&xr(_0x184e44,_0x357df1,_0x1032cd),_0x1032cd;},li=(_0x52b4ac,_0x28308b)=>(_0x11c680,_0x13ebfd)=>_0x28308b(_0x11c680,_0x13ebfd,_0x52b4ac);const $r=_0x23070f(0x266);let Nt=class{constructor(_0x34e87b,_0x3e1ff5){var _0x2d2a40=_0x23070f;this['_configService']=_0x34e87b,this[_0x2d2a40(0x215)]=_0x3e1ff5;}[_0x23070f(0x31f)](){var _0x5759dc=_0x23070f,_0x1abcd6,_0x315c7c;const _0x2094f7=this['_configService']['getConfig'](Di),_0x28e070=this[_0x5759dc(0xf9)][_0x5759dc(0x21e)](Y);return(_0x315c7c=(_0x1abcd6=_0x28e070==null?void 0x0:_0x28e070[_0x5759dc(0x350)])!=null?_0x1abcd6:_0x2094f7)!=null?_0x315c7c:$r;}async['list'](_0x5da784){var _0x2838d3=_0x23070f;const _0x4d2ea=this[_0x2838d3(0x31f)]()+_0x2838d3(0x237);return{'list':[{'title':_0x2838d3(0x2a8),'mentions':(await this[_0x2838d3(0x215)][_0x2838d3(0x3a8)](_0x4d2ea,{'params':{'objectID':_0x5da784['unitId'],'unitID':_0x5da784['unitId']}}))[_0x2838d3(0x18b)][_0x2838d3(0x296)][_0x2838d3(0x1da)](_0x1b7034=>({'objectId':_0x1b7034['id'],'name':_0x1b7034[_0x2838d3(0x22c)]['name'],'metadata':{'icon':_0x1b7034['subject']['avatar']},'label':_0x1b7034['subject'][_0x2838d3(0x39a)],'objectType':_0x39b41d[_0x2838d3(0x1e7)]})),'metadata':{},'type':_0x39b41d['PERSON']}]};}};Nt=Mr([li(0x0,_0x3c1aac(_0x550a77)),li(0x1,_0x3c1aac(_0x1c781b))],Nt);var Hr=Object['defineProperty'],kr=Object[_0x23070f(0x11f)],jr=(_0x220082,_0x549a9a,_0x388b3b,_0x1c39f2)=>{var _0x5f6afc=_0x23070f;for(var _0x562e04=_0x1c39f2>0x1?void 0x0:_0x1c39f2?kr(_0x549a9a,_0x388b3b):_0x549a9a,_0x29235f=_0x220082[_0x5f6afc(0x222)]-0x1,_0x300cfb;_0x29235f>=0x0;_0x29235f--)(_0x300cfb=_0x220082[_0x29235f])&&(_0x562e04=(_0x1c39f2?_0x300cfb(_0x549a9a,_0x388b3b,_0x562e04):_0x300cfb(_0x562e04))||_0x562e04);return _0x1c39f2&&_0x562e04&&Hr(_0x549a9a,_0x388b3b,_0x562e04),_0x562e04;},Se=(_0x3ee4fb,_0x343b91)=>(_0x328b4d,_0x3012e5)=>_0x343b91(_0x328b4d,_0x3012e5,_0x3ee4fb);let ct=class extends _0x1af8c6{constructor(_0x3276a1,_0x12d414,_0x11612b,_0x5e71db,_0x52ca6e,_0x274dc0,_0xe6db6e){var _0x2055e2=_0x23070f;super(),this[_0x2055e2(0x1cb)]=_0x3276a1,this[_0x2055e2(0x14d)]=_0x12d414,this[_0x2055e2(0x165)]=_0x11612b,this[_0x2055e2(0x203)]=_0x5e71db,this[_0x2055e2(0x1f9)]=_0x52ca6e,this[_0x2055e2(0x1cc)]=_0x274dc0,this[_0x2055e2(0x1d5)]=_0xe6db6e,this[_0x2055e2(0x33f)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x28057b=_0x23070f;const _0x37a8a5=async _0x1fa422=>{var _0x350410=_0xb35d;(await this[_0x350410(0x203)][_0x350410(0x24b)](_0x1fa422))[_0x350410(0x314)][_0x350410(0x338)](_0x1e9f39(_0x1176c6=>_0x1176c6[_0x350410(0x22b)]===_0x1817f2[_0x350410(0x307)]),_0x5ab46a(this['dispose$']))[_0x350410(0x29f)](_0x1aecaa=>{var _0x4e92aa=_0x350410;const _0x591121=_0x1aecaa,{reason:_0x5cb3fd}=_0x591121['data'];this[_0x4e92aa(0x1f9)][_0x4e92aa(0x190)]({'id':se[_0x4e92aa(0x30a)],'data':_0x5cb3fd}),this[_0x4e92aa(0x165)]['updatePermissionPoint'](new _0x18a334(_0x1fa422)['id'],!0x1),this[_0x4e92aa(0x203)][_0x4e92aa(0x158)](_0x1fa422);});};_0x2ddd1c(this[_0x28057b(0x14d)]['getTypeOfUnitAdded$'](_0x3561bc[_0x28057b(0x25b)]),this[_0x28057b(0x14d)]['getTypeOfUnitAdded$'](_0x3561bc[_0x28057b(0x1d0)]))[_0x28057b(0x338)](_0x27980b(_0x207da4=>_0x207da4[_0x28057b(0x112)]()),_0x1e9f39(_0x112b3d=>!_0x1e7dc7(_0x112b3d)),_0x5ab46a(this[_0x28057b(0x374)]))['subscribe'](_0x4f9220=>{_0x37a8a5(_0x4f9220);});}[_0x23070f(0x33f)](){var _0x34bfc4=_0x23070f;const _0x381295=async _0x529a57=>{var _0x1a1b95=_0xb35d;(await this[_0x1a1b95(0x203)][_0x1a1b95(0x24b)](_0x529a57))[_0x1a1b95(0x314)][_0x1a1b95(0x338)](_0x1e9f39(_0xd73c45=>_0xd73c45[_0x1a1b95(0x22b)]===_0x1817f2[_0x1a1b95(0x25e)]),_0x5ab46a(this[_0x1a1b95(0x374)]))[_0x1a1b95(0x29f)](_0xa46312=>{var _0x5bb9fc=_0x1a1b95;const _0x3b91ce=_0xa46312,{objectId:_0x5c0cf5}=_0x3b91ce[_0x5bb9fc(0x1b4)];_0x5c0cf5===_0x529a57?this[_0x5bb9fc(0x220)](_0x529a57):this[_0x5bb9fc(0x330)](_0x529a57,_0x5c0cf5);});};_0x2ddd1c(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3561bc['UNIVER_SHEET']),this[_0x34bfc4(0x14d)][_0x34bfc4(0x194)](_0x3561bc[_0x34bfc4(0x1d0)]))[_0x34bfc4(0x338)](_0x27980b(_0x565403=>_0x565403[_0x34bfc4(0x112)]()),_0x1e9f39(_0x318111=>!_0x1e7dc7(_0x318111)),_0x5ab46a(this['dispose$']))['subscribe'](_0x1fde7e=>{_0x381295(_0x1fde7e);});}async[_0x23070f(0x220)](_0x2bc2b1){var _0x1c0a6b=_0x23070f,_0x85a2c3;const _0x38a0a5=_0x2bc2b1||((_0x85a2c3=this[_0x1c0a6b(0x14d)][_0x1c0a6b(0x1a9)](_0x3561bc['UNIVER_SHEET']))==null?void 0x0:_0x85a2c3[_0x1c0a6b(0x112)]());_0x38a0a5&&this[_0x1c0a6b(0x1cc)]['allowed']({'objectID':_0x38a0a5,'objectType':_0x48c9c8[_0x1c0a6b(0x38e)],'unitID':_0x38a0a5,'actions':_0x153261})[_0x1c0a6b(0x2d3)](_0x57c736=>{var _0x42092e=_0x1c0a6b;_0xfa8f21()[_0x42092e(0xcb)](_0xb49321=>{var _0x20ce5a=_0x42092e;const _0x322bd0=new _0xb49321(_0x38a0a5),_0xede8cf=_0x322bd0[_0x20ce5a(0xc8)],_0x463ea9=_0x57c736[_0x20ce5a(0x3c6)](_0x1ea160=>_0x1ea160[_0x20ce5a(0x14e)]===_0xede8cf);_0x463ea9&&this[_0x20ce5a(0x165)][_0x20ce5a(0x2a9)](_0x322bd0['id'],_0x463ea9['allowed']);});});}[_0x23070f(0x330)](_0x1a7253,_0x271c28){var _0x512904=_0x23070f;const _0x94454=this[_0x512904(0x1cb)][_0x512904(0x3a8)](_0x3d8956),_0x507d38=_0x94454[_0x512904(0xe4)](_0x1a7253,_0x271c28);let _0x3f6766=!0x1;if(_0x507d38){const [_0x352bb0,_0x16a130]=_0x507d38;this['_authzIoService'][_0x512904(0x2ab)]({'objectID':_0x271c28,'unitID':_0x1a7253,'objectType':_0x48c9c8[_0x512904(0x228)],'actions':_0x2ae621})['then'](_0x8c2047=>{var _0x2c5f8d=_0x512904;let _0x3f78ce='';_0x2427e4()[_0x2c5f8d(0xcb)](_0x48c598=>{var _0x1bb448=_0x2c5f8d,_0x4adce4;const _0xc7618f=new _0x48c598(_0x1a7253,_0x16a130),_0x1c569a=_0xc7618f[_0x1bb448(0xc8)],_0x219fdc=_0x8c2047[_0x1bb448(0x3c6)](_0x1f7251=>_0x1f7251[_0x1bb448(0x14e)]===_0x1c569a);_0x219fdc&&(((_0x4adce4=this[_0x1bb448(0x165)][_0x1bb448(0x209)](_0xc7618f['id']))==null?void 0x0:_0x4adce4[_0x1bb448(0x134)])!==_0x219fdc[_0x1bb448(0x2ab)]&&(_0x3f6766=!0x0),this[_0x1bb448(0x165)][_0x1bb448(0x2a9)](_0xc7618f['id'],_0x219fdc[_0x1bb448(0x2ab)]),_0x3f78ce+=_0x219fdc[_0x1bb448(0x14e)]+'_'+_0x219fdc[_0x1bb448(0x2ab)]);}),_0x94454[_0x2c5f8d(0xf6)](_0x271c28+'_'+_0x3f78ce),_0x3f6766&&this[_0x2c5f8d(0x1d5)][_0x2c5f8d(0x289)](_0x1a7253);});}const _0x244989=this[_0x512904(0x1cb)]['get'](_0xe0fcb8)['getTargetByPermissionId'](_0x1a7253,_0x271c28);if(_0x244989){const [_0x327eb6,_0x5d3f75]=_0x244989;this['_authzIoService'][_0x512904(0x2ab)]({'objectID':_0x271c28,'unitID':_0x1a7253,'objectType':_0x48c9c8[_0x512904(0x228)],'actions':_0x12ab5b})['then'](_0x2204aa=>{var _0x699bc6=_0x512904;_0x58d07a()[_0x699bc6(0xcb)](_0x28f576=>{var _0x4df025=_0x699bc6,_0x5be474;const _0x4a204d=new _0x28f576(_0x1a7253,_0x5d3f75),_0x1fbca6=_0x4a204d['subType'],_0x109c65=_0x2204aa[_0x4df025(0x3c6)](_0x343c02=>_0x343c02[_0x4df025(0x14e)]===_0x1fbca6);_0x109c65&&(((_0x5be474=this[_0x4df025(0x165)]['getPermissionPoint'](_0x4a204d['id']))==null?void 0x0:_0x5be474[_0x4df025(0x134)])!==_0x109c65[_0x4df025(0x2ab)]&&(_0x3f6766=!0x0),this[_0x4df025(0x165)][_0x4df025(0x2a9)](_0x4a204d['id'],_0x109c65['allowed']));}),_0x3f6766&&this[_0x699bc6(0x1d5)][_0x699bc6(0x289)](_0x1a7253);});}const _0x350aed=this[_0x512904(0x1cb)]['get'](_0x533452),_0x1f0f56=_0x350aed[_0x512904(0xe4)](_0x1a7253,_0x271c28);if(_0x1f0f56){const [_0x71fd30,_0x569ad1]=_0x1f0f56;this[_0x512904(0x1cc)]['allowed']({'objectID':_0x271c28,'unitID':_0x1a7253,'objectType':_0x48c9c8['SelectRange'],'actions':_0x2ae621})['then'](_0x28e837=>{var _0x407a19=_0x512904;let _0x6fbc0c='';_0x10d097()['forEach'](_0x1da678=>{var _0x449e72=_0xb35d,_0x2939c5;const _0x18e6f3=new _0x1da678(_0x1a7253,_0x569ad1,_0x271c28),_0x141a7a=_0x18e6f3[_0x449e72(0xc8)],_0x4826b9=_0x28e837[_0x449e72(0x3c6)](_0x5950aa=>_0x5950aa['action']===_0x141a7a);_0x4826b9&&(((_0x2939c5=this[_0x449e72(0x165)][_0x449e72(0x209)](_0x18e6f3['id']))==null?void 0x0:_0x2939c5['value'])!==_0x4826b9['allowed']&&(_0x3f6766=!0x0),this[_0x449e72(0x165)][_0x449e72(0x2a9)](_0x18e6f3['id'],_0x4826b9['allowed']),_0x6fbc0c+=_0x4826b9[_0x449e72(0x14e)]+'_'+_0x4826b9['allowed']);}),_0x350aed[_0x407a19(0xf6)](_0x271c28+'_'+_0x6fbc0c),_0x3f6766&&this[_0x407a19(0x1d5)]['clearUndoRedo'](_0x1a7253);});}}};ct=jr([Se(0x0,_0x3c1aac(_0x26247f)),Se(0x1,_0x57416f),Se(0x2,_0x2ece59),Se(0x3,_0x3c1aac(Me)),Se(0x4,_0x3c1aac(pe)),Se(0x5,_0x1f4897),Se(0x6,_0x41a8a9)],ct);var Br=Object[_0x23070f(0x1b1)],Fr=Object[_0x23070f(0x11f)],Vr=(_0x51c1a4,_0x1fd2cb,_0x56ace6,_0x4bcf3d)=>{var _0x382156=_0x23070f;for(var _0x223eec=_0x4bcf3d>0x1?void 0x0:_0x4bcf3d?Fr(_0x1fd2cb,_0x56ace6):_0x1fd2cb,_0x1f253c=_0x51c1a4[_0x382156(0x222)]-0x1,_0x99a9d5;_0x1f253c>=0x0;_0x1f253c--)(_0x99a9d5=_0x51c1a4[_0x1f253c])&&(_0x223eec=(_0x4bcf3d?_0x99a9d5(_0x1fd2cb,_0x56ace6,_0x223eec):_0x99a9d5(_0x223eec))||_0x223eec);return _0x4bcf3d&&_0x223eec&&Br(_0x1fd2cb,_0x56ace6,_0x223eec),_0x223eec;},ui=(_0x1865eb,_0x41bc48)=>(_0x1a53ad,_0x10d02d)=>_0x41bc48(_0x1a53ad,_0x10d02d,_0x1865eb);let Dt=class{constructor(_0x1578c7,_0x3d07a9){var _0x2d6572=_0x23070f;this[_0x2d6572(0xf9)]=_0x1578c7,this[_0x2d6572(0x199)]=_0x3d07a9;}async['getUnitOnRev'](_0x5b062c,_0x4ebb69){var _0x50a850=_0x23070f,_0x345b91;const {unitID:_0x29f3f8,type:_0x3b0100,revision:_0xc8b8c5=0x0}=_0x4ebb69,_0x1f6132=this[_0x50a850(0x2c7)]()+'/'+_0x3b0100+_0x50a850(0x138)+_0x29f3f8+_0x50a850(0xec)+_0xc8b8c5,_0x274fe4=(await this[_0x50a850(0x199)][_0x50a850(0x3a8)](_0x1f6132))[_0x50a850(0x18b)],_0x2f0be0=(_0x345b91=_0x274fe4[_0x50a850(0x2c8)])==null?void 0x0:_0x345b91['workbook'];if(_0x2f0be0){const _0x175455=_0x2f0be0==null?void 0x0:_0x2f0be0['originalMeta'],_0x37cbed=_0x56af83['encode'](_0x4faf43(_0x175455));_0x2f0be0[_0x50a850(0x2b7)]=_0x37cbed,Object[_0x50a850(0x1c6)](_0x2f0be0[_0x50a850(0x126)])['forEach'](([,_0x1c924a])=>{var _0x33c2a2=_0x50a850;const _0x144b17=_0x1c924a['originalMeta'],_0x5e8cb9=_0x56af83[_0x33c2a2(0x2cb)](_0x4faf43(_0x144b17));_0x1c924a[_0x33c2a2(0x2b7)]=_0x5e8cb9;});}return _0x274fe4;}async[_0x23070f(0x21c)](_0x21e911,_0x319549){var _0x1915a2=_0x23070f;const {unitID:_0xf7ac22,type:_0x1542b0,blockID:_0x195fdb}=_0x319549,_0x2acabe=this['_getAPIPrefix']()+'/'+_0x1542b0+_0x1915a2(0x138)+_0xf7ac22+_0x1915a2(0x1f6)+_0x195fdb;return(await this[_0x1915a2(0x199)][_0x1915a2(0x3a8)](_0x2acabe))['body'];}async[_0x23070f(0x159)](_0x268912,_0x12b0ff){var _0x413be5=_0x23070f;const {unitID:_0x49472c,type:_0x478857,blockID:_0x1a37af}=_0x12b0ff,_0x5aa592=this[_0x413be5(0x2c0)]()+'/block/'+_0x478857+_0x413be5(0x138)+_0x49472c+_0x413be5(0x1f6)+_0x1a37af;return(await this[_0x413be5(0x199)]['get'](_0x5aa592))[_0x413be5(0x18b)];}async['fetchMissingChangesets'](_0x12c61d,_0x414915){var _0x594e90=_0x23070f;const {unitID:_0x4cb1f1,type:_0x4032cd,from:_0x1d10a8,to:_0x3206d8}=_0x414915,_0x2bfc6a=this[_0x594e90(0x2c0)]()+'/'+_0x4032cd+_0x594e90(0x138)+_0x4cb1f1+_0x594e90(0x1f7)+_0x1d10a8+_0x594e90(0x2d1)+_0x3206d8;return(await this['_httpService'][_0x594e90(0x3a8)](_0x2bfc6a))['body'];}[_0x23070f(0x2c7)](){var _0x5110a3=_0x23070f,_0x4b3fe2;return(_0x4b3fe2=this[_0x5110a3(0xf9)][_0x5110a3(0x21e)](Dn))!=null?_0x4b3fe2:this[_0x5110a3(0x2c0)]();}[_0x23070f(0x2c0)](){var _0x1c4987=_0x23070f,_0x3c281b,_0x4627b7;const _0x49c0f5=this[_0x1c4987(0xf9)][_0x1c4987(0x21e)](Pn),_0x40d9cf=this['_configService'][_0x1c4987(0x21e)](Y);return(_0x4627b7=(_0x3c281b=_0x40d9cf==null?void 0x0:_0x40d9cf[_0x1c4987(0x102)])!=null?_0x3c281b:_0x49c0f5)!=null?_0x4627b7:Nn;}async['getResourcesRequest'](_0x23ceb0,_0x3fe81f){var _0x145ed1=_0x23070f;const _0x34cedb=_0x145ed1(0x31c)+_0x3fe81f['type']+_0x145ed1(0x138)+_0x3fe81f[_0x145ed1(0x3ad)]+'/resources';return(await this[_0x145ed1(0x199)][_0x145ed1(0x3a8)](_0x34cedb,{'params':{'resourceId':JSON['stringify'](_0x3fe81f['resourceIDs'])}}))[_0x145ed1(0x18b)];}[_0x23070f(0x1bf)](){var _0x262ac2=_0x23070f;throw new Error(_0x262ac2(0x318));}[_0x23070f(0x1eb)](){var _0x9fa09c=_0x23070f;throw new Error(_0x9fa09c(0x318));}[_0x23070f(0x19d)](){var _0x60914e=_0x23070f;throw new Error(_0x60914e(0x318));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x3665f8=_0x23070f;throw new Error(_0x3665f8(0x318));}};Dt=Vr([ui(0x0,_0x550a77),ui(0x1,_0x3c1aac(_0x1c781b))],Dt);var Wr=Object[_0x23070f(0x1b1)],Gr=Object[_0x23070f(0x11f)],Kr=(_0x396ddc,_0x228678,_0x4a03cc,_0x41246c)=>{var _0x273b80=_0x23070f;for(var _0x50807f=_0x41246c>0x1?void 0x0:_0x41246c?Gr(_0x228678,_0x4a03cc):_0x228678,_0x3bad7f=_0x396ddc[_0x273b80(0x222)]-0x1,_0x1f316f;_0x3bad7f>=0x0;_0x3bad7f--)(_0x1f316f=_0x396ddc[_0x3bad7f])&&(_0x50807f=(_0x41246c?_0x1f316f(_0x228678,_0x4a03cc,_0x50807f):_0x1f316f(_0x50807f))||_0x50807f);return _0x41246c&&_0x50807f&&Wr(_0x228678,_0x4a03cc,_0x50807f),_0x50807f;},Ue=(_0x40629f,_0x2a3403)=>(_0x3f464a,_0x478b02)=>_0x2a3403(_0x3f464a,_0x478b02,_0x40629f);let wt=class extends _0x3e7d1c{constructor(_0x1fedf3,_0x1bc19e,_0xc2b2b0,_0x32021c,_0x1a37b0){var _0x27c2b2=_0x23070f;super(_0x1fedf3,_0x1bc19e,_0xc2b2b0),this[_0x27c2b2(0x261)]=_0x32021c,this[_0x27c2b2(0x2eb)]=_0x1a37b0;}[_0x23070f(0x2a7)](_0x571e3c,_0x200f6c){var _0x1ebf7a=_0x23070f;const _0x25b4bb=this['_getUndoStack'](_0x571e3c);if(_0x25b4bb)try{const _0x477fcc=this[_0x1ebf7a(0x124)](_0x25b4bb,_0x200f6c);this[_0x1ebf7a(0x125)](_0x571e3c,_0x477fcc);}catch(_0x45502f){this['_logService'][_0x1ebf7a(0x251)]('[CollaborationUndoRedoService]',_0x45502f),this['_clearUndo'](_0x571e3c);}const _0x5dc6bc=this['_getRedoStack'](_0x571e3c);if(_0x5dc6bc)try{const _0x2378d3=this['_transformStack'](_0x5dc6bc,_0x200f6c);this[_0x1ebf7a(0x210)](_0x571e3c,_0x2378d3);}catch(_0x5bbd4c){this[_0x1ebf7a(0x2eb)][_0x1ebf7a(0x251)](_0x5bbd4c),this[_0x1ebf7a(0x192)](_0x571e3c);}}['_clearUndo'](_0x45eedf){var _0x16c977=_0x23070f;const _0x163e54=this[_0x16c977(0x152)](_0x45eedf);_0x163e54&&(_0x163e54['length']=0x0,this[_0x16c977(0x1cd)]());}[_0x23070f(0x192)](_0x50d7b8){var _0x5e3ba8=_0x23070f;const _0x36bf2d=this[_0x5e3ba8(0xd1)](_0x50d7b8);_0x36bf2d&&(_0x36bf2d[_0x5e3ba8(0x222)]=0x0,this[_0x5e3ba8(0x1cd)]());}[_0x23070f(0x125)](_0x4e6caa,_0xf97b83){var _0x261ba4=_0x23070f;this['_undoStacks'][_0x261ba4(0x3a0)](_0x4e6caa,_0xf97b83),this[_0x261ba4(0x1cd)]();}[_0x23070f(0x210)](_0x4fba59,_0x28932a){var _0x52af82=_0x23070f;this[_0x52af82(0xd8)][_0x52af82(0x3a0)](_0x4fba59,_0x28932a),this[_0x52af82(0x1cd)]();}['_transformStack'](_0x2c07c2,_0x6cfb5){var _0x25e061=_0x23070f;const _0x2e727d=[];let _0x3e5b27=_0x6cfb5,_0x39f103=_0x6cfb5;for(let _0x6df3b4=_0x2c07c2[_0x25e061(0x222)]-0x1;_0x6df3b4>=0x0;_0x6df3b4--){const {unitID:_0x38ce3c,undoMutations:_0x5476d8,redoMutations:_0x36221c}=_0x2c07c2[_0x6df3b4],_0x4bfa8f=this[_0x25e061(0x261)]['transformMutationsWithChangeset'](_0x3e5b27,_0x5476d8),_0x58928c=this['_transformService'][_0x25e061(0x246)](_0x39f103,_0x36221c);if(_0x586cd8(_0x4bfa8f)||_0x586cd8(_0x58928c)){this['_logService']['error'](_0x25e061(0x328),_0x25e061(0x19a),_0x4bfa8f,_0x58928c);break;}_0x3e5b27=_0x4bfa8f[_0x25e061(0x286)],_0x39f103=_0x58928c['c1Prime'],_0x2e727d['push']({'unitID':_0x38ce3c,'undoMutations':_0x4bfa8f['m2Prime'],'redoMutations':_0x58928c['m2Prime']});}return _0x2e727d['reverse']();}};wt=Kr([Ue(0x0,_0x57416f),Ue(0x1,_0x1a55e3),Ue(0x2,_0x12d793),Ue(0x3,_0x33bf37),Ue(0x4,_0x2bb897)],wt);var xi=Object[_0x23070f(0x1b1)],zr=Object['getOwnPropertyDescriptor'],Yr=(_0x545e0e,_0x560358,_0xd4078a)=>_0x560358 in _0x545e0e?xi(_0x545e0e,_0x560358,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd4078a}):_0x545e0e[_0x560358]=_0xd4078a,qr=(_0x2aaa46,_0x152b3f,_0x3cc7e1,_0x5d789b)=>{var _0x564491=_0x23070f;for(var _0x374756=_0x5d789b>0x1?void 0x0:_0x5d789b?zr(_0x152b3f,_0x3cc7e1):_0x152b3f,_0x24cf26=_0x2aaa46[_0x564491(0x222)]-0x1,_0x2ee5bc;_0x24cf26>=0x0;_0x24cf26--)(_0x2ee5bc=_0x2aaa46[_0x24cf26])&&(_0x374756=(_0x5d789b?_0x2ee5bc(_0x152b3f,_0x3cc7e1,_0x374756):_0x2ee5bc(_0x374756))||_0x374756);return _0x5d789b&&_0x374756&&xi(_0x152b3f,_0x3cc7e1,_0x374756),_0x374756;},Et=(_0x458691,_0x153479)=>(_0x197f3c,_0x203156)=>_0x153479(_0x197f3c,_0x203156,_0x458691),Jr=(_0x4057a2,_0x2e278a,_0x45514c)=>Yr(_0x4057a2,_0x2e278a+'',_0x45514c);const Xr=_0x23070f(0x218);let Ut=class extends _0x430171{constructor(_0x4e78b0=Wn,_0x439d8b,_0xc0b87a,_0xd4ced0){var _0x57af66=_0x23070f;super(),this[_0x57af66(0x15f)]=_0x4e78b0,this[_0x57af66(0x2eb)]=_0x439d8b,this[_0x57af66(0x1cb)]=_0xc0b87a,this[_0x57af66(0xf9)]=_0xd4ced0;const {..._0x26698c}=this['_config'];this['_configService'][_0x57af66(0x11d)](Y,_0x26698c);}[_0x23070f(0x305)](){var _0x21fbd4=_0x23070f;this[_0x21fbd4(0x3b5)](),this[_0x21fbd4(0x25d)]();}['_registerDependencies'](){var _0x36d8f3=_0x23070f,_0x2bc7ba,_0xe519ed,_0x1565cb,_0x101e37;this[_0x36d8f3(0x1cb)][_0x36d8f3(0x23a)](_0x41a8a9)&&this[_0x36d8f3(0x2eb)]['error'](_0x36d8f3(0x153),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x49564f=_0xf0eeb8([[_0x41a8a9,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0xe519ed=(_0x2bc7ba=this[_0x36d8f3(0x15f)])==null?void 0x0:_0x2bc7ba[_0x36d8f3(0x2da)])!=null?_0xe519ed:It}],[_0x496e05,{'useClass':Dt}],[_0x1f4897,{'useClass':yt}],[_0x136e3f,{'useClass':Pt}],[_0x5cf465,{'useClass':Nt}],[rt],[Rt]],(_0x1565cb=this[_0x36d8f3(0x15f)])==null?void 0x0:_0x1565cb[_0x36d8f3(0x326)]);if(!((_0x101e37=this[_0x36d8f3(0x15f)])!=null&&_0x101e37[_0x36d8f3(0x1c3)])){const _0x2eb0fc=_0x49564f['findIndex'](([_0x29cf5c])=>_0x29cf5c===_t);_0x2eb0fc!==-0x1&&_0x49564f['splice'](_0x2eb0fc,0x1);}_0x2d6621(this[_0x36d8f3(0x1cb)],_0x49564f);}['_initDependencies'](){var _0x5d85d1=_0x23070f,_0x594f76,_0x393937,_0x3136ae;this['_injector'][_0x5d85d1(0x3a8)](_0x1c781b)[_0x5d85d1(0x339)]({'priority':0x14,'interceptor':_0x234d84({'maxParallel':0x6})}),(_0x594f76=this['_config'])!=null&&_0x594f76['enableOfflineEditing']||(_0x393937=this[_0x5d85d1(0x1cb)][_0x5d85d1(0x3a8)](X,_0x3031f7['OPTIONAL']))==null||_0x393937[_0x5d85d1(0x387)](),(_0x3136ae=this[_0x5d85d1(0x15f)])!=null&&_0x3136ae[_0x5d85d1(0x154)]&&_0x17d274(this[_0x5d85d1(0x1cb)],[[ot]]),_0x17d274(this[_0x5d85d1(0x1cb)],[[at],[rt],[ct]]);}};Jr(Ut,_0x23070f(0x364),Xr),Ut=qr([_0x4ccf1f(_0x3e10fb,_0x793cdd,_0x2abdab),Et(0x1,_0x2bb897),Et(0x2,_0x3c1aac(_0x26247f)),Et(0x3,_0x550a77)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};