@univerjs-pro/collaboration-client 0.6.4-nightly.202503111607 → 0.6.5-nightly.202503121607
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x597ab2=_0x5a0e;(function(_0x204147,_0x3a6238){var _0x3b7818=_0x5a0e,_0x3a6e22=_0x204147();while(!![]){try{var _0xb37d7d=parseInt(_0x3b7818(0x20f))/0x1*(-parseInt(_0x3b7818(0x389))/0x2)+-parseInt(_0x3b7818(0x315))/0x3+parseInt(_0x3b7818(0x2c3))/0x4+parseInt(_0x3b7818(0x3ec))/0x5+-parseInt(_0x3b7818(0x2f7))/0x6*(parseInt(_0x3b7818(0x1d9))/0x7)+-parseInt(_0x3b7818(0x441))/0x8+parseInt(_0x3b7818(0x40d))/0x9;if(_0xb37d7d===_0x3a6238)break;else _0x3a6e22['push'](_0x3a6e22['shift']());}catch(_0x5d1682){_0x3a6e22['push'](_0x3a6e22['shift']());}}}(_0x3e33,0x2e1f8));var Ai=Object['defineProperty'],Pi=(_0x2b1c4c,_0xb9babe,_0x3bc38a)=>_0xb9babe in _0x2b1c4c?Ai(_0x2b1c4c,_0xb9babe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bc38a}):_0x2b1c4c[_0xb9babe]=_0x3bc38a,N=(_0x31375d,_0x52d702,_0x2d0b27)=>Pi(_0x31375d,typeof _0x52d702!=_0x597ab2(0x1ba)?_0x52d702+'':_0x52d702,_0x2d0b27);import{createIdentifier as _0x3280f3,Inject as _0x5dc8b8,Injector as _0x253837,IConfigService as _0x52e356,ILogService as _0x2dcdf5,Disposable as _0x15930a,DisposableCollection as _0x592d39,toDisposable as _0x201b35,IUniverInstanceService as _0x541816,UserManagerService as _0x4d9e8f,UniverInstanceType as _0x31007f,LocaleService as _0x36508b,Optional as _0x5d860b,RxDisposable as _0x10e9f1,Tools as _0x1a2cf5,Rectangle as _0x239477,ICommandService as _0x336840,JSONX as _0xfa7585,CommandType as _0x1a1d72,IUndoRedoService as _0x28f227,IPermissionService as _0x2fef49,sequenceExecute as _0xac124e,Workbook as _0x3fa022,MentionType as _0x13619e,isInternalEditorID as _0x178305,LocalUndoRedoService as _0x37c0df,IContextService as _0xe57d12,DependentOn as _0x3539d3,Plugin as _0x26bf95,merge as _0x310f4e,mergeOverrideWithDependencies as _0x4618d9,IAuthzIoService as _0x3f1761,IMentionIOService as _0x304920,registerDependencies as _0xae4208,Quantity as _0x348dca,touchDependencies as _0xd224af}from'@univerjs/core';import{Subject as _0x4f59b9,merge as _0x10ee83,of as _0x46fdc6,BehaviorSubject as _0x103965,takeUntil as _0xc0520a,ReplaySubject as _0x3937fb,take as _0xec6115,map as _0x3d9c38,shareReplay as _0x523045,firstValueFrom as _0x1904c7,concatMap as _0x5d72ef}from'rxjs';import{map as _0x3e044c,take as _0x33f735,filter as _0x321733,delay as _0x5b5907,takeUntil as _0x50dffe}from'rxjs/operators';import{CollaborationEvent as _0x136edc,ISnapshotServerService as _0x31340a,parseChangesetToProtocol as _0x591f8f,ITransformService as _0x556cc7,isTransformMutationsWithChangesetSuccess as _0x5ed9d4,mapDocumentTypeToUniverType as _0x3dec86,RevisionService as _0x19d21b,isTransformChangesetsSuccess as _0x34649c,CompressMutationService as _0x648ae9,parseProtocolChangeset as _0x1dbd96,SnapshotService as _0x45512c,textEncoder as _0xbb0b23,b64DecodeUnicode as _0x1a94a2,isTransformMutationsWithChangesetFailure as _0x33e36c,UniverCollaborationPlugin as _0x48870e}from'@univerjs-pro/collaboration';import{HTTPService as _0x546518,ISocketService as _0x347daf,MergeInterceptorFactory as _0x340be7,HTTPRequest as _0x219ff8,UniverNetworkPlugin as _0x415ab9,ThresholdInterceptorFactory as _0x20c5e3}from'@univerjs/network';import{ITelemetryService as _0x3695d9}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1df105}from'@univerjs/docs';import{SheetsSelectionsService as _0x544d2c,SetSelectionsOperation as _0x406c21,InsertSheetMutation as _0x2c7924,EmptyMutation as _0x24845c,WorkbookEditablePermission as _0x2025bf,SheetPermissionInitController as _0xc05fc6}from'@univerjs/sheets';import{ImageSourceType as _0x411cb2,ImageUploadStatusType as _0x1bda46,IImageIoService as _0xaa189e}from'@univerjs/drawing';import{getGlobalObject as _0x5f29b0}from'@univerjs-pro/license';const pr=_0x597ab2(0x3fa),mr=_0x597ab2(0x28f),gr='SNAPSHOT_URL_KEY',xs=_0x597ab2(0x43d),Sr=0x7d0,Er=_0x597ab2(0x44f),Ir=_0x597ab2(0x3f9),Ls=_0x597ab2(0x22f),Tr=_0x597ab2(0x2d9),Cr=0x7530,mi=_0x597ab2(0x27f),gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x597ab2(0x2ba),ks=0x3e8,Or='COLLAB_SUBMIT_CHANGESET_URL',Nr=_0x597ab2(0x34e),Dr=_0x597ab2(0x2a5),wr=_0x597ab2(0x2f2),$s=_0x597ab2(0x226),Hs=_0x597ab2(0x273);var Si=(_0x572aa4=>(_0x572aa4[_0x572aa4['UNDEFINED']=0x0]=_0x597ab2(0x28a),_0x572aa4[_0x572aa4['OK']=0x1]='OK',_0x572aa4[_0x572aa4[_0x597ab2(0x357)]=0x2]=_0x597ab2(0x357),_0x572aa4[_0x572aa4[_0x597ab2(0x463)]=0x3]='PERMISSION_DENIED',_0x572aa4[_0x572aa4[_0x597ab2(0x457)]=0x4]=_0x597ab2(0x457),_0x572aa4[_0x572aa4[_0x597ab2(0x458)]=0x5]='UNAUTHENTICATED',_0x572aa4[_0x572aa4['ALREADY_EXISTS']=0x6]=_0x597ab2(0x27c),_0x572aa4[_0x572aa4[_0x597ab2(0x449)]=0x7]=_0x597ab2(0x449),_0x572aa4[_0x572aa4[_0x597ab2(0x1de)]=0x8]=_0x597ab2(0x1de),_0x572aa4[_0x572aa4[_0x597ab2(0x2c6)]=0x9]='COMPLETION_FINISHED',_0x572aa4[_0x572aa4[_0x597ab2(0x33a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x572aa4[_0x572aa4[_0x597ab2(0x219)]=0x1771]=_0x597ab2(0x219),_0x572aa4[_0x572aa4[_0x597ab2(0x38d)]=0x1772]=_0x597ab2(0x38d),_0x572aa4[_0x572aa4[_0x597ab2(0x448)]=0x1773]=_0x597ab2(0x448),_0x572aa4[_0x572aa4[_0x597ab2(0x1f7)]=0x1b59]='APPLY_REJECT',_0x572aa4[_0x572aa4[_0x597ab2(0x318)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x572aa4[_0x572aa4[_0x597ab2(0x3d8)]=0x1b5b]=_0x597ab2(0x3d8),_0x572aa4[_0x572aa4[_0x597ab2(0x44b)]=0x1b5c]=_0x597ab2(0x44b),_0x572aa4[_0x572aa4[_0x597ab2(0x370)]=0x1b5d]=_0x597ab2(0x370),_0x572aa4[_0x572aa4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x597ab2(0x1e0),_0x572aa4[_0x572aa4[_0x597ab2(0x3f5)]=0x2329]=_0x597ab2(0x3f5),_0x572aa4[_0x572aa4[_0x597ab2(0x424)]=0x232a]=_0x597ab2(0x424),_0x572aa4[_0x572aa4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x597ab2(0x42f),_0x572aa4[_0x572aa4[_0x597ab2(0x2be)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x572aa4[_0x572aa4[_0x597ab2(0x478)]=0x232d]=_0x597ab2(0x478),_0x572aa4[_0x572aa4[_0x597ab2(0x34f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x572aa4[_0x572aa4[_0x597ab2(0x33c)]=0x2712]=_0x597ab2(0x33c),_0x572aa4[_0x572aa4[_0x597ab2(0x462)]=0x2713]=_0x597ab2(0x462),_0x572aa4[_0x572aa4[_0x597ab2(0x349)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x572aa4[_0x572aa4[_0x597ab2(0x281)]=0x2af9]=_0x597ab2(0x281),_0x572aa4[_0x572aa4[_0x597ab2(0x211)]=-0x1]=_0x597ab2(0x211),_0x572aa4))(Si||{}),Q=(_0x39a51f=>(_0x39a51f[_0x39a51f[_0x597ab2(0x22a)]=0x0]='UNIVER_UNKNOWN',_0x39a51f[_0x39a51f[_0x597ab2(0x2db)]=0x1]=_0x597ab2(0x2db),_0x39a51f[_0x39a51f[_0x597ab2(0x1ed)]=0x2]=_0x597ab2(0x1ed),_0x39a51f[_0x39a51f['UNIVER_SLIDE']=0x3]=_0x597ab2(0x27a),_0x39a51f[_0x39a51f[_0x597ab2(0x409)]=0x4]='UNIVER_PROJECT',_0x39a51f[_0x39a51f['UNRECOGNIZED']=-0x1]=_0x597ab2(0x211),_0x39a51f))(Q||{}),F=(_0x36f250=>(_0x36f250[_0x36f250[_0x597ab2(0x230)]=0x0]=_0x597ab2(0x230),_0x36f250[_0x36f250[_0x597ab2(0x2b2)]=0x1]='HELLO',_0x36f250[_0x36f250[_0x597ab2(0x2b9)]=0x2]=_0x597ab2(0x2b9),_0x36f250[_0x36f250[_0x597ab2(0x435)]=0x3]=_0x597ab2(0x435),_0x36f250[_0x36f250[_0x597ab2(0x476)]=0x4]=_0x597ab2(0x476),_0x36f250[_0x36f250[_0x597ab2(0x3cf)]=0x5]=_0x597ab2(0x3cf),_0x36f250[_0x36f250[_0x597ab2(0x358)]=0x6]=_0x597ab2(0x358),_0x36f250[_0x36f250[_0x597ab2(0x211)]=-0x1]=_0x597ab2(0x211),_0x36f250))(F||{}),ge=(_0x6be8f0=>(_0x6be8f0[_0x6be8f0[_0x597ab2(0x436)]=0x0]=_0x597ab2(0x436),_0x6be8f0[_0x6be8f0['OK']=0x1]='OK',_0x6be8f0[_0x6be8f0[_0x597ab2(0x31d)]=0x2]=_0x597ab2(0x31d),_0x6be8f0[_0x6be8f0[_0x597ab2(0x2c8)]=0x3e9]=_0x597ab2(0x2c8),_0x6be8f0[_0x6be8f0[_0x597ab2(0x312)]=0x3ea]=_0x597ab2(0x312),_0x6be8f0[_0x6be8f0['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x597ab2(0x243),_0x6be8f0[_0x6be8f0[_0x597ab2(0x3df)]=0x3ec]=_0x597ab2(0x3df),_0x6be8f0[_0x6be8f0[_0x597ab2(0x211)]=-0x1]=_0x597ab2(0x211),_0x6be8f0))(ge||{}),Ei=(_0x5b822d=>(_0x5b822d[_0x5b822d[_0x597ab2(0x33d)]=0x0]=_0x597ab2(0x33d),_0x5b822d[_0x5b822d[_0x597ab2(0x267)]=0x1]=_0x597ab2(0x267),_0x5b822d[_0x5b822d['HttpExport']=0x2]=_0x597ab2(0x2a1),_0x5b822d[_0x5b822d['UnitEmbedded']=0x3]='UnitEmbedded',_0x5b822d[_0x5b822d[_0x597ab2(0x290)]=0x4]=_0x597ab2(0x290),_0x5b822d[_0x5b822d[_0x597ab2(0x211)]=-0x1]='UNRECOGNIZED',_0x5b822d))(Ei||{});const q=_0x597ab2(0x426),Ur={};var se=(_0x4b3115=>(_0x4b3115[_0x597ab2(0x2a7)]='OTHER_CLIENT_EDITING',_0x4b3115['PERMISSION_DENIED']=_0x597ab2(0x463),_0x4b3115['CONFLICT']='CONFLICT',_0x4b3115[_0x597ab2(0x255)]=_0x597ab2(0x255),_0x4b3115[_0x597ab2(0x19f)]='JOIN_ROOM_FAILED',_0x4b3115[_0x597ab2(0x24f)]='SOCKET_FAILED_RETRY',_0x4b3115[_0x597ab2(0x26c)]=_0x597ab2(0x26c),_0x4b3115[_0x597ab2(0x260)]='SUBMIT_CHANGESET_TIMEOUT',_0x4b3115))(se||{});class pe{constructor(){var _0x1a0c59=_0x597ab2;N(this,'_event$',new _0x4f59b9()),N(this,_0x1a0c59(0x2ac),this[_0x1a0c59(0x1fd)]['asObservable']());}[_0x597ab2(0x3aa)](_0x588f5b){var _0x69f9fc=_0x597ab2;this['_event$'][_0x69f9fc(0x301)](_0x588f5b);}}const Ar=_0x3280f3(_0x597ab2(0x40c));function Pr(_0xd9fda7){var _0x491879=_0x597ab2,_0x1c6550,_0x102015,_0x4f0054,_0x574740,_0x3bc2e1;const _0x25f380=_0xd9fda7[_0x491879(0x1a6)],_0x1e3d38=JSON[_0x491879(0x40e)](_0x25f380);switch(_0x1e3d38[_0x491879(0x25e)]){case F[_0x491879(0x3cf)]:case F[_0x491879(0x2b2)]:{const _0x47b34a=_0x1e3d38[_0x491879(0x3b6)];return{..._0x1e3d38,'data':_0x47b34a,'cmd':_0x1e3d38['cmd']};}case F[_0x491879(0x2b9)]:{const _0x3e6522=_0x1e3d38[_0x491879(0x35c)];return{..._0x1e3d38,'data':_0x3e6522,'cmd':_0x1e3d38[_0x491879(0x25e)]};}case F[_0x491879(0x358)]:{const _0x1cf91f=_0x1e3d38[_0x491879(0x33f)];switch(_0x1cf91f[_0x491879(0x210)]){case _0x136edc[_0x491879(0x3dd)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x1c6550=_0x1cf91f[_0x491879(0x3e0)])==null?void 0x0:_0x1c6550['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc['CHANGESET_ACK']:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x102015=_0x1cf91f[_0x491879(0x415)])==null?void 0x0:_0x102015['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc['NEW_CHANGESETS']:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x4f0054=_0x1cf91f['newCsEvent'])==null?void 0x0:_0x4f0054['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x1f4)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x574740=_0x1cf91f['csRejEvent'])==null?void 0x0:_0x574740['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc['CHANGESET_SHOULD_RETRY']:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':(_0x3bc2e1=_0x1cf91f[_0x491879(0x47e)])==null?void 0x0:_0x3bc2e1['cs']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x465)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x307)]},'cmd':_0x1e3d38['cmd']};case _0x136edc[_0x491879(0x310)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x3de)]},'cmd':_0x1e3d38['cmd']};case _0x136edc[_0x491879(0x225)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x249)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x398)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x464)]},'cmd':_0x1e3d38['cmd']};case _0x136edc[_0x491879(0x330)]:case _0x136edc[_0x491879(0x37b)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x377)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x455)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x464)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x1d8)]:return{..._0x1e3d38,'data':_0x1cf91f,'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x2eb)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x3b3)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x202)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x422)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x271)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f['shouldCloseConn']},'cmd':_0x1e3d38[_0x491879(0x25e)]};case _0x136edc[_0x491879(0x3e7)]:return{..._0x1e3d38,'data':{..._0x1cf91f,'data':_0x1cf91f[_0x491879(0x47d)]},'cmd':_0x1e3d38[_0x491879(0x25e)]};default:return _0x1e3d38;}}default:return _0x1e3d38;}}function xr(_0x52a24e){var _0x334b04=_0x597ab2;switch(_0x52a24e[_0x334b04(0x25e)]){case F[_0x334b04(0x3cf)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x52a24e[_0x334b04(0x25e)],'routeKey':_0x52a24e['routeKey']});case F[_0x334b04(0x476)]:{let _0xaef086;switch(_0x52a24e[_0x334b04(0x1a6)]['eventID']){case _0x136edc[_0x334b04(0x465)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x465)],'updateCursorEvent':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x225)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x225)],'leaveEvent':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x310)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x310)],'joinEvent':_0x52a24e['data'][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x398)]:{_0xaef086={'eventID':_0x136edc['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x37b)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x37b)],'liveShareOperation':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x455)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x455)],'liveShareTerminate':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x2c7)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x2c7)],'liveShareRequestHost':_0x52a24e[_0x334b04(0x1a6)][_0x334b04(0x1a6)]};break;}case _0x136edc[_0x334b04(0x330)]:{_0xaef086={'eventID':_0x136edc[_0x334b04(0x330)]};break;}default:_0xaef086={'eventID':_0x52a24e[_0x334b04(0x1a6)]['eventID']};}return JSON['stringify']({'cmd':_0x52a24e['cmd'],'routeKey':_0x52a24e['routeKey'],'collaMsg':_0xaef086});}case F['JOIN']:return JSON[_0x334b04(0x1c7)]({'cmd':_0x52a24e[_0x334b04(0x25e)],'routeKey':_0x52a24e[_0x334b04(0x2d7)],'joinReq':_0x52a24e['data']});case F[_0x334b04(0x435)]:return JSON[_0x334b04(0x1c7)]({'cmd':_0x52a24e[_0x334b04(0x25e)],'routeKey':_0x52a24e['routeKey'],'leaveReq':_0x52a24e[_0x334b04(0x1a6)]});default:throw new Error(_0x334b04(0x450));}}var Lr=Object[_0x597ab2(0x3e5)],Mr=(_0x453a1f,_0x3ced53,_0x1a2618,_0x3739ca)=>{for(var _0x427153=_0x3739ca>0x1?void 0x0:_0x3739ca?Lr(_0x3ced53,_0x1a2618):_0x3ced53,_0x4a8759=_0x453a1f['length']-0x1,_0x3e3ccb;_0x4a8759>=0x0;_0x4a8759--)(_0x3e3ccb=_0x453a1f[_0x4a8759])&&(_0x427153=_0x3e3ccb(_0x427153)||_0x427153);return _0x427153;},Ue=(_0x44ca6f,_0x43f7a0)=>(_0x2dd860,_0x3bba30)=>_0x43f7a0(_0x2dd860,_0x3bba30,_0x44ca6f);const Ii=_0x3280f3(_0x597ab2(0x1e4));function kr(_0x897134,_0x578f4e,_0x13063e){var _0x4bd355=_0x597ab2;return _0x897134+'/'+_0x578f4e+'/unit/'+_0x13063e+_0x4bd355(0x47c);}let Vt=class extends _0x15930a{constructor(_0x550e5f,_0x13fbb5,_0x56f7ce,_0x4f2559,_0x2a25ef){var _0x2d229c=_0x597ab2;super(),this[_0x2d229c(0x44a)]=_0x550e5f,this[_0x2d229c(0x259)]=_0x13fbb5,this[_0x2d229c(0x252)]=_0x56f7ce,this[_0x2d229c(0x1fe)]=_0x4f2559,this[_0x2d229c(0x331)]=_0x2a25ef;}[_0x597ab2(0x30d)](_0x251eae){var _0x555c16=_0x597ab2;const _0x322586=this[_0x555c16(0x44a)][_0x555c16(0x277)](_0x347daf);if(!_0x322586)throw new Error(_0x555c16(0x206));const _0x5be3c1=_0x322586[_0x555c16(0x36d)](_0x251eae);if(!_0x5be3c1)throw new Error(_0x555c16(0x2ee));const _0x492958=new _0x592d39(),_0x4850f1=new _0x4f59b9();_0x492958[_0x555c16(0x488)](_0x5be3c1[_0x555c16(0x308)][_0x555c16(0x470)](_0x5081d5=>_0x4850f1['next'](_0x5081d5))),_0x492958[_0x555c16(0x488)](_0x201b35(()=>_0x4850f1[_0x555c16(0x323)]()));const _0x354af2=new _0x4f59b9();_0x492958[_0x555c16(0x488)](_0x5be3c1[_0x555c16(0x1d0)]['subscribe'](_0x9c6e10=>_0x354af2[_0x555c16(0x301)](_0x9c6e10))),_0x492958[_0x555c16(0x488)](_0x201b35(()=>_0x354af2[_0x555c16(0x323)]()));const _0xa9a61d=new _0x4f59b9();_0x492958[_0x555c16(0x488)](_0x5be3c1['message$'][_0x555c16(0x470)](_0x4a0306=>{var _0x240dc5=_0x555c16;const _0x4fdff2=Pr(_0x4a0306);_0xa9a61d[_0x240dc5(0x301)](_0x4fdff2);})),_0x492958[_0x555c16(0x488)](_0x201b35(()=>_0xa9a61d[_0x555c16(0x323)]()));let _0x15a9f2;const _0xf7674d=()=>{var _0x3f9e6d=_0x555c16;_0x354af2['next'](new Event(_0x3f9e6d(0x283))),_0x4850f1['next'](new Event(_0x3f9e6d(0x283))),_0x15a9f2[_0x3f9e6d(0x3cc)]();};return _0x15a9f2={'memberID':'','close$':_0x4850f1[_0x555c16(0x2e7)](),'error$':_0x354af2[_0x555c16(0x2e7)](),'open$':_0x5be3c1['open$'],'message$':_0xa9a61d[_0x555c16(0x2e7)](),'send':_0x46e007=>{var _0x218d94=_0x555c16;if(_0x46e007[_0x218d94(0x25e)]===F[_0x218d94(0x476)]){if(_0x46e007[_0x218d94(0x1a6)][_0x218d94(0x210)]===_0x136edc[_0x218d94(0x354)]){this['_submitChangeset'](_0x15a9f2,_0x46e007[_0x218d94(0x1a6)])[_0x218d94(0x2fb)](_0x574a47=>{var _0x24edd8=_0x218d94;this['_logService'][_0x24edd8(0x2ab)](_0x574a47),_0xf7674d();});return;}if(_0x46e007[_0x218d94(0x1a6)][_0x218d94(0x210)]===_0x136edc['FETCH_MISSING']){const _0x21ba42=_0x46e007['data'];this[_0x218d94(0x2ff)](_0x21ba42)[_0x218d94(0x296)](_0x1bdb27=>{var _0x3356f4=_0x218d94;_0xa9a61d['next']({'cmd':F[_0x3356f4(0x358)],'code':ge['OK'],'routeKey':_0x21ba42[_0x3356f4(0x1a6)][_0x3356f4(0x1f6)],'routeType':'','data':{'eventID':_0x136edc[_0x3356f4(0x1a0)],'data':{'changesets':_0x1bdb27}}});})[_0x218d94(0x2fb)](_0x42d268=>{var _0x59712d=_0x218d94;this[_0x59712d(0x1fe)][_0x59712d(0x2ab)](_0x42d268),_0xf7674d();});return;}}_0x5be3c1[_0x218d94(0x3f6)](xr(_0x46e007));},'close':()=>{var _0x4bd3c0=_0x555c16;_0x5be3c1[_0x4bd3c0(0x3cc)](),_0x492958[_0x4bd3c0(0x3a4)]();}},_0x15a9f2;}async[_0x597ab2(0x265)](_0x522405,_0x1cfca7){var _0x5c021f=_0x597ab2,_0x1f5820,_0x583d96;const {unitType:_0x548c64,unitID:_0x3504cd,changeset:_0x7ee03e}=_0x1cfca7['data'],_0x2e4e8d={'unitID':_0x3504cd,'memberID':_0x522405['memberID'],'type':_0x548c64,'changeset':_0x591f8f(_0x7ee03e)},_0x3fb926=this[_0x5c021f(0x252)]['getConfig'](Or),_0x1fbfff=this[_0x5c021f(0x252)][_0x5c021f(0x2d1)](q),_0x1b167f=kr((_0x583d96=(_0x1f5820=_0x1fbfff==null?void 0x0:_0x1fbfff[_0x5c021f(0x39f)])!=null?_0x1f5820:_0x3fb926)!=null?_0x583d96:Nr,_0x548c64,_0x3504cd);try{await this[_0x5c021f(0x259)][_0x5c021f(0x1c6)](_0x1b167f,{'body':_0x2e4e8d});}catch(_0x32b5b5){throw this[_0x5c021f(0x1fe)]['error'](_0x5c021f(0x321),_0x5c021f(0x41a)),_0x32b5b5;}}async[_0x597ab2(0x2ff)](_0x41b16e){var _0x57e1d4=_0x597ab2;const {unitID:_0x3d5e4f,from:_0x144444,to:_0x350cfb,unitType:_0x403841}=_0x41b16e[_0x57e1d4(0x1a6)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3d5e4f,'type':_0x403841,'from':_0x144444,'to':_0x350cfb}))[_0x57e1d4(0x204)];}};Vt=Mr([Ue(0x0,_0x5dc8b8(_0x253837)),Ue(0x1,_0x5dc8b8(_0x546518)),Ue(0x2,_0x52e356),Ue(0x3,_0x2dcdf5),Ue(0x4,_0x31340a)],Vt);const $r=_0x597ab2(0x350);function Hr(_0x544379){var _0x3a7d7f=_0x597ab2;return JSON[_0x3a7d7f(0x1c7)](_0x544379)['length'];}class Ti{constructor(){var _0x5bc121=_0x597ab2;N(this,_0x5bc121(0x392),new _0x4f59b9()),N(this,_0x5bc121(0x319),this[_0x5bc121(0x392)][_0x5bc121(0x2e7)]());}[_0x597ab2(0x201)](_0x1d38aa){var _0x2944d9=_0x597ab2;this[_0x2944d9(0x392)]['next'](_0x1d38aa);}}var Br=Object[_0x597ab2(0x3e5)],jr=(_0x2d592f,_0x2a2b52,_0x124340,_0x582596)=>{var _0x1fa124=_0x597ab2;for(var _0x11db27=_0x582596>0x1?void 0x0:_0x582596?Br(_0x2a2b52,_0x124340):_0x2a2b52,_0x193dcc=_0x2d592f[_0x1fa124(0x419)]-0x1,_0x4d04ca;_0x193dcc>=0x0;_0x193dcc--)(_0x4d04ca=_0x2d592f[_0x193dcc])&&(_0x11db27=_0x4d04ca(_0x11db27)||_0x11db27);return _0x11db27;},Wt=(_0x19019f,_0x5e859a)=>(_0x1c9394,_0x532bc3)=>_0x5e859a(_0x1c9394,_0x532bc3,_0x19019f);let xe=class extends _0x15930a{constructor(_0x485f3f,_0x5ea4dc){var _0x5cd083=_0x597ab2;super(),N(this,_0x5cd083(0x380),new Map()),N(this,_0x5cd083(0x355),new _0x4f59b9()),(this[_0x5cd083(0x3d9)]=_0x485f3f,this['_userManagerService']=_0x5ea4dc,this[_0x5cd083(0x420)](_0x10ee83(this[_0x5cd083(0x3d9)][_0x5cd083(0x269)](_0x31007f['UNIVER_SHEET'])[_0x5cd083(0x218)](_0x3e044c(_0x1c1819=>_0x1c1819[_0x5cd083(0x48a)]())),this[_0x5cd083(0x3d9)]['getTypeOfUnitDisposed$'](_0x31007f[_0x5cd083(0x2db)])['pipe'](_0x3e044c(_0x1bffec=>_0x1bffec[_0x5cd083(0x48a)]())),this[_0x5cd083(0x3d9)][_0x5cd083(0x269)](_0x31007f[_0x5cd083(0x27a)])[_0x5cd083(0x218)](_0x3e044c(_0x5a2cbb=>_0x5a2cbb[_0x5cd083(0x48a)]())))['subscribe'](_0x28b60a=>this[_0x5cd083(0x28e)](_0x28b60a))));}['waitForRoom$'](_0x12c1f9){var _0x1588f6=_0x597ab2;return this[_0x1588f6(0x380)][_0x1588f6(0x379)](_0x12c1f9)?_0x46fdc6(this[_0x1588f6(0x380)][_0x1588f6(0x277)](_0x12c1f9)):this['_roomCreated$'][_0x1588f6(0x218)](_0x3e044c(_0x150980=>{var _0x53a4b4=_0x1588f6;if(_0x150980===_0x12c1f9)return this['_roomMembers'][_0x53a4b4(0x277)](_0x150980);}));}[_0x597ab2(0x329)](_0x3d9ef4){var _0x176096=_0x597ab2;this[_0x176096(0x217)][_0x176096(0x329)](_0x3d9ef4);}[_0x597ab2(0x445)](){var _0x184386=_0x597ab2;return this['_userManagerService'][_0x184386(0x445)]();}['updateMember'](_0x2b767e,_0x4beeb6){var _0x440fd7=_0x597ab2;let _0x2cdbe1=this['_roomMembers'][_0x440fd7(0x277)](_0x2b767e);_0x2cdbe1||(_0x2cdbe1=new Fr(),this['_roomMembers']['set'](_0x2b767e,_0x2cdbe1),this['_roomCreated$'][_0x440fd7(0x301)](_0x2b767e)),_0x2cdbe1[_0x440fd7(0x35a)](_0x4beeb6);}['removeMember'](_0x5a5d56,_0xeeedf4){var _0x20bcce=_0x597ab2;const _0x3c84ff=this['_roomMembers'][_0x20bcce(0x277)](_0x5a5d56);_0x3c84ff&&_0x3c84ff['removeMember'](_0xeeedf4);}[_0x597ab2(0x1e5)](_0x561529){return this['_roomMembers']['get'](_0x561529);}[_0x597ab2(0x30e)](_0x25e567,_0x1e7bfd){var _0xc94b54=_0x597ab2;const _0xbfe4e9=this['_roomMembers'][_0xc94b54(0x277)](_0x25e567);if(_0xbfe4e9)return _0xbfe4e9[_0xc94b54(0x30e)](_0x1e7bfd);}['_removeRoom'](_0x407c1c){var _0x1d3d01=_0x597ab2;const _0x430870=this[_0x1d3d01(0x380)][_0x1d3d01(0x277)](_0x407c1c);_0x430870&&(_0x430870[_0x1d3d01(0x3a4)](),this[_0x1d3d01(0x380)][_0x1d3d01(0x399)](_0x407c1c));}[_0x597ab2(0x3a4)](){var _0x21559c=_0x597ab2;this[_0x21559c(0x380)][_0x21559c(0x1ff)](_0x3e115f=>_0x3e115f[_0x21559c(0x3a4)]()),this[_0x21559c(0x380)]['clear'](),this[_0x21559c(0x355)][_0x21559c(0x323)]();}};xe=jr([Wt(0x0,_0x541816),Wt(0x1,_0x5dc8b8(_0x4d9e8f))],xe);class Fr extends _0x15930a{constructor(){var _0xb75b6b=_0x597ab2;super(...arguments),N(this,_0xb75b6b(0x26d),new Map()),N(this,_0xb75b6b(0x3ad),new _0x103965(this[_0xb75b6b(0x26d)])),N(this,_0xb75b6b(0x28b),this['_members$'][_0xb75b6b(0x2e7)]());}[_0x597ab2(0x3a4)](){var _0x513df8=_0x597ab2;this[_0x513df8(0x26d)][_0x513df8(0x481)]();}[_0x597ab2(0x35a)](_0x385541){var _0x50783f=_0x597ab2;this['_members'][_0x50783f(0x1e6)](_0x385541[_0x50783f(0x374)],_0x385541),this[_0x50783f(0x444)]();}[_0x597ab2(0x37e)](_0x4bdfc5){this['_members']['delete'](_0x4bdfc5);}['getMember'](_0x54b4ae){var _0x41d1c8=_0x597ab2;return this['_members'][_0x41d1c8(0x277)](_0x54b4ae);}['getAllMembers'](){var _0xd6527a=_0x597ab2;return Array[_0xd6527a(0x24d)](this[_0xd6527a(0x26d)]['values']());}['_emitMembers'](){var _0x727eba=_0x597ab2;this[_0x727eba(0x3ad)][_0x727eba(0x301)](this[_0x727eba(0x26d)]);}}var Gr=Object[_0x597ab2(0x3e5)],Vr=(_0x585c29,_0x47523,_0x4989a5,_0x3b4188)=>{var _0x588026=_0x597ab2;for(var _0xc8d0e0=_0x3b4188>0x1?void 0x0:_0x3b4188?Gr(_0x47523,_0x4989a5):_0x47523,_0x3f2f18=_0x585c29[_0x588026(0x419)]-0x1,_0x372355;_0x3f2f18>=0x0;_0x3f2f18--)(_0x372355=_0x585c29[_0x3f2f18])&&(_0xc8d0e0=_0x372355(_0xc8d0e0)||_0xc8d0e0);return _0xc8d0e0;},me=(_0x1009d0,_0x596829)=>(_0x238b9b,_0xe102cc)=>_0x596829(_0x238b9b,_0xe102cc,_0x1009d0),Ee=(_0x4f9316=>(_0x4f9316[_0x4f9316[_0x597ab2(0x326)]=0x0]=_0x597ab2(0x326),_0x4f9316[_0x4f9316[_0x597ab2(0x36c)]=0x1]=_0x597ab2(0x36c),_0x4f9316[_0x4f9316[_0x597ab2(0x46b)]=0x2]='OFFLINE',_0x4f9316[_0x4f9316['ONLINE']=0x3]=_0x597ab2(0x44d),_0x4f9316))(Ee||{});const Kt={[ge[_0x597ab2(0x31d)]]:'session.join-failed',[ge['JOIN_ROOM_FULL']]:'session.room-full',[ge[_0x597ab2(0x312)]]:_0x597ab2(0x3b1),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x597ab2(0x2e0),[ge[_0x597ab2(0x3df)]]:'session.room-cnt-exceeds'};let Et=class extends _0x10e9f1{constructor(_0x55a1b6,_0x379849,_0x187fe4,_0x384337,_0x20f0e3,_0x3a29cb,_0x47cde4,_0x287169,_0x3027c9){var _0x3b1630=_0x597ab2;super(),N(this,_0x3b1630(0x3a5),new _0x103965(0x0)),N(this,_0x3b1630(0x364),this[_0x3b1630(0x3a5)][_0x3b1630(0x2e7)]()),N(this,'_event$',new _0x4f59b9()),N(this,_0x3b1630(0x2ac),this[_0x3b1630(0x1fd)][_0x3b1630(0x2e7)]()),N(this,'_socket'),N(this,_0x3b1630(0x29e)),N(this,'_collaborationTimeoutTimer'),N(this,_0x3b1630(0x391),!0x1),N(this,_0x3b1630(0x3ea),null),(this[_0x3b1630(0x2a8)]=_0x55a1b6,this[_0x3b1630(0x1fe)]=_0x187fe4,this[_0x3b1630(0x252)]=_0x384337,this[_0x3b1630(0x258)]=_0x20f0e3,this[_0x3b1630(0x41e)]=_0x3a29cb,this['_commentService']=_0x47cde4,this['_collaborationUIEventService']=_0x287169,this[_0x3b1630(0x41b)]=_0x3027c9,this[_0x3b1630(0x391)]=!!this[_0x3b1630(0x41b)],_0x379849[_0x3b1630(0x218)](_0xc0520a(this[_0x3b1630(0x1bb)]))[_0x3b1630(0x470)](_0x53c12f=>{var _0x13788f=_0x3b1630,_0xfb33d9;typeof _0x53c12f>'u'||(this['_socket']=_0x53c12f,_0x53c12f?(this[_0x13788f(0x1f3)](_0x53c12f),this[_0x13788f(0x29e)]=_0x53c12f[_0x13788f(0x3b2)][_0x13788f(0x470)](_0x32a4cc=>{var _0x142f1e=_0x13788f;_0x32a4cc['routeKey']===this[_0x142f1e(0x2a8)]&&this['_onCombEvent'](_0x32a4cc);})):(this[_0x13788f(0x1dc)](),this['_sessionStatus$'][_0x13788f(0x301)](0x2),(_0xfb33d9=this['_socketMessageSubscription'])==null||_0xfb33d9[_0x13788f(0x48e)](),this[_0x13788f(0x29e)]=null));}));}get[_0x597ab2(0x438)](){var _0x546839=_0x597ab2;return this['_sessionStatus$'][_0x546839(0x19a)]();}[_0x597ab2(0x28d)](){var _0x2eae88=_0x597ab2,_0x12d3a4,_0x42202c;return(_0x42202c=(_0x12d3a4=this[_0x2eae88(0x1a5)])==null?void 0x0:_0x12d3a4[_0x2eae88(0x374)])!=null?_0x42202c:null;}[_0x597ab2(0x3a4)](){var _0x3ef07c=_0x597ab2;super[_0x3ef07c(0x3a4)](),this[_0x3ef07c(0x1bb)][_0x3ef07c(0x301)](),this[_0x3ef07c(0x1bb)]['complete']();}[_0x597ab2(0x3cc)](){var _0x22a91c=_0x597ab2,_0x5a8df6,_0x523448;this[_0x22a91c(0x1dc)](),(_0x5a8df6=this[_0x22a91c(0x1a5)])==null||_0x5a8df6[_0x22a91c(0x3f6)]({'cmd':F[_0x22a91c(0x435)],'data':{'roomID':this[_0x22a91c(0x2a8)]}}),(_0x523448=this[_0x22a91c(0x1a5)])==null||_0x523448[_0x22a91c(0x3cc)](),this[_0x22a91c(0x1fd)][_0x22a91c(0x323)](),this['_sessionStatus$']['complete'](),this[_0x22a91c(0x3a4)]();}[_0x597ab2(0x32e)](_0x2e5f0f){var _0x34fa71=_0x597ab2;_0x2e5f0f['cmd']===F['JOIN']?this[_0x34fa71(0x245)](_0x2e5f0f):_0x2e5f0f[_0x34fa71(0x25e)]===F[_0x34fa71(0x358)]&&this[_0x34fa71(0x473)](_0x2e5f0f);}[_0x597ab2(0x1f3)](_0x1c629a){var _0x22f0f6=_0x597ab2;this[_0x22f0f6(0x3a5)][_0x22f0f6(0x301)](0x1),_0x1c629a[_0x22f0f6(0x3f6)]({'cmd':F['JOIN'],'routeKey':this[_0x22f0f6(0x2a8)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x597ab2(0x245)](_0x26ff40){var _0x436e44=_0x597ab2,_0x4d008f;if(_0x26ff40['code']in Kt){this[_0x436e44(0x352)][_0x436e44(0x3aa)]({'id':se['JOIN_ROOM_FAILED'],'data':Kt[_0x26ff40[_0x436e44(0x1b8)]]}),this['_sessionStatus$'][_0x436e44(0x301)](0x2);return;}this['_sessionStatus$'][_0x436e44(0x301)](0x3);const _0x5048f3=(_0x4d008f=_0x26ff40['data'][_0x436e44(0x427)][this['_unitID']])==null?void 0x0:_0x4d008f[_0x436e44(0x39b)];_0x5048f3&&_0x5048f3[_0x436e44(0x1ff)](_0x22b5b1=>this['_memberService']['updateMember'](this[_0x436e44(0x2a8)],_0x22b5b1));}['_onRecvEvent'](_0x52505d){var _0x403f15=_0x597ab2;try{const _0xec4986=_0x52505d[_0x403f15(0x1a6)];switch(_0xec4986['eventID']){case _0x136edc[_0x403f15(0x310)]:this['_onUserJoin'](_0xec4986),this['_event$'][_0x403f15(0x301)](_0xec4986);break;case _0x136edc[_0x403f15(0x225)]:this['_onUserLeave'](_0xec4986),this['_event$'][_0x403f15(0x301)](_0xec4986);break;case _0x136edc[_0x403f15(0x43c)]:case _0x136edc[_0x403f15(0x356)]:this[_0x403f15(0x313)](),this[_0x403f15(0x285)](),this['_event$'][_0x403f15(0x301)](_0xec4986);break;case _0x136edc[_0x403f15(0x1d8)]:this[_0x403f15(0x1fe)][_0x403f15(0x2ab)](_0x403f15(0x2df)+JSON[_0x403f15(0x1c7)](_0xec4986)),this[_0x403f15(0x1fd)]['next'](_0xec4986);break;case _0x136edc[_0x403f15(0x2eb)]:this[_0x403f15(0x489)][_0x403f15(0x201)](_0xec4986[_0x403f15(0x1a6)]),this[_0x403f15(0x1fd)][_0x403f15(0x301)](_0xec4986);break;default:this[_0x403f15(0x1fd)][_0x403f15(0x301)](_0xec4986);}}catch(_0x47fd13){this[_0x403f15(0x1fe)][_0x403f15(0x2ab)](_0x47fd13,_0x52505d);}}['_onUserJoin'](_0x3b7d26){var _0x19a144=_0x597ab2;this[_0x19a144(0x41e)][_0x19a144(0x35a)](this[_0x19a144(0x2a8)],_0x3b7d26['data']);}[_0x597ab2(0x3be)](_0x5ea37a){var _0x5b1d91=_0x597ab2;this['_memberService']['removeMember'](this[_0x5b1d91(0x2a8)],_0x5ea37a[_0x5b1d91(0x1a6)][_0x5b1d91(0x374)]);}async[_0x597ab2(0x3f6)](_0x29a3c6,_0x11e022){var _0x2a951d=_0x597ab2;if(this['sessionStatus']!==0x3||!this[_0x2a951d(0x1a5)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x29a3c6[_0x2a951d(0x210)]===_0x136edc[_0x2a951d(0x354)]&&(this[_0x2a951d(0x3bf)](),this[_0x2a951d(0x306)](_0x29a3c6)),this['_socket'][_0x2a951d(0x3f6)]({'cmd':F['INGEST'],'routeKey':_0x11e022,'routeType':'','data':_0x29a3c6});}catch(_0x35508f){this['_logService'][_0x2a951d(0x2ab)](_0x35508f);}}[_0x597ab2(0x3bf)](){var _0x22ba79=_0x597ab2,_0x94f95e;this[_0x22ba79(0x3ae)]=setTimeout(()=>{var _0x4a0de2=_0x22ba79;this[_0x4a0de2(0x3ae)]=null,this['_collaborationUIEventService'][_0x4a0de2(0x3aa)]({'id':se[_0x4a0de2(0x260)]});},(_0x94f95e=this[_0x22ba79(0x252)][_0x22ba79(0x2d1)](mi))!=null?_0x94f95e:gi);}['_clearCollaborationTimeoutTimer'](){var _0x3fa12f=_0x597ab2;this[_0x3fa12f(0x3ae)]&&(clearTimeout(this[_0x3fa12f(0x3ae)]),this[_0x3fa12f(0x3ae)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x28bd29){var _0x66e7c1=_0x597ab2;if(!this[_0x66e7c1(0x391)])return;const {data:_0x412986}=_0x28bd29,{unitID:_0x4b6149,changeset:_0x4525e4}=_0x412986,{mutations:_0x5473f3,type:_0xd899c6}=_0x4525e4;this[_0x66e7c1(0x3ea)]={'unitId':_0x4b6149,'type':_0xd899c6,'startTime':performance[_0x66e7c1(0x42b)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x5473f3)};}[_0x597ab2(0x313)](){var _0x43b511=_0x597ab2;if(this[_0x43b511(0x391)]){if(!this[_0x43b511(0x3ea)]){this['_logService'][_0x43b511(0x2ab)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x43b511(0x233)]=performance[_0x43b511(0x42b)](),this['_telemetryInfo'][_0x43b511(0x304)]=this[_0x43b511(0x3ea)]['stopTime']-this['_telemetryInfo'][_0x43b511(0x32d)],this['_telemetryService'][_0x43b511(0x235)]($r,this[_0x43b511(0x3ea)]),this[_0x43b511(0x3ea)]=null;}}[_0x597ab2(0x1dc)](){var _0x1ff475=_0x597ab2;this[_0x1ff475(0x3ea)]=null;}};Et=Vr([me(0x2,_0x2dcdf5),me(0x3,_0x52e356),me(0x4,_0x5dc8b8(_0x36508b)),me(0x5,_0x5dc8b8(xe)),me(0x6,_0x5dc8b8(Ti)),me(0x7,_0x5dc8b8(pe)),me(0x8,_0x5d860b(_0x3695d9))],Et);var Wr=Object['getOwnPropertyDescriptor'],Kr=(_0x1fba66,_0x22bc0f,_0xfdd714,_0x4d166b)=>{var _0x1f7c8d=_0x597ab2;for(var _0x199369=_0x4d166b>0x1?void 0x0:_0x4d166b?Wr(_0x22bc0f,_0xfdd714):_0x22bc0f,_0x34f8f=_0x1fba66[_0x1f7c8d(0x419)]-0x1,_0x452b57;_0x34f8f>=0x0;_0x34f8f--)(_0x452b57=_0x1fba66[_0x34f8f])&&(_0x199369=_0x452b57(_0x199369)||_0x199369);return _0x199369;},be=(_0x4bfc03,_0x47ded6)=>(_0x187fbd,_0x3c6eab)=>_0x47ded6(_0x187fbd,_0x3c6eab,_0x4bfc03);let Le=class extends _0x15930a{constructor(_0x4c6566,_0x53e34e,_0x51f25f,_0x5e292f,_0x2384b3,_0x502c02){var _0x3738ab=_0x597ab2;super(),N(this,_0x3738ab(0x3e6),new _0x103965(void 0x0)),N(this,'socket$',this[_0x3738ab(0x3e6)]['asObservable']()),N(this,_0x3738ab(0x439),null),N(this,_0x3738ab(0x32f),new Map()),N(this,_0x3738ab(0x339),new _0x103965(Ee[_0x3738ab(0x326)])),N(this,_0x3738ab(0x3c7),this[_0x3738ab(0x339)][_0x3738ab(0x2e7)]()),N(this,_0x3738ab(0x1d4),!0x1),N(this,_0x3738ab(0x1c1)),N(this,'_retryCount',0x0),N(this,_0x3738ab(0x1e3)),N(this,_0x3738ab(0x47f)),(this[_0x3738ab(0x44a)]=_0x4c6566,this[_0x3738ab(0x1fe)]=_0x53e34e,this[_0x3738ab(0x252)]=_0x51f25f,this[_0x3738ab(0x3a2)]=_0x5e292f,this[_0x3738ab(0x352)]=_0x2384b3,this[_0x3738ab(0x36e)]=_0x502c02,this[_0x3738ab(0x3c4)]());}get['_socket'](){var _0x7c7523=_0x597ab2;return this[_0x7c7523(0x3e6)][_0x7c7523(0x19a)]();}[_0x597ab2(0x3c4)](){var _0x2ba86b=_0x597ab2;this[_0x2ba86b(0x36e)]&&this[_0x2ba86b(0x420)](this['_networkConditionService']['online$'][_0x2ba86b(0x470)](_0x301569=>{var _0x3160cf=_0x2ba86b;_0x301569&&!this[_0x3160cf(0x1a5)]&&this[_0x3160cf(0x322)](),_0x301569||this['_onOffline']();}));}[_0x597ab2(0x3a4)](){var _0x42c2b5=_0x597ab2;super[_0x42c2b5(0x3a4)](),this['_clearRetryConnectingTimer'](),this[_0x42c2b5(0x2e5)](),this['_clearHeartbeatTimer'](),this[_0x42c2b5(0x32f)][_0x42c2b5(0x1ff)](_0x5ecb65=>_0x5ecb65['dispose']()),this[_0x42c2b5(0x32f)][_0x42c2b5(0x481)](),this[_0x42c2b5(0x339)][_0x42c2b5(0x323)]();}async['requireSession'](_0xfa4231){var _0x4077a9=_0x597ab2;if(this[_0x4077a9(0x32f)][_0x4077a9(0x379)](_0xfa4231))return this[_0x4077a9(0x32f)][_0x4077a9(0x277)](_0xfa4231);this['_tryEnsureSocket']();const _0x356b5e=this[_0x4077a9(0x44a)]['createInstance'](Et,_0xfa4231,this[_0x4077a9(0x3e6)]['asObservable']());return this[_0x4077a9(0x32f)]['set'](_0xfa4231,_0x356b5e),_0x356b5e;}[_0x597ab2(0x327)](_0x29fdf7){var _0xcf1201=_0x597ab2,_0x5b3333;const _0x1581f1=this[_0xcf1201(0x32f)][_0xcf1201(0x277)](_0x29fdf7);_0x1581f1&&(this[_0xcf1201(0x32f)][_0xcf1201(0x399)](_0x29fdf7),_0x1581f1[_0xcf1201(0x3cc)]()),this[_0xcf1201(0x32f)][_0xcf1201(0x3bd)]||(_0x5b3333=this['_socket'])==null||_0x5b3333['close']();}['reconnect'](){var _0x2bbf23=_0x597ab2;this[_0x2bbf23(0x48f)]=0x0,this[_0x2bbf23(0x24b)](),this[_0x2bbf23(0x250)]();}[_0x597ab2(0x24b)](){var _0x211e99=_0x597ab2;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x211e99(0x1c1)]),this['_retryConnectingTimer']=null);}async[_0x597ab2(0x2a6)](){var _0xb2c9ab=_0x597ab2,_0x635093,_0x4a82e6;const _0x316f59=this['_configService'][_0xb2c9ab(0x2d1)](Er),_0x1aa588=this['_configService'][_0xb2c9ab(0x2d1)](q),_0x2692f5=(_0x4a82e6=(_0x635093=_0x1aa588==null?void 0x0:_0x1aa588[_0xb2c9ab(0x3a0)])!=null?_0x635093:_0x316f59)!=null?_0x4a82e6:Ir,_0x54be16=await this[_0xb2c9ab(0x3a2)][_0xb2c9ab(0x36d)](_0x2692f5);return this[_0xb2c9ab(0x439)]=_0x54be16,_0x54be16;}async[_0x597ab2(0x302)](){var _0x268ebe=_0x597ab2,_0x2a4d6b,_0x34cefc;try{const _0x5bcc54=(_0x34cefc=(_0x2a4d6b=this[_0x268ebe(0x1a5)])!=null?_0x2a4d6b:this['_candidateSocket'])!=null?_0x34cefc:await this['_createSocket']();if(_0x5bcc54){const _0x3cf555=_0x5bcc54[_0x268ebe(0x3f6)];_0x5bcc54['send']=_0x32a821=>(this[_0x268ebe(0x36a)](),_0x3cf555[_0x268ebe(0x2f9)](_0x5bcc54,[_0x32a821])),_0x5bcc54[_0x268ebe(0x3b2)]['subscribe'](_0xa72288=>this[_0x268ebe(0x2ce)](_0x5bcc54,_0xa72288)),_0x5bcc54[_0x268ebe(0x1d0)][_0x268ebe(0x218)](_0x33f735(0x1))[_0x268ebe(0x470)](_0x389356=>this[_0x268ebe(0x1fe)][_0x268ebe(0x2ab)](_0x268ebe(0x1f9),_0x389356)),_0x5bcc54[_0x268ebe(0x1b4)][_0x268ebe(0x218)](_0x33f735(0x1))['subscribe'](()=>{var _0x56c9b3=_0x268ebe;this[_0x56c9b3(0x425)](_0x5bcc54);}),_0x5bcc54[_0x268ebe(0x308)][_0x268ebe(0x218)](_0x33f735(0x1))['subscribe'](_0x4cc44e=>{var _0x27206a=_0x268ebe;this['_logService'][_0x27206a(0x1e7)](_0x27206a(0x1a3),'socket\x20close',_0x4cc44e),this[_0x27206a(0x3b7)]();});}}catch(_0xa84070){this[_0x268ebe(0x1fe)][_0x268ebe(0x2ab)](_0xa84070),this[_0x268ebe(0x3b7)]();}}[_0x597ab2(0x425)](_0x3bf237){var _0x4d6897=_0x597ab2;this['_logService'][_0x4d6897(0x1e7)]('[CollaborationSessionService]',_0x4d6897(0x19b)),_0x3bf237[_0x4d6897(0x3f6)]({'cmd':F[_0x4d6897(0x2b2)]}),this[_0x4d6897(0x36a)]();}[_0x597ab2(0x337)](){var _0x3f0e38=_0x597ab2;this[_0x3f0e38(0x1d4)]=!0x1,this[_0x3f0e38(0x439)]=null,this['_status$'][_0x3f0e38(0x301)](Ee[_0x3f0e38(0x46b)]),this[_0x3f0e38(0x3e6)][_0x3f0e38(0x301)](null),this['_clearTimeoutTimer'](),this[_0x3f0e38(0x2c2)]();}[_0x597ab2(0x3b7)](){var _0x500dd0=_0x597ab2,_0x34a11a;this['_onOffline'](),this['_retryCount']<((_0x34a11a=this[_0x500dd0(0x252)][_0x500dd0(0x2d1)](br))!=null?_0x34a11a:yr)?(this[_0x500dd0(0x352)][_0x500dd0(0x3aa)]({'id':se[_0x500dd0(0x24f)]}),this[_0x500dd0(0x250)]()):this[_0x500dd0(0x352)]['emitEvent']({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5ece31=_0x597ab2,_0x3a1546;const _0x56f1ec=this[_0x5ece31(0x48f)],_0x65733d=this[_0x5ece31(0x252)]['getConfig'](q),_0x36829b=_0x56f1ec===0x0?0x0:((_0x3a1546=_0x65733d==null?void 0x0:_0x65733d['retryConnectingInterval'])!=null?_0x3a1546:Rr)*0x2**_0x56f1ec;this[_0x5ece31(0x1c1)]=setTimeout(()=>{var _0x473af1=_0x5ece31;clearTimeout(this[_0x473af1(0x1c1)]),this['_retryConnectingTimer']=null,this[_0x473af1(0x302)]();},_0x36829b),this[_0x5ece31(0x48f)]+=0x1;}[_0x597ab2(0x2ce)](_0x38ad22,_0x43c57f){var _0x962450=_0x597ab2;const {cmd:_0x35ab6c}=_0x43c57f;_0x35ab6c===F[_0x962450(0x2b2)]&&!this[_0x962450(0x1d4)]&&(_0x38ad22['memberID']=_0x43c57f['data'][_0x962450(0x374)],this['_socket$'][_0x962450(0x301)](_0x38ad22),this[_0x962450(0x339)][_0x962450(0x301)](Ee[_0x962450(0x44d)]),this['_socketReady']=!0x0,this[_0x962450(0x439)]=null),_0x35ab6c===F[_0x962450(0x3cf)]&&this[_0x962450(0x2e5)](),this[_0x962450(0x36a)]();}[_0x597ab2(0x36a)](){var _0x570cb0=_0x597ab2,_0x109f4;this[_0x570cb0(0x2c2)](),this[_0x570cb0(0x1e3)]=setTimeout(()=>this[_0x570cb0(0x2ca)](),(_0x109f4=this[_0x570cb0(0x252)][_0x570cb0(0x2d1)](Tr))!=null?_0x109f4:Cr);}[_0x597ab2(0x2ca)](){var _0x35bc66=_0x597ab2;this[_0x35bc66(0x1a5)][_0x35bc66(0x3f6)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x597ab2(0x2e9)](){var _0x4651c0=_0x597ab2,_0x50497c;this[_0x4651c0(0x47f)]=setTimeout(()=>this[_0x4651c0(0x3b7)](),(_0x50497c=this[_0x4651c0(0x252)]['getConfig'](mi))!=null?_0x50497c:gi);}[_0x597ab2(0x2c2)](){var _0x4ec0c3=_0x597ab2;this[_0x4ec0c3(0x1e3)]!=null&&(clearTimeout(this[_0x4ec0c3(0x1e3)]),this['_sendHeartbeatTimer']=null);}[_0x597ab2(0x2e5)](){var _0x3a3a78=_0x597ab2;this[_0x3a3a78(0x47f)]!=null&&(clearTimeout(this[_0x3a3a78(0x47f)]),this[_0x3a3a78(0x47f)]=null);}};Le=Kr([be(0x0,_0x5dc8b8(_0x253837)),be(0x1,_0x2dcdf5),be(0x2,_0x52e356),be(0x3,Ii),be(0x4,_0x5dc8b8(pe)),be(0x5,_0x5d860b(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x597ab2(0x1e9)]((i+0x100)['toString'](0x10)[_0x597ab2(0x41f)](0x1));function Yr(_0x57058b,_0x30bbc9=0x0){return(G[_0x57058b[_0x30bbc9+0x0]]+G[_0x57058b[_0x30bbc9+0x1]]+G[_0x57058b[_0x30bbc9+0x2]]+G[_0x57058b[_0x30bbc9+0x3]]+'-'+G[_0x57058b[_0x30bbc9+0x4]]+G[_0x57058b[_0x30bbc9+0x5]]+'-'+G[_0x57058b[_0x30bbc9+0x6]]+G[_0x57058b[_0x30bbc9+0x7]]+'-'+G[_0x57058b[_0x30bbc9+0x8]]+G[_0x57058b[_0x30bbc9+0x9]]+'-'+G[_0x57058b[_0x30bbc9+0xa]]+G[_0x57058b[_0x30bbc9+0xb]]+G[_0x57058b[_0x30bbc9+0xc]]+G[_0x57058b[_0x30bbc9+0xd]]+G[_0x57058b[_0x30bbc9+0xe]]+G[_0x57058b[_0x30bbc9+0xf]])['toLowerCase']();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x2f99b4=_0x597ab2;if(!ut){if(typeof crypto>'u'||!crypto[_0x2f99b4(0x3bb)])throw new Error(_0x2f99b4(0x369));ut=crypto['getRandomValues'][_0x2f99b4(0x23a)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x597ab2(0x1ec)]&&crypto['randomUUID'][_0x597ab2(0x23a)](crypto),Yt={'randomUUID':Jr};function Xr(_0x49ee73,_0x4ee1e5,_0x39ecd7){var _0x34700a=_0x597ab2,_0x5423f5,_0x328960,_0x3a4c11;if(Yt[_0x34700a(0x1ec)]&&!_0x49ee73)return Yt[_0x34700a(0x1ec)]();_0x49ee73=_0x49ee73||{};const _0x3828a9=(_0x3a4c11=(_0x328960=_0x49ee73['random'])!=null?_0x328960:(_0x5423f5=_0x49ee73['rng'])==null?void 0x0:_0x5423f5[_0x34700a(0x47a)](_0x49ee73))!=null?_0x3a4c11:zr();if(_0x3828a9['length']<0x10)throw new Error(_0x34700a(0x469));return _0x3828a9[0x6]=_0x3828a9[0x6]&0xf|0x40,_0x3828a9[0x8]=_0x3828a9[0x8]&0x3f|0x80,Yr(_0x3828a9);}const J=_0x3280f3(_0x597ab2(0x2b6));function Bs(_0x8e5055){return'unit-cache-'+_0x8e5055;}var Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x524754,_0x1fc768,_0x9abb6f,_0x22fdcb)=>{for(var _0x3ecd4e=_0x22fdcb>0x1?void 0x0:_0x22fdcb?Zr(_0x1fc768,_0x9abb6f):_0x1fc768,_0x406ad4=_0x524754['length']-0x1,_0x29ef0b;_0x406ad4>=0x0;_0x406ad4--)(_0x29ef0b=_0x524754[_0x406ad4])&&(_0x3ecd4e=_0x29ef0b(_0x3ecd4e)||_0x3ecd4e);return _0x3ecd4e;},dt=(_0x4e130d,_0x539aba)=>(_0x3065dd,_0xa85e19)=>_0x539aba(_0x3065dd,_0xa85e19,_0x4e130d);function en(_0x2196af){var _0x36c709=_0x597ab2;const {unitID:_0x3e042d,mutations:_0x1f4949}=_0x2196af;return{'unitId':_0x3e042d,'subUnitId':_0x1f4949[0x0][_0x36c709(0x388)][_0x36c709(0x3fb)]};}let it=class{constructor(_0x18e6a7,_0xe67a35,_0x2b28eb){var _0x4a6d50=_0x597ab2;this[_0x4a6d50(0x44a)]=_0x18e6a7,this[_0x4a6d50(0x460)]=_0xe67a35,this[_0x4a6d50(0x3e3)]=_0x2b28eb;}[_0x597ab2(0x402)](_0xe5c582){var _0x281e3f=_0x597ab2,_0x2130c3,_0x54deed,_0x5a5e60,_0x4d8395;const _0x2931ae=this['_injector'][_0x281e3f(0x277)](_0x544d2c),{unitId:_0x3420b3,subUnitId:_0x4465b1}=en(_0xe5c582),_0x31f179=_0x2931ae==null?void 0x0:_0x2931ae[_0x281e3f(0x1c8)](_0x3420b3)[_0x281e3f(0x253)](),_0x140f8b=(_0x54deed=(_0x2130c3=this[_0x281e3f(0x3e3)][_0x281e3f(0x3d3)](_0x3420b3))==null?void 0x0:_0x2130c3[_0x281e3f(0x239)]())==null?void 0x0:_0x54deed[_0x281e3f(0x396)]();if(_0x31f179[_0x281e3f(0x419)]===0x0||!_0x3420b3||!_0x4465b1)return;const _0x5d3908=[{'id':_0x406c21['id'],'params':{'unitId':_0x3420b3,'subUnitId':_0x140f8b,'selections':_0x1a2cf5[_0x281e3f(0x2fa)](_0x31f179)}}],_0x499944=this[_0x281e3f(0x460)][_0x281e3f(0x3b0)](_0xe5c582,_0x5d3908);if(!_0x5ed9d4(_0x499944))throw _0x499944['error'];const _0x322609=(_0x4d8395=(_0x5a5e60=_0x499944['m2Prime'][0x0])==null?void 0x0:_0x5a5e60['params'])==null?void 0x0:_0x4d8395[_0x281e3f(0x346)];if(Array[_0x281e3f(0x45f)](_0x322609)&&_0x322609[_0x281e3f(0x419)]){if(_0x322609['length']===_0x5d3908[0x0][_0x281e3f(0x388)][_0x281e3f(0x346)][_0x281e3f(0x419)]&&_0x322609[_0x281e3f(0x275)]((_0x219013,_0x167166)=>_0x239477[_0x281e3f(0x292)](_0x219013['range'],_0x5d3908[0x0][_0x281e3f(0x388)][_0x281e3f(0x346)][_0x167166]['range'])))return;this[_0x281e3f(0x44a)]['get'](_0x336840)[_0x281e3f(0x21b)](_0x406c21['id'],{'unitId':_0x3420b3,'subUnitId':_0x140f8b,'selections':_0x322609});}}};it=Qr([dt(0x0,_0x5dc8b8(_0x253837)),dt(0x1,_0x556cc7),dt(0x2,_0x541816)],it);const ht=_0x3280f3(_0x597ab2(0x1a2));var Ci=(_0x5e41f2=>(_0x5e41f2[_0x5e41f2['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x597ab2(0x2b3),_0x5e41f2[_0x5e41f2['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x5e41f2))(Ci||{});const tn=new Set([_0x2c7924['id']]);function qt(_0x110fe2,_0x136b0d,_0xbf3258,_0x58248b,_0x14f7b7){var _0x579319=_0x597ab2,_0x2a5486,_0x51e8b3,_0x3d5672,_0x224907;const _0x4c98a0=[];for(const _0x5c0957 of _0x110fe2)if(tn[_0x579319(0x379)](_0x5c0957['id'])){if(_0x4c98a0[_0x579319(0x419)]>0x0)break;_0x4c98a0[_0x579319(0x1e9)](_0x5c0957);break;}else _0x4c98a0['push'](_0x5c0957);const _0x29af87=(_0x51e8b3=(_0x2a5486=_0x14f7b7[_0x579319(0x445)]())==null?void 0x0:_0x2a5486[_0x579319(0x2f0)])!=null?_0x51e8b3:_0x579319(0x3f0),_0x1e59b3=(_0x224907=(_0x3d5672=_0x14f7b7['getCurrentUser']())==null?void 0x0:_0x3d5672[_0x579319(0x374)])!=null?_0x224907:_0x579319(0x3f0);return{'changeset':{'unitID':_0x136b0d,'type':_0x3dec86(_0xbf3258[_0x579319(0x363)](_0x136b0d)),'baseRev':_0x58248b[_0x579319(0x20c)](_0x136b0d),'revision':0x0,'userID':_0x29af87,'memberID':_0x1e59b3,'mutations':_0x4c98a0},'pendingMutations':_0x110fe2[_0x579319(0x41f)](_0x4c98a0[_0x579319(0x419)])};}function rn(_0x58def5,_0x5124d1,_0x5ccfa8,_0x39be0c,_0x448dcf){var _0x285e8e=_0x597ab2,_0x450c0e,_0x4f0713,_0x45e88c,_0x1543ba;const _0xd7a5a0=[_0x58def5[_0x285e8e(0x1d6)]((_0x1cfebe,_0x2a0426)=>{var _0x516b4e=_0x285e8e,_0x31fb66;const {id:_0x4979a6}=_0x1cfebe,{id:_0x378378,type:_0x1aedb7}=_0x2a0426,_0x13056e=(_0x31fb66=_0x1cfebe[_0x516b4e(0x388)])!=null?_0x31fb66:{'actions':null},_0x521f96=_0x2a0426['params'];if(_0x4979a6&&_0x4979a6!==_0x378378)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4979a6+_0x516b4e(0x2ed)+_0x378378+'.');return{..._0x1cfebe,'id':_0x378378,'type':_0x1aedb7,'params':{'unitId':_0x521f96[_0x516b4e(0x3cd)],'textRanges':_0x521f96['textRanges'],'actions':_0xfa7585[_0x516b4e(0x2f1)](_0x13056e[_0x516b4e(0x27e)],_0x521f96[_0x516b4e(0x27e)])}};},{})],_0x386f8c=(_0x4f0713=(_0x450c0e=_0x448dcf[_0x285e8e(0x445)]())==null?void 0x0:_0x450c0e[_0x285e8e(0x2f0)])!=null?_0x4f0713:_0x285e8e(0x3f0),_0x597c05=(_0x1543ba=(_0x45e88c=_0x448dcf[_0x285e8e(0x445)]())==null?void 0x0:_0x45e88c[_0x285e8e(0x374)])!=null?_0x1543ba:_0x285e8e(0x3f0);return{'changeset':{'unitID':_0x5124d1,'type':_0x3dec86(_0x5ccfa8[_0x285e8e(0x363)](_0x5124d1)),'baseRev':_0x39be0c[_0x285e8e(0x20c)](_0x5124d1),'revision':0x0,'userID':_0x386f8c,'memberID':_0x597c05,'mutations':_0xd7a5a0},'pendingMutations':[]};}function Ri(_0x23d17c,_0x41bd74){var _0x11f68a=_0x597ab2;const _0x15b962=new _0x3937fb(0x1);return setTimeout(()=>_0x15b962[_0x11f68a(0x301)](_0x41bd74),_0x23d17c),_0x15b962[_0x11f68a(0x2e7)]()[_0x11f68a(0x218)](_0xec6115(0x1));}const nn={'id':_0x24845c['id'],'type':_0x1a1d72['MUTATION'],'params':{}};var sn=Object[_0x597ab2(0x3e5)],Te=(_0x25bcfc,_0x39f99f,_0x3e5793,_0x28c611)=>{var _0x458218=_0x597ab2;for(var _0x405f60=_0x28c611>0x1?void 0x0:_0x28c611?sn(_0x39f99f,_0x3e5793):_0x39f99f,_0x4aa2d3=_0x25bcfc[_0x458218(0x419)]-0x1,_0x1a6f6d;_0x4aa2d3>=0x0;_0x4aa2d3--)(_0x1a6f6d=_0x25bcfc[_0x4aa2d3])&&(_0x405f60=_0x1a6f6d(_0x405f60)||_0x405f60);return _0x405f60;},P=(_0x766650,_0x12979b)=>(_0x2c7dd7,_0x25d275)=>_0x12979b(_0x2c7dd7,_0x25d275,_0x766650),bi=(_0x5eee2a=>(_0x5eee2a['NOT_COLLAB']=_0x597ab2(0x2a0),_0x5eee2a[_0x597ab2(0x2a4)]='synced',_0x5eee2a[_0x597ab2(0x483)]=_0x597ab2(0x3d6),_0x5eee2a[_0x597ab2(0x378)]=_0x597ab2(0x1be),_0x5eee2a[_0x597ab2(0x3e1)]=_0x597ab2(0x3d1),_0x5eee2a['FETCH_MISS']=_0x597ab2(0x410),_0x5eee2a[_0x597ab2(0x237)]=_0x597ab2(0x3c8),_0x5eee2a['OFFLINE']=_0x597ab2(0x2b0),_0x5eee2a))(bi||{});const yi=0xea60;class Ce{constructor(_0xd0c83d,_0x3bd518,_0x5c870c,_0x4c035b,_0x3c8174,_0x23db3a,_0x483612,_0xfad70d,_0x10aa6b){var _0x3aa1ff=_0x597ab2;N(this,_0x3aa1ff(0x268),null),N(this,_0x3aa1ff(0x2cb),[]),(this[_0x3aa1ff(0x1f6)]=_0xd0c83d,this[_0x3aa1ff(0x2d8)]=_0x3bd518,this['_handler']=_0x3c8174,this[_0x3aa1ff(0x433)]=_0x23db3a,this[_0x3aa1ff(0x3fc)]=_0x483612,this[_0x3aa1ff(0x278)]=_0xfad70d,this[_0x3aa1ff(0x3e9)]=_0x10aa6b,this[_0x3aa1ff(0x268)]=_0x5c870c,this[_0x3aa1ff(0x2cb)]=_0x4c035b);}[_0x597ab2(0x236)](_0x11a712){var _0x50c69a=_0x597ab2;const _0x1085f8=this[_0x50c69a(0x278)][_0x50c69a(0x20c)](this[_0x50c69a(0x1f6)]);return _0x11a712[_0x50c69a(0x1cb)]>_0x1085f8+0x1?(this[_0x50c69a(0x1d2)][_0x50c69a(0x37a)]({'from':_0x1085f8,'to':_0x11a712['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x995d44){var _0x305030=_0x597ab2;this[_0x305030(0x3fc)][_0x305030(0x41d)](this[_0x305030(0x1f6)],_0x995d44);}[_0x597ab2(0x3c0)](_0xc7f7e3){var _0x492e85=_0x597ab2,_0x52d5d4,_0x400d5a;(_0x400d5a=(_0x52d5d4=this[_0x492e85(0x1d2)])['onTransformSelections'])==null||_0x400d5a[_0x492e85(0x47a)](_0x52d5d4,_0xc7f7e3);}['_transformIMECache'](_0x1be786){var _0x7ca140=_0x597ab2,_0x30842e,_0x20789a;return(_0x20789a=(_0x30842e=this[_0x7ca140(0x1d2)])[_0x7ca140(0x254)])==null?void 0x0:_0x20789a[_0x7ca140(0x47a)](_0x30842e,_0x1be786);}['_transformStateCache'](_0xadb8a7){var _0x4ba70f=_0x597ab2,_0x8d2ae3,_0x31d35a;return(_0x31d35a=(_0x8d2ae3=this[_0x4ba70f(0x1d2)])['onTransformState'])==null?void 0x0:_0x31d35a[_0x4ba70f(0x47a)](_0x8d2ae3,_0xadb8a7);}[_0x597ab2(0x482)](_0x4b3f4f){var _0x39a44c=_0x597ab2,_0x8f2901,_0x2274e7,_0x1deb0a;return(_0x1deb0a=(_0x2274e7=(_0x8f2901=this[_0x39a44c(0x1d2)])[_0x39a44c(0x430)])==null?void 0x0:_0x2274e7['call'](_0x8f2901,_0x4b3f4f))!=null?_0x1deb0a:_0x4b3f4f;}[_0x597ab2(0x3f1)](_0x399c93){var _0x18509a=_0x597ab2,_0xbf417f,_0x36d218,_0x427a74;return(_0x427a74=(_0x36d218=(_0xbf417f=this[_0x18509a(0x1d2)])[_0x18509a(0x19c)])==null?void 0x0:_0x36d218[_0x18509a(0x47a)](_0xbf417f,_0x399c93))!=null?_0x427a74:_0x399c93;}[_0x597ab2(0x36b)](_0x964648){var _0x23b188=_0x597ab2,_0x49f720,_0x2c8881;if(this[_0x23b188(0x2d8)]===Q['UNIVER_DOC']){const {unitID:_0x470f30,mutations:_0x58112c,memberID:_0x5511eb}=_0x964648,_0x50c037=_0x58112c[0x0][_0x23b188(0x388)][_0x23b188(0x1b0)];Array['isArray'](_0x50c037)&&_0x50c037[_0x23b188(0x419)]>0x0&&((_0x2c8881=(_0x49f720=this[_0x23b188(0x1d2)])['onSyncEditingCollabCursor'])==null||_0x2c8881[_0x23b188(0x47a)](_0x49f720,{'unitID':_0x470f30,'memberID':_0x5511eb,'textRanges':_0x50c037}));}}['_updateLocalCache'](){var _0x479167=_0x597ab2,_0x154aa4;(_0x154aa4=this[_0x479167(0x3e9)])==null||_0x154aa4['updateOfflineData'](this[_0x479167(0x1f6)],this['type'],this[_0x479167(0x268)],this[_0x479167(0x2cb)]);}[_0x597ab2(0x485)](){var _0x5abe65=_0x597ab2;return this['_revisionService'][_0x5abe65(0x20c)](this['unitID']);}['_incrementRevisionNumber'](){var _0x508bea=_0x597ab2;this[_0x508bea(0x278)][_0x508bea(0x333)](this[_0x508bea(0x1f6)]);}[_0x597ab2(0x39a)](_0x20d8d2){var _0x125d9d=_0x597ab2,_0x468a55;let _0x36e2b1=this['_transformRemoteChangesetByIMECache'](_0x20d8d2);_0x36e2b1=this[_0x125d9d(0x3f1)](_0x36e2b1);const _0x4e8a61=_0xac124e(_0x36e2b1['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x4e8a61[_0x125d9d(0x29f)])throw _0x4e8a61['error']instanceof Error?_0x4e8a61[_0x125d9d(0x2ab)]:new Error((_0x468a55=_0x4e8a61[_0x125d9d(0x2ab)])!=null?_0x468a55:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x36e2b1),this['_transformStateCache'](_0x36e2b1),this[_0x125d9d(0x3e8)](_0x20d8d2),this['_transformSelections'](_0x36e2b1),this['_syncEditingCollabCursor'](_0x36e2b1),this[_0x125d9d(0x3af)]();}}let Ne=class extends Ce{constructor(_0x7d0c19,_0x4f5643,_0x3c5d04,_0x2336ad,_0x4d68c4,_0x32046e,_0x3bab68,_0x1b72e7,_0x6ae890,_0x3dfd5f){var _0x5d7c0b=_0x597ab2;super(_0x7d0c19,_0x4f5643,null,[],_0x3c5d04,_0x3bab68,_0x32046e,_0x2336ad,_0x3dfd5f),N(this,_0x5d7c0b(0x46a),_0x5d7c0b(0x270)),(this[_0x5d7c0b(0x44a)]=_0x4d68c4,this['_logService']=_0x1b72e7,this[_0x5d7c0b(0x460)]=_0x6ae890,this[_0x5d7c0b(0x340)]=_0x3dfd5f);}[_0x597ab2(0x22b)](_0x48fa9c){var _0x514c38=_0x597ab2;const _0x42c2aa=this[_0x514c38(0x44a)][_0x514c38(0x29c)](oe,this[_0x514c38(0x1f6)],this['type'],[_0x48fa9c],this['_handler']);return _0x42c2aa[_0x514c38(0x30b)](),_0x42c2aa[_0x514c38(0x2ef)](),_0x42c2aa;}[_0x597ab2(0x224)](_0x2e8ee8){var _0x15b95e=_0x597ab2;if(this[_0x15b95e(0x236)](_0x2e8ee8))return this[_0x15b95e(0x44a)][_0x15b95e(0x29c)](ee,this[_0x15b95e(0x1f6)],this[_0x15b95e(0x2d8)],null,[],null,[_0x2e8ee8],this[_0x15b95e(0x1d2)]);try{const _0x9f45ef=this['_transformService'][_0x15b95e(0x3b0)](_0x2e8ee8,[nn]);if(_0x5ed9d4(_0x9f45ef)){const {c1Prime:_0x2845cc}=_0x9f45ef;return this['_executeRemoteChangeset'](_0x2845cc),this;}throw _0x9f45ef['error'];}catch(_0x20ac5e){return this[_0x15b95e(0x1fe)][_0x15b95e(0x2ab)](_0x20ac5e),this[_0x15b95e(0x451)](!0x1);}}['_onConflict'](_0x41f1d1){var _0x4b5320=_0x597ab2;return this[_0x4b5320(0x44a)][_0x4b5320(0x29c)](ue,this[_0x4b5320(0x1f6)],this[_0x4b5320(0x2d8)],null,[],this['_handler'],_0x41f1d1);}[_0x597ab2(0x272)](){var _0x1209af=_0x597ab2;throw new Error(_0x1209af(0x207));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x597ab2(0x1c5)](){return this;}[_0x597ab2(0x2dd)](){var _0x5d3fd7=_0x597ab2;return this[_0x5d3fd7(0x44a)][_0x5d3fd7(0x29c)](de,this[_0x5d3fd7(0x1f6)],this[_0x5d3fd7(0x2d8)],null,[],this[_0x5d3fd7(0x1d2)]);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x384)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x597ab2(0x1da)](){var _0x190697=_0x597ab2;const _0x317249=this[_0x190697(0x278)][_0x190697(0x20c)](this['unitID']);return this[_0x190697(0x1d2)]['onMissingChangesets']({'from':_0x317249,'to':0x0}),this[_0x190697(0x44a)][_0x190697(0x29c)](ee,this[_0x190697(0x1f6)],this['type'],null,[],null,[],this[_0x190697(0x1d2)]);}};Ne=Te([P(0x3,_0x5dc8b8(_0x19d21b)),P(0x4,_0x5dc8b8(_0x253837)),P(0x5,_0x28f227),P(0x6,_0x336840),P(0x7,_0x2dcdf5),P(0x8,_0x556cc7),P(0x9,_0x5d860b(J))],Ne);let oe=class extends Ce{constructor(_0x860379,_0xe2eba1,_0x5e22eb,_0x172f18,_0x28a0a7,_0x1f49a6,_0x42670c,_0x23b210,_0x485c5b,_0xc1a92d,_0x3d7d29,_0x1500e6,_0x5e95f9,_0x1e2e31){var _0x4eb09b=_0x597ab2;super(_0x860379,_0xe2eba1,null,_0x5e22eb,_0x172f18,_0x485c5b,_0x5e95f9,_0x1f49a6,_0x1e2e31),N(this,_0x4eb09b(0x46a),_0x4eb09b(0x3d6)),N(this,_0x4eb09b(0x46e),null),N(this,_0x4eb09b(0x400),null),(this[_0x4eb09b(0x44a)]=_0x28a0a7,this[_0x4eb09b(0x41e)]=_0x42670c,this[_0x4eb09b(0x1fe)]=_0x23b210,this[_0x4eb09b(0x252)]=_0xc1a92d,this[_0x4eb09b(0x460)]=_0x3d7d29,this[_0x4eb09b(0x3d9)]=_0x1500e6);}[_0x597ab2(0x22b)](_0x1266e7){var _0x385976=_0x597ab2;return this[_0x385976(0x2cb)][_0x385976(0x1e9)](_0x1266e7),this['_updateLocalCache'](),this;}[_0x597ab2(0x224)](_0x1a0248){var _0x1bae0e=_0x597ab2;if(this[_0x1bae0e(0x236)](_0x1a0248))return this[_0x1bae0e(0x344)](),this[_0x1bae0e(0x44a)][_0x1bae0e(0x29c)](ee,this['unitID'],this['type'],null,this[_0x1bae0e(0x2cb)],null,[_0x1a0248],this[_0x1bae0e(0x1d2)]);try{const _0x2dc8fb=this[_0x1bae0e(0x460)][_0x1bae0e(0x3b0)](_0x1a0248,this[_0x1bae0e(0x2cb)]);if(_0x5ed9d4(_0x2dc8fb)){const {c1Prime:_0x129128,m2Prime:_0x25b1c1}=_0x2dc8fb;this[_0x1bae0e(0x39a)](_0x129128);const _0x4b26ab=this[_0x1bae0e(0x44a)][_0x1bae0e(0x29c)](oe,this[_0x1bae0e(0x1f6)],this['type'],_0x25b1c1,this[_0x1bae0e(0x1d2)]);this[_0x1bae0e(0x344)]();const _0x4721e8=new Date()['getTime'](),_0x1553ec=this[_0x1bae0e(0x46e)]?Math[_0x1bae0e(0x23d)](this['_scheduleCompleteTimestamp']-_0x4721e8,0x0):this[_0x1bae0e(0x454)]();return _0x4b26ab[_0x1bae0e(0x30b)](_0x1553ec),_0x4b26ab;}throw _0x2dc8fb['error'];}catch(_0x5061b2){return this[_0x1bae0e(0x1fe)][_0x1bae0e(0x2ab)](_0x5061b2),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x260faf=_0x597ab2;throw new Error(_0x260faf(0x2a2));}[_0x597ab2(0x35b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x597ab2(0x1c5)](){return this;}[_0x597ab2(0x2dd)](){var _0x215f04=_0x597ab2;return this[_0x215f04(0x344)](),this[_0x215f04(0x44a)][_0x215f04(0x29c)](de,this[_0x215f04(0x1f6)],this[_0x215f04(0x2d8)],null,this[_0x215f04(0x2cb)],this['_handler']);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x30b)](_0x656511){var _0x1a1c5c=_0x597ab2;const _0x6ef82c=_0x656511!=null?_0x656511:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x6ef82c,this[_0x1a1c5c(0x400)]=setTimeout(()=>{var _0x3d5627=_0x1a1c5c;this[_0x3d5627(0x344)]();let _0x4bb529=null;switch(this[_0x3d5627(0x2d8)]){case Q[_0x3d5627(0x1ed)]:{_0x4bb529=qt(this[_0x3d5627(0x2cb)],this[_0x3d5627(0x1f6)],this['_univerInstanceService'],this[_0x3d5627(0x278)],this[_0x3d5627(0x41e)]);break;}case Q[_0x3d5627(0x2db)]:{this['_pendingMutations'][_0x3d5627(0x275)](_0x42fd43=>_0x42fd43['id']===_0x1df105['id'])?_0x4bb529=rn(this['_pendingMutations'],this[_0x3d5627(0x1f6)],this[_0x3d5627(0x3d9)],this[_0x3d5627(0x278)],this[_0x3d5627(0x41e)]):_0x4bb529=qt(this[_0x3d5627(0x2cb)],this['unitID'],this[_0x3d5627(0x3d9)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x3d5627(0x1ac)+this[_0x3d5627(0x2d8)]+_0x3d5627(0x2fd));}const {changeset:_0x22c3de,pendingMutations:_0x10c09b}=_0x4bb529;this['_handler']['onSendChangeset'](_0x22c3de);const _0x59a517=_0x10c09b['length']?this[_0x3d5627(0x44a)][_0x3d5627(0x29c)](ae,this[_0x3d5627(0x1f6)],this[_0x3d5627(0x2d8)],_0x22c3de,_0x10c09b,this[_0x3d5627(0x1d2)],void 0x0):this[_0x3d5627(0x44a)][_0x3d5627(0x29c)](le,this[_0x3d5627(0x1f6)],this['type'],_0x22c3de,this[_0x3d5627(0x1d2)]);_0x59a517[_0x3d5627(0x2ef)](),this[_0x3d5627(0x1d2)][_0x3d5627(0x1bd)](this,_0x59a517);},_0x6ef82c);}['_getSendChangesetTimeout'](){var _0x41306a=_0x597ab2,_0x4b65cb;const _0x2769e3=this[_0x41306a(0x252)][_0x41306a(0x2d1)](q);return(_0x4b65cb=_0x2769e3==null?void 0x0:_0x2769e3[_0x41306a(0x21c)])!=null?_0x4b65cb:Sr;}['resend'](){var _0x58884c=_0x597ab2;throw new Error(_0x58884c(0x2ec));}[_0x597ab2(0x344)](){var _0x5392cd=_0x597ab2;this[_0x5392cd(0x400)]!=null&&(clearTimeout(this[_0x5392cd(0x400)]),this[_0x5392cd(0x400)]=null);}['_onConflict'](_0x296f45){var _0x4dc750=_0x597ab2;return this[_0x4dc750(0x344)](),this[_0x4dc750(0x44a)][_0x4dc750(0x29c)](ue,this[_0x4dc750(0x1f6)],this[_0x4dc750(0x2d8)],null,this[_0x4dc750(0x2cb)],this[_0x4dc750(0x1d2)],_0x296f45);}};oe=Te([P(0x4,_0x5dc8b8(_0x253837)),P(0x5,_0x5dc8b8(_0x19d21b)),P(0x6,_0x5dc8b8(xe)),P(0x7,_0x2dcdf5),P(0x8,_0x336840),P(0x9,_0x52e356),P(0xa,_0x556cc7),P(0xb,_0x541816),P(0xc,_0x28f227),P(0xd,_0x5d860b(J))],oe);let le=class extends Ce{constructor(_0x1ebf8e,_0x1def7b,_0x1232c3,_0x454487,_0x103593,_0x3df528,_0x38dffb,_0x2ee0ba,_0x5b1c1e,_0x38d370,_0x3bc5c7){var _0x4ce1d9=_0x597ab2;super(_0x1ebf8e,_0x1def7b,_0x1232c3,[],_0x454487,_0x38dffb,_0x38d370,_0x3df528,_0x3bc5c7),N(this,_0x4ce1d9(0x46a),_0x4ce1d9(0x1be)),N(this,'_resendTimeout',0x0),N(this,_0x4ce1d9(0x405)),N(this,_0x4ce1d9(0x417)),(this['_injector']=_0x103593,this[_0x4ce1d9(0x1fe)]=_0x2ee0ba,this['_transformService']=_0x5b1c1e);}[_0x597ab2(0x22b)](_0x22a739){var _0x79498c=_0x597ab2;this['_clearScheduledTask']();const _0x2876b1=this[_0x79498c(0x44a)][_0x79498c(0x29c)](ae,this[_0x79498c(0x1f6)],this['type'],this[_0x79498c(0x268)],[_0x22a739],this['_handler'],this[_0x79498c(0x405)]);return _0x2876b1['_updateLocalCache'](),_0x2876b1;}[_0x597ab2(0x224)](_0x5c1957){var _0x2c568c=_0x597ab2;if(this[_0x2c568c(0x236)](_0x5c1957))return this['_clearScheduledTask'](),this[_0x2c568c(0x44a)]['createInstance'](ee,this[_0x2c568c(0x1f6)],this[_0x2c568c(0x2d8)],this[_0x2c568c(0x268)],[],null,[_0x5c1957],this['_handler']);try{const _0x1581f7=this['_transformService'][_0x2c568c(0x28c)]([_0x5c1957],[this[_0x2c568c(0x268)]],!0x1);if(_0x34649c(_0x1581f7)){const {c1Prime:_0x304f5d,c2Prime:_0xd63543}=_0x1581f7;this['_executeRemoteChangeset'](_0x304f5d[0x0]),_0xd63543[0x0][_0x2c568c(0x246)]=this['_getCurrentRevision'](),this[_0x2c568c(0x344)]();const _0x3dcae6=this[_0x2c568c(0x44a)]['createInstance'](le,this[_0x2c568c(0x1f6)],this[_0x2c568c(0x2d8)],_0xd63543[0x0],this[_0x2c568c(0x1d2)]);return _0x3dcae6[_0x2c568c(0x2ef)](),_0x3dcae6;}return this[_0x2c568c(0x451)](!0x1);}catch(_0x1b1898){return this[_0x2c568c(0x1fe)][_0x2c568c(0x2ab)](_0x1b1898),this[_0x2c568c(0x451)](!0x1);}}[_0x597ab2(0x272)](_0x28ea14){var _0x4a1562=_0x597ab2;this[_0x4a1562(0x344)]();const _0x4859b0=this[_0x4a1562(0x278)][_0x4a1562(0x20c)](this['unitID']);if(_0x28ea14[_0x4a1562(0x1cb)]<_0x4859b0-0x1)return this;if(this[_0x4a1562(0x236)](_0x28ea14))return this[_0x4a1562(0x44a)][_0x4a1562(0x29c)](ee,this['unitID'],this[_0x4a1562(0x2d8)],null,[],this[_0x4a1562(0x268)],[],this['_handler']);this[_0x4a1562(0x3af)]();const _0x3a03d8=this['_injector']['createInstance'](Ne,this[_0x4a1562(0x1f6)],this[_0x4a1562(0x2d8)],this[_0x4a1562(0x1d2)]);return _0x3a03d8[_0x4a1562(0x2ef)](),_0x3a03d8;}[_0x597ab2(0x35b)](_0x45f648){var _0x1a1874=_0x597ab2;return this[_0x1a1874(0x451)](!!(_0x45f648!=null&&_0x45f648[_0x1a1874(0x2f8)]));}[_0x597ab2(0x1c5)](_0x182e12){var _0x43fd54=_0x597ab2;return this[_0x43fd54(0x1aa)]>yi?this[_0x43fd54(0x2dd)]():(this[_0x43fd54(0x405)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x182e12[_0x43fd54(0x3ba)]}),this[_0x43fd54(0x417)]=this[_0x43fd54(0x405)][_0x43fd54(0x470)](({reqId:_0x3593ef,timeout:_0xeb5f0f})=>{this['_resendWithTimeout'](_0x3593ef,_0xeb5f0f);}),this);}['toggleOffline'](){var _0x2c58da=_0x597ab2;return this[_0x2c58da(0x344)](),this[_0x2c58da(0x44a)]['createInstance'](de,this[_0x2c58da(0x1f6)],this[_0x2c58da(0x2d8)],this[_0x2c58da(0x268)],[],this[_0x2c58da(0x1d2)]);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x384)](){var _0x42c3a1=_0x597ab2;this['_handler']['onSendChangeset'](this[_0x42c3a1(0x268)]);}[_0x597ab2(0x451)](_0x273e98){var _0x5b2d89=_0x597ab2;return this[_0x5b2d89(0x344)](),this[_0x5b2d89(0x44a)][_0x5b2d89(0x29c)](ue,this[_0x5b2d89(0x1f6)],this['type'],this[_0x5b2d89(0x268)],[],this[_0x5b2d89(0x1d2)],_0x273e98);}[_0x597ab2(0x20e)](_0x1d8b81,_0x13a0a2){var _0x1f4db6=_0x597ab2,_0x2ff858;_0x1d8b81===((_0x2ff858=this[_0x1f4db6(0x268)])==null?void 0x0:_0x2ff858[_0x1f4db6(0x3ba)])&&(this['resend'](),this[_0x1f4db6(0x1aa)]=_0x13a0a2===0x0?0x3e8:_0x13a0a2*0x2);}[_0x597ab2(0x344)](){var _0x5ebf27=_0x597ab2,_0x5b49f7;(_0x5b49f7=this['_sender'])==null||_0x5b49f7[_0x5ebf27(0x48e)](),this[_0x5ebf27(0x1aa)]=0x0;}};le=Te([P(0x4,_0x5dc8b8(_0x253837)),P(0x5,_0x5dc8b8(_0x19d21b)),P(0x6,_0x336840),P(0x7,_0x2dcdf5),P(0x8,_0x556cc7),P(0x9,_0x28f227),P(0xa,_0x5d860b(J))],le);let ae=class extends Ce{constructor(_0x562ec5,_0x493b24,_0x4e79a,_0x19002e,_0x137a4f,_0x3f4c60,_0x397dd4,_0xee57a0,_0xc56bc6,_0xe0be75,_0x4944e8,_0x553536,_0x2ad8ab){var _0x3cedf5=_0x597ab2;super(_0x562ec5,_0x493b24,_0x4e79a,_0x19002e,_0x137a4f,_0xc56bc6,_0x553536,_0xee57a0,_0x2ad8ab),N(this,'status',_0x3cedf5(0x3d1)),N(this,_0x3cedf5(0x1aa),0x0),N(this,_0x3cedf5(0x405)),N(this,_0x3cedf5(0x417)),(this[_0x3cedf5(0x44a)]=_0x397dd4,this['_logService']=_0xe0be75,this[_0x3cedf5(0x460)]=_0x4944e8,this['localCacheService']=_0x2ad8ab,_0x3f4c60&&(this[_0x3cedf5(0x405)]=_0x3f4c60,this['_sender']=this[_0x3cedf5(0x405)][_0x3cedf5(0x470)](({reqId:_0x12dd42,timeout:_0x3535c2})=>{this['_resendWithTimeout'](_0x12dd42,_0x3535c2);})));}['appendMutation'](_0x2f7068){var _0x310321=_0x597ab2;return this[_0x310321(0x2cb)][_0x310321(0x1e9)](_0x2f7068),this;}[_0x597ab2(0x224)](_0x58f3d6){var _0x48ae6c=_0x597ab2;if(this[_0x48ae6c(0x236)](_0x58f3d6))return this[_0x48ae6c(0x344)](),this['_injector'][_0x48ae6c(0x29c)](ee,this[_0x48ae6c(0x1f6)],this[_0x48ae6c(0x2d8)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x58f3d6],this[_0x48ae6c(0x1d2)]);try{const _0x2b82eb=this[_0x48ae6c(0x460)][_0x48ae6c(0x28c)]([_0x58f3d6],[this['_awaitingChangeset']],!0x1);if(_0x34649c(_0x2b82eb)){const {c1Prime:_0x23fef6,c2Prime:_0xa1e3a5}=_0x2b82eb,_0x3c328c=this['_transformService'][_0x48ae6c(0x3b0)](_0x23fef6[0x0],this[_0x48ae6c(0x2cb)]);if(_0x5ed9d4(_0x3c328c)){const {c1Prime:_0x4f6d09,m2Prime:_0x3e0134}=_0x3c328c;return this[_0x48ae6c(0x39a)](_0x4f6d09),_0xa1e3a5[0x0][_0x48ae6c(0x246)]=this['_getCurrentRevision'](),this[_0x48ae6c(0x344)](),this[_0x48ae6c(0x44a)][_0x48ae6c(0x29c)](ae,this[_0x48ae6c(0x1f6)],this[_0x48ae6c(0x2d8)],_0xa1e3a5[0x0],_0x3e0134,this[_0x48ae6c(0x1d2)],void 0x0);}throw _0x3c328c[_0x48ae6c(0x2ab)];}throw _0x2b82eb[_0x48ae6c(0x2ab)];}catch(_0x3bde51){return this['_logService']['error'](_0x3bde51),this['_onConflict'](!0x1);}}[_0x597ab2(0x272)](_0x394bc0){var _0x4b3233=_0x597ab2;if(this[_0x4b3233(0x344)](),this[_0x4b3233(0x236)](_0x394bc0))return this[_0x4b3233(0x44a)]['createInstance'](ee,this[_0x4b3233(0x1f6)],this[_0x4b3233(0x2d8)],null,this[_0x4b3233(0x2cb)],this[_0x4b3233(0x268)],[],this[_0x4b3233(0x1d2)]);this['_incrementRevisionNumber']();const _0x3dc4ef=this['_injector']['createInstance'](oe,this[_0x4b3233(0x1f6)],this[_0x4b3233(0x2d8)],this[_0x4b3233(0x2cb)],this[_0x4b3233(0x1d2)]);return _0x3dc4ef[_0x4b3233(0x30b)](),_0x3dc4ef[_0x4b3233(0x2ef)](),_0x3dc4ef;}[_0x597ab2(0x35b)](_0x269c30){var _0xeff45e=_0x597ab2;return this[_0xeff45e(0x451)](!!(_0x269c30!=null&&_0x269c30[_0xeff45e(0x2f8)]));}[_0x597ab2(0x1c5)](_0x4643dd){var _0x4c4774=_0x597ab2;return this['_resendTimeout']>yi?this[_0x4c4774(0x2dd)]():(this[_0x4c4774(0x405)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4643dd['reqId']}),this[_0x4c4774(0x417)]=this[_0x4c4774(0x405)][_0x4c4774(0x470)](({reqId:_0x5426b7,timeout:_0x26d624})=>{var _0x169102=_0x4c4774;this[_0x169102(0x20e)](_0x5426b7,_0x26d624);}),this);}[_0x597ab2(0x2dd)](){var _0x203156=_0x597ab2;return this[_0x203156(0x344)](),this['_injector']['createInstance'](de,this[_0x203156(0x1f6)],this[_0x203156(0x2d8)],this[_0x203156(0x268)],this['_pendingMutations'],this[_0x203156(0x1d2)]);}[_0x597ab2(0x38c)](){return this;}[_0x597ab2(0x384)](){var _0x2391f2=_0x597ab2;this['_handler'][_0x2391f2(0x25f)](this['_awaitingChangeset']);}[_0x597ab2(0x451)](_0x34ec5b){var _0x4fff30=_0x597ab2;return this[_0x4fff30(0x344)](),this['_injector'][_0x4fff30(0x29c)](ue,this[_0x4fff30(0x1f6)],this[_0x4fff30(0x2d8)],null,this['_pendingMutations'],this['_handler'],_0x34ec5b);}[_0x597ab2(0x20e)](_0x34ebb6,_0x1691c6){var _0x2845c6=_0x597ab2,_0x13b6bb;_0x34ebb6===((_0x13b6bb=this[_0x2845c6(0x268)])==null?void 0x0:_0x13b6bb[_0x2845c6(0x3ba)])&&(this['resend'](),this['_resendTimeout']=_0x1691c6===0x0?0x3e8:_0x1691c6*0x2);}[_0x597ab2(0x344)](){var _0x3bce87=_0x597ab2,_0x58db1e;(_0x58db1e=this[_0x3bce87(0x417)])==null||_0x58db1e[_0x3bce87(0x48e)](),this[_0x3bce87(0x1aa)]=0x0;}};ae=Te([P(0x6,_0x5dc8b8(_0x253837)),P(0x7,_0x5dc8b8(_0x19d21b)),P(0x8,_0x336840),P(0x9,_0x2dcdf5),P(0xa,_0x556cc7),P(0xb,_0x28f227),P(0xc,_0x5d860b(J))],ae);let ue=class extends Ce{constructor(_0x5dbe69,_0x372f42,_0x5ced68,_0x2c71dd,_0x13d34f,_0x344bc9=!0x1,_0x3c8048,_0x2ff2fd,_0x298048,_0xa03326,_0x497ee8,_0x4dc0a7,_0x2d53fb){var _0x3ad6b8=_0x597ab2;super(_0x5dbe69,_0x372f42,_0x5ced68,_0x2c71dd,_0x13d34f,_0x2ff2fd,_0x298048,_0xa03326,_0x2d53fb),N(this,_0x3ad6b8(0x46a),'conflict'),(this[_0x3ad6b8(0x34a)]=_0x344bc9,this[_0x3ad6b8(0x366)]=_0x3c8048,this[_0x3ad6b8(0x258)]=_0x497ee8,this[_0x3ad6b8(0x352)]=_0x4dc0a7,this[_0x3ad6b8(0x340)]=_0x2d53fb,this['_showConflictNotification'](),this[_0x3ad6b8(0x1ae)](),this[_0x3ad6b8(0x20a)]());}[_0x597ab2(0x22b)](){return this;}[_0x597ab2(0x224)](){return this;}['onRemoteAck'](){return this;}[_0x597ab2(0x35b)](){return this;}[_0x597ab2(0x1c5)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x597ab2(0x384)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x597ab2(0x1ae)](){var _0x3a6e6f=_0x597ab2,_0x215a8e;(_0x215a8e=this[_0x3a6e6f(0x3e9)])==null||_0x215a8e['updateOfflineData'](this[_0x3a6e6f(0x1f6)],this[_0x3a6e6f(0x2d8)],null,[]);}[_0x597ab2(0x37f)](){var _0x107355=_0x597ab2;this[_0x107355(0x34a)]?this['_collaborationUIEventService'][_0x107355(0x3aa)]({'id':se['PERMISSION_DENIED']}):this[_0x107355(0x352)][_0x107355(0x3aa)]({'id':se[_0x107355(0x237)]});}[_0x597ab2(0x20a)](){var _0x29d4e7=_0x597ab2;this[_0x29d4e7(0x366)][_0x29d4e7(0x418)](new _0x2025bf(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x5dc8b8(_0x2fef49)),P(0x7,_0x336840),P(0x8,_0x28f227),P(0x9,_0x5dc8b8(_0x19d21b)),P(0xa,_0x5dc8b8(_0x36508b)),P(0xb,_0x5dc8b8(pe)),P(0xc,_0x5d860b(J))],ue);let de=class extends Ce{constructor(_0x581f37,_0x537f00,_0x5006ff,_0x127e3f,_0x2e110b,_0x1ad976,_0x284ce5,_0x2c20b4,_0x1122a7,_0x74e174){var _0x20800b=_0x597ab2;super(_0x581f37,_0x537f00,_0x5006ff,_0x127e3f,_0x2e110b,_0x2c20b4,_0x1122a7,_0x284ce5,_0x74e174),N(this,_0x20800b(0x46a),_0x20800b(0x2b0)),this[_0x20800b(0x44a)]=_0x1ad976;}[_0x597ab2(0x22b)](_0x3be6f7){var _0x48ad0e=_0x597ab2;return this[_0x48ad0e(0x2cb)][_0x48ad0e(0x1e9)](_0x3be6f7),this[_0x48ad0e(0x2ef)](),this;}[_0x597ab2(0x224)](_0x285369){var _0x4b596a=_0x597ab2;throw new Error(_0x4b596a(0x247));}['onRemoteAck'](){var _0x19989c=_0x597ab2;throw new Error(_0x19989c(0x3dc));}[_0x597ab2(0x35b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x597ab2(0x1c5)](){return this;}['toggleOffline'](){return this;}[_0x597ab2(0x38c)](){const {_injector:_0x4bdb84,_pendingMutations:_0x4cf7a2,_awaitingChangeset:_0x31066f,unitID:_0xbdbbe2,_handler:_0x4288be,type:_0x51dc21}=this,_0xd1b3bb=Oi(_0x4bdb84,_0xbdbbe2,_0x51dc21,_0x31066f,_0x4cf7a2,_0x4288be);return _0xd1b3bb instanceof oe?_0xd1b3bb['_schedule']():(_0xd1b3bb instanceof ae||_0xd1b3bb instanceof le)&&_0xd1b3bb['resend'](),_0xd1b3bb;}['resend'](){var _0x46fabb=_0x597ab2;throw new Error(_0x46fabb(0x34b));}};de=Te([P(0x5,_0x5dc8b8(_0x253837)),P(0x6,_0x5dc8b8(_0x19d21b)),P(0x7,_0x336840),P(0x8,_0x28f227),P(0x9,_0x5d860b(J))],de);let ee=class extends Ce{constructor(_0x38bf78,_0x1b9097,_0x4d6300,_0xb65a7e,_0xf2777,_0x21a226,_0x46a1ab,_0x43af31,_0x1f36c7,_0x3af36f,_0x222250,_0x5d2150,_0x316ba1,_0x4816cd){var _0xc37f20=_0x597ab2;super(_0x38bf78,_0x1b9097,_0x4d6300,_0xb65a7e,_0x46a1ab,_0x222250,_0x5d2150,_0x1f36c7,_0x4816cd),N(this,_0xc37f20(0x46a),_0xc37f20(0x410)),(this[_0xc37f20(0x311)]=_0xf2777,this[_0xc37f20(0x404)]=_0x21a226,this['_injector']=_0x43af31,this[_0xc37f20(0x1fe)]=_0x3af36f,this[_0xc37f20(0x460)]=_0x316ba1,this['localCacheService']=_0x4816cd);}[_0x597ab2(0x21a)](_0x24aedf){var _0x277f47=_0x597ab2;try{const _0x3fcb8b=[..._0x24aedf,...this[_0x277f47(0x404)]],_0x3b6825=[this[_0x277f47(0x268)]||this['_acknowledgedAwaitingChangeset']][_0x277f47(0x251)](_0x4683b3=>!!_0x4683b3);let _0x119d17,_0x1bc8fb;if(_0x3b6825[_0x277f47(0x419)]){const _0x189d09=this[_0x277f47(0x460)][_0x277f47(0x28c)](_0x3fcb8b,_0x3b6825,!0x1);if(!_0x34649c(_0x189d09))throw _0x189d09[_0x277f47(0x2ab)];_0x119d17=_0x189d09['c1Prime'],_0x1bc8fb=_0x189d09[_0x277f47(0x39d)];}else _0x119d17=_0x3fcb8b,_0x1bc8fb=[];let _0x5be36a=this[_0x277f47(0x2cb)];_0x119d17[_0x277f47(0x1ff)](_0x1e72e6=>{var _0x23b1fe=_0x277f47;let _0x59c188;if(_0x5be36a[_0x23b1fe(0x419)]){const _0x39ec42=this[_0x23b1fe(0x460)][_0x23b1fe(0x3b0)](_0x1e72e6,_0x5be36a);if(!_0x5ed9d4(_0x39ec42))throw _0x39ec42[_0x23b1fe(0x2ab)];_0x59c188=_0x39ec42['c1Prime'],_0x5be36a=_0x39ec42[_0x23b1fe(0x2b1)];}else _0x59c188=_0x1e72e6;this['_executeRemoteChangeset'](_0x59c188);}),this[_0x277f47(0x311)]&&this[_0x277f47(0x3af)](),this[_0x277f47(0x268)]&&_0x1bc8fb[_0x277f47(0x419)]&&(_0x1bc8fb[0x0][_0x277f47(0x246)]=this['_getCurrentRevision']());let _0x4dffa1;if(this[_0x277f47(0x268)]&&_0x5be36a[_0x277f47(0x419)]!==0x0)_0x4dffa1=this[_0x277f47(0x44a)][_0x277f47(0x29c)](ae,this[_0x277f47(0x1f6)],this[_0x277f47(0x2d8)],_0x1bc8fb[0x0],_0x5be36a,this[_0x277f47(0x1d2)],void 0x0);else{if(this[_0x277f47(0x268)]&&_0x5be36a[_0x277f47(0x419)]===0x0)_0x1bc8fb[0x0]['baseRev']=this[_0x277f47(0x485)](),_0x4dffa1=this[_0x277f47(0x44a)]['createInstance'](le,this[_0x277f47(0x1f6)],this['type'],_0x1bc8fb[0x0],this[_0x277f47(0x1d2)]);else{if(_0x5be36a[_0x277f47(0x419)]!==0x0){const _0x1979e6=this[_0x277f47(0x44a)][_0x277f47(0x29c)](oe,this['unitID'],this[_0x277f47(0x2d8)],_0x5be36a,this[_0x277f47(0x1d2)]);_0x1979e6[_0x277f47(0x30b)](),_0x4dffa1=_0x1979e6;}else _0x4dffa1=this[_0x277f47(0x44a)][_0x277f47(0x29c)](Ne,this[_0x277f47(0x1f6)],this[_0x277f47(0x2d8)],this[_0x277f47(0x1d2)]);}}return _0x4dffa1['_updateLocalCache'](),_0x4dffa1;}catch(_0x4227f1){return this['_logService'][_0x277f47(0x2ab)](_0x277f47(0x408),_0x277f47(0x2af),_0x4227f1),this[_0x277f47(0x44a)][_0x277f47(0x29c)](ue,this[_0x277f47(0x1f6)],this[_0x277f47(0x2d8)],this[_0x277f47(0x268)],this[_0x277f47(0x2cb)],this[_0x277f47(0x1d2)],!0x1);}}[_0x597ab2(0x384)](){var _0x18b353=_0x597ab2;throw new Error(_0x18b353(0x3ff));}[_0x597ab2(0x22b)](_0x5269a9){var _0x31ee24=_0x597ab2;return this[_0x31ee24(0x2cb)]['push'](_0x5269a9),this;}[_0x597ab2(0x224)](_0x8013c6){var _0x259df0=_0x597ab2;return this[_0x259df0(0x404)][_0x259df0(0x1e9)](_0x8013c6),this;}[_0x597ab2(0x272)](_0x130918){var _0x4b17d1=_0x597ab2;if(this['_awaitingChangeset'])return this[_0x4b17d1(0x311)]=this[_0x4b17d1(0x268)],this[_0x4b17d1(0x268)]=null,this;throw new Error(_0x4b17d1(0x40b));}['onRemoteRej'](_0x22b3d1){var _0x226a2e=_0x597ab2;return this[_0x226a2e(0x451)](!!(_0x22b3d1!=null&&_0x22b3d1[_0x226a2e(0x2f8)]));}[_0x597ab2(0x1c5)](){return this;}['toggleOffline'](){var _0x5b44b1=_0x597ab2;return this[_0x5b44b1(0x44a)][_0x5b44b1(0x29c)](de,this[_0x5b44b1(0x1f6)],this['type'],this[_0x5b44b1(0x268)],this[_0x5b44b1(0x2cb)],this[_0x5b44b1(0x1d2)]);}['toggleOnline'](){return this;}['_onConflict'](_0x2931d6){var _0x3cea1c=_0x597ab2;return this[_0x3cea1c(0x44a)][_0x3cea1c(0x29c)](ue,this[_0x3cea1c(0x1f6)],this[_0x3cea1c(0x2d8)],this['_awaitingChangeset'],this[_0x3cea1c(0x2cb)],this[_0x3cea1c(0x1d2)],_0x2931d6);}};function _0x5a0e(_0x3c37f9,_0x45e988){var _0x3e337e=_0x3e33();return _0x5a0e=function(_0x5a0e62,_0x5e3712){_0x5a0e62=_0x5a0e62-0x19a;var _0x290771=_0x3e337e[_0x5a0e62];return _0x290771;},_0x5a0e(_0x3c37f9,_0x45e988);}ee=Te([P(0x7,_0x5dc8b8(_0x253837)),P(0x8,_0x5dc8b8(_0x19d21b)),P(0x9,_0x2dcdf5),P(0xa,_0x336840),P(0xb,_0x28f227),P(0xc,_0x556cc7),P(0xd,_0x5d860b(J))],ee);function Oi(_0x456c02,_0x5edc34,_0x161f98,_0x4b585f,_0x32bd17,_0x4aa0a4){var _0xea8ddf=_0x597ab2;return _0x4b585f&&_0x32bd17[_0xea8ddf(0x419)]?_0x456c02[_0xea8ddf(0x29c)](ae,_0x5edc34,_0x161f98,_0x4b585f,_0x32bd17,_0x4aa0a4,void 0x0):_0x4b585f?_0x456c02['createInstance'](le,_0x5edc34,_0x161f98,_0x4b585f,_0x4aa0a4):_0x32bd17[_0xea8ddf(0x419)]?_0x456c02['createInstance'](oe,_0x5edc34,_0x161f98,_0x32bd17,_0x4aa0a4):_0x456c02['createInstance'](Ne,_0x5edc34,_0x161f98,_0x4aa0a4);}var on=Object[_0x597ab2(0x3e5)],xt=(_0x4d3633,_0x515e64,_0x5f06a2,_0x2f7214)=>{for(var _0x3b7a9e=_0x2f7214>0x1?void 0x0:_0x2f7214?on(_0x515e64,_0x5f06a2):_0x515e64,_0x406468=_0x4d3633['length']-0x1,_0x54d9ea;_0x406468>=0x0;_0x406468--)(_0x54d9ea=_0x4d3633[_0x406468])&&(_0x3b7a9e=_0x54d9ea(_0x3b7a9e)||_0x3b7a9e);return _0x3b7a9e;},H=(_0x13b55a,_0xac8b60)=>(_0x1b491c,_0x2ec928)=>_0xac8b60(_0x1b491c,_0x2ec928,_0x13b55a);let rt=class extends _0x10e9f1{constructor(_0x87b1aa,_0x53edb7,_0x44b3b4,_0x36c148,_0x41588c,_0x8f1e30,_0x305670,_0x1fa933,_0x36986b,_0x3e3f63,_0x4caca6,_0x4c5d8e,_0x4c5174){var _0x261024=_0x597ab2;super(),N(this,_0x261024(0x2e8),new _0x103965(null)),N(this,'state$',this[_0x261024(0x2e8)][_0x261024(0x2e7)]()),N(this,'_state'),N(this,_0x261024(0x213),!0x1),N(this,'_changesetSessionId',''),N(this,_0x261024(0x43e),0x0),N(this,_0x261024(0x3c7),this[_0x261024(0x44c)][_0x261024(0x218)](_0x3d9c38(_0x368ab5=>_0x368ab5?_0x368ab5[_0x261024(0x46a)]:bi[_0x261024(0x46b)]),_0x523045(0x1))),N(this,_0x261024(0x1c2),!0x1),N(this,_0x261024(0x2cd),[]),(this[_0x261024(0x1f6)]=_0x87b1aa,this['session']=_0x53edb7,this[_0x261024(0x1f1)]=_0x44b3b4,this[_0x261024(0x44a)]=_0x36c148,this['_compressMutationService']=_0x41588c,this[_0x261024(0x258)]=_0x8f1e30,this[_0x261024(0x278)]=_0x305670,this['_eventService']=_0x1fa933,this[_0x261024(0x1fe)]=_0x36986b,this['_commandService']=_0x3e3f63,this[_0x261024(0x366)]=_0x4caca6,this[_0x261024(0x421)]=_0x4c5d8e,this['_localCacheService']=_0x4c5174);}get['state'](){var _0xce14ed=_0x597ab2;return this[_0xce14ed(0x3da)];}async[_0x597ab2(0x3d2)](){var _0x89bba9=_0x597ab2;if(this[_0x89bba9(0x1b9)])throw new Error(_0x89bba9(0x360));await this['_init']();}[_0x597ab2(0x431)](){return this['_collaborationPaused']=!0x0,_0x201b35(()=>{var _0x3fd3e3=_0x5a0e;this['_collaborationPaused']=!0x1,this[_0x3fd3e3(0x24a)]();});}[_0x597ab2(0x387)](_0x3e858c){var _0x204961=_0x597ab2;this[_0x204961(0x23e)](_0x3e858c);}[_0x597ab2(0x423)](_0x1c5155){var _0x1289bf=_0x597ab2;this['_state']=_0x1c5155,this[_0x1289bf(0x2e8)][_0x1289bf(0x301)](_0x1c5155);}async[_0x597ab2(0x21d)](){var _0x3240b9=_0x597ab2,_0x1effe1;this[_0x3240b9(0x423)](await this[_0x3240b9(0x26e)]()),this['_singleActiveUnitService']&&((_0x1effe1=this[_0x3240b9(0x421)])==null||_0x1effe1['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x3240b9(0x421)][_0x3240b9(0x303)](this[_0x3240b9(0x1f6)])[_0x3240b9(0x470)](_0x145860=>{var _0x4cdebe=_0x3240b9;this[_0x4cdebe(0x1fe)]['debug'](_0x4cdebe(0x35f),_0x4cdebe(0x383),_0x145860),_0x145860===Ci['OTHER_CLIENTS_EDITING']?(this[_0x4cdebe(0x372)]['emitEvent']({'id':se[_0x4cdebe(0x2a7)]}),this[_0x4cdebe(0x366)][_0x4cdebe(0x418)](new _0x2025bf(this[_0x4cdebe(0x1f6)])['id'],!0x1),this[_0x4cdebe(0x366)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x4cdebe(0x418)](new _0x2025bf(this[_0x4cdebe(0x1f6)])['id'],!0x0),this[_0x4cdebe(0x366)][_0x4cdebe(0x293)](!0x0));})));let _0x5388cb=!0x1;return this['disposeWithMe'](this['session'][_0x3240b9(0x364)]['subscribe'](_0x27564a=>{var _0x2df7da=_0x3240b9;_0x27564a===Ee[_0x2df7da(0x44d)]?this[_0x2df7da(0x1b5)](_0x5388cb):_0x27564a===Ee['OFFLINE']&&(_0x5388cb=!0x0,this['_toggleOffline']());})),this[_0x3240b9(0x420)](this[_0x3240b9(0x2c5)]['event$'][_0x3240b9(0x470)](_0x3a7182=>{var _0x40fad6=_0x3240b9;try{switch(_0x3a7182[_0x40fad6(0x210)]){case _0x136edc[_0x40fad6(0x471)]:{this['_onRemoteChangeset'](_0x1dbd96(_0x3a7182[_0x40fad6(0x1a6)]));break;}case _0x136edc[_0x40fad6(0x43c)]:{this[_0x40fad6(0x25a)](_0x3a7182['data']);break;}case _0x136edc[_0x40fad6(0x1f4)]:{this[_0x40fad6(0x2aa)]();break;}case _0x136edc[_0x40fad6(0x356)]:{this[_0x40fad6(0x368)](_0x3a7182[_0x40fad6(0x1a6)]);break;}case _0x136edc['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x3a7182[_0x40fad6(0x1a6)]['changesets'][_0x40fad6(0x376)](_0x4edb3f=>_0x1dbd96(_0x4edb3f)));break;}case _0x136edc[_0x40fad6(0x3dd)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x136edc['UNISCRIPT_RUN']:break;}}catch(_0x52529f){throw console['error'](_0x40fad6(0x359),_0x52529f),_0x52529f;}})),this[_0x3240b9(0x3da)];}['_unlockTransition'](){var _0xf68ad=_0x597ab2;this[_0xf68ad(0x1c2)]=!0x1;}[_0x597ab2(0x373)](){var _0x330e1c=_0x597ab2;if(this[_0x330e1c(0x1c2)])throw new Error(_0x330e1c(0x3ed));this[_0x330e1c(0x1c2)]=!0x0;}[_0x597ab2(0x23e)](_0x529caf){var _0x5ad5f3=_0x597ab2;this[_0x5ad5f3(0x373)](),this[_0x5ad5f3(0x423)](this[_0x5ad5f3(0x3da)][_0x5ad5f3(0x22b)](_0x529caf)),this['_unlockTransition']();}[_0x597ab2(0x325)](_0x1401eb){var _0xf8a1f9=_0x597ab2;if(!(_0x1401eb[_0xf8a1f9(0x1cb)]<=this[_0xf8a1f9(0x278)][_0xf8a1f9(0x20c)](this[_0xf8a1f9(0x1f6)]))){if(this['_collaborationPaused']){this[_0xf8a1f9(0x2cd)]['push'](_0x1401eb);return;}this[_0xf8a1f9(0x1cf)](_0x1401eb);}}[_0x597ab2(0x24a)](){var _0x258c4e=_0x597ab2;this[_0x258c4e(0x2cd)][_0x258c4e(0x1ff)](_0xeceda7=>this[_0x258c4e(0x1cf)](_0xeceda7)),this['_remoteChangesetQueue']=[];}[_0x597ab2(0x1cf)](_0x394da5){var _0x4fd31c=_0x597ab2;const _0x2c8d62=this['_compressMutationService'][_0x4fd31c(0x38b)][_0x4fd31c(0x1b6)](this[_0x4fd31c(0x3c5)][_0x4fd31c(0x38b)]['getInterceptPoints']()[_0x4fd31c(0x2d0)])(_0x394da5[_0x4fd31c(0x3d4)],null)||_0x394da5[_0x4fd31c(0x3d4)],_0x5110d8={..._0x394da5,'mutations':_0x2c8d62};this[_0x4fd31c(0x373)](),this[_0x4fd31c(0x423)](this[_0x4fd31c(0x3da)]['onRemoteChangeset'](_0x5110d8)),this['_unlockTransition']();}[_0x597ab2(0x25a)](_0x5798c0){var _0x5883d2=_0x597ab2;this[_0x5883d2(0x373)](),this[_0x5883d2(0x423)](this[_0x5883d2(0x3da)]['onRemoteAck'](_0x5798c0)),this['_unlockTransition']();}['_onRemoteRejected'](_0x4ceb1a){var _0x43f197=_0x597ab2;this['_lockTransition'](),this[_0x43f197(0x423)](this[_0x43f197(0x3da)][_0x43f197(0x35b)](_0x4ceb1a)),this['_unlockTransition']();}[_0x597ab2(0x368)](_0x510a5b){var _0x191723=_0x597ab2;this[_0x191723(0x373)](),this[_0x191723(0x423)](this[_0x191723(0x3da)]['onRemoteRetry'](_0x510a5b)),this[_0x191723(0x343)]();}['_onFetchMissResult'](_0x289c0a){var _0x409288=_0x597ab2;if(!(this[_0x409288(0x3da)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3e6873=_0x289c0a[_0x409288(0x376)](_0x412e54=>{var _0x131241=_0x409288;const _0x2d1577=this[_0x131241(0x3c5)][_0x131241(0x38b)]['fetchThroughInterceptors'](this[_0x131241(0x3c5)]['interceptor'][_0x131241(0x32c)]()[_0x131241(0x2d0)])(_0x412e54[_0x131241(0x3d4)],null)||_0x412e54[_0x131241(0x3d4)];return{..._0x412e54,'mutations':_0x2d1577};});this['_lockTransition'](),this[_0x409288(0x423)](this[_0x409288(0x3da)][_0x409288(0x21a)](_0x3e6873)),this[_0x409288(0x343)]();}[_0x597ab2(0x442)](){var _0x51fb4e=_0x597ab2;this['_lockTransition'](),this[_0x51fb4e(0x423)](this[_0x51fb4e(0x3da)][_0x51fb4e(0x2dd)]()),this[_0x51fb4e(0x343)]();}[_0x597ab2(0x1b5)](_0x5d5203=!0x1){var _0x1416cd=_0x597ab2;this[_0x1416cd(0x373)](),this[_0x1416cd(0x423)](this[_0x1416cd(0x3da)][_0x1416cd(0x38c)]()),this[_0x1416cd(0x343)]();const _0x5da26f=this[_0x1416cd(0x3da)];_0x5d5203&&_0x5da26f instanceof Ne&&(this[_0x1416cd(0x373)](),this[_0x1416cd(0x423)](_0x5da26f[_0x1416cd(0x1da)]()),this['_unlockTransition']());}async[_0x597ab2(0x26e)](){return new Promise(_0x4f53d2=>{var _0x4bf943=_0x5a0e;this['session'][_0x4bf943(0x364)][_0x4bf943(0x218)](_0xec6115(0x1))[_0x4bf943(0x470)](async _0x3506d0=>{var _0x2b9857=_0x4bf943;_0x4f53d2(await this[_0x2b9857(0x3d0)](_0x3506d0===Ee[_0x2b9857(0x44d)]));});});}[_0x597ab2(0x47b)](){var _0x22b35c=_0x597ab2;const _0x25b3b9=this[_0x22b35c(0x1f6)];return{'onStateChange':(_0x2d9369,_0xcfbae6)=>{var _0x58264a=_0x22b35c;if(_0x2d9369!==this[_0x58264a(0x3da)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2d9369[_0x58264a(0x46a)]+_0x58264a(0x3b4)+_0xcfbae6[_0x58264a(0x46a)]+_0x58264a(0x316)+this[_0x58264a(0x3da)]['status']);this[_0x58264a(0x423)](_0xcfbae6);},'onSendChangeset':_0x44628c=>{var _0xd29f1=_0x22b35c;_0x44628c[_0xd29f1(0x232)]||(_0x44628c[_0xd29f1(0x232)]=this[_0xd29f1(0x288)],_0x44628c[_0xd29f1(0x3ba)]=++this[_0xd29f1(0x43e)]);const _0x2a3986={'eventID':_0x136edc['SUBMIT_CHANGESET'],'data':{'unitID':_0x44628c[_0xd29f1(0x1f6)],'unitType':this[_0xd29f1(0x1f1)],'changeset':_0x44628c,'memberID':this[_0xd29f1(0x2c5)]['getMemberID']()}};this[_0xd29f1(0x2c5)][_0xd29f1(0x3f6)](_0x2a3986,this[_0xd29f1(0x1f6)]);},'onMissingChangesets':({from:_0x476600,to:_0x411a70})=>{var _0x1bd78c=_0x22b35c;this[_0x1bd78c(0x1fe)]['debug'](_0x1bd78c(0x35f),_0x1bd78c(0x2fc)+_0x476600+_0x1bd78c(0x2b8)+_0x411a70);const _0x5930ba={'eventID':_0x136edc[_0x1bd78c(0x475)],'data':{'unitID':_0x25b3b9,'unitType':this[_0x1bd78c(0x1f1)],'from':_0x476600,'to':_0x411a70}};this[_0x1bd78c(0x2c5)][_0x1bd78c(0x3f6)](_0x5930ba,this['unitID']);}};}async[_0x597ab2(0x3d0)](_0x534b52){var _0x5d72ad=_0x597ab2,_0xfb1af9,_0x52c17e,_0x26074e;const _0x40c147=await((_0xfb1af9=this['_localCacheService'])==null?void 0x0:_0xfb1af9['loadOfflineData'](this[_0x5d72ad(0x1f6)])),_0x31f573=(_0x52c17e=_0x40c147==null?void 0x0:_0x40c147[_0x5d72ad(0x3d4)])!=null?_0x52c17e:[],_0x21d516=(_0x26074e=_0x40c147==null?void 0x0:_0x40c147['awaitingChangeset'])!=null?_0x26074e:null,_0x25f42e=!!(_0x21d516!=null&&_0x21d516[_0x5d72ad(0x232)])&&!!(_0x21d516!=null&&_0x21d516['reqId']);this[_0x5d72ad(0x288)]=_0x25f42e?_0x21d516[_0x5d72ad(0x232)]:Xr(),this[_0x5d72ad(0x43e)]=_0x25f42e?_0x21d516[_0x5d72ad(0x3ba)]:0x0;const _0x5dbe89=this['unitID'];try{this[_0x5d72ad(0x1af)](_0x21d516,_0x31f573);}catch(_0x5648d2){this[_0x5d72ad(0x1fe)][_0x5d72ad(0x2ab)](_0x5648d2);}const _0x2bcdf1=this[_0x5d72ad(0x47b)]();if(_0x534b52){const _0x4d75dd=Oi(this[_0x5d72ad(0x44a)],_0x5dbe89,this[_0x5d72ad(0x1f1)],_0x21d516,_0x31f573,_0x2bcdf1);return _0x4d75dd instanceof oe?_0x4d75dd['_schedule']():(_0x4d75dd instanceof ae||_0x4d75dd instanceof le)&&_0x4d75dd[_0x5d72ad(0x384)](),_0x4d75dd;}return this[_0x5d72ad(0x44a)][_0x5d72ad(0x29c)](de,_0x5dbe89,this['_type'],_0x21d516,_0x31f573,_0x2bcdf1);}['_replayCachedMutations'](_0x7bb63b,_0x2ba3b2){var _0x92cf9b=_0x597ab2,_0x3de5b5,_0x4d6204;const _0x598fa0=this[_0x92cf9b(0x3c5)][_0x92cf9b(0x38b)]['fetchThroughInterceptors'](this[_0x92cf9b(0x3c5)][_0x92cf9b(0x38b)][_0x92cf9b(0x32c)]()['COMPRESS_MUTATION_APPLY']);(_0x3de5b5=_0x598fa0((_0x7bb63b==null?void 0x0:_0x7bb63b[_0x92cf9b(0x3d4)])||[],null))==null||_0x3de5b5[_0x92cf9b(0x1ff)](_0x3ae631=>this[_0x92cf9b(0x433)][_0x92cf9b(0x21b)](_0x3ae631['id'],_0x3ae631[_0x92cf9b(0x388)])),(_0x4d6204=_0x598fa0(_0x2ba3b2||[],null))==null||_0x4d6204[_0x92cf9b(0x1ff)](_0x50e3e0=>this[_0x92cf9b(0x433)][_0x92cf9b(0x21b)](_0x50e3e0['id'],_0x50e3e0[_0x92cf9b(0x388)]));}};rt=xt([H(0x3,_0x5dc8b8(_0x253837)),H(0x4,_0x5dc8b8(_0x648ae9)),H(0x5,_0x5dc8b8(_0x36508b)),H(0x6,_0x5dc8b8(_0x19d21b)),H(0x7,_0x5dc8b8(pe)),H(0x8,_0x2dcdf5),H(0x9,_0x336840),H(0xa,_0x2fef49),H(0xb,_0x5d860b(ht)),H(0xc,_0x5d860b(J))],rt);let It=class extends rt{constructor(_0x5bdec5,_0x367a03,_0x110613,_0x1fd4a2,_0x405ff6,_0x19f88a,_0x5c07ae,_0x1d7f72,_0x185321,_0x517707,_0x4663bb,_0x5d470c,_0x19f0c9){var _0x28fcf9=_0x597ab2;super(_0x5bdec5,_0x110613,_0x367a03,_0x1fd4a2,_0x405ff6,_0x19f88a,_0x5c07ae,_0x1d7f72,_0x185321,_0x517707,_0x4663bb,_0x5d470c,_0x19f0c9),N(this,_0x28fcf9(0x1ef),null),(this[_0x28fcf9(0x1f6)]=_0x5bdec5,this[_0x28fcf9(0x2d8)]=_0x367a03);}[_0x597ab2(0x3b5)](_0x560f24){this['_handlerCallback']=_0x560f24;}[_0x597ab2(0x3a4)](){var _0x12835a=_0x597ab2;this[_0x12835a(0x1ef)]=null,super[_0x12835a(0x3a4)]();}['_createHandler'](){var _0x1748f9=_0x597ab2;const _0x1409f9=super[_0x1748f9(0x47b)]();return _0x1409f9[_0x1748f9(0x254)]=_0x30b15c=>{var _0x586ee6=_0x1748f9,_0x3c882d,_0x10c07f;return(_0x10c07f=(_0x3c882d=this[_0x586ee6(0x1ef)])==null?void 0x0:_0x3c882d['onTransformIME'])==null?void 0x0:_0x10c07f[_0x586ee6(0x47a)](_0x3c882d,_0x30b15c);},_0x1409f9['onTransformState']=_0x1ee2fd=>{var _0x35a7c1=_0x1748f9,_0x44e82c,_0x257c02;return(_0x257c02=(_0x44e82c=this[_0x35a7c1(0x1ef)])==null?void 0x0:_0x44e82c[_0x35a7c1(0x416)])==null?void 0x0:_0x257c02['call'](_0x44e82c,_0x1ee2fd);},_0x1409f9[_0x1748f9(0x3c6)]=_0x1ba08d=>{var _0xf4a693=_0x1748f9,_0x275d65,_0x301f4e;return(_0x301f4e=(_0x275d65=this[_0xf4a693(0x1ef)])==null?void 0x0:_0x275d65['onTransformSelections'])==null?void 0x0:_0x301f4e['call'](_0x275d65,_0x1ba08d);},_0x1409f9[_0x1748f9(0x432)]=_0x6c9ce7=>{var _0x36a12f=_0x1748f9,_0x4ff0f4,_0x9d3afb;return(_0x9d3afb=(_0x4ff0f4=this[_0x36a12f(0x1ef)])==null?void 0x0:_0x4ff0f4[_0x36a12f(0x432)])==null?void 0x0:_0x9d3afb[_0x36a12f(0x47a)](_0x4ff0f4,_0x6c9ce7);},_0x1409f9['onTransformRemoteChangesetByIMECache']=_0x263814=>{var _0x55a6af=_0x1748f9,_0x14e911,_0x1e03fc,_0x45c766;if(!((_0x14e911=this[_0x55a6af(0x1ef)])!=null&&_0x14e911[_0x55a6af(0x430)]))throw new Error(_0x55a6af(0x2bc));return(_0x45c766=(_0x1e03fc=this[_0x55a6af(0x1ef)])==null?void 0x0:_0x1e03fc[_0x55a6af(0x430)])==null?void 0x0:_0x45c766[_0x55a6af(0x47a)](_0x1e03fc,_0x263814);},_0x1409f9['onTransformRemoteChangesetByStateCache']=_0x148bbd=>{var _0x1b1d89=_0x1748f9,_0x2049bf,_0x35f8ff,_0x4e654d;if(!((_0x2049bf=this[_0x1b1d89(0x1ef)])!=null&&_0x2049bf['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1b1d89(0x414));return(_0x4e654d=(_0x35f8ff=this[_0x1b1d89(0x1ef)])==null?void 0x0:_0x35f8ff[_0x1b1d89(0x19c)])==null?void 0x0:_0x4e654d[_0x1b1d89(0x47a)](_0x35f8ff,_0x148bbd);},_0x1409f9;}async['_init'](){var _0x1375a6=_0x597ab2;const _0x510621=await super[_0x1375a6(0x21d)]();return this[_0x1375a6(0x420)](this[_0x1375a6(0x433)][_0x1375a6(0x274)]((_0x1bc55b,_0x5a0b67)=>{var _0x1bd8cd=_0x1375a6;if(_0x1bc55b[_0x1bd8cd(0x2d8)]!==_0x1a1d72[_0x1bd8cd(0x3ef)]||_0x5a0b67!=null&&_0x5a0b67[_0x1bd8cd(0x2e1)]||_0x5a0b67!=null&&_0x5a0b67[_0x1bd8cd(0x1a7)]||_0x1bc55b['id']===_0x1df105['id'])return;const _0x49fffd=_0x1bc55b[_0x1bd8cd(0x388)];if((_0x49fffd==null?void 0x0:_0x49fffd[_0x1bd8cd(0x3cd)])!==this[_0x1bd8cd(0x1f6)])return;const _0x45fa0c=_0x1bc55b,_0x52ee3a=this['_compressMutationService'][_0x1bd8cd(0x38b)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x1bd8cd(0x32c)]()[_0x1bd8cd(0x208)])([_0x45fa0c],null)||[_0x45fa0c];this[_0x1bd8cd(0x23e)](_0x52ee3a[0x0]);})),_0x510621;}};It=xt([H(0x3,_0x5dc8b8(_0x253837)),H(0x4,_0x5dc8b8(_0x648ae9)),H(0x5,_0x5dc8b8(_0x36508b)),H(0x6,_0x5dc8b8(_0x19d21b)),H(0x7,_0x5dc8b8(pe)),H(0x8,_0x2dcdf5),H(0x9,_0x336840),H(0xa,_0x2fef49),H(0xb,_0x5d860b(ht)),H(0xc,_0x5d860b(J))],It);let Tt=class extends rt{constructor(_0x401549,_0x5f4a6a,_0x33bc8d,_0x33620e,_0x13c8d2,_0x571911,_0x12e48f,_0x240199,_0x152b8f,_0x3efcc4,_0x127edf,_0x874698,_0x230907,_0x1f8070){var _0x384f5e=_0x597ab2;super(_0x401549,_0x33bc8d,_0x5f4a6a,_0x33620e,_0x13c8d2,_0x571911,_0x12e48f,_0x152b8f,_0x3efcc4,_0x127edf,_0x874698,_0x230907,_0x1f8070),this['unitID']=_0x401549,this[_0x384f5e(0x2d8)]=_0x5f4a6a,this['_sheetTransformSelectionsService']=_0x240199;}[_0x597ab2(0x47b)](){var _0x476638=_0x597ab2;const _0x4dada2=super[_0x476638(0x47b)]();return _0x4dada2[_0x476638(0x3c6)]=_0x5cd579=>this[_0x476638(0x2dc)][_0x476638(0x402)](_0x5cd579),_0x4dada2;}async[_0x597ab2(0x21d)](){var _0x9ad0b6=_0x597ab2;const _0x530085=await super[_0x9ad0b6(0x21d)]();return this[_0x9ad0b6(0x420)](this[_0x9ad0b6(0x433)][_0x9ad0b6(0x274)]((_0x594f25,_0x1b4f41)=>{var _0x5878a7=_0x9ad0b6;if(_0x594f25[_0x5878a7(0x2d8)]!==_0x1a1d72[_0x5878a7(0x3ef)]||_0x1b4f41!=null&&_0x1b4f41['fromCollab']||_0x1b4f41!=null&&_0x1b4f41[_0x5878a7(0x1a7)])return;const _0x235262=_0x594f25[_0x5878a7(0x388)];if((_0x235262==null?void 0x0:_0x235262[_0x5878a7(0x3cd)])!==this['unitID'])return;const _0x4e9b1d=_0x594f25,_0x1a1101=this[_0x5878a7(0x3c5)][_0x5878a7(0x38b)]['fetchThroughInterceptors'](this[_0x5878a7(0x3c5)]['interceptor'][_0x5878a7(0x32c)]()[_0x5878a7(0x208)])([_0x4e9b1d],null)||[_0x4e9b1d];this[_0x5878a7(0x23e)](_0x1a1101[0x0]);})),_0x530085;}};Tt=xt([H(0x3,_0x5dc8b8(_0x253837)),H(0x4,_0x5dc8b8(_0x648ae9)),H(0x5,_0x5dc8b8(_0x36508b)),H(0x6,_0x5dc8b8(_0x19d21b)),H(0x7,_0x5dc8b8(it)),H(0x8,_0x5dc8b8(pe)),H(0x9,_0x2dcdf5),H(0xa,_0x336840),H(0xb,_0x2fef49),H(0xc,_0x5d860b(ht)),H(0xd,_0x5d860b(J))],Tt);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2b49c,_0x22cefd,_0x360910,_0x115e1d)=>{var _0x58725a=_0x597ab2;for(var _0xbb0784=_0x115e1d>0x1?void 0x0:_0x115e1d?an(_0x22cefd,_0x360910):_0x22cefd,_0x1ab374=_0x2b49c[_0x58725a(0x419)]-0x1,_0x4331d1;_0x1ab374>=0x0;_0x1ab374--)(_0x4331d1=_0x2b49c[_0x1ab374])&&(_0xbb0784=_0x4331d1(_0xbb0784)||_0xbb0784);return _0xbb0784;},ft=(_0x4a4192,_0x5c5f1e)=>(_0x2f895a,_0x3a7322)=>_0x5c5f1e(_0x2f895a,_0x3a7322,_0x4a4192);let nt=class extends _0x10e9f1{constructor(_0x566f0e,_0x577b96,_0x476f75){var _0x3854c3=_0x597ab2;super(),N(this,_0x3854c3(0x42c),new Map()),N(this,_0x3854c3(0x35d),new _0x4f59b9()),N(this,_0x3854c3(0x3eb),this[_0x3854c3(0x35d)]['asObservable']()),(this[_0x3854c3(0x44a)]=_0x566f0e,this[_0x3854c3(0x1e8)]=_0x577b96,this[_0x3854c3(0x3d9)]=_0x476f75,this[_0x3854c3(0x21d)]());}[_0x597ab2(0x3a4)](){var _0x57a363=_0x597ab2;super[_0x57a363(0x3a4)](),this[_0x57a363(0x42c)]['forEach'](_0x222825=>_0x222825[_0x57a363(0x3a4)]()),this['_entities']['clear']();}['getCollabEntity'](_0x51db0e){var _0x30918f=_0x597ab2,_0x20968c;return(_0x20968c=this[_0x30918f(0x42c)][_0x30918f(0x277)](_0x51db0e))!=null?_0x20968c:null;}['getCollabEntity$'](_0x539730){var _0x3297fc=_0x597ab2;const _0x3f5be7=this[_0x3297fc(0x447)](_0x539730);return _0x3f5be7?_0x46fdc6(_0x3f5be7):this[_0x3297fc(0x35d)][_0x3297fc(0x218)](_0x321733(_0x32e3b3=>_0x32e3b3['unitID']===_0x539730));}['readyForCollab'](_0x4543e9){var _0x243783=_0x597ab2;return _0x1904c7(this[_0x243783(0x351)](_0x4543e9)[_0x243783(0x218)](_0x3e044c(()=>{})));}[_0x597ab2(0x21d)](){var _0x41c099=_0x597ab2;this[_0x41c099(0x3d9)][_0x41c099(0x22d)](_0x31007f['UNIVER_SHEET'])[_0x41c099(0x218)](_0xc0520a(this[_0x41c099(0x1bb)]),_0x5b5907(0x10))[_0x41c099(0x470)](async _0x3cc73a=>{var _0x28eb09=_0x41c099;const _0x121a90=_0x3cc73a[_0x28eb09(0x48a)](),_0x2c8c27=await this[_0x28eb09(0x3b9)](_0x121a90,Q[_0x28eb09(0x1ed)]);this[_0x28eb09(0x42c)][_0x28eb09(0x1e6)](_0x121a90,_0x2c8c27);}),this[_0x41c099(0x3d9)][_0x41c099(0x22d)](_0x31007f['UNIVER_DOC'])[_0x41c099(0x218)](_0xc0520a(this[_0x41c099(0x1bb)]),_0x5b5907(0x10))['pipe'](_0x321733(_0x532729=>!_0x532729[_0x41c099(0x48a)]()['startsWith']('__')))[_0x41c099(0x470)](async _0x2cb086=>{var _0x45ca3d=_0x41c099;const _0x4a4b4d=_0x2cb086[_0x45ca3d(0x48a)](),_0x77fd8b=await this[_0x45ca3d(0x3b9)](_0x4a4b4d,Q[_0x45ca3d(0x2db)]);this[_0x45ca3d(0x42c)][_0x45ca3d(0x1e6)](_0x4a4b4d,_0x77fd8b);}),_0x10ee83(this[_0x41c099(0x3d9)][_0x41c099(0x269)](_0x31007f[_0x41c099(0x1ed)]),this[_0x41c099(0x3d9)][_0x41c099(0x269)](_0x31007f[_0x41c099(0x2db)]))[_0x41c099(0x218)](_0xc0520a(this[_0x41c099(0x1bb)]))[_0x41c099(0x470)](_0x9da755=>{var _0x5ee723=_0x41c099;const _0x31fca6=_0x9da755[_0x5ee723(0x48a)](),_0x5920b5=this['_entities'][_0x5ee723(0x277)](_0x31fca6);_0x5920b5&&(_0x5920b5[_0x5ee723(0x3a4)](),this[_0x5ee723(0x42c)][_0x5ee723(0x399)](_0x31fca6));});}async['_startCollaboration'](_0x3c6e31,_0x3d23af){var _0x29c5e4=_0x597ab2;const _0xde20ab=await this[_0x29c5e4(0x1e8)][_0x29c5e4(0x2c0)](_0x3c6e31),_0x1a7fb6=this[_0x29c5e4(0x44a)]['createInstance'](this[_0x29c5e4(0x231)](_0x3d23af),_0x3c6e31,_0x3d23af,_0xde20ab);return await _0x1a7fb6[_0x29c5e4(0x3d2)](),this[_0x29c5e4(0x35d)][_0x29c5e4(0x301)](_0x1a7fb6),_0x1a7fb6;}[_0x597ab2(0x231)](_0xc2c59d){var _0x908817=_0x597ab2;switch(_0xc2c59d){case Q[_0x908817(0x2db)]:return It;case Q[_0x908817(0x1ed)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xc2c59d);}}};nt=cn([ft(0x0,_0x5dc8b8(_0x253837)),ft(0x1,_0x5dc8b8(Le)),ft(0x2,_0x541816)],nt);var hn=Object[_0x597ab2(0x3e5)],_n=(_0x1f503d,_0x48eb7d,_0x105848,_0x272c63)=>{for(var _0xb9576f=_0x272c63>0x1?void 0x0:_0x272c63?hn(_0x48eb7d,_0x105848):_0x48eb7d,_0xb963b6=_0x1f503d['length']-0x1,_0x52a2f1;_0xb963b6>=0x0;_0xb963b6--)(_0x52a2f1=_0x1f503d[_0xb963b6])&&(_0xb9576f=_0x52a2f1(_0xb9576f)||_0xb9576f);return _0xb9576f;},zt=(_0x290e58,_0x5657ce)=>(_0x2dd25a,_0x462b9d)=>_0x5657ce(_0x2dd25a,_0x462b9d,_0x290e58);const ln='DEFAULT_FILE_NAME',un=_0x597ab2(0x214);let Ct=class extends _0x15930a{constructor(_0x45abb5,_0x525c20){var _0x165125=_0x597ab2;super(),this[_0x165125(0x3d9)]=_0x45abb5,this[_0x165125(0x252)]=_0x525c20,this[_0x165125(0x21d)]();}[_0x597ab2(0x21d)](){var _0x368f90=_0x597ab2;this[_0x368f90(0x420)](this[_0x368f90(0x3d9)][_0x368f90(0x456)][_0x368f90(0x470)](()=>{var _0x2d3073=_0x368f90,_0x3834dc;const _0x1997bc=this[_0x2d3073(0x3d9)][_0x2d3073(0x44e)]();let _0x4c2cc1=(_0x3834dc=this['_configService'][_0x2d3073(0x2d1)](ln))!=null?_0x3834dc:un;_0x1997bc instanceof _0x3fa022&&(_0x4c2cc1=_0x1997bc[_0x2d3073(0x477)]),document['title']=_0x4c2cc1;}));}};Ct=_n([zt(0x0,_0x541816),zt(0x1,_0x52e356)],Ct);var dn=Object[_0x597ab2(0x3e5)],fn=(_0x2aef52,_0x34110c,_0x2c0cb5,_0x5c688d)=>{for(var _0x56724e=_0x5c688d>0x1?void 0x0:_0x5c688d?dn(_0x34110c,_0x2c0cb5):_0x34110c,_0x2a9bc8=_0x2aef52['length']-0x1,_0x488695;_0x2a9bc8>=0x0;_0x2a9bc8--)(_0x488695=_0x2aef52[_0x2a9bc8])&&(_0x56724e=_0x488695(_0x56724e)||_0x56724e);return _0x56724e;},vt=(_0x1664f4,_0x2d1414)=>(_0x1310e9,_0x343588)=>_0x2d1414(_0x1310e9,_0x343588,_0x1664f4);let st=class{constructor(_0x582869,_0xa74cd8,_0x5db013){var _0x37f6e9=_0x597ab2;this[_0x37f6e9(0x252)]=_0x582869,this[_0x37f6e9(0x259)]=_0xa74cd8,this['localeService']=_0x5db013,this[_0x37f6e9(0x3d2)]();}['init'](){var _0x585d44=_0x597ab2;this['_httpService'][_0x585d44(0x1dd)]({'priority':0x1,'interceptor':(_0x2730cf,_0x544abf)=>_0x544abf(_0x2730cf)[_0x585d44(0x218)](_0x5d72ef(async _0x32e954=>{var _0x302af2=_0x585d44;const _0x5e18e5=_0x32e954;if(_0x5e18e5[_0x302af2(0x46a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x302af2(0x29b)](this['localeService']['t'](_0x302af2(0x41c)))){const _0x56011d=window[_0x302af2(0x1ce)](window[_0x302af2(0x479)][_0x302af2(0x2a3)]);window[_0x302af2(0x479)][_0x302af2(0x2a3)]=this[_0x302af2(0x1b7)]()+_0x302af2(0x3a6)+_0x56011d;}}return _0x5e18e5;}))});}[_0x597ab2(0x1b7)](){var _0x3df02e=_0x597ab2,_0x5ed68e,_0x469016;const _0x354d66=this[_0x3df02e(0x252)]['getConfig'](Dr),_0x4f6c67=this['_configService'][_0x3df02e(0x2d1)](q);return(_0x469016=(_0x5ed68e=_0x4f6c67==null?void 0x0:_0x4f6c67[_0x3df02e(0x1fb)])!=null?_0x5ed68e:_0x354d66)!=null?_0x469016:wr;}};st=fn([vt(0x0,_0x52e356),vt(0x1,_0x5dc8b8(_0x546518)),vt(0x2,_0x5dc8b8(_0x36508b))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0xd420bb,_0x1abb70,_0x1a021b,_0x3abe46)=>{var _0x3d116e=_0x597ab2;for(var _0x744d5d=_0x3abe46>0x1?void 0x0:_0x3abe46?vn(_0x1abb70,_0x1a021b):_0x1abb70,_0x3c25f2=_0xd420bb[_0x3d116e(0x419)]-0x1,_0x3d499d;_0x3c25f2>=0x0;_0x3c25f2--)(_0x3d499d=_0xd420bb[_0x3c25f2])&&(_0x744d5d=_0x3d499d(_0x744d5d)||_0x744d5d);return _0x744d5d;},Jt=(_0x5618d7,_0x149ae7)=>(_0x50fba3,_0x11f514)=>_0x149ae7(_0x50fba3,_0x11f514,_0x5618d7);const Ni=_0x597ab2(0x38e),mn=_0x597ab2(0x21f);let Rt=class extends _0x15930a{constructor(_0x139936,_0x3022dc){var _0x212576=_0x597ab2;super(),this['_HTTPService']=_0x139936,this[_0x212576(0x252)]=_0x3022dc,this['_initMergeInterceptor']();}[_0x597ab2(0x256)](){var _0x538cb7=_0x597ab2;const _0x13fc17=this;this[_0x538cb7(0x420)](this[_0x538cb7(0x227)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x340be7({'isMatch'(_0x26b567){var _0x46033f=_0x538cb7,_0x4a269d;if(_0x26b567[_0x46033f(0x3d7)]===_0x46033f(0x30c)&&((_0x4a269d=_0x26b567['requestParams'])!=null&&_0x4a269d[_0x46033f(0x2f4)])){const {objectID:_0x4c6014,objectType:_0x924628}=_0x26b567[_0x46033f(0x2d6)][_0x46033f(0x2f4)]||{};if(!_0x4c6014||_0x924628===void 0x0)return!0x1;const _0x33a6e2=_0x13fc17[_0x46033f(0x428)]()+'/'+_0x924628+_0x46033f(0x440)+_0x4c6014+'/allowed';if(_0x26b567[_0x46033f(0x27d)]===_0x33a6e2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2de2d7){var _0x596d43=_0x538cb7,_0x2f67b7;return(_0x2f67b7=_0x2de2d7[_0x596d43(0x2d6)])==null?void 0x0:_0x2f67b7[_0x596d43(0x2f4)];},'mergeParamsToRequest'(_0x41bcb3,_0x2b600a){var _0xa4182d=_0x538cb7;const _0xef032c=_0x13fc17['_getAPIPrefixPath']()+_0xa4182d(0x453),_0x16a088=_0x41bcb3[_0xa4182d(0x1d6)]((_0x31334c,_0xb26e0c)=>{var _0x11ab83=_0xa4182d;const {unitID:_0x58480b,objectID:_0x219f82,objectType:_0x4e5ca8,actions:_0x519f2b}=_0xb26e0c;return _0x31334c[_0x58480b]||(_0x31334c[_0x58480b]={}),_0x31334c[_0x58480b][_0x219f82]||(_0x31334c[_0x58480b][_0x219f82]={'objectID':_0x219f82,'objectType':_0x4e5ca8,'actions':[]}),_0x31334c[_0x58480b][_0x219f82][_0x11ab83(0x27e)][_0x11ab83(0x1e9)](..._0x519f2b),_0x31334c;},{}),_0x5e7f24=[];for(const _0x101c8b in _0x16a088)for(const _0x3a5d4a in _0x16a088[_0x101c8b]){const {actions:_0x274c3b,objectType:_0x213632}=_0x16a088[_0x101c8b][_0x3a5d4a],_0x208a02=[...new Set(_0x274c3b)];_0x5e7f24[_0xa4182d(0x1e9)]({'unitID':_0x101c8b,'objectID':_0x3a5d4a,'objectType':_0x213632,'actions':_0x208a02});}return new _0x219ff8(_0xa4182d(0x30c),_0xef032c,{'headers':_0x2b600a[_0xa4182d(0x31e)],'withCredentials':_0x2b600a[_0xa4182d(0x2f5)],'responseType':_0x2b600a[_0xa4182d(0x39e)],'body':{'requests':_0x5e7f24}});}},{'distributeResult'(_0x46a1b7,_0x545cb2){const {objectActions:_0x54478d}=_0x46a1b7;return _0x545cb2['map'](_0x33e0e8=>{var _0x3dd0b6=_0x5a0e;const {unitID:_0x563281,objectID:_0x58774f,actions:_0x83f21d}=_0x33e0e8,_0x1fe925=_0x54478d['find'](_0x565f86=>_0x565f86[_0x3dd0b6(0x1f6)]===_0x563281&&_0x565f86['objectID']===_0x58774f),_0x4c926c=_0x83f21d[_0x3dd0b6(0x376)](_0x3a114e=>_0x1fe925==null?void 0x0:_0x1fe925[_0x3dd0b6(0x27e)]['find'](_0x19b371=>_0x19b371[_0x3dd0b6(0x42d)]===_0x3a114e))[_0x3dd0b6(0x251)](_0x122593=>!!_0x122593);return{'config':_0x33e0e8,'result':{'actions':_0x4c926c,'error':_0x46a1b7['error']}};});}})}));}[_0x597ab2(0x428)](){var _0x500283=_0x597ab2,_0x2ee1d6,_0x5624c4;const _0x583c0f=this[_0x500283(0x252)][_0x500283(0x2d1)](Ni),_0x5cbac4=this[_0x500283(0x252)]['getConfig'](q);return(_0x5624c4=(_0x2ee1d6=_0x5cbac4==null?void 0x0:_0x5cbac4['authzUrl'])!=null?_0x2ee1d6:_0x583c0f)!=null?_0x5624c4:mn;}async[_0x597ab2(0x348)](_0x5485ab){var _0x1f0472=_0x597ab2;const _0x27ea47=this[_0x1f0472(0x428)]()+'/'+_0x5485ab['objectType']+'/object';return(await this[_0x1f0472(0x227)]['post'](_0x27ea47,{'body':_0x5485ab}))[_0x1f0472(0x2f4)][_0x1f0472(0x3c9)]||'';}async[_0x597ab2(0x297)](_0x97589f){var _0x37228d=_0x597ab2;const _0x204482=this[_0x37228d(0x428)]()+_0x37228d(0x26f);return(await this[_0x37228d(0x227)][_0x37228d(0x1c6)](_0x204482,{'body':_0x97589f}))[_0x37228d(0x2f4)][_0x37228d(0x1a8)];}async[_0x597ab2(0x228)](_0x373a19){var _0x12a9cb=_0x597ab2;const _0x29f015=this['_getAPIPrefixPath']()+'/'+_0x373a19['objectType']+'/object/'+_0x373a19[_0x12a9cb(0x3c9)];await this[_0x12a9cb(0x227)][_0x12a9cb(0x45b)](_0x29f015,{'body':_0x373a19});}async['allowed'](_0x288918){var _0x1e819b=_0x597ab2;const _0x3ab4bd=this[_0x1e819b(0x428)]()+'/'+_0x288918[_0x1e819b(0x19d)]+_0x1e819b(0x440)+_0x288918['objectID']+_0x1e819b(0x2a9);return(await this[_0x1e819b(0x227)][_0x1e819b(0x1c6)](_0x3ab4bd,{'body':_0x288918}))['body'][_0x1e819b(0x27e)];}async[_0x597ab2(0x1a9)](_0x18168a){var _0xc1743c=_0x597ab2;const _0x5243b1=this[_0xc1743c(0x428)]()+_0xc1743c(0x453);return(await this[_0xc1743c(0x227)][_0xc1743c(0x1c6)](_0x5243b1,{'body':{'requests':_0x18168a}}))['body'][_0xc1743c(0x472)];}async[_0x597ab2(0x2cf)](_0x41b854){var _0x3552ea=_0x597ab2;const _0x1a1595=this[_0x3552ea(0x428)]()+'/'+_0x41b854[_0x3552ea(0x19d)]+_0x3552ea(0x1ab),_0x2921a8=await this[_0x3552ea(0x227)][_0x3552ea(0x1c6)](_0x1a1595,{'body':_0x41b854});return{'roles':_0x2921a8[_0x3552ea(0x2f4)][_0x3552ea(0x2e2)],'actions':_0x2921a8[_0x3552ea(0x2f4)][_0x3552ea(0x27e)]};}async[_0x597ab2(0x24c)](_0x3760c7){var _0x58cd8d=_0x597ab2;const _0x2b957f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x58cd8d(0x227)]['delete'](_0x2b957f,{'params':{'collaboratorID':_0x3760c7[_0x58cd8d(0x3fd)],'objectID':_0x3760c7['objectID'],'unitID':_0x3760c7[_0x58cd8d(0x1f6)]}});}async[_0x597ab2(0x3ca)](_0x156f58){var _0x356d59=_0x597ab2;const _0x2a50ac=this[_0x356d59(0x428)]()+_0x356d59(0x48d);await this[_0x356d59(0x227)]['patch'](_0x2a50ac,{'body':_0x156f58});}async[_0x597ab2(0x42a)](_0x4e8f5a){var _0x2aa913=_0x597ab2;const _0x27a473=this[_0x2aa913(0x428)]()+_0x2aa913(0x48d);await this[_0x2aa913(0x227)][_0x2aa913(0x1c6)](_0x27a473,{'body':_0x4e8f5a});}async[_0x597ab2(0x2d2)](_0x129cb4){var _0x16bb39=_0x597ab2;const _0x1b746c=this[_0x16bb39(0x428)]()+_0x16bb39(0x48d);return(await this['_HTTPService'][_0x16bb39(0x277)](_0x1b746c,{'params':{'objectID':_0x129cb4['objectID'],'unitID':_0x129cb4[_0x16bb39(0x1f6)]}}))['body'][_0x16bb39(0x467)];}async[_0x597ab2(0x1eb)](_0x94d1ae){var _0x3f6a32=_0x597ab2;const _0x28b0a7=this[_0x3f6a32(0x428)]()+_0x3f6a32(0x48d);await this['_HTTPService'][_0x3f6a32(0x45b)](_0x28b0a7,{'body':_0x94d1ae});}};Rt=pn([Jt(0x0,_0x5dc8b8(_0x546518)),Jt(0x1,_0x5dc8b8(_0x52e356))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x409c4c){var _0x56a30b=_0x597ab2;return _0x409c4c&&_0x409c4c[_0x56a30b(0x3db)]&&Object[_0x56a30b(0x2cc)][_0x56a30b(0x480)][_0x56a30b(0x47a)](_0x409c4c,'default')?_0x409c4c[_0x56a30b(0x3d5)]:_0x409c4c;}var Ge={'exports':{}};function gn(_0xc41448){var _0x46eb34=_0x597ab2;throw new Error(_0x46eb34(0x45a)+_0xc41448+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ve={'exports':{}},Sn=Ve[_0x597ab2(0x23c)],Xt;function ie(){var _0x11ab65=_0x597ab2;return Xt||(Xt=0x1,function(_0x3ce38f,_0x599901){(function(_0x565478,_0x115a35){var _0x1731fb=_0x5a0e;_0x3ce38f[_0x1731fb(0x23c)]=_0x115a35();}(Sn,function(){var _0x152dec=_0x152dec||function(_0x53db7a,_0x5abf18){var _0x4ea1da=_0x5a0e,_0xa060ed;if(typeof window<'u'&&window[_0x4ea1da(0x1db)]&&(_0xa060ed=window['crypto']),typeof self<'u'&&self[_0x4ea1da(0x1db)]&&(_0xa060ed=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xa060ed=globalThis[_0x4ea1da(0x1db)]),!_0xa060ed&&typeof window<'u'&&window['msCrypto']&&(_0xa060ed=window[_0x4ea1da(0x347)]),!_0xa060ed&&typeof pt<'u'&&pt[_0x4ea1da(0x1db)]&&(_0xa060ed=pt[_0x4ea1da(0x1db)]),!_0xa060ed&&typeof gn==_0x4ea1da(0x1bf))try{_0xa060ed=require(_0x4ea1da(0x1db));}catch{}var _0xe0f81d=function(){var _0x58f531=_0x4ea1da;if(_0xa060ed){if(typeof _0xa060ed[_0x58f531(0x3bb)]==_0x58f531(0x1bf))try{return _0xa060ed[_0x58f531(0x3bb)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa060ed[_0x58f531(0x3ab)]==_0x58f531(0x1bf))try{return _0xa060ed[_0x58f531(0x3ab)](0x4)[_0x58f531(0x205)]();}catch{}}throw new Error(_0x58f531(0x371));},_0x40c1cf=Object['create']||(function(){function _0x13ae7(){}return function(_0x2e5bf5){var _0x33b312=_0x5a0e,_0x24e19b;return _0x13ae7['prototype']=_0x2e5bf5,_0x24e19b=new _0x13ae7(),_0x13ae7[_0x33b312(0x2cc)]=null,_0x24e19b;};}()),_0x31a53a={},_0x5ddc51=_0x31a53a[_0x4ea1da(0x461)]={},_0x31f682=_0x5ddc51[_0x4ea1da(0x394)]=(function(){return{'extend':function(_0x265ce3){var _0x727453=_0x5a0e,_0x350184=_0x40c1cf(this);return _0x265ce3&&_0x350184[_0x727453(0x3b8)](_0x265ce3),(!_0x350184[_0x727453(0x480)](_0x727453(0x3d2))||this[_0x727453(0x3d2)]===_0x350184[_0x727453(0x3d2)])&&(_0x350184['init']=function(){var _0x34ad0a=_0x727453;_0x350184['$super'][_0x34ad0a(0x3d2)][_0x34ad0a(0x2f9)](this,arguments);}),_0x350184[_0x727453(0x3d2)][_0x727453(0x2cc)]=_0x350184,_0x350184[_0x727453(0x336)]=this,_0x350184;},'create':function(){var _0x2f3d25=_0x5a0e,_0x30dae4=this[_0x2f3d25(0x19e)]();return _0x30dae4[_0x2f3d25(0x3d2)][_0x2f3d25(0x2f9)](_0x30dae4,arguments),_0x30dae4;},'init':function(){},'mixIn':function(_0x38af7a){var _0x1c551f=_0x5a0e;for(var _0x5b49a6 in _0x38af7a)_0x38af7a[_0x1c551f(0x480)](_0x5b49a6)&&(this[_0x5b49a6]=_0x38af7a[_0x5b49a6]);_0x38af7a[_0x1c551f(0x480)](_0x1c551f(0x298))&&(this['toString']=_0x38af7a[_0x1c551f(0x298)]);},'clone':function(){var _0x32b6c6=_0x5a0e;return this[_0x32b6c6(0x3d2)]['prototype'][_0x32b6c6(0x19e)](this);}};}()),_0x43a70b=_0x5ddc51['WordArray']=_0x31f682[_0x4ea1da(0x19e)]({'init':function(_0x534482,_0x171b4b){var _0x4451ff=_0x4ea1da;_0x534482=this['words']=_0x534482||[],_0x171b4b!=_0x5abf18?this['sigBytes']=_0x171b4b:this[_0x4451ff(0x3c2)]=_0x534482[_0x4451ff(0x419)]*0x4;},'toString':function(_0xd7465c){var _0x28ef7d=_0x4ea1da;return(_0xd7465c||_0x957677)[_0x28ef7d(0x1c7)](this);},'concat':function(_0x2041d9){var _0x43f74c=_0x4ea1da,_0x4592df=this[_0x43f74c(0x43a)],_0x296cfe=_0x2041d9[_0x43f74c(0x43a)],_0x22f7ac=this[_0x43f74c(0x3c2)],_0x356b43=_0x2041d9[_0x43f74c(0x3c2)];if(this[_0x43f74c(0x365)](),_0x22f7ac%0x4)for(var _0x4e6d1e=0x0;_0x4e6d1e<_0x356b43;_0x4e6d1e++){var _0x440930=_0x296cfe[_0x4e6d1e>>>0x2]>>>0x18-_0x4e6d1e%0x4*0x8&0xff;_0x4592df[_0x22f7ac+_0x4e6d1e>>>0x2]|=_0x440930<<0x18-(_0x22f7ac+_0x4e6d1e)%0x4*0x8;}else{for(var _0x2990eb=0x0;_0x2990eb<_0x356b43;_0x2990eb+=0x4)_0x4592df[_0x22f7ac+_0x2990eb>>>0x2]=_0x296cfe[_0x2990eb>>>0x2];}return this['sigBytes']+=_0x356b43,this;},'clamp':function(){var _0x4942bc=_0x4ea1da,_0x254c91=this[_0x4942bc(0x43a)],_0x12f5cb=this[_0x4942bc(0x3c2)];_0x254c91[_0x12f5cb>>>0x2]&=0xffffffff<<0x20-_0x12f5cb%0x4*0x8,_0x254c91[_0x4942bc(0x419)]=_0x53db7a[_0x4942bc(0x2d5)](_0x12f5cb/0x4);},'clone':function(){var _0x4d4645=_0x4ea1da,_0x573f55=_0x31f682[_0x4d4645(0x248)]['call'](this);return _0x573f55['words']=this[_0x4d4645(0x43a)]['slice'](0x0),_0x573f55;},'random':function(_0x4ea6ba){var _0xc47966=_0x4ea1da;for(var _0x230731=[],_0x25973a=0x0;_0x25973a<_0x4ea6ba;_0x25973a+=0x4)_0x230731[_0xc47966(0x1e9)](_0xe0f81d());return new _0x43a70b[(_0xc47966(0x3d2))](_0x230731,_0x4ea6ba);}}),_0x210316=_0x31a53a[_0x4ea1da(0x328)]={},_0x957677=_0x210316[_0x4ea1da(0x309)]={'stringify':function(_0x20a417){var _0x513337=_0x4ea1da;for(var _0x1761c3=_0x20a417[_0x513337(0x43a)],_0x19fb42=_0x20a417[_0x513337(0x3c2)],_0x5a76f0=[],_0x14a1c6=0x0;_0x14a1c6<_0x19fb42;_0x14a1c6++){var _0x11a7d9=_0x1761c3[_0x14a1c6>>>0x2]>>>0x18-_0x14a1c6%0x4*0x8&0xff;_0x5a76f0[_0x513337(0x1e9)]((_0x11a7d9>>>0x4)[_0x513337(0x298)](0x10)),_0x5a76f0[_0x513337(0x1e9)]((_0x11a7d9&0xf)[_0x513337(0x298)](0x10));}return _0x5a76f0['join']('');},'parse':function(_0x14f3ec){var _0x565b96=_0x4ea1da;for(var _0x7fbbfe=_0x14f3ec[_0x565b96(0x419)],_0x1bb306=[],_0x1f4b2c=0x0;_0x1f4b2c<_0x7fbbfe;_0x1f4b2c+=0x2)_0x1bb306[_0x1f4b2c>>>0x3]|=parseInt(_0x14f3ec[_0x565b96(0x468)](_0x1f4b2c,0x2),0x10)<<0x18-_0x1f4b2c%0x8*0x4;return new _0x43a70b[(_0x565b96(0x3d2))](_0x1bb306,_0x7fbbfe/0x2);}},_0x55b41a=_0x210316[_0x4ea1da(0x209)]={'stringify':function(_0x44569f){var _0x1d90d5=_0x4ea1da;for(var _0x28f031=_0x44569f[_0x1d90d5(0x43a)],_0x3fdce8=_0x44569f[_0x1d90d5(0x3c2)],_0x509685=[],_0x38659c=0x0;_0x38659c<_0x3fdce8;_0x38659c++){var _0x91d896=_0x28f031[_0x38659c>>>0x2]>>>0x18-_0x38659c%0x4*0x8&0xff;_0x509685['push'](String['fromCharCode'](_0x91d896));}return _0x509685['join']('');},'parse':function(_0xbc571d){var _0x2782bf=_0x4ea1da;for(var _0x2eda2b=_0xbc571d[_0x2782bf(0x419)],_0x675915=[],_0x16e5c4=0x0;_0x16e5c4<_0x2eda2b;_0x16e5c4++)_0x675915[_0x16e5c4>>>0x2]|=(_0xbc571d[_0x2782bf(0x1c9)](_0x16e5c4)&0xff)<<0x18-_0x16e5c4%0x4*0x8;return new _0x43a70b[(_0x2782bf(0x3d2))](_0x675915,_0x2eda2b);}},_0x4b5b32=_0x210316['Utf8']={'stringify':function(_0x45b101){var _0x3c3e6c=_0x4ea1da;try{return decodeURIComponent(escape(_0x55b41a['stringify'](_0x45b101)));}catch{throw new Error(_0x3c3e6c(0x324));}},'parse':function(_0x1966f1){var _0x16442e=_0x4ea1da;return _0x55b41a[_0x16442e(0x40e)](unescape(encodeURIComponent(_0x1966f1)));}},_0x1b6609=_0x5ddc51['BufferedBlockAlgorithm']=_0x31f682['extend']({'reset':function(){var _0x25e75a=_0x4ea1da;this['_data']=new _0x43a70b['init'](),this[_0x25e75a(0x279)]=0x0;},'_append':function(_0x347ab5){var _0x37d49f=_0x4ea1da;typeof _0x347ab5==_0x37d49f(0x1ca)&&(_0x347ab5=_0x4b5b32['parse'](_0x347ab5)),this['_data'][_0x37d49f(0x34d)](_0x347ab5),this['_nDataBytes']+=_0x347ab5[_0x37d49f(0x3c2)];},'_process':function(_0x1a4009){var _0xe606b=_0x4ea1da,_0x342062,_0x30e1b5=this[_0xe606b(0x1ea)],_0x12ad2a=_0x30e1b5[_0xe606b(0x43a)],_0x4651d5=_0x30e1b5['sigBytes'],_0x72c62b=this[_0xe606b(0x2c9)],_0x3abc7a=_0x72c62b*0x4,_0xd5a4dc=_0x4651d5/_0x3abc7a;_0x1a4009?_0xd5a4dc=_0x53db7a[_0xe606b(0x2d5)](_0xd5a4dc):_0xd5a4dc=_0x53db7a[_0xe606b(0x23d)]((_0xd5a4dc|0x0)-this['_minBufferSize'],0x0);var _0x586018=_0xd5a4dc*_0x72c62b,_0x20b8a5=_0x53db7a['min'](_0x586018*0x4,_0x4651d5);if(_0x586018){for(var _0xfcf880=0x0;_0xfcf880<_0x586018;_0xfcf880+=_0x72c62b)this[_0xe606b(0x31a)](_0x12ad2a,_0xfcf880);_0x342062=_0x12ad2a['splice'](0x0,_0x586018),_0x30e1b5[_0xe606b(0x3c2)]-=_0x20b8a5;}return new _0x43a70b[(_0xe606b(0x3d2))](_0x342062,_0x20b8a5);},'clone':function(){var _0x36e1f3=_0x4ea1da,_0x3d95bf=_0x31f682[_0x36e1f3(0x248)][_0x36e1f3(0x47a)](this);return _0x3d95bf['_data']=this[_0x36e1f3(0x1ea)][_0x36e1f3(0x248)](),_0x3d95bf;},'_minBufferSize':0x0});_0x5ddc51['Hasher']=_0x1b6609[_0x4ea1da(0x19e)]({'cfg':_0x31f682[_0x4ea1da(0x19e)](),'init':function(_0x309eb7){var _0x483677=_0x4ea1da;this[_0x483677(0x30f)]=this[_0x483677(0x30f)]['extend'](_0x309eb7),this[_0x483677(0x212)]();},'reset':function(){var _0x148ace=_0x4ea1da;_0x1b6609[_0x148ace(0x212)][_0x148ace(0x47a)](this),this[_0x148ace(0x48b)]();},'update':function(_0x273dc3){var _0xfabbce=_0x4ea1da;return this[_0xfabbce(0x244)](_0x273dc3),this[_0xfabbce(0x48c)](),this;},'finalize':function(_0x584925){var _0x5adff1=_0x4ea1da;_0x584925&&this[_0x5adff1(0x244)](_0x584925);var _0x196178=this['_doFinalize']();return _0x196178;},'blockSize':0x10,'_createHelper':function(_0x5a9719){return function(_0x21f5b1,_0x16c809){var _0x14ec4f=_0x5a0e;return new _0x5a9719[(_0x14ec4f(0x3d2))](_0x16c809)['finalize'](_0x21f5b1);};},'_createHmacHelper':function(_0x599ae2){return function(_0x53ec96,_0x4eaee5){var _0x55dde1=_0x5a0e;return new _0x6ab279[(_0x55dde1(0x262))][(_0x55dde1(0x3d2))](_0x599ae2,_0x4eaee5)['finalize'](_0x53ec96);};}});var _0x6ab279=_0x31a53a['algo']={};return _0x31a53a;}(Math);return _0x152dec;}));}(Ve)),Ve[_0x11ab65(0x23c)];}var We={'exports':{}},En=We['exports'],Zt;function Di(){var _0x383413=_0x597ab2;return Zt||(Zt=0x1,function(_0x1608bd,_0x45804a){(function(_0xd83e5c,_0x5f572a){var _0x40edb5=_0x5a0e;_0x1608bd[_0x40edb5(0x23c)]=_0x5f572a(ie());}(En,function(_0x2bc389){return(function(){var _0x39b6e9=_0x5a0e,_0x2c8ebc=_0x2bc389,_0x587290=_0x2c8ebc['lib'],_0x2af2b3=_0x587290[_0x39b6e9(0x459)],_0x23395c=_0x2c8ebc['enc'];_0x23395c['Base64']={'stringify':function(_0x5bdea9){var _0x436b7c=_0x39b6e9,_0x4fdd5e=_0x5bdea9[_0x436b7c(0x43a)],_0x35dec5=_0x5bdea9['sigBytes'],_0x86bdae=this['_map'];_0x5bdea9[_0x436b7c(0x365)]();for(var _0x394157=[],_0x55fd40=0x0;_0x55fd40<_0x35dec5;_0x55fd40+=0x3)for(var _0x1ec9e9=_0x4fdd5e[_0x55fd40>>>0x2]>>>0x18-_0x55fd40%0x4*0x8&0xff,_0x5d7614=_0x4fdd5e[_0x55fd40+0x1>>>0x2]>>>0x18-(_0x55fd40+0x1)%0x4*0x8&0xff,_0x25e44e=_0x4fdd5e[_0x55fd40+0x2>>>0x2]>>>0x18-(_0x55fd40+0x2)%0x4*0x8&0xff,_0x324dab=_0x1ec9e9<<0x10|_0x5d7614<<0x8|_0x25e44e,_0x3b1eda=0x0;_0x3b1eda<0x4&&_0x55fd40+_0x3b1eda*0.75<_0x35dec5;_0x3b1eda++)_0x394157[_0x436b7c(0x1e9)](_0x86bdae[_0x436b7c(0x2bb)](_0x324dab>>>0x6*(0x3-_0x3b1eda)&0x3f));var _0x2957bd=_0x86bdae[_0x436b7c(0x2bb)](0x40);if(_0x2957bd){for(;_0x394157[_0x436b7c(0x419)]%0x4;)_0x394157['push'](_0x2957bd);}return _0x394157['join']('');},'parse':function(_0x1b5436){var _0x4830cf=_0x39b6e9,_0x4cb2c3=_0x1b5436['length'],_0x5e24d7=this[_0x4830cf(0x1ad)],_0x1971e7=this['_reverseMap'];if(!_0x1971e7){_0x1971e7=this['_reverseMap']=[];for(var _0x2c6633=0x0;_0x2c6633<_0x5e24d7[_0x4830cf(0x419)];_0x2c6633++)_0x1971e7[_0x5e24d7[_0x4830cf(0x1c9)](_0x2c6633)]=_0x2c6633;}var _0x2467b8=_0x5e24d7['charAt'](0x40);if(_0x2467b8){var _0x534c1f=_0x1b5436[_0x4830cf(0x20b)](_0x2467b8);_0x534c1f!==-0x1&&(_0x4cb2c3=_0x534c1f);}return _0x4e53d0(_0x1b5436,_0x4cb2c3,_0x1971e7);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4e53d0(_0x392473,_0x20f803,_0x11271c){var _0x5a8660=_0x39b6e9;for(var _0xf48ec9=[],_0x51ee1f=0x0,_0x442198=0x0;_0x442198<_0x20f803;_0x442198++)if(_0x442198%0x4){var _0x484a63=_0x11271c[_0x392473[_0x5a8660(0x1c9)](_0x442198-0x1)]<<_0x442198%0x4*0x2,_0x2e8e8d=_0x11271c[_0x392473['charCodeAt'](_0x442198)]>>>0x6-_0x442198%0x4*0x2,_0x14949a=_0x484a63|_0x2e8e8d;_0xf48ec9[_0x51ee1f>>>0x2]|=_0x14949a<<0x18-_0x51ee1f%0x4*0x8,_0x51ee1f++;}return _0x2af2b3[_0x5a8660(0x348)](_0xf48ec9,_0x51ee1f);}}()),_0x2bc389['enc']['Base64'];}));}(We)),We[_0x383413(0x23c)];}var Ke={'exports':{}},In=Ke[_0x597ab2(0x23c)],Qt;function Tn(){var _0x452fd9=_0x597ab2;return Qt||(Qt=0x1,function(_0x547135,_0x9a42e7){(function(_0x112420,_0x5cdceb){var _0x1f0332=_0x5a0e;_0x547135[_0x1f0332(0x23c)]=_0x5cdceb(ie());}(In,function(_0x182625){var _0xf00d97=_0x5a0e;return function(_0x143d89){var _0x1ba308=_0x5a0e,_0x3fae79=_0x182625,_0x2b46ba=_0x3fae79[_0x1ba308(0x461)],_0x33359b=_0x2b46ba[_0x1ba308(0x459)],_0x154b3f=_0x2b46ba[_0x1ba308(0x381)],_0xc678d1=_0x3fae79['algo'],_0x17e058=[];(function(){var _0x5c16e9=_0x1ba308;for(var _0x582fae=0x0;_0x582fae<0x40;_0x582fae++)_0x17e058[_0x582fae]=_0x143d89[_0x5c16e9(0x3e4)](_0x143d89['sin'](_0x582fae+0x1))*0x100000000|0x0;}());var _0x3763e9=_0xc678d1[_0x1ba308(0x1ee)]=_0x154b3f[_0x1ba308(0x19e)]({'_doReset':function(){var _0x1b185e=_0x1ba308;this['_hash']=new _0x33359b[(_0x1b185e(0x3d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x508e31,_0x68e7cb){var _0x522970=_0x1ba308;for(var _0x501ef1=0x0;_0x501ef1<0x10;_0x501ef1++){var _0x1e8471=_0x68e7cb+_0x501ef1,_0x57dc07=_0x508e31[_0x1e8471];_0x508e31[_0x1e8471]=(_0x57dc07<<0x8|_0x57dc07>>>0x18)&0xff00ff|(_0x57dc07<<0x18|_0x57dc07>>>0x8)&0xff00ff00;}var _0x1c633e=this[_0x522970(0x401)][_0x522970(0x43a)],_0x2922c8=_0x508e31[_0x68e7cb+0x0],_0xbd48ee=_0x508e31[_0x68e7cb+0x1],_0x16facd=_0x508e31[_0x68e7cb+0x2],_0x269a74=_0x508e31[_0x68e7cb+0x3],_0x4d65f6=_0x508e31[_0x68e7cb+0x4],_0x113f30=_0x508e31[_0x68e7cb+0x5],_0x1de206=_0x508e31[_0x68e7cb+0x6],_0x46e1b3=_0x508e31[_0x68e7cb+0x7],_0x575d3f=_0x508e31[_0x68e7cb+0x8],_0x3fd5f4=_0x508e31[_0x68e7cb+0x9],_0x567376=_0x508e31[_0x68e7cb+0xa],_0x12bbd1=_0x508e31[_0x68e7cb+0xb],_0x1fe532=_0x508e31[_0x68e7cb+0xc],_0x565f12=_0x508e31[_0x68e7cb+0xd],_0x45df3c=_0x508e31[_0x68e7cb+0xe],_0xed6866=_0x508e31[_0x68e7cb+0xf],_0x422191=_0x1c633e[0x0],_0xdba277=_0x1c633e[0x1],_0x370c5a=_0x1c633e[0x2],_0x5e0424=_0x1c633e[0x3];_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x2922c8,0x7,_0x17e058[0x0]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0xbd48ee,0xc,_0x17e058[0x1]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x16facd,0x11,_0x17e058[0x2]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x269a74,0x16,_0x17e058[0x3]),_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x4d65f6,0x7,_0x17e058[0x4]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x113f30,0xc,_0x17e058[0x5]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x1de206,0x11,_0x17e058[0x6]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x46e1b3,0x16,_0x17e058[0x7]),_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x575d3f,0x7,_0x17e058[0x8]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x3fd5f4,0xc,_0x17e058[0x9]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x567376,0x11,_0x17e058[0xa]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x12bbd1,0x16,_0x17e058[0xb]),_0x422191=_0x95e00c(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x1fe532,0x7,_0x17e058[0xc]),_0x5e0424=_0x95e00c(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x565f12,0xc,_0x17e058[0xd]),_0x370c5a=_0x95e00c(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x45df3c,0x11,_0x17e058[0xe]),_0xdba277=_0x95e00c(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0xed6866,0x16,_0x17e058[0xf]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0xbd48ee,0x5,_0x17e058[0x10]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x1de206,0x9,_0x17e058[0x11]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x12bbd1,0xe,_0x17e058[0x12]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x2922c8,0x14,_0x17e058[0x13]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x113f30,0x5,_0x17e058[0x14]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x567376,0x9,_0x17e058[0x15]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0xed6866,0xe,_0x17e058[0x16]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x4d65f6,0x14,_0x17e058[0x17]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x3fd5f4,0x5,_0x17e058[0x18]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x45df3c,0x9,_0x17e058[0x19]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x269a74,0xe,_0x17e058[0x1a]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x575d3f,0x14,_0x17e058[0x1b]),_0x422191=_0x48fbdb(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x565f12,0x5,_0x17e058[0x1c]),_0x5e0424=_0x48fbdb(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x16facd,0x9,_0x17e058[0x1d]),_0x370c5a=_0x48fbdb(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x46e1b3,0xe,_0x17e058[0x1e]),_0xdba277=_0x48fbdb(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x1fe532,0x14,_0x17e058[0x1f]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x113f30,0x4,_0x17e058[0x20]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x575d3f,0xb,_0x17e058[0x21]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x12bbd1,0x10,_0x17e058[0x22]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x45df3c,0x17,_0x17e058[0x23]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0xbd48ee,0x4,_0x17e058[0x24]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x4d65f6,0xb,_0x17e058[0x25]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x46e1b3,0x10,_0x17e058[0x26]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x567376,0x17,_0x17e058[0x27]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x565f12,0x4,_0x17e058[0x28]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x2922c8,0xb,_0x17e058[0x29]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x269a74,0x10,_0x17e058[0x2a]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x1de206,0x17,_0x17e058[0x2b]),_0x422191=_0x821186(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x3fd5f4,0x4,_0x17e058[0x2c]),_0x5e0424=_0x821186(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x1fe532,0xb,_0x17e058[0x2d]),_0x370c5a=_0x821186(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0xed6866,0x10,_0x17e058[0x2e]),_0xdba277=_0x821186(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x16facd,0x17,_0x17e058[0x2f]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x2922c8,0x6,_0x17e058[0x30]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x46e1b3,0xa,_0x17e058[0x31]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x45df3c,0xf,_0x17e058[0x32]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x113f30,0x15,_0x17e058[0x33]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x1fe532,0x6,_0x17e058[0x34]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x269a74,0xa,_0x17e058[0x35]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x567376,0xf,_0x17e058[0x36]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0xbd48ee,0x15,_0x17e058[0x37]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x575d3f,0x6,_0x17e058[0x38]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0xed6866,0xa,_0x17e058[0x39]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x1de206,0xf,_0x17e058[0x3a]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x565f12,0x15,_0x17e058[0x3b]),_0x422191=_0x31d912(_0x422191,_0xdba277,_0x370c5a,_0x5e0424,_0x4d65f6,0x6,_0x17e058[0x3c]),_0x5e0424=_0x31d912(_0x5e0424,_0x422191,_0xdba277,_0x370c5a,_0x12bbd1,0xa,_0x17e058[0x3d]),_0x370c5a=_0x31d912(_0x370c5a,_0x5e0424,_0x422191,_0xdba277,_0x16facd,0xf,_0x17e058[0x3e]),_0xdba277=_0x31d912(_0xdba277,_0x370c5a,_0x5e0424,_0x422191,_0x3fd5f4,0x15,_0x17e058[0x3f]),_0x1c633e[0x0]=_0x1c633e[0x0]+_0x422191|0x0,_0x1c633e[0x1]=_0x1c633e[0x1]+_0xdba277|0x0,_0x1c633e[0x2]=_0x1c633e[0x2]+_0x370c5a|0x0,_0x1c633e[0x3]=_0x1c633e[0x3]+_0x5e0424|0x0;},'_doFinalize':function(){var _0x344db7=_0x1ba308,_0x72e79c=this['_data'],_0x2b9428=_0x72e79c[_0x344db7(0x43a)],_0x242b4e=this['_nDataBytes']*0x8,_0xe3bc82=_0x72e79c['sigBytes']*0x8;_0x2b9428[_0xe3bc82>>>0x5]|=0x80<<0x18-_0xe3bc82%0x20;var _0xc0545f=_0x143d89[_0x344db7(0x215)](_0x242b4e/0x100000000),_0x200187=_0x242b4e;_0x2b9428[(_0xe3bc82+0x40>>>0x9<<0x4)+0xf]=(_0xc0545f<<0x8|_0xc0545f>>>0x18)&0xff00ff|(_0xc0545f<<0x18|_0xc0545f>>>0x8)&0xff00ff00,_0x2b9428[(_0xe3bc82+0x40>>>0x9<<0x4)+0xe]=(_0x200187<<0x8|_0x200187>>>0x18)&0xff00ff|(_0x200187<<0x18|_0x200187>>>0x8)&0xff00ff00,_0x72e79c['sigBytes']=(_0x2b9428[_0x344db7(0x419)]+0x1)*0x4,this['_process']();for(var _0x40c22a=this[_0x344db7(0x401)],_0x51619a=_0x40c22a[_0x344db7(0x43a)],_0x46befc=0x0;_0x46befc<0x4;_0x46befc++){var _0x5e7bbb=_0x51619a[_0x46befc];_0x51619a[_0x46befc]=(_0x5e7bbb<<0x8|_0x5e7bbb>>>0x18)&0xff00ff|(_0x5e7bbb<<0x18|_0x5e7bbb>>>0x8)&0xff00ff00;}return _0x40c22a;},'clone':function(){var _0x7df50e=_0x1ba308,_0x567fa2=_0x154b3f[_0x7df50e(0x248)][_0x7df50e(0x47a)](this);return _0x567fa2[_0x7df50e(0x401)]=this['_hash'][_0x7df50e(0x248)](),_0x567fa2;}});function _0x95e00c(_0xb76cb4,_0x13b6ce,_0x3e3ad9,_0x373b93,_0x372254,_0x34dad5,_0x4f39c6){var _0x5e8895=_0xb76cb4+(_0x13b6ce&_0x3e3ad9|~_0x13b6ce&_0x373b93)+_0x372254+_0x4f39c6;return(_0x5e8895<<_0x34dad5|_0x5e8895>>>0x20-_0x34dad5)+_0x13b6ce;}function _0x48fbdb(_0x62d69a,_0xc59b16,_0x404b56,_0x26c316,_0x6370f7,_0x4b7374,_0x17950d){var _0x2f8f9d=_0x62d69a+(_0xc59b16&_0x26c316|_0x404b56&~_0x26c316)+_0x6370f7+_0x17950d;return(_0x2f8f9d<<_0x4b7374|_0x2f8f9d>>>0x20-_0x4b7374)+_0xc59b16;}function _0x821186(_0x1141d3,_0x21c2b5,_0x5aa5af,_0x770fb7,_0x58b776,_0x5d6d18,_0x1de616){var _0x3492ed=_0x1141d3+(_0x21c2b5^_0x5aa5af^_0x770fb7)+_0x58b776+_0x1de616;return(_0x3492ed<<_0x5d6d18|_0x3492ed>>>0x20-_0x5d6d18)+_0x21c2b5;}function _0x31d912(_0x40da46,_0x329efd,_0x5ba380,_0x5b96aa,_0x1bbfbf,_0x42edc1,_0x45e037){var _0x6428fa=_0x40da46+(_0x5ba380^(_0x329efd|~_0x5b96aa))+_0x1bbfbf+_0x45e037;return(_0x6428fa<<_0x42edc1|_0x6428fa>>>0x20-_0x42edc1)+_0x329efd;}_0x3fae79['MD5']=_0x154b3f['_createHelper'](_0x3763e9),_0x3fae79[_0x1ba308(0x1f8)]=_0x154b3f[_0x1ba308(0x240)](_0x3763e9);}(Math),_0x182625[_0xf00d97(0x1ee)];}));}(Ke)),Ke[_0x452fd9(0x23c)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x597ab2(0x23c)],ei;function Rn(){var _0x2aa912=_0x597ab2;return ei||(ei=0x1,function(_0x5941b3,_0x5a9f05){(function(_0x151d09,_0x515921){var _0x4333f9=_0x5a0e;_0x5941b3[_0x4333f9(0x23c)]=_0x515921(ie());}(Cn,function(_0x159cf3){var _0x221d27=_0x5a0e;return(function(){var _0x2a4737=_0x5a0e,_0x4a390b=_0x159cf3,_0x18c8e7=_0x4a390b[_0x2a4737(0x461)],_0x27c088=_0x18c8e7[_0x2a4737(0x459)],_0x36e60e=_0x18c8e7[_0x2a4737(0x381)],_0x1e1ee1=_0x4a390b[_0x2a4737(0x3ac)],_0x190475=[],_0x412df1=_0x1e1ee1['SHA1']=_0x36e60e[_0x2a4737(0x19e)]({'_doReset':function(){var _0x488912=_0x2a4737;this[_0x488912(0x401)]=new _0x27c088[(_0x488912(0x3d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x32322e,_0x793c47){var _0xcd7dd8=_0x2a4737;for(var _0x54447c=this['_hash'][_0xcd7dd8(0x43a)],_0x3aa666=_0x54447c[0x0],_0x51dbd=_0x54447c[0x1],_0x56445d=_0x54447c[0x2],_0x56e87f=_0x54447c[0x3],_0x50de4d=_0x54447c[0x4],_0x2214ff=0x0;_0x2214ff<0x50;_0x2214ff++){if(_0x2214ff<0x10)_0x190475[_0x2214ff]=_0x32322e[_0x793c47+_0x2214ff]|0x0;else{var _0x412864=_0x190475[_0x2214ff-0x3]^_0x190475[_0x2214ff-0x8]^_0x190475[_0x2214ff-0xe]^_0x190475[_0x2214ff-0x10];_0x190475[_0x2214ff]=_0x412864<<0x1|_0x412864>>>0x1f;}var _0x137514=(_0x3aa666<<0x5|_0x3aa666>>>0x1b)+_0x50de4d+_0x190475[_0x2214ff];_0x2214ff<0x14?_0x137514+=(_0x51dbd&_0x56445d|~_0x51dbd&_0x56e87f)+0x5a827999:_0x2214ff<0x28?_0x137514+=(_0x51dbd^_0x56445d^_0x56e87f)+0x6ed9eba1:_0x2214ff<0x3c?_0x137514+=(_0x51dbd&_0x56445d|_0x51dbd&_0x56e87f|_0x56445d&_0x56e87f)-0x70e44324:_0x137514+=(_0x51dbd^_0x56445d^_0x56e87f)-0x359d3e2a,_0x50de4d=_0x56e87f,_0x56e87f=_0x56445d,_0x56445d=_0x51dbd<<0x1e|_0x51dbd>>>0x2,_0x51dbd=_0x3aa666,_0x3aa666=_0x137514;}_0x54447c[0x0]=_0x54447c[0x0]+_0x3aa666|0x0,_0x54447c[0x1]=_0x54447c[0x1]+_0x51dbd|0x0,_0x54447c[0x2]=_0x54447c[0x2]+_0x56445d|0x0,_0x54447c[0x3]=_0x54447c[0x3]+_0x56e87f|0x0,_0x54447c[0x4]=_0x54447c[0x4]+_0x50de4d|0x0;},'_doFinalize':function(){var _0x1f3409=_0x2a4737,_0x31e3c6=this[_0x1f3409(0x1ea)],_0xc5ed24=_0x31e3c6[_0x1f3409(0x43a)],_0x120dfb=this['_nDataBytes']*0x8,_0x586889=_0x31e3c6[_0x1f3409(0x3c2)]*0x8;return _0xc5ed24[_0x586889>>>0x5]|=0x80<<0x18-_0x586889%0x20,_0xc5ed24[(_0x586889+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f3409(0x215)](_0x120dfb/0x100000000),_0xc5ed24[(_0x586889+0x40>>>0x9<<0x4)+0xf]=_0x120dfb,_0x31e3c6[_0x1f3409(0x3c2)]=_0xc5ed24[_0x1f3409(0x419)]*0x4,this[_0x1f3409(0x48c)](),this['_hash'];},'clone':function(){var _0x11d39f=_0x36e60e['clone']['call'](this);return _0x11d39f['_hash']=this['_hash']['clone'](),_0x11d39f;}});_0x4a390b[_0x2a4737(0x24e)]=_0x36e60e['_createHelper'](_0x412df1),_0x4a390b[_0x2a4737(0x1fa)]=_0x36e60e['_createHmacHelper'](_0x412df1);}()),_0x159cf3[_0x221d27(0x24e)];}));}(qe)),qe[_0x2aa912(0x23c)];}function _0x3e33(){var _0x216e73=['loadDoc','APPLY_NON_SEQUENTIAL_REVISION','commentUpdate$','_doProcessBlock','_getAPIPrefix','repeat','FAIL','headers','EvpKDF','format','[CollaborationSession]','reconnect','complete','Malformed\x20UTF-8\x20data','_onRemoteChangeset','IDLE','closeSession','enc','setCurrentUser','refreshPermission','splice','getInterceptPoints','startTime','_onCombEvent','_sessions','LIVESHARE_FETCH_OPERATIONS','_snapshotServerService','_doFinalize','incrementRevOfUnit','FileId','readAsDataURL','$super','_onOffline','execute','_status$','CHANGESET_REVISION_CONFILICT','_decreaseWaiting','YUUMI_URL_COL_OUT_OF_RANGE','Undefined','SerializableCipher','collaMsg','localCacheService','_undoStacks','addImageSourceCache','_unlockTransition','_clearScheduledTask','_loadSheet','selections','msCrypto','create','YUUMI_SUBSCRIPTION_NOT_FOUND','_isPermissionRej','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_prevBlock','concat','/universer-api/comb','YUUMI_UNABLE_LOAD_URL','collaboration_new_changeset','getCollabEntity$','_collaborationUIEventService','getUnitOnRev','SUBMIT_CHANGESET','_roomCreated$','CHANGESET_SHOULD_RETRY','INTERNAL_ERROR','RECV','Error\x20on\x20receiving\x20event','updateMember','onRemoteRej','joinRsp','_entityInit$','change$','[CollaborationEntity]','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getSheetBlock','ciphertext','getUnitType','sessionStatus$','clamp','_permissionService','_initUnitPermissionChange','_onRemoteRetry','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_rescheduleHeartbeat','_syncEditingCollabCursor','JOINING','createSocket','_networkConditionService','transformStack\x20failed!','APPLY_DUPLICATED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_eventService','_lockTransition','memberID','setConfig','map','liveShareOperation','AWAITING','has','onMissingChangesets','LIVESHARE_OPERATION','Cipher','rev','removeMember','_showConflictNotification','_roomMembers','Hasher','processBlock','editing\x20status\x20changed\x20to','resend','Decryptor','/block/','onLocalMutation','params','45402QBfAiO','_updateStatus','interceptor','toggleOnline','SNAPSHOT_HAS_BEEN_REMOVED','AUTHZ_URL_KEY','_getUploadFileURL','_registerDependencies','_shouldReportTelemetry','_commentUpdate$','resourceIDs','Base','Utf8','getSheetId','formatter','LIVESHARE_NEW_HOST','delete','_executeRemoteChangeset','members','_waitCount','c2Prime','responseType','collabSubmitChangesetUrl','collabWebSocketUrl','image/bmp','_socketService','workbook','dispose','_sessionStatus$','?url=','c1Prime','_getDownloadEndpointURL','_substituteUndoStack','emitEvent','randomBytes','algo','_members$','_collaborationTimeoutTimer','_incrementRevisionNumber','transformMutationsWithChangeset','session.room-not-exists','message$','commentUpdateEvent','\x0aAfter:\x20','addHandlerCallback','infoRsp','_onConnectionFailed','mixIn','_startCollaboration','reqId','getRandomValues','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','size','_onUserLeave','_scheduleCollaborationTimeoutTimer','_transformSelections','/universer-api/snapshot/','sigBytes','_minBufferSize','_listenToNetworkCondition','_compressMutationService','onTransformSelections','status$','conflict','objectID','updateCollaborator','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','close','unitId','iterations','HEARTBEAT','_createInitialStateImpl','awaiting_with_pending','init','getUnit','mutations','default','pending','method','APPLY_REVISION_CONFILICT','_univerInstanceService','_state','__esModule','[OfflineState]:\x20received\x20acknowledgement.','PERMISSION_REJ','joinEvent','GLOBAL_ROOMS_CNT_EXCEEDS','permissionRejEvent','AWAITING_WITH_PENDING','[CollaborationUndoRedoService]','_instanceService','abs','getOwnPropertyDescriptor','_socket$','UNISCRIPT_RUN','_transformUndoredo','_localCacheService','_telemetryInfo','entityInit$','446295PEpBAj','[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.','_nRounds','MUTATION','unknown','_transformRemoteChangesetByStateCache','loadUnit','replace','byteOffset','LICENSE_MAX_UNITS_EXCEEDED','send','key','kdf','ws://127.0.0.1:8000/universer-api/comb/connect','SNAPSHOT_SERVER_URL_KEY','subUnitId','_undoRedoService','collaboratorID','PasswordBasedCipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','_hash','transformSelections','subject','_queuedRemoteChangesets','_resendTimer','padding','/universer-api/file/{fileID}/sign-url','[FetchMissState]','UNIVER_PROJECT','_initRequestHeader','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','univer-pro.collaboration-client.network-condition.service','3256650cMCVAr','parse','decrypt','fetch_missing','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ERROR_IMAGE','avatar','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','csAckEvent','onTransformState','_sender','updatePermissionPoint','length','submit\x20changeset\x20error!','_telemetryService','auth.needGotoLoginAlert','transformUndoRedo','_memberService','slice','disposeWithMe','_singleActiveUnitService','updatePermissionObjEvent','_updateState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onConnectionOpen','collaboration-client.config','roomInfos','_getAPIPrefixPath','/resources','createCollaborator','now','_entities','action','_getRedoStack','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByIMECache','pauseCollaboration','onSyncEditingCollabCursor','_commandService','byteLength','LEAVE','UNKNOWN_CODE','createEncryptor','sessionStatus','_candidateSocket','words','_doCryptBlock','CHANGESET_ACK','SEND_CHANGESET_TIMEOUT','_changesetReqId','?size=','/object/','231056mdNLHE','_toggleOffline','PERSON','_emitMembers','getCurrentUser','saveChangeset','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','INVALID_ARGUMENT','_injector','APPLY_PERMISSION_DENIED','state$','ONLINE','getFocusedUnit','COLLAB_WEB_SOCKET_URL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onConflict','OpenSSL','/-/object/-/batch_allowed','_getSendChangesetTimeout','LIVESHARE_TERMINATE','focused$','NOT_FOUND','UNAUTHENTICATED','WordArray','Could\x20not\x20dynamically\x20require\x20\x22','put','unitId\x20is\x20not\x20found','salt','_invKeySchedule','isArray','_transformService','lib','YUUMI_RATE_OVER_LIMIT','PERMISSION_DENIED','liveShareNewHost','UPDATE_CURSOR','_config','collaborators','substr','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','status','OFFLINE','_oKey','signUrlServerUrl','_scheduleCompleteTimestamp','encrypt','subscribe','NEW_CHANGESETS','objectActions','_onRecvEvent','_clearUndo','FETCH_MISSING','INGEST','name','LICENSE_DISTRO_REJECTED','location','call','_createHandler','/new_changes','uniscriptRunEvent','csShouldRetryEvent','_timeoutTimer','hasOwnProperty','clear','_transformRemoteChangesetByIMECache','PENDING','image/png','_getCurrentRevision','AES','entries','add','_commentService','getUnitId','_doReset','_process','/collaborator','unsubscribe','_retryCount','getValue','socket\x20open.','onTransformRemoteChangesetByStateCache','objectType','extend','JOIN_ROOM_FAILED','PSEUDO_FETCH_MISSING_RESULT','_collaborationSessionService','univer-pro.collaboration-client.single-active-unit-service','[CollaborationSessionService]','enableOfflineEditing','_socket','data','onlyLocal','objects','batchAllowed','_resendTimeout','/role','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_map','_clearLocalCache','_replayCachedMutations','textRanges','[DataLoaderService]','_getSignURL','downloadEndpointUrl','open$','_toggleOnline','fetchThroughInterceptors','_getLoginPath','code','state','symbol','dispose$','BASE64','onStateChange','awaiting','function','&to=','_retryConnectingTimer','_transitionLocked','_iv','defineProperty','onRemoteRetry','post','stringify','getWorkbookSelections','charCodeAt','string','revision','fromCharCode','ERROR_EXCEED_SIZE','encodeURIComponent','_applyRemoteChangeset','error$','_change$','_handler','target','_socketReady','CBC','reduce','file','MSG_FOR_ERROR','267589zQHbMw','fetchMiss','crypto','_throwTelemetryCollaborationNewChangeset','registerHTTPInterceptor','TOO_MANY_REQUESTS','sheets','CONNECTOR_DATA_TOO_LARGE','_xformMode','_replaceFileID','_sendHeartbeatTimer','univer-pro.collaboration-client-socket-service','getRoom','set','debug','_collabSessionService','push','_data','putCollaborators','randomUUID','UNIVER_SHEET','MD5','_handlerCallback','decryptBlock','_type','onload','_joinRoom','CHANGESET_REJ','_keySchedule','unitID','APPLY_REJECT','HmacMD5','[CollaborationSessionService]:\x20socket\x20error','HmacSHA1','loginUrlKey','createDecryptor','_event$','_logService','forEach','_unitInfo$','onCommentUpdate','UPDATE_PERMISSION_OBJ','loadOfflineData','changesets','readInt32LE','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[SyncedState]:\x20received\x20acknowledgement.','COMPRESS_MUTATION_SEND','Latin1','_disableEditing','indexOf','getCurrentRevOfUnit','_hasher','_resendWithTimeout','5TVYMHQ','eventID','UNRECOGNIZED','reset','_collaborationPaused','Univer','floor','disableLocalCache','_userManagerService','pipe','SNAPSHOT_INVALID_SNAPSHOT','onMissedChangesetFetched','executeCommand','sendChangesetTimeout','_init','includes','/universer-api/authz','_imageSourceCache','_getUndoStack','OPTIONAL','ivSize','onRemoteChangeset','USERS_LEAVE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_HTTPService','update','_redoStacks','UNIVER_UNKNOWN','appendMutation','UNIVER_COLLABORATION_CLIENT_PLUGIN','getTypeOfUnitAdded$','resolve','/universer-api/user/session-ticket','UNKNOWN_CMD','_getCtorByUniverType','sid','stopTime','_ENC_XFORM_MODE','capture','_checkMissing','CONFLICT','_mode','getActiveSheet','bind','saveSnapshot','exports','max','_onLocalMutation','encryptBlock','_createHmacHelper','random','_keyPriorReset','JOIN_ROOM_PERMISSION_DENIED','_append','_onJoinRoomEvent','baseRev','[OfflineState]:\x20received\x20changeset.','clone','leaveEvent','_exhaustRemoteChangesetQueue','_clearRetryConnectingTimer','deleteCollaborator','from','SHA1','SOCKET_FAILED_RETRY','_tryReconnect','filter','_configService','getCurrentSelections','onTransformIME','CLOSE_ROOM','_initMergeInterceptor','unpad','_localeService','_httpService','_onRemoteACK','pad','compute','enableSingleActiveInstanceLock','cmd','onSendChangeset','SUBMIT_CHANGESET_TIMEOUT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','HMAC','origin','hasher','_submitChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','HttpImport','_awaitingChangeset','getTypeOfUnitDisposed$','Pkcs7','onStarting','SOCKET_FAILED','_members','_createInitialState','/-/object/list','synced','SHOULD_CLOSE_CONN','onRemoteAck','/universer-api/uniscript','onCommandExecuted','every','SUCCUSS','get','_revisionService','_nDataBytes','UNIVER_SLIDE','UnitEmbedded','ALREADY_EXISTS','url','actions','HEARTBEAT_TIMEOUT','originalMeta','PY_RUNTIME_SCRIPT_ERROR','_iKey','connection\x20error','/unit/','_clearCollaborationTimeoutTimer','encode','mode','_changesetSessionId','People','UNDEFINED','members$','transformChangesets','getMemberID','_removeRoom','/universer-api/snapshot','UnitSnapshot','hostname','equals','setShowComponents','_snapshotService','_loadDoc','then','list','toString','/rev/','_parse','confirm','createInstance','loadSheet','_socketMessageSubscription','result','not_collab','HttpExport','[PendingState]:\x20received\x20acknowledgement.','href','SYNCED','LOGIN_URL_KEY','_createSocket','OTHER_CLIENT_EDITING','_unitID','/allowed','_onRemoteRejected','error','event$','socketService','initWorkbookPermissionChange','failed\x20to\x20apply\x20missed\x20changesets!','offline','m2Prime','HELLO','NO_OTHER_CLIENTS_EDITING','findIndex','setWaitCount','collaboration-client.local-cache-service','_substituteRedoStack','\x20to\x20','JOIN','LOCAL_CACHE_INTERVAL','charAt','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','reject','LICENSE_EXPORT_SIZE_EXCEEDED','_clearRedo','requireSession','authzUrl','_clearHeartbeatTimer','1143012jfTFoE','_transformStack','session','COMPLETION_FINISHED','LIVESHARE_REQUEST_HOST','JOIN_ROOM_FULL','blockSize','_sendHeartbeat','_pendingMutations','prototype','_remoteChangesetQueue','_onMessage','listRoles','COMPRESS_MUTATION_APPLY','getConfig','listCollaborators','getSnapshotAPIPath','finalize','ceil','requestParams','routeKey','type','HEARTBEAT_INTERVAL','_key','UNIVER_DOC','_sheetTransformSelectionsService','toggleOffline','UUID','save\x20fail\x20reason\x20is\x20','session.room-permission-denied','fromCollab','roles','getResourcesRequest','keySize','_clearTimeoutTimer','_cipher','asObservable','_state$','_waitForHeartbeatResponse','image/jpeg','COMMENT_UPDATE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20-\x20','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_updateLocalCache','userID','compose','/universer-api/oidc/authpage','getImageSourceCache','body','withCredentials','_initCloseConn','6aBVMun','isPermissionRej','apply','deepClone','catch','fetching\x20missing\x20changesets\x20from\x20','\x20in\x20_schedule.','getLatestCsReqIdBySid','_fetchMissChangesets','&source=','next','_tryEnsureSocket','getUnitStatus$','duration','getImage','_startTelemetryCollaborationNewChangeset','updateCursorEvent','close$','Hex','/fetchmissing?from=','_schedule','POST','_doCreateSocket','getMember','cfg','USERS_ENTER','_acknowledgedAwaitingChangeset','JOIN_ROOM_NOT_EXISTS','_stopTelemetryCollaborationNewChangeset','generateRandomId','1101984qYCIFq','\x0aCurrent:\x20'];_0x3e33=function(){return _0x216e73;};return _0x3e33();}var ze={'exports':{}},bn=ze[_0x597ab2(0x23c)],ti;function yn(){var _0x227c2d=_0x597ab2;return ti||(ti=0x1,function(_0x4df130,_0x556fb5){(function(_0x4647af,_0x586faa){var _0x4fc824=_0x5a0e;_0x4df130[_0x4fc824(0x23c)]=_0x586faa(ie());}(bn,function(_0x180727){(function(){var _0x5cef9c=_0x5a0e,_0x39be05=_0x180727,_0x2c07b4=_0x39be05[_0x5cef9c(0x461)],_0x296658=_0x2c07b4[_0x5cef9c(0x394)],_0x7a281b=_0x39be05[_0x5cef9c(0x328)],_0x1089c8=_0x7a281b['Utf8'],_0x9fb597=_0x39be05['algo'];_0x9fb597[_0x5cef9c(0x262)]=_0x296658[_0x5cef9c(0x19e)]({'init':function(_0x566083,_0x3b56fb){var _0x1cfc42=_0x5cef9c;_0x566083=this[_0x1cfc42(0x20d)]=new _0x566083[(_0x1cfc42(0x3d2))](),typeof _0x3b56fb==_0x1cfc42(0x1ca)&&(_0x3b56fb=_0x1089c8[_0x1cfc42(0x40e)](_0x3b56fb));var _0x50daf8=_0x566083[_0x1cfc42(0x2c9)],_0x495a01=_0x50daf8*0x4;_0x3b56fb[_0x1cfc42(0x3c2)]>_0x495a01&&(_0x3b56fb=_0x566083[_0x1cfc42(0x2d4)](_0x3b56fb)),_0x3b56fb[_0x1cfc42(0x365)]();for(var _0x24d3a4=this[_0x1cfc42(0x46c)]=_0x3b56fb[_0x1cfc42(0x248)](),_0x265e0e=this[_0x1cfc42(0x282)]=_0x3b56fb[_0x1cfc42(0x248)](),_0x445030=_0x24d3a4[_0x1cfc42(0x43a)],_0x4633a1=_0x265e0e[_0x1cfc42(0x43a)],_0x1a4511=0x0;_0x1a4511<_0x50daf8;_0x1a4511++)_0x445030[_0x1a4511]^=0x5c5c5c5c,_0x4633a1[_0x1a4511]^=0x36363636;_0x24d3a4[_0x1cfc42(0x3c2)]=_0x265e0e['sigBytes']=_0x495a01,this[_0x1cfc42(0x212)]();},'reset':function(){var _0x246916=_0x5cef9c,_0x243443=this[_0x246916(0x20d)];_0x243443['reset'](),_0x243443[_0x246916(0x228)](this[_0x246916(0x282)]);},'update':function(_0x184e0e){var _0x4483e7=_0x5cef9c;return this['_hasher'][_0x4483e7(0x228)](_0x184e0e),this;},'finalize':function(_0x56a3b3){var _0x318726=_0x5cef9c,_0x4b5eac=this[_0x318726(0x20d)],_0x1b1d35=_0x4b5eac[_0x318726(0x2d4)](_0x56a3b3);_0x4b5eac['reset']();var _0x55f81b=_0x4b5eac[_0x318726(0x2d4)](this[_0x318726(0x46c)]['clone']()['concat'](_0x1b1d35));return _0x55f81b;}});}());}));}(ze)),ze[_0x227c2d(0x23c)];}var On=Ye[_0x597ab2(0x23c)],ii;function wi(){var _0x28f8c6=_0x597ab2;return ii||(ii=0x1,function(_0x2ba4cb,_0x18e836){(function(_0x36dbdf,_0x3b79b2,_0x430078){var _0x147620=_0x5a0e;_0x2ba4cb[_0x147620(0x23c)]=_0x3b79b2(ie(),Rn(),yn());}(On,function(_0x137dc3){var _0x639b72=_0x5a0e;return(function(){var _0x2d8443=_0x5a0e,_0x5aeb07=_0x137dc3,_0x5c51d1=_0x5aeb07[_0x2d8443(0x461)],_0x519def=_0x5c51d1[_0x2d8443(0x394)],_0x31ea93=_0x5c51d1['WordArray'],_0x1237b3=_0x5aeb07['algo'],_0x23f339=_0x1237b3[_0x2d8443(0x1ee)],_0x5c0a6a=_0x1237b3[_0x2d8443(0x31f)]=_0x519def['extend']({'cfg':_0x519def[_0x2d8443(0x19e)]({'keySize':0x80/0x20,'hasher':_0x23f339,'iterations':0x1}),'init':function(_0x8d1c00){var _0x25c6bb=_0x2d8443;this['cfg']=this[_0x25c6bb(0x30f)][_0x25c6bb(0x19e)](_0x8d1c00);},'compute':function(_0x980ed8,_0x512e39){var _0x4f71c8=_0x2d8443;for(var _0x490dee,_0x33e200=this[_0x4f71c8(0x30f)],_0x26adf0=_0x33e200['hasher']['create'](),_0x3ab84f=_0x31ea93[_0x4f71c8(0x348)](),_0x33f11a=_0x3ab84f[_0x4f71c8(0x43a)],_0x5d253b=_0x33e200[_0x4f71c8(0x2e4)],_0x39d988=_0x33e200[_0x4f71c8(0x3ce)];_0x33f11a[_0x4f71c8(0x419)]<_0x5d253b;){_0x490dee&&_0x26adf0[_0x4f71c8(0x228)](_0x490dee),_0x490dee=_0x26adf0[_0x4f71c8(0x228)](_0x980ed8)[_0x4f71c8(0x2d4)](_0x512e39),_0x26adf0[_0x4f71c8(0x212)]();for(var _0x3293ea=0x1;_0x3293ea<_0x39d988;_0x3293ea++)_0x490dee=_0x26adf0[_0x4f71c8(0x2d4)](_0x490dee),_0x26adf0[_0x4f71c8(0x212)]();_0x3ab84f[_0x4f71c8(0x34d)](_0x490dee);}return _0x3ab84f[_0x4f71c8(0x3c2)]=_0x5d253b*0x4,_0x3ab84f;}});_0x5aeb07[_0x2d8443(0x31f)]=function(_0x246b2a,_0x1df361,_0x4968c1){var _0x14efd6=_0x2d8443;return _0x5c0a6a[_0x14efd6(0x348)](_0x4968c1)[_0x14efd6(0x25c)](_0x246b2a,_0x1df361);};}()),_0x137dc3[_0x639b72(0x31f)];}));}(Ye)),Ye[_0x28f8c6(0x23c)];}var Je={'exports':{}},Nn=Je[_0x597ab2(0x23c)],ri;function Ui(){var _0x43e642=_0x597ab2;return ri||(ri=0x1,function(_0x4cfb55,_0x108ad9){(function(_0x2652ad,_0x41e543,_0xfec61d){var _0x2db428=_0x5a0e;_0x4cfb55[_0x2db428(0x23c)]=_0x41e543(ie(),wi());}(Nn,function(_0x196680){var _0x50ae29=_0x5a0e;_0x196680[_0x50ae29(0x461)][_0x50ae29(0x37c)]||function(_0x89f0dc){var _0x23f248=_0x50ae29,_0x5566d3=_0x196680,_0x45c90a=_0x5566d3[_0x23f248(0x461)],_0x375f63=_0x45c90a[_0x23f248(0x394)],_0x18f600=_0x45c90a['WordArray'],_0x6b3deb=_0x45c90a['BufferedBlockAlgorithm'],_0x28be17=_0x5566d3['enc'];_0x28be17[_0x23f248(0x395)];var _0x4d5e9a=_0x28be17['Base64'],_0x385d20=_0x5566d3[_0x23f248(0x3ac)],_0x54a175=_0x385d20[_0x23f248(0x31f)],_0x4595d3=_0x45c90a[_0x23f248(0x37c)]=_0x6b3deb['extend']({'cfg':_0x375f63[_0x23f248(0x19e)](),'createEncryptor':function(_0x154de7,_0xf6487e){var _0x53ce0c=_0x23f248;return this[_0x53ce0c(0x348)](this[_0x53ce0c(0x234)],_0x154de7,_0xf6487e);},'createDecryptor':function(_0x3b3347,_0x1ad9c7){var _0x519316=_0x23f248;return this[_0x519316(0x348)](this['_DEC_XFORM_MODE'],_0x3b3347,_0x1ad9c7);},'init':function(_0x5c47d1,_0x416355,_0x3f270a){var _0x2a6c67=_0x23f248;this[_0x2a6c67(0x30f)]=this[_0x2a6c67(0x30f)]['extend'](_0x3f270a),this[_0x2a6c67(0x1e1)]=_0x5c47d1,this['_key']=_0x416355,this[_0x2a6c67(0x212)]();},'reset':function(){var _0x31a67f=_0x23f248;_0x6b3deb[_0x31a67f(0x212)][_0x31a67f(0x47a)](this),this[_0x31a67f(0x48b)]();},'process':function(_0x3576c0){var _0x424ddd=_0x23f248;return this[_0x424ddd(0x244)](_0x3576c0),this[_0x424ddd(0x48c)]();},'finalize':function(_0x1881bb){var _0x3efe43=_0x23f248;_0x1881bb&&this[_0x3efe43(0x244)](_0x1881bb);var _0x4c095b=this[_0x3efe43(0x332)]();return _0x4c095b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x359a07(_0x3b6e9b){var _0x76ad6b=_0x5a0e;return typeof _0x3b6e9b==_0x76ad6b(0x1ca)?_0x55f2c9:_0x4a1466;}return function(_0x3e9369){return{'encrypt':function(_0x528dfe,_0xc3fc8c,_0x2901bc){var _0x5651ff=_0x5a0e;return _0x359a07(_0xc3fc8c)[_0x5651ff(0x46f)](_0x3e9369,_0x528dfe,_0xc3fc8c,_0x2901bc);},'decrypt':function(_0x4a856f,_0x1a2323,_0x3ef439){var _0x401e8e=_0x5a0e;return _0x359a07(_0x1a2323)[_0x401e8e(0x40f)](_0x3e9369,_0x4a856f,_0x1a2323,_0x3ef439);}};};}())});_0x45c90a['StreamCipher']=_0x4595d3[_0x23f248(0x19e)]({'_doFinalize':function(){var _0x1b312a=_0x23f248,_0x341a31=this[_0x1b312a(0x48c)](!0x0);return _0x341a31;},'blockSize':0x1});var _0x88bd09=_0x5566d3[_0x23f248(0x287)]={},_0x2a0a90=_0x45c90a['BlockCipherMode']=_0x375f63['extend']({'createEncryptor':function(_0x5f0c99,_0x23e23c){var _0x59e9ee=_0x23f248;return this['Encryptor'][_0x59e9ee(0x348)](_0x5f0c99,_0x23e23c);},'createDecryptor':function(_0xf98d9b,_0x7fe9ce){var _0x17d303=_0x23f248;return this[_0x17d303(0x385)][_0x17d303(0x348)](_0xf98d9b,_0x7fe9ce);},'init':function(_0x372278,_0x2d00bf){var _0x3d30c2=_0x23f248;this[_0x3d30c2(0x2e6)]=_0x372278,this['_iv']=_0x2d00bf;}}),_0x52c7fa=_0x88bd09[_0x23f248(0x1d5)]=(function(){var _0x289d3e=_0x23f248,_0x464c86=_0x2a0a90['extend']();_0x464c86['Encryptor']=_0x464c86[_0x289d3e(0x19e)]({'processBlock':function(_0x493061,_0x55a6ec){var _0x4da1fa=_0x289d3e,_0x2c1851=this[_0x4da1fa(0x2e6)],_0x448401=_0x2c1851[_0x4da1fa(0x2c9)];_0x432abf['call'](this,_0x493061,_0x55a6ec,_0x448401),_0x2c1851[_0x4da1fa(0x23f)](_0x493061,_0x55a6ec),this['_prevBlock']=_0x493061['slice'](_0x55a6ec,_0x55a6ec+_0x448401);}}),_0x464c86['Decryptor']=_0x464c86[_0x289d3e(0x19e)]({'processBlock':function(_0x11c4fa,_0x1b12c2){var _0x260dc6=_0x289d3e,_0x165dc5=this[_0x260dc6(0x2e6)],_0x191e97=_0x165dc5[_0x260dc6(0x2c9)],_0x4d969b=_0x11c4fa[_0x260dc6(0x41f)](_0x1b12c2,_0x1b12c2+_0x191e97);_0x165dc5[_0x260dc6(0x1f0)](_0x11c4fa,_0x1b12c2),_0x432abf[_0x260dc6(0x47a)](this,_0x11c4fa,_0x1b12c2,_0x191e97),this[_0x260dc6(0x34c)]=_0x4d969b;}});function _0x432abf(_0x4243e8,_0x11f195,_0xc703cc){var _0x40bdbd=_0x289d3e,_0x3c62b5,_0x4d5ecb=this[_0x40bdbd(0x1c3)];_0x4d5ecb?(_0x3c62b5=_0x4d5ecb,this[_0x40bdbd(0x1c3)]=_0x89f0dc):_0x3c62b5=this['_prevBlock'];for(var _0x3353d2=0x0;_0x3353d2<_0xc703cc;_0x3353d2++)_0x4243e8[_0x11f195+_0x3353d2]^=_0x3c62b5[_0x3353d2];}return _0x464c86;}()),_0x275cc5=_0x5566d3[_0x23f248(0x25b)]={},_0x3dd3fa=_0x275cc5[_0x23f248(0x26a)]={'pad':function(_0x3d64d5,_0x264d39){var _0xdba359=_0x23f248;for(var _0x9672a4=_0x264d39*0x4,_0x249576=_0x9672a4-_0x3d64d5[_0xdba359(0x3c2)]%_0x9672a4,_0x5e0671=_0x249576<<0x18|_0x249576<<0x10|_0x249576<<0x8|_0x249576,_0x38e686=[],_0xcea61a=0x0;_0xcea61a<_0x249576;_0xcea61a+=0x4)_0x38e686[_0xdba359(0x1e9)](_0x5e0671);var _0x238fb5=_0x18f600[_0xdba359(0x348)](_0x38e686,_0x249576);_0x3d64d5['concat'](_0x238fb5);},'unpad':function(_0x4ef66f){var _0x15f99c=_0x23f248,_0x27c425=_0x4ef66f[_0x15f99c(0x43a)][_0x4ef66f[_0x15f99c(0x3c2)]-0x1>>>0x2]&0xff;_0x4ef66f[_0x15f99c(0x3c2)]-=_0x27c425;}};_0x45c90a['BlockCipher']=_0x4595d3[_0x23f248(0x19e)]({'cfg':_0x4595d3[_0x23f248(0x30f)][_0x23f248(0x19e)]({'mode':_0x52c7fa,'padding':_0x3dd3fa}),'reset':function(){var _0x3e6217=_0x23f248,_0x2784db;_0x4595d3[_0x3e6217(0x212)][_0x3e6217(0x47a)](this);var _0x4f9416=this[_0x3e6217(0x30f)],_0x9d9d5=_0x4f9416['iv'],_0x52bede=_0x4f9416[_0x3e6217(0x287)];this[_0x3e6217(0x1e1)]==this[_0x3e6217(0x234)]?_0x2784db=_0x52bede[_0x3e6217(0x437)]:(_0x2784db=_0x52bede['createDecryptor'],this[_0x3e6217(0x3c3)]=0x1),this['_mode']&&this[_0x3e6217(0x238)]['__creator']==_0x2784db?this[_0x3e6217(0x238)]['init'](this,_0x9d9d5&&_0x9d9d5[_0x3e6217(0x43a)]):(this[_0x3e6217(0x238)]=_0x2784db[_0x3e6217(0x47a)](_0x52bede,this,_0x9d9d5&&_0x9d9d5[_0x3e6217(0x43a)]),this['_mode']['__creator']=_0x2784db);},'_doProcessBlock':function(_0x142c30,_0x5aefdb){var _0x18fa97=_0x23f248;this[_0x18fa97(0x238)][_0x18fa97(0x382)](_0x142c30,_0x5aefdb);},'_doFinalize':function(){var _0x178d12=_0x23f248,_0x25b135,_0x254343=this[_0x178d12(0x30f)][_0x178d12(0x406)];return this['_xformMode']==this[_0x178d12(0x234)]?(_0x254343['pad'](this[_0x178d12(0x1ea)],this[_0x178d12(0x2c9)]),_0x25b135=this[_0x178d12(0x48c)](!0x0)):(_0x25b135=this[_0x178d12(0x48c)](!0x0),_0x254343[_0x178d12(0x257)](_0x25b135)),_0x25b135;},'blockSize':0x80/0x20});var _0x5d0fd2=_0x45c90a['CipherParams']=_0x375f63[_0x23f248(0x19e)]({'init':function(_0x3bd4d){this['mixIn'](_0x3bd4d);},'toString':function(_0x2f21cb){var _0x43fdb0=_0x23f248;return(_0x2f21cb||this[_0x43fdb0(0x397)])[_0x43fdb0(0x1c7)](this);}}),_0x430d33=_0x5566d3[_0x23f248(0x320)]={},_0x418032=_0x430d33[_0x23f248(0x452)]={'stringify':function(_0xfcf700){var _0x467f61=_0x23f248,_0x501943,_0x57e96b=_0xfcf700[_0x467f61(0x362)],_0x551013=_0xfcf700[_0x467f61(0x45d)];return _0x551013?_0x501943=_0x18f600[_0x467f61(0x348)]([0x53616c74,0x65645f5f])[_0x467f61(0x34d)](_0x551013)[_0x467f61(0x34d)](_0x57e96b):_0x501943=_0x57e96b,_0x501943[_0x467f61(0x298)](_0x4d5e9a);},'parse':function(_0x31d2b7){var _0x1852e9=_0x23f248,_0x492617,_0x5bd167=_0x4d5e9a['parse'](_0x31d2b7),_0x3ea5af=_0x5bd167[_0x1852e9(0x43a)];return _0x3ea5af[0x0]==0x53616c74&&_0x3ea5af[0x1]==0x65645f5f&&(_0x492617=_0x18f600[_0x1852e9(0x348)](_0x3ea5af[_0x1852e9(0x41f)](0x2,0x4)),_0x3ea5af[_0x1852e9(0x32b)](0x0,0x4),_0x5bd167[_0x1852e9(0x3c2)]-=0x10),_0x5d0fd2[_0x1852e9(0x348)]({'ciphertext':_0x5bd167,'salt':_0x492617});}},_0x4a1466=_0x45c90a[_0x23f248(0x33e)]=_0x375f63[_0x23f248(0x19e)]({'cfg':_0x375f63[_0x23f248(0x19e)]({'format':_0x418032}),'encrypt':function(_0x1b1f6b,_0x3e09ef,_0x492109,_0x360cd0){var _0x58443f=_0x23f248;_0x360cd0=this[_0x58443f(0x30f)][_0x58443f(0x19e)](_0x360cd0);var _0x408a71=_0x1b1f6b[_0x58443f(0x437)](_0x492109,_0x360cd0),_0x2f5c47=_0x408a71['finalize'](_0x3e09ef),_0x35928f=_0x408a71[_0x58443f(0x30f)];return _0x5d0fd2['create']({'ciphertext':_0x2f5c47,'key':_0x492109,'iv':_0x35928f['iv'],'algorithm':_0x1b1f6b,'mode':_0x35928f[_0x58443f(0x287)],'padding':_0x35928f[_0x58443f(0x406)],'blockSize':_0x1b1f6b[_0x58443f(0x2c9)],'formatter':_0x360cd0[_0x58443f(0x320)]});},'decrypt':function(_0x3786a9,_0x33a77d,_0x441569,_0x15f3e1){var _0x271737=_0x23f248;_0x15f3e1=this[_0x271737(0x30f)][_0x271737(0x19e)](_0x15f3e1),_0x33a77d=this[_0x271737(0x29a)](_0x33a77d,_0x15f3e1[_0x271737(0x320)]);var _0x37d95d=_0x3786a9[_0x271737(0x1fc)](_0x441569,_0x15f3e1)[_0x271737(0x2d4)](_0x33a77d[_0x271737(0x362)]);return _0x37d95d;},'_parse':function(_0x3598f9,_0xb922f5){var _0x39a3ce=_0x23f248;return typeof _0x3598f9==_0x39a3ce(0x1ca)?_0xb922f5[_0x39a3ce(0x40e)](_0x3598f9,this):_0x3598f9;}}),_0x55e04b=_0x5566d3[_0x23f248(0x3f8)]={},_0x16f3d5=_0x55e04b[_0x23f248(0x452)]={'execute':function(_0x162278,_0x2f23f3,_0x5a61e8,_0x485440,_0x1e93f1){var _0x5bc311=_0x23f248;if(_0x485440||(_0x485440=_0x18f600[_0x5bc311(0x241)](0x40/0x8)),_0x1e93f1)var _0x4ee8ee=_0x54a175[_0x5bc311(0x348)]({'keySize':_0x2f23f3+_0x5a61e8,'hasher':_0x1e93f1})[_0x5bc311(0x25c)](_0x162278,_0x485440);else var _0x4ee8ee=_0x54a175[_0x5bc311(0x348)]({'keySize':_0x2f23f3+_0x5a61e8})[_0x5bc311(0x25c)](_0x162278,_0x485440);var _0x3ee7b2=_0x18f600[_0x5bc311(0x348)](_0x4ee8ee[_0x5bc311(0x43a)]['slice'](_0x2f23f3),_0x5a61e8*0x4);return _0x4ee8ee['sigBytes']=_0x2f23f3*0x4,_0x5d0fd2[_0x5bc311(0x348)]({'key':_0x4ee8ee,'iv':_0x3ee7b2,'salt':_0x485440});}},_0x55f2c9=_0x45c90a[_0x23f248(0x3fe)]=_0x4a1466['extend']({'cfg':_0x4a1466[_0x23f248(0x30f)][_0x23f248(0x19e)]({'kdf':_0x16f3d5}),'encrypt':function(_0x4ce7f5,_0x401a1e,_0x215165,_0x44ffc8){var _0x588bde=_0x23f248;_0x44ffc8=this[_0x588bde(0x30f)][_0x588bde(0x19e)](_0x44ffc8);var _0x442d3c=_0x44ffc8[_0x588bde(0x3f8)][_0x588bde(0x338)](_0x215165,_0x4ce7f5[_0x588bde(0x2e4)],_0x4ce7f5[_0x588bde(0x223)],_0x44ffc8['salt'],_0x44ffc8['hasher']);_0x44ffc8['iv']=_0x442d3c['iv'];var _0x4e57bd=_0x4a1466[_0x588bde(0x46f)][_0x588bde(0x47a)](this,_0x4ce7f5,_0x401a1e,_0x442d3c[_0x588bde(0x3f7)],_0x44ffc8);return _0x4e57bd['mixIn'](_0x442d3c),_0x4e57bd;},'decrypt':function(_0x362b57,_0x365ff8,_0x509deb,_0x5b1768){var _0xa2bdae=_0x23f248;_0x5b1768=this[_0xa2bdae(0x30f)][_0xa2bdae(0x19e)](_0x5b1768),_0x365ff8=this[_0xa2bdae(0x29a)](_0x365ff8,_0x5b1768[_0xa2bdae(0x320)]);var _0x199ef3=_0x5b1768[_0xa2bdae(0x3f8)][_0xa2bdae(0x338)](_0x509deb,_0x362b57['keySize'],_0x362b57[_0xa2bdae(0x223)],_0x365ff8[_0xa2bdae(0x45d)],_0x5b1768[_0xa2bdae(0x264)]);_0x5b1768['iv']=_0x199ef3['iv'];var _0x24f46a=_0x4a1466[_0xa2bdae(0x40f)][_0xa2bdae(0x47a)](this,_0x362b57,_0x365ff8,_0x199ef3['key'],_0x5b1768);return _0x24f46a;}});}();}));}(Je)),Je[_0x43e642(0x23c)];}var Dn=Ge['exports'],ni;function wn(){var _0x370afc=_0x597ab2;return ni||(ni=0x1,function(_0x37e22b,_0xbc569){(function(_0x3ede88,_0x4ab0e1,_0x17d13e){var _0x260851=_0x5a0e;_0x37e22b[_0x260851(0x23c)]=_0x4ab0e1(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x6dce19){return(function(){var _0x3ede3c=_0x5a0e,_0x4f1e22=_0x6dce19,_0x5ac4a0=_0x4f1e22[_0x3ede3c(0x461)],_0x1af2e5=_0x5ac4a0['BlockCipher'],_0x1c09d6=_0x4f1e22[_0x3ede3c(0x3ac)],_0x39e72c=[],_0x1d3685=[],_0x375a16=[],_0x315dd6=[],_0x466f1b=[],_0x5a3e11=[],_0x3ecf08=[],_0x28ff7b=[],_0x227415=[],_0xa535dc=[];(function(){for(var _0x33e346=[],_0x2bb2ff=0x0;_0x2bb2ff<0x100;_0x2bb2ff++)_0x2bb2ff<0x80?_0x33e346[_0x2bb2ff]=_0x2bb2ff<<0x1:_0x33e346[_0x2bb2ff]=_0x2bb2ff<<0x1^0x11b;for(var _0x408ab5=0x0,_0x422283=0x0,_0x2bb2ff=0x0;_0x2bb2ff<0x100;_0x2bb2ff++){var _0x596ed5=_0x422283^_0x422283<<0x1^_0x422283<<0x2^_0x422283<<0x3^_0x422283<<0x4;_0x596ed5=_0x596ed5>>>0x8^_0x596ed5&0xff^0x63,_0x39e72c[_0x408ab5]=_0x596ed5,_0x1d3685[_0x596ed5]=_0x408ab5;var _0x49fae5=_0x33e346[_0x408ab5],_0x149093=_0x33e346[_0x49fae5],_0x1c827d=_0x33e346[_0x149093],_0x74cf5c=_0x33e346[_0x596ed5]*0x101^_0x596ed5*0x1010100;_0x375a16[_0x408ab5]=_0x74cf5c<<0x18|_0x74cf5c>>>0x8,_0x315dd6[_0x408ab5]=_0x74cf5c<<0x10|_0x74cf5c>>>0x10,_0x466f1b[_0x408ab5]=_0x74cf5c<<0x8|_0x74cf5c>>>0x18,_0x5a3e11[_0x408ab5]=_0x74cf5c;var _0x74cf5c=_0x1c827d*0x1010101^_0x149093*0x10001^_0x49fae5*0x101^_0x408ab5*0x1010100;_0x3ecf08[_0x596ed5]=_0x74cf5c<<0x18|_0x74cf5c>>>0x8,_0x28ff7b[_0x596ed5]=_0x74cf5c<<0x10|_0x74cf5c>>>0x10,_0x227415[_0x596ed5]=_0x74cf5c<<0x8|_0x74cf5c>>>0x18,_0xa535dc[_0x596ed5]=_0x74cf5c,_0x408ab5?(_0x408ab5=_0x49fae5^_0x33e346[_0x33e346[_0x33e346[_0x1c827d^_0x49fae5]]],_0x422283^=_0x33e346[_0x33e346[_0x422283]]):_0x408ab5=_0x422283=0x1;}}());var _0x39d828=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x482ef3=_0x1c09d6[_0x3ede3c(0x486)]=_0x1af2e5[_0x3ede3c(0x19e)]({'_doReset':function(){var _0x5132ea=_0x3ede3c,_0x75ffa7;if(!(this[_0x5132ea(0x3ee)]&&this[_0x5132ea(0x242)]===this[_0x5132ea(0x2da)])){for(var _0x38c4e7=this[_0x5132ea(0x242)]=this['_key'],_0x5a2fd2=_0x38c4e7[_0x5132ea(0x43a)],_0x8b0754=_0x38c4e7['sigBytes']/0x4,_0x3724a2=this[_0x5132ea(0x3ee)]=_0x8b0754+0x6,_0x5318ee=(_0x3724a2+0x1)*0x4,_0x4fae90=this[_0x5132ea(0x1f5)]=[],_0x205b31=0x0;_0x205b31<_0x5318ee;_0x205b31++)_0x205b31<_0x8b0754?_0x4fae90[_0x205b31]=_0x5a2fd2[_0x205b31]:(_0x75ffa7=_0x4fae90[_0x205b31-0x1],_0x205b31%_0x8b0754?_0x8b0754>0x6&&_0x205b31%_0x8b0754==0x4&&(_0x75ffa7=_0x39e72c[_0x75ffa7>>>0x18]<<0x18|_0x39e72c[_0x75ffa7>>>0x10&0xff]<<0x10|_0x39e72c[_0x75ffa7>>>0x8&0xff]<<0x8|_0x39e72c[_0x75ffa7&0xff]):(_0x75ffa7=_0x75ffa7<<0x8|_0x75ffa7>>>0x18,_0x75ffa7=_0x39e72c[_0x75ffa7>>>0x18]<<0x18|_0x39e72c[_0x75ffa7>>>0x10&0xff]<<0x10|_0x39e72c[_0x75ffa7>>>0x8&0xff]<<0x8|_0x39e72c[_0x75ffa7&0xff],_0x75ffa7^=_0x39d828[_0x205b31/_0x8b0754|0x0]<<0x18),_0x4fae90[_0x205b31]=_0x4fae90[_0x205b31-_0x8b0754]^_0x75ffa7);for(var _0x3cb399=this[_0x5132ea(0x45e)]=[],_0x3a2af2=0x0;_0x3a2af2<_0x5318ee;_0x3a2af2++){var _0x205b31=_0x5318ee-_0x3a2af2;if(_0x3a2af2%0x4)var _0x75ffa7=_0x4fae90[_0x205b31];else var _0x75ffa7=_0x4fae90[_0x205b31-0x4];_0x3a2af2<0x4||_0x205b31<=0x4?_0x3cb399[_0x3a2af2]=_0x75ffa7:_0x3cb399[_0x3a2af2]=_0x3ecf08[_0x39e72c[_0x75ffa7>>>0x18]]^_0x28ff7b[_0x39e72c[_0x75ffa7>>>0x10&0xff]]^_0x227415[_0x39e72c[_0x75ffa7>>>0x8&0xff]]^_0xa535dc[_0x39e72c[_0x75ffa7&0xff]];}}},'encryptBlock':function(_0x20289b,_0x5d72c8){var _0x4a18b1=_0x3ede3c;this['_doCryptBlock'](_0x20289b,_0x5d72c8,this[_0x4a18b1(0x1f5)],_0x375a16,_0x315dd6,_0x466f1b,_0x5a3e11,_0x39e72c);},'decryptBlock':function(_0x11151c,_0x3c80c7){var _0x456e41=_0x3ede3c,_0x514af3=_0x11151c[_0x3c80c7+0x1];_0x11151c[_0x3c80c7+0x1]=_0x11151c[_0x3c80c7+0x3],_0x11151c[_0x3c80c7+0x3]=_0x514af3,this[_0x456e41(0x43b)](_0x11151c,_0x3c80c7,this[_0x456e41(0x45e)],_0x3ecf08,_0x28ff7b,_0x227415,_0xa535dc,_0x1d3685);var _0x514af3=_0x11151c[_0x3c80c7+0x1];_0x11151c[_0x3c80c7+0x1]=_0x11151c[_0x3c80c7+0x3],_0x11151c[_0x3c80c7+0x3]=_0x514af3;},'_doCryptBlock':function(_0x2be34f,_0x369acc,_0x47a8bc,_0x39dadc,_0x2f55b3,_0x2077c8,_0x1dcacd,_0x2480d8){var _0x214733=_0x3ede3c;for(var _0x136156=this[_0x214733(0x3ee)],_0x125c80=_0x2be34f[_0x369acc]^_0x47a8bc[0x0],_0x230b32=_0x2be34f[_0x369acc+0x1]^_0x47a8bc[0x1],_0x3b052b=_0x2be34f[_0x369acc+0x2]^_0x47a8bc[0x2],_0x5b35cc=_0x2be34f[_0x369acc+0x3]^_0x47a8bc[0x3],_0x74f18=0x4,_0x15805a=0x1;_0x15805a<_0x136156;_0x15805a++){var _0x26505f=_0x39dadc[_0x125c80>>>0x18]^_0x2f55b3[_0x230b32>>>0x10&0xff]^_0x2077c8[_0x3b052b>>>0x8&0xff]^_0x1dcacd[_0x5b35cc&0xff]^_0x47a8bc[_0x74f18++],_0x7486ad=_0x39dadc[_0x230b32>>>0x18]^_0x2f55b3[_0x3b052b>>>0x10&0xff]^_0x2077c8[_0x5b35cc>>>0x8&0xff]^_0x1dcacd[_0x125c80&0xff]^_0x47a8bc[_0x74f18++],_0x3f6d4b=_0x39dadc[_0x3b052b>>>0x18]^_0x2f55b3[_0x5b35cc>>>0x10&0xff]^_0x2077c8[_0x125c80>>>0x8&0xff]^_0x1dcacd[_0x230b32&0xff]^_0x47a8bc[_0x74f18++],_0x3b6798=_0x39dadc[_0x5b35cc>>>0x18]^_0x2f55b3[_0x125c80>>>0x10&0xff]^_0x2077c8[_0x230b32>>>0x8&0xff]^_0x1dcacd[_0x3b052b&0xff]^_0x47a8bc[_0x74f18++];_0x125c80=_0x26505f,_0x230b32=_0x7486ad,_0x3b052b=_0x3f6d4b,_0x5b35cc=_0x3b6798;}var _0x26505f=(_0x2480d8[_0x125c80>>>0x18]<<0x18|_0x2480d8[_0x230b32>>>0x10&0xff]<<0x10|_0x2480d8[_0x3b052b>>>0x8&0xff]<<0x8|_0x2480d8[_0x5b35cc&0xff])^_0x47a8bc[_0x74f18++],_0x7486ad=(_0x2480d8[_0x230b32>>>0x18]<<0x18|_0x2480d8[_0x3b052b>>>0x10&0xff]<<0x10|_0x2480d8[_0x5b35cc>>>0x8&0xff]<<0x8|_0x2480d8[_0x125c80&0xff])^_0x47a8bc[_0x74f18++],_0x3f6d4b=(_0x2480d8[_0x3b052b>>>0x18]<<0x18|_0x2480d8[_0x5b35cc>>>0x10&0xff]<<0x10|_0x2480d8[_0x125c80>>>0x8&0xff]<<0x8|_0x2480d8[_0x230b32&0xff])^_0x47a8bc[_0x74f18++],_0x3b6798=(_0x2480d8[_0x5b35cc>>>0x18]<<0x18|_0x2480d8[_0x125c80>>>0x10&0xff]<<0x10|_0x2480d8[_0x230b32>>>0x8&0xff]<<0x8|_0x2480d8[_0x3b052b&0xff])^_0x47a8bc[_0x74f18++];_0x2be34f[_0x369acc]=_0x26505f,_0x2be34f[_0x369acc+0x1]=_0x7486ad,_0x2be34f[_0x369acc+0x2]=_0x3f6d4b,_0x2be34f[_0x369acc+0x3]=_0x3b6798;},'keySize':0x100/0x20});_0x4f1e22[_0x3ede3c(0x486)]=_0x1af2e5['_createHelper'](_0x482ef3);}()),_0x6dce19['AES'];}));}(Ge)),Ge[_0x370afc(0x23c)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x597ab2(0x23c)],oi;function Ln(){return oi||(oi=0x1,function(_0x49a460,_0x2b4cdf){(function(_0x2aea3c,_0x10ada7){var _0x608536=_0x5a0e;_0x49a460[_0x608536(0x23c)]=_0x10ada7(ie());}(xn,function(_0x7076b1){var _0x2ae822=_0x5a0e;return _0x7076b1[_0x2ae822(0x328)]['Utf8'];}));}(Xe)),Xe['exports'];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze[_0x597ab2(0x23c)],ai;function Hn(){var _0x398c9e=_0x597ab2;return ai||(ai=0x1,function(_0x4f4f46,_0x159907){(function(_0x29a414,_0xf57e5b){var _0x34d9e4=_0x5a0e;_0x4f4f46[_0x34d9e4(0x23c)]=_0xf57e5b(ie());}($n,function(_0x7ca50f){var _0x3171f6=_0x5a0e;return(function(){var _0x3c1d12=_0x5a0e;if(typeof ArrayBuffer=='function'){var _0x124f8f=_0x7ca50f,_0x3b438d=_0x124f8f[_0x3c1d12(0x461)],_0x327f4c=_0x3b438d[_0x3c1d12(0x459)],_0x85fd13=_0x327f4c[_0x3c1d12(0x3d2)],_0x23526e=_0x327f4c[_0x3c1d12(0x3d2)]=function(_0x285d38){var _0x4f09b8=_0x3c1d12;if(_0x285d38 instanceof ArrayBuffer&&(_0x285d38=new Uint8Array(_0x285d38)),(_0x285d38 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x285d38 instanceof Uint8ClampedArray||_0x285d38 instanceof Int16Array||_0x285d38 instanceof Uint16Array||_0x285d38 instanceof Int32Array||_0x285d38 instanceof Uint32Array||_0x285d38 instanceof Float32Array||_0x285d38 instanceof Float64Array)&&(_0x285d38=new Uint8Array(_0x285d38['buffer'],_0x285d38[_0x4f09b8(0x3f4)],_0x285d38[_0x4f09b8(0x434)])),_0x285d38 instanceof Uint8Array){for(var _0x188c56=_0x285d38[_0x4f09b8(0x434)],_0x3de4ec=[],_0x3ad129=0x0;_0x3ad129<_0x188c56;_0x3ad129++)_0x3de4ec[_0x3ad129>>>0x2]|=_0x285d38[_0x3ad129]<<0x18-_0x3ad129%0x4*0x8;_0x85fd13[_0x4f09b8(0x47a)](this,_0x3de4ec,_0x188c56);}else _0x85fd13[_0x4f09b8(0x2f9)](this,arguments);};_0x23526e['prototype']=_0x327f4c;}}()),_0x7ca50f[_0x3171f6(0x461)][_0x3171f6(0x459)];}));}(Ze)),Ze[_0x398c9e(0x23c)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe['exports'],ci;function Gn(){var _0x23a19e=_0x597ab2;return ci||(ci=0x1,function(_0x823922,_0x5f2345){(function(_0x285d72,_0x52724b,_0x3ed200){_0x823922['exports']=_0x52724b(ie(),Ui());}(Fn,function(_0x1c6a39){var _0x2aba13=_0x5a0e;return _0x1c6a39[_0x2aba13(0x25b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x1c6a39['pad']['NoPadding'];}));}(Qe)),Qe[_0x23a19e(0x23c)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x3adfe0,_0x2eedda){var _0x19def4=_0x597ab2;const _0x3cd87b=_0x2eedda-_0x3adfe0[_0x19def4(0x419)]%_0x2eedda,_0x10b7bb=String[_0x19def4(0x1cc)](_0x3cd87b)[_0x19def4(0x31c)](_0x3cd87b);return _0x3adfe0+_0x10b7bb;}function Yn(_0x324b1f,_0xbdda17){var _0x269abf=_0x597ab2;const _0x376c7f=jn[_0x269abf(0x241)](0x10),_0x13d5d6=Kn(_0x324b1f,0x10),_0x56fa90=An['encrypt'](kn[_0x269abf(0x40e)](_0x13d5d6),si[_0x269abf(0x40e)](_0xbdda17),{'iv':_0x376c7f,'padding':Wn});return _0x376c7f[_0x269abf(0x34d)](_0x56fa90[_0x269abf(0x362)])[_0x269abf(0x298)](si);}function qn(){var _0x3fbd16=_0x597ab2;const _0x2e2af1=_0x5f29b0()['__Key__'];if(_0x2e2af1){const _0x581af9={'time':Math[_0x3fbd16(0x215)](Date[_0x3fbd16(0x42b)]()/0x3e8),'domain':location[_0x3fbd16(0x291)]};return Yn(JSON[_0x3fbd16(0x1c7)](_0x581af9),_0x2e2af1);}}var zn=Object[_0x597ab2(0x3e5)],Jn=(_0x426e00,_0x302886,_0xbb62fe,_0x5ece1e)=>{for(var _0x244144=_0x5ece1e>0x1?void 0x0:_0x5ece1e?zn(_0x302886,_0xbb62fe):_0x302886,_0x3c1bea=_0x426e00['length']-0x1,_0x5a167d;_0x3c1bea>=0x0;_0x3c1bea--)(_0x5a167d=_0x426e00[_0x3c1bea])&&(_0x244144=_0x5a167d(_0x244144)||_0x244144);return _0x244144;},Xn=(_0x3fb886,_0x405e71)=>(_0x45493d,_0x2c3232)=>_0x405e71(_0x45493d,_0x2c3232,_0x3fb886);let ot=class{constructor(_0x2e360b){var _0x42701f=_0x597ab2;this['_httpService']=_0x2e360b,this[_0x42701f(0x40a)]();}[_0x597ab2(0x40a)](){var _0x30b95e=_0x597ab2;this[_0x30b95e(0x259)][_0x30b95e(0x1dd)]({'interceptor':(_0xef0cc6,_0x56bdd4)=>{var _0x4ef9cc=_0x30b95e;const _0x3e7d23=_0xef0cc6[_0x4ef9cc(0x31e)],_0x2e0af2=qn();return _0x2e0af2&&_0x3e7d23[_0x4ef9cc(0x1e6)]('x-univer-host',_0x2e0af2),_0x56bdd4(_0xef0cc6);}});}};ot=Jn([Xn(0x0,_0x5dc8b8(_0x546518))],ot);var Zn=Object[_0x597ab2(0x3e5)],Qn=(_0x4c7581,_0x1e4dc9,_0x13b231,_0x54fac6)=>{var _0x4db28d=_0x597ab2;for(var _0x558f46=_0x54fac6>0x1?void 0x0:_0x54fac6?Zn(_0x1e4dc9,_0x13b231):_0x1e4dc9,_0x1df95c=_0x4c7581[_0x4db28d(0x419)]-0x1,_0x2a3f9d;_0x1df95c>=0x0;_0x1df95c--)(_0x2a3f9d=_0x4c7581[_0x1df95c])&&(_0x558f46=_0x2a3f9d(_0x558f46)||_0x558f46);return _0x558f46;},mt=(_0x57249b,_0x3b9411)=>(_0x1c4833,_0x5db0a3)=>_0x3b9411(_0x1c4833,_0x5db0a3,_0x57249b);let bt=class extends _0x10e9f1{constructor(_0xaef865,_0x2858da,_0xa0b133){var _0x32204d=_0x597ab2;super(),N(this,_0x32204d(0x200),new _0x103965(null)),N(this,'unitInfo$',this[_0x32204d(0x200)][_0x32204d(0x2e7)]()),(this['_logService']=_0xaef865,this[_0x32204d(0x294)]=_0x2858da,this[_0x32204d(0x3e9)]=_0xa0b133);}async[_0x597ab2(0x3f2)](_0x22be4f,_0x155e99,_0x40ec2f){var _0x21cfb7=_0x597ab2;this[_0x21cfb7(0x200)][_0x21cfb7(0x301)]({'unitId':_0x22be4f,'type':_0x155e99,'subUnitId':_0x40ec2f});let _0x3702df=null;switch(_0x155e99){case Q[_0x21cfb7(0x1ed)]:{_0x3702df=await this['_loadSheet'](_0x22be4f);break;}case Q[_0x21cfb7(0x2db)]:{_0x3702df=await this[_0x21cfb7(0x295)](_0x22be4f);break;}default:{this[_0x21cfb7(0x1fe)][_0x21cfb7(0x2ab)](_0x21cfb7(0x1b1),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x3702df;}async[_0x597ab2(0x345)](_0x3e5d57){var _0x2f2723=_0x597ab2,_0x21ca43;let _0x13b34c=0x0;const _0x2620e1=await((_0x21ca43=this[_0x2f2723(0x3e9)])==null?void 0x0:_0x21ca43[_0x2f2723(0x203)](_0x3e5d57));return _0x2620e1&&(_0x2620e1['awaitingChangeset']||_0x2620e1[_0x2f2723(0x3d4)][_0x2f2723(0x419)]!==0x0)&&(_0x13b34c=_0x2620e1[_0x2f2723(0x37d)]),_0x13b34c===0x0&&this[_0x2f2723(0x1fe)][_0x2f2723(0x1e7)](_0x2f2723(0x1b1),_0x2f2723(0x411)),this[_0x2f2723(0x294)][_0x2f2723(0x29d)](_0x3e5d57,_0x13b34c);}async[_0x597ab2(0x295)](_0x2c340d){var _0x42f480=_0x597ab2,_0x4d943d;let _0x1ead47=0x0;const _0x465104=await((_0x4d943d=this[_0x42f480(0x3e9)])==null?void 0x0:_0x4d943d[_0x42f480(0x203)](_0x2c340d));return _0x465104&&(_0x465104['awaitingChangeset']||_0x465104[_0x42f480(0x3d4)]['length']!==0x0)&&(_0x1ead47=_0x465104['rev']),_0x1ead47===0x0&&this[_0x42f480(0x1fe)][_0x42f480(0x1e7)]('[DataLoaderService]',_0x42f480(0x411)),this['_snapshotService'][_0x42f480(0x317)](_0x2c340d,_0x1ead47);}};bt=Qn([mt(0x0,_0x2dcdf5),mt(0x1,_0x5dc8b8(_0x45512c)),mt(0x2,_0x5d860b(J))],bt);var es=Object['getOwnPropertyDescriptor'],ts=(_0x352169,_0x3e7050,_0x48b862,_0x164025)=>{for(var _0x12867d=_0x164025>0x1?void 0x0:_0x164025?es(_0x3e7050,_0x48b862):_0x3e7050,_0x7627fa=_0x352169['length']-0x1,_0x290373;_0x7627fa>=0x0;_0x7627fa--)(_0x290373=_0x352169[_0x7627fa])&&(_0x12867d=_0x290373(_0x12867d)||_0x12867d);return _0x12867d;},gt=(_0x26fec3,_0x5c6c97)=>(_0x174d70,_0x1cbd06)=>_0x5c6c97(_0x174d70,_0x1cbd06,_0x26fec3);const is=[_0x597ab2(0x484),_0x597ab2(0x2ea),'image/jpg','image/gif',_0x597ab2(0x3a1)],rs=0x5*0x400*0x400,ns='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss='/universer-api/stream/file/upload',os=_0x597ab2(0x261),as=_0x597ab2(0x407);let yt=class{constructor(_0x4c7cfb,_0x18e178,_0x487cfd){var _0x46268f=_0x597ab2;N(this,'_waitCount',0x0),N(this,_0x46268f(0x1d1),new _0x4f59b9()),N(this,_0x46268f(0x35e),this[_0x46268f(0x1d1)]),N(this,'_imageSourceCache',new Map()),(this[_0x46268f(0x259)]=_0x4c7cfb,this[_0x46268f(0x252)]=_0x18e178,this[_0x46268f(0x3d9)]=_0x487cfd);}[_0x597ab2(0x2b5)](_0x116ef9){var _0x12130d=_0x597ab2;this[_0x12130d(0x39c)]=_0x116ef9,this[_0x12130d(0x1d1)][_0x12130d(0x301)](_0x116ef9);}[_0x597ab2(0x2f3)](_0x2cd852,_0x120630){var _0x588fe7=_0x597ab2;if(_0x120630===_0x411cb2[_0x588fe7(0x1bc)]){const _0x304bd4=new Image();return _0x304bd4['src']=_0x2cd852,_0x304bd4;}return this[_0x588fe7(0x220)][_0x588fe7(0x277)](_0x2cd852);}[_0x597ab2(0x342)](_0x442097,_0x4435da,_0x451222){var _0x4e7b51=_0x597ab2;_0x4435da===_0x411cb2['BASE64']||_0x451222==null||this[_0x4e7b51(0x220)][_0x4e7b51(0x1e6)](_0x442097,_0x451222);}async[_0x597ab2(0x305)](_0x557dd9){var _0x19a50b=_0x597ab2;try{const _0x26f2ef=this[_0x19a50b(0x1e2)](this[_0x19a50b(0x1b2)](),''+_0x557dd9),_0x21ef36=(await this[_0x19a50b(0x259)]['get'](_0x26f2ef))[_0x19a50b(0x2f4)];if(_0x21ef36[_0x19a50b(0x2ab)]&&_0x21ef36[_0x19a50b(0x2ab)][_0x19a50b(0x1b8)]===Si['OK']){const _0xdc0be4=new URL(_0x21ef36[_0x19a50b(0x27d)],this[_0x19a50b(0x3a8)]())[_0x19a50b(0x298)]();return Promise[_0x19a50b(0x22e)](_0xdc0be4);}return Promise['reject'](_0x21ef36[_0x19a50b(0x2ab)]);}catch(_0x62b362){return Promise[_0x19a50b(0x2bd)](_0x62b362);}}async['saveImage'](_0x39911f){var _0xebada5=_0x597ab2;let _0x570003='';if(!is[_0xebada5(0x21e)](_0x39911f[_0xebada5(0x2d8)]))return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46['ERROR_IMAGE_TYPE']));if(_0x39911f[_0xebada5(0x3bd)]>rs)return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46[_0xebada5(0x1cd)]));try{const _0x2bc954=new FormData();_0x2bc954['append'](_0xebada5(0x1d7),_0x39911f);const _0x13f0f2=this[_0xebada5(0x3d9)][_0xebada5(0x44e)](),_0x6439d0=_0x13f0f2==null?void 0x0:_0x13f0f2[_0xebada5(0x48a)]();if(!_0x6439d0)throw new Error(_0xebada5(0x45c));const _0x9b756c=this[_0xebada5(0x38f)]()+_0xebada5(0x43f)+_0x39911f['size']['toString']()+_0xebada5(0x300)+Ei[_0xebada5(0x27b)]+'&assign='+encodeURIComponent(_0x6439d0),_0x88b445=await(await fetch(_0x9b756c,{'method':_0xebada5(0x30c),'body':_0x2bc954}))['json']();if(typeof _0x88b445[_0xebada5(0x334)]!=_0xebada5(0x1ca))return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46[_0xebada5(0x412)]));_0x570003=_0x88b445[_0xebada5(0x334)];}catch{return this[_0xebada5(0x33b)](),Promise[_0xebada5(0x2bd)](new Error(_0x1bda46[_0xebada5(0x412)]));}return new Promise((_0x2974b6,_0x3e0389)=>{var _0x579322=_0xebada5;const _0x335808=new FileReader();_0x335808[_0x579322(0x335)](_0x39911f),_0x335808[_0x579322(0x1f2)]=_0x25ea1f=>{var _0x337205=_0x579322,_0xba6249;const _0x9d1b61=(_0xba6249=_0x25ea1f[_0x337205(0x1d3)])==null?void 0x0:_0xba6249[_0x337205(0x29f)];if(_0x9d1b61==null){this[_0x337205(0x33b)](),_0x3e0389(new Error(_0x1bda46[_0x337205(0x412)]));return;}const _0x28714e=_0x1a2cf5[_0x337205(0x314)](0x6);_0x2974b6({'imageId':_0x28714e,'imageSourceType':_0x411cb2[_0x337205(0x2de)],'source':_0x570003,'base64Cache':_0x9d1b61,'status':_0x1bda46[_0x337205(0x276)]}),this['_decreaseWaiting']();};});}[_0x597ab2(0x38f)](){var _0x2145f4=_0x597ab2,_0x48616d,_0x172457;const _0x5b282a=this[_0x2145f4(0x252)][_0x2145f4(0x2d1)](ns),_0xcbd83e=this[_0x2145f4(0x252)]['getConfig'](q);return(_0x172457=(_0x48616d=_0xcbd83e==null?void 0x0:_0xcbd83e['uploadFileServerUrl'])!=null?_0x48616d:_0x5b282a)!=null?_0x172457:ss;}['_getSignURL'](){var _0x1d0089=_0x597ab2,_0x4c2de4,_0x57cf47;const _0x4f890c=this[_0x1d0089(0x252)][_0x1d0089(0x2d1)](os),_0xaa60fa=this['_configService'][_0x1d0089(0x2d1)](q);return(_0x57cf47=(_0x4c2de4=_0xaa60fa==null?void 0x0:_0xaa60fa[_0x1d0089(0x46d)])!=null?_0x4c2de4:_0x4f890c)!=null?_0x57cf47:as;}[_0x597ab2(0x3a8)](){var _0x58573a=_0x597ab2,_0x109667;const _0x2a4dd7=this[_0x58573a(0x252)][_0x58573a(0x2d1)](q);return(_0x109667=_0x2a4dd7==null?void 0x0:_0x2a4dd7[_0x58573a(0x1b3)])!=null?_0x109667:location[_0x58573a(0x263)];}[_0x597ab2(0x1e2)](_0x5b4da4,_0xbab89a){var _0xc395e8=_0x597ab2;return _0x5b4da4[_0xc395e8(0x3f3)]('{fileID}',_0xbab89a);}[_0x597ab2(0x33b)](){var _0x30fe94=_0x597ab2;this[_0x30fe94(0x39c)]-=0x1,this['_change$']['next'](this[_0x30fe94(0x39c)]);}};yt=ts([gt(0x0,_0x5dc8b8(_0x546518)),gt(0x1,_0x52e356),gt(0x2,_0x5dc8b8(_0x541816))],yt);var cs=Object[_0x597ab2(0x3e5)],hs=(_0x1e0080,_0x40db7c,_0x366f93,_0x1982f9)=>{var _0x133ad2=_0x597ab2;for(var _0x2ce87a=_0x1982f9>0x1?void 0x0:_0x1982f9?cs(_0x40db7c,_0x366f93):_0x40db7c,_0x36a1da=_0x1e0080[_0x133ad2(0x419)]-0x1,_0x13077d;_0x36a1da>=0x0;_0x36a1da--)(_0x13077d=_0x1e0080[_0x36a1da])&&(_0x2ce87a=_0x13077d(_0x2ce87a)||_0x2ce87a);return _0x2ce87a;},hi=(_0x5221d3,_0x10058a)=>(_0x4e52f7,_0x17d22d)=>_0x10058a(_0x4e52f7,_0x17d22d,_0x5221d3);const _s=_0x597ab2(0x21f);let Ot=class{constructor(_0x47798d,_0xbf221e){var _0x29622c=_0x597ab2;this[_0x29622c(0x252)]=_0x47798d,this[_0x29622c(0x227)]=_0xbf221e;}['_getAPIPrefixPath'](){var _0x4b6365=_0x597ab2,_0x524d60,_0x45be0b;const _0x59bd2f=this[_0x4b6365(0x252)][_0x4b6365(0x2d1)](Ni),_0x4f8a9b=this[_0x4b6365(0x252)]['getConfig'](q);return(_0x45be0b=(_0x524d60=_0x4f8a9b==null?void 0x0:_0x4f8a9b[_0x4b6365(0x2c1)])!=null?_0x524d60:_0x59bd2f)!=null?_0x45be0b:_s;}async[_0x597ab2(0x297)](_0x439c7f){var _0x8b53bf=_0x597ab2;const _0x3acd87=this[_0x8b53bf(0x428)]()+'/collaborator';return{'list':[{'title':_0x8b53bf(0x289),'mentions':(await this[_0x8b53bf(0x227)][_0x8b53bf(0x277)](_0x3acd87,{'params':{'objectID':_0x439c7f['unitId'],'unitID':_0x439c7f[_0x8b53bf(0x3cd)]}}))[_0x8b53bf(0x2f4)][_0x8b53bf(0x467)][_0x8b53bf(0x376)](_0x4e1901=>({'objectId':_0x4e1901['id'],'name':_0x4e1901[_0x8b53bf(0x403)][_0x8b53bf(0x477)],'metadata':{'icon':_0x4e1901[_0x8b53bf(0x403)][_0x8b53bf(0x413)]},'label':_0x4e1901[_0x8b53bf(0x403)][_0x8b53bf(0x477)],'objectType':_0x13619e[_0x8b53bf(0x443)]})),'metadata':{},'type':_0x13619e[_0x8b53bf(0x443)]}]};}};Ot=hs([hi(0x0,_0x5dc8b8(_0x52e356)),hi(0x1,_0x5dc8b8(_0x546518))],Ot);var ls=Object[_0x597ab2(0x3e5)],us=(_0x4055f7,_0x36928e,_0x2397ef,_0x478acb)=>{var _0x3c9efc=_0x597ab2;for(var _0x16daab=_0x478acb>0x1?void 0x0:_0x478acb?ls(_0x36928e,_0x2397ef):_0x36928e,_0x58823b=_0x4055f7[_0x3c9efc(0x419)]-0x1,_0x125580;_0x58823b>=0x0;_0x58823b--)(_0x125580=_0x4055f7[_0x58823b])&&(_0x16daab=_0x125580(_0x16daab)||_0x16daab);return _0x16daab;},Ae=(_0x5b6cc8,_0x31b16b)=>(_0x144a98,_0x44f413)=>_0x31b16b(_0x144a98,_0x44f413,_0x5b6cc8);let at=class extends _0x10e9f1{constructor(_0x3cbe0b,_0x182e53,_0x483c5b,_0x334bc9,_0x24357d){var _0x43d3b1=_0x597ab2;super(),this[_0x43d3b1(0x44a)]=_0x3cbe0b,this[_0x43d3b1(0x3d9)]=_0x182e53,this[_0x43d3b1(0x366)]=_0x483c5b,this[_0x43d3b1(0x1a1)]=_0x334bc9,this[_0x43d3b1(0x352)]=_0x24357d,this[_0x43d3b1(0x367)](),this['_initCloseConn']();}[_0x597ab2(0x2f6)](){var _0xb4c5ff=_0x597ab2;const _0x248b2c=async _0x5f06c3=>{var _0xea473d=_0x5a0e;(await this['_collaborationSessionService'][_0xea473d(0x2c0)](_0x5f06c3))['event$']['pipe'](_0x321733(_0x300b68=>_0x300b68[_0xea473d(0x210)]===_0x136edc[_0xea473d(0x271)]),_0x50dffe(this[_0xea473d(0x1bb)]))[_0xea473d(0x470)](_0xb1b911=>{var _0x198a70=_0xea473d;const _0x19c453=_0xb1b911,{reason:_0xa6b095}=_0x19c453[_0x198a70(0x1a6)];this['_collaborationUIEventService'][_0x198a70(0x3aa)]({'id':se['CLOSE_ROOM'],'data':_0xa6b095}),this[_0x198a70(0x366)]['updatePermissionPoint'](new _0x2025bf(_0x5f06c3)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5f06c3);});};_0x10ee83(this[_0xb4c5ff(0x3d9)]['getTypeOfUnitAdded$'](_0x31007f['UNIVER_SHEET']),this[_0xb4c5ff(0x3d9)]['getTypeOfUnitAdded$'](_0x31007f[_0xb4c5ff(0x2db)]))[_0xb4c5ff(0x218)](_0x3e044c(_0xf90e5d=>_0xf90e5d['getUnitId']()),_0x321733(_0x28060b=>!_0x178305(_0x28060b)),_0x50dffe(this['dispose$']))[_0xb4c5ff(0x470)](_0x30dda2=>{_0x248b2c(_0x30dda2);});}[_0x597ab2(0x367)](){var _0x5344b3=_0x597ab2;const _0x571ce8=async _0x1e2628=>{var _0x4d0044=_0x5a0e;const _0x2bd4fd=await this[_0x4d0044(0x1a1)][_0x4d0044(0x2c0)](_0x1e2628),_0x1e38a6=this[_0x4d0044(0x44a)]['get'](_0xc05fc6);_0x2bd4fd[_0x4d0044(0x2ac)][_0x4d0044(0x218)](_0x321733(_0x1a190d=>_0x1a190d[_0x4d0044(0x210)]===_0x136edc[_0x4d0044(0x202)]),_0x50dffe(this[_0x4d0044(0x1bb)]))[_0x4d0044(0x470)](_0x1efad8=>{var _0xacd1f5=_0x4d0044;const _0x2c8351=_0x1efad8,{objectId:_0x576938}=_0x2c8351[_0xacd1f5(0x1a6)];_0x576938===_0x1e2628?_0x1e38a6[_0xacd1f5(0x2ae)](_0x1e2628):_0x1e38a6[_0xacd1f5(0x32a)](_0x1e2628,_0x576938);});};_0x10ee83(this[_0x5344b3(0x3d9)][_0x5344b3(0x22d)](_0x31007f['UNIVER_SHEET']))[_0x5344b3(0x218)](_0x3e044c(_0x1e0f59=>_0x1e0f59['getUnitId']()),_0x321733(_0xf77111=>!_0x178305(_0xf77111)),_0x50dffe(this[_0x5344b3(0x1bb)]))[_0x5344b3(0x470)](_0x1b8526=>{_0x571ce8(_0x1b8526);});}};at=us([Ae(0x0,_0x5dc8b8(_0x253837)),Ae(0x1,_0x541816),Ae(0x2,_0x2fef49),Ae(0x3,_0x5dc8b8(Le)),Ae(0x4,_0x5dc8b8(pe))],at);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x3d5254,_0xf9d6a3,_0x8cf102,_0x5a3a0b)=>{for(var _0x332ead=_0x5a3a0b>0x1?void 0x0:_0x5a3a0b?ds(_0xf9d6a3,_0x8cf102):_0xf9d6a3,_0x10e6e3=_0x3d5254['length']-0x1,_0x4e60b7;_0x10e6e3>=0x0;_0x10e6e3--)(_0x4e60b7=_0x3d5254[_0x10e6e3])&&(_0x332ead=_0x4e60b7(_0x332ead)||_0x332ead);return _0x332ead;},_i=(_0x32771f,_0x4b223c)=>(_0x489425,_0x9c4d1c)=>_0x4b223c(_0x489425,_0x9c4d1c,_0x32771f);let Nt=class{constructor(_0x5cabfc,_0x37fe18){var _0x40a8b2=_0x597ab2;this[_0x40a8b2(0x252)]=_0x5cabfc,this[_0x40a8b2(0x259)]=_0x37fe18;}async[_0x597ab2(0x353)](_0x5313fe,_0x311ad5){var _0x1049cf=_0x597ab2,_0x2eb9be;const {unitID:_0x1222ba,type:_0x4b1646,revision:_0x488c61=0x0}=_0x311ad5,_0x494df8=this[_0x1049cf(0x2d3)]()+'/'+_0x4b1646+_0x1049cf(0x284)+_0x1222ba+_0x1049cf(0x299)+_0x488c61,_0x54bb25=(await this[_0x1049cf(0x259)][_0x1049cf(0x277)](_0x494df8))[_0x1049cf(0x2f4)],_0x545e0e=(_0x2eb9be=_0x54bb25['snapshot'])==null?void 0x0:_0x2eb9be[_0x1049cf(0x3a3)];if(_0x545e0e){const _0x28bc0e=_0x545e0e==null?void 0x0:_0x545e0e[_0x1049cf(0x280)],_0x312fd5=_0xbb0b23[_0x1049cf(0x286)](_0x1a94a2(_0x28bc0e));_0x545e0e['originalMeta']=_0x312fd5,Object[_0x1049cf(0x487)](_0x545e0e[_0x1049cf(0x1df)])[_0x1049cf(0x1ff)](([,_0x5f303e])=>{var _0x4018d8=_0x1049cf;const _0x48155b=_0x5f303e[_0x4018d8(0x280)],_0xd97da0=_0xbb0b23[_0x4018d8(0x286)](_0x1a94a2(_0x48155b));_0x5f303e['originalMeta']=_0xd97da0;});}return _0x54bb25;}async[_0x597ab2(0x361)](_0x2ac3c2,_0x26c7da){var _0x5122f5=_0x597ab2;const {unitID:_0x586417,type:_0x55f369,blockID:_0x493e36}=_0x26c7da,_0x1174ca=this['_getAPIPrefix']()+'/'+_0x55f369+'/unit/'+_0x586417+_0x5122f5(0x386)+_0x493e36;return(await this[_0x5122f5(0x259)]['get'](_0x1174ca))[_0x5122f5(0x2f4)];}async['getDeserializedSheetBlock'](_0x43e943,_0x26bc97){var _0x3b9b15=_0x597ab2;const {unitID:_0x35cbd6,type:_0x117b4d,blockID:_0x217d49}=_0x26bc97,_0x3270d8=this['_getAPIPrefix']()+'/block/'+_0x117b4d+'/unit/'+_0x35cbd6+'/block/'+_0x217d49;return(await this['_httpService'][_0x3b9b15(0x277)](_0x3270d8))[_0x3b9b15(0x2f4)];}async['fetchMissingChangesets'](_0x84c217,_0x4a5ddc){var _0x5ea616=_0x597ab2;const {unitID:_0x56beb4,type:_0xa2038f,from:_0x530a43,to:_0x4bc9a6}=_0x4a5ddc,_0x256b91=this[_0x5ea616(0x31b)]()+'/'+_0xa2038f+_0x5ea616(0x284)+_0x56beb4+_0x5ea616(0x30a)+_0x530a43+_0x5ea616(0x1c0)+_0x4bc9a6;return(await this[_0x5ea616(0x259)][_0x5ea616(0x277)](_0x256b91))[_0x5ea616(0x2f4)];}[_0x597ab2(0x2d3)](){var _0x443ef3=_0x597ab2,_0x5e228e;return(_0x5e228e=this[_0x443ef3(0x252)][_0x443ef3(0x2d1)](gr))!=null?_0x5e228e:this['_getAPIPrefix']();}[_0x597ab2(0x31b)](){var _0x58dbb7=_0x597ab2,_0x2c75b7,_0x9c11fb;const _0x150517=this[_0x58dbb7(0x252)][_0x58dbb7(0x2d1)](pr),_0x2484b3=this[_0x58dbb7(0x252)][_0x58dbb7(0x2d1)](q);return(_0x9c11fb=(_0x2c75b7=_0x2484b3==null?void 0x0:_0x2484b3['snapshotServerUrl'])!=null?_0x2c75b7:_0x150517)!=null?_0x9c11fb:mr;}async[_0x597ab2(0x2e3)](_0x2b1b2a,_0x242054){var _0x2ed9e0=_0x597ab2;const _0x5ce1d4=_0x2ed9e0(0x3c1)+_0x242054[_0x2ed9e0(0x2d8)]+_0x2ed9e0(0x284)+_0x242054[_0x2ed9e0(0x1f6)]+_0x2ed9e0(0x429);return(await this['_httpService']['get'](_0x5ce1d4,{'params':{'resourceId':JSON['stringify'](_0x242054[_0x2ed9e0(0x393)])}}))[_0x2ed9e0(0x2f4)];}[_0x597ab2(0x23b)](){var _0x129074=_0x597ab2;throw new Error(_0x129074(0x3cb));}['saveSheetBlock'](){var _0x2e1527=_0x597ab2;throw new Error(_0x2e1527(0x3cb));}[_0x597ab2(0x446)](){var _0x54b179=_0x597ab2;throw new Error(_0x54b179(0x3cb));}['copyFileMeta'](){var _0x4e7447=_0x597ab2;throw new Error(_0x4e7447(0x3cb));}[_0x597ab2(0x2fe)](){var _0x288672=_0x597ab2;throw new Error(_0x288672(0x3cb));}};Nt=fs([_i(0x0,_0x52e356),_i(0x1,_0x5dc8b8(_0x546518))],Nt);var vs=Object[_0x597ab2(0x3e5)],ps=(_0x47e702,_0x29a9ca,_0x7633b2,_0x4b4975)=>{var _0x4cd10d=_0x597ab2;for(var _0x3d6096=_0x4b4975>0x1?void 0x0:_0x4b4975?vs(_0x29a9ca,_0x7633b2):_0x29a9ca,_0xa08e00=_0x47e702[_0x4cd10d(0x419)]-0x1,_0x5b5b3c;_0xa08e00>=0x0;_0xa08e00--)(_0x5b5b3c=_0x47e702[_0xa08e00])&&(_0x3d6096=_0x5b5b3c(_0x3d6096)||_0x3d6096);return _0x3d6096;},Pe=(_0xc0fa59,_0x2ff0d0)=>(_0x2ed1f4,_0x9f9497)=>_0x2ff0d0(_0x2ed1f4,_0x9f9497,_0xc0fa59);let Dt=class extends _0x37c0df{constructor(_0x39780c,_0x5e7976,_0x6f3121,_0x117a6a,_0x4f34eb){var _0x5ad796=_0x597ab2;super(_0x39780c,_0x5e7976,_0x6f3121),this[_0x5ad796(0x460)]=_0x117a6a,this[_0x5ad796(0x1fe)]=_0x4f34eb;}[_0x597ab2(0x41d)](_0x518cf8,_0x124d48){var _0x52fd05=_0x597ab2;const _0x226960=this[_0x52fd05(0x221)](_0x518cf8);if(_0x226960)try{const _0x5da920=this[_0x52fd05(0x2c4)](_0x226960,_0x124d48);this[_0x52fd05(0x3a9)](_0x518cf8,_0x5da920);}catch(_0x9642f5){this['_logService'][_0x52fd05(0x2ab)](_0x52fd05(0x3e2),_0x9642f5),this['_clearUndo'](_0x518cf8);}const _0x370ddc=this['_getRedoStack'](_0x518cf8);if(_0x370ddc)try{const _0x4025ce=this['_transformStack'](_0x370ddc,_0x124d48);this[_0x52fd05(0x2b7)](_0x518cf8,_0x4025ce);}catch(_0x15b15a){this['_logService'][_0x52fd05(0x2ab)](_0x15b15a),this[_0x52fd05(0x2bf)](_0x518cf8);}}[_0x597ab2(0x474)](_0x21ca56){var _0x573b91=_0x597ab2;const _0x4b388e=this[_0x573b91(0x221)](_0x21ca56);_0x4b388e&&(_0x4b388e['length']=0x0,this[_0x573b91(0x38a)]());}[_0x597ab2(0x2bf)](_0x3e135d){var _0x107322=_0x597ab2;const _0x549728=this[_0x107322(0x42e)](_0x3e135d);_0x549728&&(_0x549728[_0x107322(0x419)]=0x0,this['_updateStatus']());}[_0x597ab2(0x3a9)](_0x1d4a37,_0x18b817){var _0x21edcc=_0x597ab2;this[_0x21edcc(0x341)]['set'](_0x1d4a37,_0x18b817),this[_0x21edcc(0x38a)]();}[_0x597ab2(0x2b7)](_0x56181f,_0x974ec7){var _0x25067b=_0x597ab2;this[_0x25067b(0x229)][_0x25067b(0x1e6)](_0x56181f,_0x974ec7),this[_0x25067b(0x38a)]();}[_0x597ab2(0x2c4)](_0x432d1a,_0x5f1f18){var _0x454752=_0x597ab2;const _0x32965d=[];let _0x39bc5e=_0x5f1f18,_0x346788=_0x5f1f18;for(let _0x3770db=_0x432d1a[_0x454752(0x419)]-0x1;_0x3770db>=0x0;_0x3770db--){const {unitID:_0xd6936f,undoMutations:_0xf74fe8,redoMutations:_0x8933f5}=_0x432d1a[_0x3770db],_0x41b70f=this[_0x454752(0x460)]['transformMutationsWithChangeset'](_0x39bc5e,_0xf74fe8),_0x4035a=this[_0x454752(0x460)][_0x454752(0x3b0)](_0x346788,_0x8933f5);if(_0x33e36c(_0x41b70f)||_0x33e36c(_0x4035a)){this[_0x454752(0x1fe)][_0x454752(0x2ab)](_0x454752(0x3e2),_0x454752(0x36f),_0x41b70f,_0x4035a);break;}_0x39bc5e=_0x41b70f[_0x454752(0x3a7)],_0x346788=_0x4035a[_0x454752(0x3a7)],_0x32965d[_0x454752(0x1e9)]({'unitID':_0xd6936f,'undoMutations':_0x41b70f[_0x454752(0x2b1)],'redoMutations':_0x4035a['m2Prime']});}return _0x32965d['reverse']();}};Dt=ps([Pe(0x0,_0x541816),Pe(0x1,_0x336840),Pe(0x2,_0xe57d12),Pe(0x3,_0x556cc7),Pe(0x4,_0x2dcdf5)],Dt);var ms=Object[_0x597ab2(0x1c4)],gs=Object[_0x597ab2(0x3e5)],Ss=(_0x3dea2d,_0x3cb3c0,_0x4d2c9a)=>_0x3cb3c0 in _0x3dea2d?ms(_0x3dea2d,_0x3cb3c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d2c9a}):_0x3dea2d[_0x3cb3c0]=_0x4d2c9a,Es=(_0x4bec17,_0x1851ce,_0x54867e,_0x257408)=>{var _0x36c680=_0x597ab2;for(var _0x28394b=_0x257408>0x1?void 0x0:_0x257408?gs(_0x1851ce,_0x54867e):_0x1851ce,_0x14a09f=_0x4bec17[_0x36c680(0x419)]-0x1,_0x1aa9a9;_0x14a09f>=0x0;_0x14a09f--)(_0x1aa9a9=_0x4bec17[_0x14a09f])&&(_0x28394b=_0x1aa9a9(_0x28394b)||_0x28394b);return _0x28394b;},St=(_0x27f24a,_0x255b72)=>(_0x35f4df,_0x944ae2)=>_0x255b72(_0x35f4df,_0x944ae2,_0x27f24a),Is=(_0x2076ac,_0x469e00,_0x5b80b0)=>Ss(_0x2076ac,_0x469e00+'',_0x5b80b0);const Ts=_0x597ab2(0x22c);let wt=class extends _0x26bf95{constructor(_0x50312a,_0xb3dbce,_0x41659f,_0x590a23){var _0x202ef7=_0x597ab2;super(),N(this,_0x202ef7(0x466)),(this[_0x202ef7(0x1fe)]=_0xb3dbce,this[_0x202ef7(0x44a)]=_0x41659f,this[_0x202ef7(0x252)]=_0x590a23);const {..._0x24c870}=_0x310f4e({},Ur,_0x50312a);if(!_0x24c870[_0x202ef7(0x2ad)])throw new Error(_0x202ef7(0x3bc));this[_0x202ef7(0x466)]=_0x24c870,this[_0x202ef7(0x252)][_0x202ef7(0x375)](q,_0x24c870);}[_0x597ab2(0x26b)](){var _0x2f7541=_0x597ab2;this[_0x2f7541(0x390)](),this['_initDependencies']();}[_0x597ab2(0x390)](){var _0x3327d4=_0x597ab2,_0x153fcb,_0x2c8364;this['_injector']['has'](_0x28f227)&&this['_logService'][_0x3327d4(0x2ab)]('[UniverCollaborationClientPlugin]',_0x3327d4(0x266));const _0xc3f451=_0x4618d9([[_0x28f227,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x3327d4(0x466)][_0x3327d4(0x2ad)]}],[_0x31340a,{'useClass':Nt}],[_0x3f1761,{'useClass':Rt}],[_0xaa189e,{'useClass':yt}],[_0x304920,{'useClass':Ot}],[nt],[Ct]],(_0x153fcb=this[_0x3327d4(0x466)])==null?void 0x0:_0x153fcb['override']);if(!((_0x2c8364=this[_0x3327d4(0x466)])!=null&&_0x2c8364[_0x3327d4(0x25d)])){const _0x1166ff=_0xc3f451[_0x3327d4(0x2b4)](([_0x2af8a1])=>_0x2af8a1===ht);_0x1166ff!==-0x1&&_0xc3f451[_0x3327d4(0x32b)](_0x1166ff,0x1);}_0xae4208(this[_0x3327d4(0x44a)],_0xc3f451);}['_initDependencies'](){var _0x59cea8=_0x597ab2,_0x215581,_0x1e3279,_0x5b5f89;this['_injector'][_0x59cea8(0x277)](_0x546518)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x20c5e3({'maxParallel':0x6})}),(_0x215581=this[_0x59cea8(0x466)])!=null&&_0x215581[_0x59cea8(0x1a4)]||(_0x1e3279=this[_0x59cea8(0x44a)][_0x59cea8(0x277)](J,_0x348dca[_0x59cea8(0x222)]))==null||_0x1e3279[_0x59cea8(0x216)](),(_0x5b5f89=this[_0x59cea8(0x466)])!=null&&_0x5b5f89['enableAuthServer']&&_0xd224af(this['_injector'],[[st]]),_0xd224af(this[_0x59cea8(0x44a)],[[ot],[nt],[at]]);}};Is(wt,'pluginName',Ts),wt=Es([_0x3539d3(_0x48870e,_0x415ab9),St(0x1,_0x2dcdf5),St(0x2,_0x5dc8b8(_0x253837)),St(0x3,_0x52e356)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|
1
|
+
var _0x16ccb4=_0x1439;(function(_0x86028,_0x21e5c6){var _0x142af1=_0x1439,_0x3d90da=_0x86028();while(!![]){try{var _0x6d47dc=parseInt(_0x142af1(0x18d))/0x1+parseInt(_0x142af1(0x2d5))/0x2+-parseInt(_0x142af1(0x192))/0x3*(-parseInt(_0x142af1(0x378))/0x4)+parseInt(_0x142af1(0x2e5))/0x5*(parseInt(_0x142af1(0x12c))/0x6)+-parseInt(_0x142af1(0x17b))/0x7+-parseInt(_0x142af1(0x140))/0x8*(-parseInt(_0x142af1(0x217))/0x9)+-parseInt(_0x142af1(0x2e2))/0xa;if(_0x6d47dc===_0x21e5c6)break;else _0x3d90da['push'](_0x3d90da['shift']());}catch(_0x39da49){_0x3d90da['push'](_0x3d90da['shift']());}}}(_0xd1ae,0x4e1b4));var Ai=Object['defineProperty'],Pi=(_0x495cf3,_0x42c91f,_0x198528)=>_0x42c91f in _0x495cf3?Ai(_0x495cf3,_0x42c91f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x198528}):_0x495cf3[_0x42c91f]=_0x198528,N=(_0x27d773,_0x4164f5,_0x2b4849)=>Pi(_0x27d773,typeof _0x4164f5!='symbol'?_0x4164f5+'':_0x4164f5,_0x2b4849);import{createIdentifier as _0x355799,Inject as _0x22fd22,Injector as _0x159af1,IConfigService as _0x1c1cc7,ILogService as _0x3e2fe0,Disposable as _0x3972d8,DisposableCollection as _0x5496b8,toDisposable as _0x5a70ff,IUniverInstanceService as _0x1e29c1,UserManagerService as _0x4a263d,UniverInstanceType as _0x14257c,LocaleService as _0x398bdd,Optional as _0x2f418b,RxDisposable as _0x58c729,Tools as _0x2952e2,Rectangle as _0x5681db,ICommandService as _0x4b595d,JSONX as _0x6618a6,CommandType as _0xfe5fdf,IUndoRedoService as _0x3838b4,IPermissionService as _0x9e91ec,sequenceExecute as _0x1fc61c,Workbook as _0xfbae5b,MentionType as _0x588fe6,isInternalEditorID as _0x4c2c44,LocalUndoRedoService as _0x2ce7e3,IContextService as _0x156957,DependentOn as _0x66a821,Plugin as _0x493d23,merge as _0x3552d3,mergeOverrideWithDependencies as _0x2f2d8e,IAuthzIoService as _0x584698,IMentionIOService as _0xe4964b,registerDependencies as _0x5204cc,Quantity as _0x578feb,touchDependencies as _0x1f0096}from'@univerjs/core';import{Subject as _0x21446f,merge as _0x2c880e,of as _0x3ac148,BehaviorSubject as _0x5c270b,takeUntil as _0x41d697,ReplaySubject as _0x2b930a,take as _0x4bc8d4,map as _0x16081f,shareReplay as _0x1fe5b7,firstValueFrom as _0x2b8909,concatMap as _0x262a1d}from'rxjs';import{map as _0x275cdc,take as _0x5bfa20,filter as _0x176667,delay as _0x15839a,takeUntil as _0x184110}from'rxjs/operators';import{CollaborationEvent as _0x8288a1,ISnapshotServerService as _0x50de4a,parseChangesetToProtocol as _0x122703,ITransformService as _0x79664f,isTransformMutationsWithChangesetSuccess as _0x3db925,mapDocumentTypeToUniverType as _0x3e4bd1,RevisionService as _0x396d60,isTransformChangesetsSuccess as _0x46033f,CompressMutationService as _0x471865,parseProtocolChangeset as _0x4ec5b6,SnapshotService as _0x3ecace,textEncoder as _0x2db410,b64DecodeUnicode as _0x164473,isTransformMutationsWithChangesetFailure as _0x26de6e,UniverCollaborationPlugin as _0x407015}from'@univerjs-pro/collaboration';import{HTTPService as _0x9b2c39,ISocketService as _0x9ae12d,MergeInterceptorFactory as _0x224fb0,HTTPRequest as _0x2946a9,UniverNetworkPlugin as _0x41e874,ThresholdInterceptorFactory as _0x3a39b3}from'@univerjs/network';import{ITelemetryService as _0xc5cf7b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x523ad8}from'@univerjs/docs';import{SheetsSelectionsService as _0x25ed09,SetSelectionsOperation as _0x490de5,InsertSheetMutation as _0x389cd6,EmptyMutation as _0x5d708a,WorkbookEditablePermission as _0x27ca3a,SheetPermissionInitController as _0xc60610}from'@univerjs/sheets';import{ImageSourceType as _0x31683d,ImageUploadStatusType as _0x2e93c6,IImageIoService as _0x491dfa}from'@univerjs/drawing';import{getGlobalObject as _0x6a2112}from'@univerjs-pro/license';const pr=_0x16ccb4(0x1f3),mr='/universer-api/snapshot',gr='SNAPSHOT_URL_KEY',xs=_0x16ccb4(0x41d),Sr=0x7d0,Er=_0x16ccb4(0x3f3),Ir=_0x16ccb4(0x382),Ls=_0x16ccb4(0x23a),Tr=_0x16ccb4(0x2d1),Cr=0x7530,mi=_0x16ccb4(0x322),gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x16ccb4(0x1f2),ks=0x3e8,Or=_0x16ccb4(0x313),Nr='/universer-api/comb',Dr=_0x16ccb4(0x3d3),wr=_0x16ccb4(0x308),$s=_0x16ccb4(0x2ab),Hs='/universer-api/uniscript';var Si=(_0x509c1a=>(_0x509c1a[_0x509c1a[_0x16ccb4(0x367)]=0x0]='UNDEFINED',_0x509c1a[_0x509c1a['OK']=0x1]='OK',_0x509c1a[_0x509c1a['INTERNAL_ERROR']=0x2]=_0x16ccb4(0x3a3),_0x509c1a[_0x509c1a['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x509c1a[_0x509c1a['NOT_FOUND']=0x4]=_0x16ccb4(0x1c1),_0x509c1a[_0x509c1a['UNAUTHENTICATED']=0x5]=_0x16ccb4(0x178),_0x509c1a[_0x509c1a['ALREADY_EXISTS']=0x6]=_0x16ccb4(0x425),_0x509c1a[_0x509c1a[_0x16ccb4(0x3b1)]=0x7]='INVALID_ARGUMENT',_0x509c1a[_0x509c1a['TOO_MANY_REQUESTS']=0x8]=_0x16ccb4(0x160),_0x509c1a[_0x509c1a[_0x16ccb4(0x37c)]=0x9]=_0x16ccb4(0x37c),_0x509c1a[_0x509c1a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x16ccb4(0x334),_0x509c1a[_0x509c1a[_0x16ccb4(0x391)]=0x1771]=_0x16ccb4(0x391),_0x509c1a[_0x509c1a[_0x16ccb4(0x14b)]=0x1772]=_0x16ccb4(0x14b),_0x509c1a[_0x509c1a[_0x16ccb4(0x38a)]=0x1773]=_0x16ccb4(0x38a),_0x509c1a[_0x509c1a[_0x16ccb4(0x265)]=0x1b59]='APPLY_REJECT',_0x509c1a[_0x509c1a[_0x16ccb4(0x37b)]=0x1b5a]=_0x16ccb4(0x37b),_0x509c1a[_0x509c1a[_0x16ccb4(0x21e)]=0x1b5b]=_0x16ccb4(0x21e),_0x509c1a[_0x509c1a[_0x16ccb4(0x32f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x509c1a[_0x509c1a['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x509c1a[_0x509c1a[_0x16ccb4(0x3b0)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x509c1a[_0x509c1a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x16ccb4(0x2e3),_0x509c1a[_0x509c1a[_0x16ccb4(0x2a5)]=0x232a]=_0x16ccb4(0x2a5),_0x509c1a[_0x509c1a[_0x16ccb4(0x354)]=0x232b]=_0x16ccb4(0x354),_0x509c1a[_0x509c1a[_0x16ccb4(0x170)]=0x232c]=_0x16ccb4(0x170),_0x509c1a[_0x509c1a['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x509c1a[_0x509c1a[_0x16ccb4(0x2b8)]=0x2711]=_0x16ccb4(0x2b8),_0x509c1a[_0x509c1a[_0x16ccb4(0x1a0)]=0x2712]=_0x16ccb4(0x1a0),_0x509c1a[_0x509c1a[_0x16ccb4(0x2f3)]=0x2713]=_0x16ccb4(0x2f3),_0x509c1a[_0x509c1a[_0x16ccb4(0x22f)]=0x2714]=_0x16ccb4(0x22f),_0x509c1a[_0x509c1a[_0x16ccb4(0x1f8)]=0x2af9]=_0x16ccb4(0x1f8),_0x509c1a[_0x509c1a[_0x16ccb4(0x36b)]=-0x1]=_0x16ccb4(0x36b),_0x509c1a))(Si||{}),Q=(_0x53a1af=>(_0x53a1af[_0x53a1af[_0x16ccb4(0x283)]=0x0]='UNIVER_UNKNOWN',_0x53a1af[_0x53a1af[_0x16ccb4(0x1bc)]=0x1]=_0x16ccb4(0x1bc),_0x53a1af[_0x53a1af['UNIVER_SHEET']=0x2]=_0x16ccb4(0x2ac),_0x53a1af[_0x53a1af[_0x16ccb4(0x270)]=0x3]=_0x16ccb4(0x270),_0x53a1af[_0x53a1af[_0x16ccb4(0x1cc)]=0x4]=_0x16ccb4(0x1cc),_0x53a1af[_0x53a1af['UNRECOGNIZED']=-0x1]=_0x16ccb4(0x36b),_0x53a1af))(Q||{}),F=(_0x6c5662=>(_0x6c5662[_0x6c5662[_0x16ccb4(0x288)]=0x0]='UNKNOWN_CMD',_0x6c5662[_0x6c5662[_0x16ccb4(0x40f)]=0x1]=_0x16ccb4(0x40f),_0x6c5662[_0x6c5662[_0x16ccb4(0x3d1)]=0x2]=_0x16ccb4(0x3d1),_0x6c5662[_0x6c5662[_0x16ccb4(0x228)]=0x3]='LEAVE',_0x6c5662[_0x6c5662[_0x16ccb4(0x351)]=0x4]='INGEST',_0x6c5662[_0x6c5662[_0x16ccb4(0x1d3)]=0x5]=_0x16ccb4(0x1d3),_0x6c5662[_0x6c5662[_0x16ccb4(0x20f)]=0x6]=_0x16ccb4(0x20f),_0x6c5662[_0x6c5662[_0x16ccb4(0x36b)]=-0x1]=_0x16ccb4(0x36b),_0x6c5662))(F||{}),ge=(_0xcbb646=>(_0xcbb646[_0xcbb646['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0xcbb646[_0xcbb646['OK']=0x1]='OK',_0xcbb646[_0xcbb646['FAIL']=0x2]=_0x16ccb4(0x328),_0xcbb646[_0xcbb646['JOIN_ROOM_FULL']=0x3e9]=_0x16ccb4(0x315),_0xcbb646[_0xcbb646['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x16ccb4(0x19f),_0xcbb646[_0xcbb646[_0x16ccb4(0x1a7)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xcbb646[_0xcbb646[_0x16ccb4(0x26e)]=0x3ec]=_0x16ccb4(0x26e),_0xcbb646[_0xcbb646[_0x16ccb4(0x36b)]=-0x1]=_0x16ccb4(0x36b),_0xcbb646))(ge||{}),Ei=(_0xcb20dc=>(_0xcb20dc[_0xcb20dc[_0x16ccb4(0x1c5)]=0x0]=_0x16ccb4(0x1c5),_0xcb20dc[_0xcb20dc[_0x16ccb4(0x18b)]=0x1]=_0x16ccb4(0x18b),_0xcb20dc[_0xcb20dc[_0x16ccb4(0x19c)]=0x2]=_0x16ccb4(0x19c),_0xcb20dc[_0xcb20dc[_0x16ccb4(0x34b)]=0x3]=_0x16ccb4(0x34b),_0xcb20dc[_0xcb20dc[_0x16ccb4(0x3ba)]=0x4]=_0x16ccb4(0x3ba),_0xcb20dc[_0xcb20dc[_0x16ccb4(0x36b)]=-0x1]=_0x16ccb4(0x36b),_0xcb20dc))(Ei||{});const q=_0x16ccb4(0x3b8),Ur={};var se=(_0x42608c=>(_0x42608c[_0x16ccb4(0x31b)]=_0x16ccb4(0x31b),_0x42608c[_0x16ccb4(0x1e7)]=_0x16ccb4(0x1e7),_0x42608c['CONFLICT']=_0x16ccb4(0x28f),_0x42608c[_0x16ccb4(0x3f5)]=_0x16ccb4(0x3f5),_0x42608c[_0x16ccb4(0x31c)]=_0x16ccb4(0x31c),_0x42608c[_0x16ccb4(0x388)]=_0x16ccb4(0x388),_0x42608c['SOCKET_FAILED']=_0x16ccb4(0x22d),_0x42608c[_0x16ccb4(0x331)]=_0x16ccb4(0x331),_0x42608c))(se||{});class pe{constructor(){var _0x3c849c=_0x16ccb4;N(this,'_event$',new _0x21446f()),N(this,_0x3c849c(0x317),this[_0x3c849c(0x226)][_0x3c849c(0x2f8)]());}[_0x16ccb4(0x36d)](_0x54c188){var _0x3abf07=_0x16ccb4;this[_0x3abf07(0x226)][_0x3abf07(0x3f7)](_0x54c188);}}const Ar=_0x355799(_0x16ccb4(0x3c9));function Pr(_0xb5626c){var _0x3a4128=_0x16ccb4,_0x5761dd,_0xe0562d,_0x1ad210,_0x523ff1,_0x1e20a4;const _0x153b77=_0xb5626c[_0x3a4128(0x2c7)],_0x56fb6d=JSON[_0x3a4128(0x181)](_0x153b77);switch(_0x56fb6d[_0x3a4128(0x3ca)]){case F[_0x3a4128(0x1d3)]:case F[_0x3a4128(0x40f)]:{const _0x1f77b7=_0x56fb6d[_0x3a4128(0x3d6)];return{..._0x56fb6d,'data':_0x1f77b7,'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};}case F[_0x3a4128(0x3d1)]:{const _0x21949a=_0x56fb6d['joinRsp'];return{..._0x56fb6d,'data':_0x21949a,'cmd':_0x56fb6d['cmd']};}case F[_0x3a4128(0x20f)]:{const _0x2cfcc5=_0x56fb6d[_0x3a4128(0x12b)];switch(_0x2cfcc5['eventID']){case _0x8288a1[_0x3a4128(0x124)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':(_0x5761dd=_0x2cfcc5[_0x3a4128(0x28d)])==null?void 0x0:_0x5761dd['cs']},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1[_0x3a4128(0x390)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':(_0xe0562d=_0x2cfcc5[_0x3a4128(0x2c5)])==null?void 0x0:_0xe0562d['cs']},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1['NEW_CHANGESETS']:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':(_0x1ad210=_0x2cfcc5[_0x3a4128(0x32e)])==null?void 0x0:_0x1ad210['cs']},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1[_0x3a4128(0x223)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':(_0x523ff1=_0x2cfcc5[_0x3a4128(0x232)])==null?void 0x0:_0x523ff1['cs']},'cmd':_0x56fb6d['cmd']};case _0x8288a1['CHANGESET_SHOULD_RETRY']:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':(_0x1e20a4=_0x2cfcc5[_0x3a4128(0x1f6)])==null?void 0x0:_0x1e20a4['cs']},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1['UPDATE_CURSOR']:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5[_0x3a4128(0x310)]},'cmd':_0x56fb6d['cmd']};case _0x8288a1[_0x3a4128(0x332)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5[_0x3a4128(0x203)]},'cmd':_0x56fb6d['cmd']};case _0x8288a1['USERS_LEAVE']:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5['leaveEvent']},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1['LIVESHARE_NEW_HOST']:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5[_0x3a4128(0x329)]},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1[_0x3a4128(0x269)]:case _0x8288a1[_0x3a4128(0x182)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5[_0x3a4128(0x3f1)]},'cmd':_0x56fb6d['cmd']};case _0x8288a1[_0x3a4128(0x362)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5[_0x3a4128(0x329)]},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1['MSG_FOR_ERROR']:return{..._0x56fb6d,'data':_0x2cfcc5,'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1['COMMENT_UPDATE']:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5['commentUpdateEvent']},'cmd':_0x56fb6d['cmd']};case _0x8288a1[_0x3a4128(0x3d0)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5['updatePermissionObjEvent']},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1['SHOULD_CLOSE_CONN']:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5['shouldCloseConn']},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};case _0x8288a1[_0x3a4128(0x137)]:return{..._0x56fb6d,'data':{..._0x2cfcc5,'data':_0x2cfcc5[_0x3a4128(0x15f)]},'cmd':_0x56fb6d[_0x3a4128(0x3ca)]};default:return _0x56fb6d;}}default:return _0x56fb6d;}}function xr(_0x58944e){var _0x763343=_0x16ccb4;switch(_0x58944e[_0x763343(0x3ca)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x763343(0x20a)]({'cmd':_0x58944e[_0x763343(0x3ca)],'routeKey':_0x58944e[_0x763343(0x1dd)]});case F[_0x763343(0x351)]:{let _0x497497;switch(_0x58944e['data'][_0x763343(0x15d)]){case _0x8288a1[_0x763343(0x1fa)]:{_0x497497={'eventID':_0x8288a1[_0x763343(0x1fa)],'updateCursorEvent':_0x58944e[_0x763343(0x2c7)]['data']};break;}case _0x8288a1['USERS_LEAVE']:{_0x497497={'eventID':_0x8288a1['USERS_LEAVE'],'leaveEvent':_0x58944e[_0x763343(0x2c7)][_0x763343(0x2c7)]};break;}case _0x8288a1['USERS_ENTER']:{_0x497497={'eventID':_0x8288a1[_0x763343(0x332)],'joinEvent':_0x58944e[_0x763343(0x2c7)][_0x763343(0x2c7)]};break;}case _0x8288a1['LIVESHARE_NEW_HOST']:{_0x497497={'eventID':_0x8288a1[_0x763343(0x18e)],'liveShareNewHost':_0x58944e['data'][_0x763343(0x2c7)]};break;}case _0x8288a1[_0x763343(0x182)]:{_0x497497={'eventID':_0x8288a1[_0x763343(0x182)],'liveShareOperation':_0x58944e[_0x763343(0x2c7)]['data']};break;}case _0x8288a1[_0x763343(0x362)]:{_0x497497={'eventID':_0x8288a1[_0x763343(0x362)],'liveShareTerminate':_0x58944e[_0x763343(0x2c7)][_0x763343(0x2c7)]};break;}case _0x8288a1[_0x763343(0x14d)]:{_0x497497={'eventID':_0x8288a1[_0x763343(0x14d)],'liveShareRequestHost':_0x58944e[_0x763343(0x2c7)]['data']};break;}case _0x8288a1[_0x763343(0x269)]:{_0x497497={'eventID':_0x8288a1[_0x763343(0x269)]};break;}default:_0x497497={'eventID':_0x58944e[_0x763343(0x2c7)][_0x763343(0x15d)]};}return JSON[_0x763343(0x20a)]({'cmd':_0x58944e['cmd'],'routeKey':_0x58944e[_0x763343(0x1dd)],'collaMsg':_0x497497});}case F[_0x763343(0x3d1)]:return JSON[_0x763343(0x20a)]({'cmd':_0x58944e['cmd'],'routeKey':_0x58944e[_0x763343(0x1dd)],'joinReq':_0x58944e[_0x763343(0x2c7)]});case F['LEAVE']:return JSON[_0x763343(0x20a)]({'cmd':_0x58944e[_0x763343(0x3ca)],'routeKey':_0x58944e[_0x763343(0x1dd)],'leaveReq':_0x58944e[_0x763343(0x2c7)]});default:throw new Error(_0x763343(0x37d));}}var Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x45204e,_0x46296e,_0x2bcb5e,_0xd6ee68)=>{var _0x6d3550=_0x16ccb4;for(var _0x3a7944=_0xd6ee68>0x1?void 0x0:_0xd6ee68?Lr(_0x46296e,_0x2bcb5e):_0x46296e,_0x3e48fd=_0x45204e[_0x6d3550(0x31d)]-0x1,_0x17f22f;_0x3e48fd>=0x0;_0x3e48fd--)(_0x17f22f=_0x45204e[_0x3e48fd])&&(_0x3a7944=_0x17f22f(_0x3a7944)||_0x3a7944);return _0x3a7944;},Ue=(_0x534f46,_0x4f2ba5)=>(_0x4ad126,_0x3cd1dd)=>_0x4f2ba5(_0x4ad126,_0x3cd1dd,_0x534f46);const Ii=_0x355799('univer-pro.collaboration-client-socket-service');function kr(_0x43f565,_0x45a23d,_0x496681){var _0xe177a9=_0x16ccb4;return _0x43f565+'/'+_0x45a23d+_0xe177a9(0x413)+_0x496681+_0xe177a9(0x312);}let Vt=class extends _0x3972d8{constructor(_0x330166,_0x287e91,_0x2099d3,_0x347f61,_0x2a579c){var _0x49ea5b=_0x16ccb4;super(),this['_injector']=_0x330166,this[_0x49ea5b(0x374)]=_0x287e91,this[_0x49ea5b(0x17a)]=_0x2099d3,this[_0x49ea5b(0x3d9)]=_0x347f61,this[_0x49ea5b(0x213)]=_0x2a579c;}[_0x16ccb4(0x2c6)](_0x5e9d86){var _0x255cc4=_0x16ccb4;const _0x1a1290=this[_0x255cc4(0x412)][_0x255cc4(0x2be)](_0x9ae12d);if(!_0x1a1290)throw new Error(_0x255cc4(0x3a7));const _0x10cd3b=_0x1a1290[_0x255cc4(0x15b)](_0x5e9d86);if(!_0x10cd3b)throw new Error(_0x255cc4(0x1a4));const _0x2667c6=new _0x5496b8(),_0x84e83d=new _0x21446f();_0x2667c6['add'](_0x10cd3b['close$'][_0x255cc4(0x3e5)](_0x428552=>_0x84e83d[_0x255cc4(0x3f7)](_0x428552))),_0x2667c6[_0x255cc4(0x16e)](_0x5a70ff(()=>_0x84e83d['complete']()));const _0x282445=new _0x21446f();_0x2667c6[_0x255cc4(0x16e)](_0x10cd3b['error$'][_0x255cc4(0x3e5)](_0x4b5fc0=>_0x282445['next'](_0x4b5fc0))),_0x2667c6[_0x255cc4(0x16e)](_0x5a70ff(()=>_0x282445[_0x255cc4(0x278)]()));const _0x58f597=new _0x21446f();_0x2667c6['add'](_0x10cd3b['message$']['subscribe'](_0x517499=>{var _0x32b28f=_0x255cc4;const _0x534f69=Pr(_0x517499);_0x58f597[_0x32b28f(0x3f7)](_0x534f69);})),_0x2667c6[_0x255cc4(0x16e)](_0x5a70ff(()=>_0x58f597['complete']()));let _0x517242;const _0x380224=()=>{var _0x20c71b=_0x255cc4;_0x282445['next'](new Event(_0x20c71b(0x352))),_0x84e83d[_0x20c71b(0x3f7)](new Event(_0x20c71b(0x352))),_0x517242[_0x20c71b(0x368)]();};return _0x517242={'memberID':'','close$':_0x84e83d['asObservable'](),'error$':_0x282445['asObservable'](),'open$':_0x10cd3b['open$'],'message$':_0x58f597[_0x255cc4(0x2f8)](),'send':_0x2f5113=>{var _0x1506f1=_0x255cc4;if(_0x2f5113['cmd']===F['INGEST']){if(_0x2f5113['data']['eventID']===_0x8288a1['SUBMIT_CHANGESET']){this[_0x1506f1(0x168)](_0x517242,_0x2f5113[_0x1506f1(0x2c7)])['catch'](_0x8c1434=>{var _0x2a3bf8=_0x1506f1;this[_0x2a3bf8(0x3d9)][_0x2a3bf8(0x34e)](_0x8c1434),_0x380224();});return;}if(_0x2f5113['data'][_0x1506f1(0x15d)]===_0x8288a1[_0x1506f1(0x381)]){const _0x50805b=_0x2f5113['data'];this[_0x1506f1(0x414)](_0x50805b)[_0x1506f1(0x1c9)](_0xcfb5ba=>{var _0xe079bf=_0x1506f1;_0x58f597[_0xe079bf(0x3f7)]({'cmd':F[_0xe079bf(0x20f)],'code':ge['OK'],'routeKey':_0x50805b[_0xe079bf(0x2c7)][_0xe079bf(0x20d)],'routeType':'','data':{'eventID':_0x8288a1['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xcfb5ba}}});})[_0x1506f1(0x1ab)](_0x5e1af9=>{var _0x434814=_0x1506f1;this[_0x434814(0x3d9)]['error'](_0x5e1af9),_0x380224();});return;}}_0x10cd3b[_0x1506f1(0x235)](xr(_0x2f5113));},'close':()=>{var _0x43a5bc=_0x255cc4;_0x10cd3b['close'](),_0x2667c6[_0x43a5bc(0x1d4)]();}},_0x517242;}async[_0x16ccb4(0x168)](_0x1ebcba,_0x21da6b){var _0x1f7f57=_0x16ccb4,_0x11eb10,_0x4b65b2;const {unitType:_0x4696e3,unitID:_0x89d284,changeset:_0x3c1ab7}=_0x21da6b['data'],_0x43e829={'unitID':_0x89d284,'memberID':_0x1ebcba[_0x1f7f57(0x404)],'type':_0x4696e3,'changeset':_0x122703(_0x3c1ab7)},_0x14f7a7=this[_0x1f7f57(0x17a)][_0x1f7f57(0x346)](Or),_0x178481=this[_0x1f7f57(0x17a)][_0x1f7f57(0x346)](q),_0x251b28=kr((_0x4b65b2=(_0x11eb10=_0x178481==null?void 0x0:_0x178481[_0x1f7f57(0x40a)])!=null?_0x11eb10:_0x14f7a7)!=null?_0x4b65b2:Nr,_0x4696e3,_0x89d284);try{await this[_0x1f7f57(0x374)][_0x1f7f57(0x14a)](_0x251b28,{'body':_0x43e829});}catch(_0x484499){throw this[_0x1f7f57(0x3d9)][_0x1f7f57(0x34e)]('[CollaborationSession]',_0x1f7f57(0x227)),_0x484499;}}async[_0x16ccb4(0x414)](_0x5ba61a){var _0x51de06=_0x16ccb4;const {unitID:_0x18c746,from:_0x87f4ee,to:_0x369845,unitType:_0x1bf3ef}=_0x5ba61a[_0x51de06(0x2c7)];return(await this[_0x51de06(0x213)][_0x51de06(0x361)]({'metadata':void 0x0},{'unitID':_0x18c746,'type':_0x1bf3ef,'from':_0x87f4ee,'to':_0x369845}))[_0x51de06(0x249)];}};Vt=Mr([Ue(0x0,_0x22fd22(_0x159af1)),Ue(0x1,_0x22fd22(_0x9b2c39)),Ue(0x2,_0x1c1cc7),Ue(0x3,_0x3e2fe0),Ue(0x4,_0x50de4a)],Vt);const $r=_0x16ccb4(0x17f);function Hr(_0x5f5250){var _0x5a0963=_0x16ccb4;return JSON[_0x5a0963(0x20a)](_0x5f5250)[_0x5a0963(0x31d)];}class Ti{constructor(){var _0x5d1b32=_0x16ccb4;N(this,_0x5d1b32(0x3eb),new _0x21446f()),N(this,_0x5d1b32(0x143),this['_commentUpdate$'][_0x5d1b32(0x2f8)]());}[_0x16ccb4(0x2ea)](_0x2c0aaf){var _0x45b53c=_0x16ccb4;this['_commentUpdate$'][_0x45b53c(0x3f7)](_0x2c0aaf);}}var Br=Object[_0x16ccb4(0x1ed)],jr=(_0x118c87,_0x21d261,_0x1766f5,_0x32f9b5)=>{var _0x56a771=_0x16ccb4;for(var _0x3ea5ea=_0x32f9b5>0x1?void 0x0:_0x32f9b5?Br(_0x21d261,_0x1766f5):_0x21d261,_0x5288cd=_0x118c87[_0x56a771(0x31d)]-0x1,_0x12f475;_0x5288cd>=0x0;_0x5288cd--)(_0x12f475=_0x118c87[_0x5288cd])&&(_0x3ea5ea=_0x12f475(_0x3ea5ea)||_0x3ea5ea);return _0x3ea5ea;},Wt=(_0xe22c1a,_0x30df58)=>(_0x251d3d,_0xd39c11)=>_0x30df58(_0x251d3d,_0xd39c11,_0xe22c1a);let xe=class extends _0x3972d8{constructor(_0x98212c,_0x25f94e){var _0x4d12c9=_0x16ccb4;super(),N(this,_0x4d12c9(0x27e),new Map()),N(this,_0x4d12c9(0x3ce),new _0x21446f()),(this[_0x4d12c9(0x336)]=_0x98212c,this['_userManagerService']=_0x25f94e,this[_0x4d12c9(0x32a)](_0x2c880e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x14257c[_0x4d12c9(0x2ac)])[_0x4d12c9(0x1f5)](_0x275cdc(_0x4513ee=>_0x4513ee['getUnitId']())),this[_0x4d12c9(0x336)][_0x4d12c9(0x281)](_0x14257c[_0x4d12c9(0x1bc)])['pipe'](_0x275cdc(_0x1da807=>_0x1da807[_0x4d12c9(0x2d4)]())),this[_0x4d12c9(0x336)]['getTypeOfUnitDisposed$'](_0x14257c['UNIVER_SLIDE'])[_0x4d12c9(0x1f5)](_0x275cdc(_0x5dd0e5=>_0x5dd0e5[_0x4d12c9(0x2d4)]())))[_0x4d12c9(0x3e5)](_0x4ce83b=>this['_removeRoom'](_0x4ce83b))));}[_0x16ccb4(0x189)](_0x15ba5c){var _0x1ddaea=_0x16ccb4;return this['_roomMembers'][_0x1ddaea(0x3ad)](_0x15ba5c)?_0x3ac148(this['_roomMembers']['get'](_0x15ba5c)):this['_roomCreated$'][_0x1ddaea(0x1f5)](_0x275cdc(_0x113c42=>{var _0x111db3=_0x1ddaea;if(_0x113c42===_0x15ba5c)return this[_0x111db3(0x27e)][_0x111db3(0x2be)](_0x113c42);}));}[_0x16ccb4(0x366)](_0x325d0c){this['_userManagerService']['setCurrentUser'](_0x325d0c);}['getCurrentUser'](){var _0x32c7be=_0x16ccb4;return this['_userManagerService'][_0x32c7be(0x1b3)]();}[_0x16ccb4(0x2af)](_0xc68357,_0x56e0b2){var _0x35620c=_0x16ccb4;let _0x34b290=this[_0x35620c(0x27e)][_0x35620c(0x2be)](_0xc68357);_0x34b290||(_0x34b290=new Fr(),this[_0x35620c(0x27e)][_0x35620c(0x3b5)](_0xc68357,_0x34b290),this[_0x35620c(0x3ce)][_0x35620c(0x3f7)](_0xc68357)),_0x34b290[_0x35620c(0x2af)](_0x56e0b2);}[_0x16ccb4(0x2cb)](_0x25c932,_0x13b5a7){var _0x5c76cf=_0x16ccb4;const _0x161a0d=this[_0x5c76cf(0x27e)][_0x5c76cf(0x2be)](_0x25c932);_0x161a0d&&_0x161a0d[_0x5c76cf(0x2cb)](_0x13b5a7);}[_0x16ccb4(0x22e)](_0x46be2e){var _0x1fdcd3=_0x16ccb4;return this[_0x1fdcd3(0x27e)][_0x1fdcd3(0x2be)](_0x46be2e);}[_0x16ccb4(0x375)](_0xc240a6,_0x4e24be){var _0x43fbc3=_0x16ccb4;const _0x15ee0e=this['_roomMembers']['get'](_0xc240a6);if(_0x15ee0e)return _0x15ee0e[_0x43fbc3(0x375)](_0x4e24be);}['_removeRoom'](_0x3eb7b4){var _0x2829d3=_0x16ccb4;const _0x14fde6=this['_roomMembers']['get'](_0x3eb7b4);_0x14fde6&&(_0x14fde6[_0x2829d3(0x1d4)](),this[_0x2829d3(0x27e)]['delete'](_0x3eb7b4));}[_0x16ccb4(0x1d4)](){var _0x4ced25=_0x16ccb4;this[_0x4ced25(0x27e)][_0x4ced25(0x296)](_0x3deb4b=>_0x3deb4b[_0x4ced25(0x1d4)]()),this[_0x4ced25(0x27e)][_0x4ced25(0x1b2)](),this[_0x4ced25(0x3ce)][_0x4ced25(0x278)]();}};xe=jr([Wt(0x0,_0x1e29c1),Wt(0x1,_0x22fd22(_0x4a263d))],xe);class Fr extends _0x3972d8{constructor(){var _0x4e081d=_0x16ccb4;super(...arguments),N(this,_0x4e081d(0x134),new Map()),N(this,_0x4e081d(0x157),new _0x5c270b(this[_0x4e081d(0x134)])),N(this,_0x4e081d(0x2f0),this[_0x4e081d(0x157)][_0x4e081d(0x2f8)]());}['dispose'](){var _0xd88e5d=_0x16ccb4;this[_0xd88e5d(0x134)][_0xd88e5d(0x1b2)]();}['updateMember'](_0x842e2b){var _0x4e2560=_0x16ccb4;this['_members'][_0x4e2560(0x3b5)](_0x842e2b[_0x4e2560(0x404)],_0x842e2b),this[_0x4e2560(0x32d)]();}[_0x16ccb4(0x2cb)](_0x44b7cd){var _0x333684=_0x16ccb4;this[_0x333684(0x134)][_0x333684(0x2d0)](_0x44b7cd);}[_0x16ccb4(0x375)](_0x354911){var _0x327b7c=_0x16ccb4;return this[_0x327b7c(0x134)]['get'](_0x354911);}['getAllMembers'](){var _0x4c9eff=_0x16ccb4;return Array['from'](this[_0x4c9eff(0x134)][_0x4c9eff(0x1ce)]());}[_0x16ccb4(0x32d)](){var _0x2f655e=_0x16ccb4;this['_members$'][_0x2f655e(0x3f7)](this[_0x2f655e(0x134)]);}}var Gr=Object['getOwnPropertyDescriptor'],Vr=(_0x1e6e2d,_0x4414c0,_0x15bd63,_0x4c9d64)=>{var _0x4eddab=_0x16ccb4;for(var _0x1dc030=_0x4c9d64>0x1?void 0x0:_0x4c9d64?Gr(_0x4414c0,_0x15bd63):_0x4414c0,_0x2a8eba=_0x1e6e2d[_0x4eddab(0x31d)]-0x1,_0x24bb31;_0x2a8eba>=0x0;_0x2a8eba--)(_0x24bb31=_0x1e6e2d[_0x2a8eba])&&(_0x1dc030=_0x24bb31(_0x1dc030)||_0x1dc030);return _0x1dc030;},me=(_0x532d82,_0x59c8a7)=>(_0x342388,_0x27bf91)=>_0x59c8a7(_0x342388,_0x27bf91,_0x532d82),Ee=(_0x5c55b0=>(_0x5c55b0[_0x5c55b0['IDLE']=0x0]=_0x16ccb4(0x291),_0x5c55b0[_0x5c55b0[_0x16ccb4(0x185)]=0x1]=_0x16ccb4(0x185),_0x5c55b0[_0x5c55b0[_0x16ccb4(0x3a4)]=0x2]=_0x16ccb4(0x3a4),_0x5c55b0[_0x5c55b0['ONLINE']=0x3]='ONLINE',_0x5c55b0))(Ee||{});const Kt={[ge[_0x16ccb4(0x328)]]:_0x16ccb4(0x3d7),[ge[_0x16ccb4(0x315)]]:_0x16ccb4(0x3d5),[ge[_0x16ccb4(0x19f)]]:_0x16ccb4(0x3f4),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x16ccb4(0x2b0),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x16ccb4(0x2c0)};let Et=class extends _0x58c729{constructor(_0x3fe085,_0x5601e2,_0x45cd04,_0x49cb29,_0x3ac7d4,_0x173afc,_0x3a1bd0,_0x8cc9da,_0x5b87b2){var _0x3efcfb=_0x16ccb4;super(),N(this,_0x3efcfb(0x230),new _0x5c270b(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x3efcfb(0x2f8)]()),N(this,_0x3efcfb(0x226),new _0x21446f()),N(this,_0x3efcfb(0x317),this[_0x3efcfb(0x226)][_0x3efcfb(0x2f8)]()),N(this,_0x3efcfb(0x33f)),N(this,_0x3efcfb(0x2cd)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x3efcfb(0x19b),null),(this[_0x3efcfb(0x253)]=_0x3fe085,this['_logService']=_0x45cd04,this[_0x3efcfb(0x17a)]=_0x49cb29,this[_0x3efcfb(0x429)]=_0x3ac7d4,this[_0x3efcfb(0x3e4)]=_0x173afc,this[_0x3efcfb(0x33c)]=_0x3a1bd0,this[_0x3efcfb(0x167)]=_0x8cc9da,this[_0x3efcfb(0x1b7)]=_0x5b87b2,this['_shouldReportTelemetry']=!!this[_0x3efcfb(0x1b7)],_0x5601e2['pipe'](_0x41d697(this['dispose$']))['subscribe'](_0x1e6609=>{var _0x532ded=_0x3efcfb,_0xc17450;typeof _0x1e6609>'u'||(this[_0x532ded(0x33f)]=_0x1e6609,_0x1e6609?(this[_0x532ded(0x1ad)](_0x1e6609),this[_0x532ded(0x2cd)]=_0x1e6609[_0x532ded(0x1af)][_0x532ded(0x3e5)](_0x37a2e3=>{var _0x495aa4=_0x532ded;_0x37a2e3['routeKey']===this['_unitID']&&this[_0x495aa4(0x216)](_0x37a2e3);})):(this[_0x532ded(0x320)](),this[_0x532ded(0x230)]['next'](0x2),(_0xc17450=this[_0x532ded(0x2cd)])==null||_0xc17450[_0x532ded(0x1b4)](),this[_0x532ded(0x2cd)]=null));}));}get[_0x16ccb4(0x21b)](){var _0x2d2fa9=_0x16ccb4;return this[_0x2d2fa9(0x230)]['getValue']();}['getMemberID'](){var _0xfbcd45=_0x16ccb4,_0x34fe44,_0x437e65;return(_0x437e65=(_0x34fe44=this[_0xfbcd45(0x33f)])==null?void 0x0:_0x34fe44[_0xfbcd45(0x404)])!=null?_0x437e65:null;}[_0x16ccb4(0x1d4)](){var _0x139cdc=_0x16ccb4;super[_0x139cdc(0x1d4)](),this['dispose$'][_0x139cdc(0x3f7)](),this['dispose$'][_0x139cdc(0x278)]();}[_0x16ccb4(0x368)](){var _0x1c0383=_0x16ccb4,_0x269b31,_0x3e4dae;this[_0x1c0383(0x320)](),(_0x269b31=this[_0x1c0383(0x33f)])==null||_0x269b31[_0x1c0383(0x235)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x3e4dae=this[_0x1c0383(0x33f)])==null||_0x3e4dae['close'](),this[_0x1c0383(0x226)][_0x1c0383(0x278)](),this[_0x1c0383(0x230)][_0x1c0383(0x278)](),this[_0x1c0383(0x1d4)]();}[_0x16ccb4(0x216)](_0x4f940b){var _0x2329e3=_0x16ccb4;_0x4f940b['cmd']===F[_0x2329e3(0x3d1)]?this[_0x2329e3(0x3bc)](_0x4f940b):_0x4f940b['cmd']===F[_0x2329e3(0x20f)]&&this[_0x2329e3(0x130)](_0x4f940b);}[_0x16ccb4(0x1ad)](_0x2e15fd){var _0x434728=_0x16ccb4;this['_sessionStatus$'][_0x434728(0x3f7)](0x1),_0x2e15fd['send']({'cmd':F[_0x434728(0x3d1)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x434728(0x253)]}]}});}[_0x16ccb4(0x3bc)](_0xf399ef){var _0x23b24a=_0x16ccb4,_0x174200;if(_0xf399ef[_0x23b24a(0x26a)]in Kt){this[_0x23b24a(0x167)]['emitEvent']({'id':se[_0x23b24a(0x31c)],'data':Kt[_0xf399ef['code']]}),this[_0x23b24a(0x230)]['next'](0x2);return;}this[_0x23b24a(0x230)][_0x23b24a(0x3f7)](0x3);const _0x8f9362=(_0x174200=_0xf399ef['data'][_0x23b24a(0x3c5)][this['_unitID']])==null?void 0x0:_0x174200[_0x23b24a(0x1ef)];_0x8f9362&&_0x8f9362[_0x23b24a(0x296)](_0x17c662=>this[_0x23b24a(0x3e4)][_0x23b24a(0x2af)](this['_unitID'],_0x17c662));}[_0x16ccb4(0x130)](_0x401b97){var _0x35ab36=_0x16ccb4;try{const _0x363818=_0x401b97[_0x35ab36(0x2c7)];switch(_0x363818[_0x35ab36(0x15d)]){case _0x8288a1['USERS_ENTER']:this[_0x35ab36(0x397)](_0x363818),this[_0x35ab36(0x226)][_0x35ab36(0x3f7)](_0x363818);break;case _0x8288a1[_0x35ab36(0x1e5)]:this[_0x35ab36(0x27a)](_0x363818),this[_0x35ab36(0x226)][_0x35ab36(0x3f7)](_0x363818);break;case _0x8288a1[_0x35ab36(0x390)]:case _0x8288a1[_0x35ab36(0x224)]:this[_0x35ab36(0x29a)](),this[_0x35ab36(0x19d)](),this[_0x35ab36(0x226)][_0x35ab36(0x3f7)](_0x363818);break;case _0x8288a1['MSG_FOR_ERROR']:this[_0x35ab36(0x3d9)][_0x35ab36(0x34e)](_0x35ab36(0x3b3)+JSON[_0x35ab36(0x20a)](_0x363818)),this['_event$']['next'](_0x363818);break;case _0x8288a1['COMMENT_UPDATE']:this[_0x35ab36(0x33c)][_0x35ab36(0x2ea)](_0x363818[_0x35ab36(0x2c7)]),this[_0x35ab36(0x226)][_0x35ab36(0x3f7)](_0x363818);break;default:this[_0x35ab36(0x226)][_0x35ab36(0x3f7)](_0x363818);}}catch(_0x534f08){this[_0x35ab36(0x3d9)][_0x35ab36(0x34e)](_0x534f08,_0x401b97);}}[_0x16ccb4(0x397)](_0x10b067){var _0x5cd6be=_0x16ccb4;this['_memberService']['updateMember'](this[_0x5cd6be(0x253)],_0x10b067[_0x5cd6be(0x2c7)]);}[_0x16ccb4(0x27a)](_0x2de180){var _0x4de8ed=_0x16ccb4;this[_0x4de8ed(0x3e4)][_0x4de8ed(0x2cb)](this[_0x4de8ed(0x253)],_0x2de180['data'][_0x4de8ed(0x404)]);}async[_0x16ccb4(0x235)](_0x2b0242,_0x482fac){var _0x550629=_0x16ccb4;if(this[_0x550629(0x21b)]!==0x3||!this[_0x550629(0x33f)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2b0242[_0x550629(0x15d)]===_0x8288a1[_0x550629(0x193)]&&(this[_0x550629(0x16f)](),this[_0x550629(0x196)](_0x2b0242)),this['_socket'][_0x550629(0x235)]({'cmd':F[_0x550629(0x351)],'routeKey':_0x482fac,'routeType':'','data':_0x2b0242});}catch(_0x1cc3e9){this['_logService'][_0x550629(0x34e)](_0x1cc3e9);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2b9661=_0x16ccb4,_0x2499cf;this[_0x2b9661(0x26b)]=setTimeout(()=>{var _0x45ab4b=_0x2b9661;this[_0x45ab4b(0x26b)]=null,this[_0x45ab4b(0x167)][_0x45ab4b(0x36d)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2499cf=this[_0x2b9661(0x17a)]['getConfig'](mi))!=null?_0x2499cf:gi);}['_clearCollaborationTimeoutTimer'](){var _0xa39459=_0x16ccb4;this[_0xa39459(0x26b)]&&(clearTimeout(this[_0xa39459(0x26b)]),this['_collaborationTimeoutTimer']=null);}[_0x16ccb4(0x196)](_0x21e493){var _0x21d45f=_0x16ccb4;if(!this[_0x21d45f(0x423)])return;const {data:_0x77a6c0}=_0x21e493,{unitID:_0x32e85e,changeset:_0x11904}=_0x77a6c0,{mutations:_0x98f92a,type:_0x2337c5}=_0x11904;this[_0x21d45f(0x19b)]={'unitId':_0x32e85e,'type':_0x2337c5,'startTime':performance[_0x21d45f(0x2b2)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x98f92a)};}[_0x16ccb4(0x29a)](){var _0x2aeacf=_0x16ccb4;if(this[_0x2aeacf(0x423)]){if(!this[_0x2aeacf(0x19b)]){this[_0x2aeacf(0x3d9)][_0x2aeacf(0x34e)](_0x2aeacf(0x32b),_0x2aeacf(0x2cc));return;}this['_telemetryInfo'][_0x2aeacf(0x285)]=performance[_0x2aeacf(0x2b2)](),this[_0x2aeacf(0x19b)]['duration']=this['_telemetryInfo']['stopTime']-this[_0x2aeacf(0x19b)][_0x2aeacf(0x242)],this['_telemetryService'][_0x2aeacf(0x255)]($r,this['_telemetryInfo']),this[_0x2aeacf(0x19b)]=null;}}[_0x16ccb4(0x320)](){var _0x4ddf1d=_0x16ccb4;this[_0x4ddf1d(0x19b)]=null;}};Et=Vr([me(0x2,_0x3e2fe0),me(0x3,_0x1c1cc7),me(0x4,_0x22fd22(_0x398bdd)),me(0x5,_0x22fd22(xe)),me(0x6,_0x22fd22(Ti)),me(0x7,_0x22fd22(pe)),me(0x8,_0x2f418b(_0xc5cf7b))],Et);var Wr=Object[_0x16ccb4(0x1ed)],Kr=(_0x2a1d7f,_0x48d0f0,_0x12d91c,_0x41c5f4)=>{var _0x14d8c9=_0x16ccb4;for(var _0x5e8a29=_0x41c5f4>0x1?void 0x0:_0x41c5f4?Wr(_0x48d0f0,_0x12d91c):_0x48d0f0,_0x4ef8e5=_0x2a1d7f[_0x14d8c9(0x31d)]-0x1,_0x30d08f;_0x4ef8e5>=0x0;_0x4ef8e5--)(_0x30d08f=_0x2a1d7f[_0x4ef8e5])&&(_0x5e8a29=_0x30d08f(_0x5e8a29)||_0x5e8a29);return _0x5e8a29;},be=(_0x4e145a,_0x4fd91e)=>(_0x2d00c7,_0x371363)=>_0x4fd91e(_0x2d00c7,_0x371363,_0x4e145a);let Le=class extends _0x3972d8{constructor(_0x211c8f,_0x599289,_0x2ebbfe,_0x4e169f,_0x93b6ce,_0x5df58c){var _0x23b4d1=_0x16ccb4;super(),N(this,_0x23b4d1(0x411),new _0x5c270b(void 0x0)),N(this,_0x23b4d1(0x276),this[_0x23b4d1(0x411)][_0x23b4d1(0x2f8)]()),N(this,_0x23b4d1(0x2ef),null),N(this,_0x23b4d1(0x345),new Map()),N(this,_0x23b4d1(0x158),new _0x5c270b(Ee[_0x23b4d1(0x291)])),N(this,_0x23b4d1(0x341),this[_0x23b4d1(0x158)][_0x23b4d1(0x2f8)]()),N(this,_0x23b4d1(0x421),!0x1),N(this,_0x23b4d1(0x1dc)),N(this,_0x23b4d1(0x1fb),0x0),N(this,_0x23b4d1(0x2f4)),N(this,_0x23b4d1(0x175)),(this['_injector']=_0x211c8f,this['_logService']=_0x599289,this['_configService']=_0x2ebbfe,this['_socketService']=_0x4e169f,this[_0x23b4d1(0x167)]=_0x93b6ce,this[_0x23b4d1(0x409)]=_0x5df58c,this[_0x23b4d1(0x1b6)]());}get[_0x16ccb4(0x33f)](){var _0x1a982d=_0x16ccb4;return this[_0x1a982d(0x411)][_0x1a982d(0x24d)]();}[_0x16ccb4(0x1b6)](){var _0x1e5543=_0x16ccb4;this[_0x1e5543(0x409)]&&this[_0x1e5543(0x32a)](this[_0x1e5543(0x409)]['online$']['subscribe'](_0x535cbe=>{var _0x9a9ef6=_0x1e5543;_0x535cbe&&!this[_0x9a9ef6(0x33f)]&&this[_0x9a9ef6(0x200)](),_0x535cbe||this[_0x9a9ef6(0x41b)]();}));}['dispose'](){var _0x142c5f=_0x16ccb4;super[_0x142c5f(0x1d4)](),this[_0x142c5f(0x1aa)](),this[_0x142c5f(0x307)](),this[_0x142c5f(0x148)](),this[_0x142c5f(0x345)][_0x142c5f(0x296)](_0xe6c828=>_0xe6c828['dispose']()),this[_0x142c5f(0x345)][_0x142c5f(0x1b2)](),this[_0x142c5f(0x158)][_0x142c5f(0x278)]();}async[_0x16ccb4(0x300)](_0x348bba){var _0x35acc=_0x16ccb4;if(this[_0x35acc(0x345)]['has'](_0x348bba))return this[_0x35acc(0x345)]['get'](_0x348bba);this[_0x35acc(0x1e9)]();const _0x44aadf=this[_0x35acc(0x412)][_0x35acc(0x2fc)](Et,_0x348bba,this[_0x35acc(0x411)][_0x35acc(0x2f8)]());return this['_sessions'][_0x35acc(0x3b5)](_0x348bba,_0x44aadf),_0x44aadf;}[_0x16ccb4(0x2a7)](_0x5c5453){var _0xb8a9ed=_0x16ccb4,_0x4161f1;const _0x38ed6c=this[_0xb8a9ed(0x345)][_0xb8a9ed(0x2be)](_0x5c5453);_0x38ed6c&&(this[_0xb8a9ed(0x345)][_0xb8a9ed(0x2d0)](_0x5c5453),_0x38ed6c['close']()),this['_sessions'][_0xb8a9ed(0x3ab)]||(_0x4161f1=this[_0xb8a9ed(0x33f)])==null||_0x4161f1[_0xb8a9ed(0x368)]();}[_0x16ccb4(0x200)](){var _0x158d87=_0x16ccb4;this['_retryCount']=0x0,this[_0x158d87(0x1aa)](),this[_0x158d87(0x39d)]();}[_0x16ccb4(0x1aa)](){var _0x45d2da=_0x16ccb4;this[_0x45d2da(0x1dc)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x45d2da(0x1dc)]=null);}async[_0x16ccb4(0x406)](){var _0x4eac6c=_0x16ccb4,_0x2d1cae,_0x5adcc3;const _0x5cba3f=this[_0x4eac6c(0x17a)]['getConfig'](Er),_0x433f74=this[_0x4eac6c(0x17a)][_0x4eac6c(0x346)](q),_0x2ff964=(_0x5adcc3=(_0x2d1cae=_0x433f74==null?void 0x0:_0x433f74[_0x4eac6c(0x3e9)])!=null?_0x2d1cae:_0x5cba3f)!=null?_0x5adcc3:Ir,_0x5c5ee7=await this['_socketService'][_0x4eac6c(0x15b)](_0x2ff964);return this[_0x4eac6c(0x2ef)]=_0x5c5ee7,_0x5c5ee7;}async['_tryEnsureSocket'](){var _0x3a341c=_0x16ccb4,_0x131582,_0x172cdf;try{const _0x5be22a=(_0x172cdf=(_0x131582=this[_0x3a341c(0x33f)])!=null?_0x131582:this[_0x3a341c(0x2ef)])!=null?_0x172cdf:await this[_0x3a341c(0x406)]();if(_0x5be22a){const _0x41fdea=_0x5be22a[_0x3a341c(0x235)];_0x5be22a['send']=_0x194f16=>(this['_rescheduleHeartbeat'](),_0x41fdea[_0x3a341c(0x1e8)](_0x5be22a,[_0x194f16])),_0x5be22a[_0x3a341c(0x1af)][_0x3a341c(0x3e5)](_0x43a664=>this[_0x3a341c(0x3ae)](_0x5be22a,_0x43a664)),_0x5be22a[_0x3a341c(0x34f)][_0x3a341c(0x1f5)](_0x5bfa20(0x1))[_0x3a341c(0x3e5)](_0x102d7d=>this[_0x3a341c(0x3d9)][_0x3a341c(0x34e)](_0x3a341c(0x30b),_0x102d7d)),_0x5be22a[_0x3a341c(0x321)][_0x3a341c(0x1f5)](_0x5bfa20(0x1))[_0x3a341c(0x3e5)](()=>{this['_onConnectionOpen'](_0x5be22a);}),_0x5be22a[_0x3a341c(0x169)][_0x3a341c(0x1f5)](_0x5bfa20(0x1))[_0x3a341c(0x3e5)](_0x1caf6a=>{var _0x5077b9=_0x3a341c;this[_0x5077b9(0x3d9)]['debug'](_0x5077b9(0x1da),_0x5077b9(0x2f5),_0x1caf6a),this['_onConnectionFailed']();});}}catch(_0x18c905){this[_0x3a341c(0x3d9)][_0x3a341c(0x34e)](_0x18c905),this[_0x3a341c(0x1a3)]();}}[_0x16ccb4(0x26d)](_0x23654a){var _0x7ba03a=_0x16ccb4;this['_logService'][_0x7ba03a(0x1d9)](_0x7ba03a(0x1da),'socket\x20open.'),_0x23654a['send']({'cmd':F[_0x7ba03a(0x40f)]}),this[_0x7ba03a(0x19e)]();}[_0x16ccb4(0x41b)](){var _0xcaa18f=_0x16ccb4;this[_0xcaa18f(0x421)]=!0x1,this[_0xcaa18f(0x2ef)]=null,this['_status$']['next'](Ee[_0xcaa18f(0x3a4)]),this['_socket$'][_0xcaa18f(0x3f7)](null),this[_0xcaa18f(0x307)](),this[_0xcaa18f(0x148)]();}['_onConnectionFailed'](){var _0x31c255=_0x16ccb4,_0x170e1c;this['_onOffline'](),this[_0x31c255(0x1fb)]<((_0x170e1c=this[_0x31c255(0x17a)][_0x31c255(0x346)](br))!=null?_0x170e1c:yr)?(this[_0x31c255(0x167)]['emitEvent']({'id':se[_0x31c255(0x388)]}),this[_0x31c255(0x39d)]()):this[_0x31c255(0x167)][_0x31c255(0x36d)]({'id':se[_0x31c255(0x22d)]});}['_tryReconnect'](){var _0x10e32a=_0x16ccb4,_0x267578;const _0x4da0e9=this['_retryCount'],_0x51bbc3=this[_0x10e32a(0x17a)][_0x10e32a(0x346)](q),_0xa8bb3=_0x4da0e9===0x0?0x0:((_0x267578=_0x51bbc3==null?void 0x0:_0x51bbc3[_0x10e32a(0x195)])!=null?_0x267578:Rr)*0x2**_0x4da0e9;this[_0x10e32a(0x1dc)]=setTimeout(()=>{var _0xb00d6=_0x10e32a;clearTimeout(this[_0xb00d6(0x1dc)]),this['_retryConnectingTimer']=null,this[_0xb00d6(0x1e9)]();},_0xa8bb3),this['_retryCount']+=0x1;}['_onMessage'](_0x1b85c4,_0x2bc9de){var _0x1d401e=_0x16ccb4;const {cmd:_0x531baf}=_0x2bc9de;_0x531baf===F[_0x1d401e(0x40f)]&&!this[_0x1d401e(0x421)]&&(_0x1b85c4[_0x1d401e(0x404)]=_0x2bc9de[_0x1d401e(0x2c7)]['memberID'],this[_0x1d401e(0x411)][_0x1d401e(0x3f7)](_0x1b85c4),this['_status$'][_0x1d401e(0x3f7)](Ee[_0x1d401e(0x323)]),this[_0x1d401e(0x421)]=!0x0,this[_0x1d401e(0x2ef)]=null),_0x531baf===F['HEARTBEAT']&&this[_0x1d401e(0x307)](),this[_0x1d401e(0x19e)]();}[_0x16ccb4(0x19e)](){var _0x3f4ba5=_0x16ccb4,_0x50868f;this[_0x3f4ba5(0x148)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3f4ba5(0x1c0)](),(_0x50868f=this['_configService'][_0x3f4ba5(0x346)](Tr))!=null?_0x50868f:Cr);}[_0x16ccb4(0x1c0)](){var _0x1227e2=_0x16ccb4;this[_0x1227e2(0x33f)][_0x1227e2(0x235)]({'cmd':F[_0x1227e2(0x1d3)]}),this[_0x1227e2(0x1fe)]();}[_0x16ccb4(0x1fe)](){var _0x136068=_0x16ccb4,_0x3f633a;this[_0x136068(0x175)]=setTimeout(()=>this[_0x136068(0x1a3)](),(_0x3f633a=this[_0x136068(0x17a)][_0x136068(0x346)](mi))!=null?_0x3f633a:gi);}[_0x16ccb4(0x148)](){var _0x4a805a=_0x16ccb4;this[_0x4a805a(0x2f4)]!=null&&(clearTimeout(this[_0x4a805a(0x2f4)]),this[_0x4a805a(0x2f4)]=null);}[_0x16ccb4(0x307)](){var _0xfceb96=_0x16ccb4;this[_0xfceb96(0x175)]!=null&&(clearTimeout(this[_0xfceb96(0x175)]),this['_timeoutTimer']=null);}};Le=Kr([be(0x0,_0x22fd22(_0x159af1)),be(0x1,_0x3e2fe0),be(0x2,_0x1c1cc7),be(0x3,Ii),be(0x4,_0x22fd22(pe)),be(0x5,_0x2f418b(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G[_0x16ccb4(0x33e)]((i+0x100)[_0x16ccb4(0x1bd)](0x10)[_0x16ccb4(0x416)](0x1));function Yr(_0x4b329c,_0x3f684e=0x0){return(G[_0x4b329c[_0x3f684e+0x0]]+G[_0x4b329c[_0x3f684e+0x1]]+G[_0x4b329c[_0x3f684e+0x2]]+G[_0x4b329c[_0x3f684e+0x3]]+'-'+G[_0x4b329c[_0x3f684e+0x4]]+G[_0x4b329c[_0x3f684e+0x5]]+'-'+G[_0x4b329c[_0x3f684e+0x6]]+G[_0x4b329c[_0x3f684e+0x7]]+'-'+G[_0x4b329c[_0x3f684e+0x8]]+G[_0x4b329c[_0x3f684e+0x9]]+'-'+G[_0x4b329c[_0x3f684e+0xa]]+G[_0x4b329c[_0x3f684e+0xb]]+G[_0x4b329c[_0x3f684e+0xc]]+G[_0x4b329c[_0x3f684e+0xd]]+G[_0x4b329c[_0x3f684e+0xe]]+G[_0x4b329c[_0x3f684e+0xf]])['toLowerCase']();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x3d9239=_0x16ccb4;if(!ut){if(typeof crypto>'u'||!crypto[_0x3d9239(0x138)])throw new Error(_0x3d9239(0x2dd));ut=crypto[_0x3d9239(0x138)][_0x3d9239(0x277)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x16ccb4(0x3c4)][_0x16ccb4(0x277)](crypto),Yt={'randomUUID':Jr};function Xr(_0x5f21ef,_0x1914ff,_0x533237){var _0x84db3d=_0x16ccb4,_0x3da16c,_0x26e5cc,_0x179a24;if(Yt[_0x84db3d(0x3c4)]&&!_0x5f21ef)return Yt[_0x84db3d(0x3c4)]();_0x5f21ef=_0x5f21ef||{};const _0x104c73=(_0x179a24=(_0x26e5cc=_0x5f21ef[_0x84db3d(0x422)])!=null?_0x26e5cc:(_0x3da16c=_0x5f21ef[_0x84db3d(0x20c)])==null?void 0x0:_0x3da16c[_0x84db3d(0x188)](_0x5f21ef))!=null?_0x179a24:zr();if(_0x104c73[_0x84db3d(0x31d)]<0x10)throw new Error(_0x84db3d(0x21c));return _0x104c73[0x6]=_0x104c73[0x6]&0xf|0x40,_0x104c73[0x8]=_0x104c73[0x8]&0x3f|0x80,Yr(_0x104c73);}const J=_0x355799(_0x16ccb4(0x403));function Bs(_0x2f248e){var _0x166e70=_0x16ccb4;return _0x166e70(0x3c8)+_0x2f248e;}var Zr=Object[_0x16ccb4(0x1ed)],Qr=(_0x3eadd3,_0x17d9f2,_0x596e07,_0x51da6d)=>{for(var _0x3645bc=_0x51da6d>0x1?void 0x0:_0x51da6d?Zr(_0x17d9f2,_0x596e07):_0x17d9f2,_0x4740f4=_0x3eadd3['length']-0x1,_0x10a7d9;_0x4740f4>=0x0;_0x4740f4--)(_0x10a7d9=_0x3eadd3[_0x4740f4])&&(_0x3645bc=_0x10a7d9(_0x3645bc)||_0x3645bc);return _0x3645bc;},dt=(_0x54369d,_0x3cf22a)=>(_0x3b03c7,_0x2a8fb9)=>_0x3cf22a(_0x3b03c7,_0x2a8fb9,_0x54369d);function en(_0x38f457){var _0x5bb196=_0x16ccb4;const {unitID:_0x3bca12,mutations:_0xdda075}=_0x38f457;return{'unitId':_0x3bca12,'subUnitId':_0xdda075[0x0][_0x5bb196(0x27c)][_0x5bb196(0x174)]};}let it=class{constructor(_0x5e39b1,_0x2b64fe,_0x5f0552){var _0x59e5f3=_0x16ccb4;this[_0x59e5f3(0x412)]=_0x5e39b1,this[_0x59e5f3(0x1e4)]=_0x2b64fe,this['_instanceService']=_0x5f0552;}[_0x16ccb4(0x247)](_0x516fbd){var _0xb935cd=_0x16ccb4,_0x4416b8,_0x4ccea7,_0x32f6e8,_0x376a9d;const _0x11e76d=this[_0xb935cd(0x412)][_0xb935cd(0x2be)](_0x25ed09),{unitId:_0x3cbbf7,subUnitId:_0x367dae}=en(_0x516fbd),_0x393dec=_0x11e76d==null?void 0x0:_0x11e76d['getWorkbookSelections'](_0x3cbbf7)[_0xb935cd(0x145)](),_0x44553b=(_0x4ccea7=(_0x4416b8=this[_0xb935cd(0x35e)][_0xb935cd(0x387)](_0x3cbbf7))==null?void 0x0:_0x4416b8[_0xb935cd(0x215)]())==null?void 0x0:_0x4ccea7['getSheetId']();if(_0x393dec[_0xb935cd(0x31d)]===0x0||!_0x3cbbf7||!_0x367dae)return;const _0x1ec77a=[{'id':_0x490de5['id'],'params':{'unitId':_0x3cbbf7,'subUnitId':_0x44553b,'selections':_0x2952e2[_0xb935cd(0x2de)](_0x393dec)}}],_0x13ef68=this[_0xb935cd(0x1e4)][_0xb935cd(0x256)](_0x516fbd,_0x1ec77a);if(!_0x3db925(_0x13ef68))throw _0x13ef68[_0xb935cd(0x34e)];const _0x38020c=(_0x376a9d=(_0x32f6e8=_0x13ef68[_0xb935cd(0x1db)][0x0])==null?void 0x0:_0x32f6e8[_0xb935cd(0x27c)])==null?void 0x0:_0x376a9d['selections'];if(Array[_0xb935cd(0x25e)](_0x38020c)&&_0x38020c[_0xb935cd(0x31d)]){if(_0x38020c[_0xb935cd(0x31d)]===_0x1ec77a[0x0][_0xb935cd(0x27c)][_0xb935cd(0x36e)][_0xb935cd(0x31d)]&&_0x38020c[_0xb935cd(0x377)]((_0x35f09f,_0x23c439)=>_0x5681db[_0xb935cd(0x222)](_0x35f09f[_0xb935cd(0x3dc)],_0x1ec77a[0x0][_0xb935cd(0x27c)][_0xb935cd(0x36e)][_0x23c439][_0xb935cd(0x3dc)])))return;this['_injector'][_0xb935cd(0x2be)](_0x4b595d)['executeCommand'](_0x490de5['id'],{'unitId':_0x3cbbf7,'subUnitId':_0x44553b,'selections':_0x38020c});}}};it=Qr([dt(0x0,_0x22fd22(_0x159af1)),dt(0x1,_0x79664f),dt(0x2,_0x1e29c1)],it);const ht=_0x355799(_0x16ccb4(0x252));var Ci=(_0x443eee=>(_0x443eee[_0x443eee[_0x16ccb4(0x1be)]=0x0]=_0x16ccb4(0x1be),_0x443eee[_0x443eee['OTHER_CLIENTS_EDITING']=0x1]=_0x16ccb4(0x273),_0x443eee))(Ci||{});const tn=new Set([_0x389cd6['id']]);function qt(_0x47525a,_0x15b5ad,_0x55adea,_0x3efa74,_0x1bf1b1){var _0xbdfb4e=_0x16ccb4,_0x2ba0bc,_0x24ca7f,_0x5e6576,_0x3f13bf;const _0x51a5c8=[];for(const _0x18fc31 of _0x47525a)if(tn[_0xbdfb4e(0x3ad)](_0x18fc31['id'])){if(_0x51a5c8[_0xbdfb4e(0x31d)]>0x0)break;_0x51a5c8['push'](_0x18fc31);break;}else _0x51a5c8[_0xbdfb4e(0x33e)](_0x18fc31);const _0x51e749=(_0x24ca7f=(_0x2ba0bc=_0x1bf1b1[_0xbdfb4e(0x1b3)]())==null?void 0x0:_0x2ba0bc[_0xbdfb4e(0x1d6)])!=null?_0x24ca7f:_0xbdfb4e(0x131),_0x1ab7b9=(_0x3f13bf=(_0x5e6576=_0x1bf1b1[_0xbdfb4e(0x1b3)]())==null?void 0x0:_0x5e6576[_0xbdfb4e(0x404)])!=null?_0x3f13bf:_0xbdfb4e(0x131);return{'changeset':{'unitID':_0x15b5ad,'type':_0x3e4bd1(_0x55adea[_0xbdfb4e(0x2aa)](_0x15b5ad)),'baseRev':_0x3efa74['getCurrentRevOfUnit'](_0x15b5ad),'revision':0x0,'userID':_0x51e749,'memberID':_0x1ab7b9,'mutations':_0x51a5c8},'pendingMutations':_0x47525a[_0xbdfb4e(0x416)](_0x51a5c8['length'])};}function rn(_0xb69fb6,_0x2d62aa,_0x2d37f2,_0x25ec2a,_0x5132fc){var _0x862a74=_0x16ccb4,_0x232774,_0x29e080,_0x197488,_0x493fa9;const _0x4408cc=[_0xb69fb6[_0x862a74(0x2b1)]((_0x40fc6b,_0x3f9f4c)=>{var _0x56516a=_0x862a74,_0x48bad5;const {id:_0x5dbd34}=_0x40fc6b,{id:_0x37ee70,type:_0xedccc9}=_0x3f9f4c,_0x594553=(_0x48bad5=_0x40fc6b[_0x56516a(0x27c)])!=null?_0x48bad5:{'actions':null},_0x5acec4=_0x3f9f4c['params'];if(_0x5dbd34&&_0x5dbd34!==_0x37ee70)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5dbd34+_0x56516a(0x1b0)+_0x37ee70+'.');return{..._0x40fc6b,'id':_0x37ee70,'type':_0xedccc9,'params':{'unitId':_0x5acec4[_0x56516a(0x38f)],'textRanges':_0x5acec4[_0x56516a(0x236)],'actions':_0x6618a6['compose'](_0x594553['actions'],_0x5acec4[_0x56516a(0x1cb)])}};},{})],_0x549903=(_0x29e080=(_0x232774=_0x5132fc['getCurrentUser']())==null?void 0x0:_0x232774['userID'])!=null?_0x29e080:_0x862a74(0x131),_0x541a48=(_0x493fa9=(_0x197488=_0x5132fc[_0x862a74(0x1b3)]())==null?void 0x0:_0x197488[_0x862a74(0x404)])!=null?_0x493fa9:_0x862a74(0x131);return{'changeset':{'unitID':_0x2d62aa,'type':_0x3e4bd1(_0x2d37f2[_0x862a74(0x2aa)](_0x2d62aa)),'baseRev':_0x25ec2a['getCurrentRevOfUnit'](_0x2d62aa),'revision':0x0,'userID':_0x549903,'memberID':_0x541a48,'mutations':_0x4408cc},'pendingMutations':[]};}function Ri(_0x52db27,_0x2171f5){var _0x1ad9ef=_0x16ccb4;const _0x23a2ed=new _0x2b930a(0x1);return setTimeout(()=>_0x23a2ed[_0x1ad9ef(0x3f7)](_0x2171f5),_0x52db27),_0x23a2ed[_0x1ad9ef(0x2f8)]()[_0x1ad9ef(0x1f5)](_0x4bc8d4(0x1));}const nn={'id':_0x5d708a['id'],'type':_0xfe5fdf['MUTATION'],'params':{}};var sn=Object[_0x16ccb4(0x1ed)],Te=(_0x13ddde,_0xb04805,_0x1f02f1,_0x39c8e0)=>{var _0x55aaf3=_0x16ccb4;for(var _0x582bef=_0x39c8e0>0x1?void 0x0:_0x39c8e0?sn(_0xb04805,_0x1f02f1):_0xb04805,_0xd46019=_0x13ddde[_0x55aaf3(0x31d)]-0x1,_0x4f4c8b;_0xd46019>=0x0;_0xd46019--)(_0x4f4c8b=_0x13ddde[_0xd46019])&&(_0x582bef=_0x4f4c8b(_0x582bef)||_0x582bef);return _0x582bef;},P=(_0x567cd5,_0x41b782)=>(_0x237149,_0x49fd98)=>_0x41b782(_0x237149,_0x49fd98,_0x567cd5),bi=(_0x3062dc=>(_0x3062dc['NOT_COLLAB']='not_collab',_0x3062dc[_0x16ccb4(0x2f9)]='synced',_0x3062dc[_0x16ccb4(0x31e)]='pending',_0x3062dc[_0x16ccb4(0x211)]='awaiting',_0x3062dc[_0x16ccb4(0x30c)]=_0x16ccb4(0x212),_0x3062dc[_0x16ccb4(0x35d)]=_0x16ccb4(0x243),_0x3062dc[_0x16ccb4(0x28f)]=_0x16ccb4(0x380),_0x3062dc[_0x16ccb4(0x3a4)]=_0x16ccb4(0x418),_0x3062dc))(bi||{});const yi=0xea60;class Ce{constructor(_0x693b56,_0x5e76c3,_0x15ca44,_0x2b901d,_0x4a3e3c,_0x4bfbb1,_0x531c50,_0x3a1103,_0x56d5e4){var _0x37f511=_0x16ccb4;N(this,_0x37f511(0x199),null),N(this,_0x37f511(0x34c),[]),(this[_0x37f511(0x20d)]=_0x693b56,this['type']=_0x5e76c3,this[_0x37f511(0x343)]=_0x4a3e3c,this['_commandService']=_0x4bfbb1,this[_0x37f511(0x1e2)]=_0x531c50,this[_0x37f511(0x344)]=_0x3a1103,this['_localCacheService']=_0x56d5e4,this[_0x37f511(0x199)]=_0x15ca44,this['_pendingMutations']=_0x2b901d);}['_checkMissing'](_0x2c2906){var _0x444ab5=_0x16ccb4;const _0x55ce18=this[_0x444ab5(0x344)][_0x444ab5(0x2c8)](this[_0x444ab5(0x20d)]);return _0x2c2906[_0x444ab5(0x3a5)]>_0x55ce18+0x1?(this['_handler']['onMissingChangesets']({'from':_0x55ce18,'to':_0x2c2906[_0x444ab5(0x3a5)]-0x1}),!0x0):!0x1;}[_0x16ccb4(0x3bd)](_0x215338){var _0x59e2b8=_0x16ccb4;this['_undoRedoService'][_0x59e2b8(0x244)](this[_0x59e2b8(0x20d)],_0x215338);}[_0x16ccb4(0x209)](_0x3da831){var _0x37e28e=_0x16ccb4,_0x5a0dd8,_0x42583a;(_0x42583a=(_0x5a0dd8=this[_0x37e28e(0x343)])[_0x37e28e(0x408)])==null||_0x42583a[_0x37e28e(0x188)](_0x5a0dd8,_0x3da831);}[_0x16ccb4(0x353)](_0x13181d){var _0x1a4627=_0x16ccb4,_0x26f1eb,_0x47e01e;return(_0x47e01e=(_0x26f1eb=this['_handler'])[_0x1a4627(0x25a)])==null?void 0x0:_0x47e01e[_0x1a4627(0x188)](_0x26f1eb,_0x13181d);}[_0x16ccb4(0x18a)](_0x208914){var _0x2873d3=_0x16ccb4,_0x9b3db0,_0x3ca309;return(_0x3ca309=(_0x9b3db0=this[_0x2873d3(0x343)])[_0x2873d3(0x1f9)])==null?void 0x0:_0x3ca309[_0x2873d3(0x188)](_0x9b3db0,_0x208914);}['_transformRemoteChangesetByIMECache'](_0x37be70){var _0x1637c1=_0x16ccb4,_0x26bc07,_0x28fc15,_0x2c875d;return(_0x2c875d=(_0x28fc15=(_0x26bc07=this[_0x1637c1(0x343)])[_0x1637c1(0x3c1)])==null?void 0x0:_0x28fc15['call'](_0x26bc07,_0x37be70))!=null?_0x2c875d:_0x37be70;}[_0x16ccb4(0x2df)](_0x352c7c){var _0x3f53aa=_0x16ccb4,_0x36bb7e,_0x2ccfee,_0x5ae8fc;return(_0x5ae8fc=(_0x2ccfee=(_0x36bb7e=this[_0x3f53aa(0x343)])[_0x3f53aa(0x3d2)])==null?void 0x0:_0x2ccfee[_0x3f53aa(0x188)](_0x36bb7e,_0x352c7c))!=null?_0x5ae8fc:_0x352c7c;}[_0x16ccb4(0x27d)](_0x46d22e){var _0x35875e=_0x16ccb4,_0x41de39,_0x226899;if(this[_0x35875e(0x319)]===Q[_0x35875e(0x1bc)]){const {unitID:_0x5ae17e,mutations:_0x5a6488,memberID:_0x47d996}=_0x46d22e,_0x4b3441=_0x5a6488[0x0][_0x35875e(0x27c)][_0x35875e(0x236)];Array['isArray'](_0x4b3441)&&_0x4b3441[_0x35875e(0x31d)]>0x0&&((_0x226899=(_0x41de39=this[_0x35875e(0x343)])[_0x35875e(0x284)])==null||_0x226899[_0x35875e(0x188)](_0x41de39,{'unitID':_0x5ae17e,'memberID':_0x47d996,'textRanges':_0x4b3441}));}}[_0x16ccb4(0x29d)](){var _0x14973d=_0x16ccb4,_0x3550bb;(_0x3550bb=this['_localCacheService'])==null||_0x3550bb[_0x14973d(0x1ea)](this[_0x14973d(0x20d)],this[_0x14973d(0x319)],this[_0x14973d(0x199)],this[_0x14973d(0x34c)]);}[_0x16ccb4(0x3cb)](){var _0x1dec28=_0x16ccb4;return this[_0x1dec28(0x344)][_0x1dec28(0x2c8)](this['unitID']);}['_incrementRevisionNumber'](){var _0xbc781a=_0x16ccb4;this['_revisionService'][_0xbc781a(0x246)](this[_0xbc781a(0x20d)]);}[_0x16ccb4(0x13d)](_0xd83450){var _0x18a122=_0x16ccb4,_0xb1df25;let _0x3cc765=this['_transformRemoteChangesetByIMECache'](_0xd83450);_0x3cc765=this[_0x18a122(0x2df)](_0x3cc765);const _0x443c5d=_0x1fc61c(_0x3cc765[_0x18a122(0x14f)],this['_commandService'],{'fromCollab':!0x0});if(!_0x443c5d['result'])throw _0x443c5d[_0x18a122(0x34e)]instanceof Error?_0x443c5d[_0x18a122(0x34e)]:new Error((_0xb1df25=_0x443c5d[_0x18a122(0x34e)])!=null?_0xb1df25:_0x18a122(0x21d));this['_transformIMECache'](_0x3cc765),this[_0x18a122(0x18a)](_0x3cc765),this[_0x18a122(0x3bd)](_0xd83450),this[_0x18a122(0x209)](_0x3cc765),this['_syncEditingCollabCursor'](_0x3cc765),this[_0x18a122(0x282)]();}}let Ne=class extends Ce{constructor(_0x4e9bce,_0x2ba661,_0xf7add6,_0x135b12,_0x4fb761,_0x6cb076,_0x5ecbac,_0x715b77,_0x164761,_0x1e2a5a){var _0xdfde5c=_0x16ccb4;super(_0x4e9bce,_0x2ba661,null,[],_0xf7add6,_0x5ecbac,_0x6cb076,_0x135b12,_0x1e2a5a),N(this,_0xdfde5c(0x3c7),_0xdfde5c(0x20b)),(this[_0xdfde5c(0x412)]=_0x4fb761,this['_logService']=_0x715b77,this['_transformService']=_0x164761,this[_0xdfde5c(0x1ac)]=_0x1e2a5a);}[_0x16ccb4(0x2d2)](_0x45bae0){var _0x43a43b=_0x16ccb4;const _0x929910=this['_injector'][_0x43a43b(0x2fc)](oe,this[_0x43a43b(0x20d)],this[_0x43a43b(0x319)],[_0x45bae0],this[_0x43a43b(0x343)]);return _0x929910[_0x43a43b(0x248)](),_0x929910[_0x43a43b(0x29d)](),_0x929910;}['onRemoteChangeset'](_0x591164){var _0x106ab5=_0x16ccb4;if(this[_0x106ab5(0x3df)](_0x591164))return this[_0x106ab5(0x412)][_0x106ab5(0x2fc)](ee,this[_0x106ab5(0x20d)],this[_0x106ab5(0x319)],null,[],null,[_0x591164],this[_0x106ab5(0x343)]);try{const _0x116ea3=this[_0x106ab5(0x1e4)][_0x106ab5(0x256)](_0x591164,[nn]);if(_0x3db925(_0x116ea3)){const {c1Prime:_0x2b8a7b}=_0x116ea3;return this[_0x106ab5(0x13d)](_0x2b8a7b),this;}throw _0x116ea3[_0x106ab5(0x34e)];}catch(_0x23221b){return this[_0x106ab5(0x3d9)]['error'](_0x23221b),this[_0x106ab5(0x24b)](!0x1);}}[_0x16ccb4(0x24b)](_0x4a6fd3){var _0x1af839=_0x16ccb4;return this[_0x1af839(0x412)]['createInstance'](ue,this[_0x1af839(0x20d)],this['type'],null,[],this['_handler'],_0x4a6fd3);}[_0x16ccb4(0x2e7)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x16ccb4(0x37e)](){var _0xf8b356=_0x16ccb4;throw new Error(_0xf8b356(0x1a2));}[_0x16ccb4(0x275)](){return this;}[_0x16ccb4(0x14e)](){var _0x190de1=_0x16ccb4;return this['_injector'][_0x190de1(0x2fc)](de,this[_0x190de1(0x20d)],this[_0x190de1(0x319)],null,[],this[_0x190de1(0x343)]);}[_0x16ccb4(0x37a)](){return this;}['resend'](){var _0x308b6b=_0x16ccb4;throw new Error(_0x308b6b(0x183));}[_0x16ccb4(0x38d)](){var _0x46af5e=_0x16ccb4;const _0x1cac7a=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x46af5e(0x2a9)]({'from':_0x1cac7a,'to':0x0}),this[_0x46af5e(0x412)][_0x46af5e(0x2fc)](ee,this[_0x46af5e(0x20d)],this[_0x46af5e(0x319)],null,[],null,[],this[_0x46af5e(0x343)]);}};Ne=Te([P(0x3,_0x22fd22(_0x396d60)),P(0x4,_0x22fd22(_0x159af1)),P(0x5,_0x3838b4),P(0x6,_0x4b595d),P(0x7,_0x3e2fe0),P(0x8,_0x79664f),P(0x9,_0x2f418b(J))],Ne);let oe=class extends Ce{constructor(_0x2c513d,_0x280b9b,_0x19e7e4,_0x419299,_0x19b40c,_0x425916,_0x1a484e,_0xffe9c1,_0x5e209c,_0x4309f2,_0x4de6b5,_0x3f3c4e,_0x2a7eab,_0xd51999){var _0x32f013=_0x16ccb4;super(_0x2c513d,_0x280b9b,null,_0x19e7e4,_0x419299,_0x5e209c,_0x2a7eab,_0x425916,_0xd51999),N(this,'status',_0x32f013(0x37f)),N(this,_0x32f013(0x201),null),N(this,_0x32f013(0x3c3),null),(this[_0x32f013(0x412)]=_0x19b40c,this[_0x32f013(0x3e4)]=_0x1a484e,this[_0x32f013(0x3d9)]=_0xffe9c1,this['_configService']=_0x4309f2,this[_0x32f013(0x1e4)]=_0x4de6b5,this['_univerInstanceService']=_0x3f3c4e);}[_0x16ccb4(0x2d2)](_0x1b757a){var _0x5dc373=_0x16ccb4;return this[_0x5dc373(0x34c)][_0x5dc373(0x33e)](_0x1b757a),this[_0x5dc373(0x29d)](),this;}[_0x16ccb4(0x2b4)](_0x718681){var _0x460ee1=_0x16ccb4;if(this[_0x460ee1(0x3df)](_0x718681))return this[_0x460ee1(0x3ea)](),this['_injector'][_0x460ee1(0x2fc)](ee,this[_0x460ee1(0x20d)],this[_0x460ee1(0x319)],null,this[_0x460ee1(0x34c)],null,[_0x718681],this[_0x460ee1(0x343)]);try{const _0x44741b=this[_0x460ee1(0x1e4)][_0x460ee1(0x256)](_0x718681,this[_0x460ee1(0x34c)]);if(_0x3db925(_0x44741b)){const {c1Prime:_0x4e6a54,m2Prime:_0x466d7c}=_0x44741b;this[_0x460ee1(0x13d)](_0x4e6a54);const _0x3a3ab1=this[_0x460ee1(0x412)]['createInstance'](oe,this[_0x460ee1(0x20d)],this[_0x460ee1(0x319)],_0x466d7c,this[_0x460ee1(0x343)]);this['_clearScheduledTask']();const _0x2aa9ad=new Date()[_0x460ee1(0x38c)](),_0x40a044=this[_0x460ee1(0x201)]?Math['max'](this[_0x460ee1(0x201)]-_0x2aa9ad,0x0):this[_0x460ee1(0x20e)]();return _0x3a3ab1[_0x460ee1(0x248)](_0x40a044),_0x3a3ab1;}throw _0x44741b[_0x460ee1(0x34e)];}catch(_0x2cdb3d){return this[_0x460ee1(0x3d9)]['error'](_0x2cdb3d),this[_0x460ee1(0x24b)](!0x1);}}[_0x16ccb4(0x2e7)](){var _0xdb8a10=_0x16ccb4;throw new Error(_0xdb8a10(0x396));}['onRemoteRej'](){var _0x1f803d=_0x16ccb4;throw new Error(_0x1f803d(0x386));}[_0x16ccb4(0x275)](){return this;}['toggleOffline'](){var _0x56cd7c=_0x16ccb4;return this[_0x56cd7c(0x3ea)](),this[_0x56cd7c(0x412)][_0x56cd7c(0x2fc)](de,this['unitID'],this[_0x56cd7c(0x319)],null,this[_0x56cd7c(0x34c)],this[_0x56cd7c(0x343)]);}[_0x16ccb4(0x37a)](){return this;}['_schedule'](_0x3408cb){var _0xb4a8c0=_0x16ccb4;const _0xb07999=_0x3408cb!=null?_0x3408cb:this[_0xb4a8c0(0x20e)]();this[_0xb4a8c0(0x201)]=new Date()[_0xb4a8c0(0x38c)]()+_0xb07999,this[_0xb4a8c0(0x3c3)]=setTimeout(()=>{var _0x21a816=_0xb4a8c0;this[_0x21a816(0x3ea)]();let _0x335939=null;switch(this[_0x21a816(0x319)]){case Q[_0x21a816(0x2ac)]:{_0x335939=qt(this[_0x21a816(0x34c)],this[_0x21a816(0x20d)],this[_0x21a816(0x336)],this[_0x21a816(0x344)],this[_0x21a816(0x3e4)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x4ba626=>_0x4ba626['id']===_0x523ad8['id'])?_0x335939=rn(this[_0x21a816(0x34c)],this[_0x21a816(0x20d)],this[_0x21a816(0x336)],this['_revisionService'],this[_0x21a816(0x3e4)]):_0x335939=qt(this[_0x21a816(0x34c)],this[_0x21a816(0x20d)],this[_0x21a816(0x336)],this[_0x21a816(0x344)],this[_0x21a816(0x3e4)]);break;}default:throw new Error(_0x21a816(0x17c)+this[_0x21a816(0x319)]+_0x21a816(0x250));}const {changeset:_0x33b075,pendingMutations:_0x49456a}=_0x335939;this[_0x21a816(0x343)][_0x21a816(0x180)](_0x33b075);const _0x1d76bc=_0x49456a[_0x21a816(0x31d)]?this[_0x21a816(0x412)]['createInstance'](ae,this[_0x21a816(0x20d)],this['type'],_0x33b075,_0x49456a,this[_0x21a816(0x343)],void 0x0):this['_injector'][_0x21a816(0x2fc)](le,this[_0x21a816(0x20d)],this[_0x21a816(0x319)],_0x33b075,this[_0x21a816(0x343)]);_0x1d76bc['_updateLocalCache'](),this[_0x21a816(0x343)]['onStateChange'](this,_0x1d76bc);},_0xb07999);}[_0x16ccb4(0x20e)](){var _0x4e87d7=_0x16ccb4,_0x5d26f0;const _0x4b6ca1=this[_0x4e87d7(0x17a)][_0x4e87d7(0x346)](q);return(_0x5d26f0=_0x4b6ca1==null?void 0x0:_0x4b6ca1['sendChangesetTimeout'])!=null?_0x5d26f0:Sr;}[_0x16ccb4(0x3f8)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16ccb4(0x3ea)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x16ccb4(0x24b)](_0x21506f){var _0x1d7459=_0x16ccb4;return this['_clearScheduledTask'](),this[_0x1d7459(0x412)][_0x1d7459(0x2fc)](ue,this[_0x1d7459(0x20d)],this[_0x1d7459(0x319)],null,this[_0x1d7459(0x34c)],this['_handler'],_0x21506f);}};oe=Te([P(0x4,_0x22fd22(_0x159af1)),P(0x5,_0x22fd22(_0x396d60)),P(0x6,_0x22fd22(xe)),P(0x7,_0x3e2fe0),P(0x8,_0x4b595d),P(0x9,_0x1c1cc7),P(0xa,_0x79664f),P(0xb,_0x1e29c1),P(0xc,_0x3838b4),P(0xd,_0x2f418b(J))],oe);let le=class extends Ce{constructor(_0x35e75d,_0x36671a,_0x3392c9,_0xcfd70b,_0x10829f,_0x5a7584,_0x24c678,_0x2a79dd,_0x41594f,_0x5290e4,_0x33a8f1){var _0x3abd23=_0x16ccb4;super(_0x35e75d,_0x36671a,_0x3392c9,[],_0xcfd70b,_0x24c678,_0x5290e4,_0x5a7584,_0x33a8f1),N(this,_0x3abd23(0x3c7),_0x3abd23(0x419)),N(this,_0x3abd23(0x350),0x0),N(this,_0x3abd23(0x18f)),N(this,_0x3abd23(0x262)),(this[_0x3abd23(0x412)]=_0x10829f,this['_logService']=_0x2a79dd,this[_0x3abd23(0x1e4)]=_0x41594f);}[_0x16ccb4(0x2d2)](_0xe45469){var _0x226eef=_0x16ccb4;this[_0x226eef(0x3ea)]();const _0x18c8e3=this[_0x226eef(0x412)][_0x226eef(0x2fc)](ae,this['unitID'],this[_0x226eef(0x319)],this[_0x226eef(0x199)],[_0xe45469],this[_0x226eef(0x343)],this[_0x226eef(0x18f)]);return _0x18c8e3[_0x226eef(0x29d)](),_0x18c8e3;}[_0x16ccb4(0x2b4)](_0x23957c){var _0x5496ab=_0x16ccb4;if(this[_0x5496ab(0x3df)](_0x23957c))return this[_0x5496ab(0x3ea)](),this[_0x5496ab(0x412)][_0x5496ab(0x2fc)](ee,this[_0x5496ab(0x20d)],this['type'],this[_0x5496ab(0x199)],[],null,[_0x23957c],this[_0x5496ab(0x343)]);try{const _0x12ae80=this[_0x5496ab(0x1e4)][_0x5496ab(0x194)]([_0x23957c],[this[_0x5496ab(0x199)]],!0x1);if(_0x46033f(_0x12ae80)){const {c1Prime:_0x4628ed,c2Prime:_0x23de41}=_0x12ae80;this['_executeRemoteChangeset'](_0x4628ed[0x0]),_0x23de41[0x0]['baseRev']=this[_0x5496ab(0x3cb)](),this[_0x5496ab(0x3ea)]();const _0x341ab9=this['_injector'][_0x5496ab(0x2fc)](le,this[_0x5496ab(0x20d)],this[_0x5496ab(0x319)],_0x23de41[0x0],this[_0x5496ab(0x343)]);return _0x341ab9[_0x5496ab(0x29d)](),_0x341ab9;}return this[_0x5496ab(0x24b)](!0x1);}catch(_0x5bc321){return this[_0x5496ab(0x3d9)]['error'](_0x5bc321),this[_0x5496ab(0x24b)](!0x1);}}[_0x16ccb4(0x2e7)](_0x162ca1){var _0x4380d3=_0x16ccb4;this[_0x4380d3(0x3ea)]();const _0x4b79da=this[_0x4380d3(0x344)]['getCurrentRevOfUnit'](this[_0x4380d3(0x20d)]);if(_0x162ca1['revision']<_0x4b79da-0x1)return this;if(this[_0x4380d3(0x3df)](_0x162ca1))return this[_0x4380d3(0x412)][_0x4380d3(0x2fc)](ee,this['unitID'],this[_0x4380d3(0x319)],null,[],this[_0x4380d3(0x199)],[],this[_0x4380d3(0x343)]);this[_0x4380d3(0x282)]();const _0x10ec48=this[_0x4380d3(0x412)][_0x4380d3(0x2fc)](Ne,this[_0x4380d3(0x20d)],this[_0x4380d3(0x319)],this[_0x4380d3(0x343)]);return _0x10ec48[_0x4380d3(0x29d)](),_0x10ec48;}['onRemoteRej'](_0x15f6dd){var _0x24f92a=_0x16ccb4;return this[_0x24f92a(0x24b)](!!(_0x15f6dd!=null&&_0x15f6dd[_0x24f92a(0x268)]));}['onRemoteRetry'](_0xf5eac9){var _0x1ce771=_0x16ccb4;return this[_0x1ce771(0x350)]>yi?this[_0x1ce771(0x14e)]():(this[_0x1ce771(0x18f)]=Ri(this[_0x1ce771(0x350)],{'timeout':this[_0x1ce771(0x350)],'reqId':_0xf5eac9[_0x1ce771(0x3af)]}),this[_0x1ce771(0x262)]=this[_0x1ce771(0x18f)][_0x1ce771(0x3e5)](({reqId:_0x16d2a8,timeout:_0x3566fc})=>{var _0x3b153e=_0x1ce771;this[_0x3b153e(0x2d9)](_0x16d2a8,_0x3566fc);}),this);}[_0x16ccb4(0x14e)](){var _0x2e2c87=_0x16ccb4;return this['_clearScheduledTask'](),this[_0x2e2c87(0x412)]['createInstance'](de,this[_0x2e2c87(0x20d)],this['type'],this['_awaitingChangeset'],[],this[_0x2e2c87(0x343)]);}[_0x16ccb4(0x37a)](){return this;}[_0x16ccb4(0x3f8)](){var _0x132c62=_0x16ccb4;this['_handler'][_0x132c62(0x180)](this[_0x132c62(0x199)]);}[_0x16ccb4(0x24b)](_0x3aea52){var _0x1e9e3e=_0x16ccb4;return this['_clearScheduledTask'](),this[_0x1e9e3e(0x412)][_0x1e9e3e(0x2fc)](ue,this['unitID'],this[_0x1e9e3e(0x319)],this['_awaitingChangeset'],[],this[_0x1e9e3e(0x343)],_0x3aea52);}[_0x16ccb4(0x2d9)](_0x2b45a2,_0x32c90b){var _0x4a825a=_0x16ccb4,_0x41d83d;_0x2b45a2===((_0x41d83d=this[_0x4a825a(0x199)])==null?void 0x0:_0x41d83d[_0x4a825a(0x3af)])&&(this[_0x4a825a(0x3f8)](),this[_0x4a825a(0x350)]=_0x32c90b===0x0?0x3e8:_0x32c90b*0x2);}[_0x16ccb4(0x3ea)](){var _0x2affdf=_0x16ccb4,_0xd999df;(_0xd999df=this[_0x2affdf(0x262)])==null||_0xd999df[_0x2affdf(0x1b4)](),this[_0x2affdf(0x350)]=0x0;}};le=Te([P(0x4,_0x22fd22(_0x159af1)),P(0x5,_0x22fd22(_0x396d60)),P(0x6,_0x4b595d),P(0x7,_0x3e2fe0),P(0x8,_0x79664f),P(0x9,_0x3838b4),P(0xa,_0x2f418b(J))],le);let ae=class extends Ce{constructor(_0x403e25,_0x43444a,_0x29ea11,_0xab2307,_0x5efdad,_0x3e76b2,_0x5de548,_0x12074e,_0x25a965,_0x114e91,_0x322965,_0x1cf596,_0xfe805a){var _0x2aaadc=_0x16ccb4;super(_0x403e25,_0x43444a,_0x29ea11,_0xab2307,_0x5efdad,_0x25a965,_0x1cf596,_0x12074e,_0xfe805a),N(this,'status',_0x2aaadc(0x212)),N(this,'_resendTimeout',0x0),N(this,_0x2aaadc(0x18f)),N(this,_0x2aaadc(0x262)),(this[_0x2aaadc(0x412)]=_0x5de548,this['_logService']=_0x114e91,this[_0x2aaadc(0x1e4)]=_0x322965,this[_0x2aaadc(0x1ac)]=_0xfe805a,_0x3e76b2&&(this['_resendTimer']=_0x3e76b2,this['_sender']=this[_0x2aaadc(0x18f)]['subscribe'](({reqId:_0x2fe594,timeout:_0x597497})=>{var _0x4d559e=_0x2aaadc;this[_0x4d559e(0x2d9)](_0x2fe594,_0x597497);})));}[_0x16ccb4(0x2d2)](_0x3e67ee){var _0x5261ad=_0x16ccb4;return this[_0x5261ad(0x34c)][_0x5261ad(0x33e)](_0x3e67ee),this;}['onRemoteChangeset'](_0x1efc3f){var _0x522f2f=_0x16ccb4;if(this['_checkMissing'](_0x1efc3f))return this[_0x522f2f(0x3ea)](),this['_injector'][_0x522f2f(0x2fc)](ee,this[_0x522f2f(0x20d)],this[_0x522f2f(0x319)],this[_0x522f2f(0x199)],this['_pendingMutations'],null,[_0x1efc3f],this['_handler']);try{const _0x31d61f=this['_transformService'][_0x522f2f(0x194)]([_0x1efc3f],[this[_0x522f2f(0x199)]],!0x1);if(_0x46033f(_0x31d61f)){const {c1Prime:_0x51fe40,c2Prime:_0x2f796f}=_0x31d61f,_0x497333=this[_0x522f2f(0x1e4)][_0x522f2f(0x256)](_0x51fe40[0x0],this[_0x522f2f(0x34c)]);if(_0x3db925(_0x497333)){const {c1Prime:_0x3e12c7,m2Prime:_0x38890}=_0x497333;return this[_0x522f2f(0x13d)](_0x3e12c7),_0x2f796f[0x0][_0x522f2f(0x410)]=this[_0x522f2f(0x3cb)](),this[_0x522f2f(0x3ea)](),this[_0x522f2f(0x412)][_0x522f2f(0x2fc)](ae,this['unitID'],this['type'],_0x2f796f[0x0],_0x38890,this[_0x522f2f(0x343)],void 0x0);}throw _0x497333[_0x522f2f(0x34e)];}throw _0x31d61f[_0x522f2f(0x34e)];}catch(_0x1a87c1){return this[_0x522f2f(0x3d9)][_0x522f2f(0x34e)](_0x1a87c1),this[_0x522f2f(0x24b)](!0x1);}}['onRemoteAck'](_0x2fe26b){var _0x3f5a66=_0x16ccb4;if(this[_0x3f5a66(0x3ea)](),this['_checkMissing'](_0x2fe26b))return this[_0x3f5a66(0x412)][_0x3f5a66(0x2fc)](ee,this[_0x3f5a66(0x20d)],this[_0x3f5a66(0x319)],null,this[_0x3f5a66(0x34c)],this['_awaitingChangeset'],[],this[_0x3f5a66(0x343)]);this[_0x3f5a66(0x282)]();const _0x46accf=this[_0x3f5a66(0x412)]['createInstance'](oe,this['unitID'],this['type'],this[_0x3f5a66(0x34c)],this[_0x3f5a66(0x343)]);return _0x46accf[_0x3f5a66(0x248)](),_0x46accf[_0x3f5a66(0x29d)](),_0x46accf;}[_0x16ccb4(0x37e)](_0x36a920){var _0xb2347d=_0x16ccb4;return this[_0xb2347d(0x24b)](!!(_0x36a920!=null&&_0x36a920[_0xb2347d(0x268)]));}['onRemoteRetry'](_0x34c8b7){var _0x393b19=_0x16ccb4;return this[_0x393b19(0x350)]>yi?this[_0x393b19(0x14e)]():(this[_0x393b19(0x18f)]=Ri(this['_resendTimeout'],{'timeout':this[_0x393b19(0x350)],'reqId':_0x34c8b7[_0x393b19(0x3af)]}),this[_0x393b19(0x262)]=this['_resendTimer'][_0x393b19(0x3e5)](({reqId:_0x1af0b1,timeout:_0x1a490e})=>{var _0xf3c291=_0x393b19;this[_0xf3c291(0x2d9)](_0x1af0b1,_0x1a490e);}),this);}[_0x16ccb4(0x14e)](){var _0x3ca891=_0x16ccb4;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x3ca891(0x20d)],this[_0x3ca891(0x319)],this['_awaitingChangeset'],this[_0x3ca891(0x34c)],this[_0x3ca891(0x343)]);}[_0x16ccb4(0x37a)](){return this;}[_0x16ccb4(0x3f8)](){var _0x5d0151=_0x16ccb4;this['_handler'][_0x5d0151(0x180)](this['_awaitingChangeset']);}['_onConflict'](_0x59f25f){var _0x3d5179=_0x16ccb4;return this[_0x3d5179(0x3ea)](),this[_0x3d5179(0x412)]['createInstance'](ue,this[_0x3d5179(0x20d)],this['type'],null,this[_0x3d5179(0x34c)],this['_handler'],_0x59f25f);}['_resendWithTimeout'](_0x226f69,_0x420da5){var _0x1f2626=_0x16ccb4,_0x2a50be;_0x226f69===((_0x2a50be=this[_0x1f2626(0x199)])==null?void 0x0:_0x2a50be[_0x1f2626(0x3af)])&&(this[_0x1f2626(0x3f8)](),this[_0x1f2626(0x350)]=_0x420da5===0x0?0x3e8:_0x420da5*0x2);}['_clearScheduledTask'](){var _0x1d2eac=_0x16ccb4,_0x2aea29;(_0x2aea29=this[_0x1d2eac(0x262)])==null||_0x2aea29[_0x1d2eac(0x1b4)](),this[_0x1d2eac(0x350)]=0x0;}};ae=Te([P(0x6,_0x22fd22(_0x159af1)),P(0x7,_0x22fd22(_0x396d60)),P(0x8,_0x4b595d),P(0x9,_0x3e2fe0),P(0xa,_0x79664f),P(0xb,_0x3838b4),P(0xc,_0x2f418b(J))],ae);let ue=class extends Ce{constructor(_0x3fd785,_0x318cd5,_0x140d45,_0xc27b4b,_0x327215,_0x19bc90=!0x1,_0x3b5a6c,_0x1f1e6d,_0x543c21,_0x46ea62,_0x2140e1,_0x10eb29,_0x58a1ff){var _0x31e061=_0x16ccb4;super(_0x3fd785,_0x318cd5,_0x140d45,_0xc27b4b,_0x327215,_0x1f1e6d,_0x543c21,_0x46ea62,_0x58a1ff),N(this,'status',_0x31e061(0x380)),(this[_0x31e061(0x29b)]=_0x19bc90,this[_0x31e061(0x39c)]=_0x3b5a6c,this['_localeService']=_0x2140e1,this['_collaborationUIEventService']=_0x10eb29,this[_0x31e061(0x1ac)]=_0x58a1ff,this[_0x31e061(0x272)](),this[_0x31e061(0x286)](),this[_0x31e061(0x205)]());}[_0x16ccb4(0x2d2)](){return this;}[_0x16ccb4(0x2b4)](){return this;}[_0x16ccb4(0x2e7)](){return this;}[_0x16ccb4(0x37e)](){return this;}[_0x16ccb4(0x275)](){return this;}[_0x16ccb4(0x14e)](){return this;}[_0x16ccb4(0x37a)](){return this;}['resend'](){var _0x3e3b25=_0x16ccb4;throw new Error(_0x3e3b25(0x2dc));}[_0x16ccb4(0x286)](){var _0x51f66e=_0x16ccb4,_0x75a2ce;(_0x75a2ce=this[_0x51f66e(0x3cf)])==null||_0x75a2ce[_0x51f66e(0x1ea)](this[_0x51f66e(0x20d)],this[_0x51f66e(0x319)],null,[]);}[_0x16ccb4(0x272)](){var _0x5dd271=_0x16ccb4;this[_0x5dd271(0x29b)]?this['_collaborationUIEventService'][_0x5dd271(0x36d)]({'id':se[_0x5dd271(0x1e7)]}):this[_0x5dd271(0x167)][_0x5dd271(0x36d)]({'id':se[_0x5dd271(0x28f)]});}['_disableEditing'](){var _0x5e5eb0=_0x16ccb4;this['_permissionService'][_0x5e5eb0(0x3ff)](new _0x27ca3a(this[_0x5e5eb0(0x20d)])['id'],!0x1);}};ue=Te([P(0x6,_0x22fd22(_0x9e91ec)),P(0x7,_0x4b595d),P(0x8,_0x3838b4),P(0x9,_0x22fd22(_0x396d60)),P(0xa,_0x22fd22(_0x398bdd)),P(0xb,_0x22fd22(pe)),P(0xc,_0x2f418b(J))],ue);let de=class extends Ce{constructor(_0x29059e,_0x4fbb6f,_0x409527,_0x196b4a,_0x471126,_0x23ca1e,_0x5194be,_0x4d98bc,_0x3364fc,_0x3ea32f){var _0x557f2f=_0x16ccb4;super(_0x29059e,_0x4fbb6f,_0x409527,_0x196b4a,_0x471126,_0x4d98bc,_0x3364fc,_0x5194be,_0x3ea32f),N(this,_0x557f2f(0x3c7),_0x557f2f(0x418)),this['_injector']=_0x23ca1e;}[_0x16ccb4(0x2d2)](_0x1997a7){var _0x133e36=_0x16ccb4;return this[_0x133e36(0x34c)][_0x133e36(0x33e)](_0x1997a7),this['_updateLocalCache'](),this;}[_0x16ccb4(0x2b4)](_0x444a59){var _0x4ef9ec=_0x16ccb4;throw new Error(_0x4ef9ec(0x2fb));}[_0x16ccb4(0x2e7)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x16ccb4(0x37e)](){var _0x537a85=_0x16ccb4;throw new Error(_0x537a85(0x13a));}[_0x16ccb4(0x275)](){return this;}[_0x16ccb4(0x14e)](){return this;}[_0x16ccb4(0x37a)](){var _0x2d2350=_0x16ccb4;const {_injector:_0x102137,_pendingMutations:_0x4a9727,_awaitingChangeset:_0x3ac50d,unitID:_0x4bf547,_handler:_0x482a8e,type:_0x2333f4}=this,_0x244683=Oi(_0x102137,_0x4bf547,_0x2333f4,_0x3ac50d,_0x4a9727,_0x482a8e);return _0x244683 instanceof oe?_0x244683[_0x2d2350(0x248)]():(_0x244683 instanceof ae||_0x244683 instanceof le)&&_0x244683[_0x2d2350(0x3f8)](),_0x244683;}['resend'](){var _0x47d129=_0x16ccb4;throw new Error(_0x47d129(0x2ba));}};function _0x1439(_0x10f61a,_0x10e791){var _0xd1ae64=_0xd1ae();return _0x1439=function(_0x14395e,_0x3833f7){_0x14395e=_0x14395e-0x124;var _0x21c733=_0xd1ae64[_0x14395e];return _0x21c733;},_0x1439(_0x10f61a,_0x10e791);}de=Te([P(0x5,_0x22fd22(_0x159af1)),P(0x6,_0x22fd22(_0x396d60)),P(0x7,_0x4b595d),P(0x8,_0x3838b4),P(0x9,_0x2f418b(J))],de);let ee=class extends Ce{constructor(_0x418469,_0x541384,_0x387756,_0x2a9516,_0x22517d,_0x513582,_0x5ee586,_0x5c2e16,_0x2d1f11,_0x998f9a,_0x33795a,_0x310a1b,_0x2accca,_0x4a55a6){var _0x2436fe=_0x16ccb4;super(_0x418469,_0x541384,_0x387756,_0x2a9516,_0x5ee586,_0x33795a,_0x310a1b,_0x2d1f11,_0x4a55a6),N(this,_0x2436fe(0x3c7),'fetch_missing'),(this[_0x2436fe(0x318)]=_0x22517d,this[_0x2436fe(0x2b5)]=_0x513582,this[_0x2436fe(0x412)]=_0x5c2e16,this[_0x2436fe(0x3d9)]=_0x998f9a,this[_0x2436fe(0x1e4)]=_0x2accca,this[_0x2436fe(0x1ac)]=_0x4a55a6);}['onMissedChangesetFetched'](_0x87aa17){var _0x5889af=_0x16ccb4;try{const _0x246cf6=[..._0x87aa17,...this[_0x5889af(0x2b5)]],_0x508de5=[this['_awaitingChangeset']||this[_0x5889af(0x318)]][_0x5889af(0x128)](_0x5e0ec5=>!!_0x5e0ec5);let _0x483208,_0x4fa762;if(_0x508de5[_0x5889af(0x31d)]){const _0x20e810=this[_0x5889af(0x1e4)][_0x5889af(0x194)](_0x246cf6,_0x508de5,!0x1);if(!_0x46033f(_0x20e810))throw _0x20e810['error'];_0x483208=_0x20e810[_0x5889af(0x3b6)],_0x4fa762=_0x20e810['c2Prime'];}else _0x483208=_0x246cf6,_0x4fa762=[];let _0x13195=this[_0x5889af(0x34c)];_0x483208['forEach'](_0x8806a3=>{var _0x4e5587=_0x5889af;let _0x45ef30;if(_0x13195[_0x4e5587(0x31d)]){const _0x26e6e4=this['_transformService'][_0x4e5587(0x256)](_0x8806a3,_0x13195);if(!_0x3db925(_0x26e6e4))throw _0x26e6e4['error'];_0x45ef30=_0x26e6e4[_0x4e5587(0x3b6)],_0x13195=_0x26e6e4[_0x4e5587(0x1db)];}else _0x45ef30=_0x8806a3;this['_executeRemoteChangeset'](_0x45ef30);}),this[_0x5889af(0x318)]&&this['_incrementRevisionNumber'](),this[_0x5889af(0x199)]&&_0x4fa762[_0x5889af(0x31d)]&&(_0x4fa762[0x0][_0x5889af(0x410)]=this['_getCurrentRevision']());let _0x112f0b;if(this[_0x5889af(0x199)]&&_0x13195[_0x5889af(0x31d)]!==0x0)_0x112f0b=this[_0x5889af(0x412)][_0x5889af(0x2fc)](ae,this['unitID'],this[_0x5889af(0x319)],_0x4fa762[0x0],_0x13195,this[_0x5889af(0x343)],void 0x0);else{if(this['_awaitingChangeset']&&_0x13195[_0x5889af(0x31d)]===0x0)_0x4fa762[0x0][_0x5889af(0x410)]=this[_0x5889af(0x3cb)](),_0x112f0b=this[_0x5889af(0x412)]['createInstance'](le,this['unitID'],this['type'],_0x4fa762[0x0],this[_0x5889af(0x343)]);else{if(_0x13195['length']!==0x0){const _0x3a55b4=this[_0x5889af(0x412)][_0x5889af(0x2fc)](oe,this[_0x5889af(0x20d)],this[_0x5889af(0x319)],_0x13195,this[_0x5889af(0x343)]);_0x3a55b4['_schedule'](),_0x112f0b=_0x3a55b4;}else _0x112f0b=this[_0x5889af(0x412)][_0x5889af(0x2fc)](Ne,this['unitID'],this[_0x5889af(0x319)],this['_handler']);}}return _0x112f0b[_0x5889af(0x29d)](),_0x112f0b;}catch(_0x35a2d6){return this[_0x5889af(0x3d9)][_0x5889af(0x34e)](_0x5889af(0x1e0),'failed\x20to\x20apply\x20missed\x20changesets!',_0x35a2d6),this[_0x5889af(0x412)]['createInstance'](ue,this['unitID'],this[_0x5889af(0x319)],this[_0x5889af(0x199)],this[_0x5889af(0x34c)],this[_0x5889af(0x343)],!0x1);}}[_0x16ccb4(0x3f8)](){var _0x493123=_0x16ccb4;throw new Error(_0x493123(0x30a));}[_0x16ccb4(0x2d2)](_0x10c1bc){var _0x2e9d1b=_0x16ccb4;return this[_0x2e9d1b(0x34c)][_0x2e9d1b(0x33e)](_0x10c1bc),this;}['onRemoteChangeset'](_0x1b7f0d){var _0x3361fb=_0x16ccb4;return this[_0x3361fb(0x2b5)][_0x3361fb(0x33e)](_0x1b7f0d),this;}[_0x16ccb4(0x2e7)](_0x10c8c6){var _0x51dba4=_0x16ccb4;if(this[_0x51dba4(0x199)])return this[_0x51dba4(0x318)]=this[_0x51dba4(0x199)],this[_0x51dba4(0x199)]=null,this;throw new Error(_0x51dba4(0x30d));}[_0x16ccb4(0x37e)](_0x25eb64){var _0x2023d5=_0x16ccb4;return this[_0x2023d5(0x24b)](!!(_0x25eb64!=null&&_0x25eb64[_0x2023d5(0x268)]));}[_0x16ccb4(0x275)](){return this;}['toggleOffline'](){var _0x207145=_0x16ccb4;return this['_injector']['createInstance'](de,this[_0x207145(0x20d)],this[_0x207145(0x319)],this[_0x207145(0x199)],this[_0x207145(0x34c)],this[_0x207145(0x343)]);}[_0x16ccb4(0x37a)](){return this;}[_0x16ccb4(0x24b)](_0x4718e4){var _0x5e7544=_0x16ccb4;return this['_injector'][_0x5e7544(0x2fc)](ue,this[_0x5e7544(0x20d)],this[_0x5e7544(0x319)],this[_0x5e7544(0x199)],this['_pendingMutations'],this[_0x5e7544(0x343)],_0x4718e4);}};ee=Te([P(0x7,_0x22fd22(_0x159af1)),P(0x8,_0x22fd22(_0x396d60)),P(0x9,_0x3e2fe0),P(0xa,_0x4b595d),P(0xb,_0x3838b4),P(0xc,_0x79664f),P(0xd,_0x2f418b(J))],ee);function Oi(_0x388139,_0x3ff3fc,_0x36ba48,_0x4d4c68,_0x2591f4,_0x198c94){var _0x3174dc=_0x16ccb4;return _0x4d4c68&&_0x2591f4[_0x3174dc(0x31d)]?_0x388139[_0x3174dc(0x2fc)](ae,_0x3ff3fc,_0x36ba48,_0x4d4c68,_0x2591f4,_0x198c94,void 0x0):_0x4d4c68?_0x388139[_0x3174dc(0x2fc)](le,_0x3ff3fc,_0x36ba48,_0x4d4c68,_0x198c94):_0x2591f4[_0x3174dc(0x31d)]?_0x388139[_0x3174dc(0x2fc)](oe,_0x3ff3fc,_0x36ba48,_0x2591f4,_0x198c94):_0x388139[_0x3174dc(0x2fc)](Ne,_0x3ff3fc,_0x36ba48,_0x198c94);}var on=Object['getOwnPropertyDescriptor'],xt=(_0x452dec,_0xd04ad9,_0x3d80d1,_0x115c00)=>{for(var _0x169592=_0x115c00>0x1?void 0x0:_0x115c00?on(_0xd04ad9,_0x3d80d1):_0xd04ad9,_0x491526=_0x452dec['length']-0x1,_0x4f0dbe;_0x491526>=0x0;_0x491526--)(_0x4f0dbe=_0x452dec[_0x491526])&&(_0x169592=_0x4f0dbe(_0x169592)||_0x169592);return _0x169592;},H=(_0x2cbc56,_0x59d789)=>(_0x2a5b83,_0x247b17)=>_0x59d789(_0x2a5b83,_0x247b17,_0x2cbc56);let rt=class extends _0x58c729{constructor(_0x3caf51,_0x18f25a,_0xca1a3b,_0xd9b043,_0x3eef6b,_0x419eed,_0x55c116,_0x25cbe0,_0xc79db3,_0x5c8333,_0x387d4e,_0x432a73,_0x27039b){var _0xe94642=_0x16ccb4;super(),N(this,_0xe94642(0x172),new _0x5c270b(null)),N(this,_0xe94642(0x3b4),this[_0xe94642(0x172)][_0xe94642(0x2f8)]()),N(this,_0xe94642(0x428)),N(this,_0xe94642(0x40e),!0x1),N(this,_0xe94642(0x2fd),''),N(this,_0xe94642(0x41f),0x0),N(this,'status$',this['state$'][_0xe94642(0x1f5)](_0x16081f(_0x1db1fb=>_0x1db1fb?_0x1db1fb[_0xe94642(0x3c7)]:bi[_0xe94642(0x3a4)]),_0x1fe5b7(0x1))),N(this,_0xe94642(0x2a6),!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x3caf51,this[_0xe94642(0x125)]=_0x18f25a,this[_0xe94642(0x29f)]=_0xca1a3b,this[_0xe94642(0x412)]=_0xd9b043,this[_0xe94642(0x347)]=_0x3eef6b,this['_localeService']=_0x419eed,this[_0xe94642(0x344)]=_0x55c116,this[_0xe94642(0x360)]=_0x25cbe0,this[_0xe94642(0x3d9)]=_0xc79db3,this[_0xe94642(0x399)]=_0x5c8333,this[_0xe94642(0x39c)]=_0x387d4e,this[_0xe94642(0x1d7)]=_0x432a73,this['_localCacheService']=_0x27039b);}get['state'](){var _0x665390=_0x16ccb4;return this[_0x665390(0x428)];}async['init'](){var _0x371866=_0x16ccb4;if(this[_0x371866(0x153)])throw new Error(_0x371866(0x2e9));await this[_0x371866(0x364)]();}[_0x16ccb4(0x25b)](){var _0x42e762=_0x16ccb4;return this[_0x42e762(0x40e)]=!0x0,_0x5a70ff(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x25bd5){var _0x5dd4bc=_0x16ccb4;this[_0x5dd4bc(0x2ae)](_0x25bd5);}[_0x16ccb4(0x420)](_0x369956){var _0x1ba692=_0x16ccb4;this['_state']=_0x369956,this[_0x1ba692(0x172)]['next'](_0x369956);}async[_0x16ccb4(0x364)](){var _0x546fb8=_0x16ccb4,_0x373295;this[_0x546fb8(0x420)](await this['_createInitialState']()),this[_0x546fb8(0x1d7)]&&((_0x373295=this[_0x546fb8(0x1d7)])==null||_0x373295[_0x546fb8(0x297)](this['unitID']),this[_0x546fb8(0x32a)](this['_singleActiveUnitService'][_0x546fb8(0x3fb)](this[_0x546fb8(0x20d)])[_0x546fb8(0x3e5)](_0x5ecaed=>{var _0x622ec9=_0x546fb8;this[_0x622ec9(0x3d9)][_0x622ec9(0x1d9)](_0x622ec9(0x162),_0x622ec9(0x3fa),_0x5ecaed),_0x5ecaed===Ci['OTHER_CLIENTS_EDITING']?(this[_0x622ec9(0x360)][_0x622ec9(0x36d)]({'id':se[_0x622ec9(0x31b)]}),this[_0x622ec9(0x39c)][_0x622ec9(0x3ff)](new _0x27ca3a(this[_0x622ec9(0x20d)])['id'],!0x1),this[_0x622ec9(0x39c)][_0x622ec9(0x2bd)](!0x1)):(this[_0x622ec9(0x39c)][_0x622ec9(0x3ff)](new _0x27ca3a(this[_0x622ec9(0x20d)])['id'],!0x0),this['_permissionService'][_0x622ec9(0x2bd)](!0x0));})));let _0x4438fe=!0x1;return this[_0x546fb8(0x32a)](this[_0x546fb8(0x125)][_0x546fb8(0x24f)][_0x546fb8(0x3e5)](_0x390e01=>{var _0x5f185a=_0x546fb8;_0x390e01===Ee['ONLINE']?this[_0x5f185a(0x3e0)](_0x4438fe):_0x390e01===Ee[_0x5f185a(0x3a4)]&&(_0x4438fe=!0x0,this[_0x5f185a(0x1ec)]());})),this[_0x546fb8(0x32a)](this[_0x546fb8(0x125)][_0x546fb8(0x317)][_0x546fb8(0x3e5)](_0x1bf85d=>{var _0x17a98c=_0x546fb8;try{switch(_0x1bf85d[_0x17a98c(0x15d)]){case _0x8288a1[_0x17a98c(0x241)]:{this['_onRemoteChangeset'](_0x4ec5b6(_0x1bf85d[_0x17a98c(0x2c7)]));break;}case _0x8288a1[_0x17a98c(0x390)]:{this['_onRemoteACK'](_0x1bf85d[_0x17a98c(0x2c7)]);break;}case _0x8288a1[_0x17a98c(0x223)]:{this[_0x17a98c(0x2e8)]();break;}case _0x8288a1['CHANGESET_SHOULD_RETRY']:{this[_0x17a98c(0x2b7)](_0x1bf85d[_0x17a98c(0x2c7)]);break;}case _0x8288a1[_0x17a98c(0x12e)]:{this[_0x17a98c(0x2bb)](_0x1bf85d[_0x17a98c(0x2c7)]['changesets'][_0x17a98c(0x150)](_0x567356=>_0x4ec5b6(_0x567356)));break;}case _0x8288a1['PERMISSION_REJ']:{this[_0x17a98c(0x2e8)]({'isPermissionRej':!0x0});break;}case _0x8288a1['UNISCRIPT_RUN']:break;}}catch(_0x5472a4){throw console[_0x17a98c(0x34e)](_0x17a98c(0x287),_0x5472a4),_0x5472a4;}})),this[_0x546fb8(0x428)];}[_0x16ccb4(0x359)](){var _0x558a80=_0x16ccb4;this[_0x558a80(0x2a6)]=!0x1;}[_0x16ccb4(0x400)](){var _0x4313a7=_0x16ccb4;if(this[_0x4313a7(0x2a6)])throw new Error(_0x4313a7(0x3c0));this['_transitionLocked']=!0x0;}[_0x16ccb4(0x2ae)](_0x29ec9d){var _0x54b5bc=_0x16ccb4;this[_0x54b5bc(0x400)](),this[_0x54b5bc(0x420)](this[_0x54b5bc(0x428)][_0x54b5bc(0x2d2)](_0x29ec9d)),this['_unlockTransition']();}[_0x16ccb4(0x2e4)](_0x200e2a){var _0x2db149=_0x16ccb4;if(!(_0x200e2a['revision']<=this[_0x2db149(0x344)][_0x2db149(0x2c8)](this[_0x2db149(0x20d)]))){if(this[_0x2db149(0x40e)]){this[_0x2db149(0x260)]['push'](_0x200e2a);return;}this['_applyRemoteChangeset'](_0x200e2a);}}[_0x16ccb4(0x254)](){var _0x3c43d8=_0x16ccb4;this[_0x3c43d8(0x260)][_0x3c43d8(0x296)](_0x4476c7=>this['_applyRemoteChangeset'](_0x4476c7)),this['_remoteChangesetQueue']=[];}[_0x16ccb4(0x1ca)](_0x6e1e6a){var _0x3a4de8=_0x16ccb4;const _0x30f692=this[_0x3a4de8(0x347)]['interceptor'][_0x3a4de8(0x177)](this[_0x3a4de8(0x347)]['interceptor'][_0x3a4de8(0x206)]()[_0x3a4de8(0x1bf)])(_0x6e1e6a[_0x3a4de8(0x14f)],null)||_0x6e1e6a[_0x3a4de8(0x14f)],_0x59f065={..._0x6e1e6a,'mutations':_0x30f692};this['_lockTransition'](),this['_updateState'](this['_state'][_0x3a4de8(0x2b4)](_0x59f065)),this[_0x3a4de8(0x359)]();}[_0x16ccb4(0x2bc)](_0x130d5f){var _0x22c7bd=_0x16ccb4;this[_0x22c7bd(0x400)](),this[_0x22c7bd(0x420)](this[_0x22c7bd(0x428)][_0x22c7bd(0x2e7)](_0x130d5f)),this[_0x22c7bd(0x359)]();}[_0x16ccb4(0x2e8)](_0x461ce0){var _0x225cce=_0x16ccb4;this[_0x225cce(0x400)](),this[_0x225cce(0x420)](this['_state'][_0x225cce(0x37e)](_0x461ce0)),this[_0x225cce(0x359)]();}[_0x16ccb4(0x2b7)](_0x15af38){var _0x346144=_0x16ccb4;this[_0x346144(0x400)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x15af38)),this[_0x346144(0x359)]();}['_onFetchMissResult'](_0x502313){var _0x2e8915=_0x16ccb4;if(!(this[_0x2e8915(0x428)]instanceof ee))throw new TypeError(_0x2e8915(0x164));const _0x2c3280=_0x502313[_0x2e8915(0x150)](_0x44ca42=>{var _0x4422cf=_0x2e8915;const _0x19a513=this['_compressMutationService'][_0x4422cf(0x316)][_0x4422cf(0x177)](this['_compressMutationService'][_0x4422cf(0x316)][_0x4422cf(0x206)]()[_0x4422cf(0x1bf)])(_0x44ca42['mutations'],null)||_0x44ca42[_0x4422cf(0x14f)];return{..._0x44ca42,'mutations':_0x19a513};});this['_lockTransition'](),this[_0x2e8915(0x420)](this['_state'][_0x2e8915(0x12d)](_0x2c3280)),this[_0x2e8915(0x359)]();}[_0x16ccb4(0x1ec)](){var _0x2905c3=_0x16ccb4;this[_0x2905c3(0x400)](),this['_updateState'](this['_state'][_0x2905c3(0x14e)]()),this[_0x2905c3(0x359)]();}[_0x16ccb4(0x3e0)](_0x15da2f=!0x1){var _0xb45775=_0x16ccb4;this[_0xb45775(0x400)](),this['_updateState'](this[_0xb45775(0x428)][_0xb45775(0x37a)]()),this['_unlockTransition']();const _0x466644=this[_0xb45775(0x428)];_0x15da2f&&_0x466644 instanceof Ne&&(this[_0xb45775(0x400)](),this['_updateState'](_0x466644[_0xb45775(0x38d)]()),this[_0xb45775(0x359)]());}async[_0x16ccb4(0x395)](){return new Promise(_0x17edd4=>{var _0x48838a=_0x1439;this['session'][_0x48838a(0x24f)][_0x48838a(0x1f5)](_0x4bc8d4(0x1))['subscribe'](async _0x4cc6e3=>{var _0x10ec83=_0x48838a;_0x17edd4(await this['_createInitialStateImpl'](_0x4cc6e3===Ee[_0x10ec83(0x323)]));});});}['_createHandler'](){var _0x8c3a4c=_0x16ccb4;const _0x17dfdc=this[_0x8c3a4c(0x20d)];return{'onStateChange':(_0x156e59,_0x3c5a9b)=>{var _0x2a11bb=_0x8c3a4c;if(_0x156e59!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x156e59['status']+'\x0aAfter:\x20'+_0x3c5a9b[_0x2a11bb(0x3c7)]+'\x0aCurrent:\x20'+this[_0x2a11bb(0x428)][_0x2a11bb(0x3c7)]);this[_0x2a11bb(0x420)](_0x3c5a9b);},'onSendChangeset':_0x2922e8=>{var _0x268551=_0x8c3a4c;_0x2922e8['sid']||(_0x2922e8[_0x268551(0x127)]=this['_changesetSessionId'],_0x2922e8[_0x268551(0x3af)]=++this[_0x268551(0x41f)]);const _0x572854={'eventID':_0x8288a1[_0x268551(0x193)],'data':{'unitID':_0x2922e8[_0x268551(0x20d)],'unitType':this[_0x268551(0x29f)],'changeset':_0x2922e8,'memberID':this['session'][_0x268551(0x173)]()}};this[_0x268551(0x125)][_0x268551(0x235)](_0x572854,this[_0x268551(0x20d)]);},'onMissingChangesets':({from:_0x5a9a2e,to:_0x57f9a3})=>{var _0x3587e4=_0x8c3a4c;this[_0x3587e4(0x3d9)][_0x3587e4(0x1d9)](_0x3587e4(0x162),_0x3587e4(0x141)+_0x5a9a2e+_0x3587e4(0x3e2)+_0x57f9a3);const _0x5ba592={'eventID':_0x8288a1[_0x3587e4(0x381)],'data':{'unitID':_0x17dfdc,'unitType':this['_type'],'from':_0x5a9a2e,'to':_0x57f9a3}};this[_0x3587e4(0x125)][_0x3587e4(0x235)](_0x5ba592,this[_0x3587e4(0x20d)]);}};}async[_0x16ccb4(0x3dd)](_0x385946){var _0xca16ab=_0x16ccb4,_0x40c42a,_0x4f81b4,_0x407696;const _0x1ba118=await((_0x40c42a=this['_localCacheService'])==null?void 0x0:_0x40c42a[_0xca16ab(0x21f)](this['unitID'])),_0x36c475=(_0x4f81b4=_0x1ba118==null?void 0x0:_0x1ba118[_0xca16ab(0x14f)])!=null?_0x4f81b4:[],_0x221e5=(_0x407696=_0x1ba118==null?void 0x0:_0x1ba118[_0xca16ab(0x229)])!=null?_0x407696:null,_0x4d7c91=!!(_0x221e5!=null&&_0x221e5[_0xca16ab(0x127)])&&!!(_0x221e5!=null&&_0x221e5[_0xca16ab(0x3af)]);this[_0xca16ab(0x2fd)]=_0x4d7c91?_0x221e5['sid']:Xr(),this['_changesetReqId']=_0x4d7c91?_0x221e5[_0xca16ab(0x3af)]:0x0;const _0x3d564d=this[_0xca16ab(0x20d)];try{this[_0xca16ab(0x2fa)](_0x221e5,_0x36c475);}catch(_0x1cae83){this[_0xca16ab(0x3d9)][_0xca16ab(0x34e)](_0x1cae83);}const _0x55e0b9=this['_createHandler']();if(_0x385946){const _0x6af03a=Oi(this['_injector'],_0x3d564d,this[_0xca16ab(0x29f)],_0x221e5,_0x36c475,_0x55e0b9);return _0x6af03a instanceof oe?_0x6af03a['_schedule']():(_0x6af03a instanceof ae||_0x6af03a instanceof le)&&_0x6af03a['resend'](),_0x6af03a;}return this['_injector'][_0xca16ab(0x2fc)](de,_0x3d564d,this['_type'],_0x221e5,_0x36c475,_0x55e0b9);}[_0x16ccb4(0x2fa)](_0x281830,_0x9781a7){var _0x4d8436=_0x16ccb4,_0xa93a6c,_0x5ed213;const _0x24771a=this[_0x4d8436(0x347)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4d8436(0x316)][_0x4d8436(0x206)]()[_0x4d8436(0x1bf)]);(_0xa93a6c=_0x24771a((_0x281830==null?void 0x0:_0x281830[_0x4d8436(0x14f)])||[],null))==null||_0xa93a6c['forEach'](_0x29f6f7=>this['_commandService'][_0x4d8436(0x152)](_0x29f6f7['id'],_0x29f6f7[_0x4d8436(0x27c)])),(_0x5ed213=_0x24771a(_0x9781a7||[],null))==null||_0x5ed213[_0x4d8436(0x296)](_0x57b107=>this[_0x4d8436(0x399)][_0x4d8436(0x152)](_0x57b107['id'],_0x57b107[_0x4d8436(0x27c)]));}};rt=xt([H(0x3,_0x22fd22(_0x159af1)),H(0x4,_0x22fd22(_0x471865)),H(0x5,_0x22fd22(_0x398bdd)),H(0x6,_0x22fd22(_0x396d60)),H(0x7,_0x22fd22(pe)),H(0x8,_0x3e2fe0),H(0x9,_0x4b595d),H(0xa,_0x9e91ec),H(0xb,_0x2f418b(ht)),H(0xc,_0x2f418b(J))],rt);let It=class extends rt{constructor(_0x23c821,_0x5261ee,_0x17e3ab,_0x6f8c43,_0x1b1dc4,_0x5ceb0e,_0x1eaf7f,_0x4b837b,_0x491791,_0x100dbe,_0x3e31e2,_0xea23c5,_0x20c7a2){var _0x3b9219=_0x16ccb4;super(_0x23c821,_0x17e3ab,_0x5261ee,_0x6f8c43,_0x1b1dc4,_0x5ceb0e,_0x1eaf7f,_0x4b837b,_0x491791,_0x100dbe,_0x3e31e2,_0xea23c5,_0x20c7a2),N(this,'_handlerCallback',null),(this[_0x3b9219(0x20d)]=_0x23c821,this[_0x3b9219(0x319)]=_0x5261ee);}[_0x16ccb4(0x271)](_0x5b1d17){var _0xe3e375=_0x16ccb4;this[_0xe3e375(0x257)]=_0x5b1d17;}[_0x16ccb4(0x1d4)](){var _0x590231=_0x16ccb4;this[_0x590231(0x257)]=null,super['dispose']();}[_0x16ccb4(0x33a)](){var _0x3058e8=_0x16ccb4;const _0x471888=super[_0x3058e8(0x33a)]();return _0x471888[_0x3058e8(0x25a)]=_0x3f1e65=>{var _0x170c4d=_0x3058e8,_0x373e4e,_0x146588;return(_0x146588=(_0x373e4e=this['_handlerCallback'])==null?void 0x0:_0x373e4e['onTransformIME'])==null?void 0x0:_0x146588[_0x170c4d(0x188)](_0x373e4e,_0x3f1e65);},_0x471888[_0x3058e8(0x1f9)]=_0x36f04c=>{var _0x3ca7e0=_0x3058e8,_0x5c2e91,_0x3e7818;return(_0x3e7818=(_0x5c2e91=this[_0x3ca7e0(0x257)])==null?void 0x0:_0x5c2e91[_0x3ca7e0(0x1f9)])==null?void 0x0:_0x3e7818['call'](_0x5c2e91,_0x36f04c);},_0x471888[_0x3058e8(0x408)]=_0x5294b2=>{var _0x25074e=_0x3058e8,_0xb278dc,_0x390a32;return(_0x390a32=(_0xb278dc=this[_0x25074e(0x257)])==null?void 0x0:_0xb278dc['onTransformSelections'])==null?void 0x0:_0x390a32[_0x25074e(0x188)](_0xb278dc,_0x5294b2);},_0x471888[_0x3058e8(0x284)]=_0x2865b5=>{var _0x31097e=_0x3058e8,_0x364b5a,_0x559d75;return(_0x559d75=(_0x364b5a=this['_handlerCallback'])==null?void 0x0:_0x364b5a[_0x31097e(0x284)])==null?void 0x0:_0x559d75['call'](_0x364b5a,_0x2865b5);},_0x471888['onTransformRemoteChangesetByIMECache']=_0x2d847f=>{var _0x1f709c=_0x3058e8,_0x124e40,_0xbe24b8,_0x13b839;if(!((_0x124e40=this[_0x1f709c(0x257)])!=null&&_0x124e40['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1f709c(0x23f));return(_0x13b839=(_0xbe24b8=this[_0x1f709c(0x257)])==null?void 0x0:_0xbe24b8[_0x1f709c(0x3c1)])==null?void 0x0:_0x13b839[_0x1f709c(0x188)](_0xbe24b8,_0x2d847f);},_0x471888['onTransformRemoteChangesetByStateCache']=_0x2d9e09=>{var _0x127789=_0x3058e8,_0x3f0554,_0x5bb191,_0x1216eb;if(!((_0x3f0554=this[_0x127789(0x257)])!=null&&_0x3f0554[_0x127789(0x3d2)]))throw new Error(_0x127789(0x39f));return(_0x1216eb=(_0x5bb191=this[_0x127789(0x257)])==null?void 0x0:_0x5bb191[_0x127789(0x3d2)])==null?void 0x0:_0x1216eb[_0x127789(0x188)](_0x5bb191,_0x2d9e09);},_0x471888;}async[_0x16ccb4(0x364)](){var _0x56678f=_0x16ccb4;const _0x53a553=await super['_init']();return this['disposeWithMe'](this[_0x56678f(0x399)][_0x56678f(0x371)]((_0x2296f8,_0xaac9cd)=>{var _0x285774=_0x56678f;if(_0x2296f8[_0x285774(0x319)]!==_0xfe5fdf[_0x285774(0x16a)]||_0xaac9cd!=null&&_0xaac9cd[_0x285774(0x3d4)]||_0xaac9cd!=null&&_0xaac9cd[_0x285774(0x186)]||_0x2296f8['id']===_0x523ad8['id'])return;const _0x2b4c9f=_0x2296f8[_0x285774(0x27c)];if((_0x2b4c9f==null?void 0x0:_0x2b4c9f[_0x285774(0x38f)])!==this[_0x285774(0x20d)])return;const _0x2fb9e8=_0x2296f8,_0x61ec89=this[_0x285774(0x347)]['interceptor']['fetchThroughInterceptors'](this[_0x285774(0x347)][_0x285774(0x316)][_0x285774(0x206)]()[_0x285774(0x15e)])([_0x2fb9e8],null)||[_0x2fb9e8];this['_onLocalMutation'](_0x61ec89[0x0]);})),_0x53a553;}};It=xt([H(0x3,_0x22fd22(_0x159af1)),H(0x4,_0x22fd22(_0x471865)),H(0x5,_0x22fd22(_0x398bdd)),H(0x6,_0x22fd22(_0x396d60)),H(0x7,_0x22fd22(pe)),H(0x8,_0x3e2fe0),H(0x9,_0x4b595d),H(0xa,_0x9e91ec),H(0xb,_0x2f418b(ht)),H(0xc,_0x2f418b(J))],It);let Tt=class extends rt{constructor(_0x18d450,_0x2b5dbc,_0x1019e0,_0x539621,_0x1055a9,_0x97f1a,_0x51d881,_0x24f465,_0x309b22,_0x160cc1,_0x48823b,_0x51827f,_0xeff250,_0x1779ce){var _0x5acf71=_0x16ccb4;super(_0x18d450,_0x1019e0,_0x2b5dbc,_0x539621,_0x1055a9,_0x97f1a,_0x51d881,_0x309b22,_0x160cc1,_0x48823b,_0x51827f,_0xeff250,_0x1779ce),this[_0x5acf71(0x20d)]=_0x18d450,this[_0x5acf71(0x319)]=_0x2b5dbc,this['_sheetTransformSelectionsService']=_0x24f465;}[_0x16ccb4(0x33a)](){var _0x4012e0=_0x16ccb4;const _0x5b5d68=super['_createHandler']();return _0x5b5d68[_0x4012e0(0x408)]=_0x5aaaab=>this[_0x4012e0(0x197)][_0x4012e0(0x247)](_0x5aaaab),_0x5b5d68;}async[_0x16ccb4(0x364)](){var _0x15afc1=_0x16ccb4;const _0x1997f2=await super[_0x15afc1(0x364)]();return this[_0x15afc1(0x32a)](this[_0x15afc1(0x399)]['onCommandExecuted']((_0x3b69a8,_0x991ab3)=>{var _0x16ae71=_0x15afc1;if(_0x3b69a8[_0x16ae71(0x319)]!==_0xfe5fdf[_0x16ae71(0x16a)]||_0x991ab3!=null&&_0x991ab3[_0x16ae71(0x3d4)]||_0x991ab3!=null&&_0x991ab3['onlyLocal'])return;const _0x10564c=_0x3b69a8[_0x16ae71(0x27c)];if((_0x10564c==null?void 0x0:_0x10564c[_0x16ae71(0x38f)])!==this[_0x16ae71(0x20d)])return;const _0x5c10ea=_0x3b69a8,_0x38bb85=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x16ae71(0x347)][_0x16ae71(0x316)]['getInterceptPoints']()[_0x16ae71(0x15e)])([_0x5c10ea],null)||[_0x5c10ea];this['_onLocalMutation'](_0x38bb85[0x0]);})),_0x1997f2;}};Tt=xt([H(0x3,_0x22fd22(_0x159af1)),H(0x4,_0x22fd22(_0x471865)),H(0x5,_0x22fd22(_0x398bdd)),H(0x6,_0x22fd22(_0x396d60)),H(0x7,_0x22fd22(it)),H(0x8,_0x22fd22(pe)),H(0x9,_0x3e2fe0),H(0xa,_0x4b595d),H(0xb,_0x9e91ec),H(0xc,_0x2f418b(ht)),H(0xd,_0x2f418b(J))],Tt);var an=Object[_0x16ccb4(0x1ed)],cn=(_0x9defc5,_0x2f69e2,_0x35f16a,_0x201926)=>{for(var _0xffd64e=_0x201926>0x1?void 0x0:_0x201926?an(_0x2f69e2,_0x35f16a):_0x2f69e2,_0x185c1b=_0x9defc5['length']-0x1,_0x5a32f3;_0x185c1b>=0x0;_0x185c1b--)(_0x5a32f3=_0x9defc5[_0x185c1b])&&(_0xffd64e=_0x5a32f3(_0xffd64e)||_0xffd64e);return _0xffd64e;},ft=(_0x3097c5,_0x4bcde0)=>(_0x22b644,_0x309d14)=>_0x4bcde0(_0x22b644,_0x309d14,_0x3097c5);let nt=class extends _0x58c729{constructor(_0x4e0a9d,_0x396fcb,_0x441835){var _0x374315=_0x16ccb4;super(),N(this,_0x374315(0x151),new Map()),N(this,_0x374315(0x179),new _0x21446f()),N(this,_0x374315(0x326),this['_entityInit$'][_0x374315(0x2f8)]()),(this[_0x374315(0x412)]=_0x4e0a9d,this[_0x374315(0x39e)]=_0x396fcb,this[_0x374315(0x336)]=_0x441835,this[_0x374315(0x364)]());}['dispose'](){var _0x2f73c3=_0x16ccb4;super[_0x2f73c3(0x1d4)](),this[_0x2f73c3(0x151)]['forEach'](_0xbae8ea=>_0xbae8ea[_0x2f73c3(0x1d4)]()),this[_0x2f73c3(0x151)][_0x2f73c3(0x1b2)]();}[_0x16ccb4(0x132)](_0x186481){var _0x349366=_0x16ccb4,_0x4de83b;return(_0x4de83b=this[_0x349366(0x151)]['get'](_0x186481))!=null?_0x4de83b:null;}['getCollabEntity$'](_0x15538b){var _0x4c13c6=_0x16ccb4;const _0x4d66d1=this[_0x4c13c6(0x132)](_0x15538b);return _0x4d66d1?_0x3ac148(_0x4d66d1):this['_entityInit$']['pipe'](_0x176667(_0xb3dca1=>_0xb3dca1[_0x4c13c6(0x20d)]===_0x15538b));}[_0x16ccb4(0x22c)](_0x1a8e40){return _0x2b8909(this['getCollabEntity$'](_0x1a8e40)['pipe'](_0x275cdc(()=>{})));}['_init'](){var _0x25e59d=_0x16ccb4;this[_0x25e59d(0x336)]['getTypeOfUnitAdded$'](_0x14257c[_0x25e59d(0x2ac)])['pipe'](_0x41d697(this[_0x25e59d(0x267)]),_0x15839a(0x10))[_0x25e59d(0x3e5)](async _0x378817=>{var _0x11a364=_0x25e59d;const _0xe2ce36=_0x378817[_0x11a364(0x2d4)](),_0x4acb10=await this[_0x11a364(0x335)](_0xe2ce36,Q[_0x11a364(0x2ac)]);this[_0x11a364(0x151)][_0x11a364(0x3b5)](_0xe2ce36,_0x4acb10);}),this[_0x25e59d(0x336)][_0x25e59d(0x1ae)](_0x14257c[_0x25e59d(0x1bc)])[_0x25e59d(0x1f5)](_0x41d697(this[_0x25e59d(0x267)]),_0x15839a(0x10))[_0x25e59d(0x1f5)](_0x176667(_0x30be4f=>!_0x30be4f[_0x25e59d(0x2d4)]()[_0x25e59d(0x2ad)]('__')))[_0x25e59d(0x3e5)](async _0x430c9c=>{var _0x586fd6=_0x25e59d;const _0x37c568=_0x430c9c[_0x586fd6(0x2d4)](),_0x1bc880=await this[_0x586fd6(0x335)](_0x37c568,Q[_0x586fd6(0x1bc)]);this[_0x586fd6(0x151)][_0x586fd6(0x3b5)](_0x37c568,_0x1bc880);}),_0x2c880e(this['_univerInstanceService'][_0x25e59d(0x281)](_0x14257c['UNIVER_SHEET']),this[_0x25e59d(0x336)]['getTypeOfUnitDisposed$'](_0x14257c[_0x25e59d(0x1bc)]))[_0x25e59d(0x1f5)](_0x41d697(this['dispose$']))[_0x25e59d(0x3e5)](_0x4d4c3f=>{var _0x4f759a=_0x25e59d;const _0x328db5=_0x4d4c3f['getUnitId'](),_0x3224f8=this[_0x4f759a(0x151)][_0x4f759a(0x2be)](_0x328db5);_0x3224f8&&(_0x3224f8['dispose'](),this[_0x4f759a(0x151)][_0x4f759a(0x2d0)](_0x328db5));});}async[_0x16ccb4(0x335)](_0x30bb74,_0x5d6e5c){var _0xd549a5=_0x16ccb4;const _0x25d8dc=await this[_0xd549a5(0x39e)][_0xd549a5(0x300)](_0x30bb74),_0x4f713d=this['_injector'][_0xd549a5(0x2fc)](this[_0xd549a5(0x2ec)](_0x5d6e5c),_0x30bb74,_0x5d6e5c,_0x25d8dc);return await _0x4f713d[_0xd549a5(0x3da)](),this['_entityInit$']['next'](_0x4f713d),_0x4f713d;}[_0x16ccb4(0x2ec)](_0x4ff31d){var _0x2cb34a=_0x16ccb4;switch(_0x4ff31d){case Q[_0x2cb34a(0x1bc)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4ff31d);}}};nt=cn([ft(0x0,_0x22fd22(_0x159af1)),ft(0x1,_0x22fd22(Le)),ft(0x2,_0x1e29c1)],nt);var hn=Object[_0x16ccb4(0x1ed)],_n=(_0x3ca660,_0x1fdc24,_0x2ac816,_0x178497)=>{var _0x3606e2=_0x16ccb4;for(var _0x5ad607=_0x178497>0x1?void 0x0:_0x178497?hn(_0x1fdc24,_0x2ac816):_0x1fdc24,_0x269204=_0x3ca660[_0x3606e2(0x31d)]-0x1,_0x32e5e8;_0x269204>=0x0;_0x269204--)(_0x32e5e8=_0x3ca660[_0x269204])&&(_0x5ad607=_0x32e5e8(_0x5ad607)||_0x5ad607);return _0x5ad607;},zt=(_0xd359ed,_0x180428)=>(_0x3a5e9d,_0x351214)=>_0x180428(_0x3a5e9d,_0x351214,_0xd359ed);const ln='DEFAULT_FILE_NAME',un=_0x16ccb4(0x142);let Ct=class extends _0x3972d8{constructor(_0x564f14,_0x11d1a3){var _0x144968=_0x16ccb4;super(),this['_univerInstanceService']=_0x564f14,this[_0x144968(0x17a)]=_0x11d1a3,this[_0x144968(0x364)]();}[_0x16ccb4(0x364)](){var _0x25ff03=_0x16ccb4;this[_0x25ff03(0x32a)](this[_0x25ff03(0x336)][_0x25ff03(0x1cf)][_0x25ff03(0x3e5)](()=>{var _0x3ed053=_0x25ff03,_0x5ad9b9;const _0x169b67=this[_0x3ed053(0x336)][_0x3ed053(0x365)]();let _0x90d4b9=(_0x5ad9b9=this[_0x3ed053(0x17a)][_0x3ed053(0x346)](ln))!=null?_0x5ad9b9:un;_0x169b67 instanceof _0xfbae5b&&(_0x90d4b9=_0x169b67[_0x3ed053(0x337)]),document['title']=_0x90d4b9;}));}};Ct=_n([zt(0x0,_0x1e29c1),zt(0x1,_0x1c1cc7)],Ct);var dn=Object[_0x16ccb4(0x1ed)],fn=(_0x5910d0,_0x3d2651,_0x8dc1bc,_0x29c5db)=>{var _0x5e3960=_0x16ccb4;for(var _0x405559=_0x29c5db>0x1?void 0x0:_0x29c5db?dn(_0x3d2651,_0x8dc1bc):_0x3d2651,_0x4b0919=_0x5910d0[_0x5e3960(0x31d)]-0x1,_0x469211;_0x4b0919>=0x0;_0x4b0919--)(_0x469211=_0x5910d0[_0x4b0919])&&(_0x405559=_0x469211(_0x405559)||_0x405559);return _0x405559;},vt=(_0x43dcc2,_0x183d41)=>(_0x2f6647,_0x445314)=>_0x183d41(_0x2f6647,_0x445314,_0x43dcc2);let st=class{constructor(_0x15f085,_0x6425fa,_0x58de8b){var _0x362d06=_0x16ccb4;this[_0x362d06(0x17a)]=_0x15f085,this[_0x362d06(0x374)]=_0x6425fa,this[_0x362d06(0x2a8)]=_0x58de8b,this[_0x362d06(0x3da)]();}[_0x16ccb4(0x3da)](){var _0x221dd9=_0x16ccb4;this[_0x221dd9(0x374)][_0x221dd9(0x225)]({'priority':0x1,'interceptor':(_0x26b990,_0x5af5f9)=>_0x5af5f9(_0x26b990)['pipe'](_0x262a1d(async _0x18f16b=>{var _0x3de327=_0x221dd9;const _0x28a069=_0x18f16b;if(_0x28a069[_0x3de327(0x3c7)]===0x191){if(typeof window>'u')throw new Error(_0x3de327(0x3e3));if(window[_0x3de327(0x1c4)](this[_0x3de327(0x2a8)]['t'](_0x3de327(0x280)))){const _0x4e1436=window['encodeURIComponent'](window[_0x3de327(0x330)][_0x3de327(0x35a)]);window['location'][_0x3de327(0x35a)]=this[_0x3de327(0x3ee)]()+_0x3de327(0x33d)+_0x4e1436;}}return _0x28a069;}))});}[_0x16ccb4(0x3ee)](){var _0x5f063b=_0x16ccb4,_0x469043,_0x2691b6;const _0x45b797=this[_0x5f063b(0x17a)][_0x5f063b(0x346)](Dr),_0x5ab777=this[_0x5f063b(0x17a)]['getConfig'](q);return(_0x2691b6=(_0x469043=_0x5ab777==null?void 0x0:_0x5ab777[_0x5f063b(0x402)])!=null?_0x469043:_0x45b797)!=null?_0x2691b6:wr;}};st=fn([vt(0x0,_0x1c1cc7),vt(0x1,_0x22fd22(_0x9b2c39)),vt(0x2,_0x22fd22(_0x398bdd))],st);var vn=Object[_0x16ccb4(0x1ed)],pn=(_0x4bf10e,_0x2cf329,_0x1f9cd5,_0x10b8bb)=>{var _0x461648=_0x16ccb4;for(var _0x4bbe3f=_0x10b8bb>0x1?void 0x0:_0x10b8bb?vn(_0x2cf329,_0x1f9cd5):_0x2cf329,_0x492f45=_0x4bf10e[_0x461648(0x31d)]-0x1,_0x23f9ff;_0x492f45>=0x0;_0x492f45--)(_0x23f9ff=_0x4bf10e[_0x492f45])&&(_0x4bbe3f=_0x23f9ff(_0x4bbe3f)||_0x4bbe3f);return _0x4bbe3f;},Jt=(_0x338e0f,_0x8d006f)=>(_0x3ccb2c,_0x323e7b)=>_0x8d006f(_0x3ccb2c,_0x323e7b,_0x338e0f);const Ni=_0x16ccb4(0x36a),mn='/universer-api/authz';let Rt=class extends _0x3972d8{constructor(_0x3c9253,_0x5c2a4f){var _0x13a22a=_0x16ccb4;super(),this[_0x13a22a(0x2c9)]=_0x3c9253,this[_0x13a22a(0x17a)]=_0x5c2a4f,this[_0x13a22a(0x1cd)]();}[_0x16ccb4(0x1cd)](){var _0x3fe666=_0x16ccb4;const _0xc770dd=this;this[_0x3fe666(0x32a)](this[_0x3fe666(0x2c9)][_0x3fe666(0x225)]({'priority':0x3e7,'interceptor':_0x224fb0({'isMatch'(_0x10ba1b){var _0x52f33a=_0x3fe666,_0x4a28e1;if(_0x10ba1b[_0x52f33a(0x240)]===_0x52f33a(0x33b)&&((_0x4a28e1=_0x10ba1b[_0x52f33a(0x3c6)])!=null&&_0x4a28e1[_0x52f33a(0x305)])){const {objectID:_0x4f0eae,objectType:_0x5cbd1b}=_0x10ba1b[_0x52f33a(0x3c6)]['body']||{};if(!_0x4f0eae||_0x5cbd1b===void 0x0)return!0x1;const _0x477fab=_0xc770dd[_0x52f33a(0x2db)]()+'/'+_0x5cbd1b+_0x52f33a(0x2ff)+_0x4f0eae+_0x52f33a(0x251);if(_0x10ba1b[_0x52f33a(0x3f9)]===_0x477fab)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2ad1a4){var _0x365f00=_0x3fe666,_0x4ef83b;return(_0x4ef83b=_0x2ad1a4[_0x365f00(0x3c6)])==null?void 0x0:_0x4ef83b['body'];},'mergeParamsToRequest'(_0x4dec1f,_0x4cbd1f){var _0x2c7133=_0x3fe666;const _0x157017=_0xc770dd[_0x2c7133(0x2db)]()+'/-/object/-/batch_allowed',_0x50a192=_0x4dec1f['reduce']((_0x573d23,_0x4452df)=>{var _0x5a30a0=_0x2c7133;const {unitID:_0x37ecab,objectID:_0x3a4201,objectType:_0x120f44,actions:_0x498bb8}=_0x4452df;return _0x573d23[_0x37ecab]||(_0x573d23[_0x37ecab]={}),_0x573d23[_0x37ecab][_0x3a4201]||(_0x573d23[_0x37ecab][_0x3a4201]={'objectID':_0x3a4201,'objectType':_0x120f44,'actions':[]}),_0x573d23[_0x37ecab][_0x3a4201]['actions'][_0x5a30a0(0x33e)](..._0x498bb8),_0x573d23;},{}),_0x47c880=[];for(const _0x193eb6 in _0x50a192)for(const _0x1065cc in _0x50a192[_0x193eb6]){const {actions:_0x49a6a9,objectType:_0x48d790}=_0x50a192[_0x193eb6][_0x1065cc],_0x4b7504=[...new Set(_0x49a6a9)];_0x47c880[_0x2c7133(0x33e)]({'unitID':_0x193eb6,'objectID':_0x1065cc,'objectType':_0x48d790,'actions':_0x4b7504});}return new _0x2946a9(_0x2c7133(0x33b),_0x157017,{'headers':_0x4cbd1f['headers'],'withCredentials':_0x4cbd1f[_0x2c7133(0x2c3)],'responseType':_0x4cbd1f[_0x2c7133(0x1f1)],'body':{'requests':_0x47c880}});}},{'distributeResult'(_0x2d7b01,_0x3a6641){var _0x55c878=_0x3fe666;const {objectActions:_0x9cfc2f}=_0x2d7b01;return _0x3a6641[_0x55c878(0x150)](_0xaebefd=>{var _0x214814=_0x55c878;const {unitID:_0x693ff7,objectID:_0x3982f5,actions:_0xd54aad}=_0xaebefd,_0x5cc896=_0x9cfc2f[_0x214814(0x1f7)](_0x365728=>_0x365728[_0x214814(0x20d)]===_0x693ff7&&_0x365728['objectID']===_0x3982f5),_0xb92f54=_0xd54aad[_0x214814(0x150)](_0x32a2e3=>_0x5cc896==null?void 0x0:_0x5cc896[_0x214814(0x1cb)]['find'](_0x1c2de5=>_0x1c2de5[_0x214814(0x3b2)]===_0x32a2e3))[_0x214814(0x128)](_0x36166c=>!!_0x36166c);return{'config':_0xaebefd,'result':{'actions':_0xb92f54,'error':_0x2d7b01[_0x214814(0x34e)]}};});}})}));}[_0x16ccb4(0x2db)](){var _0x1fe8ba=_0x16ccb4,_0x27c4e2,_0x31b523;const _0x18c1f4=this[_0x1fe8ba(0x17a)][_0x1fe8ba(0x346)](Ni),_0x56a7c3=this[_0x1fe8ba(0x17a)][_0x1fe8ba(0x346)](q);return(_0x31b523=(_0x27c4e2=_0x56a7c3==null?void 0x0:_0x56a7c3[_0x1fe8ba(0x19a)])!=null?_0x27c4e2:_0x18c1f4)!=null?_0x31b523:mn;}async[_0x16ccb4(0x2a3)](_0x49430d){var _0x1e5e81=_0x16ccb4;const _0x1adf7d=this['_getAPIPrefixPath']()+'/'+_0x49430d['objectType']+_0x1e5e81(0x1f0);return(await this['_HTTPService'][_0x1e5e81(0x14a)](_0x1adf7d,{'body':_0x49430d}))[_0x1e5e81(0x305)][_0x1e5e81(0x342)]||'';}async[_0x16ccb4(0x340)](_0x5872a7){var _0x3f1986=_0x16ccb4;const _0xd38c04=this[_0x3f1986(0x2db)]()+_0x3f1986(0x126);return(await this[_0x3f1986(0x2c9)][_0x3f1986(0x14a)](_0xd38c04,{'body':_0x5872a7}))[_0x3f1986(0x305)][_0x3f1986(0x40b)];}async[_0x16ccb4(0x1fd)](_0x1c987b){var _0x212238=_0x16ccb4;const _0x4d791e=this[_0x212238(0x2db)]()+'/'+_0x1c987b[_0x212238(0x2c1)]+_0x212238(0x2ff)+_0x1c987b[_0x212238(0x342)];await this['_HTTPService'][_0x212238(0x385)](_0x4d791e,{'body':_0x1c987b});}async[_0x16ccb4(0x41a)](_0x25befa){var _0x5a48a4=_0x16ccb4;const _0x149df1=this[_0x5a48a4(0x2db)]()+'/'+_0x25befa[_0x5a48a4(0x2c1)]+_0x5a48a4(0x2ff)+_0x25befa['objectID']+_0x5a48a4(0x251);return(await this[_0x5a48a4(0x2c9)]['post'](_0x149df1,{'body':_0x25befa}))[_0x5a48a4(0x305)][_0x5a48a4(0x1cb)];}async[_0x16ccb4(0x24c)](_0x93f1ea){var _0x4bea67=_0x16ccb4;const _0x1d42f8=this[_0x4bea67(0x2db)]()+_0x4bea67(0x34d);return(await this['_HTTPService'][_0x4bea67(0x14a)](_0x1d42f8,{'body':{'requests':_0x93f1ea}}))[_0x4bea67(0x305)][_0x4bea67(0x2d6)];}async[_0x16ccb4(0x163)](_0x2c9cf0){var _0x249707=_0x16ccb4;const _0x3b9239=this[_0x249707(0x2db)]()+'/'+_0x2c9cf0['objectType']+_0x249707(0x202),_0x277ade=await this['_HTTPService'][_0x249707(0x14a)](_0x3b9239,{'body':_0x2c9cf0});return{'roles':_0x277ade['body']['roles'],'actions':_0x277ade['body'][_0x249707(0x1cb)]};}async[_0x16ccb4(0x405)](_0x7d2fbf){var _0x7179b4=_0x16ccb4;const _0xb8b182=this[_0x7179b4(0x2db)]()+_0x7179b4(0x2c4);await this['_HTTPService'][_0x7179b4(0x2d0)](_0xb8b182,{'params':{'collaboratorID':_0x7d2fbf[_0x7179b4(0x292)],'objectID':_0x7d2fbf[_0x7179b4(0x342)],'unitID':_0x7d2fbf['unitID']}});}async[_0x16ccb4(0x24a)](_0x46dcb8){var _0x4afd4e=_0x16ccb4;const _0x472470=this[_0x4afd4e(0x2db)]()+'/collaborator';await this[_0x4afd4e(0x2c9)][_0x4afd4e(0x234)](_0x472470,{'body':_0x46dcb8});}async[_0x16ccb4(0x3f6)](_0x34cc86){var _0x181aac=_0x16ccb4;const _0x20b1cf=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x181aac(0x14a)](_0x20b1cf,{'body':_0x34cc86});}async[_0x16ccb4(0x22a)](_0x4902df){var _0x148277=_0x16ccb4;const _0xe06289=this[_0x148277(0x2db)]()+_0x148277(0x2c4);return(await this[_0x148277(0x2c9)][_0x148277(0x2be)](_0xe06289,{'params':{'objectID':_0x4902df['objectID'],'unitID':_0x4902df[_0x148277(0x20d)]}}))['body']['collaborators'];}async[_0x16ccb4(0x218)](_0x18cf74){var _0x50c0ba=_0x16ccb4;const _0x316d48=this[_0x50c0ba(0x2db)]()+_0x50c0ba(0x2c4);await this[_0x50c0ba(0x2c9)]['put'](_0x316d48,{'body':_0x18cf74});}};Rt=pn([Jt(0x0,_0x22fd22(_0x9b2c39)),Jt(0x1,_0x22fd22(_0x1c1cc7))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x47a38b){var _0x11cc45=_0x16ccb4;return _0x47a38b&&_0x47a38b[_0x11cc45(0x1a9)]&&Object['prototype']['hasOwnProperty']['call'](_0x47a38b,_0x11cc45(0x3aa))?_0x47a38b[_0x11cc45(0x3aa)]:_0x47a38b;}var Ge={'exports':{}};function gn(_0x1be2bc){var _0x799ef6=_0x16ccb4;throw new Error(_0x799ef6(0x38e)+_0x1be2bc+_0x799ef6(0x29c));}var Ve={'exports':{}},Sn=Ve['exports'],Xt;function ie(){var _0x33f38c=_0x16ccb4;return Xt||(Xt=0x1,function(_0x29e0cb,_0x5e955c){(function(_0x26885c,_0x19e5d6){var _0x8639ab=_0x1439;_0x29e0cb[_0x8639ab(0x2f7)]=_0x19e5d6();}(Sn,function(){var _0x30a068=_0x30a068||function(_0x59fdf5,_0x44d939){var _0x566ce5=_0x1439,_0x488e61;if(typeof window<'u'&&window[_0x566ce5(0x30f)]&&(_0x488e61=window[_0x566ce5(0x30f)]),typeof self<'u'&&self[_0x566ce5(0x30f)]&&(_0x488e61=self[_0x566ce5(0x30f)]),typeof globalThis<'u'&&globalThis[_0x566ce5(0x30f)]&&(_0x488e61=globalThis[_0x566ce5(0x30f)]),!_0x488e61&&typeof window<'u'&&window['msCrypto']&&(_0x488e61=window[_0x566ce5(0x264)]),!_0x488e61&&typeof pt<'u'&&pt[_0x566ce5(0x30f)]&&(_0x488e61=pt[_0x566ce5(0x30f)]),!_0x488e61&&typeof gn==_0x566ce5(0x176))try{_0x488e61=require(_0x566ce5(0x30f));}catch{}var _0x1d12f2=function(){var _0x1da4f0=_0x566ce5;if(_0x488e61){if(typeof _0x488e61['getRandomValues']==_0x1da4f0(0x176))try{return _0x488e61[_0x1da4f0(0x138)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x488e61[_0x1da4f0(0x311)]==_0x1da4f0(0x176))try{return _0x488e61['randomBytes'](0x4)[_0x1da4f0(0x3ed)]();}catch{}}throw new Error(_0x1da4f0(0x3ac));},_0x43ce36=Object['create']||(function(){function _0x52b0f7(){}return function(_0x10ac4b){var _0x11549f=_0x1439,_0x3fff3e;return _0x52b0f7[_0x11549f(0x210)]=_0x10ac4b,_0x3fff3e=new _0x52b0f7(),_0x52b0f7[_0x11549f(0x210)]=null,_0x3fff3e;};}()),_0x82baba={},_0x570f17=_0x82baba[_0x566ce5(0x2bf)]={},_0xb5c9a8=_0x570f17[_0x566ce5(0x23d)]=(function(){return{'extend':function(_0x2e41c0){var _0x4929e3=_0x1439,_0x81e9aa=_0x43ce36(this);return _0x2e41c0&&_0x81e9aa[_0x4929e3(0x348)](_0x2e41c0),(!_0x81e9aa['hasOwnProperty']('init')||this[_0x4929e3(0x3da)]===_0x81e9aa['init'])&&(_0x81e9aa[_0x4929e3(0x3da)]=function(){var _0x1dee7e=_0x4929e3;_0x81e9aa['$super'][_0x1dee7e(0x3da)][_0x1dee7e(0x1e8)](this,arguments);}),_0x81e9aa['init']['prototype']=_0x81e9aa,_0x81e9aa[_0x4929e3(0x136)]=this,_0x81e9aa;},'create':function(){var _0x2398b7=_0x1439,_0x2bd6e2=this[_0x2398b7(0x424)]();return _0x2bd6e2[_0x2398b7(0x3da)]['apply'](_0x2bd6e2,arguments),_0x2bd6e2;},'init':function(){},'mixIn':function(_0x2f3007){var _0x39073f=_0x1439;for(var _0xd82a4d in _0x2f3007)_0x2f3007[_0x39073f(0x2f1)](_0xd82a4d)&&(this[_0xd82a4d]=_0x2f3007[_0xd82a4d]);_0x2f3007[_0x39073f(0x2f1)](_0x39073f(0x1bd))&&(this['toString']=_0x2f3007[_0x39073f(0x1bd)]);},'clone':function(){var _0x371111=_0x1439;return this[_0x371111(0x3da)][_0x371111(0x210)]['extend'](this);}};}()),_0x1bb3fa=_0x570f17[_0x566ce5(0x3cd)]=_0xb5c9a8[_0x566ce5(0x424)]({'init':function(_0x2ce5d6,_0xf27094){var _0x32f12c=_0x566ce5;_0x2ce5d6=this[_0x32f12c(0x289)]=_0x2ce5d6||[],_0xf27094!=_0x44d939?this[_0x32f12c(0x29e)]=_0xf27094:this[_0x32f12c(0x29e)]=_0x2ce5d6[_0x32f12c(0x31d)]*0x4;},'toString':function(_0x8a34f1){return(_0x8a34f1||_0x5c7d39)['stringify'](this);},'concat':function(_0x4190e6){var _0x3cc2ba=_0x566ce5,_0xe6ca55=this[_0x3cc2ba(0x289)],_0x17d3d1=_0x4190e6['words'],_0x5a6b44=this[_0x3cc2ba(0x29e)],_0x456c96=_0x4190e6['sigBytes'];if(this[_0x3cc2ba(0x293)](),_0x5a6b44%0x4)for(var _0x4034ea=0x0;_0x4034ea<_0x456c96;_0x4034ea++){var _0x27414f=_0x17d3d1[_0x4034ea>>>0x2]>>>0x18-_0x4034ea%0x4*0x8&0xff;_0xe6ca55[_0x5a6b44+_0x4034ea>>>0x2]|=_0x27414f<<0x18-(_0x5a6b44+_0x4034ea)%0x4*0x8;}else{for(var _0x46976e=0x0;_0x46976e<_0x456c96;_0x46976e+=0x4)_0xe6ca55[_0x5a6b44+_0x46976e>>>0x2]=_0x17d3d1[_0x46976e>>>0x2];}return this[_0x3cc2ba(0x29e)]+=_0x456c96,this;},'clamp':function(){var _0x1d1498=_0x566ce5,_0x753225=this[_0x1d1498(0x289)],_0x341536=this[_0x1d1498(0x29e)];_0x753225[_0x341536>>>0x2]&=0xffffffff<<0x20-_0x341536%0x4*0x8,_0x753225[_0x1d1498(0x31d)]=_0x59fdf5[_0x1d1498(0x363)](_0x341536/0x4);},'clone':function(){var _0x150e54=_0x566ce5,_0x21a4e2=_0xb5c9a8['clone']['call'](this);return _0x21a4e2['words']=this[_0x150e54(0x289)][_0x150e54(0x416)](0x0),_0x21a4e2;},'random':function(_0x3570dd){var _0x5a73df=_0x566ce5;for(var _0x1e3bca=[],_0x483549=0x0;_0x483549<_0x3570dd;_0x483549+=0x4)_0x1e3bca[_0x5a73df(0x33e)](_0x1d12f2());return new _0x1bb3fa['init'](_0x1e3bca,_0x3570dd);}}),_0x2c7538=_0x82baba[_0x566ce5(0x36f)]={},_0x5c7d39=_0x2c7538[_0x566ce5(0x16c)]={'stringify':function(_0x44c136){var _0xad80ad=_0x566ce5;for(var _0x24d049=_0x44c136[_0xad80ad(0x289)],_0x2a6352=_0x44c136[_0xad80ad(0x29e)],_0x4b71e6=[],_0xb37d8f=0x0;_0xb37d8f<_0x2a6352;_0xb37d8f++){var _0x16d424=_0x24d049[_0xb37d8f>>>0x2]>>>0x18-_0xb37d8f%0x4*0x8&0xff;_0x4b71e6['push']((_0x16d424>>>0x4)[_0xad80ad(0x1bd)](0x10)),_0x4b71e6[_0xad80ad(0x33e)]((_0x16d424&0xf)[_0xad80ad(0x1bd)](0x10));}return _0x4b71e6[_0xad80ad(0x40c)]('');},'parse':function(_0x1b286a){var _0x8b85f2=_0x566ce5;for(var _0x147441=_0x1b286a[_0x8b85f2(0x31d)],_0x38a962=[],_0x1de4ac=0x0;_0x1de4ac<_0x147441;_0x1de4ac+=0x2)_0x38a962[_0x1de4ac>>>0x3]|=parseInt(_0x1b286a['substr'](_0x1de4ac,0x2),0x10)<<0x18-_0x1de4ac%0x8*0x4;return new _0x1bb3fa['init'](_0x38a962,_0x147441/0x2);}},_0x3d1ece=_0x2c7538['Latin1']={'stringify':function(_0x40f04e){var _0x3bd984=_0x566ce5;for(var _0x59f34a=_0x40f04e[_0x3bd984(0x289)],_0x5d36f1=_0x40f04e['sigBytes'],_0x5ee689=[],_0xa133b6=0x0;_0xa133b6<_0x5d36f1;_0xa133b6++){var _0x56dfff=_0x59f34a[_0xa133b6>>>0x2]>>>0x18-_0xa133b6%0x4*0x8&0xff;_0x5ee689['push'](String[_0x3bd984(0x2b6)](_0x56dfff));}return _0x5ee689[_0x3bd984(0x40c)]('');},'parse':function(_0x2e17fa){var _0x222b35=_0x566ce5;for(var _0xd973cd=_0x2e17fa['length'],_0x5b4ce8=[],_0x4df4de=0x0;_0x4df4de<_0xd973cd;_0x4df4de++)_0x5b4ce8[_0x4df4de>>>0x2]|=(_0x2e17fa[_0x222b35(0x1b5)](_0x4df4de)&0xff)<<0x18-_0x4df4de%0x4*0x8;return new _0x1bb3fa['init'](_0x5b4ce8,_0xd973cd);}},_0x15dda3=_0x2c7538[_0x566ce5(0x383)]={'stringify':function(_0x5f0a2c){var _0x28ddb5=_0x566ce5;try{return decodeURIComponent(escape(_0x3d1ece[_0x28ddb5(0x20a)](_0x5f0a2c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3f1283){var _0x4dd6df=_0x566ce5;return _0x3d1ece[_0x4dd6df(0x181)](unescape(encodeURIComponent(_0x3f1283)));}},_0x40ec75=_0x570f17[_0x566ce5(0x214)]=_0xb5c9a8[_0x566ce5(0x424)]({'reset':function(){var _0x4e3663=_0x566ce5;this[_0x4e3663(0x2cf)]=new _0x1bb3fa[(_0x4e3663(0x3da))](),this[_0x4e3663(0x245)]=0x0;},'_append':function(_0x3e63fd){var _0xd0d0db=_0x566ce5;typeof _0x3e63fd=='string'&&(_0x3e63fd=_0x15dda3[_0xd0d0db(0x181)](_0x3e63fd)),this[_0xd0d0db(0x2cf)][_0xd0d0db(0x357)](_0x3e63fd),this[_0xd0d0db(0x245)]+=_0x3e63fd[_0xd0d0db(0x29e)];},'_process':function(_0x4ff71e){var _0x1fafee=_0x566ce5,_0x39aa9c,_0x1f7792=this[_0x1fafee(0x2cf)],_0x4a283c=_0x1f7792[_0x1fafee(0x289)],_0x48d02a=_0x1f7792['sigBytes'],_0x3cb5ef=this[_0x1fafee(0x294)],_0x5da532=_0x3cb5ef*0x4,_0x497e31=_0x48d02a/_0x5da532;_0x4ff71e?_0x497e31=_0x59fdf5['ceil'](_0x497e31):_0x497e31=_0x59fdf5[_0x1fafee(0x401)]((_0x497e31|0x0)-this[_0x1fafee(0x356)],0x0);var _0x910b9=_0x497e31*_0x3cb5ef,_0x271291=_0x59fdf5[_0x1fafee(0x274)](_0x910b9*0x4,_0x48d02a);if(_0x910b9){for(var _0x480131=0x0;_0x480131<_0x910b9;_0x480131+=_0x3cb5ef)this[_0x1fafee(0x1bb)](_0x4a283c,_0x480131);_0x39aa9c=_0x4a283c[_0x1fafee(0x231)](0x0,_0x910b9),_0x1f7792[_0x1fafee(0x29e)]-=_0x271291;}return new _0x1bb3fa['init'](_0x39aa9c,_0x271291);},'clone':function(){var _0x564407=_0x566ce5,_0x2c5178=_0xb5c9a8[_0x564407(0x1d5)]['call'](this);return _0x2c5178[_0x564407(0x2cf)]=this[_0x564407(0x2cf)][_0x564407(0x1d5)](),_0x2c5178;},'_minBufferSize':0x0});_0x570f17[_0x566ce5(0x1b9)]=_0x40ec75[_0x566ce5(0x424)]({'cfg':_0xb5c9a8['extend'](),'init':function(_0x11c9d0){var _0x3fb484=_0x566ce5;this[_0x3fb484(0x13c)]=this[_0x3fb484(0x13c)][_0x3fb484(0x424)](_0x11c9d0),this[_0x3fb484(0x304)]();},'reset':function(){var _0x52018d=_0x566ce5;_0x40ec75['reset'][_0x52018d(0x188)](this),this[_0x52018d(0x302)]();},'update':function(_0x42e60a){return this['_append'](_0x42e60a),this['_process'](),this;},'finalize':function(_0x21546e){_0x21546e&&this['_append'](_0x21546e);var _0xb5d79=this['_doFinalize']();return _0xb5d79;},'blockSize':0x10,'_createHelper':function(_0x1572d6){return function(_0x22e623,_0x5007f5){var _0x373d94=_0x1439;return new _0x1572d6[(_0x373d94(0x3da))](_0x5007f5)[_0x373d94(0x147)](_0x22e623);};},'_createHmacHelper':function(_0x54a803){return function(_0x150407,_0x51fc60){var _0x267abe=_0x1439;return new _0x14d741[(_0x267abe(0x3e1))][(_0x267abe(0x3da))](_0x54a803,_0x51fc60)[_0x267abe(0x147)](_0x150407);};}});var _0x14d741=_0x82baba['algo']={};return _0x82baba;}(Math);return _0x30a068;}));}(Ve)),Ve[_0x33f38c(0x2f7)];}var We={'exports':{}},En=We[_0x16ccb4(0x2f7)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x1bcb3e,_0x57d039){(function(_0x56d77,_0x33ffbf){var _0x16ed02=_0x1439;_0x1bcb3e[_0x16ed02(0x2f7)]=_0x33ffbf(ie());}(En,function(_0x56b573){var _0x127a58=_0x1439;return(function(){var _0x53c6a9=_0x1439,_0x75f8da=_0x56b573,_0x1d759e=_0x75f8da[_0x53c6a9(0x2bf)],_0x289c83=_0x1d759e[_0x53c6a9(0x3cd)],_0x315612=_0x75f8da[_0x53c6a9(0x36f)];_0x315612[_0x53c6a9(0x239)]={'stringify':function(_0x348352){var _0x17e1c8=_0x53c6a9,_0x539e91=_0x348352['words'],_0x40cbb9=_0x348352[_0x17e1c8(0x29e)],_0x56d38d=this[_0x17e1c8(0x35f)];_0x348352[_0x17e1c8(0x293)]();for(var _0x4b52ab=[],_0x57ba3f=0x0;_0x57ba3f<_0x40cbb9;_0x57ba3f+=0x3)for(var _0x405748=_0x539e91[_0x57ba3f>>>0x2]>>>0x18-_0x57ba3f%0x4*0x8&0xff,_0x278a09=_0x539e91[_0x57ba3f+0x1>>>0x2]>>>0x18-(_0x57ba3f+0x1)%0x4*0x8&0xff,_0x109ebb=_0x539e91[_0x57ba3f+0x2>>>0x2]>>>0x18-(_0x57ba3f+0x2)%0x4*0x8&0xff,_0xb2b82c=_0x405748<<0x10|_0x278a09<<0x8|_0x109ebb,_0x392617=0x0;_0x392617<0x4&&_0x57ba3f+_0x392617*0.75<_0x40cbb9;_0x392617++)_0x4b52ab[_0x17e1c8(0x33e)](_0x56d38d[_0x17e1c8(0x370)](_0xb2b82c>>>0x6*(0x3-_0x392617)&0x3f));var _0x30ff8f=_0x56d38d['charAt'](0x40);if(_0x30ff8f){for(;_0x4b52ab[_0x17e1c8(0x31d)]%0x4;)_0x4b52ab[_0x17e1c8(0x33e)](_0x30ff8f);}return _0x4b52ab['join']('');},'parse':function(_0x52b919){var _0x1d130f=_0x53c6a9,_0x314820=_0x52b919['length'],_0x2c3b95=this[_0x1d130f(0x35f)],_0x4bbd70=this[_0x1d130f(0x1a1)];if(!_0x4bbd70){_0x4bbd70=this[_0x1d130f(0x1a1)]=[];for(var _0x483dc1=0x0;_0x483dc1<_0x2c3b95[_0x1d130f(0x31d)];_0x483dc1++)_0x4bbd70[_0x2c3b95[_0x1d130f(0x1b5)](_0x483dc1)]=_0x483dc1;}var _0x45b910=_0x2c3b95[_0x1d130f(0x370)](0x40);if(_0x45b910){var _0x544785=_0x52b919[_0x1d130f(0x23e)](_0x45b910);_0x544785!==-0x1&&(_0x314820=_0x544785);}return _0x502bf3(_0x52b919,_0x314820,_0x4bbd70);},'_map':_0x53c6a9(0x1d2)};function _0x502bf3(_0x259960,_0x3a980a,_0x1247d7){var _0x102ead=_0x53c6a9;for(var _0x1c7c50=[],_0x3ae1f3=0x0,_0x3b918d=0x0;_0x3b918d<_0x3a980a;_0x3b918d++)if(_0x3b918d%0x4){var _0x20a83a=_0x1247d7[_0x259960[_0x102ead(0x1b5)](_0x3b918d-0x1)]<<_0x3b918d%0x4*0x2,_0x538672=_0x1247d7[_0x259960[_0x102ead(0x1b5)](_0x3b918d)]>>>0x6-_0x3b918d%0x4*0x2,_0x273eb0=_0x20a83a|_0x538672;_0x1c7c50[_0x3ae1f3>>>0x2]|=_0x273eb0<<0x18-_0x3ae1f3%0x4*0x8,_0x3ae1f3++;}return _0x289c83[_0x102ead(0x2a3)](_0x1c7c50,_0x3ae1f3);}}()),_0x56b573[_0x127a58(0x36f)][_0x127a58(0x239)];}));}(We)),We['exports'];}var Ke={'exports':{}},In=Ke[_0x16ccb4(0x2f7)],Qt;function Tn(){var _0x473ec1=_0x16ccb4;return Qt||(Qt=0x1,function(_0x582aad,_0x49478f){(function(_0x363c5a,_0x69e511){var _0x3224d1=_0x1439;_0x582aad[_0x3224d1(0x2f7)]=_0x69e511(ie());}(In,function(_0x4ec61b){return function(_0x53aab6){var _0x1cda10=_0x1439,_0x88467a=_0x4ec61b,_0x470742=_0x88467a[_0x1cda10(0x2bf)],_0x36b330=_0x470742[_0x1cda10(0x3cd)],_0x3dabbd=_0x470742[_0x1cda10(0x1b9)],_0xd60f49=_0x88467a[_0x1cda10(0x28c)],_0x47d35d=[];(function(){var _0x21e696=_0x1cda10;for(var _0x404e2f=0x0;_0x404e2f<0x40;_0x404e2f++)_0x47d35d[_0x404e2f]=_0x53aab6[_0x21e696(0x259)](_0x53aab6[_0x21e696(0x25c)](_0x404e2f+0x1))*0x100000000|0x0;}());var _0x39a2d3=_0xd60f49[_0x1cda10(0x144)]=_0x3dabbd[_0x1cda10(0x424)]({'_doReset':function(){var _0x2c9d62=_0x1cda10;this[_0x2c9d62(0x2e1)]=new _0x36b330['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x266613,_0x297768){var _0x3d92f9=_0x1cda10;for(var _0x207c01=0x0;_0x207c01<0x10;_0x207c01++){var _0x1c7180=_0x297768+_0x207c01,_0x3446f1=_0x266613[_0x1c7180];_0x266613[_0x1c7180]=(_0x3446f1<<0x8|_0x3446f1>>>0x18)&0xff00ff|(_0x3446f1<<0x18|_0x3446f1>>>0x8)&0xff00ff00;}var _0x25d1e9=this[_0x3d92f9(0x2e1)][_0x3d92f9(0x289)],_0x4ab314=_0x266613[_0x297768+0x0],_0x46bd8d=_0x266613[_0x297768+0x1],_0xa3972e=_0x266613[_0x297768+0x2],_0x282e5d=_0x266613[_0x297768+0x3],_0x5375e9=_0x266613[_0x297768+0x4],_0xbbcb1a=_0x266613[_0x297768+0x5],_0x259a19=_0x266613[_0x297768+0x6],_0x112dc8=_0x266613[_0x297768+0x7],_0x8eea6a=_0x266613[_0x297768+0x8],_0x12839a=_0x266613[_0x297768+0x9],_0x77d9ed=_0x266613[_0x297768+0xa],_0x206940=_0x266613[_0x297768+0xb],_0x1ab19e=_0x266613[_0x297768+0xc],_0x1d94d4=_0x266613[_0x297768+0xd],_0x3d1428=_0x266613[_0x297768+0xe],_0x43f938=_0x266613[_0x297768+0xf],_0x23816a=_0x25d1e9[0x0],_0x2a24cf=_0x25d1e9[0x1],_0x10ffb9=_0x25d1e9[0x2],_0x147659=_0x25d1e9[0x3];_0x23816a=_0x9c1bb4(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x4ab314,0x7,_0x47d35d[0x0]),_0x147659=_0x9c1bb4(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x46bd8d,0xc,_0x47d35d[0x1]),_0x10ffb9=_0x9c1bb4(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0xa3972e,0x11,_0x47d35d[0x2]),_0x2a24cf=_0x9c1bb4(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x282e5d,0x16,_0x47d35d[0x3]),_0x23816a=_0x9c1bb4(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x5375e9,0x7,_0x47d35d[0x4]),_0x147659=_0x9c1bb4(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0xbbcb1a,0xc,_0x47d35d[0x5]),_0x10ffb9=_0x9c1bb4(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x259a19,0x11,_0x47d35d[0x6]),_0x2a24cf=_0x9c1bb4(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x112dc8,0x16,_0x47d35d[0x7]),_0x23816a=_0x9c1bb4(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x8eea6a,0x7,_0x47d35d[0x8]),_0x147659=_0x9c1bb4(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x12839a,0xc,_0x47d35d[0x9]),_0x10ffb9=_0x9c1bb4(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x77d9ed,0x11,_0x47d35d[0xa]),_0x2a24cf=_0x9c1bb4(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x206940,0x16,_0x47d35d[0xb]),_0x23816a=_0x9c1bb4(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x1ab19e,0x7,_0x47d35d[0xc]),_0x147659=_0x9c1bb4(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x1d94d4,0xc,_0x47d35d[0xd]),_0x10ffb9=_0x9c1bb4(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x3d1428,0x11,_0x47d35d[0xe]),_0x2a24cf=_0x9c1bb4(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x43f938,0x16,_0x47d35d[0xf]),_0x23816a=_0x587f1b(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x46bd8d,0x5,_0x47d35d[0x10]),_0x147659=_0x587f1b(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x259a19,0x9,_0x47d35d[0x11]),_0x10ffb9=_0x587f1b(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x206940,0xe,_0x47d35d[0x12]),_0x2a24cf=_0x587f1b(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x4ab314,0x14,_0x47d35d[0x13]),_0x23816a=_0x587f1b(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0xbbcb1a,0x5,_0x47d35d[0x14]),_0x147659=_0x587f1b(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x77d9ed,0x9,_0x47d35d[0x15]),_0x10ffb9=_0x587f1b(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x43f938,0xe,_0x47d35d[0x16]),_0x2a24cf=_0x587f1b(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x5375e9,0x14,_0x47d35d[0x17]),_0x23816a=_0x587f1b(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x12839a,0x5,_0x47d35d[0x18]),_0x147659=_0x587f1b(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x3d1428,0x9,_0x47d35d[0x19]),_0x10ffb9=_0x587f1b(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x282e5d,0xe,_0x47d35d[0x1a]),_0x2a24cf=_0x587f1b(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x8eea6a,0x14,_0x47d35d[0x1b]),_0x23816a=_0x587f1b(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x1d94d4,0x5,_0x47d35d[0x1c]),_0x147659=_0x587f1b(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0xa3972e,0x9,_0x47d35d[0x1d]),_0x10ffb9=_0x587f1b(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x112dc8,0xe,_0x47d35d[0x1e]),_0x2a24cf=_0x587f1b(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x1ab19e,0x14,_0x47d35d[0x1f]),_0x23816a=_0x4d54a1(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0xbbcb1a,0x4,_0x47d35d[0x20]),_0x147659=_0x4d54a1(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x8eea6a,0xb,_0x47d35d[0x21]),_0x10ffb9=_0x4d54a1(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x206940,0x10,_0x47d35d[0x22]),_0x2a24cf=_0x4d54a1(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x3d1428,0x17,_0x47d35d[0x23]),_0x23816a=_0x4d54a1(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x46bd8d,0x4,_0x47d35d[0x24]),_0x147659=_0x4d54a1(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x5375e9,0xb,_0x47d35d[0x25]),_0x10ffb9=_0x4d54a1(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x112dc8,0x10,_0x47d35d[0x26]),_0x2a24cf=_0x4d54a1(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x77d9ed,0x17,_0x47d35d[0x27]),_0x23816a=_0x4d54a1(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x1d94d4,0x4,_0x47d35d[0x28]),_0x147659=_0x4d54a1(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x4ab314,0xb,_0x47d35d[0x29]),_0x10ffb9=_0x4d54a1(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x282e5d,0x10,_0x47d35d[0x2a]),_0x2a24cf=_0x4d54a1(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x259a19,0x17,_0x47d35d[0x2b]),_0x23816a=_0x4d54a1(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x12839a,0x4,_0x47d35d[0x2c]),_0x147659=_0x4d54a1(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x1ab19e,0xb,_0x47d35d[0x2d]),_0x10ffb9=_0x4d54a1(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x43f938,0x10,_0x47d35d[0x2e]),_0x2a24cf=_0x4d54a1(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0xa3972e,0x17,_0x47d35d[0x2f]),_0x23816a=_0x1ac80a(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x4ab314,0x6,_0x47d35d[0x30]),_0x147659=_0x1ac80a(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x112dc8,0xa,_0x47d35d[0x31]),_0x10ffb9=_0x1ac80a(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x3d1428,0xf,_0x47d35d[0x32]),_0x2a24cf=_0x1ac80a(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0xbbcb1a,0x15,_0x47d35d[0x33]),_0x23816a=_0x1ac80a(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x1ab19e,0x6,_0x47d35d[0x34]),_0x147659=_0x1ac80a(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x282e5d,0xa,_0x47d35d[0x35]),_0x10ffb9=_0x1ac80a(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x77d9ed,0xf,_0x47d35d[0x36]),_0x2a24cf=_0x1ac80a(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x46bd8d,0x15,_0x47d35d[0x37]),_0x23816a=_0x1ac80a(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x8eea6a,0x6,_0x47d35d[0x38]),_0x147659=_0x1ac80a(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x43f938,0xa,_0x47d35d[0x39]),_0x10ffb9=_0x1ac80a(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0x259a19,0xf,_0x47d35d[0x3a]),_0x2a24cf=_0x1ac80a(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x1d94d4,0x15,_0x47d35d[0x3b]),_0x23816a=_0x1ac80a(_0x23816a,_0x2a24cf,_0x10ffb9,_0x147659,_0x5375e9,0x6,_0x47d35d[0x3c]),_0x147659=_0x1ac80a(_0x147659,_0x23816a,_0x2a24cf,_0x10ffb9,_0x206940,0xa,_0x47d35d[0x3d]),_0x10ffb9=_0x1ac80a(_0x10ffb9,_0x147659,_0x23816a,_0x2a24cf,_0xa3972e,0xf,_0x47d35d[0x3e]),_0x2a24cf=_0x1ac80a(_0x2a24cf,_0x10ffb9,_0x147659,_0x23816a,_0x12839a,0x15,_0x47d35d[0x3f]),_0x25d1e9[0x0]=_0x25d1e9[0x0]+_0x23816a|0x0,_0x25d1e9[0x1]=_0x25d1e9[0x1]+_0x2a24cf|0x0,_0x25d1e9[0x2]=_0x25d1e9[0x2]+_0x10ffb9|0x0,_0x25d1e9[0x3]=_0x25d1e9[0x3]+_0x147659|0x0;},'_doFinalize':function(){var _0xaedfff=_0x1cda10,_0x53fa4d=this[_0xaedfff(0x2cf)],_0x3097b9=_0x53fa4d[_0xaedfff(0x289)],_0x389293=this[_0xaedfff(0x245)]*0x8,_0x521259=_0x53fa4d['sigBytes']*0x8;_0x3097b9[_0x521259>>>0x5]|=0x80<<0x18-_0x521259%0x20;var _0x2fb1eb=_0x53aab6[_0xaedfff(0x220)](_0x389293/0x100000000),_0x15894b=_0x389293;_0x3097b9[(_0x521259+0x40>>>0x9<<0x4)+0xf]=(_0x2fb1eb<<0x8|_0x2fb1eb>>>0x18)&0xff00ff|(_0x2fb1eb<<0x18|_0x2fb1eb>>>0x8)&0xff00ff00,_0x3097b9[(_0x521259+0x40>>>0x9<<0x4)+0xe]=(_0x15894b<<0x8|_0x15894b>>>0x18)&0xff00ff|(_0x15894b<<0x18|_0x15894b>>>0x8)&0xff00ff00,_0x53fa4d['sigBytes']=(_0x3097b9[_0xaedfff(0x31d)]+0x1)*0x4,this[_0xaedfff(0x333)]();for(var _0x6d8a93=this[_0xaedfff(0x2e1)],_0x4acf0b=_0x6d8a93[_0xaedfff(0x289)],_0x38a6af=0x0;_0x38a6af<0x4;_0x38a6af++){var _0x4e25ec=_0x4acf0b[_0x38a6af];_0x4acf0b[_0x38a6af]=(_0x4e25ec<<0x8|_0x4e25ec>>>0x18)&0xff00ff|(_0x4e25ec<<0x18|_0x4e25ec>>>0x8)&0xff00ff00;}return _0x6d8a93;},'clone':function(){var _0x381bdc=_0x1cda10,_0x471de7=_0x3dabbd['clone']['call'](this);return _0x471de7['_hash']=this[_0x381bdc(0x2e1)][_0x381bdc(0x1d5)](),_0x471de7;}});function _0x9c1bb4(_0xb54e74,_0x572451,_0x3daee2,_0x122747,_0x246d5d,_0x13201d,_0x43a107){var _0x8ee7a8=_0xb54e74+(_0x572451&_0x3daee2|~_0x572451&_0x122747)+_0x246d5d+_0x43a107;return(_0x8ee7a8<<_0x13201d|_0x8ee7a8>>>0x20-_0x13201d)+_0x572451;}function _0x587f1b(_0x52bedf,_0x536838,_0x3fd08f,_0x42f98e,_0x54fcf6,_0x5f1eb5,_0x5e2983){var _0x52af86=_0x52bedf+(_0x536838&_0x42f98e|_0x3fd08f&~_0x42f98e)+_0x54fcf6+_0x5e2983;return(_0x52af86<<_0x5f1eb5|_0x52af86>>>0x20-_0x5f1eb5)+_0x536838;}function _0x4d54a1(_0x44ab72,_0x56c2d5,_0xe323a7,_0x5ac23b,_0x34b604,_0x2bf20b,_0x12a757){var _0x34924f=_0x44ab72+(_0x56c2d5^_0xe323a7^_0x5ac23b)+_0x34b604+_0x12a757;return(_0x34924f<<_0x2bf20b|_0x34924f>>>0x20-_0x2bf20b)+_0x56c2d5;}function _0x1ac80a(_0x5abcc5,_0x37c4aa,_0x42712d,_0x2c01f0,_0x2179c8,_0x2ad9a1,_0x183e93){var _0xc8874f=_0x5abcc5+(_0x42712d^(_0x37c4aa|~_0x2c01f0))+_0x2179c8+_0x183e93;return(_0xc8874f<<_0x2ad9a1|_0xc8874f>>>0x20-_0x2ad9a1)+_0x37c4aa;}_0x88467a['MD5']=_0x3dabbd[_0x1cda10(0x15a)](_0x39a2d3),_0x88467a[_0x1cda10(0x427)]=_0x3dabbd[_0x1cda10(0x339)](_0x39a2d3);}(Math),_0x4ec61b['MD5'];}));}(Ke)),Ke[_0x473ec1(0x2f7)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x16ccb4(0x2f7)],ei;function Rn(){var _0x2e402e=_0x16ccb4;return ei||(ei=0x1,function(_0xdbd8d2,_0x209e9c){(function(_0x59dd67,_0x4734a1){var _0x1fc28b=_0x1439;_0xdbd8d2[_0x1fc28b(0x2f7)]=_0x4734a1(ie());}(Cn,function(_0x3c99b1){var _0x3544ed=_0x1439;return(function(){var _0x593546=_0x1439,_0x1fb215=_0x3c99b1,_0x331bb8=_0x1fb215[_0x593546(0x2bf)],_0x3e913e=_0x331bb8['WordArray'],_0x231572=_0x331bb8[_0x593546(0x1b9)],_0x317683=_0x1fb215['algo'],_0x121f41=[],_0x2e9b4f=_0x317683[_0x593546(0x426)]=_0x231572[_0x593546(0x424)]({'_doReset':function(){var _0x59ab21=_0x593546;this[_0x59ab21(0x2e1)]=new _0x3e913e[(_0x59ab21(0x3da))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1c3c12,_0x1c3b57){for(var _0x543da0=this['_hash']['words'],_0x483599=_0x543da0[0x0],_0x57ecca=_0x543da0[0x1],_0x2e1177=_0x543da0[0x2],_0x4ec31d=_0x543da0[0x3],_0x2333f8=_0x543da0[0x4],_0x5a3094=0x0;_0x5a3094<0x50;_0x5a3094++){if(_0x5a3094<0x10)_0x121f41[_0x5a3094]=_0x1c3c12[_0x1c3b57+_0x5a3094]|0x0;else{var _0x324999=_0x121f41[_0x5a3094-0x3]^_0x121f41[_0x5a3094-0x8]^_0x121f41[_0x5a3094-0xe]^_0x121f41[_0x5a3094-0x10];_0x121f41[_0x5a3094]=_0x324999<<0x1|_0x324999>>>0x1f;}var _0x3d6299=(_0x483599<<0x5|_0x483599>>>0x1b)+_0x2333f8+_0x121f41[_0x5a3094];_0x5a3094<0x14?_0x3d6299+=(_0x57ecca&_0x2e1177|~_0x57ecca&_0x4ec31d)+0x5a827999:_0x5a3094<0x28?_0x3d6299+=(_0x57ecca^_0x2e1177^_0x4ec31d)+0x6ed9eba1:_0x5a3094<0x3c?_0x3d6299+=(_0x57ecca&_0x2e1177|_0x57ecca&_0x4ec31d|_0x2e1177&_0x4ec31d)-0x70e44324:_0x3d6299+=(_0x57ecca^_0x2e1177^_0x4ec31d)-0x359d3e2a,_0x2333f8=_0x4ec31d,_0x4ec31d=_0x2e1177,_0x2e1177=_0x57ecca<<0x1e|_0x57ecca>>>0x2,_0x57ecca=_0x483599,_0x483599=_0x3d6299;}_0x543da0[0x0]=_0x543da0[0x0]+_0x483599|0x0,_0x543da0[0x1]=_0x543da0[0x1]+_0x57ecca|0x0,_0x543da0[0x2]=_0x543da0[0x2]+_0x2e1177|0x0,_0x543da0[0x3]=_0x543da0[0x3]+_0x4ec31d|0x0,_0x543da0[0x4]=_0x543da0[0x4]+_0x2333f8|0x0;},'_doFinalize':function(){var _0x427ae0=_0x593546,_0x3474ff=this[_0x427ae0(0x2cf)],_0x5507ca=_0x3474ff[_0x427ae0(0x289)],_0x346d5c=this['_nDataBytes']*0x8,_0x46bc69=_0x3474ff[_0x427ae0(0x29e)]*0x8;return _0x5507ca[_0x46bc69>>>0x5]|=0x80<<0x18-_0x46bc69%0x20,_0x5507ca[(_0x46bc69+0x40>>>0x9<<0x4)+0xe]=Math[_0x427ae0(0x220)](_0x346d5c/0x100000000),_0x5507ca[(_0x46bc69+0x40>>>0x9<<0x4)+0xf]=_0x346d5c,_0x3474ff[_0x427ae0(0x29e)]=_0x5507ca[_0x427ae0(0x31d)]*0x4,this[_0x427ae0(0x333)](),this['_hash'];},'clone':function(){var _0x804c87=_0x593546,_0x2d5b75=_0x231572[_0x804c87(0x1d5)][_0x804c87(0x188)](this);return _0x2d5b75[_0x804c87(0x2e1)]=this['_hash'][_0x804c87(0x1d5)](),_0x2d5b75;}});_0x1fb215['SHA1']=_0x231572[_0x593546(0x15a)](_0x2e9b4f),_0x1fb215[_0x593546(0x190)]=_0x231572[_0x593546(0x339)](_0x2e9b4f);}()),_0x3c99b1[_0x3544ed(0x426)];}));}(qe)),qe[_0x2e402e(0x2f7)];}var ze={'exports':{}},bn=ze[_0x16ccb4(0x2f7)],ti;function yn(){var _0xbe6122=_0x16ccb4;return ti||(ti=0x1,function(_0x3544e7,_0x48c9c4){(function(_0x2e47a4,_0x1883b8){_0x3544e7['exports']=_0x1883b8(ie());}(bn,function(_0xeb298a){(function(){var _0x26b9de=_0x1439,_0x572c08=_0xeb298a,_0x1a309b=_0x572c08[_0x26b9de(0x2bf)],_0x4c60e7=_0x1a309b['Base'],_0x398e34=_0x572c08[_0x26b9de(0x36f)],_0x3af8b9=_0x398e34['Utf8'],_0x2b6d30=_0x572c08[_0x26b9de(0x28c)];_0x2b6d30[_0x26b9de(0x3e1)]=_0x4c60e7[_0x26b9de(0x424)]({'init':function(_0xb913ba,_0x5d03ab){var _0x1d73ce=_0x26b9de;_0xb913ba=this[_0x1d73ce(0x3be)]=new _0xb913ba['init'](),typeof _0x5d03ab==_0x1d73ce(0x3b7)&&(_0x5d03ab=_0x3af8b9[_0x1d73ce(0x181)](_0x5d03ab));var _0x2d0d66=_0xb913ba[_0x1d73ce(0x294)],_0x296335=_0x2d0d66*0x4;_0x5d03ab['sigBytes']>_0x296335&&(_0x5d03ab=_0xb913ba['finalize'](_0x5d03ab)),_0x5d03ab[_0x1d73ce(0x293)]();for(var _0x4e2fab=this[_0x1d73ce(0x324)]=_0x5d03ab[_0x1d73ce(0x1d5)](),_0x45ce42=this[_0x1d73ce(0x238)]=_0x5d03ab[_0x1d73ce(0x1d5)](),_0x1e6e2c=_0x4e2fab['words'],_0x161579=_0x45ce42[_0x1d73ce(0x289)],_0x2e8f4b=0x0;_0x2e8f4b<_0x2d0d66;_0x2e8f4b++)_0x1e6e2c[_0x2e8f4b]^=0x5c5c5c5c,_0x161579[_0x2e8f4b]^=0x36363636;_0x4e2fab[_0x1d73ce(0x29e)]=_0x45ce42[_0x1d73ce(0x29e)]=_0x296335,this[_0x1d73ce(0x304)]();},'reset':function(){var _0x500fb8=_0x26b9de,_0x358a24=this[_0x500fb8(0x3be)];_0x358a24[_0x500fb8(0x304)](),_0x358a24[_0x500fb8(0x1fd)](this[_0x500fb8(0x238)]);},'update':function(_0x359371){var _0x13b38b=_0x26b9de;return this[_0x13b38b(0x3be)]['update'](_0x359371),this;},'finalize':function(_0x3d7518){var _0x108251=_0x26b9de,_0x28b6ac=this['_hasher'],_0x46154e=_0x28b6ac['finalize'](_0x3d7518);_0x28b6ac['reset']();var _0x230759=_0x28b6ac[_0x108251(0x147)](this[_0x108251(0x324)][_0x108251(0x1d5)]()['concat'](_0x46154e));return _0x230759;}});}());}));}(ze)),ze[_0xbe6122(0x2f7)];}var On=Ye[_0x16ccb4(0x2f7)],ii;function wi(){return ii||(ii=0x1,function(_0x4fcc29,_0xf33f1a){(function(_0x3d8962,_0xb09394,_0x46b94d){_0x4fcc29['exports']=_0xb09394(ie(),Rn(),yn());}(On,function(_0x23c631){var _0x126631=_0x1439;return(function(){var _0x3f3c2f=_0x1439,_0x29626e=_0x23c631,_0x3d6a47=_0x29626e[_0x3f3c2f(0x2bf)],_0x37a9e5=_0x3d6a47[_0x3f3c2f(0x23d)],_0x38e9f7=_0x3d6a47[_0x3f3c2f(0x3cd)],_0x112bd8=_0x29626e[_0x3f3c2f(0x28c)],_0x312a2e=_0x112bd8[_0x3f3c2f(0x144)],_0x3fdd96=_0x112bd8[_0x3f3c2f(0x204)]=_0x37a9e5['extend']({'cfg':_0x37a9e5[_0x3f3c2f(0x424)]({'keySize':0x80/0x20,'hasher':_0x312a2e,'iterations':0x1}),'init':function(_0x5bc7e5){var _0x5c1a9c=_0x3f3c2f;this[_0x5c1a9c(0x13c)]=this[_0x5c1a9c(0x13c)][_0x5c1a9c(0x424)](_0x5bc7e5);},'compute':function(_0x182c00,_0x4ea2b9){var _0xf5be7f=_0x3f3c2f;for(var _0x228346,_0xdccd54=this[_0xf5be7f(0x13c)],_0x4e8a25=_0xdccd54[_0xf5be7f(0x187)][_0xf5be7f(0x2a3)](),_0x21c588=_0x38e9f7[_0xf5be7f(0x2a3)](),_0x5b49e9=_0x21c588[_0xf5be7f(0x289)],_0x4b8708=_0xdccd54[_0xf5be7f(0x31a)],_0x40bd7e=_0xdccd54[_0xf5be7f(0x1eb)];_0x5b49e9['length']<_0x4b8708;){_0x228346&&_0x4e8a25[_0xf5be7f(0x1fd)](_0x228346),_0x228346=_0x4e8a25[_0xf5be7f(0x1fd)](_0x182c00)[_0xf5be7f(0x147)](_0x4ea2b9),_0x4e8a25[_0xf5be7f(0x304)]();for(var _0x434ad5=0x1;_0x434ad5<_0x40bd7e;_0x434ad5++)_0x228346=_0x4e8a25[_0xf5be7f(0x147)](_0x228346),_0x4e8a25['reset']();_0x21c588[_0xf5be7f(0x357)](_0x228346);}return _0x21c588[_0xf5be7f(0x29e)]=_0x4b8708*0x4,_0x21c588;}});_0x29626e[_0x3f3c2f(0x204)]=function(_0x5c2166,_0x498b1a,_0x5c6014){var _0x3e1d98=_0x3f3c2f;return _0x3fdd96[_0x3e1d98(0x2a3)](_0x5c6014)[_0x3e1d98(0x13b)](_0x5c2166,_0x498b1a);};}()),_0x23c631[_0x126631(0x204)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Nn=Je[_0x16ccb4(0x2f7)],ri;function Ui(){return ri||(ri=0x1,function(_0x21a6d4,_0xcc7fb1){(function(_0x2a0d98,_0x823a4e,_0x1d4f4e){var _0x4736bf=_0x1439;_0x21a6d4[_0x4736bf(0x2f7)]=_0x823a4e(ie(),wi());}(Nn,function(_0x2a8789){var _0x367c5f=_0x1439;_0x2a8789[_0x367c5f(0x2bf)][_0x367c5f(0x161)]||function(_0x1bd086){var _0x5656cd=_0x367c5f,_0x309a5d=_0x2a8789,_0x5199d2=_0x309a5d[_0x5656cd(0x2bf)],_0x473447=_0x5199d2[_0x5656cd(0x23d)],_0x52a427=_0x5199d2['WordArray'],_0x48e568=_0x5199d2[_0x5656cd(0x214)],_0x5d643c=_0x309a5d['enc'];_0x5d643c[_0x5656cd(0x383)];var _0x17f38b=_0x5d643c[_0x5656cd(0x239)],_0x17317b=_0x309a5d[_0x5656cd(0x28c)],_0x20311b=_0x17317b[_0x5656cd(0x204)],_0x3749af=_0x5199d2[_0x5656cd(0x161)]=_0x48e568[_0x5656cd(0x424)]({'cfg':_0x473447['extend'](),'createEncryptor':function(_0x213672,_0xc0929d){var _0x3b829a=_0x5656cd;return this[_0x3b829a(0x2a3)](this['_ENC_XFORM_MODE'],_0x213672,_0xc0929d);},'createDecryptor':function(_0x1712b3,_0x456c48){var _0x4ba0d4=_0x5656cd;return this[_0x4ba0d4(0x2a3)](this['_DEC_XFORM_MODE'],_0x1712b3,_0x456c48);},'init':function(_0x542c8f,_0x49a09b,_0x18dff3){var _0x247f4=_0x5656cd;this[_0x247f4(0x13c)]=this[_0x247f4(0x13c)][_0x247f4(0x424)](_0x18dff3),this[_0x247f4(0x139)]=_0x542c8f,this[_0x247f4(0x3ef)]=_0x49a09b,this[_0x247f4(0x304)]();},'reset':function(){var _0x573c6a=_0x5656cd;_0x48e568[_0x573c6a(0x304)][_0x573c6a(0x188)](this),this['_doReset']();},'process':function(_0x3dab35){var _0x3ec86e=_0x5656cd;return this[_0x3ec86e(0x32c)](_0x3dab35),this[_0x3ec86e(0x333)]();},'finalize':function(_0x5aef3b){var _0x33f415=_0x5656cd;_0x5aef3b&&this[_0x33f415(0x32c)](_0x5aef3b);var _0x3a9238=this[_0x33f415(0x2e0)]();return _0x3a9238;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x266580(_0x33babe){var _0x59a62c=_0x1439;return typeof _0x33babe==_0x59a62c(0x3b7)?_0x5b92c3:_0x2e4eab;}return function(_0x140dc7){return{'encrypt':function(_0x437e0e,_0x1d4ae1,_0x45157c){var _0x2339ee=_0x1439;return _0x266580(_0x1d4ae1)[_0x2339ee(0x1de)](_0x140dc7,_0x437e0e,_0x1d4ae1,_0x45157c);},'decrypt':function(_0x4d83b9,_0x38fd18,_0x57381c){var _0x2f8676=_0x1439;return _0x266580(_0x38fd18)[_0x2f8676(0x149)](_0x140dc7,_0x4d83b9,_0x38fd18,_0x57381c);}};};}())});_0x5199d2[_0x5656cd(0x17e)]=_0x3749af[_0x5656cd(0x424)]({'_doFinalize':function(){var _0x4dbfc3=this['_process'](!0x0);return _0x4dbfc3;},'blockSize':0x1});var _0x2f95d5=_0x309a5d[_0x5656cd(0x373)]={},_0x309a36=_0x5199d2[_0x5656cd(0x1ee)]=_0x473447['extend']({'createEncryptor':function(_0x25e43f,_0x448ee9){var _0x3a1a42=_0x5656cd;return this[_0x3a1a42(0x355)]['create'](_0x25e43f,_0x448ee9);},'createDecryptor':function(_0x16a7d6,_0x520294){var _0x1b24ca=_0x5656cd;return this[_0x1b24ca(0x13f)][_0x1b24ca(0x2a3)](_0x16a7d6,_0x520294);},'init':function(_0x39daa4,_0x2214de){var _0x24d106=_0x5656cd;this['_cipher']=_0x39daa4,this[_0x24d106(0x1e1)]=_0x2214de;}}),_0x1c1305=_0x2f95d5[_0x5656cd(0x301)]=(function(){var _0x3cd8b9=_0x5656cd,_0x112144=_0x309a36['extend']();_0x112144[_0x3cd8b9(0x355)]=_0x112144['extend']({'processBlock':function(_0x1abbc5,_0x59150a){var _0x59ad42=_0x3cd8b9,_0x4166b9=this[_0x59ad42(0x392)],_0x5a229b=_0x4166b9[_0x59ad42(0x294)];_0x189b77['call'](this,_0x1abbc5,_0x59150a,_0x5a229b),_0x4166b9[_0x59ad42(0x3a8)](_0x1abbc5,_0x59150a),this['_prevBlock']=_0x1abbc5[_0x59ad42(0x416)](_0x59150a,_0x59150a+_0x5a229b);}}),_0x112144[_0x3cd8b9(0x13f)]=_0x112144['extend']({'processBlock':function(_0x1c61b9,_0x2933cb){var _0x2977b1=_0x3cd8b9,_0x9d8911=this[_0x2977b1(0x392)],_0x138c54=_0x9d8911[_0x2977b1(0x294)],_0x3463f2=_0x1c61b9['slice'](_0x2933cb,_0x2933cb+_0x138c54);_0x9d8911[_0x2977b1(0x379)](_0x1c61b9,_0x2933cb),_0x189b77[_0x2977b1(0x188)](this,_0x1c61b9,_0x2933cb,_0x138c54),this[_0x2977b1(0x3a2)]=_0x3463f2;}});function _0x189b77(_0x36da3a,_0x22ed5d,_0x461ba5){var _0x329f53,_0xf8ae95=this['_iv'];_0xf8ae95?(_0x329f53=_0xf8ae95,this['_iv']=_0x1bd086):_0x329f53=this['_prevBlock'];for(var _0x48acd2=0x0;_0x48acd2<_0x461ba5;_0x48acd2++)_0x36da3a[_0x22ed5d+_0x48acd2]^=_0x329f53[_0x48acd2];}return _0x112144;}()),_0x3c9cdb=_0x309a5d['pad']={},_0xa755db=_0x3c9cdb['Pkcs7']={'pad':function(_0x78912f,_0x347cf1){var _0x5a6a39=_0x5656cd;for(var _0x4136de=_0x347cf1*0x4,_0x2e3aae=_0x4136de-_0x78912f['sigBytes']%_0x4136de,_0x47adcf=_0x2e3aae<<0x18|_0x2e3aae<<0x10|_0x2e3aae<<0x8|_0x2e3aae,_0x1341e4=[],_0x54ca3f=0x0;_0x54ca3f<_0x2e3aae;_0x54ca3f+=0x4)_0x1341e4['push'](_0x47adcf);var _0x190c89=_0x52a427[_0x5a6a39(0x2a3)](_0x1341e4,_0x2e3aae);_0x78912f[_0x5a6a39(0x357)](_0x190c89);},'unpad':function(_0x2c27a1){var _0x5cf2e6=_0x5656cd,_0x311a84=_0x2c27a1[_0x5cf2e6(0x289)][_0x2c27a1['sigBytes']-0x1>>>0x2]&0xff;_0x2c27a1[_0x5cf2e6(0x29e)]-=_0x311a84;}};_0x5199d2[_0x5656cd(0x129)]=_0x3749af[_0x5656cd(0x424)]({'cfg':_0x3749af['cfg'][_0x5656cd(0x424)]({'mode':_0x1c1305,'padding':_0xa755db}),'reset':function(){var _0x3a75d8=_0x5656cd,_0x477cb7;_0x3749af[_0x3a75d8(0x304)][_0x3a75d8(0x188)](this);var _0x428167=this[_0x3a75d8(0x13c)],_0x3b25d8=_0x428167['iv'],_0x3fe240=_0x428167[_0x3a75d8(0x373)];this[_0x3a75d8(0x139)]==this[_0x3a75d8(0x372)]?_0x477cb7=_0x3fe240[_0x3a75d8(0x21a)]:(_0x477cb7=_0x3fe240[_0x3a75d8(0x42a)],this['_minBufferSize']=0x1),this[_0x3a75d8(0x299)]&&this['_mode'][_0x3a75d8(0x263)]==_0x477cb7?this['_mode'][_0x3a75d8(0x3da)](this,_0x3b25d8&&_0x3b25d8[_0x3a75d8(0x289)]):(this['_mode']=_0x477cb7['call'](_0x3fe240,this,_0x3b25d8&&_0x3b25d8[_0x3a75d8(0x289)]),this['_mode'][_0x3a75d8(0x263)]=_0x477cb7);},'_doProcessBlock':function(_0xbc9c6d,_0x52bc53){var _0x3ea967=_0x5656cd;this[_0x3ea967(0x299)][_0x3ea967(0x266)](_0xbc9c6d,_0x52bc53);},'_doFinalize':function(){var _0xea3cc8=_0x5656cd,_0xe488b2,_0x1c6694=this[_0xea3cc8(0x13c)][_0xea3cc8(0x2d8)];return this[_0xea3cc8(0x139)]==this[_0xea3cc8(0x372)]?(_0x1c6694['pad'](this[_0xea3cc8(0x2cf)],this['blockSize']),_0xe488b2=this[_0xea3cc8(0x333)](!0x0)):(_0xe488b2=this[_0xea3cc8(0x333)](!0x0),_0x1c6694['unpad'](_0xe488b2)),_0xe488b2;},'blockSize':0x80/0x20});var _0x1c771f=_0x5199d2['CipherParams']=_0x473447[_0x5656cd(0x424)]({'init':function(_0xbabc53){this['mixIn'](_0xbabc53);},'toString':function(_0x247417){var _0x22ea9e=_0x5656cd;return(_0x247417||this[_0x22ea9e(0x156)])[_0x22ea9e(0x20a)](this);}}),_0x4480c9=_0x309a5d[_0x5656cd(0x3f0)]={},_0x48c340=_0x4480c9[_0x5656cd(0x384)]={'stringify':function(_0x1b03a5){var _0xf27dd1=_0x5656cd,_0x3c5517,_0x44c601=_0x1b03a5[_0xf27dd1(0x2ce)],_0x1654b3=_0x1b03a5['salt'];return _0x1654b3?_0x3c5517=_0x52a427['create']([0x53616c74,0x65645f5f])[_0xf27dd1(0x357)](_0x1654b3)['concat'](_0x44c601):_0x3c5517=_0x44c601,_0x3c5517['toString'](_0x17f38b);},'parse':function(_0x5ed047){var _0x470613=_0x5656cd,_0x25866c,_0x48a138=_0x17f38b[_0x470613(0x181)](_0x5ed047),_0x5cea89=_0x48a138['words'];return _0x5cea89[0x0]==0x53616c74&&_0x5cea89[0x1]==0x65645f5f&&(_0x25866c=_0x52a427[_0x470613(0x2a3)](_0x5cea89[_0x470613(0x416)](0x2,0x4)),_0x5cea89[_0x470613(0x231)](0x0,0x4),_0x48a138[_0x470613(0x29e)]-=0x10),_0x1c771f['create']({'ciphertext':_0x48a138,'salt':_0x25866c});}},_0x2e4eab=_0x5199d2[_0x5656cd(0x27b)]=_0x473447['extend']({'cfg':_0x473447[_0x5656cd(0x424)]({'format':_0x48c340}),'encrypt':function(_0x13de0a,_0x12af1e,_0x212bc6,_0x54ca33){var _0x4ef783=_0x5656cd;_0x54ca33=this['cfg'][_0x4ef783(0x424)](_0x54ca33);var _0x9c4855=_0x13de0a['createEncryptor'](_0x212bc6,_0x54ca33),_0x437d6c=_0x9c4855['finalize'](_0x12af1e),_0x98ddac=_0x9c4855[_0x4ef783(0x13c)];return _0x1c771f[_0x4ef783(0x2a3)]({'ciphertext':_0x437d6c,'key':_0x212bc6,'iv':_0x98ddac['iv'],'algorithm':_0x13de0a,'mode':_0x98ddac[_0x4ef783(0x373)],'padding':_0x98ddac[_0x4ef783(0x2d8)],'blockSize':_0x13de0a[_0x4ef783(0x294)],'formatter':_0x54ca33[_0x4ef783(0x3f0)]});},'decrypt':function(_0x56ca7e,_0x2e3b43,_0x3ed33b,_0xb61135){var _0x37a679=_0x5656cd;_0xb61135=this[_0x37a679(0x13c)][_0x37a679(0x424)](_0xb61135),_0x2e3b43=this[_0x37a679(0x298)](_0x2e3b43,_0xb61135[_0x37a679(0x3f0)]);var _0x595432=_0x56ca7e['createDecryptor'](_0x3ed33b,_0xb61135)['finalize'](_0x2e3b43['ciphertext']);return _0x595432;},'_parse':function(_0x1d1264,_0x287854){var _0x33ff21=_0x5656cd;return typeof _0x1d1264==_0x33ff21(0x3b7)?_0x287854['parse'](_0x1d1264,this):_0x1d1264;}}),_0x49674a=_0x309a5d[_0x5656cd(0x171)]={},_0x439002=_0x49674a[_0x5656cd(0x384)]={'execute':function(_0x4f5602,_0x11b65b,_0x498c98,_0x5bb746,_0x16dfa6){var _0x1f57f5=_0x5656cd;if(_0x5bb746||(_0x5bb746=_0x52a427[_0x1f57f5(0x422)](0x40/0x8)),_0x16dfa6)var _0x19908e=_0x20311b[_0x1f57f5(0x2a3)]({'keySize':_0x11b65b+_0x498c98,'hasher':_0x16dfa6})[_0x1f57f5(0x13b)](_0x4f5602,_0x5bb746);else var _0x19908e=_0x20311b[_0x1f57f5(0x2a3)]({'keySize':_0x11b65b+_0x498c98})[_0x1f57f5(0x13b)](_0x4f5602,_0x5bb746);var _0x181f50=_0x52a427[_0x1f57f5(0x2a3)](_0x19908e[_0x1f57f5(0x289)][_0x1f57f5(0x416)](_0x11b65b),_0x498c98*0x4);return _0x19908e[_0x1f57f5(0x29e)]=_0x11b65b*0x4,_0x1c771f['create']({'key':_0x19908e,'iv':_0x181f50,'salt':_0x5bb746});}},_0x5b92c3=_0x5199d2['PasswordBasedCipher']=_0x2e4eab['extend']({'cfg':_0x2e4eab[_0x5656cd(0x13c)][_0x5656cd(0x424)]({'kdf':_0x439002}),'encrypt':function(_0x45c6da,_0x2f25e4,_0x44978c,_0xba7c2){var _0x578c65=_0x5656cd;_0xba7c2=this[_0x578c65(0x13c)][_0x578c65(0x424)](_0xba7c2);var _0x1fcf3e=_0xba7c2[_0x578c65(0x171)][_0x578c65(0x309)](_0x44978c,_0x45c6da[_0x578c65(0x31a)],_0x45c6da[_0x578c65(0x3e7)],_0xba7c2[_0x578c65(0x184)],_0xba7c2[_0x578c65(0x187)]);_0xba7c2['iv']=_0x1fcf3e['iv'];var _0x563bc9=_0x2e4eab[_0x578c65(0x1de)][_0x578c65(0x188)](this,_0x45c6da,_0x2f25e4,_0x1fcf3e[_0x578c65(0x207)],_0xba7c2);return _0x563bc9[_0x578c65(0x348)](_0x1fcf3e),_0x563bc9;},'decrypt':function(_0x4b8254,_0x2e208e,_0x4c334d,_0x35061b){var _0x37ba7c=_0x5656cd;_0x35061b=this[_0x37ba7c(0x13c)][_0x37ba7c(0x424)](_0x35061b),_0x2e208e=this['_parse'](_0x2e208e,_0x35061b[_0x37ba7c(0x3f0)]);var _0x47f44f=_0x35061b[_0x37ba7c(0x171)][_0x37ba7c(0x309)](_0x4c334d,_0x4b8254[_0x37ba7c(0x31a)],_0x4b8254[_0x37ba7c(0x3e7)],_0x2e208e['salt'],_0x35061b['hasher']);_0x35061b['iv']=_0x47f44f['iv'];var _0x27a87b=_0x2e4eab[_0x37ba7c(0x149)][_0x37ba7c(0x188)](this,_0x4b8254,_0x2e208e,_0x47f44f['key'],_0x35061b);return _0x27a87b;}});}();}));}(Je)),Je['exports'];}var Dn=Ge[_0x16ccb4(0x2f7)],ni;function wn(){var _0x41b7b1=_0x16ccb4;return ni||(ni=0x1,function(_0x228dfb,_0x1c4e2d){(function(_0x591faf,_0x38076f,_0x19251c){_0x228dfb['exports']=_0x38076f(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x1120b8){var _0x3538ab=_0x1439;return(function(){var _0x1be8d6=_0x1439,_0x4155c2=_0x1120b8,_0x1f8981=_0x4155c2['lib'],_0x43045b=_0x1f8981[_0x1be8d6(0x129)],_0xd378b1=_0x4155c2[_0x1be8d6(0x28c)],_0x1a3ec9=[],_0x35715f=[],_0x9180cb=[],_0x1f8188=[],_0x5da20a=[],_0x2b3ebc=[],_0x4e6e02=[],_0x116c44=[],_0x312135=[],_0x383cb1=[];(function(){for(var _0x56f490=[],_0x3bcd47=0x0;_0x3bcd47<0x100;_0x3bcd47++)_0x3bcd47<0x80?_0x56f490[_0x3bcd47]=_0x3bcd47<<0x1:_0x56f490[_0x3bcd47]=_0x3bcd47<<0x1^0x11b;for(var _0x206af5=0x0,_0x41f19e=0x0,_0x3bcd47=0x0;_0x3bcd47<0x100;_0x3bcd47++){var _0x4600ff=_0x41f19e^_0x41f19e<<0x1^_0x41f19e<<0x2^_0x41f19e<<0x3^_0x41f19e<<0x4;_0x4600ff=_0x4600ff>>>0x8^_0x4600ff&0xff^0x63,_0x1a3ec9[_0x206af5]=_0x4600ff,_0x35715f[_0x4600ff]=_0x206af5;var _0x55baf0=_0x56f490[_0x206af5],_0x139a08=_0x56f490[_0x55baf0],_0x3daaba=_0x56f490[_0x139a08],_0x6e3103=_0x56f490[_0x4600ff]*0x101^_0x4600ff*0x1010100;_0x9180cb[_0x206af5]=_0x6e3103<<0x18|_0x6e3103>>>0x8,_0x1f8188[_0x206af5]=_0x6e3103<<0x10|_0x6e3103>>>0x10,_0x5da20a[_0x206af5]=_0x6e3103<<0x8|_0x6e3103>>>0x18,_0x2b3ebc[_0x206af5]=_0x6e3103;var _0x6e3103=_0x3daaba*0x1010101^_0x139a08*0x10001^_0x55baf0*0x101^_0x206af5*0x1010100;_0x4e6e02[_0x4600ff]=_0x6e3103<<0x18|_0x6e3103>>>0x8,_0x116c44[_0x4600ff]=_0x6e3103<<0x10|_0x6e3103>>>0x10,_0x312135[_0x4600ff]=_0x6e3103<<0x8|_0x6e3103>>>0x18,_0x383cb1[_0x4600ff]=_0x6e3103,_0x206af5?(_0x206af5=_0x55baf0^_0x56f490[_0x56f490[_0x56f490[_0x3daaba^_0x55baf0]]],_0x41f19e^=_0x56f490[_0x56f490[_0x41f19e]]):_0x206af5=_0x41f19e=0x1;}}());var _0xa91e71=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x419659=_0xd378b1['AES']=_0x43045b['extend']({'_doReset':function(){var _0x18eb6b=_0x1be8d6,_0x3a8738;if(!(this['_nRounds']&&this[_0x18eb6b(0x26c)]===this[_0x18eb6b(0x3ef)])){for(var _0x485197=this['_keyPriorReset']=this[_0x18eb6b(0x3ef)],_0x498371=_0x485197[_0x18eb6b(0x289)],_0x4895d4=_0x485197[_0x18eb6b(0x29e)]/0x4,_0x5e40a8=this[_0x18eb6b(0x3b9)]=_0x4895d4+0x6,_0x378efe=(_0x5e40a8+0x1)*0x4,_0xb455a6=this[_0x18eb6b(0x17d)]=[],_0x52efac=0x0;_0x52efac<_0x378efe;_0x52efac++)_0x52efac<_0x4895d4?_0xb455a6[_0x52efac]=_0x498371[_0x52efac]:(_0x3a8738=_0xb455a6[_0x52efac-0x1],_0x52efac%_0x4895d4?_0x4895d4>0x6&&_0x52efac%_0x4895d4==0x4&&(_0x3a8738=_0x1a3ec9[_0x3a8738>>>0x18]<<0x18|_0x1a3ec9[_0x3a8738>>>0x10&0xff]<<0x10|_0x1a3ec9[_0x3a8738>>>0x8&0xff]<<0x8|_0x1a3ec9[_0x3a8738&0xff]):(_0x3a8738=_0x3a8738<<0x8|_0x3a8738>>>0x18,_0x3a8738=_0x1a3ec9[_0x3a8738>>>0x18]<<0x18|_0x1a3ec9[_0x3a8738>>>0x10&0xff]<<0x10|_0x1a3ec9[_0x3a8738>>>0x8&0xff]<<0x8|_0x1a3ec9[_0x3a8738&0xff],_0x3a8738^=_0xa91e71[_0x52efac/_0x4895d4|0x0]<<0x18),_0xb455a6[_0x52efac]=_0xb455a6[_0x52efac-_0x4895d4]^_0x3a8738);for(var _0x41cabe=this[_0x18eb6b(0x14c)]=[],_0x4d592f=0x0;_0x4d592f<_0x378efe;_0x4d592f++){var _0x52efac=_0x378efe-_0x4d592f;if(_0x4d592f%0x4)var _0x3a8738=_0xb455a6[_0x52efac];else var _0x3a8738=_0xb455a6[_0x52efac-0x4];_0x4d592f<0x4||_0x52efac<=0x4?_0x41cabe[_0x4d592f]=_0x3a8738:_0x41cabe[_0x4d592f]=_0x4e6e02[_0x1a3ec9[_0x3a8738>>>0x18]]^_0x116c44[_0x1a3ec9[_0x3a8738>>>0x10&0xff]]^_0x312135[_0x1a3ec9[_0x3a8738>>>0x8&0xff]]^_0x383cb1[_0x1a3ec9[_0x3a8738&0xff]];}}},'encryptBlock':function(_0xf73232,_0x5272a9){var _0x2f4b36=_0x1be8d6;this[_0x2f4b36(0x1ba)](_0xf73232,_0x5272a9,this['_keySchedule'],_0x9180cb,_0x1f8188,_0x5da20a,_0x2b3ebc,_0x1a3ec9);},'decryptBlock':function(_0x3a2383,_0x57091d){var _0x5bd55f=_0x3a2383[_0x57091d+0x1];_0x3a2383[_0x57091d+0x1]=_0x3a2383[_0x57091d+0x3],_0x3a2383[_0x57091d+0x3]=_0x5bd55f,this['_doCryptBlock'](_0x3a2383,_0x57091d,this['_invKeySchedule'],_0x4e6e02,_0x116c44,_0x312135,_0x383cb1,_0x35715f);var _0x5bd55f=_0x3a2383[_0x57091d+0x1];_0x3a2383[_0x57091d+0x1]=_0x3a2383[_0x57091d+0x3],_0x3a2383[_0x57091d+0x3]=_0x5bd55f;},'_doCryptBlock':function(_0x51a8ed,_0x41d709,_0x469a59,_0x4a2a2b,_0xd4c5f4,_0x5bd60c,_0x47b462,_0x151947){var _0x5a95a3=_0x1be8d6;for(var _0xc894c8=this[_0x5a95a3(0x3b9)],_0x19bc63=_0x51a8ed[_0x41d709]^_0x469a59[0x0],_0x39c2e4=_0x51a8ed[_0x41d709+0x1]^_0x469a59[0x1],_0x15d49d=_0x51a8ed[_0x41d709+0x2]^_0x469a59[0x2],_0xff365=_0x51a8ed[_0x41d709+0x3]^_0x469a59[0x3],_0x5a5806=0x4,_0x41b5f3=0x1;_0x41b5f3<_0xc894c8;_0x41b5f3++){var _0x4c4d09=_0x4a2a2b[_0x19bc63>>>0x18]^_0xd4c5f4[_0x39c2e4>>>0x10&0xff]^_0x5bd60c[_0x15d49d>>>0x8&0xff]^_0x47b462[_0xff365&0xff]^_0x469a59[_0x5a5806++],_0x33062d=_0x4a2a2b[_0x39c2e4>>>0x18]^_0xd4c5f4[_0x15d49d>>>0x10&0xff]^_0x5bd60c[_0xff365>>>0x8&0xff]^_0x47b462[_0x19bc63&0xff]^_0x469a59[_0x5a5806++],_0x59448f=_0x4a2a2b[_0x15d49d>>>0x18]^_0xd4c5f4[_0xff365>>>0x10&0xff]^_0x5bd60c[_0x19bc63>>>0x8&0xff]^_0x47b462[_0x39c2e4&0xff]^_0x469a59[_0x5a5806++],_0xdca765=_0x4a2a2b[_0xff365>>>0x18]^_0xd4c5f4[_0x19bc63>>>0x10&0xff]^_0x5bd60c[_0x39c2e4>>>0x8&0xff]^_0x47b462[_0x15d49d&0xff]^_0x469a59[_0x5a5806++];_0x19bc63=_0x4c4d09,_0x39c2e4=_0x33062d,_0x15d49d=_0x59448f,_0xff365=_0xdca765;}var _0x4c4d09=(_0x151947[_0x19bc63>>>0x18]<<0x18|_0x151947[_0x39c2e4>>>0x10&0xff]<<0x10|_0x151947[_0x15d49d>>>0x8&0xff]<<0x8|_0x151947[_0xff365&0xff])^_0x469a59[_0x5a5806++],_0x33062d=(_0x151947[_0x39c2e4>>>0x18]<<0x18|_0x151947[_0x15d49d>>>0x10&0xff]<<0x10|_0x151947[_0xff365>>>0x8&0xff]<<0x8|_0x151947[_0x19bc63&0xff])^_0x469a59[_0x5a5806++],_0x59448f=(_0x151947[_0x15d49d>>>0x18]<<0x18|_0x151947[_0xff365>>>0x10&0xff]<<0x10|_0x151947[_0x19bc63>>>0x8&0xff]<<0x8|_0x151947[_0x39c2e4&0xff])^_0x469a59[_0x5a5806++],_0xdca765=(_0x151947[_0xff365>>>0x18]<<0x18|_0x151947[_0x19bc63>>>0x10&0xff]<<0x10|_0x151947[_0x39c2e4>>>0x8&0xff]<<0x8|_0x151947[_0x15d49d&0xff])^_0x469a59[_0x5a5806++];_0x51a8ed[_0x41d709]=_0x4c4d09,_0x51a8ed[_0x41d709+0x1]=_0x33062d,_0x51a8ed[_0x41d709+0x2]=_0x59448f,_0x51a8ed[_0x41d709+0x3]=_0xdca765;},'keySize':0x100/0x20});_0x4155c2['AES']=_0x43045b[_0x1be8d6(0x15a)](_0x419659);}()),_0x1120b8[_0x3538ab(0x23c)];}));}(Ge)),Ge[_0x41b7b1(0x2f7)];}var Un=wn();const An=He(Un);var Pn=Di();const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x16ccb4(0x2f7)],oi;function Ln(){var _0x505ca2=_0x16ccb4;return oi||(oi=0x1,function(_0x570450,_0x3ad861){(function(_0x42b1c2,_0xfcbb0d){var _0x214554=_0x1439;_0x570450[_0x214554(0x2f7)]=_0xfcbb0d(ie());}(xn,function(_0x52c1b9){var _0x58b219=_0x1439;return _0x52c1b9[_0x58b219(0x36f)][_0x58b219(0x383)];}));}(Xe)),Xe[_0x505ca2(0x2f7)];}var Mn=Ln();function _0xd1ae(){var _0x985ca0=['_clearTimeoutTimer','/universer-api/oidc/authpage','execute','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSessionService]:\x20socket\x20error','AWAITING_WITH_PENDING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_initRequestHeader','crypto','updateCursorEvent','randomBytes','/new_changes','COLLAB_SUBMIT_CHANGESET_URL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','JOIN_ROOM_FULL','interceptor','event$','_acknowledgedAwaitingChangeset','type','keySize','OTHER_CLIENT_EDITING','JOIN_ROOM_FAILED','length','PENDING','ERROR_EXCEED_SIZE','_throwTelemetryCollaborationNewChangeset','open$','HEARTBEAT_TIMEOUT','ONLINE','_oKey','_replaceFileID','entityInit$','onload','FAIL','liveShareNewHost','disposeWithMe','[CollaborationSession]','_append','_emitMembers','newCsEvent','APPLY_PERMISSION_DENIED','location','SUBMIT_CHANGESET_TIMEOUT','USERS_ENTER','_process','CHANGESET_REVISION_CONFILICT','_startCollaboration','_univerInstanceService','name','encode','_createHmacHelper','_createHandler','POST','_commentService','?url=','push','_socket','list','status$','objectID','_handler','_revisionService','_sessions','getConfig','_compressMutationService','mixIn','pluginName','BASE64','UnitEmbedded','_pendingMutations','/-/object/-/batch_allowed','error','error$','_resendTimeout','INGEST','connection\x20error','_transformIMECache','LICENSE_IMPORT_SIZE_EXCEEDED','Encryptor','_minBufferSize','concat','[DataLoaderService]','_unlockTransition','href','unitId\x20is\x20not\x20found','&source=','FETCH_MISS','_instanceService','_map','_eventService','fetchMissingChangesets','LIVESHARE_TERMINATE','ceil','_init','getFocusedUnit','setCurrentUser','UNDEFINED','close','onStarting','AUTHZ_URL_KEY','UNRECOGNIZED','transformStack\x20failed!','emitEvent','selections','enc','charAt','onCommandExecuted','_ENC_XFORM_MODE','mode','_httpService','getMember','buffer','every','244rOHStg','decryptBlock','toggleOnline','APPLY_NON_SEQUENTIAL_REVISION','COMPLETION_FINISHED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onRemoteRej','pending','conflict','FETCH_MISSING','ws://127.0.0.1:8000/universer-api/comb/connect','Utf8','OpenSSL','put','[PendingState]:\x20received\x20rejection.','getUnit','SOCKET_FAILED_RETRY','_loadDoc','ENSURE_SNAPSHOT_EXECUTION','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getTime','fetchMiss','Could\x20not\x20dynamically\x20require\x20\x22','unitId','CHANGESET_ACK','SNAPSHOT_INVALID_SNAPSHOT','_cipher','getImage','_updateStatus','_createInitialState','[PendingState]:\x20received\x20acknowledgement.','_onUserJoin','_initUnitPermissionChange','_commandService','_transformStack','enableOfflineEditing','_permissionService','_tryReconnect','_collabSessionService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','People','x-univer-host','_prevBlock','INTERNAL_ERROR','OFFLINE','revision','_getSignURL','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','encryptBlock','enableAuthServer','default','size','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','has','_onMessage','reqId','CONNECTOR_DATA_TOO_LARGE','INVALID_ARGUMENT','action','save\x20fail\x20reason\x20is\x20','state$','set','c1Prime','string','collaboration-client.config','_nRounds','UnitSnapshot','_unitInfo$','_onJoinRoomEvent','_transformUndoredo','_hasher','NoPadding','[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.','onTransformRemoteChangesetByIMECache','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_sendingTimer','randomUUID','roomInfos','requestParams','status','unit-cache-','univer-pro.collaboration-client.network-condition.service','cmd','_getCurrentRevision','_getRedoStack','WordArray','_roomCreated$','_localCacheService','UPDATE_PERMISSION_OBJ','JOIN','onTransformRemoteChangesetByStateCache','LOGIN_URL_KEY','fromCollab','session.room-full','infoRsp','session.join-failed','change$','_logService','init','signUrlServerUrl','range','_createInitialStateImpl','_getUploadFileURL','_checkMissing','_toggleOnline','HMAC','\x20to\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_memberService','subscribe','includes','ivSize','saveSnapshot','collabWebSocketUrl','_clearScheduledTask','_commentUpdate$','{fileID}','readInt32LE','_getLoginPath','_key','format','liveShareOperation','setWaitCount','COLLAB_WEB_SOCKET_URL','session.room-not-exists','CLOSE_ROOM','createCollaborator','next','resend','url','editing\x20status\x20changed\x20to','getUnitStatus$','copyFileMeta','sheets','getSnapshotAPIPath','updatePermissionPoint','_lockTransition','max','loginUrlKey','collaboration-client.local-cache-service','memberID','deleteCollaborator','_createSocket','socketService','onTransformSelections','_networkConditionService','collabSubmitChangesetUrl','objects','join','getImageSourceCache','_collaborationPaused','HELLO','baseRev','_socket$','_injector','/unit/','_fetchMissChangesets','&assign=','slice','/resources','offline','awaiting','allowed','_onOffline','_config','SEND_CHANGESET_TIMEOUT','reject','_changesetReqId','_updateState','_socketReady','random','_shouldReportTelemetry','extend','ALREADY_EXISTS','SHA1','HmacMD5','_state','_localeService','createDecryptor','PERMISSION_REJ','session','/-/object/list','sid','filter','BlockCipher','generateRandomId','collaMsg','6TSXROm','onMissedChangesetFetched','PSEUDO_FETCH_MISSING_RESULT','/fetchmissing?from=','_onRecvEvent','unknown','getCollabEntity','PERSON','_members','image/bmp','$super','UNISCRIPT_RUN','getRandomValues','_xformMode','[OfflineState]:\x20received\x20rejection.','compute','cfg','_executeRemoteChangeset','?size=','Decryptor','433160SrVoaV','fetching\x20missing\x20changesets\x20from\x20','Univer','commentUpdate$','MD5','getCurrentSelections','refreshPermission','finalize','_clearHeartbeatTimer','decrypt','post','SNAPSHOT_HAS_BEEN_REMOVED','_invKeySchedule','LIVESHARE_REQUEST_HOST','toggleOffline','mutations','map','_entities','executeCommand','state','enableSingleActiveInstanceLock','_clearUndo','formatter','_members$','_status$','headers','_createHelper','createSocket','avatar','eventID','COMPRESS_MUTATION_SEND','uniscriptRunEvent','TOO_MANY_REQUESTS','Cipher','[CollaborationEntity]','listRoles','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_waitCount','getLatestCsReqIdBySid','_collaborationUIEventService','_submitChangeset','close$','MUTATION','_registerDependencies','Hex','_loadSheet','add','_scheduleCollaborationTimeoutTimer','LICENSE_EXPORT_SIZE_EXCEEDED','kdf','_state$','getMemberID','subUnitId','_timeoutTimer','function','fetchThroughInterceptors','UNAUTHENTICATED','_entityInit$','_configService','4159890Wdmqwm','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_keySchedule','StreamCipher','collaboration_new_changeset','onSendChangeset','parse','LIVESHARE_OPERATION','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','salt','JOINING','onlyLocal','hasher','call','waitForRoom$','_transformStateCache','HttpImport','saveSheetBlock','621393fOrgrR','LIVESHARE_NEW_HOST','_resendTimer','HmacSHA1','_snapshotService','6729UKFwpr','SUBMIT_CHANGESET','transformChangesets','retryConnectingInterval','_startTelemetryCollaborationNewChangeset','_sheetTransformSelectionsService','findIndex','_awaitingChangeset','authzUrl','_telemetryInfo','HttpExport','_clearCollaborationTimeoutTimer','_rescheduleHeartbeat','JOIN_ROOM_NOT_EXISTS','YUUMI_URL_COL_OUT_OF_RANGE','_reverseMap','[SyncedState]:\x20received\x20rejection.','_onConnectionFailed','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','reverse','saveChangeset','JOIN_ROOM_PERMISSION_DENIED','repeat','__esModule','_clearRetryConnectingTimer','catch','localCacheService','_joinRoom','getTypeOfUnitAdded$','message$','\x20-\x20','/universer-api/stream/file/upload','clear','getCurrentUser','unsubscribe','charCodeAt','_listenToNetworkCondition','_telemetryService','getSheetBlock','Hasher','_doCryptBlock','_doProcessBlock','UNIVER_DOC','toString','NO_OTHER_CLIENTS_EDITING','COMPRESS_MUTATION_APPLY','_sendHeartbeat','NOT_FOUND','append','UUID','confirm','Undefined','/rev/','_initCloseConn','origin','then','_applyRemoteChangeset','actions','UNIVER_PROJECT','_initMergeInterceptor','values','focused$','_substituteRedoStack','override','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','HEARTBEAT','dispose','clone','userID','_singleActiveUnitService','byteLength','debug','[CollaborationSessionService]','m2Prime','_retryConnectingTimer','routeKey','encrypt','_getUndoStack','[FetchMissState]','_iv','_undoRedoService','[CollaborationUndoRedoService]','_transformService','USERS_LEAVE','uploadFileServerUrl','PERMISSION_DENIED','apply','_tryEnsureSocket','updateOfflineData','iterations','_toggleOffline','getOwnPropertyDescriptor','BlockCipherMode','members','/object','responseType','LOCAL_CACHE_INTERVAL','SNAPSHOT_SERVER_URL_KEY','_initDependencies','pipe','csShouldRetryEvent','find','PY_RUNTIME_SCRIPT_ERROR','onTransformState','UPDATE_CURSOR','_retryCount','_clearRedo','update','_waitForHeartbeatResponse','image/gif','reconnect','_scheduleCompleteTimestamp','/role','joinEvent','EvpKDF','_disableEditing','getInterceptPoints','key','_change$','_transformSelections','stringify','synced','rng','unitID','_getSendChangesetTimeout','RECV','prototype','AWAITING','awaiting_with_pending','_snapshotServerService','BufferedBlockAlgorithm','getActiveSheet','_onCombEvent','27FkqoWl','putCollaborators','addImageSourceCache','createEncryptor','sessionStatus','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','[CollaborationState]:\x20apply\x20error!','APPLY_REVISION_CONFILICT','loadOfflineData','floor','SHOULD_CLOSE_CONN','equals','CHANGESET_REJ','CHANGESET_SHOULD_RETRY','registerHTTPInterceptor','_event$','submit\x20changeset\x20error!','LEAVE','awaitingChangeset','listCollaborators','_getDownloadEndpointURL','readyForCollab','SOCKET_FAILED','getRoom','YUUMI_SUBSCRIPTION_NOT_FOUND','_sessionStatus$','splice','csRejEvent','unitInfo$','patch','send','textRanges','resourceIDs','_iKey','Base64','/universer-api/user/session-ticket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','AES','Base','indexOf','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','method','NEW_CHANGESETS','startTime','fetch_missing','transformUndoRedo','_nDataBytes','incrementRevOfUnit','transformSelections','_schedule','changesets','updateCollaborator','_onConflict','batchAllowed','getValue','_decreaseWaiting','sessionStatus$','\x20in\x20_schedule.','/allowed','univer-pro.collaboration-client.single-active-unit-service','_unitID','_exhaustRemoteChangesetQueue','capture','transformMutationsWithChangeset','_handlerCallback','initWorkbookPermissionChange','abs','onTransformIME','pauseCollaboration','sin','_collaborationSessionService','isArray','disableLocalCache','_remoteChangesetQueue','replace','_sender','__creator','msCrypto','APPLY_REJECT','processBlock','dispose$','isPermissionRej','LIVESHARE_FETCH_OPERATIONS','code','_collaborationTimeoutTimer','_keyPriorReset','_onConnectionOpen','GLOBAL_ROOMS_CNT_EXCEEDS','/block/','UNIVER_SLIDE','addHandlerCallback','_showConflictNotification','OTHER_CLIENTS_EDITING','min','onRemoteRetry','socket$','bind','complete','getUnitOnRev','_onUserLeave','SerializableCipher','params','_syncEditingCollabCursor','_roomMembers','entries','auth.needGotoLoginAlert','getTypeOfUnitDisposed$','_incrementRevisionNumber','UNIVER_UNKNOWN','onSyncEditingCollabCursor','stopTime','_clearLocalCache','Error\x20on\x20receiving\x20event','UNKNOWN_CMD','words','workbook','downloadEndpointUrl','algo','permissionRejEvent','getResourcesRequest','CONFLICT','_getAPIPrefix','IDLE','collaboratorID','clamp','blockSize','originalMeta','forEach','editingUnit','_parse','_mode','_stopTelemetryCollaborationNewChangeset','_isPermissionRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_updateLocalCache','sigBytes','_type','subject','/universer-api/file/{fileID}/sign-url','src','create','ERROR_IMAGE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transitionLocked','closeSession','localeService','onMissingChangesets','getUnitType','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNIVER_SHEET','startsWith','_onLocalMutation','updateMember','session.room-permission-denied','reduce','now','UNIVER_COLLABORATION_CLIENT_PLUGIN','onRemoteChangeset','_queuedRemoteChangesets','fromCharCode','_onRemoteRetry','YUUMI_UNABLE_LOAD_URL','pad','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onFetchMissResult','_onRemoteACK','setShowComponents','get','lib','session.room-cnt-exceeds','objectType','_imageSourceCache','withCredentials','/collaborator','csAckEvent','_doCreateSocket','data','getCurrentRevOfUnit','_HTTPService','/universer-api/snapshot/','removeMember','telemetry\x20info\x20is\x20not\x20initialized','_socketMessageSubscription','ciphertext','_data','delete','HEARTBEAT_INTERVAL','appendMutation','file','getUnitId','725236sQkNcj','objectActions','rev','padding','_resendWithTimeout','&to=','_getAPIPrefixPath','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','deepClone','_transformRemoteChangesetByStateCache','_doFinalize','_hash','9792370YxJwir','LICENSE_MAX_UNITS_EXCEEDED','_onRemoteChangeset','3050810bstIly','image/jpg','onRemoteAck','_onRemoteRejected','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onCommentUpdate','defineProperty','_getCtorByUniverType','__Key__','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_candidateSocket','members$','hasOwnProperty','OPTIONAL','YUUMI_RATE_OVER_LIMIT','_sendHeartbeatTimer','socket\x20close','image/jpeg','exports','asObservable','SYNCED','_replayCachedMutations','[OfflineState]:\x20received\x20changeset.','createInstance','_changesetSessionId','loadDoc','/object/','requireSession','CBC','_doReset','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','reset','body','_substituteUndoStack'];_0xd1ae=function(){return _0x985ca0;};return _0xd1ae();}const kn=He(Mn);var Ze={'exports':{}},$n=Ze[_0x16ccb4(0x2f7)],ai;function Hn(){var _0x2ec959=_0x16ccb4;return ai||(ai=0x1,function(_0x5a409c,_0x1662be){(function(_0x141cc4,_0x5f1fc0){var _0x32ebbd=_0x1439;_0x5a409c[_0x32ebbd(0x2f7)]=_0x5f1fc0(ie());}($n,function(_0x168649){var _0x4dbdff=_0x1439;return(function(){var _0x1bdde5=_0x1439;if(typeof ArrayBuffer=='function'){var _0x3d61b9=_0x168649,_0xea490c=_0x3d61b9['lib'],_0x263e0f=_0xea490c[_0x1bdde5(0x3cd)],_0x22abf3=_0x263e0f['init'],_0x12697f=_0x263e0f['init']=function(_0x11d9c2){var _0x136f1b=_0x1bdde5;if(_0x11d9c2 instanceof ArrayBuffer&&(_0x11d9c2=new Uint8Array(_0x11d9c2)),(_0x11d9c2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x11d9c2 instanceof Uint8ClampedArray||_0x11d9c2 instanceof Int16Array||_0x11d9c2 instanceof Uint16Array||_0x11d9c2 instanceof Int32Array||_0x11d9c2 instanceof Uint32Array||_0x11d9c2 instanceof Float32Array||_0x11d9c2 instanceof Float64Array)&&(_0x11d9c2=new Uint8Array(_0x11d9c2[_0x136f1b(0x376)],_0x11d9c2['byteOffset'],_0x11d9c2[_0x136f1b(0x1d8)])),_0x11d9c2 instanceof Uint8Array){for(var _0x1cb0d9=_0x11d9c2[_0x136f1b(0x1d8)],_0xd3bfde=[],_0x23b1df=0x0;_0x23b1df<_0x1cb0d9;_0x23b1df++)_0xd3bfde[_0x23b1df>>>0x2]|=_0x11d9c2[_0x23b1df]<<0x18-_0x23b1df%0x4*0x8;_0x22abf3['call'](this,_0xd3bfde,_0x1cb0d9);}else _0x22abf3[_0x136f1b(0x1e8)](this,arguments);};_0x12697f['prototype']=_0x263e0f;}}()),_0x168649[_0x4dbdff(0x2bf)][_0x4dbdff(0x3cd)];}));}(Ze)),Ze[_0x2ec959(0x2f7)];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe['exports'],ci;function Gn(){var _0xd03f0e=_0x16ccb4;return ci||(ci=0x1,function(_0x1dd396,_0x38e839){(function(_0x185a49,_0x13b608,_0x5d6a97){_0x1dd396['exports']=_0x13b608(ie(),Ui());}(Fn,function(_0x4fdb0f){var _0x2f6b4f=_0x1439;return _0x4fdb0f[_0x2f6b4f(0x2b9)][_0x2f6b4f(0x3bf)]={'pad':function(){},'unpad':function(){}},_0x4fdb0f['pad'][_0x2f6b4f(0x3bf)];}));}(Qe)),Qe[_0xd03f0e(0x2f7)];}var Vn=Gn();const Wn=He(Vn);function Kn(_0x434678,_0x2e31bd){var _0x238f51=_0x16ccb4;const _0x4913a9=_0x2e31bd-_0x434678[_0x238f51(0x31d)]%_0x2e31bd,_0xaf58de=String['fromCharCode'](_0x4913a9)[_0x238f51(0x1a8)](_0x4913a9);return _0x434678+_0xaf58de;}function Yn(_0x375a63,_0x51b960){var _0x1225c3=_0x16ccb4;const _0x5e1dc2=jn[_0x1225c3(0x422)](0x10),_0x414440=Kn(_0x375a63,0x10),_0x3c8702=An[_0x1225c3(0x1de)](kn['parse'](_0x414440),si[_0x1225c3(0x181)](_0x51b960),{'iv':_0x5e1dc2,'padding':Wn});return _0x5e1dc2['concat'](_0x3c8702[_0x1225c3(0x2ce)])['toString'](si);}function qn(){var _0x416476=_0x16ccb4;const _0x45659a=_0x6a2112()[_0x416476(0x2ed)];if(_0x45659a){const _0x52129e={'time':Math[_0x416476(0x220)](Date['now']()/0x3e8),'domain':location['hostname']};return Yn(JSON[_0x416476(0x20a)](_0x52129e),_0x45659a);}}var zn=Object[_0x16ccb4(0x1ed)],Jn=(_0x3c1e4d,_0x105851,_0x5cb71e,_0x4e19fa)=>{var _0x13dc89=_0x16ccb4;for(var _0x5e33a2=_0x4e19fa>0x1?void 0x0:_0x4e19fa?zn(_0x105851,_0x5cb71e):_0x105851,_0x4af0cd=_0x3c1e4d[_0x13dc89(0x31d)]-0x1,_0x4872dc;_0x4af0cd>=0x0;_0x4af0cd--)(_0x4872dc=_0x3c1e4d[_0x4af0cd])&&(_0x5e33a2=_0x4872dc(_0x5e33a2)||_0x5e33a2);return _0x5e33a2;},Xn=(_0xb83f58,_0x3c1ceb)=>(_0x1c0460,_0x2a3b4c)=>_0x3c1ceb(_0x1c0460,_0x2a3b4c,_0xb83f58);let ot=class{constructor(_0x5b9141){this['_httpService']=_0x5b9141,this['_initRequestHeader']();}[_0x16ccb4(0x30e)](){var _0x1d9dbb=_0x16ccb4;this[_0x1d9dbb(0x374)]['registerHTTPInterceptor']({'interceptor':(_0x33664f,_0x5dc923)=>{var _0x2b9527=_0x1d9dbb;const _0xd81c04=_0x33664f[_0x2b9527(0x159)],_0x125736=qn();return _0x125736&&_0xd81c04['set'](_0x2b9527(0x3a1),_0x125736),_0x5dc923(_0x33664f);}});}};ot=Jn([Xn(0x0,_0x22fd22(_0x9b2c39))],ot);var Zn=Object[_0x16ccb4(0x1ed)],Qn=(_0x2e3cb6,_0x55b28e,_0x4e478d,_0x1a32ad)=>{var _0x442f46=_0x16ccb4;for(var _0xe57328=_0x1a32ad>0x1?void 0x0:_0x1a32ad?Zn(_0x55b28e,_0x4e478d):_0x55b28e,_0x1881eb=_0x2e3cb6[_0x442f46(0x31d)]-0x1,_0x4b01f8;_0x1881eb>=0x0;_0x1881eb--)(_0x4b01f8=_0x2e3cb6[_0x1881eb])&&(_0xe57328=_0x4b01f8(_0xe57328)||_0xe57328);return _0xe57328;},mt=(_0x4fecfe,_0xfebdea)=>(_0x57c03a,_0x35647b)=>_0xfebdea(_0x57c03a,_0x35647b,_0x4fecfe);let bt=class extends _0x58c729{constructor(_0xb7a38c,_0x3c887d,_0x1242fe){var _0x1ffc1b=_0x16ccb4;super(),N(this,_0x1ffc1b(0x3bb),new _0x5c270b(null)),N(this,_0x1ffc1b(0x233),this[_0x1ffc1b(0x3bb)][_0x1ffc1b(0x2f8)]()),(this[_0x1ffc1b(0x3d9)]=_0xb7a38c,this[_0x1ffc1b(0x191)]=_0x3c887d,this['_localCacheService']=_0x1242fe);}async['loadUnit'](_0x1465c6,_0x5841d8,_0x52494d){var _0x4579af=_0x16ccb4;this['_unitInfo$'][_0x4579af(0x3f7)]({'unitId':_0x1465c6,'type':_0x5841d8,'subUnitId':_0x52494d});let _0x4b5860=null;switch(_0x5841d8){case Q[_0x4579af(0x2ac)]:{_0x4b5860=await this[_0x4579af(0x16d)](_0x1465c6);break;}case Q['UNIVER_DOC']:{_0x4b5860=await this[_0x4579af(0x389)](_0x1465c6);break;}default:{this[_0x4579af(0x3d9)]['error'](_0x4579af(0x358),_0x4579af(0x2ee));break;}}return _0x4b5860;}async[_0x16ccb4(0x16d)](_0x192c27){var _0x3e4c00=_0x16ccb4,_0x2a186a;let _0x5b34cb=0x0;const _0x3f68b1=await((_0x2a186a=this[_0x3e4c00(0x3cf)])==null?void 0x0:_0x2a186a[_0x3e4c00(0x21f)](_0x192c27));return _0x3f68b1&&(_0x3f68b1[_0x3e4c00(0x229)]||_0x3f68b1[_0x3e4c00(0x14f)][_0x3e4c00(0x31d)]!==0x0)&&(_0x5b34cb=_0x3f68b1[_0x3e4c00(0x2d7)]),_0x5b34cb===0x0&&this['_logService'][_0x3e4c00(0x1d9)]('[DataLoaderService]',_0x3e4c00(0x23b)),this[_0x3e4c00(0x191)]['loadSheet'](_0x192c27,_0x5b34cb);}async['_loadDoc'](_0x5cfc98){var _0x24fb60=_0x16ccb4,_0x1d3aa7;let _0x472002=0x0;const _0x47fc4a=await((_0x1d3aa7=this[_0x24fb60(0x3cf)])==null?void 0x0:_0x1d3aa7[_0x24fb60(0x21f)](_0x5cfc98));return _0x47fc4a&&(_0x47fc4a[_0x24fb60(0x229)]||_0x47fc4a[_0x24fb60(0x14f)][_0x24fb60(0x31d)]!==0x0)&&(_0x472002=_0x47fc4a[_0x24fb60(0x2d7)]),_0x472002===0x0&&this[_0x24fb60(0x3d9)][_0x24fb60(0x1d9)](_0x24fb60(0x358),_0x24fb60(0x23b)),this[_0x24fb60(0x191)][_0x24fb60(0x2fe)](_0x5cfc98,_0x472002);}};bt=Qn([mt(0x0,_0x3e2fe0),mt(0x1,_0x22fd22(_0x3ecace)),mt(0x2,_0x2f418b(J))],bt);var es=Object[_0x16ccb4(0x1ed)],ts=(_0x261646,_0x18f3e9,_0x1645bd,_0x1becdf)=>{var _0xb82842=_0x16ccb4;for(var _0x128fd1=_0x1becdf>0x1?void 0x0:_0x1becdf?es(_0x18f3e9,_0x1645bd):_0x18f3e9,_0x190c51=_0x261646[_0xb82842(0x31d)]-0x1,_0x43997b;_0x190c51>=0x0;_0x190c51--)(_0x43997b=_0x261646[_0x190c51])&&(_0x128fd1=_0x43997b(_0x128fd1)||_0x128fd1);return _0x128fd1;},gt=(_0x36f5c5,_0x357212)=>(_0x39172c,_0x3bc001)=>_0x357212(_0x39172c,_0x3bc001,_0x36f5c5);const is=['image/png',_0x16ccb4(0x2f6),_0x16ccb4(0x2e6),_0x16ccb4(0x1ff),_0x16ccb4(0x135)],rs=0x5*0x400*0x400,ns=_0x16ccb4(0x303),ss=_0x16ccb4(0x1b1),os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as=_0x16ccb4(0x2a1);let yt=class{constructor(_0x19b71e,_0x348ff9,_0x562176){var _0x40052d=_0x16ccb4;N(this,_0x40052d(0x165),0x0),N(this,_0x40052d(0x208),new _0x21446f()),N(this,_0x40052d(0x3d8),this[_0x40052d(0x208)]),N(this,_0x40052d(0x2c2),new Map()),(this[_0x40052d(0x374)]=_0x19b71e,this[_0x40052d(0x17a)]=_0x348ff9,this[_0x40052d(0x336)]=_0x562176);}[_0x16ccb4(0x3f2)](_0x15b75e){var _0x5ad3ea=_0x16ccb4;this[_0x5ad3ea(0x165)]=_0x15b75e,this[_0x5ad3ea(0x208)][_0x5ad3ea(0x3f7)](_0x15b75e);}[_0x16ccb4(0x40d)](_0x39db97,_0xab05ae){var _0x466246=_0x16ccb4;if(_0xab05ae===_0x31683d[_0x466246(0x34a)]){const _0x202098=new Image();return _0x202098[_0x466246(0x2a2)]=_0x39db97,_0x202098;}return this[_0x466246(0x2c2)][_0x466246(0x2be)](_0x39db97);}[_0x16ccb4(0x219)](_0x3e7e63,_0x5ebbb9,_0x216822){var _0x29383d=_0x16ccb4;_0x5ebbb9===_0x31683d['BASE64']||_0x216822==null||this[_0x29383d(0x2c2)][_0x29383d(0x3b5)](_0x3e7e63,_0x216822);}async[_0x16ccb4(0x393)](_0x218045){var _0x7ee069=_0x16ccb4;try{const _0x5f6b05=this['_replaceFileID'](this[_0x7ee069(0x3a6)](),''+_0x218045),_0xde1bf4=(await this[_0x7ee069(0x374)][_0x7ee069(0x2be)](_0x5f6b05))[_0x7ee069(0x305)];if(_0xde1bf4['error']&&_0xde1bf4[_0x7ee069(0x34e)][_0x7ee069(0x26a)]===Si['OK']){const _0x341c32=new URL(_0xde1bf4[_0x7ee069(0x3f9)],this[_0x7ee069(0x22b)]())['toString']();return Promise['resolve'](_0x341c32);}return Promise[_0x7ee069(0x41e)](_0xde1bf4[_0x7ee069(0x34e)]);}catch(_0x5a9532){return Promise['reject'](_0x5a9532);}}async['saveImage'](_0x1f8dfe){var _0x8667e8=_0x16ccb4;let _0x30f704='';if(!is[_0x8667e8(0x3e6)](_0x1f8dfe[_0x8667e8(0x319)]))return this[_0x8667e8(0x24e)](),Promise['reject'](new Error(_0x2e93c6['ERROR_IMAGE_TYPE']));if(_0x1f8dfe[_0x8667e8(0x3ab)]>rs)return this[_0x8667e8(0x24e)](),Promise['reject'](new Error(_0x2e93c6[_0x8667e8(0x31f)]));try{const _0x3c9c03=new FormData();_0x3c9c03[_0x8667e8(0x1c2)](_0x8667e8(0x2d3),_0x1f8dfe);const _0x331f49=this[_0x8667e8(0x336)][_0x8667e8(0x365)](),_0x361c8a=_0x331f49==null?void 0x0:_0x331f49[_0x8667e8(0x2d4)]();if(!_0x361c8a)throw new Error(_0x8667e8(0x35b));const _0x490349=this[_0x8667e8(0x3de)]()+_0x8667e8(0x13e)+_0x1f8dfe[_0x8667e8(0x3ab)][_0x8667e8(0x1bd)]()+_0x8667e8(0x35c)+Ei[_0x8667e8(0x34b)]+_0x8667e8(0x415)+encodeURIComponent(_0x361c8a),_0x201f69=await(await fetch(_0x490349,{'method':'POST','body':_0x3c9c03}))['json']();if(typeof _0x201f69['FileId']!=_0x8667e8(0x3b7))return this[_0x8667e8(0x24e)](),Promise['reject'](new Error(_0x2e93c6['ERROR_IMAGE']));_0x30f704=_0x201f69['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x8667e8(0x41e)](new Error(_0x2e93c6['ERROR_IMAGE']));}return new Promise((_0x29c25b,_0x23eda9)=>{var _0x2069fc=_0x8667e8;const _0xdda7d2=new FileReader();_0xdda7d2['readAsDataURL'](_0x1f8dfe),_0xdda7d2[_0x2069fc(0x327)]=_0x2849cc=>{var _0x365e97=_0x2069fc,_0x15fe52;const _0x234634=(_0x15fe52=_0x2849cc['target'])==null?void 0x0:_0x15fe52['result'];if(_0x234634==null){this[_0x365e97(0x24e)](),_0x23eda9(new Error(_0x2e93c6[_0x365e97(0x2a4)]));return;}const _0x1fe525=_0x2952e2[_0x365e97(0x12a)](0x6);_0x29c25b({'imageId':_0x1fe525,'imageSourceType':_0x31683d[_0x365e97(0x1c3)],'source':_0x30f704,'base64Cache':_0x234634,'status':_0x2e93c6['SUCCUSS']}),this[_0x365e97(0x24e)]();};});}[_0x16ccb4(0x3de)](){var _0x16b8bd=_0x16ccb4,_0xb9f400,_0xae677a;const _0x94bbbd=this[_0x16b8bd(0x17a)][_0x16b8bd(0x346)](ns),_0x4cb9d0=this['_configService']['getConfig'](q);return(_0xae677a=(_0xb9f400=_0x4cb9d0==null?void 0x0:_0x4cb9d0[_0x16b8bd(0x1e6)])!=null?_0xb9f400:_0x94bbbd)!=null?_0xae677a:ss;}['_getSignURL'](){var _0x166232=_0x16ccb4,_0x572950,_0x932dd5;const _0x20019a=this[_0x166232(0x17a)][_0x166232(0x346)](os),_0x2e385a=this['_configService']['getConfig'](q);return(_0x932dd5=(_0x572950=_0x2e385a==null?void 0x0:_0x2e385a[_0x166232(0x3db)])!=null?_0x572950:_0x20019a)!=null?_0x932dd5:as;}[_0x16ccb4(0x22b)](){var _0x51a56e=_0x16ccb4,_0x16aa71;const _0x50016b=this[_0x51a56e(0x17a)][_0x51a56e(0x346)](q);return(_0x16aa71=_0x50016b==null?void 0x0:_0x50016b[_0x51a56e(0x28b)])!=null?_0x16aa71:location[_0x51a56e(0x1c8)];}[_0x16ccb4(0x325)](_0x2e1cea,_0x1704e6){var _0x49a861=_0x16ccb4;return _0x2e1cea[_0x49a861(0x261)](_0x49a861(0x3ec),_0x1704e6);}[_0x16ccb4(0x24e)](){var _0x16f360=_0x16ccb4;this[_0x16f360(0x165)]-=0x1,this[_0x16f360(0x208)][_0x16f360(0x3f7)](this[_0x16f360(0x165)]);}};yt=ts([gt(0x0,_0x22fd22(_0x9b2c39)),gt(0x1,_0x1c1cc7),gt(0x2,_0x22fd22(_0x1e29c1))],yt);var cs=Object[_0x16ccb4(0x1ed)],hs=(_0x43b38a,_0x13dd1a,_0x3586aa,_0x4a6d5a)=>{for(var _0x38e0ec=_0x4a6d5a>0x1?void 0x0:_0x4a6d5a?cs(_0x13dd1a,_0x3586aa):_0x13dd1a,_0x333542=_0x43b38a['length']-0x1,_0x318268;_0x333542>=0x0;_0x333542--)(_0x318268=_0x43b38a[_0x333542])&&(_0x38e0ec=_0x318268(_0x38e0ec)||_0x38e0ec);return _0x38e0ec;},hi=(_0xc4483c,_0x418b88)=>(_0xa513e2,_0xeb3f88)=>_0x418b88(_0xa513e2,_0xeb3f88,_0xc4483c);const _s='/universer-api/authz';let Ot=class{constructor(_0x2525af,_0x2296d0){var _0x4e60b4=_0x16ccb4;this[_0x4e60b4(0x17a)]=_0x2525af,this[_0x4e60b4(0x2c9)]=_0x2296d0;}[_0x16ccb4(0x2db)](){var _0x16609e=_0x16ccb4,_0x12a3ec,_0x17f66c;const _0x500f4f=this[_0x16609e(0x17a)][_0x16609e(0x346)](Ni),_0x2cd642=this['_configService']['getConfig'](q);return(_0x17f66c=(_0x12a3ec=_0x2cd642==null?void 0x0:_0x2cd642[_0x16609e(0x19a)])!=null?_0x12a3ec:_0x500f4f)!=null?_0x17f66c:_s;}async[_0x16ccb4(0x340)](_0x9f6fd4){var _0x2f1bed=_0x16ccb4;const _0x1c7e1d=this[_0x2f1bed(0x2db)]()+_0x2f1bed(0x2c4);return{'list':[{'title':_0x2f1bed(0x3a0),'mentions':(await this['_HTTPService'][_0x2f1bed(0x2be)](_0x1c7e1d,{'params':{'objectID':_0x9f6fd4['unitId'],'unitID':_0x9f6fd4['unitId']}}))[_0x2f1bed(0x305)]['collaborators'][_0x2f1bed(0x150)](_0x21cd38=>({'objectId':_0x21cd38['id'],'name':_0x21cd38['subject'][_0x2f1bed(0x337)],'metadata':{'icon':_0x21cd38[_0x2f1bed(0x2a0)][_0x2f1bed(0x15c)]},'label':_0x21cd38[_0x2f1bed(0x2a0)][_0x2f1bed(0x337)],'objectType':_0x588fe6['PERSON']})),'metadata':{},'type':_0x588fe6[_0x2f1bed(0x133)]}]};}};Ot=hs([hi(0x0,_0x22fd22(_0x1c1cc7)),hi(0x1,_0x22fd22(_0x9b2c39))],Ot);var ls=Object[_0x16ccb4(0x1ed)],us=(_0x359c69,_0x7def8b,_0x23b72e,_0x94160e)=>{var _0x583cc6=_0x16ccb4;for(var _0x5de492=_0x94160e>0x1?void 0x0:_0x94160e?ls(_0x7def8b,_0x23b72e):_0x7def8b,_0x361f68=_0x359c69[_0x583cc6(0x31d)]-0x1,_0x45e635;_0x361f68>=0x0;_0x361f68--)(_0x45e635=_0x359c69[_0x361f68])&&(_0x5de492=_0x45e635(_0x5de492)||_0x5de492);return _0x5de492;},Ae=(_0x2bc6b0,_0x28cf3f)=>(_0x532c12,_0x734692)=>_0x28cf3f(_0x532c12,_0x734692,_0x2bc6b0);let at=class extends _0x58c729{constructor(_0x2f10be,_0x552845,_0x279fe7,_0x3c49fd,_0x59d7f){var _0x51f3e5=_0x16ccb4;super(),this['_injector']=_0x2f10be,this[_0x51f3e5(0x336)]=_0x552845,this['_permissionService']=_0x279fe7,this[_0x51f3e5(0x25d)]=_0x3c49fd,this['_collaborationUIEventService']=_0x59d7f,this[_0x51f3e5(0x398)](),this[_0x51f3e5(0x1c7)]();}['_initCloseConn'](){var _0x122602=_0x16ccb4;const _0x18c86a=async _0x954d6c=>{var _0x17c1b4=_0x1439;(await this[_0x17c1b4(0x25d)][_0x17c1b4(0x300)](_0x954d6c))['event$'][_0x17c1b4(0x1f5)](_0x176667(_0x2c4e24=>_0x2c4e24[_0x17c1b4(0x15d)]===_0x8288a1[_0x17c1b4(0x221)]),_0x184110(this[_0x17c1b4(0x267)]))[_0x17c1b4(0x3e5)](_0x688de9=>{var _0x388d92=_0x17c1b4;const _0x314bf1=_0x688de9,{reason:_0x4c73e4}=_0x314bf1['data'];this[_0x388d92(0x167)][_0x388d92(0x36d)]({'id':se[_0x388d92(0x3f5)],'data':_0x4c73e4}),this[_0x388d92(0x39c)][_0x388d92(0x3ff)](new _0x27ca3a(_0x954d6c)['id'],!0x1),this['_collaborationSessionService'][_0x388d92(0x2a7)](_0x954d6c);});};_0x2c880e(this[_0x122602(0x336)][_0x122602(0x1ae)](_0x14257c[_0x122602(0x2ac)]),this[_0x122602(0x336)][_0x122602(0x1ae)](_0x14257c[_0x122602(0x1bc)]))[_0x122602(0x1f5)](_0x275cdc(_0x19e172=>_0x19e172[_0x122602(0x2d4)]()),_0x176667(_0x641146=>!_0x4c2c44(_0x641146)),_0x184110(this['dispose$']))['subscribe'](_0xfc708b=>{_0x18c86a(_0xfc708b);});}[_0x16ccb4(0x398)](){var _0xc342b=_0x16ccb4;const _0x43a7ed=async _0x212675=>{var _0x3daac5=_0x1439;const _0x383043=await this[_0x3daac5(0x25d)][_0x3daac5(0x300)](_0x212675),_0x17a5c3=this[_0x3daac5(0x412)][_0x3daac5(0x2be)](_0xc60610);_0x383043['event$'][_0x3daac5(0x1f5)](_0x176667(_0x4c3253=>_0x4c3253['eventID']===_0x8288a1[_0x3daac5(0x3d0)]),_0x184110(this['dispose$']))[_0x3daac5(0x3e5)](_0x3e8bcf=>{var _0x2a72a2=_0x3daac5;const _0x27b4fa=_0x3e8bcf,{objectId:_0x3a0e26}=_0x27b4fa[_0x2a72a2(0x2c7)];_0x3a0e26===_0x212675?_0x17a5c3[_0x2a72a2(0x258)](_0x212675):_0x17a5c3[_0x2a72a2(0x146)](_0x212675,_0x3a0e26);});};_0x2c880e(this[_0xc342b(0x336)]['getTypeOfUnitAdded$'](_0x14257c[_0xc342b(0x2ac)]))[_0xc342b(0x1f5)](_0x275cdc(_0x3e10d9=>_0x3e10d9[_0xc342b(0x2d4)]()),_0x176667(_0x3640a8=>!_0x4c2c44(_0x3640a8)),_0x184110(this[_0xc342b(0x267)]))[_0xc342b(0x3e5)](_0xfdc2ce=>{_0x43a7ed(_0xfdc2ce);});}};at=us([Ae(0x0,_0x22fd22(_0x159af1)),Ae(0x1,_0x1e29c1),Ae(0x2,_0x9e91ec),Ae(0x3,_0x22fd22(Le)),Ae(0x4,_0x22fd22(pe))],at);var ds=Object[_0x16ccb4(0x1ed)],fs=(_0x1810d6,_0x32d779,_0x94b250,_0x1d9a33)=>{var _0x3548bd=_0x16ccb4;for(var _0x16186f=_0x1d9a33>0x1?void 0x0:_0x1d9a33?ds(_0x32d779,_0x94b250):_0x32d779,_0x5db1c5=_0x1810d6[_0x3548bd(0x31d)]-0x1,_0x305406;_0x5db1c5>=0x0;_0x5db1c5--)(_0x305406=_0x1810d6[_0x5db1c5])&&(_0x16186f=_0x305406(_0x16186f)||_0x16186f);return _0x16186f;},_i=(_0x7136da,_0x14d683)=>(_0x896d42,_0x41fb27)=>_0x14d683(_0x896d42,_0x41fb27,_0x7136da);let Nt=class{constructor(_0x10ff3d,_0x3539e3){var _0x1aef01=_0x16ccb4;this[_0x1aef01(0x17a)]=_0x10ff3d,this['_httpService']=_0x3539e3;}async[_0x16ccb4(0x279)](_0xbc1990,_0x2830e0){var _0x11175e=_0x16ccb4,_0x15325b;const {unitID:_0x1ddff7,type:_0x300ccc,revision:_0x2a0b19=0x0}=_0x2830e0,_0x55e5ca=this[_0x11175e(0x3fe)]()+'/'+_0x300ccc+'/unit/'+_0x1ddff7+_0x11175e(0x1c6)+_0x2a0b19,_0x322043=(await this[_0x11175e(0x374)][_0x11175e(0x2be)](_0x55e5ca))[_0x11175e(0x305)],_0x1045ec=(_0x15325b=_0x322043['snapshot'])==null?void 0x0:_0x15325b[_0x11175e(0x28a)];if(_0x1045ec){const _0x2800d3=_0x1045ec==null?void 0x0:_0x1045ec[_0x11175e(0x295)],_0x19e120=_0x2db410[_0x11175e(0x338)](_0x164473(_0x2800d3));_0x1045ec['originalMeta']=_0x19e120,Object[_0x11175e(0x27f)](_0x1045ec[_0x11175e(0x3fd)])[_0x11175e(0x296)](([,_0x1745d3])=>{var _0x50db57=_0x11175e;const _0x55f1fc=_0x1745d3[_0x50db57(0x295)],_0x5bf3b6=_0x2db410[_0x50db57(0x338)](_0x164473(_0x55f1fc));_0x1745d3['originalMeta']=_0x5bf3b6;});}return _0x322043;}async[_0x16ccb4(0x1b8)](_0x1e16bf,_0x5dbce6){var _0x1f8af3=_0x16ccb4;const {unitID:_0x3a6392,type:_0x152601,blockID:_0x4934ad}=_0x5dbce6,_0x317f5d=this[_0x1f8af3(0x290)]()+'/'+_0x152601+_0x1f8af3(0x413)+_0x3a6392+_0x1f8af3(0x26f)+_0x4934ad;return(await this[_0x1f8af3(0x374)][_0x1f8af3(0x2be)](_0x317f5d))['body'];}async['getDeserializedSheetBlock'](_0x396ae4,_0x13e347){var _0x31355b=_0x16ccb4;const {unitID:_0x46f9e0,type:_0x2e8a30,blockID:_0x1aeeb6}=_0x13e347,_0x2b372f=this['_getAPIPrefix']()+_0x31355b(0x26f)+_0x2e8a30+_0x31355b(0x413)+_0x46f9e0+_0x31355b(0x26f)+_0x1aeeb6;return(await this[_0x31355b(0x374)][_0x31355b(0x2be)](_0x2b372f))[_0x31355b(0x305)];}async['fetchMissingChangesets'](_0x30b4c3,_0x4a80e6){var _0x4b9388=_0x16ccb4;const {unitID:_0x5d98e8,type:_0x5bf8cc,from:_0x1f8aed,to:_0x5ca4da}=_0x4a80e6,_0x35ccc0=this[_0x4b9388(0x290)]()+'/'+_0x5bf8cc+_0x4b9388(0x413)+_0x5d98e8+_0x4b9388(0x12f)+_0x1f8aed+_0x4b9388(0x2da)+_0x5ca4da;return(await this[_0x4b9388(0x374)][_0x4b9388(0x2be)](_0x35ccc0))['body'];}[_0x16ccb4(0x3fe)](){var _0x388c0e=_0x16ccb4,_0x54f1d6;return(_0x54f1d6=this[_0x388c0e(0x17a)][_0x388c0e(0x346)](gr))!=null?_0x54f1d6:this[_0x388c0e(0x290)]();}['_getAPIPrefix'](){var _0x48496b=_0x16ccb4,_0x1fa050,_0x2b83c6;const _0x47b588=this[_0x48496b(0x17a)]['getConfig'](pr),_0x59e156=this['_configService'][_0x48496b(0x346)](q);return(_0x2b83c6=(_0x1fa050=_0x59e156==null?void 0x0:_0x59e156['snapshotServerUrl'])!=null?_0x1fa050:_0x47b588)!=null?_0x2b83c6:mr;}async[_0x16ccb4(0x28e)](_0x82fd62,_0x28b9cf){var _0x2a248a=_0x16ccb4;const _0xc4d10c=_0x2a248a(0x2ca)+_0x28b9cf[_0x2a248a(0x319)]+_0x2a248a(0x413)+_0x28b9cf[_0x2a248a(0x20d)]+_0x2a248a(0x417);return(await this[_0x2a248a(0x374)][_0x2a248a(0x2be)](_0xc4d10c,{'params':{'resourceId':JSON[_0x2a248a(0x20a)](_0x28b9cf[_0x2a248a(0x237)])}}))[_0x2a248a(0x305)];}[_0x16ccb4(0x3e8)](){var _0x285ee2=_0x16ccb4;throw new Error(_0x285ee2(0x38b));}[_0x16ccb4(0x18c)](){var _0x36428e=_0x16ccb4;throw new Error(_0x36428e(0x38b));}[_0x16ccb4(0x1a6)](){var _0x2c7fc1=_0x16ccb4;throw new Error(_0x2c7fc1(0x38b));}[_0x16ccb4(0x3fc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16ccb4(0x166)](){var _0x3e5136=_0x16ccb4;throw new Error(_0x3e5136(0x38b));}};Nt=fs([_i(0x0,_0x1c1cc7),_i(0x1,_0x22fd22(_0x9b2c39))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x217a90,_0x5026bb,_0x34b230,_0x47314b)=>{var _0x23654d=_0x16ccb4;for(var _0x317ce2=_0x47314b>0x1?void 0x0:_0x47314b?vs(_0x5026bb,_0x34b230):_0x5026bb,_0x1ad6cf=_0x217a90[_0x23654d(0x31d)]-0x1,_0x4d0e49;_0x1ad6cf>=0x0;_0x1ad6cf--)(_0x4d0e49=_0x217a90[_0x1ad6cf])&&(_0x317ce2=_0x4d0e49(_0x317ce2)||_0x317ce2);return _0x317ce2;},Pe=(_0x2ec8df,_0x3a887c)=>(_0x5cbc5c,_0xf49e25)=>_0x3a887c(_0x5cbc5c,_0xf49e25,_0x2ec8df);let Dt=class extends _0x2ce7e3{constructor(_0x5c5a4d,_0x1e494c,_0x4951e7,_0x149edd,_0x465988){var _0x487cc1=_0x16ccb4;super(_0x5c5a4d,_0x1e494c,_0x4951e7),this[_0x487cc1(0x1e4)]=_0x149edd,this['_logService']=_0x465988;}[_0x16ccb4(0x244)](_0x3e7a87,_0x1889c9){var _0x2b223b=_0x16ccb4;const _0x2391fd=this[_0x2b223b(0x1df)](_0x3e7a87);if(_0x2391fd)try{const _0x5460d8=this[_0x2b223b(0x39a)](_0x2391fd,_0x1889c9);this['_substituteUndoStack'](_0x3e7a87,_0x5460d8);}catch(_0x18e5fe){this[_0x2b223b(0x3d9)][_0x2b223b(0x34e)](_0x2b223b(0x1e3),_0x18e5fe),this[_0x2b223b(0x155)](_0x3e7a87);}const _0x2fa24d=this[_0x2b223b(0x3cc)](_0x3e7a87);if(_0x2fa24d)try{const _0x17c507=this[_0x2b223b(0x39a)](_0x2fa24d,_0x1889c9);this[_0x2b223b(0x1d0)](_0x3e7a87,_0x17c507);}catch(_0x296b6a){this[_0x2b223b(0x3d9)][_0x2b223b(0x34e)](_0x296b6a),this['_clearRedo'](_0x3e7a87);}}[_0x16ccb4(0x155)](_0x4a96a7){var _0x363292=_0x16ccb4;const _0x4c93b2=this[_0x363292(0x1df)](_0x4a96a7);_0x4c93b2&&(_0x4c93b2[_0x363292(0x31d)]=0x0,this[_0x363292(0x394)]());}[_0x16ccb4(0x1fc)](_0x5a3b91){var _0x210f4f=_0x16ccb4;const _0x4302b4=this['_getRedoStack'](_0x5a3b91);_0x4302b4&&(_0x4302b4[_0x210f4f(0x31d)]=0x0,this[_0x210f4f(0x394)]());}[_0x16ccb4(0x306)](_0x90aac6,_0x31818f){var _0x4133e1=_0x16ccb4;this['_undoStacks'][_0x4133e1(0x3b5)](_0x90aac6,_0x31818f),this[_0x4133e1(0x394)]();}['_substituteRedoStack'](_0x23cfca,_0x20f19d){var _0xe5edba=_0x16ccb4;this['_redoStacks'][_0xe5edba(0x3b5)](_0x23cfca,_0x20f19d),this[_0xe5edba(0x394)]();}['_transformStack'](_0x161b32,_0xb65692){var _0x34fee3=_0x16ccb4;const _0x2d3814=[];let _0x4a77be=_0xb65692,_0xbb103d=_0xb65692;for(let _0x11933e=_0x161b32[_0x34fee3(0x31d)]-0x1;_0x11933e>=0x0;_0x11933e--){const {unitID:_0x447375,undoMutations:_0x2d03f1,redoMutations:_0x505696}=_0x161b32[_0x11933e],_0x2bca54=this[_0x34fee3(0x1e4)][_0x34fee3(0x256)](_0x4a77be,_0x2d03f1),_0x50d8ff=this[_0x34fee3(0x1e4)][_0x34fee3(0x256)](_0xbb103d,_0x505696);if(_0x26de6e(_0x2bca54)||_0x26de6e(_0x50d8ff)){this[_0x34fee3(0x3d9)][_0x34fee3(0x34e)](_0x34fee3(0x1e3),_0x34fee3(0x36c),_0x2bca54,_0x50d8ff);break;}_0x4a77be=_0x2bca54[_0x34fee3(0x3b6)],_0xbb103d=_0x50d8ff['c1Prime'],_0x2d3814[_0x34fee3(0x33e)]({'unitID':_0x447375,'undoMutations':_0x2bca54['m2Prime'],'redoMutations':_0x50d8ff[_0x34fee3(0x1db)]});}return _0x2d3814[_0x34fee3(0x1a5)]();}};Dt=ps([Pe(0x0,_0x1e29c1),Pe(0x1,_0x4b595d),Pe(0x2,_0x156957),Pe(0x3,_0x79664f),Pe(0x4,_0x3e2fe0)],Dt);var ms=Object[_0x16ccb4(0x2eb)],gs=Object[_0x16ccb4(0x1ed)],Ss=(_0x37de2b,_0x1f3abd,_0x402227)=>_0x1f3abd in _0x37de2b?ms(_0x37de2b,_0x1f3abd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x402227}):_0x37de2b[_0x1f3abd]=_0x402227,Es=(_0x47ffc8,_0x40960a,_0x4cb97a,_0x399d1b)=>{var _0x44989e=_0x16ccb4;for(var _0x36bb3b=_0x399d1b>0x1?void 0x0:_0x399d1b?gs(_0x40960a,_0x4cb97a):_0x40960a,_0xb541f9=_0x47ffc8[_0x44989e(0x31d)]-0x1,_0x57f226;_0xb541f9>=0x0;_0xb541f9--)(_0x57f226=_0x47ffc8[_0xb541f9])&&(_0x36bb3b=_0x57f226(_0x36bb3b)||_0x36bb3b);return _0x36bb3b;},St=(_0xe5f621,_0x57985c)=>(_0x3d8a8e,_0x52c96c)=>_0x57985c(_0x3d8a8e,_0x52c96c,_0xe5f621),Is=(_0x94aad4,_0x445a59,_0x1fe64c)=>Ss(_0x94aad4,_0x445a59+'',_0x1fe64c);const Ts=_0x16ccb4(0x2b3);let wt=class extends _0x493d23{constructor(_0x402b27,_0x3357b9,_0x9a3cd8,_0xc2591f){var _0x470669=_0x16ccb4;super(),N(this,_0x470669(0x41c)),(this[_0x470669(0x3d9)]=_0x3357b9,this[_0x470669(0x412)]=_0x9a3cd8,this['_configService']=_0xc2591f);const {..._0x136a3}=_0x3552d3({},Ur,_0x402b27);if(!_0x136a3[_0x470669(0x407)])throw new Error(_0x470669(0x3c2));this[_0x470669(0x41c)]=_0x136a3,this[_0x470669(0x17a)]['setConfig'](q,_0x136a3);}[_0x16ccb4(0x369)](){var _0x165643=_0x16ccb4;this[_0x165643(0x16b)](),this[_0x165643(0x1f4)]();}[_0x16ccb4(0x16b)](){var _0x327135=_0x16ccb4,_0x4a66a5,_0x397fb5;this['_injector'][_0x327135(0x3ad)](_0x3838b4)&&this[_0x327135(0x3d9)][_0x327135(0x34e)]('[UniverCollaborationClientPlugin]',_0x327135(0x314));const _0x2f1af6=_0x2f2d8e([[_0x3838b4,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x327135(0x41c)][_0x327135(0x407)]}],[_0x50de4a,{'useClass':Nt}],[_0x584698,{'useClass':Rt}],[_0x491dfa,{'useClass':yt}],[_0xe4964b,{'useClass':Ot}],[nt],[Ct]],(_0x4a66a5=this[_0x327135(0x41c)])==null?void 0x0:_0x4a66a5[_0x327135(0x1d1)]);if(!((_0x397fb5=this['_config'])!=null&&_0x397fb5[_0x327135(0x154)])){const _0x8d23b9=_0x2f1af6[_0x327135(0x198)](([_0x363379])=>_0x363379===ht);_0x8d23b9!==-0x1&&_0x2f1af6['splice'](_0x8d23b9,0x1);}_0x5204cc(this[_0x327135(0x412)],_0x2f1af6);}['_initDependencies'](){var _0x3bd0bc=_0x16ccb4,_0xc08168,_0x59faba,_0x1ceb04;this[_0x3bd0bc(0x412)]['get'](_0x9b2c39)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3a39b3({'maxParallel':0x6})}),(_0xc08168=this[_0x3bd0bc(0x41c)])!=null&&_0xc08168[_0x3bd0bc(0x39b)]||(_0x59faba=this[_0x3bd0bc(0x412)]['get'](J,_0x578feb[_0x3bd0bc(0x2f2)]))==null||_0x59faba[_0x3bd0bc(0x25f)](),(_0x1ceb04=this[_0x3bd0bc(0x41c)])!=null&&_0x1ceb04[_0x3bd0bc(0x3a9)]&&_0x1f0096(this[_0x3bd0bc(0x412)],[[st]]),_0x1f0096(this[_0x3bd0bc(0x412)],[[ot],[nt],[at]]);}};Is(wt,_0x16ccb4(0x349),Ts),wt=Es([_0x66a821(_0x407015,_0x41e874),St(0x1,_0x3e2fe0),St(0x2,_0x22fd22(_0x159af1)),St(0x3,_0x1c1cc7)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|