@univerjs-pro/collaboration-client 0.6.0-nightly.202502081605 → 0.6.0-nightly.202502101606

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 _0x5b2e46=_0xf286;(function(_0x280d01,_0x4d6aa7){var _0x2d0c89=_0xf286,_0x1dbdb1=_0x280d01();while(!![]){try{var _0xfb2e12=parseInt(_0x2d0c89(0x383))/0x1*(-parseInt(_0x2d0c89(0x3d2))/0x2)+-parseInt(_0x2d0c89(0x2e9))/0x3+-parseInt(_0x2d0c89(0x181))/0x4+parseInt(_0x2d0c89(0x305))/0x5+-parseInt(_0x2d0c89(0x378))/0x6*(-parseInt(_0x2d0c89(0x292))/0x7)+parseInt(_0x2d0c89(0x1b8))/0x8*(parseInt(_0x2d0c89(0x3a7))/0x9)+parseInt(_0x2d0c89(0x1c9))/0xa*(parseInt(_0x2d0c89(0x32b))/0xb);if(_0xfb2e12===_0x4d6aa7)break;else _0x1dbdb1['push'](_0x1dbdb1['shift']());}catch(_0x3708b0){_0x1dbdb1['push'](_0x1dbdb1['shift']());}}}(_0x3e11,0x57404));var Li=Object[_0x5b2e46(0x1db)],Mi=(_0x341815,_0x3a6b09,_0x54fde6)=>_0x3a6b09 in _0x341815?Li(_0x341815,_0x3a6b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54fde6}):_0x341815[_0x3a6b09]=_0x54fde6,N=(_0x41de33,_0x4cd4d3,_0xbf2105)=>Mi(_0x41de33,typeof _0x4cd4d3!=_0x5b2e46(0x2ea)?_0x4cd4d3+'':_0x4cd4d3,_0xbf2105);import{createIdentifier as _0x4b0222,Inject as _0x93b1fb,Injector as _0x19c3a9,Disposable as _0x1f666a,DisposableCollection as _0x229024,toDisposable as _0x2765ad,IConfigService as _0x4288b6,ILogService as _0x3feb90,UserManagerService as _0x5d04b5,UniverInstanceType as _0x1d991f,IUniverInstanceService as _0x2b0fa0,LocaleService as _0x2d7fad,Optional as _0x2480cc,RxDisposable as _0x55185b,Tools as _0x532cc5,Rectangle as _0x51bcfd,ICommandService as _0x373d1a,JSONX as _0x17d26f,CommandType as _0x5d2169,IPermissionService as _0x438398,IUndoRedoService as _0x48bd3c,sequenceExecute as _0x41a060,Workbook as _0x1f06e2,MentionType as _0x46b744,IAuthzIoService as _0x33891c,isInternalEditorID as _0x488c42,LocalUndoRedoService as _0x38d9c3,IContextService as _0x22d0e1,DependentOn as _0x214e30,Plugin as _0x17ce8f,merge as _0x22bb6e,mergeOverrideWithDependencies as _0x28da00,IMentionIOService as _0x115ce5,registerDependencies as _0x51b942,Quantity as _0x287c93,touchDependencies as _0x137da6}from'@univerjs/core';import{Subject as _0xb18d4e,merge as _0x385d67,of as _0x4d78dc,BehaviorSubject as _0x560e61,takeUntil as _0x3077f,ReplaySubject as _0x56eed9,take as _0x23570d,map as _0x2563dd,shareReplay as _0x3ac042,firstValueFrom as _0x13cc34,concatMap as _0x58c003}from'rxjs';import{map as _0x12fd80,take as _0x1fbc6d,filter as _0x45e415,delay as _0x6d0a8e,takeUntil as _0x5b733f}from'rxjs/operators';import{HTTPService as _0x326cb2,ISocketService as _0x39c163,MergeInterceptorFactory as _0x7dd69f,HTTPRequest as _0x498eaf,UniverNetworkPlugin as _0x39b8cd,ThresholdInterceptorFactory as _0x266113}from'@univerjs/network';import{CollaborationEvent as _0x5804c0,parseChangesetToProtocol as _0x24d172,ISnapshotServerService as _0x9ec470,isTransformMutationsWithChangesetSuccess as _0xd8001,ITransformService as _0x36deec,mapDocumentTypeToUniverType as _0x1f63c9,RevisionService as _0x1c2240,isTransformChangesetsSuccess as _0x620d30,CompressMutationService as _0xc96cf,parseProtocolChangeset as _0x243b53,SnapshotService as _0x593955,textEncoder as _0x27e109,b64DecodeUnicode as _0x2c08cb,isTransformMutationsWithChangesetFailure as _0x4b5e39,UniverCollaborationPlugin as _0x15afe6}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x123995}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1cd7f9}from'@univerjs/docs';import{SheetsSelectionsService as _0x77dc34,SetSelectionsOperation as _0x414091,InsertSheetMutation as _0x359a12,EmptyMutation as _0xae226c,WorkbookEditablePermission as _0x1b2024,SheetPermissionInitController as _0x23dd43,UniverSheetsPlugin as _0x49e7cb}from'@univerjs/sheets';import{ImageSourceType as _0x241e90,ImageUploadStatusType as _0x2e3be1,IImageIoService as _0x374ed8}from'@univerjs/drawing';import{getGlobalObject as _0x1bed3e}from'@univerjs-pro/license';const En=_0x5b2e46(0x1f4),In=_0x5b2e46(0x400),Tn=_0x5b2e46(0x1e1),eo=_0x5b2e46(0x2f7),Cn=0x7d0,Rn=_0x5b2e46(0x3c9),bn=_0x5b2e46(0x41f),On=_0x5b2e46(0x172),yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x5b2e46(0x28a),Ei=0x4e20,Dn=0x4e20,Pn=_0x5b2e46(0x28f),wn=0x3,to=_0x5b2e46(0x350),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An=_0x5b2e46(0x13a),xn=_0x5b2e46(0x1e2),Ln='/universer-api/oidc/authpage',no=_0x5b2e46(0x334),ro='/universer-api/uniscript';var Ii=(_0x514680=>(_0x514680[_0x514680[_0x5b2e46(0x2a0)]=0x0]=_0x5b2e46(0x2a0),_0x514680[_0x514680['OK']=0x1]='OK',_0x514680[_0x514680[_0x5b2e46(0x1da)]=0x2]=_0x5b2e46(0x1da),_0x514680[_0x514680[_0x5b2e46(0x1c4)]=0x3]=_0x5b2e46(0x1c4),_0x514680[_0x514680[_0x5b2e46(0x399)]=0x4]=_0x5b2e46(0x399),_0x514680[_0x514680[_0x5b2e46(0x264)]=0x5]='UNAUTHENTICATED',_0x514680[_0x514680['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x514680[_0x514680[_0x5b2e46(0x225)]=0x7]='INVALID_ARGUMENT',_0x514680[_0x514680[_0x5b2e46(0x35d)]=0x8]=_0x5b2e46(0x35d),_0x514680[_0x514680[_0x5b2e46(0x381)]=0x9]=_0x5b2e46(0x381),_0x514680[_0x514680[_0x5b2e46(0x433)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x514680[_0x514680[_0x5b2e46(0x37e)]=0x1771]=_0x5b2e46(0x37e),_0x514680[_0x514680[_0x5b2e46(0x42f)]=0x1772]=_0x5b2e46(0x42f),_0x514680[_0x514680[_0x5b2e46(0x3e1)]=0x1773]=_0x5b2e46(0x3e1),_0x514680[_0x514680[_0x5b2e46(0x1f8)]=0x1b59]=_0x5b2e46(0x1f8),_0x514680[_0x514680[_0x5b2e46(0x178)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x514680[_0x514680[_0x5b2e46(0x2a7)]=0x1b5b]=_0x5b2e46(0x2a7),_0x514680[_0x514680[_0x5b2e46(0x126)]=0x1b5c]=_0x5b2e46(0x126),_0x514680[_0x514680[_0x5b2e46(0x29c)]=0x1b5d]='APPLY_DUPLICATED',_0x514680[_0x514680['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5b2e46(0x401),_0x514680[_0x514680['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5b2e46(0x261),_0x514680[_0x514680['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x514680[_0x514680[_0x5b2e46(0x26f)]=0x232b]=_0x5b2e46(0x26f),_0x514680[_0x514680['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5b2e46(0x260),_0x514680[_0x514680[_0x5b2e46(0x363)]=0x232d]=_0x5b2e46(0x363),_0x514680[_0x514680[_0x5b2e46(0x1d1)]=0x2711]=_0x5b2e46(0x1d1),_0x514680[_0x514680[_0x5b2e46(0x318)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x514680[_0x514680['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5b2e46(0x3db),_0x514680[_0x514680[_0x5b2e46(0x1c0)]=0x2714]=_0x5b2e46(0x1c0),_0x514680[_0x514680[_0x5b2e46(0x366)]=0x2af9]=_0x5b2e46(0x366),_0x514680[_0x514680[_0x5b2e46(0x173)]=-0x1]='UNRECOGNIZED',_0x514680))(Ii||{}),Q=(_0x2c55e2=>(_0x2c55e2[_0x2c55e2[_0x5b2e46(0x1d3)]=0x0]=_0x5b2e46(0x1d3),_0x2c55e2[_0x2c55e2[_0x5b2e46(0x1c5)]=0x1]=_0x5b2e46(0x1c5),_0x2c55e2[_0x2c55e2[_0x5b2e46(0x183)]=0x2]=_0x5b2e46(0x183),_0x2c55e2[_0x2c55e2[_0x5b2e46(0x31b)]=0x3]=_0x5b2e46(0x31b),_0x2c55e2[_0x2c55e2[_0x5b2e46(0x288)]=0x4]=_0x5b2e46(0x288),_0x2c55e2[_0x2c55e2[_0x5b2e46(0x173)]=-0x1]=_0x5b2e46(0x173),_0x2c55e2))(Q||{}),F=(_0x403f24=>(_0x403f24[_0x403f24[_0x5b2e46(0x1b2)]=0x0]='UNKNOWN_CMD',_0x403f24[_0x403f24[_0x5b2e46(0x1a9)]=0x1]=_0x5b2e46(0x1a9),_0x403f24[_0x403f24[_0x5b2e46(0x2ab)]=0x2]=_0x5b2e46(0x2ab),_0x403f24[_0x403f24[_0x5b2e46(0x14f)]=0x3]=_0x5b2e46(0x14f),_0x403f24[_0x403f24['INGEST']=0x4]=_0x5b2e46(0x3c3),_0x403f24[_0x403f24[_0x5b2e46(0x20c)]=0x5]=_0x5b2e46(0x20c),_0x403f24[_0x403f24[_0x5b2e46(0x26e)]=0x6]='RECV',_0x403f24[_0x403f24[_0x5b2e46(0x173)]=-0x1]=_0x5b2e46(0x173),_0x403f24))(F||{}),Ee=(_0x2a1193=>(_0x2a1193[_0x2a1193['UNKNOWN_CODE']=0x0]=_0x5b2e46(0x329),_0x2a1193[_0x2a1193['OK']=0x1]='OK',_0x2a1193[_0x2a1193[_0x5b2e46(0x21c)]=0x2]='FAIL',_0x2a1193[_0x2a1193[_0x5b2e46(0x1ad)]=0x3e9]='JOIN_ROOM_FULL',_0x2a1193[_0x2a1193[_0x5b2e46(0x323)]=0x3ea]=_0x5b2e46(0x323),_0x2a1193[_0x2a1193['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x5b2e46(0x438),_0x2a1193[_0x2a1193[_0x5b2e46(0x1e0)]=0x3ec]=_0x5b2e46(0x1e0),_0x2a1193[_0x2a1193[_0x5b2e46(0x173)]=-0x1]=_0x5b2e46(0x173),_0x2a1193))(Ee||{}),Ti=(_0x465925=>(_0x465925[_0x465925[_0x5b2e46(0x3c5)]=0x0]=_0x5b2e46(0x3c5),_0x465925[_0x465925[_0x5b2e46(0x139)]=0x1]=_0x5b2e46(0x139),_0x465925[_0x465925[_0x5b2e46(0x16b)]=0x2]=_0x5b2e46(0x16b),_0x465925[_0x465925[_0x5b2e46(0x416)]=0x3]='UnitEmbedded',_0x465925[_0x465925[_0x5b2e46(0x266)]=0x4]=_0x5b2e46(0x266),_0x465925[_0x465925['UNRECOGNIZED']=-0x1]=_0x5b2e46(0x173),_0x465925))(Ti||{});const q=_0x5b2e46(0x2d5),Wt={};var se=(_0x73bc27=>(_0x73bc27[_0x5b2e46(0x17a)]=_0x5b2e46(0x17a),_0x73bc27[_0x5b2e46(0x1c4)]='PERMISSION_DENIED',_0x73bc27['CONFLICT']=_0x5b2e46(0x137),_0x73bc27[_0x5b2e46(0x20f)]='CLOSE_ROOM',_0x73bc27['JOIN_ROOM_FAILED']=_0x5b2e46(0x33f),_0x73bc27[_0x5b2e46(0x3d5)]=_0x5b2e46(0x3d5),_0x73bc27[_0x5b2e46(0x3f2)]=_0x5b2e46(0x3f2),_0x73bc27[_0x5b2e46(0x39e)]=_0x5b2e46(0x39e),_0x73bc27))(se||{});class pe{constructor(){var _0x10f49e=_0x5b2e46;N(this,_0x10f49e(0x2d9),new _0xb18d4e()),N(this,_0x10f49e(0x3a2),this[_0x10f49e(0x2d9)][_0x10f49e(0x1c1)]());}[_0x5b2e46(0x262)](_0x3f4e4d){var _0x1bfc04=_0x5b2e46;this[_0x1bfc04(0x2d9)]['next'](_0x3f4e4d);}}const Mn=_0x4b0222(_0x5b2e46(0x283));function $n(_0x43c2d0){var _0x373cfe=_0x5b2e46,_0x2832fe,_0x407f7c,_0x7849b2,_0x33d932,_0x3bf86f;const _0x449780=_0x43c2d0[_0x373cfe(0x3e8)],_0x4789bc=JSON[_0x373cfe(0x3b4)](_0x449780);switch(_0x4789bc['cmd']){case F['HEARTBEAT']:case F[_0x373cfe(0x1a9)]:{const _0x4a21dc=_0x4789bc['infoRsp'];return{..._0x4789bc,'data':_0x4a21dc,'cmd':_0x4789bc[_0x373cfe(0x335)]};}case F['JOIN']:{const _0x345364=_0x4789bc['joinRsp'];return{..._0x4789bc,'data':_0x345364,'cmd':_0x4789bc[_0x373cfe(0x335)]};}case F[_0x373cfe(0x26e)]:{const _0x5b60b5=_0x4789bc[_0x373cfe(0x29e)];switch(_0x5b60b5[_0x373cfe(0x2a4)]){case _0x5804c0[_0x373cfe(0x263)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':(_0x2832fe=_0x5b60b5[_0x373cfe(0x246)])==null?void 0x0:_0x2832fe['cs']},'cmd':_0x4789bc['cmd']};case _0x5804c0[_0x373cfe(0x39c)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':(_0x407f7c=_0x5b60b5[_0x373cfe(0x42c)])==null?void 0x0:_0x407f7c['cs']},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x2b1)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':(_0x7849b2=_0x5b60b5[_0x373cfe(0x41e)])==null?void 0x0:_0x7849b2['cs']},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x164)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':(_0x33d932=_0x5b60b5[_0x373cfe(0x28c)])==null?void 0x0:_0x33d932['cs']},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0['CHANGESET_SHOULD_RETRY']:return{..._0x4789bc,'data':{..._0x5b60b5,'data':(_0x3bf86f=_0x5b60b5['csShouldRetryEvent'])==null?void 0x0:_0x3bf86f['cs']},'cmd':_0x4789bc['cmd']};case _0x5804c0[_0x373cfe(0x2a6)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x2db)]},'cmd':_0x4789bc['cmd']};case _0x5804c0['USERS_ENTER']:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x1b4)]},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x37f)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5['leaveEvent']},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x3a0)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5['liveShareNewHost']},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x20d)]:case _0x5804c0['LIVESHARE_OPERATION']:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x228)]},'cmd':_0x4789bc['cmd']};case _0x5804c0[_0x373cfe(0x14d)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x25d)]},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x2a3)]:return{..._0x4789bc,'data':_0x5b60b5,'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x349)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x3e9)]},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x2a9)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x2f1)]},'cmd':_0x4789bc['cmd']};case _0x5804c0[_0x373cfe(0x42d)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x2b8)]},'cmd':_0x4789bc[_0x373cfe(0x335)]};case _0x5804c0[_0x373cfe(0x294)]:return{..._0x4789bc,'data':{..._0x5b60b5,'data':_0x5b60b5[_0x373cfe(0x424)]},'cmd':_0x4789bc[_0x373cfe(0x335)]};default:return _0x4789bc;}}default:return _0x4789bc;}}function Hn(_0x51369d){var _0x549db6=_0x5b2e46;switch(_0x51369d[_0x549db6(0x335)]){case F[_0x549db6(0x20c)]:case F[_0x549db6(0x1a9)]:return JSON[_0x549db6(0x374)]({'cmd':_0x51369d['cmd'],'routeKey':_0x51369d[_0x549db6(0x348)]});case F[_0x549db6(0x3c3)]:{let _0x1f7184;switch(_0x51369d[_0x549db6(0x3e8)][_0x549db6(0x2a4)]){case _0x5804c0[_0x549db6(0x2a6)]:{_0x1f7184={'eventID':_0x5804c0['UPDATE_CURSOR'],'updateCursorEvent':_0x51369d[_0x549db6(0x3e8)][_0x549db6(0x3e8)]};break;}case _0x5804c0[_0x549db6(0x37f)]:{_0x1f7184={'eventID':_0x5804c0[_0x549db6(0x37f)],'leaveEvent':_0x51369d[_0x549db6(0x3e8)][_0x549db6(0x3e8)]};break;}case _0x5804c0[_0x549db6(0x33d)]:{_0x1f7184={'eventID':_0x5804c0[_0x549db6(0x33d)],'joinEvent':_0x51369d[_0x549db6(0x3e8)]['data']};break;}case _0x5804c0[_0x549db6(0x3a0)]:{_0x1f7184={'eventID':_0x5804c0['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x51369d[_0x549db6(0x3e8)][_0x549db6(0x3e8)]};break;}case _0x5804c0[_0x549db6(0x41a)]:{_0x1f7184={'eventID':_0x5804c0['LIVESHARE_OPERATION'],'liveShareOperation':_0x51369d['data'][_0x549db6(0x3e8)]};break;}case _0x5804c0[_0x549db6(0x14d)]:{_0x1f7184={'eventID':_0x5804c0['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x51369d[_0x549db6(0x3e8)]['data']};break;}case _0x5804c0['LIVESHARE_REQUEST_HOST']:{_0x1f7184={'eventID':_0x5804c0[_0x549db6(0x3b9)],'liveShareRequestHost':_0x51369d[_0x549db6(0x3e8)]['data']};break;}case _0x5804c0[_0x549db6(0x20d)]:{_0x1f7184={'eventID':_0x5804c0[_0x549db6(0x20d)]};break;}default:_0x1f7184={'eventID':_0x51369d[_0x549db6(0x3e8)][_0x549db6(0x2a4)]};}return JSON[_0x549db6(0x374)]({'cmd':_0x51369d[_0x549db6(0x335)],'routeKey':_0x51369d[_0x549db6(0x348)],'collaMsg':_0x1f7184});}case F[_0x549db6(0x2ab)]:return JSON[_0x549db6(0x374)]({'cmd':_0x51369d[_0x549db6(0x335)],'routeKey':_0x51369d[_0x549db6(0x348)],'joinReq':_0x51369d[_0x549db6(0x3e8)]});case F['LEAVE']:return JSON[_0x549db6(0x374)]({'cmd':_0x51369d[_0x549db6(0x335)],'routeKey':_0x51369d[_0x549db6(0x348)],'leaveReq':_0x51369d['data']});default:throw new Error(_0x549db6(0x1a5));}}var kn=Object['defineProperty'],jn=Object[_0x5b2e46(0x3bb)],Bn=(_0x34d0eb,_0x1077b7,_0x262bb8,_0x27f474)=>{var _0x399e92=_0x5b2e46;for(var _0x1976dc=_0x27f474>0x1?void 0x0:_0x27f474?jn(_0x1077b7,_0x262bb8):_0x1077b7,_0x16b1a9=_0x34d0eb[_0x399e92(0x2cc)]-0x1,_0x3bae4d;_0x16b1a9>=0x0;_0x16b1a9--)(_0x3bae4d=_0x34d0eb[_0x16b1a9])&&(_0x1976dc=(_0x27f474?_0x3bae4d(_0x1077b7,_0x262bb8,_0x1976dc):_0x3bae4d(_0x1976dc))||_0x1976dc);return _0x27f474&&_0x1976dc&&kn(_0x1077b7,_0x262bb8,_0x1976dc),_0x1976dc;},Ue=(_0x2f2d6d,_0x30edbb)=>(_0x2febca,_0x2429f5)=>_0x30edbb(_0x2febca,_0x2429f5,_0x2f2d6d);const Ci=_0x4b0222(_0x5b2e46(0x24b));function Fn(_0x4eae18,_0x517cd7,_0x84429f){var _0x5bc124=_0x5b2e46;return _0x4eae18+'/'+_0x517cd7+_0x5bc124(0x33e)+_0x84429f+_0x5bc124(0x392);}let Et=class extends _0x1f666a{constructor(_0x3c2fba,_0x2a781b,_0x10cee2,_0x3efc84,_0x5e137d){var _0x5441f8=_0x5b2e46;super(),this['_injector']=_0x3c2fba,this['_http']=_0x2a781b,this[_0x5441f8(0x3f1)]=_0x10cee2,this[_0x5441f8(0x209)]=_0x3efc84,this[_0x5441f8(0x38c)]=_0x5e137d;}[_0x5b2e46(0x2d0)](_0x406206){var _0x531a8f=_0x5b2e46;const _0x403e02=this['_injector']['get'](_0x39c163);if(!_0x403e02)throw new Error(_0x531a8f(0x20b));const _0x2d6ced=_0x403e02[_0x531a8f(0x2d0)](_0x406206);if(!_0x2d6ced)throw new Error(_0x531a8f(0x1fa));const _0x489d5f=new _0x229024(),_0x41f694=new _0xb18d4e();_0x489d5f[_0x531a8f(0x325)](_0x2d6ced['close$'][_0x531a8f(0x1bb)](_0x3ab4ad=>_0x41f694[_0x531a8f(0x2ba)](_0x3ab4ad))),_0x489d5f[_0x531a8f(0x325)](_0x2765ad(()=>_0x41f694[_0x531a8f(0x411)]()));const _0x3c617b=new _0xb18d4e();_0x489d5f[_0x531a8f(0x325)](_0x2d6ced[_0x531a8f(0x22f)][_0x531a8f(0x1bb)](_0x54b56a=>_0x3c617b[_0x531a8f(0x2ba)](_0x54b56a))),_0x489d5f[_0x531a8f(0x325)](_0x2765ad(()=>_0x3c617b[_0x531a8f(0x411)]()));const _0x1f047e=new _0xb18d4e();_0x489d5f[_0x531a8f(0x325)](_0x2d6ced[_0x531a8f(0x2a2)][_0x531a8f(0x1bb)](_0x247535=>{var _0x2df307=_0x531a8f;const _0x1e6265=$n(_0x247535);_0x1f047e[_0x2df307(0x2ba)](_0x1e6265);})),_0x489d5f[_0x531a8f(0x325)](_0x2765ad(()=>_0x1f047e[_0x531a8f(0x411)]()));let _0x3e84da;const _0x1ff2b5=()=>{var _0x4ddbf0=_0x531a8f;_0x3c617b[_0x4ddbf0(0x2ba)](new Event(_0x4ddbf0(0x135))),_0x41f694[_0x4ddbf0(0x2ba)](new CloseEvent(_0x4ddbf0(0x135))),_0x3e84da[_0x4ddbf0(0x2a5)]();};return _0x3e84da={'memberID':'','close$':_0x41f694['asObservable'](),'error$':_0x3c617b[_0x531a8f(0x1c1)](),'open$':_0x2d6ced[_0x531a8f(0x307)],'message$':_0x1f047e[_0x531a8f(0x1c1)](),'send':_0x25c3e0=>{var _0x26219a=_0x531a8f;if(_0x25c3e0['cmd']===F[_0x26219a(0x3c3)]){if(_0x25c3e0[_0x26219a(0x3e8)]['eventID']===_0x5804c0[_0x26219a(0x330)]){this[_0x26219a(0x32f)](_0x3e84da,_0x25c3e0[_0x26219a(0x3e8)])['catch'](_0x95c29a=>{var _0x2e0483=_0x26219a;this[_0x2e0483(0x209)][_0x2e0483(0x1e9)](_0x95c29a),_0x1ff2b5();});return;}if(_0x25c3e0[_0x26219a(0x3e8)]['eventID']===_0x5804c0['FETCH_MISSING']){const _0x59e8bc=_0x25c3e0[_0x26219a(0x3e8)];this['_fetchMissChangesets'](_0x59e8bc)[_0x26219a(0x2af)](_0x28870b=>{var _0xa16f40=_0x26219a;_0x1f047e[_0xa16f40(0x2ba)]({'cmd':F[_0xa16f40(0x26e)],'code':Ee['OK'],'routeKey':_0x59e8bc[_0xa16f40(0x3e8)][_0xa16f40(0x238)],'routeType':'','data':{'eventID':_0x5804c0[_0xa16f40(0x2e0)],'data':{'changesets':_0x28870b}}});})[_0x26219a(0x1cf)](_0x2945e2=>{var _0x4f1a37=_0x26219a;this[_0x4f1a37(0x209)][_0x4f1a37(0x1e9)](_0x2945e2),_0x1ff2b5();});return;}}_0x2d6ced[_0x26219a(0x38b)](Hn(_0x25c3e0));},'close':()=>{var _0x28fe4e=_0x531a8f;_0x2d6ced[_0x28fe4e(0x2a5)](),_0x489d5f[_0x28fe4e(0x1dd)]();}},_0x3e84da;}async[_0x5b2e46(0x32f)](_0x582cef,_0x402f9a){var _0x2414cd=_0x5b2e46,_0x4acab7,_0x39dfbc;const {unitType:_0x255247,unitID:_0x43e459,changeset:_0x2bff09}=_0x402f9a[_0x2414cd(0x3e8)],_0x1b111c={'unitID':_0x43e459,'memberID':_0x582cef[_0x2414cd(0x2f0)],'type':_0x255247,'changeset':_0x24d172(_0x2bff09)},_0x5415a6=this[_0x2414cd(0x3f1)][_0x2414cd(0x345)](Un),_0x174d84=this[_0x2414cd(0x3f1)][_0x2414cd(0x345)](q),_0x1c872d=Fn((_0x39dfbc=(_0x4acab7=_0x174d84==null?void 0x0:_0x174d84[_0x2414cd(0x190)])!=null?_0x4acab7:_0x5415a6)!=null?_0x39dfbc:An,_0x255247,_0x43e459);try{await this[_0x2414cd(0x1de)]['post'](_0x1c872d,{'body':_0x1b111c});}catch(_0x38cbac){throw this[_0x2414cd(0x209)][_0x2414cd(0x1e9)](_0x2414cd(0x2f2),_0x2414cd(0x409)),_0x38cbac;}}async[_0x5b2e46(0x380)](_0x4c5de0){var _0xc3e872=_0x5b2e46;const {unitID:_0x5a7490,from:_0xfc83fa,to:_0x30b17a,unitType:_0x59cf9a}=_0x4c5de0[_0xc3e872(0x3e8)];return(await this[_0xc3e872(0x38c)][_0xc3e872(0x2aa)]({'metadata':void 0x0},{'unitID':_0x5a7490,'type':_0x59cf9a,'from':_0xfc83fa,'to':_0x30b17a}))[_0xc3e872(0x1f6)];}};Et=Bn([Ue(0x0,_0x93b1fb(_0x19c3a9)),Ue(0x1,_0x93b1fb(_0x326cb2)),Ue(0x2,_0x4288b6),Ue(0x3,_0x3feb90),Ue(0x4,_0x9ec470)],Et);const Vn='collaboration_new_changeset';function Gn(_0x456e32){var _0x5d458a=_0x5b2e46;return JSON['stringify'](_0x456e32)[_0x5d458a(0x2cc)];}class Ri{constructor(){var _0x2b9be1=_0x5b2e46;N(this,_0x2b9be1(0x214),new _0xb18d4e()),N(this,_0x2b9be1(0x143),this[_0x2b9be1(0x214)][_0x2b9be1(0x1c1)]());}[_0x5b2e46(0x2c0)](_0x5b4483){var _0x36b589=_0x5b2e46;this[_0x36b589(0x214)][_0x36b589(0x2ba)](_0x5b4483);}}var Wn=Object['defineProperty'],Kn=Object[_0x5b2e46(0x3bb)],Yn=(_0xa8e484,_0x4eb2db,_0x976d62,_0x3044df)=>{var _0x1b7cc5=_0x5b2e46;for(var _0x137c44=_0x3044df>0x1?void 0x0:_0x3044df?Kn(_0x4eb2db,_0x976d62):_0x4eb2db,_0x26bfca=_0xa8e484[_0x1b7cc5(0x2cc)]-0x1,_0x3cdb58;_0x26bfca>=0x0;_0x26bfca--)(_0x3cdb58=_0xa8e484[_0x26bfca])&&(_0x137c44=(_0x3044df?_0x3cdb58(_0x4eb2db,_0x976d62,_0x137c44):_0x3cdb58(_0x137c44))||_0x137c44);return _0x3044df&&_0x137c44&&Wn(_0x4eb2db,_0x976d62,_0x137c44),_0x137c44;},Kt=(_0x25cc46,_0x26c8c8)=>(_0x45e678,_0x1dda1c)=>_0x26c8c8(_0x45e678,_0x1dda1c,_0x25cc46);let xe=class extends _0x1f666a{constructor(_0x151bb4,_0x208468){var _0x3327a3=_0x5b2e46;super(),N(this,_0x3327a3(0x174),new Map()),N(this,'_roomCreated$',new _0xb18d4e()),(this[_0x3327a3(0x1ec)]=_0x151bb4,this[_0x3327a3(0x3ab)]=_0x208468,this[_0x3327a3(0x358)](_0x385d67(this['_univerInstanceService'][_0x3327a3(0x16a)](_0x1d991f[_0x3327a3(0x183)])[_0x3327a3(0x42b)](_0x12fd80(_0x561e6f=>_0x561e6f[_0x3327a3(0x338)]())),this[_0x3327a3(0x1ec)][_0x3327a3(0x16a)](_0x1d991f['UNIVER_DOC'])[_0x3327a3(0x42b)](_0x12fd80(_0x5e92e0=>_0x5e92e0[_0x3327a3(0x338)]())),this['_univerInstanceService'][_0x3327a3(0x16a)](_0x1d991f[_0x3327a3(0x31b)])['pipe'](_0x12fd80(_0x7d2ba4=>_0x7d2ba4[_0x3327a3(0x338)]())))[_0x3327a3(0x1bb)](_0x1a1ea4=>this['_removeRoom'](_0x1a1ea4))));}['waitForRoom$'](_0x542467){var _0x5aae56=_0x5b2e46;return this['_roomMembers'][_0x5aae56(0x43d)](_0x542467)?_0x4d78dc(this[_0x5aae56(0x174)]['get'](_0x542467)):this[_0x5aae56(0x414)][_0x5aae56(0x42b)](_0x12fd80(_0xef56a9=>{var _0x257f4b=_0x5aae56;if(_0xef56a9===_0x542467)return this[_0x257f4b(0x174)][_0x257f4b(0x30d)](_0xef56a9);}));}[_0x5b2e46(0x3c4)](_0x4e85a8){var _0x526c62=_0x5b2e46;this[_0x526c62(0x3ab)][_0x526c62(0x3c4)](_0x4e85a8);}['getCurrentUser'](){var _0x3f64a0=_0x5b2e46;return this[_0x3f64a0(0x3ab)]['getCurrentUser']();}[_0x5b2e46(0x38a)](_0x4e7fe9,_0x391aa2){var _0x298eec=_0x5b2e46;let _0x1ef9d3=this[_0x298eec(0x174)][_0x298eec(0x30d)](_0x4e7fe9);_0x1ef9d3||(_0x1ef9d3=new qn(),this['_roomMembers'][_0x298eec(0x2ce)](_0x4e7fe9,_0x1ef9d3),this[_0x298eec(0x414)]['next'](_0x4e7fe9)),_0x1ef9d3[_0x298eec(0x38a)](_0x391aa2);}[_0x5b2e46(0x351)](_0x6c3e49,_0x35fd3d){var _0x6e8926=_0x5b2e46;const _0x4bff6c=this['_roomMembers'][_0x6e8926(0x30d)](_0x6c3e49);_0x4bff6c&&_0x4bff6c['removeMember'](_0x35fd3d);}[_0x5b2e46(0x33a)](_0x20fd1c){var _0xb9eb46=_0x5b2e46;return this['_roomMembers'][_0xb9eb46(0x30d)](_0x20fd1c);}['getMember'](_0x556832,_0x4b145c){var _0x5754b9=_0x5b2e46;const _0x57f679=this['_roomMembers'][_0x5754b9(0x30d)](_0x556832);if(_0x57f679)return _0x57f679[_0x5754b9(0x24e)](_0x4b145c);}[_0x5b2e46(0x3aa)](_0xa07531){var _0x1dbcb6=_0x5b2e46;const _0x297d42=this[_0x1dbcb6(0x174)][_0x1dbcb6(0x30d)](_0xa07531);_0x297d42&&(_0x297d42[_0x1dbcb6(0x1dd)](),this['_roomMembers'][_0x1dbcb6(0x200)](_0xa07531));}['dispose'](){var _0x3e632d=_0x5b2e46;this['_roomMembers'][_0x3e632d(0x387)](_0x307336=>_0x307336[_0x3e632d(0x1dd)]()),this[_0x3e632d(0x174)]['clear'](),this['_roomCreated$'][_0x3e632d(0x411)]();}};xe=Yn([Kt(0x0,_0x2b0fa0),Kt(0x1,_0x93b1fb(_0x5d04b5))],xe);class qn extends _0x1f666a{constructor(){var _0x21fa2d=_0x5b2e46;super(...arguments),N(this,_0x21fa2d(0x2c8),new Map()),N(this,_0x21fa2d(0x3b7),new _0x560e61(this[_0x21fa2d(0x2c8)])),N(this,_0x21fa2d(0x284),this[_0x21fa2d(0x3b7)]['asObservable']());}['dispose'](){var _0x504c6d=_0x5b2e46;this[_0x504c6d(0x2c8)][_0x504c6d(0x29f)]();}[_0x5b2e46(0x38a)](_0x3b9b01){var _0x515895=_0x5b2e46;this[_0x515895(0x2c8)][_0x515895(0x2ce)](_0x3b9b01['memberID'],_0x3b9b01),this[_0x515895(0x2f3)]();}[_0x5b2e46(0x351)](_0x296450){var _0x286f9e=_0x5b2e46;this[_0x286f9e(0x2c8)][_0x286f9e(0x200)](_0x296450);}[_0x5b2e46(0x24e)](_0x309d36){var _0x138020=_0x5b2e46;return this[_0x138020(0x2c8)]['get'](_0x309d36);}[_0x5b2e46(0x3f8)](){var _0xf67615=_0x5b2e46;return Array['from'](this['_members'][_0xf67615(0x1bc)]());}[_0x5b2e46(0x2f3)](){var _0xa6aa=_0x5b2e46;this[_0xa6aa(0x3b7)][_0xa6aa(0x2ba)](this[_0xa6aa(0x2c8)]);}}var zn=Object[_0x5b2e46(0x1db)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x43d686,_0x2e2a51,_0x4f898a,_0x4af3d2)=>{var _0x3ac8ae=_0x5b2e46;for(var _0x1a640e=_0x4af3d2>0x1?void 0x0:_0x4af3d2?Jn(_0x2e2a51,_0x4f898a):_0x2e2a51,_0x179dbc=_0x43d686[_0x3ac8ae(0x2cc)]-0x1,_0x3f3989;_0x179dbc>=0x0;_0x179dbc--)(_0x3f3989=_0x43d686[_0x179dbc])&&(_0x1a640e=(_0x4af3d2?_0x3f3989(_0x2e2a51,_0x4f898a,_0x1a640e):_0x3f3989(_0x1a640e))||_0x1a640e);return _0x4af3d2&&_0x1a640e&&zn(_0x2e2a51,_0x4f898a,_0x1a640e),_0x1a640e;},me=(_0x20575f,_0x4f18d0)=>(_0x520a36,_0x4cb56a)=>_0x4f18d0(_0x520a36,_0x4cb56a,_0x20575f),Te=(_0x44401a=>(_0x44401a[_0x44401a['IDLE']=0x0]='IDLE',_0x44401a[_0x44401a[_0x5b2e46(0x439)]=0x1]=_0x5b2e46(0x439),_0x44401a[_0x44401a[_0x5b2e46(0x1a1)]=0x2]='OFFLINE',_0x44401a[_0x44401a['ONLINE']=0x3]='ONLINE',_0x44401a))(Te||{});const Yt={[Ee[_0x5b2e46(0x21c)]]:'session.join-failed',[Ee['JOIN_ROOM_FULL']]:_0x5b2e46(0x34c),[Ee[_0x5b2e46(0x323)]]:_0x5b2e46(0x3cc),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x5b2e46(0x24d),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x5b2e46(0x1a4)};let It=class extends _0x55185b{constructor(_0x1b4984,_0x364642,_0x3f4f72,_0x3d0377,_0x3b769a,_0x25ea56,_0x2172f8,_0x1981f3,_0x10338f){var _0x36c97e=_0x5b2e46;super(),N(this,_0x36c97e(0x268),new _0x560e61(0x0)),N(this,'sessionStatus$',this[_0x36c97e(0x268)][_0x36c97e(0x1c1)]()),N(this,_0x36c97e(0x2d9),new _0xb18d4e()),N(this,_0x36c97e(0x3a2),this[_0x36c97e(0x2d9)][_0x36c97e(0x1c1)]()),N(this,_0x36c97e(0x134)),N(this,_0x36c97e(0x205)),N(this,_0x36c97e(0x30f)),N(this,_0x36c97e(0x3e2),!0x1),N(this,_0x36c97e(0x16c),null),(this['_unitID']=_0x1b4984,this[_0x36c97e(0x209)]=_0x3f4f72,this[_0x36c97e(0x3f1)]=_0x3d0377,this[_0x36c97e(0x206)]=_0x3b769a,this[_0x36c97e(0x35f)]=_0x25ea56,this[_0x36c97e(0x1b6)]=_0x2172f8,this[_0x36c97e(0x302)]=_0x1981f3,this[_0x36c97e(0x30a)]=_0x10338f,this[_0x36c97e(0x3e2)]=!!this[_0x36c97e(0x30a)],_0x364642[_0x36c97e(0x42b)](_0x3077f(this['dispose$']))[_0x36c97e(0x1bb)](_0xfdb982=>{var _0x32f562=_0x36c97e,_0xc21afe;typeof _0xfdb982>'u'||(this[_0x32f562(0x134)]=_0xfdb982,_0xfdb982?(this['_joinRoom'](_0xfdb982),this[_0x32f562(0x205)]=_0xfdb982['message$'][_0x32f562(0x1bb)](_0x56edf=>{var _0x229690=_0x32f562;_0x56edf[_0x229690(0x348)]===this[_0x229690(0x138)]&&this[_0x229690(0x1e3)](_0x56edf);})):(this[_0x32f562(0x436)](),this['_sessionStatus$']['next'](0x2),(_0xc21afe=this[_0x32f562(0x205)])==null||_0xc21afe[_0x32f562(0x40a)](),this[_0x32f562(0x205)]=null));}));}get[_0x5b2e46(0x432)](){var _0x508c69=_0x5b2e46;return this[_0x508c69(0x268)][_0x508c69(0x403)]();}['getMemberID'](){var _0x3ed5f3=_0x5b2e46,_0x25affb,_0x43267f;return(_0x43267f=(_0x25affb=this[_0x3ed5f3(0x134)])==null?void 0x0:_0x25affb['memberID'])!=null?_0x43267f:null;}[_0x5b2e46(0x1dd)](){var _0xd42d46=_0x5b2e46;super['dispose'](),this[_0xd42d46(0x285)][_0xd42d46(0x2ba)](),this['dispose$'][_0xd42d46(0x411)]();}[_0x5b2e46(0x2a5)](){var _0x15ec47=_0x5b2e46,_0x2a7569,_0x3c2e43;this[_0x15ec47(0x436)](),(_0x2a7569=this[_0x15ec47(0x134)])==null||_0x2a7569[_0x15ec47(0x38b)]({'cmd':F[_0x15ec47(0x14f)],'data':{'roomID':this[_0x15ec47(0x138)]}}),(_0x3c2e43=this[_0x15ec47(0x134)])==null||_0x3c2e43['close'](),this['_event$'][_0x15ec47(0x411)](),this[_0x15ec47(0x268)][_0x15ec47(0x411)](),this[_0x15ec47(0x1dd)]();}['_onCombEvent'](_0x44ff29){var _0x39aab6=_0x5b2e46;_0x44ff29[_0x39aab6(0x335)]===F[_0x39aab6(0x2ab)]?this['_onJoinRoomEvent'](_0x44ff29):_0x44ff29[_0x39aab6(0x335)]===F['RECV']&&this[_0x39aab6(0x423)](_0x44ff29);}[_0x5b2e46(0x24c)](_0x1ac836){var _0x56df0b=_0x5b2e46;this[_0x56df0b(0x268)][_0x56df0b(0x2ba)](0x1),_0x1ac836[_0x56df0b(0x38b)]({'cmd':F['JOIN'],'routeKey':this[_0x56df0b(0x138)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5b2e46(0x230)](_0x479309){var _0x417b40=_0x5b2e46,_0x62fc77;if(_0x479309[_0x417b40(0x322)]in Yt){this[_0x417b40(0x302)]['emitEvent']({'id':se[_0x417b40(0x33f)],'data':Yt[_0x479309['code']]}),this[_0x417b40(0x268)][_0x417b40(0x2ba)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x41140c=(_0x62fc77=_0x479309['data'][_0x417b40(0x22d)][this['_unitID']])==null?void 0x0:_0x62fc77[_0x417b40(0x145)];_0x41140c&&_0x41140c[_0x417b40(0x387)](_0x326d47=>this[_0x417b40(0x35f)][_0x417b40(0x38a)](this['_unitID'],_0x326d47));}[_0x5b2e46(0x423)](_0x27121d){var _0x38ec83=_0x5b2e46;try{const _0x491746=_0x27121d[_0x38ec83(0x3e8)];switch(_0x491746[_0x38ec83(0x2a4)]){case _0x5804c0[_0x38ec83(0x33d)]:this[_0x38ec83(0x3bd)](_0x491746),this['_event$'][_0x38ec83(0x2ba)](_0x491746);break;case _0x5804c0['USERS_LEAVE']:this[_0x38ec83(0x317)](_0x491746),this['_event$']['next'](_0x491746);break;case _0x5804c0[_0x38ec83(0x39c)]:case _0x5804c0[_0x38ec83(0x2a8)]:this[_0x38ec83(0x39d)](),this[_0x38ec83(0x291)](),this['_event$']['next'](_0x491746);break;case _0x5804c0[_0x38ec83(0x2a3)]:this[_0x38ec83(0x209)][_0x38ec83(0x1e9)](_0x38ec83(0x1d9)+JSON[_0x38ec83(0x374)](_0x491746)),this[_0x38ec83(0x2d9)][_0x38ec83(0x2ba)](_0x491746);break;case _0x5804c0['COMMENT_UPDATE']:this[_0x38ec83(0x1b6)][_0x38ec83(0x2c0)](_0x491746[_0x38ec83(0x3e8)]),this[_0x38ec83(0x2d9)][_0x38ec83(0x2ba)](_0x491746);break;default:this[_0x38ec83(0x2d9)][_0x38ec83(0x2ba)](_0x491746);}}catch(_0xf8937c){this[_0x38ec83(0x209)][_0x38ec83(0x1e9)](_0xf8937c,_0x27121d);}}[_0x5b2e46(0x3bd)](_0x34013f){var _0x2ac244=_0x5b2e46;this[_0x2ac244(0x35f)][_0x2ac244(0x38a)](this[_0x2ac244(0x138)],_0x34013f[_0x2ac244(0x3e8)]);}[_0x5b2e46(0x317)](_0x32617b){var _0x2da3e6=_0x5b2e46;this[_0x2da3e6(0x35f)][_0x2da3e6(0x351)](this[_0x2da3e6(0x138)],_0x32617b[_0x2da3e6(0x3e8)][_0x2da3e6(0x2f0)]);}async[_0x5b2e46(0x38b)](_0x4b4140,_0x21606a){var _0x435f5e=_0x5b2e46;if(this['sessionStatus']!==0x3||!this[_0x435f5e(0x134)])throw new Error(_0x435f5e(0x2ef));try{_0x4b4140[_0x435f5e(0x2a4)]===_0x5804c0[_0x435f5e(0x330)]&&(this[_0x435f5e(0x3de)](),this[_0x435f5e(0x1d8)](_0x4b4140)),this[_0x435f5e(0x134)][_0x435f5e(0x38b)]({'cmd':F['INGEST'],'routeKey':_0x21606a,'routeType':'','data':_0x4b4140});}catch(_0x1472f7){this[_0x435f5e(0x209)]['error'](_0x1472f7);}}[_0x5b2e46(0x3de)](){var _0x5c5428=_0x5b2e46,_0x47e4cf;this[_0x5c5428(0x30f)]=setTimeout(()=>{var _0x2be7e6=_0x5c5428;this['_collaborationTimeoutTimer']=null,this[_0x2be7e6(0x302)][_0x2be7e6(0x262)]({'id':se[_0x2be7e6(0x39e)]});},(_0x47e4cf=this[_0x5c5428(0x3f1)][_0x5c5428(0x345)](Si))!=null?_0x47e4cf:Ei);}[_0x5b2e46(0x291)](){var _0x5d9d04=_0x5b2e46;this[_0x5d9d04(0x30f)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5d9d04(0x30f)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x508695){var _0x3edeaf=_0x5b2e46;if(!this[_0x3edeaf(0x3e2)])return;const {data:_0x1106cf}=_0x508695,{unitID:_0x56fc68,changeset:_0x298c1c}=_0x1106cf,{mutations:_0x97b9b,type:_0x5ea0e7}=_0x298c1c;this['_telemetryInfo']={'unitId':_0x56fc68,'type':_0x5ea0e7,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x97b9b)};}[_0x5b2e46(0x39d)](){var _0x42c558=_0x5b2e46;if(this[_0x42c558(0x3e2)]){if(!this['_telemetryInfo']){this[_0x42c558(0x209)]['error']('[CollaborationSession]',_0x42c558(0x29d));return;}this[_0x42c558(0x16c)][_0x42c558(0x16f)]=performance[_0x42c558(0x128)](),this[_0x42c558(0x16c)][_0x42c558(0x3ad)]=this['_telemetryInfo']['stopTime']-this[_0x42c558(0x16c)]['startTime'],this[_0x42c558(0x30a)][_0x42c558(0x1ba)](Vn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x5b48d1=_0x5b2e46;this[_0x5b48d1(0x16c)]=null;}};It=Xn([me(0x2,_0x3feb90),me(0x3,_0x4288b6),me(0x4,_0x93b1fb(_0x2d7fad)),me(0x5,_0x93b1fb(xe)),me(0x6,_0x93b1fb(Ri)),me(0x7,_0x93b1fb(pe)),me(0x8,_0x2480cc(_0x123995))],It);var Zn=Object[_0x5b2e46(0x1db)],Qn=Object[_0x5b2e46(0x3bb)],er=(_0x5516b5,_0x2d46fc,_0x5b29e9,_0x2a4fca)=>{var _0x311c1a=_0x5b2e46;for(var _0x25f83a=_0x2a4fca>0x1?void 0x0:_0x2a4fca?Qn(_0x2d46fc,_0x5b29e9):_0x2d46fc,_0x248a5d=_0x5516b5[_0x311c1a(0x2cc)]-0x1,_0x13cdfa;_0x248a5d>=0x0;_0x248a5d--)(_0x13cdfa=_0x5516b5[_0x248a5d])&&(_0x25f83a=(_0x2a4fca?_0x13cdfa(_0x2d46fc,_0x5b29e9,_0x25f83a):_0x13cdfa(_0x25f83a))||_0x25f83a);return _0x2a4fca&&_0x25f83a&&Zn(_0x2d46fc,_0x5b29e9,_0x25f83a),_0x25f83a;},ge=(_0x41d311,_0x1065d9)=>(_0x5bb2fa,_0x9eeef5)=>_0x1065d9(_0x5bb2fa,_0x9eeef5,_0x41d311);let Le=class extends _0x1f666a{constructor(_0x2ff4f6,_0x37085a,_0x1e81cb,_0x1ddee6,_0x42d2eb,_0x3d4ce5,_0x207f8c){var _0x1b3299=_0x5b2e46;super(),N(this,_0x1b3299(0x3a1),new _0x560e61(void 0x0)),N(this,_0x1b3299(0x227),this[_0x1b3299(0x3a1)]['asObservable']()),N(this,_0x1b3299(0x2bc),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x560e61(Te[_0x1b3299(0x41b)])),N(this,'status$',this['_status$'][_0x1b3299(0x1c1)]()),N(this,_0x1b3299(0x17b),!0x1),N(this,_0x1b3299(0x3fc)),N(this,'_retryCount',0x0),N(this,_0x1b3299(0x373)),N(this,_0x1b3299(0x347)),(this[_0x1b3299(0x1d7)]=_0x2ff4f6,this[_0x1b3299(0x209)]=_0x37085a,this[_0x1b3299(0x3f1)]=_0x1e81cb,this[_0x1b3299(0x1c2)]=_0x1ddee6,this[_0x1b3299(0x1f9)]=_0x42d2eb,this[_0x1b3299(0x302)]=_0x3d4ce5,this[_0x1b3299(0x3b6)]=_0x207f8c,this[_0x1b3299(0x258)]());}get[_0x5b2e46(0x134)](){var _0x429382=_0x5b2e46;return this[_0x429382(0x3a1)][_0x429382(0x403)]();}['_listenToNetworkCondition'](){var _0x436e2a=_0x5b2e46;this[_0x436e2a(0x3b6)]&&this[_0x436e2a(0x358)](this[_0x436e2a(0x3b6)]['online$']['subscribe'](_0x355ce2=>{var _0x497bf9=_0x436e2a;_0x355ce2&&!this[_0x497bf9(0x134)]&&this[_0x497bf9(0x3ae)](),_0x355ce2||this[_0x497bf9(0x390)]();}));}['dispose'](){var _0x1935e0=_0x5b2e46;super['dispose'](),this[_0x1935e0(0x1e5)]['forEach'](_0x4b0c06=>_0x4b0c06[_0x1935e0(0x1dd)]()),this[_0x1935e0(0x1e5)][_0x1935e0(0x29f)](),this['_status$'][_0x1935e0(0x411)]();}async['requireSession'](_0x3b33ee){var _0x3cf358=_0x5b2e46;if(this[_0x3cf358(0x1e5)][_0x3cf358(0x43d)](_0x3b33ee))return this['_sessions']['get'](_0x3b33ee);this['_tryEnsureSocket']();const _0x212a70=this[_0x3cf358(0x1d7)][_0x3cf358(0x140)](It,_0x3b33ee,this[_0x3cf358(0x3a1)][_0x3cf358(0x1c1)]());return this['_sessions'][_0x3cf358(0x2ce)](_0x3b33ee,_0x212a70),_0x212a70;}['closeSession'](_0xf930c4){var _0x4b79b3=_0x5b2e46,_0x5e371e;const _0x55e8ca=this[_0x4b79b3(0x1e5)][_0x4b79b3(0x30d)](_0xf930c4);_0x55e8ca&&(this[_0x4b79b3(0x1e5)][_0x4b79b3(0x200)](_0xf930c4),_0x55e8ca[_0x4b79b3(0x2a5)]()),this['_sessions'][_0x4b79b3(0x2b2)]||(_0x5e371e=this['_socket'])==null||_0x5e371e[_0x4b79b3(0x2a5)]();}[_0x5b2e46(0x3ae)](){var _0x52a515=_0x5b2e46;this['_retryCount']=0x0,this[_0x52a515(0x3fc)]!=null&&(clearTimeout(this[_0x52a515(0x3fc)]),this['_retryConnectingTimer']=null),this[_0x52a515(0x273)]();}async[_0x5b2e46(0x15e)](){var _0xce6c79=_0x5b2e46,_0x511dd9,_0x478a67,_0x433b32;const _0x17bc03=this['_configService'][_0xce6c79(0x345)](q),_0x57961e=(_0x511dd9=_0x17bc03==null?void 0x0:_0x17bc03['wsSessionTicketUrl'])!=null?_0x511dd9:On;return(_0x433b32=(_0x478a67=(await this[_0xce6c79(0x1f9)][_0xce6c79(0x30d)](_0x57961e,{'headers':{'Content-Type':_0xce6c79(0x352)}}))[_0xce6c79(0x3e6)])==null?void 0x0:_0x478a67[_0xce6c79(0x2ae)])!=null?_0x433b32:'';}['_createSocketURL'](_0x1e38f3){var _0x50a99a=_0x5b2e46,_0x58b544,_0x3245a9;const _0x399db5=this['_configService'][_0x50a99a(0x345)](Rn),_0x5c7e39=this['_configService'][_0x50a99a(0x345)](q),_0x3b9d82=(_0x3245a9=(_0x58b544=_0x5c7e39==null?void 0x0:_0x5c7e39[_0x50a99a(0x382)])!=null?_0x58b544:_0x399db5)!=null?_0x3245a9:bn,_0x15a689=typeof window>'u'?new URL(_0x3b9d82):new URL(_0x3b9d82,window[_0x50a99a(0x343)]['origin']);_0x15a689[_0x50a99a(0x189)][_0x50a99a(0x2ce)](_0x50a99a(0x220),_0x1e38f3);const _0x380835=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x50a99a(0x3cd)]);return _0x380835[_0x50a99a(0x30d)](_0x50a99a(0x2a1))&&_0x15a689[_0x50a99a(0x189)][_0x50a99a(0x2ce)](_0x50a99a(0x2a1),_0x380835[_0x50a99a(0x30d)](_0x50a99a(0x2a1))),_0x15a689['toString']();}async[_0x5b2e46(0x1c8)](){var _0x1708af=_0x5b2e46;const _0x5d87cc=await this[_0x1708af(0x15e)](),_0x14e55a=this[_0x1708af(0x161)](_0x5d87cc),_0x4b5b3e=this[_0x1708af(0x1c2)]['createSocket'](_0x14e55a);return this['_candidateSocket']=_0x4b5b3e,_0x4b5b3e;}async[_0x5b2e46(0x277)](){var _0x118392=_0x5b2e46,_0x1cceec,_0x48377f;try{const _0x5079fc=(_0x48377f=(_0x1cceec=this['_socket'])!=null?_0x1cceec:this[_0x118392(0x2bc)])!=null?_0x48377f:await this['_createSocket']();if(_0x5079fc){const _0x24b283=_0x5079fc['send'];_0x5079fc['send']=_0x56989b=>(this[_0x118392(0x265)](),_0x24b283['apply'](_0x5079fc,[_0x56989b])),_0x5079fc[_0x118392(0x2a2)][_0x118392(0x1bb)](_0x45ea77=>this[_0x118392(0x18b)](_0x5079fc,_0x45ea77)),_0x5079fc[_0x118392(0x22f)][_0x118392(0x42b)](_0x1fbc6d(0x1))['subscribe'](_0x446660=>this[_0x118392(0x209)][_0x118392(0x1e9)]('[CollaborationSessionService]:\x20socket\x20error',_0x446660)),_0x5079fc[_0x118392(0x307)][_0x118392(0x42b)](_0x1fbc6d(0x1))[_0x118392(0x1bb)](()=>{var _0x20ceff=_0x118392;this[_0x20ceff(0x440)](_0x5079fc);}),_0x5079fc[_0x118392(0x365)][_0x118392(0x42b)](_0x1fbc6d(0x1))[_0x118392(0x1bb)](_0x2b1ab6=>{var _0x1985a7=_0x118392;this[_0x1985a7(0x209)][_0x1985a7(0x212)](_0x1985a7(0x160),_0x1985a7(0x240),_0x2b1ab6),this['_onConnectionFailed']();});}}catch(_0xe09938){this[_0x118392(0x209)][_0x118392(0x1e9)](_0xe09938),this[_0x118392(0x2c1)]();}}[_0x5b2e46(0x440)](_0x1fc611){var _0x12a7ea=_0x5b2e46;this[_0x12a7ea(0x209)][_0x12a7ea(0x212)](_0x12a7ea(0x160),_0x12a7ea(0x1eb)),_0x1fc611['send']({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x5b2e46(0x390)](){var _0x232c46=_0x5b2e46;this[_0x232c46(0x17b)]=!0x1,this[_0x232c46(0x2bc)]=null,this[_0x232c46(0x40c)][_0x232c46(0x2ba)](Te[_0x232c46(0x1a1)]),this['_socket$']['next'](null),this[_0x232c46(0x2fc)](),this['_clearHeartbeatTimer']();}[_0x5b2e46(0x2c1)](){var _0x3d33b8=_0x5b2e46,_0x2f8a83;this['_onOffline'](),this[_0x3d33b8(0x29a)]<((_0x2f8a83=this[_0x3d33b8(0x3f1)][_0x3d33b8(0x345)](Pn))!=null?_0x2f8a83:wn)?(this[_0x3d33b8(0x302)]['emitEvent']({'id':se[_0x3d33b8(0x3d5)]}),this[_0x3d33b8(0x273)]()):this[_0x3d33b8(0x302)][_0x3d33b8(0x262)]({'id':se[_0x3d33b8(0x3f2)]});}['_tryReconnect'](){var _0x3fa365=_0x5b2e46,_0x5e07a3;const _0x4f7987=this[_0x3fa365(0x29a)],_0x338c0b=this[_0x3fa365(0x3f1)][_0x3fa365(0x345)](q),_0x3c56bf=_0x4f7987===0x0?0x0:((_0x5e07a3=_0x338c0b==null?void 0x0:_0x338c0b[_0x3fa365(0x252)])!=null?_0x5e07a3:Dn)*0x2**_0x4f7987;this[_0x3fa365(0x3fc)]=setTimeout(()=>{var _0x5b8154=_0x3fa365;clearTimeout(this[_0x5b8154(0x3fc)]),this['_retryConnectingTimer']=null,this[_0x5b8154(0x277)]();},_0x3c56bf),this[_0x3fa365(0x29a)]+=0x1;}[_0x5b2e46(0x18b)](_0x12cabe,_0x2c73c0){var _0x1af2f0=_0x5b2e46;const {cmd:_0x1370f4}=_0x2c73c0;_0x1370f4===F[_0x1af2f0(0x1a9)]&&!this[_0x1af2f0(0x17b)]&&(_0x12cabe[_0x1af2f0(0x2f0)]=_0x2c73c0[_0x1af2f0(0x3e8)][_0x1af2f0(0x2f0)],this['_socket$']['next'](_0x12cabe),this['_status$'][_0x1af2f0(0x2ba)](Te['ONLINE']),this[_0x1af2f0(0x17b)]=!0x0,this[_0x1af2f0(0x2bc)]=null),_0x1370f4===F[_0x1af2f0(0x20c)]&&this[_0x1af2f0(0x2fc)](),this[_0x1af2f0(0x265)]();}[_0x5b2e46(0x265)](){var _0x4587ad=_0x5b2e46,_0x42f5e3;this[_0x4587ad(0x25a)](),this[_0x4587ad(0x373)]=setTimeout(()=>this[_0x4587ad(0x331)](),(_0x42f5e3=this[_0x4587ad(0x3f1)][_0x4587ad(0x345)](yn))!=null?_0x42f5e3:Nn);}['_sendHeartbeat'](){var _0xbd3225=_0x5b2e46;this[_0xbd3225(0x134)][_0xbd3225(0x38b)]({'cmd':F[_0xbd3225(0x20c)]}),this[_0xbd3225(0x308)]();}[_0x5b2e46(0x308)](){var _0x449f21=_0x5b2e46,_0x6f2fd5;this[_0x449f21(0x347)]=setTimeout(()=>this[_0x449f21(0x2c1)](),(_0x6f2fd5=this[_0x449f21(0x3f1)]['getConfig'](Si))!=null?_0x6f2fd5:Ei);}[_0x5b2e46(0x25a)](){var _0x2e451=_0x5b2e46;this[_0x2e451(0x373)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2e451(0x373)]=null);}[_0x5b2e46(0x2fc)](){var _0x348fa4=_0x5b2e46;this[_0x348fa4(0x347)]!=null&&(clearTimeout(this[_0x348fa4(0x347)]),this[_0x348fa4(0x347)]=null);}};Le=er([ge(0x0,_0x93b1fb(_0x19c3a9)),ge(0x1,_0x3feb90),ge(0x2,_0x4288b6),ge(0x3,Ci),ge(0x4,_0x93b1fb(_0x326cb2)),ge(0x5,_0x93b1fb(pe)),ge(0x6,_0x2480cc(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x5b2e46(0x3ce)]((n+0x100)['toString'](0x10)['slice'](0x1));function tr(_0x1ee33a,_0x5cb749=0x0){var _0x2c03f9=_0x5b2e46;return(V[_0x1ee33a[_0x5cb749+0x0]]+V[_0x1ee33a[_0x5cb749+0x1]]+V[_0x1ee33a[_0x5cb749+0x2]]+V[_0x1ee33a[_0x5cb749+0x3]]+'-'+V[_0x1ee33a[_0x5cb749+0x4]]+V[_0x1ee33a[_0x5cb749+0x5]]+'-'+V[_0x1ee33a[_0x5cb749+0x6]]+V[_0x1ee33a[_0x5cb749+0x7]]+'-'+V[_0x1ee33a[_0x5cb749+0x8]]+V[_0x1ee33a[_0x5cb749+0x9]]+'-'+V[_0x1ee33a[_0x5cb749+0xa]]+V[_0x1ee33a[_0x5cb749+0xb]]+V[_0x1ee33a[_0x5cb749+0xc]]+V[_0x1ee33a[_0x5cb749+0xd]]+V[_0x1ee33a[_0x5cb749+0xe]]+V[_0x1ee33a[_0x5cb749+0xf]])[_0x2c03f9(0x3fb)]();}let ut;function _0xf286(_0x5ce346,_0x742c10){var _0x3e1183=_0x3e11();return _0xf286=function(_0xf28686,_0x216f68){_0xf28686=_0xf28686-0x126;var _0x113d48=_0x3e1183[_0xf28686];return _0x113d48;},_0xf286(_0x5ce346,_0x742c10);}const ir=new Uint8Array(0x10);function nr(){var _0x46458f=_0x5b2e46;if(!ut){if(typeof crypto>'u'||!crypto[_0x46458f(0x32e)])throw new Error(_0x46458f(0x36a));ut=crypto['getRandomValues'][_0x46458f(0x31e)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x5b2e46(0x180)]&&crypto[_0x5b2e46(0x180)][_0x5b2e46(0x31e)](crypto),qt={'randomUUID':rr};function sr(_0x39f131,_0x41f066,_0x575b4e){var _0x250b5c=_0x5b2e46,_0x444f86,_0x13c452,_0x3ee387;if(qt[_0x250b5c(0x180)]&&!_0x39f131)return qt[_0x250b5c(0x180)]();_0x39f131=_0x39f131||{};const _0x13dacb=(_0x3ee387=(_0x13c452=_0x39f131[_0x250b5c(0x3df)])!=null?_0x13c452:(_0x444f86=_0x39f131[_0x250b5c(0x301)])==null?void 0x0:_0x444f86[_0x250b5c(0x43e)](_0x39f131))!=null?_0x3ee387:nr();if(_0x13dacb[_0x250b5c(0x2cc)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x13dacb[0x6]=_0x13dacb[0x6]&0xf|0x40,_0x13dacb[0x8]=_0x13dacb[0x8]&0x3f|0x80,tr(_0x13dacb);}const J=_0x4b0222(_0x5b2e46(0x2ed));function so(_0x22a6ff){var _0x420c00=_0x5b2e46;return _0x420c00(0x129)+_0x22a6ff;}var or=Object[_0x5b2e46(0x1db)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x412f0b,_0x5d848a,_0x3bb0c2,_0x9ef1bb)=>{var _0x4d8954=_0x5b2e46;for(var _0x1e42de=_0x9ef1bb>0x1?void 0x0:_0x9ef1bb?ar(_0x5d848a,_0x3bb0c2):_0x5d848a,_0x535281=_0x412f0b[_0x4d8954(0x2cc)]-0x1,_0xb543d8;_0x535281>=0x0;_0x535281--)(_0xb543d8=_0x412f0b[_0x535281])&&(_0x1e42de=(_0x9ef1bb?_0xb543d8(_0x5d848a,_0x3bb0c2,_0x1e42de):_0xb543d8(_0x1e42de))||_0x1e42de);return _0x9ef1bb&&_0x1e42de&&or(_0x5d848a,_0x3bb0c2,_0x1e42de),_0x1e42de;},dt=(_0x3820b8,_0x511482)=>(_0xbaf005,_0x4fdf4f)=>_0x511482(_0xbaf005,_0x4fdf4f,_0x3820b8);function hr(_0x5cabec){var _0x57e648=_0x5b2e46;const {unitID:_0x24aef0,mutations:_0x41fedb}=_0x5cabec;return{'unitId':_0x24aef0,'subUnitId':_0x41fedb[0x0][_0x57e648(0x13b)][_0x57e648(0x27c)]};}let it=class{constructor(_0xef75e6,_0x47970f,_0x39e449){var _0x1424c3=_0x5b2e46;this[_0x1424c3(0x1d7)]=_0xef75e6,this[_0x1424c3(0x1bd)]=_0x47970f,this[_0x1424c3(0x354)]=_0x39e449;}[_0x5b2e46(0x3d4)](_0x2858f2){var _0x5e650b=_0x5b2e46,_0x5bea40,_0x2bcbdc,_0x531b53,_0x178e12;const _0x189265=this[_0x5e650b(0x1d7)][_0x5e650b(0x30d)](_0x77dc34),{unitId:_0x2ff379,subUnitId:_0x61c8a2}=hr(_0x2858f2),_0x4c3ab7=_0x189265==null?void 0x0:_0x189265['getWorkbookSelections'](_0x2ff379)[_0x5e650b(0x21e)](),_0x45365b=(_0x2bcbdc=(_0x5bea40=this[_0x5e650b(0x354)]['getUnit'](_0x2ff379))==null?void 0x0:_0x5bea40[_0x5e650b(0x342)]())==null?void 0x0:_0x2bcbdc[_0x5e650b(0x385)]();if(_0x4c3ab7[_0x5e650b(0x2cc)]===0x0||!_0x2ff379||!_0x61c8a2)return;const _0x3f274f=[{'id':_0x414091['id'],'params':{'unitId':_0x2ff379,'subUnitId':_0x45365b,'selections':_0x532cc5[_0x5e650b(0x371)](_0x4c3ab7)}}],_0x37e0d3=this['_transformService'][_0x5e650b(0x2f4)](_0x2858f2,_0x3f274f);if(!_0xd8001(_0x37e0d3))throw _0x37e0d3[_0x5e650b(0x1e9)];const _0x5c5555=(_0x178e12=(_0x531b53=_0x37e0d3[_0x5e650b(0x3a6)][0x0])==null?void 0x0:_0x531b53[_0x5e650b(0x13b)])==null?void 0x0:_0x178e12[_0x5e650b(0x420)];if(Array[_0x5e650b(0x1af)](_0x5c5555)&&_0x5c5555[_0x5e650b(0x2cc)]){if(_0x5c5555[_0x5e650b(0x2cc)]===_0x3f274f[0x0][_0x5e650b(0x13b)][_0x5e650b(0x420)]['length']&&_0x5c5555[_0x5e650b(0x201)]((_0x50b357,_0x22aab5)=>_0x51bcfd[_0x5e650b(0x271)](_0x50b357[_0x5e650b(0x2c6)],_0x3f274f[0x0][_0x5e650b(0x13b)][_0x5e650b(0x420)][_0x22aab5][_0x5e650b(0x2c6)])))return;this[_0x5e650b(0x1d7)][_0x5e650b(0x30d)](_0x373d1a)[_0x5e650b(0x389)](_0x414091['id'],{'unitId':_0x2ff379,'subUnitId':_0x45365b,'selections':_0x5c5555});}}};it=cr([dt(0x0,_0x93b1fb(_0x19c3a9)),dt(0x1,_0x36deec),dt(0x2,_0x2b0fa0)],it);const ht=_0x4b0222(_0x5b2e46(0x224));var bi=(_0x2d1ace=>(_0x2d1ace[_0x2d1ace[_0x5b2e46(0x3ff)]=0x0]=_0x5b2e46(0x3ff),_0x2d1ace[_0x2d1ace[_0x5b2e46(0x23e)]=0x1]=_0x5b2e46(0x23e),_0x2d1ace))(bi||{});const _r=new Set([_0x359a12['id']]);function zt(_0x3d309e,_0x39ca60,_0x2abb54,_0x160f0c,_0x215700){var _0x19ee57=_0x5b2e46,_0x2d87b9,_0x194835,_0x106a3f,_0x308765;const _0x271efa=[];for(const _0x219cef of _0x3d309e)if(_r['has'](_0x219cef['id'])){if(_0x271efa[_0x19ee57(0x2cc)]>0x0)break;_0x271efa[_0x19ee57(0x3ce)](_0x219cef);break;}else _0x271efa[_0x19ee57(0x3ce)](_0x219cef);const _0x5a964c=(_0x194835=(_0x2d87b9=_0x215700[_0x19ee57(0x182)]())==null?void 0x0:_0x2d87b9[_0x19ee57(0x152)])!=null?_0x194835:_0x19ee57(0x27e),_0x48a729=(_0x308765=(_0x106a3f=_0x215700[_0x19ee57(0x182)]())==null?void 0x0:_0x106a3f[_0x19ee57(0x2f0)])!=null?_0x308765:'unknown';return{'changeset':{'unitID':_0x39ca60,'type':_0x1f63c9(_0x2abb54[_0x19ee57(0x1ab)](_0x39ca60)),'baseRev':_0x160f0c['getCurrentRevOfUnit'](_0x39ca60),'revision':0x0,'userID':_0x5a964c,'memberID':_0x48a729,'mutations':_0x271efa},'pendingMutations':_0x3d309e['slice'](_0x271efa[_0x19ee57(0x2cc)])};}function lr(_0x129b21,_0x5df818,_0x3a28f8,_0x3d0534,_0x4893eb){var _0x58bfe1=_0x5b2e46,_0x3bf5a9,_0x2e6ad8,_0x139919,_0x293fe4;const _0x58c0b4=[_0x129b21[_0x58bfe1(0x3f3)]((_0x289272,_0x3127d5)=>{var _0x97cc48=_0x58bfe1,_0x3636d3;const {id:_0xe11647}=_0x289272,{id:_0x49b83a,type:_0x303ce5}=_0x3127d5,_0x2ea008=(_0x3636d3=_0x289272[_0x97cc48(0x13b)])!=null?_0x3636d3:{'actions':null},_0x131505=_0x3127d5[_0x97cc48(0x13b)];if(_0xe11647&&_0xe11647!==_0x49b83a)throw new Error(_0x97cc48(0x3a9)+_0xe11647+_0x97cc48(0x42a)+_0x49b83a+'.');return{..._0x289272,'id':_0x49b83a,'type':_0x303ce5,'params':{'unitId':_0x131505[_0x97cc48(0x429)],'textRanges':_0x131505[_0x97cc48(0x364)],'actions':_0x17d26f[_0x97cc48(0x2c9)](_0x2ea008['actions'],_0x131505['actions'])}};},{})],_0x652ea4=(_0x2e6ad8=(_0x3bf5a9=_0x4893eb['getCurrentUser']())==null?void 0x0:_0x3bf5a9[_0x58bfe1(0x152)])!=null?_0x2e6ad8:_0x58bfe1(0x27e),_0x541661=(_0x293fe4=(_0x139919=_0x4893eb['getCurrentUser']())==null?void 0x0:_0x139919[_0x58bfe1(0x2f0)])!=null?_0x293fe4:_0x58bfe1(0x27e);return{'changeset':{'unitID':_0x5df818,'type':_0x1f63c9(_0x3a28f8[_0x58bfe1(0x1ab)](_0x5df818)),'baseRev':_0x3d0534[_0x58bfe1(0x19a)](_0x5df818),'revision':0x0,'userID':_0x652ea4,'memberID':_0x541661,'mutations':_0x58c0b4},'pendingMutations':[]};}function Oi(_0x2d205f,_0x3805b3){var _0x4fb0fd=_0x5b2e46;const _0x484ee2=new _0x56eed9(0x1);return setTimeout(()=>_0x484ee2[_0x4fb0fd(0x2ba)](_0x3805b3),_0x2d205f),_0x484ee2[_0x4fb0fd(0x1c1)]()[_0x4fb0fd(0x42b)](_0x23570d(0x1));}const ur={'id':_0xae226c['id'],'type':_0x5d2169[_0x5b2e46(0x35c)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x5b2e46(0x3bb)],Re=(_0x477704,_0x372583,_0x4a17bd,_0x5d8313)=>{var _0x3141a1=_0x5b2e46;for(var _0x5607e5=_0x5d8313>0x1?void 0x0:_0x5d8313?fr(_0x372583,_0x4a17bd):_0x372583,_0x25fb9f=_0x477704[_0x3141a1(0x2cc)]-0x1,_0x53052c;_0x25fb9f>=0x0;_0x25fb9f--)(_0x53052c=_0x477704[_0x25fb9f])&&(_0x5607e5=(_0x5d8313?_0x53052c(_0x372583,_0x4a17bd,_0x5607e5):_0x53052c(_0x5607e5))||_0x5607e5);return _0x5d8313&&_0x5607e5&&dr(_0x372583,_0x4a17bd,_0x5607e5),_0x5607e5;},A=(_0x3fdf35,_0x47ced7)=>(_0x135c0,_0x4e03d3)=>_0x47ced7(_0x135c0,_0x4e03d3,_0x3fdf35),yi=(_0x248977=>(_0x248977[_0x5b2e46(0x311)]=_0x5b2e46(0x1e8),_0x248977['SYNCED']=_0x5b2e46(0x1aa),_0x248977[_0x5b2e46(0x18d)]=_0x5b2e46(0x3be),_0x248977[_0x5b2e46(0x20e)]=_0x5b2e46(0x1cd),_0x248977[_0x5b2e46(0x1dc)]='awaiting_with_pending',_0x248977['FETCH_MISS']=_0x5b2e46(0x40d),_0x248977['CONFLICT']='conflict',_0x248977[_0x5b2e46(0x1a1)]=_0x5b2e46(0x40f),_0x248977))(yi||{});const Ni=0xea60;class be{constructor(_0x138c57,_0x1cccb2,_0x5a568a,_0xc27f58,_0x274b5b,_0x1e4f3d,_0x553d8b,_0x5178e8,_0x58959){var _0x28601c=_0x5b2e46;N(this,_0x28601c(0x309),null),N(this,_0x28601c(0x431),[]),(this[_0x28601c(0x238)]=_0x138c57,this['type']=_0x1cccb2,this['_handler']=_0x274b5b,this[_0x28601c(0x235)]=_0x1e4f3d,this[_0x28601c(0x254)]=_0x553d8b,this['_revisionService']=_0x5178e8,this['_localCacheService']=_0x58959,this['_awaitingChangeset']=_0x5a568a,this[_0x28601c(0x431)]=_0xc27f58);}[_0x5b2e46(0x3da)](_0x4d0acf){var _0x58f772=_0x5b2e46;const _0x53b42d=this[_0x58f772(0x280)]['getCurrentRevOfUnit'](this[_0x58f772(0x238)]);return _0x4d0acf[_0x58f772(0x3d0)]>_0x53b42d+0x1?(this[_0x58f772(0x43b)]['onMissingChangesets']({'from':_0x53b42d,'to':_0x4d0acf['revision']-0x1}),!0x0):!0x1;}[_0x5b2e46(0x157)](_0xe4267e){var _0x4812e4=_0x5b2e46;this[_0x4812e4(0x254)][_0x4812e4(0x1b5)](this[_0x4812e4(0x238)],_0xe4267e);}['_transformSelections'](_0x4d1b0b){var _0xf7611f=_0x5b2e46,_0x3d779c,_0x58d623;(_0x58d623=(_0x3d779c=this[_0xf7611f(0x43b)])[_0xf7611f(0x3d7)])==null||_0x58d623[_0xf7611f(0x43e)](_0x3d779c,_0x4d1b0b);}[_0x5b2e46(0x36d)](_0x5e1566){var _0x2f1ac1=_0x5b2e46,_0x2e000d,_0x404dff;return(_0x404dff=(_0x2e000d=this[_0x2f1ac1(0x43b)])[_0x2f1ac1(0x377)])==null?void 0x0:_0x404dff['call'](_0x2e000d,_0x5e1566);}[_0x5b2e46(0x15c)](_0x2fb22b){var _0x167ef3=_0x5b2e46,_0x172c95,_0x4ecd72;return(_0x4ecd72=(_0x172c95=this['_handler'])[_0x167ef3(0x353)])==null?void 0x0:_0x4ecd72['call'](_0x172c95,_0x2fb22b);}[_0x5b2e46(0x163)](_0x51db92){var _0x3721a0=_0x5b2e46,_0x13cb6c,_0x51c657,_0x3aa0ac;return(_0x3aa0ac=(_0x51c657=(_0x13cb6c=this[_0x3721a0(0x43b)])[_0x3721a0(0x34b)])==null?void 0x0:_0x51c657['call'](_0x13cb6c,_0x51db92))!=null?_0x3aa0ac:_0x51db92;}[_0x5b2e46(0x2bb)](_0x1f6aec){var _0x124254=_0x5b2e46,_0x1704c4,_0x1bbe43,_0x102c97;return(_0x102c97=(_0x1bbe43=(_0x1704c4=this['_handler'])[_0x124254(0x297)])==null?void 0x0:_0x1bbe43[_0x124254(0x43e)](_0x1704c4,_0x1f6aec))!=null?_0x102c97:_0x1f6aec;}[_0x5b2e46(0x15f)](_0x4b9282){var _0x16957b=_0x5b2e46,_0x451edb,_0x4516d7;if(this[_0x16957b(0x36e)]===Q[_0x16957b(0x1c5)]){const {unitID:_0x16572e,mutations:_0x57acad,memberID:_0x9c35ff}=_0x4b9282,_0x52ad1d=_0x57acad[0x0][_0x16957b(0x13b)][_0x16957b(0x364)];Array[_0x16957b(0x1af)](_0x52ad1d)&&_0x52ad1d[_0x16957b(0x2cc)]>0x0&&((_0x4516d7=(_0x451edb=this[_0x16957b(0x43b)])[_0x16957b(0x407)])==null||_0x4516d7[_0x16957b(0x43e)](_0x451edb,{'unitID':_0x16572e,'memberID':_0x9c35ff,'textRanges':_0x52ad1d}));}}[_0x5b2e46(0x19e)](){var _0x1fed84=_0x5b2e46,_0x30814e;(_0x30814e=this[_0x1fed84(0x3ca)])==null||_0x30814e[_0x1fed84(0x276)](this['unitID'],this[_0x1fed84(0x36e)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x5b2e46(0x18e)](){var _0xd30611=_0x5b2e46;return this[_0xd30611(0x280)][_0xd30611(0x19a)](this[_0xd30611(0x238)]);}[_0x5b2e46(0x211)](){var _0xeb40fa=_0x5b2e46;this[_0xeb40fa(0x280)][_0xeb40fa(0x1a3)](this[_0xeb40fa(0x238)]);}[_0x5b2e46(0x3dc)](_0x4bb179){var _0x51560f=_0x5b2e46,_0x2d3baa;let _0x17dcc6=this['_transformRemoteChangesetByIMECache'](_0x4bb179);_0x17dcc6=this[_0x51560f(0x2bb)](_0x17dcc6);const _0x30b043=_0x41a060(_0x17dcc6[_0x51560f(0x229)],this[_0x51560f(0x235)],{'fromCollab':!0x0});if(!_0x30b043[_0x51560f(0x295)])throw _0x30b043[_0x51560f(0x1e9)]instanceof Error?_0x30b043[_0x51560f(0x1e9)]:new Error((_0x2d3baa=_0x30b043[_0x51560f(0x1e9)])!=null?_0x2d3baa:_0x51560f(0x3f9));this[_0x51560f(0x36d)](_0x17dcc6),this[_0x51560f(0x15c)](_0x17dcc6),this[_0x51560f(0x157)](_0x4bb179),this[_0x51560f(0x3b3)](_0x17dcc6),this[_0x51560f(0x15f)](_0x17dcc6),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x3c1992,_0x242c90,_0x2542a5,_0x8fe72,_0x3990da,_0x2e460f,_0x2560ed,_0x3da60b,_0x3466a5,_0x208366){var _0x6923ce=_0x5b2e46;super(_0x3c1992,_0x242c90,null,[],_0x2542a5,_0x2560ed,_0x2e460f,_0x8fe72,_0x208366),N(this,_0x6923ce(0x175),_0x6923ce(0x1aa)),(this[_0x6923ce(0x1d7)]=_0x3990da,this['_logService']=_0x3da60b,this[_0x6923ce(0x1bd)]=_0x3466a5,this['localCacheService']=_0x208366);}[_0x5b2e46(0x251)](_0x131e8){var _0x23a584=_0x5b2e46;const _0x55192c=this[_0x23a584(0x1d7)][_0x23a584(0x140)](oe,this['unitID'],this['type'],[_0x131e8],this[_0x23a584(0x43b)]);return _0x55192c[_0x23a584(0x21f)](),_0x55192c[_0x23a584(0x19e)](),_0x55192c;}[_0x5b2e46(0x3ef)](_0x17fc58){var _0x20d28f=_0x5b2e46;if(this[_0x20d28f(0x3da)](_0x17fc58))return this[_0x20d28f(0x1d7)][_0x20d28f(0x140)](te,this[_0x20d28f(0x238)],this[_0x20d28f(0x36e)],null,[],null,[_0x17fc58],this['_handler']);try{const _0xb38c40=this[_0x20d28f(0x1bd)][_0x20d28f(0x2f4)](_0x17fc58,[ur]);if(_0xd8001(_0xb38c40)){const {c1Prime:_0x4880e0}=_0xb38c40;return this['_executeRemoteChangeset'](_0x4880e0),this;}throw _0xb38c40[_0x20d28f(0x1e9)];}catch(_0x2eb059){return this[_0x20d28f(0x209)]['error'](_0x2eb059),this['_onConflict'](!0x1);}}[_0x5b2e46(0x279)](_0x2208b6){var _0x342b54=_0x5b2e46;return this['_injector']['createInstance'](de,this['unitID'],this[_0x342b54(0x36e)],null,[],this[_0x342b54(0x43b)],_0x2208b6);}['onRemoteAck'](){var _0x13b2d2=_0x5b2e46;throw new Error(_0x13b2d2(0x2dd));}[_0x5b2e46(0x3ac)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5b2e46(0x3b2)](){return this;}[_0x5b2e46(0x394)](){var _0x397884=_0x5b2e46;return this[_0x397884(0x1d7)]['createInstance'](fe,this[_0x397884(0x238)],this[_0x397884(0x36e)],null,[],this[_0x397884(0x43b)]);}[_0x5b2e46(0x395)](){return this;}[_0x5b2e46(0x213)](){var _0x4ee19e=_0x5b2e46;throw new Error(_0x4ee19e(0x2d1));}[_0x5b2e46(0x21b)](){var _0x1491cb=_0x5b2e46;const _0x34eb13=this['_revisionService'][_0x1491cb(0x19a)](this[_0x1491cb(0x238)]);return this[_0x1491cb(0x43b)][_0x1491cb(0x232)]({'from':_0x34eb13,'to':0x0}),this[_0x1491cb(0x1d7)][_0x1491cb(0x140)](te,this[_0x1491cb(0x238)],this[_0x1491cb(0x36e)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x93b1fb(_0x1c2240)),A(0x4,_0x93b1fb(_0x19c3a9)),A(0x5,_0x48bd3c),A(0x6,_0x373d1a),A(0x7,_0x3feb90),A(0x8,_0x36deec),A(0x9,_0x2480cc(J))],De);let oe=class extends be{constructor(_0x4f3e4c,_0x58a607,_0x1c47b8,_0x16e79d,_0x4bca35,_0xba407c,_0xc6a025,_0x199ac7,_0x490418,_0x10ca9f,_0x50c462,_0x1e0ba8,_0x48d9fe,_0x26d815){var _0x46b38d=_0x5b2e46;super(_0x4f3e4c,_0x58a607,null,_0x1c47b8,_0x16e79d,_0x490418,_0x48d9fe,_0xba407c,_0x26d815),N(this,_0x46b38d(0x175),_0x46b38d(0x3be)),N(this,_0x46b38d(0x413),null),N(this,_0x46b38d(0x32a),null),(this[_0x46b38d(0x1d7)]=_0x4bca35,this['_memberService']=_0xc6a025,this[_0x46b38d(0x209)]=_0x199ac7,this[_0x46b38d(0x3f1)]=_0x10ca9f,this[_0x46b38d(0x1bd)]=_0x50c462,this[_0x46b38d(0x1ec)]=_0x1e0ba8);}[_0x5b2e46(0x251)](_0x1a4a75){var _0x388ba8=_0x5b2e46;return this[_0x388ba8(0x431)][_0x388ba8(0x3ce)](_0x1a4a75),this[_0x388ba8(0x19e)](),this;}[_0x5b2e46(0x3ef)](_0x446e3a){var _0x41bc4d=_0x5b2e46;if(this[_0x41bc4d(0x3da)](_0x446e3a))return this[_0x41bc4d(0x242)](),this[_0x41bc4d(0x1d7)][_0x41bc4d(0x140)](te,this[_0x41bc4d(0x238)],this[_0x41bc4d(0x36e)],null,this[_0x41bc4d(0x431)],null,[_0x446e3a],this['_handler']);try{const _0x335b0a=this[_0x41bc4d(0x1bd)][_0x41bc4d(0x2f4)](_0x446e3a,this[_0x41bc4d(0x431)]);if(_0xd8001(_0x335b0a)){const {c1Prime:_0x5367ba,m2Prime:_0x4f524f}=_0x335b0a;this[_0x41bc4d(0x3dc)](_0x5367ba);const _0x4cba5b=this[_0x41bc4d(0x1d7)]['createInstance'](oe,this[_0x41bc4d(0x238)],this[_0x41bc4d(0x36e)],_0x4f524f,this[_0x41bc4d(0x43b)]);this['_clearScheduledTask']();const _0x173893=new Date()['getTime'](),_0x31d972=this[_0x41bc4d(0x413)]?Math[_0x41bc4d(0x154)](this[_0x41bc4d(0x413)]-_0x173893,0x0):this[_0x41bc4d(0x19f)]();return _0x4cba5b[_0x41bc4d(0x21f)](_0x31d972),_0x4cba5b;}throw _0x335b0a['error'];}catch(_0xfd7d0d){return this['_logService'][_0x41bc4d(0x1e9)](_0xfd7d0d),this[_0x41bc4d(0x279)](!0x1);}}[_0x5b2e46(0x40b)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5b2e46(0x3ac)](){var _0x3be028=_0x5b2e46;throw new Error(_0x3be028(0x2d2));}[_0x5b2e46(0x3b2)](){return this;}[_0x5b2e46(0x394)](){var _0x15f932=_0x5b2e46;return this[_0x15f932(0x242)](),this['_injector'][_0x15f932(0x140)](fe,this[_0x15f932(0x238)],this['type'],null,this['_pendingMutations'],this[_0x15f932(0x43b)]);}[_0x5b2e46(0x395)](){return this;}[_0x5b2e46(0x21f)](_0x23cb73){var _0x2e408e=_0x5b2e46;const _0x4854ed=_0x23cb73!=null?_0x23cb73:this['_getSendChangesetTimeout']();this[_0x2e408e(0x413)]=new Date()[_0x2e408e(0x204)]()+_0x4854ed,this['_sendingTimer']=setTimeout(()=>{var _0x1b772d=_0x2e408e;this['_clearScheduledTask']();let _0x1a561c=null;switch(this['type']){case Q[_0x1b772d(0x183)]:{_0x1a561c=zt(this[_0x1b772d(0x431)],this[_0x1b772d(0x238)],this['_univerInstanceService'],this[_0x1b772d(0x280)],this[_0x1b772d(0x35f)]);break;}case Q[_0x1b772d(0x1c5)]:{this[_0x1b772d(0x431)][_0x1b772d(0x201)](_0x49626e=>_0x49626e['id']===_0x1cd7f9['id'])?_0x1a561c=lr(this['_pendingMutations'],this[_0x1b772d(0x238)],this[_0x1b772d(0x1ec)],this[_0x1b772d(0x280)],this[_0x1b772d(0x35f)]):_0x1a561c=zt(this[_0x1b772d(0x431)],this[_0x1b772d(0x238)],this[_0x1b772d(0x1ec)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x1b772d(0x166)+this[_0x1b772d(0x36e)]+_0x1b772d(0x2cf));}const {changeset:_0x219cdb,pendingMutations:_0x169529}=_0x1a561c;this['_handler'][_0x1b772d(0x150)](_0x219cdb);const _0x1bcbc8=_0x169529[_0x1b772d(0x2cc)]?this['_injector'][_0x1b772d(0x140)](ae,this[_0x1b772d(0x238)],this[_0x1b772d(0x36e)],_0x219cdb,_0x169529,this[_0x1b772d(0x43b)],void 0x0):this[_0x1b772d(0x1d7)][_0x1b772d(0x140)](ue,this[_0x1b772d(0x238)],this[_0x1b772d(0x36e)],_0x219cdb,this['_handler']);_0x1bcbc8[_0x1b772d(0x19e)](),this[_0x1b772d(0x43b)][_0x1b772d(0x155)](this,_0x1bcbc8);},_0x4854ed);}[_0x5b2e46(0x19f)](){var _0x573387=_0x5b2e46,_0xe4ab6e;const _0x3b91fd=this['_configService'][_0x573387(0x345)](q);return(_0xe4ab6e=_0x3b91fd==null?void 0x0:_0x3b91fd[_0x573387(0x2b5)])!=null?_0xe4ab6e:Cn;}[_0x5b2e46(0x213)](){var _0x9f5617=_0x5b2e46;throw new Error(_0x9f5617(0x17e));}[_0x5b2e46(0x242)](){var _0x5ade6b=_0x5b2e46;this[_0x5ade6b(0x32a)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x5b2e46(0x279)](_0x4fb2a1){var _0x54403b=_0x5b2e46;return this[_0x54403b(0x242)](),this[_0x54403b(0x1d7)]['createInstance'](de,this[_0x54403b(0x238)],this[_0x54403b(0x36e)],null,this[_0x54403b(0x431)],this[_0x54403b(0x43b)],_0x4fb2a1);}};oe=Re([A(0x4,_0x93b1fb(_0x19c3a9)),A(0x5,_0x93b1fb(_0x1c2240)),A(0x6,_0x93b1fb(xe)),A(0x7,_0x3feb90),A(0x8,_0x373d1a),A(0x9,_0x4288b6),A(0xa,_0x36deec),A(0xb,_0x2b0fa0),A(0xc,_0x48bd3c),A(0xd,_0x2480cc(J))],oe);let ue=class extends be{constructor(_0x148360,_0x1fdea4,_0x230dd6,_0x91b1b6,_0x5ceeaa,_0x275efc,_0x1e7fce,_0x58a4d6,_0x3720aa,_0x4fc5d7,_0x972db5){var _0x3f40e0=_0x5b2e46;super(_0x148360,_0x1fdea4,_0x230dd6,[],_0x91b1b6,_0x1e7fce,_0x4fc5d7,_0x275efc,_0x972db5),N(this,_0x3f40e0(0x175),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x3f40e0(0x404)),N(this,_0x3f40e0(0x359)),(this[_0x3f40e0(0x1d7)]=_0x5ceeaa,this['_logService']=_0x58a4d6,this[_0x3f40e0(0x1bd)]=_0x3720aa);}[_0x5b2e46(0x251)](_0x5e28bc){var _0xe89a66=_0x5b2e46;this[_0xe89a66(0x242)]();const _0x325ff4=this['_injector'][_0xe89a66(0x140)](ae,this['unitID'],this[_0xe89a66(0x36e)],this['_awaitingChangeset'],[_0x5e28bc],this[_0xe89a66(0x43b)],this[_0xe89a66(0x404)]);return _0x325ff4['_updateLocalCache'](),_0x325ff4;}[_0x5b2e46(0x3ef)](_0x46bffe){var _0x30c4f7=_0x5b2e46;if(this[_0x30c4f7(0x3da)](_0x46bffe))return this[_0x30c4f7(0x242)](),this[_0x30c4f7(0x1d7)][_0x30c4f7(0x140)](te,this[_0x30c4f7(0x238)],this[_0x30c4f7(0x36e)],this[_0x30c4f7(0x309)],[],null,[_0x46bffe],this[_0x30c4f7(0x43b)]);try{const _0x3fb42b=this[_0x30c4f7(0x1bd)]['transformChangesets']([_0x46bffe],[this[_0x30c4f7(0x309)]],!0x1);if(_0x620d30(_0x3fb42b)){const {c1Prime:_0xcb5eaa,c2Prime:_0x402a05}=_0x3fb42b;this[_0x30c4f7(0x3dc)](_0xcb5eaa[0x0]),_0x402a05[0x0][_0x30c4f7(0x253)]=this[_0x30c4f7(0x18e)](),this[_0x30c4f7(0x242)]();const _0xc7184b=this['_injector'][_0x30c4f7(0x140)](ue,this[_0x30c4f7(0x238)],this[_0x30c4f7(0x36e)],_0x402a05[0x0],this['_handler']);return _0xc7184b[_0x30c4f7(0x19e)](),_0xc7184b;}return this[_0x30c4f7(0x279)](!0x1);}catch(_0x5415dd){return this[_0x30c4f7(0x209)][_0x30c4f7(0x1e9)](_0x5415dd),this[_0x30c4f7(0x279)](!0x1);}}['onRemoteAck'](_0x3098b9){var _0x5aae78=_0x5b2e46;this[_0x5aae78(0x242)]();const _0x5d0ce4=this['_revisionService'][_0x5aae78(0x19a)](this[_0x5aae78(0x238)]);if(_0x3098b9[_0x5aae78(0x3d0)]<_0x5d0ce4-0x1)return this;if(this[_0x5aae78(0x3da)](_0x3098b9))return this[_0x5aae78(0x1d7)]['createInstance'](te,this[_0x5aae78(0x238)],this[_0x5aae78(0x36e)],null,[],this['_awaitingChangeset'],[],this[_0x5aae78(0x43b)]);this[_0x5aae78(0x211)]();const _0x362177=this[_0x5aae78(0x1d7)]['createInstance'](De,this[_0x5aae78(0x238)],this[_0x5aae78(0x36e)],this['_handler']);return _0x362177[_0x5aae78(0x19e)](),_0x362177;}[_0x5b2e46(0x3ac)](_0x269a9a){var _0x238b7a=_0x5b2e46;return this[_0x238b7a(0x279)](!!(_0x269a9a!=null&&_0x269a9a[_0x238b7a(0x26c)]));}[_0x5b2e46(0x3b2)](_0x532b76){var _0x1cb43e=_0x5b2e46;return this['_resendTimeout']>Ni?this[_0x1cb43e(0x394)]():(this['_resendTimer']=Oi(this[_0x1cb43e(0x379)],{'timeout':this[_0x1cb43e(0x379)],'reqId':_0x532b76[_0x1cb43e(0x2eb)]}),this[_0x1cb43e(0x359)]=this['_resendTimer']['subscribe'](({reqId:_0x111e7a,timeout:_0x404b96})=>{var _0x4eb191=_0x1cb43e;this[_0x4eb191(0x132)](_0x111e7a,_0x404b96);}),this);}['toggleOffline'](){var _0x56a095=_0x5b2e46;return this[_0x56a095(0x242)](),this[_0x56a095(0x1d7)][_0x56a095(0x140)](fe,this[_0x56a095(0x238)],this[_0x56a095(0x36e)],this[_0x56a095(0x309)],[],this[_0x56a095(0x43b)]);}[_0x5b2e46(0x395)](){return this;}[_0x5b2e46(0x213)](){var _0x5b8bb8=_0x5b2e46;this[_0x5b8bb8(0x43b)][_0x5b8bb8(0x150)](this[_0x5b8bb8(0x309)]);}[_0x5b2e46(0x279)](_0x16dbc2){var _0x48106a=_0x5b2e46;return this[_0x48106a(0x242)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x48106a(0x36e)],this['_awaitingChangeset'],[],this['_handler'],_0x16dbc2);}[_0x5b2e46(0x132)](_0x57cb64,_0x41015f){var _0x3da232=_0x5b2e46,_0x982e04;_0x57cb64===((_0x982e04=this[_0x3da232(0x309)])==null?void 0x0:_0x982e04[_0x3da232(0x2eb)])&&(this['resend'](),this[_0x3da232(0x379)]=_0x41015f===0x0?0x3e8:_0x41015f*0x2);}[_0x5b2e46(0x242)](){var _0x3b3bf8=_0x5b2e46,_0x2f1f43;(_0x2f1f43=this['_sender'])==null||_0x2f1f43[_0x3b3bf8(0x40a)](),this[_0x3b3bf8(0x379)]=0x0;}};ue=Re([A(0x4,_0x93b1fb(_0x19c3a9)),A(0x5,_0x93b1fb(_0x1c2240)),A(0x6,_0x373d1a),A(0x7,_0x3feb90),A(0x8,_0x36deec),A(0x9,_0x48bd3c),A(0xa,_0x2480cc(J))],ue);let ae=class extends be{constructor(_0x2b180a,_0x178f84,_0x2c0d40,_0x17f2f8,_0x238e90,_0x36ed74,_0x2db8ee,_0x767aa5,_0x3fd7fc,_0xc76ab1,_0x575315,_0x4c4ca3,_0x31b5f6){var _0x5b183d=_0x5b2e46;super(_0x2b180a,_0x178f84,_0x2c0d40,_0x17f2f8,_0x238e90,_0x3fd7fc,_0x4c4ca3,_0x767aa5,_0x31b5f6),N(this,_0x5b183d(0x175),_0x5b183d(0x12e)),N(this,_0x5b183d(0x379),0x0),N(this,_0x5b183d(0x404)),N(this,_0x5b183d(0x359)),(this[_0x5b183d(0x1d7)]=_0x2db8ee,this[_0x5b183d(0x209)]=_0xc76ab1,this[_0x5b183d(0x1bd)]=_0x575315,this[_0x5b183d(0x2da)]=_0x31b5f6,_0x36ed74&&(this[_0x5b183d(0x404)]=_0x36ed74,this['_sender']=this[_0x5b183d(0x404)][_0x5b183d(0x1bb)](({reqId:_0x82718a,timeout:_0x38ad35})=>{var _0x26cd79=_0x5b183d;this[_0x26cd79(0x132)](_0x82718a,_0x38ad35);})));}[_0x5b2e46(0x251)](_0x11424f){var _0x121175=_0x5b2e46;return this['_pendingMutations'][_0x121175(0x3ce)](_0x11424f),this;}['onRemoteChangeset'](_0x4574da){var _0x3e030e=_0x5b2e46;if(this[_0x3e030e(0x3da)](_0x4574da))return this['_clearScheduledTask'](),this[_0x3e030e(0x1d7)]['createInstance'](te,this[_0x3e030e(0x238)],this['type'],this[_0x3e030e(0x309)],this['_pendingMutations'],null,[_0x4574da],this['_handler']);try{const _0x53954c=this[_0x3e030e(0x1bd)]['transformChangesets']([_0x4574da],[this[_0x3e030e(0x309)]],!0x1);if(_0x620d30(_0x53954c)){const {c1Prime:_0x1e2921,c2Prime:_0x565392}=_0x53954c,_0x1476b1=this['_transformService']['transformMutationsWithChangeset'](_0x1e2921[0x0],this[_0x3e030e(0x431)]);if(_0xd8001(_0x1476b1)){const {c1Prime:_0x57783e,m2Prime:_0xdf177d}=_0x1476b1;return this[_0x3e030e(0x3dc)](_0x57783e),_0x565392[0x0][_0x3e030e(0x253)]=this['_getCurrentRevision'](),this[_0x3e030e(0x242)](),this[_0x3e030e(0x1d7)][_0x3e030e(0x140)](ae,this[_0x3e030e(0x238)],this['type'],_0x565392[0x0],_0xdf177d,this[_0x3e030e(0x43b)],void 0x0);}throw _0x1476b1['error'];}throw _0x53954c[_0x3e030e(0x1e9)];}catch(_0x1ece00){return this['_logService']['error'](_0x1ece00),this[_0x3e030e(0x279)](!0x1);}}['onRemoteAck'](_0x3aabf9){var _0x4a4ab0=_0x5b2e46;if(this[_0x4a4ab0(0x242)](),this[_0x4a4ab0(0x3da)](_0x3aabf9))return this[_0x4a4ab0(0x1d7)][_0x4a4ab0(0x140)](te,this[_0x4a4ab0(0x238)],this[_0x4a4ab0(0x36e)],null,this[_0x4a4ab0(0x431)],this[_0x4a4ab0(0x309)],[],this[_0x4a4ab0(0x43b)]);this[_0x4a4ab0(0x211)]();const _0x18c5ba=this[_0x4a4ab0(0x1d7)][_0x4a4ab0(0x140)](oe,this[_0x4a4ab0(0x238)],this[_0x4a4ab0(0x36e)],this[_0x4a4ab0(0x431)],this[_0x4a4ab0(0x43b)]);return _0x18c5ba['_schedule'](),_0x18c5ba[_0x4a4ab0(0x19e)](),_0x18c5ba;}[_0x5b2e46(0x3ac)](_0x381abb){var _0x29de6d=_0x5b2e46;return this[_0x29de6d(0x279)](!!(_0x381abb!=null&&_0x381abb['isPermissionRej']));}['onRemoteRetry'](_0x5eb1f2){var _0x2d3579=_0x5b2e46;return this[_0x2d3579(0x379)]>Ni?this[_0x2d3579(0x394)]():(this[_0x2d3579(0x404)]=Oi(this[_0x2d3579(0x379)],{'timeout':this[_0x2d3579(0x379)],'reqId':_0x5eb1f2['reqId']}),this[_0x2d3579(0x359)]=this[_0x2d3579(0x404)][_0x2d3579(0x1bb)](({reqId:_0x5de5a5,timeout:_0x533995})=>{this['_resendWithTimeout'](_0x5de5a5,_0x533995);}),this);}[_0x5b2e46(0x394)](){var _0x3b3129=_0x5b2e46;return this['_clearScheduledTask'](),this[_0x3b3129(0x1d7)][_0x3b3129(0x140)](fe,this[_0x3b3129(0x238)],this[_0x3b3129(0x36e)],this['_awaitingChangeset'],this[_0x3b3129(0x431)],this[_0x3b3129(0x43b)]);}[_0x5b2e46(0x395)](){return this;}[_0x5b2e46(0x213)](){var _0x263e42=_0x5b2e46;this[_0x263e42(0x43b)][_0x263e42(0x150)](this['_awaitingChangeset']);}[_0x5b2e46(0x279)](_0x562f64){var _0x5691f9=_0x5b2e46;return this[_0x5691f9(0x242)](),this['_injector'][_0x5691f9(0x140)](de,this['unitID'],this[_0x5691f9(0x36e)],null,this[_0x5691f9(0x431)],this[_0x5691f9(0x43b)],_0x562f64);}[_0x5b2e46(0x132)](_0x19f0ed,_0x3b1112){var _0x36f77c=_0x5b2e46,_0x553d9b;_0x19f0ed===((_0x553d9b=this['_awaitingChangeset'])==null?void 0x0:_0x553d9b[_0x36f77c(0x2eb)])&&(this[_0x36f77c(0x213)](),this[_0x36f77c(0x379)]=_0x3b1112===0x0?0x3e8:_0x3b1112*0x2);}[_0x5b2e46(0x242)](){var _0x552e8c=_0x5b2e46,_0x535e95;(_0x535e95=this[_0x552e8c(0x359)])==null||_0x535e95['unsubscribe'](),this[_0x552e8c(0x379)]=0x0;}};ae=Re([A(0x6,_0x93b1fb(_0x19c3a9)),A(0x7,_0x93b1fb(_0x1c2240)),A(0x8,_0x373d1a),A(0x9,_0x3feb90),A(0xa,_0x36deec),A(0xb,_0x48bd3c),A(0xc,_0x2480cc(J))],ae);let de=class extends be{constructor(_0x45f300,_0x4b5e6a,_0x1a9669,_0x5d800a,_0x58f888,_0x1b6c95=!0x1,_0x4c2c99,_0x104d49,_0x499928,_0x1af728,_0x6fa97d,_0x585da7,_0x2829d7){var _0x13797a=_0x5b2e46;super(_0x45f300,_0x4b5e6a,_0x1a9669,_0x5d800a,_0x58f888,_0x104d49,_0x499928,_0x1af728,_0x2829d7),N(this,_0x13797a(0x175),_0x13797a(0x2b9)),(this['_isPermissionRej']=_0x1b6c95,this[_0x13797a(0x417)]=_0x4c2c99,this['_localeService']=_0x6fa97d,this[_0x13797a(0x302)]=_0x585da7,this['localCacheService']=_0x2829d7,this[_0x13797a(0x38f)](),this[_0x13797a(0x21a)](),this[_0x13797a(0x217)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x5b2e46(0x3ac)](){return this;}['onRemoteRetry'](){return this;}[_0x5b2e46(0x394)](){return this;}[_0x5b2e46(0x395)](){return this;}[_0x5b2e46(0x213)](){var _0x4c2e3d=_0x5b2e46;throw new Error(_0x4c2e3d(0x287));}[_0x5b2e46(0x21a)](){var _0x480a3d=_0x5b2e46,_0x4de715;(_0x4de715=this[_0x480a3d(0x3ca)])==null||_0x4de715[_0x480a3d(0x276)](this[_0x480a3d(0x238)],this[_0x480a3d(0x36e)],null,[]);}['_showConflictNotification'](){var _0x2d7692=_0x5b2e46;this[_0x2d7692(0x1ca)]?this[_0x2d7692(0x302)][_0x2d7692(0x262)]({'id':se['PERMISSION_DENIED']}):this[_0x2d7692(0x302)][_0x2d7692(0x262)]({'id':se[_0x2d7692(0x137)]});}['_disableEditing'](){var _0x35323c=_0x5b2e46;this[_0x35323c(0x417)]['updatePermissionPoint'](new _0x1b2024(this['unitID'])['id'],!0x1);}};function _0x3e11(){var _0x124cd8=['APPLY_DUPLICATED','telemetry\x20info\x20is\x20not\x20initialized','collaMsg','clear','UNDEFINED','runId','message$','MSG_FOR_ERROR','eventID','close','UPDATE_CURSOR','APPLY_REVISION_CONFILICT','CHANGESET_SHOULD_RETRY','UPDATE_PERMISSION_OBJ','fetchMissingChangesets','JOIN','_authzIoService','__creator','ticket','then','reject','NEW_CHANGESETS','size','resourceIDs','_doCryptBlock','sendChangesetTimeout','$super','padding','shouldCloseConn','conflict','next','_transformRemoteChangesetByStateCache','_candidateSocket','_transitionLocked','Encryptor','_substituteRedoStack','onCommentUpdate','_onConnectionFailed','?url=','reset','update','pluginName','range','action','_members','compose','decryptBlock','PERSON','length','MD5','set','\x20in\x20_schedule.','createSocket','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[PendingState]:\x20received\x20rejection.','clamp','AUTHZ_URL_KEY','collaboration-client.config','mode','_change$','name','_event$','localCacheService','updateCursorEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[SyncedState]:\x20received\x20acknowledgement.','clone','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','PSEUDO_FETCH_MISSING_RESULT','loginUrlKey','&source=','UUID','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_getCtorByUniverType','responseType','collaborators','_updateState','1458807bNRKCV','symbol','reqId','hasher','collaboration-client.local-cache-service','NoPadding','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','memberID','updatePermissionObjEvent','[CollaborationSession]','_emitMembers','transformMutationsWithChangeset','join','_replaceFileID','SEND_CHANGESET_TIMEOUT','url','UNIVER_COLLABORATION_CLIENT_PLUGIN','randomBytes','_data','_clearTimeoutTimer','/fetchmissing?from=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_createHmacHelper','_doReset','rng','_collaborationUIEventService','_compressMutationService','[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.','1201505UWmeUM','_parse','open$','_waitForHeartbeatResponse','_awaitingChangeset','_telemetryService','StreamCipher','pauseCollaboration','get','_toggleOnline','_collaborationTimeoutTimer','concat','NOT_COLLAB','AES','_collaborationSessionService','createCollaborator','_snapshotService','BufferedBlockAlgorithm','_onUserLeave','YUUMI_URL_COL_OUT_OF_RANGE','method','_mode','UNIVER_SLIDE','_HTTPService','ERROR_IMAGE','bind','getInterceptPoints','getSheetBlock','encode','code','JOIN_ROOM_NOT_EXISTS','_type','add','authzUrl','finalize','status$','UNKNOWN_CODE','_sendingTimer','11NIKNoO','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','createEncryptor','getRandomValues','_submitChangeset','SUBMIT_CHANGESET','_sendHeartbeat','prototype','SHA1','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','cmd','_remoteChangesetQueue','_unitInfo$','getUnitId','[OfflineState]:\x20received\x20acknowledgement.','getRoom','objects','words','USERS_ENTER','/unit/','JOIN_ROOM_FAILED','createDecryptor','apply','getActiveSheet','location','confirm','getConfig','_exhaustRemoteChangesetQueue','_timeoutTimer','routeKey','COMMENT_UPDATE','map','onTransformRemoteChangesetByIMECache','session.room-full','Utf8','registerHTTPInterceptor','sid','LOCAL_CACHE_INTERVAL','removeMember','application/json','onTransformState','_instanceService','loadOfflineData','iterations','/universer-api/stream/file/upload','disposeWithMe','_sender','state$','editing\x20status\x20changed\x20to','MUTATION','TOO_MANY_REQUESTS','onLocalMutation','_memberService','putCollaborators','key','/universer-api/authz','LICENSE_DISTRO_REJECTED','textRanges','close$','PY_RUNTIME_SCRIPT_ERROR','_onFetchMissResult','ciphertext','mixIn','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','image/jpeg','charCodeAt','_transformIMECache','type','_state','_process','deepClone','sigBytes','_sendHeartbeatTimer','stringify','_map','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformIME','12PpbQrk','_resendTimeout','reverse','onMissedChangesetFetched','_ENC_XFORM_MODE','string','SNAPSHOT_INVALID_SNAPSHOT','USERS_LEAVE','_fetchMissChangesets','COMPLETION_FINISHED','collabWebSocketUrl','1hddwlD','addHandlerCallback','getSheetId','_hash','forEach','saveSheetBlock','executeCommand','updateMember','send','_snapshotServerService','batchAllowed','/collaborator','_showConflictNotification','_onOffline','SerializableCipher','/new_changes','splice','toggleOffline','toggleOnline','append','snapshot','onStarting','NOT_FOUND','function','fromCollab','CHANGESET_ACK','_stopTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20rejection.','LIVESHARE_NEW_HOST','_socket$','event$','x-univer-host','put','/object','m2Prime','769374nOfATO','readInt32LE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_removeRoom','_userManagerService','onRemoteRej','duration','reconnect','CipherParams','state','_keyPriorReset','onRemoteRetry','_transformSelections','parse','_initUnitPermissionChange','_networkConditionService','_members$','getUnitStatus$','LIVESHARE_REQUEST_HOST','image/png','getOwnPropertyDescriptor','processBlock','_onUserJoin','pending','onlyLocal','{fileID}','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[DataLoaderService]','INGEST','setCurrentUser','Undefined','_initCloseConn','_singleActiveUnitService','_createHandler','COLLAB_WEB_SOCKET_URL','_localCacheService','_getSignURL','session.room-not-exists','search','push','subject','revision','_onRemoteACK','1299872NPIVfn','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','transformSelections','SOCKET_FAILED_RETRY','BlockCipherMode','onTransformSelections','getFocusedUnit','localeService','_checkMissing','YUUMI_RATE_OVER_LIMIT','_executeRemoteChangeset','_getDownloadEndpointURL','_scheduleCollaborationTimeoutTimer','random','target','ENSURE_SNAPSHOT_EXECUTION','_shouldReportTelemetry','updateCollaborator','change$','getCollabEntity','body','_unlockTransition','data','commentUpdateEvent','/-/object/-/batch_allowed','salt','roles','_hasher','_queuedRemoteChangesets','onRemoteChangeset','_doProcessBlock','_configService','SOCKET_FAILED','reduce','interceptor','_updateStatus','getDeserializedSheetBlock','image/gif','getAllMembers','[CollaborationState]:\x20apply\x20error!','encrypt','toLowerCase','_retryConnectingTimer','avatar','Cipher','NO_OTHER_CLIENTS_EDITING','/universer-api/snapshot','CONNECTOR_DATA_TOO_LARGE','/object/','getValue','_resendTimer','toString','_init','onSyncEditingCollabCursor','origin','submit\x20changeset\x20error!','unsubscribe','onRemoteAck','_status$','fetch_missing','startsWith','offline','entries','complete','Base','_scheduleCompleteTimestamp','_roomCreated$','_replayCachedMutations','UnitEmbedded','_permissionService','\x0aCurrent:\x20','post','LIVESHARE_OPERATION','IDLE','_xformMode','includes','newCsEvent','ws://127.0.0.1:8000/universer-api/comb/connect','selections','getMemberID','file','_onRecvEvent','uniscriptRunEvent','_iKey','/-/object/list','_decreaseWaiting','replace','unitId','\x20-\x20','pipe','csAckEvent','SHOULD_CLOSE_CONN','getImageSourceCache','SNAPSHOT_HAS_BEEN_REMOVED','WordArray','_pendingMutations','sessionStatus','CHANGESET_REVISION_CONFILICT','COMPRESS_MUTATION_APPLY','listRoles','_throwTelemetryCollaborationNewChangeset','execute','JOIN_ROOM_PERMISSION_DENIED','JOINING','HMAC','_handler','Pkcs7','has','call','readAsDataURL','_onConnectionOpen','byteLength','APPLY_PERMISSION_DENIED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','now','unit-cache-','_createHelper','fetching\x20missing\x20changesets\x20from\x20','_initMergeInterceptor','&to=','awaiting_with_pending','blockSize','_collaborationPaused','_getAPIPrefix','_resendWithTimeout','requireSession','_socket','connection\x20error','compute','CONFLICT','_unitID','HttpImport','/universer-api/comb','params','/resources','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','\x0aAfter:\x20','getLatestCsReqIdBySid','createInstance','override','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','commentUpdate$','_getLoginPath','members','&assign=','crypto','lib','indexOf','requestParams','_initRequestHeader','exports','LIVESHARE_TERMINATE','unpad','LEAVE','onSendChangeset','getTypeOfUnitAdded$','userID','transformStack\x20failed!','max','onStateChange','init','_transformUndoredo','setShowComponents','enableOfflineEditing','loadDoc','BASE64','_transformStateCache','_prevBlock','_getSessionTicket','_syncEditingCollabCursor','[CollaborationSessionService]','_createSocketURL','_key','_transformRemoteChangesetByIMECache','CHANGESET_REJ','_lockTransition','[PendingState]:\x20unhandled\x20univer\x20type:\x20','auth.needGotoLoginAlert','_loadSheet','objectID','getTypeOfUnitDisposed$','HttpExport','_telemetryInfo','create','ivSize','stopTime','workbook','image/bmp','/universer-api/user/session-ticket','UNRECOGNIZED','_roomMembers','status','actions','Hex','APPLY_NON_SEQUENTIAL_REVISION','_collabSessionService','OTHER_CLIENT_EDITING','_socketReady','awaitingChangeset','msCrypto','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','buffer','randomUUID','1557096xpENob','getCurrentUser','UNIVER_SHEET','floor','_createInitialStateImpl','sin','format','fetchThroughInterceptors','searchParams','pad','_onMessage','__esModule','PENDING','_getCurrentRevision','byteOffset','collabSubmitChangesetUrl','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_iv','slice','/rev/','_onRemoteChangeset','findIndex','_getUndoStack','headers','BlockCipher','getCurrentRevOfUnit','/block/','session','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_updateLocalCache','_getSendChangesetTimeout','src','OFFLINE','Univer','incrementRevOfUnit','session.room-cnt-exceeds','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/universer-api/file/{fileID}/sign-url','_minBufferSize','POST','HELLO','synced','getUnitType','CBC','JOIN_ROOM_FULL','getImage','isArray','_waitCount','_append','UNKNOWN_CMD','[CollaborationEntity]','joinEvent','transformUndoRedo','_commentService','signUrlServerUrl','16UaSZbp','_createInitialState','capture','subscribe','values','_transformService','cfg','rev','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','_socketService','People','PERMISSION_DENIED','UNIVER_DOC','enableSingleActiveInstanceLock','_reverseMap','_createSocket','10116280LarHac','_isPermissionRej','algo','_cipher','awaiting','_nRounds','catch','formatter','YUUMI_UNABLE_LOAD_URL','FileId','UNIVER_UNKNOWN','resolve','charAt','abs','_injector','_startTelemetryCollaborationNewChangeset','save\x20fail\x20reason\x20is\x20','INTERNAL_ERROR','defineProperty','AWAITING_WITH_PENDING','dispose','_http','objectActions','GLOBAL_ROOMS_CNT_EXCEEDS','SNAPSHOT_URL_KEY','LOGIN_URL_KEY','_onCombEvent','[FetchMissState]','_sessions','_entityInit$','_onRemoteRejected','not_collab','error','_applyRemoteChangeset','socket\x20open.','_univerInstanceService','uploadFileServerUrl','patch','enc','href','_nDataBytes','_entities','getResourcesRequest','SNAPSHOT_SERVER_URL_KEY','c1Prime','changesets','objectType','APPLY_REJECT','_httpService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','allowed','_undoStacks','title','ONLINE','HmacSHA1','delete','every','hasOwnProperty','setConfig','getTime','_socketMessageSubscription','_localeService','setWaitCount','_transformStack','_logService','initWorkbookPermissionChange','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','HEARTBEAT','LIVESHARE_FETCH_OPERATIONS','AWAITING','CLOSE_ROOM','focused$','_incrementRevisionNumber','debug','resend','_commentUpdate$','getCollabEntity$','Could\x20not\x20dynamically\x20require\x20\x22','_disableEditing','_onLocalMutation','SUCCUSS','_clearLocalCache','fetchMiss','FAIL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCurrentSelections','_schedule','sessionTicket','find','editingUnit','list','univer-pro.collaboration-client.single-active-unit-service','INVALID_ARGUMENT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','socket$','liveShareOperation','mutations','_config','_substituteUndoStack','[CollaborationUndoRedoService]','roomInfos','updatePermissionPoint','error$','_onJoinRoomEvent','_changesetSessionId','onMissingChangesets','collaboratorID','_getUploadFileURL','_commandService','Decryptor','sessionStatus$','unitID','PasswordBasedCipher','_DEC_XFORM_MODE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','_startCollaboration','OTHER_CLIENTS_EDITING','\x20to\x20','socket\x20close','c2Prime','_clearScheduledTask','OPTIONAL','_changesetReqId','_handlerCallback','permissionRejEvent','_keySchedule','onCommandExecuted','/role','filter','univer-pro.collaboration-client-socket-service','_joinRoom','session.room-permission-denied','getMember','_initDependencies','_clearRedo','appendMutation','retryConnectingInterval','baseRev','_undoRedoService','_acknowledgedAwaitingChangeset','/universer-api/snapshot/','encodeURIComponent','_listenToNetworkCondition','__Key__','_clearHeartbeatTimer','_doFinalize','/allowed','liveShareNewHost','_registerDependencies','decrypt','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','emitEvent','PERMISSION_REJ','UNAUTHENTICATED','_rescheduleHeartbeat','UnitSnapshot','extend','_sessionStatus$','disableLocalCache','Base64','_eventService','isPermissionRej','saveChangeset','RECV','LICENSE_IMPORT_SIZE_EXCEEDED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','equals','refreshPermission','_tryReconnect','originalMeta','min','updateOfflineData','_tryEnsureSocket','keySize','_onConflict','ceil','fromCharCode','subUnitId','loadUnit','unknown','COMPRESS_MUTATION_SEND','_revisionService','loadSheet','kdf','univer-pro.collaboration-client.network-condition.service','members$','dispose$','_state$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_PROJECT','_toggleOffline','HEARTBEAT_TIMEOUT','generateRandomId','csRejEvent','[OfflineState]:\x20received\x20changeset.','FETCH_MISSING','RETRY_CONNECTING_MAX_COUNT','EvpKDF','_clearCollaborationTimeoutTimer','1609853AwvNfT','getSnapshotAPIPath','UNISCRIPT_RUN','result','OpenSSL','onTransformRemoteChangesetByStateCache','getUnitOnRev','enableAuthServer','_retryCount','_imageSourceCache'];_0x3e11=function(){return _0x124cd8;};return _0x3e11();}de=Re([A(0x6,_0x93b1fb(_0x438398)),A(0x7,_0x373d1a),A(0x8,_0x48bd3c),A(0x9,_0x93b1fb(_0x1c2240)),A(0xa,_0x93b1fb(_0x2d7fad)),A(0xb,_0x93b1fb(pe)),A(0xc,_0x2480cc(J))],de);let fe=class extends be{constructor(_0x4be7c3,_0x4e119f,_0x512207,_0x542071,_0x14e0b4,_0x59d47b,_0x39c7c3,_0x5048ac,_0x5cd932,_0x1545dd){var _0x326147=_0x5b2e46;super(_0x4be7c3,_0x4e119f,_0x512207,_0x542071,_0x14e0b4,_0x5048ac,_0x5cd932,_0x39c7c3,_0x1545dd),N(this,_0x326147(0x175),_0x326147(0x40f)),this['_injector']=_0x59d47b;}[_0x5b2e46(0x251)](_0x247244){var _0x379459=_0x5b2e46;return this[_0x379459(0x431)][_0x379459(0x3ce)](_0x247244),this[_0x379459(0x19e)](),this;}[_0x5b2e46(0x3ef)](_0xc0e88f){var _0x549701=_0x5b2e46;throw new Error(_0x549701(0x28d));}['onRemoteAck'](){var _0x5184da=_0x5b2e46;throw new Error(_0x5184da(0x339));}[_0x5b2e46(0x3ac)](){var _0x2d1913=_0x5b2e46;throw new Error(_0x2d1913(0x39f));}['onRemoteRetry'](){return this;}[_0x5b2e46(0x394)](){return this;}[_0x5b2e46(0x395)](){var _0x13db91=_0x5b2e46;const {_injector:_0xf640f5,_pendingMutations:_0x4055c9,_awaitingChangeset:_0x3d2ef3,unitID:_0xd7aaec,_handler:_0x2e2659,type:_0x2ba92e}=this,_0x3f7dab=Di(_0xf640f5,_0xd7aaec,_0x2ba92e,_0x3d2ef3,_0x4055c9,_0x2e2659);return _0x3f7dab instanceof oe?_0x3f7dab[_0x13db91(0x21f)]():(_0x3f7dab instanceof ae||_0x3f7dab instanceof ue)&&_0x3f7dab[_0x13db91(0x213)](),_0x3f7dab;}[_0x5b2e46(0x213)](){var _0x125cc7=_0x5b2e46;throw new Error(_0x125cc7(0x23b));}};fe=Re([A(0x5,_0x93b1fb(_0x19c3a9)),A(0x6,_0x93b1fb(_0x1c2240)),A(0x7,_0x373d1a),A(0x8,_0x48bd3c),A(0x9,_0x2480cc(J))],fe);let te=class extends be{constructor(_0x518607,_0x15c6f0,_0x55e06c,_0x4fe590,_0x214df8,_0x1725de,_0x1c0674,_0x158cf5,_0x229090,_0x519547,_0x32ce89,_0x1d1594,_0x5e5357,_0x164745){var _0x4d1a22=_0x5b2e46;super(_0x518607,_0x15c6f0,_0x55e06c,_0x4fe590,_0x1c0674,_0x32ce89,_0x1d1594,_0x229090,_0x164745),N(this,_0x4d1a22(0x175),_0x4d1a22(0x40d)),(this['_acknowledgedAwaitingChangeset']=_0x214df8,this[_0x4d1a22(0x3ee)]=_0x1725de,this[_0x4d1a22(0x1d7)]=_0x158cf5,this[_0x4d1a22(0x209)]=_0x519547,this[_0x4d1a22(0x1bd)]=_0x5e5357,this[_0x4d1a22(0x2da)]=_0x164745);}[_0x5b2e46(0x37b)](_0x367552){var _0x4c2dcf=_0x5b2e46;try{const _0x28c1c4=[..._0x367552,...this[_0x4c2dcf(0x3ee)]],_0x391cd8=[this[_0x4c2dcf(0x309)]||this[_0x4c2dcf(0x255)]][_0x4c2dcf(0x24a)](_0x4e510e=>!!_0x4e510e);let _0x1dd711,_0x38f0c7;if(_0x391cd8[_0x4c2dcf(0x2cc)]){const _0x32b71f=this[_0x4c2dcf(0x1bd)]['transformChangesets'](_0x28c1c4,_0x391cd8,!0x1);if(!_0x620d30(_0x32b71f))throw _0x32b71f[_0x4c2dcf(0x1e9)];_0x1dd711=_0x32b71f[_0x4c2dcf(0x1f5)],_0x38f0c7=_0x32b71f[_0x4c2dcf(0x241)];}else _0x1dd711=_0x28c1c4,_0x38f0c7=[];let _0x237d2f=this[_0x4c2dcf(0x431)];_0x1dd711[_0x4c2dcf(0x387)](_0x61c793=>{var _0x412c95=_0x4c2dcf;let _0x1dd9be;if(_0x237d2f[_0x412c95(0x2cc)]){const _0x37f9b7=this[_0x412c95(0x1bd)][_0x412c95(0x2f4)](_0x61c793,_0x237d2f);if(!_0xd8001(_0x37f9b7))throw _0x37f9b7[_0x412c95(0x1e9)];_0x1dd9be=_0x37f9b7['c1Prime'],_0x237d2f=_0x37f9b7[_0x412c95(0x3a6)];}else _0x1dd9be=_0x61c793;this[_0x412c95(0x3dc)](_0x1dd9be);}),this[_0x4c2dcf(0x255)]&&this[_0x4c2dcf(0x211)](),this[_0x4c2dcf(0x309)]&&_0x38f0c7['length']&&(_0x38f0c7[0x0][_0x4c2dcf(0x253)]=this[_0x4c2dcf(0x18e)]());let _0xfe3b43;if(this[_0x4c2dcf(0x309)]&&_0x237d2f[_0x4c2dcf(0x2cc)]!==0x0)_0xfe3b43=this['_injector'][_0x4c2dcf(0x140)](ae,this['unitID'],this[_0x4c2dcf(0x36e)],_0x38f0c7[0x0],_0x237d2f,this[_0x4c2dcf(0x43b)],void 0x0);else{if(this[_0x4c2dcf(0x309)]&&_0x237d2f['length']===0x0)_0x38f0c7[0x0][_0x4c2dcf(0x253)]=this[_0x4c2dcf(0x18e)](),_0xfe3b43=this[_0x4c2dcf(0x1d7)]['createInstance'](ue,this[_0x4c2dcf(0x238)],this['type'],_0x38f0c7[0x0],this[_0x4c2dcf(0x43b)]);else{if(_0x237d2f[_0x4c2dcf(0x2cc)]!==0x0){const _0x4300c8=this[_0x4c2dcf(0x1d7)][_0x4c2dcf(0x140)](oe,this[_0x4c2dcf(0x238)],this[_0x4c2dcf(0x36e)],_0x237d2f,this[_0x4c2dcf(0x43b)]);_0x4300c8[_0x4c2dcf(0x21f)](),_0xfe3b43=_0x4300c8;}else _0xfe3b43=this[_0x4c2dcf(0x1d7)]['createInstance'](De,this['unitID'],this[_0x4c2dcf(0x36e)],this[_0x4c2dcf(0x43b)]);}}return _0xfe3b43[_0x4c2dcf(0x19e)](),_0xfe3b43;}catch(_0x49fa40){return this[_0x4c2dcf(0x209)][_0x4c2dcf(0x1e9)](_0x4c2dcf(0x1e4),'failed\x20to\x20apply\x20missed\x20changesets!',_0x49fa40),this[_0x4c2dcf(0x1d7)][_0x4c2dcf(0x140)](de,this[_0x4c2dcf(0x238)],this[_0x4c2dcf(0x36e)],this[_0x4c2dcf(0x309)],this[_0x4c2dcf(0x431)],this[_0x4c2dcf(0x43b)],!0x1);}}[_0x5b2e46(0x213)](){var _0x413c14=_0x5b2e46;throw new Error(_0x413c14(0x376));}['appendMutation'](_0x25d65d){var _0x3278c3=_0x5b2e46;return this[_0x3278c3(0x431)][_0x3278c3(0x3ce)](_0x25d65d),this;}[_0x5b2e46(0x3ef)](_0x433ca6){var _0x4ce05a=_0x5b2e46;return this['_queuedRemoteChangesets'][_0x4ce05a(0x3ce)](_0x433ca6),this;}['onRemoteAck'](_0x2fe4fa){var _0x2be4ec=_0x5b2e46;if(this[_0x2be4ec(0x309)])return this['_acknowledgedAwaitingChangeset']=this[_0x2be4ec(0x309)],this[_0x2be4ec(0x309)]=null,this;throw new Error(_0x2be4ec(0x270));}[_0x5b2e46(0x3ac)](_0x512dde){return this['_onConflict'](!!(_0x512dde!=null&&_0x512dde['isPermissionRej']));}[_0x5b2e46(0x3b2)](){return this;}['toggleOffline'](){var _0x515c6e=_0x5b2e46;return this[_0x515c6e(0x1d7)][_0x515c6e(0x140)](fe,this[_0x515c6e(0x238)],this['type'],this[_0x515c6e(0x309)],this[_0x515c6e(0x431)],this['_handler']);}['toggleOnline'](){return this;}[_0x5b2e46(0x279)](_0x164a1b){var _0x1de2cb=_0x5b2e46;return this['_injector']['createInstance'](de,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x1de2cb(0x431)],this[_0x1de2cb(0x43b)],_0x164a1b);}};te=Re([A(0x7,_0x93b1fb(_0x19c3a9)),A(0x8,_0x93b1fb(_0x1c2240)),A(0x9,_0x3feb90),A(0xa,_0x373d1a),A(0xb,_0x48bd3c),A(0xc,_0x36deec),A(0xd,_0x2480cc(J))],te);function Di(_0x26d1b9,_0x468ee6,_0x1a6327,_0xf05c6b,_0x12d215,_0xe69a1d){var _0x36c9f3=_0x5b2e46;return _0xf05c6b&&_0x12d215[_0x36c9f3(0x2cc)]?_0x26d1b9[_0x36c9f3(0x140)](ae,_0x468ee6,_0x1a6327,_0xf05c6b,_0x12d215,_0xe69a1d,void 0x0):_0xf05c6b?_0x26d1b9[_0x36c9f3(0x140)](ue,_0x468ee6,_0x1a6327,_0xf05c6b,_0xe69a1d):_0x12d215[_0x36c9f3(0x2cc)]?_0x26d1b9[_0x36c9f3(0x140)](oe,_0x468ee6,_0x1a6327,_0x12d215,_0xe69a1d):_0x26d1b9[_0x36c9f3(0x140)](De,_0x468ee6,_0x1a6327,_0xe69a1d);}var vr=Object[_0x5b2e46(0x1db)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x242604,_0x39f5ed,_0x55d686,_0x523fc3)=>{var _0x51c948=_0x5b2e46;for(var _0x440bea=_0x523fc3>0x1?void 0x0:_0x523fc3?pr(_0x39f5ed,_0x55d686):_0x39f5ed,_0x2e7050=_0x242604[_0x51c948(0x2cc)]-0x1,_0x3a2878;_0x2e7050>=0x0;_0x2e7050--)(_0x3a2878=_0x242604[_0x2e7050])&&(_0x440bea=(_0x523fc3?_0x3a2878(_0x39f5ed,_0x55d686,_0x440bea):_0x3a2878(_0x440bea))||_0x440bea);return _0x523fc3&&_0x440bea&&vr(_0x39f5ed,_0x55d686,_0x440bea),_0x440bea;},k=(_0x5ca187,_0x5b6a44)=>(_0x390623,_0x1f59f9)=>_0x5b6a44(_0x390623,_0x1f59f9,_0x5ca187);let nt=class extends _0x55185b{constructor(_0x558115,_0x124eaf,_0x439d5c,_0x1b9f3e,_0x10a020,_0x232f50,_0x1b1c7a,_0x39cf16,_0x10d647,_0x4c922b,_0x4dbcb1,_0x3b53e8,_0x508344){var _0x39c9c9=_0x5b2e46;super(),N(this,'_state$',new _0x560e61(null)),N(this,_0x39c9c9(0x35a),this[_0x39c9c9(0x286)][_0x39c9c9(0x1c1)]()),N(this,_0x39c9c9(0x36f)),N(this,_0x39c9c9(0x130),!0x1),N(this,_0x39c9c9(0x231),''),N(this,'_changesetReqId',0x0),N(this,_0x39c9c9(0x328),this['state$']['pipe'](_0x2563dd(_0x5c88b1=>_0x5c88b1?_0x5c88b1[_0x39c9c9(0x175)]:yi[_0x39c9c9(0x1a1)]),_0x3ac042(0x1))),N(this,_0x39c9c9(0x2bd),!0x1),N(this,_0x39c9c9(0x336),[]),(this[_0x39c9c9(0x238)]=_0x558115,this[_0x39c9c9(0x19c)]=_0x124eaf,this[_0x39c9c9(0x324)]=_0x439d5c,this['_injector']=_0x1b9f3e,this[_0x39c9c9(0x303)]=_0x10a020,this['_localeService']=_0x232f50,this[_0x39c9c9(0x280)]=_0x1b1c7a,this[_0x39c9c9(0x26b)]=_0x39cf16,this['_logService']=_0x10d647,this[_0x39c9c9(0x235)]=_0x4c922b,this[_0x39c9c9(0x417)]=_0x4dbcb1,this[_0x39c9c9(0x3c7)]=_0x3b53e8,this[_0x39c9c9(0x3ca)]=_0x508344);}get['state'](){var _0x248179=_0x5b2e46;return this[_0x248179(0x36f)];}async[_0x5b2e46(0x156)](){var _0x507308=_0x5b2e46;if(this[_0x507308(0x3b0)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x5b2e46(0x30c)](){return this['_collaborationPaused']=!0x0,_0x2765ad(()=>{var _0x33e89a=_0xf286;this['_collaborationPaused']=!0x1,this[_0x33e89a(0x346)]();});}[_0x5b2e46(0x35e)](_0x24914d){var _0x864425=_0x5b2e46;this[_0x864425(0x218)](_0x24914d);}[_0x5b2e46(0x2e8)](_0x20ddc5){var _0x2238cc=_0x5b2e46;this[_0x2238cc(0x36f)]=_0x20ddc5,this['_state$'][_0x2238cc(0x2ba)](_0x20ddc5);}async[_0x5b2e46(0x406)](){var _0x46258b=_0x5b2e46,_0x4c8b26;this[_0x46258b(0x2e8)](await this[_0x46258b(0x1b9)]()),this[_0x46258b(0x3c7)]&&((_0x4c8b26=this[_0x46258b(0x3c7)])==null||_0x4c8b26[_0x46258b(0x222)](this[_0x46258b(0x238)]),this[_0x46258b(0x358)](this['_singleActiveUnitService'][_0x46258b(0x3b8)](this['unitID'])[_0x46258b(0x1bb)](_0x418857=>{var _0x240947=_0x46258b;this[_0x240947(0x209)][_0x240947(0x212)](_0x240947(0x1b3),_0x240947(0x35b),_0x418857),_0x418857===bi[_0x240947(0x23e)]?(this[_0x240947(0x26b)][_0x240947(0x262)]({'id':se[_0x240947(0x17a)]}),this[_0x240947(0x417)][_0x240947(0x22e)](new _0x1b2024(this[_0x240947(0x238)])['id'],!0x1),this[_0x240947(0x417)][_0x240947(0x158)](!0x1)):(this[_0x240947(0x417)][_0x240947(0x22e)](new _0x1b2024(this['unitID'])['id'],!0x0),this['_permissionService'][_0x240947(0x158)](!0x0));})));let _0x5a0937=!0x1;return this[_0x46258b(0x358)](this[_0x46258b(0x19c)]['sessionStatus$']['subscribe'](_0x4895e7=>{var _0x2b41dc=_0x46258b;_0x4895e7===Te[_0x2b41dc(0x1fe)]?this[_0x2b41dc(0x30e)](_0x5a0937):_0x4895e7===Te[_0x2b41dc(0x1a1)]&&(_0x5a0937=!0x0,this[_0x2b41dc(0x289)]());})),this[_0x46258b(0x358)](this['session'][_0x46258b(0x3a2)]['subscribe'](_0x114c62=>{var _0xa37a94=_0x46258b;try{switch(_0x114c62[_0xa37a94(0x2a4)]){case _0x5804c0[_0xa37a94(0x2b1)]:{this[_0xa37a94(0x195)](_0x243b53(_0x114c62[_0xa37a94(0x3e8)]));break;}case _0x5804c0[_0xa37a94(0x39c)]:{this[_0xa37a94(0x3d1)](_0x114c62[_0xa37a94(0x3e8)]);break;}case _0x5804c0[_0xa37a94(0x164)]:{this[_0xa37a94(0x1e7)]();break;}case _0x5804c0[_0xa37a94(0x2a8)]:{this['_onRemoteRetry'](_0x114c62[_0xa37a94(0x3e8)]);break;}case _0x5804c0[_0xa37a94(0x2e0)]:{this[_0xa37a94(0x367)](_0x114c62[_0xa37a94(0x3e8)][_0xa37a94(0x1f6)][_0xa37a94(0x34a)](_0x3681ca=>_0x243b53(_0x3681ca)));break;}case _0x5804c0[_0xa37a94(0x263)]:{this[_0xa37a94(0x1e7)]({'isPermissionRej':!0x0});break;}case _0x5804c0[_0xa37a94(0x294)]:break;}}catch(_0x3743c6){throw console[_0xa37a94(0x1e9)]('Error\x20on\x20receiving\x20event',_0x3743c6),_0x3743c6;}})),this[_0x46258b(0x36f)];}[_0x5b2e46(0x3e7)](){var _0x36ef34=_0x5b2e46;this[_0x36ef34(0x2bd)]=!0x1;}[_0x5b2e46(0x165)](){var _0x19ec9e=_0x5b2e46;if(this['_transitionLocked'])throw new Error(_0x19ec9e(0x304));this[_0x19ec9e(0x2bd)]=!0x0;}[_0x5b2e46(0x218)](_0x5b94dc){var _0x4b771f=_0x5b2e46;this[_0x4b771f(0x165)](),this[_0x4b771f(0x2e8)](this[_0x4b771f(0x36f)][_0x4b771f(0x251)](_0x5b94dc)),this['_unlockTransition']();}['_onRemoteChangeset'](_0xffb8a5){var _0x5964dd=_0x5b2e46;if(!(_0xffb8a5[_0x5964dd(0x3d0)]<=this['_revisionService'][_0x5964dd(0x19a)](this['unitID']))){if(this[_0x5964dd(0x130)]){this[_0x5964dd(0x336)][_0x5964dd(0x3ce)](_0xffb8a5);return;}this[_0x5964dd(0x1ea)](_0xffb8a5);}}[_0x5b2e46(0x346)](){var _0x573cec=_0x5b2e46;this[_0x573cec(0x336)][_0x573cec(0x387)](_0x52e391=>this[_0x573cec(0x1ea)](_0x52e391)),this[_0x573cec(0x336)]=[];}['_applyRemoteChangeset'](_0x16b0fe){var _0x23ea01=_0x5b2e46;const _0x15889f=this['_compressMutationService'][_0x23ea01(0x3f4)][_0x23ea01(0x188)](this[_0x23ea01(0x303)][_0x23ea01(0x3f4)][_0x23ea01(0x31f)]()[_0x23ea01(0x434)])(_0x16b0fe[_0x23ea01(0x229)],null)||_0x16b0fe[_0x23ea01(0x229)],_0x212641={..._0x16b0fe,'mutations':_0x15889f};this[_0x23ea01(0x165)](),this['_updateState'](this['_state'][_0x23ea01(0x3ef)](_0x212641)),this[_0x23ea01(0x3e7)]();}[_0x5b2e46(0x3d1)](_0xae3dfe){var _0x35d567=_0x5b2e46;this[_0x35d567(0x165)](),this[_0x35d567(0x2e8)](this['_state'][_0x35d567(0x40b)](_0xae3dfe)),this[_0x35d567(0x3e7)]();}[_0x5b2e46(0x1e7)](_0x482d1){var _0x562fc3=_0x5b2e46;this['_lockTransition'](),this[_0x562fc3(0x2e8)](this[_0x562fc3(0x36f)]['onRemoteRej'](_0x482d1)),this[_0x562fc3(0x3e7)]();}['_onRemoteRetry'](_0x11fd40){var _0x2b8ba5=_0x5b2e46;this['_lockTransition'](),this['_updateState'](this[_0x2b8ba5(0x36f)][_0x2b8ba5(0x3b2)](_0x11fd40)),this[_0x2b8ba5(0x3e7)]();}[_0x5b2e46(0x367)](_0x39025e){var _0x473b3d=_0x5b2e46;if(!(this[_0x473b3d(0x36f)]instanceof te))throw new TypeError(_0x473b3d(0x3d3));const _0x4ebf45=_0x39025e[_0x473b3d(0x34a)](_0x5142e6=>{var _0x12c47b=_0x473b3d;const _0x534b99=this['_compressMutationService'][_0x12c47b(0x3f4)][_0x12c47b(0x188)](this['_compressMutationService'][_0x12c47b(0x3f4)][_0x12c47b(0x31f)]()[_0x12c47b(0x434)])(_0x5142e6[_0x12c47b(0x229)],null)||_0x5142e6[_0x12c47b(0x229)];return{..._0x5142e6,'mutations':_0x534b99};});this[_0x473b3d(0x165)](),this[_0x473b3d(0x2e8)](this[_0x473b3d(0x36f)][_0x473b3d(0x37b)](_0x4ebf45)),this['_unlockTransition']();}[_0x5b2e46(0x289)](){var _0x49b8d2=_0x5b2e46;this[_0x49b8d2(0x165)](),this[_0x49b8d2(0x2e8)](this[_0x49b8d2(0x36f)][_0x49b8d2(0x394)]()),this[_0x49b8d2(0x3e7)]();}[_0x5b2e46(0x30e)](_0x2c2a47=!0x1){var _0x4a871a=_0x5b2e46;this['_lockTransition'](),this[_0x4a871a(0x2e8)](this[_0x4a871a(0x36f)][_0x4a871a(0x395)]()),this[_0x4a871a(0x3e7)]();const _0x37fcc0=this['_state'];_0x2c2a47&&_0x37fcc0 instanceof De&&(this[_0x4a871a(0x165)](),this[_0x4a871a(0x2e8)](_0x37fcc0[_0x4a871a(0x21b)]()),this['_unlockTransition']());}async[_0x5b2e46(0x1b9)](){return new Promise(_0x2c2baa=>{var _0x519a73=_0xf286;this[_0x519a73(0x19c)][_0x519a73(0x237)]['pipe'](_0x23570d(0x1))[_0x519a73(0x1bb)](async _0x46e0e2=>{var _0x488484=_0x519a73;_0x2c2baa(await this[_0x488484(0x185)](_0x46e0e2===Te[_0x488484(0x1fe)]));});});}['_createHandler'](){var _0x4e29c4=_0x5b2e46;const _0xac7e01=this[_0x4e29c4(0x238)];return{'onStateChange':(_0x35b443,_0x58e16a)=>{var _0x404768=_0x4e29c4;if(_0x35b443!==this[_0x404768(0x36f)])throw new Error(_0x404768(0x127)+_0x35b443['status']+_0x404768(0x13e)+_0x58e16a[_0x404768(0x175)]+_0x404768(0x418)+this[_0x404768(0x36f)][_0x404768(0x175)]);this['_updateState'](_0x58e16a);},'onSendChangeset':_0x6f148d=>{var _0x1d0a69=_0x4e29c4;_0x6f148d[_0x1d0a69(0x34f)]||(_0x6f148d[_0x1d0a69(0x34f)]=this['_changesetSessionId'],_0x6f148d[_0x1d0a69(0x2eb)]=++this[_0x1d0a69(0x244)]);const _0x309395={'eventID':_0x5804c0[_0x1d0a69(0x330)],'data':{'unitID':_0x6f148d[_0x1d0a69(0x238)],'unitType':this[_0x1d0a69(0x324)],'changeset':_0x6f148d,'memberID':this['session'][_0x1d0a69(0x421)]()}};this[_0x1d0a69(0x19c)][_0x1d0a69(0x38b)](_0x309395,this[_0x1d0a69(0x238)]);},'onMissingChangesets':({from:_0x18aa01,to:_0x121407})=>{var _0x6ded65=_0x4e29c4;this['_logService'][_0x6ded65(0x212)](_0x6ded65(0x1b3),_0x6ded65(0x12b)+_0x18aa01+_0x6ded65(0x23f)+_0x121407);const _0x10235c={'eventID':_0x5804c0[_0x6ded65(0x28e)],'data':{'unitID':_0xac7e01,'unitType':this[_0x6ded65(0x324)],'from':_0x18aa01,'to':_0x121407}};this[_0x6ded65(0x19c)][_0x6ded65(0x38b)](_0x10235c,this['unitID']);}};}async[_0x5b2e46(0x185)](_0x13474d){var _0x5de118=_0x5b2e46,_0x5c6004,_0x1bc93d,_0x1e03b0;const _0x3e7b0d=await((_0x5c6004=this['_localCacheService'])==null?void 0x0:_0x5c6004[_0x5de118(0x355)](this['unitID'])),_0x1e1276=(_0x1bc93d=_0x3e7b0d==null?void 0x0:_0x3e7b0d['mutations'])!=null?_0x1bc93d:[],_0x2abec7=(_0x1e03b0=_0x3e7b0d==null?void 0x0:_0x3e7b0d[_0x5de118(0x17c)])!=null?_0x1e03b0:null,_0x45cd2e=!!(_0x2abec7!=null&&_0x2abec7[_0x5de118(0x34f)])&&!!(_0x2abec7!=null&&_0x2abec7[_0x5de118(0x2eb)]);this[_0x5de118(0x231)]=_0x45cd2e?_0x2abec7[_0x5de118(0x34f)]:sr(),this[_0x5de118(0x244)]=_0x45cd2e?_0x2abec7[_0x5de118(0x2eb)]:0x0;const _0xc6caa6=this[_0x5de118(0x238)];try{this[_0x5de118(0x415)](_0x2abec7,_0x1e1276);}catch(_0xb6abc6){this['_logService'][_0x5de118(0x1e9)](_0xb6abc6);}const _0x22697b=this[_0x5de118(0x3c8)]();if(_0x13474d){const _0x3c78ed=Di(this[_0x5de118(0x1d7)],_0xc6caa6,this[_0x5de118(0x324)],_0x2abec7,_0x1e1276,_0x22697b);return _0x3c78ed instanceof oe?_0x3c78ed[_0x5de118(0x21f)]():(_0x3c78ed instanceof ae||_0x3c78ed instanceof ue)&&_0x3c78ed['resend'](),_0x3c78ed;}return this[_0x5de118(0x1d7)]['createInstance'](fe,_0xc6caa6,this[_0x5de118(0x324)],_0x2abec7,_0x1e1276,_0x22697b);}[_0x5b2e46(0x415)](_0x2fa767,_0x3cadf5){var _0x198820=_0x5b2e46,_0x288e09,_0x593440;const _0x14b104=this[_0x198820(0x303)][_0x198820(0x3f4)]['fetchThroughInterceptors'](this[_0x198820(0x303)][_0x198820(0x3f4)][_0x198820(0x31f)]()[_0x198820(0x434)]);(_0x288e09=_0x14b104((_0x2fa767==null?void 0x0:_0x2fa767[_0x198820(0x229)])||[],null))==null||_0x288e09[_0x198820(0x387)](_0x4db361=>this[_0x198820(0x235)][_0x198820(0x389)](_0x4db361['id'],_0x4db361[_0x198820(0x13b)])),(_0x593440=_0x14b104(_0x3cadf5||[],null))==null||_0x593440['forEach'](_0x502228=>this[_0x198820(0x235)][_0x198820(0x389)](_0x502228['id'],_0x502228[_0x198820(0x13b)]));}};nt=Lt([k(0x3,_0x93b1fb(_0x19c3a9)),k(0x4,_0x93b1fb(_0xc96cf)),k(0x5,_0x93b1fb(_0x2d7fad)),k(0x6,_0x93b1fb(_0x1c2240)),k(0x7,_0x93b1fb(pe)),k(0x8,_0x3feb90),k(0x9,_0x373d1a),k(0xa,_0x438398),k(0xb,_0x2480cc(ht)),k(0xc,_0x2480cc(J))],nt);let Tt=class extends nt{constructor(_0x36bdf0,_0x46d7b2,_0x5d6ad7,_0x3ec393,_0x23b638,_0x9d8c4b,_0x4d5f7e,_0x36eaaa,_0x141f6f,_0x2a4076,_0x4bb072,_0x22182c,_0x54005d){var _0x4f481f=_0x5b2e46;super(_0x36bdf0,_0x5d6ad7,_0x46d7b2,_0x3ec393,_0x23b638,_0x9d8c4b,_0x4d5f7e,_0x36eaaa,_0x141f6f,_0x2a4076,_0x4bb072,_0x22182c,_0x54005d),N(this,_0x4f481f(0x245),null),(this[_0x4f481f(0x238)]=_0x36bdf0,this['type']=_0x46d7b2);}[_0x5b2e46(0x384)](_0x1bc48b){var _0x3afbb1=_0x5b2e46;this[_0x3afbb1(0x245)]=_0x1bc48b;}[_0x5b2e46(0x1dd)](){var _0x14a43d=_0x5b2e46;this[_0x14a43d(0x245)]=null,super[_0x14a43d(0x1dd)]();}[_0x5b2e46(0x3c8)](){var _0x4a0196=_0x5b2e46;const _0x24ac64=super[_0x4a0196(0x3c8)]();return _0x24ac64[_0x4a0196(0x377)]=_0x2a3048=>{var _0x1e34b6=_0x4a0196,_0x1918c7,_0x3edd9e;return(_0x3edd9e=(_0x1918c7=this['_handlerCallback'])==null?void 0x0:_0x1918c7[_0x1e34b6(0x377)])==null?void 0x0:_0x3edd9e[_0x1e34b6(0x43e)](_0x1918c7,_0x2a3048);},_0x24ac64['onTransformState']=_0x3e7358=>{var _0x149046=_0x4a0196,_0x58c246,_0x226292;return(_0x226292=(_0x58c246=this[_0x149046(0x245)])==null?void 0x0:_0x58c246[_0x149046(0x353)])==null?void 0x0:_0x226292[_0x149046(0x43e)](_0x58c246,_0x3e7358);},_0x24ac64[_0x4a0196(0x3d7)]=_0x4294ee=>{var _0x4738ee=_0x4a0196,_0x1f6d34,_0x21ebd2;return(_0x21ebd2=(_0x1f6d34=this['_handlerCallback'])==null?void 0x0:_0x1f6d34[_0x4738ee(0x3d7)])==null?void 0x0:_0x21ebd2[_0x4738ee(0x43e)](_0x1f6d34,_0x4294ee);},_0x24ac64[_0x4a0196(0x407)]=_0x41441d=>{var _0x192176=_0x4a0196,_0x40cd97,_0x335371;return(_0x335371=(_0x40cd97=this[_0x192176(0x245)])==null?void 0x0:_0x40cd97[_0x192176(0x407)])==null?void 0x0:_0x335371[_0x192176(0x43e)](_0x40cd97,_0x41441d);},_0x24ac64[_0x4a0196(0x34b)]=_0x5539d0=>{var _0x1e3aa1=_0x4a0196,_0x154b7d,_0x2e193b,_0x257bbf;if(!((_0x154b7d=this[_0x1e3aa1(0x245)])!=null&&_0x154b7d[_0x1e3aa1(0x34b)]))throw new Error(_0x1e3aa1(0x3c1));return(_0x257bbf=(_0x2e193b=this['_handlerCallback'])==null?void 0x0:_0x2e193b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x257bbf[_0x1e3aa1(0x43e)](_0x2e193b,_0x5539d0);},_0x24ac64['onTransformRemoteChangesetByStateCache']=_0x413f34=>{var _0x19725d=_0x4a0196,_0x4cea8c,_0xe4bdd1,_0x555f46;if(!((_0x4cea8c=this[_0x19725d(0x245)])!=null&&_0x4cea8c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x19725d(0x142));return(_0x555f46=(_0xe4bdd1=this[_0x19725d(0x245)])==null?void 0x0:_0xe4bdd1[_0x19725d(0x297)])==null?void 0x0:_0x555f46[_0x19725d(0x43e)](_0xe4bdd1,_0x413f34);},_0x24ac64;}async[_0x5b2e46(0x406)](){var _0x4471ee=_0x5b2e46;const _0x3b64e6=await super['_init']();return this[_0x4471ee(0x358)](this[_0x4471ee(0x235)][_0x4471ee(0x248)]((_0x185366,_0x3f2cbb)=>{var _0x39c6ed=_0x4471ee;if(_0x185366[_0x39c6ed(0x36e)]!==_0x5d2169[_0x39c6ed(0x35c)]||_0x3f2cbb!=null&&_0x3f2cbb[_0x39c6ed(0x39b)]||_0x3f2cbb!=null&&_0x3f2cbb[_0x39c6ed(0x3bf)]||_0x185366['id']===_0x1cd7f9['id'])return;const _0xd1ad=_0x185366[_0x39c6ed(0x13b)];if((_0xd1ad==null?void 0x0:_0xd1ad[_0x39c6ed(0x429)])!==this['unitID'])return;const _0x38d375=_0x185366,_0x4ece68=this['_compressMutationService'][_0x39c6ed(0x3f4)][_0x39c6ed(0x188)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x39c6ed(0x27f)])([_0x38d375],null)||[_0x38d375];this[_0x39c6ed(0x218)](_0x4ece68[0x0]);})),_0x3b64e6;}};Tt=Lt([k(0x3,_0x93b1fb(_0x19c3a9)),k(0x4,_0x93b1fb(_0xc96cf)),k(0x5,_0x93b1fb(_0x2d7fad)),k(0x6,_0x93b1fb(_0x1c2240)),k(0x7,_0x93b1fb(pe)),k(0x8,_0x3feb90),k(0x9,_0x373d1a),k(0xa,_0x438398),k(0xb,_0x2480cc(ht)),k(0xc,_0x2480cc(J))],Tt);let Ct=class extends nt{constructor(_0x273f29,_0x28a721,_0x32db61,_0x477edb,_0x2b5f93,_0xf9bbbc,_0x351a2c,_0x12afb6,_0x47dc72,_0x273b06,_0x438b5b,_0x281a5f,_0x132a71,_0x53adcf){super(_0x273f29,_0x32db61,_0x28a721,_0x477edb,_0x2b5f93,_0xf9bbbc,_0x351a2c,_0x47dc72,_0x273b06,_0x438b5b,_0x281a5f,_0x132a71,_0x53adcf),this['unitID']=_0x273f29,this['type']=_0x28a721,this['_sheetTransformSelectionsService']=_0x12afb6;}[_0x5b2e46(0x3c8)](){var _0x4d4f11=_0x5b2e46;const _0x170858=super[_0x4d4f11(0x3c8)]();return _0x170858[_0x4d4f11(0x3d7)]=_0x290c90=>this['_sheetTransformSelectionsService'][_0x4d4f11(0x3d4)](_0x290c90),_0x170858;}async[_0x5b2e46(0x406)](){var _0x2443a3=_0x5b2e46;const _0x1eaf65=await super[_0x2443a3(0x406)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0xf8c76e,_0x5d5571)=>{var _0x2d126b=_0x2443a3;if(_0xf8c76e[_0x2d126b(0x36e)]!==_0x5d2169[_0x2d126b(0x35c)]||_0x5d5571!=null&&_0x5d5571[_0x2d126b(0x39b)]||_0x5d5571!=null&&_0x5d5571[_0x2d126b(0x3bf)])return;const _0x399c0b=_0xf8c76e['params'];if((_0x399c0b==null?void 0x0:_0x399c0b[_0x2d126b(0x429)])!==this[_0x2d126b(0x238)])return;const _0x146280=_0xf8c76e,_0x47c35a=this[_0x2d126b(0x303)][_0x2d126b(0x3f4)][_0x2d126b(0x188)](this[_0x2d126b(0x303)][_0x2d126b(0x3f4)]['getInterceptPoints']()[_0x2d126b(0x27f)])([_0x146280],null)||[_0x146280];this[_0x2d126b(0x218)](_0x47c35a[0x0]);})),_0x1eaf65;}};Ct=Lt([k(0x3,_0x93b1fb(_0x19c3a9)),k(0x4,_0x93b1fb(_0xc96cf)),k(0x5,_0x93b1fb(_0x2d7fad)),k(0x6,_0x93b1fb(_0x1c2240)),k(0x7,_0x93b1fb(it)),k(0x8,_0x93b1fb(pe)),k(0x9,_0x3feb90),k(0xa,_0x373d1a),k(0xb,_0x438398),k(0xc,_0x2480cc(ht)),k(0xd,_0x2480cc(J))],Ct);var mr=Object[_0x5b2e46(0x1db)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x3e6a65,_0x43512d,_0x1d0564,_0x2174bf)=>{for(var _0x669f79=_0x2174bf>0x1?void 0x0:_0x2174bf?gr(_0x43512d,_0x1d0564):_0x43512d,_0xfb2722=_0x3e6a65['length']-0x1,_0x11c189;_0xfb2722>=0x0;_0xfb2722--)(_0x11c189=_0x3e6a65[_0xfb2722])&&(_0x669f79=(_0x2174bf?_0x11c189(_0x43512d,_0x1d0564,_0x669f79):_0x11c189(_0x669f79))||_0x669f79);return _0x2174bf&&_0x669f79&&mr(_0x43512d,_0x1d0564,_0x669f79),_0x669f79;},ft=(_0x598e36,_0x567f15)=>(_0x5ef41d,_0x499cca)=>_0x567f15(_0x5ef41d,_0x499cca,_0x598e36);let rt=class extends _0x55185b{constructor(_0x34457d,_0x2e8c64,_0x216e06){var _0x195e8c=_0x5b2e46;super(),N(this,_0x195e8c(0x1f2),new Map()),N(this,'_entityInit$',new _0xb18d4e()),N(this,'entityInit$',this[_0x195e8c(0x1e6)][_0x195e8c(0x1c1)]()),(this['_injector']=_0x34457d,this['_collabSessionService']=_0x2e8c64,this['_univerInstanceService']=_0x216e06,this[_0x195e8c(0x406)]());}[_0x5b2e46(0x1dd)](){var _0x4daa46=_0x5b2e46;super[_0x4daa46(0x1dd)](),this['_entities'][_0x4daa46(0x387)](_0xfd339f=>_0xfd339f[_0x4daa46(0x1dd)]()),this[_0x4daa46(0x1f2)][_0x4daa46(0x29f)]();}[_0x5b2e46(0x3e5)](_0x5b0bb9){var _0x58f06e=_0x5b2e46,_0x4a70a7;return(_0x4a70a7=this[_0x58f06e(0x1f2)][_0x58f06e(0x30d)](_0x5b0bb9))!=null?_0x4a70a7:null;}[_0x5b2e46(0x215)](_0x21b7a6){var _0x51d9f2=_0x5b2e46;const _0x21d6fd=this[_0x51d9f2(0x3e5)](_0x21b7a6);return _0x21d6fd?_0x4d78dc(_0x21d6fd):this['_entityInit$'][_0x51d9f2(0x42b)](_0x45e415(_0x31ca52=>_0x31ca52[_0x51d9f2(0x238)]===_0x21b7a6));}['readyForCollab'](_0x3cf20c){var _0x3fe3ef=_0x5b2e46;return _0x13cc34(this[_0x3fe3ef(0x215)](_0x3cf20c)[_0x3fe3ef(0x42b)](_0x12fd80(()=>{})));}[_0x5b2e46(0x406)](){var _0x14ebce=_0x5b2e46;this[_0x14ebce(0x1ec)][_0x14ebce(0x151)](_0x1d991f[_0x14ebce(0x183)])[_0x14ebce(0x42b)](_0x3077f(this[_0x14ebce(0x285)]),_0x6d0a8e(0x10))[_0x14ebce(0x1bb)](async _0x11a527=>{var _0x52c966=_0x14ebce;const _0x1f4e89=_0x11a527[_0x52c966(0x338)](),_0xc9834f=await this['_startCollaboration'](_0x1f4e89,Q[_0x52c966(0x183)]);this[_0x52c966(0x1f2)]['set'](_0x1f4e89,_0xc9834f);}),this['_univerInstanceService'][_0x14ebce(0x151)](_0x1d991f[_0x14ebce(0x1c5)])[_0x14ebce(0x42b)](_0x3077f(this['dispose$']),_0x6d0a8e(0x10))[_0x14ebce(0x42b)](_0x45e415(_0x38b453=>!_0x38b453[_0x14ebce(0x338)]()[_0x14ebce(0x40e)]('__')))[_0x14ebce(0x1bb)](async _0x26be2d=>{var _0x2958bb=_0x14ebce;const _0x191d3c=_0x26be2d[_0x2958bb(0x338)](),_0x52b521=await this['_startCollaboration'](_0x191d3c,Q[_0x2958bb(0x1c5)]);this['_entities'][_0x2958bb(0x2ce)](_0x191d3c,_0x52b521);}),_0x385d67(this[_0x14ebce(0x1ec)][_0x14ebce(0x16a)](_0x1d991f['UNIVER_SHEET']),this[_0x14ebce(0x1ec)]['getTypeOfUnitDisposed$'](_0x1d991f[_0x14ebce(0x1c5)]))[_0x14ebce(0x42b)](_0x3077f(this[_0x14ebce(0x285)]))['subscribe'](_0x9610b9=>{var _0x392b70=_0x14ebce;const _0x5eeaf9=_0x9610b9['getUnitId'](),_0x4d7e61=this[_0x392b70(0x1f2)]['get'](_0x5eeaf9);_0x4d7e61&&(_0x4d7e61['dispose'](),this['_entities'][_0x392b70(0x200)](_0x5eeaf9));});}async[_0x5b2e46(0x23d)](_0x338c96,_0x32aed1){var _0xf57e8e=_0x5b2e46;const _0x1b2afa=await this[_0xf57e8e(0x179)][_0xf57e8e(0x133)](_0x338c96),_0x2e8501=this[_0xf57e8e(0x1d7)][_0xf57e8e(0x140)](this[_0xf57e8e(0x2e5)](_0x32aed1),_0x338c96,_0x32aed1,_0x1b2afa);return await _0x2e8501[_0xf57e8e(0x156)](),this[_0xf57e8e(0x1e6)][_0xf57e8e(0x2ba)](_0x2e8501),_0x2e8501;}['_getCtorByUniverType'](_0x41d5c5){var _0x2d0a35=_0x5b2e46;switch(_0x41d5c5){case Q['UNIVER_DOC']:return Tt;case Q[_0x2d0a35(0x183)]:return Ct;default:throw new Error(_0x2d0a35(0x13d)+_0x41d5c5);}}};rt=Sr([ft(0x0,_0x93b1fb(_0x19c3a9)),ft(0x1,_0x93b1fb(Le)),ft(0x2,_0x2b0fa0)],rt);var Er=Object['defineProperty'],Ir=Object[_0x5b2e46(0x3bb)],Tr=(_0x550789,_0x4c399c,_0x174273,_0x1185c5)=>{var _0x2e7233=_0x5b2e46;for(var _0x105f1d=_0x1185c5>0x1?void 0x0:_0x1185c5?Ir(_0x4c399c,_0x174273):_0x4c399c,_0x315f50=_0x550789[_0x2e7233(0x2cc)]-0x1,_0x31ba0c;_0x315f50>=0x0;_0x315f50--)(_0x31ba0c=_0x550789[_0x315f50])&&(_0x105f1d=(_0x1185c5?_0x31ba0c(_0x4c399c,_0x174273,_0x105f1d):_0x31ba0c(_0x105f1d))||_0x105f1d);return _0x1185c5&&_0x105f1d&&Er(_0x4c399c,_0x174273,_0x105f1d),_0x105f1d;},Jt=(_0x3e3958,_0x5bb688)=>(_0x3bb334,_0x23469c)=>_0x5bb688(_0x3bb334,_0x23469c,_0x3e3958);const Cr='DEFAULT_FILE_NAME',Rr=_0x5b2e46(0x1a2);let Rt=class extends _0x1f666a{constructor(_0x44b091,_0x1a5a5a){super(),this['_univerInstanceService']=_0x44b091,this['_configService']=_0x1a5a5a,this['_init']();}[_0x5b2e46(0x406)](){var _0x2cc24c=_0x5b2e46;this['disposeWithMe'](this[_0x2cc24c(0x1ec)][_0x2cc24c(0x210)]['subscribe'](()=>{var _0x2b7652=_0x2cc24c,_0x4deb8a;const _0x46b7c8=this[_0x2b7652(0x1ec)][_0x2b7652(0x3d8)]();let _0x26b62a=(_0x4deb8a=this[_0x2b7652(0x3f1)][_0x2b7652(0x345)](Cr))!=null?_0x4deb8a:Rr;_0x46b7c8 instanceof _0x1f06e2&&(_0x26b62a=_0x46b7c8[_0x2b7652(0x2d8)]),document[_0x2b7652(0x1fd)]=_0x26b62a;}));}};Rt=Tr([Jt(0x0,_0x2b0fa0),Jt(0x1,_0x4288b6)],Rt);var br=Object[_0x5b2e46(0x1db)],Or=Object['getOwnPropertyDescriptor'],yr=(_0x449263,_0x3a2777,_0x4a2457,_0x5bc355)=>{var _0x7409b3=_0x5b2e46;for(var _0x4363b=_0x5bc355>0x1?void 0x0:_0x5bc355?Or(_0x3a2777,_0x4a2457):_0x3a2777,_0x3c8782=_0x449263[_0x7409b3(0x2cc)]-0x1,_0x25677e;_0x3c8782>=0x0;_0x3c8782--)(_0x25677e=_0x449263[_0x3c8782])&&(_0x4363b=(_0x5bc355?_0x25677e(_0x3a2777,_0x4a2457,_0x4363b):_0x25677e(_0x4363b))||_0x4363b);return _0x5bc355&&_0x4363b&&br(_0x3a2777,_0x4a2457,_0x4363b),_0x4363b;},vt=(_0x2dcc55,_0x83f336)=>(_0x36990b,_0x5f089a)=>_0x83f336(_0x36990b,_0x5f089a,_0x2dcc55);let st=class{constructor(_0x38fdb3,_0x723d1a,_0x53d55c){var _0x35f4cf=_0x5b2e46;this[_0x35f4cf(0x3f1)]=_0x38fdb3,this['_httpService']=_0x723d1a,this[_0x35f4cf(0x3d9)]=_0x53d55c,this[_0x35f4cf(0x156)]();}[_0x5b2e46(0x156)](){var _0x4ccb94=_0x5b2e46;this[_0x4ccb94(0x1f9)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2a146d,_0x3739bf)=>_0x3739bf(_0x2a146d)[_0x4ccb94(0x42b)](_0x58c003(async _0x20a325=>{var _0x59227d=_0x4ccb94;const _0x3a2ef2=_0x20a325;if(_0x3a2ef2[_0x59227d(0x175)]===0x191){if(typeof window>'u')throw new Error(_0x59227d(0x32c));if(window[_0x59227d(0x344)](this[_0x59227d(0x3d9)]['t'](_0x59227d(0x167)))){const _0x4a8315=window[_0x59227d(0x257)](window[_0x59227d(0x343)][_0x59227d(0x1f0)]);window[_0x59227d(0x343)][_0x59227d(0x1f0)]=this[_0x59227d(0x144)]()+_0x59227d(0x2c2)+_0x4a8315;}}return _0x3a2ef2;}))});}[_0x5b2e46(0x144)](){var _0x56b827=_0x5b2e46,_0x2c3536,_0x374c0d;const _0x425bca=this[_0x56b827(0x3f1)]['getConfig'](xn),_0x4bddbc=this[_0x56b827(0x3f1)][_0x56b827(0x345)](q);return(_0x374c0d=(_0x2c3536=_0x4bddbc==null?void 0x0:_0x4bddbc[_0x56b827(0x2e1)])!=null?_0x2c3536:_0x425bca)!=null?_0x374c0d:Ln;}};st=yr([vt(0x0,_0x4288b6),vt(0x1,_0x93b1fb(_0x326cb2)),vt(0x2,_0x93b1fb(_0x2d7fad))],st);var Nr=Object[_0x5b2e46(0x1db)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x9f0a2a,_0x16bd7b,_0x445fe8,_0x1b8a53)=>{for(var _0x733169=_0x1b8a53>0x1?void 0x0:_0x1b8a53?Dr(_0x16bd7b,_0x445fe8):_0x16bd7b,_0x54c434=_0x9f0a2a['length']-0x1,_0x25f32e;_0x54c434>=0x0;_0x54c434--)(_0x25f32e=_0x9f0a2a[_0x54c434])&&(_0x733169=(_0x1b8a53?_0x25f32e(_0x16bd7b,_0x445fe8,_0x733169):_0x25f32e(_0x733169))||_0x733169);return _0x1b8a53&&_0x733169&&Nr(_0x16bd7b,_0x445fe8,_0x733169),_0x733169;},Xt=(_0x233582,_0x1f8ff9)=>(_0x594098,_0x523d19)=>_0x1f8ff9(_0x594098,_0x523d19,_0x233582);const Pi=_0x5b2e46(0x2d4),wr=_0x5b2e46(0x362);let bt=class extends _0x1f666a{constructor(_0x216a67,_0x34134e){var _0x5f7951=_0x5b2e46;super(),this[_0x5f7951(0x31c)]=_0x216a67,this[_0x5f7951(0x3f1)]=_0x34134e,this[_0x5f7951(0x12c)]();}[_0x5b2e46(0x12c)](){var _0x3049ca=_0x5b2e46;const _0x4216c6=this;this['disposeWithMe'](this[_0x3049ca(0x31c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x7dd69f({'isMatch'(_0x464749){var _0x301ebc=_0x3049ca,_0x4d632b;if(_0x464749[_0x301ebc(0x319)]===_0x301ebc(0x1a8)&&((_0x4d632b=_0x464749[_0x301ebc(0x14a)])!=null&&_0x4d632b[_0x301ebc(0x3e6)])){const {objectID:_0x1da1ea,objectType:_0x12d88e}=_0x464749[_0x301ebc(0x14a)][_0x301ebc(0x3e6)]||{};if(!_0x1da1ea||_0x12d88e===void 0x0)return!0x1;const _0x1d9fc9=_0x4216c6[_0x301ebc(0x23c)]()+'/'+_0x12d88e+_0x301ebc(0x402)+_0x1da1ea+_0x301ebc(0x25c);if(_0x464749[_0x301ebc(0x2f8)]===_0x1d9fc9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2dedc0){var _0x43f561=_0x3049ca,_0x517e53;return(_0x517e53=_0x2dedc0[_0x43f561(0x14a)])==null?void 0x0:_0x517e53['body'];},'mergeParamsToRequest'(_0x309a08,_0x2db226){var _0x1be403=_0x3049ca;const _0x39f45d=_0x4216c6[_0x1be403(0x23c)]()+_0x1be403(0x3ea),_0x2749c7=_0x309a08['reduce']((_0x8e52ce,_0x4d91d3)=>{var _0x2850fc=_0x1be403;const {unitID:_0x16f667,objectID:_0x3377f5,objectType:_0x5f317b,actions:_0x4b3859}=_0x4d91d3;return _0x8e52ce[_0x16f667]||(_0x8e52ce[_0x16f667]={}),_0x8e52ce[_0x16f667][_0x3377f5]||(_0x8e52ce[_0x16f667][_0x3377f5]={'objectID':_0x3377f5,'objectType':_0x5f317b,'actions':[]}),_0x8e52ce[_0x16f667][_0x3377f5]['actions'][_0x2850fc(0x3ce)](..._0x4b3859),_0x8e52ce;},{}),_0x46102b=[];for(const _0x589e20 in _0x2749c7)for(const _0x3b94c5 in _0x2749c7[_0x589e20]){const {actions:_0x256d13,objectType:_0x4b939}=_0x2749c7[_0x589e20][_0x3b94c5],_0x127699=[...new Set(_0x256d13)];_0x46102b['push']({'unitID':_0x589e20,'objectID':_0x3b94c5,'objectType':_0x4b939,'actions':_0x127699});}return new _0x498eaf(_0x1be403(0x1a8),_0x39f45d,{'headers':_0x2db226[_0x1be403(0x198)],'withCredentials':_0x2db226['withCredentials'],'responseType':_0x2db226[_0x1be403(0x2e6)],'body':{'requests':_0x46102b}});}},{'distributeResult'(_0x4876c6,_0x610f70){const {objectActions:_0x3b61fc}=_0x4876c6;return _0x610f70['map'](_0x468601=>{var _0x30002f=_0xf286;const {unitID:_0x9b9d50,objectID:_0x4b4f73,actions:_0x5a8bdf}=_0x468601,_0x5bdce6=_0x3b61fc[_0x30002f(0x221)](_0x5f46b8=>_0x5f46b8[_0x30002f(0x238)]===_0x9b9d50&&_0x5f46b8[_0x30002f(0x169)]===_0x4b4f73),_0x224512=_0x5a8bdf[_0x30002f(0x34a)](_0x32ffc6=>_0x5bdce6==null?void 0x0:_0x5bdce6[_0x30002f(0x176)][_0x30002f(0x221)](_0xcac4aa=>_0xcac4aa[_0x30002f(0x2c7)]===_0x32ffc6))['filter'](_0x522db1=>!!_0x522db1);return{'config':_0x468601,'result':{'actions':_0x224512,'error':_0x4876c6[_0x30002f(0x1e9)]}};});}})}));}[_0x5b2e46(0x23c)](){var _0xd98574=_0x5b2e46,_0x2dbbde,_0x18a4a9;const _0x408dc0=this[_0xd98574(0x3f1)][_0xd98574(0x345)](Pi),_0x407a00=this[_0xd98574(0x3f1)][_0xd98574(0x345)](q);return(_0x18a4a9=(_0x2dbbde=_0x407a00==null?void 0x0:_0x407a00[_0xd98574(0x326)])!=null?_0x2dbbde:_0x408dc0)!=null?_0x18a4a9:wr;}async['create'](_0xa81ff6){var _0x419a57=_0x5b2e46;const _0xc860ce=this[_0x419a57(0x23c)]()+'/'+_0xa81ff6['objectType']+_0x419a57(0x3a5);return(await this['_HTTPService'][_0x419a57(0x419)](_0xc860ce,{'body':_0xa81ff6}))['body'][_0x419a57(0x169)]||'';}async[_0x5b2e46(0x223)](_0x50f192){var _0x4039ee=_0x5b2e46;const _0x5a6206=this[_0x4039ee(0x23c)]()+_0x4039ee(0x426);return(await this[_0x4039ee(0x31c)][_0x4039ee(0x419)](_0x5a6206,{'body':_0x50f192}))['body'][_0x4039ee(0x33b)];}async['update'](_0x595869){var _0x2aa8d1=_0x5b2e46;const _0x28b0a2=this[_0x2aa8d1(0x23c)]()+'/'+_0x595869[_0x2aa8d1(0x1f7)]+_0x2aa8d1(0x402)+_0x595869[_0x2aa8d1(0x169)];await this[_0x2aa8d1(0x31c)][_0x2aa8d1(0x3a4)](_0x28b0a2,{'body':_0x595869});}async[_0x5b2e46(0x1fb)](_0x42cc07){var _0x5761e9=_0x5b2e46;const _0x112e9a=this[_0x5761e9(0x23c)]()+'/'+_0x42cc07[_0x5761e9(0x1f7)]+'/object/'+_0x42cc07[_0x5761e9(0x169)]+_0x5761e9(0x25c);return(await this[_0x5761e9(0x31c)]['post'](_0x112e9a,{'body':_0x42cc07}))['body'][_0x5761e9(0x176)];}async[_0x5b2e46(0x38d)](_0x141274){var _0x1ca510=_0x5b2e46;const _0x19e3c0=this['_getAPIPrefixPath']()+_0x1ca510(0x3ea);return(await this[_0x1ca510(0x31c)]['post'](_0x19e3c0,{'body':{'requests':_0x141274}}))[_0x1ca510(0x3e6)][_0x1ca510(0x1df)];}async[_0x5b2e46(0x435)](_0xdc6b6b){var _0x47cc23=_0x5b2e46;const _0x2d1cae=this[_0x47cc23(0x23c)]()+'/'+_0xdc6b6b[_0x47cc23(0x1f7)]+_0x47cc23(0x249),_0xddb5d7=await this[_0x47cc23(0x31c)]['post'](_0x2d1cae,{'body':_0xdc6b6b});return{'roles':_0xddb5d7[_0x47cc23(0x3e6)][_0x47cc23(0x3ec)],'actions':_0xddb5d7[_0x47cc23(0x3e6)][_0x47cc23(0x176)]};}async['deleteCollaborator'](_0x595360){var _0xe7988f=_0x5b2e46;const _0x49f802=this[_0xe7988f(0x23c)]()+'/collaborator';await this['_HTTPService'][_0xe7988f(0x200)](_0x49f802,{'params':{'collaboratorID':_0x595360[_0xe7988f(0x233)],'objectID':_0x595360[_0xe7988f(0x169)],'unitID':_0x595360[_0xe7988f(0x238)]}});}async[_0x5b2e46(0x3e3)](_0x24fad4){var _0x360069=_0x5b2e46;const _0x2bd818=this[_0x360069(0x23c)]()+_0x360069(0x38e);await this[_0x360069(0x31c)][_0x360069(0x1ee)](_0x2bd818,{'body':_0x24fad4});}async[_0x5b2e46(0x314)](_0x53c366){var _0x4c45ad=_0x5b2e46;const _0x29adb1=this[_0x4c45ad(0x23c)]()+_0x4c45ad(0x38e);await this[_0x4c45ad(0x31c)]['post'](_0x29adb1,{'body':_0x53c366});}async['listCollaborators'](_0x33fe8a){var _0x37524f=_0x5b2e46;const _0x29c98e=this[_0x37524f(0x23c)]()+_0x37524f(0x38e);return(await this[_0x37524f(0x31c)][_0x37524f(0x30d)](_0x29c98e,{'params':{'objectID':_0x33fe8a[_0x37524f(0x169)],'unitID':_0x33fe8a[_0x37524f(0x238)]}}))[_0x37524f(0x3e6)]['collaborators'];}async[_0x5b2e46(0x360)](_0x332492){var _0x5591f5=_0x5b2e46;const _0xa90423=this[_0x5591f5(0x23c)]()+_0x5591f5(0x38e);await this['_HTTPService'][_0x5591f5(0x3a4)](_0xa90423,{'body':_0x332492});}};bt=Pr([Xt(0x0,_0x93b1fb(_0x326cb2)),Xt(0x1,_0x93b1fb(_0x4288b6))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x329a3f){var _0x419ed3=_0x5b2e46;return _0x329a3f&&_0x329a3f[_0x419ed3(0x18c)]&&Object[_0x419ed3(0x332)]['hasOwnProperty'][_0x419ed3(0x43e)](_0x329a3f,'default')?_0x329a3f['default']:_0x329a3f;}var Ve={'exports':{}};function Ur(_0x119c3b){var _0x4d7c59=_0x5b2e46;throw new Error(_0x4d7c59(0x216)+_0x119c3b+_0x4d7c59(0x2df));}var Ge={'exports':{}},Ar=Ge[_0x5b2e46(0x14c)],Zt;function ne(){var _0x461af1=_0x5b2e46;return Zt||(Zt=0x1,function(_0x32fc0e,_0xda0d9a){(function(_0x35829b,_0x39f47e){var _0x349c20=_0xf286;_0x32fc0e[_0x349c20(0x14c)]=_0x39f47e();}(Ar,function(){var _0x3034ab=_0x3034ab||function(_0x303804,_0x1c2e0f){var _0x4788cc=_0xf286,_0x378728;if(typeof window<'u'&&window[_0x4788cc(0x147)]&&(_0x378728=window['crypto']),typeof self<'u'&&self[_0x4788cc(0x147)]&&(_0x378728=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4788cc(0x147)]&&(_0x378728=globalThis[_0x4788cc(0x147)]),!_0x378728&&typeof window<'u'&&window[_0x4788cc(0x17d)]&&(_0x378728=window['msCrypto']),!_0x378728&&typeof pt<'u'&&pt[_0x4788cc(0x147)]&&(_0x378728=pt['crypto']),!_0x378728&&typeof Ur==_0x4788cc(0x39a))try{_0x378728=require(_0x4788cc(0x147));}catch{}var _0x4fb6be=function(){var _0x1df69f=_0x4788cc;if(_0x378728){if(typeof _0x378728['getRandomValues']==_0x1df69f(0x39a))try{return _0x378728[_0x1df69f(0x32e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x378728[_0x1df69f(0x2fa)]==_0x1df69f(0x39a))try{return _0x378728[_0x1df69f(0x2fa)](0x4)[_0x1df69f(0x3a8)]();}catch{}}throw new Error(_0x1df69f(0x2fe));},_0x46c8cf=Object[_0x4788cc(0x16d)]||(function(){function _0x388ded(){}return function(_0x4cc6aa){var _0x14264b=_0xf286,_0x17e0c8;return _0x388ded[_0x14264b(0x332)]=_0x4cc6aa,_0x17e0c8=new _0x388ded(),_0x388ded['prototype']=null,_0x17e0c8;};}()),_0x1d4505={},_0x11ea02=_0x1d4505[_0x4788cc(0x148)]={},_0x5c982f=_0x11ea02[_0x4788cc(0x412)]=(function(){return{'extend':function(_0x275058){var _0x20b15b=_0xf286,_0x553a8b=_0x46c8cf(this);return _0x275058&&_0x553a8b[_0x20b15b(0x369)](_0x275058),(!_0x553a8b['hasOwnProperty']('init')||this[_0x20b15b(0x156)]===_0x553a8b[_0x20b15b(0x156)])&&(_0x553a8b['init']=function(){var _0x40f9a4=_0x20b15b;_0x553a8b[_0x40f9a4(0x2b6)][_0x40f9a4(0x156)]['apply'](this,arguments);}),_0x553a8b[_0x20b15b(0x156)][_0x20b15b(0x332)]=_0x553a8b,_0x553a8b[_0x20b15b(0x2b6)]=this,_0x553a8b;},'create':function(){var _0x24752f=_0xf286,_0x20ea06=this['extend']();return _0x20ea06[_0x24752f(0x156)][_0x24752f(0x341)](_0x20ea06,arguments),_0x20ea06;},'init':function(){},'mixIn':function(_0x4ed18f){var _0x201d9d=_0xf286;for(var _0x19da8d in _0x4ed18f)_0x4ed18f[_0x201d9d(0x202)](_0x19da8d)&&(this[_0x19da8d]=_0x4ed18f[_0x19da8d]);_0x4ed18f[_0x201d9d(0x202)](_0x201d9d(0x405))&&(this[_0x201d9d(0x405)]=_0x4ed18f[_0x201d9d(0x405)]);},'clone':function(){var _0x4152a8=_0xf286;return this[_0x4152a8(0x156)][_0x4152a8(0x332)][_0x4152a8(0x267)](this);}};}()),_0x4813cf=_0x11ea02['WordArray']=_0x5c982f[_0x4788cc(0x267)]({'init':function(_0x5136ae,_0xd6a48a){var _0x49dc80=_0x4788cc;_0x5136ae=this['words']=_0x5136ae||[],_0xd6a48a!=_0x1c2e0f?this[_0x49dc80(0x372)]=_0xd6a48a:this['sigBytes']=_0x5136ae[_0x49dc80(0x2cc)]*0x4;},'toString':function(_0x1b23dc){var _0x51c67c=_0x4788cc;return(_0x1b23dc||_0x507477)[_0x51c67c(0x374)](this);},'concat':function(_0x281105){var _0x442e11=_0x4788cc,_0x79276a=this[_0x442e11(0x33c)],_0x1b5e38=_0x281105[_0x442e11(0x33c)],_0x2ed326=this['sigBytes'],_0x19817c=_0x281105[_0x442e11(0x372)];if(this[_0x442e11(0x2d3)](),_0x2ed326%0x4)for(var _0x40ac55=0x0;_0x40ac55<_0x19817c;_0x40ac55++){var _0x569d03=_0x1b5e38[_0x40ac55>>>0x2]>>>0x18-_0x40ac55%0x4*0x8&0xff;_0x79276a[_0x2ed326+_0x40ac55>>>0x2]|=_0x569d03<<0x18-(_0x2ed326+_0x40ac55)%0x4*0x8;}else{for(var _0x13f0ed=0x0;_0x13f0ed<_0x19817c;_0x13f0ed+=0x4)_0x79276a[_0x2ed326+_0x13f0ed>>>0x2]=_0x1b5e38[_0x13f0ed>>>0x2];}return this[_0x442e11(0x372)]+=_0x19817c,this;},'clamp':function(){var _0x11863d=_0x4788cc,_0x2ab050=this[_0x11863d(0x33c)],_0x106234=this[_0x11863d(0x372)];_0x2ab050[_0x106234>>>0x2]&=0xffffffff<<0x20-_0x106234%0x4*0x8,_0x2ab050[_0x11863d(0x2cc)]=_0x303804[_0x11863d(0x27a)](_0x106234/0x4);},'clone':function(){var _0x51ce40=_0x4788cc,_0x978b29=_0x5c982f[_0x51ce40(0x2de)][_0x51ce40(0x43e)](this);return _0x978b29[_0x51ce40(0x33c)]=this[_0x51ce40(0x33c)][_0x51ce40(0x193)](0x0),_0x978b29;},'random':function(_0x1aec28){var _0x370616=_0x4788cc;for(var _0x18bee5=[],_0x49244a=0x0;_0x49244a<_0x1aec28;_0x49244a+=0x4)_0x18bee5[_0x370616(0x3ce)](_0x4fb6be());return new _0x4813cf[(_0x370616(0x156))](_0x18bee5,_0x1aec28);}}),_0x58966a=_0x1d4505['enc']={},_0x507477=_0x58966a[_0x4788cc(0x177)]={'stringify':function(_0xa36c67){var _0x3506b3=_0x4788cc;for(var _0x1e3618=_0xa36c67['words'],_0x55b61a=_0xa36c67[_0x3506b3(0x372)],_0x389bb8=[],_0x2b3b3d=0x0;_0x2b3b3d<_0x55b61a;_0x2b3b3d++){var _0x239146=_0x1e3618[_0x2b3b3d>>>0x2]>>>0x18-_0x2b3b3d%0x4*0x8&0xff;_0x389bb8[_0x3506b3(0x3ce)]((_0x239146>>>0x4)['toString'](0x10)),_0x389bb8[_0x3506b3(0x3ce)]((_0x239146&0xf)['toString'](0x10));}return _0x389bb8[_0x3506b3(0x2f5)]('');},'parse':function(_0x2affc6){var _0x2c48c7=_0x4788cc;for(var _0x28bbde=_0x2affc6[_0x2c48c7(0x2cc)],_0x1beb69=[],_0x368e35=0x0;_0x368e35<_0x28bbde;_0x368e35+=0x2)_0x1beb69[_0x368e35>>>0x3]|=parseInt(_0x2affc6['substr'](_0x368e35,0x2),0x10)<<0x18-_0x368e35%0x8*0x4;return new _0x4813cf[(_0x2c48c7(0x156))](_0x1beb69,_0x28bbde/0x2);}},_0x2b0a7f=_0x58966a['Latin1']={'stringify':function(_0x3bbe85){var _0x4f63cb=_0x4788cc;for(var _0x3e2073=_0x3bbe85[_0x4f63cb(0x33c)],_0x5b5fd3=_0x3bbe85['sigBytes'],_0x2995e2=[],_0x5af1b9=0x0;_0x5af1b9<_0x5b5fd3;_0x5af1b9++){var _0x19f749=_0x3e2073[_0x5af1b9>>>0x2]>>>0x18-_0x5af1b9%0x4*0x8&0xff;_0x2995e2[_0x4f63cb(0x3ce)](String[_0x4f63cb(0x27b)](_0x19f749));}return _0x2995e2[_0x4f63cb(0x2f5)]('');},'parse':function(_0x1353a0){var _0x5e5bd9=_0x4788cc;for(var _0x50a358=_0x1353a0['length'],_0x280d41=[],_0x18d055=0x0;_0x18d055<_0x50a358;_0x18d055++)_0x280d41[_0x18d055>>>0x2]|=(_0x1353a0[_0x5e5bd9(0x36c)](_0x18d055)&0xff)<<0x18-_0x18d055%0x4*0x8;return new _0x4813cf['init'](_0x280d41,_0x50a358);}},_0x144a78=_0x58966a['Utf8']={'stringify':function(_0x4a14de){try{return decodeURIComponent(escape(_0x2b0a7f['stringify'](_0x4a14de)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1a3afc){return _0x2b0a7f['parse'](unescape(encodeURIComponent(_0x1a3afc)));}},_0xc179e1=_0x11ea02[_0x4788cc(0x316)]=_0x5c982f[_0x4788cc(0x267)]({'reset':function(){var _0x306d8e=_0x4788cc;this[_0x306d8e(0x2fb)]=new _0x4813cf[(_0x306d8e(0x156))](),this['_nDataBytes']=0x0;},'_append':function(_0x128f1c){var _0x41e41b=_0x4788cc;typeof _0x128f1c==_0x41e41b(0x37d)&&(_0x128f1c=_0x144a78[_0x41e41b(0x3b4)](_0x128f1c)),this['_data'][_0x41e41b(0x310)](_0x128f1c),this[_0x41e41b(0x1f1)]+=_0x128f1c['sigBytes'];},'_process':function(_0x1614b6){var _0x3d3e8c=_0x4788cc,_0x46e4a2,_0x38d54f=this[_0x3d3e8c(0x2fb)],_0x4dd3a9=_0x38d54f[_0x3d3e8c(0x33c)],_0xf7a84b=_0x38d54f['sigBytes'],_0x89c304=this[_0x3d3e8c(0x12f)],_0x42dd55=_0x89c304*0x4,_0x4cf630=_0xf7a84b/_0x42dd55;_0x1614b6?_0x4cf630=_0x303804[_0x3d3e8c(0x27a)](_0x4cf630):_0x4cf630=_0x303804[_0x3d3e8c(0x154)]((_0x4cf630|0x0)-this[_0x3d3e8c(0x1a7)],0x0);var _0x21504c=_0x4cf630*_0x89c304,_0x4c7609=_0x303804[_0x3d3e8c(0x275)](_0x21504c*0x4,_0xf7a84b);if(_0x21504c){for(var _0x2b831b=0x0;_0x2b831b<_0x21504c;_0x2b831b+=_0x89c304)this[_0x3d3e8c(0x3f0)](_0x4dd3a9,_0x2b831b);_0x46e4a2=_0x4dd3a9[_0x3d3e8c(0x393)](0x0,_0x21504c),_0x38d54f[_0x3d3e8c(0x372)]-=_0x4c7609;}return new _0x4813cf[(_0x3d3e8c(0x156))](_0x46e4a2,_0x4c7609);},'clone':function(){var _0x2c3136=_0x4788cc,_0x315cf3=_0x5c982f['clone'][_0x2c3136(0x43e)](this);return _0x315cf3[_0x2c3136(0x2fb)]=this[_0x2c3136(0x2fb)][_0x2c3136(0x2de)](),_0x315cf3;},'_minBufferSize':0x0});_0x11ea02['Hasher']=_0xc179e1[_0x4788cc(0x267)]({'cfg':_0x5c982f[_0x4788cc(0x267)](),'init':function(_0x3206b5){var _0x40997c=_0x4788cc;this[_0x40997c(0x1be)]=this['cfg'][_0x40997c(0x267)](_0x3206b5),this[_0x40997c(0x2c3)]();},'reset':function(){var _0x2d57d0=_0x4788cc;_0xc179e1[_0x2d57d0(0x2c3)][_0x2d57d0(0x43e)](this),this[_0x2d57d0(0x300)]();},'update':function(_0x14e364){var _0x43ec60=_0x4788cc;return this['_append'](_0x14e364),this[_0x43ec60(0x370)](),this;},'finalize':function(_0xc2ffb3){var _0x50b88c=_0x4788cc;_0xc2ffb3&&this['_append'](_0xc2ffb3);var _0x2a8982=this[_0x50b88c(0x25b)]();return _0x2a8982;},'blockSize':0x10,'_createHelper':function(_0x91e8ae){return function(_0x274c72,_0x3c4e3a){var _0x134e48=_0xf286;return new _0x91e8ae[(_0x134e48(0x156))](_0x3c4e3a)[_0x134e48(0x327)](_0x274c72);};},'_createHmacHelper':function(_0x375ab6){return function(_0x3066db,_0x42d057){var _0xdff225=_0xf286;return new _0x4593e8[(_0xdff225(0x43a))][(_0xdff225(0x156))](_0x375ab6,_0x42d057)[_0xdff225(0x327)](_0x3066db);};}});var _0x4593e8=_0x1d4505[_0x4788cc(0x1cb)]={};return _0x1d4505;}(Math);return _0x3034ab;}));}(Ge)),Ge[_0x461af1(0x14c)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0xa813ed=_0x5b2e46;return Qt||(Qt=0x1,function(_0xe39aff,_0x553851){(function(_0x4b3494,_0x2b05fb){var _0x58a09a=_0xf286;_0xe39aff[_0x58a09a(0x14c)]=_0x2b05fb(ne());}(xr,function(_0x357a12){var _0x533d66=_0xf286;return(function(){var _0x28c615=_0xf286,_0xe92f67=_0x357a12,_0x2a31a8=_0xe92f67['lib'],_0x28d5fd=_0x2a31a8[_0x28c615(0x430)],_0x2cbd68=_0xe92f67[_0x28c615(0x1ef)];_0x2cbd68[_0x28c615(0x26a)]={'stringify':function(_0x4d1abc){var _0x4a7c76=_0x28c615,_0x4f7fb4=_0x4d1abc[_0x4a7c76(0x33c)],_0x1eeb8c=_0x4d1abc[_0x4a7c76(0x372)],_0x4db314=this[_0x4a7c76(0x375)];_0x4d1abc[_0x4a7c76(0x2d3)]();for(var _0x53e987=[],_0x41c234=0x0;_0x41c234<_0x1eeb8c;_0x41c234+=0x3)for(var _0x54098f=_0x4f7fb4[_0x41c234>>>0x2]>>>0x18-_0x41c234%0x4*0x8&0xff,_0x562c30=_0x4f7fb4[_0x41c234+0x1>>>0x2]>>>0x18-(_0x41c234+0x1)%0x4*0x8&0xff,_0x13b1f8=_0x4f7fb4[_0x41c234+0x2>>>0x2]>>>0x18-(_0x41c234+0x2)%0x4*0x8&0xff,_0x1f6bc9=_0x54098f<<0x10|_0x562c30<<0x8|_0x13b1f8,_0x402f99=0x0;_0x402f99<0x4&&_0x41c234+_0x402f99*0.75<_0x1eeb8c;_0x402f99++)_0x53e987[_0x4a7c76(0x3ce)](_0x4db314[_0x4a7c76(0x1d5)](_0x1f6bc9>>>0x6*(0x3-_0x402f99)&0x3f));var _0x283a54=_0x4db314[_0x4a7c76(0x1d5)](0x40);if(_0x283a54){for(;_0x53e987['length']%0x4;)_0x53e987['push'](_0x283a54);}return _0x53e987[_0x4a7c76(0x2f5)]('');},'parse':function(_0x1ff0b1){var _0x190990=_0x28c615,_0x185237=_0x1ff0b1[_0x190990(0x2cc)],_0x32da16=this['_map'],_0x15e70d=this[_0x190990(0x1c7)];if(!_0x15e70d){_0x15e70d=this['_reverseMap']=[];for(var _0x13e11b=0x0;_0x13e11b<_0x32da16['length'];_0x13e11b++)_0x15e70d[_0x32da16[_0x190990(0x36c)](_0x13e11b)]=_0x13e11b;}var _0x3a0236=_0x32da16[_0x190990(0x1d5)](0x40);if(_0x3a0236){var _0x5084bd=_0x1ff0b1[_0x190990(0x149)](_0x3a0236);_0x5084bd!==-0x1&&(_0x185237=_0x5084bd);}return _0x33c7db(_0x1ff0b1,_0x185237,_0x15e70d);},'_map':_0x28c615(0x2dc)};function _0x33c7db(_0x598fd9,_0x19a975,_0x33190f){var _0x56c29e=_0x28c615;for(var _0x36fec2=[],_0x5ddaf4=0x0,_0x1ec8ec=0x0;_0x1ec8ec<_0x19a975;_0x1ec8ec++)if(_0x1ec8ec%0x4){var _0x1b2b48=_0x33190f[_0x598fd9['charCodeAt'](_0x1ec8ec-0x1)]<<_0x1ec8ec%0x4*0x2,_0x27bcb6=_0x33190f[_0x598fd9[_0x56c29e(0x36c)](_0x1ec8ec)]>>>0x6-_0x1ec8ec%0x4*0x2,_0x396d93=_0x1b2b48|_0x27bcb6;_0x36fec2[_0x5ddaf4>>>0x2]|=_0x396d93<<0x18-_0x5ddaf4%0x4*0x8,_0x5ddaf4++;}return _0x28d5fd[_0x56c29e(0x16d)](_0x36fec2,_0x5ddaf4);}}()),_0x357a12['enc'][_0x533d66(0x26a)];}));}(We)),We[_0xa813ed(0x14c)];}var Ke={'exports':{}},Lr=Ke[_0x5b2e46(0x14c)],ei;function Mr(){var _0x5ad7c2=_0x5b2e46;return ei||(ei=0x1,function(_0x9c4f27,_0x6f7311){(function(_0x125965,_0xace1d4){var _0x2b4a92=_0xf286;_0x9c4f27[_0x2b4a92(0x14c)]=_0xace1d4(ne());}(Lr,function(_0x41079b){var _0x4c7830=_0xf286;return function(_0x346bdf){var _0x7689ae=_0xf286,_0x233cf3=_0x41079b,_0x189240=_0x233cf3[_0x7689ae(0x148)],_0x48e52f=_0x189240[_0x7689ae(0x430)],_0x26b96f=_0x189240['Hasher'],_0xa87b12=_0x233cf3[_0x7689ae(0x1cb)],_0x17468b=[];(function(){var _0x4ad5e4=_0x7689ae;for(var _0x3102fc=0x0;_0x3102fc<0x40;_0x3102fc++)_0x17468b[_0x3102fc]=_0x346bdf[_0x4ad5e4(0x1d6)](_0x346bdf[_0x4ad5e4(0x186)](_0x3102fc+0x1))*0x100000000|0x0;}());var _0x41b805=_0xa87b12['MD5']=_0x26b96f['extend']({'_doReset':function(){var _0x2690d2=_0x7689ae;this[_0x2690d2(0x386)]=new _0x48e52f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2ce585,_0x55f098){var _0x199b9b=_0x7689ae;for(var _0x548b48=0x0;_0x548b48<0x10;_0x548b48++){var _0x38808e=_0x55f098+_0x548b48,_0x54de86=_0x2ce585[_0x38808e];_0x2ce585[_0x38808e]=(_0x54de86<<0x8|_0x54de86>>>0x18)&0xff00ff|(_0x54de86<<0x18|_0x54de86>>>0x8)&0xff00ff00;}var _0x67bf34=this[_0x199b9b(0x386)][_0x199b9b(0x33c)],_0x1a7bc4=_0x2ce585[_0x55f098+0x0],_0x1e8c45=_0x2ce585[_0x55f098+0x1],_0x563d21=_0x2ce585[_0x55f098+0x2],_0x377788=_0x2ce585[_0x55f098+0x3],_0x369612=_0x2ce585[_0x55f098+0x4],_0x3fff7a=_0x2ce585[_0x55f098+0x5],_0x56d36b=_0x2ce585[_0x55f098+0x6],_0x5d3af9=_0x2ce585[_0x55f098+0x7],_0x10e151=_0x2ce585[_0x55f098+0x8],_0x3d3de6=_0x2ce585[_0x55f098+0x9],_0x18af28=_0x2ce585[_0x55f098+0xa],_0x29d086=_0x2ce585[_0x55f098+0xb],_0x44e2c9=_0x2ce585[_0x55f098+0xc],_0xe173fd=_0x2ce585[_0x55f098+0xd],_0x15afb9=_0x2ce585[_0x55f098+0xe],_0x37553b=_0x2ce585[_0x55f098+0xf],_0x320c0c=_0x67bf34[0x0],_0x36cfdb=_0x67bf34[0x1],_0x2d535a=_0x67bf34[0x2],_0x301d16=_0x67bf34[0x3];_0x320c0c=_0x55666d(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x1a7bc4,0x7,_0x17468b[0x0]),_0x301d16=_0x55666d(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x1e8c45,0xc,_0x17468b[0x1]),_0x2d535a=_0x55666d(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x563d21,0x11,_0x17468b[0x2]),_0x36cfdb=_0x55666d(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x377788,0x16,_0x17468b[0x3]),_0x320c0c=_0x55666d(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x369612,0x7,_0x17468b[0x4]),_0x301d16=_0x55666d(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x3fff7a,0xc,_0x17468b[0x5]),_0x2d535a=_0x55666d(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x56d36b,0x11,_0x17468b[0x6]),_0x36cfdb=_0x55666d(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x5d3af9,0x16,_0x17468b[0x7]),_0x320c0c=_0x55666d(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x10e151,0x7,_0x17468b[0x8]),_0x301d16=_0x55666d(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x3d3de6,0xc,_0x17468b[0x9]),_0x2d535a=_0x55666d(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x18af28,0x11,_0x17468b[0xa]),_0x36cfdb=_0x55666d(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x29d086,0x16,_0x17468b[0xb]),_0x320c0c=_0x55666d(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x44e2c9,0x7,_0x17468b[0xc]),_0x301d16=_0x55666d(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0xe173fd,0xc,_0x17468b[0xd]),_0x2d535a=_0x55666d(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x15afb9,0x11,_0x17468b[0xe]),_0x36cfdb=_0x55666d(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x37553b,0x16,_0x17468b[0xf]),_0x320c0c=_0x4f8000(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x1e8c45,0x5,_0x17468b[0x10]),_0x301d16=_0x4f8000(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x56d36b,0x9,_0x17468b[0x11]),_0x2d535a=_0x4f8000(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x29d086,0xe,_0x17468b[0x12]),_0x36cfdb=_0x4f8000(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x1a7bc4,0x14,_0x17468b[0x13]),_0x320c0c=_0x4f8000(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x3fff7a,0x5,_0x17468b[0x14]),_0x301d16=_0x4f8000(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x18af28,0x9,_0x17468b[0x15]),_0x2d535a=_0x4f8000(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x37553b,0xe,_0x17468b[0x16]),_0x36cfdb=_0x4f8000(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x369612,0x14,_0x17468b[0x17]),_0x320c0c=_0x4f8000(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x3d3de6,0x5,_0x17468b[0x18]),_0x301d16=_0x4f8000(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x15afb9,0x9,_0x17468b[0x19]),_0x2d535a=_0x4f8000(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x377788,0xe,_0x17468b[0x1a]),_0x36cfdb=_0x4f8000(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x10e151,0x14,_0x17468b[0x1b]),_0x320c0c=_0x4f8000(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0xe173fd,0x5,_0x17468b[0x1c]),_0x301d16=_0x4f8000(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x563d21,0x9,_0x17468b[0x1d]),_0x2d535a=_0x4f8000(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x5d3af9,0xe,_0x17468b[0x1e]),_0x36cfdb=_0x4f8000(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x44e2c9,0x14,_0x17468b[0x1f]),_0x320c0c=_0x307be9(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x3fff7a,0x4,_0x17468b[0x20]),_0x301d16=_0x307be9(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x10e151,0xb,_0x17468b[0x21]),_0x2d535a=_0x307be9(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x29d086,0x10,_0x17468b[0x22]),_0x36cfdb=_0x307be9(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x15afb9,0x17,_0x17468b[0x23]),_0x320c0c=_0x307be9(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x1e8c45,0x4,_0x17468b[0x24]),_0x301d16=_0x307be9(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x369612,0xb,_0x17468b[0x25]),_0x2d535a=_0x307be9(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x5d3af9,0x10,_0x17468b[0x26]),_0x36cfdb=_0x307be9(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x18af28,0x17,_0x17468b[0x27]),_0x320c0c=_0x307be9(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0xe173fd,0x4,_0x17468b[0x28]),_0x301d16=_0x307be9(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x1a7bc4,0xb,_0x17468b[0x29]),_0x2d535a=_0x307be9(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x377788,0x10,_0x17468b[0x2a]),_0x36cfdb=_0x307be9(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x56d36b,0x17,_0x17468b[0x2b]),_0x320c0c=_0x307be9(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x3d3de6,0x4,_0x17468b[0x2c]),_0x301d16=_0x307be9(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x44e2c9,0xb,_0x17468b[0x2d]),_0x2d535a=_0x307be9(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x37553b,0x10,_0x17468b[0x2e]),_0x36cfdb=_0x307be9(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x563d21,0x17,_0x17468b[0x2f]),_0x320c0c=_0x1f825b(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x1a7bc4,0x6,_0x17468b[0x30]),_0x301d16=_0x1f825b(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x5d3af9,0xa,_0x17468b[0x31]),_0x2d535a=_0x1f825b(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x15afb9,0xf,_0x17468b[0x32]),_0x36cfdb=_0x1f825b(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x3fff7a,0x15,_0x17468b[0x33]),_0x320c0c=_0x1f825b(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x44e2c9,0x6,_0x17468b[0x34]),_0x301d16=_0x1f825b(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x377788,0xa,_0x17468b[0x35]),_0x2d535a=_0x1f825b(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x18af28,0xf,_0x17468b[0x36]),_0x36cfdb=_0x1f825b(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x1e8c45,0x15,_0x17468b[0x37]),_0x320c0c=_0x1f825b(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x10e151,0x6,_0x17468b[0x38]),_0x301d16=_0x1f825b(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x37553b,0xa,_0x17468b[0x39]),_0x2d535a=_0x1f825b(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x56d36b,0xf,_0x17468b[0x3a]),_0x36cfdb=_0x1f825b(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0xe173fd,0x15,_0x17468b[0x3b]),_0x320c0c=_0x1f825b(_0x320c0c,_0x36cfdb,_0x2d535a,_0x301d16,_0x369612,0x6,_0x17468b[0x3c]),_0x301d16=_0x1f825b(_0x301d16,_0x320c0c,_0x36cfdb,_0x2d535a,_0x29d086,0xa,_0x17468b[0x3d]),_0x2d535a=_0x1f825b(_0x2d535a,_0x301d16,_0x320c0c,_0x36cfdb,_0x563d21,0xf,_0x17468b[0x3e]),_0x36cfdb=_0x1f825b(_0x36cfdb,_0x2d535a,_0x301d16,_0x320c0c,_0x3d3de6,0x15,_0x17468b[0x3f]),_0x67bf34[0x0]=_0x67bf34[0x0]+_0x320c0c|0x0,_0x67bf34[0x1]=_0x67bf34[0x1]+_0x36cfdb|0x0,_0x67bf34[0x2]=_0x67bf34[0x2]+_0x2d535a|0x0,_0x67bf34[0x3]=_0x67bf34[0x3]+_0x301d16|0x0;},'_doFinalize':function(){var _0x2a551d=_0x7689ae,_0x166386=this[_0x2a551d(0x2fb)],_0x280fc9=_0x166386['words'],_0xe949a1=this[_0x2a551d(0x1f1)]*0x8,_0x2f3f93=_0x166386[_0x2a551d(0x372)]*0x8;_0x280fc9[_0x2f3f93>>>0x5]|=0x80<<0x18-_0x2f3f93%0x20;var _0x1dde8b=_0x346bdf[_0x2a551d(0x184)](_0xe949a1/0x100000000),_0x4cd5ea=_0xe949a1;_0x280fc9[(_0x2f3f93+0x40>>>0x9<<0x4)+0xf]=(_0x1dde8b<<0x8|_0x1dde8b>>>0x18)&0xff00ff|(_0x1dde8b<<0x18|_0x1dde8b>>>0x8)&0xff00ff00,_0x280fc9[(_0x2f3f93+0x40>>>0x9<<0x4)+0xe]=(_0x4cd5ea<<0x8|_0x4cd5ea>>>0x18)&0xff00ff|(_0x4cd5ea<<0x18|_0x4cd5ea>>>0x8)&0xff00ff00,_0x166386[_0x2a551d(0x372)]=(_0x280fc9[_0x2a551d(0x2cc)]+0x1)*0x4,this[_0x2a551d(0x370)]();for(var _0x130509=this[_0x2a551d(0x386)],_0x4ef787=_0x130509[_0x2a551d(0x33c)],_0x52b015=0x0;_0x52b015<0x4;_0x52b015++){var _0x35f742=_0x4ef787[_0x52b015];_0x4ef787[_0x52b015]=(_0x35f742<<0x8|_0x35f742>>>0x18)&0xff00ff|(_0x35f742<<0x18|_0x35f742>>>0x8)&0xff00ff00;}return _0x130509;},'clone':function(){var _0x5d1c2c=_0x7689ae,_0x67f390=_0x26b96f[_0x5d1c2c(0x2de)]['call'](this);return _0x67f390[_0x5d1c2c(0x386)]=this['_hash'][_0x5d1c2c(0x2de)](),_0x67f390;}});function _0x55666d(_0x344368,_0x2f1e27,_0x2d46bf,_0x2eda3c,_0x4972a1,_0x27bbe4,_0x5d6285){var _0xdf83e7=_0x344368+(_0x2f1e27&_0x2d46bf|~_0x2f1e27&_0x2eda3c)+_0x4972a1+_0x5d6285;return(_0xdf83e7<<_0x27bbe4|_0xdf83e7>>>0x20-_0x27bbe4)+_0x2f1e27;}function _0x4f8000(_0x32d7e6,_0x5a5a2e,_0x559dfb,_0x329126,_0x587ee9,_0x31a3a8,_0x3eac08){var _0x275d0a=_0x32d7e6+(_0x5a5a2e&_0x329126|_0x559dfb&~_0x329126)+_0x587ee9+_0x3eac08;return(_0x275d0a<<_0x31a3a8|_0x275d0a>>>0x20-_0x31a3a8)+_0x5a5a2e;}function _0x307be9(_0x57c064,_0x42174a,_0x100f2e,_0x4ee795,_0x4cb9b5,_0x5c2bea,_0x4d802e){var _0x35fbb5=_0x57c064+(_0x42174a^_0x100f2e^_0x4ee795)+_0x4cb9b5+_0x4d802e;return(_0x35fbb5<<_0x5c2bea|_0x35fbb5>>>0x20-_0x5c2bea)+_0x42174a;}function _0x1f825b(_0x3a2bd9,_0x1c66c7,_0x2de146,_0xf07d5f,_0x4cfea4,_0x4bc440,_0x20b5e2){var _0x4bbd0f=_0x3a2bd9+(_0x2de146^(_0x1c66c7|~_0xf07d5f))+_0x4cfea4+_0x20b5e2;return(_0x4bbd0f<<_0x4bc440|_0x4bbd0f>>>0x20-_0x4bc440)+_0x1c66c7;}_0x233cf3[_0x7689ae(0x2cd)]=_0x26b96f[_0x7689ae(0x12a)](_0x41b805),_0x233cf3['HmacMD5']=_0x26b96f[_0x7689ae(0x2ff)](_0x41b805);}(Math),_0x41079b[_0x4c7830(0x2cd)];}));}(Ke)),Ke[_0x5ad7c2(0x14c)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x5b2e46(0x14c)],ti;function Hr(){var _0x1f3c68=_0x5b2e46;return ti||(ti=0x1,function(_0x2c0419,_0x4072ce){(function(_0x4e2eb2,_0x2e13a9){_0x2c0419['exports']=_0x2e13a9(ne());}($r,function(_0x55bb3a){return(function(){var _0x18ea03=_0xf286,_0x16dd68=_0x55bb3a,_0x51ff8f=_0x16dd68[_0x18ea03(0x148)],_0x827d9d=_0x51ff8f[_0x18ea03(0x430)],_0x16f36d=_0x51ff8f['Hasher'],_0x3a823b=_0x16dd68[_0x18ea03(0x1cb)],_0x36e905=[],_0x28b8bf=_0x3a823b[_0x18ea03(0x333)]=_0x16f36d[_0x18ea03(0x267)]({'_doReset':function(){var _0x5e4af4=_0x18ea03;this['_hash']=new _0x827d9d[(_0x5e4af4(0x156))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ffb01,_0x39f5f2){var _0x467e41=_0x18ea03;for(var _0xacd50a=this[_0x467e41(0x386)][_0x467e41(0x33c)],_0x3ccf40=_0xacd50a[0x0],_0x158315=_0xacd50a[0x1],_0x172e19=_0xacd50a[0x2],_0x23064d=_0xacd50a[0x3],_0x2afc24=_0xacd50a[0x4],_0x41b5c7=0x0;_0x41b5c7<0x50;_0x41b5c7++){if(_0x41b5c7<0x10)_0x36e905[_0x41b5c7]=_0x1ffb01[_0x39f5f2+_0x41b5c7]|0x0;else{var _0xa72247=_0x36e905[_0x41b5c7-0x3]^_0x36e905[_0x41b5c7-0x8]^_0x36e905[_0x41b5c7-0xe]^_0x36e905[_0x41b5c7-0x10];_0x36e905[_0x41b5c7]=_0xa72247<<0x1|_0xa72247>>>0x1f;}var _0x5fb80c=(_0x3ccf40<<0x5|_0x3ccf40>>>0x1b)+_0x2afc24+_0x36e905[_0x41b5c7];_0x41b5c7<0x14?_0x5fb80c+=(_0x158315&_0x172e19|~_0x158315&_0x23064d)+0x5a827999:_0x41b5c7<0x28?_0x5fb80c+=(_0x158315^_0x172e19^_0x23064d)+0x6ed9eba1:_0x41b5c7<0x3c?_0x5fb80c+=(_0x158315&_0x172e19|_0x158315&_0x23064d|_0x172e19&_0x23064d)-0x70e44324:_0x5fb80c+=(_0x158315^_0x172e19^_0x23064d)-0x359d3e2a,_0x2afc24=_0x23064d,_0x23064d=_0x172e19,_0x172e19=_0x158315<<0x1e|_0x158315>>>0x2,_0x158315=_0x3ccf40,_0x3ccf40=_0x5fb80c;}_0xacd50a[0x0]=_0xacd50a[0x0]+_0x3ccf40|0x0,_0xacd50a[0x1]=_0xacd50a[0x1]+_0x158315|0x0,_0xacd50a[0x2]=_0xacd50a[0x2]+_0x172e19|0x0,_0xacd50a[0x3]=_0xacd50a[0x3]+_0x23064d|0x0,_0xacd50a[0x4]=_0xacd50a[0x4]+_0x2afc24|0x0;},'_doFinalize':function(){var _0x4d4160=_0x18ea03,_0x4bbf93=this['_data'],_0x3254cc=_0x4bbf93[_0x4d4160(0x33c)],_0x8d3d69=this[_0x4d4160(0x1f1)]*0x8,_0x161e43=_0x4bbf93[_0x4d4160(0x372)]*0x8;return _0x3254cc[_0x161e43>>>0x5]|=0x80<<0x18-_0x161e43%0x20,_0x3254cc[(_0x161e43+0x40>>>0x9<<0x4)+0xe]=Math[_0x4d4160(0x184)](_0x8d3d69/0x100000000),_0x3254cc[(_0x161e43+0x40>>>0x9<<0x4)+0xf]=_0x8d3d69,_0x4bbf93[_0x4d4160(0x372)]=_0x3254cc[_0x4d4160(0x2cc)]*0x4,this['_process'](),this[_0x4d4160(0x386)];},'clone':function(){var _0x53cc71=_0x18ea03,_0x152791=_0x16f36d[_0x53cc71(0x2de)]['call'](this);return _0x152791[_0x53cc71(0x386)]=this[_0x53cc71(0x386)][_0x53cc71(0x2de)](),_0x152791;}});_0x16dd68[_0x18ea03(0x333)]=_0x16f36d['_createHelper'](_0x28b8bf),_0x16dd68[_0x18ea03(0x1ff)]=_0x16f36d['_createHmacHelper'](_0x28b8bf);}()),_0x55bb3a['SHA1'];}));}(qe)),qe[_0x1f3c68(0x14c)];}var ze={'exports':{}},kr=ze[_0x5b2e46(0x14c)],ii;function jr(){var _0x1cb1c0=_0x5b2e46;return ii||(ii=0x1,function(_0x16c8fc,_0x430ea0){(function(_0x384d02,_0x21febc){var _0x3c3057=_0xf286;_0x16c8fc[_0x3c3057(0x14c)]=_0x21febc(ne());}(kr,function(_0x5f4052){(function(){var _0x4431c7=_0xf286,_0x238596=_0x5f4052,_0x4e2b72=_0x238596[_0x4431c7(0x148)],_0x3d2af4=_0x4e2b72[_0x4431c7(0x412)],_0x3ff7ce=_0x238596['enc'],_0x5f27c9=_0x3ff7ce['Utf8'],_0x2c4f34=_0x238596['algo'];_0x2c4f34['HMAC']=_0x3d2af4[_0x4431c7(0x267)]({'init':function(_0x48065e,_0x5a6498){var _0x21b393=_0x4431c7;_0x48065e=this[_0x21b393(0x3ed)]=new _0x48065e[(_0x21b393(0x156))](),typeof _0x5a6498==_0x21b393(0x37d)&&(_0x5a6498=_0x5f27c9['parse'](_0x5a6498));var _0x458d89=_0x48065e[_0x21b393(0x12f)],_0x5ebeb5=_0x458d89*0x4;_0x5a6498[_0x21b393(0x372)]>_0x5ebeb5&&(_0x5a6498=_0x48065e[_0x21b393(0x327)](_0x5a6498)),_0x5a6498['clamp']();for(var _0x29c342=this['_oKey']=_0x5a6498[_0x21b393(0x2de)](),_0x305e2b=this[_0x21b393(0x425)]=_0x5a6498[_0x21b393(0x2de)](),_0x2876ed=_0x29c342['words'],_0x350207=_0x305e2b[_0x21b393(0x33c)],_0xfd4edb=0x0;_0xfd4edb<_0x458d89;_0xfd4edb++)_0x2876ed[_0xfd4edb]^=0x5c5c5c5c,_0x350207[_0xfd4edb]^=0x36363636;_0x29c342[_0x21b393(0x372)]=_0x305e2b[_0x21b393(0x372)]=_0x5ebeb5,this[_0x21b393(0x2c3)]();},'reset':function(){var _0x4da17b=_0x4431c7,_0x1c1c6e=this[_0x4da17b(0x3ed)];_0x1c1c6e[_0x4da17b(0x2c3)](),_0x1c1c6e[_0x4da17b(0x2c4)](this[_0x4da17b(0x425)]);},'update':function(_0x343ee4){var _0x5fcf9c=_0x4431c7;return this[_0x5fcf9c(0x3ed)][_0x5fcf9c(0x2c4)](_0x343ee4),this;},'finalize':function(_0x430056){var _0x1bf7f8=_0x4431c7,_0x5a5e8f=this[_0x1bf7f8(0x3ed)],_0x1ff532=_0x5a5e8f[_0x1bf7f8(0x327)](_0x430056);_0x5a5e8f[_0x1bf7f8(0x2c3)]();var _0x26259f=_0x5a5e8f['finalize'](this['_oKey']['clone']()[_0x1bf7f8(0x310)](_0x1ff532));return _0x26259f;}});}());}));}(ze)),ze[_0x1cb1c0(0x14c)];}var Br=Ye[_0x5b2e46(0x14c)],ni;function Ui(){return ni||(ni=0x1,function(_0x33404f,_0x48777b){(function(_0x157073,_0x38aa61,_0x360705){var _0x7ed879=_0xf286;_0x33404f[_0x7ed879(0x14c)]=_0x38aa61(ne(),Hr(),jr());}(Br,function(_0x3218cf){return(function(){var _0x4c7874=_0xf286,_0x5b2173=_0x3218cf,_0x2123a6=_0x5b2173[_0x4c7874(0x148)],_0x3babf9=_0x2123a6['Base'],_0x43a36d=_0x2123a6[_0x4c7874(0x430)],_0x198f54=_0x5b2173[_0x4c7874(0x1cb)],_0x1fc601=_0x198f54[_0x4c7874(0x2cd)],_0xabc7e=_0x198f54[_0x4c7874(0x290)]=_0x3babf9[_0x4c7874(0x267)]({'cfg':_0x3babf9[_0x4c7874(0x267)]({'keySize':0x80/0x20,'hasher':_0x1fc601,'iterations':0x1}),'init':function(_0x1981cd){var _0x7c77bb=_0x4c7874;this['cfg']=this['cfg'][_0x7c77bb(0x267)](_0x1981cd);},'compute':function(_0x30f5dd,_0xb9f9f){var _0x269ca8=_0x4c7874;for(var _0x23ca9a,_0x79cee=this[_0x269ca8(0x1be)],_0x1b5d96=_0x79cee[_0x269ca8(0x2ec)][_0x269ca8(0x16d)](),_0x2619a1=_0x43a36d[_0x269ca8(0x16d)](),_0x25cd21=_0x2619a1[_0x269ca8(0x33c)],_0x2489be=_0x79cee[_0x269ca8(0x278)],_0x4b0e2e=_0x79cee[_0x269ca8(0x356)];_0x25cd21[_0x269ca8(0x2cc)]<_0x2489be;){_0x23ca9a&&_0x1b5d96[_0x269ca8(0x2c4)](_0x23ca9a),_0x23ca9a=_0x1b5d96[_0x269ca8(0x2c4)](_0x30f5dd)[_0x269ca8(0x327)](_0xb9f9f),_0x1b5d96[_0x269ca8(0x2c3)]();for(var _0x32365b=0x1;_0x32365b<_0x4b0e2e;_0x32365b++)_0x23ca9a=_0x1b5d96[_0x269ca8(0x327)](_0x23ca9a),_0x1b5d96[_0x269ca8(0x2c3)]();_0x2619a1[_0x269ca8(0x310)](_0x23ca9a);}return _0x2619a1['sigBytes']=_0x2489be*0x4,_0x2619a1;}});_0x5b2173[_0x4c7874(0x290)]=function(_0x54770d,_0x4fca2e,_0x1f407d){var _0x256928=_0x4c7874;return _0xabc7e[_0x256928(0x16d)](_0x1f407d)[_0x256928(0x136)](_0x54770d,_0x4fca2e);};}()),_0x3218cf['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je[_0x5b2e46(0x14c)],ri;function Ai(){var _0x23cd64=_0x5b2e46;return ri||(ri=0x1,function(_0x31938a,_0x580029){(function(_0x3e2a92,_0x203832,_0x403305){var _0x5e1c77=_0xf286;_0x31938a[_0x5e1c77(0x14c)]=_0x203832(ne(),Ui());}(Fr,function(_0x3a655e){var _0x491beb=_0xf286;_0x3a655e[_0x491beb(0x148)][_0x491beb(0x3fe)]||function(_0x2839bc){var _0x2a189a=_0x491beb,_0x77d012=_0x3a655e,_0x3d8d4d=_0x77d012[_0x2a189a(0x148)],_0x4ccc88=_0x3d8d4d[_0x2a189a(0x412)],_0x44a0f1=_0x3d8d4d[_0x2a189a(0x430)],_0x423b2c=_0x3d8d4d[_0x2a189a(0x316)],_0x2b4596=_0x77d012['enc'];_0x2b4596[_0x2a189a(0x34d)];var _0x1709b8=_0x2b4596[_0x2a189a(0x26a)],_0x5e945d=_0x77d012[_0x2a189a(0x1cb)],_0x3528f9=_0x5e945d[_0x2a189a(0x290)],_0x127348=_0x3d8d4d[_0x2a189a(0x3fe)]=_0x423b2c[_0x2a189a(0x267)]({'cfg':_0x4ccc88['extend'](),'createEncryptor':function(_0x3f4ad9,_0x24388c){var _0x59e611=_0x2a189a;return this[_0x59e611(0x16d)](this[_0x59e611(0x37c)],_0x3f4ad9,_0x24388c);},'createDecryptor':function(_0xf39ab9,_0x237cc5){var _0xecb63=_0x2a189a;return this[_0xecb63(0x16d)](this[_0xecb63(0x23a)],_0xf39ab9,_0x237cc5);},'init':function(_0x536317,_0x274cc2,_0x56e391){var _0x28feaa=_0x2a189a;this[_0x28feaa(0x1be)]=this[_0x28feaa(0x1be)][_0x28feaa(0x267)](_0x56e391),this['_xformMode']=_0x536317,this['_key']=_0x274cc2,this[_0x28feaa(0x2c3)]();},'reset':function(){var _0x35c15f=_0x2a189a;_0x423b2c[_0x35c15f(0x2c3)][_0x35c15f(0x43e)](this),this['_doReset']();},'process':function(_0x2359c3){var _0x19cdcc=_0x2a189a;return this['_append'](_0x2359c3),this[_0x19cdcc(0x370)]();},'finalize':function(_0x53ce27){var _0x12e501=_0x2a189a;_0x53ce27&&this[_0x12e501(0x1b1)](_0x53ce27);var _0x401857=this[_0x12e501(0x25b)]();return _0x401857;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4ebffa(_0x44a426){var _0x188d17=_0xf286;return typeof _0x44a426==_0x188d17(0x37d)?_0x1528ff:_0x5113a6;}return function(_0x55b9e5){return{'encrypt':function(_0x29da70,_0x2e816a,_0x371503){var _0x3e7025=_0xf286;return _0x4ebffa(_0x2e816a)[_0x3e7025(0x3fa)](_0x55b9e5,_0x29da70,_0x2e816a,_0x371503);},'decrypt':function(_0x56b4cf,_0x1df2a8,_0x5adcca){var _0x4252dc=_0xf286;return _0x4ebffa(_0x1df2a8)[_0x4252dc(0x25f)](_0x55b9e5,_0x56b4cf,_0x1df2a8,_0x5adcca);}};};}())});_0x3d8d4d[_0x2a189a(0x30b)]=_0x127348['extend']({'_doFinalize':function(){var _0x53f785=_0x2a189a,_0x48388c=this[_0x53f785(0x370)](!0x0);return _0x48388c;},'blockSize':0x1});var _0x4c7f7c=_0x77d012[_0x2a189a(0x2d6)]={},_0x289680=_0x3d8d4d[_0x2a189a(0x3d6)]=_0x4ccc88[_0x2a189a(0x267)]({'createEncryptor':function(_0x5ee24e,_0x5ae09e){var _0x5682c5=_0x2a189a;return this['Encryptor'][_0x5682c5(0x16d)](_0x5ee24e,_0x5ae09e);},'createDecryptor':function(_0x161ce5,_0x27fbaa){var _0x548eec=_0x2a189a;return this[_0x548eec(0x236)][_0x548eec(0x16d)](_0x161ce5,_0x27fbaa);},'init':function(_0x443b77,_0x3bb9cf){var _0x5b574e=_0x2a189a;this[_0x5b574e(0x1cc)]=_0x443b77,this['_iv']=_0x3bb9cf;}}),_0x47b8c7=_0x4c7f7c[_0x2a189a(0x1ac)]=(function(){var _0x3ede0c=_0x2a189a,_0x4ab9a2=_0x289680[_0x3ede0c(0x267)]();_0x4ab9a2[_0x3ede0c(0x2be)]=_0x4ab9a2[_0x3ede0c(0x267)]({'processBlock':function(_0x258abb,_0x3c2290){var _0x23dfc0=_0x3ede0c,_0x3b9c85=this['_cipher'],_0x1eb246=_0x3b9c85[_0x23dfc0(0x12f)];_0x140d67[_0x23dfc0(0x43e)](this,_0x258abb,_0x3c2290,_0x1eb246),_0x3b9c85['encryptBlock'](_0x258abb,_0x3c2290),this['_prevBlock']=_0x258abb[_0x23dfc0(0x193)](_0x3c2290,_0x3c2290+_0x1eb246);}}),_0x4ab9a2[_0x3ede0c(0x236)]=_0x4ab9a2[_0x3ede0c(0x267)]({'processBlock':function(_0x2daa42,_0x4f802e){var _0x397338=_0x3ede0c,_0x1c4d47=this[_0x397338(0x1cc)],_0x3262be=_0x1c4d47[_0x397338(0x12f)],_0x4e61da=_0x2daa42['slice'](_0x4f802e,_0x4f802e+_0x3262be);_0x1c4d47[_0x397338(0x2ca)](_0x2daa42,_0x4f802e),_0x140d67[_0x397338(0x43e)](this,_0x2daa42,_0x4f802e,_0x3262be),this[_0x397338(0x15d)]=_0x4e61da;}});function _0x140d67(_0x2154d7,_0x1e0832,_0x11fe0a){var _0x5088be=_0x3ede0c,_0x11254c,_0x20917b=this[_0x5088be(0x192)];_0x20917b?(_0x11254c=_0x20917b,this['_iv']=_0x2839bc):_0x11254c=this['_prevBlock'];for(var _0x3f8fcc=0x0;_0x3f8fcc<_0x11fe0a;_0x3f8fcc++)_0x2154d7[_0x1e0832+_0x3f8fcc]^=_0x11254c[_0x3f8fcc];}return _0x4ab9a2;}()),_0x23f0d3=_0x77d012[_0x2a189a(0x18a)]={},_0x38cb1d=_0x23f0d3[_0x2a189a(0x43c)]={'pad':function(_0x4a20f3,_0xb2a146){var _0x5efe8f=_0x2a189a;for(var _0x387111=_0xb2a146*0x4,_0x41e69f=_0x387111-_0x4a20f3['sigBytes']%_0x387111,_0x5c066f=_0x41e69f<<0x18|_0x41e69f<<0x10|_0x41e69f<<0x8|_0x41e69f,_0x4ab1f2=[],_0x500f40=0x0;_0x500f40<_0x41e69f;_0x500f40+=0x4)_0x4ab1f2['push'](_0x5c066f);var _0x517be3=_0x44a0f1[_0x5efe8f(0x16d)](_0x4ab1f2,_0x41e69f);_0x4a20f3[_0x5efe8f(0x310)](_0x517be3);},'unpad':function(_0x30030d){var _0x1a51d0=_0x2a189a,_0x346b12=_0x30030d[_0x1a51d0(0x33c)][_0x30030d[_0x1a51d0(0x372)]-0x1>>>0x2]&0xff;_0x30030d[_0x1a51d0(0x372)]-=_0x346b12;}};_0x3d8d4d[_0x2a189a(0x199)]=_0x127348[_0x2a189a(0x267)]({'cfg':_0x127348[_0x2a189a(0x1be)]['extend']({'mode':_0x47b8c7,'padding':_0x38cb1d}),'reset':function(){var _0x19339c=_0x2a189a,_0x47f154;_0x127348['reset']['call'](this);var _0x19f264=this[_0x19339c(0x1be)],_0x541e6a=_0x19f264['iv'],_0x281b96=_0x19f264[_0x19339c(0x2d6)];this[_0x19339c(0x41c)]==this[_0x19339c(0x37c)]?_0x47f154=_0x281b96['createEncryptor']:(_0x47f154=_0x281b96[_0x19339c(0x340)],this[_0x19339c(0x1a7)]=0x1),this[_0x19339c(0x31a)]&&this[_0x19339c(0x31a)][_0x19339c(0x2ad)]==_0x47f154?this['_mode'][_0x19339c(0x156)](this,_0x541e6a&&_0x541e6a[_0x19339c(0x33c)]):(this[_0x19339c(0x31a)]=_0x47f154[_0x19339c(0x43e)](_0x281b96,this,_0x541e6a&&_0x541e6a[_0x19339c(0x33c)]),this[_0x19339c(0x31a)][_0x19339c(0x2ad)]=_0x47f154);},'_doProcessBlock':function(_0x3c9630,_0x2b239d){var _0x4227e0=_0x2a189a;this[_0x4227e0(0x31a)][_0x4227e0(0x3bc)](_0x3c9630,_0x2b239d);},'_doFinalize':function(){var _0x46e640=_0x2a189a,_0x4b0552,_0x4aacec=this[_0x46e640(0x1be)]['padding'];return this['_xformMode']==this[_0x46e640(0x37c)]?(_0x4aacec[_0x46e640(0x18a)](this[_0x46e640(0x2fb)],this[_0x46e640(0x12f)]),_0x4b0552=this[_0x46e640(0x370)](!0x0)):(_0x4b0552=this['_process'](!0x0),_0x4aacec[_0x46e640(0x14e)](_0x4b0552)),_0x4b0552;},'blockSize':0x80/0x20});var _0x3a1bec=_0x3d8d4d[_0x2a189a(0x3af)]=_0x4ccc88[_0x2a189a(0x267)]({'init':function(_0x922b5b){var _0x4b491a=_0x2a189a;this[_0x4b491a(0x369)](_0x922b5b);},'toString':function(_0x10fa31){var _0x37b944=_0x2a189a;return(_0x10fa31||this[_0x37b944(0x1d0)])[_0x37b944(0x374)](this);}}),_0xedfc3e=_0x77d012[_0x2a189a(0x187)]={},_0x51e65f=_0xedfc3e[_0x2a189a(0x296)]={'stringify':function(_0x349842){var _0x5dc8bf=_0x2a189a,_0x259cd9,_0x480adc=_0x349842[_0x5dc8bf(0x368)],_0x15ccf5=_0x349842[_0x5dc8bf(0x3eb)];return _0x15ccf5?_0x259cd9=_0x44a0f1[_0x5dc8bf(0x16d)]([0x53616c74,0x65645f5f])[_0x5dc8bf(0x310)](_0x15ccf5)[_0x5dc8bf(0x310)](_0x480adc):_0x259cd9=_0x480adc,_0x259cd9[_0x5dc8bf(0x405)](_0x1709b8);},'parse':function(_0x238721){var _0x10d62d=_0x2a189a,_0x1d7f7a,_0x43195f=_0x1709b8[_0x10d62d(0x3b4)](_0x238721),_0x56b711=_0x43195f[_0x10d62d(0x33c)];return _0x56b711[0x0]==0x53616c74&&_0x56b711[0x1]==0x65645f5f&&(_0x1d7f7a=_0x44a0f1[_0x10d62d(0x16d)](_0x56b711[_0x10d62d(0x193)](0x2,0x4)),_0x56b711[_0x10d62d(0x393)](0x0,0x4),_0x43195f[_0x10d62d(0x372)]-=0x10),_0x3a1bec['create']({'ciphertext':_0x43195f,'salt':_0x1d7f7a});}},_0x5113a6=_0x3d8d4d[_0x2a189a(0x391)]=_0x4ccc88[_0x2a189a(0x267)]({'cfg':_0x4ccc88[_0x2a189a(0x267)]({'format':_0x51e65f}),'encrypt':function(_0x3e5d29,_0xe3295a,_0x44bb72,_0x47bff1){var _0x3e1d68=_0x2a189a;_0x47bff1=this[_0x3e1d68(0x1be)]['extend'](_0x47bff1);var _0x47f844=_0x3e5d29[_0x3e1d68(0x32d)](_0x44bb72,_0x47bff1),_0x4382af=_0x47f844['finalize'](_0xe3295a),_0x93bba2=_0x47f844[_0x3e1d68(0x1be)];return _0x3a1bec[_0x3e1d68(0x16d)]({'ciphertext':_0x4382af,'key':_0x44bb72,'iv':_0x93bba2['iv'],'algorithm':_0x3e5d29,'mode':_0x93bba2[_0x3e1d68(0x2d6)],'padding':_0x93bba2[_0x3e1d68(0x2b7)],'blockSize':_0x3e5d29[_0x3e1d68(0x12f)],'formatter':_0x47bff1[_0x3e1d68(0x187)]});},'decrypt':function(_0x7a7401,_0x390755,_0x46c2e3,_0x42aa1d){var _0x64feb1=_0x2a189a;_0x42aa1d=this[_0x64feb1(0x1be)][_0x64feb1(0x267)](_0x42aa1d),_0x390755=this[_0x64feb1(0x306)](_0x390755,_0x42aa1d['format']);var _0x26016b=_0x7a7401[_0x64feb1(0x340)](_0x46c2e3,_0x42aa1d)[_0x64feb1(0x327)](_0x390755[_0x64feb1(0x368)]);return _0x26016b;},'_parse':function(_0x5ed344,_0x3dc40e){var _0x2143f4=_0x2a189a;return typeof _0x5ed344==_0x2143f4(0x37d)?_0x3dc40e[_0x2143f4(0x3b4)](_0x5ed344,this):_0x5ed344;}}),_0x5ab3d8=_0x77d012[_0x2a189a(0x282)]={},_0x344e15=_0x5ab3d8[_0x2a189a(0x296)]={'execute':function(_0x268965,_0x211380,_0x525c3f,_0x3f2ec1,_0x2c0637){var _0x29f57f=_0x2a189a;if(_0x3f2ec1||(_0x3f2ec1=_0x44a0f1['random'](0x40/0x8)),_0x2c0637)var _0x219d2e=_0x3528f9['create']({'keySize':_0x211380+_0x525c3f,'hasher':_0x2c0637})[_0x29f57f(0x136)](_0x268965,_0x3f2ec1);else var _0x219d2e=_0x3528f9['create']({'keySize':_0x211380+_0x525c3f})[_0x29f57f(0x136)](_0x268965,_0x3f2ec1);var _0x95325e=_0x44a0f1[_0x29f57f(0x16d)](_0x219d2e[_0x29f57f(0x33c)][_0x29f57f(0x193)](_0x211380),_0x525c3f*0x4);return _0x219d2e[_0x29f57f(0x372)]=_0x211380*0x4,_0x3a1bec[_0x29f57f(0x16d)]({'key':_0x219d2e,'iv':_0x95325e,'salt':_0x3f2ec1});}},_0x1528ff=_0x3d8d4d[_0x2a189a(0x239)]=_0x5113a6['extend']({'cfg':_0x5113a6[_0x2a189a(0x1be)]['extend']({'kdf':_0x344e15}),'encrypt':function(_0x1d0221,_0x5eb36b,_0x510835,_0x5ae2ec){var _0x1b020b=_0x2a189a;_0x5ae2ec=this[_0x1b020b(0x1be)][_0x1b020b(0x267)](_0x5ae2ec);var _0x2400ef=_0x5ae2ec[_0x1b020b(0x282)]['execute'](_0x510835,_0x1d0221[_0x1b020b(0x278)],_0x1d0221[_0x1b020b(0x16e)],_0x5ae2ec['salt'],_0x5ae2ec[_0x1b020b(0x2ec)]);_0x5ae2ec['iv']=_0x2400ef['iv'];var _0x4bd335=_0x5113a6[_0x1b020b(0x3fa)]['call'](this,_0x1d0221,_0x5eb36b,_0x2400ef[_0x1b020b(0x361)],_0x5ae2ec);return _0x4bd335['mixIn'](_0x2400ef),_0x4bd335;},'decrypt':function(_0x271411,_0x14b24b,_0xd6bc9a,_0x143b2a){var _0x5168ac=_0x2a189a;_0x143b2a=this[_0x5168ac(0x1be)][_0x5168ac(0x267)](_0x143b2a),_0x14b24b=this[_0x5168ac(0x306)](_0x14b24b,_0x143b2a[_0x5168ac(0x187)]);var _0x59df33=_0x143b2a[_0x5168ac(0x282)][_0x5168ac(0x437)](_0xd6bc9a,_0x271411['keySize'],_0x271411[_0x5168ac(0x16e)],_0x14b24b[_0x5168ac(0x3eb)],_0x143b2a[_0x5168ac(0x2ec)]);_0x143b2a['iv']=_0x59df33['iv'];var _0x5b5e96=_0x5113a6[_0x5168ac(0x25f)][_0x5168ac(0x43e)](this,_0x271411,_0x14b24b,_0x59df33[_0x5168ac(0x361)],_0x143b2a);return _0x5b5e96;}});}();}));}(Je)),Je[_0x23cd64(0x14c)];}var Vr=Ve[_0x5b2e46(0x14c)],si;function Gr(){return si||(si=0x1,function(_0x354cbe,_0x575425){(function(_0x266f0d,_0xba6728,_0x24f7d1){_0x354cbe['exports']=_0xba6728(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x46e458){return(function(){var _0x481a1f=_0xf286,_0x1fb254=_0x46e458,_0x58d76a=_0x1fb254[_0x481a1f(0x148)],_0x4c7bb5=_0x58d76a[_0x481a1f(0x199)],_0x130774=_0x1fb254[_0x481a1f(0x1cb)],_0x4c6f2f=[],_0x32eee9=[],_0x5c04b1=[],_0x2c57ba=[],_0x3979ea=[],_0x426ea6=[],_0x312c57=[],_0x167f5c=[],_0xca074d=[],_0x510eee=[];(function(){for(var _0x1398bc=[],_0x2dcfcb=0x0;_0x2dcfcb<0x100;_0x2dcfcb++)_0x2dcfcb<0x80?_0x1398bc[_0x2dcfcb]=_0x2dcfcb<<0x1:_0x1398bc[_0x2dcfcb]=_0x2dcfcb<<0x1^0x11b;for(var _0x3722ca=0x0,_0x571419=0x0,_0x2dcfcb=0x0;_0x2dcfcb<0x100;_0x2dcfcb++){var _0xbde83c=_0x571419^_0x571419<<0x1^_0x571419<<0x2^_0x571419<<0x3^_0x571419<<0x4;_0xbde83c=_0xbde83c>>>0x8^_0xbde83c&0xff^0x63,_0x4c6f2f[_0x3722ca]=_0xbde83c,_0x32eee9[_0xbde83c]=_0x3722ca;var _0x95f0e4=_0x1398bc[_0x3722ca],_0x44fe23=_0x1398bc[_0x95f0e4],_0xcb4faa=_0x1398bc[_0x44fe23],_0x2db95c=_0x1398bc[_0xbde83c]*0x101^_0xbde83c*0x1010100;_0x5c04b1[_0x3722ca]=_0x2db95c<<0x18|_0x2db95c>>>0x8,_0x2c57ba[_0x3722ca]=_0x2db95c<<0x10|_0x2db95c>>>0x10,_0x3979ea[_0x3722ca]=_0x2db95c<<0x8|_0x2db95c>>>0x18,_0x426ea6[_0x3722ca]=_0x2db95c;var _0x2db95c=_0xcb4faa*0x1010101^_0x44fe23*0x10001^_0x95f0e4*0x101^_0x3722ca*0x1010100;_0x312c57[_0xbde83c]=_0x2db95c<<0x18|_0x2db95c>>>0x8,_0x167f5c[_0xbde83c]=_0x2db95c<<0x10|_0x2db95c>>>0x10,_0xca074d[_0xbde83c]=_0x2db95c<<0x8|_0x2db95c>>>0x18,_0x510eee[_0xbde83c]=_0x2db95c,_0x3722ca?(_0x3722ca=_0x95f0e4^_0x1398bc[_0x1398bc[_0x1398bc[_0xcb4faa^_0x95f0e4]]],_0x571419^=_0x1398bc[_0x1398bc[_0x571419]]):_0x3722ca=_0x571419=0x1;}}());var _0x354009=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2dd3da=_0x130774[_0x481a1f(0x312)]=_0x4c7bb5[_0x481a1f(0x267)]({'_doReset':function(){var _0x29a736=_0x481a1f,_0x22eca6;if(!(this[_0x29a736(0x1ce)]&&this['_keyPriorReset']===this[_0x29a736(0x162)])){for(var _0x2da0dd=this[_0x29a736(0x3b1)]=this[_0x29a736(0x162)],_0x51b33b=_0x2da0dd[_0x29a736(0x33c)],_0x28f254=_0x2da0dd[_0x29a736(0x372)]/0x4,_0x37fc5e=this[_0x29a736(0x1ce)]=_0x28f254+0x6,_0x32f568=(_0x37fc5e+0x1)*0x4,_0x4658c2=this[_0x29a736(0x247)]=[],_0x3902b8=0x0;_0x3902b8<_0x32f568;_0x3902b8++)_0x3902b8<_0x28f254?_0x4658c2[_0x3902b8]=_0x51b33b[_0x3902b8]:(_0x22eca6=_0x4658c2[_0x3902b8-0x1],_0x3902b8%_0x28f254?_0x28f254>0x6&&_0x3902b8%_0x28f254==0x4&&(_0x22eca6=_0x4c6f2f[_0x22eca6>>>0x18]<<0x18|_0x4c6f2f[_0x22eca6>>>0x10&0xff]<<0x10|_0x4c6f2f[_0x22eca6>>>0x8&0xff]<<0x8|_0x4c6f2f[_0x22eca6&0xff]):(_0x22eca6=_0x22eca6<<0x8|_0x22eca6>>>0x18,_0x22eca6=_0x4c6f2f[_0x22eca6>>>0x18]<<0x18|_0x4c6f2f[_0x22eca6>>>0x10&0xff]<<0x10|_0x4c6f2f[_0x22eca6>>>0x8&0xff]<<0x8|_0x4c6f2f[_0x22eca6&0xff],_0x22eca6^=_0x354009[_0x3902b8/_0x28f254|0x0]<<0x18),_0x4658c2[_0x3902b8]=_0x4658c2[_0x3902b8-_0x28f254]^_0x22eca6);for(var _0x5bb895=this['_invKeySchedule']=[],_0x279250=0x0;_0x279250<_0x32f568;_0x279250++){var _0x3902b8=_0x32f568-_0x279250;if(_0x279250%0x4)var _0x22eca6=_0x4658c2[_0x3902b8];else var _0x22eca6=_0x4658c2[_0x3902b8-0x4];_0x279250<0x4||_0x3902b8<=0x4?_0x5bb895[_0x279250]=_0x22eca6:_0x5bb895[_0x279250]=_0x312c57[_0x4c6f2f[_0x22eca6>>>0x18]]^_0x167f5c[_0x4c6f2f[_0x22eca6>>>0x10&0xff]]^_0xca074d[_0x4c6f2f[_0x22eca6>>>0x8&0xff]]^_0x510eee[_0x4c6f2f[_0x22eca6&0xff]];}}},'encryptBlock':function(_0x2fe7ad,_0x4e849e){var _0x12a73c=_0x481a1f;this[_0x12a73c(0x2b4)](_0x2fe7ad,_0x4e849e,this[_0x12a73c(0x247)],_0x5c04b1,_0x2c57ba,_0x3979ea,_0x426ea6,_0x4c6f2f);},'decryptBlock':function(_0x2e1c7d,_0x3e3b55){var _0x4459a1=_0x481a1f,_0x2bb653=_0x2e1c7d[_0x3e3b55+0x1];_0x2e1c7d[_0x3e3b55+0x1]=_0x2e1c7d[_0x3e3b55+0x3],_0x2e1c7d[_0x3e3b55+0x3]=_0x2bb653,this[_0x4459a1(0x2b4)](_0x2e1c7d,_0x3e3b55,this['_invKeySchedule'],_0x312c57,_0x167f5c,_0xca074d,_0x510eee,_0x32eee9);var _0x2bb653=_0x2e1c7d[_0x3e3b55+0x1];_0x2e1c7d[_0x3e3b55+0x1]=_0x2e1c7d[_0x3e3b55+0x3],_0x2e1c7d[_0x3e3b55+0x3]=_0x2bb653;},'_doCryptBlock':function(_0x162a37,_0x457fb2,_0x42ff41,_0x38bca0,_0x2e2dba,_0x2644d7,_0x5186f3,_0x10406f){for(var _0x3e971f=this['_nRounds'],_0x40105b=_0x162a37[_0x457fb2]^_0x42ff41[0x0],_0x5a0f10=_0x162a37[_0x457fb2+0x1]^_0x42ff41[0x1],_0x195937=_0x162a37[_0x457fb2+0x2]^_0x42ff41[0x2],_0x594052=_0x162a37[_0x457fb2+0x3]^_0x42ff41[0x3],_0x229515=0x4,_0x35c08e=0x1;_0x35c08e<_0x3e971f;_0x35c08e++){var _0xfdf476=_0x38bca0[_0x40105b>>>0x18]^_0x2e2dba[_0x5a0f10>>>0x10&0xff]^_0x2644d7[_0x195937>>>0x8&0xff]^_0x5186f3[_0x594052&0xff]^_0x42ff41[_0x229515++],_0x5925ca=_0x38bca0[_0x5a0f10>>>0x18]^_0x2e2dba[_0x195937>>>0x10&0xff]^_0x2644d7[_0x594052>>>0x8&0xff]^_0x5186f3[_0x40105b&0xff]^_0x42ff41[_0x229515++],_0x33cce8=_0x38bca0[_0x195937>>>0x18]^_0x2e2dba[_0x594052>>>0x10&0xff]^_0x2644d7[_0x40105b>>>0x8&0xff]^_0x5186f3[_0x5a0f10&0xff]^_0x42ff41[_0x229515++],_0x4252fd=_0x38bca0[_0x594052>>>0x18]^_0x2e2dba[_0x40105b>>>0x10&0xff]^_0x2644d7[_0x5a0f10>>>0x8&0xff]^_0x5186f3[_0x195937&0xff]^_0x42ff41[_0x229515++];_0x40105b=_0xfdf476,_0x5a0f10=_0x5925ca,_0x195937=_0x33cce8,_0x594052=_0x4252fd;}var _0xfdf476=(_0x10406f[_0x40105b>>>0x18]<<0x18|_0x10406f[_0x5a0f10>>>0x10&0xff]<<0x10|_0x10406f[_0x195937>>>0x8&0xff]<<0x8|_0x10406f[_0x594052&0xff])^_0x42ff41[_0x229515++],_0x5925ca=(_0x10406f[_0x5a0f10>>>0x18]<<0x18|_0x10406f[_0x195937>>>0x10&0xff]<<0x10|_0x10406f[_0x594052>>>0x8&0xff]<<0x8|_0x10406f[_0x40105b&0xff])^_0x42ff41[_0x229515++],_0x33cce8=(_0x10406f[_0x195937>>>0x18]<<0x18|_0x10406f[_0x594052>>>0x10&0xff]<<0x10|_0x10406f[_0x40105b>>>0x8&0xff]<<0x8|_0x10406f[_0x5a0f10&0xff])^_0x42ff41[_0x229515++],_0x4252fd=(_0x10406f[_0x594052>>>0x18]<<0x18|_0x10406f[_0x40105b>>>0x10&0xff]<<0x10|_0x10406f[_0x5a0f10>>>0x8&0xff]<<0x8|_0x10406f[_0x195937&0xff])^_0x42ff41[_0x229515++];_0x162a37[_0x457fb2]=_0xfdf476,_0x162a37[_0x457fb2+0x1]=_0x5925ca,_0x162a37[_0x457fb2+0x2]=_0x33cce8,_0x162a37[_0x457fb2+0x3]=_0x4252fd;},'keySize':0x100/0x20});_0x1fb254[_0x481a1f(0x312)]=_0x4c7bb5[_0x481a1f(0x12a)](_0x2dd3da);}()),_0x46e458['AES'];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x5b2e46(0x14c)],ai;function zr(){var _0xb14f22=_0x5b2e46;return ai||(ai=0x1,function(_0x2f1d7b,_0x1fe7ac){(function(_0x8f6828,_0x13efe0){var _0x41c9a8=_0xf286;_0x2f1d7b[_0x41c9a8(0x14c)]=_0x13efe0(ne());}(qr,function(_0x128329){var _0x2f1517=_0xf286;return _0x128329['enc'][_0x2f1517(0x34d)];}));}(Xe)),Xe[_0xb14f22(0x14c)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x6c1c3b,_0x5b344b){(function(_0x547c41,_0x13278f){var _0x4248c4=_0xf286;_0x6c1c3b[_0x4248c4(0x14c)]=_0x13278f(ne());}(Zr,function(_0x5697f5){var _0x457209=_0xf286;return(function(){var _0x36d33e=_0xf286;if(typeof ArrayBuffer==_0x36d33e(0x39a)){var _0x5c91f9=_0x5697f5,_0x19ba59=_0x5c91f9[_0x36d33e(0x148)],_0x1d008c=_0x19ba59[_0x36d33e(0x430)],_0x4ced13=_0x1d008c[_0x36d33e(0x156)],_0x5a8721=_0x1d008c[_0x36d33e(0x156)]=function(_0x3cca70){var _0x9723d2=_0x36d33e;if(_0x3cca70 instanceof ArrayBuffer&&(_0x3cca70=new Uint8Array(_0x3cca70)),(_0x3cca70 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3cca70 instanceof Uint8ClampedArray||_0x3cca70 instanceof Int16Array||_0x3cca70 instanceof Uint16Array||_0x3cca70 instanceof Int32Array||_0x3cca70 instanceof Uint32Array||_0x3cca70 instanceof Float32Array||_0x3cca70 instanceof Float64Array)&&(_0x3cca70=new Uint8Array(_0x3cca70[_0x9723d2(0x17f)],_0x3cca70[_0x9723d2(0x18f)],_0x3cca70['byteLength'])),_0x3cca70 instanceof Uint8Array){for(var _0x2bfbbd=_0x3cca70[_0x9723d2(0x441)],_0x596e7e=[],_0x3297d0=0x0;_0x3297d0<_0x2bfbbd;_0x3297d0++)_0x596e7e[_0x3297d0>>>0x2]|=_0x3cca70[_0x3297d0]<<0x18-_0x3297d0%0x4*0x8;_0x4ced13[_0x9723d2(0x43e)](this,_0x596e7e,_0x2bfbbd);}else _0x4ced13[_0x9723d2(0x341)](this,arguments);};_0x5a8721[_0x36d33e(0x332)]=_0x1d008c;}}()),_0x5697f5[_0x457209(0x148)][_0x457209(0x430)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x78bf0f=_0x5b2e46;return hi||(hi=0x1,function(_0x7eaff9,_0x591bda){(function(_0x194e55,_0x2dd12e,_0xc899da){var _0x1401d4=_0xf286;_0x7eaff9[_0x1401d4(0x14c)]=_0x2dd12e(ne(),Ai());}(is,function(_0x1e7aa8){var _0x19099d=_0xf286;return _0x1e7aa8[_0x19099d(0x18a)][_0x19099d(0x2ee)]={'pad':function(){},'unpad':function(){}},_0x1e7aa8[_0x19099d(0x18a)][_0x19099d(0x2ee)];}));}(Qe)),Qe[_0x78bf0f(0x14c)];}var rs=ns();const ss=ke(rs);function os(_0x12fdfb,_0x32d22c){var _0x109088=_0x5b2e46;const _0x25e3de=_0x32d22c-_0x12fdfb[_0x109088(0x2cc)]%_0x32d22c,_0x20beaf=String[_0x109088(0x27b)](_0x25e3de)['repeat'](_0x25e3de);return _0x12fdfb+_0x20beaf;}function as(_0x2c0c29,_0x21095b){var _0x6b6fc5=_0x5b2e46;const _0x171e6b=ts[_0x6b6fc5(0x3df)](0x10),_0x519428=os(_0x2c0c29,0x10),_0xde113d=Kr[_0x6b6fc5(0x3fa)](Xr[_0x6b6fc5(0x3b4)](_0x519428),oi[_0x6b6fc5(0x3b4)](_0x21095b),{'iv':_0x171e6b,'padding':ss});return _0x171e6b[_0x6b6fc5(0x310)](_0xde113d[_0x6b6fc5(0x368)])[_0x6b6fc5(0x405)](oi);}function cs(){var _0x389c19=_0x5b2e46;const _0x336f91=_0x1bed3e()[_0x389c19(0x259)];if(_0x336f91){const _0x5b90e9={'time':Math[_0x389c19(0x184)](Date[_0x389c19(0x128)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x389c19(0x374)](_0x5b90e9),_0x336f91);}}var hs=Object[_0x5b2e46(0x1db)],_s=Object[_0x5b2e46(0x3bb)],ls=(_0x45ba57,_0x57d447,_0x41b5b7,_0x2683a0)=>{for(var _0x37534d=_0x2683a0>0x1?void 0x0:_0x2683a0?_s(_0x57d447,_0x41b5b7):_0x57d447,_0x5f0591=_0x45ba57['length']-0x1,_0xb86f3d;_0x5f0591>=0x0;_0x5f0591--)(_0xb86f3d=_0x45ba57[_0x5f0591])&&(_0x37534d=(_0x2683a0?_0xb86f3d(_0x57d447,_0x41b5b7,_0x37534d):_0xb86f3d(_0x37534d))||_0x37534d);return _0x2683a0&&_0x37534d&&hs(_0x57d447,_0x41b5b7,_0x37534d),_0x37534d;},us=(_0x10b2f8,_0x4ece30)=>(_0x4d42b4,_0x4da0df)=>_0x4ece30(_0x4d42b4,_0x4da0df,_0x10b2f8);let ot=class{constructor(_0x30cf35){var _0x2d23dd=_0x5b2e46;this[_0x2d23dd(0x1f9)]=_0x30cf35,this[_0x2d23dd(0x14b)]();}['_initRequestHeader'](){var _0x1feeab=_0x5b2e46;this[_0x1feeab(0x1f9)][_0x1feeab(0x34e)]({'interceptor':(_0x1096d3,_0x5e36f5)=>{var _0x1350c9=_0x1feeab;const _0x597ecb=_0x1096d3[_0x1350c9(0x198)],_0x4c7071=cs();return _0x4c7071&&_0x597ecb[_0x1350c9(0x2ce)](_0x1350c9(0x3a3),_0x4c7071),_0x5e36f5(_0x1096d3);}});}};ot=ls([us(0x0,_0x93b1fb(_0x326cb2))],ot);var ds=Object[_0x5b2e46(0x1db)],fs=Object['getOwnPropertyDescriptor'],vs=(_0x58c68b,_0x4b6f07,_0x3821b7,_0x4bf947)=>{var _0xed10cc=_0x5b2e46;for(var _0xecc6ee=_0x4bf947>0x1?void 0x0:_0x4bf947?fs(_0x4b6f07,_0x3821b7):_0x4b6f07,_0x22995f=_0x58c68b[_0xed10cc(0x2cc)]-0x1,_0x2406bc;_0x22995f>=0x0;_0x22995f--)(_0x2406bc=_0x58c68b[_0x22995f])&&(_0xecc6ee=(_0x4bf947?_0x2406bc(_0x4b6f07,_0x3821b7,_0xecc6ee):_0x2406bc(_0xecc6ee))||_0xecc6ee);return _0x4bf947&&_0xecc6ee&&ds(_0x4b6f07,_0x3821b7,_0xecc6ee),_0xecc6ee;},mt=(_0x53ee38,_0x4bacc8)=>(_0x41bb14,_0x35f02f)=>_0x4bacc8(_0x41bb14,_0x35f02f,_0x53ee38);let Ot=class extends _0x55185b{constructor(_0x5938ba,_0x171c5e,_0xe543aa){var _0x57a66f=_0x5b2e46;super(),N(this,_0x57a66f(0x337),new _0x560e61(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x57a66f(0x1c1)]()),(this[_0x57a66f(0x209)]=_0x5938ba,this['_snapshotService']=_0x171c5e,this[_0x57a66f(0x3ca)]=_0xe543aa);}async[_0x5b2e46(0x27d)](_0x4d1f6d,_0x445315,_0x204d07){var _0x4327a2=_0x5b2e46;this[_0x4327a2(0x337)][_0x4327a2(0x2ba)]({'unitId':_0x4d1f6d,'type':_0x445315,'subUnitId':_0x204d07});let _0x50cb31=null;switch(_0x445315){case Q['UNIVER_SHEET']:{_0x50cb31=await this[_0x4327a2(0x168)](_0x4d1f6d);break;}case Q[_0x4327a2(0x1c5)]:{_0x50cb31=await this['_loadDoc'](_0x4d1f6d);break;}default:{this['_logService']['error'](_0x4327a2(0x3c2),_0x4327a2(0x21d));break;}}return _0x50cb31;}async['_loadSheet'](_0x3e548f){var _0x3a255d=_0x5b2e46,_0x23be8d;let _0x51ff78=0x0;const _0x519cad=await((_0x23be8d=this[_0x3a255d(0x3ca)])==null?void 0x0:_0x23be8d['loadOfflineData'](_0x3e548f));return _0x519cad&&(_0x519cad[_0x3a255d(0x17c)]||_0x519cad[_0x3a255d(0x229)][_0x3a255d(0x2cc)]!==0x0)&&(_0x51ff78=_0x519cad[_0x3a255d(0x1bf)]),_0x51ff78===0x0&&this[_0x3a255d(0x209)]['debug']('[DataLoaderService]',_0x3a255d(0x19d)),this['_snapshotService'][_0x3a255d(0x281)](_0x3e548f,_0x51ff78);}async['_loadDoc'](_0x5f3e97){var _0x3a5219=_0x5b2e46,_0x2f5a48;let _0x43c94d=0x0;const _0x1f3410=await((_0x2f5a48=this['_localCacheService'])==null?void 0x0:_0x2f5a48[_0x3a5219(0x355)](_0x5f3e97));return _0x1f3410&&(_0x1f3410[_0x3a5219(0x17c)]||_0x1f3410[_0x3a5219(0x229)]['length']!==0x0)&&(_0x43c94d=_0x1f3410[_0x3a5219(0x1bf)]),_0x43c94d===0x0&&this['_logService'][_0x3a5219(0x212)](_0x3a5219(0x3c2),_0x3a5219(0x19d)),this[_0x3a5219(0x315)][_0x3a5219(0x15a)](_0x5f3e97,_0x43c94d);}};Ot=vs([mt(0x0,_0x3feb90),mt(0x1,_0x93b1fb(_0x593955)),mt(0x2,_0x2480cc(J))],Ot);var ps=Object[_0x5b2e46(0x1db)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x3b8dd4,_0x2227eb,_0x5b7173,_0x91fd74)=>{var _0x2e10bd=_0x5b2e46;for(var _0x5cfcf4=_0x91fd74>0x1?void 0x0:_0x91fd74?ms(_0x2227eb,_0x5b7173):_0x2227eb,_0x10a611=_0x3b8dd4[_0x2e10bd(0x2cc)]-0x1,_0x791c87;_0x10a611>=0x0;_0x10a611--)(_0x791c87=_0x3b8dd4[_0x10a611])&&(_0x5cfcf4=(_0x91fd74?_0x791c87(_0x2227eb,_0x5b7173,_0x5cfcf4):_0x791c87(_0x5cfcf4))||_0x5cfcf4);return _0x91fd74&&_0x5cfcf4&&ps(_0x2227eb,_0x5b7173,_0x5cfcf4),_0x5cfcf4;},gt=(_0x5813f5,_0x49542f)=>(_0x2bf225,_0x151804)=>_0x49542f(_0x2bf225,_0x151804,_0x5813f5);const Ss=[_0x5b2e46(0x3ba),_0x5b2e46(0x36b),'image/jpg',_0x5b2e46(0x3f7),_0x5b2e46(0x171)],Es=0x5*0x400*0x400,Is=_0x5b2e46(0x2e4),Ts=_0x5b2e46(0x357),Cs=_0x5b2e46(0x191),Rs=_0x5b2e46(0x1a6);let yt=class{constructor(_0x4bef8e,_0x913066,_0x8f3a2d){var _0xc0a4ed=_0x5b2e46;N(this,_0xc0a4ed(0x1b0),0x0),N(this,_0xc0a4ed(0x2d7),new _0xb18d4e()),N(this,_0xc0a4ed(0x3e4),this['_change$']),N(this,_0xc0a4ed(0x29b),new Map()),(this['_httpService']=_0x4bef8e,this[_0xc0a4ed(0x3f1)]=_0x913066,this[_0xc0a4ed(0x1ec)]=_0x8f3a2d);}[_0x5b2e46(0x207)](_0x414c67){var _0x1bb9ca=_0x5b2e46;this[_0x1bb9ca(0x1b0)]=_0x414c67,this[_0x1bb9ca(0x2d7)][_0x1bb9ca(0x2ba)](_0x414c67);}[_0x5b2e46(0x42e)](_0x39bad9,_0x49bc1e){var _0x34f78d=_0x5b2e46;if(_0x49bc1e===_0x241e90['BASE64']){const _0x4b4154=new Image();return _0x4b4154[_0x34f78d(0x1a0)]=_0x39bad9,_0x4b4154;}return this[_0x34f78d(0x29b)][_0x34f78d(0x30d)](_0x39bad9);}['addImageSourceCache'](_0x4307f7,_0x51161f,_0x4871cb){var _0x397e28=_0x5b2e46;_0x51161f===_0x241e90[_0x397e28(0x15b)]||_0x4871cb==null||this[_0x397e28(0x29b)][_0x397e28(0x2ce)](_0x4307f7,_0x4871cb);}async[_0x5b2e46(0x1ae)](_0xecb8b4){var _0x279c2e=_0x5b2e46;try{const _0x64bbea=this[_0x279c2e(0x2f6)](this[_0x279c2e(0x3cb)](),''+_0xecb8b4),_0x1413c0=(await this[_0x279c2e(0x1f9)]['get'](_0x64bbea))[_0x279c2e(0x3e6)];if(_0x1413c0['error']&&_0x1413c0[_0x279c2e(0x1e9)]['code']===Ii['OK']){const _0xece6e0=new URL(_0x1413c0[_0x279c2e(0x2f8)],this[_0x279c2e(0x3dd)]())[_0x279c2e(0x405)]();return Promise[_0x279c2e(0x1d4)](_0xece6e0);}return Promise[_0x279c2e(0x2b0)](_0x1413c0[_0x279c2e(0x1e9)]);}catch(_0x41a8bc){return Promise[_0x279c2e(0x2b0)](_0x41a8bc);}}async['saveImage'](_0x2f7fd4){var _0xa4e33f=_0x5b2e46;let _0xaa8f71='';if(!Ss[_0xa4e33f(0x41d)](_0x2f7fd4['type']))return this[_0xa4e33f(0x427)](),Promise[_0xa4e33f(0x2b0)](new Error(_0x2e3be1['ERROR_IMAGE_TYPE']));if(_0x2f7fd4['size']>Es)return this[_0xa4e33f(0x427)](),Promise['reject'](new Error(_0x2e3be1['ERROR_EXCEED_SIZE']));try{const _0x719380=new FormData();_0x719380[_0xa4e33f(0x396)](_0xa4e33f(0x422),_0x2f7fd4);const _0x4b59c3=this[_0xa4e33f(0x1ec)][_0xa4e33f(0x3d8)](),_0x2ec371=_0x4b59c3==null?void 0x0:_0x4b59c3['getUnitId']();if(!_0x2ec371)throw new Error('unitId\x20is\x20not\x20found');const _0x917c1d=this[_0xa4e33f(0x234)]()+'?size='+_0x2f7fd4[_0xa4e33f(0x2b2)][_0xa4e33f(0x405)]()+_0xa4e33f(0x2e2)+Ti[_0xa4e33f(0x416)]+_0xa4e33f(0x146)+encodeURIComponent(_0x2ec371),_0x2b7b63=await(await fetch(_0x917c1d,{'method':'POST','body':_0x719380}))['json']();if(typeof _0x2b7b63['FileId']!=_0xa4e33f(0x37d))return this[_0xa4e33f(0x427)](),Promise[_0xa4e33f(0x2b0)](new Error(_0x2e3be1['ERROR_IMAGE']));_0xaa8f71=_0x2b7b63[_0xa4e33f(0x1d2)];}catch{return this[_0xa4e33f(0x427)](),Promise['reject'](new Error(_0x2e3be1[_0xa4e33f(0x31d)]));}return new Promise((_0x260cc7,_0x1405b3)=>{var _0x12a486=_0xa4e33f;const _0x1bd4df=new FileReader();_0x1bd4df[_0x12a486(0x43f)](_0x2f7fd4),_0x1bd4df['onload']=_0x73bf98=>{var _0x3f2c6a=_0x12a486,_0x47fdec;const _0x42995e=(_0x47fdec=_0x73bf98[_0x3f2c6a(0x3e0)])==null?void 0x0:_0x47fdec[_0x3f2c6a(0x295)];if(_0x42995e==null){this[_0x3f2c6a(0x427)](),_0x1405b3(new Error(_0x2e3be1['ERROR_IMAGE']));return;}const _0x31db10=_0x532cc5[_0x3f2c6a(0x28b)](0x6);_0x260cc7({'imageId':_0x31db10,'imageSourceType':_0x241e90[_0x3f2c6a(0x2e3)],'source':_0xaa8f71,'base64Cache':_0x42995e,'status':_0x2e3be1[_0x3f2c6a(0x219)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x223091=_0x5b2e46,_0x278547,_0x3bc22c;const _0x1e91bf=this[_0x223091(0x3f1)][_0x223091(0x345)](Is),_0xccae18=this['_configService'][_0x223091(0x345)](q);return(_0x3bc22c=(_0x278547=_0xccae18==null?void 0x0:_0xccae18[_0x223091(0x1ed)])!=null?_0x278547:_0x1e91bf)!=null?_0x3bc22c:Ts;}[_0x5b2e46(0x3cb)](){var _0x488e9e=_0x5b2e46,_0x3b805d,_0x21a7f2;const _0x30d248=this[_0x488e9e(0x3f1)][_0x488e9e(0x345)](Cs),_0x1a25fe=this[_0x488e9e(0x3f1)][_0x488e9e(0x345)](q);return(_0x21a7f2=(_0x3b805d=_0x1a25fe==null?void 0x0:_0x1a25fe[_0x488e9e(0x1b7)])!=null?_0x3b805d:_0x30d248)!=null?_0x21a7f2:Rs;}[_0x5b2e46(0x3dd)](){var _0x4b7d20=_0x5b2e46,_0x387c1c;const _0x2bc88a=this[_0x4b7d20(0x3f1)][_0x4b7d20(0x345)](q);return(_0x387c1c=_0x2bc88a==null?void 0x0:_0x2bc88a['downloadEndpointUrl'])!=null?_0x387c1c:location[_0x4b7d20(0x408)];}[_0x5b2e46(0x2f6)](_0x1ad968,_0x2f525c){var _0x52c17d=_0x5b2e46;return _0x1ad968[_0x52c17d(0x428)](_0x52c17d(0x3c0),_0x2f525c);}[_0x5b2e46(0x427)](){var _0x4429b9=_0x5b2e46;this[_0x4429b9(0x1b0)]-=0x1,this[_0x4429b9(0x2d7)]['next'](this[_0x4429b9(0x1b0)]);}};yt=gs([gt(0x0,_0x93b1fb(_0x326cb2)),gt(0x1,_0x4288b6),gt(0x2,_0x93b1fb(_0x2b0fa0))],yt);var bs=Object['defineProperty'],Os=Object[_0x5b2e46(0x3bb)],ys=(_0x2b2e4c,_0x3bd4be,_0x1c02b2,_0x4f81eb)=>{var _0x44e7f4=_0x5b2e46;for(var _0x510f34=_0x4f81eb>0x1?void 0x0:_0x4f81eb?Os(_0x3bd4be,_0x1c02b2):_0x3bd4be,_0x580c14=_0x2b2e4c[_0x44e7f4(0x2cc)]-0x1,_0x3c3c9e;_0x580c14>=0x0;_0x580c14--)(_0x3c3c9e=_0x2b2e4c[_0x580c14])&&(_0x510f34=(_0x4f81eb?_0x3c3c9e(_0x3bd4be,_0x1c02b2,_0x510f34):_0x3c3c9e(_0x510f34))||_0x510f34);return _0x4f81eb&&_0x510f34&&bs(_0x3bd4be,_0x1c02b2,_0x510f34),_0x510f34;},_i=(_0x521135,_0x2c635f)=>(_0x50045c,_0x4ab452)=>_0x2c635f(_0x50045c,_0x4ab452,_0x521135);const Ns=_0x5b2e46(0x362);let Nt=class{constructor(_0x14c925,_0x2b0491){var _0x402738=_0x5b2e46;this[_0x402738(0x3f1)]=_0x14c925,this[_0x402738(0x31c)]=_0x2b0491;}[_0x5b2e46(0x23c)](){var _0xc96af7=_0x5b2e46,_0x64000f,_0x232ec0;const _0x417e9e=this[_0xc96af7(0x3f1)]['getConfig'](Pi),_0x310a63=this['_configService']['getConfig'](q);return(_0x232ec0=(_0x64000f=_0x310a63==null?void 0x0:_0x310a63[_0xc96af7(0x326)])!=null?_0x64000f:_0x417e9e)!=null?_0x232ec0:Ns;}async[_0x5b2e46(0x223)](_0x1ef790){var _0xba08fb=_0x5b2e46;const _0x3562fd=this[_0xba08fb(0x23c)]()+_0xba08fb(0x38e);return{'list':[{'title':_0xba08fb(0x1c3),'mentions':(await this[_0xba08fb(0x31c)][_0xba08fb(0x30d)](_0x3562fd,{'params':{'objectID':_0x1ef790[_0xba08fb(0x429)],'unitID':_0x1ef790['unitId']}}))['body'][_0xba08fb(0x2e7)][_0xba08fb(0x34a)](_0x348cc9=>({'objectId':_0x348cc9['id'],'name':_0x348cc9[_0xba08fb(0x3cf)][_0xba08fb(0x2d8)],'metadata':{'icon':_0x348cc9[_0xba08fb(0x3cf)][_0xba08fb(0x3fd)]},'label':_0x348cc9[_0xba08fb(0x3cf)][_0xba08fb(0x2d8)],'objectType':_0x46b744[_0xba08fb(0x2cb)]})),'metadata':{},'type':_0x46b744[_0xba08fb(0x2cb)]}]};}};Nt=ys([_i(0x0,_0x93b1fb(_0x4288b6)),_i(0x1,_0x93b1fb(_0x326cb2))],Nt);var Ds=Object[_0x5b2e46(0x1db)],Ps=Object[_0x5b2e46(0x3bb)],ws=(_0x556dc5,_0x5a1e3c,_0x341ac9,_0x846dd6)=>{var _0x2ea0c4=_0x5b2e46;for(var _0x2677c7=_0x846dd6>0x1?void 0x0:_0x846dd6?Ps(_0x5a1e3c,_0x341ac9):_0x5a1e3c,_0x20d8b5=_0x556dc5[_0x2ea0c4(0x2cc)]-0x1,_0x5c60cd;_0x20d8b5>=0x0;_0x20d8b5--)(_0x5c60cd=_0x556dc5[_0x20d8b5])&&(_0x2677c7=(_0x846dd6?_0x5c60cd(_0x5a1e3c,_0x341ac9,_0x2677c7):_0x5c60cd(_0x2677c7))||_0x2677c7);return _0x846dd6&&_0x2677c7&&Ds(_0x5a1e3c,_0x341ac9,_0x2677c7),_0x2677c7;},Se=(_0x29466a,_0x2a67fb)=>(_0x1800f6,_0x564814)=>_0x2a67fb(_0x1800f6,_0x564814,_0x29466a);let at=class extends _0x55185b{constructor(_0x44a000,_0x5141ee,_0x397a85,_0x30fa60,_0x4aeafe,_0x3066b2,_0x3d6657){var _0x195b3e=_0x5b2e46;super(),this[_0x195b3e(0x1d7)]=_0x44a000,this[_0x195b3e(0x1ec)]=_0x5141ee,this['_permissionService']=_0x397a85,this['_collaborationSessionService']=_0x30fa60,this[_0x195b3e(0x302)]=_0x4aeafe,this[_0x195b3e(0x2ac)]=_0x3066b2,this[_0x195b3e(0x254)]=_0x3d6657,this['_initUnitPermissionChange'](),this[_0x195b3e(0x3c6)]();}[_0x5b2e46(0x3c6)](){var _0x2047d2=_0x5b2e46;const _0x28ef6=async _0x15e531=>{var _0x4a9495=_0xf286;(await this[_0x4a9495(0x313)][_0x4a9495(0x133)](_0x15e531))[_0x4a9495(0x3a2)]['pipe'](_0x45e415(_0x183c61=>_0x183c61[_0x4a9495(0x2a4)]===_0x5804c0[_0x4a9495(0x42d)]),_0x5b733f(this[_0x4a9495(0x285)]))[_0x4a9495(0x1bb)](_0x1418f4=>{var _0x55dcab=_0x4a9495;const _0x21a054=_0x1418f4,{reason:_0x3c78a9}=_0x21a054['data'];this[_0x55dcab(0x302)][_0x55dcab(0x262)]({'id':se[_0x55dcab(0x20f)],'data':_0x3c78a9}),this[_0x55dcab(0x417)][_0x55dcab(0x22e)](new _0x1b2024(_0x15e531)['id'],!0x1),this[_0x55dcab(0x313)]['closeSession'](_0x15e531);});};_0x385d67(this[_0x2047d2(0x1ec)][_0x2047d2(0x151)](_0x1d991f[_0x2047d2(0x183)]),this[_0x2047d2(0x1ec)][_0x2047d2(0x151)](_0x1d991f[_0x2047d2(0x1c5)]))[_0x2047d2(0x42b)](_0x12fd80(_0x472628=>_0x472628[_0x2047d2(0x338)]()),_0x45e415(_0x1133e1=>!_0x488c42(_0x1133e1)),_0x5b733f(this[_0x2047d2(0x285)]))[_0x2047d2(0x1bb)](_0x302b2b=>{_0x28ef6(_0x302b2b);});}[_0x5b2e46(0x3b5)](){var _0x7e0774=_0x5b2e46;const _0x4023f9=async _0x464df3=>{var _0x3e3c33=_0xf286;const _0x2f6bb6=await this['_collaborationSessionService'][_0x3e3c33(0x133)](_0x464df3),_0x28ee69=this[_0x3e3c33(0x1d7)][_0x3e3c33(0x30d)](_0x23dd43);_0x2f6bb6[_0x3e3c33(0x3a2)][_0x3e3c33(0x42b)](_0x45e415(_0x2613ea=>_0x2613ea[_0x3e3c33(0x2a4)]===_0x5804c0[_0x3e3c33(0x2a9)]),_0x5b733f(this[_0x3e3c33(0x285)]))[_0x3e3c33(0x1bb)](_0x52aeb1=>{var _0x2d4c2f=_0x3e3c33;const _0x3b5c1e=_0x52aeb1,{objectId:_0x3008ca}=_0x3b5c1e[_0x2d4c2f(0x3e8)];_0x3008ca===_0x464df3?_0x28ee69[_0x2d4c2f(0x20a)](_0x464df3):_0x28ee69[_0x2d4c2f(0x272)](_0x464df3,_0x3008ca);});};_0x385d67(this[_0x7e0774(0x1ec)]['getTypeOfUnitAdded$'](_0x1d991f[_0x7e0774(0x183)]),this['_univerInstanceService'][_0x7e0774(0x151)](_0x1d991f[_0x7e0774(0x1c5)]))['pipe'](_0x12fd80(_0xd775ac=>_0xd775ac['getUnitId']()),_0x45e415(_0x12214a=>!_0x488c42(_0x12214a)),_0x5b733f(this['dispose$']))[_0x7e0774(0x1bb)](_0x350d81=>{_0x4023f9(_0x350d81);});}};at=ws([Se(0x0,_0x93b1fb(_0x19c3a9)),Se(0x1,_0x2b0fa0),Se(0x2,_0x438398),Se(0x3,_0x93b1fb(Le)),Se(0x4,_0x93b1fb(pe)),Se(0x5,_0x33891c),Se(0x6,_0x48bd3c)],at);var Us=Object[_0x5b2e46(0x1db)],As=Object['getOwnPropertyDescriptor'],xs=(_0x280ece,_0x53ccab,_0x21061b,_0x313214)=>{var _0x12c7e3=_0x5b2e46;for(var _0x417e8f=_0x313214>0x1?void 0x0:_0x313214?As(_0x53ccab,_0x21061b):_0x53ccab,_0x4cddf5=_0x280ece[_0x12c7e3(0x2cc)]-0x1,_0x45a0c6;_0x4cddf5>=0x0;_0x4cddf5--)(_0x45a0c6=_0x280ece[_0x4cddf5])&&(_0x417e8f=(_0x313214?_0x45a0c6(_0x53ccab,_0x21061b,_0x417e8f):_0x45a0c6(_0x417e8f))||_0x417e8f);return _0x313214&&_0x417e8f&&Us(_0x53ccab,_0x21061b,_0x417e8f),_0x417e8f;},li=(_0x44f7c2,_0x42b6d0)=>(_0x18dd8c,_0x33a690)=>_0x42b6d0(_0x18dd8c,_0x33a690,_0x44f7c2);let Dt=class{constructor(_0x2de968,_0x4c4b2e){var _0x4cb11c=_0x5b2e46;this[_0x4cb11c(0x3f1)]=_0x2de968,this[_0x4cb11c(0x1f9)]=_0x4c4b2e;}async[_0x5b2e46(0x298)](_0x2c2381,_0x1a89eb){var _0x3f767a=_0x5b2e46,_0x14f630;const {unitID:_0x2e2193,type:_0x3360dd,revision:_0x2e3e8b=0x0}=_0x1a89eb,_0x44dfbb=this[_0x3f767a(0x293)]()+'/'+_0x3360dd+'/unit/'+_0x2e2193+_0x3f767a(0x194)+_0x2e3e8b,_0x7b4c22=(await this[_0x3f767a(0x1f9)]['get'](_0x44dfbb))[_0x3f767a(0x3e6)],_0x18b8a4=(_0x14f630=_0x7b4c22[_0x3f767a(0x397)])==null?void 0x0:_0x14f630[_0x3f767a(0x170)];if(_0x18b8a4){const _0x5ae2ff=_0x18b8a4==null?void 0x0:_0x18b8a4[_0x3f767a(0x274)],_0x2eab3a=_0x27e109['encode'](_0x2c08cb(_0x5ae2ff));_0x18b8a4['originalMeta']=_0x2eab3a,Object[_0x3f767a(0x410)](_0x18b8a4['sheets'])[_0x3f767a(0x387)](([,_0x47d443])=>{var _0x43881c=_0x3f767a;const _0x112b17=_0x47d443[_0x43881c(0x274)],_0x2309f3=_0x27e109[_0x43881c(0x321)](_0x2c08cb(_0x112b17));_0x47d443['originalMeta']=_0x2309f3;});}return _0x7b4c22;}async[_0x5b2e46(0x320)](_0x186e14,_0x4d7839){var _0x593190=_0x5b2e46;const {unitID:_0xec6df6,type:_0x2bfa99,blockID:_0x18b402}=_0x4d7839,_0x3591e0=this['_getAPIPrefix']()+'/'+_0x2bfa99+_0x593190(0x33e)+_0xec6df6+_0x593190(0x19b)+_0x18b402;return(await this[_0x593190(0x1f9)]['get'](_0x3591e0))[_0x593190(0x3e6)];}async[_0x5b2e46(0x3f6)](_0x5c671f,_0x485ba0){var _0x3f4594=_0x5b2e46;const {unitID:_0x4c1273,type:_0x55bbdb,blockID:_0x4f9e21}=_0x485ba0,_0x579ac6=this[_0x3f4594(0x131)]()+_0x3f4594(0x19b)+_0x55bbdb+_0x3f4594(0x33e)+_0x4c1273+'/block/'+_0x4f9e21;return(await this[_0x3f4594(0x1f9)][_0x3f4594(0x30d)](_0x579ac6))[_0x3f4594(0x3e6)];}async['fetchMissingChangesets'](_0x20fdf3,_0x1e19d4){var _0x16fd2b=_0x5b2e46;const {unitID:_0x3383aa,type:_0x4bb92d,from:_0x5c59a8,to:_0x1d936f}=_0x1e19d4,_0x4abe7a=this['_getAPIPrefix']()+'/'+_0x4bb92d+_0x16fd2b(0x33e)+_0x3383aa+_0x16fd2b(0x2fd)+_0x5c59a8+_0x16fd2b(0x12d)+_0x1d936f;return(await this[_0x16fd2b(0x1f9)][_0x16fd2b(0x30d)](_0x4abe7a))[_0x16fd2b(0x3e6)];}[_0x5b2e46(0x293)](){var _0x1e92d3=_0x5b2e46,_0x485b11;return(_0x485b11=this[_0x1e92d3(0x3f1)]['getConfig'](Tn))!=null?_0x485b11:this[_0x1e92d3(0x131)]();}[_0x5b2e46(0x131)](){var _0x4ae753=_0x5b2e46,_0x243c4e,_0xd28e34;const _0x4e9221=this[_0x4ae753(0x3f1)][_0x4ae753(0x345)](En),_0x3c3440=this['_configService'][_0x4ae753(0x345)](q);return(_0xd28e34=(_0x243c4e=_0x3c3440==null?void 0x0:_0x3c3440['snapshotServerUrl'])!=null?_0x243c4e:_0x4e9221)!=null?_0xd28e34:In;}async[_0x5b2e46(0x1f3)](_0x357a1a,_0x5e8a5c){var _0x1f29ac=_0x5b2e46;const _0x386cb1=_0x1f29ac(0x256)+_0x5e8a5c[_0x1f29ac(0x36e)]+'/unit/'+_0x5e8a5c[_0x1f29ac(0x238)]+_0x1f29ac(0x13c);return(await this[_0x1f29ac(0x1f9)]['get'](_0x386cb1,{'params':{'resourceId':JSON[_0x1f29ac(0x374)](_0x5e8a5c[_0x1f29ac(0x2b3)])}}))['body'];}['saveSnapshot'](){var _0x2dc1a2=_0x5b2e46;throw new Error(_0x2dc1a2(0x226));}[_0x5b2e46(0x388)](){var _0x3286e7=_0x5b2e46;throw new Error(_0x3286e7(0x226));}[_0x5b2e46(0x26d)](){var _0xa9ce67=_0x5b2e46;throw new Error(_0xa9ce67(0x226));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5b2e46(0x13f)](){var _0x57740e=_0x5b2e46;throw new Error(_0x57740e(0x226));}};Dt=xs([li(0x0,_0x4288b6),li(0x1,_0x93b1fb(_0x326cb2))],Dt);var Ls=Object[_0x5b2e46(0x1db)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x337c91,_0x3d5c6c,_0x523d68,_0x29ee9b)=>{for(var _0x2c82f9=_0x29ee9b>0x1?void 0x0:_0x29ee9b?Ms(_0x3d5c6c,_0x523d68):_0x3d5c6c,_0x4197b0=_0x337c91['length']-0x1,_0x26e1af;_0x4197b0>=0x0;_0x4197b0--)(_0x26e1af=_0x337c91[_0x4197b0])&&(_0x2c82f9=(_0x29ee9b?_0x26e1af(_0x3d5c6c,_0x523d68,_0x2c82f9):_0x26e1af(_0x2c82f9))||_0x2c82f9);return _0x29ee9b&&_0x2c82f9&&Ls(_0x3d5c6c,_0x523d68,_0x2c82f9),_0x2c82f9;},Ae=(_0x29f999,_0xa465a5)=>(_0x1bd70e,_0x53e8b1)=>_0xa465a5(_0x1bd70e,_0x53e8b1,_0x29f999);let Pt=class extends _0x38d9c3{constructor(_0x3fb423,_0x241a46,_0x15ef1c,_0x40f7b8,_0x2f52be){var _0x5ac830=_0x5b2e46;super(_0x3fb423,_0x241a46,_0x15ef1c),this[_0x5ac830(0x1bd)]=_0x40f7b8,this[_0x5ac830(0x209)]=_0x2f52be;}[_0x5b2e46(0x1b5)](_0x3432ff,_0x27a3ff){var _0x22c7ea=_0x5b2e46;const _0x202dfa=this[_0x22c7ea(0x197)](_0x3432ff);if(_0x202dfa)try{const _0x72ebfd=this[_0x22c7ea(0x208)](_0x202dfa,_0x27a3ff);this[_0x22c7ea(0x22b)](_0x3432ff,_0x72ebfd);}catch(_0xc0ad1){this[_0x22c7ea(0x209)][_0x22c7ea(0x1e9)](_0x22c7ea(0x22c),_0xc0ad1),this['_clearUndo'](_0x3432ff);}const _0x3a9d7c=this['_getRedoStack'](_0x3432ff);if(_0x3a9d7c)try{const _0x147cb6=this[_0x22c7ea(0x208)](_0x3a9d7c,_0x27a3ff);this['_substituteRedoStack'](_0x3432ff,_0x147cb6);}catch(_0x29ab69){this[_0x22c7ea(0x209)][_0x22c7ea(0x1e9)](_0x29ab69),this[_0x22c7ea(0x250)](_0x3432ff);}}['_clearUndo'](_0x1a91a9){var _0x495d43=_0x5b2e46;const _0x334cdd=this[_0x495d43(0x197)](_0x1a91a9);_0x334cdd&&(_0x334cdd[_0x495d43(0x2cc)]=0x0,this[_0x495d43(0x3f5)]());}[_0x5b2e46(0x250)](_0x37990d){var _0x4bbaec=_0x5b2e46;const _0x2da7c0=this['_getRedoStack'](_0x37990d);_0x2da7c0&&(_0x2da7c0[_0x4bbaec(0x2cc)]=0x0,this[_0x4bbaec(0x3f5)]());}[_0x5b2e46(0x22b)](_0x5215e4,_0x17c893){var _0x25dda3=_0x5b2e46;this[_0x25dda3(0x1fc)][_0x25dda3(0x2ce)](_0x5215e4,_0x17c893),this[_0x25dda3(0x3f5)]();}[_0x5b2e46(0x2bf)](_0x6685ac,_0x4baf96){var _0x4f4f57=_0x5b2e46;this['_redoStacks'][_0x4f4f57(0x2ce)](_0x6685ac,_0x4baf96),this[_0x4f4f57(0x3f5)]();}[_0x5b2e46(0x208)](_0x5b5968,_0x1212e0){var _0x161738=_0x5b2e46;const _0x60ca9f=[];let _0x7fe308=_0x1212e0,_0x1fc442=_0x1212e0;for(let _0x4e96bf=_0x5b5968[_0x161738(0x2cc)]-0x1;_0x4e96bf>=0x0;_0x4e96bf--){const {unitID:_0x3a49df,undoMutations:_0x9feaac,redoMutations:_0x32af5e}=_0x5b5968[_0x4e96bf],_0x41ac53=this['_transformService'][_0x161738(0x2f4)](_0x7fe308,_0x9feaac),_0x106b7e=this[_0x161738(0x1bd)][_0x161738(0x2f4)](_0x1fc442,_0x32af5e);if(_0x4b5e39(_0x41ac53)||_0x4b5e39(_0x106b7e)){this['_logService'][_0x161738(0x1e9)]('[CollaborationUndoRedoService]',_0x161738(0x153),_0x41ac53,_0x106b7e);break;}_0x7fe308=_0x41ac53['c1Prime'],_0x1fc442=_0x106b7e['c1Prime'],_0x60ca9f[_0x161738(0x3ce)]({'unitID':_0x3a49df,'undoMutations':_0x41ac53['m2Prime'],'redoMutations':_0x106b7e[_0x161738(0x3a6)]});}return _0x60ca9f[_0x161738(0x37a)]();}};Pt=$s([Ae(0x0,_0x2b0fa0),Ae(0x1,_0x373d1a),Ae(0x2,_0x22d0e1),Ae(0x3,_0x36deec),Ae(0x4,_0x3feb90)],Pt);var xi=Object[_0x5b2e46(0x1db)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x2b1ce4,_0x238b2a,_0x1e45f4)=>_0x238b2a in _0x2b1ce4?xi(_0x2b1ce4,_0x238b2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e45f4}):_0x2b1ce4[_0x238b2a]=_0x1e45f4,js=(_0x113ca4,_0x1f2883,_0x2ce4d4,_0x51f3af)=>{var _0x2395f6=_0x5b2e46;for(var _0x14593e=_0x51f3af>0x1?void 0x0:_0x51f3af?Hs(_0x1f2883,_0x2ce4d4):_0x1f2883,_0x18e91c=_0x113ca4[_0x2395f6(0x2cc)]-0x1,_0x489703;_0x18e91c>=0x0;_0x18e91c--)(_0x489703=_0x113ca4[_0x18e91c])&&(_0x14593e=(_0x51f3af?_0x489703(_0x1f2883,_0x2ce4d4,_0x14593e):_0x489703(_0x14593e))||_0x14593e);return _0x51f3af&&_0x14593e&&xi(_0x1f2883,_0x2ce4d4,_0x14593e),_0x14593e;},St=(_0x22e3f9,_0x2072fb)=>(_0x100bef,_0x172931)=>_0x2072fb(_0x100bef,_0x172931,_0x22e3f9),Bs=(_0x5b66b5,_0x363f2c,_0x2c894e)=>ks(_0x5b66b5,_0x363f2c+'',_0x2c894e);const Fs=_0x5b2e46(0x2f9);let wt=class extends _0x17ce8f{constructor(_0x4dceeb=Wt,_0x2a3502,_0x2f0dcb,_0x974472){var _0x5b2278=_0x5b2e46;super(),this[_0x5b2278(0x22a)]=_0x4dceeb,this[_0x5b2278(0x209)]=_0x2a3502,this[_0x5b2278(0x1d7)]=_0x2f0dcb,this[_0x5b2278(0x3f1)]=_0x974472;const {..._0x241dbd}=_0x22bb6e({},Wt,this[_0x5b2278(0x22a)]);this[_0x5b2278(0x3f1)][_0x5b2278(0x203)](q,_0x241dbd);}[_0x5b2e46(0x398)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5b2e46(0x25e)](){var _0x13b66b=_0x5b2e46,_0x59f8ab,_0x504e26,_0x575db5,_0x146509;this[_0x13b66b(0x1d7)][_0x13b66b(0x43d)](_0x48bd3c)&&this[_0x13b66b(0x209)][_0x13b66b(0x1e9)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2ac3ce=_0x28da00([[_0x48bd3c,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x504e26=(_0x59f8ab=this['_config'])==null?void 0x0:_0x59f8ab['socketService'])!=null?_0x504e26:Et}],[_0x9ec470,{'useClass':Dt}],[_0x33891c,{'useClass':bt}],[_0x374ed8,{'useClass':yt}],[_0x115ce5,{'useClass':Nt}],[rt],[Rt]],(_0x575db5=this[_0x13b66b(0x22a)])==null?void 0x0:_0x575db5[_0x13b66b(0x141)]);if(!((_0x146509=this['_config'])!=null&&_0x146509[_0x13b66b(0x1c6)])){const _0x436522=_0x2ac3ce[_0x13b66b(0x196)](([_0xad2133])=>_0xad2133===ht);_0x436522!==-0x1&&_0x2ac3ce['splice'](_0x436522,0x1);}_0x51b942(this[_0x13b66b(0x1d7)],_0x2ac3ce);}[_0x5b2e46(0x24f)](){var _0x30b2fd=_0x5b2e46,_0x15752b,_0x3d65e4,_0x33e1d2;this[_0x30b2fd(0x1d7)][_0x30b2fd(0x30d)](_0x326cb2)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x266113({'maxParallel':0x6})}),(_0x15752b=this['_config'])!=null&&_0x15752b[_0x30b2fd(0x159)]||(_0x3d65e4=this[_0x30b2fd(0x1d7)]['get'](J,_0x287c93[_0x30b2fd(0x243)]))==null||_0x3d65e4[_0x30b2fd(0x269)](),(_0x33e1d2=this[_0x30b2fd(0x22a)])!=null&&_0x33e1d2[_0x30b2fd(0x299)]&&_0x137da6(this[_0x30b2fd(0x1d7)],[[st]]),_0x137da6(this[_0x30b2fd(0x1d7)],[[ot],[rt],[at]]);}};Bs(wt,_0x5b2e46(0x2c5),Fs),wt=js([_0x214e30(_0x15afe6,_0x49e7cb,_0x39b8cd),St(0x1,_0x3feb90),St(0x2,_0x93b1fb(_0x19c3a9)),St(0x3,_0x4288b6)],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 _0x207232=_0x2b1b;(function(_0x478c7d,_0xffc098){var _0x5b8922=_0x2b1b,_0x423e31=_0x478c7d();while(!![]){try{var _0x2bf604=parseInt(_0x5b8922(0x4db))/0x1*(parseInt(_0x5b8922(0x215))/0x2)+-parseInt(_0x5b8922(0x429))/0x3+-parseInt(_0x5b8922(0x395))/0x4+-parseInt(_0x5b8922(0x338))/0x5*(parseInt(_0x5b8922(0x352))/0x6)+parseInt(_0x5b8922(0x3c2))/0x7*(-parseInt(_0x5b8922(0x3f8))/0x8)+-parseInt(_0x5b8922(0x210))/0x9*(-parseInt(_0x5b8922(0x41f))/0xa)+-parseInt(_0x5b8922(0x2a8))/0xb*(-parseInt(_0x5b8922(0x1f9))/0xc);if(_0x2bf604===_0xffc098)break;else _0x423e31['push'](_0x423e31['shift']());}catch(_0x241c20){_0x423e31['push'](_0x423e31['shift']());}}}(_0x158c,0x69257));var Li=Object[_0x207232(0x20c)],Mi=(_0x422237,_0x96d6ec,_0x28ee87)=>_0x96d6ec in _0x422237?Li(_0x422237,_0x96d6ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28ee87}):_0x422237[_0x96d6ec]=_0x28ee87,N=(_0x56ae2f,_0x6387a3,_0x3888ff)=>Mi(_0x56ae2f,typeof _0x6387a3!=_0x207232(0x49b)?_0x6387a3+'':_0x6387a3,_0x3888ff);import{createIdentifier as _0x3e2437,Inject as _0x133bf8,Injector as _0x55be5b,Disposable as _0xc4f5d,DisposableCollection as _0x5eb855,toDisposable as _0x5190ea,IConfigService as _0x2ddc28,ILogService as _0x248f6a,UserManagerService as _0x3bd86b,UniverInstanceType as _0x40e772,IUniverInstanceService as _0x39ac8e,LocaleService as _0x5516c1,Optional as _0x910b95,RxDisposable as _0x57f232,Tools as _0xc9f11,Rectangle as _0x20b66a,ICommandService as _0x1023d2,JSONX as _0x5011f1,CommandType as _0xc31ed7,IPermissionService as _0x2921ea,IUndoRedoService as _0x1f81a8,sequenceExecute as _0xbf95c0,Workbook as _0x124bad,MentionType as _0x5982a2,IAuthzIoService as _0x3ccf11,isInternalEditorID as _0x5570b0,LocalUndoRedoService as _0x46c384,IContextService as _0xac9df5,DependentOn as _0x1973e5,Plugin as _0x1b9fcf,merge as _0x5dd608,mergeOverrideWithDependencies as _0x7d7ea7,IMentionIOService as _0x130953,registerDependencies as _0x2bdfde,Quantity as _0xe6629,touchDependencies as _0x3c216e}from'@univerjs/core';import{Subject as _0x45b79d,merge as _0x4ffbb0,of as _0x31dc06,BehaviorSubject as _0x2d7615,takeUntil as _0x2df347,ReplaySubject as _0x38b04f,take as _0x452f05,map as _0x15d044,shareReplay as _0xfd841d,firstValueFrom as _0x1ef7f8,concatMap as _0x5b8449}from'rxjs';import{map as _0xbfa581,take as _0x5445a1,filter as _0x56a47a,delay as _0x3c333f,takeUntil as _0x202538}from'rxjs/operators';import{HTTPService as _0xec288c,ISocketService as _0x56f07c,MergeInterceptorFactory as _0x83fcb8,HTTPRequest as _0x3f9374,UniverNetworkPlugin as _0x2c049b,ThresholdInterceptorFactory as _0x4ac90a}from'@univerjs/network';import{CollaborationEvent as _0x2e889b,parseChangesetToProtocol as _0x599c35,ISnapshotServerService as _0xfc988d,isTransformMutationsWithChangesetSuccess as _0x5ddb74,ITransformService as _0x2452dd,mapDocumentTypeToUniverType as _0x5bf4b1,RevisionService as _0x34b3d6,isTransformChangesetsSuccess as _0x2e0b00,CompressMutationService as _0x251b12,parseProtocolChangeset as _0xc8ccf1,SnapshotService as _0x245bcd,textEncoder as _0x4bc143,b64DecodeUnicode as _0x2247f5,isTransformMutationsWithChangesetFailure as _0x570ced,UniverCollaborationPlugin as _0x3504b2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x67833f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x340e83}from'@univerjs/docs';import{SheetsSelectionsService as _0x4a2a8f,SetSelectionsOperation as _0x257c7a,InsertSheetMutation as _0x3c387b,EmptyMutation as _0x19b9dd,WorkbookEditablePermission as _0x4351eb,SheetPermissionInitController as _0x6f5cd4,UniverSheetsPlugin as _0x1fd7fd}from'@univerjs/sheets';import{ImageSourceType as _0x3ae4dc,ImageUploadStatusType as _0x20d846,IImageIoService as _0x253001}from'@univerjs/drawing';import{getGlobalObject as _0x30e0e9}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x207232(0x46d),Tn='SNAPSHOT_URL_KEY',eo=_0x207232(0x26c),Cn=0x7d0,Rn=_0x207232(0x33b),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On='/universer-api/user/session-ticket',yn=_0x207232(0x2a0),Nn=0x7530,Si=_0x207232(0x48a),Ei=0x4e20,Dn=0x4e20,Pn=_0x207232(0x428),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x207232(0x44b),An='/universer-api/comb',xn=_0x207232(0x32d),Ln=_0x207232(0x3c0),no=_0x207232(0x30d),ro=_0x207232(0x257);var Ii=(_0x1b02da=>(_0x1b02da[_0x1b02da[_0x207232(0x288)]=0x0]=_0x207232(0x288),_0x1b02da[_0x1b02da['OK']=0x1]='OK',_0x1b02da[_0x1b02da[_0x207232(0x435)]=0x2]='INTERNAL_ERROR',_0x1b02da[_0x1b02da[_0x207232(0x39a)]=0x3]=_0x207232(0x39a),_0x1b02da[_0x1b02da[_0x207232(0x4ce)]=0x4]=_0x207232(0x4ce),_0x1b02da[_0x1b02da[_0x207232(0x403)]=0x5]=_0x207232(0x403),_0x1b02da[_0x1b02da[_0x207232(0x32a)]=0x6]='ALREADY_EXISTS',_0x1b02da[_0x1b02da[_0x207232(0x2cc)]=0x7]=_0x207232(0x2cc),_0x1b02da[_0x1b02da[_0x207232(0x224)]=0x8]=_0x207232(0x224),_0x1b02da[_0x1b02da[_0x207232(0x49d)]=0x9]=_0x207232(0x49d),_0x1b02da[_0x1b02da[_0x207232(0x4d2)]=0x1389]=_0x207232(0x4d2),_0x1b02da[_0x1b02da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x207232(0x284),_0x1b02da[_0x1b02da[_0x207232(0x377)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1b02da[_0x1b02da[_0x207232(0x2fa)]=0x1773]=_0x207232(0x2fa),_0x1b02da[_0x1b02da[_0x207232(0x2e8)]=0x1b59]=_0x207232(0x2e8),_0x1b02da[_0x1b02da[_0x207232(0x476)]=0x1b5a]=_0x207232(0x476),_0x1b02da[_0x1b02da['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x207232(0x3ea),_0x1b02da[_0x1b02da[_0x207232(0x21c)]=0x1b5c]=_0x207232(0x21c),_0x1b02da[_0x1b02da[_0x207232(0x48d)]=0x1b5d]='APPLY_DUPLICATED',_0x1b02da[_0x1b02da[_0x207232(0x3c3)]=0x1f41]=_0x207232(0x3c3),_0x1b02da[_0x1b02da['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x207232(0x45b),_0x1b02da[_0x1b02da['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x207232(0x398),_0x1b02da[_0x1b02da[_0x207232(0x237)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1b02da[_0x1b02da[_0x207232(0x2c1)]=0x232c]=_0x207232(0x2c1),_0x1b02da[_0x1b02da[_0x207232(0x25f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1b02da[_0x1b02da['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x207232(0x48f),_0x1b02da[_0x1b02da[_0x207232(0x2da)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1b02da[_0x1b02da['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1b02da[_0x1b02da[_0x207232(0x251)]=0x2714]=_0x207232(0x251),_0x1b02da[_0x1b02da['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1b02da[_0x1b02da['UNRECOGNIZED']=-0x1]=_0x207232(0x3b3),_0x1b02da))(Ii||{}),Q=(_0x171a6c=>(_0x171a6c[_0x171a6c[_0x207232(0x347)]=0x0]='UNIVER_UNKNOWN',_0x171a6c[_0x171a6c[_0x207232(0x2f9)]=0x1]=_0x207232(0x2f9),_0x171a6c[_0x171a6c[_0x207232(0x1ff)]=0x2]='UNIVER_SHEET',_0x171a6c[_0x171a6c[_0x207232(0x381)]=0x3]=_0x207232(0x381),_0x171a6c[_0x171a6c[_0x207232(0x2e3)]=0x4]=_0x207232(0x2e3),_0x171a6c[_0x171a6c[_0x207232(0x3b3)]=-0x1]=_0x207232(0x3b3),_0x171a6c))(Q||{}),F=(_0x4a8200=>(_0x4a8200[_0x4a8200[_0x207232(0x333)]=0x0]=_0x207232(0x333),_0x4a8200[_0x4a8200[_0x207232(0x307)]=0x1]='HELLO',_0x4a8200[_0x4a8200[_0x207232(0x33d)]=0x2]=_0x207232(0x33d),_0x4a8200[_0x4a8200['LEAVE']=0x3]=_0x207232(0x496),_0x4a8200[_0x4a8200[_0x207232(0x326)]=0x4]=_0x207232(0x326),_0x4a8200[_0x4a8200[_0x207232(0x29d)]=0x5]=_0x207232(0x29d),_0x4a8200[_0x4a8200['RECV']=0x6]=_0x207232(0x471),_0x4a8200[_0x4a8200[_0x207232(0x3b3)]=-0x1]='UNRECOGNIZED',_0x4a8200))(F||{}),Ee=(_0x23c187=>(_0x23c187[_0x23c187[_0x207232(0x40b)]=0x0]=_0x207232(0x40b),_0x23c187[_0x23c187['OK']=0x1]='OK',_0x23c187[_0x23c187[_0x207232(0x35a)]=0x2]=_0x207232(0x35a),_0x23c187[_0x23c187[_0x207232(0x2ce)]=0x3e9]='JOIN_ROOM_FULL',_0x23c187[_0x23c187[_0x207232(0x3a2)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x23c187[_0x23c187[_0x207232(0x201)]=0x3eb]=_0x207232(0x201),_0x23c187[_0x23c187[_0x207232(0x240)]=0x3ec]=_0x207232(0x240),_0x23c187[_0x23c187[_0x207232(0x3b3)]=-0x1]='UNRECOGNIZED',_0x23c187))(Ee||{}),Ti=(_0x2b7d54=>(_0x2b7d54[_0x2b7d54['Undefined']=0x0]='Undefined',_0x2b7d54[_0x2b7d54[_0x207232(0x36f)]=0x1]='HttpImport',_0x2b7d54[_0x2b7d54[_0x207232(0x4eb)]=0x2]='HttpExport',_0x2b7d54[_0x2b7d54[_0x207232(0x259)]=0x3]=_0x207232(0x259),_0x2b7d54[_0x2b7d54['UnitSnapshot']=0x4]=_0x207232(0x33c),_0x2b7d54[_0x2b7d54[_0x207232(0x3b3)]=-0x1]=_0x207232(0x3b3),_0x2b7d54))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x21ea83=>(_0x21ea83['OTHER_CLIENT_EDITING']=_0x207232(0x1fe),_0x21ea83[_0x207232(0x39a)]=_0x207232(0x39a),_0x21ea83[_0x207232(0x34c)]=_0x207232(0x34c),_0x21ea83['CLOSE_ROOM']=_0x207232(0x35d),_0x21ea83['JOIN_ROOM_FAILED']=_0x207232(0x37f),_0x21ea83['SOCKET_FAILED_RETRY']=_0x207232(0x3c8),_0x21ea83[_0x207232(0x425)]='SOCKET_FAILED',_0x21ea83['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x21ea83))(se||{});class pe{constructor(){var _0x3be7cb=_0x207232;N(this,'_event$',new _0x45b79d()),N(this,_0x3be7cb(0x391),this[_0x3be7cb(0x2ae)]['asObservable']());}[_0x207232(0x491)](_0x5f269a){var _0x9bfe6c=_0x207232;this[_0x9bfe6c(0x2ae)][_0x9bfe6c(0x255)](_0x5f269a);}}const Mn=_0x3e2437('univer-pro.collaboration-client.network-condition.service');function $n(_0x4f7754){var _0x700c1b=_0x207232,_0x238329,_0x19e7bd,_0x582864,_0x1a6fcb,_0x52d12f;const _0x239455=_0x4f7754[_0x700c1b(0x44c)],_0x42bf0f=JSON['parse'](_0x239455);switch(_0x42bf0f[_0x700c1b(0x297)]){case F[_0x700c1b(0x29d)]:case F['HELLO']:{const _0x4528c1=_0x42bf0f[_0x700c1b(0x3fb)];return{..._0x42bf0f,'data':_0x4528c1,'cmd':_0x42bf0f['cmd']};}case F[_0x700c1b(0x33d)]:{const _0x1896d6=_0x42bf0f[_0x700c1b(0x35e)];return{..._0x42bf0f,'data':_0x1896d6,'cmd':_0x42bf0f[_0x700c1b(0x297)]};}case F[_0x700c1b(0x471)]:{const _0x226ad8=_0x42bf0f[_0x700c1b(0x268)];switch(_0x226ad8['eventID']){case _0x2e889b['PERMISSION_REJ']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x238329=_0x226ad8[_0x700c1b(0x318)])==null?void 0x0:_0x238329['cs']},'cmd':_0x42bf0f['cmd']};case _0x2e889b[_0x700c1b(0x280)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x19e7bd=_0x226ad8[_0x700c1b(0x302)])==null?void 0x0:_0x19e7bd['cs']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x31e)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x582864=_0x226ad8['newCsEvent'])==null?void 0x0:_0x582864['cs']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['CHANGESET_REJ']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x1a6fcb=_0x226ad8[_0x700c1b(0x1ee)])==null?void 0x0:_0x1a6fcb['cs']},'cmd':_0x42bf0f['cmd']};case _0x2e889b[_0x700c1b(0x232)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':(_0x52d12f=_0x226ad8['csShouldRetryEvent'])==null?void 0x0:_0x52d12f['cs']},'cmd':_0x42bf0f['cmd']};case _0x2e889b['UPDATE_CURSOR']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8['updateCursorEvent']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x34d)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8['joinEvent']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x3dd)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x3e3)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['LIVESHARE_NEW_HOST']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x37a)]},'cmd':_0x42bf0f['cmd']};case _0x2e889b[_0x700c1b(0x49f)]:case _0x2e889b['LIVESHARE_OPERATION']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x2e9)]},'cmd':_0x42bf0f['cmd']};case _0x2e889b['LIVESHARE_TERMINATE']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x37a)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['MSG_FOR_ERROR']:return{..._0x42bf0f,'data':_0x226ad8,'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['COMMENT_UPDATE']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x3f1)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x30a)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8['updatePermissionObjEvent']},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b['SHOULD_CLOSE_CONN']:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x36b)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};case _0x2e889b[_0x700c1b(0x3d3)]:return{..._0x42bf0f,'data':{..._0x226ad8,'data':_0x226ad8[_0x700c1b(0x3b9)]},'cmd':_0x42bf0f[_0x700c1b(0x297)]};default:return _0x42bf0f;}}default:return _0x42bf0f;}}function Hn(_0x55a7f3){var _0x5e1693=_0x207232;switch(_0x55a7f3['cmd']){case F[_0x5e1693(0x29d)]:case F[_0x5e1693(0x307)]:return JSON[_0x5e1693(0x438)]({'cmd':_0x55a7f3[_0x5e1693(0x297)],'routeKey':_0x55a7f3[_0x5e1693(0x465)]});case F['INGEST']:{let _0x40ec1d;switch(_0x55a7f3[_0x5e1693(0x44c)]['eventID']){case _0x2e889b[_0x5e1693(0x2cb)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x2cb)],'updateCursorEvent':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x3dd)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x3dd)],'leaveEvent':_0x55a7f3[_0x5e1693(0x44c)]['data']};break;}case _0x2e889b[_0x5e1693(0x34d)]:{_0x40ec1d={'eventID':_0x2e889b['USERS_ENTER'],'joinEvent':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x3f2)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x3f2)],'liveShareNewHost':_0x55a7f3['data'][_0x5e1693(0x44c)]};break;}case _0x2e889b['LIVESHARE_OPERATION']:{_0x40ec1d={'eventID':_0x2e889b['LIVESHARE_OPERATION'],'liveShareOperation':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x336)]:{_0x40ec1d={'eventID':_0x2e889b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x37d)]:{_0x40ec1d={'eventID':_0x2e889b[_0x5e1693(0x37d)],'liveShareRequestHost':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x44c)]};break;}case _0x2e889b[_0x5e1693(0x49f)]:{_0x40ec1d={'eventID':_0x2e889b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x40ec1d={'eventID':_0x55a7f3[_0x5e1693(0x44c)][_0x5e1693(0x35c)]};}return JSON[_0x5e1693(0x438)]({'cmd':_0x55a7f3['cmd'],'routeKey':_0x55a7f3[_0x5e1693(0x465)],'collaMsg':_0x40ec1d});}case F[_0x5e1693(0x33d)]:return JSON[_0x5e1693(0x438)]({'cmd':_0x55a7f3[_0x5e1693(0x297)],'routeKey':_0x55a7f3[_0x5e1693(0x465)],'joinReq':_0x55a7f3['data']});case F[_0x5e1693(0x496)]:return JSON['stringify']({'cmd':_0x55a7f3[_0x5e1693(0x297)],'routeKey':_0x55a7f3['routeKey'],'leaveReq':_0x55a7f3[_0x5e1693(0x44c)]});default:throw new Error(_0x5e1693(0x441));}}var kn=Object[_0x207232(0x20c)],jn=Object[_0x207232(0x469)],Bn=(_0x4b866e,_0x2d4049,_0x5a566a,_0x5ec762)=>{var _0xc09123=_0x207232;for(var _0x1a0815=_0x5ec762>0x1?void 0x0:_0x5ec762?jn(_0x2d4049,_0x5a566a):_0x2d4049,_0x102034=_0x4b866e[_0xc09123(0x453)]-0x1,_0x241196;_0x102034>=0x0;_0x102034--)(_0x241196=_0x4b866e[_0x102034])&&(_0x1a0815=(_0x5ec762?_0x241196(_0x2d4049,_0x5a566a,_0x1a0815):_0x241196(_0x1a0815))||_0x1a0815);return _0x5ec762&&_0x1a0815&&kn(_0x2d4049,_0x5a566a,_0x1a0815),_0x1a0815;},Ue=(_0x4f8a4b,_0x6b692a)=>(_0x44ec50,_0x3c936d)=>_0x6b692a(_0x44ec50,_0x3c936d,_0x4f8a4b);const Ci=_0x3e2437(_0x207232(0x4e3));function Fn(_0x4f7a47,_0x23c643,_0x12b13e){var _0x141123=_0x207232;return _0x4f7a47+'/'+_0x23c643+_0x141123(0x24e)+_0x12b13e+_0x141123(0x269);}let Et=class extends _0xc4f5d{constructor(_0x40e7e8,_0x3fe739,_0x2e021c,_0x2e1006,_0xe13235){var _0x16ff44=_0x207232;super(),this[_0x16ff44(0x406)]=_0x40e7e8,this['_http']=_0x3fe739,this[_0x16ff44(0x452)]=_0x2e021c,this[_0x16ff44(0x275)]=_0x2e1006,this[_0x16ff44(0x3c7)]=_0xe13235;}[_0x207232(0x1f6)](_0x2f5a02){var _0x23c4c5=_0x207232;const _0xddc4a5=this[_0x23c4c5(0x406)][_0x23c4c5(0x410)](_0x56f07c);if(!_0xddc4a5)throw new Error(_0x23c4c5(0x354));const _0x134f40=_0xddc4a5['createSocket'](_0x2f5a02);if(!_0x134f40)throw new Error(_0x23c4c5(0x454));const _0x1afa96=new _0x5eb855(),_0x3f38a3=new _0x45b79d();_0x1afa96[_0x23c4c5(0x3f4)](_0x134f40[_0x23c4c5(0x2b8)][_0x23c4c5(0x416)](_0x10d3c3=>_0x3f38a3['next'](_0x10d3c3))),_0x1afa96['add'](_0x5190ea(()=>_0x3f38a3[_0x23c4c5(0x27a)]()));const _0x47e351=new _0x45b79d();_0x1afa96[_0x23c4c5(0x3f4)](_0x134f40['error$'][_0x23c4c5(0x416)](_0x441657=>_0x47e351[_0x23c4c5(0x255)](_0x441657))),_0x1afa96[_0x23c4c5(0x3f4)](_0x5190ea(()=>_0x47e351['complete']()));const _0x4bfc9d=new _0x45b79d();_0x1afa96['add'](_0x134f40[_0x23c4c5(0x34f)][_0x23c4c5(0x416)](_0x5b7245=>{const _0x28ed21=$n(_0x5b7245);_0x4bfc9d['next'](_0x28ed21);})),_0x1afa96['add'](_0x5190ea(()=>_0x4bfc9d[_0x23c4c5(0x27a)]()));let _0x5152c3;const _0x5b2c01=()=>{var _0x2dd96f=_0x23c4c5;_0x47e351[_0x2dd96f(0x255)](new Event(_0x2dd96f(0x4b4))),_0x3f38a3['next'](new CloseEvent(_0x2dd96f(0x4b4))),_0x5152c3[_0x2dd96f(0x25c)]();};return _0x5152c3={'memberID':'','close$':_0x3f38a3[_0x23c4c5(0x2c0)](),'error$':_0x47e351['asObservable'](),'open$':_0x134f40[_0x23c4c5(0x47f)],'message$':_0x4bfc9d[_0x23c4c5(0x2c0)](),'send':_0x35712b=>{var _0x38e360=_0x23c4c5;if(_0x35712b[_0x38e360(0x297)]===F[_0x38e360(0x326)]){if(_0x35712b['data'][_0x38e360(0x35c)]===_0x2e889b[_0x38e360(0x2ab)]){this['_submitChangeset'](_0x5152c3,_0x35712b[_0x38e360(0x44c)])[_0x38e360(0x498)](_0x320f39=>{var _0x4e9a8d=_0x38e360;this[_0x4e9a8d(0x275)][_0x4e9a8d(0x3aa)](_0x320f39),_0x5b2c01();});return;}if(_0x35712b[_0x38e360(0x44c)][_0x38e360(0x35c)]===_0x2e889b[_0x38e360(0x43c)]){const _0x1a385d=_0x35712b[_0x38e360(0x44c)];this[_0x38e360(0x3e9)](_0x1a385d)[_0x38e360(0x486)](_0x3a1136=>{var _0x33b298=_0x38e360;_0x4bfc9d[_0x33b298(0x255)]({'cmd':F[_0x33b298(0x471)],'code':Ee['OK'],'routeKey':_0x1a385d[_0x33b298(0x44c)]['unitID'],'routeType':'','data':{'eventID':_0x2e889b[_0x33b298(0x24b)],'data':{'changesets':_0x3a1136}}});})[_0x38e360(0x498)](_0x43930b=>{var _0x1f9177=_0x38e360;this[_0x1f9177(0x275)][_0x1f9177(0x3aa)](_0x43930b),_0x5b2c01();});return;}}_0x134f40[_0x38e360(0x2fe)](Hn(_0x35712b));},'close':()=>{var _0x38596a=_0x23c4c5;_0x134f40[_0x38596a(0x25c)](),_0x1afa96[_0x38596a(0x1f1)]();}},_0x5152c3;}async['_submitChangeset'](_0x5d874e,_0x527181){var _0x3e4302=_0x207232,_0x2e8a3f,_0x3e8a7d;const {unitType:_0x33a896,unitID:_0x46120a,changeset:_0x5b0aa6}=_0x527181[_0x3e4302(0x44c)],_0x35f930={'unitID':_0x46120a,'memberID':_0x5d874e[_0x3e4302(0x212)],'type':_0x33a896,'changeset':_0x599c35(_0x5b0aa6)},_0x386366=this['_configService'][_0x3e4302(0x3a9)](Un),_0x286114=this[_0x3e4302(0x452)]['getConfig'](q),_0x55f7f3=Fn((_0x3e8a7d=(_0x2e8a3f=_0x286114==null?void 0x0:_0x286114[_0x3e4302(0x2ff)])!=null?_0x2e8a3f:_0x386366)!=null?_0x3e8a7d:An,_0x33a896,_0x46120a);try{await this[_0x3e4302(0x2d7)][_0x3e4302(0x3d5)](_0x55f7f3,{'body':_0x35f930});}catch(_0x272e95){throw this['_logService'][_0x3e4302(0x3aa)]('[CollaborationSession]',_0x3e4302(0x2b1)),_0x272e95;}}async[_0x207232(0x3e9)](_0xcd933a){var _0x261bc5=_0x207232;const {unitID:_0x19f039,from:_0x1feaae,to:_0x1afe64,unitType:_0x1d11de}=_0xcd933a['data'];return(await this[_0x261bc5(0x3c7)][_0x261bc5(0x4e5)]({'metadata':void 0x0},{'unitID':_0x19f039,'type':_0x1d11de,'from':_0x1feaae,'to':_0x1afe64}))[_0x261bc5(0x206)];}};Et=Bn([Ue(0x0,_0x133bf8(_0x55be5b)),Ue(0x1,_0x133bf8(_0xec288c)),Ue(0x2,_0x2ddc28),Ue(0x3,_0x248f6a),Ue(0x4,_0xfc988d)],Et);const Vn='collaboration_new_changeset';function Gn(_0x3393c9){return JSON['stringify'](_0x3393c9)['length'];}class Ri{constructor(){var _0x359458=_0x207232;N(this,_0x359458(0x274),new _0x45b79d()),N(this,_0x359458(0x4e6),this[_0x359458(0x274)][_0x359458(0x2c0)]());}[_0x207232(0x3b0)](_0x25344c){var _0x2262e4=_0x207232;this['_commentUpdate$'][_0x2262e4(0x255)](_0x25344c);}}var Wn=Object[_0x207232(0x20c)],Kn=Object[_0x207232(0x469)],Yn=(_0x3a3674,_0x546eb7,_0x16327b,_0x28bd1f)=>{for(var _0x12b869=_0x28bd1f>0x1?void 0x0:_0x28bd1f?Kn(_0x546eb7,_0x16327b):_0x546eb7,_0x47a04a=_0x3a3674['length']-0x1,_0x51de82;_0x47a04a>=0x0;_0x47a04a--)(_0x51de82=_0x3a3674[_0x47a04a])&&(_0x12b869=(_0x28bd1f?_0x51de82(_0x546eb7,_0x16327b,_0x12b869):_0x51de82(_0x12b869))||_0x12b869);return _0x28bd1f&&_0x12b869&&Wn(_0x546eb7,_0x16327b,_0x12b869),_0x12b869;},Kt=(_0x108948,_0x175e62)=>(_0x2e7219,_0x561c07)=>_0x175e62(_0x2e7219,_0x561c07,_0x108948);let xe=class extends _0xc4f5d{constructor(_0x4c3c4f,_0x32d363){var _0x1e3b7d=_0x207232;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x45b79d()),(this['_univerInstanceService']=_0x4c3c4f,this[_0x1e3b7d(0x236)]=_0x32d363,this['disposeWithMe'](_0x4ffbb0(this[_0x1e3b7d(0x244)]['getTypeOfUnitDisposed$'](_0x40e772['UNIVER_SHEET'])[_0x1e3b7d(0x216)](_0xbfa581(_0x585ae0=>_0x585ae0[_0x1e3b7d(0x31c)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x40e772['UNIVER_DOC'])['pipe'](_0xbfa581(_0x969065=>_0x969065['getUnitId']())),this[_0x1e3b7d(0x244)][_0x1e3b7d(0x372)](_0x40e772[_0x1e3b7d(0x381)])[_0x1e3b7d(0x216)](_0xbfa581(_0x523e26=>_0x523e26[_0x1e3b7d(0x31c)]())))[_0x1e3b7d(0x416)](_0x4ec4ba=>this[_0x1e3b7d(0x44d)](_0x4ec4ba))));}[_0x207232(0x3bd)](_0x2a85a7){var _0x3dfdb2=_0x207232;return this[_0x3dfdb2(0x4d9)]['has'](_0x2a85a7)?_0x31dc06(this[_0x3dfdb2(0x4d9)][_0x3dfdb2(0x410)](_0x2a85a7)):this[_0x3dfdb2(0x221)][_0x3dfdb2(0x216)](_0xbfa581(_0x3cc7ea=>{var _0x49a626=_0x3dfdb2;if(_0x3cc7ea===_0x2a85a7)return this[_0x49a626(0x4d9)]['get'](_0x3cc7ea);}));}[_0x207232(0x3e1)](_0x1be7b3){var _0x45f04e=_0x207232;this[_0x45f04e(0x236)][_0x45f04e(0x3e1)](_0x1be7b3);}[_0x207232(0x300)](){var _0x10fc85=_0x207232;return this[_0x10fc85(0x236)]['getCurrentUser']();}[_0x207232(0x34e)](_0x41c3f9,_0x9377e1){var _0x3ac1e2=_0x207232;let _0x52f5bd=this[_0x3ac1e2(0x4d9)]['get'](_0x41c3f9);_0x52f5bd||(_0x52f5bd=new qn(),this[_0x3ac1e2(0x4d9)]['set'](_0x41c3f9,_0x52f5bd),this[_0x3ac1e2(0x221)]['next'](_0x41c3f9)),_0x52f5bd[_0x3ac1e2(0x34e)](_0x9377e1);}[_0x207232(0x368)](_0x5c1001,_0x2d8da4){var _0x5eab68=_0x207232;const _0xa66656=this[_0x5eab68(0x4d9)][_0x5eab68(0x410)](_0x5c1001);_0xa66656&&_0xa66656['removeMember'](_0x2d8da4);}['getRoom'](_0x5b7b33){return this['_roomMembers']['get'](_0x5b7b33);}[_0x207232(0x3c6)](_0xe96dd3,_0x5cdf6b){var _0x4e931d=_0x207232;const _0x47ae9f=this[_0x4e931d(0x4d9)][_0x4e931d(0x410)](_0xe96dd3);if(_0x47ae9f)return _0x47ae9f['getMember'](_0x5cdf6b);}[_0x207232(0x44d)](_0x149f49){var _0x2ebc31=_0x207232;const _0x4e691c=this[_0x2ebc31(0x4d9)][_0x2ebc31(0x410)](_0x149f49);_0x4e691c&&(_0x4e691c['dispose'](),this['_roomMembers'][_0x2ebc31(0x2d4)](_0x149f49));}['dispose'](){var _0x439291=_0x207232;this[_0x439291(0x4d9)][_0x439291(0x4c4)](_0x5d4971=>_0x5d4971[_0x439291(0x1f1)]()),this[_0x439291(0x4d9)][_0x439291(0x2e2)](),this[_0x439291(0x221)][_0x439291(0x27a)]();}};xe=Yn([Kt(0x0,_0x39ac8e),Kt(0x1,_0x133bf8(_0x3bd86b))],xe);class qn extends _0xc4f5d{constructor(){var _0x44555d=_0x207232;super(...arguments),N(this,_0x44555d(0x41e),new Map()),N(this,'_members$',new _0x2d7615(this[_0x44555d(0x41e)])),N(this,'members$',this[_0x44555d(0x4c3)][_0x44555d(0x2c0)]());}[_0x207232(0x1f1)](){var _0x49fd1e=_0x207232;this[_0x49fd1e(0x41e)][_0x49fd1e(0x2e2)]();}[_0x207232(0x34e)](_0x2a1030){var _0x4d3238=_0x207232;this[_0x4d3238(0x41e)][_0x4d3238(0x459)](_0x2a1030[_0x4d3238(0x212)],_0x2a1030),this[_0x4d3238(0x2a3)]();}[_0x207232(0x368)](_0x5aeb95){var _0x283a49=_0x207232;this['_members'][_0x283a49(0x2d4)](_0x5aeb95);}[_0x207232(0x3c6)](_0x5b2c3c){var _0x402dcc=_0x207232;return this[_0x402dcc(0x41e)]['get'](_0x5b2c3c);}['getAllMembers'](){var _0x3e5bc1=_0x207232;return Array[_0x3e5bc1(0x2c8)](this[_0x3e5bc1(0x41e)][_0x3e5bc1(0x1fb)]());}[_0x207232(0x2a3)](){var _0x25c8e1=_0x207232;this[_0x25c8e1(0x4c3)]['next'](this[_0x25c8e1(0x41e)]);}}var zn=Object[_0x207232(0x20c)],Jn=Object[_0x207232(0x469)],Xn=(_0xae7160,_0x40dcb7,_0x540028,_0x4513e8)=>{var _0x3538e1=_0x207232;for(var _0x58b0e4=_0x4513e8>0x1?void 0x0:_0x4513e8?Jn(_0x40dcb7,_0x540028):_0x40dcb7,_0x1bdaa7=_0xae7160[_0x3538e1(0x453)]-0x1,_0x4ff13d;_0x1bdaa7>=0x0;_0x1bdaa7--)(_0x4ff13d=_0xae7160[_0x1bdaa7])&&(_0x58b0e4=(_0x4513e8?_0x4ff13d(_0x40dcb7,_0x540028,_0x58b0e4):_0x4ff13d(_0x58b0e4))||_0x58b0e4);return _0x4513e8&&_0x58b0e4&&zn(_0x40dcb7,_0x540028,_0x58b0e4),_0x58b0e4;},me=(_0x3188e8,_0x55c29d)=>(_0x33d858,_0x1b2a69)=>_0x55c29d(_0x33d858,_0x1b2a69,_0x3188e8),Te=(_0x46874c=>(_0x46874c[_0x46874c[_0x207232(0x380)]=0x0]=_0x207232(0x380),_0x46874c[_0x46874c[_0x207232(0x315)]=0x1]=_0x207232(0x315),_0x46874c[_0x46874c[_0x207232(0x2c3)]=0x2]=_0x207232(0x2c3),_0x46874c[_0x46874c['ONLINE']=0x3]=_0x207232(0x3a5),_0x46874c))(Te||{});const Yt={[Ee[_0x207232(0x35a)]]:_0x207232(0x479),[Ee[_0x207232(0x2ce)]]:_0x207232(0x442),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x207232(0x4b8),[Ee[_0x207232(0x201)]]:_0x207232(0x41c),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x207232(0x4ea)};let It=class extends _0x57f232{constructor(_0x1bbf55,_0x13ec8c,_0x57a21e,_0x5d25aa,_0x4f77ad,_0x2ee3af,_0xd48cb8,_0x310794,_0x3e3185){var _0x20a30c=_0x207232;super(),N(this,_0x20a30c(0x371),new _0x2d7615(0x0)),N(this,_0x20a30c(0x2c4),this['_sessionStatus$'][_0x20a30c(0x2c0)]()),N(this,_0x20a30c(0x2ae),new _0x45b79d()),N(this,_0x20a30c(0x391),this[_0x20a30c(0x2ae)][_0x20a30c(0x2c0)]()),N(this,_0x20a30c(0x386)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x20a30c(0x20e),null),(this[_0x20a30c(0x29e)]=_0x1bbf55,this['_logService']=_0x57a21e,this[_0x20a30c(0x452)]=_0x5d25aa,this[_0x20a30c(0x443)]=_0x4f77ad,this[_0x20a30c(0x3bc)]=_0x2ee3af,this[_0x20a30c(0x324)]=_0xd48cb8,this[_0x20a30c(0x4d1)]=_0x310794,this[_0x20a30c(0x34b)]=_0x3e3185,this[_0x20a30c(0x341)]=!!this[_0x20a30c(0x34b)],_0x13ec8c['pipe'](_0x2df347(this['dispose$']))[_0x20a30c(0x416)](_0x474b04=>{var _0x1e05cc=_0x20a30c,_0xce7353;typeof _0x474b04>'u'||(this[_0x1e05cc(0x386)]=_0x474b04,_0x474b04?(this[_0x1e05cc(0x483)](_0x474b04),this['_socketMessageSubscription']=_0x474b04[_0x1e05cc(0x34f)][_0x1e05cc(0x416)](_0x46c0fb=>{var _0xdff7f3=_0x1e05cc;_0x46c0fb['routeKey']===this[_0xdff7f3(0x29e)]&&this[_0xdff7f3(0x3d4)](_0x46c0fb);})):(this[_0x1e05cc(0x25a)](),this['_sessionStatus$'][_0x1e05cc(0x255)](0x2),(_0xce7353=this[_0x1e05cc(0x266)])==null||_0xce7353['unsubscribe'](),this[_0x1e05cc(0x266)]=null));}));}get[_0x207232(0x26e)](){var _0x129a28=_0x207232;return this[_0x129a28(0x371)][_0x129a28(0x28e)]();}[_0x207232(0x39d)](){var _0x4b668c=_0x207232,_0x3354d7,_0x597471;return(_0x597471=(_0x3354d7=this[_0x4b668c(0x386)])==null?void 0x0:_0x3354d7[_0x4b668c(0x212)])!=null?_0x597471:null;}['dispose'](){var _0x8bfe90=_0x207232;super['dispose'](),this[_0x8bfe90(0x3e7)][_0x8bfe90(0x255)](),this[_0x8bfe90(0x3e7)][_0x8bfe90(0x27a)]();}[_0x207232(0x25c)](){var _0x12116f=_0x207232,_0x5e2922,_0xe03fcc;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5e2922=this[_0x12116f(0x386)])==null||_0x5e2922['send']({'cmd':F[_0x12116f(0x496)],'data':{'roomID':this[_0x12116f(0x29e)]}}),(_0xe03fcc=this[_0x12116f(0x386)])==null||_0xe03fcc[_0x12116f(0x25c)](),this[_0x12116f(0x2ae)][_0x12116f(0x27a)](),this[_0x12116f(0x371)][_0x12116f(0x27a)](),this[_0x12116f(0x1f1)]();}[_0x207232(0x3d4)](_0x3e57d1){var _0x2b2e9c=_0x207232;_0x3e57d1['cmd']===F[_0x2b2e9c(0x33d)]?this['_onJoinRoomEvent'](_0x3e57d1):_0x3e57d1['cmd']===F[_0x2b2e9c(0x471)]&&this[_0x2b2e9c(0x322)](_0x3e57d1);}[_0x207232(0x483)](_0x36628f){var _0x447190=_0x207232;this['_sessionStatus$'][_0x447190(0x255)](0x1),_0x36628f[_0x447190(0x2fe)]({'cmd':F[_0x447190(0x33d)],'routeKey':this[_0x447190(0x29e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x447190(0x29e)]}]}});}[_0x207232(0x3cf)](_0x5f3d6d){var _0x405d1f=_0x207232,_0x209b02;if(_0x5f3d6d[_0x405d1f(0x499)]in Yt){this[_0x405d1f(0x4d1)][_0x405d1f(0x491)]({'id':se[_0x405d1f(0x37f)],'data':Yt[_0x5f3d6d[_0x405d1f(0x499)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x405d1f(0x371)][_0x405d1f(0x255)](0x3);const _0x4038df=(_0x209b02=_0x5f3d6d[_0x405d1f(0x44c)][_0x405d1f(0x361)][this[_0x405d1f(0x29e)]])==null?void 0x0:_0x209b02[_0x405d1f(0x2de)];_0x4038df&&_0x4038df['forEach'](_0x5b612f=>this[_0x405d1f(0x3bc)][_0x405d1f(0x34e)](this[_0x405d1f(0x29e)],_0x5b612f));}[_0x207232(0x322)](_0x41dfde){var _0x2fecf4=_0x207232;try{const _0x48f59d=_0x41dfde['data'];switch(_0x48f59d[_0x2fecf4(0x35c)]){case _0x2e889b[_0x2fecf4(0x34d)]:this[_0x2fecf4(0x4e7)](_0x48f59d),this[_0x2fecf4(0x2ae)]['next'](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x3dd)]:this[_0x2fecf4(0x4ad)](_0x48f59d),this[_0x2fecf4(0x2ae)][_0x2fecf4(0x255)](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x280)]:case _0x2e889b['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x2fecf4(0x2ae)][_0x2fecf4(0x255)](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x4af)]:this[_0x2fecf4(0x275)]['error'](_0x2fecf4(0x2b5)+JSON['stringify'](_0x48f59d)),this[_0x2fecf4(0x2ae)]['next'](_0x48f59d);break;case _0x2e889b[_0x2fecf4(0x478)]:this['_commentService'][_0x2fecf4(0x3b0)](_0x48f59d[_0x2fecf4(0x44c)]),this[_0x2fecf4(0x2ae)]['next'](_0x48f59d);break;default:this[_0x2fecf4(0x2ae)][_0x2fecf4(0x255)](_0x48f59d);}}catch(_0x1cb603){this[_0x2fecf4(0x275)][_0x2fecf4(0x3aa)](_0x1cb603,_0x41dfde);}}['_onUserJoin'](_0x3dd12e){var _0x3c73f1=_0x207232;this[_0x3c73f1(0x3bc)][_0x3c73f1(0x34e)](this[_0x3c73f1(0x29e)],_0x3dd12e[_0x3c73f1(0x44c)]);}[_0x207232(0x4ad)](_0xb295d3){var _0x567acb=_0x207232;this[_0x567acb(0x3bc)][_0x567acb(0x368)](this['_unitID'],_0xb295d3[_0x567acb(0x44c)][_0x567acb(0x212)]);}async['send'](_0x637136,_0x282389){var _0x4efa72=_0x207232;if(this['sessionStatus']!==0x3||!this[_0x4efa72(0x386)])throw new Error(_0x4efa72(0x37c));try{_0x637136['eventID']===_0x2e889b['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4efa72(0x376)](_0x637136)),this[_0x4efa72(0x386)][_0x4efa72(0x2fe)]({'cmd':F[_0x4efa72(0x326)],'routeKey':_0x282389,'routeType':'','data':_0x637136});}catch(_0x5e752e){this[_0x4efa72(0x275)]['error'](_0x5e752e);}}[_0x207232(0x323)](){var _0x57cff2=_0x207232,_0x3002d7;this[_0x57cff2(0x27d)]=setTimeout(()=>{var _0x2cba7a=_0x57cff2;this[_0x2cba7a(0x27d)]=null,this[_0x2cba7a(0x4d1)]['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3002d7=this['_configService'][_0x57cff2(0x3a9)](Si))!=null?_0x3002d7:Ei);}[_0x207232(0x2f7)](){var _0x585728=_0x207232;this[_0x585728(0x27d)]&&(clearTimeout(this[_0x585728(0x27d)]),this['_collaborationTimeoutTimer']=null);}[_0x207232(0x376)](_0x46e803){var _0x51255f=_0x207232;if(!this[_0x51255f(0x341)])return;const {data:_0x2695ed}=_0x46e803,{unitID:_0x13bd66,changeset:_0x44f872}=_0x2695ed,{mutations:_0x13b61a,type:_0x20d68a}=_0x44f872;this[_0x51255f(0x20e)]={'unitId':_0x13bd66,'type':_0x20d68a,'startTime':performance[_0x51255f(0x41b)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x13b61a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x49f830=_0x207232;if(this[_0x49f830(0x341)]){if(!this[_0x49f830(0x20e)]){this[_0x49f830(0x275)][_0x49f830(0x3aa)](_0x49f830(0x28b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x49f830(0x32f)]=performance[_0x49f830(0x41b)](),this[_0x49f830(0x20e)][_0x49f830(0x495)]=this['_telemetryInfo']['stopTime']-this[_0x49f830(0x20e)]['startTime'],this[_0x49f830(0x34b)][_0x49f830(0x36a)](Vn,this[_0x49f830(0x20e)]),this[_0x49f830(0x20e)]=null;}}[_0x207232(0x25a)](){var _0x5c6c7d=_0x207232;this[_0x5c6c7d(0x20e)]=null;}};It=Xn([me(0x2,_0x248f6a),me(0x3,_0x2ddc28),me(0x4,_0x133bf8(_0x5516c1)),me(0x5,_0x133bf8(xe)),me(0x6,_0x133bf8(Ri)),me(0x7,_0x133bf8(pe)),me(0x8,_0x910b95(_0x67833f))],It);var Zn=Object[_0x207232(0x20c)],Qn=Object[_0x207232(0x469)],er=(_0xcdc196,_0x4d7d1e,_0x3c756f,_0x52d860)=>{var _0x43cbe5=_0x207232;for(var _0xe0f4c7=_0x52d860>0x1?void 0x0:_0x52d860?Qn(_0x4d7d1e,_0x3c756f):_0x4d7d1e,_0xe86e6f=_0xcdc196[_0x43cbe5(0x453)]-0x1,_0xa0dd1;_0xe86e6f>=0x0;_0xe86e6f--)(_0xa0dd1=_0xcdc196[_0xe86e6f])&&(_0xe0f4c7=(_0x52d860?_0xa0dd1(_0x4d7d1e,_0x3c756f,_0xe0f4c7):_0xa0dd1(_0xe0f4c7))||_0xe0f4c7);return _0x52d860&&_0xe0f4c7&&Zn(_0x4d7d1e,_0x3c756f,_0xe0f4c7),_0xe0f4c7;},ge=(_0x3c83e1,_0x237a67)=>(_0x3a10a0,_0x59de08)=>_0x237a67(_0x3a10a0,_0x59de08,_0x3c83e1);let Le=class extends _0xc4f5d{constructor(_0xbc274a,_0x1f82fe,_0x5bda78,_0x531ba6,_0x53bf66,_0x51ffaa,_0x580694){var _0x26f92a=_0x207232;super(),N(this,_0x26f92a(0x37b),new _0x2d7615(void 0x0)),N(this,'socket$',this['_socket$'][_0x26f92a(0x2c0)]()),N(this,'_candidateSocket',null),N(this,_0x26f92a(0x3b5),new Map()),N(this,_0x26f92a(0x260),new _0x2d7615(Te['IDLE'])),N(this,_0x26f92a(0x271),this[_0x26f92a(0x260)]['asObservable']()),N(this,_0x26f92a(0x4c6),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x26f92a(0x21a),0x0),N(this,_0x26f92a(0x225)),N(this,_0x26f92a(0x2a5)),(this[_0x26f92a(0x406)]=_0xbc274a,this[_0x26f92a(0x275)]=_0x1f82fe,this[_0x26f92a(0x452)]=_0x5bda78,this[_0x26f92a(0x43a)]=_0x531ba6,this['_httpService']=_0x53bf66,this[_0x26f92a(0x4d1)]=_0x51ffaa,this[_0x26f92a(0x26b)]=_0x580694,this['_listenToNetworkCondition']());}get[_0x207232(0x386)](){var _0x2857fb=_0x207232;return this[_0x2857fb(0x37b)][_0x2857fb(0x28e)]();}[_0x207232(0x1fc)](){var _0x4745cb=_0x207232;this[_0x4745cb(0x26b)]&&this[_0x4745cb(0x200)](this[_0x4745cb(0x26b)][_0x4745cb(0x369)][_0x4745cb(0x416)](_0x1d1282=>{var _0x683750=_0x4745cb;_0x1d1282&&!this['_socket']&&this[_0x683750(0x40c)](),_0x1d1282||this[_0x683750(0x464)]();}));}[_0x207232(0x1f1)](){var _0x4e5fbb=_0x207232;super[_0x4e5fbb(0x1f1)](),this[_0x4e5fbb(0x3b5)]['forEach'](_0x56642c=>_0x56642c[_0x4e5fbb(0x1f1)]()),this[_0x4e5fbb(0x3b5)][_0x4e5fbb(0x2e2)](),this['_status$'][_0x4e5fbb(0x27a)]();}async[_0x207232(0x396)](_0x5bf8cd){var _0x383999=_0x207232;if(this['_sessions'][_0x383999(0x2c7)](_0x5bf8cd))return this['_sessions'][_0x383999(0x410)](_0x5bf8cd);this[_0x383999(0x286)]();const _0x3e50be=this['_injector']['createInstance'](It,_0x5bf8cd,this[_0x383999(0x37b)][_0x383999(0x2c0)]());return this['_sessions'][_0x383999(0x459)](_0x5bf8cd,_0x3e50be),_0x3e50be;}[_0x207232(0x24a)](_0x5529a1){var _0x59babe=_0x207232,_0x1e3dad;const _0x305e25=this[_0x59babe(0x3b5)]['get'](_0x5529a1);_0x305e25&&(this['_sessions'][_0x59babe(0x2d4)](_0x5529a1),_0x305e25[_0x59babe(0x25c)]()),this[_0x59babe(0x3b5)][_0x59babe(0x22d)]||(_0x1e3dad=this[_0x59babe(0x386)])==null||_0x1e3dad[_0x59babe(0x25c)]();}['reconnect'](){var _0x368fb1=_0x207232;this[_0x368fb1(0x21a)]=0x0,this[_0x368fb1(0x4b0)]!=null&&(clearTimeout(this[_0x368fb1(0x4b0)]),this[_0x368fb1(0x4b0)]=null),this[_0x368fb1(0x481)]();}async['_getSessionTicket'](){var _0x3e3fb0=_0x207232,_0x5c1442,_0x18238c,_0xc3eac0;const _0x408760=this['_configService']['getConfig'](q),_0x1a4f5a=(_0x5c1442=_0x408760==null?void 0x0:_0x408760[_0x3e3fb0(0x3bb)])!=null?_0x5c1442:On;return(_0xc3eac0=(_0x18238c=(await this[_0x3e3fb0(0x468)][_0x3e3fb0(0x410)](_0x1a4f5a,{'headers':{'Content-Type':_0x3e3fb0(0x447)}}))[_0x3e3fb0(0x242)])==null?void 0x0:_0x18238c[_0x3e3fb0(0x44e)])!=null?_0xc3eac0:'';}[_0x207232(0x2dc)](_0x1260f2){var _0x14865d=_0x207232,_0x3b2862,_0x44654e;const _0x5b212a=this[_0x14865d(0x452)]['getConfig'](Rn),_0x447555=this[_0x14865d(0x452)][_0x14865d(0x3a9)](q),_0x5c8a6d=(_0x44654e=(_0x3b2862=_0x447555==null?void 0x0:_0x447555['collabWebSocketUrl'])!=null?_0x3b2862:_0x5b212a)!=null?_0x44654e:bn,_0x54e184=typeof window>'u'?new URL(_0x5c8a6d):new URL(_0x5c8a6d,window[_0x14865d(0x214)]['origin']);_0x54e184[_0x14865d(0x22a)]['set'](_0x14865d(0x49e),_0x1260f2);const _0xc4c745=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x14865d(0x214)][_0x14865d(0x42a)]);return _0xc4c745['get'](_0x14865d(0x3c5))&&_0x54e184[_0x14865d(0x22a)]['set'](_0x14865d(0x3c5),_0xc4c745[_0x14865d(0x410)](_0x14865d(0x3c5))),_0x54e184[_0x14865d(0x222)]();}async[_0x207232(0x34a)](){var _0x163445=_0x207232;const _0x457331=await this[_0x163445(0x4a5)](),_0x295979=this[_0x163445(0x2dc)](_0x457331),_0x29ab54=this[_0x163445(0x43a)]['createSocket'](_0x295979);return this['_candidateSocket']=_0x29ab54,_0x29ab54;}async['_tryEnsureSocket'](){var _0x421fbf=_0x207232,_0x29565c,_0x387c78;try{const _0x8cd473=(_0x387c78=(_0x29565c=this['_socket'])!=null?_0x29565c:this['_candidateSocket'])!=null?_0x387c78:await this[_0x421fbf(0x34a)]();if(_0x8cd473){const _0x3539d6=_0x8cd473['send'];_0x8cd473[_0x421fbf(0x2fe)]=_0x1ea516=>(this[_0x421fbf(0x437)](),_0x3539d6[_0x421fbf(0x47c)](_0x8cd473,[_0x1ea516])),_0x8cd473['message$'][_0x421fbf(0x416)](_0x53d4d9=>this[_0x421fbf(0x431)](_0x8cd473,_0x53d4d9)),_0x8cd473['error$'][_0x421fbf(0x216)](_0x5445a1(0x1))['subscribe'](_0x2ab308=>this[_0x421fbf(0x275)][_0x421fbf(0x3aa)](_0x421fbf(0x205),_0x2ab308)),_0x8cd473['open$'][_0x421fbf(0x216)](_0x5445a1(0x1))[_0x421fbf(0x416)](()=>{var _0x452341=_0x421fbf;this[_0x452341(0x2e1)](_0x8cd473);}),_0x8cd473[_0x421fbf(0x2b8)][_0x421fbf(0x216)](_0x5445a1(0x1))[_0x421fbf(0x416)](_0x50ca28=>{var _0x3cdeff=_0x421fbf;this[_0x3cdeff(0x275)][_0x3cdeff(0x32b)](_0x3cdeff(0x31f),_0x3cdeff(0x229),_0x50ca28),this['_onConnectionFailed']();});}}catch(_0x2b12f0){this['_logService'][_0x421fbf(0x3aa)](_0x2b12f0),this['_onConnectionFailed']();}}[_0x207232(0x2e1)](_0x4940fa){var _0x265719=_0x207232;this[_0x265719(0x275)][_0x265719(0x32b)](_0x265719(0x31f),_0x265719(0x3d6)),_0x4940fa[_0x265719(0x2fe)]({'cmd':F[_0x265719(0x307)]}),this[_0x265719(0x437)]();}[_0x207232(0x464)](){var _0x231a4a=_0x207232;this[_0x231a4a(0x4c6)]=!0x1,this[_0x231a4a(0x2bd)]=null,this[_0x231a4a(0x260)]['next'](Te[_0x231a4a(0x2c3)]),this['_socket$'][_0x231a4a(0x255)](null),this[_0x231a4a(0x23a)](),this[_0x231a4a(0x3df)]();}[_0x207232(0x2a2)](){var _0x422f68=_0x207232,_0x5d486c;this[_0x422f68(0x464)](),this[_0x422f68(0x21a)]<((_0x5d486c=this[_0x422f68(0x452)][_0x422f68(0x3a9)](Pn))!=null?_0x5d486c:wn)?(this[_0x422f68(0x4d1)]['emitEvent']({'id':se[_0x422f68(0x3c8)]}),this[_0x422f68(0x481)]()):this[_0x422f68(0x4d1)][_0x422f68(0x491)]({'id':se[_0x422f68(0x425)]});}[_0x207232(0x481)](){var _0x200be0=_0x207232,_0x596b3a;const _0xaac7fa=this[_0x200be0(0x21a)],_0x5c5d51=this[_0x200be0(0x452)][_0x200be0(0x3a9)](q),_0x56dce7=_0xaac7fa===0x0?0x0:((_0x596b3a=_0x5c5d51==null?void 0x0:_0x5c5d51['retryConnectingInterval'])!=null?_0x596b3a:Dn)*0x2**_0xaac7fa;this[_0x200be0(0x4b0)]=setTimeout(()=>{var _0x22a156=_0x200be0;clearTimeout(this['_retryConnectingTimer']),this[_0x22a156(0x4b0)]=null,this[_0x22a156(0x286)]();},_0x56dce7),this[_0x200be0(0x21a)]+=0x1;}[_0x207232(0x431)](_0x587a2c,_0x7ec4d7){var _0x19111c=_0x207232;const {cmd:_0x469c89}=_0x7ec4d7;_0x469c89===F[_0x19111c(0x307)]&&!this[_0x19111c(0x4c6)]&&(_0x587a2c[_0x19111c(0x212)]=_0x7ec4d7[_0x19111c(0x44c)][_0x19111c(0x212)],this[_0x19111c(0x37b)][_0x19111c(0x255)](_0x587a2c),this[_0x19111c(0x260)][_0x19111c(0x255)](Te[_0x19111c(0x3a5)]),this[_0x19111c(0x4c6)]=!0x0,this['_candidateSocket']=null),_0x469c89===F[_0x19111c(0x29d)]&&this[_0x19111c(0x23a)](),this[_0x19111c(0x437)]();}[_0x207232(0x437)](){var _0x19e931=_0x207232,_0x1d95b2;this['_clearHeartbeatTimer'](),this[_0x19e931(0x225)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1d95b2=this['_configService'][_0x19e931(0x3a9)](yn))!=null?_0x1d95b2:Nn);}['_sendHeartbeat'](){var _0x3459bb=_0x207232;this['_socket'][_0x3459bb(0x2fe)]({'cmd':F[_0x3459bb(0x29d)]}),this['_waitForHeartbeatResponse']();}[_0x207232(0x3ab)](){var _0x2d141b=_0x207232,_0xfc6c83;this[_0x2d141b(0x2a5)]=setTimeout(()=>this[_0x2d141b(0x2a2)](),(_0xfc6c83=this[_0x2d141b(0x452)][_0x2d141b(0x3a9)](Si))!=null?_0xfc6c83:Ei);}['_clearHeartbeatTimer'](){var _0x310599=_0x207232;this[_0x310599(0x225)]!=null&&(clearTimeout(this[_0x310599(0x225)]),this['_sendHeartbeatTimer']=null);}[_0x207232(0x23a)](){var _0x1070a5=_0x207232;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1070a5(0x2a5)]),this[_0x1070a5(0x2a5)]=null);}};Le=er([ge(0x0,_0x133bf8(_0x55be5b)),ge(0x1,_0x248f6a),ge(0x2,_0x2ddc28),ge(0x3,Ci),ge(0x4,_0x133bf8(_0xec288c)),ge(0x5,_0x133bf8(pe)),ge(0x6,_0x910b95(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x207232(0x2ac)]((n+0x100)[_0x207232(0x222)](0x10)[_0x207232(0x27f)](0x1));function tr(_0x3d0afb,_0x4a1805=0x0){var _0x4ea36f=_0x207232;return(V[_0x3d0afb[_0x4a1805+0x0]]+V[_0x3d0afb[_0x4a1805+0x1]]+V[_0x3d0afb[_0x4a1805+0x2]]+V[_0x3d0afb[_0x4a1805+0x3]]+'-'+V[_0x3d0afb[_0x4a1805+0x4]]+V[_0x3d0afb[_0x4a1805+0x5]]+'-'+V[_0x3d0afb[_0x4a1805+0x6]]+V[_0x3d0afb[_0x4a1805+0x7]]+'-'+V[_0x3d0afb[_0x4a1805+0x8]]+V[_0x3d0afb[_0x4a1805+0x9]]+'-'+V[_0x3d0afb[_0x4a1805+0xa]]+V[_0x3d0afb[_0x4a1805+0xb]]+V[_0x3d0afb[_0x4a1805+0xc]]+V[_0x3d0afb[_0x4a1805+0xd]]+V[_0x3d0afb[_0x4a1805+0xe]]+V[_0x3d0afb[_0x4a1805+0xf]])[_0x4ea36f(0x3f3)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0xf09524=_0x207232;if(!ut){if(typeof crypto>'u'||!crypto[_0xf09524(0x301)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0xf09524(0x346)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x207232(0x346)](crypto),qt={'randomUUID':rr};function sr(_0x151e98,_0x4eaddb,_0x4cbfb3){var _0x1078da=_0x207232,_0x484b27,_0x5c1a2b,_0x5f1bfe;if(qt['randomUUID']&&!_0x151e98)return qt['randomUUID']();_0x151e98=_0x151e98||{};const _0x2cbd29=(_0x5f1bfe=(_0x5c1a2b=_0x151e98['random'])!=null?_0x5c1a2b:(_0x484b27=_0x151e98[_0x1078da(0x405)])==null?void 0x0:_0x484b27[_0x1078da(0x281)](_0x151e98))!=null?_0x5f1bfe:nr();if(_0x2cbd29[_0x1078da(0x453)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x2cbd29[0x6]=_0x2cbd29[0x6]&0xf|0x40,_0x2cbd29[0x8]=_0x2cbd29[0x8]&0x3f|0x80,tr(_0x2cbd29);}const J=_0x3e2437(_0x207232(0x252));function so(_0x28c8e3){var _0x5e68eb=_0x207232;return _0x5e68eb(0x490)+_0x28c8e3;}var or=Object[_0x207232(0x20c)],ar=Object[_0x207232(0x469)],cr=(_0x5cc70a,_0x30265f,_0x401c9d,_0x59d6bc)=>{var _0x297687=_0x207232;for(var _0x58e93a=_0x59d6bc>0x1?void 0x0:_0x59d6bc?ar(_0x30265f,_0x401c9d):_0x30265f,_0x22b0cf=_0x5cc70a[_0x297687(0x453)]-0x1,_0x3aa2ce;_0x22b0cf>=0x0;_0x22b0cf--)(_0x3aa2ce=_0x5cc70a[_0x22b0cf])&&(_0x58e93a=(_0x59d6bc?_0x3aa2ce(_0x30265f,_0x401c9d,_0x58e93a):_0x3aa2ce(_0x58e93a))||_0x58e93a);return _0x59d6bc&&_0x58e93a&&or(_0x30265f,_0x401c9d,_0x58e93a),_0x58e93a;},dt=(_0x4aa863,_0x47851b)=>(_0x4bfd66,_0x5e83f1)=>_0x47851b(_0x4bfd66,_0x5e83f1,_0x4aa863);function hr(_0x2773e6){var _0x4d0b45=_0x207232;const {unitID:_0x176bbd,mutations:_0x50d18e}=_0x2773e6;return{'unitId':_0x176bbd,'subUnitId':_0x50d18e[0x0][_0x4d0b45(0x3b2)][_0x4d0b45(0x22b)]};}let it=class{constructor(_0x56966a,_0xf6422a,_0x33b234){var _0x13a9b0=_0x207232;this[_0x13a9b0(0x406)]=_0x56966a,this[_0x13a9b0(0x2cd)]=_0xf6422a,this[_0x13a9b0(0x3fd)]=_0x33b234;}[_0x207232(0x4ae)](_0x4fc6f1){var _0x5a1d0e=_0x207232,_0x8d57f3,_0x211f1d,_0x186f97,_0x4309b8;const _0x368960=this['_injector'][_0x5a1d0e(0x410)](_0x4a2a8f),{unitId:_0x63b2a0,subUnitId:_0xe382a}=hr(_0x4fc6f1),_0x3c0380=_0x368960==null?void 0x0:_0x368960[_0x5a1d0e(0x4bc)](_0x63b2a0)['getCurrentSelections'](),_0x4e714f=(_0x211f1d=(_0x8d57f3=this[_0x5a1d0e(0x3fd)][_0x5a1d0e(0x2fb)](_0x63b2a0))==null?void 0x0:_0x8d57f3['getActiveSheet']())==null?void 0x0:_0x211f1d[_0x5a1d0e(0x366)]();if(_0x3c0380['length']===0x0||!_0x63b2a0||!_0xe382a)return;const _0x22a585=[{'id':_0x257c7a['id'],'params':{'unitId':_0x63b2a0,'subUnitId':_0x4e714f,'selections':_0xc9f11[_0x5a1d0e(0x25e)](_0x3c0380)}}],_0x437d48=this[_0x5a1d0e(0x2cd)][_0x5a1d0e(0x43f)](_0x4fc6f1,_0x22a585);if(!_0x5ddb74(_0x437d48))throw _0x437d48[_0x5a1d0e(0x3aa)];const _0x1cf27e=(_0x4309b8=(_0x186f97=_0x437d48[_0x5a1d0e(0x455)][0x0])==null?void 0x0:_0x186f97[_0x5a1d0e(0x3b2)])==null?void 0x0:_0x4309b8['selections'];if(Array[_0x5a1d0e(0x254)](_0x1cf27e)&&_0x1cf27e['length']){if(_0x1cf27e[_0x5a1d0e(0x453)]===_0x22a585[0x0][_0x5a1d0e(0x3b2)][_0x5a1d0e(0x485)][_0x5a1d0e(0x453)]&&_0x1cf27e[_0x5a1d0e(0x2bb)]((_0x40f0f4,_0x1fba27)=>_0x20b66a[_0x5a1d0e(0x46e)](_0x40f0f4['range'],_0x22a585[0x0][_0x5a1d0e(0x3b2)][_0x5a1d0e(0x485)][_0x1fba27][_0x5a1d0e(0x2ef)])))return;this[_0x5a1d0e(0x406)][_0x5a1d0e(0x410)](_0x1023d2)[_0x5a1d0e(0x358)](_0x257c7a['id'],{'unitId':_0x63b2a0,'subUnitId':_0x4e714f,'selections':_0x1cf27e});}}};it=cr([dt(0x0,_0x133bf8(_0x55be5b)),dt(0x1,_0x2452dd),dt(0x2,_0x39ac8e)],it);const ht=_0x3e2437('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x3e7154=>(_0x3e7154[_0x3e7154['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x207232(0x1f4),_0x3e7154[_0x3e7154[_0x207232(0x474)]=0x1]=_0x207232(0x474),_0x3e7154))(bi||{});const _r=new Set([_0x3c387b['id']]);function zt(_0xdfdaae,_0x34fa4f,_0x5090a8,_0x2c135c,_0x26ac86){var _0x471e75=_0x207232,_0x4a51da,_0x4bb7d2,_0x20f773,_0x2b1105;const _0x10475c=[];for(const _0x1c0d0b of _0xdfdaae)if(_r[_0x471e75(0x2c7)](_0x1c0d0b['id'])){if(_0x10475c[_0x471e75(0x453)]>0x0)break;_0x10475c[_0x471e75(0x2ac)](_0x1c0d0b);break;}else _0x10475c[_0x471e75(0x2ac)](_0x1c0d0b);const _0x6c4ead=(_0x4bb7d2=(_0x4a51da=_0x26ac86[_0x471e75(0x300)]())==null?void 0x0:_0x4a51da[_0x471e75(0x42e)])!=null?_0x4bb7d2:_0x471e75(0x26d),_0x4ddd70=(_0x2b1105=(_0x20f773=_0x26ac86[_0x471e75(0x300)]())==null?void 0x0:_0x20f773['memberID'])!=null?_0x2b1105:_0x471e75(0x26d);return{'changeset':{'unitID':_0x34fa4f,'type':_0x5bf4b1(_0x5090a8['getUnitType'](_0x34fa4f)),'baseRev':_0x2c135c[_0x471e75(0x2ca)](_0x34fa4f),'revision':0x0,'userID':_0x6c4ead,'memberID':_0x4ddd70,'mutations':_0x10475c},'pendingMutations':_0xdfdaae['slice'](_0x10475c[_0x471e75(0x453)])};}function lr(_0x18b607,_0x2a585b,_0x1dfa98,_0x4b3374,_0x560813){var _0x1de8bb=_0x207232,_0x387d83,_0x4790e5,_0x45e73a,_0x131e16;const _0x95935=[_0x18b607[_0x1de8bb(0x217)]((_0x53cfd7,_0x4b7e19)=>{var _0x14a2d6=_0x1de8bb,_0x1a4bc2;const {id:_0x19eec9}=_0x53cfd7,{id:_0x10aa01,type:_0x48ef4d}=_0x4b7e19,_0x265415=(_0x1a4bc2=_0x53cfd7[_0x14a2d6(0x3b2)])!=null?_0x1a4bc2:{'actions':null},_0x8c7507=_0x4b7e19[_0x14a2d6(0x3b2)];if(_0x19eec9&&_0x19eec9!==_0x10aa01)throw new Error(_0x14a2d6(0x219)+_0x19eec9+_0x14a2d6(0x42d)+_0x10aa01+'.');return{..._0x53cfd7,'id':_0x10aa01,'type':_0x48ef4d,'params':{'unitId':_0x8c7507[_0x14a2d6(0x393)],'textRanges':_0x8c7507[_0x14a2d6(0x29a)],'actions':_0x5011f1[_0x14a2d6(0x487)](_0x265415['actions'],_0x8c7507[_0x14a2d6(0x2e6)])}};},{})],_0x21fb4f=(_0x4790e5=(_0x387d83=_0x560813['getCurrentUser']())==null?void 0x0:_0x387d83['userID'])!=null?_0x4790e5:'unknown',_0x87b9eb=(_0x131e16=(_0x45e73a=_0x560813['getCurrentUser']())==null?void 0x0:_0x45e73a['memberID'])!=null?_0x131e16:_0x1de8bb(0x26d);return{'changeset':{'unitID':_0x2a585b,'type':_0x5bf4b1(_0x1dfa98[_0x1de8bb(0x397)](_0x2a585b)),'baseRev':_0x4b3374[_0x1de8bb(0x2ca)](_0x2a585b),'revision':0x0,'userID':_0x21fb4f,'memberID':_0x87b9eb,'mutations':_0x95935},'pendingMutations':[]};}function Oi(_0xfad9c2,_0x2e7fd4){var _0x3bbcf6=_0x207232;const _0x331753=new _0x38b04f(0x1);return setTimeout(()=>_0x331753[_0x3bbcf6(0x255)](_0x2e7fd4),_0xfad9c2),_0x331753[_0x3bbcf6(0x2c0)]()['pipe'](_0x452f05(0x1));}const ur={'id':_0x19b9dd['id'],'type':_0xc31ed7['MUTATION'],'params':{}};var dr=Object[_0x207232(0x20c)],fr=Object[_0x207232(0x469)],Re=(_0x1ef807,_0x13f59b,_0x597b6a,_0x160bdf)=>{var _0x217813=_0x207232;for(var _0x50e514=_0x160bdf>0x1?void 0x0:_0x160bdf?fr(_0x13f59b,_0x597b6a):_0x13f59b,_0x2bff43=_0x1ef807[_0x217813(0x453)]-0x1,_0x5d5808;_0x2bff43>=0x0;_0x2bff43--)(_0x5d5808=_0x1ef807[_0x2bff43])&&(_0x50e514=(_0x160bdf?_0x5d5808(_0x13f59b,_0x597b6a,_0x50e514):_0x5d5808(_0x50e514))||_0x50e514);return _0x160bdf&&_0x50e514&&dr(_0x13f59b,_0x597b6a,_0x50e514),_0x50e514;},A=(_0x2fc6cc,_0x17a516)=>(_0x1955df,_0x45f785)=>_0x17a516(_0x1955df,_0x45f785,_0x2fc6cc),yi=(_0x100339=>(_0x100339['NOT_COLLAB']=_0x207232(0x411),_0x100339['SYNCED']='synced',_0x100339['PENDING']=_0x207232(0x458),_0x100339[_0x207232(0x30e)]=_0x207232(0x492),_0x100339[_0x207232(0x409)]=_0x207232(0x360),_0x100339[_0x207232(0x234)]='fetch_missing',_0x100339[_0x207232(0x34c)]='conflict',_0x100339[_0x207232(0x2c3)]=_0x207232(0x4a7),_0x100339))(yi||{});const Ni=0xea60;class be{constructor(_0x3fe147,_0x47b832,_0x572138,_0x214489,_0x1705ed,_0x199cca,_0x19ed78,_0x41aba5,_0xb8cccb){var _0x1fe2e3=_0x207232;N(this,_0x1fe2e3(0x3a4),null),N(this,_0x1fe2e3(0x306),[]),(this['unitID']=_0x3fe147,this[_0x1fe2e3(0x276)]=_0x47b832,this[_0x1fe2e3(0x49c)]=_0x1705ed,this['_commandService']=_0x199cca,this['_undoRedoService']=_0x19ed78,this['_revisionService']=_0x41aba5,this['_localCacheService']=_0xb8cccb,this[_0x1fe2e3(0x3a4)]=_0x572138,this[_0x1fe2e3(0x306)]=_0x214489);}[_0x207232(0x40a)](_0x23b400){var _0x3f7c00=_0x207232;const _0x45e65a=this[_0x3f7c00(0x40e)][_0x3f7c00(0x2ca)](this[_0x3f7c00(0x1f8)]);return _0x23b400[_0x3f7c00(0x427)]>_0x45e65a+0x1?(this[_0x3f7c00(0x49c)][_0x3f7c00(0x245)]({'from':_0x45e65a,'to':_0x23b400['revision']-0x1}),!0x0):!0x1;}[_0x207232(0x2aa)](_0xa61e3b){var _0x4383ee=_0x207232;this[_0x4383ee(0x334)][_0x4383ee(0x3a1)](this[_0x4383ee(0x1f8)],_0xa61e3b);}['_transformSelections'](_0x28f8d3){var _0x1c053a=_0x207232,_0x356b10,_0x3a419f;(_0x3a419f=(_0x356b10=this[_0x1c053a(0x49c)])[_0x1c053a(0x4a3)])==null||_0x3a419f[_0x1c053a(0x281)](_0x356b10,_0x28f8d3);}['_transformIMECache'](_0x42396b){var _0x37dee3=_0x207232,_0x402c9c,_0x1f9960;return(_0x1f9960=(_0x402c9c=this[_0x37dee3(0x49c)])[_0x37dee3(0x461)])==null?void 0x0:_0x1f9960[_0x37dee3(0x281)](_0x402c9c,_0x42396b);}[_0x207232(0x451)](_0x5a880c){var _0x49f338=_0x207232,_0x5c1be6,_0x319d55;return(_0x319d55=(_0x5c1be6=this['_handler'])[_0x49f338(0x329)])==null?void 0x0:_0x319d55[_0x49f338(0x281)](_0x5c1be6,_0x5a880c);}[_0x207232(0x46c)](_0xc638d8){var _0x126f25=_0x207232,_0x3cddfd,_0x40fb0d,_0x13fda0;return(_0x13fda0=(_0x40fb0d=(_0x3cddfd=this['_handler'])[_0x126f25(0x345)])==null?void 0x0:_0x40fb0d[_0x126f25(0x281)](_0x3cddfd,_0xc638d8))!=null?_0x13fda0:_0xc638d8;}[_0x207232(0x2ad)](_0xc6d610){var _0xfa7b3b=_0x207232,_0x151623,_0x508369,_0x2724fc;return(_0x2724fc=(_0x508369=(_0x151623=this[_0xfa7b3b(0x49c)])[_0xfa7b3b(0x4c9)])==null?void 0x0:_0x508369[_0xfa7b3b(0x281)](_0x151623,_0xc6d610))!=null?_0x2724fc:_0xc6d610;}[_0x207232(0x353)](_0x4ac312){var _0x16417f=_0x207232,_0x4f878e,_0x515eb5;if(this[_0x16417f(0x276)]===Q[_0x16417f(0x2f9)]){const {unitID:_0x40ec93,mutations:_0x4833f4,memberID:_0xac9e6e}=_0x4ac312,_0x536f54=_0x4833f4[0x0][_0x16417f(0x3b2)][_0x16417f(0x29a)];Array[_0x16417f(0x254)](_0x536f54)&&_0x536f54[_0x16417f(0x453)]>0x0&&((_0x515eb5=(_0x4f878e=this[_0x16417f(0x49c)])[_0x16417f(0x3c9)])==null||_0x515eb5[_0x16417f(0x281)](_0x4f878e,{'unitID':_0x40ec93,'memberID':_0xac9e6e,'textRanges':_0x536f54}));}}[_0x207232(0x265)](){var _0x4d94af=_0x207232,_0x73eef;(_0x73eef=this[_0x4d94af(0x413)])==null||_0x73eef[_0x4d94af(0x270)](this[_0x4d94af(0x1f8)],this['type'],this[_0x4d94af(0x3a4)],this[_0x4d94af(0x306)]);}[_0x207232(0x2bc)](){var _0xdca458=_0x207232;return this[_0xdca458(0x40e)][_0xdca458(0x2ca)](this[_0xdca458(0x1f8)]);}[_0x207232(0x263)](){var _0x38fd85=_0x207232;this[_0x38fd85(0x40e)][_0x38fd85(0x319)](this['unitID']);}['_executeRemoteChangeset'](_0x36a5e5){var _0x123356=_0x207232,_0x311c28;let _0x26b58f=this[_0x123356(0x46c)](_0x36a5e5);_0x26b58f=this[_0x123356(0x2ad)](_0x26b58f);const _0x42a761=_0xbf95c0(_0x26b58f['mutations'],this[_0x123356(0x418)],{'fromCollab':!0x0});if(!_0x42a761[_0x123356(0x48c)])throw _0x42a761[_0x123356(0x3aa)]instanceof Error?_0x42a761[_0x123356(0x3aa)]:new Error((_0x311c28=_0x42a761[_0x123356(0x3aa)])!=null?_0x311c28:_0x123356(0x24c));this['_transformIMECache'](_0x26b58f),this['_transformStateCache'](_0x26b58f),this[_0x123356(0x2aa)](_0x36a5e5),this['_transformSelections'](_0x26b58f),this[_0x123356(0x353)](_0x26b58f),this[_0x123356(0x263)]();}}let De=class extends be{constructor(_0x3ac359,_0x2a0dbc,_0x1e517d,_0x50a390,_0x3a797c,_0x1aea34,_0x3de172,_0x592994,_0x2d05fd,_0x2bc733){var _0x1644bd=_0x207232;super(_0x3ac359,_0x2a0dbc,null,[],_0x1e517d,_0x3de172,_0x1aea34,_0x50a390,_0x2bc733),N(this,'status','synced'),(this[_0x1644bd(0x406)]=_0x3a797c,this[_0x1644bd(0x275)]=_0x592994,this[_0x1644bd(0x2cd)]=_0x2d05fd,this[_0x1644bd(0x423)]=_0x2bc733);}[_0x207232(0x343)](_0xac0384){var _0x217fe6=_0x207232;const _0x5e71e6=this[_0x217fe6(0x406)][_0x217fe6(0x3c1)](oe,this[_0x217fe6(0x1f8)],this[_0x217fe6(0x276)],[_0xac0384],this['_handler']);return _0x5e71e6['_schedule'](),_0x5e71e6[_0x217fe6(0x265)](),_0x5e71e6;}['onRemoteChangeset'](_0x2cef20){var _0x1a4832=_0x207232;if(this[_0x1a4832(0x40a)](_0x2cef20))return this[_0x1a4832(0x406)][_0x1a4832(0x3c1)](te,this[_0x1a4832(0x1f8)],this[_0x1a4832(0x276)],null,[],null,[_0x2cef20],this['_handler']);try{const _0x26d2f5=this[_0x1a4832(0x2cd)][_0x1a4832(0x43f)](_0x2cef20,[ur]);if(_0x5ddb74(_0x26d2f5)){const {c1Prime:_0x23b35d}=_0x26d2f5;return this['_executeRemoteChangeset'](_0x23b35d),this;}throw _0x26d2f5[_0x1a4832(0x3aa)];}catch(_0x6e9e6e){return this[_0x1a4832(0x275)][_0x1a4832(0x3aa)](_0x6e9e6e),this[_0x1a4832(0x340)](!0x1);}}[_0x207232(0x340)](_0x327771){var _0x28d5ef=_0x207232;return this[_0x28d5ef(0x406)][_0x28d5ef(0x3c1)](de,this[_0x28d5ef(0x1f8)],this['type'],null,[],this[_0x28d5ef(0x49c)],_0x327771);}[_0x207232(0x4de)](){var _0x49cd9c=_0x207232;throw new Error(_0x49cd9c(0x20f));}[_0x207232(0x248)](){var _0x51b547=_0x207232;throw new Error(_0x51b547(0x3e4));}['onRemoteRetry'](){return this;}[_0x207232(0x282)](){var _0x2268a5=_0x207232;return this['_injector']['createInstance'](fe,this[_0x2268a5(0x1f8)],this[_0x2268a5(0x276)],null,[],this['_handler']);}[_0x207232(0x4df)](){return this;}['resend'](){var _0x1ee6e9=_0x207232;throw new Error(_0x1ee6e9(0x285));}['fetchMiss'](){var _0x29e18c=_0x207232;const _0x409294=this[_0x29e18c(0x40e)][_0x29e18c(0x2ca)](this[_0x29e18c(0x1f8)]);return this[_0x29e18c(0x49c)][_0x29e18c(0x245)]({'from':_0x409294,'to':0x0}),this[_0x29e18c(0x406)][_0x29e18c(0x3c1)](te,this[_0x29e18c(0x1f8)],this[_0x29e18c(0x276)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x133bf8(_0x34b3d6)),A(0x4,_0x133bf8(_0x55be5b)),A(0x5,_0x1f81a8),A(0x6,_0x1023d2),A(0x7,_0x248f6a),A(0x8,_0x2452dd),A(0x9,_0x910b95(J))],De);let oe=class extends be{constructor(_0x237559,_0x2b017e,_0x1be9bc,_0x24d6cd,_0xa7c0b,_0x2e1c71,_0x105635,_0x4614c6,_0x55c88f,_0xfac81,_0x515f63,_0x18f11a,_0x47b849,_0x4b0c8d){var _0x284209=_0x207232;super(_0x237559,_0x2b017e,null,_0x1be9bc,_0x24d6cd,_0x55c88f,_0x47b849,_0x2e1c71,_0x4b0c8d),N(this,'status',_0x284209(0x458)),N(this,_0x284209(0x22e),null),N(this,'_sendingTimer',null),(this[_0x284209(0x406)]=_0xa7c0b,this['_memberService']=_0x105635,this['_logService']=_0x4614c6,this[_0x284209(0x452)]=_0xfac81,this['_transformService']=_0x515f63,this[_0x284209(0x244)]=_0x18f11a);}['appendMutation'](_0x2b6baf){var _0x4290dc=_0x207232;return this['_pendingMutations']['push'](_0x2b6baf),this[_0x4290dc(0x265)](),this;}[_0x207232(0x4d0)](_0xce0a70){var _0x330edb=_0x207232;if(this[_0x330edb(0x40a)](_0xce0a70))return this[_0x330edb(0x21e)](),this[_0x330edb(0x406)][_0x330edb(0x3c1)](te,this[_0x330edb(0x1f8)],this[_0x330edb(0x276)],null,this[_0x330edb(0x306)],null,[_0xce0a70],this[_0x330edb(0x49c)]);try{const _0x209de8=this['_transformService'][_0x330edb(0x43f)](_0xce0a70,this[_0x330edb(0x306)]);if(_0x5ddb74(_0x209de8)){const {c1Prime:_0x275e69,m2Prime:_0x398c31}=_0x209de8;this[_0x330edb(0x3a0)](_0x275e69);const _0x3e7ae2=this[_0x330edb(0x406)][_0x330edb(0x3c1)](oe,this[_0x330edb(0x1f8)],this['type'],_0x398c31,this[_0x330edb(0x49c)]);this['_clearScheduledTask']();const _0x386ef0=new Date()[_0x330edb(0x494)](),_0x26de70=this['_scheduleCompleteTimestamp']?Math[_0x330edb(0x3f5)](this['_scheduleCompleteTimestamp']-_0x386ef0,0x0):this[_0x330edb(0x3b6)]();return _0x3e7ae2[_0x330edb(0x44f)](_0x26de70),_0x3e7ae2;}throw _0x209de8[_0x330edb(0x3aa)];}catch(_0x3ce349){return this[_0x330edb(0x275)][_0x330edb(0x3aa)](_0x3ce349),this[_0x330edb(0x340)](!0x1);}}['onRemoteAck'](){var _0x98ebed=_0x207232;throw new Error(_0x98ebed(0x20d));}[_0x207232(0x248)](){var _0x1dd0f6=_0x207232;throw new Error(_0x1dd0f6(0x32e));}[_0x207232(0x2f5)](){return this;}[_0x207232(0x282)](){var _0x3c6c74=_0x207232;return this[_0x3c6c74(0x21e)](),this[_0x3c6c74(0x406)][_0x3c6c74(0x3c1)](fe,this[_0x3c6c74(0x1f8)],this['type'],null,this['_pendingMutations'],this[_0x3c6c74(0x49c)]);}['toggleOnline'](){return this;}['_schedule'](_0x3d8397){var _0x57404f=_0x207232;const _0x2c4c3d=_0x3d8397!=null?_0x3d8397:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x2c4c3d,this[_0x57404f(0x290)]=setTimeout(()=>{var _0x35fabb=_0x57404f;this[_0x35fabb(0x21e)]();let _0x401a26=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x401a26=zt(this[_0x35fabb(0x306)],this[_0x35fabb(0x1f8)],this[_0x35fabb(0x244)],this['_revisionService'],this[_0x35fabb(0x3bc)]);break;}case Q['UNIVER_DOC']:{this[_0x35fabb(0x306)]['every'](_0x1dac0f=>_0x1dac0f['id']===_0x340e83['id'])?_0x401a26=lr(this['_pendingMutations'],this[_0x35fabb(0x1f8)],this['_univerInstanceService'],this[_0x35fabb(0x40e)],this['_memberService']):_0x401a26=zt(this[_0x35fabb(0x306)],this[_0x35fabb(0x1f8)],this[_0x35fabb(0x244)],this[_0x35fabb(0x40e)],this[_0x35fabb(0x3bc)]);break;}default:throw new Error(_0x35fabb(0x230)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x294fb3,pendingMutations:_0x5ad03c}=_0x401a26;this[_0x35fabb(0x49c)][_0x35fabb(0x1f2)](_0x294fb3);const _0x9b800=_0x5ad03c[_0x35fabb(0x453)]?this[_0x35fabb(0x406)][_0x35fabb(0x3c1)](ae,this[_0x35fabb(0x1f8)],this[_0x35fabb(0x276)],_0x294fb3,_0x5ad03c,this['_handler'],void 0x0):this[_0x35fabb(0x406)]['createInstance'](ue,this[_0x35fabb(0x1f8)],this[_0x35fabb(0x276)],_0x294fb3,this[_0x35fabb(0x49c)]);_0x9b800['_updateLocalCache'](),this['_handler'][_0x35fabb(0x2d8)](this,_0x9b800);},_0x2c4c3d);}[_0x207232(0x3b6)](){var _0x594ee9=_0x207232,_0x48d910;const _0x388543=this[_0x594ee9(0x452)][_0x594ee9(0x3a9)](q);return(_0x48d910=_0x388543==null?void 0x0:_0x388543[_0x594ee9(0x2c2)])!=null?_0x48d910:Cn;}[_0x207232(0x390)](){var _0x143a8a=_0x207232;throw new Error(_0x143a8a(0x3de));}[_0x207232(0x21e)](){var _0x4e05c0=_0x207232;this[_0x4e05c0(0x290)]!=null&&(clearTimeout(this[_0x4e05c0(0x290)]),this[_0x4e05c0(0x290)]=null);}['_onConflict'](_0x5d385e){var _0x54e5e6=_0x207232;return this[_0x54e5e6(0x21e)](),this[_0x54e5e6(0x406)][_0x54e5e6(0x3c1)](de,this[_0x54e5e6(0x1f8)],this[_0x54e5e6(0x276)],null,this['_pendingMutations'],this[_0x54e5e6(0x49c)],_0x5d385e);}};oe=Re([A(0x4,_0x133bf8(_0x55be5b)),A(0x5,_0x133bf8(_0x34b3d6)),A(0x6,_0x133bf8(xe)),A(0x7,_0x248f6a),A(0x8,_0x1023d2),A(0x9,_0x2ddc28),A(0xa,_0x2452dd),A(0xb,_0x39ac8e),A(0xc,_0x1f81a8),A(0xd,_0x910b95(J))],oe);let ue=class extends be{constructor(_0x2ba3a7,_0x14cc82,_0x3e966a,_0x52d509,_0xbef71a,_0x32f367,_0x2f9ab0,_0x3eead5,_0x4a7f43,_0x23f7d0,_0x572a19){var _0x1c1f3e=_0x207232;super(_0x2ba3a7,_0x14cc82,_0x3e966a,[],_0x52d509,_0x2f9ab0,_0x23f7d0,_0x32f367,_0x572a19),N(this,_0x1c1f3e(0x233),_0x1c1f3e(0x492)),N(this,_0x1c1f3e(0x3ae),0x0),N(this,_0x1c1f3e(0x2b2)),N(this,_0x1c1f3e(0x27c)),(this[_0x1c1f3e(0x406)]=_0xbef71a,this['_logService']=_0x3eead5,this['_transformService']=_0x4a7f43);}[_0x207232(0x343)](_0x1037d0){var _0x5185a4=_0x207232;this[_0x5185a4(0x21e)]();const _0x39d2b8=this[_0x5185a4(0x406)]['createInstance'](ae,this['unitID'],this['type'],this['_awaitingChangeset'],[_0x1037d0],this[_0x5185a4(0x49c)],this['_resendTimer']);return _0x39d2b8[_0x5185a4(0x265)](),_0x39d2b8;}[_0x207232(0x4d0)](_0x2efd8c){var _0x21e3f8=_0x207232;if(this[_0x21e3f8(0x40a)](_0x2efd8c))return this[_0x21e3f8(0x21e)](),this[_0x21e3f8(0x406)]['createInstance'](te,this[_0x21e3f8(0x1f8)],this[_0x21e3f8(0x276)],this[_0x21e3f8(0x3a4)],[],null,[_0x2efd8c],this[_0x21e3f8(0x49c)]);try{const _0x49d8fd=this['_transformService'][_0x21e3f8(0x308)]([_0x2efd8c],[this['_awaitingChangeset']],!0x1);if(_0x2e0b00(_0x49d8fd)){const {c1Prime:_0x468432,c2Prime:_0x497de0}=_0x49d8fd;this[_0x21e3f8(0x3a0)](_0x468432[0x0]),_0x497de0[0x0][_0x21e3f8(0x3ad)]=this[_0x21e3f8(0x2bc)](),this['_clearScheduledTask']();const _0x5aee0d=this[_0x21e3f8(0x406)]['createInstance'](ue,this[_0x21e3f8(0x1f8)],this[_0x21e3f8(0x276)],_0x497de0[0x0],this['_handler']);return _0x5aee0d[_0x21e3f8(0x265)](),_0x5aee0d;}return this['_onConflict'](!0x1);}catch(_0x35282b){return this[_0x21e3f8(0x275)][_0x21e3f8(0x3aa)](_0x35282b),this[_0x21e3f8(0x340)](!0x1);}}[_0x207232(0x4de)](_0x2dcea9){var _0x585bc1=_0x207232;this['_clearScheduledTask']();const _0x5a8aff=this[_0x585bc1(0x40e)]['getCurrentRevOfUnit'](this['unitID']);if(_0x2dcea9[_0x585bc1(0x427)]<_0x5a8aff-0x1)return this;if(this[_0x585bc1(0x40a)](_0x2dcea9))return this['_injector'][_0x585bc1(0x3c1)](te,this['unitID'],this[_0x585bc1(0x276)],null,[],this['_awaitingChangeset'],[],this[_0x585bc1(0x49c)]);this[_0x585bc1(0x263)]();const _0x3ba324=this[_0x585bc1(0x406)]['createInstance'](De,this[_0x585bc1(0x1f8)],this[_0x585bc1(0x276)],this[_0x585bc1(0x49c)]);return _0x3ba324['_updateLocalCache'](),_0x3ba324;}['onRemoteRej'](_0x3d5b70){var _0x203591=_0x207232;return this[_0x203591(0x340)](!!(_0x3d5b70!=null&&_0x3d5b70['isPermissionRej']));}[_0x207232(0x2f5)](_0x301907){var _0x507c37=_0x207232;return this[_0x507c37(0x3ae)]>Ni?this[_0x507c37(0x282)]():(this[_0x507c37(0x2b2)]=Oi(this[_0x507c37(0x3ae)],{'timeout':this[_0x507c37(0x3ae)],'reqId':_0x301907[_0x507c37(0x46f)]}),this['_sender']=this[_0x507c37(0x2b2)]['subscribe'](({reqId:_0x585a49,timeout:_0x3cec05})=>{this['_resendWithTimeout'](_0x585a49,_0x3cec05);}),this);}['toggleOffline'](){var _0x32b04a=_0x207232;return this[_0x32b04a(0x21e)](),this['_injector'][_0x32b04a(0x3c1)](fe,this[_0x32b04a(0x1f8)],this[_0x32b04a(0x276)],this[_0x32b04a(0x3a4)],[],this['_handler']);}[_0x207232(0x4df)](){return this;}[_0x207232(0x390)](){var _0x29a7c9=_0x207232;this[_0x29a7c9(0x49c)][_0x29a7c9(0x1f2)](this[_0x29a7c9(0x3a4)]);}[_0x207232(0x340)](_0x35fbe6){var _0x50606a=_0x207232;return this['_clearScheduledTask'](),this[_0x50606a(0x406)][_0x50606a(0x3c1)](de,this[_0x50606a(0x1f8)],this[_0x50606a(0x276)],this[_0x50606a(0x3a4)],[],this[_0x50606a(0x49c)],_0x35fbe6);}[_0x207232(0x2b6)](_0x454e2d,_0x110b02){var _0x2f5493=_0x207232,_0x3407b1;_0x454e2d===((_0x3407b1=this['_awaitingChangeset'])==null?void 0x0:_0x3407b1[_0x2f5493(0x46f)])&&(this[_0x2f5493(0x390)](),this['_resendTimeout']=_0x110b02===0x0?0x3e8:_0x110b02*0x2);}['_clearScheduledTask'](){var _0x330266=_0x207232,_0x4195f1;(_0x4195f1=this[_0x330266(0x27c)])==null||_0x4195f1[_0x330266(0x3ed)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x133bf8(_0x55be5b)),A(0x5,_0x133bf8(_0x34b3d6)),A(0x6,_0x1023d2),A(0x7,_0x248f6a),A(0x8,_0x2452dd),A(0x9,_0x1f81a8),A(0xa,_0x910b95(J))],ue);let ae=class extends be{constructor(_0x5c84bc,_0x2f75ff,_0x1d459e,_0x5bf1da,_0x4414be,_0x2c6312,_0x524cbb,_0x117e15,_0x56f2a8,_0xea7320,_0x837db2,_0x12eb4b,_0x1542df){var _0x3af6d4=_0x207232;super(_0x5c84bc,_0x2f75ff,_0x1d459e,_0x5bf1da,_0x4414be,_0x56f2a8,_0x12eb4b,_0x117e15,_0x1542df),N(this,'status',_0x3af6d4(0x360)),N(this,_0x3af6d4(0x3ae),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3af6d4(0x406)]=_0x524cbb,this[_0x3af6d4(0x275)]=_0xea7320,this[_0x3af6d4(0x2cd)]=_0x837db2,this['localCacheService']=_0x1542df,_0x2c6312&&(this[_0x3af6d4(0x2b2)]=_0x2c6312,this[_0x3af6d4(0x27c)]=this[_0x3af6d4(0x2b2)][_0x3af6d4(0x416)](({reqId:_0x4cbbcd,timeout:_0x40fe95})=>{var _0x39649d=_0x3af6d4;this[_0x39649d(0x2b6)](_0x4cbbcd,_0x40fe95);})));}['appendMutation'](_0x5eacd7){var _0x5d528d=_0x207232;return this[_0x5d528d(0x306)][_0x5d528d(0x2ac)](_0x5eacd7),this;}[_0x207232(0x4d0)](_0xf9c651){var _0x45197f=_0x207232;if(this[_0x45197f(0x40a)](_0xf9c651))return this[_0x45197f(0x21e)](),this[_0x45197f(0x406)]['createInstance'](te,this[_0x45197f(0x1f8)],this[_0x45197f(0x276)],this[_0x45197f(0x3a4)],this['_pendingMutations'],null,[_0xf9c651],this[_0x45197f(0x49c)]);try{const _0x3cfbf5=this[_0x45197f(0x2cd)][_0x45197f(0x308)]([_0xf9c651],[this[_0x45197f(0x3a4)]],!0x1);if(_0x2e0b00(_0x3cfbf5)){const {c1Prime:_0xd88ad8,c2Prime:_0x55ca17}=_0x3cfbf5,_0x15b06d=this[_0x45197f(0x2cd)][_0x45197f(0x43f)](_0xd88ad8[0x0],this[_0x45197f(0x306)]);if(_0x5ddb74(_0x15b06d)){const {c1Prime:_0x46d47f,m2Prime:_0x3a92b4}=_0x15b06d;return this[_0x45197f(0x3a0)](_0x46d47f),_0x55ca17[0x0][_0x45197f(0x3ad)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x45197f(0x406)]['createInstance'](ae,this[_0x45197f(0x1f8)],this[_0x45197f(0x276)],_0x55ca17[0x0],_0x3a92b4,this[_0x45197f(0x49c)],void 0x0);}throw _0x15b06d['error'];}throw _0x3cfbf5[_0x45197f(0x3aa)];}catch(_0x7b9772){return this[_0x45197f(0x275)][_0x45197f(0x3aa)](_0x7b9772),this[_0x45197f(0x340)](!0x1);}}[_0x207232(0x4de)](_0x1d9fc8){var _0x1b306e=_0x207232;if(this[_0x1b306e(0x21e)](),this[_0x1b306e(0x40a)](_0x1d9fc8))return this[_0x1b306e(0x406)][_0x1b306e(0x3c1)](te,this[_0x1b306e(0x1f8)],this['type'],null,this[_0x1b306e(0x306)],this[_0x1b306e(0x3a4)],[],this[_0x1b306e(0x49c)]);this[_0x1b306e(0x263)]();const _0x149d25=this[_0x1b306e(0x406)][_0x1b306e(0x3c1)](oe,this[_0x1b306e(0x1f8)],this[_0x1b306e(0x276)],this[_0x1b306e(0x306)],this[_0x1b306e(0x49c)]);return _0x149d25['_schedule'](),_0x149d25['_updateLocalCache'](),_0x149d25;}[_0x207232(0x248)](_0x5ce9a8){return this['_onConflict'](!!(_0x5ce9a8!=null&&_0x5ce9a8['isPermissionRej']));}[_0x207232(0x2f5)](_0x1f7173){var _0x5b5727=_0x207232;return this[_0x5b5727(0x3ae)]>Ni?this[_0x5b5727(0x282)]():(this[_0x5b5727(0x2b2)]=Oi(this[_0x5b5727(0x3ae)],{'timeout':this['_resendTimeout'],'reqId':_0x1f7173[_0x5b5727(0x46f)]}),this[_0x5b5727(0x27c)]=this['_resendTimer'][_0x5b5727(0x416)](({reqId:_0x5975a2,timeout:_0x31500d})=>{var _0x2d0b74=_0x5b5727;this[_0x2d0b74(0x2b6)](_0x5975a2,_0x31500d);}),this);}[_0x207232(0x282)](){var _0xeb58c4=_0x207232;return this[_0xeb58c4(0x21e)](),this['_injector'][_0xeb58c4(0x3c1)](fe,this[_0xeb58c4(0x1f8)],this[_0xeb58c4(0x276)],this[_0xeb58c4(0x3a4)],this[_0xeb58c4(0x306)],this[_0xeb58c4(0x49c)]);}[_0x207232(0x4df)](){return this;}[_0x207232(0x390)](){var _0x2c01f1=_0x207232;this['_handler']['onSendChangeset'](this[_0x2c01f1(0x3a4)]);}[_0x207232(0x340)](_0x314d10){var _0x55cd55=_0x207232;return this[_0x55cd55(0x21e)](),this[_0x55cd55(0x406)][_0x55cd55(0x3c1)](de,this[_0x55cd55(0x1f8)],this['type'],null,this[_0x55cd55(0x306)],this[_0x55cd55(0x49c)],_0x314d10);}['_resendWithTimeout'](_0x12f8d2,_0x41f41c){var _0x1fc321=_0x207232,_0x3771b;_0x12f8d2===((_0x3771b=this['_awaitingChangeset'])==null?void 0x0:_0x3771b['reqId'])&&(this[_0x1fc321(0x390)](),this[_0x1fc321(0x3ae)]=_0x41f41c===0x0?0x3e8:_0x41f41c*0x2);}[_0x207232(0x21e)](){var _0x4b0b97=_0x207232,_0x55e14f;(_0x55e14f=this['_sender'])==null||_0x55e14f[_0x4b0b97(0x3ed)](),this[_0x4b0b97(0x3ae)]=0x0;}};ae=Re([A(0x6,_0x133bf8(_0x55be5b)),A(0x7,_0x133bf8(_0x34b3d6)),A(0x8,_0x1023d2),A(0x9,_0x248f6a),A(0xa,_0x2452dd),A(0xb,_0x1f81a8),A(0xc,_0x910b95(J))],ae);let de=class extends be{constructor(_0x47cf33,_0xf6b35c,_0x2bb3f4,_0x121eeb,_0x5c6c0f,_0x3c2c1a=!0x1,_0x9da561,_0x55ce43,_0x371fd5,_0x13cbe8,_0x12a8c4,_0x12a4ab,_0x54f531){var _0x33a990=_0x207232;super(_0x47cf33,_0xf6b35c,_0x2bb3f4,_0x121eeb,_0x5c6c0f,_0x55ce43,_0x371fd5,_0x13cbe8,_0x54f531),N(this,_0x33a990(0x233),_0x33a990(0x373)),(this[_0x33a990(0x374)]=_0x3c2c1a,this[_0x33a990(0x3da)]=_0x9da561,this[_0x33a990(0x443)]=_0x12a8c4,this[_0x33a990(0x4d1)]=_0x12a4ab,this['localCacheService']=_0x54f531,this[_0x33a990(0x3ca)](),this['_clearLocalCache'](),this[_0x33a990(0x3eb)]());}[_0x207232(0x343)](){return this;}['onRemoteChangeset'](){return this;}[_0x207232(0x4de)](){return this;}[_0x207232(0x248)](){return this;}['onRemoteRetry'](){return this;}[_0x207232(0x282)](){return this;}[_0x207232(0x4df)](){return this;}['resend'](){var _0x35e488=_0x207232;throw new Error(_0x35e488(0x42b));}['_clearLocalCache'](){var _0x34ef95=_0x207232,_0x5bfaa7;(_0x5bfaa7=this[_0x34ef95(0x413)])==null||_0x5bfaa7[_0x34ef95(0x270)](this['unitID'],this[_0x34ef95(0x276)],null,[]);}['_showConflictNotification'](){var _0xb82c1f=_0x207232;this[_0xb82c1f(0x374)]?this[_0xb82c1f(0x4d1)][_0xb82c1f(0x491)]({'id':se['PERMISSION_DENIED']}):this[_0xb82c1f(0x4d1)]['emitEvent']({'id':se[_0xb82c1f(0x34c)]});}[_0x207232(0x3eb)](){var _0x48ffa8=_0x207232;this[_0x48ffa8(0x3da)][_0x48ffa8(0x22c)](new _0x4351eb(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x133bf8(_0x2921ea)),A(0x7,_0x1023d2),A(0x8,_0x1f81a8),A(0x9,_0x133bf8(_0x34b3d6)),A(0xa,_0x133bf8(_0x5516c1)),A(0xb,_0x133bf8(pe)),A(0xc,_0x910b95(J))],de);let fe=class extends be{constructor(_0x373245,_0x9a71d9,_0x5e8ebe,_0x37ac64,_0x15f17c,_0x48060f,_0xfa5f13,_0x5da1d4,_0x1207c3,_0x21e61d){var _0x5f409b=_0x207232;super(_0x373245,_0x9a71d9,_0x5e8ebe,_0x37ac64,_0x15f17c,_0x5da1d4,_0x1207c3,_0xfa5f13,_0x21e61d),N(this,_0x5f409b(0x233),'offline'),this[_0x5f409b(0x406)]=_0x48060f;}[_0x207232(0x343)](_0x265237){var _0x5c8790=_0x207232;return this[_0x5c8790(0x306)][_0x5c8790(0x2ac)](_0x265237),this[_0x5c8790(0x265)](),this;}['onRemoteChangeset'](_0x15351b){var _0x158cf0=_0x207232;throw new Error(_0x158cf0(0x299));}[_0x207232(0x4de)](){var _0x21c1b4=_0x207232;throw new Error(_0x21c1b4(0x4ac));}[_0x207232(0x248)](){var _0x1e4d84=_0x207232;throw new Error(_0x1e4d84(0x462));}[_0x207232(0x2f5)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x47634c=_0x207232;const {_injector:_0x4520fe,_pendingMutations:_0x1d31fd,_awaitingChangeset:_0x1167e1,unitID:_0x405ed5,_handler:_0x35a447,type:_0x3344cc}=this,_0x307ae0=Di(_0x4520fe,_0x405ed5,_0x3344cc,_0x1167e1,_0x1d31fd,_0x35a447);return _0x307ae0 instanceof oe?_0x307ae0['_schedule']():(_0x307ae0 instanceof ae||_0x307ae0 instanceof ue)&&_0x307ae0[_0x47634c(0x390)](),_0x307ae0;}['resend'](){var _0x575df1=_0x207232;throw new Error(_0x575df1(0x38f));}};fe=Re([A(0x5,_0x133bf8(_0x55be5b)),A(0x6,_0x133bf8(_0x34b3d6)),A(0x7,_0x1023d2),A(0x8,_0x1f81a8),A(0x9,_0x910b95(J))],fe);let te=class extends be{constructor(_0x34aeab,_0x2d85fe,_0x52be51,_0x43c929,_0x139233,_0x1a9e84,_0x36a5a6,_0x41c276,_0x56f0a2,_0x100561,_0x58e9ba,_0x476d58,_0x546024,_0x4c72a1){var _0x199944=_0x207232;super(_0x34aeab,_0x2d85fe,_0x52be51,_0x43c929,_0x36a5a6,_0x58e9ba,_0x476d58,_0x56f0a2,_0x4c72a1),N(this,_0x199944(0x233),_0x199944(0x400)),(this[_0x199944(0x311)]=_0x139233,this[_0x199944(0x3f0)]=_0x1a9e84,this[_0x199944(0x406)]=_0x41c276,this[_0x199944(0x275)]=_0x100561,this['_transformService']=_0x546024,this['localCacheService']=_0x4c72a1);}['onMissedChangesetFetched'](_0xd14ccc){var _0x3454a8=_0x207232;try{const _0x4297f7=[..._0xd14ccc,...this[_0x3454a8(0x3f0)]],_0x412925=[this[_0x3454a8(0x3a4)]||this[_0x3454a8(0x311)]][_0x3454a8(0x279)](_0x2e108a=>!!_0x2e108a);let _0x9ba664,_0x395d83;if(_0x412925[_0x3454a8(0x453)]){const _0x32d9ae=this[_0x3454a8(0x2cd)][_0x3454a8(0x308)](_0x4297f7,_0x412925,!0x1);if(!_0x2e0b00(_0x32d9ae))throw _0x32d9ae[_0x3454a8(0x3aa)];_0x9ba664=_0x32d9ae[_0x3454a8(0x2a7)],_0x395d83=_0x32d9ae[_0x3454a8(0x460)];}else _0x9ba664=_0x4297f7,_0x395d83=[];let _0x3156c7=this['_pendingMutations'];_0x9ba664[_0x3454a8(0x4c4)](_0x2132cd=>{var _0x397755=_0x3454a8;let _0x10a623;if(_0x3156c7[_0x397755(0x453)]){const _0x159c10=this['_transformService'][_0x397755(0x43f)](_0x2132cd,_0x3156c7);if(!_0x5ddb74(_0x159c10))throw _0x159c10[_0x397755(0x3aa)];_0x10a623=_0x159c10[_0x397755(0x2a7)],_0x3156c7=_0x159c10[_0x397755(0x455)];}else _0x10a623=_0x2132cd;this[_0x397755(0x3a0)](_0x10a623);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3454a8(0x263)](),this[_0x3454a8(0x3a4)]&&_0x395d83[_0x3454a8(0x453)]&&(_0x395d83[0x0][_0x3454a8(0x3ad)]=this['_getCurrentRevision']());let _0x279730;if(this['_awaitingChangeset']&&_0x3156c7[_0x3454a8(0x453)]!==0x0)_0x279730=this[_0x3454a8(0x406)][_0x3454a8(0x3c1)](ae,this['unitID'],this['type'],_0x395d83[0x0],_0x3156c7,this[_0x3454a8(0x49c)],void 0x0);else{if(this[_0x3454a8(0x3a4)]&&_0x3156c7[_0x3454a8(0x453)]===0x0)_0x395d83[0x0][_0x3454a8(0x3ad)]=this['_getCurrentRevision'](),_0x279730=this[_0x3454a8(0x406)]['createInstance'](ue,this[_0x3454a8(0x1f8)],this[_0x3454a8(0x276)],_0x395d83[0x0],this[_0x3454a8(0x49c)]);else{if(_0x3156c7['length']!==0x0){const _0x8ecb9c=this[_0x3454a8(0x406)][_0x3454a8(0x3c1)](oe,this[_0x3454a8(0x1f8)],this[_0x3454a8(0x276)],_0x3156c7,this['_handler']);_0x8ecb9c[_0x3454a8(0x44f)](),_0x279730=_0x8ecb9c;}else _0x279730=this[_0x3454a8(0x406)]['createInstance'](De,this['unitID'],this['type'],this[_0x3454a8(0x49c)]);}}return _0x279730[_0x3454a8(0x265)](),_0x279730;}catch(_0x3dc125){return this[_0x3454a8(0x275)]['error'](_0x3454a8(0x384),_0x3454a8(0x364),_0x3dc125),this[_0x3454a8(0x406)][_0x3454a8(0x3c1)](de,this[_0x3454a8(0x1f8)],this['type'],this[_0x3454a8(0x3a4)],this['_pendingMutations'],this[_0x3454a8(0x49c)],!0x1);}}[_0x207232(0x390)](){var _0x31497b=_0x207232;throw new Error(_0x31497b(0x3db));}[_0x207232(0x343)](_0x3af8fa){var _0x50c4b8=_0x207232;return this[_0x50c4b8(0x306)]['push'](_0x3af8fa),this;}[_0x207232(0x4d0)](_0x10a599){var _0x2bae41=_0x207232;return this[_0x2bae41(0x3f0)]['push'](_0x10a599),this;}['onRemoteAck'](_0xf9b21b){var _0x29823c=_0x207232;if(this[_0x29823c(0x3a4)])return this[_0x29823c(0x311)]=this[_0x29823c(0x3a4)],this[_0x29823c(0x3a4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x207232(0x248)](_0x59ac83){var _0xab4f07=_0x207232;return this['_onConflict'](!!(_0x59ac83!=null&&_0x59ac83[_0xab4f07(0x4ba)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x197d62=_0x207232;return this[_0x197d62(0x406)][_0x197d62(0x3c1)](fe,this[_0x197d62(0x1f8)],this[_0x197d62(0x276)],this[_0x197d62(0x3a4)],this['_pendingMutations'],this[_0x197d62(0x49c)]);}[_0x207232(0x4df)](){return this;}[_0x207232(0x340)](_0x25c857){var _0x19f035=_0x207232;return this[_0x19f035(0x406)]['createInstance'](de,this[_0x19f035(0x1f8)],this['type'],this[_0x19f035(0x3a4)],this['_pendingMutations'],this['_handler'],_0x25c857);}};te=Re([A(0x7,_0x133bf8(_0x55be5b)),A(0x8,_0x133bf8(_0x34b3d6)),A(0x9,_0x248f6a),A(0xa,_0x1023d2),A(0xb,_0x1f81a8),A(0xc,_0x2452dd),A(0xd,_0x910b95(J))],te);function Di(_0x2d7213,_0x121360,_0x486904,_0x2d4656,_0x178095,_0x2eb710){var _0x2740ab=_0x207232;return _0x2d4656&&_0x178095[_0x2740ab(0x453)]?_0x2d7213[_0x2740ab(0x3c1)](ae,_0x121360,_0x486904,_0x2d4656,_0x178095,_0x2eb710,void 0x0):_0x2d4656?_0x2d7213[_0x2740ab(0x3c1)](ue,_0x121360,_0x486904,_0x2d4656,_0x2eb710):_0x178095[_0x2740ab(0x453)]?_0x2d7213[_0x2740ab(0x3c1)](oe,_0x121360,_0x486904,_0x178095,_0x2eb710):_0x2d7213['createInstance'](De,_0x121360,_0x486904,_0x2eb710);}var vr=Object[_0x207232(0x20c)],pr=Object[_0x207232(0x469)],Lt=(_0x1e7164,_0x1664c8,_0x46da70,_0x123371)=>{var _0x2eb6af=_0x207232;for(var _0x2bf21b=_0x123371>0x1?void 0x0:_0x123371?pr(_0x1664c8,_0x46da70):_0x1664c8,_0x1ca506=_0x1e7164[_0x2eb6af(0x453)]-0x1,_0xc84e69;_0x1ca506>=0x0;_0x1ca506--)(_0xc84e69=_0x1e7164[_0x1ca506])&&(_0x2bf21b=(_0x123371?_0xc84e69(_0x1664c8,_0x46da70,_0x2bf21b):_0xc84e69(_0x2bf21b))||_0x2bf21b);return _0x123371&&_0x2bf21b&&vr(_0x1664c8,_0x46da70,_0x2bf21b),_0x2bf21b;},k=(_0x50c75d,_0x14aa33)=>(_0x4eae3e,_0x3141f7)=>_0x14aa33(_0x4eae3e,_0x3141f7,_0x50c75d);let nt=class extends _0x57f232{constructor(_0x5f269e,_0x45d559,_0x84f267,_0x287994,_0x4427a3,_0x471342,_0x2cb371,_0x327b11,_0x596f58,_0x494757,_0x146e21,_0x108beb,_0x47f4b7){var _0xa4d5e6=_0x207232;super(),N(this,_0xa4d5e6(0x2f6),new _0x2d7615(null)),N(this,_0xa4d5e6(0x367),this[_0xa4d5e6(0x2f6)][_0xa4d5e6(0x2c0)]()),N(this,_0xa4d5e6(0x291)),N(this,_0xa4d5e6(0x4dd),!0x1),N(this,_0xa4d5e6(0x31b),''),N(this,_0xa4d5e6(0x227),0x0),N(this,'status$',this['state$'][_0xa4d5e6(0x216)](_0x15d044(_0x4728dd=>_0x4728dd?_0x4728dd[_0xa4d5e6(0x233)]:yi[_0xa4d5e6(0x2c3)]),_0xfd841d(0x1))),N(this,_0xa4d5e6(0x456),!0x1),N(this,_0xa4d5e6(0x272),[]),(this[_0xa4d5e6(0x1f8)]=_0x5f269e,this[_0xa4d5e6(0x33e)]=_0x45d559,this['_type']=_0x84f267,this[_0xa4d5e6(0x406)]=_0x287994,this[_0xa4d5e6(0x2a6)]=_0x4427a3,this[_0xa4d5e6(0x443)]=_0x471342,this[_0xa4d5e6(0x40e)]=_0x2cb371,this['_eventService']=_0x327b11,this[_0xa4d5e6(0x275)]=_0x596f58,this['_commandService']=_0x494757,this['_permissionService']=_0x146e21,this[_0xa4d5e6(0x436)]=_0x108beb,this['_localCacheService']=_0x47f4b7);}get[_0x207232(0x43e)](){var _0x16b74e=_0x207232;return this[_0x16b74e(0x291)];}async[_0x207232(0x4e4)](){var _0x4ce278=_0x207232;if(this[_0x4ce278(0x43e)])throw new Error(_0x4ce278(0x3ba));await this[_0x4ce278(0x2be)]();}[_0x207232(0x29c)](){var _0x297ccb=_0x207232;return this[_0x297ccb(0x4dd)]=!0x0,_0x5190ea(()=>{var _0x1b6423=_0x297ccb;this[_0x1b6423(0x4dd)]=!0x1,this[_0x1b6423(0x1fa)]();});}['onLocalMutation'](_0x3bb1f5){var _0xe085d3=_0x207232;this[_0xe085d3(0x473)](_0x3bb1f5);}['_updateState'](_0x59e21e){var _0xa64eba=_0x207232;this[_0xa64eba(0x291)]=_0x59e21e,this[_0xa64eba(0x2f6)][_0xa64eba(0x255)](_0x59e21e);}async[_0x207232(0x2be)](){var _0x1aabbf=_0x207232,_0x23a426;this[_0x1aabbf(0x3d8)](await this['_createInitialState']()),this[_0x1aabbf(0x436)]&&((_0x23a426=this[_0x1aabbf(0x436)])==null||_0x23a426['editingUnit'](this['unitID']),this[_0x1aabbf(0x200)](this[_0x1aabbf(0x436)][_0x1aabbf(0x4e0)](this[_0x1aabbf(0x1f8)])[_0x1aabbf(0x416)](_0x53f9ac=>{var _0x2053e8=_0x1aabbf;this['_logService'][_0x2053e8(0x32b)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x53f9ac),_0x53f9ac===bi[_0x2053e8(0x474)]?(this['_eventService'][_0x2053e8(0x491)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x2053e8(0x3da)]['updatePermissionPoint'](new _0x4351eb(this['unitID'])['id'],!0x1),this[_0x2053e8(0x3da)][_0x2053e8(0x38c)](!0x1)):(this[_0x2053e8(0x3da)][_0x2053e8(0x22c)](new _0x4351eb(this['unitID'])['id'],!0x0),this[_0x2053e8(0x3da)][_0x2053e8(0x38c)](!0x0));})));let _0x5ea3e3=!0x1;return this['disposeWithMe'](this['session'][_0x1aabbf(0x2c4)][_0x1aabbf(0x416)](_0x3b9396=>{_0x3b9396===Te['ONLINE']?this['_toggleOnline'](_0x5ea3e3):_0x3b9396===Te['OFFLINE']&&(_0x5ea3e3=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x1aabbf(0x33e)][_0x1aabbf(0x391)]['subscribe'](_0x1acff0=>{var _0x155e5b=_0x1aabbf;try{switch(_0x1acff0[_0x155e5b(0x35c)]){case _0x2e889b[_0x155e5b(0x31e)]:{this[_0x155e5b(0x3a3)](_0xc8ccf1(_0x1acff0[_0x155e5b(0x44c)]));break;}case _0x2e889b[_0x155e5b(0x280)]:{this[_0x155e5b(0x3dc)](_0x1acff0[_0x155e5b(0x44c)]);break;}case _0x2e889b['CHANGESET_REJ']:{this[_0x155e5b(0x228)]();break;}case _0x2e889b[_0x155e5b(0x232)]:{this[_0x155e5b(0x218)](_0x1acff0[_0x155e5b(0x44c)]);break;}case _0x2e889b[_0x155e5b(0x24b)]:{this[_0x155e5b(0x337)](_0x1acff0['data'][_0x155e5b(0x206)][_0x155e5b(0x4bf)](_0x29d856=>_0xc8ccf1(_0x29d856)));break;}case _0x2e889b[_0x155e5b(0x24f)]:{this[_0x155e5b(0x228)]({'isPermissionRej':!0x0});break;}case _0x2e889b[_0x155e5b(0x3d3)]:break;}}catch(_0xb5bf6){throw console[_0x155e5b(0x3aa)](_0x155e5b(0x4be),_0xb5bf6),_0xb5bf6;}})),this[_0x1aabbf(0x291)];}[_0x207232(0x39c)](){var _0x2913dd=_0x207232;this[_0x2913dd(0x456)]=!0x1;}[_0x207232(0x21d)](){var _0x5bf5c4=_0x207232;if(this[_0x5bf5c4(0x456)])throw new Error(_0x5bf5c4(0x378));this[_0x5bf5c4(0x456)]=!0x0;}[_0x207232(0x473)](_0xb1d4ce){var _0x3b4b38=_0x207232;this[_0x3b4b38(0x21d)](),this[_0x3b4b38(0x3d8)](this[_0x3b4b38(0x291)]['appendMutation'](_0xb1d4ce)),this[_0x3b4b38(0x39c)]();}['_onRemoteChangeset'](_0x3c27aa){var _0x19bb13=_0x207232;if(!(_0x3c27aa[_0x19bb13(0x427)]<=this['_revisionService'][_0x19bb13(0x2ca)](this[_0x19bb13(0x1f8)]))){if(this['_collaborationPaused']){this[_0x19bb13(0x272)][_0x19bb13(0x2ac)](_0x3c27aa);return;}this['_applyRemoteChangeset'](_0x3c27aa);}}['_exhaustRemoteChangesetQueue'](){var _0xd43c3c=_0x207232;this[_0xd43c3c(0x272)][_0xd43c3c(0x4c4)](_0x57bc1a=>this[_0xd43c3c(0x2b4)](_0x57bc1a)),this[_0xd43c3c(0x272)]=[];}[_0x207232(0x2b4)](_0x1c8f44){var _0x2b9671=_0x207232;const _0xee6ef3=this[_0x2b9671(0x2a6)]['interceptor'][_0x2b9671(0x235)](this[_0x2b9671(0x2a6)]['interceptor']['getInterceptPoints']()[_0x2b9671(0x2ec)])(_0x1c8f44[_0x2b9671(0x3ef)],null)||_0x1c8f44['mutations'],_0x1e3be9={..._0x1c8f44,'mutations':_0xee6ef3};this[_0x2b9671(0x21d)](),this[_0x2b9671(0x3d8)](this['_state'][_0x2b9671(0x4d0)](_0x1e3be9)),this['_unlockTransition']();}['_onRemoteACK'](_0x31953d){var _0x467d3a=_0x207232;this[_0x467d3a(0x21d)](),this[_0x467d3a(0x3d8)](this[_0x467d3a(0x291)]['onRemoteAck'](_0x31953d)),this[_0x467d3a(0x39c)]();}[_0x207232(0x228)](_0x338c30){var _0x35cb81=_0x207232;this['_lockTransition'](),this[_0x35cb81(0x3d8)](this[_0x35cb81(0x291)][_0x35cb81(0x248)](_0x338c30)),this[_0x35cb81(0x39c)]();}[_0x207232(0x218)](_0x2b89fc){var _0x17d5b8=_0x207232;this[_0x17d5b8(0x21d)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x2b89fc)),this[_0x17d5b8(0x39c)]();}[_0x207232(0x337)](_0x503aa3){var _0x1de5ac=_0x207232;if(!(this[_0x1de5ac(0x291)]instanceof te))throw new TypeError(_0x1de5ac(0x1f5));const _0x1893ee=_0x503aa3[_0x1de5ac(0x4bf)](_0x4c0a5b=>{var _0x2ef974=_0x1de5ac;const _0x5c418e=this[_0x2ef974(0x2a6)]['interceptor'][_0x2ef974(0x235)](this[_0x2ef974(0x2a6)][_0x2ef974(0x379)][_0x2ef974(0x4cf)]()['COMPRESS_MUTATION_APPLY'])(_0x4c0a5b['mutations'],null)||_0x4c0a5b[_0x2ef974(0x3ef)];return{..._0x4c0a5b,'mutations':_0x5c418e};});this[_0x1de5ac(0x21d)](),this[_0x1de5ac(0x3d8)](this[_0x1de5ac(0x291)][_0x1de5ac(0x3af)](_0x1893ee)),this['_unlockTransition']();}[_0x207232(0x357)](){var _0x46005d=_0x207232;this[_0x46005d(0x21d)](),this['_updateState'](this['_state'][_0x46005d(0x282)]()),this[_0x46005d(0x39c)]();}[_0x207232(0x470)](_0x564295=!0x1){var _0x162bfa=_0x207232;this[_0x162bfa(0x21d)](),this[_0x162bfa(0x3d8)](this['_state'][_0x162bfa(0x4df)]()),this['_unlockTransition']();const _0x34d4b9=this['_state'];_0x564295&&_0x34d4b9 instanceof De&&(this[_0x162bfa(0x21d)](),this[_0x162bfa(0x3d8)](_0x34d4b9[_0x162bfa(0x408)]()),this[_0x162bfa(0x39c)]());}async[_0x207232(0x359)](){return new Promise(_0x17b757=>{var _0x30830f=_0x2b1b;this[_0x30830f(0x33e)]['sessionStatus$']['pipe'](_0x452f05(0x1))[_0x30830f(0x416)](async _0x479a61=>{_0x17b757(await this['_createInitialStateImpl'](_0x479a61===Te['ONLINE']));});});}['_createHandler'](){var _0x34c02c=_0x207232;const _0x1e56f1=this[_0x34c02c(0x1f8)];return{'onStateChange':(_0x4c0f68,_0x384e87)=>{var _0x1d1f47=_0x34c02c;if(_0x4c0f68!==this[_0x1d1f47(0x291)])throw new Error(_0x1d1f47(0x2d3)+_0x4c0f68[_0x1d1f47(0x233)]+'\x0aAfter:\x20'+_0x384e87['status']+'\x0aCurrent:\x20'+this['_state'][_0x1d1f47(0x233)]);this[_0x1d1f47(0x3d8)](_0x384e87);},'onSendChangeset':_0x40b5ef=>{var _0x5e1e70=_0x34c02c;_0x40b5ef[_0x5e1e70(0x43b)]||(_0x40b5ef['sid']=this[_0x5e1e70(0x31b)],_0x40b5ef[_0x5e1e70(0x46f)]=++this['_changesetReqId']);const _0x5c32a9={'eventID':_0x2e889b['SUBMIT_CHANGESET'],'data':{'unitID':_0x40b5ef['unitID'],'unitType':this[_0x5e1e70(0x209)],'changeset':_0x40b5ef,'memberID':this['session'][_0x5e1e70(0x39d)]()}};this[_0x5e1e70(0x33e)][_0x5e1e70(0x2fe)](_0x5c32a9,this['unitID']);},'onMissingChangesets':({from:_0x37289b,to:_0x2e870c})=>{var _0xac08c8=_0x34c02c;this[_0xac08c8(0x275)][_0xac08c8(0x32b)](_0xac08c8(0x3b8),_0xac08c8(0x328)+_0x37289b+_0xac08c8(0x2d0)+_0x2e870c);const _0x5d22ca={'eventID':_0x2e889b[_0xac08c8(0x43c)],'data':{'unitID':_0x1e56f1,'unitType':this['_type'],'from':_0x37289b,'to':_0x2e870c}};this[_0xac08c8(0x33e)][_0xac08c8(0x2fe)](_0x5d22ca,this['unitID']);}};}async[_0x207232(0x226)](_0x2949c3){var _0x4145f8=_0x207232,_0x3f62bb,_0x22855f,_0x4c50c1;const _0x168954=await((_0x3f62bb=this[_0x4145f8(0x413)])==null?void 0x0:_0x3f62bb[_0x4145f8(0x239)](this[_0x4145f8(0x1f8)])),_0x4f4b0e=(_0x22855f=_0x168954==null?void 0x0:_0x168954['mutations'])!=null?_0x22855f:[],_0x27306c=(_0x4c50c1=_0x168954==null?void 0x0:_0x168954[_0x4145f8(0x419)])!=null?_0x4c50c1:null,_0x5b90e6=!!(_0x27306c!=null&&_0x27306c['sid'])&&!!(_0x27306c!=null&&_0x27306c[_0x4145f8(0x46f)]);this[_0x4145f8(0x31b)]=_0x5b90e6?_0x27306c[_0x4145f8(0x43b)]:sr(),this[_0x4145f8(0x227)]=_0x5b90e6?_0x27306c[_0x4145f8(0x46f)]:0x0;const _0x175784=this[_0x4145f8(0x1f8)];try{this[_0x4145f8(0x2af)](_0x27306c,_0x4f4b0e);}catch(_0x136d4b){this[_0x4145f8(0x275)]['error'](_0x136d4b);}const _0x288adf=this[_0x4145f8(0x4da)]();if(_0x2949c3){const _0x6c54ec=Di(this[_0x4145f8(0x406)],_0x175784,this[_0x4145f8(0x209)],_0x27306c,_0x4f4b0e,_0x288adf);return _0x6c54ec instanceof oe?_0x6c54ec['_schedule']():(_0x6c54ec instanceof ae||_0x6c54ec instanceof ue)&&_0x6c54ec['resend'](),_0x6c54ec;}return this[_0x4145f8(0x406)][_0x4145f8(0x3c1)](fe,_0x175784,this[_0x4145f8(0x209)],_0x27306c,_0x4f4b0e,_0x288adf);}[_0x207232(0x2af)](_0x556552,_0x70a5cd){var _0x2c85f8=_0x207232,_0x5f17fd,_0xb2f9ec;const _0x2d8769=this[_0x2c85f8(0x2a6)]['interceptor'][_0x2c85f8(0x235)](this[_0x2c85f8(0x2a6)]['interceptor'][_0x2c85f8(0x4cf)]()['COMPRESS_MUTATION_APPLY']);(_0x5f17fd=_0x2d8769((_0x556552==null?void 0x0:_0x556552[_0x2c85f8(0x3ef)])||[],null))==null||_0x5f17fd[_0x2c85f8(0x4c4)](_0x25324c=>this[_0x2c85f8(0x418)][_0x2c85f8(0x358)](_0x25324c['id'],_0x25324c[_0x2c85f8(0x3b2)])),(_0xb2f9ec=_0x2d8769(_0x70a5cd||[],null))==null||_0xb2f9ec[_0x2c85f8(0x4c4)](_0x8c8de5=>this[_0x2c85f8(0x418)]['executeCommand'](_0x8c8de5['id'],_0x8c8de5[_0x2c85f8(0x3b2)]));}};nt=Lt([k(0x3,_0x133bf8(_0x55be5b)),k(0x4,_0x133bf8(_0x251b12)),k(0x5,_0x133bf8(_0x5516c1)),k(0x6,_0x133bf8(_0x34b3d6)),k(0x7,_0x133bf8(pe)),k(0x8,_0x248f6a),k(0x9,_0x1023d2),k(0xa,_0x2921ea),k(0xb,_0x910b95(ht)),k(0xc,_0x910b95(J))],nt);let Tt=class extends nt{constructor(_0x57d2ea,_0x30e7c7,_0x193140,_0x25c7fc,_0x199c65,_0x4cb456,_0x5330e6,_0x129d4a,_0xa46be3,_0x592c8d,_0x21f602,_0x44eadb,_0x5d62e4){var _0x3b6f82=_0x207232;super(_0x57d2ea,_0x193140,_0x30e7c7,_0x25c7fc,_0x199c65,_0x4cb456,_0x5330e6,_0x129d4a,_0xa46be3,_0x592c8d,_0x21f602,_0x44eadb,_0x5d62e4),N(this,_0x3b6f82(0x2f8),null),(this[_0x3b6f82(0x1f8)]=_0x57d2ea,this[_0x3b6f82(0x276)]=_0x30e7c7);}['addHandlerCallback'](_0x1168d8){var _0x56999b=_0x207232;this[_0x56999b(0x2f8)]=_0x1168d8;}['dispose'](){var _0x2218db=_0x207232;this['_handlerCallback']=null,super[_0x2218db(0x1f1)]();}[_0x207232(0x4da)](){var _0x106496=_0x207232;const _0x1b21a5=super[_0x106496(0x4da)]();return _0x1b21a5[_0x106496(0x461)]=_0x5a6c87=>{var _0x5b4f1f=_0x106496,_0x1078b0,_0x446381;return(_0x446381=(_0x1078b0=this['_handlerCallback'])==null?void 0x0:_0x1078b0[_0x5b4f1f(0x461)])==null?void 0x0:_0x446381[_0x5b4f1f(0x281)](_0x1078b0,_0x5a6c87);},_0x1b21a5['onTransformState']=_0x2d8194=>{var _0x20d556=_0x106496,_0x41cc30,_0x2f230b;return(_0x2f230b=(_0x41cc30=this[_0x20d556(0x2f8)])==null?void 0x0:_0x41cc30[_0x20d556(0x329)])==null?void 0x0:_0x2f230b[_0x20d556(0x281)](_0x41cc30,_0x2d8194);},_0x1b21a5['onTransformSelections']=_0x46b1f8=>{var _0x23266e=_0x106496,_0x324435,_0x2b6fa2;return(_0x2b6fa2=(_0x324435=this['_handlerCallback'])==null?void 0x0:_0x324435[_0x23266e(0x4a3)])==null?void 0x0:_0x2b6fa2[_0x23266e(0x281)](_0x324435,_0x46b1f8);},_0x1b21a5[_0x106496(0x3c9)]=_0x1378a0=>{var _0x52c94f=_0x106496,_0x5c95be,_0xca97d4;return(_0xca97d4=(_0x5c95be=this[_0x52c94f(0x2f8)])==null?void 0x0:_0x5c95be[_0x52c94f(0x3c9)])==null?void 0x0:_0xca97d4['call'](_0x5c95be,_0x1378a0);},_0x1b21a5[_0x106496(0x345)]=_0x3aa7c0=>{var _0xd55bdb=_0x106496,_0x54d17f,_0x325c5d,_0x1d9818;if(!((_0x54d17f=this[_0xd55bdb(0x2f8)])!=null&&_0x54d17f[_0xd55bdb(0x345)]))throw new Error(_0xd55bdb(0x432));return(_0x1d9818=(_0x325c5d=this[_0xd55bdb(0x2f8)])==null?void 0x0:_0x325c5d[_0xd55bdb(0x345)])==null?void 0x0:_0x1d9818[_0xd55bdb(0x281)](_0x325c5d,_0x3aa7c0);},_0x1b21a5[_0x106496(0x4c9)]=_0x55dafb=>{var _0x55d2b4=_0x106496,_0x13c91b,_0x7b841b,_0x57ed29;if(!((_0x13c91b=this['_handlerCallback'])!=null&&_0x13c91b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x55d2b4(0x3ce));return(_0x57ed29=(_0x7b841b=this[_0x55d2b4(0x2f8)])==null?void 0x0:_0x7b841b[_0x55d2b4(0x4c9)])==null?void 0x0:_0x57ed29[_0x55d2b4(0x281)](_0x7b841b,_0x55dafb);},_0x1b21a5;}async[_0x207232(0x2be)](){var _0x3e8488=_0x207232;const _0x374fc5=await super[_0x3e8488(0x2be)]();return this['disposeWithMe'](this[_0x3e8488(0x418)][_0x3e8488(0x407)]((_0x5853f8,_0x287eb6)=>{var _0x9fa34=_0x3e8488;if(_0x5853f8[_0x9fa34(0x276)]!==_0xc31ed7[_0x9fa34(0x2ed)]||_0x287eb6!=null&&_0x287eb6['fromCollab']||_0x287eb6!=null&&_0x287eb6[_0x9fa34(0x35f)]||_0x5853f8['id']===_0x340e83['id'])return;const _0x266cf2=_0x5853f8[_0x9fa34(0x3b2)];if((_0x266cf2==null?void 0x0:_0x266cf2[_0x9fa34(0x393)])!==this['unitID'])return;const _0x19837b=_0x5853f8,_0x1d4db6=this[_0x9fa34(0x2a6)][_0x9fa34(0x379)]['fetchThroughInterceptors'](this[_0x9fa34(0x2a6)][_0x9fa34(0x379)][_0x9fa34(0x4cf)]()['COMPRESS_MUTATION_SEND'])([_0x19837b],null)||[_0x19837b];this[_0x9fa34(0x473)](_0x1d4db6[0x0]);})),_0x374fc5;}};Tt=Lt([k(0x3,_0x133bf8(_0x55be5b)),k(0x4,_0x133bf8(_0x251b12)),k(0x5,_0x133bf8(_0x5516c1)),k(0x6,_0x133bf8(_0x34b3d6)),k(0x7,_0x133bf8(pe)),k(0x8,_0x248f6a),k(0x9,_0x1023d2),k(0xa,_0x2921ea),k(0xb,_0x910b95(ht)),k(0xc,_0x910b95(J))],Tt);let Ct=class extends nt{constructor(_0x51857c,_0x5e38fa,_0xfc31f6,_0xdb1ad3,_0x35c76c,_0x445f74,_0x2fcea3,_0x314c9d,_0x2155cf,_0x5e2e8b,_0x21c56c,_0x25dc72,_0x904ca6,_0x382727){var _0x156910=_0x207232;super(_0x51857c,_0xfc31f6,_0x5e38fa,_0xdb1ad3,_0x35c76c,_0x445f74,_0x2fcea3,_0x2155cf,_0x5e2e8b,_0x21c56c,_0x25dc72,_0x904ca6,_0x382727),this[_0x156910(0x1f8)]=_0x51857c,this[_0x156910(0x276)]=_0x5e38fa,this['_sheetTransformSelectionsService']=_0x314c9d;}[_0x207232(0x4da)](){var _0x26fcdc=_0x207232;const _0x636cec=super[_0x26fcdc(0x4da)]();return _0x636cec[_0x26fcdc(0x4a3)]=_0x3ddfcf=>this[_0x26fcdc(0x256)]['transformSelections'](_0x3ddfcf),_0x636cec;}async['_init'](){var _0x4ba4d0=_0x207232;const _0x457043=await super[_0x4ba4d0(0x2be)]();return this[_0x4ba4d0(0x200)](this[_0x4ba4d0(0x418)][_0x4ba4d0(0x407)]((_0x170271,_0xf64017)=>{var _0x2ec55f=_0x4ba4d0;if(_0x170271['type']!==_0xc31ed7[_0x2ec55f(0x2ed)]||_0xf64017!=null&&_0xf64017[_0x2ec55f(0x3ee)]||_0xf64017!=null&&_0xf64017['onlyLocal'])return;const _0x4a11b6=_0x170271['params'];if((_0x4a11b6==null?void 0x0:_0x4a11b6['unitId'])!==this[_0x2ec55f(0x1f8)])return;const _0x47e57d=_0x170271,_0x533fa1=this[_0x2ec55f(0x2a6)]['interceptor'][_0x2ec55f(0x235)](this[_0x2ec55f(0x2a6)][_0x2ec55f(0x379)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x47e57d],null)||[_0x47e57d];this[_0x2ec55f(0x473)](_0x533fa1[0x0]);})),_0x457043;}};Ct=Lt([k(0x3,_0x133bf8(_0x55be5b)),k(0x4,_0x133bf8(_0x251b12)),k(0x5,_0x133bf8(_0x5516c1)),k(0x6,_0x133bf8(_0x34b3d6)),k(0x7,_0x133bf8(it)),k(0x8,_0x133bf8(pe)),k(0x9,_0x248f6a),k(0xa,_0x1023d2),k(0xb,_0x2921ea),k(0xc,_0x910b95(ht)),k(0xd,_0x910b95(J))],Ct);function _0x2b1b(_0x6e039c,_0x5eb9cf){var _0x158c9b=_0x158c();return _0x2b1b=function(_0x2b1bb8,_0x15e7c9){_0x2b1bb8=_0x2b1bb8-0x1ee;var _0x4b46d9=_0x158c9b[_0x2b1bb8];return _0x4b46d9;},_0x2b1b(_0x6e039c,_0x5eb9cf);}var mr=Object[_0x207232(0x20c)],gr=Object[_0x207232(0x469)],Sr=(_0x1f2eec,_0x16fd2a,_0x48703b,_0xd1dca1)=>{var _0x1e4c99=_0x207232;for(var _0x322252=_0xd1dca1>0x1?void 0x0:_0xd1dca1?gr(_0x16fd2a,_0x48703b):_0x16fd2a,_0x190fdf=_0x1f2eec[_0x1e4c99(0x453)]-0x1,_0x40d2b8;_0x190fdf>=0x0;_0x190fdf--)(_0x40d2b8=_0x1f2eec[_0x190fdf])&&(_0x322252=(_0xd1dca1?_0x40d2b8(_0x16fd2a,_0x48703b,_0x322252):_0x40d2b8(_0x322252))||_0x322252);return _0xd1dca1&&_0x322252&&mr(_0x16fd2a,_0x48703b,_0x322252),_0x322252;},ft=(_0x4ffbe3,_0x3f6221)=>(_0x2ac378,_0x47338f)=>_0x3f6221(_0x2ac378,_0x47338f,_0x4ffbe3);let rt=class extends _0x57f232{constructor(_0x29dd92,_0x266f2f,_0x34dc4f){var _0x288bd7=_0x207232;super(),N(this,_0x288bd7(0x2d1),new Map()),N(this,_0x288bd7(0x2d5),new _0x45b79d()),N(this,_0x288bd7(0x3a7),this[_0x288bd7(0x2d5)][_0x288bd7(0x2c0)]()),(this[_0x288bd7(0x406)]=_0x29dd92,this[_0x288bd7(0x472)]=_0x266f2f,this[_0x288bd7(0x244)]=_0x34dc4f,this[_0x288bd7(0x2be)]());}[_0x207232(0x1f1)](){var _0x8f00e3=_0x207232;super[_0x8f00e3(0x1f1)](),this['_entities'][_0x8f00e3(0x4c4)](_0x14435f=>_0x14435f['dispose']()),this[_0x8f00e3(0x2d1)][_0x8f00e3(0x2e2)]();}['getCollabEntity'](_0x3c73eb){var _0x4f9a63=_0x207232,_0x34ed6c;return(_0x34ed6c=this[_0x4f9a63(0x2d1)][_0x4f9a63(0x410)](_0x3c73eb))!=null?_0x34ed6c:null;}[_0x207232(0x2e0)](_0x5fc20){var _0x105be4=_0x207232;const _0x58d633=this[_0x105be4(0x4d3)](_0x5fc20);return _0x58d633?_0x31dc06(_0x58d633):this[_0x105be4(0x2d5)][_0x105be4(0x216)](_0x56a47a(_0x17a712=>_0x17a712['unitID']===_0x5fc20));}[_0x207232(0x38e)](_0x647e4b){var _0x4d311c=_0x207232;return _0x1ef7f8(this[_0x4d311c(0x2e0)](_0x647e4b)[_0x4d311c(0x216)](_0xbfa581(()=>{})));}[_0x207232(0x2be)](){var _0x21b7d7=_0x207232;this[_0x21b7d7(0x244)][_0x21b7d7(0x278)](_0x40e772[_0x21b7d7(0x1ff)])[_0x21b7d7(0x216)](_0x2df347(this[_0x21b7d7(0x3e7)]),_0x3c333f(0x10))['subscribe'](async _0x46ef56=>{var _0x113755=_0x21b7d7;const _0x5d39c6=_0x46ef56[_0x113755(0x31c)](),_0x1fddc5=await this[_0x113755(0x2d9)](_0x5d39c6,Q[_0x113755(0x1ff)]);this[_0x113755(0x2d1)][_0x113755(0x459)](_0x5d39c6,_0x1fddc5);}),this[_0x21b7d7(0x244)][_0x21b7d7(0x278)](_0x40e772[_0x21b7d7(0x2f9)])[_0x21b7d7(0x216)](_0x2df347(this[_0x21b7d7(0x3e7)]),_0x3c333f(0x10))['pipe'](_0x56a47a(_0x1f5960=>!_0x1f5960[_0x21b7d7(0x31c)]()['startsWith']('__')))[_0x21b7d7(0x416)](async _0xaa3d96=>{var _0x222b81=_0x21b7d7;const _0x1a690c=_0xaa3d96['getUnitId'](),_0x5d2148=await this['_startCollaboration'](_0x1a690c,Q[_0x222b81(0x2f9)]);this[_0x222b81(0x2d1)][_0x222b81(0x459)](_0x1a690c,_0x5d2148);}),_0x4ffbb0(this['_univerInstanceService'][_0x21b7d7(0x372)](_0x40e772[_0x21b7d7(0x1ff)]),this[_0x21b7d7(0x244)][_0x21b7d7(0x372)](_0x40e772[_0x21b7d7(0x2f9)]))[_0x21b7d7(0x216)](_0x2df347(this[_0x21b7d7(0x3e7)]))[_0x21b7d7(0x416)](_0x5e8171=>{var _0x578e12=_0x21b7d7;const _0x4e048a=_0x5e8171[_0x578e12(0x31c)](),_0x45ec69=this[_0x578e12(0x2d1)][_0x578e12(0x410)](_0x4e048a);_0x45ec69&&(_0x45ec69[_0x578e12(0x1f1)](),this[_0x578e12(0x2d1)][_0x578e12(0x2d4)](_0x4e048a));});}async[_0x207232(0x2d9)](_0x8ab9e1,_0x13baa6){var _0x267f13=_0x207232;const _0x589fa2=await this[_0x267f13(0x472)]['requireSession'](_0x8ab9e1),_0x2a0a35=this[_0x267f13(0x406)][_0x267f13(0x3c1)](this[_0x267f13(0x317)](_0x13baa6),_0x8ab9e1,_0x13baa6,_0x589fa2);return await _0x2a0a35[_0x267f13(0x4e4)](),this[_0x267f13(0x2d5)][_0x267f13(0x255)](_0x2a0a35),_0x2a0a35;}['_getCtorByUniverType'](_0x47733f){var _0x57481e=_0x207232;switch(_0x47733f){case Q[_0x57481e(0x2f9)]:return Tt;case Q[_0x57481e(0x1ff)]:return Ct;default:throw new Error(_0x57481e(0x2db)+_0x47733f);}}};rt=Sr([ft(0x0,_0x133bf8(_0x55be5b)),ft(0x1,_0x133bf8(Le)),ft(0x2,_0x39ac8e)],rt);var Er=Object[_0x207232(0x20c)],Ir=Object[_0x207232(0x469)],Tr=(_0x29dc35,_0xf820c0,_0xfc0225,_0x46c7e8)=>{var _0xcf90cb=_0x207232;for(var _0x54dbe3=_0x46c7e8>0x1?void 0x0:_0x46c7e8?Ir(_0xf820c0,_0xfc0225):_0xf820c0,_0x6ad2e=_0x29dc35[_0xcf90cb(0x453)]-0x1,_0x144af6;_0x6ad2e>=0x0;_0x6ad2e--)(_0x144af6=_0x29dc35[_0x6ad2e])&&(_0x54dbe3=(_0x46c7e8?_0x144af6(_0xf820c0,_0xfc0225,_0x54dbe3):_0x144af6(_0x54dbe3))||_0x54dbe3);return _0x46c7e8&&_0x54dbe3&&Er(_0xf820c0,_0xfc0225,_0x54dbe3),_0x54dbe3;},Jt=(_0x5db41e,_0x3acb17)=>(_0x270a7b,_0x5de2f6)=>_0x3acb17(_0x270a7b,_0x5de2f6,_0x5db41e);const Cr='DEFAULT_FILE_NAME',Rr=_0x207232(0x304);let Rt=class extends _0xc4f5d{constructor(_0x322115,_0x50ec6e){var _0x3989e7=_0x207232;super(),this[_0x3989e7(0x244)]=_0x322115,this[_0x3989e7(0x452)]=_0x50ec6e,this[_0x3989e7(0x2be)]();}[_0x207232(0x2be)](){var _0x1dbbdc=_0x207232;this[_0x1dbbdc(0x200)](this['_univerInstanceService'][_0x1dbbdc(0x426)][_0x1dbbdc(0x416)](()=>{var _0x40fb43=_0x1dbbdc,_0x27bff4;const _0x18fad2=this[_0x40fb43(0x244)]['getFocusedUnit']();let _0x5e35e3=(_0x27bff4=this[_0x40fb43(0x452)][_0x40fb43(0x3a9)](Cr))!=null?_0x27bff4:Rr;_0x18fad2 instanceof _0x124bad&&(_0x5e35e3=_0x18fad2['name']),document[_0x40fb43(0x327)]=_0x5e35e3;}));}};Rt=Tr([Jt(0x0,_0x39ac8e),Jt(0x1,_0x2ddc28)],Rt);var br=Object[_0x207232(0x20c)],Or=Object[_0x207232(0x469)],yr=(_0x511767,_0x51d795,_0x418eb7,_0x413c83)=>{var _0x305c11=_0x207232;for(var _0x321c30=_0x413c83>0x1?void 0x0:_0x413c83?Or(_0x51d795,_0x418eb7):_0x51d795,_0x5a2629=_0x511767[_0x305c11(0x453)]-0x1,_0x36034d;_0x5a2629>=0x0;_0x5a2629--)(_0x36034d=_0x511767[_0x5a2629])&&(_0x321c30=(_0x413c83?_0x36034d(_0x51d795,_0x418eb7,_0x321c30):_0x36034d(_0x321c30))||_0x321c30);return _0x413c83&&_0x321c30&&br(_0x51d795,_0x418eb7,_0x321c30),_0x321c30;},vt=(_0x46acd8,_0x301f93)=>(_0x254a64,_0x86cd21)=>_0x301f93(_0x254a64,_0x86cd21,_0x46acd8);let st=class{constructor(_0x507e4d,_0x471ff0,_0x17a28f){var _0x2e8847=_0x207232;this[_0x2e8847(0x452)]=_0x507e4d,this[_0x2e8847(0x468)]=_0x471ff0,this[_0x2e8847(0x457)]=_0x17a28f,this[_0x2e8847(0x4e4)]();}[_0x207232(0x4e4)](){var _0xe6ba06=_0x207232;this[_0xe6ba06(0x468)][_0xe6ba06(0x44a)]({'priority':0x1,'interceptor':(_0x4aacae,_0x1faf10)=>_0x1faf10(_0x4aacae)[_0xe6ba06(0x216)](_0x5b8449(async _0x12db3c=>{var _0x56f0a0=_0xe6ba06;const _0x3abac4=_0x12db3c;if(_0x3abac4[_0x56f0a0(0x233)]===0x191){if(typeof window>'u')throw new Error(_0x56f0a0(0x3a6));if(window[_0x56f0a0(0x48b)](this[_0x56f0a0(0x457)]['t'](_0x56f0a0(0x331)))){const _0x438e73=window[_0x56f0a0(0x2f0)](window['location'][_0x56f0a0(0x4d6)]);window[_0x56f0a0(0x214)][_0x56f0a0(0x4d6)]=this[_0x56f0a0(0x387)]()+_0x56f0a0(0x247)+_0x438e73;}}return _0x3abac4;}))});}['_getLoginPath'](){var _0x162ec5=_0x207232,_0x1b1241,_0x10d65f;const _0x5f1a04=this[_0x162ec5(0x452)][_0x162ec5(0x3a9)](xn),_0x4fef9a=this[_0x162ec5(0x452)][_0x162ec5(0x3a9)](q);return(_0x10d65f=(_0x1b1241=_0x4fef9a==null?void 0x0:_0x4fef9a[_0x162ec5(0x277)])!=null?_0x1b1241:_0x5f1a04)!=null?_0x10d65f:Ln;}};st=yr([vt(0x0,_0x2ddc28),vt(0x1,_0x133bf8(_0xec288c)),vt(0x2,_0x133bf8(_0x5516c1))],st);var Nr=Object[_0x207232(0x20c)],Dr=Object[_0x207232(0x469)],Pr=(_0x5b7088,_0x1202dd,_0x126ffd,_0xd52b2)=>{var _0x18136b=_0x207232;for(var _0x5d40c8=_0xd52b2>0x1?void 0x0:_0xd52b2?Dr(_0x1202dd,_0x126ffd):_0x1202dd,_0x2da4be=_0x5b7088[_0x18136b(0x453)]-0x1,_0x25125c;_0x2da4be>=0x0;_0x2da4be--)(_0x25125c=_0x5b7088[_0x2da4be])&&(_0x5d40c8=(_0xd52b2?_0x25125c(_0x1202dd,_0x126ffd,_0x5d40c8):_0x25125c(_0x5d40c8))||_0x5d40c8);return _0xd52b2&&_0x5d40c8&&Nr(_0x1202dd,_0x126ffd,_0x5d40c8),_0x5d40c8;},Xt=(_0x3e1a23,_0x49a6e5)=>(_0x2c93d2,_0x472c30)=>_0x49a6e5(_0x2c93d2,_0x472c30,_0x3e1a23);const Pi='AUTHZ_URL_KEY',wr=_0x207232(0x41d);let bt=class extends _0xc4f5d{constructor(_0xf70e7d,_0x50b556){var _0x52849f=_0x207232;super(),this[_0x52849f(0x29b)]=_0xf70e7d,this[_0x52849f(0x452)]=_0x50b556,this[_0x52849f(0x36c)]();}[_0x207232(0x36c)](){var _0x34ffde=_0x207232;const _0x1f6feb=this;this[_0x34ffde(0x200)](this[_0x34ffde(0x29b)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x83fcb8({'isMatch'(_0xd01e89){var _0x1ad291=_0x34ffde,_0xf1f714;if(_0xd01e89[_0x1ad291(0x439)]==='POST'&&((_0xf1f714=_0xd01e89['requestParams'])!=null&&_0xf1f714[_0x1ad291(0x242)])){const {objectID:_0x218ca5,objectType:_0x49dfcf}=_0xd01e89['requestParams']['body']||{};if(!_0x218ca5||_0x49dfcf===void 0x0)return!0x1;const _0x2df53f=_0x1f6feb[_0x1ad291(0x382)]()+'/'+_0x49dfcf+_0x1ad291(0x35b)+_0x218ca5+_0x1ad291(0x370);if(_0xd01e89[_0x1ad291(0x2f4)]===_0x2df53f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x26a9d4){var _0x19ef09;return(_0x19ef09=_0x26a9d4['requestParams'])==null?void 0x0:_0x19ef09['body'];},'mergeParamsToRequest'(_0x119593,_0x5999c2){var _0x5bf479=_0x34ffde;const _0x435e8a=_0x1f6feb[_0x5bf479(0x382)]()+_0x5bf479(0x2bf),_0x29a50c=_0x119593[_0x5bf479(0x217)]((_0x170978,_0xbbdb31)=>{var _0x2e6494=_0x5bf479;const {unitID:_0x38e09b,objectID:_0x3d51e6,objectType:_0x4e334b,actions:_0xd0ca0e}=_0xbbdb31;return _0x170978[_0x38e09b]||(_0x170978[_0x38e09b]={}),_0x170978[_0x38e09b][_0x3d51e6]||(_0x170978[_0x38e09b][_0x3d51e6]={'objectID':_0x3d51e6,'objectType':_0x4e334b,'actions':[]}),_0x170978[_0x38e09b][_0x3d51e6][_0x2e6494(0x2e6)][_0x2e6494(0x2ac)](..._0xd0ca0e),_0x170978;},{}),_0x41580a=[];for(const _0x452d00 in _0x29a50c)for(const _0x25ae7c in _0x29a50c[_0x452d00]){const {actions:_0x417b1a,objectType:_0x4b97be}=_0x29a50c[_0x452d00][_0x25ae7c],_0x1e19d8=[...new Set(_0x417b1a)];_0x41580a[_0x5bf479(0x2ac)]({'unitID':_0x452d00,'objectID':_0x25ae7c,'objectType':_0x4b97be,'actions':_0x1e19d8});}return new _0x3f9374(_0x5bf479(0x45e),_0x435e8a,{'headers':_0x5999c2['headers'],'withCredentials':_0x5999c2['withCredentials'],'responseType':_0x5999c2[_0x5bf479(0x23d)],'body':{'requests':_0x41580a}});}},{'distributeResult'(_0x4fbbc0,_0x948729){const {objectActions:_0x54d63b}=_0x4fbbc0;return _0x948729['map'](_0xb25c34=>{var _0x318a69=_0x2b1b;const {unitID:_0x2efc30,objectID:_0x41b0fa,actions:_0x3baa75}=_0xb25c34,_0x552604=_0x54d63b[_0x318a69(0x211)](_0x54ab4a=>_0x54ab4a[_0x318a69(0x1f8)]===_0x2efc30&&_0x54ab4a[_0x318a69(0x296)]===_0x41b0fa),_0x2e928d=_0x3baa75[_0x318a69(0x4bf)](_0x556edd=>_0x552604==null?void 0x0:_0x552604[_0x318a69(0x2e6)][_0x318a69(0x211)](_0x508305=>_0x508305[_0x318a69(0x20a)]===_0x556edd))[_0x318a69(0x279)](_0x184065=>!!_0x184065);return{'config':_0xb25c34,'result':{'actions':_0x2e928d,'error':_0x4fbbc0[_0x318a69(0x3aa)]}};});}})}));}['_getAPIPrefixPath'](){var _0x1036b5=_0x207232,_0x30ab1e,_0x303499;const _0x3604e1=this[_0x1036b5(0x452)]['getConfig'](Pi),_0x3b6004=this['_configService'][_0x1036b5(0x3a9)](q);return(_0x303499=(_0x30ab1e=_0x3b6004==null?void 0x0:_0x3b6004[_0x1036b5(0x2fc)])!=null?_0x30ab1e:_0x3604e1)!=null?_0x303499:wr;}async[_0x207232(0x204)](_0x1a8575){var _0x203d53=_0x207232;const _0x30c4e9=this[_0x203d53(0x382)]()+'/'+_0x1a8575['objectType']+_0x203d53(0x355);return(await this['_HTTPService'][_0x203d53(0x3d5)](_0x30c4e9,{'body':_0x1a8575}))[_0x203d53(0x242)]['objectID']||'';}async[_0x207232(0x1fd)](_0x584401){var _0x33ac46=_0x207232;const _0x2e4d83=this[_0x33ac46(0x382)]()+_0x33ac46(0x430);return(await this[_0x33ac46(0x29b)][_0x33ac46(0x3d5)](_0x2e4d83,{'body':_0x584401}))['body'][_0x33ac46(0x32c)];}async['update'](_0x576d44){var _0x201b8c=_0x207232;const _0x42cc20=this[_0x201b8c(0x382)]()+'/'+_0x576d44[_0x201b8c(0x335)]+_0x201b8c(0x35b)+_0x576d44[_0x201b8c(0x296)];await this['_HTTPService'][_0x201b8c(0x3fc)](_0x42cc20,{'body':_0x576d44});}async[_0x207232(0x22f)](_0x5e7c80){var _0x53965f=_0x207232;const _0x270f10=this['_getAPIPrefixPath']()+'/'+_0x5e7c80[_0x53965f(0x335)]+_0x53965f(0x35b)+_0x5e7c80[_0x53965f(0x296)]+_0x53965f(0x370);return(await this[_0x53965f(0x29b)][_0x53965f(0x3d5)](_0x270f10,{'body':_0x5e7c80}))[_0x53965f(0x242)][_0x53965f(0x2e6)];}async[_0x207232(0x309)](_0x186803){var _0x5e4a36=_0x207232;const _0x507d2b=this[_0x5e4a36(0x382)]()+_0x5e4a36(0x2bf);return(await this[_0x5e4a36(0x29b)][_0x5e4a36(0x3d5)](_0x507d2b,{'body':{'requests':_0x186803}}))['body'][_0x5e4a36(0x47a)];}async['listRoles'](_0x7767e2){var _0x4f158a=_0x207232;const _0x207f3d=this[_0x4f158a(0x382)]()+'/'+_0x7767e2[_0x4f158a(0x335)]+_0x4f158a(0x48e),_0x14aa3f=await this[_0x4f158a(0x29b)][_0x4f158a(0x3d5)](_0x207f3d,{'body':_0x7767e2});return{'roles':_0x14aa3f[_0x4f158a(0x242)][_0x4f158a(0x497)],'actions':_0x14aa3f[_0x4f158a(0x242)][_0x4f158a(0x2e6)]};}async[_0x207232(0x39e)](_0xfe6df7){var _0x501102=_0x207232;const _0x2d3c30=this['_getAPIPrefixPath']()+_0x501102(0x287);await this['_HTTPService'][_0x501102(0x2d4)](_0x2d3c30,{'params':{'collaboratorID':_0xfe6df7[_0x501102(0x401)],'objectID':_0xfe6df7[_0x501102(0x296)],'unitID':_0xfe6df7[_0x501102(0x1f8)]}});}async[_0x207232(0x3ac)](_0x3d7af1){var _0xed18b6=_0x207232;const _0x218587=this[_0xed18b6(0x382)]()+_0xed18b6(0x287);await this[_0xed18b6(0x29b)][_0xed18b6(0x4b7)](_0x218587,{'body':_0x3d7af1});}async[_0x207232(0x3e8)](_0x31d931){var _0x2f2278=_0x207232;const _0x2d9291=this[_0x2f2278(0x382)]()+_0x2f2278(0x287);await this[_0x2f2278(0x29b)][_0x2f2278(0x3d5)](_0x2d9291,{'body':_0x31d931});}async[_0x207232(0x4d8)](_0x397d6a){var _0x444016=_0x207232;const _0x1b0c54=this[_0x444016(0x382)]()+_0x444016(0x287);return(await this[_0x444016(0x29b)][_0x444016(0x410)](_0x1b0c54,{'params':{'objectID':_0x397d6a[_0x444016(0x296)],'unitID':_0x397d6a[_0x444016(0x1f8)]}}))[_0x444016(0x242)]['collaborators'];}async[_0x207232(0x29f)](_0x582586){var _0x4d42c4=_0x207232;const _0x376d95=this[_0x4d42c4(0x382)]()+_0x4d42c4(0x287);await this[_0x4d42c4(0x29b)][_0x4d42c4(0x3fc)](_0x376d95,{'body':_0x582586});}};bt=Pr([Xt(0x0,_0x133bf8(_0xec288c)),Xt(0x1,_0x133bf8(_0x2ddc28))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x3aad55){var _0x4da024=_0x207232;return _0x3aad55&&_0x3aad55['__esModule']&&Object['prototype'][_0x4da024(0x241)]['call'](_0x3aad55,_0x4da024(0x4c7))?_0x3aad55[_0x4da024(0x4c7)]:_0x3aad55;}var Ve={'exports':{}};function Ur(_0x32f5dd){var _0x145644=_0x207232;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x32f5dd+_0x145644(0x375));}var Ge={'exports':{}},Ar=Ge[_0x207232(0x267)],Zt;function ne(){var _0x3f512a=_0x207232;return Zt||(Zt=0x1,function(_0x57be3d,_0x161a0c){(function(_0x371ceb,_0x50a40d){_0x57be3d['exports']=_0x50a40d();}(Ar,function(){var _0x2b2760=_0x2b2760||function(_0x89e4dc,_0x178d15){var _0x23b156=_0x2b1b,_0x4456de;if(typeof window<'u'&&window[_0x23b156(0x3e2)]&&(_0x4456de=window[_0x23b156(0x3e2)]),typeof self<'u'&&self['crypto']&&(_0x4456de=self[_0x23b156(0x3e2)]),typeof globalThis<'u'&&globalThis[_0x23b156(0x3e2)]&&(_0x4456de=globalThis[_0x23b156(0x3e2)]),!_0x4456de&&typeof window<'u'&&window['msCrypto']&&(_0x4456de=window[_0x23b156(0x2d2)]),!_0x4456de&&typeof pt<'u'&&pt[_0x23b156(0x3e2)]&&(_0x4456de=pt[_0x23b156(0x3e2)]),!_0x4456de&&typeof Ur=='function')try{_0x4456de=require('crypto');}catch{}var _0x28d29b=function(){var _0x126610=_0x23b156;if(_0x4456de){if(typeof _0x4456de[_0x126610(0x301)]==_0x126610(0x314))try{return _0x4456de[_0x126610(0x301)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4456de[_0x126610(0x402)]==_0x126610(0x314))try{return _0x4456de[_0x126610(0x402)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3340d2=Object[_0x23b156(0x204)]||(function(){function _0x40aa63(){}return function(_0x31bd26){var _0x14241c=_0x2b1b,_0x2f4ac4;return _0x40aa63[_0x14241c(0x1ef)]=_0x31bd26,_0x2f4ac4=new _0x40aa63(),_0x40aa63[_0x14241c(0x1ef)]=null,_0x2f4ac4;};}()),_0x36c16b={},_0xef0af5=_0x36c16b[_0x23b156(0x3cb)]={},_0x24db53=_0xef0af5[_0x23b156(0x261)]=(function(){return{'extend':function(_0x5726da){var _0x5eaf2f=_0x2b1b,_0x5bc9e6=_0x3340d2(this);return _0x5726da&&_0x5bc9e6[_0x5eaf2f(0x421)](_0x5726da),(!_0x5bc9e6[_0x5eaf2f(0x241)]('init')||this[_0x5eaf2f(0x4e4)]===_0x5bc9e6[_0x5eaf2f(0x4e4)])&&(_0x5bc9e6[_0x5eaf2f(0x4e4)]=function(){var _0x560672=_0x5eaf2f;_0x5bc9e6['$super']['init'][_0x560672(0x47c)](this,arguments);}),_0x5bc9e6[_0x5eaf2f(0x4e4)]['prototype']=_0x5bc9e6,_0x5bc9e6[_0x5eaf2f(0x4c0)]=this,_0x5bc9e6;},'create':function(){var _0x308ad2=_0x2b1b,_0x3ec795=this['extend']();return _0x3ec795[_0x308ad2(0x4e4)][_0x308ad2(0x47c)](_0x3ec795,arguments),_0x3ec795;},'init':function(){},'mixIn':function(_0x26e1df){var _0x1691fb=_0x2b1b;for(var _0x16e640 in _0x26e1df)_0x26e1df[_0x1691fb(0x241)](_0x16e640)&&(this[_0x16e640]=_0x26e1df[_0x16e640]);_0x26e1df[_0x1691fb(0x241)](_0x1691fb(0x222))&&(this[_0x1691fb(0x222)]=_0x26e1df[_0x1691fb(0x222)]);},'clone':function(){var _0x45807b=_0x2b1b;return this[_0x45807b(0x4e4)][_0x45807b(0x1ef)][_0x45807b(0x385)](this);}};}()),_0x2895ab=_0xef0af5[_0x23b156(0x25d)]=_0x24db53['extend']({'init':function(_0x5424bc,_0x478ca6){var _0xe960da=_0x23b156;_0x5424bc=this[_0xe960da(0x36e)]=_0x5424bc||[],_0x478ca6!=_0x178d15?this[_0xe960da(0x231)]=_0x478ca6:this[_0xe960da(0x231)]=_0x5424bc['length']*0x4;},'toString':function(_0x1672d5){var _0x735f30=_0x23b156;return(_0x1672d5||_0x3e6e4b)[_0x735f30(0x438)](this);},'concat':function(_0x44fbcc){var _0x2f86af=_0x23b156,_0x3f2ccb=this['words'],_0x39877d=_0x44fbcc[_0x2f86af(0x36e)],_0x223efa=this[_0x2f86af(0x231)],_0x42875f=_0x44fbcc[_0x2f86af(0x231)];if(this['clamp'](),_0x223efa%0x4)for(var _0x34bbac=0x0;_0x34bbac<_0x42875f;_0x34bbac++){var _0x214f91=_0x39877d[_0x34bbac>>>0x2]>>>0x18-_0x34bbac%0x4*0x8&0xff;_0x3f2ccb[_0x223efa+_0x34bbac>>>0x2]|=_0x214f91<<0x18-(_0x223efa+_0x34bbac)%0x4*0x8;}else{for(var _0xca0cf8=0x0;_0xca0cf8<_0x42875f;_0xca0cf8+=0x4)_0x3f2ccb[_0x223efa+_0xca0cf8>>>0x2]=_0x39877d[_0xca0cf8>>>0x2];}return this[_0x2f86af(0x231)]+=_0x42875f,this;},'clamp':function(){var _0x15af74=_0x23b156,_0x3d06da=this[_0x15af74(0x36e)],_0x375bdf=this['sigBytes'];_0x3d06da[_0x375bdf>>>0x2]&=0xffffffff<<0x20-_0x375bdf%0x4*0x8,_0x3d06da['length']=_0x89e4dc[_0x15af74(0x21b)](_0x375bdf/0x4);},'clone':function(){var _0x3e8962=_0x23b156,_0x1cfb1b=_0x24db53[_0x3e8962(0x39f)][_0x3e8962(0x281)](this);return _0x1cfb1b[_0x3e8962(0x36e)]=this[_0x3e8962(0x36e)][_0x3e8962(0x27f)](0x0),_0x1cfb1b;},'random':function(_0xc6282c){var _0x1039a2=_0x23b156;for(var _0x152126=[],_0x1b915f=0x0;_0x1b915f<_0xc6282c;_0x1b915f+=0x4)_0x152126[_0x1039a2(0x2ac)](_0x28d29b());return new _0x2895ab[(_0x1039a2(0x4e4))](_0x152126,_0xc6282c);}}),_0x5c1aa3=_0x36c16b[_0x23b156(0x24d)]={},_0x3e6e4b=_0x5c1aa3['Hex']={'stringify':function(_0x7dfbaf){var _0x564b00=_0x23b156;for(var _0x57e5b4=_0x7dfbaf[_0x564b00(0x36e)],_0x2284bd=_0x7dfbaf['sigBytes'],_0x1ea05e=[],_0x13c471=0x0;_0x13c471<_0x2284bd;_0x13c471++){var _0x121a73=_0x57e5b4[_0x13c471>>>0x2]>>>0x18-_0x13c471%0x4*0x8&0xff;_0x1ea05e[_0x564b00(0x2ac)]((_0x121a73>>>0x4)[_0x564b00(0x222)](0x10)),_0x1ea05e[_0x564b00(0x2ac)]((_0x121a73&0xf)[_0x564b00(0x222)](0x10));}return _0x1ea05e[_0x564b00(0x21f)]('');},'parse':function(_0x583523){var _0x5eda18=_0x23b156;for(var _0x3cc0e4=_0x583523[_0x5eda18(0x453)],_0x5a1d23=[],_0x5760e2=0x0;_0x5760e2<_0x3cc0e4;_0x5760e2+=0x2)_0x5a1d23[_0x5760e2>>>0x3]|=parseInt(_0x583523['substr'](_0x5760e2,0x2),0x10)<<0x18-_0x5760e2%0x8*0x4;return new _0x2895ab[(_0x5eda18(0x4e4))](_0x5a1d23,_0x3cc0e4/0x2);}},_0x374334=_0x5c1aa3[_0x23b156(0x4d4)]={'stringify':function(_0xa9b9cb){var _0x3891e7=_0x23b156;for(var _0x4d6e80=_0xa9b9cb['words'],_0x65532f=_0xa9b9cb[_0x3891e7(0x231)],_0x1fe848=[],_0x5bd456=0x0;_0x5bd456<_0x65532f;_0x5bd456++){var _0x4b5373=_0x4d6e80[_0x5bd456>>>0x2]>>>0x18-_0x5bd456%0x4*0x8&0xff;_0x1fe848[_0x3891e7(0x2ac)](String['fromCharCode'](_0x4b5373));}return _0x1fe848[_0x3891e7(0x21f)]('');},'parse':function(_0x10149f){var _0xd0f3fa=_0x23b156;for(var _0x5d776e=_0x10149f[_0xd0f3fa(0x453)],_0x4099e9=[],_0x27a8e7=0x0;_0x27a8e7<_0x5d776e;_0x27a8e7++)_0x4099e9[_0x27a8e7>>>0x2]|=(_0x10149f[_0xd0f3fa(0x313)](_0x27a8e7)&0xff)<<0x18-_0x27a8e7%0x4*0x8;return new _0x2895ab['init'](_0x4099e9,_0x5d776e);}},_0x5e8407=_0x5c1aa3[_0x23b156(0x3f7)]={'stringify':function(_0x28ce21){var _0x171943=_0x23b156;try{return decodeURIComponent(escape(_0x374334[_0x171943(0x438)](_0x28ce21)));}catch{throw new Error(_0x171943(0x450));}},'parse':function(_0x2aabe8){var _0x95f66b=_0x23b156;return _0x374334[_0x95f66b(0x415)](unescape(encodeURIComponent(_0x2aabe8)));}},_0x3f7d3a=_0xef0af5[_0x23b156(0x45d)]=_0x24db53['extend']({'reset':function(){var _0x3f11d9=_0x23b156;this[_0x3f11d9(0x23e)]=new _0x2895ab[(_0x3f11d9(0x4e4))](),this[_0x3f11d9(0x477)]=0x0;},'_append':function(_0x3371cb){var _0x3da2de=_0x23b156;typeof _0x3371cb=='string'&&(_0x3371cb=_0x5e8407['parse'](_0x3371cb)),this[_0x3da2de(0x23e)][_0x3da2de(0x2fd)](_0x3371cb),this[_0x3da2de(0x477)]+=_0x3371cb[_0x3da2de(0x231)];},'_process':function(_0x1ab219){var _0x4cf12c=_0x23b156,_0xab1fbf,_0x16c73a=this[_0x4cf12c(0x23e)],_0x4ae2a6=_0x16c73a['words'],_0x8c1511=_0x16c73a[_0x4cf12c(0x231)],_0x228d77=this[_0x4cf12c(0x1f0)],_0x4bed11=_0x228d77*0x4,_0x4e043a=_0x8c1511/_0x4bed11;_0x1ab219?_0x4e043a=_0x89e4dc[_0x4cf12c(0x21b)](_0x4e043a):_0x4e043a=_0x89e4dc[_0x4cf12c(0x3f5)]((_0x4e043a|0x0)-this[_0x4cf12c(0x3d2)],0x0);var _0x36d3ed=_0x4e043a*_0x228d77,_0x24018e=_0x89e4dc['min'](_0x36d3ed*0x4,_0x8c1511);if(_0x36d3ed){for(var _0x2e13cd=0x0;_0x2e13cd<_0x36d3ed;_0x2e13cd+=_0x228d77)this[_0x4cf12c(0x3f9)](_0x4ae2a6,_0x2e13cd);_0xab1fbf=_0x4ae2a6[_0x4cf12c(0x39b)](0x0,_0x36d3ed),_0x16c73a[_0x4cf12c(0x231)]-=_0x24018e;}return new _0x2895ab[(_0x4cf12c(0x4e4))](_0xab1fbf,_0x24018e);},'clone':function(){var _0x55b239=_0x23b156,_0x52229e=_0x24db53[_0x55b239(0x39f)][_0x55b239(0x281)](this);return _0x52229e['_data']=this['_data']['clone'](),_0x52229e;},'_minBufferSize':0x0});_0xef0af5[_0x23b156(0x220)]=_0x3f7d3a[_0x23b156(0x385)]({'cfg':_0x24db53[_0x23b156(0x385)](),'init':function(_0x37e277){var _0x59a19e=_0x23b156;this[_0x59a19e(0x4b1)]=this['cfg'][_0x59a19e(0x385)](_0x37e277),this['reset']();},'reset':function(){var _0x1c0f47=_0x23b156;_0x3f7d3a[_0x1c0f47(0x38d)]['call'](this),this[_0x1c0f47(0x2c5)]();},'update':function(_0x2a95a4){var _0x415be4=_0x23b156;return this[_0x415be4(0x4b3)](_0x2a95a4),this[_0x415be4(0x4bb)](),this;},'finalize':function(_0x276c22){var _0x1efea4=_0x23b156;_0x276c22&&this[_0x1efea4(0x4b3)](_0x276c22);var _0x3786d6=this[_0x1efea4(0x348)]();return _0x3786d6;},'blockSize':0x10,'_createHelper':function(_0x28eff6){return function(_0x98cfe0,_0x128405){var _0x24e234=_0x2b1b;return new _0x28eff6[(_0x24e234(0x4e4))](_0x128405)['finalize'](_0x98cfe0);};},'_createHmacHelper':function(_0x2fa64e){return function(_0x3ca10e,_0x497d2a){var _0x9eaa40=_0x2b1b;return new _0x425d6d[(_0x9eaa40(0x3d0))]['init'](_0x2fa64e,_0x497d2a)['finalize'](_0x3ca10e);};}});var _0x425d6d=_0x36c16b[_0x23b156(0x294)]={};return _0x36c16b;}(Math);return _0x2b2760;}));}(Ge)),Ge[_0x3f512a(0x267)];}var We={'exports':{}},xr=We[_0x207232(0x267)],Qt;function wi(){var _0x4cb0bb=_0x207232;return Qt||(Qt=0x1,function(_0xbb7254,_0x2f690d){(function(_0x384f19,_0xebc70f){_0xbb7254['exports']=_0xebc70f(ne());}(xr,function(_0x5e32f5){var _0x54f35b=_0x2b1b;return(function(){var _0x21d5cc=_0x2b1b,_0x1de2b7=_0x5e32f5,_0x460c32=_0x1de2b7['lib'],_0x4d2b04=_0x460c32['WordArray'],_0x4fb029=_0x1de2b7[_0x21d5cc(0x24d)];_0x4fb029['Base64']={'stringify':function(_0x29c0d5){var _0x458710=_0x21d5cc,_0x5f4a4c=_0x29c0d5['words'],_0x485442=_0x29c0d5[_0x458710(0x231)],_0x2b7354=this[_0x458710(0x2b9)];_0x29c0d5[_0x458710(0x223)]();for(var _0x4d34f6=[],_0x2a66fd=0x0;_0x2a66fd<_0x485442;_0x2a66fd+=0x3)for(var _0x459db9=_0x5f4a4c[_0x2a66fd>>>0x2]>>>0x18-_0x2a66fd%0x4*0x8&0xff,_0x4920ef=_0x5f4a4c[_0x2a66fd+0x1>>>0x2]>>>0x18-(_0x2a66fd+0x1)%0x4*0x8&0xff,_0x3a0fbb=_0x5f4a4c[_0x2a66fd+0x2>>>0x2]>>>0x18-(_0x2a66fd+0x2)%0x4*0x8&0xff,_0x45fbf8=_0x459db9<<0x10|_0x4920ef<<0x8|_0x3a0fbb,_0x1a1696=0x0;_0x1a1696<0x4&&_0x2a66fd+_0x1a1696*0.75<_0x485442;_0x1a1696++)_0x4d34f6[_0x458710(0x2ac)](_0x2b7354[_0x458710(0x445)](_0x45fbf8>>>0x6*(0x3-_0x1a1696)&0x3f));var _0x28d32c=_0x2b7354[_0x458710(0x445)](0x40);if(_0x28d32c){for(;_0x4d34f6[_0x458710(0x453)]%0x4;)_0x4d34f6[_0x458710(0x2ac)](_0x28d32c);}return _0x4d34f6['join']('');},'parse':function(_0x33084d){var _0x4fdb38=_0x21d5cc,_0x313066=_0x33084d[_0x4fdb38(0x453)],_0xd2d0f6=this[_0x4fdb38(0x2b9)],_0x134f6b=this[_0x4fdb38(0x344)];if(!_0x134f6b){_0x134f6b=this[_0x4fdb38(0x344)]=[];for(var _0x1ce46d=0x0;_0x1ce46d<_0xd2d0f6[_0x4fdb38(0x453)];_0x1ce46d++)_0x134f6b[_0xd2d0f6[_0x4fdb38(0x313)](_0x1ce46d)]=_0x1ce46d;}var _0x3f3e34=_0xd2d0f6[_0x4fdb38(0x445)](0x40);if(_0x3f3e34){var _0x1681be=_0x33084d[_0x4fdb38(0x2f1)](_0x3f3e34);_0x1681be!==-0x1&&(_0x313066=_0x1681be);}return _0x39274e(_0x33084d,_0x313066,_0x134f6b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x39274e(_0x50c13e,_0x57dc67,_0xb36ed9){var _0x4d71f4=_0x21d5cc;for(var _0x432fd0=[],_0x2ef9d9=0x0,_0x39679e=0x0;_0x39679e<_0x57dc67;_0x39679e++)if(_0x39679e%0x4){var _0x545c3c=_0xb36ed9[_0x50c13e['charCodeAt'](_0x39679e-0x1)]<<_0x39679e%0x4*0x2,_0xb8447d=_0xb36ed9[_0x50c13e[_0x4d71f4(0x313)](_0x39679e)]>>>0x6-_0x39679e%0x4*0x2,_0x3e2e8a=_0x545c3c|_0xb8447d;_0x432fd0[_0x2ef9d9>>>0x2]|=_0x3e2e8a<<0x18-_0x2ef9d9%0x4*0x8,_0x2ef9d9++;}return _0x4d2b04[_0x4d71f4(0x204)](_0x432fd0,_0x2ef9d9);}}()),_0x5e32f5['enc'][_0x54f35b(0x3b4)];}));}(We)),We[_0x4cb0bb(0x267)];}var Ke={'exports':{}},Lr=Ke[_0x207232(0x267)],ei;function Mr(){var _0x8a9dcb=_0x207232;return ei||(ei=0x1,function(_0x3bb78f,_0x56258d){(function(_0x1405c1,_0x4bd916){var _0x47ed2f=_0x2b1b;_0x3bb78f[_0x47ed2f(0x267)]=_0x4bd916(ne());}(Lr,function(_0x298092){var _0x163b00=_0x2b1b;return function(_0x1f4670){var _0x1bb143=_0x2b1b,_0x3079e7=_0x298092,_0x546bc1=_0x3079e7[_0x1bb143(0x3cb)],_0x2bc228=_0x546bc1[_0x1bb143(0x25d)],_0x499884=_0x546bc1[_0x1bb143(0x220)],_0x5ad551=_0x3079e7[_0x1bb143(0x294)],_0x21e60d=[];(function(){var _0x15a11d=_0x1bb143;for(var _0x4cfd36=0x0;_0x4cfd36<0x40;_0x4cfd36++)_0x21e60d[_0x4cfd36]=_0x1f4670[_0x15a11d(0x3ec)](_0x1f4670[_0x15a11d(0x42f)](_0x4cfd36+0x1))*0x100000000|0x0;}());var _0x29ab33=_0x5ad551['MD5']=_0x499884[_0x1bb143(0x385)]({'_doReset':function(){this['_hash']=new _0x2bc228['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x278c24,_0x4822db){var _0x3a16e3=_0x1bb143;for(var _0x2fddd6=0x0;_0x2fddd6<0x10;_0x2fddd6++){var _0x17a72a=_0x4822db+_0x2fddd6,_0x15d243=_0x278c24[_0x17a72a];_0x278c24[_0x17a72a]=(_0x15d243<<0x8|_0x15d243>>>0x18)&0xff00ff|(_0x15d243<<0x18|_0x15d243>>>0x8)&0xff00ff00;}var _0x4e5719=this[_0x3a16e3(0x449)]['words'],_0x4256cc=_0x278c24[_0x4822db+0x0],_0xaf2e97=_0x278c24[_0x4822db+0x1],_0x5e7f29=_0x278c24[_0x4822db+0x2],_0x17dd18=_0x278c24[_0x4822db+0x3],_0x276b0e=_0x278c24[_0x4822db+0x4],_0x295a03=_0x278c24[_0x4822db+0x5],_0x3015e=_0x278c24[_0x4822db+0x6],_0x891556=_0x278c24[_0x4822db+0x7],_0x301b26=_0x278c24[_0x4822db+0x8],_0x2dc85a=_0x278c24[_0x4822db+0x9],_0x4d6809=_0x278c24[_0x4822db+0xa],_0x34d1e7=_0x278c24[_0x4822db+0xb],_0x4780b6=_0x278c24[_0x4822db+0xc],_0x25fdd6=_0x278c24[_0x4822db+0xd],_0x1a4f7a=_0x278c24[_0x4822db+0xe],_0x5ca339=_0x278c24[_0x4822db+0xf],_0x3e30d3=_0x4e5719[0x0],_0x44c485=_0x4e5719[0x1],_0x572c76=_0x4e5719[0x2],_0x56cf00=_0x4e5719[0x3];_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4256cc,0x7,_0x21e60d[0x0]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0xaf2e97,0xc,_0x21e60d[0x1]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5e7f29,0x11,_0x21e60d[0x2]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x17dd18,0x16,_0x21e60d[0x3]),_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x276b0e,0x7,_0x21e60d[0x4]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x295a03,0xc,_0x21e60d[0x5]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x3015e,0x11,_0x21e60d[0x6]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x891556,0x16,_0x21e60d[0x7]),_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x301b26,0x7,_0x21e60d[0x8]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x2dc85a,0xc,_0x21e60d[0x9]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x4d6809,0x11,_0x21e60d[0xa]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x34d1e7,0x16,_0x21e60d[0xb]),_0x3e30d3=_0x1a722b(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4780b6,0x7,_0x21e60d[0xc]),_0x56cf00=_0x1a722b(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x25fdd6,0xc,_0x21e60d[0xd]),_0x572c76=_0x1a722b(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x1a4f7a,0x11,_0x21e60d[0xe]),_0x44c485=_0x1a722b(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x5ca339,0x16,_0x21e60d[0xf]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0xaf2e97,0x5,_0x21e60d[0x10]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x3015e,0x9,_0x21e60d[0x11]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x34d1e7,0xe,_0x21e60d[0x12]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x4256cc,0x14,_0x21e60d[0x13]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x295a03,0x5,_0x21e60d[0x14]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x4d6809,0x9,_0x21e60d[0x15]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5ca339,0xe,_0x21e60d[0x16]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x276b0e,0x14,_0x21e60d[0x17]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x2dc85a,0x5,_0x21e60d[0x18]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x1a4f7a,0x9,_0x21e60d[0x19]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x17dd18,0xe,_0x21e60d[0x1a]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x301b26,0x14,_0x21e60d[0x1b]),_0x3e30d3=_0x3aedd6(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x25fdd6,0x5,_0x21e60d[0x1c]),_0x56cf00=_0x3aedd6(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x5e7f29,0x9,_0x21e60d[0x1d]),_0x572c76=_0x3aedd6(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x891556,0xe,_0x21e60d[0x1e]),_0x44c485=_0x3aedd6(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x4780b6,0x14,_0x21e60d[0x1f]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x295a03,0x4,_0x21e60d[0x20]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x301b26,0xb,_0x21e60d[0x21]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x34d1e7,0x10,_0x21e60d[0x22]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x1a4f7a,0x17,_0x21e60d[0x23]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0xaf2e97,0x4,_0x21e60d[0x24]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x276b0e,0xb,_0x21e60d[0x25]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x891556,0x10,_0x21e60d[0x26]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x4d6809,0x17,_0x21e60d[0x27]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x25fdd6,0x4,_0x21e60d[0x28]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x4256cc,0xb,_0x21e60d[0x29]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x17dd18,0x10,_0x21e60d[0x2a]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x3015e,0x17,_0x21e60d[0x2b]),_0x3e30d3=_0x20a48d(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x2dc85a,0x4,_0x21e60d[0x2c]),_0x56cf00=_0x20a48d(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x4780b6,0xb,_0x21e60d[0x2d]),_0x572c76=_0x20a48d(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5ca339,0x10,_0x21e60d[0x2e]),_0x44c485=_0x20a48d(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x5e7f29,0x17,_0x21e60d[0x2f]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4256cc,0x6,_0x21e60d[0x30]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x891556,0xa,_0x21e60d[0x31]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x1a4f7a,0xf,_0x21e60d[0x32]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x295a03,0x15,_0x21e60d[0x33]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x4780b6,0x6,_0x21e60d[0x34]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x17dd18,0xa,_0x21e60d[0x35]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x4d6809,0xf,_0x21e60d[0x36]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0xaf2e97,0x15,_0x21e60d[0x37]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x301b26,0x6,_0x21e60d[0x38]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x5ca339,0xa,_0x21e60d[0x39]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x3015e,0xf,_0x21e60d[0x3a]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x25fdd6,0x15,_0x21e60d[0x3b]),_0x3e30d3=_0x5597e7(_0x3e30d3,_0x44c485,_0x572c76,_0x56cf00,_0x276b0e,0x6,_0x21e60d[0x3c]),_0x56cf00=_0x5597e7(_0x56cf00,_0x3e30d3,_0x44c485,_0x572c76,_0x34d1e7,0xa,_0x21e60d[0x3d]),_0x572c76=_0x5597e7(_0x572c76,_0x56cf00,_0x3e30d3,_0x44c485,_0x5e7f29,0xf,_0x21e60d[0x3e]),_0x44c485=_0x5597e7(_0x44c485,_0x572c76,_0x56cf00,_0x3e30d3,_0x2dc85a,0x15,_0x21e60d[0x3f]),_0x4e5719[0x0]=_0x4e5719[0x0]+_0x3e30d3|0x0,_0x4e5719[0x1]=_0x4e5719[0x1]+_0x44c485|0x0,_0x4e5719[0x2]=_0x4e5719[0x2]+_0x572c76|0x0,_0x4e5719[0x3]=_0x4e5719[0x3]+_0x56cf00|0x0;},'_doFinalize':function(){var _0x3f6ff2=_0x1bb143,_0x45e2ae=this[_0x3f6ff2(0x23e)],_0x33a27f=_0x45e2ae['words'],_0x2d0918=this[_0x3f6ff2(0x477)]*0x8,_0x456841=_0x45e2ae[_0x3f6ff2(0x231)]*0x8;_0x33a27f[_0x456841>>>0x5]|=0x80<<0x18-_0x456841%0x20;var _0x3dd5ff=_0x1f4670[_0x3f6ff2(0x298)](_0x2d0918/0x100000000),_0x3143eb=_0x2d0918;_0x33a27f[(_0x456841+0x40>>>0x9<<0x4)+0xf]=(_0x3dd5ff<<0x8|_0x3dd5ff>>>0x18)&0xff00ff|(_0x3dd5ff<<0x18|_0x3dd5ff>>>0x8)&0xff00ff00,_0x33a27f[(_0x456841+0x40>>>0x9<<0x4)+0xe]=(_0x3143eb<<0x8|_0x3143eb>>>0x18)&0xff00ff|(_0x3143eb<<0x18|_0x3143eb>>>0x8)&0xff00ff00,_0x45e2ae['sigBytes']=(_0x33a27f[_0x3f6ff2(0x453)]+0x1)*0x4,this['_process']();for(var _0x26a08c=this[_0x3f6ff2(0x449)],_0x1b2e37=_0x26a08c[_0x3f6ff2(0x36e)],_0x973e82=0x0;_0x973e82<0x4;_0x973e82++){var _0x25718f=_0x1b2e37[_0x973e82];_0x1b2e37[_0x973e82]=(_0x25718f<<0x8|_0x25718f>>>0x18)&0xff00ff|(_0x25718f<<0x18|_0x25718f>>>0x8)&0xff00ff00;}return _0x26a08c;},'clone':function(){var _0x3d7c60=_0x1bb143,_0x312ec2=_0x499884[_0x3d7c60(0x39f)][_0x3d7c60(0x281)](this);return _0x312ec2['_hash']=this[_0x3d7c60(0x449)][_0x3d7c60(0x39f)](),_0x312ec2;}});function _0x1a722b(_0x42b370,_0x39192b,_0x32f8cb,_0x329e29,_0x3efbde,_0x377f5c,_0x1c3f71){var _0x54a221=_0x42b370+(_0x39192b&_0x32f8cb|~_0x39192b&_0x329e29)+_0x3efbde+_0x1c3f71;return(_0x54a221<<_0x377f5c|_0x54a221>>>0x20-_0x377f5c)+_0x39192b;}function _0x3aedd6(_0x55c54a,_0x5c0ee2,_0x325e84,_0xce05de,_0x16b689,_0x203375,_0x47cc50){var _0x282612=_0x55c54a+(_0x5c0ee2&_0xce05de|_0x325e84&~_0xce05de)+_0x16b689+_0x47cc50;return(_0x282612<<_0x203375|_0x282612>>>0x20-_0x203375)+_0x5c0ee2;}function _0x20a48d(_0x278344,_0x3d1b49,_0x37d8ab,_0x5227dd,_0x54008e,_0x47fb0c,_0x547a3f){var _0x56d104=_0x278344+(_0x3d1b49^_0x37d8ab^_0x5227dd)+_0x54008e+_0x547a3f;return(_0x56d104<<_0x47fb0c|_0x56d104>>>0x20-_0x47fb0c)+_0x3d1b49;}function _0x5597e7(_0x465e21,_0x62b695,_0x539e29,_0x84c56,_0x4447a1,_0x36083b,_0x4d0184){var _0x784c8=_0x465e21+(_0x539e29^(_0x62b695|~_0x84c56))+_0x4447a1+_0x4d0184;return(_0x784c8<<_0x36083b|_0x784c8>>>0x20-_0x36083b)+_0x62b695;}_0x3079e7[_0x1bb143(0x46b)]=_0x499884['_createHelper'](_0x29ab33),_0x3079e7['HmacMD5']=_0x499884[_0x1bb143(0x321)](_0x29ab33);}(Math),_0x298092[_0x163b00(0x46b)];}));}(Ke)),Ke[_0x8a9dcb(0x267)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x207232(0x267)],ti;function _0x158c(){var _0x477faa=['splice','_unlockTransition','getMemberID','deleteCollaborator','clone','_executeRemoteChangeset','transformUndoRedo','JOIN_ROOM_NOT_EXISTS','_onRemoteChangeset','_awaitingChangeset','ONLINE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','entityInit$','Cipher','getConfig','error','_waitForHeartbeatResponse','updateCollaborator','baseRev','_resendTimeout','onMissedChangesetFetched','onCommentUpdate','_key','params','UNRECOGNIZED','Base64','_sessions','_getSendChangesetTimeout','encode','[CollaborationEntity]','uniscriptRunEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','wsSessionTicketUrl','_memberService','waitForRoom$','_undoStacks','_clearUndo','/universer-api/oidc/authpage','createInstance','195839XdUjWy','CONNECTOR_DATA_TOO_LARGE','_getSignURL','runId','getMember','_snapshotServerService','SOCKET_FAILED_RETRY','onSyncEditingCollabCursor','_showConflictNotification','lib','byteLength','_ENC_XFORM_MODE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onJoinRoomEvent','HMAC','SUCCUSS','_minBufferSize','UNISCRIPT_RUN','_onCombEvent','post','socket\x20open.','Encryptor','_updateState','loadUnit','_permissionService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteACK','USERS_LEAVE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearHeartbeatTimer','random','setCurrentUser','crypto','leaveEvent','[SyncedState]:\x20received\x20rejection.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getRedoStack','dispose$','createCollaborator','_fetchMissChangesets','APPLY_REVISION_CONFILICT','_disableEditing','abs','unsubscribe','fromCollab','mutations','_queuedRemoteChangesets','commentUpdateEvent','LIVESHARE_NEW_HOST','toLowerCase','add','max','compute','Utf8','72EsOnDq','_doProcessBlock','_getUndoStack','infoRsp','put','_instanceService','_initDependencies','HmacSHA1','fetch_missing','collaboratorID','randomBytes','UNAUTHENTICATED','PasswordBasedCipher','rng','_injector','onCommandExecuted','fetchMiss','AWAITING_WITH_PENDING','_checkMissing','UNKNOWN_CODE','reconnect','_DEC_XFORM_MODE','_revisionService','_unitInfo$','get','not_collab','snapshotServerUrl','_localCacheService','_mode','parse','subscribe','CipherParams','_commandService','awaitingChangeset','_updateStatus','now','session.room-permission-denied','/universer-api/authz','_members','209670qsTsXu','PERSON','mixIn','subject','localCacheService','_waitCount','SOCKET_FAILED','focused$','revision','RETRY_CONNECTING_MAX_COUNT','1849560XJECbl','search','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','OpenSSL','\x20-\x20','userID','sin','/-/object/list','_onMessage','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','?size=','_substituteRedoStack','INTERNAL_ERROR','_singleActiveUnitService','_rescheduleHeartbeat','stringify','method','_socketService','sid','FETCH_MISSING','entries','state','transformMutationsWithChangeset','readAsDataURL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','session.room-full','_localeService','ivSize','charAt','rev','application/json','originalMeta','_hash','registerHTTPInterceptor','COLLAB_SUBMIT_CHANGESET_URL','data','_removeRoom','ticket','_schedule','Malformed\x20UTF-8\x20data','_transformStateCache','_configService','length','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','m2Prime','_transitionLocked','localeService','pending','set','resolve','LICENSE_MAX_UNITS_EXCEEDED','CBC','BufferedBlockAlgorithm','POST','finalize','c2Prime','onTransformIME','[OfflineState]:\x20received\x20rejection.','findIndex','_onOffline','routeKey','FileId','SHOULD_CLOSE_CONN','_httpService','getOwnPropertyDescriptor','StreamCipher','MD5','_transformRemoteChangesetByIMECache','/universer-api/snapshot','equals','reqId','_toggleOnline','RECV','_collabSessionService','_onLocalMutation','OTHER_CLIENTS_EDITING','_transformStack','APPLY_NON_SEQUENTIAL_REVISION','_nDataBytes','COMMENT_UPDATE','session.join-failed','objectActions','_iv','apply','hasher','SHA1','open$','decryptBlock','_tryReconnect','getResourcesRequest','_joinRoom','_snapshotService','selections','then','compose','NoPadding','ERROR_IMAGE_TYPE','HEARTBEAT_TIMEOUT','confirm','result','APPLY_DUPLICATED','/role','YUUMI_UNABLE_LOAD_URL','unit-cache-','emitEvent','awaiting','_redoStacks','getTime','duration','LEAVE','roles','catch','code','image/gif','symbol','_handler','COMPLETION_FINISHED','sessionTicket','LIVESHARE_FETCH_OPERATIONS','encrypt','_initRequestHeader','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onTransformSelections','_createHelper','_getSessionTicket','keySize','offline','getSheetBlock','_doCryptBlock','[UniverCollaborationClientPlugin]','_authzIoService','[OfflineState]:\x20received\x20acknowledgement.','_onUserLeave','transformSelections','MSG_FOR_ERROR','_retryConnectingTimer','cfg','__creator','_append','connection\x20error','/block/','decrypt','patch','session.room-not-exists','change$','isPermissionRej','_process','getWorkbookSelections','buffer','Error\x20on\x20receiving\x20event','map','$super','_replaceFileID','_getUploadFileURL','_members$','forEach','disableLocalCache','_socketReady','default','_clearRedo','onTransformRemoteChangesetByStateCache','kdf','byteOffset','onStarting','unitId\x20is\x20not\x20found','NOT_FOUND','getInterceptPoints','onRemoteChangeset','_collaborationUIEventService','CHANGESET_REVISION_CONFILICT','getCollabEntity','Latin1','/rev/','href','mode','listCollaborators','_roomMembers','_createHandler','16651ZzkyUf','_change$','_collaborationPaused','onRemoteAck','toggleOnline','getUnitStatus$','UUID','update','univer-pro.collaboration-client-socket-service','init','fetchMissingChangesets','commentUpdate$','_onUserJoin','reverse','salt','session.room-cnt-exceeds','HttpExport','csRejEvent','prototype','blockSize','dispose','onSendChangeset','[DataLoaderService]','NO_OTHER_CLIENTS_EDITING','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','createSocket','getSnapshotAPIPath','unitID','21987588KMzMMa','_exhaustRemoteChangesetQueue','values','_listenToNetworkCondition','list','OTHER_CLIENT_EDITING','UNIVER_SHEET','disposeWithMe','JOIN_ROOM_PERMISSION_DENIED','_oKey','saveChangeset','create','[CollaborationSessionService]:\x20socket\x20error','changesets','__Key__','_initCloseConn','_type','action','&to=','defineProperty','[PendingState]:\x20received\x20acknowledgement.','_telemetryInfo','[SyncedState]:\x20received\x20acknowledgement.','180zuyDFa','find','memberID','_loadDoc','location','44XbBpBr','pipe','reduce','_onRemoteRetry','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_retryCount','ceil','APPLY_PERMISSION_DENIED','_lockTransition','_clearScheduledTask','join','Hasher','_roomCreated$','toString','clamp','TOO_MANY_REQUESTS','_sendHeartbeatTimer','_createInitialStateImpl','_changesetReqId','_onRemoteRejected','socket\x20close','searchParams','subUnitId','updatePermissionPoint','size','_scheduleCompleteTimestamp','allowed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','sigBytes','CHANGESET_SHOULD_RETRY','status','FETCH_MISS','fetchThroughInterceptors','_userManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','target','loadOfflineData','_clearTimeoutTimer','transformStack\x20failed!','createDecryptor','responseType','_data','ciphertext','GLOBAL_ROOMS_CNT_EXCEEDS','hasOwnProperty','body','/resources','_univerInstanceService','onMissingChangesets','resourceIDs','?url=','onRemoteRej','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','closeSession','PSEUDO_FETCH_MISSING_RESULT','[CollaborationState]:\x20apply\x20error!','enc','/unit/','PERMISSION_REJ','src','YUUMI_SUBSCRIPTION_NOT_FOUND','collaboration-client.local-cache-service','_hasher','isArray','next','_sheetTransformSelectionsService','/universer-api/uniscript','_keySchedule','UnitEmbedded','_throwTelemetryCollaborationNewChangeset','_getDownloadEndpointURL','close','WordArray','deepClone','LICENSE_DISTRO_REJECTED','_status$','Base','getUnitOnRev','_incrementRevisionNumber','getLatestCsReqIdBySid','_updateLocalCache','_socketMessageSubscription','exports','collaMsg','/new_changes','copyFileMeta','_networkConditionService','SEND_CHANGESET_TIMEOUT','unknown','sessionStatus','&assign=','updateOfflineData','status$','_remoteChangesetQueue','OPTIONAL','_commentUpdate$','_logService','type','loginUrlKey','getTypeOfUnitAdded$','filter','complete','BASE64','_sender','_collaborationTimeoutTimer','_registerDependencies','slice','CHANGESET_ACK','call','toggleOffline','/universer-api/snapshot/','SNAPSHOT_INVALID_SNAPSHOT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_tryEnsureSocket','/collaborator','UNDEFINED','addImageSourceCache','initWorkbookPermissionChange','[CollaborationSession]','getDeserializedSheetBlock','loadSheet','getValue','socketService','_sendingTimer','_state','Decryptor','&source=','algo','/fetchmissing?from=','objectID','cmd','floor','[OfflineState]:\x20received\x20changeset.','textRanges','_HTTPService','pauseCollaboration','HEARTBEAT','_unitID','putCollaborators','HEARTBEAT_INTERVAL','_xformMode','_onConnectionFailed','_emitMembers','enableAuthServer','_timeoutTimer','_compressMutationService','c1Prime','11ZHFusD','_imageSourceCache','_transformUndoredo','SUBMIT_CHANGESET','push','_transformRemoteChangesetByStateCache','_event$','_replayCachedMutations','AES','submit\x20changeset\x20error!','_resendTimer','[CollaborationUndoRedoService]','_applyRemoteChangeset','save\x20fail\x20reason\x20is\x20','_resendWithTimeout','key','close$','_map','EvpKDF','every','_getCurrentRevision','_candidateSocket','_init','/-/object/-/batch_allowed','asObservable','LICENSE_EXPORT_SIZE_EXCEEDED','sendChangesetTimeout','OFFLINE','sessionStatus$','_doReset','string','has','from','iterations','getCurrentRevOfUnit','UPDATE_CURSOR','INVALID_ARGUMENT','_transformService','JOIN_ROOM_FULL','loadDoc','\x20to\x20','_entities','msCrypto','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','delete','_entityInit$','execute','_http','onStateChange','_startCollaboration','YUUMI_URL_COL_OUT_OF_RANGE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_createSocketURL','_loadSheet','members','reject','getCollabEntity$','_onConnectionOpen','clear','UNIVER_PROJECT','file','includes','actions','append','APPLY_REJECT','liveShareOperation','setConfig','image/png','COMPRESS_MUTATION_APPLY','MUTATION','BlockCipher','range','encodeURIComponent','indexOf','replace','pluginName','url','onRemoteRetry','_state$','_clearCollaborationTimeoutTimer','_handlerCallback','UNIVER_DOC','ENSURE_SNAPSHOT_EXECUTION','getUnit','authzUrl','concat','send','collabSubmitChangesetUrl','getCurrentUser','getRandomValues','csAckEvent','pad','Univer','_cipher','_pendingMutations','HELLO','transformChangesets','batchAllowed','UPDATE_PERMISSION_OBJ','saveSheetBlock','/universer-api/file/{fileID}/sign-url','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','AWAITING','padding','repeat','_acknowledgedAwaitingChangeset','ERROR_IMAGE','charCodeAt','function','JOINING','_initUnitPermissionChange','_getCtorByUniverType','permissionRejEvent','incrementRevOfUnit','_prevBlock','_changesetSessionId','getUnitId','_collaborationSessionService','NEW_CHANGESETS','[CollaborationSessionService]','SerializableCipher','_createHmacHelper','_onRecvEvent','_scheduleCollaborationTimeoutTimer','_commentService','_nRounds','INGEST','title','fetching\x20missing\x20changesets\x20from\x20','onTransformState','ALREADY_EXISTS','debug','objects','LOGIN_URL_KEY','[PendingState]:\x20received\x20rejection.','stopTime','refreshPermission','auth.needGotoLoginAlert','getImage','UNKNOWN_CMD','_undoRedoService','objectType','LIVESHARE_TERMINATE','_onFetchMissResult','45310pnZKhi','unpad','People','COLLAB_WEB_SOCKET_URL','UnitSnapshot','JOIN','session','_config','_onConflict','_shouldReportTelemetry','_parse','appendMutation','_reverseMap','onTransformRemoteChangesetByIMECache','bind','UNIVER_UNKNOWN','_doFinalize','createEncryptor','_createSocket','_telemetryService','CONFLICT','USERS_ENTER','updateMember','message$','signUrlServerUrl','_substituteUndoStack','348beDtUN','_syncEditingCollabCursor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/object','format','_toggleOffline','executeCommand','_createInitialState','FAIL','/object/','eventID','CLOSE_ROOM','joinRsp','onlyLocal','awaiting_with_pending','roomInfos','headers','_keyPriorReset','failed\x20to\x20apply\x20missed\x20changesets!','_decreaseWaiting','getSheetId','state$','removeMember','online$','capture','shouldCloseConn','_initMergeInterceptor','enableOfflineEditing','words','HttpImport','/allowed','_sessionStatus$','getTypeOfUnitDisposed$','conflict','_isPermissionRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_startTelemetryCollaborationNewChangeset','SNAPSHOT_HAS_BEEN_REMOVED','[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.','interceptor','liveShareNewHost','_socket$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','LIVESHARE_REQUEST_HOST','image/jpg','JOIN_ROOM_FAILED','IDLE','UNIVER_SLIDE','_getAPIPrefixPath','_getAPIPrefix','[FetchMissState]','extend','_socket','_getLoginPath','UNIVER_COLLABORATION_CLIENT_PLUGIN','saveSnapshot','fromCharCode','hostname','setShowComponents','reset','readyForCollab','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','resend','event$','name','unitId','override','3173492yWMGKP','requireSession','getUnitType','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setWaitCount','PERMISSION_DENIED'];_0x158c=function(){return _0x477faa;};return _0x158c();}function Hr(){return ti||(ti=0x1,function(_0x7f1d74,_0x11f655){(function(_0x1ea33e,_0x1209d5){var _0x2e38a8=_0x2b1b;_0x7f1d74[_0x2e38a8(0x267)]=_0x1209d5(ne());}($r,function(_0x303eee){var _0x245f57=_0x2b1b;return(function(){var _0xe2f5fb=_0x2b1b,_0x28f786=_0x303eee,_0x3f89d9=_0x28f786['lib'],_0x44af3c=_0x3f89d9[_0xe2f5fb(0x25d)],_0xf8e111=_0x3f89d9[_0xe2f5fb(0x220)],_0x593d43=_0x28f786['algo'],_0x1fd80e=[],_0x402f17=_0x593d43['SHA1']=_0xf8e111['extend']({'_doReset':function(){var _0x53ed05=_0xe2f5fb;this['_hash']=new _0x44af3c[(_0x53ed05(0x4e4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x54b6ca,_0x47031e){var _0x35a006=_0xe2f5fb;for(var _0x2e405a=this[_0x35a006(0x449)][_0x35a006(0x36e)],_0x2ac0bb=_0x2e405a[0x0],_0x4a4f84=_0x2e405a[0x1],_0x2072ad=_0x2e405a[0x2],_0x571727=_0x2e405a[0x3],_0x356754=_0x2e405a[0x4],_0x2daa4d=0x0;_0x2daa4d<0x50;_0x2daa4d++){if(_0x2daa4d<0x10)_0x1fd80e[_0x2daa4d]=_0x54b6ca[_0x47031e+_0x2daa4d]|0x0;else{var _0x35435e=_0x1fd80e[_0x2daa4d-0x3]^_0x1fd80e[_0x2daa4d-0x8]^_0x1fd80e[_0x2daa4d-0xe]^_0x1fd80e[_0x2daa4d-0x10];_0x1fd80e[_0x2daa4d]=_0x35435e<<0x1|_0x35435e>>>0x1f;}var _0x310502=(_0x2ac0bb<<0x5|_0x2ac0bb>>>0x1b)+_0x356754+_0x1fd80e[_0x2daa4d];_0x2daa4d<0x14?_0x310502+=(_0x4a4f84&_0x2072ad|~_0x4a4f84&_0x571727)+0x5a827999:_0x2daa4d<0x28?_0x310502+=(_0x4a4f84^_0x2072ad^_0x571727)+0x6ed9eba1:_0x2daa4d<0x3c?_0x310502+=(_0x4a4f84&_0x2072ad|_0x4a4f84&_0x571727|_0x2072ad&_0x571727)-0x70e44324:_0x310502+=(_0x4a4f84^_0x2072ad^_0x571727)-0x359d3e2a,_0x356754=_0x571727,_0x571727=_0x2072ad,_0x2072ad=_0x4a4f84<<0x1e|_0x4a4f84>>>0x2,_0x4a4f84=_0x2ac0bb,_0x2ac0bb=_0x310502;}_0x2e405a[0x0]=_0x2e405a[0x0]+_0x2ac0bb|0x0,_0x2e405a[0x1]=_0x2e405a[0x1]+_0x4a4f84|0x0,_0x2e405a[0x2]=_0x2e405a[0x2]+_0x2072ad|0x0,_0x2e405a[0x3]=_0x2e405a[0x3]+_0x571727|0x0,_0x2e405a[0x4]=_0x2e405a[0x4]+_0x356754|0x0;},'_doFinalize':function(){var _0x199225=_0xe2f5fb,_0x171241=this[_0x199225(0x23e)],_0x302985=_0x171241[_0x199225(0x36e)],_0x51c33b=this[_0x199225(0x477)]*0x8,_0x47f7a7=_0x171241['sigBytes']*0x8;return _0x302985[_0x47f7a7>>>0x5]|=0x80<<0x18-_0x47f7a7%0x20,_0x302985[(_0x47f7a7+0x40>>>0x9<<0x4)+0xe]=Math[_0x199225(0x298)](_0x51c33b/0x100000000),_0x302985[(_0x47f7a7+0x40>>>0x9<<0x4)+0xf]=_0x51c33b,_0x171241[_0x199225(0x231)]=_0x302985[_0x199225(0x453)]*0x4,this[_0x199225(0x4bb)](),this[_0x199225(0x449)];},'clone':function(){var _0x522a75=_0xe2f5fb,_0xf5bf82=_0xf8e111[_0x522a75(0x39f)][_0x522a75(0x281)](this);return _0xf5bf82[_0x522a75(0x449)]=this['_hash'][_0x522a75(0x39f)](),_0xf5bf82;}});_0x28f786['SHA1']=_0xf8e111[_0xe2f5fb(0x4a4)](_0x402f17),_0x28f786[_0xe2f5fb(0x3ff)]=_0xf8e111['_createHmacHelper'](_0x402f17);}()),_0x303eee[_0x245f57(0x47e)];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x207232(0x267)],ii;function jr(){var _0x120ad9=_0x207232;return ii||(ii=0x1,function(_0x224bab,_0x3d1b43){(function(_0x45fca1,_0x132199){var _0x556665=_0x2b1b;_0x224bab[_0x556665(0x267)]=_0x132199(ne());}(kr,function(_0x381f55){(function(){var _0x262588=_0x2b1b,_0x1ff980=_0x381f55,_0x67fee9=_0x1ff980[_0x262588(0x3cb)],_0x11373e=_0x67fee9[_0x262588(0x261)],_0x4285b5=_0x1ff980[_0x262588(0x24d)],_0xbae317=_0x4285b5[_0x262588(0x3f7)],_0x36d31b=_0x1ff980[_0x262588(0x294)];_0x36d31b['HMAC']=_0x11373e['extend']({'init':function(_0x4a8cb5,_0x38e88b){var _0x26ce4c=_0x262588;_0x4a8cb5=this[_0x26ce4c(0x253)]=new _0x4a8cb5[(_0x26ce4c(0x4e4))](),typeof _0x38e88b=='string'&&(_0x38e88b=_0xbae317[_0x26ce4c(0x415)](_0x38e88b));var _0x29ae6e=_0x4a8cb5['blockSize'],_0x8b4c59=_0x29ae6e*0x4;_0x38e88b[_0x26ce4c(0x231)]>_0x8b4c59&&(_0x38e88b=_0x4a8cb5[_0x26ce4c(0x45f)](_0x38e88b)),_0x38e88b[_0x26ce4c(0x223)]();for(var _0x508bb4=this[_0x26ce4c(0x202)]=_0x38e88b['clone'](),_0x1f0aca=this['_iKey']=_0x38e88b[_0x26ce4c(0x39f)](),_0x616e8b=_0x508bb4['words'],_0x9b7c62=_0x1f0aca[_0x26ce4c(0x36e)],_0x58c68f=0x0;_0x58c68f<_0x29ae6e;_0x58c68f++)_0x616e8b[_0x58c68f]^=0x5c5c5c5c,_0x9b7c62[_0x58c68f]^=0x36363636;_0x508bb4[_0x26ce4c(0x231)]=_0x1f0aca['sigBytes']=_0x8b4c59,this[_0x26ce4c(0x38d)]();},'reset':function(){var _0x8402ee=_0x262588,_0xe0024d=this[_0x8402ee(0x253)];_0xe0024d[_0x8402ee(0x38d)](),_0xe0024d[_0x8402ee(0x4e2)](this['_iKey']);},'update':function(_0x19b6d8){var _0x422fae=_0x262588;return this[_0x422fae(0x253)][_0x422fae(0x4e2)](_0x19b6d8),this;},'finalize':function(_0x3a9da9){var _0xff42de=_0x262588,_0x391c54=this['_hasher'],_0x5e7d10=_0x391c54[_0xff42de(0x45f)](_0x3a9da9);_0x391c54[_0xff42de(0x38d)]();var _0x2dbfca=_0x391c54[_0xff42de(0x45f)](this['_oKey'][_0xff42de(0x39f)]()['concat'](_0x5e7d10));return _0x2dbfca;}});}());}));}(ze)),ze[_0x120ad9(0x267)];}var Br=Ye[_0x207232(0x267)],ni;function Ui(){var _0x2e4063=_0x207232;return ni||(ni=0x1,function(_0x568c8c,_0x1d0cfc){(function(_0x2bd58d,_0x3c0eef,_0x1b7df8){var _0x530ab0=_0x2b1b;_0x568c8c[_0x530ab0(0x267)]=_0x3c0eef(ne(),Hr(),jr());}(Br,function(_0xe8c43e){var _0x15ca54=_0x2b1b;return(function(){var _0x5507df=_0x2b1b,_0x41731f=_0xe8c43e,_0x25f8f0=_0x41731f[_0x5507df(0x3cb)],_0x514442=_0x25f8f0[_0x5507df(0x261)],_0x4e02fe=_0x25f8f0[_0x5507df(0x25d)],_0x21e226=_0x41731f['algo'],_0x33f7dc=_0x21e226[_0x5507df(0x46b)],_0x19a171=_0x21e226['EvpKDF']=_0x514442['extend']({'cfg':_0x514442['extend']({'keySize':0x80/0x20,'hasher':_0x33f7dc,'iterations':0x1}),'init':function(_0x2f0bb1){var _0x3c3e7c=_0x5507df;this[_0x3c3e7c(0x4b1)]=this[_0x3c3e7c(0x4b1)]['extend'](_0x2f0bb1);},'compute':function(_0x543e1d,_0x3b99ba){var _0x320ffb=_0x5507df;for(var _0x392acc,_0x35ae8e=this[_0x320ffb(0x4b1)],_0x2b0eed=_0x35ae8e[_0x320ffb(0x47d)][_0x320ffb(0x204)](),_0x3d1f44=_0x4e02fe[_0x320ffb(0x204)](),_0x2b8049=_0x3d1f44['words'],_0x13857b=_0x35ae8e[_0x320ffb(0x4a6)],_0x548de4=_0x35ae8e[_0x320ffb(0x2c9)];_0x2b8049[_0x320ffb(0x453)]<_0x13857b;){_0x392acc&&_0x2b0eed[_0x320ffb(0x4e2)](_0x392acc),_0x392acc=_0x2b0eed[_0x320ffb(0x4e2)](_0x543e1d)[_0x320ffb(0x45f)](_0x3b99ba),_0x2b0eed['reset']();for(var _0x443786=0x1;_0x443786<_0x548de4;_0x443786++)_0x392acc=_0x2b0eed['finalize'](_0x392acc),_0x2b0eed[_0x320ffb(0x38d)]();_0x3d1f44[_0x320ffb(0x2fd)](_0x392acc);}return _0x3d1f44['sigBytes']=_0x13857b*0x4,_0x3d1f44;}});_0x41731f[_0x5507df(0x2ba)]=function(_0x17064f,_0x18f4a0,_0x255ad8){var _0x41eb91=_0x5507df;return _0x19a171[_0x41eb91(0x204)](_0x255ad8)['compute'](_0x17064f,_0x18f4a0);};}()),_0xe8c43e[_0x15ca54(0x2ba)];}));}(Ye)),Ye[_0x2e4063(0x267)];}var Je={'exports':{}},Fr=Je[_0x207232(0x267)],ri;function Ai(){return ri||(ri=0x1,function(_0x4ba679,_0x26b5c7){(function(_0x2c5978,_0x41f581,_0x33ffbf){var _0x3d4254=_0x2b1b;_0x4ba679[_0x3d4254(0x267)]=_0x41f581(ne(),Ui());}(Fr,function(_0x270ab2){var _0x5daab0=_0x2b1b;_0x270ab2[_0x5daab0(0x3cb)][_0x5daab0(0x3a8)]||function(_0x2e995d){var _0x2f7c1f=_0x5daab0,_0x1de524=_0x270ab2,_0x535308=_0x1de524[_0x2f7c1f(0x3cb)],_0x2fcbf3=_0x535308[_0x2f7c1f(0x261)],_0x3fd9cb=_0x535308[_0x2f7c1f(0x25d)],_0x4942dd=_0x535308[_0x2f7c1f(0x45d)],_0x17242d=_0x1de524['enc'];_0x17242d[_0x2f7c1f(0x3f7)];var _0x18db6b=_0x17242d[_0x2f7c1f(0x3b4)],_0x521ccb=_0x1de524[_0x2f7c1f(0x294)],_0x499af4=_0x521ccb['EvpKDF'],_0x5eaf96=_0x535308[_0x2f7c1f(0x3a8)]=_0x4942dd[_0x2f7c1f(0x385)]({'cfg':_0x2fcbf3['extend'](),'createEncryptor':function(_0x51da26,_0x218382){var _0x177bb7=_0x2f7c1f;return this[_0x177bb7(0x204)](this['_ENC_XFORM_MODE'],_0x51da26,_0x218382);},'createDecryptor':function(_0xf248f0,_0x18ecb5){var _0x280a7b=_0x2f7c1f;return this['create'](this[_0x280a7b(0x40d)],_0xf248f0,_0x18ecb5);},'init':function(_0xde0eee,_0x4e027e,_0x423bc2){var _0x23b874=_0x2f7c1f;this[_0x23b874(0x4b1)]=this[_0x23b874(0x4b1)][_0x23b874(0x385)](_0x423bc2),this[_0x23b874(0x2a1)]=_0xde0eee,this[_0x23b874(0x3b1)]=_0x4e027e,this[_0x23b874(0x38d)]();},'reset':function(){var _0x20ee10=_0x2f7c1f;_0x4942dd[_0x20ee10(0x38d)]['call'](this),this[_0x20ee10(0x2c5)]();},'process':function(_0x122dfd){var _0x4d9e7c=_0x2f7c1f;return this[_0x4d9e7c(0x4b3)](_0x122dfd),this[_0x4d9e7c(0x4bb)]();},'finalize':function(_0x2d0c41){var _0x195efe=_0x2f7c1f;_0x2d0c41&&this[_0x195efe(0x4b3)](_0x2d0c41);var _0x1eef68=this[_0x195efe(0x348)]();return _0x1eef68;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x214b8e(_0x15abd3){var _0x19e0c2=_0x2b1b;return typeof _0x15abd3==_0x19e0c2(0x2c6)?_0x4ffc91:_0x1a580e;}return function(_0x10460b){return{'encrypt':function(_0x1656dd,_0x491b1e,_0x45725d){var _0x57baf8=_0x2b1b;return _0x214b8e(_0x491b1e)[_0x57baf8(0x4a0)](_0x10460b,_0x1656dd,_0x491b1e,_0x45725d);},'decrypt':function(_0x41906f,_0x2b0b1d,_0x277491){var _0x20479d=_0x2b1b;return _0x214b8e(_0x2b0b1d)[_0x20479d(0x4b6)](_0x10460b,_0x41906f,_0x2b0b1d,_0x277491);}};};}())});_0x535308[_0x2f7c1f(0x46a)]=_0x5eaf96[_0x2f7c1f(0x385)]({'_doFinalize':function(){var _0x5081fa=_0x2f7c1f,_0x2eb638=this[_0x5081fa(0x4bb)](!0x0);return _0x2eb638;},'blockSize':0x1});var _0x4a7c42=_0x1de524[_0x2f7c1f(0x4d7)]={},_0x537ecb=_0x535308['BlockCipherMode']=_0x2fcbf3[_0x2f7c1f(0x385)]({'createEncryptor':function(_0xf98dd,_0x365265){var _0x34afa5=_0x2f7c1f;return this[_0x34afa5(0x3d7)][_0x34afa5(0x204)](_0xf98dd,_0x365265);},'createDecryptor':function(_0x3744ea,_0x4fca5c){var _0x287030=_0x2f7c1f;return this[_0x287030(0x292)][_0x287030(0x204)](_0x3744ea,_0x4fca5c);},'init':function(_0x38c723,_0x327145){var _0x2d690f=_0x2f7c1f;this['_cipher']=_0x38c723,this[_0x2d690f(0x47b)]=_0x327145;}}),_0x7054a6=_0x4a7c42[_0x2f7c1f(0x45c)]=(function(){var _0x1207c1=_0x2f7c1f,_0x309434=_0x537ecb['extend']();_0x309434[_0x1207c1(0x3d7)]=_0x309434['extend']({'processBlock':function(_0x4d841d,_0x3b8017){var _0xf98852=_0x1207c1,_0x4dcf0a=this[_0xf98852(0x305)],_0xa98af7=_0x4dcf0a[_0xf98852(0x1f0)];_0x4319d['call'](this,_0x4d841d,_0x3b8017,_0xa98af7),_0x4dcf0a['encryptBlock'](_0x4d841d,_0x3b8017),this[_0xf98852(0x31a)]=_0x4d841d[_0xf98852(0x27f)](_0x3b8017,_0x3b8017+_0xa98af7);}}),_0x309434['Decryptor']=_0x309434[_0x1207c1(0x385)]({'processBlock':function(_0x1aae59,_0x1b82f2){var _0x283b55=_0x1207c1,_0x267699=this[_0x283b55(0x305)],_0x3bf979=_0x267699[_0x283b55(0x1f0)],_0x3cbfc8=_0x1aae59[_0x283b55(0x27f)](_0x1b82f2,_0x1b82f2+_0x3bf979);_0x267699[_0x283b55(0x480)](_0x1aae59,_0x1b82f2),_0x4319d[_0x283b55(0x281)](this,_0x1aae59,_0x1b82f2,_0x3bf979),this['_prevBlock']=_0x3cbfc8;}});function _0x4319d(_0x1253b0,_0x326ba4,_0x46ddae){var _0x27610a=_0x1207c1,_0x502146,_0x199ded=this[_0x27610a(0x47b)];_0x199ded?(_0x502146=_0x199ded,this['_iv']=_0x2e995d):_0x502146=this['_prevBlock'];for(var _0x29cb82=0x0;_0x29cb82<_0x46ddae;_0x29cb82++)_0x1253b0[_0x326ba4+_0x29cb82]^=_0x502146[_0x29cb82];}return _0x309434;}()),_0x35b00c=_0x1de524[_0x2f7c1f(0x303)]={},_0x14e6ce=_0x35b00c['Pkcs7']={'pad':function(_0x2d03d3,_0xc2f0e2){var _0x2b9f51=_0x2f7c1f;for(var _0x549773=_0xc2f0e2*0x4,_0x1e9183=_0x549773-_0x2d03d3['sigBytes']%_0x549773,_0x3f46ae=_0x1e9183<<0x18|_0x1e9183<<0x10|_0x1e9183<<0x8|_0x1e9183,_0x12d1ae=[],_0xff5906=0x0;_0xff5906<_0x1e9183;_0xff5906+=0x4)_0x12d1ae['push'](_0x3f46ae);var _0x4a6d49=_0x3fd9cb[_0x2b9f51(0x204)](_0x12d1ae,_0x1e9183);_0x2d03d3[_0x2b9f51(0x2fd)](_0x4a6d49);},'unpad':function(_0x572a42){var _0x46d02d=_0x2f7c1f,_0x208b69=_0x572a42[_0x46d02d(0x36e)][_0x572a42[_0x46d02d(0x231)]-0x1>>>0x2]&0xff;_0x572a42[_0x46d02d(0x231)]-=_0x208b69;}};_0x535308[_0x2f7c1f(0x2ee)]=_0x5eaf96[_0x2f7c1f(0x385)]({'cfg':_0x5eaf96[_0x2f7c1f(0x4b1)][_0x2f7c1f(0x385)]({'mode':_0x7054a6,'padding':_0x14e6ce}),'reset':function(){var _0x4f4f81=_0x2f7c1f,_0x7f1f7b;_0x5eaf96[_0x4f4f81(0x38d)]['call'](this);var _0x5ed010=this[_0x4f4f81(0x4b1)],_0x3618e7=_0x5ed010['iv'],_0x571ecb=_0x5ed010[_0x4f4f81(0x4d7)];this[_0x4f4f81(0x2a1)]==this[_0x4f4f81(0x3cd)]?_0x7f1f7b=_0x571ecb[_0x4f4f81(0x349)]:(_0x7f1f7b=_0x571ecb[_0x4f4f81(0x23c)],this['_minBufferSize']=0x1),this[_0x4f4f81(0x414)]&&this[_0x4f4f81(0x414)][_0x4f4f81(0x4b2)]==_0x7f1f7b?this[_0x4f4f81(0x414)][_0x4f4f81(0x4e4)](this,_0x3618e7&&_0x3618e7['words']):(this['_mode']=_0x7f1f7b[_0x4f4f81(0x281)](_0x571ecb,this,_0x3618e7&&_0x3618e7[_0x4f4f81(0x36e)]),this['_mode'][_0x4f4f81(0x4b2)]=_0x7f1f7b);},'_doProcessBlock':function(_0x3b7247,_0x34a7d9){this['_mode']['processBlock'](_0x3b7247,_0x34a7d9);},'_doFinalize':function(){var _0x454e0d=_0x2f7c1f,_0x28fd8f,_0x245c45=this['cfg'][_0x454e0d(0x30f)];return this[_0x454e0d(0x2a1)]==this[_0x454e0d(0x3cd)]?(_0x245c45[_0x454e0d(0x303)](this[_0x454e0d(0x23e)],this[_0x454e0d(0x1f0)]),_0x28fd8f=this['_process'](!0x0)):(_0x28fd8f=this[_0x454e0d(0x4bb)](!0x0),_0x245c45[_0x454e0d(0x339)](_0x28fd8f)),_0x28fd8f;},'blockSize':0x80/0x20});var _0x54a3c6=_0x535308[_0x2f7c1f(0x417)]=_0x2fcbf3[_0x2f7c1f(0x385)]({'init':function(_0x52e8e3){this['mixIn'](_0x52e8e3);},'toString':function(_0x3689fb){var _0x15bfd9=_0x2f7c1f;return(_0x3689fb||this['formatter'])[_0x15bfd9(0x438)](this);}}),_0x5a053d=_0x1de524['format']={},_0x5a072d=_0x5a053d[_0x2f7c1f(0x42c)]={'stringify':function(_0x4a2b9a){var _0x388be9=_0x2f7c1f,_0x244909,_0x366aa5=_0x4a2b9a[_0x388be9(0x23f)],_0x5393af=_0x4a2b9a[_0x388be9(0x4e9)];return _0x5393af?_0x244909=_0x3fd9cb[_0x388be9(0x204)]([0x53616c74,0x65645f5f])[_0x388be9(0x2fd)](_0x5393af)[_0x388be9(0x2fd)](_0x366aa5):_0x244909=_0x366aa5,_0x244909['toString'](_0x18db6b);},'parse':function(_0xecbf47){var _0xdd75a5=_0x2f7c1f,_0x507d0d,_0x5f945b=_0x18db6b[_0xdd75a5(0x415)](_0xecbf47),_0x456757=_0x5f945b[_0xdd75a5(0x36e)];return _0x456757[0x0]==0x53616c74&&_0x456757[0x1]==0x65645f5f&&(_0x507d0d=_0x3fd9cb['create'](_0x456757[_0xdd75a5(0x27f)](0x2,0x4)),_0x456757[_0xdd75a5(0x39b)](0x0,0x4),_0x5f945b[_0xdd75a5(0x231)]-=0x10),_0x54a3c6[_0xdd75a5(0x204)]({'ciphertext':_0x5f945b,'salt':_0x507d0d});}},_0x1a580e=_0x535308[_0x2f7c1f(0x320)]=_0x2fcbf3[_0x2f7c1f(0x385)]({'cfg':_0x2fcbf3[_0x2f7c1f(0x385)]({'format':_0x5a072d}),'encrypt':function(_0x501550,_0xd3fd6f,_0x38ea95,_0x53e473){var _0x27fb13=_0x2f7c1f;_0x53e473=this[_0x27fb13(0x4b1)][_0x27fb13(0x385)](_0x53e473);var _0x2ded20=_0x501550[_0x27fb13(0x349)](_0x38ea95,_0x53e473),_0x29b84e=_0x2ded20[_0x27fb13(0x45f)](_0xd3fd6f),_0x30aa7b=_0x2ded20[_0x27fb13(0x4b1)];return _0x54a3c6['create']({'ciphertext':_0x29b84e,'key':_0x38ea95,'iv':_0x30aa7b['iv'],'algorithm':_0x501550,'mode':_0x30aa7b[_0x27fb13(0x4d7)],'padding':_0x30aa7b[_0x27fb13(0x30f)],'blockSize':_0x501550[_0x27fb13(0x1f0)],'formatter':_0x53e473['format']});},'decrypt':function(_0xa9669e,_0x49756d,_0x40c6cd,_0x3bda01){var _0x58f7a8=_0x2f7c1f;_0x3bda01=this[_0x58f7a8(0x4b1)]['extend'](_0x3bda01),_0x49756d=this[_0x58f7a8(0x342)](_0x49756d,_0x3bda01['format']);var _0x310979=_0xa9669e['createDecryptor'](_0x40c6cd,_0x3bda01)[_0x58f7a8(0x45f)](_0x49756d['ciphertext']);return _0x310979;},'_parse':function(_0xb99b85,_0x49f9db){var _0x3faa08=_0x2f7c1f;return typeof _0xb99b85=='string'?_0x49f9db[_0x3faa08(0x415)](_0xb99b85,this):_0xb99b85;}}),_0x10c4f3=_0x1de524[_0x2f7c1f(0x4ca)]={},_0x5069c4=_0x10c4f3['OpenSSL']={'execute':function(_0x4d1312,_0x1c8d24,_0x4eecee,_0x429290,_0x38084a){var _0x41271d=_0x2f7c1f;if(_0x429290||(_0x429290=_0x3fd9cb[_0x41271d(0x3e0)](0x40/0x8)),_0x38084a)var _0x407575=_0x499af4[_0x41271d(0x204)]({'keySize':_0x1c8d24+_0x4eecee,'hasher':_0x38084a})[_0x41271d(0x3f6)](_0x4d1312,_0x429290);else var _0x407575=_0x499af4[_0x41271d(0x204)]({'keySize':_0x1c8d24+_0x4eecee})[_0x41271d(0x3f6)](_0x4d1312,_0x429290);var _0x3f6953=_0x3fd9cb['create'](_0x407575['words'][_0x41271d(0x27f)](_0x1c8d24),_0x4eecee*0x4);return _0x407575[_0x41271d(0x231)]=_0x1c8d24*0x4,_0x54a3c6['create']({'key':_0x407575,'iv':_0x3f6953,'salt':_0x429290});}},_0x4ffc91=_0x535308[_0x2f7c1f(0x404)]=_0x1a580e[_0x2f7c1f(0x385)]({'cfg':_0x1a580e['cfg'][_0x2f7c1f(0x385)]({'kdf':_0x5069c4}),'encrypt':function(_0x1c4589,_0x37a701,_0x22f188,_0x265d8f){var _0x2ff8a1=_0x2f7c1f;_0x265d8f=this[_0x2ff8a1(0x4b1)][_0x2ff8a1(0x385)](_0x265d8f);var _0x5a5a95=_0x265d8f[_0x2ff8a1(0x4ca)]['execute'](_0x22f188,_0x1c4589[_0x2ff8a1(0x4a6)],_0x1c4589[_0x2ff8a1(0x444)],_0x265d8f[_0x2ff8a1(0x4e9)],_0x265d8f[_0x2ff8a1(0x47d)]);_0x265d8f['iv']=_0x5a5a95['iv'];var _0x56581a=_0x1a580e[_0x2ff8a1(0x4a0)][_0x2ff8a1(0x281)](this,_0x1c4589,_0x37a701,_0x5a5a95[_0x2ff8a1(0x2b7)],_0x265d8f);return _0x56581a[_0x2ff8a1(0x421)](_0x5a5a95),_0x56581a;},'decrypt':function(_0x5ab149,_0x3ffea9,_0x1d8e14,_0x5aec88){var _0x190be9=_0x2f7c1f;_0x5aec88=this[_0x190be9(0x4b1)][_0x190be9(0x385)](_0x5aec88),_0x3ffea9=this['_parse'](_0x3ffea9,_0x5aec88[_0x190be9(0x356)]);var _0x4a0c29=_0x5aec88[_0x190be9(0x4ca)][_0x190be9(0x2d6)](_0x1d8e14,_0x5ab149[_0x190be9(0x4a6)],_0x5ab149[_0x190be9(0x444)],_0x3ffea9[_0x190be9(0x4e9)],_0x5aec88[_0x190be9(0x47d)]);_0x5aec88['iv']=_0x4a0c29['iv'];var _0x5214f7=_0x1a580e['decrypt'][_0x190be9(0x281)](this,_0x5ab149,_0x3ffea9,_0x4a0c29[_0x190be9(0x2b7)],_0x5aec88);return _0x5214f7;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x207232(0x267)],si;function Gr(){var _0x4e0d4d=_0x207232;return si||(si=0x1,function(_0x1fd8bd,_0xcf27d0){(function(_0xc50b3a,_0x5cdb5d,_0x3e5e64){var _0x16cfdf=_0x2b1b;_0x1fd8bd[_0x16cfdf(0x267)]=_0x5cdb5d(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0xa944f7){return(function(){var _0x269ea5=_0x2b1b,_0x3bf81b=_0xa944f7,_0x530f77=_0x3bf81b['lib'],_0x3bbf7b=_0x530f77[_0x269ea5(0x2ee)],_0x224f5b=_0x3bf81b['algo'],_0x188ef3=[],_0x229659=[],_0x4a0d6b=[],_0x5b532e=[],_0x4efb7d=[],_0x3c0c45=[],_0xa96b0f=[],_0x2f16ef=[],_0xaa165c=[],_0x4bf7e5=[];(function(){for(var _0x37088c=[],_0x51907e=0x0;_0x51907e<0x100;_0x51907e++)_0x51907e<0x80?_0x37088c[_0x51907e]=_0x51907e<<0x1:_0x37088c[_0x51907e]=_0x51907e<<0x1^0x11b;for(var _0x1285f3=0x0,_0x113df9=0x0,_0x51907e=0x0;_0x51907e<0x100;_0x51907e++){var _0x1599e3=_0x113df9^_0x113df9<<0x1^_0x113df9<<0x2^_0x113df9<<0x3^_0x113df9<<0x4;_0x1599e3=_0x1599e3>>>0x8^_0x1599e3&0xff^0x63,_0x188ef3[_0x1285f3]=_0x1599e3,_0x229659[_0x1599e3]=_0x1285f3;var _0x243ac8=_0x37088c[_0x1285f3],_0xabcc69=_0x37088c[_0x243ac8],_0x2aa081=_0x37088c[_0xabcc69],_0x95e450=_0x37088c[_0x1599e3]*0x101^_0x1599e3*0x1010100;_0x4a0d6b[_0x1285f3]=_0x95e450<<0x18|_0x95e450>>>0x8,_0x5b532e[_0x1285f3]=_0x95e450<<0x10|_0x95e450>>>0x10,_0x4efb7d[_0x1285f3]=_0x95e450<<0x8|_0x95e450>>>0x18,_0x3c0c45[_0x1285f3]=_0x95e450;var _0x95e450=_0x2aa081*0x1010101^_0xabcc69*0x10001^_0x243ac8*0x101^_0x1285f3*0x1010100;_0xa96b0f[_0x1599e3]=_0x95e450<<0x18|_0x95e450>>>0x8,_0x2f16ef[_0x1599e3]=_0x95e450<<0x10|_0x95e450>>>0x10,_0xaa165c[_0x1599e3]=_0x95e450<<0x8|_0x95e450>>>0x18,_0x4bf7e5[_0x1599e3]=_0x95e450,_0x1285f3?(_0x1285f3=_0x243ac8^_0x37088c[_0x37088c[_0x37088c[_0x2aa081^_0x243ac8]]],_0x113df9^=_0x37088c[_0x37088c[_0x113df9]]):_0x1285f3=_0x113df9=0x1;}}());var _0x1d21f4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5e25c0=_0x224f5b['AES']=_0x3bbf7b[_0x269ea5(0x385)]({'_doReset':function(){var _0x1fe122=_0x269ea5,_0x2b20e0;if(!(this['_nRounds']&&this[_0x1fe122(0x363)]===this['_key'])){for(var _0x422a29=this[_0x1fe122(0x363)]=this['_key'],_0xc4dd19=_0x422a29[_0x1fe122(0x36e)],_0x24cbdb=_0x422a29[_0x1fe122(0x231)]/0x4,_0x3a4a24=this[_0x1fe122(0x325)]=_0x24cbdb+0x6,_0x6c928c=(_0x3a4a24+0x1)*0x4,_0x28e36d=this[_0x1fe122(0x258)]=[],_0x98e40e=0x0;_0x98e40e<_0x6c928c;_0x98e40e++)_0x98e40e<_0x24cbdb?_0x28e36d[_0x98e40e]=_0xc4dd19[_0x98e40e]:(_0x2b20e0=_0x28e36d[_0x98e40e-0x1],_0x98e40e%_0x24cbdb?_0x24cbdb>0x6&&_0x98e40e%_0x24cbdb==0x4&&(_0x2b20e0=_0x188ef3[_0x2b20e0>>>0x18]<<0x18|_0x188ef3[_0x2b20e0>>>0x10&0xff]<<0x10|_0x188ef3[_0x2b20e0>>>0x8&0xff]<<0x8|_0x188ef3[_0x2b20e0&0xff]):(_0x2b20e0=_0x2b20e0<<0x8|_0x2b20e0>>>0x18,_0x2b20e0=_0x188ef3[_0x2b20e0>>>0x18]<<0x18|_0x188ef3[_0x2b20e0>>>0x10&0xff]<<0x10|_0x188ef3[_0x2b20e0>>>0x8&0xff]<<0x8|_0x188ef3[_0x2b20e0&0xff],_0x2b20e0^=_0x1d21f4[_0x98e40e/_0x24cbdb|0x0]<<0x18),_0x28e36d[_0x98e40e]=_0x28e36d[_0x98e40e-_0x24cbdb]^_0x2b20e0);for(var _0x182522=this['_invKeySchedule']=[],_0x575f5f=0x0;_0x575f5f<_0x6c928c;_0x575f5f++){var _0x98e40e=_0x6c928c-_0x575f5f;if(_0x575f5f%0x4)var _0x2b20e0=_0x28e36d[_0x98e40e];else var _0x2b20e0=_0x28e36d[_0x98e40e-0x4];_0x575f5f<0x4||_0x98e40e<=0x4?_0x182522[_0x575f5f]=_0x2b20e0:_0x182522[_0x575f5f]=_0xa96b0f[_0x188ef3[_0x2b20e0>>>0x18]]^_0x2f16ef[_0x188ef3[_0x2b20e0>>>0x10&0xff]]^_0xaa165c[_0x188ef3[_0x2b20e0>>>0x8&0xff]]^_0x4bf7e5[_0x188ef3[_0x2b20e0&0xff]];}}},'encryptBlock':function(_0x274cec,_0x10481e){var _0x158cb1=_0x269ea5;this[_0x158cb1(0x4a9)](_0x274cec,_0x10481e,this[_0x158cb1(0x258)],_0x4a0d6b,_0x5b532e,_0x4efb7d,_0x3c0c45,_0x188ef3);},'decryptBlock':function(_0x3d6ac7,_0x58d48b){var _0xaad1ea=_0x269ea5,_0x1116a0=_0x3d6ac7[_0x58d48b+0x1];_0x3d6ac7[_0x58d48b+0x1]=_0x3d6ac7[_0x58d48b+0x3],_0x3d6ac7[_0x58d48b+0x3]=_0x1116a0,this[_0xaad1ea(0x4a9)](_0x3d6ac7,_0x58d48b,this['_invKeySchedule'],_0xa96b0f,_0x2f16ef,_0xaa165c,_0x4bf7e5,_0x229659);var _0x1116a0=_0x3d6ac7[_0x58d48b+0x1];_0x3d6ac7[_0x58d48b+0x1]=_0x3d6ac7[_0x58d48b+0x3],_0x3d6ac7[_0x58d48b+0x3]=_0x1116a0;},'_doCryptBlock':function(_0xa07e48,_0x433d36,_0x12cd6d,_0x2e9152,_0x10d30d,_0x20b577,_0x204949,_0x5506b1){for(var _0x18f4af=this['_nRounds'],_0x561a39=_0xa07e48[_0x433d36]^_0x12cd6d[0x0],_0x5a280a=_0xa07e48[_0x433d36+0x1]^_0x12cd6d[0x1],_0x9b1e1d=_0xa07e48[_0x433d36+0x2]^_0x12cd6d[0x2],_0x2dab60=_0xa07e48[_0x433d36+0x3]^_0x12cd6d[0x3],_0x2e5181=0x4,_0x3961ec=0x1;_0x3961ec<_0x18f4af;_0x3961ec++){var _0x36c40c=_0x2e9152[_0x561a39>>>0x18]^_0x10d30d[_0x5a280a>>>0x10&0xff]^_0x20b577[_0x9b1e1d>>>0x8&0xff]^_0x204949[_0x2dab60&0xff]^_0x12cd6d[_0x2e5181++],_0x1d2270=_0x2e9152[_0x5a280a>>>0x18]^_0x10d30d[_0x9b1e1d>>>0x10&0xff]^_0x20b577[_0x2dab60>>>0x8&0xff]^_0x204949[_0x561a39&0xff]^_0x12cd6d[_0x2e5181++],_0x479122=_0x2e9152[_0x9b1e1d>>>0x18]^_0x10d30d[_0x2dab60>>>0x10&0xff]^_0x20b577[_0x561a39>>>0x8&0xff]^_0x204949[_0x5a280a&0xff]^_0x12cd6d[_0x2e5181++],_0xad3a12=_0x2e9152[_0x2dab60>>>0x18]^_0x10d30d[_0x561a39>>>0x10&0xff]^_0x20b577[_0x5a280a>>>0x8&0xff]^_0x204949[_0x9b1e1d&0xff]^_0x12cd6d[_0x2e5181++];_0x561a39=_0x36c40c,_0x5a280a=_0x1d2270,_0x9b1e1d=_0x479122,_0x2dab60=_0xad3a12;}var _0x36c40c=(_0x5506b1[_0x561a39>>>0x18]<<0x18|_0x5506b1[_0x5a280a>>>0x10&0xff]<<0x10|_0x5506b1[_0x9b1e1d>>>0x8&0xff]<<0x8|_0x5506b1[_0x2dab60&0xff])^_0x12cd6d[_0x2e5181++],_0x1d2270=(_0x5506b1[_0x5a280a>>>0x18]<<0x18|_0x5506b1[_0x9b1e1d>>>0x10&0xff]<<0x10|_0x5506b1[_0x2dab60>>>0x8&0xff]<<0x8|_0x5506b1[_0x561a39&0xff])^_0x12cd6d[_0x2e5181++],_0x479122=(_0x5506b1[_0x9b1e1d>>>0x18]<<0x18|_0x5506b1[_0x2dab60>>>0x10&0xff]<<0x10|_0x5506b1[_0x561a39>>>0x8&0xff]<<0x8|_0x5506b1[_0x5a280a&0xff])^_0x12cd6d[_0x2e5181++],_0xad3a12=(_0x5506b1[_0x2dab60>>>0x18]<<0x18|_0x5506b1[_0x561a39>>>0x10&0xff]<<0x10|_0x5506b1[_0x5a280a>>>0x8&0xff]<<0x8|_0x5506b1[_0x9b1e1d&0xff])^_0x12cd6d[_0x2e5181++];_0xa07e48[_0x433d36]=_0x36c40c,_0xa07e48[_0x433d36+0x1]=_0x1d2270,_0xa07e48[_0x433d36+0x2]=_0x479122,_0xa07e48[_0x433d36+0x3]=_0xad3a12;},'keySize':0x100/0x20});_0x3bf81b[_0x269ea5(0x2b0)]=_0x3bbf7b[_0x269ea5(0x4a4)](_0x5e25c0);}()),_0xa944f7['AES'];}));}(Ve)),Ve[_0x4e0d4d(0x267)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x207232(0x267)],ai;function zr(){var _0x3688c4=_0x207232;return ai||(ai=0x1,function(_0x440cbe,_0xec2f2f){(function(_0x44b07d,_0x49fd1c){var _0x2d8e52=_0x2b1b;_0x440cbe[_0x2d8e52(0x267)]=_0x49fd1c(ne());}(qr,function(_0x4bfb31){var _0x329ba4=_0x2b1b;return _0x4bfb31[_0x329ba4(0x24d)][_0x329ba4(0x3f7)];}));}(Xe)),Xe[_0x3688c4(0x267)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x106430,_0x5899f0){(function(_0x3730ae,_0x553016){var _0x52fb97=_0x2b1b;_0x106430[_0x52fb97(0x267)]=_0x553016(ne());}(Zr,function(_0xe37542){var _0x4584fc=_0x2b1b;return(function(){var _0xf158bd=_0x2b1b;if(typeof ArrayBuffer==_0xf158bd(0x314)){var _0x5929d5=_0xe37542,_0x38a4ef=_0x5929d5[_0xf158bd(0x3cb)],_0x569160=_0x38a4ef['WordArray'],_0x19904c=_0x569160[_0xf158bd(0x4e4)],_0x2ed8c1=_0x569160[_0xf158bd(0x4e4)]=function(_0x2d1e85){var _0x566dc9=_0xf158bd;if(_0x2d1e85 instanceof ArrayBuffer&&(_0x2d1e85=new Uint8Array(_0x2d1e85)),(_0x2d1e85 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2d1e85 instanceof Uint8ClampedArray||_0x2d1e85 instanceof Int16Array||_0x2d1e85 instanceof Uint16Array||_0x2d1e85 instanceof Int32Array||_0x2d1e85 instanceof Uint32Array||_0x2d1e85 instanceof Float32Array||_0x2d1e85 instanceof Float64Array)&&(_0x2d1e85=new Uint8Array(_0x2d1e85[_0x566dc9(0x4bd)],_0x2d1e85[_0x566dc9(0x4cb)],_0x2d1e85[_0x566dc9(0x3cc)])),_0x2d1e85 instanceof Uint8Array){for(var _0xdaed84=_0x2d1e85['byteLength'],_0x217062=[],_0x54f0ea=0x0;_0x54f0ea<_0xdaed84;_0x54f0ea++)_0x217062[_0x54f0ea>>>0x2]|=_0x2d1e85[_0x54f0ea]<<0x18-_0x54f0ea%0x4*0x8;_0x19904c['call'](this,_0x217062,_0xdaed84);}else _0x19904c['apply'](this,arguments);};_0x2ed8c1['prototype']=_0x569160;}}()),_0xe37542[_0x4584fc(0x3cb)][_0x4584fc(0x25d)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x139999=_0x207232;return hi||(hi=0x1,function(_0x5de8af,_0x5b34cb){(function(_0x714d94,_0x22501b,_0x552f28){var _0x4c1260=_0x2b1b;_0x5de8af[_0x4c1260(0x267)]=_0x22501b(ne(),Ai());}(is,function(_0x8f8a1e){var _0x4378b7=_0x2b1b;return _0x8f8a1e[_0x4378b7(0x303)][_0x4378b7(0x488)]={'pad':function(){},'unpad':function(){}},_0x8f8a1e[_0x4378b7(0x303)][_0x4378b7(0x488)];}));}(Qe)),Qe[_0x139999(0x267)];}var rs=ns();const ss=ke(rs);function os(_0xa02876,_0x3042b6){var _0x23c2cf=_0x207232;const _0x183eef=_0x3042b6-_0xa02876[_0x23c2cf(0x453)]%_0x3042b6,_0x5d0d16=String[_0x23c2cf(0x38a)](_0x183eef)[_0x23c2cf(0x310)](_0x183eef);return _0xa02876+_0x5d0d16;}function as(_0x3dc5b4,_0x104cda){var _0x43d303=_0x207232;const _0x46d81e=ts[_0x43d303(0x3e0)](0x10),_0x2700ef=os(_0x3dc5b4,0x10),_0x30df29=Kr[_0x43d303(0x4a0)](Xr[_0x43d303(0x415)](_0x2700ef),oi['parse'](_0x104cda),{'iv':_0x46d81e,'padding':ss});return _0x46d81e[_0x43d303(0x2fd)](_0x30df29[_0x43d303(0x23f)])[_0x43d303(0x222)](oi);}function cs(){var _0x47cc31=_0x207232;const _0x4f1518=_0x30e0e9()[_0x47cc31(0x207)];if(_0x4f1518){const _0x88a42={'time':Math[_0x47cc31(0x298)](Date['now']()/0x3e8),'domain':location[_0x47cc31(0x38b)]};return as(JSON[_0x47cc31(0x438)](_0x88a42),_0x4f1518);}}var hs=Object[_0x207232(0x20c)],_s=Object[_0x207232(0x469)],ls=(_0x4ddf83,_0x284dae,_0x54e3c8,_0x46e12b)=>{for(var _0x5007ee=_0x46e12b>0x1?void 0x0:_0x46e12b?_s(_0x284dae,_0x54e3c8):_0x284dae,_0x5695b8=_0x4ddf83['length']-0x1,_0x83d0b9;_0x5695b8>=0x0;_0x5695b8--)(_0x83d0b9=_0x4ddf83[_0x5695b8])&&(_0x5007ee=(_0x46e12b?_0x83d0b9(_0x284dae,_0x54e3c8,_0x5007ee):_0x83d0b9(_0x5007ee))||_0x5007ee);return _0x46e12b&&_0x5007ee&&hs(_0x284dae,_0x54e3c8,_0x5007ee),_0x5007ee;},us=(_0xad048e,_0x18efaf)=>(_0x40ba3f,_0x5cea5d)=>_0x18efaf(_0x40ba3f,_0x5cea5d,_0xad048e);let ot=class{constructor(_0x566702){var _0x1f962d=_0x207232;this[_0x1f962d(0x468)]=_0x566702,this[_0x1f962d(0x4a1)]();}[_0x207232(0x4a1)](){var _0x2b63b6=_0x207232;this[_0x2b63b6(0x468)][_0x2b63b6(0x44a)]({'interceptor':(_0x1f4e95,_0x2cb1d3)=>{var _0x3f36ee=_0x2b63b6;const _0x12f4d5=_0x1f4e95[_0x3f36ee(0x362)],_0x1600ba=cs();return _0x1600ba&&_0x12f4d5[_0x3f36ee(0x459)]('x-univer-host',_0x1600ba),_0x2cb1d3(_0x1f4e95);}});}};ot=ls([us(0x0,_0x133bf8(_0xec288c))],ot);var ds=Object['defineProperty'],fs=Object[_0x207232(0x469)],vs=(_0x267424,_0x1c49d0,_0x2527e4,_0x4bed62)=>{var _0x9cc13=_0x207232;for(var _0x13f537=_0x4bed62>0x1?void 0x0:_0x4bed62?fs(_0x1c49d0,_0x2527e4):_0x1c49d0,_0x4c5f41=_0x267424[_0x9cc13(0x453)]-0x1,_0x2be802;_0x4c5f41>=0x0;_0x4c5f41--)(_0x2be802=_0x267424[_0x4c5f41])&&(_0x13f537=(_0x4bed62?_0x2be802(_0x1c49d0,_0x2527e4,_0x13f537):_0x2be802(_0x13f537))||_0x13f537);return _0x4bed62&&_0x13f537&&ds(_0x1c49d0,_0x2527e4,_0x13f537),_0x13f537;},mt=(_0x12df85,_0x34feff)=>(_0x431740,_0x55cc50)=>_0x34feff(_0x431740,_0x55cc50,_0x12df85);let Ot=class extends _0x57f232{constructor(_0x299262,_0x55f937,_0x3f9a52){var _0x3b3c54=_0x207232;super(),N(this,_0x3b3c54(0x40f),new _0x2d7615(null)),N(this,'unitInfo$',this[_0x3b3c54(0x40f)][_0x3b3c54(0x2c0)]()),(this['_logService']=_0x299262,this[_0x3b3c54(0x484)]=_0x55f937,this[_0x3b3c54(0x413)]=_0x3f9a52);}async[_0x207232(0x3d9)](_0x5bfe1b,_0xa9561e,_0x1c065d){var _0x2a6a3e=_0x207232;this[_0x2a6a3e(0x40f)][_0x2a6a3e(0x255)]({'unitId':_0x5bfe1b,'type':_0xa9561e,'subUnitId':_0x1c065d});let _0x5036b6=null;switch(_0xa9561e){case Q['UNIVER_SHEET']:{_0x5036b6=await this[_0x2a6a3e(0x2dd)](_0x5bfe1b);break;}case Q[_0x2a6a3e(0x2f9)]:{_0x5036b6=await this[_0x2a6a3e(0x213)](_0x5bfe1b);break;}default:{this[_0x2a6a3e(0x275)][_0x2a6a3e(0x3aa)](_0x2a6a3e(0x1f3),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5036b6;}async['_loadSheet'](_0xc03512){var _0x1dc41a=_0x207232,_0x1f8e7a;let _0x18681f=0x0;const _0x4586ee=await((_0x1f8e7a=this[_0x1dc41a(0x413)])==null?void 0x0:_0x1f8e7a['loadOfflineData'](_0xc03512));return _0x4586ee&&(_0x4586ee['awaitingChangeset']||_0x4586ee['mutations'][_0x1dc41a(0x453)]!==0x0)&&(_0x18681f=_0x4586ee[_0x1dc41a(0x446)]),_0x18681f===0x0&&this[_0x1dc41a(0x275)][_0x1dc41a(0x32b)](_0x1dc41a(0x1f3),_0x1dc41a(0x3e5)),this[_0x1dc41a(0x484)][_0x1dc41a(0x28d)](_0xc03512,_0x18681f);}async[_0x207232(0x213)](_0xe8915f){var _0x2460ab=_0x207232,_0x475429;let _0x16c7b8=0x0;const _0x37de8a=await((_0x475429=this['_localCacheService'])==null?void 0x0:_0x475429[_0x2460ab(0x239)](_0xe8915f));return _0x37de8a&&(_0x37de8a[_0x2460ab(0x419)]||_0x37de8a[_0x2460ab(0x3ef)]['length']!==0x0)&&(_0x16c7b8=_0x37de8a[_0x2460ab(0x446)]),_0x16c7b8===0x0&&this[_0x2460ab(0x275)][_0x2460ab(0x32b)](_0x2460ab(0x1f3),_0x2460ab(0x3e5)),this['_snapshotService'][_0x2460ab(0x2cf)](_0xe8915f,_0x16c7b8);}};Ot=vs([mt(0x0,_0x248f6a),mt(0x1,_0x133bf8(_0x245bcd)),mt(0x2,_0x910b95(J))],Ot);var ps=Object[_0x207232(0x20c)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x10c986,_0x480292,_0x1a88bd,_0x2afdab)=>{var _0x49f483=_0x207232;for(var _0x3c1b83=_0x2afdab>0x1?void 0x0:_0x2afdab?ms(_0x480292,_0x1a88bd):_0x480292,_0x591b97=_0x10c986[_0x49f483(0x453)]-0x1,_0x5f51ad;_0x591b97>=0x0;_0x591b97--)(_0x5f51ad=_0x10c986[_0x591b97])&&(_0x3c1b83=(_0x2afdab?_0x5f51ad(_0x480292,_0x1a88bd,_0x3c1b83):_0x5f51ad(_0x3c1b83))||_0x3c1b83);return _0x2afdab&&_0x3c1b83&&ps(_0x480292,_0x1a88bd,_0x3c1b83),_0x3c1b83;},gt=(_0x3e7edc,_0x595571)=>(_0x5d2bf1,_0x3cef99)=>_0x595571(_0x5d2bf1,_0x3cef99,_0x3e7edc);const Ss=[_0x207232(0x2eb),'image/jpeg',_0x207232(0x37e),_0x207232(0x49a),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x207232(0x4a2),Ts='/universer-api/stream/file/upload',Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x207232(0x30c);let yt=class{constructor(_0x45386d,_0xe8a237,_0x44958b){var _0x134495=_0x207232;N(this,_0x134495(0x424),0x0),N(this,_0x134495(0x4dc),new _0x45b79d()),N(this,_0x134495(0x4b9),this[_0x134495(0x4dc)]),N(this,_0x134495(0x2a9),new Map()),(this[_0x134495(0x468)]=_0x45386d,this[_0x134495(0x452)]=_0xe8a237,this[_0x134495(0x244)]=_0x44958b);}[_0x207232(0x399)](_0x3ada7c){var _0x1525d6=_0x207232;this[_0x1525d6(0x424)]=_0x3ada7c,this[_0x1525d6(0x4dc)][_0x1525d6(0x255)](_0x3ada7c);}['getImageSourceCache'](_0x70bae,_0x1aa777){var _0x23be6b=_0x207232;if(_0x1aa777===_0x3ae4dc[_0x23be6b(0x27b)]){const _0x476145=new Image();return _0x476145[_0x23be6b(0x250)]=_0x70bae,_0x476145;}return this[_0x23be6b(0x2a9)][_0x23be6b(0x410)](_0x70bae);}[_0x207232(0x289)](_0x508adf,_0x330087,_0x2e8b0c){var _0x4acb3d=_0x207232;_0x330087===_0x3ae4dc[_0x4acb3d(0x27b)]||_0x2e8b0c==null||this['_imageSourceCache']['set'](_0x508adf,_0x2e8b0c);}async[_0x207232(0x332)](_0x3aaac3){var _0x164007=_0x207232;try{const _0x18c2a9=this[_0x164007(0x4c1)](this[_0x164007(0x3c4)](),''+_0x3aaac3),_0x5b4f0d=(await this['_httpService'][_0x164007(0x410)](_0x18c2a9))[_0x164007(0x242)];if(_0x5b4f0d[_0x164007(0x3aa)]&&_0x5b4f0d['error'][_0x164007(0x499)]===Ii['OK']){const _0x3b42f5=new URL(_0x5b4f0d['url'],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x164007(0x45a)](_0x3b42f5);}return Promise['reject'](_0x5b4f0d['error']);}catch(_0x17518d){return Promise[_0x164007(0x2df)](_0x17518d);}}async['saveImage'](_0x57411d){var _0xf89622=_0x207232;let _0x1b57ad='';if(!Ss[_0xf89622(0x2e5)](_0x57411d[_0xf89622(0x276)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x20d846[_0xf89622(0x489)]));if(_0x57411d['size']>Es)return this[_0xf89622(0x365)](),Promise['reject'](new Error(_0x20d846['ERROR_EXCEED_SIZE']));try{const _0x9bf383=new FormData();_0x9bf383[_0xf89622(0x2e7)](_0xf89622(0x2e4),_0x57411d);const _0x3a4354=this[_0xf89622(0x244)]['getFocusedUnit'](),_0x544ab9=_0x3a4354==null?void 0x0:_0x3a4354['getUnitId']();if(!_0x544ab9)throw new Error(_0xf89622(0x4cd));const _0xa7d737=this[_0xf89622(0x4c2)]()+_0xf89622(0x433)+_0x57411d[_0xf89622(0x22d)][_0xf89622(0x222)]()+_0xf89622(0x293)+Ti[_0xf89622(0x259)]+_0xf89622(0x26f)+encodeURIComponent(_0x544ab9),_0x33a3c9=await(await fetch(_0xa7d737,{'method':_0xf89622(0x45e),'body':_0x9bf383}))['json']();if(typeof _0x33a3c9[_0xf89622(0x466)]!=_0xf89622(0x2c6))return this['_decreaseWaiting'](),Promise[_0xf89622(0x2df)](new Error(_0x20d846[_0xf89622(0x312)]));_0x1b57ad=_0x33a3c9[_0xf89622(0x466)];}catch{return this['_decreaseWaiting'](),Promise[_0xf89622(0x2df)](new Error(_0x20d846[_0xf89622(0x312)]));}return new Promise((_0x4f3329,_0x1e7ae9)=>{var _0x382e7d=_0xf89622;const _0x28f210=new FileReader();_0x28f210[_0x382e7d(0x440)](_0x57411d),_0x28f210['onload']=_0xd59585=>{var _0x544f2f=_0x382e7d,_0x1a3f12;const _0x17d59d=(_0x1a3f12=_0xd59585[_0x544f2f(0x238)])==null?void 0x0:_0x1a3f12[_0x544f2f(0x48c)];if(_0x17d59d==null){this[_0x544f2f(0x365)](),_0x1e7ae9(new Error(_0x20d846[_0x544f2f(0x312)]));return;}const _0x1e53d2=_0xc9f11['generateRandomId'](0x6);_0x4f3329({'imageId':_0x1e53d2,'imageSourceType':_0x3ae4dc[_0x544f2f(0x4e1)],'source':_0x1b57ad,'base64Cache':_0x17d59d,'status':_0x20d846[_0x544f2f(0x3d1)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x433084=_0x207232,_0x47d731,_0x3dd2c7;const _0x89a3d6=this['_configService']['getConfig'](Is),_0x3ddae1=this[_0x433084(0x452)]['getConfig'](q);return(_0x3dd2c7=(_0x47d731=_0x3ddae1==null?void 0x0:_0x3ddae1['uploadFileServerUrl'])!=null?_0x47d731:_0x89a3d6)!=null?_0x3dd2c7:Ts;}[_0x207232(0x3c4)](){var _0x1b3b75=_0x207232,_0x387143,_0x3ebc76;const _0x1f9c43=this[_0x1b3b75(0x452)]['getConfig'](Cs),_0x295f97=this[_0x1b3b75(0x452)][_0x1b3b75(0x3a9)](q);return(_0x3ebc76=(_0x387143=_0x295f97==null?void 0x0:_0x295f97[_0x1b3b75(0x350)])!=null?_0x387143:_0x1f9c43)!=null?_0x3ebc76:Rs;}[_0x207232(0x25b)](){var _0x3fc6aa=_0x207232,_0x41a284;const _0x3c4f6e=this[_0x3fc6aa(0x452)][_0x3fc6aa(0x3a9)](q);return(_0x41a284=_0x3c4f6e==null?void 0x0:_0x3c4f6e['downloadEndpointUrl'])!=null?_0x41a284:location['origin'];}['_replaceFileID'](_0x3effa4,_0x14a139){var _0x15d867=_0x207232;return _0x3effa4[_0x15d867(0x2f2)]('{fileID}',_0x14a139);}[_0x207232(0x365)](){var _0x53983b=_0x207232;this['_waitCount']-=0x1,this[_0x53983b(0x4dc)][_0x53983b(0x255)](this[_0x53983b(0x424)]);}};yt=gs([gt(0x0,_0x133bf8(_0xec288c)),gt(0x1,_0x2ddc28),gt(0x2,_0x133bf8(_0x39ac8e))],yt);var bs=Object[_0x207232(0x20c)],Os=Object[_0x207232(0x469)],ys=(_0x28444e,_0x35be42,_0x35ccd5,_0x287295)=>{for(var _0xb3ee33=_0x287295>0x1?void 0x0:_0x287295?Os(_0x35be42,_0x35ccd5):_0x35be42,_0x2b8ecc=_0x28444e['length']-0x1,_0xf15f68;_0x2b8ecc>=0x0;_0x2b8ecc--)(_0xf15f68=_0x28444e[_0x2b8ecc])&&(_0xb3ee33=(_0x287295?_0xf15f68(_0x35be42,_0x35ccd5,_0xb3ee33):_0xf15f68(_0xb3ee33))||_0xb3ee33);return _0x287295&&_0xb3ee33&&bs(_0x35be42,_0x35ccd5,_0xb3ee33),_0xb3ee33;},_i=(_0x46fcbd,_0x5271cd)=>(_0x2f6581,_0x4196da)=>_0x5271cd(_0x2f6581,_0x4196da,_0x46fcbd);const Ns='/universer-api/authz';let Nt=class{constructor(_0x1fd892,_0x1a7a9b){var _0x53057c=_0x207232;this[_0x53057c(0x452)]=_0x1fd892,this[_0x53057c(0x29b)]=_0x1a7a9b;}[_0x207232(0x382)](){var _0x570591=_0x207232,_0x457f85,_0x55cc27;const _0x2f5648=this[_0x570591(0x452)][_0x570591(0x3a9)](Pi),_0x48b57e=this['_configService']['getConfig'](q);return(_0x55cc27=(_0x457f85=_0x48b57e==null?void 0x0:_0x48b57e['authzUrl'])!=null?_0x457f85:_0x2f5648)!=null?_0x55cc27:Ns;}async['list'](_0x4f561b){var _0x2da86c=_0x207232;const _0xc9ad60=this[_0x2da86c(0x382)]()+_0x2da86c(0x287);return{'list':[{'title':_0x2da86c(0x33a),'mentions':(await this[_0x2da86c(0x29b)][_0x2da86c(0x410)](_0xc9ad60,{'params':{'objectID':_0x4f561b[_0x2da86c(0x393)],'unitID':_0x4f561b[_0x2da86c(0x393)]}}))[_0x2da86c(0x242)]['collaborators']['map'](_0xa1a903=>({'objectId':_0xa1a903['id'],'name':_0xa1a903['subject'][_0x2da86c(0x392)],'metadata':{'icon':_0xa1a903[_0x2da86c(0x422)]['avatar']},'label':_0xa1a903[_0x2da86c(0x422)]['name'],'objectType':_0x5982a2[_0x2da86c(0x420)]})),'metadata':{},'type':_0x5982a2[_0x2da86c(0x420)]}]};}};Nt=ys([_i(0x0,_0x133bf8(_0x2ddc28)),_i(0x1,_0x133bf8(_0xec288c))],Nt);var Ds=Object[_0x207232(0x20c)],Ps=Object[_0x207232(0x469)],ws=(_0x6bdb77,_0x44c9d8,_0x407f4a,_0x3e5937)=>{var _0x19e44d=_0x207232;for(var _0x4ffbd6=_0x3e5937>0x1?void 0x0:_0x3e5937?Ps(_0x44c9d8,_0x407f4a):_0x44c9d8,_0x319e59=_0x6bdb77[_0x19e44d(0x453)]-0x1,_0x740a6d;_0x319e59>=0x0;_0x319e59--)(_0x740a6d=_0x6bdb77[_0x319e59])&&(_0x4ffbd6=(_0x3e5937?_0x740a6d(_0x44c9d8,_0x407f4a,_0x4ffbd6):_0x740a6d(_0x4ffbd6))||_0x4ffbd6);return _0x3e5937&&_0x4ffbd6&&Ds(_0x44c9d8,_0x407f4a,_0x4ffbd6),_0x4ffbd6;},Se=(_0x47a37f,_0x308c74)=>(_0x55ddff,_0x577918)=>_0x308c74(_0x55ddff,_0x577918,_0x47a37f);let at=class extends _0x57f232{constructor(_0x44cd20,_0x4ea69c,_0x53efe3,_0x2f22b2,_0x5b837d,_0x30e446,_0x561c34){var _0x3bcd72=_0x207232;super(),this[_0x3bcd72(0x406)]=_0x44cd20,this[_0x3bcd72(0x244)]=_0x4ea69c,this['_permissionService']=_0x53efe3,this[_0x3bcd72(0x31d)]=_0x2f22b2,this['_collaborationUIEventService']=_0x5b837d,this[_0x3bcd72(0x4ab)]=_0x30e446,this[_0x3bcd72(0x334)]=_0x561c34,this[_0x3bcd72(0x316)](),this[_0x3bcd72(0x208)]();}[_0x207232(0x208)](){var _0x5a2d74=_0x207232;const _0x1aeac6=async _0x2549ec=>{var _0x5f04b5=_0x2b1b;(await this[_0x5f04b5(0x31d)][_0x5f04b5(0x396)](_0x2549ec))['event$']['pipe'](_0x56a47a(_0x531713=>_0x531713['eventID']===_0x2e889b[_0x5f04b5(0x467)]),_0x202538(this[_0x5f04b5(0x3e7)]))[_0x5f04b5(0x416)](_0x43d68f=>{var _0x29ae70=_0x5f04b5;const _0x8a229c=_0x43d68f,{reason:_0x2be280}=_0x8a229c[_0x29ae70(0x44c)];this['_collaborationUIEventService'][_0x29ae70(0x491)]({'id':se['CLOSE_ROOM'],'data':_0x2be280}),this['_permissionService'][_0x29ae70(0x22c)](new _0x4351eb(_0x2549ec)['id'],!0x1),this['_collaborationSessionService'][_0x29ae70(0x24a)](_0x2549ec);});};_0x4ffbb0(this[_0x5a2d74(0x244)][_0x5a2d74(0x278)](_0x40e772[_0x5a2d74(0x1ff)]),this[_0x5a2d74(0x244)][_0x5a2d74(0x278)](_0x40e772[_0x5a2d74(0x2f9)]))[_0x5a2d74(0x216)](_0xbfa581(_0x4a01e7=>_0x4a01e7[_0x5a2d74(0x31c)]()),_0x56a47a(_0x549fe7=>!_0x5570b0(_0x549fe7)),_0x202538(this[_0x5a2d74(0x3e7)]))[_0x5a2d74(0x416)](_0x3bbf8f=>{_0x1aeac6(_0x3bbf8f);});}[_0x207232(0x316)](){var _0x523623=_0x207232;const _0x450fee=async _0x2107e0=>{var _0x40e61b=_0x2b1b;const _0x406ffa=await this[_0x40e61b(0x31d)][_0x40e61b(0x396)](_0x2107e0),_0x145ca1=this['_injector'][_0x40e61b(0x410)](_0x6f5cd4);_0x406ffa[_0x40e61b(0x391)][_0x40e61b(0x216)](_0x56a47a(_0x1cb423=>_0x1cb423[_0x40e61b(0x35c)]===_0x2e889b[_0x40e61b(0x30a)]),_0x202538(this[_0x40e61b(0x3e7)]))[_0x40e61b(0x416)](_0x579944=>{var _0x11e8f4=_0x40e61b;const _0x392997=_0x579944,{objectId:_0x5e7597}=_0x392997[_0x11e8f4(0x44c)];_0x5e7597===_0x2107e0?_0x145ca1[_0x11e8f4(0x28a)](_0x2107e0):_0x145ca1[_0x11e8f4(0x330)](_0x2107e0,_0x5e7597);});};_0x4ffbb0(this[_0x523623(0x244)]['getTypeOfUnitAdded$'](_0x40e772[_0x523623(0x1ff)]),this[_0x523623(0x244)][_0x523623(0x278)](_0x40e772[_0x523623(0x2f9)]))[_0x523623(0x216)](_0xbfa581(_0x51ea8d=>_0x51ea8d[_0x523623(0x31c)]()),_0x56a47a(_0x325267=>!_0x5570b0(_0x325267)),_0x202538(this[_0x523623(0x3e7)]))[_0x523623(0x416)](_0x2cf248=>{_0x450fee(_0x2cf248);});}};at=ws([Se(0x0,_0x133bf8(_0x55be5b)),Se(0x1,_0x39ac8e),Se(0x2,_0x2921ea),Se(0x3,_0x133bf8(Le)),Se(0x4,_0x133bf8(pe)),Se(0x5,_0x3ccf11),Se(0x6,_0x1f81a8)],at);var Us=Object[_0x207232(0x20c)],As=Object['getOwnPropertyDescriptor'],xs=(_0x5a55bd,_0x28b5d5,_0x43a999,_0x519b0f)=>{var _0x405051=_0x207232;for(var _0x20b725=_0x519b0f>0x1?void 0x0:_0x519b0f?As(_0x28b5d5,_0x43a999):_0x28b5d5,_0x5a27c7=_0x5a55bd[_0x405051(0x453)]-0x1,_0x351d54;_0x5a27c7>=0x0;_0x5a27c7--)(_0x351d54=_0x5a55bd[_0x5a27c7])&&(_0x20b725=(_0x519b0f?_0x351d54(_0x28b5d5,_0x43a999,_0x20b725):_0x351d54(_0x20b725))||_0x20b725);return _0x519b0f&&_0x20b725&&Us(_0x28b5d5,_0x43a999,_0x20b725),_0x20b725;},li=(_0x24ca24,_0x4c3ba2)=>(_0x30e05b,_0x5c3680)=>_0x4c3ba2(_0x30e05b,_0x5c3680,_0x24ca24);let Dt=class{constructor(_0x5d924a,_0x1db4b4){var _0x4aa250=_0x207232;this[_0x4aa250(0x452)]=_0x5d924a,this[_0x4aa250(0x468)]=_0x1db4b4;}async[_0x207232(0x262)](_0x4b6f3b,_0x44f91d){var _0x4c4de5=_0x207232,_0x3dffc5;const {unitID:_0x46dce6,type:_0x4f51bb,revision:_0x12285a=0x0}=_0x44f91d,_0xda0187=this['getSnapshotAPIPath']()+'/'+_0x4f51bb+_0x4c4de5(0x24e)+_0x46dce6+_0x4c4de5(0x4d5)+_0x12285a,_0x2f7bc2=(await this['_httpService'][_0x4c4de5(0x410)](_0xda0187))['body'],_0x587fa8=(_0x3dffc5=_0x2f7bc2['snapshot'])==null?void 0x0:_0x3dffc5['workbook'];if(_0x587fa8){const _0x5eca89=_0x587fa8==null?void 0x0:_0x587fa8['originalMeta'],_0x169948=_0x4bc143[_0x4c4de5(0x3b7)](_0x2247f5(_0x5eca89));_0x587fa8['originalMeta']=_0x169948,Object[_0x4c4de5(0x43d)](_0x587fa8['sheets'])[_0x4c4de5(0x4c4)](([,_0x4a0820])=>{var _0x76364=_0x4c4de5;const _0x5efba7=_0x4a0820['originalMeta'],_0x52f2a8=_0x4bc143['encode'](_0x2247f5(_0x5efba7));_0x4a0820[_0x76364(0x448)]=_0x52f2a8;});}return _0x2f7bc2;}async[_0x207232(0x4a8)](_0x90d5bf,_0x7d9772){var _0xdaa7b4=_0x207232;const {unitID:_0xe94a66,type:_0x7045c8,blockID:_0x1516a3}=_0x7d9772,_0x8b6ab5=this[_0xdaa7b4(0x383)]()+'/'+_0x7045c8+_0xdaa7b4(0x24e)+_0xe94a66+_0xdaa7b4(0x4b5)+_0x1516a3;return(await this[_0xdaa7b4(0x468)][_0xdaa7b4(0x410)](_0x8b6ab5))[_0xdaa7b4(0x242)];}async[_0x207232(0x28c)](_0x3bae58,_0x7285e2){var _0x201846=_0x207232;const {unitID:_0x2ced61,type:_0x3a7315,blockID:_0x4f22dc}=_0x7285e2,_0x1b89a9=this[_0x201846(0x383)]()+_0x201846(0x4b5)+_0x3a7315+'/unit/'+_0x2ced61+_0x201846(0x4b5)+_0x4f22dc;return(await this[_0x201846(0x468)][_0x201846(0x410)](_0x1b89a9))[_0x201846(0x242)];}async[_0x207232(0x4e5)](_0x1ebc1d,_0x3f28d0){var _0x2f99b6=_0x207232;const {unitID:_0x1fe016,type:_0x557201,from:_0x2a8115,to:_0x472ca3}=_0x3f28d0,_0x56b834=this[_0x2f99b6(0x383)]()+'/'+_0x557201+_0x2f99b6(0x24e)+_0x1fe016+_0x2f99b6(0x295)+_0x2a8115+_0x2f99b6(0x20b)+_0x472ca3;return(await this['_httpService'][_0x2f99b6(0x410)](_0x56b834))['body'];}[_0x207232(0x1f7)](){var _0x10494e=_0x207232,_0x2fcf0e;return(_0x2fcf0e=this['_configService'][_0x10494e(0x3a9)](Tn))!=null?_0x2fcf0e:this[_0x10494e(0x383)]();}[_0x207232(0x383)](){var _0x143023=_0x207232,_0x14390f,_0x21a772;const _0xd97c7=this['_configService'][_0x143023(0x3a9)](En),_0x475059=this[_0x143023(0x452)]['getConfig'](q);return(_0x21a772=(_0x14390f=_0x475059==null?void 0x0:_0x475059[_0x143023(0x412)])!=null?_0x14390f:_0xd97c7)!=null?_0x21a772:In;}async[_0x207232(0x482)](_0x34f2c4,_0x32a450){var _0x4260c0=_0x207232;const _0x17846d=_0x4260c0(0x283)+_0x32a450[_0x4260c0(0x276)]+_0x4260c0(0x24e)+_0x32a450['unitID']+_0x4260c0(0x243);return(await this[_0x4260c0(0x468)][_0x4260c0(0x410)](_0x17846d,{'params':{'resourceId':JSON[_0x4260c0(0x438)](_0x32a450[_0x4260c0(0x246)])}}))[_0x4260c0(0x242)];}[_0x207232(0x389)](){var _0x1e81b6=_0x207232;throw new Error(_0x1e81b6(0x249));}[_0x207232(0x30b)](){var _0x17a108=_0x207232;throw new Error(_0x17a108(0x249));}[_0x207232(0x203)](){var _0x46cfae=_0x207232;throw new Error(_0x46cfae(0x249));}[_0x207232(0x26a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x207232(0x264)](){var _0xd35e93=_0x207232;throw new Error(_0xd35e93(0x249));}};Dt=xs([li(0x0,_0x2ddc28),li(0x1,_0x133bf8(_0xec288c))],Dt);var Ls=Object[_0x207232(0x20c)],Ms=Object[_0x207232(0x469)],$s=(_0x3626de,_0x310a5b,_0x5dca86,_0x313167)=>{var _0x419755=_0x207232;for(var _0xc7804=_0x313167>0x1?void 0x0:_0x313167?Ms(_0x310a5b,_0x5dca86):_0x310a5b,_0x36f5d0=_0x3626de[_0x419755(0x453)]-0x1,_0x1aac3b;_0x36f5d0>=0x0;_0x36f5d0--)(_0x1aac3b=_0x3626de[_0x36f5d0])&&(_0xc7804=(_0x313167?_0x1aac3b(_0x310a5b,_0x5dca86,_0xc7804):_0x1aac3b(_0xc7804))||_0xc7804);return _0x313167&&_0xc7804&&Ls(_0x310a5b,_0x5dca86,_0xc7804),_0xc7804;},Ae=(_0x35247e,_0x79e1af)=>(_0x4a9787,_0x36d370)=>_0x79e1af(_0x4a9787,_0x36d370,_0x35247e);let Pt=class extends _0x46c384{constructor(_0x32ab7c,_0x30e266,_0x492a29,_0x219bfb,_0x3ceac7){var _0x355550=_0x207232;super(_0x32ab7c,_0x30e266,_0x492a29),this[_0x355550(0x2cd)]=_0x219bfb,this[_0x355550(0x275)]=_0x3ceac7;}[_0x207232(0x3a1)](_0x244e19,_0x3731b2){var _0x14b17b=_0x207232;const _0x2aebbd=this[_0x14b17b(0x3fa)](_0x244e19);if(_0x2aebbd)try{const _0x3384c0=this[_0x14b17b(0x475)](_0x2aebbd,_0x3731b2);this['_substituteUndoStack'](_0x244e19,_0x3384c0);}catch(_0x13b184){this[_0x14b17b(0x275)][_0x14b17b(0x3aa)](_0x14b17b(0x2b3),_0x13b184),this[_0x14b17b(0x3bf)](_0x244e19);}const _0x310a1a=this['_getRedoStack'](_0x244e19);if(_0x310a1a)try{const _0x2603a9=this[_0x14b17b(0x475)](_0x310a1a,_0x3731b2);this[_0x14b17b(0x434)](_0x244e19,_0x2603a9);}catch(_0x3cd266){this[_0x14b17b(0x275)][_0x14b17b(0x3aa)](_0x3cd266),this[_0x14b17b(0x4c8)](_0x244e19);}}[_0x207232(0x3bf)](_0x40583d){var _0x5a43d5=_0x207232;const _0x9d1561=this[_0x5a43d5(0x3fa)](_0x40583d);_0x9d1561&&(_0x9d1561[_0x5a43d5(0x453)]=0x0,this['_updateStatus']());}[_0x207232(0x4c8)](_0x4c1d38){var _0x431822=_0x207232;const _0xb10881=this[_0x431822(0x3e6)](_0x4c1d38);_0xb10881&&(_0xb10881['length']=0x0,this[_0x431822(0x41a)]());}[_0x207232(0x351)](_0xf64f2d,_0x13be5c){var _0x4932ca=_0x207232;this[_0x4932ca(0x3be)][_0x4932ca(0x459)](_0xf64f2d,_0x13be5c),this[_0x4932ca(0x41a)]();}[_0x207232(0x434)](_0x1d8acb,_0x5ec5b4){var _0x36e3c8=_0x207232;this[_0x36e3c8(0x493)][_0x36e3c8(0x459)](_0x1d8acb,_0x5ec5b4),this['_updateStatus']();}['_transformStack'](_0x3dd044,_0x480185){var _0x353285=_0x207232;const _0x462f14=[];let _0x336e07=_0x480185,_0x49878b=_0x480185;for(let _0x100a06=_0x3dd044[_0x353285(0x453)]-0x1;_0x100a06>=0x0;_0x100a06--){const {unitID:_0x486c6c,undoMutations:_0x26d3f5,redoMutations:_0x36630d}=_0x3dd044[_0x100a06],_0x75a92e=this[_0x353285(0x2cd)][_0x353285(0x43f)](_0x336e07,_0x26d3f5),_0x385574=this[_0x353285(0x2cd)]['transformMutationsWithChangeset'](_0x49878b,_0x36630d);if(_0x570ced(_0x75a92e)||_0x570ced(_0x385574)){this['_logService'][_0x353285(0x3aa)]('[CollaborationUndoRedoService]',_0x353285(0x23b),_0x75a92e,_0x385574);break;}_0x336e07=_0x75a92e[_0x353285(0x2a7)],_0x49878b=_0x385574[_0x353285(0x2a7)],_0x462f14[_0x353285(0x2ac)]({'unitID':_0x486c6c,'undoMutations':_0x75a92e[_0x353285(0x455)],'redoMutations':_0x385574[_0x353285(0x455)]});}return _0x462f14[_0x353285(0x4e8)]();}};Pt=$s([Ae(0x0,_0x39ac8e),Ae(0x1,_0x1023d2),Ae(0x2,_0xac9df5),Ae(0x3,_0x2452dd),Ae(0x4,_0x248f6a)],Pt);var xi=Object[_0x207232(0x20c)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x2ee558,_0x4f5de6,_0x3748b0)=>_0x4f5de6 in _0x2ee558?xi(_0x2ee558,_0x4f5de6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3748b0}):_0x2ee558[_0x4f5de6]=_0x3748b0,js=(_0x2b7fb2,_0x589d3d,_0xfc45bf,_0x505a73)=>{var _0x21c6bd=_0x207232;for(var _0xc72435=_0x505a73>0x1?void 0x0:_0x505a73?Hs(_0x589d3d,_0xfc45bf):_0x589d3d,_0x5a56b9=_0x2b7fb2[_0x21c6bd(0x453)]-0x1,_0x5463b2;_0x5a56b9>=0x0;_0x5a56b9--)(_0x5463b2=_0x2b7fb2[_0x5a56b9])&&(_0xc72435=(_0x505a73?_0x5463b2(_0x589d3d,_0xfc45bf,_0xc72435):_0x5463b2(_0xc72435))||_0xc72435);return _0x505a73&&_0xc72435&&xi(_0x589d3d,_0xfc45bf,_0xc72435),_0xc72435;},St=(_0x5e3bb0,_0x28a8e7)=>(_0x238838,_0x135cd9)=>_0x28a8e7(_0x238838,_0x135cd9,_0x5e3bb0),Bs=(_0xd8f9bb,_0x197188,_0x528395)=>ks(_0xd8f9bb,_0x197188+'',_0x528395);const Fs=_0x207232(0x388);let wt=class extends _0x1b9fcf{constructor(_0x3d6f76=Wt,_0x743bf2,_0xa6d683,_0x17a6d1){var _0x215557=_0x207232;super(),this[_0x215557(0x33f)]=_0x3d6f76,this[_0x215557(0x275)]=_0x743bf2,this['_injector']=_0xa6d683,this[_0x215557(0x452)]=_0x17a6d1;const {..._0x4a1f5e}=_0x5dd608({},Wt,this[_0x215557(0x33f)]);this['_configService'][_0x215557(0x2ea)](q,_0x4a1f5e);}[_0x207232(0x4cc)](){var _0x11c508=_0x207232;this[_0x11c508(0x27e)](),this[_0x11c508(0x3fe)]();}[_0x207232(0x27e)](){var _0x52f67f=_0x207232,_0x4c87eb,_0x4edb4c,_0x4a5c23,_0x40f8fe;this[_0x52f67f(0x406)][_0x52f67f(0x2c7)](_0x1f81a8)&&this[_0x52f67f(0x275)][_0x52f67f(0x3aa)](_0x52f67f(0x4aa),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x430cb0=_0x7d7ea7([[_0x1f81a8,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x4edb4c=(_0x4c87eb=this[_0x52f67f(0x33f)])==null?void 0x0:_0x4c87eb[_0x52f67f(0x28f)])!=null?_0x4edb4c:Et}],[_0xfc988d,{'useClass':Dt}],[_0x3ccf11,{'useClass':bt}],[_0x253001,{'useClass':yt}],[_0x130953,{'useClass':Nt}],[rt],[Rt]],(_0x4a5c23=this[_0x52f67f(0x33f)])==null?void 0x0:_0x4a5c23[_0x52f67f(0x394)]);if(!((_0x40f8fe=this[_0x52f67f(0x33f)])!=null&&_0x40f8fe['enableSingleActiveInstanceLock'])){const _0x1c1672=_0x430cb0[_0x52f67f(0x463)](([_0x17b030])=>_0x17b030===ht);_0x1c1672!==-0x1&&_0x430cb0[_0x52f67f(0x39b)](_0x1c1672,0x1);}_0x2bdfde(this[_0x52f67f(0x406)],_0x430cb0);}[_0x207232(0x3fe)](){var _0x3a3341=_0x207232,_0x4e15fa,_0x33b54a,_0x19bfb3;this['_injector']['get'](_0xec288c)[_0x3a3341(0x44a)]({'priority':0x14,'interceptor':_0x4ac90a({'maxParallel':0x6})}),(_0x4e15fa=this[_0x3a3341(0x33f)])!=null&&_0x4e15fa[_0x3a3341(0x36d)]||(_0x33b54a=this[_0x3a3341(0x406)][_0x3a3341(0x410)](J,_0xe6629[_0x3a3341(0x273)]))==null||_0x33b54a[_0x3a3341(0x4c5)](),(_0x19bfb3=this[_0x3a3341(0x33f)])!=null&&_0x19bfb3[_0x3a3341(0x2a4)]&&_0x3c216e(this['_injector'],[[st]]),_0x3c216e(this[_0x3a3341(0x406)],[[ot],[rt],[at]]);}};Bs(wt,_0x207232(0x2f3),Fs),wt=js([_0x1973e5(_0x3504b2,_0x1fd7fd,_0x2c049b),St(0x1,_0x248f6a),St(0x2,_0x133bf8(_0x55be5b)),St(0x3,_0x2ddc28)],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};