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

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 _0x5a609d=_0x51f8;(function(_0x16cea1,_0x3f09e8){var _0x138098=_0x51f8,_0x443b7c=_0x16cea1();while(!![]){try{var _0x409212=parseInt(_0x138098(0x167))/0x1*(-parseInt(_0x138098(0x315))/0x2)+parseInt(_0x138098(0x1b5))/0x3+-parseInt(_0x138098(0x1f0))/0x4+-parseInt(_0x138098(0x1b3))/0x5*(-parseInt(_0x138098(0x1ee))/0x6)+parseInt(_0x138098(0x407))/0x7+parseInt(_0x138098(0x34d))/0x8+-parseInt(_0x138098(0x43b))/0x9;if(_0x409212===_0x3f09e8)break;else _0x443b7c['push'](_0x443b7c['shift']());}catch(_0x4a9245){_0x443b7c['push'](_0x443b7c['shift']());}}}(_0x48b4,0xafec4));var Li=Object[_0x5a609d(0x258)],Mi=(_0x10ef15,_0x37d97e,_0xb5a839)=>_0x37d97e in _0x10ef15?Li(_0x10ef15,_0x37d97e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb5a839}):_0x10ef15[_0x37d97e]=_0xb5a839,N=(_0x193a43,_0x3cdbcf,_0x17821d)=>Mi(_0x193a43,typeof _0x3cdbcf!=_0x5a609d(0x2b7)?_0x3cdbcf+'':_0x3cdbcf,_0x17821d);import{createIdentifier as _0x9be44d,Inject as _0x4993c2,Injector as _0x2c6931,Disposable as _0xa17c38,DisposableCollection as _0x249025,toDisposable as _0x1923a4,IConfigService as _0x5e63be,ILogService as _0x19cece,UserManagerService as _0x39f155,UniverInstanceType as _0x3ddab9,IUniverInstanceService as _0x3e893c,LocaleService as _0x3d8b17,Optional as _0x5e6a60,RxDisposable as _0x14f46f,Tools as _0x4e1026,Rectangle as _0x342a72,ICommandService as _0x11f6b7,JSONX as _0x5a79ea,CommandType as _0x5c29f6,IPermissionService as _0x3d9d37,IUndoRedoService as _0x460750,sequenceExecute as _0xe89d20,Workbook as _0xb6fc49,MentionType as _0xa0ed87,IAuthzIoService as _0xa12d48,isInternalEditorID as _0x316352,LocalUndoRedoService as _0xe87a6c,IContextService as _0x2aeeb8,DependentOn as _0x456395,Plugin as _0x1b7583,merge as _0x6f1411,mergeOverrideWithDependencies as _0x9305df,IMentionIOService as _0x3aebdf,registerDependencies as _0x3a1b13,Quantity as _0x58e79f,touchDependencies as _0x2e7232}from'@univerjs/core';import{Subject as _0x47b45d,merge as _0xa936b8,of as _0x22dc1e,BehaviorSubject as _0x2e1607,takeUntil as _0x3760b4,ReplaySubject as _0x5312ee,take as _0x32dcd2,map as _0x2ded05,shareReplay as _0x43c387,firstValueFrom as _0x5acbba,concatMap as _0x3a37b6}from'rxjs';import{map as _0x3dc5d9,take as _0x2ec301,filter as _0x471c86,delay as _0xcb4492,takeUntil as _0x4bff66}from'rxjs/operators';import{HTTPService as _0x4361f6,ISocketService as _0x5d4e74,MergeInterceptorFactory as _0x2f4df3,HTTPRequest as _0x2818fa,UniverNetworkPlugin as _0xa39a7,ThresholdInterceptorFactory as _0x13da29}from'@univerjs/network';import{CollaborationEvent as _0x5951b7,parseChangesetToProtocol as _0x5ad9db,ISnapshotServerService as _0x26d0ed,isTransformMutationsWithChangesetSuccess as _0x5ca767,ITransformService as _0x5ac67f,mapDocumentTypeToUniverType as _0x38e49b,RevisionService as _0x43c42f,isTransformChangesetsSuccess as _0x5a7ea3,CompressMutationService as _0x3de081,parseProtocolChangeset as _0xe47276,SnapshotService as _0x238b02,textEncoder as _0xe9f210,b64DecodeUnicode as _0x40e907,isTransformMutationsWithChangesetFailure as _0x71faad,UniverCollaborationPlugin as _0x185969}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x136c07}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x366acf}from'@univerjs/docs';import{SheetsSelectionsService as _0x21ed2c,SetSelectionsOperation as _0x315b74,InsertSheetMutation as _0x15fbc6,EmptyMutation as _0x3fa2cb,WorkbookEditablePermission as _0x325569,SheetPermissionInitController as _0x3d0f20,UniverSheetsPlugin as _0x2c0594}from'@univerjs/sheets';import{ImageSourceType as _0x4ab5b9,ImageUploadStatusType as _0x591f32,IImageIoService as _0x59bad0}from'@univerjs/drawing';import{getGlobalObject as _0x32314f}from'@univerjs-pro/license';const En=_0x5a609d(0x28c),In=_0x5a609d(0x22c),Tn=_0x5a609d(0x199),eo=_0x5a609d(0x40e),Cn=0x7d0,Rn=_0x5a609d(0x3ab),bn=_0x5a609d(0x322),On='/universer-api/user/session-ticket',yn=_0x5a609d(0x2dc),Nn=0x7530,Si=_0x5a609d(0x40f),Ei=0x4e20,Dn=0x4e20,Pn=_0x5a609d(0x264),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x5a609d(0x3b1),An=_0x5a609d(0x426),xn=_0x5a609d(0x202),Ln=_0x5a609d(0x320),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x5a609d(0x326);var Ii=(_0x40bf24=>(_0x40bf24[_0x40bf24[_0x5a609d(0x194)]=0x0]='UNDEFINED',_0x40bf24[_0x40bf24['OK']=0x1]='OK',_0x40bf24[_0x40bf24[_0x5a609d(0x308)]=0x2]=_0x5a609d(0x308),_0x40bf24[_0x40bf24['PERMISSION_DENIED']=0x3]=_0x5a609d(0x237),_0x40bf24[_0x40bf24['NOT_FOUND']=0x4]=_0x5a609d(0x44f),_0x40bf24[_0x40bf24[_0x5a609d(0x334)]=0x5]=_0x5a609d(0x334),_0x40bf24[_0x40bf24[_0x5a609d(0x3c6)]=0x6]='ALREADY_EXISTS',_0x40bf24[_0x40bf24['INVALID_ARGUMENT']=0x7]=_0x5a609d(0x1bf),_0x40bf24[_0x40bf24[_0x5a609d(0x182)]=0x8]='TOO_MANY_REQUESTS',_0x40bf24[_0x40bf24[_0x5a609d(0x29e)]=0x9]=_0x5a609d(0x29e),_0x40bf24[_0x40bf24['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5a609d(0x25d),_0x40bf24[_0x40bf24['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5a609d(0x283),_0x40bf24[_0x40bf24['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5a609d(0x1b2),_0x40bf24[_0x40bf24[_0x5a609d(0x1ef)]=0x1773]=_0x5a609d(0x1ef),_0x40bf24[_0x40bf24[_0x5a609d(0x2b3)]=0x1b59]='APPLY_REJECT',_0x40bf24[_0x40bf24[_0x5a609d(0x362)]=0x1b5a]=_0x5a609d(0x362),_0x40bf24[_0x40bf24[_0x5a609d(0x1ae)]=0x1b5b]=_0x5a609d(0x1ae),_0x40bf24[_0x40bf24[_0x5a609d(0x3a8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x40bf24[_0x40bf24[_0x5a609d(0x32c)]=0x1b5d]='APPLY_DUPLICATED',_0x40bf24[_0x40bf24['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5a609d(0x1f2),_0x40bf24[_0x40bf24[_0x5a609d(0x37e)]=0x2329]=_0x5a609d(0x37e),_0x40bf24[_0x40bf24['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x40bf24[_0x40bf24[_0x5a609d(0x2cb)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40bf24[_0x40bf24[_0x5a609d(0x15b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x40bf24[_0x40bf24['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5a609d(0x447),_0x40bf24[_0x40bf24['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40bf24[_0x40bf24[_0x5a609d(0x1a1)]=0x2712]=_0x5a609d(0x1a1),_0x40bf24[_0x40bf24[_0x5a609d(0x424)]=0x2713]=_0x5a609d(0x424),_0x40bf24[_0x40bf24[_0x5a609d(0x311)]=0x2714]=_0x5a609d(0x311),_0x40bf24[_0x40bf24['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x40bf24[_0x40bf24[_0x5a609d(0x3cf)]=-0x1]=_0x5a609d(0x3cf),_0x40bf24))(Ii||{}),Q=(_0x31f118=>(_0x31f118[_0x31f118['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x31f118[_0x31f118[_0x5a609d(0x415)]=0x1]=_0x5a609d(0x415),_0x31f118[_0x31f118['UNIVER_SHEET']=0x2]=_0x5a609d(0x24d),_0x31f118[_0x31f118['UNIVER_SLIDE']=0x3]=_0x5a609d(0x1a4),_0x31f118[_0x31f118[_0x5a609d(0x35b)]=0x4]=_0x5a609d(0x35b),_0x31f118[_0x31f118[_0x5a609d(0x3cf)]=-0x1]=_0x5a609d(0x3cf),_0x31f118))(Q||{}),F=(_0x404e92=>(_0x404e92[_0x404e92[_0x5a609d(0x27a)]=0x0]=_0x5a609d(0x27a),_0x404e92[_0x404e92[_0x5a609d(0x206)]=0x1]='HELLO',_0x404e92[_0x404e92[_0x5a609d(0x3cd)]=0x2]='JOIN',_0x404e92[_0x404e92['LEAVE']=0x3]=_0x5a609d(0x297),_0x404e92[_0x404e92['INGEST']=0x4]=_0x5a609d(0x247),_0x404e92[_0x404e92[_0x5a609d(0x39c)]=0x5]=_0x5a609d(0x39c),_0x404e92[_0x404e92[_0x5a609d(0x2ef)]=0x6]=_0x5a609d(0x2ef),_0x404e92[_0x404e92[_0x5a609d(0x3cf)]=-0x1]='UNRECOGNIZED',_0x404e92))(F||{}),Ee=(_0x117b19=>(_0x117b19[_0x117b19[_0x5a609d(0x422)]=0x0]='UNKNOWN_CODE',_0x117b19[_0x117b19['OK']=0x1]='OK',_0x117b19[_0x117b19['FAIL']=0x2]=_0x5a609d(0x26e),_0x117b19[_0x117b19[_0x5a609d(0x41f)]=0x3e9]='JOIN_ROOM_FULL',_0x117b19[_0x117b19[_0x5a609d(0x2f0)]=0x3ea]=_0x5a609d(0x2f0),_0x117b19[_0x117b19[_0x5a609d(0x43e)]=0x3eb]=_0x5a609d(0x43e),_0x117b19[_0x117b19[_0x5a609d(0x171)]=0x3ec]=_0x5a609d(0x171),_0x117b19[_0x117b19[_0x5a609d(0x3cf)]=-0x1]='UNRECOGNIZED',_0x117b19))(Ee||{}),Ti=(_0x494ea1=>(_0x494ea1[_0x494ea1[_0x5a609d(0x20c)]=0x0]=_0x5a609d(0x20c),_0x494ea1[_0x494ea1['HttpImport']=0x1]=_0x5a609d(0x257),_0x494ea1[_0x494ea1[_0x5a609d(0x36e)]=0x2]=_0x5a609d(0x36e),_0x494ea1[_0x494ea1['UnitEmbedded']=0x3]=_0x5a609d(0x209),_0x494ea1[_0x494ea1[_0x5a609d(0x1e4)]=0x4]=_0x5a609d(0x1e4),_0x494ea1[_0x494ea1[_0x5a609d(0x3cf)]=-0x1]=_0x5a609d(0x3cf),_0x494ea1))(Ti||{});const q=_0x5a609d(0x33a),Wt={};var se=(_0x33106e=>(_0x33106e[_0x5a609d(0x1e9)]=_0x5a609d(0x1e9),_0x33106e['PERMISSION_DENIED']=_0x5a609d(0x237),_0x33106e[_0x5a609d(0x2a4)]=_0x5a609d(0x2a4),_0x33106e[_0x5a609d(0x419)]=_0x5a609d(0x419),_0x33106e[_0x5a609d(0x1b1)]=_0x5a609d(0x1b1),_0x33106e['SOCKET_FAILED_RETRY']=_0x5a609d(0x397),_0x33106e[_0x5a609d(0x444)]=_0x5a609d(0x444),_0x33106e[_0x5a609d(0x3a9)]=_0x5a609d(0x3a9),_0x33106e))(se||{});class pe{constructor(){var _0x2c8e04=_0x5a609d;N(this,_0x2c8e04(0x446),new _0x47b45d()),N(this,_0x2c8e04(0x1f3),this[_0x2c8e04(0x446)][_0x2c8e04(0x453)]());}[_0x5a609d(0x36f)](_0x3aa5ed){var _0x460bbf=_0x5a609d;this[_0x460bbf(0x446)][_0x460bbf(0x2f7)](_0x3aa5ed);}}function _0x48b4(){var _0x4ac57f=['_getAPIPrefixPath','MD5','/allowed','objectID','COLLAB_SUBMIT_CHANGESET_URL','unitId','_joinRoom','fetch_missing','collaboration-client.local-cache-service','onTransformIME','_transformRemoteChangesetByIMECache','_socketMessageSubscription','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','splice','bind','loadUnit','AWAITING_WITH_PENDING','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','__creator','getResourcesRequest','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','fetching\x20missing\x20changesets\x20from\x20','body','_removeRoom','getValue','ALREADY_EXISTS','setCurrentUser','_iKey','_parse','_sender','eventID','joinEvent','JOIN','_transformStateCache','UNRECOGNIZED','has','_telemetryService','now','EvpKDF','_listenToNetworkCondition','putCollaborators','_doReset','_clearUndo','{fileID}','sin','objectActions','getFocusedUnit','_stopTelemetryCollaborationNewChangeset','OpenSSL','sigBytes','_mode','padding','debug','permissionRejEvent','put','_retryConnectingTimer','getMember','listCollaborators','UNISCRIPT_RUN','_sheetTransformSelectionsService','_remoteChangesetQueue','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','csRejEvent','FileId','_nRounds','decryptBlock','Encryptor','post','session','reqId','executeCommand','mutations','onTransformRemoteChangesetByIMECache','_logService','LIVESHARE_NEW_HOST','csAckEvent','keySize','_scheduleCollaborationTimeoutTimer','save\x20fail\x20reason\x20is\x20','_createHmacHelper','pauseCollaboration','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HmacMD5','_createHandler','getImage','_loadSheet','_onUserLeave','prototype','setConfig','_onRecvEvent','4731573jKaJzG','textRanges','originalMeta','updateOfflineData','uploadFileServerUrl','collaboratorID','_waitForHeartbeatResponse','SEND_CHANGESET_TIMEOUT','HEARTBEAT_TIMEOUT','unit-cache-','toLowerCase','fromCollab','univer-pro.collaboration-client.single-active-unit-service','_startTelemetryCollaborationNewChangeset','UNIVER_DOC','MUTATION','Could\x20not\x20dynamically\x20require\x20\x22','createEncryptor','CLOSE_ROOM','mode','_keyPriorReset','add','collabWebSocketUrl','duration','JOIN_ROOM_FULL','unsubscribe','_getLoginPath','UNKNOWN_CODE','DEFAULT_FILE_NAME','YUUMI_RATE_OVER_LIMIT','_collabSessionService','/universer-api/comb','toggleOffline','_unitInfo$','disableLocalCache','_candidateSocket','BASE64','saveChangeset','LIVESHARE_TERMINATE','onRemoteChangeset','getUnitOnRev','collaMsg','/collaborator','LIVESHARE_FETCH_OPERATIONS','_toggleOnline','COMPRESS_MUTATION_APPLY','parse','subject','[CollaborationEntity]','USERS_LEAVE','hasOwnProperty','ciphertext','22807476LbGGtc','set','getLatestCsReqIdBySid','JOIN_ROOM_PERMISSION_DENIED','loadDoc','_collaborationUIEventService','_retryCount','type','title','SOCKET_FAILED','collabSubmitChangesetUrl','_event$','LICENSE_DISTRO_REJECTED','[CollaborationUndoRedoService]','infoRsp','encodeURIComponent','newCsEvent','batchAllowed','Hex','/-/object/-/batch_allowed','NOT_FOUND','_commandService','saveSheetBlock','onRemoteRej','asObservable','_clearHeartbeatTimer','image/jpg','dispose','decrypt','/universer-api/stream/file/upload','awaiting_with_pending','_transformStack','fetchMissingChangesets','AES','_createSocket','getUnitType','clamp','_executeRemoteChangeset','charCodeAt','Hasher','wsSessionTicketUrl','LICENSE_EXPORT_SIZE_EXCEEDED','_onConflict','localeService','_decreaseWaiting','_transformSelections','formatter','/universer-api/snapshot/','m2Prime','CHANGESET_ACK','_changesetReqId','_initUnitPermissionChange','floor','2xYHXyn','createCollaborator','compute','url','_authzIoService','csShouldRetryEvent','joinRsp','listRoles','getImageSourceCache','\x20-\x20','GLOBAL_ROOMS_CNT_EXCEEDS','onRemoteRetry','clone','HmacSHA1','location','_onFetchMissResult','PasswordBasedCipher','lib','saveSnapshot','getConfig','transformMutationsWithChangeset','LIVESHARE_REQUEST_HOST','/object','NO_OTHER_CLIENTS_EDITING','withCredentials','editingUnit','transformChangesets','TOO_MANY_REQUESTS','onMissedChangesetFetched','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','editing\x20status\x20changed\x20to','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getCurrentRevision','getTypeOfUnitAdded$','enc','_isPermissionRej','crypto','_createHelper','status$','[UniverCollaborationClientPlugin]','delete','apply','_onRemoteRetry','length','_iv','UNDEFINED','searchParams','get','getOwnPropertyDescriptor','stopTime','SNAPSHOT_URL_KEY','runId','PERSON','slice','awaitingChangeset','pad','fetchMiss','refreshPermission','YUUMI_URL_COL_OUT_OF_RANGE','_sessionStatus$','src','UNIVER_SLIDE','from','_throwTelemetryCollaborationNewChangeset','status','getTime','\x0aAfter:\x20','params','shouldCloseConn','_xformMode','cfg','APPLY_REVISION_CONFILICT','_clearCollaborationTimeoutTimer','_onOffline','JOIN_ROOM_FAILED','SNAPSHOT_HAS_BEEN_REMOVED','580uHvxUO','reset','3469716RuILfj','reject','byteLength','_localCacheService','every','_httpService','_univerInstanceService','registerHTTPInterceptor','create','[SyncedState]:\x20received\x20acknowledgement.','INVALID_ARGUMENT','/block/','iterations','updateMember','getCurrentSelections','[FetchMissState]','session.room-full','_showConflictNotification','OTHER_CLIENTS_EDITING','rev','Utf8','list','_onConnectionFailed','isArray','offline','_keySchedule','_createInitialStateImpl','_networkConditionService','search','_configService','/role','BlockCipherMode','_unlockTransition','fromCharCode','UPDATE_CURSOR','?url=','max','_clearLocalCache','_onMessage','session.room-cnt-exceeds','_collaborationTimeoutTimer','close','_createSocketURL','_onRemoteChangeset','update','getSnapshotAPIPath','default','UnitSnapshot','enableAuthServer','FETCH_MISSING','socket\x20open.','readInt32LE','OTHER_CLIENT_EDITING','encrypt','state','auth.needGotoLoginAlert','filter','74136xUEXVP','ENSURE_SNAPSHOT_EXECUTION','1298936mKtkyA','COMPRESS_MUTATION_SEND','CONNECTOR_DATA_TOO_LARGE','event$','session.room-permission-denied','words','USERS_ENTER','_localeService','kdf','toggleOnline','_append','blockSize','\x20to\x20','entries','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','format','reconnect','createSocket','LOGIN_URL_KEY','AUTHZ_URL_KEY','_onJoinRoomEvent','_scheduleCompleteTimestamp','HELLO','JOINING','code','UnitEmbedded','range','signUrlServerUrl','Undefined','ticket','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','hasher','_imageSourceCache','AWAITING','MSG_FOR_ERROR','[CollaborationSession]','_clearScheduledTask','actions','pipe','_rescheduleHeartbeat','string','focused$','changesets','onTransformSelections','[CollaborationSessionService]:\x20socket\x20error','_lockTransition','_initDependencies','onload','_schedule','error$','_data','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','equals','_unitID','[PendingState]:\x20received\x20rejection.','randomUUID','_state','forEach','_prevBlock','_initRequestHeader','/universer-api/snapshot','_transformUndoredo','initWorkbookPermissionChange','CHANGESET_SHOULD_RETRY','init','_onConnectionOpen','_tryEnsureSocket','Pkcs7','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_instanceService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','PERMISSION_DENIED','_doProcessBlock','UUID','_updateLocalCache','/resources','sessionTicket','_undoRedoService','_commentUpdate$','_exhaustRemoteChangesetQueue','encode','awaiting','BlockCipher','findIndex','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','change$','complete','INGEST','interceptor','_onRemoteACK','_hasher','NOT_COLLAB','[CollaborationSessionService]','UNIVER_SHEET','onCommentUpdate','exports','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_resendWithTimeout','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ERROR_EXCEED_SIZE','updateCursorEvent','repeat','_socket$','HttpImport','defineProperty','state$','SUBMIT_CHANGESET','_clearRedo','authzUrl','CHANGESET_REVISION_CONFILICT','socket\x20close','_members$','sid','NoPadding','_pendingMutations','_incrementRevisionNumber','RETRY_CONNECTING_MAX_COUNT','submit\x20changeset\x20error!','_fetchMissChangesets','liveShareNewHost','result','_state$','msCrypto','min','open$','Malformed\x20UTF-8\x20data','FAIL','image/gif','_hash','routeKey','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[SyncedState]:\x20received\x20rejection.','generateRandomId','subscribe','[PendingState]:\x20unhandled\x20univer\x20type:\x20','setShowComponents','salt','Latin1','UNKNOWN_CMD','pending','fetchThroughInterceptors','onSyncEditingCollabCursor','Univer','_sendHeartbeatTimer','_compressMutationService','_injector','onMissingChangesets','SNAPSHOT_INVALID_SNAPSHOT','ivSize','_registerDependencies','SHOULD_CLOSE_CONN','cmd','commentUpdate$','_tryReconnect','_substituteUndoStack','_entityInit$','SNAPSHOT_SERVER_URL_KEY','c1Prime','members$','close$','?size=','onTransformRemoteChangesetByStateCache','catch','unitID','selections','univer-pro.collaboration-client-socket-service','objectType','LEAVE','map','Base','_checkMissing','collaboration_new_changeset','leaveEvent','getCurrentRevOfUnit','COMPLETION_FINISHED','_updateStatus','key','SerializableCipher','_nDataBytes','extend','CONFLICT','onlyLocal','&source=','_socketService','HMAC','_resendTimer','UPDATE_PERMISSION_OBJ','requireSession','append','random','disposeWithMe','_invKeySchedule','/object/','byteOffset','roomInfos','APPLY_REJECT','_telemetryInfo','clear','_onCombEvent','symbol','_snapshotService','processBlock','unpad','snapshot','getAllMembers','_http','patch','updatePermissionObjEvent','onTransformState','_sessions','finalize','collaborators','_status$','_replayCachedMutations','Base64','workbook','getCurrentUser','_initCloseConn','$super','LICENSE_IMPORT_SIZE_EXCEEDED','_revisionService','loadOfflineData','_getSignURL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','localCacheService','_HTTPService','setWaitCount','copyFileMeta','createInstance','_singleActiveUnitService','COMMENT_UPDATE','_disableEditing','waitForRoom$','_reverseMap','socketService','WordArray','HEARTBEAT_INTERVAL','/rev/','_resendTimeout','_awaitingChangeset','file','_changesetSessionId','_transformIMECache','conflict','_getSendChangesetTimeout','_DEC_XFORM_MODE','_process','readyForCollab','_minBufferSize','removeMember','sendChangesetTimeout','_getSessionTicket','isPermissionRej','incrementRevOfUnit','People','RECV','JOIN_ROOM_NOT_EXISTS','socket$','transformSelections','_snapshotServerService','entityInit$','sessionStatus','image/png','next','appendMutation','_shouldReportTelemetry','BufferedBlockAlgorithm','sessionStatus$','_permissionService','/fetchmissing?from=','_members','_undoStacks','_loadDoc','_onUserJoin','CHANGESET_REJ','PSEUDO_FETCH_MISSING_RESULT','method','failed\x20to\x20apply\x20missed\x20changesets!','CipherParams','abs','INTERNAL_ERROR','hostname','name','OFFLINE','&assign=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','find','_onRemoteRejected','getRoom','YUUMI_SUBSCRIPTION_NOT_FOUND','getDeserializedSheetBlock','data','[OfflineState]:\x20received\x20rejection.','322716aSbKgK','allowed','_transitionLocked','push','compose','getMemberID','POST','application/json','SHA1','_getDownloadEndpointURL','ERROR_IMAGE','/universer-api/oidc/authpage','getUnit','ws://127.0.0.1:8000/universer-api/comb/connect','UNIVER_COLLABORATION_CLIENT_PLUGIN','_collaborationSessionService','createDecryptor','/universer-api/uniscript','getSheetBlock','send','_change$','_substituteRedoStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','APPLY_DUPLICATED','substr','_memberService','_toggleOffline','getUnitId','concat','updatePermissionPoint','action','UNAUTHENTICATED','baseRev','closeSession','message$','deleteCollaborator','_transformRemoteChangesetByStateCache','collaboration-client.config','synced','onStarting','unitInfo$','_getCtorByUniverType','_doCryptBlock','_oKey','_timeoutTimer','_socket','session.join-failed','_onLocalMutation','getTypeOfUnitDisposed$','_replaceFileID','connection\x20error','_submitChangeset','memberID','values','getCollabEntity$','_transformService','5091096sQkUKw','onSendChangeset','_collaborationPaused','error','/-/object/list','size','reverse','snapshotServerUrl','_redoStacks','loadSheet','ONLINE','mixIn','_handlerCallback','downloadEndpointUrl','UNIVER_PROJECT','getRandomValues','_acknowledgedAwaitingChangeset','_waitCount','_clearTimeoutTimer','_applyRemoteChangeset','dispose$','APPLY_NON_SEQUENTIAL_REVISION','addImageSourceCache','override','toString','_sendHeartbeat','_roomCreated$','IDLE','requestParams','target','getInterceptPoints','getCollabEntity','call','HttpExport','emitEvent','[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.','_queuedRemoteChangesets','startTime','_ENC_XFORM_MODE','[DataLoaderService]','PERMISSION_REJ','algo','NEW_CHANGESETS','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','image/bmp','stringify','_key','_sendingTimer','_syncEditingCollabCursor','LICENSE_MAX_UNITS_EXCEEDED','/unit/','LIVESHARE_OPERATION','_userManagerService','_getAPIPrefix','unknown','onRemoteAck','_cipher','_createInitialState','onCommandExecuted','userID','_getUndoStack','join','_eventService','_init','_roomMembers','_config','function','univer-pro.collaboration-client.network-condition.service','headers','resend','subUnitId','_updateState','origin','ceil','SOCKET_FAILED_RETRY','members','resourceIDs','_getUploadFileURL','transformStack\x20failed!','HEARTBEAT','_commentService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_socketReady','_handler','_emitMembers','_doFinalize','charAt','_startCollaboration','StreamCipher','Error\x20on\x20receiving\x20event','_entities','APPLY_PERMISSION_DENIED','SUBMIT_CHANGESET_TIMEOUT','readAsDataURL','COLLAB_WEB_SOCKET_URL','revision'];_0x48b4=function(){return _0x4ac57f;};return _0x48b4();}const Mn=_0x9be44d(_0x5a609d(0x390));function $n(_0x7d548){var _0x2a946c=_0x5a609d,_0x3cd921,_0x255a27,_0x27e8ac,_0x5881fc,_0x3a5258;const _0x5c3df9=_0x7d548[_0x2a946c(0x313)],_0x1ee6b4=JSON[_0x2a946c(0x435)](_0x5c3df9);switch(_0x1ee6b4[_0x2a946c(0x287)]){case F[_0x2a946c(0x39c)]:case F['HELLO']:{const _0x4ec858=_0x1ee6b4[_0x2a946c(0x449)];return{..._0x1ee6b4,'data':_0x4ec858,'cmd':_0x1ee6b4[_0x2a946c(0x287)]};}case F['JOIN']:{const _0x9529ec=_0x1ee6b4[_0x2a946c(0x16d)];return{..._0x1ee6b4,'data':_0x9529ec,'cmd':_0x1ee6b4[_0x2a946c(0x287)]};}case F[_0x2a946c(0x2ef)]:{const _0x44837e=_0x1ee6b4[_0x2a946c(0x430)];switch(_0x44837e[_0x2a946c(0x3cb)]){case _0x5951b7[_0x2a946c(0x375)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':(_0x3cd921=_0x44837e[_0x2a946c(0x3e2)])==null?void 0x0:_0x3cd921['cs']},'cmd':_0x1ee6b4['cmd']};case _0x5951b7[_0x2a946c(0x163)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':(_0x255a27=_0x44837e[_0x2a946c(0x3f8)])==null?void 0x0:_0x255a27['cs']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x377)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':(_0x27e8ac=_0x44837e[_0x2a946c(0x44b)])==null?void 0x0:_0x27e8ac['cs']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x302)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':(_0x5881fc=_0x44837e[_0x2a946c(0x3eb)])==null?void 0x0:_0x5881fc['cs']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x22f)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':(_0x3a5258=_0x44837e[_0x2a946c(0x16c)])==null?void 0x0:_0x3a5258['cs']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x1d7)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e[_0x2a946c(0x254)]},'cmd':_0x1ee6b4['cmd']};case _0x5951b7[_0x2a946c(0x1f6)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e[_0x2a946c(0x3cc)]},'cmd':_0x1ee6b4['cmd']};case _0x5951b7[_0x2a946c(0x438)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e[_0x2a946c(0x29c)]},'cmd':_0x1ee6b4['cmd']};case _0x5951b7[_0x2a946c(0x3f7)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e['liveShareNewHost']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x432)]:case _0x5951b7[_0x2a946c(0x380)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e['liveShareOperation']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7['LIVESHARE_TERMINATE']:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e[_0x2a946c(0x267)]},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x212)]:return{..._0x1ee6b4,'data':_0x44837e,'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x2d6)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e['commentUpdateEvent']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x2aa)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e[_0x2a946c(0x2bf)]},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x286)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e[_0x2a946c(0x1ab)]},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};case _0x5951b7[_0x2a946c(0x3e7)]:return{..._0x1ee6b4,'data':{..._0x44837e,'data':_0x44837e['uniscriptRunEvent']},'cmd':_0x1ee6b4[_0x2a946c(0x287)]};default:return _0x1ee6b4;}}default:return _0x1ee6b4;}}function Hn(_0x19c116){var _0x3c428e=_0x5a609d;switch(_0x19c116[_0x3c428e(0x287)]){case F['HEARTBEAT']:case F[_0x3c428e(0x206)]:return JSON[_0x3c428e(0x37a)]({'cmd':_0x19c116['cmd'],'routeKey':_0x19c116[_0x3c428e(0x271)]});case F[_0x3c428e(0x247)]:{let _0xdc00fe;switch(_0x19c116[_0x3c428e(0x313)]['eventID']){case _0x5951b7['UPDATE_CURSOR']:{_0xdc00fe={'eventID':_0x5951b7[_0x3c428e(0x1d7)],'updateCursorEvent':_0x19c116[_0x3c428e(0x313)][_0x3c428e(0x313)]};break;}case _0x5951b7['USERS_LEAVE']:{_0xdc00fe={'eventID':_0x5951b7[_0x3c428e(0x438)],'leaveEvent':_0x19c116[_0x3c428e(0x313)][_0x3c428e(0x313)]};break;}case _0x5951b7[_0x3c428e(0x1f6)]:{_0xdc00fe={'eventID':_0x5951b7[_0x3c428e(0x1f6)],'joinEvent':_0x19c116[_0x3c428e(0x313)]['data']};break;}case _0x5951b7[_0x3c428e(0x3f7)]:{_0xdc00fe={'eventID':_0x5951b7[_0x3c428e(0x3f7)],'liveShareNewHost':_0x19c116[_0x3c428e(0x313)][_0x3c428e(0x313)]};break;}case _0x5951b7['LIVESHARE_OPERATION']:{_0xdc00fe={'eventID':_0x5951b7['LIVESHARE_OPERATION'],'liveShareOperation':_0x19c116[_0x3c428e(0x313)][_0x3c428e(0x313)]};break;}case _0x5951b7['LIVESHARE_TERMINATE']:{_0xdc00fe={'eventID':_0x5951b7[_0x3c428e(0x42d)],'liveShareTerminate':_0x19c116[_0x3c428e(0x313)][_0x3c428e(0x313)]};break;}case _0x5951b7['LIVESHARE_REQUEST_HOST']:{_0xdc00fe={'eventID':_0x5951b7[_0x3c428e(0x17c)],'liveShareRequestHost':_0x19c116['data'][_0x3c428e(0x313)]};break;}case _0x5951b7[_0x3c428e(0x432)]:{_0xdc00fe={'eventID':_0x5951b7[_0x3c428e(0x432)]};break;}default:_0xdc00fe={'eventID':_0x19c116[_0x3c428e(0x313)]['eventID']};}return JSON[_0x3c428e(0x37a)]({'cmd':_0x19c116[_0x3c428e(0x287)],'routeKey':_0x19c116['routeKey'],'collaMsg':_0xdc00fe});}case F[_0x3c428e(0x3cd)]:return JSON[_0x3c428e(0x37a)]({'cmd':_0x19c116[_0x3c428e(0x287)],'routeKey':_0x19c116[_0x3c428e(0x271)],'joinReq':_0x19c116[_0x3c428e(0x313)]});case F[_0x3c428e(0x297)]:return JSON[_0x3c428e(0x37a)]({'cmd':_0x19c116[_0x3c428e(0x287)],'routeKey':_0x19c116[_0x3c428e(0x271)],'leaveReq':_0x19c116[_0x3c428e(0x313)]});default:throw new Error(_0x3c428e(0x30d));}}var kn=Object['defineProperty'],jn=Object[_0x5a609d(0x197)],Bn=(_0x4aabb1,_0x3324eb,_0x3b4238,_0x5643da)=>{var _0x50c65d=_0x5a609d;for(var _0x215002=_0x5643da>0x1?void 0x0:_0x5643da?jn(_0x3324eb,_0x3b4238):_0x3324eb,_0x1c59ed=_0x4aabb1[_0x50c65d(0x192)]-0x1,_0x108a7e;_0x1c59ed>=0x0;_0x1c59ed--)(_0x108a7e=_0x4aabb1[_0x1c59ed])&&(_0x215002=(_0x5643da?_0x108a7e(_0x3324eb,_0x3b4238,_0x215002):_0x108a7e(_0x215002))||_0x215002);return _0x5643da&&_0x215002&&kn(_0x3324eb,_0x3b4238,_0x215002),_0x215002;},Ue=(_0x5ad1f7,_0xb95362)=>(_0x38daf8,_0x24c9bf)=>_0xb95362(_0x38daf8,_0x24c9bf,_0x5ad1f7);const Ci=_0x9be44d(_0x5a609d(0x295));function Fn(_0x165164,_0x2a38d6,_0x18b2a7){var _0x605356=_0x5a609d;return _0x165164+'/'+_0x2a38d6+_0x605356(0x37f)+_0x18b2a7+'/new_changes';}let Et=class extends _0xa17c38{constructor(_0x3ddeff,_0x1710f6,_0x2fb37e,_0x27beb8,_0x335323){var _0x54d5b7=_0x5a609d;super(),this[_0x54d5b7(0x281)]=_0x3ddeff,this[_0x54d5b7(0x2bd)]=_0x1710f6,this[_0x54d5b7(0x1d2)]=_0x2fb37e,this['_logService']=_0x27beb8,this[_0x54d5b7(0x2f3)]=_0x335323;}[_0x5a609d(0x201)](_0x40f22e){var _0x58ae41=_0x5a609d;const _0x42b871=this[_0x58ae41(0x281)][_0x58ae41(0x196)](_0x5d4e74);if(!_0x42b871)throw new Error(_0x58ae41(0x252));const _0x435133=_0x42b871['createSocket'](_0x40f22e);if(!_0x435133)throw new Error(_0x58ae41(0x32b));const _0x2ca4c0=new _0x249025(),_0x350717=new _0x47b45d();_0x2ca4c0['add'](_0x435133[_0x58ae41(0x28f)][_0x58ae41(0x275)](_0x10c02b=>_0x350717['next'](_0x10c02b))),_0x2ca4c0[_0x58ae41(0x41c)](_0x1923a4(()=>_0x350717['complete']()));const _0x3b17df=new _0x47b45d();_0x2ca4c0[_0x58ae41(0x41c)](_0x435133[_0x58ae41(0x221)][_0x58ae41(0x275)](_0xf8f2be=>_0x3b17df['next'](_0xf8f2be))),_0x2ca4c0[_0x58ae41(0x41c)](_0x1923a4(()=>_0x3b17df[_0x58ae41(0x246)]()));const _0x30a61c=new _0x47b45d();_0x2ca4c0['add'](_0x435133[_0x58ae41(0x337)]['subscribe'](_0x44e6bc=>{var _0x6f6659=_0x58ae41;const _0x5a8ce7=$n(_0x44e6bc);_0x30a61c[_0x6f6659(0x2f7)](_0x5a8ce7);})),_0x2ca4c0[_0x58ae41(0x41c)](_0x1923a4(()=>_0x30a61c[_0x58ae41(0x246)]()));let _0x268218;const _0x245d1e=()=>{var _0x4ec6c6=_0x58ae41;_0x3b17df[_0x4ec6c6(0x2f7)](new Event(_0x4ec6c6(0x347))),_0x350717[_0x4ec6c6(0x2f7)](new CloseEvent(_0x4ec6c6(0x347))),_0x268218[_0x4ec6c6(0x1de)]();};return _0x268218={'memberID':'','close$':_0x350717[_0x58ae41(0x453)](),'error$':_0x3b17df[_0x58ae41(0x453)](),'open$':_0x435133[_0x58ae41(0x26c)],'message$':_0x30a61c[_0x58ae41(0x453)](),'send':_0x5b908e=>{var _0xf5e46a=_0x58ae41;if(_0x5b908e[_0xf5e46a(0x287)]===F[_0xf5e46a(0x247)]){if(_0x5b908e[_0xf5e46a(0x313)][_0xf5e46a(0x3cb)]===_0x5951b7[_0xf5e46a(0x25a)]){this[_0xf5e46a(0x348)](_0x268218,_0x5b908e[_0xf5e46a(0x313)])[_0xf5e46a(0x292)](_0x4ea44b=>{var _0x384fcb=_0xf5e46a;this[_0x384fcb(0x3f6)]['error'](_0x4ea44b),_0x245d1e();});return;}if(_0x5b908e['data']['eventID']===_0x5951b7[_0xf5e46a(0x1e6)]){const _0x251a42=_0x5b908e[_0xf5e46a(0x313)];this['_fetchMissChangesets'](_0x251a42)['then'](_0x5caf91=>{var _0x1825ce=_0xf5e46a;_0x30a61c['next']({'cmd':F[_0x1825ce(0x2ef)],'code':Ee['OK'],'routeKey':_0x251a42[_0x1825ce(0x313)][_0x1825ce(0x293)],'routeType':'','data':{'eventID':_0x5951b7[_0x1825ce(0x303)],'data':{'changesets':_0x5caf91}}});})[_0xf5e46a(0x292)](_0x529c22=>{var _0x5c4558=_0xf5e46a;this['_logService'][_0x5c4558(0x350)](_0x529c22),_0x245d1e();});return;}}_0x435133[_0xf5e46a(0x328)](Hn(_0x5b908e));},'close':()=>{var _0x506486=_0x58ae41;_0x435133[_0x506486(0x1de)](),_0x2ca4c0[_0x506486(0x456)]();}},_0x268218;}async[_0x5a609d(0x348)](_0x2cccfb,_0x234da1){var _0x26ae48=_0x5a609d,_0x51a565,_0x229876;const {unitType:_0x31bfa1,unitID:_0x2af3ca,changeset:_0x233ddb}=_0x234da1[_0x26ae48(0x313)],_0x35b8e3={'unitID':_0x2af3ca,'memberID':_0x2cccfb[_0x26ae48(0x349)],'type':_0x31bfa1,'changeset':_0x5ad9db(_0x233ddb)},_0x274cab=this[_0x26ae48(0x1d2)][_0x26ae48(0x17a)](Un),_0x3f216c=this[_0x26ae48(0x1d2)][_0x26ae48(0x17a)](q),_0x10694c=Fn((_0x229876=(_0x51a565=_0x3f216c==null?void 0x0:_0x3f216c[_0x26ae48(0x445)])!=null?_0x51a565:_0x274cab)!=null?_0x229876:An,_0x31bfa1,_0x2af3ca);try{await this['_http'][_0x26ae48(0x3f0)](_0x10694c,{'body':_0x35b8e3});}catch(_0xbfed3){throw this[_0x26ae48(0x3f6)][_0x26ae48(0x350)](_0x26ae48(0x213),_0x26ae48(0x265)),_0xbfed3;}}async[_0x5a609d(0x266)](_0x2f1853){var _0x3254c7=_0x5a609d;const {unitID:_0x105d9f,from:_0x4580b0,to:_0x439b6d,unitType:_0x50cf2d}=_0x2f1853[_0x3254c7(0x313)];return(await this['_snapshotServerService'][_0x3254c7(0x45b)]({'metadata':void 0x0},{'unitID':_0x105d9f,'type':_0x50cf2d,'from':_0x4580b0,'to':_0x439b6d}))[_0x3254c7(0x21a)];}};Et=Bn([Ue(0x0,_0x4993c2(_0x2c6931)),Ue(0x1,_0x4993c2(_0x4361f6)),Ue(0x2,_0x5e63be),Ue(0x3,_0x19cece),Ue(0x4,_0x26d0ed)],Et);const Vn=_0x5a609d(0x29b);function Gn(_0x1f477f){var _0x3bf14c=_0x5a609d;return JSON['stringify'](_0x1f477f)[_0x3bf14c(0x192)];}class Ri{constructor(){var _0x262095=_0x5a609d;N(this,_0x262095(0x23e),new _0x47b45d()),N(this,_0x262095(0x288),this[_0x262095(0x23e)][_0x262095(0x453)]());}['onCommentUpdate'](_0x30c389){var _0x274246=_0x5a609d;this[_0x274246(0x23e)]['next'](_0x30c389);}}var Wn=Object[_0x5a609d(0x258)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0xff2538,_0x58e2be,_0x52af1d,_0x1074cc)=>{var _0x343f88=_0x5a609d;for(var _0x2014aa=_0x1074cc>0x1?void 0x0:_0x1074cc?Kn(_0x58e2be,_0x52af1d):_0x58e2be,_0x3e270b=_0xff2538[_0x343f88(0x192)]-0x1,_0x3ecdfd;_0x3e270b>=0x0;_0x3e270b--)(_0x3ecdfd=_0xff2538[_0x3e270b])&&(_0x2014aa=(_0x1074cc?_0x3ecdfd(_0x58e2be,_0x52af1d,_0x2014aa):_0x3ecdfd(_0x2014aa))||_0x2014aa);return _0x1074cc&&_0x2014aa&&Wn(_0x58e2be,_0x52af1d,_0x2014aa),_0x2014aa;},Kt=(_0x35b372,_0xf1ba5a)=>(_0x46b679,_0x5cff0a)=>_0xf1ba5a(_0x46b679,_0x5cff0a,_0x35b372);let xe=class extends _0xa17c38{constructor(_0x55f7b9,_0x35afe5){var _0x270bc9=_0x5a609d;super(),N(this,_0x270bc9(0x38d),new Map()),N(this,'_roomCreated$',new _0x47b45d()),(this[_0x270bc9(0x1bb)]=_0x55f7b9,this[_0x270bc9(0x381)]=_0x35afe5,this[_0x270bc9(0x2ae)](_0xa936b8(this[_0x270bc9(0x1bb)]['getTypeOfUnitDisposed$'](_0x3ddab9[_0x270bc9(0x24d)])[_0x270bc9(0x216)](_0x3dc5d9(_0x5d05a7=>_0x5d05a7[_0x270bc9(0x330)]())),this['_univerInstanceService'][_0x270bc9(0x345)](_0x3ddab9[_0x270bc9(0x415)])['pipe'](_0x3dc5d9(_0x1e41f8=>_0x1e41f8[_0x270bc9(0x330)]())),this[_0x270bc9(0x1bb)][_0x270bc9(0x345)](_0x3ddab9[_0x270bc9(0x1a4)])[_0x270bc9(0x216)](_0x3dc5d9(_0x1aa94c=>_0x1aa94c[_0x270bc9(0x330)]())))[_0x270bc9(0x275)](_0x5f5a2e=>this[_0x270bc9(0x3c4)](_0x5f5a2e))));}[_0x5a609d(0x2d8)](_0x430a11){var _0x1eb494=_0x5a609d;return this[_0x1eb494(0x38d)][_0x1eb494(0x3d0)](_0x430a11)?_0x22dc1e(this[_0x1eb494(0x38d)][_0x1eb494(0x196)](_0x430a11)):this[_0x1eb494(0x367)]['pipe'](_0x3dc5d9(_0x4b366b=>{var _0x2a36fd=_0x1eb494;if(_0x4b366b===_0x430a11)return this[_0x2a36fd(0x38d)][_0x2a36fd(0x196)](_0x4b366b);}));}['setCurrentUser'](_0xd08c2e){var _0x16684e=_0x5a609d;this[_0x16684e(0x381)][_0x16684e(0x3c7)](_0xd08c2e);}['getCurrentUser'](){var _0x2fbe1d=_0x5a609d;return this[_0x2fbe1d(0x381)][_0x2fbe1d(0x2c8)]();}[_0x5a609d(0x1c2)](_0x3f1919,_0x3313a9){var _0x58ddbe=_0x5a609d;let _0x129b92=this[_0x58ddbe(0x38d)][_0x58ddbe(0x196)](_0x3f1919);_0x129b92||(_0x129b92=new qn(),this[_0x58ddbe(0x38d)]['set'](_0x3f1919,_0x129b92),this[_0x58ddbe(0x367)][_0x58ddbe(0x2f7)](_0x3f1919)),_0x129b92[_0x58ddbe(0x1c2)](_0x3313a9);}[_0x5a609d(0x2e9)](_0x3affe0,_0x45626d){var _0x5d2840=_0x5a609d;const _0x56d287=this['_roomMembers'][_0x5d2840(0x196)](_0x3affe0);_0x56d287&&_0x56d287[_0x5d2840(0x2e9)](_0x45626d);}[_0x5a609d(0x310)](_0x15d337){var _0x480523=_0x5a609d;return this[_0x480523(0x38d)][_0x480523(0x196)](_0x15d337);}[_0x5a609d(0x3e5)](_0x14557d,_0x37cec4){var _0x9d870a=_0x5a609d;const _0x5e8b89=this[_0x9d870a(0x38d)][_0x9d870a(0x196)](_0x14557d);if(_0x5e8b89)return _0x5e8b89[_0x9d870a(0x3e5)](_0x37cec4);}[_0x5a609d(0x3c4)](_0x2be958){var _0x57cbca=_0x5a609d;const _0x4c3868=this[_0x57cbca(0x38d)]['get'](_0x2be958);_0x4c3868&&(_0x4c3868[_0x57cbca(0x456)](),this[_0x57cbca(0x38d)][_0x57cbca(0x18f)](_0x2be958));}['dispose'](){var _0x485ba1=_0x5a609d;this[_0x485ba1(0x38d)][_0x485ba1(0x229)](_0x2ca3a1=>_0x2ca3a1['dispose']()),this['_roomMembers'][_0x485ba1(0x2b5)](),this[_0x485ba1(0x367)][_0x485ba1(0x246)]();}};xe=Yn([Kt(0x0,_0x3e893c),Kt(0x1,_0x4993c2(_0x39f155))],xe);class qn extends _0xa17c38{constructor(){var _0x3579cb=_0x5a609d;super(...arguments),N(this,_0x3579cb(0x2fe),new Map()),N(this,_0x3579cb(0x25f),new _0x2e1607(this[_0x3579cb(0x2fe)])),N(this,_0x3579cb(0x28e),this['_members$'][_0x3579cb(0x453)]());}[_0x5a609d(0x456)](){var _0x5409a0=_0x5a609d;this[_0x5409a0(0x2fe)][_0x5409a0(0x2b5)]();}['updateMember'](_0x1ff219){var _0x529b16=_0x5a609d;this[_0x529b16(0x2fe)][_0x529b16(0x43c)](_0x1ff219[_0x529b16(0x349)],_0x1ff219),this[_0x529b16(0x3a1)]();}[_0x5a609d(0x2e9)](_0x56b6ab){var _0x55eae6=_0x5a609d;this['_members'][_0x55eae6(0x18f)](_0x56b6ab);}['getMember'](_0x4d96ce){var _0x130551=_0x5a609d;return this[_0x130551(0x2fe)][_0x130551(0x196)](_0x4d96ce);}[_0x5a609d(0x2bc)](){var _0x4a1f9a=_0x5a609d;return Array[_0x4a1f9a(0x1a5)](this[_0x4a1f9a(0x2fe)][_0x4a1f9a(0x34a)]());}[_0x5a609d(0x3a1)](){var _0x4c5d32=_0x5a609d;this[_0x4c5d32(0x25f)][_0x4c5d32(0x2f7)](this[_0x4c5d32(0x2fe)]);}}var zn=Object[_0x5a609d(0x258)],Jn=Object[_0x5a609d(0x197)],Xn=(_0x4e16b4,_0x5db171,_0x196022,_0x1b2821)=>{var _0x465c87=_0x5a609d;for(var _0x125948=_0x1b2821>0x1?void 0x0:_0x1b2821?Jn(_0x5db171,_0x196022):_0x5db171,_0x4d6b4c=_0x4e16b4[_0x465c87(0x192)]-0x1,_0x580e3f;_0x4d6b4c>=0x0;_0x4d6b4c--)(_0x580e3f=_0x4e16b4[_0x4d6b4c])&&(_0x125948=(_0x1b2821?_0x580e3f(_0x5db171,_0x196022,_0x125948):_0x580e3f(_0x125948))||_0x125948);return _0x1b2821&&_0x125948&&zn(_0x5db171,_0x196022,_0x125948),_0x125948;},me=(_0x48d150,_0xaccb6e)=>(_0x18a6a2,_0x34d572)=>_0xaccb6e(_0x18a6a2,_0x34d572,_0x48d150),Te=(_0x1fc2b6=>(_0x1fc2b6[_0x1fc2b6[_0x5a609d(0x368)]=0x0]=_0x5a609d(0x368),_0x1fc2b6[_0x1fc2b6[_0x5a609d(0x207)]=0x1]=_0x5a609d(0x207),_0x1fc2b6[_0x1fc2b6[_0x5a609d(0x30b)]=0x2]=_0x5a609d(0x30b),_0x1fc2b6[_0x1fc2b6[_0x5a609d(0x357)]=0x3]=_0x5a609d(0x357),_0x1fc2b6))(Te||{});const Yt={[Ee[_0x5a609d(0x26e)]]:_0x5a609d(0x343),[Ee[_0x5a609d(0x41f)]]:_0x5a609d(0x1c5),[Ee[_0x5a609d(0x2f0)]]:'session.room-not-exists',[Ee[_0x5a609d(0x43e)]]:_0x5a609d(0x1f4),[Ee[_0x5a609d(0x171)]]:_0x5a609d(0x1dc)};let It=class extends _0x14f46f{constructor(_0x5c7910,_0x585b96,_0x2860e1,_0x59abae,_0x53dfb6,_0xfe087,_0x4613ee,_0x216587,_0xa84a3f){var _0x3c0972=_0x5a609d;super(),N(this,_0x3c0972(0x1a2),new _0x2e1607(0x0)),N(this,'sessionStatus$',this[_0x3c0972(0x1a2)][_0x3c0972(0x453)]()),N(this,_0x3c0972(0x446),new _0x47b45d()),N(this,_0x3c0972(0x1f3),this[_0x3c0972(0x446)][_0x3c0972(0x453)]()),N(this,_0x3c0972(0x342)),N(this,_0x3c0972(0x3b8)),N(this,_0x3c0972(0x1dd)),N(this,_0x3c0972(0x2f9),!0x1),N(this,'_telemetryInfo',null),(this[_0x3c0972(0x225)]=_0x5c7910,this[_0x3c0972(0x3f6)]=_0x2860e1,this[_0x3c0972(0x1d2)]=_0x59abae,this[_0x3c0972(0x1f7)]=_0x53dfb6,this[_0x3c0972(0x32e)]=_0xfe087,this[_0x3c0972(0x39d)]=_0x4613ee,this[_0x3c0972(0x440)]=_0x216587,this[_0x3c0972(0x3d1)]=_0xa84a3f,this[_0x3c0972(0x2f9)]=!!this[_0x3c0972(0x3d1)],_0x585b96[_0x3c0972(0x216)](_0x3760b4(this[_0x3c0972(0x361)]))[_0x3c0972(0x275)](_0x316a93=>{var _0x4f7b1b=_0x3c0972,_0x5522e2;typeof _0x316a93>'u'||(this[_0x4f7b1b(0x342)]=_0x316a93,_0x316a93?(this['_joinRoom'](_0x316a93),this[_0x4f7b1b(0x3b8)]=_0x316a93['message$'][_0x4f7b1b(0x275)](_0x5e8555=>{var _0x1aea3b=_0x4f7b1b;_0x5e8555[_0x1aea3b(0x271)]===this['_unitID']&&this['_onCombEvent'](_0x5e8555);})):(this[_0x4f7b1b(0x1a6)](),this[_0x4f7b1b(0x1a2)][_0x4f7b1b(0x2f7)](0x2),(_0x5522e2=this[_0x4f7b1b(0x3b8)])==null||_0x5522e2[_0x4f7b1b(0x420)](),this['_socketMessageSubscription']=null));}));}get[_0x5a609d(0x2f5)](){var _0x20b380=_0x5a609d;return this[_0x20b380(0x1a2)][_0x20b380(0x3c5)]();}[_0x5a609d(0x31a)](){var _0xaf488=_0x5a609d,_0x357cc3,_0x12317a;return(_0x12317a=(_0x357cc3=this['_socket'])==null?void 0x0:_0x357cc3[_0xaf488(0x349)])!=null?_0x12317a:null;}[_0x5a609d(0x456)](){var _0x20499d=_0x5a609d;super['dispose'](),this[_0x20499d(0x361)][_0x20499d(0x2f7)](),this[_0x20499d(0x361)]['complete']();}[_0x5a609d(0x1de)](){var _0x3e8543=_0x5a609d,_0x27cc79,_0x11d771;this[_0x3e8543(0x1a6)](),(_0x27cc79=this[_0x3e8543(0x342)])==null||_0x27cc79['send']({'cmd':F[_0x3e8543(0x297)],'data':{'roomID':this[_0x3e8543(0x225)]}}),(_0x11d771=this[_0x3e8543(0x342)])==null||_0x11d771['close'](),this[_0x3e8543(0x446)][_0x3e8543(0x246)](),this['_sessionStatus$'][_0x3e8543(0x246)](),this[_0x3e8543(0x456)]();}[_0x5a609d(0x2b6)](_0x352cbd){var _0x4555e1=_0x5a609d;_0x352cbd[_0x4555e1(0x287)]===F[_0x4555e1(0x3cd)]?this[_0x4555e1(0x204)](_0x352cbd):_0x352cbd[_0x4555e1(0x287)]===F['RECV']&&this[_0x4555e1(0x406)](_0x352cbd);}[_0x5a609d(0x3b3)](_0x55f636){var _0x50f4b8=_0x5a609d;this[_0x50f4b8(0x1a2)][_0x50f4b8(0x2f7)](0x1),_0x55f636[_0x50f4b8(0x328)]({'cmd':F[_0x50f4b8(0x3cd)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x50f4b8(0x225)]}]}});}[_0x5a609d(0x204)](_0x3390cc){var _0x62961b=_0x5a609d,_0x33fc23;if(_0x3390cc[_0x62961b(0x208)]in Yt){this[_0x62961b(0x440)][_0x62961b(0x36f)]({'id':se[_0x62961b(0x1b1)],'data':Yt[_0x3390cc[_0x62961b(0x208)]]}),this[_0x62961b(0x1a2)][_0x62961b(0x2f7)](0x2);return;}this[_0x62961b(0x1a2)][_0x62961b(0x2f7)](0x3);const _0x3d4753=(_0x33fc23=_0x3390cc[_0x62961b(0x313)][_0x62961b(0x2b2)][this[_0x62961b(0x225)]])==null?void 0x0:_0x33fc23[_0x62961b(0x398)];_0x3d4753&&_0x3d4753[_0x62961b(0x229)](_0x29075a=>this['_memberService'][_0x62961b(0x1c2)](this['_unitID'],_0x29075a));}[_0x5a609d(0x406)](_0x2e6d5d){var _0x85d7ec=_0x5a609d;try{const _0x4a3c1e=_0x2e6d5d['data'];switch(_0x4a3c1e[_0x85d7ec(0x3cb)]){case _0x5951b7[_0x85d7ec(0x1f6)]:this[_0x85d7ec(0x301)](_0x4a3c1e),this[_0x85d7ec(0x446)][_0x85d7ec(0x2f7)](_0x4a3c1e);break;case _0x5951b7[_0x85d7ec(0x438)]:this[_0x85d7ec(0x403)](_0x4a3c1e),this[_0x85d7ec(0x446)]['next'](_0x4a3c1e);break;case _0x5951b7['CHANGESET_ACK']:case _0x5951b7[_0x85d7ec(0x22f)]:this[_0x85d7ec(0x3dc)](),this[_0x85d7ec(0x1af)](),this[_0x85d7ec(0x446)][_0x85d7ec(0x2f7)](_0x4a3c1e);break;case _0x5951b7['MSG_FOR_ERROR']:this[_0x85d7ec(0x3f6)][_0x85d7ec(0x350)](_0x85d7ec(0x3fb)+JSON[_0x85d7ec(0x37a)](_0x4a3c1e)),this[_0x85d7ec(0x446)][_0x85d7ec(0x2f7)](_0x4a3c1e);break;case _0x5951b7[_0x85d7ec(0x2d6)]:this[_0x85d7ec(0x39d)][_0x85d7ec(0x24e)](_0x4a3c1e[_0x85d7ec(0x313)]),this[_0x85d7ec(0x446)][_0x85d7ec(0x2f7)](_0x4a3c1e);break;default:this[_0x85d7ec(0x446)][_0x85d7ec(0x2f7)](_0x4a3c1e);}}catch(_0x2de819){this[_0x85d7ec(0x3f6)][_0x85d7ec(0x350)](_0x2de819,_0x2e6d5d);}}[_0x5a609d(0x301)](_0x17969b){var _0x6df55b=_0x5a609d;this[_0x6df55b(0x32e)][_0x6df55b(0x1c2)](this['_unitID'],_0x17969b[_0x6df55b(0x313)]);}[_0x5a609d(0x403)](_0x4a3a2a){var _0x4bec5d=_0x5a609d;this['_memberService'][_0x4bec5d(0x2e9)](this[_0x4bec5d(0x225)],_0x4a3a2a[_0x4bec5d(0x313)][_0x4bec5d(0x349)]);}async[_0x5a609d(0x328)](_0x142a55,_0x159d72){var _0xb9d504=_0x5a609d;if(this[_0xb9d504(0x2f5)]!==0x3||!this['_socket'])throw new Error(_0xb9d504(0x378));try{_0x142a55[_0xb9d504(0x3cb)]===_0x5951b7[_0xb9d504(0x25a)]&&(this[_0xb9d504(0x3fa)](),this[_0xb9d504(0x414)](_0x142a55)),this[_0xb9d504(0x342)][_0xb9d504(0x328)]({'cmd':F[_0xb9d504(0x247)],'routeKey':_0x159d72,'routeType':'','data':_0x142a55});}catch(_0x1f4bb7){this['_logService'][_0xb9d504(0x350)](_0x1f4bb7);}}[_0x5a609d(0x3fa)](){var _0x3e966a=_0x5a609d,_0x3d5d64;this[_0x3e966a(0x1dd)]=setTimeout(()=>{var _0x3f75c4=_0x3e966a;this['_collaborationTimeoutTimer']=null,this[_0x3f75c4(0x440)]['emitEvent']({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3d5d64=this['_configService'][_0x3e966a(0x17a)](Si))!=null?_0x3d5d64:Ei);}[_0x5a609d(0x1af)](){var _0x3a49a4=_0x5a609d;this[_0x3a49a4(0x1dd)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3a49a4(0x1dd)]=null);}[_0x5a609d(0x414)](_0x139770){var _0x24ecb9=_0x5a609d;if(!this['_shouldReportTelemetry'])return;const {data:_0x4a4832}=_0x139770,{unitID:_0x49438c,changeset:_0x29cdbb}=_0x4a4832,{mutations:_0x1e1f0b,type:_0x547e18}=_0x29cdbb;this['_telemetryInfo']={'unitId':_0x49438c,'type':_0x547e18,'startTime':performance[_0x24ecb9(0x3d2)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x1e1f0b)};}[_0x5a609d(0x3dc)](){var _0x4f08e2=_0x5a609d;if(this[_0x4f08e2(0x2f9)]){if(!this[_0x4f08e2(0x2b4)]){this[_0x4f08e2(0x3f6)][_0x4f08e2(0x350)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4f08e2(0x2b4)][_0x4f08e2(0x198)]=performance[_0x4f08e2(0x3d2)](),this[_0x4f08e2(0x2b4)][_0x4f08e2(0x41e)]=this[_0x4f08e2(0x2b4)][_0x4f08e2(0x198)]-this[_0x4f08e2(0x2b4)][_0x4f08e2(0x372)],this[_0x4f08e2(0x3d1)]['capture'](Vn,this[_0x4f08e2(0x2b4)]),this[_0x4f08e2(0x2b4)]=null;}}[_0x5a609d(0x1a6)](){var _0x1e7203=_0x5a609d;this[_0x1e7203(0x2b4)]=null;}};It=Xn([me(0x2,_0x19cece),me(0x3,_0x5e63be),me(0x4,_0x4993c2(_0x3d8b17)),me(0x5,_0x4993c2(xe)),me(0x6,_0x4993c2(Ri)),me(0x7,_0x4993c2(pe)),me(0x8,_0x5e6a60(_0x136c07))],It);var Zn=Object[_0x5a609d(0x258)],Qn=Object[_0x5a609d(0x197)],er=(_0x55daea,_0x5844a6,_0x48c8dc,_0x255deb)=>{var _0x380074=_0x5a609d;for(var _0x50d1c4=_0x255deb>0x1?void 0x0:_0x255deb?Qn(_0x5844a6,_0x48c8dc):_0x5844a6,_0x30e034=_0x55daea[_0x380074(0x192)]-0x1,_0x1fe601;_0x30e034>=0x0;_0x30e034--)(_0x1fe601=_0x55daea[_0x30e034])&&(_0x50d1c4=(_0x255deb?_0x1fe601(_0x5844a6,_0x48c8dc,_0x50d1c4):_0x1fe601(_0x50d1c4))||_0x50d1c4);return _0x255deb&&_0x50d1c4&&Zn(_0x5844a6,_0x48c8dc,_0x50d1c4),_0x50d1c4;},ge=(_0x208bcd,_0x3c6179)=>(_0x225698,_0x44d51e)=>_0x3c6179(_0x225698,_0x44d51e,_0x208bcd);let Le=class extends _0xa17c38{constructor(_0x1a5432,_0x256b66,_0x1d6eb6,_0x582a67,_0x136efc,_0x3a707a,_0x3b5980){var _0x249bca=_0x5a609d;super(),N(this,'_socket$',new _0x2e1607(void 0x0)),N(this,_0x249bca(0x2f1),this[_0x249bca(0x256)]['asObservable']()),N(this,_0x249bca(0x42a),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x2e1607(Te['IDLE'])),N(this,_0x249bca(0x18d),this[_0x249bca(0x2c4)][_0x249bca(0x453)]()),N(this,_0x249bca(0x39f),!0x1),N(this,_0x249bca(0x3e4)),N(this,_0x249bca(0x441),0x0),N(this,_0x249bca(0x27f)),N(this,_0x249bca(0x341)),(this[_0x249bca(0x281)]=_0x1a5432,this[_0x249bca(0x3f6)]=_0x256b66,this['_configService']=_0x1d6eb6,this[_0x249bca(0x2a7)]=_0x582a67,this[_0x249bca(0x1ba)]=_0x136efc,this[_0x249bca(0x440)]=_0x3a707a,this[_0x249bca(0x1d0)]=_0x3b5980,this['_listenToNetworkCondition']());}get['_socket'](){var _0xa70aa9=_0x5a609d;return this[_0xa70aa9(0x256)][_0xa70aa9(0x3c5)]();}[_0x5a609d(0x3d4)](){var _0x4cfc21=_0x5a609d;this['_networkConditionService']&&this[_0x4cfc21(0x2ae)](this[_0x4cfc21(0x1d0)]['online$'][_0x4cfc21(0x275)](_0x3ff729=>{var _0x278f0b=_0x4cfc21;_0x3ff729&&!this[_0x278f0b(0x342)]&&this[_0x278f0b(0x200)](),_0x3ff729||this[_0x278f0b(0x1b0)]();}));}[_0x5a609d(0x456)](){var _0x36730e=_0x5a609d;super[_0x36730e(0x456)](),this['_sessions'][_0x36730e(0x229)](_0x3e4c73=>_0x3e4c73[_0x36730e(0x456)]()),this[_0x36730e(0x2c1)]['clear'](),this[_0x36730e(0x2c4)][_0x36730e(0x246)]();}async['requireSession'](_0x5a473a){var _0x50264a=_0x5a609d;if(this['_sessions'][_0x50264a(0x3d0)](_0x5a473a))return this[_0x50264a(0x2c1)][_0x50264a(0x196)](_0x5a473a);this[_0x50264a(0x232)]();const _0x2e2042=this[_0x50264a(0x281)][_0x50264a(0x2d4)](It,_0x5a473a,this[_0x50264a(0x256)][_0x50264a(0x453)]());return this[_0x50264a(0x2c1)][_0x50264a(0x43c)](_0x5a473a,_0x2e2042),_0x2e2042;}[_0x5a609d(0x336)](_0x327464){var _0xd2c97b=_0x5a609d,_0x12f13b;const _0x887f9f=this[_0xd2c97b(0x2c1)][_0xd2c97b(0x196)](_0x327464);_0x887f9f&&(this[_0xd2c97b(0x2c1)][_0xd2c97b(0x18f)](_0x327464),_0x887f9f[_0xd2c97b(0x1de)]()),this[_0xd2c97b(0x2c1)][_0xd2c97b(0x352)]||(_0x12f13b=this[_0xd2c97b(0x342)])==null||_0x12f13b[_0xd2c97b(0x1de)]();}[_0x5a609d(0x200)](){var _0xb57213=_0x5a609d;this['_retryCount']=0x0,this[_0xb57213(0x3e4)]!=null&&(clearTimeout(this[_0xb57213(0x3e4)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x5a609d(0x2eb)](){var _0x1fee11=_0x5a609d,_0x1c2910,_0x201f36,_0x54f369;const _0x4034ab=this[_0x1fee11(0x1d2)]['getConfig'](q),_0x1145fa=(_0x1c2910=_0x4034ab==null?void 0x0:_0x4034ab[_0x1fee11(0x15a)])!=null?_0x1c2910:On;return(_0x54f369=(_0x201f36=(await this[_0x1fee11(0x1ba)][_0x1fee11(0x196)](_0x1145fa,{'headers':{'Content-Type':_0x1fee11(0x31c)}}))['body'])==null?void 0x0:_0x201f36[_0x1fee11(0x20d)])!=null?_0x54f369:'';}[_0x5a609d(0x1df)](_0x573d11){var _0x1f9f01=_0x5a609d,_0x473bef,_0x5d70ff;const _0x273a01=this[_0x1f9f01(0x1d2)][_0x1f9f01(0x17a)](Rn),_0x85854=this[_0x1f9f01(0x1d2)]['getConfig'](q),_0x10bdca=(_0x5d70ff=(_0x473bef=_0x85854==null?void 0x0:_0x85854[_0x1f9f01(0x41d)])!=null?_0x473bef:_0x273a01)!=null?_0x5d70ff:bn,_0x7d89d=typeof window>'u'?new URL(_0x10bdca):new URL(_0x10bdca,window[_0x1f9f01(0x175)][_0x1f9f01(0x395)]);_0x7d89d[_0x1f9f01(0x195)]['set'](_0x1f9f01(0x23c),_0x573d11);const _0x115a58=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1f9f01(0x175)][_0x1f9f01(0x1d1)]);return _0x115a58['get'](_0x1f9f01(0x19a))&&_0x7d89d['searchParams']['set'](_0x1f9f01(0x19a),_0x115a58['get']('runId')),_0x7d89d[_0x1f9f01(0x365)]();}async['_createSocket'](){var _0x2c099a=_0x5a609d;const _0x5797e8=await this['_getSessionTicket'](),_0x223a16=this[_0x2c099a(0x1df)](_0x5797e8),_0x283718=this[_0x2c099a(0x2a7)][_0x2c099a(0x201)](_0x223a16);return this['_candidateSocket']=_0x283718,_0x283718;}async['_tryEnsureSocket'](){var _0x406e23=_0x5a609d,_0xa77d62,_0x310166;try{const _0x4f7c3f=(_0x310166=(_0xa77d62=this['_socket'])!=null?_0xa77d62:this[_0x406e23(0x42a)])!=null?_0x310166:await this[_0x406e23(0x45d)]();if(_0x4f7c3f){const _0x219b0d=_0x4f7c3f[_0x406e23(0x328)];_0x4f7c3f[_0x406e23(0x328)]=_0x1e9220=>(this[_0x406e23(0x217)](),_0x219b0d[_0x406e23(0x190)](_0x4f7c3f,[_0x1e9220])),_0x4f7c3f['message$'][_0x406e23(0x275)](_0x4b9a0d=>this[_0x406e23(0x1db)](_0x4f7c3f,_0x4b9a0d)),_0x4f7c3f[_0x406e23(0x221)][_0x406e23(0x216)](_0x2ec301(0x1))[_0x406e23(0x275)](_0x542d44=>this[_0x406e23(0x3f6)]['error'](_0x406e23(0x21c),_0x542d44)),_0x4f7c3f[_0x406e23(0x26c)][_0x406e23(0x216)](_0x2ec301(0x1))[_0x406e23(0x275)](()=>{var _0x4eca2b=_0x406e23;this[_0x4eca2b(0x231)](_0x4f7c3f);}),_0x4f7c3f['close$'][_0x406e23(0x216)](_0x2ec301(0x1))['subscribe'](_0x3a0388=>{var _0x1a2999=_0x406e23;this[_0x1a2999(0x3f6)][_0x1a2999(0x3e1)]('[CollaborationSessionService]',_0x1a2999(0x25e),_0x3a0388),this[_0x1a2999(0x1cb)]();});}}catch(_0x4ef044){this[_0x406e23(0x3f6)][_0x406e23(0x350)](_0x4ef044),this[_0x406e23(0x1cb)]();}}[_0x5a609d(0x231)](_0x573619){var _0x3307cb=_0x5a609d;this[_0x3307cb(0x3f6)][_0x3307cb(0x3e1)](_0x3307cb(0x24c),_0x3307cb(0x1e7)),_0x573619[_0x3307cb(0x328)]({'cmd':F[_0x3307cb(0x206)]}),this[_0x3307cb(0x217)]();}[_0x5a609d(0x1b0)](){var _0x6a8828=_0x5a609d;this[_0x6a8828(0x39f)]=!0x1,this['_candidateSocket']=null,this[_0x6a8828(0x2c4)][_0x6a8828(0x2f7)](Te[_0x6a8828(0x30b)]),this['_socket$'][_0x6a8828(0x2f7)](null),this[_0x6a8828(0x35f)](),this['_clearHeartbeatTimer']();}[_0x5a609d(0x1cb)](){var _0x5a1e43=_0x5a609d,_0x4f1653;this['_onOffline'](),this[_0x5a1e43(0x441)]<((_0x4f1653=this[_0x5a1e43(0x1d2)][_0x5a1e43(0x17a)](Pn))!=null?_0x4f1653:wn)?(this['_collaborationUIEventService'][_0x5a1e43(0x36f)]({'id':se[_0x5a1e43(0x397)]}),this[_0x5a1e43(0x289)]()):this[_0x5a1e43(0x440)]['emitEvent']({'id':se[_0x5a1e43(0x444)]});}[_0x5a609d(0x289)](){var _0x58177=_0x5a609d,_0xbb0e03;const _0x292df8=this[_0x58177(0x441)],_0x44da7e=this[_0x58177(0x1d2)][_0x58177(0x17a)](q),_0x1c232d=_0x292df8===0x0?0x0:((_0xbb0e03=_0x44da7e==null?void 0x0:_0x44da7e['retryConnectingInterval'])!=null?_0xbb0e03:Dn)*0x2**_0x292df8;this[_0x58177(0x3e4)]=setTimeout(()=>{var _0x4f3dd1=_0x58177;clearTimeout(this[_0x4f3dd1(0x3e4)]),this[_0x4f3dd1(0x3e4)]=null,this[_0x4f3dd1(0x232)]();},_0x1c232d),this[_0x58177(0x441)]+=0x1;}[_0x5a609d(0x1db)](_0x5f26ad,_0x1380dd){var _0x43e10c=_0x5a609d;const {cmd:_0x1cc250}=_0x1380dd;_0x1cc250===F[_0x43e10c(0x206)]&&!this[_0x43e10c(0x39f)]&&(_0x5f26ad['memberID']=_0x1380dd[_0x43e10c(0x313)][_0x43e10c(0x349)],this[_0x43e10c(0x256)][_0x43e10c(0x2f7)](_0x5f26ad),this[_0x43e10c(0x2c4)]['next'](Te[_0x43e10c(0x357)]),this[_0x43e10c(0x39f)]=!0x0,this[_0x43e10c(0x42a)]=null),_0x1cc250===F[_0x43e10c(0x39c)]&&this[_0x43e10c(0x35f)](),this[_0x43e10c(0x217)]();}[_0x5a609d(0x217)](){var _0xaa9bc4=_0x5a609d,_0x53c922;this[_0xaa9bc4(0x454)](),this[_0xaa9bc4(0x27f)]=setTimeout(()=>this[_0xaa9bc4(0x366)](),(_0x53c922=this[_0xaa9bc4(0x1d2)][_0xaa9bc4(0x17a)](yn))!=null?_0x53c922:Nn);}['_sendHeartbeat'](){var _0x197906=_0x5a609d;this[_0x197906(0x342)][_0x197906(0x328)]({'cmd':F['HEARTBEAT']}),this[_0x197906(0x40d)]();}['_waitForHeartbeatResponse'](){var _0x15b01a=_0x5a609d,_0x177af1;this[_0x15b01a(0x341)]=setTimeout(()=>this[_0x15b01a(0x1cb)](),(_0x177af1=this[_0x15b01a(0x1d2)][_0x15b01a(0x17a)](Si))!=null?_0x177af1:Ei);}[_0x5a609d(0x454)](){var _0x51c633=_0x5a609d;this[_0x51c633(0x27f)]!=null&&(clearTimeout(this[_0x51c633(0x27f)]),this[_0x51c633(0x27f)]=null);}['_clearTimeoutTimer'](){var _0x5c03fe=_0x5a609d;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5c03fe(0x341)]),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x4993c2(_0x2c6931)),ge(0x1,_0x19cece),ge(0x2,_0x5e63be),ge(0x3,Ci),ge(0x4,_0x4993c2(_0x4361f6)),ge(0x5,_0x4993c2(pe)),ge(0x6,_0x5e6a60(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x5a609d(0x318)]((n+0x100)[_0x5a609d(0x365)](0x10)['slice'](0x1));function tr(_0x5b5724,_0x391852=0x0){var _0x1d0dff=_0x5a609d;return(V[_0x5b5724[_0x391852+0x0]]+V[_0x5b5724[_0x391852+0x1]]+V[_0x5b5724[_0x391852+0x2]]+V[_0x5b5724[_0x391852+0x3]]+'-'+V[_0x5b5724[_0x391852+0x4]]+V[_0x5b5724[_0x391852+0x5]]+'-'+V[_0x5b5724[_0x391852+0x6]]+V[_0x5b5724[_0x391852+0x7]]+'-'+V[_0x5b5724[_0x391852+0x8]]+V[_0x5b5724[_0x391852+0x9]]+'-'+V[_0x5b5724[_0x391852+0xa]]+V[_0x5b5724[_0x391852+0xb]]+V[_0x5b5724[_0x391852+0xc]]+V[_0x5b5724[_0x391852+0xd]]+V[_0x5b5724[_0x391852+0xe]]+V[_0x5b5724[_0x391852+0xf]])[_0x1d0dff(0x411)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x21c591=_0x5a609d;if(!ut){if(typeof crypto>'u'||!crypto[_0x21c591(0x35c)])throw new Error(_0x21c591(0x236));ut=crypto[_0x21c591(0x35c)][_0x21c591(0x3bb)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x5a609d(0x227)]&&crypto[_0x5a609d(0x227)][_0x5a609d(0x3bb)](crypto),qt={'randomUUID':rr};function sr(_0x35f97f,_0x38aeeb,_0x4b8ea7){var _0x333ad3=_0x5a609d,_0x295386,_0x4eba08,_0x5c95d0;if(qt[_0x333ad3(0x227)]&&!_0x35f97f)return qt[_0x333ad3(0x227)]();_0x35f97f=_0x35f97f||{};const _0x363286=(_0x5c95d0=(_0x4eba08=_0x35f97f[_0x333ad3(0x2ad)])!=null?_0x4eba08:(_0x295386=_0x35f97f['rng'])==null?void 0x0:_0x295386[_0x333ad3(0x36d)](_0x35f97f))!=null?_0x5c95d0:nr();if(_0x363286[_0x333ad3(0x192)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x363286[0x6]=_0x363286[0x6]&0xf|0x40,_0x363286[0x8]=_0x363286[0x8]&0x3f|0x80,tr(_0x363286);}const J=_0x9be44d(_0x5a609d(0x3b5));function so(_0x246f1b){var _0x5e91b3=_0x5a609d;return _0x5e91b3(0x410)+_0x246f1b;}var or=Object[_0x5a609d(0x258)],ar=Object[_0x5a609d(0x197)],cr=(_0x8379b1,_0x459567,_0x5f4384,_0x2a300e)=>{for(var _0x34338c=_0x2a300e>0x1?void 0x0:_0x2a300e?ar(_0x459567,_0x5f4384):_0x459567,_0x9ae0f3=_0x8379b1['length']-0x1,_0x1808e5;_0x9ae0f3>=0x0;_0x9ae0f3--)(_0x1808e5=_0x8379b1[_0x9ae0f3])&&(_0x34338c=(_0x2a300e?_0x1808e5(_0x459567,_0x5f4384,_0x34338c):_0x1808e5(_0x34338c))||_0x34338c);return _0x2a300e&&_0x34338c&&or(_0x459567,_0x5f4384,_0x34338c),_0x34338c;},dt=(_0x2fee1b,_0x7d1b47)=>(_0x36ab84,_0x186f94)=>_0x7d1b47(_0x36ab84,_0x186f94,_0x2fee1b);function hr(_0x30a353){var _0x360380=_0x5a609d;const {unitID:_0x41c6e7,mutations:_0x559c46}=_0x30a353;return{'unitId':_0x41c6e7,'subUnitId':_0x559c46[0x0]['params'][_0x360380(0x393)]};}let it=class{constructor(_0x1d2add,_0x3cf05f,_0x26716f){var _0x293585=_0x5a609d;this['_injector']=_0x1d2add,this['_transformService']=_0x3cf05f,this[_0x293585(0x235)]=_0x26716f;}['transformSelections'](_0x28d299){var _0xf36e90=_0x5a609d,_0x267238,_0x2bb59,_0x245954,_0x18c25a;const _0x143b7e=this['_injector'][_0xf36e90(0x196)](_0x21ed2c),{unitId:_0x52f97a,subUnitId:_0xcd3515}=hr(_0x28d299),_0x1d69b3=_0x143b7e==null?void 0x0:_0x143b7e['getWorkbookSelections'](_0x52f97a)[_0xf36e90(0x1c3)](),_0x280a39=(_0x2bb59=(_0x267238=this['_instanceService'][_0xf36e90(0x321)](_0x52f97a))==null?void 0x0:_0x267238['getActiveSheet']())==null?void 0x0:_0x2bb59['getSheetId']();if(_0x1d69b3[_0xf36e90(0x192)]===0x0||!_0x52f97a||!_0xcd3515)return;const _0x3804a4=[{'id':_0x315b74['id'],'params':{'unitId':_0x52f97a,'subUnitId':_0x280a39,'selections':_0x4e1026['deepClone'](_0x1d69b3)}}],_0x106f58=this[_0xf36e90(0x34c)][_0xf36e90(0x17b)](_0x28d299,_0x3804a4);if(!_0x5ca767(_0x106f58))throw _0x106f58[_0xf36e90(0x350)];const _0x540eb4=(_0x18c25a=(_0x245954=_0x106f58[_0xf36e90(0x162)][0x0])==null?void 0x0:_0x245954['params'])==null?void 0x0:_0x18c25a[_0xf36e90(0x294)];if(Array[_0xf36e90(0x1cc)](_0x540eb4)&&_0x540eb4['length']){if(_0x540eb4['length']===_0x3804a4[0x0][_0xf36e90(0x1aa)][_0xf36e90(0x294)][_0xf36e90(0x192)]&&_0x540eb4[_0xf36e90(0x1b9)]((_0x380b6d,_0x4507ab)=>_0x342a72[_0xf36e90(0x224)](_0x380b6d['range'],_0x3804a4[0x0][_0xf36e90(0x1aa)][_0xf36e90(0x294)][_0x4507ab][_0xf36e90(0x20a)])))return;this['_injector'][_0xf36e90(0x196)](_0x11f6b7)[_0xf36e90(0x3f3)](_0x315b74['id'],{'unitId':_0x52f97a,'subUnitId':_0x280a39,'selections':_0x540eb4});}}};it=cr([dt(0x0,_0x4993c2(_0x2c6931)),dt(0x1,_0x5ac67f),dt(0x2,_0x3e893c)],it);const ht=_0x9be44d(_0x5a609d(0x413));var bi=(_0x514c47=>(_0x514c47[_0x514c47[_0x5a609d(0x17e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x514c47[_0x514c47[_0x5a609d(0x1c7)]=0x1]=_0x5a609d(0x1c7),_0x514c47))(bi||{});const _r=new Set([_0x15fbc6['id']]);function zt(_0x5eb8ec,_0x46974a,_0x56e4f7,_0x154d86,_0x12275b){var _0x2487d5=_0x5a609d,_0xeb88a5,_0x5f1ae5,_0x5285b8,_0x2939fd;const _0x23b60d=[];for(const _0x279853 of _0x5eb8ec)if(_r[_0x2487d5(0x3d0)](_0x279853['id'])){if(_0x23b60d[_0x2487d5(0x192)]>0x0)break;_0x23b60d[_0x2487d5(0x318)](_0x279853);break;}else _0x23b60d[_0x2487d5(0x318)](_0x279853);const _0x40d133=(_0x5f1ae5=(_0xeb88a5=_0x12275b[_0x2487d5(0x2c8)]())==null?void 0x0:_0xeb88a5[_0x2487d5(0x388)])!=null?_0x5f1ae5:_0x2487d5(0x383),_0x31b35a=(_0x2939fd=(_0x5285b8=_0x12275b[_0x2487d5(0x2c8)]())==null?void 0x0:_0x5285b8[_0x2487d5(0x349)])!=null?_0x2939fd:_0x2487d5(0x383);return{'changeset':{'unitID':_0x46974a,'type':_0x38e49b(_0x56e4f7[_0x2487d5(0x45e)](_0x46974a)),'baseRev':_0x154d86[_0x2487d5(0x29d)](_0x46974a),'revision':0x0,'userID':_0x40d133,'memberID':_0x31b35a,'mutations':_0x23b60d},'pendingMutations':_0x5eb8ec[_0x2487d5(0x19c)](_0x23b60d['length'])};}function lr(_0x4123b7,_0x244fe2,_0x569214,_0x900a4f,_0x41ebe6){var _0x5a49ab=_0x5a609d,_0x2e1fab,_0x275bae,_0x121367,_0x4eba7f;const _0x51e1a9=[_0x4123b7['reduce']((_0x31ded7,_0x21f993)=>{var _0x1b3674=_0x51f8,_0x4d5149;const {id:_0x368783}=_0x31ded7,{id:_0xd96ca2,type:_0x2e3b2b}=_0x21f993,_0x18c03d=(_0x4d5149=_0x31ded7[_0x1b3674(0x1aa)])!=null?_0x4d5149:{'actions':null},_0x22b3a7=_0x21f993['params'];if(_0x368783&&_0x368783!==_0xd96ca2)throw new Error(_0x1b3674(0x39e)+_0x368783+_0x1b3674(0x170)+_0xd96ca2+'.');return{..._0x31ded7,'id':_0xd96ca2,'type':_0x2e3b2b,'params':{'unitId':_0x22b3a7['unitId'],'textRanges':_0x22b3a7[_0x1b3674(0x408)],'actions':_0x5a79ea[_0x1b3674(0x319)](_0x18c03d[_0x1b3674(0x215)],_0x22b3a7[_0x1b3674(0x215)])}};},{})],_0x18b0a4=(_0x275bae=(_0x2e1fab=_0x41ebe6[_0x5a49ab(0x2c8)]())==null?void 0x0:_0x2e1fab[_0x5a49ab(0x388)])!=null?_0x275bae:'unknown',_0x16ac48=(_0x4eba7f=(_0x121367=_0x41ebe6[_0x5a49ab(0x2c8)]())==null?void 0x0:_0x121367[_0x5a49ab(0x349)])!=null?_0x4eba7f:'unknown';return{'changeset':{'unitID':_0x244fe2,'type':_0x38e49b(_0x569214[_0x5a49ab(0x45e)](_0x244fe2)),'baseRev':_0x900a4f['getCurrentRevOfUnit'](_0x244fe2),'revision':0x0,'userID':_0x18b0a4,'memberID':_0x16ac48,'mutations':_0x51e1a9},'pendingMutations':[]};}function Oi(_0x55289c,_0x1f2215){var _0x523614=_0x5a609d;const _0x491bb8=new _0x5312ee(0x1);return setTimeout(()=>_0x491bb8[_0x523614(0x2f7)](_0x1f2215),_0x55289c),_0x491bb8[_0x523614(0x453)]()[_0x523614(0x216)](_0x32dcd2(0x1));}const ur={'id':_0x3fa2cb['id'],'type':_0x5c29f6['MUTATION'],'params':{}};var dr=Object[_0x5a609d(0x258)],fr=Object[_0x5a609d(0x197)],Re=(_0x3dde11,_0x27cfd9,_0x49bd6e,_0x1b67ea)=>{var _0x3871fc=_0x5a609d;for(var _0x2c61ad=_0x1b67ea>0x1?void 0x0:_0x1b67ea?fr(_0x27cfd9,_0x49bd6e):_0x27cfd9,_0x10bac2=_0x3dde11[_0x3871fc(0x192)]-0x1,_0x267065;_0x10bac2>=0x0;_0x10bac2--)(_0x267065=_0x3dde11[_0x10bac2])&&(_0x2c61ad=(_0x1b67ea?_0x267065(_0x27cfd9,_0x49bd6e,_0x2c61ad):_0x267065(_0x2c61ad))||_0x2c61ad);return _0x1b67ea&&_0x2c61ad&&dr(_0x27cfd9,_0x49bd6e,_0x2c61ad),_0x2c61ad;},A=(_0x230519,_0x55bee0)=>(_0x11fdb3,_0x2ab3b7)=>_0x55bee0(_0x11fdb3,_0x2ab3b7,_0x230519),yi=(_0x509c42=>(_0x509c42[_0x5a609d(0x24b)]='not_collab',_0x509c42['SYNCED']=_0x5a609d(0x33b),_0x509c42['PENDING']='pending',_0x509c42[_0x5a609d(0x211)]=_0x5a609d(0x241),_0x509c42[_0x5a609d(0x3bd)]='awaiting_with_pending',_0x509c42['FETCH_MISS']=_0x5a609d(0x3b4),_0x509c42[_0x5a609d(0x2a4)]='conflict',_0x509c42[_0x5a609d(0x30b)]=_0x5a609d(0x1cd),_0x509c42))(yi||{});const Ni=0xea60;class be{constructor(_0x4acca5,_0x660ef2,_0x249931,_0x36bf9b,_0x27d474,_0x6315b1,_0x2acbde,_0x454a55,_0xfd9d4d){var _0xe7d663=_0x5a609d;N(this,_0xe7d663(0x2df),null),N(this,'_pendingMutations',[]),(this[_0xe7d663(0x293)]=_0x4acca5,this[_0xe7d663(0x442)]=_0x660ef2,this['_handler']=_0x27d474,this[_0xe7d663(0x450)]=_0x6315b1,this['_undoRedoService']=_0x2acbde,this[_0xe7d663(0x2cc)]=_0x454a55,this[_0xe7d663(0x1b8)]=_0xfd9d4d,this[_0xe7d663(0x2df)]=_0x249931,this[_0xe7d663(0x262)]=_0x36bf9b);}[_0x5a609d(0x29a)](_0x1eb730){var _0x5c77bb=_0x5a609d;const _0x137fa5=this[_0x5c77bb(0x2cc)][_0x5c77bb(0x29d)](this[_0x5c77bb(0x293)]);return _0x1eb730['revision']>_0x137fa5+0x1?(this[_0x5c77bb(0x3a0)][_0x5c77bb(0x282)]({'from':_0x137fa5,'to':_0x1eb730[_0x5c77bb(0x3ac)]-0x1}),!0x0):!0x1;}[_0x5a609d(0x22d)](_0x509aa9){var _0x36ff56=_0x5a609d;this[_0x36ff56(0x23d)]['transformUndoRedo'](this[_0x36ff56(0x293)],_0x509aa9);}['_transformSelections'](_0x14b8a0){var _0x5e7d77=_0x5a609d,_0xc6b54b,_0x4550ea;(_0x4550ea=(_0xc6b54b=this[_0x5e7d77(0x3a0)])[_0x5e7d77(0x21b)])==null||_0x4550ea[_0x5e7d77(0x36d)](_0xc6b54b,_0x14b8a0);}[_0x5a609d(0x2e2)](_0x1a73e0){var _0x2abf0d=_0x5a609d,_0x44b1db,_0x3d6e58;return(_0x3d6e58=(_0x44b1db=this[_0x2abf0d(0x3a0)])['onTransformIME'])==null?void 0x0:_0x3d6e58[_0x2abf0d(0x36d)](_0x44b1db,_0x1a73e0);}[_0x5a609d(0x3ce)](_0x5d1cba){var _0x75b53=_0x5a609d,_0x50a5ed,_0x3ccbe4;return(_0x3ccbe4=(_0x50a5ed=this[_0x75b53(0x3a0)])[_0x75b53(0x2c0)])==null?void 0x0:_0x3ccbe4['call'](_0x50a5ed,_0x5d1cba);}[_0x5a609d(0x3b7)](_0x2cf9fa){var _0x3484f0=_0x5a609d,_0xca97fe,_0x1e4b0b,_0x2d74a3;return(_0x2d74a3=(_0x1e4b0b=(_0xca97fe=this['_handler'])[_0x3484f0(0x3f5)])==null?void 0x0:_0x1e4b0b[_0x3484f0(0x36d)](_0xca97fe,_0x2cf9fa))!=null?_0x2d74a3:_0x2cf9fa;}[_0x5a609d(0x339)](_0x4de001){var _0x284f03=_0x5a609d,_0x486609,_0xc4f5b4,_0x460033;return(_0x460033=(_0xc4f5b4=(_0x486609=this[_0x284f03(0x3a0)])[_0x284f03(0x291)])==null?void 0x0:_0xc4f5b4['call'](_0x486609,_0x4de001))!=null?_0x460033:_0x4de001;}[_0x5a609d(0x37d)](_0x2c8f39){var _0x2c3dbc=_0x5a609d,_0x252062,_0x32cf30;if(this[_0x2c3dbc(0x442)]===Q[_0x2c3dbc(0x415)]){const {unitID:_0x2dd210,mutations:_0x3877e7,memberID:_0x5a8ca5}=_0x2c8f39,_0x41025f=_0x3877e7[0x0][_0x2c3dbc(0x1aa)][_0x2c3dbc(0x408)];Array[_0x2c3dbc(0x1cc)](_0x41025f)&&_0x41025f['length']>0x0&&((_0x32cf30=(_0x252062=this[_0x2c3dbc(0x3a0)])[_0x2c3dbc(0x27d)])==null||_0x32cf30[_0x2c3dbc(0x36d)](_0x252062,{'unitID':_0x2dd210,'memberID':_0x5a8ca5,'textRanges':_0x41025f}));}}['_updateLocalCache'](){var _0x55f99f=_0x5a609d,_0x2a9e08;(_0x2a9e08=this['_localCacheService'])==null||_0x2a9e08[_0x55f99f(0x40a)](this[_0x55f99f(0x293)],this[_0x55f99f(0x442)],this[_0x55f99f(0x2df)],this[_0x55f99f(0x262)]);}['_getCurrentRevision'](){var _0x3d3922=_0x5a609d;return this[_0x3d3922(0x2cc)][_0x3d3922(0x29d)](this['unitID']);}[_0x5a609d(0x263)](){var _0xa890ad=_0x5a609d;this[_0xa890ad(0x2cc)][_0xa890ad(0x2ed)](this[_0xa890ad(0x293)]);}['_executeRemoteChangeset'](_0xf6bb15){var _0x21dc99=_0x5a609d,_0x518ebb;let _0x50ef7f=this[_0x21dc99(0x3b7)](_0xf6bb15);_0x50ef7f=this[_0x21dc99(0x339)](_0x50ef7f);const _0x2a19fc=_0xe89d20(_0x50ef7f['mutations'],this[_0x21dc99(0x450)],{'fromCollab':!0x0});if(!_0x2a19fc[_0x21dc99(0x268)])throw _0x2a19fc[_0x21dc99(0x350)]instanceof Error?_0x2a19fc['error']:new Error((_0x518ebb=_0x2a19fc[_0x21dc99(0x350)])!=null?_0x518ebb:'[CollaborationState]:\x20apply\x20error!');this[_0x21dc99(0x2e2)](_0x50ef7f),this[_0x21dc99(0x3ce)](_0x50ef7f),this['_transformUndoredo'](_0xf6bb15),this[_0x21dc99(0x15f)](_0x50ef7f),this[_0x21dc99(0x37d)](_0x50ef7f),this[_0x21dc99(0x263)]();}}let De=class extends be{constructor(_0x5d4b92,_0x5aa27c,_0x1a3e7e,_0x146b2d,_0x6090fa,_0x1f7644,_0x11d567,_0x4ff157,_0x4ddbfc,_0xe8a90f){var _0x773cd=_0x5a609d;super(_0x5d4b92,_0x5aa27c,null,[],_0x1a3e7e,_0x11d567,_0x1f7644,_0x146b2d,_0xe8a90f),N(this,_0x773cd(0x1a7),'synced'),(this[_0x773cd(0x281)]=_0x6090fa,this[_0x773cd(0x3f6)]=_0x4ff157,this[_0x773cd(0x34c)]=_0x4ddbfc,this[_0x773cd(0x2d0)]=_0xe8a90f);}[_0x5a609d(0x2f8)](_0x1486e8){var _0x2bcc36=_0x5a609d;const _0xf07e14=this[_0x2bcc36(0x281)][_0x2bcc36(0x2d4)](oe,this[_0x2bcc36(0x293)],this[_0x2bcc36(0x442)],[_0x1486e8],this[_0x2bcc36(0x3a0)]);return _0xf07e14['_schedule'](),_0xf07e14[_0x2bcc36(0x23a)](),_0xf07e14;}[_0x5a609d(0x42e)](_0x2a3962){var _0x475956=_0x5a609d;if(this[_0x475956(0x29a)](_0x2a3962))return this[_0x475956(0x281)][_0x475956(0x2d4)](te,this[_0x475956(0x293)],this[_0x475956(0x442)],null,[],null,[_0x2a3962],this[_0x475956(0x3a0)]);try{const _0x151f1a=this[_0x475956(0x34c)][_0x475956(0x17b)](_0x2a3962,[ur]);if(_0x5ca767(_0x151f1a)){const {c1Prime:_0x4fc189}=_0x151f1a;return this[_0x475956(0x460)](_0x4fc189),this;}throw _0x151f1a['error'];}catch(_0x21b59f){return this[_0x475956(0x3f6)][_0x475956(0x350)](_0x21b59f),this['_onConflict'](!0x1);}}[_0x5a609d(0x15c)](_0x645329){var _0x2e8fe9=_0x5a609d;return this[_0x2e8fe9(0x281)]['createInstance'](de,this[_0x2e8fe9(0x293)],this[_0x2e8fe9(0x442)],null,[],this[_0x2e8fe9(0x3a0)],_0x645329);}['onRemoteAck'](){var _0x2876e8=_0x5a609d;throw new Error(_0x2876e8(0x1be));}[_0x5a609d(0x452)](){var _0x56c6e2=_0x5a609d;throw new Error(_0x56c6e2(0x273));}[_0x5a609d(0x172)](){return this;}[_0x5a609d(0x427)](){var _0x1a59b1=_0x5a609d;return this[_0x1a59b1(0x281)]['createInstance'](fe,this[_0x1a59b1(0x293)],this[_0x1a59b1(0x442)],null,[],this['_handler']);}[_0x5a609d(0x1f9)](){return this;}['resend'](){var _0xb06153=_0x5a609d;throw new Error(_0xb06153(0x3c1));}['fetchMiss'](){var _0x46bfa0=_0x5a609d;const _0x1bdc8f=this[_0x46bfa0(0x2cc)]['getCurrentRevOfUnit'](this[_0x46bfa0(0x293)]);return this[_0x46bfa0(0x3a0)][_0x46bfa0(0x282)]({'from':_0x1bdc8f,'to':0x0}),this[_0x46bfa0(0x281)][_0x46bfa0(0x2d4)](te,this[_0x46bfa0(0x293)],this[_0x46bfa0(0x442)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x4993c2(_0x43c42f)),A(0x4,_0x4993c2(_0x2c6931)),A(0x5,_0x460750),A(0x6,_0x11f6b7),A(0x7,_0x19cece),A(0x8,_0x5ac67f),A(0x9,_0x5e6a60(J))],De);let oe=class extends be{constructor(_0x15e0bb,_0x4419b6,_0x3c115c,_0x15c921,_0x17ca86,_0xc33baa,_0x158658,_0x333ff4,_0x4c6411,_0x4a1a5a,_0x339205,_0x1c39fa,_0x5de804,_0x131434){var _0x3632f2=_0x5a609d;super(_0x15e0bb,_0x4419b6,null,_0x3c115c,_0x15c921,_0x4c6411,_0x5de804,_0xc33baa,_0x131434),N(this,'status',_0x3632f2(0x27b)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x3632f2(0x37c),null),(this[_0x3632f2(0x281)]=_0x17ca86,this[_0x3632f2(0x32e)]=_0x158658,this[_0x3632f2(0x3f6)]=_0x333ff4,this[_0x3632f2(0x1d2)]=_0x4a1a5a,this['_transformService']=_0x339205,this[_0x3632f2(0x1bb)]=_0x1c39fa);}[_0x5a609d(0x2f8)](_0x16cd4f){var _0x565262=_0x5a609d;return this[_0x565262(0x262)][_0x565262(0x318)](_0x16cd4f),this[_0x565262(0x23a)](),this;}[_0x5a609d(0x42e)](_0x58d5cb){var _0x5e76fa=_0x5a609d;if(this[_0x5e76fa(0x29a)](_0x58d5cb))return this[_0x5e76fa(0x214)](),this[_0x5e76fa(0x281)][_0x5e76fa(0x2d4)](te,this['unitID'],this[_0x5e76fa(0x442)],null,this[_0x5e76fa(0x262)],null,[_0x58d5cb],this['_handler']);try{const _0xa83e6d=this[_0x5e76fa(0x34c)][_0x5e76fa(0x17b)](_0x58d5cb,this[_0x5e76fa(0x262)]);if(_0x5ca767(_0xa83e6d)){const {c1Prime:_0x50d52a,m2Prime:_0x250803}=_0xa83e6d;this[_0x5e76fa(0x460)](_0x50d52a);const _0x32681a=this[_0x5e76fa(0x281)][_0x5e76fa(0x2d4)](oe,this[_0x5e76fa(0x293)],this['type'],_0x250803,this[_0x5e76fa(0x3a0)]);this['_clearScheduledTask']();const _0x1cbff9=new Date()['getTime'](),_0x28b96d=this['_scheduleCompleteTimestamp']?Math[_0x5e76fa(0x1d9)](this['_scheduleCompleteTimestamp']-_0x1cbff9,0x0):this[_0x5e76fa(0x2e4)]();return _0x32681a['_schedule'](_0x28b96d),_0x32681a;}throw _0xa83e6d[_0x5e76fa(0x350)];}catch(_0x16edaf){return this[_0x5e76fa(0x3f6)][_0x5e76fa(0x350)](_0x16edaf),this[_0x5e76fa(0x15c)](!0x1);}}[_0x5a609d(0x384)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5a609d(0x452)](){var _0x222618=_0x5a609d;throw new Error(_0x222618(0x226));}[_0x5a609d(0x172)](){return this;}[_0x5a609d(0x427)](){var _0x7117a9=_0x5a609d;return this['_clearScheduledTask'](),this[_0x7117a9(0x281)][_0x7117a9(0x2d4)](fe,this['unitID'],this[_0x7117a9(0x442)],null,this[_0x7117a9(0x262)],this[_0x7117a9(0x3a0)]);}[_0x5a609d(0x1f9)](){return this;}[_0x5a609d(0x220)](_0x3b9760){var _0x4775e9=_0x5a609d;const _0x9908cf=_0x3b9760!=null?_0x3b9760:this[_0x4775e9(0x2e4)]();this[_0x4775e9(0x205)]=new Date()[_0x4775e9(0x1a8)]()+_0x9908cf,this[_0x4775e9(0x37c)]=setTimeout(()=>{var _0x2f57bb=_0x4775e9;this[_0x2f57bb(0x214)]();let _0x2eaa84=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x2eaa84=zt(this[_0x2f57bb(0x262)],this[_0x2f57bb(0x293)],this[_0x2f57bb(0x1bb)],this[_0x2f57bb(0x2cc)],this[_0x2f57bb(0x32e)]);break;}case Q[_0x2f57bb(0x415)]:{this[_0x2f57bb(0x262)]['every'](_0x4736de=>_0x4736de['id']===_0x366acf['id'])?_0x2eaa84=lr(this[_0x2f57bb(0x262)],this['unitID'],this[_0x2f57bb(0x1bb)],this[_0x2f57bb(0x2cc)],this[_0x2f57bb(0x32e)]):_0x2eaa84=zt(this[_0x2f57bb(0x262)],this[_0x2f57bb(0x293)],this[_0x2f57bb(0x1bb)],this[_0x2f57bb(0x2cc)],this[_0x2f57bb(0x32e)]);break;}default:throw new Error(_0x2f57bb(0x276)+this[_0x2f57bb(0x442)]+'\x20in\x20_schedule.');}const {changeset:_0x5c118a,pendingMutations:_0x2d0fd6}=_0x2eaa84;this[_0x2f57bb(0x3a0)]['onSendChangeset'](_0x5c118a);const _0x1b2de6=_0x2d0fd6[_0x2f57bb(0x192)]?this[_0x2f57bb(0x281)][_0x2f57bb(0x2d4)](ae,this['unitID'],this[_0x2f57bb(0x442)],_0x5c118a,_0x2d0fd6,this['_handler'],void 0x0):this['_injector'][_0x2f57bb(0x2d4)](ue,this[_0x2f57bb(0x293)],this[_0x2f57bb(0x442)],_0x5c118a,this[_0x2f57bb(0x3a0)]);_0x1b2de6[_0x2f57bb(0x23a)](),this['_handler']['onStateChange'](this,_0x1b2de6);},_0x9908cf);}['_getSendChangesetTimeout'](){var _0xe1dd13=_0x5a609d,_0x460093;const _0x27646a=this[_0xe1dd13(0x1d2)]['getConfig'](q);return(_0x460093=_0x27646a==null?void 0x0:_0x27646a[_0xe1dd13(0x2ea)])!=null?_0x460093:Cn;}[_0x5a609d(0x392)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5a609d(0x214)](){var _0x25bffc=_0x5a609d;this[_0x25bffc(0x37c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x25bffc(0x37c)]=null);}[_0x5a609d(0x15c)](_0x327c3e){var _0x3a0d78=_0x5a609d;return this[_0x3a0d78(0x214)](),this['_injector']['createInstance'](de,this['unitID'],this['type'],null,this[_0x3a0d78(0x262)],this[_0x3a0d78(0x3a0)],_0x327c3e);}};oe=Re([A(0x4,_0x4993c2(_0x2c6931)),A(0x5,_0x4993c2(_0x43c42f)),A(0x6,_0x4993c2(xe)),A(0x7,_0x19cece),A(0x8,_0x11f6b7),A(0x9,_0x5e63be),A(0xa,_0x5ac67f),A(0xb,_0x3e893c),A(0xc,_0x460750),A(0xd,_0x5e6a60(J))],oe);let ue=class extends be{constructor(_0x1a1820,_0x202e41,_0x443d63,_0x52dd80,_0x32eacf,_0x15fd13,_0x22d07a,_0x50254c,_0x4d2ef1,_0xf74d40,_0x40ac52){var _0x39a7f3=_0x5a609d;super(_0x1a1820,_0x202e41,_0x443d63,[],_0x52dd80,_0x22d07a,_0xf74d40,_0x15fd13,_0x40ac52),N(this,'status',_0x39a7f3(0x241)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x39a7f3(0x3ca)),(this[_0x39a7f3(0x281)]=_0x32eacf,this[_0x39a7f3(0x3f6)]=_0x50254c,this[_0x39a7f3(0x34c)]=_0x4d2ef1);}[_0x5a609d(0x2f8)](_0x129049){var _0x17e2b8=_0x5a609d;this[_0x17e2b8(0x214)]();const _0x184cce=this[_0x17e2b8(0x281)][_0x17e2b8(0x2d4)](ae,this['unitID'],this['type'],this[_0x17e2b8(0x2df)],[_0x129049],this[_0x17e2b8(0x3a0)],this[_0x17e2b8(0x2a9)]);return _0x184cce[_0x17e2b8(0x23a)](),_0x184cce;}['onRemoteChangeset'](_0x32857e){var _0x43bc7b=_0x5a609d;if(this['_checkMissing'](_0x32857e))return this[_0x43bc7b(0x214)](),this['_injector'][_0x43bc7b(0x2d4)](te,this[_0x43bc7b(0x293)],this[_0x43bc7b(0x442)],this['_awaitingChangeset'],[],null,[_0x32857e],this[_0x43bc7b(0x3a0)]);try{const _0x24327a=this[_0x43bc7b(0x34c)]['transformChangesets']([_0x32857e],[this[_0x43bc7b(0x2df)]],!0x1);if(_0x5a7ea3(_0x24327a)){const {c1Prime:_0x302a25,c2Prime:_0xd0fd82}=_0x24327a;this[_0x43bc7b(0x460)](_0x302a25[0x0]),_0xd0fd82[0x0]['baseRev']=this[_0x43bc7b(0x187)](),this[_0x43bc7b(0x214)]();const _0x270705=this['_injector']['createInstance'](ue,this[_0x43bc7b(0x293)],this[_0x43bc7b(0x442)],_0xd0fd82[0x0],this[_0x43bc7b(0x3a0)]);return _0x270705[_0x43bc7b(0x23a)](),_0x270705;}return this[_0x43bc7b(0x15c)](!0x1);}catch(_0x2bb463){return this['_logService'][_0x43bc7b(0x350)](_0x2bb463),this[_0x43bc7b(0x15c)](!0x1);}}[_0x5a609d(0x384)](_0x5100bb){var _0x151115=_0x5a609d;this['_clearScheduledTask']();const _0x4c07dd=this[_0x151115(0x2cc)][_0x151115(0x29d)](this[_0x151115(0x293)]);if(_0x5100bb['revision']<_0x4c07dd-0x1)return this;if(this[_0x151115(0x29a)](_0x5100bb))return this[_0x151115(0x281)]['createInstance'](te,this[_0x151115(0x293)],this[_0x151115(0x442)],null,[],this[_0x151115(0x2df)],[],this[_0x151115(0x3a0)]);this[_0x151115(0x263)]();const _0x1f8d99=this[_0x151115(0x281)][_0x151115(0x2d4)](De,this[_0x151115(0x293)],this[_0x151115(0x442)],this['_handler']);return _0x1f8d99[_0x151115(0x23a)](),_0x1f8d99;}['onRemoteRej'](_0x269205){var _0xfac479=_0x5a609d;return this[_0xfac479(0x15c)](!!(_0x269205!=null&&_0x269205['isPermissionRej']));}['onRemoteRetry'](_0x131c5d){var _0x1cd9ec=_0x5a609d;return this['_resendTimeout']>Ni?this[_0x1cd9ec(0x427)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x1cd9ec(0x2de)],'reqId':_0x131c5d[_0x1cd9ec(0x3f2)]}),this[_0x1cd9ec(0x3ca)]=this[_0x1cd9ec(0x2a9)][_0x1cd9ec(0x275)](({reqId:_0x2e705c,timeout:_0x211388})=>{var _0x130c2e=_0x1cd9ec;this[_0x130c2e(0x251)](_0x2e705c,_0x211388);}),this);}[_0x5a609d(0x427)](){var _0x4c4d7c=_0x5a609d;return this[_0x4c4d7c(0x214)](),this[_0x4c4d7c(0x281)]['createInstance'](fe,this[_0x4c4d7c(0x293)],this[_0x4c4d7c(0x442)],this[_0x4c4d7c(0x2df)],[],this[_0x4c4d7c(0x3a0)]);}[_0x5a609d(0x1f9)](){return this;}['resend'](){var _0x5e3b29=_0x5a609d;this[_0x5e3b29(0x3a0)][_0x5e3b29(0x34e)](this['_awaitingChangeset']);}[_0x5a609d(0x15c)](_0x3bcb32){var _0x4a22b0=_0x5a609d;return this[_0x4a22b0(0x214)](),this[_0x4a22b0(0x281)][_0x4a22b0(0x2d4)](de,this['unitID'],this['type'],this[_0x4a22b0(0x2df)],[],this[_0x4a22b0(0x3a0)],_0x3bcb32);}['_resendWithTimeout'](_0x498451,_0x159ae1){var _0x3f13f1=_0x5a609d,_0x2943a5;_0x498451===((_0x2943a5=this[_0x3f13f1(0x2df)])==null?void 0x0:_0x2943a5[_0x3f13f1(0x3f2)])&&(this['resend'](),this[_0x3f13f1(0x2de)]=_0x159ae1===0x0?0x3e8:_0x159ae1*0x2);}[_0x5a609d(0x214)](){var _0x1cf2ad=_0x5a609d,_0x437d17;(_0x437d17=this['_sender'])==null||_0x437d17[_0x1cf2ad(0x420)](),this[_0x1cf2ad(0x2de)]=0x0;}};ue=Re([A(0x4,_0x4993c2(_0x2c6931)),A(0x5,_0x4993c2(_0x43c42f)),A(0x6,_0x11f6b7),A(0x7,_0x19cece),A(0x8,_0x5ac67f),A(0x9,_0x460750),A(0xa,_0x5e6a60(J))],ue);let ae=class extends be{constructor(_0x2f4647,_0x4dcb3c,_0x1f4b15,_0x3608ee,_0x1d85ab,_0x5e7e93,_0x116b7e,_0xd68401,_0x52d368,_0x40e2f5,_0x13c180,_0x2ff922,_0x2dfeeb){var _0x53db6f=_0x5a609d;super(_0x2f4647,_0x4dcb3c,_0x1f4b15,_0x3608ee,_0x1d85ab,_0x52d368,_0x2ff922,_0xd68401,_0x2dfeeb),N(this,'status',_0x53db6f(0x459)),N(this,_0x53db6f(0x2de),0x0),N(this,_0x53db6f(0x2a9)),N(this,_0x53db6f(0x3ca)),(this[_0x53db6f(0x281)]=_0x116b7e,this['_logService']=_0x40e2f5,this['_transformService']=_0x13c180,this[_0x53db6f(0x2d0)]=_0x2dfeeb,_0x5e7e93&&(this[_0x53db6f(0x2a9)]=_0x5e7e93,this[_0x53db6f(0x3ca)]=this[_0x53db6f(0x2a9)][_0x53db6f(0x275)](({reqId:_0x425914,timeout:_0x4a30ad})=>{this['_resendWithTimeout'](_0x425914,_0x4a30ad);})));}[_0x5a609d(0x2f8)](_0x43a2c2){var _0x33df57=_0x5a609d;return this[_0x33df57(0x262)]['push'](_0x43a2c2),this;}[_0x5a609d(0x42e)](_0x479d95){var _0x372ab9=_0x5a609d;if(this[_0x372ab9(0x29a)](_0x479d95))return this[_0x372ab9(0x214)](),this[_0x372ab9(0x281)][_0x372ab9(0x2d4)](te,this[_0x372ab9(0x293)],this[_0x372ab9(0x442)],this[_0x372ab9(0x2df)],this[_0x372ab9(0x262)],null,[_0x479d95],this[_0x372ab9(0x3a0)]);try{const _0xe6ba8f=this[_0x372ab9(0x34c)][_0x372ab9(0x181)]([_0x479d95],[this['_awaitingChangeset']],!0x1);if(_0x5a7ea3(_0xe6ba8f)){const {c1Prime:_0x9ff7d5,c2Prime:_0x102fe3}=_0xe6ba8f,_0x3193e0=this[_0x372ab9(0x34c)][_0x372ab9(0x17b)](_0x9ff7d5[0x0],this['_pendingMutations']);if(_0x5ca767(_0x3193e0)){const {c1Prime:_0x5661bc,m2Prime:_0x25b157}=_0x3193e0;return this[_0x372ab9(0x460)](_0x5661bc),_0x102fe3[0x0][_0x372ab9(0x335)]=this[_0x372ab9(0x187)](),this['_clearScheduledTask'](),this['_injector'][_0x372ab9(0x2d4)](ae,this[_0x372ab9(0x293)],this[_0x372ab9(0x442)],_0x102fe3[0x0],_0x25b157,this[_0x372ab9(0x3a0)],void 0x0);}throw _0x3193e0[_0x372ab9(0x350)];}throw _0xe6ba8f[_0x372ab9(0x350)];}catch(_0x3e4987){return this['_logService']['error'](_0x3e4987),this[_0x372ab9(0x15c)](!0x1);}}['onRemoteAck'](_0x347101){var _0x762e0=_0x5a609d;if(this[_0x762e0(0x214)](),this['_checkMissing'](_0x347101))return this[_0x762e0(0x281)][_0x762e0(0x2d4)](te,this[_0x762e0(0x293)],this['type'],null,this[_0x762e0(0x262)],this[_0x762e0(0x2df)],[],this['_handler']);this[_0x762e0(0x263)]();const _0x1c1a3c=this['_injector'][_0x762e0(0x2d4)](oe,this[_0x762e0(0x293)],this[_0x762e0(0x442)],this[_0x762e0(0x262)],this[_0x762e0(0x3a0)]);return _0x1c1a3c['_schedule'](),_0x1c1a3c[_0x762e0(0x23a)](),_0x1c1a3c;}[_0x5a609d(0x452)](_0xc465aa){var _0x569dc6=_0x5a609d;return this[_0x569dc6(0x15c)](!!(_0xc465aa!=null&&_0xc465aa[_0x569dc6(0x2ec)]));}['onRemoteRetry'](_0x2a8d3d){var _0x1c5901=_0x5a609d;return this[_0x1c5901(0x2de)]>Ni?this[_0x1c5901(0x427)]():(this['_resendTimer']=Oi(this[_0x1c5901(0x2de)],{'timeout':this[_0x1c5901(0x2de)],'reqId':_0x2a8d3d[_0x1c5901(0x3f2)]}),this[_0x1c5901(0x3ca)]=this[_0x1c5901(0x2a9)][_0x1c5901(0x275)](({reqId:_0xfc7ee0,timeout:_0x4eae48})=>{var _0x437eac=_0x1c5901;this[_0x437eac(0x251)](_0xfc7ee0,_0x4eae48);}),this);}[_0x5a609d(0x427)](){var _0x3a9a1d=_0x5a609d;return this[_0x3a9a1d(0x214)](),this['_injector'][_0x3a9a1d(0x2d4)](fe,this[_0x3a9a1d(0x293)],this[_0x3a9a1d(0x442)],this[_0x3a9a1d(0x2df)],this[_0x3a9a1d(0x262)],this[_0x3a9a1d(0x3a0)]);}['toggleOnline'](){return this;}[_0x5a609d(0x392)](){var _0x397ae9=_0x5a609d;this[_0x397ae9(0x3a0)]['onSendChangeset'](this[_0x397ae9(0x2df)]);}[_0x5a609d(0x15c)](_0x3ac112){var _0x4e422a=_0x5a609d;return this[_0x4e422a(0x214)](),this['_injector']['createInstance'](de,this[_0x4e422a(0x293)],this[_0x4e422a(0x442)],null,this['_pendingMutations'],this['_handler'],_0x3ac112);}['_resendWithTimeout'](_0x472629,_0x52427b){var _0x40b8b7=_0x5a609d,_0x36d31d;_0x472629===((_0x36d31d=this[_0x40b8b7(0x2df)])==null?void 0x0:_0x36d31d['reqId'])&&(this['resend'](),this[_0x40b8b7(0x2de)]=_0x52427b===0x0?0x3e8:_0x52427b*0x2);}[_0x5a609d(0x214)](){var _0x577d41=_0x5a609d,_0x393564;(_0x393564=this[_0x577d41(0x3ca)])==null||_0x393564[_0x577d41(0x420)](),this[_0x577d41(0x2de)]=0x0;}};ae=Re([A(0x6,_0x4993c2(_0x2c6931)),A(0x7,_0x4993c2(_0x43c42f)),A(0x8,_0x11f6b7),A(0x9,_0x19cece),A(0xa,_0x5ac67f),A(0xb,_0x460750),A(0xc,_0x5e6a60(J))],ae);let de=class extends be{constructor(_0x1d0107,_0x3accee,_0x59545a,_0x553187,_0x396909,_0xe35ffd=!0x1,_0xb49841,_0x5b1959,_0x182a2f,_0x510cc2,_0x29dad9,_0x570cc2,_0x57237b){var _0x948d8f=_0x5a609d;super(_0x1d0107,_0x3accee,_0x59545a,_0x553187,_0x396909,_0x5b1959,_0x182a2f,_0x510cc2,_0x57237b),N(this,_0x948d8f(0x1a7),_0x948d8f(0x2e3)),(this[_0x948d8f(0x18a)]=_0xe35ffd,this['_permissionService']=_0xb49841,this[_0x948d8f(0x1f7)]=_0x29dad9,this[_0x948d8f(0x440)]=_0x570cc2,this[_0x948d8f(0x2d0)]=_0x57237b,this[_0x948d8f(0x1c6)](),this[_0x948d8f(0x1da)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x5a609d(0x42e)](){return this;}[_0x5a609d(0x384)](){return this;}[_0x5a609d(0x452)](){return this;}[_0x5a609d(0x172)](){return this;}['toggleOffline'](){return this;}[_0x5a609d(0x1f9)](){return this;}[_0x5a609d(0x392)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5a609d(0x1da)](){var _0x8bd72b=_0x5a609d,_0x31c7d9;(_0x31c7d9=this[_0x8bd72b(0x1b8)])==null||_0x31c7d9[_0x8bd72b(0x40a)](this[_0x8bd72b(0x293)],this[_0x8bd72b(0x442)],null,[]);}[_0x5a609d(0x1c6)](){var _0x574275=_0x5a609d;this[_0x574275(0x18a)]?this[_0x574275(0x440)][_0x574275(0x36f)]({'id':se[_0x574275(0x237)]}):this[_0x574275(0x440)][_0x574275(0x36f)]({'id':se['CONFLICT']});}[_0x5a609d(0x2d7)](){var _0xc96bb=_0x5a609d;this['_permissionService'][_0xc96bb(0x332)](new _0x325569(this[_0xc96bb(0x293)])['id'],!0x1);}};de=Re([A(0x6,_0x4993c2(_0x3d9d37)),A(0x7,_0x11f6b7),A(0x8,_0x460750),A(0x9,_0x4993c2(_0x43c42f)),A(0xa,_0x4993c2(_0x3d8b17)),A(0xb,_0x4993c2(pe)),A(0xc,_0x5e6a60(J))],de);let fe=class extends be{constructor(_0x1dcd5c,_0x3f71ef,_0x312ffe,_0x191e98,_0x2593f3,_0x597d7d,_0x1a0a93,_0x394508,_0x170a16,_0x66e0c6){var _0x1bbd75=_0x5a609d;super(_0x1dcd5c,_0x3f71ef,_0x312ffe,_0x191e98,_0x2593f3,_0x394508,_0x170a16,_0x1a0a93,_0x66e0c6),N(this,_0x1bbd75(0x1a7),_0x1bbd75(0x1cd)),this[_0x1bbd75(0x281)]=_0x597d7d;}[_0x5a609d(0x2f8)](_0x140de6){var _0x88be03=_0x5a609d;return this[_0x88be03(0x262)][_0x88be03(0x318)](_0x140de6),this[_0x88be03(0x23a)](),this;}['onRemoteChangeset'](_0x5de48c){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x5a609d(0x384)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x204f2c=_0x5a609d;throw new Error(_0x204f2c(0x314));}['onRemoteRetry'](){return this;}[_0x5a609d(0x427)](){return this;}[_0x5a609d(0x1f9)](){var _0x475af5=_0x5a609d;const {_injector:_0x5dbe8f,_pendingMutations:_0x3a9af2,_awaitingChangeset:_0x6eaf52,unitID:_0x5ce92d,_handler:_0x251ed5,type:_0x103ba7}=this,_0x5ac637=Di(_0x5dbe8f,_0x5ce92d,_0x103ba7,_0x6eaf52,_0x3a9af2,_0x251ed5);return _0x5ac637 instanceof oe?_0x5ac637[_0x475af5(0x220)]():(_0x5ac637 instanceof ae||_0x5ac637 instanceof ue)&&_0x5ac637[_0x475af5(0x392)](),_0x5ac637;}[_0x5a609d(0x392)](){var _0x441728=_0x5a609d;throw new Error(_0x441728(0x1fe));}};fe=Re([A(0x5,_0x4993c2(_0x2c6931)),A(0x6,_0x4993c2(_0x43c42f)),A(0x7,_0x11f6b7),A(0x8,_0x460750),A(0x9,_0x5e6a60(J))],fe);let te=class extends be{constructor(_0x5af175,_0x589869,_0x16de09,_0x4abb73,_0x5848cb,_0x4fdbc8,_0x53dd37,_0x542f68,_0x50fa7b,_0x44bf10,_0x1ef7b3,_0x5ad407,_0x565a0d,_0x50c476){var _0x380e6f=_0x5a609d;super(_0x5af175,_0x589869,_0x16de09,_0x4abb73,_0x53dd37,_0x1ef7b3,_0x5ad407,_0x50fa7b,_0x50c476),N(this,'status',_0x380e6f(0x3b4)),(this[_0x380e6f(0x35d)]=_0x5848cb,this[_0x380e6f(0x371)]=_0x4fdbc8,this[_0x380e6f(0x281)]=_0x542f68,this[_0x380e6f(0x3f6)]=_0x44bf10,this['_transformService']=_0x565a0d,this[_0x380e6f(0x2d0)]=_0x50c476);}[_0x5a609d(0x183)](_0x3b35d5){var _0x340b90=_0x5a609d;try{const _0x499b35=[..._0x3b35d5,...this[_0x340b90(0x371)]],_0x4c275d=[this[_0x340b90(0x2df)]||this[_0x340b90(0x35d)]]['filter'](_0x46a505=>!!_0x46a505);let _0x2c1c9a,_0x3fd3c8;if(_0x4c275d[_0x340b90(0x192)]){const _0x1a2821=this[_0x340b90(0x34c)][_0x340b90(0x181)](_0x499b35,_0x4c275d,!0x1);if(!_0x5a7ea3(_0x1a2821))throw _0x1a2821['error'];_0x2c1c9a=_0x1a2821[_0x340b90(0x28d)],_0x3fd3c8=_0x1a2821['c2Prime'];}else _0x2c1c9a=_0x499b35,_0x3fd3c8=[];let _0x40a5fe=this[_0x340b90(0x262)];_0x2c1c9a['forEach'](_0xdec0c5=>{var _0x25868c=_0x340b90;let _0x36fa2f;if(_0x40a5fe['length']){const _0x1db1b9=this[_0x25868c(0x34c)][_0x25868c(0x17b)](_0xdec0c5,_0x40a5fe);if(!_0x5ca767(_0x1db1b9))throw _0x1db1b9['error'];_0x36fa2f=_0x1db1b9[_0x25868c(0x28d)],_0x40a5fe=_0x1db1b9[_0x25868c(0x162)];}else _0x36fa2f=_0xdec0c5;this[_0x25868c(0x460)](_0x36fa2f);}),this['_acknowledgedAwaitingChangeset']&&this[_0x340b90(0x263)](),this[_0x340b90(0x2df)]&&_0x3fd3c8['length']&&(_0x3fd3c8[0x0]['baseRev']=this[_0x340b90(0x187)]());let _0x278e2e;if(this[_0x340b90(0x2df)]&&_0x40a5fe[_0x340b90(0x192)]!==0x0)_0x278e2e=this[_0x340b90(0x281)]['createInstance'](ae,this[_0x340b90(0x293)],this[_0x340b90(0x442)],_0x3fd3c8[0x0],_0x40a5fe,this[_0x340b90(0x3a0)],void 0x0);else{if(this[_0x340b90(0x2df)]&&_0x40a5fe[_0x340b90(0x192)]===0x0)_0x3fd3c8[0x0][_0x340b90(0x335)]=this['_getCurrentRevision'](),_0x278e2e=this[_0x340b90(0x281)][_0x340b90(0x2d4)](ue,this[_0x340b90(0x293)],this[_0x340b90(0x442)],_0x3fd3c8[0x0],this[_0x340b90(0x3a0)]);else{if(_0x40a5fe[_0x340b90(0x192)]!==0x0){const _0x253c41=this[_0x340b90(0x281)][_0x340b90(0x2d4)](oe,this['unitID'],this['type'],_0x40a5fe,this['_handler']);_0x253c41['_schedule'](),_0x278e2e=_0x253c41;}else _0x278e2e=this[_0x340b90(0x281)]['createInstance'](De,this[_0x340b90(0x293)],this[_0x340b90(0x442)],this['_handler']);}}return _0x278e2e[_0x340b90(0x23a)](),_0x278e2e;}catch(_0x1187cd){return this[_0x340b90(0x3f6)][_0x340b90(0x350)](_0x340b90(0x1c4),_0x340b90(0x305),_0x1187cd),this['_injector'][_0x340b90(0x2d4)](de,this['unitID'],this[_0x340b90(0x442)],this['_awaitingChangeset'],this[_0x340b90(0x262)],this[_0x340b90(0x3a0)],!0x1);}}[_0x5a609d(0x392)](){var _0x30fd62=_0x5a609d;throw new Error(_0x30fd62(0x20e));}[_0x5a609d(0x2f8)](_0x2f1353){var _0x22e851=_0x5a609d;return this[_0x22e851(0x262)]['push'](_0x2f1353),this;}[_0x5a609d(0x42e)](_0x24070b){var _0x39ba1a=_0x5a609d;return this[_0x39ba1a(0x371)][_0x39ba1a(0x318)](_0x24070b),this;}[_0x5a609d(0x384)](_0x4863af){var _0x28ad51=_0x5a609d;if(this[_0x28ad51(0x2df)])return this[_0x28ad51(0x35d)]=this[_0x28ad51(0x2df)],this[_0x28ad51(0x2df)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5a609d(0x452)](_0x25e7da){var _0x504785=_0x5a609d;return this[_0x504785(0x15c)](!!(_0x25e7da!=null&&_0x25e7da[_0x504785(0x2ec)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x328505=_0x5a609d;return this[_0x328505(0x281)][_0x328505(0x2d4)](fe,this[_0x328505(0x293)],this[_0x328505(0x442)],this[_0x328505(0x2df)],this['_pendingMutations'],this[_0x328505(0x3a0)]);}['toggleOnline'](){return this;}['_onConflict'](_0x502e03){var _0x34c9c1=_0x5a609d;return this['_injector']['createInstance'](de,this['unitID'],this[_0x34c9c1(0x442)],this[_0x34c9c1(0x2df)],this[_0x34c9c1(0x262)],this['_handler'],_0x502e03);}};te=Re([A(0x7,_0x4993c2(_0x2c6931)),A(0x8,_0x4993c2(_0x43c42f)),A(0x9,_0x19cece),A(0xa,_0x11f6b7),A(0xb,_0x460750),A(0xc,_0x5ac67f),A(0xd,_0x5e6a60(J))],te);function Di(_0x3c529f,_0x560c79,_0x39b48a,_0x9c8aad,_0x3bc34b,_0x42b593){var _0x323f19=_0x5a609d;return _0x9c8aad&&_0x3bc34b['length']?_0x3c529f['createInstance'](ae,_0x560c79,_0x39b48a,_0x9c8aad,_0x3bc34b,_0x42b593,void 0x0):_0x9c8aad?_0x3c529f[_0x323f19(0x2d4)](ue,_0x560c79,_0x39b48a,_0x9c8aad,_0x42b593):_0x3bc34b[_0x323f19(0x192)]?_0x3c529f[_0x323f19(0x2d4)](oe,_0x560c79,_0x39b48a,_0x3bc34b,_0x42b593):_0x3c529f[_0x323f19(0x2d4)](De,_0x560c79,_0x39b48a,_0x42b593);}var vr=Object[_0x5a609d(0x258)],pr=Object[_0x5a609d(0x197)],Lt=(_0x3da165,_0xf9c3c0,_0x36e6a1,_0x2a1917)=>{for(var _0x372fae=_0x2a1917>0x1?void 0x0:_0x2a1917?pr(_0xf9c3c0,_0x36e6a1):_0xf9c3c0,_0x2e5d66=_0x3da165['length']-0x1,_0x31e2a1;_0x2e5d66>=0x0;_0x2e5d66--)(_0x31e2a1=_0x3da165[_0x2e5d66])&&(_0x372fae=(_0x2a1917?_0x31e2a1(_0xf9c3c0,_0x36e6a1,_0x372fae):_0x31e2a1(_0x372fae))||_0x372fae);return _0x2a1917&&_0x372fae&&vr(_0xf9c3c0,_0x36e6a1,_0x372fae),_0x372fae;},k=(_0x2e6fd5,_0x1628bc)=>(_0x3008fd,_0x5f5875)=>_0x1628bc(_0x3008fd,_0x5f5875,_0x2e6fd5);function _0x51f8(_0x1c4516,_0x468b06){var _0x48b4bd=_0x48b4();return _0x51f8=function(_0x51f8bf,_0x1746fc){_0x51f8bf=_0x51f8bf-0x15a;var _0x42cffe=_0x48b4bd[_0x51f8bf];return _0x42cffe;},_0x51f8(_0x1c4516,_0x468b06);}let nt=class extends _0x14f46f{constructor(_0x3c8b0e,_0xa3d831,_0xc36f49,_0x2531c9,_0x29bfdf,_0x2d92c0,_0x4a0017,_0x594fe0,_0x3c352a,_0x2973af,_0x2b60dc,_0x539584,_0x46b9b2){var _0x479912=_0x5a609d;super(),N(this,_0x479912(0x269),new _0x2e1607(null)),N(this,_0x479912(0x259),this[_0x479912(0x269)][_0x479912(0x453)]()),N(this,'_state'),N(this,_0x479912(0x34f),!0x1),N(this,_0x479912(0x2e1),''),N(this,_0x479912(0x164),0x0),N(this,_0x479912(0x18d),this[_0x479912(0x259)]['pipe'](_0x2ded05(_0x5ca5b2=>_0x5ca5b2?_0x5ca5b2[_0x479912(0x1a7)]:yi[_0x479912(0x30b)]),_0x43c387(0x1))),N(this,_0x479912(0x317),!0x1),N(this,_0x479912(0x3e9),[]),(this['unitID']=_0x3c8b0e,this['session']=_0xa3d831,this['_type']=_0xc36f49,this[_0x479912(0x281)]=_0x2531c9,this['_compressMutationService']=_0x29bfdf,this['_localeService']=_0x2d92c0,this[_0x479912(0x2cc)]=_0x4a0017,this[_0x479912(0x38b)]=_0x594fe0,this[_0x479912(0x3f6)]=_0x3c352a,this[_0x479912(0x450)]=_0x2973af,this[_0x479912(0x2fc)]=_0x2b60dc,this['_singleActiveUnitService']=_0x539584,this[_0x479912(0x1b8)]=_0x46b9b2);}get[_0x5a609d(0x1eb)](){var _0x2b94e5=_0x5a609d;return this[_0x2b94e5(0x228)];}async[_0x5a609d(0x230)](){var _0x1b9cf9=_0x5a609d;if(this[_0x1b9cf9(0x1eb)])throw new Error(_0x1b9cf9(0x3b9));await this[_0x1b9cf9(0x38c)]();}[_0x5a609d(0x3fd)](){var _0x415ad0=_0x5a609d;return this[_0x415ad0(0x34f)]=!0x0,_0x1923a4(()=>{var _0x1f213b=_0x415ad0;this[_0x1f213b(0x34f)]=!0x1,this[_0x1f213b(0x23f)]();});}['onLocalMutation'](_0x3337ba){var _0x4de84b=_0x5a609d;this[_0x4de84b(0x344)](_0x3337ba);}[_0x5a609d(0x394)](_0x1ba0e7){var _0x499b99=_0x5a609d;this['_state']=_0x1ba0e7,this[_0x499b99(0x269)]['next'](_0x1ba0e7);}async[_0x5a609d(0x38c)](){var _0x33318a=_0x5a609d,_0x59d8af;this[_0x33318a(0x394)](await this[_0x33318a(0x386)]()),this[_0x33318a(0x2d5)]&&((_0x59d8af=this[_0x33318a(0x2d5)])==null||_0x59d8af[_0x33318a(0x180)](this[_0x33318a(0x293)]),this[_0x33318a(0x2ae)](this[_0x33318a(0x2d5)]['getUnitStatus$'](this[_0x33318a(0x293)])[_0x33318a(0x275)](_0x21d989=>{var _0x28cfc0=_0x33318a;this[_0x28cfc0(0x3f6)]['debug'](_0x28cfc0(0x437),_0x28cfc0(0x185),_0x21d989),_0x21d989===bi[_0x28cfc0(0x1c7)]?(this[_0x28cfc0(0x38b)]['emitEvent']({'id':se[_0x28cfc0(0x1e9)]}),this[_0x28cfc0(0x2fc)][_0x28cfc0(0x332)](new _0x325569(this[_0x28cfc0(0x293)])['id'],!0x1),this['_permissionService'][_0x28cfc0(0x277)](!0x1)):(this[_0x28cfc0(0x2fc)][_0x28cfc0(0x332)](new _0x325569(this[_0x28cfc0(0x293)])['id'],!0x0),this[_0x28cfc0(0x2fc)][_0x28cfc0(0x277)](!0x0));})));let _0x2ac67d=!0x1;return this[_0x33318a(0x2ae)](this[_0x33318a(0x3f1)][_0x33318a(0x2fb)][_0x33318a(0x275)](_0x5b5dd1=>{var _0x1e0be1=_0x33318a;_0x5b5dd1===Te[_0x1e0be1(0x357)]?this[_0x1e0be1(0x433)](_0x2ac67d):_0x5b5dd1===Te[_0x1e0be1(0x30b)]&&(_0x2ac67d=!0x0,this[_0x1e0be1(0x32f)]());})),this[_0x33318a(0x2ae)](this[_0x33318a(0x3f1)][_0x33318a(0x1f3)][_0x33318a(0x275)](_0x2bbf8f=>{var _0x5b08df=_0x33318a;try{switch(_0x2bbf8f[_0x5b08df(0x3cb)]){case _0x5951b7[_0x5b08df(0x377)]:{this[_0x5b08df(0x1e0)](_0xe47276(_0x2bbf8f[_0x5b08df(0x313)]));break;}case _0x5951b7['CHANGESET_ACK']:{this[_0x5b08df(0x249)](_0x2bbf8f[_0x5b08df(0x313)]);break;}case _0x5951b7[_0x5b08df(0x302)]:{this[_0x5b08df(0x30f)]();break;}case _0x5951b7[_0x5b08df(0x22f)]:{this[_0x5b08df(0x191)](_0x2bbf8f['data']);break;}case _0x5951b7['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5b08df(0x176)](_0x2bbf8f[_0x5b08df(0x313)][_0x5b08df(0x21a)][_0x5b08df(0x298)](_0x9559b8=>_0xe47276(_0x9559b8)));break;}case _0x5951b7[_0x5b08df(0x375)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5951b7[_0x5b08df(0x3e7)]:break;}}catch(_0x4ef24d){throw console['error'](_0x5b08df(0x3a6),_0x4ef24d),_0x4ef24d;}})),this['_state'];}[_0x5a609d(0x1d5)](){var _0x1df574=_0x5a609d;this[_0x1df574(0x317)]=!0x1;}[_0x5a609d(0x21d)](){var _0x35afde=_0x5a609d;if(this[_0x35afde(0x317)])throw new Error(_0x35afde(0x370));this[_0x35afde(0x317)]=!0x0;}['_onLocalMutation'](_0x3fc5fe){var _0x3eb3ba=_0x5a609d;this[_0x3eb3ba(0x21d)](),this['_updateState'](this[_0x3eb3ba(0x228)][_0x3eb3ba(0x2f8)](_0x3fc5fe)),this[_0x3eb3ba(0x1d5)]();}[_0x5a609d(0x1e0)](_0x42ba49){var _0x545b53=_0x5a609d;if(!(_0x42ba49[_0x545b53(0x3ac)]<=this[_0x545b53(0x2cc)][_0x545b53(0x29d)](this[_0x545b53(0x293)]))){if(this[_0x545b53(0x34f)]){this[_0x545b53(0x3e9)]['push'](_0x42ba49);return;}this[_0x545b53(0x360)](_0x42ba49);}}[_0x5a609d(0x23f)](){var _0x2aae59=_0x5a609d;this['_remoteChangesetQueue'][_0x2aae59(0x229)](_0x2966ae=>this[_0x2aae59(0x360)](_0x2966ae)),this['_remoteChangesetQueue']=[];}[_0x5a609d(0x360)](_0x55f6df){var _0x504239=_0x5a609d;const _0x3ff408=this[_0x504239(0x280)][_0x504239(0x248)][_0x504239(0x27c)](this[_0x504239(0x280)][_0x504239(0x248)][_0x504239(0x36b)]()[_0x504239(0x434)])(_0x55f6df[_0x504239(0x3f4)],null)||_0x55f6df[_0x504239(0x3f4)],_0x267048={..._0x55f6df,'mutations':_0x3ff408};this[_0x504239(0x21d)](),this[_0x504239(0x394)](this['_state'][_0x504239(0x42e)](_0x267048)),this[_0x504239(0x1d5)]();}[_0x5a609d(0x249)](_0x45af4f){var _0x16fd80=_0x5a609d;this['_lockTransition'](),this[_0x16fd80(0x394)](this['_state']['onRemoteAck'](_0x45af4f)),this[_0x16fd80(0x1d5)]();}[_0x5a609d(0x30f)](_0x1ed3d8){var _0x37f1fe=_0x5a609d;this[_0x37f1fe(0x21d)](),this[_0x37f1fe(0x394)](this['_state'][_0x37f1fe(0x452)](_0x1ed3d8)),this[_0x37f1fe(0x1d5)]();}[_0x5a609d(0x191)](_0x3b90ca){var _0x279dd5=_0x5a609d;this['_lockTransition'](),this[_0x279dd5(0x394)](this[_0x279dd5(0x228)][_0x279dd5(0x172)](_0x3b90ca)),this['_unlockTransition']();}[_0x5a609d(0x176)](_0x2e54e7){var _0x48ff78=_0x5a609d;if(!(this['_state']instanceof te))throw new TypeError(_0x48ff78(0x3fe));const _0x40b7d2=_0x2e54e7[_0x48ff78(0x298)](_0xe9244b=>{var _0x12e71c=_0x48ff78;const _0x102b81=this[_0x12e71c(0x280)][_0x12e71c(0x248)][_0x12e71c(0x27c)](this[_0x12e71c(0x280)][_0x12e71c(0x248)][_0x12e71c(0x36b)]()['COMPRESS_MUTATION_APPLY'])(_0xe9244b[_0x12e71c(0x3f4)],null)||_0xe9244b[_0x12e71c(0x3f4)];return{..._0xe9244b,'mutations':_0x102b81};});this[_0x48ff78(0x21d)](),this[_0x48ff78(0x394)](this[_0x48ff78(0x228)][_0x48ff78(0x183)](_0x40b7d2)),this[_0x48ff78(0x1d5)]();}[_0x5a609d(0x32f)](){var _0xa77a83=_0x5a609d;this['_lockTransition'](),this['_updateState'](this['_state'][_0xa77a83(0x427)]()),this[_0xa77a83(0x1d5)]();}[_0x5a609d(0x433)](_0x5abe05=!0x1){var _0x42953c=_0x5a609d;this[_0x42953c(0x21d)](),this['_updateState'](this[_0x42953c(0x228)][_0x42953c(0x1f9)]()),this['_unlockTransition']();const _0x1eb7ad=this[_0x42953c(0x228)];_0x5abe05&&_0x1eb7ad instanceof De&&(this['_lockTransition'](),this[_0x42953c(0x394)](_0x1eb7ad[_0x42953c(0x19f)]()),this[_0x42953c(0x1d5)]());}async[_0x5a609d(0x386)](){return new Promise(_0x325188=>{var _0x3116f4=_0x51f8;this[_0x3116f4(0x3f1)][_0x3116f4(0x2fb)]['pipe'](_0x32dcd2(0x1))[_0x3116f4(0x275)](async _0x14acc8=>{var _0x3d2d60=_0x3116f4;_0x325188(await this[_0x3d2d60(0x1cf)](_0x14acc8===Te[_0x3d2d60(0x357)]));});});}[_0x5a609d(0x400)](){const _0x2303d7=this['unitID'];return{'onStateChange':(_0x28dbe7,_0x8ffa17)=>{var _0x353a25=_0x51f8;if(_0x28dbe7!==this[_0x353a25(0x228)])throw new Error(_0x353a25(0x3ea)+_0x28dbe7[_0x353a25(0x1a7)]+_0x353a25(0x1a9)+_0x8ffa17['status']+'\x0aCurrent:\x20'+this[_0x353a25(0x228)][_0x353a25(0x1a7)]);this[_0x353a25(0x394)](_0x8ffa17);},'onSendChangeset':_0x5927a3=>{var _0x18a198=_0x51f8;_0x5927a3[_0x18a198(0x260)]||(_0x5927a3[_0x18a198(0x260)]=this['_changesetSessionId'],_0x5927a3[_0x18a198(0x3f2)]=++this[_0x18a198(0x164)]);const _0x32cf15={'eventID':_0x5951b7[_0x18a198(0x25a)],'data':{'unitID':_0x5927a3[_0x18a198(0x293)],'unitType':this['_type'],'changeset':_0x5927a3,'memberID':this[_0x18a198(0x3f1)][_0x18a198(0x31a)]()}};this[_0x18a198(0x3f1)][_0x18a198(0x328)](_0x32cf15,this[_0x18a198(0x293)]);},'onMissingChangesets':({from:_0x16e884,to:_0x13edd3})=>{var _0x51155e=_0x51f8;this[_0x51155e(0x3f6)][_0x51155e(0x3e1)](_0x51155e(0x437),_0x51155e(0x3c2)+_0x16e884+_0x51155e(0x1fc)+_0x13edd3);const _0x2fc0a4={'eventID':_0x5951b7[_0x51155e(0x1e6)],'data':{'unitID':_0x2303d7,'unitType':this['_type'],'from':_0x16e884,'to':_0x13edd3}};this[_0x51155e(0x3f1)][_0x51155e(0x328)](_0x2fc0a4,this[_0x51155e(0x293)]);}};}async[_0x5a609d(0x1cf)](_0x1a9754){var _0x305dc3=_0x5a609d,_0x5c8c2e,_0x2422a5,_0xc38a1c;const _0x463e80=await((_0x5c8c2e=this['_localCacheService'])==null?void 0x0:_0x5c8c2e[_0x305dc3(0x2cd)](this['unitID'])),_0x5eb766=(_0x2422a5=_0x463e80==null?void 0x0:_0x463e80['mutations'])!=null?_0x2422a5:[],_0x514f68=(_0xc38a1c=_0x463e80==null?void 0x0:_0x463e80[_0x305dc3(0x19d)])!=null?_0xc38a1c:null,_0x20ee05=!!(_0x514f68!=null&&_0x514f68[_0x305dc3(0x260)])&&!!(_0x514f68!=null&&_0x514f68[_0x305dc3(0x3f2)]);this[_0x305dc3(0x2e1)]=_0x20ee05?_0x514f68[_0x305dc3(0x260)]:sr(),this[_0x305dc3(0x164)]=_0x20ee05?_0x514f68['reqId']:0x0;const _0x4cf154=this[_0x305dc3(0x293)];try{this[_0x305dc3(0x2c5)](_0x514f68,_0x5eb766);}catch(_0x14dd24){this[_0x305dc3(0x3f6)][_0x305dc3(0x350)](_0x14dd24);}const _0x48cc36=this['_createHandler']();if(_0x1a9754){const _0x18c6d0=Di(this[_0x305dc3(0x281)],_0x4cf154,this['_type'],_0x514f68,_0x5eb766,_0x48cc36);return _0x18c6d0 instanceof oe?_0x18c6d0[_0x305dc3(0x220)]():(_0x18c6d0 instanceof ae||_0x18c6d0 instanceof ue)&&_0x18c6d0[_0x305dc3(0x392)](),_0x18c6d0;}return this[_0x305dc3(0x281)][_0x305dc3(0x2d4)](fe,_0x4cf154,this['_type'],_0x514f68,_0x5eb766,_0x48cc36);}['_replayCachedMutations'](_0x5c4acf,_0x4c7f24){var _0x4c382a=_0x5a609d,_0x5c7d6b,_0x4531a5;const _0x34fa9f=this['_compressMutationService'][_0x4c382a(0x248)]['fetchThroughInterceptors'](this[_0x4c382a(0x280)][_0x4c382a(0x248)][_0x4c382a(0x36b)]()[_0x4c382a(0x434)]);(_0x5c7d6b=_0x34fa9f((_0x5c4acf==null?void 0x0:_0x5c4acf[_0x4c382a(0x3f4)])||[],null))==null||_0x5c7d6b[_0x4c382a(0x229)](_0x66a96d=>this[_0x4c382a(0x450)]['executeCommand'](_0x66a96d['id'],_0x66a96d['params'])),(_0x4531a5=_0x34fa9f(_0x4c7f24||[],null))==null||_0x4531a5[_0x4c382a(0x229)](_0x1de892=>this['_commandService']['executeCommand'](_0x1de892['id'],_0x1de892['params']));}};nt=Lt([k(0x3,_0x4993c2(_0x2c6931)),k(0x4,_0x4993c2(_0x3de081)),k(0x5,_0x4993c2(_0x3d8b17)),k(0x6,_0x4993c2(_0x43c42f)),k(0x7,_0x4993c2(pe)),k(0x8,_0x19cece),k(0x9,_0x11f6b7),k(0xa,_0x3d9d37),k(0xb,_0x5e6a60(ht)),k(0xc,_0x5e6a60(J))],nt);let Tt=class extends nt{constructor(_0x570b01,_0x38fb05,_0x4b53ae,_0x909e7a,_0x3d114c,_0x27c338,_0x226693,_0x4ee6b5,_0x52cb6e,_0x4bd10c,_0x16c16a,_0x1152cf,_0x57c939){var _0xb9b94a=_0x5a609d;super(_0x570b01,_0x4b53ae,_0x38fb05,_0x909e7a,_0x3d114c,_0x27c338,_0x226693,_0x4ee6b5,_0x52cb6e,_0x4bd10c,_0x16c16a,_0x1152cf,_0x57c939),N(this,_0xb9b94a(0x359),null),(this[_0xb9b94a(0x293)]=_0x570b01,this[_0xb9b94a(0x442)]=_0x38fb05);}['addHandlerCallback'](_0x2bfdca){var _0x2b56d7=_0x5a609d;this[_0x2b56d7(0x359)]=_0x2bfdca;}[_0x5a609d(0x456)](){var _0x548b91=_0x5a609d;this[_0x548b91(0x359)]=null,super[_0x548b91(0x456)]();}['_createHandler'](){var _0x24fa8a=_0x5a609d;const _0x339e29=super[_0x24fa8a(0x400)]();return _0x339e29[_0x24fa8a(0x3b6)]=_0x339b2d=>{var _0x1e7d49=_0x24fa8a,_0x57509a,_0x4cf81a;return(_0x4cf81a=(_0x57509a=this['_handlerCallback'])==null?void 0x0:_0x57509a[_0x1e7d49(0x3b6)])==null?void 0x0:_0x4cf81a['call'](_0x57509a,_0x339b2d);},_0x339e29['onTransformState']=_0x42da05=>{var _0x1999bd=_0x24fa8a,_0x54e8d4,_0x4f9aad;return(_0x4f9aad=(_0x54e8d4=this[_0x1999bd(0x359)])==null?void 0x0:_0x54e8d4[_0x1999bd(0x2c0)])==null?void 0x0:_0x4f9aad[_0x1999bd(0x36d)](_0x54e8d4,_0x42da05);},_0x339e29['onTransformSelections']=_0x3c9a71=>{var _0x3eaa36=_0x24fa8a,_0x1be1da,_0x42b641;return(_0x42b641=(_0x1be1da=this[_0x3eaa36(0x359)])==null?void 0x0:_0x1be1da[_0x3eaa36(0x21b)])==null?void 0x0:_0x42b641[_0x3eaa36(0x36d)](_0x1be1da,_0x3c9a71);},_0x339e29[_0x24fa8a(0x27d)]=_0x2ecfdb=>{var _0x503fdd=_0x24fa8a,_0xd281b6,_0x5bdf77;return(_0x5bdf77=(_0xd281b6=this[_0x503fdd(0x359)])==null?void 0x0:_0xd281b6[_0x503fdd(0x27d)])==null?void 0x0:_0x5bdf77[_0x503fdd(0x36d)](_0xd281b6,_0x2ecfdb);},_0x339e29[_0x24fa8a(0x3f5)]=_0x5b417a=>{var _0x22dad0=_0x24fa8a,_0x4d4ff0,_0x5b91b6,_0x2eaf8b;if(!((_0x4d4ff0=this[_0x22dad0(0x359)])!=null&&_0x4d4ff0[_0x22dad0(0x3f5)]))throw new Error(_0x22dad0(0x234));return(_0x2eaf8b=(_0x5b91b6=this[_0x22dad0(0x359)])==null?void 0x0:_0x5b91b6[_0x22dad0(0x3f5)])==null?void 0x0:_0x2eaf8b[_0x22dad0(0x36d)](_0x5b91b6,_0x5b417a);},_0x339e29[_0x24fa8a(0x291)]=_0x9e4dbe=>{var _0x167ce2=_0x24fa8a,_0x3a012d,_0x4816e6,_0x117e9b;if(!((_0x3a012d=this[_0x167ce2(0x359)])!=null&&_0x3a012d[_0x167ce2(0x291)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x117e9b=(_0x4816e6=this[_0x167ce2(0x359)])==null?void 0x0:_0x4816e6['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x117e9b[_0x167ce2(0x36d)](_0x4816e6,_0x9e4dbe);},_0x339e29;}async[_0x5a609d(0x38c)](){var _0x3c6093=_0x5a609d;const _0x224bb9=await super[_0x3c6093(0x38c)]();return this['disposeWithMe'](this[_0x3c6093(0x450)][_0x3c6093(0x387)]((_0x3953d6,_0x5e8e3c)=>{var _0x56481a=_0x3c6093;if(_0x3953d6[_0x56481a(0x442)]!==_0x5c29f6['MUTATION']||_0x5e8e3c!=null&&_0x5e8e3c[_0x56481a(0x412)]||_0x5e8e3c!=null&&_0x5e8e3c[_0x56481a(0x2a5)]||_0x3953d6['id']===_0x366acf['id'])return;const _0x467496=_0x3953d6[_0x56481a(0x1aa)];if((_0x467496==null?void 0x0:_0x467496[_0x56481a(0x3b2)])!==this[_0x56481a(0x293)])return;const _0x555e66=_0x3953d6,_0x218621=this[_0x56481a(0x280)][_0x56481a(0x248)][_0x56481a(0x27c)](this[_0x56481a(0x280)][_0x56481a(0x248)][_0x56481a(0x36b)]()['COMPRESS_MUTATION_SEND'])([_0x555e66],null)||[_0x555e66];this['_onLocalMutation'](_0x218621[0x0]);})),_0x224bb9;}};Tt=Lt([k(0x3,_0x4993c2(_0x2c6931)),k(0x4,_0x4993c2(_0x3de081)),k(0x5,_0x4993c2(_0x3d8b17)),k(0x6,_0x4993c2(_0x43c42f)),k(0x7,_0x4993c2(pe)),k(0x8,_0x19cece),k(0x9,_0x11f6b7),k(0xa,_0x3d9d37),k(0xb,_0x5e6a60(ht)),k(0xc,_0x5e6a60(J))],Tt);let Ct=class extends nt{constructor(_0x26d82d,_0x2a2057,_0x3231fe,_0x136479,_0xe09f73,_0x14117d,_0x49f16e,_0x560c1f,_0x37b58c,_0x1aa9a7,_0x1d0d65,_0xef790,_0x5268c5,_0x36d6fd){var _0x140dc3=_0x5a609d;super(_0x26d82d,_0x3231fe,_0x2a2057,_0x136479,_0xe09f73,_0x14117d,_0x49f16e,_0x37b58c,_0x1aa9a7,_0x1d0d65,_0xef790,_0x5268c5,_0x36d6fd),this[_0x140dc3(0x293)]=_0x26d82d,this[_0x140dc3(0x442)]=_0x2a2057,this[_0x140dc3(0x3e8)]=_0x560c1f;}[_0x5a609d(0x400)](){var _0x7e279=_0x5a609d;const _0x4151f5=super['_createHandler']();return _0x4151f5[_0x7e279(0x21b)]=_0x54154d=>this[_0x7e279(0x3e8)][_0x7e279(0x2f2)](_0x54154d),_0x4151f5;}async[_0x5a609d(0x38c)](){var _0x58f431=_0x5a609d;const _0xd309ac=await super[_0x58f431(0x38c)]();return this[_0x58f431(0x2ae)](this[_0x58f431(0x450)]['onCommandExecuted']((_0x24d8e2,_0x72741)=>{var _0x43eca2=_0x58f431;if(_0x24d8e2[_0x43eca2(0x442)]!==_0x5c29f6[_0x43eca2(0x416)]||_0x72741!=null&&_0x72741[_0x43eca2(0x412)]||_0x72741!=null&&_0x72741[_0x43eca2(0x2a5)])return;const _0x2aadf7=_0x24d8e2[_0x43eca2(0x1aa)];if((_0x2aadf7==null?void 0x0:_0x2aadf7[_0x43eca2(0x3b2)])!==this[_0x43eca2(0x293)])return;const _0x5078cb=_0x24d8e2,_0x13b668=this[_0x43eca2(0x280)]['interceptor'][_0x43eca2(0x27c)](this[_0x43eca2(0x280)][_0x43eca2(0x248)][_0x43eca2(0x36b)]()[_0x43eca2(0x1f1)])([_0x5078cb],null)||[_0x5078cb];this[_0x43eca2(0x344)](_0x13b668[0x0]);})),_0xd309ac;}};Ct=Lt([k(0x3,_0x4993c2(_0x2c6931)),k(0x4,_0x4993c2(_0x3de081)),k(0x5,_0x4993c2(_0x3d8b17)),k(0x6,_0x4993c2(_0x43c42f)),k(0x7,_0x4993c2(it)),k(0x8,_0x4993c2(pe)),k(0x9,_0x19cece),k(0xa,_0x11f6b7),k(0xb,_0x3d9d37),k(0xc,_0x5e6a60(ht)),k(0xd,_0x5e6a60(J))],Ct);var mr=Object[_0x5a609d(0x258)],gr=Object[_0x5a609d(0x197)],Sr=(_0xb811e8,_0x231d96,_0x384e18,_0x47e91d)=>{var _0x24c6e2=_0x5a609d;for(var _0x7d5db8=_0x47e91d>0x1?void 0x0:_0x47e91d?gr(_0x231d96,_0x384e18):_0x231d96,_0x3ed7f6=_0xb811e8[_0x24c6e2(0x192)]-0x1,_0x18d7f0;_0x3ed7f6>=0x0;_0x3ed7f6--)(_0x18d7f0=_0xb811e8[_0x3ed7f6])&&(_0x7d5db8=(_0x47e91d?_0x18d7f0(_0x231d96,_0x384e18,_0x7d5db8):_0x18d7f0(_0x7d5db8))||_0x7d5db8);return _0x47e91d&&_0x7d5db8&&mr(_0x231d96,_0x384e18,_0x7d5db8),_0x7d5db8;},ft=(_0x1632af,_0x2801c8)=>(_0x5c5be8,_0x19802c)=>_0x2801c8(_0x5c5be8,_0x19802c,_0x1632af);let rt=class extends _0x14f46f{constructor(_0x188663,_0x431d43,_0x50211e){var _0xf74c5f=_0x5a609d;super(),N(this,'_entities',new Map()),N(this,_0xf74c5f(0x28b),new _0x47b45d()),N(this,_0xf74c5f(0x2f4),this[_0xf74c5f(0x28b)][_0xf74c5f(0x453)]()),(this['_injector']=_0x188663,this[_0xf74c5f(0x425)]=_0x431d43,this[_0xf74c5f(0x1bb)]=_0x50211e,this['_init']());}['dispose'](){var _0x309668=_0x5a609d;super[_0x309668(0x456)](),this[_0x309668(0x3a7)][_0x309668(0x229)](_0x5dccbb=>_0x5dccbb[_0x309668(0x456)]()),this['_entities'][_0x309668(0x2b5)]();}[_0x5a609d(0x36c)](_0x4f74ed){var _0x545ed4=_0x5a609d,_0x2ae195;return(_0x2ae195=this['_entities'][_0x545ed4(0x196)](_0x4f74ed))!=null?_0x2ae195:null;}[_0x5a609d(0x34b)](_0x225bca){var _0x4a2103=_0x5a609d;const _0x5de54d=this[_0x4a2103(0x36c)](_0x225bca);return _0x5de54d?_0x22dc1e(_0x5de54d):this['_entityInit$'][_0x4a2103(0x216)](_0x471c86(_0x859068=>_0x859068[_0x4a2103(0x293)]===_0x225bca));}[_0x5a609d(0x2e7)](_0x1e29c4){var _0x520494=_0x5a609d;return _0x5acbba(this[_0x520494(0x34b)](_0x1e29c4)[_0x520494(0x216)](_0x3dc5d9(()=>{})));}[_0x5a609d(0x38c)](){var _0x26fe8d=_0x5a609d;this[_0x26fe8d(0x1bb)][_0x26fe8d(0x188)](_0x3ddab9[_0x26fe8d(0x24d)])['pipe'](_0x3760b4(this[_0x26fe8d(0x361)]),_0xcb4492(0x10))[_0x26fe8d(0x275)](async _0x27d0c3=>{var _0x7d0b63=_0x26fe8d;const _0xcc106d=_0x27d0c3[_0x7d0b63(0x330)](),_0x3b131f=await this[_0x7d0b63(0x3a4)](_0xcc106d,Q[_0x7d0b63(0x24d)]);this[_0x7d0b63(0x3a7)][_0x7d0b63(0x43c)](_0xcc106d,_0x3b131f);}),this['_univerInstanceService'][_0x26fe8d(0x188)](_0x3ddab9[_0x26fe8d(0x415)])[_0x26fe8d(0x216)](_0x3760b4(this[_0x26fe8d(0x361)]),_0xcb4492(0x10))['pipe'](_0x471c86(_0x48040f=>!_0x48040f[_0x26fe8d(0x330)]()['startsWith']('__')))[_0x26fe8d(0x275)](async _0x5a9c2f=>{var _0x34e299=_0x26fe8d;const _0x5e6ad6=_0x5a9c2f[_0x34e299(0x330)](),_0x55e83b=await this[_0x34e299(0x3a4)](_0x5e6ad6,Q[_0x34e299(0x415)]);this[_0x34e299(0x3a7)][_0x34e299(0x43c)](_0x5e6ad6,_0x55e83b);}),_0xa936b8(this[_0x26fe8d(0x1bb)][_0x26fe8d(0x345)](_0x3ddab9[_0x26fe8d(0x24d)]),this[_0x26fe8d(0x1bb)][_0x26fe8d(0x345)](_0x3ddab9['UNIVER_DOC']))[_0x26fe8d(0x216)](_0x3760b4(this[_0x26fe8d(0x361)]))['subscribe'](_0x30cb1d=>{var _0xf3919c=_0x26fe8d;const _0x47c6ca=_0x30cb1d[_0xf3919c(0x330)](),_0x1c2498=this[_0xf3919c(0x3a7)][_0xf3919c(0x196)](_0x47c6ca);_0x1c2498&&(_0x1c2498[_0xf3919c(0x456)](),this[_0xf3919c(0x3a7)]['delete'](_0x47c6ca));});}async[_0x5a609d(0x3a4)](_0x3dd0fe,_0x5eb09e){var _0xe24857=_0x5a609d;const _0x197576=await this[_0xe24857(0x425)]['requireSession'](_0x3dd0fe),_0x16fa37=this[_0xe24857(0x281)]['createInstance'](this[_0xe24857(0x33e)](_0x5eb09e),_0x3dd0fe,_0x5eb09e,_0x197576);return await _0x16fa37[_0xe24857(0x230)](),this[_0xe24857(0x28b)][_0xe24857(0x2f7)](_0x16fa37),_0x16fa37;}[_0x5a609d(0x33e)](_0x37235b){var _0x18e1b1=_0x5a609d;switch(_0x37235b){case Q[_0x18e1b1(0x415)]:return Tt;case Q[_0x18e1b1(0x24d)]:return Ct;default:throw new Error(_0x18e1b1(0x2cf)+_0x37235b);}}};rt=Sr([ft(0x0,_0x4993c2(_0x2c6931)),ft(0x1,_0x4993c2(Le)),ft(0x2,_0x3e893c)],rt);var Er=Object[_0x5a609d(0x258)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0x1d70d7,_0x532abc,_0x245044,_0x18c96e)=>{var _0x3feb52=_0x5a609d;for(var _0x20c2d8=_0x18c96e>0x1?void 0x0:_0x18c96e?Ir(_0x532abc,_0x245044):_0x532abc,_0x3fbab5=_0x1d70d7[_0x3feb52(0x192)]-0x1,_0x3c8746;_0x3fbab5>=0x0;_0x3fbab5--)(_0x3c8746=_0x1d70d7[_0x3fbab5])&&(_0x20c2d8=(_0x18c96e?_0x3c8746(_0x532abc,_0x245044,_0x20c2d8):_0x3c8746(_0x20c2d8))||_0x20c2d8);return _0x18c96e&&_0x20c2d8&&Er(_0x532abc,_0x245044,_0x20c2d8),_0x20c2d8;},Jt=(_0x43aec4,_0x7f3347)=>(_0x3dae8f,_0xa120e8)=>_0x7f3347(_0x3dae8f,_0xa120e8,_0x43aec4);const Cr=_0x5a609d(0x423),Rr=_0x5a609d(0x27e);let Rt=class extends _0xa17c38{constructor(_0x31911d,_0x4bf332){var _0x110a7a=_0x5a609d;super(),this[_0x110a7a(0x1bb)]=_0x31911d,this['_configService']=_0x4bf332,this[_0x110a7a(0x38c)]();}['_init'](){var _0x40630f=_0x5a609d;this[_0x40630f(0x2ae)](this[_0x40630f(0x1bb)][_0x40630f(0x219)][_0x40630f(0x275)](()=>{var _0x500ea1=_0x40630f,_0x567f83;const _0x542cd0=this['_univerInstanceService'][_0x500ea1(0x3db)]();let _0x51d218=(_0x567f83=this[_0x500ea1(0x1d2)][_0x500ea1(0x17a)](Cr))!=null?_0x567f83:Rr;_0x542cd0 instanceof _0xb6fc49&&(_0x51d218=_0x542cd0[_0x500ea1(0x30a)]),document[_0x500ea1(0x443)]=_0x51d218;}));}};Rt=Tr([Jt(0x0,_0x3e893c),Jt(0x1,_0x5e63be)],Rt);var br=Object[_0x5a609d(0x258)],Or=Object[_0x5a609d(0x197)],yr=(_0x33ebea,_0x5c95a5,_0x17ecb3,_0x13ae1d)=>{for(var _0x4523cc=_0x13ae1d>0x1?void 0x0:_0x13ae1d?Or(_0x5c95a5,_0x17ecb3):_0x5c95a5,_0x22a940=_0x33ebea['length']-0x1,_0x81b16f;_0x22a940>=0x0;_0x22a940--)(_0x81b16f=_0x33ebea[_0x22a940])&&(_0x4523cc=(_0x13ae1d?_0x81b16f(_0x5c95a5,_0x17ecb3,_0x4523cc):_0x81b16f(_0x4523cc))||_0x4523cc);return _0x13ae1d&&_0x4523cc&&br(_0x5c95a5,_0x17ecb3,_0x4523cc),_0x4523cc;},vt=(_0x462849,_0x587005)=>(_0x5f33c3,_0x4712c7)=>_0x587005(_0x5f33c3,_0x4712c7,_0x462849);let st=class{constructor(_0x30eba4,_0x25f7c2,_0x4dd5ff){var _0x411e00=_0x5a609d;this['_configService']=_0x30eba4,this['_httpService']=_0x25f7c2,this[_0x411e00(0x15d)]=_0x4dd5ff,this[_0x411e00(0x230)]();}[_0x5a609d(0x230)](){var _0x37df5d=_0x5a609d;this[_0x37df5d(0x1ba)][_0x37df5d(0x1bc)]({'priority':0x1,'interceptor':(_0x247d9d,_0x1cc4ef)=>_0x1cc4ef(_0x247d9d)[_0x37df5d(0x216)](_0x3a37b6(async _0x16fd8c=>{var _0x4e5e47=_0x37df5d;const _0x59b809=_0x16fd8c;if(_0x59b809['status']===0x191){if(typeof window>'u')throw new Error(_0x4e5e47(0x223));if(window['confirm'](this[_0x4e5e47(0x15d)]['t'](_0x4e5e47(0x1ec)))){const _0x220ed7=window[_0x4e5e47(0x44a)](window['location']['href']);window[_0x4e5e47(0x175)]['href']=this[_0x4e5e47(0x421)]()+_0x4e5e47(0x1d8)+_0x220ed7;}}return _0x59b809;}))});}[_0x5a609d(0x421)](){var _0x9f270b=_0x5a609d,_0x314430,_0x46fb3f;const _0x4e1359=this[_0x9f270b(0x1d2)][_0x9f270b(0x17a)](xn),_0x2f0b2e=this['_configService'][_0x9f270b(0x17a)](q);return(_0x46fb3f=(_0x314430=_0x2f0b2e==null?void 0x0:_0x2f0b2e['loginUrlKey'])!=null?_0x314430:_0x4e1359)!=null?_0x46fb3f:Ln;}};st=yr([vt(0x0,_0x5e63be),vt(0x1,_0x4993c2(_0x4361f6)),vt(0x2,_0x4993c2(_0x3d8b17))],st);var Nr=Object[_0x5a609d(0x258)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x478136,_0x3f24c9,_0x1a1fce,_0x197955)=>{var _0x2d2d7f=_0x5a609d;for(var _0x46fa5d=_0x197955>0x1?void 0x0:_0x197955?Dr(_0x3f24c9,_0x1a1fce):_0x3f24c9,_0x592c97=_0x478136[_0x2d2d7f(0x192)]-0x1,_0xcd1395;_0x592c97>=0x0;_0x592c97--)(_0xcd1395=_0x478136[_0x592c97])&&(_0x46fa5d=(_0x197955?_0xcd1395(_0x3f24c9,_0x1a1fce,_0x46fa5d):_0xcd1395(_0x46fa5d))||_0x46fa5d);return _0x197955&&_0x46fa5d&&Nr(_0x3f24c9,_0x1a1fce,_0x46fa5d),_0x46fa5d;},Xt=(_0x564bc7,_0xd3cee6)=>(_0x14ae1b,_0x54d2ab)=>_0xd3cee6(_0x14ae1b,_0x54d2ab,_0x564bc7);const Pi=_0x5a609d(0x203),wr='/universer-api/authz';let bt=class extends _0xa17c38{constructor(_0x5d76aa,_0x5e0bae){var _0x275a2f=_0x5a609d;super(),this[_0x275a2f(0x2d1)]=_0x5d76aa,this[_0x275a2f(0x1d2)]=_0x5e0bae,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x1c55e1=_0x5a609d;const _0x2c4a6f=this;this['disposeWithMe'](this[_0x1c55e1(0x2d1)][_0x1c55e1(0x1bc)]({'priority':0x3e7,'interceptor':_0x2f4df3({'isMatch'(_0xbeb044){var _0x20d1e1=_0x1c55e1,_0x4be6a7;if(_0xbeb044[_0x20d1e1(0x304)]===_0x20d1e1(0x31b)&&((_0x4be6a7=_0xbeb044[_0x20d1e1(0x369)])!=null&&_0x4be6a7[_0x20d1e1(0x3c3)])){const {objectID:_0x371529,objectType:_0x404d3b}=_0xbeb044[_0x20d1e1(0x369)][_0x20d1e1(0x3c3)]||{};if(!_0x371529||_0x404d3b===void 0x0)return!0x1;const _0x42aaf6=_0x2c4a6f[_0x20d1e1(0x3ad)]()+'/'+_0x404d3b+_0x20d1e1(0x2b0)+_0x371529+'/allowed';if(_0xbeb044[_0x20d1e1(0x16a)]===_0x42aaf6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x44bc28){var _0x5b3792=_0x1c55e1,_0x1d831e;return(_0x1d831e=_0x44bc28[_0x5b3792(0x369)])==null?void 0x0:_0x1d831e[_0x5b3792(0x3c3)];},'mergeParamsToRequest'(_0x4dba7c,_0x3a6d9b){var _0x31c69c=_0x1c55e1;const _0x9bea82=_0x2c4a6f['_getAPIPrefixPath']()+_0x31c69c(0x44e),_0x24aff8=_0x4dba7c['reduce']((_0x14f612,_0x474dba)=>{var _0x5b73f8=_0x31c69c;const {unitID:_0x1f61df,objectID:_0x168a57,objectType:_0x2fa519,actions:_0x46a8aa}=_0x474dba;return _0x14f612[_0x1f61df]||(_0x14f612[_0x1f61df]={}),_0x14f612[_0x1f61df][_0x168a57]||(_0x14f612[_0x1f61df][_0x168a57]={'objectID':_0x168a57,'objectType':_0x2fa519,'actions':[]}),_0x14f612[_0x1f61df][_0x168a57][_0x5b73f8(0x215)][_0x5b73f8(0x318)](..._0x46a8aa),_0x14f612;},{}),_0x1ea465=[];for(const _0x35c7d5 in _0x24aff8)for(const _0x4584b9 in _0x24aff8[_0x35c7d5]){const {actions:_0x5afd99,objectType:_0xbc69e8}=_0x24aff8[_0x35c7d5][_0x4584b9],_0x187636=[...new Set(_0x5afd99)];_0x1ea465[_0x31c69c(0x318)]({'unitID':_0x35c7d5,'objectID':_0x4584b9,'objectType':_0xbc69e8,'actions':_0x187636});}return new _0x2818fa('POST',_0x9bea82,{'headers':_0x3a6d9b['headers'],'withCredentials':_0x3a6d9b[_0x31c69c(0x17f)],'responseType':_0x3a6d9b['responseType'],'body':{'requests':_0x1ea465}});}},{'distributeResult'(_0x3bfa4a,_0xa71fed){var _0x52cd80=_0x1c55e1;const {objectActions:_0x1b606e}=_0x3bfa4a;return _0xa71fed[_0x52cd80(0x298)](_0x2e079a=>{var _0xd9d06c=_0x52cd80;const {unitID:_0x4d3ed1,objectID:_0x214186,actions:_0x20cc7f}=_0x2e079a,_0x1aaa41=_0x1b606e['find'](_0xf9d152=>_0xf9d152['unitID']===_0x4d3ed1&&_0xf9d152[_0xd9d06c(0x3b0)]===_0x214186),_0x23e6e2=_0x20cc7f[_0xd9d06c(0x298)](_0x3a4066=>_0x1aaa41==null?void 0x0:_0x1aaa41[_0xd9d06c(0x215)][_0xd9d06c(0x30e)](_0x8172c8=>_0x8172c8[_0xd9d06c(0x333)]===_0x3a4066))[_0xd9d06c(0x1ed)](_0x3ed0d9=>!!_0x3ed0d9);return{'config':_0x2e079a,'result':{'actions':_0x23e6e2,'error':_0x3bfa4a[_0xd9d06c(0x350)]}};});}})}));}[_0x5a609d(0x3ad)](){var _0x118db5=_0x5a609d,_0x505453,_0x41c1f8;const _0x463437=this[_0x118db5(0x1d2)][_0x118db5(0x17a)](Pi),_0xa38b93=this['_configService'][_0x118db5(0x17a)](q);return(_0x41c1f8=(_0x505453=_0xa38b93==null?void 0x0:_0xa38b93[_0x118db5(0x25c)])!=null?_0x505453:_0x463437)!=null?_0x41c1f8:wr;}async['create'](_0x2ee2cb){var _0x207631=_0x5a609d;const _0x3ae121=this['_getAPIPrefixPath']()+'/'+_0x2ee2cb['objectType']+_0x207631(0x17d);return(await this[_0x207631(0x2d1)][_0x207631(0x3f0)](_0x3ae121,{'body':_0x2ee2cb}))[_0x207631(0x3c3)]['objectID']||'';}async[_0x5a609d(0x1ca)](_0x2454b9){var _0x572fe4=_0x5a609d;const _0x4fafb1=this[_0x572fe4(0x3ad)]()+_0x572fe4(0x351);return(await this[_0x572fe4(0x2d1)][_0x572fe4(0x3f0)](_0x4fafb1,{'body':_0x2454b9}))[_0x572fe4(0x3c3)]['objects'];}async['update'](_0x39b820){var _0x19937c=_0x5a609d;const _0x277d5e=this['_getAPIPrefixPath']()+'/'+_0x39b820[_0x19937c(0x296)]+_0x19937c(0x2b0)+_0x39b820[_0x19937c(0x3b0)];await this[_0x19937c(0x2d1)][_0x19937c(0x3e3)](_0x277d5e,{'body':_0x39b820});}async[_0x5a609d(0x316)](_0x1c83d3){var _0x49aebb=_0x5a609d;const _0x4446de=this[_0x49aebb(0x3ad)]()+'/'+_0x1c83d3[_0x49aebb(0x296)]+_0x49aebb(0x2b0)+_0x1c83d3[_0x49aebb(0x3b0)]+_0x49aebb(0x3af);return(await this['_HTTPService'][_0x49aebb(0x3f0)](_0x4446de,{'body':_0x1c83d3}))[_0x49aebb(0x3c3)][_0x49aebb(0x215)];}async[_0x5a609d(0x44c)](_0x2fce2d){var _0x120c85=_0x5a609d;const _0x6db5ee=this[_0x120c85(0x3ad)]()+_0x120c85(0x44e);return(await this[_0x120c85(0x2d1)][_0x120c85(0x3f0)](_0x6db5ee,{'body':{'requests':_0x2fce2d}}))[_0x120c85(0x3c3)][_0x120c85(0x3da)];}async[_0x5a609d(0x16e)](_0x41bd8f){var _0x568534=_0x5a609d;const _0x2228ed=this[_0x568534(0x3ad)]()+'/'+_0x41bd8f[_0x568534(0x296)]+_0x568534(0x1d3),_0x34c4bc=await this[_0x568534(0x2d1)][_0x568534(0x3f0)](_0x2228ed,{'body':_0x41bd8f});return{'roles':_0x34c4bc[_0x568534(0x3c3)]['roles'],'actions':_0x34c4bc['body'][_0x568534(0x215)]};}async[_0x5a609d(0x338)](_0x1d5dab){var _0x288d19=_0x5a609d;const _0x2b1b3e=this['_getAPIPrefixPath']()+_0x288d19(0x431);await this['_HTTPService'][_0x288d19(0x18f)](_0x2b1b3e,{'params':{'collaboratorID':_0x1d5dab[_0x288d19(0x40c)],'objectID':_0x1d5dab['objectID'],'unitID':_0x1d5dab[_0x288d19(0x293)]}});}async['updateCollaborator'](_0x1d8bb4){var _0x2fc7f0=_0x5a609d;const _0x5a39ff=this[_0x2fc7f0(0x3ad)]()+_0x2fc7f0(0x431);await this[_0x2fc7f0(0x2d1)][_0x2fc7f0(0x2be)](_0x5a39ff,{'body':_0x1d8bb4});}async[_0x5a609d(0x168)](_0x423407){var _0x1285d3=_0x5a609d;const _0x2dac95=this[_0x1285d3(0x3ad)]()+_0x1285d3(0x431);await this['_HTTPService'][_0x1285d3(0x3f0)](_0x2dac95,{'body':_0x423407});}async[_0x5a609d(0x3e6)](_0x428b12){var _0x525eed=_0x5a609d;const _0x10b15a=this['_getAPIPrefixPath']()+_0x525eed(0x431);return(await this[_0x525eed(0x2d1)][_0x525eed(0x196)](_0x10b15a,{'params':{'objectID':_0x428b12[_0x525eed(0x3b0)],'unitID':_0x428b12[_0x525eed(0x293)]}}))[_0x525eed(0x3c3)][_0x525eed(0x2c3)];}async[_0x5a609d(0x3d5)](_0x38157a){var _0x26d57a=_0x5a609d;const _0x151982=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x26d57a(0x3e3)](_0x151982,{'body':_0x38157a});}};bt=Pr([Xt(0x0,_0x4993c2(_0x4361f6)),Xt(0x1,_0x4993c2(_0x5e63be))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x17602c){var _0x1431ff=_0x5a609d;return _0x17602c&&_0x17602c['__esModule']&&Object[_0x1431ff(0x404)][_0x1431ff(0x439)][_0x1431ff(0x36d)](_0x17602c,_0x1431ff(0x1e3))?_0x17602c[_0x1431ff(0x1e3)]:_0x17602c;}var Ve={'exports':{}};function Ur(_0x45f39d){var _0x175b80=_0x5a609d;throw new Error(_0x175b80(0x417)+_0x45f39d+_0x175b80(0x3be));}var Ge={'exports':{}},Ar=Ge[_0x5a609d(0x24f)],Zt;function ne(){var _0x46c181=_0x5a609d;return Zt||(Zt=0x1,function(_0x12bd96,_0x2a4057){(function(_0x58e0fc,_0x25c8f8){var _0x311d3b=_0x51f8;_0x12bd96[_0x311d3b(0x24f)]=_0x25c8f8();}(Ar,function(){var _0x3043d0=_0x3043d0||function(_0x49d916,_0x38a015){var _0x5bda31=_0x51f8,_0x5dbcce;if(typeof window<'u'&&window[_0x5bda31(0x18b)]&&(_0x5dbcce=window[_0x5bda31(0x18b)]),typeof self<'u'&&self[_0x5bda31(0x18b)]&&(_0x5dbcce=self['crypto']),typeof globalThis<'u'&&globalThis[_0x5bda31(0x18b)]&&(_0x5dbcce=globalThis['crypto']),!_0x5dbcce&&typeof window<'u'&&window[_0x5bda31(0x26a)]&&(_0x5dbcce=window['msCrypto']),!_0x5dbcce&&typeof pt<'u'&&pt[_0x5bda31(0x18b)]&&(_0x5dbcce=pt[_0x5bda31(0x18b)]),!_0x5dbcce&&typeof Ur==_0x5bda31(0x38f))try{_0x5dbcce=require(_0x5bda31(0x18b));}catch{}var _0x54bb06=function(){var _0x1af327=_0x5bda31;if(_0x5dbcce){if(typeof _0x5dbcce[_0x1af327(0x35c)]=='function')try{return _0x5dbcce[_0x1af327(0x35c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5dbcce['randomBytes']==_0x1af327(0x38f))try{return _0x5dbcce['randomBytes'](0x4)[_0x1af327(0x1e8)]();}catch{}}throw new Error(_0x1af327(0x250));},_0x2ed453=Object[_0x5bda31(0x1bd)]||(function(){function _0x43d682(){}return function(_0x220d16){var _0x2f649c=_0x51f8,_0x5ced12;return _0x43d682[_0x2f649c(0x404)]=_0x220d16,_0x5ced12=new _0x43d682(),_0x43d682['prototype']=null,_0x5ced12;};}()),_0x1a5966={},_0x124a10=_0x1a5966['lib']={},_0x1b8ca9=_0x124a10[_0x5bda31(0x299)]=(function(){return{'extend':function(_0x2029e2){var _0x12c842=_0x51f8,_0x2cf01d=_0x2ed453(this);return _0x2029e2&&_0x2cf01d[_0x12c842(0x358)](_0x2029e2),(!_0x2cf01d['hasOwnProperty'](_0x12c842(0x230))||this[_0x12c842(0x230)]===_0x2cf01d[_0x12c842(0x230)])&&(_0x2cf01d[_0x12c842(0x230)]=function(){var _0x10b36a=_0x12c842;_0x2cf01d[_0x10b36a(0x2ca)][_0x10b36a(0x230)][_0x10b36a(0x190)](this,arguments);}),_0x2cf01d[_0x12c842(0x230)][_0x12c842(0x404)]=_0x2cf01d,_0x2cf01d[_0x12c842(0x2ca)]=this,_0x2cf01d;},'create':function(){var _0x45d641=this['extend']();return _0x45d641['init']['apply'](_0x45d641,arguments),_0x45d641;},'init':function(){},'mixIn':function(_0x32cad5){var _0x1eecd9=_0x51f8;for(var _0x380808 in _0x32cad5)_0x32cad5[_0x1eecd9(0x439)](_0x380808)&&(this[_0x380808]=_0x32cad5[_0x380808]);_0x32cad5['hasOwnProperty'](_0x1eecd9(0x365))&&(this[_0x1eecd9(0x365)]=_0x32cad5[_0x1eecd9(0x365)]);},'clone':function(){var _0x439a85=_0x51f8;return this[_0x439a85(0x230)][_0x439a85(0x404)]['extend'](this);}};}()),_0x40e495=_0x124a10[_0x5bda31(0x2db)]=_0x1b8ca9['extend']({'init':function(_0x2e5531,_0x2730a3){var _0x60c61c=_0x5bda31;_0x2e5531=this['words']=_0x2e5531||[],_0x2730a3!=_0x38a015?this[_0x60c61c(0x3de)]=_0x2730a3:this[_0x60c61c(0x3de)]=_0x2e5531['length']*0x4;},'toString':function(_0x4cf665){var _0x10f26d=_0x5bda31;return(_0x4cf665||_0x1c9018)[_0x10f26d(0x37a)](this);},'concat':function(_0x5b9d45){var _0x28d768=_0x5bda31,_0x1a00dc=this['words'],_0x345e80=_0x5b9d45['words'],_0x21008b=this[_0x28d768(0x3de)],_0x3c047b=_0x5b9d45['sigBytes'];if(this[_0x28d768(0x45f)](),_0x21008b%0x4)for(var _0x423406=0x0;_0x423406<_0x3c047b;_0x423406++){var _0x347b0d=_0x345e80[_0x423406>>>0x2]>>>0x18-_0x423406%0x4*0x8&0xff;_0x1a00dc[_0x21008b+_0x423406>>>0x2]|=_0x347b0d<<0x18-(_0x21008b+_0x423406)%0x4*0x8;}else{for(var _0x2d90c8=0x0;_0x2d90c8<_0x3c047b;_0x2d90c8+=0x4)_0x1a00dc[_0x21008b+_0x2d90c8>>>0x2]=_0x345e80[_0x2d90c8>>>0x2];}return this['sigBytes']+=_0x3c047b,this;},'clamp':function(){var _0x5e9e88=_0x5bda31,_0x307fa9=this[_0x5e9e88(0x1f5)],_0x168b67=this[_0x5e9e88(0x3de)];_0x307fa9[_0x168b67>>>0x2]&=0xffffffff<<0x20-_0x168b67%0x4*0x8,_0x307fa9[_0x5e9e88(0x192)]=_0x49d916['ceil'](_0x168b67/0x4);},'clone':function(){var _0x44fbdb=_0x5bda31,_0xd66dc8=_0x1b8ca9[_0x44fbdb(0x173)][_0x44fbdb(0x36d)](this);return _0xd66dc8[_0x44fbdb(0x1f5)]=this['words'][_0x44fbdb(0x19c)](0x0),_0xd66dc8;},'random':function(_0x16945b){var _0x4876f0=_0x5bda31;for(var _0x359548=[],_0x3dc996=0x0;_0x3dc996<_0x16945b;_0x3dc996+=0x4)_0x359548[_0x4876f0(0x318)](_0x54bb06());return new _0x40e495[(_0x4876f0(0x230))](_0x359548,_0x16945b);}}),_0x3b356e=_0x1a5966[_0x5bda31(0x189)]={},_0x1c9018=_0x3b356e[_0x5bda31(0x44d)]={'stringify':function(_0xb2a1e0){var _0x54bb3d=_0x5bda31;for(var _0x5962ca=_0xb2a1e0[_0x54bb3d(0x1f5)],_0x15b890=_0xb2a1e0[_0x54bb3d(0x3de)],_0x5cd12f=[],_0x1f6d1f=0x0;_0x1f6d1f<_0x15b890;_0x1f6d1f++){var _0x2047fa=_0x5962ca[_0x1f6d1f>>>0x2]>>>0x18-_0x1f6d1f%0x4*0x8&0xff;_0x5cd12f['push']((_0x2047fa>>>0x4)[_0x54bb3d(0x365)](0x10)),_0x5cd12f[_0x54bb3d(0x318)]((_0x2047fa&0xf)[_0x54bb3d(0x365)](0x10));}return _0x5cd12f[_0x54bb3d(0x38a)]('');},'parse':function(_0x457f15){var _0x4d50b8=_0x5bda31;for(var _0x12027f=_0x457f15[_0x4d50b8(0x192)],_0x4a6d1b=[],_0x7a9d46=0x0;_0x7a9d46<_0x12027f;_0x7a9d46+=0x2)_0x4a6d1b[_0x7a9d46>>>0x3]|=parseInt(_0x457f15[_0x4d50b8(0x32d)](_0x7a9d46,0x2),0x10)<<0x18-_0x7a9d46%0x8*0x4;return new _0x40e495[(_0x4d50b8(0x230))](_0x4a6d1b,_0x12027f/0x2);}},_0x49d6ce=_0x3b356e[_0x5bda31(0x279)]={'stringify':function(_0xfa7ecb){var _0x1f80d7=_0x5bda31;for(var _0x3edd5b=_0xfa7ecb[_0x1f80d7(0x1f5)],_0x29738b=_0xfa7ecb[_0x1f80d7(0x3de)],_0x5787e4=[],_0x117f0c=0x0;_0x117f0c<_0x29738b;_0x117f0c++){var _0x47196e=_0x3edd5b[_0x117f0c>>>0x2]>>>0x18-_0x117f0c%0x4*0x8&0xff;_0x5787e4['push'](String['fromCharCode'](_0x47196e));}return _0x5787e4[_0x1f80d7(0x38a)]('');},'parse':function(_0x26102a){var _0x23abd0=_0x5bda31;for(var _0x520f75=_0x26102a[_0x23abd0(0x192)],_0x427726=[],_0x15477b=0x0;_0x15477b<_0x520f75;_0x15477b++)_0x427726[_0x15477b>>>0x2]|=(_0x26102a[_0x23abd0(0x461)](_0x15477b)&0xff)<<0x18-_0x15477b%0x4*0x8;return new _0x40e495[(_0x23abd0(0x230))](_0x427726,_0x520f75);}},_0x5ab06b=_0x3b356e['Utf8']={'stringify':function(_0x5f592e){var _0xcbb73c=_0x5bda31;try{return decodeURIComponent(escape(_0x49d6ce[_0xcbb73c(0x37a)](_0x5f592e)));}catch{throw new Error(_0xcbb73c(0x26d));}},'parse':function(_0x28d424){var _0x6636a4=_0x5bda31;return _0x49d6ce[_0x6636a4(0x435)](unescape(encodeURIComponent(_0x28d424)));}},_0x4409c6=_0x124a10[_0x5bda31(0x2fa)]=_0x1b8ca9[_0x5bda31(0x2a3)]({'reset':function(){var _0x20477d=_0x5bda31;this['_data']=new _0x40e495['init'](),this[_0x20477d(0x2a2)]=0x0;},'_append':function(_0x26e63b){var _0x5f8907=_0x5bda31;typeof _0x26e63b==_0x5f8907(0x218)&&(_0x26e63b=_0x5ab06b[_0x5f8907(0x435)](_0x26e63b)),this[_0x5f8907(0x222)][_0x5f8907(0x331)](_0x26e63b),this[_0x5f8907(0x2a2)]+=_0x26e63b['sigBytes'];},'_process':function(_0x173587){var _0x2ccece=_0x5bda31,_0x390fba,_0x56062f=this['_data'],_0x581d6a=_0x56062f[_0x2ccece(0x1f5)],_0x33471a=_0x56062f[_0x2ccece(0x3de)],_0x300476=this[_0x2ccece(0x1fb)],_0x4af9bc=_0x300476*0x4,_0x12de41=_0x33471a/_0x4af9bc;_0x173587?_0x12de41=_0x49d916[_0x2ccece(0x396)](_0x12de41):_0x12de41=_0x49d916[_0x2ccece(0x1d9)]((_0x12de41|0x0)-this[_0x2ccece(0x2e8)],0x0);var _0xd87720=_0x12de41*_0x300476,_0x38ab12=_0x49d916[_0x2ccece(0x26b)](_0xd87720*0x4,_0x33471a);if(_0xd87720){for(var _0x218b40=0x0;_0x218b40<_0xd87720;_0x218b40+=_0x300476)this[_0x2ccece(0x238)](_0x581d6a,_0x218b40);_0x390fba=_0x581d6a['splice'](0x0,_0xd87720),_0x56062f[_0x2ccece(0x3de)]-=_0x38ab12;}return new _0x40e495[(_0x2ccece(0x230))](_0x390fba,_0x38ab12);},'clone':function(){var _0x164588=_0x5bda31,_0x13e6c0=_0x1b8ca9['clone'][_0x164588(0x36d)](this);return _0x13e6c0['_data']=this[_0x164588(0x222)][_0x164588(0x173)](),_0x13e6c0;},'_minBufferSize':0x0});_0x124a10[_0x5bda31(0x462)]=_0x4409c6['extend']({'cfg':_0x1b8ca9['extend'](),'init':function(_0x52573f){var _0x4ec096=_0x5bda31;this[_0x4ec096(0x1ad)]=this[_0x4ec096(0x1ad)][_0x4ec096(0x2a3)](_0x52573f),this[_0x4ec096(0x1b4)]();},'reset':function(){var _0xa3e70=_0x5bda31;_0x4409c6['reset'][_0xa3e70(0x36d)](this),this[_0xa3e70(0x3d6)]();},'update':function(_0x1253a7){var _0x3b0299=_0x5bda31;return this['_append'](_0x1253a7),this[_0x3b0299(0x2e6)](),this;},'finalize':function(_0x2704ad){var _0x593c74=_0x5bda31;_0x2704ad&&this[_0x593c74(0x1fa)](_0x2704ad);var _0x2d569f=this[_0x593c74(0x3a2)]();return _0x2d569f;},'blockSize':0x10,'_createHelper':function(_0x52ab3f){return function(_0x23a564,_0x1dce54){var _0x2542e8=_0x51f8;return new _0x52ab3f[(_0x2542e8(0x230))](_0x1dce54)[_0x2542e8(0x2c2)](_0x23a564);};},'_createHmacHelper':function(_0x1b6960){return function(_0x24667a,_0x1aa918){var _0xa12ab6=_0x51f8;return new _0x4a2056[(_0xa12ab6(0x2a8))]['init'](_0x1b6960,_0x1aa918)[_0xa12ab6(0x2c2)](_0x24667a);};}});var _0x4a2056=_0x1a5966[_0x5bda31(0x376)]={};return _0x1a5966;}(Math);return _0x3043d0;}));}(Ge)),Ge[_0x46c181(0x24f)];}var We={'exports':{}},xr=We[_0x5a609d(0x24f)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x5ed546,_0x35bed9){(function(_0x212e47,_0x138049){var _0x6038b3=_0x51f8;_0x5ed546[_0x6038b3(0x24f)]=_0x138049(ne());}(xr,function(_0x1b9743){return(function(){var _0x42bec7=_0x51f8,_0x1b00fc=_0x1b9743,_0x362079=_0x1b00fc[_0x42bec7(0x178)],_0x5c43b1=_0x362079[_0x42bec7(0x2db)],_0xddecd0=_0x1b00fc[_0x42bec7(0x189)];_0xddecd0[_0x42bec7(0x2c6)]={'stringify':function(_0x558953){var _0xf8c05=_0x42bec7,_0x438477=_0x558953[_0xf8c05(0x1f5)],_0x1b194f=_0x558953[_0xf8c05(0x3de)],_0x202f88=this['_map'];_0x558953[_0xf8c05(0x45f)]();for(var _0x813f2e=[],_0x2169f3=0x0;_0x2169f3<_0x1b194f;_0x2169f3+=0x3)for(var _0x1586ad=_0x438477[_0x2169f3>>>0x2]>>>0x18-_0x2169f3%0x4*0x8&0xff,_0x2c404d=_0x438477[_0x2169f3+0x1>>>0x2]>>>0x18-(_0x2169f3+0x1)%0x4*0x8&0xff,_0x452f86=_0x438477[_0x2169f3+0x2>>>0x2]>>>0x18-(_0x2169f3+0x2)%0x4*0x8&0xff,_0xe4fdf=_0x1586ad<<0x10|_0x2c404d<<0x8|_0x452f86,_0x105df3=0x0;_0x105df3<0x4&&_0x2169f3+_0x105df3*0.75<_0x1b194f;_0x105df3++)_0x813f2e[_0xf8c05(0x318)](_0x202f88[_0xf8c05(0x3a3)](_0xe4fdf>>>0x6*(0x3-_0x105df3)&0x3f));var _0x12f8cc=_0x202f88[_0xf8c05(0x3a3)](0x40);if(_0x12f8cc){for(;_0x813f2e['length']%0x4;)_0x813f2e[_0xf8c05(0x318)](_0x12f8cc);}return _0x813f2e[_0xf8c05(0x38a)]('');},'parse':function(_0x3be9ca){var _0x15f65d=_0x42bec7,_0x45da4d=_0x3be9ca[_0x15f65d(0x192)],_0x381fed=this['_map'],_0x6c3371=this[_0x15f65d(0x2d9)];if(!_0x6c3371){_0x6c3371=this[_0x15f65d(0x2d9)]=[];for(var _0x3d7f17=0x0;_0x3d7f17<_0x381fed[_0x15f65d(0x192)];_0x3d7f17++)_0x6c3371[_0x381fed[_0x15f65d(0x461)](_0x3d7f17)]=_0x3d7f17;}var _0x5b3930=_0x381fed['charAt'](0x40);if(_0x5b3930){var _0x4b102e=_0x3be9ca['indexOf'](_0x5b3930);_0x4b102e!==-0x1&&(_0x45da4d=_0x4b102e);}return _0x37f129(_0x3be9ca,_0x45da4d,_0x6c3371);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x37f129(_0x326560,_0x4464b8,_0x3bbc94){var _0x5b96d2=_0x42bec7;for(var _0x8e7fc7=[],_0x162475=0x0,_0x298887=0x0;_0x298887<_0x4464b8;_0x298887++)if(_0x298887%0x4){var _0x377a21=_0x3bbc94[_0x326560[_0x5b96d2(0x461)](_0x298887-0x1)]<<_0x298887%0x4*0x2,_0x1e0518=_0x3bbc94[_0x326560[_0x5b96d2(0x461)](_0x298887)]>>>0x6-_0x298887%0x4*0x2,_0x4c0741=_0x377a21|_0x1e0518;_0x8e7fc7[_0x162475>>>0x2]|=_0x4c0741<<0x18-_0x162475%0x4*0x8,_0x162475++;}return _0x5c43b1[_0x5b96d2(0x1bd)](_0x8e7fc7,_0x162475);}}()),_0x1b9743['enc']['Base64'];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x5a609d(0x24f)],ei;function Mr(){return ei||(ei=0x1,function(_0x6c81eb,_0x3efd1){(function(_0x4dab6c,_0x4c9437){_0x6c81eb['exports']=_0x4c9437(ne());}(Lr,function(_0x2c90f9){var _0x52377d=_0x51f8;return function(_0x3f7e47){var _0xb37976=_0x51f8,_0x2b2429=_0x2c90f9,_0x568a80=_0x2b2429['lib'],_0x185b34=_0x568a80['WordArray'],_0x929e1e=_0x568a80['Hasher'],_0x5d0fe0=_0x2b2429[_0xb37976(0x376)],_0x23e5fe=[];(function(){var _0x8b0d65=_0xb37976;for(var _0x3cfe66=0x0;_0x3cfe66<0x40;_0x3cfe66++)_0x23e5fe[_0x3cfe66]=_0x3f7e47[_0x8b0d65(0x307)](_0x3f7e47[_0x8b0d65(0x3d9)](_0x3cfe66+0x1))*0x100000000|0x0;}());var _0x2dec81=_0x5d0fe0['MD5']=_0x929e1e[_0xb37976(0x2a3)]({'_doReset':function(){var _0x1901cf=_0xb37976;this[_0x1901cf(0x270)]=new _0x185b34[(_0x1901cf(0x230))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xc22bd6,_0xc5e4ae){var _0xb99658=_0xb37976;for(var _0xda960f=0x0;_0xda960f<0x10;_0xda960f++){var _0x51b601=_0xc5e4ae+_0xda960f,_0x489f89=_0xc22bd6[_0x51b601];_0xc22bd6[_0x51b601]=(_0x489f89<<0x8|_0x489f89>>>0x18)&0xff00ff|(_0x489f89<<0x18|_0x489f89>>>0x8)&0xff00ff00;}var _0x4206da=this['_hash'][_0xb99658(0x1f5)],_0x273929=_0xc22bd6[_0xc5e4ae+0x0],_0x5537d1=_0xc22bd6[_0xc5e4ae+0x1],_0x5cecd2=_0xc22bd6[_0xc5e4ae+0x2],_0x288ed4=_0xc22bd6[_0xc5e4ae+0x3],_0x2ce68c=_0xc22bd6[_0xc5e4ae+0x4],_0xe8ff45=_0xc22bd6[_0xc5e4ae+0x5],_0x1cb67f=_0xc22bd6[_0xc5e4ae+0x6],_0x416e96=_0xc22bd6[_0xc5e4ae+0x7],_0x5076db=_0xc22bd6[_0xc5e4ae+0x8],_0x43e980=_0xc22bd6[_0xc5e4ae+0x9],_0x2b058b=_0xc22bd6[_0xc5e4ae+0xa],_0x3db8e6=_0xc22bd6[_0xc5e4ae+0xb],_0x3da40c=_0xc22bd6[_0xc5e4ae+0xc],_0x492aa4=_0xc22bd6[_0xc5e4ae+0xd],_0x12d13e=_0xc22bd6[_0xc5e4ae+0xe],_0x4686fc=_0xc22bd6[_0xc5e4ae+0xf],_0x1037af=_0x4206da[0x0],_0x30e029=_0x4206da[0x1],_0x97455a=_0x4206da[0x2],_0x59dfa6=_0x4206da[0x3];_0x1037af=_0x580b95(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x273929,0x7,_0x23e5fe[0x0]),_0x59dfa6=_0x580b95(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x5537d1,0xc,_0x23e5fe[0x1]),_0x97455a=_0x580b95(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x5cecd2,0x11,_0x23e5fe[0x2]),_0x30e029=_0x580b95(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x288ed4,0x16,_0x23e5fe[0x3]),_0x1037af=_0x580b95(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x2ce68c,0x7,_0x23e5fe[0x4]),_0x59dfa6=_0x580b95(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0xe8ff45,0xc,_0x23e5fe[0x5]),_0x97455a=_0x580b95(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x1cb67f,0x11,_0x23e5fe[0x6]),_0x30e029=_0x580b95(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x416e96,0x16,_0x23e5fe[0x7]),_0x1037af=_0x580b95(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x5076db,0x7,_0x23e5fe[0x8]),_0x59dfa6=_0x580b95(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x43e980,0xc,_0x23e5fe[0x9]),_0x97455a=_0x580b95(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x2b058b,0x11,_0x23e5fe[0xa]),_0x30e029=_0x580b95(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x3db8e6,0x16,_0x23e5fe[0xb]),_0x1037af=_0x580b95(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x3da40c,0x7,_0x23e5fe[0xc]),_0x59dfa6=_0x580b95(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x492aa4,0xc,_0x23e5fe[0xd]),_0x97455a=_0x580b95(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x12d13e,0x11,_0x23e5fe[0xe]),_0x30e029=_0x580b95(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x4686fc,0x16,_0x23e5fe[0xf]),_0x1037af=_0x199e50(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x5537d1,0x5,_0x23e5fe[0x10]),_0x59dfa6=_0x199e50(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x1cb67f,0x9,_0x23e5fe[0x11]),_0x97455a=_0x199e50(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x3db8e6,0xe,_0x23e5fe[0x12]),_0x30e029=_0x199e50(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x273929,0x14,_0x23e5fe[0x13]),_0x1037af=_0x199e50(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0xe8ff45,0x5,_0x23e5fe[0x14]),_0x59dfa6=_0x199e50(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x2b058b,0x9,_0x23e5fe[0x15]),_0x97455a=_0x199e50(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x4686fc,0xe,_0x23e5fe[0x16]),_0x30e029=_0x199e50(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x2ce68c,0x14,_0x23e5fe[0x17]),_0x1037af=_0x199e50(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x43e980,0x5,_0x23e5fe[0x18]),_0x59dfa6=_0x199e50(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x12d13e,0x9,_0x23e5fe[0x19]),_0x97455a=_0x199e50(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x288ed4,0xe,_0x23e5fe[0x1a]),_0x30e029=_0x199e50(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x5076db,0x14,_0x23e5fe[0x1b]),_0x1037af=_0x199e50(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x492aa4,0x5,_0x23e5fe[0x1c]),_0x59dfa6=_0x199e50(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x5cecd2,0x9,_0x23e5fe[0x1d]),_0x97455a=_0x199e50(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x416e96,0xe,_0x23e5fe[0x1e]),_0x30e029=_0x199e50(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x3da40c,0x14,_0x23e5fe[0x1f]),_0x1037af=_0x5e2490(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0xe8ff45,0x4,_0x23e5fe[0x20]),_0x59dfa6=_0x5e2490(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x5076db,0xb,_0x23e5fe[0x21]),_0x97455a=_0x5e2490(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x3db8e6,0x10,_0x23e5fe[0x22]),_0x30e029=_0x5e2490(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x12d13e,0x17,_0x23e5fe[0x23]),_0x1037af=_0x5e2490(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x5537d1,0x4,_0x23e5fe[0x24]),_0x59dfa6=_0x5e2490(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x2ce68c,0xb,_0x23e5fe[0x25]),_0x97455a=_0x5e2490(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x416e96,0x10,_0x23e5fe[0x26]),_0x30e029=_0x5e2490(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x2b058b,0x17,_0x23e5fe[0x27]),_0x1037af=_0x5e2490(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x492aa4,0x4,_0x23e5fe[0x28]),_0x59dfa6=_0x5e2490(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x273929,0xb,_0x23e5fe[0x29]),_0x97455a=_0x5e2490(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x288ed4,0x10,_0x23e5fe[0x2a]),_0x30e029=_0x5e2490(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x1cb67f,0x17,_0x23e5fe[0x2b]),_0x1037af=_0x5e2490(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x43e980,0x4,_0x23e5fe[0x2c]),_0x59dfa6=_0x5e2490(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x3da40c,0xb,_0x23e5fe[0x2d]),_0x97455a=_0x5e2490(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x4686fc,0x10,_0x23e5fe[0x2e]),_0x30e029=_0x5e2490(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x5cecd2,0x17,_0x23e5fe[0x2f]),_0x1037af=_0x1e9364(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x273929,0x6,_0x23e5fe[0x30]),_0x59dfa6=_0x1e9364(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x416e96,0xa,_0x23e5fe[0x31]),_0x97455a=_0x1e9364(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x12d13e,0xf,_0x23e5fe[0x32]),_0x30e029=_0x1e9364(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0xe8ff45,0x15,_0x23e5fe[0x33]),_0x1037af=_0x1e9364(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x3da40c,0x6,_0x23e5fe[0x34]),_0x59dfa6=_0x1e9364(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x288ed4,0xa,_0x23e5fe[0x35]),_0x97455a=_0x1e9364(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x2b058b,0xf,_0x23e5fe[0x36]),_0x30e029=_0x1e9364(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x5537d1,0x15,_0x23e5fe[0x37]),_0x1037af=_0x1e9364(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x5076db,0x6,_0x23e5fe[0x38]),_0x59dfa6=_0x1e9364(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x4686fc,0xa,_0x23e5fe[0x39]),_0x97455a=_0x1e9364(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x1cb67f,0xf,_0x23e5fe[0x3a]),_0x30e029=_0x1e9364(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x492aa4,0x15,_0x23e5fe[0x3b]),_0x1037af=_0x1e9364(_0x1037af,_0x30e029,_0x97455a,_0x59dfa6,_0x2ce68c,0x6,_0x23e5fe[0x3c]),_0x59dfa6=_0x1e9364(_0x59dfa6,_0x1037af,_0x30e029,_0x97455a,_0x3db8e6,0xa,_0x23e5fe[0x3d]),_0x97455a=_0x1e9364(_0x97455a,_0x59dfa6,_0x1037af,_0x30e029,_0x5cecd2,0xf,_0x23e5fe[0x3e]),_0x30e029=_0x1e9364(_0x30e029,_0x97455a,_0x59dfa6,_0x1037af,_0x43e980,0x15,_0x23e5fe[0x3f]),_0x4206da[0x0]=_0x4206da[0x0]+_0x1037af|0x0,_0x4206da[0x1]=_0x4206da[0x1]+_0x30e029|0x0,_0x4206da[0x2]=_0x4206da[0x2]+_0x97455a|0x0,_0x4206da[0x3]=_0x4206da[0x3]+_0x59dfa6|0x0;},'_doFinalize':function(){var _0xa4df6d=_0xb37976,_0x5962dd=this['_data'],_0x12da61=_0x5962dd[_0xa4df6d(0x1f5)],_0x3920da=this[_0xa4df6d(0x2a2)]*0x8,_0x1f7a08=_0x5962dd['sigBytes']*0x8;_0x12da61[_0x1f7a08>>>0x5]|=0x80<<0x18-_0x1f7a08%0x20;var _0x4bbf61=_0x3f7e47[_0xa4df6d(0x166)](_0x3920da/0x100000000),_0x1a1541=_0x3920da;_0x12da61[(_0x1f7a08+0x40>>>0x9<<0x4)+0xf]=(_0x4bbf61<<0x8|_0x4bbf61>>>0x18)&0xff00ff|(_0x4bbf61<<0x18|_0x4bbf61>>>0x8)&0xff00ff00,_0x12da61[(_0x1f7a08+0x40>>>0x9<<0x4)+0xe]=(_0x1a1541<<0x8|_0x1a1541>>>0x18)&0xff00ff|(_0x1a1541<<0x18|_0x1a1541>>>0x8)&0xff00ff00,_0x5962dd[_0xa4df6d(0x3de)]=(_0x12da61[_0xa4df6d(0x192)]+0x1)*0x4,this['_process']();for(var _0x47bc87=this[_0xa4df6d(0x270)],_0x3a00f4=_0x47bc87['words'],_0x2a7ee0=0x0;_0x2a7ee0<0x4;_0x2a7ee0++){var _0x4e2a5f=_0x3a00f4[_0x2a7ee0];_0x3a00f4[_0x2a7ee0]=(_0x4e2a5f<<0x8|_0x4e2a5f>>>0x18)&0xff00ff|(_0x4e2a5f<<0x18|_0x4e2a5f>>>0x8)&0xff00ff00;}return _0x47bc87;},'clone':function(){var _0xbefa21=_0xb37976,_0x12a4cd=_0x929e1e[_0xbefa21(0x173)]['call'](this);return _0x12a4cd[_0xbefa21(0x270)]=this[_0xbefa21(0x270)]['clone'](),_0x12a4cd;}});function _0x580b95(_0x166abf,_0x439cd3,_0x21b55a,_0x5dcfac,_0x3c4420,_0x399ab3,_0x289f1b){var _0x5002b0=_0x166abf+(_0x439cd3&_0x21b55a|~_0x439cd3&_0x5dcfac)+_0x3c4420+_0x289f1b;return(_0x5002b0<<_0x399ab3|_0x5002b0>>>0x20-_0x399ab3)+_0x439cd3;}function _0x199e50(_0x72711c,_0x41ebcb,_0xdf638,_0x5586d9,_0x294200,_0x266b70,_0x41be7b){var _0x18c068=_0x72711c+(_0x41ebcb&_0x5586d9|_0xdf638&~_0x5586d9)+_0x294200+_0x41be7b;return(_0x18c068<<_0x266b70|_0x18c068>>>0x20-_0x266b70)+_0x41ebcb;}function _0x5e2490(_0x1349ea,_0x26622a,_0x2ca7b3,_0x1a21b1,_0x33b16d,_0x44d1f3,_0xcd39b9){var _0x2305d6=_0x1349ea+(_0x26622a^_0x2ca7b3^_0x1a21b1)+_0x33b16d+_0xcd39b9;return(_0x2305d6<<_0x44d1f3|_0x2305d6>>>0x20-_0x44d1f3)+_0x26622a;}function _0x1e9364(_0x4c556b,_0x35f558,_0x24538b,_0x51ace9,_0x4ca7c7,_0x8d1219,_0x334526){var _0x587e61=_0x4c556b+(_0x24538b^(_0x35f558|~_0x51ace9))+_0x4ca7c7+_0x334526;return(_0x587e61<<_0x8d1219|_0x587e61>>>0x20-_0x8d1219)+_0x35f558;}_0x2b2429['MD5']=_0x929e1e[_0xb37976(0x18c)](_0x2dec81),_0x2b2429[_0xb37976(0x3ff)]=_0x929e1e[_0xb37976(0x3fc)](_0x2dec81);}(Math),_0x2c90f9[_0x52377d(0x3ae)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x4b36a2=_0x5a609d;return ti||(ti=0x1,function(_0x330602,_0x4e48bc){(function(_0x66f027,_0x2966f9){var _0x1917d2=_0x51f8;_0x330602[_0x1917d2(0x24f)]=_0x2966f9(ne());}($r,function(_0x3d7795){var _0x49ba56=_0x51f8;return(function(){var _0x95141c=_0x51f8,_0x27cc58=_0x3d7795,_0x35703b=_0x27cc58[_0x95141c(0x178)],_0x165f7f=_0x35703b['WordArray'],_0x3d44a1=_0x35703b[_0x95141c(0x462)],_0x46e01b=_0x27cc58[_0x95141c(0x376)],_0x11373d=[],_0xfc24a2=_0x46e01b[_0x95141c(0x31d)]=_0x3d44a1[_0x95141c(0x2a3)]({'_doReset':function(){var _0x1ccdb3=_0x95141c;this['_hash']=new _0x165f7f[(_0x1ccdb3(0x230))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b824f,_0x2c1b1e){var _0x7e5785=_0x95141c;for(var _0xa04594=this[_0x7e5785(0x270)][_0x7e5785(0x1f5)],_0x54b40d=_0xa04594[0x0],_0x51e669=_0xa04594[0x1],_0x3462ec=_0xa04594[0x2],_0x4f4cd1=_0xa04594[0x3],_0x3073f8=_0xa04594[0x4],_0x2f2fc7=0x0;_0x2f2fc7<0x50;_0x2f2fc7++){if(_0x2f2fc7<0x10)_0x11373d[_0x2f2fc7]=_0x4b824f[_0x2c1b1e+_0x2f2fc7]|0x0;else{var _0xaf9d3=_0x11373d[_0x2f2fc7-0x3]^_0x11373d[_0x2f2fc7-0x8]^_0x11373d[_0x2f2fc7-0xe]^_0x11373d[_0x2f2fc7-0x10];_0x11373d[_0x2f2fc7]=_0xaf9d3<<0x1|_0xaf9d3>>>0x1f;}var _0x38c707=(_0x54b40d<<0x5|_0x54b40d>>>0x1b)+_0x3073f8+_0x11373d[_0x2f2fc7];_0x2f2fc7<0x14?_0x38c707+=(_0x51e669&_0x3462ec|~_0x51e669&_0x4f4cd1)+0x5a827999:_0x2f2fc7<0x28?_0x38c707+=(_0x51e669^_0x3462ec^_0x4f4cd1)+0x6ed9eba1:_0x2f2fc7<0x3c?_0x38c707+=(_0x51e669&_0x3462ec|_0x51e669&_0x4f4cd1|_0x3462ec&_0x4f4cd1)-0x70e44324:_0x38c707+=(_0x51e669^_0x3462ec^_0x4f4cd1)-0x359d3e2a,_0x3073f8=_0x4f4cd1,_0x4f4cd1=_0x3462ec,_0x3462ec=_0x51e669<<0x1e|_0x51e669>>>0x2,_0x51e669=_0x54b40d,_0x54b40d=_0x38c707;}_0xa04594[0x0]=_0xa04594[0x0]+_0x54b40d|0x0,_0xa04594[0x1]=_0xa04594[0x1]+_0x51e669|0x0,_0xa04594[0x2]=_0xa04594[0x2]+_0x3462ec|0x0,_0xa04594[0x3]=_0xa04594[0x3]+_0x4f4cd1|0x0,_0xa04594[0x4]=_0xa04594[0x4]+_0x3073f8|0x0;},'_doFinalize':function(){var _0x310037=_0x95141c,_0x597871=this[_0x310037(0x222)],_0x32d882=_0x597871[_0x310037(0x1f5)],_0x3987ff=this[_0x310037(0x2a2)]*0x8,_0x107536=_0x597871[_0x310037(0x3de)]*0x8;return _0x32d882[_0x107536>>>0x5]|=0x80<<0x18-_0x107536%0x20,_0x32d882[(_0x107536+0x40>>>0x9<<0x4)+0xe]=Math[_0x310037(0x166)](_0x3987ff/0x100000000),_0x32d882[(_0x107536+0x40>>>0x9<<0x4)+0xf]=_0x3987ff,_0x597871['sigBytes']=_0x32d882[_0x310037(0x192)]*0x4,this['_process'](),this[_0x310037(0x270)];},'clone':function(){var _0x2b4cd5=_0x95141c,_0x10dd48=_0x3d44a1[_0x2b4cd5(0x173)][_0x2b4cd5(0x36d)](this);return _0x10dd48[_0x2b4cd5(0x270)]=this['_hash'][_0x2b4cd5(0x173)](),_0x10dd48;}});_0x27cc58[_0x95141c(0x31d)]=_0x3d44a1[_0x95141c(0x18c)](_0xfc24a2),_0x27cc58[_0x95141c(0x174)]=_0x3d44a1[_0x95141c(0x3fc)](_0xfc24a2);}()),_0x3d7795[_0x49ba56(0x31d)];}));}(qe)),qe[_0x4b36a2(0x24f)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){var _0x35b1f5=_0x5a609d;return ii||(ii=0x1,function(_0x2a39aa,_0x37cecc){(function(_0x1a0648,_0x2bffe){var _0x5c3100=_0x51f8;_0x2a39aa[_0x5c3100(0x24f)]=_0x2bffe(ne());}(kr,function(_0x2fbe1e){(function(){var _0xf4a2b7=_0x51f8,_0x344121=_0x2fbe1e,_0x4eb04f=_0x344121[_0xf4a2b7(0x178)],_0x3ecf9d=_0x4eb04f[_0xf4a2b7(0x299)],_0x4af36d=_0x344121[_0xf4a2b7(0x189)],_0xb45226=_0x4af36d['Utf8'],_0x92c3f5=_0x344121['algo'];_0x92c3f5[_0xf4a2b7(0x2a8)]=_0x3ecf9d[_0xf4a2b7(0x2a3)]({'init':function(_0x5bf118,_0x5c846f){var _0x5c4e25=_0xf4a2b7;_0x5bf118=this[_0x5c4e25(0x24a)]=new _0x5bf118[(_0x5c4e25(0x230))](),typeof _0x5c846f==_0x5c4e25(0x218)&&(_0x5c846f=_0xb45226['parse'](_0x5c846f));var _0x41b191=_0x5bf118[_0x5c4e25(0x1fb)],_0x2f8a68=_0x41b191*0x4;_0x5c846f['sigBytes']>_0x2f8a68&&(_0x5c846f=_0x5bf118[_0x5c4e25(0x2c2)](_0x5c846f)),_0x5c846f[_0x5c4e25(0x45f)]();for(var _0x434cb1=this['_oKey']=_0x5c846f['clone'](),_0x4cd07a=this[_0x5c4e25(0x3c8)]=_0x5c846f[_0x5c4e25(0x173)](),_0x2441db=_0x434cb1[_0x5c4e25(0x1f5)],_0x350c83=_0x4cd07a[_0x5c4e25(0x1f5)],_0xbc2698=0x0;_0xbc2698<_0x41b191;_0xbc2698++)_0x2441db[_0xbc2698]^=0x5c5c5c5c,_0x350c83[_0xbc2698]^=0x36363636;_0x434cb1[_0x5c4e25(0x3de)]=_0x4cd07a[_0x5c4e25(0x3de)]=_0x2f8a68,this[_0x5c4e25(0x1b4)]();},'reset':function(){var _0x1eff36=_0xf4a2b7,_0x445f58=this[_0x1eff36(0x24a)];_0x445f58[_0x1eff36(0x1b4)](),_0x445f58['update'](this['_iKey']);},'update':function(_0x116ea5){var _0x295744=_0xf4a2b7;return this[_0x295744(0x24a)][_0x295744(0x1e1)](_0x116ea5),this;},'finalize':function(_0x1df955){var _0xd64e29=_0xf4a2b7,_0x394518=this['_hasher'],_0x529f79=_0x394518['finalize'](_0x1df955);_0x394518[_0xd64e29(0x1b4)]();var _0x49396b=_0x394518[_0xd64e29(0x2c2)](this[_0xd64e29(0x340)]['clone']()[_0xd64e29(0x331)](_0x529f79));return _0x49396b;}});}());}));}(ze)),ze[_0x35b1f5(0x24f)];}var Br=Ye[_0x5a609d(0x24f)],ni;function Ui(){var _0xab4e22=_0x5a609d;return ni||(ni=0x1,function(_0x4c349c,_0x27875b){(function(_0x58edc3,_0x29f593,_0x405c47){_0x4c349c['exports']=_0x29f593(ne(),Hr(),jr());}(Br,function(_0x521f61){return(function(){var _0x2fde69=_0x51f8,_0x3410e8=_0x521f61,_0x23312c=_0x3410e8['lib'],_0x49c041=_0x23312c[_0x2fde69(0x299)],_0x1c0f9e=_0x23312c[_0x2fde69(0x2db)],_0x5c0b06=_0x3410e8['algo'],_0x4c8e1c=_0x5c0b06[_0x2fde69(0x3ae)],_0x588210=_0x5c0b06[_0x2fde69(0x3d3)]=_0x49c041[_0x2fde69(0x2a3)]({'cfg':_0x49c041['extend']({'keySize':0x80/0x20,'hasher':_0x4c8e1c,'iterations':0x1}),'init':function(_0x15da4d){var _0x43a24a=_0x2fde69;this[_0x43a24a(0x1ad)]=this[_0x43a24a(0x1ad)][_0x43a24a(0x2a3)](_0x15da4d);},'compute':function(_0x11adfa,_0x2b3006){var _0x3038d3=_0x2fde69;for(var _0x3cb701,_0x51c026=this[_0x3038d3(0x1ad)],_0x388b0b=_0x51c026[_0x3038d3(0x20f)][_0x3038d3(0x1bd)](),_0x514e6b=_0x1c0f9e['create'](),_0x142b9d=_0x514e6b[_0x3038d3(0x1f5)],_0x3cbe19=_0x51c026[_0x3038d3(0x3f9)],_0xaf617d=_0x51c026[_0x3038d3(0x1c1)];_0x142b9d['length']<_0x3cbe19;){_0x3cb701&&_0x388b0b[_0x3038d3(0x1e1)](_0x3cb701),_0x3cb701=_0x388b0b[_0x3038d3(0x1e1)](_0x11adfa)[_0x3038d3(0x2c2)](_0x2b3006),_0x388b0b[_0x3038d3(0x1b4)]();for(var _0x471128=0x1;_0x471128<_0xaf617d;_0x471128++)_0x3cb701=_0x388b0b[_0x3038d3(0x2c2)](_0x3cb701),_0x388b0b['reset']();_0x514e6b['concat'](_0x3cb701);}return _0x514e6b[_0x3038d3(0x3de)]=_0x3cbe19*0x4,_0x514e6b;}});_0x3410e8['EvpKDF']=function(_0x43b793,_0x1e42fc,_0x86def3){var _0x194cce=_0x2fde69;return _0x588210[_0x194cce(0x1bd)](_0x86def3)['compute'](_0x43b793,_0x1e42fc);};}()),_0x521f61['EvpKDF'];}));}(Ye)),Ye[_0xab4e22(0x24f)];}var Je={'exports':{}},Fr=Je[_0x5a609d(0x24f)],ri;function Ai(){return ri||(ri=0x1,function(_0x1cea74,_0x5f4f05){(function(_0x23361e,_0x421e35,_0x695a14){var _0x538c1f=_0x51f8;_0x1cea74[_0x538c1f(0x24f)]=_0x421e35(ne(),Ui());}(Fr,function(_0x42b13b){var _0x560a78=_0x51f8;_0x42b13b[_0x560a78(0x178)]['Cipher']||function(_0x45ea3d){var _0x394f41=_0x560a78,_0x57a7af=_0x42b13b,_0x4d2287=_0x57a7af[_0x394f41(0x178)],_0x2ceb82=_0x4d2287[_0x394f41(0x299)],_0x1340a1=_0x4d2287[_0x394f41(0x2db)],_0x357dc7=_0x4d2287[_0x394f41(0x2fa)],_0x554ef7=_0x57a7af[_0x394f41(0x189)];_0x554ef7[_0x394f41(0x1c9)];var _0x22c808=_0x554ef7[_0x394f41(0x2c6)],_0x35ac3a=_0x57a7af[_0x394f41(0x376)],_0x4c44ca=_0x35ac3a[_0x394f41(0x3d3)],_0x1ab361=_0x4d2287['Cipher']=_0x357dc7[_0x394f41(0x2a3)]({'cfg':_0x2ceb82[_0x394f41(0x2a3)](),'createEncryptor':function(_0x592834,_0x408ab0){var _0x428ea9=_0x394f41;return this[_0x428ea9(0x1bd)](this[_0x428ea9(0x373)],_0x592834,_0x408ab0);},'createDecryptor':function(_0x20943e,_0x3e5199){var _0x704124=_0x394f41;return this[_0x704124(0x1bd)](this[_0x704124(0x2e5)],_0x20943e,_0x3e5199);},'init':function(_0x240696,_0x1d80b0,_0x4a18d4){var _0x4f4255=_0x394f41;this[_0x4f4255(0x1ad)]=this[_0x4f4255(0x1ad)]['extend'](_0x4a18d4),this[_0x4f4255(0x1ac)]=_0x240696,this[_0x4f4255(0x37b)]=_0x1d80b0,this['reset']();},'reset':function(){var _0x4fa30a=_0x394f41;_0x357dc7['reset'][_0x4fa30a(0x36d)](this),this[_0x4fa30a(0x3d6)]();},'process':function(_0x5dc60c){var _0x513e5f=_0x394f41;return this[_0x513e5f(0x1fa)](_0x5dc60c),this['_process']();},'finalize':function(_0x4250d1){var _0x158b71=_0x394f41;_0x4250d1&&this[_0x158b71(0x1fa)](_0x4250d1);var _0x2d92d5=this[_0x158b71(0x3a2)]();return _0x2d92d5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x39bd96(_0x3f4102){return typeof _0x3f4102=='string'?_0x18cb2c:_0x3d3319;}return function(_0x245013){return{'encrypt':function(_0x5bef89,_0x1ba6c,_0x2de11a){var _0xe991ad=_0x51f8;return _0x39bd96(_0x1ba6c)[_0xe991ad(0x1ea)](_0x245013,_0x5bef89,_0x1ba6c,_0x2de11a);},'decrypt':function(_0x1fddb6,_0x448497,_0x1714a9){return _0x39bd96(_0x448497)['decrypt'](_0x245013,_0x1fddb6,_0x448497,_0x1714a9);}};};}())});_0x4d2287[_0x394f41(0x3a5)]=_0x1ab361[_0x394f41(0x2a3)]({'_doFinalize':function(){var _0x1ee3f3=_0x394f41,_0xb99fe6=this[_0x1ee3f3(0x2e6)](!0x0);return _0xb99fe6;},'blockSize':0x1});var _0x2b2218=_0x57a7af[_0x394f41(0x41a)]={},_0x568a79=_0x4d2287[_0x394f41(0x1d4)]=_0x2ceb82['extend']({'createEncryptor':function(_0x4f1168,_0x3618e5){var _0x4046fd=_0x394f41;return this[_0x4046fd(0x3ef)][_0x4046fd(0x1bd)](_0x4f1168,_0x3618e5);},'createDecryptor':function(_0x31f95a,_0x439f5b){return this['Decryptor']['create'](_0x31f95a,_0x439f5b);},'init':function(_0x29b4c4,_0x4969e5){var _0xe561db=_0x394f41;this['_cipher']=_0x29b4c4,this[_0xe561db(0x193)]=_0x4969e5;}}),_0x28afd8=_0x2b2218['CBC']=(function(){var _0xcea467=_0x394f41,_0x4b47d6=_0x568a79[_0xcea467(0x2a3)]();_0x4b47d6[_0xcea467(0x3ef)]=_0x4b47d6[_0xcea467(0x2a3)]({'processBlock':function(_0x244604,_0x165513){var _0x519190=_0xcea467,_0x1813c1=this['_cipher'],_0x3a9e22=_0x1813c1[_0x519190(0x1fb)];_0x2ba785['call'](this,_0x244604,_0x165513,_0x3a9e22),_0x1813c1['encryptBlock'](_0x244604,_0x165513),this['_prevBlock']=_0x244604['slice'](_0x165513,_0x165513+_0x3a9e22);}}),_0x4b47d6['Decryptor']=_0x4b47d6[_0xcea467(0x2a3)]({'processBlock':function(_0x25600f,_0x3a7de7){var _0x5ba6aa=_0xcea467,_0x5c1a55=this[_0x5ba6aa(0x385)],_0x3e8111=_0x5c1a55[_0x5ba6aa(0x1fb)],_0xc15c86=_0x25600f[_0x5ba6aa(0x19c)](_0x3a7de7,_0x3a7de7+_0x3e8111);_0x5c1a55[_0x5ba6aa(0x3ee)](_0x25600f,_0x3a7de7),_0x2ba785[_0x5ba6aa(0x36d)](this,_0x25600f,_0x3a7de7,_0x3e8111),this[_0x5ba6aa(0x22a)]=_0xc15c86;}});function _0x2ba785(_0x1d7306,_0x4f713f,_0x4d473d){var _0x3a0af2=_0xcea467,_0x1e04c7,_0xcdc05=this['_iv'];_0xcdc05?(_0x1e04c7=_0xcdc05,this[_0x3a0af2(0x193)]=_0x45ea3d):_0x1e04c7=this[_0x3a0af2(0x22a)];for(var _0x57f263=0x0;_0x57f263<_0x4d473d;_0x57f263++)_0x1d7306[_0x4f713f+_0x57f263]^=_0x1e04c7[_0x57f263];}return _0x4b47d6;}()),_0x8852b9=_0x57a7af[_0x394f41(0x19e)]={},_0x2e78fb=_0x8852b9[_0x394f41(0x233)]={'pad':function(_0x3624e9,_0x409da8){var _0x51c8fe=_0x394f41;for(var _0x405acb=_0x409da8*0x4,_0x304d52=_0x405acb-_0x3624e9[_0x51c8fe(0x3de)]%_0x405acb,_0x420e9e=_0x304d52<<0x18|_0x304d52<<0x10|_0x304d52<<0x8|_0x304d52,_0x344b2a=[],_0x3297e0=0x0;_0x3297e0<_0x304d52;_0x3297e0+=0x4)_0x344b2a[_0x51c8fe(0x318)](_0x420e9e);var _0x18aa66=_0x1340a1[_0x51c8fe(0x1bd)](_0x344b2a,_0x304d52);_0x3624e9[_0x51c8fe(0x331)](_0x18aa66);},'unpad':function(_0x341d34){var _0x24e054=_0x394f41,_0x4967af=_0x341d34[_0x24e054(0x1f5)][_0x341d34[_0x24e054(0x3de)]-0x1>>>0x2]&0xff;_0x341d34['sigBytes']-=_0x4967af;}};_0x4d2287['BlockCipher']=_0x1ab361[_0x394f41(0x2a3)]({'cfg':_0x1ab361[_0x394f41(0x1ad)][_0x394f41(0x2a3)]({'mode':_0x28afd8,'padding':_0x2e78fb}),'reset':function(){var _0x37ab06=_0x394f41,_0x29e2e3;_0x1ab361[_0x37ab06(0x1b4)][_0x37ab06(0x36d)](this);var _0x393da0=this['cfg'],_0x4a5b2c=_0x393da0['iv'],_0x2bce1b=_0x393da0[_0x37ab06(0x41a)];this['_xformMode']==this[_0x37ab06(0x373)]?_0x29e2e3=_0x2bce1b[_0x37ab06(0x418)]:(_0x29e2e3=_0x2bce1b[_0x37ab06(0x325)],this[_0x37ab06(0x2e8)]=0x1),this['_mode']&&this[_0x37ab06(0x3df)][_0x37ab06(0x3bf)]==_0x29e2e3?this[_0x37ab06(0x3df)]['init'](this,_0x4a5b2c&&_0x4a5b2c[_0x37ab06(0x1f5)]):(this[_0x37ab06(0x3df)]=_0x29e2e3[_0x37ab06(0x36d)](_0x2bce1b,this,_0x4a5b2c&&_0x4a5b2c[_0x37ab06(0x1f5)]),this[_0x37ab06(0x3df)]['__creator']=_0x29e2e3);},'_doProcessBlock':function(_0x631800,_0x2262ba){var _0x412b78=_0x394f41;this[_0x412b78(0x3df)][_0x412b78(0x2b9)](_0x631800,_0x2262ba);},'_doFinalize':function(){var _0x561396=_0x394f41,_0x20713b,_0x58f0f3=this[_0x561396(0x1ad)][_0x561396(0x3e0)];return this[_0x561396(0x1ac)]==this[_0x561396(0x373)]?(_0x58f0f3[_0x561396(0x19e)](this[_0x561396(0x222)],this[_0x561396(0x1fb)]),_0x20713b=this[_0x561396(0x2e6)](!0x0)):(_0x20713b=this[_0x561396(0x2e6)](!0x0),_0x58f0f3[_0x561396(0x2ba)](_0x20713b)),_0x20713b;},'blockSize':0x80/0x20});var _0x1cd36b=_0x4d2287[_0x394f41(0x306)]=_0x2ceb82[_0x394f41(0x2a3)]({'init':function(_0x564f7d){var _0x443179=_0x394f41;this[_0x443179(0x358)](_0x564f7d);},'toString':function(_0x3f2351){var _0x3d7441=_0x394f41;return(_0x3f2351||this[_0x3d7441(0x160)])[_0x3d7441(0x37a)](this);}}),_0x49e9b5=_0x57a7af[_0x394f41(0x1ff)]={},_0x53fca9=_0x49e9b5[_0x394f41(0x3dd)]={'stringify':function(_0x297072){var _0x4c4c33=_0x394f41,_0x1e7cc2,_0x28e165=_0x297072['ciphertext'],_0x11b4e0=_0x297072[_0x4c4c33(0x278)];return _0x11b4e0?_0x1e7cc2=_0x1340a1[_0x4c4c33(0x1bd)]([0x53616c74,0x65645f5f])[_0x4c4c33(0x331)](_0x11b4e0)[_0x4c4c33(0x331)](_0x28e165):_0x1e7cc2=_0x28e165,_0x1e7cc2[_0x4c4c33(0x365)](_0x22c808);},'parse':function(_0x3280dc){var _0x25736a=_0x394f41,_0x4bb7a2,_0x531076=_0x22c808[_0x25736a(0x435)](_0x3280dc),_0x49df4d=_0x531076[_0x25736a(0x1f5)];return _0x49df4d[0x0]==0x53616c74&&_0x49df4d[0x1]==0x65645f5f&&(_0x4bb7a2=_0x1340a1[_0x25736a(0x1bd)](_0x49df4d[_0x25736a(0x19c)](0x2,0x4)),_0x49df4d[_0x25736a(0x3ba)](0x0,0x4),_0x531076['sigBytes']-=0x10),_0x1cd36b[_0x25736a(0x1bd)]({'ciphertext':_0x531076,'salt':_0x4bb7a2});}},_0x3d3319=_0x4d2287[_0x394f41(0x2a1)]=_0x2ceb82[_0x394f41(0x2a3)]({'cfg':_0x2ceb82['extend']({'format':_0x53fca9}),'encrypt':function(_0x39601d,_0xe0e95d,_0x58c762,_0x2cca3c){var _0x4cefd8=_0x394f41;_0x2cca3c=this[_0x4cefd8(0x1ad)][_0x4cefd8(0x2a3)](_0x2cca3c);var _0x626de=_0x39601d[_0x4cefd8(0x418)](_0x58c762,_0x2cca3c),_0x25de36=_0x626de[_0x4cefd8(0x2c2)](_0xe0e95d),_0x53b0b8=_0x626de['cfg'];return _0x1cd36b[_0x4cefd8(0x1bd)]({'ciphertext':_0x25de36,'key':_0x58c762,'iv':_0x53b0b8['iv'],'algorithm':_0x39601d,'mode':_0x53b0b8[_0x4cefd8(0x41a)],'padding':_0x53b0b8['padding'],'blockSize':_0x39601d[_0x4cefd8(0x1fb)],'formatter':_0x2cca3c[_0x4cefd8(0x1ff)]});},'decrypt':function(_0x58dc75,_0x2e691a,_0x97b930,_0x5171dc){var _0x12d16f=_0x394f41;_0x5171dc=this[_0x12d16f(0x1ad)][_0x12d16f(0x2a3)](_0x5171dc),_0x2e691a=this[_0x12d16f(0x3c9)](_0x2e691a,_0x5171dc['format']);var _0x27c475=_0x58dc75[_0x12d16f(0x325)](_0x97b930,_0x5171dc)[_0x12d16f(0x2c2)](_0x2e691a[_0x12d16f(0x43a)]);return _0x27c475;},'_parse':function(_0x10503b,_0x80ccd8){var _0x541696=_0x394f41;return typeof _0x10503b==_0x541696(0x218)?_0x80ccd8[_0x541696(0x435)](_0x10503b,this):_0x10503b;}}),_0x41ffa0=_0x57a7af['kdf']={},_0x43ddd0=_0x41ffa0[_0x394f41(0x3dd)]={'execute':function(_0x581cdf,_0x36082d,_0x302421,_0x59393b,_0x19bad9){var _0x3e82bd=_0x394f41;if(_0x59393b||(_0x59393b=_0x1340a1[_0x3e82bd(0x2ad)](0x40/0x8)),_0x19bad9)var _0x2abb52=_0x4c44ca['create']({'keySize':_0x36082d+_0x302421,'hasher':_0x19bad9})[_0x3e82bd(0x169)](_0x581cdf,_0x59393b);else var _0x2abb52=_0x4c44ca[_0x3e82bd(0x1bd)]({'keySize':_0x36082d+_0x302421})[_0x3e82bd(0x169)](_0x581cdf,_0x59393b);var _0x4234ac=_0x1340a1[_0x3e82bd(0x1bd)](_0x2abb52[_0x3e82bd(0x1f5)][_0x3e82bd(0x19c)](_0x36082d),_0x302421*0x4);return _0x2abb52['sigBytes']=_0x36082d*0x4,_0x1cd36b['create']({'key':_0x2abb52,'iv':_0x4234ac,'salt':_0x59393b});}},_0x18cb2c=_0x4d2287[_0x394f41(0x177)]=_0x3d3319[_0x394f41(0x2a3)]({'cfg':_0x3d3319[_0x394f41(0x1ad)][_0x394f41(0x2a3)]({'kdf':_0x43ddd0}),'encrypt':function(_0x295fcc,_0x20a843,_0x46d8d9,_0xd1e5cf){var _0xc28d22=_0x394f41;_0xd1e5cf=this['cfg'][_0xc28d22(0x2a3)](_0xd1e5cf);var _0x310aba=_0xd1e5cf[_0xc28d22(0x1f8)]['execute'](_0x46d8d9,_0x295fcc['keySize'],_0x295fcc[_0xc28d22(0x284)],_0xd1e5cf['salt'],_0xd1e5cf[_0xc28d22(0x20f)]);_0xd1e5cf['iv']=_0x310aba['iv'];var _0x4b32d9=_0x3d3319['encrypt'][_0xc28d22(0x36d)](this,_0x295fcc,_0x20a843,_0x310aba[_0xc28d22(0x2a0)],_0xd1e5cf);return _0x4b32d9[_0xc28d22(0x358)](_0x310aba),_0x4b32d9;},'decrypt':function(_0x22550c,_0x3838ed,_0x542b6a,_0x2d6f9e){var _0x17dd69=_0x394f41;_0x2d6f9e=this[_0x17dd69(0x1ad)][_0x17dd69(0x2a3)](_0x2d6f9e),_0x3838ed=this[_0x17dd69(0x3c9)](_0x3838ed,_0x2d6f9e[_0x17dd69(0x1ff)]);var _0x2d261f=_0x2d6f9e[_0x17dd69(0x1f8)]['execute'](_0x542b6a,_0x22550c[_0x17dd69(0x3f9)],_0x22550c[_0x17dd69(0x284)],_0x3838ed['salt'],_0x2d6f9e['hasher']);_0x2d6f9e['iv']=_0x2d261f['iv'];var _0x559ff8=_0x3d3319[_0x17dd69(0x457)][_0x17dd69(0x36d)](this,_0x22550c,_0x3838ed,_0x2d261f[_0x17dd69(0x2a0)],_0x2d6f9e);return _0x559ff8;}});}();}));}(Je)),Je['exports'];}var Vr=Ve['exports'],si;function Gr(){var _0x247b58=_0x5a609d;return si||(si=0x1,function(_0x16f28b,_0x5d0b01){(function(_0x2d154a,_0x1c11a2,_0x10aeff){var _0x4233e7=_0x51f8;_0x16f28b[_0x4233e7(0x24f)]=_0x1c11a2(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x44a4dd){var _0x17bac3=_0x51f8;return(function(){var _0x5e6a09=_0x51f8,_0x105063=_0x44a4dd,_0xdd370=_0x105063['lib'],_0x1c75a7=_0xdd370[_0x5e6a09(0x242)],_0x27bbc9=_0x105063[_0x5e6a09(0x376)],_0x5e7b12=[],_0x405989=[],_0x3ef4a5=[],_0x56ae29=[],_0x4dddc4=[],_0x3099f7=[],_0x206bf0=[],_0x39c305=[],_0x18827d=[],_0x128d83=[];(function(){for(var _0x2bc8a3=[],_0x4276a5=0x0;_0x4276a5<0x100;_0x4276a5++)_0x4276a5<0x80?_0x2bc8a3[_0x4276a5]=_0x4276a5<<0x1:_0x2bc8a3[_0x4276a5]=_0x4276a5<<0x1^0x11b;for(var _0x42b74a=0x0,_0x635d18=0x0,_0x4276a5=0x0;_0x4276a5<0x100;_0x4276a5++){var _0x48057b=_0x635d18^_0x635d18<<0x1^_0x635d18<<0x2^_0x635d18<<0x3^_0x635d18<<0x4;_0x48057b=_0x48057b>>>0x8^_0x48057b&0xff^0x63,_0x5e7b12[_0x42b74a]=_0x48057b,_0x405989[_0x48057b]=_0x42b74a;var _0x2dec21=_0x2bc8a3[_0x42b74a],_0x177143=_0x2bc8a3[_0x2dec21],_0x581e5a=_0x2bc8a3[_0x177143],_0x39d2d1=_0x2bc8a3[_0x48057b]*0x101^_0x48057b*0x1010100;_0x3ef4a5[_0x42b74a]=_0x39d2d1<<0x18|_0x39d2d1>>>0x8,_0x56ae29[_0x42b74a]=_0x39d2d1<<0x10|_0x39d2d1>>>0x10,_0x4dddc4[_0x42b74a]=_0x39d2d1<<0x8|_0x39d2d1>>>0x18,_0x3099f7[_0x42b74a]=_0x39d2d1;var _0x39d2d1=_0x581e5a*0x1010101^_0x177143*0x10001^_0x2dec21*0x101^_0x42b74a*0x1010100;_0x206bf0[_0x48057b]=_0x39d2d1<<0x18|_0x39d2d1>>>0x8,_0x39c305[_0x48057b]=_0x39d2d1<<0x10|_0x39d2d1>>>0x10,_0x18827d[_0x48057b]=_0x39d2d1<<0x8|_0x39d2d1>>>0x18,_0x128d83[_0x48057b]=_0x39d2d1,_0x42b74a?(_0x42b74a=_0x2dec21^_0x2bc8a3[_0x2bc8a3[_0x2bc8a3[_0x581e5a^_0x2dec21]]],_0x635d18^=_0x2bc8a3[_0x2bc8a3[_0x635d18]]):_0x42b74a=_0x635d18=0x1;}}());var _0x2a4062=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3d20b7=_0x27bbc9[_0x5e6a09(0x45c)]=_0x1c75a7['extend']({'_doReset':function(){var _0x3c691c=_0x5e6a09,_0x5c9d6f;if(!(this[_0x3c691c(0x3ed)]&&this[_0x3c691c(0x41b)]===this['_key'])){for(var _0x56c073=this['_keyPriorReset']=this[_0x3c691c(0x37b)],_0x418319=_0x56c073[_0x3c691c(0x1f5)],_0x3b551b=_0x56c073[_0x3c691c(0x3de)]/0x4,_0xa160ed=this['_nRounds']=_0x3b551b+0x6,_0x34ce04=(_0xa160ed+0x1)*0x4,_0x4de7e1=this[_0x3c691c(0x1ce)]=[],_0x592e67=0x0;_0x592e67<_0x34ce04;_0x592e67++)_0x592e67<_0x3b551b?_0x4de7e1[_0x592e67]=_0x418319[_0x592e67]:(_0x5c9d6f=_0x4de7e1[_0x592e67-0x1],_0x592e67%_0x3b551b?_0x3b551b>0x6&&_0x592e67%_0x3b551b==0x4&&(_0x5c9d6f=_0x5e7b12[_0x5c9d6f>>>0x18]<<0x18|_0x5e7b12[_0x5c9d6f>>>0x10&0xff]<<0x10|_0x5e7b12[_0x5c9d6f>>>0x8&0xff]<<0x8|_0x5e7b12[_0x5c9d6f&0xff]):(_0x5c9d6f=_0x5c9d6f<<0x8|_0x5c9d6f>>>0x18,_0x5c9d6f=_0x5e7b12[_0x5c9d6f>>>0x18]<<0x18|_0x5e7b12[_0x5c9d6f>>>0x10&0xff]<<0x10|_0x5e7b12[_0x5c9d6f>>>0x8&0xff]<<0x8|_0x5e7b12[_0x5c9d6f&0xff],_0x5c9d6f^=_0x2a4062[_0x592e67/_0x3b551b|0x0]<<0x18),_0x4de7e1[_0x592e67]=_0x4de7e1[_0x592e67-_0x3b551b]^_0x5c9d6f);for(var _0x5a3b22=this[_0x3c691c(0x2af)]=[],_0x5e72d3=0x0;_0x5e72d3<_0x34ce04;_0x5e72d3++){var _0x592e67=_0x34ce04-_0x5e72d3;if(_0x5e72d3%0x4)var _0x5c9d6f=_0x4de7e1[_0x592e67];else var _0x5c9d6f=_0x4de7e1[_0x592e67-0x4];_0x5e72d3<0x4||_0x592e67<=0x4?_0x5a3b22[_0x5e72d3]=_0x5c9d6f:_0x5a3b22[_0x5e72d3]=_0x206bf0[_0x5e7b12[_0x5c9d6f>>>0x18]]^_0x39c305[_0x5e7b12[_0x5c9d6f>>>0x10&0xff]]^_0x18827d[_0x5e7b12[_0x5c9d6f>>>0x8&0xff]]^_0x128d83[_0x5e7b12[_0x5c9d6f&0xff]];}}},'encryptBlock':function(_0x42e85a,_0x7cf1ca){var _0x18ace1=_0x5e6a09;this[_0x18ace1(0x33f)](_0x42e85a,_0x7cf1ca,this[_0x18ace1(0x1ce)],_0x3ef4a5,_0x56ae29,_0x4dddc4,_0x3099f7,_0x5e7b12);},'decryptBlock':function(_0x408a0a,_0x243c50){var _0x1690fc=_0x5e6a09,_0x1c72f5=_0x408a0a[_0x243c50+0x1];_0x408a0a[_0x243c50+0x1]=_0x408a0a[_0x243c50+0x3],_0x408a0a[_0x243c50+0x3]=_0x1c72f5,this[_0x1690fc(0x33f)](_0x408a0a,_0x243c50,this['_invKeySchedule'],_0x206bf0,_0x39c305,_0x18827d,_0x128d83,_0x405989);var _0x1c72f5=_0x408a0a[_0x243c50+0x1];_0x408a0a[_0x243c50+0x1]=_0x408a0a[_0x243c50+0x3],_0x408a0a[_0x243c50+0x3]=_0x1c72f5;},'_doCryptBlock':function(_0x1bb670,_0x717872,_0x404d39,_0x22b2e6,_0x202d05,_0x445997,_0x2e5204,_0x261ce2){var _0x573fcb=_0x5e6a09;for(var _0x1a508a=this[_0x573fcb(0x3ed)],_0x3c8934=_0x1bb670[_0x717872]^_0x404d39[0x0],_0x54e018=_0x1bb670[_0x717872+0x1]^_0x404d39[0x1],_0x338ad8=_0x1bb670[_0x717872+0x2]^_0x404d39[0x2],_0x26d7c6=_0x1bb670[_0x717872+0x3]^_0x404d39[0x3],_0x58bd9a=0x4,_0xca602a=0x1;_0xca602a<_0x1a508a;_0xca602a++){var _0x294cde=_0x22b2e6[_0x3c8934>>>0x18]^_0x202d05[_0x54e018>>>0x10&0xff]^_0x445997[_0x338ad8>>>0x8&0xff]^_0x2e5204[_0x26d7c6&0xff]^_0x404d39[_0x58bd9a++],_0x47f389=_0x22b2e6[_0x54e018>>>0x18]^_0x202d05[_0x338ad8>>>0x10&0xff]^_0x445997[_0x26d7c6>>>0x8&0xff]^_0x2e5204[_0x3c8934&0xff]^_0x404d39[_0x58bd9a++],_0x12cbcf=_0x22b2e6[_0x338ad8>>>0x18]^_0x202d05[_0x26d7c6>>>0x10&0xff]^_0x445997[_0x3c8934>>>0x8&0xff]^_0x2e5204[_0x54e018&0xff]^_0x404d39[_0x58bd9a++],_0x29f5e1=_0x22b2e6[_0x26d7c6>>>0x18]^_0x202d05[_0x3c8934>>>0x10&0xff]^_0x445997[_0x54e018>>>0x8&0xff]^_0x2e5204[_0x338ad8&0xff]^_0x404d39[_0x58bd9a++];_0x3c8934=_0x294cde,_0x54e018=_0x47f389,_0x338ad8=_0x12cbcf,_0x26d7c6=_0x29f5e1;}var _0x294cde=(_0x261ce2[_0x3c8934>>>0x18]<<0x18|_0x261ce2[_0x54e018>>>0x10&0xff]<<0x10|_0x261ce2[_0x338ad8>>>0x8&0xff]<<0x8|_0x261ce2[_0x26d7c6&0xff])^_0x404d39[_0x58bd9a++],_0x47f389=(_0x261ce2[_0x54e018>>>0x18]<<0x18|_0x261ce2[_0x338ad8>>>0x10&0xff]<<0x10|_0x261ce2[_0x26d7c6>>>0x8&0xff]<<0x8|_0x261ce2[_0x3c8934&0xff])^_0x404d39[_0x58bd9a++],_0x12cbcf=(_0x261ce2[_0x338ad8>>>0x18]<<0x18|_0x261ce2[_0x26d7c6>>>0x10&0xff]<<0x10|_0x261ce2[_0x3c8934>>>0x8&0xff]<<0x8|_0x261ce2[_0x54e018&0xff])^_0x404d39[_0x58bd9a++],_0x29f5e1=(_0x261ce2[_0x26d7c6>>>0x18]<<0x18|_0x261ce2[_0x3c8934>>>0x10&0xff]<<0x10|_0x261ce2[_0x54e018>>>0x8&0xff]<<0x8|_0x261ce2[_0x338ad8&0xff])^_0x404d39[_0x58bd9a++];_0x1bb670[_0x717872]=_0x294cde,_0x1bb670[_0x717872+0x1]=_0x47f389,_0x1bb670[_0x717872+0x2]=_0x12cbcf,_0x1bb670[_0x717872+0x3]=_0x29f5e1;},'keySize':0x100/0x20});_0x105063['AES']=_0x1c75a7[_0x5e6a09(0x18c)](_0x3d20b7);}()),_0x44a4dd[_0x17bac3(0x45c)];}));}(Ve)),Ve[_0x247b58(0x24f)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x5a609d(0x24f)],ai;function zr(){var _0x2fff14=_0x5a609d;return ai||(ai=0x1,function(_0x4e671a,_0x242f59){(function(_0x1686a1,_0x1510f8){var _0x5c2021=_0x51f8;_0x4e671a[_0x5c2021(0x24f)]=_0x1510f8(ne());}(qr,function(_0xda5922){var _0x4bba89=_0x51f8;return _0xda5922['enc'][_0x4bba89(0x1c9)];}));}(Xe)),Xe[_0x2fff14(0x24f)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){var _0x3b4a92=_0x5a609d;return ci||(ci=0x1,function(_0x4752ae,_0x2480a2){(function(_0x16999e,_0x22bf4e){var _0x641173=_0x51f8;_0x4752ae[_0x641173(0x24f)]=_0x22bf4e(ne());}(Zr,function(_0x35421c){var _0x1e705b=_0x51f8;return(function(){var _0x186379=_0x51f8;if(typeof ArrayBuffer=='function'){var _0xdb232c=_0x35421c,_0x819ca6=_0xdb232c[_0x186379(0x178)],_0x5f1efe=_0x819ca6[_0x186379(0x2db)],_0x26768b=_0x5f1efe[_0x186379(0x230)],_0x35261b=_0x5f1efe[_0x186379(0x230)]=function(_0x5d7d7b){var _0x353073=_0x186379;if(_0x5d7d7b instanceof ArrayBuffer&&(_0x5d7d7b=new Uint8Array(_0x5d7d7b)),(_0x5d7d7b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5d7d7b instanceof Uint8ClampedArray||_0x5d7d7b instanceof Int16Array||_0x5d7d7b instanceof Uint16Array||_0x5d7d7b instanceof Int32Array||_0x5d7d7b instanceof Uint32Array||_0x5d7d7b instanceof Float32Array||_0x5d7d7b instanceof Float64Array)&&(_0x5d7d7b=new Uint8Array(_0x5d7d7b['buffer'],_0x5d7d7b[_0x353073(0x2b1)],_0x5d7d7b['byteLength'])),_0x5d7d7b instanceof Uint8Array){for(var _0x53d86e=_0x5d7d7b[_0x353073(0x1b7)],_0x42741a=[],_0x210ed5=0x0;_0x210ed5<_0x53d86e;_0x210ed5++)_0x42741a[_0x210ed5>>>0x2]|=_0x5d7d7b[_0x210ed5]<<0x18-_0x210ed5%0x4*0x8;_0x26768b[_0x353073(0x36d)](this,_0x42741a,_0x53d86e);}else _0x26768b[_0x353073(0x190)](this,arguments);};_0x35261b[_0x186379(0x404)]=_0x5f1efe;}}()),_0x35421c[_0x1e705b(0x178)][_0x1e705b(0x2db)];}));}(Ze)),Ze[_0x3b4a92(0x24f)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){return hi||(hi=0x1,function(_0x52d196,_0x59fd67){(function(_0x16a9c0,_0x3849a6,_0x3e3b10){var _0xe6c461=_0x51f8;_0x52d196[_0xe6c461(0x24f)]=_0x3849a6(ne(),Ai());}(is,function(_0x285641){var _0x5f288f=_0x51f8;return _0x285641[_0x5f288f(0x19e)][_0x5f288f(0x261)]={'pad':function(){},'unpad':function(){}},_0x285641[_0x5f288f(0x19e)][_0x5f288f(0x261)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x24541c,_0x22ea09){var _0x268c7e=_0x5a609d;const _0x5c6caf=_0x22ea09-_0x24541c[_0x268c7e(0x192)]%_0x22ea09,_0xf196d5=String[_0x268c7e(0x1d6)](_0x5c6caf)[_0x268c7e(0x255)](_0x5c6caf);return _0x24541c+_0xf196d5;}function as(_0x4e0b6a,_0x1db036){var _0x4af980=_0x5a609d;const _0x515d42=ts[_0x4af980(0x2ad)](0x10),_0x1335f6=os(_0x4e0b6a,0x10),_0x40bd9c=Kr[_0x4af980(0x1ea)](Xr[_0x4af980(0x435)](_0x1335f6),oi['parse'](_0x1db036),{'iv':_0x515d42,'padding':ss});return _0x515d42[_0x4af980(0x331)](_0x40bd9c[_0x4af980(0x43a)])[_0x4af980(0x365)](oi);}function cs(){var _0x53cb72=_0x5a609d;const _0x3ceac=_0x32314f()['__Key__'];if(_0x3ceac){const _0x3f5ffb={'time':Math[_0x53cb72(0x166)](Date[_0x53cb72(0x3d2)]()/0x3e8),'domain':location[_0x53cb72(0x309)]};return as(JSON[_0x53cb72(0x37a)](_0x3f5ffb),_0x3ceac);}}var hs=Object[_0x5a609d(0x258)],_s=Object[_0x5a609d(0x197)],ls=(_0x24e6ed,_0x141725,_0x38979f,_0x38e4c3)=>{var _0xda8b18=_0x5a609d;for(var _0x49643b=_0x38e4c3>0x1?void 0x0:_0x38e4c3?_s(_0x141725,_0x38979f):_0x141725,_0x42296d=_0x24e6ed[_0xda8b18(0x192)]-0x1,_0x393d3a;_0x42296d>=0x0;_0x42296d--)(_0x393d3a=_0x24e6ed[_0x42296d])&&(_0x49643b=(_0x38e4c3?_0x393d3a(_0x141725,_0x38979f,_0x49643b):_0x393d3a(_0x49643b))||_0x49643b);return _0x38e4c3&&_0x49643b&&hs(_0x141725,_0x38979f,_0x49643b),_0x49643b;},us=(_0x5d1c22,_0x6f3e02)=>(_0x2bffe9,_0x5d0447)=>_0x6f3e02(_0x2bffe9,_0x5d0447,_0x5d1c22);let ot=class{constructor(_0x41bab1){var _0x9dc1a4=_0x5a609d;this[_0x9dc1a4(0x1ba)]=_0x41bab1,this[_0x9dc1a4(0x22b)]();}[_0x5a609d(0x22b)](){var _0x18fae8=_0x5a609d;this['_httpService'][_0x18fae8(0x1bc)]({'interceptor':(_0x3d4c9b,_0x25855f)=>{var _0x18e72c=_0x18fae8;const _0x5ce3d2=_0x3d4c9b[_0x18e72c(0x391)],_0x3b84d7=cs();return _0x3b84d7&&_0x5ce3d2[_0x18e72c(0x43c)]('x-univer-host',_0x3b84d7),_0x25855f(_0x3d4c9b);}});}};ot=ls([us(0x0,_0x4993c2(_0x4361f6))],ot);var ds=Object[_0x5a609d(0x258)],fs=Object[_0x5a609d(0x197)],vs=(_0x2d6feb,_0x5d3516,_0x496dcf,_0x4a4263)=>{for(var _0x5ea562=_0x4a4263>0x1?void 0x0:_0x4a4263?fs(_0x5d3516,_0x496dcf):_0x5d3516,_0x225a3a=_0x2d6feb['length']-0x1,_0x92b799;_0x225a3a>=0x0;_0x225a3a--)(_0x92b799=_0x2d6feb[_0x225a3a])&&(_0x5ea562=(_0x4a4263?_0x92b799(_0x5d3516,_0x496dcf,_0x5ea562):_0x92b799(_0x5ea562))||_0x5ea562);return _0x4a4263&&_0x5ea562&&ds(_0x5d3516,_0x496dcf,_0x5ea562),_0x5ea562;},mt=(_0x4439d9,_0x542587)=>(_0x5b6465,_0x40f7a7)=>_0x542587(_0x5b6465,_0x40f7a7,_0x4439d9);let Ot=class extends _0x14f46f{constructor(_0x24ed9b,_0x3a54b6,_0x3d632d){var _0x1e23ab=_0x5a609d;super(),N(this,_0x1e23ab(0x428),new _0x2e1607(null)),N(this,_0x1e23ab(0x33d),this['_unitInfo$'][_0x1e23ab(0x453)]()),(this[_0x1e23ab(0x3f6)]=_0x24ed9b,this[_0x1e23ab(0x2b8)]=_0x3a54b6,this[_0x1e23ab(0x1b8)]=_0x3d632d);}async[_0x5a609d(0x3bc)](_0xec810e,_0x4191b5,_0xef67c4){var _0x83c24c=_0x5a609d;this[_0x83c24c(0x428)][_0x83c24c(0x2f7)]({'unitId':_0xec810e,'type':_0x4191b5,'subUnitId':_0xef67c4});let _0x1df1c5=null;switch(_0x4191b5){case Q[_0x83c24c(0x24d)]:{_0x1df1c5=await this['_loadSheet'](_0xec810e);break;}case Q['UNIVER_DOC']:{_0x1df1c5=await this[_0x83c24c(0x300)](_0xec810e);break;}default:{this[_0x83c24c(0x3f6)][_0x83c24c(0x350)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x1df1c5;}async[_0x5a609d(0x402)](_0x4403dc){var _0x3b04a6=_0x5a609d,_0x2c629b;let _0x4b3e3f=0x0;const _0x5d6dd1=await((_0x2c629b=this[_0x3b04a6(0x1b8)])==null?void 0x0:_0x2c629b['loadOfflineData'](_0x4403dc));return _0x5d6dd1&&(_0x5d6dd1[_0x3b04a6(0x19d)]||_0x5d6dd1[_0x3b04a6(0x3f4)][_0x3b04a6(0x192)]!==0x0)&&(_0x4b3e3f=_0x5d6dd1[_0x3b04a6(0x1c8)]),_0x4b3e3f===0x0&&this['_logService'][_0x3b04a6(0x3e1)]('[DataLoaderService]',_0x3b04a6(0x184)),this['_snapshotService'][_0x3b04a6(0x356)](_0x4403dc,_0x4b3e3f);}async['_loadDoc'](_0xeb6f43){var _0x23ca5c=_0x5a609d,_0x11f148;let _0x580cec=0x0;const _0x3e2b03=await((_0x11f148=this[_0x23ca5c(0x1b8)])==null?void 0x0:_0x11f148[_0x23ca5c(0x2cd)](_0xeb6f43));return _0x3e2b03&&(_0x3e2b03[_0x23ca5c(0x19d)]||_0x3e2b03[_0x23ca5c(0x3f4)][_0x23ca5c(0x192)]!==0x0)&&(_0x580cec=_0x3e2b03['rev']),_0x580cec===0x0&&this[_0x23ca5c(0x3f6)][_0x23ca5c(0x3e1)](_0x23ca5c(0x374),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x23ca5c(0x2b8)][_0x23ca5c(0x43f)](_0xeb6f43,_0x580cec);}};Ot=vs([mt(0x0,_0x19cece),mt(0x1,_0x4993c2(_0x238b02)),mt(0x2,_0x5e6a60(J))],Ot);var ps=Object[_0x5a609d(0x258)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x17fbed,_0x5a59cd,_0x55f42e,_0x530034)=>{for(var _0x2e50ed=_0x530034>0x1?void 0x0:_0x530034?ms(_0x5a59cd,_0x55f42e):_0x5a59cd,_0x5a3433=_0x17fbed['length']-0x1,_0x48363f;_0x5a3433>=0x0;_0x5a3433--)(_0x48363f=_0x17fbed[_0x5a3433])&&(_0x2e50ed=(_0x530034?_0x48363f(_0x5a59cd,_0x55f42e,_0x2e50ed):_0x48363f(_0x2e50ed))||_0x2e50ed);return _0x530034&&_0x2e50ed&&ps(_0x5a59cd,_0x55f42e,_0x2e50ed),_0x2e50ed;},gt=(_0x31dc73,_0x28b735)=>(_0x428a04,_0x3d3f91)=>_0x28b735(_0x428a04,_0x3d3f91,_0x31dc73);const Ss=[_0x5a609d(0x2f6),'image/jpeg',_0x5a609d(0x455),_0x5a609d(0x26f),_0x5a609d(0x379)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x5a609d(0x458),Cs=_0x5a609d(0x272),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x16d660,_0x4c2ce6,_0x1dba53){var _0x42e2c2=_0x5a609d;N(this,_0x42e2c2(0x35e),0x0),N(this,_0x42e2c2(0x329),new _0x47b45d()),N(this,_0x42e2c2(0x245),this['_change$']),N(this,_0x42e2c2(0x210),new Map()),(this['_httpService']=_0x16d660,this[_0x42e2c2(0x1d2)]=_0x4c2ce6,this[_0x42e2c2(0x1bb)]=_0x1dba53);}[_0x5a609d(0x2d2)](_0x190f09){var _0x3fea95=_0x5a609d;this[_0x3fea95(0x35e)]=_0x190f09,this[_0x3fea95(0x329)][_0x3fea95(0x2f7)](_0x190f09);}[_0x5a609d(0x16f)](_0x809b37,_0x21af3c){var _0xf8ed15=_0x5a609d;if(_0x21af3c===_0x4ab5b9[_0xf8ed15(0x42b)]){const _0x1e900e=new Image();return _0x1e900e[_0xf8ed15(0x1a3)]=_0x809b37,_0x1e900e;}return this['_imageSourceCache']['get'](_0x809b37);}[_0x5a609d(0x363)](_0x464442,_0x4a5448,_0x4e82dd){var _0x4dd563=_0x5a609d;_0x4a5448===_0x4ab5b9['BASE64']||_0x4e82dd==null||this[_0x4dd563(0x210)][_0x4dd563(0x43c)](_0x464442,_0x4e82dd);}async[_0x5a609d(0x401)](_0x161796){var _0x40f6f6=_0x5a609d;try{const _0x281012=this['_replaceFileID'](this[_0x40f6f6(0x2ce)](),''+_0x161796),_0x4846b8=(await this[_0x40f6f6(0x1ba)][_0x40f6f6(0x196)](_0x281012))[_0x40f6f6(0x3c3)];if(_0x4846b8[_0x40f6f6(0x350)]&&_0x4846b8[_0x40f6f6(0x350)][_0x40f6f6(0x208)]===Ii['OK']){const _0x10ee27=new URL(_0x4846b8['url'],this[_0x40f6f6(0x31e)]())['toString']();return Promise['resolve'](_0x10ee27);}return Promise[_0x40f6f6(0x1b6)](_0x4846b8[_0x40f6f6(0x350)]);}catch(_0x502440){return Promise[_0x40f6f6(0x1b6)](_0x502440);}}async['saveImage'](_0x4c4cad){var _0x11b68=_0x5a609d;let _0x3e78a6='';if(!Ss['includes'](_0x4c4cad[_0x11b68(0x442)]))return this[_0x11b68(0x15e)](),Promise['reject'](new Error(_0x591f32['ERROR_IMAGE_TYPE']));if(_0x4c4cad[_0x11b68(0x352)]>Es)return this[_0x11b68(0x15e)](),Promise[_0x11b68(0x1b6)](new Error(_0x591f32[_0x11b68(0x253)]));try{const _0x543cd6=new FormData();_0x543cd6[_0x11b68(0x2ac)](_0x11b68(0x2e0),_0x4c4cad);const _0x2248d2=this[_0x11b68(0x1bb)][_0x11b68(0x3db)](),_0x4543fc=_0x2248d2==null?void 0x0:_0x2248d2[_0x11b68(0x330)]();if(!_0x4543fc)throw new Error('unitId\x20is\x20not\x20found');const _0x3b5fd4=this[_0x11b68(0x39a)]()+_0x11b68(0x290)+_0x4c4cad['size'][_0x11b68(0x365)]()+_0x11b68(0x2a6)+Ti[_0x11b68(0x209)]+_0x11b68(0x30c)+encodeURIComponent(_0x4543fc),_0x1d286b=await(await fetch(_0x3b5fd4,{'method':_0x11b68(0x31b),'body':_0x543cd6}))['json']();if(typeof _0x1d286b[_0x11b68(0x3ec)]!='string')return this[_0x11b68(0x15e)](),Promise[_0x11b68(0x1b6)](new Error(_0x591f32[_0x11b68(0x31f)]));_0x3e78a6=_0x1d286b[_0x11b68(0x3ec)];}catch{return this[_0x11b68(0x15e)](),Promise[_0x11b68(0x1b6)](new Error(_0x591f32[_0x11b68(0x31f)]));}return new Promise((_0x4a34b3,_0x53d495)=>{var _0x2c5f45=_0x11b68;const _0x3b3450=new FileReader();_0x3b3450[_0x2c5f45(0x3aa)](_0x4c4cad),_0x3b3450[_0x2c5f45(0x21f)]=_0x111516=>{var _0x179023=_0x2c5f45,_0x5aa557;const _0xe259da=(_0x5aa557=_0x111516[_0x179023(0x36a)])==null?void 0x0:_0x5aa557[_0x179023(0x268)];if(_0xe259da==null){this['_decreaseWaiting'](),_0x53d495(new Error(_0x591f32[_0x179023(0x31f)]));return;}const _0x5b9e9a=_0x4e1026[_0x179023(0x274)](0x6);_0x4a34b3({'imageId':_0x5b9e9a,'imageSourceType':_0x4ab5b9[_0x179023(0x239)],'source':_0x3e78a6,'base64Cache':_0xe259da,'status':_0x591f32['SUCCUSS']}),this[_0x179023(0x15e)]();};});}[_0x5a609d(0x39a)](){var _0x5ab82c=_0x5a609d,_0x14c48f,_0x511886;const _0x26b10c=this[_0x5ab82c(0x1d2)][_0x5ab82c(0x17a)](Is),_0x2ebffc=this[_0x5ab82c(0x1d2)][_0x5ab82c(0x17a)](q);return(_0x511886=(_0x14c48f=_0x2ebffc==null?void 0x0:_0x2ebffc[_0x5ab82c(0x40b)])!=null?_0x14c48f:_0x26b10c)!=null?_0x511886:Ts;}[_0x5a609d(0x2ce)](){var _0x275a9f=_0x5a609d,_0x4efd3a,_0x78387c;const _0x46f964=this[_0x275a9f(0x1d2)]['getConfig'](Cs),_0xa51502=this[_0x275a9f(0x1d2)][_0x275a9f(0x17a)](q);return(_0x78387c=(_0x4efd3a=_0xa51502==null?void 0x0:_0xa51502[_0x275a9f(0x20b)])!=null?_0x4efd3a:_0x46f964)!=null?_0x78387c:Rs;}[_0x5a609d(0x31e)](){var _0x3eb3db=_0x5a609d,_0x326e96;const _0x11078b=this[_0x3eb3db(0x1d2)][_0x3eb3db(0x17a)](q);return(_0x326e96=_0x11078b==null?void 0x0:_0x11078b[_0x3eb3db(0x35a)])!=null?_0x326e96:location[_0x3eb3db(0x395)];}[_0x5a609d(0x346)](_0x43059d,_0x4b7f3a){var _0x3a2c91=_0x5a609d;return _0x43059d['replace'](_0x3a2c91(0x3d8),_0x4b7f3a);}[_0x5a609d(0x15e)](){var _0x457b21=_0x5a609d;this[_0x457b21(0x35e)]-=0x1,this['_change$'][_0x457b21(0x2f7)](this[_0x457b21(0x35e)]);}};yt=gs([gt(0x0,_0x4993c2(_0x4361f6)),gt(0x1,_0x5e63be),gt(0x2,_0x4993c2(_0x3e893c))],yt);var bs=Object[_0x5a609d(0x258)],Os=Object[_0x5a609d(0x197)],ys=(_0x5ddfba,_0x504313,_0x59d26a,_0xb839b6)=>{var _0x2b5edd=_0x5a609d;for(var _0x32a5f5=_0xb839b6>0x1?void 0x0:_0xb839b6?Os(_0x504313,_0x59d26a):_0x504313,_0x57a0f3=_0x5ddfba[_0x2b5edd(0x192)]-0x1,_0x5cf70b;_0x57a0f3>=0x0;_0x57a0f3--)(_0x5cf70b=_0x5ddfba[_0x57a0f3])&&(_0x32a5f5=(_0xb839b6?_0x5cf70b(_0x504313,_0x59d26a,_0x32a5f5):_0x5cf70b(_0x32a5f5))||_0x32a5f5);return _0xb839b6&&_0x32a5f5&&bs(_0x504313,_0x59d26a,_0x32a5f5),_0x32a5f5;},_i=(_0x304b26,_0x2e8893)=>(_0x1fba05,_0x4f1717)=>_0x2e8893(_0x1fba05,_0x4f1717,_0x304b26);const Ns='/universer-api/authz';let Nt=class{constructor(_0x376178,_0x21b320){var _0x5b30a8=_0x5a609d;this[_0x5b30a8(0x1d2)]=_0x376178,this[_0x5b30a8(0x2d1)]=_0x21b320;}['_getAPIPrefixPath'](){var _0x256668=_0x5a609d,_0x1963e4,_0x4eb4dc;const _0x53aff3=this['_configService']['getConfig'](Pi),_0x1c08ff=this[_0x256668(0x1d2)][_0x256668(0x17a)](q);return(_0x4eb4dc=(_0x1963e4=_0x1c08ff==null?void 0x0:_0x1c08ff[_0x256668(0x25c)])!=null?_0x1963e4:_0x53aff3)!=null?_0x4eb4dc:Ns;}async[_0x5a609d(0x1ca)](_0x4e68ce){var _0x38df0f=_0x5a609d;const _0x2cce17=this[_0x38df0f(0x3ad)]()+_0x38df0f(0x431);return{'list':[{'title':_0x38df0f(0x2ee),'mentions':(await this['_HTTPService'][_0x38df0f(0x196)](_0x2cce17,{'params':{'objectID':_0x4e68ce[_0x38df0f(0x3b2)],'unitID':_0x4e68ce[_0x38df0f(0x3b2)]}}))[_0x38df0f(0x3c3)][_0x38df0f(0x2c3)][_0x38df0f(0x298)](_0xc7fa1e=>({'objectId':_0xc7fa1e['id'],'name':_0xc7fa1e['subject'][_0x38df0f(0x30a)],'metadata':{'icon':_0xc7fa1e[_0x38df0f(0x436)]['avatar']},'label':_0xc7fa1e[_0x38df0f(0x436)][_0x38df0f(0x30a)],'objectType':_0xa0ed87[_0x38df0f(0x19b)]})),'metadata':{},'type':_0xa0ed87[_0x38df0f(0x19b)]}]};}};Nt=ys([_i(0x0,_0x4993c2(_0x5e63be)),_i(0x1,_0x4993c2(_0x4361f6))],Nt);var Ds=Object['defineProperty'],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x21a8f2,_0x32b309,_0x2b9d7a,_0x12a964)=>{var _0x4625c9=_0x5a609d;for(var _0x39267a=_0x12a964>0x1?void 0x0:_0x12a964?Ps(_0x32b309,_0x2b9d7a):_0x32b309,_0x113780=_0x21a8f2[_0x4625c9(0x192)]-0x1,_0x4fe3fe;_0x113780>=0x0;_0x113780--)(_0x4fe3fe=_0x21a8f2[_0x113780])&&(_0x39267a=(_0x12a964?_0x4fe3fe(_0x32b309,_0x2b9d7a,_0x39267a):_0x4fe3fe(_0x39267a))||_0x39267a);return _0x12a964&&_0x39267a&&Ds(_0x32b309,_0x2b9d7a,_0x39267a),_0x39267a;},Se=(_0x1dedf4,_0xd519e8)=>(_0x5286db,_0x4d6c0f)=>_0xd519e8(_0x5286db,_0x4d6c0f,_0x1dedf4);let at=class extends _0x14f46f{constructor(_0x33f3a9,_0x18b920,_0x21d712,_0x26825d,_0x9b0ba5,_0x3a49e5,_0x296110){var _0x165e64=_0x5a609d;super(),this['_injector']=_0x33f3a9,this[_0x165e64(0x1bb)]=_0x18b920,this[_0x165e64(0x2fc)]=_0x21d712,this[_0x165e64(0x324)]=_0x26825d,this[_0x165e64(0x440)]=_0x9b0ba5,this[_0x165e64(0x16b)]=_0x3a49e5,this['_undoRedoService']=_0x296110,this[_0x165e64(0x165)](),this[_0x165e64(0x2c9)]();}[_0x5a609d(0x2c9)](){var _0x4b231b=_0x5a609d;const _0x313ebe=async _0x423414=>{var _0x2361d7=_0x51f8;(await this[_0x2361d7(0x324)][_0x2361d7(0x2ab)](_0x423414))[_0x2361d7(0x1f3)][_0x2361d7(0x216)](_0x471c86(_0xa98aec=>_0xa98aec[_0x2361d7(0x3cb)]===_0x5951b7['SHOULD_CLOSE_CONN']),_0x4bff66(this[_0x2361d7(0x361)]))[_0x2361d7(0x275)](_0x4f189e=>{var _0x3cda90=_0x2361d7;const _0x3c5480=_0x4f189e,{reason:_0x2f722d}=_0x3c5480[_0x3cda90(0x313)];this[_0x3cda90(0x440)]['emitEvent']({'id':se[_0x3cda90(0x419)],'data':_0x2f722d}),this[_0x3cda90(0x2fc)][_0x3cda90(0x332)](new _0x325569(_0x423414)['id'],!0x1),this[_0x3cda90(0x324)][_0x3cda90(0x336)](_0x423414);});};_0xa936b8(this[_0x4b231b(0x1bb)][_0x4b231b(0x188)](_0x3ddab9[_0x4b231b(0x24d)]),this[_0x4b231b(0x1bb)][_0x4b231b(0x188)](_0x3ddab9[_0x4b231b(0x415)]))['pipe'](_0x3dc5d9(_0x3d9547=>_0x3d9547['getUnitId']()),_0x471c86(_0x5ec392=>!_0x316352(_0x5ec392)),_0x4bff66(this[_0x4b231b(0x361)]))[_0x4b231b(0x275)](_0x41025e=>{_0x313ebe(_0x41025e);});}['_initUnitPermissionChange'](){var _0x1d78a6=_0x5a609d;const _0x4fbee4=async _0x3b5c78=>{var _0x46621d=_0x51f8;const _0x2c9fa4=await this[_0x46621d(0x324)][_0x46621d(0x2ab)](_0x3b5c78),_0x463d66=this['_injector'][_0x46621d(0x196)](_0x3d0f20);_0x2c9fa4['event$'][_0x46621d(0x216)](_0x471c86(_0x56eed6=>_0x56eed6['eventID']===_0x5951b7[_0x46621d(0x2aa)]),_0x4bff66(this['dispose$']))['subscribe'](_0x3b172b=>{var _0x50c7fb=_0x46621d;const _0x48aa25=_0x3b172b,{objectId:_0x2a17ee}=_0x48aa25[_0x50c7fb(0x313)];_0x2a17ee===_0x3b5c78?_0x463d66[_0x50c7fb(0x22e)](_0x3b5c78):_0x463d66[_0x50c7fb(0x1a0)](_0x3b5c78,_0x2a17ee);});};_0xa936b8(this[_0x1d78a6(0x1bb)][_0x1d78a6(0x188)](_0x3ddab9[_0x1d78a6(0x24d)]),this[_0x1d78a6(0x1bb)][_0x1d78a6(0x188)](_0x3ddab9[_0x1d78a6(0x415)]))[_0x1d78a6(0x216)](_0x3dc5d9(_0x379901=>_0x379901['getUnitId']()),_0x471c86(_0x1dadb1=>!_0x316352(_0x1dadb1)),_0x4bff66(this[_0x1d78a6(0x361)]))['subscribe'](_0x49d769=>{_0x4fbee4(_0x49d769);});}};at=ws([Se(0x0,_0x4993c2(_0x2c6931)),Se(0x1,_0x3e893c),Se(0x2,_0x3d9d37),Se(0x3,_0x4993c2(Le)),Se(0x4,_0x4993c2(pe)),Se(0x5,_0xa12d48),Se(0x6,_0x460750)],at);var Us=Object[_0x5a609d(0x258)],As=Object['getOwnPropertyDescriptor'],xs=(_0x374130,_0x4d2ef2,_0x16e4a8,_0x208fc9)=>{for(var _0x21f98a=_0x208fc9>0x1?void 0x0:_0x208fc9?As(_0x4d2ef2,_0x16e4a8):_0x4d2ef2,_0x584636=_0x374130['length']-0x1,_0x3c59ab;_0x584636>=0x0;_0x584636--)(_0x3c59ab=_0x374130[_0x584636])&&(_0x21f98a=(_0x208fc9?_0x3c59ab(_0x4d2ef2,_0x16e4a8,_0x21f98a):_0x3c59ab(_0x21f98a))||_0x21f98a);return _0x208fc9&&_0x21f98a&&Us(_0x4d2ef2,_0x16e4a8,_0x21f98a),_0x21f98a;},li=(_0x3eefcd,_0x5bb433)=>(_0x368e31,_0x131674)=>_0x5bb433(_0x368e31,_0x131674,_0x3eefcd);let Dt=class{constructor(_0x528930,_0x342097){var _0x1e56d2=_0x5a609d;this['_configService']=_0x528930,this[_0x1e56d2(0x1ba)]=_0x342097;}async[_0x5a609d(0x42f)](_0x5bbb08,_0x3bab3f){var _0x1c37c5=_0x5a609d,_0x332d1f;const {unitID:_0x475414,type:_0x4ec5fc,revision:_0x4b9f00=0x0}=_0x3bab3f,_0x2361a9=this[_0x1c37c5(0x1e2)]()+'/'+_0x4ec5fc+'/unit/'+_0x475414+_0x1c37c5(0x2dd)+_0x4b9f00,_0x190a44=(await this['_httpService'][_0x1c37c5(0x196)](_0x2361a9))['body'],_0x1e3cdd=(_0x332d1f=_0x190a44[_0x1c37c5(0x2bb)])==null?void 0x0:_0x332d1f[_0x1c37c5(0x2c7)];if(_0x1e3cdd){const _0x3bce1b=_0x1e3cdd==null?void 0x0:_0x1e3cdd['originalMeta'],_0x33114f=_0xe9f210[_0x1c37c5(0x240)](_0x40e907(_0x3bce1b));_0x1e3cdd[_0x1c37c5(0x409)]=_0x33114f,Object[_0x1c37c5(0x1fd)](_0x1e3cdd['sheets'])[_0x1c37c5(0x229)](([,_0x383f86])=>{var _0x4a2310=_0x1c37c5;const _0x2209f3=_0x383f86['originalMeta'],_0x5f35cf=_0xe9f210[_0x4a2310(0x240)](_0x40e907(_0x2209f3));_0x383f86[_0x4a2310(0x409)]=_0x5f35cf;});}return _0x190a44;}async[_0x5a609d(0x327)](_0x1f211b,_0x43c339){var _0x153337=_0x5a609d;const {unitID:_0x597786,type:_0x59810e,blockID:_0x8b3e6a}=_0x43c339,_0x17d0c4=this[_0x153337(0x382)]()+'/'+_0x59810e+_0x153337(0x37f)+_0x597786+_0x153337(0x1c0)+_0x8b3e6a;return(await this[_0x153337(0x1ba)][_0x153337(0x196)](_0x17d0c4))[_0x153337(0x3c3)];}async[_0x5a609d(0x312)](_0x2a6e94,_0x58631f){var _0x10353d=_0x5a609d;const {unitID:_0x2b7f5b,type:_0xd30cd4,blockID:_0x969228}=_0x58631f,_0x908610=this[_0x10353d(0x382)]()+_0x10353d(0x1c0)+_0xd30cd4+_0x10353d(0x37f)+_0x2b7f5b+_0x10353d(0x1c0)+_0x969228;return(await this['_httpService'][_0x10353d(0x196)](_0x908610))[_0x10353d(0x3c3)];}async[_0x5a609d(0x45b)](_0x37a3e6,_0x22afea){var _0x18853f=_0x5a609d;const {unitID:_0x5c2b02,type:_0x46a2ff,from:_0x4710ac,to:_0xf7df3}=_0x22afea,_0x198e52=this['_getAPIPrefix']()+'/'+_0x46a2ff+'/unit/'+_0x5c2b02+_0x18853f(0x2fd)+_0x4710ac+'&to='+_0xf7df3;return(await this[_0x18853f(0x1ba)]['get'](_0x198e52))[_0x18853f(0x3c3)];}[_0x5a609d(0x1e2)](){var _0x5f4e3a=_0x5a609d,_0x27309d;return(_0x27309d=this[_0x5f4e3a(0x1d2)]['getConfig'](Tn))!=null?_0x27309d:this[_0x5f4e3a(0x382)]();}['_getAPIPrefix'](){var _0x10bebf=_0x5a609d,_0x5f44a9,_0xe68acd;const _0x1bcc61=this['_configService'][_0x10bebf(0x17a)](En),_0xcfc301=this[_0x10bebf(0x1d2)][_0x10bebf(0x17a)](q);return(_0xe68acd=(_0x5f44a9=_0xcfc301==null?void 0x0:_0xcfc301[_0x10bebf(0x354)])!=null?_0x5f44a9:_0x1bcc61)!=null?_0xe68acd:In;}async[_0x5a609d(0x3c0)](_0x347ae7,_0x45579b){var _0x2d9fc9=_0x5a609d;const _0xbd74c6=_0x2d9fc9(0x161)+_0x45579b[_0x2d9fc9(0x442)]+_0x2d9fc9(0x37f)+_0x45579b[_0x2d9fc9(0x293)]+_0x2d9fc9(0x23b);return(await this[_0x2d9fc9(0x1ba)]['get'](_0xbd74c6,{'params':{'resourceId':JSON[_0x2d9fc9(0x37a)](_0x45579b[_0x2d9fc9(0x399)])}}))[_0x2d9fc9(0x3c3)];}[_0x5a609d(0x179)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5a609d(0x451)](){var _0x2c22f7=_0x5a609d;throw new Error(_0x2c22f7(0x186));}[_0x5a609d(0x42c)](){var _0x394639=_0x5a609d;throw new Error(_0x394639(0x186));}[_0x5a609d(0x2d3)](){var _0x208ddd=_0x5a609d;throw new Error(_0x208ddd(0x186));}[_0x5a609d(0x43d)](){var _0x20fdc1=_0x5a609d;throw new Error(_0x20fdc1(0x186));}};Dt=xs([li(0x0,_0x5e63be),li(0x1,_0x4993c2(_0x4361f6))],Dt);var Ls=Object['defineProperty'],Ms=Object[_0x5a609d(0x197)],$s=(_0x46d5bf,_0x41c6c9,_0x1c6db4,_0xd484fa)=>{for(var _0x28ecb0=_0xd484fa>0x1?void 0x0:_0xd484fa?Ms(_0x41c6c9,_0x1c6db4):_0x41c6c9,_0x2f7e98=_0x46d5bf['length']-0x1,_0x5c83cb;_0x2f7e98>=0x0;_0x2f7e98--)(_0x5c83cb=_0x46d5bf[_0x2f7e98])&&(_0x28ecb0=(_0xd484fa?_0x5c83cb(_0x41c6c9,_0x1c6db4,_0x28ecb0):_0x5c83cb(_0x28ecb0))||_0x28ecb0);return _0xd484fa&&_0x28ecb0&&Ls(_0x41c6c9,_0x1c6db4,_0x28ecb0),_0x28ecb0;},Ae=(_0x4146db,_0x33cf33)=>(_0x149915,_0x4bdeda)=>_0x33cf33(_0x149915,_0x4bdeda,_0x4146db);let Pt=class extends _0xe87a6c{constructor(_0x1560f3,_0x4b22b7,_0x155e9b,_0x582ac9,_0x17ab7c){var _0x1a6481=_0x5a609d;super(_0x1560f3,_0x4b22b7,_0x155e9b),this['_transformService']=_0x582ac9,this[_0x1a6481(0x3f6)]=_0x17ab7c;}['transformUndoRedo'](_0x2138dc,_0x276218){var _0x2440a9=_0x5a609d;const _0x37541d=this[_0x2440a9(0x389)](_0x2138dc);if(_0x37541d)try{const _0x5dcfb1=this['_transformStack'](_0x37541d,_0x276218);this[_0x2440a9(0x28a)](_0x2138dc,_0x5dcfb1);}catch(_0x2b8ffc){this[_0x2440a9(0x3f6)][_0x2440a9(0x350)]('[CollaborationUndoRedoService]',_0x2b8ffc),this[_0x2440a9(0x3d7)](_0x2138dc);}const _0x3d7390=this['_getRedoStack'](_0x2138dc);if(_0x3d7390)try{const _0x2b5c6f=this[_0x2440a9(0x45a)](_0x3d7390,_0x276218);this[_0x2440a9(0x32a)](_0x2138dc,_0x2b5c6f);}catch(_0x36c662){this[_0x2440a9(0x3f6)][_0x2440a9(0x350)](_0x36c662),this[_0x2440a9(0x25b)](_0x2138dc);}}[_0x5a609d(0x3d7)](_0x167e76){var _0x490fb8=_0x5a609d;const _0x297609=this['_getUndoStack'](_0x167e76);_0x297609&&(_0x297609['length']=0x0,this[_0x490fb8(0x29f)]());}[_0x5a609d(0x25b)](_0x3461e6){var _0x32de8f=_0x5a609d;const _0x1effa6=this['_getRedoStack'](_0x3461e6);_0x1effa6&&(_0x1effa6[_0x32de8f(0x192)]=0x0,this[_0x32de8f(0x29f)]());}[_0x5a609d(0x28a)](_0x44fb94,_0x57b37e){var _0x48845b=_0x5a609d;this[_0x48845b(0x2ff)][_0x48845b(0x43c)](_0x44fb94,_0x57b37e),this[_0x48845b(0x29f)]();}[_0x5a609d(0x32a)](_0xec7100,_0x3e1442){var _0x244c60=_0x5a609d;this[_0x244c60(0x355)][_0x244c60(0x43c)](_0xec7100,_0x3e1442),this['_updateStatus']();}[_0x5a609d(0x45a)](_0x34f0a9,_0x473f71){var _0x183443=_0x5a609d;const _0x95844c=[];let _0x4dcd84=_0x473f71,_0x5696e6=_0x473f71;for(let _0x136c9c=_0x34f0a9[_0x183443(0x192)]-0x1;_0x136c9c>=0x0;_0x136c9c--){const {unitID:_0x148381,undoMutations:_0x359401,redoMutations:_0x356a0e}=_0x34f0a9[_0x136c9c],_0x297aef=this[_0x183443(0x34c)][_0x183443(0x17b)](_0x4dcd84,_0x359401),_0x3eabb0=this['_transformService'][_0x183443(0x17b)](_0x5696e6,_0x356a0e);if(_0x71faad(_0x297aef)||_0x71faad(_0x3eabb0)){this[_0x183443(0x3f6)][_0x183443(0x350)](_0x183443(0x448),_0x183443(0x39b),_0x297aef,_0x3eabb0);break;}_0x4dcd84=_0x297aef[_0x183443(0x28d)],_0x5696e6=_0x3eabb0[_0x183443(0x28d)],_0x95844c['push']({'unitID':_0x148381,'undoMutations':_0x297aef[_0x183443(0x162)],'redoMutations':_0x3eabb0[_0x183443(0x162)]});}return _0x95844c[_0x183443(0x353)]();}};Pt=$s([Ae(0x0,_0x3e893c),Ae(0x1,_0x11f6b7),Ae(0x2,_0x2aeeb8),Ae(0x3,_0x5ac67f),Ae(0x4,_0x19cece)],Pt);var xi=Object[_0x5a609d(0x258)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x31e410,_0x5cb964,_0x1084f9)=>_0x5cb964 in _0x31e410?xi(_0x31e410,_0x5cb964,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1084f9}):_0x31e410[_0x5cb964]=_0x1084f9,js=(_0x27a3ed,_0x414877,_0x25bb4b,_0x386481)=>{var _0x5d746c=_0x5a609d;for(var _0x534752=_0x386481>0x1?void 0x0:_0x386481?Hs(_0x414877,_0x25bb4b):_0x414877,_0x294286=_0x27a3ed[_0x5d746c(0x192)]-0x1,_0x4153b5;_0x294286>=0x0;_0x294286--)(_0x4153b5=_0x27a3ed[_0x294286])&&(_0x534752=(_0x386481?_0x4153b5(_0x414877,_0x25bb4b,_0x534752):_0x4153b5(_0x534752))||_0x534752);return _0x386481&&_0x534752&&xi(_0x414877,_0x25bb4b,_0x534752),_0x534752;},St=(_0x159069,_0x3303db)=>(_0x1defd0,_0x182e93)=>_0x3303db(_0x1defd0,_0x182e93,_0x159069),Bs=(_0x40ca0d,_0x515916,_0x2ddf6e)=>ks(_0x40ca0d,_0x515916+'',_0x2ddf6e);const Fs=_0x5a609d(0x323);let wt=class extends _0x1b7583{constructor(_0x3afacd=Wt,_0x3e2861,_0x3aebff,_0x4b3884){var _0x56a39b=_0x5a609d;super(),this[_0x56a39b(0x38e)]=_0x3afacd,this[_0x56a39b(0x3f6)]=_0x3e2861,this[_0x56a39b(0x281)]=_0x3aebff,this[_0x56a39b(0x1d2)]=_0x4b3884;const {..._0x5775df}=_0x6f1411({},Wt,this[_0x56a39b(0x38e)]);this[_0x56a39b(0x1d2)][_0x56a39b(0x405)](q,_0x5775df);}[_0x5a609d(0x33c)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5a609d(0x285)](){var _0x5b93f1=_0x5a609d,_0x98764f,_0x53b8e9,_0x557785,_0xdfeca6;this[_0x5b93f1(0x281)][_0x5b93f1(0x3d0)](_0x460750)&&this[_0x5b93f1(0x3f6)]['error'](_0x5b93f1(0x18e),_0x5b93f1(0x244));const _0x54c6b3=_0x9305df([[_0x460750,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x53b8e9=(_0x98764f=this[_0x5b93f1(0x38e)])==null?void 0x0:_0x98764f[_0x5b93f1(0x2da)])!=null?_0x53b8e9:Et}],[_0x26d0ed,{'useClass':Dt}],[_0xa12d48,{'useClass':bt}],[_0x59bad0,{'useClass':yt}],[_0x3aebdf,{'useClass':Nt}],[rt],[Rt]],(_0x557785=this['_config'])==null?void 0x0:_0x557785[_0x5b93f1(0x364)]);if(!((_0xdfeca6=this[_0x5b93f1(0x38e)])!=null&&_0xdfeca6['enableSingleActiveInstanceLock'])){const _0x210b4b=_0x54c6b3[_0x5b93f1(0x243)](([_0x433ea0])=>_0x433ea0===ht);_0x210b4b!==-0x1&&_0x54c6b3['splice'](_0x210b4b,0x1);}_0x3a1b13(this[_0x5b93f1(0x281)],_0x54c6b3);}[_0x5a609d(0x21e)](){var _0x5040a3=_0x5a609d,_0x86dc78,_0x557767,_0x3cd97d;this['_injector']['get'](_0x4361f6)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x13da29({'maxParallel':0x6})}),(_0x86dc78=this[_0x5040a3(0x38e)])!=null&&_0x86dc78['enableOfflineEditing']||(_0x557767=this['_injector'][_0x5040a3(0x196)](J,_0x58e79f['OPTIONAL']))==null||_0x557767[_0x5040a3(0x429)](),(_0x3cd97d=this['_config'])!=null&&_0x3cd97d[_0x5040a3(0x1e5)]&&_0x2e7232(this['_injector'],[[st]]),_0x2e7232(this[_0x5040a3(0x281)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x456395(_0x185969,_0x2c0594,_0xa39a7),St(0x1,_0x19cece),St(0x2,_0x4993c2(_0x2c6931)),St(0x3,_0x5e63be)],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};