@univerjs-pro/collaboration-client 0.6.0-nightly.202501291606 → 0.6.0-nightly.202501311606

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 _0x1af128=_0x596d;(function(_0x54357c,_0x277910){var _0x419faf=_0x596d,_0x7d8800=_0x54357c();while(!![]){try{var _0x64e8d=parseInt(_0x419faf(0x46a))/0x1+parseInt(_0x419faf(0x411))/0x2*(parseInt(_0x419faf(0x489))/0x3)+parseInt(_0x419faf(0x225))/0x4+parseInt(_0x419faf(0x27f))/0x5+parseInt(_0x419faf(0x3cc))/0x6+-parseInt(_0x419faf(0x2d6))/0x7*(-parseInt(_0x419faf(0x491))/0x8)+-parseInt(_0x419faf(0x482))/0x9;if(_0x64e8d===_0x277910)break;else _0x7d8800['push'](_0x7d8800['shift']());}catch(_0x554bbf){_0x7d8800['push'](_0x7d8800['shift']());}}}(_0x6aa3,0xce6f8));var Li=Object[_0x1af128(0x4ba)],Mi=(_0x346783,_0x2b74e0,_0x3580c8)=>_0x2b74e0 in _0x346783?Li(_0x346783,_0x2b74e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3580c8}):_0x346783[_0x2b74e0]=_0x3580c8,N=(_0x560993,_0x3726a6,_0x30e255)=>Mi(_0x560993,typeof _0x3726a6!=_0x1af128(0x27b)?_0x3726a6+'':_0x3726a6,_0x30e255);import{createIdentifier as _0x22f5cd,Inject as _0x50b881,Injector as _0x339edd,Disposable as _0x1ec030,DisposableCollection as _0x39d6d0,toDisposable as _0x1943de,IConfigService as _0xb3f6ba,ILogService as _0x334ed4,UserManagerService as _0x3c3b47,UniverInstanceType as _0x7a0f38,IUniverInstanceService as _0x42b8e7,LocaleService as _0x3d3898,Optional as _0x325bd4,RxDisposable as _0x4273f8,Tools as _0x15157c,Rectangle as _0x47e43a,ICommandService as _0x4f3e11,JSONX as _0x4890ac,CommandType as _0x572a97,IPermissionService as _0xea2b61,IUndoRedoService as _0x16445d,sequenceExecute as _0x596acb,Workbook as _0x331611,MentionType as _0x4389d9,IAuthzIoService as _0x298ad2,isInternalEditorID as _0xc3ccf8,LocalUndoRedoService as _0x40707b,IContextService as _0x215270,DependentOn as _0x3fade5,Plugin as _0x58ba77,merge as _0x1686f7,mergeOverrideWithDependencies as _0x3b1a20,IMentionIOService as _0x478e21,registerDependencies as _0x48774b,Quantity as _0x8bb0cb,touchDependencies as _0x150a5f}from'@univerjs/core';import{Subject as _0x10c59f,merge as _0x19107a,of as _0x4586b0,BehaviorSubject as _0x230061,takeUntil as _0x1b190a,ReplaySubject as _0x55eb7f,take as _0x2a8f0e,map as _0x3bf594,shareReplay as _0x2b76e9,firstValueFrom as _0x5acfb6,concatMap as _0x196fe2}from'rxjs';import{map as _0x3c96ad,take as _0x41f024,filter as _0x226f92,delay as _0x2468e4,takeUntil as _0x4387d8}from'rxjs/operators';import{HTTPService as _0x51273b,ISocketService as _0x23e178,MergeInterceptorFactory as _0x8ebddf,HTTPRequest as _0x4ca06d,UniverNetworkPlugin as _0x22d427,ThresholdInterceptorFactory as _0x105533}from'@univerjs/network';import{CollaborationEvent as _0x1d08ca,parseChangesetToProtocol as _0x5c8585,ISnapshotServerService as _0x2687e0,isTransformMutationsWithChangesetSuccess as _0x49a34e,ITransformService as _0x207f44,mapDocumentTypeToUniverType as _0x3450b7,RevisionService as _0x1c117d,isTransformChangesetsSuccess as _0x397f0a,CompressMutationService as _0x4651e0,parseProtocolChangeset as _0x1db08e,SnapshotService as _0x2ec050,textEncoder as _0x20eefa,b64DecodeUnicode as _0x55b68d,isTransformMutationsWithChangesetFailure as _0x3abcdb,UniverCollaborationPlugin as _0x1ce121}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3dbc3c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x582104}from'@univerjs/docs';import{SheetsSelectionsService as _0x370139,SetSelectionsOperation as _0x2d5539,InsertSheetMutation as _0x361fa7,EmptyMutation as _0x1a6a86,WorkbookEditablePermission as _0x3ff24a,SheetPermissionInitController as _0x2ba33e,UniverSheetsPlugin as _0x376c94}from'@univerjs/sheets';import{ImageSourceType as _0x544571,ImageUploadStatusType as _0x509a09,IImageIoService as _0x5b5ab5}from'@univerjs/drawing';import{getGlobalObject as _0x58e8fb}from'@univerjs-pro/license';const En=_0x1af128(0x215),In='/universer-api/snapshot',Tn=_0x1af128(0x2ff),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x1af128(0x338),bn=_0x1af128(0x3d2),On='/universer-api/user/session-ticket',yn=_0x1af128(0x3f0),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x1af128(0x1e9),wn=0x3,to=_0x1af128(0x413),io=0x3e8,Un=_0x1af128(0x36f),An=_0x1af128(0x1d5),xn=_0x1af128(0x307),Ln=_0x1af128(0x42e),no=_0x1af128(0x2b6),ro=_0x1af128(0x450);var Ii=(_0x52849a=>(_0x52849a[_0x52849a[_0x1af128(0x3d4)]=0x0]=_0x1af128(0x3d4),_0x52849a[_0x52849a['OK']=0x1]='OK',_0x52849a[_0x52849a[_0x1af128(0x335)]=0x2]=_0x1af128(0x335),_0x52849a[_0x52849a['PERMISSION_DENIED']=0x3]=_0x1af128(0x47d),_0x52849a[_0x52849a[_0x1af128(0x3c2)]=0x4]='NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x267)]=0x5]='UNAUTHENTICATED',_0x52849a[_0x52849a[_0x1af128(0x40f)]=0x6]=_0x1af128(0x40f),_0x52849a[_0x52849a[_0x1af128(0x38c)]=0x7]=_0x1af128(0x38c),_0x52849a[_0x52849a[_0x1af128(0x3e5)]=0x8]=_0x1af128(0x3e5),_0x52849a[_0x52849a['COMPLETION_FINISHED']=0x9]=_0x1af128(0x238),_0x52849a[_0x52849a[_0x1af128(0x341)]=0x1389]=_0x1af128(0x341),_0x52849a[_0x52849a[_0x1af128(0x27a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x52849a[_0x52849a[_0x1af128(0x449)]=0x1772]=_0x1af128(0x449),_0x52849a[_0x52849a[_0x1af128(0x361)]=0x1773]=_0x1af128(0x361),_0x52849a[_0x52849a[_0x1af128(0x28b)]=0x1b59]=_0x1af128(0x28b),_0x52849a[_0x52849a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x52849a[_0x52849a[_0x1af128(0x2d3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x52849a[_0x52849a[_0x1af128(0x47b)]=0x1b5c]=_0x1af128(0x47b),_0x52849a[_0x52849a[_0x1af128(0x4b4)]=0x1b5d]='APPLY_DUPLICATED',_0x52849a[_0x52849a[_0x1af128(0x2ba)]=0x1f41]=_0x1af128(0x2ba),_0x52849a[_0x52849a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1af128(0x4bb),_0x52849a[_0x52849a[_0x1af128(0x354)]=0x232a]=_0x1af128(0x354),_0x52849a[_0x52849a[_0x1af128(0x377)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x52849a[_0x52849a[_0x1af128(0x432)]=0x232c]=_0x1af128(0x432),_0x52849a[_0x52849a[_0x1af128(0x2b3)]=0x232d]=_0x1af128(0x2b3),_0x52849a[_0x52849a[_0x1af128(0x3a2)]=0x2711]=_0x1af128(0x3a2),_0x52849a[_0x52849a[_0x1af128(0x24c)]=0x2712]=_0x1af128(0x24c),_0x52849a[_0x52849a[_0x1af128(0x376)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x52849a[_0x52849a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x42c)]=0x2af9]=_0x1af128(0x42c),_0x52849a[_0x52849a[_0x1af128(0x46d)]=-0x1]='UNRECOGNIZED',_0x52849a))(Ii||{}),Q=(_0x463b19=>(_0x463b19[_0x463b19[_0x1af128(0x37a)]=0x0]='UNIVER_UNKNOWN',_0x463b19[_0x463b19[_0x1af128(0x43b)]=0x1]=_0x1af128(0x43b),_0x463b19[_0x463b19[_0x1af128(0x3c7)]=0x2]=_0x1af128(0x3c7),_0x463b19[_0x463b19[_0x1af128(0x351)]=0x3]=_0x1af128(0x351),_0x463b19[_0x463b19[_0x1af128(0x33f)]=0x4]=_0x1af128(0x33f),_0x463b19[_0x463b19[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x463b19))(Q||{}),F=(_0x1ef7c9=>(_0x1ef7c9[_0x1ef7c9[_0x1af128(0x2bb)]=0x0]='UNKNOWN_CMD',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x3f4)]=0x1]='HELLO',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x483)]=0x2]=_0x1af128(0x483),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x493)]=0x3]=_0x1af128(0x493),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x373)]=0x4]=_0x1af128(0x373),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x475)]=0x5]=_0x1af128(0x475),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x217)]=0x6]=_0x1af128(0x217),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x1ef7c9))(F||{}),Ee=(_0x24b361=>(_0x24b361[_0x24b361[_0x1af128(0x2d8)]=0x0]=_0x1af128(0x2d8),_0x24b361[_0x24b361['OK']=0x1]='OK',_0x24b361[_0x24b361[_0x1af128(0x1d1)]=0x2]=_0x1af128(0x1d1),_0x24b361[_0x24b361[_0x1af128(0x23b)]=0x3e9]=_0x1af128(0x23b),_0x24b361[_0x24b361[_0x1af128(0x48e)]=0x3ea]=_0x1af128(0x48e),_0x24b361[_0x24b361[_0x1af128(0x422)]=0x3eb]=_0x1af128(0x422),_0x24b361[_0x24b361[_0x1af128(0x4af)]=0x3ec]=_0x1af128(0x4af),_0x24b361[_0x24b361[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x24b361))(Ee||{}),Ti=(_0x59553d=>(_0x59553d[_0x59553d[_0x1af128(0x40a)]=0x0]=_0x1af128(0x40a),_0x59553d[_0x59553d[_0x1af128(0x32a)]=0x1]='HttpImport',_0x59553d[_0x59553d[_0x1af128(0x446)]=0x2]=_0x1af128(0x446),_0x59553d[_0x59553d[_0x1af128(0x41c)]=0x3]=_0x1af128(0x41c),_0x59553d[_0x59553d[_0x1af128(0x4b5)]=0x4]=_0x1af128(0x4b5),_0x59553d[_0x59553d[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x59553d))(Ti||{});const q=_0x1af128(0x319),Wt={};var se=(_0x36532e=>(_0x36532e[_0x1af128(0x302)]='OTHER_CLIENT_EDITING',_0x36532e[_0x1af128(0x47d)]=_0x1af128(0x47d),_0x36532e[_0x1af128(0x3dc)]=_0x1af128(0x3dc),_0x36532e['CLOSE_ROOM']=_0x1af128(0x4d3),_0x36532e[_0x1af128(0x209)]='JOIN_ROOM_FAILED',_0x36532e['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x36532e[_0x1af128(0x4bc)]=_0x1af128(0x4bc),_0x36532e[_0x1af128(0x3af)]=_0x1af128(0x3af),_0x36532e))(se||{});class pe{constructor(){var _0x17c1b2=_0x1af128;N(this,_0x17c1b2(0x3b9),new _0x10c59f()),N(this,_0x17c1b2(0x22e),this['_event$'][_0x17c1b2(0x2c7)]());}[_0x1af128(0x258)](_0x5707dc){var _0x85941d=_0x1af128;this[_0x85941d(0x3b9)][_0x85941d(0x2cb)](_0x5707dc);}}const Mn=_0x22f5cd(_0x1af128(0x2b1));function $n(_0x5511c1){var _0x5b8fd6=_0x1af128,_0x572705,_0x2fe831,_0x5a2fad,_0x37b483,_0x447698;const _0x439784=_0x5511c1[_0x5b8fd6(0x345)],_0xd1e37f=JSON[_0x5b8fd6(0x3df)](_0x439784);switch(_0xd1e37f[_0x5b8fd6(0x223)]){case F[_0x5b8fd6(0x475)]:case F[_0x5b8fd6(0x3f4)]:{const _0x6f612c=_0xd1e37f[_0x5b8fd6(0x2dd)];return{..._0xd1e37f,'data':_0x6f612c,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F[_0x5b8fd6(0x483)]:{const _0x303f0d=_0xd1e37f[_0x5b8fd6(0x2ee)];return{..._0xd1e37f,'data':_0x303f0d,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F['RECV']:{const _0x4f1392=_0xd1e37f[_0x5b8fd6(0x2c4)];switch(_0x4f1392[_0x5b8fd6(0x492)]){case _0x1d08ca['PERMISSION_REJ']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x572705=_0x4f1392[_0x5b8fd6(0x2a2)])==null?void 0x0:_0x572705['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x333)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x2fe831=_0x4f1392[_0x5b8fd6(0x342)])==null?void 0x0:_0x2fe831['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x405)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x5a2fad=_0x4f1392[_0x5b8fd6(0x39b)])==null?void 0x0:_0x5a2fad['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x4a5)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x37b483=_0x4f1392[_0x5b8fd6(0x276)])==null?void 0x0:_0x37b483['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca[_0x5b8fd6(0x4c4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x447698=_0x4f1392[_0x5b8fd6(0x242)])==null?void 0x0:_0x447698['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca['UPDATE_CURSOR']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x3f7)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['USERS_ENTER']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x260)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x33d)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x344)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['LIVESHARE_NEW_HOST']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x41a)]:case _0x1d08ca[_0x5b8fd6(0x2a8)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['liveShareOperation']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x2f4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x222)]:return{..._0xd1e37f,'data':_0x4f1392,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['COMMENT_UPDATE']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x2a3)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x28f)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x362)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x368)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['shouldCloseConn']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x226)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x288)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};default:return _0xd1e37f;}}default:return _0xd1e37f;}}function Hn(_0x1f83c1){var _0x358b6c=_0x1af128;switch(_0x1f83c1[_0x358b6c(0x223)]){case F[_0x358b6c(0x475)]:case F[_0x358b6c(0x3f4)]:return JSON['stringify']({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)]});case F[_0x358b6c(0x373)]:{let _0x4ab46c;switch(_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]){case _0x1d08ca[_0x358b6c(0x3f1)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x3f1)],'updateCursorEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x33d)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x33d)],'leaveEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x418)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x418)],'joinEvent':_0x1f83c1[_0x358b6c(0x345)]['data']};break;}case _0x1d08ca['LIVESHARE_NEW_HOST']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x356)],'liveShareNewHost':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2a8)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2a8)],'liveShareOperation':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2f4)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2f4)],'liveShareTerminate':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x462)]:{_0x4ab46c={'eventID':_0x1d08ca['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca['LIVESHARE_FETCH_OPERATIONS']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x41a)]};break;}default:_0x4ab46c={'eventID':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]};}return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'collaMsg':_0x4ab46c});}case F[_0x358b6c(0x483)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'joinReq':_0x1f83c1['data']});case F[_0x358b6c(0x493)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'leaveReq':_0x1f83c1[_0x358b6c(0x345)]});default:throw new Error(_0x358b6c(0x36b));}}var kn=Object[_0x1af128(0x4ba)],jn=Object[_0x1af128(0x3d3)],Bn=(_0x57eaa9,_0x3a292c,_0x509a67,_0x2995ba)=>{var _0x34e870=_0x1af128;for(var _0x5296bb=_0x2995ba>0x1?void 0x0:_0x2995ba?jn(_0x3a292c,_0x509a67):_0x3a292c,_0x71d241=_0x57eaa9[_0x34e870(0x431)]-0x1,_0x2b1771;_0x71d241>=0x0;_0x71d241--)(_0x2b1771=_0x57eaa9[_0x71d241])&&(_0x5296bb=(_0x2995ba?_0x2b1771(_0x3a292c,_0x509a67,_0x5296bb):_0x2b1771(_0x5296bb))||_0x5296bb);return _0x2995ba&&_0x5296bb&&kn(_0x3a292c,_0x509a67,_0x5296bb),_0x5296bb;},Ue=(_0x386271,_0x3932d7)=>(_0x11bfd1,_0x2c9e01)=>_0x3932d7(_0x11bfd1,_0x2c9e01,_0x386271);const Ci=_0x22f5cd(_0x1af128(0x3bb));function Fn(_0x1581d6,_0x45afe4,_0x13d267){var _0x3b26af=_0x1af128;return _0x1581d6+'/'+_0x45afe4+_0x3b26af(0x29a)+_0x13d267+_0x3b26af(0x4ae);}let Et=class extends _0x1ec030{constructor(_0xd8e413,_0x4a17a6,_0x312a15,_0x5172bb,_0x2f8b3f){var _0x13bcd1=_0x1af128;super(),this['_injector']=_0xd8e413,this[_0x13bcd1(0x437)]=_0x4a17a6,this[_0x13bcd1(0x4d1)]=_0x312a15,this[_0x13bcd1(0x485)]=_0x5172bb,this[_0x13bcd1(0x408)]=_0x2f8b3f;}[_0x1af128(0x252)](_0x2f61b0){var _0xcf4ffd=_0x1af128;const _0x675365=this[_0xcf4ffd(0x367)][_0xcf4ffd(0x416)](_0x23e178);if(!_0x675365)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x35df56=_0x675365[_0xcf4ffd(0x252)](_0x2f61b0);if(!_0x35df56)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5709cf=new _0x39d6d0(),_0x53e358=new _0x10c59f();_0x5709cf['add'](_0x35df56[_0xcf4ffd(0x409)][_0xcf4ffd(0x26c)](_0x919613=>_0x53e358['next'](_0x919613))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x53e358[_0xcf4ffd(0x3b1)]()));const _0x3f1900=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56[_0xcf4ffd(0x414)][_0xcf4ffd(0x26c)](_0xc212e4=>_0x3f1900['next'](_0xc212e4))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x3f1900[_0xcf4ffd(0x3b1)]()));const _0x3caef9=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56['message$'][_0xcf4ffd(0x26c)](_0x126f09=>{var _0x210eb7=_0xcf4ffd;const _0x542c33=$n(_0x126f09);_0x3caef9[_0x210eb7(0x2cb)](_0x542c33);})),_0x5709cf['add'](_0x1943de(()=>_0x3caef9[_0xcf4ffd(0x3b1)]()));let _0xe7b539;const _0x42aae3=()=>{var _0x97b3a9=_0xcf4ffd;_0x3f1900[_0x97b3a9(0x2cb)](new Event('connection\x20error')),_0x53e358[_0x97b3a9(0x2cb)](new CloseEvent('connection\x20error')),_0xe7b539[_0x97b3a9(0x3c0)]();};return _0xe7b539={'memberID':'','close$':_0x53e358[_0xcf4ffd(0x2c7)](),'error$':_0x3f1900['asObservable'](),'open$':_0x35df56[_0xcf4ffd(0x23e)],'message$':_0x3caef9[_0xcf4ffd(0x2c7)](),'send':_0x2de057=>{var _0x4c62dc=_0xcf4ffd;if(_0x2de057[_0x4c62dc(0x223)]===F[_0x4c62dc(0x373)]){if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca['SUBMIT_CHANGESET']){this[_0x4c62dc(0x29c)](_0xe7b539,_0x2de057[_0x4c62dc(0x345)])[_0x4c62dc(0x474)](_0x53e5d8=>{var _0x1a7f52=_0x4c62dc;this[_0x1a7f52(0x485)][_0x1a7f52(0x479)](_0x53e5d8),_0x42aae3();});return;}if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca[_0x4c62dc(0x249)]){const _0x4d2358=_0x2de057['data'];this[_0x4c62dc(0x400)](_0x4d2358)[_0x4c62dc(0x1d4)](_0x1f5bb3=>{var _0x572e82=_0x4c62dc;_0x3caef9['next']({'cmd':F[_0x572e82(0x217)],'code':Ee['OK'],'routeKey':_0x4d2358[_0x572e82(0x345)][_0x572e82(0x1fa)],'routeType':'','data':{'eventID':_0x1d08ca['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1f5bb3}}});})[_0x4c62dc(0x474)](_0x166639=>{this['_logService']['error'](_0x166639),_0x42aae3();});return;}}_0x35df56['send'](Hn(_0x2de057));},'close':()=>{var _0x3a1b17=_0xcf4ffd;_0x35df56[_0x3a1b17(0x3c0)](),_0x5709cf[_0x3a1b17(0x1d3)]();}},_0xe7b539;}async[_0x1af128(0x29c)](_0x203e97,_0x3cf917){var _0x3f07a0=_0x1af128,_0x33b58e,_0x132429;const {unitType:_0x1c1ed3,unitID:_0x117a8c,changeset:_0x148512}=_0x3cf917['data'],_0x1da415={'unitID':_0x117a8c,'memberID':_0x203e97[_0x3f07a0(0x2a4)],'type':_0x1c1ed3,'changeset':_0x5c8585(_0x148512)},_0x3f8dd2=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](Un),_0x353c5e=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](q),_0x3a8d6c=Fn((_0x132429=(_0x33b58e=_0x353c5e==null?void 0x0:_0x353c5e[_0x3f07a0(0x241)])!=null?_0x33b58e:_0x3f8dd2)!=null?_0x132429:An,_0x1c1ed3,_0x117a8c);try{await this[_0x3f07a0(0x437)][_0x3f07a0(0x4cc)](_0x3a8d6c,{'body':_0x1da415});}catch(_0x4af3be){throw this[_0x3f07a0(0x485)][_0x3f07a0(0x479)](_0x3f07a0(0x259),'submit\x20changeset\x20error!'),_0x4af3be;}}async[_0x1af128(0x400)](_0x53db0f){var _0x1f0975=_0x1af128;const {unitID:_0x494e8b,from:_0x1da37b,to:_0x57fcbb,unitType:_0x3e5a6d}=_0x53db0f[_0x1f0975(0x345)];return(await this[_0x1f0975(0x408)][_0x1f0975(0x33b)]({'metadata':void 0x0},{'unitID':_0x494e8b,'type':_0x3e5a6d,'from':_0x1da37b,'to':_0x57fcbb}))[_0x1f0975(0x3e4)];}};Et=Bn([Ue(0x0,_0x50b881(_0x339edd)),Ue(0x1,_0x50b881(_0x51273b)),Ue(0x2,_0xb3f6ba),Ue(0x3,_0x334ed4),Ue(0x4,_0x2687e0)],Et);const Vn=_0x1af128(0x243);function Gn(_0x534eee){var _0x25dd02=_0x1af128;return JSON[_0x25dd02(0x44b)](_0x534eee)[_0x25dd02(0x431)];}class Ri{constructor(){var _0x5bdfa1=_0x1af128;N(this,_0x5bdfa1(0x421),new _0x10c59f()),N(this,'commentUpdate$',this[_0x5bdfa1(0x421)][_0x5bdfa1(0x2c7)]());}['onCommentUpdate'](_0x8ac70e){var _0x35f5f9=_0x1af128;this[_0x35f5f9(0x421)][_0x35f5f9(0x2cb)](_0x8ac70e);}}var Wn=Object[_0x1af128(0x4ba)],Kn=Object[_0x1af128(0x3d3)],Yn=(_0x29eaa4,_0x1da03c,_0x12be84,_0x3b5b23)=>{var _0x211440=_0x1af128;for(var _0x1ab7a9=_0x3b5b23>0x1?void 0x0:_0x3b5b23?Kn(_0x1da03c,_0x12be84):_0x1da03c,_0x2392f2=_0x29eaa4[_0x211440(0x431)]-0x1,_0x405952;_0x2392f2>=0x0;_0x2392f2--)(_0x405952=_0x29eaa4[_0x2392f2])&&(_0x1ab7a9=(_0x3b5b23?_0x405952(_0x1da03c,_0x12be84,_0x1ab7a9):_0x405952(_0x1ab7a9))||_0x1ab7a9);return _0x3b5b23&&_0x1ab7a9&&Wn(_0x1da03c,_0x12be84,_0x1ab7a9),_0x1ab7a9;},Kt=(_0x12ac19,_0x2da4a8)=>(_0x33293d,_0x2b6583)=>_0x2da4a8(_0x33293d,_0x2b6583,_0x12ac19);let xe=class extends _0x1ec030{constructor(_0x2f5bd5,_0x6db48d){var _0xe4cbf=_0x1af128;super(),N(this,_0xe4cbf(0x291),new Map()),N(this,_0xe4cbf(0x3e3),new _0x10c59f()),(this['_univerInstanceService']=_0x2f5bd5,this[_0xe4cbf(0x3c4)]=_0x6db48d,this['disposeWithMe'](_0x19107a(this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x3c7)])[_0xe4cbf(0x463)](_0x3c96ad(_0x1f044c=>_0x1f044c[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x43b)])['pipe'](_0x3c96ad(_0x3041b2=>_0x3041b2[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38['UNIVER_SLIDE'])[_0xe4cbf(0x463)](_0x3c96ad(_0x1226a1=>_0x1226a1[_0xe4cbf(0x26b)]())))['subscribe'](_0x57824d=>this[_0xe4cbf(0x2d7)](_0x57824d))));}['waitForRoom$'](_0x4cd296){var _0x598f15=_0x1af128;return this[_0x598f15(0x291)]['has'](_0x4cd296)?_0x4586b0(this[_0x598f15(0x291)][_0x598f15(0x416)](_0x4cd296)):this['_roomCreated$'][_0x598f15(0x463)](_0x3c96ad(_0x33c9e9=>{var _0x175fe9=_0x598f15;if(_0x33c9e9===_0x4cd296)return this['_roomMembers'][_0x175fe9(0x416)](_0x33c9e9);}));}[_0x1af128(0x39f)](_0x29497b){var _0x495c76=_0x1af128;this['_userManagerService'][_0x495c76(0x39f)](_0x29497b);}[_0x1af128(0x1dc)](){var _0x11bf15=_0x1af128;return this[_0x11bf15(0x3c4)][_0x11bf15(0x1dc)]();}['updateMember'](_0x10fd5a,_0x2ec813){var _0x324dcb=_0x1af128;let _0x25a4fe=this[_0x324dcb(0x291)]['get'](_0x10fd5a);_0x25a4fe||(_0x25a4fe=new qn(),this[_0x324dcb(0x291)][_0x324dcb(0x255)](_0x10fd5a,_0x25a4fe),this['_roomCreated$'][_0x324dcb(0x2cb)](_0x10fd5a)),_0x25a4fe[_0x324dcb(0x20a)](_0x2ec813);}[_0x1af128(0x3e2)](_0x72e4b5,_0x24efd8){var _0x2a0014=_0x1af128;const _0xde819a=this[_0x2a0014(0x291)][_0x2a0014(0x416)](_0x72e4b5);_0xde819a&&_0xde819a['removeMember'](_0x24efd8);}[_0x1af128(0x419)](_0x1fc310){var _0x54aa3a=_0x1af128;return this[_0x54aa3a(0x291)][_0x54aa3a(0x416)](_0x1fc310);}[_0x1af128(0x41f)](_0xed560c,_0x4c8e31){var _0x12f386=_0x1af128;const _0x1279c7=this[_0x12f386(0x291)]['get'](_0xed560c);if(_0x1279c7)return _0x1279c7[_0x12f386(0x41f)](_0x4c8e31);}[_0x1af128(0x2d7)](_0x51a9b0){var _0x2c2344=_0x1af128;const _0x11c721=this[_0x2c2344(0x291)][_0x2c2344(0x416)](_0x51a9b0);_0x11c721&&(_0x11c721[_0x2c2344(0x1d3)](),this[_0x2c2344(0x291)]['delete'](_0x51a9b0));}[_0x1af128(0x1d3)](){var _0x5946ff=_0x1af128;this[_0x5946ff(0x291)][_0x5946ff(0x30f)](_0x1cb119=>_0x1cb119[_0x5946ff(0x1d3)]()),this['_roomMembers'][_0x5946ff(0x348)](),this[_0x5946ff(0x3e3)][_0x5946ff(0x3b1)]();}};xe=Yn([Kt(0x0,_0x42b8e7),Kt(0x1,_0x50b881(_0x3c3b47))],xe);class qn extends _0x1ec030{constructor(){var _0x2bf24f=_0x1af128;super(...arguments),N(this,_0x2bf24f(0x451),new Map()),N(this,_0x2bf24f(0x295),new _0x230061(this[_0x2bf24f(0x451)])),N(this,'members$',this[_0x2bf24f(0x295)][_0x2bf24f(0x2c7)]());}[_0x1af128(0x1d3)](){var _0x31b19c=_0x1af128;this['_members'][_0x31b19c(0x348)]();}['updateMember'](_0x5be122){var _0x5d2c2a=_0x1af128;this['_members'][_0x5d2c2a(0x255)](_0x5be122[_0x5d2c2a(0x2a4)],_0x5be122),this['_emitMembers']();}[_0x1af128(0x3e2)](_0x291ace){var _0x4c0159=_0x1af128;this[_0x4c0159(0x451)][_0x4c0159(0x31f)](_0x291ace);}['getMember'](_0x13a470){var _0x2d8812=_0x1af128;return this[_0x2d8812(0x451)]['get'](_0x13a470);}[_0x1af128(0x272)](){var _0x5dd64d=_0x1af128;return Array['from'](this[_0x5dd64d(0x451)][_0x5dd64d(0x355)]());}[_0x1af128(0x3ae)](){var _0x16f330=_0x1af128;this[_0x16f330(0x295)][_0x16f330(0x2cb)](this[_0x16f330(0x451)]);}}var zn=Object[_0x1af128(0x4ba)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x3c84ea,_0x2877ed,_0x25567c,_0x176d03)=>{var _0xeb4b78=_0x1af128;for(var _0x39b33c=_0x176d03>0x1?void 0x0:_0x176d03?Jn(_0x2877ed,_0x25567c):_0x2877ed,_0x319bd3=_0x3c84ea[_0xeb4b78(0x431)]-0x1,_0x45dc48;_0x319bd3>=0x0;_0x319bd3--)(_0x45dc48=_0x3c84ea[_0x319bd3])&&(_0x39b33c=(_0x176d03?_0x45dc48(_0x2877ed,_0x25567c,_0x39b33c):_0x45dc48(_0x39b33c))||_0x39b33c);return _0x176d03&&_0x39b33c&&zn(_0x2877ed,_0x25567c,_0x39b33c),_0x39b33c;},me=(_0x23281d,_0x1dd725)=>(_0x1b14ce,_0x3507d6)=>_0x1dd725(_0x1b14ce,_0x3507d6,_0x23281d),Te=(_0x1718ff=>(_0x1718ff[_0x1718ff[_0x1af128(0x220)]=0x0]=_0x1af128(0x220),_0x1718ff[_0x1718ff[_0x1af128(0x48d)]=0x1]='JOINING',_0x1718ff[_0x1718ff['OFFLINE']=0x2]=_0x1af128(0x2b8),_0x1718ff[_0x1718ff[_0x1af128(0x336)]=0x3]='ONLINE',_0x1718ff))(Te||{});const Yt={[Ee[_0x1af128(0x1d1)]]:_0x1af128(0x3da),[Ee['JOIN_ROOM_FULL']]:_0x1af128(0x229),[Ee[_0x1af128(0x48e)]]:_0x1af128(0x3d9),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x1af128(0x20c),[Ee[_0x1af128(0x4af)]]:_0x1af128(0x37d)};let It=class extends _0x4273f8{constructor(_0x57e68d,_0x373c49,_0x3b8a9d,_0x361615,_0x4c15cc,_0x1aed72,_0x5d3517,_0xe01458,_0x1ce16f){var _0x5b238e=_0x1af128;super(),N(this,'_sessionStatus$',new _0x230061(0x0)),N(this,_0x5b238e(0x214),this[_0x5b238e(0x434)][_0x5b238e(0x2c7)]()),N(this,_0x5b238e(0x3b9),new _0x10c59f()),N(this,'event$',this[_0x5b238e(0x3b9)][_0x5b238e(0x2c7)]()),N(this,'_socket'),N(this,_0x5b238e(0x1db)),N(this,_0x5b238e(0x28c)),N(this,_0x5b238e(0x254),!0x1),N(this,_0x5b238e(0x37b),null),(this[_0x5b238e(0x2e3)]=_0x57e68d,this['_logService']=_0x3b8a9d,this[_0x5b238e(0x4d1)]=_0x361615,this[_0x5b238e(0x4c2)]=_0x4c15cc,this[_0x5b238e(0x37c)]=_0x1aed72,this[_0x5b238e(0x314)]=_0x5d3517,this[_0x5b238e(0x4b1)]=_0xe01458,this[_0x5b238e(0x394)]=_0x1ce16f,this[_0x5b238e(0x254)]=!!this['_telemetryService'],_0x373c49[_0x5b238e(0x463)](_0x1b190a(this['dispose$']))[_0x5b238e(0x26c)](_0x95d0be=>{var _0x260215=_0x5b238e,_0xf88e2f;typeof _0x95d0be>'u'||(this[_0x260215(0x31d)]=_0x95d0be,_0x95d0be?(this['_joinRoom'](_0x95d0be),this[_0x260215(0x1db)]=_0x95d0be[_0x260215(0x45e)]['subscribe'](_0x1b2153=>{var _0x51b50b=_0x260215;_0x1b2153['routeKey']===this[_0x51b50b(0x2e3)]&&this['_onCombEvent'](_0x1b2153);})):(this[_0x260215(0x3d0)](),this[_0x260215(0x434)][_0x260215(0x2cb)](0x2),(_0xf88e2f=this['_socketMessageSubscription'])==null||_0xf88e2f[_0x260215(0x1f6)](),this[_0x260215(0x1db)]=null));}));}get[_0x1af128(0x495)](){var _0x340704=_0x1af128;return this['_sessionStatus$'][_0x340704(0x2f7)]();}[_0x1af128(0x435)](){var _0x4f8b1a=_0x1af128,_0x29a04a,_0x36fda0;return(_0x36fda0=(_0x29a04a=this[_0x4f8b1a(0x31d)])==null?void 0x0:_0x29a04a['memberID'])!=null?_0x36fda0:null;}['dispose'](){var _0x59151c=_0x1af128;super[_0x59151c(0x1d3)](),this[_0x59151c(0x2f3)][_0x59151c(0x2cb)](),this['dispose$'][_0x59151c(0x3b1)]();}[_0x1af128(0x3c0)](){var _0x153ece=_0x1af128,_0x50c18e,_0x1e91f8;this[_0x153ece(0x3d0)](),(_0x50c18e=this[_0x153ece(0x31d)])==null||_0x50c18e[_0x153ece(0x444)]({'cmd':F[_0x153ece(0x493)],'data':{'roomID':this[_0x153ece(0x2e3)]}}),(_0x1e91f8=this[_0x153ece(0x31d)])==null||_0x1e91f8[_0x153ece(0x3c0)](),this[_0x153ece(0x3b9)][_0x153ece(0x3b1)](),this[_0x153ece(0x434)]['complete'](),this['dispose']();}['_onCombEvent'](_0x59bb61){var _0x21df86=_0x1af128;_0x59bb61[_0x21df86(0x223)]===F[_0x21df86(0x483)]?this[_0x21df86(0x34f)](_0x59bb61):_0x59bb61['cmd']===F[_0x21df86(0x217)]&&this[_0x21df86(0x33e)](_0x59bb61);}[_0x1af128(0x2fb)](_0xce0a15){var _0x39f688=_0x1af128;this[_0x39f688(0x434)]['next'](0x1),_0xce0a15[_0x39f688(0x444)]({'cmd':F[_0x39f688(0x483)],'routeKey':this[_0x39f688(0x2e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x39f688(0x2e3)]}]}});}[_0x1af128(0x34f)](_0xead141){var _0x20a79b=_0x1af128,_0x36f846;if(_0xead141['code']in Yt){this[_0x20a79b(0x4b1)]['emitEvent']({'id':se[_0x20a79b(0x209)],'data':Yt[_0xead141[_0x20a79b(0x2c3)]]}),this['_sessionStatus$'][_0x20a79b(0x2cb)](0x2);return;}this[_0x20a79b(0x434)][_0x20a79b(0x2cb)](0x3);const _0x35ce16=(_0x36f846=_0xead141[_0x20a79b(0x345)][_0x20a79b(0x31b)][this['_unitID']])==null?void 0x0:_0x36f846[_0x20a79b(0x268)];_0x35ce16&&_0x35ce16[_0x20a79b(0x30f)](_0x7df805=>this[_0x20a79b(0x37c)][_0x20a79b(0x20a)](this[_0x20a79b(0x2e3)],_0x7df805));}[_0x1af128(0x33e)](_0x290133){var _0x83fc99=_0x1af128;try{const _0x400591=_0x290133['data'];switch(_0x400591[_0x83fc99(0x492)]){case _0x1d08ca[_0x83fc99(0x418)]:this['_onUserJoin'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x33d)]:this['_onUserLeave'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x333)]:case _0x1d08ca[_0x83fc99(0x4c4)]:this[_0x83fc99(0x378)](),this[_0x83fc99(0x4ad)](),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x222)]:this[_0x83fc99(0x485)][_0x83fc99(0x479)](_0x83fc99(0x39d)+JSON[_0x83fc99(0x44b)](_0x400591)),this[_0x83fc99(0x3b9)]['next'](_0x400591);break;case _0x1d08ca[_0x83fc99(0x1fc)]:this[_0x83fc99(0x314)]['onCommentUpdate'](_0x400591[_0x83fc99(0x345)]),this['_event$'][_0x83fc99(0x2cb)](_0x400591);break;default:this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);}}catch(_0x230ae3){this['_logService'][_0x83fc99(0x479)](_0x230ae3,_0x290133);}}[_0x1af128(0x45b)](_0x1f0a8e){var _0x188923=_0x1af128;this[_0x188923(0x37c)][_0x188923(0x20a)](this[_0x188923(0x2e3)],_0x1f0a8e[_0x188923(0x345)]);}['_onUserLeave'](_0x56cb83){var _0x13ec04=_0x1af128;this['_memberService'][_0x13ec04(0x3e2)](this['_unitID'],_0x56cb83[_0x13ec04(0x345)][_0x13ec04(0x2a4)]);}async[_0x1af128(0x444)](_0x80a34e,_0x53f338){var _0x5c5ea8=_0x1af128;if(this[_0x5c5ea8(0x495)]!==0x3||!this['_socket'])throw new Error(_0x5c5ea8(0x3fd));try{_0x80a34e[_0x5c5ea8(0x492)]===_0x1d08ca[_0x5c5ea8(0x2b2)]&&(this[_0x5c5ea8(0x2ab)](),this[_0x5c5ea8(0x213)](_0x80a34e)),this[_0x5c5ea8(0x31d)][_0x5c5ea8(0x444)]({'cmd':F[_0x5c5ea8(0x373)],'routeKey':_0x53f338,'routeType':'','data':_0x80a34e});}catch(_0x3e088b){this[_0x5c5ea8(0x485)]['error'](_0x3e088b);}}[_0x1af128(0x2ab)](){var _0x23cca4=_0x1af128,_0x1633be;this[_0x23cca4(0x28c)]=setTimeout(()=>{var _0xc396d1=_0x23cca4;this[_0xc396d1(0x28c)]=null,this[_0xc396d1(0x4b1)][_0xc396d1(0x258)]({'id':se[_0xc396d1(0x3af)]});},(_0x1633be=this['_configService'][_0x23cca4(0x49e)](Si))!=null?_0x1633be:Ei);}[_0x1af128(0x4ad)](){var _0x491710=_0x1af128;this[_0x491710(0x28c)]&&(clearTimeout(this[_0x491710(0x28c)]),this[_0x491710(0x28c)]=null);}[_0x1af128(0x213)](_0x190c14){var _0x57c2e1=_0x1af128;if(!this[_0x57c2e1(0x254)])return;const {data:_0x2c8543}=_0x190c14,{unitID:_0x37a386,changeset:_0x135382}=_0x2c8543,{mutations:_0x581425,type:_0x16daaf}=_0x135382;this[_0x57c2e1(0x37b)]={'unitId':_0x37a386,'type':_0x16daaf,'startTime':performance[_0x57c2e1(0x428)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x581425)};}[_0x1af128(0x378)](){var _0x1b7aed=_0x1af128;if(this[_0x1b7aed(0x254)]){if(!this['_telemetryInfo']){this[_0x1b7aed(0x485)][_0x1b7aed(0x479)](_0x1b7aed(0x259),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1b7aed(0x37b)]['stopTime']=performance[_0x1b7aed(0x428)](),this[_0x1b7aed(0x37b)][_0x1b7aed(0x233)]=this[_0x1b7aed(0x37b)]['stopTime']-this[_0x1b7aed(0x37b)][_0x1b7aed(0x285)],this[_0x1b7aed(0x394)][_0x1b7aed(0x391)](Vn,this[_0x1b7aed(0x37b)]),this[_0x1b7aed(0x37b)]=null;}}[_0x1af128(0x3d0)](){var _0xdb2166=_0x1af128;this[_0xdb2166(0x37b)]=null;}};It=Xn([me(0x2,_0x334ed4),me(0x3,_0xb3f6ba),me(0x4,_0x50b881(_0x3d3898)),me(0x5,_0x50b881(xe)),me(0x6,_0x50b881(Ri)),me(0x7,_0x50b881(pe)),me(0x8,_0x325bd4(_0x3dbc3c))],It);var Zn=Object[_0x1af128(0x4ba)],Qn=Object[_0x1af128(0x3d3)],er=(_0x29a323,_0x52abcd,_0x56da52,_0x67f6e7)=>{for(var _0x53987b=_0x67f6e7>0x1?void 0x0:_0x67f6e7?Qn(_0x52abcd,_0x56da52):_0x52abcd,_0x5efb02=_0x29a323['length']-0x1,_0xda1e06;_0x5efb02>=0x0;_0x5efb02--)(_0xda1e06=_0x29a323[_0x5efb02])&&(_0x53987b=(_0x67f6e7?_0xda1e06(_0x52abcd,_0x56da52,_0x53987b):_0xda1e06(_0x53987b))||_0x53987b);return _0x67f6e7&&_0x53987b&&Zn(_0x52abcd,_0x56da52,_0x53987b),_0x53987b;},ge=(_0x3bfb91,_0xa98021)=>(_0x4b4fc4,_0x1963f3)=>_0xa98021(_0x4b4fc4,_0x1963f3,_0x3bfb91);let Le=class extends _0x1ec030{constructor(_0x49bd31,_0x177a1c,_0x59d771,_0x32b823,_0x5b1ef7,_0x3f506b,_0x1a34ca){var _0x3de4fb=_0x1af128;super(),N(this,_0x3de4fb(0x2bc),new _0x230061(void 0x0)),N(this,_0x3de4fb(0x443),this['_socket$'][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x350),null),N(this,'_sessions',new Map()),N(this,_0x3de4fb(0x3c8),new _0x230061(Te[_0x3de4fb(0x220)])),N(this,_0x3de4fb(0x388),this[_0x3de4fb(0x3c8)][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x415),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x3de4fb(0x20d),0x0),N(this,_0x3de4fb(0x27e)),N(this,'_timeoutTimer'),(this[_0x3de4fb(0x367)]=_0x49bd31,this['_logService']=_0x177a1c,this[_0x3de4fb(0x4d1)]=_0x59d771,this[_0x3de4fb(0x44f)]=_0x32b823,this[_0x3de4fb(0x1ea)]=_0x5b1ef7,this[_0x3de4fb(0x4b1)]=_0x3f506b,this[_0x3de4fb(0x204)]=_0x1a34ca,this['_listenToNetworkCondition']());}get[_0x1af128(0x31d)](){var _0x2c911d=_0x1af128;return this[_0x2c911d(0x2bc)][_0x2c911d(0x2f7)]();}[_0x1af128(0x433)](){var _0x42e027=_0x1af128;this[_0x42e027(0x204)]&&this[_0x42e027(0x3b0)](this[_0x42e027(0x204)][_0x42e027(0x429)][_0x42e027(0x26c)](_0x2f0566=>{var _0x40f7df=_0x42e027;_0x2f0566&&!this[_0x40f7df(0x31d)]&&this[_0x40f7df(0x2c9)](),_0x2f0566||this[_0x40f7df(0x359)]();}));}[_0x1af128(0x1d3)](){var _0x2e6ec3=_0x1af128;super[_0x2e6ec3(0x1d3)](),this['_sessions'][_0x2e6ec3(0x30f)](_0x219671=>_0x219671[_0x2e6ec3(0x1d3)]()),this[_0x2e6ec3(0x36d)][_0x2e6ec3(0x348)](),this[_0x2e6ec3(0x3c8)][_0x2e6ec3(0x3b1)]();}async['requireSession'](_0x442f0c){var _0x2443ca=_0x1af128;if(this['_sessions'][_0x2443ca(0x278)](_0x442f0c))return this[_0x2443ca(0x36d)][_0x2443ca(0x416)](_0x442f0c);this[_0x2443ca(0x331)]();const _0x2fea0c=this[_0x2443ca(0x367)][_0x2443ca(0x372)](It,_0x442f0c,this[_0x2443ca(0x2bc)][_0x2443ca(0x2c7)]());return this[_0x2443ca(0x36d)][_0x2443ca(0x255)](_0x442f0c,_0x2fea0c),_0x2fea0c;}[_0x1af128(0x3e9)](_0x2c6a29){var _0x334af3=_0x1af128,_0x2e2cb2;const _0x18e877=this['_sessions'][_0x334af3(0x416)](_0x2c6a29);_0x18e877&&(this['_sessions'][_0x334af3(0x31f)](_0x2c6a29),_0x18e877[_0x334af3(0x3c0)]()),this[_0x334af3(0x36d)][_0x334af3(0x363)]||(_0x2e2cb2=this['_socket'])==null||_0x2e2cb2[_0x334af3(0x3c0)]();}[_0x1af128(0x2c9)](){var _0x4bbd28=_0x1af128;this[_0x4bbd28(0x20d)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4bbd28(0x277)]),this['_retryConnectingTimer']=null),this[_0x4bbd28(0x2f5)]();}async[_0x1af128(0x325)](){var _0x1a5e13=_0x1af128,_0x291c71,_0x71e03c,_0x422431;const _0x36c69f=this[_0x1a5e13(0x4d1)]['getConfig'](q),_0x19d4b4=(_0x291c71=_0x36c69f==null?void 0x0:_0x36c69f['wsSessionTicketUrl'])!=null?_0x291c71:On;return(_0x422431=(_0x71e03c=(await this['_httpService'][_0x1a5e13(0x416)](_0x19d4b4,{'headers':{'Content-Type':_0x1a5e13(0x216)}}))['body'])==null?void 0x0:_0x71e03c[_0x1a5e13(0x2e5)])!=null?_0x422431:'';}['_createSocketURL'](_0xb3815a){var _0x239663=_0x1af128,_0x3dbb17,_0x171fdd;const _0x528851=this[_0x239663(0x4d1)]['getConfig'](Rn),_0x556973=this['_configService']['getConfig'](q),_0x1ad877=(_0x171fdd=(_0x3dbb17=_0x556973==null?void 0x0:_0x556973['collabWebSocketUrl'])!=null?_0x3dbb17:_0x528851)!=null?_0x171fdd:bn,_0x735a98=typeof window>'u'?new URL(_0x1ad877):new URL(_0x1ad877,window[_0x239663(0x25e)][_0x239663(0x21a)]);_0x735a98[_0x239663(0x3b4)][_0x239663(0x255)](_0x239663(0x1f5),_0xb3815a);const _0x565908=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x239663(0x25e)][_0x239663(0x2f6)]);return _0x565908['get'](_0x239663(0x264))&&_0x735a98['searchParams'][_0x239663(0x255)](_0x239663(0x264),_0x565908['get']('runId')),_0x735a98['toString']();}async[_0x1af128(0x36c)](){var _0xb5aa97=_0x1af128;const _0x9a69ae=await this[_0xb5aa97(0x325)](),_0x42be40=this['_createSocketURL'](_0x9a69ae),_0x26ec61=this[_0xb5aa97(0x44f)][_0xb5aa97(0x252)](_0x42be40);return this[_0xb5aa97(0x350)]=_0x26ec61,_0x26ec61;}async['_tryEnsureSocket'](){var _0x5e93c6=_0x1af128,_0x18b492,_0xb09e36;try{const _0x5a9f73=(_0xb09e36=(_0x18b492=this[_0x5e93c6(0x31d)])!=null?_0x18b492:this[_0x5e93c6(0x350)])!=null?_0xb09e36:await this[_0x5e93c6(0x36c)]();if(_0x5a9f73){const _0x2b1f7b=_0x5a9f73[_0x5e93c6(0x444)];_0x5a9f73[_0x5e93c6(0x444)]=_0x37394d=>(this[_0x5e93c6(0x1eb)](),_0x2b1f7b['apply'](_0x5a9f73,[_0x37394d])),_0x5a9f73[_0x5e93c6(0x45e)]['subscribe'](_0x3970da=>this['_onMessage'](_0x5a9f73,_0x3970da)),_0x5a9f73[_0x5e93c6(0x414)]['pipe'](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0x22f730=>this[_0x5e93c6(0x485)]['error'](_0x5e93c6(0x2d5),_0x22f730)),_0x5a9f73[_0x5e93c6(0x23e)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](()=>{this['_onConnectionOpen'](_0x5a9f73);}),_0x5a9f73[_0x5e93c6(0x409)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0xf3f952=>{var _0xfdaf72=_0x5e93c6;this[_0xfdaf72(0x485)]['debug'](_0xfdaf72(0x3e1),_0xfdaf72(0x43a),_0xf3f952),this[_0xfdaf72(0x33a)]();});}}catch(_0x992d87){this[_0x5e93c6(0x485)][_0x5e93c6(0x479)](_0x992d87),this[_0x5e93c6(0x33a)]();}}[_0x1af128(0x3d5)](_0x1f03e0){var _0x24eecf=_0x1af128;this[_0x24eecf(0x485)]['debug'](_0x24eecf(0x3e1),_0x24eecf(0x4c8)),_0x1f03e0['send']({'cmd':F[_0x24eecf(0x3f4)]}),this[_0x24eecf(0x1eb)]();}[_0x1af128(0x359)](){var _0x65b36d=_0x1af128;this[_0x65b36d(0x415)]=!0x1,this[_0x65b36d(0x350)]=null,this[_0x65b36d(0x3c8)]['next'](Te['OFFLINE']),this[_0x65b36d(0x2bc)][_0x65b36d(0x2cb)](null),this[_0x65b36d(0x203)](),this['_clearHeartbeatTimer']();}[_0x1af128(0x33a)](){var _0xf5a411=_0x1af128,_0x271aba;this[_0xf5a411(0x359)](),this[_0xf5a411(0x20d)]<((_0x271aba=this[_0xf5a411(0x4d1)][_0xf5a411(0x49e)](Pn))!=null?_0x271aba:wn)?(this['_collaborationUIEventService'][_0xf5a411(0x258)]({'id':se[_0xf5a411(0x420)]}),this[_0xf5a411(0x2f5)]()):this[_0xf5a411(0x4b1)]['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x1af128(0x2f5)](){var _0x40129f=_0x1af128,_0x53b224;const _0x162d80=this[_0x40129f(0x20d)],_0x19d3fc=this[_0x40129f(0x4d1)][_0x40129f(0x49e)](q),_0x5e01e4=_0x162d80===0x0?0x0:((_0x53b224=_0x19d3fc==null?void 0x0:_0x19d3fc[_0x40129f(0x496)])!=null?_0x53b224:Dn)*0x2**_0x162d80;this['_retryConnectingTimer']=setTimeout(()=>{var _0x547c70=_0x40129f;clearTimeout(this[_0x547c70(0x277)]),this[_0x547c70(0x277)]=null,this['_tryEnsureSocket']();},_0x5e01e4),this[_0x40129f(0x20d)]+=0x1;}[_0x1af128(0x44d)](_0x4fa5f9,_0x48bed8){var _0x4cc1e4=_0x1af128;const {cmd:_0x2255d3}=_0x48bed8;_0x2255d3===F['HELLO']&&!this[_0x4cc1e4(0x415)]&&(_0x4fa5f9[_0x4cc1e4(0x2a4)]=_0x48bed8[_0x4cc1e4(0x345)]['memberID'],this[_0x4cc1e4(0x2bc)][_0x4cc1e4(0x2cb)](_0x4fa5f9),this[_0x4cc1e4(0x3c8)][_0x4cc1e4(0x2cb)](Te[_0x4cc1e4(0x336)]),this[_0x4cc1e4(0x415)]=!0x0,this[_0x4cc1e4(0x350)]=null),_0x2255d3===F['HEARTBEAT']&&this[_0x4cc1e4(0x203)](),this['_rescheduleHeartbeat']();}[_0x1af128(0x1eb)](){var _0x50c041=_0x1af128,_0x5cb7c7;this[_0x50c041(0x43c)](),this[_0x50c041(0x27e)]=setTimeout(()=>this[_0x50c041(0x470)](),(_0x5cb7c7=this['_configService'][_0x50c041(0x49e)](yn))!=null?_0x5cb7c7:Nn);}['_sendHeartbeat'](){var _0x5ccd9c=_0x1af128;this[_0x5ccd9c(0x31d)]['send']({'cmd':F[_0x5ccd9c(0x475)]}),this['_waitForHeartbeatResponse']();}[_0x1af128(0x3cd)](){var _0x694731=_0x1af128,_0x19a885;this[_0x694731(0x49a)]=setTimeout(()=>this[_0x694731(0x33a)](),(_0x19a885=this[_0x694731(0x4d1)][_0x694731(0x49e)](Si))!=null?_0x19a885:Ei);}['_clearHeartbeatTimer'](){var _0x20cec5=_0x1af128;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20cec5(0x27e)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x369bf5=_0x1af128;this[_0x369bf5(0x49a)]!=null&&(clearTimeout(this[_0x369bf5(0x49a)]),this[_0x369bf5(0x49a)]=null);}};Le=er([ge(0x0,_0x50b881(_0x339edd)),ge(0x1,_0x334ed4),ge(0x2,_0xb3f6ba),ge(0x3,Ci),ge(0x4,_0x50b881(_0x51273b)),ge(0x5,_0x50b881(pe)),ge(0x6,_0x325bd4(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x1af128(0x2ad)]((n+0x100)[_0x1af128(0x4d5)](0x10)[_0x1af128(0x386)](0x1));function tr(_0x520935,_0x30c155=0x0){var _0x54938e=_0x1af128;return(V[_0x520935[_0x30c155+0x0]]+V[_0x520935[_0x30c155+0x1]]+V[_0x520935[_0x30c155+0x2]]+V[_0x520935[_0x30c155+0x3]]+'-'+V[_0x520935[_0x30c155+0x4]]+V[_0x520935[_0x30c155+0x5]]+'-'+V[_0x520935[_0x30c155+0x6]]+V[_0x520935[_0x30c155+0x7]]+'-'+V[_0x520935[_0x30c155+0x8]]+V[_0x520935[_0x30c155+0x9]]+'-'+V[_0x520935[_0x30c155+0xa]]+V[_0x520935[_0x30c155+0xb]]+V[_0x520935[_0x30c155+0xc]]+V[_0x520935[_0x30c155+0xd]]+V[_0x520935[_0x30c155+0xe]]+V[_0x520935[_0x30c155+0xf]])[_0x54938e(0x3fb)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x5ddab2=_0x1af128;if(!ut){if(typeof crypto>'u'||!crypto[_0x5ddab2(0x25c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x5ddab2(0x25c)][_0x5ddab2(0x1f1)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x1af128(0x2aa)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':rr};function sr(_0x12ac45,_0x5c9654,_0x2a4b71){var _0x1ff54e=_0x1af128,_0x34b635,_0x36372e,_0x8298f8;if(qt[_0x1ff54e(0x2aa)]&&!_0x12ac45)return qt[_0x1ff54e(0x2aa)]();_0x12ac45=_0x12ac45||{};const _0x475763=(_0x8298f8=(_0x36372e=_0x12ac45[_0x1ff54e(0x1d7)])!=null?_0x36372e:(_0x34b635=_0x12ac45[_0x1ff54e(0x2be)])==null?void 0x0:_0x34b635[_0x1ff54e(0x3f9)](_0x12ac45))!=null?_0x8298f8:nr();if(_0x475763[_0x1ff54e(0x431)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x475763[0x6]=_0x475763[0x6]&0xf|0x40,_0x475763[0x8]=_0x475763[0x8]&0x3f|0x80,tr(_0x475763);}const J=_0x22f5cd(_0x1af128(0x304));function so(_0x213a4d){var _0x38f52b=_0x1af128;return _0x38f52b(0x20b)+_0x213a4d;}var or=Object[_0x1af128(0x4ba)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x56aad5,_0x38c743,_0x3c6ef6,_0x3e226a)=>{var _0x15f44c=_0x1af128;for(var _0x481e7e=_0x3e226a>0x1?void 0x0:_0x3e226a?ar(_0x38c743,_0x3c6ef6):_0x38c743,_0x131cba=_0x56aad5[_0x15f44c(0x431)]-0x1,_0x33d203;_0x131cba>=0x0;_0x131cba--)(_0x33d203=_0x56aad5[_0x131cba])&&(_0x481e7e=(_0x3e226a?_0x33d203(_0x38c743,_0x3c6ef6,_0x481e7e):_0x33d203(_0x481e7e))||_0x481e7e);return _0x3e226a&&_0x481e7e&&or(_0x38c743,_0x3c6ef6,_0x481e7e),_0x481e7e;},dt=(_0x4fc5db,_0xa363bf)=>(_0x15576d,_0xc3ea2)=>_0xa363bf(_0x15576d,_0xc3ea2,_0x4fc5db);function hr(_0x4a0c70){var _0x5a7596=_0x1af128;const {unitID:_0x154626,mutations:_0x354658}=_0x4a0c70;return{'unitId':_0x154626,'subUnitId':_0x354658[0x0][_0x5a7596(0x311)]['subUnitId']};}let it=class{constructor(_0x3ccea9,_0x17883e,_0x25239f){var _0x5e837b=_0x1af128;this[_0x5e837b(0x367)]=_0x3ccea9,this[_0x5e837b(0x44a)]=_0x17883e,this['_instanceService']=_0x25239f;}[_0x1af128(0x3aa)](_0x3ea5fa){var _0x3f7256=_0x1af128,_0xa6e842,_0xa507a5,_0xcd0041,_0x506449;const _0x327398=this[_0x3f7256(0x367)]['get'](_0x370139),{unitId:_0x564ab2,subUnitId:_0x46a322}=hr(_0x3ea5fa),_0x5d5f89=_0x327398==null?void 0x0:_0x327398[_0x3f7256(0x4cd)](_0x564ab2)[_0x3f7256(0x3bf)](),_0x5227b9=(_0xa507a5=(_0xa6e842=this[_0x3f7256(0x310)][_0x3f7256(0x396)](_0x564ab2))==null?void 0x0:_0xa6e842['getActiveSheet']())==null?void 0x0:_0xa507a5[_0x3f7256(0x44e)]();if(_0x5d5f89['length']===0x0||!_0x564ab2||!_0x46a322)return;const _0x3b4012=[{'id':_0x2d5539['id'],'params':{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x15157c[_0x3f7256(0x2fc)](_0x5d5f89)}}],_0x5e5136=this['_transformService'][_0x3f7256(0x29f)](_0x3ea5fa,_0x3b4012);if(!_0x49a34e(_0x5e5136))throw _0x5e5136[_0x3f7256(0x479)];const _0x1383fe=(_0x506449=(_0xcd0041=_0x5e5136['m2Prime'][0x0])==null?void 0x0:_0xcd0041[_0x3f7256(0x311)])==null?void 0x0:_0x506449[_0x3f7256(0x275)];if(Array[_0x3f7256(0x22f)](_0x1383fe)&&_0x1383fe[_0x3f7256(0x431)]){if(_0x1383fe[_0x3f7256(0x431)]===_0x3b4012[0x0][_0x3f7256(0x311)]['selections'][_0x3f7256(0x431)]&&_0x1383fe[_0x3f7256(0x481)]((_0x2fcf7a,_0x37d130)=>_0x47e43a[_0x3f7256(0x454)](_0x2fcf7a[_0x3f7256(0x25b)],_0x3b4012[0x0][_0x3f7256(0x311)][_0x3f7256(0x275)][_0x37d130][_0x3f7256(0x25b)])))return;this[_0x3f7256(0x367)][_0x3f7256(0x416)](_0x4f3e11)[_0x3f7256(0x283)](_0x2d5539['id'],{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x1383fe});}}};it=cr([dt(0x0,_0x50b881(_0x339edd)),dt(0x1,_0x207f44),dt(0x2,_0x42b8e7)],it);const ht=_0x22f5cd('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x4bef2d=>(_0x4bef2d[_0x4bef2d[_0x1af128(0x456)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4bef2d[_0x4bef2d[_0x1af128(0x212)]=0x1]='OTHER_CLIENTS_EDITING',_0x4bef2d))(bi||{});const _r=new Set([_0x361fa7['id']]);function zt(_0x144034,_0x1060e5,_0x3a7ed4,_0xdef30,_0x2564d8){var _0x365fcc=_0x1af128,_0xb44493,_0x6898fc,_0x2f2ed9,_0x236de7;const _0x154c46=[];for(const _0x2ce3f3 of _0x144034)if(_r[_0x365fcc(0x278)](_0x2ce3f3['id'])){if(_0x154c46['length']>0x0)break;_0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);break;}else _0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);const _0x138525=(_0x6898fc=(_0xb44493=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0xb44493[_0x365fcc(0x2c6)])!=null?_0x6898fc:'unknown',_0x33fda6=(_0x236de7=(_0x2f2ed9=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0x2f2ed9[_0x365fcc(0x2a4)])!=null?_0x236de7:'unknown';return{'changeset':{'unitID':_0x1060e5,'type':_0x3450b7(_0x3a7ed4[_0x365fcc(0x26a)](_0x1060e5)),'baseRev':_0xdef30[_0x365fcc(0x224)](_0x1060e5),'revision':0x0,'userID':_0x138525,'memberID':_0x33fda6,'mutations':_0x154c46},'pendingMutations':_0x144034[_0x365fcc(0x386)](_0x154c46[_0x365fcc(0x431)])};}function lr(_0x48e31e,_0x5d643e,_0x1b3807,_0x5ba7e4,_0x58f67c){var _0x1ff6d9=_0x1af128,_0x378d0b,_0x1be4bc,_0x922ef4,_0x321676;const _0x584fea=[_0x48e31e[_0x1ff6d9(0x327)]((_0x5688b2,_0x5db1d8)=>{var _0x4a8315=_0x1ff6d9,_0x4b670f;const {id:_0x1b4f6d}=_0x5688b2,{id:_0x27841b,type:_0x990842}=_0x5db1d8,_0x4c47de=(_0x4b670f=_0x5688b2[_0x4a8315(0x311)])!=null?_0x4b670f:{'actions':null},_0x19a4e3=_0x5db1d8[_0x4a8315(0x311)];if(_0x1b4f6d&&_0x1b4f6d!==_0x27841b)throw new Error(_0x4a8315(0x309)+_0x1b4f6d+'\x20-\x20'+_0x27841b+'.');return{..._0x5688b2,'id':_0x27841b,'type':_0x990842,'params':{'unitId':_0x19a4e3[_0x4a8315(0x379)],'textRanges':_0x19a4e3[_0x4a8315(0x3c1)],'actions':_0x4890ac[_0x4a8315(0x398)](_0x4c47de['actions'],_0x19a4e3[_0x4a8315(0x366)])}};},{})],_0x179378=(_0x1be4bc=(_0x378d0b=_0x58f67c[_0x1ff6d9(0x1dc)]())==null?void 0x0:_0x378d0b[_0x1ff6d9(0x2c6)])!=null?_0x1be4bc:_0x1ff6d9(0x2a7),_0x3f9e72=(_0x321676=(_0x922ef4=_0x58f67c['getCurrentUser']())==null?void 0x0:_0x922ef4[_0x1ff6d9(0x2a4)])!=null?_0x321676:'unknown';return{'changeset':{'unitID':_0x5d643e,'type':_0x3450b7(_0x1b3807[_0x1ff6d9(0x26a)](_0x5d643e)),'baseRev':_0x5ba7e4[_0x1ff6d9(0x224)](_0x5d643e),'revision':0x0,'userID':_0x179378,'memberID':_0x3f9e72,'mutations':_0x584fea},'pendingMutations':[]};}function Oi(_0x11efea,_0x184cad){var _0xf434e4=_0x1af128;const _0x2ed9ed=new _0x55eb7f(0x1);return setTimeout(()=>_0x2ed9ed[_0xf434e4(0x2cb)](_0x184cad),_0x11efea),_0x2ed9ed[_0xf434e4(0x2c7)]()['pipe'](_0x2a8f0e(0x1));}const ur={'id':_0x1a6a86['id'],'type':_0x572a97[_0x1af128(0x480)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x1af128(0x3d3)],Re=(_0xcf857a,_0x1cc08e,_0x33c596,_0x590512)=>{var _0x309fc5=_0x1af128;for(var _0x4d7ddb=_0x590512>0x1?void 0x0:_0x590512?fr(_0x1cc08e,_0x33c596):_0x1cc08e,_0x8ee662=_0xcf857a[_0x309fc5(0x431)]-0x1,_0x118ce3;_0x8ee662>=0x0;_0x8ee662--)(_0x118ce3=_0xcf857a[_0x8ee662])&&(_0x4d7ddb=(_0x590512?_0x118ce3(_0x1cc08e,_0x33c596,_0x4d7ddb):_0x118ce3(_0x4d7ddb))||_0x4d7ddb);return _0x590512&&_0x4d7ddb&&dr(_0x1cc08e,_0x33c596,_0x4d7ddb),_0x4d7ddb;},A=(_0xfcb904,_0x4bcc74)=>(_0x5c1cc9,_0x4e2d62)=>_0x4bcc74(_0x5c1cc9,_0x4e2d62,_0xfcb904),yi=(_0x1a8b2b=>(_0x1a8b2b[_0x1af128(0x22a)]='not_collab',_0x1a8b2b[_0x1af128(0x380)]=_0x1af128(0x49f),_0x1a8b2b['PENDING']='pending',_0x1a8b2b[_0x1af128(0x384)]=_0x1af128(0x3fe),_0x1a8b2b['AWAITING_WITH_PENDING']=_0x1af128(0x34c),_0x1a8b2b[_0x1af128(0x1ff)]=_0x1af128(0x4cb),_0x1a8b2b[_0x1af128(0x3dc)]=_0x1af128(0x47e),_0x1a8b2b[_0x1af128(0x2b8)]=_0x1af128(0x375),_0x1a8b2b))(yi||{});const Ni=0xea60;class be{constructor(_0x5452d5,_0x19fc95,_0x626838,_0x418af8,_0x4b06de,_0x5cfa51,_0x1ac612,_0x561631,_0x28701a){var _0x2b687f=_0x1af128;N(this,_0x2b687f(0x4d0),null),N(this,_0x2b687f(0x28d),[]),(this[_0x2b687f(0x1fa)]=_0x5452d5,this[_0x2b687f(0x417)]=_0x19fc95,this['_handler']=_0x4b06de,this[_0x2b687f(0x32c)]=_0x5cfa51,this[_0x2b687f(0x1ee)]=_0x1ac612,this['_revisionService']=_0x561631,this[_0x2b687f(0x1e8)]=_0x28701a,this['_awaitingChangeset']=_0x626838,this[_0x2b687f(0x28d)]=_0x418af8);}[_0x1af128(0x274)](_0x5b956b){var _0x30c0af=_0x1af128;const _0x227a47=this[_0x30c0af(0x1f3)][_0x30c0af(0x224)](this[_0x30c0af(0x1fa)]);return _0x5b956b[_0x30c0af(0x244)]>_0x227a47+0x1?(this[_0x30c0af(0x321)]['onMissingChangesets']({'from':_0x227a47,'to':_0x5b956b[_0x30c0af(0x244)]-0x1}),!0x0):!0x1;}[_0x1af128(0x2f9)](_0x134ec1){var _0x3a7924=_0x1af128;this['_undoRedoService'][_0x3a7924(0x2de)](this['unitID'],_0x134ec1);}[_0x1af128(0x353)](_0xe19362){var _0x2f9d66=_0x1af128,_0x36b68b,_0x243c67;(_0x243c67=(_0x36b68b=this['_handler'])['onTransformSelections'])==null||_0x243c67[_0x2f9d66(0x3f9)](_0x36b68b,_0xe19362);}[_0x1af128(0x2b5)](_0x53ecc1){var _0x5c280a=_0x1af128,_0x37d63a,_0x1ef900;return(_0x1ef900=(_0x37d63a=this[_0x5c280a(0x321)])[_0x5c280a(0x457)])==null?void 0x0:_0x1ef900['call'](_0x37d63a,_0x53ecc1);}[_0x1af128(0x343)](_0x5c509e){var _0x29d7e7=_0x1af128,_0x4fc22d,_0x585d9e;return(_0x585d9e=(_0x4fc22d=this[_0x29d7e7(0x321)])[_0x29d7e7(0x36e)])==null?void 0x0:_0x585d9e[_0x29d7e7(0x3f9)](_0x4fc22d,_0x5c509e);}[_0x1af128(0x4d6)](_0x4db1cf){var _0x2e5dc8=_0x1af128,_0x3c8b19,_0xbfdfb2,_0x5131fb;return(_0x5131fb=(_0xbfdfb2=(_0x3c8b19=this[_0x2e5dc8(0x321)])[_0x2e5dc8(0x45d)])==null?void 0x0:_0xbfdfb2[_0x2e5dc8(0x3f9)](_0x3c8b19,_0x4db1cf))!=null?_0x5131fb:_0x4db1cf;}[_0x1af128(0x3a4)](_0x2f355b){var _0x3612c9=_0x1af128,_0x20f550,_0x256ea9,_0xccc4b;return(_0xccc4b=(_0x256ea9=(_0x20f550=this[_0x3612c9(0x321)])[_0x3612c9(0x2c1)])==null?void 0x0:_0x256ea9[_0x3612c9(0x3f9)](_0x20f550,_0x2f355b))!=null?_0xccc4b:_0x2f355b;}[_0x1af128(0x3a8)](_0xb540d8){var _0x515809=_0x1af128,_0x191589,_0x87a6b7;if(this[_0x515809(0x417)]===Q[_0x515809(0x43b)]){const {unitID:_0x4c6871,mutations:_0x4eef9b,memberID:_0x11935b}=_0xb540d8,_0x244317=_0x4eef9b[0x0][_0x515809(0x311)]['textRanges'];Array['isArray'](_0x244317)&&_0x244317['length']>0x0&&((_0x87a6b7=(_0x191589=this[_0x515809(0x321)])[_0x515809(0x221)])==null||_0x87a6b7['call'](_0x191589,{'unitID':_0x4c6871,'memberID':_0x11935b,'textRanges':_0x244317}));}}['_updateLocalCache'](){var _0x298343=_0x1af128,_0x2ccae2;(_0x2ccae2=this[_0x298343(0x1e8)])==null||_0x2ccae2['updateOfflineData'](this['unitID'],this['type'],this[_0x298343(0x4d0)],this['_pendingMutations']);}[_0x1af128(0x490)](){var _0x49bb82=_0x1af128;return this[_0x49bb82(0x1f3)][_0x49bb82(0x224)](this[_0x49bb82(0x1fa)]);}[_0x1af128(0x28e)](){var _0x146c45=_0x1af128;this[_0x146c45(0x1f3)][_0x146c45(0x236)](this['unitID']);}[_0x1af128(0x464)](_0x45993e){var _0x38eabd=_0x1af128,_0x461da1;let _0x24a6fe=this[_0x38eabd(0x4d6)](_0x45993e);_0x24a6fe=this[_0x38eabd(0x3a4)](_0x24a6fe);const _0x3bc693=_0x596acb(_0x24a6fe[_0x38eabd(0x4a4)],this[_0x38eabd(0x32c)],{'fromCollab':!0x0});if(!_0x3bc693[_0x38eabd(0x371)])throw _0x3bc693['error']instanceof Error?_0x3bc693[_0x38eabd(0x479)]:new Error((_0x461da1=_0x3bc693['error'])!=null?_0x461da1:_0x38eabd(0x4a0));this[_0x38eabd(0x2b5)](_0x24a6fe),this[_0x38eabd(0x343)](_0x24a6fe),this[_0x38eabd(0x2f9)](_0x45993e),this[_0x38eabd(0x353)](_0x24a6fe),this['_syncEditingCollabCursor'](_0x24a6fe),this[_0x38eabd(0x28e)]();}}let De=class extends be{constructor(_0xc5cb0f,_0x5207c1,_0x56807e,_0x5b688a,_0x33cf44,_0x42253b,_0x30d3ae,_0x548dcc,_0x55ba4b,_0x407aac){var _0xcf747e=_0x1af128;super(_0xc5cb0f,_0x5207c1,null,[],_0x56807e,_0x30d3ae,_0x42253b,_0x5b688a,_0x407aac),N(this,_0xcf747e(0x29e),_0xcf747e(0x49f)),(this[_0xcf747e(0x367)]=_0x33cf44,this[_0xcf747e(0x485)]=_0x548dcc,this['_transformService']=_0x55ba4b,this[_0xcf747e(0x2e8)]=_0x407aac);}[_0x1af128(0x2a1)](_0x272b55){var _0x523f3e=_0x1af128;const _0x126074=this['_injector']['createInstance'](oe,this[_0x523f3e(0x1fa)],this[_0x523f3e(0x417)],[_0x272b55],this[_0x523f3e(0x321)]);return _0x126074[_0x523f3e(0x4b7)](),_0x126074[_0x523f3e(0x1ed)](),_0x126074;}[_0x1af128(0x22b)](_0x3d395b){var _0x5591a8=_0x1af128;if(this[_0x5591a8(0x274)](_0x3d395b))return this['_injector'][_0x5591a8(0x372)](te,this[_0x5591a8(0x1fa)],this[_0x5591a8(0x417)],null,[],null,[_0x3d395b],this['_handler']);try{const _0x409bbe=this[_0x5591a8(0x44a)][_0x5591a8(0x29f)](_0x3d395b,[ur]);if(_0x49a34e(_0x409bbe)){const {c1Prime:_0x4a6813}=_0x409bbe;return this[_0x5591a8(0x464)](_0x4a6813),this;}throw _0x409bbe[_0x5591a8(0x479)];}catch(_0x1cdf7a){return this[_0x5591a8(0x485)][_0x5591a8(0x479)](_0x1cdf7a),this[_0x5591a8(0x438)](!0x1);}}[_0x1af128(0x438)](_0x385f46){var _0x2a6040=_0x1af128;return this[_0x2a6040(0x367)][_0x2a6040(0x372)](de,this[_0x2a6040(0x1fa)],this[_0x2a6040(0x417)],null,[],this[_0x2a6040(0x321)],_0x385f46);}[_0x1af128(0x4b0)](){var _0x618c34=_0x1af128;throw new Error(_0x618c34(0x3ad));}[_0x1af128(0x37e)](){var _0x52bee9=_0x1af128;throw new Error(_0x52bee9(0x26e));}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x4007c4=_0x1af128;return this[_0x4007c4(0x367)][_0x4007c4(0x372)](fe,this[_0x4007c4(0x1fa)],this[_0x4007c4(0x417)],null,[],this[_0x4007c4(0x321)]);}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x264132=_0x1af128;throw new Error(_0x264132(0x466));}[_0x1af128(0x261)](){var _0xe75e67=_0x1af128;const _0x221a38=this[_0xe75e67(0x1f3)][_0xe75e67(0x224)](this['unitID']);return this[_0xe75e67(0x321)][_0xe75e67(0x269)]({'from':_0x221a38,'to':0x0}),this[_0xe75e67(0x367)][_0xe75e67(0x372)](te,this[_0xe75e67(0x1fa)],this['type'],null,[],null,[],this[_0xe75e67(0x321)]);}};De=Re([A(0x3,_0x50b881(_0x1c117d)),A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x16445d),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x325bd4(J))],De);let oe=class extends be{constructor(_0x2caa22,_0x24ba8c,_0x1a160a,_0x27920a,_0x1ed471,_0x488a75,_0x4d3fbb,_0x119206,_0xcfb6d9,_0x1a572e,_0x76ddcd,_0x669117,_0x245ec4,_0x43ac96){var _0x566615=_0x1af128;super(_0x2caa22,_0x24ba8c,null,_0x1a160a,_0x27920a,_0xcfb6d9,_0x245ec4,_0x488a75,_0x43ac96),N(this,_0x566615(0x29e),_0x566615(0x486)),N(this,_0x566615(0x32f),null),N(this,_0x566615(0x43f),null),(this[_0x566615(0x367)]=_0x1ed471,this[_0x566615(0x37c)]=_0x4d3fbb,this[_0x566615(0x485)]=_0x119206,this[_0x566615(0x4d1)]=_0x1a572e,this['_transformService']=_0x76ddcd,this[_0x566615(0x332)]=_0x669117);}[_0x1af128(0x2a1)](_0x4a70ac){var _0xe686bb=_0x1af128;return this['_pendingMutations'][_0xe686bb(0x2ad)](_0x4a70ac),this[_0xe686bb(0x1ed)](),this;}[_0x1af128(0x22b)](_0x295ec6){var _0x491d2f=_0x1af128;if(this[_0x491d2f(0x274)](_0x295ec6))return this[_0x491d2f(0x1e0)](),this['_injector'][_0x491d2f(0x372)](te,this[_0x491d2f(0x1fa)],this[_0x491d2f(0x417)],null,this['_pendingMutations'],null,[_0x295ec6],this['_handler']);try{const _0x281e52=this[_0x491d2f(0x44a)][_0x491d2f(0x29f)](_0x295ec6,this[_0x491d2f(0x28d)]);if(_0x49a34e(_0x281e52)){const {c1Prime:_0x3bd7f9,m2Prime:_0x5937e2}=_0x281e52;this[_0x491d2f(0x464)](_0x3bd7f9);const _0x19b492=this[_0x491d2f(0x367)][_0x491d2f(0x372)](oe,this['unitID'],this[_0x491d2f(0x417)],_0x5937e2,this['_handler']);this['_clearScheduledTask']();const _0xa0e110=new Date()[_0x491d2f(0x219)](),_0x921ea1=this[_0x491d2f(0x32f)]?Math['max'](this['_scheduleCompleteTimestamp']-_0xa0e110,0x0):this[_0x491d2f(0x2ec)]();return _0x19b492[_0x491d2f(0x4b7)](_0x921ea1),_0x19b492;}throw _0x281e52[_0x491d2f(0x479)];}catch(_0x2e7838){return this['_logService'][_0x491d2f(0x479)](_0x2e7838),this[_0x491d2f(0x438)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1af128(0x37e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x1ba3e1=_0x1af128;return this['_clearScheduledTask'](),this[_0x1ba3e1(0x367)][_0x1ba3e1(0x372)](fe,this[_0x1ba3e1(0x1fa)],this['type'],null,this[_0x1ba3e1(0x28d)],this[_0x1ba3e1(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x4b7)](_0x2f9cdf){var _0x49af8a=_0x1af128;const _0x46ac41=_0x2f9cdf!=null?_0x2f9cdf:this['_getSendChangesetTimeout']();this[_0x49af8a(0x32f)]=new Date()[_0x49af8a(0x219)]()+_0x46ac41,this[_0x49af8a(0x43f)]=setTimeout(()=>{var _0x1ebecc=_0x49af8a;this[_0x1ebecc(0x1e0)]();let _0x4b988f=null;switch(this[_0x1ebecc(0x417)]){case Q['UNIVER_SHEET']:{_0x4b988f=zt(this['_pendingMutations'],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}case Q[_0x1ebecc(0x43b)]:{this[_0x1ebecc(0x28d)][_0x1ebecc(0x481)](_0x22b333=>_0x22b333['id']===_0x582104['id'])?_0x4b988f=lr(this[_0x1ebecc(0x28d)],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this[_0x1ebecc(0x37c)]):_0x4b988f=zt(this['_pendingMutations'],this[_0x1ebecc(0x1fa)],this['_univerInstanceService'],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}default:throw new Error(_0x1ebecc(0x385)+this[_0x1ebecc(0x417)]+_0x1ebecc(0x406));}const {changeset:_0x21432f,pendingMutations:_0x19f671}=_0x4b988f;this['_handler'][_0x1ebecc(0x22c)](_0x21432f);const _0x18ae4f=_0x19f671[_0x1ebecc(0x431)]?this[_0x1ebecc(0x367)]['createInstance'](ae,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,_0x19f671,this[_0x1ebecc(0x321)],void 0x0):this[_0x1ebecc(0x367)][_0x1ebecc(0x372)](ue,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,this[_0x1ebecc(0x321)]);_0x18ae4f[_0x1ebecc(0x1ed)](),this[_0x1ebecc(0x321)][_0x1ebecc(0x248)](this,_0x18ae4f);},_0x46ac41);}[_0x1af128(0x2ec)](){var _0x308b26=_0x1af128,_0x2af338;const _0x2b8d04=this['_configService']['getConfig'](q);return(_0x2af338=_0x2b8d04==null?void 0x0:_0x2b8d04[_0x308b26(0x25a)])!=null?_0x2af338:Cn;}[_0x1af128(0x2b9)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1af128(0x1e0)](){var _0x3cc3d2=_0x1af128;this[_0x3cc3d2(0x43f)]!=null&&(clearTimeout(this[_0x3cc3d2(0x43f)]),this['_sendingTimer']=null);}[_0x1af128(0x438)](_0x291f2e){var _0x279457=_0x1af128;return this['_clearScheduledTask'](),this[_0x279457(0x367)][_0x279457(0x372)](de,this[_0x279457(0x1fa)],this['type'],null,this[_0x279457(0x28d)],this['_handler'],_0x291f2e);}};oe=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x50b881(xe)),A(0x7,_0x334ed4),A(0x8,_0x4f3e11),A(0x9,_0xb3f6ba),A(0xa,_0x207f44),A(0xb,_0x42b8e7),A(0xc,_0x16445d),A(0xd,_0x325bd4(J))],oe);let ue=class extends be{constructor(_0x55d0a2,_0x243cd0,_0x55b659,_0x28e219,_0x4af1c9,_0x210a34,_0x23db15,_0x4fde02,_0x43537f,_0x4a67a2,_0xacccc8){var _0x56d2d7=_0x1af128;super(_0x55d0a2,_0x243cd0,_0x55b659,[],_0x28e219,_0x23db15,_0x4a67a2,_0x210a34,_0xacccc8),N(this,_0x56d2d7(0x29e),_0x56d2d7(0x3fe)),N(this,'_resendTimeout',0x0),N(this,_0x56d2d7(0x21c)),N(this,_0x56d2d7(0x33c)),(this['_injector']=_0x4af1c9,this[_0x56d2d7(0x485)]=_0x4fde02,this[_0x56d2d7(0x44a)]=_0x43537f);}['appendMutation'](_0x56bfbc){var _0x18aa0e=_0x1af128;this['_clearScheduledTask']();const _0x890be3=this[_0x18aa0e(0x367)]['createInstance'](ae,this[_0x18aa0e(0x1fa)],this['type'],this['_awaitingChangeset'],[_0x56bfbc],this[_0x18aa0e(0x321)],this['_resendTimer']);return _0x890be3[_0x18aa0e(0x1ed)](),_0x890be3;}[_0x1af128(0x22b)](_0x1e8534){var _0x10a45c=_0x1af128;if(this['_checkMissing'](_0x1e8534))return this[_0x10a45c(0x1e0)](),this['_injector']['createInstance'](te,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],this[_0x10a45c(0x4d0)],[],null,[_0x1e8534],this[_0x10a45c(0x321)]);try{const _0x3e405f=this[_0x10a45c(0x44a)][_0x10a45c(0x45f)]([_0x1e8534],[this[_0x10a45c(0x4d0)]],!0x1);if(_0x397f0a(_0x3e405f)){const {c1Prime:_0x283a7a,c2Prime:_0x5aaa27}=_0x3e405f;this[_0x10a45c(0x464)](_0x283a7a[0x0]),_0x5aaa27[0x0][_0x10a45c(0x2d2)]=this['_getCurrentRevision'](),this[_0x10a45c(0x1e0)]();const _0x343eba=this[_0x10a45c(0x367)][_0x10a45c(0x372)](ue,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],_0x5aaa27[0x0],this['_handler']);return _0x343eba[_0x10a45c(0x1ed)](),_0x343eba;}return this[_0x10a45c(0x438)](!0x1);}catch(_0x2628d3){return this[_0x10a45c(0x485)][_0x10a45c(0x479)](_0x2628d3),this[_0x10a45c(0x438)](!0x1);}}[_0x1af128(0x4b0)](_0x4ce7c5){var _0x3df313=_0x1af128;this[_0x3df313(0x1e0)]();const _0x28d079=this['_revisionService'][_0x3df313(0x224)](this[_0x3df313(0x1fa)]);if(_0x4ce7c5[_0x3df313(0x244)]<_0x28d079-0x1)return this;if(this[_0x3df313(0x274)](_0x4ce7c5))return this[_0x3df313(0x367)][_0x3df313(0x372)](te,this[_0x3df313(0x1fa)],this[_0x3df313(0x417)],null,[],this[_0x3df313(0x4d0)],[],this['_handler']);this[_0x3df313(0x28e)]();const _0x377af5=this[_0x3df313(0x367)]['createInstance'](De,this['unitID'],this[_0x3df313(0x417)],this[_0x3df313(0x321)]);return _0x377af5[_0x3df313(0x1ed)](),_0x377af5;}[_0x1af128(0x37e)](_0x3b8826){var _0x4fd6fb=_0x1af128;return this['_onConflict'](!!(_0x3b8826!=null&&_0x3b8826[_0x4fd6fb(0x3ec)]));}[_0x1af128(0x1d9)](_0x5764b1){var _0xd12ca9=_0x1af128;return this[_0xd12ca9(0x20e)]>Ni?this[_0xd12ca9(0x24e)]():(this['_resendTimer']=Oi(this[_0xd12ca9(0x20e)],{'timeout':this['_resendTimeout'],'reqId':_0x5764b1[_0xd12ca9(0x467)]}),this['_sender']=this[_0xd12ca9(0x21c)][_0xd12ca9(0x26c)](({reqId:_0x13a7ab,timeout:_0x452649})=>{var _0x1f83a1=_0xd12ca9;this[_0x1f83a1(0x455)](_0x13a7ab,_0x452649);}),this);}['toggleOffline'](){var _0x43b3a7=_0x1af128;return this[_0x43b3a7(0x1e0)](),this[_0x43b3a7(0x367)][_0x43b3a7(0x372)](fe,this[_0x43b3a7(0x1fa)],this[_0x43b3a7(0x417)],this['_awaitingChangeset'],[],this[_0x43b3a7(0x321)]);}['toggleOnline'](){return this;}[_0x1af128(0x2b9)](){var _0x4bf26e=_0x1af128;this[_0x4bf26e(0x321)]['onSendChangeset'](this[_0x4bf26e(0x4d0)]);}[_0x1af128(0x438)](_0xd521){var _0x2e7ffd=_0x1af128;return this[_0x2e7ffd(0x1e0)](),this[_0x2e7ffd(0x367)][_0x2e7ffd(0x372)](de,this[_0x2e7ffd(0x1fa)],this['type'],this[_0x2e7ffd(0x4d0)],[],this['_handler'],_0xd521);}['_resendWithTimeout'](_0x1145a6,_0x2fcd8d){var _0x111507=_0x1af128,_0x2331c1;_0x1145a6===((_0x2331c1=this['_awaitingChangeset'])==null?void 0x0:_0x2331c1[_0x111507(0x467)])&&(this[_0x111507(0x2b9)](),this[_0x111507(0x20e)]=_0x2fcd8d===0x0?0x3e8:_0x2fcd8d*0x2);}[_0x1af128(0x1e0)](){var _0x2926cc=_0x1af128,_0xf68538;(_0xf68538=this[_0x2926cc(0x33c)])==null||_0xf68538[_0x2926cc(0x1f6)](),this[_0x2926cc(0x20e)]=0x0;}};ue=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x16445d),A(0xa,_0x325bd4(J))],ue);let ae=class extends be{constructor(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x3d0499,_0xbe8f19,_0x867186,_0x49aa0f,_0x28bb49,_0x1bf708,_0x161f65,_0x513ee9){var _0x2917e1=_0x1af128;super(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x49aa0f,_0x161f65,_0x867186,_0x513ee9),N(this,_0x2917e1(0x29e),_0x2917e1(0x34c)),N(this,_0x2917e1(0x20e),0x0),N(this,_0x2917e1(0x21c)),N(this,_0x2917e1(0x33c)),(this[_0x2917e1(0x367)]=_0xbe8f19,this[_0x2917e1(0x485)]=_0x28bb49,this[_0x2917e1(0x44a)]=_0x1bf708,this[_0x2917e1(0x2e8)]=_0x513ee9,_0x3d0499&&(this[_0x2917e1(0x21c)]=_0x3d0499,this[_0x2917e1(0x33c)]=this[_0x2917e1(0x21c)][_0x2917e1(0x26c)](({reqId:_0x4d9e82,timeout:_0x27bbd6})=>{this['_resendWithTimeout'](_0x4d9e82,_0x27bbd6);})));}[_0x1af128(0x2a1)](_0x169b43){var _0x39f2ce=_0x1af128;return this[_0x39f2ce(0x28d)]['push'](_0x169b43),this;}[_0x1af128(0x22b)](_0x33f308){var _0x8e7c51=_0x1af128;if(this[_0x8e7c51(0x274)](_0x33f308))return this[_0x8e7c51(0x1e0)](),this[_0x8e7c51(0x367)]['createInstance'](te,this[_0x8e7c51(0x1fa)],this[_0x8e7c51(0x417)],this[_0x8e7c51(0x4d0)],this[_0x8e7c51(0x28d)],null,[_0x33f308],this[_0x8e7c51(0x321)]);try{const _0x14bbbf=this['_transformService'][_0x8e7c51(0x45f)]([_0x33f308],[this[_0x8e7c51(0x4d0)]],!0x1);if(_0x397f0a(_0x14bbbf)){const {c1Prime:_0x542f83,c2Prime:_0x38abbb}=_0x14bbbf,_0x5b3357=this['_transformService']['transformMutationsWithChangeset'](_0x542f83[0x0],this[_0x8e7c51(0x28d)]);if(_0x49a34e(_0x5b3357)){const {c1Prime:_0x11095f,m2Prime:_0x4c2376}=_0x5b3357;return this['_executeRemoteChangeset'](_0x11095f),_0x38abbb[0x0]['baseRev']=this[_0x8e7c51(0x490)](),this[_0x8e7c51(0x1e0)](),this['_injector'][_0x8e7c51(0x372)](ae,this['unitID'],this['type'],_0x38abbb[0x0],_0x4c2376,this['_handler'],void 0x0);}throw _0x5b3357[_0x8e7c51(0x479)];}throw _0x14bbbf[_0x8e7c51(0x479)];}catch(_0x20f44b){return this['_logService'][_0x8e7c51(0x479)](_0x20f44b),this['_onConflict'](!0x1);}}[_0x1af128(0x4b0)](_0x1d75f5){var _0x527237=_0x1af128;if(this[_0x527237(0x1e0)](),this[_0x527237(0x274)](_0x1d75f5))return this[_0x527237(0x367)][_0x527237(0x372)](te,this[_0x527237(0x1fa)],this[_0x527237(0x417)],null,this[_0x527237(0x28d)],this[_0x527237(0x4d0)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x57138d=this['_injector'][_0x527237(0x372)](oe,this[_0x527237(0x1fa)],this[_0x527237(0x417)],this[_0x527237(0x28d)],this[_0x527237(0x321)]);return _0x57138d[_0x527237(0x4b7)](),_0x57138d['_updateLocalCache'](),_0x57138d;}['onRemoteRej'](_0x26de52){var _0x52ce30=_0x1af128;return this[_0x52ce30(0x438)](!!(_0x26de52!=null&&_0x26de52['isPermissionRej']));}[_0x1af128(0x1d9)](_0x2c516f){var _0x50bdec=_0x1af128;return this[_0x50bdec(0x20e)]>Ni?this['toggleOffline']():(this[_0x50bdec(0x21c)]=Oi(this['_resendTimeout'],{'timeout':this[_0x50bdec(0x20e)],'reqId':_0x2c516f['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x39d8ea,timeout:_0x241cde})=>{this['_resendWithTimeout'](_0x39d8ea,_0x241cde);}),this);}[_0x1af128(0x24e)](){var _0x5e4fa6=_0x1af128;return this[_0x5e4fa6(0x1e0)](),this[_0x5e4fa6(0x367)][_0x5e4fa6(0x372)](fe,this[_0x5e4fa6(0x1fa)],this['type'],this[_0x5e4fa6(0x4d0)],this[_0x5e4fa6(0x28d)],this[_0x5e4fa6(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x2b9)](){var _0x4028af=_0x1af128;this[_0x4028af(0x321)][_0x4028af(0x22c)](this[_0x4028af(0x4d0)]);}[_0x1af128(0x438)](_0x35860a){var _0x959105=_0x1af128;return this['_clearScheduledTask'](),this[_0x959105(0x367)][_0x959105(0x372)](de,this['unitID'],this[_0x959105(0x417)],null,this[_0x959105(0x28d)],this['_handler'],_0x35860a);}[_0x1af128(0x455)](_0x4004ad,_0x49d8e4){var _0xb449eb=_0x1af128,_0x5e1c74;_0x4004ad===((_0x5e1c74=this['_awaitingChangeset'])==null?void 0x0:_0x5e1c74[_0xb449eb(0x467)])&&(this[_0xb449eb(0x2b9)](),this['_resendTimeout']=_0x49d8e4===0x0?0x3e8:_0x49d8e4*0x2);}[_0x1af128(0x1e0)](){var _0x1f48ba=_0x1af128,_0x4a1ca7;(_0x4a1ca7=this[_0x1f48ba(0x33c)])==null||_0x4a1ca7['unsubscribe'](),this[_0x1f48ba(0x20e)]=0x0;}};ae=Re([A(0x6,_0x50b881(_0x339edd)),A(0x7,_0x50b881(_0x1c117d)),A(0x8,_0x4f3e11),A(0x9,_0x334ed4),A(0xa,_0x207f44),A(0xb,_0x16445d),A(0xc,_0x325bd4(J))],ae);let de=class extends be{constructor(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x5a7555=!0x1,_0x4e2bf3,_0x39fa02,_0x483409,_0x317f14,_0x554848,_0x5fdd6b,_0x1cba7f){var _0x3ff97d=_0x1af128;super(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x39fa02,_0x483409,_0x317f14,_0x1cba7f),N(this,'status',_0x3ff97d(0x47e)),(this[_0x3ff97d(0x334)]=_0x5a7555,this['_permissionService']=_0x4e2bf3,this[_0x3ff97d(0x4c2)]=_0x554848,this['_collaborationUIEventService']=_0x5fdd6b,this[_0x3ff97d(0x2e8)]=_0x1cba7f,this[_0x3ff97d(0x4c3)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x1af128(0x22b)](){return this;}['onRemoteAck'](){return this;}[_0x1af128(0x37e)](){return this;}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x388775=_0x1af128;throw new Error(_0x388775(0x34a));}['_clearLocalCache'](){var _0xd9bee5=_0x1af128,_0x5ad1cf;(_0x5ad1cf=this[_0xd9bee5(0x1e8)])==null||_0x5ad1cf[_0xd9bee5(0x30b)](this['unitID'],this[_0xd9bee5(0x417)],null,[]);}[_0x1af128(0x4c3)](){var _0x543d3f=_0x1af128;this[_0x543d3f(0x334)]?this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se['PERMISSION_DENIED']}):this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se[_0x543d3f(0x3dc)]});}['_disableEditing'](){var _0x33b1f3=_0x1af128;this[_0x33b1f3(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x33b1f3(0x1fa)])['id'],!0x1);}};de=Re([A(0x6,_0x50b881(_0xea2b61)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x50b881(_0x1c117d)),A(0xa,_0x50b881(_0x3d3898)),A(0xb,_0x50b881(pe)),A(0xc,_0x325bd4(J))],de);let fe=class extends be{constructor(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x5c5c29,_0x2b9b02,_0x593268,_0xb970e,_0x3ef1db){var _0x56cd9c=_0x1af128;super(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x593268,_0xb970e,_0x2b9b02,_0x3ef1db),N(this,'status',_0x56cd9c(0x375)),this['_injector']=_0x5c5c29;}[_0x1af128(0x2a1)](_0x1b71ee){var _0x1a6396=_0x1af128;return this[_0x1a6396(0x28d)]['push'](_0x1b71ee),this[_0x1a6396(0x1ed)](),this;}[_0x1af128(0x22b)](_0x1e7123){var _0x434ed8=_0x1af128;throw new Error(_0x434ed8(0x426));}[_0x1af128(0x4b0)](){var _0x5bc771=_0x1af128;throw new Error(_0x5bc771(0x47a));}[_0x1af128(0x37e)](){var _0x45f176=_0x1af128;throw new Error(_0x45f176(0x4c1));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}['toggleOnline'](){var _0x2fe74f=_0x1af128;const {_injector:_0x351365,_pendingMutations:_0x54042f,_awaitingChangeset:_0x4c4957,unitID:_0x57e23d,_handler:_0x162e8b,type:_0x1a2d06}=this,_0x3d5863=Di(_0x351365,_0x57e23d,_0x1a2d06,_0x4c4957,_0x54042f,_0x162e8b);return _0x3d5863 instanceof oe?_0x3d5863[_0x2fe74f(0x4b7)]():(_0x3d5863 instanceof ae||_0x3d5863 instanceof ue)&&_0x3d5863[_0x2fe74f(0x2b9)](),_0x3d5863;}[_0x1af128(0x2b9)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x50b881(_0x339edd)),A(0x6,_0x50b881(_0x1c117d)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x325bd4(J))],fe);let te=class extends be{constructor(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x307de1,_0x528942,_0x5bfa93,_0x586a96,_0x3f2eda,_0x393456,_0x2cea7b,_0x5f0ece,_0x595c82,_0x3bbe13){var _0x20873c=_0x1af128;super(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x5bfa93,_0x2cea7b,_0x5f0ece,_0x3f2eda,_0x3bbe13),N(this,_0x20873c(0x29e),_0x20873c(0x4cb)),(this[_0x20873c(0x21e)]=_0x307de1,this[_0x20873c(0x299)]=_0x528942,this[_0x20873c(0x367)]=_0x586a96,this[_0x20873c(0x485)]=_0x393456,this[_0x20873c(0x44a)]=_0x595c82,this[_0x20873c(0x2e8)]=_0x3bbe13);}[_0x1af128(0x24b)](_0x151aaa){var _0x5dbb0e=_0x1af128;try{const _0x39d858=[..._0x151aaa,...this[_0x5dbb0e(0x299)]],_0x9899d8=[this[_0x5dbb0e(0x4d0)]||this[_0x5dbb0e(0x21e)]][_0x5dbb0e(0x448)](_0x16d677=>!!_0x16d677);let _0x192afd,_0x389db2;if(_0x9899d8[_0x5dbb0e(0x431)]){const _0x16935d=this[_0x5dbb0e(0x44a)][_0x5dbb0e(0x45f)](_0x39d858,_0x9899d8,!0x1);if(!_0x397f0a(_0x16935d))throw _0x16935d[_0x5dbb0e(0x479)];_0x192afd=_0x16935d[_0x5dbb0e(0x2cd)],_0x389db2=_0x16935d[_0x5dbb0e(0x4c7)];}else _0x192afd=_0x39d858,_0x389db2=[];let _0x13140e=this[_0x5dbb0e(0x28d)];_0x192afd[_0x5dbb0e(0x30f)](_0x5ca5aa=>{var _0x447063=_0x5dbb0e;let _0x5d56ed;if(_0x13140e[_0x447063(0x431)]){const _0x501641=this['_transformService'][_0x447063(0x29f)](_0x5ca5aa,_0x13140e);if(!_0x49a34e(_0x501641))throw _0x501641[_0x447063(0x479)];_0x5d56ed=_0x501641['c1Prime'],_0x13140e=_0x501641[_0x447063(0x2b0)];}else _0x5d56ed=_0x5ca5aa;this['_executeRemoteChangeset'](_0x5d56ed);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5dbb0e(0x28e)](),this[_0x5dbb0e(0x4d0)]&&_0x389db2[_0x5dbb0e(0x431)]&&(_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this[_0x5dbb0e(0x490)]());let _0x4e3d3b;if(this[_0x5dbb0e(0x4d0)]&&_0x13140e['length']!==0x0)_0x4e3d3b=this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](ae,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x389db2[0x0],_0x13140e,this[_0x5dbb0e(0x321)],void 0x0);else{if(this[_0x5dbb0e(0x4d0)]&&_0x13140e[_0x5dbb0e(0x431)]===0x0)_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this['_getCurrentRevision'](),_0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](ue,this['unitID'],this[_0x5dbb0e(0x417)],_0x389db2[0x0],this[_0x5dbb0e(0x321)]);else{if(_0x13140e[_0x5dbb0e(0x431)]!==0x0){const _0x3b7406=this[_0x5dbb0e(0x367)]['createInstance'](oe,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x13140e,this[_0x5dbb0e(0x321)]);_0x3b7406[_0x5dbb0e(0x4b7)](),_0x4e3d3b=_0x3b7406;}else _0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](De,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],this[_0x5dbb0e(0x321)]);}}return _0x4e3d3b[_0x5dbb0e(0x1ed)](),_0x4e3d3b;}catch(_0x5102de){return this[_0x5dbb0e(0x485)]['error'](_0x5dbb0e(0x38f),_0x5dbb0e(0x46f),_0x5102de),this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](de,this[_0x5dbb0e(0x1fa)],this['type'],this['_awaitingChangeset'],this[_0x5dbb0e(0x28d)],this[_0x5dbb0e(0x321)],!0x1);}}[_0x1af128(0x2b9)](){var _0x259709=_0x1af128;throw new Error(_0x259709(0x42b));}[_0x1af128(0x2a1)](_0x3fa37a){var _0x3a0bcf=_0x1af128;return this[_0x3a0bcf(0x28d)][_0x3a0bcf(0x2ad)](_0x3fa37a),this;}['onRemoteChangeset'](_0x4e7eab){var _0x2efad9=_0x1af128;return this[_0x2efad9(0x299)]['push'](_0x4e7eab),this;}[_0x1af128(0x4b0)](_0x471758){var _0x44c2bb=_0x1af128;if(this[_0x44c2bb(0x4d0)])return this[_0x44c2bb(0x21e)]=this[_0x44c2bb(0x4d0)],this[_0x44c2bb(0x4d0)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1af128(0x37e)](_0x23adf3){var _0x4bdd4d=_0x1af128;return this[_0x4bdd4d(0x438)](!!(_0x23adf3!=null&&_0x23adf3['isPermissionRej']));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){var _0x212007=_0x1af128;return this[_0x212007(0x367)]['createInstance'](fe,this['unitID'],this[_0x212007(0x417)],this[_0x212007(0x4d0)],this[_0x212007(0x28d)],this[_0x212007(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x438)](_0x187eb0){var _0x2c0d8e=_0x1af128;return this[_0x2c0d8e(0x367)][_0x2c0d8e(0x372)](de,this['unitID'],this[_0x2c0d8e(0x417)],this[_0x2c0d8e(0x4d0)],this[_0x2c0d8e(0x28d)],this[_0x2c0d8e(0x321)],_0x187eb0);}};te=Re([A(0x7,_0x50b881(_0x339edd)),A(0x8,_0x50b881(_0x1c117d)),A(0x9,_0x334ed4),A(0xa,_0x4f3e11),A(0xb,_0x16445d),A(0xc,_0x207f44),A(0xd,_0x325bd4(J))],te);function Di(_0x3fc489,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5){var _0x2c78b4=_0x1af128;return _0x2a6dd6&&_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](ae,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5,void 0x0):_0x2a6dd6?_0x3fc489[_0x2c78b4(0x372)](ue,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x17c2e5):_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](oe,_0x37c09d,_0xaa5b1f,_0x33d439,_0x17c2e5):_0x3fc489['createInstance'](De,_0x37c09d,_0xaa5b1f,_0x17c2e5);}var vr=Object[_0x1af128(0x4ba)],pr=Object[_0x1af128(0x3d3)],Lt=(_0x4c1fcd,_0x32c682,_0x2dd36d,_0x2c8d17)=>{var _0x547ad2=_0x1af128;for(var _0x18955e=_0x2c8d17>0x1?void 0x0:_0x2c8d17?pr(_0x32c682,_0x2dd36d):_0x32c682,_0x83d555=_0x4c1fcd[_0x547ad2(0x431)]-0x1,_0x2ce583;_0x83d555>=0x0;_0x83d555--)(_0x2ce583=_0x4c1fcd[_0x83d555])&&(_0x18955e=(_0x2c8d17?_0x2ce583(_0x32c682,_0x2dd36d,_0x18955e):_0x2ce583(_0x18955e))||_0x18955e);return _0x2c8d17&&_0x18955e&&vr(_0x32c682,_0x2dd36d,_0x18955e),_0x18955e;},k=(_0x1a4409,_0x3c56bb)=>(_0x308ffb,_0xc6f24d)=>_0x3c56bb(_0x308ffb,_0xc6f24d,_0x1a4409);let nt=class extends _0x4273f8{constructor(_0x1723a1,_0x1ed058,_0x1d55a8,_0x2b9d22,_0xc7b632,_0x20ac93,_0x1e04ad,_0x219074,_0x1426e9,_0x1a059d,_0x2d388a,_0x1117fc,_0x110095){var _0x10d242=_0x1af128;super(),N(this,'_state$',new _0x230061(null)),N(this,_0x10d242(0x4aa),this['_state$']['asObservable']()),N(this,'_state'),N(this,_0x10d242(0x298),!0x1),N(this,_0x10d242(0x2a9),''),N(this,_0x10d242(0x488),0x0),N(this,'status$',this[_0x10d242(0x4aa)]['pipe'](_0x3bf594(_0x3ca3eb=>_0x3ca3eb?_0x3ca3eb[_0x10d242(0x29e)]:yi[_0x10d242(0x2b8)]),_0x2b76e9(0x1))),N(this,_0x10d242(0x471),!0x1),N(this,_0x10d242(0x322),[]),(this['unitID']=_0x1723a1,this[_0x10d242(0x320)]=_0x1ed058,this[_0x10d242(0x202)]=_0x1d55a8,this[_0x10d242(0x367)]=_0x2b9d22,this[_0x10d242(0x3c9)]=_0xc7b632,this[_0x10d242(0x4c2)]=_0x20ac93,this[_0x10d242(0x1f3)]=_0x1e04ad,this[_0x10d242(0x2ef)]=_0x219074,this['_logService']=_0x1426e9,this[_0x10d242(0x32c)]=_0x1a059d,this['_permissionService']=_0x2d388a,this['_singleActiveUnitService']=_0x1117fc,this[_0x10d242(0x1e8)]=_0x110095);}get[_0x1af128(0x24d)](){return this['_state'];}async['init'](){var _0x2b4ff1=_0x1af128;if(this[_0x2b4ff1(0x24d)])throw new Error(_0x2b4ff1(0x476));await this['_init']();}[_0x1af128(0x4ca)](){var _0x273eed=_0x1af128;return this[_0x273eed(0x298)]=!0x0,_0x1943de(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1af128(0x477)](_0x4667ad){var _0x538c6a=_0x1af128;this[_0x538c6a(0x369)](_0x4667ad);}['_updateState'](_0x2d11ce){var _0x239cc1=_0x1af128;this[_0x239cc1(0x3b5)]=_0x2d11ce,this[_0x239cc1(0x40c)][_0x239cc1(0x2cb)](_0x2d11ce);}async['_init'](){var _0x5e9979=_0x1af128,_0x4161ee;this[_0x5e9979(0x32b)](await this[_0x5e9979(0x313)]()),this[_0x5e9979(0x1e4)]&&((_0x4161ee=this[_0x5e9979(0x1e4)])==null||_0x4161ee[_0x5e9979(0x35f)](this[_0x5e9979(0x1fa)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x5e9979(0x26c)](_0x2a6092=>{var _0x290db9=_0x5e9979;this['_logService'][_0x290db9(0x247)](_0x290db9(0x3a9),'editing\x20status\x20changed\x20to',_0x2a6092),_0x2a6092===bi['OTHER_CLIENTS_EDITING']?(this[_0x290db9(0x2ef)][_0x290db9(0x258)]({'id':se[_0x290db9(0x302)]}),this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x1),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x1)):(this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x0),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x0));})));let _0x413eb3=!0x1;return this['disposeWithMe'](this[_0x5e9979(0x320)][_0x5e9979(0x214)][_0x5e9979(0x26c)](_0x1f9521=>{var _0x148e17=_0x5e9979;_0x1f9521===Te[_0x148e17(0x336)]?this[_0x148e17(0x3bd)](_0x413eb3):_0x1f9521===Te['OFFLINE']&&(_0x413eb3=!0x0,this['_toggleOffline']());})),this[_0x5e9979(0x3b0)](this['session']['event$'][_0x5e9979(0x26c)](_0x5738e1=>{var _0x339e5d=_0x5e9979;try{switch(_0x5738e1[_0x339e5d(0x492)]){case _0x1d08ca[_0x339e5d(0x405)]:{this[_0x339e5d(0x287)](_0x1db08e(_0x5738e1[_0x339e5d(0x345)]));break;}case _0x1d08ca[_0x339e5d(0x333)]:{this[_0x339e5d(0x430)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca[_0x339e5d(0x4a5)]:{this[_0x339e5d(0x352)]();break;}case _0x1d08ca[_0x339e5d(0x4c4)]:{this[_0x339e5d(0x200)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x339e5d(0x49b)](_0x5738e1[_0x339e5d(0x345)][_0x339e5d(0x3e4)]['map'](_0x2d7be3=>_0x1db08e(_0x2d7be3)));break;}case _0x1d08ca[_0x339e5d(0x40b)]:{this[_0x339e5d(0x352)]({'isPermissionRej':!0x0});break;}case _0x1d08ca['UNISCRIPT_RUN']:break;}}catch(_0x5c7523){throw console[_0x339e5d(0x479)](_0x339e5d(0x2df),_0x5c7523),_0x5c7523;}})),this['_state'];}['_unlockTransition'](){var _0x2eb633=_0x1af128;this[_0x2eb633(0x471)]=!0x1;}['_lockTransition'](){var _0x27a968=_0x1af128;if(this['_transitionLocked'])throw new Error(_0x27a968(0x3e6));this['_transitionLocked']=!0x0;}[_0x1af128(0x369)](_0x4b24e2){var _0x51647c=_0x1af128;this[_0x51647c(0x2c0)](),this['_updateState'](this[_0x51647c(0x3b5)][_0x51647c(0x2a1)](_0x4b24e2)),this['_unlockTransition']();}[_0x1af128(0x287)](_0x23089b){var _0x133adc=_0x1af128;if(!(_0x23089b['revision']<=this[_0x133adc(0x1f3)]['getCurrentRevOfUnit'](this[_0x133adc(0x1fa)]))){if(this[_0x133adc(0x298)]){this[_0x133adc(0x322)]['push'](_0x23089b);return;}this[_0x133adc(0x245)](_0x23089b);}}[_0x1af128(0x3b2)](){var _0x320c40=_0x1af128;this[_0x320c40(0x322)][_0x320c40(0x30f)](_0x17604b=>this[_0x320c40(0x245)](_0x17604b)),this[_0x320c40(0x322)]=[];}[_0x1af128(0x245)](_0x140f92){var _0x5a4bb6=_0x1af128;const _0x208e94=this['_compressMutationService']['interceptor'][_0x5a4bb6(0x399)](this[_0x5a4bb6(0x3c9)][_0x5a4bb6(0x3a6)]['getInterceptPoints']()[_0x5a4bb6(0x23a)])(_0x140f92[_0x5a4bb6(0x4a4)],null)||_0x140f92[_0x5a4bb6(0x4a4)],_0x369052={..._0x140f92,'mutations':_0x208e94};this[_0x5a4bb6(0x2c0)](),this['_updateState'](this[_0x5a4bb6(0x3b5)]['onRemoteChangeset'](_0x369052)),this[_0x5a4bb6(0x2ce)]();}[_0x1af128(0x430)](_0x5c0e2f){var _0x114bcd=_0x1af128;this[_0x114bcd(0x2c0)](),this[_0x114bcd(0x32b)](this[_0x114bcd(0x3b5)][_0x114bcd(0x4b0)](_0x5c0e2f)),this['_unlockTransition']();}[_0x1af128(0x352)](_0xaa728d){var _0x231fb1=_0x1af128;this[_0x231fb1(0x2c0)](),this[_0x231fb1(0x32b)](this[_0x231fb1(0x3b5)]['onRemoteRej'](_0xaa728d)),this[_0x231fb1(0x2ce)]();}[_0x1af128(0x200)](_0x417acf){var _0x5d5bfc=_0x1af128;this[_0x5d5bfc(0x2c0)](),this[_0x5d5bfc(0x32b)](this[_0x5d5bfc(0x3b5)][_0x5d5bfc(0x1d9)](_0x417acf)),this['_unlockTransition']();}[_0x1af128(0x49b)](_0x2d71e4){var _0x1baada=_0x1af128;if(!(this[_0x1baada(0x3b5)]instanceof te))throw new TypeError(_0x1baada(0x237));const _0x33a508=_0x2d71e4[_0x1baada(0x453)](_0x2afe91=>{var _0x500e34=_0x1baada;const _0x577b7d=this[_0x500e34(0x3c9)][_0x500e34(0x3a6)]['fetchThroughInterceptors'](this[_0x500e34(0x3c9)][_0x500e34(0x3a6)][_0x500e34(0x211)]()[_0x500e34(0x23a)])(_0x2afe91[_0x500e34(0x4a4)],null)||_0x2afe91[_0x500e34(0x4a4)];return{..._0x2afe91,'mutations':_0x577b7d};});this[_0x1baada(0x2c0)](),this[_0x1baada(0x32b)](this[_0x1baada(0x3b5)][_0x1baada(0x24b)](_0x33a508)),this[_0x1baada(0x2ce)]();}[_0x1af128(0x35c)](){var _0xdf4853=_0x1af128;this['_lockTransition'](),this[_0xdf4853(0x32b)](this[_0xdf4853(0x3b5)]['toggleOffline']()),this[_0xdf4853(0x2ce)]();}[_0x1af128(0x3bd)](_0xcd937d=!0x1){var _0x55aada=_0x1af128;this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](this['_state'][_0x55aada(0x2a5)]()),this[_0x55aada(0x2ce)]();const _0x209d16=this[_0x55aada(0x3b5)];_0xcd937d&&_0x209d16 instanceof De&&(this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](_0x209d16[_0x55aada(0x261)]()),this['_unlockTransition']());}async[_0x1af128(0x313)](){return new Promise(_0x5f3cd2=>{var _0x3268a8=_0x596d;this['session'][_0x3268a8(0x214)][_0x3268a8(0x463)](_0x2a8f0e(0x1))[_0x3268a8(0x26c)](async _0x18afc9=>{var _0x2ff127=_0x3268a8;_0x5f3cd2(await this[_0x2ff127(0x346)](_0x18afc9===Te['ONLINE']));});});}[_0x1af128(0x317)](){var _0x32d37e=_0x1af128;const _0xfc90de=this[_0x32d37e(0x1fa)];return{'onStateChange':(_0x5b786d,_0x119775)=>{var _0x5860cb=_0x32d37e;if(_0x5b786d!==this[_0x5860cb(0x3b5)])throw new Error(_0x5860cb(0x43e)+_0x5b786d['status']+_0x5860cb(0x37f)+_0x119775['status']+'\x0aCurrent:\x20'+this[_0x5860cb(0x3b5)][_0x5860cb(0x29e)]);this[_0x5860cb(0x32b)](_0x119775);},'onSendChangeset':_0x2865cb=>{var _0x105836=_0x32d37e;_0x2865cb['sid']||(_0x2865cb[_0x105836(0x38a)]=this[_0x105836(0x2a9)],_0x2865cb[_0x105836(0x467)]=++this[_0x105836(0x488)]);const _0x3f5c1d={'eventID':_0x1d08ca[_0x105836(0x2b2)],'data':{'unitID':_0x2865cb['unitID'],'unitType':this[_0x105836(0x202)],'changeset':_0x2865cb,'memberID':this['session']['getMemberID']()}};this['session'][_0x105836(0x444)](_0x3f5c1d,this[_0x105836(0x1fa)]);},'onMissingChangesets':({from:_0x80a9a3,to:_0x31c059})=>{var _0x7cd203=_0x32d37e;this[_0x7cd203(0x485)]['debug'](_0x7cd203(0x3a9),_0x7cd203(0x49d)+_0x80a9a3+_0x7cd203(0x2e6)+_0x31c059);const _0x355ae6={'eventID':_0x1d08ca['FETCH_MISSING'],'data':{'unitID':_0xfc90de,'unitType':this[_0x7cd203(0x202)],'from':_0x80a9a3,'to':_0x31c059}};this[_0x7cd203(0x320)][_0x7cd203(0x444)](_0x355ae6,this[_0x7cd203(0x1fa)]);}};}async['_createInitialStateImpl'](_0x22affb){var _0x170398=_0x1af128,_0x497ebd,_0x2ee431,_0x560c35;const _0x1c6a4f=await((_0x497ebd=this['_localCacheService'])==null?void 0x0:_0x497ebd[_0x170398(0x4ac)](this[_0x170398(0x1fa)])),_0x465e95=(_0x2ee431=_0x1c6a4f==null?void 0x0:_0x1c6a4f['mutations'])!=null?_0x2ee431:[],_0x17939d=(_0x560c35=_0x1c6a4f==null?void 0x0:_0x1c6a4f[_0x170398(0x387)])!=null?_0x560c35:null,_0x9a0653=!!(_0x17939d!=null&&_0x17939d[_0x170398(0x38a)])&&!!(_0x17939d!=null&&_0x17939d['reqId']);this[_0x170398(0x2a9)]=_0x9a0653?_0x17939d[_0x170398(0x38a)]:sr(),this[_0x170398(0x488)]=_0x9a0653?_0x17939d[_0x170398(0x467)]:0x0;const _0xb0f794=this[_0x170398(0x1fa)];try{this[_0x170398(0x469)](_0x17939d,_0x465e95);}catch(_0xc92b73){this[_0x170398(0x485)][_0x170398(0x479)](_0xc92b73);}const _0x1984bc=this[_0x170398(0x317)]();if(_0x22affb){const _0x39c959=Di(this[_0x170398(0x367)],_0xb0f794,this[_0x170398(0x202)],_0x17939d,_0x465e95,_0x1984bc);return _0x39c959 instanceof oe?_0x39c959[_0x170398(0x4b7)]():(_0x39c959 instanceof ae||_0x39c959 instanceof ue)&&_0x39c959['resend'](),_0x39c959;}return this['_injector'][_0x170398(0x372)](fe,_0xb0f794,this['_type'],_0x17939d,_0x465e95,_0x1984bc);}['_replayCachedMutations'](_0x3ec35c,_0x705e09){var _0x56b33e=_0x1af128,_0x20df83,_0x472294;const _0x41d095=this[_0x56b33e(0x3c9)][_0x56b33e(0x3a6)][_0x56b33e(0x399)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x20df83=_0x41d095((_0x3ec35c==null?void 0x0:_0x3ec35c['mutations'])||[],null))==null||_0x20df83[_0x56b33e(0x30f)](_0x6aabfe=>this[_0x56b33e(0x32c)]['executeCommand'](_0x6aabfe['id'],_0x6aabfe['params'])),(_0x472294=_0x41d095(_0x705e09||[],null))==null||_0x472294['forEach'](_0xbf140=>this['_commandService'][_0x56b33e(0x283)](_0xbf140['id'],_0xbf140[_0x56b33e(0x311)]));}};nt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],nt);let Tt=class extends nt{constructor(_0x2e4554,_0x270708,_0x495cf8,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9){var _0x41891=_0x1af128;super(_0x2e4554,_0x495cf8,_0x270708,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9),N(this,_0x41891(0x3f6),null),(this[_0x41891(0x1fa)]=_0x2e4554,this['type']=_0x270708);}[_0x1af128(0x26d)](_0x5c2ce6){this['_handlerCallback']=_0x5c2ce6;}[_0x1af128(0x1d3)](){var _0x53adf9=_0x1af128;this[_0x53adf9(0x3f6)]=null,super[_0x53adf9(0x1d3)]();}[_0x1af128(0x317)](){var _0x2a0972=_0x1af128;const _0x147f85=super[_0x2a0972(0x317)]();return _0x147f85[_0x2a0972(0x457)]=_0x542b9b=>{var _0x154a9b=_0x2a0972,_0x1e8736,_0x2c1fa8;return(_0x2c1fa8=(_0x1e8736=this[_0x154a9b(0x3f6)])==null?void 0x0:_0x1e8736['onTransformIME'])==null?void 0x0:_0x2c1fa8[_0x154a9b(0x3f9)](_0x1e8736,_0x542b9b);},_0x147f85['onTransformState']=_0x5f3a59=>{var _0xb881d6=_0x2a0972,_0x3522e1,_0x47599f;return(_0x47599f=(_0x3522e1=this[_0xb881d6(0x3f6)])==null?void 0x0:_0x3522e1[_0xb881d6(0x36e)])==null?void 0x0:_0x47599f[_0xb881d6(0x3f9)](_0x3522e1,_0x5f3a59);},_0x147f85[_0x2a0972(0x42a)]=_0x42a4a7=>{var _0x419b60=_0x2a0972,_0x546699,_0x3584b2;return(_0x3584b2=(_0x546699=this[_0x419b60(0x3f6)])==null?void 0x0:_0x546699[_0x419b60(0x42a)])==null?void 0x0:_0x3584b2['call'](_0x546699,_0x42a4a7);},_0x147f85['onSyncEditingCollabCursor']=_0x56d9db=>{var _0x971b92=_0x2a0972,_0x4770f6,_0x4da2b0;return(_0x4da2b0=(_0x4770f6=this['_handlerCallback'])==null?void 0x0:_0x4770f6[_0x971b92(0x221)])==null?void 0x0:_0x4da2b0[_0x971b92(0x3f9)](_0x4770f6,_0x56d9db);},_0x147f85[_0x2a0972(0x45d)]=_0x3e93a1=>{var _0x47cc6f=_0x2a0972,_0x381114,_0x349fb4,_0xa53b99;if(!((_0x381114=this[_0x47cc6f(0x3f6)])!=null&&_0x381114[_0x47cc6f(0x45d)]))throw new Error(_0x47cc6f(0x330));return(_0xa53b99=(_0x349fb4=this[_0x47cc6f(0x3f6)])==null?void 0x0:_0x349fb4[_0x47cc6f(0x45d)])==null?void 0x0:_0xa53b99[_0x47cc6f(0x3f9)](_0x349fb4,_0x3e93a1);},_0x147f85[_0x2a0972(0x2c1)]=_0x396ee8=>{var _0x1c7b2e=_0x2a0972,_0x565ef4,_0x2c8088,_0x2f09bd;if(!((_0x565ef4=this[_0x1c7b2e(0x3f6)])!=null&&_0x565ef4['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2f09bd=(_0x2c8088=this[_0x1c7b2e(0x3f6)])==null?void 0x0:_0x2c8088['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f09bd[_0x1c7b2e(0x3f9)](_0x2c8088,_0x396ee8);},_0x147f85;}async[_0x1af128(0x4d4)](){var _0x1263b2=_0x1af128;const _0xfe3275=await super[_0x1263b2(0x4d4)]();return this[_0x1263b2(0x3b0)](this['_commandService'][_0x1263b2(0x2cc)]((_0xeb9b55,_0x59a33f)=>{var _0x3de2e2=_0x1263b2;if(_0xeb9b55['type']!==_0x572a97['MUTATION']||_0x59a33f!=null&&_0x59a33f['fromCollab']||_0x59a33f!=null&&_0x59a33f[_0x3de2e2(0x253)]||_0xeb9b55['id']===_0x582104['id'])return;const _0x224981=_0xeb9b55['params'];if((_0x224981==null?void 0x0:_0x224981[_0x3de2e2(0x379)])!==this['unitID'])return;const _0x3f5bc2=_0xeb9b55,_0x575ab9=this[_0x3de2e2(0x3c9)]['interceptor']['fetchThroughInterceptors'](this[_0x3de2e2(0x3c9)][_0x3de2e2(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3f5bc2],null)||[_0x3f5bc2];this[_0x3de2e2(0x369)](_0x575ab9[0x0]);})),_0xfe3275;}};Tt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],Tt);let Ct=class extends nt{constructor(_0xb41954,_0x1bbb1e,_0x244cbf,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3f7ba4,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6){var _0x1dee69=_0x1af128;super(_0xb41954,_0x244cbf,_0x1bbb1e,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6),this[_0x1dee69(0x1fa)]=_0xb41954,this[_0x1dee69(0x417)]=_0x1bbb1e,this[_0x1dee69(0x4ab)]=_0x3f7ba4;}[_0x1af128(0x317)](){var _0x97c34=_0x1af128;const _0x3ea236=super['_createHandler']();return _0x3ea236['onTransformSelections']=_0x2a10bb=>this[_0x97c34(0x4ab)][_0x97c34(0x3aa)](_0x2a10bb),_0x3ea236;}async[_0x1af128(0x4d4)](){var _0x5cd2a2=_0x1af128;const _0x856342=await super[_0x5cd2a2(0x4d4)]();return this['disposeWithMe'](this[_0x5cd2a2(0x32c)][_0x5cd2a2(0x2cc)]((_0x176a4f,_0x4d7e5b)=>{var _0x89c24e=_0x5cd2a2;if(_0x176a4f[_0x89c24e(0x417)]!==_0x572a97['MUTATION']||_0x4d7e5b!=null&&_0x4d7e5b['fromCollab']||_0x4d7e5b!=null&&_0x4d7e5b['onlyLocal'])return;const _0xcb5875=_0x176a4f['params'];if((_0xcb5875==null?void 0x0:_0xcb5875[_0x89c24e(0x379)])!==this[_0x89c24e(0x1fa)])return;const _0x3dc288=_0x176a4f,_0x9d1388=this[_0x89c24e(0x3c9)][_0x89c24e(0x3a6)][_0x89c24e(0x399)](this['_compressMutationService'][_0x89c24e(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3dc288],null)||[_0x3dc288];this[_0x89c24e(0x369)](_0x9d1388[0x0]);})),_0x856342;}};Ct=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(it)),k(0x8,_0x50b881(pe)),k(0x9,_0x334ed4),k(0xa,_0x4f3e11),k(0xb,_0xea2b61),k(0xc,_0x325bd4(ht)),k(0xd,_0x325bd4(J))],Ct);var mr=Object[_0x1af128(0x4ba)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x30e11b,_0x5c1689,_0x54e287,_0x2dc57e)=>{var _0x2250d6=_0x1af128;for(var _0x5b5652=_0x2dc57e>0x1?void 0x0:_0x2dc57e?gr(_0x5c1689,_0x54e287):_0x5c1689,_0x14fe2f=_0x30e11b[_0x2250d6(0x431)]-0x1,_0x566884;_0x14fe2f>=0x0;_0x14fe2f--)(_0x566884=_0x30e11b[_0x14fe2f])&&(_0x5b5652=(_0x2dc57e?_0x566884(_0x5c1689,_0x54e287,_0x5b5652):_0x566884(_0x5b5652))||_0x5b5652);return _0x2dc57e&&_0x5b5652&&mr(_0x5c1689,_0x54e287,_0x5b5652),_0x5b5652;},ft=(_0x22a372,_0x2c5c02)=>(_0xb584cd,_0x48dff1)=>_0x2c5c02(_0xb584cd,_0x48dff1,_0x22a372);let rt=class extends _0x4273f8{constructor(_0x14ffdd,_0x4e977b,_0x58aba9){var _0x6bcc44=_0x1af128;super(),N(this,_0x6bcc44(0x1df),new Map()),N(this,'_entityInit$',new _0x10c59f()),N(this,_0x6bcc44(0x1d8),this[_0x6bcc44(0x39c)]['asObservable']()),(this[_0x6bcc44(0x367)]=_0x14ffdd,this[_0x6bcc44(0x412)]=_0x4e977b,this[_0x6bcc44(0x332)]=_0x58aba9,this[_0x6bcc44(0x4d4)]());}[_0x1af128(0x1d3)](){var _0x1ea11e=_0x1af128;super[_0x1ea11e(0x1d3)](),this[_0x1ea11e(0x1df)]['forEach'](_0xb4fd47=>_0xb4fd47[_0x1ea11e(0x1d3)]()),this[_0x1ea11e(0x1df)][_0x1ea11e(0x348)]();}[_0x1af128(0x339)](_0x204208){var _0x4d0896=_0x1af128,_0x588357;return(_0x588357=this[_0x4d0896(0x1df)]['get'](_0x204208))!=null?_0x588357:null;}['getCollabEntity$'](_0x4b2355){var _0x4a631e=_0x1af128;const _0x588033=this['getCollabEntity'](_0x4b2355);return _0x588033?_0x4586b0(_0x588033):this[_0x4a631e(0x39c)][_0x4a631e(0x463)](_0x226f92(_0x431318=>_0x431318[_0x4a631e(0x1fa)]===_0x4b2355));}[_0x1af128(0x357)](_0x47753c){var _0x3d58df=_0x1af128;return _0x5acfb6(this[_0x3d58df(0x397)](_0x47753c)['pipe'](_0x3c96ad(()=>{})));}[_0x1af128(0x4d4)](){var _0x48515b=_0x1af128;this[_0x48515b(0x332)][_0x48515b(0x2e0)](_0x7a0f38['UNIVER_SHEET'])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x26c)](async _0x43f273=>{var _0x1ad2be=_0x48515b;const _0xeb1052=_0x43f273['getUnitId'](),_0x13e582=await this[_0x1ad2be(0x4a9)](_0xeb1052,Q[_0x1ad2be(0x3c7)]);this['_entities'][_0x1ad2be(0x255)](_0xeb1052,_0x13e582);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x7a0f38[_0x48515b(0x43b)])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x463)](_0x226f92(_0x567f25=>!_0x567f25[_0x48515b(0x26b)]()['startsWith']('__')))['subscribe'](async _0x407c90=>{var _0x79ccf1=_0x48515b;const _0x2365be=_0x407c90[_0x79ccf1(0x26b)](),_0x573ed4=await this[_0x79ccf1(0x4a9)](_0x2365be,Q[_0x79ccf1(0x43b)]);this[_0x79ccf1(0x1df)][_0x79ccf1(0x255)](_0x2365be,_0x573ed4);}),_0x19107a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7a0f38['UNIVER_SHEET']),this[_0x48515b(0x332)][_0x48515b(0x41d)](_0x7a0f38['UNIVER_DOC']))[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]))[_0x48515b(0x26c)](_0x486b0b=>{var _0x4fe7a4=_0x48515b;const _0x3319f5=_0x486b0b['getUnitId'](),_0x366933=this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x416)](_0x3319f5);_0x366933&&(_0x366933[_0x4fe7a4(0x1d3)](),this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x31f)](_0x3319f5));});}async[_0x1af128(0x4a9)](_0x362268,_0x4ee0f5){var _0x1a697f=_0x1af128;const _0x3faf8d=await this[_0x1a697f(0x412)][_0x1a697f(0x3e7)](_0x362268),_0x5858bd=this[_0x1a697f(0x367)]['createInstance'](this[_0x1a697f(0x364)](_0x4ee0f5),_0x362268,_0x4ee0f5,_0x3faf8d);return await _0x5858bd['init'](),this[_0x1a697f(0x39c)]['next'](_0x5858bd),_0x5858bd;}[_0x1af128(0x364)](_0xb0dd7f){var _0x20988b=_0x1af128;switch(_0xb0dd7f){case Q[_0x20988b(0x43b)]:return Tt;case Q[_0x20988b(0x3c7)]:return Ct;default:throw new Error(_0x20988b(0x473)+_0xb0dd7f);}}};rt=Sr([ft(0x0,_0x50b881(_0x339edd)),ft(0x1,_0x50b881(Le)),ft(0x2,_0x42b8e7)],rt);var Er=Object[_0x1af128(0x4ba)],Ir=Object[_0x1af128(0x3d3)],Tr=(_0x45692e,_0x42d327,_0xee6807,_0x4587e5)=>{for(var _0x21fbc2=_0x4587e5>0x1?void 0x0:_0x4587e5?Ir(_0x42d327,_0xee6807):_0x42d327,_0x5c3acd=_0x45692e['length']-0x1,_0x194bd8;_0x5c3acd>=0x0;_0x5c3acd--)(_0x194bd8=_0x45692e[_0x5c3acd])&&(_0x21fbc2=(_0x4587e5?_0x194bd8(_0x42d327,_0xee6807,_0x21fbc2):_0x194bd8(_0x21fbc2))||_0x21fbc2);return _0x4587e5&&_0x21fbc2&&Er(_0x42d327,_0xee6807,_0x21fbc2),_0x21fbc2;},Jt=(_0x1ddfa9,_0x2baf28)=>(_0x3b97f8,_0x237211)=>_0x2baf28(_0x3b97f8,_0x237211,_0x1ddfa9);const Cr=_0x1af128(0x4ce),Rr=_0x1af128(0x3d8);let Rt=class extends _0x1ec030{constructor(_0x57a7f8,_0x4979d9){var _0x11725c=_0x1af128;super(),this[_0x11725c(0x332)]=_0x57a7f8,this[_0x11725c(0x4d1)]=_0x4979d9,this[_0x11725c(0x4d4)]();}[_0x1af128(0x4d4)](){var _0x51f1e2=_0x1af128;this[_0x51f1e2(0x3b0)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x5539a8=_0x51f1e2,_0xaf5f49;const _0x1e312d=this['_univerInstanceService'][_0x5539a8(0x328)]();let _0x140b41=(_0xaf5f49=this[_0x5539a8(0x4d1)][_0x5539a8(0x49e)](Cr))!=null?_0xaf5f49:Rr;_0x1e312d instanceof _0x331611&&(_0x140b41=_0x1e312d[_0x5539a8(0x3fa)]),document[_0x5539a8(0x41e)]=_0x140b41;}));}};Rt=Tr([Jt(0x0,_0x42b8e7),Jt(0x1,_0xb3f6ba)],Rt);var br=Object[_0x1af128(0x4ba)],Or=Object[_0x1af128(0x3d3)],yr=(_0x5441b4,_0x16219b,_0xebc0e1,_0x59b66c)=>{var _0x1d626b=_0x1af128;for(var _0xcc1101=_0x59b66c>0x1?void 0x0:_0x59b66c?Or(_0x16219b,_0xebc0e1):_0x16219b,_0x1e2219=_0x5441b4[_0x1d626b(0x431)]-0x1,_0x2163a8;_0x1e2219>=0x0;_0x1e2219--)(_0x2163a8=_0x5441b4[_0x1e2219])&&(_0xcc1101=(_0x59b66c?_0x2163a8(_0x16219b,_0xebc0e1,_0xcc1101):_0x2163a8(_0xcc1101))||_0xcc1101);return _0x59b66c&&_0xcc1101&&br(_0x16219b,_0xebc0e1,_0xcc1101),_0xcc1101;},vt=(_0x2d9606,_0x246cd5)=>(_0x1b6513,_0x16514b)=>_0x246cd5(_0x1b6513,_0x16514b,_0x2d9606);let st=class{constructor(_0x3180a2,_0xa64171,_0x3061ca){var _0x146fae=_0x1af128;this[_0x146fae(0x4d1)]=_0x3180a2,this[_0x146fae(0x1ea)]=_0xa64171,this[_0x146fae(0x246)]=_0x3061ca,this[_0x146fae(0x3fc)]();}[_0x1af128(0x3fc)](){var _0x323f2f=_0x1af128;this['_httpService'][_0x323f2f(0x340)]({'priority':0x1,'interceptor':(_0x307307,_0x240a44)=>_0x240a44(_0x307307)[_0x323f2f(0x463)](_0x196fe2(async _0xb5ee9=>{var _0x163a16=_0x323f2f;const _0x3f8b39=_0xb5ee9;if(_0x3f8b39[_0x163a16(0x29e)]===0x191){if(typeof window>'u')throw new Error(_0x163a16(0x34d));if(window[_0x163a16(0x44c)](this['localeService']['t'](_0x163a16(0x1d0)))){const _0x3f57fa=window[_0x163a16(0x2ed)](window[_0x163a16(0x25e)][_0x163a16(0x4be)]);window['location'][_0x163a16(0x4be)]=this[_0x163a16(0x2bf)]()+_0x163a16(0x349)+_0x3f57fa;}}return _0x3f8b39;}))});}[_0x1af128(0x2bf)](){var _0x5cec19=_0x1af128,_0x49e521,_0x2e143b;const _0x5c72ce=this[_0x5cec19(0x4d1)][_0x5cec19(0x49e)](xn),_0x57519f=this['_configService'][_0x5cec19(0x49e)](q);return(_0x2e143b=(_0x49e521=_0x57519f==null?void 0x0:_0x57519f[_0x5cec19(0x48a)])!=null?_0x49e521:_0x5c72ce)!=null?_0x2e143b:Ln;}};st=yr([vt(0x0,_0xb3f6ba),vt(0x1,_0x50b881(_0x51273b)),vt(0x2,_0x50b881(_0x3d3898))],st);var Nr=Object[_0x1af128(0x4ba)],Dr=Object[_0x1af128(0x3d3)],Pr=(_0x20957b,_0x418e7d,_0x251f41,_0x333635)=>{var _0x4a6b88=_0x1af128;for(var _0x451541=_0x333635>0x1?void 0x0:_0x333635?Dr(_0x418e7d,_0x251f41):_0x418e7d,_0x21c337=_0x20957b[_0x4a6b88(0x431)]-0x1,_0x9e3490;_0x21c337>=0x0;_0x21c337--)(_0x9e3490=_0x20957b[_0x21c337])&&(_0x451541=(_0x333635?_0x9e3490(_0x418e7d,_0x251f41,_0x451541):_0x9e3490(_0x451541))||_0x451541);return _0x333635&&_0x451541&&Nr(_0x418e7d,_0x251f41,_0x451541),_0x451541;},Xt=(_0x44f0b7,_0x142718)=>(_0x1f60b3,_0x3ec281)=>_0x142718(_0x1f60b3,_0x3ec281,_0x44f0b7);function _0x6aa3(){var _0x3c277c=['min','socket\x20close','UNIVER_DOC','_clearHeartbeatTimer','msCrypto','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendingTimer','image/png','_createHmacHelper','_cipher','socket$','send','mixIn','HttpExport','hasher','filter','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','stringify','confirm','_onMessage','getSheetId','_socketService','/universer-api/uniscript','_members','&source=','map','equals','_resendWithTimeout','NO_OTHER_CLIENTS_EDITING','onTransformIME','_reverseMap','NoPadding','_getSignURL','_onUserJoin','uploadFileServerUrl','onTransformRemoteChangesetByIMECache','message$','transformChangesets','hostname','UUID','LIVESHARE_REQUEST_HOST','pipe','_executeRemoteChangeset','_minBufferSize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','reqId','includes','_replayCachedMutations','417711XYNxmY','/-/object/-/batch_allowed','Pkcs7','UNRECOGNIZED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','failed\x20to\x20apply\x20missed\x20changesets!','_sendHeartbeat','_transitionLocked','image/bmp','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','catch','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onLocalMutation','image/jpg','error','[OfflineState]:\x20received\x20acknowledgement.','APPLY_PERMISSION_DENIED','__esModule','PERMISSION_DENIED','conflict','resourceIDs','MUTATION','every','54135288GWzNFF','JOIN','headers','_logService','pending','words','_changesetReqId','3GMIsgR','loginUrlKey','__creator','BufferedBlockAlgorithm','JOINING','JOIN_ROOM_NOT_EXISTS','EvpKDF','_getCurrentRevision','2776KqrUOx','eventID','LEAVE','createEncryptor','sessionStatus','retryConnectingInterval','Base64','apply','_getRedoStack','_timeoutTimer','_onFetchMissResult','readAsDataURL','fetching\x20missing\x20changesets\x20from\x20','getConfig','synced','[CollaborationState]:\x20apply\x20error!','_decreaseWaiting','extend','_doFinalize','mutations','CHANGESET_REJ','ceil','subject','roles','_startCollaboration','state$','_sheetTransformSelectionsService','loadOfflineData','_clearCollaborationTimeoutTimer','/new_changes','GLOBAL_ROOMS_CNT_EXCEEDS','onRemoteAck','_collaborationUIEventService','create','_undoStacks','APPLY_DUPLICATED','UnitSnapshot','addImageSourceCache','_schedule','execute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','defineProperty','LICENSE_MAX_UNITS_EXCEEDED','SOCKET_FAILED','listCollaborators','href','encrypt','_initUnitPermissionChange','[OfflineState]:\x20received\x20rejection.','_localeService','_showConflictNotification','CHANGESET_SHOULD_RETRY','transformStack\x20failed!','formatter','c2Prime','socket\x20open.','initWorkbookPermissionChange','pauseCollaboration','fetch_missing','post','getWorkbookSelections','DEFAULT_FILE_NAME','BlockCipher','_awaitingChangeset','_configService','_getAPIPrefix','CLOSE_ROOM','_init','toString','_transformRemoteChangesetByIMECache','MD5','_data','auth.needGotoLoginAlert','FAIL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','dispose','then','/universer-api/comb','exports','random','entityInit$','onRemoteRetry','getImage','_socketMessageSubscription','getCurrentUser','createCollaborator','clone','_entities','_clearScheduledTask','/block/','max','_authzIoService','_singleActiveUnitService','processBlock','/universer-api/authz','Decryptor','_localCacheService','RETRY_CONNECTING_MAX_COUNT','_httpService','_rescheduleHeartbeat','_initCloseConn','_updateLocalCache','_undoRedoService','ERROR_EXCEED_SIZE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','bind','saveImage','_revisionService','_waitCount','sessionTicket','unsubscribe','_createHelper','url','repeat','unitID','_registerDependencies','COMMENT_UPDATE','_keySchedule','enc','FETCH_MISS','_onRemoteRetry','_permissionService','_type','_clearTimeoutTimer','_networkConditionService','Hex','Latin1','_DEC_XFORM_MODE','byteLength','JOIN_ROOM_FAILED','updateMember','unit-cache-','session.room-permission-denied','_retryCount','_resendTimeout','image/jpeg','OpenSSL','getInterceptPoints','OTHER_CLIENTS_EDITING','_startTelemetryCollaborationNewChangeset','sessionStatus$','SNAPSHOT_SERVER_URL_KEY','application/json','RECV','_keyPriorReset','getTime','origin','override','_resendTimer','concat','_acknowledgedAwaitingChangeset','enableOfflineEditing','IDLE','onSyncEditingCollabCursor','MSG_FOR_ERROR','cmd','getCurrentRevOfUnit','6084256NNihXr','UNISCRIPT_RUN','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','key','session.room-full','NOT_COLLAB','onRemoteChangeset','onSendChangeset','reset','event$','isArray','[DataLoaderService]','mode','default','duration','POST','saveChangeset','incrementRevOfUnit','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','COMPLETION_FINISHED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','JOIN_ROOM_FULL','CBC','_getUndoStack','open$','loadSheet','originalMeta','collabSubmitChangesetUrl','csShouldRetryEvent','collaboration_new_changeset','revision','_applyRemoteChangeset','localeService','debug','onStateChange','FETCH_MISSING','indexOf','onMissedChangesetFetched','YUUMI_URL_COL_OUT_OF_RANGE','state','toggleOffline','createDecryptor','join','/rev/','createSocket','onlyLocal','_shouldReportTelemetry','set','_nDataBytes','src','emitEvent','[CollaborationSession]','sendChangesetTimeout','range','getRandomValues','/-/object/list','location','_iv','joinEvent','fetchMiss','iterations','getSheetBlock','runId','clamp','AES','UNAUTHENTICATED','members','onMissingChangesets','getUnitType','getUnitId','subscribe','addHandlerCallback','[SyncedState]:\x20received\x20rejection.','_hasher','_initMergeInterceptor','PasswordBasedCipher','getAllMembers','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_checkMissing','selections','csRejEvent','_retryConnectingTimer','has','hasOwnProperty','SNAPSHOT_INVALID_SNAPSHOT','symbol','_xformMode','avatar','_sendHeartbeatTimer','3307675jLpcwf','HMAC','SerializableCipher','decrypt','executeCommand','signUrlServerUrl','startTime','workbook','_onRemoteChangeset','uniscriptRunEvent','method','getSnapshotAPIPath','APPLY_REJECT','_collaborationTimeoutTimer','_pendingMutations','_incrementRevisionNumber','UPDATE_PERMISSION_OBJ','list','_roomMembers','/allowed','_doProcessBlock','_oKey','_members$','target','pluginName','_collaborationPaused','_queuedRemoteChangesets','/unit/','_nRounds','_submitChangeset','People','status','transformMutationsWithChangeset','socketService','appendMutation','permissionRejEvent','commentUpdateEvent','memberID','toggleOnline','_loadDoc','unknown','LIVESHARE_OPERATION','_changesetSessionId','randomUUID','_scheduleCollaborationTimeoutTimer','format','push','StreamCipher','algo','m2Prime','univer-pro.collaboration-client.network-condition.service','SUBMIT_CHANGESET','LICENSE_DISTRO_REJECTED','unitId\x20is\x20not\x20found','_transformIMECache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','finalize','OFFLINE','resend','CONNECTOR_DATA_TOO_LARGE','UNKNOWN_CMD','_socket$','AUTHZ_URL_KEY','rng','_getLoginPath','_lockTransition','onTransformRemoteChangesetByStateCache','json','code','collaMsg','put','userID','asObservable','resolve','reconnect','_clearRedo','next','onCommandExecuted','c1Prime','_unlockTransition','x-univer-host','add','charCodeAt','baseRev','APPLY_REVISION_CONFILICT','/universer-api/snapshot/','[CollaborationSessionService]:\x20socket\x20error','29582phwVwL','_removeRoom','UNKNOWN_CODE','/universer-api/file/{fileID}/sign-url','ciphertext','_mode','_initDependencies','infoRsp','transformUndoRedo','Error\x20on\x20receiving\x20event','getTypeOfUnitAdded$','_transformStack','sigBytes','_unitID','_map','ticket','\x20to\x20','objectID','localCacheService','copyFileMeta','sin','prototype','_getSendChangesetTimeout','encodeURIComponent','joinRsp','_eventService','encode','_imageSourceCache','saveSnapshot','dispose$','LIVESHARE_TERMINATE','_tryReconnect','search','getValue','blockSize','_transformUndoredo','unitInfo$','_joinRoom','deepClone','rev','padding','SNAPSHOT_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','WordArray','OTHER_CLIENT_EDITING','getLatestCsReqIdBySid','collaboration-client.local-cache-service','buffer','UNIVER_COLLABORATION_CLIENT_PLUGIN','LOGIN_URL_KEY','/role','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','requestParams','updateOfflineData','_getAPIPrefixPath','_substituteUndoStack','pad','forEach','_instanceService','params','allowed','_createInitialState','_commentService','batchAllowed','_hash','_createHandler','_key','collaboration-client.config','BASE64','roomInfos','objectType','_socket','getImageSourceCache','delete','session','_handler','_remoteChangesetQueue','_getDownloadEndpointURL','byteOffset','_getSessionTicket','enableAuthServer','reduce','getFocusedUnit','_doReset','HttpImport','_updateState','_commandService','change$','SHA1','_scheduleCompleteTimestamp','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_tryEnsureSocket','_univerInstanceService','CHANGESET_ACK','_isPermissionRej','INTERNAL_ERROR','ONLINE','/object','COLLAB_WEB_SOCKET_URL','getCollabEntity','_onConnectionFailed','fetchMissingChangesets','_sender','USERS_LEAVE','_onRecvEvent','UNIVER_PROJECT','registerHTTPInterceptor','CHANGESET_REVISION_CONFILICT','csAckEvent','_transformStateCache','leaveEvent','data','_createInitialStateImpl','authzUrl','clear','?url=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','awaiting_with_pending','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','listRoles','_onJoinRoomEvent','_candidateSocket','UNIVER_SLIDE','_onRemoteRejected','_transformSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','values','LIVESHARE_NEW_HOST','readyForCollab','_config','_onOffline','substr','objectActions','_toggleOffline','_snapshotService','/fetchmissing?from=','editingUnit','routeKey','ENSURE_SNAPSHOT_EXECUTION','updatePermissionObjEvent','size','_getCtorByUniverType','downloadEndpointUrl','actions','_injector','SHOULD_CLOSE_CONN','_onLocalMutation','&assign=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createSocket','_sessions','onTransformState','COLLAB_SUBMIT_CHANGESET_URL','update','result','createInstance','INGEST','salt','offline','YUUMI_RATE_OVER_LIMIT','LICENSE_IMPORT_SIZE_EXCEEDED','_stopTelemetryCollaborationNewChangeset','unitId','UNIVER_UNKNOWN','_telemetryInfo','_memberService','session.room-cnt-exceeds','onRemoteRej','\x0aAfter:\x20','SYNCED','_getUploadFileURL','OPTIONAL','$super','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','slice','awaitingChangeset','status$','loadUnit','sid','[UniverCollaborationClientPlugin]','INVALID_ARGUMENT','append','lib','[FetchMissState]','cfg','capture','reject','_HTTPService','_telemetryService','ivSize','getUnit','getCollabEntity$','compose','fetchThroughInterceptors','randomBytes','newCsEvent','_entityInit$','save\x20fail\x20reason\x20is\x20','ERROR_IMAGE','setCurrentUser','[CollaborationUndoRedoService]','kdf','YUUMI_UNABLE_LOAD_URL','readInt32LE','_transformRemoteChangesetByStateCache','PERSON','interceptor','sheets','_syncEditingCollabCursor','[CollaborationEntity]','transformSelections','floor','Base','[SyncedState]:\x20received\x20acknowledgement.','_emitMembers','SUBMIT_CHANGESET_TIMEOUT','disposeWithMe','complete','_exhaustRemoteChangesetQueue','abs','searchParams','_state','encryptBlock','updatePermissionPoint','_parse','_event$','/resources','univer-pro.collaboration-client-socket-service','_collaborationSessionService','_toggleOnline','_updateStatus','getCurrentSelections','close','textRanges','NOT_FOUND','__Key__','_userManagerService','_replaceFileID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_SHEET','_status$','_compressMutationService','splice','_invKeySchedule','8472096ASejRX','_waitForHeartbeatResponse','_change$','setShowComponents','_throwTelemetryCollaborationNewChangeset','_doCryptBlock','ws://127.0.0.1:8000/universer-api/comb/connect','getOwnPropertyDescriptor','UNDEFINED','_onConnectionOpen','keySize','function','Univer','session.room-not-exists','session.join-failed','_iKey','CONFLICT','charAt','crypto','parse','findIndex','[CollaborationSessionService]','removeMember','_roomCreated$','changesets','TOO_MANY_REQUESTS','[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.','requireSession','Malformed\x20UTF-8\x20data','closeSession','getDeserializedSheetBlock','_initRequestHeader','isPermissionRej','HmacSHA1','_loadSheet','/object/','HEARTBEAT_INTERVAL','UPDATE_CURSOR','/collaborator','Cipher','HELLO','HmacMD5','_handlerCallback','updateCursorEvent','compute','call','name','toLowerCase','init','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','awaiting','_prevBlock','_fetchMissChangesets','liveShareNewHost','_clearUndo','Utf8','_substituteRedoStack','NEW_CHANGESETS','\x20in\x20_schedule.','Encryptor','_snapshotServerService','close$','Undefined','PERMISSION_REJ','_state$','_process','refreshPermission','ALREADY_EXISTS','find','2763688BTbrSJ','_collabSessionService','LOCAL_CACHE_INTERVAL','error$','_socketReady','get','type','USERS_ENTER','getRoom','LIVESHARE_FETCH_OPERATIONS','collaborators','UnitEmbedded','getTypeOfUnitDisposed$','title','getMember','SOCKET_FAILED_RETRY','_commentUpdate$','JOIN_ROOM_PERMISSION_DENIED','updateCollaborator','_append','body','[OfflineState]:\x20received\x20changeset.','string','now','online$','onTransformSelections','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PY_RUNTIME_SCRIPT_ERROR','FileId','/universer-api/oidc/authpage','ERROR_IMAGE_TYPE','_onRemoteACK','length','LICENSE_EXPORT_SIZE_EXCEEDED','_listenToNetworkCondition','_sessionStatus$','getMemberID','_ENC_XFORM_MODE','_http','_onConflict'];_0x6aa3=function(){return _0x3c277c;};return _0x6aa3();}const Pi=_0x1af128(0x2bd),wr=_0x1af128(0x1e6);let bt=class extends _0x1ec030{constructor(_0x57d8bc,_0x49cbc1){var _0x10ab04=_0x1af128;super(),this[_0x10ab04(0x393)]=_0x57d8bc,this[_0x10ab04(0x4d1)]=_0x49cbc1,this[_0x10ab04(0x270)]();}[_0x1af128(0x270)](){var _0x47a96a=_0x1af128;const _0x51598e=this;this[_0x47a96a(0x3b0)](this[_0x47a96a(0x393)][_0x47a96a(0x340)]({'priority':0x3e7,'interceptor':_0x8ebddf({'isMatch'(_0x5c48fe){var _0x4064c4=_0x47a96a,_0x33ce1f;if(_0x5c48fe[_0x4064c4(0x289)]===_0x4064c4(0x234)&&((_0x33ce1f=_0x5c48fe['requestParams'])!=null&&_0x33ce1f[_0x4064c4(0x425)])){const {objectID:_0x53873e,objectType:_0x7907d8}=_0x5c48fe[_0x4064c4(0x30a)][_0x4064c4(0x425)]||{};if(!_0x53873e||_0x7907d8===void 0x0)return!0x1;const _0x23c2ed=_0x51598e['_getAPIPrefixPath']()+'/'+_0x7907d8+'/object/'+_0x53873e+'/allowed';if(_0x5c48fe[_0x4064c4(0x1f8)]===_0x23c2ed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5abdc2){var _0x8887ac=_0x47a96a,_0x1e6a14;return(_0x1e6a14=_0x5abdc2['requestParams'])==null?void 0x0:_0x1e6a14[_0x8887ac(0x425)];},'mergeParamsToRequest'(_0x121c13,_0x545c1d){var _0x1bbed0=_0x47a96a;const _0x2bc8f6=_0x51598e['_getAPIPrefixPath']()+_0x1bbed0(0x46b),_0x223d2b=_0x121c13[_0x1bbed0(0x327)]((_0x11dc9c,_0x3ee9d3)=>{var _0x3abd70=_0x1bbed0;const {unitID:_0x5a7440,objectID:_0x136ca0,objectType:_0x4d52d1,actions:_0x2aee9d}=_0x3ee9d3;return _0x11dc9c[_0x5a7440]||(_0x11dc9c[_0x5a7440]={}),_0x11dc9c[_0x5a7440][_0x136ca0]||(_0x11dc9c[_0x5a7440][_0x136ca0]={'objectID':_0x136ca0,'objectType':_0x4d52d1,'actions':[]}),_0x11dc9c[_0x5a7440][_0x136ca0][_0x3abd70(0x366)]['push'](..._0x2aee9d),_0x11dc9c;},{}),_0x65a60c=[];for(const _0x19ed99 in _0x223d2b)for(const _0x36734f in _0x223d2b[_0x19ed99]){const {actions:_0x4fca87,objectType:_0x14e748}=_0x223d2b[_0x19ed99][_0x36734f],_0x47a582=[...new Set(_0x4fca87)];_0x65a60c['push']({'unitID':_0x19ed99,'objectID':_0x36734f,'objectType':_0x14e748,'actions':_0x47a582});}return new _0x4ca06d(_0x1bbed0(0x234),_0x2bc8f6,{'headers':_0x545c1d[_0x1bbed0(0x484)],'withCredentials':_0x545c1d['withCredentials'],'responseType':_0x545c1d['responseType'],'body':{'requests':_0x65a60c}});}},{'distributeResult'(_0x5e5604,_0x1b9ca9){var _0x3543b0=_0x47a96a;const {objectActions:_0x2195d1}=_0x5e5604;return _0x1b9ca9[_0x3543b0(0x453)](_0x1bbcb7=>{var _0x288d3d=_0x3543b0;const {unitID:_0x3778f2,objectID:_0x28b054,actions:_0x2d17d1}=_0x1bbcb7,_0x38d262=_0x2195d1[_0x288d3d(0x410)](_0x37d3b1=>_0x37d3b1[_0x288d3d(0x1fa)]===_0x3778f2&&_0x37d3b1[_0x288d3d(0x2e7)]===_0x28b054),_0x4c74c3=_0x2d17d1[_0x288d3d(0x453)](_0x5bb2f1=>_0x38d262==null?void 0x0:_0x38d262[_0x288d3d(0x366)][_0x288d3d(0x410)](_0xc792e8=>_0xc792e8['action']===_0x5bb2f1))['filter'](_0x2d719e=>!!_0x2d719e);return{'config':_0x1bbcb7,'result':{'actions':_0x4c74c3,'error':_0x5e5604[_0x288d3d(0x479)]}};});}})}));}[_0x1af128(0x30c)](){var _0x18f744=_0x1af128,_0x816606,_0x45e0f7;const _0x3c74fe=this['_configService'][_0x18f744(0x49e)](Pi),_0x29a906=this[_0x18f744(0x4d1)][_0x18f744(0x49e)](q);return(_0x45e0f7=(_0x816606=_0x29a906==null?void 0x0:_0x29a906[_0x18f744(0x347)])!=null?_0x816606:_0x3c74fe)!=null?_0x45e0f7:wr;}async[_0x1af128(0x4b2)](_0xa0602e){var _0x38922f=_0x1af128;const _0x1270e7=this['_getAPIPrefixPath']()+'/'+_0xa0602e[_0x38922f(0x31c)]+_0x38922f(0x337);return(await this[_0x38922f(0x393)][_0x38922f(0x4cc)](_0x1270e7,{'body':_0xa0602e}))['body']['objectID']||'';}async['list'](_0x1869a9){var _0x4da3c4=_0x1af128;const _0x1f391d=this['_getAPIPrefixPath']()+_0x4da3c4(0x25d);return(await this['_HTTPService'][_0x4da3c4(0x4cc)](_0x1f391d,{'body':_0x1869a9}))[_0x4da3c4(0x425)]['objects'];}async[_0x1af128(0x370)](_0xb4dd55){var _0x9077f2=_0x1af128;const _0x25e3d7=this[_0x9077f2(0x30c)]()+'/'+_0xb4dd55[_0x9077f2(0x31c)]+_0x9077f2(0x3ef)+_0xb4dd55[_0x9077f2(0x2e7)];await this['_HTTPService'][_0x9077f2(0x2c5)](_0x25e3d7,{'body':_0xb4dd55});}async[_0x1af128(0x312)](_0x5ba9f9){var _0x11f922=_0x1af128;const _0x2167b9=this[_0x11f922(0x30c)]()+'/'+_0x5ba9f9['objectType']+_0x11f922(0x3ef)+_0x5ba9f9[_0x11f922(0x2e7)]+_0x11f922(0x292);return(await this[_0x11f922(0x393)]['post'](_0x2167b9,{'body':_0x5ba9f9}))[_0x11f922(0x425)]['actions'];}async[_0x1af128(0x315)](_0x19ed53){var _0x530030=_0x1af128;const _0x16a52a=this[_0x530030(0x30c)]()+_0x530030(0x46b);return(await this[_0x530030(0x393)][_0x530030(0x4cc)](_0x16a52a,{'body':{'requests':_0x19ed53}}))[_0x530030(0x425)][_0x530030(0x35b)];}async[_0x1af128(0x34e)](_0x57df8b){var _0x2b3c00=_0x1af128;const _0x7aaca0=this['_getAPIPrefixPath']()+'/'+_0x57df8b[_0x2b3c00(0x31c)]+_0x2b3c00(0x308),_0x1867b8=await this['_HTTPService']['post'](_0x7aaca0,{'body':_0x57df8b});return{'roles':_0x1867b8[_0x2b3c00(0x425)][_0x2b3c00(0x4a8)],'actions':_0x1867b8['body']['actions']};}async['deleteCollaborator'](_0x275ddd){var _0x1f0d3a=_0x1af128;const _0x3cfeb6=this[_0x1f0d3a(0x30c)]()+_0x1f0d3a(0x3f2);await this[_0x1f0d3a(0x393)][_0x1f0d3a(0x31f)](_0x3cfeb6,{'params':{'collaboratorID':_0x275ddd['collaboratorID'],'objectID':_0x275ddd['objectID'],'unitID':_0x275ddd['unitID']}});}async[_0x1af128(0x423)](_0x46b496){var _0x359ad2=_0x1af128;const _0x189557=this[_0x359ad2(0x30c)]()+_0x359ad2(0x3f2);await this[_0x359ad2(0x393)]['patch'](_0x189557,{'body':_0x46b496});}async[_0x1af128(0x1dd)](_0x4e8a31){var _0x301307=_0x1af128;const _0x42454c=this[_0x301307(0x30c)]()+'/collaborator';await this[_0x301307(0x393)][_0x301307(0x4cc)](_0x42454c,{'body':_0x4e8a31});}async[_0x1af128(0x4bd)](_0x26126d){var _0x19f4d1=_0x1af128;const _0x278ad3=this[_0x19f4d1(0x30c)]()+_0x19f4d1(0x3f2);return(await this[_0x19f4d1(0x393)][_0x19f4d1(0x416)](_0x278ad3,{'params':{'objectID':_0x26126d[_0x19f4d1(0x2e7)],'unitID':_0x26126d[_0x19f4d1(0x1fa)]}}))[_0x19f4d1(0x425)][_0x19f4d1(0x41b)];}async['putCollaborators'](_0x318b2c){var _0x4fca6c=_0x1af128;const _0x4493a0=this[_0x4fca6c(0x30c)]()+'/collaborator';await this[_0x4fca6c(0x393)][_0x4fca6c(0x2c5)](_0x4493a0,{'body':_0x318b2c});}};bt=Pr([Xt(0x0,_0x50b881(_0x51273b)),Xt(0x1,_0x50b881(_0xb3f6ba))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x552113){var _0x3be1fd=_0x1af128;return _0x552113&&_0x552113[_0x3be1fd(0x47c)]&&Object[_0x3be1fd(0x2eb)][_0x3be1fd(0x279)][_0x3be1fd(0x3f9)](_0x552113,_0x3be1fd(0x232))?_0x552113[_0x3be1fd(0x232)]:_0x552113;}var Ve={'exports':{}};function Ur(_0x2e5fd5){var _0x304bd7=_0x1af128;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2e5fd5+_0x304bd7(0x300));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x48a56b,_0x314c04){(function(_0x5a5d90,_0x2b0f24){var _0x118ebe=_0x596d;_0x48a56b[_0x118ebe(0x1d6)]=_0x2b0f24();}(Ar,function(){var _0x280bb4=_0x280bb4||function(_0x4a9a82,_0x4c29b1){var _0x37e20c=_0x596d,_0x3bab31;if(typeof window<'u'&&window['crypto']&&(_0x3bab31=window[_0x37e20c(0x3de)]),typeof self<'u'&&self[_0x37e20c(0x3de)]&&(_0x3bab31=self[_0x37e20c(0x3de)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3bab31=globalThis[_0x37e20c(0x3de)]),!_0x3bab31&&typeof window<'u'&&window[_0x37e20c(0x43d)]&&(_0x3bab31=window['msCrypto']),!_0x3bab31&&typeof pt<'u'&&pt[_0x37e20c(0x3de)]&&(_0x3bab31=pt[_0x37e20c(0x3de)]),!_0x3bab31&&typeof Ur=='function')try{_0x3bab31=require(_0x37e20c(0x3de));}catch{}var _0xc4e0eb=function(){var _0x50f3b7=_0x37e20c;if(_0x3bab31){if(typeof _0x3bab31[_0x50f3b7(0x25c)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x25c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3bab31[_0x50f3b7(0x39a)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x39a)](0x4)[_0x50f3b7(0x3a3)]();}catch{}}throw new Error(_0x50f3b7(0x4b9));},_0x4b17aa=Object['create']||(function(){function _0x32ef65(){}return function(_0x6d804){var _0x2a9916=_0x596d,_0x3647bf;return _0x32ef65['prototype']=_0x6d804,_0x3647bf=new _0x32ef65(),_0x32ef65[_0x2a9916(0x2eb)]=null,_0x3647bf;};}()),_0x1c143c={},_0x5f7b10=_0x1c143c[_0x37e20c(0x38e)]={},_0x5becf1=_0x5f7b10[_0x37e20c(0x3ac)]=(function(){return{'extend':function(_0x34b0c8){var _0x4233c0=_0x596d,_0x14ef6f=_0x4b17aa(this);return _0x34b0c8&&_0x14ef6f[_0x4233c0(0x445)](_0x34b0c8),(!_0x14ef6f[_0x4233c0(0x279)](_0x4233c0(0x3fc))||this[_0x4233c0(0x3fc)]===_0x14ef6f['init'])&&(_0x14ef6f[_0x4233c0(0x3fc)]=function(){var _0x4a6856=_0x4233c0;_0x14ef6f['$super'][_0x4a6856(0x3fc)][_0x4a6856(0x498)](this,arguments);}),_0x14ef6f[_0x4233c0(0x3fc)][_0x4233c0(0x2eb)]=_0x14ef6f,_0x14ef6f[_0x4233c0(0x383)]=this,_0x14ef6f;},'create':function(){var _0x2b25c6=_0x596d,_0x6abba6=this['extend']();return _0x6abba6['init'][_0x2b25c6(0x498)](_0x6abba6,arguments),_0x6abba6;},'init':function(){},'mixIn':function(_0x157af6){var _0x4742fa=_0x596d;for(var _0x522b82 in _0x157af6)_0x157af6[_0x4742fa(0x279)](_0x522b82)&&(this[_0x522b82]=_0x157af6[_0x522b82]);_0x157af6[_0x4742fa(0x279)](_0x4742fa(0x4d5))&&(this[_0x4742fa(0x4d5)]=_0x157af6[_0x4742fa(0x4d5)]);},'clone':function(){var _0x496970=_0x596d;return this[_0x496970(0x3fc)]['prototype'][_0x496970(0x4a2)](this);}};}()),_0x213313=_0x5f7b10[_0x37e20c(0x301)]=_0x5becf1['extend']({'init':function(_0x24fb5e,_0x56093c){var _0x301d4f=_0x37e20c;_0x24fb5e=this[_0x301d4f(0x487)]=_0x24fb5e||[],_0x56093c!=_0x4c29b1?this[_0x301d4f(0x2e2)]=_0x56093c:this['sigBytes']=_0x24fb5e[_0x301d4f(0x431)]*0x4;},'toString':function(_0x5d14dc){return(_0x5d14dc||_0x3fc6c9)['stringify'](this);},'concat':function(_0x2d731f){var _0x3f5157=_0x37e20c,_0x243b17=this[_0x3f5157(0x487)],_0x364e0c=_0x2d731f[_0x3f5157(0x487)],_0x57fcf5=this[_0x3f5157(0x2e2)],_0x3a4c64=_0x2d731f[_0x3f5157(0x2e2)];if(this[_0x3f5157(0x265)](),_0x57fcf5%0x4)for(var _0x413209=0x0;_0x413209<_0x3a4c64;_0x413209++){var _0x251ee8=_0x364e0c[_0x413209>>>0x2]>>>0x18-_0x413209%0x4*0x8&0xff;_0x243b17[_0x57fcf5+_0x413209>>>0x2]|=_0x251ee8<<0x18-(_0x57fcf5+_0x413209)%0x4*0x8;}else{for(var _0x588d7b=0x0;_0x588d7b<_0x3a4c64;_0x588d7b+=0x4)_0x243b17[_0x57fcf5+_0x588d7b>>>0x2]=_0x364e0c[_0x588d7b>>>0x2];}return this[_0x3f5157(0x2e2)]+=_0x3a4c64,this;},'clamp':function(){var _0x56ba8e=_0x37e20c,_0x3c37e7=this[_0x56ba8e(0x487)],_0x56409b=this[_0x56ba8e(0x2e2)];_0x3c37e7[_0x56409b>>>0x2]&=0xffffffff<<0x20-_0x56409b%0x4*0x8,_0x3c37e7[_0x56ba8e(0x431)]=_0x4a9a82[_0x56ba8e(0x4a6)](_0x56409b/0x4);},'clone':function(){var _0x13616b=_0x37e20c,_0x30e4fb=_0x5becf1[_0x13616b(0x1de)]['call'](this);return _0x30e4fb[_0x13616b(0x487)]=this['words'][_0x13616b(0x386)](0x0),_0x30e4fb;},'random':function(_0x906c8){var _0x35d5b6=_0x37e20c;for(var _0x3c0348=[],_0x529f72=0x0;_0x529f72<_0x906c8;_0x529f72+=0x4)_0x3c0348['push'](_0xc4e0eb());return new _0x213313[(_0x35d5b6(0x3fc))](_0x3c0348,_0x906c8);}}),_0xa88831=_0x1c143c['enc']={},_0x3fc6c9=_0xa88831[_0x37e20c(0x205)]={'stringify':function(_0x3ce5b9){var _0x4e558c=_0x37e20c;for(var _0x7bfc74=_0x3ce5b9[_0x4e558c(0x487)],_0x19a5ce=_0x3ce5b9[_0x4e558c(0x2e2)],_0x907164=[],_0x1bd737=0x0;_0x1bd737<_0x19a5ce;_0x1bd737++){var _0x5a2618=_0x7bfc74[_0x1bd737>>>0x2]>>>0x18-_0x1bd737%0x4*0x8&0xff;_0x907164[_0x4e558c(0x2ad)]((_0x5a2618>>>0x4)['toString'](0x10)),_0x907164[_0x4e558c(0x2ad)]((_0x5a2618&0xf)[_0x4e558c(0x4d5)](0x10));}return _0x907164[_0x4e558c(0x250)]('');},'parse':function(_0x27d3ab){var _0x3b0a51=_0x37e20c;for(var _0x1d2558=_0x27d3ab[_0x3b0a51(0x431)],_0xaff7d9=[],_0x165ddf=0x0;_0x165ddf<_0x1d2558;_0x165ddf+=0x2)_0xaff7d9[_0x165ddf>>>0x3]|=parseInt(_0x27d3ab[_0x3b0a51(0x35a)](_0x165ddf,0x2),0x10)<<0x18-_0x165ddf%0x8*0x4;return new _0x213313['init'](_0xaff7d9,_0x1d2558/0x2);}},_0x390f1d=_0xa88831[_0x37e20c(0x206)]={'stringify':function(_0x3fd973){var _0x26869f=_0x37e20c;for(var _0x1bab15=_0x3fd973['words'],_0x1cfa7c=_0x3fd973[_0x26869f(0x2e2)],_0xdc4287=[],_0x202405=0x0;_0x202405<_0x1cfa7c;_0x202405++){var _0x469a3d=_0x1bab15[_0x202405>>>0x2]>>>0x18-_0x202405%0x4*0x8&0xff;_0xdc4287['push'](String['fromCharCode'](_0x469a3d));}return _0xdc4287[_0x26869f(0x250)]('');},'parse':function(_0x450496){var _0x33ce96=_0x37e20c;for(var _0x2ffcf7=_0x450496[_0x33ce96(0x431)],_0x3364a2=[],_0x3a0313=0x0;_0x3a0313<_0x2ffcf7;_0x3a0313++)_0x3364a2[_0x3a0313>>>0x2]|=(_0x450496['charCodeAt'](_0x3a0313)&0xff)<<0x18-_0x3a0313%0x4*0x8;return new _0x213313[(_0x33ce96(0x3fc))](_0x3364a2,_0x2ffcf7);}},_0x53f9c3=_0xa88831[_0x37e20c(0x403)]={'stringify':function(_0x2787aa){var _0x586c53=_0x37e20c;try{return decodeURIComponent(escape(_0x390f1d['stringify'](_0x2787aa)));}catch{throw new Error(_0x586c53(0x3e8));}},'parse':function(_0x3ed9c1){var _0x2806a3=_0x37e20c;return _0x390f1d[_0x2806a3(0x3df)](unescape(encodeURIComponent(_0x3ed9c1)));}},_0x11fa61=_0x5f7b10['BufferedBlockAlgorithm']=_0x5becf1['extend']({'reset':function(){var _0x4012d2=_0x37e20c;this[_0x4012d2(0x4d8)]=new _0x213313[(_0x4012d2(0x3fc))](),this[_0x4012d2(0x256)]=0x0;},'_append':function(_0x106cfd){var _0x3988f2=_0x37e20c;typeof _0x106cfd==_0x3988f2(0x427)&&(_0x106cfd=_0x53f9c3[_0x3988f2(0x3df)](_0x106cfd)),this[_0x3988f2(0x4d8)][_0x3988f2(0x21d)](_0x106cfd),this['_nDataBytes']+=_0x106cfd[_0x3988f2(0x2e2)];},'_process':function(_0x4b561c){var _0x2bdaca=_0x37e20c,_0x5bc40b,_0x487b47=this[_0x2bdaca(0x4d8)],_0x37fc4e=_0x487b47[_0x2bdaca(0x487)],_0xb1f32d=_0x487b47[_0x2bdaca(0x2e2)],_0x56280e=this['blockSize'],_0xa231db=_0x56280e*0x4,_0x361b25=_0xb1f32d/_0xa231db;_0x4b561c?_0x361b25=_0x4a9a82[_0x2bdaca(0x4a6)](_0x361b25):_0x361b25=_0x4a9a82[_0x2bdaca(0x1e2)]((_0x361b25|0x0)-this['_minBufferSize'],0x0);var _0x596736=_0x361b25*_0x56280e,_0x5c5f27=_0x4a9a82[_0x2bdaca(0x439)](_0x596736*0x4,_0xb1f32d);if(_0x596736){for(var _0x1a8425=0x0;_0x1a8425<_0x596736;_0x1a8425+=_0x56280e)this[_0x2bdaca(0x293)](_0x37fc4e,_0x1a8425);_0x5bc40b=_0x37fc4e['splice'](0x0,_0x596736),_0x487b47[_0x2bdaca(0x2e2)]-=_0x5c5f27;}return new _0x213313[(_0x2bdaca(0x3fc))](_0x5bc40b,_0x5c5f27);},'clone':function(){var _0x104f62=_0x37e20c,_0x2f7109=_0x5becf1['clone'][_0x104f62(0x3f9)](this);return _0x2f7109[_0x104f62(0x4d8)]=this[_0x104f62(0x4d8)][_0x104f62(0x1de)](),_0x2f7109;},'_minBufferSize':0x0});_0x5f7b10['Hasher']=_0x11fa61[_0x37e20c(0x4a2)]({'cfg':_0x5becf1[_0x37e20c(0x4a2)](),'init':function(_0x33d8d1){var _0x2f1384=_0x37e20c;this[_0x2f1384(0x390)]=this[_0x2f1384(0x390)][_0x2f1384(0x4a2)](_0x33d8d1),this[_0x2f1384(0x22d)]();},'reset':function(){var _0x7d9669=_0x37e20c;_0x11fa61[_0x7d9669(0x22d)][_0x7d9669(0x3f9)](this),this[_0x7d9669(0x329)]();},'update':function(_0x5458c4){var _0x4689ae=_0x37e20c;return this[_0x4689ae(0x424)](_0x5458c4),this[_0x4689ae(0x40d)](),this;},'finalize':function(_0x4c8a03){var _0x3f4b6e=_0x37e20c;_0x4c8a03&&this[_0x3f4b6e(0x424)](_0x4c8a03);var _0x2e69b2=this[_0x3f4b6e(0x4a3)]();return _0x2e69b2;},'blockSize':0x10,'_createHelper':function(_0x222b35){return function(_0x593d8,_0x2932ec){var _0x1a4ec7=_0x596d;return new _0x222b35['init'](_0x2932ec)[_0x1a4ec7(0x2b7)](_0x593d8);};},'_createHmacHelper':function(_0x3877f4){return function(_0x3089d0,_0x509973){var _0x43eba0=_0x596d;return new _0x589f1e[(_0x43eba0(0x280))][(_0x43eba0(0x3fc))](_0x3877f4,_0x509973)[_0x43eba0(0x2b7)](_0x3089d0);};}});var _0x589f1e=_0x1c143c['algo']={};return _0x1c143c;}(Math);return _0x280bb4;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x1af128(0x1d6)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x11881c,_0xdd206b){(function(_0x336033,_0x46e412){var _0x11fd9c=_0x596d;_0x11881c[_0x11fd9c(0x1d6)]=_0x46e412(ne());}(xr,function(_0x4c7b3e){var _0x37b411=_0x596d;return(function(){var _0xa7735e=_0x596d,_0x1a1be8=_0x4c7b3e,_0x1c3b07=_0x1a1be8[_0xa7735e(0x38e)],_0x294c0f=_0x1c3b07[_0xa7735e(0x301)],_0x3439cc=_0x1a1be8['enc'];_0x3439cc['Base64']={'stringify':function(_0x28f918){var _0x201c4e=_0xa7735e,_0x3f3091=_0x28f918[_0x201c4e(0x487)],_0x3e5b10=_0x28f918[_0x201c4e(0x2e2)],_0x137553=this[_0x201c4e(0x2e4)];_0x28f918[_0x201c4e(0x265)]();for(var _0x3fc56e=[],_0x486189=0x0;_0x486189<_0x3e5b10;_0x486189+=0x3)for(var _0x1fcb00=_0x3f3091[_0x486189>>>0x2]>>>0x18-_0x486189%0x4*0x8&0xff,_0x4411a9=_0x3f3091[_0x486189+0x1>>>0x2]>>>0x18-(_0x486189+0x1)%0x4*0x8&0xff,_0x43fa0e=_0x3f3091[_0x486189+0x2>>>0x2]>>>0x18-(_0x486189+0x2)%0x4*0x8&0xff,_0x5db6d7=_0x1fcb00<<0x10|_0x4411a9<<0x8|_0x43fa0e,_0x173eba=0x0;_0x173eba<0x4&&_0x486189+_0x173eba*0.75<_0x3e5b10;_0x173eba++)_0x3fc56e['push'](_0x137553[_0x201c4e(0x3dd)](_0x5db6d7>>>0x6*(0x3-_0x173eba)&0x3f));var _0x56d568=_0x137553[_0x201c4e(0x3dd)](0x40);if(_0x56d568){for(;_0x3fc56e['length']%0x4;)_0x3fc56e[_0x201c4e(0x2ad)](_0x56d568);}return _0x3fc56e[_0x201c4e(0x250)]('');},'parse':function(_0x5f6127){var _0x1893f7=_0xa7735e,_0x213210=_0x5f6127[_0x1893f7(0x431)],_0x5f30c9=this[_0x1893f7(0x2e4)],_0x6ee06d=this[_0x1893f7(0x458)];if(!_0x6ee06d){_0x6ee06d=this[_0x1893f7(0x458)]=[];for(var _0x89f914=0x0;_0x89f914<_0x5f30c9[_0x1893f7(0x431)];_0x89f914++)_0x6ee06d[_0x5f30c9[_0x1893f7(0x2d1)](_0x89f914)]=_0x89f914;}var _0x106663=_0x5f30c9[_0x1893f7(0x3dd)](0x40);if(_0x106663){var _0x1fc414=_0x5f6127[_0x1893f7(0x24a)](_0x106663);_0x1fc414!==-0x1&&(_0x213210=_0x1fc414);}return _0x41c13d(_0x5f6127,_0x213210,_0x6ee06d);},'_map':_0xa7735e(0x227)};function _0x41c13d(_0x20aa83,_0x594448,_0xd3c7a3){var _0x3def0d=_0xa7735e;for(var _0x5da843=[],_0x159ddf=0x0,_0x5b407d=0x0;_0x5b407d<_0x594448;_0x5b407d++)if(_0x5b407d%0x4){var _0x689f96=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d-0x1)]<<_0x5b407d%0x4*0x2,_0x5079d2=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d)]>>>0x6-_0x5b407d%0x4*0x2,_0x5db391=_0x689f96|_0x5079d2;_0x5da843[_0x159ddf>>>0x2]|=_0x5db391<<0x18-_0x159ddf%0x4*0x8,_0x159ddf++;}return _0x294c0f[_0x3def0d(0x4b2)](_0x5da843,_0x159ddf);}}()),_0x4c7b3e[_0x37b411(0x1fe)][_0x37b411(0x497)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x473fbd=_0x1af128;return ei||(ei=0x1,function(_0x7ee48c,_0x547e34){(function(_0x184f95,_0x20a655){var _0x1f6494=_0x596d;_0x7ee48c[_0x1f6494(0x1d6)]=_0x20a655(ne());}(Lr,function(_0x52080a){return function(_0x537a9a){var _0x133cbd=_0x596d,_0xdeeb8d=_0x52080a,_0x10f43a=_0xdeeb8d[_0x133cbd(0x38e)],_0x311b7c=_0x10f43a['WordArray'],_0x266371=_0x10f43a['Hasher'],_0x381e5d=_0xdeeb8d[_0x133cbd(0x2af)],_0x38e293=[];(function(){var _0x214e0=_0x133cbd;for(var _0xe8776f=0x0;_0xe8776f<0x40;_0xe8776f++)_0x38e293[_0xe8776f]=_0x537a9a[_0x214e0(0x3b3)](_0x537a9a[_0x214e0(0x2ea)](_0xe8776f+0x1))*0x100000000|0x0;}());var _0x1e1837=_0x381e5d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x4a2)]({'_doReset':function(){var _0x2dbb7d=_0x133cbd;this[_0x2dbb7d(0x316)]=new _0x311b7c[(_0x2dbb7d(0x3fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ac0c0,_0x502076){var _0x330187=_0x133cbd;for(var _0x5286f2=0x0;_0x5286f2<0x10;_0x5286f2++){var _0xde7572=_0x502076+_0x5286f2,_0x3e57a2=_0x4ac0c0[_0xde7572];_0x4ac0c0[_0xde7572]=(_0x3e57a2<<0x8|_0x3e57a2>>>0x18)&0xff00ff|(_0x3e57a2<<0x18|_0x3e57a2>>>0x8)&0xff00ff00;}var _0x291bba=this[_0x330187(0x316)][_0x330187(0x487)],_0x2476b3=_0x4ac0c0[_0x502076+0x0],_0x55be43=_0x4ac0c0[_0x502076+0x1],_0x4541bb=_0x4ac0c0[_0x502076+0x2],_0x75d4aa=_0x4ac0c0[_0x502076+0x3],_0x3f2094=_0x4ac0c0[_0x502076+0x4],_0x56e834=_0x4ac0c0[_0x502076+0x5],_0x3a114e=_0x4ac0c0[_0x502076+0x6],_0x36b380=_0x4ac0c0[_0x502076+0x7],_0x376622=_0x4ac0c0[_0x502076+0x8],_0x161533=_0x4ac0c0[_0x502076+0x9],_0x3c917a=_0x4ac0c0[_0x502076+0xa],_0x53391c=_0x4ac0c0[_0x502076+0xb],_0x2e9b0a=_0x4ac0c0[_0x502076+0xc],_0x945a71=_0x4ac0c0[_0x502076+0xd],_0x112621=_0x4ac0c0[_0x502076+0xe],_0xd41543=_0x4ac0c0[_0x502076+0xf],_0x244937=_0x291bba[0x0],_0x5eb74c=_0x291bba[0x1],_0x1bbe88=_0x291bba[0x2],_0x508c2e=_0x291bba[0x3];_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x7,_0x38e293[0x0]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x55be43,0xc,_0x38e293[0x1]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0x11,_0x38e293[0x2]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x75d4aa,0x16,_0x38e293[0x3]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x7,_0x38e293[0x4]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x56e834,0xc,_0x38e293[0x5]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0x11,_0x38e293[0x6]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x36b380,0x16,_0x38e293[0x7]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x7,_0x38e293[0x8]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x161533,0xc,_0x38e293[0x9]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0x11,_0x38e293[0xa]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x53391c,0x16,_0x38e293[0xb]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x7,_0x38e293[0xc]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x945a71,0xc,_0x38e293[0xd]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0x11,_0x38e293[0xe]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0xd41543,0x16,_0x38e293[0xf]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x5,_0x38e293[0x10]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3a114e,0x9,_0x38e293[0x11]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0xe,_0x38e293[0x12]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2476b3,0x14,_0x38e293[0x13]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x5,_0x38e293[0x14]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3c917a,0x9,_0x38e293[0x15]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0xe,_0x38e293[0x16]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3f2094,0x14,_0x38e293[0x17]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x5,_0x38e293[0x18]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x112621,0x9,_0x38e293[0x19]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0xe,_0x38e293[0x1a]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x376622,0x14,_0x38e293[0x1b]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x5,_0x38e293[0x1c]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x4541bb,0x9,_0x38e293[0x1d]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0xe,_0x38e293[0x1e]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2e9b0a,0x14,_0x38e293[0x1f]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x4,_0x38e293[0x20]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x376622,0xb,_0x38e293[0x21]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0x10,_0x38e293[0x22]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x112621,0x17,_0x38e293[0x23]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x4,_0x38e293[0x24]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3f2094,0xb,_0x38e293[0x25]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0x10,_0x38e293[0x26]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3c917a,0x17,_0x38e293[0x27]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x4,_0x38e293[0x28]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2476b3,0xb,_0x38e293[0x29]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0x10,_0x38e293[0x2a]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3a114e,0x17,_0x38e293[0x2b]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x4,_0x38e293[0x2c]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2e9b0a,0xb,_0x38e293[0x2d]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0x10,_0x38e293[0x2e]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x4541bb,0x17,_0x38e293[0x2f]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x6,_0x38e293[0x30]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x36b380,0xa,_0x38e293[0x31]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0xf,_0x38e293[0x32]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x56e834,0x15,_0x38e293[0x33]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x6,_0x38e293[0x34]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x75d4aa,0xa,_0x38e293[0x35]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0xf,_0x38e293[0x36]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x55be43,0x15,_0x38e293[0x37]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x6,_0x38e293[0x38]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0xd41543,0xa,_0x38e293[0x39]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0xf,_0x38e293[0x3a]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x945a71,0x15,_0x38e293[0x3b]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x6,_0x38e293[0x3c]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x53391c,0xa,_0x38e293[0x3d]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0xf,_0x38e293[0x3e]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x161533,0x15,_0x38e293[0x3f]),_0x291bba[0x0]=_0x291bba[0x0]+_0x244937|0x0,_0x291bba[0x1]=_0x291bba[0x1]+_0x5eb74c|0x0,_0x291bba[0x2]=_0x291bba[0x2]+_0x1bbe88|0x0,_0x291bba[0x3]=_0x291bba[0x3]+_0x508c2e|0x0;},'_doFinalize':function(){var _0xdfdff7=_0x133cbd,_0x2c44cd=this[_0xdfdff7(0x4d8)],_0x4aa320=_0x2c44cd[_0xdfdff7(0x487)],_0x1af8c8=this['_nDataBytes']*0x8,_0x11ac8b=_0x2c44cd[_0xdfdff7(0x2e2)]*0x8;_0x4aa320[_0x11ac8b>>>0x5]|=0x80<<0x18-_0x11ac8b%0x20;var _0x52f35c=_0x537a9a['floor'](_0x1af8c8/0x100000000),_0x405819=_0x1af8c8;_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xf]=(_0x52f35c<<0x8|_0x52f35c>>>0x18)&0xff00ff|(_0x52f35c<<0x18|_0x52f35c>>>0x8)&0xff00ff00,_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xe]=(_0x405819<<0x8|_0x405819>>>0x18)&0xff00ff|(_0x405819<<0x18|_0x405819>>>0x8)&0xff00ff00,_0x2c44cd[_0xdfdff7(0x2e2)]=(_0x4aa320['length']+0x1)*0x4,this['_process']();for(var _0x3841f7=this[_0xdfdff7(0x316)],_0x5387cf=_0x3841f7[_0xdfdff7(0x487)],_0x51aaa4=0x0;_0x51aaa4<0x4;_0x51aaa4++){var _0x396919=_0x5387cf[_0x51aaa4];_0x5387cf[_0x51aaa4]=(_0x396919<<0x8|_0x396919>>>0x18)&0xff00ff|(_0x396919<<0x18|_0x396919>>>0x8)&0xff00ff00;}return _0x3841f7;},'clone':function(){var _0x37c524=_0x133cbd,_0x29c11d=_0x266371[_0x37c524(0x1de)][_0x37c524(0x3f9)](this);return _0x29c11d['_hash']=this['_hash'][_0x37c524(0x1de)](),_0x29c11d;}});function _0xdc5d3c(_0x5be382,_0x37b7ce,_0x567736,_0x2b5df4,_0x6ccbe5,_0x284bad,_0x1b0d94){var _0x184652=_0x5be382+(_0x37b7ce&_0x567736|~_0x37b7ce&_0x2b5df4)+_0x6ccbe5+_0x1b0d94;return(_0x184652<<_0x284bad|_0x184652>>>0x20-_0x284bad)+_0x37b7ce;}function _0x3855f6(_0x50a123,_0x106bf7,_0x4e75df,_0x2a9c05,_0x3a43da,_0x16bbf4,_0x3abef4){var _0x430c30=_0x50a123+(_0x106bf7&_0x2a9c05|_0x4e75df&~_0x2a9c05)+_0x3a43da+_0x3abef4;return(_0x430c30<<_0x16bbf4|_0x430c30>>>0x20-_0x16bbf4)+_0x106bf7;}function _0x84d727(_0x27f2b5,_0x2759bf,_0x195ef8,_0x2bed17,_0x1246b3,_0x105a8c,_0xf1b546){var _0x156def=_0x27f2b5+(_0x2759bf^_0x195ef8^_0x2bed17)+_0x1246b3+_0xf1b546;return(_0x156def<<_0x105a8c|_0x156def>>>0x20-_0x105a8c)+_0x2759bf;}function _0x29239c(_0x139863,_0x27d06c,_0x5d999d,_0x4fee5a,_0xea0eaf,_0x5be690,_0x5b6d03){var _0x47c1bb=_0x139863+(_0x5d999d^(_0x27d06c|~_0x4fee5a))+_0xea0eaf+_0x5b6d03;return(_0x47c1bb<<_0x5be690|_0x47c1bb>>>0x20-_0x5be690)+_0x27d06c;}_0xdeeb8d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x1f7)](_0x1e1837),_0xdeeb8d[_0x133cbd(0x3f5)]=_0x266371[_0x133cbd(0x441)](_0x1e1837);}(Math),_0x52080a['MD5'];}));}(Ke)),Ke[_0x473fbd(0x1d6)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x1af128(0x1d6)],ti;function Hr(){var _0x4a71c=_0x1af128;return ti||(ti=0x1,function(_0x30a665,_0x1d8dfb){(function(_0x36036c,_0x31f482){var _0x4fc0eb=_0x596d;_0x30a665[_0x4fc0eb(0x1d6)]=_0x31f482(ne());}($r,function(_0x32e95e){return(function(){var _0x52b658=_0x596d,_0x272dab=_0x32e95e,_0xbbf018=_0x272dab[_0x52b658(0x38e)],_0x291a37=_0xbbf018[_0x52b658(0x301)],_0x294f34=_0xbbf018['Hasher'],_0x81cfcd=_0x272dab[_0x52b658(0x2af)],_0x29a0f7=[],_0x3cef03=_0x81cfcd[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x4a2)]({'_doReset':function(){var _0x4b8d6d=_0x52b658;this[_0x4b8d6d(0x316)]=new _0x291a37['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x593cc2,_0x2ab868){var _0x4e979b=_0x52b658;for(var _0x2cd74d=this[_0x4e979b(0x316)]['words'],_0x3497be=_0x2cd74d[0x0],_0x5b9af9=_0x2cd74d[0x1],_0x32e200=_0x2cd74d[0x2],_0x2b3dbb=_0x2cd74d[0x3],_0x36c539=_0x2cd74d[0x4],_0x12f25=0x0;_0x12f25<0x50;_0x12f25++){if(_0x12f25<0x10)_0x29a0f7[_0x12f25]=_0x593cc2[_0x2ab868+_0x12f25]|0x0;else{var _0x94cd35=_0x29a0f7[_0x12f25-0x3]^_0x29a0f7[_0x12f25-0x8]^_0x29a0f7[_0x12f25-0xe]^_0x29a0f7[_0x12f25-0x10];_0x29a0f7[_0x12f25]=_0x94cd35<<0x1|_0x94cd35>>>0x1f;}var _0x59b534=(_0x3497be<<0x5|_0x3497be>>>0x1b)+_0x36c539+_0x29a0f7[_0x12f25];_0x12f25<0x14?_0x59b534+=(_0x5b9af9&_0x32e200|~_0x5b9af9&_0x2b3dbb)+0x5a827999:_0x12f25<0x28?_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)+0x6ed9eba1:_0x12f25<0x3c?_0x59b534+=(_0x5b9af9&_0x32e200|_0x5b9af9&_0x2b3dbb|_0x32e200&_0x2b3dbb)-0x70e44324:_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)-0x359d3e2a,_0x36c539=_0x2b3dbb,_0x2b3dbb=_0x32e200,_0x32e200=_0x5b9af9<<0x1e|_0x5b9af9>>>0x2,_0x5b9af9=_0x3497be,_0x3497be=_0x59b534;}_0x2cd74d[0x0]=_0x2cd74d[0x0]+_0x3497be|0x0,_0x2cd74d[0x1]=_0x2cd74d[0x1]+_0x5b9af9|0x0,_0x2cd74d[0x2]=_0x2cd74d[0x2]+_0x32e200|0x0,_0x2cd74d[0x3]=_0x2cd74d[0x3]+_0x2b3dbb|0x0,_0x2cd74d[0x4]=_0x2cd74d[0x4]+_0x36c539|0x0;},'_doFinalize':function(){var _0x919228=_0x52b658,_0x39a81c=this['_data'],_0x13bdfc=_0x39a81c[_0x919228(0x487)],_0x298c60=this['_nDataBytes']*0x8,_0x10f09f=_0x39a81c['sigBytes']*0x8;return _0x13bdfc[_0x10f09f>>>0x5]|=0x80<<0x18-_0x10f09f%0x20,_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xe]=Math[_0x919228(0x3ab)](_0x298c60/0x100000000),_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xf]=_0x298c60,_0x39a81c[_0x919228(0x2e2)]=_0x13bdfc[_0x919228(0x431)]*0x4,this[_0x919228(0x40d)](),this[_0x919228(0x316)];},'clone':function(){var _0x8e1539=_0x52b658,_0x187b23=_0x294f34[_0x8e1539(0x1de)]['call'](this);return _0x187b23[_0x8e1539(0x316)]=this[_0x8e1539(0x316)][_0x8e1539(0x1de)](),_0x187b23;}});_0x272dab[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x1f7)](_0x3cef03),_0x272dab[_0x52b658(0x3ed)]=_0x294f34[_0x52b658(0x441)](_0x3cef03);}()),_0x32e95e['SHA1'];}));}(qe)),qe[_0x4a71c(0x1d6)];}var ze={'exports':{}},kr=ze[_0x1af128(0x1d6)],ii;function jr(){var _0x4d1fad=_0x1af128;return ii||(ii=0x1,function(_0x4fc494,_0x561379){(function(_0x194213,_0x535d31){_0x4fc494['exports']=_0x535d31(ne());}(kr,function(_0x79793c){(function(){var _0x402120=_0x596d,_0x1262ba=_0x79793c,_0x43966e=_0x1262ba[_0x402120(0x38e)],_0x2bff77=_0x43966e['Base'],_0x27e5de=_0x1262ba['enc'],_0x4bf706=_0x27e5de[_0x402120(0x403)],_0x3510cb=_0x1262ba[_0x402120(0x2af)];_0x3510cb[_0x402120(0x280)]=_0x2bff77['extend']({'init':function(_0x1d6424,_0x252353){var _0x494d81=_0x402120;_0x1d6424=this[_0x494d81(0x26f)]=new _0x1d6424[(_0x494d81(0x3fc))](),typeof _0x252353=='string'&&(_0x252353=_0x4bf706[_0x494d81(0x3df)](_0x252353));var _0x15c884=_0x1d6424[_0x494d81(0x2f8)],_0x5b4aea=_0x15c884*0x4;_0x252353[_0x494d81(0x2e2)]>_0x5b4aea&&(_0x252353=_0x1d6424[_0x494d81(0x2b7)](_0x252353)),_0x252353['clamp']();for(var _0x127735=this[_0x494d81(0x294)]=_0x252353['clone'](),_0x1582a1=this['_iKey']=_0x252353[_0x494d81(0x1de)](),_0x4f3890=_0x127735[_0x494d81(0x487)],_0x2435e1=_0x1582a1['words'],_0x29bac8=0x0;_0x29bac8<_0x15c884;_0x29bac8++)_0x4f3890[_0x29bac8]^=0x5c5c5c5c,_0x2435e1[_0x29bac8]^=0x36363636;_0x127735[_0x494d81(0x2e2)]=_0x1582a1['sigBytes']=_0x5b4aea,this[_0x494d81(0x22d)]();},'reset':function(){var _0x3feddb=_0x402120,_0x3626f6=this[_0x3feddb(0x26f)];_0x3626f6['reset'](),_0x3626f6[_0x3feddb(0x370)](this[_0x3feddb(0x3db)]);},'update':function(_0x555c89){var _0x93aae0=_0x402120;return this[_0x93aae0(0x26f)][_0x93aae0(0x370)](_0x555c89),this;},'finalize':function(_0x3f4ab8){var _0x3af6e4=_0x402120,_0x32db97=this[_0x3af6e4(0x26f)],_0x3b4b64=_0x32db97[_0x3af6e4(0x2b7)](_0x3f4ab8);_0x32db97['reset']();var _0x293363=_0x32db97[_0x3af6e4(0x2b7)](this[_0x3af6e4(0x294)][_0x3af6e4(0x1de)]()[_0x3af6e4(0x21d)](_0x3b4b64));return _0x293363;}});}());}));}(ze)),ze[_0x4d1fad(0x1d6)];}var Br=Ye[_0x1af128(0x1d6)],ni;function Ui(){var _0x51b167=_0x1af128;return ni||(ni=0x1,function(_0x21e618,_0xe53cbb){(function(_0x4fdf7d,_0x313f0e,_0x203c9f){var _0x484538=_0x596d;_0x21e618[_0x484538(0x1d6)]=_0x313f0e(ne(),Hr(),jr());}(Br,function(_0x18a74f){var _0x41c08d=_0x596d;return(function(){var _0xc89938=_0x596d,_0x5a52f9=_0x18a74f,_0x59614e=_0x5a52f9[_0xc89938(0x38e)],_0x1fda88=_0x59614e[_0xc89938(0x3ac)],_0x466169=_0x59614e[_0xc89938(0x301)],_0x4e3d04=_0x5a52f9[_0xc89938(0x2af)],_0xa2cc14=_0x4e3d04[_0xc89938(0x4d7)],_0x359970=_0x4e3d04[_0xc89938(0x48f)]=_0x1fda88[_0xc89938(0x4a2)]({'cfg':_0x1fda88[_0xc89938(0x4a2)]({'keySize':0x80/0x20,'hasher':_0xa2cc14,'iterations':0x1}),'init':function(_0x272fef){var _0x2337c2=_0xc89938;this[_0x2337c2(0x390)]=this['cfg'][_0x2337c2(0x4a2)](_0x272fef);},'compute':function(_0x50d7d4,_0x4abd7d){var _0x252a82=_0xc89938;for(var _0x1bb8f6,_0xc4c43c=this[_0x252a82(0x390)],_0x32f35b=_0xc4c43c[_0x252a82(0x447)][_0x252a82(0x4b2)](),_0x429847=_0x466169[_0x252a82(0x4b2)](),_0x177a6c=_0x429847[_0x252a82(0x487)],_0xe9ae0e=_0xc4c43c[_0x252a82(0x3d6)],_0x1f3737=_0xc4c43c[_0x252a82(0x262)];_0x177a6c[_0x252a82(0x431)]<_0xe9ae0e;){_0x1bb8f6&&_0x32f35b['update'](_0x1bb8f6),_0x1bb8f6=_0x32f35b['update'](_0x50d7d4)[_0x252a82(0x2b7)](_0x4abd7d),_0x32f35b['reset']();for(var _0x1e8ef2=0x1;_0x1e8ef2<_0x1f3737;_0x1e8ef2++)_0x1bb8f6=_0x32f35b[_0x252a82(0x2b7)](_0x1bb8f6),_0x32f35b[_0x252a82(0x22d)]();_0x429847['concat'](_0x1bb8f6);}return _0x429847['sigBytes']=_0xe9ae0e*0x4,_0x429847;}});_0x5a52f9[_0xc89938(0x48f)]=function(_0x1d62b3,_0x48bea3,_0x38024e){var _0xe7f39a=_0xc89938;return _0x359970[_0xe7f39a(0x4b2)](_0x38024e)[_0xe7f39a(0x3f8)](_0x1d62b3,_0x48bea3);};}()),_0x18a74f[_0x41c08d(0x48f)];}));}(Ye)),Ye[_0x51b167(0x1d6)];}var Je={'exports':{}},Fr=Je[_0x1af128(0x1d6)],ri;function Ai(){return ri||(ri=0x1,function(_0x4d622a,_0x24ef57){(function(_0x3331c8,_0x3ac5a8,_0x264f85){var _0x30fdad=_0x596d;_0x4d622a[_0x30fdad(0x1d6)]=_0x3ac5a8(ne(),Ui());}(Fr,function(_0x111f1d){var _0x18b65c=_0x596d;_0x111f1d[_0x18b65c(0x38e)][_0x18b65c(0x3f3)]||function(_0x31a63e){var _0x51cb57=_0x18b65c,_0x16e9ae=_0x111f1d,_0x326008=_0x16e9ae[_0x51cb57(0x38e)],_0x373344=_0x326008['Base'],_0xb28977=_0x326008[_0x51cb57(0x301)],_0x1e0a8b=_0x326008[_0x51cb57(0x48c)],_0x5344cc=_0x16e9ae['enc'];_0x5344cc[_0x51cb57(0x403)];var _0x12b014=_0x5344cc[_0x51cb57(0x497)],_0x2211ed=_0x16e9ae[_0x51cb57(0x2af)],_0x54ada5=_0x2211ed[_0x51cb57(0x48f)],_0x464d55=_0x326008[_0x51cb57(0x3f3)]=_0x1e0a8b[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)](),'createEncryptor':function(_0x865b4e,_0x18f012){var _0x12ca7a=_0x51cb57;return this[_0x12ca7a(0x4b2)](this['_ENC_XFORM_MODE'],_0x865b4e,_0x18f012);},'createDecryptor':function(_0x317a5a,_0x5bf923){var _0x23ea81=_0x51cb57;return this[_0x23ea81(0x4b2)](this[_0x23ea81(0x207)],_0x317a5a,_0x5bf923);},'init':function(_0x427658,_0x3c141f,_0x5e26b5){var _0x11607c=_0x51cb57;this[_0x11607c(0x390)]=this['cfg']['extend'](_0x5e26b5),this[_0x11607c(0x27c)]=_0x427658,this[_0x11607c(0x318)]=_0x3c141f,this['reset']();},'reset':function(){var _0x4c8658=_0x51cb57;_0x1e0a8b[_0x4c8658(0x22d)]['call'](this),this[_0x4c8658(0x329)]();},'process':function(_0x2a788e){var _0x1ad368=_0x51cb57;return this[_0x1ad368(0x424)](_0x2a788e),this[_0x1ad368(0x40d)]();},'finalize':function(_0x3aa143){var _0x2e1e9b=_0x51cb57;_0x3aa143&&this[_0x2e1e9b(0x424)](_0x3aa143);var _0x20b3b0=this[_0x2e1e9b(0x4a3)]();return _0x20b3b0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x423ad7(_0xb6f771){return typeof _0xb6f771=='string'?_0x1515d5:_0xc3566;}return function(_0x3ab687){return{'encrypt':function(_0x26306e,_0x2ed8fc,_0x278f66){var _0x5edec7=_0x596d;return _0x423ad7(_0x2ed8fc)[_0x5edec7(0x4bf)](_0x3ab687,_0x26306e,_0x2ed8fc,_0x278f66);},'decrypt':function(_0x3e253b,_0x3633f0,_0x4f2a45){return _0x423ad7(_0x3633f0)['decrypt'](_0x3ab687,_0x3e253b,_0x3633f0,_0x4f2a45);}};};}())});_0x326008[_0x51cb57(0x2ae)]=_0x464d55[_0x51cb57(0x4a2)]({'_doFinalize':function(){var _0x3f9dae=this['_process'](!0x0);return _0x3f9dae;},'blockSize':0x1});var _0x5f35e5=_0x16e9ae[_0x51cb57(0x231)]={},_0x5cf44c=_0x326008['BlockCipherMode']=_0x373344[_0x51cb57(0x4a2)]({'createEncryptor':function(_0x20e2d3,_0x115b3d){var _0x1cfcde=_0x51cb57;return this[_0x1cfcde(0x407)][_0x1cfcde(0x4b2)](_0x20e2d3,_0x115b3d);},'createDecryptor':function(_0x2abcbf,_0xd461a){var _0x37f5a2=_0x51cb57;return this[_0x37f5a2(0x1e7)]['create'](_0x2abcbf,_0xd461a);},'init':function(_0x5b7bd7,_0x45d5ee){var _0x578943=_0x51cb57;this[_0x578943(0x442)]=_0x5b7bd7,this['_iv']=_0x45d5ee;}}),_0x3132f5=_0x5f35e5[_0x51cb57(0x23c)]=(function(){var _0x9b8ea9=_0x51cb57,_0x589506=_0x5cf44c[_0x9b8ea9(0x4a2)]();_0x589506['Encryptor']=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x4ba117,_0x5e40ac){var _0x290461=_0x9b8ea9,_0x1fcbf2=this[_0x290461(0x442)],_0x798908=_0x1fcbf2[_0x290461(0x2f8)];_0x3c574f[_0x290461(0x3f9)](this,_0x4ba117,_0x5e40ac,_0x798908),_0x1fcbf2[_0x290461(0x3b6)](_0x4ba117,_0x5e40ac),this['_prevBlock']=_0x4ba117[_0x290461(0x386)](_0x5e40ac,_0x5e40ac+_0x798908);}}),_0x589506[_0x9b8ea9(0x1e7)]=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x38ffa6,_0x1ebbba){var _0x557341=_0x9b8ea9,_0xc10e97=this[_0x557341(0x442)],_0x18aec9=_0xc10e97[_0x557341(0x2f8)],_0x560f95=_0x38ffa6['slice'](_0x1ebbba,_0x1ebbba+_0x18aec9);_0xc10e97['decryptBlock'](_0x38ffa6,_0x1ebbba),_0x3c574f[_0x557341(0x3f9)](this,_0x38ffa6,_0x1ebbba,_0x18aec9),this[_0x557341(0x3ff)]=_0x560f95;}});function _0x3c574f(_0x133bb2,_0xa85c23,_0x335eec){var _0x9e6019=_0x9b8ea9,_0x1067e9,_0x53e5b6=this[_0x9e6019(0x25f)];_0x53e5b6?(_0x1067e9=_0x53e5b6,this['_iv']=_0x31a63e):_0x1067e9=this[_0x9e6019(0x3ff)];for(var _0x31840c=0x0;_0x31840c<_0x335eec;_0x31840c++)_0x133bb2[_0xa85c23+_0x31840c]^=_0x1067e9[_0x31840c];}return _0x589506;}()),_0x3a9cfe=_0x16e9ae[_0x51cb57(0x30e)]={},_0x309845=_0x3a9cfe[_0x51cb57(0x46c)]={'pad':function(_0x525e74,_0x5eb755){var _0x59fe3b=_0x51cb57;for(var _0x4c38f1=_0x5eb755*0x4,_0x58db63=_0x4c38f1-_0x525e74[_0x59fe3b(0x2e2)]%_0x4c38f1,_0x2cbad8=_0x58db63<<0x18|_0x58db63<<0x10|_0x58db63<<0x8|_0x58db63,_0x57975b=[],_0x1d109d=0x0;_0x1d109d<_0x58db63;_0x1d109d+=0x4)_0x57975b['push'](_0x2cbad8);var _0x388d83=_0xb28977[_0x59fe3b(0x4b2)](_0x57975b,_0x58db63);_0x525e74['concat'](_0x388d83);},'unpad':function(_0x5b28bc){var _0x1700f9=_0x51cb57,_0x11331d=_0x5b28bc[_0x1700f9(0x487)][_0x5b28bc[_0x1700f9(0x2e2)]-0x1>>>0x2]&0xff;_0x5b28bc['sigBytes']-=_0x11331d;}};_0x326008[_0x51cb57(0x4cf)]=_0x464d55[_0x51cb57(0x4a2)]({'cfg':_0x464d55[_0x51cb57(0x390)][_0x51cb57(0x4a2)]({'mode':_0x3132f5,'padding':_0x309845}),'reset':function(){var _0x37ec00=_0x51cb57,_0x5b2e6a;_0x464d55[_0x37ec00(0x22d)][_0x37ec00(0x3f9)](this);var _0x53c01e=this[_0x37ec00(0x390)],_0x3e865=_0x53c01e['iv'],_0x3471ed=_0x53c01e['mode'];this[_0x37ec00(0x27c)]==this[_0x37ec00(0x436)]?_0x5b2e6a=_0x3471ed['createEncryptor']:(_0x5b2e6a=_0x3471ed[_0x37ec00(0x24f)],this[_0x37ec00(0x465)]=0x1),this[_0x37ec00(0x2db)]&&this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]==_0x5b2e6a?this[_0x37ec00(0x2db)][_0x37ec00(0x3fc)](this,_0x3e865&&_0x3e865['words']):(this['_mode']=_0x5b2e6a[_0x37ec00(0x3f9)](_0x3471ed,this,_0x3e865&&_0x3e865[_0x37ec00(0x487)]),this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]=_0x5b2e6a);},'_doProcessBlock':function(_0x464df1,_0x3dd517){var _0x3c3f64=_0x51cb57;this['_mode'][_0x3c3f64(0x1e5)](_0x464df1,_0x3dd517);},'_doFinalize':function(){var _0x420153=_0x51cb57,_0x309f12,_0x5b3057=this['cfg'][_0x420153(0x2fe)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x5b3057[_0x420153(0x30e)](this['_data'],this[_0x420153(0x2f8)]),_0x309f12=this[_0x420153(0x40d)](!0x0)):(_0x309f12=this[_0x420153(0x40d)](!0x0),_0x5b3057['unpad'](_0x309f12)),_0x309f12;},'blockSize':0x80/0x20});var _0x4d7a47=_0x326008['CipherParams']=_0x373344[_0x51cb57(0x4a2)]({'init':function(_0x33dd4e){var _0x5bd1af=_0x51cb57;this[_0x5bd1af(0x445)](_0x33dd4e);},'toString':function(_0x542f61){var _0x5b2888=_0x51cb57;return(_0x542f61||this[_0x5b2888(0x4c6)])[_0x5b2888(0x44b)](this);}}),_0x161034=_0x16e9ae[_0x51cb57(0x2ac)]={},_0x53224e=_0x161034[_0x51cb57(0x210)]={'stringify':function(_0x591d5f){var _0x18c64e=_0x51cb57,_0x194454,_0x491c85=_0x591d5f[_0x18c64e(0x2da)],_0x450f91=_0x591d5f[_0x18c64e(0x374)];return _0x450f91?_0x194454=_0xb28977[_0x18c64e(0x4b2)]([0x53616c74,0x65645f5f])[_0x18c64e(0x21d)](_0x450f91)[_0x18c64e(0x21d)](_0x491c85):_0x194454=_0x491c85,_0x194454['toString'](_0x12b014);},'parse':function(_0x5c1b6e){var _0x48532f=_0x51cb57,_0x1dff3f,_0x343c7b=_0x12b014['parse'](_0x5c1b6e),_0x1ae3fc=_0x343c7b[_0x48532f(0x487)];return _0x1ae3fc[0x0]==0x53616c74&&_0x1ae3fc[0x1]==0x65645f5f&&(_0x1dff3f=_0xb28977[_0x48532f(0x4b2)](_0x1ae3fc[_0x48532f(0x386)](0x2,0x4)),_0x1ae3fc[_0x48532f(0x3ca)](0x0,0x4),_0x343c7b[_0x48532f(0x2e2)]-=0x10),_0x4d7a47[_0x48532f(0x4b2)]({'ciphertext':_0x343c7b,'salt':_0x1dff3f});}},_0xc3566=_0x326008[_0x51cb57(0x281)]=_0x373344[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)]({'format':_0x53224e}),'encrypt':function(_0x2d9782,_0x43d528,_0x257191,_0x4fac91){var _0x556c7d=_0x51cb57;_0x4fac91=this['cfg']['extend'](_0x4fac91);var _0x1db048=_0x2d9782[_0x556c7d(0x494)](_0x257191,_0x4fac91),_0x39e041=_0x1db048['finalize'](_0x43d528),_0x5b73fe=_0x1db048['cfg'];return _0x4d7a47[_0x556c7d(0x4b2)]({'ciphertext':_0x39e041,'key':_0x257191,'iv':_0x5b73fe['iv'],'algorithm':_0x2d9782,'mode':_0x5b73fe[_0x556c7d(0x231)],'padding':_0x5b73fe[_0x556c7d(0x2fe)],'blockSize':_0x2d9782[_0x556c7d(0x2f8)],'formatter':_0x4fac91[_0x556c7d(0x2ac)]});},'decrypt':function(_0x738985,_0x5cb78f,_0x13292f,_0x48145f){var _0x4b1dac=_0x51cb57;_0x48145f=this['cfg']['extend'](_0x48145f),_0x5cb78f=this[_0x4b1dac(0x3b8)](_0x5cb78f,_0x48145f[_0x4b1dac(0x2ac)]);var _0x229c66=_0x738985[_0x4b1dac(0x24f)](_0x13292f,_0x48145f)['finalize'](_0x5cb78f[_0x4b1dac(0x2da)]);return _0x229c66;},'_parse':function(_0x21e7af,_0x63b7c1){var _0x2f6a5f=_0x51cb57;return typeof _0x21e7af==_0x2f6a5f(0x427)?_0x63b7c1[_0x2f6a5f(0x3df)](_0x21e7af,this):_0x21e7af;}}),_0xc66a16=_0x16e9ae[_0x51cb57(0x3a1)]={},_0x436371=_0xc66a16[_0x51cb57(0x210)]={'execute':function(_0x5df856,_0x105185,_0x527a59,_0x2454c5,_0x5c454c){var _0x447e31=_0x51cb57;if(_0x2454c5||(_0x2454c5=_0xb28977[_0x447e31(0x1d7)](0x40/0x8)),_0x5c454c)var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59,'hasher':_0x5c454c})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);else var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);var _0x1f9f52=_0xb28977[_0x447e31(0x4b2)](_0x5c6923[_0x447e31(0x487)][_0x447e31(0x386)](_0x105185),_0x527a59*0x4);return _0x5c6923[_0x447e31(0x2e2)]=_0x105185*0x4,_0x4d7a47[_0x447e31(0x4b2)]({'key':_0x5c6923,'iv':_0x1f9f52,'salt':_0x2454c5});}},_0x1515d5=_0x326008[_0x51cb57(0x271)]=_0xc3566['extend']({'cfg':_0xc3566[_0x51cb57(0x390)]['extend']({'kdf':_0x436371}),'encrypt':function(_0x201787,_0x582cc5,_0x1cfe1c,_0x5532b8){var _0x2d1751=_0x51cb57;_0x5532b8=this[_0x2d1751(0x390)][_0x2d1751(0x4a2)](_0x5532b8);var _0xda7c66=_0x5532b8['kdf'][_0x2d1751(0x4b8)](_0x1cfe1c,_0x201787[_0x2d1751(0x3d6)],_0x201787['ivSize'],_0x5532b8[_0x2d1751(0x374)],_0x5532b8[_0x2d1751(0x447)]);_0x5532b8['iv']=_0xda7c66['iv'];var _0x57812c=_0xc3566[_0x2d1751(0x4bf)][_0x2d1751(0x3f9)](this,_0x201787,_0x582cc5,_0xda7c66[_0x2d1751(0x228)],_0x5532b8);return _0x57812c[_0x2d1751(0x445)](_0xda7c66),_0x57812c;},'decrypt':function(_0x5ac895,_0xb8aa54,_0x4aba26,_0x3a9fa0){var _0x39af83=_0x51cb57;_0x3a9fa0=this[_0x39af83(0x390)][_0x39af83(0x4a2)](_0x3a9fa0),_0xb8aa54=this['_parse'](_0xb8aa54,_0x3a9fa0['format']);var _0x1fad98=_0x3a9fa0[_0x39af83(0x3a1)][_0x39af83(0x4b8)](_0x4aba26,_0x5ac895[_0x39af83(0x3d6)],_0x5ac895[_0x39af83(0x395)],_0xb8aa54[_0x39af83(0x374)],_0x3a9fa0[_0x39af83(0x447)]);_0x3a9fa0['iv']=_0x1fad98['iv'];var _0xf3cb24=_0xc3566[_0x39af83(0x282)][_0x39af83(0x3f9)](this,_0x5ac895,_0xb8aa54,_0x1fad98[_0x39af83(0x228)],_0x3a9fa0);return _0xf3cb24;}});}();}));}(Je)),Je['exports'];}var Vr=Ve['exports'],si;function Gr(){var _0x2f0b11=_0x1af128;return si||(si=0x1,function(_0x25c05f,_0x1d2d41){(function(_0x94b03b,_0x295442,_0x2b64e1){var _0x539f79=_0x596d;_0x25c05f[_0x539f79(0x1d6)]=_0x295442(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x2a56a9){var _0x3f25a8=_0x596d;return(function(){var _0x4464ff=_0x596d,_0x57b550=_0x2a56a9,_0x485bf7=_0x57b550[_0x4464ff(0x38e)],_0x1eb7f9=_0x485bf7[_0x4464ff(0x4cf)],_0x10fd66=_0x57b550[_0x4464ff(0x2af)],_0x3aa8d1=[],_0x428322=[],_0x31e510=[],_0x4789d9=[],_0xab9e49=[],_0x4ece89=[],_0x494800=[],_0x58160c=[],_0x70708e=[],_0x4086b9=[];(function(){for(var _0x46b858=[],_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++)_0x37bac9<0x80?_0x46b858[_0x37bac9]=_0x37bac9<<0x1:_0x46b858[_0x37bac9]=_0x37bac9<<0x1^0x11b;for(var _0x1f3b7a=0x0,_0x6bd485=0x0,_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++){var _0x158af6=_0x6bd485^_0x6bd485<<0x1^_0x6bd485<<0x2^_0x6bd485<<0x3^_0x6bd485<<0x4;_0x158af6=_0x158af6>>>0x8^_0x158af6&0xff^0x63,_0x3aa8d1[_0x1f3b7a]=_0x158af6,_0x428322[_0x158af6]=_0x1f3b7a;var _0x4350df=_0x46b858[_0x1f3b7a],_0x293bd4=_0x46b858[_0x4350df],_0x499b8e=_0x46b858[_0x293bd4],_0x2402c3=_0x46b858[_0x158af6]*0x101^_0x158af6*0x1010100;_0x31e510[_0x1f3b7a]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x4789d9[_0x1f3b7a]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0xab9e49[_0x1f3b7a]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4ece89[_0x1f3b7a]=_0x2402c3;var _0x2402c3=_0x499b8e*0x1010101^_0x293bd4*0x10001^_0x4350df*0x101^_0x1f3b7a*0x1010100;_0x494800[_0x158af6]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x58160c[_0x158af6]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0x70708e[_0x158af6]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4086b9[_0x158af6]=_0x2402c3,_0x1f3b7a?(_0x1f3b7a=_0x4350df^_0x46b858[_0x46b858[_0x46b858[_0x499b8e^_0x4350df]]],_0x6bd485^=_0x46b858[_0x46b858[_0x6bd485]]):_0x1f3b7a=_0x6bd485=0x1;}}());var _0x565348=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1bfa21=_0x10fd66[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x4a2)]({'_doReset':function(){var _0x2161ba=_0x4464ff,_0x238a97;if(!(this[_0x2161ba(0x29b)]&&this[_0x2161ba(0x218)]===this['_key'])){for(var _0x3fb93c=this[_0x2161ba(0x218)]=this[_0x2161ba(0x318)],_0x3b77ce=_0x3fb93c[_0x2161ba(0x487)],_0xd10272=_0x3fb93c[_0x2161ba(0x2e2)]/0x4,_0x8f5c03=this['_nRounds']=_0xd10272+0x6,_0x297126=(_0x8f5c03+0x1)*0x4,_0x552856=this[_0x2161ba(0x1fd)]=[],_0xb5e507=0x0;_0xb5e507<_0x297126;_0xb5e507++)_0xb5e507<_0xd10272?_0x552856[_0xb5e507]=_0x3b77ce[_0xb5e507]:(_0x238a97=_0x552856[_0xb5e507-0x1],_0xb5e507%_0xd10272?_0xd10272>0x6&&_0xb5e507%_0xd10272==0x4&&(_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff]):(_0x238a97=_0x238a97<<0x8|_0x238a97>>>0x18,_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff],_0x238a97^=_0x565348[_0xb5e507/_0xd10272|0x0]<<0x18),_0x552856[_0xb5e507]=_0x552856[_0xb5e507-_0xd10272]^_0x238a97);for(var _0x257f66=this[_0x2161ba(0x3cb)]=[],_0x36808a=0x0;_0x36808a<_0x297126;_0x36808a++){var _0xb5e507=_0x297126-_0x36808a;if(_0x36808a%0x4)var _0x238a97=_0x552856[_0xb5e507];else var _0x238a97=_0x552856[_0xb5e507-0x4];_0x36808a<0x4||_0xb5e507<=0x4?_0x257f66[_0x36808a]=_0x238a97:_0x257f66[_0x36808a]=_0x494800[_0x3aa8d1[_0x238a97>>>0x18]]^_0x58160c[_0x3aa8d1[_0x238a97>>>0x10&0xff]]^_0x70708e[_0x3aa8d1[_0x238a97>>>0x8&0xff]]^_0x4086b9[_0x3aa8d1[_0x238a97&0xff]];}}},'encryptBlock':function(_0x278757,_0x2e404e){var _0x4956ae=_0x4464ff;this[_0x4956ae(0x3d1)](_0x278757,_0x2e404e,this[_0x4956ae(0x1fd)],_0x31e510,_0x4789d9,_0xab9e49,_0x4ece89,_0x3aa8d1);},'decryptBlock':function(_0x58c416,_0xf5ac01){var _0x32e201=_0x4464ff,_0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a,this[_0x32e201(0x3d1)](_0x58c416,_0xf5ac01,this[_0x32e201(0x3cb)],_0x494800,_0x58160c,_0x70708e,_0x4086b9,_0x428322);var _0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a;},'_doCryptBlock':function(_0x3902ea,_0xb26c83,_0x3581b8,_0x4189f6,_0x4d3bfa,_0x2d1ec8,_0x18964b,_0x3aaac1){var _0x50ed45=_0x4464ff;for(var _0x74f255=this[_0x50ed45(0x29b)],_0x273bfc=_0x3902ea[_0xb26c83]^_0x3581b8[0x0],_0x122c02=_0x3902ea[_0xb26c83+0x1]^_0x3581b8[0x1],_0x4e4962=_0x3902ea[_0xb26c83+0x2]^_0x3581b8[0x2],_0x282d68=_0x3902ea[_0xb26c83+0x3]^_0x3581b8[0x3],_0x413cbd=0x4,_0x56b309=0x1;_0x56b309<_0x74f255;_0x56b309++){var _0x440d4c=_0x4189f6[_0x273bfc>>>0x18]^_0x4d3bfa[_0x122c02>>>0x10&0xff]^_0x2d1ec8[_0x4e4962>>>0x8&0xff]^_0x18964b[_0x282d68&0xff]^_0x3581b8[_0x413cbd++],_0x29c2dd=_0x4189f6[_0x122c02>>>0x18]^_0x4d3bfa[_0x4e4962>>>0x10&0xff]^_0x2d1ec8[_0x282d68>>>0x8&0xff]^_0x18964b[_0x273bfc&0xff]^_0x3581b8[_0x413cbd++],_0x3fccd6=_0x4189f6[_0x4e4962>>>0x18]^_0x4d3bfa[_0x282d68>>>0x10&0xff]^_0x2d1ec8[_0x273bfc>>>0x8&0xff]^_0x18964b[_0x122c02&0xff]^_0x3581b8[_0x413cbd++],_0x406ee3=_0x4189f6[_0x282d68>>>0x18]^_0x4d3bfa[_0x273bfc>>>0x10&0xff]^_0x2d1ec8[_0x122c02>>>0x8&0xff]^_0x18964b[_0x4e4962&0xff]^_0x3581b8[_0x413cbd++];_0x273bfc=_0x440d4c,_0x122c02=_0x29c2dd,_0x4e4962=_0x3fccd6,_0x282d68=_0x406ee3;}var _0x440d4c=(_0x3aaac1[_0x273bfc>>>0x18]<<0x18|_0x3aaac1[_0x122c02>>>0x10&0xff]<<0x10|_0x3aaac1[_0x4e4962>>>0x8&0xff]<<0x8|_0x3aaac1[_0x282d68&0xff])^_0x3581b8[_0x413cbd++],_0x29c2dd=(_0x3aaac1[_0x122c02>>>0x18]<<0x18|_0x3aaac1[_0x4e4962>>>0x10&0xff]<<0x10|_0x3aaac1[_0x282d68>>>0x8&0xff]<<0x8|_0x3aaac1[_0x273bfc&0xff])^_0x3581b8[_0x413cbd++],_0x3fccd6=(_0x3aaac1[_0x4e4962>>>0x18]<<0x18|_0x3aaac1[_0x282d68>>>0x10&0xff]<<0x10|_0x3aaac1[_0x273bfc>>>0x8&0xff]<<0x8|_0x3aaac1[_0x122c02&0xff])^_0x3581b8[_0x413cbd++],_0x406ee3=(_0x3aaac1[_0x282d68>>>0x18]<<0x18|_0x3aaac1[_0x273bfc>>>0x10&0xff]<<0x10|_0x3aaac1[_0x122c02>>>0x8&0xff]<<0x8|_0x3aaac1[_0x4e4962&0xff])^_0x3581b8[_0x413cbd++];_0x3902ea[_0xb26c83]=_0x440d4c,_0x3902ea[_0xb26c83+0x1]=_0x29c2dd,_0x3902ea[_0xb26c83+0x2]=_0x3fccd6,_0x3902ea[_0xb26c83+0x3]=_0x406ee3;},'keySize':0x100/0x20});_0x57b550[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x1f7)](_0x1bfa21);}()),_0x2a56a9[_0x3f25a8(0x266)];}));}(Ve)),Ve[_0x2f0b11(0x1d6)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x1af128(0x1d6)],ai;function zr(){var _0x12d48b=_0x1af128;return ai||(ai=0x1,function(_0x184f42,_0x19f4b5){(function(_0x45c6a3,_0x2e0fb0){_0x184f42['exports']=_0x2e0fb0(ne());}(qr,function(_0x545400){var _0x4bb2e5=_0x596d;return _0x545400['enc'][_0x4bb2e5(0x403)];}));}(Xe)),Xe[_0x12d48b(0x1d6)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x4731c7,_0x2249b1){(function(_0x5a80b5,_0x4b1cd3){_0x4731c7['exports']=_0x4b1cd3(ne());}(Zr,function(_0x15361a){var _0x525bad=_0x596d;return(function(){var _0x7d14c7=_0x596d;if(typeof ArrayBuffer==_0x7d14c7(0x3d7)){var _0x2ffcce=_0x15361a,_0x5ab6d1=_0x2ffcce[_0x7d14c7(0x38e)],_0x40be38=_0x5ab6d1[_0x7d14c7(0x301)],_0x373e5=_0x40be38[_0x7d14c7(0x3fc)],_0x5024d1=_0x40be38['init']=function(_0x533d82){var _0x590cca=_0x7d14c7;if(_0x533d82 instanceof ArrayBuffer&&(_0x533d82=new Uint8Array(_0x533d82)),(_0x533d82 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x533d82 instanceof Uint8ClampedArray||_0x533d82 instanceof Int16Array||_0x533d82 instanceof Uint16Array||_0x533d82 instanceof Int32Array||_0x533d82 instanceof Uint32Array||_0x533d82 instanceof Float32Array||_0x533d82 instanceof Float64Array)&&(_0x533d82=new Uint8Array(_0x533d82[_0x590cca(0x305)],_0x533d82[_0x590cca(0x324)],_0x533d82[_0x590cca(0x208)])),_0x533d82 instanceof Uint8Array){for(var _0x10ec51=_0x533d82[_0x590cca(0x208)],_0xb65d30=[],_0x3d7955=0x0;_0x3d7955<_0x10ec51;_0x3d7955++)_0xb65d30[_0x3d7955>>>0x2]|=_0x533d82[_0x3d7955]<<0x18-_0x3d7955%0x4*0x8;_0x373e5[_0x590cca(0x3f9)](this,_0xb65d30,_0x10ec51);}else _0x373e5[_0x590cca(0x498)](this,arguments);};_0x5024d1[_0x7d14c7(0x2eb)]=_0x40be38;}}()),_0x15361a[_0x525bad(0x38e)]['WordArray'];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x4e5d0d=_0x1af128;return hi||(hi=0x1,function(_0x19013d,_0x51217f){(function(_0x49d24d,_0x3b2ae5,_0x447261){_0x19013d['exports']=_0x3b2ae5(ne(),Ai());}(is,function(_0x3beaef){var _0x5e8822=_0x596d;return _0x3beaef[_0x5e8822(0x30e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3beaef[_0x5e8822(0x30e)][_0x5e8822(0x459)];}));}(Qe)),Qe[_0x4e5d0d(0x1d6)];}var rs=ns();const ss=ke(rs);function os(_0xa3abb6,_0x570662){var _0x50be5c=_0x1af128;const _0x39f22b=_0x570662-_0xa3abb6[_0x50be5c(0x431)]%_0x570662,_0x154e7f=String['fromCharCode'](_0x39f22b)[_0x50be5c(0x1f9)](_0x39f22b);return _0xa3abb6+_0x154e7f;}function as(_0x180a5c,_0x1477cd){var _0x191588=_0x1af128;const _0x4a0ee1=ts[_0x191588(0x1d7)](0x10),_0xab0d18=os(_0x180a5c,0x10),_0x49135e=Kr[_0x191588(0x4bf)](Xr[_0x191588(0x3df)](_0xab0d18),oi[_0x191588(0x3df)](_0x1477cd),{'iv':_0x4a0ee1,'padding':ss});return _0x4a0ee1[_0x191588(0x21d)](_0x49135e['ciphertext'])[_0x191588(0x4d5)](oi);}function cs(){var _0x2ff212=_0x1af128;const _0x2f42d6=_0x58e8fb()[_0x2ff212(0x3c3)];if(_0x2f42d6){const _0x73968e={'time':Math[_0x2ff212(0x3ab)](Date[_0x2ff212(0x428)]()/0x3e8),'domain':location[_0x2ff212(0x460)]};return as(JSON[_0x2ff212(0x44b)](_0x73968e),_0x2f42d6);}}var hs=Object[_0x1af128(0x4ba)],_s=Object[_0x1af128(0x3d3)],ls=(_0x16fe88,_0x3be521,_0x11ac81,_0x4007cf)=>{var _0x1eba68=_0x1af128;for(var _0x1ec684=_0x4007cf>0x1?void 0x0:_0x4007cf?_s(_0x3be521,_0x11ac81):_0x3be521,_0x282f2e=_0x16fe88[_0x1eba68(0x431)]-0x1,_0x2c102b;_0x282f2e>=0x0;_0x282f2e--)(_0x2c102b=_0x16fe88[_0x282f2e])&&(_0x1ec684=(_0x4007cf?_0x2c102b(_0x3be521,_0x11ac81,_0x1ec684):_0x2c102b(_0x1ec684))||_0x1ec684);return _0x4007cf&&_0x1ec684&&hs(_0x3be521,_0x11ac81,_0x1ec684),_0x1ec684;},us=(_0x2f3445,_0xd90760)=>(_0xc60259,_0xe62e0)=>_0xd90760(_0xc60259,_0xe62e0,_0x2f3445);let ot=class{constructor(_0x59de6d){var _0x237ba5=_0x1af128;this[_0x237ba5(0x1ea)]=_0x59de6d,this[_0x237ba5(0x3eb)]();}[_0x1af128(0x3eb)](){var _0x26a727=_0x1af128;this[_0x26a727(0x1ea)][_0x26a727(0x340)]({'interceptor':(_0x320188,_0x1fb191)=>{var _0x2d38e7=_0x26a727;const _0x34d9ad=_0x320188[_0x2d38e7(0x484)],_0x480465=cs();return _0x480465&&_0x34d9ad['set'](_0x2d38e7(0x2cf),_0x480465),_0x1fb191(_0x320188);}});}};ot=ls([us(0x0,_0x50b881(_0x51273b))],ot);var ds=Object[_0x1af128(0x4ba)],fs=Object[_0x1af128(0x3d3)],vs=(_0x5cdc98,_0x32b083,_0x2e0045,_0x398b61)=>{var _0x31c27e=_0x1af128;for(var _0x2a56c5=_0x398b61>0x1?void 0x0:_0x398b61?fs(_0x32b083,_0x2e0045):_0x32b083,_0x1fc541=_0x5cdc98[_0x31c27e(0x431)]-0x1,_0x3900be;_0x1fc541>=0x0;_0x1fc541--)(_0x3900be=_0x5cdc98[_0x1fc541])&&(_0x2a56c5=(_0x398b61?_0x3900be(_0x32b083,_0x2e0045,_0x2a56c5):_0x3900be(_0x2a56c5))||_0x2a56c5);return _0x398b61&&_0x2a56c5&&ds(_0x32b083,_0x2e0045,_0x2a56c5),_0x2a56c5;},mt=(_0x1d47bd,_0x411bf4)=>(_0x18f695,_0x1a1957)=>_0x411bf4(_0x18f695,_0x1a1957,_0x1d47bd);let Ot=class extends _0x4273f8{constructor(_0x497869,_0x3ea252,_0x5c28f8){var _0xb9a738=_0x1af128;super(),N(this,_0xb9a738(0x34b),new _0x230061(null)),N(this,_0xb9a738(0x2fa),this['_unitInfo$'][_0xb9a738(0x2c7)]()),(this[_0xb9a738(0x485)]=_0x497869,this[_0xb9a738(0x35d)]=_0x3ea252,this[_0xb9a738(0x1e8)]=_0x5c28f8);}async[_0x1af128(0x389)](_0x2f2556,_0x5e6f2b,_0x59f933){var _0x43d648=_0x1af128;this['_unitInfo$'][_0x43d648(0x2cb)]({'unitId':_0x2f2556,'type':_0x5e6f2b,'subUnitId':_0x59f933});let _0x18aaf4=null;switch(_0x5e6f2b){case Q[_0x43d648(0x3c7)]:{_0x18aaf4=await this[_0x43d648(0x3ee)](_0x2f2556);break;}case Q[_0x43d648(0x43b)]:{_0x18aaf4=await this[_0x43d648(0x2a6)](_0x2f2556);break;}default:{this[_0x43d648(0x485)]['error'](_0x43d648(0x230),_0x43d648(0x273));break;}}return _0x18aaf4;}async[_0x1af128(0x3ee)](_0x5b162e){var _0x1270a5=_0x1af128,_0x467ebf;let _0xb6b1cb=0x0;const _0x5e2cd1=await((_0x467ebf=this[_0x1270a5(0x1e8)])==null?void 0x0:_0x467ebf[_0x1270a5(0x4ac)](_0x5b162e));return _0x5e2cd1&&(_0x5e2cd1[_0x1270a5(0x387)]||_0x5e2cd1[_0x1270a5(0x4a4)][_0x1270a5(0x431)]!==0x0)&&(_0xb6b1cb=_0x5e2cd1[_0x1270a5(0x2fd)]),_0xb6b1cb===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1270a5(0x35d)][_0x1270a5(0x23f)](_0x5b162e,_0xb6b1cb);}async[_0x1af128(0x2a6)](_0x2d36d8){var _0x4ce69e=_0x1af128,_0x8af2a4;let _0x1e2209=0x0;const _0x14084e=await((_0x8af2a4=this['_localCacheService'])==null?void 0x0:_0x8af2a4['loadOfflineData'](_0x2d36d8));return _0x14084e&&(_0x14084e[_0x4ce69e(0x387)]||_0x14084e[_0x4ce69e(0x4a4)]['length']!==0x0)&&(_0x1e2209=_0x14084e[_0x4ce69e(0x2fd)]),_0x1e2209===0x0&&this['_logService'][_0x4ce69e(0x247)]('[DataLoaderService]',_0x4ce69e(0x3c6)),this[_0x4ce69e(0x35d)]['loadDoc'](_0x2d36d8,_0x1e2209);}};Ot=vs([mt(0x0,_0x334ed4),mt(0x1,_0x50b881(_0x2ec050)),mt(0x2,_0x325bd4(J))],Ot);var ps=Object[_0x1af128(0x4ba)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x352167,_0x27679b,_0x4a34fe,_0x221867)=>{var _0x46a0d4=_0x1af128;for(var _0x41d2c8=_0x221867>0x1?void 0x0:_0x221867?ms(_0x27679b,_0x4a34fe):_0x27679b,_0x18fdb=_0x352167[_0x46a0d4(0x431)]-0x1,_0x23ce09;_0x18fdb>=0x0;_0x18fdb--)(_0x23ce09=_0x352167[_0x18fdb])&&(_0x41d2c8=(_0x221867?_0x23ce09(_0x27679b,_0x4a34fe,_0x41d2c8):_0x23ce09(_0x41d2c8))||_0x41d2c8);return _0x221867&&_0x41d2c8&&ps(_0x27679b,_0x4a34fe,_0x41d2c8),_0x41d2c8;},gt=(_0x2b3ab6,_0x19795f)=>(_0x7a77b7,_0x259f68)=>_0x19795f(_0x7a77b7,_0x259f68,_0x2b3ab6);const Ss=[_0x1af128(0x440),_0x1af128(0x20f),_0x1af128(0x478),'image/gif',_0x1af128(0x472)],Es=0x5*0x400*0x400,Is=_0x1af128(0x239),Ts='/universer-api/stream/file/upload',Cs=_0x1af128(0x1f0),Rs=_0x1af128(0x2d9);let yt=class{constructor(_0x18c0ed,_0x7dc939,_0x53adfc){var _0x4c2bf3=_0x1af128;N(this,_0x4c2bf3(0x1f4),0x0),N(this,_0x4c2bf3(0x3ce),new _0x10c59f()),N(this,_0x4c2bf3(0x32d),this[_0x4c2bf3(0x3ce)]),N(this,_0x4c2bf3(0x2f1),new Map()),(this[_0x4c2bf3(0x1ea)]=_0x18c0ed,this['_configService']=_0x7dc939,this[_0x4c2bf3(0x332)]=_0x53adfc);}['setWaitCount'](_0x46e72a){var _0x5eca65=_0x1af128;this[_0x5eca65(0x1f4)]=_0x46e72a,this['_change$'][_0x5eca65(0x2cb)](_0x46e72a);}[_0x1af128(0x31e)](_0x287795,_0x7ab224){var _0x41cad7=_0x1af128;if(_0x7ab224===_0x544571[_0x41cad7(0x31a)]){const _0x12cb5a=new Image();return _0x12cb5a[_0x41cad7(0x257)]=_0x287795,_0x12cb5a;}return this[_0x41cad7(0x2f1)][_0x41cad7(0x416)](_0x287795);}[_0x1af128(0x4b6)](_0x413dcc,_0x1ab857,_0x2903f7){var _0x368fad=_0x1af128;_0x1ab857===_0x544571[_0x368fad(0x31a)]||_0x2903f7==null||this[_0x368fad(0x2f1)][_0x368fad(0x255)](_0x413dcc,_0x2903f7);}async[_0x1af128(0x1da)](_0x3a4986){var _0x48677f=_0x1af128;try{const _0x541f90=this[_0x48677f(0x3c5)](this['_getSignURL'](),''+_0x3a4986),_0x21dd58=(await this[_0x48677f(0x1ea)]['get'](_0x541f90))[_0x48677f(0x425)];if(_0x21dd58[_0x48677f(0x479)]&&_0x21dd58[_0x48677f(0x479)][_0x48677f(0x2c3)]===Ii['OK']){const _0x18f781=new URL(_0x21dd58[_0x48677f(0x1f8)],this[_0x48677f(0x323)]())[_0x48677f(0x4d5)]();return Promise[_0x48677f(0x2c8)](_0x18f781);}return Promise[_0x48677f(0x392)](_0x21dd58[_0x48677f(0x479)]);}catch(_0x3f8bd1){return Promise[_0x48677f(0x392)](_0x3f8bd1);}}async[_0x1af128(0x1f2)](_0x7e309c){var _0x261c7a=_0x1af128;let _0x151dac='';if(!Ss[_0x261c7a(0x468)](_0x7e309c['type']))return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x42f)]));if(_0x7e309c[_0x261c7a(0x363)]>Es)return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x1ef)]));try{const _0x38fb30=new FormData();_0x38fb30[_0x261c7a(0x38d)]('file',_0x7e309c);const _0x3d8984=this[_0x261c7a(0x332)][_0x261c7a(0x328)](),_0x381856=_0x3d8984==null?void 0x0:_0x3d8984[_0x261c7a(0x26b)]();if(!_0x381856)throw new Error(_0x261c7a(0x2b4));const _0x48bc63=this[_0x261c7a(0x381)]()+'?size='+_0x7e309c[_0x261c7a(0x363)][_0x261c7a(0x4d5)]()+_0x261c7a(0x452)+Ti['UnitEmbedded']+_0x261c7a(0x36a)+encodeURIComponent(_0x381856),_0x119eef=await(await fetch(_0x48bc63,{'method':_0x261c7a(0x234),'body':_0x38fb30}))[_0x261c7a(0x2c2)]();if(typeof _0x119eef[_0x261c7a(0x42d)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x509a09[_0x261c7a(0x39e)]));_0x151dac=_0x119eef[_0x261c7a(0x42d)];}catch{return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09['ERROR_IMAGE']));}return new Promise((_0x43cf13,_0x3952b2)=>{var _0x5a607b=_0x261c7a;const _0x4f8de1=new FileReader();_0x4f8de1[_0x5a607b(0x49c)](_0x7e309c),_0x4f8de1['onload']=_0x38b6fc=>{var _0x2956c9=_0x5a607b,_0x3483a6;const _0x132b2b=(_0x3483a6=_0x38b6fc[_0x2956c9(0x296)])==null?void 0x0:_0x3483a6[_0x2956c9(0x371)];if(_0x132b2b==null){this[_0x2956c9(0x4a1)](),_0x3952b2(new Error(_0x509a09['ERROR_IMAGE']));return;}const _0x21395e=_0x15157c['generateRandomId'](0x6);_0x43cf13({'imageId':_0x21395e,'imageSourceType':_0x544571[_0x2956c9(0x461)],'source':_0x151dac,'base64Cache':_0x132b2b,'status':_0x509a09['SUCCUSS']}),this[_0x2956c9(0x4a1)]();};});}[_0x1af128(0x381)](){var _0x273d71=_0x1af128,_0x1e4577,_0x13f5f0;const _0x18db8d=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](Is),_0x2ec516=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](q);return(_0x13f5f0=(_0x1e4577=_0x2ec516==null?void 0x0:_0x2ec516[_0x273d71(0x45c)])!=null?_0x1e4577:_0x18db8d)!=null?_0x13f5f0:Ts;}[_0x1af128(0x45a)](){var _0xa1a900=_0x1af128,_0x5a17e4,_0x362ad5;const _0x489d90=this['_configService'][_0xa1a900(0x49e)](Cs),_0x4608b0=this[_0xa1a900(0x4d1)][_0xa1a900(0x49e)](q);return(_0x362ad5=(_0x5a17e4=_0x4608b0==null?void 0x0:_0x4608b0[_0xa1a900(0x284)])!=null?_0x5a17e4:_0x489d90)!=null?_0x362ad5:Rs;}[_0x1af128(0x323)](){var _0x37bd30=_0x1af128,_0x444522;const _0x2cc327=this[_0x37bd30(0x4d1)][_0x37bd30(0x49e)](q);return(_0x444522=_0x2cc327==null?void 0x0:_0x2cc327[_0x37bd30(0x365)])!=null?_0x444522:location['origin'];}[_0x1af128(0x3c5)](_0x5c6068,_0xc7739e){return _0x5c6068['replace']('{fileID}',_0xc7739e);}[_0x1af128(0x4a1)](){var _0x432957=_0x1af128;this[_0x432957(0x1f4)]-=0x1,this[_0x432957(0x3ce)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x50b881(_0x51273b)),gt(0x1,_0xb3f6ba),gt(0x2,_0x50b881(_0x42b8e7))],yt);var bs=Object[_0x1af128(0x4ba)],Os=Object[_0x1af128(0x3d3)],ys=(_0x4cc287,_0x1faa31,_0xa7c8c6,_0x34efd5)=>{var _0x2502d2=_0x1af128;for(var _0x1bb667=_0x34efd5>0x1?void 0x0:_0x34efd5?Os(_0x1faa31,_0xa7c8c6):_0x1faa31,_0x1cd666=_0x4cc287[_0x2502d2(0x431)]-0x1,_0x2c9807;_0x1cd666>=0x0;_0x1cd666--)(_0x2c9807=_0x4cc287[_0x1cd666])&&(_0x1bb667=(_0x34efd5?_0x2c9807(_0x1faa31,_0xa7c8c6,_0x1bb667):_0x2c9807(_0x1bb667))||_0x1bb667);return _0x34efd5&&_0x1bb667&&bs(_0x1faa31,_0xa7c8c6,_0x1bb667),_0x1bb667;},_i=(_0x255dc4,_0x55d05a)=>(_0x325aa1,_0xeccec7)=>_0x55d05a(_0x325aa1,_0xeccec7,_0x255dc4);const Ns=_0x1af128(0x1e6);let Nt=class{constructor(_0x134059,_0x1045ff){this['_configService']=_0x134059,this['_HTTPService']=_0x1045ff;}[_0x1af128(0x30c)](){var _0x5e1d39=_0x1af128,_0x135a19,_0xb56eab;const _0x4f59af=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](Pi),_0x4cb291=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](q);return(_0xb56eab=(_0x135a19=_0x4cb291==null?void 0x0:_0x4cb291[_0x5e1d39(0x347)])!=null?_0x135a19:_0x4f59af)!=null?_0xb56eab:Ns;}async[_0x1af128(0x290)](_0xccbcb5){var _0x234e8d=_0x1af128;const _0x98ba2b=this[_0x234e8d(0x30c)]()+'/collaborator';return{'list':[{'title':_0x234e8d(0x29d),'mentions':(await this[_0x234e8d(0x393)][_0x234e8d(0x416)](_0x98ba2b,{'params':{'objectID':_0xccbcb5[_0x234e8d(0x379)],'unitID':_0xccbcb5[_0x234e8d(0x379)]}}))[_0x234e8d(0x425)][_0x234e8d(0x41b)][_0x234e8d(0x453)](_0x46d9d5=>({'objectId':_0x46d9d5['id'],'name':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'metadata':{'icon':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x27d)]},'label':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'objectType':_0x4389d9[_0x234e8d(0x3a5)]})),'metadata':{},'type':_0x4389d9[_0x234e8d(0x3a5)]}]};}};Nt=ys([_i(0x0,_0x50b881(_0xb3f6ba)),_i(0x1,_0x50b881(_0x51273b))],Nt);var Ds=Object[_0x1af128(0x4ba)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x1eeb93,_0x54ff7c,_0x257c6a,_0x17f789)=>{var _0x285939=_0x1af128;for(var _0x543bab=_0x17f789>0x1?void 0x0:_0x17f789?Ps(_0x54ff7c,_0x257c6a):_0x54ff7c,_0x47cbe2=_0x1eeb93[_0x285939(0x431)]-0x1,_0x47d708;_0x47cbe2>=0x0;_0x47cbe2--)(_0x47d708=_0x1eeb93[_0x47cbe2])&&(_0x543bab=(_0x17f789?_0x47d708(_0x54ff7c,_0x257c6a,_0x543bab):_0x47d708(_0x543bab))||_0x543bab);return _0x17f789&&_0x543bab&&Ds(_0x54ff7c,_0x257c6a,_0x543bab),_0x543bab;},Se=(_0x114e06,_0x1e95d8)=>(_0x5a1c57,_0x1f26ae)=>_0x1e95d8(_0x5a1c57,_0x1f26ae,_0x114e06);let at=class extends _0x4273f8{constructor(_0x385b01,_0x9233e0,_0x396bc3,_0x363257,_0x14556f,_0x2ce2ee,_0xe4bbdb){var _0x2f1657=_0x1af128;super(),this[_0x2f1657(0x367)]=_0x385b01,this['_univerInstanceService']=_0x9233e0,this[_0x2f1657(0x201)]=_0x396bc3,this[_0x2f1657(0x3bc)]=_0x363257,this[_0x2f1657(0x4b1)]=_0x14556f,this[_0x2f1657(0x1e3)]=_0x2ce2ee,this['_undoRedoService']=_0xe4bbdb,this[_0x2f1657(0x4c0)](),this['_initCloseConn']();}[_0x1af128(0x1ec)](){var _0x44998a=_0x1af128;const _0x44853c=async _0x29bc99=>{var _0x4782cd=_0x596d;(await this[_0x4782cd(0x3bc)][_0x4782cd(0x3e7)](_0x29bc99))[_0x4782cd(0x22e)]['pipe'](_0x226f92(_0x2aded2=>_0x2aded2['eventID']===_0x1d08ca[_0x4782cd(0x368)]),_0x4387d8(this[_0x4782cd(0x2f3)]))[_0x4782cd(0x26c)](_0x60481b=>{var _0x2a9fbe=_0x4782cd;const _0x513adb=_0x60481b,{reason:_0x265995}=_0x513adb[_0x2a9fbe(0x345)];this[_0x2a9fbe(0x4b1)][_0x2a9fbe(0x258)]({'id':se[_0x2a9fbe(0x4d3)],'data':_0x265995}),this[_0x2a9fbe(0x201)][_0x2a9fbe(0x3b7)](new _0x3ff24a(_0x29bc99)['id'],!0x1),this[_0x2a9fbe(0x3bc)][_0x2a9fbe(0x3e9)](_0x29bc99);});};_0x19107a(this[_0x44998a(0x332)][_0x44998a(0x2e0)](_0x7a0f38[_0x44998a(0x3c7)]),this[_0x44998a(0x332)]['getTypeOfUnitAdded$'](_0x7a0f38[_0x44998a(0x43b)]))['pipe'](_0x3c96ad(_0x5d990d=>_0x5d990d['getUnitId']()),_0x226f92(_0xb99bac=>!_0xc3ccf8(_0xb99bac)),_0x4387d8(this['dispose$']))['subscribe'](_0x5a0f39=>{_0x44853c(_0x5a0f39);});}[_0x1af128(0x4c0)](){var _0x327807=_0x1af128;const _0x35dca9=async _0x2bc3cf=>{var _0x254f78=_0x596d;const _0x4a3bf9=await this['_collaborationSessionService'][_0x254f78(0x3e7)](_0x2bc3cf),_0x49f7dd=this['_injector'][_0x254f78(0x416)](_0x2ba33e);_0x4a3bf9[_0x254f78(0x22e)][_0x254f78(0x463)](_0x226f92(_0x5c6f5a=>_0x5c6f5a['eventID']===_0x1d08ca[_0x254f78(0x28f)]),_0x4387d8(this[_0x254f78(0x2f3)]))['subscribe'](_0x4c65c9=>{var _0x1e8196=_0x254f78;const _0x4bb863=_0x4c65c9,{objectId:_0x1d2268}=_0x4bb863[_0x1e8196(0x345)];_0x1d2268===_0x2bc3cf?_0x49f7dd[_0x1e8196(0x4c9)](_0x2bc3cf):_0x49f7dd[_0x1e8196(0x40e)](_0x2bc3cf,_0x1d2268);});};_0x19107a(this['_univerInstanceService'][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x3c7)]),this[_0x327807(0x332)][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x43b)]))[_0x327807(0x463)](_0x3c96ad(_0x194f82=>_0x194f82['getUnitId']()),_0x226f92(_0x3fcf60=>!_0xc3ccf8(_0x3fcf60)),_0x4387d8(this[_0x327807(0x2f3)]))[_0x327807(0x26c)](_0x5e04b8=>{_0x35dca9(_0x5e04b8);});}};function _0x596d(_0x2f762a,_0x5ae8e2){var _0x6aa32=_0x6aa3();return _0x596d=function(_0x596df4,_0x2e2efe){_0x596df4=_0x596df4-0x1d0;var _0x4a5f9f=_0x6aa32[_0x596df4];return _0x4a5f9f;},_0x596d(_0x2f762a,_0x5ae8e2);}at=ws([Se(0x0,_0x50b881(_0x339edd)),Se(0x1,_0x42b8e7),Se(0x2,_0xea2b61),Se(0x3,_0x50b881(Le)),Se(0x4,_0x50b881(pe)),Se(0x5,_0x298ad2),Se(0x6,_0x16445d)],at);var Us=Object[_0x1af128(0x4ba)],As=Object[_0x1af128(0x3d3)],xs=(_0x1278d2,_0xcba28,_0x3de9cb,_0x12aa49)=>{for(var _0x580e37=_0x12aa49>0x1?void 0x0:_0x12aa49?As(_0xcba28,_0x3de9cb):_0xcba28,_0xe2593d=_0x1278d2['length']-0x1,_0x206fdf;_0xe2593d>=0x0;_0xe2593d--)(_0x206fdf=_0x1278d2[_0xe2593d])&&(_0x580e37=(_0x12aa49?_0x206fdf(_0xcba28,_0x3de9cb,_0x580e37):_0x206fdf(_0x580e37))||_0x580e37);return _0x12aa49&&_0x580e37&&Us(_0xcba28,_0x3de9cb,_0x580e37),_0x580e37;},li=(_0x494487,_0x5c7c0f)=>(_0x47005c,_0x32dc41)=>_0x5c7c0f(_0x47005c,_0x32dc41,_0x494487);let Dt=class{constructor(_0x3bc861,_0x1d4cf3){var _0x4c551e=_0x1af128;this[_0x4c551e(0x4d1)]=_0x3bc861,this[_0x4c551e(0x1ea)]=_0x1d4cf3;}async['getUnitOnRev'](_0x587139,_0x1a7826){var _0x5772db=_0x1af128,_0x49c3f6;const {unitID:_0x3bc903,type:_0x12194f,revision:_0x222902=0x0}=_0x1a7826,_0x29d114=this['getSnapshotAPIPath']()+'/'+_0x12194f+_0x5772db(0x29a)+_0x3bc903+_0x5772db(0x251)+_0x222902,_0x149899=(await this[_0x5772db(0x1ea)]['get'](_0x29d114))[_0x5772db(0x425)],_0x5b1652=(_0x49c3f6=_0x149899['snapshot'])==null?void 0x0:_0x49c3f6[_0x5772db(0x286)];if(_0x5b1652){const _0xeacb8a=_0x5b1652==null?void 0x0:_0x5b1652[_0x5772db(0x240)],_0x483e74=_0x20eefa[_0x5772db(0x2f0)](_0x55b68d(_0xeacb8a));_0x5b1652[_0x5772db(0x240)]=_0x483e74,Object['entries'](_0x5b1652[_0x5772db(0x3a7)])[_0x5772db(0x30f)](([,_0x32796b])=>{var _0x258547=_0x5772db;const _0x736ced=_0x32796b[_0x258547(0x240)],_0x38cb12=_0x20eefa[_0x258547(0x2f0)](_0x55b68d(_0x736ced));_0x32796b['originalMeta']=_0x38cb12;});}return _0x149899;}async[_0x1af128(0x263)](_0x5414f9,_0x483e57){var _0x45aded=_0x1af128;const {unitID:_0x5f2913,type:_0x451567,blockID:_0x48fac8}=_0x483e57,_0x1feb50=this[_0x45aded(0x4d2)]()+'/'+_0x451567+_0x45aded(0x29a)+_0x5f2913+_0x45aded(0x1e1)+_0x48fac8;return(await this[_0x45aded(0x1ea)][_0x45aded(0x416)](_0x1feb50))[_0x45aded(0x425)];}async[_0x1af128(0x3ea)](_0x187a60,_0x10de6d){var _0x498ad5=_0x1af128;const {unitID:_0x4a928a,type:_0xef53df,blockID:_0x196991}=_0x10de6d,_0x11704d=this[_0x498ad5(0x4d2)]()+'/block/'+_0xef53df+_0x498ad5(0x29a)+_0x4a928a+_0x498ad5(0x1e1)+_0x196991;return(await this[_0x498ad5(0x1ea)]['get'](_0x11704d))['body'];}async['fetchMissingChangesets'](_0x416921,_0x285f70){var _0x465509=_0x1af128;const {unitID:_0x572694,type:_0x8d1df1,from:_0x569765,to:_0x427ab4}=_0x285f70,_0x4f747e=this[_0x465509(0x4d2)]()+'/'+_0x8d1df1+_0x465509(0x29a)+_0x572694+_0x465509(0x35e)+_0x569765+'&to='+_0x427ab4;return(await this[_0x465509(0x1ea)]['get'](_0x4f747e))[_0x465509(0x425)];}[_0x1af128(0x28a)](){var _0x1d899b=_0x1af128,_0x1a8a4e;return(_0x1a8a4e=this[_0x1d899b(0x4d1)][_0x1d899b(0x49e)](Tn))!=null?_0x1a8a4e:this[_0x1d899b(0x4d2)]();}[_0x1af128(0x4d2)](){var _0x455011=_0x1af128,_0xaa8095,_0x55e0f4;const _0x1e7841=this[_0x455011(0x4d1)][_0x455011(0x49e)](En),_0x56a3fe=this['_configService'][_0x455011(0x49e)](q);return(_0x55e0f4=(_0xaa8095=_0x56a3fe==null?void 0x0:_0x56a3fe['snapshotServerUrl'])!=null?_0xaa8095:_0x1e7841)!=null?_0x55e0f4:In;}async['getResourcesRequest'](_0x225666,_0x250632){var _0x19fdbe=_0x1af128;const _0x26f28e=_0x19fdbe(0x2d4)+_0x250632['type']+_0x19fdbe(0x29a)+_0x250632[_0x19fdbe(0x1fa)]+_0x19fdbe(0x3ba);return(await this[_0x19fdbe(0x1ea)][_0x19fdbe(0x416)](_0x26f28e,{'params':{'resourceId':JSON[_0x19fdbe(0x44b)](_0x250632[_0x19fdbe(0x47f)])}}))['body'];}[_0x1af128(0x2f2)](){var _0x48f322=_0x1af128;throw new Error(_0x48f322(0x1d2));}['saveSheetBlock'](){var _0x2c08a4=_0x1af128;throw new Error(_0x2c08a4(0x1d2));}[_0x1af128(0x235)](){var _0x45d479=_0x1af128;throw new Error(_0x45d479(0x1d2));}[_0x1af128(0x2e9)](){var _0x2bd3ec=_0x1af128;throw new Error(_0x2bd3ec(0x1d2));}[_0x1af128(0x303)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0xb3f6ba),li(0x1,_0x50b881(_0x51273b))],Dt);var Ls=Object[_0x1af128(0x4ba)],Ms=Object[_0x1af128(0x3d3)],$s=(_0x37d8f5,_0x23442d,_0x1ed29,_0x5543ea)=>{var _0x5bfc9f=_0x1af128;for(var _0xd751bd=_0x5543ea>0x1?void 0x0:_0x5543ea?Ms(_0x23442d,_0x1ed29):_0x23442d,_0x531d71=_0x37d8f5[_0x5bfc9f(0x431)]-0x1,_0x395191;_0x531d71>=0x0;_0x531d71--)(_0x395191=_0x37d8f5[_0x531d71])&&(_0xd751bd=(_0x5543ea?_0x395191(_0x23442d,_0x1ed29,_0xd751bd):_0x395191(_0xd751bd))||_0xd751bd);return _0x5543ea&&_0xd751bd&&Ls(_0x23442d,_0x1ed29,_0xd751bd),_0xd751bd;},Ae=(_0x3034a6,_0x6ca804)=>(_0x58b2c0,_0x41d6b0)=>_0x6ca804(_0x58b2c0,_0x41d6b0,_0x3034a6);let Pt=class extends _0x40707b{constructor(_0xa88093,_0x5c1fa8,_0x5ca08d,_0x455eff,_0x40a082){var _0x16f928=_0x1af128;super(_0xa88093,_0x5c1fa8,_0x5ca08d),this[_0x16f928(0x44a)]=_0x455eff,this['_logService']=_0x40a082;}[_0x1af128(0x2de)](_0xd2cbac,_0x5aa7b7){var _0x404b07=_0x1af128;const _0xc64686=this[_0x404b07(0x23d)](_0xd2cbac);if(_0xc64686)try{const _0x3167d7=this[_0x404b07(0x2e1)](_0xc64686,_0x5aa7b7);this['_substituteUndoStack'](_0xd2cbac,_0x3167d7);}catch(_0x2445a9){this[_0x404b07(0x485)]['error'](_0x404b07(0x3a0),_0x2445a9),this[_0x404b07(0x402)](_0xd2cbac);}const _0x5c560f=this[_0x404b07(0x499)](_0xd2cbac);if(_0x5c560f)try{const _0x40b839=this[_0x404b07(0x2e1)](_0x5c560f,_0x5aa7b7);this[_0x404b07(0x404)](_0xd2cbac,_0x40b839);}catch(_0x30013f){this['_logService'][_0x404b07(0x479)](_0x30013f),this[_0x404b07(0x2ca)](_0xd2cbac);}}[_0x1af128(0x402)](_0x3cd5cb){var _0x35bb3a=_0x1af128;const _0x2183ae=this[_0x35bb3a(0x23d)](_0x3cd5cb);_0x2183ae&&(_0x2183ae[_0x35bb3a(0x431)]=0x0,this[_0x35bb3a(0x3be)]());}[_0x1af128(0x2ca)](_0x47dc62){var _0x17bf34=_0x1af128;const _0x4c0a6d=this['_getRedoStack'](_0x47dc62);_0x4c0a6d&&(_0x4c0a6d[_0x17bf34(0x431)]=0x0,this[_0x17bf34(0x3be)]());}[_0x1af128(0x30d)](_0x89e1fe,_0x1949c1){var _0x17fa21=_0x1af128;this[_0x17fa21(0x4b3)]['set'](_0x89e1fe,_0x1949c1),this[_0x17fa21(0x3be)]();}['_substituteRedoStack'](_0x544193,_0x2c208f){var _0x3fba00=_0x1af128;this['_redoStacks'][_0x3fba00(0x255)](_0x544193,_0x2c208f),this[_0x3fba00(0x3be)]();}[_0x1af128(0x2e1)](_0x393040,_0x5da609){var _0x48f3ae=_0x1af128;const _0x3cf3bc=[];let _0x4cbf93=_0x5da609,_0x202070=_0x5da609;for(let _0x5b7133=_0x393040[_0x48f3ae(0x431)]-0x1;_0x5b7133>=0x0;_0x5b7133--){const {unitID:_0x307365,undoMutations:_0x15b6a6,redoMutations:_0x3af41a}=_0x393040[_0x5b7133],_0x52ddaf=this[_0x48f3ae(0x44a)]['transformMutationsWithChangeset'](_0x4cbf93,_0x15b6a6),_0x2c2c37=this[_0x48f3ae(0x44a)][_0x48f3ae(0x29f)](_0x202070,_0x3af41a);if(_0x3abcdb(_0x52ddaf)||_0x3abcdb(_0x2c2c37)){this[_0x48f3ae(0x485)]['error'](_0x48f3ae(0x3a0),_0x48f3ae(0x4c5),_0x52ddaf,_0x2c2c37);break;}_0x4cbf93=_0x52ddaf[_0x48f3ae(0x2cd)],_0x202070=_0x2c2c37[_0x48f3ae(0x2cd)],_0x3cf3bc[_0x48f3ae(0x2ad)]({'unitID':_0x307365,'undoMutations':_0x52ddaf[_0x48f3ae(0x2b0)],'redoMutations':_0x2c2c37[_0x48f3ae(0x2b0)]});}return _0x3cf3bc['reverse']();}};Pt=$s([Ae(0x0,_0x42b8e7),Ae(0x1,_0x4f3e11),Ae(0x2,_0x215270),Ae(0x3,_0x207f44),Ae(0x4,_0x334ed4)],Pt);var xi=Object[_0x1af128(0x4ba)],Hs=Object[_0x1af128(0x3d3)],ks=(_0x576577,_0x599215,_0x10881b)=>_0x599215 in _0x576577?xi(_0x576577,_0x599215,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10881b}):_0x576577[_0x599215]=_0x10881b,js=(_0x249d65,_0xe06207,_0x497045,_0x2140fa)=>{var _0x2cf9c9=_0x1af128;for(var _0x39ceee=_0x2140fa>0x1?void 0x0:_0x2140fa?Hs(_0xe06207,_0x497045):_0xe06207,_0x4c6c58=_0x249d65[_0x2cf9c9(0x431)]-0x1,_0x572d11;_0x4c6c58>=0x0;_0x4c6c58--)(_0x572d11=_0x249d65[_0x4c6c58])&&(_0x39ceee=(_0x2140fa?_0x572d11(_0xe06207,_0x497045,_0x39ceee):_0x572d11(_0x39ceee))||_0x39ceee);return _0x2140fa&&_0x39ceee&&xi(_0xe06207,_0x497045,_0x39ceee),_0x39ceee;},St=(_0x574307,_0x489698)=>(_0x32cb78,_0x5cb2d6)=>_0x489698(_0x32cb78,_0x5cb2d6,_0x574307),Bs=(_0x298c18,_0x71fe72,_0x5cead2)=>ks(_0x298c18,_0x71fe72+'',_0x5cead2);const Fs=_0x1af128(0x306);let wt=class extends _0x58ba77{constructor(_0x1a036b=Wt,_0x43fe1a,_0x26dddb,_0x5588f5){var _0x42d766=_0x1af128;super(),this['_config']=_0x1a036b,this[_0x42d766(0x485)]=_0x43fe1a,this[_0x42d766(0x367)]=_0x26dddb,this[_0x42d766(0x4d1)]=_0x5588f5;const {..._0x587125}=_0x1686f7({},Wt,this[_0x42d766(0x358)]);this[_0x42d766(0x4d1)]['setConfig'](q,_0x587125);}['onStarting'](){var _0x443f95=_0x1af128;this[_0x443f95(0x1fb)](),this[_0x443f95(0x2dc)]();}[_0x1af128(0x1fb)](){var _0x16edfb=_0x1af128,_0x2febc0,_0x5b397a,_0x14012e,_0x592198;this[_0x16edfb(0x367)][_0x16edfb(0x278)](_0x16445d)&&this['_logService']['error'](_0x16edfb(0x38b),_0x16edfb(0x46e));const _0x295ef7=_0x3b1a20([[_0x16445d,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5b397a=(_0x2febc0=this[_0x16edfb(0x358)])==null?void 0x0:_0x2febc0[_0x16edfb(0x2a0)])!=null?_0x5b397a:Et}],[_0x2687e0,{'useClass':Dt}],[_0x298ad2,{'useClass':bt}],[_0x5b5ab5,{'useClass':yt}],[_0x478e21,{'useClass':Nt}],[rt],[Rt]],(_0x14012e=this[_0x16edfb(0x358)])==null?void 0x0:_0x14012e[_0x16edfb(0x21b)]);if(!((_0x592198=this[_0x16edfb(0x358)])!=null&&_0x592198['enableSingleActiveInstanceLock'])){const _0x4ba3ee=_0x295ef7[_0x16edfb(0x3e0)](([_0x23833d])=>_0x23833d===ht);_0x4ba3ee!==-0x1&&_0x295ef7[_0x16edfb(0x3ca)](_0x4ba3ee,0x1);}_0x48774b(this['_injector'],_0x295ef7);}[_0x1af128(0x2dc)](){var _0x1e7ae7=_0x1af128,_0x3bbc71,_0x160b42,_0x55f922;this['_injector'][_0x1e7ae7(0x416)](_0x51273b)[_0x1e7ae7(0x340)]({'priority':0x14,'interceptor':_0x105533({'maxParallel':0x6})}),(_0x3bbc71=this['_config'])!=null&&_0x3bbc71[_0x1e7ae7(0x21f)]||(_0x160b42=this[_0x1e7ae7(0x367)]['get'](J,_0x8bb0cb[_0x1e7ae7(0x382)]))==null||_0x160b42['disableLocalCache'](),(_0x55f922=this[_0x1e7ae7(0x358)])!=null&&_0x55f922[_0x1e7ae7(0x326)]&&_0x150a5f(this[_0x1e7ae7(0x367)],[[st]]),_0x150a5f(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x1af128(0x297),Fs),wt=js([_0x3fade5(_0x1ce121,_0x376c94,_0x22d427),St(0x1,_0x334ed4),St(0x2,_0x50b881(_0x339edd)),St(0x3,_0xb3f6ba)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0xebfca7=_0x1328;(function(_0x4a1759,_0xcca9){var _0x4128d2=_0x1328,_0x42ba5b=_0x4a1759();while(!![]){try{var _0x51bb35=parseInt(_0x4128d2(0x1a5))/0x1+-parseInt(_0x4128d2(0xc7))/0x2*(parseInt(_0x4128d2(0x33c))/0x3)+-parseInt(_0x4128d2(0x2fd))/0x4*(parseInt(_0x4128d2(0x16a))/0x5)+parseInt(_0x4128d2(0x226))/0x6+-parseInt(_0x4128d2(0x1c2))/0x7*(parseInt(_0x4128d2(0x1e7))/0x8)+parseInt(_0x4128d2(0x16e))/0x9+parseInt(_0x4128d2(0x13d))/0xa;if(_0x51bb35===_0xcca9)break;else _0x42ba5b['push'](_0x42ba5b['shift']());}catch(_0x265c59){_0x42ba5b['push'](_0x42ba5b['shift']());}}}(_0x2110,0x1ed21));var Li=Object['defineProperty'],Mi=(_0x524dd8,_0x3808af,_0x5ba1a1)=>_0x3808af in _0x524dd8?Li(_0x524dd8,_0x3808af,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ba1a1}):_0x524dd8[_0x3808af]=_0x5ba1a1,N=(_0x522ab4,_0x309489,_0x5135b0)=>Mi(_0x522ab4,typeof _0x309489!=_0xebfca7(0x1ff)?_0x309489+'':_0x309489,_0x5135b0);import{createIdentifier as _0x413e5f,Inject as _0x350f87,Injector as _0x3e288c,Disposable as _0x10bb52,DisposableCollection as _0xf9dbad,toDisposable as _0x20bee6,IConfigService as _0x3e9aa3,ILogService as _0x39281b,UserManagerService as _0x2bb914,UniverInstanceType as _0x47927c,IUniverInstanceService as _0x47607b,LocaleService as _0x1a7de2,Optional as _0x461ea6,RxDisposable as _0x42ad43,Tools as _0x4ce8aa,Rectangle as _0x18715e,ICommandService as _0x5f3828,JSONX as _0x2196a1,CommandType as _0x20e9e2,IPermissionService as _0x35f2aa,IUndoRedoService as _0x4f45a5,sequenceExecute as _0xeae2cc,Workbook as _0x502351,MentionType as _0x377f04,IAuthzIoService as _0x5ac997,isInternalEditorID as _0x506283,LocalUndoRedoService as _0x3d3125,IContextService as _0x2b56cd,DependentOn as _0xa5ea51,Plugin as _0x348bbd,merge as _0x357d4d,mergeOverrideWithDependencies as _0x161d02,IMentionIOService as _0x2698d8,registerDependencies as _0x18b4b6,Quantity as _0x78d10c,touchDependencies as _0x1307fc}from'@univerjs/core';import{Subject as _0x34e3bd,merge as _0x1345a8,of as _0x51b4a4,BehaviorSubject as _0x4a19f3,takeUntil as _0x399539,ReplaySubject as _0x25d760,take as _0x12ef5d,map as _0x2491bb,shareReplay as _0x2a502,firstValueFrom as _0x469aa3,concatMap as _0x548b42}from'rxjs';import{map as _0x5522f1,take as _0x530efe,filter as _0x57ecda,delay as _0x382d2f,takeUntil as _0x22c703}from'rxjs/operators';import{HTTPService as _0x2db2ac,ISocketService as _0x1e1599,MergeInterceptorFactory as _0x2a9a62,HTTPRequest as _0x4e5eb7,UniverNetworkPlugin as _0x22e9e5,ThresholdInterceptorFactory as _0x49965e}from'@univerjs/network';import{CollaborationEvent as _0x3aa22a,parseChangesetToProtocol as _0xea540,ISnapshotServerService as _0x5dd680,isTransformMutationsWithChangesetSuccess as _0x27b7b3,ITransformService as _0x248c0d,mapDocumentTypeToUniverType as _0x5aa935,RevisionService as _0x1f62a4,isTransformChangesetsSuccess as _0x544e79,CompressMutationService as _0x30c848,parseProtocolChangeset as _0x5d9825,SnapshotService as _0x45cdcb,textEncoder as _0x4437b3,b64DecodeUnicode as _0x307b45,isTransformMutationsWithChangesetFailure as _0x165260,UniverCollaborationPlugin as _0x4ee596}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x427769}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4b16a2}from'@univerjs/docs';import{SheetsSelectionsService as _0x4c18a8,SetSelectionsOperation as _0x5b7620,InsertSheetMutation as _0x1abf14,EmptyMutation as _0x50309e,WorkbookEditablePermission as _0x1a2393,SheetPermissionInitController as _0x18e5b3,UniverSheetsPlugin as _0x1d22ed}from'@univerjs/sheets';import{ImageSourceType as _0x1489cc,ImageUploadStatusType as _0x282861,IImageIoService as _0x38607d}from'@univerjs/drawing';import{getGlobalObject as _0x291c9f}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0xebfca7(0x225),Tn='SNAPSHOT_URL_KEY',eo=_0xebfca7(0x182),Cn=0x7d0,Rn=_0xebfca7(0x192),bn=_0xebfca7(0x35b),On=_0xebfca7(0x143),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0xebfca7(0xed),Ei=0x4e20,Dn=0x4e20,Pn=_0xebfca7(0x125),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0xebfca7(0x1b4),An=_0xebfca7(0x162),xn=_0xebfca7(0x188),Ln=_0xebfca7(0x276),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0xebfca7(0x15e);var Ii=(_0x49c9e8=>(_0x49c9e8[_0x49c9e8[_0xebfca7(0x2c3)]=0x0]=_0xebfca7(0x2c3),_0x49c9e8[_0x49c9e8['OK']=0x1]='OK',_0x49c9e8[_0x49c9e8[_0xebfca7(0x332)]=0x2]=_0xebfca7(0x332),_0x49c9e8[_0x49c9e8[_0xebfca7(0x1e8)]=0x3]=_0xebfca7(0x1e8),_0x49c9e8[_0x49c9e8[_0xebfca7(0xe2)]=0x4]=_0xebfca7(0xe2),_0x49c9e8[_0x49c9e8[_0xebfca7(0x210)]=0x5]='UNAUTHENTICATED',_0x49c9e8[_0x49c9e8[_0xebfca7(0x10a)]=0x6]=_0xebfca7(0x10a),_0x49c9e8[_0x49c9e8['INVALID_ARGUMENT']=0x7]=_0xebfca7(0x1bd),_0x49c9e8[_0x49c9e8[_0xebfca7(0x235)]=0x8]=_0xebfca7(0x235),_0x49c9e8[_0x49c9e8[_0xebfca7(0x245)]=0x9]=_0xebfca7(0x245),_0x49c9e8[_0x49c9e8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xebfca7(0x368),_0x49c9e8[_0x49c9e8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x49c9e8[_0x49c9e8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x49c9e8[_0x49c9e8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xebfca7(0x1c4),_0x49c9e8[_0x49c9e8[_0xebfca7(0x15c)]=0x1b59]=_0xebfca7(0x15c),_0x49c9e8[_0x49c9e8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xebfca7(0x380),_0x49c9e8[_0x49c9e8[_0xebfca7(0x251)]=0x1b5b]=_0xebfca7(0x251),_0x49c9e8[_0x49c9e8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xebfca7(0x170),_0x49c9e8[_0x49c9e8[_0xebfca7(0xa9)]=0x1b5d]=_0xebfca7(0xa9),_0x49c9e8[_0x49c9e8[_0xebfca7(0x265)]=0x1f41]=_0xebfca7(0x265),_0x49c9e8[_0x49c9e8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x49c9e8[_0x49c9e8[_0xebfca7(0x1d6)]=0x232a]=_0xebfca7(0x1d6),_0x49c9e8[_0x49c9e8[_0xebfca7(0x23c)]=0x232b]=_0xebfca7(0x23c),_0x49c9e8[_0x49c9e8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x49c9e8[_0x49c9e8[_0xebfca7(0x220)]=0x232d]=_0xebfca7(0x220),_0x49c9e8[_0x49c9e8[_0xebfca7(0x346)]=0x2711]=_0xebfca7(0x346),_0x49c9e8[_0x49c9e8[_0xebfca7(0x134)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x49c9e8[_0x49c9e8[_0xebfca7(0x1b5)]=0x2713]=_0xebfca7(0x1b5),_0x49c9e8[_0x49c9e8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xebfca7(0x1df),_0x49c9e8[_0x49c9e8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x49c9e8[_0x49c9e8[_0xebfca7(0x282)]=-0x1]=_0xebfca7(0x282),_0x49c9e8))(Ii||{}),Q=(_0x51399f=>(_0x51399f[_0x51399f['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x51399f[_0x51399f['UNIVER_DOC']=0x1]=_0xebfca7(0x22d),_0x51399f[_0x51399f[_0xebfca7(0x18a)]=0x2]='UNIVER_SHEET',_0x51399f[_0x51399f[_0xebfca7(0x135)]=0x3]=_0xebfca7(0x135),_0x51399f[_0x51399f[_0xebfca7(0x289)]=0x4]=_0xebfca7(0x289),_0x51399f[_0x51399f[_0xebfca7(0x282)]=-0x1]='UNRECOGNIZED',_0x51399f))(Q||{}),F=(_0x2c0bb1=>(_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x37f)]=0x0]=_0xebfca7(0x37f),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x1cc)]=0x1]=_0xebfca7(0x1cc),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x2b1)]=0x2]=_0xebfca7(0x2b1),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x2e5)]=0x3]=_0xebfca7(0x2e5),_0x2c0bb1[_0x2c0bb1['INGEST']=0x4]=_0xebfca7(0x10f),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x20d)]=0x5]=_0xebfca7(0x20d),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x2da)]=0x6]=_0xebfca7(0x2da),_0x2c0bb1[_0x2c0bb1[_0xebfca7(0x282)]=-0x1]=_0xebfca7(0x282),_0x2c0bb1))(F||{}),Ee=(_0x571be7=>(_0x571be7[_0x571be7[_0xebfca7(0x35e)]=0x0]=_0xebfca7(0x35e),_0x571be7[_0x571be7['OK']=0x1]='OK',_0x571be7[_0x571be7['FAIL']=0x2]=_0xebfca7(0x1d9),_0x571be7[_0x571be7[_0xebfca7(0x190)]=0x3e9]=_0xebfca7(0x190),_0x571be7[_0x571be7[_0xebfca7(0x14c)]=0x3ea]=_0xebfca7(0x14c),_0x571be7[_0x571be7[_0xebfca7(0x1fc)]=0x3eb]=_0xebfca7(0x1fc),_0x571be7[_0x571be7['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xebfca7(0x2d6),_0x571be7[_0x571be7[_0xebfca7(0x282)]=-0x1]='UNRECOGNIZED',_0x571be7))(Ee||{}),Ti=(_0xfb38b2=>(_0xfb38b2[_0xfb38b2[_0xebfca7(0x291)]=0x0]='Undefined',_0xfb38b2[_0xfb38b2['HttpImport']=0x1]=_0xebfca7(0x2a3),_0xfb38b2[_0xfb38b2[_0xebfca7(0x223)]=0x2]='HttpExport',_0xfb38b2[_0xfb38b2[_0xebfca7(0x29c)]=0x3]=_0xebfca7(0x29c),_0xfb38b2[_0xfb38b2[_0xebfca7(0x365)]=0x4]=_0xebfca7(0x365),_0xfb38b2[_0xfb38b2[_0xebfca7(0x282)]=-0x1]=_0xebfca7(0x282),_0xfb38b2))(Ti||{});const q=_0xebfca7(0x156),Wt={};var se=(_0x40ae46=>(_0x40ae46['OTHER_CLIENT_EDITING']=_0xebfca7(0x283),_0x40ae46[_0xebfca7(0x1e8)]=_0xebfca7(0x1e8),_0x40ae46['CONFLICT']=_0xebfca7(0x27b),_0x40ae46[_0xebfca7(0x175)]=_0xebfca7(0x175),_0x40ae46[_0xebfca7(0x151)]=_0xebfca7(0x151),_0x40ae46[_0xebfca7(0x1b8)]=_0xebfca7(0x1b8),_0x40ae46[_0xebfca7(0x338)]=_0xebfca7(0x338),_0x40ae46[_0xebfca7(0x199)]=_0xebfca7(0x199),_0x40ae46))(se||{});class pe{constructor(){var _0x12953a=_0xebfca7;N(this,'_event$',new _0x34e3bd()),N(this,_0x12953a(0x2c1),this[_0x12953a(0x169)][_0x12953a(0x152)]());}['emitEvent'](_0x69bfe4){var _0x209754=_0xebfca7;this['_event$'][_0x209754(0x257)](_0x69bfe4);}}const Mn=_0x413e5f(_0xebfca7(0x295));function $n(_0x5eb4bc){var _0x286ee0=_0xebfca7,_0x2c6093,_0x5b23a6,_0x189078,_0x3d4bcb,_0x154016;const _0x1e19b3=_0x5eb4bc['data'],_0x35aab1=JSON[_0x286ee0(0x23d)](_0x1e19b3);switch(_0x35aab1['cmd']){case F[_0x286ee0(0x20d)]:case F['HELLO']:{const _0x4a3f8b=_0x35aab1[_0x286ee0(0x326)];return{..._0x35aab1,'data':_0x4a3f8b,'cmd':_0x35aab1[_0x286ee0(0x24f)]};}case F['JOIN']:{const _0x3b43dc=_0x35aab1['joinRsp'];return{..._0x35aab1,'data':_0x3b43dc,'cmd':_0x35aab1['cmd']};}case F[_0x286ee0(0x2da)]:{const _0x411831=_0x35aab1['collaMsg'];switch(_0x411831[_0x286ee0(0x2dc)]){case _0x3aa22a[_0x286ee0(0x9e)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x2c6093=_0x411831['permissionRejEvent'])==null?void 0x0:_0x2c6093['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x26c)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x5b23a6=_0x411831[_0x286ee0(0xc9)])==null?void 0x0:_0x5b23a6['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x288)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x189078=_0x411831[_0x286ee0(0x2f6)])==null?void 0x0:_0x189078['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x15a)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x3d4bcb=_0x411831[_0x286ee0(0x19c)])==null?void 0x0:_0x3d4bcb['cs']},'cmd':_0x35aab1['cmd']};case _0x3aa22a[_0x286ee0(0x362)]:return{..._0x35aab1,'data':{..._0x411831,'data':(_0x154016=_0x411831[_0x286ee0(0x1a0)])==null?void 0x0:_0x154016['cs']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x195)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['updateCursorEvent']},'cmd':_0x35aab1['cmd']};case _0x3aa22a['USERS_ENTER']:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x1a9)]},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x1e0)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x1bb)]},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x1e6)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x29f)]},'cmd':_0x35aab1['cmd']};case _0x3aa22a['LIVESHARE_FETCH_OPERATIONS']:case _0x3aa22a['LIVESHARE_OPERATION']:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['liveShareOperation']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x126)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['liveShareNewHost']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0xd6)]:return{..._0x35aab1,'data':_0x411831,'cmd':_0x35aab1['cmd']};case _0x3aa22a[_0x286ee0(0x1a7)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831[_0x286ee0(0x307)]},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x30c)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['updatePermissionObjEvent']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};case _0x3aa22a[_0x286ee0(0x270)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['shouldCloseConn']},'cmd':_0x35aab1['cmd']};case _0x3aa22a[_0x286ee0(0x18c)]:return{..._0x35aab1,'data':{..._0x411831,'data':_0x411831['uniscriptRunEvent']},'cmd':_0x35aab1[_0x286ee0(0x24f)]};default:return _0x35aab1;}}default:return _0x35aab1;}}function Hn(_0xe05dc5){var _0x3dfe60=_0xebfca7;switch(_0xe05dc5[_0x3dfe60(0x24f)]){case F[_0x3dfe60(0x20d)]:case F[_0x3dfe60(0x1cc)]:return JSON[_0x3dfe60(0x357)]({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)]});case F[_0x3dfe60(0x10f)]:{let _0x446280;switch(_0xe05dc5['data'][_0x3dfe60(0x2dc)]){case _0x3aa22a['UPDATE_CURSOR']:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x195)],'updateCursorEvent':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a['USERS_LEAVE']:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x1e0)],'leaveEvent':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a[_0x3dfe60(0x351)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x351)],'joinEvent':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a['LIVESHARE_NEW_HOST']:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x1e6)],'liveShareNewHost':_0xe05dc5[_0x3dfe60(0xc2)]['data']};break;}case _0x3aa22a['LIVESHARE_OPERATION']:{_0x446280={'eventID':_0x3aa22a['LIVESHARE_OPERATION'],'liveShareOperation':_0xe05dc5[_0x3dfe60(0xc2)]['data']};break;}case _0x3aa22a[_0x3dfe60(0x126)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x126)],'liveShareTerminate':_0xe05dc5[_0x3dfe60(0xc2)][_0x3dfe60(0xc2)]};break;}case _0x3aa22a[_0x3dfe60(0x13f)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x13f)],'liveShareRequestHost':_0xe05dc5['data']['data']};break;}case _0x3aa22a[_0x3dfe60(0x17f)]:{_0x446280={'eventID':_0x3aa22a[_0x3dfe60(0x17f)]};break;}default:_0x446280={'eventID':_0xe05dc5['data'][_0x3dfe60(0x2dc)]};}return JSON['stringify']({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)],'collaMsg':_0x446280});}case F[_0x3dfe60(0x2b1)]:return JSON[_0x3dfe60(0x357)]({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)],'joinReq':_0xe05dc5['data']});case F[_0x3dfe60(0x2e5)]:return JSON['stringify']({'cmd':_0xe05dc5[_0x3dfe60(0x24f)],'routeKey':_0xe05dc5[_0x3dfe60(0x9c)],'leaveReq':_0xe05dc5['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0xebfca7(0xda)],jn=Object[_0xebfca7(0x298)],Bn=(_0x3838e1,_0x547cba,_0x1a20d6,_0x374314)=>{var _0xdc2397=_0xebfca7;for(var _0x2f0ce4=_0x374314>0x1?void 0x0:_0x374314?jn(_0x547cba,_0x1a20d6):_0x547cba,_0x547f65=_0x3838e1[_0xdc2397(0x124)]-0x1,_0x1d3aab;_0x547f65>=0x0;_0x547f65--)(_0x1d3aab=_0x3838e1[_0x547f65])&&(_0x2f0ce4=(_0x374314?_0x1d3aab(_0x547cba,_0x1a20d6,_0x2f0ce4):_0x1d3aab(_0x2f0ce4))||_0x2f0ce4);return _0x374314&&_0x2f0ce4&&kn(_0x547cba,_0x1a20d6,_0x2f0ce4),_0x2f0ce4;},Ue=(_0x570587,_0x3bb6f3)=>(_0x581ffc,_0x236b7c)=>_0x3bb6f3(_0x581ffc,_0x236b7c,_0x570587);const Ci=_0x413e5f('univer-pro.collaboration-client-socket-service');function Fn(_0x16ae06,_0x32324c,_0x2901cd){var _0x21a691=_0xebfca7;return _0x16ae06+'/'+_0x32324c+_0x21a691(0x237)+_0x2901cd+'/new_changes';}let Et=class extends _0x10bb52{constructor(_0xf308dd,_0x3c6929,_0x374d70,_0x4580de,_0x517034){var _0x59e35f=_0xebfca7;super(),this['_injector']=_0xf308dd,this[_0x59e35f(0x8c)]=_0x3c6929,this['_configService']=_0x374d70,this[_0x59e35f(0x240)]=_0x4580de,this[_0x59e35f(0x1a8)]=_0x517034;}['createSocket'](_0x1fc51e){var _0x405f48=_0xebfca7;const _0x4288ba=this[_0x405f48(0x1c6)][_0x405f48(0x308)](_0x1e1599);if(!_0x4288ba)throw new Error(_0x405f48(0x2ac));const _0x1c2936=_0x4288ba[_0x405f48(0x159)](_0x1fc51e);if(!_0x1c2936)throw new Error(_0x405f48(0x213));const _0x5bc247=new _0xf9dbad(),_0x398fa6=new _0x34e3bd();_0x5bc247[_0x405f48(0x2bb)](_0x1c2936[_0x405f48(0x87)][_0x405f48(0x154)](_0x3c8722=>_0x398fa6[_0x405f48(0x257)](_0x3c8722))),_0x5bc247['add'](_0x20bee6(()=>_0x398fa6[_0x405f48(0x1dc)]()));const _0x5a65ae=new _0x34e3bd();_0x5bc247['add'](_0x1c2936[_0x405f48(0x2db)][_0x405f48(0x154)](_0x2be39a=>_0x5a65ae[_0x405f48(0x257)](_0x2be39a))),_0x5bc247['add'](_0x20bee6(()=>_0x5a65ae[_0x405f48(0x1dc)]()));const _0x26365f=new _0x34e3bd();_0x5bc247[_0x405f48(0x2bb)](_0x1c2936['message$']['subscribe'](_0x373724=>{var _0x3b7334=_0x405f48;const _0x3abec1=$n(_0x373724);_0x26365f[_0x3b7334(0x257)](_0x3abec1);})),_0x5bc247[_0x405f48(0x2bb)](_0x20bee6(()=>_0x26365f[_0x405f48(0x1dc)]()));let _0x839405;const _0x631598=()=>{var _0x10d07b=_0x405f48;_0x5a65ae['next'](new Event(_0x10d07b(0x1e3))),_0x398fa6['next'](new CloseEvent(_0x10d07b(0x1e3))),_0x839405['close']();};return _0x839405={'memberID':'','close$':_0x398fa6[_0x405f48(0x152)](),'error$':_0x5a65ae[_0x405f48(0x152)](),'open$':_0x1c2936[_0x405f48(0x30a)],'message$':_0x26365f[_0x405f48(0x152)](),'send':_0x20cf55=>{var _0x2eec14=_0x405f48;if(_0x20cf55[_0x2eec14(0x24f)]===F[_0x2eec14(0x10f)]){if(_0x20cf55[_0x2eec14(0xc2)][_0x2eec14(0x2dc)]===_0x3aa22a[_0x2eec14(0x231)]){this[_0x2eec14(0x344)](_0x839405,_0x20cf55[_0x2eec14(0xc2)])[_0x2eec14(0x24b)](_0xd8ff16=>{var _0x10c787=_0x2eec14;this[_0x10c787(0x240)][_0x10c787(0x2f8)](_0xd8ff16),_0x631598();});return;}if(_0x20cf55[_0x2eec14(0xc2)][_0x2eec14(0x2dc)]===_0x3aa22a['FETCH_MISSING']){const _0x4d4fe0=_0x20cf55[_0x2eec14(0xc2)];this[_0x2eec14(0x2a1)](_0x4d4fe0)[_0x2eec14(0x2f7)](_0xdd4c9=>{var _0x56b419=_0x2eec14;_0x26365f[_0x56b419(0x257)]({'cmd':F[_0x56b419(0x2da)],'code':Ee['OK'],'routeKey':_0x4d4fe0[_0x56b419(0xc2)]['unitID'],'routeType':'','data':{'eventID':_0x3aa22a[_0x56b419(0x34a)],'data':{'changesets':_0xdd4c9}}});})[_0x2eec14(0x24b)](_0x4ce2cc=>{var _0x2cf05f=_0x2eec14;this[_0x2cf05f(0x240)][_0x2cf05f(0x2f8)](_0x4ce2cc),_0x631598();});return;}}_0x1c2936[_0x2eec14(0x86)](Hn(_0x20cf55));},'close':()=>{var _0x199023=_0x405f48;_0x1c2936['close'](),_0x5bc247[_0x199023(0x1a4)]();}},_0x839405;}async[_0xebfca7(0x344)](_0x32f463,_0x479040){var _0x5cbbc1=_0xebfca7,_0x59a87d,_0x5315dd;const {unitType:_0x5c7c2c,unitID:_0x4019ea,changeset:_0x9f3012}=_0x479040['data'],_0x2252c2={'unitID':_0x4019ea,'memberID':_0x32f463[_0x5cbbc1(0x18e)],'type':_0x5c7c2c,'changeset':_0xea540(_0x9f3012)},_0x4ec427=this[_0x5cbbc1(0x234)][_0x5cbbc1(0x1d5)](Un),_0x3dd9af=this[_0x5cbbc1(0x234)][_0x5cbbc1(0x1d5)](q),_0x389038=Fn((_0x5315dd=(_0x59a87d=_0x3dd9af==null?void 0x0:_0x3dd9af['collabSubmitChangesetUrl'])!=null?_0x59a87d:_0x4ec427)!=null?_0x5315dd:An,_0x5c7c2c,_0x4019ea);try{await this[_0x5cbbc1(0x8c)][_0x5cbbc1(0xe4)](_0x389038,{'body':_0x2252c2});}catch(_0x265007){throw this['_logService'][_0x5cbbc1(0x2f8)](_0x5cbbc1(0x168),'submit\x20changeset\x20error!'),_0x265007;}}async[_0xebfca7(0x2a1)](_0xf70cf2){var _0xee0185=_0xebfca7;const {unitID:_0x1754be,from:_0x271125,to:_0x2447f6,unitType:_0x284170}=_0xf70cf2[_0xee0185(0xc2)];return(await this[_0xee0185(0x1a8)][_0xee0185(0x1e9)]({'metadata':void 0x0},{'unitID':_0x1754be,'type':_0x284170,'from':_0x271125,'to':_0x2447f6}))['changesets'];}};Et=Bn([Ue(0x0,_0x350f87(_0x3e288c)),Ue(0x1,_0x350f87(_0x2db2ac)),Ue(0x2,_0x3e9aa3),Ue(0x3,_0x39281b),Ue(0x4,_0x5dd680)],Et);const Vn=_0xebfca7(0x218);function Gn(_0x4b9dec){var _0xa1b45d=_0xebfca7;return JSON[_0xa1b45d(0x357)](_0x4b9dec)[_0xa1b45d(0x124)];}class Ri{constructor(){var _0xb41a5=_0xebfca7;N(this,'_commentUpdate$',new _0x34e3bd()),N(this,_0xb41a5(0xc1),this['_commentUpdate$'][_0xb41a5(0x152)]());}[_0xebfca7(0x2e7)](_0x6bd427){var _0xc779c3=_0xebfca7;this['_commentUpdate$'][_0xc779c3(0x257)](_0x6bd427);}}var Wn=Object[_0xebfca7(0xda)],Kn=Object[_0xebfca7(0x298)],Yn=(_0x4f9285,_0x1d375f,_0xfea343,_0x4e8e73)=>{var _0x420d4e=_0xebfca7;for(var _0x4ad1be=_0x4e8e73>0x1?void 0x0:_0x4e8e73?Kn(_0x1d375f,_0xfea343):_0x1d375f,_0x4487be=_0x4f9285[_0x420d4e(0x124)]-0x1,_0x1e6cc3;_0x4487be>=0x0;_0x4487be--)(_0x1e6cc3=_0x4f9285[_0x4487be])&&(_0x4ad1be=(_0x4e8e73?_0x1e6cc3(_0x1d375f,_0xfea343,_0x4ad1be):_0x1e6cc3(_0x4ad1be))||_0x4ad1be);return _0x4e8e73&&_0x4ad1be&&Wn(_0x1d375f,_0xfea343,_0x4ad1be),_0x4ad1be;},Kt=(_0x449e37,_0x316306)=>(_0x51b59d,_0x583cac)=>_0x316306(_0x51b59d,_0x583cac,_0x449e37);let xe=class extends _0x10bb52{constructor(_0xd8c7ff,_0x312855){var _0x332af2=_0xebfca7;super(),N(this,_0x332af2(0x100),new Map()),N(this,_0x332af2(0x35a),new _0x34e3bd()),(this[_0x332af2(0x173)]=_0xd8c7ff,this[_0x332af2(0x212)]=_0x312855,this['disposeWithMe'](_0x1345a8(this[_0x332af2(0x173)][_0x332af2(0x248)](_0x47927c[_0x332af2(0x18a)])['pipe'](_0x5522f1(_0x18d75f=>_0x18d75f['getUnitId']())),this[_0x332af2(0x173)][_0x332af2(0x248)](_0x47927c[_0x332af2(0x22d)])[_0x332af2(0x324)](_0x5522f1(_0x3a4b45=>_0x3a4b45[_0x332af2(0x266)]())),this['_univerInstanceService'][_0x332af2(0x248)](_0x47927c[_0x332af2(0x135)])[_0x332af2(0x324)](_0x5522f1(_0x52955d=>_0x52955d[_0x332af2(0x266)]())))[_0x332af2(0x154)](_0x2d5e4e=>this[_0x332af2(0x17b)](_0x2d5e4e))));}['waitForRoom$'](_0x236514){var _0x23fc9e=_0xebfca7;return this['_roomMembers'][_0x23fc9e(0x26a)](_0x236514)?_0x51b4a4(this[_0x23fc9e(0x100)][_0x23fc9e(0x308)](_0x236514)):this['_roomCreated$'][_0x23fc9e(0x324)](_0x5522f1(_0x47070a=>{var _0x58b916=_0x23fc9e;if(_0x47070a===_0x236514)return this[_0x58b916(0x100)][_0x58b916(0x308)](_0x47070a);}));}['setCurrentUser'](_0x183c17){var _0x48dfe0=_0xebfca7;this[_0x48dfe0(0x212)][_0x48dfe0(0xa3)](_0x183c17);}['getCurrentUser'](){var _0x34403f=_0xebfca7;return this[_0x34403f(0x212)][_0x34403f(0xba)]();}[_0xebfca7(0x348)](_0xa83a20,_0x99df00){var _0x4775ac=_0xebfca7;let _0x5f4120=this[_0x4775ac(0x100)][_0x4775ac(0x308)](_0xa83a20);_0x5f4120||(_0x5f4120=new qn(),this[_0x4775ac(0x100)][_0x4775ac(0x180)](_0xa83a20,_0x5f4120),this[_0x4775ac(0x35a)][_0x4775ac(0x257)](_0xa83a20)),_0x5f4120['updateMember'](_0x99df00);}[_0xebfca7(0x22b)](_0x3c89da,_0x445df2){var _0x3a31f3=_0xebfca7;const _0x5743d7=this[_0x3a31f3(0x100)][_0x3a31f3(0x308)](_0x3c89da);_0x5743d7&&_0x5743d7[_0x3a31f3(0x22b)](_0x445df2);}[_0xebfca7(0x249)](_0x4e83dc){var _0x50c350=_0xebfca7;return this[_0x50c350(0x100)][_0x50c350(0x308)](_0x4e83dc);}[_0xebfca7(0x191)](_0x55a52e,_0x37b37d){var _0x4402e8=_0xebfca7;const _0x14a1ae=this[_0x4402e8(0x100)][_0x4402e8(0x308)](_0x55a52e);if(_0x14a1ae)return _0x14a1ae[_0x4402e8(0x191)](_0x37b37d);}[_0xebfca7(0x17b)](_0x13a1b9){var _0x3eeed4=_0xebfca7;const _0x5b10d9=this[_0x3eeed4(0x100)][_0x3eeed4(0x308)](_0x13a1b9);_0x5b10d9&&(_0x5b10d9[_0x3eeed4(0x1a4)](),this[_0x3eeed4(0x100)]['delete'](_0x13a1b9));}[_0xebfca7(0x1a4)](){var _0x2a6163=_0xebfca7;this[_0x2a6163(0x100)][_0x2a6163(0x2df)](_0x1a38aa=>_0x1a38aa[_0x2a6163(0x1a4)]()),this['_roomMembers'][_0x2a6163(0x11c)](),this[_0x2a6163(0x35a)][_0x2a6163(0x1dc)]();}};xe=Yn([Kt(0x0,_0x47607b),Kt(0x1,_0x350f87(_0x2bb914))],xe);class qn extends _0x10bb52{constructor(){var _0x1919fa=_0xebfca7;super(...arguments),N(this,'_members',new Map()),N(this,_0x1919fa(0x21f),new _0x4a19f3(this['_members'])),N(this,_0x1919fa(0x145),this[_0x1919fa(0x21f)][_0x1919fa(0x152)]());}[_0xebfca7(0x1a4)](){var _0x281ed5=_0xebfca7;this[_0x281ed5(0x14d)][_0x281ed5(0x11c)]();}['updateMember'](_0x2bf0e7){var _0x266a24=_0xebfca7;this[_0x266a24(0x14d)][_0x266a24(0x180)](_0x2bf0e7[_0x266a24(0x18e)],_0x2bf0e7),this[_0x266a24(0x360)]();}['removeMember'](_0x26995d){var _0x151a81=_0xebfca7;this[_0x151a81(0x14d)][_0x151a81(0x2bd)](_0x26995d);}['getMember'](_0x599195){var _0x32b36c=_0xebfca7;return this[_0x32b36c(0x14d)]['get'](_0x599195);}[_0xebfca7(0x14b)](){var _0x40c67d=_0xebfca7;return Array['from'](this[_0x40c67d(0x14d)][_0x40c67d(0x20e)]());}[_0xebfca7(0x360)](){var _0x311b42=_0xebfca7;this['_members$']['next'](this[_0x311b42(0x14d)]);}}var zn=Object[_0xebfca7(0xda)],Jn=Object[_0xebfca7(0x298)],Xn=(_0x184388,_0x4600bf,_0x1356ba,_0x274e8a)=>{var _0x167e6f=_0xebfca7;for(var _0x3ef178=_0x274e8a>0x1?void 0x0:_0x274e8a?Jn(_0x4600bf,_0x1356ba):_0x4600bf,_0x4ba1cd=_0x184388[_0x167e6f(0x124)]-0x1,_0x19e22d;_0x4ba1cd>=0x0;_0x4ba1cd--)(_0x19e22d=_0x184388[_0x4ba1cd])&&(_0x3ef178=(_0x274e8a?_0x19e22d(_0x4600bf,_0x1356ba,_0x3ef178):_0x19e22d(_0x3ef178))||_0x3ef178);return _0x274e8a&&_0x3ef178&&zn(_0x4600bf,_0x1356ba,_0x3ef178),_0x3ef178;},me=(_0x5aa9ef,_0x3fd778)=>(_0x1421a5,_0x17d568)=>_0x3fd778(_0x1421a5,_0x17d568,_0x5aa9ef),Te=(_0x8dffc0=>(_0x8dffc0[_0x8dffc0[_0xebfca7(0x1ca)]=0x0]=_0xebfca7(0x1ca),_0x8dffc0[_0x8dffc0[_0xebfca7(0xef)]=0x1]='JOINING',_0x8dffc0[_0x8dffc0[_0xebfca7(0x349)]=0x2]=_0xebfca7(0x349),_0x8dffc0[_0x8dffc0['ONLINE']=0x3]='ONLINE',_0x8dffc0))(Te||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee['JOIN_ROOM_FULL']]:_0xebfca7(0x31e),[Ee[_0xebfca7(0x14c)]]:_0xebfca7(0x260),[Ee[_0xebfca7(0x1fc)]]:_0xebfca7(0x330),[Ee[_0xebfca7(0x2d6)]]:_0xebfca7(0x1d8)};let It=class extends _0x42ad43{constructor(_0x1135e6,_0x423f3b,_0x4a00ec,_0x23f648,_0x52ff51,_0xaedf3e,_0x191b1d,_0x4221e7,_0x22078f){var _0x559279=_0xebfca7;super(),N(this,_0x559279(0x316),new _0x4a19f3(0x0)),N(this,_0x559279(0x184),this[_0x559279(0x316)][_0x559279(0x152)]()),N(this,'_event$',new _0x34e3bd()),N(this,_0x559279(0x2c1),this[_0x559279(0x169)][_0x559279(0x152)]()),N(this,_0x559279(0x132)),N(this,_0x559279(0x278)),N(this,_0x559279(0x303)),N(this,_0x559279(0x1d3),!0x1),N(this,'_telemetryInfo',null),(this[_0x559279(0x9f)]=_0x1135e6,this[_0x559279(0x240)]=_0x4a00ec,this[_0x559279(0x234)]=_0x23f648,this['_localeService']=_0x52ff51,this['_memberService']=_0xaedf3e,this[_0x559279(0x2f9)]=_0x191b1d,this['_collaborationUIEventService']=_0x4221e7,this['_telemetryService']=_0x22078f,this[_0x559279(0x1d3)]=!!this[_0x559279(0xb2)],_0x423f3b[_0x559279(0x324)](_0x399539(this[_0x559279(0x299)]))[_0x559279(0x154)](_0x3d8293=>{var _0x5c550e=_0x559279,_0x3273af;typeof _0x3d8293>'u'||(this[_0x5c550e(0x132)]=_0x3d8293,_0x3d8293?(this[_0x5c550e(0x290)](_0x3d8293),this[_0x5c550e(0x278)]=_0x3d8293['message$'][_0x5c550e(0x154)](_0x17542b=>{var _0x350343=_0x5c550e;_0x17542b[_0x350343(0x9c)]===this[_0x350343(0x9f)]&&this[_0x350343(0xd3)](_0x17542b);})):(this[_0x5c550e(0x14f)](),this[_0x5c550e(0x316)][_0x5c550e(0x257)](0x2),(_0x3273af=this[_0x5c550e(0x278)])==null||_0x3273af[_0x5c550e(0x347)](),this[_0x5c550e(0x278)]=null));}));}get[_0xebfca7(0xa6)](){var _0xf354a=_0xebfca7;return this[_0xf354a(0x316)][_0xf354a(0x201)]();}[_0xebfca7(0x142)](){var _0x5bbc0a=_0xebfca7,_0x2539b2,_0x553b77;return(_0x553b77=(_0x2539b2=this[_0x5bbc0a(0x132)])==null?void 0x0:_0x2539b2[_0x5bbc0a(0x18e)])!=null?_0x553b77:null;}['dispose'](){var _0x1e02dc=_0xebfca7;super[_0x1e02dc(0x1a4)](),this[_0x1e02dc(0x299)]['next'](),this['dispose$'][_0x1e02dc(0x1dc)]();}[_0xebfca7(0x1e4)](){var _0x17b9b6=_0xebfca7,_0x1f193c,_0xe6fc4c;this[_0x17b9b6(0x14f)](),(_0x1f193c=this[_0x17b9b6(0x132)])==null||_0x1f193c['send']({'cmd':F[_0x17b9b6(0x2e5)],'data':{'roomID':this['_unitID']}}),(_0xe6fc4c=this[_0x17b9b6(0x132)])==null||_0xe6fc4c[_0x17b9b6(0x1e4)](),this['_event$'][_0x17b9b6(0x1dc)](),this[_0x17b9b6(0x316)]['complete'](),this[_0x17b9b6(0x1a4)]();}['_onCombEvent'](_0x2e15d3){var _0x1a8650=_0xebfca7;_0x2e15d3[_0x1a8650(0x24f)]===F[_0x1a8650(0x2b1)]?this[_0x1a8650(0x272)](_0x2e15d3):_0x2e15d3[_0x1a8650(0x24f)]===F['RECV']&&this[_0x1a8650(0x23a)](_0x2e15d3);}[_0xebfca7(0x290)](_0x4cf9a3){var _0x4916b7=_0xebfca7;this['_sessionStatus$']['next'](0x1),_0x4cf9a3[_0x4916b7(0x86)]({'cmd':F[_0x4916b7(0x2b1)],'routeKey':this[_0x4916b7(0x9f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4916b7(0x9f)]}]}});}[_0xebfca7(0x272)](_0x22cbc0){var _0x2262a0=_0xebfca7,_0x1b8210;if(_0x22cbc0[_0x2262a0(0xd1)]in Yt){this[_0x2262a0(0x16d)]['emitEvent']({'id':se[_0x2262a0(0x151)],'data':Yt[_0x22cbc0['code']]}),this['_sessionStatus$'][_0x2262a0(0x257)](0x2);return;}this[_0x2262a0(0x316)]['next'](0x3);const _0x299a7a=(_0x1b8210=_0x22cbc0['data'][_0x2262a0(0x8f)][this[_0x2262a0(0x9f)]])==null?void 0x0:_0x1b8210['members'];_0x299a7a&&_0x299a7a[_0x2262a0(0x2df)](_0x5a2ab4=>this[_0x2262a0(0x373)][_0x2262a0(0x348)](this[_0x2262a0(0x9f)],_0x5a2ab4));}[_0xebfca7(0x23a)](_0x3e007c){var _0x13f2d9=_0xebfca7;try{const _0x2c2861=_0x3e007c[_0x13f2d9(0xc2)];switch(_0x2c2861['eventID']){case _0x3aa22a[_0x13f2d9(0x351)]:this[_0x13f2d9(0x18f)](_0x2c2861),this[_0x13f2d9(0x169)][_0x13f2d9(0x257)](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0x1e0)]:this[_0x13f2d9(0x2ee)](_0x2c2861),this[_0x13f2d9(0x169)]['next'](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0x26c)]:case _0x3aa22a['CHANGESET_SHOULD_RETRY']:this[_0x13f2d9(0x196)](),this[_0x13f2d9(0xee)](),this[_0x13f2d9(0x169)][_0x13f2d9(0x257)](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0xd6)]:this['_logService'][_0x13f2d9(0x2f8)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x2c2861)),this['_event$'][_0x13f2d9(0x257)](_0x2c2861);break;case _0x3aa22a[_0x13f2d9(0x1a7)]:this[_0x13f2d9(0x2f9)][_0x13f2d9(0x2e7)](_0x2c2861[_0x13f2d9(0xc2)]),this['_event$']['next'](_0x2c2861);break;default:this[_0x13f2d9(0x169)][_0x13f2d9(0x257)](_0x2c2861);}}catch(_0x5dd2ea){this['_logService']['error'](_0x5dd2ea,_0x3e007c);}}[_0xebfca7(0x18f)](_0x438c01){var _0x35f000=_0xebfca7;this[_0x35f000(0x373)][_0x35f000(0x348)](this['_unitID'],_0x438c01[_0x35f000(0xc2)]);}[_0xebfca7(0x2ee)](_0x556ab2){var _0x3d6ca3=_0xebfca7;this['_memberService']['removeMember'](this[_0x3d6ca3(0x9f)],_0x556ab2[_0x3d6ca3(0xc2)]['memberID']);}async[_0xebfca7(0x86)](_0x15ce12,_0x30caeb){var _0x14f19e=_0xebfca7;if(this[_0x14f19e(0xa6)]!==0x3||!this[_0x14f19e(0x132)])throw new Error(_0x14f19e(0x14a));try{_0x15ce12[_0x14f19e(0x2dc)]===_0x3aa22a[_0x14f19e(0x231)]&&(this[_0x14f19e(0x15b)](),this[_0x14f19e(0x1b9)](_0x15ce12)),this['_socket'][_0x14f19e(0x86)]({'cmd':F['INGEST'],'routeKey':_0x30caeb,'routeType':'','data':_0x15ce12});}catch(_0xaf938d){this[_0x14f19e(0x240)][_0x14f19e(0x2f8)](_0xaf938d);}}[_0xebfca7(0x15b)](){var _0x179a72=_0xebfca7,_0x51048c;this[_0x179a72(0x303)]=setTimeout(()=>{var _0x3e3fe3=_0x179a72;this[_0x3e3fe3(0x303)]=null,this['_collaborationUIEventService']['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x51048c=this[_0x179a72(0x234)][_0x179a72(0x1d5)](Si))!=null?_0x51048c:Ei);}[_0xebfca7(0xee)](){var _0x584760=_0xebfca7;this[_0x584760(0x303)]&&(clearTimeout(this[_0x584760(0x303)]),this['_collaborationTimeoutTimer']=null);}[_0xebfca7(0x1b9)](_0x1ea4ef){var _0x1a8797=_0xebfca7;if(!this['_shouldReportTelemetry'])return;const {data:_0x52471c}=_0x1ea4ef,{unitID:_0x7fc11d,changeset:_0x278f78}=_0x52471c,{mutations:_0x19df0f,type:_0x411bd0}=_0x278f78;this[_0x1a8797(0x229)]={'unitId':_0x7fc11d,'type':_0x411bd0,'startTime':performance[_0x1a8797(0x2ba)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x19df0f)};}[_0xebfca7(0x196)](){var _0x16d4e1=_0xebfca7;if(this['_shouldReportTelemetry']){if(!this[_0x16d4e1(0x229)]){this[_0x16d4e1(0x240)]['error'](_0x16d4e1(0x168),_0x16d4e1(0x172));return;}this[_0x16d4e1(0x229)]['stopTime']=performance[_0x16d4e1(0x2ba)](),this[_0x16d4e1(0x229)][_0x16d4e1(0x259)]=this[_0x16d4e1(0x229)][_0x16d4e1(0x32b)]-this[_0x16d4e1(0x229)][_0x16d4e1(0x243)],this[_0x16d4e1(0xb2)][_0x16d4e1(0x2a0)](Vn,this[_0x16d4e1(0x229)]),this['_telemetryInfo']=null;}}[_0xebfca7(0x14f)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x39281b),me(0x3,_0x3e9aa3),me(0x4,_0x350f87(_0x1a7de2)),me(0x5,_0x350f87(xe)),me(0x6,_0x350f87(Ri)),me(0x7,_0x350f87(pe)),me(0x8,_0x461ea6(_0x427769))],It);var Zn=Object['defineProperty'],Qn=Object[_0xebfca7(0x298)],er=(_0x3fb2ae,_0x15ebbb,_0x520999,_0x144b3e)=>{var _0x2f2781=_0xebfca7;for(var _0x3e4bf6=_0x144b3e>0x1?void 0x0:_0x144b3e?Qn(_0x15ebbb,_0x520999):_0x15ebbb,_0x4814d6=_0x3fb2ae[_0x2f2781(0x124)]-0x1,_0x753f45;_0x4814d6>=0x0;_0x4814d6--)(_0x753f45=_0x3fb2ae[_0x4814d6])&&(_0x3e4bf6=(_0x144b3e?_0x753f45(_0x15ebbb,_0x520999,_0x3e4bf6):_0x753f45(_0x3e4bf6))||_0x3e4bf6);return _0x144b3e&&_0x3e4bf6&&Zn(_0x15ebbb,_0x520999,_0x3e4bf6),_0x3e4bf6;},ge=(_0x2c4e03,_0x1fed4c)=>(_0x39de7e,_0x54c5dc)=>_0x1fed4c(_0x39de7e,_0x54c5dc,_0x2c4e03);let Le=class extends _0x10bb52{constructor(_0xc46525,_0x59e3cc,_0x4291fa,_0x17eee1,_0x316ad6,_0x2412f5,_0x155d07){var _0x8ecfe9=_0xebfca7;super(),N(this,_0x8ecfe9(0xa5),new _0x4a19f3(void 0x0)),N(this,'socket$',this['_socket$'][_0x8ecfe9(0x152)]()),N(this,_0x8ecfe9(0x336),null),N(this,'_sessions',new Map()),N(this,_0x8ecfe9(0x302),new _0x4a19f3(Te[_0x8ecfe9(0x1ca)])),N(this,_0x8ecfe9(0xe1),this[_0x8ecfe9(0x302)][_0x8ecfe9(0x152)]()),N(this,_0x8ecfe9(0x144),!0x1),N(this,_0x8ecfe9(0x312)),N(this,'_retryCount',0x0),N(this,_0x8ecfe9(0x2d3)),N(this,'_timeoutTimer'),(this[_0x8ecfe9(0x1c6)]=_0xc46525,this[_0x8ecfe9(0x240)]=_0x59e3cc,this['_configService']=_0x4291fa,this['_socketService']=_0x17eee1,this[_0x8ecfe9(0x236)]=_0x316ad6,this[_0x8ecfe9(0x16d)]=_0x2412f5,this[_0x8ecfe9(0x89)]=_0x155d07,this[_0x8ecfe9(0x181)]());}get['_socket'](){var _0x5344b4=_0xebfca7;return this[_0x5344b4(0xa5)][_0x5344b4(0x201)]();}[_0xebfca7(0x181)](){var _0x16283e=_0xebfca7;this[_0x16283e(0x89)]&&this['disposeWithMe'](this[_0x16283e(0x89)]['online$']['subscribe'](_0x295878=>{var _0x1c8249=_0x16283e;_0x295878&&!this['_socket']&&this[_0x1c8249(0x37b)](),_0x295878||this[_0x1c8249(0x1f6)]();}));}[_0xebfca7(0x1a4)](){var _0xed5d3a=_0xebfca7;super[_0xed5d3a(0x1a4)](),this[_0xed5d3a(0xea)][_0xed5d3a(0x2df)](_0x569b3e=>_0x569b3e['dispose']()),this['_sessions'][_0xed5d3a(0x11c)](),this[_0xed5d3a(0x302)]['complete']();}async[_0xebfca7(0x98)](_0x495e98){var _0x219751=_0xebfca7;if(this[_0x219751(0xea)][_0x219751(0x26a)](_0x495e98))return this['_sessions']['get'](_0x495e98);this[_0x219751(0x1aa)]();const _0x4d79ed=this[_0x219751(0x1c6)][_0x219751(0x28a)](It,_0x495e98,this[_0x219751(0xa5)]['asObservable']());return this[_0x219751(0xea)][_0x219751(0x180)](_0x495e98,_0x4d79ed),_0x4d79ed;}[_0xebfca7(0x35f)](_0x44ef87){var _0x49b947=_0xebfca7,_0x5aec0d;const _0x51334a=this[_0x49b947(0xea)][_0x49b947(0x308)](_0x44ef87);_0x51334a&&(this['_sessions'][_0x49b947(0x2bd)](_0x44ef87),_0x51334a[_0x49b947(0x1e4)]()),this[_0x49b947(0xea)][_0x49b947(0x35d)]||(_0x5aec0d=this[_0x49b947(0x132)])==null||_0x5aec0d[_0x49b947(0x1e4)]();}[_0xebfca7(0x37b)](){var _0x4c7372=_0xebfca7;this[_0x4c7372(0x2e2)]=0x0,this[_0x4c7372(0x312)]!=null&&(clearTimeout(this[_0x4c7372(0x312)]),this[_0x4c7372(0x312)]=null),this[_0x4c7372(0x345)]();}async[_0xebfca7(0x2ea)](){var _0x3e07d8=_0xebfca7,_0x465f60,_0x3b3875,_0xfd0033;const _0x4f8649=this[_0x3e07d8(0x234)][_0x3e07d8(0x1d5)](q),_0x11097e=(_0x465f60=_0x4f8649==null?void 0x0:_0x4f8649[_0x3e07d8(0x1bc)])!=null?_0x465f60:On;return(_0xfd0033=(_0x3b3875=(await this[_0x3e07d8(0x236)][_0x3e07d8(0x308)](_0x11097e,{'headers':{'Content-Type':'application/json'}}))[_0x3e07d8(0x310)])==null?void 0x0:_0x3b3875[_0x3e07d8(0x157)])!=null?_0xfd0033:'';}['_createSocketURL'](_0x274eb5){var _0x7dd477=_0xebfca7,_0x5adb9e,_0x30d45e;const _0x24c9d8=this['_configService'][_0x7dd477(0x1d5)](Rn),_0x5a72c4=this[_0x7dd477(0x234)][_0x7dd477(0x1d5)](q),_0x19981e=(_0x30d45e=(_0x5adb9e=_0x5a72c4==null?void 0x0:_0x5a72c4[_0x7dd477(0x244)])!=null?_0x5adb9e:_0x24c9d8)!=null?_0x30d45e:bn,_0x774e1b=typeof window>'u'?new URL(_0x19981e):new URL(_0x19981e,window['location']['origin']);_0x774e1b['searchParams'][_0x7dd477(0x180)]('sessionTicket',_0x274eb5);const _0xbc15d0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7dd477(0x30b)][_0x7dd477(0xbc)]);return _0xbc15d0['get']('runId')&&_0x774e1b['searchParams']['set']('runId',_0xbc15d0[_0x7dd477(0x308)]('runId')),_0x774e1b[_0x7dd477(0x153)]();}async[_0xebfca7(0x17e)](){var _0x26c35b=_0xebfca7;const _0x4401b1=await this[_0x26c35b(0x2ea)](),_0x363db1=this[_0x26c35b(0x19b)](_0x4401b1),_0x33ed22=this[_0x26c35b(0x166)][_0x26c35b(0x159)](_0x363db1);return this[_0x26c35b(0x336)]=_0x33ed22,_0x33ed22;}async['_tryEnsureSocket'](){var _0x57daf9=_0xebfca7,_0x4217f7,_0xce216e;try{const _0x307efa=(_0xce216e=(_0x4217f7=this[_0x57daf9(0x132)])!=null?_0x4217f7:this['_candidateSocket'])!=null?_0xce216e:await this['_createSocket']();if(_0x307efa){const _0x37ac4d=_0x307efa['send'];_0x307efa[_0x57daf9(0x86)]=_0x302549=>(this[_0x57daf9(0x293)](),_0x37ac4d[_0x57daf9(0xff)](_0x307efa,[_0x302549])),_0x307efa['message$'][_0x57daf9(0x154)](_0x491d9f=>this[_0x57daf9(0xc0)](_0x307efa,_0x491d9f)),_0x307efa[_0x57daf9(0x2db)]['pipe'](_0x530efe(0x1))['subscribe'](_0x5d3497=>this[_0x57daf9(0x240)]['error'](_0x57daf9(0x20f),_0x5d3497)),_0x307efa[_0x57daf9(0x30a)][_0x57daf9(0x324)](_0x530efe(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x307efa);}),_0x307efa[_0x57daf9(0x87)][_0x57daf9(0x324)](_0x530efe(0x1))['subscribe'](_0x32d48f=>{var _0x53cb1b=_0x57daf9;this[_0x53cb1b(0x240)][_0x53cb1b(0x10b)](_0x53cb1b(0x149),_0x53cb1b(0x2a5),_0x32d48f),this[_0x53cb1b(0x350)]();});}}catch(_0x4621c2){this[_0x57daf9(0x240)][_0x57daf9(0x2f8)](_0x4621c2),this[_0x57daf9(0x350)]();}}[_0xebfca7(0x256)](_0x13a0c8){var _0x34fef8=_0xebfca7;this[_0x34fef8(0x240)][_0x34fef8(0x10b)](_0x34fef8(0x149),_0x34fef8(0x10e)),_0x13a0c8[_0x34fef8(0x86)]({'cmd':F[_0x34fef8(0x1cc)]}),this[_0x34fef8(0x293)]();}[_0xebfca7(0x1f6)](){var _0xebf0b2=_0xebfca7;this[_0xebf0b2(0x144)]=!0x1,this[_0xebf0b2(0x336)]=null,this[_0xebf0b2(0x302)][_0xebf0b2(0x257)](Te[_0xebf0b2(0x349)]),this[_0xebf0b2(0xa5)][_0xebf0b2(0x257)](null),this[_0xebf0b2(0x1ec)](),this['_clearHeartbeatTimer']();}[_0xebfca7(0x350)](){var _0x489ce3=_0xebfca7,_0x2da09c;this[_0x489ce3(0x1f6)](),this['_retryCount']<((_0x2da09c=this['_configService'][_0x489ce3(0x1d5)](Pn))!=null?_0x2da09c:wn)?(this[_0x489ce3(0x16d)]['emitEvent']({'id':se[_0x489ce3(0x1b8)]}),this['_tryReconnect']()):this[_0x489ce3(0x16d)]['emitEvent']({'id':se['SOCKET_FAILED']});}[_0xebfca7(0x345)](){var _0xeb9227=_0xebfca7,_0x4dfd5c;const _0x403697=this[_0xeb9227(0x2e2)],_0x1f4631=this[_0xeb9227(0x234)]['getConfig'](q),_0x5c169a=_0x403697===0x0?0x0:((_0x4dfd5c=_0x1f4631==null?void 0x0:_0x1f4631[_0xeb9227(0x335)])!=null?_0x4dfd5c:Dn)*0x2**_0x403697;this[_0xeb9227(0x312)]=setTimeout(()=>{var _0x1b3752=_0xeb9227;clearTimeout(this[_0x1b3752(0x312)]),this[_0x1b3752(0x312)]=null,this[_0x1b3752(0x1aa)]();},_0x5c169a),this['_retryCount']+=0x1;}['_onMessage'](_0x260ad9,_0x19e2bd){var _0x146c7d=_0xebfca7;const {cmd:_0x1492ea}=_0x19e2bd;_0x1492ea===F[_0x146c7d(0x1cc)]&&!this[_0x146c7d(0x144)]&&(_0x260ad9['memberID']=_0x19e2bd['data']['memberID'],this[_0x146c7d(0xa5)][_0x146c7d(0x257)](_0x260ad9),this[_0x146c7d(0x302)]['next'](Te[_0x146c7d(0x1f8)]),this[_0x146c7d(0x144)]=!0x0,this[_0x146c7d(0x336)]=null),_0x1492ea===F[_0x146c7d(0x20d)]&&this[_0x146c7d(0x1ec)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0xed4552=_0xebfca7,_0x5f591;this[_0xed4552(0x183)](),this[_0xed4552(0x2d3)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5f591=this[_0xed4552(0x234)][_0xed4552(0x1d5)](yn))!=null?_0x5f591:Nn);}[_0xebfca7(0x286)](){var _0x1263c0=_0xebfca7;this[_0x1263c0(0x132)][_0x1263c0(0x86)]({'cmd':F[_0x1263c0(0x20d)]}),this[_0x1263c0(0x12e)]();}[_0xebfca7(0x12e)](){var _0x4946e8=_0xebfca7,_0x282ced;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x282ced=this[_0x4946e8(0x234)][_0x4946e8(0x1d5)](Si))!=null?_0x282ced:Ei);}['_clearHeartbeatTimer'](){var _0x320686=_0xebfca7;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x320686(0x2d3)]),this['_sendHeartbeatTimer']=null);}[_0xebfca7(0x1ec)](){var _0x5d3734=_0xebfca7;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5d3734(0x12f)]),this['_timeoutTimer']=null);}};function _0x1328(_0x3e6408,_0xb15ffc){var _0x21100f=_0x2110();return _0x1328=function(_0x132875,_0xa254f8){_0x132875=_0x132875-0x86;var _0x1c3649=_0x21100f[_0x132875];return _0x1c3649;},_0x1328(_0x3e6408,_0xb15ffc);}Le=er([ge(0x0,_0x350f87(_0x3e288c)),ge(0x1,_0x39281b),ge(0x2,_0x3e9aa3),ge(0x3,Ci),ge(0x4,_0x350f87(_0x2db2ac)),ge(0x5,_0x350f87(pe)),ge(0x6,_0x461ea6(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x222f91,_0x21f2e1=0x0){var _0x5a12d0=_0xebfca7;return(V[_0x222f91[_0x21f2e1+0x0]]+V[_0x222f91[_0x21f2e1+0x1]]+V[_0x222f91[_0x21f2e1+0x2]]+V[_0x222f91[_0x21f2e1+0x3]]+'-'+V[_0x222f91[_0x21f2e1+0x4]]+V[_0x222f91[_0x21f2e1+0x5]]+'-'+V[_0x222f91[_0x21f2e1+0x6]]+V[_0x222f91[_0x21f2e1+0x7]]+'-'+V[_0x222f91[_0x21f2e1+0x8]]+V[_0x222f91[_0x21f2e1+0x9]]+'-'+V[_0x222f91[_0x21f2e1+0xa]]+V[_0x222f91[_0x21f2e1+0xb]]+V[_0x222f91[_0x21f2e1+0xc]]+V[_0x222f91[_0x21f2e1+0xd]]+V[_0x222f91[_0x21f2e1+0xe]]+V[_0x222f91[_0x21f2e1+0xf]])[_0x5a12d0(0x369)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x560e2a=_0xebfca7;if(!ut){if(typeof crypto>'u'||!crypto[_0x560e2a(0xcf)])throw new Error(_0x560e2a(0x367));ut=crypto[_0x560e2a(0xcf)]['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0xebfca7(0xf6)]&&crypto['randomUUID'][_0xebfca7(0x33a)](crypto),qt={'randomUUID':rr};function sr(_0x4103d5,_0x1972c4,_0x73c962){var _0x58fe45=_0xebfca7,_0x5e8383,_0x5bc507,_0xa9a9e1;if(qt['randomUUID']&&!_0x4103d5)return qt['randomUUID']();_0x4103d5=_0x4103d5||{};const _0x344644=(_0xa9a9e1=(_0x5bc507=_0x4103d5['random'])!=null?_0x5bc507:(_0x5e8383=_0x4103d5['rng'])==null?void 0x0:_0x5e8383[_0x58fe45(0x1da)](_0x4103d5))!=null?_0xa9a9e1:nr();if(_0x344644[_0x58fe45(0x124)]<0x10)throw new Error(_0x58fe45(0x309));return _0x344644[0x6]=_0x344644[0x6]&0xf|0x40,_0x344644[0x8]=_0x344644[0x8]&0x3f|0x80,tr(_0x344644);}const J=_0x413e5f(_0xebfca7(0x24c));function so(_0x15821c){var _0x57c548=_0xebfca7;return _0x57c548(0x2fb)+_0x15821c;}var or=Object[_0xebfca7(0xda)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x30d8e6,_0x1658dd,_0x4d300f,_0x466e4e)=>{for(var _0x1c549a=_0x466e4e>0x1?void 0x0:_0x466e4e?ar(_0x1658dd,_0x4d300f):_0x1658dd,_0x2e8489=_0x30d8e6['length']-0x1,_0x26db78;_0x2e8489>=0x0;_0x2e8489--)(_0x26db78=_0x30d8e6[_0x2e8489])&&(_0x1c549a=(_0x466e4e?_0x26db78(_0x1658dd,_0x4d300f,_0x1c549a):_0x26db78(_0x1c549a))||_0x1c549a);return _0x466e4e&&_0x1c549a&&or(_0x1658dd,_0x4d300f,_0x1c549a),_0x1c549a;},dt=(_0x2c70ba,_0x1315ff)=>(_0x4f14e2,_0x348969)=>_0x1315ff(_0x4f14e2,_0x348969,_0x2c70ba);function hr(_0x566bcd){var _0x19f054=_0xebfca7;const {unitID:_0x19af99,mutations:_0x3db87d}=_0x566bcd;return{'unitId':_0x19af99,'subUnitId':_0x3db87d[0x0][_0x19f054(0x17a)]['subUnitId']};}let it=class{constructor(_0x511bd9,_0x1eb7f2,_0x5874de){var _0x42a609=_0xebfca7;this[_0x42a609(0x1c6)]=_0x511bd9,this[_0x42a609(0x111)]=_0x1eb7f2,this['_instanceService']=_0x5874de;}[_0xebfca7(0x24a)](_0x529070){var _0xa03a64=_0xebfca7,_0x27b2f8,_0x731ba5,_0x35c168,_0x42d4c1;const _0x2ba01c=this['_injector'][_0xa03a64(0x308)](_0x4c18a8),{unitId:_0x11a30a,subUnitId:_0x34d327}=hr(_0x529070),_0x2e18a9=_0x2ba01c==null?void 0x0:_0x2ba01c[_0xa03a64(0xde)](_0x11a30a)[_0xa03a64(0x206)](),_0x49574a=(_0x731ba5=(_0x27b2f8=this[_0xa03a64(0x202)][_0xa03a64(0x20b)](_0x11a30a))==null?void 0x0:_0x27b2f8[_0xa03a64(0x246)]())==null?void 0x0:_0x731ba5[_0xa03a64(0xf3)]();if(_0x2e18a9[_0xa03a64(0x124)]===0x0||!_0x11a30a||!_0x34d327)return;const _0x5c88ee=[{'id':_0x5b7620['id'],'params':{'unitId':_0x11a30a,'subUnitId':_0x49574a,'selections':_0x4ce8aa[_0xa03a64(0x25d)](_0x2e18a9)}}],_0x3c24a8=this[_0xa03a64(0x111)][_0xa03a64(0x128)](_0x529070,_0x5c88ee);if(!_0x27b7b3(_0x3c24a8))throw _0x3c24a8[_0xa03a64(0x2f8)];const _0x2e1805=(_0x42d4c1=(_0x35c168=_0x3c24a8[_0xa03a64(0x343)][0x0])==null?void 0x0:_0x35c168[_0xa03a64(0x17a)])==null?void 0x0:_0x42d4c1[_0xa03a64(0x1a1)];if(Array[_0xa03a64(0x1db)](_0x2e1805)&&_0x2e1805['length']){if(_0x2e1805['length']===_0x5c88ee[0x0][_0xa03a64(0x17a)]['selections'][_0xa03a64(0x124)]&&_0x2e1805[_0xa03a64(0x366)]((_0x1080f9,_0x502bec)=>_0x18715e[_0xa03a64(0x13e)](_0x1080f9[_0xa03a64(0x1b1)],_0x5c88ee[0x0][_0xa03a64(0x17a)][_0xa03a64(0x1a1)][_0x502bec][_0xa03a64(0x1b1)])))return;this[_0xa03a64(0x1c6)][_0xa03a64(0x308)](_0x5f3828)[_0xa03a64(0x114)](_0x5b7620['id'],{'unitId':_0x11a30a,'subUnitId':_0x49574a,'selections':_0x2e1805});}}};it=cr([dt(0x0,_0x350f87(_0x3e288c)),dt(0x1,_0x248c0d),dt(0x2,_0x47607b)],it);const ht=_0x413e5f(_0xebfca7(0x90));var bi=(_0x5a07bb=>(_0x5a07bb[_0x5a07bb[_0xebfca7(0x2e8)]=0x0]=_0xebfca7(0x2e8),_0x5a07bb[_0x5a07bb[_0xebfca7(0xdd)]=0x1]=_0xebfca7(0xdd),_0x5a07bb))(bi||{});const _r=new Set([_0x1abf14['id']]);function zt(_0xe6bd55,_0x484bb6,_0x5e38af,_0x3d175a,_0x462c8f){var _0x34d3eb=_0xebfca7,_0x13f57c,_0x506a15,_0x26f086,_0x2f4b05;const _0x461495=[];for(const _0x486f20 of _0xe6bd55)if(_r[_0x34d3eb(0x26a)](_0x486f20['id'])){if(_0x461495['length']>0x0)break;_0x461495[_0x34d3eb(0xca)](_0x486f20);break;}else _0x461495[_0x34d3eb(0xca)](_0x486f20);const _0x43765a=(_0x506a15=(_0x13f57c=_0x462c8f[_0x34d3eb(0xba)]())==null?void 0x0:_0x13f57c[_0x34d3eb(0x28e)])!=null?_0x506a15:_0x34d3eb(0x1ef),_0xb6b75a=(_0x2f4b05=(_0x26f086=_0x462c8f[_0x34d3eb(0xba)]())==null?void 0x0:_0x26f086['memberID'])!=null?_0x2f4b05:_0x34d3eb(0x1ef);return{'changeset':{'unitID':_0x484bb6,'type':_0x5aa935(_0x5e38af[_0x34d3eb(0x1d2)](_0x484bb6)),'baseRev':_0x3d175a[_0x34d3eb(0x254)](_0x484bb6),'revision':0x0,'userID':_0x43765a,'memberID':_0xb6b75a,'mutations':_0x461495},'pendingMutations':_0xe6bd55[_0x34d3eb(0x164)](_0x461495[_0x34d3eb(0x124)])};}function lr(_0x1e1ad1,_0x158061,_0x396497,_0x4358f1,_0x55d957){var _0x529392=_0xebfca7,_0x2ede2b,_0x4b9716,_0x38e782,_0x405f8c;const _0xd8582c=[_0x1e1ad1[_0x529392(0x130)]((_0x2d49a3,_0x24076f)=>{var _0x26af3b=_0x529392,_0x14e9e3;const {id:_0x4d99fd}=_0x2d49a3,{id:_0x75697e,type:_0x521b9d}=_0x24076f,_0x2b4307=(_0x14e9e3=_0x2d49a3[_0x26af3b(0x17a)])!=null?_0x14e9e3:{'actions':null},_0x1e5a8d=_0x24076f['params'];if(_0x4d99fd&&_0x4d99fd!==_0x75697e)throw new Error(_0x26af3b(0x376)+_0x4d99fd+_0x26af3b(0x228)+_0x75697e+'.');return{..._0x2d49a3,'id':_0x75697e,'type':_0x521b9d,'params':{'unitId':_0x1e5a8d[_0x26af3b(0x34d)],'textRanges':_0x1e5a8d[_0x26af3b(0x2cb)],'actions':_0x2196a1[_0x26af3b(0x2c4)](_0x2b4307[_0x26af3b(0x27a)],_0x1e5a8d['actions'])}};},{})],_0x2ca357=(_0x4b9716=(_0x2ede2b=_0x55d957['getCurrentUser']())==null?void 0x0:_0x2ede2b['userID'])!=null?_0x4b9716:'unknown',_0x18b2c5=(_0x405f8c=(_0x38e782=_0x55d957[_0x529392(0xba)]())==null?void 0x0:_0x38e782[_0x529392(0x18e)])!=null?_0x405f8c:'unknown';return{'changeset':{'unitID':_0x158061,'type':_0x5aa935(_0x396497[_0x529392(0x1d2)](_0x158061)),'baseRev':_0x4358f1[_0x529392(0x254)](_0x158061),'revision':0x0,'userID':_0x2ca357,'memberID':_0x18b2c5,'mutations':_0xd8582c},'pendingMutations':[]};}function Oi(_0x39af8d,_0x500e11){var _0x5e2649=_0xebfca7;const _0x54cf8f=new _0x25d760(0x1);return setTimeout(()=>_0x54cf8f[_0x5e2649(0x257)](_0x500e11),_0x39af8d),_0x54cf8f['asObservable']()[_0x5e2649(0x324)](_0x12ef5d(0x1));}const ur={'id':_0x50309e['id'],'type':_0x20e9e2[_0xebfca7(0x2dd)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0xebfca7(0x298)],Re=(_0xf62df5,_0x249d80,_0x29b613,_0x3ddd92)=>{var _0x46fa52=_0xebfca7;for(var _0x20d490=_0x3ddd92>0x1?void 0x0:_0x3ddd92?fr(_0x249d80,_0x29b613):_0x249d80,_0x2fb09b=_0xf62df5[_0x46fa52(0x124)]-0x1,_0x1c0b2c;_0x2fb09b>=0x0;_0x2fb09b--)(_0x1c0b2c=_0xf62df5[_0x2fb09b])&&(_0x20d490=(_0x3ddd92?_0x1c0b2c(_0x249d80,_0x29b613,_0x20d490):_0x1c0b2c(_0x20d490))||_0x20d490);return _0x3ddd92&&_0x20d490&&dr(_0x249d80,_0x29b613,_0x20d490),_0x20d490;},A=(_0x1171d4,_0x1a7b4e)=>(_0x19c02a,_0x1ffbbf)=>_0x1a7b4e(_0x19c02a,_0x1ffbbf,_0x1171d4),yi=(_0x2cfd09=>(_0x2cfd09[_0xebfca7(0x292)]=_0xebfca7(0x222),_0x2cfd09[_0xebfca7(0x163)]='synced',_0x2cfd09[_0xebfca7(0x36d)]='pending',_0x2cfd09[_0xebfca7(0x127)]=_0xebfca7(0xb0),_0x2cfd09['AWAITING_WITH_PENDING']=_0xebfca7(0x269),_0x2cfd09[_0xebfca7(0x342)]=_0xebfca7(0x274),_0x2cfd09[_0xebfca7(0x27b)]=_0xebfca7(0x139),_0x2cfd09[_0xebfca7(0x349)]=_0xebfca7(0x304),_0x2cfd09))(yi||{});const Ni=0xea60;class be{constructor(_0xcea0f5,_0x51aa84,_0x814854,_0x11dae4,_0x12f2e4,_0x28787f,_0x4e58fe,_0x313556,_0x3fc219){var _0x2936bf=_0xebfca7;N(this,_0x2936bf(0x1e2),null),N(this,_0x2936bf(0x271),[]),(this[_0x2936bf(0x37e)]=_0xcea0f5,this[_0x2936bf(0xdb)]=_0x51aa84,this['_handler']=_0x12f2e4,this[_0x2936bf(0x314)]=_0x28787f,this[_0x2936bf(0xfc)]=_0x4e58fe,this[_0x2936bf(0x205)]=_0x313556,this['_localCacheService']=_0x3fc219,this['_awaitingChangeset']=_0x814854,this[_0x2936bf(0x271)]=_0x11dae4);}['_checkMissing'](_0x5528f7){var _0x3abcb7=_0xebfca7;const _0x42cf1d=this['_revisionService'][_0x3abcb7(0x254)](this[_0x3abcb7(0x37e)]);return _0x5528f7['revision']>_0x42cf1d+0x1?(this[_0x3abcb7(0x2e4)][_0x3abcb7(0x112)]({'from':_0x42cf1d,'to':_0x5528f7[_0x3abcb7(0x193)]-0x1}),!0x0):!0x1;}[_0xebfca7(0xb5)](_0x2ceaf1){var _0x428309=_0xebfca7;this['_undoRedoService'][_0x428309(0x2af)](this[_0x428309(0x37e)],_0x2ceaf1);}[_0xebfca7(0xa1)](_0x526087){var _0x41ba83=_0xebfca7,_0x1d4dbb,_0x148df1;(_0x148df1=(_0x1d4dbb=this[_0x41ba83(0x2e4)])[_0x41ba83(0x1d1)])==null||_0x148df1['call'](_0x1d4dbb,_0x526087);}[_0xebfca7(0x281)](_0x3f61fd){var _0x37c707=_0xebfca7,_0x1b8738,_0x4c1507;return(_0x4c1507=(_0x1b8738=this[_0x37c707(0x2e4)])[_0x37c707(0x2d1)])==null?void 0x0:_0x4c1507[_0x37c707(0x1da)](_0x1b8738,_0x3f61fd);}[_0xebfca7(0xaf)](_0x2cd353){var _0x34e40f=_0xebfca7,_0x3e2809,_0x252d1d;return(_0x252d1d=(_0x3e2809=this[_0x34e40f(0x2e4)])['onTransformState'])==null?void 0x0:_0x252d1d[_0x34e40f(0x1da)](_0x3e2809,_0x2cd353);}[_0xebfca7(0xc5)](_0x24343d){var _0xc8c3fb=_0xebfca7,_0x1c2c71,_0x3d6337,_0x51cb21;return(_0x51cb21=(_0x3d6337=(_0x1c2c71=this['_handler'])[_0xc8c3fb(0x2b2)])==null?void 0x0:_0x3d6337[_0xc8c3fb(0x1da)](_0x1c2c71,_0x24343d))!=null?_0x51cb21:_0x24343d;}['_transformRemoteChangesetByStateCache'](_0x2c6cca){var _0x57d6d5=_0xebfca7,_0x281d33,_0x2ab448,_0x526906;return(_0x526906=(_0x2ab448=(_0x281d33=this[_0x57d6d5(0x2e4)])[_0x57d6d5(0x2e9)])==null?void 0x0:_0x2ab448[_0x57d6d5(0x1da)](_0x281d33,_0x2c6cca))!=null?_0x526906:_0x2c6cca;}[_0xebfca7(0x352)](_0x94e252){var _0xdd7f25=_0xebfca7,_0x34a664,_0x21720a;if(this[_0xdd7f25(0xdb)]===Q[_0xdd7f25(0x22d)]){const {unitID:_0x8d1f38,mutations:_0x2312c8,memberID:_0x315a57}=_0x94e252,_0x4835c9=_0x2312c8[0x0][_0xdd7f25(0x17a)][_0xdd7f25(0x2cb)];Array[_0xdd7f25(0x1db)](_0x4835c9)&&_0x4835c9[_0xdd7f25(0x124)]>0x0&&((_0x21720a=(_0x34a664=this[_0xdd7f25(0x2e4)])[_0xdd7f25(0x2b6)])==null||_0x21720a[_0xdd7f25(0x1da)](_0x34a664,{'unitID':_0x8d1f38,'memberID':_0x315a57,'textRanges':_0x4835c9}));}}[_0xebfca7(0xe3)](){var _0x3cab8b=_0xebfca7,_0x2f6103;(_0x2f6103=this['_localCacheService'])==null||_0x2f6103[_0x3cab8b(0xd5)](this[_0x3cab8b(0x37e)],this[_0x3cab8b(0xdb)],this[_0x3cab8b(0x1e2)],this[_0x3cab8b(0x271)]);}[_0xebfca7(0x1c7)](){var _0x1da251=_0xebfca7;return this['_revisionService'][_0x1da251(0x254)](this['unitID']);}[_0xebfca7(0x2de)](){var _0x5b43bd=_0xebfca7;this[_0x5b43bd(0x205)][_0x5b43bd(0x174)](this[_0x5b43bd(0x37e)]);}[_0xebfca7(0x323)](_0x2e77ca){var _0x5f5bfe=_0xebfca7,_0xec6e8b;let _0x26c0b9=this[_0x5f5bfe(0xc5)](_0x2e77ca);_0x26c0b9=this[_0x5f5bfe(0x253)](_0x26c0b9);const _0x47cfa7=_0xeae2cc(_0x26c0b9[_0x5f5bfe(0x148)],this[_0x5f5bfe(0x314)],{'fromCollab':!0x0});if(!_0x47cfa7[_0x5f5bfe(0x2aa)])throw _0x47cfa7[_0x5f5bfe(0x2f8)]instanceof Error?_0x47cfa7[_0x5f5bfe(0x2f8)]:new Error((_0xec6e8b=_0x47cfa7[_0x5f5bfe(0x2f8)])!=null?_0xec6e8b:_0x5f5bfe(0x2fc));this[_0x5f5bfe(0x281)](_0x26c0b9),this[_0x5f5bfe(0xaf)](_0x26c0b9),this[_0x5f5bfe(0xb5)](_0x2e77ca),this[_0x5f5bfe(0xa1)](_0x26c0b9),this[_0x5f5bfe(0x352)](_0x26c0b9),this[_0x5f5bfe(0x2de)]();}}let De=class extends be{constructor(_0x32a7b5,_0x51aafe,_0x5e0726,_0x4d0c13,_0x519df6,_0x4c31ae,_0xdd3bac,_0x40719e,_0xc459ed,_0x4d8ed9){var _0x2bbf9d=_0xebfca7;super(_0x32a7b5,_0x51aafe,null,[],_0x5e0726,_0xdd3bac,_0x4c31ae,_0x4d0c13,_0x4d8ed9),N(this,_0x2bbf9d(0x129),_0x2bbf9d(0x29e)),(this[_0x2bbf9d(0x1c6)]=_0x519df6,this['_logService']=_0x40719e,this[_0x2bbf9d(0x111)]=_0xc459ed,this[_0x2bbf9d(0x284)]=_0x4d8ed9);}['appendMutation'](_0xe62c3f){var _0x273cf5=_0xebfca7;const _0x3f280d=this['_injector'][_0x273cf5(0x28a)](oe,this[_0x273cf5(0x37e)],this[_0x273cf5(0xdb)],[_0xe62c3f],this[_0x273cf5(0x2e4)]);return _0x3f280d[_0x273cf5(0xf4)](),_0x3f280d[_0x273cf5(0xe3)](),_0x3f280d;}[_0xebfca7(0x2cc)](_0x1df37d){var _0x260d67=_0xebfca7;if(this[_0x260d67(0x1d7)](_0x1df37d))return this[_0x260d67(0x1c6)][_0x260d67(0x28a)](te,this[_0x260d67(0x37e)],this[_0x260d67(0xdb)],null,[],null,[_0x1df37d],this['_handler']);try{const _0x294e4b=this[_0x260d67(0x111)]['transformMutationsWithChangeset'](_0x1df37d,[ur]);if(_0x27b7b3(_0x294e4b)){const {c1Prime:_0x526038}=_0x294e4b;return this['_executeRemoteChangeset'](_0x526038),this;}throw _0x294e4b['error'];}catch(_0x179592){return this[_0x260d67(0x240)][_0x260d67(0x2f8)](_0x179592),this[_0x260d67(0x167)](!0x1);}}[_0xebfca7(0x167)](_0x36649e){var _0x27871d=_0xebfca7;return this[_0x27871d(0x1c6)][_0x27871d(0x28a)](de,this[_0x27871d(0x37e)],this[_0x27871d(0xdb)],null,[],this[_0x27871d(0x2e4)],_0x36649e);}[_0xebfca7(0x1c9)](){var _0x4f13a5=_0xebfca7;throw new Error(_0x4f13a5(0x178));}[_0xebfca7(0x138)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x327899=_0xebfca7;return this['_injector'][_0x327899(0x28a)](fe,this['unitID'],this['type'],null,[],this[_0x327899(0x2e4)]);}[_0xebfca7(0x285)](){return this;}[_0xebfca7(0x337)](){var _0x367630=_0xebfca7;throw new Error(_0x367630(0x261));}[_0xebfca7(0x2f1)](){var _0x699b52=_0xebfca7;const _0x306b3e=this[_0x699b52(0x205)]['getCurrentRevOfUnit'](this[_0x699b52(0x37e)]);return this[_0x699b52(0x2e4)]['onMissingChangesets']({'from':_0x306b3e,'to':0x0}),this['_injector']['createInstance'](te,this[_0x699b52(0x37e)],this[_0x699b52(0xdb)],null,[],null,[],this[_0x699b52(0x2e4)]);}};De=Re([A(0x3,_0x350f87(_0x1f62a4)),A(0x4,_0x350f87(_0x3e288c)),A(0x5,_0x4f45a5),A(0x6,_0x5f3828),A(0x7,_0x39281b),A(0x8,_0x248c0d),A(0x9,_0x461ea6(J))],De);let oe=class extends be{constructor(_0x40256b,_0x8a4fdd,_0x180097,_0x212861,_0x45a508,_0x12a65a,_0x2579a0,_0x43d882,_0x4458f1,_0x49826f,_0x44ec84,_0x2acdda,_0x4f82d8,_0x2ce165){var _0x4bef87=_0xebfca7;super(_0x40256b,_0x8a4fdd,null,_0x180097,_0x212861,_0x4458f1,_0x4f82d8,_0x12a65a,_0x2ce165),N(this,_0x4bef87(0x129),_0x4bef87(0x331)),N(this,_0x4bef87(0x119),null),N(this,_0x4bef87(0x258),null),(this[_0x4bef87(0x1c6)]=_0x45a508,this[_0x4bef87(0x373)]=_0x2579a0,this[_0x4bef87(0x240)]=_0x43d882,this[_0x4bef87(0x234)]=_0x49826f,this[_0x4bef87(0x111)]=_0x44ec84,this[_0x4bef87(0x173)]=_0x2acdda);}[_0xebfca7(0x214)](_0x40079a){var _0x4676b7=_0xebfca7;return this[_0x4676b7(0x271)][_0x4676b7(0xca)](_0x40079a),this[_0x4676b7(0xe3)](),this;}[_0xebfca7(0x2cc)](_0x3eefa0){var _0x3add4e=_0xebfca7;if(this[_0x3add4e(0x1d7)](_0x3eefa0))return this[_0x3add4e(0x25a)](),this[_0x3add4e(0x1c6)][_0x3add4e(0x28a)](te,this[_0x3add4e(0x37e)],this[_0x3add4e(0xdb)],null,this['_pendingMutations'],null,[_0x3eefa0],this[_0x3add4e(0x2e4)]);try{const _0x35ffa8=this[_0x3add4e(0x111)][_0x3add4e(0x128)](_0x3eefa0,this[_0x3add4e(0x271)]);if(_0x27b7b3(_0x35ffa8)){const {c1Prime:_0x420f0d,m2Prime:_0x132f2f}=_0x35ffa8;this[_0x3add4e(0x323)](_0x420f0d);const _0x3d842f=this[_0x3add4e(0x1c6)][_0x3add4e(0x28a)](oe,this['unitID'],this[_0x3add4e(0xdb)],_0x132f2f,this[_0x3add4e(0x2e4)]);this[_0x3add4e(0x25a)]();const _0xd3cf3d=new Date()[_0x3add4e(0x355)](),_0x23102d=this[_0x3add4e(0x119)]?Math[_0x3add4e(0x320)](this[_0x3add4e(0x119)]-_0xd3cf3d,0x0):this[_0x3add4e(0x354)]();return _0x3d842f[_0x3add4e(0xf4)](_0x23102d),_0x3d842f;}throw _0x35ffa8[_0x3add4e(0x2f8)];}catch(_0x4cef37){return this[_0x3add4e(0x240)]['error'](_0x4cef37),this['_onConflict'](!0x1);}}[_0xebfca7(0x1c9)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xebfca7(0x138)](){var _0x523fb3=_0xebfca7;throw new Error(_0x523fb3(0x131));}[_0xebfca7(0x1dd)](){return this;}[_0xebfca7(0x1eb)](){var _0x42ceda=_0xebfca7;return this[_0x42ceda(0x25a)](),this[_0x42ceda(0x1c6)][_0x42ceda(0x28a)](fe,this[_0x42ceda(0x37e)],this[_0x42ceda(0xdb)],null,this[_0x42ceda(0x271)],this[_0x42ceda(0x2e4)]);}[_0xebfca7(0x285)](){return this;}['_schedule'](_0x3de733){var _0x3b4c7e=_0xebfca7;const _0x3751ce=_0x3de733!=null?_0x3de733:this['_getSendChangesetTimeout']();this[_0x3b4c7e(0x119)]=new Date()[_0x3b4c7e(0x355)]()+_0x3751ce,this[_0x3b4c7e(0x258)]=setTimeout(()=>{var _0x1e21f5=_0x3b4c7e;this[_0x1e21f5(0x25a)]();let _0x3dbf05=null;switch(this['type']){case Q[_0x1e21f5(0x18a)]:{_0x3dbf05=zt(this[_0x1e21f5(0x271)],this[_0x1e21f5(0x37e)],this[_0x1e21f5(0x173)],this[_0x1e21f5(0x205)],this[_0x1e21f5(0x373)]);break;}case Q[_0x1e21f5(0x22d)]:{this[_0x1e21f5(0x271)]['every'](_0x4789d9=>_0x4789d9['id']===_0x4b16a2['id'])?_0x3dbf05=lr(this[_0x1e21f5(0x271)],this[_0x1e21f5(0x37e)],this['_univerInstanceService'],this[_0x1e21f5(0x205)],this['_memberService']):_0x3dbf05=zt(this[_0x1e21f5(0x271)],this[_0x1e21f5(0x37e)],this['_univerInstanceService'],this[_0x1e21f5(0x205)],this['_memberService']);break;}default:throw new Error(_0x1e21f5(0x12c)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1dec7b,pendingMutations:_0x3e9338}=_0x3dbf05;this[_0x1e21f5(0x2e4)][_0x1e21f5(0x36b)](_0x1dec7b);const _0x49771a=_0x3e9338[_0x1e21f5(0x124)]?this[_0x1e21f5(0x1c6)][_0x1e21f5(0x28a)](ae,this[_0x1e21f5(0x37e)],this[_0x1e21f5(0xdb)],_0x1dec7b,_0x3e9338,this['_handler'],void 0x0):this[_0x1e21f5(0x1c6)]['createInstance'](ue,this[_0x1e21f5(0x37e)],this[_0x1e21f5(0xdb)],_0x1dec7b,this[_0x1e21f5(0x2e4)]);_0x49771a['_updateLocalCache'](),this[_0x1e21f5(0x2e4)][_0x1e21f5(0x33e)](this,_0x49771a);},_0x3751ce);}[_0xebfca7(0x354)](){var _0x2262d8=_0xebfca7,_0x224444;const _0x5a52d9=this[_0x2262d8(0x234)][_0x2262d8(0x1d5)](q);return(_0x224444=_0x5a52d9==null?void 0x0:_0x5a52d9[_0x2262d8(0x2c0)])!=null?_0x224444:Cn;}[_0xebfca7(0x337)](){var _0x350c2a=_0xebfca7;throw new Error(_0x350c2a(0x263));}[_0xebfca7(0x25a)](){var _0x4722b8=_0xebfca7;this[_0x4722b8(0x258)]!=null&&(clearTimeout(this[_0x4722b8(0x258)]),this[_0x4722b8(0x258)]=null);}[_0xebfca7(0x167)](_0x258057){var _0x259e7f=_0xebfca7;return this[_0x259e7f(0x25a)](),this['_injector']['createInstance'](de,this[_0x259e7f(0x37e)],this[_0x259e7f(0xdb)],null,this['_pendingMutations'],this[_0x259e7f(0x2e4)],_0x258057);}};oe=Re([A(0x4,_0x350f87(_0x3e288c)),A(0x5,_0x350f87(_0x1f62a4)),A(0x6,_0x350f87(xe)),A(0x7,_0x39281b),A(0x8,_0x5f3828),A(0x9,_0x3e9aa3),A(0xa,_0x248c0d),A(0xb,_0x47607b),A(0xc,_0x4f45a5),A(0xd,_0x461ea6(J))],oe);let ue=class extends be{constructor(_0x243c6b,_0x93fa64,_0x5c7ebf,_0x33036a,_0x1620b0,_0x484eef,_0x341248,_0x1b3049,_0x21a144,_0x204ccd,_0x2ee495){var _0x4681df=_0xebfca7;super(_0x243c6b,_0x93fa64,_0x5c7ebf,[],_0x33036a,_0x341248,_0x204ccd,_0x484eef,_0x2ee495),N(this,_0x4681df(0x129),_0x4681df(0xb0)),N(this,_0x4681df(0x341),0x0),N(this,_0x4681df(0x1ee)),N(this,_0x4681df(0x37a)),(this[_0x4681df(0x1c6)]=_0x1620b0,this[_0x4681df(0x240)]=_0x1b3049,this[_0x4681df(0x111)]=_0x21a144);}[_0xebfca7(0x214)](_0x30c1a6){var _0x34d0d8=_0xebfca7;this[_0x34d0d8(0x25a)]();const _0x2e280b=this[_0x34d0d8(0x1c6)][_0x34d0d8(0x28a)](ae,this[_0x34d0d8(0x37e)],this[_0x34d0d8(0xdb)],this[_0x34d0d8(0x1e2)],[_0x30c1a6],this[_0x34d0d8(0x2e4)],this[_0x34d0d8(0x1ee)]);return _0x2e280b[_0x34d0d8(0xe3)](),_0x2e280b;}['onRemoteChangeset'](_0x308415){var _0x1439de=_0xebfca7;if(this[_0x1439de(0x1d7)](_0x308415))return this[_0x1439de(0x25a)](),this['_injector']['createInstance'](te,this[_0x1439de(0x37e)],this[_0x1439de(0xdb)],this[_0x1439de(0x1e2)],[],null,[_0x308415],this[_0x1439de(0x2e4)]);try{const _0x59f4db=this[_0x1439de(0x111)][_0x1439de(0x31c)]([_0x308415],[this[_0x1439de(0x1e2)]],!0x1);if(_0x544e79(_0x59f4db)){const {c1Prime:_0x52cda7,c2Prime:_0x246d3f}=_0x59f4db;this['_executeRemoteChangeset'](_0x52cda7[0x0]),_0x246d3f[0x0][_0x1439de(0x1b6)]=this[_0x1439de(0x1c7)](),this['_clearScheduledTask']();const _0x5e37cc=this[_0x1439de(0x1c6)][_0x1439de(0x28a)](ue,this[_0x1439de(0x37e)],this[_0x1439de(0xdb)],_0x246d3f[0x0],this['_handler']);return _0x5e37cc[_0x1439de(0xe3)](),_0x5e37cc;}return this['_onConflict'](!0x1);}catch(_0x49d649){return this[_0x1439de(0x240)]['error'](_0x49d649),this['_onConflict'](!0x1);}}[_0xebfca7(0x1c9)](_0x53143e){var _0x3b9b74=_0xebfca7;this[_0x3b9b74(0x25a)]();const _0x247a17=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3b9b74(0x37e)]);if(_0x53143e[_0x3b9b74(0x193)]<_0x247a17-0x1)return this;if(this[_0x3b9b74(0x1d7)](_0x53143e))return this['_injector'][_0x3b9b74(0x28a)](te,this[_0x3b9b74(0x37e)],this[_0x3b9b74(0xdb)],null,[],this[_0x3b9b74(0x1e2)],[],this[_0x3b9b74(0x2e4)]);this[_0x3b9b74(0x2de)]();const _0x7d12bb=this[_0x3b9b74(0x1c6)][_0x3b9b74(0x28a)](De,this[_0x3b9b74(0x37e)],this[_0x3b9b74(0xdb)],this['_handler']);return _0x7d12bb[_0x3b9b74(0xe3)](),_0x7d12bb;}[_0xebfca7(0x138)](_0x2fbf0a){var _0x12450f=_0xebfca7;return this[_0x12450f(0x167)](!!(_0x2fbf0a!=null&&_0x2fbf0a[_0x12450f(0x19f)]));}['onRemoteRetry'](_0x593e57){var _0x1cb3ec=_0xebfca7;return this[_0x1cb3ec(0x341)]>Ni?this[_0x1cb3ec(0x1eb)]():(this[_0x1cb3ec(0x1ee)]=Oi(this[_0x1cb3ec(0x341)],{'timeout':this[_0x1cb3ec(0x341)],'reqId':_0x593e57['reqId']}),this[_0x1cb3ec(0x37a)]=this['_resendTimer'][_0x1cb3ec(0x154)](({reqId:_0x20678f,timeout:_0x255086})=>{var _0x5cec23=_0x1cb3ec;this[_0x5cec23(0x208)](_0x20678f,_0x255086);}),this);}[_0xebfca7(0x1eb)](){var _0x9df9c8=_0xebfca7;return this[_0x9df9c8(0x25a)](),this[_0x9df9c8(0x1c6)][_0x9df9c8(0x28a)](fe,this[_0x9df9c8(0x37e)],this[_0x9df9c8(0xdb)],this[_0x9df9c8(0x1e2)],[],this[_0x9df9c8(0x2e4)]);}['toggleOnline'](){return this;}['resend'](){var _0x17ce27=_0xebfca7;this['_handler'][_0x17ce27(0x36b)](this['_awaitingChangeset']);}[_0xebfca7(0x167)](_0x2effe8){var _0x37dd54=_0xebfca7;return this[_0x37dd54(0x25a)](),this['_injector'][_0x37dd54(0x28a)](de,this[_0x37dd54(0x37e)],this[_0x37dd54(0xdb)],this[_0x37dd54(0x1e2)],[],this[_0x37dd54(0x2e4)],_0x2effe8);}[_0xebfca7(0x208)](_0x4d0143,_0x4290f2){var _0xb8817=_0xebfca7,_0x24d745;_0x4d0143===((_0x24d745=this['_awaitingChangeset'])==null?void 0x0:_0x24d745[_0xb8817(0x353)])&&(this[_0xb8817(0x337)](),this['_resendTimeout']=_0x4290f2===0x0?0x3e8:_0x4290f2*0x2);}[_0xebfca7(0x25a)](){var _0x2c0f1c=_0xebfca7,_0x45bdc7;(_0x45bdc7=this[_0x2c0f1c(0x37a)])==null||_0x45bdc7[_0x2c0f1c(0x347)](),this[_0x2c0f1c(0x341)]=0x0;}};ue=Re([A(0x4,_0x350f87(_0x3e288c)),A(0x5,_0x350f87(_0x1f62a4)),A(0x6,_0x5f3828),A(0x7,_0x39281b),A(0x8,_0x248c0d),A(0x9,_0x4f45a5),A(0xa,_0x461ea6(J))],ue);let ae=class extends be{constructor(_0x511252,_0x320829,_0xe0c6fd,_0xf5a06,_0x5b226a,_0x1b3d52,_0x297eaa,_0x26b8e2,_0x4ae43e,_0x3f4b38,_0xf23d21,_0xef637e,_0x54cff2){var _0x68397d=_0xebfca7;super(_0x511252,_0x320829,_0xe0c6fd,_0xf5a06,_0x5b226a,_0x4ae43e,_0xef637e,_0x26b8e2,_0x54cff2),N(this,_0x68397d(0x129),_0x68397d(0x269)),N(this,'_resendTimeout',0x0),N(this,_0x68397d(0x1ee)),N(this,_0x68397d(0x37a)),(this[_0x68397d(0x1c6)]=_0x297eaa,this[_0x68397d(0x240)]=_0x3f4b38,this[_0x68397d(0x111)]=_0xf23d21,this[_0x68397d(0x284)]=_0x54cff2,_0x1b3d52&&(this['_resendTimer']=_0x1b3d52,this[_0x68397d(0x37a)]=this[_0x68397d(0x1ee)][_0x68397d(0x154)](({reqId:_0x35d521,timeout:_0x214b4e})=>{var _0xb833a6=_0x68397d;this[_0xb833a6(0x208)](_0x35d521,_0x214b4e);})));}['appendMutation'](_0x3becb3){var _0x169f87=_0xebfca7;return this[_0x169f87(0x271)]['push'](_0x3becb3),this;}[_0xebfca7(0x2cc)](_0x53609b){var _0x4fa274=_0xebfca7;if(this[_0x4fa274(0x1d7)](_0x53609b))return this[_0x4fa274(0x25a)](),this[_0x4fa274(0x1c6)]['createInstance'](te,this[_0x4fa274(0x37e)],this[_0x4fa274(0xdb)],this[_0x4fa274(0x1e2)],this[_0x4fa274(0x271)],null,[_0x53609b],this[_0x4fa274(0x2e4)]);try{const _0x1f41ae=this[_0x4fa274(0x111)][_0x4fa274(0x31c)]([_0x53609b],[this[_0x4fa274(0x1e2)]],!0x1);if(_0x544e79(_0x1f41ae)){const {c1Prime:_0x218686,c2Prime:_0x51bedb}=_0x1f41ae,_0x45a59c=this[_0x4fa274(0x111)][_0x4fa274(0x128)](_0x218686[0x0],this[_0x4fa274(0x271)]);if(_0x27b7b3(_0x45a59c)){const {c1Prime:_0x5c7ec4,m2Prime:_0x3dfb93}=_0x45a59c;return this[_0x4fa274(0x323)](_0x5c7ec4),_0x51bedb[0x0]['baseRev']=this[_0x4fa274(0x1c7)](),this[_0x4fa274(0x25a)](),this[_0x4fa274(0x1c6)][_0x4fa274(0x28a)](ae,this[_0x4fa274(0x37e)],this[_0x4fa274(0xdb)],_0x51bedb[0x0],_0x3dfb93,this[_0x4fa274(0x2e4)],void 0x0);}throw _0x45a59c[_0x4fa274(0x2f8)];}throw _0x1f41ae['error'];}catch(_0x3c4725){return this['_logService']['error'](_0x3c4725),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4a31a0){var _0xa2fc4a=_0xebfca7;if(this[_0xa2fc4a(0x25a)](),this['_checkMissing'](_0x4a31a0))return this[_0xa2fc4a(0x1c6)][_0xa2fc4a(0x28a)](te,this[_0xa2fc4a(0x37e)],this[_0xa2fc4a(0xdb)],null,this[_0xa2fc4a(0x271)],this['_awaitingChangeset'],[],this[_0xa2fc4a(0x2e4)]);this[_0xa2fc4a(0x2de)]();const _0x179274=this['_injector'][_0xa2fc4a(0x28a)](oe,this['unitID'],this[_0xa2fc4a(0xdb)],this['_pendingMutations'],this[_0xa2fc4a(0x2e4)]);return _0x179274['_schedule'](),_0x179274[_0xa2fc4a(0xe3)](),_0x179274;}[_0xebfca7(0x138)](_0x3de661){var _0x3562ad=_0xebfca7;return this['_onConflict'](!!(_0x3de661!=null&&_0x3de661[_0x3562ad(0x19f)]));}['onRemoteRetry'](_0xf5ab82){var _0x38e714=_0xebfca7;return this[_0x38e714(0x341)]>Ni?this[_0x38e714(0x1eb)]():(this[_0x38e714(0x1ee)]=Oi(this[_0x38e714(0x341)],{'timeout':this[_0x38e714(0x341)],'reqId':_0xf5ab82[_0x38e714(0x353)]}),this[_0x38e714(0x37a)]=this[_0x38e714(0x1ee)][_0x38e714(0x154)](({reqId:_0x1dcfcc,timeout:_0x5675c5})=>{var _0x358452=_0x38e714;this[_0x358452(0x208)](_0x1dcfcc,_0x5675c5);}),this);}[_0xebfca7(0x1eb)](){var _0x48c9dd=_0xebfca7;return this[_0x48c9dd(0x25a)](),this['_injector'][_0x48c9dd(0x28a)](fe,this[_0x48c9dd(0x37e)],this[_0x48c9dd(0xdb)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x48c9dd(0x2e4)]);}[_0xebfca7(0x285)](){return this;}[_0xebfca7(0x337)](){var _0x3c9f33=_0xebfca7;this[_0x3c9f33(0x2e4)][_0x3c9f33(0x36b)](this[_0x3c9f33(0x1e2)]);}[_0xebfca7(0x167)](_0x378d2d){var _0x3fad65=_0xebfca7;return this[_0x3fad65(0x25a)](),this[_0x3fad65(0x1c6)]['createInstance'](de,this[_0x3fad65(0x37e)],this[_0x3fad65(0xdb)],null,this[_0x3fad65(0x271)],this[_0x3fad65(0x2e4)],_0x378d2d);}['_resendWithTimeout'](_0x29415f,_0x296b81){var _0x1a3f42=_0xebfca7,_0x2517b9;_0x29415f===((_0x2517b9=this[_0x1a3f42(0x1e2)])==null?void 0x0:_0x2517b9[_0x1a3f42(0x353)])&&(this['resend'](),this[_0x1a3f42(0x341)]=_0x296b81===0x0?0x3e8:_0x296b81*0x2);}[_0xebfca7(0x25a)](){var _0x4ce02b=_0xebfca7,_0x4b9886;(_0x4b9886=this[_0x4ce02b(0x37a)])==null||_0x4b9886[_0x4ce02b(0x347)](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x350f87(_0x3e288c)),A(0x7,_0x350f87(_0x1f62a4)),A(0x8,_0x5f3828),A(0x9,_0x39281b),A(0xa,_0x248c0d),A(0xb,_0x4f45a5),A(0xc,_0x461ea6(J))],ae);let de=class extends be{constructor(_0x2c4e5d,_0x442c1f,_0x207090,_0x11c0b7,_0xe44bcd,_0x27bda1=!0x1,_0x2c168b,_0x50b95a,_0x3aaffa,_0x520a00,_0x59e964,_0x2341f9,_0x727dd1){var _0x4219f8=_0xebfca7;super(_0x2c4e5d,_0x442c1f,_0x207090,_0x11c0b7,_0xe44bcd,_0x50b95a,_0x3aaffa,_0x520a00,_0x727dd1),N(this,'status',_0x4219f8(0x139)),(this[_0x4219f8(0x359)]=_0x27bda1,this[_0x4219f8(0x230)]=_0x2c168b,this[_0x4219f8(0x306)]=_0x59e964,this[_0x4219f8(0x16d)]=_0x2341f9,this[_0x4219f8(0x284)]=_0x727dd1,this[_0x4219f8(0x275)](),this[_0x4219f8(0x27f)](),this[_0x4219f8(0x305)]());}['appendMutation'](){return this;}[_0xebfca7(0x2cc)](){return this;}['onRemoteAck'](){return this;}[_0xebfca7(0x138)](){return this;}[_0xebfca7(0x1dd)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xebfca7(0x337)](){var _0x2a7354=_0xebfca7;throw new Error(_0x2a7354(0xb7));}[_0xebfca7(0x27f)](){var _0x46de87=_0xebfca7,_0x423473;(_0x423473=this['_localCacheService'])==null||_0x423473['updateOfflineData'](this[_0x46de87(0x37e)],this[_0x46de87(0xdb)],null,[]);}['_showConflictNotification'](){var _0x2b8d0d=_0xebfca7;this['_isPermissionRej']?this[_0x2b8d0d(0x16d)]['emitEvent']({'id':se[_0x2b8d0d(0x1e8)]}):this[_0x2b8d0d(0x16d)]['emitEvent']({'id':se[_0x2b8d0d(0x27b)]});}[_0xebfca7(0x305)](){var _0x417b46=_0xebfca7;this['_permissionService'][_0x417b46(0x23e)](new _0x1a2393(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x350f87(_0x35f2aa)),A(0x7,_0x5f3828),A(0x8,_0x4f45a5),A(0x9,_0x350f87(_0x1f62a4)),A(0xa,_0x350f87(_0x1a7de2)),A(0xb,_0x350f87(pe)),A(0xc,_0x461ea6(J))],de);let fe=class extends be{constructor(_0x34d8e7,_0x411bcd,_0x31ae1d,_0xcc899a,_0x3eadc9,_0x598b4f,_0x25e780,_0x2a8d8c,_0x519246,_0x2b0b6a){var _0x236b81=_0xebfca7;super(_0x34d8e7,_0x411bcd,_0x31ae1d,_0xcc899a,_0x3eadc9,_0x2a8d8c,_0x519246,_0x25e780,_0x2b0b6a),N(this,'status',_0x236b81(0x304)),this[_0x236b81(0x1c6)]=_0x598b4f;}[_0xebfca7(0x214)](_0x40d628){var _0x5f8f89=_0xebfca7;return this[_0x5f8f89(0x271)][_0x5f8f89(0xca)](_0x40d628),this[_0x5f8f89(0xe3)](),this;}[_0xebfca7(0x2cc)](_0x535918){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xebfca7(0x1c9)](){var _0x527cbf=_0xebfca7;throw new Error(_0x527cbf(0x19a));}[_0xebfca7(0x138)](){var _0x44f659=_0xebfca7;throw new Error(_0x44f659(0xb4));}[_0xebfca7(0x1dd)](){return this;}[_0xebfca7(0x1eb)](){return this;}[_0xebfca7(0x285)](){var _0x284720=_0xebfca7;const {_injector:_0x3d80bb,_pendingMutations:_0x578d06,_awaitingChangeset:_0x38b86a,unitID:_0x58ddfb,_handler:_0x25a4d9,type:_0x432e86}=this,_0x287241=Di(_0x3d80bb,_0x58ddfb,_0x432e86,_0x38b86a,_0x578d06,_0x25a4d9);return _0x287241 instanceof oe?_0x287241[_0x284720(0xf4)]():(_0x287241 instanceof ae||_0x287241 instanceof ue)&&_0x287241[_0x284720(0x337)](),_0x287241;}['resend'](){var _0x2edef5=_0xebfca7;throw new Error(_0x2edef5(0x146));}};fe=Re([A(0x5,_0x350f87(_0x3e288c)),A(0x6,_0x350f87(_0x1f62a4)),A(0x7,_0x5f3828),A(0x8,_0x4f45a5),A(0x9,_0x461ea6(J))],fe);let te=class extends be{constructor(_0x1304bd,_0x436b2d,_0x33b9b8,_0x461189,_0x28efea,_0x30991a,_0x1a5fcc,_0x2bf0e9,_0x18fa6c,_0x5ce000,_0x5c048c,_0x2be650,_0x38f9d9,_0x3e72b9){var _0x31bb71=_0xebfca7;super(_0x1304bd,_0x436b2d,_0x33b9b8,_0x461189,_0x1a5fcc,_0x5c048c,_0x2be650,_0x18fa6c,_0x3e72b9),N(this,'status',_0x31bb71(0x274)),(this['_acknowledgedAwaitingChangeset']=_0x28efea,this[_0x31bb71(0x379)]=_0x30991a,this[_0x31bb71(0x1c6)]=_0x2bf0e9,this[_0x31bb71(0x240)]=_0x5ce000,this['_transformService']=_0x38f9d9,this[_0x31bb71(0x284)]=_0x3e72b9);}[_0xebfca7(0x333)](_0x1bb819){var _0x3995a6=_0xebfca7;try{const _0x4c090e=[..._0x1bb819,...this[_0x3995a6(0x379)]],_0xa11d80=[this[_0x3995a6(0x1e2)]||this[_0x3995a6(0x1fd)]][_0x3995a6(0x372)](_0x399828=>!!_0x399828);let _0x3123c9,_0x43dc73;if(_0xa11d80[_0x3995a6(0x124)]){const _0x4d7122=this[_0x3995a6(0x111)][_0x3995a6(0x31c)](_0x4c090e,_0xa11d80,!0x1);if(!_0x544e79(_0x4d7122))throw _0x4d7122[_0x3995a6(0x2f8)];_0x3123c9=_0x4d7122[_0x3995a6(0xe6)],_0x43dc73=_0x4d7122['c2Prime'];}else _0x3123c9=_0x4c090e,_0x43dc73=[];let _0x11f1c2=this[_0x3995a6(0x271)];_0x3123c9[_0x3995a6(0x2df)](_0x4a1c15=>{var _0x508d33=_0x3995a6;let _0x3a7faa;if(_0x11f1c2[_0x508d33(0x124)]){const _0x2b8d3a=this[_0x508d33(0x111)]['transformMutationsWithChangeset'](_0x4a1c15,_0x11f1c2);if(!_0x27b7b3(_0x2b8d3a))throw _0x2b8d3a[_0x508d33(0x2f8)];_0x3a7faa=_0x2b8d3a[_0x508d33(0xe6)],_0x11f1c2=_0x2b8d3a[_0x508d33(0x343)];}else _0x3a7faa=_0x4a1c15;this[_0x508d33(0x323)](_0x3a7faa);}),this[_0x3995a6(0x1fd)]&&this['_incrementRevisionNumber'](),this[_0x3995a6(0x1e2)]&&_0x43dc73['length']&&(_0x43dc73[0x0][_0x3995a6(0x1b6)]=this[_0x3995a6(0x1c7)]());let _0x24a0c3;if(this['_awaitingChangeset']&&_0x11f1c2[_0x3995a6(0x124)]!==0x0)_0x24a0c3=this[_0x3995a6(0x1c6)][_0x3995a6(0x28a)](ae,this[_0x3995a6(0x37e)],this[_0x3995a6(0xdb)],_0x43dc73[0x0],_0x11f1c2,this[_0x3995a6(0x2e4)],void 0x0);else{if(this[_0x3995a6(0x1e2)]&&_0x11f1c2[_0x3995a6(0x124)]===0x0)_0x43dc73[0x0][_0x3995a6(0x1b6)]=this[_0x3995a6(0x1c7)](),_0x24a0c3=this['_injector']['createInstance'](ue,this[_0x3995a6(0x37e)],this['type'],_0x43dc73[0x0],this[_0x3995a6(0x2e4)]);else{if(_0x11f1c2[_0x3995a6(0x124)]!==0x0){const _0x25c7e8=this[_0x3995a6(0x1c6)][_0x3995a6(0x28a)](oe,this[_0x3995a6(0x37e)],this[_0x3995a6(0xdb)],_0x11f1c2,this[_0x3995a6(0x2e4)]);_0x25c7e8['_schedule'](),_0x24a0c3=_0x25c7e8;}else _0x24a0c3=this[_0x3995a6(0x1c6)][_0x3995a6(0x28a)](De,this[_0x3995a6(0x37e)],this[_0x3995a6(0xdb)],this[_0x3995a6(0x2e4)]);}}return _0x24a0c3[_0x3995a6(0xe3)](),_0x24a0c3;}catch(_0x1189a0){return this[_0x3995a6(0x240)][_0x3995a6(0x2f8)](_0x3995a6(0x32f),_0x3995a6(0xb9),_0x1189a0),this[_0x3995a6(0x1c6)]['createInstance'](de,this[_0x3995a6(0x37e)],this['type'],this[_0x3995a6(0x1e2)],this[_0x3995a6(0x271)],this[_0x3995a6(0x2e4)],!0x1);}}[_0xebfca7(0x337)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xebfca7(0x214)](_0xe5ccf4){var _0x33d185=_0xebfca7;return this[_0x33d185(0x271)][_0x33d185(0xca)](_0xe5ccf4),this;}[_0xebfca7(0x2cc)](_0x390d1e){var _0x5cbae0=_0xebfca7;return this[_0x5cbae0(0x379)][_0x5cbae0(0xca)](_0x390d1e),this;}[_0xebfca7(0x1c9)](_0x184fe2){var _0x53126d=_0xebfca7;if(this[_0x53126d(0x1e2)])return this[_0x53126d(0x1fd)]=this[_0x53126d(0x1e2)],this[_0x53126d(0x1e2)]=null,this;throw new Error(_0x53126d(0x176));}[_0xebfca7(0x138)](_0x4b683e){var _0x33db60=_0xebfca7;return this['_onConflict'](!!(_0x4b683e!=null&&_0x4b683e[_0x33db60(0x19f)]));}[_0xebfca7(0x1dd)](){return this;}[_0xebfca7(0x1eb)](){var _0x5da43a=_0xebfca7;return this[_0x5da43a(0x1c6)][_0x5da43a(0x28a)](fe,this[_0x5da43a(0x37e)],this[_0x5da43a(0xdb)],this[_0x5da43a(0x1e2)],this[_0x5da43a(0x271)],this[_0x5da43a(0x2e4)]);}[_0xebfca7(0x285)](){return this;}['_onConflict'](_0x568213){var _0x1d7fd0=_0xebfca7;return this[_0x1d7fd0(0x1c6)][_0x1d7fd0(0x28a)](de,this[_0x1d7fd0(0x37e)],this[_0x1d7fd0(0xdb)],this[_0x1d7fd0(0x1e2)],this[_0x1d7fd0(0x271)],this[_0x1d7fd0(0x2e4)],_0x568213);}};te=Re([A(0x7,_0x350f87(_0x3e288c)),A(0x8,_0x350f87(_0x1f62a4)),A(0x9,_0x39281b),A(0xa,_0x5f3828),A(0xb,_0x4f45a5),A(0xc,_0x248c0d),A(0xd,_0x461ea6(J))],te);function Di(_0x332254,_0x5ed9e7,_0x3bfeb4,_0x4712a2,_0x129dcc,_0x2719da){var _0x434105=_0xebfca7;return _0x4712a2&&_0x129dcc['length']?_0x332254[_0x434105(0x28a)](ae,_0x5ed9e7,_0x3bfeb4,_0x4712a2,_0x129dcc,_0x2719da,void 0x0):_0x4712a2?_0x332254[_0x434105(0x28a)](ue,_0x5ed9e7,_0x3bfeb4,_0x4712a2,_0x2719da):_0x129dcc[_0x434105(0x124)]?_0x332254['createInstance'](oe,_0x5ed9e7,_0x3bfeb4,_0x129dcc,_0x2719da):_0x332254[_0x434105(0x28a)](De,_0x5ed9e7,_0x3bfeb4,_0x2719da);}var vr=Object[_0xebfca7(0xda)],pr=Object[_0xebfca7(0x298)],Lt=(_0x124b42,_0xe13e86,_0x445298,_0xba4264)=>{var _0x15ad25=_0xebfca7;for(var _0x13a65c=_0xba4264>0x1?void 0x0:_0xba4264?pr(_0xe13e86,_0x445298):_0xe13e86,_0x72aa81=_0x124b42[_0x15ad25(0x124)]-0x1,_0x1a671e;_0x72aa81>=0x0;_0x72aa81--)(_0x1a671e=_0x124b42[_0x72aa81])&&(_0x13a65c=(_0xba4264?_0x1a671e(_0xe13e86,_0x445298,_0x13a65c):_0x1a671e(_0x13a65c))||_0x13a65c);return _0xba4264&&_0x13a65c&&vr(_0xe13e86,_0x445298,_0x13a65c),_0x13a65c;},k=(_0x4ebcfd,_0x71b683)=>(_0x469032,_0x2ea6d9)=>_0x71b683(_0x469032,_0x2ea6d9,_0x4ebcfd);let nt=class extends _0x42ad43{constructor(_0x1bd230,_0x1ab36e,_0x32f0e8,_0x5d9b8c,_0x2cb1e7,_0x103ae5,_0x42e3d2,_0x42196b,_0xad5417,_0x2b6dc2,_0x580a82,_0x44b9ce,_0x3efa65){var _0x3731a0=_0xebfca7;super(),N(this,_0x3731a0(0x1ab),new _0x4a19f3(null)),N(this,'state$',this[_0x3731a0(0x1ab)]['asObservable']()),N(this,_0x3731a0(0x264)),N(this,_0x3731a0(0x177),!0x1),N(this,'_changesetSessionId',''),N(this,_0x3731a0(0x11b),0x0),N(this,_0x3731a0(0xe1),this[_0x3731a0(0x1be)][_0x3731a0(0x324)](_0x2491bb(_0x2381d4=>_0x2381d4?_0x2381d4[_0x3731a0(0x129)]:yi['OFFLINE']),_0x2a502(0x1))),N(this,_0x3731a0(0x2d0),!0x1),N(this,_0x3731a0(0x2c9),[]),(this[_0x3731a0(0x37e)]=_0x1bd230,this[_0x3731a0(0x31d)]=_0x1ab36e,this[_0x3731a0(0x198)]=_0x32f0e8,this['_injector']=_0x5d9b8c,this['_compressMutationService']=_0x2cb1e7,this['_localeService']=_0x103ae5,this[_0x3731a0(0x205)]=_0x42e3d2,this[_0x3731a0(0x140)]=_0x42196b,this['_logService']=_0xad5417,this[_0x3731a0(0x314)]=_0x2b6dc2,this[_0x3731a0(0x230)]=_0x580a82,this[_0x3731a0(0x2fe)]=_0x44b9ce,this[_0x3731a0(0x118)]=_0x3efa65);}get['state'](){var _0x5758ef=_0xebfca7;return this[_0x5758ef(0x264)];}async[_0xebfca7(0x121)](){var _0x24ec00=_0xebfca7;if(this[_0x24ec00(0x311)])throw new Error(_0x24ec00(0x363));await this[_0x24ec00(0xe5)]();}[_0xebfca7(0xad)](){return this['_collaborationPaused']=!0x0,_0x20bee6(()=>{var _0x16abc1=_0x1328;this[_0x16abc1(0x177)]=!0x1,this[_0x16abc1(0x194)]();});}['onLocalMutation'](_0x3c7c0d){var _0x4262a6=_0xebfca7;this[_0x4262a6(0x2ae)](_0x3c7c0d);}['_updateState'](_0x45d5b1){var _0x34b7d6=_0xebfca7;this[_0x34b7d6(0x264)]=_0x45d5b1,this[_0x34b7d6(0x1ab)][_0x34b7d6(0x257)](_0x45d5b1);}async[_0xebfca7(0xe5)](){var _0x4236d9=_0xebfca7,_0x28e577;this['_updateState'](await this[_0x4236d9(0x23f)]()),this[_0x4236d9(0x2fe)]&&((_0x28e577=this[_0x4236d9(0x2fe)])==null||_0x28e577[_0x4236d9(0x12d)](this[_0x4236d9(0x37e)]),this[_0x4236d9(0x22a)](this[_0x4236d9(0x2fe)][_0x4236d9(0x1c8)](this['unitID'])[_0x4236d9(0x154)](_0x468d37=>{var _0xaba265=_0x4236d9;this[_0xaba265(0x240)][_0xaba265(0x10b)](_0xaba265(0x34c),'editing\x20status\x20changed\x20to',_0x468d37),_0x468d37===bi[_0xaba265(0xdd)]?(this[_0xaba265(0x140)][_0xaba265(0x36a)]({'id':se[_0xaba265(0x283)]}),this[_0xaba265(0x230)][_0xaba265(0x23e)](new _0x1a2393(this[_0xaba265(0x37e)])['id'],!0x1),this[_0xaba265(0x230)][_0xaba265(0xc6)](!0x1)):(this[_0xaba265(0x230)]['updatePermissionPoint'](new _0x1a2393(this[_0xaba265(0x37e)])['id'],!0x0),this['_permissionService'][_0xaba265(0xc6)](!0x0));})));let _0x37b65a=!0x1;return this[_0x4236d9(0x22a)](this[_0x4236d9(0x31d)][_0x4236d9(0x184)]['subscribe'](_0x489b57=>{var _0x52539e=_0x4236d9;_0x489b57===Te[_0x52539e(0x1f8)]?this[_0x52539e(0x356)](_0x37b65a):_0x489b57===Te[_0x52539e(0x349)]&&(_0x37b65a=!0x0,this[_0x52539e(0x96)]());})),this[_0x4236d9(0x22a)](this['session'][_0x4236d9(0x2c1)][_0x4236d9(0x154)](_0x5ba6d6=>{var _0x1da210=_0x4236d9;try{switch(_0x5ba6d6['eventID']){case _0x3aa22a['NEW_CHANGESETS']:{this[_0x1da210(0x31a)](_0x5d9825(_0x5ba6d6[_0x1da210(0xc2)]));break;}case _0x3aa22a[_0x1da210(0x26c)]:{this[_0x1da210(0x185)](_0x5ba6d6[_0x1da210(0xc2)]);break;}case _0x3aa22a[_0x1da210(0x15a)]:{this['_onRemoteRejected']();break;}case _0x3aa22a['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5ba6d6[_0x1da210(0xc2)]);break;}case _0x3aa22a[_0x1da210(0x34a)]:{this['_onFetchMissResult'](_0x5ba6d6[_0x1da210(0xc2)][_0x1da210(0x374)][_0x1da210(0x147)](_0x22b3eb=>_0x5d9825(_0x22b3eb)));break;}case _0x3aa22a[_0x1da210(0x9e)]:{this[_0x1da210(0x273)]({'isPermissionRej':!0x0});break;}case _0x3aa22a['UNISCRIPT_RUN']:break;}}catch(_0x1dfef6){throw console['error'](_0x1da210(0x186),_0x1dfef6),_0x1dfef6;}})),this[_0x4236d9(0x264)];}[_0xebfca7(0x321)](){var _0x519ab9=_0xebfca7;this[_0x519ab9(0x2d0)]=!0x1;}['_lockTransition'](){var _0x1dca7c=_0xebfca7;if(this[_0x1dca7c(0x2d0)])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['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x1945dc){var _0x2044d3=_0xebfca7;this[_0x2044d3(0x99)](),this[_0x2044d3(0x382)](this[_0x2044d3(0x264)][_0x2044d3(0x214)](_0x1945dc)),this[_0x2044d3(0x321)]();}[_0xebfca7(0x31a)](_0x2f4144){var _0x56c315=_0xebfca7;if(!(_0x2f4144[_0x56c315(0x193)]<=this[_0x56c315(0x205)]['getCurrentRevOfUnit'](this[_0x56c315(0x37e)]))){if(this[_0x56c315(0x177)]){this[_0x56c315(0x2c9)][_0x56c315(0xca)](_0x2f4144);return;}this['_applyRemoteChangeset'](_0x2f4144);}}[_0xebfca7(0x194)](){var _0x5d30d5=_0xebfca7;this[_0x5d30d5(0x2c9)][_0x5d30d5(0x2df)](_0x5b2722=>this['_applyRemoteChangeset'](_0x5b2722)),this['_remoteChangesetQueue']=[];}[_0xebfca7(0x204)](_0x2e9f1b){var _0x11562e=_0xebfca7;const _0x5d19df=this['_compressMutationService'][_0x11562e(0xcd)][_0x11562e(0x33f)](this[_0x11562e(0x19e)][_0x11562e(0xcd)][_0x11562e(0x26e)]()[_0x11562e(0x2fa)])(_0x2e9f1b['mutations'],null)||_0x2e9f1b['mutations'],_0x15f93f={..._0x2e9f1b,'mutations':_0x5d19df};this[_0x11562e(0x99)](),this['_updateState'](this[_0x11562e(0x264)][_0x11562e(0x2cc)](_0x15f93f)),this['_unlockTransition']();}['_onRemoteACK'](_0x14ecbf){var _0x173bb4=_0xebfca7;this[_0x173bb4(0x99)](),this['_updateState'](this['_state'][_0x173bb4(0x1c9)](_0x14ecbf)),this['_unlockTransition']();}['_onRemoteRejected'](_0x3f539c){var _0x5b770e=_0xebfca7;this[_0x5b770e(0x99)](),this[_0x5b770e(0x382)](this[_0x5b770e(0x264)][_0x5b770e(0x138)](_0x3f539c)),this['_unlockTransition']();}[_0xebfca7(0x22e)](_0x48ad5f){var _0x434499=_0xebfca7;this[_0x434499(0x99)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x48ad5f)),this[_0x434499(0x321)]();}[_0xebfca7(0x2f0)](_0x5013f8){var _0x98614f=_0xebfca7;if(!(this['_state']instanceof te))throw new TypeError(_0x98614f(0x30e));const _0x57ce42=_0x5013f8[_0x98614f(0x147)](_0x877571=>{var _0xe5e9a1=_0x98614f;const _0x5665d6=this[_0xe5e9a1(0x19e)][_0xe5e9a1(0xcd)][_0xe5e9a1(0x33f)](this[_0xe5e9a1(0x19e)][_0xe5e9a1(0xcd)][_0xe5e9a1(0x26e)]()[_0xe5e9a1(0x2fa)])(_0x877571[_0xe5e9a1(0x148)],null)||_0x877571['mutations'];return{..._0x877571,'mutations':_0x5665d6};});this[_0x98614f(0x99)](),this[_0x98614f(0x382)](this['_state'][_0x98614f(0x333)](_0x57ce42)),this[_0x98614f(0x321)]();}[_0xebfca7(0x96)](){var _0x18d1ec=_0xebfca7;this[_0x18d1ec(0x99)](),this['_updateState'](this[_0x18d1ec(0x264)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x5eda34=!0x1){var _0x3518a4=_0xebfca7;this['_lockTransition'](),this[_0x3518a4(0x382)](this[_0x3518a4(0x264)][_0x3518a4(0x285)]()),this[_0x3518a4(0x321)]();const _0x305a54=this['_state'];_0x5eda34&&_0x305a54 instanceof De&&(this[_0x3518a4(0x99)](),this[_0x3518a4(0x382)](_0x305a54[_0x3518a4(0x2f1)]()),this[_0x3518a4(0x321)]());}async[_0xebfca7(0x23f)](){return new Promise(_0x338623=>{var _0xa0367c=_0x1328;this[_0xa0367c(0x31d)][_0xa0367c(0x184)][_0xa0367c(0x324)](_0x12ef5d(0x1))[_0xa0367c(0x154)](async _0x3ba1e4=>{var _0x430054=_0xa0367c;_0x338623(await this[_0x430054(0x2b4)](_0x3ba1e4===Te[_0x430054(0x1f8)]));});});}[_0xebfca7(0x317)](){var _0x2debad=_0xebfca7;const _0x41a8b9=this[_0x2debad(0x37e)];return{'onStateChange':(_0xe4ea91,_0x32c0c8)=>{var _0x4e67a3=_0x2debad;if(_0xe4ea91!==this['_state'])throw new Error(_0x4e67a3(0x36f)+_0xe4ea91['status']+_0x4e67a3(0x29a)+_0x32c0c8[_0x4e67a3(0x129)]+_0x4e67a3(0xfd)+this[_0x4e67a3(0x264)][_0x4e67a3(0x129)]);this['_updateState'](_0x32c0c8);},'onSendChangeset':_0x54d0bb=>{var _0x2e040a=_0x2debad;_0x54d0bb[_0x2e040a(0x16b)]||(_0x54d0bb[_0x2e040a(0x16b)]=this[_0x2e040a(0x361)],_0x54d0bb[_0x2e040a(0x353)]=++this[_0x2e040a(0x11b)]);const _0x5ec1df={'eventID':_0x3aa22a[_0x2e040a(0x231)],'data':{'unitID':_0x54d0bb['unitID'],'unitType':this[_0x2e040a(0x198)],'changeset':_0x54d0bb,'memberID':this[_0x2e040a(0x31d)]['getMemberID']()}};this['session']['send'](_0x5ec1df,this[_0x2e040a(0x37e)]);},'onMissingChangesets':({from:_0x3640c5,to:_0x37ce04})=>{var _0x172b29=_0x2debad;this[_0x172b29(0x240)][_0x172b29(0x10b)](_0x172b29(0x34c),_0x172b29(0x334)+_0x3640c5+_0x172b29(0x10c)+_0x37ce04);const _0x7bce53={'eventID':_0x3aa22a[_0x172b29(0xc8)],'data':{'unitID':_0x41a8b9,'unitType':this[_0x172b29(0x198)],'from':_0x3640c5,'to':_0x37ce04}};this[_0x172b29(0x31d)][_0x172b29(0x86)](_0x7bce53,this[_0x172b29(0x37e)]);}};}async[_0xebfca7(0x2b4)](_0xb971b6){var _0x4aaf92=_0xebfca7,_0x2f8e14,_0x16e160,_0x415d00;const _0x2698e5=await((_0x2f8e14=this['_localCacheService'])==null?void 0x0:_0x2f8e14[_0x4aaf92(0x9a)](this[_0x4aaf92(0x37e)])),_0x15c9bb=(_0x16e160=_0x2698e5==null?void 0x0:_0x2698e5[_0x4aaf92(0x148)])!=null?_0x16e160:[],_0x2faf0e=(_0x415d00=_0x2698e5==null?void 0x0:_0x2698e5[_0x4aaf92(0x8a)])!=null?_0x415d00:null,_0x1f133c=!!(_0x2faf0e!=null&&_0x2faf0e[_0x4aaf92(0x16b)])&&!!(_0x2faf0e!=null&&_0x2faf0e[_0x4aaf92(0x353)]);this[_0x4aaf92(0x361)]=_0x1f133c?_0x2faf0e[_0x4aaf92(0x16b)]:sr(),this['_changesetReqId']=_0x1f133c?_0x2faf0e[_0x4aaf92(0x353)]:0x0;const _0x31db96=this['unitID'];try{this['_replayCachedMutations'](_0x2faf0e,_0x15c9bb);}catch(_0x202fb6){this[_0x4aaf92(0x240)][_0x4aaf92(0x2f8)](_0x202fb6);}const _0x134475=this[_0x4aaf92(0x317)]();if(_0xb971b6){const _0x1ca51e=Di(this[_0x4aaf92(0x1c6)],_0x31db96,this[_0x4aaf92(0x198)],_0x2faf0e,_0x15c9bb,_0x134475);return _0x1ca51e instanceof oe?_0x1ca51e['_schedule']():(_0x1ca51e instanceof ae||_0x1ca51e instanceof ue)&&_0x1ca51e[_0x4aaf92(0x337)](),_0x1ca51e;}return this[_0x4aaf92(0x1c6)]['createInstance'](fe,_0x31db96,this['_type'],_0x2faf0e,_0x15c9bb,_0x134475);}['_replayCachedMutations'](_0x5b5018,_0xddfc1a){var _0x2af071=_0xebfca7,_0x114505,_0x16d840;const _0x2e2197=this[_0x2af071(0x19e)]['interceptor'][_0x2af071(0x33f)](this[_0x2af071(0x19e)][_0x2af071(0xcd)][_0x2af071(0x26e)]()[_0x2af071(0x2fa)]);(_0x114505=_0x2e2197((_0x5b5018==null?void 0x0:_0x5b5018['mutations'])||[],null))==null||_0x114505[_0x2af071(0x2df)](_0x1241ff=>this['_commandService']['executeCommand'](_0x1241ff['id'],_0x1241ff[_0x2af071(0x17a)])),(_0x16d840=_0x2e2197(_0xddfc1a||[],null))==null||_0x16d840[_0x2af071(0x2df)](_0x431904=>this[_0x2af071(0x314)][_0x2af071(0x114)](_0x431904['id'],_0x431904[_0x2af071(0x17a)]));}};nt=Lt([k(0x3,_0x350f87(_0x3e288c)),k(0x4,_0x350f87(_0x30c848)),k(0x5,_0x350f87(_0x1a7de2)),k(0x6,_0x350f87(_0x1f62a4)),k(0x7,_0x350f87(pe)),k(0x8,_0x39281b),k(0x9,_0x5f3828),k(0xa,_0x35f2aa),k(0xb,_0x461ea6(ht)),k(0xc,_0x461ea6(J))],nt);let Tt=class extends nt{constructor(_0x169a02,_0x24c25b,_0x14e254,_0x2a73aa,_0x434f0c,_0x41b2ae,_0x3f03c6,_0x3b1b0b,_0x257790,_0x5c2db4,_0x48bbd0,_0xa3a589,_0x3b7f0e){var _0x385e6a=_0xebfca7;super(_0x169a02,_0x14e254,_0x24c25b,_0x2a73aa,_0x434f0c,_0x41b2ae,_0x3f03c6,_0x3b1b0b,_0x257790,_0x5c2db4,_0x48bbd0,_0xa3a589,_0x3b7f0e),N(this,_0x385e6a(0x8e),null),(this['unitID']=_0x169a02,this['type']=_0x24c25b);}[_0xebfca7(0x2a9)](_0xc4be32){var _0xcdf101=_0xebfca7;this[_0xcdf101(0x8e)]=_0xc4be32;}['dispose'](){var _0x2715ff=_0xebfca7;this[_0x2715ff(0x8e)]=null,super[_0x2715ff(0x1a4)]();}[_0xebfca7(0x317)](){var _0x52a7f8=_0xebfca7;const _0x2e747c=super['_createHandler']();return _0x2e747c[_0x52a7f8(0x2d1)]=_0x3ec303=>{var _0x4932fc=_0x52a7f8,_0x3c2dab,_0x391ba6;return(_0x391ba6=(_0x3c2dab=this[_0x4932fc(0x8e)])==null?void 0x0:_0x3c2dab[_0x4932fc(0x2d1)])==null?void 0x0:_0x391ba6[_0x4932fc(0x1da)](_0x3c2dab,_0x3ec303);},_0x2e747c[_0x52a7f8(0x242)]=_0x2621c6=>{var _0x48d92a=_0x52a7f8,_0x1f80ce,_0x4cc2f8;return(_0x4cc2f8=(_0x1f80ce=this[_0x48d92a(0x8e)])==null?void 0x0:_0x1f80ce[_0x48d92a(0x242)])==null?void 0x0:_0x4cc2f8[_0x48d92a(0x1da)](_0x1f80ce,_0x2621c6);},_0x2e747c[_0x52a7f8(0x1d1)]=_0x581c0c=>{var _0x1bb20c=_0x52a7f8,_0x5835be,_0x10e018;return(_0x10e018=(_0x5835be=this[_0x1bb20c(0x8e)])==null?void 0x0:_0x5835be[_0x1bb20c(0x1d1)])==null?void 0x0:_0x10e018['call'](_0x5835be,_0x581c0c);},_0x2e747c[_0x52a7f8(0x2b6)]=_0x9b3b5b=>{var _0x2c3d9e=_0x52a7f8,_0x27ba03,_0x1ff585;return(_0x1ff585=(_0x27ba03=this[_0x2c3d9e(0x8e)])==null?void 0x0:_0x27ba03[_0x2c3d9e(0x2b6)])==null?void 0x0:_0x1ff585[_0x2c3d9e(0x1da)](_0x27ba03,_0x9b3b5b);},_0x2e747c['onTransformRemoteChangesetByIMECache']=_0x1da1f9=>{var _0x5cbc44=_0x52a7f8,_0x4b7d6c,_0x887fdd,_0xa7f63b;if(!((_0x4b7d6c=this[_0x5cbc44(0x8e)])!=null&&_0x4b7d6c[_0x5cbc44(0x2b2)]))throw new Error(_0x5cbc44(0x26f));return(_0xa7f63b=(_0x887fdd=this[_0x5cbc44(0x8e)])==null?void 0x0:_0x887fdd[_0x5cbc44(0x2b2)])==null?void 0x0:_0xa7f63b[_0x5cbc44(0x1da)](_0x887fdd,_0x1da1f9);},_0x2e747c[_0x52a7f8(0x2e9)]=_0x1ce845=>{var _0x17476d=_0x52a7f8,_0xfe12bb,_0x54b9a5,_0x1780f5;if(!((_0xfe12bb=this[_0x17476d(0x8e)])!=null&&_0xfe12bb[_0x17476d(0x2e9)]))throw new Error(_0x17476d(0x160));return(_0x1780f5=(_0x54b9a5=this[_0x17476d(0x8e)])==null?void 0x0:_0x54b9a5['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1780f5[_0x17476d(0x1da)](_0x54b9a5,_0x1ce845);},_0x2e747c;}async[_0xebfca7(0xe5)](){var _0x330019=_0xebfca7;const _0x3011e0=await super['_init']();return this[_0x330019(0x22a)](this[_0x330019(0x314)][_0x330019(0x1af)]((_0x30e122,_0x20ca2b)=>{var _0x1eba9b=_0x330019;if(_0x30e122[_0x1eba9b(0xdb)]!==_0x20e9e2[_0x1eba9b(0x2dd)]||_0x20ca2b!=null&&_0x20ca2b[_0x1eba9b(0x36c)]||_0x20ca2b!=null&&_0x20ca2b['onlyLocal']||_0x30e122['id']===_0x4b16a2['id'])return;const _0x128dea=_0x30e122[_0x1eba9b(0x17a)];if((_0x128dea==null?void 0x0:_0x128dea[_0x1eba9b(0x34d)])!==this[_0x1eba9b(0x37e)])return;const _0x37824e=_0x30e122,_0x34f64f=this[_0x1eba9b(0x19e)][_0x1eba9b(0xcd)][_0x1eba9b(0x33f)](this[_0x1eba9b(0x19e)]['interceptor'][_0x1eba9b(0x26e)]()[_0x1eba9b(0x107)])([_0x37824e],null)||[_0x37824e];this[_0x1eba9b(0x2ae)](_0x34f64f[0x0]);})),_0x3011e0;}};Tt=Lt([k(0x3,_0x350f87(_0x3e288c)),k(0x4,_0x350f87(_0x30c848)),k(0x5,_0x350f87(_0x1a7de2)),k(0x6,_0x350f87(_0x1f62a4)),k(0x7,_0x350f87(pe)),k(0x8,_0x39281b),k(0x9,_0x5f3828),k(0xa,_0x35f2aa),k(0xb,_0x461ea6(ht)),k(0xc,_0x461ea6(J))],Tt);let Ct=class extends nt{constructor(_0x30730b,_0x2bcecd,_0x1777a7,_0x2d82be,_0x400462,_0x1392d2,_0x4743c4,_0x2b77bf,_0x2c0f84,_0x3b307b,_0xdd093f,_0x20009f,_0x341445,_0x27bf3a){var _0x87d0c1=_0xebfca7;super(_0x30730b,_0x1777a7,_0x2bcecd,_0x2d82be,_0x400462,_0x1392d2,_0x4743c4,_0x2c0f84,_0x3b307b,_0xdd093f,_0x20009f,_0x341445,_0x27bf3a),this[_0x87d0c1(0x37e)]=_0x30730b,this[_0x87d0c1(0xdb)]=_0x2bcecd,this[_0x87d0c1(0xfb)]=_0x2b77bf;}[_0xebfca7(0x317)](){var _0x49795b=_0xebfca7;const _0x25083b=super['_createHandler']();return _0x25083b[_0x49795b(0x1d1)]=_0x151d90=>this[_0x49795b(0xfb)][_0x49795b(0x24a)](_0x151d90),_0x25083b;}async[_0xebfca7(0xe5)](){var _0x5284f0=_0xebfca7;const _0x49f96a=await super[_0x5284f0(0xe5)]();return this[_0x5284f0(0x22a)](this[_0x5284f0(0x314)]['onCommandExecuted']((_0xd0909a,_0xa044cc)=>{var _0x504b28=_0x5284f0;if(_0xd0909a[_0x504b28(0xdb)]!==_0x20e9e2[_0x504b28(0x2dd)]||_0xa044cc!=null&&_0xa044cc[_0x504b28(0x36c)]||_0xa044cc!=null&&_0xa044cc[_0x504b28(0x2d7)])return;const _0x80d485=_0xd0909a[_0x504b28(0x17a)];if((_0x80d485==null?void 0x0:_0x80d485[_0x504b28(0x34d)])!==this[_0x504b28(0x37e)])return;const _0x28caad=_0xd0909a,_0x4c35b9=this[_0x504b28(0x19e)][_0x504b28(0xcd)][_0x504b28(0x33f)](this['_compressMutationService'][_0x504b28(0xcd)][_0x504b28(0x26e)]()[_0x504b28(0x107)])([_0x28caad],null)||[_0x28caad];this[_0x504b28(0x2ae)](_0x4c35b9[0x0]);})),_0x49f96a;}};Ct=Lt([k(0x3,_0x350f87(_0x3e288c)),k(0x4,_0x350f87(_0x30c848)),k(0x5,_0x350f87(_0x1a7de2)),k(0x6,_0x350f87(_0x1f62a4)),k(0x7,_0x350f87(it)),k(0x8,_0x350f87(pe)),k(0x9,_0x39281b),k(0xa,_0x5f3828),k(0xb,_0x35f2aa),k(0xc,_0x461ea6(ht)),k(0xd,_0x461ea6(J))],Ct);var mr=Object[_0xebfca7(0xda)],gr=Object[_0xebfca7(0x298)],Sr=(_0x277207,_0x522b9c,_0x38b6a3,_0x593051)=>{var _0x4c2fe1=_0xebfca7;for(var _0x4b0273=_0x593051>0x1?void 0x0:_0x593051?gr(_0x522b9c,_0x38b6a3):_0x522b9c,_0x37bdd4=_0x277207[_0x4c2fe1(0x124)]-0x1,_0x42fe15;_0x37bdd4>=0x0;_0x37bdd4--)(_0x42fe15=_0x277207[_0x37bdd4])&&(_0x4b0273=(_0x593051?_0x42fe15(_0x522b9c,_0x38b6a3,_0x4b0273):_0x42fe15(_0x4b0273))||_0x4b0273);return _0x593051&&_0x4b0273&&mr(_0x522b9c,_0x38b6a3,_0x4b0273),_0x4b0273;},ft=(_0x47b6ec,_0x92d5dd)=>(_0x1a5137,_0x3115e8)=>_0x92d5dd(_0x1a5137,_0x3115e8,_0x47b6ec);let rt=class extends _0x42ad43{constructor(_0x4044fe,_0x5e8a17,_0xce48ac){var _0x22c495=_0xebfca7;super(),N(this,_0x22c495(0x13b),new Map()),N(this,'_entityInit$',new _0x34e3bd()),N(this,_0x22c495(0x2c2),this[_0x22c495(0x241)][_0x22c495(0x152)]()),(this[_0x22c495(0x1c6)]=_0x4044fe,this[_0x22c495(0x18d)]=_0x5e8a17,this['_univerInstanceService']=_0xce48ac,this[_0x22c495(0xe5)]());}['dispose'](){var _0x3de217=_0xebfca7;super[_0x3de217(0x1a4)](),this[_0x3de217(0x13b)][_0x3de217(0x2df)](_0x4fdc74=>_0x4fdc74[_0x3de217(0x1a4)]()),this[_0x3de217(0x13b)][_0x3de217(0x11c)]();}[_0xebfca7(0xbe)](_0x4a494b){var _0x3d6eb3=_0xebfca7,_0x544eee;return(_0x544eee=this['_entities'][_0x3d6eb3(0x308)](_0x4a494b))!=null?_0x544eee:null;}[_0xebfca7(0x322)](_0x4f231c){var _0x2c7b6e=_0xebfca7;const _0x2b6ea3=this[_0x2c7b6e(0xbe)](_0x4f231c);return _0x2b6ea3?_0x51b4a4(_0x2b6ea3):this['_entityInit$'][_0x2c7b6e(0x324)](_0x57ecda(_0x1f6e65=>_0x1f6e65['unitID']===_0x4f231c));}[_0xebfca7(0x2a2)](_0x96329e){var _0x3f8b59=_0xebfca7;return _0x469aa3(this['getCollabEntity$'](_0x96329e)[_0x3f8b59(0x324)](_0x5522f1(()=>{})));}['_init'](){var _0x3aac78=_0xebfca7;this[_0x3aac78(0x173)][_0x3aac78(0x2f5)](_0x47927c[_0x3aac78(0x18a)])[_0x3aac78(0x324)](_0x399539(this[_0x3aac78(0x299)]),_0x382d2f(0x10))['subscribe'](async _0x56c7d7=>{var _0x983afa=_0x3aac78;const _0x218371=_0x56c7d7[_0x983afa(0x266)](),_0x309e31=await this['_startCollaboration'](_0x218371,Q[_0x983afa(0x18a)]);this[_0x983afa(0x13b)]['set'](_0x218371,_0x309e31);}),this['_univerInstanceService'][_0x3aac78(0x2f5)](_0x47927c['UNIVER_DOC'])['pipe'](_0x399539(this[_0x3aac78(0x299)]),_0x382d2f(0x10))['pipe'](_0x57ecda(_0x5c7e7b=>!_0x5c7e7b[_0x3aac78(0x266)]()[_0x3aac78(0x161)]('__')))[_0x3aac78(0x154)](async _0x9032e5=>{var _0x3b3208=_0x3aac78;const _0xbaeec8=_0x9032e5[_0x3b3208(0x266)](),_0x505cd2=await this['_startCollaboration'](_0xbaeec8,Q[_0x3b3208(0x22d)]);this[_0x3b3208(0x13b)][_0x3b3208(0x180)](_0xbaeec8,_0x505cd2);}),_0x1345a8(this['_univerInstanceService'][_0x3aac78(0x248)](_0x47927c[_0x3aac78(0x18a)]),this['_univerInstanceService'][_0x3aac78(0x248)](_0x47927c['UNIVER_DOC']))['pipe'](_0x399539(this['dispose$']))[_0x3aac78(0x154)](_0xc04feb=>{var _0x39ab9f=_0x3aac78;const _0xd9141e=_0xc04feb[_0x39ab9f(0x266)](),_0x4fcb89=this[_0x39ab9f(0x13b)]['get'](_0xd9141e);_0x4fcb89&&(_0x4fcb89[_0x39ab9f(0x1a4)](),this[_0x39ab9f(0x13b)]['delete'](_0xd9141e));});}async[_0xebfca7(0xa0)](_0x399eb5,_0x588853){var _0xc4d67f=_0xebfca7;const _0x53ed22=await this[_0xc4d67f(0x18d)]['requireSession'](_0x399eb5),_0x741c78=this[_0xc4d67f(0x1c6)][_0xc4d67f(0x28a)](this[_0xc4d67f(0x2ad)](_0x588853),_0x399eb5,_0x588853,_0x53ed22);return await _0x741c78[_0xc4d67f(0x121)](),this['_entityInit$'][_0xc4d67f(0x257)](_0x741c78),_0x741c78;}[_0xebfca7(0x2ad)](_0x53b84e){var _0x46abc2=_0xebfca7;switch(_0x53b84e){case Q[_0x46abc2(0x22d)]:return Tt;case Q[_0x46abc2(0x18a)]:return Ct;default:throw new Error(_0x46abc2(0xbf)+_0x53b84e);}}};rt=Sr([ft(0x0,_0x350f87(_0x3e288c)),ft(0x1,_0x350f87(Le)),ft(0x2,_0x47607b)],rt);var Er=Object[_0xebfca7(0xda)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0xd7d883,_0x1b8ddb,_0x249039,_0x3ede25)=>{var _0x2bdab8=_0xebfca7;for(var _0x59c68c=_0x3ede25>0x1?void 0x0:_0x3ede25?Ir(_0x1b8ddb,_0x249039):_0x1b8ddb,_0x23b439=_0xd7d883[_0x2bdab8(0x124)]-0x1,_0x3bc71b;_0x23b439>=0x0;_0x23b439--)(_0x3bc71b=_0xd7d883[_0x23b439])&&(_0x59c68c=(_0x3ede25?_0x3bc71b(_0x1b8ddb,_0x249039,_0x59c68c):_0x3bc71b(_0x59c68c))||_0x59c68c);return _0x3ede25&&_0x59c68c&&Er(_0x1b8ddb,_0x249039,_0x59c68c),_0x59c68c;},Jt=(_0x23a269,_0x118e59)=>(_0x41af2d,_0xd6f711)=>_0x118e59(_0x41af2d,_0xd6f711,_0x23a269);const Cr=_0xebfca7(0x1bf),Rr=_0xebfca7(0x1ac);let Rt=class extends _0x10bb52{constructor(_0x483995,_0x12d639){super(),this['_univerInstanceService']=_0x483995,this['_configService']=_0x12d639,this['_init']();}[_0xebfca7(0xe5)](){var _0xd88236=_0xebfca7;this[_0xd88236(0x22a)](this[_0xd88236(0x173)][_0xd88236(0x25f)][_0xd88236(0x154)](()=>{var _0x98b923=_0xd88236,_0x280fc1;const _0x2fd11f=this[_0x98b923(0x173)][_0x98b923(0x31f)]();let _0x5350c1=(_0x280fc1=this[_0x98b923(0x234)][_0x98b923(0x1d5)](Cr))!=null?_0x280fc1:Rr;_0x2fd11f instanceof _0x502351&&(_0x5350c1=_0x2fd11f[_0x98b923(0x2b8)]),document['title']=_0x5350c1;}));}};Rt=Tr([Jt(0x0,_0x47607b),Jt(0x1,_0x3e9aa3)],Rt);var br=Object[_0xebfca7(0xda)],Or=Object[_0xebfca7(0x298)],yr=(_0x2a6b8d,_0x52668c,_0x5d263d,_0x26271c)=>{var _0x50db57=_0xebfca7;for(var _0x57f82c=_0x26271c>0x1?void 0x0:_0x26271c?Or(_0x52668c,_0x5d263d):_0x52668c,_0x19f008=_0x2a6b8d[_0x50db57(0x124)]-0x1,_0x4df11b;_0x19f008>=0x0;_0x19f008--)(_0x4df11b=_0x2a6b8d[_0x19f008])&&(_0x57f82c=(_0x26271c?_0x4df11b(_0x52668c,_0x5d263d,_0x57f82c):_0x4df11b(_0x57f82c))||_0x57f82c);return _0x26271c&&_0x57f82c&&br(_0x52668c,_0x5d263d,_0x57f82c),_0x57f82c;},vt=(_0x13264f,_0x1d537c)=>(_0x36797f,_0x18c178)=>_0x1d537c(_0x36797f,_0x18c178,_0x13264f);let st=class{constructor(_0x222497,_0x3007e0,_0x15bbc9){var _0x5426ee=_0xebfca7;this[_0x5426ee(0x234)]=_0x222497,this[_0x5426ee(0x236)]=_0x3007e0,this['localeService']=_0x15bbc9,this[_0x5426ee(0x121)]();}[_0xebfca7(0x121)](){var _0x1ed098=_0xebfca7;this['_httpService'][_0x1ed098(0x1f5)]({'priority':0x1,'interceptor':(_0x3d2d9e,_0x247fc6)=>_0x247fc6(_0x3d2d9e)[_0x1ed098(0x324)](_0x548b42(async _0x36a6a7=>{var _0x10a96b=_0x1ed098;const _0x3060d7=_0x36a6a7;if(_0x3060d7[_0x10a96b(0x129)]===0x191){if(typeof window>'u')throw new Error(_0x10a96b(0x29d));if(window[_0x10a96b(0x2ec)](this['localeService']['t'](_0x10a96b(0x2b3)))){const _0x25b816=window[_0x10a96b(0x301)](window[_0x10a96b(0x30b)][_0x10a96b(0x297)]);window[_0x10a96b(0x30b)][_0x10a96b(0x297)]=this['_getLoginPath']()+'?url='+_0x25b816;}}return _0x3060d7;}))});}[_0xebfca7(0x14e)](){var _0x8dc468=_0xebfca7,_0x852ca3,_0x36194d;const _0x38e727=this[_0x8dc468(0x234)][_0x8dc468(0x1d5)](xn),_0x31b4c2=this[_0x8dc468(0x234)][_0x8dc468(0x1d5)](q);return(_0x36194d=(_0x852ca3=_0x31b4c2==null?void 0x0:_0x31b4c2[_0x8dc468(0xec)])!=null?_0x852ca3:_0x38e727)!=null?_0x36194d:Ln;}};st=yr([vt(0x0,_0x3e9aa3),vt(0x1,_0x350f87(_0x2db2ac)),vt(0x2,_0x350f87(_0x1a7de2))],st);var Nr=Object[_0xebfca7(0xda)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x28eb7d,_0x4706e6,_0x2e2c2e,_0x2db2fe)=>{var _0xfa55e2=_0xebfca7;for(var _0x35cc75=_0x2db2fe>0x1?void 0x0:_0x2db2fe?Dr(_0x4706e6,_0x2e2c2e):_0x4706e6,_0x18526c=_0x28eb7d[_0xfa55e2(0x124)]-0x1,_0x596b0f;_0x18526c>=0x0;_0x18526c--)(_0x596b0f=_0x28eb7d[_0x18526c])&&(_0x35cc75=(_0x2db2fe?_0x596b0f(_0x4706e6,_0x2e2c2e,_0x35cc75):_0x596b0f(_0x35cc75))||_0x35cc75);return _0x2db2fe&&_0x35cc75&&Nr(_0x4706e6,_0x2e2c2e,_0x35cc75),_0x35cc75;},Xt=(_0x124889,_0x41c9b9)=>(_0x487b36,_0x110e14)=>_0x41c9b9(_0x487b36,_0x110e14,_0x124889);const Pi=_0xebfca7(0xc4),wr=_0xebfca7(0x2eb);let bt=class extends _0x10bb52{constructor(_0x3683d1,_0x3fd686){var _0x357c08=_0xebfca7;super(),this['_HTTPService']=_0x3683d1,this[_0x357c08(0x234)]=_0x3fd686,this[_0x357c08(0xce)]();}[_0xebfca7(0xce)](){var _0x5da03c=_0xebfca7;const _0x6fabc9=this;this['disposeWithMe'](this[_0x5da03c(0x94)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2a9a62({'isMatch'(_0x56451c){var _0x413da5=_0x5da03c,_0x2ced65;if(_0x56451c[_0x413da5(0x1f9)]===_0x413da5(0x32a)&&((_0x2ced65=_0x56451c[_0x413da5(0xeb)])!=null&&_0x2ced65['body'])){const {objectID:_0x58c01e,objectType:_0x473020}=_0x56451c[_0x413da5(0xeb)][_0x413da5(0x310)]||{};if(!_0x58c01e||_0x473020===void 0x0)return!0x1;const _0x386f70=_0x6fabc9['_getAPIPrefixPath']()+'/'+_0x473020+_0x413da5(0x11e)+_0x58c01e+_0x413da5(0x9d);if(_0x56451c['url']===_0x386f70)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bfd27){var _0x5ec118=_0x5da03c,_0x52f324;return(_0x52f324=_0x1bfd27[_0x5ec118(0xeb)])==null?void 0x0:_0x52f324['body'];},'mergeParamsToRequest'(_0x22a1b4,_0x59c345){var _0x435e2a=_0x5da03c;const _0x40c03c=_0x6fabc9[_0x435e2a(0x28f)]()+_0x435e2a(0x12b),_0x541e66=_0x22a1b4[_0x435e2a(0x130)]((_0x366c75,_0x5639a4)=>{var _0x58ad99=_0x435e2a;const {unitID:_0x3df469,objectID:_0x44fb42,objectType:_0x191ea8,actions:_0x5bdc5c}=_0x5639a4;return _0x366c75[_0x3df469]||(_0x366c75[_0x3df469]={}),_0x366c75[_0x3df469][_0x44fb42]||(_0x366c75[_0x3df469][_0x44fb42]={'objectID':_0x44fb42,'objectType':_0x191ea8,'actions':[]}),_0x366c75[_0x3df469][_0x44fb42][_0x58ad99(0x27a)][_0x58ad99(0xca)](..._0x5bdc5c),_0x366c75;},{}),_0x4da528=[];for(const _0x323435 in _0x541e66)for(const _0x3e10e7 in _0x541e66[_0x323435]){const {actions:_0x2e20f9,objectType:_0x2aaa51}=_0x541e66[_0x323435][_0x3e10e7],_0x3b5296=[...new Set(_0x2e20f9)];_0x4da528[_0x435e2a(0xca)]({'unitID':_0x323435,'objectID':_0x3e10e7,'objectType':_0x2aaa51,'actions':_0x3b5296});}return new _0x4e5eb7(_0x435e2a(0x32a),_0x40c03c,{'headers':_0x59c345[_0x435e2a(0x340)],'withCredentials':_0x59c345[_0x435e2a(0xb8)],'responseType':_0x59c345[_0x435e2a(0x250)],'body':{'requests':_0x4da528}});}},{'distributeResult'(_0x3e8c86,_0x2ed739){var _0x310271=_0x5da03c;const {objectActions:_0x25f661}=_0x3e8c86;return _0x2ed739[_0x310271(0x147)](_0x368893=>{var _0x4aa028=_0x310271;const {unitID:_0x38fe44,objectID:_0x489553,actions:_0x2552a5}=_0x368893,_0x5ce39a=_0x25f661['find'](_0x47f759=>_0x47f759[_0x4aa028(0x37e)]===_0x38fe44&&_0x47f759[_0x4aa028(0x227)]===_0x489553),_0x5f358e=_0x2552a5[_0x4aa028(0x147)](_0xb6f429=>_0x5ce39a==null?void 0x0:_0x5ce39a[_0x4aa028(0x27a)][_0x4aa028(0x18b)](_0x483072=>_0x483072[_0x4aa028(0x22c)]===_0xb6f429))[_0x4aa028(0x372)](_0x139634=>!!_0x139634);return{'config':_0x368893,'result':{'actions':_0x5f358e,'error':_0x3e8c86[_0x4aa028(0x2f8)]}};});}})}));}[_0xebfca7(0x28f)](){var _0x5ab06f=_0xebfca7,_0x2a482e,_0x24fa8f;const _0x472e3e=this[_0x5ab06f(0x234)][_0x5ab06f(0x1d5)](Pi),_0x5d0db4=this['_configService']['getConfig'](q);return(_0x24fa8f=(_0x2a482e=_0x5d0db4==null?void 0x0:_0x5d0db4[_0x5ab06f(0x329)])!=null?_0x2a482e:_0x472e3e)!=null?_0x24fa8f:wr;}async[_0xebfca7(0x26b)](_0x3d6100){var _0x1f9940=_0xebfca7;const _0x25be61=this[_0x1f9940(0x28f)]()+'/'+_0x3d6100['objectType']+'/object';return(await this[_0x1f9940(0x94)][_0x1f9940(0xe4)](_0x25be61,{'body':_0x3d6100}))[_0x1f9940(0x310)][_0x1f9940(0x227)]||'';}async[_0xebfca7(0x216)](_0x5b060a){var _0x4ad2e5=_0xebfca7;const _0x2b3e7d=this[_0x4ad2e5(0x28f)]()+_0x4ad2e5(0x287);return(await this[_0x4ad2e5(0x94)][_0x4ad2e5(0xe4)](_0x2b3e7d,{'body':_0x5b060a}))['body'][_0x4ad2e5(0xe7)];}async[_0xebfca7(0x215)](_0x403eae){var _0x2ecea7=_0xebfca7;const _0xf2f6f1=this[_0x2ecea7(0x28f)]()+'/'+_0x403eae[_0x2ecea7(0x101)]+_0x2ecea7(0x11e)+_0x403eae[_0x2ecea7(0x227)];await this['_HTTPService']['put'](_0xf2f6f1,{'body':_0x403eae});}async[_0xebfca7(0x104)](_0x43a51e){var _0x50f1aa=_0xebfca7;const _0x1026f4=this[_0x50f1aa(0x28f)]()+'/'+_0x43a51e[_0x50f1aa(0x101)]+'/object/'+_0x43a51e['objectID']+_0x50f1aa(0x9d);return(await this['_HTTPService'][_0x50f1aa(0xe4)](_0x1026f4,{'body':_0x43a51e}))[_0x50f1aa(0x310)][_0x50f1aa(0x27a)];}async[_0xebfca7(0x2b0)](_0x6db31d){var _0x453786=_0xebfca7;const _0x1e4788=this['_getAPIPrefixPath']()+_0x453786(0x12b);return(await this['_HTTPService'][_0x453786(0xe4)](_0x1e4788,{'body':{'requests':_0x6db31d}}))[_0x453786(0x310)][_0x453786(0x12a)];}async[_0xebfca7(0x158)](_0x588d6c){var _0x358f1e=_0xebfca7;const _0x4b5b18=this[_0x358f1e(0x28f)]()+'/'+_0x588d6c[_0x358f1e(0x101)]+'/role',_0xf3b290=await this[_0x358f1e(0x94)]['post'](_0x4b5b18,{'body':_0x588d6c});return{'roles':_0xf3b290[_0x358f1e(0x310)]['roles'],'actions':_0xf3b290[_0x358f1e(0x310)]['actions']};}async[_0xebfca7(0x9b)](_0x15daef){var _0x2aacf2=_0xebfca7;const _0x5080c8=this[_0x2aacf2(0x28f)]()+_0x2aacf2(0x2e1);await this['_HTTPService'][_0x2aacf2(0x2bd)](_0x5080c8,{'params':{'collaboratorID':_0x15daef[_0x2aacf2(0x13c)],'objectID':_0x15daef[_0x2aacf2(0x227)],'unitID':_0x15daef[_0x2aacf2(0x37e)]}});}async[_0xebfca7(0x262)](_0x45815b){var _0x2c9f28=_0xebfca7;const _0x351726=this[_0x2c9f28(0x28f)]()+_0x2c9f28(0x2e1);await this[_0x2c9f28(0x94)][_0x2c9f28(0x2ed)](_0x351726,{'body':_0x45815b});}async['createCollaborator'](_0x4bfeda){var _0x2e855b=_0xebfca7;const _0x5d0bf5=this[_0x2e855b(0x28f)]()+_0x2e855b(0x2e1);await this['_HTTPService']['post'](_0x5d0bf5,{'body':_0x4bfeda});}async[_0xebfca7(0x221)](_0x3dfe3a){var _0x454403=_0xebfca7;const _0xc289ee=this[_0x454403(0x28f)]()+_0x454403(0x2e1);return(await this[_0x454403(0x94)][_0x454403(0x308)](_0xc289ee,{'params':{'objectID':_0x3dfe3a[_0x454403(0x227)],'unitID':_0x3dfe3a[_0x454403(0x37e)]}}))[_0x454403(0x310)][_0x454403(0x217)];}async['putCollaborators'](_0x2602b4){var _0x21bbae=_0xebfca7;const _0x2ae9bf=this[_0x21bbae(0x28f)]()+_0x21bbae(0x2e1);await this['_HTTPService'][_0x21bbae(0x171)](_0x2ae9bf,{'body':_0x2602b4});}};bt=Pr([Xt(0x0,_0x350f87(_0x2db2ac)),Xt(0x1,_0x350f87(_0x3e9aa3))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x1b024e){var _0x1683d4=_0xebfca7;return _0x1b024e&&_0x1b024e[_0x1683d4(0x16c)]&&Object[_0x1683d4(0x1cd)][_0x1683d4(0xa8)][_0x1683d4(0x1da)](_0x1b024e,_0x1683d4(0x21d))?_0x1b024e[_0x1683d4(0x21d)]:_0x1b024e;}var Ve={'exports':{}};function Ur(_0x221f65){var _0x1a8bc4=_0xebfca7;throw new Error(_0x1a8bc4(0xbd)+_0x221f65+_0x1a8bc4(0x133));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){var _0x54036f=_0xebfca7;return Zt||(Zt=0x1,function(_0x45a15c,_0x4f8d75){(function(_0x135e60,_0x3b64da){var _0x1ea2ac=_0x1328;_0x45a15c[_0x1ea2ac(0x123)]=_0x3b64da();}(Ar,function(){var _0x3d8eb9=_0x3d8eb9||function(_0x4bcefb,_0x43839e){var _0x436080=_0x1328,_0x4ce933;if(typeof window<'u'&&window['crypto']&&(_0x4ce933=window[_0x436080(0x93)]),typeof self<'u'&&self[_0x436080(0x93)]&&(_0x4ce933=self[_0x436080(0x93)]),typeof globalThis<'u'&&globalThis[_0x436080(0x93)]&&(_0x4ce933=globalThis[_0x436080(0x93)]),!_0x4ce933&&typeof window<'u'&&window[_0x436080(0x2ca)]&&(_0x4ce933=window[_0x436080(0x2ca)]),!_0x4ce933&&typeof pt<'u'&&pt[_0x436080(0x93)]&&(_0x4ce933=pt[_0x436080(0x93)]),!_0x4ce933&&typeof Ur=='function')try{_0x4ce933=require(_0x436080(0x93));}catch{}var _0x194686=function(){var _0x41a653=_0x436080;if(_0x4ce933){if(typeof _0x4ce933[_0x41a653(0xcf)]==_0x41a653(0x2ff))try{return _0x4ce933[_0x41a653(0xcf)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4ce933[_0x41a653(0x1ae)]==_0x41a653(0x2ff))try{return _0x4ce933['randomBytes'](0x4)[_0x41a653(0xa7)]();}catch{}}throw new Error(_0x41a653(0x1b0));},_0x4e5867=Object['create']||(function(){function _0x3f128d(){}return function(_0x3c722b){var _0x182640=_0x1328,_0x90296c;return _0x3f128d[_0x182640(0x1cd)]=_0x3c722b,_0x90296c=new _0x3f128d(),_0x3f128d[_0x182640(0x1cd)]=null,_0x90296c;};}()),_0x15d50e={},_0x25ac1d=_0x15d50e[_0x436080(0x20c)]={},_0x1bd705=_0x25ac1d[_0x436080(0x318)]=(function(){return{'extend':function(_0x294a03){var _0x132847=_0x1328,_0xc36e38=_0x4e5867(this);return _0x294a03&&_0xc36e38[_0x132847(0x17c)](_0x294a03),(!_0xc36e38['hasOwnProperty'](_0x132847(0x121))||this[_0x132847(0x121)]===_0xc36e38[_0x132847(0x121)])&&(_0xc36e38[_0x132847(0x121)]=function(){var _0x190448=_0x132847;_0xc36e38[_0x190448(0x2e0)][_0x190448(0x121)][_0x190448(0xff)](this,arguments);}),_0xc36e38[_0x132847(0x121)][_0x132847(0x1cd)]=_0xc36e38,_0xc36e38[_0x132847(0x2e0)]=this,_0xc36e38;},'create':function(){var _0xc1ef46=_0x1328,_0x5a2fae=this[_0xc1ef46(0xd2)]();return _0x5a2fae[_0xc1ef46(0x121)][_0xc1ef46(0xff)](_0x5a2fae,arguments),_0x5a2fae;},'init':function(){},'mixIn':function(_0x2a9127){var _0x24646c=_0x1328;for(var _0x439934 in _0x2a9127)_0x2a9127[_0x24646c(0xa8)](_0x439934)&&(this[_0x439934]=_0x2a9127[_0x439934]);_0x2a9127[_0x24646c(0xa8)](_0x24646c(0x153))&&(this[_0x24646c(0x153)]=_0x2a9127[_0x24646c(0x153)]);},'clone':function(){var _0x5d7449=_0x1328;return this[_0x5d7449(0x121)][_0x5d7449(0x1cd)][_0x5d7449(0xd2)](this);}};}()),_0x1eddcb=_0x25ac1d[_0x436080(0x15d)]=_0x1bd705[_0x436080(0xd2)]({'init':function(_0x144fdd,_0x2e4a19){var _0x5a3301=_0x436080;_0x144fdd=this[_0x5a3301(0x207)]=_0x144fdd||[],_0x2e4a19!=_0x43839e?this[_0x5a3301(0x11a)]=_0x2e4a19:this[_0x5a3301(0x11a)]=_0x144fdd[_0x5a3301(0x124)]*0x4;},'toString':function(_0x49e777){var _0x5e5abb=_0x436080;return(_0x49e777||_0x376ebd)[_0x5e5abb(0x357)](this);},'concat':function(_0x3498de){var _0x223d02=_0x436080,_0x55583c=this[_0x223d02(0x207)],_0x551cf9=_0x3498de[_0x223d02(0x207)],_0x3f6ffd=this[_0x223d02(0x11a)],_0x3e10c9=_0x3498de['sigBytes'];if(this[_0x223d02(0x16f)](),_0x3f6ffd%0x4)for(var _0x4f02ce=0x0;_0x4f02ce<_0x3e10c9;_0x4f02ce++){var _0x433c3d=_0x551cf9[_0x4f02ce>>>0x2]>>>0x18-_0x4f02ce%0x4*0x8&0xff;_0x55583c[_0x3f6ffd+_0x4f02ce>>>0x2]|=_0x433c3d<<0x18-(_0x3f6ffd+_0x4f02ce)%0x4*0x8;}else{for(var _0xee4bfa=0x0;_0xee4bfa<_0x3e10c9;_0xee4bfa+=0x4)_0x55583c[_0x3f6ffd+_0xee4bfa>>>0x2]=_0x551cf9[_0xee4bfa>>>0x2];}return this[_0x223d02(0x11a)]+=_0x3e10c9,this;},'clamp':function(){var _0x2c5a13=_0x436080,_0x581c7a=this[_0x2c5a13(0x207)],_0x48e122=this[_0x2c5a13(0x11a)];_0x581c7a[_0x48e122>>>0x2]&=0xffffffff<<0x20-_0x48e122%0x4*0x8,_0x581c7a['length']=_0x4bcefb['ceil'](_0x48e122/0x4);},'clone':function(){var _0xb8f0a7=_0x436080,_0x1d9965=_0x1bd705[_0xb8f0a7(0x103)][_0xb8f0a7(0x1da)](this);return _0x1d9965[_0xb8f0a7(0x207)]=this[_0xb8f0a7(0x207)][_0xb8f0a7(0x164)](0x0),_0x1d9965;},'random':function(_0x4bea14){var _0x141425=_0x436080;for(var _0x10c0f6=[],_0x56f3b3=0x0;_0x56f3b3<_0x4bea14;_0x56f3b3+=0x4)_0x10c0f6[_0x141425(0xca)](_0x194686());return new _0x1eddcb[(_0x141425(0x121))](_0x10c0f6,_0x4bea14);}}),_0x5c49d0=_0x15d50e['enc']={},_0x376ebd=_0x5c49d0[_0x436080(0x35c)]={'stringify':function(_0x5278a8){var _0x47bd55=_0x436080;for(var _0x40977d=_0x5278a8['words'],_0xa2c459=_0x5278a8[_0x47bd55(0x11a)],_0x32113c=[],_0x1b5516=0x0;_0x1b5516<_0xa2c459;_0x1b5516++){var _0x70f012=_0x40977d[_0x1b5516>>>0x2]>>>0x18-_0x1b5516%0x4*0x8&0xff;_0x32113c[_0x47bd55(0xca)]((_0x70f012>>>0x4)[_0x47bd55(0x153)](0x10)),_0x32113c['push']((_0x70f012&0xf)['toString'](0x10));}return _0x32113c[_0x47bd55(0x247)]('');},'parse':function(_0x4c7e75){var _0x43071c=_0x436080;for(var _0x33a7cc=_0x4c7e75['length'],_0x3710e6=[],_0x4ecf97=0x0;_0x4ecf97<_0x33a7cc;_0x4ecf97+=0x2)_0x3710e6[_0x4ecf97>>>0x3]|=parseInt(_0x4c7e75[_0x43071c(0x268)](_0x4ecf97,0x2),0x10)<<0x18-_0x4ecf97%0x8*0x4;return new _0x1eddcb[(_0x43071c(0x121))](_0x3710e6,_0x33a7cc/0x2);}},_0x57fc3e=_0x5c49d0[_0x436080(0x11d)]={'stringify':function(_0x1c3a4e){var _0x1db79d=_0x436080;for(var _0x1b1d9c=_0x1c3a4e[_0x1db79d(0x207)],_0xfb3e2a=_0x1c3a4e[_0x1db79d(0x11a)],_0x52fc43=[],_0x260925=0x0;_0x260925<_0xfb3e2a;_0x260925++){var _0x5139c7=_0x1b1d9c[_0x260925>>>0x2]>>>0x18-_0x260925%0x4*0x8&0xff;_0x52fc43[_0x1db79d(0xca)](String[_0x1db79d(0x1fb)](_0x5139c7));}return _0x52fc43[_0x1db79d(0x247)]('');},'parse':function(_0x414b12){var _0x2c07ec=_0x436080;for(var _0x145654=_0x414b12['length'],_0x3b4332=[],_0x3927f3=0x0;_0x3927f3<_0x145654;_0x3927f3++)_0x3b4332[_0x3927f3>>>0x2]|=(_0x414b12[_0x2c07ec(0x1f4)](_0x3927f3)&0xff)<<0x18-_0x3927f3%0x4*0x8;return new _0x1eddcb[(_0x2c07ec(0x121))](_0x3b4332,_0x145654);}},_0x3980f7=_0x5c49d0['Utf8']={'stringify':function(_0x50c258){var _0x557cef=_0x436080;try{return decodeURIComponent(escape(_0x57fc3e[_0x557cef(0x357)](_0x50c258)));}catch{throw new Error(_0x557cef(0x1ea));}},'parse':function(_0x5706d4){return _0x57fc3e['parse'](unescape(encodeURIComponent(_0x5706d4)));}},_0x32a739=_0x25ac1d[_0x436080(0x15f)]=_0x1bd705['extend']({'reset':function(){var _0xe9ec94=_0x436080;this[_0xe9ec94(0x277)]=new _0x1eddcb[(_0xe9ec94(0x121))](),this[_0xe9ec94(0x165)]=0x0;},'_append':function(_0x41df99){var _0x4ddff8=_0x436080;typeof _0x41df99==_0x4ddff8(0x370)&&(_0x41df99=_0x3980f7[_0x4ddff8(0x23d)](_0x41df99)),this[_0x4ddff8(0x277)]['concat'](_0x41df99),this[_0x4ddff8(0x165)]+=_0x41df99[_0x4ddff8(0x11a)];},'_process':function(_0x5bf30d){var _0x12fc44=_0x436080,_0x19e911,_0x35106b=this[_0x12fc44(0x277)],_0x1ac029=_0x35106b[_0x12fc44(0x207)],_0x1a0ff8=_0x35106b[_0x12fc44(0x11a)],_0x26f454=this[_0x12fc44(0x2cd)],_0x1e7865=_0x26f454*0x4,_0x253b49=_0x1a0ff8/_0x1e7865;_0x5bf30d?_0x253b49=_0x4bcefb['ceil'](_0x253b49):_0x253b49=_0x4bcefb['max']((_0x253b49|0x0)-this[_0x12fc44(0x197)],0x0);var _0xd4479f=_0x253b49*_0x26f454,_0x5ef9ce=_0x4bcefb[_0x12fc44(0x2bc)](_0xd4479f*0x4,_0x1a0ff8);if(_0xd4479f){for(var _0x2fa6a6=0x0;_0x2fa6a6<_0xd4479f;_0x2fa6a6+=_0x26f454)this[_0x12fc44(0x364)](_0x1ac029,_0x2fa6a6);_0x19e911=_0x1ac029['splice'](0x0,_0xd4479f),_0x35106b['sigBytes']-=_0x5ef9ce;}return new _0x1eddcb[(_0x12fc44(0x121))](_0x19e911,_0x5ef9ce);},'clone':function(){var _0x1b21f0=_0x436080,_0x365f9f=_0x1bd705[_0x1b21f0(0x103)][_0x1b21f0(0x1da)](this);return _0x365f9f['_data']=this[_0x1b21f0(0x277)]['clone'](),_0x365f9f;},'_minBufferSize':0x0});_0x25ac1d[_0x436080(0x10d)]=_0x32a739['extend']({'cfg':_0x1bd705['extend'](),'init':function(_0x4ec31c){var _0x15e7e8=_0x436080;this[_0x15e7e8(0x27d)]=this[_0x15e7e8(0x27d)][_0x15e7e8(0xd2)](_0x4ec31c),this[_0x15e7e8(0x91)]();},'reset':function(){var _0x44402e=_0x436080;_0x32a739[_0x44402e(0x91)]['call'](this),this[_0x44402e(0xcc)]();},'update':function(_0x392e94){var _0x244cb6=_0x436080;return this['_append'](_0x392e94),this[_0x244cb6(0x187)](),this;},'finalize':function(_0x59aac8){var _0x4b50c9=_0x436080;_0x59aac8&&this['_append'](_0x59aac8);var _0x8297=this[_0x4b50c9(0x33b)]();return _0x8297;},'blockSize':0x10,'_createHelper':function(_0x41a0d1){return function(_0x3731cb,_0x4f8d58){var _0x117095=_0x1328;return new _0x41a0d1['init'](_0x4f8d58)[_0x117095(0x203)](_0x3731cb);};},'_createHmacHelper':function(_0x1efa65){return function(_0x1d4357,_0x184d39){var _0x32d08b=_0x1328;return new _0x9f8071[(_0x32d08b(0x116))][(_0x32d08b(0x121))](_0x1efa65,_0x184d39)[_0x32d08b(0x203)](_0x1d4357);};}});var _0x9f8071=_0x15d50e[_0x436080(0x377)]={};return _0x15d50e;}(Math);return _0x3d8eb9;}));}(Ge)),Ge[_0x54036f(0x123)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){return Qt||(Qt=0x1,function(_0x29f898,_0x3fbb07){(function(_0x43caa6,_0x244be0){var _0x543f6b=_0x1328;_0x29f898[_0x543f6b(0x123)]=_0x244be0(ne());}(xr,function(_0x302d1c){var _0x3b86ad=_0x1328;return(function(){var _0x4ceebe=_0x1328,_0x49b2fe=_0x302d1c,_0xbe1eb0=_0x49b2fe[_0x4ceebe(0x20c)],_0xe9a467=_0xbe1eb0['WordArray'],_0x1bfe42=_0x49b2fe[_0x4ceebe(0x136)];_0x1bfe42[_0x4ceebe(0x327)]={'stringify':function(_0x2463ab){var _0x435485=_0x4ceebe,_0x5b0d90=_0x2463ab[_0x435485(0x207)],_0x51f0c1=_0x2463ab[_0x435485(0x11a)],_0x5e1ee0=this[_0x435485(0x1c1)];_0x2463ab[_0x435485(0x16f)]();for(var _0x3b183f=[],_0x389f3f=0x0;_0x389f3f<_0x51f0c1;_0x389f3f+=0x3)for(var _0x31ef11=_0x5b0d90[_0x389f3f>>>0x2]>>>0x18-_0x389f3f%0x4*0x8&0xff,_0x4f6113=_0x5b0d90[_0x389f3f+0x1>>>0x2]>>>0x18-(_0x389f3f+0x1)%0x4*0x8&0xff,_0x314e7d=_0x5b0d90[_0x389f3f+0x2>>>0x2]>>>0x18-(_0x389f3f+0x2)%0x4*0x8&0xff,_0x5336e9=_0x31ef11<<0x10|_0x4f6113<<0x8|_0x314e7d,_0x585a08=0x0;_0x585a08<0x4&&_0x389f3f+_0x585a08*0.75<_0x51f0c1;_0x585a08++)_0x3b183f['push'](_0x5e1ee0['charAt'](_0x5336e9>>>0x6*(0x3-_0x585a08)&0x3f));var _0x3dfbfd=_0x5e1ee0['charAt'](0x40);if(_0x3dfbfd){for(;_0x3b183f['length']%0x4;)_0x3b183f['push'](_0x3dfbfd);}return _0x3b183f[_0x435485(0x247)]('');},'parse':function(_0x50a298){var _0x18ccc5=_0x4ceebe,_0x5f3b8d=_0x50a298['length'],_0x4fa917=this[_0x18ccc5(0x1c1)],_0x3198d2=this[_0x18ccc5(0x219)];if(!_0x3198d2){_0x3198d2=this[_0x18ccc5(0x219)]=[];for(var _0x147c64=0x0;_0x147c64<_0x4fa917[_0x18ccc5(0x124)];_0x147c64++)_0x3198d2[_0x4fa917['charCodeAt'](_0x147c64)]=_0x147c64;}var _0x8ad7d6=_0x4fa917[_0x18ccc5(0x279)](0x40);if(_0x8ad7d6){var _0x1012d1=_0x50a298['indexOf'](_0x8ad7d6);_0x1012d1!==-0x1&&(_0x5f3b8d=_0x1012d1);}return _0x83d21(_0x50a298,_0x5f3b8d,_0x3198d2);},'_map':_0x4ceebe(0x1c3)};function _0x83d21(_0x1a2858,_0x3157c0,_0x43e330){var _0xc67de6=_0x4ceebe;for(var _0x3bee9c=[],_0x2be3de=0x0,_0x220af8=0x0;_0x220af8<_0x3157c0;_0x220af8++)if(_0x220af8%0x4){var _0x13c605=_0x43e330[_0x1a2858[_0xc67de6(0x1f4)](_0x220af8-0x1)]<<_0x220af8%0x4*0x2,_0x496903=_0x43e330[_0x1a2858[_0xc67de6(0x1f4)](_0x220af8)]>>>0x6-_0x220af8%0x4*0x2,_0x5c3e1e=_0x13c605|_0x496903;_0x3bee9c[_0x2be3de>>>0x2]|=_0x5c3e1e<<0x18-_0x2be3de%0x4*0x8,_0x2be3de++;}return _0xe9a467[_0xc67de6(0x26b)](_0x3bee9c,_0x2be3de);}}()),_0x302d1c[_0x3b86ad(0x136)][_0x3b86ad(0x327)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0xebfca7(0x123)],ei;function Mr(){var _0x58de64=_0xebfca7;return ei||(ei=0x1,function(_0x317171,_0x427e75){(function(_0x4ca69d,_0x3225e9){_0x317171['exports']=_0x3225e9(ne());}(Lr,function(_0x53e918){var _0x1811d7=_0x1328;return function(_0x34b2be){var _0x4182f4=_0x1328,_0x33c93a=_0x53e918,_0x2840a7=_0x33c93a[_0x4182f4(0x20c)],_0x4f5a7e=_0x2840a7['WordArray'],_0x1d0f14=_0x2840a7[_0x4182f4(0x10d)],_0x6391fa=_0x33c93a[_0x4182f4(0x377)],_0xc26ee3=[];(function(){var _0x3c426e=_0x4182f4;for(var _0xd92fb9=0x0;_0xd92fb9<0x40;_0xd92fb9++)_0xc26ee3[_0xd92fb9]=_0x34b2be[_0x3c426e(0x2f4)](_0x34b2be['sin'](_0xd92fb9+0x1))*0x100000000|0x0;}());var _0x55041c=_0x6391fa[_0x4182f4(0xf2)]=_0x1d0f14[_0x4182f4(0xd2)]({'_doReset':function(){var _0x542995=_0x4182f4;this[_0x542995(0xd4)]=new _0x4f5a7e[(_0x542995(0x121))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x43f71a,_0x3b0940){var _0x5a6bbb=_0x4182f4;for(var _0x43692c=0x0;_0x43692c<0x10;_0x43692c++){var _0x290845=_0x3b0940+_0x43692c,_0x32a429=_0x43f71a[_0x290845];_0x43f71a[_0x290845]=(_0x32a429<<0x8|_0x32a429>>>0x18)&0xff00ff|(_0x32a429<<0x18|_0x32a429>>>0x8)&0xff00ff00;}var _0x2dd274=this[_0x5a6bbb(0xd4)][_0x5a6bbb(0x207)],_0x1952c3=_0x43f71a[_0x3b0940+0x0],_0x2bfa40=_0x43f71a[_0x3b0940+0x1],_0x23757b=_0x43f71a[_0x3b0940+0x2],_0x2a327a=_0x43f71a[_0x3b0940+0x3],_0x2ac6bc=_0x43f71a[_0x3b0940+0x4],_0x2ed457=_0x43f71a[_0x3b0940+0x5],_0x11f765=_0x43f71a[_0x3b0940+0x6],_0x4e4da9=_0x43f71a[_0x3b0940+0x7],_0xf905a3=_0x43f71a[_0x3b0940+0x8],_0xe55b30=_0x43f71a[_0x3b0940+0x9],_0x37d1a1=_0x43f71a[_0x3b0940+0xa],_0x2d3269=_0x43f71a[_0x3b0940+0xb],_0x890058=_0x43f71a[_0x3b0940+0xc],_0x229096=_0x43f71a[_0x3b0940+0xd],_0x4af187=_0x43f71a[_0x3b0940+0xe],_0x18de4a=_0x43f71a[_0x3b0940+0xf],_0x2533fe=_0x2dd274[0x0],_0x207eb7=_0x2dd274[0x1],_0x260edb=_0x2dd274[0x2],_0xcfd261=_0x2dd274[0x3];_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x1952c3,0x7,_0xc26ee3[0x0]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2bfa40,0xc,_0xc26ee3[0x1]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x23757b,0x11,_0xc26ee3[0x2]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2a327a,0x16,_0xc26ee3[0x3]),_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ac6bc,0x7,_0xc26ee3[0x4]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2ed457,0xc,_0xc26ee3[0x5]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x11f765,0x11,_0xc26ee3[0x6]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x4e4da9,0x16,_0xc26ee3[0x7]),_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xf905a3,0x7,_0xc26ee3[0x8]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0xe55b30,0xc,_0xc26ee3[0x9]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x37d1a1,0x11,_0xc26ee3[0xa]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2d3269,0x16,_0xc26ee3[0xb]),_0x2533fe=_0x3185be(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x890058,0x7,_0xc26ee3[0xc]),_0xcfd261=_0x3185be(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x229096,0xc,_0xc26ee3[0xd]),_0x260edb=_0x3185be(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4af187,0x11,_0xc26ee3[0xe]),_0x207eb7=_0x3185be(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x18de4a,0x16,_0xc26ee3[0xf]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2bfa40,0x5,_0xc26ee3[0x10]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x11f765,0x9,_0xc26ee3[0x11]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2d3269,0xe,_0xc26ee3[0x12]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x1952c3,0x14,_0xc26ee3[0x13]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ed457,0x5,_0xc26ee3[0x14]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x37d1a1,0x9,_0xc26ee3[0x15]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x18de4a,0xe,_0xc26ee3[0x16]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2ac6bc,0x14,_0xc26ee3[0x17]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xe55b30,0x5,_0xc26ee3[0x18]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x4af187,0x9,_0xc26ee3[0x19]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2a327a,0xe,_0xc26ee3[0x1a]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0xf905a3,0x14,_0xc26ee3[0x1b]),_0x2533fe=_0x539661(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x229096,0x5,_0xc26ee3[0x1c]),_0xcfd261=_0x539661(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x23757b,0x9,_0xc26ee3[0x1d]),_0x260edb=_0x539661(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4e4da9,0xe,_0xc26ee3[0x1e]),_0x207eb7=_0x539661(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x890058,0x14,_0xc26ee3[0x1f]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ed457,0x4,_0xc26ee3[0x20]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0xf905a3,0xb,_0xc26ee3[0x21]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2d3269,0x10,_0xc26ee3[0x22]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x4af187,0x17,_0xc26ee3[0x23]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2bfa40,0x4,_0xc26ee3[0x24]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2ac6bc,0xb,_0xc26ee3[0x25]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4e4da9,0x10,_0xc26ee3[0x26]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x37d1a1,0x17,_0xc26ee3[0x27]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x229096,0x4,_0xc26ee3[0x28]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x1952c3,0xb,_0xc26ee3[0x29]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x2a327a,0x10,_0xc26ee3[0x2a]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x11f765,0x17,_0xc26ee3[0x2b]),_0x2533fe=_0x48a0f9(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xe55b30,0x4,_0xc26ee3[0x2c]),_0xcfd261=_0x48a0f9(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x890058,0xb,_0xc26ee3[0x2d]),_0x260edb=_0x48a0f9(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x18de4a,0x10,_0xc26ee3[0x2e]),_0x207eb7=_0x48a0f9(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x23757b,0x17,_0xc26ee3[0x2f]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x1952c3,0x6,_0xc26ee3[0x30]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x4e4da9,0xa,_0xc26ee3[0x31]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x4af187,0xf,_0xc26ee3[0x32]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2ed457,0x15,_0xc26ee3[0x33]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x890058,0x6,_0xc26ee3[0x34]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2a327a,0xa,_0xc26ee3[0x35]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x37d1a1,0xf,_0xc26ee3[0x36]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x2bfa40,0x15,_0xc26ee3[0x37]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0xf905a3,0x6,_0xc26ee3[0x38]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x18de4a,0xa,_0xc26ee3[0x39]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x11f765,0xf,_0xc26ee3[0x3a]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0x229096,0x15,_0xc26ee3[0x3b]),_0x2533fe=_0xce0a4f(_0x2533fe,_0x207eb7,_0x260edb,_0xcfd261,_0x2ac6bc,0x6,_0xc26ee3[0x3c]),_0xcfd261=_0xce0a4f(_0xcfd261,_0x2533fe,_0x207eb7,_0x260edb,_0x2d3269,0xa,_0xc26ee3[0x3d]),_0x260edb=_0xce0a4f(_0x260edb,_0xcfd261,_0x2533fe,_0x207eb7,_0x23757b,0xf,_0xc26ee3[0x3e]),_0x207eb7=_0xce0a4f(_0x207eb7,_0x260edb,_0xcfd261,_0x2533fe,_0xe55b30,0x15,_0xc26ee3[0x3f]),_0x2dd274[0x0]=_0x2dd274[0x0]+_0x2533fe|0x0,_0x2dd274[0x1]=_0x2dd274[0x1]+_0x207eb7|0x0,_0x2dd274[0x2]=_0x2dd274[0x2]+_0x260edb|0x0,_0x2dd274[0x3]=_0x2dd274[0x3]+_0xcfd261|0x0;},'_doFinalize':function(){var _0x3e9408=_0x4182f4,_0x2bba2c=this[_0x3e9408(0x277)],_0x3c40fe=_0x2bba2c[_0x3e9408(0x207)],_0x5180bf=this[_0x3e9408(0x165)]*0x8,_0x4f6b03=_0x2bba2c[_0x3e9408(0x11a)]*0x8;_0x3c40fe[_0x4f6b03>>>0x5]|=0x80<<0x18-_0x4f6b03%0x20;var _0x2fd6ef=_0x34b2be[_0x3e9408(0xdc)](_0x5180bf/0x100000000),_0xae2f8b=_0x5180bf;_0x3c40fe[(_0x4f6b03+0x40>>>0x9<<0x4)+0xf]=(_0x2fd6ef<<0x8|_0x2fd6ef>>>0x18)&0xff00ff|(_0x2fd6ef<<0x18|_0x2fd6ef>>>0x8)&0xff00ff00,_0x3c40fe[(_0x4f6b03+0x40>>>0x9<<0x4)+0xe]=(_0xae2f8b<<0x8|_0xae2f8b>>>0x18)&0xff00ff|(_0xae2f8b<<0x18|_0xae2f8b>>>0x8)&0xff00ff00,_0x2bba2c['sigBytes']=(_0x3c40fe[_0x3e9408(0x124)]+0x1)*0x4,this['_process']();for(var _0x502a54=this[_0x3e9408(0xd4)],_0x2b25c6=_0x502a54[_0x3e9408(0x207)],_0x2f18e6=0x0;_0x2f18e6<0x4;_0x2f18e6++){var _0x400b92=_0x2b25c6[_0x2f18e6];_0x2b25c6[_0x2f18e6]=(_0x400b92<<0x8|_0x400b92>>>0x18)&0xff00ff|(_0x400b92<<0x18|_0x400b92>>>0x8)&0xff00ff00;}return _0x502a54;},'clone':function(){var _0x2b340c=_0x4182f4,_0x44e23f=_0x1d0f14[_0x2b340c(0x103)][_0x2b340c(0x1da)](this);return _0x44e23f['_hash']=this[_0x2b340c(0xd4)][_0x2b340c(0x103)](),_0x44e23f;}});function _0x3185be(_0x2a7ce7,_0x555e17,_0x4c293b,_0x4fec96,_0xe79ce7,_0x4df16b,_0x2916e2){var _0x2abae8=_0x2a7ce7+(_0x555e17&_0x4c293b|~_0x555e17&_0x4fec96)+_0xe79ce7+_0x2916e2;return(_0x2abae8<<_0x4df16b|_0x2abae8>>>0x20-_0x4df16b)+_0x555e17;}function _0x539661(_0x4f27f4,_0x4e2717,_0x41de74,_0xfc3e5,_0x465a8f,_0x4a9e19,_0x212711){var _0x2d903f=_0x4f27f4+(_0x4e2717&_0xfc3e5|_0x41de74&~_0xfc3e5)+_0x465a8f+_0x212711;return(_0x2d903f<<_0x4a9e19|_0x2d903f>>>0x20-_0x4a9e19)+_0x4e2717;}function _0x48a0f9(_0x1b1c30,_0xcf86b8,_0x3bf836,_0x447fb6,_0x4dfd8d,_0x120216,_0x523c23){var _0x5d60d4=_0x1b1c30+(_0xcf86b8^_0x3bf836^_0x447fb6)+_0x4dfd8d+_0x523c23;return(_0x5d60d4<<_0x120216|_0x5d60d4>>>0x20-_0x120216)+_0xcf86b8;}function _0xce0a4f(_0x2376d6,_0x37eab3,_0xe5f323,_0x3b4e56,_0x4c70e4,_0x493afe,_0x4e2764){var _0x453695=_0x2376d6+(_0xe5f323^(_0x37eab3|~_0x3b4e56))+_0x4c70e4+_0x4e2764;return(_0x453695<<_0x493afe|_0x453695>>>0x20-_0x493afe)+_0x37eab3;}_0x33c93a['MD5']=_0x1d0f14[_0x4182f4(0x2b5)](_0x55041c),_0x33c93a['HmacMD5']=_0x1d0f14[_0x4182f4(0x2d5)](_0x55041c);}(Math),_0x53e918[_0x1811d7(0xf2)];}));}(Ke)),Ke[_0x58de64(0x123)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x589503=_0xebfca7;return ti||(ti=0x1,function(_0x3ba374,_0x175345){(function(_0x4d19be,_0x1f0311){var _0x5d8a71=_0x1328;_0x3ba374[_0x5d8a71(0x123)]=_0x1f0311(ne());}($r,function(_0x31b2f6){return(function(){var _0x2f02c8=_0x1328,_0x28f96b=_0x31b2f6,_0x1e86fe=_0x28f96b[_0x2f02c8(0x20c)],_0x49ac3c=_0x1e86fe[_0x2f02c8(0x15d)],_0x39d9c5=_0x1e86fe['Hasher'],_0x2f7a00=_0x28f96b['algo'],_0x186a27=[],_0x263dd9=_0x2f7a00['SHA1']=_0x39d9c5[_0x2f02c8(0xd2)]({'_doReset':function(){var _0xb4e325=_0x2f02c8;this['_hash']=new _0x49ac3c[(_0xb4e325(0x121))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x33db0b,_0x15c8be){var _0x445637=_0x2f02c8;for(var _0x2741a4=this[_0x445637(0xd4)]['words'],_0x51e640=_0x2741a4[0x0],_0x1bf549=_0x2741a4[0x1],_0x46f5ba=_0x2741a4[0x2],_0x1b2b9a=_0x2741a4[0x3],_0x2ef854=_0x2741a4[0x4],_0x4f4ee0=0x0;_0x4f4ee0<0x50;_0x4f4ee0++){if(_0x4f4ee0<0x10)_0x186a27[_0x4f4ee0]=_0x33db0b[_0x15c8be+_0x4f4ee0]|0x0;else{var _0x4b3853=_0x186a27[_0x4f4ee0-0x3]^_0x186a27[_0x4f4ee0-0x8]^_0x186a27[_0x4f4ee0-0xe]^_0x186a27[_0x4f4ee0-0x10];_0x186a27[_0x4f4ee0]=_0x4b3853<<0x1|_0x4b3853>>>0x1f;}var _0x493a3b=(_0x51e640<<0x5|_0x51e640>>>0x1b)+_0x2ef854+_0x186a27[_0x4f4ee0];_0x4f4ee0<0x14?_0x493a3b+=(_0x1bf549&_0x46f5ba|~_0x1bf549&_0x1b2b9a)+0x5a827999:_0x4f4ee0<0x28?_0x493a3b+=(_0x1bf549^_0x46f5ba^_0x1b2b9a)+0x6ed9eba1:_0x4f4ee0<0x3c?_0x493a3b+=(_0x1bf549&_0x46f5ba|_0x1bf549&_0x1b2b9a|_0x46f5ba&_0x1b2b9a)-0x70e44324:_0x493a3b+=(_0x1bf549^_0x46f5ba^_0x1b2b9a)-0x359d3e2a,_0x2ef854=_0x1b2b9a,_0x1b2b9a=_0x46f5ba,_0x46f5ba=_0x1bf549<<0x1e|_0x1bf549>>>0x2,_0x1bf549=_0x51e640,_0x51e640=_0x493a3b;}_0x2741a4[0x0]=_0x2741a4[0x0]+_0x51e640|0x0,_0x2741a4[0x1]=_0x2741a4[0x1]+_0x1bf549|0x0,_0x2741a4[0x2]=_0x2741a4[0x2]+_0x46f5ba|0x0,_0x2741a4[0x3]=_0x2741a4[0x3]+_0x1b2b9a|0x0,_0x2741a4[0x4]=_0x2741a4[0x4]+_0x2ef854|0x0;},'_doFinalize':function(){var _0x6c5d65=_0x2f02c8,_0x10bf31=this['_data'],_0x4ba7b9=_0x10bf31['words'],_0x39921d=this['_nDataBytes']*0x8,_0xb73f3f=_0x10bf31[_0x6c5d65(0x11a)]*0x8;return _0x4ba7b9[_0xb73f3f>>>0x5]|=0x80<<0x18-_0xb73f3f%0x20,_0x4ba7b9[(_0xb73f3f+0x40>>>0x9<<0x4)+0xe]=Math[_0x6c5d65(0xdc)](_0x39921d/0x100000000),_0x4ba7b9[(_0xb73f3f+0x40>>>0x9<<0x4)+0xf]=_0x39921d,_0x10bf31[_0x6c5d65(0x11a)]=_0x4ba7b9[_0x6c5d65(0x124)]*0x4,this[_0x6c5d65(0x187)](),this['_hash'];},'clone':function(){var _0x1d97fa=_0x2f02c8,_0x5c2ba9=_0x39d9c5[_0x1d97fa(0x103)][_0x1d97fa(0x1da)](this);return _0x5c2ba9['_hash']=this['_hash'][_0x1d97fa(0x103)](),_0x5c2ba9;}});_0x28f96b[_0x2f02c8(0xa4)]=_0x39d9c5[_0x2f02c8(0x2b5)](_0x263dd9),_0x28f96b['HmacSHA1']=_0x39d9c5[_0x2f02c8(0x2d5)](_0x263dd9);}()),_0x31b2f6['SHA1'];}));}(qe)),qe[_0x589503(0x123)];}var ze={'exports':{}},kr=ze[_0xebfca7(0x123)],ii;function jr(){return ii||(ii=0x1,function(_0x2a46f0,_0x55a7ff){(function(_0x25cc99,_0x4a822a){var _0x4502f2=_0x1328;_0x2a46f0[_0x4502f2(0x123)]=_0x4a822a(ne());}(kr,function(_0x156430){(function(){var _0x3cadfb=_0x1328,_0x52909f=_0x156430,_0x5d58ea=_0x52909f[_0x3cadfb(0x20c)],_0x54d7e4=_0x5d58ea['Base'],_0x1870b6=_0x52909f['enc'],_0x4468a0=_0x1870b6[_0x3cadfb(0xb3)],_0xde7325=_0x52909f['algo'];_0xde7325[_0x3cadfb(0x116)]=_0x54d7e4['extend']({'init':function(_0x116ae0,_0x3e5a7c){var _0x56fa00=_0x3cadfb;_0x116ae0=this['_hasher']=new _0x116ae0[(_0x56fa00(0x121))](),typeof _0x3e5a7c==_0x56fa00(0x370)&&(_0x3e5a7c=_0x4468a0[_0x56fa00(0x23d)](_0x3e5a7c));var _0x36a4b0=_0x116ae0[_0x56fa00(0x2cd)],_0x5204cd=_0x36a4b0*0x4;_0x3e5a7c[_0x56fa00(0x11a)]>_0x5204cd&&(_0x3e5a7c=_0x116ae0[_0x56fa00(0x203)](_0x3e5a7c)),_0x3e5a7c[_0x56fa00(0x16f)]();for(var _0x4a23f4=this[_0x56fa00(0x28b)]=_0x3e5a7c[_0x56fa00(0x103)](),_0x10333d=this[_0x56fa00(0x1ed)]=_0x3e5a7c[_0x56fa00(0x103)](),_0xe56e9a=_0x4a23f4[_0x56fa00(0x207)],_0x1c186f=_0x10333d['words'],_0x25190d=0x0;_0x25190d<_0x36a4b0;_0x25190d++)_0xe56e9a[_0x25190d]^=0x5c5c5c5c,_0x1c186f[_0x25190d]^=0x36363636;_0x4a23f4[_0x56fa00(0x11a)]=_0x10333d[_0x56fa00(0x11a)]=_0x5204cd,this[_0x56fa00(0x91)]();},'reset':function(){var _0x513b63=_0x3cadfb,_0x205eee=this[_0x513b63(0x1ad)];_0x205eee['reset'](),_0x205eee[_0x513b63(0x215)](this['_iKey']);},'update':function(_0x3ab2c0){var _0x72d80f=_0x3cadfb;return this[_0x72d80f(0x1ad)][_0x72d80f(0x215)](_0x3ab2c0),this;},'finalize':function(_0x3b2326){var _0x5b827b=_0x3cadfb,_0x46a9ec=this[_0x5b827b(0x1ad)],_0x11460f=_0x46a9ec[_0x5b827b(0x203)](_0x3b2326);_0x46a9ec[_0x5b827b(0x91)]();var _0x6f14bd=_0x46a9ec[_0x5b827b(0x203)](this[_0x5b827b(0x28b)][_0x5b827b(0x103)]()[_0x5b827b(0x267)](_0x11460f));return _0x6f14bd;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0xebfca7(0x123)],ni;function Ui(){var _0x15dfc3=_0xebfca7;return ni||(ni=0x1,function(_0x12185a,_0x59081c){(function(_0x391099,_0x5987c6,_0x1ef1b9){var _0x5e17a7=_0x1328;_0x12185a[_0x5e17a7(0x123)]=_0x5987c6(ne(),Hr(),jr());}(Br,function(_0x3bbbd1){var _0x1b446d=_0x1328;return(function(){var _0xcab867=_0x1328,_0x92c519=_0x3bbbd1,_0xe4d776=_0x92c519[_0xcab867(0x20c)],_0x6504e=_0xe4d776[_0xcab867(0x318)],_0x18426e=_0xe4d776['WordArray'],_0x5d02f9=_0x92c519[_0xcab867(0x377)],_0x36c0e5=_0x5d02f9['MD5'],_0x238714=_0x5d02f9[_0xcab867(0x25b)]=_0x6504e['extend']({'cfg':_0x6504e[_0xcab867(0xd2)]({'keySize':0x80/0x20,'hasher':_0x36c0e5,'iterations':0x1}),'init':function(_0x52e7d6){var _0x212667=_0xcab867;this[_0x212667(0x27d)]=this['cfg'][_0x212667(0xd2)](_0x52e7d6);},'compute':function(_0xef292d,_0x3789e0){var _0x3e3e90=_0xcab867;for(var _0x4ca618,_0x331650=this[_0x3e3e90(0x27d)],_0x2f6f7f=_0x331650['hasher'][_0x3e3e90(0x26b)](),_0x3317dc=_0x18426e[_0x3e3e90(0x26b)](),_0x31bd23=_0x3317dc[_0x3e3e90(0x207)],_0x32d7e4=_0x331650['keySize'],_0x3c655f=_0x331650[_0x3e3e90(0x224)];_0x31bd23[_0x3e3e90(0x124)]<_0x32d7e4;){_0x4ca618&&_0x2f6f7f['update'](_0x4ca618),_0x4ca618=_0x2f6f7f['update'](_0xef292d)[_0x3e3e90(0x203)](_0x3789e0),_0x2f6f7f[_0x3e3e90(0x91)]();for(var _0x172563=0x1;_0x172563<_0x3c655f;_0x172563++)_0x4ca618=_0x2f6f7f[_0x3e3e90(0x203)](_0x4ca618),_0x2f6f7f[_0x3e3e90(0x91)]();_0x3317dc[_0x3e3e90(0x267)](_0x4ca618);}return _0x3317dc[_0x3e3e90(0x11a)]=_0x32d7e4*0x4,_0x3317dc;}});_0x92c519[_0xcab867(0x25b)]=function(_0x3b3e73,_0x32c38f,_0xd6f239){var _0x16a053=_0xcab867;return _0x238714['create'](_0xd6f239)[_0x16a053(0x239)](_0x3b3e73,_0x32c38f);};}()),_0x3bbbd1[_0x1b446d(0x25b)];}));}(Ye)),Ye[_0x15dfc3(0x123)];}var Je={'exports':{}},Fr=Je[_0xebfca7(0x123)],ri;function Ai(){var _0x37a9eb=_0xebfca7;return ri||(ri=0x1,function(_0x3483df,_0x3b2a2e){(function(_0x5868d2,_0x320cff,_0x4a4686){_0x3483df['exports']=_0x320cff(ne(),Ui());}(Fr,function(_0x389bbf){var _0x31fd3e=_0x1328;_0x389bbf['lib'][_0x31fd3e(0x11f)]||function(_0x13b807){var _0x4d01ae=_0x31fd3e,_0x2cdf22=_0x389bbf,_0xa05f3d=_0x2cdf22[_0x4d01ae(0x20c)],_0x1b71ca=_0xa05f3d[_0x4d01ae(0x318)],_0x4cb0eb=_0xa05f3d[_0x4d01ae(0x15d)],_0x13a90a=_0xa05f3d[_0x4d01ae(0x15f)],_0x3c5444=_0x2cdf22['enc'];_0x3c5444[_0x4d01ae(0xb3)];var _0x2be640=_0x3c5444[_0x4d01ae(0x327)],_0x2d3365=_0x2cdf22[_0x4d01ae(0x377)],_0x31af46=_0x2d3365[_0x4d01ae(0x25b)],_0x252808=_0xa05f3d[_0x4d01ae(0x11f)]=_0x13a90a[_0x4d01ae(0xd2)]({'cfg':_0x1b71ca[_0x4d01ae(0xd2)](),'createEncryptor':function(_0x3e8749,_0x234507){var _0x160f1=_0x4d01ae;return this[_0x160f1(0x26b)](this[_0x160f1(0x1f7)],_0x3e8749,_0x234507);},'createDecryptor':function(_0x8035dd,_0x1e6f9d){var _0xc5b035=_0x4d01ae;return this[_0xc5b035(0x26b)](this[_0xc5b035(0x1cf)],_0x8035dd,_0x1e6f9d);},'init':function(_0x4a1f9f,_0x5d865e,_0x5900ea){var _0x4c89a5=_0x4d01ae;this[_0x4c89a5(0x27d)]=this['cfg']['extend'](_0x5900ea),this[_0x4c89a5(0x280)]=_0x4a1f9f,this[_0x4c89a5(0xb6)]=_0x5d865e,this[_0x4c89a5(0x91)]();},'reset':function(){var _0x1e1e59=_0x4d01ae;_0x13a90a[_0x1e1e59(0x91)][_0x1e1e59(0x1da)](this),this[_0x1e1e59(0xcc)]();},'process':function(_0x3a3f46){var _0x7a2b94=_0x4d01ae;return this[_0x7a2b94(0x328)](_0x3a3f46),this['_process']();},'finalize':function(_0x106550){var _0x163c09=_0x4d01ae;_0x106550&&this['_append'](_0x106550);var _0x5f30c6=this[_0x163c09(0x33b)]();return _0x5f30c6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4625ef(_0xbf4762){var _0x1dc148=_0x1328;return typeof _0xbf4762==_0x1dc148(0x370)?_0xc11b6d:_0x3968f8;}return function(_0x2a9ae2){return{'encrypt':function(_0x11e4ab,_0x2cdcd3,_0x3b15f4){var _0x423ef5=_0x1328;return _0x4625ef(_0x2cdcd3)[_0x423ef5(0x102)](_0x2a9ae2,_0x11e4ab,_0x2cdcd3,_0x3b15f4);},'decrypt':function(_0x4da1a9,_0x3d6dcc,_0x31f93d){var _0x96f160=_0x1328;return _0x4625ef(_0x3d6dcc)[_0x96f160(0x88)](_0x2a9ae2,_0x4da1a9,_0x3d6dcc,_0x31f93d);}};};}())});_0xa05f3d[_0x4d01ae(0x120)]=_0x252808['extend']({'_doFinalize':function(){var _0x1c8ef1=_0x4d01ae,_0x3ecf5b=this[_0x1c8ef1(0x187)](!0x0);return _0x3ecf5b;},'blockSize':0x1});var _0x475e87=_0x2cdf22[_0x4d01ae(0xf9)]={},_0x3ac701=_0xa05f3d[_0x4d01ae(0x378)]=_0x1b71ca[_0x4d01ae(0xd2)]({'createEncryptor':function(_0x36ae2f,_0xdfcb95){var _0x2bae6b=_0x4d01ae;return this['Encryptor'][_0x2bae6b(0x26b)](_0x36ae2f,_0xdfcb95);},'createDecryptor':function(_0x118054,_0x1f77c3){var _0xa932a9=_0x4d01ae;return this[_0xa932a9(0x24e)]['create'](_0x118054,_0x1f77c3);},'init':function(_0x146de4,_0x4736eb){var _0x42bcc2=_0x4d01ae;this[_0x42bcc2(0x2bf)]=_0x146de4,this[_0x42bcc2(0x21c)]=_0x4736eb;}}),_0x2e5bd9=_0x475e87[_0x4d01ae(0x2f2)]=(function(){var _0x561f06=_0x4d01ae,_0x3bc4c3=_0x3ac701[_0x561f06(0xd2)]();_0x3bc4c3[_0x561f06(0x8d)]=_0x3bc4c3['extend']({'processBlock':function(_0x2ab7d0,_0x520e38){var _0x34048a=_0x561f06,_0x5910c2=this[_0x34048a(0x2bf)],_0x323ef5=_0x5910c2[_0x34048a(0x2cd)];_0xcb39d1[_0x34048a(0x1da)](this,_0x2ab7d0,_0x520e38,_0x323ef5),_0x5910c2[_0x34048a(0x1fa)](_0x2ab7d0,_0x520e38),this[_0x34048a(0x1b2)]=_0x2ab7d0['slice'](_0x520e38,_0x520e38+_0x323ef5);}}),_0x3bc4c3[_0x561f06(0x24e)]=_0x3bc4c3['extend']({'processBlock':function(_0x57b966,_0x140d11){var _0x2b368d=_0x561f06,_0x5c190a=this[_0x2b368d(0x2bf)],_0x544965=_0x5c190a[_0x2b368d(0x2cd)],_0x11bc1a=_0x57b966[_0x2b368d(0x164)](_0x140d11,_0x140d11+_0x544965);_0x5c190a['decryptBlock'](_0x57b966,_0x140d11),_0xcb39d1[_0x2b368d(0x1da)](this,_0x57b966,_0x140d11,_0x544965),this[_0x2b368d(0x1b2)]=_0x11bc1a;}});function _0xcb39d1(_0xc01df5,_0x1cdd42,_0x40e55c){var _0x46150d=_0x561f06,_0x22fec5,_0x50dce4=this[_0x46150d(0x21c)];_0x50dce4?(_0x22fec5=_0x50dce4,this[_0x46150d(0x21c)]=_0x13b807):_0x22fec5=this[_0x46150d(0x1b2)];for(var _0x563830=0x0;_0x563830<_0x40e55c;_0x563830++)_0xc01df5[_0x1cdd42+_0x563830]^=_0x22fec5[_0x563830];}return _0x3bc4c3;}()),_0x250f55=_0x2cdf22[_0x4d01ae(0xf7)]={},_0x52bcf3=_0x250f55['Pkcs7']={'pad':function(_0x3175ef,_0x433233){var _0x12cd35=_0x4d01ae;for(var _0x32e4bc=_0x433233*0x4,_0x164a26=_0x32e4bc-_0x3175ef[_0x12cd35(0x11a)]%_0x32e4bc,_0x367c1c=_0x164a26<<0x18|_0x164a26<<0x10|_0x164a26<<0x8|_0x164a26,_0x4e5bc5=[],_0x322af3=0x0;_0x322af3<_0x164a26;_0x322af3+=0x4)_0x4e5bc5[_0x12cd35(0xca)](_0x367c1c);var _0x371c4b=_0x4cb0eb[_0x12cd35(0x26b)](_0x4e5bc5,_0x164a26);_0x3175ef[_0x12cd35(0x267)](_0x371c4b);},'unpad':function(_0x3a40ba){var _0x45b64c=_0x4d01ae,_0xe0709f=_0x3a40ba[_0x45b64c(0x207)][_0x3a40ba[_0x45b64c(0x11a)]-0x1>>>0x2]&0xff;_0x3a40ba[_0x45b64c(0x11a)]-=_0xe0709f;}};_0xa05f3d['BlockCipher']=_0x252808[_0x4d01ae(0xd2)]({'cfg':_0x252808[_0x4d01ae(0x27d)][_0x4d01ae(0xd2)]({'mode':_0x2e5bd9,'padding':_0x52bcf3}),'reset':function(){var _0x3dac2f=_0x4d01ae,_0x37fcdc;_0x252808[_0x3dac2f(0x91)]['call'](this);var _0x332f74=this[_0x3dac2f(0x27d)],_0x401419=_0x332f74['iv'],_0x38dfd2=_0x332f74[_0x3dac2f(0xf9)];this[_0x3dac2f(0x280)]==this[_0x3dac2f(0x1f7)]?_0x37fcdc=_0x38dfd2[_0x3dac2f(0x22f)]:(_0x37fcdc=_0x38dfd2[_0x3dac2f(0x108)],this['_minBufferSize']=0x1),this[_0x3dac2f(0x1ba)]&&this['_mode'][_0x3dac2f(0x1e5)]==_0x37fcdc?this[_0x3dac2f(0x1ba)][_0x3dac2f(0x121)](this,_0x401419&&_0x401419[_0x3dac2f(0x207)]):(this['_mode']=_0x37fcdc[_0x3dac2f(0x1da)](_0x38dfd2,this,_0x401419&&_0x401419[_0x3dac2f(0x207)]),this['_mode'][_0x3dac2f(0x1e5)]=_0x37fcdc);},'_doProcessBlock':function(_0x3a9154,_0xbbad9a){var _0x54bf1c=_0x4d01ae;this[_0x54bf1c(0x1ba)][_0x54bf1c(0x25c)](_0x3a9154,_0xbbad9a);},'_doFinalize':function(){var _0x2d8cbc=_0x4d01ae,_0x22db46,_0x4feea8=this[_0x2d8cbc(0x27d)][_0x2d8cbc(0x37c)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4feea8[_0x2d8cbc(0xf7)](this[_0x2d8cbc(0x277)],this[_0x2d8cbc(0x2cd)]),_0x22db46=this['_process'](!0x0)):(_0x22db46=this['_process'](!0x0),_0x4feea8['unpad'](_0x22db46)),_0x22db46;},'blockSize':0x80/0x20});var _0x4914a1=_0xa05f3d[_0x4d01ae(0x1a6)]=_0x1b71ca[_0x4d01ae(0xd2)]({'init':function(_0x2fd4b5){var _0x129cfa=_0x4d01ae;this[_0x129cfa(0x17c)](_0x2fd4b5);},'toString':function(_0x28ac02){var _0x29a98e=_0x4d01ae;return(_0x28ac02||this[_0x29a98e(0x296)])[_0x29a98e(0x357)](this);}}),_0x43dac1=_0x2cdf22[_0x4d01ae(0xa2)]={},_0xcc67ac=_0x43dac1[_0x4d01ae(0x2a7)]={'stringify':function(_0x4ac219){var _0x1f42ec=_0x4d01ae,_0x445e6e,_0x2bc7a2=_0x4ac219['ciphertext'],_0x36126a=_0x4ac219[_0x1f42ec(0xac)];return _0x36126a?_0x445e6e=_0x4cb0eb['create']([0x53616c74,0x65645f5f])['concat'](_0x36126a)[_0x1f42ec(0x267)](_0x2bc7a2):_0x445e6e=_0x2bc7a2,_0x445e6e[_0x1f42ec(0x153)](_0x2be640);},'parse':function(_0x2f2f2f){var _0x390f63=_0x4d01ae,_0x6b40cd,_0x3e5cd5=_0x2be640[_0x390f63(0x23d)](_0x2f2f2f),_0x51b2ae=_0x3e5cd5[_0x390f63(0x207)];return _0x51b2ae[0x0]==0x53616c74&&_0x51b2ae[0x1]==0x65645f5f&&(_0x6b40cd=_0x4cb0eb['create'](_0x51b2ae[_0x390f63(0x164)](0x2,0x4)),_0x51b2ae['splice'](0x0,0x4),_0x3e5cd5[_0x390f63(0x11a)]-=0x10),_0x4914a1[_0x390f63(0x26b)]({'ciphertext':_0x3e5cd5,'salt':_0x6b40cd});}},_0x3968f8=_0xa05f3d[_0x4d01ae(0x200)]=_0x1b71ca['extend']({'cfg':_0x1b71ca['extend']({'format':_0xcc67ac}),'encrypt':function(_0x1faeb0,_0xce4a61,_0x14611d,_0x428656){var _0xc01ae1=_0x4d01ae;_0x428656=this[_0xc01ae1(0x27d)][_0xc01ae1(0xd2)](_0x428656);var _0x373401=_0x1faeb0['createEncryptor'](_0x14611d,_0x428656),_0x475486=_0x373401['finalize'](_0xce4a61),_0x4bb589=_0x373401[_0xc01ae1(0x27d)];return _0x4914a1['create']({'ciphertext':_0x475486,'key':_0x14611d,'iv':_0x4bb589['iv'],'algorithm':_0x1faeb0,'mode':_0x4bb589[_0xc01ae1(0xf9)],'padding':_0x4bb589[_0xc01ae1(0x37c)],'blockSize':_0x1faeb0['blockSize'],'formatter':_0x428656[_0xc01ae1(0xa2)]});},'decrypt':function(_0x2dd29a,_0x28bbe0,_0x4c8b87,_0x382b0b){var _0x4d6210=_0x4d01ae;_0x382b0b=this[_0x4d6210(0x27d)]['extend'](_0x382b0b),_0x28bbe0=this[_0x4d6210(0x1b7)](_0x28bbe0,_0x382b0b[_0x4d6210(0xa2)]);var _0x7fd1c6=_0x2dd29a[_0x4d6210(0x108)](_0x4c8b87,_0x382b0b)[_0x4d6210(0x203)](_0x28bbe0[_0x4d6210(0x27c)]);return _0x7fd1c6;},'_parse':function(_0x517717,_0x4f72cd){var _0x36c03f=_0x4d01ae;return typeof _0x517717=='string'?_0x4f72cd[_0x36c03f(0x23d)](_0x517717,this):_0x517717;}}),_0x318749=_0x2cdf22['kdf']={},_0x17b9d5=_0x318749['OpenSSL']={'execute':function(_0x43158d,_0x360212,_0x90df09,_0x469c19,_0x1b6bd6){var _0x270cc1=_0x4d01ae;if(_0x469c19||(_0x469c19=_0x4cb0eb[_0x270cc1(0x20a)](0x40/0x8)),_0x1b6bd6)var _0xc62a8c=_0x31af46[_0x270cc1(0x26b)]({'keySize':_0x360212+_0x90df09,'hasher':_0x1b6bd6})[_0x270cc1(0x239)](_0x43158d,_0x469c19);else var _0xc62a8c=_0x31af46['create']({'keySize':_0x360212+_0x90df09})[_0x270cc1(0x239)](_0x43158d,_0x469c19);var _0x3e1d55=_0x4cb0eb[_0x270cc1(0x26b)](_0xc62a8c[_0x270cc1(0x207)][_0x270cc1(0x164)](_0x360212),_0x90df09*0x4);return _0xc62a8c['sigBytes']=_0x360212*0x4,_0x4914a1['create']({'key':_0xc62a8c,'iv':_0x3e1d55,'salt':_0x469c19});}},_0xc11b6d=_0xa05f3d[_0x4d01ae(0x2d9)]=_0x3968f8[_0x4d01ae(0xd2)]({'cfg':_0x3968f8[_0x4d01ae(0x27d)][_0x4d01ae(0xd2)]({'kdf':_0x17b9d5}),'encrypt':function(_0x1b1b80,_0x2fcc34,_0x4619d3,_0x15ada4){var _0x10830c=_0x4d01ae;_0x15ada4=this['cfg'][_0x10830c(0xd2)](_0x15ada4);var _0x3ff9e5=_0x15ada4[_0x10830c(0x19d)]['execute'](_0x4619d3,_0x1b1b80[_0x10830c(0xab)],_0x1b1b80[_0x10830c(0x371)],_0x15ada4[_0x10830c(0xac)],_0x15ada4['hasher']);_0x15ada4['iv']=_0x3ff9e5['iv'];var _0x462685=_0x3968f8[_0x10830c(0x102)]['call'](this,_0x1b1b80,_0x2fcc34,_0x3ff9e5['key'],_0x15ada4);return _0x462685[_0x10830c(0x17c)](_0x3ff9e5),_0x462685;},'decrypt':function(_0x211bc4,_0x4827b9,_0x4f43b5,_0x5c85c6){var _0x505c21=_0x4d01ae;_0x5c85c6=this['cfg'][_0x505c21(0xd2)](_0x5c85c6),_0x4827b9=this[_0x505c21(0x1b7)](_0x4827b9,_0x5c85c6['format']);var _0xdbbfad=_0x5c85c6[_0x505c21(0x19d)][_0x505c21(0xcb)](_0x4f43b5,_0x211bc4[_0x505c21(0xab)],_0x211bc4[_0x505c21(0x371)],_0x4827b9['salt'],_0x5c85c6['hasher']);_0x5c85c6['iv']=_0xdbbfad['iv'];var _0x3164d6=_0x3968f8[_0x505c21(0x88)][_0x505c21(0x1da)](this,_0x211bc4,_0x4827b9,_0xdbbfad['key'],_0x5c85c6);return _0x3164d6;}});}();}));}(Je)),Je[_0x37a9eb(0x123)];}var Vr=Ve[_0xebfca7(0x123)],si;function Gr(){var _0x1f2a8d=_0xebfca7;return si||(si=0x1,function(_0x1baae3,_0x4944d4){(function(_0x3a8ec1,_0x442bd0,_0x235e8d){_0x1baae3['exports']=_0x442bd0(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x531be5){var _0x116167=_0x1328;return(function(){var _0x361d4f=_0x1328,_0x3447a0=_0x531be5,_0x4f54c4=_0x3447a0[_0x361d4f(0x20c)],_0x465222=_0x4f54c4[_0x361d4f(0x1d0)],_0x397d86=_0x3447a0[_0x361d4f(0x377)],_0x19f83f=[],_0x6b3cf=[],_0x50e7d1=[],_0x14bfaa=[],_0x39bfa4=[],_0x489abc=[],_0x2ff986=[],_0x79ca15=[],_0x22e495=[],_0x52cd8e=[];(function(){for(var _0x378517=[],_0x169864=0x0;_0x169864<0x100;_0x169864++)_0x169864<0x80?_0x378517[_0x169864]=_0x169864<<0x1:_0x378517[_0x169864]=_0x169864<<0x1^0x11b;for(var _0x5cdd34=0x0,_0x54b281=0x0,_0x169864=0x0;_0x169864<0x100;_0x169864++){var _0x155d3f=_0x54b281^_0x54b281<<0x1^_0x54b281<<0x2^_0x54b281<<0x3^_0x54b281<<0x4;_0x155d3f=_0x155d3f>>>0x8^_0x155d3f&0xff^0x63,_0x19f83f[_0x5cdd34]=_0x155d3f,_0x6b3cf[_0x155d3f]=_0x5cdd34;var _0x5f1564=_0x378517[_0x5cdd34],_0x56f8b1=_0x378517[_0x5f1564],_0x1944f1=_0x378517[_0x56f8b1],_0x4fdf3e=_0x378517[_0x155d3f]*0x101^_0x155d3f*0x1010100;_0x50e7d1[_0x5cdd34]=_0x4fdf3e<<0x18|_0x4fdf3e>>>0x8,_0x14bfaa[_0x5cdd34]=_0x4fdf3e<<0x10|_0x4fdf3e>>>0x10,_0x39bfa4[_0x5cdd34]=_0x4fdf3e<<0x8|_0x4fdf3e>>>0x18,_0x489abc[_0x5cdd34]=_0x4fdf3e;var _0x4fdf3e=_0x1944f1*0x1010101^_0x56f8b1*0x10001^_0x5f1564*0x101^_0x5cdd34*0x1010100;_0x2ff986[_0x155d3f]=_0x4fdf3e<<0x18|_0x4fdf3e>>>0x8,_0x79ca15[_0x155d3f]=_0x4fdf3e<<0x10|_0x4fdf3e>>>0x10,_0x22e495[_0x155d3f]=_0x4fdf3e<<0x8|_0x4fdf3e>>>0x18,_0x52cd8e[_0x155d3f]=_0x4fdf3e,_0x5cdd34?(_0x5cdd34=_0x5f1564^_0x378517[_0x378517[_0x378517[_0x1944f1^_0x5f1564]]],_0x54b281^=_0x378517[_0x378517[_0x54b281]]):_0x5cdd34=_0x54b281=0x1;}}());var _0x14e069=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x13f409=_0x397d86[_0x361d4f(0x339)]=_0x465222[_0x361d4f(0xd2)]({'_doReset':function(){var _0x524925=_0x361d4f,_0xd2bd8c;if(!(this['_nRounds']&&this[_0x524925(0x27e)]===this['_key'])){for(var _0x5e87a2=this[_0x524925(0x27e)]=this[_0x524925(0xb6)],_0x169151=_0x5e87a2['words'],_0x5a0f92=_0x5e87a2[_0x524925(0x11a)]/0x4,_0x642026=this[_0x524925(0x95)]=_0x5a0f92+0x6,_0x3a740f=(_0x642026+0x1)*0x4,_0x56746e=this['_keySchedule']=[],_0x3068ca=0x0;_0x3068ca<_0x3a740f;_0x3068ca++)_0x3068ca<_0x5a0f92?_0x56746e[_0x3068ca]=_0x169151[_0x3068ca]:(_0xd2bd8c=_0x56746e[_0x3068ca-0x1],_0x3068ca%_0x5a0f92?_0x5a0f92>0x6&&_0x3068ca%_0x5a0f92==0x4&&(_0xd2bd8c=_0x19f83f[_0xd2bd8c>>>0x18]<<0x18|_0x19f83f[_0xd2bd8c>>>0x10&0xff]<<0x10|_0x19f83f[_0xd2bd8c>>>0x8&0xff]<<0x8|_0x19f83f[_0xd2bd8c&0xff]):(_0xd2bd8c=_0xd2bd8c<<0x8|_0xd2bd8c>>>0x18,_0xd2bd8c=_0x19f83f[_0xd2bd8c>>>0x18]<<0x18|_0x19f83f[_0xd2bd8c>>>0x10&0xff]<<0x10|_0x19f83f[_0xd2bd8c>>>0x8&0xff]<<0x8|_0x19f83f[_0xd2bd8c&0xff],_0xd2bd8c^=_0x14e069[_0x3068ca/_0x5a0f92|0x0]<<0x18),_0x56746e[_0x3068ca]=_0x56746e[_0x3068ca-_0x5a0f92]^_0xd2bd8c);for(var _0x707cd2=this[_0x524925(0x2ab)]=[],_0xcf6e9d=0x0;_0xcf6e9d<_0x3a740f;_0xcf6e9d++){var _0x3068ca=_0x3a740f-_0xcf6e9d;if(_0xcf6e9d%0x4)var _0xd2bd8c=_0x56746e[_0x3068ca];else var _0xd2bd8c=_0x56746e[_0x3068ca-0x4];_0xcf6e9d<0x4||_0x3068ca<=0x4?_0x707cd2[_0xcf6e9d]=_0xd2bd8c:_0x707cd2[_0xcf6e9d]=_0x2ff986[_0x19f83f[_0xd2bd8c>>>0x18]]^_0x79ca15[_0x19f83f[_0xd2bd8c>>>0x10&0xff]]^_0x22e495[_0x19f83f[_0xd2bd8c>>>0x8&0xff]]^_0x52cd8e[_0x19f83f[_0xd2bd8c&0xff]];}}},'encryptBlock':function(_0x3b5f81,_0x295778){var _0x1201f7=_0x361d4f;this[_0x1201f7(0x2a6)](_0x3b5f81,_0x295778,this[_0x1201f7(0x32e)],_0x50e7d1,_0x14bfaa,_0x39bfa4,_0x489abc,_0x19f83f);},'decryptBlock':function(_0x3d5d45,_0x4af691){var _0x598438=_0x361d4f,_0x550d93=_0x3d5d45[_0x4af691+0x1];_0x3d5d45[_0x4af691+0x1]=_0x3d5d45[_0x4af691+0x3],_0x3d5d45[_0x4af691+0x3]=_0x550d93,this[_0x598438(0x2a6)](_0x3d5d45,_0x4af691,this[_0x598438(0x2ab)],_0x2ff986,_0x79ca15,_0x22e495,_0x52cd8e,_0x6b3cf);var _0x550d93=_0x3d5d45[_0x4af691+0x1];_0x3d5d45[_0x4af691+0x1]=_0x3d5d45[_0x4af691+0x3],_0x3d5d45[_0x4af691+0x3]=_0x550d93;},'_doCryptBlock':function(_0x502a74,_0x14a419,_0x280fcd,_0x258635,_0x49a44b,_0x146296,_0x1f29bd,_0x3fb0c9){for(var _0x8a1e8e=this['_nRounds'],_0x49f829=_0x502a74[_0x14a419]^_0x280fcd[0x0],_0x465f04=_0x502a74[_0x14a419+0x1]^_0x280fcd[0x1],_0xf15d4b=_0x502a74[_0x14a419+0x2]^_0x280fcd[0x2],_0x5c65bc=_0x502a74[_0x14a419+0x3]^_0x280fcd[0x3],_0x264463=0x4,_0x16e6c4=0x1;_0x16e6c4<_0x8a1e8e;_0x16e6c4++){var _0x5c2975=_0x258635[_0x49f829>>>0x18]^_0x49a44b[_0x465f04>>>0x10&0xff]^_0x146296[_0xf15d4b>>>0x8&0xff]^_0x1f29bd[_0x5c65bc&0xff]^_0x280fcd[_0x264463++],_0x1fb84d=_0x258635[_0x465f04>>>0x18]^_0x49a44b[_0xf15d4b>>>0x10&0xff]^_0x146296[_0x5c65bc>>>0x8&0xff]^_0x1f29bd[_0x49f829&0xff]^_0x280fcd[_0x264463++],_0x154b0b=_0x258635[_0xf15d4b>>>0x18]^_0x49a44b[_0x5c65bc>>>0x10&0xff]^_0x146296[_0x49f829>>>0x8&0xff]^_0x1f29bd[_0x465f04&0xff]^_0x280fcd[_0x264463++],_0x551268=_0x258635[_0x5c65bc>>>0x18]^_0x49a44b[_0x49f829>>>0x10&0xff]^_0x146296[_0x465f04>>>0x8&0xff]^_0x1f29bd[_0xf15d4b&0xff]^_0x280fcd[_0x264463++];_0x49f829=_0x5c2975,_0x465f04=_0x1fb84d,_0xf15d4b=_0x154b0b,_0x5c65bc=_0x551268;}var _0x5c2975=(_0x3fb0c9[_0x49f829>>>0x18]<<0x18|_0x3fb0c9[_0x465f04>>>0x10&0xff]<<0x10|_0x3fb0c9[_0xf15d4b>>>0x8&0xff]<<0x8|_0x3fb0c9[_0x5c65bc&0xff])^_0x280fcd[_0x264463++],_0x1fb84d=(_0x3fb0c9[_0x465f04>>>0x18]<<0x18|_0x3fb0c9[_0xf15d4b>>>0x10&0xff]<<0x10|_0x3fb0c9[_0x5c65bc>>>0x8&0xff]<<0x8|_0x3fb0c9[_0x49f829&0xff])^_0x280fcd[_0x264463++],_0x154b0b=(_0x3fb0c9[_0xf15d4b>>>0x18]<<0x18|_0x3fb0c9[_0x5c65bc>>>0x10&0xff]<<0x10|_0x3fb0c9[_0x49f829>>>0x8&0xff]<<0x8|_0x3fb0c9[_0x465f04&0xff])^_0x280fcd[_0x264463++],_0x551268=(_0x3fb0c9[_0x5c65bc>>>0x18]<<0x18|_0x3fb0c9[_0x49f829>>>0x10&0xff]<<0x10|_0x3fb0c9[_0x465f04>>>0x8&0xff]<<0x8|_0x3fb0c9[_0xf15d4b&0xff])^_0x280fcd[_0x264463++];_0x502a74[_0x14a419]=_0x5c2975,_0x502a74[_0x14a419+0x1]=_0x1fb84d,_0x502a74[_0x14a419+0x2]=_0x154b0b,_0x502a74[_0x14a419+0x3]=_0x551268;},'keySize':0x100/0x20});_0x3447a0[_0x361d4f(0x339)]=_0x465222['_createHelper'](_0x13f409);}()),_0x531be5[_0x116167(0x339)];}));}(Ve)),Ve[_0x1f2a8d(0x123)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0xebfca7(0x123)],ai;function zr(){var _0x34bc5b=_0xebfca7;return ai||(ai=0x1,function(_0x3acb1b,_0x3492bd){(function(_0x243947,_0x346c84){_0x3acb1b['exports']=_0x346c84(ne());}(qr,function(_0x4c6e6e){var _0x245670=_0x1328;return _0x4c6e6e[_0x245670(0x136)][_0x245670(0xb3)];}));}(Xe)),Xe[_0x34bc5b(0x123)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0xebfca7(0x123)],ci;function Qr(){var _0x3e7275=_0xebfca7;return ci||(ci=0x1,function(_0x54eaa2,_0x1e3cd8){(function(_0x11da2e,_0x528760){var _0x393f33=_0x1328;_0x54eaa2[_0x393f33(0x123)]=_0x528760(ne());}(Zr,function(_0x485738){var _0xceb1a7=_0x1328;return(function(){var _0x3fe8ed=_0x1328;if(typeof ArrayBuffer=='function'){var _0x401cd5=_0x485738,_0x48d657=_0x401cd5[_0x3fe8ed(0x20c)],_0x423a06=_0x48d657[_0x3fe8ed(0x15d)],_0x550478=_0x423a06[_0x3fe8ed(0x121)],_0x58e756=_0x423a06[_0x3fe8ed(0x121)]=function(_0x4b9336){var _0x4c3e6a=_0x3fe8ed;if(_0x4b9336 instanceof ArrayBuffer&&(_0x4b9336=new Uint8Array(_0x4b9336)),(_0x4b9336 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4b9336 instanceof Uint8ClampedArray||_0x4b9336 instanceof Int16Array||_0x4b9336 instanceof Uint16Array||_0x4b9336 instanceof Int32Array||_0x4b9336 instanceof Uint32Array||_0x4b9336 instanceof Float32Array||_0x4b9336 instanceof Float64Array)&&(_0x4b9336=new Uint8Array(_0x4b9336['buffer'],_0x4b9336[_0x4c3e6a(0x325)],_0x4b9336['byteLength'])),_0x4b9336 instanceof Uint8Array){for(var _0x9ca921=_0x4b9336[_0x4c3e6a(0x1e1)],_0x21e3ef=[],_0x4d9b93=0x0;_0x4d9b93<_0x9ca921;_0x4d9b93++)_0x21e3ef[_0x4d9b93>>>0x2]|=_0x4b9336[_0x4d9b93]<<0x18-_0x4d9b93%0x4*0x8;_0x550478[_0x4c3e6a(0x1da)](this,_0x21e3ef,_0x9ca921);}else _0x550478[_0x4c3e6a(0xff)](this,arguments);};_0x58e756[_0x3fe8ed(0x1cd)]=_0x423a06;}}()),_0x485738['lib'][_0xceb1a7(0x15d)];}));}(Ze)),Ze[_0x3e7275(0x123)];}var es=Qr();const ts=ke(es);function _0x2110(){var _0x14c38b=['getUnitId','concat','substr','awaiting_with_pending','has','create','CHANGESET_ACK','/universer-api/file/{fileID}/sign-url','getInterceptPoints','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SHOULD_CLOSE_CONN','_pendingMutations','_onJoinRoomEvent','_onRemoteRejected','fetch_missing','_showConflictNotification','/universer-api/oidc/authpage','_data','_socketMessageSubscription','charAt','actions','CONFLICT','ciphertext','cfg','_keyPriorReset','_clearLocalCache','_xformMode','_transformIMECache','UNRECOGNIZED','OTHER_CLIENT_EDITING','localCacheService','toggleOnline','_sendHeartbeat','/-/object/list','NEW_CHANGESETS','UNIVER_PROJECT','createInstance','_oKey','_getUndoStack','image/png','userID','_getAPIPrefixPath','_joinRoom','Undefined','NOT_COLLAB','_rescheduleHeartbeat','_snapshotService','univer-pro.collaboration-client.network-condition.service','formatter','href','getOwnPropertyDescriptor','dispose$','\x0aAfter:\x20','&assign=','UnitEmbedded','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','synced','liveShareNewHost','capture','_fetchMissChangesets','readyForCollab','HttpImport','/resources','socket\x20close','_doCryptBlock','OpenSSL','_initDependencies','addHandlerCallback','result','_invKeySchedule','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getCtorByUniverType','_onLocalMutation','transformUndoRedo','batchAllowed','JOIN','onTransformRemoteChangesetByIMECache','auth.needGotoLoginAlert','_createInitialStateImpl','_createHelper','onSyncEditingCollabCursor','?size=','name','_waitCount','now','add','min','delete','rev','_cipher','sendChangesetTimeout','event$','entityInit$','UNDEFINED','compose','ERROR_IMAGE','&to=','UNIVER_COLLABORATION_CLIENT_PLUGIN','_getRedoStack','_remoteChangesetQueue','msCrypto','textRanges','onRemoteChangeset','blockSize','addImageSourceCache','_registerDependencies','_transitionLocked','onTransformIME','BASE64','_sendHeartbeatTimer','[UniverCollaborationClientPlugin]','_createHmacHelper','GLOBAL_ROOMS_CNT_EXCEEDS','onlyLocal','getSheetBlock','PasswordBasedCipher','RECV','error$','eventID','MUTATION','_incrementRevisionNumber','forEach','$super','/collaborator','_retryCount','splice','_handler','LEAVE','originalMeta','onCommentUpdate','NO_OTHER_CLIENTS_EDITING','onTransformRemoteChangesetByStateCache','_getSessionTicket','/universer-api/authz','confirm','patch','_onUserLeave','append','_onFetchMissResult','fetchMiss','CBC','FileId','abs','getTypeOfUnitAdded$','newCsEvent','then','error','_commentService','COMPRESS_MUTATION_APPLY','unit-cache-','[CollaborationState]:\x20apply\x20error!','52egwytM','_singleActiveUnitService','function','getLatestCsReqIdBySid','encodeURIComponent','_status$','_collaborationTimeoutTimer','offline','_disableEditing','_localeService','commentUpdateEvent','get','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','open$','location','UPDATE_PERMISSION_OBJ','saveChangeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','body','state','_retryConnectingTimer','getDeserializedSheetBlock','_commandService','OPTIONAL','_sessionStatus$','_createHandler','Base','url','_onRemoteChangeset','repeat','transformChangesets','session','session.room-full','getFocusedUnit','max','_unlockTransition','getCollabEntity$','_executeRemoteChangeset','pipe','byteOffset','infoRsp','Base64','_append','authzUrl','POST','stopTime','_clearRedo','_transformStack','_keySchedule','[FetchMissState]','session.room-permission-denied','pending','INTERNAL_ERROR','onMissedChangesetFetched','fetching\x20missing\x20changesets\x20from\x20','retryConnectingInterval','_candidateSocket','resend','SOCKET_FAILED','AES','bind','_doFinalize','461355rWzMtb','encode','onStateChange','fetchThroughInterceptors','headers','_resendTimeout','FETCH_MISS','m2Prime','_submitChangeset','_tryReconnect','YUUMI_UNABLE_LOAD_URL','unsubscribe','updateMember','OFFLINE','PSEUDO_FETCH_MISSING_RESULT','{fileID}','[CollaborationEntity]','unitId','image/gif','pluginName','_onConnectionFailed','USERS_ENTER','_syncEditingCollabCursor','reqId','_getSendChangesetTimeout','getTime','_toggleOnline','stringify','_collaborationSessionService','_isPermissionRej','_roomCreated$','ws://127.0.0.1:8000/universer-api/comb/connect','Hex','size','UNKNOWN_CODE','closeSession','_emitMembers','_changesetSessionId','CHANGESET_SHOULD_RETRY','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_doProcessBlock','UnitSnapshot','every','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','CHANGESET_REVISION_CONFILICT','toLowerCase','emitEvent','onSendChangeset','fromCollab','PENDING','/fetchmissing?from=','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','string','ivSize','filter','_memberService','changesets','/rev/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','algo','BlockCipherMode','_queuedRemoteChangesets','_sender','reconnect','padding','NoPadding','unitID','UNKNOWN_CMD','APPLY_NON_SEQUENTIAL_REVISION','_decreaseWaiting','_updateState','send','close$','decrypt','_networkConditionService','awaitingChangeset','_substituteUndoStack','_http','Encryptor','_handlerCallback','roomInfos','univer-pro.collaboration-client.single-active-unit-service','reset','/block/','crypto','_HTTPService','_nRounds','_toggleOffline','SUCCUSS','requireSession','_lockTransition','loadOfflineData','deleteCollaborator','routeKey','/allowed','PERMISSION_REJ','_unitID','_startCollaboration','_transformSelections','format','setCurrentUser','SHA1','_socket$','sessionStatus','readInt32LE','hasOwnProperty','APPLY_DUPLICATED','saveSnapshot','keySize','salt','pauseCollaboration','_initUnitPermissionChange','_transformStateCache','awaiting','_redoStacks','_telemetryService','Utf8','[OfflineState]:\x20received\x20rejection.','_transformUndoredo','_key','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','withCredentials','failed\x20to\x20apply\x20missed\x20changesets!','getCurrentUser','unitInfo$','search','Could\x20not\x20dynamically\x20require\x20\x22','getCollabEntity','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onMessage','commentUpdate$','data','override','AUTHZ_URL_KEY','_transformRemoteChangesetByIMECache','setShowComponents','2wuxGGx','FETCH_MISSING','csAckEvent','push','execute','_doReset','interceptor','_initMergeInterceptor','getRandomValues','origin','code','extend','_onCombEvent','_hash','updateOfflineData','MSG_FOR_ERROR','_loadSheet','UUID','_getDownloadEndpointURL','defineProperty','type','floor','OTHER_CLIENTS_EDITING','getWorkbookSelections','reverse','_getUploadFileURL','status$','NOT_FOUND','_updateLocalCache','post','_init','c1Prime','objects','_config','subject','_sessions','requestParams','loginUrlKey','HEARTBEAT_TIMEOUT','_clearCollaborationTimeoutTimer','JOINING','generateRandomId','ERROR_EXCEED_SIZE','MD5','getSheetId','_schedule','src','randomUUID','pad','onload','mode','includes','_sheetTransformSelectionsService','_undoRedoService','\x0aCurrent:\x20','getImageSourceCache','apply','_roomMembers','objectType','encrypt','clone','allowed','image/bmp','_updateStatus','COMPRESS_MUTATION_SEND','createDecryptor','__Key__','ALREADY_EXISTS','debug','\x20to\x20','Hasher','socket\x20open.','INGEST','/universer-api/stream/file/upload','_transformService','onMissingChangesets','setWaitCount','executeCommand','saveImage','HMAC','getSnapshotAPIPath','_localCacheService','_scheduleCompleteTimestamp','sigBytes','_changesetReqId','clear','Latin1','/object/','Cipher','StreamCipher','init','_loadDoc','exports','length','RETRY_CONNECTING_MAX_COUNT','LIVESHARE_TERMINATE','AWAITING','transformMutationsWithChangeset','status','objectActions','/-/object/-/batch_allowed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','editingUnit','_waitForHeartbeatResponse','_timeoutTimer','reduce','[PendingState]:\x20received\x20rejection.','_socket','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_SLIDE','enc','findIndex','onRemoteRej','conflict','downloadEndpointUrl','_entities','collaboratorID','793300qxspIu','equals','LIVESHARE_REQUEST_HOST','_eventService','getResourcesRequest','getMemberID','/universer-api/user/session-ticket','_socketReady','members$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','map','mutations','[CollaborationSessionService]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getAllMembers','JOIN_ROOM_NOT_EXISTS','_members','_getLoginPath','_throwTelemetryCollaborationNewChangeset','_initRequestHeader','JOIN_ROOM_FAILED','asObservable','toString','subscribe','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collaboration-client.config','ticket','listRoles','createSocket','CHANGESET_REJ','_scheduleCollaborationTimeoutTimer','APPLY_REJECT','WordArray','/universer-api/uniscript','BufferedBlockAlgorithm','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','startsWith','/universer-api/comb','SYNCED','slice','_nDataBytes','_socketService','_onConflict','[CollaborationSession]','_event$','22430vFnnBi','sid','__esModule','_collaborationUIEventService','1524501daRuaf','clamp','APPLY_PERMISSION_DENIED','put','telemetry\x20info\x20is\x20not\x20initialized','_univerInstanceService','incrementRevOfUnit','CLOSE_ROOM','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_collaborationPaused','[SyncedState]:\x20received\x20acknowledgement.','enableAuthServer','params','_removeRoom','mixIn','&source=','_createSocket','LIVESHARE_FETCH_OPERATIONS','set','_listenToNetworkCondition','SEND_CHANGESET_TIMEOUT','_clearHeartbeatTimer','sessionStatus$','_onRemoteACK','Error\x20on\x20receiving\x20event','_process','LOGIN_URL_KEY','_imageSourceCache','UNIVER_SHEET','find','UNISCRIPT_RUN','_collabSessionService','memberID','_onUserJoin','JOIN_ROOM_FULL','getMember','COLLAB_WEB_SOCKET_URL','revision','_exhaustRemoteChangesetQueue','UPDATE_CURSOR','_stopTelemetryCollaborationNewChangeset','_minBufferSize','_type','SUBMIT_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20acknowledgement.','_createSocketURL','csRejEvent','kdf','_compressMutationService','isPermissionRej','csShouldRetryEvent','selections','_substituteRedoStack','setConfig','dispose','79683CEYXuI','CipherParams','COMMENT_UPDATE','_snapshotServerService','joinEvent','_tryEnsureSocket','_state$','Univer','_hasher','randomBytes','onCommandExecuted','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','range','_prevBlock','[DataLoaderService]','COLLAB_SUBMIT_CHANGESET_URL','YUUMI_RATE_OVER_LIMIT','baseRev','_parse','SOCKET_FAILED_RETRY','_startTelemetryCollaborationNewChangeset','_mode','leaveEvent','wsSessionTicketUrl','INVALID_ARGUMENT','state$','DEFAULT_FILE_NAME','entries','_map','21LrrHPg','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ENSURE_SNAPSHOT_EXECUTION','ERROR_IMAGE_TYPE','_injector','_getCurrentRevision','getUnitStatus$','onRemoteAck','IDLE','loadDoc','HELLO','prototype','_getSignURL','_DEC_XFORM_MODE','BlockCipher','onTransformSelections','getUnitType','_shouldReportTelemetry','reject','getConfig','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_checkMissing','session.room-cnt-exceeds','FAIL','call','isArray','complete','onRemoteRetry','People','YUUMI_SUBSCRIPTION_NOT_FOUND','USERS_LEAVE','byteLength','_awaitingChangeset','connection\x20error','close','__creator','LIVESHARE_NEW_HOST','103112PYwkKF','PERMISSION_DENIED','fetchMissingChangesets','Malformed\x20UTF-8\x20data','toggleOffline','_clearTimeoutTimer','_iKey','_resendTimer','unknown','workbook','image/jpeg','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_change$','charCodeAt','registerHTTPInterceptor','_onOffline','_ENC_XFORM_MODE','ONLINE','method','encryptBlock','fromCharCode','JOIN_ROOM_PERMISSION_DENIED','_acknowledgedAwaitingChangeset','refreshPermission','symbol','SerializableCipher','getValue','_instanceService','finalize','_applyRemoteChangeset','_revisionService','getCurrentSelections','words','_resendWithTimeout','_unitInfo$','random','getUnit','lib','HEARTBEAT','values','[CollaborationSessionService]:\x20socket\x20error','UNAUTHENTICATED','onStarting','_userManagerService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','appendMutation','update','list','collaborators','collaboration_new_changeset','_reverseMap','sheets','_clearUndo','_iv','default','resourceIDs','_members$','LICENSE_DISTRO_REJECTED','listCollaborators','not_collab','HttpExport','iterations','/universer-api/snapshot','291654nMpHTk','objectID','\x20-\x20','_telemetryInfo','disposeWithMe','removeMember','action','UNIVER_DOC','_onRemoteRetry','createEncryptor','_permissionService','SUBMIT_CHANGESET','_getAPIPrefix','enableSingleActiveInstanceLock','_configService','TOO_MANY_REQUESTS','_httpService','/unit/','x-univer-host','compute','_onRecvEvent','change$','LICENSE_IMPORT_SIZE_EXCEEDED','parse','updatePermissionPoint','_createInitialState','_logService','_entityInit$','onTransformState','startTime','collabWebSocketUrl','COMPLETION_FINISHED','getActiveSheet','join','getTypeOfUnitDisposed$','getRoom','transformSelections','catch','collaboration-client.local-cache-service','uploadFileServerUrl','Decryptor','cmd','responseType','APPLY_REVISION_CONFILICT','snapshotServerUrl','_transformRemoteChangesetByStateCache','getCurrentRevOfUnit','unitId\x20is\x20not\x20found','_onConnectionOpen','next','_sendingTimer','duration','_clearScheduledTask','EvpKDF','processBlock','deepClone','[CollaborationUndoRedoService]','focused$','session.room-not-exists','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','CONNECTOR_DATA_TOO_LARGE'];_0x2110=function(){return _0x14c38b;};return _0x2110();}var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x4f6d7b=_0xebfca7;return hi||(hi=0x1,function(_0x3bcdd8,_0x4907fb){(function(_0x3e6aad,_0xeb4b02,_0x23b036){var _0x422a8d=_0x1328;_0x3bcdd8[_0x422a8d(0x123)]=_0xeb4b02(ne(),Ai());}(is,function(_0x25208e){var _0x316397=_0x1328;return _0x25208e[_0x316397(0xf7)][_0x316397(0x37d)]={'pad':function(){},'unpad':function(){}},_0x25208e[_0x316397(0xf7)][_0x316397(0x37d)];}));}(Qe)),Qe[_0x4f6d7b(0x123)];}var rs=ns();const ss=ke(rs);function os(_0xf39aeb,_0x666557){var _0x187af5=_0xebfca7;const _0x2db698=_0x666557-_0xf39aeb[_0x187af5(0x124)]%_0x666557,_0x156a7b=String['fromCharCode'](_0x2db698)[_0x187af5(0x31b)](_0x2db698);return _0xf39aeb+_0x156a7b;}function as(_0x2a8162,_0x12999a){var _0x13ed73=_0xebfca7;const _0x470ebc=ts['random'](0x10),_0x3deb3b=os(_0x2a8162,0x10),_0x118056=Kr[_0x13ed73(0x102)](Xr[_0x13ed73(0x23d)](_0x3deb3b),oi['parse'](_0x12999a),{'iv':_0x470ebc,'padding':ss});return _0x470ebc[_0x13ed73(0x267)](_0x118056[_0x13ed73(0x27c)])[_0x13ed73(0x153)](oi);}function cs(){var _0x44cb57=_0xebfca7;const _0x4d52e6=_0x291c9f()[_0x44cb57(0x109)];if(_0x4d52e6){const _0x87ba8a={'time':Math[_0x44cb57(0xdc)](Date['now']()/0x3e8),'domain':location['hostname']};return as(JSON[_0x44cb57(0x357)](_0x87ba8a),_0x4d52e6);}}var hs=Object['defineProperty'],_s=Object[_0xebfca7(0x298)],ls=(_0x2bb30d,_0x3550a5,_0x3fed0b,_0x4fec33)=>{var _0x2de111=_0xebfca7;for(var _0x100e6c=_0x4fec33>0x1?void 0x0:_0x4fec33?_s(_0x3550a5,_0x3fed0b):_0x3550a5,_0x158b22=_0x2bb30d[_0x2de111(0x124)]-0x1,_0x433c1b;_0x158b22>=0x0;_0x158b22--)(_0x433c1b=_0x2bb30d[_0x158b22])&&(_0x100e6c=(_0x4fec33?_0x433c1b(_0x3550a5,_0x3fed0b,_0x100e6c):_0x433c1b(_0x100e6c))||_0x100e6c);return _0x4fec33&&_0x100e6c&&hs(_0x3550a5,_0x3fed0b,_0x100e6c),_0x100e6c;},us=(_0xc3a0c3,_0x5b1880)=>(_0x411e79,_0x1508da)=>_0x5b1880(_0x411e79,_0x1508da,_0xc3a0c3);let ot=class{constructor(_0x326330){var _0x14f9fe=_0xebfca7;this['_httpService']=_0x326330,this[_0x14f9fe(0x150)]();}['_initRequestHeader'](){var _0x21432c=_0xebfca7;this[_0x21432c(0x236)]['registerHTTPInterceptor']({'interceptor':(_0xaa542e,_0x4b859c)=>{var _0x5b75b4=_0x21432c;const _0x46223b=_0xaa542e[_0x5b75b4(0x340)],_0x5d1040=cs();return _0x5d1040&&_0x46223b['set'](_0x5b75b4(0x238),_0x5d1040),_0x4b859c(_0xaa542e);}});}};ot=ls([us(0x0,_0x350f87(_0x2db2ac))],ot);var ds=Object['defineProperty'],fs=Object[_0xebfca7(0x298)],vs=(_0x223e5d,_0x2bba83,_0x5c4787,_0x18abfc)=>{var _0x5cef93=_0xebfca7;for(var _0x4400a8=_0x18abfc>0x1?void 0x0:_0x18abfc?fs(_0x2bba83,_0x5c4787):_0x2bba83,_0x11672b=_0x223e5d[_0x5cef93(0x124)]-0x1,_0x52755d;_0x11672b>=0x0;_0x11672b--)(_0x52755d=_0x223e5d[_0x11672b])&&(_0x4400a8=(_0x18abfc?_0x52755d(_0x2bba83,_0x5c4787,_0x4400a8):_0x52755d(_0x4400a8))||_0x4400a8);return _0x18abfc&&_0x4400a8&&ds(_0x2bba83,_0x5c4787,_0x4400a8),_0x4400a8;},mt=(_0x497c88,_0x5348b0)=>(_0xab172e,_0x333acc)=>_0x5348b0(_0xab172e,_0x333acc,_0x497c88);let Ot=class extends _0x42ad43{constructor(_0x12b203,_0x597c8d,_0x25a62e){var _0xebccc9=_0xebfca7;super(),N(this,_0xebccc9(0x209),new _0x4a19f3(null)),N(this,_0xebccc9(0xbb),this['_unitInfo$'][_0xebccc9(0x152)]()),(this[_0xebccc9(0x240)]=_0x12b203,this[_0xebccc9(0x294)]=_0x597c8d,this[_0xebccc9(0x118)]=_0x25a62e);}async['loadUnit'](_0x6e7368,_0x4e731f,_0x39f425){var _0x266d32=_0xebfca7;this[_0x266d32(0x209)][_0x266d32(0x257)]({'unitId':_0x6e7368,'type':_0x4e731f,'subUnitId':_0x39f425});let _0x501106=null;switch(_0x4e731f){case Q[_0x266d32(0x18a)]:{_0x501106=await this[_0x266d32(0xd7)](_0x6e7368);break;}case Q[_0x266d32(0x22d)]:{_0x501106=await this[_0x266d32(0x122)](_0x6e7368);break;}default:{this['_logService'][_0x266d32(0x2f8)](_0x266d32(0x1b3),_0x266d32(0x155));break;}}return _0x501106;}async[_0xebfca7(0xd7)](_0x57994e){var _0x373747=_0xebfca7,_0x1f4493;let _0x53ade6=0x0;const _0x1d2d8c=await((_0x1f4493=this['_localCacheService'])==null?void 0x0:_0x1f4493[_0x373747(0x9a)](_0x57994e));return _0x1d2d8c&&(_0x1d2d8c['awaitingChangeset']||_0x1d2d8c[_0x373747(0x148)][_0x373747(0x124)]!==0x0)&&(_0x53ade6=_0x1d2d8c[_0x373747(0x2be)]),_0x53ade6===0x0&&this['_logService'][_0x373747(0x10b)](_0x373747(0x1b3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x373747(0x294)]['loadSheet'](_0x57994e,_0x53ade6);}async[_0xebfca7(0x122)](_0x134d53){var _0x37bffd=_0xebfca7,_0x480fa8;let _0x27b1bd=0x0;const _0x3dc0ae=await((_0x480fa8=this[_0x37bffd(0x118)])==null?void 0x0:_0x480fa8[_0x37bffd(0x9a)](_0x134d53));return _0x3dc0ae&&(_0x3dc0ae[_0x37bffd(0x8a)]||_0x3dc0ae[_0x37bffd(0x148)]['length']!==0x0)&&(_0x27b1bd=_0x3dc0ae['rev']),_0x27b1bd===0x0&&this[_0x37bffd(0x240)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x37bffd(0x294)][_0x37bffd(0x1cb)](_0x134d53,_0x27b1bd);}};Ot=vs([mt(0x0,_0x39281b),mt(0x1,_0x350f87(_0x45cdcb)),mt(0x2,_0x461ea6(J))],Ot);var ps=Object[_0xebfca7(0xda)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x3edc66,_0x294a14,_0x21d45e,_0x283429)=>{var _0x141a91=_0xebfca7;for(var _0x73e8bb=_0x283429>0x1?void 0x0:_0x283429?ms(_0x294a14,_0x21d45e):_0x294a14,_0x20325d=_0x3edc66[_0x141a91(0x124)]-0x1,_0x5642cf;_0x20325d>=0x0;_0x20325d--)(_0x5642cf=_0x3edc66[_0x20325d])&&(_0x73e8bb=(_0x283429?_0x5642cf(_0x294a14,_0x21d45e,_0x73e8bb):_0x5642cf(_0x73e8bb))||_0x73e8bb);return _0x283429&&_0x73e8bb&&ps(_0x294a14,_0x21d45e,_0x73e8bb),_0x73e8bb;},gt=(_0x7e7dc7,_0x40b905)=>(_0x5ae9a5,_0x417f8e)=>_0x40b905(_0x5ae9a5,_0x417f8e,_0x7e7dc7);const Ss=[_0xebfca7(0x28d),_0xebfca7(0x1f1),'image/jpg',_0xebfca7(0x34e),_0xebfca7(0x105)],Es=0x5*0x400*0x400,Is=_0xebfca7(0x1f2),Ts=_0xebfca7(0x110),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0xebfca7(0x26d);let yt=class{constructor(_0x3578fe,_0xb9bbf6,_0x4607e1){var _0x3bbe54=_0xebfca7;N(this,_0x3bbe54(0x2b9),0x0),N(this,_0x3bbe54(0x1f3),new _0x34e3bd()),N(this,_0x3bbe54(0x23b),this[_0x3bbe54(0x1f3)]),N(this,_0x3bbe54(0x189),new Map()),(this[_0x3bbe54(0x236)]=_0x3578fe,this[_0x3bbe54(0x234)]=_0xb9bbf6,this[_0x3bbe54(0x173)]=_0x4607e1);}[_0xebfca7(0x113)](_0x1282e4){var _0x594888=_0xebfca7;this[_0x594888(0x2b9)]=_0x1282e4,this[_0x594888(0x1f3)][_0x594888(0x257)](_0x1282e4);}[_0xebfca7(0xfe)](_0x8f39ce,_0x2313ae){var _0x3fd0dc=_0xebfca7;if(_0x2313ae===_0x1489cc['BASE64']){const _0x2afaa7=new Image();return _0x2afaa7[_0x3fd0dc(0xf5)]=_0x8f39ce,_0x2afaa7;}return this[_0x3fd0dc(0x189)][_0x3fd0dc(0x308)](_0x8f39ce);}[_0xebfca7(0x2ce)](_0x4a632b,_0x4271c2,_0x29d1e6){var _0xb6974f=_0xebfca7;_0x4271c2===_0x1489cc[_0xb6974f(0x2d2)]||_0x29d1e6==null||this[_0xb6974f(0x189)][_0xb6974f(0x180)](_0x4a632b,_0x29d1e6);}async['getImage'](_0x2fbc02){var _0x55e669=_0xebfca7;try{const _0x42d825=this['_replaceFileID'](this[_0x55e669(0x1ce)](),''+_0x2fbc02),_0x331f9c=(await this[_0x55e669(0x236)][_0x55e669(0x308)](_0x42d825))['body'];if(_0x331f9c['error']&&_0x331f9c[_0x55e669(0x2f8)][_0x55e669(0xd1)]===Ii['OK']){const _0x1c4aef=new URL(_0x331f9c[_0x55e669(0x319)],this[_0x55e669(0xd9)]())[_0x55e669(0x153)]();return Promise['resolve'](_0x1c4aef);}return Promise[_0x55e669(0x1d4)](_0x331f9c[_0x55e669(0x2f8)]);}catch(_0xaa0b3a){return Promise[_0x55e669(0x1d4)](_0xaa0b3a);}}async[_0xebfca7(0x115)](_0x71fa4b){var _0x4edcbd=_0xebfca7;let _0x5ac812='';if(!Ss[_0x4edcbd(0xfa)](_0x71fa4b['type']))return this[_0x4edcbd(0x381)](),Promise['reject'](new Error(_0x282861[_0x4edcbd(0x1c5)]));if(_0x71fa4b[_0x4edcbd(0x35d)]>Es)return this[_0x4edcbd(0x381)](),Promise['reject'](new Error(_0x282861[_0x4edcbd(0xf1)]));try{const _0x129323=new FormData();_0x129323[_0x4edcbd(0x2ef)]('file',_0x71fa4b);const _0x372fa4=this['_univerInstanceService'][_0x4edcbd(0x31f)](),_0x118175=_0x372fa4==null?void 0x0:_0x372fa4['getUnitId']();if(!_0x118175)throw new Error(_0x4edcbd(0x255));const _0x12a32a=this[_0x4edcbd(0xe0)]()+_0x4edcbd(0x2b7)+_0x71fa4b[_0x4edcbd(0x35d)][_0x4edcbd(0x153)]()+_0x4edcbd(0x17d)+Ti[_0x4edcbd(0x29c)]+_0x4edcbd(0x29b)+encodeURIComponent(_0x118175),_0x380b3d=await(await fetch(_0x12a32a,{'method':_0x4edcbd(0x32a),'body':_0x129323}))['json']();if(typeof _0x380b3d[_0x4edcbd(0x2f3)]!=_0x4edcbd(0x370))return this[_0x4edcbd(0x381)](),Promise[_0x4edcbd(0x1d4)](new Error(_0x282861[_0x4edcbd(0x2c5)]));_0x5ac812=_0x380b3d[_0x4edcbd(0x2f3)];}catch{return this[_0x4edcbd(0x381)](),Promise['reject'](new Error(_0x282861[_0x4edcbd(0x2c5)]));}return new Promise((_0x9c3f1f,_0x414da8)=>{var _0x356cb8=_0x4edcbd;const _0x2fdccd=new FileReader();_0x2fdccd['readAsDataURL'](_0x71fa4b),_0x2fdccd[_0x356cb8(0xf8)]=_0x31664f=>{var _0x3e737e=_0x356cb8,_0x4a6775;const _0x480dca=(_0x4a6775=_0x31664f['target'])==null?void 0x0:_0x4a6775[_0x3e737e(0x2aa)];if(_0x480dca==null){this[_0x3e737e(0x381)](),_0x414da8(new Error(_0x282861['ERROR_IMAGE']));return;}const _0x2b700f=_0x4ce8aa[_0x3e737e(0xf0)](0x6);_0x9c3f1f({'imageId':_0x2b700f,'imageSourceType':_0x1489cc[_0x3e737e(0xd8)],'source':_0x5ac812,'base64Cache':_0x480dca,'status':_0x282861[_0x3e737e(0x97)]}),this[_0x3e737e(0x381)]();};});}['_getUploadFileURL'](){var _0x5ce3e5=_0xebfca7,_0x37080e,_0x2b3528;const _0x31b05a=this[_0x5ce3e5(0x234)][_0x5ce3e5(0x1d5)](Is),_0x48f80c=this[_0x5ce3e5(0x234)]['getConfig'](q);return(_0x2b3528=(_0x37080e=_0x48f80c==null?void 0x0:_0x48f80c[_0x5ce3e5(0x24d)])!=null?_0x37080e:_0x31b05a)!=null?_0x2b3528:Ts;}[_0xebfca7(0x1ce)](){var _0x25c2b2=_0xebfca7,_0x1c3485,_0x421c01;const _0x54298e=this[_0x25c2b2(0x234)][_0x25c2b2(0x1d5)](Cs),_0x14ea10=this[_0x25c2b2(0x234)]['getConfig'](q);return(_0x421c01=(_0x1c3485=_0x14ea10==null?void 0x0:_0x14ea10['signUrlServerUrl'])!=null?_0x1c3485:_0x54298e)!=null?_0x421c01:Rs;}[_0xebfca7(0xd9)](){var _0x9d31e2=_0xebfca7,_0xe0a314;const _0x5a6045=this[_0x9d31e2(0x234)][_0x9d31e2(0x1d5)](q);return(_0xe0a314=_0x5a6045==null?void 0x0:_0x5a6045[_0x9d31e2(0x13a)])!=null?_0xe0a314:location[_0x9d31e2(0xd0)];}['_replaceFileID'](_0x367d32,_0x16d6a9){var _0x13ac4e=_0xebfca7;return _0x367d32['replace'](_0x13ac4e(0x34b),_0x16d6a9);}['_decreaseWaiting'](){var _0x21030d=_0xebfca7;this['_waitCount']-=0x1,this['_change$'][_0x21030d(0x257)](this[_0x21030d(0x2b9)]);}};yt=gs([gt(0x0,_0x350f87(_0x2db2ac)),gt(0x1,_0x3e9aa3),gt(0x2,_0x350f87(_0x47607b))],yt);var bs=Object[_0xebfca7(0xda)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x2bb822,_0x1f6653,_0x330296,_0x3d49d5)=>{for(var _0x355492=_0x3d49d5>0x1?void 0x0:_0x3d49d5?Os(_0x1f6653,_0x330296):_0x1f6653,_0x42ae78=_0x2bb822['length']-0x1,_0x545e12;_0x42ae78>=0x0;_0x42ae78--)(_0x545e12=_0x2bb822[_0x42ae78])&&(_0x355492=(_0x3d49d5?_0x545e12(_0x1f6653,_0x330296,_0x355492):_0x545e12(_0x355492))||_0x355492);return _0x3d49d5&&_0x355492&&bs(_0x1f6653,_0x330296,_0x355492),_0x355492;},_i=(_0x3cf5ca,_0x5a1b89)=>(_0x806ab3,_0x39fffd)=>_0x5a1b89(_0x806ab3,_0x39fffd,_0x3cf5ca);const Ns=_0xebfca7(0x2eb);let Nt=class{constructor(_0x4200c8,_0x18947d){var _0xb50280=_0xebfca7;this[_0xb50280(0x234)]=_0x4200c8,this[_0xb50280(0x94)]=_0x18947d;}[_0xebfca7(0x28f)](){var _0x3541b7=_0xebfca7,_0x4c5a36,_0x495a48;const _0x1f7850=this['_configService']['getConfig'](Pi),_0xa7acf9=this[_0x3541b7(0x234)]['getConfig'](q);return(_0x495a48=(_0x4c5a36=_0xa7acf9==null?void 0x0:_0xa7acf9['authzUrl'])!=null?_0x4c5a36:_0x1f7850)!=null?_0x495a48:Ns;}async['list'](_0x19671e){var _0x256839=_0xebfca7;const _0x30ee22=this['_getAPIPrefixPath']()+_0x256839(0x2e1);return{'list':[{'title':_0x256839(0x1de),'mentions':(await this[_0x256839(0x94)][_0x256839(0x308)](_0x30ee22,{'params':{'objectID':_0x19671e[_0x256839(0x34d)],'unitID':_0x19671e[_0x256839(0x34d)]}}))[_0x256839(0x310)][_0x256839(0x217)]['map'](_0x5df5c6=>({'objectId':_0x5df5c6['id'],'name':_0x5df5c6[_0x256839(0xe9)][_0x256839(0x2b8)],'metadata':{'icon':_0x5df5c6[_0x256839(0xe9)]['avatar']},'label':_0x5df5c6[_0x256839(0xe9)][_0x256839(0x2b8)],'objectType':_0x377f04['PERSON']})),'metadata':{},'type':_0x377f04['PERSON']}]};}};Nt=ys([_i(0x0,_0x350f87(_0x3e9aa3)),_i(0x1,_0x350f87(_0x2db2ac))],Nt);var Ds=Object[_0xebfca7(0xda)],Ps=Object[_0xebfca7(0x298)],ws=(_0x10dffd,_0x2c3fbc,_0x47fd2c,_0x5ad4fa)=>{for(var _0x4657ca=_0x5ad4fa>0x1?void 0x0:_0x5ad4fa?Ps(_0x2c3fbc,_0x47fd2c):_0x2c3fbc,_0x3c5e88=_0x10dffd['length']-0x1,_0x4a6746;_0x3c5e88>=0x0;_0x3c5e88--)(_0x4a6746=_0x10dffd[_0x3c5e88])&&(_0x4657ca=(_0x5ad4fa?_0x4a6746(_0x2c3fbc,_0x47fd2c,_0x4657ca):_0x4a6746(_0x4657ca))||_0x4657ca);return _0x5ad4fa&&_0x4657ca&&Ds(_0x2c3fbc,_0x47fd2c,_0x4657ca),_0x4657ca;},Se=(_0x56dbdf,_0x1c793d)=>(_0x51b6c4,_0x57fd44)=>_0x1c793d(_0x51b6c4,_0x57fd44,_0x56dbdf);let at=class extends _0x42ad43{constructor(_0x3c844f,_0x1e2eb6,_0x2db216,_0xb2d5b3,_0x4aa5ac,_0x117d9c,_0x4b514a){var _0x4219df=_0xebfca7;super(),this[_0x4219df(0x1c6)]=_0x3c844f,this[_0x4219df(0x173)]=_0x1e2eb6,this[_0x4219df(0x230)]=_0x2db216,this['_collaborationSessionService']=_0xb2d5b3,this['_collaborationUIEventService']=_0x4aa5ac,this['_authzIoService']=_0x117d9c,this[_0x4219df(0xfc)]=_0x4b514a,this[_0x4219df(0xae)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x389857=_0xebfca7;const _0x589b2d=async _0x30f08f=>{var _0x3be37f=_0x1328;(await this[_0x3be37f(0x358)]['requireSession'](_0x30f08f))['event$'][_0x3be37f(0x324)](_0x57ecda(_0x4ba9d2=>_0x4ba9d2['eventID']===_0x3aa22a[_0x3be37f(0x270)]),_0x22c703(this[_0x3be37f(0x299)]))[_0x3be37f(0x154)](_0x40c8ee=>{var _0x70c880=_0x3be37f;const _0x2f6ea9=_0x40c8ee,{reason:_0x34cf78}=_0x2f6ea9['data'];this['_collaborationUIEventService'][_0x70c880(0x36a)]({'id':se[_0x70c880(0x175)],'data':_0x34cf78}),this[_0x70c880(0x230)][_0x70c880(0x23e)](new _0x1a2393(_0x30f08f)['id'],!0x1),this[_0x70c880(0x358)][_0x70c880(0x35f)](_0x30f08f);});};_0x1345a8(this[_0x389857(0x173)][_0x389857(0x2f5)](_0x47927c[_0x389857(0x18a)]),this[_0x389857(0x173)]['getTypeOfUnitAdded$'](_0x47927c[_0x389857(0x22d)]))[_0x389857(0x324)](_0x5522f1(_0x301d7e=>_0x301d7e['getUnitId']()),_0x57ecda(_0x5acb12=>!_0x506283(_0x5acb12)),_0x22c703(this[_0x389857(0x299)]))[_0x389857(0x154)](_0xd4f02c=>{_0x589b2d(_0xd4f02c);});}[_0xebfca7(0xae)](){var _0x44caf0=_0xebfca7;const _0x339660=async _0x118b1f=>{var _0x44720e=_0x1328;const _0xf8fba0=await this[_0x44720e(0x358)][_0x44720e(0x98)](_0x118b1f),_0x306401=this[_0x44720e(0x1c6)][_0x44720e(0x308)](_0x18e5b3);_0xf8fba0[_0x44720e(0x2c1)][_0x44720e(0x324)](_0x57ecda(_0x28af82=>_0x28af82[_0x44720e(0x2dc)]===_0x3aa22a[_0x44720e(0x30c)]),_0x22c703(this['dispose$']))[_0x44720e(0x154)](_0x1951eb=>{var _0x15a330=_0x44720e;const _0x30e9f4=_0x1951eb,{objectId:_0x404061}=_0x30e9f4[_0x15a330(0xc2)];_0x404061===_0x118b1f?_0x306401['initWorkbookPermissionChange'](_0x118b1f):_0x306401[_0x15a330(0x1fe)](_0x118b1f,_0x404061);});};_0x1345a8(this[_0x44caf0(0x173)][_0x44caf0(0x2f5)](_0x47927c['UNIVER_SHEET']),this[_0x44caf0(0x173)]['getTypeOfUnitAdded$'](_0x47927c['UNIVER_DOC']))[_0x44caf0(0x324)](_0x5522f1(_0x252bb9=>_0x252bb9[_0x44caf0(0x266)]()),_0x57ecda(_0x18106c=>!_0x506283(_0x18106c)),_0x22c703(this[_0x44caf0(0x299)]))[_0x44caf0(0x154)](_0x1e1bc0=>{_0x339660(_0x1e1bc0);});}};at=ws([Se(0x0,_0x350f87(_0x3e288c)),Se(0x1,_0x47607b),Se(0x2,_0x35f2aa),Se(0x3,_0x350f87(Le)),Se(0x4,_0x350f87(pe)),Se(0x5,_0x5ac997),Se(0x6,_0x4f45a5)],at);var Us=Object[_0xebfca7(0xda)],As=Object[_0xebfca7(0x298)],xs=(_0x1b7b9d,_0x4e5171,_0x2be2e8,_0x471163)=>{for(var _0x4169aa=_0x471163>0x1?void 0x0:_0x471163?As(_0x4e5171,_0x2be2e8):_0x4e5171,_0x4af377=_0x1b7b9d['length']-0x1,_0x5ba87a;_0x4af377>=0x0;_0x4af377--)(_0x5ba87a=_0x1b7b9d[_0x4af377])&&(_0x4169aa=(_0x471163?_0x5ba87a(_0x4e5171,_0x2be2e8,_0x4169aa):_0x5ba87a(_0x4169aa))||_0x4169aa);return _0x471163&&_0x4169aa&&Us(_0x4e5171,_0x2be2e8,_0x4169aa),_0x4169aa;},li=(_0x10019c,_0x44f170)=>(_0x25c136,_0x384c78)=>_0x44f170(_0x25c136,_0x384c78,_0x10019c);let Dt=class{constructor(_0x5d7056,_0x53d7de){this['_configService']=_0x5d7056,this['_httpService']=_0x53d7de;}async['getUnitOnRev'](_0x1195a4,_0x3354e5){var _0x194f1a=_0xebfca7,_0x3a4582;const {unitID:_0x4fe6df,type:_0x374a7e,revision:_0x25b02c=0x0}=_0x3354e5,_0x374db2=this[_0x194f1a(0x117)]()+'/'+_0x374a7e+_0x194f1a(0x237)+_0x4fe6df+_0x194f1a(0x375)+_0x25b02c,_0x465ff3=(await this['_httpService'][_0x194f1a(0x308)](_0x374db2))[_0x194f1a(0x310)],_0x4e260f=(_0x3a4582=_0x465ff3['snapshot'])==null?void 0x0:_0x3a4582[_0x194f1a(0x1f0)];if(_0x4e260f){const _0x388299=_0x4e260f==null?void 0x0:_0x4e260f[_0x194f1a(0x2e6)],_0x27695e=_0x4437b3[_0x194f1a(0x33d)](_0x307b45(_0x388299));_0x4e260f[_0x194f1a(0x2e6)]=_0x27695e,Object[_0x194f1a(0x1c0)](_0x4e260f[_0x194f1a(0x21a)])[_0x194f1a(0x2df)](([,_0xc062e9])=>{var _0x5506b6=_0x194f1a;const _0x347700=_0xc062e9['originalMeta'],_0xf92afa=_0x4437b3[_0x5506b6(0x33d)](_0x307b45(_0x347700));_0xc062e9[_0x5506b6(0x2e6)]=_0xf92afa;});}return _0x465ff3;}async[_0xebfca7(0x2d8)](_0x2d7dd7,_0x1ff072){var _0x2127c2=_0xebfca7;const {unitID:_0x107933,type:_0x192dec,blockID:_0x4a06da}=_0x1ff072,_0x54516f=this[_0x2127c2(0x232)]()+'/'+_0x192dec+_0x2127c2(0x237)+_0x107933+_0x2127c2(0x92)+_0x4a06da;return(await this[_0x2127c2(0x236)][_0x2127c2(0x308)](_0x54516f))[_0x2127c2(0x310)];}async[_0xebfca7(0x313)](_0x50e5c6,_0x4920c4){var _0x2bfde0=_0xebfca7;const {unitID:_0x569096,type:_0x5b44e8,blockID:_0xa4bbc6}=_0x4920c4,_0x290fb9=this[_0x2bfde0(0x232)]()+'/block/'+_0x5b44e8+_0x2bfde0(0x237)+_0x569096+_0x2bfde0(0x92)+_0xa4bbc6;return(await this[_0x2bfde0(0x236)]['get'](_0x290fb9))['body'];}async[_0xebfca7(0x1e9)](_0x7b7356,_0x437476){var _0x52afc8=_0xebfca7;const {unitID:_0x570459,type:_0x3cc141,from:_0x3caf42,to:_0x562bcc}=_0x437476,_0x505877=this['_getAPIPrefix']()+'/'+_0x3cc141+_0x52afc8(0x237)+_0x570459+_0x52afc8(0x36e)+_0x3caf42+_0x52afc8(0x2c6)+_0x562bcc;return(await this['_httpService'][_0x52afc8(0x308)](_0x505877))['body'];}[_0xebfca7(0x117)](){var _0x524f61=_0xebfca7,_0x4f3f42;return(_0x4f3f42=this[_0x524f61(0x234)][_0x524f61(0x1d5)](Tn))!=null?_0x4f3f42:this[_0x524f61(0x232)]();}['_getAPIPrefix'](){var _0x4acedb=_0xebfca7,_0x2b1c68,_0x5a87fe;const _0x4be0b0=this['_configService'][_0x4acedb(0x1d5)](En),_0x5a14d0=this[_0x4acedb(0x234)][_0x4acedb(0x1d5)](q);return(_0x5a87fe=(_0x2b1c68=_0x5a14d0==null?void 0x0:_0x5a14d0[_0x4acedb(0x252)])!=null?_0x2b1c68:_0x4be0b0)!=null?_0x5a87fe:In;}async[_0xebfca7(0x141)](_0x2e82e3,_0x1681b8){var _0x815c89=_0xebfca7;const _0x30be26='/universer-api/snapshot/'+_0x1681b8['type']+'/unit/'+_0x1681b8[_0x815c89(0x37e)]+_0x815c89(0x2a4);return(await this[_0x815c89(0x236)][_0x815c89(0x308)](_0x30be26,{'params':{'resourceId':JSON[_0x815c89(0x357)](_0x1681b8[_0x815c89(0x21e)])}}))[_0x815c89(0x310)];}[_0xebfca7(0xaa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x3b0071=_0xebfca7;throw new Error(_0x3b0071(0x30f));}[_0xebfca7(0x30d)](){var _0x5e9d10=_0xebfca7;throw new Error(_0x5e9d10(0x30f));}['copyFileMeta'](){var _0x137380=_0xebfca7;throw new Error(_0x137380(0x30f));}[_0xebfca7(0x300)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x3e9aa3),li(0x1,_0x350f87(_0x2db2ac))],Dt);var Ls=Object[_0xebfca7(0xda)],Ms=Object[_0xebfca7(0x298)],$s=(_0x45cdea,_0xf6b642,_0x26c1f1,_0x525b41)=>{for(var _0x44720b=_0x525b41>0x1?void 0x0:_0x525b41?Ms(_0xf6b642,_0x26c1f1):_0xf6b642,_0x12f174=_0x45cdea['length']-0x1,_0xce033c;_0x12f174>=0x0;_0x12f174--)(_0xce033c=_0x45cdea[_0x12f174])&&(_0x44720b=(_0x525b41?_0xce033c(_0xf6b642,_0x26c1f1,_0x44720b):_0xce033c(_0x44720b))||_0x44720b);return _0x525b41&&_0x44720b&&Ls(_0xf6b642,_0x26c1f1,_0x44720b),_0x44720b;},Ae=(_0x26abd4,_0x475af8)=>(_0x59300d,_0x4e0a2e)=>_0x475af8(_0x59300d,_0x4e0a2e,_0x26abd4);let Pt=class extends _0x3d3125{constructor(_0x38c3d0,_0x13ae3e,_0x1f35c5,_0x5a2a51,_0x386096){var _0x4194c9=_0xebfca7;super(_0x38c3d0,_0x13ae3e,_0x1f35c5),this[_0x4194c9(0x111)]=_0x5a2a51,this[_0x4194c9(0x240)]=_0x386096;}[_0xebfca7(0x2af)](_0xa0b795,_0x20bb37){var _0x517725=_0xebfca7;const _0x881a93=this[_0x517725(0x28c)](_0xa0b795);if(_0x881a93)try{const _0x478212=this['_transformStack'](_0x881a93,_0x20bb37);this[_0x517725(0x8b)](_0xa0b795,_0x478212);}catch(_0x189580){this[_0x517725(0x240)][_0x517725(0x2f8)]('[CollaborationUndoRedoService]',_0x189580),this[_0x517725(0x21b)](_0xa0b795);}const _0xb1b79d=this[_0x517725(0x2c8)](_0xa0b795);if(_0xb1b79d)try{const _0xa3ea49=this[_0x517725(0x32d)](_0xb1b79d,_0x20bb37);this[_0x517725(0x1a2)](_0xa0b795,_0xa3ea49);}catch(_0x5253f0){this[_0x517725(0x240)][_0x517725(0x2f8)](_0x5253f0),this[_0x517725(0x32c)](_0xa0b795);}}[_0xebfca7(0x21b)](_0x1163c1){var _0x45796e=_0xebfca7;const _0x47564b=this[_0x45796e(0x28c)](_0x1163c1);_0x47564b&&(_0x47564b[_0x45796e(0x124)]=0x0,this['_updateStatus']());}[_0xebfca7(0x32c)](_0x5c1dbf){var _0x498914=_0xebfca7;const _0x5174b2=this[_0x498914(0x2c8)](_0x5c1dbf);_0x5174b2&&(_0x5174b2[_0x498914(0x124)]=0x0,this[_0x498914(0x106)]());}[_0xebfca7(0x8b)](_0x2d4787,_0x323b0a){var _0x356bd0=_0xebfca7;this['_undoStacks'][_0x356bd0(0x180)](_0x2d4787,_0x323b0a),this['_updateStatus']();}[_0xebfca7(0x1a2)](_0x5b1f7f,_0x48783c){var _0x2916fd=_0xebfca7;this[_0x2916fd(0xb1)][_0x2916fd(0x180)](_0x5b1f7f,_0x48783c),this[_0x2916fd(0x106)]();}[_0xebfca7(0x32d)](_0x24dd2e,_0xa93e55){var _0x36d6fb=_0xebfca7;const _0x2b2f88=[];let _0x7e5c57=_0xa93e55,_0x1a8b40=_0xa93e55;for(let _0x4d71f0=_0x24dd2e[_0x36d6fb(0x124)]-0x1;_0x4d71f0>=0x0;_0x4d71f0--){const {unitID:_0x19e6aa,undoMutations:_0x270131,redoMutations:_0x1e3813}=_0x24dd2e[_0x4d71f0],_0x4cb4b1=this['_transformService'][_0x36d6fb(0x128)](_0x7e5c57,_0x270131),_0x3f6a36=this[_0x36d6fb(0x111)][_0x36d6fb(0x128)](_0x1a8b40,_0x1e3813);if(_0x165260(_0x4cb4b1)||_0x165260(_0x3f6a36)){this[_0x36d6fb(0x240)][_0x36d6fb(0x2f8)](_0x36d6fb(0x25e),'transformStack\x20failed!',_0x4cb4b1,_0x3f6a36);break;}_0x7e5c57=_0x4cb4b1[_0x36d6fb(0xe6)],_0x1a8b40=_0x3f6a36[_0x36d6fb(0xe6)],_0x2b2f88[_0x36d6fb(0xca)]({'unitID':_0x19e6aa,'undoMutations':_0x4cb4b1[_0x36d6fb(0x343)],'redoMutations':_0x3f6a36['m2Prime']});}return _0x2b2f88[_0x36d6fb(0xdf)]();}};Pt=$s([Ae(0x0,_0x47607b),Ae(0x1,_0x5f3828),Ae(0x2,_0x2b56cd),Ae(0x3,_0x248c0d),Ae(0x4,_0x39281b)],Pt);var xi=Object[_0xebfca7(0xda)],Hs=Object[_0xebfca7(0x298)],ks=(_0x117ca2,_0x18689d,_0x501741)=>_0x18689d in _0x117ca2?xi(_0x117ca2,_0x18689d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x501741}):_0x117ca2[_0x18689d]=_0x501741,js=(_0x2276e3,_0x39c20f,_0x5ddf8b,_0x5effb1)=>{var _0x523833=_0xebfca7;for(var _0x15c498=_0x5effb1>0x1?void 0x0:_0x5effb1?Hs(_0x39c20f,_0x5ddf8b):_0x39c20f,_0x3a13e1=_0x2276e3[_0x523833(0x124)]-0x1,_0x13b732;_0x3a13e1>=0x0;_0x3a13e1--)(_0x13b732=_0x2276e3[_0x3a13e1])&&(_0x15c498=(_0x5effb1?_0x13b732(_0x39c20f,_0x5ddf8b,_0x15c498):_0x13b732(_0x15c498))||_0x15c498);return _0x5effb1&&_0x15c498&&xi(_0x39c20f,_0x5ddf8b,_0x15c498),_0x15c498;},St=(_0x2c5d14,_0x440232)=>(_0x5098cc,_0x14651b)=>_0x440232(_0x5098cc,_0x14651b,_0x2c5d14),Bs=(_0x3f8fb1,_0xb882c1,_0x593238)=>ks(_0x3f8fb1,_0xb882c1+'',_0x593238);const Fs=_0xebfca7(0x2c7);let wt=class extends _0x348bbd{constructor(_0x41ffdd=Wt,_0x5baf59,_0x28f1b3,_0x20718d){var _0xac209a=_0xebfca7;super(),this['_config']=_0x41ffdd,this[_0xac209a(0x240)]=_0x5baf59,this[_0xac209a(0x1c6)]=_0x28f1b3,this[_0xac209a(0x234)]=_0x20718d;const {..._0x57e0b0}=_0x357d4d({},Wt,this[_0xac209a(0xe8)]);this[_0xac209a(0x234)][_0xac209a(0x1a3)](q,_0x57e0b0);}[_0xebfca7(0x211)](){var _0x576e94=_0xebfca7;this[_0x576e94(0x2cf)](),this[_0x576e94(0x2a8)]();}['_registerDependencies'](){var _0x4ae0d0=_0xebfca7,_0x3d2530,_0x378d48,_0x12d4c6,_0x1b7509;this[_0x4ae0d0(0x1c6)][_0x4ae0d0(0x26a)](_0x4f45a5)&&this[_0x4ae0d0(0x240)][_0x4ae0d0(0x2f8)](_0x4ae0d0(0x2d4),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x438910=_0x161d02([[_0x4f45a5,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x378d48=(_0x3d2530=this[_0x4ae0d0(0xe8)])==null?void 0x0:_0x3d2530['socketService'])!=null?_0x378d48:Et}],[_0x5dd680,{'useClass':Dt}],[_0x5ac997,{'useClass':bt}],[_0x38607d,{'useClass':yt}],[_0x2698d8,{'useClass':Nt}],[rt],[Rt]],(_0x12d4c6=this[_0x4ae0d0(0xe8)])==null?void 0x0:_0x12d4c6[_0x4ae0d0(0xc3)]);if(!((_0x1b7509=this[_0x4ae0d0(0xe8)])!=null&&_0x1b7509[_0x4ae0d0(0x233)])){const _0x25b401=_0x438910[_0x4ae0d0(0x137)](([_0x2e7fe7])=>_0x2e7fe7===ht);_0x25b401!==-0x1&&_0x438910[_0x4ae0d0(0x2e3)](_0x25b401,0x1);}_0x18b4b6(this[_0x4ae0d0(0x1c6)],_0x438910);}[_0xebfca7(0x2a8)](){var _0x5d92f8=_0xebfca7,_0x53a0dd,_0xb2e47f,_0x5e982e;this[_0x5d92f8(0x1c6)][_0x5d92f8(0x308)](_0x2db2ac)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x49965e({'maxParallel':0x6})}),(_0x53a0dd=this[_0x5d92f8(0xe8)])!=null&&_0x53a0dd['enableOfflineEditing']||(_0xb2e47f=this['_injector']['get'](J,_0x78d10c[_0x5d92f8(0x315)]))==null||_0xb2e47f['disableLocalCache'](),(_0x5e982e=this[_0x5d92f8(0xe8)])!=null&&_0x5e982e[_0x5d92f8(0x179)]&&_0x1307fc(this[_0x5d92f8(0x1c6)],[[st]]),_0x1307fc(this[_0x5d92f8(0x1c6)],[[ot],[rt],[at]]);}};Bs(wt,_0xebfca7(0x34f),Fs),wt=js([_0xa5ea51(_0x4ee596,_0x1d22ed,_0x22e9e5),St(0x1,_0x39281b),St(0x2,_0x350f87(_0x3e288c)),St(0x3,_0x3e9aa3)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};