@univerjs-pro/collaboration-client 0.5.4-nightly.202501160704 → 0.5.4-nightly.202501161606

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 _0x441125=_0x317a;(function(_0x3466e5,_0x3eb700){var _0x5b6120=_0x317a,_0x2348cc=_0x3466e5();while(!![]){try{var _0x3bac90=-parseInt(_0x5b6120(0x36c))/0x1*(parseInt(_0x5b6120(0x1bf))/0x2)+-parseInt(_0x5b6120(0x2a1))/0x3+parseInt(_0x5b6120(0x26f))/0x4+parseInt(_0x5b6120(0x2a7))/0x5+parseInt(_0x5b6120(0x224))/0x6+-parseInt(_0x5b6120(0x270))/0x7*(parseInt(_0x5b6120(0x3b7))/0x8)+parseInt(_0x5b6120(0x322))/0x9*(-parseInt(_0x5b6120(0x274))/0xa);if(_0x3bac90===_0x3eb700)break;else _0x2348cc['push'](_0x2348cc['shift']());}catch(_0x1fd3fc){_0x2348cc['push'](_0x2348cc['shift']());}}}(_0x2bc0,0x8497d));var Li=Object['defineProperty'],Mi=(_0x525ad5,_0x1ce9cd,_0x148229)=>_0x1ce9cd in _0x525ad5?Li(_0x525ad5,_0x1ce9cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x148229}):_0x525ad5[_0x1ce9cd]=_0x148229,N=(_0x4a7a74,_0x25260f,_0x3866ef)=>Mi(_0x4a7a74,typeof _0x25260f!=_0x441125(0x2b3)?_0x25260f+'':_0x25260f,_0x3866ef);import{createIdentifier as _0x2eb755,Inject as _0x4c1254,Injector as _0x3c4fc8,Disposable as _0x1845f0,DisposableCollection as _0x2492b0,toDisposable as _0x42b4a6,IConfigService as _0xbb3a21,ILogService as _0x1a51d0,UserManagerService as _0x17481b,UniverInstanceType as _0x53d653,IUniverInstanceService as _0x29cfcd,LocaleService as _0x248311,Optional as _0x1cd728,RxDisposable as _0x34ba39,Tools as _0x1c8f56,Rectangle as _0x5a2958,ICommandService as _0x1686ec,JSONX as _0x80cbd9,CommandType as _0x538903,IPermissionService as _0x517680,IUndoRedoService as _0x12e445,sequenceExecute as _0x66571c,Workbook as _0x4cff9e,MentionType as _0x207832,IAuthzIoService as _0x31da8c,isInternalEditorID as _0x3226b7,LocalUndoRedoService as _0x2ec711,IContextService as _0x30f82d,DependentOn as _0x5a0d77,Plugin as _0x3ff1a7,merge as _0x2bfd03,mergeOverrideWithDependencies as _0x383286,IMentionIOService as _0x431e5b,registerDependencies as _0x495889,Quantity as _0x30c725,touchDependencies as _0x1ef811}from'@univerjs/core';import{Subject as _0x54cf30,merge as _0x283e79,of as _0x32ab52,BehaviorSubject as _0x513a8a,takeUntil as _0xc49850,ReplaySubject as _0x20e190,take as _0x1166c9,map as _0xf16de4,shareReplay as _0x49481d,firstValueFrom as _0x505f88,concatMap as _0x164c87}from'rxjs';import{map as _0x48f8c3,take as _0x4746a6,filter as _0x1a3e24,delay as _0x1e7874,takeUntil as _0x54f61d}from'rxjs/operators';import{HTTPService as _0x4683f2,ISocketService as _0x19ac62,MergeInterceptorFactory as _0x4c36d9,HTTPRequest as _0x33a9ea,UniverNetworkPlugin as _0xd38c71,ThresholdInterceptorFactory as _0xdd8f2c}from'@univerjs/network';import{CollaborationEvent as _0x60c778,parseChangesetToProtocol as _0x45e4a4,ISnapshotServerService as _0x305003,isTransformMutationsWithChangesetSuccess as _0x1a1ef7,ITransformService as _0x3dd10f,mapDocumentTypeToUniverType as _0x6e0406,RevisionService as _0x54ca50,isTransformChangesetsSuccess as _0x3e0e4d,CompressMutationService as _0x252155,parseProtocolChangeset as _0x3d2439,SnapshotService as _0x1bfe69,textEncoder as _0x4b6577,b64DecodeUnicode as _0x7c50c4,isTransformMutationsWithChangesetFailure as _0xa6fce5,UniverCollaborationPlugin as _0x4803ce}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3eb461}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a3ae5}from'@univerjs/docs';import{SheetsSelectionsService as _0x4a7f67,SetSelectionsOperation as _0x37d64a,InsertSheetMutation as _0x9b0532,EmptyMutation as _0x58b93d,WorkbookEditablePermission as _0x51fb1a,SheetPermissionInitController as _0x1d35e0,UniverSheetsPlugin as _0x5433c3}from'@univerjs/sheets';import{ImageSourceType as _0x43235f,ImageUploadStatusType as _0x581074,IImageIoService as _0x64733a}from'@univerjs/drawing';import{getGlobalObject as _0x4bb4d9}from'@univerjs-pro/license';const En=_0x441125(0x378),In=_0x441125(0x2ad),Tn=_0x441125(0x1f4),eo=_0x441125(0x3f4),Cn=0x7d0,Rn=_0x441125(0x452),bn=_0x441125(0x24c),On=_0x441125(0x394),yn=_0x441125(0x260),Nn=0x7530,Si=_0x441125(0x42a),Ei=0x4e20,Dn=0x4e20,Pn=_0x441125(0x28f),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x441125(0x1dd),An='/universer-api/comb',xn='LOGIN_URL_KEY',Ln=_0x441125(0x43c),no=_0x441125(0x49d),ro=_0x441125(0x47e);var Ii=(_0x289de9=>(_0x289de9[_0x289de9[_0x441125(0x1fe)]=0x0]=_0x441125(0x1fe),_0x289de9[_0x289de9['OK']=0x1]='OK',_0x289de9[_0x289de9[_0x441125(0x409)]=0x2]=_0x441125(0x409),_0x289de9[_0x289de9[_0x441125(0x2f0)]=0x3]=_0x441125(0x2f0),_0x289de9[_0x289de9[_0x441125(0x395)]=0x4]=_0x441125(0x395),_0x289de9[_0x289de9[_0x441125(0x35c)]=0x5]=_0x441125(0x35c),_0x289de9[_0x289de9['ALREADY_EXISTS']=0x6]=_0x441125(0x349),_0x289de9[_0x289de9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x289de9[_0x289de9['TOO_MANY_REQUESTS']=0x8]=_0x441125(0x40e),_0x289de9[_0x289de9['COMPLETION_FINISHED']=0x9]=_0x441125(0x491),_0x289de9[_0x289de9[_0x441125(0x37d)]=0x1389]=_0x441125(0x37d),_0x289de9[_0x289de9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x289de9[_0x289de9[_0x441125(0x21d)]=0x1772]=_0x441125(0x21d),_0x289de9[_0x289de9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x441125(0x22e),_0x289de9[_0x289de9['APPLY_REJECT']=0x1b59]=_0x441125(0x1e6),_0x289de9[_0x289de9[_0x441125(0x1fc)]=0x1b5a]=_0x441125(0x1fc),_0x289de9[_0x289de9[_0x441125(0x496)]=0x1b5b]=_0x441125(0x496),_0x289de9[_0x289de9[_0x441125(0x37e)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x289de9[_0x289de9[_0x441125(0x2b7)]=0x1b5d]='APPLY_DUPLICATED',_0x289de9[_0x289de9[_0x441125(0x3ff)]=0x1f41]=_0x441125(0x3ff),_0x289de9[_0x289de9[_0x441125(0x223)]=0x2329]=_0x441125(0x223),_0x289de9[_0x289de9[_0x441125(0x45d)]=0x232a]=_0x441125(0x45d),_0x289de9[_0x289de9[_0x441125(0x3f6)]=0x232b]=_0x441125(0x3f6),_0x289de9[_0x289de9[_0x441125(0x2a9)]=0x232c]=_0x441125(0x2a9),_0x289de9[_0x289de9[_0x441125(0x287)]=0x232d]=_0x441125(0x287),_0x289de9[_0x289de9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x441125(0x477),_0x289de9[_0x289de9[_0x441125(0x21f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x289de9[_0x289de9[_0x441125(0x383)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x289de9[_0x289de9[_0x441125(0x2ba)]=0x2714]=_0x441125(0x2ba),_0x289de9[_0x289de9[_0x441125(0x22a)]=0x2af9]=_0x441125(0x22a),_0x289de9[_0x289de9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x289de9))(Ii||{}),Q=(_0x36d99f=>(_0x36d99f[_0x36d99f['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x36d99f[_0x36d99f[_0x441125(0x4af)]=0x1]=_0x441125(0x4af),_0x36d99f[_0x36d99f['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x36d99f[_0x36d99f['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x36d99f[_0x36d99f[_0x441125(0x493)]=0x4]='UNIVER_PROJECT',_0x36d99f[_0x36d99f[_0x441125(0x33d)]=-0x1]='UNRECOGNIZED',_0x36d99f))(Q||{}),F=(_0x4b0e41=>(_0x4b0e41[_0x4b0e41['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x4b0e41[_0x4b0e41['HELLO']=0x1]=_0x441125(0x3ea),_0x4b0e41[_0x4b0e41['JOIN']=0x2]=_0x441125(0x2e5),_0x4b0e41[_0x4b0e41[_0x441125(0x416)]=0x3]=_0x441125(0x416),_0x4b0e41[_0x4b0e41[_0x441125(0x293)]=0x4]=_0x441125(0x293),_0x4b0e41[_0x4b0e41[_0x441125(0x226)]=0x5]=_0x441125(0x226),_0x4b0e41[_0x4b0e41['RECV']=0x6]=_0x441125(0x419),_0x4b0e41[_0x4b0e41[_0x441125(0x33d)]=-0x1]=_0x441125(0x33d),_0x4b0e41))(F||{}),Ee=(_0x249d3d=>(_0x249d3d[_0x249d3d['UNKNOWN_CODE']=0x0]=_0x441125(0x324),_0x249d3d[_0x249d3d['OK']=0x1]='OK',_0x249d3d[_0x249d3d[_0x441125(0x29e)]=0x2]=_0x441125(0x29e),_0x249d3d[_0x249d3d[_0x441125(0x411)]=0x3e9]=_0x441125(0x411),_0x249d3d[_0x249d3d[_0x441125(0x2cf)]=0x3ea]=_0x441125(0x2cf),_0x249d3d[_0x249d3d[_0x441125(0x1d4)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x249d3d[_0x249d3d[_0x441125(0x38d)]=0x3ec]=_0x441125(0x38d),_0x249d3d[_0x249d3d[_0x441125(0x33d)]=-0x1]=_0x441125(0x33d),_0x249d3d))(Ee||{}),Ti=(_0x4dfda0=>(_0x4dfda0[_0x4dfda0[_0x441125(0x31a)]=0x0]='Undefined',_0x4dfda0[_0x4dfda0['HttpImport']=0x1]=_0x441125(0x311),_0x4dfda0[_0x4dfda0[_0x441125(0x380)]=0x2]=_0x441125(0x380),_0x4dfda0[_0x4dfda0[_0x441125(0x237)]=0x3]=_0x441125(0x237),_0x4dfda0[_0x4dfda0['UnitSnapshot']=0x4]=_0x441125(0x302),_0x4dfda0[_0x4dfda0[_0x441125(0x33d)]=-0x1]='UNRECOGNIZED',_0x4dfda0))(Ti||{});const q=_0x441125(0x1c0),Wt={};var se=(_0x3e866d=>(_0x3e866d[_0x441125(0x48e)]=_0x441125(0x48e),_0x3e866d[_0x441125(0x2f0)]=_0x441125(0x2f0),_0x3e866d[_0x441125(0x40c)]=_0x441125(0x40c),_0x3e866d[_0x441125(0x3b0)]=_0x441125(0x3b0),_0x3e866d[_0x441125(0x2d3)]='JOIN_ROOM_FAILED',_0x3e866d[_0x441125(0x454)]=_0x441125(0x454),_0x3e866d[_0x441125(0x2b6)]=_0x441125(0x2b6),_0x3e866d[_0x441125(0x39a)]=_0x441125(0x39a),_0x3e866d))(se||{});class pe{constructor(){var _0x161fc8=_0x441125;N(this,_0x161fc8(0x3e5),new _0x54cf30()),N(this,'event$',this[_0x161fc8(0x3e5)][_0x161fc8(0x2b4)]());}[_0x441125(0x31f)](_0x471304){var _0x40634e=_0x441125;this[_0x40634e(0x3e5)][_0x40634e(0x353)](_0x471304);}}const Mn=_0x2eb755(_0x441125(0x23a));function $n(_0x1be558){var _0x356043=_0x441125,_0x795cc8,_0x4b6739,_0x26b878,_0x36ad3c,_0x5e5205;const _0xca5294=_0x1be558[_0x356043(0x206)],_0x3b7e06=JSON['parse'](_0xca5294);switch(_0x3b7e06['cmd']){case F[_0x356043(0x226)]:case F[_0x356043(0x3ea)]:{const _0x370261=_0x3b7e06['infoRsp'];return{..._0x3b7e06,'data':_0x370261,'cmd':_0x3b7e06[_0x356043(0x1bb)]};}case F['JOIN']:{const _0x32b53f=_0x3b7e06[_0x356043(0x277)];return{..._0x3b7e06,'data':_0x32b53f,'cmd':_0x3b7e06[_0x356043(0x1bb)]};}case F[_0x356043(0x419)]:{const _0x6cd3ec=_0x3b7e06['collaMsg'];switch(_0x6cd3ec['eventID']){case _0x60c778['PERMISSION_REJ']:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':(_0x795cc8=_0x6cd3ec[_0x356043(0x3e9)])==null?void 0x0:_0x795cc8['cs']},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x392)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':(_0x4b6739=_0x6cd3ec[_0x356043(0x2dd)])==null?void 0x0:_0x4b6739['cs']},'cmd':_0x3b7e06['cmd']};case _0x60c778[_0x356043(0x30e)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':(_0x26b878=_0x6cd3ec[_0x356043(0x1e3)])==null?void 0x0:_0x26b878['cs']},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x3f3)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':(_0x36ad3c=_0x6cd3ec[_0x356043(0x31b)])==null?void 0x0:_0x36ad3c['cs']},'cmd':_0x3b7e06['cmd']};case _0x60c778['CHANGESET_SHOULD_RETRY']:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':(_0x5e5205=_0x6cd3ec[_0x356043(0x217)])==null?void 0x0:_0x5e5205['cs']},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x448)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x467)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x2c7)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x2c6)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x2d6)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x333)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x48a)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x1b7)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778['LIVESHARE_FETCH_OPERATIONS']:case _0x60c778[_0x356043(0x359)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec['liveShareOperation']},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x227)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x1b7)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778['MSG_FOR_ERROR']:return{..._0x3b7e06,'data':_0x6cd3ec,'cmd':_0x3b7e06['cmd']};case _0x60c778[_0x356043(0x34e)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x3c8)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x4a1)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x3ce)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};case _0x60c778[_0x356043(0x3a1)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x466)]},'cmd':_0x3b7e06['cmd']};case _0x60c778[_0x356043(0x2af)]:return{..._0x3b7e06,'data':{..._0x6cd3ec,'data':_0x6cd3ec[_0x356043(0x337)]},'cmd':_0x3b7e06[_0x356043(0x1bb)]};default:return _0x3b7e06;}}default:return _0x3b7e06;}}function Hn(_0x594fa1){var _0x79c80a=_0x441125;switch(_0x594fa1[_0x79c80a(0x1bb)]){case F[_0x79c80a(0x226)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x594fa1[_0x79c80a(0x1bb)],'routeKey':_0x594fa1[_0x79c80a(0x1e4)]});case F[_0x79c80a(0x293)]:{let _0x6733ef;switch(_0x594fa1[_0x79c80a(0x206)]['eventID']){case _0x60c778[_0x79c80a(0x448)]:{_0x6733ef={'eventID':_0x60c778[_0x79c80a(0x448)],'updateCursorEvent':_0x594fa1[_0x79c80a(0x206)]['data']};break;}case _0x60c778[_0x79c80a(0x2d6)]:{_0x6733ef={'eventID':_0x60c778['USERS_LEAVE'],'leaveEvent':_0x594fa1[_0x79c80a(0x206)]['data']};break;}case _0x60c778[_0x79c80a(0x2c7)]:{_0x6733ef={'eventID':_0x60c778[_0x79c80a(0x2c7)],'joinEvent':_0x594fa1[_0x79c80a(0x206)]['data']};break;}case _0x60c778[_0x79c80a(0x48a)]:{_0x6733ef={'eventID':_0x60c778['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x594fa1[_0x79c80a(0x206)]['data']};break;}case _0x60c778[_0x79c80a(0x359)]:{_0x6733ef={'eventID':_0x60c778[_0x79c80a(0x359)],'liveShareOperation':_0x594fa1[_0x79c80a(0x206)][_0x79c80a(0x206)]};break;}case _0x60c778['LIVESHARE_TERMINATE']:{_0x6733ef={'eventID':_0x60c778[_0x79c80a(0x227)],'liveShareTerminate':_0x594fa1[_0x79c80a(0x206)][_0x79c80a(0x206)]};break;}case _0x60c778[_0x79c80a(0x1ce)]:{_0x6733ef={'eventID':_0x60c778['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x594fa1[_0x79c80a(0x206)][_0x79c80a(0x206)]};break;}case _0x60c778[_0x79c80a(0x44d)]:{_0x6733ef={'eventID':_0x60c778[_0x79c80a(0x44d)]};break;}default:_0x6733ef={'eventID':_0x594fa1[_0x79c80a(0x206)][_0x79c80a(0x36f)]};}return JSON['stringify']({'cmd':_0x594fa1[_0x79c80a(0x1bb)],'routeKey':_0x594fa1[_0x79c80a(0x1e4)],'collaMsg':_0x6733ef});}case F[_0x79c80a(0x2e5)]:return JSON['stringify']({'cmd':_0x594fa1[_0x79c80a(0x1bb)],'routeKey':_0x594fa1[_0x79c80a(0x1e4)],'joinReq':_0x594fa1[_0x79c80a(0x206)]});case F['LEAVE']:return JSON[_0x79c80a(0x2cb)]({'cmd':_0x594fa1['cmd'],'routeKey':_0x594fa1['routeKey'],'leaveReq':_0x594fa1[_0x79c80a(0x206)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x441125(0x464)],jn=Object[_0x441125(0x46f)],Bn=(_0x1ac413,_0x31612b,_0x1230f5,_0xaac495)=>{var _0x3c67f0=_0x441125;for(var _0x3ec486=_0xaac495>0x1?void 0x0:_0xaac495?jn(_0x31612b,_0x1230f5):_0x31612b,_0x4bfd7e=_0x1ac413[_0x3c67f0(0x4b5)]-0x1,_0x5ce889;_0x4bfd7e>=0x0;_0x4bfd7e--)(_0x5ce889=_0x1ac413[_0x4bfd7e])&&(_0x3ec486=(_0xaac495?_0x5ce889(_0x31612b,_0x1230f5,_0x3ec486):_0x5ce889(_0x3ec486))||_0x3ec486);return _0xaac495&&_0x3ec486&&kn(_0x31612b,_0x1230f5,_0x3ec486),_0x3ec486;},Ue=(_0x3840fa,_0x450276)=>(_0xfeefba,_0x10f7be)=>_0x450276(_0xfeefba,_0x10f7be,_0x3840fa);const Ci=_0x2eb755(_0x441125(0x465));function Fn(_0x22f60f,_0x373fe8,_0x18f949){var _0x5a85f9=_0x441125;return _0x22f60f+'/'+_0x373fe8+_0x5a85f9(0x2ed)+_0x18f949+_0x5a85f9(0x46d);}let Et=class extends _0x1845f0{constructor(_0x596f9a,_0x33d03a,_0x281116,_0x5596f8,_0x16851d){var _0x166e8e=_0x441125;super(),this[_0x166e8e(0x31d)]=_0x596f9a,this[_0x166e8e(0x214)]=_0x33d03a,this['_configService']=_0x281116,this['_logService']=_0x5596f8,this[_0x166e8e(0x298)]=_0x16851d;}['createSocket'](_0x3af4d3){var _0x192d10=_0x441125;const _0x365629=this[_0x192d10(0x31d)][_0x192d10(0x421)](_0x19ac62);if(!_0x365629)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4d9392=_0x365629[_0x192d10(0x1b9)](_0x3af4d3);if(!_0x4d9392)throw new Error(_0x192d10(0x3b9));const _0x13ebdd=new _0x2492b0(),_0x3940a0=new _0x54cf30();_0x13ebdd[_0x192d10(0x363)](_0x4d9392[_0x192d10(0x1f5)][_0x192d10(0x27f)](_0x4fde2c=>_0x3940a0[_0x192d10(0x353)](_0x4fde2c))),_0x13ebdd[_0x192d10(0x363)](_0x42b4a6(()=>_0x3940a0[_0x192d10(0x1fa)]()));const _0x5646ec=new _0x54cf30();_0x13ebdd[_0x192d10(0x363)](_0x4d9392['error$']['subscribe'](_0x315b10=>_0x5646ec[_0x192d10(0x353)](_0x315b10))),_0x13ebdd[_0x192d10(0x363)](_0x42b4a6(()=>_0x5646ec[_0x192d10(0x1fa)]()));const _0x3ea4ac=new _0x54cf30();_0x13ebdd[_0x192d10(0x363)](_0x4d9392[_0x192d10(0x2fb)][_0x192d10(0x27f)](_0xb5951b=>{const _0x50d54b=$n(_0xb5951b);_0x3ea4ac['next'](_0x50d54b);})),_0x13ebdd['add'](_0x42b4a6(()=>_0x3ea4ac['complete']()));let _0x37f87d;const _0x18fe59=()=>{var _0x30e723=_0x192d10;_0x5646ec[_0x30e723(0x353)](new Event(_0x30e723(0x201))),_0x3940a0['next'](new CloseEvent(_0x30e723(0x201))),_0x37f87d[_0x30e723(0x40f)]();};return _0x37f87d={'memberID':'','close$':_0x3940a0[_0x192d10(0x2b4)](),'error$':_0x5646ec['asObservable'](),'open$':_0x4d9392['open$'],'message$':_0x3ea4ac[_0x192d10(0x2b4)](),'send':_0x34a2dd=>{var _0x47c6ca=_0x192d10;if(_0x34a2dd[_0x47c6ca(0x1bb)]===F['INGEST']){if(_0x34a2dd[_0x47c6ca(0x206)][_0x47c6ca(0x36f)]===_0x60c778[_0x47c6ca(0x20f)]){this[_0x47c6ca(0x1e0)](_0x37f87d,_0x34a2dd[_0x47c6ca(0x206)])['catch'](_0x1308f9=>{var _0x5a5dc1=_0x47c6ca;this['_logService'][_0x5a5dc1(0x37f)](_0x1308f9),_0x18fe59();});return;}if(_0x34a2dd[_0x47c6ca(0x206)]['eventID']===_0x60c778[_0x47c6ca(0x23c)]){const _0x349fd0=_0x34a2dd[_0x47c6ca(0x206)];this[_0x47c6ca(0x48d)](_0x349fd0)[_0x47c6ca(0x46e)](_0x434163=>{var _0x784e05=_0x47c6ca;_0x3ea4ac['next']({'cmd':F[_0x784e05(0x419)],'code':Ee['OK'],'routeKey':_0x349fd0[_0x784e05(0x206)][_0x784e05(0x365)],'routeType':'','data':{'eventID':_0x60c778['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x434163}}});})[_0x47c6ca(0x488)](_0x49a595=>{var _0x44e278=_0x47c6ca;this['_logService'][_0x44e278(0x37f)](_0x49a595),_0x18fe59();});return;}}_0x4d9392[_0x47c6ca(0x38a)](Hn(_0x34a2dd));},'close':()=>{var _0x11a31a=_0x192d10;_0x4d9392[_0x11a31a(0x40f)](),_0x13ebdd[_0x11a31a(0x25f)]();}},_0x37f87d;}async[_0x441125(0x1e0)](_0x5e8898,_0x187d60){var _0x1ec58f=_0x441125,_0x508f96,_0x4fe613;const {unitType:_0x1d94b6,unitID:_0x1b273d,changeset:_0x41a67d}=_0x187d60[_0x1ec58f(0x206)],_0x5917ab={'unitID':_0x1b273d,'memberID':_0x5e8898[_0x1ec58f(0x2d0)],'type':_0x1d94b6,'changeset':_0x45e4a4(_0x41a67d)},_0x205bb3=this[_0x1ec58f(0x428)][_0x1ec58f(0x336)](Un),_0x453bd0=this[_0x1ec58f(0x428)][_0x1ec58f(0x336)](q),_0x17eb4c=Fn((_0x4fe613=(_0x508f96=_0x453bd0==null?void 0x0:_0x453bd0[_0x1ec58f(0x1f1)])!=null?_0x508f96:_0x205bb3)!=null?_0x4fe613:An,_0x1d94b6,_0x1b273d);try{await this[_0x1ec58f(0x214)]['post'](_0x17eb4c,{'body':_0x5917ab});}catch(_0x29d63f){throw this[_0x1ec58f(0x33b)][_0x1ec58f(0x37f)](_0x1ec58f(0x1da),'submit\x20changeset\x20error!'),_0x29d63f;}}async[_0x441125(0x48d)](_0x333b62){var _0x19fea4=_0x441125;const {unitID:_0x4a417b,from:_0x35c9d8,to:_0x5f3be6,unitType:_0x1dca8d}=_0x333b62[_0x19fea4(0x206)];return(await this[_0x19fea4(0x298)][_0x19fea4(0x3ad)]({'metadata':void 0x0},{'unitID':_0x4a417b,'type':_0x1dca8d,'from':_0x35c9d8,'to':_0x5f3be6}))[_0x19fea4(0x48c)];}};Et=Bn([Ue(0x0,_0x4c1254(_0x3c4fc8)),Ue(0x1,_0x4c1254(_0x4683f2)),Ue(0x2,_0xbb3a21),Ue(0x3,_0x1a51d0),Ue(0x4,_0x305003)],Et);const Vn=_0x441125(0x47b);function Gn(_0x1b5679){return JSON['stringify'](_0x1b5679)['length'];}class Ri{constructor(){var _0x143b26=_0x441125;N(this,_0x143b26(0x325),new _0x54cf30()),N(this,_0x143b26(0x330),this['_commentUpdate$'][_0x143b26(0x2b4)]());}['onCommentUpdate'](_0x1222d8){this['_commentUpdate$']['next'](_0x1222d8);}}var Wn=Object[_0x441125(0x464)],Kn=Object[_0x441125(0x46f)],Yn=(_0x1d7a87,_0x1eb30c,_0x232f5a,_0x5a9b78)=>{for(var _0x1fef9d=_0x5a9b78>0x1?void 0x0:_0x5a9b78?Kn(_0x1eb30c,_0x232f5a):_0x1eb30c,_0x2c9ed6=_0x1d7a87['length']-0x1,_0x4752f5;_0x2c9ed6>=0x0;_0x2c9ed6--)(_0x4752f5=_0x1d7a87[_0x2c9ed6])&&(_0x1fef9d=(_0x5a9b78?_0x4752f5(_0x1eb30c,_0x232f5a,_0x1fef9d):_0x4752f5(_0x1fef9d))||_0x1fef9d);return _0x5a9b78&&_0x1fef9d&&Wn(_0x1eb30c,_0x232f5a,_0x1fef9d),_0x1fef9d;},Kt=(_0x3ef10f,_0x429d21)=>(_0x5f0474,_0x13b3bd)=>_0x429d21(_0x5f0474,_0x13b3bd,_0x3ef10f);let xe=class extends _0x1845f0{constructor(_0x1b78cb,_0x56311c){var _0x2abc27=_0x441125;super(),N(this,_0x2abc27(0x49f),new Map()),N(this,'_roomCreated$',new _0x54cf30()),(this[_0x2abc27(0x1ca)]=_0x1b78cb,this[_0x2abc27(0x471)]=_0x56311c,this[_0x2abc27(0x364)](_0x283e79(this[_0x2abc27(0x1ca)][_0x2abc27(0x3fa)](_0x53d653['UNIVER_SHEET'])['pipe'](_0x48f8c3(_0x1141e1=>_0x1141e1[_0x2abc27(0x3d9)]())),this[_0x2abc27(0x1ca)][_0x2abc27(0x3fa)](_0x53d653[_0x2abc27(0x4af)])[_0x2abc27(0x2e2)](_0x48f8c3(_0x52d30b=>_0x52d30b['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x53d653[_0x2abc27(0x347)])[_0x2abc27(0x2e2)](_0x48f8c3(_0x5f4675=>_0x5f4675[_0x2abc27(0x3d9)]())))[_0x2abc27(0x27f)](_0x5d99b6=>this[_0x2abc27(0x453)](_0x5d99b6))));}[_0x441125(0x4ac)](_0x1f6d78){var _0x57518f=_0x441125;return this[_0x57518f(0x49f)][_0x57518f(0x386)](_0x1f6d78)?_0x32ab52(this['_roomMembers'][_0x57518f(0x421)](_0x1f6d78)):this['_roomCreated$'][_0x57518f(0x2e2)](_0x48f8c3(_0x22c4f9=>{var _0x2d6ab4=_0x57518f;if(_0x22c4f9===_0x1f6d78)return this['_roomMembers'][_0x2d6ab4(0x421)](_0x22c4f9);}));}['setCurrentUser'](_0x5a212f){var _0x1ad298=_0x441125;this[_0x1ad298(0x471)]['setCurrentUser'](_0x5a212f);}[_0x441125(0x1c3)](){var _0x4eb7c2=_0x441125;return this[_0x4eb7c2(0x471)][_0x4eb7c2(0x1c3)]();}[_0x441125(0x390)](_0x2b7433,_0x1423a1){var _0xebb9e1=_0x441125;let _0x2f5064=this['_roomMembers'][_0xebb9e1(0x421)](_0x2b7433);_0x2f5064||(_0x2f5064=new qn(),this[_0xebb9e1(0x49f)][_0xebb9e1(0x3a7)](_0x2b7433,_0x2f5064),this[_0xebb9e1(0x463)]['next'](_0x2b7433)),_0x2f5064['updateMember'](_0x1423a1);}[_0x441125(0x2ee)](_0x185c03,_0xb1936c){var _0x1e8146=_0x441125;const _0x16342f=this[_0x1e8146(0x49f)]['get'](_0x185c03);_0x16342f&&_0x16342f[_0x1e8146(0x2ee)](_0xb1936c);}[_0x441125(0x49c)](_0x17ff11){var _0x3637d4=_0x441125;return this[_0x3637d4(0x49f)][_0x3637d4(0x421)](_0x17ff11);}[_0x441125(0x2ef)](_0x25106b,_0x59430f){var _0x5b1973=_0x441125;const _0x29ae4e=this[_0x5b1973(0x49f)]['get'](_0x25106b);if(_0x29ae4e)return _0x29ae4e[_0x5b1973(0x2ef)](_0x59430f);}[_0x441125(0x453)](_0x478b16){var _0x46c133=_0x441125;const _0x1b265e=this['_roomMembers'][_0x46c133(0x421)](_0x478b16);_0x1b265e&&(_0x1b265e[_0x46c133(0x25f)](),this[_0x46c133(0x49f)][_0x46c133(0x374)](_0x478b16));}[_0x441125(0x25f)](){var _0x1d396f=_0x441125;this[_0x1d396f(0x49f)][_0x1d396f(0x45f)](_0x5f304b=>_0x5f304b[_0x1d396f(0x25f)]()),this[_0x1d396f(0x49f)]['clear'](),this[_0x1d396f(0x463)][_0x1d396f(0x1fa)]();}};xe=Yn([Kt(0x0,_0x29cfcd),Kt(0x1,_0x4c1254(_0x17481b))],xe);class qn extends _0x1845f0{constructor(){var _0x1feab2=_0x441125;super(...arguments),N(this,_0x1feab2(0x289),new Map()),N(this,'_members$',new _0x513a8a(this[_0x1feab2(0x289)])),N(this,_0x1feab2(0x455),this['_members$'][_0x1feab2(0x2b4)]());}[_0x441125(0x25f)](){var _0x35eeac=_0x441125;this[_0x35eeac(0x289)][_0x35eeac(0x37b)]();}[_0x441125(0x390)](_0xe3a1cf){var _0xb9581c=_0x441125;this[_0xb9581c(0x289)][_0xb9581c(0x3a7)](_0xe3a1cf[_0xb9581c(0x2d0)],_0xe3a1cf),this[_0xb9581c(0x40a)]();}[_0x441125(0x2ee)](_0x30d6ac){var _0x563351=_0x441125;this[_0x563351(0x289)][_0x563351(0x374)](_0x30d6ac);}[_0x441125(0x2ef)](_0x7d9373){var _0x22c903=_0x441125;return this['_members'][_0x22c903(0x421)](_0x7d9373);}['getAllMembers'](){var _0x581966=_0x441125;return Array[_0x581966(0x331)](this[_0x581966(0x289)][_0x581966(0x474)]());}[_0x441125(0x40a)](){var _0x53033f=_0x441125;this[_0x53033f(0x479)]['next'](this['_members']);}}var zn=Object['defineProperty'],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x5e5550,_0x32ef31,_0x3063c3,_0x749ad)=>{var _0x2a042a=_0x441125;for(var _0x4eda84=_0x749ad>0x1?void 0x0:_0x749ad?Jn(_0x32ef31,_0x3063c3):_0x32ef31,_0x4b3262=_0x5e5550[_0x2a042a(0x4b5)]-0x1,_0xa27957;_0x4b3262>=0x0;_0x4b3262--)(_0xa27957=_0x5e5550[_0x4b3262])&&(_0x4eda84=(_0x749ad?_0xa27957(_0x32ef31,_0x3063c3,_0x4eda84):_0xa27957(_0x4eda84))||_0x4eda84);return _0x749ad&&_0x4eda84&&zn(_0x32ef31,_0x3063c3,_0x4eda84),_0x4eda84;},me=(_0x2aa44b,_0x180da0)=>(_0x5d3c0c,_0x331c4b)=>_0x180da0(_0x5d3c0c,_0x331c4b,_0x2aa44b),Te=(_0x10e788=>(_0x10e788[_0x10e788[_0x441125(0x3a5)]=0x0]='IDLE',_0x10e788[_0x10e788[_0x441125(0x367)]=0x1]='JOINING',_0x10e788[_0x10e788[_0x441125(0x3ba)]=0x2]=_0x441125(0x3ba),_0x10e788[_0x10e788[_0x441125(0x20b)]=0x3]=_0x441125(0x20b),_0x10e788))(Te||{});const Yt={[Ee['FAIL']]:_0x441125(0x342),[Ee[_0x441125(0x411)]]:'session.room-full',[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x441125(0x269),[Ee[_0x441125(0x1d4)]]:'session.room-permission-denied',[Ee[_0x441125(0x38d)]]:_0x441125(0x1e9)};let It=class extends _0x34ba39{constructor(_0x392911,_0x3386dd,_0x428699,_0x22693c,_0x3c7e14,_0x27d59a,_0x5974a3,_0xb35105,_0x7850cf){var _0x5eb824=_0x441125;super(),N(this,_0x5eb824(0x43e),new _0x513a8a(0x0)),N(this,_0x5eb824(0x3c7),this['_sessionStatus$'][_0x5eb824(0x2b4)]()),N(this,_0x5eb824(0x3e5),new _0x54cf30()),N(this,_0x5eb824(0x246),this[_0x5eb824(0x3e5)]['asObservable']()),N(this,_0x5eb824(0x472)),N(this,_0x5eb824(0x1c2)),N(this,_0x5eb824(0x3c6)),N(this,_0x5eb824(0x2ea),!0x1),N(this,'_telemetryInfo',null),(this[_0x5eb824(0x2b0)]=_0x392911,this['_logService']=_0x428699,this[_0x5eb824(0x428)]=_0x22693c,this[_0x5eb824(0x345)]=_0x3c7e14,this['_memberService']=_0x27d59a,this['_commentService']=_0x5974a3,this['_collaborationUIEventService']=_0xb35105,this[_0x5eb824(0x462)]=_0x7850cf,this[_0x5eb824(0x2ea)]=!!this[_0x5eb824(0x462)],_0x3386dd[_0x5eb824(0x2e2)](_0xc49850(this[_0x5eb824(0x361)]))['subscribe'](_0x5e99c3=>{var _0x48878a=_0x5eb824,_0x323109;typeof _0x5e99c3>'u'||(this['_socket']=_0x5e99c3,_0x5e99c3?(this[_0x48878a(0x233)](_0x5e99c3),this[_0x48878a(0x1c2)]=_0x5e99c3[_0x48878a(0x2fb)][_0x48878a(0x27f)](_0x3f13b1=>{var _0x585aa5=_0x48878a;_0x3f13b1[_0x585aa5(0x1e4)]===this[_0x585aa5(0x2b0)]&&this['_onCombEvent'](_0x3f13b1);})):(this[_0x48878a(0x2bb)](),this[_0x48878a(0x43e)][_0x48878a(0x353)](0x2),(_0x323109=this[_0x48878a(0x1c2)])==null||_0x323109[_0x48878a(0x3ae)](),this[_0x48878a(0x1c2)]=null));}));}get[_0x441125(0x208)](){var _0x4b2ec3=_0x441125;return this['_sessionStatus$'][_0x4b2ec3(0x3e2)]();}[_0x441125(0x433)](){var _0x4db37d=_0x441125,_0x1012ca,_0x3f202f;return(_0x3f202f=(_0x1012ca=this[_0x4db37d(0x472)])==null?void 0x0:_0x1012ca['memberID'])!=null?_0x3f202f:null;}[_0x441125(0x25f)](){var _0x4679c1=_0x441125;super[_0x4679c1(0x25f)](),this[_0x4679c1(0x361)]['next'](),this[_0x4679c1(0x361)][_0x4679c1(0x1fa)]();}[_0x441125(0x40f)](){var _0x5603ff=_0x441125,_0xbfca9f,_0x238399;this[_0x5603ff(0x2bb)](),(_0xbfca9f=this[_0x5603ff(0x472)])==null||_0xbfca9f[_0x5603ff(0x38a)]({'cmd':F[_0x5603ff(0x416)],'data':{'roomID':this[_0x5603ff(0x2b0)]}}),(_0x238399=this[_0x5603ff(0x472)])==null||_0x238399[_0x5603ff(0x40f)](),this[_0x5603ff(0x3e5)][_0x5603ff(0x1fa)](),this['_sessionStatus$'][_0x5603ff(0x1fa)](),this[_0x5603ff(0x25f)]();}[_0x441125(0x231)](_0x512e42){var _0x99ebbd=_0x441125;_0x512e42['cmd']===F[_0x99ebbd(0x2e5)]?this[_0x99ebbd(0x305)](_0x512e42):_0x512e42[_0x99ebbd(0x1bb)]===F['RECV']&&this[_0x99ebbd(0x497)](_0x512e42);}[_0x441125(0x233)](_0x3e6f3c){var _0xcd3bde=_0x441125;this[_0xcd3bde(0x43e)][_0xcd3bde(0x353)](0x1),_0x3e6f3c['send']({'cmd':F[_0xcd3bde(0x2e5)],'routeKey':this[_0xcd3bde(0x2b0)],'routeType':'','data':{'rooms':[{'roomID':this[_0xcd3bde(0x2b0)]}]}});}[_0x441125(0x305)](_0x1bb3dc){var _0x5d4bb1=_0x441125,_0x1ab354;if(_0x1bb3dc[_0x5d4bb1(0x371)]in Yt){this[_0x5d4bb1(0x4a5)][_0x5d4bb1(0x31f)]({'id':se[_0x5d4bb1(0x2d3)],'data':Yt[_0x1bb3dc[_0x5d4bb1(0x371)]]}),this['_sessionStatus$'][_0x5d4bb1(0x353)](0x2);return;}this[_0x5d4bb1(0x43e)]['next'](0x3);const _0x516328=(_0x1ab354=_0x1bb3dc[_0x5d4bb1(0x206)]['roomInfos'][this[_0x5d4bb1(0x2b0)]])==null?void 0x0:_0x1ab354[_0x5d4bb1(0x23b)];_0x516328&&_0x516328[_0x5d4bb1(0x45f)](_0x3ba756=>this[_0x5d4bb1(0x25d)]['updateMember'](this[_0x5d4bb1(0x2b0)],_0x3ba756));}[_0x441125(0x497)](_0x2cd731){var _0x3e8c04=_0x441125;try{const _0x461232=_0x2cd731[_0x3e8c04(0x206)];switch(_0x461232[_0x3e8c04(0x36f)]){case _0x60c778['USERS_ENTER']:this[_0x3e8c04(0x43f)](_0x461232),this[_0x3e8c04(0x3e5)]['next'](_0x461232);break;case _0x60c778[_0x3e8c04(0x2d6)]:this[_0x3e8c04(0x3bd)](_0x461232),this[_0x3e8c04(0x3e5)][_0x3e8c04(0x353)](_0x461232);break;case _0x60c778[_0x3e8c04(0x392)]:case _0x60c778[_0x3e8c04(0x1ea)]:this[_0x3e8c04(0x1c4)](),this[_0x3e8c04(0x1df)](),this[_0x3e8c04(0x3e5)][_0x3e8c04(0x353)](_0x461232);break;case _0x60c778['MSG_FOR_ERROR']:this[_0x3e8c04(0x33b)][_0x3e8c04(0x37f)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3e8c04(0x2cb)](_0x461232)),this['_event$'][_0x3e8c04(0x353)](_0x461232);break;case _0x60c778['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x461232[_0x3e8c04(0x206)]),this[_0x3e8c04(0x3e5)][_0x3e8c04(0x353)](_0x461232);break;default:this[_0x3e8c04(0x3e5)][_0x3e8c04(0x353)](_0x461232);}}catch(_0x36cbd5){this[_0x3e8c04(0x33b)][_0x3e8c04(0x37f)](_0x36cbd5,_0x2cd731);}}['_onUserJoin'](_0xea8ad4){var _0x5b51ec=_0x441125;this[_0x5b51ec(0x25d)][_0x5b51ec(0x390)](this[_0x5b51ec(0x2b0)],_0xea8ad4[_0x5b51ec(0x206)]);}[_0x441125(0x3bd)](_0x5f0687){var _0x12e485=_0x441125;this[_0x12e485(0x25d)][_0x12e485(0x2ee)](this['_unitID'],_0x5f0687[_0x12e485(0x206)][_0x12e485(0x2d0)]);}async['send'](_0x2b27a6,_0x340099){var _0x30f7c2=_0x441125;if(this[_0x30f7c2(0x208)]!==0x3||!this[_0x30f7c2(0x472)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2b27a6[_0x30f7c2(0x36f)]===_0x60c778['SUBMIT_CHANGESET']&&(this[_0x30f7c2(0x39b)](),this[_0x30f7c2(0x3e3)](_0x2b27a6)),this[_0x30f7c2(0x472)][_0x30f7c2(0x38a)]({'cmd':F[_0x30f7c2(0x293)],'routeKey':_0x340099,'routeType':'','data':_0x2b27a6});}catch(_0x391fdf){this[_0x30f7c2(0x33b)][_0x30f7c2(0x37f)](_0x391fdf);}}[_0x441125(0x39b)](){var _0x54732d=_0x441125,_0x7f3e1a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x242b5d=_0x317a;this[_0x242b5d(0x3c6)]=null,this[_0x242b5d(0x4a5)]['emitEvent']({'id':se[_0x242b5d(0x39a)]});},(_0x7f3e1a=this[_0x54732d(0x428)]['getConfig'](Si))!=null?_0x7f3e1a:Ei);}[_0x441125(0x1df)](){var _0x2d2e1a=_0x441125;this[_0x2d2e1a(0x3c6)]&&(clearTimeout(this[_0x2d2e1a(0x3c6)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x573540){var _0x2cf077=_0x441125;if(!this[_0x2cf077(0x2ea)])return;const {data:_0x596113}=_0x573540,{unitID:_0xbe4a8e,changeset:_0x26dfb9}=_0x596113,{mutations:_0x20095b,type:_0x341b04}=_0x26dfb9;this['_telemetryInfo']={'unitId':_0xbe4a8e,'type':_0x341b04,'startTime':performance[_0x2cf077(0x3d5)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x20095b)};}[_0x441125(0x1c4)](){var _0x2d6507=_0x441125;if(this['_shouldReportTelemetry']){if(!this[_0x2d6507(0x1d1)]){this[_0x2d6507(0x33b)]['error'](_0x2d6507(0x1da),_0x2d6507(0x439));return;}this[_0x2d6507(0x1d1)][_0x2d6507(0x2b9)]=performance[_0x2d6507(0x3d5)](),this[_0x2d6507(0x1d1)][_0x2d6507(0x3a4)]=this[_0x2d6507(0x1d1)][_0x2d6507(0x2b9)]-this[_0x2d6507(0x1d1)][_0x2d6507(0x240)],this[_0x2d6507(0x462)]['capture'](Vn,this['_telemetryInfo']),this[_0x2d6507(0x1d1)]=null;}}[_0x441125(0x2bb)](){var _0x3a85ce=_0x441125;this[_0x3a85ce(0x1d1)]=null;}};It=Xn([me(0x2,_0x1a51d0),me(0x3,_0xbb3a21),me(0x4,_0x4c1254(_0x248311)),me(0x5,_0x4c1254(xe)),me(0x6,_0x4c1254(Ri)),me(0x7,_0x4c1254(pe)),me(0x8,_0x1cd728(_0x3eb461))],It);var Zn=Object['defineProperty'],Qn=Object[_0x441125(0x46f)],er=(_0x3fee58,_0x313d1d,_0x584934,_0x29f4ff)=>{var _0x24d6fe=_0x441125;for(var _0x49edab=_0x29f4ff>0x1?void 0x0:_0x29f4ff?Qn(_0x313d1d,_0x584934):_0x313d1d,_0x158496=_0x3fee58[_0x24d6fe(0x4b5)]-0x1,_0x7a7d85;_0x158496>=0x0;_0x158496--)(_0x7a7d85=_0x3fee58[_0x158496])&&(_0x49edab=(_0x29f4ff?_0x7a7d85(_0x313d1d,_0x584934,_0x49edab):_0x7a7d85(_0x49edab))||_0x49edab);return _0x29f4ff&&_0x49edab&&Zn(_0x313d1d,_0x584934,_0x49edab),_0x49edab;},ge=(_0x455588,_0x26c601)=>(_0x537c3f,_0x505ee7)=>_0x26c601(_0x537c3f,_0x505ee7,_0x455588);let Le=class extends _0x1845f0{constructor(_0xb55acf,_0x592bee,_0x31a42b,_0x23f983,_0x3abe70,_0x263b46,_0x9f5bdf){var _0x3b461e=_0x441125;super(),N(this,_0x3b461e(0x34a),new _0x513a8a(void 0x0)),N(this,_0x3b461e(0x4a0),this[_0x3b461e(0x34a)][_0x3b461e(0x2b4)]()),N(this,_0x3b461e(0x215),null),N(this,_0x3b461e(0x3ed),new Map()),N(this,_0x3b461e(0x3ac),new _0x513a8a(Te['IDLE'])),N(this,_0x3b461e(0x2bd),this['_status$'][_0x3b461e(0x2b4)]()),N(this,_0x3b461e(0x1ef),!0x1),N(this,_0x3b461e(0x2c5)),N(this,_0x3b461e(0x271),0x0),N(this,_0x3b461e(0x2eb)),N(this,'_timeoutTimer'),(this[_0x3b461e(0x31d)]=_0xb55acf,this['_logService']=_0x592bee,this[_0x3b461e(0x428)]=_0x31a42b,this['_socketService']=_0x23f983,this[_0x3b461e(0x26a)]=_0x3abe70,this['_collaborationUIEventService']=_0x263b46,this[_0x3b461e(0x3c5)]=_0x9f5bdf,this[_0x3b461e(0x373)]());}get[_0x441125(0x472)](){var _0x5b8beb=_0x441125;return this[_0x5b8beb(0x34a)][_0x5b8beb(0x3e2)]();}[_0x441125(0x373)](){var _0x23fd13=_0x441125;this['_networkConditionService']&&this[_0x23fd13(0x364)](this[_0x23fd13(0x3c5)][_0x23fd13(0x43d)][_0x23fd13(0x27f)](_0x2f6087=>{var _0x5f3317=_0x23fd13;_0x2f6087&&!this['_socket']&&this[_0x5f3317(0x3e4)](),_0x2f6087||this[_0x5f3317(0x495)]();}));}[_0x441125(0x25f)](){var _0x8278da=_0x441125;super[_0x8278da(0x25f)](),this[_0x8278da(0x3ed)][_0x8278da(0x45f)](_0x26e378=>_0x26e378[_0x8278da(0x25f)]()),this['_sessions'][_0x8278da(0x37b)](),this[_0x8278da(0x3ac)][_0x8278da(0x1fa)]();}async[_0x441125(0x2b1)](_0x327e87){var _0x533d34=_0x441125;if(this[_0x533d34(0x3ed)][_0x533d34(0x386)](_0x327e87))return this[_0x533d34(0x3ed)][_0x533d34(0x421)](_0x327e87);this[_0x533d34(0x275)]();const _0x4f87f9=this['_injector'][_0x533d34(0x36a)](It,_0x327e87,this[_0x533d34(0x34a)][_0x533d34(0x2b4)]());return this['_sessions'][_0x533d34(0x3a7)](_0x327e87,_0x4f87f9),_0x4f87f9;}[_0x441125(0x360)](_0x4d6aae){var _0x12fbb7=_0x441125,_0x13f37c;const _0x117cc0=this[_0x12fbb7(0x3ed)][_0x12fbb7(0x421)](_0x4d6aae);_0x117cc0&&(this[_0x12fbb7(0x3ed)][_0x12fbb7(0x374)](_0x4d6aae),_0x117cc0[_0x12fbb7(0x40f)]()),this[_0x12fbb7(0x3ed)][_0x12fbb7(0x438)]||(_0x13f37c=this[_0x12fbb7(0x472)])==null||_0x13f37c[_0x12fbb7(0x40f)]();}[_0x441125(0x3e4)](){var _0x4c75d0=_0x441125;this[_0x4c75d0(0x271)]=0x0,this[_0x4c75d0(0x2c5)]!=null&&(clearTimeout(this[_0x4c75d0(0x2c5)]),this[_0x4c75d0(0x2c5)]=null),this['_tryReconnect']();}async[_0x441125(0x2c0)](){var _0x45599e=_0x441125,_0x3203b5,_0x323a5f,_0x1c0540;const _0x1da562=this[_0x45599e(0x428)][_0x45599e(0x336)](q),_0x4cafa4=(_0x3203b5=_0x1da562==null?void 0x0:_0x1da562['wsSessionTicketUrl'])!=null?_0x3203b5:On;return(_0x1c0540=(_0x323a5f=(await this[_0x45599e(0x26a)][_0x45599e(0x421)](_0x4cafa4,{'headers':{'Content-Type':_0x45599e(0x21e)}}))['body'])==null?void 0x0:_0x323a5f['ticket'])!=null?_0x1c0540:'';}[_0x441125(0x29c)](_0x901894){var _0x5cebb0=_0x441125,_0x29170b,_0x34a5b2;const _0x47a558=this['_configService'][_0x5cebb0(0x336)](Rn),_0x392c5e=this[_0x5cebb0(0x428)][_0x5cebb0(0x336)](q),_0x570b16=(_0x34a5b2=(_0x29170b=_0x392c5e==null?void 0x0:_0x392c5e['collabWebSocketUrl'])!=null?_0x29170b:_0x47a558)!=null?_0x34a5b2:bn,_0x48b672=typeof window>'u'?new URL(_0x570b16):new URL(_0x570b16,window[_0x5cebb0(0x20d)][_0x5cebb0(0x3d7)]);_0x48b672[_0x5cebb0(0x4a8)][_0x5cebb0(0x3a7)]('sessionTicket',_0x901894);const _0x203cd6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5cebb0(0x2f4)]);return _0x203cd6['get'](_0x5cebb0(0x429))&&_0x48b672['searchParams'][_0x5cebb0(0x3a7)](_0x5cebb0(0x429),_0x203cd6[_0x5cebb0(0x421)](_0x5cebb0(0x429))),_0x48b672['toString']();}async[_0x441125(0x4ad)](){var _0x32e3a1=_0x441125;const _0x10f07a=await this['_getSessionTicket'](),_0x1d928c=this['_createSocketURL'](_0x10f07a),_0x2f4395=this[_0x32e3a1(0x290)][_0x32e3a1(0x1b9)](_0x1d928c);return this['_candidateSocket']=_0x2f4395,_0x2f4395;}async[_0x441125(0x275)](){var _0x44930c=_0x441125,_0x3be136,_0x3cbc0f;try{const _0x21bb98=(_0x3cbc0f=(_0x3be136=this[_0x44930c(0x472)])!=null?_0x3be136:this[_0x44930c(0x215)])!=null?_0x3cbc0f:await this['_createSocket']();if(_0x21bb98){const _0xe8bb34=_0x21bb98[_0x44930c(0x38a)];_0x21bb98['send']=_0x119c64=>(this['_rescheduleHeartbeat'](),_0xe8bb34[_0x44930c(0x3c1)](_0x21bb98,[_0x119c64])),_0x21bb98['message$'][_0x44930c(0x27f)](_0x56efc0=>this[_0x44930c(0x294)](_0x21bb98,_0x56efc0)),_0x21bb98[_0x44930c(0x24a)]['pipe'](_0x4746a6(0x1))[_0x44930c(0x27f)](_0x2db61b=>this['_logService'][_0x44930c(0x37f)](_0x44930c(0x490),_0x2db61b)),_0x21bb98[_0x44930c(0x2f1)][_0x44930c(0x2e2)](_0x4746a6(0x1))[_0x44930c(0x27f)](()=>{var _0x9cc55c=_0x44930c;this[_0x9cc55c(0x315)](_0x21bb98);}),_0x21bb98[_0x44930c(0x1f5)][_0x44930c(0x2e2)](_0x4746a6(0x1))[_0x44930c(0x27f)](_0x17e143=>{var _0x2ae959=_0x44930c;this['_logService'][_0x2ae959(0x4a7)](_0x2ae959(0x36d),_0x2ae959(0x32b),_0x17e143),this[_0x2ae959(0x403)]();});}}catch(_0x2766c7){this[_0x44930c(0x33b)][_0x44930c(0x37f)](_0x2766c7),this[_0x44930c(0x403)]();}}[_0x441125(0x315)](_0x1a0d02){var _0x108ae1=_0x441125;this[_0x108ae1(0x33b)][_0x108ae1(0x4a7)]('[CollaborationSessionService]','socket\x20open.'),_0x1a0d02[_0x108ae1(0x38a)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x441125(0x495)](){var _0x9ca6b5=_0x441125;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x9ca6b5(0x3ac)][_0x9ca6b5(0x353)](Te[_0x9ca6b5(0x3ba)]),this[_0x9ca6b5(0x34a)][_0x9ca6b5(0x353)](null),this['_clearTimeoutTimer'](),this[_0x9ca6b5(0x1d9)]();}[_0x441125(0x403)](){var _0x88568e=_0x441125,_0x38720c;this[_0x88568e(0x495)](),this['_retryCount']<((_0x38720c=this[_0x88568e(0x428)]['getConfig'](Pn))!=null?_0x38720c:wn)?(this[_0x88568e(0x4a5)][_0x88568e(0x31f)]({'id':se[_0x88568e(0x454)]}),this[_0x88568e(0x265)]()):this[_0x88568e(0x4a5)][_0x88568e(0x31f)]({'id':se[_0x88568e(0x2b6)]});}[_0x441125(0x265)](){var _0x56f7ca=_0x441125,_0x5e8aaa;const _0x19bd05=this[_0x56f7ca(0x271)],_0x1cd605=this[_0x56f7ca(0x428)][_0x56f7ca(0x336)](q),_0x4e5554=_0x19bd05===0x0?0x0:((_0x5e8aaa=_0x1cd605==null?void 0x0:_0x1cd605[_0x56f7ca(0x478)])!=null?_0x5e8aaa:Dn)*0x2**_0x19bd05;this[_0x56f7ca(0x2c5)]=setTimeout(()=>{var _0xbce45d=_0x56f7ca;clearTimeout(this[_0xbce45d(0x2c5)]),this[_0xbce45d(0x2c5)]=null,this[_0xbce45d(0x275)]();},_0x4e5554),this[_0x56f7ca(0x271)]+=0x1;}[_0x441125(0x294)](_0x43c748,_0x4e1a19){var _0x558555=_0x441125;const {cmd:_0x2dd75a}=_0x4e1a19;_0x2dd75a===F[_0x558555(0x3ea)]&&!this[_0x558555(0x1ef)]&&(_0x43c748[_0x558555(0x2d0)]=_0x4e1a19['data']['memberID'],this[_0x558555(0x34a)][_0x558555(0x353)](_0x43c748),this['_status$'][_0x558555(0x353)](Te[_0x558555(0x20b)]),this[_0x558555(0x1ef)]=!0x0,this['_candidateSocket']=null),_0x2dd75a===F[_0x558555(0x226)]&&this['_clearTimeoutTimer'](),this[_0x558555(0x38c)]();}[_0x441125(0x38c)](){var _0x5cfdc4=_0x441125,_0x371b00;this['_clearHeartbeatTimer'](),this[_0x5cfdc4(0x2eb)]=setTimeout(()=>this[_0x5cfdc4(0x381)](),(_0x371b00=this['_configService'][_0x5cfdc4(0x336)](yn))!=null?_0x371b00:Nn);}['_sendHeartbeat'](){var _0x4c5ebb=_0x441125;this['_socket'][_0x4c5ebb(0x38a)]({'cmd':F[_0x4c5ebb(0x226)]}),this[_0x4c5ebb(0x1c5)]();}[_0x441125(0x1c5)](){var _0x57d8a6=_0x441125,_0x4d6b98;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x4d6b98=this[_0x57d8a6(0x428)][_0x57d8a6(0x336)](Si))!=null?_0x4d6b98:Ei);}['_clearHeartbeatTimer'](){var _0x20027c=_0x441125;this[_0x20027c(0x2eb)]!=null&&(clearTimeout(this[_0x20027c(0x2eb)]),this[_0x20027c(0x2eb)]=null);}[_0x441125(0x3ca)](){var _0x1a3413=_0x441125;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1a3413(0x3e6)]),this[_0x1a3413(0x3e6)]=null);}};Le=er([ge(0x0,_0x4c1254(_0x3c4fc8)),ge(0x1,_0x1a51d0),ge(0x2,_0xbb3a21),ge(0x3,Ci),ge(0x4,_0x4c1254(_0x4683f2)),ge(0x5,_0x4c1254(pe)),ge(0x6,_0x1cd728(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x441125(0x1d7)]((n+0x100)['toString'](0x10)[_0x441125(0x3d3)](0x1));function tr(_0x156798,_0x26daa4=0x0){var _0x1f284e=_0x441125;return(V[_0x156798[_0x26daa4+0x0]]+V[_0x156798[_0x26daa4+0x1]]+V[_0x156798[_0x26daa4+0x2]]+V[_0x156798[_0x26daa4+0x3]]+'-'+V[_0x156798[_0x26daa4+0x4]]+V[_0x156798[_0x26daa4+0x5]]+'-'+V[_0x156798[_0x26daa4+0x6]]+V[_0x156798[_0x26daa4+0x7]]+'-'+V[_0x156798[_0x26daa4+0x8]]+V[_0x156798[_0x26daa4+0x9]]+'-'+V[_0x156798[_0x26daa4+0xa]]+V[_0x156798[_0x26daa4+0xb]]+V[_0x156798[_0x26daa4+0xc]]+V[_0x156798[_0x26daa4+0xd]]+V[_0x156798[_0x26daa4+0xe]]+V[_0x156798[_0x26daa4+0xf]])[_0x1f284e(0x47f)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x4894d8=_0x441125;if(!ut){if(typeof crypto>'u'||!crypto[_0x4894d8(0x251)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x4894d8(0x251)]['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x441125(0x210)]&&crypto[_0x441125(0x210)][_0x441125(0x450)](crypto),qt={'randomUUID':rr};function sr(_0xf12bb6,_0x141fa8,_0x2d3aa6){var _0xbaadee=_0x441125,_0xf15b61,_0x18eacb,_0x55c051;if(qt[_0xbaadee(0x210)]&&!_0xf12bb6)return qt[_0xbaadee(0x210)]();_0xf12bb6=_0xf12bb6||{};const _0x3612b8=(_0x55c051=(_0x18eacb=_0xf12bb6['random'])!=null?_0x18eacb:(_0xf15b61=_0xf12bb6[_0xbaadee(0x348)])==null?void 0x0:_0xf15b61[_0xbaadee(0x1d8)](_0xf12bb6))!=null?_0x55c051:nr();if(_0x3612b8[_0xbaadee(0x4b5)]<0x10)throw new Error(_0xbaadee(0x3e7));return _0x3612b8[0x6]=_0x3612b8[0x6]&0xf|0x40,_0x3612b8[0x8]=_0x3612b8[0x8]&0x3f|0x80,tr(_0x3612b8);}const J=_0x2eb755(_0x441125(0x30a));function so(_0x42f95a){return'unit-cache-'+_0x42f95a;}var or=Object[_0x441125(0x464)],ar=Object[_0x441125(0x46f)],cr=(_0x250321,_0x14642d,_0x3674c9,_0x470e83)=>{var _0x5e22cc=_0x441125;for(var _0x30180b=_0x470e83>0x1?void 0x0:_0x470e83?ar(_0x14642d,_0x3674c9):_0x14642d,_0x47f130=_0x250321[_0x5e22cc(0x4b5)]-0x1,_0x19ed6c;_0x47f130>=0x0;_0x47f130--)(_0x19ed6c=_0x250321[_0x47f130])&&(_0x30180b=(_0x470e83?_0x19ed6c(_0x14642d,_0x3674c9,_0x30180b):_0x19ed6c(_0x30180b))||_0x30180b);return _0x470e83&&_0x30180b&&or(_0x14642d,_0x3674c9,_0x30180b),_0x30180b;},dt=(_0x1db9f2,_0x52f9f4)=>(_0x40b198,_0x156e2c)=>_0x52f9f4(_0x40b198,_0x156e2c,_0x1db9f2);function hr(_0x551aef){var _0x40f4c3=_0x441125;const {unitID:_0x21c064,mutations:_0x85ac05}=_0x551aef;return{'unitId':_0x21c064,'subUnitId':_0x85ac05[0x0][_0x40f4c3(0x249)][_0x40f4c3(0x444)]};}let it=class{constructor(_0x46ecb3,_0x3112b3,_0x584cdf){var _0x42bb5f=_0x441125;this['_injector']=_0x46ecb3,this[_0x42bb5f(0x2fd)]=_0x3112b3,this['_instanceService']=_0x584cdf;}[_0x441125(0x2db)](_0xb19aba){var _0x1a000b=_0x441125,_0xc9eddb,_0x388699,_0x1f5ae3,_0x51218a;const _0x25cf3f=this['_injector'][_0x1a000b(0x421)](_0x4a7f67),{unitId:_0x323d14,subUnitId:_0x3d6ece}=hr(_0xb19aba),_0x1ccc13=_0x25cf3f==null?void 0x0:_0x25cf3f[_0x1a000b(0x3d6)](_0x323d14)[_0x1a000b(0x1de)](),_0xdad0cc=(_0x388699=(_0xc9eddb=this[_0x1a000b(0x370)][_0x1a000b(0x219)](_0x323d14))==null?void 0x0:_0xc9eddb['getActiveSheet']())==null?void 0x0:_0x388699[_0x1a000b(0x3a8)]();if(_0x1ccc13[_0x1a000b(0x4b5)]===0x0||!_0x323d14||!_0x3d6ece)return;const _0x464cec=[{'id':_0x37d64a['id'],'params':{'unitId':_0x323d14,'subUnitId':_0xdad0cc,'selections':_0x1c8f56['deepClone'](_0x1ccc13)}}],_0x57830b=this[_0x1a000b(0x2fd)][_0x1a000b(0x400)](_0xb19aba,_0x464cec);if(!_0x1a1ef7(_0x57830b))throw _0x57830b[_0x1a000b(0x37f)];const _0x3e9383=(_0x51218a=(_0x1f5ae3=_0x57830b[_0x1a000b(0x29a)][0x0])==null?void 0x0:_0x1f5ae3[_0x1a000b(0x249)])==null?void 0x0:_0x51218a[_0x1a000b(0x1fd)];if(Array[_0x1a000b(0x3b8)](_0x3e9383)&&_0x3e9383[_0x1a000b(0x4b5)]){if(_0x3e9383[_0x1a000b(0x4b5)]===_0x464cec[0x0][_0x1a000b(0x249)][_0x1a000b(0x1fd)][_0x1a000b(0x4b5)]&&_0x3e9383[_0x1a000b(0x39c)]((_0x8078ef,_0x1bf1bd)=>_0x5a2958[_0x1a000b(0x42d)](_0x8078ef[_0x1a000b(0x485)],_0x464cec[0x0]['params'][_0x1a000b(0x1fd)][_0x1bf1bd][_0x1a000b(0x485)])))return;this[_0x1a000b(0x31d)][_0x1a000b(0x421)](_0x1686ec)[_0x1a000b(0x284)](_0x37d64a['id'],{'unitId':_0x323d14,'subUnitId':_0xdad0cc,'selections':_0x3e9383});}}};it=cr([dt(0x0,_0x4c1254(_0x3c4fc8)),dt(0x1,_0x3dd10f),dt(0x2,_0x29cfcd)],it);const ht=_0x2eb755(_0x441125(0x1be));var bi=(_0x43c7b3=>(_0x43c7b3[_0x43c7b3[_0x441125(0x3cd)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x43c7b3[_0x43c7b3[_0x441125(0x2d1)]=0x1]=_0x441125(0x2d1),_0x43c7b3))(bi||{});function _0x2bc0(){var _0x3cd930=['_decreaseWaiting','_toggleOffline','_scheduleCompleteTimestamp','transformSelections','copyFileMeta','csAckEvent','mixIn','_state$','_initUnitPermissionChange','EvpKDF','pipe','snapshotServerUrl','function','JOIN','/universer-api/file/{fileID}/sign-url','_transformSelections','ceil','toggleOnline','_shouldReportTelemetry','_sendHeartbeatTimer','avatar','/unit/','removeMember','getMember','PERMISSION_DENIED','open$','signUrlServerUrl','_transformRemoteChangesetByStateCache','search','lib','repeat','file','override','updatePermissionPoint','Hex','message$','Pkcs7','_transformService','url','initWorkbookPermissionChange','WordArray','awaiting_with_pending','UnitSnapshot','/collaborator','charAt','_onJoinRoomEvent','_entityInit$','unknown','_queuedRemoteChangesets','encrypt','collaboration-client.local-cache-service','Encryptor','getImageSourceCache','iterations','NEW_CHANGESETS','buffer','getTime','HttpImport','_onLocalMutation','salt','textRanges','_onConnectionOpen','unitInfo$','_sender','getUnitType','auth.needGotoLoginAlert','Undefined','csRejEvent','onlyLocal','_injector','readInt32LE','emitEvent','pad','_unitInfo$','482922ezDUdm','_parse','UNKNOWN_CODE','_commentUpdate$','POST','indexOf','responseType','_createHandler','[CollaborationUndoRedoService]','socket\x20close','onRemoteChangeset','loadDoc','[UniverCollaborationClientPlugin]','UNIVER_SHEET','commentUpdate$','from','editingUnit','leaveEvent','_onRemoteRetry','Malformed\x20UTF-8\x20data','getConfig','uniscriptRunEvent','_updateLocalCache','_createHelper','_showConflictNotification','_logService','_doProcessBlock','UNRECOGNIZED','_replayCachedMutations','DEFAULT_FILE_NAME','putCollaborators','[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.','session.join-failed','padding','_transformRemoteChangesetByIMECache','_localeService','_type','UNIVER_SLIDE','rng','ALREADY_EXISTS','_socket$','mode','/object','__creator','COMMENT_UPDATE','reject','_nDataBytes','crypto','getSnapshotAPIPath','next','Utf8','registerHTTPInterceptor','_loadSheet','onMissedChangesetFetched','createDecryptor','LIVESHARE_OPERATION','[DataLoaderService]','?size=','UNAUTHENTICATED','createEncryptor','_handlerCallback','PERSON','closeSession','dispose$','substr','add','disposeWithMe','unitID','PSEUDO_FETCH_MISSING_RESULT','JOINING','type','_keySchedule','createInstance','append','1AVSCvz','[CollaborationSessionService]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','eventID','_instanceService','code','_process','_listenToNetworkCondition','delete','_key','_updateState','fetching\x20missing\x20changesets\x20from\x20','SNAPSHOT_SERVER_URL_KEY','_prevBlock','_undoStacks','clear','revision','CHANGESET_REVISION_CONFILICT','APPLY_PERMISSION_DENIED','error','HttpExport','_sendHeartbeat','saveChangeset','YUUMI_RATE_OVER_LIMIT','_getUploadFileURL','PasswordBasedCipher','has','[OfflineState]:\x20received\x20changeset.','OpenSSL','_onRemoteRejected','send','formatter','_rescheduleHeartbeat','GLOBAL_ROOMS_CNT_EXCEEDS','deleteCollaborator','snapshot','updateMember','OPTIONAL','CHANGESET_ACK','_singleActiveUnitService','/universer-api/user/session-ticket','NOT_FOUND','?url=','toggleOffline','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','&source=','SUBMIT_CHANGESET_TIMEOUT','_scheduleCollaborationTimeoutTimer','every','_resendTimeout','_remoteChangesetQueue','onStarting','_initRequestHeader','SHOULD_CLOSE_CONN','_lockTransition','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','duration','IDLE','replace','set','getSheetId','Univer','\x0aCurrent:\x20','awaiting','_status$','fetchMissingChangesets','unsubscribe','BlockCipherMode','CLOSE_ROOM','enableAuthServer','clone','key','_changesetReqId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_resendWithTimeout','8AVhssl','isArray','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','OFFLINE','session','_onRemoteChangeset','_onUserLeave','create','parse','hostname','apply','_state','authzUrl','Base64','_networkConditionService','_collaborationTimeoutTimer','sessionStatus$','commentUpdateEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearTimeoutTimer','_reverseMap','pauseCollaboration','NO_OTHER_CLIENTS_EDITING','updatePermissionObjEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_transitionLocked','setShowComponents','_permissionService','slice','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','now','getWorkbookSelections','origin','fetchThroughInterceptors','getUnitId','enc','words','_executeRemoteChangeset','onTransformRemoteChangesetByIMECache','ERROR_EXCEED_SIZE','_iKey','interceptor','awaitingChangeset','getValue','_startTelemetryCollaborationNewChangeset','reconnect','_event$','_timeoutTimer','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','image/jpg','permissionRejEvent','HELLO','workbook','c1Prime','_sessions','state$','FETCH_MISS','_waitCount','createCollaborator','result','CHANGESET_REJ','SEND_CHANGESET_TIMEOUT','[OfflineState]:\x20received\x20rejection.','LICENSE_IMPORT_SIZE_EXCEEDED','_transformIMECache','_clearRedo','reset','getTypeOfUnitDisposed$','list','transformStack\x20failed!','finalize','[SyncedState]:\x20received\x20acknowledgement.','CONNECTOR_DATA_TOO_LARGE','transformMutationsWithChangeset','_getAPIPrefix','_getAPIPrefixPath','_onConnectionFailed','[OfflineState]:\x20received\x20acknowledgement.','_incrementRevisionNumber','onLocalMutation','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','floor','INTERNAL_ERROR','_emitMembers','/-/object/-/batch_allowed','CONFLICT','_substituteUndoStack','TOO_MANY_REQUESTS','close','getCollabEntity$','JOIN_ROOM_FULL','getInterceptPoints','_xformMode','_collaborationSessionService','SerializableCipher','LEAVE','unpad','_revisionService','RECV','method','splice','Latin1','objectID','hasher','saveImage','actions','get','MD5','state','/block/','/allowed','min','getSheetBlock','_configService','runId','HEARTBEAT_TIMEOUT','_transformStateCache','_checkMissing','equals','clamp','PENDING','focused$','entityInit$','[SyncedState]:\x20received\x20rejection.','getMemberID','_syncEditingCollabCursor','uploadFileServerUrl','_pendingMutations','_loadDoc','size','telemetry\x20info\x20is\x20not\x20initialized','_getCtorByUniverType','_exhaustRemoteChangesetQueue','/universer-api/oidc/authpage','online$','_sessionStatus$','_onUserJoin','userID','_HTTPService','cfg','COMPRESS_MUTATION_APPLY','subUnitId','x-univer-host','_undoRedoService','abs','UPDATE_CURSOR','baseRev','ERROR_IMAGE','HmacMD5','image/jpeg','LIVESHARE_FETCH_OPERATIONS','_handler','_awaitingChangeset','bind','charCodeAt','COLLAB_WEB_SOCKET_URL','_removeRoom','SOCKET_FAILED_RETRY','members$','listCollaborators','_isPermissionRej','readAsDataURL','_change$','onRemoteAck','[CollaborationState]:\x20apply\x20error!','_onFetchMissResult','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onConflict','forEach','&to=','BlockCipher','_telemetryService','_roomCreated$','defineProperty','univer-pro.collaboration-client-socket-service','shouldCloseConn','updateCursorEvent','listRoles','_schedule','_oKey','AES','_data','/new_changes','then','getOwnPropertyDescriptor','_getLoginPath','_userManagerService','_socket','toString','values','onTransformState','COMPRESS_MUTATION_SEND','YUUMI_UNABLE_LOAD_URL','retryConnectingInterval','_members$','appendMutation','collaboration_new_changeset','_startCollaboration','encode','/universer-api/uniscript','toLowerCase','localeService','reverse','findIndex','exports','incrementRevOfUnit','range','find','_clearScheduledTask','catch','keySize','LIVESHARE_NEW_HOST','SHA1','changesets','_fetchMissChangesets','OTHER_CLIENT_EDITING','CBC','[CollaborationSessionService]:\x20socket\x20error','COMPLETION_FINISHED','body','UNIVER_PROJECT','onTransformIME','_onOffline','APPLY_REVISION_CONFILICT','_onRecvEvent','_getSignURL','onTransformRemoteChangesetByStateCache','confirm','PERMISSION_REJ','getRoom','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','disableLocalCache','_roomMembers','socket$','UPDATE_PERMISSION_OBJ','downloadEndpointUrl','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','compose','_collaborationUIEventService','_localCacheService','debug','searchParams','_getUndoStack','format','fetch_missing','waitForRoom$','_createSocket','target','UNIVER_DOC','_clearLocalCache','transformUndoRedo','onSyncEditingCollabCursor','fetchMiss','EXCHANGE_SIGN_URL_SERVER_URL_KEY','length','\x20-\x20','_snapshotService','socketService','update','liveShareNewHost','onSendChangeset','createSocket','filter','cmd','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ciphertext','univer-pro.collaboration-client.single-active-unit-service','552674XitHLP','collaboration-client.config','Cipher','_socketMessageSubscription','getCurrentUser','_stopTelemetryCollaborationNewChangeset','_waitForHeartbeatResponse','action','encryptBlock','[PendingState]:\x20received\x20acknowledgement.','_getRedoStack','_univerInstanceService','_createInitialState','originalMeta','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LIVESHARE_REQUEST_HOST','HmacSHA1','allowed','_telemetryInfo','requestParams','Hasher','JOIN_ROOM_PERMISSION_DENIED','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','MUTATION','push','call','_clearHeartbeatTimer','[CollaborationSession]','isPermissionRej','fromCharCode','COLLAB_SUBMIT_CHANGESET_URL','getCurrentSelections','_clearCollaborationTimeoutTimer','_submitChangeset','localCacheService','onRemoteRetry','newCsEvent','routeKey','onMissingChangesets','APPLY_REJECT','_map','json','session.room-cnt-exceeds','CHANGESET_SHOULD_RETRY','\x0aAfter:\x20','init','join','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_socketReady','_compressMutationService','collabSubmitChangesetUrl','_eventService','_unlockTransition','SNAPSHOT_URL_KEY','close$','__Key__','_substituteRedoStack','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','name','complete','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','APPLY_NON_SEQUENTIAL_REVISION','selections','UNDEFINED','_keyPriorReset','post','connection\x20error','onload','_clearUndo','subject','collaborators','data','prototype','sessionStatus','Decryptor','getTypeOfUnitAdded$','ONLINE','_hasher','location','_sheetTransformSelectionsService','SUBMIT_CHANGESET','randomUUID','map','reduce','mutations','_http','_candidateSocket','compute','csShouldRetryEvent','AUTHZ_URL_KEY','getUnit','resolve','_append','sigBytes','SNAPSHOT_HAS_BEEN_REMOVED','application/json','YUUMI_URL_COL_OUT_OF_RANGE','_initDependencies','conflict','_createInitialStateImpl','LICENSE_MAX_UNITS_EXCEEDED','6161904rIMwkw','unitId\x20is\x20not\x20found','HEARTBEAT','LIVESHARE_TERMINATE','_getCurrentRevision','_disableEditing','PY_RUNTIME_SCRIPT_ERROR','$super','_updateStatus','_ENC_XFORM_MODE','ENSURE_SNAPSHOT_EXECUTION','_doFinalize','concat','_onCombEvent','_sendingTimer','_joinRoom','decrypt','_resendTimer','processBlock','UnitEmbedded','getImage','collaboratorID','univer-pro.collaboration-client.network-condition.service','members','FETCH_MISSING','{fileID}','getFocusedUnit','[FetchMissState]','startTime','title','_getSendChangesetTimeout','UNIVER_COLLABORATION_CLIENT_PLUGIN','getCurrentRevOfUnit','offline','event$','objectType','addHandlerCallback','params','error$','sin','ws://127.0.0.1:8000/universer-api/comb/connect','algo','readyForCollab','string','/role','getRandomValues','&assign=','onRemoteRej','_imageSourceCache','getLatestCsReqIdBySid','_mode','_registerDependencies','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Error\x20on\x20receiving\x20event','resourceIDs','_hash','_applyRemoteChangeset','_memberService','headers','dispose','HEARTBEAT_INTERVAL','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','loadOfflineData','_collabSessionService','onTransformSelections','_tryReconnect','/object/','msCrypto','_authzIoService','session.room-not-exists','_httpService','src','_invKeySchedule','addImageSourceCache','random','3946404SWiYak','178787fLLwtU','_retryCount','max','_toggleOnline','170wRZmaV','_tryEnsureSocket','/fetchmissing?from=','joinRsp','[CollaborationEntity]','c2Prime','/rev/','execute','extend','put','default','subscribe','patch','_acknowledgedAwaitingChangeset','People','_collaborationPaused','executeCommand','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_initCloseConn','LICENSE_DISTRO_REJECTED','_nRounds','_members','/universer-api/stream/file/upload','HMAC','randomBytes','reqId','decryptBlock','RETRY_CONNECTING_MAX_COUNT','_socketService','SUCCUSS','fromCollab','INGEST','_onMessage','blockSize','_changesetSessionId','getCollabEntity','_snapshotServerService','objects','m2Prime','hasOwnProperty','_createSocketURL','resend','FAIL','_commandService','BASE64','959043KhQqzT','updateCollaborator','NoPadding','image/png','_cipher','loadUnit','316305RStvBo','_iv','LICENSE_EXPORT_SIZE_EXCEEDED','Base','kdf','loadSheet','/universer-api/snapshot','UUID','UNISCRIPT_RUN','_unitID','requireSession','onCommandExecuted','symbol','asObservable','sid','SOCKET_FAILED','APPLY_DUPLICATED','rev','stopTime','YUUMI_SUBSCRIPTION_NOT_FOUND','_throwTelemetryCollaborationNewChangeset','\x20in\x20_schedule.','status$','_doCryptBlock','ivSize','_getSessionTicket','_entities','status','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_createHmacHelper','_retryConnectingTimer','joinEvent','USERS_ENTER','transformChangesets','sendChangesetTimeout','_transformStack','stringify','not_collab','loginUrlKey','/resources','JOIN_ROOM_NOT_EXISTS','memberID','OTHER_CLIENTS_EDITING','refreshPermission','JOIN_ROOM_FAILED','unitId','_init','USERS_LEAVE','_config'];_0x2bc0=function(){return _0x3cd930;};return _0x2bc0();}const _r=new Set([_0x9b0532['id']]);function zt(_0x14af82,_0x5f28c1,_0x4ade8a,_0x580637,_0x5f539f){var _0xa4135d=_0x441125,_0x546bbe,_0x171367,_0x5036b5,_0x8c3c57;const _0x3e42ef=[];for(const _0x23d720 of _0x14af82)if(_r[_0xa4135d(0x386)](_0x23d720['id'])){if(_0x3e42ef[_0xa4135d(0x4b5)]>0x0)break;_0x3e42ef[_0xa4135d(0x1d7)](_0x23d720);break;}else _0x3e42ef[_0xa4135d(0x1d7)](_0x23d720);const _0xcc69f=(_0x171367=(_0x546bbe=_0x5f539f['getCurrentUser']())==null?void 0x0:_0x546bbe[_0xa4135d(0x440)])!=null?_0x171367:_0xa4135d(0x307),_0xcd2446=(_0x8c3c57=(_0x5036b5=_0x5f539f[_0xa4135d(0x1c3)]())==null?void 0x0:_0x5036b5['memberID'])!=null?_0x8c3c57:_0xa4135d(0x307);return{'changeset':{'unitID':_0x5f28c1,'type':_0x6e0406(_0x4ade8a[_0xa4135d(0x318)](_0x5f28c1)),'baseRev':_0x580637[_0xa4135d(0x244)](_0x5f28c1),'revision':0x0,'userID':_0xcc69f,'memberID':_0xcd2446,'mutations':_0x3e42ef},'pendingMutations':_0x14af82[_0xa4135d(0x3d3)](_0x3e42ef[_0xa4135d(0x4b5)])};}function lr(_0xe0a0ad,_0x3c387e,_0x27f7a4,_0x31d5c4,_0x398d0a){var _0x2e2f30=_0x441125,_0x21b9e9,_0x383fb2,_0x1e6aa1,_0x49544f;const _0x2a5306=[_0xe0a0ad[_0x2e2f30(0x212)]((_0x177f9f,_0x330f55)=>{var _0x19cb17=_0x2e2f30,_0x3f189a;const {id:_0x49ca38}=_0x177f9f,{id:_0x341e09,type:_0xc157f7}=_0x330f55,_0x9d5c3e=(_0x3f189a=_0x177f9f[_0x19cb17(0x249)])!=null?_0x3f189a:{'actions':null},_0x1ed077=_0x330f55[_0x19cb17(0x249)];if(_0x49ca38&&_0x49ca38!==_0x341e09)throw new Error(_0x19cb17(0x3cf)+_0x49ca38+_0x19cb17(0x4b6)+_0x341e09+'.');return{..._0x177f9f,'id':_0x341e09,'type':_0xc157f7,'params':{'unitId':_0x1ed077[_0x19cb17(0x2d4)],'textRanges':_0x1ed077[_0x19cb17(0x314)],'actions':_0x80cbd9[_0x19cb17(0x4a4)](_0x9d5c3e[_0x19cb17(0x420)],_0x1ed077[_0x19cb17(0x420)])}};},{})],_0x136f48=(_0x383fb2=(_0x21b9e9=_0x398d0a[_0x2e2f30(0x1c3)]())==null?void 0x0:_0x21b9e9[_0x2e2f30(0x440)])!=null?_0x383fb2:_0x2e2f30(0x307),_0x28689b=(_0x49544f=(_0x1e6aa1=_0x398d0a[_0x2e2f30(0x1c3)]())==null?void 0x0:_0x1e6aa1[_0x2e2f30(0x2d0)])!=null?_0x49544f:_0x2e2f30(0x307);return{'changeset':{'unitID':_0x3c387e,'type':_0x6e0406(_0x27f7a4[_0x2e2f30(0x318)](_0x3c387e)),'baseRev':_0x31d5c4['getCurrentRevOfUnit'](_0x3c387e),'revision':0x0,'userID':_0x136f48,'memberID':_0x28689b,'mutations':_0x2a5306},'pendingMutations':[]};}function Oi(_0x462bd0,_0xe30317){var _0x22aea0=_0x441125;const _0x19bee0=new _0x20e190(0x1);return setTimeout(()=>_0x19bee0[_0x22aea0(0x353)](_0xe30317),_0x462bd0),_0x19bee0[_0x22aea0(0x2b4)]()[_0x22aea0(0x2e2)](_0x1166c9(0x1));}const ur={'id':_0x58b93d['id'],'type':_0x538903[_0x441125(0x1d6)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x441125(0x46f)],Re=(_0x4b2d15,_0x4fcce5,_0x59ddac,_0x362e80)=>{var _0x42514f=_0x441125;for(var _0x122bf=_0x362e80>0x1?void 0x0:_0x362e80?fr(_0x4fcce5,_0x59ddac):_0x4fcce5,_0x201d37=_0x4b2d15[_0x42514f(0x4b5)]-0x1,_0xe6f9ac;_0x201d37>=0x0;_0x201d37--)(_0xe6f9ac=_0x4b2d15[_0x201d37])&&(_0x122bf=(_0x362e80?_0xe6f9ac(_0x4fcce5,_0x59ddac,_0x122bf):_0xe6f9ac(_0x122bf))||_0x122bf);return _0x362e80&&_0x122bf&&dr(_0x4fcce5,_0x59ddac,_0x122bf),_0x122bf;},A=(_0x564f83,_0x47cbb9)=>(_0x7758e4,_0x241e78)=>_0x47cbb9(_0x7758e4,_0x241e78,_0x564f83),yi=(_0x23d5e6=>(_0x23d5e6['NOT_COLLAB']=_0x441125(0x2cc),_0x23d5e6['SYNCED']='synced',_0x23d5e6[_0x441125(0x42f)]='pending',_0x23d5e6['AWAITING']=_0x441125(0x3ab),_0x23d5e6['AWAITING_WITH_PENDING']=_0x441125(0x301),_0x23d5e6[_0x441125(0x3ef)]=_0x441125(0x4ab),_0x23d5e6[_0x441125(0x40c)]='conflict',_0x23d5e6[_0x441125(0x3ba)]=_0x441125(0x245),_0x23d5e6))(yi||{});const Ni=0xea60;class be{constructor(_0x5cc50b,_0x4de2bf,_0x301810,_0x4cd867,_0x473190,_0x49c68d,_0x5ab591,_0x427b0a,_0x2953c2){var _0x5b6397=_0x441125;N(this,'_awaitingChangeset',null),N(this,_0x5b6397(0x436),[]),(this['unitID']=_0x5cc50b,this[_0x5b6397(0x368)]=_0x4de2bf,this[_0x5b6397(0x44e)]=_0x473190,this[_0x5b6397(0x29f)]=_0x49c68d,this[_0x5b6397(0x446)]=_0x5ab591,this[_0x5b6397(0x418)]=_0x427b0a,this['_localCacheService']=_0x2953c2,this['_awaitingChangeset']=_0x301810,this[_0x5b6397(0x436)]=_0x4cd867);}['_checkMissing'](_0x381b4e){var _0x3888f6=_0x441125;const _0x10b335=this[_0x3888f6(0x418)][_0x3888f6(0x244)](this[_0x3888f6(0x365)]);return _0x381b4e[_0x3888f6(0x37c)]>_0x10b335+0x1?(this[_0x3888f6(0x44e)][_0x3888f6(0x1e5)]({'from':_0x10b335,'to':_0x381b4e[_0x3888f6(0x37c)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5af424){var _0x1171d2=_0x441125;this[_0x1171d2(0x446)][_0x1171d2(0x4b1)](this['unitID'],_0x5af424);}[_0x441125(0x2e7)](_0x4e20cb){var _0x1bf894=_0x441125,_0x48858f,_0x564860;(_0x564860=(_0x48858f=this['_handler'])[_0x1bf894(0x264)])==null||_0x564860['call'](_0x48858f,_0x4e20cb);}[_0x441125(0x3f7)](_0x28d197){var _0x338371=_0x441125,_0x328a87,_0x17cb8c;return(_0x17cb8c=(_0x328a87=this[_0x338371(0x44e)])['onTransformIME'])==null?void 0x0:_0x17cb8c['call'](_0x328a87,_0x28d197);}[_0x441125(0x42b)](_0x1339f6){var _0x36e977=_0x441125,_0x54745a,_0x314512;return(_0x314512=(_0x54745a=this[_0x36e977(0x44e)])[_0x36e977(0x475)])==null?void 0x0:_0x314512[_0x36e977(0x1d8)](_0x54745a,_0x1339f6);}['_transformRemoteChangesetByIMECache'](_0x488c83){var _0x5ebac1=_0x441125,_0x5c6e2f,_0xdfd58e,_0x59f1b0;return(_0x59f1b0=(_0xdfd58e=(_0x5c6e2f=this[_0x5ebac1(0x44e)])[_0x5ebac1(0x3dd)])==null?void 0x0:_0xdfd58e[_0x5ebac1(0x1d8)](_0x5c6e2f,_0x488c83))!=null?_0x59f1b0:_0x488c83;}[_0x441125(0x2f3)](_0x20b044){var _0x830144=_0x441125,_0x305160,_0xefbcda,_0x3e968c;return(_0x3e968c=(_0xefbcda=(_0x305160=this[_0x830144(0x44e)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xefbcda[_0x830144(0x1d8)](_0x305160,_0x20b044))!=null?_0x3e968c:_0x20b044;}[_0x441125(0x434)](_0x573e44){var _0x2ba0a3=_0x441125,_0x1cc3fc,_0x47b3b3;if(this[_0x2ba0a3(0x368)]===Q[_0x2ba0a3(0x4af)]){const {unitID:_0x54e9a7,mutations:_0x1e85fa,memberID:_0xf650a4}=_0x573e44,_0x3c1183=_0x1e85fa[0x0][_0x2ba0a3(0x249)][_0x2ba0a3(0x314)];Array[_0x2ba0a3(0x3b8)](_0x3c1183)&&_0x3c1183[_0x2ba0a3(0x4b5)]>0x0&&((_0x47b3b3=(_0x1cc3fc=this[_0x2ba0a3(0x44e)])[_0x2ba0a3(0x4b2)])==null||_0x47b3b3[_0x2ba0a3(0x1d8)](_0x1cc3fc,{'unitID':_0x54e9a7,'memberID':_0xf650a4,'textRanges':_0x3c1183}));}}['_updateLocalCache'](){var _0x1cccbb=_0x441125,_0x1edab0;(_0x1edab0=this['_localCacheService'])==null||_0x1edab0['updateOfflineData'](this[_0x1cccbb(0x365)],this['type'],this['_awaitingChangeset'],this[_0x1cccbb(0x436)]);}['_getCurrentRevision'](){var _0x28831e=_0x441125;return this[_0x28831e(0x418)]['getCurrentRevOfUnit'](this[_0x28831e(0x365)]);}['_incrementRevisionNumber'](){var _0x492926=_0x441125;this['_revisionService'][_0x492926(0x484)](this[_0x492926(0x365)]);}[_0x441125(0x3dc)](_0x5a0e4d){var _0x5051e8=_0x441125,_0x4e6c4e;let _0x108085=this[_0x5051e8(0x344)](_0x5a0e4d);_0x108085=this[_0x5051e8(0x2f3)](_0x108085);const _0xb46a32=_0x66571c(_0x108085[_0x5051e8(0x213)],this[_0x5051e8(0x29f)],{'fromCollab':!0x0});if(!_0xb46a32[_0x5051e8(0x3f2)])throw _0xb46a32[_0x5051e8(0x37f)]instanceof Error?_0xb46a32[_0x5051e8(0x37f)]:new Error((_0x4e6c4e=_0xb46a32[_0x5051e8(0x37f)])!=null?_0x4e6c4e:_0x5051e8(0x45b));this[_0x5051e8(0x3f7)](_0x108085),this['_transformStateCache'](_0x108085),this['_transformUndoredo'](_0x5a0e4d),this[_0x5051e8(0x2e7)](_0x108085),this['_syncEditingCollabCursor'](_0x108085),this[_0x5051e8(0x405)]();}}let De=class extends be{constructor(_0x400442,_0x503038,_0x2c7d05,_0x45e8ec,_0x84a8af,_0x283668,_0x412624,_0x3a3da3,_0x46c6f9,_0x59074f){var _0x57c07a=_0x441125;super(_0x400442,_0x503038,null,[],_0x2c7d05,_0x412624,_0x283668,_0x45e8ec,_0x59074f),N(this,_0x57c07a(0x2c2),'synced'),(this[_0x57c07a(0x31d)]=_0x84a8af,this[_0x57c07a(0x33b)]=_0x3a3da3,this[_0x57c07a(0x2fd)]=_0x46c6f9,this[_0x57c07a(0x1e1)]=_0x59074f);}[_0x441125(0x47a)](_0x1186d6){var _0x17a083=_0x441125;const _0xfda4aa=this[_0x17a083(0x31d)]['createInstance'](oe,this[_0x17a083(0x365)],this['type'],[_0x1186d6],this[_0x17a083(0x44e)]);return _0xfda4aa[_0x17a083(0x469)](),_0xfda4aa[_0x17a083(0x338)](),_0xfda4aa;}[_0x441125(0x32c)](_0x1add13){var _0x2ba0f0=_0x441125;if(this[_0x2ba0f0(0x42c)](_0x1add13))return this[_0x2ba0f0(0x31d)][_0x2ba0f0(0x36a)](te,this['unitID'],this[_0x2ba0f0(0x368)],null,[],null,[_0x1add13],this[_0x2ba0f0(0x44e)]);try{const _0x163ebe=this[_0x2ba0f0(0x2fd)][_0x2ba0f0(0x400)](_0x1add13,[ur]);if(_0x1a1ef7(_0x163ebe)){const {c1Prime:_0x2d78c3}=_0x163ebe;return this[_0x2ba0f0(0x3dc)](_0x2d78c3),this;}throw _0x163ebe[_0x2ba0f0(0x37f)];}catch(_0x28f248){return this[_0x2ba0f0(0x33b)][_0x2ba0f0(0x37f)](_0x28f248),this['_onConflict'](!0x1);}}['_onConflict'](_0x4e0afb){var _0x2db900=_0x441125;return this[_0x2db900(0x31d)]['createInstance'](de,this['unitID'],this[_0x2db900(0x368)],null,[],this['_handler'],_0x4e0afb);}['onRemoteAck'](){var _0x48f106=_0x441125;throw new Error(_0x48f106(0x3fe));}[_0x441125(0x253)](){var _0x18a234=_0x441125;throw new Error(_0x18a234(0x432));}[_0x441125(0x1e2)](){return this;}[_0x441125(0x397)](){var _0x29da88=_0x441125;return this[_0x29da88(0x31d)]['createInstance'](fe,this['unitID'],this['type'],null,[],this[_0x29da88(0x44e)]);}['toggleOnline'](){return this;}['resend'](){var _0x6015ab=_0x441125;throw new Error(_0x6015ab(0x1f8));}[_0x441125(0x4b3)](){var _0x2ee088=_0x441125;const _0x1c61c3=this['_revisionService'][_0x2ee088(0x244)](this[_0x2ee088(0x365)]);return this['_handler'][_0x2ee088(0x1e5)]({'from':_0x1c61c3,'to':0x0}),this[_0x2ee088(0x31d)][_0x2ee088(0x36a)](te,this['unitID'],this['type'],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x4c1254(_0x54ca50)),A(0x4,_0x4c1254(_0x3c4fc8)),A(0x5,_0x12e445),A(0x6,_0x1686ec),A(0x7,_0x1a51d0),A(0x8,_0x3dd10f),A(0x9,_0x1cd728(J))],De);let oe=class extends be{constructor(_0x4b92c9,_0x5c3ef2,_0x25b908,_0x369400,_0x319efa,_0x2ebc5c,_0x5765d1,_0x43182c,_0x352182,_0x5b2012,_0x3d0df9,_0x1ba52a,_0x23dfa5,_0x4fffd5){var _0x51afa7=_0x441125;super(_0x4b92c9,_0x5c3ef2,null,_0x25b908,_0x369400,_0x352182,_0x23dfa5,_0x2ebc5c,_0x4fffd5),N(this,_0x51afa7(0x2c2),'pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0x51afa7(0x31d)]=_0x319efa,this[_0x51afa7(0x25d)]=_0x5765d1,this[_0x51afa7(0x33b)]=_0x43182c,this[_0x51afa7(0x428)]=_0x5b2012,this[_0x51afa7(0x2fd)]=_0x3d0df9,this[_0x51afa7(0x1ca)]=_0x1ba52a);}[_0x441125(0x47a)](_0x84ed0d){var _0xc602cc=_0x441125;return this[_0xc602cc(0x436)]['push'](_0x84ed0d),this[_0xc602cc(0x338)](),this;}['onRemoteChangeset'](_0x290a87){var _0x2c4766=_0x441125;if(this['_checkMissing'](_0x290a87))return this[_0x2c4766(0x487)](),this[_0x2c4766(0x31d)][_0x2c4766(0x36a)](te,this['unitID'],this[_0x2c4766(0x368)],null,this[_0x2c4766(0x436)],null,[_0x290a87],this[_0x2c4766(0x44e)]);try{const _0x798078=this[_0x2c4766(0x2fd)]['transformMutationsWithChangeset'](_0x290a87,this[_0x2c4766(0x436)]);if(_0x1a1ef7(_0x798078)){const {c1Prime:_0x42d091,m2Prime:_0x37ea25}=_0x798078;this[_0x2c4766(0x3dc)](_0x42d091);const _0x88f0af=this[_0x2c4766(0x31d)][_0x2c4766(0x36a)](oe,this[_0x2c4766(0x365)],this[_0x2c4766(0x368)],_0x37ea25,this[_0x2c4766(0x44e)]);this[_0x2c4766(0x487)]();const _0x5f5916=new Date()[_0x2c4766(0x310)](),_0x48537a=this[_0x2c4766(0x2da)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x5f5916,0x0):this[_0x2c4766(0x242)]();return _0x88f0af[_0x2c4766(0x469)](_0x48537a),_0x88f0af;}throw _0x798078[_0x2c4766(0x37f)];}catch(_0x14f0e7){return this[_0x2c4766(0x33b)]['error'](_0x14f0e7),this[_0x2c4766(0x45e)](!0x1);}}['onRemoteAck'](){var _0x1f1968=_0x441125;throw new Error(_0x1f1968(0x1c8));}[_0x441125(0x253)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x441125(0x397)](){var _0x5a9437=_0x441125;return this['_clearScheduledTask'](),this[_0x5a9437(0x31d)]['createInstance'](fe,this['unitID'],this[_0x5a9437(0x368)],null,this[_0x5a9437(0x436)],this['_handler']);}[_0x441125(0x2e9)](){return this;}[_0x441125(0x469)](_0x182f11){var _0xc580d3=_0x441125;const _0x10c798=_0x182f11!=null?_0x182f11:this[_0xc580d3(0x242)]();this[_0xc580d3(0x2da)]=new Date()[_0xc580d3(0x310)]()+_0x10c798,this[_0xc580d3(0x232)]=setTimeout(()=>{var _0x3ae794=_0xc580d3;this['_clearScheduledTask']();let _0x1a4492=null;switch(this[_0x3ae794(0x368)]){case Q[_0x3ae794(0x32f)]:{_0x1a4492=zt(this[_0x3ae794(0x436)],this[_0x3ae794(0x365)],this['_univerInstanceService'],this[_0x3ae794(0x418)],this[_0x3ae794(0x25d)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x3ae794(0x39c)](_0x2c0295=>_0x2c0295['id']===_0x3a3ae5['id'])?_0x1a4492=lr(this[_0x3ae794(0x436)],this[_0x3ae794(0x365)],this['_univerInstanceService'],this[_0x3ae794(0x418)],this[_0x3ae794(0x25d)]):_0x1a4492=zt(this['_pendingMutations'],this[_0x3ae794(0x365)],this[_0x3ae794(0x1ca)],this[_0x3ae794(0x418)],this[_0x3ae794(0x25d)]);break;}default:throw new Error(_0x3ae794(0x1bc)+this[_0x3ae794(0x368)]+_0x3ae794(0x2bc));}const {changeset:_0x2a1ea1,pendingMutations:_0x34e598}=_0x1a4492;this[_0x3ae794(0x44e)][_0x3ae794(0x1b8)](_0x2a1ea1);const _0x404780=_0x34e598[_0x3ae794(0x4b5)]?this[_0x3ae794(0x31d)]['createInstance'](ae,this[_0x3ae794(0x365)],this[_0x3ae794(0x368)],_0x2a1ea1,_0x34e598,this[_0x3ae794(0x44e)],void 0x0):this[_0x3ae794(0x31d)][_0x3ae794(0x36a)](ue,this[_0x3ae794(0x365)],this[_0x3ae794(0x368)],_0x2a1ea1,this[_0x3ae794(0x44e)]);_0x404780['_updateLocalCache'](),this[_0x3ae794(0x44e)]['onStateChange'](this,_0x404780);},_0x10c798);}[_0x441125(0x242)](){var _0x3e5a98=_0x441125,_0x582f1b;const _0x50a35b=this[_0x3e5a98(0x428)][_0x3e5a98(0x336)](q);return(_0x582f1b=_0x50a35b==null?void 0x0:_0x50a35b[_0x3e5a98(0x2c9)])!=null?_0x582f1b:Cn;}['resend'](){var _0x1b8d66=_0x441125;throw new Error(_0x1b8d66(0x36e));}[_0x441125(0x487)](){var _0xd83ecf=_0x441125;this['_sendingTimer']!=null&&(clearTimeout(this[_0xd83ecf(0x232)]),this[_0xd83ecf(0x232)]=null);}[_0x441125(0x45e)](_0x2e1f14){var _0x2f1498=_0x441125;return this[_0x2f1498(0x487)](),this[_0x2f1498(0x31d)]['createInstance'](de,this[_0x2f1498(0x365)],this['type'],null,this[_0x2f1498(0x436)],this['_handler'],_0x2e1f14);}};oe=Re([A(0x4,_0x4c1254(_0x3c4fc8)),A(0x5,_0x4c1254(_0x54ca50)),A(0x6,_0x4c1254(xe)),A(0x7,_0x1a51d0),A(0x8,_0x1686ec),A(0x9,_0xbb3a21),A(0xa,_0x3dd10f),A(0xb,_0x29cfcd),A(0xc,_0x12e445),A(0xd,_0x1cd728(J))],oe);let ue=class extends be{constructor(_0x276a99,_0x483500,_0x5df7fb,_0x817b96,_0xb484b,_0x5c2efa,_0xeb2e4c,_0x1ac4d7,_0x4e7523,_0x3254e8,_0x4acdb2){var _0x38a820=_0x441125;super(_0x276a99,_0x483500,_0x5df7fb,[],_0x817b96,_0xeb2e4c,_0x3254e8,_0x5c2efa,_0x4acdb2),N(this,'status','awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x38a820(0x235)),N(this,'_sender'),(this['_injector']=_0xb484b,this['_logService']=_0x1ac4d7,this['_transformService']=_0x4e7523);}[_0x441125(0x47a)](_0x2af07f){var _0x6e32ad=_0x441125;this[_0x6e32ad(0x487)]();const _0x11fa30=this[_0x6e32ad(0x31d)][_0x6e32ad(0x36a)](ae,this[_0x6e32ad(0x365)],this[_0x6e32ad(0x368)],this['_awaitingChangeset'],[_0x2af07f],this['_handler'],this[_0x6e32ad(0x235)]);return _0x11fa30[_0x6e32ad(0x338)](),_0x11fa30;}['onRemoteChangeset'](_0x3608ad){var _0x10106f=_0x441125;if(this[_0x10106f(0x42c)](_0x3608ad))return this[_0x10106f(0x487)](),this[_0x10106f(0x31d)][_0x10106f(0x36a)](te,this[_0x10106f(0x365)],this[_0x10106f(0x368)],this[_0x10106f(0x44f)],[],null,[_0x3608ad],this[_0x10106f(0x44e)]);try{const _0x464e4c=this[_0x10106f(0x2fd)][_0x10106f(0x2c8)]([_0x3608ad],[this[_0x10106f(0x44f)]],!0x1);if(_0x3e0e4d(_0x464e4c)){const {c1Prime:_0x447f9a,c2Prime:_0x1948db}=_0x464e4c;this[_0x10106f(0x3dc)](_0x447f9a[0x0]),_0x1948db[0x0][_0x10106f(0x449)]=this[_0x10106f(0x228)](),this['_clearScheduledTask']();const _0x4ec9b7=this[_0x10106f(0x31d)][_0x10106f(0x36a)](ue,this[_0x10106f(0x365)],this[_0x10106f(0x368)],_0x1948db[0x0],this[_0x10106f(0x44e)]);return _0x4ec9b7[_0x10106f(0x338)](),_0x4ec9b7;}return this[_0x10106f(0x45e)](!0x1);}catch(_0x4d841b){return this[_0x10106f(0x33b)]['error'](_0x4d841b),this['_onConflict'](!0x1);}}[_0x441125(0x45a)](_0x447779){var _0x39406e=_0x441125;this[_0x39406e(0x487)]();const _0x3c08f5=this[_0x39406e(0x418)][_0x39406e(0x244)](this[_0x39406e(0x365)]);if(_0x447779[_0x39406e(0x37c)]<_0x3c08f5-0x1)return this;if(this['_checkMissing'](_0x447779))return this[_0x39406e(0x31d)][_0x39406e(0x36a)](te,this['unitID'],this[_0x39406e(0x368)],null,[],this[_0x39406e(0x44f)],[],this[_0x39406e(0x44e)]);this[_0x39406e(0x405)]();const _0xe46a83=this['_injector'][_0x39406e(0x36a)](De,this[_0x39406e(0x365)],this[_0x39406e(0x368)],this[_0x39406e(0x44e)]);return _0xe46a83[_0x39406e(0x338)](),_0xe46a83;}['onRemoteRej'](_0x125bcb){var _0x1a9366=_0x441125;return this[_0x1a9366(0x45e)](!!(_0x125bcb!=null&&_0x125bcb[_0x1a9366(0x1db)]));}[_0x441125(0x1e2)](_0x2313e6){var _0x1e30ce=_0x441125;return this['_resendTimeout']>Ni?this[_0x1e30ce(0x397)]():(this[_0x1e30ce(0x235)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x2313e6['reqId']}),this[_0x1e30ce(0x317)]=this['_resendTimer'][_0x1e30ce(0x27f)](({reqId:_0x3ee093,timeout:_0x4e242f})=>{var _0x5a445d=_0x1e30ce;this[_0x5a445d(0x3b6)](_0x3ee093,_0x4e242f);}),this);}[_0x441125(0x397)](){var _0x3ed9fb=_0x441125;return this[_0x3ed9fb(0x487)](),this[_0x3ed9fb(0x31d)][_0x3ed9fb(0x36a)](fe,this[_0x3ed9fb(0x365)],this[_0x3ed9fb(0x368)],this['_awaitingChangeset'],[],this[_0x3ed9fb(0x44e)]);}[_0x441125(0x2e9)](){return this;}['resend'](){var _0x4ce29e=_0x441125;this[_0x4ce29e(0x44e)][_0x4ce29e(0x1b8)](this[_0x4ce29e(0x44f)]);}[_0x441125(0x45e)](_0x1108bf){var _0x3ad7dd=_0x441125;return this['_clearScheduledTask'](),this['_injector'][_0x3ad7dd(0x36a)](de,this['unitID'],this['type'],this[_0x3ad7dd(0x44f)],[],this['_handler'],_0x1108bf);}['_resendWithTimeout'](_0x493232,_0x48e262){var _0x5b8e81=_0x441125,_0x4ff591;_0x493232===((_0x4ff591=this['_awaitingChangeset'])==null?void 0x0:_0x4ff591[_0x5b8e81(0x28d)])&&(this[_0x5b8e81(0x29d)](),this[_0x5b8e81(0x39d)]=_0x48e262===0x0?0x3e8:_0x48e262*0x2);}['_clearScheduledTask'](){var _0x35a657=_0x441125,_0x20a978;(_0x20a978=this[_0x35a657(0x317)])==null||_0x20a978[_0x35a657(0x3ae)](),this[_0x35a657(0x39d)]=0x0;}};ue=Re([A(0x4,_0x4c1254(_0x3c4fc8)),A(0x5,_0x4c1254(_0x54ca50)),A(0x6,_0x1686ec),A(0x7,_0x1a51d0),A(0x8,_0x3dd10f),A(0x9,_0x12e445),A(0xa,_0x1cd728(J))],ue);let ae=class extends be{constructor(_0x245e8f,_0x37838b,_0x5a2b11,_0xf1e85c,_0xdf9632,_0x5b8254,_0x440608,_0x4f5e9f,_0x2aceb6,_0x191c8f,_0x520eaa,_0x472466,_0x1a3355){var _0x34b230=_0x441125;super(_0x245e8f,_0x37838b,_0x5a2b11,_0xf1e85c,_0xdf9632,_0x2aceb6,_0x472466,_0x4f5e9f,_0x1a3355),N(this,_0x34b230(0x2c2),'awaiting_with_pending'),N(this,_0x34b230(0x39d),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x34b230(0x31d)]=_0x440608,this[_0x34b230(0x33b)]=_0x191c8f,this[_0x34b230(0x2fd)]=_0x520eaa,this[_0x34b230(0x1e1)]=_0x1a3355,_0x5b8254&&(this[_0x34b230(0x235)]=_0x5b8254,this[_0x34b230(0x317)]=this[_0x34b230(0x235)]['subscribe'](({reqId:_0xf9fe30,timeout:_0x2798c5})=>{var _0x30e4c3=_0x34b230;this[_0x30e4c3(0x3b6)](_0xf9fe30,_0x2798c5);})));}[_0x441125(0x47a)](_0x3077ab){var _0x444697=_0x441125;return this['_pendingMutations'][_0x444697(0x1d7)](_0x3077ab),this;}[_0x441125(0x32c)](_0x94cd5f){var _0x2f347e=_0x441125;if(this[_0x2f347e(0x42c)](_0x94cd5f))return this[_0x2f347e(0x487)](),this[_0x2f347e(0x31d)][_0x2f347e(0x36a)](te,this[_0x2f347e(0x365)],this[_0x2f347e(0x368)],this['_awaitingChangeset'],this[_0x2f347e(0x436)],null,[_0x94cd5f],this['_handler']);try{const _0x4c69e5=this['_transformService']['transformChangesets']([_0x94cd5f],[this['_awaitingChangeset']],!0x1);if(_0x3e0e4d(_0x4c69e5)){const {c1Prime:_0x3a8a6f,c2Prime:_0x49ea16}=_0x4c69e5,_0x365329=this[_0x2f347e(0x2fd)][_0x2f347e(0x400)](_0x3a8a6f[0x0],this[_0x2f347e(0x436)]);if(_0x1a1ef7(_0x365329)){const {c1Prime:_0x5976a2,m2Prime:_0x2a52a3}=_0x365329;return this[_0x2f347e(0x3dc)](_0x5976a2),_0x49ea16[0x0][_0x2f347e(0x449)]=this[_0x2f347e(0x228)](),this['_clearScheduledTask'](),this['_injector'][_0x2f347e(0x36a)](ae,this['unitID'],this[_0x2f347e(0x368)],_0x49ea16[0x0],_0x2a52a3,this[_0x2f347e(0x44e)],void 0x0);}throw _0x365329['error'];}throw _0x4c69e5[_0x2f347e(0x37f)];}catch(_0x491478){return this[_0x2f347e(0x33b)]['error'](_0x491478),this[_0x2f347e(0x45e)](!0x1);}}[_0x441125(0x45a)](_0x458d71){var _0x27413e=_0x441125;if(this[_0x27413e(0x487)](),this['_checkMissing'](_0x458d71))return this[_0x27413e(0x31d)][_0x27413e(0x36a)](te,this['unitID'],this[_0x27413e(0x368)],null,this[_0x27413e(0x436)],this[_0x27413e(0x44f)],[],this[_0x27413e(0x44e)]);this[_0x27413e(0x405)]();const _0x1e101f=this['_injector'][_0x27413e(0x36a)](oe,this[_0x27413e(0x365)],this[_0x27413e(0x368)],this[_0x27413e(0x436)],this[_0x27413e(0x44e)]);return _0x1e101f[_0x27413e(0x469)](),_0x1e101f['_updateLocalCache'](),_0x1e101f;}[_0x441125(0x253)](_0x3b35be){var _0xa22d11=_0x441125;return this[_0xa22d11(0x45e)](!!(_0x3b35be!=null&&_0x3b35be[_0xa22d11(0x1db)]));}[_0x441125(0x1e2)](_0x434157){var _0x41d8cb=_0x441125;return this[_0x41d8cb(0x39d)]>Ni?this[_0x41d8cb(0x397)]():(this['_resendTimer']=Oi(this[_0x41d8cb(0x39d)],{'timeout':this['_resendTimeout'],'reqId':_0x434157[_0x41d8cb(0x28d)]}),this[_0x41d8cb(0x317)]=this['_resendTimer'][_0x41d8cb(0x27f)](({reqId:_0xc41f5c,timeout:_0x2ee61c})=>{var _0x18a582=_0x41d8cb;this[_0x18a582(0x3b6)](_0xc41f5c,_0x2ee61c);}),this);}[_0x441125(0x397)](){var _0x42a37d=_0x441125;return this[_0x42a37d(0x487)](),this[_0x42a37d(0x31d)]['createInstance'](fe,this[_0x42a37d(0x365)],this[_0x42a37d(0x368)],this[_0x42a37d(0x44f)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x441125(0x29d)](){var _0x21cbcb=_0x441125;this[_0x21cbcb(0x44e)][_0x21cbcb(0x1b8)](this[_0x21cbcb(0x44f)]);}[_0x441125(0x45e)](_0x569fdc){var _0x4d08d4=_0x441125;return this[_0x4d08d4(0x487)](),this['_injector'][_0x4d08d4(0x36a)](de,this[_0x4d08d4(0x365)],this[_0x4d08d4(0x368)],null,this[_0x4d08d4(0x436)],this[_0x4d08d4(0x44e)],_0x569fdc);}['_resendWithTimeout'](_0x4821c7,_0x56d7f2){var _0x25e404=_0x441125,_0x2b224c;_0x4821c7===((_0x2b224c=this['_awaitingChangeset'])==null?void 0x0:_0x2b224c[_0x25e404(0x28d)])&&(this['resend'](),this[_0x25e404(0x39d)]=_0x56d7f2===0x0?0x3e8:_0x56d7f2*0x2);}['_clearScheduledTask'](){var _0x341258=_0x441125,_0x55f37d;(_0x55f37d=this[_0x341258(0x317)])==null||_0x55f37d[_0x341258(0x3ae)](),this[_0x341258(0x39d)]=0x0;}};ae=Re([A(0x6,_0x4c1254(_0x3c4fc8)),A(0x7,_0x4c1254(_0x54ca50)),A(0x8,_0x1686ec),A(0x9,_0x1a51d0),A(0xa,_0x3dd10f),A(0xb,_0x12e445),A(0xc,_0x1cd728(J))],ae);let de=class extends be{constructor(_0x14b374,_0x37842f,_0x2333b5,_0x22c8c1,_0xa32986,_0x256779=!0x1,_0x316935,_0xca2827,_0x5527d0,_0x366284,_0x26ce1a,_0x46bccd,_0xce1194){var _0x5b25e4=_0x441125;super(_0x14b374,_0x37842f,_0x2333b5,_0x22c8c1,_0xa32986,_0xca2827,_0x5527d0,_0x366284,_0xce1194),N(this,'status',_0x5b25e4(0x221)),(this[_0x5b25e4(0x457)]=_0x256779,this[_0x5b25e4(0x3d2)]=_0x316935,this[_0x5b25e4(0x345)]=_0x26ce1a,this[_0x5b25e4(0x4a5)]=_0x46bccd,this['localCacheService']=_0xce1194,this['_showConflictNotification'](),this[_0x5b25e4(0x4b0)](),this[_0x5b25e4(0x229)]());}[_0x441125(0x47a)](){return this;}[_0x441125(0x32c)](){return this;}['onRemoteAck'](){return this;}[_0x441125(0x253)](){return this;}[_0x441125(0x1e2)](){return this;}[_0x441125(0x397)](){return this;}[_0x441125(0x2e9)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x55b63d=_0x441125,_0x59a3e1;(_0x59a3e1=this[_0x55b63d(0x4a6)])==null||_0x59a3e1['updateOfflineData'](this[_0x55b63d(0x365)],this[_0x55b63d(0x368)],null,[]);}[_0x441125(0x33a)](){var _0x5e5655=_0x441125;this[_0x5e5655(0x457)]?this[_0x5e5655(0x4a5)][_0x5e5655(0x31f)]({'id':se[_0x5e5655(0x2f0)]}):this[_0x5e5655(0x4a5)][_0x5e5655(0x31f)]({'id':se[_0x5e5655(0x40c)]});}['_disableEditing'](){var _0xb955e4=_0x441125;this['_permissionService'][_0xb955e4(0x2f9)](new _0x51fb1a(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x4c1254(_0x517680)),A(0x7,_0x1686ec),A(0x8,_0x12e445),A(0x9,_0x4c1254(_0x54ca50)),A(0xa,_0x4c1254(_0x248311)),A(0xb,_0x4c1254(pe)),A(0xc,_0x1cd728(J))],de);let fe=class extends be{constructor(_0x485058,_0x6bdff0,_0x2f927b,_0x5833c5,_0x287f9c,_0x4e6ee9,_0x23aa45,_0x4ba268,_0x33a9ec,_0x38f1a2){var _0x491f37=_0x441125;super(_0x485058,_0x6bdff0,_0x2f927b,_0x5833c5,_0x287f9c,_0x4ba268,_0x33a9ec,_0x23aa45,_0x38f1a2),N(this,_0x491f37(0x2c2),'offline'),this[_0x491f37(0x31d)]=_0x4e6ee9;}[_0x441125(0x47a)](_0x48e545){var _0x42721d=_0x441125;return this[_0x42721d(0x436)][_0x42721d(0x1d7)](_0x48e545),this[_0x42721d(0x338)](),this;}['onRemoteChangeset'](_0x150bfe){var _0x4dbde2=_0x441125;throw new Error(_0x4dbde2(0x387));}[_0x441125(0x45a)](){var _0x1c060f=_0x441125;throw new Error(_0x1c060f(0x404));}[_0x441125(0x253)](){var _0x1a00db=_0x441125;throw new Error(_0x1a00db(0x3f5));}[_0x441125(0x1e2)](){return this;}[_0x441125(0x397)](){return this;}[_0x441125(0x2e9)](){var _0x2d1c72=_0x441125;const {_injector:_0x25532d,_pendingMutations:_0x1ec7a0,_awaitingChangeset:_0x7f4dce,unitID:_0x459eb5,_handler:_0x8fa20f,type:_0x267155}=this,_0x3e6474=Di(_0x25532d,_0x459eb5,_0x267155,_0x7f4dce,_0x1ec7a0,_0x8fa20f);return _0x3e6474 instanceof oe?_0x3e6474[_0x2d1c72(0x469)]():(_0x3e6474 instanceof ae||_0x3e6474 instanceof ue)&&_0x3e6474[_0x2d1c72(0x29d)](),_0x3e6474;}['resend'](){var _0x19a774=_0x441125;throw new Error(_0x19a774(0x3a3));}};fe=Re([A(0x5,_0x4c1254(_0x3c4fc8)),A(0x6,_0x4c1254(_0x54ca50)),A(0x7,_0x1686ec),A(0x8,_0x12e445),A(0x9,_0x1cd728(J))],fe);let te=class extends be{constructor(_0x5ebd4f,_0x3b0b1e,_0x3ebbdb,_0x3db62b,_0xf22f6e,_0x56f580,_0x4ea775,_0x100dfb,_0x3ddfa3,_0x5b7341,_0xf05a06,_0x527699,_0x3b2316,_0x443381){var _0x2b4894=_0x441125;super(_0x5ebd4f,_0x3b0b1e,_0x3ebbdb,_0x3db62b,_0x4ea775,_0xf05a06,_0x527699,_0x3ddfa3,_0x443381),N(this,'status',_0x2b4894(0x4ab)),(this['_acknowledgedAwaitingChangeset']=_0xf22f6e,this[_0x2b4894(0x308)]=_0x56f580,this['_injector']=_0x100dfb,this[_0x2b4894(0x33b)]=_0x5b7341,this[_0x2b4894(0x2fd)]=_0x3b2316,this[_0x2b4894(0x1e1)]=_0x443381);}[_0x441125(0x357)](_0x53f82c){var _0x770c25=_0x441125;try{const _0x584c1d=[..._0x53f82c,...this['_queuedRemoteChangesets']],_0x55c702=[this['_awaitingChangeset']||this[_0x770c25(0x281)]][_0x770c25(0x1ba)](_0x1de4f0=>!!_0x1de4f0);let _0xad5021,_0x37251d;if(_0x55c702[_0x770c25(0x4b5)]){const _0x4c18e3=this[_0x770c25(0x2fd)]['transformChangesets'](_0x584c1d,_0x55c702,!0x1);if(!_0x3e0e4d(_0x4c18e3))throw _0x4c18e3['error'];_0xad5021=_0x4c18e3[_0x770c25(0x3ec)],_0x37251d=_0x4c18e3[_0x770c25(0x279)];}else _0xad5021=_0x584c1d,_0x37251d=[];let _0x3ebd1f=this[_0x770c25(0x436)];_0xad5021[_0x770c25(0x45f)](_0x1e96c8=>{var _0x5f4198=_0x770c25;let _0x17015e;if(_0x3ebd1f[_0x5f4198(0x4b5)]){const _0x285ce6=this[_0x5f4198(0x2fd)]['transformMutationsWithChangeset'](_0x1e96c8,_0x3ebd1f);if(!_0x1a1ef7(_0x285ce6))throw _0x285ce6['error'];_0x17015e=_0x285ce6[_0x5f4198(0x3ec)],_0x3ebd1f=_0x285ce6[_0x5f4198(0x29a)];}else _0x17015e=_0x1e96c8;this[_0x5f4198(0x3dc)](_0x17015e);}),this[_0x770c25(0x281)]&&this['_incrementRevisionNumber'](),this[_0x770c25(0x44f)]&&_0x37251d[_0x770c25(0x4b5)]&&(_0x37251d[0x0][_0x770c25(0x449)]=this['_getCurrentRevision']());let _0x40d7ff;if(this[_0x770c25(0x44f)]&&_0x3ebd1f[_0x770c25(0x4b5)]!==0x0)_0x40d7ff=this['_injector'][_0x770c25(0x36a)](ae,this[_0x770c25(0x365)],this[_0x770c25(0x368)],_0x37251d[0x0],_0x3ebd1f,this[_0x770c25(0x44e)],void 0x0);else{if(this[_0x770c25(0x44f)]&&_0x3ebd1f['length']===0x0)_0x37251d[0x0][_0x770c25(0x449)]=this[_0x770c25(0x228)](),_0x40d7ff=this['_injector']['createInstance'](ue,this[_0x770c25(0x365)],this[_0x770c25(0x368)],_0x37251d[0x0],this['_handler']);else{if(_0x3ebd1f['length']!==0x0){const _0x2e7b2f=this[_0x770c25(0x31d)][_0x770c25(0x36a)](oe,this[_0x770c25(0x365)],this[_0x770c25(0x368)],_0x3ebd1f,this[_0x770c25(0x44e)]);_0x2e7b2f[_0x770c25(0x469)](),_0x40d7ff=_0x2e7b2f;}else _0x40d7ff=this[_0x770c25(0x31d)][_0x770c25(0x36a)](De,this[_0x770c25(0x365)],this[_0x770c25(0x368)],this[_0x770c25(0x44e)]);}}return _0x40d7ff['_updateLocalCache'](),_0x40d7ff;}catch(_0x24cd9b){return this['_logService']['error'](_0x770c25(0x23f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x24cd9b),this[_0x770c25(0x31d)][_0x770c25(0x36a)](de,this[_0x770c25(0x365)],this[_0x770c25(0x368)],this[_0x770c25(0x44f)],this[_0x770c25(0x436)],this[_0x770c25(0x44e)],!0x1);}}[_0x441125(0x29d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x441125(0x47a)](_0x4f5d96){var _0x3e9f52=_0x441125;return this[_0x3e9f52(0x436)][_0x3e9f52(0x1d7)](_0x4f5d96),this;}['onRemoteChangeset'](_0x3cb5c3){var _0x22e1a1=_0x441125;return this[_0x22e1a1(0x308)][_0x22e1a1(0x1d7)](_0x3cb5c3),this;}[_0x441125(0x45a)](_0x35399c){var _0x506898=_0x441125;if(this['_awaitingChangeset'])return this[_0x506898(0x281)]=this['_awaitingChangeset'],this[_0x506898(0x44f)]=null,this;throw new Error(_0x506898(0x1fb));}['onRemoteRej'](_0x13af84){var _0x161bc6=_0x441125;return this[_0x161bc6(0x45e)](!!(_0x13af84!=null&&_0x13af84[_0x161bc6(0x1db)]));}[_0x441125(0x1e2)](){return this;}[_0x441125(0x397)](){var _0x388dec=_0x441125;return this[_0x388dec(0x31d)][_0x388dec(0x36a)](fe,this['unitID'],this[_0x388dec(0x368)],this['_awaitingChangeset'],this[_0x388dec(0x436)],this['_handler']);}[_0x441125(0x2e9)](){return this;}[_0x441125(0x45e)](_0x5d4bd8){var _0x5b8417=_0x441125;return this[_0x5b8417(0x31d)][_0x5b8417(0x36a)](de,this[_0x5b8417(0x365)],this[_0x5b8417(0x368)],this[_0x5b8417(0x44f)],this[_0x5b8417(0x436)],this[_0x5b8417(0x44e)],_0x5d4bd8);}};te=Re([A(0x7,_0x4c1254(_0x3c4fc8)),A(0x8,_0x4c1254(_0x54ca50)),A(0x9,_0x1a51d0),A(0xa,_0x1686ec),A(0xb,_0x12e445),A(0xc,_0x3dd10f),A(0xd,_0x1cd728(J))],te);function Di(_0x2489d1,_0x496f6c,_0x21e605,_0x180518,_0x26c2f6,_0xe727ae){var _0x5084af=_0x441125;return _0x180518&&_0x26c2f6['length']?_0x2489d1[_0x5084af(0x36a)](ae,_0x496f6c,_0x21e605,_0x180518,_0x26c2f6,_0xe727ae,void 0x0):_0x180518?_0x2489d1[_0x5084af(0x36a)](ue,_0x496f6c,_0x21e605,_0x180518,_0xe727ae):_0x26c2f6[_0x5084af(0x4b5)]?_0x2489d1[_0x5084af(0x36a)](oe,_0x496f6c,_0x21e605,_0x26c2f6,_0xe727ae):_0x2489d1[_0x5084af(0x36a)](De,_0x496f6c,_0x21e605,_0xe727ae);}var vr=Object[_0x441125(0x464)],pr=Object[_0x441125(0x46f)],Lt=(_0x4d9f35,_0x4106ef,_0x20d282,_0x4b4126)=>{var _0x3db6a1=_0x441125;for(var _0x2b7cbf=_0x4b4126>0x1?void 0x0:_0x4b4126?pr(_0x4106ef,_0x20d282):_0x4106ef,_0xb2e16c=_0x4d9f35[_0x3db6a1(0x4b5)]-0x1,_0xf3852c;_0xb2e16c>=0x0;_0xb2e16c--)(_0xf3852c=_0x4d9f35[_0xb2e16c])&&(_0x2b7cbf=(_0x4b4126?_0xf3852c(_0x4106ef,_0x20d282,_0x2b7cbf):_0xf3852c(_0x2b7cbf))||_0x2b7cbf);return _0x4b4126&&_0x2b7cbf&&vr(_0x4106ef,_0x20d282,_0x2b7cbf),_0x2b7cbf;},k=(_0x434886,_0x36087c)=>(_0x18e536,_0xfc8ab2)=>_0x36087c(_0x18e536,_0xfc8ab2,_0x434886);let nt=class extends _0x34ba39{constructor(_0x545d07,_0x137857,_0x5ba047,_0x7be226,_0x195ed3,_0x1e53a4,_0x297925,_0x43ac12,_0x5e4d17,_0x5018d4,_0x82e8de,_0x36e887,_0x5687a3){var _0x4bf7cf=_0x441125;super(),N(this,_0x4bf7cf(0x2df),new _0x513a8a(null)),N(this,'state$',this[_0x4bf7cf(0x2df)][_0x4bf7cf(0x2b4)]()),N(this,_0x4bf7cf(0x3c2)),N(this,_0x4bf7cf(0x283),!0x1),N(this,_0x4bf7cf(0x296),''),N(this,_0x4bf7cf(0x3b4),0x0),N(this,_0x4bf7cf(0x2bd),this[_0x4bf7cf(0x3ee)]['pipe'](_0xf16de4(_0x57865e=>_0x57865e?_0x57865e[_0x4bf7cf(0x2c2)]:yi['OFFLINE']),_0x49481d(0x1))),N(this,_0x4bf7cf(0x3d0),!0x1),N(this,_0x4bf7cf(0x39e),[]),(this[_0x4bf7cf(0x365)]=_0x545d07,this['session']=_0x137857,this[_0x4bf7cf(0x346)]=_0x5ba047,this[_0x4bf7cf(0x31d)]=_0x7be226,this[_0x4bf7cf(0x1f0)]=_0x195ed3,this[_0x4bf7cf(0x345)]=_0x1e53a4,this[_0x4bf7cf(0x418)]=_0x297925,this[_0x4bf7cf(0x1f2)]=_0x43ac12,this[_0x4bf7cf(0x33b)]=_0x5e4d17,this[_0x4bf7cf(0x29f)]=_0x5018d4,this['_permissionService']=_0x82e8de,this[_0x4bf7cf(0x393)]=_0x36e887,this[_0x4bf7cf(0x4a6)]=_0x5687a3);}get[_0x441125(0x423)](){var _0x5fa1d4=_0x441125;return this[_0x5fa1d4(0x3c2)];}async['init'](){var _0x201cfb=_0x441125;if(this[_0x201cfb(0x423)])throw new Error(_0x201cfb(0x398));await this[_0x201cfb(0x2d5)]();}[_0x441125(0x3cc)](){return this['_collaborationPaused']=!0x0,_0x42b4a6(()=>{var _0x796a89=_0x317a;this[_0x796a89(0x283)]=!0x1,this[_0x796a89(0x43b)]();});}[_0x441125(0x406)](_0x52cec2){var _0x4b9e3e=_0x441125;this[_0x4b9e3e(0x312)](_0x52cec2);}[_0x441125(0x376)](_0x40d5ad){var _0x26bcc4=_0x441125;this[_0x26bcc4(0x3c2)]=_0x40d5ad,this[_0x26bcc4(0x2df)][_0x26bcc4(0x353)](_0x40d5ad);}async[_0x441125(0x2d5)](){var _0x2eef67=_0x441125,_0xbef716;this[_0x2eef67(0x376)](await this[_0x2eef67(0x1cb)]()),this[_0x2eef67(0x393)]&&((_0xbef716=this['_singleActiveUnitService'])==null||_0xbef716[_0x2eef67(0x332)](this[_0x2eef67(0x365)]),this[_0x2eef67(0x364)](this[_0x2eef67(0x393)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x573767=>{var _0x3173ec=_0x2eef67;this[_0x3173ec(0x33b)][_0x3173ec(0x4a7)](_0x3173ec(0x278),'editing\x20status\x20changed\x20to',_0x573767),_0x573767===bi[_0x3173ec(0x2d1)]?(this[_0x3173ec(0x1f2)]['emitEvent']({'id':se[_0x3173ec(0x48e)]}),this[_0x3173ec(0x3d2)][_0x3173ec(0x2f9)](new _0x51fb1a(this[_0x3173ec(0x365)])['id'],!0x1),this['_permissionService'][_0x3173ec(0x3d1)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x51fb1a(this[_0x3173ec(0x365)])['id'],!0x0),this[_0x3173ec(0x3d2)][_0x3173ec(0x3d1)](!0x0));})));let _0x7e411=!0x1;return this[_0x2eef67(0x364)](this[_0x2eef67(0x3bb)][_0x2eef67(0x3c7)]['subscribe'](_0x474910=>{var _0x5cef3d=_0x2eef67;_0x474910===Te[_0x5cef3d(0x20b)]?this[_0x5cef3d(0x273)](_0x7e411):_0x474910===Te['OFFLINE']&&(_0x7e411=!0x0,this['_toggleOffline']());})),this[_0x2eef67(0x364)](this['session']['event$'][_0x2eef67(0x27f)](_0x33ec71=>{var _0xf7d4d9=_0x2eef67;try{switch(_0x33ec71[_0xf7d4d9(0x36f)]){case _0x60c778[_0xf7d4d9(0x30e)]:{this[_0xf7d4d9(0x3bc)](_0x3d2439(_0x33ec71[_0xf7d4d9(0x206)]));break;}case _0x60c778['CHANGESET_ACK']:{this['_onRemoteACK'](_0x33ec71[_0xf7d4d9(0x206)]);break;}case _0x60c778[_0xf7d4d9(0x3f3)]:{this['_onRemoteRejected']();break;}case _0x60c778[_0xf7d4d9(0x1ea)]:{this[_0xf7d4d9(0x334)](_0x33ec71['data']);break;}case _0x60c778[_0xf7d4d9(0x366)]:{this[_0xf7d4d9(0x45c)](_0x33ec71[_0xf7d4d9(0x206)][_0xf7d4d9(0x48c)][_0xf7d4d9(0x211)](_0x2596d1=>_0x3d2439(_0x2596d1)));break;}case _0x60c778[_0xf7d4d9(0x49b)]:{this[_0xf7d4d9(0x389)]({'isPermissionRej':!0x0});break;}case _0x60c778['UNISCRIPT_RUN']:break;}}catch(_0x45bdf8){throw console['error'](_0xf7d4d9(0x259),_0x45bdf8),_0x45bdf8;}})),this['_state'];}['_unlockTransition'](){var _0x4a3be0=_0x441125;this[_0x4a3be0(0x3d0)]=!0x1;}[_0x441125(0x3a2)](){var _0x39f9b9=_0x441125;if(this[_0x39f9b9(0x3d0)])throw new Error(_0x39f9b9(0x341));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x11527a){var _0x24c0bf=_0x441125;this[_0x24c0bf(0x3a2)](),this[_0x24c0bf(0x376)](this[_0x24c0bf(0x3c2)][_0x24c0bf(0x47a)](_0x11527a)),this['_unlockTransition']();}[_0x441125(0x3bc)](_0x196230){var _0x226875=_0x441125;if(!(_0x196230['revision']<=this['_revisionService'][_0x226875(0x244)](this['unitID']))){if(this['_collaborationPaused']){this[_0x226875(0x39e)]['push'](_0x196230);return;}this[_0x226875(0x25c)](_0x196230);}}[_0x441125(0x43b)](){var _0x3de75c=_0x441125;this[_0x3de75c(0x39e)][_0x3de75c(0x45f)](_0x437962=>this['_applyRemoteChangeset'](_0x437962)),this[_0x3de75c(0x39e)]=[];}[_0x441125(0x25c)](_0x169d39){var _0x11b53e=_0x441125;const _0x164a98=this[_0x11b53e(0x1f0)][_0x11b53e(0x3e0)][_0x11b53e(0x3d8)](this[_0x11b53e(0x1f0)][_0x11b53e(0x3e0)][_0x11b53e(0x412)]()[_0x11b53e(0x443)])(_0x169d39[_0x11b53e(0x213)],null)||_0x169d39[_0x11b53e(0x213)],_0x5bedab={..._0x169d39,'mutations':_0x164a98};this[_0x11b53e(0x3a2)](),this['_updateState'](this[_0x11b53e(0x3c2)][_0x11b53e(0x32c)](_0x5bedab)),this[_0x11b53e(0x1f3)]();}['_onRemoteACK'](_0x211934){var _0x274ed9=_0x441125;this[_0x274ed9(0x3a2)](),this[_0x274ed9(0x376)](this[_0x274ed9(0x3c2)]['onRemoteAck'](_0x211934)),this[_0x274ed9(0x1f3)]();}[_0x441125(0x389)](_0x54c58d){var _0x15792b=_0x441125;this[_0x15792b(0x3a2)](),this[_0x15792b(0x376)](this[_0x15792b(0x3c2)][_0x15792b(0x253)](_0x54c58d)),this[_0x15792b(0x1f3)]();}['_onRemoteRetry'](_0x2fd975){var _0x123778=_0x441125;this[_0x123778(0x3a2)](),this['_updateState'](this['_state'][_0x123778(0x1e2)](_0x2fd975)),this[_0x123778(0x1f3)]();}[_0x441125(0x45c)](_0x220d8a){var _0x1243f0=_0x441125;if(!(this['_state']instanceof te))throw new TypeError(_0x1243f0(0x3d4));const _0x5923c5=_0x220d8a[_0x1243f0(0x211)](_0x15fa41=>{var _0x28cd2f=_0x1243f0;const _0x43e570=this[_0x28cd2f(0x1f0)][_0x28cd2f(0x3e0)][_0x28cd2f(0x3d8)](this[_0x28cd2f(0x1f0)]['interceptor']['getInterceptPoints']()[_0x28cd2f(0x443)])(_0x15fa41[_0x28cd2f(0x213)],null)||_0x15fa41[_0x28cd2f(0x213)];return{..._0x15fa41,'mutations':_0x43e570};});this[_0x1243f0(0x3a2)](),this[_0x1243f0(0x376)](this[_0x1243f0(0x3c2)][_0x1243f0(0x357)](_0x5923c5)),this['_unlockTransition']();}[_0x441125(0x2d9)](){var _0x170365=_0x441125;this[_0x170365(0x3a2)](),this['_updateState'](this[_0x170365(0x3c2)][_0x170365(0x397)]()),this[_0x170365(0x1f3)]();}[_0x441125(0x273)](_0x1798c5=!0x1){var _0x33c95e=_0x441125;this['_lockTransition'](),this['_updateState'](this[_0x33c95e(0x3c2)]['toggleOnline']()),this[_0x33c95e(0x1f3)]();const _0x146462=this[_0x33c95e(0x3c2)];_0x1798c5&&_0x146462 instanceof De&&(this[_0x33c95e(0x3a2)](),this[_0x33c95e(0x376)](_0x146462['fetchMiss']()),this[_0x33c95e(0x1f3)]());}async['_createInitialState'](){return new Promise(_0x462deb=>{var _0x3b2466=_0x317a;this[_0x3b2466(0x3bb)]['sessionStatus$'][_0x3b2466(0x2e2)](_0x1166c9(0x1))[_0x3b2466(0x27f)](async _0x1b180f=>{var _0x291b63=_0x3b2466;_0x462deb(await this[_0x291b63(0x222)](_0x1b180f===Te[_0x291b63(0x20b)]));});});}[_0x441125(0x329)](){const _0x36f831=this['unitID'];return{'onStateChange':(_0x41fc8a,_0x242516)=>{var _0x25f0f6=_0x317a;if(_0x41fc8a!==this[_0x25f0f6(0x3c2)])throw new Error(_0x25f0f6(0x3c9)+_0x41fc8a[_0x25f0f6(0x2c2)]+_0x25f0f6(0x1eb)+_0x242516[_0x25f0f6(0x2c2)]+_0x25f0f6(0x3aa)+this[_0x25f0f6(0x3c2)][_0x25f0f6(0x2c2)]);this[_0x25f0f6(0x376)](_0x242516);},'onSendChangeset':_0x393358=>{var _0x5ce8cc=_0x317a;_0x393358[_0x5ce8cc(0x2b5)]||(_0x393358['sid']=this[_0x5ce8cc(0x296)],_0x393358['reqId']=++this['_changesetReqId']);const _0x482283={'eventID':_0x60c778['SUBMIT_CHANGESET'],'data':{'unitID':_0x393358[_0x5ce8cc(0x365)],'unitType':this['_type'],'changeset':_0x393358,'memberID':this['session'][_0x5ce8cc(0x433)]()}};this[_0x5ce8cc(0x3bb)][_0x5ce8cc(0x38a)](_0x482283,this['unitID']);},'onMissingChangesets':({from:_0x21c9bf,to:_0x2c2a22})=>{var _0x2d1a0f=_0x317a;this[_0x2d1a0f(0x33b)][_0x2d1a0f(0x4a7)]('[CollaborationEntity]',_0x2d1a0f(0x377)+_0x21c9bf+'\x20to\x20'+_0x2c2a22);const _0x5c384f={'eventID':_0x60c778['FETCH_MISSING'],'data':{'unitID':_0x36f831,'unitType':this['_type'],'from':_0x21c9bf,'to':_0x2c2a22}};this[_0x2d1a0f(0x3bb)][_0x2d1a0f(0x38a)](_0x5c384f,this[_0x2d1a0f(0x365)]);}};}async[_0x441125(0x222)](_0x484b18){var _0x56dc03=_0x441125,_0xb17eff,_0x481a33,_0x3b6620;const _0x5b352a=await((_0xb17eff=this['_localCacheService'])==null?void 0x0:_0xb17eff[_0x56dc03(0x262)](this[_0x56dc03(0x365)])),_0x43b662=(_0x481a33=_0x5b352a==null?void 0x0:_0x5b352a[_0x56dc03(0x213)])!=null?_0x481a33:[],_0x598066=(_0x3b6620=_0x5b352a==null?void 0x0:_0x5b352a[_0x56dc03(0x3e1)])!=null?_0x3b6620:null,_0x3df7f4=!!(_0x598066!=null&&_0x598066[_0x56dc03(0x2b5)])&&!!(_0x598066!=null&&_0x598066['reqId']);this[_0x56dc03(0x296)]=_0x3df7f4?_0x598066[_0x56dc03(0x2b5)]:sr(),this['_changesetReqId']=_0x3df7f4?_0x598066['reqId']:0x0;const _0x3019a2=this['unitID'];try{this[_0x56dc03(0x33e)](_0x598066,_0x43b662);}catch(_0x39502f){this[_0x56dc03(0x33b)][_0x56dc03(0x37f)](_0x39502f);}const _0x5aed4c=this[_0x56dc03(0x329)]();if(_0x484b18){const _0x199005=Di(this[_0x56dc03(0x31d)],_0x3019a2,this[_0x56dc03(0x346)],_0x598066,_0x43b662,_0x5aed4c);return _0x199005 instanceof oe?_0x199005[_0x56dc03(0x469)]():(_0x199005 instanceof ae||_0x199005 instanceof ue)&&_0x199005[_0x56dc03(0x29d)](),_0x199005;}return this['_injector'][_0x56dc03(0x36a)](fe,_0x3019a2,this[_0x56dc03(0x346)],_0x598066,_0x43b662,_0x5aed4c);}[_0x441125(0x33e)](_0x15bde0,_0x501858){var _0x271c72=_0x441125,_0xd6aed7,_0x3504b3;const _0x238496=this['_compressMutationService'][_0x271c72(0x3e0)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x271c72(0x3e0)][_0x271c72(0x412)]()[_0x271c72(0x443)]);(_0xd6aed7=_0x238496((_0x15bde0==null?void 0x0:_0x15bde0[_0x271c72(0x213)])||[],null))==null||_0xd6aed7['forEach'](_0x13b544=>this[_0x271c72(0x29f)][_0x271c72(0x284)](_0x13b544['id'],_0x13b544[_0x271c72(0x249)])),(_0x3504b3=_0x238496(_0x501858||[],null))==null||_0x3504b3['forEach'](_0x1a8e32=>this[_0x271c72(0x29f)]['executeCommand'](_0x1a8e32['id'],_0x1a8e32[_0x271c72(0x249)]));}};nt=Lt([k(0x3,_0x4c1254(_0x3c4fc8)),k(0x4,_0x4c1254(_0x252155)),k(0x5,_0x4c1254(_0x248311)),k(0x6,_0x4c1254(_0x54ca50)),k(0x7,_0x4c1254(pe)),k(0x8,_0x1a51d0),k(0x9,_0x1686ec),k(0xa,_0x517680),k(0xb,_0x1cd728(ht)),k(0xc,_0x1cd728(J))],nt);let Tt=class extends nt{constructor(_0xf76f47,_0x101218,_0x182b39,_0xadf7ed,_0x188132,_0x54e1e4,_0x370a79,_0x38e8ba,_0x3826c5,_0x11aefa,_0x1021ab,_0xa6ee86,_0x6cc37b){var _0x2b5209=_0x441125;super(_0xf76f47,_0x182b39,_0x101218,_0xadf7ed,_0x188132,_0x54e1e4,_0x370a79,_0x38e8ba,_0x3826c5,_0x11aefa,_0x1021ab,_0xa6ee86,_0x6cc37b),N(this,_0x2b5209(0x35e),null),(this[_0x2b5209(0x365)]=_0xf76f47,this[_0x2b5209(0x368)]=_0x101218);}[_0x441125(0x248)](_0x180504){var _0x5d4f72=_0x441125;this[_0x5d4f72(0x35e)]=_0x180504;}[_0x441125(0x25f)](){var _0x1b3483=_0x441125;this['_handlerCallback']=null,super[_0x1b3483(0x25f)]();}[_0x441125(0x329)](){var _0x310739=_0x441125;const _0x3cfd67=super[_0x310739(0x329)]();return _0x3cfd67[_0x310739(0x494)]=_0x577467=>{var _0x3504a3=_0x310739,_0x5ec98a,_0x384dab;return(_0x384dab=(_0x5ec98a=this['_handlerCallback'])==null?void 0x0:_0x5ec98a[_0x3504a3(0x494)])==null?void 0x0:_0x384dab[_0x3504a3(0x1d8)](_0x5ec98a,_0x577467);},_0x3cfd67[_0x310739(0x475)]=_0x38f013=>{var _0x1b8680=_0x310739,_0x48e7a5,_0x1675e7;return(_0x1675e7=(_0x48e7a5=this[_0x1b8680(0x35e)])==null?void 0x0:_0x48e7a5[_0x1b8680(0x475)])==null?void 0x0:_0x1675e7[_0x1b8680(0x1d8)](_0x48e7a5,_0x38f013);},_0x3cfd67[_0x310739(0x264)]=_0x39e99e=>{var _0x45b8fb=_0x310739,_0x28c16a,_0x6119f5;return(_0x6119f5=(_0x28c16a=this[_0x45b8fb(0x35e)])==null?void 0x0:_0x28c16a[_0x45b8fb(0x264)])==null?void 0x0:_0x6119f5[_0x45b8fb(0x1d8)](_0x28c16a,_0x39e99e);},_0x3cfd67[_0x310739(0x4b2)]=_0x3326a3=>{var _0x2a12f0=_0x310739,_0x127186,_0x404072;return(_0x404072=(_0x127186=this[_0x2a12f0(0x35e)])==null?void 0x0:_0x127186['onSyncEditingCollabCursor'])==null?void 0x0:_0x404072['call'](_0x127186,_0x3326a3);},_0x3cfd67[_0x310739(0x3dd)]=_0x5376d8=>{var _0x55a81d=_0x310739,_0x219b87,_0x5e03fe,_0x409517;if(!((_0x219b87=this['_handlerCallback'])!=null&&_0x219b87[_0x55a81d(0x3dd)]))throw new Error(_0x55a81d(0x258));return(_0x409517=(_0x5e03fe=this['_handlerCallback'])==null?void 0x0:_0x5e03fe[_0x55a81d(0x3dd)])==null?void 0x0:_0x409517['call'](_0x5e03fe,_0x5376d8);},_0x3cfd67[_0x310739(0x499)]=_0x488afb=>{var _0x482f42=_0x310739,_0x96a838,_0xe49cb3,_0x72464e;if(!((_0x96a838=this['_handlerCallback'])!=null&&_0x96a838[_0x482f42(0x499)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x72464e=(_0xe49cb3=this[_0x482f42(0x35e)])==null?void 0x0:_0xe49cb3['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x72464e[_0x482f42(0x1d8)](_0xe49cb3,_0x488afb);},_0x3cfd67;}async[_0x441125(0x2d5)](){var _0x2590f8=_0x441125;const _0x25986c=await super[_0x2590f8(0x2d5)]();return this[_0x2590f8(0x364)](this[_0x2590f8(0x29f)][_0x2590f8(0x2b2)]((_0x5dec17,_0x5e6517)=>{var _0x177678=_0x2590f8;if(_0x5dec17[_0x177678(0x368)]!==_0x538903[_0x177678(0x1d6)]||_0x5e6517!=null&&_0x5e6517[_0x177678(0x292)]||_0x5e6517!=null&&_0x5e6517[_0x177678(0x31c)]||_0x5dec17['id']===_0x3a3ae5['id'])return;const _0x5a073e=_0x5dec17[_0x177678(0x249)];if((_0x5a073e==null?void 0x0:_0x5a073e['unitId'])!==this[_0x177678(0x365)])return;const _0x47de3c=_0x5dec17,_0x26c156=this['_compressMutationService'][_0x177678(0x3e0)]['fetchThroughInterceptors'](this[_0x177678(0x1f0)]['interceptor'][_0x177678(0x412)]()[_0x177678(0x476)])([_0x47de3c],null)||[_0x47de3c];this[_0x177678(0x312)](_0x26c156[0x0]);})),_0x25986c;}};Tt=Lt([k(0x3,_0x4c1254(_0x3c4fc8)),k(0x4,_0x4c1254(_0x252155)),k(0x5,_0x4c1254(_0x248311)),k(0x6,_0x4c1254(_0x54ca50)),k(0x7,_0x4c1254(pe)),k(0x8,_0x1a51d0),k(0x9,_0x1686ec),k(0xa,_0x517680),k(0xb,_0x1cd728(ht)),k(0xc,_0x1cd728(J))],Tt);let Ct=class extends nt{constructor(_0x5b9f94,_0x5229d8,_0x4e80c9,_0x40777f,_0x3016d0,_0x4a3f90,_0x49c846,_0xc32bc1,_0x1cbb2e,_0x4974f4,_0x421133,_0x138e3,_0x4240cb,_0x30f1ea){var _0x180d39=_0x441125;super(_0x5b9f94,_0x4e80c9,_0x5229d8,_0x40777f,_0x3016d0,_0x4a3f90,_0x49c846,_0x1cbb2e,_0x4974f4,_0x421133,_0x138e3,_0x4240cb,_0x30f1ea),this[_0x180d39(0x365)]=_0x5b9f94,this[_0x180d39(0x368)]=_0x5229d8,this[_0x180d39(0x20e)]=_0xc32bc1;}[_0x441125(0x329)](){var _0x53c05d=_0x441125;const _0xe20840=super[_0x53c05d(0x329)]();return _0xe20840[_0x53c05d(0x264)]=_0xe016c1=>this[_0x53c05d(0x20e)]['transformSelections'](_0xe016c1),_0xe20840;}async[_0x441125(0x2d5)](){var _0x1ed231=_0x441125;const _0x4767d9=await super[_0x1ed231(0x2d5)]();return this['disposeWithMe'](this[_0x1ed231(0x29f)][_0x1ed231(0x2b2)]((_0x142bb5,_0x2d71e8)=>{var _0x1068ee=_0x1ed231;if(_0x142bb5[_0x1068ee(0x368)]!==_0x538903[_0x1068ee(0x1d6)]||_0x2d71e8!=null&&_0x2d71e8[_0x1068ee(0x292)]||_0x2d71e8!=null&&_0x2d71e8[_0x1068ee(0x31c)])return;const _0x106d9c=_0x142bb5[_0x1068ee(0x249)];if((_0x106d9c==null?void 0x0:_0x106d9c[_0x1068ee(0x2d4)])!==this[_0x1068ee(0x365)])return;const _0x2f56e1=_0x142bb5,_0x27fd07=this['_compressMutationService'][_0x1068ee(0x3e0)][_0x1068ee(0x3d8)](this[_0x1068ee(0x1f0)][_0x1068ee(0x3e0)]['getInterceptPoints']()[_0x1068ee(0x476)])([_0x2f56e1],null)||[_0x2f56e1];this[_0x1068ee(0x312)](_0x27fd07[0x0]);})),_0x4767d9;}};Ct=Lt([k(0x3,_0x4c1254(_0x3c4fc8)),k(0x4,_0x4c1254(_0x252155)),k(0x5,_0x4c1254(_0x248311)),k(0x6,_0x4c1254(_0x54ca50)),k(0x7,_0x4c1254(it)),k(0x8,_0x4c1254(pe)),k(0x9,_0x1a51d0),k(0xa,_0x1686ec),k(0xb,_0x517680),k(0xc,_0x1cd728(ht)),k(0xd,_0x1cd728(J))],Ct);var mr=Object[_0x441125(0x464)],gr=Object[_0x441125(0x46f)],Sr=(_0x2bba88,_0x2d8a9a,_0x17759c,_0x18a598)=>{var _0x624518=_0x441125;for(var _0x3d60db=_0x18a598>0x1?void 0x0:_0x18a598?gr(_0x2d8a9a,_0x17759c):_0x2d8a9a,_0x52f000=_0x2bba88[_0x624518(0x4b5)]-0x1,_0x482de2;_0x52f000>=0x0;_0x52f000--)(_0x482de2=_0x2bba88[_0x52f000])&&(_0x3d60db=(_0x18a598?_0x482de2(_0x2d8a9a,_0x17759c,_0x3d60db):_0x482de2(_0x3d60db))||_0x3d60db);return _0x18a598&&_0x3d60db&&mr(_0x2d8a9a,_0x17759c,_0x3d60db),_0x3d60db;},ft=(_0x1f29e2,_0x22d75f)=>(_0x4ecf85,_0x5609ce)=>_0x22d75f(_0x4ecf85,_0x5609ce,_0x1f29e2);let rt=class extends _0x34ba39{constructor(_0x32acf1,_0x491e2d,_0x5bc96a){var _0x23b127=_0x441125;super(),N(this,'_entities',new Map()),N(this,_0x23b127(0x306),new _0x54cf30()),N(this,_0x23b127(0x431),this['_entityInit$'][_0x23b127(0x2b4)]()),(this[_0x23b127(0x31d)]=_0x32acf1,this['_collabSessionService']=_0x491e2d,this['_univerInstanceService']=_0x5bc96a,this[_0x23b127(0x2d5)]());}[_0x441125(0x25f)](){var _0x37f375=_0x441125;super[_0x37f375(0x25f)](),this['_entities'][_0x37f375(0x45f)](_0x27c327=>_0x27c327[_0x37f375(0x25f)]()),this['_entities']['clear']();}[_0x441125(0x297)](_0xa6f0b0){var _0x4e4476=_0x441125,_0x2646f4;return(_0x2646f4=this[_0x4e4476(0x2c1)][_0x4e4476(0x421)](_0xa6f0b0))!=null?_0x2646f4:null;}[_0x441125(0x410)](_0x4ec684){var _0x4e25d6=_0x441125;const _0x13915b=this[_0x4e25d6(0x297)](_0x4ec684);return _0x13915b?_0x32ab52(_0x13915b):this[_0x4e25d6(0x306)][_0x4e25d6(0x2e2)](_0x1a3e24(_0x3d6b80=>_0x3d6b80[_0x4e25d6(0x365)]===_0x4ec684));}[_0x441125(0x24e)](_0x3dc02f){var _0x5aa966=_0x441125;return _0x505f88(this[_0x5aa966(0x410)](_0x3dc02f)[_0x5aa966(0x2e2)](_0x48f8c3(()=>{})));}['_init'](){var _0x59df26=_0x441125;this[_0x59df26(0x1ca)][_0x59df26(0x20a)](_0x53d653['UNIVER_SHEET'])[_0x59df26(0x2e2)](_0xc49850(this[_0x59df26(0x361)]),_0x1e7874(0x10))[_0x59df26(0x27f)](async _0x77328a=>{var _0x17889d=_0x59df26;const _0x581a82=_0x77328a[_0x17889d(0x3d9)](),_0x43967a=await this[_0x17889d(0x47c)](_0x581a82,Q[_0x17889d(0x32f)]);this[_0x17889d(0x2c1)][_0x17889d(0x3a7)](_0x581a82,_0x43967a);}),this[_0x59df26(0x1ca)][_0x59df26(0x20a)](_0x53d653[_0x59df26(0x4af)])[_0x59df26(0x2e2)](_0xc49850(this[_0x59df26(0x361)]),_0x1e7874(0x10))['pipe'](_0x1a3e24(_0xfcbfe8=>!_0xfcbfe8['getUnitId']()['startsWith']('__')))[_0x59df26(0x27f)](async _0x2e7b85=>{var _0x375dda=_0x59df26;const _0x184277=_0x2e7b85[_0x375dda(0x3d9)](),_0xa416e0=await this[_0x375dda(0x47c)](_0x184277,Q[_0x375dda(0x4af)]);this[_0x375dda(0x2c1)][_0x375dda(0x3a7)](_0x184277,_0xa416e0);}),_0x283e79(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x53d653[_0x59df26(0x32f)]),this[_0x59df26(0x1ca)][_0x59df26(0x3fa)](_0x53d653[_0x59df26(0x4af)]))[_0x59df26(0x2e2)](_0xc49850(this[_0x59df26(0x361)]))[_0x59df26(0x27f)](_0x1aa127=>{var _0x362566=_0x59df26;const _0x5c5b52=_0x1aa127[_0x362566(0x3d9)](),_0xf65783=this[_0x362566(0x2c1)]['get'](_0x5c5b52);_0xf65783&&(_0xf65783['dispose'](),this[_0x362566(0x2c1)]['delete'](_0x5c5b52));});}async[_0x441125(0x47c)](_0x38eefe,_0x331811){var _0x522e10=_0x441125;const _0x48d265=await this[_0x522e10(0x263)][_0x522e10(0x2b1)](_0x38eefe),_0xc70fe6=this[_0x522e10(0x31d)][_0x522e10(0x36a)](this[_0x522e10(0x43a)](_0x331811),_0x38eefe,_0x331811,_0x48d265);return await _0xc70fe6[_0x522e10(0x1ec)](),this['_entityInit$'][_0x522e10(0x353)](_0xc70fe6),_0xc70fe6;}[_0x441125(0x43a)](_0x3b8bb9){var _0x391532=_0x441125;switch(_0x3b8bb9){case Q[_0x391532(0x4af)]:return Tt;case Q[_0x391532(0x32f)]:return Ct;default:throw new Error(_0x391532(0x2c3)+_0x3b8bb9);}}};rt=Sr([ft(0x0,_0x4c1254(_0x3c4fc8)),ft(0x1,_0x4c1254(Le)),ft(0x2,_0x29cfcd)],rt);var Er=Object[_0x441125(0x464)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0x5469dc,_0x383847,_0x4a81ee,_0x364ae9)=>{var _0x2f8415=_0x441125;for(var _0x4ece2d=_0x364ae9>0x1?void 0x0:_0x364ae9?Ir(_0x383847,_0x4a81ee):_0x383847,_0x1cbf3b=_0x5469dc[_0x2f8415(0x4b5)]-0x1,_0x5ea460;_0x1cbf3b>=0x0;_0x1cbf3b--)(_0x5ea460=_0x5469dc[_0x1cbf3b])&&(_0x4ece2d=(_0x364ae9?_0x5ea460(_0x383847,_0x4a81ee,_0x4ece2d):_0x5ea460(_0x4ece2d))||_0x4ece2d);return _0x364ae9&&_0x4ece2d&&Er(_0x383847,_0x4a81ee,_0x4ece2d),_0x4ece2d;},Jt=(_0x1adb94,_0x4da80d)=>(_0x97359f,_0x1045b0)=>_0x4da80d(_0x97359f,_0x1045b0,_0x1adb94);const Cr=_0x441125(0x33f),Rr=_0x441125(0x3a9);let Rt=class extends _0x1845f0{constructor(_0x82d913,_0x6dece4){var _0x3bb1da=_0x441125;super(),this[_0x3bb1da(0x1ca)]=_0x82d913,this[_0x3bb1da(0x428)]=_0x6dece4,this[_0x3bb1da(0x2d5)]();}[_0x441125(0x2d5)](){var _0x454468=_0x441125;this[_0x454468(0x364)](this['_univerInstanceService'][_0x454468(0x430)][_0x454468(0x27f)](()=>{var _0x3b0b1a=_0x454468,_0x1cb2a1;const _0x4d6643=this[_0x3b0b1a(0x1ca)]['getFocusedUnit']();let _0x1bd08a=(_0x1cb2a1=this[_0x3b0b1a(0x428)]['getConfig'](Cr))!=null?_0x1cb2a1:Rr;_0x4d6643 instanceof _0x4cff9e&&(_0x1bd08a=_0x4d6643[_0x3b0b1a(0x1f9)]),document[_0x3b0b1a(0x241)]=_0x1bd08a;}));}};Rt=Tr([Jt(0x0,_0x29cfcd),Jt(0x1,_0xbb3a21)],Rt);var br=Object[_0x441125(0x464)],Or=Object[_0x441125(0x46f)],yr=(_0x582757,_0x2b2cd2,_0x5b5edc,_0x37c39e)=>{var _0x2de60a=_0x441125;for(var _0x39f21d=_0x37c39e>0x1?void 0x0:_0x37c39e?Or(_0x2b2cd2,_0x5b5edc):_0x2b2cd2,_0x13d4f3=_0x582757[_0x2de60a(0x4b5)]-0x1,_0x414aaf;_0x13d4f3>=0x0;_0x13d4f3--)(_0x414aaf=_0x582757[_0x13d4f3])&&(_0x39f21d=(_0x37c39e?_0x414aaf(_0x2b2cd2,_0x5b5edc,_0x39f21d):_0x414aaf(_0x39f21d))||_0x39f21d);return _0x37c39e&&_0x39f21d&&br(_0x2b2cd2,_0x5b5edc,_0x39f21d),_0x39f21d;},vt=(_0x1a12ff,_0x33dbd3)=>(_0x5620dc,_0xa92cb2)=>_0x33dbd3(_0x5620dc,_0xa92cb2,_0x1a12ff);let st=class{constructor(_0x412abd,_0x813c14,_0xfb152){var _0x2d9b3d=_0x441125;this[_0x2d9b3d(0x428)]=_0x412abd,this[_0x2d9b3d(0x26a)]=_0x813c14,this[_0x2d9b3d(0x480)]=_0xfb152,this[_0x2d9b3d(0x1ec)]();}[_0x441125(0x1ec)](){var _0x645c11=_0x441125;this[_0x645c11(0x26a)][_0x645c11(0x355)]({'priority':0x1,'interceptor':(_0x27a1d0,_0x3f30b0)=>_0x3f30b0(_0x27a1d0)[_0x645c11(0x2e2)](_0x164c87(async _0x4dcea3=>{var _0x28d88e=_0x645c11;const _0x237ea1=_0x4dcea3;if(_0x237ea1[_0x28d88e(0x2c2)]===0x191){if(typeof window>'u')throw new Error(_0x28d88e(0x1cd));if(window[_0x28d88e(0x49a)](this['localeService']['t'](_0x28d88e(0x319)))){const _0x556e07=window['encodeURIComponent'](window['location']['href']);window[_0x28d88e(0x20d)]['href']=this[_0x28d88e(0x470)]()+_0x28d88e(0x396)+_0x556e07;}}return _0x237ea1;}))});}[_0x441125(0x470)](){var _0x451755=_0x441125,_0x41731c,_0x574778;const _0x1d1f76=this[_0x451755(0x428)][_0x451755(0x336)](xn),_0x25bd5a=this[_0x451755(0x428)][_0x451755(0x336)](q);return(_0x574778=(_0x41731c=_0x25bd5a==null?void 0x0:_0x25bd5a[_0x451755(0x2cd)])!=null?_0x41731c:_0x1d1f76)!=null?_0x574778:Ln;}};st=yr([vt(0x0,_0xbb3a21),vt(0x1,_0x4c1254(_0x4683f2)),vt(0x2,_0x4c1254(_0x248311))],st);var Nr=Object[_0x441125(0x464)],Dr=Object[_0x441125(0x46f)],Pr=(_0x5c6cb1,_0x50b9d8,_0x4bc2b2,_0x30bf9a)=>{var _0x532546=_0x441125;for(var _0x3c3656=_0x30bf9a>0x1?void 0x0:_0x30bf9a?Dr(_0x50b9d8,_0x4bc2b2):_0x50b9d8,_0x1acbb1=_0x5c6cb1[_0x532546(0x4b5)]-0x1,_0x3331dc;_0x1acbb1>=0x0;_0x1acbb1--)(_0x3331dc=_0x5c6cb1[_0x1acbb1])&&(_0x3c3656=(_0x30bf9a?_0x3331dc(_0x50b9d8,_0x4bc2b2,_0x3c3656):_0x3331dc(_0x3c3656))||_0x3c3656);return _0x30bf9a&&_0x3c3656&&Nr(_0x50b9d8,_0x4bc2b2,_0x3c3656),_0x3c3656;},Xt=(_0x4384dc,_0x24a519)=>(_0x1a8cf0,_0x56611e)=>_0x24a519(_0x1a8cf0,_0x56611e,_0x4384dc);const Pi=_0x441125(0x218),wr='/universer-api/authz';let bt=class extends _0x1845f0{constructor(_0x4828fe,_0x4b3b6c){var _0x225835=_0x441125;super(),this['_HTTPService']=_0x4828fe,this[_0x225835(0x428)]=_0x4b3b6c,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x1a2a3a=_0x441125;const _0x5f33a9=this;this['disposeWithMe'](this[_0x1a2a3a(0x441)][_0x1a2a3a(0x355)]({'priority':0x3e7,'interceptor':_0x4c36d9({'isMatch'(_0x4ca290){var _0x3807f7=_0x1a2a3a,_0x409a14;if(_0x4ca290[_0x3807f7(0x41a)]===_0x3807f7(0x326)&&((_0x409a14=_0x4ca290[_0x3807f7(0x1d2)])!=null&&_0x409a14[_0x3807f7(0x492)])){const {objectID:_0x2c8769,objectType:_0x13b234}=_0x4ca290[_0x3807f7(0x1d2)][_0x3807f7(0x492)]||{};if(!_0x2c8769||_0x13b234===void 0x0)return!0x1;const _0xec63ea=_0x5f33a9[_0x3807f7(0x402)]()+'/'+_0x13b234+_0x3807f7(0x266)+_0x2c8769+_0x3807f7(0x425);if(_0x4ca290['url']===_0xec63ea)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x64dbd7){var _0x173717=_0x1a2a3a,_0x3b6511;return(_0x3b6511=_0x64dbd7[_0x173717(0x1d2)])==null?void 0x0:_0x3b6511[_0x173717(0x492)];},'mergeParamsToRequest'(_0x33abec,_0x5f5cf4){var _0x473a37=_0x1a2a3a;const _0x23d081=_0x5f33a9['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x403693=_0x33abec['reduce']((_0x498d5d,_0x9ccf17)=>{var _0x5225a1=_0x317a;const {unitID:_0x3f9d1f,objectID:_0x3077b0,objectType:_0x15d02f,actions:_0x213cf1}=_0x9ccf17;return _0x498d5d[_0x3f9d1f]||(_0x498d5d[_0x3f9d1f]={}),_0x498d5d[_0x3f9d1f][_0x3077b0]||(_0x498d5d[_0x3f9d1f][_0x3077b0]={'objectID':_0x3077b0,'objectType':_0x15d02f,'actions':[]}),_0x498d5d[_0x3f9d1f][_0x3077b0]['actions'][_0x5225a1(0x1d7)](..._0x213cf1),_0x498d5d;},{}),_0x552b26=[];for(const _0x81839c in _0x403693)for(const _0x35e948 in _0x403693[_0x81839c]){const {actions:_0x109ed0,objectType:_0x136e0f}=_0x403693[_0x81839c][_0x35e948],_0xbe28f1=[...new Set(_0x109ed0)];_0x552b26[_0x473a37(0x1d7)]({'unitID':_0x81839c,'objectID':_0x35e948,'objectType':_0x136e0f,'actions':_0xbe28f1});}return new _0x33a9ea(_0x473a37(0x326),_0x23d081,{'headers':_0x5f5cf4[_0x473a37(0x25e)],'withCredentials':_0x5f5cf4['withCredentials'],'responseType':_0x5f5cf4[_0x473a37(0x328)],'body':{'requests':_0x552b26}});}},{'distributeResult'(_0x151806,_0x22214c){var _0x50be19=_0x1a2a3a;const {objectActions:_0x349311}=_0x151806;return _0x22214c[_0x50be19(0x211)](_0x40e1cc=>{var _0x5d986b=_0x50be19;const {unitID:_0xdec1b8,objectID:_0x6044c,actions:_0x2dbbcf}=_0x40e1cc,_0x2d68b8=_0x349311[_0x5d986b(0x486)](_0x5a3ad6=>_0x5a3ad6[_0x5d986b(0x365)]===_0xdec1b8&&_0x5a3ad6[_0x5d986b(0x41d)]===_0x6044c),_0x3f6a18=_0x2dbbcf[_0x5d986b(0x211)](_0x3d018f=>_0x2d68b8==null?void 0x0:_0x2d68b8[_0x5d986b(0x420)]['find'](_0x2a530e=>_0x2a530e[_0x5d986b(0x1c6)]===_0x3d018f))[_0x5d986b(0x1ba)](_0x2a51a3=>!!_0x2a51a3);return{'config':_0x40e1cc,'result':{'actions':_0x3f6a18,'error':_0x151806['error']}};});}})}));}[_0x441125(0x402)](){var _0x1efa93=_0x441125,_0x21771c,_0x54dea0;const _0x32def8=this[_0x1efa93(0x428)][_0x1efa93(0x336)](Pi),_0x86862b=this[_0x1efa93(0x428)][_0x1efa93(0x336)](q);return(_0x54dea0=(_0x21771c=_0x86862b==null?void 0x0:_0x86862b[_0x1efa93(0x3c3)])!=null?_0x21771c:_0x32def8)!=null?_0x54dea0:wr;}async['create'](_0x84a32f){var _0x30c39d=_0x441125;const _0x228531=this[_0x30c39d(0x402)]()+'/'+_0x84a32f[_0x30c39d(0x247)]+_0x30c39d(0x34c);return(await this[_0x30c39d(0x441)][_0x30c39d(0x200)](_0x228531,{'body':_0x84a32f}))[_0x30c39d(0x492)][_0x30c39d(0x41d)]||'';}async[_0x441125(0x3fb)](_0x214ff2){var _0x41c340=_0x441125;const _0x42f367=this[_0x41c340(0x402)]()+'/-/object/list';return(await this['_HTTPService'][_0x41c340(0x200)](_0x42f367,{'body':_0x214ff2}))[_0x41c340(0x492)][_0x41c340(0x299)];}async[_0x441125(0x1b6)](_0x41857c){var _0x5f1645=_0x441125;const _0x4d61be=this[_0x5f1645(0x402)]()+'/'+_0x41857c['objectType']+_0x5f1645(0x266)+_0x41857c[_0x5f1645(0x41d)];await this[_0x5f1645(0x441)][_0x5f1645(0x27d)](_0x4d61be,{'body':_0x41857c});}async[_0x441125(0x1d0)](_0x3e20a6){var _0x408ee9=_0x441125;const _0x374b9b=this[_0x408ee9(0x402)]()+'/'+_0x3e20a6[_0x408ee9(0x247)]+_0x408ee9(0x266)+_0x3e20a6[_0x408ee9(0x41d)]+_0x408ee9(0x425);return(await this[_0x408ee9(0x441)]['post'](_0x374b9b,{'body':_0x3e20a6}))['body'][_0x408ee9(0x420)];}async['batchAllowed'](_0x15dfe0){var _0x49e737=_0x441125;const _0x50bf31=this[_0x49e737(0x402)]()+_0x49e737(0x40b);return(await this['_HTTPService'][_0x49e737(0x200)](_0x50bf31,{'body':{'requests':_0x15dfe0}}))[_0x49e737(0x492)]['objectActions'];}async[_0x441125(0x468)](_0xb65682){var _0x70c4ad=_0x441125;const _0x2042be=this['_getAPIPrefixPath']()+'/'+_0xb65682['objectType']+_0x70c4ad(0x250),_0x52b25c=await this['_HTTPService']['post'](_0x2042be,{'body':_0xb65682});return{'roles':_0x52b25c['body']['roles'],'actions':_0x52b25c['body'][_0x70c4ad(0x420)]};}async[_0x441125(0x38e)](_0x25e48a){var _0x4a042d=_0x441125;const _0x49e1cc=this[_0x4a042d(0x402)]()+_0x4a042d(0x303);await this[_0x4a042d(0x441)][_0x4a042d(0x374)](_0x49e1cc,{'params':{'collaboratorID':_0x25e48a[_0x4a042d(0x239)],'objectID':_0x25e48a['objectID'],'unitID':_0x25e48a[_0x4a042d(0x365)]}});}async[_0x441125(0x2a2)](_0x32593a){var _0x2a4e6c=_0x441125;const _0x5d57a3=this[_0x2a4e6c(0x402)]()+_0x2a4e6c(0x303);await this[_0x2a4e6c(0x441)][_0x2a4e6c(0x280)](_0x5d57a3,{'body':_0x32593a});}async[_0x441125(0x3f1)](_0x205a06){var _0x13f84f=_0x441125;const _0x727fdc=this[_0x13f84f(0x402)]()+'/collaborator';await this[_0x13f84f(0x441)][_0x13f84f(0x200)](_0x727fdc,{'body':_0x205a06});}async[_0x441125(0x456)](_0x149856){var _0x38d4f2=_0x441125;const _0x22b265=this[_0x38d4f2(0x402)]()+_0x38d4f2(0x303);return(await this[_0x38d4f2(0x441)][_0x38d4f2(0x421)](_0x22b265,{'params':{'objectID':_0x149856['objectID'],'unitID':_0x149856[_0x38d4f2(0x365)]}}))['body']['collaborators'];}async[_0x441125(0x340)](_0x1e36a2){var _0x82dca3=_0x441125;const _0x5287bf=this[_0x82dca3(0x402)]()+_0x82dca3(0x303);await this[_0x82dca3(0x441)][_0x82dca3(0x27d)](_0x5287bf,{'body':_0x1e36a2});}};bt=Pr([Xt(0x0,_0x4c1254(_0x4683f2)),Xt(0x1,_0x4c1254(_0xbb3a21))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x205081){var _0x21aa95=_0x441125;return _0x205081&&_0x205081['__esModule']&&Object[_0x21aa95(0x207)][_0x21aa95(0x29b)][_0x21aa95(0x1d8)](_0x205081,_0x21aa95(0x27e))?_0x205081[_0x21aa95(0x27e)]:_0x205081;}var Ve={'exports':{}};function Ur(_0x216f00){var _0x51958e=_0x441125;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x216f00+_0x51958e(0x1d5));}var Ge={'exports':{}},Ar=Ge[_0x441125(0x483)],Zt;function ne(){var _0x15460e=_0x441125;return Zt||(Zt=0x1,function(_0x193851,_0x1ca89a){(function(_0x1eb941,_0x26ad27){var _0x84508a=_0x317a;_0x193851[_0x84508a(0x483)]=_0x26ad27();}(Ar,function(){var _0x3a84bd=_0x3a84bd||function(_0x27404d,_0x5d7259){var _0x4593ce=_0x317a,_0x32a586;if(typeof window<'u'&&window[_0x4593ce(0x351)]&&(_0x32a586=window[_0x4593ce(0x351)]),typeof self<'u'&&self[_0x4593ce(0x351)]&&(_0x32a586=self[_0x4593ce(0x351)]),typeof globalThis<'u'&&globalThis[_0x4593ce(0x351)]&&(_0x32a586=globalThis[_0x4593ce(0x351)]),!_0x32a586&&typeof window<'u'&&window[_0x4593ce(0x267)]&&(_0x32a586=window[_0x4593ce(0x267)]),!_0x32a586&&typeof pt<'u'&&pt['crypto']&&(_0x32a586=pt[_0x4593ce(0x351)]),!_0x32a586&&typeof Ur==_0x4593ce(0x2e4))try{_0x32a586=require(_0x4593ce(0x351));}catch{}var _0x20e566=function(){var _0x49dea1=_0x4593ce;if(_0x32a586){if(typeof _0x32a586['getRandomValues']==_0x49dea1(0x2e4))try{return _0x32a586[_0x49dea1(0x251)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x32a586['randomBytes']=='function')try{return _0x32a586[_0x49dea1(0x28c)](0x4)[_0x49dea1(0x31e)]();}catch{}}throw new Error(_0x49dea1(0x285));},_0x52ef37=Object['create']||(function(){function _0x25cc76(){}return function(_0x1e4124){var _0x2c3d3c=_0x317a,_0x280fe5;return _0x25cc76[_0x2c3d3c(0x207)]=_0x1e4124,_0x280fe5=new _0x25cc76(),_0x25cc76[_0x2c3d3c(0x207)]=null,_0x280fe5;};}()),_0x491204={},_0x33c8c6=_0x491204[_0x4593ce(0x2f5)]={},_0xda50a2=_0x33c8c6[_0x4593ce(0x2aa)]=(function(){return{'extend':function(_0x107c02){var _0x13a56d=_0x317a,_0x1d994f=_0x52ef37(this);return _0x107c02&&_0x1d994f[_0x13a56d(0x2de)](_0x107c02),(!_0x1d994f[_0x13a56d(0x29b)](_0x13a56d(0x1ec))||this[_0x13a56d(0x1ec)]===_0x1d994f['init'])&&(_0x1d994f[_0x13a56d(0x1ec)]=function(){var _0x5acce4=_0x13a56d;_0x1d994f[_0x5acce4(0x22b)][_0x5acce4(0x1ec)][_0x5acce4(0x3c1)](this,arguments);}),_0x1d994f[_0x13a56d(0x1ec)]['prototype']=_0x1d994f,_0x1d994f[_0x13a56d(0x22b)]=this,_0x1d994f;},'create':function(){var _0x12881f=_0x317a,_0x380489=this[_0x12881f(0x27c)]();return _0x380489[_0x12881f(0x1ec)][_0x12881f(0x3c1)](_0x380489,arguments),_0x380489;},'init':function(){},'mixIn':function(_0x8788bd){var _0x36ea1d=_0x317a;for(var _0x2cab5c in _0x8788bd)_0x8788bd[_0x36ea1d(0x29b)](_0x2cab5c)&&(this[_0x2cab5c]=_0x8788bd[_0x2cab5c]);_0x8788bd['hasOwnProperty']('toString')&&(this[_0x36ea1d(0x473)]=_0x8788bd[_0x36ea1d(0x473)]);},'clone':function(){var _0x35c2d1=_0x317a;return this[_0x35c2d1(0x1ec)][_0x35c2d1(0x207)][_0x35c2d1(0x27c)](this);}};}()),_0x466c4a=_0x33c8c6[_0x4593ce(0x300)]=_0xda50a2[_0x4593ce(0x27c)]({'init':function(_0x3547e9,_0x1775ca){var _0x21a3ac=_0x4593ce;_0x3547e9=this[_0x21a3ac(0x3db)]=_0x3547e9||[],_0x1775ca!=_0x5d7259?this[_0x21a3ac(0x21c)]=_0x1775ca:this[_0x21a3ac(0x21c)]=_0x3547e9[_0x21a3ac(0x4b5)]*0x4;},'toString':function(_0x55ac50){var _0x4a612e=_0x4593ce;return(_0x55ac50||_0xdd7d64)[_0x4a612e(0x2cb)](this);},'concat':function(_0x1ebc0e){var _0x19b7c4=_0x4593ce,_0xbf439e=this[_0x19b7c4(0x3db)],_0x395353=_0x1ebc0e[_0x19b7c4(0x3db)],_0x3e466b=this[_0x19b7c4(0x21c)],_0x2bb23f=_0x1ebc0e[_0x19b7c4(0x21c)];if(this[_0x19b7c4(0x42e)](),_0x3e466b%0x4)for(var _0x22b096=0x0;_0x22b096<_0x2bb23f;_0x22b096++){var _0x47dc1a=_0x395353[_0x22b096>>>0x2]>>>0x18-_0x22b096%0x4*0x8&0xff;_0xbf439e[_0x3e466b+_0x22b096>>>0x2]|=_0x47dc1a<<0x18-(_0x3e466b+_0x22b096)%0x4*0x8;}else{for(var _0x91fc89=0x0;_0x91fc89<_0x2bb23f;_0x91fc89+=0x4)_0xbf439e[_0x3e466b+_0x91fc89>>>0x2]=_0x395353[_0x91fc89>>>0x2];}return this[_0x19b7c4(0x21c)]+=_0x2bb23f,this;},'clamp':function(){var _0x134abe=_0x4593ce,_0x4dde61=this[_0x134abe(0x3db)],_0x5e9f1d=this[_0x134abe(0x21c)];_0x4dde61[_0x5e9f1d>>>0x2]&=0xffffffff<<0x20-_0x5e9f1d%0x4*0x8,_0x4dde61[_0x134abe(0x4b5)]=_0x27404d[_0x134abe(0x2e8)](_0x5e9f1d/0x4);},'clone':function(){var _0x4df711=_0x4593ce,_0x40561c=_0xda50a2[_0x4df711(0x3b2)][_0x4df711(0x1d8)](this);return _0x40561c[_0x4df711(0x3db)]=this[_0x4df711(0x3db)][_0x4df711(0x3d3)](0x0),_0x40561c;},'random':function(_0x3a607f){var _0x4ef96b=_0x4593ce;for(var _0x359ede=[],_0x488374=0x0;_0x488374<_0x3a607f;_0x488374+=0x4)_0x359ede[_0x4ef96b(0x1d7)](_0x20e566());return new _0x466c4a[(_0x4ef96b(0x1ec))](_0x359ede,_0x3a607f);}}),_0x40240f=_0x491204['enc']={},_0xdd7d64=_0x40240f[_0x4593ce(0x2fa)]={'stringify':function(_0x552412){var _0x59f4dd=_0x4593ce;for(var _0x1141a9=_0x552412['words'],_0x2e1ea0=_0x552412[_0x59f4dd(0x21c)],_0x444c0a=[],_0x26bb39=0x0;_0x26bb39<_0x2e1ea0;_0x26bb39++){var _0x356322=_0x1141a9[_0x26bb39>>>0x2]>>>0x18-_0x26bb39%0x4*0x8&0xff;_0x444c0a[_0x59f4dd(0x1d7)]((_0x356322>>>0x4)[_0x59f4dd(0x473)](0x10)),_0x444c0a['push']((_0x356322&0xf)['toString'](0x10));}return _0x444c0a[_0x59f4dd(0x1ed)]('');},'parse':function(_0x33d265){var _0x529dcf=_0x4593ce;for(var _0xb4f7b8=_0x33d265[_0x529dcf(0x4b5)],_0x492c10=[],_0x46cfb8=0x0;_0x46cfb8<_0xb4f7b8;_0x46cfb8+=0x2)_0x492c10[_0x46cfb8>>>0x3]|=parseInt(_0x33d265[_0x529dcf(0x362)](_0x46cfb8,0x2),0x10)<<0x18-_0x46cfb8%0x8*0x4;return new _0x466c4a['init'](_0x492c10,_0xb4f7b8/0x2);}},_0x1ca680=_0x40240f[_0x4593ce(0x41c)]={'stringify':function(_0x194290){var _0x661c38=_0x4593ce;for(var _0xdf062b=_0x194290[_0x661c38(0x3db)],_0x354be6=_0x194290['sigBytes'],_0x52d51e=[],_0x48a5e2=0x0;_0x48a5e2<_0x354be6;_0x48a5e2++){var _0x86a987=_0xdf062b[_0x48a5e2>>>0x2]>>>0x18-_0x48a5e2%0x4*0x8&0xff;_0x52d51e[_0x661c38(0x1d7)](String[_0x661c38(0x1dc)](_0x86a987));}return _0x52d51e[_0x661c38(0x1ed)]('');},'parse':function(_0x2b6542){var _0x3d531e=_0x4593ce;for(var _0x168204=_0x2b6542[_0x3d531e(0x4b5)],_0x15a14f=[],_0x9817e6=0x0;_0x9817e6<_0x168204;_0x9817e6++)_0x15a14f[_0x9817e6>>>0x2]|=(_0x2b6542[_0x3d531e(0x451)](_0x9817e6)&0xff)<<0x18-_0x9817e6%0x4*0x8;return new _0x466c4a[(_0x3d531e(0x1ec))](_0x15a14f,_0x168204);}},_0x789115=_0x40240f[_0x4593ce(0x354)]={'stringify':function(_0x2f4ed1){var _0x36ef5c=_0x4593ce;try{return decodeURIComponent(escape(_0x1ca680['stringify'](_0x2f4ed1)));}catch{throw new Error(_0x36ef5c(0x335));}},'parse':function(_0x10ccf3){return _0x1ca680['parse'](unescape(encodeURIComponent(_0x10ccf3)));}},_0x121bac=_0x33c8c6['BufferedBlockAlgorithm']=_0xda50a2[_0x4593ce(0x27c)]({'reset':function(){var _0x484234=_0x4593ce;this[_0x484234(0x46c)]=new _0x466c4a[(_0x484234(0x1ec))](),this[_0x484234(0x350)]=0x0;},'_append':function(_0x153153){var _0x527039=_0x4593ce;typeof _0x153153==_0x527039(0x24f)&&(_0x153153=_0x789115[_0x527039(0x3bf)](_0x153153)),this[_0x527039(0x46c)][_0x527039(0x230)](_0x153153),this['_nDataBytes']+=_0x153153[_0x527039(0x21c)];},'_process':function(_0x1049ce){var _0x3a0061=_0x4593ce,_0x3df698,_0x4d7877=this[_0x3a0061(0x46c)],_0x7821de=_0x4d7877[_0x3a0061(0x3db)],_0xab76ee=_0x4d7877[_0x3a0061(0x21c)],_0x591e43=this['blockSize'],_0x2c21b0=_0x591e43*0x4,_0x30916b=_0xab76ee/_0x2c21b0;_0x1049ce?_0x30916b=_0x27404d[_0x3a0061(0x2e8)](_0x30916b):_0x30916b=_0x27404d[_0x3a0061(0x272)]((_0x30916b|0x0)-this['_minBufferSize'],0x0);var _0x5006d5=_0x30916b*_0x591e43,_0x3b9a86=_0x27404d[_0x3a0061(0x426)](_0x5006d5*0x4,_0xab76ee);if(_0x5006d5){for(var _0x23ca4a=0x0;_0x23ca4a<_0x5006d5;_0x23ca4a+=_0x591e43)this[_0x3a0061(0x33c)](_0x7821de,_0x23ca4a);_0x3df698=_0x7821de['splice'](0x0,_0x5006d5),_0x4d7877[_0x3a0061(0x21c)]-=_0x3b9a86;}return new _0x466c4a[(_0x3a0061(0x1ec))](_0x3df698,_0x3b9a86);},'clone':function(){var _0x226200=_0x4593ce,_0x4a2b2a=_0xda50a2['clone'][_0x226200(0x1d8)](this);return _0x4a2b2a['_data']=this['_data'][_0x226200(0x3b2)](),_0x4a2b2a;},'_minBufferSize':0x0});_0x33c8c6[_0x4593ce(0x1d3)]=_0x121bac['extend']({'cfg':_0xda50a2[_0x4593ce(0x27c)](),'init':function(_0x4b5a18){var _0x191263=_0x4593ce;this['cfg']=this[_0x191263(0x442)]['extend'](_0x4b5a18),this[_0x191263(0x3f9)]();},'reset':function(){var _0x42ea97=_0x4593ce;_0x121bac[_0x42ea97(0x3f9)]['call'](this),this['_doReset']();},'update':function(_0xd8f180){var _0x7036ba=_0x4593ce;return this[_0x7036ba(0x21b)](_0xd8f180),this['_process'](),this;},'finalize':function(_0x1d2592){var _0x2ba27d=_0x4593ce;_0x1d2592&&this[_0x2ba27d(0x21b)](_0x1d2592);var _0xa09342=this[_0x2ba27d(0x22f)]();return _0xa09342;},'blockSize':0x10,'_createHelper':function(_0x729226){return function(_0x111ea8,_0x39e2ed){var _0x3ab982=_0x317a;return new _0x729226[(_0x3ab982(0x1ec))](_0x39e2ed)[_0x3ab982(0x3fd)](_0x111ea8);};},'_createHmacHelper':function(_0x510ddd){return function(_0x5f3f85,_0x11770e){var _0xdaac0b=_0x317a;return new _0x514436['HMAC'][(_0xdaac0b(0x1ec))](_0x510ddd,_0x11770e)[_0xdaac0b(0x3fd)](_0x5f3f85);};}});var _0x514436=_0x491204[_0x4593ce(0x24d)]={};return _0x491204;}(Math);return _0x3a84bd;}));}(Ge)),Ge[_0x15460e(0x483)];}var We={'exports':{}},xr=We[_0x441125(0x483)],Qt;function wi(){var _0x5bebc0=_0x441125;return Qt||(Qt=0x1,function(_0x47bdd8,_0x3c84b1){(function(_0x435fec,_0x512e1b){var _0x22f3ee=_0x317a;_0x47bdd8[_0x22f3ee(0x483)]=_0x512e1b(ne());}(xr,function(_0x254f2d){var _0x507deb=_0x317a;return(function(){var _0x279aa4=_0x317a,_0x56ea40=_0x254f2d,_0x5d4a9a=_0x56ea40[_0x279aa4(0x2f5)],_0x30cf01=_0x5d4a9a[_0x279aa4(0x300)],_0x5cf3bf=_0x56ea40[_0x279aa4(0x3da)];_0x5cf3bf[_0x279aa4(0x3c4)]={'stringify':function(_0x561a1b){var _0x11b493=_0x279aa4,_0x27ac4f=_0x561a1b[_0x11b493(0x3db)],_0x3870d3=_0x561a1b[_0x11b493(0x21c)],_0x2a39df=this[_0x11b493(0x1e7)];_0x561a1b['clamp']();for(var _0x5266ea=[],_0x4c4a41=0x0;_0x4c4a41<_0x3870d3;_0x4c4a41+=0x3)for(var _0x11df5e=_0x27ac4f[_0x4c4a41>>>0x2]>>>0x18-_0x4c4a41%0x4*0x8&0xff,_0x138234=_0x27ac4f[_0x4c4a41+0x1>>>0x2]>>>0x18-(_0x4c4a41+0x1)%0x4*0x8&0xff,_0x5802cd=_0x27ac4f[_0x4c4a41+0x2>>>0x2]>>>0x18-(_0x4c4a41+0x2)%0x4*0x8&0xff,_0x14f5e2=_0x11df5e<<0x10|_0x138234<<0x8|_0x5802cd,_0xa5e753=0x0;_0xa5e753<0x4&&_0x4c4a41+_0xa5e753*0.75<_0x3870d3;_0xa5e753++)_0x5266ea[_0x11b493(0x1d7)](_0x2a39df['charAt'](_0x14f5e2>>>0x6*(0x3-_0xa5e753)&0x3f));var _0x46c1ca=_0x2a39df[_0x11b493(0x304)](0x40);if(_0x46c1ca){for(;_0x5266ea[_0x11b493(0x4b5)]%0x4;)_0x5266ea[_0x11b493(0x1d7)](_0x46c1ca);}return _0x5266ea[_0x11b493(0x1ed)]('');},'parse':function(_0x12b009){var _0x43d84c=_0x279aa4,_0x5f2fcf=_0x12b009[_0x43d84c(0x4b5)],_0x52b0ad=this[_0x43d84c(0x1e7)],_0x482813=this[_0x43d84c(0x3cb)];if(!_0x482813){_0x482813=this[_0x43d84c(0x3cb)]=[];for(var _0x5d7fa3=0x0;_0x5d7fa3<_0x52b0ad[_0x43d84c(0x4b5)];_0x5d7fa3++)_0x482813[_0x52b0ad[_0x43d84c(0x451)](_0x5d7fa3)]=_0x5d7fa3;}var _0x457f39=_0x52b0ad[_0x43d84c(0x304)](0x40);if(_0x457f39){var _0x2f123a=_0x12b009[_0x43d84c(0x327)](_0x457f39);_0x2f123a!==-0x1&&(_0x5f2fcf=_0x2f123a);}return _0x5431b4(_0x12b009,_0x5f2fcf,_0x482813);},'_map':_0x279aa4(0x261)};function _0x5431b4(_0x392011,_0x5b8c0f,_0x449f3b){var _0x1dc078=_0x279aa4;for(var _0x356bc8=[],_0x305ea5=0x0,_0x433f33=0x0;_0x433f33<_0x5b8c0f;_0x433f33++)if(_0x433f33%0x4){var _0x5e2d79=_0x449f3b[_0x392011[_0x1dc078(0x451)](_0x433f33-0x1)]<<_0x433f33%0x4*0x2,_0x3733dc=_0x449f3b[_0x392011['charCodeAt'](_0x433f33)]>>>0x6-_0x433f33%0x4*0x2,_0x1e2b66=_0x5e2d79|_0x3733dc;_0x356bc8[_0x305ea5>>>0x2]|=_0x1e2b66<<0x18-_0x305ea5%0x4*0x8,_0x305ea5++;}return _0x30cf01[_0x1dc078(0x3be)](_0x356bc8,_0x305ea5);}}()),_0x254f2d[_0x507deb(0x3da)][_0x507deb(0x3c4)];}));}(We)),We[_0x5bebc0(0x483)];}var Ke={'exports':{}},Lr=Ke[_0x441125(0x483)],ei;function Mr(){return ei||(ei=0x1,function(_0x41fc55,_0x4277d5){(function(_0x292299,_0x3cbae1){var _0xaadc88=_0x317a;_0x41fc55[_0xaadc88(0x483)]=_0x3cbae1(ne());}(Lr,function(_0x39445f){var _0x425275=_0x317a;return function(_0x31f181){var _0x451e1e=_0x317a,_0x425a19=_0x39445f,_0x50ad38=_0x425a19[_0x451e1e(0x2f5)],_0x513473=_0x50ad38['WordArray'],_0x3e1616=_0x50ad38[_0x451e1e(0x1d3)],_0x4d1aba=_0x425a19[_0x451e1e(0x24d)],_0x5dd808=[];(function(){var _0x59aa1e=_0x451e1e;for(var _0x5264f7=0x0;_0x5264f7<0x40;_0x5264f7++)_0x5dd808[_0x5264f7]=_0x31f181[_0x59aa1e(0x447)](_0x31f181[_0x59aa1e(0x24b)](_0x5264f7+0x1))*0x100000000|0x0;}());var _0x10ea5c=_0x4d1aba[_0x451e1e(0x422)]=_0x3e1616['extend']({'_doReset':function(){var _0x3a217d=_0x451e1e;this['_hash']=new _0x513473[(_0x3a217d(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2459e5,_0x3d5847){for(var _0x2e650e=0x0;_0x2e650e<0x10;_0x2e650e++){var _0x1bec09=_0x3d5847+_0x2e650e,_0x2738f5=_0x2459e5[_0x1bec09];_0x2459e5[_0x1bec09]=(_0x2738f5<<0x8|_0x2738f5>>>0x18)&0xff00ff|(_0x2738f5<<0x18|_0x2738f5>>>0x8)&0xff00ff00;}var _0x24a182=this['_hash']['words'],_0x41e330=_0x2459e5[_0x3d5847+0x0],_0x542d09=_0x2459e5[_0x3d5847+0x1],_0xacb891=_0x2459e5[_0x3d5847+0x2],_0x767325=_0x2459e5[_0x3d5847+0x3],_0x47a4a7=_0x2459e5[_0x3d5847+0x4],_0x1f090c=_0x2459e5[_0x3d5847+0x5],_0x4f02f3=_0x2459e5[_0x3d5847+0x6],_0x1d8421=_0x2459e5[_0x3d5847+0x7],_0x3bd38c=_0x2459e5[_0x3d5847+0x8],_0x2f4946=_0x2459e5[_0x3d5847+0x9],_0x37effc=_0x2459e5[_0x3d5847+0xa],_0x1c4d69=_0x2459e5[_0x3d5847+0xb],_0xf9b39a=_0x2459e5[_0x3d5847+0xc],_0x4304b5=_0x2459e5[_0x3d5847+0xd],_0x4e0a3f=_0x2459e5[_0x3d5847+0xe],_0x1434b3=_0x2459e5[_0x3d5847+0xf],_0x2d8378=_0x24a182[0x0],_0x4dd8f4=_0x24a182[0x1],_0x11f3d1=_0x24a182[0x2],_0x21df47=_0x24a182[0x3];_0x2d8378=_0x4b6cd0(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x41e330,0x7,_0x5dd808[0x0]),_0x21df47=_0x4b6cd0(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x542d09,0xc,_0x5dd808[0x1]),_0x11f3d1=_0x4b6cd0(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0xacb891,0x11,_0x5dd808[0x2]),_0x4dd8f4=_0x4b6cd0(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x767325,0x16,_0x5dd808[0x3]),_0x2d8378=_0x4b6cd0(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x47a4a7,0x7,_0x5dd808[0x4]),_0x21df47=_0x4b6cd0(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x1f090c,0xc,_0x5dd808[0x5]),_0x11f3d1=_0x4b6cd0(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x4f02f3,0x11,_0x5dd808[0x6]),_0x4dd8f4=_0x4b6cd0(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x1d8421,0x16,_0x5dd808[0x7]),_0x2d8378=_0x4b6cd0(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x3bd38c,0x7,_0x5dd808[0x8]),_0x21df47=_0x4b6cd0(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x2f4946,0xc,_0x5dd808[0x9]),_0x11f3d1=_0x4b6cd0(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x37effc,0x11,_0x5dd808[0xa]),_0x4dd8f4=_0x4b6cd0(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x1c4d69,0x16,_0x5dd808[0xb]),_0x2d8378=_0x4b6cd0(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0xf9b39a,0x7,_0x5dd808[0xc]),_0x21df47=_0x4b6cd0(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x4304b5,0xc,_0x5dd808[0xd]),_0x11f3d1=_0x4b6cd0(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x4e0a3f,0x11,_0x5dd808[0xe]),_0x4dd8f4=_0x4b6cd0(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x1434b3,0x16,_0x5dd808[0xf]),_0x2d8378=_0x57e523(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x542d09,0x5,_0x5dd808[0x10]),_0x21df47=_0x57e523(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x4f02f3,0x9,_0x5dd808[0x11]),_0x11f3d1=_0x57e523(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x1c4d69,0xe,_0x5dd808[0x12]),_0x4dd8f4=_0x57e523(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x41e330,0x14,_0x5dd808[0x13]),_0x2d8378=_0x57e523(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x1f090c,0x5,_0x5dd808[0x14]),_0x21df47=_0x57e523(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x37effc,0x9,_0x5dd808[0x15]),_0x11f3d1=_0x57e523(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x1434b3,0xe,_0x5dd808[0x16]),_0x4dd8f4=_0x57e523(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x47a4a7,0x14,_0x5dd808[0x17]),_0x2d8378=_0x57e523(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2f4946,0x5,_0x5dd808[0x18]),_0x21df47=_0x57e523(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x4e0a3f,0x9,_0x5dd808[0x19]),_0x11f3d1=_0x57e523(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x767325,0xe,_0x5dd808[0x1a]),_0x4dd8f4=_0x57e523(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x3bd38c,0x14,_0x5dd808[0x1b]),_0x2d8378=_0x57e523(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x4304b5,0x5,_0x5dd808[0x1c]),_0x21df47=_0x57e523(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0xacb891,0x9,_0x5dd808[0x1d]),_0x11f3d1=_0x57e523(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x1d8421,0xe,_0x5dd808[0x1e]),_0x4dd8f4=_0x57e523(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0xf9b39a,0x14,_0x5dd808[0x1f]),_0x2d8378=_0xa61ce8(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x1f090c,0x4,_0x5dd808[0x20]),_0x21df47=_0xa61ce8(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x3bd38c,0xb,_0x5dd808[0x21]),_0x11f3d1=_0xa61ce8(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x1c4d69,0x10,_0x5dd808[0x22]),_0x4dd8f4=_0xa61ce8(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x4e0a3f,0x17,_0x5dd808[0x23]),_0x2d8378=_0xa61ce8(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x542d09,0x4,_0x5dd808[0x24]),_0x21df47=_0xa61ce8(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x47a4a7,0xb,_0x5dd808[0x25]),_0x11f3d1=_0xa61ce8(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x1d8421,0x10,_0x5dd808[0x26]),_0x4dd8f4=_0xa61ce8(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x37effc,0x17,_0x5dd808[0x27]),_0x2d8378=_0xa61ce8(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x4304b5,0x4,_0x5dd808[0x28]),_0x21df47=_0xa61ce8(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x41e330,0xb,_0x5dd808[0x29]),_0x11f3d1=_0xa61ce8(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x767325,0x10,_0x5dd808[0x2a]),_0x4dd8f4=_0xa61ce8(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x4f02f3,0x17,_0x5dd808[0x2b]),_0x2d8378=_0xa61ce8(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2f4946,0x4,_0x5dd808[0x2c]),_0x21df47=_0xa61ce8(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0xf9b39a,0xb,_0x5dd808[0x2d]),_0x11f3d1=_0xa61ce8(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x1434b3,0x10,_0x5dd808[0x2e]),_0x4dd8f4=_0xa61ce8(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0xacb891,0x17,_0x5dd808[0x2f]),_0x2d8378=_0x5a76a9(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x41e330,0x6,_0x5dd808[0x30]),_0x21df47=_0x5a76a9(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x1d8421,0xa,_0x5dd808[0x31]),_0x11f3d1=_0x5a76a9(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x4e0a3f,0xf,_0x5dd808[0x32]),_0x4dd8f4=_0x5a76a9(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x1f090c,0x15,_0x5dd808[0x33]),_0x2d8378=_0x5a76a9(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0xf9b39a,0x6,_0x5dd808[0x34]),_0x21df47=_0x5a76a9(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x767325,0xa,_0x5dd808[0x35]),_0x11f3d1=_0x5a76a9(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x37effc,0xf,_0x5dd808[0x36]),_0x4dd8f4=_0x5a76a9(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x542d09,0x15,_0x5dd808[0x37]),_0x2d8378=_0x5a76a9(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x3bd38c,0x6,_0x5dd808[0x38]),_0x21df47=_0x5a76a9(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x1434b3,0xa,_0x5dd808[0x39]),_0x11f3d1=_0x5a76a9(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0x4f02f3,0xf,_0x5dd808[0x3a]),_0x4dd8f4=_0x5a76a9(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x4304b5,0x15,_0x5dd808[0x3b]),_0x2d8378=_0x5a76a9(_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x21df47,_0x47a4a7,0x6,_0x5dd808[0x3c]),_0x21df47=_0x5a76a9(_0x21df47,_0x2d8378,_0x4dd8f4,_0x11f3d1,_0x1c4d69,0xa,_0x5dd808[0x3d]),_0x11f3d1=_0x5a76a9(_0x11f3d1,_0x21df47,_0x2d8378,_0x4dd8f4,_0xacb891,0xf,_0x5dd808[0x3e]),_0x4dd8f4=_0x5a76a9(_0x4dd8f4,_0x11f3d1,_0x21df47,_0x2d8378,_0x2f4946,0x15,_0x5dd808[0x3f]),_0x24a182[0x0]=_0x24a182[0x0]+_0x2d8378|0x0,_0x24a182[0x1]=_0x24a182[0x1]+_0x4dd8f4|0x0,_0x24a182[0x2]=_0x24a182[0x2]+_0x11f3d1|0x0,_0x24a182[0x3]=_0x24a182[0x3]+_0x21df47|0x0;},'_doFinalize':function(){var _0x485b50=_0x451e1e,_0x15c0ef=this[_0x485b50(0x46c)],_0x20a032=_0x15c0ef['words'],_0x4e9577=this[_0x485b50(0x350)]*0x8,_0x3a4cc7=_0x15c0ef['sigBytes']*0x8;_0x20a032[_0x3a4cc7>>>0x5]|=0x80<<0x18-_0x3a4cc7%0x20;var _0x49f57f=_0x31f181[_0x485b50(0x408)](_0x4e9577/0x100000000),_0x4217f9=_0x4e9577;_0x20a032[(_0x3a4cc7+0x40>>>0x9<<0x4)+0xf]=(_0x49f57f<<0x8|_0x49f57f>>>0x18)&0xff00ff|(_0x49f57f<<0x18|_0x49f57f>>>0x8)&0xff00ff00,_0x20a032[(_0x3a4cc7+0x40>>>0x9<<0x4)+0xe]=(_0x4217f9<<0x8|_0x4217f9>>>0x18)&0xff00ff|(_0x4217f9<<0x18|_0x4217f9>>>0x8)&0xff00ff00,_0x15c0ef[_0x485b50(0x21c)]=(_0x20a032[_0x485b50(0x4b5)]+0x1)*0x4,this[_0x485b50(0x372)]();for(var _0x23c451=this[_0x485b50(0x25b)],_0xb55488=_0x23c451[_0x485b50(0x3db)],_0x43f8a4=0x0;_0x43f8a4<0x4;_0x43f8a4++){var _0x4273ed=_0xb55488[_0x43f8a4];_0xb55488[_0x43f8a4]=(_0x4273ed<<0x8|_0x4273ed>>>0x18)&0xff00ff|(_0x4273ed<<0x18|_0x4273ed>>>0x8)&0xff00ff00;}return _0x23c451;},'clone':function(){var _0x487e32=_0x451e1e,_0x327d84=_0x3e1616[_0x487e32(0x3b2)][_0x487e32(0x1d8)](this);return _0x327d84['_hash']=this[_0x487e32(0x25b)]['clone'](),_0x327d84;}});function _0x4b6cd0(_0x30a0b8,_0x9e3159,_0x58d846,_0xe448f7,_0x1e3f17,_0x349838,_0x23fe1b){var _0x4b11c2=_0x30a0b8+(_0x9e3159&_0x58d846|~_0x9e3159&_0xe448f7)+_0x1e3f17+_0x23fe1b;return(_0x4b11c2<<_0x349838|_0x4b11c2>>>0x20-_0x349838)+_0x9e3159;}function _0x57e523(_0x298782,_0x3183ee,_0x27ccf9,_0x2775af,_0x272a71,_0x219eae,_0xb71509){var _0x162bd3=_0x298782+(_0x3183ee&_0x2775af|_0x27ccf9&~_0x2775af)+_0x272a71+_0xb71509;return(_0x162bd3<<_0x219eae|_0x162bd3>>>0x20-_0x219eae)+_0x3183ee;}function _0xa61ce8(_0x2817cc,_0x304c6d,_0x42e68b,_0x3cd904,_0x10a367,_0x29bf9a,_0x4e220c){var _0x13e7a6=_0x2817cc+(_0x304c6d^_0x42e68b^_0x3cd904)+_0x10a367+_0x4e220c;return(_0x13e7a6<<_0x29bf9a|_0x13e7a6>>>0x20-_0x29bf9a)+_0x304c6d;}function _0x5a76a9(_0x4c1ef7,_0x6c0e9e,_0x178be0,_0xfb4823,_0x57e30e,_0x37d1b9,_0x414479){var _0xd8f569=_0x4c1ef7+(_0x178be0^(_0x6c0e9e|~_0xfb4823))+_0x57e30e+_0x414479;return(_0xd8f569<<_0x37d1b9|_0xd8f569>>>0x20-_0x37d1b9)+_0x6c0e9e;}_0x425a19[_0x451e1e(0x422)]=_0x3e1616[_0x451e1e(0x339)](_0x10ea5c),_0x425a19[_0x451e1e(0x44b)]=_0x3e1616['_createHmacHelper'](_0x10ea5c);}(Math),_0x39445f[_0x425275(0x422)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x441125(0x483)],ti;function Hr(){return ti||(ti=0x1,function(_0x12be05,_0x76be26){(function(_0x55a16d,_0x2878a5){var _0x2ad2fb=_0x317a;_0x12be05[_0x2ad2fb(0x483)]=_0x2878a5(ne());}($r,function(_0x3bf41a){var _0x1f396f=_0x317a;return(function(){var _0x1c7252=_0x317a,_0x329923=_0x3bf41a,_0x1eacdd=_0x329923[_0x1c7252(0x2f5)],_0x10940b=_0x1eacdd[_0x1c7252(0x300)],_0x32701f=_0x1eacdd[_0x1c7252(0x1d3)],_0x2f754c=_0x329923[_0x1c7252(0x24d)],_0xc32910=[],_0x3b644d=_0x2f754c[_0x1c7252(0x48b)]=_0x32701f[_0x1c7252(0x27c)]({'_doReset':function(){var _0x16f7ad=_0x1c7252;this[_0x16f7ad(0x25b)]=new _0x10940b[(_0x16f7ad(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36ddb1,_0x4ae36d){var _0x2cbc8b=_0x1c7252;for(var _0xa4b2e6=this[_0x2cbc8b(0x25b)]['words'],_0x32c7dd=_0xa4b2e6[0x0],_0x7855f9=_0xa4b2e6[0x1],_0x1762ef=_0xa4b2e6[0x2],_0x58478f=_0xa4b2e6[0x3],_0x1b10f4=_0xa4b2e6[0x4],_0x48cde4=0x0;_0x48cde4<0x50;_0x48cde4++){if(_0x48cde4<0x10)_0xc32910[_0x48cde4]=_0x36ddb1[_0x4ae36d+_0x48cde4]|0x0;else{var _0x32ac03=_0xc32910[_0x48cde4-0x3]^_0xc32910[_0x48cde4-0x8]^_0xc32910[_0x48cde4-0xe]^_0xc32910[_0x48cde4-0x10];_0xc32910[_0x48cde4]=_0x32ac03<<0x1|_0x32ac03>>>0x1f;}var _0x387dd8=(_0x32c7dd<<0x5|_0x32c7dd>>>0x1b)+_0x1b10f4+_0xc32910[_0x48cde4];_0x48cde4<0x14?_0x387dd8+=(_0x7855f9&_0x1762ef|~_0x7855f9&_0x58478f)+0x5a827999:_0x48cde4<0x28?_0x387dd8+=(_0x7855f9^_0x1762ef^_0x58478f)+0x6ed9eba1:_0x48cde4<0x3c?_0x387dd8+=(_0x7855f9&_0x1762ef|_0x7855f9&_0x58478f|_0x1762ef&_0x58478f)-0x70e44324:_0x387dd8+=(_0x7855f9^_0x1762ef^_0x58478f)-0x359d3e2a,_0x1b10f4=_0x58478f,_0x58478f=_0x1762ef,_0x1762ef=_0x7855f9<<0x1e|_0x7855f9>>>0x2,_0x7855f9=_0x32c7dd,_0x32c7dd=_0x387dd8;}_0xa4b2e6[0x0]=_0xa4b2e6[0x0]+_0x32c7dd|0x0,_0xa4b2e6[0x1]=_0xa4b2e6[0x1]+_0x7855f9|0x0,_0xa4b2e6[0x2]=_0xa4b2e6[0x2]+_0x1762ef|0x0,_0xa4b2e6[0x3]=_0xa4b2e6[0x3]+_0x58478f|0x0,_0xa4b2e6[0x4]=_0xa4b2e6[0x4]+_0x1b10f4|0x0;},'_doFinalize':function(){var _0x225be6=_0x1c7252,_0x1faf5f=this['_data'],_0x36fc29=_0x1faf5f['words'],_0x58c101=this[_0x225be6(0x350)]*0x8,_0x3ff410=_0x1faf5f[_0x225be6(0x21c)]*0x8;return _0x36fc29[_0x3ff410>>>0x5]|=0x80<<0x18-_0x3ff410%0x20,_0x36fc29[(_0x3ff410+0x40>>>0x9<<0x4)+0xe]=Math[_0x225be6(0x408)](_0x58c101/0x100000000),_0x36fc29[(_0x3ff410+0x40>>>0x9<<0x4)+0xf]=_0x58c101,_0x1faf5f[_0x225be6(0x21c)]=_0x36fc29[_0x225be6(0x4b5)]*0x4,this['_process'](),this[_0x225be6(0x25b)];},'clone':function(){var _0x5ea3bf=_0x1c7252,_0x5908b2=_0x32701f['clone']['call'](this);return _0x5908b2['_hash']=this[_0x5ea3bf(0x25b)][_0x5ea3bf(0x3b2)](),_0x5908b2;}});_0x329923[_0x1c7252(0x48b)]=_0x32701f[_0x1c7252(0x339)](_0x3b644d),_0x329923[_0x1c7252(0x1cf)]=_0x32701f[_0x1c7252(0x2c4)](_0x3b644d);}()),_0x3bf41a[_0x1f396f(0x48b)];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x441125(0x483)],ii;function jr(){return ii||(ii=0x1,function(_0x1bd87f,_0x227a1f){(function(_0x3f804c,_0x2d4b58){var _0x456ae2=_0x317a;_0x1bd87f[_0x456ae2(0x483)]=_0x2d4b58(ne());}(kr,function(_0xebd93b){(function(){var _0x579dac=_0x317a,_0x2ad06c=_0xebd93b,_0x22d250=_0x2ad06c[_0x579dac(0x2f5)],_0x2c444c=_0x22d250[_0x579dac(0x2aa)],_0x4824d8=_0x2ad06c[_0x579dac(0x3da)],_0x35aaa5=_0x4824d8['Utf8'],_0x21c6a2=_0x2ad06c[_0x579dac(0x24d)];_0x21c6a2[_0x579dac(0x28b)]=_0x2c444c[_0x579dac(0x27c)]({'init':function(_0x10d742,_0x556924){var _0x31a8fc=_0x579dac;_0x10d742=this[_0x31a8fc(0x20c)]=new _0x10d742['init'](),typeof _0x556924==_0x31a8fc(0x24f)&&(_0x556924=_0x35aaa5['parse'](_0x556924));var _0x4534ac=_0x10d742[_0x31a8fc(0x295)],_0x549b80=_0x4534ac*0x4;_0x556924['sigBytes']>_0x549b80&&(_0x556924=_0x10d742[_0x31a8fc(0x3fd)](_0x556924)),_0x556924[_0x31a8fc(0x42e)]();for(var _0x5e90f=this[_0x31a8fc(0x46a)]=_0x556924[_0x31a8fc(0x3b2)](),_0x151ed4=this[_0x31a8fc(0x3df)]=_0x556924[_0x31a8fc(0x3b2)](),_0x3a16a2=_0x5e90f[_0x31a8fc(0x3db)],_0x4f9b3e=_0x151ed4[_0x31a8fc(0x3db)],_0x27380d=0x0;_0x27380d<_0x4534ac;_0x27380d++)_0x3a16a2[_0x27380d]^=0x5c5c5c5c,_0x4f9b3e[_0x27380d]^=0x36363636;_0x5e90f[_0x31a8fc(0x21c)]=_0x151ed4[_0x31a8fc(0x21c)]=_0x549b80,this[_0x31a8fc(0x3f9)]();},'reset':function(){var _0x361728=_0x579dac,_0xab73cc=this[_0x361728(0x20c)];_0xab73cc[_0x361728(0x3f9)](),_0xab73cc[_0x361728(0x1b6)](this[_0x361728(0x3df)]);},'update':function(_0x4699c9){var _0x4f305c=_0x579dac;return this['_hasher'][_0x4f305c(0x1b6)](_0x4699c9),this;},'finalize':function(_0x538fa3){var _0x300a50=_0x579dac,_0x2126e2=this[_0x300a50(0x20c)],_0x1932f0=_0x2126e2['finalize'](_0x538fa3);_0x2126e2['reset']();var _0x2f6acb=_0x2126e2['finalize'](this[_0x300a50(0x46a)][_0x300a50(0x3b2)]()[_0x300a50(0x230)](_0x1932f0));return _0x2f6acb;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x441125(0x483)],ni;function Ui(){var _0x2cca26=_0x441125;return ni||(ni=0x1,function(_0x575d8e,_0xaff22c){(function(_0x3feaa7,_0x2bafe2,_0x1e8b1e){var _0x5b7392=_0x317a;_0x575d8e[_0x5b7392(0x483)]=_0x2bafe2(ne(),Hr(),jr());}(Br,function(_0x1f89a1){var _0x3eb81f=_0x317a;return(function(){var _0xce243f=_0x317a,_0x2f4838=_0x1f89a1,_0x12453c=_0x2f4838[_0xce243f(0x2f5)],_0x326627=_0x12453c[_0xce243f(0x2aa)],_0x2150fc=_0x12453c['WordArray'],_0x22a260=_0x2f4838[_0xce243f(0x24d)],_0x404bbb=_0x22a260[_0xce243f(0x422)],_0x4f7973=_0x22a260[_0xce243f(0x2e1)]=_0x326627[_0xce243f(0x27c)]({'cfg':_0x326627['extend']({'keySize':0x80/0x20,'hasher':_0x404bbb,'iterations':0x1}),'init':function(_0x2fe829){var _0x4e70c5=_0xce243f;this['cfg']=this[_0x4e70c5(0x442)][_0x4e70c5(0x27c)](_0x2fe829);},'compute':function(_0x2b56ae,_0x48e71c){var _0x9d0db1=_0xce243f;for(var _0x1f8b74,_0x41afca=this['cfg'],_0x371e68=_0x41afca[_0x9d0db1(0x41e)][_0x9d0db1(0x3be)](),_0x19aa03=_0x2150fc[_0x9d0db1(0x3be)](),_0x172e17=_0x19aa03['words'],_0x435246=_0x41afca[_0x9d0db1(0x489)],_0xaf296a=_0x41afca[_0x9d0db1(0x30d)];_0x172e17['length']<_0x435246;){_0x1f8b74&&_0x371e68[_0x9d0db1(0x1b6)](_0x1f8b74),_0x1f8b74=_0x371e68[_0x9d0db1(0x1b6)](_0x2b56ae)['finalize'](_0x48e71c),_0x371e68[_0x9d0db1(0x3f9)]();for(var _0x272a61=0x1;_0x272a61<_0xaf296a;_0x272a61++)_0x1f8b74=_0x371e68[_0x9d0db1(0x3fd)](_0x1f8b74),_0x371e68[_0x9d0db1(0x3f9)]();_0x19aa03['concat'](_0x1f8b74);}return _0x19aa03[_0x9d0db1(0x21c)]=_0x435246*0x4,_0x19aa03;}});_0x2f4838['EvpKDF']=function(_0x299d3a,_0x4d6171,_0x15d214){var _0xe6dfc9=_0xce243f;return _0x4f7973[_0xe6dfc9(0x3be)](_0x15d214)[_0xe6dfc9(0x216)](_0x299d3a,_0x4d6171);};}()),_0x1f89a1[_0x3eb81f(0x2e1)];}));}(Ye)),Ye[_0x2cca26(0x483)];}var Je={'exports':{}},Fr=Je[_0x441125(0x483)],ri;function Ai(){var _0x29a3a0=_0x441125;return ri||(ri=0x1,function(_0x31d5f9,_0x55255a){(function(_0x526ad1,_0x2f5a1a,_0x35dde0){_0x31d5f9['exports']=_0x2f5a1a(ne(),Ui());}(Fr,function(_0x18f4af){var _0x24dfce=_0x317a;_0x18f4af['lib'][_0x24dfce(0x1c1)]||function(_0x37c3ca){var _0x4b3b9f=_0x24dfce,_0x1b715e=_0x18f4af,_0x163d13=_0x1b715e[_0x4b3b9f(0x2f5)],_0x63b76a=_0x163d13['Base'],_0x4fffd0=_0x163d13[_0x4b3b9f(0x300)],_0x2e71f7=_0x163d13['BufferedBlockAlgorithm'],_0x116843=_0x1b715e[_0x4b3b9f(0x3da)];_0x116843[_0x4b3b9f(0x354)];var _0x3ec0b8=_0x116843[_0x4b3b9f(0x3c4)],_0x4f073b=_0x1b715e[_0x4b3b9f(0x24d)],_0x41e9bf=_0x4f073b[_0x4b3b9f(0x2e1)],_0x27d105=_0x163d13[_0x4b3b9f(0x1c1)]=_0x2e71f7[_0x4b3b9f(0x27c)]({'cfg':_0x63b76a[_0x4b3b9f(0x27c)](),'createEncryptor':function(_0x280973,_0xb8b82c){var _0x303af7=_0x4b3b9f;return this[_0x303af7(0x3be)](this[_0x303af7(0x22d)],_0x280973,_0xb8b82c);},'createDecryptor':function(_0x1acb64,_0x2d760a){var _0x101b2f=_0x4b3b9f;return this[_0x101b2f(0x3be)](this['_DEC_XFORM_MODE'],_0x1acb64,_0x2d760a);},'init':function(_0x5a0810,_0xd514d6,_0x2ec384){var _0x1dc084=_0x4b3b9f;this[_0x1dc084(0x442)]=this[_0x1dc084(0x442)][_0x1dc084(0x27c)](_0x2ec384),this[_0x1dc084(0x413)]=_0x5a0810,this[_0x1dc084(0x375)]=_0xd514d6,this['reset']();},'reset':function(){var _0x3c0ab2=_0x4b3b9f;_0x2e71f7['reset'][_0x3c0ab2(0x1d8)](this),this['_doReset']();},'process':function(_0x2d9309){var _0x2094d8=_0x4b3b9f;return this[_0x2094d8(0x21b)](_0x2d9309),this[_0x2094d8(0x372)]();},'finalize':function(_0x5a4a16){var _0x262b1d=_0x4b3b9f;_0x5a4a16&&this['_append'](_0x5a4a16);var _0x3c4668=this[_0x262b1d(0x22f)]();return _0x3c4668;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5f2c83(_0x3c3995){var _0x50f284=_0x317a;return typeof _0x3c3995==_0x50f284(0x24f)?_0x1cb88b:_0x580077;}return function(_0x379ff1){return{'encrypt':function(_0x4df140,_0x457c0f,_0x42a86e){var _0x21859c=_0x317a;return _0x5f2c83(_0x457c0f)[_0x21859c(0x309)](_0x379ff1,_0x4df140,_0x457c0f,_0x42a86e);},'decrypt':function(_0x10a1ff,_0x524659,_0x35b415){var _0x3891fb=_0x317a;return _0x5f2c83(_0x524659)[_0x3891fb(0x234)](_0x379ff1,_0x10a1ff,_0x524659,_0x35b415);}};};}())});_0x163d13['StreamCipher']=_0x27d105[_0x4b3b9f(0x27c)]({'_doFinalize':function(){var _0x232081=_0x4b3b9f,_0x11c7e9=this[_0x232081(0x372)](!0x0);return _0x11c7e9;},'blockSize':0x1});var _0x2646ec=_0x1b715e['mode']={},_0xc132b8=_0x163d13[_0x4b3b9f(0x3af)]=_0x63b76a[_0x4b3b9f(0x27c)]({'createEncryptor':function(_0xd0b6cb,_0x2b8292){var _0x11e9b9=_0x4b3b9f;return this[_0x11e9b9(0x30b)][_0x11e9b9(0x3be)](_0xd0b6cb,_0x2b8292);},'createDecryptor':function(_0x3e901c,_0x50b85f){var _0x55e706=_0x4b3b9f;return this[_0x55e706(0x209)]['create'](_0x3e901c,_0x50b85f);},'init':function(_0x5468c6,_0xd66e48){var _0x33183d=_0x4b3b9f;this[_0x33183d(0x2a5)]=_0x5468c6,this[_0x33183d(0x2a8)]=_0xd66e48;}}),_0x39f947=_0x2646ec[_0x4b3b9f(0x48f)]=(function(){var _0x383f37=_0x4b3b9f,_0x1f9a8a=_0xc132b8[_0x383f37(0x27c)]();_0x1f9a8a[_0x383f37(0x30b)]=_0x1f9a8a['extend']({'processBlock':function(_0x5cf5ce,_0x224f90){var _0x44c208=_0x383f37,_0x5e56b4=this['_cipher'],_0x128db6=_0x5e56b4['blockSize'];_0x49c912[_0x44c208(0x1d8)](this,_0x5cf5ce,_0x224f90,_0x128db6),_0x5e56b4[_0x44c208(0x1c7)](_0x5cf5ce,_0x224f90),this['_prevBlock']=_0x5cf5ce[_0x44c208(0x3d3)](_0x224f90,_0x224f90+_0x128db6);}}),_0x1f9a8a[_0x383f37(0x209)]=_0x1f9a8a[_0x383f37(0x27c)]({'processBlock':function(_0x3a5da0,_0x5a1ff0){var _0xc739aa=_0x383f37,_0x3731de=this['_cipher'],_0x332892=_0x3731de[_0xc739aa(0x295)],_0x1fd689=_0x3a5da0[_0xc739aa(0x3d3)](_0x5a1ff0,_0x5a1ff0+_0x332892);_0x3731de[_0xc739aa(0x28e)](_0x3a5da0,_0x5a1ff0),_0x49c912[_0xc739aa(0x1d8)](this,_0x3a5da0,_0x5a1ff0,_0x332892),this['_prevBlock']=_0x1fd689;}});function _0x49c912(_0x5c5ee4,_0x3024ae,_0x494b67){var _0xe35ca7=_0x383f37,_0x8db6f,_0x29f2f9=this[_0xe35ca7(0x2a8)];_0x29f2f9?(_0x8db6f=_0x29f2f9,this[_0xe35ca7(0x2a8)]=_0x37c3ca):_0x8db6f=this[_0xe35ca7(0x379)];for(var _0x58f544=0x0;_0x58f544<_0x494b67;_0x58f544++)_0x5c5ee4[_0x3024ae+_0x58f544]^=_0x8db6f[_0x58f544];}return _0x1f9a8a;}()),_0x214884=_0x1b715e['pad']={},_0x146fbf=_0x214884[_0x4b3b9f(0x2fc)]={'pad':function(_0x325a0e,_0x387a7b){var _0x4a9aed=_0x4b3b9f;for(var _0x387a97=_0x387a7b*0x4,_0x264487=_0x387a97-_0x325a0e[_0x4a9aed(0x21c)]%_0x387a97,_0x213c8f=_0x264487<<0x18|_0x264487<<0x10|_0x264487<<0x8|_0x264487,_0x40d923=[],_0xff8803=0x0;_0xff8803<_0x264487;_0xff8803+=0x4)_0x40d923[_0x4a9aed(0x1d7)](_0x213c8f);var _0x40b294=_0x4fffd0[_0x4a9aed(0x3be)](_0x40d923,_0x264487);_0x325a0e[_0x4a9aed(0x230)](_0x40b294);},'unpad':function(_0x12ee99){var _0x16d7e3=_0x4b3b9f,_0x2a1b65=_0x12ee99[_0x16d7e3(0x3db)][_0x12ee99[_0x16d7e3(0x21c)]-0x1>>>0x2]&0xff;_0x12ee99[_0x16d7e3(0x21c)]-=_0x2a1b65;}};_0x163d13['BlockCipher']=_0x27d105['extend']({'cfg':_0x27d105[_0x4b3b9f(0x442)][_0x4b3b9f(0x27c)]({'mode':_0x39f947,'padding':_0x146fbf}),'reset':function(){var _0x252a3f=_0x4b3b9f,_0x1f67bf;_0x27d105[_0x252a3f(0x3f9)][_0x252a3f(0x1d8)](this);var _0x1ec538=this[_0x252a3f(0x442)],_0x47e37e=_0x1ec538['iv'],_0x1a0289=_0x1ec538[_0x252a3f(0x34b)];this[_0x252a3f(0x413)]==this[_0x252a3f(0x22d)]?_0x1f67bf=_0x1a0289[_0x252a3f(0x35d)]:(_0x1f67bf=_0x1a0289[_0x252a3f(0x358)],this['_minBufferSize']=0x1),this[_0x252a3f(0x256)]&&this[_0x252a3f(0x256)][_0x252a3f(0x34d)]==_0x1f67bf?this[_0x252a3f(0x256)][_0x252a3f(0x1ec)](this,_0x47e37e&&_0x47e37e[_0x252a3f(0x3db)]):(this[_0x252a3f(0x256)]=_0x1f67bf['call'](_0x1a0289,this,_0x47e37e&&_0x47e37e[_0x252a3f(0x3db)]),this[_0x252a3f(0x256)]['__creator']=_0x1f67bf);},'_doProcessBlock':function(_0x5bed34,_0x531040){var _0x478043=_0x4b3b9f;this['_mode'][_0x478043(0x236)](_0x5bed34,_0x531040);},'_doFinalize':function(){var _0x516ee3=_0x4b3b9f,_0xc890d5,_0x4a2ea1=this['cfg']['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4a2ea1[_0x516ee3(0x320)](this[_0x516ee3(0x46c)],this[_0x516ee3(0x295)]),_0xc890d5=this[_0x516ee3(0x372)](!0x0)):(_0xc890d5=this[_0x516ee3(0x372)](!0x0),_0x4a2ea1[_0x516ee3(0x417)](_0xc890d5)),_0xc890d5;},'blockSize':0x80/0x20});var _0x2c6ad9=_0x163d13['CipherParams']=_0x63b76a[_0x4b3b9f(0x27c)]({'init':function(_0xfb77fe){var _0x278c41=_0x4b3b9f;this[_0x278c41(0x2de)](_0xfb77fe);},'toString':function(_0x3f7479){var _0x1df7e5=_0x4b3b9f;return(_0x3f7479||this[_0x1df7e5(0x38b)])[_0x1df7e5(0x2cb)](this);}}),_0x5eef60=_0x1b715e[_0x4b3b9f(0x4aa)]={},_0x2d2620=_0x5eef60['OpenSSL']={'stringify':function(_0x3b1ce2){var _0x50ed81=_0x4b3b9f,_0x1ccbd9,_0x4c0cb7=_0x3b1ce2[_0x50ed81(0x1bd)],_0xc432ea=_0x3b1ce2['salt'];return _0xc432ea?_0x1ccbd9=_0x4fffd0[_0x50ed81(0x3be)]([0x53616c74,0x65645f5f])[_0x50ed81(0x230)](_0xc432ea)['concat'](_0x4c0cb7):_0x1ccbd9=_0x4c0cb7,_0x1ccbd9['toString'](_0x3ec0b8);},'parse':function(_0x37f017){var _0x4c1a29=_0x4b3b9f,_0x5acf32,_0x2da907=_0x3ec0b8['parse'](_0x37f017),_0x1e54ef=_0x2da907[_0x4c1a29(0x3db)];return _0x1e54ef[0x0]==0x53616c74&&_0x1e54ef[0x1]==0x65645f5f&&(_0x5acf32=_0x4fffd0[_0x4c1a29(0x3be)](_0x1e54ef[_0x4c1a29(0x3d3)](0x2,0x4)),_0x1e54ef['splice'](0x0,0x4),_0x2da907[_0x4c1a29(0x21c)]-=0x10),_0x2c6ad9[_0x4c1a29(0x3be)]({'ciphertext':_0x2da907,'salt':_0x5acf32});}},_0x580077=_0x163d13[_0x4b3b9f(0x415)]=_0x63b76a[_0x4b3b9f(0x27c)]({'cfg':_0x63b76a[_0x4b3b9f(0x27c)]({'format':_0x2d2620}),'encrypt':function(_0x1e0126,_0x526c61,_0x580afc,_0x73e74b){var _0x2f2ce9=_0x4b3b9f;_0x73e74b=this[_0x2f2ce9(0x442)]['extend'](_0x73e74b);var _0x4ddbd4=_0x1e0126['createEncryptor'](_0x580afc,_0x73e74b),_0x2feffb=_0x4ddbd4['finalize'](_0x526c61),_0x10d21a=_0x4ddbd4[_0x2f2ce9(0x442)];return _0x2c6ad9[_0x2f2ce9(0x3be)]({'ciphertext':_0x2feffb,'key':_0x580afc,'iv':_0x10d21a['iv'],'algorithm':_0x1e0126,'mode':_0x10d21a[_0x2f2ce9(0x34b)],'padding':_0x10d21a[_0x2f2ce9(0x343)],'blockSize':_0x1e0126[_0x2f2ce9(0x295)],'formatter':_0x73e74b['format']});},'decrypt':function(_0x58adf7,_0x649794,_0xc4aaba,_0x345017){var _0x45db5a=_0x4b3b9f;_0x345017=this[_0x45db5a(0x442)]['extend'](_0x345017),_0x649794=this[_0x45db5a(0x323)](_0x649794,_0x345017[_0x45db5a(0x4aa)]);var _0x1ded37=_0x58adf7['createDecryptor'](_0xc4aaba,_0x345017)[_0x45db5a(0x3fd)](_0x649794[_0x45db5a(0x1bd)]);return _0x1ded37;},'_parse':function(_0x5c8161,_0x153cb9){var _0x581dda=_0x4b3b9f;return typeof _0x5c8161==_0x581dda(0x24f)?_0x153cb9[_0x581dda(0x3bf)](_0x5c8161,this):_0x5c8161;}}),_0x398aed=_0x1b715e[_0x4b3b9f(0x2ab)]={},_0x4798b6=_0x398aed[_0x4b3b9f(0x388)]={'execute':function(_0x53c716,_0x1243a5,_0x4d0477,_0x133a44,_0x18e886){var _0x249574=_0x4b3b9f;if(_0x133a44||(_0x133a44=_0x4fffd0[_0x249574(0x26e)](0x40/0x8)),_0x18e886)var _0x1d398b=_0x41e9bf[_0x249574(0x3be)]({'keySize':_0x1243a5+_0x4d0477,'hasher':_0x18e886})['compute'](_0x53c716,_0x133a44);else var _0x1d398b=_0x41e9bf[_0x249574(0x3be)]({'keySize':_0x1243a5+_0x4d0477})[_0x249574(0x216)](_0x53c716,_0x133a44);var _0x449112=_0x4fffd0['create'](_0x1d398b[_0x249574(0x3db)][_0x249574(0x3d3)](_0x1243a5),_0x4d0477*0x4);return _0x1d398b[_0x249574(0x21c)]=_0x1243a5*0x4,_0x2c6ad9[_0x249574(0x3be)]({'key':_0x1d398b,'iv':_0x449112,'salt':_0x133a44});}},_0x1cb88b=_0x163d13[_0x4b3b9f(0x385)]=_0x580077[_0x4b3b9f(0x27c)]({'cfg':_0x580077[_0x4b3b9f(0x442)][_0x4b3b9f(0x27c)]({'kdf':_0x4798b6}),'encrypt':function(_0x5ff21b,_0xe3101e,_0x2bae40,_0x462ddc){var _0x16c56c=_0x4b3b9f;_0x462ddc=this[_0x16c56c(0x442)]['extend'](_0x462ddc);var _0x635689=_0x462ddc[_0x16c56c(0x2ab)][_0x16c56c(0x27b)](_0x2bae40,_0x5ff21b[_0x16c56c(0x489)],_0x5ff21b[_0x16c56c(0x2bf)],_0x462ddc[_0x16c56c(0x313)],_0x462ddc[_0x16c56c(0x41e)]);_0x462ddc['iv']=_0x635689['iv'];var _0x38b445=_0x580077[_0x16c56c(0x309)][_0x16c56c(0x1d8)](this,_0x5ff21b,_0xe3101e,_0x635689[_0x16c56c(0x3b3)],_0x462ddc);return _0x38b445[_0x16c56c(0x2de)](_0x635689),_0x38b445;},'decrypt':function(_0x3f94fb,_0x4ac027,_0x6d0937,_0x3c76f1){var _0x3bf836=_0x4b3b9f;_0x3c76f1=this[_0x3bf836(0x442)][_0x3bf836(0x27c)](_0x3c76f1),_0x4ac027=this[_0x3bf836(0x323)](_0x4ac027,_0x3c76f1[_0x3bf836(0x4aa)]);var _0x57bda3=_0x3c76f1[_0x3bf836(0x2ab)][_0x3bf836(0x27b)](_0x6d0937,_0x3f94fb[_0x3bf836(0x489)],_0x3f94fb['ivSize'],_0x4ac027['salt'],_0x3c76f1['hasher']);_0x3c76f1['iv']=_0x57bda3['iv'];var _0x5221cd=_0x580077[_0x3bf836(0x234)][_0x3bf836(0x1d8)](this,_0x3f94fb,_0x4ac027,_0x57bda3[_0x3bf836(0x3b3)],_0x3c76f1);return _0x5221cd;}});}();}));}(Je)),Je[_0x29a3a0(0x483)];}var Vr=Ve[_0x441125(0x483)],si;function Gr(){var _0x3cebb7=_0x441125;return si||(si=0x1,function(_0x7b7ea2,_0x14d6db){(function(_0x5e5a28,_0x30456d,_0x55d286){var _0x19a8a0=_0x317a;_0x7b7ea2[_0x19a8a0(0x483)]=_0x30456d(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x6c8d4d){var _0x2de04e=_0x317a;return(function(){var _0x392254=_0x317a,_0x40ab0f=_0x6c8d4d,_0x12bbb3=_0x40ab0f[_0x392254(0x2f5)],_0x40f8f1=_0x12bbb3[_0x392254(0x461)],_0x55e050=_0x40ab0f[_0x392254(0x24d)],_0x498593=[],_0x2a61e5=[],_0x4892b0=[],_0x5e24a6=[],_0x350f6b=[],_0x581bde=[],_0x469438=[],_0x56279b=[],_0x3df009=[],_0x5ecca1=[];(function(){for(var _0x50ca78=[],_0x54bf95=0x0;_0x54bf95<0x100;_0x54bf95++)_0x54bf95<0x80?_0x50ca78[_0x54bf95]=_0x54bf95<<0x1:_0x50ca78[_0x54bf95]=_0x54bf95<<0x1^0x11b;for(var _0x561053=0x0,_0x42b703=0x0,_0x54bf95=0x0;_0x54bf95<0x100;_0x54bf95++){var _0x854e9=_0x42b703^_0x42b703<<0x1^_0x42b703<<0x2^_0x42b703<<0x3^_0x42b703<<0x4;_0x854e9=_0x854e9>>>0x8^_0x854e9&0xff^0x63,_0x498593[_0x561053]=_0x854e9,_0x2a61e5[_0x854e9]=_0x561053;var _0x47d0f3=_0x50ca78[_0x561053],_0x2b5f07=_0x50ca78[_0x47d0f3],_0x5d290f=_0x50ca78[_0x2b5f07],_0x335860=_0x50ca78[_0x854e9]*0x101^_0x854e9*0x1010100;_0x4892b0[_0x561053]=_0x335860<<0x18|_0x335860>>>0x8,_0x5e24a6[_0x561053]=_0x335860<<0x10|_0x335860>>>0x10,_0x350f6b[_0x561053]=_0x335860<<0x8|_0x335860>>>0x18,_0x581bde[_0x561053]=_0x335860;var _0x335860=_0x5d290f*0x1010101^_0x2b5f07*0x10001^_0x47d0f3*0x101^_0x561053*0x1010100;_0x469438[_0x854e9]=_0x335860<<0x18|_0x335860>>>0x8,_0x56279b[_0x854e9]=_0x335860<<0x10|_0x335860>>>0x10,_0x3df009[_0x854e9]=_0x335860<<0x8|_0x335860>>>0x18,_0x5ecca1[_0x854e9]=_0x335860,_0x561053?(_0x561053=_0x47d0f3^_0x50ca78[_0x50ca78[_0x50ca78[_0x5d290f^_0x47d0f3]]],_0x42b703^=_0x50ca78[_0x50ca78[_0x42b703]]):_0x561053=_0x42b703=0x1;}}());var _0x5bd6b8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x14e2a3=_0x55e050[_0x392254(0x46b)]=_0x40f8f1[_0x392254(0x27c)]({'_doReset':function(){var _0x1886b2=_0x392254,_0x27a1be;if(!(this[_0x1886b2(0x288)]&&this[_0x1886b2(0x1ff)]===this[_0x1886b2(0x375)])){for(var _0x516971=this[_0x1886b2(0x1ff)]=this['_key'],_0x1dbe5f=_0x516971['words'],_0x5110e3=_0x516971[_0x1886b2(0x21c)]/0x4,_0x9fec18=this[_0x1886b2(0x288)]=_0x5110e3+0x6,_0x160c4b=(_0x9fec18+0x1)*0x4,_0x466b53=this[_0x1886b2(0x369)]=[],_0x1cee68=0x0;_0x1cee68<_0x160c4b;_0x1cee68++)_0x1cee68<_0x5110e3?_0x466b53[_0x1cee68]=_0x1dbe5f[_0x1cee68]:(_0x27a1be=_0x466b53[_0x1cee68-0x1],_0x1cee68%_0x5110e3?_0x5110e3>0x6&&_0x1cee68%_0x5110e3==0x4&&(_0x27a1be=_0x498593[_0x27a1be>>>0x18]<<0x18|_0x498593[_0x27a1be>>>0x10&0xff]<<0x10|_0x498593[_0x27a1be>>>0x8&0xff]<<0x8|_0x498593[_0x27a1be&0xff]):(_0x27a1be=_0x27a1be<<0x8|_0x27a1be>>>0x18,_0x27a1be=_0x498593[_0x27a1be>>>0x18]<<0x18|_0x498593[_0x27a1be>>>0x10&0xff]<<0x10|_0x498593[_0x27a1be>>>0x8&0xff]<<0x8|_0x498593[_0x27a1be&0xff],_0x27a1be^=_0x5bd6b8[_0x1cee68/_0x5110e3|0x0]<<0x18),_0x466b53[_0x1cee68]=_0x466b53[_0x1cee68-_0x5110e3]^_0x27a1be);for(var _0x43351c=this[_0x1886b2(0x26c)]=[],_0x270725=0x0;_0x270725<_0x160c4b;_0x270725++){var _0x1cee68=_0x160c4b-_0x270725;if(_0x270725%0x4)var _0x27a1be=_0x466b53[_0x1cee68];else var _0x27a1be=_0x466b53[_0x1cee68-0x4];_0x270725<0x4||_0x1cee68<=0x4?_0x43351c[_0x270725]=_0x27a1be:_0x43351c[_0x270725]=_0x469438[_0x498593[_0x27a1be>>>0x18]]^_0x56279b[_0x498593[_0x27a1be>>>0x10&0xff]]^_0x3df009[_0x498593[_0x27a1be>>>0x8&0xff]]^_0x5ecca1[_0x498593[_0x27a1be&0xff]];}}},'encryptBlock':function(_0x18c902,_0x233172){var _0x295191=_0x392254;this[_0x295191(0x2be)](_0x18c902,_0x233172,this['_keySchedule'],_0x4892b0,_0x5e24a6,_0x350f6b,_0x581bde,_0x498593);},'decryptBlock':function(_0x295e46,_0x94c9dd){var _0x25e618=_0x392254,_0x594a35=_0x295e46[_0x94c9dd+0x1];_0x295e46[_0x94c9dd+0x1]=_0x295e46[_0x94c9dd+0x3],_0x295e46[_0x94c9dd+0x3]=_0x594a35,this[_0x25e618(0x2be)](_0x295e46,_0x94c9dd,this[_0x25e618(0x26c)],_0x469438,_0x56279b,_0x3df009,_0x5ecca1,_0x2a61e5);var _0x594a35=_0x295e46[_0x94c9dd+0x1];_0x295e46[_0x94c9dd+0x1]=_0x295e46[_0x94c9dd+0x3],_0x295e46[_0x94c9dd+0x3]=_0x594a35;},'_doCryptBlock':function(_0x5da764,_0x3e086f,_0x25587e,_0x35e7b2,_0x4c1540,_0x3b0b76,_0x86fcda,_0x2716da){var _0x387050=_0x392254;for(var _0x2fc2c9=this[_0x387050(0x288)],_0x56abb4=_0x5da764[_0x3e086f]^_0x25587e[0x0],_0xd66e1a=_0x5da764[_0x3e086f+0x1]^_0x25587e[0x1],_0x5ea2d6=_0x5da764[_0x3e086f+0x2]^_0x25587e[0x2],_0x5ddcfa=_0x5da764[_0x3e086f+0x3]^_0x25587e[0x3],_0x3299ca=0x4,_0x3a8080=0x1;_0x3a8080<_0x2fc2c9;_0x3a8080++){var _0x441f82=_0x35e7b2[_0x56abb4>>>0x18]^_0x4c1540[_0xd66e1a>>>0x10&0xff]^_0x3b0b76[_0x5ea2d6>>>0x8&0xff]^_0x86fcda[_0x5ddcfa&0xff]^_0x25587e[_0x3299ca++],_0x3480df=_0x35e7b2[_0xd66e1a>>>0x18]^_0x4c1540[_0x5ea2d6>>>0x10&0xff]^_0x3b0b76[_0x5ddcfa>>>0x8&0xff]^_0x86fcda[_0x56abb4&0xff]^_0x25587e[_0x3299ca++],_0x300067=_0x35e7b2[_0x5ea2d6>>>0x18]^_0x4c1540[_0x5ddcfa>>>0x10&0xff]^_0x3b0b76[_0x56abb4>>>0x8&0xff]^_0x86fcda[_0xd66e1a&0xff]^_0x25587e[_0x3299ca++],_0x1b43a4=_0x35e7b2[_0x5ddcfa>>>0x18]^_0x4c1540[_0x56abb4>>>0x10&0xff]^_0x3b0b76[_0xd66e1a>>>0x8&0xff]^_0x86fcda[_0x5ea2d6&0xff]^_0x25587e[_0x3299ca++];_0x56abb4=_0x441f82,_0xd66e1a=_0x3480df,_0x5ea2d6=_0x300067,_0x5ddcfa=_0x1b43a4;}var _0x441f82=(_0x2716da[_0x56abb4>>>0x18]<<0x18|_0x2716da[_0xd66e1a>>>0x10&0xff]<<0x10|_0x2716da[_0x5ea2d6>>>0x8&0xff]<<0x8|_0x2716da[_0x5ddcfa&0xff])^_0x25587e[_0x3299ca++],_0x3480df=(_0x2716da[_0xd66e1a>>>0x18]<<0x18|_0x2716da[_0x5ea2d6>>>0x10&0xff]<<0x10|_0x2716da[_0x5ddcfa>>>0x8&0xff]<<0x8|_0x2716da[_0x56abb4&0xff])^_0x25587e[_0x3299ca++],_0x300067=(_0x2716da[_0x5ea2d6>>>0x18]<<0x18|_0x2716da[_0x5ddcfa>>>0x10&0xff]<<0x10|_0x2716da[_0x56abb4>>>0x8&0xff]<<0x8|_0x2716da[_0xd66e1a&0xff])^_0x25587e[_0x3299ca++],_0x1b43a4=(_0x2716da[_0x5ddcfa>>>0x18]<<0x18|_0x2716da[_0x56abb4>>>0x10&0xff]<<0x10|_0x2716da[_0xd66e1a>>>0x8&0xff]<<0x8|_0x2716da[_0x5ea2d6&0xff])^_0x25587e[_0x3299ca++];_0x5da764[_0x3e086f]=_0x441f82,_0x5da764[_0x3e086f+0x1]=_0x3480df,_0x5da764[_0x3e086f+0x2]=_0x300067,_0x5da764[_0x3e086f+0x3]=_0x1b43a4;},'keySize':0x100/0x20});_0x40ab0f[_0x392254(0x46b)]=_0x40f8f1[_0x392254(0x339)](_0x14e2a3);}()),_0x6c8d4d[_0x2de04e(0x46b)];}));}(Ve)),Ve[_0x3cebb7(0x483)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe['exports'],ai;function zr(){var _0x2a3654=_0x441125;return ai||(ai=0x1,function(_0x13b85e,_0x59e842){(function(_0x2a63f8,_0x32650c){_0x13b85e['exports']=_0x32650c(ne());}(qr,function(_0x23dda5){return _0x23dda5['enc']['Utf8'];}));}(Xe)),Xe[_0x2a3654(0x483)];}var Jr=zr();function _0x317a(_0x4176f4,_0xf388be){var _0x2bc010=_0x2bc0();return _0x317a=function(_0x317a4d,_0x3e8e10){_0x317a4d=_0x317a4d-0x1b5;var _0x273b2a=_0x2bc010[_0x317a4d];return _0x273b2a;},_0x317a(_0x4176f4,_0xf388be);}const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x441125(0x483)],ci;function Qr(){var _0x1c8404=_0x441125;return ci||(ci=0x1,function(_0xab6e08,_0x52c59){(function(_0x3d2353,_0x21daff){var _0x3ca850=_0x317a;_0xab6e08[_0x3ca850(0x483)]=_0x21daff(ne());}(Zr,function(_0x2fbe00){return(function(){var _0x3c60ea=_0x317a;if(typeof ArrayBuffer=='function'){var _0x47116a=_0x2fbe00,_0x157015=_0x47116a[_0x3c60ea(0x2f5)],_0x4936a1=_0x157015['WordArray'],_0x268556=_0x4936a1[_0x3c60ea(0x1ec)],_0x2f71a3=_0x4936a1[_0x3c60ea(0x1ec)]=function(_0x3c6956){var _0x56897b=_0x3c60ea;if(_0x3c6956 instanceof ArrayBuffer&&(_0x3c6956=new Uint8Array(_0x3c6956)),(_0x3c6956 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3c6956 instanceof Uint8ClampedArray||_0x3c6956 instanceof Int16Array||_0x3c6956 instanceof Uint16Array||_0x3c6956 instanceof Int32Array||_0x3c6956 instanceof Uint32Array||_0x3c6956 instanceof Float32Array||_0x3c6956 instanceof Float64Array)&&(_0x3c6956=new Uint8Array(_0x3c6956[_0x56897b(0x30f)],_0x3c6956['byteOffset'],_0x3c6956['byteLength'])),_0x3c6956 instanceof Uint8Array){for(var _0x4dc78a=_0x3c6956['byteLength'],_0x26db48=[],_0x58a115=0x0;_0x58a115<_0x4dc78a;_0x58a115++)_0x26db48[_0x58a115>>>0x2]|=_0x3c6956[_0x58a115]<<0x18-_0x58a115%0x4*0x8;_0x268556[_0x56897b(0x1d8)](this,_0x26db48,_0x4dc78a);}else _0x268556[_0x56897b(0x3c1)](this,arguments);};_0x2f71a3['prototype']=_0x4936a1;}}()),_0x2fbe00['lib']['WordArray'];}));}(Ze)),Ze[_0x1c8404(0x483)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x2f974b=_0x441125;return hi||(hi=0x1,function(_0xa88e56,_0x1b3f8c){(function(_0x23ed83,_0x37f0b6,_0x310338){_0xa88e56['exports']=_0x37f0b6(ne(),Ai());}(is,function(_0x4530de){var _0x43e7e4=_0x317a;return _0x4530de[_0x43e7e4(0x320)][_0x43e7e4(0x2a3)]={'pad':function(){},'unpad':function(){}},_0x4530de['pad'][_0x43e7e4(0x2a3)];}));}(Qe)),Qe[_0x2f974b(0x483)];}var rs=ns();const ss=ke(rs);function os(_0x1cc0d3,_0x698ed7){var _0xa82bcb=_0x441125;const _0x5a8a84=_0x698ed7-_0x1cc0d3[_0xa82bcb(0x4b5)]%_0x698ed7,_0x531765=String['fromCharCode'](_0x5a8a84)[_0xa82bcb(0x2f6)](_0x5a8a84);return _0x1cc0d3+_0x531765;}function as(_0x43138a,_0x5d21e4){var _0x5b0707=_0x441125;const _0x238f46=ts[_0x5b0707(0x26e)](0x10),_0xd5e179=os(_0x43138a,0x10),_0x547610=Kr[_0x5b0707(0x309)](Xr[_0x5b0707(0x3bf)](_0xd5e179),oi['parse'](_0x5d21e4),{'iv':_0x238f46,'padding':ss});return _0x238f46[_0x5b0707(0x230)](_0x547610['ciphertext'])['toString'](oi);}function cs(){var _0x3a6dcb=_0x441125;const _0x1989a6=_0x4bb4d9()[_0x3a6dcb(0x1f6)];if(_0x1989a6){const _0x2a8ba0={'time':Math[_0x3a6dcb(0x408)](Date[_0x3a6dcb(0x3d5)]()/0x3e8),'domain':location[_0x3a6dcb(0x3c0)]};return as(JSON['stringify'](_0x2a8ba0),_0x1989a6);}}var hs=Object[_0x441125(0x464)],_s=Object[_0x441125(0x46f)],ls=(_0x22e6fa,_0x222e9d,_0x223c1e,_0x4e1da5)=>{var _0x559afb=_0x441125;for(var _0x518677=_0x4e1da5>0x1?void 0x0:_0x4e1da5?_s(_0x222e9d,_0x223c1e):_0x222e9d,_0x329b5c=_0x22e6fa[_0x559afb(0x4b5)]-0x1,_0xa9b3fc;_0x329b5c>=0x0;_0x329b5c--)(_0xa9b3fc=_0x22e6fa[_0x329b5c])&&(_0x518677=(_0x4e1da5?_0xa9b3fc(_0x222e9d,_0x223c1e,_0x518677):_0xa9b3fc(_0x518677))||_0x518677);return _0x4e1da5&&_0x518677&&hs(_0x222e9d,_0x223c1e,_0x518677),_0x518677;},us=(_0x53c705,_0xabd26a)=>(_0x2f9a1a,_0xe296bb)=>_0xabd26a(_0x2f9a1a,_0xe296bb,_0x53c705);let ot=class{constructor(_0x3d8e38){var _0x150189=_0x441125;this[_0x150189(0x26a)]=_0x3d8e38,this['_initRequestHeader']();}[_0x441125(0x3a0)](){var _0x4ac747=_0x441125;this[_0x4ac747(0x26a)]['registerHTTPInterceptor']({'interceptor':(_0x567a59,_0x35b21a)=>{var _0x43f981=_0x4ac747;const _0x4d31cc=_0x567a59[_0x43f981(0x25e)],_0x3d281b=cs();return _0x3d281b&&_0x4d31cc['set'](_0x43f981(0x445),_0x3d281b),_0x35b21a(_0x567a59);}});}};ot=ls([us(0x0,_0x4c1254(_0x4683f2))],ot);var ds=Object[_0x441125(0x464)],fs=Object[_0x441125(0x46f)],vs=(_0x17f061,_0x49c535,_0x2c1551,_0x1ad858)=>{var _0x3d6a09=_0x441125;for(var _0x4154b0=_0x1ad858>0x1?void 0x0:_0x1ad858?fs(_0x49c535,_0x2c1551):_0x49c535,_0x26e465=_0x17f061[_0x3d6a09(0x4b5)]-0x1,_0x1ef66a;_0x26e465>=0x0;_0x26e465--)(_0x1ef66a=_0x17f061[_0x26e465])&&(_0x4154b0=(_0x1ad858?_0x1ef66a(_0x49c535,_0x2c1551,_0x4154b0):_0x1ef66a(_0x4154b0))||_0x4154b0);return _0x1ad858&&_0x4154b0&&ds(_0x49c535,_0x2c1551,_0x4154b0),_0x4154b0;},mt=(_0x2d833f,_0x4c55b6)=>(_0x182a01,_0x167e18)=>_0x4c55b6(_0x182a01,_0x167e18,_0x2d833f);let Ot=class extends _0x34ba39{constructor(_0x9a93e3,_0x56f081,_0x13e4c8){var _0x139227=_0x441125;super(),N(this,_0x139227(0x321),new _0x513a8a(null)),N(this,_0x139227(0x316),this[_0x139227(0x321)][_0x139227(0x2b4)]()),(this['_logService']=_0x9a93e3,this[_0x139227(0x4b7)]=_0x56f081,this['_localCacheService']=_0x13e4c8);}async[_0x441125(0x2a6)](_0x209460,_0x3d1567,_0x3685d0){var _0x356fb5=_0x441125;this['_unitInfo$']['next']({'unitId':_0x209460,'type':_0x3d1567,'subUnitId':_0x3685d0});let _0x2ffb94=null;switch(_0x3d1567){case Q[_0x356fb5(0x32f)]:{_0x2ffb94=await this[_0x356fb5(0x356)](_0x209460);break;}case Q[_0x356fb5(0x4af)]:{_0x2ffb94=await this[_0x356fb5(0x437)](_0x209460);break;}default:{this['_logService']['error'](_0x356fb5(0x35a),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2ffb94;}async[_0x441125(0x356)](_0xa765a0){var _0x292cdb=_0x441125,_0x3ba70f;let _0xa6c6a=0x0;const _0x284fd3=await((_0x3ba70f=this[_0x292cdb(0x4a6)])==null?void 0x0:_0x3ba70f[_0x292cdb(0x262)](_0xa765a0));return _0x284fd3&&(_0x284fd3[_0x292cdb(0x3e1)]||_0x284fd3[_0x292cdb(0x213)][_0x292cdb(0x4b5)]!==0x0)&&(_0xa6c6a=_0x284fd3[_0x292cdb(0x2b8)]),_0xa6c6a===0x0&&this[_0x292cdb(0x33b)][_0x292cdb(0x4a7)](_0x292cdb(0x35a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x292cdb(0x4b7)][_0x292cdb(0x2ac)](_0xa765a0,_0xa6c6a);}async[_0x441125(0x437)](_0x4bcf5c){var _0x3d3f54=_0x441125,_0x2ac11b;let _0x5af2af=0x0;const _0x73419b=await((_0x2ac11b=this[_0x3d3f54(0x4a6)])==null?void 0x0:_0x2ac11b[_0x3d3f54(0x262)](_0x4bcf5c));return _0x73419b&&(_0x73419b[_0x3d3f54(0x3e1)]||_0x73419b[_0x3d3f54(0x213)][_0x3d3f54(0x4b5)]!==0x0)&&(_0x5af2af=_0x73419b[_0x3d3f54(0x2b8)]),_0x5af2af===0x0&&this[_0x3d3f54(0x33b)][_0x3d3f54(0x4a7)](_0x3d3f54(0x35a),_0x3d3f54(0x4a3)),this[_0x3d3f54(0x4b7)][_0x3d3f54(0x32d)](_0x4bcf5c,_0x5af2af);}};Ot=vs([mt(0x0,_0x1a51d0),mt(0x1,_0x4c1254(_0x1bfe69)),mt(0x2,_0x1cd728(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x441125(0x46f)],gs=(_0x11c6b2,_0x31fc15,_0x3829fc,_0x54b9da)=>{var _0x3fcc8e=_0x441125;for(var _0x2cbc64=_0x54b9da>0x1?void 0x0:_0x54b9da?ms(_0x31fc15,_0x3829fc):_0x31fc15,_0x32e090=_0x11c6b2[_0x3fcc8e(0x4b5)]-0x1,_0x3f9514;_0x32e090>=0x0;_0x32e090--)(_0x3f9514=_0x11c6b2[_0x32e090])&&(_0x2cbc64=(_0x54b9da?_0x3f9514(_0x31fc15,_0x3829fc,_0x2cbc64):_0x3f9514(_0x2cbc64))||_0x2cbc64);return _0x54b9da&&_0x2cbc64&&ps(_0x31fc15,_0x3829fc,_0x2cbc64),_0x2cbc64;},gt=(_0x3d9258,_0x3dce4c)=>(_0x2c391c,_0x443548)=>_0x3dce4c(_0x2c391c,_0x443548,_0x3d9258);const Ss=[_0x441125(0x2a4),_0x441125(0x44c),_0x441125(0x3e8),'image/gif','image/bmp'],Es=0x5*0x400*0x400,Is=_0x441125(0x407),Ts=_0x441125(0x28a),Cs=_0x441125(0x4b4),Rs=_0x441125(0x2e6);let yt=class{constructor(_0x2d530f,_0x12b7a8,_0x912e2c){var _0x55c830=_0x441125;N(this,_0x55c830(0x3f0),0x0),N(this,_0x55c830(0x459),new _0x54cf30()),N(this,'change$',this[_0x55c830(0x459)]),N(this,_0x55c830(0x254),new Map()),(this[_0x55c830(0x26a)]=_0x2d530f,this[_0x55c830(0x428)]=_0x12b7a8,this[_0x55c830(0x1ca)]=_0x912e2c);}['setWaitCount'](_0x1bd4f4){var _0x23ee99=_0x441125;this[_0x23ee99(0x3f0)]=_0x1bd4f4,this[_0x23ee99(0x459)][_0x23ee99(0x353)](_0x1bd4f4);}[_0x441125(0x30c)](_0x333931,_0x3e4b85){var _0x7d7cfd=_0x441125;if(_0x3e4b85===_0x43235f[_0x7d7cfd(0x2a0)]){const _0x5c2bba=new Image();return _0x5c2bba[_0x7d7cfd(0x26b)]=_0x333931,_0x5c2bba;}return this[_0x7d7cfd(0x254)][_0x7d7cfd(0x421)](_0x333931);}[_0x441125(0x26d)](_0x531dc8,_0x44f899,_0x4475fb){var _0x31310c=_0x441125;_0x44f899===_0x43235f[_0x31310c(0x2a0)]||_0x4475fb==null||this['_imageSourceCache'][_0x31310c(0x3a7)](_0x531dc8,_0x4475fb);}async[_0x441125(0x238)](_0x12f427){var _0xbb93c=_0x441125;try{const _0x56a89c=this['_replaceFileID'](this[_0xbb93c(0x498)](),''+_0x12f427),_0x359965=(await this[_0xbb93c(0x26a)][_0xbb93c(0x421)](_0x56a89c))['body'];if(_0x359965[_0xbb93c(0x37f)]&&_0x359965[_0xbb93c(0x37f)][_0xbb93c(0x371)]===Ii['OK']){const _0x2d33a1=new URL(_0x359965[_0xbb93c(0x2fe)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0xbb93c(0x21a)](_0x2d33a1);}return Promise[_0xbb93c(0x34f)](_0x359965[_0xbb93c(0x37f)]);}catch(_0x5b8925){return Promise['reject'](_0x5b8925);}}async[_0x441125(0x41f)](_0x25da87){var _0x315064=_0x441125;let _0x431d4a='';if(!Ss['includes'](_0x25da87[_0x315064(0x368)]))return this[_0x315064(0x2d8)](),Promise[_0x315064(0x34f)](new Error(_0x581074['ERROR_IMAGE_TYPE']));if(_0x25da87[_0x315064(0x438)]>Es)return this['_decreaseWaiting'](),Promise[_0x315064(0x34f)](new Error(_0x581074[_0x315064(0x3de)]));try{const _0x4686f6=new FormData();_0x4686f6[_0x315064(0x36b)](_0x315064(0x2f7),_0x25da87);const _0x5954c0=this[_0x315064(0x1ca)][_0x315064(0x23e)](),_0x1ac65c=_0x5954c0==null?void 0x0:_0x5954c0[_0x315064(0x3d9)]();if(!_0x1ac65c)throw new Error(_0x315064(0x225));const _0x4be72d=this[_0x315064(0x384)]()+_0x315064(0x35b)+_0x25da87[_0x315064(0x438)][_0x315064(0x473)]()+_0x315064(0x399)+Ti['UnitEmbedded']+_0x315064(0x252)+encodeURIComponent(_0x1ac65c),_0x330183=await(await fetch(_0x4be72d,{'method':_0x315064(0x326),'body':_0x4686f6}))[_0x315064(0x1e8)]();if(typeof _0x330183['FileId']!=_0x315064(0x24f))return this['_decreaseWaiting'](),Promise[_0x315064(0x34f)](new Error(_0x581074['ERROR_IMAGE']));_0x431d4a=_0x330183['FileId'];}catch{return this[_0x315064(0x2d8)](),Promise[_0x315064(0x34f)](new Error(_0x581074[_0x315064(0x44a)]));}return new Promise((_0x711b13,_0x17e920)=>{var _0x4ddacc=_0x315064;const _0x642fc4=new FileReader();_0x642fc4[_0x4ddacc(0x458)](_0x25da87),_0x642fc4[_0x4ddacc(0x202)]=_0x55c198=>{var _0x50fd5d=_0x4ddacc,_0x3812a3;const _0x120eb2=(_0x3812a3=_0x55c198[_0x50fd5d(0x4ae)])==null?void 0x0:_0x3812a3[_0x50fd5d(0x3f2)];if(_0x120eb2==null){this[_0x50fd5d(0x2d8)](),_0x17e920(new Error(_0x581074[_0x50fd5d(0x44a)]));return;}const _0x498dc8=_0x1c8f56['generateRandomId'](0x6);_0x711b13({'imageId':_0x498dc8,'imageSourceType':_0x43235f[_0x50fd5d(0x2ae)],'source':_0x431d4a,'base64Cache':_0x120eb2,'status':_0x581074[_0x50fd5d(0x291)]}),this[_0x50fd5d(0x2d8)]();};});}['_getUploadFileURL'](){var _0x5c3443=_0x441125,_0x556103,_0x38ff17;const _0x5dc679=this[_0x5c3443(0x428)][_0x5c3443(0x336)](Is),_0x2abe3a=this['_configService']['getConfig'](q);return(_0x38ff17=(_0x556103=_0x2abe3a==null?void 0x0:_0x2abe3a[_0x5c3443(0x435)])!=null?_0x556103:_0x5dc679)!=null?_0x38ff17:Ts;}[_0x441125(0x498)](){var _0x3303db=_0x441125,_0x2b9a62,_0x53e76b;const _0x330836=this['_configService']['getConfig'](Cs),_0x306fab=this[_0x3303db(0x428)][_0x3303db(0x336)](q);return(_0x53e76b=(_0x2b9a62=_0x306fab==null?void 0x0:_0x306fab[_0x3303db(0x2f2)])!=null?_0x2b9a62:_0x330836)!=null?_0x53e76b:Rs;}['_getDownloadEndpointURL'](){var _0x5adda0=_0x441125,_0x4002cb;const _0xdd62ac=this[_0x5adda0(0x428)][_0x5adda0(0x336)](q);return(_0x4002cb=_0xdd62ac==null?void 0x0:_0xdd62ac[_0x5adda0(0x4a2)])!=null?_0x4002cb:location[_0x5adda0(0x3d7)];}['_replaceFileID'](_0xa436e2,_0x3aa8b2){var _0x242e87=_0x441125;return _0xa436e2[_0x242e87(0x3a6)](_0x242e87(0x23d),_0x3aa8b2);}['_decreaseWaiting'](){var _0x2957dc=_0x441125;this[_0x2957dc(0x3f0)]-=0x1,this[_0x2957dc(0x459)][_0x2957dc(0x353)](this['_waitCount']);}};yt=gs([gt(0x0,_0x4c1254(_0x4683f2)),gt(0x1,_0xbb3a21),gt(0x2,_0x4c1254(_0x29cfcd))],yt);var bs=Object['defineProperty'],Os=Object[_0x441125(0x46f)],ys=(_0x1657ea,_0x538f33,_0x30399d,_0x1bb7c9)=>{var _0x5e753f=_0x441125;for(var _0x5357f5=_0x1bb7c9>0x1?void 0x0:_0x1bb7c9?Os(_0x538f33,_0x30399d):_0x538f33,_0x313ac7=_0x1657ea[_0x5e753f(0x4b5)]-0x1,_0x5be943;_0x313ac7>=0x0;_0x313ac7--)(_0x5be943=_0x1657ea[_0x313ac7])&&(_0x5357f5=(_0x1bb7c9?_0x5be943(_0x538f33,_0x30399d,_0x5357f5):_0x5be943(_0x5357f5))||_0x5357f5);return _0x1bb7c9&&_0x5357f5&&bs(_0x538f33,_0x30399d,_0x5357f5),_0x5357f5;},_i=(_0x4fcfcf,_0x202571)=>(_0x260469,_0x2c5f47)=>_0x202571(_0x260469,_0x2c5f47,_0x4fcfcf);const Ns='/universer-api/authz';let Nt=class{constructor(_0x3a324f,_0x43f88b){var _0x868998=_0x441125;this[_0x868998(0x428)]=_0x3a324f,this[_0x868998(0x441)]=_0x43f88b;}['_getAPIPrefixPath'](){var _0x5d561a=_0x441125,_0x52f553,_0x31aadf;const _0x2b1bf1=this['_configService'][_0x5d561a(0x336)](Pi),_0x3b70c4=this[_0x5d561a(0x428)][_0x5d561a(0x336)](q);return(_0x31aadf=(_0x52f553=_0x3b70c4==null?void 0x0:_0x3b70c4[_0x5d561a(0x3c3)])!=null?_0x52f553:_0x2b1bf1)!=null?_0x31aadf:Ns;}async[_0x441125(0x3fb)](_0x42f603){var _0x5ad498=_0x441125;const _0x5b0c94=this['_getAPIPrefixPath']()+_0x5ad498(0x303);return{'list':[{'title':_0x5ad498(0x282),'mentions':(await this[_0x5ad498(0x441)][_0x5ad498(0x421)](_0x5b0c94,{'params':{'objectID':_0x42f603[_0x5ad498(0x2d4)],'unitID':_0x42f603['unitId']}}))['body'][_0x5ad498(0x205)][_0x5ad498(0x211)](_0x3cf029=>({'objectId':_0x3cf029['id'],'name':_0x3cf029['subject']['name'],'metadata':{'icon':_0x3cf029[_0x5ad498(0x204)][_0x5ad498(0x2ec)]},'label':_0x3cf029[_0x5ad498(0x204)]['name'],'objectType':_0x207832[_0x5ad498(0x35f)]})),'metadata':{},'type':_0x207832[_0x5ad498(0x35f)]}]};}};Nt=ys([_i(0x0,_0x4c1254(_0xbb3a21)),_i(0x1,_0x4c1254(_0x4683f2))],Nt);var Ds=Object[_0x441125(0x464)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x55a5fd,_0x4062e6,_0x3a885c,_0x2e67cd)=>{var _0x53e8fa=_0x441125;for(var _0x430c8b=_0x2e67cd>0x1?void 0x0:_0x2e67cd?Ps(_0x4062e6,_0x3a885c):_0x4062e6,_0x1338ec=_0x55a5fd[_0x53e8fa(0x4b5)]-0x1,_0x33938a;_0x1338ec>=0x0;_0x1338ec--)(_0x33938a=_0x55a5fd[_0x1338ec])&&(_0x430c8b=(_0x2e67cd?_0x33938a(_0x4062e6,_0x3a885c,_0x430c8b):_0x33938a(_0x430c8b))||_0x430c8b);return _0x2e67cd&&_0x430c8b&&Ds(_0x4062e6,_0x3a885c,_0x430c8b),_0x430c8b;},Se=(_0x3c83bd,_0x190570)=>(_0x3fe7b3,_0x3702a4)=>_0x190570(_0x3fe7b3,_0x3702a4,_0x3c83bd);let at=class extends _0x34ba39{constructor(_0x22671b,_0x3e4de4,_0x4654f9,_0x4257e1,_0x40f482,_0x38b323,_0x4d7d70){var _0x200c7d=_0x441125;super(),this['_injector']=_0x22671b,this[_0x200c7d(0x1ca)]=_0x3e4de4,this['_permissionService']=_0x4654f9,this[_0x200c7d(0x414)]=_0x4257e1,this[_0x200c7d(0x4a5)]=_0x40f482,this[_0x200c7d(0x268)]=_0x38b323,this[_0x200c7d(0x446)]=_0x4d7d70,this[_0x200c7d(0x2e0)](),this[_0x200c7d(0x286)]();}[_0x441125(0x286)](){var _0x353c07=_0x441125;const _0x4aa25a=async _0x41c1ff=>{var _0x313e0f=_0x317a;(await this[_0x313e0f(0x414)][_0x313e0f(0x2b1)](_0x41c1ff))[_0x313e0f(0x246)][_0x313e0f(0x2e2)](_0x1a3e24(_0x2ec6a5=>_0x2ec6a5[_0x313e0f(0x36f)]===_0x60c778['SHOULD_CLOSE_CONN']),_0x54f61d(this[_0x313e0f(0x361)]))[_0x313e0f(0x27f)](_0x248874=>{var _0x6fbcf1=_0x313e0f;const _0x8f3403=_0x248874,{reason:_0x4c3134}=_0x8f3403['data'];this[_0x6fbcf1(0x4a5)][_0x6fbcf1(0x31f)]({'id':se[_0x6fbcf1(0x3b0)],'data':_0x4c3134}),this[_0x6fbcf1(0x3d2)]['updatePermissionPoint'](new _0x51fb1a(_0x41c1ff)['id'],!0x1),this[_0x6fbcf1(0x414)][_0x6fbcf1(0x360)](_0x41c1ff);});};_0x283e79(this['_univerInstanceService'][_0x353c07(0x20a)](_0x53d653[_0x353c07(0x32f)]),this[_0x353c07(0x1ca)]['getTypeOfUnitAdded$'](_0x53d653[_0x353c07(0x4af)]))['pipe'](_0x48f8c3(_0x3fce19=>_0x3fce19['getUnitId']()),_0x1a3e24(_0x3de582=>!_0x3226b7(_0x3de582)),_0x54f61d(this[_0x353c07(0x361)]))[_0x353c07(0x27f)](_0x171f43=>{_0x4aa25a(_0x171f43);});}[_0x441125(0x2e0)](){var _0xa20bc6=_0x441125;const _0x42574c=async _0x19bc34=>{var _0x2d81c8=_0x317a;const _0x509f89=await this[_0x2d81c8(0x414)][_0x2d81c8(0x2b1)](_0x19bc34),_0x35dec0=this[_0x2d81c8(0x31d)][_0x2d81c8(0x421)](_0x1d35e0);_0x509f89[_0x2d81c8(0x246)][_0x2d81c8(0x2e2)](_0x1a3e24(_0x2c2127=>_0x2c2127[_0x2d81c8(0x36f)]===_0x60c778['UPDATE_PERMISSION_OBJ']),_0x54f61d(this['dispose$']))[_0x2d81c8(0x27f)](_0x454bc4=>{var _0x5e7f4e=_0x2d81c8;const _0x3642f9=_0x454bc4,{objectId:_0x1df550}=_0x3642f9[_0x5e7f4e(0x206)];_0x1df550===_0x19bc34?_0x35dec0[_0x5e7f4e(0x2ff)](_0x19bc34):_0x35dec0[_0x5e7f4e(0x2d2)](_0x19bc34,_0x1df550);});};_0x283e79(this[_0xa20bc6(0x1ca)]['getTypeOfUnitAdded$'](_0x53d653['UNIVER_SHEET']),this[_0xa20bc6(0x1ca)][_0xa20bc6(0x20a)](_0x53d653[_0xa20bc6(0x4af)]))[_0xa20bc6(0x2e2)](_0x48f8c3(_0x108a48=>_0x108a48[_0xa20bc6(0x3d9)]()),_0x1a3e24(_0x3b0bb0=>!_0x3226b7(_0x3b0bb0)),_0x54f61d(this[_0xa20bc6(0x361)]))['subscribe'](_0x253813=>{_0x42574c(_0x253813);});}};at=ws([Se(0x0,_0x4c1254(_0x3c4fc8)),Se(0x1,_0x29cfcd),Se(0x2,_0x517680),Se(0x3,_0x4c1254(Le)),Se(0x4,_0x4c1254(pe)),Se(0x5,_0x31da8c),Se(0x6,_0x12e445)],at);var Us=Object[_0x441125(0x464)],As=Object['getOwnPropertyDescriptor'],xs=(_0x7d88c8,_0x506e4f,_0x793c83,_0x275a18)=>{var _0x35cac4=_0x441125;for(var _0x1bab02=_0x275a18>0x1?void 0x0:_0x275a18?As(_0x506e4f,_0x793c83):_0x506e4f,_0x2a732b=_0x7d88c8[_0x35cac4(0x4b5)]-0x1,_0x1a82d6;_0x2a732b>=0x0;_0x2a732b--)(_0x1a82d6=_0x7d88c8[_0x2a732b])&&(_0x1bab02=(_0x275a18?_0x1a82d6(_0x506e4f,_0x793c83,_0x1bab02):_0x1a82d6(_0x1bab02))||_0x1bab02);return _0x275a18&&_0x1bab02&&Us(_0x506e4f,_0x793c83,_0x1bab02),_0x1bab02;},li=(_0x40ee6c,_0x1d9e16)=>(_0x5d1fb8,_0x8f704c)=>_0x1d9e16(_0x5d1fb8,_0x8f704c,_0x40ee6c);let Dt=class{constructor(_0x128e5e,_0x584645){this['_configService']=_0x128e5e,this['_httpService']=_0x584645;}async['getUnitOnRev'](_0x46d6f7,_0x567d84){var _0x5c8bf3=_0x441125,_0x471836;const {unitID:_0x17df0a,type:_0xd5c0f6,revision:_0x2e22fb=0x0}=_0x567d84,_0x358a33=this[_0x5c8bf3(0x352)]()+'/'+_0xd5c0f6+_0x5c8bf3(0x2ed)+_0x17df0a+_0x5c8bf3(0x27a)+_0x2e22fb,_0x2d2279=(await this['_httpService'][_0x5c8bf3(0x421)](_0x358a33))[_0x5c8bf3(0x492)],_0x4962eb=(_0x471836=_0x2d2279[_0x5c8bf3(0x38f)])==null?void 0x0:_0x471836[_0x5c8bf3(0x3eb)];if(_0x4962eb){const _0x21a953=_0x4962eb==null?void 0x0:_0x4962eb[_0x5c8bf3(0x1cc)],_0x35746d=_0x4b6577[_0x5c8bf3(0x47d)](_0x7c50c4(_0x21a953));_0x4962eb['originalMeta']=_0x35746d,Object['entries'](_0x4962eb['sheets'])[_0x5c8bf3(0x45f)](([,_0xb43346])=>{var _0x380d4c=_0x5c8bf3;const _0x39e81f=_0xb43346['originalMeta'],_0x18b4ba=_0x4b6577['encode'](_0x7c50c4(_0x39e81f));_0xb43346[_0x380d4c(0x1cc)]=_0x18b4ba;});}return _0x2d2279;}async[_0x441125(0x427)](_0x24c84b,_0xeabfa4){var _0xf9111c=_0x441125;const {unitID:_0x7a0b6e,type:_0x1ba083,blockID:_0x3d6968}=_0xeabfa4,_0xcb9012=this['_getAPIPrefix']()+'/'+_0x1ba083+'/unit/'+_0x7a0b6e+_0xf9111c(0x424)+_0x3d6968;return(await this[_0xf9111c(0x26a)][_0xf9111c(0x421)](_0xcb9012))[_0xf9111c(0x492)];}async['getDeserializedSheetBlock'](_0x2830d2,_0x1c4172){var _0x16f894=_0x441125;const {unitID:_0x196a11,type:_0x5a8332,blockID:_0x4ba181}=_0x1c4172,_0x4b5648=this[_0x16f894(0x401)]()+'/block/'+_0x5a8332+_0x16f894(0x2ed)+_0x196a11+_0x16f894(0x424)+_0x4ba181;return(await this[_0x16f894(0x26a)]['get'](_0x4b5648))[_0x16f894(0x492)];}async[_0x441125(0x3ad)](_0x1ace91,_0x30866b){var _0x3ac65a=_0x441125;const {unitID:_0x163e4f,type:_0x520434,from:_0x57122f,to:_0x2d7ab0}=_0x30866b,_0x3848fe=this[_0x3ac65a(0x401)]()+'/'+_0x520434+_0x3ac65a(0x2ed)+_0x163e4f+_0x3ac65a(0x276)+_0x57122f+_0x3ac65a(0x460)+_0x2d7ab0;return(await this[_0x3ac65a(0x26a)][_0x3ac65a(0x421)](_0x3848fe))['body'];}[_0x441125(0x352)](){var _0x44d2a7=_0x441125,_0x2114f4;return(_0x2114f4=this[_0x44d2a7(0x428)][_0x44d2a7(0x336)](Tn))!=null?_0x2114f4:this[_0x44d2a7(0x401)]();}[_0x441125(0x401)](){var _0x249704=_0x441125,_0x4a342e,_0x2b6ed5;const _0x5ed594=this[_0x249704(0x428)][_0x249704(0x336)](En),_0x33505d=this[_0x249704(0x428)]['getConfig'](q);return(_0x2b6ed5=(_0x4a342e=_0x33505d==null?void 0x0:_0x33505d[_0x249704(0x2e3)])!=null?_0x4a342e:_0x5ed594)!=null?_0x2b6ed5:In;}async['getResourcesRequest'](_0x533ed4,_0x553115){var _0x5eeb57=_0x441125;const _0x56c9d7='/universer-api/snapshot/'+_0x553115[_0x5eeb57(0x368)]+_0x5eeb57(0x2ed)+_0x553115[_0x5eeb57(0x365)]+_0x5eeb57(0x2ce);return(await this[_0x5eeb57(0x26a)][_0x5eeb57(0x421)](_0x56c9d7,{'params':{'resourceId':JSON[_0x5eeb57(0x2cb)](_0x553115[_0x5eeb57(0x25a)])}}))['body'];}['saveSnapshot'](){var _0x58b365=_0x441125;throw new Error(_0x58b365(0x1ee));}['saveSheetBlock'](){var _0x4efe6a=_0x441125;throw new Error(_0x4efe6a(0x1ee));}[_0x441125(0x382)](){var _0x45e3ee=_0x441125;throw new Error(_0x45e3ee(0x1ee));}[_0x441125(0x2dc)](){var _0x16c6be=_0x441125;throw new Error(_0x16c6be(0x1ee));}[_0x441125(0x255)](){var _0x31039e=_0x441125;throw new Error(_0x31039e(0x1ee));}};Dt=xs([li(0x0,_0xbb3a21),li(0x1,_0x4c1254(_0x4683f2))],Dt);var Ls=Object[_0x441125(0x464)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x91bd5e,_0xfbb516,_0x2ccf2c,_0x1e2f1f)=>{for(var _0xde09b6=_0x1e2f1f>0x1?void 0x0:_0x1e2f1f?Ms(_0xfbb516,_0x2ccf2c):_0xfbb516,_0x20cad0=_0x91bd5e['length']-0x1,_0x21455e;_0x20cad0>=0x0;_0x20cad0--)(_0x21455e=_0x91bd5e[_0x20cad0])&&(_0xde09b6=(_0x1e2f1f?_0x21455e(_0xfbb516,_0x2ccf2c,_0xde09b6):_0x21455e(_0xde09b6))||_0xde09b6);return _0x1e2f1f&&_0xde09b6&&Ls(_0xfbb516,_0x2ccf2c,_0xde09b6),_0xde09b6;},Ae=(_0x582cea,_0x442c63)=>(_0x3916c2,_0x4e616f)=>_0x442c63(_0x3916c2,_0x4e616f,_0x582cea);let Pt=class extends _0x2ec711{constructor(_0xb61a1f,_0xd35547,_0x2edc38,_0x1c15dc,_0x2a3022){var _0x49c8b7=_0x441125;super(_0xb61a1f,_0xd35547,_0x2edc38),this['_transformService']=_0x1c15dc,this[_0x49c8b7(0x33b)]=_0x2a3022;}['transformUndoRedo'](_0x39c13c,_0x23c858){var _0x85b0d7=_0x441125;const _0x2545cc=this['_getUndoStack'](_0x39c13c);if(_0x2545cc)try{const _0x5177c7=this[_0x85b0d7(0x2ca)](_0x2545cc,_0x23c858);this[_0x85b0d7(0x40d)](_0x39c13c,_0x5177c7);}catch(_0x46134f){this[_0x85b0d7(0x33b)][_0x85b0d7(0x37f)](_0x85b0d7(0x32a),_0x46134f),this[_0x85b0d7(0x203)](_0x39c13c);}const _0x50e6ac=this[_0x85b0d7(0x1c9)](_0x39c13c);if(_0x50e6ac)try{const _0x451cc7=this[_0x85b0d7(0x2ca)](_0x50e6ac,_0x23c858);this[_0x85b0d7(0x1f7)](_0x39c13c,_0x451cc7);}catch(_0x258ab4){this[_0x85b0d7(0x33b)][_0x85b0d7(0x37f)](_0x258ab4),this[_0x85b0d7(0x3f8)](_0x39c13c);}}['_clearUndo'](_0x264665){var _0x89e86b=_0x441125;const _0x2ea274=this[_0x89e86b(0x4a9)](_0x264665);_0x2ea274&&(_0x2ea274['length']=0x0,this[_0x89e86b(0x22c)]());}[_0x441125(0x3f8)](_0x1dcf10){var _0x1e5e5a=_0x441125;const _0x56cf8d=this[_0x1e5e5a(0x1c9)](_0x1dcf10);_0x56cf8d&&(_0x56cf8d[_0x1e5e5a(0x4b5)]=0x0,this[_0x1e5e5a(0x22c)]());}['_substituteUndoStack'](_0x3beb79,_0x51898b){var _0x409b63=_0x441125;this[_0x409b63(0x37a)][_0x409b63(0x3a7)](_0x3beb79,_0x51898b),this[_0x409b63(0x22c)]();}[_0x441125(0x1f7)](_0x3ab491,_0x5a9023){var _0x4f4104=_0x441125;this['_redoStacks'][_0x4f4104(0x3a7)](_0x3ab491,_0x5a9023),this[_0x4f4104(0x22c)]();}['_transformStack'](_0xb69709,_0x1cd64a){var _0x15b6e7=_0x441125;const _0x40b8fb=[];let _0x542801=_0x1cd64a,_0x47c492=_0x1cd64a;for(let _0x4de7c5=_0xb69709[_0x15b6e7(0x4b5)]-0x1;_0x4de7c5>=0x0;_0x4de7c5--){const {unitID:_0x22fa70,undoMutations:_0x14f039,redoMutations:_0x1650ac}=_0xb69709[_0x4de7c5],_0x334c7b=this['_transformService'][_0x15b6e7(0x400)](_0x542801,_0x14f039),_0x2c2a8b=this['_transformService'][_0x15b6e7(0x400)](_0x47c492,_0x1650ac);if(_0xa6fce5(_0x334c7b)||_0xa6fce5(_0x2c2a8b)){this[_0x15b6e7(0x33b)][_0x15b6e7(0x37f)](_0x15b6e7(0x32a),_0x15b6e7(0x3fc),_0x334c7b,_0x2c2a8b);break;}_0x542801=_0x334c7b['c1Prime'],_0x47c492=_0x2c2a8b[_0x15b6e7(0x3ec)],_0x40b8fb['push']({'unitID':_0x22fa70,'undoMutations':_0x334c7b[_0x15b6e7(0x29a)],'redoMutations':_0x2c2a8b[_0x15b6e7(0x29a)]});}return _0x40b8fb[_0x15b6e7(0x481)]();}};Pt=$s([Ae(0x0,_0x29cfcd),Ae(0x1,_0x1686ec),Ae(0x2,_0x30f82d),Ae(0x3,_0x3dd10f),Ae(0x4,_0x1a51d0)],Pt);var xi=Object[_0x441125(0x464)],Hs=Object[_0x441125(0x46f)],ks=(_0x424794,_0x23b244,_0x156927)=>_0x23b244 in _0x424794?xi(_0x424794,_0x23b244,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x156927}):_0x424794[_0x23b244]=_0x156927,js=(_0x48276e,_0x54d7f7,_0x31ecce,_0x5b5842)=>{var _0x4740d8=_0x441125;for(var _0x389d0b=_0x5b5842>0x1?void 0x0:_0x5b5842?Hs(_0x54d7f7,_0x31ecce):_0x54d7f7,_0x525dcc=_0x48276e[_0x4740d8(0x4b5)]-0x1,_0x3655bb;_0x525dcc>=0x0;_0x525dcc--)(_0x3655bb=_0x48276e[_0x525dcc])&&(_0x389d0b=(_0x5b5842?_0x3655bb(_0x54d7f7,_0x31ecce,_0x389d0b):_0x3655bb(_0x389d0b))||_0x389d0b);return _0x5b5842&&_0x389d0b&&xi(_0x54d7f7,_0x31ecce,_0x389d0b),_0x389d0b;},St=(_0x3ef183,_0x2756ba)=>(_0x3ab418,_0x502168)=>_0x2756ba(_0x3ab418,_0x502168,_0x3ef183),Bs=(_0x3764a0,_0x42488d,_0x139f7c)=>ks(_0x3764a0,_0x42488d+'',_0x139f7c);const Fs=_0x441125(0x243);let wt=class extends _0x3ff1a7{constructor(_0x3c8580=Wt,_0x3cd483,_0x402c27,_0x40b2c6){var _0x368c1b=_0x441125;super(),this[_0x368c1b(0x2d7)]=_0x3c8580,this[_0x368c1b(0x33b)]=_0x3cd483,this['_injector']=_0x402c27,this['_configService']=_0x40b2c6;const {..._0xd029da}=_0x2bfd03({},Wt,this['_config']);this[_0x368c1b(0x428)]['setConfig'](q,_0xd029da);}[_0x441125(0x39f)](){var _0x51d1f8=_0x441125;this[_0x51d1f8(0x257)](),this[_0x51d1f8(0x220)]();}[_0x441125(0x257)](){var _0x239a12=_0x441125,_0x1e0115,_0x50ff88,_0x2f65bf,_0x587e22;this[_0x239a12(0x31d)][_0x239a12(0x386)](_0x12e445)&&this['_logService']['error'](_0x239a12(0x32e),_0x239a12(0x3b5));const _0x1bc4d1=_0x383286([[_0x12e445,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x50ff88=(_0x1e0115=this['_config'])==null?void 0x0:_0x1e0115[_0x239a12(0x1b5)])!=null?_0x50ff88:Et}],[_0x305003,{'useClass':Dt}],[_0x31da8c,{'useClass':bt}],[_0x64733a,{'useClass':yt}],[_0x431e5b,{'useClass':Nt}],[rt],[Rt]],(_0x2f65bf=this[_0x239a12(0x2d7)])==null?void 0x0:_0x2f65bf[_0x239a12(0x2f8)]);if(!((_0x587e22=this[_0x239a12(0x2d7)])!=null&&_0x587e22['enableSingleActiveInstanceLock'])){const _0x54692b=_0x1bc4d1[_0x239a12(0x482)](([_0x105b36])=>_0x105b36===ht);_0x54692b!==-0x1&&_0x1bc4d1[_0x239a12(0x41b)](_0x54692b,0x1);}_0x495889(this[_0x239a12(0x31d)],_0x1bc4d1);}[_0x441125(0x220)](){var _0x3fdb86=_0x441125,_0x3cfda,_0x5b2a07,_0x202ced;this[_0x3fdb86(0x31d)][_0x3fdb86(0x421)](_0x4683f2)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0xdd8f2c({'maxParallel':0x6})}),(_0x3cfda=this[_0x3fdb86(0x2d7)])!=null&&_0x3cfda['enableOfflineEditing']||(_0x5b2a07=this[_0x3fdb86(0x31d)][_0x3fdb86(0x421)](J,_0x30c725[_0x3fdb86(0x391)]))==null||_0x5b2a07[_0x3fdb86(0x49e)](),(_0x202ced=this[_0x3fdb86(0x2d7)])!=null&&_0x202ced[_0x3fdb86(0x3b1)]&&_0x1ef811(this[_0x3fdb86(0x31d)],[[st]]),_0x1ef811(this[_0x3fdb86(0x31d)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x5a0d77(_0x4803ce,_0x5433c3,_0xd38c71),St(0x1,_0x1a51d0),St(0x2,_0x4c1254(_0x3c4fc8)),St(0x3,_0xbb3a21)],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 _0x4ed5f2=_0x3a29;(function(_0x2b9293,_0x32c0bb){var _0x26c944=_0x3a29,_0x4c340e=_0x2b9293();while(!![]){try{var _0x2c88b2=-parseInt(_0x26c944(0x265))/0x1+-parseInt(_0x26c944(0x171))/0x2+parseInt(_0x26c944(0x225))/0x3+parseInt(_0x26c944(0x136))/0x4*(parseInt(_0x26c944(0x3df))/0x5)+parseInt(_0x26c944(0x22d))/0x6*(-parseInt(_0x26c944(0x165))/0x7)+-parseInt(_0x26c944(0x3de))/0x8+parseInt(_0x26c944(0x192))/0x9;if(_0x2c88b2===_0x32c0bb)break;else _0x4c340e['push'](_0x4c340e['shift']());}catch(_0x5df47c){_0x4c340e['push'](_0x4c340e['shift']());}}}(_0x4e44,0x6fd15));var Li=Object['defineProperty'],Mi=(_0x2aca40,_0x3cc8f5,_0xff2c43)=>_0x3cc8f5 in _0x2aca40?Li(_0x2aca40,_0x3cc8f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xff2c43}):_0x2aca40[_0x3cc8f5]=_0xff2c43,N=(_0x40a14e,_0x22268d,_0x52e19b)=>Mi(_0x40a14e,typeof _0x22268d!=_0x4ed5f2(0x190)?_0x22268d+'':_0x22268d,_0x52e19b);import{createIdentifier as _0x15cfb4,Inject as _0x2e68e5,Injector as _0x39e407,Disposable as _0x22c2fb,DisposableCollection as _0x58893b,toDisposable as _0x1d319d,IConfigService as _0x144724,ILogService as _0x188ee,UserManagerService as _0x59af86,UniverInstanceType as _0x1a3f81,IUniverInstanceService as _0x567566,LocaleService as _0x427944,Optional as _0x4396dd,RxDisposable as _0x5843ad,Tools as _0x6afa6a,Rectangle as _0x51ccec,ICommandService as _0x20399a,JSONX as _0x417fa3,CommandType as _0x3d6340,IPermissionService as _0x1d089a,IUndoRedoService as _0x792b04,sequenceExecute as _0x55520d,Workbook as _0x4f6a29,MentionType as _0x1ddc31,IAuthzIoService as _0x240d6b,isInternalEditorID as _0x2a97ae,LocalUndoRedoService as _0x187325,IContextService as _0x1bd0cc,DependentOn as _0x140bac,Plugin as _0x35363e,merge as _0x8ba257,mergeOverrideWithDependencies as _0x166dea,IMentionIOService as _0x3c9cf5,registerDependencies as _0x4c1a63,Quantity as _0x506c1e,touchDependencies as _0x1ad997}from'@univerjs/core';import{Subject as _0x349398,merge as _0x3261e1,of as _0x163e28,BehaviorSubject as _0x427afa,takeUntil as _0x2af187,ReplaySubject as _0x584106,take as _0x4c63b7,map as _0x356ab4,shareReplay as _0x37e875,firstValueFrom as _0x41a1b1,concatMap as _0x362fbd}from'rxjs';function _0x3a29(_0x196a6f,_0x567a3a){var _0x4e4463=_0x4e44();return _0x3a29=function(_0x3a2997,_0x4eefe0){_0x3a2997=_0x3a2997-0xeb;var _0x55e314=_0x4e4463[_0x3a2997];return _0x55e314;},_0x3a29(_0x196a6f,_0x567a3a);}import{map as _0x6df097,take as _0x48aad7,filter as _0x3ab440,delay as _0x41117d,takeUntil as _0x28659e}from'rxjs/operators';import{HTTPService as _0x5019fe,ISocketService as _0x5c81f6,MergeInterceptorFactory as _0x393398,HTTPRequest as _0x359360,UniverNetworkPlugin as _0x561515,ThresholdInterceptorFactory as _0xa8c33a}from'@univerjs/network';import{CollaborationEvent as _0x3973af,parseChangesetToProtocol as _0x2114ca,ISnapshotServerService as _0x1f1215,isTransformMutationsWithChangesetSuccess as _0x3329e6,ITransformService as _0x2d59c1,mapDocumentTypeToUniverType as _0x214448,RevisionService as _0x205ba3,isTransformChangesetsSuccess as _0x38b702,CompressMutationService as _0x2b89da,parseProtocolChangeset as _0x3ff866,SnapshotService as _0x4a3abc,textEncoder as _0x335886,b64DecodeUnicode as _0x40c18f,isTransformMutationsWithChangesetFailure as _0x51ac59,UniverCollaborationPlugin as _0x4bdfba}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1bc235}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x55dd13}from'@univerjs/docs';import{SheetsSelectionsService as _0x2d19ae,SetSelectionsOperation as _0x2ead0f,InsertSheetMutation as _0x2410fd,EmptyMutation as _0x4b0e83,WorkbookEditablePermission as _0x216657,SheetPermissionInitController as _0x2ce43f,UniverSheetsPlugin as _0x34631e}from'@univerjs/sheets';import{ImageSourceType as _0x36ffc1,ImageUploadStatusType as _0x1ef767,IImageIoService as _0x3bb57b}from'@univerjs/drawing';import{getGlobalObject as _0x546b42}from'@univerjs-pro/license';const En=_0x4ed5f2(0x1c6),In=_0x4ed5f2(0x2c4),Tn=_0x4ed5f2(0x222),eo=_0x4ed5f2(0x258),Cn=0x7d0,Rn=_0x4ed5f2(0x117),bn=_0x4ed5f2(0x196),On=_0x4ed5f2(0x19c),yn=_0x4ed5f2(0x125),Nn=0x7530,Si=_0x4ed5f2(0x212),Ei=0x4e20,Dn=0x4e20,Pn=_0x4ed5f2(0x248),wn=0x3,to='LOCAL_CACHE_INTERVAL',io=0x3e8,Un=_0x4ed5f2(0x18c),An='/universer-api/comb',xn='LOGIN_URL_KEY',Ln=_0x4ed5f2(0x2f9),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x4ed5f2(0x19d);var Ii=(_0x1a5403=>(_0x1a5403[_0x1a5403[_0x4ed5f2(0x3d6)]=0x0]='UNDEFINED',_0x1a5403[_0x1a5403['OK']=0x1]='OK',_0x1a5403[_0x1a5403[_0x4ed5f2(0x3a9)]=0x2]='INTERNAL_ERROR',_0x1a5403[_0x1a5403[_0x4ed5f2(0x18e)]=0x3]=_0x4ed5f2(0x18e),_0x1a5403[_0x1a5403[_0x4ed5f2(0x1a0)]=0x4]='NOT_FOUND',_0x1a5403[_0x1a5403[_0x4ed5f2(0x28f)]=0x5]=_0x4ed5f2(0x28f),_0x1a5403[_0x1a5403['ALREADY_EXISTS']=0x6]=_0x4ed5f2(0x18f),_0x1a5403[_0x1a5403['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1a5403[_0x1a5403['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1a5403[_0x1a5403[_0x4ed5f2(0x36b)]=0x9]=_0x4ed5f2(0x36b),_0x1a5403[_0x1a5403[_0x4ed5f2(0x2bd)]=0x1389]=_0x4ed5f2(0x2bd),_0x1a5403[_0x1a5403['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4ed5f2(0x1e7),_0x1a5403[_0x1a5403[_0x4ed5f2(0x3c8)]=0x1772]=_0x4ed5f2(0x3c8),_0x1a5403[_0x1a5403[_0x4ed5f2(0x381)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1a5403[_0x1a5403[_0x4ed5f2(0x163)]=0x1b59]=_0x4ed5f2(0x163),_0x1a5403[_0x1a5403['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4ed5f2(0x2c0),_0x1a5403[_0x1a5403[_0x4ed5f2(0x26d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1a5403[_0x1a5403['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4ed5f2(0x1f5),_0x1a5403[_0x1a5403[_0x4ed5f2(0x348)]=0x1b5d]=_0x4ed5f2(0x348),_0x1a5403[_0x1a5403[_0x4ed5f2(0x1fe)]=0x1f41]=_0x4ed5f2(0x1fe),_0x1a5403[_0x1a5403['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4ed5f2(0x1f9),_0x1a5403[_0x1a5403[_0x4ed5f2(0x174)]=0x232a]=_0x4ed5f2(0x174),_0x1a5403[_0x1a5403[_0x4ed5f2(0x119)]=0x232b]=_0x4ed5f2(0x119),_0x1a5403[_0x1a5403[_0x4ed5f2(0x387)]=0x232c]=_0x4ed5f2(0x387),_0x1a5403[_0x1a5403[_0x4ed5f2(0x156)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1a5403[_0x1a5403[_0x4ed5f2(0x2b1)]=0x2711]=_0x4ed5f2(0x2b1),_0x1a5403[_0x1a5403[_0x4ed5f2(0x323)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1a5403[_0x1a5403[_0x4ed5f2(0x320)]=0x2713]=_0x4ed5f2(0x320),_0x1a5403[_0x1a5403[_0x4ed5f2(0x1da)]=0x2714]=_0x4ed5f2(0x1da),_0x1a5403[_0x1a5403[_0x4ed5f2(0x241)]=0x2af9]=_0x4ed5f2(0x241),_0x1a5403[_0x1a5403['UNRECOGNIZED']=-0x1]=_0x4ed5f2(0x333),_0x1a5403))(Ii||{}),Q=(_0x423a82=>(_0x423a82[_0x423a82[_0x4ed5f2(0x183)]=0x0]=_0x4ed5f2(0x183),_0x423a82[_0x423a82['UNIVER_DOC']=0x1]=_0x4ed5f2(0x243),_0x423a82[_0x423a82[_0x4ed5f2(0x14c)]=0x2]='UNIVER_SHEET',_0x423a82[_0x423a82[_0x4ed5f2(0x207)]=0x3]=_0x4ed5f2(0x207),_0x423a82[_0x423a82[_0x4ed5f2(0x145)]=0x4]=_0x4ed5f2(0x145),_0x423a82[_0x423a82[_0x4ed5f2(0x333)]=-0x1]='UNRECOGNIZED',_0x423a82))(Q||{}),F=(_0xd8c548=>(_0xd8c548[_0xd8c548['UNKNOWN_CMD']=0x0]=_0x4ed5f2(0x227),_0xd8c548[_0xd8c548[_0x4ed5f2(0x104)]=0x1]=_0x4ed5f2(0x104),_0xd8c548[_0xd8c548['JOIN']=0x2]='JOIN',_0xd8c548[_0xd8c548[_0x4ed5f2(0x2bf)]=0x3]='LEAVE',_0xd8c548[_0xd8c548['INGEST']=0x4]=_0x4ed5f2(0x132),_0xd8c548[_0xd8c548['HEARTBEAT']=0x5]=_0x4ed5f2(0x3bd),_0xd8c548[_0xd8c548[_0x4ed5f2(0x2d7)]=0x6]=_0x4ed5f2(0x2d7),_0xd8c548[_0xd8c548['UNRECOGNIZED']=-0x1]=_0x4ed5f2(0x333),_0xd8c548))(F||{}),Ee=(_0x27a84a=>(_0x27a84a[_0x27a84a[_0x4ed5f2(0x30b)]=0x0]=_0x4ed5f2(0x30b),_0x27a84a[_0x27a84a['OK']=0x1]='OK',_0x27a84a[_0x27a84a[_0x4ed5f2(0x3af)]=0x2]='FAIL',_0x27a84a[_0x27a84a[_0x4ed5f2(0x160)]=0x3e9]=_0x4ed5f2(0x160),_0x27a84a[_0x27a84a[_0x4ed5f2(0x3ae)]=0x3ea]=_0x4ed5f2(0x3ae),_0x27a84a[_0x27a84a['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4ed5f2(0x109),_0x27a84a[_0x27a84a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4ed5f2(0x261),_0x27a84a[_0x27a84a[_0x4ed5f2(0x333)]=-0x1]=_0x4ed5f2(0x333),_0x27a84a))(Ee||{}),Ti=(_0x441bac=>(_0x441bac[_0x441bac[_0x4ed5f2(0x2f6)]=0x0]=_0x4ed5f2(0x2f6),_0x441bac[_0x441bac[_0x4ed5f2(0x296)]=0x1]=_0x4ed5f2(0x296),_0x441bac[_0x441bac[_0x4ed5f2(0x224)]=0x2]='HttpExport',_0x441bac[_0x441bac['UnitEmbedded']=0x3]=_0x4ed5f2(0x1eb),_0x441bac[_0x441bac[_0x4ed5f2(0x1ef)]=0x4]='UnitSnapshot',_0x441bac[_0x441bac['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x441bac))(Ti||{});const q=_0x4ed5f2(0x36a),Wt={};var se=(_0x3d15db=>(_0x3d15db['OTHER_CLIENT_EDITING']=_0x4ed5f2(0x269),_0x3d15db[_0x4ed5f2(0x18e)]=_0x4ed5f2(0x18e),_0x3d15db[_0x4ed5f2(0x29d)]='CONFLICT',_0x3d15db['CLOSE_ROOM']=_0x4ed5f2(0x30a),_0x3d15db['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x3d15db[_0x4ed5f2(0x1a9)]='SOCKET_FAILED_RETRY',_0x3d15db[_0x4ed5f2(0x274)]=_0x4ed5f2(0x274),_0x3d15db[_0x4ed5f2(0x22e)]=_0x4ed5f2(0x22e),_0x3d15db))(se||{});class pe{constructor(){var _0x5ef5b9=_0x4ed5f2;N(this,'_event$',new _0x349398()),N(this,_0x5ef5b9(0x11e),this[_0x5ef5b9(0x1a7)][_0x5ef5b9(0x21b)]());}[_0x4ed5f2(0x280)](_0x19bbb3){var _0x4baaae=_0x4ed5f2;this['_event$'][_0x4baaae(0x26f)](_0x19bbb3);}}const Mn=_0x15cfb4(_0x4ed5f2(0x1ff));function $n(_0x4cd384){var _0x5e5d83=_0x4ed5f2,_0x2b4902,_0x58e06f,_0x19ed19,_0x5a6fb4,_0x317222;const _0x1f86fb=_0x4cd384['data'],_0x522c91=JSON[_0x5e5d83(0x17b)](_0x1f86fb);switch(_0x522c91['cmd']){case F[_0x5e5d83(0x3bd)]:case F[_0x5e5d83(0x104)]:{const _0x79fb01=_0x522c91[_0x5e5d83(0x2fc)];return{..._0x522c91,'data':_0x79fb01,'cmd':_0x522c91['cmd']};}case F['JOIN']:{const _0x3060e=_0x522c91['joinRsp'];return{..._0x522c91,'data':_0x3060e,'cmd':_0x522c91[_0x5e5d83(0x1a5)]};}case F[_0x5e5d83(0x2d7)]:{const _0x5ce0b0=_0x522c91['collaMsg'];switch(_0x5ce0b0[_0x5e5d83(0x2a8)]){case _0x3973af['PERMISSION_REJ']:return{..._0x522c91,'data':{..._0x5ce0b0,'data':(_0x2b4902=_0x5ce0b0[_0x5e5d83(0x3d3)])==null?void 0x0:_0x2b4902['cs']},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x226)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':(_0x58e06f=_0x5ce0b0[_0x5e5d83(0x2e9)])==null?void 0x0:_0x58e06f['cs']},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x16c)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':(_0x19ed19=_0x5ce0b0[_0x5e5d83(0x116)])==null?void 0x0:_0x19ed19['cs']},'cmd':_0x522c91['cmd']};case _0x3973af['CHANGESET_REJ']:return{..._0x522c91,'data':{..._0x5ce0b0,'data':(_0x5a6fb4=_0x5ce0b0[_0x5e5d83(0x203)])==null?void 0x0:_0x5a6fb4['cs']},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x302)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':(_0x317222=_0x5ce0b0['csShouldRetryEvent'])==null?void 0x0:_0x317222['cs']},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af['UPDATE_CURSOR']:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0['updateCursorEvent']},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x2b7)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x3c3)]},'cmd':_0x522c91['cmd']};case _0x3973af[_0x5e5d83(0x294)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x20b)]},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af['LIVESHARE_NEW_HOST']:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x33e)]},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x2ac)]:case _0x3973af[_0x5e5d83(0x256)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x218)]},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0xeb)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x33e)]},'cmd':_0x522c91['cmd']};case _0x3973af[_0x5e5d83(0x2be)]:return{..._0x522c91,'data':_0x5ce0b0,'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x2c8)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x16b)]},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x194)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x26a)]},'cmd':_0x522c91[_0x5e5d83(0x1a5)]};case _0x3973af[_0x5e5d83(0x1ed)]:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x208)]},'cmd':_0x522c91['cmd']};case _0x3973af['UNISCRIPT_RUN']:return{..._0x522c91,'data':{..._0x5ce0b0,'data':_0x5ce0b0[_0x5e5d83(0x34d)]},'cmd':_0x522c91['cmd']};default:return _0x522c91;}}default:return _0x522c91;}}function Hn(_0x4fa68e){var _0x14856e=_0x4ed5f2;switch(_0x4fa68e[_0x14856e(0x1a5)]){case F['HEARTBEAT']:case F[_0x14856e(0x104)]:return JSON['stringify']({'cmd':_0x4fa68e['cmd'],'routeKey':_0x4fa68e[_0x14856e(0x20e)]});case F[_0x14856e(0x132)]:{let _0x207b6c;switch(_0x4fa68e[_0x14856e(0xf6)]['eventID']){case _0x3973af[_0x14856e(0x1b0)]:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0x1b0)],'updateCursorEvent':_0x4fa68e[_0x14856e(0xf6)][_0x14856e(0xf6)]};break;}case _0x3973af['USERS_LEAVE']:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0x294)],'leaveEvent':_0x4fa68e[_0x14856e(0xf6)][_0x14856e(0xf6)]};break;}case _0x3973af[_0x14856e(0x2b7)]:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0x2b7)],'joinEvent':_0x4fa68e['data']['data']};break;}case _0x3973af[_0x14856e(0x2d6)]:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0x2d6)],'liveShareNewHost':_0x4fa68e['data']['data']};break;}case _0x3973af[_0x14856e(0x256)]:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0x256)],'liveShareOperation':_0x4fa68e[_0x14856e(0xf6)]['data']};break;}case _0x3973af[_0x14856e(0xeb)]:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0xeb)],'liveShareTerminate':_0x4fa68e[_0x14856e(0xf6)]['data']};break;}case _0x3973af[_0x14856e(0x367)]:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0x367)],'liveShareRequestHost':_0x4fa68e['data'][_0x14856e(0xf6)]};break;}case _0x3973af[_0x14856e(0x2ac)]:{_0x207b6c={'eventID':_0x3973af[_0x14856e(0x2ac)]};break;}default:_0x207b6c={'eventID':_0x4fa68e['data'][_0x14856e(0x2a8)]};}return JSON[_0x14856e(0x2e2)]({'cmd':_0x4fa68e['cmd'],'routeKey':_0x4fa68e[_0x14856e(0x20e)],'collaMsg':_0x207b6c});}case F['JOIN']:return JSON['stringify']({'cmd':_0x4fa68e[_0x14856e(0x1a5)],'routeKey':_0x4fa68e[_0x14856e(0x20e)],'joinReq':_0x4fa68e['data']});case F[_0x14856e(0x2bf)]:return JSON[_0x14856e(0x2e2)]({'cmd':_0x4fa68e[_0x14856e(0x1a5)],'routeKey':_0x4fa68e[_0x14856e(0x20e)],'leaveReq':_0x4fa68e[_0x14856e(0xf6)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x4ed5f2(0x1f4)],jn=Object[_0x4ed5f2(0x3d9)],Bn=(_0x1e12c6,_0x53db37,_0x3b7484,_0xe864c1)=>{var _0x49056a=_0x4ed5f2;for(var _0x53d6c6=_0xe864c1>0x1?void 0x0:_0xe864c1?jn(_0x53db37,_0x3b7484):_0x53db37,_0x38f868=_0x1e12c6[_0x49056a(0x3c7)]-0x1,_0x1dcd92;_0x38f868>=0x0;_0x38f868--)(_0x1dcd92=_0x1e12c6[_0x38f868])&&(_0x53d6c6=(_0xe864c1?_0x1dcd92(_0x53db37,_0x3b7484,_0x53d6c6):_0x1dcd92(_0x53d6c6))||_0x53d6c6);return _0xe864c1&&_0x53d6c6&&kn(_0x53db37,_0x3b7484,_0x53d6c6),_0x53d6c6;},Ue=(_0x599edc,_0x4f78f9)=>(_0x5bab65,_0x24d575)=>_0x4f78f9(_0x5bab65,_0x24d575,_0x599edc);const Ci=_0x15cfb4(_0x4ed5f2(0x2f0));function Fn(_0x10c9e3,_0x1f174a,_0x4f677b){var _0x1da40b=_0x4ed5f2;return _0x10c9e3+'/'+_0x1f174a+_0x1da40b(0x1ca)+_0x4f677b+_0x1da40b(0x2fd);}let Et=class extends _0x22c2fb{constructor(_0x475604,_0x522127,_0x3894d6,_0x3c88f6,_0x159597){var _0x157160=_0x4ed5f2;super(),this[_0x157160(0x1f2)]=_0x475604,this[_0x157160(0x1a6)]=_0x522127,this['_configService']=_0x3894d6,this[_0x157160(0x2c9)]=_0x3c88f6,this[_0x157160(0x355)]=_0x159597;}[_0x4ed5f2(0x2dd)](_0x4adfa3){var _0x48b28a=_0x4ed5f2;const _0xd341b6=this[_0x48b28a(0x1f2)]['get'](_0x5c81f6);if(!_0xd341b6)throw new Error(_0x48b28a(0x1f0));const _0x46e5a7=_0xd341b6[_0x48b28a(0x2dd)](_0x4adfa3);if(!_0x46e5a7)throw new Error(_0x48b28a(0x10f));const _0x4f614a=new _0x58893b(),_0x49f2b4=new _0x349398();_0x4f614a[_0x48b28a(0x397)](_0x46e5a7[_0x48b28a(0x338)]['subscribe'](_0x409f23=>_0x49f2b4[_0x48b28a(0x26f)](_0x409f23))),_0x4f614a[_0x48b28a(0x397)](_0x1d319d(()=>_0x49f2b4['complete']()));const _0x4a8386=new _0x349398();_0x4f614a[_0x48b28a(0x397)](_0x46e5a7[_0x48b28a(0x244)][_0x48b28a(0x278)](_0x4a8584=>_0x4a8386[_0x48b28a(0x26f)](_0x4a8584))),_0x4f614a[_0x48b28a(0x397)](_0x1d319d(()=>_0x4a8386['complete']()));const _0x521216=new _0x349398();_0x4f614a[_0x48b28a(0x397)](_0x46e5a7[_0x48b28a(0x393)][_0x48b28a(0x278)](_0x481b6e=>{var _0x1cb23d=_0x48b28a;const _0x3bae13=$n(_0x481b6e);_0x521216[_0x1cb23d(0x26f)](_0x3bae13);})),_0x4f614a[_0x48b28a(0x397)](_0x1d319d(()=>_0x521216['complete']()));let _0x213c95;const _0x5d91e5=()=>{var _0x282f67=_0x48b28a;_0x4a8386[_0x282f67(0x26f)](new Event(_0x282f67(0x277))),_0x49f2b4['next'](new CloseEvent('connection\x20error')),_0x213c95['close']();};return _0x213c95={'memberID':'','close$':_0x49f2b4[_0x48b28a(0x21b)](),'error$':_0x4a8386['asObservable'](),'open$':_0x46e5a7[_0x48b28a(0x371)],'message$':_0x521216[_0x48b28a(0x21b)](),'send':_0x1a0450=>{var _0x1abbfc=_0x48b28a;if(_0x1a0450[_0x1abbfc(0x1a5)]===F['INGEST']){if(_0x1a0450[_0x1abbfc(0xf6)][_0x1abbfc(0x2a8)]===_0x3973af[_0x1abbfc(0x118)]){this[_0x1abbfc(0x216)](_0x213c95,_0x1a0450[_0x1abbfc(0xf6)])[_0x1abbfc(0x25d)](_0x40bc6d=>{var _0x5367e6=_0x1abbfc;this['_logService'][_0x5367e6(0x37c)](_0x40bc6d),_0x5d91e5();});return;}if(_0x1a0450[_0x1abbfc(0xf6)]['eventID']===_0x3973af[_0x1abbfc(0x148)]){const _0x5cf950=_0x1a0450[_0x1abbfc(0xf6)];this[_0x1abbfc(0x147)](_0x5cf950)[_0x1abbfc(0x12e)](_0x2cce78=>{var _0x58dde8=_0x1abbfc;_0x521216[_0x58dde8(0x26f)]({'cmd':F[_0x58dde8(0x2d7)],'code':Ee['OK'],'routeKey':_0x5cf950[_0x58dde8(0xf6)]['unitID'],'routeType':'','data':{'eventID':_0x3973af[_0x58dde8(0x364)],'data':{'changesets':_0x2cce78}}});})['catch'](_0x46089c=>{var _0x32cddd=_0x1abbfc;this[_0x32cddd(0x2c9)][_0x32cddd(0x37c)](_0x46089c),_0x5d91e5();});return;}}_0x46e5a7[_0x1abbfc(0x126)](Hn(_0x1a0450));},'close':()=>{var _0x9c5878=_0x48b28a;_0x46e5a7[_0x9c5878(0x247)](),_0x4f614a[_0x9c5878(0x1b9)]();}},_0x213c95;}async[_0x4ed5f2(0x216)](_0x8f4489,_0x5301c7){var _0x530ce2=_0x4ed5f2,_0x4ca7aa,_0x1a791c;const {unitType:_0x2bb57b,unitID:_0x2ffb9a,changeset:_0x1c55b7}=_0x5301c7[_0x530ce2(0xf6)],_0x17ccd6={'unitID':_0x2ffb9a,'memberID':_0x8f4489[_0x530ce2(0x153)],'type':_0x2bb57b,'changeset':_0x2114ca(_0x1c55b7)},_0x12db6d=this['_configService'][_0x530ce2(0x2ab)](Un),_0x1f545e=this[_0x530ce2(0x254)][_0x530ce2(0x2ab)](q),_0x4e497b=Fn((_0x1a791c=(_0x4ca7aa=_0x1f545e==null?void 0x0:_0x1f545e['collabSubmitChangesetUrl'])!=null?_0x4ca7aa:_0x12db6d)!=null?_0x1a791c:An,_0x2bb57b,_0x2ffb9a);try{await this[_0x530ce2(0x1a6)][_0x530ce2(0x2b0)](_0x4e497b,{'body':_0x17ccd6});}catch(_0x12b48c){throw this['_logService'][_0x530ce2(0x37c)](_0x530ce2(0x139),_0x530ce2(0x1e4)),_0x12b48c;}}async['_fetchMissChangesets'](_0x37867a){var _0x237d1d=_0x4ed5f2;const {unitID:_0x55d86d,from:_0x3de11f,to:_0x150f7c,unitType:_0x4e37bb}=_0x37867a[_0x237d1d(0xf6)];return(await this['_snapshotServerService'][_0x237d1d(0x339)]({'metadata':void 0x0},{'unitID':_0x55d86d,'type':_0x4e37bb,'from':_0x3de11f,'to':_0x150f7c}))['changesets'];}};Et=Bn([Ue(0x0,_0x2e68e5(_0x39e407)),Ue(0x1,_0x2e68e5(_0x5019fe)),Ue(0x2,_0x144724),Ue(0x3,_0x188ee),Ue(0x4,_0x1f1215)],Et);const Vn=_0x4ed5f2(0x155);function Gn(_0x209335){var _0x506be8=_0x4ed5f2;return JSON[_0x506be8(0x2e2)](_0x209335)[_0x506be8(0x3c7)];}class Ri{constructor(){var _0x58cad1=_0x4ed5f2;N(this,'_commentUpdate$',new _0x349398()),N(this,_0x58cad1(0x1b3),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x2e1725){var _0x26be66=_0x4ed5f2;this[_0x26be66(0x23d)][_0x26be66(0x26f)](_0x2e1725);}}var Wn=Object['defineProperty'],Kn=Object[_0x4ed5f2(0x3d9)],Yn=(_0x283f85,_0x3fc9c1,_0x3540ca,_0x3a449f)=>{var _0x21a546=_0x4ed5f2;for(var _0x24912f=_0x3a449f>0x1?void 0x0:_0x3a449f?Kn(_0x3fc9c1,_0x3540ca):_0x3fc9c1,_0x23d522=_0x283f85[_0x21a546(0x3c7)]-0x1,_0x2352b1;_0x23d522>=0x0;_0x23d522--)(_0x2352b1=_0x283f85[_0x23d522])&&(_0x24912f=(_0x3a449f?_0x2352b1(_0x3fc9c1,_0x3540ca,_0x24912f):_0x2352b1(_0x24912f))||_0x24912f);return _0x3a449f&&_0x24912f&&Wn(_0x3fc9c1,_0x3540ca,_0x24912f),_0x24912f;},Kt=(_0x1898ea,_0x531458)=>(_0xc4c2d5,_0x1631f3)=>_0x531458(_0xc4c2d5,_0x1631f3,_0x1898ea);let xe=class extends _0x22c2fb{constructor(_0x57d823,_0x1c5278){var _0x295db9=_0x4ed5f2;super(),N(this,'_roomMembers',new Map()),N(this,_0x295db9(0x173),new _0x349398()),(this[_0x295db9(0x3a1)]=_0x57d823,this[_0x295db9(0x1fa)]=_0x1c5278,this[_0x295db9(0x3b7)](_0x3261e1(this['_univerInstanceService'][_0x295db9(0x2a4)](_0x1a3f81[_0x295db9(0x14c)])[_0x295db9(0x206)](_0x6df097(_0x582d0f=>_0x582d0f['getUnitId']())),this['_univerInstanceService'][_0x295db9(0x2a4)](_0x1a3f81['UNIVER_DOC'])[_0x295db9(0x206)](_0x6df097(_0x24896d=>_0x24896d[_0x295db9(0x1aa)]())),this[_0x295db9(0x3a1)][_0x295db9(0x2a4)](_0x1a3f81[_0x295db9(0x207)])[_0x295db9(0x206)](_0x6df097(_0x57584f=>_0x57584f[_0x295db9(0x1aa)]())))[_0x295db9(0x278)](_0x2d4f63=>this[_0x295db9(0x14a)](_0x2d4f63))));}[_0x4ed5f2(0x3d0)](_0x245a11){var _0xfc391c=_0x4ed5f2;return this['_roomMembers']['has'](_0x245a11)?_0x163e28(this[_0xfc391c(0x2ca)][_0xfc391c(0x1fc)](_0x245a11)):this[_0xfc391c(0x173)][_0xfc391c(0x206)](_0x6df097(_0x1f852d=>{var _0x4a7a3d=_0xfc391c;if(_0x1f852d===_0x245a11)return this['_roomMembers'][_0x4a7a3d(0x1fc)](_0x1f852d);}));}[_0x4ed5f2(0x361)](_0x2a9623){var _0x2514f4=_0x4ed5f2;this['_userManagerService'][_0x2514f4(0x361)](_0x2a9623);}[_0x4ed5f2(0x36c)](){var _0x3be6a3=_0x4ed5f2;return this[_0x3be6a3(0x1fa)][_0x3be6a3(0x36c)]();}[_0x4ed5f2(0x321)](_0x6c40e8,_0x3687be){var _0x44446b=_0x4ed5f2;let _0x177866=this[_0x44446b(0x2ca)]['get'](_0x6c40e8);_0x177866||(_0x177866=new qn(),this[_0x44446b(0x2ca)][_0x44446b(0x311)](_0x6c40e8,_0x177866),this[_0x44446b(0x173)][_0x44446b(0x26f)](_0x6c40e8)),_0x177866[_0x44446b(0x321)](_0x3687be);}['removeMember'](_0x373d5d,_0x52ad29){var _0x44f5e9=_0x4ed5f2;const _0x5b7594=this[_0x44f5e9(0x2ca)]['get'](_0x373d5d);_0x5b7594&&_0x5b7594[_0x44f5e9(0x1ac)](_0x52ad29);}[_0x4ed5f2(0x33f)](_0x8ac6b5){var _0x39dadf=_0x4ed5f2;return this[_0x39dadf(0x2ca)][_0x39dadf(0x1fc)](_0x8ac6b5);}[_0x4ed5f2(0x2cf)](_0x4059bb,_0x5eea0d){var _0x2da819=_0x4ed5f2;const _0x46858c=this[_0x2da819(0x2ca)][_0x2da819(0x1fc)](_0x4059bb);if(_0x46858c)return _0x46858c[_0x2da819(0x2cf)](_0x5eea0d);}[_0x4ed5f2(0x14a)](_0x44ad7d){var _0x1f8952=_0x4ed5f2;const _0x547154=this[_0x1f8952(0x2ca)]['get'](_0x44ad7d);_0x547154&&(_0x547154[_0x1f8952(0x1b9)](),this[_0x1f8952(0x2ca)]['delete'](_0x44ad7d));}[_0x4ed5f2(0x1b9)](){var _0xe5e600=_0x4ed5f2;this['_roomMembers'][_0xe5e600(0x276)](_0x5976b9=>_0x5976b9[_0xe5e600(0x1b9)]()),this[_0xe5e600(0x2ca)][_0xe5e600(0x2e8)](),this[_0xe5e600(0x173)][_0xe5e600(0x396)]();}};xe=Yn([Kt(0x0,_0x567566),Kt(0x1,_0x2e68e5(_0x59af86))],xe);class qn extends _0x22c2fb{constructor(){var _0x570697=_0x4ed5f2;super(...arguments),N(this,_0x570697(0xef),new Map()),N(this,_0x570697(0x2a0),new _0x427afa(this['_members'])),N(this,_0x570697(0x1bd),this['_members$'][_0x570697(0x21b)]());}[_0x4ed5f2(0x1b9)](){var _0xf6c510=_0x4ed5f2;this['_members'][_0xf6c510(0x2e8)]();}['updateMember'](_0x53cb04){var _0x2a5513=_0x4ed5f2;this[_0x2a5513(0xef)][_0x2a5513(0x311)](_0x53cb04[_0x2a5513(0x153)],_0x53cb04),this[_0x2a5513(0x331)]();}[_0x4ed5f2(0x1ac)](_0x68647c){var _0x8a04fc=_0x4ed5f2;this[_0x8a04fc(0xef)][_0x8a04fc(0x1fb)](_0x68647c);}[_0x4ed5f2(0x2cf)](_0x5312b5){var _0x2f432a=_0x4ed5f2;return this[_0x2f432a(0xef)][_0x2f432a(0x1fc)](_0x5312b5);}['getAllMembers'](){var _0x3bf3dd=_0x4ed5f2;return Array[_0x3bf3dd(0x150)](this[_0x3bf3dd(0xef)][_0x3bf3dd(0x2a1)]());}['_emitMembers'](){var _0x2e3a20=_0x4ed5f2;this['_members$'][_0x2e3a20(0x26f)](this['_members']);}}var zn=Object[_0x4ed5f2(0x1f4)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x25241e,_0x490b48,_0x353e39,_0x48f612)=>{for(var _0x5de24a=_0x48f612>0x1?void 0x0:_0x48f612?Jn(_0x490b48,_0x353e39):_0x490b48,_0x4b2ea2=_0x25241e['length']-0x1,_0x5e1799;_0x4b2ea2>=0x0;_0x4b2ea2--)(_0x5e1799=_0x25241e[_0x4b2ea2])&&(_0x5de24a=(_0x48f612?_0x5e1799(_0x490b48,_0x353e39,_0x5de24a):_0x5e1799(_0x5de24a))||_0x5de24a);return _0x48f612&&_0x5de24a&&zn(_0x490b48,_0x353e39,_0x5de24a),_0x5de24a;},me=(_0x15ca24,_0x59a309)=>(_0x542d9b,_0x31b497)=>_0x59a309(_0x542d9b,_0x31b497,_0x15ca24),Te=(_0x5c8a0f=>(_0x5c8a0f[_0x5c8a0f[_0x4ed5f2(0x25a)]=0x0]=_0x4ed5f2(0x25a),_0x5c8a0f[_0x5c8a0f[_0x4ed5f2(0x21c)]=0x1]=_0x4ed5f2(0x21c),_0x5c8a0f[_0x5c8a0f[_0x4ed5f2(0x37d)]=0x2]=_0x4ed5f2(0x37d),_0x5c8a0f[_0x5c8a0f[_0x4ed5f2(0x36d)]=0x3]=_0x4ed5f2(0x36d),_0x5c8a0f))(Te||{});const Yt={[Ee[_0x4ed5f2(0x3af)]]:'session.join-failed',[Ee[_0x4ed5f2(0x160)]]:_0x4ed5f2(0x2a2),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x4ed5f2(0x360),[Ee[_0x4ed5f2(0x109)]]:_0x4ed5f2(0x2cd),[Ee[_0x4ed5f2(0x261)]]:_0x4ed5f2(0x33a)};let It=class extends _0x5843ad{constructor(_0x183d9c,_0x2dbca4,_0x5d2649,_0x4f8add,_0x1c94b2,_0x5e7358,_0x2ba6cd,_0x38b45c,_0x240555){var _0x2ffaa3=_0x4ed5f2;super(),N(this,_0x2ffaa3(0x389),new _0x427afa(0x0)),N(this,_0x2ffaa3(0x25c),this[_0x2ffaa3(0x389)][_0x2ffaa3(0x21b)]()),N(this,'_event$',new _0x349398()),N(this,_0x2ffaa3(0x11e),this[_0x2ffaa3(0x1a7)][_0x2ffaa3(0x21b)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x2ffaa3(0xf9),!0x1),N(this,_0x2ffaa3(0x304),null),(this[_0x2ffaa3(0x299)]=_0x183d9c,this[_0x2ffaa3(0x2c9)]=_0x5d2649,this[_0x2ffaa3(0x254)]=_0x4f8add,this[_0x2ffaa3(0x2ff)]=_0x1c94b2,this[_0x2ffaa3(0x2c5)]=_0x5e7358,this['_commentService']=_0x2ba6cd,this['_collaborationUIEventService']=_0x38b45c,this[_0x2ffaa3(0x305)]=_0x240555,this[_0x2ffaa3(0xf9)]=!!this[_0x2ffaa3(0x305)],_0x2dbca4['pipe'](_0x2af187(this[_0x2ffaa3(0x2e1)]))[_0x2ffaa3(0x278)](_0xfe3405=>{var _0x240e90=_0x2ffaa3,_0x1dbe3b;typeof _0xfe3405>'u'||(this[_0x240e90(0x200)]=_0xfe3405,_0xfe3405?(this['_joinRoom'](_0xfe3405),this['_socketMessageSubscription']=_0xfe3405[_0x240e90(0x393)][_0x240e90(0x278)](_0x5bf6df=>{var _0x163da=_0x240e90;_0x5bf6df[_0x163da(0x20e)]===this[_0x163da(0x299)]&&this['_onCombEvent'](_0x5bf6df);})):(this[_0x240e90(0x3ab)](),this[_0x240e90(0x389)][_0x240e90(0x26f)](0x2),(_0x1dbe3b=this[_0x240e90(0x2d4)])==null||_0x1dbe3b[_0x240e90(0x313)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x50dbe6=_0x4ed5f2;return this['_sessionStatus$'][_0x50dbe6(0x2af)]();}['getMemberID'](){var _0x5a1c10=_0x4ed5f2,_0x5d13db,_0x380b3c;return(_0x380b3c=(_0x5d13db=this[_0x5a1c10(0x200)])==null?void 0x0:_0x5d13db[_0x5a1c10(0x153)])!=null?_0x380b3c:null;}[_0x4ed5f2(0x1b9)](){var _0x2d3547=_0x4ed5f2;super[_0x2d3547(0x1b9)](),this[_0x2d3547(0x2e1)][_0x2d3547(0x26f)](),this['dispose$']['complete']();}[_0x4ed5f2(0x247)](){var _0x20e20a=_0x4ed5f2,_0x1ab389,_0x45606c;this[_0x20e20a(0x3ab)](),(_0x1ab389=this[_0x20e20a(0x200)])==null||_0x1ab389[_0x20e20a(0x126)]({'cmd':F[_0x20e20a(0x2bf)],'data':{'roomID':this[_0x20e20a(0x299)]}}),(_0x45606c=this['_socket'])==null||_0x45606c[_0x20e20a(0x247)](),this[_0x20e20a(0x1a7)]['complete'](),this[_0x20e20a(0x389)][_0x20e20a(0x396)](),this[_0x20e20a(0x1b9)]();}['_onCombEvent'](_0x574a68){var _0x455b86=_0x4ed5f2;_0x574a68[_0x455b86(0x1a5)]===F[_0x455b86(0x2dc)]?this[_0x455b86(0x1cf)](_0x574a68):_0x574a68['cmd']===F['RECV']&&this[_0x455b86(0x34f)](_0x574a68);}[_0x4ed5f2(0x350)](_0x3bd0a5){var _0x51e5db=_0x4ed5f2;this[_0x51e5db(0x389)][_0x51e5db(0x26f)](0x1),_0x3bd0a5[_0x51e5db(0x126)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x51e5db(0x299)]}]}});}['_onJoinRoomEvent'](_0x1622e3){var _0x4fdae5=_0x4ed5f2,_0x56042d;if(_0x1622e3[_0x4fdae5(0x1b5)]in Yt){this[_0x4fdae5(0x134)]['emitEvent']({'id':se[_0x4fdae5(0x2a3)],'data':Yt[_0x1622e3[_0x4fdae5(0x1b5)]]}),this[_0x4fdae5(0x389)][_0x4fdae5(0x26f)](0x2);return;}this[_0x4fdae5(0x389)]['next'](0x3);const _0x56727f=(_0x56042d=_0x1622e3[_0x4fdae5(0xf6)][_0x4fdae5(0x39e)][this[_0x4fdae5(0x299)]])==null?void 0x0:_0x56042d[_0x4fdae5(0x3c9)];_0x56727f&&_0x56727f[_0x4fdae5(0x276)](_0x1e6afd=>this[_0x4fdae5(0x2c5)][_0x4fdae5(0x321)](this[_0x4fdae5(0x299)],_0x1e6afd));}[_0x4ed5f2(0x34f)](_0x42e6ce){var _0xa2f445=_0x4ed5f2;try{const _0x14bd50=_0x42e6ce[_0xa2f445(0xf6)];switch(_0x14bd50['eventID']){case _0x3973af[_0xa2f445(0x2b7)]:this[_0xa2f445(0x27b)](_0x14bd50),this[_0xa2f445(0x1a7)][_0xa2f445(0x26f)](_0x14bd50);break;case _0x3973af[_0xa2f445(0x294)]:this['_onUserLeave'](_0x14bd50),this[_0xa2f445(0x1a7)][_0xa2f445(0x26f)](_0x14bd50);break;case _0x3973af[_0xa2f445(0x226)]:case _0x3973af[_0xa2f445(0x302)]:this[_0xa2f445(0x233)](),this[_0xa2f445(0x1f8)](),this[_0xa2f445(0x1a7)][_0xa2f445(0x26f)](_0x14bd50);break;case _0x3973af[_0xa2f445(0x2be)]:this[_0xa2f445(0x2c9)]['error'](_0xa2f445(0x3be)+JSON[_0xa2f445(0x2e2)](_0x14bd50)),this[_0xa2f445(0x1a7)][_0xa2f445(0x26f)](_0x14bd50);break;case _0x3973af[_0xa2f445(0x2c8)]:this[_0xa2f445(0x19e)][_0xa2f445(0x352)](_0x14bd50[_0xa2f445(0xf6)]),this[_0xa2f445(0x1a7)][_0xa2f445(0x26f)](_0x14bd50);break;default:this[_0xa2f445(0x1a7)][_0xa2f445(0x26f)](_0x14bd50);}}catch(_0xcb4618){this[_0xa2f445(0x2c9)][_0xa2f445(0x37c)](_0xcb4618,_0x42e6ce);}}[_0x4ed5f2(0x27b)](_0x56976e){var _0x447516=_0x4ed5f2;this[_0x447516(0x2c5)][_0x447516(0x321)](this[_0x447516(0x299)],_0x56976e[_0x447516(0xf6)]);}['_onUserLeave'](_0x89adc2){var _0x5077f6=_0x4ed5f2;this[_0x5077f6(0x2c5)]['removeMember'](this['_unitID'],_0x89adc2[_0x5077f6(0xf6)][_0x5077f6(0x153)]);}async[_0x4ed5f2(0x126)](_0x3edf29,_0x1ced29){var _0x3ade31=_0x4ed5f2;if(this['sessionStatus']!==0x3||!this[_0x3ade31(0x200)])throw new Error(_0x3ade31(0x372));try{_0x3edf29[_0x3ade31(0x2a8)]===_0x3973af[_0x3ade31(0x118)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x3ade31(0x13e)](_0x3edf29)),this[_0x3ade31(0x200)]['send']({'cmd':F[_0x3ade31(0x132)],'routeKey':_0x1ced29,'routeType':'','data':_0x3edf29});}catch(_0x463a85){this['_logService']['error'](_0x463a85);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3ed29c=_0x4ed5f2,_0x4a79dd;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x23d0cc=_0x3a29;this[_0x23d0cc(0x28b)]=null,this[_0x23d0cc(0x134)][_0x23d0cc(0x280)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4a79dd=this[_0x3ed29c(0x254)][_0x3ed29c(0x2ab)](Si))!=null?_0x4a79dd:Ei);}[_0x4ed5f2(0x1f8)](){var _0x27e5e8=_0x4ed5f2;this[_0x27e5e8(0x28b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x27e5e8(0x28b)]=null);}[_0x4ed5f2(0x13e)](_0x45a62d){var _0x412781=_0x4ed5f2;if(!this[_0x412781(0xf9)])return;const {data:_0xfec9bb}=_0x45a62d,{unitID:_0x2f1a5c,changeset:_0x9915b7}=_0xfec9bb,{mutations:_0x4c282e,type:_0x9c9b09}=_0x9915b7;this['_telemetryInfo']={'unitId':_0x2f1a5c,'type':_0x9c9b09,'startTime':performance[_0x412781(0x36f)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4c282e)};}[_0x4ed5f2(0x233)](){var _0x2fabe8=_0x4ed5f2;if(this[_0x2fabe8(0xf9)]){if(!this['_telemetryInfo']){this['_logService'][_0x2fabe8(0x37c)](_0x2fabe8(0x139),_0x2fabe8(0x23b));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x2fabe8(0x304)][_0x2fabe8(0xf1)]=this['_telemetryInfo'][_0x2fabe8(0x238)]-this[_0x2fabe8(0x304)]['startTime'],this[_0x2fabe8(0x305)][_0x2fabe8(0x2e4)](Vn,this[_0x2fabe8(0x304)]),this[_0x2fabe8(0x304)]=null;}}[_0x4ed5f2(0x3ab)](){var _0x44bd4a=_0x4ed5f2;this[_0x44bd4a(0x304)]=null;}};It=Xn([me(0x2,_0x188ee),me(0x3,_0x144724),me(0x4,_0x2e68e5(_0x427944)),me(0x5,_0x2e68e5(xe)),me(0x6,_0x2e68e5(Ri)),me(0x7,_0x2e68e5(pe)),me(0x8,_0x4396dd(_0x1bc235))],It);var Zn=Object[_0x4ed5f2(0x1f4)],Qn=Object[_0x4ed5f2(0x3d9)],er=(_0x380bc5,_0x151e64,_0x3a2275,_0x1cb203)=>{var _0x51d114=_0x4ed5f2;for(var _0x134312=_0x1cb203>0x1?void 0x0:_0x1cb203?Qn(_0x151e64,_0x3a2275):_0x151e64,_0x256f6b=_0x380bc5[_0x51d114(0x3c7)]-0x1,_0x57bed2;_0x256f6b>=0x0;_0x256f6b--)(_0x57bed2=_0x380bc5[_0x256f6b])&&(_0x134312=(_0x1cb203?_0x57bed2(_0x151e64,_0x3a2275,_0x134312):_0x57bed2(_0x134312))||_0x134312);return _0x1cb203&&_0x134312&&Zn(_0x151e64,_0x3a2275,_0x134312),_0x134312;},ge=(_0x3e34ed,_0x40f5d2)=>(_0x3e47cb,_0x433821)=>_0x40f5d2(_0x3e47cb,_0x433821,_0x3e34ed);let Le=class extends _0x22c2fb{constructor(_0x57b93a,_0x1bfb73,_0x38ef78,_0x482f6a,_0x5564e0,_0x23ee87,_0x30089d){var _0x455bce=_0x4ed5f2;super(),N(this,_0x455bce(0x25b),new _0x427afa(void 0x0)),N(this,_0x455bce(0x146),this[_0x455bce(0x25b)]['asObservable']()),N(this,_0x455bce(0x391),null),N(this,'_sessions',new Map()),N(this,_0x455bce(0x1e6),new _0x427afa(Te[_0x455bce(0x25a)])),N(this,_0x455bce(0x220),this[_0x455bce(0x1e6)]['asObservable']()),N(this,_0x455bce(0x359),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x455bce(0x3b2),0x0),N(this,_0x455bce(0x3a4)),N(this,'_timeoutTimer'),(this[_0x455bce(0x1f2)]=_0x57b93a,this[_0x455bce(0x2c9)]=_0x1bfb73,this[_0x455bce(0x254)]=_0x38ef78,this['_socketService']=_0x482f6a,this[_0x455bce(0x282)]=_0x5564e0,this['_collaborationUIEventService']=_0x23ee87,this[_0x455bce(0x12c)]=_0x30089d,this[_0x455bce(0x306)]());}get[_0x4ed5f2(0x200)](){var _0x929f68=_0x4ed5f2;return this['_socket$'][_0x929f68(0x2af)]();}[_0x4ed5f2(0x306)](){var _0x2718f5=_0x4ed5f2;this[_0x2718f5(0x12c)]&&this[_0x2718f5(0x3b7)](this[_0x2718f5(0x12c)][_0x2718f5(0x20c)]['subscribe'](_0x4612fe=>{var _0x5bcf15=_0x2718f5;_0x4612fe&&!this['_socket']&&this[_0x5bcf15(0x20a)](),_0x4612fe||this['_onOffline']();}));}[_0x4ed5f2(0x1b9)](){var _0x1ddfd9=_0x4ed5f2;super['dispose'](),this[_0x1ddfd9(0x28c)][_0x1ddfd9(0x276)](_0x12ad6c=>_0x12ad6c[_0x1ddfd9(0x1b9)]()),this[_0x1ddfd9(0x28c)][_0x1ddfd9(0x2e8)](),this[_0x1ddfd9(0x1e6)][_0x1ddfd9(0x396)]();}async[_0x4ed5f2(0x1d2)](_0x205390){var _0x4be7f7=_0x4ed5f2;if(this[_0x4be7f7(0x28c)]['has'](_0x205390))return this[_0x4be7f7(0x28c)][_0x4be7f7(0x1fc)](_0x205390);this[_0x4be7f7(0x3ad)]();const _0x88ba3=this[_0x4be7f7(0x1f2)][_0x4be7f7(0x211)](It,_0x205390,this[_0x4be7f7(0x25b)][_0x4be7f7(0x21b)]());return this[_0x4be7f7(0x28c)][_0x4be7f7(0x311)](_0x205390,_0x88ba3),_0x88ba3;}[_0x4ed5f2(0x3e0)](_0x54f9e2){var _0x564f53=_0x4ed5f2,_0x3172c0;const _0x3b8263=this['_sessions'][_0x564f53(0x1fc)](_0x54f9e2);_0x3b8263&&(this[_0x564f53(0x28c)]['delete'](_0x54f9e2),_0x3b8263[_0x564f53(0x247)]()),this[_0x564f53(0x28c)][_0x564f53(0x16d)]||(_0x3172c0=this[_0x564f53(0x200)])==null||_0x3172c0[_0x564f53(0x247)]();}[_0x4ed5f2(0x20a)](){var _0x3437b0=_0x4ed5f2;this[_0x3437b0(0x3b2)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3437b0(0x374)]),this[_0x3437b0(0x374)]=null),this[_0x3437b0(0x395)]();}async['_getSessionTicket'](){var _0x1c7d18=_0x4ed5f2,_0x78c2b6,_0x36dd20,_0x23beca;const _0x47f8fa=this[_0x1c7d18(0x254)][_0x1c7d18(0x2ab)](q),_0x148158=(_0x78c2b6=_0x47f8fa==null?void 0x0:_0x47f8fa[_0x1c7d18(0x1a4)])!=null?_0x78c2b6:On;return(_0x23beca=(_0x36dd20=(await this[_0x1c7d18(0x282)][_0x1c7d18(0x1fc)](_0x148158,{'headers':{'Content-Type':'application/json'}}))[_0x1c7d18(0x14f)])==null?void 0x0:_0x36dd20[_0x1c7d18(0x30f)])!=null?_0x23beca:'';}[_0x4ed5f2(0x308)](_0x5906c5){var _0xc03321=_0x4ed5f2,_0x46ed3a,_0xc1388a;const _0x35ebc3=this[_0xc03321(0x254)][_0xc03321(0x2ab)](Rn),_0x10a525=this['_configService'][_0xc03321(0x2ab)](q),_0x40c706=(_0xc1388a=(_0x46ed3a=_0x10a525==null?void 0x0:_0x10a525['collabWebSocketUrl'])!=null?_0x46ed3a:_0x35ebc3)!=null?_0xc1388a:bn,_0x18e369=typeof window>'u'?new URL(_0x40c706):new URL(_0x40c706,window['location']['origin']);_0x18e369[_0xc03321(0x1af)][_0xc03321(0x311)](_0xc03321(0x2ae),_0x5906c5);const _0x13a574=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc03321(0x2aa)][_0xc03321(0x1c1)]);return _0x13a574[_0xc03321(0x1fc)](_0xc03321(0x1c8))&&_0x18e369['searchParams'][_0xc03321(0x311)](_0xc03321(0x1c8),_0x13a574[_0xc03321(0x1fc)](_0xc03321(0x1c8))),_0x18e369[_0xc03321(0x37e)]();}async[_0x4ed5f2(0x15d)](){var _0x1648b5=_0x4ed5f2;const _0x3abeb6=await this[_0x1648b5(0x205)](),_0x195672=this[_0x1648b5(0x308)](_0x3abeb6),_0x591b0a=this[_0x1648b5(0x1ea)][_0x1648b5(0x2dd)](_0x195672);return this['_candidateSocket']=_0x591b0a,_0x591b0a;}async[_0x4ed5f2(0x3ad)](){var _0x419366=_0x4ed5f2,_0x4b8a3b,_0x36177a;try{const _0x343952=(_0x36177a=(_0x4b8a3b=this[_0x419366(0x200)])!=null?_0x4b8a3b:this[_0x419366(0x391)])!=null?_0x36177a:await this[_0x419366(0x15d)]();if(_0x343952){const _0x4ad005=_0x343952[_0x419366(0x126)];_0x343952['send']=_0x1ef504=>(this[_0x419366(0x297)](),_0x4ad005[_0x419366(0x34c)](_0x343952,[_0x1ef504])),_0x343952['message$'][_0x419366(0x278)](_0x4d53f7=>this[_0x419366(0x2bc)](_0x343952,_0x4d53f7)),_0x343952[_0x419366(0x244)][_0x419366(0x206)](_0x48aad7(0x1))[_0x419366(0x278)](_0x4cbb93=>this[_0x419366(0x2c9)][_0x419366(0x37c)]('[CollaborationSessionService]:\x20socket\x20error',_0x4cbb93)),_0x343952['open$'][_0x419366(0x206)](_0x48aad7(0x1))[_0x419366(0x278)](()=>{var _0x2d9afe=_0x419366;this[_0x2d9afe(0x357)](_0x343952);}),_0x343952['close$'][_0x419366(0x206)](_0x48aad7(0x1))[_0x419366(0x278)](_0x1d82e9=>{var _0x166ff4=_0x419366;this[_0x166ff4(0x2c9)][_0x166ff4(0x384)](_0x166ff4(0x2da),'socket\x20close',_0x1d82e9),this[_0x166ff4(0x2b2)]();});}}catch(_0x22e1a1){this[_0x419366(0x2c9)][_0x419366(0x37c)](_0x22e1a1),this['_onConnectionFailed']();}}[_0x4ed5f2(0x357)](_0x31a266){var _0x52dc5c=_0x4ed5f2;this[_0x52dc5c(0x2c9)][_0x52dc5c(0x384)]('[CollaborationSessionService]','socket\x20open.'),_0x31a266[_0x52dc5c(0x126)]({'cmd':F[_0x52dc5c(0x104)]}),this[_0x52dc5c(0x297)]();}[_0x4ed5f2(0x3bf)](){var _0x344ee0=_0x4ed5f2;this[_0x344ee0(0x359)]=!0x1,this['_candidateSocket']=null,this[_0x344ee0(0x1e6)][_0x344ee0(0x26f)](Te[_0x344ee0(0x37d)]),this[_0x344ee0(0x25b)][_0x344ee0(0x26f)](null),this[_0x344ee0(0x24b)](),this[_0x344ee0(0x273)]();}[_0x4ed5f2(0x2b2)](){var _0x5e57f3=_0x4ed5f2,_0x1713f3;this[_0x5e57f3(0x3bf)](),this[_0x5e57f3(0x3b2)]<((_0x1713f3=this[_0x5e57f3(0x254)]['getConfig'](Pn))!=null?_0x1713f3:wn)?(this['_collaborationUIEventService']['emitEvent']({'id':se[_0x5e57f3(0x1a9)]}),this['_tryReconnect']()):this[_0x5e57f3(0x134)][_0x5e57f3(0x280)]({'id':se[_0x5e57f3(0x274)]});}[_0x4ed5f2(0x395)](){var _0x101982=_0x4ed5f2,_0x40ac3a;const _0x3f5ac1=this['_retryCount'],_0x28995f=this[_0x101982(0x254)][_0x101982(0x2ab)](q),_0x1496dc=_0x3f5ac1===0x0?0x0:((_0x40ac3a=_0x28995f==null?void 0x0:_0x28995f[_0x101982(0x351)])!=null?_0x40ac3a:Dn)*0x2**_0x3f5ac1;this[_0x101982(0x374)]=setTimeout(()=>{var _0x213fcf=_0x101982;clearTimeout(this[_0x213fcf(0x374)]),this['_retryConnectingTimer']=null,this[_0x213fcf(0x3ad)]();},_0x1496dc),this['_retryCount']+=0x1;}[_0x4ed5f2(0x2bc)](_0x46424d,_0x365473){var _0x15ba9d=_0x4ed5f2;const {cmd:_0x2164f7}=_0x365473;_0x2164f7===F[_0x15ba9d(0x104)]&&!this[_0x15ba9d(0x359)]&&(_0x46424d[_0x15ba9d(0x153)]=_0x365473[_0x15ba9d(0xf6)]['memberID'],this[_0x15ba9d(0x25b)]['next'](_0x46424d),this[_0x15ba9d(0x1e6)][_0x15ba9d(0x26f)](Te[_0x15ba9d(0x36d)]),this[_0x15ba9d(0x359)]=!0x0,this[_0x15ba9d(0x391)]=null),_0x2164f7===F[_0x15ba9d(0x3bd)]&&this['_clearTimeoutTimer'](),this[_0x15ba9d(0x297)]();}[_0x4ed5f2(0x297)](){var _0x45a31a=_0x4ed5f2,_0x4a1251;this[_0x45a31a(0x273)](),this[_0x45a31a(0x3a4)]=setTimeout(()=>this[_0x45a31a(0x2d8)](),(_0x4a1251=this['_configService'][_0x45a31a(0x2ab)](yn))!=null?_0x4a1251:Nn);}[_0x4ed5f2(0x2d8)](){var _0x34c4fe=_0x4ed5f2;this[_0x34c4fe(0x200)][_0x34c4fe(0x126)]({'cmd':F[_0x34c4fe(0x3bd)]}),this[_0x34c4fe(0x3b3)]();}[_0x4ed5f2(0x3b3)](){var _0x2c10d2=_0x4ed5f2,_0x4b4aea;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x4b4aea=this[_0x2c10d2(0x254)][_0x2c10d2(0x2ab)](Si))!=null?_0x4b4aea:Ei);}[_0x4ed5f2(0x273)](){var _0x41f911=_0x4ed5f2;this[_0x41f911(0x3a4)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x41f911(0x3a4)]=null);}[_0x4ed5f2(0x24b)](){var _0x5d5449=_0x4ed5f2;this[_0x5d5449(0x219)]!=null&&(clearTimeout(this[_0x5d5449(0x219)]),this[_0x5d5449(0x219)]=null);}};Le=er([ge(0x0,_0x2e68e5(_0x39e407)),ge(0x1,_0x188ee),ge(0x2,_0x144724),ge(0x3,Ci),ge(0x4,_0x2e68e5(_0x5019fe)),ge(0x5,_0x2e68e5(pe)),ge(0x6,_0x4396dd(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x4ed5f2(0x1f3)]((n+0x100)['toString'](0x10)[_0x4ed5f2(0x25f)](0x1));function tr(_0x3089e1,_0x44403e=0x0){var _0x15938d=_0x4ed5f2;return(V[_0x3089e1[_0x44403e+0x0]]+V[_0x3089e1[_0x44403e+0x1]]+V[_0x3089e1[_0x44403e+0x2]]+V[_0x3089e1[_0x44403e+0x3]]+'-'+V[_0x3089e1[_0x44403e+0x4]]+V[_0x3089e1[_0x44403e+0x5]]+'-'+V[_0x3089e1[_0x44403e+0x6]]+V[_0x3089e1[_0x44403e+0x7]]+'-'+V[_0x3089e1[_0x44403e+0x8]]+V[_0x3089e1[_0x44403e+0x9]]+'-'+V[_0x3089e1[_0x44403e+0xa]]+V[_0x3089e1[_0x44403e+0xb]]+V[_0x3089e1[_0x44403e+0xc]]+V[_0x3089e1[_0x44403e+0xd]]+V[_0x3089e1[_0x44403e+0xe]]+V[_0x3089e1[_0x44403e+0xf]])[_0x15938d(0x259)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x589076=_0x4ed5f2;if(!ut){if(typeof crypto>'u'||!crypto[_0x589076(0x1b6)])throw new Error(_0x589076(0x122));ut=crypto[_0x589076(0x1b6)][_0x589076(0x39f)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x4ed5f2(0xee)]&&crypto['randomUUID'][_0x4ed5f2(0x39f)](crypto),qt={'randomUUID':rr};function sr(_0x1dd2a7,_0xa094a8,_0x424a83){var _0x384fb3=_0x4ed5f2,_0x4ca793,_0x576e2b,_0x59cab2;if(qt[_0x384fb3(0xee)]&&!_0x1dd2a7)return qt[_0x384fb3(0xee)]();_0x1dd2a7=_0x1dd2a7||{};const _0x12050b=(_0x59cab2=(_0x576e2b=_0x1dd2a7[_0x384fb3(0x162)])!=null?_0x576e2b:(_0x4ca793=_0x1dd2a7['rng'])==null?void 0x0:_0x4ca793[_0x384fb3(0x2fb)](_0x1dd2a7))!=null?_0x59cab2:nr();if(_0x12050b['length']<0x10)throw new Error(_0x384fb3(0x2c3));return _0x12050b[0x6]=_0x12050b[0x6]&0xf|0x40,_0x12050b[0x8]=_0x12050b[0x8]&0x3f|0x80,tr(_0x12050b);}const J=_0x15cfb4('collaboration-client.local-cache-service');function so(_0x23287){var _0xf391e8=_0x4ed5f2;return _0xf391e8(0x1de)+_0x23287;}var or=Object[_0x4ed5f2(0x1f4)],ar=Object[_0x4ed5f2(0x3d9)],cr=(_0x8d2b53,_0x40efcd,_0x17ed6e,_0x5bf417)=>{var _0x5e99c9=_0x4ed5f2;for(var _0x23b53f=_0x5bf417>0x1?void 0x0:_0x5bf417?ar(_0x40efcd,_0x17ed6e):_0x40efcd,_0x186297=_0x8d2b53[_0x5e99c9(0x3c7)]-0x1,_0x5c98ec;_0x186297>=0x0;_0x186297--)(_0x5c98ec=_0x8d2b53[_0x186297])&&(_0x23b53f=(_0x5bf417?_0x5c98ec(_0x40efcd,_0x17ed6e,_0x23b53f):_0x5c98ec(_0x23b53f))||_0x23b53f);return _0x5bf417&&_0x23b53f&&or(_0x40efcd,_0x17ed6e,_0x23b53f),_0x23b53f;},dt=(_0x203847,_0x35ade8)=>(_0x13f725,_0x40b61f)=>_0x35ade8(_0x13f725,_0x40b61f,_0x203847);function hr(_0x5843ea){var _0x14a1f5=_0x4ed5f2;const {unitID:_0x1a9237,mutations:_0x55a579}=_0x5843ea;return{'unitId':_0x1a9237,'subUnitId':_0x55a579[0x0][_0x14a1f5(0x31b)]['subUnitId']};}let it=class{constructor(_0x3d01cb,_0x56cd43,_0x305d8){var _0x1562a0=_0x4ed5f2;this[_0x1562a0(0x1f2)]=_0x3d01cb,this[_0x1562a0(0x1dc)]=_0x56cd43,this['_instanceService']=_0x305d8;}['transformSelections'](_0x5100cd){var _0x3f1d2f=_0x4ed5f2,_0x564a0a,_0x4d13d4,_0x40335b,_0x40f5c0;const _0x555a2d=this[_0x3f1d2f(0x1f2)][_0x3f1d2f(0x1fc)](_0x2d19ae),{unitId:_0x5c6443,subUnitId:_0x2bc191}=hr(_0x5100cd),_0x1075ac=_0x555a2d==null?void 0x0:_0x555a2d[_0x3f1d2f(0x2b8)](_0x5c6443)[_0x3f1d2f(0x39d)](),_0x42519e=(_0x4d13d4=(_0x564a0a=this[_0x3f1d2f(0x2d1)][_0x3f1d2f(0x3ba)](_0x5c6443))==null?void 0x0:_0x564a0a[_0x3f1d2f(0x3b0)]())==null?void 0x0:_0x4d13d4['getSheetId']();if(_0x1075ac[_0x3f1d2f(0x3c7)]===0x0||!_0x5c6443||!_0x2bc191)return;const _0x383c7b=[{'id':_0x2ead0f['id'],'params':{'unitId':_0x5c6443,'subUnitId':_0x42519e,'selections':_0x6afa6a['deepClone'](_0x1075ac)}}],_0x5dbc2a=this['_transformService'][_0x3f1d2f(0x2a7)](_0x5100cd,_0x383c7b);if(!_0x3329e6(_0x5dbc2a))throw _0x5dbc2a[_0x3f1d2f(0x37c)];const _0x18d691=(_0x40f5c0=(_0x40335b=_0x5dbc2a['m2Prime'][0x0])==null?void 0x0:_0x40335b[_0x3f1d2f(0x31b)])==null?void 0x0:_0x40f5c0[_0x3f1d2f(0x232)];if(Array[_0x3f1d2f(0x11b)](_0x18d691)&&_0x18d691['length']){if(_0x18d691['length']===_0x383c7b[0x0][_0x3f1d2f(0x31b)]['selections'][_0x3f1d2f(0x3c7)]&&_0x18d691[_0x3f1d2f(0x21d)]((_0x515b90,_0x41c0bf)=>_0x51ccec['equals'](_0x515b90[_0x3f1d2f(0x213)],_0x383c7b[0x0][_0x3f1d2f(0x31b)][_0x3f1d2f(0x232)][_0x41c0bf][_0x3f1d2f(0x213)])))return;this[_0x3f1d2f(0x1f2)][_0x3f1d2f(0x1fc)](_0x20399a)[_0x3f1d2f(0xf2)](_0x2ead0f['id'],{'unitId':_0x5c6443,'subUnitId':_0x42519e,'selections':_0x18d691});}}};it=cr([dt(0x0,_0x2e68e5(_0x39e407)),dt(0x1,_0x2d59c1),dt(0x2,_0x567566)],it);const ht=_0x15cfb4(_0x4ed5f2(0x123));var bi=(_0x303c89=>(_0x303c89[_0x303c89['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4ed5f2(0x293),_0x303c89[_0x303c89[_0x4ed5f2(0x1c5)]=0x1]=_0x4ed5f2(0x1c5),_0x303c89))(bi||{});const _r=new Set([_0x2410fd['id']]);function zt(_0x1222d3,_0xef1e2f,_0x5dd211,_0x1c4467,_0x268eec){var _0x1022ca=_0x4ed5f2,_0x345545,_0x37732c,_0x167ac7,_0x736536;const _0x1834f7=[];for(const _0x25d94c of _0x1222d3)if(_r[_0x1022ca(0x10d)](_0x25d94c['id'])){if(_0x1834f7[_0x1022ca(0x3c7)]>0x0)break;_0x1834f7[_0x1022ca(0x1f3)](_0x25d94c);break;}else _0x1834f7[_0x1022ca(0x1f3)](_0x25d94c);const _0x30da0d=(_0x37732c=(_0x345545=_0x268eec[_0x1022ca(0x36c)]())==null?void 0x0:_0x345545['userID'])!=null?_0x37732c:_0x1022ca(0xed),_0x1fa6ad=(_0x736536=(_0x167ac7=_0x268eec[_0x1022ca(0x36c)]())==null?void 0x0:_0x167ac7[_0x1022ca(0x153)])!=null?_0x736536:'unknown';return{'changeset':{'unitID':_0xef1e2f,'type':_0x214448(_0x5dd211[_0x1022ca(0x1c7)](_0xef1e2f)),'baseRev':_0x1c4467[_0x1022ca(0x319)](_0xef1e2f),'revision':0x0,'userID':_0x30da0d,'memberID':_0x1fa6ad,'mutations':_0x1834f7},'pendingMutations':_0x1222d3[_0x1022ca(0x25f)](_0x1834f7[_0x1022ca(0x3c7)])};}function lr(_0x1c013f,_0x302faa,_0x57628b,_0x267d5b,_0x41edef){var _0x2f7a18=_0x4ed5f2,_0x33e455,_0x1a185c,_0x1e6efd,_0x1ef0c9;const _0x30e1a3=[_0x1c013f[_0x2f7a18(0x103)]((_0x2084f1,_0x35a420)=>{var _0x478d95=_0x2f7a18,_0x27018f;const {id:_0x470264}=_0x2084f1,{id:_0x56131f,type:_0x250c6e}=_0x35a420,_0x37fb30=(_0x27018f=_0x2084f1[_0x478d95(0x31b)])!=null?_0x27018f:{'actions':null},_0x21aa4a=_0x35a420[_0x478d95(0x31b)];if(_0x470264&&_0x470264!==_0x56131f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x470264+_0x478d95(0x27f)+_0x56131f+'.');return{..._0x2084f1,'id':_0x56131f,'type':_0x250c6e,'params':{'unitId':_0x21aa4a[_0x478d95(0x2e0)],'textRanges':_0x21aa4a[_0x478d95(0x3a6)],'actions':_0x417fa3[_0x478d95(0x29a)](_0x37fb30[_0x478d95(0x143)],_0x21aa4a['actions'])}};},{})],_0x5b267e=(_0x1a185c=(_0x33e455=_0x41edef[_0x2f7a18(0x36c)]())==null?void 0x0:_0x33e455[_0x2f7a18(0x2a5)])!=null?_0x1a185c:'unknown',_0x47bd15=(_0x1ef0c9=(_0x1e6efd=_0x41edef['getCurrentUser']())==null?void 0x0:_0x1e6efd[_0x2f7a18(0x153)])!=null?_0x1ef0c9:_0x2f7a18(0xed);return{'changeset':{'unitID':_0x302faa,'type':_0x214448(_0x57628b[_0x2f7a18(0x1c7)](_0x302faa)),'baseRev':_0x267d5b[_0x2f7a18(0x319)](_0x302faa),'revision':0x0,'userID':_0x5b267e,'memberID':_0x47bd15,'mutations':_0x30e1a3},'pendingMutations':[]};}function Oi(_0x31f0ca,_0x3ed431){var _0x52c631=_0x4ed5f2;const _0x5e0587=new _0x584106(0x1);return setTimeout(()=>_0x5e0587['next'](_0x3ed431),_0x31f0ca),_0x5e0587[_0x52c631(0x21b)]()[_0x52c631(0x206)](_0x4c63b7(0x1));}const ur={'id':_0x4b0e83['id'],'type':_0x3d6340[_0x4ed5f2(0x324)],'params':{}};var dr=Object[_0x4ed5f2(0x1f4)],fr=Object[_0x4ed5f2(0x3d9)],Re=(_0x59a089,_0x411aa6,_0x5a2cec,_0x53a2b0)=>{var _0x173d72=_0x4ed5f2;for(var _0x3b1b1d=_0x53a2b0>0x1?void 0x0:_0x53a2b0?fr(_0x411aa6,_0x5a2cec):_0x411aa6,_0x3b517a=_0x59a089[_0x173d72(0x3c7)]-0x1,_0x4ee0eb;_0x3b517a>=0x0;_0x3b517a--)(_0x4ee0eb=_0x59a089[_0x3b517a])&&(_0x3b1b1d=(_0x53a2b0?_0x4ee0eb(_0x411aa6,_0x5a2cec,_0x3b1b1d):_0x4ee0eb(_0x3b1b1d))||_0x3b1b1d);return _0x53a2b0&&_0x3b1b1d&&dr(_0x411aa6,_0x5a2cec,_0x3b1b1d),_0x3b1b1d;},A=(_0x3d3a67,_0x33dc75)=>(_0x1eed82,_0x37e86c)=>_0x33dc75(_0x1eed82,_0x37e86c,_0x3d3a67),yi=(_0x4bbd71=>(_0x4bbd71[_0x4ed5f2(0x24e)]=_0x4ed5f2(0x2b3),_0x4bbd71['SYNCED']=_0x4ed5f2(0x108),_0x4bbd71[_0x4ed5f2(0x2a6)]=_0x4ed5f2(0x214),_0x4bbd71[_0x4ed5f2(0x185)]=_0x4ed5f2(0x329),_0x4bbd71[_0x4ed5f2(0x369)]=_0x4ed5f2(0x31f),_0x4bbd71['FETCH_MISS']='fetch_missing',_0x4bbd71[_0x4ed5f2(0x29d)]=_0x4ed5f2(0x2d2),_0x4bbd71['OFFLINE']='offline',_0x4bbd71))(yi||{});const Ni=0xea60;class be{constructor(_0x38ee47,_0x30f4a5,_0x433e75,_0x5ba5c7,_0x1e9f27,_0x20f544,_0x55ecf7,_0x1a5a67,_0x5e37f5){var _0xbd737b=_0x4ed5f2;N(this,_0xbd737b(0x260),null),N(this,'_pendingMutations',[]),(this[_0xbd737b(0x315)]=_0x38ee47,this[_0xbd737b(0x15c)]=_0x30f4a5,this[_0xbd737b(0x3b5)]=_0x1e9f27,this[_0xbd737b(0x24a)]=_0x20f544,this['_undoRedoService']=_0x55ecf7,this[_0xbd737b(0x298)]=_0x1a5a67,this['_localCacheService']=_0x5e37f5,this[_0xbd737b(0x260)]=_0x433e75,this[_0xbd737b(0x3ac)]=_0x5ba5c7);}[_0x4ed5f2(0x179)](_0x13b3db){var _0x1a7bd9=_0x4ed5f2;const _0x9ef8f=this[_0x1a7bd9(0x298)][_0x1a7bd9(0x319)](this['unitID']);return _0x13b3db['revision']>_0x9ef8f+0x1?(this[_0x1a7bd9(0x3b5)][_0x1a7bd9(0x3a8)]({'from':_0x9ef8f,'to':_0x13b3db['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x6c5f4f){var _0x27811c=_0x4ed5f2;this[_0x27811c(0x27d)][_0x27811c(0x3d1)](this['unitID'],_0x6c5f4f);}[_0x4ed5f2(0x2f5)](_0x2fd311){var _0x3bc445,_0x3566cd;(_0x3566cd=(_0x3bc445=this['_handler'])['onTransformSelections'])==null||_0x3566cd['call'](_0x3bc445,_0x2fd311);}['_transformIMECache'](_0x182ca1){var _0x5e2ed0=_0x4ed5f2,_0x298901,_0x404d7d;return(_0x404d7d=(_0x298901=this['_handler'])[_0x5e2ed0(0xf4)])==null?void 0x0:_0x404d7d[_0x5e2ed0(0x2fb)](_0x298901,_0x182ca1);}[_0x4ed5f2(0x2db)](_0x44d9ec){var _0x6eb145=_0x4ed5f2,_0xc82d84,_0x4d7615;return(_0x4d7615=(_0xc82d84=this[_0x6eb145(0x3b5)])[_0x6eb145(0x2f4)])==null?void 0x0:_0x4d7615['call'](_0xc82d84,_0x44d9ec);}[_0x4ed5f2(0x295)](_0x2aa0e5){var _0x41ef8e=_0x4ed5f2,_0x3b741d,_0x2c19aa,_0x27f5f5;return(_0x27f5f5=(_0x2c19aa=(_0x3b741d=this[_0x41ef8e(0x3b5)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c19aa[_0x41ef8e(0x2fb)](_0x3b741d,_0x2aa0e5))!=null?_0x27f5f5:_0x2aa0e5;}[_0x4ed5f2(0x255)](_0x19bc58){var _0x19f1bd=_0x4ed5f2,_0x1495d2,_0x229ac0,_0x41cb73;return(_0x41cb73=(_0x229ac0=(_0x1495d2=this[_0x19f1bd(0x3b5)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x229ac0['call'](_0x1495d2,_0x19bc58))!=null?_0x41cb73:_0x19bc58;}['_syncEditingCollabCursor'](_0x19264a){var _0x5a75be=_0x4ed5f2,_0x47497e,_0x394901;if(this[_0x5a75be(0x15c)]===Q['UNIVER_DOC']){const {unitID:_0x2fa909,mutations:_0x562223,memberID:_0x3d8994}=_0x19264a,_0x43c6ae=_0x562223[0x0][_0x5a75be(0x31b)]['textRanges'];Array[_0x5a75be(0x11b)](_0x43c6ae)&&_0x43c6ae['length']>0x0&&((_0x394901=(_0x47497e=this[_0x5a75be(0x3b5)])[_0x5a75be(0x188)])==null||_0x394901['call'](_0x47497e,{'unitID':_0x2fa909,'memberID':_0x3d8994,'textRanges':_0x43c6ae}));}}[_0x4ed5f2(0x210)](){var _0x1435da=_0x4ed5f2,_0x1fa1b5;(_0x1fa1b5=this[_0x1435da(0x1be)])==null||_0x1fa1b5[_0x1435da(0x337)](this[_0x1435da(0x315)],this[_0x1435da(0x15c)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x1ec610=_0x4ed5f2;return this[_0x1ec610(0x298)][_0x1ec610(0x319)](this[_0x1ec610(0x315)]);}[_0x4ed5f2(0x35f)](){var _0x508308=_0x4ed5f2;this[_0x508308(0x298)][_0x508308(0x332)](this[_0x508308(0x315)]);}[_0x4ed5f2(0x1cc)](_0xb394c7){var _0xd831a3=_0x4ed5f2,_0x46f505;let _0x480b35=this[_0xd831a3(0x295)](_0xb394c7);_0x480b35=this[_0xd831a3(0x255)](_0x480b35);const _0xf4f921=_0x55520d(_0x480b35[_0xd831a3(0x30d)],this[_0xd831a3(0x24a)],{'fromCollab':!0x0});if(!_0xf4f921['result'])throw _0xf4f921[_0xd831a3(0x37c)]instanceof Error?_0xf4f921[_0xd831a3(0x37c)]:new Error((_0x46f505=_0xf4f921['error'])!=null?_0x46f505:_0xd831a3(0x3c2));this['_transformIMECache'](_0x480b35),this[_0xd831a3(0x2db)](_0x480b35),this[_0xd831a3(0x27e)](_0xb394c7),this[_0xd831a3(0x2f5)](_0x480b35),this[_0xd831a3(0x349)](_0x480b35),this[_0xd831a3(0x35f)]();}}let De=class extends be{constructor(_0x380902,_0x512384,_0x144e7f,_0x2342d6,_0x2b3a2f,_0x1ae5d0,_0x21ee09,_0x45a5b7,_0x494e52,_0xcfe5ec){var _0x5c2078=_0x4ed5f2;super(_0x380902,_0x512384,null,[],_0x144e7f,_0x21ee09,_0x1ae5d0,_0x2342d6,_0xcfe5ec),N(this,_0x5c2078(0x13a),_0x5c2078(0x108)),(this[_0x5c2078(0x1f2)]=_0x2b3a2f,this['_logService']=_0x45a5b7,this['_transformService']=_0x494e52,this[_0x5c2078(0x3bc)]=_0xcfe5ec);}['appendMutation'](_0x3c73da){var _0x267d81=_0x4ed5f2;const _0x318900=this[_0x267d81(0x1f2)][_0x267d81(0x211)](oe,this[_0x267d81(0x315)],this['type'],[_0x3c73da],this[_0x267d81(0x3b5)]);return _0x318900[_0x267d81(0xf7)](),_0x318900['_updateLocalCache'](),_0x318900;}[_0x4ed5f2(0x2df)](_0x1c1dbc){var _0x260905=_0x4ed5f2;if(this[_0x260905(0x179)](_0x1c1dbc))return this[_0x260905(0x1f2)]['createInstance'](te,this[_0x260905(0x315)],this[_0x260905(0x15c)],null,[],null,[_0x1c1dbc],this[_0x260905(0x3b5)]);try{const _0x1fb117=this[_0x260905(0x1dc)][_0x260905(0x2a7)](_0x1c1dbc,[ur]);if(_0x3329e6(_0x1fb117)){const {c1Prime:_0x65e62f}=_0x1fb117;return this[_0x260905(0x1cc)](_0x65e62f),this;}throw _0x1fb117[_0x260905(0x37c)];}catch(_0xba18cb){return this[_0x260905(0x2c9)]['error'](_0xba18cb),this[_0x260905(0x33b)](!0x1);}}[_0x4ed5f2(0x33b)](_0x3115d4){var _0x450b62=_0x4ed5f2;return this[_0x450b62(0x1f2)]['createInstance'](de,this[_0x450b62(0x315)],this[_0x450b62(0x15c)],null,[],this[_0x450b62(0x3b5)],_0x3115d4);}[_0x4ed5f2(0x191)](){var _0x17471d=_0x4ed5f2;throw new Error(_0x17471d(0x345));}[_0x4ed5f2(0x16e)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4ed5f2(0x307)](){return this;}['toggleOffline'](){var _0x33b64e=_0x4ed5f2;return this[_0x33b64e(0x1f2)][_0x33b64e(0x211)](fe,this[_0x33b64e(0x315)],this[_0x33b64e(0x15c)],null,[],this['_handler']);}[_0x4ed5f2(0x3ca)](){return this;}[_0x4ed5f2(0x110)](){var _0x57fdb4=_0x4ed5f2;throw new Error(_0x57fdb4(0x18a));}[_0x4ed5f2(0x2ef)](){var _0x404a71=_0x4ed5f2;const _0x4d9ff4=this[_0x404a71(0x298)][_0x404a71(0x319)](this[_0x404a71(0x315)]);return this[_0x404a71(0x3b5)][_0x404a71(0x3a8)]({'from':_0x4d9ff4,'to':0x0}),this[_0x404a71(0x1f2)][_0x404a71(0x211)](te,this[_0x404a71(0x315)],this[_0x404a71(0x15c)],null,[],null,[],this[_0x404a71(0x3b5)]);}};De=Re([A(0x3,_0x2e68e5(_0x205ba3)),A(0x4,_0x2e68e5(_0x39e407)),A(0x5,_0x792b04),A(0x6,_0x20399a),A(0x7,_0x188ee),A(0x8,_0x2d59c1),A(0x9,_0x4396dd(J))],De);let oe=class extends be{constructor(_0x4a7ba1,_0x2c2855,_0x3949b0,_0x5564fa,_0x4b0b86,_0x5e7fcb,_0x586634,_0x5d6da8,_0x2d8b91,_0x24a36c,_0x31c4d6,_0x1c8857,_0x47afad,_0x2aabe9){var _0x527ffb=_0x4ed5f2;super(_0x4a7ba1,_0x2c2855,null,_0x3949b0,_0x5564fa,_0x2d8b91,_0x47afad,_0x5e7fcb,_0x2aabe9),N(this,_0x527ffb(0x13a),_0x527ffb(0x214)),N(this,_0x527ffb(0x326),null),N(this,'_sendingTimer',null),(this[_0x527ffb(0x1f2)]=_0x4b0b86,this[_0x527ffb(0x2c5)]=_0x586634,this['_logService']=_0x5d6da8,this[_0x527ffb(0x254)]=_0x24a36c,this['_transformService']=_0x31c4d6,this['_univerInstanceService']=_0x1c8857);}[_0x4ed5f2(0x230)](_0x4f8cf2){var _0x561fd8=_0x4ed5f2;return this['_pendingMutations']['push'](_0x4f8cf2),this[_0x561fd8(0x210)](),this;}[_0x4ed5f2(0x2df)](_0x4b56e8){var _0x124274=_0x4ed5f2;if(this[_0x124274(0x179)](_0x4b56e8))return this[_0x124274(0x182)](),this['_injector'][_0x124274(0x211)](te,this[_0x124274(0x315)],this['type'],null,this[_0x124274(0x3ac)],null,[_0x4b56e8],this[_0x124274(0x3b5)]);try{const _0xda3300=this[_0x124274(0x1dc)][_0x124274(0x2a7)](_0x4b56e8,this[_0x124274(0x3ac)]);if(_0x3329e6(_0xda3300)){const {c1Prime:_0x23ee0a,m2Prime:_0x2422a2}=_0xda3300;this[_0x124274(0x1cc)](_0x23ee0a);const _0x1c7c14=this[_0x124274(0x1f2)]['createInstance'](oe,this['unitID'],this[_0x124274(0x15c)],_0x2422a2,this[_0x124274(0x3b5)]);this['_clearScheduledTask']();const _0x3e29f9=new Date()['getTime'](),_0x480b13=this['_scheduleCompleteTimestamp']?Math[_0x124274(0x279)](this['_scheduleCompleteTimestamp']-_0x3e29f9,0x0):this['_getSendChangesetTimeout']();return _0x1c7c14['_schedule'](_0x480b13),_0x1c7c14;}throw _0xda3300[_0x124274(0x37c)];}catch(_0x28fcce){return this[_0x124274(0x2c9)]['error'](_0x28fcce),this[_0x124274(0x33b)](!0x1);}}[_0x4ed5f2(0x191)](){var _0x3f199d=_0x4ed5f2;throw new Error(_0x3f199d(0x1d5));}[_0x4ed5f2(0x16e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4ed5f2(0x307)](){return this;}[_0x4ed5f2(0x38e)](){var _0xe204e3=_0x4ed5f2;return this[_0xe204e3(0x182)](),this[_0xe204e3(0x1f2)][_0xe204e3(0x211)](fe,this[_0xe204e3(0x315)],this[_0xe204e3(0x15c)],null,this[_0xe204e3(0x3ac)],this[_0xe204e3(0x3b5)]);}[_0x4ed5f2(0x3ca)](){return this;}[_0x4ed5f2(0xf7)](_0x1f16ef){var _0x12b353=_0x4ed5f2;const _0x2eb8b6=_0x1f16ef!=null?_0x1f16ef:this[_0x12b353(0x37f)]();this[_0x12b353(0x326)]=new Date()[_0x12b353(0x15e)]()+_0x2eb8b6,this[_0x12b353(0x3a7)]=setTimeout(()=>{var _0x43806f=_0x12b353;this[_0x43806f(0x182)]();let _0x5bb37b=null;switch(this['type']){case Q[_0x43806f(0x14c)]:{_0x5bb37b=zt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x43806f(0x298)],this[_0x43806f(0x2c5)]);break;}case Q[_0x43806f(0x243)]:{this['_pendingMutations'][_0x43806f(0x21d)](_0x3a8cb6=>_0x3a8cb6['id']===_0x55dd13['id'])?_0x5bb37b=lr(this[_0x43806f(0x3ac)],this[_0x43806f(0x315)],this[_0x43806f(0x3a1)],this[_0x43806f(0x298)],this[_0x43806f(0x2c5)]):_0x5bb37b=zt(this[_0x43806f(0x3ac)],this['unitID'],this[_0x43806f(0x3a1)],this[_0x43806f(0x298)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x43806f(0x12a));}const {changeset:_0x2b0b7c,pendingMutations:_0x5ef1ca}=_0x5bb37b;this[_0x43806f(0x3b5)]['onSendChangeset'](_0x2b0b7c);const _0x408301=_0x5ef1ca[_0x43806f(0x3c7)]?this[_0x43806f(0x1f2)][_0x43806f(0x211)](ae,this[_0x43806f(0x315)],this[_0x43806f(0x15c)],_0x2b0b7c,_0x5ef1ca,this[_0x43806f(0x3b5)],void 0x0):this[_0x43806f(0x1f2)][_0x43806f(0x211)](ue,this['unitID'],this[_0x43806f(0x15c)],_0x2b0b7c,this[_0x43806f(0x3b5)]);_0x408301[_0x43806f(0x210)](),this[_0x43806f(0x3b5)][_0x43806f(0x2b5)](this,_0x408301);},_0x2eb8b6);}[_0x4ed5f2(0x37f)](){var _0x355dc2=_0x4ed5f2,_0x14af27;const _0x3c67c9=this[_0x355dc2(0x254)]['getConfig'](q);return(_0x14af27=_0x3c67c9==null?void 0x0:_0x3c67c9['sendChangesetTimeout'])!=null?_0x14af27:Cn;}[_0x4ed5f2(0x110)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x384cc0=_0x4ed5f2;this[_0x384cc0(0x3a7)]!=null&&(clearTimeout(this[_0x384cc0(0x3a7)]),this[_0x384cc0(0x3a7)]=null);}[_0x4ed5f2(0x33b)](_0xa1aebf){var _0x29e087=_0x4ed5f2;return this[_0x29e087(0x182)](),this[_0x29e087(0x1f2)][_0x29e087(0x211)](de,this[_0x29e087(0x315)],this['type'],null,this[_0x29e087(0x3ac)],this[_0x29e087(0x3b5)],_0xa1aebf);}};oe=Re([A(0x4,_0x2e68e5(_0x39e407)),A(0x5,_0x2e68e5(_0x205ba3)),A(0x6,_0x2e68e5(xe)),A(0x7,_0x188ee),A(0x8,_0x20399a),A(0x9,_0x144724),A(0xa,_0x2d59c1),A(0xb,_0x567566),A(0xc,_0x792b04),A(0xd,_0x4396dd(J))],oe);let ue=class extends be{constructor(_0x3d213b,_0x5863de,_0x257783,_0xe03ef5,_0x6e529e,_0x29b77b,_0x43623d,_0x50a673,_0x2f1a1a,_0x4afdcf,_0x4842af){var _0x13de03=_0x4ed5f2;super(_0x3d213b,_0x5863de,_0x257783,[],_0xe03ef5,_0x43623d,_0x4afdcf,_0x29b77b,_0x4842af),N(this,'status','awaiting'),N(this,_0x13de03(0x379),0x0),N(this,_0x13de03(0x366)),N(this,_0x13de03(0x159)),(this[_0x13de03(0x1f2)]=_0x6e529e,this[_0x13de03(0x2c9)]=_0x50a673,this[_0x13de03(0x1dc)]=_0x2f1a1a);}[_0x4ed5f2(0x230)](_0x24bb55){var _0x49dd30=_0x4ed5f2;this[_0x49dd30(0x182)]();const _0x371149=this[_0x49dd30(0x1f2)][_0x49dd30(0x211)](ae,this[_0x49dd30(0x315)],this[_0x49dd30(0x15c)],this[_0x49dd30(0x260)],[_0x24bb55],this[_0x49dd30(0x3b5)],this[_0x49dd30(0x366)]);return _0x371149[_0x49dd30(0x210)](),_0x371149;}[_0x4ed5f2(0x2df)](_0x64bf48){var _0x49758c=_0x4ed5f2;if(this[_0x49758c(0x179)](_0x64bf48))return this[_0x49758c(0x182)](),this[_0x49758c(0x1f2)][_0x49758c(0x211)](te,this[_0x49758c(0x315)],this[_0x49758c(0x15c)],this[_0x49758c(0x260)],[],null,[_0x64bf48],this[_0x49758c(0x3b5)]);try{const _0x5a59c9=this['_transformService'][_0x49758c(0x34a)]([_0x64bf48],[this['_awaitingChangeset']],!0x1);if(_0x38b702(_0x5a59c9)){const {c1Prime:_0x2e124e,c2Prime:_0x199bdd}=_0x5a59c9;this['_executeRemoteChangeset'](_0x2e124e[0x0]),_0x199bdd[0x0]['baseRev']=this[_0x49758c(0x32a)](),this[_0x49758c(0x182)]();const _0x4582ad=this['_injector'][_0x49758c(0x211)](ue,this[_0x49758c(0x315)],this[_0x49758c(0x15c)],_0x199bdd[0x0],this[_0x49758c(0x3b5)]);return _0x4582ad['_updateLocalCache'](),_0x4582ad;}return this['_onConflict'](!0x1);}catch(_0x4d29c2){return this['_logService'][_0x49758c(0x37c)](_0x4d29c2),this[_0x49758c(0x33b)](!0x1);}}[_0x4ed5f2(0x191)](_0x21bc27){var _0x1ee6f5=_0x4ed5f2;this['_clearScheduledTask']();const _0x50e350=this[_0x1ee6f5(0x298)][_0x1ee6f5(0x319)](this['unitID']);if(_0x21bc27[_0x1ee6f5(0x14e)]<_0x50e350-0x1)return this;if(this[_0x1ee6f5(0x179)](_0x21bc27))return this['_injector'][_0x1ee6f5(0x211)](te,this[_0x1ee6f5(0x315)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x1ee6f5(0x35f)]();const _0xa4c338=this[_0x1ee6f5(0x1f2)][_0x1ee6f5(0x211)](De,this[_0x1ee6f5(0x315)],this[_0x1ee6f5(0x15c)],this[_0x1ee6f5(0x3b5)]);return _0xa4c338[_0x1ee6f5(0x210)](),_0xa4c338;}[_0x4ed5f2(0x16e)](_0x5a65a2){var _0x484496=_0x4ed5f2;return this[_0x484496(0x33b)](!!(_0x5a65a2!=null&&_0x5a65a2[_0x484496(0x1d0)]));}[_0x4ed5f2(0x307)](_0x7d3eab){var _0x16af1c=_0x4ed5f2;return this[_0x16af1c(0x379)]>Ni?this[_0x16af1c(0x38e)]():(this[_0x16af1c(0x366)]=Oi(this['_resendTimeout'],{'timeout':this[_0x16af1c(0x379)],'reqId':_0x7d3eab[_0x16af1c(0x128)]}),this[_0x16af1c(0x159)]=this[_0x16af1c(0x366)][_0x16af1c(0x278)](({reqId:_0x1e62ef,timeout:_0x38c315})=>{var _0x3f7b8c=_0x16af1c;this[_0x3f7b8c(0x157)](_0x1e62ef,_0x38c315);}),this);}[_0x4ed5f2(0x38e)](){var _0x366165=_0x4ed5f2;return this[_0x366165(0x182)](),this[_0x366165(0x1f2)]['createInstance'](fe,this[_0x366165(0x315)],this['type'],this[_0x366165(0x260)],[],this[_0x366165(0x3b5)]);}[_0x4ed5f2(0x3ca)](){return this;}[_0x4ed5f2(0x110)](){var _0x461880=_0x4ed5f2;this[_0x461880(0x3b5)][_0x461880(0x39a)](this[_0x461880(0x260)]);}[_0x4ed5f2(0x33b)](_0xc8e160){var _0x66ba8c=_0x4ed5f2;return this['_clearScheduledTask'](),this[_0x66ba8c(0x1f2)][_0x66ba8c(0x211)](de,this['unitID'],this[_0x66ba8c(0x15c)],this[_0x66ba8c(0x260)],[],this['_handler'],_0xc8e160);}['_resendWithTimeout'](_0x4b9096,_0x187a3a){var _0x2e58d3=_0x4ed5f2,_0x4041d6;_0x4b9096===((_0x4041d6=this['_awaitingChangeset'])==null?void 0x0:_0x4041d6['reqId'])&&(this[_0x2e58d3(0x110)](),this[_0x2e58d3(0x379)]=_0x187a3a===0x0?0x3e8:_0x187a3a*0x2);}['_clearScheduledTask'](){var _0x2803e4=_0x4ed5f2,_0x2129bb;(_0x2129bb=this[_0x2803e4(0x159)])==null||_0x2129bb[_0x2803e4(0x313)](),this[_0x2803e4(0x379)]=0x0;}};ue=Re([A(0x4,_0x2e68e5(_0x39e407)),A(0x5,_0x2e68e5(_0x205ba3)),A(0x6,_0x20399a),A(0x7,_0x188ee),A(0x8,_0x2d59c1),A(0x9,_0x792b04),A(0xa,_0x4396dd(J))],ue);let ae=class extends be{constructor(_0x3afddf,_0x2b7e37,_0xc2f2e5,_0x34d6ce,_0x5030e3,_0x198bfd,_0x5da036,_0x38f79e,_0x1f06a3,_0x5ccfdc,_0xbf8b67,_0x34151,_0xc45710){var _0x356fb2=_0x4ed5f2;super(_0x3afddf,_0x2b7e37,_0xc2f2e5,_0x34d6ce,_0x5030e3,_0x1f06a3,_0x34151,_0x38f79e,_0xc45710),N(this,_0x356fb2(0x13a),'awaiting_with_pending'),N(this,_0x356fb2(0x379),0x0),N(this,_0x356fb2(0x366)),N(this,_0x356fb2(0x159)),(this['_injector']=_0x5da036,this[_0x356fb2(0x2c9)]=_0x5ccfdc,this[_0x356fb2(0x1dc)]=_0xbf8b67,this['localCacheService']=_0xc45710,_0x198bfd&&(this[_0x356fb2(0x366)]=_0x198bfd,this[_0x356fb2(0x159)]=this['_resendTimer'][_0x356fb2(0x278)](({reqId:_0x47e9be,timeout:_0x1b6a0d})=>{this['_resendWithTimeout'](_0x47e9be,_0x1b6a0d);})));}[_0x4ed5f2(0x230)](_0x5b2c2a){var _0x247828=_0x4ed5f2;return this[_0x247828(0x3ac)][_0x247828(0x1f3)](_0x5b2c2a),this;}[_0x4ed5f2(0x2df)](_0xe230f){var _0x509f64=_0x4ed5f2;if(this[_0x509f64(0x179)](_0xe230f))return this['_clearScheduledTask'](),this[_0x509f64(0x1f2)][_0x509f64(0x211)](te,this[_0x509f64(0x315)],this[_0x509f64(0x15c)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0xe230f],this[_0x509f64(0x3b5)]);try{const _0x18ba52=this[_0x509f64(0x1dc)][_0x509f64(0x34a)]([_0xe230f],[this[_0x509f64(0x260)]],!0x1);if(_0x38b702(_0x18ba52)){const {c1Prime:_0x429b03,c2Prime:_0x44b67f}=_0x18ba52,_0x27afc9=this[_0x509f64(0x1dc)][_0x509f64(0x2a7)](_0x429b03[0x0],this['_pendingMutations']);if(_0x3329e6(_0x27afc9)){const {c1Prime:_0x487446,m2Prime:_0x387c17}=_0x27afc9;return this[_0x509f64(0x1cc)](_0x487446),_0x44b67f[0x0][_0x509f64(0x106)]=this[_0x509f64(0x32a)](),this[_0x509f64(0x182)](),this[_0x509f64(0x1f2)][_0x509f64(0x211)](ae,this[_0x509f64(0x315)],this[_0x509f64(0x15c)],_0x44b67f[0x0],_0x387c17,this[_0x509f64(0x3b5)],void 0x0);}throw _0x27afc9['error'];}throw _0x18ba52[_0x509f64(0x37c)];}catch(_0x48aedb){return this[_0x509f64(0x2c9)][_0x509f64(0x37c)](_0x48aedb),this[_0x509f64(0x33b)](!0x1);}}[_0x4ed5f2(0x191)](_0x446f72){var _0x57b2a1=_0x4ed5f2;if(this['_clearScheduledTask'](),this[_0x57b2a1(0x179)](_0x446f72))return this['_injector']['createInstance'](te,this[_0x57b2a1(0x315)],this['type'],null,this[_0x57b2a1(0x3ac)],this['_awaitingChangeset'],[],this[_0x57b2a1(0x3b5)]);this[_0x57b2a1(0x35f)]();const _0xbe51c1=this[_0x57b2a1(0x1f2)]['createInstance'](oe,this[_0x57b2a1(0x315)],this[_0x57b2a1(0x15c)],this['_pendingMutations'],this[_0x57b2a1(0x3b5)]);return _0xbe51c1[_0x57b2a1(0xf7)](),_0xbe51c1['_updateLocalCache'](),_0xbe51c1;}[_0x4ed5f2(0x16e)](_0x5d1673){var _0x4946e7=_0x4ed5f2;return this['_onConflict'](!!(_0x5d1673!=null&&_0x5d1673[_0x4946e7(0x1d0)]));}[_0x4ed5f2(0x307)](_0x2f9b53){var _0x58cb16=_0x4ed5f2;return this[_0x58cb16(0x379)]>Ni?this[_0x58cb16(0x38e)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x58cb16(0x379)],'reqId':_0x2f9b53[_0x58cb16(0x128)]}),this[_0x58cb16(0x159)]=this[_0x58cb16(0x366)][_0x58cb16(0x278)](({reqId:_0x50cf56,timeout:_0x1e236d})=>{var _0x5e7fc1=_0x58cb16;this[_0x5e7fc1(0x157)](_0x50cf56,_0x1e236d);}),this);}[_0x4ed5f2(0x38e)](){var _0x2f8a39=_0x4ed5f2;return this[_0x2f8a39(0x182)](),this[_0x2f8a39(0x1f2)][_0x2f8a39(0x211)](fe,this[_0x2f8a39(0x315)],this[_0x2f8a39(0x15c)],this[_0x2f8a39(0x260)],this[_0x2f8a39(0x3ac)],this['_handler']);}[_0x4ed5f2(0x3ca)](){return this;}[_0x4ed5f2(0x110)](){var _0x43f31c=_0x4ed5f2;this[_0x43f31c(0x3b5)][_0x43f31c(0x39a)](this[_0x43f31c(0x260)]);}['_onConflict'](_0x1d86a7){var _0x4d93a1=_0x4ed5f2;return this[_0x4d93a1(0x182)](),this[_0x4d93a1(0x1f2)][_0x4d93a1(0x211)](de,this[_0x4d93a1(0x315)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x1d86a7);}[_0x4ed5f2(0x157)](_0x46a626,_0x33a487){var _0x518fff=_0x4ed5f2,_0x519c41;_0x46a626===((_0x519c41=this['_awaitingChangeset'])==null?void 0x0:_0x519c41['reqId'])&&(this[_0x518fff(0x110)](),this[_0x518fff(0x379)]=_0x33a487===0x0?0x3e8:_0x33a487*0x2);}['_clearScheduledTask'](){var _0xb6f63e=_0x4ed5f2,_0x454d24;(_0x454d24=this['_sender'])==null||_0x454d24[_0xb6f63e(0x313)](),this[_0xb6f63e(0x379)]=0x0;}};ae=Re([A(0x6,_0x2e68e5(_0x39e407)),A(0x7,_0x2e68e5(_0x205ba3)),A(0x8,_0x20399a),A(0x9,_0x188ee),A(0xa,_0x2d59c1),A(0xb,_0x792b04),A(0xc,_0x4396dd(J))],ae);let de=class extends be{constructor(_0x191ca6,_0x516aa8,_0x4155af,_0x1bcda0,_0x449bc4,_0x1032f0=!0x1,_0x2e44e4,_0x374b65,_0x3175e1,_0x5a553b,_0x14b06c,_0x3a2ed5,_0x414610){var _0x2c250b=_0x4ed5f2;super(_0x191ca6,_0x516aa8,_0x4155af,_0x1bcda0,_0x449bc4,_0x374b65,_0x3175e1,_0x5a553b,_0x414610),N(this,_0x2c250b(0x13a),_0x2c250b(0x2d2)),(this[_0x2c250b(0x24c)]=_0x1032f0,this[_0x2c250b(0x362)]=_0x2e44e4,this[_0x2c250b(0x2ff)]=_0x14b06c,this[_0x2c250b(0x134)]=_0x3a2ed5,this[_0x2c250b(0x3bc)]=_0x414610,this['_showConflictNotification'](),this[_0x2c250b(0x27a)](),this[_0x2c250b(0x12d)]());}[_0x4ed5f2(0x230)](){return this;}[_0x4ed5f2(0x2df)](){return this;}[_0x4ed5f2(0x191)](){return this;}[_0x4ed5f2(0x16e)](){return this;}[_0x4ed5f2(0x307)](){return this;}[_0x4ed5f2(0x38e)](){return this;}[_0x4ed5f2(0x3ca)](){return this;}[_0x4ed5f2(0x110)](){var _0x2af299=_0x4ed5f2;throw new Error(_0x2af299(0x124));}[_0x4ed5f2(0x27a)](){var _0xea7fa4=_0x4ed5f2,_0x477eb4;(_0x477eb4=this[_0xea7fa4(0x1be)])==null||_0x477eb4['updateOfflineData'](this['unitID'],this[_0xea7fa4(0x15c)],null,[]);}[_0x4ed5f2(0x177)](){var _0x285e75=_0x4ed5f2;this['_isPermissionRej']?this[_0x285e75(0x134)][_0x285e75(0x280)]({'id':se[_0x285e75(0x18e)]}):this['_collaborationUIEventService']['emitEvent']({'id':se[_0x285e75(0x29d)]});}[_0x4ed5f2(0x12d)](){var _0x4fc29f=_0x4ed5f2;this[_0x4fc29f(0x362)][_0x4fc29f(0x29e)](new _0x216657(this[_0x4fc29f(0x315)])['id'],!0x1);}};de=Re([A(0x6,_0x2e68e5(_0x1d089a)),A(0x7,_0x20399a),A(0x8,_0x792b04),A(0x9,_0x2e68e5(_0x205ba3)),A(0xa,_0x2e68e5(_0x427944)),A(0xb,_0x2e68e5(pe)),A(0xc,_0x4396dd(J))],de);let fe=class extends be{constructor(_0x259d14,_0x16a0cd,_0x64ca30,_0x4a1321,_0x22497d,_0xaa218a,_0x110a73,_0x617c60,_0x32bb0f,_0xfc1a18){var _0x500acb=_0x4ed5f2;super(_0x259d14,_0x16a0cd,_0x64ca30,_0x4a1321,_0x22497d,_0x617c60,_0x32bb0f,_0x110a73,_0xfc1a18),N(this,_0x500acb(0x13a),_0x500acb(0x317)),this[_0x500acb(0x1f2)]=_0xaa218a;}['appendMutation'](_0x48e2d3){var _0x4b5829=_0x4ed5f2;return this[_0x4b5829(0x3ac)][_0x4b5829(0x1f3)](_0x48e2d3),this[_0x4b5829(0x210)](),this;}['onRemoteChangeset'](_0x4183e1){var _0x241d39=_0x4ed5f2;throw new Error(_0x241d39(0x12f));}[_0x4ed5f2(0x191)](){var _0x4d91c7=_0x4ed5f2;throw new Error(_0x4d91c7(0x1b4));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x4ed5f2(0x3ca)](){var _0x11f65e=_0x4ed5f2;const {_injector:_0x46f397,_pendingMutations:_0x5bf1d6,_awaitingChangeset:_0x4fb67b,unitID:_0x564011,_handler:_0x191748,type:_0x4d81fc}=this,_0x41fac7=Di(_0x46f397,_0x564011,_0x4d81fc,_0x4fb67b,_0x5bf1d6,_0x191748);return _0x41fac7 instanceof oe?_0x41fac7['_schedule']():(_0x41fac7 instanceof ae||_0x41fac7 instanceof ue)&&_0x41fac7[_0x11f65e(0x110)](),_0x41fac7;}[_0x4ed5f2(0x110)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x2e68e5(_0x39e407)),A(0x6,_0x2e68e5(_0x205ba3)),A(0x7,_0x20399a),A(0x8,_0x792b04),A(0x9,_0x4396dd(J))],fe);let te=class extends be{constructor(_0x1645b0,_0x389266,_0x45b326,_0x4730e8,_0x31ab84,_0x356ff6,_0x3c113d,_0xf5fa5e,_0x27f325,_0x528f02,_0x9afe83,_0x172514,_0x39e3c0,_0x2ee895){var _0x71370d=_0x4ed5f2;super(_0x1645b0,_0x389266,_0x45b326,_0x4730e8,_0x3c113d,_0x9afe83,_0x172514,_0x27f325,_0x2ee895),N(this,_0x71370d(0x13a),_0x71370d(0x353)),(this[_0x71370d(0x199)]=_0x31ab84,this['_queuedRemoteChangesets']=_0x356ff6,this[_0x71370d(0x1f2)]=_0xf5fa5e,this['_logService']=_0x528f02,this['_transformService']=_0x39e3c0,this[_0x71370d(0x3bc)]=_0x2ee895);}[_0x4ed5f2(0x39c)](_0x469456){var _0x3af8d2=_0x4ed5f2;try{const _0x5632aa=[..._0x469456,...this['_queuedRemoteChangesets']],_0x553dc8=[this[_0x3af8d2(0x260)]||this[_0x3af8d2(0x199)]][_0x3af8d2(0x120)](_0x1fbc5d=>!!_0x1fbc5d);let _0x10cb4c,_0x3729c1;if(_0x553dc8[_0x3af8d2(0x3c7)]){const _0x2bbc13=this[_0x3af8d2(0x1dc)][_0x3af8d2(0x34a)](_0x5632aa,_0x553dc8,!0x1);if(!_0x38b702(_0x2bbc13))throw _0x2bbc13['error'];_0x10cb4c=_0x2bbc13[_0x3af8d2(0x18d)],_0x3729c1=_0x2bbc13[_0x3af8d2(0x223)];}else _0x10cb4c=_0x5632aa,_0x3729c1=[];let _0x1fb672=this['_pendingMutations'];_0x10cb4c[_0x3af8d2(0x276)](_0x429f18=>{var _0x98fe9d=_0x3af8d2;let _0x46c67c;if(_0x1fb672['length']){const _0x51d829=this[_0x98fe9d(0x1dc)][_0x98fe9d(0x2a7)](_0x429f18,_0x1fb672);if(!_0x3329e6(_0x51d829))throw _0x51d829[_0x98fe9d(0x37c)];_0x46c67c=_0x51d829[_0x98fe9d(0x18d)],_0x1fb672=_0x51d829[_0x98fe9d(0x2f3)];}else _0x46c67c=_0x429f18;this[_0x98fe9d(0x1cc)](_0x46c67c);}),this[_0x3af8d2(0x199)]&&this['_incrementRevisionNumber'](),this[_0x3af8d2(0x260)]&&_0x3729c1[_0x3af8d2(0x3c7)]&&(_0x3729c1[0x0]['baseRev']=this[_0x3af8d2(0x32a)]());let _0x223bfc;if(this['_awaitingChangeset']&&_0x1fb672[_0x3af8d2(0x3c7)]!==0x0)_0x223bfc=this[_0x3af8d2(0x1f2)][_0x3af8d2(0x211)](ae,this[_0x3af8d2(0x315)],this[_0x3af8d2(0x15c)],_0x3729c1[0x0],_0x1fb672,this[_0x3af8d2(0x3b5)],void 0x0);else{if(this[_0x3af8d2(0x260)]&&_0x1fb672['length']===0x0)_0x3729c1[0x0][_0x3af8d2(0x106)]=this[_0x3af8d2(0x32a)](),_0x223bfc=this[_0x3af8d2(0x1f2)][_0x3af8d2(0x211)](ue,this[_0x3af8d2(0x315)],this[_0x3af8d2(0x15c)],_0x3729c1[0x0],this[_0x3af8d2(0x3b5)]);else{if(_0x1fb672[_0x3af8d2(0x3c7)]!==0x0){const _0x12bb9f=this[_0x3af8d2(0x1f2)][_0x3af8d2(0x211)](oe,this[_0x3af8d2(0x315)],this[_0x3af8d2(0x15c)],_0x1fb672,this[_0x3af8d2(0x3b5)]);_0x12bb9f['_schedule'](),_0x223bfc=_0x12bb9f;}else _0x223bfc=this[_0x3af8d2(0x1f2)][_0x3af8d2(0x211)](De,this[_0x3af8d2(0x315)],this[_0x3af8d2(0x15c)],this[_0x3af8d2(0x3b5)]);}}return _0x223bfc[_0x3af8d2(0x210)](),_0x223bfc;}catch(_0x6cadb7){return this[_0x3af8d2(0x2c9)]['error'](_0x3af8d2(0x3c0),_0x3af8d2(0x19b),_0x6cadb7),this[_0x3af8d2(0x1f2)][_0x3af8d2(0x211)](de,this[_0x3af8d2(0x315)],this[_0x3af8d2(0x15c)],this[_0x3af8d2(0x260)],this[_0x3af8d2(0x3ac)],this[_0x3af8d2(0x3b5)],!0x1);}}[_0x4ed5f2(0x110)](){var _0x2e37b8=_0x4ed5f2;throw new Error(_0x2e37b8(0x301));}[_0x4ed5f2(0x230)](_0x5cabf3){var _0x40b9ca=_0x4ed5f2;return this[_0x40b9ca(0x3ac)]['push'](_0x5cabf3),this;}[_0x4ed5f2(0x2df)](_0x51563d){var _0x4c16ff=_0x4ed5f2;return this[_0x4c16ff(0x2d5)][_0x4c16ff(0x1f3)](_0x51563d),this;}[_0x4ed5f2(0x191)](_0x2bd4c8){var _0x41621f=_0x4ed5f2;if(this[_0x41621f(0x260)])return this[_0x41621f(0x199)]=this['_awaitingChangeset'],this[_0x41621f(0x260)]=null,this;throw new Error(_0x41621f(0x13c));}[_0x4ed5f2(0x16e)](_0x216766){var _0x14c8f6=_0x4ed5f2;return this[_0x14c8f6(0x33b)](!!(_0x216766!=null&&_0x216766[_0x14c8f6(0x1d0)]));}['onRemoteRetry'](){return this;}[_0x4ed5f2(0x38e)](){var _0x4fdde9=_0x4ed5f2;return this['_injector']['createInstance'](fe,this['unitID'],this[_0x4fdde9(0x15c)],this[_0x4fdde9(0x260)],this[_0x4fdde9(0x3ac)],this['_handler']);}[_0x4ed5f2(0x3ca)](){return this;}[_0x4ed5f2(0x33b)](_0x4b58ad){var _0xb954f2=_0x4ed5f2;return this[_0xb954f2(0x1f2)][_0xb954f2(0x211)](de,this[_0xb954f2(0x315)],this[_0xb954f2(0x15c)],this[_0xb954f2(0x260)],this[_0xb954f2(0x3ac)],this['_handler'],_0x4b58ad);}};te=Re([A(0x7,_0x2e68e5(_0x39e407)),A(0x8,_0x2e68e5(_0x205ba3)),A(0x9,_0x188ee),A(0xa,_0x20399a),A(0xb,_0x792b04),A(0xc,_0x2d59c1),A(0xd,_0x4396dd(J))],te);function Di(_0x3a648b,_0x3f52e2,_0x5b716b,_0x16cb4e,_0x2672ba,_0x5d2980){var _0x5ecf8c=_0x4ed5f2;return _0x16cb4e&&_0x2672ba[_0x5ecf8c(0x3c7)]?_0x3a648b['createInstance'](ae,_0x3f52e2,_0x5b716b,_0x16cb4e,_0x2672ba,_0x5d2980,void 0x0):_0x16cb4e?_0x3a648b[_0x5ecf8c(0x211)](ue,_0x3f52e2,_0x5b716b,_0x16cb4e,_0x5d2980):_0x2672ba['length']?_0x3a648b['createInstance'](oe,_0x3f52e2,_0x5b716b,_0x2672ba,_0x5d2980):_0x3a648b[_0x5ecf8c(0x211)](De,_0x3f52e2,_0x5b716b,_0x5d2980);}var vr=Object[_0x4ed5f2(0x1f4)],pr=Object[_0x4ed5f2(0x3d9)],Lt=(_0x13c2c3,_0x258c3e,_0x91e75f,_0x12d59e)=>{var _0x53a252=_0x4ed5f2;for(var _0x1b0b48=_0x12d59e>0x1?void 0x0:_0x12d59e?pr(_0x258c3e,_0x91e75f):_0x258c3e,_0x50e2b1=_0x13c2c3[_0x53a252(0x3c7)]-0x1,_0x40d115;_0x50e2b1>=0x0;_0x50e2b1--)(_0x40d115=_0x13c2c3[_0x50e2b1])&&(_0x1b0b48=(_0x12d59e?_0x40d115(_0x258c3e,_0x91e75f,_0x1b0b48):_0x40d115(_0x1b0b48))||_0x1b0b48);return _0x12d59e&&_0x1b0b48&&vr(_0x258c3e,_0x91e75f,_0x1b0b48),_0x1b0b48;},k=(_0x1cb8f1,_0x38a09e)=>(_0x452ecc,_0xa0abf8)=>_0x38a09e(_0x452ecc,_0xa0abf8,_0x1cb8f1);let nt=class extends _0x5843ad{constructor(_0x23d908,_0x1bbb67,_0x268d33,_0x4655a7,_0x5ebc9f,_0x2ea619,_0x41d950,_0x403935,_0x13b6d5,_0x197bbc,_0x388100,_0x17819f,_0x1beef){var _0x3e4d02=_0x4ed5f2;super(),N(this,_0x3e4d02(0x135),new _0x427afa(null)),N(this,_0x3e4d02(0x197),this[_0x3e4d02(0x135)][_0x3e4d02(0x21b)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x3e4d02(0x2e5),''),N(this,'_changesetReqId',0x0),N(this,'status$',this[_0x3e4d02(0x197)][_0x3e4d02(0x206)](_0x356ab4(_0x5288e9=>_0x5288e9?_0x5288e9[_0x3e4d02(0x13a)]:yi[_0x3e4d02(0x37d)]),_0x37e875(0x1))),N(this,_0x3e4d02(0x3bb),!0x1),N(this,_0x3e4d02(0x32f),[]),(this['unitID']=_0x23d908,this[_0x3e4d02(0x318)]=_0x1bbb67,this['_type']=_0x268d33,this['_injector']=_0x4655a7,this['_compressMutationService']=_0x5ebc9f,this[_0x3e4d02(0x2ff)]=_0x2ea619,this['_revisionService']=_0x41d950,this['_eventService']=_0x403935,this['_logService']=_0x13b6d5,this[_0x3e4d02(0x24a)]=_0x197bbc,this[_0x3e4d02(0x362)]=_0x388100,this[_0x3e4d02(0x3a2)]=_0x17819f,this[_0x3e4d02(0x1be)]=_0x1beef);}get[_0x4ed5f2(0x176)](){return this['_state'];}async[_0x4ed5f2(0x140)](){var _0x4a32f5=_0x4ed5f2;if(this['state'])throw new Error(_0x4a32f5(0x2b9));await this[_0x4a32f5(0x38d)]();}[_0x4ed5f2(0x290)](){var _0x1a0950=_0x4ed5f2;return this[_0x1a0950(0x105)]=!0x0,_0x1d319d(()=>{var _0xb8da52=_0x1a0950;this[_0xb8da52(0x105)]=!0x1,this[_0xb8da52(0x341)]();});}[_0x4ed5f2(0x29f)](_0x6c0711){var _0x16dee3=_0x4ed5f2;this[_0x16dee3(0xfb)](_0x6c0711);}[_0x4ed5f2(0x383)](_0x56dce2){var _0x12c3dc=_0x4ed5f2;this['_state']=_0x56dce2,this[_0x12c3dc(0x135)][_0x12c3dc(0x26f)](_0x56dce2);}async[_0x4ed5f2(0x38d)](){var _0x127b15=_0x4ed5f2,_0x54b7fc;this[_0x127b15(0x383)](await this['_createInitialState']()),this[_0x127b15(0x3a2)]&&((_0x54b7fc=this[_0x127b15(0x3a2)])==null||_0x54b7fc['editingUnit'](this[_0x127b15(0x315)]),this['disposeWithMe'](this[_0x127b15(0x3a2)][_0x127b15(0x17e)](this[_0x127b15(0x315)])[_0x127b15(0x278)](_0x15a6ad=>{var _0xcb8b5a=_0x127b15;this[_0xcb8b5a(0x2c9)][_0xcb8b5a(0x384)](_0xcb8b5a(0x2e6),_0xcb8b5a(0x17a),_0x15a6ad),_0x15a6ad===bi[_0xcb8b5a(0x1c5)]?(this[_0xcb8b5a(0x1dd)][_0xcb8b5a(0x280)]({'id':se[_0xcb8b5a(0x269)]}),this[_0xcb8b5a(0x362)][_0xcb8b5a(0x29e)](new _0x216657(this['unitID'])['id'],!0x1),this[_0xcb8b5a(0x362)]['setShowComponents'](!0x1)):(this[_0xcb8b5a(0x362)][_0xcb8b5a(0x29e)](new _0x216657(this[_0xcb8b5a(0x315)])['id'],!0x0),this[_0xcb8b5a(0x362)][_0xcb8b5a(0x1d6)](!0x0));})));let _0x4b72d1=!0x1;return this[_0x127b15(0x3b7)](this[_0x127b15(0x318)][_0x127b15(0x25c)]['subscribe'](_0xbbda57=>{var _0x2ab2fb=_0x127b15;_0xbbda57===Te[_0x2ab2fb(0x36d)]?this['_toggleOnline'](_0x4b72d1):_0xbbda57===Te['OFFLINE']&&(_0x4b72d1=!0x0,this['_toggleOffline']());})),this[_0x127b15(0x3b7)](this[_0x127b15(0x318)][_0x127b15(0x11e)][_0x127b15(0x278)](_0x2ccce1=>{var _0x553a1f=_0x127b15;try{switch(_0x2ccce1['eventID']){case _0x3973af['NEW_CHANGESETS']:{this[_0x553a1f(0x35d)](_0x3ff866(_0x2ccce1[_0x553a1f(0xf6)]));break;}case _0x3973af[_0x553a1f(0x226)]:{this['_onRemoteACK'](_0x2ccce1[_0x553a1f(0xf6)]);break;}case _0x3973af[_0x553a1f(0x25e)]:{this[_0x553a1f(0x2cb)]();break;}case _0x3973af[_0x553a1f(0x302)]:{this[_0x553a1f(0x375)](_0x2ccce1[_0x553a1f(0xf6)]);break;}case _0x3973af[_0x553a1f(0x364)]:{this[_0x553a1f(0x13d)](_0x2ccce1[_0x553a1f(0xf6)]['changesets'][_0x553a1f(0x12b)](_0x1dd2c8=>_0x3ff866(_0x1dd2c8)));break;}case _0x3973af['PERMISSION_REJ']:{this[_0x553a1f(0x2cb)]({'isPermissionRej':!0x0});break;}case _0x3973af['UNISCRIPT_RUN']:break;}}catch(_0x340576){throw console['error']('Error\x20on\x20receiving\x20event',_0x340576),_0x340576;}})),this[_0x127b15(0x28d)];}[_0x4ed5f2(0x20d)](){this['_transitionLocked']=!0x1;}[_0x4ed5f2(0x31c)](){var _0x44606a=_0x4ed5f2;if(this[_0x44606a(0x3bb)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x44606a(0x3bb)]=!0x0;}[_0x4ed5f2(0xfb)](_0x58b235){var _0x16637f=_0x4ed5f2;this['_lockTransition'](),this['_updateState'](this[_0x16637f(0x28d)][_0x16637f(0x230)](_0x58b235)),this[_0x16637f(0x20d)]();}['_onRemoteChangeset'](_0x51d7c4){var _0x2624ad=_0x4ed5f2;if(!(_0x51d7c4['revision']<=this[_0x2624ad(0x298)][_0x2624ad(0x319)](this[_0x2624ad(0x315)]))){if(this[_0x2624ad(0x105)]){this[_0x2624ad(0x32f)][_0x2624ad(0x1f3)](_0x51d7c4);return;}this[_0x2624ad(0x312)](_0x51d7c4);}}[_0x4ed5f2(0x341)](){var _0x379075=_0x4ed5f2;this[_0x379075(0x32f)][_0x379075(0x276)](_0x1d5720=>this[_0x379075(0x312)](_0x1d5720)),this[_0x379075(0x32f)]=[];}['_applyRemoteChangeset'](_0x41243d){var _0x5a4358=_0x4ed5f2;const _0x45df55=this[_0x5a4358(0x1d4)][_0x5a4358(0x38b)][_0x5a4358(0x26c)](this[_0x5a4358(0x1d4)][_0x5a4358(0x38b)][_0x5a4358(0x2d3)]()[_0x5a4358(0x168)])(_0x41243d[_0x5a4358(0x30d)],null)||_0x41243d[_0x5a4358(0x30d)],_0x39a1f4={..._0x41243d,'mutations':_0x45df55};this[_0x5a4358(0x31c)](),this[_0x5a4358(0x383)](this['_state'][_0x5a4358(0x2df)](_0x39a1f4)),this[_0x5a4358(0x20d)]();}[_0x4ed5f2(0x129)](_0x4c5f17){var _0x53cf2e=_0x4ed5f2;this[_0x53cf2e(0x31c)](),this[_0x53cf2e(0x383)](this[_0x53cf2e(0x28d)]['onRemoteAck'](_0x4c5f17)),this[_0x53cf2e(0x20d)]();}[_0x4ed5f2(0x2cb)](_0x4ebece){var _0x5bd8d2=_0x4ed5f2;this[_0x5bd8d2(0x31c)](),this[_0x5bd8d2(0x383)](this['_state'][_0x5bd8d2(0x16e)](_0x4ebece)),this[_0x5bd8d2(0x20d)]();}['_onRemoteRetry'](_0x534aa9){var _0x58ac47=_0x4ed5f2;this[_0x58ac47(0x31c)](),this['_updateState'](this[_0x58ac47(0x28d)][_0x58ac47(0x307)](_0x534aa9)),this[_0x58ac47(0x20d)]();}[_0x4ed5f2(0x13d)](_0x216d61){var _0x54e38b=_0x4ed5f2;if(!(this[_0x54e38b(0x28d)]instanceof te))throw new TypeError(_0x54e38b(0x151));const _0x5f5745=_0x216d61['map'](_0x21ed25=>{var _0x3225a5=_0x54e38b;const _0x3132d6=this['_compressMutationService'][_0x3225a5(0x38b)][_0x3225a5(0x26c)](this[_0x3225a5(0x1d4)][_0x3225a5(0x38b)][_0x3225a5(0x2d3)]()[_0x3225a5(0x168)])(_0x21ed25[_0x3225a5(0x30d)],null)||_0x21ed25[_0x3225a5(0x30d)];return{..._0x21ed25,'mutations':_0x3132d6};});this[_0x54e38b(0x31c)](),this[_0x54e38b(0x383)](this[_0x54e38b(0x28d)][_0x54e38b(0x39c)](_0x5f5745)),this['_unlockTransition']();}[_0x4ed5f2(0x3a5)](){var _0x3c266d=_0x4ed5f2;this[_0x3c266d(0x31c)](),this[_0x3c266d(0x383)](this['_state'][_0x3c266d(0x38e)]()),this[_0x3c266d(0x20d)]();}[_0x4ed5f2(0x154)](_0xe7d419=!0x1){var _0x3efd2e=_0x4ed5f2;this['_lockTransition'](),this[_0x3efd2e(0x383)](this[_0x3efd2e(0x28d)]['toggleOnline']()),this['_unlockTransition']();const _0x20a230=this[_0x3efd2e(0x28d)];_0xe7d419&&_0x20a230 instanceof De&&(this[_0x3efd2e(0x31c)](),this[_0x3efd2e(0x383)](_0x20a230[_0x3efd2e(0x2ef)]()),this[_0x3efd2e(0x20d)]());}async['_createInitialState'](){return new Promise(_0x475028=>{var _0x2e1b07=_0x3a29;this['session']['sessionStatus$'][_0x2e1b07(0x206)](_0x4c63b7(0x1))['subscribe'](async _0x1bec1f=>{var _0x362360=_0x2e1b07;_0x475028(await this[_0x362360(0xfa)](_0x1bec1f===Te[_0x362360(0x36d)]));});});}[_0x4ed5f2(0x114)](){var _0x312c42=_0x4ed5f2;const _0x1de744=this[_0x312c42(0x315)];return{'onStateChange':(_0x5e5729,_0x13e614)=>{var _0x2f3444=_0x312c42;if(_0x5e5729!==this[_0x2f3444(0x28d)])throw new Error(_0x2f3444(0x3db)+_0x5e5729['status']+_0x2f3444(0x22f)+_0x13e614[_0x2f3444(0x13a)]+'\x0aCurrent:\x20'+this[_0x2f3444(0x28d)]['status']);this[_0x2f3444(0x383)](_0x13e614);},'onSendChangeset':_0x5cf00c=>{var _0x11c43d=_0x312c42;_0x5cf00c[_0x11c43d(0x2b6)]||(_0x5cf00c[_0x11c43d(0x2b6)]=this[_0x11c43d(0x2e5)],_0x5cf00c[_0x11c43d(0x128)]=++this[_0x11c43d(0x251)]);const _0x419b8f={'eventID':_0x3973af['SUBMIT_CHANGESET'],'data':{'unitID':_0x5cf00c['unitID'],'unitType':this[_0x11c43d(0x2fa)],'changeset':_0x5cf00c,'memberID':this['session'][_0x11c43d(0x1ce)]()}};this[_0x11c43d(0x318)][_0x11c43d(0x126)](_0x419b8f,this[_0x11c43d(0x315)]);},'onMissingChangesets':({from:_0x1bfac3,to:_0xf3fa10})=>{var _0x29a2e9=_0x312c42;this[_0x29a2e9(0x2c9)]['debug'](_0x29a2e9(0x2e6),_0x29a2e9(0x2f7)+_0x1bfac3+_0x29a2e9(0x172)+_0xf3fa10);const _0x33aebd={'eventID':_0x3973af[_0x29a2e9(0x148)],'data':{'unitID':_0x1de744,'unitType':this[_0x29a2e9(0x2fa)],'from':_0x1bfac3,'to':_0xf3fa10}};this[_0x29a2e9(0x318)]['send'](_0x33aebd,this['unitID']);}};}async[_0x4ed5f2(0xfa)](_0x1c35d8){var _0x3b5f77=_0x4ed5f2,_0x24a5dc,_0xb043d9,_0x27e437;const _0x42a81d=await((_0x24a5dc=this[_0x3b5f77(0x1be)])==null?void 0x0:_0x24a5dc[_0x3b5f77(0x1f6)](this[_0x3b5f77(0x315)])),_0x1bacc9=(_0xb043d9=_0x42a81d==null?void 0x0:_0x42a81d['mutations'])!=null?_0xb043d9:[],_0x427964=(_0x27e437=_0x42a81d==null?void 0x0:_0x42a81d[_0x3b5f77(0x202)])!=null?_0x27e437:null,_0x38d543=!!(_0x427964!=null&&_0x427964[_0x3b5f77(0x2b6)])&&!!(_0x427964!=null&&_0x427964['reqId']);this['_changesetSessionId']=_0x38d543?_0x427964['sid']:sr(),this['_changesetReqId']=_0x38d543?_0x427964[_0x3b5f77(0x128)]:0x0;const _0x9f616f=this[_0x3b5f77(0x315)];try{this[_0x3b5f77(0x3cd)](_0x427964,_0x1bacc9);}catch(_0x1d0c9e){this['_logService'][_0x3b5f77(0x37c)](_0x1d0c9e);}const _0x237a16=this[_0x3b5f77(0x114)]();if(_0x1c35d8){const _0x248231=Di(this[_0x3b5f77(0x1f2)],_0x9f616f,this[_0x3b5f77(0x2fa)],_0x427964,_0x1bacc9,_0x237a16);return _0x248231 instanceof oe?_0x248231['_schedule']():(_0x248231 instanceof ae||_0x248231 instanceof ue)&&_0x248231[_0x3b5f77(0x110)](),_0x248231;}return this[_0x3b5f77(0x1f2)][_0x3b5f77(0x211)](fe,_0x9f616f,this['_type'],_0x427964,_0x1bacc9,_0x237a16);}[_0x4ed5f2(0x3cd)](_0x211573,_0x220dd8){var _0x168829=_0x4ed5f2,_0x431e00,_0x1c351f;const _0x1e8b33=this[_0x168829(0x1d4)][_0x168829(0x38b)][_0x168829(0x26c)](this[_0x168829(0x1d4)][_0x168829(0x38b)][_0x168829(0x2d3)]()['COMPRESS_MUTATION_APPLY']);(_0x431e00=_0x1e8b33((_0x211573==null?void 0x0:_0x211573['mutations'])||[],null))==null||_0x431e00[_0x168829(0x276)](_0x4c35ae=>this[_0x168829(0x24a)][_0x168829(0xf2)](_0x4c35ae['id'],_0x4c35ae[_0x168829(0x31b)])),(_0x1c351f=_0x1e8b33(_0x220dd8||[],null))==null||_0x1c351f[_0x168829(0x276)](_0x2127e0=>this[_0x168829(0x24a)][_0x168829(0xf2)](_0x2127e0['id'],_0x2127e0[_0x168829(0x31b)]));}};nt=Lt([k(0x3,_0x2e68e5(_0x39e407)),k(0x4,_0x2e68e5(_0x2b89da)),k(0x5,_0x2e68e5(_0x427944)),k(0x6,_0x2e68e5(_0x205ba3)),k(0x7,_0x2e68e5(pe)),k(0x8,_0x188ee),k(0x9,_0x20399a),k(0xa,_0x1d089a),k(0xb,_0x4396dd(ht)),k(0xc,_0x4396dd(J))],nt);let Tt=class extends nt{constructor(_0x4642f5,_0x5f24a8,_0x4f1465,_0x586404,_0x2ffcd1,_0x43b6f9,_0x54cabf,_0x11b2a9,_0x1351b5,_0x594d57,_0x24caab,_0xecfef1,_0x17fcc9){var _0x321175=_0x4ed5f2;super(_0x4642f5,_0x4f1465,_0x5f24a8,_0x586404,_0x2ffcd1,_0x43b6f9,_0x54cabf,_0x11b2a9,_0x1351b5,_0x594d57,_0x24caab,_0xecfef1,_0x17fcc9),N(this,'_handlerCallback',null),(this['unitID']=_0x4642f5,this[_0x321175(0x15c)]=_0x5f24a8);}[_0x4ed5f2(0x385)](_0x32784a){var _0x376e4b=_0x4ed5f2;this[_0x376e4b(0x189)]=_0x32784a;}[_0x4ed5f2(0x1b9)](){var _0x4fe5f4=_0x4ed5f2;this[_0x4fe5f4(0x189)]=null,super[_0x4fe5f4(0x1b9)]();}[_0x4ed5f2(0x114)](){var _0xdab3d6=_0x4ed5f2;const _0x19bcd7=super[_0xdab3d6(0x114)]();return _0x19bcd7[_0xdab3d6(0xf4)]=_0x4d3bb7=>{var _0xf90f3c=_0xdab3d6,_0x2db8ec,_0x11682b;return(_0x11682b=(_0x2db8ec=this[_0xf90f3c(0x189)])==null?void 0x0:_0x2db8ec[_0xf90f3c(0xf4)])==null?void 0x0:_0x11682b[_0xf90f3c(0x2fb)](_0x2db8ec,_0x4d3bb7);},_0x19bcd7[_0xdab3d6(0x2f4)]=_0x48852f=>{var _0x3cc4df=_0xdab3d6,_0x240a5d,_0x11321d;return(_0x11321d=(_0x240a5d=this[_0x3cc4df(0x189)])==null?void 0x0:_0x240a5d[_0x3cc4df(0x2f4)])==null?void 0x0:_0x11321d[_0x3cc4df(0x2fb)](_0x240a5d,_0x48852f);},_0x19bcd7[_0xdab3d6(0x376)]=_0x167acc=>{var _0x3345bd=_0xdab3d6,_0x43ef14,_0x1d71c2;return(_0x1d71c2=(_0x43ef14=this[_0x3345bd(0x189)])==null?void 0x0:_0x43ef14[_0x3345bd(0x376)])==null?void 0x0:_0x1d71c2['call'](_0x43ef14,_0x167acc);},_0x19bcd7[_0xdab3d6(0x188)]=_0x56f2fc=>{var _0x58eb2e=_0xdab3d6,_0x2a6dd2,_0x444d52;return(_0x444d52=(_0x2a6dd2=this[_0x58eb2e(0x189)])==null?void 0x0:_0x2a6dd2[_0x58eb2e(0x188)])==null?void 0x0:_0x444d52['call'](_0x2a6dd2,_0x56f2fc);},_0x19bcd7[_0xdab3d6(0x380)]=_0x551e7a=>{var _0x4202cf=_0xdab3d6,_0x1f2007,_0x5458c2,_0x114121;if(!((_0x1f2007=this[_0x4202cf(0x189)])!=null&&_0x1f2007[_0x4202cf(0x380)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x114121=(_0x5458c2=this[_0x4202cf(0x189)])==null?void 0x0:_0x5458c2[_0x4202cf(0x380)])==null?void 0x0:_0x114121[_0x4202cf(0x2fb)](_0x5458c2,_0x551e7a);},_0x19bcd7[_0xdab3d6(0x309)]=_0x252c1f=>{var _0x4768a3=_0xdab3d6,_0x2f7e81,_0x53f69e,_0x27e560;if(!((_0x2f7e81=this[_0x4768a3(0x189)])!=null&&_0x2f7e81[_0x4768a3(0x309)]))throw new Error(_0x4768a3(0x388));return(_0x27e560=(_0x53f69e=this[_0x4768a3(0x189)])==null?void 0x0:_0x53f69e[_0x4768a3(0x309)])==null?void 0x0:_0x27e560[_0x4768a3(0x2fb)](_0x53f69e,_0x252c1f);},_0x19bcd7;}async['_init'](){var _0xcfad23=_0x4ed5f2;const _0x2e3b8e=await super[_0xcfad23(0x38d)]();return this[_0xcfad23(0x3b7)](this['_commandService'][_0xcfad23(0x10b)]((_0x4a6ba8,_0x5931d3)=>{var _0x338a2a=_0xcfad23;if(_0x4a6ba8[_0x338a2a(0x15c)]!==_0x3d6340['MUTATION']||_0x5931d3!=null&&_0x5931d3[_0x338a2a(0x1bb)]||_0x5931d3!=null&&_0x5931d3[_0x338a2a(0x101)]||_0x4a6ba8['id']===_0x55dd13['id'])return;const _0x2dd252=_0x4a6ba8[_0x338a2a(0x31b)];if((_0x2dd252==null?void 0x0:_0x2dd252['unitId'])!==this[_0x338a2a(0x315)])return;const _0x4ef13e=_0x4a6ba8,_0xf1b294=this['_compressMutationService'][_0x338a2a(0x38b)][_0x338a2a(0x26c)](this[_0x338a2a(0x1d4)][_0x338a2a(0x38b)][_0x338a2a(0x2d3)]()[_0x338a2a(0x3b6)])([_0x4ef13e],null)||[_0x4ef13e];this['_onLocalMutation'](_0xf1b294[0x0]);})),_0x2e3b8e;}};Tt=Lt([k(0x3,_0x2e68e5(_0x39e407)),k(0x4,_0x2e68e5(_0x2b89da)),k(0x5,_0x2e68e5(_0x427944)),k(0x6,_0x2e68e5(_0x205ba3)),k(0x7,_0x2e68e5(pe)),k(0x8,_0x188ee),k(0x9,_0x20399a),k(0xa,_0x1d089a),k(0xb,_0x4396dd(ht)),k(0xc,_0x4396dd(J))],Tt);let Ct=class extends nt{constructor(_0x57d99a,_0x259d43,_0x11e15a,_0x161059,_0x157f59,_0x3ea695,_0x170c6a,_0x3880f9,_0x584ef2,_0xfa79e7,_0x45a51d,_0x57a558,_0x1514d9,_0x83d960){var _0xc751b8=_0x4ed5f2;super(_0x57d99a,_0x11e15a,_0x259d43,_0x161059,_0x157f59,_0x3ea695,_0x170c6a,_0x584ef2,_0xfa79e7,_0x45a51d,_0x57a558,_0x1514d9,_0x83d960),this[_0xc751b8(0x315)]=_0x57d99a,this[_0xc751b8(0x15c)]=_0x259d43,this[_0xc751b8(0x10a)]=_0x3880f9;}[_0x4ed5f2(0x114)](){var _0x255843=_0x4ed5f2;const _0x12124d=super['_createHandler']();return _0x12124d[_0x255843(0x376)]=_0x3e52aa=>this[_0x255843(0x10a)]['transformSelections'](_0x3e52aa),_0x12124d;}async[_0x4ed5f2(0x38d)](){var _0x50a3c8=_0x4ed5f2;const _0xbb808f=await super[_0x50a3c8(0x38d)]();return this[_0x50a3c8(0x3b7)](this[_0x50a3c8(0x24a)]['onCommandExecuted']((_0x3e9808,_0x144346)=>{var _0x1d173d=_0x50a3c8;if(_0x3e9808[_0x1d173d(0x15c)]!==_0x3d6340['MUTATION']||_0x144346!=null&&_0x144346[_0x1d173d(0x1bb)]||_0x144346!=null&&_0x144346[_0x1d173d(0x101)])return;const _0x208080=_0x3e9808[_0x1d173d(0x31b)];if((_0x208080==null?void 0x0:_0x208080[_0x1d173d(0x2e0)])!==this[_0x1d173d(0x315)])return;const _0x37830a=_0x3e9808,_0x3e7d64=this[_0x1d173d(0x1d4)][_0x1d173d(0x38b)]['fetchThroughInterceptors'](this[_0x1d173d(0x1d4)][_0x1d173d(0x38b)][_0x1d173d(0x2d3)]()['COMPRESS_MUTATION_SEND'])([_0x37830a],null)||[_0x37830a];this['_onLocalMutation'](_0x3e7d64[0x0]);})),_0xbb808f;}};Ct=Lt([k(0x3,_0x2e68e5(_0x39e407)),k(0x4,_0x2e68e5(_0x2b89da)),k(0x5,_0x2e68e5(_0x427944)),k(0x6,_0x2e68e5(_0x205ba3)),k(0x7,_0x2e68e5(it)),k(0x8,_0x2e68e5(pe)),k(0x9,_0x188ee),k(0xa,_0x20399a),k(0xb,_0x1d089a),k(0xc,_0x4396dd(ht)),k(0xd,_0x4396dd(J))],Ct);var mr=Object[_0x4ed5f2(0x1f4)],gr=Object[_0x4ed5f2(0x3d9)],Sr=(_0x216ff6,_0x414c94,_0x1ce0f5,_0x1479cb)=>{var _0x12a0e4=_0x4ed5f2;for(var _0x4dbe04=_0x1479cb>0x1?void 0x0:_0x1479cb?gr(_0x414c94,_0x1ce0f5):_0x414c94,_0x11edc6=_0x216ff6[_0x12a0e4(0x3c7)]-0x1,_0x1da563;_0x11edc6>=0x0;_0x11edc6--)(_0x1da563=_0x216ff6[_0x11edc6])&&(_0x4dbe04=(_0x1479cb?_0x1da563(_0x414c94,_0x1ce0f5,_0x4dbe04):_0x1da563(_0x4dbe04))||_0x4dbe04);return _0x1479cb&&_0x4dbe04&&mr(_0x414c94,_0x1ce0f5,_0x4dbe04),_0x4dbe04;},ft=(_0x43496c,_0x3307e3)=>(_0x55d5cb,_0x52890a)=>_0x3307e3(_0x55d5cb,_0x52890a,_0x43496c);let rt=class extends _0x5843ad{constructor(_0x4b3dc1,_0x3b3410,_0x255c3a){var _0x17f265=_0x4ed5f2;super(),N(this,_0x17f265(0x3ce),new Map()),N(this,'_entityInit$',new _0x349398()),N(this,_0x17f265(0x22a),this[_0x17f265(0x3d5)][_0x17f265(0x21b)]()),(this[_0x17f265(0x1f2)]=_0x4b3dc1,this[_0x17f265(0x1db)]=_0x3b3410,this[_0x17f265(0x3a1)]=_0x255c3a,this[_0x17f265(0x38d)]());}[_0x4ed5f2(0x1b9)](){var _0x2b280d=_0x4ed5f2;super[_0x2b280d(0x1b9)](),this[_0x2b280d(0x3ce)][_0x2b280d(0x276)](_0x2d6185=>_0x2d6185[_0x2b280d(0x1b9)]()),this[_0x2b280d(0x3ce)][_0x2b280d(0x2e8)]();}[_0x4ed5f2(0x32d)](_0x1ca3fb){var _0x363861=_0x4ed5f2,_0x1076b4;return(_0x1076b4=this[_0x363861(0x3ce)][_0x363861(0x1fc)](_0x1ca3fb))!=null?_0x1076b4:null;}[_0x4ed5f2(0x37a)](_0x5eee42){var _0x3647be=_0x4ed5f2;const _0x3983ec=this[_0x3647be(0x32d)](_0x5eee42);return _0x3983ec?_0x163e28(_0x3983ec):this[_0x3647be(0x3d5)][_0x3647be(0x206)](_0x3ab440(_0x390874=>_0x390874['unitID']===_0x5eee42));}['readyForCollab'](_0x52a27e){var _0x3e80a5=_0x4ed5f2;return _0x41a1b1(this[_0x3e80a5(0x37a)](_0x52a27e)[_0x3e80a5(0x206)](_0x6df097(()=>{})));}['_init'](){var _0x3c7af2=_0x4ed5f2;this[_0x3c7af2(0x3a1)][_0x3c7af2(0x26e)](_0x1a3f81[_0x3c7af2(0x14c)])[_0x3c7af2(0x206)](_0x2af187(this[_0x3c7af2(0x2e1)]),_0x41117d(0x10))['subscribe'](async _0x37854d=>{var _0x451333=_0x3c7af2;const _0xac8c2b=_0x37854d[_0x451333(0x1aa)](),_0x62f00d=await this[_0x451333(0x1df)](_0xac8c2b,Q[_0x451333(0x14c)]);this[_0x451333(0x3ce)][_0x451333(0x311)](_0xac8c2b,_0x62f00d);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1a3f81[_0x3c7af2(0x243)])[_0x3c7af2(0x206)](_0x2af187(this[_0x3c7af2(0x2e1)]),_0x41117d(0x10))[_0x3c7af2(0x206)](_0x3ab440(_0x543ee4=>!_0x543ee4[_0x3c7af2(0x1aa)]()['startsWith']('__')))[_0x3c7af2(0x278)](async _0x464265=>{var _0x23f542=_0x3c7af2;const _0xfc1023=_0x464265[_0x23f542(0x1aa)](),_0x76414b=await this['_startCollaboration'](_0xfc1023,Q[_0x23f542(0x243)]);this['_entities'][_0x23f542(0x311)](_0xfc1023,_0x76414b);}),_0x3261e1(this[_0x3c7af2(0x3a1)][_0x3c7af2(0x2a4)](_0x1a3f81[_0x3c7af2(0x14c)]),this[_0x3c7af2(0x3a1)]['getTypeOfUnitDisposed$'](_0x1a3f81[_0x3c7af2(0x243)]))['pipe'](_0x2af187(this[_0x3c7af2(0x2e1)]))['subscribe'](_0x1e1abc=>{var _0x2ea247=_0x3c7af2;const _0x3f2e22=_0x1e1abc[_0x2ea247(0x1aa)](),_0x362855=this[_0x2ea247(0x3ce)][_0x2ea247(0x1fc)](_0x3f2e22);_0x362855&&(_0x362855[_0x2ea247(0x1b9)](),this['_entities'][_0x2ea247(0x1fb)](_0x3f2e22));});}async['_startCollaboration'](_0xe4587b,_0x4e64a2){var _0x54ec17=_0x4ed5f2;const _0x2c7c95=await this[_0x54ec17(0x1db)][_0x54ec17(0x1d2)](_0xe4587b),_0x30da23=this[_0x54ec17(0x1f2)][_0x54ec17(0x211)](this[_0x54ec17(0x23e)](_0x4e64a2),_0xe4587b,_0x4e64a2,_0x2c7c95);return await _0x30da23[_0x54ec17(0x140)](),this[_0x54ec17(0x3d5)][_0x54ec17(0x26f)](_0x30da23),_0x30da23;}[_0x4ed5f2(0x23e)](_0x32d0ae){var _0x12b2b1=_0x4ed5f2;switch(_0x32d0ae){case Q[_0x12b2b1(0x243)]:return Tt;case Q[_0x12b2b1(0x14c)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x32d0ae);}}};rt=Sr([ft(0x0,_0x2e68e5(_0x39e407)),ft(0x1,_0x2e68e5(Le)),ft(0x2,_0x567566)],rt);var Er=Object[_0x4ed5f2(0x1f4)],Ir=Object[_0x4ed5f2(0x3d9)],Tr=(_0x32ff9f,_0x16b0c1,_0x28e8cb,_0x115fab)=>{var _0x4e287c=_0x4ed5f2;for(var _0x435013=_0x115fab>0x1?void 0x0:_0x115fab?Ir(_0x16b0c1,_0x28e8cb):_0x16b0c1,_0x22bdcd=_0x32ff9f[_0x4e287c(0x3c7)]-0x1,_0x412236;_0x22bdcd>=0x0;_0x22bdcd--)(_0x412236=_0x32ff9f[_0x22bdcd])&&(_0x435013=(_0x115fab?_0x412236(_0x16b0c1,_0x28e8cb,_0x435013):_0x412236(_0x435013))||_0x435013);return _0x115fab&&_0x435013&&Er(_0x16b0c1,_0x28e8cb,_0x435013),_0x435013;},Jt=(_0x255753,_0x52a09d)=>(_0x56148f,_0x5c9aba)=>_0x52a09d(_0x56148f,_0x5c9aba,_0x255753);const Cr=_0x4ed5f2(0x3c4),Rr='Univer';let Rt=class extends _0x22c2fb{constructor(_0x55dcbc,_0x21ff97){var _0x4a8f31=_0x4ed5f2;super(),this['_univerInstanceService']=_0x55dcbc,this[_0x4a8f31(0x254)]=_0x21ff97,this[_0x4a8f31(0x38d)]();}[_0x4ed5f2(0x38d)](){var _0x251310=_0x4ed5f2;this[_0x251310(0x3b7)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x1206b3=_0x251310,_0x4490e9;const _0x21a1e0=this[_0x1206b3(0x3a1)][_0x1206b3(0xec)]();let _0x18134b=(_0x4490e9=this[_0x1206b3(0x254)][_0x1206b3(0x2ab)](Cr))!=null?_0x4490e9:Rr;_0x21a1e0 instanceof _0x4f6a29&&(_0x18134b=_0x21a1e0[_0x1206b3(0x291)]),document['title']=_0x18134b;}));}};Rt=Tr([Jt(0x0,_0x567566),Jt(0x1,_0x144724)],Rt);var br=Object[_0x4ed5f2(0x1f4)],Or=Object['getOwnPropertyDescriptor'],yr=(_0x21a3f2,_0x15ab6e,_0x449ccc,_0x4b6c0a)=>{var _0x250fa8=_0x4ed5f2;for(var _0x3b5f2e=_0x4b6c0a>0x1?void 0x0:_0x4b6c0a?Or(_0x15ab6e,_0x449ccc):_0x15ab6e,_0x1126c1=_0x21a3f2[_0x250fa8(0x3c7)]-0x1,_0x3e0f04;_0x1126c1>=0x0;_0x1126c1--)(_0x3e0f04=_0x21a3f2[_0x1126c1])&&(_0x3b5f2e=(_0x4b6c0a?_0x3e0f04(_0x15ab6e,_0x449ccc,_0x3b5f2e):_0x3e0f04(_0x3b5f2e))||_0x3b5f2e);return _0x4b6c0a&&_0x3b5f2e&&br(_0x15ab6e,_0x449ccc,_0x3b5f2e),_0x3b5f2e;},vt=(_0x5e3153,_0x1b31af)=>(_0x4a26e6,_0x6f7e30)=>_0x1b31af(_0x4a26e6,_0x6f7e30,_0x5e3153);let st=class{constructor(_0x2bb4ba,_0x2cc02d,_0x152cab){var _0x19138a=_0x4ed5f2;this['_configService']=_0x2bb4ba,this[_0x19138a(0x282)]=_0x2cc02d,this['localeService']=_0x152cab,this['init']();}[_0x4ed5f2(0x140)](){var _0x51cf5b=_0x4ed5f2;this['_httpService'][_0x51cf5b(0x3b1)]({'priority':0x1,'interceptor':(_0x2cdd33,_0x548005)=>_0x548005(_0x2cdd33)[_0x51cf5b(0x206)](_0x362fbd(async _0x506100=>{var _0x214c8d=_0x51cf5b;const _0x3a4a7a=_0x506100;if(_0x3a4a7a[_0x214c8d(0x13a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x214c8d(0x2ad)](this[_0x214c8d(0x1c2)]['t'](_0x214c8d(0x3da)))){const _0x568514=window[_0x214c8d(0x1d8)](window[_0x214c8d(0x2aa)][_0x214c8d(0x3dd)]);window[_0x214c8d(0x2aa)][_0x214c8d(0x3dd)]=this[_0x214c8d(0xfc)]()+_0x214c8d(0x16a)+_0x568514;}}return _0x3a4a7a;}))});}['_getLoginPath'](){var _0xbd1d8c=_0x4ed5f2,_0x396e4c,_0x7f3040;const _0x44742e=this['_configService']['getConfig'](xn),_0x325be2=this[_0xbd1d8c(0x254)][_0xbd1d8c(0x2ab)](q);return(_0x7f3040=(_0x396e4c=_0x325be2==null?void 0x0:_0x325be2['loginUrlKey'])!=null?_0x396e4c:_0x44742e)!=null?_0x7f3040:Ln;}};st=yr([vt(0x0,_0x144724),vt(0x1,_0x2e68e5(_0x5019fe)),vt(0x2,_0x2e68e5(_0x427944))],st);var Nr=Object[_0x4ed5f2(0x1f4)],Dr=Object[_0x4ed5f2(0x3d9)],Pr=(_0x4783c8,_0xd7773,_0xf21b67,_0x4a6f79)=>{var _0x5af5bf=_0x4ed5f2;for(var _0x498a88=_0x4a6f79>0x1?void 0x0:_0x4a6f79?Dr(_0xd7773,_0xf21b67):_0xd7773,_0xcd33de=_0x4783c8[_0x5af5bf(0x3c7)]-0x1,_0x1bb636;_0xcd33de>=0x0;_0xcd33de--)(_0x1bb636=_0x4783c8[_0xcd33de])&&(_0x498a88=(_0x4a6f79?_0x1bb636(_0xd7773,_0xf21b67,_0x498a88):_0x1bb636(_0x498a88))||_0x498a88);return _0x4a6f79&&_0x498a88&&Nr(_0xd7773,_0xf21b67,_0x498a88),_0x498a88;},Xt=(_0xece275,_0x4a6566)=>(_0x3e2f5f,_0x4d27d4)=>_0x4a6566(_0x3e2f5f,_0x4d27d4,_0xece275);const Pi=_0x4ed5f2(0x13b),wr='/universer-api/authz';let bt=class extends _0x22c2fb{constructor(_0x297b34,_0x2959f8){var _0x169655=_0x4ed5f2;super(),this[_0x169655(0x11f)]=_0x297b34,this[_0x169655(0x254)]=_0x2959f8,this['_initMergeInterceptor']();}[_0x4ed5f2(0x310)](){var _0x5900d4=_0x4ed5f2;const _0x2b847f=this;this[_0x5900d4(0x3b7)](this['_HTTPService'][_0x5900d4(0x3b1)]({'priority':0x3e7,'interceptor':_0x393398({'isMatch'(_0x5edbb6){var _0x32b2a1=_0x5900d4,_0xe14912;if(_0x5edbb6[_0x32b2a1(0x19a)]===_0x32b2a1(0x175)&&((_0xe14912=_0x5edbb6[_0x32b2a1(0x330)])!=null&&_0xe14912[_0x32b2a1(0x14f)])){const {objectID:_0x3a17c6,objectType:_0x239532}=_0x5edbb6[_0x32b2a1(0x330)][_0x32b2a1(0x14f)]||{};if(!_0x3a17c6||_0x239532===void 0x0)return!0x1;const _0x22f2fd=_0x2b847f['_getAPIPrefixPath']()+'/'+_0x239532+_0x32b2a1(0x17f)+_0x3a17c6+'/allowed';if(_0x5edbb6[_0x32b2a1(0x166)]===_0x22f2fd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4207dc){var _0x4c6148=_0x5900d4,_0x4588ae;return(_0x4588ae=_0x4207dc[_0x4c6148(0x330)])==null?void 0x0:_0x4588ae[_0x4c6148(0x14f)];},'mergeParamsToRequest'(_0xa2b875,_0x3b68ba){var _0x395206=_0x5900d4;const _0x5f5e02=_0x2b847f[_0x395206(0x1e5)]()+_0x395206(0x2d9),_0x10c544=_0xa2b875[_0x395206(0x103)]((_0x828390,_0x3d49e5)=>{var _0x3d6870=_0x395206;const {unitID:_0x5a467b,objectID:_0x4ab67f,objectType:_0x21b070,actions:_0x24a34b}=_0x3d49e5;return _0x828390[_0x5a467b]||(_0x828390[_0x5a467b]={}),_0x828390[_0x5a467b][_0x4ab67f]||(_0x828390[_0x5a467b][_0x4ab67f]={'objectID':_0x4ab67f,'objectType':_0x21b070,'actions':[]}),_0x828390[_0x5a467b][_0x4ab67f][_0x3d6870(0x143)][_0x3d6870(0x1f3)](..._0x24a34b),_0x828390;},{}),_0x48542d=[];for(const _0x450243 in _0x10c544)for(const _0x2c7b44 in _0x10c544[_0x450243]){const {actions:_0x36bd08,objectType:_0x1ebd18}=_0x10c544[_0x450243][_0x2c7b44],_0x5de621=[...new Set(_0x36bd08)];_0x48542d[_0x395206(0x1f3)]({'unitID':_0x450243,'objectID':_0x2c7b44,'objectType':_0x1ebd18,'actions':_0x5de621});}return new _0x359360(_0x395206(0x175),_0x5f5e02,{'headers':_0x3b68ba['headers'],'withCredentials':_0x3b68ba['withCredentials'],'responseType':_0x3b68ba[_0x395206(0x1c9)],'body':{'requests':_0x48542d}});}},{'distributeResult'(_0x425a6c,_0x47b6c2){const {objectActions:_0x45fc21}=_0x425a6c;return _0x47b6c2['map'](_0x2aa13b=>{var _0x2ab9c9=_0x3a29;const {unitID:_0x5e1d4e,objectID:_0xa3abb1,actions:_0x87d5d0}=_0x2aa13b,_0x77b059=_0x45fc21['find'](_0x2cd4ae=>_0x2cd4ae['unitID']===_0x5e1d4e&&_0x2cd4ae[_0x2ab9c9(0x1e1)]===_0xa3abb1),_0x2069d7=_0x87d5d0['map'](_0x339bbe=>_0x77b059==null?void 0x0:_0x77b059[_0x2ab9c9(0x143)][_0x2ab9c9(0x2eb)](_0x3cbcb9=>_0x3cbcb9[_0x2ab9c9(0x31a)]===_0x339bbe))[_0x2ab9c9(0x120)](_0x254699=>!!_0x254699);return{'config':_0x2aa13b,'result':{'actions':_0x2069d7,'error':_0x425a6c[_0x2ab9c9(0x37c)]}};});}})}));}[_0x4ed5f2(0x1e5)](){var _0x5787a7=_0x4ed5f2,_0x188ca0,_0xba9e29;const _0x3df35b=this[_0x5787a7(0x254)]['getConfig'](Pi),_0x2ae971=this['_configService'][_0x5787a7(0x2ab)](q);return(_0xba9e29=(_0x188ca0=_0x2ae971==null?void 0x0:_0x2ae971[_0x5787a7(0xf5)])!=null?_0x188ca0:_0x3df35b)!=null?_0xba9e29:wr;}async[_0x4ed5f2(0x300)](_0x529ac7){var _0x1288dc=_0x4ed5f2;const _0x49f28b=this[_0x1288dc(0x1e5)]()+'/'+_0x529ac7[_0x1288dc(0x235)]+_0x1288dc(0x170);return(await this['_HTTPService'][_0x1288dc(0x2b0)](_0x49f28b,{'body':_0x529ac7}))['body'][_0x1288dc(0x1e1)]||'';}async['list'](_0x2b3077){var _0x3117c4=_0x4ed5f2;const _0x36cc9a=this[_0x3117c4(0x1e5)]()+_0x3117c4(0x112);return(await this['_HTTPService'][_0x3117c4(0x2b0)](_0x36cc9a,{'body':_0x2b3077}))[_0x3117c4(0x14f)][_0x3117c4(0x34e)];}async[_0x4ed5f2(0x2f2)](_0x472dfc){var _0x58962e=_0x4ed5f2;const _0x27a9ff=this[_0x58962e(0x1e5)]()+'/'+_0x472dfc['objectType']+_0x58962e(0x17f)+_0x472dfc[_0x58962e(0x1e1)];await this[_0x58962e(0x11f)][_0x58962e(0x209)](_0x27a9ff,{'body':_0x472dfc});}async['allowed'](_0x3b7cf7){var _0x35b272=_0x4ed5f2;const _0x54909c=this[_0x35b272(0x1e5)]()+'/'+_0x3b7cf7[_0x35b272(0x235)]+_0x35b272(0x17f)+_0x3b7cf7['objectID']+'/allowed';return(await this['_HTTPService'][_0x35b272(0x2b0)](_0x54909c,{'body':_0x3b7cf7}))[_0x35b272(0x14f)][_0x35b272(0x143)];}async[_0x4ed5f2(0x252)](_0x247933){var _0x4dfe21=_0x4ed5f2;const _0x25ef60=this[_0x4dfe21(0x1e5)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x25ef60,{'body':{'requests':_0x247933}}))[_0x4dfe21(0x14f)][_0x4dfe21(0x271)];}async[_0x4ed5f2(0x368)](_0x2f7ded){var _0x17ab8a=_0x4ed5f2;const _0xe57666=this[_0x17ab8a(0x1e5)]()+'/'+_0x2f7ded[_0x17ab8a(0x235)]+_0x17ab8a(0x335),_0x31d27b=await this[_0x17ab8a(0x11f)][_0x17ab8a(0x2b0)](_0xe57666,{'body':_0x2f7ded});return{'roles':_0x31d27b[_0x17ab8a(0x14f)]['roles'],'actions':_0x31d27b['body'][_0x17ab8a(0x143)]};}async['deleteCollaborator'](_0x2e4362){var _0x3af87b=_0x4ed5f2;const _0xb01b00=this[_0x3af87b(0x1e5)]()+'/collaborator';await this[_0x3af87b(0x11f)][_0x3af87b(0x1fb)](_0xb01b00,{'params':{'collaboratorID':_0x2e4362[_0x3af87b(0x24f)],'objectID':_0x2e4362[_0x3af87b(0x1e1)],'unitID':_0x2e4362[_0x3af87b(0x315)]}});}async['updateCollaborator'](_0x290ed8){var _0x260755=_0x4ed5f2;const _0x1b0a54=this[_0x260755(0x1e5)]()+_0x260755(0x198);await this[_0x260755(0x11f)]['patch'](_0x1b0a54,{'body':_0x290ed8});}async[_0x4ed5f2(0x1b1)](_0x82a13){var _0x13aef3=_0x4ed5f2;const _0x38853e=this[_0x13aef3(0x1e5)]()+_0x13aef3(0x198);await this[_0x13aef3(0x11f)][_0x13aef3(0x2b0)](_0x38853e,{'body':_0x82a13});}async[_0x4ed5f2(0x195)](_0xbd4a68){var _0x5e7c1d=_0x4ed5f2;const _0x59bca9=this[_0x5e7c1d(0x1e5)]()+_0x5e7c1d(0x198);return(await this[_0x5e7c1d(0x11f)][_0x5e7c1d(0x1fc)](_0x59bca9,{'params':{'objectID':_0xbd4a68[_0x5e7c1d(0x1e1)],'unitID':_0xbd4a68['unitID']}}))['body'][_0x5e7c1d(0x292)];}async['putCollaborators'](_0x2d3acc){var _0x4a80c2=_0x4ed5f2;const _0x366f15=this[_0x4a80c2(0x1e5)]()+'/collaborator';await this['_HTTPService'][_0x4a80c2(0x209)](_0x366f15,{'body':_0x2d3acc});}};bt=Pr([Xt(0x0,_0x2e68e5(_0x5019fe)),Xt(0x1,_0x2e68e5(_0x144724))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x1673f9){var _0x200ed2=_0x4ed5f2;return _0x1673f9&&_0x1673f9[_0x200ed2(0x167)]&&Object[_0x200ed2(0x1c3)]['hasOwnProperty'][_0x200ed2(0x2fb)](_0x1673f9,_0x200ed2(0x3d8))?_0x1673f9['default']:_0x1673f9;}var Ve={'exports':{}};function Ur(_0xde6588){var _0x545eec=_0x4ed5f2;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0xde6588+_0x545eec(0x2a9));}var Ge={'exports':{}},Ar=Ge[_0x4ed5f2(0x268)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x1b8333,_0x5343b0){(function(_0x19bc6f,_0x5d0e50){_0x1b8333['exports']=_0x5d0e50();}(Ar,function(){var _0x436e3c=_0x436e3c||function(_0x41de44,_0x5912f5){var _0x5cc430=_0x3a29,_0x5332c3;if(typeof window<'u'&&window[_0x5cc430(0xf8)]&&(_0x5332c3=window[_0x5cc430(0xf8)]),typeof self<'u'&&self['crypto']&&(_0x5332c3=self[_0x5cc430(0xf8)]),typeof globalThis<'u'&&globalThis[_0x5cc430(0xf8)]&&(_0x5332c3=globalThis[_0x5cc430(0xf8)]),!_0x5332c3&&typeof window<'u'&&window[_0x5cc430(0x236)]&&(_0x5332c3=window['msCrypto']),!_0x5332c3&&typeof pt<'u'&&pt[_0x5cc430(0xf8)]&&(_0x5332c3=pt['crypto']),!_0x5332c3&&typeof Ur==_0x5cc430(0x28a))try{_0x5332c3=require(_0x5cc430(0xf8));}catch{}var _0x40c791=function(){var _0x1e93e2=_0x5cc430;if(_0x5332c3){if(typeof _0x5332c3[_0x1e93e2(0x1b6)]==_0x1e93e2(0x28a))try{return _0x5332c3[_0x1e93e2(0x1b6)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5332c3['randomBytes']==_0x1e93e2(0x28a))try{return _0x5332c3['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x57a3dd=Object[_0x5cc430(0x300)]||(function(){function _0x3e5454(){}return function(_0x14d114){var _0x2d04a1=_0x3a29,_0x221bf3;return _0x3e5454[_0x2d04a1(0x1c3)]=_0x14d114,_0x221bf3=new _0x3e5454(),_0x3e5454['prototype']=null,_0x221bf3;};}()),_0x14887f={},_0x5507ef=_0x14887f[_0x5cc430(0x2d0)]={},_0x43e4ce=_0x5507ef['Base']=(function(){return{'extend':function(_0x18f488){var _0x3661fe=_0x3a29,_0x4f21e2=_0x57a3dd(this);return _0x18f488&&_0x4f21e2[_0x3661fe(0x32b)](_0x18f488),(!_0x4f21e2['hasOwnProperty'](_0x3661fe(0x140))||this['init']===_0x4f21e2[_0x3661fe(0x140)])&&(_0x4f21e2[_0x3661fe(0x140)]=function(){var _0x530d97=_0x3661fe;_0x4f21e2[_0x530d97(0x246)][_0x530d97(0x140)]['apply'](this,arguments);}),_0x4f21e2[_0x3661fe(0x140)]['prototype']=_0x4f21e2,_0x4f21e2[_0x3661fe(0x246)]=this,_0x4f21e2;},'create':function(){var _0x42cf5e=_0x3a29,_0x436930=this[_0x42cf5e(0x184)]();return _0x436930['init'][_0x42cf5e(0x34c)](_0x436930,arguments),_0x436930;},'init':function(){},'mixIn':function(_0x22d574){var _0x328f1d=_0x3a29;for(var _0x24aba1 in _0x22d574)_0x22d574[_0x328f1d(0x1e0)](_0x24aba1)&&(this[_0x24aba1]=_0x22d574[_0x24aba1]);_0x22d574[_0x328f1d(0x1e0)](_0x328f1d(0x37e))&&(this['toString']=_0x22d574['toString']);},'clone':function(){var _0x44927f=_0x3a29;return this[_0x44927f(0x140)][_0x44927f(0x1c3)][_0x44927f(0x184)](this);}};}()),_0x5e968f=_0x5507ef[_0x5cc430(0x102)]=_0x43e4ce[_0x5cc430(0x184)]({'init':function(_0x4a1924,_0x5e187d){var _0x47aa30=_0x5cc430;_0x4a1924=this[_0x47aa30(0x344)]=_0x4a1924||[],_0x5e187d!=_0x5912f5?this[_0x47aa30(0xf0)]=_0x5e187d:this[_0x47aa30(0xf0)]=_0x4a1924[_0x47aa30(0x3c7)]*0x4;},'toString':function(_0x398db0){return(_0x398db0||_0x5f2b6c)['stringify'](this);},'concat':function(_0x2372e5){var _0x31e774=_0x5cc430,_0xf393c6=this['words'],_0x2b6bed=_0x2372e5[_0x31e774(0x344)],_0x48732f=this[_0x31e774(0xf0)],_0x5d0324=_0x2372e5[_0x31e774(0xf0)];if(this[_0x31e774(0x1b7)](),_0x48732f%0x4)for(var _0x954733=0x0;_0x954733<_0x5d0324;_0x954733++){var _0x193322=_0x2b6bed[_0x954733>>>0x2]>>>0x18-_0x954733%0x4*0x8&0xff;_0xf393c6[_0x48732f+_0x954733>>>0x2]|=_0x193322<<0x18-(_0x48732f+_0x954733)%0x4*0x8;}else{for(var _0x511029=0x0;_0x511029<_0x5d0324;_0x511029+=0x4)_0xf393c6[_0x48732f+_0x511029>>>0x2]=_0x2b6bed[_0x511029>>>0x2];}return this['sigBytes']+=_0x5d0324,this;},'clamp':function(){var _0x559f92=_0x5cc430,_0xfd9019=this[_0x559f92(0x344)],_0x57b0b3=this[_0x559f92(0xf0)];_0xfd9019[_0x57b0b3>>>0x2]&=0xffffffff<<0x20-_0x57b0b3%0x4*0x8,_0xfd9019[_0x559f92(0x3c7)]=_0x41de44[_0x559f92(0x158)](_0x57b0b3/0x4);},'clone':function(){var _0xae8ab5=_0x5cc430,_0x53f4bb=_0x43e4ce['clone'][_0xae8ab5(0x2fb)](this);return _0x53f4bb['words']=this[_0xae8ab5(0x344)][_0xae8ab5(0x25f)](0x0),_0x53f4bb;},'random':function(_0x1f23ae){var _0x745a01=_0x5cc430;for(var _0xe4e9d7=[],_0x1bf907=0x0;_0x1bf907<_0x1f23ae;_0x1bf907+=0x4)_0xe4e9d7[_0x745a01(0x1f3)](_0x40c791());return new _0x5e968f['init'](_0xe4e9d7,_0x1f23ae);}}),_0x1ac752=_0x14887f[_0x5cc430(0x378)]={},_0x5f2b6c=_0x1ac752['Hex']={'stringify':function(_0xdd589d){var _0x160e86=_0x5cc430;for(var _0x3cc0e9=_0xdd589d[_0x160e86(0x344)],_0x32f97a=_0xdd589d['sigBytes'],_0x51ec21=[],_0x5d6739=0x0;_0x5d6739<_0x32f97a;_0x5d6739++){var _0x12035b=_0x3cc0e9[_0x5d6739>>>0x2]>>>0x18-_0x5d6739%0x4*0x8&0xff;_0x51ec21[_0x160e86(0x1f3)]((_0x12035b>>>0x4)[_0x160e86(0x37e)](0x10)),_0x51ec21['push']((_0x12035b&0xf)[_0x160e86(0x37e)](0x10));}return _0x51ec21[_0x160e86(0x111)]('');},'parse':function(_0x42a50b){var _0x1f4f76=_0x5cc430;for(var _0x225468=_0x42a50b[_0x1f4f76(0x3c7)],_0x3ffa16=[],_0x19369e=0x0;_0x19369e<_0x225468;_0x19369e+=0x2)_0x3ffa16[_0x19369e>>>0x3]|=parseInt(_0x42a50b['substr'](_0x19369e,0x2),0x10)<<0x18-_0x19369e%0x8*0x4;return new _0x5e968f[(_0x1f4f76(0x140))](_0x3ffa16,_0x225468/0x2);}},_0x35d415=_0x1ac752[_0x5cc430(0x3b9)]={'stringify':function(_0x8b05ae){var _0x43bf82=_0x5cc430;for(var _0x5bf008=_0x8b05ae[_0x43bf82(0x344)],_0xc10c05=_0x8b05ae[_0x43bf82(0xf0)],_0x1f4b92=[],_0x767054=0x0;_0x767054<_0xc10c05;_0x767054++){var _0x4a1075=_0x5bf008[_0x767054>>>0x2]>>>0x18-_0x767054%0x4*0x8&0xff;_0x1f4b92[_0x43bf82(0x1f3)](String['fromCharCode'](_0x4a1075));}return _0x1f4b92[_0x43bf82(0x111)]('');},'parse':function(_0x4cc5eb){var _0x4f06c9=_0x5cc430;for(var _0x1c8c0a=_0x4cc5eb[_0x4f06c9(0x3c7)],_0x12a149=[],_0x17e656=0x0;_0x17e656<_0x1c8c0a;_0x17e656++)_0x12a149[_0x17e656>>>0x2]|=(_0x4cc5eb[_0x4f06c9(0x249)](_0x17e656)&0xff)<<0x18-_0x17e656%0x4*0x8;return new _0x5e968f[(_0x4f06c9(0x140))](_0x12a149,_0x1c8c0a);}},_0x3b66c7=_0x1ac752['Utf8']={'stringify':function(_0x4f71b5){var _0x2c7aa6=_0x5cc430;try{return decodeURIComponent(escape(_0x35d415[_0x2c7aa6(0x2e2)](_0x4f71b5)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2479d9){var _0x388e19=_0x5cc430;return _0x35d415[_0x388e19(0x17b)](unescape(encodeURIComponent(_0x2479d9)));}},_0x4d6272=_0x5507ef[_0x5cc430(0x149)]=_0x43e4ce[_0x5cc430(0x184)]({'reset':function(){var _0x10b029=_0x5cc430;this[_0x10b029(0x237)]=new _0x5e968f[(_0x10b029(0x140))](),this['_nDataBytes']=0x0;},'_append':function(_0x541303){var _0x5b17f6=_0x5cc430;typeof _0x541303==_0x5b17f6(0x3c1)&&(_0x541303=_0x3b66c7[_0x5b17f6(0x17b)](_0x541303)),this[_0x5b17f6(0x237)][_0x5b17f6(0x14d)](_0x541303),this['_nDataBytes']+=_0x541303[_0x5b17f6(0xf0)];},'_process':function(_0xe6170e){var _0x411a70=_0x5cc430,_0x3584a6,_0x4dcbdf=this['_data'],_0x53cc81=_0x4dcbdf[_0x411a70(0x344)],_0x3aa4dd=_0x4dcbdf[_0x411a70(0xf0)],_0x2db74c=this[_0x411a70(0x1fd)],_0x1d5416=_0x2db74c*0x4,_0x4f9be5=_0x3aa4dd/_0x1d5416;_0xe6170e?_0x4f9be5=_0x41de44['ceil'](_0x4f9be5):_0x4f9be5=_0x41de44['max']((_0x4f9be5|0x0)-this[_0x411a70(0x18b)],0x0);var _0xcb8c1b=_0x4f9be5*_0x2db74c,_0x1210be=_0x41de44[_0x411a70(0x1a1)](_0xcb8c1b*0x4,_0x3aa4dd);if(_0xcb8c1b){for(var _0x1178f2=0x0;_0x1178f2<_0xcb8c1b;_0x1178f2+=_0x2db74c)this[_0x411a70(0x263)](_0x53cc81,_0x1178f2);_0x3584a6=_0x53cc81[_0x411a70(0x266)](0x0,_0xcb8c1b),_0x4dcbdf[_0x411a70(0xf0)]-=_0x1210be;}return new _0x5e968f['init'](_0x3584a6,_0x1210be);},'clone':function(){var _0x200ef0=_0x5cc430,_0x24df93=_0x43e4ce[_0x200ef0(0x1a2)]['call'](this);return _0x24df93[_0x200ef0(0x237)]=this[_0x200ef0(0x237)]['clone'](),_0x24df93;},'_minBufferSize':0x0});_0x5507ef['Hasher']=_0x4d6272[_0x5cc430(0x184)]({'cfg':_0x43e4ce['extend'](),'init':function(_0x354bee){var _0x3989e0=_0x5cc430;this[_0x3989e0(0x288)]=this[_0x3989e0(0x288)][_0x3989e0(0x184)](_0x354bee),this[_0x3989e0(0x2c1)]();},'reset':function(){var _0x5206f8=_0x5cc430;_0x4d6272[_0x5206f8(0x2c1)][_0x5206f8(0x2fb)](this),this[_0x5206f8(0x242)]();},'update':function(_0x4fdfa8){var _0x10ba9c=_0x5cc430;return this[_0x10ba9c(0x23c)](_0x4fdfa8),this[_0x10ba9c(0x133)](),this;},'finalize':function(_0x8fc264){var _0x155671=_0x5cc430;_0x8fc264&&this['_append'](_0x8fc264);var _0x1d7f66=this[_0x155671(0x11a)]();return _0x1d7f66;},'blockSize':0x10,'_createHelper':function(_0x49dbd0){return function(_0x133fdf,_0x5f2f19){var _0xf8abfc=_0x3a29;return new _0x49dbd0[(_0xf8abfc(0x140))](_0x5f2f19)[_0xf8abfc(0x204)](_0x133fdf);};},'_createHmacHelper':function(_0x2991d1){return function(_0x1779c4,_0xb666f5){var _0x93849a=_0x3a29;return new _0x39c2c4[(_0x93849a(0x38f))][(_0x93849a(0x140))](_0x2991d1,_0xb666f5)[_0x93849a(0x204)](_0x1779c4);};}});var _0x39c2c4=_0x14887f[_0x5cc430(0x1ec)]={};return _0x14887f;}(Math);return _0x436e3c;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x4ed5f2(0x268)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x50f354,_0xc442ca){(function(_0xad7277,_0x27819c){var _0x114264=_0x3a29;_0x50f354[_0x114264(0x268)]=_0x27819c(ne());}(xr,function(_0x3e8bad){var _0x1fead=_0x3a29;return(function(){var _0x370dbf=_0x3a29,_0x86798f=_0x3e8bad,_0x24a017=_0x86798f['lib'],_0x230f1b=_0x24a017[_0x370dbf(0x102)],_0x48d054=_0x86798f[_0x370dbf(0x378)];_0x48d054[_0x370dbf(0x141)]={'stringify':function(_0x19b5a6){var _0x307600=_0x370dbf,_0x58f897=_0x19b5a6[_0x307600(0x344)],_0x1d0557=_0x19b5a6[_0x307600(0xf0)],_0x589d66=this[_0x307600(0x221)];_0x19b5a6[_0x307600(0x1b7)]();for(var _0x2e5bfb=[],_0x411847=0x0;_0x411847<_0x1d0557;_0x411847+=0x3)for(var _0x102cf5=_0x58f897[_0x411847>>>0x2]>>>0x18-_0x411847%0x4*0x8&0xff,_0x3b800a=_0x58f897[_0x411847+0x1>>>0x2]>>>0x18-(_0x411847+0x1)%0x4*0x8&0xff,_0x457aaf=_0x58f897[_0x411847+0x2>>>0x2]>>>0x18-(_0x411847+0x2)%0x4*0x8&0xff,_0x38bc25=_0x102cf5<<0x10|_0x3b800a<<0x8|_0x457aaf,_0x324344=0x0;_0x324344<0x4&&_0x411847+_0x324344*0.75<_0x1d0557;_0x324344++)_0x2e5bfb[_0x307600(0x1f3)](_0x589d66['charAt'](_0x38bc25>>>0x6*(0x3-_0x324344)&0x3f));var _0x3e8c69=_0x589d66[_0x307600(0xff)](0x40);if(_0x3e8c69){for(;_0x2e5bfb[_0x307600(0x3c7)]%0x4;)_0x2e5bfb['push'](_0x3e8c69);}return _0x2e5bfb[_0x307600(0x111)]('');},'parse':function(_0xe12239){var _0x5afc6b=_0x370dbf,_0x2c3ae7=_0xe12239[_0x5afc6b(0x3c7)],_0x5037b9=this[_0x5afc6b(0x221)],_0xcf35d9=this['_reverseMap'];if(!_0xcf35d9){_0xcf35d9=this[_0x5afc6b(0x245)]=[];for(var _0x51b567=0x0;_0x51b567<_0x5037b9[_0x5afc6b(0x3c7)];_0x51b567++)_0xcf35d9[_0x5037b9[_0x5afc6b(0x249)](_0x51b567)]=_0x51b567;}var _0x1a72bf=_0x5037b9[_0x5afc6b(0xff)](0x40);if(_0x1a72bf){var _0x2cdd00=_0xe12239[_0x5afc6b(0x28e)](_0x1a72bf);_0x2cdd00!==-0x1&&(_0x2c3ae7=_0x2cdd00);}return _0x32ee2e(_0xe12239,_0x2c3ae7,_0xcf35d9);},'_map':_0x370dbf(0x356)};function _0x32ee2e(_0x107acd,_0x3354ec,_0x3af5e2){for(var _0x45a7c6=[],_0x5216ba=0x0,_0x4f7b1e=0x0;_0x4f7b1e<_0x3354ec;_0x4f7b1e++)if(_0x4f7b1e%0x4){var _0x224288=_0x3af5e2[_0x107acd['charCodeAt'](_0x4f7b1e-0x1)]<<_0x4f7b1e%0x4*0x2,_0x42e15c=_0x3af5e2[_0x107acd['charCodeAt'](_0x4f7b1e)]>>>0x6-_0x4f7b1e%0x4*0x2,_0x26ee5b=_0x224288|_0x42e15c;_0x45a7c6[_0x5216ba>>>0x2]|=_0x26ee5b<<0x18-_0x5216ba%0x4*0x8,_0x5216ba++;}return _0x230f1b['create'](_0x45a7c6,_0x5216ba);}}()),_0x3e8bad[_0x1fead(0x378)]['Base64'];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x4ed5f2(0x268)],ei;function Mr(){return ei||(ei=0x1,function(_0x21ea61,_0x5364b4){(function(_0x1ad5bb,_0x2ee855){var _0x5bf38a=_0x3a29;_0x21ea61[_0x5bf38a(0x268)]=_0x2ee855(ne());}(Lr,function(_0x31f679){var _0x362f03=_0x3a29;return function(_0x5eb90e){var _0x5a40bb=_0x3a29,_0xf89c6=_0x31f679,_0x1d17e5=_0xf89c6[_0x5a40bb(0x2d0)],_0x4078c5=_0x1d17e5[_0x5a40bb(0x102)],_0x58b04f=_0x1d17e5['Hasher'],_0x26a029=_0xf89c6['algo'],_0x5274ca=[];(function(){var _0x44cb8a=_0x5a40bb;for(var _0x5b6a66=0x0;_0x5b6a66<0x40;_0x5b6a66++)_0x5274ca[_0x5b6a66]=_0x5eb90e[_0x44cb8a(0x10c)](_0x5eb90e[_0x44cb8a(0x286)](_0x5b6a66+0x1))*0x100000000|0x0;}());var _0x59d73d=_0x26a029[_0x5a40bb(0x127)]=_0x58b04f[_0x5a40bb(0x184)]({'_doReset':function(){var _0x1b2fc4=_0x5a40bb;this[_0x1b2fc4(0x21f)]=new _0x4078c5['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5c8a26,_0x155866){var _0x852210=_0x5a40bb;for(var _0xed8122=0x0;_0xed8122<0x10;_0xed8122++){var _0x3a5cfb=_0x155866+_0xed8122,_0x1cf897=_0x5c8a26[_0x3a5cfb];_0x5c8a26[_0x3a5cfb]=(_0x1cf897<<0x8|_0x1cf897>>>0x18)&0xff00ff|(_0x1cf897<<0x18|_0x1cf897>>>0x8)&0xff00ff00;}var _0x37dbaa=this[_0x852210(0x21f)][_0x852210(0x344)],_0x4ab153=_0x5c8a26[_0x155866+0x0],_0x418831=_0x5c8a26[_0x155866+0x1],_0xfea232=_0x5c8a26[_0x155866+0x2],_0x2219c2=_0x5c8a26[_0x155866+0x3],_0xdf17df=_0x5c8a26[_0x155866+0x4],_0x523e0a=_0x5c8a26[_0x155866+0x5],_0x4d2940=_0x5c8a26[_0x155866+0x6],_0x73d1a9=_0x5c8a26[_0x155866+0x7],_0x57d628=_0x5c8a26[_0x155866+0x8],_0x59531d=_0x5c8a26[_0x155866+0x9],_0x43665c=_0x5c8a26[_0x155866+0xa],_0x3bb62c=_0x5c8a26[_0x155866+0xb],_0x1d6ad6=_0x5c8a26[_0x155866+0xc],_0x42c0c7=_0x5c8a26[_0x155866+0xd],_0x158c8c=_0x5c8a26[_0x155866+0xe],_0x48727e=_0x5c8a26[_0x155866+0xf],_0x3c1735=_0x37dbaa[0x0],_0x5467c9=_0x37dbaa[0x1],_0x3e0a02=_0x37dbaa[0x2],_0x1c9628=_0x37dbaa[0x3];_0x3c1735=_0x31cb02(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x4ab153,0x7,_0x5274ca[0x0]),_0x1c9628=_0x31cb02(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x418831,0xc,_0x5274ca[0x1]),_0x3e0a02=_0x31cb02(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0xfea232,0x11,_0x5274ca[0x2]),_0x5467c9=_0x31cb02(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x2219c2,0x16,_0x5274ca[0x3]),_0x3c1735=_0x31cb02(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0xdf17df,0x7,_0x5274ca[0x4]),_0x1c9628=_0x31cb02(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x523e0a,0xc,_0x5274ca[0x5]),_0x3e0a02=_0x31cb02(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x4d2940,0x11,_0x5274ca[0x6]),_0x5467c9=_0x31cb02(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x73d1a9,0x16,_0x5274ca[0x7]),_0x3c1735=_0x31cb02(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x57d628,0x7,_0x5274ca[0x8]),_0x1c9628=_0x31cb02(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x59531d,0xc,_0x5274ca[0x9]),_0x3e0a02=_0x31cb02(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x43665c,0x11,_0x5274ca[0xa]),_0x5467c9=_0x31cb02(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x3bb62c,0x16,_0x5274ca[0xb]),_0x3c1735=_0x31cb02(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x1d6ad6,0x7,_0x5274ca[0xc]),_0x1c9628=_0x31cb02(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x42c0c7,0xc,_0x5274ca[0xd]),_0x3e0a02=_0x31cb02(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x158c8c,0x11,_0x5274ca[0xe]),_0x5467c9=_0x31cb02(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x48727e,0x16,_0x5274ca[0xf]),_0x3c1735=_0xc2b776(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x418831,0x5,_0x5274ca[0x10]),_0x1c9628=_0xc2b776(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x4d2940,0x9,_0x5274ca[0x11]),_0x3e0a02=_0xc2b776(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x3bb62c,0xe,_0x5274ca[0x12]),_0x5467c9=_0xc2b776(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x4ab153,0x14,_0x5274ca[0x13]),_0x3c1735=_0xc2b776(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x523e0a,0x5,_0x5274ca[0x14]),_0x1c9628=_0xc2b776(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x43665c,0x9,_0x5274ca[0x15]),_0x3e0a02=_0xc2b776(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x48727e,0xe,_0x5274ca[0x16]),_0x5467c9=_0xc2b776(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0xdf17df,0x14,_0x5274ca[0x17]),_0x3c1735=_0xc2b776(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x59531d,0x5,_0x5274ca[0x18]),_0x1c9628=_0xc2b776(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x158c8c,0x9,_0x5274ca[0x19]),_0x3e0a02=_0xc2b776(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x2219c2,0xe,_0x5274ca[0x1a]),_0x5467c9=_0xc2b776(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x57d628,0x14,_0x5274ca[0x1b]),_0x3c1735=_0xc2b776(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x42c0c7,0x5,_0x5274ca[0x1c]),_0x1c9628=_0xc2b776(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0xfea232,0x9,_0x5274ca[0x1d]),_0x3e0a02=_0xc2b776(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x73d1a9,0xe,_0x5274ca[0x1e]),_0x5467c9=_0xc2b776(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x1d6ad6,0x14,_0x5274ca[0x1f]),_0x3c1735=_0x1cc64c(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x523e0a,0x4,_0x5274ca[0x20]),_0x1c9628=_0x1cc64c(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x57d628,0xb,_0x5274ca[0x21]),_0x3e0a02=_0x1cc64c(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x3bb62c,0x10,_0x5274ca[0x22]),_0x5467c9=_0x1cc64c(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x158c8c,0x17,_0x5274ca[0x23]),_0x3c1735=_0x1cc64c(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x418831,0x4,_0x5274ca[0x24]),_0x1c9628=_0x1cc64c(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0xdf17df,0xb,_0x5274ca[0x25]),_0x3e0a02=_0x1cc64c(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x73d1a9,0x10,_0x5274ca[0x26]),_0x5467c9=_0x1cc64c(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x43665c,0x17,_0x5274ca[0x27]),_0x3c1735=_0x1cc64c(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x42c0c7,0x4,_0x5274ca[0x28]),_0x1c9628=_0x1cc64c(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x4ab153,0xb,_0x5274ca[0x29]),_0x3e0a02=_0x1cc64c(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x2219c2,0x10,_0x5274ca[0x2a]),_0x5467c9=_0x1cc64c(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x4d2940,0x17,_0x5274ca[0x2b]),_0x3c1735=_0x1cc64c(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x59531d,0x4,_0x5274ca[0x2c]),_0x1c9628=_0x1cc64c(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x1d6ad6,0xb,_0x5274ca[0x2d]),_0x3e0a02=_0x1cc64c(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x48727e,0x10,_0x5274ca[0x2e]),_0x5467c9=_0x1cc64c(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0xfea232,0x17,_0x5274ca[0x2f]),_0x3c1735=_0xf62743(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x4ab153,0x6,_0x5274ca[0x30]),_0x1c9628=_0xf62743(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x73d1a9,0xa,_0x5274ca[0x31]),_0x3e0a02=_0xf62743(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x158c8c,0xf,_0x5274ca[0x32]),_0x5467c9=_0xf62743(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x523e0a,0x15,_0x5274ca[0x33]),_0x3c1735=_0xf62743(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x1d6ad6,0x6,_0x5274ca[0x34]),_0x1c9628=_0xf62743(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x2219c2,0xa,_0x5274ca[0x35]),_0x3e0a02=_0xf62743(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x43665c,0xf,_0x5274ca[0x36]),_0x5467c9=_0xf62743(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x418831,0x15,_0x5274ca[0x37]),_0x3c1735=_0xf62743(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0x57d628,0x6,_0x5274ca[0x38]),_0x1c9628=_0xf62743(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x48727e,0xa,_0x5274ca[0x39]),_0x3e0a02=_0xf62743(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0x4d2940,0xf,_0x5274ca[0x3a]),_0x5467c9=_0xf62743(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x42c0c7,0x15,_0x5274ca[0x3b]),_0x3c1735=_0xf62743(_0x3c1735,_0x5467c9,_0x3e0a02,_0x1c9628,_0xdf17df,0x6,_0x5274ca[0x3c]),_0x1c9628=_0xf62743(_0x1c9628,_0x3c1735,_0x5467c9,_0x3e0a02,_0x3bb62c,0xa,_0x5274ca[0x3d]),_0x3e0a02=_0xf62743(_0x3e0a02,_0x1c9628,_0x3c1735,_0x5467c9,_0xfea232,0xf,_0x5274ca[0x3e]),_0x5467c9=_0xf62743(_0x5467c9,_0x3e0a02,_0x1c9628,_0x3c1735,_0x59531d,0x15,_0x5274ca[0x3f]),_0x37dbaa[0x0]=_0x37dbaa[0x0]+_0x3c1735|0x0,_0x37dbaa[0x1]=_0x37dbaa[0x1]+_0x5467c9|0x0,_0x37dbaa[0x2]=_0x37dbaa[0x2]+_0x3e0a02|0x0,_0x37dbaa[0x3]=_0x37dbaa[0x3]+_0x1c9628|0x0;},'_doFinalize':function(){var _0x2b7b27=_0x5a40bb,_0x127785=this[_0x2b7b27(0x237)],_0x582700=_0x127785[_0x2b7b27(0x344)],_0x24bedf=this[_0x2b7b27(0x2f1)]*0x8,_0x2cfaa4=_0x127785['sigBytes']*0x8;_0x582700[_0x2cfaa4>>>0x5]|=0x80<<0x18-_0x2cfaa4%0x20;var _0x53e1a1=_0x5eb90e[_0x2b7b27(0x231)](_0x24bedf/0x100000000),_0x5538f3=_0x24bedf;_0x582700[(_0x2cfaa4+0x40>>>0x9<<0x4)+0xf]=(_0x53e1a1<<0x8|_0x53e1a1>>>0x18)&0xff00ff|(_0x53e1a1<<0x18|_0x53e1a1>>>0x8)&0xff00ff00,_0x582700[(_0x2cfaa4+0x40>>>0x9<<0x4)+0xe]=(_0x5538f3<<0x8|_0x5538f3>>>0x18)&0xff00ff|(_0x5538f3<<0x18|_0x5538f3>>>0x8)&0xff00ff00,_0x127785[_0x2b7b27(0xf0)]=(_0x582700[_0x2b7b27(0x3c7)]+0x1)*0x4,this[_0x2b7b27(0x133)]();for(var _0x3d6e3d=this['_hash'],_0x1ed206=_0x3d6e3d[_0x2b7b27(0x344)],_0x18ed90=0x0;_0x18ed90<0x4;_0x18ed90++){var _0x36f768=_0x1ed206[_0x18ed90];_0x1ed206[_0x18ed90]=(_0x36f768<<0x8|_0x36f768>>>0x18)&0xff00ff|(_0x36f768<<0x18|_0x36f768>>>0x8)&0xff00ff00;}return _0x3d6e3d;},'clone':function(){var _0x5e1d32=_0x5a40bb,_0x12c53f=_0x58b04f[_0x5e1d32(0x1a2)][_0x5e1d32(0x2fb)](this);return _0x12c53f[_0x5e1d32(0x21f)]=this[_0x5e1d32(0x21f)][_0x5e1d32(0x1a2)](),_0x12c53f;}});function _0x31cb02(_0x244ed9,_0x1a2b92,_0x4f2935,_0x464353,_0x5ccf8c,_0x5d1521,_0x52613d){var _0x14c99a=_0x244ed9+(_0x1a2b92&_0x4f2935|~_0x1a2b92&_0x464353)+_0x5ccf8c+_0x52613d;return(_0x14c99a<<_0x5d1521|_0x14c99a>>>0x20-_0x5d1521)+_0x1a2b92;}function _0xc2b776(_0x3c0e31,_0x32ef94,_0x36d641,_0x1e0d9e,_0x4a3ae1,_0x55f5e7,_0x2babd7){var _0x27c772=_0x3c0e31+(_0x32ef94&_0x1e0d9e|_0x36d641&~_0x1e0d9e)+_0x4a3ae1+_0x2babd7;return(_0x27c772<<_0x55f5e7|_0x27c772>>>0x20-_0x55f5e7)+_0x32ef94;}function _0x1cc64c(_0x1fecbd,_0x3dc69a,_0x23a8a2,_0x33a9fb,_0x3034b4,_0x17fb0a,_0x1b2949){var _0x40ecec=_0x1fecbd+(_0x3dc69a^_0x23a8a2^_0x33a9fb)+_0x3034b4+_0x1b2949;return(_0x40ecec<<_0x17fb0a|_0x40ecec>>>0x20-_0x17fb0a)+_0x3dc69a;}function _0xf62743(_0x4c11a8,_0x2f60e0,_0x38af5d,_0x5eff30,_0x9a5bcf,_0x3045be,_0x442757){var _0x4e66c1=_0x4c11a8+(_0x38af5d^(_0x2f60e0|~_0x5eff30))+_0x9a5bcf+_0x442757;return(_0x4e66c1<<_0x3045be|_0x4e66c1>>>0x20-_0x3045be)+_0x2f60e0;}_0xf89c6[_0x5a40bb(0x127)]=_0x58b04f[_0x5a40bb(0x2ed)](_0x59d73d),_0xf89c6['HmacMD5']=_0x58b04f['_createHmacHelper'](_0x59d73d);}(Math),_0x31f679[_0x362f03(0x127)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x4ed5f2(0x268)],ti;function Hr(){var _0x582da7=_0x4ed5f2;return ti||(ti=0x1,function(_0x31c421,_0x2d1c3e){(function(_0x31fd0f,_0x313a76){_0x31c421['exports']=_0x313a76(ne());}($r,function(_0x240889){var _0x103b83=_0x3a29;return(function(){var _0x74cdc1=_0x3a29,_0x18d3db=_0x240889,_0x310c9c=_0x18d3db['lib'],_0x7ba851=_0x310c9c[_0x74cdc1(0x102)],_0x1f34a6=_0x310c9c['Hasher'],_0x452c5a=_0x18d3db['algo'],_0x59eddf=[],_0x4fb9a2=_0x452c5a[_0x74cdc1(0x346)]=_0x1f34a6[_0x74cdc1(0x184)]({'_doReset':function(){var _0x3579f9=_0x74cdc1;this[_0x3579f9(0x21f)]=new _0x7ba851[(_0x3579f9(0x140))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x23982f,_0x50b2ba){var _0x20a7c8=_0x74cdc1;for(var _0x318160=this['_hash'][_0x20a7c8(0x344)],_0x98dced=_0x318160[0x0],_0x16efd1=_0x318160[0x1],_0x294993=_0x318160[0x2],_0x27d902=_0x318160[0x3],_0x114c2b=_0x318160[0x4],_0x2ad4fe=0x0;_0x2ad4fe<0x50;_0x2ad4fe++){if(_0x2ad4fe<0x10)_0x59eddf[_0x2ad4fe]=_0x23982f[_0x50b2ba+_0x2ad4fe]|0x0;else{var _0x28ad66=_0x59eddf[_0x2ad4fe-0x3]^_0x59eddf[_0x2ad4fe-0x8]^_0x59eddf[_0x2ad4fe-0xe]^_0x59eddf[_0x2ad4fe-0x10];_0x59eddf[_0x2ad4fe]=_0x28ad66<<0x1|_0x28ad66>>>0x1f;}var _0x54d415=(_0x98dced<<0x5|_0x98dced>>>0x1b)+_0x114c2b+_0x59eddf[_0x2ad4fe];_0x2ad4fe<0x14?_0x54d415+=(_0x16efd1&_0x294993|~_0x16efd1&_0x27d902)+0x5a827999:_0x2ad4fe<0x28?_0x54d415+=(_0x16efd1^_0x294993^_0x27d902)+0x6ed9eba1:_0x2ad4fe<0x3c?_0x54d415+=(_0x16efd1&_0x294993|_0x16efd1&_0x27d902|_0x294993&_0x27d902)-0x70e44324:_0x54d415+=(_0x16efd1^_0x294993^_0x27d902)-0x359d3e2a,_0x114c2b=_0x27d902,_0x27d902=_0x294993,_0x294993=_0x16efd1<<0x1e|_0x16efd1>>>0x2,_0x16efd1=_0x98dced,_0x98dced=_0x54d415;}_0x318160[0x0]=_0x318160[0x0]+_0x98dced|0x0,_0x318160[0x1]=_0x318160[0x1]+_0x16efd1|0x0,_0x318160[0x2]=_0x318160[0x2]+_0x294993|0x0,_0x318160[0x3]=_0x318160[0x3]+_0x27d902|0x0,_0x318160[0x4]=_0x318160[0x4]+_0x114c2b|0x0;},'_doFinalize':function(){var _0x1b725f=_0x74cdc1,_0x43ebd5=this[_0x1b725f(0x237)],_0x316471=_0x43ebd5[_0x1b725f(0x344)],_0x296e55=this['_nDataBytes']*0x8,_0x4c851f=_0x43ebd5[_0x1b725f(0xf0)]*0x8;return _0x316471[_0x4c851f>>>0x5]|=0x80<<0x18-_0x4c851f%0x20,_0x316471[(_0x4c851f+0x40>>>0x9<<0x4)+0xe]=Math[_0x1b725f(0x231)](_0x296e55/0x100000000),_0x316471[(_0x4c851f+0x40>>>0x9<<0x4)+0xf]=_0x296e55,_0x43ebd5[_0x1b725f(0xf0)]=_0x316471[_0x1b725f(0x3c7)]*0x4,this[_0x1b725f(0x133)](),this[_0x1b725f(0x21f)];},'clone':function(){var _0x262d0c=_0x74cdc1,_0x1aaad8=_0x1f34a6[_0x262d0c(0x1a2)][_0x262d0c(0x2fb)](this);return _0x1aaad8[_0x262d0c(0x21f)]=this[_0x262d0c(0x21f)][_0x262d0c(0x1a2)](),_0x1aaad8;}});_0x18d3db['SHA1']=_0x1f34a6['_createHelper'](_0x4fb9a2),_0x18d3db['HmacSHA1']=_0x1f34a6[_0x74cdc1(0x303)](_0x4fb9a2);}()),_0x240889[_0x103b83(0x346)];}));}(qe)),qe[_0x582da7(0x268)];}var ze={'exports':{}},kr=ze[_0x4ed5f2(0x268)],ii;function jr(){return ii||(ii=0x1,function(_0x4b7c82,_0x51af26){(function(_0x146c37,_0x2fa7b7){var _0x1e9423=_0x3a29;_0x4b7c82[_0x1e9423(0x268)]=_0x2fa7b7(ne());}(kr,function(_0x5dca37){(function(){var _0x5ca7d0=_0x3a29,_0xf2ad4=_0x5dca37,_0x37e31d=_0xf2ad4[_0x5ca7d0(0x2d0)],_0x27d463=_0x37e31d[_0x5ca7d0(0x2e3)],_0x55f22d=_0xf2ad4['enc'],_0x3bf78b=_0x55f22d[_0x5ca7d0(0x2bb)],_0x4c16c2=_0xf2ad4[_0x5ca7d0(0x1ec)];_0x4c16c2['HMAC']=_0x27d463[_0x5ca7d0(0x184)]({'init':function(_0x472fea,_0x2544fb){var _0x4be93f=_0x5ca7d0;_0x472fea=this[_0x4be93f(0x30e)]=new _0x472fea[(_0x4be93f(0x140))](),typeof _0x2544fb==_0x4be93f(0x3c1)&&(_0x2544fb=_0x3bf78b[_0x4be93f(0x17b)](_0x2544fb));var _0x5262eb=_0x472fea[_0x4be93f(0x1fd)],_0x1fb268=_0x5262eb*0x4;_0x2544fb[_0x4be93f(0xf0)]>_0x1fb268&&(_0x2544fb=_0x472fea[_0x4be93f(0x204)](_0x2544fb)),_0x2544fb[_0x4be93f(0x1b7)]();for(var _0x1210b7=this[_0x4be93f(0x2c7)]=_0x2544fb['clone'](),_0x2541b1=this[_0x4be93f(0x14b)]=_0x2544fb['clone'](),_0x5905a6=_0x1210b7[_0x4be93f(0x344)],_0x5442ca=_0x2541b1[_0x4be93f(0x344)],_0x2af98a=0x0;_0x2af98a<_0x5262eb;_0x2af98a++)_0x5905a6[_0x2af98a]^=0x5c5c5c5c,_0x5442ca[_0x2af98a]^=0x36363636;_0x1210b7[_0x4be93f(0xf0)]=_0x2541b1[_0x4be93f(0xf0)]=_0x1fb268,this[_0x4be93f(0x2c1)]();},'reset':function(){var _0x371d71=_0x5ca7d0,_0x1db807=this[_0x371d71(0x30e)];_0x1db807[_0x371d71(0x2c1)](),_0x1db807[_0x371d71(0x2f2)](this[_0x371d71(0x14b)]);},'update':function(_0x3aed01){var _0x5dc941=_0x5ca7d0;return this[_0x5dc941(0x30e)][_0x5dc941(0x2f2)](_0x3aed01),this;},'finalize':function(_0x52c072){var _0x141c54=_0x5ca7d0,_0x1c5a0c=this[_0x141c54(0x30e)],_0x9c0d5a=_0x1c5a0c['finalize'](_0x52c072);_0x1c5a0c[_0x141c54(0x2c1)]();var _0x19c40a=_0x1c5a0c[_0x141c54(0x204)](this[_0x141c54(0x2c7)][_0x141c54(0x1a2)]()[_0x141c54(0x14d)](_0x9c0d5a));return _0x19c40a;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x4ed5f2(0x268)],ni;function Ui(){var _0x156c44=_0x4ed5f2;return ni||(ni=0x1,function(_0xd34116,_0x307bbd){(function(_0x5b688c,_0xa1568b,_0x41a287){_0xd34116['exports']=_0xa1568b(ne(),Hr(),jr());}(Br,function(_0x240813){return(function(){var _0x530a83=_0x3a29,_0x1e70d2=_0x240813,_0xacbf4d=_0x1e70d2[_0x530a83(0x2d0)],_0x4366b0=_0xacbf4d[_0x530a83(0x2e3)],_0x502d99=_0xacbf4d[_0x530a83(0x102)],_0x1fdb07=_0x1e70d2[_0x530a83(0x1ec)],_0x247897=_0x1fdb07[_0x530a83(0x127)],_0x540dc4=_0x1fdb07[_0x530a83(0x392)]=_0x4366b0[_0x530a83(0x184)]({'cfg':_0x4366b0[_0x530a83(0x184)]({'keySize':0x80/0x20,'hasher':_0x247897,'iterations':0x1}),'init':function(_0x568ea9){var _0x51266f=_0x530a83;this[_0x51266f(0x288)]=this[_0x51266f(0x288)][_0x51266f(0x184)](_0x568ea9);},'compute':function(_0x2dabd9,_0x4ccf22){var _0x2fea26=_0x530a83;for(var _0x1edc18,_0x5e54ee=this[_0x2fea26(0x288)],_0x1fdf1c=_0x5e54ee[_0x2fea26(0x3d4)][_0x2fea26(0x300)](),_0x1887ae=_0x502d99[_0x2fea26(0x300)](),_0x29c89c=_0x1887ae['words'],_0x3ef067=_0x5e54ee[_0x2fea26(0x1e2)],_0x26afef=_0x5e54ee['iterations'];_0x29c89c[_0x2fea26(0x3c7)]<_0x3ef067;){_0x1edc18&&_0x1fdf1c[_0x2fea26(0x2f2)](_0x1edc18),_0x1edc18=_0x1fdf1c[_0x2fea26(0x2f2)](_0x2dabd9)[_0x2fea26(0x204)](_0x4ccf22),_0x1fdf1c['reset']();for(var _0x5b7ab5=0x1;_0x5b7ab5<_0x26afef;_0x5b7ab5++)_0x1edc18=_0x1fdf1c[_0x2fea26(0x204)](_0x1edc18),_0x1fdf1c[_0x2fea26(0x2c1)]();_0x1887ae[_0x2fea26(0x14d)](_0x1edc18);}return _0x1887ae[_0x2fea26(0xf0)]=_0x3ef067*0x4,_0x1887ae;}});_0x1e70d2[_0x530a83(0x392)]=function(_0x37c4f9,_0x598c3b,_0x4e7797){var _0x392889=_0x530a83;return _0x540dc4['create'](_0x4e7797)[_0x392889(0x2cc)](_0x37c4f9,_0x598c3b);};}()),_0x240813['EvpKDF'];}));}(Ye)),Ye[_0x156c44(0x268)];}var Je={'exports':{}},Fr=Je[_0x4ed5f2(0x268)],ri;function Ai(){return ri||(ri=0x1,function(_0x444232,_0x25ce7d){(function(_0x41d890,_0x34076e,_0x49d2cf){var _0x52f08c=_0x3a29;_0x444232[_0x52f08c(0x268)]=_0x34076e(ne(),Ui());}(Fr,function(_0x281b7d){var _0x40572d=_0x3a29;_0x281b7d[_0x40572d(0x2d0)][_0x40572d(0x328)]||function(_0x1044e9){var _0x22c6a2=_0x40572d,_0x4ab31b=_0x281b7d,_0x2fe682=_0x4ab31b[_0x22c6a2(0x2d0)],_0x2d5d44=_0x2fe682['Base'],_0x402039=_0x2fe682['WordArray'],_0x2726ad=_0x2fe682[_0x22c6a2(0x149)],_0x3e754e=_0x4ab31b[_0x22c6a2(0x378)];_0x3e754e[_0x22c6a2(0x2bb)];var _0x635861=_0x3e754e[_0x22c6a2(0x141)],_0x49d5dc=_0x4ab31b[_0x22c6a2(0x1ec)],_0x3bded1=_0x49d5dc[_0x22c6a2(0x392)],_0x3fc872=_0x2fe682[_0x22c6a2(0x328)]=_0x2726ad[_0x22c6a2(0x184)]({'cfg':_0x2d5d44[_0x22c6a2(0x184)](),'createEncryptor':function(_0x4341d8,_0x37044d){var _0x5baa16=_0x22c6a2;return this[_0x5baa16(0x300)](this[_0x5baa16(0x30c)],_0x4341d8,_0x37044d);},'createDecryptor':function(_0x55b280,_0x77445c){var _0x4ca419=_0x22c6a2;return this[_0x4ca419(0x300)](this[_0x4ca419(0x287)],_0x55b280,_0x77445c);},'init':function(_0x37968f,_0x138bcf,_0x4a5ff0){var _0x506d52=_0x22c6a2;this[_0x506d52(0x288)]=this[_0x506d52(0x288)]['extend'](_0x4a5ff0),this['_xformMode']=_0x37968f,this[_0x506d52(0x373)]=_0x138bcf,this[_0x506d52(0x2c1)]();},'reset':function(){var _0x366fc7=_0x22c6a2;_0x2726ad['reset']['call'](this),this[_0x366fc7(0x242)]();},'process':function(_0x5d27fe){var _0x31a36d=_0x22c6a2;return this['_append'](_0x5d27fe),this[_0x31a36d(0x133)]();},'finalize':function(_0x389b70){var _0x19ea27=_0x22c6a2;_0x389b70&&this[_0x19ea27(0x23c)](_0x389b70);var _0x2244eb=this[_0x19ea27(0x11a)]();return _0x2244eb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xccd299(_0x502e4e){var _0x1613c9=_0x3a29;return typeof _0x502e4e==_0x1613c9(0x3c1)?_0x417105:_0x1697d3;}return function(_0x21477c){return{'encrypt':function(_0x955a2c,_0xe374bf,_0x462e1b){return _0xccd299(_0xe374bf)['encrypt'](_0x21477c,_0x955a2c,_0xe374bf,_0x462e1b);},'decrypt':function(_0x59f5d6,_0x4e2410,_0x130d96){var _0x2262e6=_0x3a29;return _0xccd299(_0x4e2410)[_0x2262e6(0x3b8)](_0x21477c,_0x59f5d6,_0x4e2410,_0x130d96);}};};}())});_0x2fe682[_0x22c6a2(0x250)]=_0x3fc872['extend']({'_doFinalize':function(){var _0x4f8364=_0x22c6a2,_0x37096a=this[_0x4f8364(0x133)](!0x0);return _0x37096a;},'blockSize':0x1});var _0x2ac281=_0x4ab31b['mode']={},_0x1ba896=_0x2fe682[_0x22c6a2(0x39b)]=_0x2d5d44['extend']({'createEncryptor':function(_0x29a647,_0xb14b85){var _0x328bff=_0x22c6a2;return this[_0x328bff(0x113)][_0x328bff(0x300)](_0x29a647,_0xb14b85);},'createDecryptor':function(_0x4942fb,_0x21a050){var _0x314066=_0x22c6a2;return this[_0x314066(0x1d9)][_0x314066(0x300)](_0x4942fb,_0x21a050);},'init':function(_0x25e0b7,_0x1b114d){var _0x2c5500=_0x22c6a2;this['_cipher']=_0x25e0b7,this[_0x2c5500(0x1d3)]=_0x1b114d;}}),_0x59181f=_0x2ac281['CBC']=(function(){var _0x29e8d3=_0x22c6a2,_0x100767=_0x1ba896[_0x29e8d3(0x184)]();_0x100767[_0x29e8d3(0x113)]=_0x100767[_0x29e8d3(0x184)]({'processBlock':function(_0x309958,_0x542923){var _0x56f001=_0x29e8d3,_0x53b468=this[_0x56f001(0x289)],_0x3fa9eb=_0x53b468[_0x56f001(0x1fd)];_0x45ad15['call'](this,_0x309958,_0x542923,_0x3fa9eb),_0x53b468[_0x56f001(0x398)](_0x309958,_0x542923),this[_0x56f001(0x399)]=_0x309958[_0x56f001(0x25f)](_0x542923,_0x542923+_0x3fa9eb);}}),_0x100767[_0x29e8d3(0x1d9)]=_0x100767['extend']({'processBlock':function(_0x5e3fba,_0x20ee48){var _0x2166ee=_0x29e8d3,_0x4c67de=this[_0x2166ee(0x289)],_0x397f8e=_0x4c67de[_0x2166ee(0x1fd)],_0x1566ee=_0x5e3fba[_0x2166ee(0x25f)](_0x20ee48,_0x20ee48+_0x397f8e);_0x4c67de[_0x2166ee(0x20f)](_0x5e3fba,_0x20ee48),_0x45ad15[_0x2166ee(0x2fb)](this,_0x5e3fba,_0x20ee48,_0x397f8e),this[_0x2166ee(0x399)]=_0x1566ee;}});function _0x45ad15(_0x58a7fb,_0x252f5b,_0x3cd3a5){var _0x44989f=_0x29e8d3,_0x1bc25a,_0x3dd794=this[_0x44989f(0x1d3)];_0x3dd794?(_0x1bc25a=_0x3dd794,this[_0x44989f(0x1d3)]=_0x1044e9):_0x1bc25a=this[_0x44989f(0x399)];for(var _0xd184a4=0x0;_0xd184a4<_0x3cd3a5;_0xd184a4++)_0x58a7fb[_0x252f5b+_0xd184a4]^=_0x1bc25a[_0xd184a4];}return _0x100767;}()),_0x3f2d58=_0x4ab31b['pad']={},_0x46f956=_0x3f2d58[_0x22c6a2(0x358)]={'pad':function(_0xbad8c2,_0xb14b33){var _0x1be776=_0x22c6a2;for(var _0x41b9f8=_0xb14b33*0x4,_0xca12f=_0x41b9f8-_0xbad8c2[_0x1be776(0xf0)]%_0x41b9f8,_0x4fa4e4=_0xca12f<<0x18|_0xca12f<<0x10|_0xca12f<<0x8|_0xca12f,_0x4ab349=[],_0x216b76=0x0;_0x216b76<_0xca12f;_0x216b76+=0x4)_0x4ab349[_0x1be776(0x1f3)](_0x4fa4e4);var _0xca59e8=_0x402039[_0x1be776(0x300)](_0x4ab349,_0xca12f);_0xbad8c2[_0x1be776(0x14d)](_0xca59e8);},'unpad':function(_0x3a1ed7){var _0x44c922=_0x22c6a2,_0x38b55b=_0x3a1ed7['words'][_0x3a1ed7['sigBytes']-0x1>>>0x2]&0xff;_0x3a1ed7[_0x44c922(0xf0)]-=_0x38b55b;}};_0x2fe682['BlockCipher']=_0x3fc872['extend']({'cfg':_0x3fc872[_0x22c6a2(0x288)][_0x22c6a2(0x184)]({'mode':_0x59181f,'padding':_0x46f956}),'reset':function(){var _0x398eff=_0x22c6a2,_0x492e7b;_0x3fc872[_0x398eff(0x2c1)][_0x398eff(0x2fb)](this);var _0x392770=this['cfg'],_0x5518f8=_0x392770['iv'],_0x880e6e=_0x392770[_0x398eff(0xf3)];this[_0x398eff(0x164)]==this[_0x398eff(0x30c)]?_0x492e7b=_0x880e6e['createEncryptor']:(_0x492e7b=_0x880e6e[_0x398eff(0x270)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x398eff(0x137)][_0x398eff(0x2ec)]==_0x492e7b?this[_0x398eff(0x137)]['init'](this,_0x5518f8&&_0x5518f8[_0x398eff(0x344)]):(this['_mode']=_0x492e7b[_0x398eff(0x2fb)](_0x880e6e,this,_0x5518f8&&_0x5518f8[_0x398eff(0x344)]),this['_mode'][_0x398eff(0x2ec)]=_0x492e7b);},'_doProcessBlock':function(_0x4363ca,_0x5080ce){var _0x5d8137=_0x22c6a2;this['_mode'][_0x5d8137(0x17c)](_0x4363ca,_0x5080ce);},'_doFinalize':function(){var _0xacac6c=_0x22c6a2,_0x407a2a,_0x1cbac6=this[_0xacac6c(0x288)]['padding'];return this[_0xacac6c(0x164)]==this[_0xacac6c(0x30c)]?(_0x1cbac6[_0xacac6c(0x340)](this[_0xacac6c(0x237)],this['blockSize']),_0x407a2a=this[_0xacac6c(0x133)](!0x0)):(_0x407a2a=this['_process'](!0x0),_0x1cbac6[_0xacac6c(0x15b)](_0x407a2a)),_0x407a2a;},'blockSize':0x80/0x20});var _0x1cfbf2=_0x2fe682[_0x22c6a2(0x1bc)]=_0x2d5d44[_0x22c6a2(0x184)]({'init':function(_0x42e8e7){this['mixIn'](_0x42e8e7);},'toString':function(_0x50e018){return(_0x50e018||this['formatter'])['stringify'](this);}}),_0x1afeaa=_0x4ab31b[_0x22c6a2(0x35a)]={},_0x5e990d=_0x1afeaa[_0x22c6a2(0x1ae)]={'stringify':function(_0xd6d1e2){var _0x17e29e=_0x22c6a2,_0x5b440e,_0x592e05=_0xd6d1e2[_0x17e29e(0x1e9)],_0x58799c=_0xd6d1e2[_0x17e29e(0x31e)];return _0x58799c?_0x5b440e=_0x402039[_0x17e29e(0x300)]([0x53616c74,0x65645f5f])[_0x17e29e(0x14d)](_0x58799c)['concat'](_0x592e05):_0x5b440e=_0x592e05,_0x5b440e[_0x17e29e(0x37e)](_0x635861);},'parse':function(_0x2d208b){var _0x469c0c=_0x22c6a2,_0x570860,_0xb3c0e6=_0x635861[_0x469c0c(0x17b)](_0x2d208b),_0x24ea89=_0xb3c0e6[_0x469c0c(0x344)];return _0x24ea89[0x0]==0x53616c74&&_0x24ea89[0x1]==0x65645f5f&&(_0x570860=_0x402039[_0x469c0c(0x300)](_0x24ea89[_0x469c0c(0x25f)](0x2,0x4)),_0x24ea89['splice'](0x0,0x4),_0xb3c0e6[_0x469c0c(0xf0)]-=0x10),_0x1cfbf2[_0x469c0c(0x300)]({'ciphertext':_0xb3c0e6,'salt':_0x570860});}},_0x1697d3=_0x2fe682[_0x22c6a2(0x1ee)]=_0x2d5d44[_0x22c6a2(0x184)]({'cfg':_0x2d5d44[_0x22c6a2(0x184)]({'format':_0x5e990d}),'encrypt':function(_0x1218d4,_0x32b319,_0x32d5d4,_0x2a3e63){var _0x241cb0=_0x22c6a2;_0x2a3e63=this[_0x241cb0(0x288)][_0x241cb0(0x184)](_0x2a3e63);var _0x2cb551=_0x1218d4[_0x241cb0(0x1f7)](_0x32d5d4,_0x2a3e63),_0x5e9c65=_0x2cb551['finalize'](_0x32b319),_0x4ba369=_0x2cb551[_0x241cb0(0x288)];return _0x1cfbf2['create']({'ciphertext':_0x5e9c65,'key':_0x32d5d4,'iv':_0x4ba369['iv'],'algorithm':_0x1218d4,'mode':_0x4ba369['mode'],'padding':_0x4ba369[_0x241cb0(0x394)],'blockSize':_0x1218d4[_0x241cb0(0x1fd)],'formatter':_0x2a3e63['format']});},'decrypt':function(_0x17cb2c,_0x5a6f67,_0x123c76,_0x932482){var _0x4651d0=_0x22c6a2;_0x932482=this['cfg'][_0x4651d0(0x184)](_0x932482),_0x5a6f67=this[_0x4651d0(0x33c)](_0x5a6f67,_0x932482[_0x4651d0(0x35a)]);var _0x2b765=_0x17cb2c['createDecryptor'](_0x123c76,_0x932482)[_0x4651d0(0x204)](_0x5a6f67[_0x4651d0(0x1e9)]);return _0x2b765;},'_parse':function(_0x10797e,_0x2006ce){var _0x9bbb3a=_0x22c6a2;return typeof _0x10797e==_0x9bbb3a(0x3c1)?_0x2006ce[_0x9bbb3a(0x17b)](_0x10797e,this):_0x10797e;}}),_0x282e15=_0x4ab31b[_0x22c6a2(0x3d7)]={},_0x37205a=_0x282e15[_0x22c6a2(0x1ae)]={'execute':function(_0x526735,_0x505845,_0x45d765,_0x2c721a,_0x31fc07){var _0x51cbf1=_0x22c6a2;if(_0x2c721a||(_0x2c721a=_0x402039[_0x51cbf1(0x162)](0x40/0x8)),_0x31fc07)var _0x4516c3=_0x3bded1['create']({'keySize':_0x505845+_0x45d765,'hasher':_0x31fc07})[_0x51cbf1(0x2cc)](_0x526735,_0x2c721a);else var _0x4516c3=_0x3bded1['create']({'keySize':_0x505845+_0x45d765})['compute'](_0x526735,_0x2c721a);var _0x5568bd=_0x402039['create'](_0x4516c3[_0x51cbf1(0x344)][_0x51cbf1(0x25f)](_0x505845),_0x45d765*0x4);return _0x4516c3[_0x51cbf1(0xf0)]=_0x505845*0x4,_0x1cfbf2[_0x51cbf1(0x300)]({'key':_0x4516c3,'iv':_0x5568bd,'salt':_0x2c721a});}},_0x417105=_0x2fe682[_0x22c6a2(0x1e3)]=_0x1697d3[_0x22c6a2(0x184)]({'cfg':_0x1697d3['cfg'][_0x22c6a2(0x184)]({'kdf':_0x37205a}),'encrypt':function(_0x11fb97,_0x73c66a,_0x4db2c8,_0x2daaff){var _0x217bcd=_0x22c6a2;_0x2daaff=this[_0x217bcd(0x288)][_0x217bcd(0x184)](_0x2daaff);var _0x5550ff=_0x2daaff[_0x217bcd(0x3d7)][_0x217bcd(0x377)](_0x4db2c8,_0x11fb97[_0x217bcd(0x1e2)],_0x11fb97[_0x217bcd(0x3c6)],_0x2daaff[_0x217bcd(0x31e)],_0x2daaff[_0x217bcd(0x3d4)]);_0x2daaff['iv']=_0x5550ff['iv'];var _0x55fcf8=_0x1697d3['encrypt'][_0x217bcd(0x2fb)](this,_0x11fb97,_0x73c66a,_0x5550ff['key'],_0x2daaff);return _0x55fcf8[_0x217bcd(0x32b)](_0x5550ff),_0x55fcf8;},'decrypt':function(_0x114602,_0x2da4e9,_0x5aee5d,_0x1ebc3a){var _0x2ee70f=_0x22c6a2;_0x1ebc3a=this[_0x2ee70f(0x288)][_0x2ee70f(0x184)](_0x1ebc3a),_0x2da4e9=this['_parse'](_0x2da4e9,_0x1ebc3a['format']);var _0x2fab8e=_0x1ebc3a['kdf'][_0x2ee70f(0x377)](_0x5aee5d,_0x114602['keySize'],_0x114602[_0x2ee70f(0x3c6)],_0x2da4e9[_0x2ee70f(0x31e)],_0x1ebc3a[_0x2ee70f(0x3d4)]);_0x1ebc3a['iv']=_0x2fab8e['iv'];var _0x369740=_0x1697d3['decrypt']['call'](this,_0x114602,_0x2da4e9,_0x2fab8e[_0x2ee70f(0x38a)],_0x1ebc3a);return _0x369740;}});}();}));}(Je)),Je['exports'];}var Vr=Ve['exports'],si;function Gr(){var _0x1e7cd5=_0x4ed5f2;return si||(si=0x1,function(_0x40eacf,_0x35eb6d){(function(_0x382750,_0x3140e6,_0xd6552b){var _0x2a659c=_0x3a29;_0x40eacf[_0x2a659c(0x268)]=_0x3140e6(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x8eb93b){var _0x351a0a=_0x3a29;return(function(){var _0x3970af=_0x3a29,_0x1da88a=_0x8eb93b,_0x59a147=_0x1da88a[_0x3970af(0x2d0)],_0x418a79=_0x59a147[_0x3970af(0x1a8)],_0x51e55a=_0x1da88a['algo'],_0x328595=[],_0x44d98f=[],_0xee068b=[],_0x4f4f5c=[],_0x4346fe=[],_0x2e8072=[],_0x2e086f=[],_0x1781ee=[],_0x4ffbf1=[],_0x50fd14=[];(function(){for(var _0x193b4f=[],_0x3887f4=0x0;_0x3887f4<0x100;_0x3887f4++)_0x3887f4<0x80?_0x193b4f[_0x3887f4]=_0x3887f4<<0x1:_0x193b4f[_0x3887f4]=_0x3887f4<<0x1^0x11b;for(var _0x5c8315=0x0,_0x54b8db=0x0,_0x3887f4=0x0;_0x3887f4<0x100;_0x3887f4++){var _0x7edad1=_0x54b8db^_0x54b8db<<0x1^_0x54b8db<<0x2^_0x54b8db<<0x3^_0x54b8db<<0x4;_0x7edad1=_0x7edad1>>>0x8^_0x7edad1&0xff^0x63,_0x328595[_0x5c8315]=_0x7edad1,_0x44d98f[_0x7edad1]=_0x5c8315;var _0x4e27c2=_0x193b4f[_0x5c8315],_0x29dac9=_0x193b4f[_0x4e27c2],_0x15be54=_0x193b4f[_0x29dac9],_0xaa8d0c=_0x193b4f[_0x7edad1]*0x101^_0x7edad1*0x1010100;_0xee068b[_0x5c8315]=_0xaa8d0c<<0x18|_0xaa8d0c>>>0x8,_0x4f4f5c[_0x5c8315]=_0xaa8d0c<<0x10|_0xaa8d0c>>>0x10,_0x4346fe[_0x5c8315]=_0xaa8d0c<<0x8|_0xaa8d0c>>>0x18,_0x2e8072[_0x5c8315]=_0xaa8d0c;var _0xaa8d0c=_0x15be54*0x1010101^_0x29dac9*0x10001^_0x4e27c2*0x101^_0x5c8315*0x1010100;_0x2e086f[_0x7edad1]=_0xaa8d0c<<0x18|_0xaa8d0c>>>0x8,_0x1781ee[_0x7edad1]=_0xaa8d0c<<0x10|_0xaa8d0c>>>0x10,_0x4ffbf1[_0x7edad1]=_0xaa8d0c<<0x8|_0xaa8d0c>>>0x18,_0x50fd14[_0x7edad1]=_0xaa8d0c,_0x5c8315?(_0x5c8315=_0x4e27c2^_0x193b4f[_0x193b4f[_0x193b4f[_0x15be54^_0x4e27c2]]],_0x54b8db^=_0x193b4f[_0x193b4f[_0x54b8db]]):_0x5c8315=_0x54b8db=0x1;}}());var _0x319667=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x493eff=_0x51e55a[_0x3970af(0x3a3)]=_0x418a79['extend']({'_doReset':function(){var _0x460874=_0x3970af,_0x240c38;if(!(this[_0x460874(0x11d)]&&this[_0x460874(0x334)]===this['_key'])){for(var _0x523ed1=this[_0x460874(0x334)]=this[_0x460874(0x373)],_0x34a968=_0x523ed1[_0x460874(0x344)],_0x1e3fd4=_0x523ed1[_0x460874(0xf0)]/0x4,_0x11f118=this[_0x460874(0x11d)]=_0x1e3fd4+0x6,_0x274ea5=(_0x11f118+0x1)*0x4,_0x5bbd6a=this[_0x460874(0x193)]=[],_0x29226a=0x0;_0x29226a<_0x274ea5;_0x29226a++)_0x29226a<_0x1e3fd4?_0x5bbd6a[_0x29226a]=_0x34a968[_0x29226a]:(_0x240c38=_0x5bbd6a[_0x29226a-0x1],_0x29226a%_0x1e3fd4?_0x1e3fd4>0x6&&_0x29226a%_0x1e3fd4==0x4&&(_0x240c38=_0x328595[_0x240c38>>>0x18]<<0x18|_0x328595[_0x240c38>>>0x10&0xff]<<0x10|_0x328595[_0x240c38>>>0x8&0xff]<<0x8|_0x328595[_0x240c38&0xff]):(_0x240c38=_0x240c38<<0x8|_0x240c38>>>0x18,_0x240c38=_0x328595[_0x240c38>>>0x18]<<0x18|_0x328595[_0x240c38>>>0x10&0xff]<<0x10|_0x328595[_0x240c38>>>0x8&0xff]<<0x8|_0x328595[_0x240c38&0xff],_0x240c38^=_0x319667[_0x29226a/_0x1e3fd4|0x0]<<0x18),_0x5bbd6a[_0x29226a]=_0x5bbd6a[_0x29226a-_0x1e3fd4]^_0x240c38);for(var _0x4ba5d2=this['_invKeySchedule']=[],_0x3473c2=0x0;_0x3473c2<_0x274ea5;_0x3473c2++){var _0x29226a=_0x274ea5-_0x3473c2;if(_0x3473c2%0x4)var _0x240c38=_0x5bbd6a[_0x29226a];else var _0x240c38=_0x5bbd6a[_0x29226a-0x4];_0x3473c2<0x4||_0x29226a<=0x4?_0x4ba5d2[_0x3473c2]=_0x240c38:_0x4ba5d2[_0x3473c2]=_0x2e086f[_0x328595[_0x240c38>>>0x18]]^_0x1781ee[_0x328595[_0x240c38>>>0x10&0xff]]^_0x4ffbf1[_0x328595[_0x240c38>>>0x8&0xff]]^_0x50fd14[_0x328595[_0x240c38&0xff]];}}},'encryptBlock':function(_0x37e213,_0xbc5414){var _0xcff239=_0x3970af;this[_0xcff239(0x382)](_0x37e213,_0xbc5414,this[_0xcff239(0x193)],_0xee068b,_0x4f4f5c,_0x4346fe,_0x2e8072,_0x328595);},'decryptBlock':function(_0x8cf260,_0x222390){var _0x15b647=_0x3970af,_0x4a0f31=_0x8cf260[_0x222390+0x1];_0x8cf260[_0x222390+0x1]=_0x8cf260[_0x222390+0x3],_0x8cf260[_0x222390+0x3]=_0x4a0f31,this[_0x15b647(0x382)](_0x8cf260,_0x222390,this[_0x15b647(0x1bf)],_0x2e086f,_0x1781ee,_0x4ffbf1,_0x50fd14,_0x44d98f);var _0x4a0f31=_0x8cf260[_0x222390+0x1];_0x8cf260[_0x222390+0x1]=_0x8cf260[_0x222390+0x3],_0x8cf260[_0x222390+0x3]=_0x4a0f31;},'_doCryptBlock':function(_0x860dd3,_0x27c397,_0x4dcd63,_0x39c42d,_0x25d50f,_0x48d49a,_0x1b50d3,_0x5a6803){var _0x20d30b=_0x3970af;for(var _0x540864=this[_0x20d30b(0x11d)],_0x4d865f=_0x860dd3[_0x27c397]^_0x4dcd63[0x0],_0x3eee4e=_0x860dd3[_0x27c397+0x1]^_0x4dcd63[0x1],_0x568f6b=_0x860dd3[_0x27c397+0x2]^_0x4dcd63[0x2],_0x397dc1=_0x860dd3[_0x27c397+0x3]^_0x4dcd63[0x3],_0xfd6c46=0x4,_0x38f85b=0x1;_0x38f85b<_0x540864;_0x38f85b++){var _0x518ca2=_0x39c42d[_0x4d865f>>>0x18]^_0x25d50f[_0x3eee4e>>>0x10&0xff]^_0x48d49a[_0x568f6b>>>0x8&0xff]^_0x1b50d3[_0x397dc1&0xff]^_0x4dcd63[_0xfd6c46++],_0x21bfc9=_0x39c42d[_0x3eee4e>>>0x18]^_0x25d50f[_0x568f6b>>>0x10&0xff]^_0x48d49a[_0x397dc1>>>0x8&0xff]^_0x1b50d3[_0x4d865f&0xff]^_0x4dcd63[_0xfd6c46++],_0x2b5266=_0x39c42d[_0x568f6b>>>0x18]^_0x25d50f[_0x397dc1>>>0x10&0xff]^_0x48d49a[_0x4d865f>>>0x8&0xff]^_0x1b50d3[_0x3eee4e&0xff]^_0x4dcd63[_0xfd6c46++],_0x4c6517=_0x39c42d[_0x397dc1>>>0x18]^_0x25d50f[_0x4d865f>>>0x10&0xff]^_0x48d49a[_0x3eee4e>>>0x8&0xff]^_0x1b50d3[_0x568f6b&0xff]^_0x4dcd63[_0xfd6c46++];_0x4d865f=_0x518ca2,_0x3eee4e=_0x21bfc9,_0x568f6b=_0x2b5266,_0x397dc1=_0x4c6517;}var _0x518ca2=(_0x5a6803[_0x4d865f>>>0x18]<<0x18|_0x5a6803[_0x3eee4e>>>0x10&0xff]<<0x10|_0x5a6803[_0x568f6b>>>0x8&0xff]<<0x8|_0x5a6803[_0x397dc1&0xff])^_0x4dcd63[_0xfd6c46++],_0x21bfc9=(_0x5a6803[_0x3eee4e>>>0x18]<<0x18|_0x5a6803[_0x568f6b>>>0x10&0xff]<<0x10|_0x5a6803[_0x397dc1>>>0x8&0xff]<<0x8|_0x5a6803[_0x4d865f&0xff])^_0x4dcd63[_0xfd6c46++],_0x2b5266=(_0x5a6803[_0x568f6b>>>0x18]<<0x18|_0x5a6803[_0x397dc1>>>0x10&0xff]<<0x10|_0x5a6803[_0x4d865f>>>0x8&0xff]<<0x8|_0x5a6803[_0x3eee4e&0xff])^_0x4dcd63[_0xfd6c46++],_0x4c6517=(_0x5a6803[_0x397dc1>>>0x18]<<0x18|_0x5a6803[_0x4d865f>>>0x10&0xff]<<0x10|_0x5a6803[_0x3eee4e>>>0x8&0xff]<<0x8|_0x5a6803[_0x568f6b&0xff])^_0x4dcd63[_0xfd6c46++];_0x860dd3[_0x27c397]=_0x518ca2,_0x860dd3[_0x27c397+0x1]=_0x21bfc9,_0x860dd3[_0x27c397+0x2]=_0x2b5266,_0x860dd3[_0x27c397+0x3]=_0x4c6517;},'keySize':0x100/0x20});_0x1da88a['AES']=_0x418a79[_0x3970af(0x2ed)](_0x493eff);}()),_0x8eb93b[_0x351a0a(0x3a3)];}));}(Ve)),Ve[_0x1e7cd5(0x268)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x4ed5f2(0x268)],ai;function zr(){var _0x4158f4=_0x4ed5f2;return ai||(ai=0x1,function(_0x44f606,_0x519198){(function(_0x320f71,_0x306be3){_0x44f606['exports']=_0x306be3(ne());}(qr,function(_0x266909){var _0x4313c8=_0x3a29;return _0x266909[_0x4313c8(0x378)][_0x4313c8(0x2bb)];}));}(Xe)),Xe[_0x4158f4(0x268)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x4ed5f2(0x268)],ci;function Qr(){var _0x542dd4=_0x4ed5f2;return ci||(ci=0x1,function(_0x52e17a,_0x7d50de){(function(_0xf32ab7,_0x2defe7){var _0x5336a6=_0x3a29;_0x52e17a[_0x5336a6(0x268)]=_0x2defe7(ne());}(Zr,function(_0x544f60){var _0x31b9f6=_0x3a29;return(function(){var _0xab54f0=_0x3a29;if(typeof ArrayBuffer==_0xab54f0(0x28a)){var _0x4aa640=_0x544f60,_0x3fe35f=_0x4aa640['lib'],_0x4bfe78=_0x3fe35f[_0xab54f0(0x102)],_0x1dc9a6=_0x4bfe78[_0xab54f0(0x140)],_0x5575be=_0x4bfe78[_0xab54f0(0x140)]=function(_0x31c41f){var _0x3b22df=_0xab54f0;if(_0x31c41f instanceof ArrayBuffer&&(_0x31c41f=new Uint8Array(_0x31c41f)),(_0x31c41f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x31c41f instanceof Uint8ClampedArray||_0x31c41f instanceof Int16Array||_0x31c41f instanceof Uint16Array||_0x31c41f instanceof Int32Array||_0x31c41f instanceof Uint32Array||_0x31c41f instanceof Float32Array||_0x31c41f instanceof Float64Array)&&(_0x31c41f=new Uint8Array(_0x31c41f[_0x3b22df(0x386)],_0x31c41f[_0x3b22df(0x3a0)],_0x31c41f[_0x3b22df(0x272)])),_0x31c41f instanceof Uint8Array){for(var _0x34d5aa=_0x31c41f[_0x3b22df(0x272)],_0x129716=[],_0x10bfb6=0x0;_0x10bfb6<_0x34d5aa;_0x10bfb6++)_0x129716[_0x10bfb6>>>0x2]|=_0x31c41f[_0x10bfb6]<<0x18-_0x10bfb6%0x4*0x8;_0x1dc9a6['call'](this,_0x129716,_0x34d5aa);}else _0x1dc9a6[_0x3b22df(0x34c)](this,arguments);};_0x5575be[_0xab54f0(0x1c3)]=_0x4bfe78;}}()),_0x544f60[_0x31b9f6(0x2d0)]['WordArray'];}));}(Ze)),Ze[_0x542dd4(0x268)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x4ed5f2(0x268)],hi;function ns(){return hi||(hi=0x1,function(_0x97034a,_0xc3fa7f){(function(_0xd88c3a,_0x98ed76,_0x4bf060){_0x97034a['exports']=_0x98ed76(ne(),Ai());}(is,function(_0x4be1ca){var _0x447de5=_0x3a29;return _0x4be1ca[_0x447de5(0x340)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4be1ca[_0x447de5(0x340)]['NoPadding'];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x2d295d,_0x444b48){var _0x349132=_0x4ed5f2;const _0x333543=_0x444b48-_0x2d295d[_0x349132(0x3c7)]%_0x444b48,_0x468be1=String[_0x349132(0x142)](_0x333543)[_0x349132(0x13f)](_0x333543);return _0x2d295d+_0x468be1;}function as(_0x420aee,_0x434321){var _0x2379e7=_0x4ed5f2;const _0x5e59b4=ts[_0x2379e7(0x162)](0x10),_0x3c0756=os(_0x420aee,0x10),_0x3656ff=Kr[_0x2379e7(0x316)](Xr[_0x2379e7(0x17b)](_0x3c0756),oi[_0x2379e7(0x17b)](_0x434321),{'iv':_0x5e59b4,'padding':ss});return _0x5e59b4[_0x2379e7(0x14d)](_0x3656ff[_0x2379e7(0x1e9)])[_0x2379e7(0x37e)](oi);}function cs(){var _0x42b39c=_0x4ed5f2;const _0x1608a1=_0x546b42()[_0x42b39c(0x21e)];if(_0x1608a1){const _0x3bccb4={'time':Math[_0x42b39c(0x231)](Date[_0x42b39c(0x36f)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x42b39c(0x2e2)](_0x3bccb4),_0x1608a1);}}var hs=Object['defineProperty'],_s=Object[_0x4ed5f2(0x3d9)],ls=(_0x3192dd,_0x3f28f6,_0x20c980,_0x1d22b7)=>{for(var _0x12de3f=_0x1d22b7>0x1?void 0x0:_0x1d22b7?_s(_0x3f28f6,_0x20c980):_0x3f28f6,_0x62a2da=_0x3192dd['length']-0x1,_0x461c11;_0x62a2da>=0x0;_0x62a2da--)(_0x461c11=_0x3192dd[_0x62a2da])&&(_0x12de3f=(_0x1d22b7?_0x461c11(_0x3f28f6,_0x20c980,_0x12de3f):_0x461c11(_0x12de3f))||_0x12de3f);return _0x1d22b7&&_0x12de3f&&hs(_0x3f28f6,_0x20c980,_0x12de3f),_0x12de3f;},us=(_0x3afe70,_0x1f7986)=>(_0x29cbcd,_0x394def)=>_0x1f7986(_0x29cbcd,_0x394def,_0x3afe70);let ot=class{constructor(_0x34941e){var _0x1c40a5=_0x4ed5f2;this['_httpService']=_0x34941e,this[_0x1c40a5(0x32c)]();}[_0x4ed5f2(0x32c)](){var _0x2b8b41=_0x4ed5f2;this[_0x2b8b41(0x282)]['registerHTTPInterceptor']({'interceptor':(_0x573fa1,_0x39ce6d)=>{var _0x320954=_0x2b8b41;const _0xe69e76=_0x573fa1[_0x320954(0x121)],_0x1acc2b=cs();return _0x1acc2b&&_0xe69e76[_0x320954(0x311)]('x-univer-host',_0x1acc2b),_0x39ce6d(_0x573fa1);}});}};ot=ls([us(0x0,_0x2e68e5(_0x5019fe))],ot);var ds=Object[_0x4ed5f2(0x1f4)],fs=Object[_0x4ed5f2(0x3d9)],vs=(_0x58b27f,_0x33e0d8,_0x38ae33,_0x29597c)=>{var _0x5b4a81=_0x4ed5f2;for(var _0xaf64c=_0x29597c>0x1?void 0x0:_0x29597c?fs(_0x33e0d8,_0x38ae33):_0x33e0d8,_0x1ae60e=_0x58b27f[_0x5b4a81(0x3c7)]-0x1,_0x5a7436;_0x1ae60e>=0x0;_0x1ae60e--)(_0x5a7436=_0x58b27f[_0x1ae60e])&&(_0xaf64c=(_0x29597c?_0x5a7436(_0x33e0d8,_0x38ae33,_0xaf64c):_0x5a7436(_0xaf64c))||_0xaf64c);return _0x29597c&&_0xaf64c&&ds(_0x33e0d8,_0x38ae33,_0xaf64c),_0xaf64c;},mt=(_0x41cd65,_0x536de6)=>(_0x5b5995,_0x53bd6c)=>_0x536de6(_0x5b5995,_0x53bd6c,_0x41cd65);let Ot=class extends _0x5843ad{constructor(_0x37baf2,_0x33236b,_0x77334d){var _0x42c132=_0x4ed5f2;super(),N(this,_0x42c132(0x34b),new _0x427afa(null)),N(this,_0x42c132(0x347),this['_unitInfo$'][_0x42c132(0x21b)]()),(this['_logService']=_0x37baf2,this[_0x42c132(0x16f)]=_0x33236b,this['_localCacheService']=_0x77334d);}async[_0x4ed5f2(0x186)](_0x344157,_0x5993a7,_0x4f6d49){var _0x2fdc1e=_0x4ed5f2;this[_0x2fdc1e(0x34b)][_0x2fdc1e(0x26f)]({'unitId':_0x344157,'type':_0x5993a7,'subUnitId':_0x4f6d49});let _0xdc356=null;switch(_0x5993a7){case Q[_0x2fdc1e(0x14c)]:{_0xdc356=await this['_loadSheet'](_0x344157);break;}case Q['UNIVER_DOC']:{_0xdc356=await this[_0x2fdc1e(0x23f)](_0x344157);break;}default:{this[_0x2fdc1e(0x2c9)][_0x2fdc1e(0x37c)](_0x2fdc1e(0x32e),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xdc356;}async[_0x4ed5f2(0x2ea)](_0x22e6f5){var _0x1257d5=_0x4ed5f2,_0x33341d;let _0x26f4c2=0x0;const _0x3a131a=await((_0x33341d=this[_0x1257d5(0x1be)])==null?void 0x0:_0x33341d[_0x1257d5(0x1f6)](_0x22e6f5));return _0x3a131a&&(_0x3a131a[_0x1257d5(0x202)]||_0x3a131a[_0x1257d5(0x30d)][_0x1257d5(0x3c7)]!==0x0)&&(_0x26f4c2=_0x3a131a[_0x1257d5(0x35b)]),_0x26f4c2===0x0&&this['_logService'][_0x1257d5(0x384)](_0x1257d5(0x32e),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1257d5(0x16f)][_0x1257d5(0x22c)](_0x22e6f5,_0x26f4c2);}async[_0x4ed5f2(0x23f)](_0x196288){var _0x204c7e=_0x4ed5f2,_0x215157;let _0x1ec6af=0x0;const _0x1ce2dc=await((_0x215157=this[_0x204c7e(0x1be)])==null?void 0x0:_0x215157[_0x204c7e(0x1f6)](_0x196288));return _0x1ce2dc&&(_0x1ce2dc[_0x204c7e(0x202)]||_0x1ce2dc[_0x204c7e(0x30d)][_0x204c7e(0x3c7)]!==0x0)&&(_0x1ec6af=_0x1ce2dc[_0x204c7e(0x35b)]),_0x1ec6af===0x0&&this[_0x204c7e(0x2c9)][_0x204c7e(0x384)](_0x204c7e(0x32e),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x204c7e(0x16f)][_0x204c7e(0x234)](_0x196288,_0x1ec6af);}};Ot=vs([mt(0x0,_0x188ee),mt(0x1,_0x2e68e5(_0x4a3abc)),mt(0x2,_0x4396dd(J))],Ot);var ps=Object[_0x4ed5f2(0x1f4)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x2016d0,_0x2d742b,_0x29a8e9,_0x3d2564)=>{for(var _0x21449c=_0x3d2564>0x1?void 0x0:_0x3d2564?ms(_0x2d742b,_0x29a8e9):_0x2d742b,_0x42b835=_0x2016d0['length']-0x1,_0x4c8139;_0x42b835>=0x0;_0x42b835--)(_0x4c8139=_0x2016d0[_0x42b835])&&(_0x21449c=(_0x3d2564?_0x4c8139(_0x2d742b,_0x29a8e9,_0x21449c):_0x4c8139(_0x21449c))||_0x21449c);return _0x3d2564&&_0x21449c&&ps(_0x2d742b,_0x29a8e9,_0x21449c),_0x21449c;},gt=(_0xaf8b19,_0x2ae248)=>(_0x275887,_0x50e8e2)=>_0x2ae248(_0x275887,_0x50e8e2,_0xaf8b19);const Ss=['image/png',_0x4ed5f2(0x343),_0x4ed5f2(0x1b2),_0x4ed5f2(0x17d),_0x4ed5f2(0x11c)],Es=0x5*0x400*0x400,Is=_0x4ed5f2(0x36e),Ts=_0x4ed5f2(0x138),Cs=_0x4ed5f2(0x29b),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x485ed9,_0x4d8b52,_0x1cabfe){var _0x4ca46e=_0x4ed5f2;N(this,_0x4ca46e(0x22b),0x0),N(this,'_change$',new _0x349398()),N(this,_0x4ca46e(0x15f),this[_0x4ca46e(0x21a)]),N(this,_0x4ca46e(0x2e7),new Map()),(this[_0x4ca46e(0x282)]=_0x485ed9,this[_0x4ca46e(0x254)]=_0x4d8b52,this[_0x4ca46e(0x3a1)]=_0x1cabfe);}[_0x4ed5f2(0x38c)](_0xae19a5){var _0x2f985c=_0x4ed5f2;this[_0x2f985c(0x22b)]=_0xae19a5,this[_0x2f985c(0x21a)][_0x2f985c(0x26f)](_0xae19a5);}[_0x4ed5f2(0x1c0)](_0xa18dda,_0x3308bc){var _0x2733aa=_0x4ed5f2;if(_0x3308bc===_0x36ffc1['BASE64']){const _0x426107=new Image();return _0x426107[_0x2733aa(0x2b4)]=_0xa18dda,_0x426107;}return this[_0x2733aa(0x2e7)]['get'](_0xa18dda);}['addImageSourceCache'](_0x334b0e,_0x465f8e,_0x1777e7){var _0x8cbcae=_0x4ed5f2;_0x465f8e===_0x36ffc1[_0x8cbcae(0x264)]||_0x1777e7==null||this[_0x8cbcae(0x2e7)]['set'](_0x334b0e,_0x1777e7);}async[_0x4ed5f2(0x275)](_0x2077ab){var _0x4e402c=_0x4ed5f2;try{const _0x5a1c8c=this[_0x4e402c(0x342)](this[_0x4e402c(0x2fe)](),''+_0x2077ab),_0x557fae=(await this[_0x4e402c(0x282)]['get'](_0x5a1c8c))['body'];if(_0x557fae[_0x4e402c(0x37c)]&&_0x557fae[_0x4e402c(0x37c)][_0x4e402c(0x1b5)]===Ii['OK']){const _0x3edb37=new URL(_0x557fae[_0x4e402c(0x166)],this[_0x4e402c(0x363)]())['toString']();return Promise['resolve'](_0x3edb37);}return Promise[_0x4e402c(0x262)](_0x557fae['error']);}catch(_0x100ee1){return Promise[_0x4e402c(0x262)](_0x100ee1);}}async[_0x4ed5f2(0x1c4)](_0x2c0539){var _0xff3746=_0x4ed5f2;let _0x1582f1='';if(!Ss['includes'](_0x2c0539['type']))return this[_0xff3746(0x15a)](),Promise[_0xff3746(0x262)](new Error(_0x1ef767[_0xff3746(0x2f8)]));if(_0x2c0539['size']>Es)return this[_0xff3746(0x15a)](),Promise[_0xff3746(0x262)](new Error(_0x1ef767['ERROR_EXCEED_SIZE']));try{const _0x1ed6b5=new FormData();_0x1ed6b5[_0xff3746(0x229)](_0xff3746(0x322),_0x2c0539);const _0x5dee60=this[_0xff3746(0x3a1)][_0xff3746(0xec)](),_0x2e88c7=_0x5dee60==null?void 0x0:_0x5dee60[_0xff3746(0x1aa)]();if(!_0x2e88c7)throw new Error(_0xff3746(0x37b));const _0x29ead3=this[_0xff3746(0x3cc)]()+_0xff3746(0x1d1)+_0x2c0539[_0xff3746(0x16d)][_0xff3746(0x37e)]()+_0xff3746(0x365)+Ti[_0xff3746(0x1eb)]+_0xff3746(0x354)+encodeURIComponent(_0x2e88c7),_0x2fca09=await(await fetch(_0x29ead3,{'method':_0xff3746(0x175),'body':_0x1ed6b5}))['json']();if(typeof _0x2fca09[_0xff3746(0x215)]!='string')return this[_0xff3746(0x15a)](),Promise[_0xff3746(0x262)](new Error(_0x1ef767[_0xff3746(0x327)]));_0x1582f1=_0x2fca09[_0xff3746(0x215)];}catch{return this['_decreaseWaiting'](),Promise[_0xff3746(0x262)](new Error(_0x1ef767[_0xff3746(0x327)]));}return new Promise((_0x3d649f,_0x4a9d96)=>{var _0x540aa2=_0xff3746;const _0x1a4f77=new FileReader();_0x1a4f77[_0x540aa2(0x115)](_0x2c0539),_0x1a4f77['onload']=_0x189914=>{var _0x28c4f1=_0x540aa2,_0x307375;const _0x1a695f=(_0x307375=_0x189914[_0x28c4f1(0x1e8)])==null?void 0x0:_0x307375[_0x28c4f1(0x19f)];if(_0x1a695f==null){this[_0x28c4f1(0x15a)](),_0x4a9d96(new Error(_0x1ef767[_0x28c4f1(0x327)]));return;}const _0x1bd3a6=_0x6afa6a[_0x28c4f1(0x217)](0x6);_0x3d649f({'imageId':_0x1bd3a6,'imageSourceType':_0x36ffc1[_0x28c4f1(0x169)],'source':_0x1582f1,'base64Cache':_0x1a695f,'status':_0x1ef767['SUCCUSS']}),this[_0x28c4f1(0x15a)]();};});}[_0x4ed5f2(0x3cc)](){var _0x8b78b2=_0x4ed5f2,_0x4341af,_0x3d10bd;const _0x7ab630=this[_0x8b78b2(0x254)][_0x8b78b2(0x2ab)](Is),_0x1ff0ac=this[_0x8b78b2(0x254)]['getConfig'](q);return(_0x3d10bd=(_0x4341af=_0x1ff0ac==null?void 0x0:_0x1ff0ac[_0x8b78b2(0x2c2)])!=null?_0x4341af:_0x7ab630)!=null?_0x3d10bd:Ts;}[_0x4ed5f2(0x2fe)](){var _0x455175=_0x4ed5f2,_0xe43a74,_0x4334d2;const _0x45c1c6=this[_0x455175(0x254)][_0x455175(0x2ab)](Cs),_0x15e055=this[_0x455175(0x254)][_0x455175(0x2ab)](q);return(_0x4334d2=(_0xe43a74=_0x15e055==null?void 0x0:_0x15e055['signUrlServerUrl'])!=null?_0xe43a74:_0x45c1c6)!=null?_0x4334d2:Rs;}[_0x4ed5f2(0x363)](){var _0x495bea=_0x4ed5f2,_0x4594bc;const _0x4ea798=this[_0x495bea(0x254)][_0x495bea(0x2ab)](q);return(_0x4594bc=_0x4ea798==null?void 0x0:_0x4ea798['downloadEndpointUrl'])!=null?_0x4594bc:location[_0x495bea(0x181)];}[_0x4ed5f2(0x342)](_0x4bdf33,_0x1d8566){var _0x282d9f=_0x4ed5f2;return _0x4bdf33[_0x282d9f(0x33d)]('{fileID}',_0x1d8566);}['_decreaseWaiting'](){var _0x43abb7=_0x4ed5f2;this['_waitCount']-=0x1,this['_change$'][_0x43abb7(0x26f)](this[_0x43abb7(0x22b)]);}};yt=gs([gt(0x0,_0x2e68e5(_0x5019fe)),gt(0x1,_0x144724),gt(0x2,_0x2e68e5(_0x567566))],yt);var bs=Object[_0x4ed5f2(0x1f4)],Os=Object[_0x4ed5f2(0x3d9)],ys=(_0x5e519e,_0x1e0548,_0x45252e,_0x3ca862)=>{var _0x3c1e8e=_0x4ed5f2;for(var _0x1c5694=_0x3ca862>0x1?void 0x0:_0x3ca862?Os(_0x1e0548,_0x45252e):_0x1e0548,_0x4c4fad=_0x5e519e[_0x3c1e8e(0x3c7)]-0x1,_0x4518a3;_0x4c4fad>=0x0;_0x4c4fad--)(_0x4518a3=_0x5e519e[_0x4c4fad])&&(_0x1c5694=(_0x3ca862?_0x4518a3(_0x1e0548,_0x45252e,_0x1c5694):_0x4518a3(_0x1c5694))||_0x1c5694);return _0x3ca862&&_0x1c5694&&bs(_0x1e0548,_0x45252e,_0x1c5694),_0x1c5694;},_i=(_0x438e73,_0x4d7ddc)=>(_0x53515f,_0x5db1f0)=>_0x4d7ddc(_0x53515f,_0x5db1f0,_0x438e73);const Ns=_0x4ed5f2(0x2c6);let Nt=class{constructor(_0x52c72c,_0x1ef99e){var _0x4e8f23=_0x4ed5f2;this[_0x4e8f23(0x254)]=_0x52c72c,this['_HTTPService']=_0x1ef99e;}['_getAPIPrefixPath'](){var _0x11f8a1=_0x4ed5f2,_0x3a58bc,_0x8acb45;const _0x4563cf=this[_0x11f8a1(0x254)][_0x11f8a1(0x2ab)](Pi),_0x5c159b=this['_configService'][_0x11f8a1(0x2ab)](q);return(_0x8acb45=(_0x3a58bc=_0x5c159b==null?void 0x0:_0x5c159b[_0x11f8a1(0xf5)])!=null?_0x3a58bc:_0x4563cf)!=null?_0x8acb45:Ns;}async[_0x4ed5f2(0x35e)](_0x2dc4b0){var _0x49e0f7=_0x4ed5f2;const _0x5adce1=this[_0x49e0f7(0x1e5)]()+'/collaborator';return{'list':[{'title':_0x49e0f7(0x1cb),'mentions':(await this[_0x49e0f7(0x11f)][_0x49e0f7(0x1fc)](_0x5adce1,{'params':{'objectID':_0x2dc4b0[_0x49e0f7(0x2e0)],'unitID':_0x2dc4b0[_0x49e0f7(0x2e0)]}}))[_0x49e0f7(0x14f)]['collaborators']['map'](_0x5dff43=>({'objectId':_0x5dff43['id'],'name':_0x5dff43['subject'][_0x49e0f7(0x291)],'metadata':{'icon':_0x5dff43[_0x49e0f7(0x2ba)][_0x49e0f7(0x1cd)]},'label':_0x5dff43[_0x49e0f7(0x2ba)]['name'],'objectType':_0x1ddc31[_0x49e0f7(0xfe)]})),'metadata':{},'type':_0x1ddc31[_0x49e0f7(0xfe)]}]};}};Nt=ys([_i(0x0,_0x2e68e5(_0x144724)),_i(0x1,_0x2e68e5(_0x5019fe))],Nt);var Ds=Object[_0x4ed5f2(0x1f4)],Ps=Object[_0x4ed5f2(0x3d9)],ws=(_0x4f17f5,_0x28f1d4,_0x55990c,_0x39c0f2)=>{var _0x2aed20=_0x4ed5f2;for(var _0x15f722=_0x39c0f2>0x1?void 0x0:_0x39c0f2?Ps(_0x28f1d4,_0x55990c):_0x28f1d4,_0x4744eb=_0x4f17f5[_0x2aed20(0x3c7)]-0x1,_0x13a0ee;_0x4744eb>=0x0;_0x4744eb--)(_0x13a0ee=_0x4f17f5[_0x4744eb])&&(_0x15f722=(_0x39c0f2?_0x13a0ee(_0x28f1d4,_0x55990c,_0x15f722):_0x13a0ee(_0x15f722))||_0x15f722);return _0x39c0f2&&_0x15f722&&Ds(_0x28f1d4,_0x55990c,_0x15f722),_0x15f722;},Se=(_0x121d53,_0xcab294)=>(_0x5cb825,_0x3bd982)=>_0xcab294(_0x5cb825,_0x3bd982,_0x121d53);let at=class extends _0x5843ad{constructor(_0x37c6c7,_0x49d705,_0x4d3ff7,_0x32d5ea,_0x57384c,_0x2cdfb9,_0x4f2717){var _0x3f3391=_0x4ed5f2;super(),this[_0x3f3391(0x1f2)]=_0x37c6c7,this[_0x3f3391(0x3a1)]=_0x49d705,this[_0x3f3391(0x362)]=_0x4d3ff7,this[_0x3f3391(0x3b4)]=_0x32d5ea,this[_0x3f3391(0x134)]=_0x57384c,this[_0x3f3391(0x325)]=_0x2cdfb9,this['_undoRedoService']=_0x4f2717,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4ed5f2(0x1f1)](){var _0xb9cace=_0x4ed5f2;const _0x53742c=async _0x10efa2=>{var _0x22add9=_0x3a29;(await this['_collaborationSessionService'][_0x22add9(0x1d2)](_0x10efa2))['event$']['pipe'](_0x3ab440(_0x4b7bb2=>_0x4b7bb2[_0x22add9(0x2a8)]===_0x3973af['SHOULD_CLOSE_CONN']),_0x28659e(this[_0x22add9(0x2e1)]))[_0x22add9(0x278)](_0x22c15a=>{var _0x171cba=_0x22add9;const _0x476e89=_0x22c15a,{reason:_0x32464a}=_0x476e89[_0x171cba(0xf6)];this[_0x171cba(0x134)][_0x171cba(0x280)]({'id':se[_0x171cba(0x30a)],'data':_0x32464a}),this['_permissionService']['updatePermissionPoint'](new _0x216657(_0x10efa2)['id'],!0x1),this[_0x171cba(0x3b4)]['closeSession'](_0x10efa2);});};_0x3261e1(this[_0xb9cace(0x3a1)][_0xb9cace(0x26e)](_0x1a3f81[_0xb9cace(0x14c)]),this['_univerInstanceService'][_0xb9cace(0x26e)](_0x1a3f81['UNIVER_DOC']))['pipe'](_0x6df097(_0x11823c=>_0x11823c[_0xb9cace(0x1aa)]()),_0x3ab440(_0x1900e7=>!_0x2a97ae(_0x1900e7)),_0x28659e(this[_0xb9cace(0x2e1)]))[_0xb9cace(0x278)](_0x4578b8=>{_0x53742c(_0x4578b8);});}[_0x4ed5f2(0x3d2)](){var _0x1ce455=_0x4ed5f2;const _0x772789=async _0x47879e=>{var _0x336345=_0x3a29;const _0x57ce5b=await this[_0x336345(0x3b4)]['requireSession'](_0x47879e),_0x4766f9=this[_0x336345(0x1f2)][_0x336345(0x1fc)](_0x2ce43f);_0x57ce5b[_0x336345(0x11e)][_0x336345(0x206)](_0x3ab440(_0x5c0c5b=>_0x5c0c5b['eventID']===_0x3973af['UPDATE_PERMISSION_OBJ']),_0x28659e(this['dispose$']))[_0x336345(0x278)](_0x58d2d8=>{var _0x294821=_0x336345;const _0x34f99d=_0x58d2d8,{objectId:_0x3e46af}=_0x34f99d['data'];_0x3e46af===_0x47879e?_0x4766f9[_0x294821(0x27c)](_0x47879e):_0x4766f9[_0x294821(0x161)](_0x47879e,_0x3e46af);});};_0x3261e1(this['_univerInstanceService'][_0x1ce455(0x26e)](_0x1a3f81[_0x1ce455(0x14c)]),this[_0x1ce455(0x3a1)][_0x1ce455(0x26e)](_0x1a3f81[_0x1ce455(0x243)]))[_0x1ce455(0x206)](_0x6df097(_0x557760=>_0x557760[_0x1ce455(0x1aa)]()),_0x3ab440(_0x487dff=>!_0x2a97ae(_0x487dff)),_0x28659e(this[_0x1ce455(0x2e1)]))[_0x1ce455(0x278)](_0xa75a23=>{_0x772789(_0xa75a23);});}};at=ws([Se(0x0,_0x2e68e5(_0x39e407)),Se(0x1,_0x567566),Se(0x2,_0x1d089a),Se(0x3,_0x2e68e5(Le)),Se(0x4,_0x2e68e5(pe)),Se(0x5,_0x240d6b),Se(0x6,_0x792b04)],at);var Us=Object[_0x4ed5f2(0x1f4)],As=Object[_0x4ed5f2(0x3d9)],xs=(_0x3efcfc,_0x525300,_0x28ca1a,_0x1e4abb)=>{var _0x12ef42=_0x4ed5f2;for(var _0x411813=_0x1e4abb>0x1?void 0x0:_0x1e4abb?As(_0x525300,_0x28ca1a):_0x525300,_0x234baf=_0x3efcfc[_0x12ef42(0x3c7)]-0x1,_0xf5dd48;_0x234baf>=0x0;_0x234baf--)(_0xf5dd48=_0x3efcfc[_0x234baf])&&(_0x411813=(_0x1e4abb?_0xf5dd48(_0x525300,_0x28ca1a,_0x411813):_0xf5dd48(_0x411813))||_0x411813);return _0x1e4abb&&_0x411813&&Us(_0x525300,_0x28ca1a,_0x411813),_0x411813;},li=(_0x5c5668,_0x30d479)=>(_0x21395c,_0x46999b)=>_0x30d479(_0x21395c,_0x46999b,_0x5c5668);let Dt=class{constructor(_0x38f8df,_0x2b3813){var _0x181bdd=_0x4ed5f2;this[_0x181bdd(0x254)]=_0x38f8df,this[_0x181bdd(0x282)]=_0x2b3813;}async[_0x4ed5f2(0x2de)](_0x12cf09,_0x22bb58){var _0x3537b9=_0x4ed5f2,_0x6be4fa;const {unitID:_0x4b6796,type:_0x1ed6c7,revision:_0x44a2ad=0x0}=_0x22bb58,_0x27715a=this[_0x3537b9(0x1b8)]()+'/'+_0x1ed6c7+_0x3537b9(0x1ca)+_0x4b6796+'/rev/'+_0x44a2ad,_0x467531=(await this[_0x3537b9(0x282)][_0x3537b9(0x1fc)](_0x27715a))[_0x3537b9(0x14f)],_0x2ecedf=(_0x6be4fa=_0x467531[_0x3537b9(0x3aa)])==null?void 0x0:_0x6be4fa['workbook'];if(_0x2ecedf){const _0x4dcd59=_0x2ecedf==null?void 0x0:_0x2ecedf[_0x3537b9(0x281)],_0x281bdf=_0x335886[_0x3537b9(0x180)](_0x40c18f(_0x4dcd59));_0x2ecedf[_0x3537b9(0x281)]=_0x281bdf,Object['entries'](_0x2ecedf[_0x3537b9(0x23a)])[_0x3537b9(0x276)](([,_0x417e33])=>{var _0x47a0e1=_0x3537b9;const _0x296771=_0x417e33[_0x47a0e1(0x281)],_0x4d712d=_0x335886[_0x47a0e1(0x180)](_0x40c18f(_0x296771));_0x417e33[_0x47a0e1(0x281)]=_0x4d712d;});}return _0x467531;}async['getSheetBlock'](_0x2d6963,_0x24f02f){var _0x47a59f=_0x4ed5f2;const {unitID:_0x6c475d,type:_0x17761b,blockID:_0x48a437}=_0x24f02f,_0x18fcc5=this[_0x47a59f(0x201)]()+'/'+_0x17761b+_0x47a59f(0x1ca)+_0x6c475d+'/block/'+_0x48a437;return(await this[_0x47a59f(0x282)]['get'](_0x18fcc5))['body'];}async[_0x4ed5f2(0x1d7)](_0x304858,_0x20cbf3){var _0x22e87e=_0x4ed5f2;const {unitID:_0x52e820,type:_0x220056,blockID:_0x9cf138}=_0x20cbf3,_0x4dc8e9=this['_getAPIPrefix']()+_0x22e87e(0x2ce)+_0x220056+_0x22e87e(0x1ca)+_0x52e820+_0x22e87e(0x2ce)+_0x9cf138;return(await this[_0x22e87e(0x282)]['get'](_0x4dc8e9))['body'];}async[_0x4ed5f2(0x339)](_0x7686e0,_0x46d993){var _0x4855b1=_0x4ed5f2;const {unitID:_0x42a244,type:_0x1f6f4a,from:_0x409095,to:_0x219bdc}=_0x46d993,_0x64a9ce=this[_0x4855b1(0x201)]()+'/'+_0x1f6f4a+_0x4855b1(0x1ca)+_0x42a244+_0x4855b1(0x131)+_0x409095+_0x4855b1(0x3c5)+_0x219bdc;return(await this[_0x4855b1(0x282)][_0x4855b1(0x1fc)](_0x64a9ce))[_0x4855b1(0x14f)];}[_0x4ed5f2(0x1b8)](){var _0xb2e94f=_0x4ed5f2,_0x1fb258;return(_0x1fb258=this[_0xb2e94f(0x254)]['getConfig'](Tn))!=null?_0x1fb258:this[_0xb2e94f(0x201)]();}[_0x4ed5f2(0x201)](){var _0x2280c1=_0x4ed5f2,_0x51f14d,_0x648ae1;const _0xbdd675=this[_0x2280c1(0x254)][_0x2280c1(0x2ab)](En),_0x58ce47=this[_0x2280c1(0x254)][_0x2280c1(0x2ab)](q);return(_0x648ae1=(_0x51f14d=_0x58ce47==null?void 0x0:_0x58ce47[_0x2280c1(0x267)])!=null?_0x51f14d:_0xbdd675)!=null?_0x648ae1:In;}async[_0x4ed5f2(0xfd)](_0xd06397,_0x26dedb){var _0x3c3c6c=_0x4ed5f2;const _0x271955=_0x3c3c6c(0x1ab)+_0x26dedb[_0x3c3c6c(0x15c)]+_0x3c3c6c(0x1ca)+_0x26dedb['unitID']+_0x3c3c6c(0x2ee);return(await this[_0x3c3c6c(0x282)]['get'](_0x271955,{'params':{'resourceId':JSON[_0x3c3c6c(0x2e2)](_0x26dedb[_0x3c3c6c(0x3dc)])}}))[_0x3c3c6c(0x14f)];}[_0x4ed5f2(0x284)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4ed5f2(0x178)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4ed5f2(0x283)](){var _0x215be2=_0x4ed5f2;throw new Error(_0x215be2(0x152));}[_0x4ed5f2(0x336)](){var _0x31fa8b=_0x4ed5f2;throw new Error(_0x31fa8b(0x152));}[_0x4ed5f2(0x29c)](){var _0x3aeba5=_0x4ed5f2;throw new Error(_0x3aeba5(0x152));}};Dt=xs([li(0x0,_0x144724),li(0x1,_0x2e68e5(_0x5019fe))],Dt);var Ls=Object[_0x4ed5f2(0x1f4)],Ms=Object[_0x4ed5f2(0x3d9)],$s=(_0x438ab4,_0x5ed09b,_0x27884b,_0x42cc4e)=>{var _0x31b835=_0x4ed5f2;for(var _0x2a78eb=_0x42cc4e>0x1?void 0x0:_0x42cc4e?Ms(_0x5ed09b,_0x27884b):_0x5ed09b,_0xec6a7c=_0x438ab4[_0x31b835(0x3c7)]-0x1,_0x2dce71;_0xec6a7c>=0x0;_0xec6a7c--)(_0x2dce71=_0x438ab4[_0xec6a7c])&&(_0x2a78eb=(_0x42cc4e?_0x2dce71(_0x5ed09b,_0x27884b,_0x2a78eb):_0x2dce71(_0x2a78eb))||_0x2a78eb);return _0x42cc4e&&_0x2a78eb&&Ls(_0x5ed09b,_0x27884b,_0x2a78eb),_0x2a78eb;},Ae=(_0x366db6,_0x1f01f9)=>(_0x3ad796,_0x491438)=>_0x1f01f9(_0x3ad796,_0x491438,_0x366db6);let Pt=class extends _0x187325{constructor(_0x253948,_0x476a15,_0x22fd73,_0x47b300,_0xdd78eb){var _0x1f5943=_0x4ed5f2;super(_0x253948,_0x476a15,_0x22fd73),this[_0x1f5943(0x1dc)]=_0x47b300,this[_0x1f5943(0x2c9)]=_0xdd78eb;}['transformUndoRedo'](_0xf86e55,_0x267e3e){var _0x953faf=_0x4ed5f2;const _0x3db752=this[_0x953faf(0x285)](_0xf86e55);if(_0x3db752)try{const _0x56116f=this[_0x953faf(0x240)](_0x3db752,_0x267e3e);this[_0x953faf(0x390)](_0xf86e55,_0x56116f);}catch(_0x291793){this[_0x953faf(0x2c9)][_0x953faf(0x37c)](_0x953faf(0x253),_0x291793),this[_0x953faf(0x100)](_0xf86e55);}const _0x1c04a0=this[_0x953faf(0x3cb)](_0xf86e55);if(_0x1c04a0)try{const _0x4296b8=this[_0x953faf(0x240)](_0x1c04a0,_0x267e3e);this[_0x953faf(0x257)](_0xf86e55,_0x4296b8);}catch(_0x22a56d){this[_0x953faf(0x2c9)][_0x953faf(0x37c)](_0x22a56d),this[_0x953faf(0x10e)](_0xf86e55);}}[_0x4ed5f2(0x100)](_0x4c6a50){var _0x33247f=_0x4ed5f2;const _0x2143ae=this[_0x33247f(0x285)](_0x4c6a50);_0x2143ae&&(_0x2143ae[_0x33247f(0x3c7)]=0x0,this[_0x33247f(0x370)]());}['_clearRedo'](_0x34dbc){var _0x5e0596=_0x4ed5f2;const _0x1e47ee=this[_0x5e0596(0x3cb)](_0x34dbc);_0x1e47ee&&(_0x1e47ee[_0x5e0596(0x3c7)]=0x0,this['_updateStatus']());}[_0x4ed5f2(0x390)](_0x19b976,_0x53b768){var _0x6f3d16=_0x4ed5f2;this['_undoStacks'][_0x6f3d16(0x311)](_0x19b976,_0x53b768),this['_updateStatus']();}['_substituteRedoStack'](_0x3235c6,_0x969a99){var _0x581c14=_0x4ed5f2;this[_0x581c14(0x24d)][_0x581c14(0x311)](_0x3235c6,_0x969a99),this[_0x581c14(0x370)]();}[_0x4ed5f2(0x240)](_0x513292,_0x377bfa){var _0x2e9fbc=_0x4ed5f2;const _0xead7a1=[];let _0x370459=_0x377bfa,_0x3fea52=_0x377bfa;for(let _0x4df60c=_0x513292[_0x2e9fbc(0x3c7)]-0x1;_0x4df60c>=0x0;_0x4df60c--){const {unitID:_0x215af0,undoMutations:_0x3ce203,redoMutations:_0x5ccb6e}=_0x513292[_0x4df60c],_0x51d1fd=this[_0x2e9fbc(0x1dc)][_0x2e9fbc(0x2a7)](_0x370459,_0x3ce203),_0x1df2d1=this[_0x2e9fbc(0x1dc)][_0x2e9fbc(0x2a7)](_0x3fea52,_0x5ccb6e);if(_0x51ac59(_0x51d1fd)||_0x51ac59(_0x1df2d1)){this[_0x2e9fbc(0x2c9)][_0x2e9fbc(0x37c)](_0x2e9fbc(0x253),_0x2e9fbc(0x1ad),_0x51d1fd,_0x1df2d1);break;}_0x370459=_0x51d1fd[_0x2e9fbc(0x18d)],_0x3fea52=_0x1df2d1['c1Prime'],_0xead7a1[_0x2e9fbc(0x1f3)]({'unitID':_0x215af0,'undoMutations':_0x51d1fd[_0x2e9fbc(0x2f3)],'redoMutations':_0x1df2d1[_0x2e9fbc(0x2f3)]});}return _0xead7a1[_0x2e9fbc(0x107)]();}};Pt=$s([Ae(0x0,_0x567566),Ae(0x1,_0x20399a),Ae(0x2,_0x1bd0cc),Ae(0x3,_0x2d59c1),Ae(0x4,_0x188ee)],Pt);var xi=Object[_0x4ed5f2(0x1f4)],Hs=Object[_0x4ed5f2(0x3d9)],ks=(_0x54adc1,_0x563e7b,_0x3174ab)=>_0x563e7b in _0x54adc1?xi(_0x54adc1,_0x563e7b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3174ab}):_0x54adc1[_0x563e7b]=_0x3174ab,js=(_0x32affd,_0x2f2550,_0x3d2fd6,_0x4534f1)=>{var _0x5298a3=_0x4ed5f2;for(var _0x3d4fd3=_0x4534f1>0x1?void 0x0:_0x4534f1?Hs(_0x2f2550,_0x3d2fd6):_0x2f2550,_0x50f7f3=_0x32affd[_0x5298a3(0x3c7)]-0x1,_0x277859;_0x50f7f3>=0x0;_0x50f7f3--)(_0x277859=_0x32affd[_0x50f7f3])&&(_0x3d4fd3=(_0x4534f1?_0x277859(_0x2f2550,_0x3d2fd6,_0x3d4fd3):_0x277859(_0x3d4fd3))||_0x3d4fd3);return _0x4534f1&&_0x3d4fd3&&xi(_0x2f2550,_0x3d2fd6,_0x3d4fd3),_0x3d4fd3;},St=(_0x45be49,_0x5c809a)=>(_0x48f28b,_0x215165)=>_0x5c809a(_0x48f28b,_0x215165,_0x45be49),Bs=(_0x1b4ef4,_0x45ddde,_0x41c0a7)=>ks(_0x1b4ef4,_0x45ddde+'',_0x41c0a7);const Fs=_0x4ed5f2(0x3cf);let wt=class extends _0x35363e{constructor(_0x4eb05d=Wt,_0x24b6d6,_0x2c42bf,_0x11d963){var _0x2d8dd0=_0x4ed5f2;super(),this[_0x2d8dd0(0x31d)]=_0x4eb05d,this['_logService']=_0x24b6d6,this[_0x2d8dd0(0x1f2)]=_0x2c42bf,this[_0x2d8dd0(0x254)]=_0x11d963;const {..._0x5bd255}=_0x8ba257({},Wt,this[_0x2d8dd0(0x31d)]);this[_0x2d8dd0(0x254)][_0x2d8dd0(0x228)](q,_0x5bd255);}['onStarting'](){var _0x52b9b5=_0x4ed5f2;this[_0x52b9b5(0x26b)](),this['_initDependencies']();}['_registerDependencies'](){var _0x34bbf0=_0x4ed5f2,_0x19de75,_0x3c013d,_0x153abe,_0x5b955b;this['_injector'][_0x34bbf0(0x10d)](_0x792b04)&&this[_0x34bbf0(0x2c9)][_0x34bbf0(0x37c)](_0x34bbf0(0x130),_0x34bbf0(0x314));const _0x363695=_0x166dea([[_0x792b04,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x3c013d=(_0x19de75=this[_0x34bbf0(0x31d)])==null?void 0x0:_0x19de75[_0x34bbf0(0x35c)])!=null?_0x3c013d:Et}],[_0x1f1215,{'useClass':Dt}],[_0x240d6b,{'useClass':bt}],[_0x3bb57b,{'useClass':yt}],[_0x3c9cf5,{'useClass':Nt}],[rt],[Rt]],(_0x153abe=this[_0x34bbf0(0x31d)])==null?void 0x0:_0x153abe[_0x34bbf0(0x239)]);if(!((_0x5b955b=this['_config'])!=null&&_0x5b955b[_0x34bbf0(0x1a3)])){const _0x4b3771=_0x363695['findIndex'](([_0x3ac083])=>_0x3ac083===ht);_0x4b3771!==-0x1&&_0x363695[_0x34bbf0(0x266)](_0x4b3771,0x1);}_0x4c1a63(this[_0x34bbf0(0x1f2)],_0x363695);}['_initDependencies'](){var _0x11278e=_0x4ed5f2,_0x32d978,_0x37ed75,_0x16d9a1;this[_0x11278e(0x1f2)][_0x11278e(0x1fc)](_0x5019fe)[_0x11278e(0x3b1)]({'priority':0x14,'interceptor':_0xa8c33a({'maxParallel':0x6})}),(_0x32d978=this['_config'])!=null&&_0x32d978[_0x11278e(0x144)]||(_0x37ed75=this['_injector'][_0x11278e(0x1fc)](J,_0x506c1e[_0x11278e(0x187)]))==null||_0x37ed75[_0x11278e(0x1ba)](),(_0x16d9a1=this[_0x11278e(0x31d)])!=null&&_0x16d9a1['enableAuthServer']&&_0x1ad997(this['_injector'],[[st]]),_0x1ad997(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x140bac(_0x4bdfba,_0x34631e,_0x561515),St(0x1,_0x188ee),St(0x2,_0x2e68e5(_0x39e407)),St(0x3,_0x144724)],wt);function _0x4e44(){var _0x2fdc20=['finalize','_getSessionTicket','pipe','UNIVER_SLIDE','shouldCloseConn','put','reconnect','leaveEvent','online$','_unlockTransition','routeKey','decryptBlock','_updateLocalCache','createInstance','HEARTBEAT_TIMEOUT','range','pending','FileId','_submitChangeset','generateRandomId','liveShareOperation','_timeoutTimer','_change$','asObservable','JOINING','every','__Key__','_hash','status$','_map','SNAPSHOT_URL_KEY','c2Prime','HttpExport','2396364HzEEIE','CHANGESET_ACK','UNKNOWN_CMD','setConfig','append','entityInit$','_waitCount','loadSheet','12kYunIA','SUBMIT_CHANGESET_TIMEOUT','\x0aAfter:\x20','appendMutation','floor','selections','_stopTelemetryCollaborationNewChangeset','loadDoc','objectType','msCrypto','_data','stopTime','override','sheets','telemetry\x20info\x20is\x20not\x20initialized','_append','_commentUpdate$','_getCtorByUniverType','_loadDoc','_transformStack','PY_RUNTIME_SCRIPT_ERROR','_doReset','UNIVER_DOC','error$','_reverseMap','$super','close','RETRY_CONNECTING_MAX_COUNT','charCodeAt','_commandService','_clearTimeoutTimer','_isPermissionRej','_redoStacks','NOT_COLLAB','collaboratorID','StreamCipher','_changesetReqId','batchAllowed','[CollaborationUndoRedoService]','_configService','_transformRemoteChangesetByStateCache','LIVESHARE_OPERATION','_substituteRedoStack','SEND_CHANGESET_TIMEOUT','toLowerCase','IDLE','_socket$','sessionStatus$','catch','CHANGESET_REJ','slice','_awaitingChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','reject','_doProcessBlock','BASE64','894000nalQLa','splice','snapshotServerUrl','exports','OTHER_CLIENT_EDITING','updatePermissionObjEvent','_registerDependencies','fetchThroughInterceptors','APPLY_REVISION_CONFILICT','getTypeOfUnitAdded$','next','createDecryptor','objectActions','byteLength','_clearHeartbeatTimer','SOCKET_FAILED','getImage','forEach','connection\x20error','subscribe','max','_clearLocalCache','_onUserJoin','initWorkbookPermissionChange','_undoRedoService','_transformUndoredo','\x20-\x20','emitEvent','originalMeta','_httpService','saveChangeset','saveSnapshot','_getUndoStack','sin','_DEC_XFORM_MODE','cfg','_cipher','function','_collaborationTimeoutTimer','_sessions','_state','indexOf','UNAUTHENTICATED','pauseCollaboration','name','collaborators','NO_OTHER_CLIENTS_EDITING','USERS_LEAVE','_transformRemoteChangesetByIMECache','HttpImport','_rescheduleHeartbeat','_revisionService','_unitID','compose','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getLatestCsReqIdBySid','CONFLICT','updatePermissionPoint','onLocalMutation','_members$','values','session.room-full','JOIN_ROOM_FAILED','getTypeOfUnitDisposed$','userID','PENDING','transformMutationsWithChangeset','eventID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','location','getConfig','LIVESHARE_FETCH_OPERATIONS','confirm','sessionTicket','getValue','post','YUUMI_UNABLE_LOAD_URL','_onConnectionFailed','not_collab','src','onStateChange','sid','USERS_ENTER','getWorkbookSelections','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','subject','Utf8','_onMessage','CHANGESET_REVISION_CONFILICT','MSG_FOR_ERROR','LEAVE','APPLY_NON_SEQUENTIAL_REVISION','reset','uploadFileServerUrl','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','/universer-api/snapshot','_memberService','/universer-api/authz','_oKey','COMMENT_UPDATE','_logService','_roomMembers','_onRemoteRejected','compute','session.room-permission-denied','/block/','getMember','lib','_instanceService','conflict','getInterceptPoints','_socketMessageSubscription','_queuedRemoteChangesets','LIVESHARE_NEW_HOST','RECV','_sendHeartbeat','/-/object/-/batch_allowed','[CollaborationSessionService]','_transformStateCache','JOIN','createSocket','getUnitOnRev','onRemoteChangeset','unitId','dispose$','stringify','Base','capture','_changesetSessionId','[CollaborationEntity]','_imageSourceCache','clear','csAckEvent','_loadSheet','find','__creator','_createHelper','/resources','fetchMiss','univer-pro.collaboration-client-socket-service','_nDataBytes','update','m2Prime','onTransformState','_transformSelections','Undefined','fetching\x20missing\x20changesets\x20from\x20','ERROR_IMAGE_TYPE','/universer-api/oidc/authpage','_type','call','infoRsp','/new_changes','_getSignURL','_localeService','create','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_SHOULD_RETRY','_createHmacHelper','_telemetryInfo','_telemetryService','_listenToNetworkCondition','onRemoteRetry','_createSocketURL','onTransformRemoteChangesetByStateCache','CLOSE_ROOM','UNKNOWN_CODE','_ENC_XFORM_MODE','mutations','_hasher','ticket','_initMergeInterceptor','set','_applyRemoteChangeset','unsubscribe','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitID','encrypt','offline','session','getCurrentRevOfUnit','action','params','_lockTransition','_config','salt','awaiting_with_pending','YUUMI_RATE_OVER_LIMIT','updateMember','file','YUUMI_URL_COL_OUT_OF_RANGE','MUTATION','_authzIoService','_scheduleCompleteTimestamp','ERROR_IMAGE','Cipher','awaiting','_getCurrentRevision','mixIn','_initRequestHeader','getCollabEntity','[DataLoaderService]','_remoteChangesetQueue','requestParams','_emitMembers','incrementRevOfUnit','UNRECOGNIZED','_keyPriorReset','/role','copyFileMeta','updateOfflineData','close$','fetchMissingChangesets','session.room-cnt-exceeds','_onConflict','_parse','replace','liveShareNewHost','getRoom','pad','_exhaustRemoteChangesetQueue','_replaceFileID','image/jpeg','words','[SyncedState]:\x20received\x20acknowledgement.','SHA1','unitInfo$','APPLY_DUPLICATED','_syncEditingCollabCursor','transformChangesets','_unitInfo$','apply','uniscriptRunEvent','objects','_onRecvEvent','_joinRoom','retryConnectingInterval','onCommentUpdate','fetch_missing','&assign=','_snapshotServerService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onConnectionOpen','Pkcs7','_socketReady','format','rev','socketService','_onRemoteChangeset','list','_incrementRevisionNumber','session.room-not-exists','setCurrentUser','_permissionService','_getDownloadEndpointURL','PSEUDO_FETCH_MISSING_RESULT','&source=','_resendTimer','LIVESHARE_REQUEST_HOST','listRoles','AWAITING_WITH_PENDING','collaboration-client.config','COMPLETION_FINISHED','getCurrentUser','ONLINE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','now','_updateStatus','open$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_key','_retryConnectingTimer','_onRemoteRetry','onTransformSelections','execute','enc','_resendTimeout','getCollabEntity$','unitId\x20is\x20not\x20found','error','OFFLINE','toString','_getSendChangesetTimeout','onTransformRemoteChangesetByIMECache','ENSURE_SNAPSHOT_EXECUTION','_doCryptBlock','_updateState','debug','addHandlerCallback','buffer','LICENSE_EXPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_sessionStatus$','key','interceptor','setWaitCount','_init','toggleOffline','HMAC','_substituteUndoStack','_candidateSocket','EvpKDF','message$','padding','_tryReconnect','complete','add','encryptBlock','_prevBlock','onSendChangeset','BlockCipherMode','onMissedChangesetFetched','getCurrentSelections','roomInfos','bind','byteOffset','_univerInstanceService','_singleActiveUnitService','AES','_sendHeartbeatTimer','_toggleOffline','textRanges','_sendingTimer','onMissingChangesets','INTERNAL_ERROR','snapshot','_throwTelemetryCollaborationNewChangeset','_pendingMutations','_tryEnsureSocket','JOIN_ROOM_NOT_EXISTS','FAIL','getActiveSheet','registerHTTPInterceptor','_retryCount','_waitForHeartbeatResponse','_collaborationSessionService','_handler','COMPRESS_MUTATION_SEND','disposeWithMe','decrypt','Latin1','getUnit','_transitionLocked','localCacheService','HEARTBEAT','save\x20fail\x20reason\x20is\x20','_onOffline','[FetchMissState]','string','[CollaborationState]:\x20apply\x20error!','joinEvent','DEFAULT_FILE_NAME','&to=','ivSize','length','SNAPSHOT_HAS_BEEN_REMOVED','members','toggleOnline','_getRedoStack','_getUploadFileURL','_replayCachedMutations','_entities','UNIVER_COLLABORATION_CLIENT_PLUGIN','waitForRoom$','transformUndoRedo','_initUnitPermissionChange','permissionRejEvent','hasher','_entityInit$','UNDEFINED','kdf','default','getOwnPropertyDescriptor','auth.needGotoLoginAlert','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','resourceIDs','href','1132152CfBFge','5BaRqBu','closeSession','LIVESHARE_TERMINATE','getFocusedUnit','unknown','randomUUID','_members','sigBytes','duration','executeCommand','mode','onTransformIME','authzUrl','data','_schedule','crypto','_shouldReportTelemetry','_createInitialStateImpl','_onLocalMutation','_getLoginPath','getResourcesRequest','PERSON','charAt','_clearUndo','onlyLocal','WordArray','reduce','HELLO','_collaborationPaused','baseRev','reverse','synced','JOIN_ROOM_PERMISSION_DENIED','_sheetTransformSelectionsService','onCommandExecuted','abs','has','_clearRedo','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','resend','join','/-/object/list','Encryptor','_createHandler','readAsDataURL','newCsEvent','COLLAB_WEB_SOCKET_URL','SUBMIT_CHANGESET','LICENSE_IMPORT_SIZE_EXCEEDED','_doFinalize','isArray','image/bmp','_nRounds','event$','_HTTPService','filter','headers','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','univer-pro.collaboration-client.single-active-unit-service','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_INTERVAL','send','MD5','reqId','_onRemoteACK','\x20in\x20_schedule.','map','_networkConditionService','_disableEditing','then','[OfflineState]:\x20received\x20changeset.','[UniverCollaborationClientPlugin]','/fetchmissing?from=','INGEST','_process','_collaborationUIEventService','_state$','2791948mqQBdM','_mode','/universer-api/stream/file/upload','[CollaborationSession]','status','AUTHZ_URL_KEY','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onFetchMissResult','_startTelemetryCollaborationNewChangeset','repeat','init','Base64','fromCharCode','actions','enableOfflineEditing','UNIVER_PROJECT','socket$','_fetchMissChangesets','FETCH_MISSING','BufferedBlockAlgorithm','_removeRoom','_iKey','UNIVER_SHEET','concat','revision','body','from','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','memberID','_toggleOnline','collaboration_new_changeset','LICENSE_DISTRO_REJECTED','_resendWithTimeout','ceil','_sender','_decreaseWaiting','unpad','type','_createSocket','getTime','change$','JOIN_ROOM_FULL','refreshPermission','random','APPLY_REJECT','_xformMode','1465471oOYXzy','url','__esModule','COMPRESS_MUTATION_APPLY','UUID','?url=','commentUpdateEvent','NEW_CHANGESETS','size','onRemoteRej','_snapshotService','/object','1115098yfVvxJ','\x20to\x20','_roomCreated$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','POST','state','_showConflictNotification','saveSheetBlock','_checkMissing','editing\x20status\x20changed\x20to','parse','processBlock','image/gif','getUnitStatus$','/object/','encode','origin','_clearScheduledTask','UNIVER_UNKNOWN','extend','AWAITING','loadUnit','OPTIONAL','onSyncEditingCollabCursor','_handlerCallback','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_minBufferSize','COLLAB_SUBMIT_CHANGESET_URL','c1Prime','PERMISSION_DENIED','ALREADY_EXISTS','symbol','onRemoteAck','8757036nXVmnp','_keySchedule','UPDATE_PERMISSION_OBJ','listCollaborators','ws://127.0.0.1:8000/universer-api/comb/connect','state$','/collaborator','_acknowledgedAwaitingChangeset','method','failed\x20to\x20apply\x20missed\x20changesets!','/universer-api/user/session-ticket','/universer-api/uniscript','_commentService','result','NOT_FOUND','min','clone','enableSingleActiveInstanceLock','wsSessionTicketUrl','cmd','_http','_event$','BlockCipher','SOCKET_FAILED_RETRY','getUnitId','/universer-api/snapshot/','removeMember','transformStack\x20failed!','OpenSSL','searchParams','UPDATE_CURSOR','createCollaborator','image/jpg','commentUpdate$','[OfflineState]:\x20received\x20acknowledgement.','code','getRandomValues','clamp','getSnapshotAPIPath','dispose','disableLocalCache','fromCollab','CipherParams','members$','_localCacheService','_invKeySchedule','getImageSourceCache','search','localeService','prototype','saveImage','OTHER_CLIENTS_EDITING','SNAPSHOT_SERVER_URL_KEY','getUnitType','runId','responseType','/unit/','People','_executeRemoteChangeset','avatar','getMemberID','_onJoinRoomEvent','isPermissionRej','?size=','requireSession','_iv','_compressMutationService','[PendingState]:\x20received\x20acknowledgement.','setShowComponents','getDeserializedSheetBlock','encodeURIComponent','Decryptor','YUUMI_SUBSCRIPTION_NOT_FOUND','_collabSessionService','_transformService','_eventService','unit-cache-','_startCollaboration','hasOwnProperty','objectID','keySize','PasswordBasedCipher','submit\x20changeset\x20error!','_getAPIPrefixPath','_status$','SNAPSHOT_INVALID_SNAPSHOT','target','ciphertext','_socketService','UnitEmbedded','algo','SHOULD_CLOSE_CONN','SerializableCipher','UnitSnapshot','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_initCloseConn','_injector','push','defineProperty','APPLY_PERMISSION_DENIED','loadOfflineData','createEncryptor','_clearCollaborationTimeoutTimer','LICENSE_MAX_UNITS_EXCEEDED','_userManagerService','delete','get','blockSize','CONNECTOR_DATA_TOO_LARGE','univer-pro.collaboration-client.network-condition.service','_socket','_getAPIPrefix','awaitingChangeset','csRejEvent'];_0x4e44=function(){return _0x2fdc20;};return _0x4e44();}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};